Files
notxia.github.io/assets/index-556ed0fe.js
2023-03-20 07:18:25 +00:00

77 lines
315 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

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 o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).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 ds(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]}function cn(e){if(me(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Ve(s)?Uc(s):cn(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(Ve(e))return e;if(Ne(e))return e}}const Hc=/;(?![^(]*\))/g,Wc=/:([^]+)/,jc=/\/\*.*?\*\//gs;function Uc(e){const t={};return e.replace(jc,"").split(Hc).forEach(n=>{if(n){const s=n.split(Wc);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function $n(e){let t="";if(Ve(e))t=e;else if(me(e))for(let n=0;n<e.length;n++){const s=$n(e[n]);s&&(t+=s+" ")}else if(Ne(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Vc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",zc=ds(Vc);function $a(e){return!!e||e===""}const Q=e=>Ve(e)?e:e==null?"":me(e)||Ne(e)&&(e.toString===Ha||!ge(e.toString))?JSON.stringify(e,Da,2):String(e),Da=(e,t)=>t&&t.__v_isRef?Da(e,t.value):En(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Fa(t)?{[`Set(${t.size})`]:[...t.values()]}:Ne(t)&&!me(t)&&!Wa(t)?String(t):t,Me={},wn=[],gt=()=>{},Gc=()=>!1,Kc=/^on[^a-z]/,cr=e=>Kc.test(e),hs=e=>e.startsWith("onUpdate:"),Ze=Object.assign,ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Yc=Object.prototype.hasOwnProperty,ke=(e,t)=>Yc.call(e,t),me=Array.isArray,En=e=>ur(e)==="[object Map]",Fa=e=>ur(e)==="[object Set]",ge=e=>typeof e=="function",Ve=e=>typeof e=="string",ms=e=>typeof e=="symbol",Ne=e=>e!==null&&typeof e=="object",Ba=e=>Ne(e)&&ge(e.then)&&ge(e.catch),Ha=Object.prototype.toString,ur=e=>Ha.call(e),Xc=e=>ur(e).slice(8,-1),Wa=e=>ur(e)==="[object Object]",gs=e=>Ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hi=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qc=/-(\w)/g,Lt=fr(e=>e.replace(qc,(t,n)=>n?n.toUpperCase():"")),Qc=/\B([A-Z])/g,Dn=fr(e=>e.replace(Qc,"-$1").toLowerCase()),dr=fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cr=fr(e=>e?`on${dr(e)}`:""),li=(e,t)=>!Object.is(e,t),Ar=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},zi=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ja=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let to;const Jc=()=>to||(to=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let kt;class Ua{constructor(t=!1){this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=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 Zc(e){return new Ua(e)}function eu(e,t=kt){t&&t.active&&t.effects.push(e)}const vs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Va=e=>(e.w&Xt)>0,za=e=>(e.n&Xt)>0,tu=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xt},nu=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Va(r)&&!za(r)?r.delete(e):t[n++]=r,r.w&=~Xt,r.n&=~Xt}t.length=n}},Fr=new WeakMap;let Yn=0,Xt=1;const Br=30;let ht;const fn=Symbol(""),Hr=Symbol("");class _s{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,eu(this,s)}run(){if(!this.active)return this.fn();let t=ht,n=Kt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ht,ht=this,Kt=!0,Xt=1<<++Yn,Yn<=Br?tu(this):no(this),this.fn()}finally{Yn<=Br&&nu(this),Xt=1<<--Yn,ht=this.parent,Kt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ht===this?this.deferStop=!0:this.active&&(no(this),this.onStop&&this.onStop(),this.active=!1)}}function no(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Kt=!0;const Ga=[];function Fn(){Ga.push(Kt),Kt=!1}function Bn(){const e=Ga.pop();Kt=e===void 0?!0:e}function st(e,t,n){if(Kt&&ht){let s=Fr.get(e);s||Fr.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=vs()),Ka(r)}}function Ka(e,t){let n=!1;Yn<=Br?za(e)||(e.n|=Xt,n=!Va(e)):n=!e.has(ht),n&&(e.add(ht),ht.deps.push(e))}function $t(e,t,n,s,r,i){const o=Fr.get(e);if(!o)return;let l=[];if(t==="clear")l=[...o.values()];else if(n==="length"&&me(e)){const a=ja(s);o.forEach((d,u)=>{(u==="length"||u>=a)&&l.push(d)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":me(e)?gs(n)&&l.push(o.get("length")):(l.push(o.get(fn)),En(e)&&l.push(o.get(Hr)));break;case"delete":me(e)||(l.push(o.get(fn)),En(e)&&l.push(o.get(Hr)));break;case"set":En(e)&&l.push(o.get(fn));break}if(l.length===1)l[0]&&Wr(l[0]);else{const a=[];for(const d of l)d&&a.push(...d);Wr(vs(a))}}function Wr(e,t){const n=me(e)?e:[...e];for(const s of n)s.computed&&io(s);for(const s of n)s.computed||io(s)}function io(e,t){(e!==ht||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const iu=ds("__proto__,__v_isRef,__isVue"),Ya=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ms)),ru=ys(),su=ys(!1,!0),ou=ys(!0),ro=au();function au(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=Ae(this);for(let i=0,o=this.length;i<o;i++)st(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(Ae)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Fn();const s=Ae(this)[t].apply(this,n);return Bn(),s}}),e}function ys(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?Eu:Za:t?Ja:Qa).get(s))return s;const o=me(s);if(!e&&o&&ke(ro,r))return Reflect.get(ro,r,i);const l=Reflect.get(s,r,i);return(ms(r)?Ya.has(r):iu(r))||(e||st(s,"get",r),t)?l:Ye(l)?o&&gs(r)?l:l.value:Ne(l)?e?el(l):xi(l):l}}const lu=Xa(),cu=Xa(!0);function Xa(e=!1){return function(n,s,r,i){let o=n[s];if(Cn(o)&&Ye(o)&&!Ye(r))return!1;if(!e&&(!Gi(r)&&!Cn(r)&&(o=Ae(o),r=Ae(r)),!me(n)&&Ye(o)&&!Ye(r)))return o.value=r,!0;const l=me(n)&&gs(s)?Number(s)<n.length:ke(n,s),a=Reflect.set(n,s,r,i);return n===Ae(i)&&(l?li(r,o)&&$t(n,"set",s,r):$t(n,"add",s,r)),a}}function uu(e,t){const n=ke(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&$t(e,"delete",t,void 0),s}function fu(e,t){const n=Reflect.has(e,t);return(!ms(t)||!Ya.has(t))&&st(e,"has",t),n}function du(e){return st(e,"iterate",me(e)?"length":fn),Reflect.ownKeys(e)}const qa={get:ru,set:lu,deleteProperty:uu,has:fu,ownKeys:du},hu={get:ou,set(e,t){return!0},deleteProperty(e,t){return!0}},pu=Ze({},qa,{get:su,set:cu}),xs=e=>e,hr=e=>Reflect.getPrototypeOf(e);function Ci(e,t,n=!1,s=!1){e=e.__v_raw;const r=Ae(e),i=Ae(t);n||(t!==i&&st(r,"get",t),st(r,"get",i));const{has:o}=hr(r),l=s?xs:n?Es:ci;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function Ai(e,t=!1){const n=this.__v_raw,s=Ae(n),r=Ae(e);return t||(e!==r&&st(s,"has",e),st(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ti(e,t=!1){return e=e.__v_raw,!t&&st(Ae(e),"iterate",fn),Reflect.get(e,"size",e)}function so(e){e=Ae(e);const t=Ae(this);return hr(t).has.call(t,e)||(t.add(e),$t(t,"add",e,e)),this}function oo(e,t){t=Ae(t);const n=Ae(this),{has:s,get:r}=hr(n);let i=s.call(n,e);i||(e=Ae(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?li(t,o)&&$t(n,"set",e,t):$t(n,"add",e,t),this}function ao(e){const t=Ae(this),{has:n,get:s}=hr(t);let r=n.call(t,e);r||(e=Ae(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&$t(t,"delete",e,void 0),i}function lo(){const e=Ae(this),t=e.size!==0,n=e.clear();return t&&$t(e,"clear",void 0,void 0),n}function Pi(e,t){return function(s,r){const i=this,o=i.__v_raw,l=Ae(o),a=t?xs:e?Es:ci;return!e&&st(l,"iterate",fn),o.forEach((d,u)=>s.call(r,a(d),a(u),i))}}function Li(e,t,n){return function(...s){const r=this.__v_raw,i=Ae(r),o=En(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=r[e](...s),u=n?xs:t?Es:ci;return!t&&st(i,"iterate",a?Hr:fn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:l?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function Bt(e){return function(...t){return e==="delete"?!1:this}}function mu(){const e={get(i){return Ci(this,i)},get size(){return Ti(this)},has:Ai,add:so,set:oo,delete:ao,clear:lo,forEach:Pi(!1,!1)},t={get(i){return Ci(this,i,!1,!0)},get size(){return Ti(this)},has:Ai,add:so,set:oo,delete:ao,clear:lo,forEach:Pi(!1,!0)},n={get(i){return Ci(this,i,!0)},get size(){return Ti(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:Pi(!0,!1)},s={get(i){return Ci(this,i,!0,!0)},get size(){return Ti(this,!0)},has(i){return Ai.call(this,i,!0)},add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear"),forEach:Pi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Li(i,!1,!1),n[i]=Li(i,!0,!1),t[i]=Li(i,!1,!0),s[i]=Li(i,!0,!0)}),[e,n,t,s]}const[gu,vu,_u,yu]=mu();function bs(e,t){const n=t?e?yu:_u:e?vu:gu;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ke(n,r)&&r in s?n:s,r,i)}const xu={get:bs(!1,!1)},bu={get:bs(!1,!0)},wu={get:bs(!0,!1)},Qa=new WeakMap,Ja=new WeakMap,Za=new WeakMap,Eu=new WeakMap;function ku(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Su(e){return e.__v_skip||!Object.isExtensible(e)?0:ku(Xc(e))}function xi(e){return Cn(e)?e:ws(e,!1,qa,xu,Qa)}function Cu(e){return ws(e,!1,pu,bu,Ja)}function el(e){return ws(e,!0,hu,wu,Za)}function ws(e,t,n,s,r){if(!Ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Su(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function kn(e){return Cn(e)?kn(e.__v_raw):!!(e&&e.__v_isReactive)}function Cn(e){return!!(e&&e.__v_isReadonly)}function Gi(e){return!!(e&&e.__v_isShallow)}function tl(e){return kn(e)||Cn(e)}function Ae(e){const t=e&&e.__v_raw;return t?Ae(t):e}function nl(e){return zi(e,"__v_skip",!0),e}const ci=e=>Ne(e)?xi(e):e,Es=e=>Ne(e)?el(e):e;function il(e){Kt&&ht&&(e=Ae(e),Ka(e.dep||(e.dep=vs())))}function rl(e,t){e=Ae(e),e.dep&&Wr(e.dep)}function Ye(e){return!!(e&&e.__v_isRef===!0)}function _e(e){return ol(e,!1)}function sl(e){return ol(e,!0)}function ol(e,t){return Ye(e)?e:new Au(e,t)}class Au{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ae(t),this._value=n?t:ci(t)}get value(){return il(this),this._value}set value(t){const n=this.__v_isShallow||Gi(t)||Cn(t);t=n?t:Ae(t),li(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ci(t),rl(this))}}function $(e){return Ye(e)?e.value:e}const Tu={get:(e,t,n)=>$(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Ye(r)&&!Ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function al(e){return kn(e)?e:new Proxy(e,Tu)}var ll;class Pu{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[ll]=!1,this._dirty=!0,this.effect=new _s(t,()=>{this._dirty||(this._dirty=!0,rl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=Ae(this);return il(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}ll="__v_isReadonly";function Lu(e,t,n=!1){let s,r;const i=ge(e);return i?(s=e,r=gt):(s=e.get,r=e.set),new Pu(s,r,i||!r,n)}function Yt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){pr(i,t,n)}return r}function vt(e,t,n,s){if(ge(e)){const i=Yt(e,t,n,s);return i&&Ba(i)&&i.catch(o=>{pr(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(vt(e[i],t,n,s));return r}function pr(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,l=n;for(;i;){const d=i.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](e,o,l)===!1)return}i=i.parent}const a=t.appContext.config.errorHandler;if(a){Yt(a,null,10,[e,o,l]);return}}Iu(e,n,r,s)}function Iu(e,t,n,s=!0){console.error(e)}let ui=!1,jr=!1;const qe=[];let At=0;const Sn=[];let Nt=null,sn=0;const cl=Promise.resolve();let ks=null;function ul(e){const t=ks||cl;return e?t.then(this?e.bind(this):e):t}function Ou(e){let t=At+1,n=qe.length;for(;t<n;){const s=t+n>>>1;fi(qe[s])<e?t=s+1:n=s}return t}function Ss(e){(!qe.length||!qe.includes(e,ui&&e.allowRecurse?At+1:At))&&(e.id==null?qe.push(e):qe.splice(Ou(e.id),0,e),fl())}function fl(){!ui&&!jr&&(jr=!0,ks=cl.then(hl))}function Mu(e){const t=qe.indexOf(e);t>At&&qe.splice(t,1)}function Ru(e){me(e)?Sn.push(...e):(!Nt||!Nt.includes(e,e.allowRecurse?sn+1:sn))&&Sn.push(e),fl()}function co(e,t=ui?At+1:0){for(;t<qe.length;t++){const n=qe[t];n&&n.pre&&(qe.splice(t,1),t--,n())}}function dl(e){if(Sn.length){const t=[...new Set(Sn)];if(Sn.length=0,Nt){Nt.push(...t);return}for(Nt=t,Nt.sort((n,s)=>fi(n)-fi(s)),sn=0;sn<Nt.length;sn++)Nt[sn]();Nt=null,sn=0}}const fi=e=>e.id==null?1/0:e.id,Nu=(e,t)=>{const n=fi(e)-fi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function hl(e){jr=!1,ui=!0,qe.sort(Nu);const t=gt;try{for(At=0;At<qe.length;At++){const n=qe[At];n&&n.active!==!1&&Yt(n,null,14)}}finally{At=0,qe.length=0,dl(),ui=!1,ks=null,(qe.length||Sn.length)&&hl()}}function $u(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Me;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const u=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:f}=s[u]||Me;f&&(r=n.map(c=>Ve(c)?c.trim():c)),h&&(r=n.map(ja))}let l,a=s[l=Cr(t)]||s[l=Cr(Lt(t))];!a&&i&&(a=s[l=Cr(Dn(t))]),a&&vt(a,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,vt(d,e,6,r)}}function pl(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!ge(e)){const a=d=>{const u=pl(d,t,!0);u&&(l=!0,Ze(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(Ne(e)&&s.set(e,null),null):(me(i)?i.forEach(a=>o[a]=null):Ze(o,i),Ne(e)&&s.set(e,o),o)}function mr(e,t){return!e||!cr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,Dn(t))||ke(e,t))}let Xe=null,ml=null;function Ki(e){const t=Xe;return Xe=e,ml=e&&e.type.__scopeId||null,t}function Re(e,t=Xe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&yo(-1);const i=Ki(t);let o;try{o=e(...r)}finally{Ki(i),s._d&&yo(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Tr(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:l,attrs:a,emit:d,render:u,renderCache:h,data:f,setupState:c,ctx:m,inheritAttrs:p}=e;let _,v;const k=Ki(e);try{if(n.shapeFlag&4){const g=r||s;_=St(u.call(g,g,h,i,c,f,m)),v=a}else{const g=t;_=St(g.length>1?g(i,{attrs:a,slots:l,emit:d}):g(i,null)),v=t.props?a:Du(a)}}catch(g){Zn.length=0,pr(g,e,1),_=X(qt)}let S=_;if(v&&p!==!1){const g=Object.keys(v),{shapeFlag:y}=S;g.length&&y&7&&(o&&g.some(hs)&&(v=Fu(v,o)),S=An(S,v))}return n.dirs&&(S=An(S),S.dirs=S.dirs?S.dirs.concat(n.dirs):n.dirs),n.transition&&(S.transition=n.transition),_=S,Ki(k),_}const Du=e=>{let t;for(const n in e)(n==="class"||n==="style"||cr(n))&&((t||(t={}))[n]=e[n]);return t},Fu=(e,t)=>{const n={};for(const s in e)(!hs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bu(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?uo(s,o,d):!!o;if(a&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const f=u[h];if(o[f]!==s[f]&&!mr(d,f))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?uo(s,o,d):!0:!!o;return!1}function uo(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]&&!mr(n,i))return!0}return!1}function Hu({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Wu=e=>e.__isSuspense;function ju(e,t){t&&t.pendingBranch?me(e)?t.effects.push(...e):t.effects.push(e):Ru(e)}function Wi(e,t){if(ze){let n=ze.provides;const s=ze.parent&&ze.parent.provides;s===n&&(n=ze.provides=Object.create(s)),n[e]=t}}function _t(e,t,n=!1){const s=ze||Xe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&ge(t)?t.call(s.proxy):t}}const Ii={};function Tt(e,t,n){return gl(e,t,n)}function gl(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Me){const l=ze;let a,d=!1,u=!1;if(Ye(e)?(a=()=>e.value,d=Gi(e)):kn(e)?(a=()=>e,s=!0):me(e)?(u=!0,d=e.some(S=>kn(S)||Gi(S)),a=()=>e.map(S=>{if(Ye(S))return S.value;if(kn(S))return un(S);if(ge(S))return Yt(S,l,2)})):ge(e)?t?a=()=>Yt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return h&&h(),vt(e,l,3,[f])}:a=gt,t&&s){const S=a;a=()=>un(S())}let h,f=S=>{h=v.onStop=()=>{Yt(S,l,4)}},c;if(pi)if(f=gt,t?n&&vt(t,l,3,[a(),u?[]:void 0,f]):a(),r==="sync"){const S=Nf();c=S.__watcherHandles||(S.__watcherHandles=[])}else return gt;let m=u?new Array(e.length).fill(Ii):Ii;const p=()=>{if(v.active)if(t){const S=v.run();(s||d||(u?S.some((g,y)=>li(g,m[y])):li(S,m)))&&(h&&h(),vt(t,l,3,[S,m===Ii?void 0:u&&m[0]===Ii?[]:m,f]),m=S)}else v.run()};p.allowRecurse=!!t;let _;r==="sync"?_=p:r==="post"?_=()=>tt(p,l&&l.suspense):(p.pre=!0,l&&(p.id=l.uid),_=()=>Ss(p));const v=new _s(a,_);t?n?p():m=v.run():r==="post"?tt(v.run.bind(v),l&&l.suspense):v.run();const k=()=>{v.stop(),l&&l.scope&&ps(l.scope.effects,v)};return c&&c.push(k),k}function Uu(e,t,n){const s=this.proxy,r=Ve(e)?e.includes(".")?vl(s,e):()=>s[e]:e.bind(s,s);let i;ge(t)?i=t:(i=t.handler,n=t);const o=ze;Tn(this);const l=gl(r,i.bind(s),n);return o?Tn(o):dn(),l}function vl(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function un(e,t){if(!Ne(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ye(e))un(e.value,t);else if(me(e))for(let n=0;n<e.length;n++)un(e[n],t);else if(Fa(e)||En(e))e.forEach(n=>{un(n,t)});else if(Wa(e))for(const n in e)un(e[n],t);return e}function he(e){return ge(e)?{setup:e,name:e.name}:e}const Qn=e=>!!e.type.__asyncLoader,_l=e=>e.type.__isKeepAlive;function Vu(e,t){yl(e,"a",t)}function zu(e,t){yl(e,"da",t)}function yl(e,t,n=ze){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(gr(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_l(r.parent.vnode)&&Gu(s,t,n,r),r=r.parent}}function Gu(e,t,n,s){const r=gr(t,e,s,!0);Cs(()=>{ps(s[t],r)},n)}function gr(e,t,n=ze,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Fn(),Tn(n);const l=vt(t,n,e,o);return dn(),Bn(),l});return s?r.unshift(i):r.push(i),i}}const Ft=e=>(t,n=ze)=>(!pi||e==="sp")&&gr(e,(...s)=>t(...s),n),xl=Ft("bm"),ut=Ft("m"),Ku=Ft("bu"),Yu=Ft("u"),Xu=Ft("bum"),Cs=Ft("um"),qu=Ft("sp"),Qu=Ft("rtg"),Ju=Ft("rtc");function Zu(e,t=ze){gr("ec",e,t)}function Xn(e,t){const n=Xe;if(n===null)return e;const s=_r(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,a,d=Me]=t[i];o&&(ge(o)&&(o={mounted:o,updated:o}),o.deep&&un(l),r.push({dir:o,instance:s,value:l,oldValue:void 0,arg:a,modifiers:d}))}return e}function tn(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let a=l.dir[s];a&&(Fn(),vt(a,n,8,[e.el,l,e,t]),Bn())}}const bl="components";function ef(e,t){return nf(bl,e,!0,t)||e}const tf=Symbol();function nf(e,t,n=!0,s=!1){const r=Xe||ze;if(r){const i=r.type;if(e===bl){const l=Of(i,!1);if(l&&(l===t||l===Lt(t)||l===dr(Lt(t))))return i}const o=fo(r[e]||i[e],t)||fo(r.appContext[e],t);return!o&&s?i:o}}function fo(e,t){return e&&(e[t]||e[Lt(t)]||e[dr(Lt(t))])}function Yi(e,t,n,s){let r;const i=n&&n[s];if(me(e)||Ve(e)){r=new Array(e.length);for(let o=0,l=e.length;o<l;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(Ne(e))if(e[Symbol.iterator])r=Array.from(e,(o,l)=>t(o,l,void 0,i&&i[l]));else{const o=Object.keys(e);r=new Array(o.length);for(let l=0,a=o.length;l<a;l++){const d=o[l];r[l]=t(e[d],d,l,i&&i[l])}}else r=[];return n&&(n[s]=r),r}function As(e,t,n={},s,r){if(Xe.isCE||Xe.parent&&Qn(Xe.parent)&&Xe.parent.isCE)return t!=="default"&&(n.name=t),X("slot",n,s&&s());let i=e[t];i&&i._c&&(i._d=!1),Z();const o=i&&wl(i(n)),l=Ke(Be,{key:n.key||o&&o.key||`_${t}`},o||(s?s():[]),o&&e._===1?64:-2);return!r&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function wl(e){return e.some(t=>qi(t)?!(t.type===qt||t.type===Be&&!wl(t.children)):!0)?e:null}const Ur=e=>e?Ml(e)?_r(e)||e.proxy:Ur(e.parent):null,Jn=Ze(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ur(e.parent),$root:e=>Ur(e.root),$emit:e=>e.emit,$options:e=>Ts(e),$forceUpdate:e=>e.f||(e.f=()=>Ss(e.update)),$nextTick:e=>e.n||(e.n=ul.bind(e.proxy)),$watch:e=>Uu.bind(e)}),Pr=(e,t)=>e!==Me&&!e.__isScriptSetup&&ke(e,t),rf={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:a}=e;let d;if(t[0]!=="$"){const c=o[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Pr(s,t))return o[t]=1,s[t];if(r!==Me&&ke(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&ke(d,t))return o[t]=3,i[t];if(n!==Me&&ke(n,t))return o[t]=4,n[t];Vr&&(o[t]=0)}}const u=Jn[t];let h,f;if(u)return t==="$attrs"&&st(e,"get",t),u(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==Me&&ke(n,t))return o[t]=4,n[t];if(f=a.config.globalProperties,ke(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Pr(r,t)?(r[t]=n,!0):s!==Me&&ke(s,t)?(s[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==Me&&ke(e,o)||Pr(t,o)||(l=i[0])&&ke(l,o)||ke(s,o)||ke(Jn,o)||ke(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let Vr=!0;function sf(e){const t=Ts(e),n=e.proxy,s=e.ctx;Vr=!1,t.beforeCreate&&ho(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:c,updated:m,activated:p,deactivated:_,beforeDestroy:v,beforeUnmount:k,destroyed:S,unmounted:g,render:y,renderTracked:b,renderTriggered:w,errorCaptured:P,serverPrefetch:T,expose:O,inheritAttrs:L,components:N,directives:F,filters:z}=t;if(d&&of(d,s,null,e.appContext.config.unwrapInjectedRef),o)for(const q in o){const ne=o[q];ge(ne)&&(s[q]=ne.bind(n))}if(r){const q=r.call(n,n);Ne(q)&&(e.data=xi(q))}if(Vr=!0,i)for(const q in i){const ne=i[q],re=ge(ne)?ne.bind(n,n):ge(ne.get)?ne.get.bind(n,n):gt,pe=!ge(ne)&&ge(ne.set)?ne.set.bind(n):gt,fe=De({get:re,set:pe});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>fe.value,set:ce=>fe.value=ce})}if(l)for(const q in l)El(l[q],s,n,q);if(a){const q=ge(a)?a.call(n):a;Reflect.ownKeys(q).forEach(ne=>{Wi(ne,q[ne])})}u&&ho(u,e,"c");function U(q,ne){me(ne)?ne.forEach(re=>q(re.bind(n))):ne&&q(ne.bind(n))}if(U(xl,h),U(ut,f),U(Ku,c),U(Yu,m),U(Vu,p),U(zu,_),U(Zu,P),U(Ju,b),U(Qu,w),U(Xu,k),U(Cs,g),U(qu,T),me(O))if(O.length){const q=e.exposed||(e.exposed={});O.forEach(ne=>{Object.defineProperty(q,ne,{get:()=>n[ne],set:re=>n[ne]=re})})}else e.exposed||(e.exposed={});y&&e.render===gt&&(e.render=y),L!=null&&(e.inheritAttrs=L),N&&(e.components=N),F&&(e.directives=F)}function of(e,t,n=gt,s=!1){me(e)&&(e=zr(e));for(const r in e){const i=e[r];let o;Ne(i)?"default"in i?o=_t(i.from||r,i.default,!0):o=_t(i.from||r):o=_t(i),Ye(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[r]=o}}function ho(e,t,n){vt(me(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function El(e,t,n,s){const r=s.includes(".")?vl(n,s):()=>n[s];if(Ve(e)){const i=t[e];ge(i)&&Tt(r,i)}else if(ge(e))Tt(r,e.bind(n));else if(Ne(e))if(me(e))e.forEach(i=>El(i,t,n,s));else{const i=ge(e.handler)?e.handler.bind(n):t[e.handler];ge(i)&&Tt(r,i,e)}}function Ts(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(d=>Xi(a,d,o,!0)),Xi(a,t,o)),Ne(t)&&i.set(t,a),a}function Xi(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Xi(e,i,n,!0),r&&r.forEach(o=>Xi(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=af[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const af={data:po,props:rn,emits:rn,methods:rn,computed:rn,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:rn,directives:rn,watch:cf,provide:po,inject:lf};function po(e,t){return t?e?function(){return Ze(ge(e)?e.call(this,this):e,ge(t)?t.call(this,this):t)}:t:e}function lf(e,t){return rn(zr(e),zr(t))}function zr(e){if(me(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qe(e,t){return e?[...new Set([].concat(e,t))]:t}function rn(e,t){return e?Ze(Ze(Object.create(null),e),t):t}function cf(e,t){if(!e)return t;if(!t)return e;const n=Ze(Object.create(null),e);for(const s in t)n[s]=Qe(e[s],t[s]);return n}function uf(e,t,n,s=!1){const r={},i={};zi(i,vr,1),e.propsDefaults=Object.create(null),kl(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Cu(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ff(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=Ae(r),[a]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let f=u[h];if(mr(e.emitsOptions,f))continue;const c=t[f];if(a)if(ke(i,f))c!==i[f]&&(i[f]=c,d=!0);else{const m=Lt(f);r[m]=Gr(a,l,m,c,e,!1)}else c!==i[f]&&(i[f]=c,d=!0)}}}else{kl(e,t,r,i)&&(d=!0);let u;for(const h in l)(!t||!ke(t,h)&&((u=Dn(h))===h||!ke(t,u)))&&(a?n&&(n[h]!==void 0||n[u]!==void 0)&&(r[h]=Gr(a,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!ke(t,h))&&(delete i[h],d=!0)}d&&$t(e,"set","$attrs")}function kl(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(Hi(a))continue;const d=t[a];let u;r&&ke(r,u=Lt(a))?!i||!i.includes(u)?n[u]=d:(l||(l={}))[u]=d:mr(e.emitsOptions,a)||(!(a in s)||d!==s[a])&&(s[a]=d,o=!0)}if(i){const a=Ae(n),d=l||Me;for(let u=0;u<i.length;u++){const h=i[u];n[h]=Gr(r,a,h,d[h],e,!ke(d,h))}}return o}function Gr(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ke(o,"default");if(l&&s===void 0){const a=o.default;if(o.type!==Function&&ge(a)){const{propsDefaults:d}=r;n in d?s=d[n]:(Tn(r),s=d[n]=a.call(null,t),dn())}else s=a}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===Dn(n))&&(s=!0))}return s}function Sl(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let a=!1;if(!ge(e)){const u=h=>{a=!0;const[f,c]=Sl(h,t,!0);Ze(o,f),c&&l.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return Ne(e)&&s.set(e,wn),wn;if(me(i))for(let u=0;u<i.length;u++){const h=Lt(i[u]);mo(h)&&(o[h]=Me)}else if(i)for(const u in i){const h=Lt(u);if(mo(h)){const f=i[u],c=o[h]=me(f)||ge(f)?{type:f}:Object.assign({},f);if(c){const m=_o(Boolean,c.type),p=_o(String,c.type);c[0]=m>-1,c[1]=p<0||m<p,(m>-1||ke(c,"default"))&&l.push(h)}}}const d=[o,l];return Ne(e)&&s.set(e,d),d}function mo(e){return e[0]!=="$"}function go(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function vo(e,t){return go(e)===go(t)}function _o(e,t){return me(t)?t.findIndex(n=>vo(n,e)):ge(t)&&vo(t,e)?0:-1}const Cl=e=>e[0]==="_"||e==="$stable",Ps=e=>me(e)?e.map(St):[St(e)],df=(e,t,n)=>{if(t._n)return t;const s=Re((...r)=>Ps(t(...r)),n);return s._c=!1,s},Al=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Cl(r))continue;const i=e[r];if(ge(i))t[r]=df(r,i,s);else if(i!=null){const o=Ps(i);t[r]=()=>o}}},Tl=(e,t)=>{const n=Ps(t);e.slots.default=()=>n},hf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ae(t),zi(t,"_",n)):Al(t,e.slots={})}else e.slots={},t&&Tl(e,t);zi(e.slots,vr,1)},pf=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Me;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Ze(r,t),!n&&l===1&&delete r._):(i=!t.$stable,Al(t,r)),o=t}else t&&(Tl(e,t),o={default:1});if(i)for(const l in r)!Cl(l)&&!(l in o)&&delete r[l]};function Pl(){return{app:null,config:{isNativeTag:Gc,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 mf=0;function gf(e,t){return function(s,r=null){ge(s)||(s=Object.assign({},s)),r!=null&&!Ne(r)&&(r=null);const i=Pl(),o=new Set;let l=!1;const a=i.app={_uid:mf++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:$f,get config(){return i.config},set config(d){},use(d,...u){return o.has(d)||(d&&ge(d.install)?(o.add(d),d.install(a,...u)):ge(d)&&(o.add(d),d(a,...u))),a},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),a},component(d,u){return u?(i.components[d]=u,a):i.components[d]},directive(d,u){return u?(i.directives[d]=u,a):i.directives[d]},mount(d,u,h){if(!l){const f=X(s,r);return f.appContext=i,u&&t?t(f,d):e(f,d,h),l=!0,a._container=d,d.__vue_app__=a,_r(f.component)||f.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(d,u){return i.provides[d]=u,a}};return a}}function Kr(e,t,n,s,r=!1){if(me(e)){e.forEach((f,c)=>Kr(f,t&&(me(t)?t[c]:t),n,s,r));return}if(Qn(s)&&!r)return;const i=s.shapeFlag&4?_r(s.component)||s.component.proxy:s.el,o=r?null:i,{i:l,r:a}=e,d=t&&t.r,u=l.refs===Me?l.refs={}:l.refs,h=l.setupState;if(d!=null&&d!==a&&(Ve(d)?(u[d]=null,ke(h,d)&&(h[d]=null)):Ye(d)&&(d.value=null)),ge(a))Yt(a,l,12,[o,u]);else{const f=Ve(a),c=Ye(a);if(f||c){const m=()=>{if(e.f){const p=f?ke(h,a)?h[a]:u[a]:a.value;r?me(p)&&ps(p,i):me(p)?p.includes(i)||p.push(i):f?(u[a]=[i],ke(h,a)&&(h[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else f?(u[a]=o,ke(h,a)&&(h[a]=o)):c&&(a.value=o,e.k&&(u[e.k]=o))};o?(m.id=-1,tt(m,n)):m()}}}const tt=ju;function vf(e){return _f(e)}function _f(e,t){const n=Jc();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:c=gt,insertStaticContent:m}=e,p=(C,x,E,A=null,M=null,H=null,j=!1,V=null,G=!!x.dynamicChildren)=>{if(C===x)return;C&&!jn(C,x)&&(A=K(C),ce(C,M,H,!0),C=null),x.patchFlag===-2&&(G=!1,x.dynamicChildren=null);const{type:W,ref:R,shapeFlag:D}=x;switch(W){case bi:_(C,x,E,A);break;case qt:v(C,x,E,A);break;case Lr:C==null&&k(x,E,A,j);break;case Be:N(C,x,E,A,M,H,j,V,G);break;default:D&1?y(C,x,E,A,M,H,j,V,G):D&6?F(C,x,E,A,M,H,j,V,G):(D&64||D&128)&&W.process(C,x,E,A,M,H,j,V,G,le)}R!=null&&M&&Kr(R,C&&C.ref,H,x||C,!x)},_=(C,x,E,A)=>{if(C==null)s(x.el=l(x.children),E,A);else{const M=x.el=C.el;x.children!==C.children&&d(M,x.children)}},v=(C,x,E,A)=>{C==null?s(x.el=a(x.children||""),E,A):x.el=C.el},k=(C,x,E,A)=>{[C.el,C.anchor]=m(C.children,x,E,A,C.el,C.anchor)},S=({el:C,anchor:x},E,A)=>{let M;for(;C&&C!==x;)M=f(C),s(C,E,A),C=M;s(x,E,A)},g=({el:C,anchor:x})=>{let E;for(;C&&C!==x;)E=f(C),r(C),C=E;r(x)},y=(C,x,E,A,M,H,j,V,G)=>{j=j||x.type==="svg",C==null?b(x,E,A,M,H,j,V,G):T(C,x,M,H,j,V,G)},b=(C,x,E,A,M,H,j,V)=>{let G,W;const{type:R,props:D,shapeFlag:ie,transition:se,dirs:de}=C;if(G=C.el=o(C.type,H,D&&D.is,D),ie&8?u(G,C.children):ie&16&&P(C.children,G,null,A,M,H&&R!=="foreignObject",j,V),de&&tn(C,null,A,"created"),D){for(const ye in D)ye!=="value"&&!Hi(ye)&&i(G,ye,null,D[ye],H,C.children,A,M,Y);"value"in D&&i(G,"value",null,D.value),(W=D.onVnodeBeforeMount)&&wt(W,A,C)}w(G,C,C.scopeId,j,A),de&&tn(C,null,A,"beforeMount");const Ee=(!M||M&&!M.pendingBranch)&&se&&!se.persisted;Ee&&se.beforeEnter(G),s(G,x,E),((W=D&&D.onVnodeMounted)||Ee||de)&&tt(()=>{W&&wt(W,A,C),Ee&&se.enter(G),de&&tn(C,null,A,"mounted")},M)},w=(C,x,E,A,M)=>{if(E&&c(C,E),A)for(let H=0;H<A.length;H++)c(C,A[H]);if(M){let H=M.subTree;if(x===H){const j=M.vnode;w(C,j,j.scopeId,j.slotScopeIds,M.parent)}}},P=(C,x,E,A,M,H,j,V,G=0)=>{for(let W=G;W<C.length;W++){const R=C[W]=V?jt(C[W]):St(C[W]);p(null,R,x,E,A,M,H,j,V)}},T=(C,x,E,A,M,H,j)=>{const V=x.el=C.el;let{patchFlag:G,dynamicChildren:W,dirs:R}=x;G|=C.patchFlag&16;const D=C.props||Me,ie=x.props||Me;let se;E&&nn(E,!1),(se=ie.onVnodeBeforeUpdate)&&wt(se,E,x,C),R&&tn(x,C,E,"beforeUpdate"),E&&nn(E,!0);const de=M&&x.type!=="foreignObject";if(W?O(C.dynamicChildren,W,V,E,A,de,H):j||ne(C,x,V,null,E,A,de,H,!1),G>0){if(G&16)L(V,x,D,ie,E,A,M);else if(G&2&&D.class!==ie.class&&i(V,"class",null,ie.class,M),G&4&&i(V,"style",D.style,ie.style,M),G&8){const Ee=x.dynamicProps;for(let ye=0;ye<Ee.length;ye++){const Fe=Ee[ye],ot=D[Fe],gn=ie[Fe];(gn!==ot||Fe==="value")&&i(V,Fe,ot,gn,M,C.children,E,A,Y)}}G&1&&C.children!==x.children&&u(V,x.children)}else!j&&W==null&&L(V,x,D,ie,E,A,M);((se=ie.onVnodeUpdated)||R)&&tt(()=>{se&&wt(se,E,x,C),R&&tn(x,C,E,"updated")},A)},O=(C,x,E,A,M,H,j)=>{for(let V=0;V<x.length;V++){const G=C[V],W=x[V],R=G.el&&(G.type===Be||!jn(G,W)||G.shapeFlag&70)?h(G.el):E;p(G,W,R,null,A,M,H,j,!0)}},L=(C,x,E,A,M,H,j)=>{if(E!==A){if(E!==Me)for(const V in E)!Hi(V)&&!(V in A)&&i(C,V,E[V],null,j,x.children,M,H,Y);for(const V in A){if(Hi(V))continue;const G=A[V],W=E[V];G!==W&&V!=="value"&&i(C,V,W,G,j,x.children,M,H,Y)}"value"in A&&i(C,"value",E.value,A.value)}},N=(C,x,E,A,M,H,j,V,G)=>{const W=x.el=C?C.el:l(""),R=x.anchor=C?C.anchor:l("");let{patchFlag:D,dynamicChildren:ie,slotScopeIds:se}=x;se&&(V=V?V.concat(se):se),C==null?(s(W,E,A),s(R,E,A),P(x.children,E,R,M,H,j,V,G)):D>0&&D&64&&ie&&C.dynamicChildren?(O(C.dynamicChildren,ie,E,M,H,j,V),(x.key!=null||M&&x===M.subTree)&&Ll(C,x,!0)):ne(C,x,E,R,M,H,j,V,G)},F=(C,x,E,A,M,H,j,V,G)=>{x.slotScopeIds=V,C==null?x.shapeFlag&512?M.ctx.activate(x,E,A,j,G):z(x,E,A,M,H,j,G):J(C,x,G)},z=(C,x,E,A,M,H,j)=>{const V=C.component=Af(C,A,M);if(_l(C)&&(V.ctx.renderer=le),Tf(V),V.asyncDep){if(M&&M.registerDep(V,U),!C.el){const G=V.subTree=X(qt);v(null,G,x,E)}return}U(V,C,x,E,M,H,j)},J=(C,x,E)=>{const A=x.component=C.component;if(Bu(C,x,E))if(A.asyncDep&&!A.asyncResolved){q(A,x,E);return}else A.next=x,Mu(A.update),A.update();else x.el=C.el,A.vnode=x},U=(C,x,E,A,M,H,j)=>{const V=()=>{if(C.isMounted){let{next:R,bu:D,u:ie,parent:se,vnode:de}=C,Ee=R,ye;nn(C,!1),R?(R.el=de.el,q(C,R,j)):R=de,D&&Ar(D),(ye=R.props&&R.props.onVnodeBeforeUpdate)&&wt(ye,se,R,de),nn(C,!0);const Fe=Tr(C),ot=C.subTree;C.subTree=Fe,p(ot,Fe,h(ot.el),K(ot),C,M,H),R.el=Fe.el,Ee===null&&Hu(C,Fe.el),ie&&tt(ie,M),(ye=R.props&&R.props.onVnodeUpdated)&&tt(()=>wt(ye,se,R,de),M)}else{let R;const{el:D,props:ie}=x,{bm:se,m:de,parent:Ee}=C,ye=Qn(x);if(nn(C,!1),se&&Ar(se),!ye&&(R=ie&&ie.onVnodeBeforeMount)&&wt(R,Ee,x),nn(C,!0),D&&ae){const Fe=()=>{C.subTree=Tr(C),ae(D,C.subTree,C,M,null)};ye?x.type.__asyncLoader().then(()=>!C.isUnmounted&&Fe()):Fe()}else{const Fe=C.subTree=Tr(C);p(null,Fe,E,A,C,M,H),x.el=Fe.el}if(de&&tt(de,M),!ye&&(R=ie&&ie.onVnodeMounted)){const Fe=x;tt(()=>wt(R,Ee,Fe),M)}(x.shapeFlag&256||Ee&&Qn(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&C.a&&tt(C.a,M),C.isMounted=!0,x=E=A=null}},G=C.effect=new _s(V,()=>Ss(W),C.scope),W=C.update=()=>G.run();W.id=C.uid,nn(C,!0),W()},q=(C,x,E)=>{x.component=C;const A=C.vnode.props;C.vnode=x,C.next=null,ff(C,x.props,A,E),pf(C,x.children,E),Fn(),co(),Bn()},ne=(C,x,E,A,M,H,j,V,G=!1)=>{const W=C&&C.children,R=C?C.shapeFlag:0,D=x.children,{patchFlag:ie,shapeFlag:se}=x;if(ie>0){if(ie&128){pe(W,D,E,A,M,H,j,V,G);return}else if(ie&256){re(W,D,E,A,M,H,j,V,G);return}}se&8?(R&16&&Y(W,M,H),D!==W&&u(E,D)):R&16?se&16?pe(W,D,E,A,M,H,j,V,G):Y(W,M,H,!0):(R&8&&u(E,""),se&16&&P(D,E,A,M,H,j,V,G))},re=(C,x,E,A,M,H,j,V,G)=>{C=C||wn,x=x||wn;const W=C.length,R=x.length,D=Math.min(W,R);let ie;for(ie=0;ie<D;ie++){const se=x[ie]=G?jt(x[ie]):St(x[ie]);p(C[ie],se,E,null,M,H,j,V,G)}W>R?Y(C,M,H,!0,!1,D):P(x,E,A,M,H,j,V,G,D)},pe=(C,x,E,A,M,H,j,V,G)=>{let W=0;const R=x.length;let D=C.length-1,ie=R-1;for(;W<=D&&W<=ie;){const se=C[W],de=x[W]=G?jt(x[W]):St(x[W]);if(jn(se,de))p(se,de,E,null,M,H,j,V,G);else break;W++}for(;W<=D&&W<=ie;){const se=C[D],de=x[ie]=G?jt(x[ie]):St(x[ie]);if(jn(se,de))p(se,de,E,null,M,H,j,V,G);else break;D--,ie--}if(W>D){if(W<=ie){const se=ie+1,de=se<R?x[se].el:A;for(;W<=ie;)p(null,x[W]=G?jt(x[W]):St(x[W]),E,de,M,H,j,V,G),W++}}else if(W>ie)for(;W<=D;)ce(C[W],M,H,!0),W++;else{const se=W,de=W,Ee=new Map;for(W=de;W<=ie;W++){const rt=x[W]=G?jt(x[W]):St(x[W]);rt.key!=null&&Ee.set(rt.key,W)}let ye,Fe=0;const ot=ie-de+1;let gn=!1,Js=0;const Wn=new Array(ot);for(W=0;W<ot;W++)Wn[W]=0;for(W=se;W<=D;W++){const rt=C[W];if(Fe>=ot){ce(rt,M,H,!0);continue}let bt;if(rt.key!=null)bt=Ee.get(rt.key);else for(ye=de;ye<=ie;ye++)if(Wn[ye-de]===0&&jn(rt,x[ye])){bt=ye;break}bt===void 0?ce(rt,M,H,!0):(Wn[bt-de]=W+1,bt>=Js?Js=bt:gn=!0,p(rt,x[bt],E,null,M,H,j,V,G),Fe++)}const Zs=gn?yf(Wn):wn;for(ye=Zs.length-1,W=ot-1;W>=0;W--){const rt=de+W,bt=x[rt],eo=rt+1<R?x[rt+1].el:A;Wn[W]===0?p(null,bt,E,eo,M,H,j,V,G):gn&&(ye<0||W!==Zs[ye]?fe(bt,E,eo,2):ye--)}}},fe=(C,x,E,A,M=null)=>{const{el:H,type:j,transition:V,children:G,shapeFlag:W}=C;if(W&6){fe(C.component.subTree,x,E,A);return}if(W&128){C.suspense.move(x,E,A);return}if(W&64){j.move(C,x,E,le);return}if(j===Be){s(H,x,E);for(let D=0;D<G.length;D++)fe(G[D],x,E,A);s(C.anchor,x,E);return}if(j===Lr){S(C,x,E);return}if(A!==2&&W&1&&V)if(A===0)V.beforeEnter(H),s(H,x,E),tt(()=>V.enter(H),M);else{const{leave:D,delayLeave:ie,afterLeave:se}=V,de=()=>s(H,x,E),Ee=()=>{D(H,()=>{de(),se&&se()})};ie?ie(H,de,Ee):Ee()}else s(H,x,E)},ce=(C,x,E,A=!1,M=!1)=>{const{type:H,props:j,ref:V,children:G,dynamicChildren:W,shapeFlag:R,patchFlag:D,dirs:ie}=C;if(V!=null&&Kr(V,null,E,C,!0),R&256){x.ctx.deactivate(C);return}const se=R&1&&ie,de=!Qn(C);let Ee;if(de&&(Ee=j&&j.onVnodeBeforeUnmount)&&wt(Ee,x,C),R&6)B(C.component,E,A);else{if(R&128){C.suspense.unmount(E,A);return}se&&tn(C,null,x,"beforeUnmount"),R&64?C.type.remove(C,x,E,M,le,A):W&&(H!==Be||D>0&&D&64)?Y(W,x,E,!1,!0):(H===Be&&D&384||!M&&R&16)&&Y(G,x,E),A&&ve(C)}(de&&(Ee=j&&j.onVnodeUnmounted)||se)&&tt(()=>{Ee&&wt(Ee,x,C),se&&tn(C,null,x,"unmounted")},E)},ve=C=>{const{type:x,el:E,anchor:A,transition:M}=C;if(x===Be){Ce(E,A);return}if(x===Lr){g(C);return}const H=()=>{r(E),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(C.shapeFlag&1&&M&&!M.persisted){const{leave:j,delayLeave:V}=M,G=()=>j(E,H);V?V(C.el,H,G):G()}else H()},Ce=(C,x)=>{let E;for(;C!==x;)E=f(C),r(C),C=E;r(x)},B=(C,x,E)=>{const{bum:A,scope:M,update:H,subTree:j,um:V}=C;A&&Ar(A),M.stop(),H&&(H.active=!1,ce(j,C,x,E)),V&&tt(V,x),tt(()=>{C.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&C.asyncDep&&!C.asyncResolved&&C.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Y=(C,x,E,A=!1,M=!1,H=0)=>{for(let j=H;j<C.length;j++)ce(C[j],x,E,A,M)},K=C=>C.shapeFlag&6?K(C.component.subTree):C.shapeFlag&128?C.suspense.next():f(C.anchor||C.el),te=(C,x,E)=>{C==null?x._vnode&&ce(x._vnode,null,null,!0):p(x._vnode||null,C,x,null,null,null,E),co(),dl(),x._vnode=C},le={p,um:ce,m:fe,r:ve,mt:z,mc:P,pc:ne,pbc:O,n:K,o:e};let xe,ae;return t&&([xe,ae]=t(le)),{render:te,hydrate:xe,createApp:gf(te,xe)}}function nn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ll(e,t,n=!1){const s=e.children,r=t.children;if(me(s)&&me(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=jt(r[i]),l.el=o.el),n||Ll(o,l)),l.type===bi&&(l.el=o.el)}}function yf(e){const t=e.slice(),n=[0];let s,r,i,o,l;const a=e.length;for(s=0;s<a;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<d?i=l+1:o=l;d<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const xf=e=>e.__isTeleport,Be=Symbol(void 0),bi=Symbol(void 0),qt=Symbol(void 0),Lr=Symbol(void 0),Zn=[];let pt=null;function Z(e=!1){Zn.push(pt=e?null:[])}function bf(){Zn.pop(),pt=Zn[Zn.length-1]||null}let di=1;function yo(e){di+=e}function Il(e){return e.dynamicChildren=di>0?pt||wn:null,bf(),di>0&&pt&&pt.push(e),e}function oe(e,t,n,s,r,i){return Il(I(e,t,n,s,r,i,!0))}function Ke(e,t,n,s,r){return Il(X(e,t,n,s,r,!0))}function qi(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}const vr="__vInternal",Ol=({key:e})=>e??null,ji=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ve(e)||Ye(e)||ge(e)?{i:Xe,r:e,k:t,f:!!n}:e:null;function I(e,t=null,n=null,s=0,r=null,i=e===Be?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ol(t),ref:t&&ji(t),scopeId:ml,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:Xe};return l?(Ls(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=Ve(n)?8:16),di>0&&!o&&pt&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&pt.push(a),a}const X=wf;function wf(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===tf)&&(e=qt),qi(e)){const l=An(e,t,!0);return n&&Ls(l,n),di>0&&!i&&pt&&(l.shapeFlag&6?pt[pt.indexOf(e)]=l:pt.push(l)),l.patchFlag|=-2,l}if(Mf(e)&&(e=e.__vccOpts),t){t=Ef(t);let{class:l,style:a}=t;l&&!Ve(l)&&(t.class=$n(l)),Ne(a)&&(tl(a)&&!me(a)&&(a=Ze({},a)),t.style=cn(a))}const o=Ve(e)?1:Wu(e)?128:xf(e)?64:Ne(e)?4:ge(e)?2:0;return I(e,t,n,s,r,o,i,!0)}function Ef(e){return e?tl(e)||vr in e?Ze({},e):e:null}function An(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,l=t?kf(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Ol(l),ref:t&&t.ref?n&&r?me(r)?r.concat(ji(t)):[r,ji(t)]:ji(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Be?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&&An(e.ssContent),ssFallback:e.ssFallback&&An(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx}}function Oe(e=" ",t=0){return X(bi,null,e,t)}function Pe(e="",t=!1){return t?(Z(),Ke(qt,null,e)):X(qt,null,e)}function St(e){return e==null||typeof e=="boolean"?X(qt):me(e)?X(Be,null,e.slice()):typeof e=="object"?jt(e):X(bi,null,String(e))}function jt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:An(e)}function Ls(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(me(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ls(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(vr in t)?t._ctx=Xe:r===3&&Xe&&(Xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ge(t)?(t={default:t,_ctx:Xe},n=32):(t=String(t),s&64?(n=16,t=[Oe(t)]):n=8);e.children=t,e.shapeFlag|=n}function kf(...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=$n([t.class,s.class]));else if(r==="style")t.style=cn([t.style,s.style]);else if(cr(r)){const i=t[r],o=s[r];o&&i!==o&&!(me(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function wt(e,t,n,s=null){vt(e,t,7,[n,s])}const Sf=Pl();let Cf=0;function Af(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Sf,i={uid:Cf++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ua(!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:Sl(s,r),emitsOptions:pl(s,r),emit:null,emitted:null,propsDefaults:Me,inheritAttrs:s.inheritAttrs,ctx:Me,data:Me,props:Me,attrs:Me,slots:Me,refs:Me,setupState:Me,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=$u.bind(null,i),e.ce&&e.ce(i),i}let ze=null;const hi=()=>ze||Xe,Tn=e=>{ze=e,e.scope.on()},dn=()=>{ze&&ze.scope.off(),ze=null};function Ml(e){return e.vnode.shapeFlag&4}let pi=!1;function Tf(e,t=!1){pi=t;const{props:n,children:s}=e.vnode,r=Ml(e);uf(e,n,r,t),hf(e,s);const i=r?Pf(e,t):void 0;return pi=!1,i}function Pf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=nl(new Proxy(e.ctx,rf));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?If(e):null;Tn(e),Fn();const i=Yt(s,e,0,[e.props,r]);if(Bn(),dn(),Ba(i)){if(i.then(dn,dn),t)return i.then(o=>{xo(e,o,t)}).catch(o=>{pr(o,e,0)});e.asyncDep=i}else xo(e,i,t)}else Rl(e,t)}function xo(e,t,n){ge(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ne(t)&&(e.setupState=al(t)),Rl(e,n)}let bo;function Rl(e,t,n){const s=e.type;if(!e.render){if(!t&&bo&&!s.render){const r=s.template||Ts(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=s,d=Ze(Ze({isCustomElement:i,delimiters:l},o),a);s.render=bo(r,d)}}e.render=s.render||gt}Tn(e),Fn(),sf(e),Bn(),dn()}function Lf(e){return new Proxy(e.attrs,{get(t,n){return st(e,"get","$attrs"),t[n]}})}function If(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Lf(e))},slots:e.slots,emit:e.emit,expose:t}}function _r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(al(nl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Jn)return Jn[n](e)},has(t,n){return n in t||n in Jn}}))}function Of(e,t=!0){return ge(e)?e.displayName||e.name:e.name||t&&e.__name}function Mf(e){return ge(e)&&"__vccOpts"in e}const De=(e,t)=>Lu(e,t,pi);function yr(e,t,n){const s=arguments.length;return s===2?Ne(t)&&!me(t)?qi(t)?X(e,null,[t]):X(e,t):X(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qi(n)&&(n=[n]),X(e,t,n))}const Rf=Symbol(""),Nf=()=>_t(Rf),$f="3.2.45",Df="http://www.w3.org/2000/svg",on=typeof document<"u"?document:null,wo=on&&on.createElement("template"),Ff={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?on.createElementNS(Df,e):on.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>on.createTextNode(e),createComment:e=>on.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>on.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{wo.innerHTML=s?`<svg>${e}</svg>`:e;const l=wo.content;if(s){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Bf(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 Hf(e,t,n){const s=e.style,r=Ve(n);if(n&&!r){for(const i in n)Yr(s,i,n[i]);if(t&&!Ve(t))for(const i in t)n[i]==null&&Yr(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Eo=/\s*!important$/;function Yr(e,t,n){if(me(n))n.forEach(s=>Yr(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Wf(e,t);Eo.test(n)?e.setProperty(Dn(s),n.replace(Eo,""),"important"):e[s]=n}}const ko=["Webkit","Moz","ms"],Ir={};function Wf(e,t){const n=Ir[t];if(n)return n;let s=Lt(t);if(s!=="filter"&&s in e)return Ir[t]=s;s=dr(s);for(let r=0;r<ko.length;r++){const i=ko[r]+s;if(i in e)return Ir[t]=i}return t}const So="http://www.w3.org/1999/xlink";function jf(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(So,t.slice(6,t.length)):e.setAttributeNS(So,t,n);else{const i=zc(t);n==null||i&&!$a(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Uf(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=$a(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Vf(e,t,n,s){e.addEventListener(t,n,s)}function zf(e,t,n,s){e.removeEventListener(t,n,s)}function Gf(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[l,a]=Kf(t);if(s){const d=i[t]=qf(s,r);Vf(e,l,d,a)}else o&&(zf(e,l,o,a),i[t]=void 0)}}const Co=/(?:Once|Passive|Capture)$/;function Kf(e){let t;if(Co.test(e)){t={};let s;for(;s=e.match(Co);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Dn(e.slice(2)),t]}let Or=0;const Yf=Promise.resolve(),Xf=()=>Or||(Yf.then(()=>Or=0),Or=Date.now());function qf(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;vt(Qf(s,n.value),t,5,[s])};return n.value=e,n.attached=Xf(),n}function Qf(e,t){if(me(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 Ao=/^on[a-z]/,Jf=(e,t,n,s,r=!1,i,o,l,a)=>{t==="class"?Bf(e,s,r):t==="style"?Hf(e,n,s):cr(t)?hs(t)||Gf(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zf(e,t,s,r))?Uf(e,t,s,i,o,l,a):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),jf(e,t,s,r))};function Zf(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ao.test(t)&&ge(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ao.test(t)&&Ve(n)?!1:t in e}const qn={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Un(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),Un(e,!0),s.enter(e)):s.leave(e,()=>{Un(e,!1)}):Un(e,t))},beforeUnmount(e,{value:t}){Un(e,t)}};function Un(e,t){e.style.display=t?e._vod:"none"}const ed=Ze({patchProp:Jf},Ff);let To;function td(){return To||(To=vf(ed))}const nd=(...e)=>{const t=td().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=id(s);if(!r)return;const i=t._component;!ge(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function id(e){return Ve(e)?document.querySelector(e):e}/*!
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/const _n=typeof window<"u";function rd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Te=Object.assign;function Mr(e,t){const n={};for(const s in t){const r=t[s];n[s]=yt(r)?r.map(e):e(r)}return n}const ei=()=>{},yt=Array.isArray,sd=/\/$/,od=e=>e.replace(sd,"");function Rr(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(s=t.slice(0,a),i=t.slice(a+1,l>-1?l:t.length),r=e(i)),l>-1&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=ud(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function ad(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Po(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ld(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Pn(t.matched[s],n.matched[r])&&Nl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!cd(e[n],t[n]))return!1;return!0}function cd(e,t){return yt(e)?Lo(e,t):yt(t)?Lo(t,e):e===t}function Lo(e,t){return yt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function ud(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,i,o;for(i=0;i<s.length;i++)if(o=s[i],o!==".")if(o==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var mi;(function(e){e.pop="pop",e.push="push"})(mi||(mi={}));var ti;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ti||(ti={}));function fd(e){if(!e)if(_n){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),od(e)}const dd=/^[^#]+#/;function hd(e,t){return e.replace(dd,"#")+t}function pd(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 xr=()=>({left:window.pageXOffset,top:window.pageYOffset});function md(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=pd(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 Io(e,t){return(history.state?history.state.position-t:-1)+e}const Xr=new Map;function gd(e,t){Xr.set(e,t)}function vd(e){const t=Xr.get(e);return Xr.delete(e),t}let _d=()=>location.protocol+"//"+location.host;function $l(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,a=r.slice(l);return a[0]!=="/"&&(a="/"+a),Po(a,"")}return Po(n,e)+s+r}function yd(e,t,n,s){let r=[],i=[],o=null;const l=({state:f})=>{const c=$l(e,location),m=n.value,p=t.value;let _=0;if(f){if(n.value=c,t.value=f,o&&o===m){o=null;return}_=p?f.position-p.position:0}else s(c);r.forEach(v=>{v(n.value,m,{delta:_,type:mi.pop,direction:_?_>0?ti.forward:ti.back:ti.unknown})})};function a(){o=n.value}function d(f){r.push(f);const c=()=>{const m=r.indexOf(f);m>-1&&r.splice(m,1)};return i.push(c),c}function u(){const{history:f}=window;f.state&&f.replaceState(Te({},f.state,{scroll:xr()}),"")}function h(){for(const f of i)f();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:d,destroy:h}}function Oo(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?xr():null}}function xd(e){const{history:t,location:n}=window,s={value:$l(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(a,d,u){const h=e.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+a:_d()+e+a;try{t[u?"replaceState":"pushState"](d,"",f),r.value=d}catch(c){console.error(c),n[u?"replace":"assign"](f)}}function o(a,d){const u=Te({},t.state,Oo(r.value.back,a,r.value.forward,!0),d,{position:r.value.position});i(a,u,!0),s.value=a}function l(a,d){const u=Te({},r.value,t.state,{forward:a,scroll:xr()});i(u.current,u,!0);const h=Te({},Oo(s.value,a,null),{position:u.position+1},d);i(a,h,!1),s.value=a}return{location:s,state:r,push:l,replace:o}}function bd(e){e=fd(e);const t=xd(e),n=yd(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Te({location:"",base:e,go:s,createHref:hd.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 wd(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),bd(e)}function Ed(e){return typeof e=="string"||e&&typeof e=="object"}function Dl(e){return typeof e=="string"||typeof e=="symbol"}const Ht={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Fl=Symbol("");var Mo;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Mo||(Mo={}));function Ln(e,t){return Te(new Error,{type:e,[Fl]:!0},t)}function Mt(e,t){return e instanceof Error&&Fl in e&&(t==null||!!(e.type&t))}const Ro="[^/]+?",kd={sensitive:!1,strict:!1,start:!0,end:!0},Sd=/[.+*?^${}()[\]/\\]/g;function Cd(e,t){const n=Te({},kd,t),s=[];let r=n.start?"^":"";const i=[];for(const d of e){const u=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let h=0;h<d.length;h++){const f=d[h];let c=40+(n.sensitive?.25:0);if(f.type===0)h||(r+="/"),r+=f.value.replace(Sd,"\\$&"),c+=40;else if(f.type===1){const{value:m,repeatable:p,optional:_,regexp:v}=f;i.push({name:m,repeatable:p,optional:_});const k=v||Ro;if(k!==Ro){c+=10;try{new RegExp(`(${k})`)}catch(g){throw new Error(`Invalid custom RegExp for param "${m}" (${k}): `+g.message)}}let S=p?`((?:${k})(?:/(?:${k}))*)`:`(${k})`;h||(S=_&&d.length<2?`(?:/${S})`:"/"+S),_&&(S+="?"),r+=S,c+=20,_&&(c+=-8),p&&(c+=-20),k===".*"&&(c+=-50)}u.push(c)}s.push(u)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(d){const u=d.match(o),h={};if(!u)return null;for(let f=1;f<u.length;f++){const c=u[f]||"",m=i[f-1];h[m.name]=c&&m.repeatable?c.split("/"):c}return h}function a(d){let u="",h=!1;for(const f of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of f)if(c.type===0)u+=c.value;else if(c.type===1){const{value:m,repeatable:p,optional:_}=c,v=m in d?d[m]:"";if(yt(v)&&!p)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const k=yt(v)?v.join("/"):v;if(!k)if(_)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${m}"`);u+=k}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:a}}function Ad(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 Td(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Ad(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(No(s))return 1;if(No(r))return-1}return r.length-s.length}function No(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Pd={type:0,value:""},Ld=/[a-zA-Z0-9_]/;function Id(e){if(!e)return[[]];if(e==="/")return[[Pd]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${d}": ${c}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,a,d="",u="";function h(){d&&(n===0?i.push({type:0,value:d}):n===1||n===2||n===3?(i.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:d,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),d="")}function f(){d+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:a==="/"?(d&&h(),o()):a===":"?(h(),n=1):f();break;case 4:f(),n=s;break;case 1:a==="("?n=2:Ld.test(a)?f():(h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case 2:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=3:u+=a;break;case 3:h(),n=0,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),h(),o(),r}function Od(e,t,n){const s=Cd(Id(e.path),n),r=Te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Md(e,t){const n=[],s=new Map;t=Fo({strict:!1,end:!0,sensitive:!1},t);function r(u){return s.get(u)}function i(u,h,f){const c=!f,m=Rd(u);m.aliasOf=f&&f.record;const p=Fo(t,u),_=[m];if("alias"in u){const S=typeof u.alias=="string"?[u.alias]:u.alias;for(const g of S)_.push(Te({},m,{components:f?f.record.components:m.components,path:g,aliasOf:f?f.record:m}))}let v,k;for(const S of _){const{path:g}=S;if(h&&g[0]!=="/"){const y=h.record.path,b=y[y.length-1]==="/"?"":"/";S.path=h.record.path+(g&&b+g)}if(v=Od(S,h,p),f?f.alias.push(v):(k=k||v,k!==v&&k.alias.push(v),c&&u.name&&!Do(v)&&o(u.name)),m.children){const y=m.children;for(let b=0;b<y.length;b++)i(y[b],v,f&&f.children[b])}f=f||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&a(v)}return k?()=>{o(k)}:ei}function o(u){if(Dl(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function l(){return n}function a(u){let h=0;for(;h<n.length&&Td(u,n[h])>=0&&(u.record.path!==n[h].record.path||!Bl(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!Do(u)&&s.set(u.record.name,u)}function d(u,h){let f,c={},m,p;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw Ln(1,{location:u});p=f.record.name,c=Te($o(h.params,f.keys.filter(k=>!k.optional).map(k=>k.name)),u.params&&$o(u.params,f.keys.map(k=>k.name))),m=f.stringify(c)}else if("path"in u)m=u.path,f=n.find(k=>k.re.test(m)),f&&(c=f.parse(m),p=f.record.name);else{if(f=h.name?s.get(h.name):n.find(k=>k.re.test(h.path)),!f)throw Ln(1,{location:u,currentLocation:h});p=f.record.name,c=Te({},h.params,u.params),m=f.stringify(c)}const _=[];let v=f;for(;v;)_.unshift(v.record),v=v.parent;return{name:p,path:m,params:c,matched:_,meta:$d(_)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:d,removeRoute:o,getRoutes:l,getRecordMatcher:r}}function $o(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Rd(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Nd(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 Nd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Do(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $d(e){return e.reduce((t,n)=>Te(t,n.meta),{})}function Fo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Bl(e,t){return t.children.some(n=>n===e||Bl(e,n))}const Hl=/#/g,Dd=/&/g,Fd=/\//g,Bd=/=/g,Hd=/\?/g,Wl=/\+/g,Wd=/%5B/g,jd=/%5D/g,jl=/%5E/g,Ud=/%60/g,Ul=/%7B/g,Vd=/%7C/g,Vl=/%7D/g,zd=/%20/g;function Is(e){return encodeURI(""+e).replace(Vd,"|").replace(Wd,"[").replace(jd,"]")}function Gd(e){return Is(e).replace(Ul,"{").replace(Vl,"}").replace(jl,"^")}function qr(e){return Is(e).replace(Wl,"%2B").replace(zd,"+").replace(Hl,"%23").replace(Dd,"%26").replace(Ud,"`").replace(Ul,"{").replace(Vl,"}").replace(jl,"^")}function Kd(e){return qr(e).replace(Bd,"%3D")}function Yd(e){return Is(e).replace(Hl,"%23").replace(Hd,"%3F")}function Xd(e){return e==null?"":Yd(e).replace(Fd,"%2F")}function Qi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function qd(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(Wl," "),o=i.indexOf("="),l=Qi(o<0?i:i.slice(0,o)),a=o<0?null:Qi(i.slice(o+1));if(l in t){let d=t[l];yt(d)||(d=t[l]=[d]),d.push(a)}else t[l]=a}return t}function Bo(e){let t="";for(let n in e){const s=e[n];if(n=Kd(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(yt(s)?s.map(i=>i&&qr(i)):[s&&qr(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Qd(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=yt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Jd=Symbol(""),Ho=Symbol(""),Os=Symbol(""),Ms=Symbol(""),Qr=Symbol("");function Vn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ut(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,l)=>{const a=h=>{h===!1?l(Ln(4,{from:n,to:t})):h instanceof Error?l(h):Ed(h)?l(Ln(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},d=e.call(s&&s.instances[r],t,n,a);let u=Promise.resolve(d);e.length<3&&(u=u.then(a)),u.catch(h=>l(h))})}function Nr(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let l=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Zd(l)){const d=(l.__vccOpts||l)[t];d&&r.push(Ut(d,n,s,i,o))}else{let a=l();r.push(()=>a.then(d=>{if(!d)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=rd(d)?d.default:d;i.components[o]=u;const f=(u.__vccOpts||u)[t];return f&&Ut(f,n,s,i,o)()}))}}return r}function Zd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Wo(e){const t=_t(Os),n=_t(Ms),s=De(()=>t.resolve($(e.to))),r=De(()=>{const{matched:a}=s.value,{length:d}=a,u=a[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(Pn.bind(null,u));if(f>-1)return f;const c=jo(a[d-2]);return d>1&&jo(u)===c&&h[h.length-1].path!==c?h.findIndex(Pn.bind(null,a[d-2])):f}),i=De(()=>r.value>-1&&ih(n.params,s.value.params)),o=De(()=>r.value>-1&&r.value===n.matched.length-1&&Nl(n.params,s.value.params));function l(a={}){return nh(a)?t[$(e.replace)?"replace":"push"]($(e.to)).catch(ei):Promise.resolve()}return{route:s,href:De(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}const eh=he({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:Wo,setup(e,{slots:t}){const n=xi(Wo(e)),{options:s}=_t(Os),r=De(()=>({[Uo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Uo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:yr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),th=eh;function nh(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 ih(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(!yt(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function jo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Uo=(e,t,n)=>e??t??n,rh=he({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=_t(Qr),r=De(()=>e.route||s.value),i=_t(Ho,0),o=De(()=>{let d=$(i);const{matched:u}=r.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),l=De(()=>r.value.matched[o.value]);Wi(Ho,De(()=>o.value+1)),Wi(Jd,l),Wi(Qr,r);const a=_e();return Tt(()=>[a.value,l.value,e.name],([d,u,h],[f,c,m])=>{u&&(u.instances[h]=d,c&&c!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),d&&u&&(!c||!Pn(u,c)||!f)&&(u.enterCallbacks[h]||[]).forEach(p=>p(d))},{flush:"post"}),()=>{const d=r.value,u=e.name,h=l.value,f=h&&h.components[u];if(!f)return Vo(n.default,{Component:f,route:d});const c=h.props[u],m=c?c===!0?d.params:typeof c=="function"?c(d):c:null,_=yr(f,Te({},m,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(h.instances[u]=null)},ref:a}));return Vo(n.default,{Component:_,route:d})||_}}});function Vo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const zl=rh;function sh(e){const t=Md(e.routes,e),n=e.parseQuery||qd,s=e.stringifyQuery||Bo,r=e.history,i=Vn(),o=Vn(),l=Vn(),a=sl(Ht);let d=Ht;_n&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mr.bind(null,B=>""+B),h=Mr.bind(null,Xd),f=Mr.bind(null,Qi);function c(B,Y){let K,te;return Dl(B)?(K=t.getRecordMatcher(B),te=Y):te=B,t.addRoute(te,K)}function m(B){const Y=t.getRecordMatcher(B);Y&&t.removeRoute(Y)}function p(){return t.getRoutes().map(B=>B.record)}function _(B){return!!t.getRecordMatcher(B)}function v(B,Y){if(Y=Te({},Y||a.value),typeof B=="string"){const C=Rr(n,B,Y.path),x=t.resolve({path:C.path},Y),E=r.createHref(C.fullPath);return Te(C,x,{params:f(x.params),hash:Qi(C.hash),redirectedFrom:void 0,href:E})}let K;if("path"in B)K=Te({},B,{path:Rr(n,B.path,Y.path).path});else{const C=Te({},B.params);for(const x in C)C[x]==null&&delete C[x];K=Te({},B,{params:h(B.params)}),Y.params=h(Y.params)}const te=t.resolve(K,Y),le=B.hash||"";te.params=u(f(te.params));const xe=ad(s,Te({},B,{hash:Gd(le),path:te.path})),ae=r.createHref(xe);return Te({fullPath:xe,hash:le,query:s===Bo?Qd(B.query):B.query||{}},te,{redirectedFrom:void 0,href:ae})}function k(B){return typeof B=="string"?Rr(n,B,a.value.path):Te({},B)}function S(B,Y){if(d!==B)return Ln(8,{from:Y,to:B})}function g(B){return w(B)}function y(B){return g(Te(k(B),{replace:!0}))}function b(B){const Y=B.matched[B.matched.length-1];if(Y&&Y.redirect){const{redirect:K}=Y;let te=typeof K=="function"?K(B):K;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=k(te):{path:te},te.params={}),Te({query:B.query,hash:B.hash,params:"path"in te?{}:B.params},te)}}function w(B,Y){const K=d=v(B),te=a.value,le=B.state,xe=B.force,ae=B.replace===!0,C=b(K);if(C)return w(Te(k(C),{state:typeof C=="object"?Te({},le,C.state):le,force:xe,replace:ae}),Y||K);const x=K;x.redirectedFrom=Y;let E;return!xe&&ld(s,te,K)&&(E=Ln(16,{to:x,from:te}),pe(te,te,!0,!1)),(E?Promise.resolve(E):T(x,te)).catch(A=>Mt(A)?Mt(A,2)?A:re(A):q(A,x,te)).then(A=>{if(A){if(Mt(A,2))return w(Te({replace:ae},k(A.to),{state:typeof A.to=="object"?Te({},le,A.to.state):le,force:xe}),Y||x)}else A=L(x,te,!0,ae,le);return O(x,te,A),A})}function P(B,Y){const K=S(B,Y);return K?Promise.reject(K):Promise.resolve()}function T(B,Y){let K;const[te,le,xe]=oh(B,Y);K=Nr(te.reverse(),"beforeRouteLeave",B,Y);for(const C of te)C.leaveGuards.forEach(x=>{K.push(Ut(x,B,Y))});const ae=P.bind(null,B,Y);return K.push(ae),vn(K).then(()=>{K=[];for(const C of i.list())K.push(Ut(C,B,Y));return K.push(ae),vn(K)}).then(()=>{K=Nr(le,"beforeRouteUpdate",B,Y);for(const C of le)C.updateGuards.forEach(x=>{K.push(Ut(x,B,Y))});return K.push(ae),vn(K)}).then(()=>{K=[];for(const C of B.matched)if(C.beforeEnter&&!Y.matched.includes(C))if(yt(C.beforeEnter))for(const x of C.beforeEnter)K.push(Ut(x,B,Y));else K.push(Ut(C.beforeEnter,B,Y));return K.push(ae),vn(K)}).then(()=>(B.matched.forEach(C=>C.enterCallbacks={}),K=Nr(xe,"beforeRouteEnter",B,Y),K.push(ae),vn(K))).then(()=>{K=[];for(const C of o.list())K.push(Ut(C,B,Y));return K.push(ae),vn(K)}).catch(C=>Mt(C,8)?C:Promise.reject(C))}function O(B,Y,K){for(const te of l.list())te(B,Y,K)}function L(B,Y,K,te,le){const xe=S(B,Y);if(xe)return xe;const ae=Y===Ht,C=_n?history.state:{};K&&(te||ae?r.replace(B.fullPath,Te({scroll:ae&&C&&C.scroll},le)):r.push(B.fullPath,le)),a.value=B,pe(B,Y,K,ae),re()}let N;function F(){N||(N=r.listen((B,Y,K)=>{if(!Ce.listening)return;const te=v(B),le=b(te);if(le){w(Te(le,{replace:!0}),te).catch(ei);return}d=te;const xe=a.value;_n&&gd(Io(xe.fullPath,K.delta),xr()),T(te,xe).catch(ae=>Mt(ae,12)?ae:Mt(ae,2)?(w(ae.to,te).then(C=>{Mt(C,20)&&!K.delta&&K.type===mi.pop&&r.go(-1,!1)}).catch(ei),Promise.reject()):(K.delta&&r.go(-K.delta,!1),q(ae,te,xe))).then(ae=>{ae=ae||L(te,xe,!1),ae&&(K.delta&&!Mt(ae,8)?r.go(-K.delta,!1):K.type===mi.pop&&Mt(ae,20)&&r.go(-1,!1)),O(te,xe,ae)}).catch(ei)}))}let z=Vn(),J=Vn(),U;function q(B,Y,K){re(B);const te=J.list();return te.length?te.forEach(le=>le(B,Y,K)):console.error(B),Promise.reject(B)}function ne(){return U&&a.value!==Ht?Promise.resolve():new Promise((B,Y)=>{z.add([B,Y])})}function re(B){return U||(U=!B,F(),z.list().forEach(([Y,K])=>B?K(B):Y()),z.reset()),B}function pe(B,Y,K,te){const{scrollBehavior:le}=e;if(!_n||!le)return Promise.resolve();const xe=!K&&vd(Io(B.fullPath,0))||(te||!K)&&history.state&&history.state.scroll||null;return ul().then(()=>le(B,Y,xe)).then(ae=>ae&&md(ae)).catch(ae=>q(ae,B,Y))}const fe=B=>r.go(B);let ce;const ve=new Set,Ce={currentRoute:a,listening:!0,addRoute:c,removeRoute:m,hasRoute:_,getRoutes:p,resolve:v,options:e,push:g,replace:y,go:fe,back:()=>fe(-1),forward:()=>fe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:J.add,isReady:ne,install(B){const Y=this;B.component("RouterLink",th),B.component("RouterView",zl),B.config.globalProperties.$router=Y,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>$(a)}),_n&&!ce&&a.value===Ht&&(ce=!0,g(r.location).catch(le=>{}));const K={};for(const le in Ht)K[le]=De(()=>a.value[le]);B.provide(Os,Y),B.provide(Ms,xi(K)),B.provide(Qr,a);const te=B.unmount;ve.add(B),B.unmount=function(){ve.delete(B),ve.size<1&&(d=Ht,N&&N(),N=null,a.value=Ht,ce=!1,U=!1),te()}}};return Ce}function vn(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function oh(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(d=>Pn(d,l))?s.push(l):n.push(l));const a=e.matched[o];a&&(t.matched.find(d=>Pn(d,a))||r.push(a))}return[n,s,r]}function Rs(){return _t(Ms)}function Ji(){return localStorage.getItem("theme")??"dark"}function ah(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function lh(){ah(Ji()==="dark"?"light":"dark")}function Gl(e){switch(e||(e=Ji()),e){case"dark":document.documentElement.classList.add("dark");break;case"light":document.documentElement.classList.remove("dark");break;default:document.documentElement.classList.add("dark");break}}var $r=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},dt={},ch={get exports(){return dt},set exports(e){dt=e}};/*!
* matter-js 0.18.0 by @liabru
* http://brm.io/matter-js/
* License MIT
*
* The MIT License (MIT)
*
* Copyright (c) Liam Brummitt and contributors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/(function(e,t){(function(s,r){e.exports=r()})($r,function(){return function(n){var s={};function r(i){if(s[i])return s[i].exports;var o=s[i]={i,l:!1,exports:{}};return n[i].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=n,r.c=s,r.d=function(i,o,l){r.o(i,o)||Object.defineProperty(i,o,{enumerable:!0,get:l})},r.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},r.t=function(i,o){if(o&1&&(i=r(i)),o&8||o&4&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(r.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),o&2&&typeof i!="string")for(var a in i)r.d(l,a,function(d){return i[d]}.bind(null,a));return l},r.n=function(i){var o=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(o,"a",o),o},r.o=function(i,o){return Object.prototype.hasOwnProperty.call(i,o)},r.p="",r(r.s=21)}([function(n,s){var r={};n.exports=r,function(){r._nextId=0,r._seed=0,r._nowStartTime=+new Date,r._warnedOnce={},r._decomp=null,r.extend=function(o,l){var a,d;typeof l=="boolean"?(a=2,d=l):(a=1,d=!0);for(var u=a;u<arguments.length;u++){var h=arguments[u];if(h)for(var f in h)d&&h[f]&&h[f].constructor===Object&&(!o[f]||o[f].constructor===Object)?(o[f]=o[f]||{},r.extend(o[f],d,h[f])):o[f]=h[f]}return o},r.clone=function(o,l){return r.extend({},l,o)},r.keys=function(o){if(Object.keys)return Object.keys(o);var l=[];for(var a in o)l.push(a);return l},r.values=function(o){var l=[];if(Object.keys){for(var a=Object.keys(o),d=0;d<a.length;d++)l.push(o[a[d]]);return l}for(var u in o)l.push(o[u]);return l},r.get=function(o,l,a,d){l=l.split(".").slice(a,d);for(var u=0;u<l.length;u+=1)o=o[l[u]];return o},r.set=function(o,l,a,d,u){var h=l.split(".").slice(d,u);return r.get(o,l,0,-1)[h[h.length-1]]=a,a},r.shuffle=function(o){for(var l=o.length-1;l>0;l--){var a=Math.floor(r.random()*(l+1)),d=o[l];o[l]=o[a],o[a]=d}return o},r.choose=function(o){return o[Math.floor(r.random()*o.length)]},r.isElement=function(o){return typeof HTMLElement<"u"?o instanceof HTMLElement:!!(o&&o.nodeType&&o.nodeName)},r.isArray=function(o){return Object.prototype.toString.call(o)==="[object Array]"},r.isFunction=function(o){return typeof o=="function"},r.isPlainObject=function(o){return typeof o=="object"&&o.constructor===Object},r.isString=function(o){return toString.call(o)==="[object String]"},r.clamp=function(o,l,a){return o<l?l:o>a?a:o},r.sign=function(o){return o<0?-1:1},r.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-r._nowStartTime},r.random=function(o,l){return o=typeof o<"u"?o:0,l=typeof l<"u"?l:1,o+i()*(l-o)};var i=function(){return r._seed=(r._seed*9301+49297)%233280,r._seed/233280};r.colorToNumber=function(o){return o=o.replace("#",""),o.length==3&&(o=o.charAt(0)+o.charAt(0)+o.charAt(1)+o.charAt(1)+o.charAt(2)+o.charAt(2)),parseInt(o,16)},r.logLevel=1,r.log=function(){console&&r.logLevel>0&&r.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},r.info=function(){console&&r.logLevel>0&&r.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},r.warn=function(){console&&r.logLevel>0&&r.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},r.warnOnce=function(){var o=Array.prototype.slice.call(arguments).join(" ");r._warnedOnce[o]||(r.warn(o),r._warnedOnce[o]=!0)},r.deprecated=function(o,l,a){o[l]=r.chain(function(){r.warnOnce("🔅 deprecated 🔅",a)},o[l])},r.nextId=function(){return r._nextId++},r.indexOf=function(o,l){if(o.indexOf)return o.indexOf(l);for(var a=0;a<o.length;a++)if(o[a]===l)return a;return-1},r.map=function(o,l){if(o.map)return o.map(l);for(var a=[],d=0;d<o.length;d+=1)a.push(l(o[d]));return a},r.topologicalSort=function(o){var l=[],a=[],d=[];for(var u in o)!a[u]&&!d[u]&&r._topologicalSort(u,a,d,o,l);return l},r._topologicalSort=function(o,l,a,d,u){var h=d[o]||[];a[o]=!0;for(var f=0;f<h.length;f+=1){var c=h[f];a[c]||l[c]||r._topologicalSort(c,l,a,d,u)}a[o]=!1,l[o]=!0,u.push(o)},r.chain=function(){for(var o=[],l=0;l<arguments.length;l+=1){var a=arguments[l];a._chained?o.push.apply(o,a._chained):o.push(a)}var d=function(){for(var u,h=new Array(arguments.length),f=0,c=arguments.length;f<c;f++)h[f]=arguments[f];for(f=0;f<o.length;f+=1){var m=o[f].apply(u,h);typeof m<"u"&&(u=m)}return u};return d._chained=o,d},r.chainPathBefore=function(o,l,a){return r.set(o,l,r.chain(a,r.get(o,l)))},r.chainPathAfter=function(o,l,a){return r.set(o,l,r.chain(r.get(o,l),a))},r.setDecomp=function(o){r._decomp=o},r.getDecomp=function(){var o=r._decomp;try{!o&&typeof window<"u"&&(o=window.decomp),!o&&typeof $r<"u"&&(o=$r.decomp)}catch{o=null}return o}}()},function(n,s){var r={};n.exports=r,function(){r.create=function(i){var o={min:{x:0,y:0},max:{x:0,y:0}};return i&&r.update(o,i),o},r.update=function(i,o,l){i.min.x=1/0,i.max.x=-1/0,i.min.y=1/0,i.max.y=-1/0;for(var a=0;a<o.length;a++){var d=o[a];d.x>i.max.x&&(i.max.x=d.x),d.x<i.min.x&&(i.min.x=d.x),d.y>i.max.y&&(i.max.y=d.y),d.y<i.min.y&&(i.min.y=d.y)}l&&(l.x>0?i.max.x+=l.x:i.min.x+=l.x,l.y>0?i.max.y+=l.y:i.min.y+=l.y)},r.contains=function(i,o){return o.x>=i.min.x&&o.x<=i.max.x&&o.y>=i.min.y&&o.y<=i.max.y},r.overlaps=function(i,o){return i.min.x<=o.max.x&&i.max.x>=o.min.x&&i.max.y>=o.min.y&&i.min.y<=o.max.y},r.translate=function(i,o){i.min.x+=o.x,i.max.x+=o.x,i.min.y+=o.y,i.max.y+=o.y},r.shift=function(i,o){var l=i.max.x-i.min.x,a=i.max.y-i.min.y;i.min.x=o.x,i.max.x=o.x+l,i.min.y=o.y,i.max.y=o.y+a}}()},function(n,s){var r={};n.exports=r,function(){r.create=function(i,o){return{x:i||0,y:o||0}},r.clone=function(i){return{x:i.x,y:i.y}},r.magnitude=function(i){return Math.sqrt(i.x*i.x+i.y*i.y)},r.magnitudeSquared=function(i){return i.x*i.x+i.y*i.y},r.rotate=function(i,o,l){var a=Math.cos(o),d=Math.sin(o);l||(l={});var u=i.x*a-i.y*d;return l.y=i.x*d+i.y*a,l.x=u,l},r.rotateAbout=function(i,o,l,a){var d=Math.cos(o),u=Math.sin(o);a||(a={});var h=l.x+((i.x-l.x)*d-(i.y-l.y)*u);return a.y=l.y+((i.x-l.x)*u+(i.y-l.y)*d),a.x=h,a},r.normalise=function(i){var o=r.magnitude(i);return o===0?{x:0,y:0}:{x:i.x/o,y:i.y/o}},r.dot=function(i,o){return i.x*o.x+i.y*o.y},r.cross=function(i,o){return i.x*o.y-i.y*o.x},r.cross3=function(i,o,l){return(o.x-i.x)*(l.y-i.y)-(o.y-i.y)*(l.x-i.x)},r.add=function(i,o,l){return l||(l={}),l.x=i.x+o.x,l.y=i.y+o.y,l},r.sub=function(i,o,l){return l||(l={}),l.x=i.x-o.x,l.y=i.y-o.y,l},r.mult=function(i,o){return{x:i.x*o,y:i.y*o}},r.div=function(i,o){return{x:i.x/o,y:i.y/o}},r.perp=function(i,o){return o=o===!0?-1:1,{x:o*-i.y,y:o*i.x}},r.neg=function(i){return{x:-i.x,y:-i.y}},r.angle=function(i,o){return Math.atan2(o.y-i.y,o.x-i.x)},r._temp=[r.create(),r.create(),r.create(),r.create(),r.create(),r.create()]}()},function(n,s,r){var i={};n.exports=i;var o=r(2),l=r(0);(function(){i.create=function(a,d){for(var u=[],h=0;h<a.length;h++){var f=a[h],c={x:f.x,y:f.y,index:h,body:d,isInternal:!1};u.push(c)}return u},i.fromPath=function(a,d){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return a.replace(u,function(f,c,m){h.push({x:parseFloat(c),y:parseFloat(m)})}),i.create(h,d)},i.centre=function(a){for(var d=i.area(a,!0),u={x:0,y:0},h,f,c,m=0;m<a.length;m++)c=(m+1)%a.length,h=o.cross(a[m],a[c]),f=o.mult(o.add(a[m],a[c]),h),u=o.add(u,f);return o.div(u,6*d)},i.mean=function(a){for(var d={x:0,y:0},u=0;u<a.length;u++)d.x+=a[u].x,d.y+=a[u].y;return o.div(d,a.length)},i.area=function(a,d){for(var u=0,h=a.length-1,f=0;f<a.length;f++)u+=(a[h].x-a[f].x)*(a[h].y+a[f].y),h=f;return d?u/2:Math.abs(u)/2},i.inertia=function(a,d){for(var u=0,h=0,f=a,c,m,p=0;p<f.length;p++)m=(p+1)%f.length,c=Math.abs(o.cross(f[m],f[p])),u+=c*(o.dot(f[m],f[m])+o.dot(f[m],f[p])+o.dot(f[p],f[p])),h+=c;return d/6*(u/h)},i.translate=function(a,d,u){u=typeof u<"u"?u:1;var h=a.length,f=d.x*u,c=d.y*u,m;for(m=0;m<h;m++)a[m].x+=f,a[m].y+=c;return a},i.rotate=function(a,d,u){if(d!==0){var h=Math.cos(d),f=Math.sin(d),c=u.x,m=u.y,p=a.length,_,v,k,S;for(S=0;S<p;S++)_=a[S],v=_.x-c,k=_.y-m,_.x=c+(v*h-k*f),_.y=m+(v*f+k*h);return a}},i.contains=function(a,d){for(var u=d.x,h=d.y,f=a.length,c=a[f-1],m,p=0;p<f;p++){if(m=a[p],(u-c.x)*(m.y-c.y)+(h-c.y)*(c.x-m.x)>0)return!1;c=m}return!0},i.scale=function(a,d,u,h){if(d===1&&u===1)return a;h=h||i.centre(a);for(var f,c,m=0;m<a.length;m++)f=a[m],c=o.sub(f,h),a[m].x=h.x+c.x*d,a[m].y=h.y+c.y*u;return a},i.chamfer=function(a,d,u,h,f){typeof d=="number"?d=[d]:d=d||[8],u=typeof u<"u"?u:-1,h=h||2,f=f||14;for(var c=[],m=0;m<a.length;m++){var p=a[m-1>=0?m-1:a.length-1],_=a[m],v=a[(m+1)%a.length],k=d[m<d.length?m:d.length-1];if(k===0){c.push(_);continue}var S=o.normalise({x:_.y-p.y,y:p.x-_.x}),g=o.normalise({x:v.y-_.y,y:_.x-v.x}),y=Math.sqrt(2*Math.pow(k,2)),b=o.mult(l.clone(S),k),w=o.normalise(o.mult(o.add(S,g),.5)),P=o.sub(_,o.mult(w,y)),T=u;u===-1&&(T=Math.pow(k,.32)*1.75),T=l.clamp(T,h,f),T%2===1&&(T+=1);for(var O=Math.acos(o.dot(S,g)),L=O/T,N=0;N<T;N++)c.push(o.add(o.rotate(b,L*N),P))}return c},i.clockwiseSort=function(a){var d=i.mean(a);return a.sort(function(u,h){return o.angle(d,u)-o.angle(d,h)}),a},i.isConvex=function(a){var d=0,u=a.length,h,f,c,m;if(u<3)return null;for(h=0;h<u;h++)if(f=(h+1)%u,c=(h+2)%u,m=(a[f].x-a[h].x)*(a[c].y-a[f].y),m-=(a[f].y-a[h].y)*(a[c].x-a[f].x),m<0?d|=1:m>0&&(d|=2),d===3)return!1;return d!==0?!0:null},i.hull=function(a){var d=[],u=[],h,f;for(a=a.slice(0),a.sort(function(c,m){var p=c.x-m.x;return p!==0?p:c.y-m.y}),f=0;f<a.length;f+=1){for(h=a[f];u.length>=2&&o.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(f=a.length-1;f>=0;f-=1){for(h=a[f];d.length>=2&&o.cross3(d[d.length-2],d[d.length-1],h)<=0;)d.pop();d.push(h)}return d.pop(),u.pop(),d.concat(u)}})()},function(n,s,r){var i={};n.exports=i;var o=r(0);(function(){i.on=function(l,a,d){for(var u=a.split(" "),h,f=0;f<u.length;f++)h=u[f],l.events=l.events||{},l.events[h]=l.events[h]||[],l.events[h].push(d);return d},i.off=function(l,a,d){if(!a){l.events={};return}typeof a=="function"&&(d=a,a=o.keys(l.events).join(" "));for(var u=a.split(" "),h=0;h<u.length;h++){var f=l.events[u[h]],c=[];if(d&&f)for(var m=0;m<f.length;m++)f[m]!==d&&c.push(f[m]);l.events[u[h]]=c}},i.trigger=function(l,a,d){var u,h,f,c,m=l.events;if(m&&o.keys(m).length>0){d||(d={}),u=a.split(" ");for(var p=0;p<u.length;p++)if(h=u[p],f=m[h],f){c=o.clone(d,!1),c.name=h,c.source=l;for(var _=0;_<f.length;_++)f[_].apply(l,[c])}}}})()},function(n,s,r){var i={};n.exports=i;var o=r(4),l=r(0),a=r(1),d=r(6);(function(){i.create=function(u){return l.extend({id:l.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},i.setModified=function(u,h,f,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),f&&u.parent&&i.setModified(u.parent,h,f,c),c)for(var m=0;m<u.composites.length;m++){var p=u.composites[m];i.setModified(p,h,f,c)}},i.add=function(u,h){var f=[].concat(h);o.trigger(u,"beforeAdd",{object:h});for(var c=0;c<f.length;c++){var m=f[c];switch(m.type){case"body":if(m.parent!==m){l.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}i.addBody(u,m);break;case"constraint":i.addConstraint(u,m);break;case"composite":i.addComposite(u,m);break;case"mouseConstraint":i.addConstraint(u,m.constraint);break}}return o.trigger(u,"afterAdd",{object:h}),u},i.remove=function(u,h,f){var c=[].concat(h);o.trigger(u,"beforeRemove",{object:h});for(var m=0;m<c.length;m++){var p=c[m];switch(p.type){case"body":i.removeBody(u,p,f);break;case"constraint":i.removeConstraint(u,p,f);break;case"composite":i.removeComposite(u,p,f);break;case"mouseConstraint":i.removeConstraint(u,p.constraint);break}}return o.trigger(u,"afterRemove",{object:h}),u},i.addComposite=function(u,h){return u.composites.push(h),h.parent=u,i.setModified(u,!0,!0,!1),u},i.removeComposite=function(u,h,f){var c=l.indexOf(u.composites,h);if(c!==-1&&i.removeCompositeAt(u,c),f)for(var m=0;m<u.composites.length;m++)i.removeComposite(u.composites[m],h,!0);return u},i.removeCompositeAt=function(u,h){return u.composites.splice(h,1),i.setModified(u,!0,!0,!1),u},i.addBody=function(u,h){return u.bodies.push(h),i.setModified(u,!0,!0,!1),u},i.removeBody=function(u,h,f){var c=l.indexOf(u.bodies,h);if(c!==-1&&i.removeBodyAt(u,c),f)for(var m=0;m<u.composites.length;m++)i.removeBody(u.composites[m],h,!0);return u},i.removeBodyAt=function(u,h){return u.bodies.splice(h,1),i.setModified(u,!0,!0,!1),u},i.addConstraint=function(u,h){return u.constraints.push(h),i.setModified(u,!0,!0,!1),u},i.removeConstraint=function(u,h,f){var c=l.indexOf(u.constraints,h);if(c!==-1&&i.removeConstraintAt(u,c),f)for(var m=0;m<u.composites.length;m++)i.removeConstraint(u.composites[m],h,!0);return u},i.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),i.setModified(u,!0,!0,!1),u},i.clear=function(u,h,f){if(f)for(var c=0;c<u.composites.length;c++)i.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(m){return m.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,i.setModified(u,!0,!0,!1),u},i.allBodies=function(u){if(u.cache&&u.cache.allBodies)return u.cache.allBodies;for(var h=[].concat(u.bodies),f=0;f<u.composites.length;f++)h=h.concat(i.allBodies(u.composites[f]));return u.cache&&(u.cache.allBodies=h),h},i.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var h=[].concat(u.constraints),f=0;f<u.composites.length;f++)h=h.concat(i.allConstraints(u.composites[f]));return u.cache&&(u.cache.allConstraints=h),h},i.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var h=[].concat(u.composites),f=0;f<u.composites.length;f++)h=h.concat(i.allComposites(u.composites[f]));return u.cache&&(u.cache.allComposites=h),h},i.get=function(u,h,f){var c,m;switch(f){case"body":c=i.allBodies(u);break;case"constraint":c=i.allConstraints(u);break;case"composite":c=i.allComposites(u).concat(u);break}return c?(m=c.filter(function(p){return p.id.toString()===h.toString()}),m.length===0?null:m[0]):null},i.move=function(u,h,f){return i.remove(u,h),i.add(f,h),u},i.rebase=function(u){for(var h=i.allBodies(u).concat(i.allConstraints(u)).concat(i.allComposites(u)),f=0;f<h.length;f++)h[f].id=l.nextId();return u},i.translate=function(u,h,f){for(var c=f?i.allBodies(u):u.bodies,m=0;m<c.length;m++)d.translate(c[m],h);return u},i.rotate=function(u,h,f,c){for(var m=Math.cos(h),p=Math.sin(h),_=c?i.allBodies(u):u.bodies,v=0;v<_.length;v++){var k=_[v],S=k.position.x-f.x,g=k.position.y-f.y;d.setPosition(k,{x:f.x+(S*m-g*p),y:f.y+(S*p+g*m)}),d.rotate(k,h)}return u},i.scale=function(u,h,f,c,m){for(var p=m?i.allBodies(u):u.bodies,_=0;_<p.length;_++){var v=p[_],k=v.position.x-c.x,S=v.position.y-c.y;d.setPosition(v,{x:c.x+k*h,y:c.y+S*f}),d.scale(v,h,f)}return u},i.bounds=function(u){for(var h=i.allBodies(u),f=[],c=0;c<h.length;c+=1){var m=h[c];f.push(m.bounds.min,m.bounds.max)}return a.create(f)}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(2),a=r(7);r(16);var d=r(0),u=r(1),h=r(11);(function(){i._inertiaScale=4,i._nextCollidingGroupId=1,i._nextNonCollidingGroupId=-1,i._nextCategory=1,i.create=function(c){var m={id:d.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:o.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,_original:null},p=d.extend(m,c);return f(p,c),p},i.nextGroup=function(c){return c?i._nextNonCollidingGroupId--:i._nextCollidingGroupId++},i.nextCategory=function(){return i._nextCategory=i._nextCategory<<1,i._nextCategory};var f=function(c,m){m=m||{},i.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||l.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),o.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),i.set(c,{axes:m.axes||c.axes,area:m.area||c.area,mass:m.mass||c.mass,inertia:m.inertia||c.inertia});var p=c.isStatic?"#14151f":d.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),_=c.isStatic?"#555":"#ccc",v=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||p,c.render.strokeStyle=c.render.strokeStyle||_,c.render.lineWidth=c.render.lineWidth||v,c.render.sprite.xOffset+=-(c.bounds.min.x-c.position.x)/(c.bounds.max.x-c.bounds.min.x),c.render.sprite.yOffset+=-(c.bounds.min.y-c.position.y)/(c.bounds.max.y-c.bounds.min.y)};i.set=function(c,m,p){var _;typeof m=="string"&&(_=m,m={},m[_]=p);for(_ in m)if(Object.prototype.hasOwnProperty.call(m,_))switch(p=m[_],_){case"isStatic":i.setStatic(c,p);break;case"isSleeping":a.set(c,p);break;case"mass":i.setMass(c,p);break;case"density":i.setDensity(c,p);break;case"inertia":i.setInertia(c,p);break;case"vertices":i.setVertices(c,p);break;case"position":i.setPosition(c,p);break;case"angle":i.setAngle(c,p);break;case"velocity":i.setVelocity(c,p);break;case"angularVelocity":i.setAngularVelocity(c,p);break;case"parts":i.setParts(c,p);break;case"centre":i.setCentre(c,p);break;default:c[_]=p}},i.setStatic=function(c,m){for(var p=0;p<c.parts.length;p++){var _=c.parts[p];_.isStatic=m,m?(_._original={restitution:_.restitution,friction:_.friction,mass:_.mass,inertia:_.inertia,density:_.density,inverseMass:_.inverseMass,inverseInertia:_.inverseInertia},_.restitution=0,_.friction=1,_.mass=_.inertia=_.density=1/0,_.inverseMass=_.inverseInertia=0,_.positionPrev.x=_.position.x,_.positionPrev.y=_.position.y,_.anglePrev=_.angle,_.angularVelocity=0,_.speed=0,_.angularSpeed=0,_.motion=0):_._original&&(_.restitution=_._original.restitution,_.friction=_._original.friction,_.mass=_._original.mass,_.inertia=_._original.inertia,_.density=_._original.density,_.inverseMass=_._original.inverseMass,_.inverseInertia=_._original.inverseInertia,_._original=null)}},i.setMass=function(c,m){var p=c.inertia/(c.mass/6);c.inertia=p*(m/6),c.inverseInertia=1/c.inertia,c.mass=m,c.inverseMass=1/c.mass,c.density=c.mass/c.area},i.setDensity=function(c,m){i.setMass(c,m*c.area),c.density=m},i.setInertia=function(c,m){c.inertia=m,c.inverseInertia=1/c.inertia},i.setVertices=function(c,m){m[0].body===c?c.vertices=m:c.vertices=o.create(m,c),c.axes=h.fromVertices(c.vertices),c.area=o.area(c.vertices),i.setMass(c,c.density*c.area);var p=o.centre(c.vertices);o.translate(c.vertices,p,-1),i.setInertia(c,i._inertiaScale*o.inertia(c.vertices,c.mass)),o.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},i.setParts=function(c,m,p){var _;for(m=m.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,_=0;_<m.length;_++){var v=m[_];v!==c&&(v.parent=c,c.parts.push(v))}if(c.parts.length!==1){if(p=typeof p<"u"?p:!0,p){var k=[];for(_=0;_<m.length;_++)k=k.concat(m[_].vertices);o.clockwiseSort(k);var S=o.hull(k),g=o.centre(S);i.setVertices(c,S),o.translate(c.vertices,g)}var y=i._totalProperties(c);c.area=y.area,c.parent=c,c.position.x=y.centre.x,c.position.y=y.centre.y,c.positionPrev.x=y.centre.x,c.positionPrev.y=y.centre.y,i.setMass(c,y.mass),i.setInertia(c,y.inertia),i.setPosition(c,y.centre)}},i.setCentre=function(c,m,p){p?(c.positionPrev.x+=m.x,c.positionPrev.y+=m.y,c.position.x+=m.x,c.position.y+=m.y):(c.positionPrev.x=m.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=m.y-(c.position.y-c.positionPrev.y),c.position.x=m.x,c.position.y=m.y)},i.setPosition=function(c,m){var p=l.sub(m,c.position);c.positionPrev.x+=p.x,c.positionPrev.y+=p.y;for(var _=0;_<c.parts.length;_++){var v=c.parts[_];v.position.x+=p.x,v.position.y+=p.y,o.translate(v.vertices,p),u.update(v.bounds,v.vertices,c.velocity)}},i.setAngle=function(c,m){var p=m-c.angle;c.anglePrev+=p;for(var _=0;_<c.parts.length;_++){var v=c.parts[_];v.angle+=p,o.rotate(v.vertices,p,c.position),h.rotate(v.axes,p),u.update(v.bounds,v.vertices,c.velocity),_>0&&l.rotateAbout(v.position,p,c.position,v.position)}},i.setVelocity=function(c,m){c.positionPrev.x=c.position.x-m.x,c.positionPrev.y=c.position.y-m.y,c.velocity.x=m.x,c.velocity.y=m.y,c.speed=l.magnitude(c.velocity)},i.setAngularVelocity=function(c,m){c.anglePrev=c.angle-m,c.angularVelocity=m,c.angularSpeed=Math.abs(c.angularVelocity)},i.translate=function(c,m){i.setPosition(c,l.add(c.position,m))},i.rotate=function(c,m,p){if(!p)i.setAngle(c,c.angle+m);else{var _=Math.cos(m),v=Math.sin(m),k=c.position.x-p.x,S=c.position.y-p.y;i.setPosition(c,{x:p.x+(k*_-S*v),y:p.y+(k*v+S*_)}),i.setAngle(c,c.angle+m)}},i.scale=function(c,m,p,_){var v=0,k=0;_=_||c.position;for(var S=0;S<c.parts.length;S++){var g=c.parts[S];o.scale(g.vertices,m,p,_),g.axes=h.fromVertices(g.vertices),g.area=o.area(g.vertices),i.setMass(g,c.density*g.area),o.translate(g.vertices,{x:-g.position.x,y:-g.position.y}),i.setInertia(g,i._inertiaScale*o.inertia(g.vertices,g.mass)),o.translate(g.vertices,{x:g.position.x,y:g.position.y}),S>0&&(v+=g.area,k+=g.inertia),g.position.x=_.x+(g.position.x-_.x)*m,g.position.y=_.y+(g.position.y-_.y)*p,u.update(g.bounds,g.vertices,c.velocity)}c.parts.length>1&&(c.area=v,c.isStatic||(i.setMass(c,c.density*v),i.setInertia(c,k))),c.circleRadius&&(m===p?c.circleRadius*=m:c.circleRadius=null)},i.update=function(c,m,p,_){var v=Math.pow(m*p*c.timeScale,2),k=1-c.frictionAir*p*c.timeScale,S=c.position.x-c.positionPrev.x,g=c.position.y-c.positionPrev.y;c.velocity.x=S*k*_+c.force.x/c.mass*v,c.velocity.y=g*k*_+c.force.y/c.mass*v,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.angularVelocity=(c.angle-c.anglePrev)*k*_+c.torque/c.inertia*v,c.anglePrev=c.angle,c.angle+=c.angularVelocity,c.speed=l.magnitude(c.velocity),c.angularSpeed=Math.abs(c.angularVelocity);for(var y=0;y<c.parts.length;y++){var b=c.parts[y];o.translate(b.vertices,c.velocity),y>0&&(b.position.x+=c.velocity.x,b.position.y+=c.velocity.y),c.angularVelocity!==0&&(o.rotate(b.vertices,c.angularVelocity,c.position),h.rotate(b.axes,c.angularVelocity),y>0&&l.rotateAbout(b.position,c.angularVelocity,c.position,b.position)),u.update(b.bounds,b.vertices,c.velocity)}},i.applyForce=function(c,m,p){c.force.x+=p.x,c.force.y+=p.y;var _={x:m.x-c.position.x,y:m.y-c.position.y};c.torque+=_.x*p.y-_.y*p.x},i._totalProperties=function(c){for(var m={mass:0,area:0,inertia:0,centre:{x:0,y:0}},p=c.parts.length===1?0:1;p<c.parts.length;p++){var _=c.parts[p],v=_.mass!==1/0?_.mass:1;m.mass+=v,m.area+=_.area,m.inertia+=_.inertia,m.centre=l.add(m.centre,l.mult(_.position,v))}return m.centre=l.div(m.centre,m.mass),m}})()},function(n,s,r){var i={};n.exports=i;var o=r(4);(function(){i._motionWakeThreshold=.18,i._motionSleepThreshold=.08,i._minBias=.9,i.update=function(l,a){for(var d=a*a*a,u=0;u<l.length;u++){var h=l[u],f=h.speed*h.speed+h.angularSpeed*h.angularSpeed;if(h.force.x!==0||h.force.y!==0){i.set(h,!1);continue}var c=Math.min(h.motion,f),m=Math.max(h.motion,f);h.motion=i._minBias*c+(1-i._minBias)*m,h.sleepThreshold>0&&h.motion<i._motionSleepThreshold*d?(h.sleepCounter+=1,h.sleepCounter>=h.sleepThreshold&&i.set(h,!0)):h.sleepCounter>0&&(h.sleepCounter-=1)}},i.afterCollisions=function(l,a){for(var d=a*a*a,u=0;u<l.length;u++){var h=l[u];if(h.isActive){var f=h.collision,c=f.bodyA.parent,m=f.bodyB.parent;if(!(c.isSleeping&&m.isSleeping||c.isStatic||m.isStatic)&&(c.isSleeping||m.isSleeping)){var p=c.isSleeping&&!c.isStatic?c:m,_=p===c?m:c;!p.isStatic&&_.motion>i._motionWakeThreshold*d&&i.set(p,!1)}}}},i.set=function(l,a){var d=l.isSleeping;a?(l.isSleeping=!0,l.sleepCounter=l.sleepThreshold,l.positionImpulse.x=0,l.positionImpulse.y=0,l.positionPrev.x=l.position.x,l.positionPrev.y=l.position.y,l.anglePrev=l.angle,l.speed=0,l.angularSpeed=0,l.motion=0,d||o.trigger(l,"sleepStart")):(l.isSleeping=!1,l.sleepCounter=0,d&&o.trigger(l,"sleepEnd"))}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(9);(function(){var a=[],d={overlap:0,axis:null},u={overlap:0,axis:null};i.create=function(h,f){return{pair:null,collided:!1,bodyA:h,bodyB:f,parentA:h.parent,parentB:f.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},i.collides=function(h,f,c){if(i._overlapAxes(d,h.vertices,f.vertices,h.axes),d.overlap<=0||(i._overlapAxes(u,f.vertices,h.vertices,f.axes),u.overlap<=0))return null;var m=c&&c.table[l.id(h,f)],p;m?p=m.collision:(p=i.create(h,f),p.collided=!0,p.bodyA=h.id<f.id?h:f,p.bodyB=h.id<f.id?f:h,p.parentA=p.bodyA.parent,p.parentB=p.bodyB.parent),h=p.bodyA,f=p.bodyB;var _;d.overlap<u.overlap?_=d:_=u;var v=p.normal,k=p.supports,S=_.axis,g=S.x,y=S.y;g*(f.position.x-h.position.x)+y*(f.position.y-h.position.y)<0?(v.x=g,v.y=y):(v.x=-g,v.y=-y),p.tangent.x=-v.y,p.tangent.y=v.x,p.depth=_.overlap,p.penetration.x=v.x*p.depth,p.penetration.y=v.y*p.depth;var b=i._findSupports(h,f,v,1),w=0;if(o.contains(h.vertices,b[0])&&(k[w++]=b[0]),o.contains(h.vertices,b[1])&&(k[w++]=b[1]),w<2){var P=i._findSupports(f,h,v,-1);o.contains(f.vertices,P[0])&&(k[w++]=P[0]),w<2&&o.contains(f.vertices,P[1])&&(k[w++]=P[1])}return w===0&&(k[w++]=b[0]),k.length=w,p},i._overlapAxes=function(h,f,c,m){var p=f.length,_=c.length,v=f[0].x,k=f[0].y,S=c[0].x,g=c[0].y,y=m.length,b=Number.MAX_VALUE,w=0,P,T,O,L,N,F;for(N=0;N<y;N++){var z=m[N],J=z.x,U=z.y,q=v*J+k*U,ne=S*J+g*U,re=q,pe=ne;for(F=1;F<p;F+=1)L=f[F].x*J+f[F].y*U,L>re?re=L:L<q&&(q=L);for(F=1;F<_;F+=1)L=c[F].x*J+c[F].y*U,L>pe?pe=L:L<ne&&(ne=L);if(T=re-ne,O=pe-q,P=T<O?T:O,P<b&&(b=P,w=N,P<=0))break}h.axis=m[w],h.overlap=b},i._projectToAxis=function(h,f,c){for(var m=f[0].x*c.x+f[0].y*c.y,p=m,_=1;_<f.length;_+=1){var v=f[_].x*c.x+f[_].y*c.y;v>p?p=v:v<m&&(m=v)}h.min=m,h.max=p},i._findSupports=function(h,f,c,m){var p=f.vertices,_=p.length,v=h.position.x,k=h.position.y,S=c.x*m,g=c.y*m,y=Number.MAX_VALUE,b,w,P,T,O;for(O=0;O<_;O+=1)w=p[O],T=S*(v-w.x)+g*(k-w.y),T<y&&(y=T,b=w);return P=p[(_+b.index-1)%_],y=S*(v-P.x)+g*(k-P.y),w=p[(b.index+1)%_],S*(v-w.x)+g*(k-w.y)<y?(a[0]=b,a[1]=w,a):(a[0]=b,a[1]=P,a)}})()},function(n,s,r){var i={};n.exports=i;var o=r(17);(function(){i.create=function(l,a){var d=l.bodyA,u=l.bodyB,h={id:i.id(d,u),bodyA:d,bodyB:u,collision:l,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:d.isSensor||u.isSensor,timeCreated:a,timeUpdated:a,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return i.update(h,l,a),h},i.update=function(l,a,d){var u=l.contacts,h=a.supports,f=l.activeContacts,c=a.parentA,m=a.parentB,p=c.vertices.length;l.isActive=!0,l.timeUpdated=d,l.collision=a,l.separation=a.depth,l.inverseMass=c.inverseMass+m.inverseMass,l.friction=c.friction<m.friction?c.friction:m.friction,l.frictionStatic=c.frictionStatic>m.frictionStatic?c.frictionStatic:m.frictionStatic,l.restitution=c.restitution>m.restitution?c.restitution:m.restitution,l.slop=c.slop>m.slop?c.slop:m.slop,a.pair=l,f.length=0;for(var _=0;_<h.length;_++){var v=h[_],k=v.body===c?v.index:p+v.index,S=u[k];S?f.push(S):f.push(u[k]=o.create(v))}},i.setActive=function(l,a,d){a?(l.isActive=!0,l.timeUpdated=d):(l.isActive=!1,l.activeContacts.length=0)},i.id=function(l,a){return l.id<a.id?"A"+l.id+"B"+a.id:"A"+a.id+"B"+l.id}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(2),a=r(7),d=r(1),u=r(11),h=r(0);(function(){i._warming=.4,i._torqueDampen=1,i._minLength=1e-6,i.create=function(f){var c=f;c.bodyA&&!c.pointA&&(c.pointA={x:0,y:0}),c.bodyB&&!c.pointB&&(c.pointB={x:0,y:0});var m=c.bodyA?l.add(c.bodyA.position,c.pointA):c.pointA,p=c.bodyB?l.add(c.bodyB.position,c.pointB):c.pointB,_=l.magnitude(l.sub(m,p));c.length=typeof c.length<"u"?c.length:_,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var v={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(v.type="pin",v.anchors=!1):c.stiffness<.9&&(v.type="spring"),c.render=h.extend(v,c.render),c},i.preSolveAll=function(f){for(var c=0;c<f.length;c+=1){var m=f[c],p=m.constraintImpulse;m.isStatic||p.x===0&&p.y===0&&p.angle===0||(m.position.x+=p.x,m.position.y+=p.y,m.angle+=p.angle)}},i.solveAll=function(f,c){for(var m=0;m<f.length;m+=1){var p=f[m],_=!p.bodyA||p.bodyA&&p.bodyA.isStatic,v=!p.bodyB||p.bodyB&&p.bodyB.isStatic;(_||v)&&i.solve(f[m],c)}for(m=0;m<f.length;m+=1)p=f[m],_=!p.bodyA||p.bodyA&&p.bodyA.isStatic,v=!p.bodyB||p.bodyB&&p.bodyB.isStatic,!_&&!v&&i.solve(f[m],c)},i.solve=function(f,c){var m=f.bodyA,p=f.bodyB,_=f.pointA,v=f.pointB;if(!(!m&&!p)){m&&!m.isStatic&&(l.rotate(_,m.angle-f.angleA,_),f.angleA=m.angle),p&&!p.isStatic&&(l.rotate(v,p.angle-f.angleB,v),f.angleB=p.angle);var k=_,S=v;if(m&&(k=l.add(m.position,_)),p&&(S=l.add(p.position,v)),!(!k||!S)){var g=l.sub(k,S),y=l.magnitude(g);y<i._minLength&&(y=i._minLength);var b=(y-f.length)/y,w=f.stiffness<1?f.stiffness*c:f.stiffness,P=l.mult(g,b*w),T=(m?m.inverseMass:0)+(p?p.inverseMass:0),O=(m?m.inverseInertia:0)+(p?p.inverseInertia:0),L=T+O,N,F,z,J,U;if(f.damping){var q=l.create();z=l.div(g,y),U=l.sub(p&&l.sub(p.position,p.positionPrev)||q,m&&l.sub(m.position,m.positionPrev)||q),J=l.dot(z,U)}m&&!m.isStatic&&(F=m.inverseMass/T,m.constraintImpulse.x-=P.x*F,m.constraintImpulse.y-=P.y*F,m.position.x-=P.x*F,m.position.y-=P.y*F,f.damping&&(m.positionPrev.x-=f.damping*z.x*J*F,m.positionPrev.y-=f.damping*z.y*J*F),N=l.cross(_,P)/L*i._torqueDampen*m.inverseInertia*(1-f.angularStiffness),m.constraintImpulse.angle-=N,m.angle-=N),p&&!p.isStatic&&(F=p.inverseMass/T,p.constraintImpulse.x+=P.x*F,p.constraintImpulse.y+=P.y*F,p.position.x+=P.x*F,p.position.y+=P.y*F,f.damping&&(p.positionPrev.x+=f.damping*z.x*J*F,p.positionPrev.y+=f.damping*z.y*J*F),N=l.cross(v,P)/L*i._torqueDampen*p.inverseInertia*(1-f.angularStiffness),p.constraintImpulse.angle+=N,p.angle+=N)}}},i.postSolveAll=function(f){for(var c=0;c<f.length;c++){var m=f[c],p=m.constraintImpulse;if(!(m.isStatic||p.x===0&&p.y===0&&p.angle===0)){a.set(m,!1);for(var _=0;_<m.parts.length;_++){var v=m.parts[_];o.translate(v.vertices,p),_>0&&(v.position.x+=p.x,v.position.y+=p.y),p.angle!==0&&(o.rotate(v.vertices,p.angle,m.position),u.rotate(v.axes,p.angle),_>0&&l.rotateAbout(v.position,p.angle,m.position,v.position)),d.update(v.bounds,v.vertices,m.velocity)}p.angle*=i._warming,p.x*=i._warming,p.y*=i._warming}}},i.pointAWorld=function(f){return{x:(f.bodyA?f.bodyA.position.x:0)+f.pointA.x,y:(f.bodyA?f.bodyA.position.y:0)+f.pointA.y}},i.pointBWorld=function(f){return{x:(f.bodyB?f.bodyB.position.x:0)+f.pointB.x,y:(f.bodyB?f.bodyB.position.y:0)+f.pointB.y}}})()},function(n,s,r){var i={};n.exports=i;var o=r(2),l=r(0);(function(){i.fromVertices=function(a){for(var d={},u=0;u<a.length;u++){var h=(u+1)%a.length,f=o.normalise({x:a[h].y-a[u].y,y:a[u].x-a[h].x}),c=f.y===0?1/0:f.x/f.y;c=c.toFixed(3).toString(),d[c]=f}return l.values(d)},i.rotate=function(a,d){if(d!==0)for(var u=Math.cos(d),h=Math.sin(d),f=0;f<a.length;f++){var c=a[f],m;m=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=m}}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(0),a=r(6),d=r(1),u=r(2);(function(){i.rectangle=function(h,f,c,m,p){p=p||{};var _={label:"Rectangle Body",position:{x:h,y:f},vertices:o.fromPath("L 0 0 L "+c+" 0 L "+c+" "+m+" L 0 "+m)};if(p.chamfer){var v=p.chamfer;_.vertices=o.chamfer(_.vertices,v.radius,v.quality,v.qualityMin,v.qualityMax),delete p.chamfer}return a.create(l.extend({},_,p))},i.trapezoid=function(h,f,c,m,p,_){_=_||{},p*=.5;var v=(1-p*2)*c,k=c*p,S=k+v,g=S+k,y;p<.5?y="L 0 0 L "+k+" "+-m+" L "+S+" "+-m+" L "+g+" 0":y="L 0 0 L "+S+" "+-m+" L "+g+" 0";var b={label:"Trapezoid Body",position:{x:h,y:f},vertices:o.fromPath(y)};if(_.chamfer){var w=_.chamfer;b.vertices=o.chamfer(b.vertices,w.radius,w.quality,w.qualityMin,w.qualityMax),delete _.chamfer}return a.create(l.extend({},b,_))},i.circle=function(h,f,c,m,p){m=m||{};var _={label:"Circle Body",circleRadius:c};p=p||25;var v=Math.ceil(Math.max(10,Math.min(p,c)));return v%2===1&&(v+=1),i.polygon(h,f,v,c,l.extend({},_,m))},i.polygon=function(h,f,c,m,p){if(p=p||{},c<3)return i.circle(h,f,m,p);for(var _=2*Math.PI/c,v="",k=_*.5,S=0;S<c;S+=1){var g=k+S*_,y=Math.cos(g)*m,b=Math.sin(g)*m;v+="L "+y.toFixed(3)+" "+b.toFixed(3)+" "}var w={label:"Polygon Body",position:{x:h,y:f},vertices:o.fromPath(v)};if(p.chamfer){var P=p.chamfer;w.vertices=o.chamfer(w.vertices,P.radius,P.quality,P.qualityMin,P.qualityMax),delete p.chamfer}return a.create(l.extend({},w,p))},i.fromVertices=function(h,f,c,m,p,_,v,k){var S=l.getDecomp(),g,y,b,w,P,T,O,L,N,F,z;for(g=Boolean(S&&S.quickDecomp),m=m||{},b=[],p=typeof p<"u"?p:!1,_=typeof _<"u"?_:.01,v=typeof v<"u"?v:10,k=typeof k<"u"?k:.01,l.isArray(c[0])||(c=[c]),F=0;F<c.length;F+=1)if(T=c[F],w=o.isConvex(T),P=!w,P&&!g&&l.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),w||!g)w?T=o.clockwiseSort(T):T=o.hull(T),b.push({position:{x:h,y:f},vertices:T});else{var J=T.map(function(Y){return[Y.x,Y.y]});S.makeCCW(J),_!==!1&&S.removeCollinearPoints(J,_),k!==!1&&S.removeDuplicatePoints&&S.removeDuplicatePoints(J,k);var U=S.quickDecomp(J);for(O=0;O<U.length;O++){var q=U[O],ne=q.map(function(Y){return{x:Y[0],y:Y[1]}});v>0&&o.area(ne)<v||b.push({position:o.centre(ne),vertices:ne})}}for(O=0;O<b.length;O++)b[O]=a.create(l.extend(b[O],m));if(p){var re=5;for(O=0;O<b.length;O++){var pe=b[O];for(L=O+1;L<b.length;L++){var fe=b[L];if(d.overlaps(pe.bounds,fe.bounds)){var ce=pe.vertices,ve=fe.vertices;for(N=0;N<pe.vertices.length;N++)for(z=0;z<fe.vertices.length;z++){var Ce=u.magnitudeSquared(u.sub(ce[(N+1)%ce.length],ve[z])),B=u.magnitudeSquared(u.sub(ce[N],ve[(z+1)%ve.length]));Ce<re&&B<re&&(ce[N].isInternal=!0,ve[z].isInternal=!0)}}}}}return b.length>1?(y=a.create(l.extend({parts:b.slice(0)},m)),a.setPosition(y,{x:h,y:f}),y):b[0]}})()},function(n,s,r){var i={};n.exports=i;var o=r(0);(function(){i.create=function(l){var a={};return l||o.log("Mouse.create: element was undefined, defaulting to document.body","warn"),a.element=l||document.body,a.absolute={x:0,y:0},a.position={x:0,y:0},a.mousedownPosition={x:0,y:0},a.mouseupPosition={x:0,y:0},a.offset={x:0,y:0},a.scale={x:1,y:1},a.wheelDelta=0,a.button=-1,a.pixelRatio=parseInt(a.element.getAttribute("data-pixel-ratio"),10)||1,a.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},a.mousemove=function(d){var u=i._getRelativeMousePosition(d,a.element,a.pixelRatio),h=d.changedTouches;h&&(a.button=0,d.preventDefault()),a.absolute.x=u.x,a.absolute.y=u.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y,a.sourceEvents.mousemove=d},a.mousedown=function(d){var u=i._getRelativeMousePosition(d,a.element,a.pixelRatio),h=d.changedTouches;h?(a.button=0,d.preventDefault()):a.button=d.button,a.absolute.x=u.x,a.absolute.y=u.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y,a.mousedownPosition.x=a.position.x,a.mousedownPosition.y=a.position.y,a.sourceEvents.mousedown=d},a.mouseup=function(d){var u=i._getRelativeMousePosition(d,a.element,a.pixelRatio),h=d.changedTouches;h&&d.preventDefault(),a.button=-1,a.absolute.x=u.x,a.absolute.y=u.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y,a.mouseupPosition.x=a.position.x,a.mouseupPosition.y=a.position.y,a.sourceEvents.mouseup=d},a.mousewheel=function(d){a.wheelDelta=Math.max(-1,Math.min(1,d.wheelDelta||-d.detail)),d.preventDefault()},i.setElement(a,a.element),a},i.setElement=function(l,a){l.element=a,a.addEventListener("mousemove",l.mousemove),a.addEventListener("mousedown",l.mousedown),a.addEventListener("mouseup",l.mouseup),a.addEventListener("mousewheel",l.mousewheel),a.addEventListener("DOMMouseScroll",l.mousewheel),a.addEventListener("touchmove",l.mousemove),a.addEventListener("touchstart",l.mousedown),a.addEventListener("touchend",l.mouseup)},i.clearSourceEvents=function(l){l.sourceEvents.mousemove=null,l.sourceEvents.mousedown=null,l.sourceEvents.mouseup=null,l.sourceEvents.mousewheel=null,l.wheelDelta=0},i.setOffset=function(l,a){l.offset.x=a.x,l.offset.y=a.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y},i.setScale=function(l,a){l.scale.x=a.x,l.scale.y=a.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y},i._getRelativeMousePosition=function(l,a,d){var u=a.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,f=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,m=l.changedTouches,p,_;return m?(p=m[0].pageX-u.left-f,_=m[0].pageY-u.top-c):(p=l.pageX-u.left-f,_=l.pageY-u.top-c),{x:p/(a.clientWidth/(a.width||a.clientWidth)*d),y:_/(a.clientHeight/(a.height||a.clientHeight)*d)}}})()},function(n,s,r){var i={};n.exports=i;var o=r(0),l=r(8);(function(){i.create=function(a){var d={bodies:[],pairs:null};return o.extend(d,a)},i.setBodies=function(a,d){a.bodies=d.slice(0)},i.clear=function(a){a.bodies=[]},i.collisions=function(a){var d=[],u=a.pairs,h=a.bodies,f=h.length,c=i.canCollide,m=l.collides,p,_;for(h.sort(i._compareBoundsX),p=0;p<f;p++){var v=h[p],k=v.bounds,S=v.bounds.max.x,g=v.bounds.max.y,y=v.bounds.min.y,b=v.isStatic||v.isSleeping,w=v.parts.length,P=w===1;for(_=p+1;_<f;_++){var T=h[_],O=T.bounds;if(O.min.x>S)break;if(!(g<O.min.y||y>O.max.y)&&!(b&&(T.isStatic||T.isSleeping))&&c(v.collisionFilter,T.collisionFilter)){var L=T.parts.length;if(P&&L===1){var N=m(v,T,u);N&&d.push(N)}else for(var F=w>1?1:0,z=L>1?1:0,J=F;J<w;J++)for(var U=v.parts[J],k=U.bounds,q=z;q<L;q++){var ne=T.parts[q],O=ne.bounds;if(!(k.min.x>O.max.x||k.max.x<O.min.x||k.max.y<O.min.y||k.min.y>O.max.y)){var N=m(U,ne,u);N&&d.push(N)}}}}}return d},i.canCollide=function(a,d){return a.group===d.group&&a.group!==0?a.group>0:(a.mask&d.category)!==0&&(d.mask&a.category)!==0},i._compareBoundsX=function(a,d){return a.bounds.min.x-d.bounds.min.x}})()},function(n,s,r){var i={};n.exports=i;var o=r(0);(function(){i._registry={},i.register=function(l){if(i.isPlugin(l)||o.warn("Plugin.register:",i.toString(l),"does not implement all required fields."),l.name in i._registry){var a=i._registry[l.name],d=i.versionParse(l.version).number,u=i.versionParse(a.version).number;d>u?(o.warn("Plugin.register:",i.toString(a),"was upgraded to",i.toString(l)),i._registry[l.name]=l):d<u?o.warn("Plugin.register:",i.toString(a),"can not be downgraded to",i.toString(l)):l!==a&&o.warn("Plugin.register:",i.toString(l),"is already registered to different plugin object")}else i._registry[l.name]=l;return l},i.resolve=function(l){return i._registry[i.dependencyParse(l).name]},i.toString=function(l){return typeof l=="string"?l:(l.name||"anonymous")+"@"+(l.version||l.range||"0.0.0")},i.isPlugin=function(l){return l&&l.name&&l.version&&l.install},i.isUsed=function(l,a){return l.used.indexOf(a)>-1},i.isFor=function(l,a){var d=l.for&&i.dependencyParse(l.for);return!l.for||a.name===d.name&&i.versionSatisfies(a.version,d.range)},i.use=function(l,a){if(l.uses=(l.uses||[]).concat(a||[]),l.uses.length===0){o.warn("Plugin.use:",i.toString(l),"does not specify any dependencies to install.");return}for(var d=i.dependencies(l),u=o.topologicalSort(d),h=[],f=0;f<u.length;f+=1)if(u[f]!==l.name){var c=i.resolve(u[f]);if(!c){h.push("❌ "+u[f]);continue}i.isUsed(l,c.name)||(i.isFor(c,l)||(o.warn("Plugin.use:",i.toString(c),"is for",c.for,"but installed on",i.toString(l)+"."),c._warned=!0),c.install?c.install(l):(o.warn("Plugin.use:",i.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+i.toString(c)),delete c._warned):h.push("✅ "+i.toString(c)),l.used.push(c.name))}h.length>0&&o.info(h.join(" "))},i.dependencies=function(l,a){var d=i.dependencyParse(l),u=d.name;if(a=a||{},!(u in a)){l=i.resolve(l)||l,a[u]=o.map(l.uses||[],function(f){i.isPlugin(f)&&i.register(f);var c=i.dependencyParse(f),m=i.resolve(f);return m&&!i.versionSatisfies(m.version,c.range)?(o.warn("Plugin.dependencies:",i.toString(m),"does not satisfy",i.toString(c),"used by",i.toString(d)+"."),m._warned=!0,l._warned=!0):m||(o.warn("Plugin.dependencies:",i.toString(f),"used by",i.toString(d),"could not be resolved."),l._warned=!0),c.name});for(var h=0;h<a[u].length;h+=1)i.dependencies(a[u][h],a);return a}},i.dependencyParse=function(l){if(o.isString(l)){var a=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return a.test(l)||o.warn("Plugin.dependencyParse:",l,"is not a valid dependency string."),{name:l.split("@")[0],range:l.split("@")[1]||"*"}}return{name:l.name,range:l.range||l.version}},i.versionParse=function(l){var a=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;a.test(l)||o.warn("Plugin.versionParse:",l,"is not a valid version or range.");var d=a.exec(l),u=Number(d[4]),h=Number(d[5]),f=Number(d[6]);return{isRange:Boolean(d[1]||d[2]),version:d[3],range:l,operator:d[1]||d[2]||"",major:u,minor:h,patch:f,parts:[u,h,f],prerelease:d[7],number:u*1e8+h*1e4+f}},i.versionSatisfies=function(l,a){a=a||"*";var d=i.versionParse(a),u=i.versionParse(l);if(d.isRange){if(d.operator==="*"||l==="*")return!0;if(d.operator===">")return u.number>d.number;if(d.operator===">=")return u.number>=d.number;if(d.operator==="~")return u.major===d.major&&u.minor===d.minor&&u.patch>=d.patch;if(d.operator==="^")return d.major>0?u.major===d.major&&u.number>=d.number:d.minor>0?u.minor===d.minor&&u.patch>=d.patch:u.patch===d.patch}return l===a||l==="*"}})()},function(n,s,r){var i={};n.exports=i;var o=r(0),l=r(5),a=r(1),d=r(4),u=r(2),h=r(13);(function(){var f,c;typeof window<"u"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(g){window.setTimeout(function(){g(o.now())},1e3/60)},c=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),i._goodFps=30,i._goodDelta=1e3/60,i.create=function(g){var y={controller:i,engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!g.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},b=o.extend(y,g);return b.canvas&&(b.canvas.width=b.options.width||b.canvas.width,b.canvas.height=b.options.height||b.canvas.height),b.mouse=g.mouse,b.engine=g.engine,b.canvas=b.canvas||_(b.options.width,b.options.height),b.context=b.canvas.getContext("2d"),b.textures={},b.bounds=b.bounds||{min:{x:0,y:0},max:{x:b.canvas.width,y:b.canvas.height}},b.options.showBroadphase=!1,b.options.pixelRatio!==1&&i.setPixelRatio(b,b.options.pixelRatio),o.isElement(b.element)?b.element.appendChild(b.canvas):b.canvas.parentNode||o.log("Render.create: options.element was undefined, render.canvas was created but not appended","warn"),b},i.run=function(g){(function y(b){g.frameRequestId=f(y),m(g,b),i.world(g,b),(g.options.showStats||g.options.showDebug)&&i.stats(g,g.context,b),(g.options.showPerformance||g.options.showDebug)&&i.performance(g,g.context,b)})()},i.stop=function(g){c(g.frameRequestId)},i.setPixelRatio=function(g,y){var b=g.options,w=g.canvas;y==="auto"&&(y=v(w)),b.pixelRatio=y,w.setAttribute("data-pixel-ratio",y),w.width=b.width*y,w.height=b.height*y,w.style.width=b.width+"px",w.style.height=b.height+"px"},i.lookAt=function(g,y,b,w){w=typeof w<"u"?w:!0,y=o.isArray(y)?y:[y],b=b||{x:0,y:0};for(var P={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},T=0;T<y.length;T+=1){var O=y[T],L=O.bounds?O.bounds.min:O.min||O.position||O,N=O.bounds?O.bounds.max:O.max||O.position||O;L&&N&&(L.x<P.min.x&&(P.min.x=L.x),N.x>P.max.x&&(P.max.x=N.x),L.y<P.min.y&&(P.min.y=L.y),N.y>P.max.y&&(P.max.y=N.y))}var F=P.max.x-P.min.x+2*b.x,z=P.max.y-P.min.y+2*b.y,J=g.canvas.height,U=g.canvas.width,q=U/J,ne=F/z,re=1,pe=1;ne>q?pe=ne/q:re=q/ne,g.options.hasBounds=!0,g.bounds.min.x=P.min.x,g.bounds.max.x=P.min.x+F*re,g.bounds.min.y=P.min.y,g.bounds.max.y=P.min.y+z*pe,w&&(g.bounds.min.x+=F*.5-F*re*.5,g.bounds.max.x+=F*.5-F*re*.5,g.bounds.min.y+=z*.5-z*pe*.5,g.bounds.max.y+=z*.5-z*pe*.5),g.bounds.min.x-=b.x,g.bounds.max.x-=b.x,g.bounds.min.y-=b.y,g.bounds.max.y-=b.y,g.mouse&&(h.setScale(g.mouse,{x:(g.bounds.max.x-g.bounds.min.x)/g.canvas.width,y:(g.bounds.max.y-g.bounds.min.y)/g.canvas.height}),h.setOffset(g.mouse,g.bounds.min))},i.startViewTransform=function(g){var y=g.bounds.max.x-g.bounds.min.x,b=g.bounds.max.y-g.bounds.min.y,w=y/g.options.width,P=b/g.options.height;g.context.setTransform(g.options.pixelRatio/w,0,0,g.options.pixelRatio/P,0,0),g.context.translate(-g.bounds.min.x,-g.bounds.min.y)},i.endViewTransform=function(g){g.context.setTransform(g.options.pixelRatio,0,0,g.options.pixelRatio,0,0)},i.world=function(g,y){var b=o.now(),w=g.engine,P=w.world,T=g.canvas,O=g.context,L=g.options,N=g.timing,F=l.allBodies(P),z=l.allConstraints(P),J=L.wireframes?L.wireframeBackground:L.background,U=[],q=[],ne,re={timestamp:w.timing.timestamp};if(d.trigger(g,"beforeRender",re),g.currentBackground!==J&&S(g,J),O.globalCompositeOperation="source-in",O.fillStyle="transparent",O.fillRect(0,0,T.width,T.height),O.globalCompositeOperation="source-over",L.hasBounds){for(ne=0;ne<F.length;ne++){var pe=F[ne];a.overlaps(pe.bounds,g.bounds)&&U.push(pe)}for(ne=0;ne<z.length;ne++){var fe=z[ne],ce=fe.bodyA,ve=fe.bodyB,Ce=fe.pointA,B=fe.pointB;ce&&(Ce=u.add(ce.position,fe.pointA)),ve&&(B=u.add(ve.position,fe.pointB)),!(!Ce||!B)&&(a.contains(g.bounds,Ce)||a.contains(g.bounds,B))&&q.push(fe)}i.startViewTransform(g),g.mouse&&(h.setScale(g.mouse,{x:(g.bounds.max.x-g.bounds.min.x)/g.options.width,y:(g.bounds.max.y-g.bounds.min.y)/g.options.height}),h.setOffset(g.mouse,g.bounds.min))}else q=z,U=F,g.options.pixelRatio!==1&&g.context.setTransform(g.options.pixelRatio,0,0,g.options.pixelRatio,0,0);!L.wireframes||w.enableSleeping&&L.showSleeping?i.bodies(g,U,O):(L.showConvexHulls&&i.bodyConvexHulls(g,U,O),i.bodyWireframes(g,U,O)),L.showBounds&&i.bodyBounds(g,U,O),(L.showAxes||L.showAngleIndicator)&&i.bodyAxes(g,U,O),L.showPositions&&i.bodyPositions(g,U,O),L.showVelocity&&i.bodyVelocity(g,U,O),L.showIds&&i.bodyIds(g,U,O),L.showSeparations&&i.separations(g,w.pairs.list,O),L.showCollisions&&i.collisions(g,w.pairs.list,O),L.showVertexNumbers&&i.vertexNumbers(g,U,O),L.showMousePosition&&i.mousePosition(g,g.mouse,O),i.constraints(q,O),L.hasBounds&&i.endViewTransform(g),d.trigger(g,"afterRender",re),N.lastElapsed=o.now()-b},i.stats=function(g,y,b){for(var w=g.engine,P=w.world,T=l.allBodies(P),O=0,L=55,N=44,F=0,z=0,J=0;J<T.length;J+=1)O+=T[J].parts.length;var U={Part:O,Body:T.length,Cons:l.allConstraints(P).length,Comp:l.allComposites(P).length,Pair:w.pairs.list.length};y.fillStyle="#0e0f19",y.fillRect(F,z,L*5.5,N),y.font="12px Arial",y.textBaseline="top",y.textAlign="right";for(var q in U){var ne=U[q];y.fillStyle="#aaa",y.fillText(q,F+L,z+8),y.fillStyle="#eee",y.fillText(ne,F+L,z+26),F+=L}},i.performance=function(g,y){var b=g.engine,w=g.timing,P=w.deltaHistory,T=w.elapsedHistory,O=w.timestampElapsedHistory,L=w.engineDeltaHistory,N=w.engineElapsedHistory,F=b.timing.lastDelta,z=p(P),J=p(T),U=p(L),q=p(N),ne=p(O),re=ne/z||0,pe=1e3/z||0,fe=4,ce=12,ve=60,Ce=34,B=10,Y=69;y.fillStyle="#0e0f19",y.fillRect(0,50,ce*4+ve*5+22,Ce),i.status(y,B,Y,ve,fe,P.length,Math.round(pe)+" fps",pe/i._goodFps,function(K){return P[K]/z-1}),i.status(y,B+ce+ve,Y,ve,fe,L.length,F.toFixed(2)+" dt",i._goodDelta/F,function(K){return L[K]/U-1}),i.status(y,B+(ce+ve)*2,Y,ve,fe,N.length,q.toFixed(2)+" ut",1-q/i._goodFps,function(K){return N[K]/q-1}),i.status(y,B+(ce+ve)*3,Y,ve,fe,T.length,J.toFixed(2)+" rt",1-J/i._goodFps,function(K){return T[K]/J-1}),i.status(y,B+(ce+ve)*4,Y,ve,fe,O.length,re.toFixed(2)+" x",re*re*re,function(K){return(O[K]/P[K]/re||0)-1})},i.status=function(g,y,b,w,P,T,O,L,N){g.strokeStyle="#888",g.fillStyle="#444",g.lineWidth=1,g.fillRect(y,b+7,w,1),g.beginPath(),g.moveTo(y,b+7-P*o.clamp(.4*N(0),-2,2));for(var F=0;F<w;F+=1)g.lineTo(y+F,b+7-(F<T?P*o.clamp(.4*N(F),-2,2):0));g.stroke(),g.fillStyle="hsl("+o.clamp(25+95*L,0,120)+",100%,60%)",g.fillRect(y,b-7,4,4),g.font="12px Arial",g.textBaseline="middle",g.textAlign="right",g.fillStyle="#eee",g.fillText(O,y+w,b-5)},i.constraints=function(g,y){for(var b=y,w=0;w<g.length;w++){var P=g[w];if(!(!P.render.visible||!P.pointA||!P.pointB)){var T=P.bodyA,O=P.bodyB,L,N;if(T?L=u.add(T.position,P.pointA):L=P.pointA,P.render.type==="pin")b.beginPath(),b.arc(L.x,L.y,3,0,2*Math.PI),b.closePath();else{if(O?N=u.add(O.position,P.pointB):N=P.pointB,b.beginPath(),b.moveTo(L.x,L.y),P.render.type==="spring")for(var F=u.sub(N,L),z=u.perp(u.normalise(F)),J=Math.ceil(o.clamp(P.length/5,12,20)),U,q=1;q<J;q+=1)U=q%2===0?1:-1,b.lineTo(L.x+F.x*(q/J)+z.x*U*4,L.y+F.y*(q/J)+z.y*U*4);b.lineTo(N.x,N.y)}P.render.lineWidth&&(b.lineWidth=P.render.lineWidth,b.strokeStyle=P.render.strokeStyle,b.stroke()),P.render.anchors&&(b.fillStyle=P.render.strokeStyle,b.beginPath(),b.arc(L.x,L.y,3,0,2*Math.PI),b.arc(N.x,N.y,3,0,2*Math.PI),b.closePath(),b.fill())}}},i.bodies=function(g,y,b){var w=b;g.engine;var P=g.options,T=P.showInternalEdges||!P.wireframes,O,L,N,F;for(N=0;N<y.length;N++)if(O=y[N],!!O.render.visible){for(F=O.parts.length>1?1:0;F<O.parts.length;F++)if(L=O.parts[F],!!L.render.visible){if(P.showSleeping&&O.isSleeping?w.globalAlpha=.5*L.render.opacity:L.render.opacity!==1&&(w.globalAlpha=L.render.opacity),L.render.sprite&&L.render.sprite.texture&&!P.wireframes){var z=L.render.sprite,J=k(g,z.texture);w.translate(L.position.x,L.position.y),w.rotate(L.angle),w.drawImage(J,J.width*-z.xOffset*z.xScale,J.height*-z.yOffset*z.yScale,J.width*z.xScale,J.height*z.yScale),w.rotate(-L.angle),w.translate(-L.position.x,-L.position.y)}else{if(L.circleRadius)w.beginPath(),w.arc(L.position.x,L.position.y,L.circleRadius,0,2*Math.PI);else{w.beginPath(),w.moveTo(L.vertices[0].x,L.vertices[0].y);for(var U=1;U<L.vertices.length;U++)!L.vertices[U-1].isInternal||T?w.lineTo(L.vertices[U].x,L.vertices[U].y):w.moveTo(L.vertices[U].x,L.vertices[U].y),L.vertices[U].isInternal&&!T&&w.moveTo(L.vertices[(U+1)%L.vertices.length].x,L.vertices[(U+1)%L.vertices.length].y);w.lineTo(L.vertices[0].x,L.vertices[0].y),w.closePath()}P.wireframes?(w.lineWidth=1,w.strokeStyle="#bbb",w.stroke()):(w.fillStyle=L.render.fillStyle,L.render.lineWidth&&(w.lineWidth=L.render.lineWidth,w.strokeStyle=L.render.strokeStyle,w.stroke()),w.fill())}w.globalAlpha=1}}},i.bodyWireframes=function(g,y,b){var w=b,P=g.options.showInternalEdges,T,O,L,N,F;for(w.beginPath(),L=0;L<y.length;L++)if(T=y[L],!!T.render.visible)for(F=T.parts.length>1?1:0;F<T.parts.length;F++){for(O=T.parts[F],w.moveTo(O.vertices[0].x,O.vertices[0].y),N=1;N<O.vertices.length;N++)!O.vertices[N-1].isInternal||P?w.lineTo(O.vertices[N].x,O.vertices[N].y):w.moveTo(O.vertices[N].x,O.vertices[N].y),O.vertices[N].isInternal&&!P&&w.moveTo(O.vertices[(N+1)%O.vertices.length].x,O.vertices[(N+1)%O.vertices.length].y);w.lineTo(O.vertices[0].x,O.vertices[0].y)}w.lineWidth=1,w.strokeStyle="#bbb",w.stroke()},i.bodyConvexHulls=function(g,y,b){var w=b,P,T,O;for(w.beginPath(),T=0;T<y.length;T++)if(P=y[T],!(!P.render.visible||P.parts.length===1)){for(w.moveTo(P.vertices[0].x,P.vertices[0].y),O=1;O<P.vertices.length;O++)w.lineTo(P.vertices[O].x,P.vertices[O].y);w.lineTo(P.vertices[0].x,P.vertices[0].y)}w.lineWidth=1,w.strokeStyle="rgba(255,255,255,0.2)",w.stroke()},i.vertexNumbers=function(g,y,b){var w=b,P,T,O;for(P=0;P<y.length;P++){var L=y[P].parts;for(O=L.length>1?1:0;O<L.length;O++){var N=L[O];for(T=0;T<N.vertices.length;T++)w.fillStyle="rgba(255,255,255,0.2)",w.fillText(P+"_"+T,N.position.x+(N.vertices[T].x-N.position.x)*.8,N.position.y+(N.vertices[T].y-N.position.y)*.8)}}},i.mousePosition=function(g,y,b){var w=b;w.fillStyle="rgba(255,255,255,0.8)",w.fillText(y.position.x+" "+y.position.y,y.position.x+5,y.position.y-5)},i.bodyBounds=function(g,y,b){var w=b;g.engine;var P=g.options;w.beginPath();for(var T=0;T<y.length;T++){var O=y[T];if(O.render.visible)for(var L=y[T].parts,N=L.length>1?1:0;N<L.length;N++){var F=L[N];w.rect(F.bounds.min.x,F.bounds.min.y,F.bounds.max.x-F.bounds.min.x,F.bounds.max.y-F.bounds.min.y)}}P.wireframes?w.strokeStyle="rgba(255,255,255,0.08)":w.strokeStyle="rgba(0,0,0,0.1)",w.lineWidth=1,w.stroke()},i.bodyAxes=function(g,y,b){var w=b;g.engine;var P=g.options,T,O,L,N;for(w.beginPath(),O=0;O<y.length;O++){var F=y[O],z=F.parts;if(F.render.visible)if(P.showAxes)for(L=z.length>1?1:0;L<z.length;L++)for(T=z[L],N=0;N<T.axes.length;N++){var J=T.axes[N];w.moveTo(T.position.x,T.position.y),w.lineTo(T.position.x+J.x*20,T.position.y+J.y*20)}else for(L=z.length>1?1:0;L<z.length;L++)for(T=z[L],N=0;N<T.axes.length;N++)w.moveTo(T.position.x,T.position.y),w.lineTo((T.vertices[0].x+T.vertices[T.vertices.length-1].x)/2,(T.vertices[0].y+T.vertices[T.vertices.length-1].y)/2)}P.wireframes?(w.strokeStyle="indianred",w.lineWidth=1):(w.strokeStyle="rgba(255, 255, 255, 0.4)",w.globalCompositeOperation="overlay",w.lineWidth=2),w.stroke(),w.globalCompositeOperation="source-over"},i.bodyPositions=function(g,y,b){var w=b;g.engine;var P=g.options,T,O,L,N;for(w.beginPath(),L=0;L<y.length;L++)if(T=y[L],!!T.render.visible)for(N=0;N<T.parts.length;N++)O=T.parts[N],w.arc(O.position.x,O.position.y,3,0,2*Math.PI,!1),w.closePath();for(P.wireframes?w.fillStyle="indianred":w.fillStyle="rgba(0,0,0,0.5)",w.fill(),w.beginPath(),L=0;L<y.length;L++)T=y[L],T.render.visible&&(w.arc(T.positionPrev.x,T.positionPrev.y,2,0,2*Math.PI,!1),w.closePath());w.fillStyle="rgba(255,165,0,0.8)",w.fill()},i.bodyVelocity=function(g,y,b){var w=b;w.beginPath();for(var P=0;P<y.length;P++){var T=y[P];T.render.visible&&(w.moveTo(T.position.x,T.position.y),w.lineTo(T.position.x+(T.position.x-T.positionPrev.x)*2,T.position.y+(T.position.y-T.positionPrev.y)*2))}w.lineWidth=3,w.strokeStyle="cornflowerblue",w.stroke()},i.bodyIds=function(g,y,b){var w=b,P,T;for(P=0;P<y.length;P++)if(y[P].render.visible){var O=y[P].parts;for(T=O.length>1?1:0;T<O.length;T++){var L=O[T];w.font="12px Arial",w.fillStyle="rgba(255,255,255,0.5)",w.fillText(L.id,L.position.x+10,L.position.y-10)}}},i.collisions=function(g,y,b){var w=b,P=g.options,T,O,L,N;for(w.beginPath(),L=0;L<y.length;L++)if(T=y[L],!!T.isActive)for(O=T.collision,N=0;N<T.activeContacts.length;N++){var F=T.activeContacts[N],z=F.vertex;w.rect(z.x-1.5,z.y-1.5,3.5,3.5)}for(P.wireframes?w.fillStyle="rgba(255,255,255,0.7)":w.fillStyle="orange",w.fill(),w.beginPath(),L=0;L<y.length;L++)if(T=y[L],!!T.isActive&&(O=T.collision,T.activeContacts.length>0)){var J=T.activeContacts[0].vertex.x,U=T.activeContacts[0].vertex.y;T.activeContacts.length===2&&(J=(T.activeContacts[0].vertex.x+T.activeContacts[1].vertex.x)/2,U=(T.activeContacts[0].vertex.y+T.activeContacts[1].vertex.y)/2),O.bodyB===O.supports[0].body||O.bodyA.isStatic===!0?w.moveTo(J-O.normal.x*8,U-O.normal.y*8):w.moveTo(J+O.normal.x*8,U+O.normal.y*8),w.lineTo(J,U)}P.wireframes?w.strokeStyle="rgba(255,165,0,0.7)":w.strokeStyle="orange",w.lineWidth=1,w.stroke()},i.separations=function(g,y,b){var w=b,P=g.options,T,O,L,N,F;for(w.beginPath(),F=0;F<y.length;F++)if(T=y[F],!!T.isActive){O=T.collision,L=O.bodyA,N=O.bodyB;var z=1;!N.isStatic&&!L.isStatic&&(z=.5),N.isStatic&&(z=0),w.moveTo(N.position.x,N.position.y),w.lineTo(N.position.x-O.penetration.x*z,N.position.y-O.penetration.y*z),z=1,!N.isStatic&&!L.isStatic&&(z=.5),L.isStatic&&(z=0),w.moveTo(L.position.x,L.position.y),w.lineTo(L.position.x+O.penetration.x*z,L.position.y+O.penetration.y*z)}P.wireframes?w.strokeStyle="rgba(255,165,0,0.5)":w.strokeStyle="orange",w.stroke()},i.inspector=function(g,y){g.engine;var b=g.selected,w=g.render,P=w.options,T;if(P.hasBounds){var O=w.bounds.max.x-w.bounds.min.x,L=w.bounds.max.y-w.bounds.min.y,N=O/w.options.width,F=L/w.options.height;y.scale(1/N,1/F),y.translate(-w.bounds.min.x,-w.bounds.min.y)}for(var z=0;z<b.length;z++){var J=b[z].data;switch(y.translate(.5,.5),y.lineWidth=1,y.strokeStyle="rgba(255,165,0,0.9)",y.setLineDash([1,2]),J.type){case"body":T=J.bounds,y.beginPath(),y.rect(Math.floor(T.min.x-3),Math.floor(T.min.y-3),Math.floor(T.max.x-T.min.x+6),Math.floor(T.max.y-T.min.y+6)),y.closePath(),y.stroke();break;case"constraint":var U=J.pointA;J.bodyA&&(U=J.pointB),y.beginPath(),y.arc(U.x,U.y,10,0,2*Math.PI),y.closePath(),y.stroke();break}y.setLineDash([]),y.translate(-.5,-.5)}g.selectStart!==null&&(y.translate(.5,.5),y.lineWidth=1,y.strokeStyle="rgba(255,165,0,0.6)",y.fillStyle="rgba(255,165,0,0.1)",T=g.selectBounds,y.beginPath(),y.rect(Math.floor(T.min.x),Math.floor(T.min.y),Math.floor(T.max.x-T.min.x),Math.floor(T.max.y-T.min.y)),y.closePath(),y.stroke(),y.fill(),y.translate(-.5,-.5)),P.hasBounds&&y.setTransform(1,0,0,1,0,0)};var m=function(g,y){var b=g.engine,w=g.timing,P=w.historySize,T=b.timing.timestamp;w.delta=y-w.lastTime||i._goodDelta,w.lastTime=y,w.timestampElapsed=T-w.lastTimestamp||0,w.lastTimestamp=T,w.deltaHistory.unshift(w.delta),w.deltaHistory.length=Math.min(w.deltaHistory.length,P),w.engineDeltaHistory.unshift(b.timing.lastDelta),w.engineDeltaHistory.length=Math.min(w.engineDeltaHistory.length,P),w.timestampElapsedHistory.unshift(w.timestampElapsed),w.timestampElapsedHistory.length=Math.min(w.timestampElapsedHistory.length,P),w.engineElapsedHistory.unshift(b.timing.lastElapsed),w.engineElapsedHistory.length=Math.min(w.engineElapsedHistory.length,P),w.elapsedHistory.unshift(w.lastElapsed),w.elapsedHistory.length=Math.min(w.elapsedHistory.length,P)},p=function(g){for(var y=0,b=0;b<g.length;b+=1)y+=g[b];return y/g.length||0},_=function(g,y){var b=document.createElement("canvas");return b.width=g,b.height=y,b.oncontextmenu=function(){return!1},b.onselectstart=function(){return!1},b},v=function(g){var y=g.getContext("2d"),b=window.devicePixelRatio||1,w=y.webkitBackingStorePixelRatio||y.mozBackingStorePixelRatio||y.msBackingStorePixelRatio||y.oBackingStorePixelRatio||y.backingStorePixelRatio||1;return b/w},k=function(g,y){var b=g.textures[y];return b||(b=g.textures[y]=new Image,b.src=y,b)},S=function(g,y){var b=y;/(jpg|gif|png)$/.test(y)&&(b="url("+y+")"),g.canvas.style.background=b,g.canvas.style.backgroundSize="contain",g.currentBackground=y}})()},function(n,s){var r={};n.exports=r,function(){r.create=function(i){return{vertex:i,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,r){var i={};n.exports=i;var o=r(7),l=r(19),a=r(14),d=r(20),u=r(4),h=r(5),f=r(10),c=r(0),m=r(6);(function(){i.create=function(p){p=p||{};var _={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},v=c.extend(_,p);return v.world=p.world||h.create({label:"World"}),v.pairs=p.pairs||d.create(),v.detector=p.detector||a.create(),v.grid={buckets:[]},v.world.gravity=v.gravity,v.broadphase=v.grid,v.metrics={},v},i.update=function(p,_,v){var k=c.now();_=_||1e3/60,v=v||1;var S=p.world,g=p.detector,y=p.pairs,b=p.timing,w=b.timestamp,P;b.timestamp+=_*b.timeScale,b.lastDelta=_*b.timeScale;var T={timestamp:b.timestamp};u.trigger(p,"beforeUpdate",T);var O=h.allBodies(S),L=h.allConstraints(S);for(S.isModified&&a.setBodies(g,O),S.isModified&&h.setModified(S,!1,!1,!0),p.enableSleeping&&o.update(O,b.timeScale),i._bodiesApplyGravity(O,p.gravity),i._bodiesUpdate(O,_,b.timeScale,v,S.bounds),f.preSolveAll(O),P=0;P<p.constraintIterations;P++)f.solveAll(L,b.timeScale);f.postSolveAll(O),g.pairs=p.pairs;var N=a.collisions(g);for(d.update(y,N,w),p.enableSleeping&&o.afterCollisions(y.list,b.timeScale),y.collisionStart.length>0&&u.trigger(p,"collisionStart",{pairs:y.collisionStart}),l.preSolvePosition(y.list),P=0;P<p.positionIterations;P++)l.solvePosition(y.list,b.timeScale);for(l.postSolvePosition(O),f.preSolveAll(O),P=0;P<p.constraintIterations;P++)f.solveAll(L,b.timeScale);for(f.postSolveAll(O),l.preSolveVelocity(y.list),P=0;P<p.velocityIterations;P++)l.solveVelocity(y.list,b.timeScale);return y.collisionActive.length>0&&u.trigger(p,"collisionActive",{pairs:y.collisionActive}),y.collisionEnd.length>0&&u.trigger(p,"collisionEnd",{pairs:y.collisionEnd}),i._bodiesClearForces(O),u.trigger(p,"afterUpdate",T),p.timing.lastElapsed=c.now()-k,p},i.merge=function(p,_){if(c.extend(p,_),_.world){p.world=_.world,i.clear(p);for(var v=h.allBodies(p.world),k=0;k<v.length;k++){var S=v[k];o.set(S,!1),S.id=c.nextId()}}},i.clear=function(p){d.clear(p.pairs),a.clear(p.detector)},i._bodiesClearForces=function(p){for(var _=0;_<p.length;_++){var v=p[_];v.force.x=0,v.force.y=0,v.torque=0}},i._bodiesApplyGravity=function(p,_){var v=typeof _.scale<"u"?_.scale:.001;if(!(_.x===0&&_.y===0||v===0))for(var k=0;k<p.length;k++){var S=p[k];S.isStatic||S.isSleeping||(S.force.y+=S.mass*_.y*v,S.force.x+=S.mass*_.x*v)}},i._bodiesUpdate=function(p,_,v,k,S){for(var g=0;g<p.length;g++){var y=p[g];y.isStatic||y.isSleeping||m.update(y,_,v,k)}}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(1);(function(){i._restingThresh=4,i._restingThreshTangent=6,i._positionDampen=.9,i._positionWarming=.8,i._frictionNormalMultiplier=5,i.preSolvePosition=function(a){var d,u,h,f=a.length;for(d=0;d<f;d++)u=a[d],u.isActive&&(h=u.activeContacts.length,u.collision.parentA.totalContacts+=h,u.collision.parentB.totalContacts+=h)},i.solvePosition=function(a,d){var u,h,f,c,m,p,_,v,k=i._positionDampen,S=a.length;for(u=0;u<S;u++)h=a[u],!(!h.isActive||h.isSensor)&&(f=h.collision,c=f.parentA,m=f.parentB,p=f.normal,h.separation=p.x*(m.positionImpulse.x+f.penetration.x-c.positionImpulse.x)+p.y*(m.positionImpulse.y+f.penetration.y-c.positionImpulse.y));for(u=0;u<S;u++)h=a[u],!(!h.isActive||h.isSensor)&&(f=h.collision,c=f.parentA,m=f.parentB,p=f.normal,v=(h.separation-h.slop)*d,(c.isStatic||m.isStatic)&&(v*=2),c.isStatic||c.isSleeping||(_=k/c.totalContacts,c.positionImpulse.x+=p.x*v*_,c.positionImpulse.y+=p.y*v*_),m.isStatic||m.isSleeping||(_=k/m.totalContacts,m.positionImpulse.x-=p.x*v*_,m.positionImpulse.y-=p.y*v*_))},i.postSolvePosition=function(a){for(var d=i._positionWarming,u=a.length,h=o.translate,f=l.update,c=0;c<u;c++){var m=a[c],p=m.positionImpulse,_=p.x,v=p.y,k=m.velocity;if(m.totalContacts=0,_!==0||v!==0){for(var S=0;S<m.parts.length;S++){var g=m.parts[S];h(g.vertices,p),f(g.bounds,g.vertices,k),g.position.x+=_,g.position.y+=v}m.positionPrev.x+=_,m.positionPrev.y+=v,_*k.x+v*k.y<0?(p.x=0,p.y=0):(p.x*=d,p.y*=d)}}},i.preSolveVelocity=function(a){var d=a.length,u,h;for(u=0;u<d;u++){var f=a[u];if(!(!f.isActive||f.isSensor)){var c=f.activeContacts,m=c.length,p=f.collision,_=p.parentA,v=p.parentB,k=p.normal,S=p.tangent;for(h=0;h<m;h++){var g=c[h],y=g.vertex,b=g.normalImpulse,w=g.tangentImpulse;if(b!==0||w!==0){var P=k.x*b+S.x*w,T=k.y*b+S.y*w;_.isStatic||_.isSleeping||(_.positionPrev.x+=P*_.inverseMass,_.positionPrev.y+=T*_.inverseMass,_.anglePrev+=_.inverseInertia*((y.x-_.position.x)*T-(y.y-_.position.y)*P)),v.isStatic||v.isSleeping||(v.positionPrev.x-=P*v.inverseMass,v.positionPrev.y-=T*v.inverseMass,v.anglePrev-=v.inverseInertia*((y.x-v.position.x)*T-(y.y-v.position.y)*P))}}}}},i.solveVelocity=function(a,d){var u=d*d,h=i._restingThresh*u,f=i._frictionNormalMultiplier,c=i._restingThreshTangent*u,m=Number.MAX_VALUE,p=a.length,_,v,k,S;for(k=0;k<p;k++){var g=a[k];if(!(!g.isActive||g.isSensor)){var y=g.collision,b=y.parentA,w=y.parentB,P=b.velocity,T=w.velocity,O=y.normal.x,L=y.normal.y,N=y.tangent.x,F=y.tangent.y,z=g.activeContacts,J=z.length,U=1/J,q=b.inverseMass+w.inverseMass,ne=g.friction*g.frictionStatic*f*u;for(P.x=b.position.x-b.positionPrev.x,P.y=b.position.y-b.positionPrev.y,T.x=w.position.x-w.positionPrev.x,T.y=w.position.y-w.positionPrev.y,b.angularVelocity=b.angle-b.anglePrev,w.angularVelocity=w.angle-w.anglePrev,S=0;S<J;S++){var re=z[S],pe=re.vertex,fe=pe.x-b.position.x,ce=pe.y-b.position.y,ve=pe.x-w.position.x,Ce=pe.y-w.position.y,B=P.x-ce*b.angularVelocity,Y=P.y+fe*b.angularVelocity,K=T.x-Ce*w.angularVelocity,te=T.y+ve*w.angularVelocity,le=B-K,xe=Y-te,ae=O*le+L*xe,C=N*le+F*xe,x=g.separation+ae,E=Math.min(x,1);E=x<0?0:E;var A=E*ne;C>A||-C>A?(v=C>0?C:-C,_=g.friction*(C>0?1:-1)*u,_<-v?_=-v:_>v&&(_=v)):(_=C,v=m);var M=fe*L-ce*O,H=ve*L-Ce*O,j=U/(q+b.inverseInertia*M*M+w.inverseInertia*H*H),V=(1+g.restitution)*ae*j;if(_*=j,ae*ae>h&&ae<0)re.normalImpulse=0;else{var G=re.normalImpulse;re.normalImpulse+=V,re.normalImpulse=Math.min(re.normalImpulse,0),V=re.normalImpulse-G}if(C*C>c)re.tangentImpulse=0;else{var W=re.tangentImpulse;re.tangentImpulse+=_,re.tangentImpulse<-v&&(re.tangentImpulse=-v),re.tangentImpulse>v&&(re.tangentImpulse=v),_=re.tangentImpulse-W}var R=O*V+N*_,D=L*V+F*_;b.isStatic||b.isSleeping||(b.positionPrev.x+=R*b.inverseMass,b.positionPrev.y+=D*b.inverseMass,b.anglePrev+=(fe*D-ce*R)*b.inverseInertia),w.isStatic||w.isSleeping||(w.positionPrev.x-=R*w.inverseMass,w.positionPrev.y-=D*w.inverseMass,w.anglePrev-=(ve*D-Ce*R)*w.inverseInertia)}}}}})()},function(n,s,r){var i={};n.exports=i;var o=r(9),l=r(0);(function(){i.create=function(a){return l.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},a)},i.update=function(a,d,u){var h=a.list,f=h.length,c=a.table,m=d.length,p=a.collisionStart,_=a.collisionEnd,v=a.collisionActive,k,S,g,y;for(p.length=0,_.length=0,v.length=0,y=0;y<f;y++)h[y].confirmedActive=!1;for(y=0;y<m;y++)k=d[y],g=k.pair,g?(g.isActive?v.push(g):p.push(g),o.update(g,k,u),g.confirmedActive=!0):(g=o.create(k,u),c[g.id]=g,p.push(g),h.push(g));var b=[];for(f=h.length,y=0;y<f;y++)g=h[y],g.confirmedActive||(o.setActive(g,!1,u),_.push(g),!g.collision.bodyA.isSleeping&&!g.collision.bodyB.isSleeping&&b.push(y));for(y=0;y<b.length;y++)S=b[y]-y,g=h[S],h.splice(S,1),delete c[g.id]},i.clear=function(a){return a.table={},a.list.length=0,a.collisionStart.length=0,a.collisionActive.length=0,a.collisionEnd.length=0,a}})()},function(n,s,r){var i=n.exports=r(22);i.Axes=r(11),i.Bodies=r(12),i.Body=r(6),i.Bounds=r(1),i.Collision=r(8),i.Common=r(0),i.Composite=r(5),i.Composites=r(23),i.Constraint=r(10),i.Contact=r(17),i.Detector=r(14),i.Engine=r(18),i.Events=r(4),i.Grid=r(24),i.Mouse=r(13),i.MouseConstraint=r(25),i.Pair=r(9),i.Pairs=r(20),i.Plugin=r(15),i.Query=r(26),i.Render=r(16),i.Resolver=r(19),i.Runner=r(27),i.SAT=r(28),i.Sleeping=r(7),i.Svg=r(29),i.Vector=r(2),i.Vertices=r(3),i.World=r(30),i.Engine.run=i.Runner.run,i.Common.deprecated(i.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,s,r){var i={};n.exports=i;var o=r(15),l=r(0);(function(){i.name="matter-js",i.version="0.18.0",i.uses=[],i.used=[],i.use=function(){o.use(i,Array.prototype.slice.call(arguments))},i.before=function(a,d){return a=a.replace(/^Matter./,""),l.chainPathBefore(i,a,d)},i.after=function(a,d){return a=a.replace(/^Matter./,""),l.chainPathAfter(i,a,d)}})()},function(n,s,r){var i={};n.exports=i;var o=r(5),l=r(10),a=r(0),d=r(6),u=r(12),h=a.deprecated;(function(){i.stack=function(f,c,m,p,_,v,k){for(var S=o.create({label:"Stack"}),g=f,y=c,b,w=0,P=0;P<p;P++){for(var T=0,O=0;O<m;O++){var L=k(g,y,O,P,b,w);if(L){var N=L.bounds.max.y-L.bounds.min.y,F=L.bounds.max.x-L.bounds.min.x;N>T&&(T=N),d.translate(L,{x:F*.5,y:N*.5}),g=L.bounds.max.x+_,o.addBody(S,L),b=L,w+=1}else g+=_}y+=T+v,g=f}return S},i.chain=function(f,c,m,p,_,v){for(var k=f.bodies,S=1;S<k.length;S++){var g=k[S-1],y=k[S],b=g.bounds.max.y-g.bounds.min.y,w=g.bounds.max.x-g.bounds.min.x,P=y.bounds.max.y-y.bounds.min.y,T=y.bounds.max.x-y.bounds.min.x,O={bodyA:g,pointA:{x:w*c,y:b*m},bodyB:y,pointB:{x:T*p,y:P*_}},L=a.extend(O,v);o.addConstraint(f,l.create(L))}return f.label+=" Chain",f},i.mesh=function(f,c,m,p,_){var v=f.bodies,k,S,g,y,b;for(k=0;k<m;k++){for(S=1;S<c;S++)g=v[S-1+k*c],y=v[S+k*c],o.addConstraint(f,l.create(a.extend({bodyA:g,bodyB:y},_)));if(k>0)for(S=0;S<c;S++)g=v[S+(k-1)*c],y=v[S+k*c],o.addConstraint(f,l.create(a.extend({bodyA:g,bodyB:y},_))),p&&S>0&&(b=v[S-1+(k-1)*c],o.addConstraint(f,l.create(a.extend({bodyA:b,bodyB:y},_)))),p&&S<c-1&&(b=v[S+1+(k-1)*c],o.addConstraint(f,l.create(a.extend({bodyA:b,bodyB:y},_))))}return f.label+=" Mesh",f},i.pyramid=function(f,c,m,p,_,v,k){return i.stack(f,c,m,p,_,v,function(S,g,y,b,w,P){var T=Math.min(p,Math.ceil(m/2)),O=w?w.bounds.max.x-w.bounds.min.x:0;if(!(b>T)){b=T-b;var L=b,N=m-1-b;if(!(y<L||y>N)){P===1&&d.translate(w,{x:(y+(m%2===1?1:-1))*O,y:0});var F=w?y*O:0;return k(f+F+y*_,g,y,b,w,P)}}})},i.newtonsCradle=function(f,c,m,p,_){for(var v=o.create({label:"Newtons Cradle"}),k=0;k<m;k++){var S=1.9,g=u.circle(f+k*(p*S),c+_,p,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),y=l.create({pointA:{x:f+k*(p*S),y:c},bodyB:g});o.addBody(v,g),o.addConstraint(v,y)}return v},h(i,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),i.car=function(f,c,m,p,_){var v=d.nextGroup(!0),k=20,S=-m*.5+k,g=m*.5-k,y=0,b=o.create({label:"Car"}),w=u.rectangle(f,c,m,p,{collisionFilter:{group:v},chamfer:{radius:p*.5},density:2e-4}),P=u.circle(f+S,c+y,_,{collisionFilter:{group:v},friction:.8}),T=u.circle(f+g,c+y,_,{collisionFilter:{group:v},friction:.8}),O=l.create({bodyB:w,pointB:{x:S,y},bodyA:P,stiffness:1,length:0}),L=l.create({bodyB:w,pointB:{x:g,y},bodyA:T,stiffness:1,length:0});return o.addBody(b,w),o.addBody(b,P),o.addBody(b,T),o.addConstraint(b,O),o.addConstraint(b,L),b},h(i,"car","Composites.car ➤ moved to car example"),i.softBody=function(f,c,m,p,_,v,k,S,g,y){g=a.extend({inertia:1/0},g),y=a.extend({stiffness:.2,render:{type:"line",anchors:!1}},y);var b=i.stack(f,c,m,p,_,v,function(w,P){return u.circle(w,P,S,g)});return i.mesh(b,m,p,k,y),b.label="Soft Body",b},h(i,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,s,r){var i={};n.exports=i;var o=r(9),l=r(0),a=l.deprecated;(function(){i.create=function(d){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return l.extend(u,d)},i.update=function(d,u,h,f){var c,m,p,_=h.world,v=d.buckets,k,S,g=!1;for(c=0;c<u.length;c++){var y=u[c];if(!(y.isSleeping&&!f)&&!(_.bounds&&(y.bounds.max.x<_.bounds.min.x||y.bounds.min.x>_.bounds.max.x||y.bounds.max.y<_.bounds.min.y||y.bounds.min.y>_.bounds.max.y))){var b=i._getRegion(d,y);if(!y.region||b.id!==y.region.id||f){(!y.region||f)&&(y.region=b);var w=i._regionUnion(b,y.region);for(m=w.startCol;m<=w.endCol;m++)for(p=w.startRow;p<=w.endRow;p++){S=i._getBucketId(m,p),k=v[S];var P=m>=b.startCol&&m<=b.endCol&&p>=b.startRow&&p<=b.endRow,T=m>=y.region.startCol&&m<=y.region.endCol&&p>=y.region.startRow&&p<=y.region.endRow;!P&&T&&T&&k&&i._bucketRemoveBody(d,k,y),(y.region===b||P&&!T||f)&&(k||(k=i._createBucket(v,S)),i._bucketAddBody(d,k,y))}y.region=b,g=!0}}}g&&(d.pairsList=i._createActivePairsList(d))},a(i,"update","Grid.update ➤ replaced by Matter.Detector"),i.clear=function(d){d.buckets={},d.pairs={},d.pairsList=[]},a(i,"clear","Grid.clear ➤ replaced by Matter.Detector"),i._regionUnion=function(d,u){var h=Math.min(d.startCol,u.startCol),f=Math.max(d.endCol,u.endCol),c=Math.min(d.startRow,u.startRow),m=Math.max(d.endRow,u.endRow);return i._createRegion(h,f,c,m)},i._getRegion=function(d,u){var h=u.bounds,f=Math.floor(h.min.x/d.bucketWidth),c=Math.floor(h.max.x/d.bucketWidth),m=Math.floor(h.min.y/d.bucketHeight),p=Math.floor(h.max.y/d.bucketHeight);return i._createRegion(f,c,m,p)},i._createRegion=function(d,u,h,f){return{id:d+","+u+","+h+","+f,startCol:d,endCol:u,startRow:h,endRow:f}},i._getBucketId=function(d,u){return"C"+d+"R"+u},i._createBucket=function(d,u){var h=d[u]=[];return h},i._bucketAddBody=function(d,u,h){var f=d.pairs,c=o.id,m=u.length,p;for(p=0;p<m;p++){var _=u[p];if(!(h.id===_.id||h.isStatic&&_.isStatic)){var v=c(h,_),k=f[v];k?k[2]+=1:f[v]=[h,_,1]}}u.push(h)},i._bucketRemoveBody=function(d,u,h){var f=d.pairs,c=o.id,m;u.splice(l.indexOf(u,h),1);var p=u.length;for(m=0;m<p;m++){var _=f[c(h,u[m])];_&&(_[2]-=1)}},i._createActivePairsList=function(d){var u,h=d.pairs,f=l.keys(h),c=f.length,m=[],p;for(p=0;p<c;p++)u=h[f[p]],u[2]>0?m.push(u):delete h[f[p]];return m}})()},function(n,s,r){var i={};n.exports=i;var o=r(3),l=r(7),a=r(13),d=r(4),u=r(14),h=r(10),f=r(5),c=r(0),m=r(1);(function(){i.create=function(p,_){var v=(p?p.mouse:null)||(_?_.mouse:null);v||(p&&p.render&&p.render.canvas?v=a.create(p.render.canvas):_&&_.element?v=a.create(_.element):(v=a.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var k=h.create({label:"Mouse Constraint",pointA:v.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),S={type:"mouseConstraint",mouse:v,element:null,body:null,constraint:k,collisionFilter:{category:1,mask:4294967295,group:0}},g=c.extend(S,_);return d.on(p,"beforeUpdate",function(){var y=f.allBodies(p.world);i.update(g,y),i._triggerEvents(g)}),g},i.update=function(p,_){var v=p.mouse,k=p.constraint,S=p.body;if(v.button===0){if(k.bodyB)l.set(k.bodyB,!1),k.pointA=v.position;else for(var g=0;g<_.length;g++)if(S=_[g],m.contains(S.bounds,v.position)&&u.canCollide(S.collisionFilter,p.collisionFilter))for(var y=S.parts.length>1?1:0;y<S.parts.length;y++){var b=S.parts[y];if(o.contains(b.vertices,v.position)){k.pointA=v.position,k.bodyB=p.body=S,k.pointB={x:v.position.x-S.position.x,y:v.position.y-S.position.y},k.angleB=S.angle,l.set(S,!1),d.trigger(p,"startdrag",{mouse:v,body:S});break}}}else k.bodyB=p.body=null,k.pointB=null,S&&d.trigger(p,"enddrag",{mouse:v,body:S})},i._triggerEvents=function(p){var _=p.mouse,v=_.sourceEvents;v.mousemove&&d.trigger(p,"mousemove",{mouse:_}),v.mousedown&&d.trigger(p,"mousedown",{mouse:_}),v.mouseup&&d.trigger(p,"mouseup",{mouse:_}),a.clearSourceEvents(_)}})()},function(n,s,r){var i={};n.exports=i;var o=r(2),l=r(8),a=r(1),d=r(12),u=r(3);(function(){i.collides=function(h,f){for(var c=[],m=f.length,p=h.bounds,_=l.collides,v=a.overlaps,k=0;k<m;k++){var S=f[k],g=S.parts.length,y=g===1?0:1;if(v(S.bounds,p))for(var b=y;b<g;b++){var w=S.parts[b];if(v(w.bounds,p)){var P=_(w,h);if(P){c.push(P);break}}}}return c},i.ray=function(h,f,c,m){m=m||1e-100;for(var p=o.angle(f,c),_=o.magnitude(o.sub(f,c)),v=(c.x+f.x)*.5,k=(c.y+f.y)*.5,S=d.rectangle(v,k,_,m,{angle:p}),g=i.collides(S,h),y=0;y<g.length;y+=1){var b=g[y];b.body=b.bodyB=b.bodyA}return g},i.region=function(h,f,c){for(var m=[],p=0;p<h.length;p++){var _=h[p],v=a.overlaps(_.bounds,f);(v&&!c||!v&&c)&&m.push(_)}return m},i.point=function(h,f){for(var c=[],m=0;m<h.length;m++){var p=h[m];if(a.contains(p.bounds,f))for(var _=p.parts.length===1?0:1;_<p.parts.length;_++){var v=p.parts[_];if(a.contains(v.bounds,f)&&u.contains(v.vertices,f)){c.push(p);break}}}return c}})()},function(n,s,r){var i={};n.exports=i;var o=r(4),l=r(18),a=r(0);(function(){var d,u;if(typeof window<"u"&&(d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!d){var h;d=function(f){h=setTimeout(function(){f(a.now())},1e3/60)},u=function(){clearTimeout(h)}}i.create=function(f){var c={fps:60,correction:1,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,timeScalePrev:1,frameRequestId:null,isFixed:!1,enabled:!0},m=a.extend(c,f);return m.delta=m.delta||1e3/m.fps,m.deltaMin=m.deltaMin||1e3/m.fps,m.deltaMax=m.deltaMax||1e3/(m.fps*.5),m.fps=1e3/m.delta,m},i.run=function(f,c){return typeof f.positionIterations<"u"&&(c=f,f=i.create()),function m(p){f.frameRequestId=d(m),p&&f.enabled&&i.tick(f,c,p)}(),f},i.tick=function(f,c,m){var p=c.timing,_=1,v,k={timestamp:p.timestamp};o.trigger(f,"beforeTick",k),f.isFixed?v=f.delta:(v=m-f.timePrev||f.delta,f.timePrev=m,f.deltaHistory.push(v),f.deltaHistory=f.deltaHistory.slice(-f.deltaSampleSize),v=Math.min.apply(null,f.deltaHistory),v=v<f.deltaMin?f.deltaMin:v,v=v>f.deltaMax?f.deltaMax:v,_=v/f.delta,f.delta=v),f.timeScalePrev!==0&&(_*=p.timeScale/f.timeScalePrev),p.timeScale===0&&(_=0),f.timeScalePrev=p.timeScale,f.correction=_,f.frameCounter+=1,m-f.counterTimestamp>=1e3&&(f.fps=f.frameCounter*((m-f.counterTimestamp)/1e3),f.counterTimestamp=m,f.frameCounter=0),o.trigger(f,"tick",k),o.trigger(f,"beforeUpdate",k),l.update(c,v,_),o.trigger(f,"afterUpdate",k),o.trigger(f,"afterTick",k)},i.stop=function(f){u(f.frameRequestId)},i.start=function(f,c){i.run(f,c)}})()},function(n,s,r){var i={};n.exports=i;var o=r(8),l=r(0),a=l.deprecated;(function(){i.collides=function(d,u){return o.collides(d,u)},a(i,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,r){var i={};n.exports=i,r(1);var o=r(0);(function(){i.pathToVertices=function(l,a){typeof window<"u"&&!("SVGPathSeg"in window)&&o.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var d,u,h,f,c,m,p,_,v,k,S=[],g,y,b=0,w=0,P=0;a=a||15;var T=function(L,N,F){var z=F%2===1&&F>1;if(!v||L!=v.x||N!=v.y){v&&z?(g=v.x,y=v.y):(g=0,y=0);var J={x:g+L,y:y+N};(z||!v)&&(v=J),S.push(J),w=g+L,P=y+N}},O=function(L){var N=L.pathSegTypeAsLetter.toUpperCase();if(N!=="Z"){switch(N){case"M":case"L":case"T":case"C":case"S":case"Q":w=L.x,P=L.y;break;case"H":w=L.x;break;case"V":P=L.y;break}T(w,P,L.pathSegType)}};for(i._svgPathToAbsolute(l),h=l.getTotalLength(),m=[],d=0;d<l.pathSegList.numberOfItems;d+=1)m.push(l.pathSegList.getItem(d));for(p=m.concat();b<h;){if(k=l.getPathSegAtLength(b),c=m[k],c!=_){for(;p.length&&p[0]!=c;)O(p.shift());_=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":f=l.getPointAtLength(b),T(f.x,f.y,0);break}b+=a}for(d=0,u=p.length;d<u;++d)O(p[d]);return S},i._svgPathToAbsolute=function(l){for(var a,d,u,h,f,c,m=l.pathSegList,p=0,_=0,v=m.numberOfItems,k=0;k<v;++k){var S=m.getItem(k),g=S.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(g))"x"in S&&(p=S.x),"y"in S&&(_=S.y);else switch("x1"in S&&(u=p+S.x1),"x2"in S&&(f=p+S.x2),"y1"in S&&(h=_+S.y1),"y2"in S&&(c=_+S.y2),"x"in S&&(p+=S.x),"y"in S&&(_+=S.y),g){case"m":m.replaceItem(l.createSVGPathSegMovetoAbs(p,_),k);break;case"l":m.replaceItem(l.createSVGPathSegLinetoAbs(p,_),k);break;case"h":m.replaceItem(l.createSVGPathSegLinetoHorizontalAbs(p),k);break;case"v":m.replaceItem(l.createSVGPathSegLinetoVerticalAbs(_),k);break;case"c":m.replaceItem(l.createSVGPathSegCurvetoCubicAbs(p,_,u,h,f,c),k);break;case"s":m.replaceItem(l.createSVGPathSegCurvetoCubicSmoothAbs(p,_,f,c),k);break;case"q":m.replaceItem(l.createSVGPathSegCurvetoQuadraticAbs(p,_,u,h),k);break;case"t":m.replaceItem(l.createSVGPathSegCurvetoQuadraticSmoothAbs(p,_),k);break;case"a":m.replaceItem(l.createSVGPathSegArcAbs(p,_,S.r1,S.r2,S.angle,S.largeArcFlag,S.sweepFlag),k);break;case"z":case"Z":p=a,_=d;break}(g=="M"||g=="m")&&(a=p,d=_)}}})()},function(n,s,r){var i={};n.exports=i;var o=r(5);r(0),function(){i.create=o.create,i.add=o.add,i.remove=o.remove,i.clear=o.clear,i.addComposite=o.addComposite,i.addBody=o.addBody,i.addConstraint=o.addConstraint}()}])})})(ch);const Kl="/assets/cookie-fc45e6c1.png";function uh(e){return e[Math.floor(Math.random()*e.length)]}function Yl(e,t){return Math.random()*(t-e)+e}function fh(e,t){return Math.floor(Yl(e,t))}function zo(){return localStorage.getItem("cookie")==null}function dh(){localStorage.setItem("cookie","accept")}function hh(){localStorage.setItem("cookie","refuse")}/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Jr=typeof window<"u",ph=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Jt=e=>ph?Symbol(e):e,mh=(e,t,n)=>gh({l:e,k:t,s:n}),gh=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),vh=e=>$s(e)==="[object Date]",Qt=e=>$s(e)==="[object RegExp]",br=e=>ue(e)&&Object.keys(e).length===0;function _h(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ge=Object.assign;let Go;const ni=()=>Go||(Go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ko(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const yh=Object.prototype.hasOwnProperty;function Ns(e,t){return yh.call(e,t)}const Le=Array.isArray,He=e=>typeof e=="function",ee=e=>typeof e=="string",we=e=>typeof e=="boolean",Ie=e=>e!==null&&typeof e=="object",Xl=Object.prototype.toString,$s=e=>Xl.call(e),ue=e=>$s(e)==="[object Object]",xh=e=>e==null?"":Le(e)||ue(e)&&e.toString===Xl?JSON.stringify(e,null,2):String(e);/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Se={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function wr(e,t,n={}){const{domain:s,messages:r,args:i}=n,o=e,l=new SyntaxError(String(o));return l.code=e,t&&(l.location=t),l.domain=s,l}function bh(e){throw e}function wh(e,t,n){return{line:e,column:t,offset:n}}function Zr(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const Rt=" ",Eh="\r",Je=`
`,kh=String.fromCharCode(8232),Sh=String.fromCharCode(8233);function Ch(e){const t=e;let n=0,s=1,r=1,i=0;const o=w=>t[w]===Eh&&t[w+1]===Je,l=w=>t[w]===Je,a=w=>t[w]===Sh,d=w=>t[w]===kh,u=w=>o(w)||l(w)||a(w)||d(w),h=()=>n,f=()=>s,c=()=>r,m=()=>i,p=w=>o(w)||a(w)||d(w)?Je:t[w],_=()=>p(n),v=()=>p(n+i);function k(){return i=0,u(n)&&(s++,r=0),o(n)&&n++,n++,r++,t[n]}function S(){return o(n+i)&&i++,i++,t[n+i]}function g(){n=0,s=1,r=1,i=0}function y(w=0){i=w}function b(){const w=n+i;for(;w!==n;)k();i=0}return{index:h,line:f,column:c,peekOffset:m,charAt:p,currentChar:_,currentPeek:v,next:k,peek:S,reset:g,resetPeek:y,skipToPeek:b}}const Wt=void 0,Yo="'",Ah="tokenizer";function Th(e,t={}){const n=t.location!==!1,s=Ch(e),r=()=>s.index(),i=()=>wh(s.line(),s.column(),s.index()),o=i(),l=r(),a={currentType:14,offset:l,startLoc:o,endLoc:o,lastType:14,lastOffset:l,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:""},d=()=>a,{onError:u}=t;function h(x,E,A,...M){const H=d();if(E.column+=A,E.offset+=A,u){const j=Zr(H.startLoc,E),V=wr(x,j,{domain:Ah,args:M});u(V)}}function f(x,E,A){x.endLoc=i(),x.currentType=E;const M={type:E};return n&&(M.loc=Zr(x.startLoc,x.endLoc)),A!=null&&(M.value=A),M}const c=x=>f(x,14);function m(x,E){return x.currentChar()===E?(x.next(),E):(h(Se.EXPECTED_TOKEN,i(),0,E),"")}function p(x){let E="";for(;x.currentPeek()===Rt||x.currentPeek()===Je;)E+=x.currentPeek(),x.peek();return E}function _(x){const E=p(x);return x.skipToPeek(),E}function v(x){if(x===Wt)return!1;const E=x.charCodeAt(0);return E>=97&&E<=122||E>=65&&E<=90||E===95}function k(x){if(x===Wt)return!1;const E=x.charCodeAt(0);return E>=48&&E<=57}function S(x,E){const{currentType:A}=E;if(A!==2)return!1;p(x);const M=v(x.currentPeek());return x.resetPeek(),M}function g(x,E){const{currentType:A}=E;if(A!==2)return!1;p(x);const M=x.currentPeek()==="-"?x.peek():x.currentPeek(),H=k(M);return x.resetPeek(),H}function y(x,E){const{currentType:A}=E;if(A!==2)return!1;p(x);const M=x.currentPeek()===Yo;return x.resetPeek(),M}function b(x,E){const{currentType:A}=E;if(A!==8)return!1;p(x);const M=x.currentPeek()===".";return x.resetPeek(),M}function w(x,E){const{currentType:A}=E;if(A!==9)return!1;p(x);const M=v(x.currentPeek());return x.resetPeek(),M}function P(x,E){const{currentType:A}=E;if(!(A===8||A===12))return!1;p(x);const M=x.currentPeek()===":";return x.resetPeek(),M}function T(x,E){const{currentType:A}=E;if(A!==10)return!1;const M=()=>{const j=x.currentPeek();return j==="{"?v(x.peek()):j==="@"||j==="%"||j==="|"||j===":"||j==="."||j===Rt||!j?!1:j===Je?(x.peek(),M()):v(j)},H=M();return x.resetPeek(),H}function O(x){p(x);const E=x.currentPeek()==="|";return x.resetPeek(),E}function L(x){const E=p(x),A=x.currentPeek()==="%"&&x.peek()==="{";return x.resetPeek(),{isModulo:A,hasSpace:E.length>0}}function N(x,E=!0){const A=(H=!1,j="",V=!1)=>{const G=x.currentPeek();return G==="{"?j==="%"?!1:H:G==="@"||!G?j==="%"?!0:H:G==="%"?(x.peek(),A(H,"%",!0)):G==="|"?j==="%"||V?!0:!(j===Rt||j===Je):G===Rt?(x.peek(),A(!0,Rt,V)):G===Je?(x.peek(),A(!0,Je,V)):!0},M=A();return E&&x.resetPeek(),M}function F(x,E){const A=x.currentChar();return A===Wt?Wt:E(A)?(x.next(),A):null}function z(x){return F(x,A=>{const M=A.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function J(x){return F(x,A=>{const M=A.charCodeAt(0);return M>=48&&M<=57})}function U(x){return F(x,A=>{const M=A.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function q(x){let E="",A="";for(;E=J(x);)A+=E;return A}function ne(x){_(x);const E=x.currentChar();return E!=="%"&&h(Se.EXPECTED_TOKEN,i(),0,E),x.next(),"%"}function re(x){let E="";for(;;){const A=x.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(N(x))E+=A,x.next();else break;else if(A===Rt||A===Je)if(N(x))E+=A,x.next();else{if(O(x))break;E+=A,x.next()}else E+=A,x.next()}return E}function pe(x){_(x);let E="",A="";for(;E=z(x);)A+=E;return x.currentChar()===Wt&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),A}function fe(x){_(x);let E="";return x.currentChar()==="-"?(x.next(),E+=`-${q(x)}`):E+=q(x),x.currentChar()===Wt&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),E}function ce(x){_(x),m(x,"'");let E="",A="";const M=j=>j!==Yo&&j!==Je;for(;E=F(x,M);)E==="\\"?A+=ve(x):A+=E;const H=x.currentChar();return H===Je||H===Wt?(h(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),H===Je&&(x.next(),m(x,"'")),A):(m(x,"'"),A)}function ve(x){const E=x.currentChar();switch(E){case"\\":case"'":return x.next(),`\\${E}`;case"u":return Ce(x,E,4);case"U":return Ce(x,E,6);default:return h(Se.UNKNOWN_ESCAPE_SEQUENCE,i(),0,E),""}}function Ce(x,E,A){m(x,E);let M="";for(let H=0;H<A;H++){const j=U(x);if(!j){h(Se.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${E}${M}${x.currentChar()}`);break}M+=j}return`\\${E}${M}`}function B(x){_(x);let E="",A="";const M=H=>H!=="{"&&H!=="}"&&H!==Rt&&H!==Je;for(;E=F(x,M);)A+=E;return A}function Y(x){let E="",A="";for(;E=z(x);)A+=E;return A}function K(x){const E=(A=!1,M)=>{const H=x.currentChar();return H==="{"||H==="%"||H==="@"||H==="|"||!H||H===Rt?M:H===Je?(M+=H,x.next(),E(A,M)):(M+=H,x.next(),E(!0,M))};return E(!1,"")}function te(x){_(x);const E=m(x,"|");return _(x),E}function le(x,E){let A=null;switch(x.currentChar()){case"{":return E.braceNest>=1&&h(Se.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),x.next(),A=f(E,2,"{"),_(x),E.braceNest++,A;case"}":return E.braceNest>0&&E.currentType===2&&h(Se.EMPTY_PLACEHOLDER,i(),0),x.next(),A=f(E,3,"}"),E.braceNest--,E.braceNest>0&&_(x),E.inLinked&&E.braceNest===0&&(E.inLinked=!1),A;case"@":return E.braceNest>0&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),A=xe(x,E)||c(E),E.braceNest=0,A;default:let H=!0,j=!0,V=!0;if(O(x))return E.braceNest>0&&h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),A=f(E,1,te(x)),E.braceNest=0,E.inLinked=!1,A;if(E.braceNest>0&&(E.currentType===5||E.currentType===6||E.currentType===7))return h(Se.UNTERMINATED_CLOSING_BRACE,i(),0),E.braceNest=0,ae(x,E);if(H=S(x,E))return A=f(E,5,pe(x)),_(x),A;if(j=g(x,E))return A=f(E,6,fe(x)),_(x),A;if(V=y(x,E))return A=f(E,7,ce(x)),_(x),A;if(!H&&!j&&!V)return A=f(E,13,B(x)),h(Se.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,A.value),_(x),A;break}return A}function xe(x,E){const{currentType:A}=E;let M=null;const H=x.currentChar();switch((A===8||A===9||A===12||A===10)&&(H===Je||H===Rt)&&h(Se.INVALID_LINKED_FORMAT,i(),0),H){case"@":return x.next(),M=f(E,8,"@"),E.inLinked=!0,M;case".":return _(x),x.next(),f(E,9,".");case":":return _(x),x.next(),f(E,10,":");default:return O(x)?(M=f(E,1,te(x)),E.braceNest=0,E.inLinked=!1,M):b(x,E)||P(x,E)?(_(x),xe(x,E)):w(x,E)?(_(x),f(E,12,Y(x))):T(x,E)?(_(x),H==="{"?le(x,E)||M:f(E,11,K(x))):(A===8&&h(Se.INVALID_LINKED_FORMAT,i(),0),E.braceNest=0,E.inLinked=!1,ae(x,E))}}function ae(x,E){let A={type:14};if(E.braceNest>0)return le(x,E)||c(E);if(E.inLinked)return xe(x,E)||c(E);switch(x.currentChar()){case"{":return le(x,E)||c(E);case"}":return h(Se.UNBALANCED_CLOSING_BRACE,i(),0),x.next(),f(E,3,"}");case"@":return xe(x,E)||c(E);default:if(O(x))return A=f(E,1,te(x)),E.braceNest=0,E.inLinked=!1,A;const{isModulo:H,hasSpace:j}=L(x);if(H)return j?f(E,0,re(x)):f(E,4,ne(x));if(N(x))return f(E,0,re(x));break}return A}function C(){const{currentType:x,offset:E,startLoc:A,endLoc:M}=a;return a.lastType=x,a.lastOffset=E,a.lastStartLoc=A,a.lastEndLoc=M,a.offset=r(),a.startLoc=i(),s.currentChar()===Wt?f(a,14):ae(s,a)}return{nextToken:C,currentOffset:r,currentPosition:i,context:d}}const Ph="parser",Lh=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Ih(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"<22>"}}}function Oh(e={}){const t=e.location!==!1,{onError:n}=e;function s(v,k,S,g,...y){const b=v.currentPosition();if(b.offset+=g,b.column+=g,n){const w=Zr(S,b),P=wr(k,w,{domain:Ph,args:y});n(P)}}function r(v,k,S){const g={type:v,start:k,end:k};return t&&(g.loc={start:S,end:S}),g}function i(v,k,S,g){v.end=k,g&&(v.type=g),t&&v.loc&&(v.loc.end=S)}function o(v,k){const S=v.context(),g=r(3,S.offset,S.startLoc);return g.value=k,i(g,v.currentOffset(),v.currentPosition()),g}function l(v,k){const S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(5,g,y);return b.index=parseInt(k,10),v.nextToken(),i(b,v.currentOffset(),v.currentPosition()),b}function a(v,k){const S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(4,g,y);return b.key=k,v.nextToken(),i(b,v.currentOffset(),v.currentPosition()),b}function d(v,k){const S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(9,g,y);return b.value=k.replace(Lh,Ih),v.nextToken(),i(b,v.currentOffset(),v.currentPosition()),b}function u(v){const k=v.nextToken(),S=v.context(),{lastOffset:g,lastStartLoc:y}=S,b=r(8,g,y);return k.type!==12?(s(v,Se.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),b.value="",i(b,g,y),{nextConsumeToken:k,node:b}):(k.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Et(k)),b.value=k.value||"",i(b,v.currentOffset(),v.currentPosition()),{node:b})}function h(v,k){const S=v.context(),g=r(7,S.offset,S.startLoc);return g.value=k,i(g,v.currentOffset(),v.currentPosition()),g}function f(v){const k=v.context(),S=r(6,k.offset,k.startLoc);let g=v.nextToken();if(g.type===9){const y=u(v);S.modifier=y.node,g=y.nextConsumeToken||v.nextToken()}switch(g.type!==10&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),g=v.nextToken(),g.type===2&&(g=v.nextToken()),g.type){case 11:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=h(v,g.value||"");break;case 5:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=a(v,g.value||"");break;case 6:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=l(v,g.value||"");break;case 7:g.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(g)),S.key=d(v,g.value||"");break;default:s(v,Se.UNEXPECTED_EMPTY_LINKED_KEY,k.lastStartLoc,0);const y=v.context(),b=r(7,y.offset,y.startLoc);return b.value="",i(b,y.offset,y.startLoc),S.key=b,i(S,y.offset,y.startLoc),{nextConsumeToken:g,node:S}}return i(S,v.currentOffset(),v.currentPosition()),{node:S}}function c(v){const k=v.context(),S=k.currentType===1?v.currentOffset():k.offset,g=k.currentType===1?k.endLoc:k.startLoc,y=r(2,S,g);y.items=[];let b=null;do{const T=b||v.nextToken();switch(b=null,T.type){case 0:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(o(v,T.value||""));break;case 6:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(l(v,T.value||""));break;case 5:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(a(v,T.value||""));break;case 7:T.value==null&&s(v,Se.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Et(T)),y.items.push(d(v,T.value||""));break;case 8:const O=f(v);y.items.push(O.node),b=O.nextConsumeToken||null;break}}while(k.currentType!==14&&k.currentType!==1);const w=k.currentType===1?k.lastOffset:v.currentOffset(),P=k.currentType===1?k.lastEndLoc:v.currentPosition();return i(y,w,P),y}function m(v,k,S,g){const y=v.context();let b=g.items.length===0;const w=r(1,k,S);w.cases=[],w.cases.push(g);do{const P=c(v);b||(b=P.items.length===0),w.cases.push(P)}while(y.currentType!==14);return b&&s(v,Se.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),i(w,v.currentOffset(),v.currentPosition()),w}function p(v){const k=v.context(),{offset:S,startLoc:g}=k,y=c(v);return k.currentType===14?y:m(v,S,g,y)}function _(v){const k=Th(v,Ge({},e)),S=k.context(),g=r(0,S.offset,S.startLoc);return t&&g.loc&&(g.loc.source=v),g.body=p(k),S.currentType!==14&&s(k,Se.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,v[S.offset]||""),i(g,k.currentOffset(),k.currentPosition()),g}return{parse:_}}function Et(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Mh(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Xo(e,t){for(let n=0;n<e.length;n++)Ds(e[n],t)}function Ds(e,t){switch(e.type){case 1:Xo(e.cases,t),t.helper("plural");break;case 2:Xo(e.items,t);break;case 6:Ds(e.key,t),t.helper("linked"),t.helper("type");break;case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Rh(e,t={}){const n=Mh(e);n.helper("normalize"),e.body&&Ds(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function Nh(e,t){const{sourceMap:n,filename:s,breakLineCode:r,needIndent:i}=t,o={source:e.loc.source,filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0},l=()=>o;function a(p,_){o.code+=p}function d(p,_=!0){const v=_?r:"";a(i?v+" ".repeat(p):v)}function u(p=!0){const _=++o.indentLevel;p&&d(_)}function h(p=!0){const _=--o.indentLevel;p&&d(_)}function f(){d(o.indentLevel)}return{context:l,push:a,indent:u,deindent:h,newline:f,helper:p=>`_${p}`,needIndent:()=>o.needIndent}}function $h(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),In(e,t.key),t.modifier?(e.push(", "),In(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dh(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let i=0;i<r&&(In(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(s()),e.push("])")}function Fh(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let i=0;i<r&&(In(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(s()),e.push("])")}}function Bh(e,t){t.body?In(e,t.body):e.push("null")}function In(e,t){const{helper:n}=e;switch(t.type){case 0:Bh(e,t);break;case 1:Fh(e,t);break;case 2:Dh(e,t);break;case 6:$h(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const Hh=(e,t={})=>{const n=ee(t.mode)?t.mode:"normal",s=ee(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,o=t.needIndent?t.needIndent:n!=="arrow",l=e.helpers||[],a=Nh(e,{mode:n,filename:s,sourceMap:r,breakLineCode:i,needIndent:o});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(o),l.length>0&&(a.push(`const { ${l.map(h=>`${h}: _${h}`).join(", ")} } = ctx`),a.newline()),a.push("return "),In(a,e),a.deindent(o),a.push("}");const{code:d,map:u}=a.context();return{ast:e,code:d,map:u?u.toJSON():void 0}};function Wh(e,t={}){const n=Ge({},t),r=Oh(n).parse(e);return Rh(r,n),Hh(r,n)}/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const ql={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Zt=[];Zt[0]={w:[0],i:[3,0],["["]:[4],o:[7]};Zt[1]={w:[1],["."]:[2],["["]:[4],o:[7]};Zt[2]={w:[2],i:[3,0],[0]:[3,0]};Zt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};Zt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};Zt[5]={["'"]:[4,0],o:8,l:[5,0]};Zt[6]={['"']:[4,0],o:8,l:[6,0]};const jh=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Uh(e){return jh.test(e)}function Vh(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function zh(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Gh(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Uh(t)?Vh(t):"*"+t}function Kh(e){const t=[];let n=-1,s=0,r=0,i,o,l,a,d,u,h;const f=[];f[0]=()=>{o===void 0?o=l:o+=l},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,s=4,f[0]();else{if(r=0,o===void 0||(o=Gh(o),o===!1))return!1;f[1]()}};function c(){const m=e[n+1];if(s===5&&m==="'"||s===6&&m==='"')return n++,l="\\"+m,f[0](),!0}for(;s!==null;)if(n++,i=e[n],!(i==="\\"&&c())){if(a=zh(i),h=Zt[s],d=h[a]||h.l||8,d===8||(s=d[0],d[1]!==void 0&&(u=f[d[1]],u&&(l=i,u()===!1))))return;if(s===7)return t}}const qo=new Map;function Yh(e,t){return Ie(e)?e[t]:null}function Xh(e,t){if(!Ie(e))return null;let n=qo.get(t);if(n||(n=Kh(t),n&&qo.set(t,n)),!n)return null;const s=n.length;let r=e,i=0;for(;i<s;){const o=r[n[i]];if(o===void 0)return null;r=o,i++}return r}const qh=e=>e,Qh=e=>"",Jh="text",Zh=e=>e.length===0?"":e.join(""),ep=xh;function Qo(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function tp(e){const t=je(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(je(e.named.count)||je(e.named.n))?je(e.named.count)?e.named.count:je(e.named.n)?e.named.n:t:t}function np(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ip(e={}){const t=e.locale,n=tp(e),s=Ie(e.pluralRules)&&ee(t)&&He(e.pluralRules[t])?e.pluralRules[t]:Qo,r=Ie(e.pluralRules)&&ee(t)&&He(e.pluralRules[t])?Qo:void 0,i=v=>v[s(n,v.length,r)],o=e.list||[],l=v=>o[v],a=e.named||{};je(e.pluralIndex)&&np(n,a);const d=v=>a[v];function u(v){const k=He(e.messages)?e.messages(v):Ie(e.messages)?e.messages[v]:!1;return k||(e.parent?e.parent.message(v):Qh)}const h=v=>e.modifiers?e.modifiers[v]:qh,f=ue(e.processor)&&He(e.processor.normalize)?e.processor.normalize:Zh,c=ue(e.processor)&&He(e.processor.interpolate)?e.processor.interpolate:ep,m=ue(e.processor)&&ee(e.processor.type)?e.processor.type:Jh,_={list:l,named:d,plural:i,linked:(v,...k)=>{const[S,g]=k;let y="text",b="";k.length===1?Ie(S)?(b=S.modifier||b,y=S.type||y):ee(S)&&(b=S||b):k.length===2&&(ee(S)&&(b=S||b),ee(g)&&(y=g||y));let w=u(v)(_);return y==="vnode"&&Le(w)&&b&&(w=w[0]),b?h(b)(w,y):w},message:u,type:m,interpolate:c,normalize:f};return _}let gi=null;function rp(e){gi=e}function sp(e,t,n){gi&&gi.emit(ql.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const op=ap(ql.FunctionTranslate);function ap(e){return t=>gi&&gi.emit(e,t)}const lp={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,__EXTEND_POINT__:7};function cp(e,t,n){return[...new Set([n,...Le(t)?t:Ie(t)?Object.keys(t):ee(t)?[t]:[n]])]}function Ql(e,t,n){const s=ee(n)?n:wi,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(s);if(!i){i=[];let o=[n];for(;Le(o);)o=Jo(i,o,t);const l=Le(t)||!ue(t)?t:t.default?t.default:null;o=ee(l)?[l]:l,Le(o)&&Jo(i,o,!1),r.__localeChainCache.set(s,i)}return i}function Jo(e,t,n){let s=!0;for(let r=0;r<t.length&&we(s);r++){const i=t[r];ee(i)&&(s=up(e,t[r],n))}return s}function up(e,t,n){let s;const r=t.split("-");do{const i=r.join("-");s=fp(e,i,n),r.splice(-1,1)}while(r.length&&s===!0);return s}function fp(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(Le(n)||ue(n))&&n[r]&&(s=n[r])}return s}const dp="9.2.2",Er=-1,wi="en-US",Zo="",ea=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function hp(){return{upper:(e,t)=>t==="text"&&ee(e)?e.toUpperCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ee(e)?e.toLowerCase():t==="vnode"&&Ie(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ee(e)?ea(e):t==="vnode"&&Ie(e)&&"__v_isVNode"in e?ea(e.children):e}}let Jl;function pp(e){Jl=e}let Zl;function mp(e){Zl=e}let ec;function gp(e){ec=e}let tc=null;const ta=e=>{tc=e},vp=()=>tc;let nc=null;const na=e=>{nc=e},_p=()=>nc;let ia=0;function yp(e={}){const t=ee(e.version)?e.version:dp,n=ee(e.locale)?e.locale:wi,s=Le(e.fallbackLocale)||ue(e.fallbackLocale)||ee(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,r=ue(e.messages)?e.messages:{[n]:{}},i=ue(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},o=ue(e.numberFormats)?e.numberFormats:{[n]:{}},l=Ge({},e.modifiers||{},hp()),a=e.pluralRules||{},d=He(e.missing)?e.missing:null,u=we(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,h=we(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,f=!!e.fallbackFormat,c=!!e.unresolving,m=He(e.postTranslation)?e.postTranslation:null,p=ue(e.processor)?e.processor:null,_=we(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,k=He(e.messageCompiler)?e.messageCompiler:Jl,S=He(e.messageResolver)?e.messageResolver:Zl||Yh,g=He(e.localeFallbacker)?e.localeFallbacker:ec||cp,y=Ie(e.fallbackContext)?e.fallbackContext:void 0,b=He(e.onWarn)?e.onWarn:_h,w=e,P=Ie(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,T=Ie(w.__numberFormatters)?w.__numberFormatters:new Map,O=Ie(w.__meta)?w.__meta:{};ia++;const L={version:t,cid:ia,locale:n,fallbackLocale:s,messages:r,modifiers:l,pluralRules:a,missing:d,missingWarn:u,fallbackWarn:h,fallbackFormat:f,unresolving:c,postTranslation:m,processor:p,warnHtmlMessage:_,escapeParameter:v,messageCompiler:k,messageResolver:S,localeFallbacker:g,fallbackContext:y,onWarn:b,__meta:O};return L.datetimeFormats=i,L.numberFormats=o,L.__datetimeFormatters=P,L.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&sp(L,t,O),L}function Fs(e,t,n,s,r){const{missing:i,onWarn:o}=e;if(i!==null){const l=i(e,n,t,r);return ee(l)?l:t}else return t}function zn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const xp=e=>e;let ra=Object.create(null);function bp(e,t={}){{const s=(t.onCacheKey||xp)(e),r=ra[s];if(r)return r;let i=!1;const o=t.onError||bh;t.onError=d=>{i=!0,o(d)};const{code:l}=Wh(e,t),a=new Function(`return ${l}`)();return i?a:ra[s]=a}}let ic=Se.__EXTEND_POINT__;const Dr=()=>++ic,yn={INVALID_ARGUMENT:ic,INVALID_DATE_ARGUMENT:Dr(),INVALID_ISO_DATE_ARGUMENT:Dr(),__EXTEND_POINT__:Dr()};function xn(e){return wr(e,null,void 0)}const sa=()=>"",Ct=e=>He(e);function oa(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:i,fallbackLocale:o,messages:l}=e,[a,d]=es(...t),u=we(d.missingWarn)?d.missingWarn:e.missingWarn,h=we(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,f=we(d.escapeParameter)?d.escapeParameter:e.escapeParameter,c=!!d.resolvedMessage,m=ee(d.default)||we(d.default)?we(d.default)?i?a:()=>a:d.default:n?i?a:()=>a:"",p=n||m!=="",_=ee(d.locale)?d.locale:e.locale;f&&wp(d);let[v,k,S]=c?[a,_,l[_]||{}]:rc(e,a,_,o,h,u),g=v,y=a;if(!c&&!(ee(g)||Ct(g))&&p&&(g=m,y=g),!c&&(!(ee(g)||Ct(g))||!ee(k)))return r?Er:a;let b=!1;const w=()=>{b=!0},P=Ct(g)?g:sc(e,a,k,g,y,w);if(b)return g;const T=Sp(e,k,S,d),O=ip(T),L=Ep(e,P,O),N=s?s(L,a):L;if(__INTLIFY_PROD_DEVTOOLS__){const F={timestamp:Date.now(),key:ee(a)?a:Ct(g)?g.key:"",locale:k||(Ct(g)?g.locale:""),format:ee(g)?g:Ct(g)?g.source:"",message:N};F.meta=Ge({},e.__meta,vp()||{}),op(F)}return N}function wp(e){Le(e.list)?e.list=e.list.map(t=>ee(t)?Ko(t):t):Ie(e.named)&&Object.keys(e.named).forEach(t=>{ee(e.named[t])&&(e.named[t]=Ko(e.named[t]))})}function rc(e,t,n,s,r,i){const{messages:o,onWarn:l,messageResolver:a,localeFallbacker:d}=e,u=d(e,s,n);let h={},f,c=null;const m="translate";for(let p=0;p<u.length&&(f=u[p],h=o[f]||{},(c=a(h,t))===null&&(c=h[t]),!(ee(c)||He(c)));p++){const _=Fs(e,t,f,i,m);_!==t&&(c=_)}return[c,f,h]}function sc(e,t,n,s,r,i){const{messageCompiler:o,warnHtmlMessage:l}=e;if(Ct(s)){const d=s;return d.locale=d.locale||n,d.key=d.key||t,d}if(o==null){const d=()=>s;return d.locale=n,d.key=t,d}const a=o(s,kp(e,n,r,s,l,i));return a.locale=n,a.key=t,a.source=s,a}function Ep(e,t,n){return t(n)}function es(...e){const[t,n,s]=e,r={};if(!ee(t)&&!je(t)&&!Ct(t))throw xn(yn.INVALID_ARGUMENT);const i=je(t)?String(t):(Ct(t),t);return je(n)?r.plural=n:ee(n)?r.default=n:ue(n)&&!br(n)?r.named=n:Le(n)&&(r.list=n),je(s)?r.plural=s:ee(s)?r.default=s:ue(s)&&Ge(r,s),[i,r]}function kp(e,t,n,s,r,i){return{warnHtmlMessage:r,onError:o=>{throw i&&i(o),o},onCacheKey:o=>mh(t,n,o)}}function Sp(e,t,n,s){const{modifiers:r,pluralRules:i,messageResolver:o,fallbackLocale:l,fallbackWarn:a,missingWarn:d,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:c=>{let m=o(n,c);if(m==null&&u){const[,,p]=rc(u,c,t,l,a,d);m=o(p,c)}if(ee(m)){let p=!1;const v=sc(e,c,t,m,c,()=>{p=!0});return p?sa:v}else return Ct(m)?m:sa}};return e.processor&&(f.processor=e.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),je(s.plural)&&(f.pluralIndex=s.plural),f}function aa(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__datetimeFormatters:l}=e,[a,d,u,h]=ts(...t),f=we(u.missingWarn)?u.missingWarn:e.missingWarn;we(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,m=ee(u.locale)?u.locale:e.locale,p=o(e,r,m);if(!ee(a)||a==="")return new Intl.DateTimeFormat(m,h).format(d);let _={},v,k=null;const S="datetime format";for(let b=0;b<p.length&&(v=p[b],_=n[v]||{},k=_[a],!ue(k));b++)Fs(e,a,v,f,S);if(!ue(k)||!ee(v))return s?Er:a;let g=`${v}__${a}`;br(h)||(g=`${g}__${JSON.stringify(h)}`);let y=l.get(g);return y||(y=new Intl.DateTimeFormat(v,Ge({},k,h)),l.set(g,y)),c?y.formatToParts(d):y.format(d)}const oc=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ts(...e){const[t,n,s,r]=e,i={};let o={},l;if(ee(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw xn(yn.INVALID_ISO_DATE_ARGUMENT);const d=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(d);try{l.toISOString()}catch{throw xn(yn.INVALID_ISO_DATE_ARGUMENT)}}else if(vh(t)){if(isNaN(t.getTime()))throw xn(yn.INVALID_DATE_ARGUMENT);l=t}else if(je(t))l=t;else throw xn(yn.INVALID_ARGUMENT);return ee(n)?i.key=n:ue(n)&&Object.keys(n).forEach(a=>{oc.includes(a)?o[a]=n[a]:i[a]=n[a]}),ee(s)?i.locale=s:ue(s)&&(o=s),ue(r)&&(o=r),[i.key||"",l,i,o]}function la(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__datetimeFormatters.has(i)&&s.__datetimeFormatters.delete(i)}}function ca(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:i,localeFallbacker:o}=e,{__numberFormatters:l}=e,[a,d,u,h]=ns(...t),f=we(u.missingWarn)?u.missingWarn:e.missingWarn;we(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,m=ee(u.locale)?u.locale:e.locale,p=o(e,r,m);if(!ee(a)||a==="")return new Intl.NumberFormat(m,h).format(d);let _={},v,k=null;const S="number format";for(let b=0;b<p.length&&(v=p[b],_=n[v]||{},k=_[a],!ue(k));b++)Fs(e,a,v,f,S);if(!ue(k)||!ee(v))return s?Er:a;let g=`${v}__${a}`;br(h)||(g=`${g}__${JSON.stringify(h)}`);let y=l.get(g);return y||(y=new Intl.NumberFormat(v,Ge({},k,h)),l.set(g,y)),c?y.formatToParts(d):y.format(d)}const ac=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ns(...e){const[t,n,s,r]=e,i={};let o={};if(!je(t))throw xn(yn.INVALID_ARGUMENT);const l=t;return ee(n)?i.key=n:ue(n)&&Object.keys(n).forEach(a=>{ac.includes(a)?o[a]=n[a]:i[a]=n[a]}),ee(s)?i.locale=s:ue(s)&&(o=s),ue(r)&&(o=r),[i.key||"",l,i,o]}function ua(e,t,n){const s=e;for(const r in n){const i=`${t}__${r}`;s.__numberFormatters.has(i)&&s.__numberFormatters.delete(i)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ni().__INTLIFY_PROD_DEVTOOLS__=!1);/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Cp="9.2.2";function Ap(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ni().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ni().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ni().__INTLIFY_PROD_DEVTOOLS__=!1)}lp.__EXTEND_POINT__;let lc=Se.__EXTEND_POINT__;const et=()=>++lc,We={UNEXPECTED_RETURN_TYPE:lc,INVALID_ARGUMENT:et(),MUST_BE_CALL_SETUP_TOP:et(),NOT_INSLALLED:et(),NOT_AVAILABLE_IN_LEGACY_MODE:et(),REQUIRED_VALUE:et(),INVALID_VALUE:et(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:et(),NOT_INSLALLED_WITH_PROVIDE:et(),UNEXPECTED_ERROR:et(),NOT_COMPATIBLE_LEGACY_VUE_I18N:et(),BRIDGE_SUPPORT_VUE_2_ONLY:et(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:et(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:et(),__EXTEND_POINT__:et()};function Ue(e,...t){return wr(e,null,void 0)}const is=Jt("__transrateVNode"),rs=Jt("__datetimeParts"),ss=Jt("__numberParts"),cc=Jt("__setPluralRules");Jt("__intlifyMeta");const uc=Jt("__injectWithOption");function os(e){if(!Ie(e))return e;for(const t in e)if(Ns(e,t))if(!t.includes("."))Ie(e[t])&&os(e[t]);else{const n=t.split("."),s=n.length-1;let r=e;for(let i=0;i<s;i++)n[i]in r||(r[n[i]]={}),r=r[n[i]];r[n[s]]=e[t],delete e[t],Ie(r[n[s]])&&os(r[n[s]])}return e}function kr(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:i}=t,o=ue(n)?n:Le(s)?{}:{[e]:{}};if(Le(s)&&s.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:d}=l;a?(o[a]=o[a]||{},ii(d,o[a])):ii(d,o)}else ee(l)&&ii(JSON.parse(l),o)}),r==null&&i)for(const l in o)Ns(o,l)&&os(o[l]);return o}const Oi=e=>!Ie(e)||Le(e);function ii(e,t){if(Oi(e)||Oi(t))throw Ue(We.INVALID_VALUE);for(const n in e)Ns(e,n)&&(Oi(e[n])||Oi(t[n])?t[n]=e[n]:ii(e[n],t[n]))}function fc(e){return e.type}function dc(e,t,n){let s=Ie(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=kr(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,s[i])});{if(Ie(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(Ie(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function fa(e){return X(bi,null,e,0)}const da="__INTLIFY_META__";let ha=0;function pa(e){return(t,n,s,r)=>e(n,s,hi()||void 0,r)}const Tp=()=>{const e=hi();let t=null;return e&&(t=fc(e)[da])?{[da]:t}:null};function Bs(e={},t){const{__root:n}=e,s=n===void 0;let r=we(e.inheritLocale)?e.inheritLocale:!0;const i=_e(n&&r?n.locale.value:ee(e.locale)?e.locale:wi),o=_e(n&&r?n.fallbackLocale.value:ee(e.fallbackLocale)||Le(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),l=_e(kr(i.value,e)),a=_e(ue(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=_e(ue(e.numberFormats)?e.numberFormats:{[i.value]:{}});let u=n?n.missingWarn:we(e.missingWarn)||Qt(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:we(e.fallbackWarn)||Qt(e.fallbackWarn)?e.fallbackWarn:!0,f=n?n.fallbackRoot:we(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.fallbackFormat,m=He(e.missing)?e.missing:null,p=He(e.missing)?pa(e.missing):null,_=He(e.postTranslation)?e.postTranslation:null,v=n?n.warnHtmlMessage:we(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter;const S=n?n.modifiers:ue(e.modifiers)?e.modifiers:{};let g=e.pluralRules||n&&n.pluralRules,y;y=(()=>{s&&na(null);const R={version:Cp,locale:i.value,fallbackLocale:o.value,messages:l.value,modifiers:S,pluralRules:g,missing:p===null?void 0:p,missingWarn:u,fallbackWarn:h,fallbackFormat:c,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:v,escapeParameter:k,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=a.value,R.numberFormats=d.value,R.__datetimeFormatters=ue(y)?y.__datetimeFormatters:void 0,R.__numberFormatters=ue(y)?y.__numberFormatters:void 0;const D=yp(R);return s&&na(D),D})(),zn(y,i.value,o.value);function w(){return[i.value,o.value,l.value,a.value,d.value]}const P=De({get:()=>i.value,set:R=>{i.value=R,y.locale=i.value}}),T=De({get:()=>o.value,set:R=>{o.value=R,y.fallbackLocale=o.value,zn(y,i.value,R)}}),O=De(()=>l.value),L=De(()=>a.value),N=De(()=>d.value);function F(){return He(_)?_:null}function z(R){_=R,y.postTranslation=R}function J(){return m}function U(R){R!==null&&(p=pa(R)),m=R,y.missing=p}const q=(R,D,ie,se,de,Ee)=>{w();let ye;if(__INTLIFY_PROD_DEVTOOLS__)try{ta(Tp()),s||(y.fallbackContext=n?_p():void 0),ye=R(y)}finally{ta(null),s||(y.fallbackContext=void 0)}else ye=R(y);if(je(ye)&&ye===Er){const[Fe,ot]=D();return n&&f?se(n):de(Fe)}else{if(Ee(ye))return ye;throw Ue(We.UNEXPECTED_RETURN_TYPE)}};function ne(...R){return q(D=>Reflect.apply(oa,null,[D,...R]),()=>es(...R),"translate",D=>Reflect.apply(D.t,D,[...R]),D=>D,D=>ee(D))}function re(...R){const[D,ie,se]=R;if(se&&!Ie(se))throw Ue(We.INVALID_ARGUMENT);return ne(D,ie,Ge({resolvedMessage:!0},se||{}))}function pe(...R){return q(D=>Reflect.apply(aa,null,[D,...R]),()=>ts(...R),"datetime format",D=>Reflect.apply(D.d,D,[...R]),()=>Zo,D=>ee(D))}function fe(...R){return q(D=>Reflect.apply(ca,null,[D,...R]),()=>ns(...R),"number format",D=>Reflect.apply(D.n,D,[...R]),()=>Zo,D=>ee(D))}function ce(R){return R.map(D=>ee(D)||je(D)||we(D)?fa(String(D)):D)}const Ce={normalize:ce,interpolate:R=>R,type:"vnode"};function B(...R){return q(D=>{let ie;const se=D;try{se.processor=Ce,ie=Reflect.apply(oa,null,[se,...R])}finally{se.processor=null}return ie},()=>es(...R),"translate",D=>D[is](...R),D=>[fa(D)],D=>Le(D))}function Y(...R){return q(D=>Reflect.apply(ca,null,[D,...R]),()=>ns(...R),"number format",D=>D[ss](...R),()=>[],D=>ee(D)||Le(D))}function K(...R){return q(D=>Reflect.apply(aa,null,[D,...R]),()=>ts(...R),"datetime format",D=>D[rs](...R),()=>[],D=>ee(D)||Le(D))}function te(R){g=R,y.pluralRules=g}function le(R,D){const ie=ee(D)?D:i.value,se=C(ie);return y.messageResolver(se,R)!==null}function xe(R){let D=null;const ie=Ql(y,o.value,i.value);for(let se=0;se<ie.length;se++){const de=l.value[ie[se]]||{},Ee=y.messageResolver(de,R);if(Ee!=null){D=Ee;break}}return D}function ae(R){const D=xe(R);return D??(n?n.tm(R)||{}:{})}function C(R){return l.value[R]||{}}function x(R,D){l.value[R]=D,y.messages=l.value}function E(R,D){l.value[R]=l.value[R]||{},ii(D,l.value[R]),y.messages=l.value}function A(R){return a.value[R]||{}}function M(R,D){a.value[R]=D,y.datetimeFormats=a.value,la(y,R,D)}function H(R,D){a.value[R]=Ge(a.value[R]||{},D),y.datetimeFormats=a.value,la(y,R,D)}function j(R){return d.value[R]||{}}function V(R,D){d.value[R]=D,y.numberFormats=d.value,ua(y,R,D)}function G(R,D){d.value[R]=Ge(d.value[R]||{},D),y.numberFormats=d.value,ua(y,R,D)}ha++,n&&Jr&&(Tt(n.locale,R=>{r&&(i.value=R,y.locale=R,zn(y,i.value,o.value))}),Tt(n.fallbackLocale,R=>{r&&(o.value=R,y.fallbackLocale=R,zn(y,i.value,o.value))}));const W={id:ha,locale:P,fallbackLocale:T,get inheritLocale(){return r},set inheritLocale(R){r=R,R&&n&&(i.value=n.locale.value,o.value=n.fallbackLocale.value,zn(y,i.value,o.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:O,get modifiers(){return S},get pluralRules(){return g||{}},get isGlobal(){return s},get missingWarn(){return u},set missingWarn(R){u=R,y.missingWarn=u},get fallbackWarn(){return h},set fallbackWarn(R){h=R,y.fallbackWarn=h},get fallbackRoot(){return f},set fallbackRoot(R){f=R},get fallbackFormat(){return c},set fallbackFormat(R){c=R,y.fallbackFormat=c},get warnHtmlMessage(){return v},set warnHtmlMessage(R){v=R,y.warnHtmlMessage=R},get escapeParameter(){return k},set escapeParameter(R){k=R,y.escapeParameter=R},t:ne,getLocaleMessage:C,setLocaleMessage:x,mergeLocaleMessage:E,getPostTranslationHandler:F,setPostTranslationHandler:z,getMissingHandler:J,setMissingHandler:U,[cc]:te};return W.datetimeFormats=L,W.numberFormats=N,W.rt=re,W.te=le,W.tm=ae,W.d=pe,W.n=fe,W.getDateTimeFormat=A,W.setDateTimeFormat=M,W.mergeDateTimeFormat=H,W.getNumberFormat=j,W.setNumberFormat=V,W.mergeNumberFormat=G,W[uc]=e.__injectWithOption,W[is]=B,W[rs]=K,W[ss]=Y,W}function Pp(e){const t=ee(e.locale)?e.locale:wi,n=ee(e.fallbackLocale)||Le(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=He(e.missing)?e.missing:void 0,r=we(e.silentTranslationWarn)||Qt(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=we(e.silentFallbackWarn)||Qt(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=we(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,a=ue(e.modifiers)?e.modifiers:{},d=e.pluralizationRules,u=He(e.postTranslation)?e.postTranslation:void 0,h=ee(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,c=we(e.sync)?e.sync:!0;let m=e.messages;if(ue(e.sharedMessages)){const y=e.sharedMessages;m=Object.keys(y).reduce((w,P)=>{const T=w[P]||(w[P]={});return Ge(T,y[P]),w},m||{})}const{__i18n:p,__root:_,__injectWithOption:v}=e,k=e.datetimeFormats,S=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:g,datetimeFormats:k,numberFormats:S,missing:s,missingWarn:r,fallbackWarn:i,fallbackRoot:o,fallbackFormat:l,modifiers:a,pluralRules:d,postTranslation:u,warnHtmlMessage:h,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:c,__i18n:p,__root:_,__injectWithOption:v}}function as(e={},t){{const n=Bs(Pp(e)),s={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(r){},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return we(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=we(r)?!r:r},get silentFallbackWarn(){return we(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=we(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(r){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[i,o,l]=r,a={};let d=null,u=null;if(!ee(i))throw Ue(We.INVALID_ARGUMENT);const h=i;return ee(o)?a.locale=o:Le(o)?d=o:ue(o)&&(u=o),Le(l)?d=l:ue(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},a])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[i,o,l]=r,a={plural:1};let d=null,u=null;if(!ee(i))throw Ue(We.INVALID_ARGUMENT);const h=i;return ee(o)?a.locale=o:je(o)?a.plural=o:Le(o)?d=o:ue(o)&&(u=o),ee(l)?a.locale=l:Le(l)?d=l:ue(l)&&(u=l),Reflect.apply(n.t,n,[h,d||u||{},a])},te(r,i){return n.te(r,i)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,i){n.setLocaleMessage(r,i)},mergeLocaleMessage(r,i){n.mergeLocaleMessage(r,i)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,i){n.setDateTimeFormat(r,i)},mergeDateTimeFormat(r,i){n.mergeDateTimeFormat(r,i)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,i){n.setNumberFormat(r,i)},mergeNumberFormat(r,i){n.mergeNumberFormat(r,i)},getChoiceIndex(r,i){return-1},__onComponentInstanceCreated(r){const{componentInstanceCreatedListener:i}=e;i&&i(r,s)}};return s}}const Hs={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Lp({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>s=[...s,...Le(r.children)?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},{})}function hc(e){return Be}const ma={name:"i18n-t",props:Ge({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},Hs),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||be({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(h=>h!=="_"),o={};e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=ee(e.plural)?+e.plural:e.plural);const l=Lp(t,i),a=r[is](e.keypath,l,o),d=Ge({},s),u=ee(e.tag)||Ie(e.tag)?e.tag:hc();return yr(u,d,a)}}};function Ip(e){return Le(e)&&!ee(e[0])}function pc(e,t,n,s){const{slots:r,attrs:i}=t;return()=>{const o={part:!0};let l={};e.locale&&(o.locale=e.locale),ee(e.format)?o.key=e.format:Ie(e.format)&&(ee(e.format.key)&&(o.key=e.format.key),l=Object.keys(e.format).reduce((f,c)=>n.includes(c)?Ge({},f,{[c]:e.format[c]}):f,{}));const a=s(e.value,o,l);let d=[o.key];Le(a)?d=a.map((f,c)=>{const m=r[f.type],p=m?m({[f.type]:f.value,index:c,parts:a}):[f.value];return Ip(p)&&(p[0].key=`${f.type}-${c}`),p}):ee(a)&&(d=[a]);const u=Ge({},i),h=ee(e.tag)||Ie(e.tag)?e.tag:hc();return yr(h,u,d)}}const ga={name:"i18n-n",props:Ge({value:{type:Number,required:!0},format:{type:[String,Object]}},Hs),setup(e,t){const n=e.i18n||be({useScope:"parent",__useComponent:!0});return pc(e,t,ac,(...s)=>n[ss](...s))}},va={name:"i18n-d",props:Ge({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Hs),setup(e,t){const n=e.i18n||be({useScope:"parent",__useComponent:!0});return pc(e,t,oc,(...s)=>n[rs](...s))}};function Op(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function Mp(e){const t=o=>{const{instance:l,modifiers:a,value:d}=o;if(!l||!l.$)throw Ue(We.UNEXPECTED_ERROR);const u=Op(e,l.$),h=_a(d);return[Reflect.apply(u.t,u,[...ya(h)]),u]};return{created:(o,l)=>{const[a,d]=t(l);Jr&&e.global===d&&(o.__i18nWatcher=Tt(d.locale,()=>{l.instance&&l.instance.$forceUpdate()})),o.__composer=d,o.textContent=a},unmounted:o=>{Jr&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:l})=>{if(o.__composer){const a=o.__composer,d=_a(l);o.textContent=Reflect.apply(a.t,a,[...ya(d)])}},getSSRProps:o=>{const[l]=t(o);return{textContent:l}}}}function _a(e){if(ee(e))return{path:e};if(ue(e)){if(!("path"in e))throw Ue(We.REQUIRED_VALUE,"path");return e}else throw Ue(We.INVALID_VALUE)}function ya(e){const{path:t,locale:n,args:s,choice:r,plural:i}=e,o={},l=s||{};return ee(n)&&(o.locale=n),je(r)&&(o.plural=r),je(i)&&(o.plural=i),[t,l,o]}function Rp(e,t,...n){const s=ue(n[0])?n[0]:{},r=!!s.useI18nComponentName;(we(s.globalInstall)?s.globalInstall:!0)&&(e.component(r?"i18n":ma.name,ma),e.component(ga.name,ga),e.component(va.name,va)),e.directive("t",Mp(t))}function Np(e,t,n){return{beforeCreate(){const s=hi();if(!s)throw Ue(We.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root?this.$i18n=xa(e,i):(i.__injectWithOption=!0,this.$i18n=as(i))}else r.__i18n?this===this.$root?this.$i18n=xa(e,r):this.$i18n=as({__i18n:r.__i18n,__injectWithOption:!0,__root:t}):this.$i18n=e;r.__i18nGlobal&&dc(t,r,r),e.__onComponentInstanceCreated(this.$i18n),n.__setInstance(s,this.$i18n),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i)},mounted(){},unmounted(){const s=hi();if(!s)throw Ue(We.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(s),delete this.$i18n}}}function xa(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[cc](t.pluralizationRules||e.pluralizationRules);const n=kr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const $p=Jt("global-vue-i18n");function Dp(e={},t){const n=__VUE_I18N_LEGACY_API__&&we(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=we(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[o,l]=Fp(e,n),a=Jt("");function d(f){return i.get(f)||null}function u(f,c){i.set(f,c)}function h(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(c,...m){c.__VUE_I18N_SYMBOL__=a,c.provide(c.__VUE_I18N_SYMBOL__,f),!n&&s&&Kp(c,f.global),__VUE_I18N_FULL_INSTALL__&&Rp(c,f,...m),__VUE_I18N_LEGACY_API__&&n&&c.mixin(Np(l,l.__composer,f));const p=c.unmount;c.unmount=()=>{f.dispose(),p()}},get global(){return l},dispose(){o.stop()},__instances:i,__getInstance:d,__setInstance:u,__deleteInstance:h};return f}}function be(e={}){const t=hi();if(t==null)throw Ue(We.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ue(We.NOT_INSLALLED);const n=Bp(t),s=Wp(n),r=fc(t),i=Hp(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Ue(We.NOT_AVAILABLE_IN_LEGACY_MODE);return Vp(t,i,s,e)}if(i==="global")return dc(s,e,r),s;if(i==="parent"){let a=jp(n,t,e.__useComponent);return a==null&&(a=s),a}const o=n;let l=o.__getInstance(t);if(l==null){const a=Ge({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=Bs(a),Up(o,t),o.__setInstance(t,l)}return l}function Fp(e,t,n){const s=Zc();{const r=__VUE_I18N_LEGACY_API__&&t?s.run(()=>as(e)):s.run(()=>Bs(e));if(r==null)throw Ue(We.UNEXPECTED_ERROR);return[s,r]}}function Bp(e){{const t=_t(e.isCE?$p:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ue(e.isCE?We.NOT_INSLALLED_WITH_PROVIDE:We.UNEXPECTED_ERROR);return t}}function Hp(e,t){return br(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Wp(e){return e.mode==="composition"?e.global:e.global.__composer}function jp(e,t,n=!1){let s=null;const r=t.root;let i=t.parent;for(;i!=null;){const o=e;if(e.mode==="composition")s=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const l=o.__getInstance(i);l!=null&&(s=l.__composer,n&&s&&!s[uc]&&(s=null))}if(s!=null||r===i)break;i=i.parent}return s}function Up(e,t,n){ut(()=>{},t),Cs(()=>{e.__deleteInstance(t)},t)}function Vp(e,t,n,s={}){const r=t==="local",i=sl(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ue(We.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const o=we(s.inheritLocale)?s.inheritLocale:!0,l=_e(r&&o?n.locale.value:ee(s.locale)?s.locale:wi),a=_e(r&&o?n.fallbackLocale.value:ee(s.fallbackLocale)||Le(s.fallbackLocale)||ue(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:l.value),d=_e(kr(l.value,s)),u=_e(ue(s.datetimeFormats)?s.datetimeFormats:{[l.value]:{}}),h=_e(ue(s.numberFormats)?s.numberFormats:{[l.value]:{}}),f=r?n.missingWarn:we(s.missingWarn)||Qt(s.missingWarn)?s.missingWarn:!0,c=r?n.fallbackWarn:we(s.fallbackWarn)||Qt(s.fallbackWarn)?s.fallbackWarn:!0,m=r?n.fallbackRoot:we(s.fallbackRoot)?s.fallbackRoot:!0,p=!!s.fallbackFormat,_=He(s.missing)?s.missing:null,v=He(s.postTranslation)?s.postTranslation:null,k=r?n.warnHtmlMessage:we(s.warnHtmlMessage)?s.warnHtmlMessage:!0,S=!!s.escapeParameter,g=r?n.modifiers:ue(s.modifiers)?s.modifiers:{},y=s.pluralRules||r&&n.pluralRules;function b(){return[l.value,a.value,d.value,u.value,h.value]}const w=De({get:()=>i.value?i.value.locale.value:l.value,set:E=>{i.value&&(i.value.locale.value=E),l.value=E}}),P=De({get:()=>i.value?i.value.fallbackLocale.value:a.value,set:E=>{i.value&&(i.value.fallbackLocale.value=E),a.value=E}}),T=De(()=>i.value?i.value.messages.value:d.value),O=De(()=>u.value),L=De(()=>h.value);function N(){return i.value?i.value.getPostTranslationHandler():v}function F(E){i.value&&i.value.setPostTranslationHandler(E)}function z(){return i.value?i.value.getMissingHandler():_}function J(E){i.value&&i.value.setMissingHandler(E)}function U(E){return b(),E()}function q(...E){return i.value?U(()=>Reflect.apply(i.value.t,null,[...E])):U(()=>"")}function ne(...E){return i.value?Reflect.apply(i.value.rt,null,[...E]):""}function re(...E){return i.value?U(()=>Reflect.apply(i.value.d,null,[...E])):U(()=>"")}function pe(...E){return i.value?U(()=>Reflect.apply(i.value.n,null,[...E])):U(()=>"")}function fe(E){return i.value?i.value.tm(E):{}}function ce(E,A){return i.value?i.value.te(E,A):!1}function ve(E){return i.value?i.value.getLocaleMessage(E):{}}function Ce(E,A){i.value&&(i.value.setLocaleMessage(E,A),d.value[E]=A)}function B(E,A){i.value&&i.value.mergeLocaleMessage(E,A)}function Y(E){return i.value?i.value.getDateTimeFormat(E):{}}function K(E,A){i.value&&(i.value.setDateTimeFormat(E,A),u.value[E]=A)}function te(E,A){i.value&&i.value.mergeDateTimeFormat(E,A)}function le(E){return i.value?i.value.getNumberFormat(E):{}}function xe(E,A){i.value&&(i.value.setNumberFormat(E,A),h.value[E]=A)}function ae(E,A){i.value&&i.value.mergeNumberFormat(E,A)}const C={get id(){return i.value?i.value.id:-1},locale:w,fallbackLocale:P,messages:T,datetimeFormats:O,numberFormats:L,get inheritLocale(){return i.value?i.value.inheritLocale:o},set inheritLocale(E){i.value&&(i.value.inheritLocale=E)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(d.value)},get modifiers(){return i.value?i.value.modifiers:g},get pluralRules(){return i.value?i.value.pluralRules:y},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackWarn(){return i.value?i.value.fallbackWarn:c},set fallbackWarn(E){i.value&&(i.value.missingWarn=E)},get fallbackRoot(){return i.value?i.value.fallbackRoot:m},set fallbackRoot(E){i.value&&(i.value.fallbackRoot=E)},get fallbackFormat(){return i.value?i.value.fallbackFormat:p},set fallbackFormat(E){i.value&&(i.value.fallbackFormat=E)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:k},set warnHtmlMessage(E){i.value&&(i.value.warnHtmlMessage=E)},get escapeParameter(){return i.value?i.value.escapeParameter:S},set escapeParameter(E){i.value&&(i.value.escapeParameter=E)},t:q,getPostTranslationHandler:N,setPostTranslationHandler:F,getMissingHandler:z,setMissingHandler:J,rt:ne,d:re,n:pe,tm:fe,te:ce,getLocaleMessage:ve,setLocaleMessage:Ce,mergeLocaleMessage:B,getDateTimeFormat:Y,setDateTimeFormat:K,mergeDateTimeFormat:te,getNumberFormat:le,setNumberFormat:xe,mergeNumberFormat:ae};function x(E){E.locale.value=l.value,E.fallbackLocale.value=a.value,Object.keys(d.value).forEach(A=>{E.mergeLocaleMessage(A,d.value[A])}),Object.keys(u.value).forEach(A=>{E.mergeDateTimeFormat(A,u.value[A])}),Object.keys(h.value).forEach(A=>{E.mergeNumberFormat(A,h.value[A])}),E.escapeParameter=S,E.fallbackFormat=p,E.fallbackRoot=m,E.fallbackWarn=c,E.missingWarn=f,E.warnHtmlMessage=k}return xl(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ue(We.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const E=i.value=e.proxy.$i18n.__composer;t==="global"?(l.value=E.locale.value,a.value=E.fallbackLocale.value,d.value=E.messages.value,u.value=E.datetimeFormats.value,h.value=E.numberFormats.value):r&&x(E)}),C}const zp=["locale","fallbackLocale","availableLocales"],Gp=["t","rt","d","n","tm"];function Kp(e,t){const n=Object.create(null);zp.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Ue(We.UNEXPECTED_ERROR);const i=Ye(r.value)?{get(){return r.value.value},set(o){r.value.value=o}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,Gp.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Ue(We.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)})}pp(bp);mp(Xh);gp(Ql);Ap();if(__INTLIFY_PROD_DEVTOOLS__){const e=ni();e.__INTLIFY__=!0,rp(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const mc=["cookie","future","change-something","picture-bright","picture-nolights"];function vi(e){if(!mc.includes(e))return;let t=new Set(JSON.parse(localStorage.getItem("eastereggs")??"[]"));const n=!t.has(e);t.add(e),localStorage.setItem("eastereggs",JSON.stringify([...t])),n&&document.dispatchEvent(new CustomEvent("easteregg",{detail:e}))}function Ws(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function ba(){return Ws().length}function Yp(){return mc.length}const Xp={en:{"cookie policy title":"Cookie policy","cookie policy":"This website uses cookies but not for analysis purposes and they are not sent to third parties. The only cookies here are those that I ate this morning, although I prefer a savory breakfast. I don't know why you are reading this, but thanks for keeping me company, I wish you a great day. If you would like some cookies too, do not hesitate to click on the following link:","cookie policy link":"Click here to read the policy",accept:"Accept",reject:"Reject"},it:{"cookie policy title":"Informativa cookie","cookie policy":"Questo sito utilizza cookie ma non per fini di profilazione e non sono inviati a terze parti. Gli unici cookie presenti sono quelli che ho mangiato questa mattina, anche se in realtà preferisco una colazione salata. Non so perché stai leggendo questo, ma ti ringrazio per avermi fatto compagnia e ti auguro una buona giornata. Se gradisci dei biscotti, non esitare a cliccare l'informativa al seguente link:","cookie policy link":"Clicca qui per l'informativa cookie",accept:"Accetta",reject:"Rifiuta"}},qp={key:0,class:"w-full h-full"},Qp=["width","height"],Jp={ref:"banner",class:"fixed bottom-0 left-0 z-50 bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400 border rounded w-fit lg:w-1/2 p-3 px-5 m-5"},Zp={class:"text-sm"},em={class:"text-xs"},tm={class:"flex justify-end mt-2 text-sm"},nm=he({__name:"Cookie",setup(e){const{t}=be({messages:Xp}),n=_e(),s=_e(),r=_e(zo()),i=_e(u()),o=_e(h());let l=null;ut(()=>{zo()&&(c(),new ResizeObserver(()=>{f()}).observe(document.body))});function a(){dh(),r.value=!1}function d(){hh(),r.value=!1}function u(){return document.body.clientWidth}function h(){return document.body.scrollHeight}function f(){i.value=u(),o.value=h()}function c(){if(!l){l=dt.Engine.create();let _=dt.Render.create({element:n.value,canvas:s.value,engine:l,options:{width:u(),height:h(),wireframes:!1,background:"#00000000"}});dt.Render.run(_),dt.Runner.run(dt.Runner.create(),l)}f()}function m(){if(vi("cookie"),!l)return;let _=dt.Bodies.circle(fh(0,u()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Kl,xScale:.08,yScale:.08}}});dt.Composite.add(l.world,[_]);const v=.02*_.mass;dt.Body.applyForce(_,_.position,{x:v*(_.position.x>u()/2?-1:1),y:-v*Yl(3,6)}),p(_)}function p(_){_.position.y>document.body.scrollHeight+1e3?dt.Composite.remove(l.world,_):setTimeout(()=>{p(_)},5e3)}return(_,v)=>r.value?(Z(),oe("div",qp,[I("div",{ref_key:"container_cookie",ref:n,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[I("canvas",{ref_key:"canvas_cookie",ref:s,width:i.value,height:o.value},null,8,Qp)],512),I("div",Jp,[I("p",Zp,Q($(t)("cookie policy title")),1),I("div",em,[I("span",null,[Oe(Q($(t)("cookie policy"))+" ",1),I("button",{onclick:m,class:"underline"},Q($(t)("cookie policy link")),1)])]),I("div",tm,[I("button",{onclick:d,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Q($(t)("reject")),1),I("button",{onclick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},Q($(t)("accept")),1)])],512)])):Pe("",!0)}}),Hn={en:{"easter eggs found":"easter eggs found","all easter eggs found":"You found all easter eggs 🥚","cookie.title":"Who wants a cookie?","cookie.description":"It appears that you read the cookie policy","future.title":"What a wonderful future","future.description":"What will happen next?","bright.title":"It's bright","bright.description":"I don't like the light","bright_either.description":"I don't like the light either","dark.title":"It's dark","dark.description":"I don't like the dark","dark_either.description":"I don't like the dark either","something.title":"You didn't like that?","something.description":"I hope this one is better"},it:{"easter eggs found":"easter egg trovati","all easter eggs found":"Hai trovato tutti gli easter egg 🥚","cookie.title":"Chi vuole un biscotto?","cookie.description":"Sembra che hai letto l'informativa cookie","future.title":"Che bello il futuro","future.description":"Cosa ci riserverà?","bright.title":"È luminoso","bright.description":"Non mi piace la luce","bright_either.description":"Non mi piace nemmeno la luce","dark.title":"È buio","dark.description":"Non mi piace il buio","dark_either.description":"Non mi piace nemmeno il buio","something.title":"Non ti piaceva?","something.description":"Spero che questo sia meglio"}},im={class:"flex justify-center text-sm"},rm={class:"flex items-center justify-center"},sm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},om=["src"],am={class:"flex-1 ml-2"},lm={class:"font-bold text-base"},cm=he({__name:"Cookie",setup(e){const{t}=be({messages:Hn});return(n,s)=>(Z(),oe("div",im,[I("div",rm,[I("div",sm,[I("img",{src:$(Kl),alt:"",class:"h-full w-full"},null,8,om)])]),I("div",am,[I("p",lm,Q($(t)("cookie.title")),1),I("p",null,Q($(t)("cookie.description")),1)])]))}}),um="/assets/future-cbee0ccf.png",fm={class:"flex text-sm"},dm={class:"flex items-center justify-center"},hm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},pm=["src"],mm={class:"flex-1 ml-2"},gm={class:"font-bold text-base"},vm=he({__name:"Future",setup(e){const{t}=be({messages:Hn});return(n,s)=>(Z(),oe("div",fm,[I("div",dm,[I("div",hm,[I("img",{src:$(um),alt:"",class:"h-full w-full"},null,8,pm)])]),I("div",mm,[I("p",gm,Q($(t)("future.title")),1),I("p",null,Q($(t)("future.description")),1)])]))}}),_m="/assets/sad-334039fc.svg",ym={class:"flex text-sm"},xm={class:"flex items-center justify-center"},bm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},wm=["src"],Em={class:"flex-1 ml-2"},km={class:"font-bold text-base"},Sm=he({__name:"Something",setup(e){const{t}=be({messages:Hn});return(n,s)=>(Z(),oe("div",ym,[I("div",xm,[I("div",bm,[I("img",{src:$(_m),alt:"",class:"h-full w-full dark:invert"},null,8,wm)])]),I("div",Em,[I("p",km,Q($(t)("something.title")),1),I("p",null,Q($(t)("something.description")),1)])]))}}),Cm="/assets/sun-2c52867b.png",Am={class:"flex text-sm"},Tm={class:"flex items-center justify-center"},Pm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},Lm=["src"],Im={class:"flex-1 ml-2"},Om={class:"font-bold text-base"},Mm={key:0},Rm={key:1},Nm=he({__name:"PictureBright",setup(e){const{t}=be({messages:Hn}),n=_e(Ws().includes("picture-nolights"));return(s,r)=>(Z(),oe("div",Am,[I("div",Tm,[I("div",Pm,[I("img",{src:$(Cm),alt:"",class:"h-full w-full"},null,8,Lm)])]),I("div",Im,[I("p",Om,Q($(t)("bright.title")),1),n.value?Pe("",!0):(Z(),oe("p",Mm,Q($(t)("bright.description")),1)),n.value?(Z(),oe("p",Rm,Q($(t)("bright_either.description")),1)):Pe("",!0)])]))}}),$m="/assets/moon-907b4d10.png",Dm={class:"flex text-sm"},Fm={class:"flex items-center justify-center"},Bm={class:"w-10 h-10 flex items-center justify-center overflow-hidden"},Hm=["src"],Wm={class:"flex-1 ml-2"},jm={class:"font-bold text-base"},Um={key:0},Vm={key:1},zm=he({__name:"PictureNoLight",setup(e){const{t}=be({messages:Hn}),n=_e(Ws().includes("picture-bright"));return(s,r)=>(Z(),oe("div",Dm,[I("div",Fm,[I("div",Bm,[I("img",{src:$($m),alt:"",class:"h-full w-full"},null,8,Hm)])]),I("div",Wm,[I("p",jm,Q($(t)("dark.title")),1),n.value?Pe("",!0):(Z(),oe("p",Um,Q($(t)("dark.description")),1)),n.value?(Z(),oe("p",Vm,Q($(t)("dark_either.description")),1)):Pe("",!0)])]))}}),Gm={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},Km={class:"flex text-sm"},Ym={class:"flex-1"},Xm={class:"mt-1 text-center"},qm={key:0},Qm={key:1},Jm=he({__name:"EastereggBanner",setup(e,{expose:t}){const n=_e(!1),s=_e(""),r=_e(Yp()),i=_e(ba()),{t:o}=be({messages:Hn});let l=null;function a(u){s.value=u,i.value=ba(),n.value=!0,l&&clearTimeout(l),l=setTimeout(()=>{d()},7e3)}function d(){n.value=!1}return t({show:a}),(u,h)=>n.value?(Z(),oe("div",Gm,[I("div",{class:$n(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto
bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400
transition-opacity ${n.value?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:d},[I("div",Km,[I("div",Ym,[s.value==="cookie"?(Z(),Ke(cm,{key:0})):Pe("",!0),s.value==="future"?(Z(),Ke(vm,{key:1})):Pe("",!0),s.value==="change-something"?(Z(),Ke(Sm,{key:2})):Pe("",!0),s.value==="picture-bright"?(Z(),Ke(Nm,{key:3})):Pe("",!0),s.value==="picture-nolights"?(Z(),Ke(zm,{key:4})):Pe("",!0),I("div",Xm,[i.value!=r.value?(Z(),oe("p",qm,Q(i.value)+"/"+Q(r.value)+" "+Q($(o)("easter eggs found")),1)):Pe("",!0),i.value===r.value?(Z(),oe("p",Qm,Q($(o)("all easter eggs found")),1)):Pe("",!0)])])])],2)])):Pe("",!0)}}),Zm={en:{title_home:"Hello",title_about:"About",title_projects:"Projects",title_resume:"Résumé",title_contacts:"Say hello",log_hello:"Hello 🐡"},it:{title_home:"Ciao",title_about:"Chi sono",title_projects:"Progetti",title_resume:"CV",title_contacts:"Salutami",log_hello:"Ciao 🐡"}},eg={class:"bg-gray-100 text-gray-900 min-h-screen h-full dark:bg-gray-900 dark:text-slate-50",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},tg={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},ng={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},ig=he({__name:"App",setup(e){const{t,locale:n}=be({messages:Zm}),s=Rs(),r=_e();return ut(()=>{Gl(),document.addEventListener("easteregg",i=>{r.value.show(i.detail)}),console.log(t("log_hello"))}),Tt([()=>s.params,n],()=>{document.title=t(`title_${s.name}`)}),(i,o)=>(Z(),oe("div",eg,[I("div",tg,[I("div",ng,[X($(zl))])]),X(nm),X(Jm,{ref_key:"easteregg",ref:r},null,512)]))}}),Gn=he({__name:"NavLink",props:{to:{type:String,required:!0},label:String},setup(e){const t=e,n=Rs(),s=_e(n.path===t.to);return(r,i)=>{const o=ef("router-link");return Z(),oe("li",null,[X(o,{to:t.to,"aria-current":s.value?"page":null,class:$n(`block py-2 md:p-0 text-right md:text-center
${s.value?"font-bold text-zinc-900 dark:text-zinc-400":"font-normal hover:underline text-gray-700 dark:text-slate-50"}`)},{default:Re(()=>[Oe(Q(t.label),1)]),_:1},8,["to","aria-current","class"])])}}}),rg="/assets/moon-275e1fc7.svg",sg="/assets/sun-d3368bbf.svg",og={class:"w-5 h-5 flex items-center justify-center"},ag={key:0},lg=["src"],cg={key:1},ug=["src"],fg=he({__name:"ThemeSwitch",setup(e){const t=_e(Ji());function n(){lh(),t.value=Ji(),Gl(t.value)}return(s,r)=>(Z(),oe("button",{class:"rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700",onclick:n},[I("div",og,[t.value==="light"?(Z(),oe("div",ag,[I("img",{src:$(rg),alt:"Dark theme",class:"h-full w-full"},null,8,lg)])):Pe("",!0),t.value==="dark"?(Z(),oe("div",cg,[I("img",{src:$(sg),alt:"Light theme",class:"invert h-full w-full"},null,8,ug)])):Pe("",!0)])]))}});var dg=function(){function e(t,n){n===void 0&&(n=[]),this._eventType=t,this._eventFunctions=n}return e.prototype.init=function(){var t=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(t._eventType,n)})},e}(),Zi=globalThis&&globalThis.__assign||function(){return Zi=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Zi.apply(this,arguments)},er={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},gc=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=er),this._items=t,this._options=Zi(Zi({},er),n),this._init()}return e.prototype._init=function(){var t=this;this._items.length&&this._items.map(function(n){n.active&&t.open(n.id),n.triggerEl.addEventListener("click",function(){t.toggle(n.id)})})},e.prototype.getItem=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.open=function(t){var n,s,r=this,i=this.getItem(t);this._options.alwaysOpen||this._items.map(function(o){var l,a;o!==i&&((l=o.triggerEl.classList).remove.apply(l,r._options.activeClasses.split(" ")),(a=o.triggerEl.classList).add.apply(a,r._options.inactiveClasses.split(" ")),o.targetEl.classList.add("hidden"),o.triggerEl.setAttribute("aria-expanded","false"),o.active=!1,o.iconEl&&o.iconEl.classList.remove("rotate-180"))}),(n=i.triggerEl.classList).add.apply(n,this._options.activeClasses.split(" ")),(s=i.triggerEl.classList).remove.apply(s,this._options.inactiveClasses.split(" ")),i.triggerEl.setAttribute("aria-expanded","true"),i.targetEl.classList.remove("hidden"),i.active=!0,i.iconEl&&i.iconEl.classList.add("rotate-180"),this._options.onOpen(this,i)},e.prototype.toggle=function(t){var n=this.getItem(t);n.active?this.close(t):this.open(t),this._options.onToggle(this,n)},e.prototype.close=function(t){var n,s,r=this.getItem(t);(n=r.triggerEl.classList).remove.apply(n,this._options.activeClasses.split(" ")),(s=r.triggerEl.classList).add.apply(s,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},e}();typeof window<"u"&&(window.Accordion=gc);function hg(){document.querySelectorAll("[data-accordion]").forEach(function(e){var t=e.getAttribute("data-accordion"),n=e.getAttribute("data-active-classes"),s=e.getAttribute("data-inactive-classes"),r=[];e.querySelectorAll("[data-accordion-target]").forEach(function(i){var o={id:i.getAttribute("data-accordion-target"),triggerEl:i,targetEl:document.querySelector(i.getAttribute("data-accordion-target")),iconEl:i.querySelector("[data-accordion-icon]"),active:i.getAttribute("aria-expanded")==="true"};r.push(o)}),new gc(r,{alwaysOpen:t==="open",activeClasses:n||er.activeClasses,inactiveClasses:s||er.inactiveClasses})})}var tr=globalThis&&globalThis.__assign||function(){return tr=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},tr.apply(this,arguments)},wa={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},vc=function(){function e(t,n,s){t===void 0&&(t=null),n===void 0&&(n=null),s===void 0&&(s=wa),this._targetEl=t,this._triggerEl=n,this._options=tr(tr({},wa),s),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){t._visible?t.collapse():t.expand()}))},e.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},e.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},e.prototype.toggle=function(){this._visible?this.collapse():this.expand()},e}();typeof window<"u"&&(window.Collapse=vc);function _c(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(e){var t=e.getAttribute("data-collapse-toggle"),n=document.getElementById(t);n?new vc(n,e):console.error('The target element with id "'.concat(t,'" does not exist. Please check the data-collapse-toggle attribute.'))})}var an=globalThis&&globalThis.__assign||function(){return an=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},an.apply(this,arguments)},Ui={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},yc=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=Ui),this._items=t,this._options=an(an(an({},Ui),n),{indicators:an(an({},Ui.indicators),n.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return e.prototype._init=function(){var t=this;this._items.map(function(n){n.el.classList.add("absolute","inset-0","transition-all","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(n,s){n.el.addEventListener("click",function(){t.slideTo(s)})})},e.prototype.getItem=function(t){return this._items[t]},e.prototype.slideTo=function(t){var n=this._items[t],s={left:n.position===0?this._items[this._items.length-1]:this._items[n.position-1],middle:n,right:n.position===this._items.length-1?this._items[0]:this._items[n.position+1]};this._rotate(s),this._setActiveItem(n),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},e.prototype.next=function(){var t=this._getActiveItem(),n=null;t.position===this._items.length-1?n=this._items[0]:n=this._items[t.position+1],this.slideTo(n.position),this._options.onNext(this)},e.prototype.prev=function(){var t=this._getActiveItem(),n=null;t.position===0?n=this._items[this._items.length-1]:n=this._items[t.position-1],this.slideTo(n.position),this._options.onPrev(this)},e.prototype._rotate=function(t){this._items.map(function(n){n.el.classList.add("hidden")}),t.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.left.el.classList.add("-translate-x-full","z-10"),t.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),t.middle.el.classList.add("translate-x-0","z-20"),t.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),t.right.el.classList.add("translate-x-full","z-10")},e.prototype.cycle=function(){var t=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){t.next()},this._intervalDuration))},e.prototype.pause=function(){clearInterval(this._intervalInstance)},e.prototype._getActiveItem=function(){return this._activeItem},e.prototype._setActiveItem=function(t){var n,s,r=this;this._activeItem=t;var i=t.position;this._indicators.length&&(this._indicators.map(function(o){var l,a;o.el.setAttribute("aria-current","false"),(l=o.el.classList).remove.apply(l,r._options.indicators.activeClasses.split(" ")),(a=o.el.classList).add.apply(a,r._options.indicators.inactiveClasses.split(" "))}),(n=this._indicators[i].el.classList).add.apply(n,this._options.indicators.activeClasses.split(" ")),(s=this._indicators[i].el.classList).remove.apply(s,this._options.indicators.inactiveClasses.split(" ")),this._indicators[i].el.setAttribute("aria-current","true"))},e}();typeof window<"u"&&(window.Carousel=yc);function pg(){document.querySelectorAll("[data-carousel]").forEach(function(e){var t=e.getAttribute("data-carousel-interval"),n=e.getAttribute("data-carousel")==="slide",s=[],r=0;e.querySelectorAll("[data-carousel-item]").length&&Array.from(e.querySelectorAll("[data-carousel-item]")).map(function(d,u){s.push({position:u,el:d}),d.getAttribute("data-carousel-item")==="active"&&(r=u)});var i=[];e.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(e.querySelectorAll("[data-carousel-slide-to]")).map(function(d){i.push({position:parseInt(d.getAttribute("data-carousel-slide-to")),el:d})});var o=new yc(s,{defaultPosition:r,indicators:{items:i},interval:t||Ui.interval});n&&o.cycle();var l=e.querySelector("[data-carousel-next]"),a=e.querySelector("[data-carousel-prev]");l&&l.addEventListener("click",function(){o.next()}),a&&a.addEventListener("click",function(){o.prev()})})}var nr=globalThis&&globalThis.__assign||function(){return nr=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},nr.apply(this,arguments)},Ea={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},xc=function(){function e(t,n,s){t===void 0&&(t=null),n===void 0&&(n=null),s===void 0&&(s=Ea),this._targetEl=t,this._triggerEl=n,this._options=nr(nr({},Ea),s),this._init()}return e.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){t.hide()})},e.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){t._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},e}();typeof window<"u"&&(window.Dismiss=xc);function mg(){document.querySelectorAll("[data-dismiss-target]").forEach(function(e){var t=e.getAttribute("data-dismiss-target"),n=document.querySelector(t);n?new xc(n,e):console.error('The dismiss element with id "'.concat(t,'" does not exist. Please check the data-dismiss-target attribute.'))})}var nt="top",lt="bottom",ct="right",it="left",js="auto",Ei=[nt,lt,ct,it],On="start",_i="end",gg="clippingParents",bc="viewport",Kn="popper",vg="reference",ka=Ei.reduce(function(e,t){return e.concat([t+"-"+On,t+"-"+_i])},[]),wc=[].concat(Ei,[js]).reduce(function(e,t){return e.concat([t,t+"-"+On,t+"-"+_i])},[]),_g="beforeRead",yg="read",xg="afterRead",bg="beforeMain",wg="main",Eg="afterMain",kg="beforeWrite",Sg="write",Cg="afterWrite",Ag=[_g,yg,xg,bg,wg,Eg,kg,Sg,Cg];function It(e){return e?(e.nodeName||"").toLowerCase():null}function ft(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pn(e){var t=ft(e).Element;return e instanceof t||e instanceof Element}function at(e){var t=ft(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Us(e){if(typeof ShadowRoot>"u")return!1;var t=ft(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Tg(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!at(i)||!It(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var l=r[o];l===!1?i.removeAttribute(o):i.setAttribute(o,l===!0?"":l)}))})}function Pg(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),l=o.reduce(function(a,d){return a[d]="",a},{});!at(r)||!It(r)||(Object.assign(r.style,l),Object.keys(i).forEach(function(a){r.removeAttribute(a)}))})}}const Lg={name:"applyStyles",enabled:!0,phase:"write",fn:Tg,effect:Pg,requires:["computeStyles"]};function Pt(e){return e.split("-")[0]}var hn=Math.max,ir=Math.min,Mn=Math.round;function ls(){var e=navigator.userAgentData;return e!=null&&e.brands?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Ec(){return!/^((?!chrome|android).)*safari/i.test(ls())}function Rn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&at(e)&&(r=e.offsetWidth>0&&Mn(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Mn(s.height)/e.offsetHeight||1);var o=pn(e)?ft(e):window,l=o.visualViewport,a=!Ec()&&n,d=(s.left+(a&&l?l.offsetLeft:0))/r,u=(s.top+(a&&l?l.offsetTop:0))/i,h=s.width/r,f=s.height/i;return{width:h,height:f,top:u,right:d+h,bottom:u+f,left:d,x:d,y:u}}function Vs(e){var t=Rn(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function kc(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Us(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function Dt(e){return ft(e).getComputedStyle(e)}function Ig(e){return["table","td","th"].indexOf(It(e))>=0}function en(e){return((pn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Sr(e){return It(e)==="html"?e:e.assignedSlot||e.parentNode||(Us(e)?e.host:null)||en(e)}function Sa(e){return!at(e)||Dt(e).position==="fixed"?null:e.offsetParent}function Og(e){var t=/firefox/i.test(ls()),n=/Trident/i.test(ls());if(n&&at(e)){var s=Dt(e);if(s.position==="fixed")return null}var r=Sr(e);for(Us(r)&&(r=r.host);at(r)&&["html","body"].indexOf(It(r))<0;){var i=Dt(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function ki(e){for(var t=ft(e),n=Sa(e);n&&Ig(n)&&Dt(n).position==="static";)n=Sa(n);return n&&(It(n)==="html"||It(n)==="body"&&Dt(n).position==="static")?t:n||Og(e)||t}function zs(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ri(e,t,n){return hn(e,ir(t,n))}function Mg(e,t,n){var s=ri(e,t,n);return s>n?n:s}function Sc(){return{top:0,right:0,bottom:0,left:0}}function Cc(e){return Object.assign({},Sc(),e)}function Ac(e,t){return t.reduce(function(n,s){return n[s]=e,n},{})}var Rg=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,Cc(typeof t!="number"?t:Ac(t,Ei))};function Ng(e){var t,n=e.state,s=e.name,r=e.options,i=n.elements.arrow,o=n.modifiersData.popperOffsets,l=Pt(n.placement),a=zs(l),d=[it,ct].indexOf(l)>=0,u=d?"height":"width";if(!(!i||!o)){var h=Rg(r.padding,n),f=Vs(i),c=a==="y"?nt:it,m=a==="y"?lt:ct,p=n.rects.reference[u]+n.rects.reference[a]-o[a]-n.rects.popper[u],_=o[a]-n.rects.reference[a],v=ki(i),k=v?a==="y"?v.clientHeight||0:v.clientWidth||0:0,S=p/2-_/2,g=h[c],y=k-f[u]-h[m],b=k/2-f[u]/2+S,w=ri(g,b,y),P=a;n.modifiersData[s]=(t={},t[P]=w,t.centerOffset=w-b,t)}}function $g(e){var t=e.state,n=e.options,s=n.element,r=s===void 0?"[data-popper-arrow]":s;r!=null&&(typeof r=="string"&&(r=t.elements.popper.querySelector(r),!r)||kc(t.elements.popper,r)&&(t.elements.arrow=r))}const Dg={name:"arrow",enabled:!0,phase:"main",fn:Ng,effect:$g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Nn(e){return e.split("-")[1]}var Fg={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Bg(e){var t=e.x,n=e.y,s=window,r=s.devicePixelRatio||1;return{x:Mn(t*r)/r||0,y:Mn(n*r)/r||0}}function Ca(e){var t,n=e.popper,s=e.popperRect,r=e.placement,i=e.variation,o=e.offsets,l=e.position,a=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,h=e.isFixed,f=o.x,c=f===void 0?0:f,m=o.y,p=m===void 0?0:m,_=typeof u=="function"?u({x:c,y:p}):{x:c,y:p};c=_.x,p=_.y;var v=o.hasOwnProperty("x"),k=o.hasOwnProperty("y"),S=it,g=nt,y=window;if(d){var b=ki(n),w="clientHeight",P="clientWidth";if(b===ft(n)&&(b=en(n),Dt(b).position!=="static"&&l==="absolute"&&(w="scrollHeight",P="scrollWidth")),b=b,r===nt||(r===it||r===ct)&&i===_i){g=lt;var T=h&&b===y&&y.visualViewport?y.visualViewport.height:b[w];p-=T-s.height,p*=a?1:-1}if(r===it||(r===nt||r===lt)&&i===_i){S=ct;var O=h&&b===y&&y.visualViewport?y.visualViewport.width:b[P];c-=O-s.width,c*=a?1:-1}}var L=Object.assign({position:l},d&&Fg),N=u===!0?Bg({x:c,y:p}):{x:c,y:p};if(c=N.x,p=N.y,a){var F;return Object.assign({},L,(F={},F[g]=k?"0":"",F[S]=v?"0":"",F.transform=(y.devicePixelRatio||1)<=1?"translate("+c+"px, "+p+"px)":"translate3d("+c+"px, "+p+"px, 0)",F))}return Object.assign({},L,(t={},t[g]=k?p+"px":"",t[S]=v?c+"px":"",t.transform="",t))}function Hg(e){var t=e.state,n=e.options,s=n.gpuAcceleration,r=s===void 0?!0:s,i=n.adaptive,o=i===void 0?!0:i,l=n.roundOffsets,a=l===void 0?!0:l,d={placement:Pt(t.placement),variation:Nn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Ca(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:a})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Ca(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:a})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Wg={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Hg,data:{}};var Mi={passive:!0};function jg(e){var t=e.state,n=e.instance,s=e.options,r=s.scroll,i=r===void 0?!0:r,o=s.resize,l=o===void 0?!0:o,a=ft(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&d.forEach(function(u){u.addEventListener("scroll",n.update,Mi)}),l&&a.addEventListener("resize",n.update,Mi),function(){i&&d.forEach(function(u){u.removeEventListener("scroll",n.update,Mi)}),l&&a.removeEventListener("resize",n.update,Mi)}}const Ug={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:jg,data:{}};var Vg={left:"right",right:"left",bottom:"top",top:"bottom"};function Vi(e){return e.replace(/left|right|bottom|top/g,function(t){return Vg[t]})}var zg={start:"end",end:"start"};function Aa(e){return e.replace(/start|end/g,function(t){return zg[t]})}function Gs(e){var t=ft(e),n=t.pageXOffset,s=t.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Ks(e){return Rn(en(e)).left+Gs(e).scrollLeft}function Gg(e,t){var n=ft(e),s=en(e),r=n.visualViewport,i=s.clientWidth,o=s.clientHeight,l=0,a=0;if(r){i=r.width,o=r.height;var d=Ec();(d||!d&&t==="fixed")&&(l=r.offsetLeft,a=r.offsetTop)}return{width:i,height:o,x:l+Ks(e),y:a}}function Kg(e){var t,n=en(e),s=Gs(e),r=(t=e.ownerDocument)==null?void 0:t.body,i=hn(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=hn(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),l=-s.scrollLeft+Ks(e),a=-s.scrollTop;return Dt(r||n).direction==="rtl"&&(l+=hn(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:o,x:l,y:a}}function Ys(e){var t=Dt(e),n=t.overflow,s=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+s)}function Tc(e){return["html","body","#document"].indexOf(It(e))>=0?e.ownerDocument.body:at(e)&&Ys(e)?e:Tc(Sr(e))}function si(e,t){var n;t===void 0&&(t=[]);var s=Tc(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),i=ft(s),o=r?[i].concat(i.visualViewport||[],Ys(s)?s:[]):s,l=t.concat(o);return r?l:l.concat(si(Sr(o)))}function cs(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Yg(e,t){var n=Rn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ta(e,t,n){return t===bc?cs(Gg(e,n)):pn(t)?Yg(t,n):cs(Kg(en(e)))}function Xg(e){var t=si(Sr(e)),n=["absolute","fixed"].indexOf(Dt(e).position)>=0,s=n&&at(e)?ki(e):e;return pn(s)?t.filter(function(r){return pn(r)&&kc(r,s)&&It(r)!=="body"}):[]}function qg(e,t,n,s){var r=t==="clippingParents"?Xg(e):[].concat(t),i=[].concat(r,[n]),o=i[0],l=i.reduce(function(a,d){var u=Ta(e,d,s);return a.top=hn(u.top,a.top),a.right=ir(u.right,a.right),a.bottom=ir(u.bottom,a.bottom),a.left=hn(u.left,a.left),a},Ta(e,o,s));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}function Pc(e){var t=e.reference,n=e.element,s=e.placement,r=s?Pt(s):null,i=s?Nn(s):null,o=t.x+t.width/2-n.width/2,l=t.y+t.height/2-n.height/2,a;switch(r){case nt:a={x:o,y:t.y-n.height};break;case lt:a={x:o,y:t.y+t.height};break;case ct:a={x:t.x+t.width,y:l};break;case it:a={x:t.x-n.width,y:l};break;default:a={x:t.x,y:t.y}}var d=r?zs(r):null;if(d!=null){var u=d==="y"?"height":"width";switch(i){case On:a[d]=a[d]-(t[u]/2-n[u]/2);break;case _i:a[d]=a[d]+(t[u]/2-n[u]/2);break}}return a}function yi(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=s===void 0?e.placement:s,i=n.strategy,o=i===void 0?e.strategy:i,l=n.boundary,a=l===void 0?gg:l,d=n.rootBoundary,u=d===void 0?bc:d,h=n.elementContext,f=h===void 0?Kn:h,c=n.altBoundary,m=c===void 0?!1:c,p=n.padding,_=p===void 0?0:p,v=Cc(typeof _!="number"?_:Ac(_,Ei)),k=f===Kn?vg:Kn,S=e.rects.popper,g=e.elements[m?k:f],y=qg(pn(g)?g:g.contextElement||en(e.elements.popper),a,u,o),b=Rn(e.elements.reference),w=Pc({reference:b,element:S,strategy:"absolute",placement:r}),P=cs(Object.assign({},S,w)),T=f===Kn?P:b,O={top:y.top-T.top+v.top,bottom:T.bottom-y.bottom+v.bottom,left:y.left-T.left+v.left,right:T.right-y.right+v.right},L=e.modifiersData.offset;if(f===Kn&&L){var N=L[r];Object.keys(O).forEach(function(F){var z=[ct,lt].indexOf(F)>=0?1:-1,J=[nt,lt].indexOf(F)>=0?"y":"x";O[F]+=N[J]*z})}return O}function Qg(e,t){t===void 0&&(t={});var n=t,s=n.placement,r=n.boundary,i=n.rootBoundary,o=n.padding,l=n.flipVariations,a=n.allowedAutoPlacements,d=a===void 0?wc:a,u=Nn(s),h=u?l?ka:ka.filter(function(m){return Nn(m)===u}):Ei,f=h.filter(function(m){return d.indexOf(m)>=0});f.length===0&&(f=h);var c=f.reduce(function(m,p){return m[p]=yi(e,{placement:p,boundary:r,rootBoundary:i,padding:o})[Pt(p)],m},{});return Object.keys(c).sort(function(m,p){return c[m]-c[p]})}function Jg(e){if(Pt(e)===js)return[];var t=Vi(e);return[Aa(e),t,Aa(t)]}function Zg(e){var t=e.state,n=e.options,s=e.name;if(!t.modifiersData[s]._skip){for(var r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,l=o===void 0?!0:o,a=n.fallbackPlacements,d=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,c=n.flipVariations,m=c===void 0?!0:c,p=n.allowedAutoPlacements,_=t.options.placement,v=Pt(_),k=v===_,S=a||(k||!m?[Vi(_)]:Jg(_)),g=[_].concat(S).reduce(function(Ce,B){return Ce.concat(Pt(B)===js?Qg(t,{placement:B,boundary:u,rootBoundary:h,padding:d,flipVariations:m,allowedAutoPlacements:p}):B)},[]),y=t.rects.reference,b=t.rects.popper,w=new Map,P=!0,T=g[0],O=0;O<g.length;O++){var L=g[O],N=Pt(L),F=Nn(L)===On,z=[nt,lt].indexOf(N)>=0,J=z?"width":"height",U=yi(t,{placement:L,boundary:u,rootBoundary:h,altBoundary:f,padding:d}),q=z?F?ct:it:F?lt:nt;y[J]>b[J]&&(q=Vi(q));var ne=Vi(q),re=[];if(i&&re.push(U[N]<=0),l&&re.push(U[q]<=0,U[ne]<=0),re.every(function(Ce){return Ce})){T=L,P=!1;break}w.set(L,re)}if(P)for(var pe=m?3:1,fe=function(B){var Y=g.find(function(K){var te=w.get(K);if(te)return te.slice(0,B).every(function(le){return le})});if(Y)return T=Y,"break"},ce=pe;ce>0;ce--){var ve=fe(ce);if(ve==="break")break}t.placement!==T&&(t.modifiersData[s]._skip=!0,t.placement=T,t.reset=!0)}}const ev={name:"flip",enabled:!0,phase:"main",fn:Zg,requiresIfExists:["offset"],data:{_skip:!1}};function Pa(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function La(e){return[nt,ct,lt,it].some(function(t){return e[t]>=0})}function tv(e){var t=e.state,n=e.name,s=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,o=yi(t,{elementContext:"reference"}),l=yi(t,{altBoundary:!0}),a=Pa(o,s),d=Pa(l,r,i),u=La(a),h=La(d);t.modifiersData[n]={referenceClippingOffsets:a,popperEscapeOffsets:d,isReferenceHidden:u,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const nv={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:tv};function iv(e,t,n){var s=Pt(e),r=[it,nt].indexOf(s)>=0?-1:1,i=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=i[0],l=i[1];return o=o||0,l=(l||0)*r,[it,ct].indexOf(s)>=0?{x:l,y:o}:{x:o,y:l}}function rv(e){var t=e.state,n=e.options,s=e.name,r=n.offset,i=r===void 0?[0,0]:r,o=wc.reduce(function(u,h){return u[h]=iv(h,t.rects,i),u},{}),l=o[t.placement],a=l.x,d=l.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=a,t.modifiersData.popperOffsets.y+=d),t.modifiersData[s]=o}const sv={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:rv};function ov(e){var t=e.state,n=e.name;t.modifiersData[n]=Pc({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const av={name:"popperOffsets",enabled:!0,phase:"read",fn:ov,data:{}};function lv(e){return e==="x"?"y":"x"}function cv(e){var t=e.state,n=e.options,s=e.name,r=n.mainAxis,i=r===void 0?!0:r,o=n.altAxis,l=o===void 0?!1:o,a=n.boundary,d=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,c=f===void 0?!0:f,m=n.tetherOffset,p=m===void 0?0:m,_=yi(t,{boundary:a,rootBoundary:d,padding:h,altBoundary:u}),v=Pt(t.placement),k=Nn(t.placement),S=!k,g=zs(v),y=lv(g),b=t.modifiersData.popperOffsets,w=t.rects.reference,P=t.rects.popper,T=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,O=typeof T=="number"?{mainAxis:T,altAxis:T}:Object.assign({mainAxis:0,altAxis:0},T),L=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,N={x:0,y:0};if(b){if(i){var F,z=g==="y"?nt:it,J=g==="y"?lt:ct,U=g==="y"?"height":"width",q=b[g],ne=q+_[z],re=q-_[J],pe=c?-P[U]/2:0,fe=k===On?w[U]:P[U],ce=k===On?-P[U]:-w[U],ve=t.elements.arrow,Ce=c&&ve?Vs(ve):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Sc(),Y=B[z],K=B[J],te=ri(0,w[U],Ce[U]),le=S?w[U]/2-pe-te-Y-O.mainAxis:fe-te-Y-O.mainAxis,xe=S?-w[U]/2+pe+te+K+O.mainAxis:ce+te+K+O.mainAxis,ae=t.elements.arrow&&ki(t.elements.arrow),C=ae?g==="y"?ae.clientTop||0:ae.clientLeft||0:0,x=(F=L==null?void 0:L[g])!=null?F:0,E=q+le-x-C,A=q+xe-x,M=ri(c?ir(ne,E):ne,q,c?hn(re,A):re);b[g]=M,N[g]=M-q}if(l){var H,j=g==="x"?nt:it,V=g==="x"?lt:ct,G=b[y],W=y==="y"?"height":"width",R=G+_[j],D=G-_[V],ie=[nt,it].indexOf(v)!==-1,se=(H=L==null?void 0:L[y])!=null?H:0,de=ie?R:G-w[W]-P[W]-se+O.altAxis,Ee=ie?G+w[W]+P[W]-se-O.altAxis:D,ye=c&&ie?Mg(de,G,Ee):ri(c?de:R,G,c?Ee:D);b[y]=ye,N[y]=ye-G}t.modifiersData[s]=N}}const uv={name:"preventOverflow",enabled:!0,phase:"main",fn:cv,requiresIfExists:["offset"]};function fv(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function dv(e){return e===ft(e)||!at(e)?Gs(e):fv(e)}function hv(e){var t=e.getBoundingClientRect(),n=Mn(t.width)/e.offsetWidth||1,s=Mn(t.height)/e.offsetHeight||1;return n!==1||s!==1}function pv(e,t,n){n===void 0&&(n=!1);var s=at(t),r=at(t)&&hv(t),i=en(t),o=Rn(e,r,n),l={scrollLeft:0,scrollTop:0},a={x:0,y:0};return(s||!s&&!n)&&((It(t)!=="body"||Ys(i))&&(l=dv(t)),at(t)?(a=Rn(t,!0),a.x+=t.clientLeft,a.y+=t.clientTop):i&&(a.x=Ks(i))),{x:o.left+l.scrollLeft-a.x,y:o.top+l.scrollTop-a.y,width:o.width,height:o.height}}function mv(e){var t=new Map,n=new Set,s=[];e.forEach(function(i){t.set(i.name,i)});function r(i){n.add(i.name);var o=[].concat(i.requires||[],i.requiresIfExists||[]);o.forEach(function(l){if(!n.has(l)){var a=t.get(l);a&&r(a)}}),s.push(i)}return e.forEach(function(i){n.has(i.name)||r(i)}),s}function gv(e){var t=mv(e);return Ag.reduce(function(n,s){return n.concat(t.filter(function(r){return r.phase===s}))},[])}function vv(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function _v(e){var t=e.reduce(function(n,s){var r=n[s.name];return n[s.name]=r?Object.assign({},r,s,{options:Object.assign({},r.options,s.options),data:Object.assign({},r.data,s.data)}):s,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ia={placement:"bottom",modifiers:[],strategy:"absolute"};function Oa(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(s){return!(s&&typeof s.getBoundingClientRect=="function")})}function yv(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,s=n===void 0?[]:n,r=t.defaultOptions,i=r===void 0?Ia:r;return function(l,a,d){d===void 0&&(d=i);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ia,i),modifiersData:{},elements:{reference:l,popper:a},attributes:{},styles:{}},h=[],f=!1,c={state:u,setOptions:function(v){var k=typeof v=="function"?v(u.options):v;p(),u.options=Object.assign({},i,u.options,k),u.scrollParents={reference:pn(l)?si(l):l.contextElement?si(l.contextElement):[],popper:si(a)};var S=gv(_v([].concat(s,u.options.modifiers)));return u.orderedModifiers=S.filter(function(g){return g.enabled}),m(),c.update()},forceUpdate:function(){if(!f){var v=u.elements,k=v.reference,S=v.popper;if(Oa(k,S)){u.rects={reference:pv(k,ki(S),u.options.strategy==="fixed"),popper:Vs(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(O){return u.modifiersData[O.name]=Object.assign({},O.data)});for(var g=0;g<u.orderedModifiers.length;g++){if(u.reset===!0){u.reset=!1,g=-1;continue}var y=u.orderedModifiers[g],b=y.fn,w=y.options,P=w===void 0?{}:w,T=y.name;typeof b=="function"&&(u=b({state:u,options:P,name:T,instance:c})||u)}}}},update:vv(function(){return new Promise(function(_){c.forceUpdate(),_(u)})}),destroy:function(){p(),f=!0}};if(!Oa(l,a))return c;c.setOptions(d).then(function(_){!f&&d.onFirstUpdate&&d.onFirstUpdate(_)});function m(){u.orderedModifiers.forEach(function(_){var v=_.name,k=_.options,S=k===void 0?{}:k,g=_.effect;if(typeof g=="function"){var y=g({state:u,name:v,instance:c,options:S}),b=function(){};h.push(y||b)}})}function p(){h.forEach(function(_){return _()}),h=[]}return c}}var xv=[Ug,av,Wg,Lg,sv,ev,uv,Dg,nv],Xs=yv({defaultModifiers:xv}),Vt=globalThis&&globalThis.__assign||function(){return Vt=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Vt.apply(this,arguments)},Ri=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var s=0,r=t.length,i;s<r;s++)(i||!(s in t))&&(i||(i=Array.prototype.slice.call(t,0,s)),i[s]=t[s]);return e.concat(i||Array.prototype.slice.call(t))},oi={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,onShow:function(){},onHide:function(){}},Lc=function(){function e(t,n,s){t===void 0&&(t=null),n===void 0&&(n=null),s===void 0&&(s=oi),this._targetEl=t,this._triggerEl=n,this._options=Vt(Vt({},oi),s),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){t.toggle()})},e.prototype._createPopperInstance=function(){return Xs(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},e.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(n){t._handleClickOutside(n,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},e.prototype._handleClickOutside=function(t,n){var s=t.target;s!==n&&!n.contains(s)&&!this._triggerEl.contains(s)&&this._visible&&this.hide()},e.prototype.toggle=function(){this._visible?this.hide():this.show()},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(t){return Vt(Vt({},t),{modifiers:Ri(Ri([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(t){return Vt(Vt({},t),{modifiers:Ri(Ri([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},e}();typeof window<"u"&&(window.Dropdown=Lc);function Ic(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(e){var t=e.getAttribute("data-dropdown-toggle"),n=document.getElementById(t);if(n){var s=e.getAttribute("data-dropdown-placement"),r=e.getAttribute("data-dropdown-offset-skidding"),i=e.getAttribute("data-dropdown-offset-distance");new Lc(n,e,{placement:s||oi.placement,offsetSkidding:r?parseInt(r):oi.offsetSkidding,offsetDistance:i?parseInt(i):oi.offsetDistance})}else console.error('The dropdown element with id "'.concat(t,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}var rr=globalThis&&globalThis.__assign||function(){return rr=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},rr.apply(this,arguments)},bn={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",onHide:function(){},onShow:function(){},onToggle:function(){}},us=function(){function e(t,n){t===void 0&&(t=null),n===void 0&&(n=bn),this._targetEl=t,this._options=rr(rr({},bn),n),this._isHidden=!0,this._backdropEl=null,this._init()}return e.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map(function(n){t._targetEl.classList.add(n)})},e.prototype._createBackdrop=function(){var t;if(this._isHidden){var n=document.createElement("div");n.setAttribute("modal-backdrop",""),(t=n.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(n),this._backdropEl=n}},e.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},e.prototype._setupModalCloseEventListeners=function(){var t=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(n){t._handleOutsideClick(n.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(n){n.key==="Escape"&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},e.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},e.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},e.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},e.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},e.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._setupModalCloseEventListeners(),this._options.onShow(this))},e.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._removeModalCloseEventListeners(),this._options.onHide(this))},e.prototype.isVisible=function(){return!this._isHidden},e.prototype.isHidden=function(){return this._isHidden},e}();typeof window<"u"&&(window.Modal=us);var Ni=function(e,t){return t.some(function(n){return n.id===e})?t.find(function(n){return n.id===e}):null};function bv(){var e=[];document.querySelectorAll("[data-modal-target]").forEach(function(t){var n=t.getAttribute("data-modal-target"),s=document.getElementById(n);if(s){var r=s.getAttribute("data-modal-placement"),i=s.getAttribute("data-modal-backdrop");Ni(n,e)||e.push({id:n,object:new us(s,{placement:r||bn.placement,backdrop:i||bn.backdrop})})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(t){var n=t.getAttribute("data-modal-toggle"),s=document.getElementById(n);if(s){var r=s.getAttribute("data-modal-placement"),i=s.getAttribute("data-modal-backdrop"),o=Ni(n,e);o||(o={id:n,object:new us(s,{placement:r||bn.placement,backdrop:i||bn.backdrop})},e.push(o)),t.addEventListener("click",function(){o.object.toggle()})}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(t){var n=t.getAttribute("data-modal-show"),s=document.getElementById(n);if(s){var r=Ni(n,e);r?t.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(t){var n=t.getAttribute("data-modal-hide"),s=document.getElementById(n);if(s){var r=Ni(n,e);r?t.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(n," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(n," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}var sr=globalThis&&globalThis.__assign||function(){return sr=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},sr.apply(this,arguments)},ln={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},Oc=function(){function e(t,n){t===void 0&&(t=null),n===void 0&&(n=ln),this._targetEl=t,this._options=sr(sr({},ln),n),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(n){t._targetEl.classList.add(n)}),document.addEventListener("keydown",function(n){n.key==="Escape"&&t.isVisible()&&t.hide()})},e.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.add(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.remove(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._targetEl.classList.add(n)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(n){t._targetEl.classList.remove(n)})):(this._getPlacementClasses(this._options.placement).active.map(function(n){t._targetEl.classList.add(n)}),this._getPlacementClasses(this._options.placement).inactive.map(function(n){t._targetEl.classList.remove(n)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},e.prototype._createBackdrop=function(){var t,n=this;if(!this._visible){var s=document.createElement("div");s.setAttribute("drawer-backdrop",""),(t=s.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),s.addEventListener("click",function(){n.hide()})}},e.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},e.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e}();typeof window<"u"&&(window.Drawer=Oc);var $i=function(e,t){if(t.some(function(n){return n.id===e}))return t.find(function(n){return n.id===e})};function wv(){var e=[];document.querySelectorAll("[data-drawer-target]").forEach(function(t){var n=t.getAttribute("data-drawer-target"),s=document.getElementById(n);if(s){var r=t.getAttribute("data-drawer-placement"),i=t.getAttribute("data-drawer-body-scrolling"),o=t.getAttribute("data-drawer-backdrop"),l=t.getAttribute("data-drawer-edge"),a=t.getAttribute("data-drawer-edge-offset");$i(n,e)||e.push({id:n,object:new Oc(s,{placement:r||ln.placement,bodyScrolling:i?i==="true":ln.bodyScrolling,backdrop:o?o==="true":ln.backdrop,edge:l?l==="true":ln.edge,edgeOffset:a||ln.edgeOffset})})}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(t){var n=t.getAttribute("data-drawer-toggle"),s=document.getElementById(n);if(s){var r=$i(n,e);r?t.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(t){var n=t.getAttribute("data-drawer-dismiss")?t.getAttribute("data-drawer-dismiss"):t.getAttribute("data-drawer-hide"),s=document.getElementById(n);if(s){var r=$i(n,e);r?t.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(t){var n=t.getAttribute("data-drawer-show"),s=document.getElementById(n);if(s){var r=$i(n,e);r?t.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(n," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(n," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}var or=globalThis&&globalThis.__assign||function(){return or=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},or.apply(this,arguments)},Ma={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},Mc=function(){function e(t,n){t===void 0&&(t=[]),n===void 0&&(n=Ma),this._items=t,this._activeTab=n?this.getTab(n.defaultTabId):null,this._options=or(or({},Ma),n),this._init()}return e.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(n){n.triggerEl.addEventListener("click",function(){t.show(n.id)})}))},e.prototype.getActiveTab=function(){return this._activeTab},e.prototype._setActiveTab=function(t){this._activeTab=t},e.prototype.getTab=function(t){return this._items.filter(function(n){return n.id===t})[0]},e.prototype.show=function(t,n){var s,r,i=this;n===void 0&&(n=!1);var o=this.getTab(t);o===this._activeTab&&!n||(this._items.map(function(l){var a,d;l!==o&&((a=l.triggerEl.classList).remove.apply(a,i._options.activeClasses.split(" ")),(d=l.triggerEl.classList).add.apply(d,i._options.inactiveClasses.split(" ")),l.targetEl.classList.add("hidden"),l.triggerEl.setAttribute("aria-selected","false"))}),(s=o.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(r=o.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-selected","true"),o.targetEl.classList.remove("hidden"),this._setActiveTab(o),this._options.onShow(this,o))},e}();typeof window<"u"&&(window.Tabs=Mc);function Ev(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(e){var t=[],n=null;e.querySelectorAll('[role="tab"]').forEach(function(s){var r=s.getAttribute("aria-selected")==="true",i={id:s.getAttribute("data-tabs-target"),triggerEl:s,targetEl:document.querySelector(s.getAttribute("data-tabs-target"))};t.push(i),r&&(n=i.id)}),new Mc(t,{defaultTabId:n})})}var zt=globalThis&&globalThis.__assign||function(){return zt=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},zt.apply(this,arguments)},Di=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var s=0,r=t.length,i;s<r;s++)(i||!(s in t))&&(i||(i=Array.prototype.slice.call(t,0,s)),i[s]=t[s]);return e.concat(i||Array.prototype.slice.call(t))},ar={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){}},Rc=function(){function e(t,n,s){t===void 0&&(t=null),n===void 0&&(n=null),s===void 0&&(s=ar),this._targetEl=t,this._triggerEl=n,this._options=zt(zt({},ar),s),this._popperInstance=this._createPopperInstance(),this._init()}return e.prototype._init=function(){var t=this;if(this._triggerEl){var n=this._getTriggerEvents();n.showEvents.forEach(function(s){t._triggerEl.addEventListener(s,function(){t.show()})}),n.hideEvents.forEach(function(s){t._triggerEl.addEventListener(s,function(){t.hide()})})}},e.prototype._createPopperInstance=function(){return Xs(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return zt(zt({},t),{modifiers:Di(Di([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._popperInstance.update(),this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return zt(zt({},t),{modifiers:Di(Di([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._options.onHide(this)},e}();typeof window<"u"&&(window.Tooltip=Rc);function Nc(){document.querySelectorAll("[data-tooltip-target]").forEach(function(e){var t=e.getAttribute("data-tooltip-target"),n=document.getElementById(t);if(n){var s=e.getAttribute("data-tooltip-trigger"),r=e.getAttribute("data-tooltip-placement");new Rc(n,e,{placement:r||ar.placement,triggerType:s||ar.triggerType})}else console.error('The tooltip element with id "'.concat(t,'" does not exist. Please check the data-tooltip-target attribute.'))})}var Gt=globalThis&&globalThis.__assign||function(){return Gt=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Gt.apply(this,arguments)},Fi=globalThis&&globalThis.__spreadArray||function(e,t,n){if(n||arguments.length===2)for(var s=0,r=t.length,i;s<r;s++)(i||!(s in t))&&(i||(i=Array.prototype.slice.call(t,0,s)),i[s]=t[s]);return e.concat(i||Array.prototype.slice.call(t))},ai={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){}},$c=function(){function e(t,n,s){t===void 0&&(t=null),n===void 0&&(n=null),s===void 0&&(s=ai),this._targetEl=t,this._triggerEl=n,this._options=Gt(Gt({},ai),s),this._popperInstance=this._createPopperInstance(),this._init()}return e.prototype._init=function(){var t=this;if(this._triggerEl){var n=this._getTriggerEvents();n.showEvents.forEach(function(s){t._triggerEl.addEventListener(s,function(){t.show()}),t._targetEl.addEventListener(s,function(){t.show()})}),n.hideEvents.forEach(function(s){t._triggerEl.addEventListener(s,function(){setTimeout(function(){t._targetEl.matches(":hover")||t.hide()},100)}),t._targetEl.addEventListener(s,function(){setTimeout(function(){t._triggerEl.matches(":hover")||t.hide()},100)})})}},e.prototype._createPopperInstance=function(){return Xs(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},e.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},e.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(t){return Gt(Gt({},t),{modifiers:Fi(Fi([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._popperInstance.update(),this._options.onShow(this)},e.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(t){return Gt(Gt({},t),{modifiers:Fi(Fi([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._options.onHide(this)},e}();typeof window<"u"&&(window.Popover=$c);function Dc(){document.querySelectorAll("[data-popover-target]").forEach(function(e){var t=e.getAttribute("data-popover-target"),n=document.getElementById(t);if(n){var s=e.getAttribute("data-popover-trigger"),r=e.getAttribute("data-popover-placement"),i=e.getAttribute("data-popover-offset");new $c(n,e,{placement:r||ai.placement,offset:i?parseInt(i):ai.offset,triggerType:s||ai.triggerType})}else console.error('The popover element with id "'.concat(t,'" does not exist. Please check the data-popover-target attribute.'))})}var lr=globalThis&&globalThis.__assign||function(){return lr=Object.assign||function(e){for(var t,n=1,s=arguments.length;n<s;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},lr.apply(this,arguments)},fs={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Fc=function(){function e(t,n,s,r){t===void 0&&(t=null),n===void 0&&(n=null),s===void 0&&(s=null),r===void 0&&(r=fs),this._parentEl=t,this._triggerEl=n,this._targetEl=s,this._options=lr(lr({},fs),r),this._visible=!1,this._init()}return e.prototype._init=function(){var t=this;if(this._triggerEl){var n=this._getTriggerEventTypes(this._options.triggerType);n.show.forEach(function(s){t._triggerEl.addEventListener(s,function(){t.show()}),t._targetEl.addEventListener(s,function(){t.show()})}),n.hide.forEach(function(s){t._parentEl.addEventListener(s,function(){setTimeout(function(){t._parentEl.matches(":hover")||t.hide()},100)})})}},e.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},e.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},e.prototype.toggle=function(){this._visible?this.hide():this.show()},e.prototype.isHidden=function(){return!this._visible},e.prototype.isVisible=function(){return this._visible},e.prototype._getTriggerEventTypes=function(t){switch(t){case"hover":return{show:["mouseenter","focus"],hide:["mouseleave","blur"]};case"click":return{show:["click","focus"],hide:["focusout","blur"]};default:return{show:["mouseenter","focus"],hide:["mouseleave","blur"]}}},e}();typeof window<"u"&&(window.Dial=Fc);function kv(){document.querySelectorAll("[data-dial-init]").forEach(function(e){var t=e.querySelector("[data-dial-toggle]");if(t){var n=t.getAttribute("data-dial-toggle"),s=document.getElementById(n);if(s){var r=t.getAttribute("data-dial-trigger");new Fc(e,t,s,{triggerType:r||fs.triggerType})}else console.error("Dial with id ".concat(n," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(e.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}var Sv=new dg("load",[hg,_c,pg,mg,Ic,bv,wv,Ev,Nc,Dc,kv]);Sv.init();function Cv(){return localStorage.getItem("locale")??window.navigator.language.split("-")[0]}function Av(e,t){var n;localStorage.setItem("locale",e),t.locale.value=e,(n=document==null?void 0:document.querySelector("html"))==null||n.setAttribute("lang",e)}const Tv="/assets/globe-ab1f599e.svg",Pv={id:"button-dropdown-locales","data-dropdown-toggle":"dropdown-locales",type:"button",class:"rounded-full p-1 hover:bg-slate-200 dark:hover:bg-slate-700"},Lv={class:"w-5 h-5 flex items-center justify-center"},Iv=["src"],Ov={id:"dropdown-locales",class:"z-10 hidden bg-white divide-y divide-gray-100 rounded shadow dark:bg-gray-700 dark:divide-gray-600"},Mv={class:"p-3 space-y-1 text-sm text-gray-700 dark:text-gray-200","aria-labelledby":"button-dropdown-locales"},Rv=["id","value"],Nv=["for"],$v={class:"flex items-center p-2 px-5 rounded hover:bg-gray-100 dark:hover:bg-gray-600"},Dv=he({__name:"LanguageSelector",setup(e){let t=be();ut(()=>{Ic()});function n(s){const r=s.target.value;Av(r,t)}return(s,r)=>(Z(),oe("div",null,[I("button",Pv,[I("div",Lv,[I("img",{src:$(Tv),alt:"Language",class:"h-full w-full dark:invert"},null,8,Iv)])]),I("div",Ov,[I("ul",Mv,[(Z(!0),oe(Be,null,Yi(s.$i18n.availableLocales,i=>(Z(),oe("li",{key:`locale-${i}`},[I("input",{id:`radio-locale-${i}`,type:"radio",value:i,name:"locale",class:"hidden",onChange:n},null,40,Rv),I("label",{for:`radio-locale-${i}`,class:"text-sm font-medium uppercase text-gray-900 rounded dark:text-gray-300"},[I("div",$v,Q(i),1)],8,Nv)]))),128))])])]))}}),Fv={it:{"open nav":"Apri menù di navigazione",home:"Home",projects:"Progetti",about:"Chi sono",resume:"CV",contacts:"Contatti"},en:{"open nav":"Open navbar",home:"Home",projects:"Projects",about:"About",resume:"Résumé",contacts:"Contacts"}},Bv="/assets/github-7a0dd11e.svg",Hv={class:"bg-transparent border-gray-200 py-2.5"},Wv={class:"container flex flex-wrap items-center justify-end md:justify-start mx-auto"},jv={class:"block md:flex w-full"},Uv={class:"flex justify-end items-center order-2 md:w-1/2"},Vv={href:"https://github.com/NotXia",class:"rounded-full p-1 mx-1 hover:bg-slate-200 dark:hover:bg-slate-700"},zv=["src"],Gv={class:"inline-flex items-center mx-3 text-sm text-gray-500 md:hidden dark:text-gray-400","data-collapse-toggle":"navbar-main",type:"button","aria-controls":"navbar-main","aria-expanded":"false"},Kv={class:"sr-only"},Yv=I("svg",{class:"w-6 h-6","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[I("path",{"fill-rule":"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z","clip-rule":"evenodd"})],-1),Xv={class:"flex items-center order-1 md:w-full"},qv={class:"hidden w-full md:block md:w-auto",id:"navbar-main"},Qv={class:"flex flex-col py-4 pr-4 mt-0 md:flex-row md:space-x-8 md:text-sm md:font-medium bg-transparent"},Si=he({__name:"Navbar",setup(e){const{t}=be({messages:Fv});return ut(()=>{_c()}),(n,s)=>(Z(),oe("nav",Hv,[I("div",Wv,[I("div",jv,[I("div",Uv,[I("a",Vv,[I("img",{src:$(Bv),alt:"Github",class:"h-5 dark:invert"},null,8,zv)]),X(fg,{class:"mx-1"}),X(Dv,{class:"mx-1"}),I("button",Gv,[I("span",Kv,Q($(t)("open nav")),1),Yv])]),I("div",Xv,[I("div",qv,[I("ul",Qv,[X(Gn,{to:"/",label:$(t)("home")},null,8,["label"]),X(Gn,{to:"/about",label:$(t)("about")},null,8,["label"]),X(Gn,{to:"/projects",label:$(t)("projects")},null,8,["label"]),X(Gn,{to:"/resume",label:$(t)("resume")},null,8,["label"]),X(Gn,{to:"/contacts",label:$(t)("contacts")},null,8,["label"])])])])])])]))}}),Bc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Jv={},Zv={class:"flex flex-1 items-center py-0"},e_={class:"w-full"};function t_(e,t){return Z(),oe("div",Zv,[I("div",e_,[As(e.$slots,"default")])])}const qs=Bc(Jv,[["render",t_]]),n_="/assets/penguin-29e5f450.png",i_="/assets/llama-b63bb9a2.png",r_="/assets/rock-3ce48816.png",s_="/assets/coconut-10cfad46.png",o_="/assets/red-panda-14ec54d4.png",a_={en:{penguin:"This is a penguin",llama:"This is a llama",rock:"This is a rock",coconut:"This is a coconut","red panda":"This is a red panda"},it:{penguin:"Questo è un pinguino",llama:"Questo è un lama",rock:"Questo è un sasso",coconut:"Questa è una noce di cocco","red panda":"Questo è un panda rosso"}},l_={class:"w-52"},c_=["src"],u_={class:"text-center text-sm mt-2 select-none"},f_=he({__name:"RandomSomething",setup(e){const{t}=be({messages:a_}),n=[{name:"penguin",image:n_},{name:"llama",image:i_},{name:"rock",image:r_},{name:"coconut",image:s_},{name:"red panda",image:o_}],s=_e(""),r=_e("");i();function i(){const l=uh(n.filter(a=>a.name!==s.value));s.value=l.name,r.value=l.image}function o(){vi("change-something"),i()}return(l,a)=>(Z(),oe("div",l_,[I("img",{src:r.value,alt:"",class:"h-40 max-w-xs max-w- mx-auto",onclick:o},null,8,c_),I("p",u_,Q($(t)(s.value)),1)]))}}),d_={en:{"i am a":"I'm a","cs student":"Computer Science Student","a very accurate description of me":"Sometimes a bit distracted"},it:{"i am a":"Sono uno","cs student":"Studente di Informatica","a very accurate description of me":"A volte un po' distratto"}},h_={class:"relative z-10"},p_={class:"block md:flex justify-center items-center"},m_={class:"text-center md:text-left"},g_={class:"text-2xl md:text-3xl font-semibold uppercase"},v_={class:"text-4xl md:text-5xl font-semibold uppercase"},__={class:"text-xl lowercase"},y_={class:"w-fit mx-auto mt-5 md:m-0 md:ml-10"},x_=he({__name:"Home",setup(e){const{t}=be({messages:d_});return(n,s)=>(Z(),oe(Be,null,[I("div",h_,[X(Si)]),X(qs,null,{default:Re(()=>[I("main",null,[I("div",p_,[I("div",m_,[I("p",g_,Q($(t)("i am a")),1),I("p",v_,Q($(t)("cs student")),1),I("p",__,Q($(t)("a very accurate description of me")),1)]),I("div",y_,[X(f_)])])])]),_:1})],64))}}),b_={class:"h-full w-fit"},w_={key:0,class:"flex h-full w-full items-center justify-center"},E_=I("span",{class:"animate-ping absolute inline-flex h-5 w-5 rounded-full bg-slate-800 dark:bg-slate-200 opacity-75"},null,-1),k_=[E_],S_={id:"gr_grid_widget_1673812364",class:"h-full"},C_=he({__name:"Goodreads",setup(e){const t=_e(!0);return ut(()=>{var r;document.querySelector("#script-goodreads")&&((r=document.querySelector("#script-goodreads"))==null||r.remove());let n=document.createElement("script");n.src="https://www.goodreads.com/review/grid_widget/158866642?cover_size=medium&hide_link=true&hide_title=true&num_books=20&order=d&shelf=currently-reading&sort=date_updated&widget_id=1673812364",n.id="script-goodreads",n.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(n);let s=new MutationObserver(function(i){document.querySelectorAll("#gr_grid_widget_1673812364 > * img").forEach(o=>o.src=o.src.replace("_SX98_","_SY475_")),s.disconnect(),t.value=!1});s.observe(document.querySelector("#gr_grid_widget_1673812364"),{childList:!0})}),(n,s)=>(Z(),oe("div",b_,[t.value?(Z(),oe("div",w_,k_)):Pe("",!0),Xn(I("div",S_,null,512),[[qn,!t.value]])]))}});const Ra="/assets/picture-dark-ad19452c.png",A_="/assets/picture-light-a3c44647.png",T_="/assets/picture-bright-9bdab578.png",P_="/assets/picture-nolight-9ff9bfb3.png",L_={en:{"that's bright":"That's bright",better:"Better","where lights":"Who turned off the lights?","here lights":"Here they are"},it:{"that's bright":"È luminoso",better:"Meglio","where lights":"Chi ha spento le luci?","here lights":"Eccole"}},I_={class:"relative"},O_={class:"flex items-center h-60 w-60"},M_=["src"],R_=["src"],N_=["src"],$_=["src"],D_={key:0,class:"absolute bottom-0 left-0 w-full"},F_={class:"w-fit mx-auto px-2 pt-1 mb-1 bg-gray-200 dark:bg-gray-700"},B_=he({__name:"ProfilePicture",setup(e){var u;const{t,locale:n}=be({messages:L_}),s=_e(Ra),r=_e("picture_dark"),i=Rs();let o=(u=document.querySelector("html"))!=null&&u.classList.contains("dark")?"dark1":"light1",l={dark1:{image:"dark",message:"",expect:"dark",next:"bright"},bright:{image:"bright",message:"that's bright",expect:"light",next:"dark2"},dark2:{image:"dark",message:"better",expect:"dark",next:"light_final"},light1:{image:"light",message:"",expect:"light",next:"nolights"},nolights:{image:"no light",message:"where lights",expect:"dark",next:"light2"},light2:{image:"light",message:"here lights",expect:"light",next:"dark_final"},dark_final:{image:"dark",message:"",expect:"dark",next:"light_final"},light_final:{image:"light",message:"",expect:"light",next:"dark_final"}};function a(){var h,f;s.value=(h=l[o])==null?void 0:h.image,r.value=t((f=l[o])==null?void 0:f.message)}function d(){var h;o=(h=l[o])==null?void 0:h.next}return ut(()=>{a();let h=new MutationObserver(function(f){var m;if(i.path!=="/about"){h.disconnect();return}const c=(m=document.querySelector("html"))==null?void 0:m.classList.contains("dark");l[l[o].next].expect===(c?"dark":"light")&&(d(),a(),o==="bright"?vi("picture-bright"):o==="nolights"&&vi("picture-nolights"))});h.observe(document.querySelector("html"),{attributes:!0,attributeFilter:["class"]})}),Tt(n,()=>{a()}),(h,f)=>(Z(),oe("div",I_,[I("div",O_,[Xn(I("img",{src:$(Ra),alt:"",class:"max-h-full max-w-full"},null,8,M_),[[qn,s.value==="dark"]]),Xn(I("img",{src:$(A_),alt:"",class:"max-h-full max-w-full"},null,8,R_),[[qn,s.value==="light"]]),Xn(I("img",{src:$(T_),alt:"",class:"max-h-full max-w-full"},null,8,N_),[[qn,s.value==="bright"]]),Xn(I("img",{src:$(P_),alt:"",class:"max-h-full max-w-full"},null,8,$_),[[qn,s.value==="no light"]])]),r.value?(Z(),oe("div",D_,[I("p",F_,Q(r.value),1)])):Pe("",!0)]))}}),H_={en:{"about me":"About me",reading:"Currently I'm reading","that's bright":"That's bright",thanks:"Thanks"},it:{"about me":"Su di me",reading:"Attualmente sto leggendo","that's bright":"È luminoso",thanks:"Grazie"}},W_={class:"flex flex-col md:flex-row md:justify-between items-center h-full"},j_={class:"text-xl order-2 md:order-1 [&>*>p]:mb-2"},U_={class:"text-5xl font-bold mb-5"},V_={key:0},z_=I("p",null,[Oe(" Mi chiamo "),I("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia Tian Cheng"),Oe(", spesso conosciuto come Xia (cognome) o Riccardo. Studio informatica all'Università di Bologna e al momento i miei interessi sono orientati verso l'analisi dati e l'intelligenza artificiale. ")],-1),G_=I("p",null,[Oe(" Oltre a premere tasti sulla tastiera, mi piace leggere, sperimentare in cucina "),I("span",{class:"text-xs"},"(preferibilmente con un estintore nei paraggi)"),Oe(" e giocare a giochi strategici. ")],-1),K_=I("p",null,[Oe(" Secondo "),I("a",{class:"hover:underline italic",href:"https://www.16personalities.com"},"16Personalities"),Oe(" sono un "),I("a",{class:"font-mono hover:underline",href:"https://www.16personalities.com/profiles/6b57f54bf1242"},"Architetto (INTJ)"),Oe(". Devo dire che la descrizione è decisamente accurata. ")],-1),Y_=[z_,G_,K_],X_={key:1},q_=I("p",null,[Oe(" My name is "),I("span",{"data-popover-target":"popover-name",class:"underline decoration-dashed decoration-slate-900/70 dark:decoration-slate-50/70"},"Xia Tian Cheng"),Oe(", frequently known as Xia (surname) or Richard. I am a computer science student at the University of Bologna and currently my interests are focused on data analysis and artificial intelligence. ")],-1),Q_=I("p",null,[Oe(" Aside from pressing keys on a keyboard, I like reading, cooking "),I("span",{class:"text-xs"},"(preferably with a fire extinguisher nearby)"),Oe(" and playing strategic games. ")],-1),J_=I("p",null,[Oe(" According to "),I("a",{class:"hover:underline italic",href:"https://www.16personalities.com"},"16Personalities"),Oe(" I'm an "),I("a",{class:"font-mono hover:underline",href:"https://www.16personalities.com/profiles/6b57f54bf1242"},"Architect (INTJ)"),Oe(". I must admit that the description is quite accurate. ")],-1),Z_=[q_,Q_,J_],e0={class:"order-1 mb-3 ml-0 md:order-2 md:mb-0 md:ml-10"},t0={class:"mt-5"},n0={class:"text-center text-xl"},i0={class:"flex justify-center"},r0=I("div",{"data-popover":"",id:"popover-name",role:"tooltip",class:"absolute z-10 invisible inline-block transition-opacity duration-500 opacity-0"},[I("div",{class:"text-lg px-3 py-2 bg-slate-200 dark:bg-slate-800 rounded"}," 夏天成 ")],-1),s0=he({__name:"About",setup(e){const{t,locale:n}=be({messages:H_}),s=_e(n.value);return De(()=>{const r=new Date,i=new Date(2001,8,29),o=r.getMonth()-i.getMonth();let l=r.getFullYear()-i.getFullYear();return(o<0||o===0&&r.getDate()<i.getDate())&&l--,l}),ut(()=>{Dc()}),Tt(n,()=>{s.value=n.value}),(r,i)=>(Z(),oe(Be,null,[X(Si),X(qs,null,{default:Re(()=>[I("main",null,[I("div",W_,[I("div",j_,[I("h1",U_,Q($(t)("about me")),1),s.value==="it"?(Z(),oe("div",V_,Y_)):Pe("",!0),s.value==="en"?(Z(),oe("div",X_,Z_)):Pe("",!0)]),I("div",e0,[X(B_)])]),I("div",t0,[I("p",n0,Q($(t)("reading")),1),I("div",i0,[X(C_,{class:"h-48"})])])])]),_:1}),r0],64))}}),o0={class:"border border-gray-500 dark:border-gray-300 rounded-md p-3 mx-auto w-full lg:w-2/3 xl:w-1/2"},a0={class:"text-2xl font-semibold text-center text-gray-900 dark:text-white"},l0={class:"text-center mb-2"},c0=["href"],u0={class:"text-lg whitespace-pre-wrap mb-2 text-gray-500 dark:text-gray-400"},f0=["src"],Ot=he({__name:"ProjectCard",props:{title:String,links:Object,image:String},setup(e){const t=e;return(n,s)=>(Z(),oe("div",o0,[I("h3",a0,Q(t.title),1),I("div",l0,[(Z(!0),oe(Be,null,Yi(t.links,r=>(Z(),oe("a",{href:r.url,class:"font-mono inline-block hover:underline mx-2"},Q(r.label),9,c0))),256))]),I("p",u0,[As(n.$slots,"default")]),I("img",{src:t.image,alt:"",class:"max-w-full max-h-96 mx-auto"},null,8,f0)]))}}),xt={en:{projects:"Projects",wip:"Currently I'm working on",completed:"Completed projects","unibo_20-21":"University of Bologna, A.Y. 2020-2021","unibo_21-22":"University of Bologna, A.Y. 2021-2022","unibo_22-23":"University of Bologna, A.Y. 2022-2023","notxia.github.io.description":"Here's a secret preview of my website.","no recursion":"Recursion out of service, sorry for the inconvenience.","wirefilter.description":`Virtual Distributed Ethernet (VDE) is an open source project that allows the creation of virtual networks through a set of plugins.
Wirefilter is a plugin that allows to manipulate packet flow by changing the parameters of the virtual cable.`,"tweet_analysis.description":`Project for the Software Engineering course.
Twitter client with analytics features developed using the Scrum methodology.`,"animalhouse.description":`Project for the Web Technology course.
Web app with three sections:`,"animalhouse.description.game":"Game: area with games and facts about animals","animalhouse.description.frontoffice":"Frontoffice: area to access services as a logged user","animalhouse.description.backoffice":"Backoffice: administration panel","pandos+.description":`Project for the Operating Systems course.
Minimal operating system for the MIPS architecture.`,"imaging.description":`Project for the Numerical Computing course.
Image deblurring solved as a minimization problem.`,"mnk.description":`Project for the Algorithms and Data Structures course.
Algorithm able to efficiently play a generalized version of tic-tac-toe.`,"platform.description":`Project for the Programmin course.
Text based platform game with randomly generated levels.`,"pathfinding_visualizer.description":"Visualizer of some graph search algorithms.","sort_visualizer.description":"Visualizer of some sorting algorithms."},it:{projects:"Progetti",wip:"Attualmente sto lavorando a",completed:"Progetti completati","unibo_20-21":"Università di Bologna, A.A. 2020-2021","unibo_21-22":"Università di Bologna, A.A. 2021-2022","unibo_22-23":"Università di Bologna, A.A. 2022-2023","notxia.github.io.description":"Ecco un'anteprima segreta del mio sito.","no recursion":"Ricorsione fuori servizio, mi scuso per il disagio.","wirefilter.description":`Virtual Distributed Ethernet (VDE) è un progetto open source che consente di creare reti virtuali tramite l'utilizzo modulare di plugin.
Wirefilter è un plugin che consente di manipolare il flusso dei pacchetti in transito impostando parametri per il cavo virtuale.`,"tweet_analysis.description":`Progetto per il corso di Ingegneria del Software.
Webapp per l'analisi di tweet sviluppata con metodologia Scrum.`,"animalhouse.description":`Progetto per il corso di Tecnologie Web.
Web app suddivisa in tre sezioni:`,"animalhouse.description.game":"Game: area con giochi e curiosità sugli animali","animalhouse.description.frontoffice":"Frontoffice: area con servizi per gli utenti autenticati","animalhouse.description.backoffice":"Backoffice: pannello di amministrazione","pandos+.description":`Progetto per il corso di Sistemi Operativi.
Sistema operativo minimale per architettura MIPS.`,"imaging.description":`Progetto per il corso di Calcolo Numerico.
Deblurring di immagini risolto come problema di minimizzazione.`,"mnk.description":`Progetto per il corso di Algoritmi e Strutture Dati.
Algoritmo in grado di giocare in modo efficiente ad una versione generalizzata del tris.`,"platform.description":`Progetto per il corso di Programmazione.
Gioco platform su terminale con livelli generati casualmente.`,"pathfinding_visualizer.description":"Visualizzazione di alcuni algoritmi di ricerca su grafi.","sort_visualizer.description":"Visualizzazione di alcuni algoritmi di ordinamento."}},d0={class:"text-center"},h0=he({__name:"Wirefilter",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Wirefilter",links:[{label:"Repository",url:"https://github.com/NotXia/vdeplug_wirefilter"},{label:"VirtualSquare",url:"http://wiki.virtualsquare.org/#!index.md"}]},{default:Re(()=>[I("p",d0,Q($(t)("unibo_22-23")),1),I("p",null,Q($(t)("wirefilter.description")),1)]),_:1},8,["links"]))}}),p0="/assets/sorting-visualizer-7ca3c484.png",m0=he({__name:"SortingVisualizer",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Sorting visualizer",image:$(p0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/sorting-visualizer"},{label:"Demo",url:"https://notxia.github.io/sorting-visualizer/"}]},{default:Re(()=>[Oe(Q($(t)("sort_visualizer.description")),1)]),_:1},8,["image","description","links"]))}}),g0="/assets/pathfinding-visualizer-4308823e.png",v0=he({__name:"PathfindingVisualizer",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Pathfinding visualizer",image:$(g0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/pathfinding-visualizer"},{label:"Demo",url:"https://notxia.github.io/pathfinding-visualizer/"}]},{default:Re(()=>[Oe(Q($(t)("pathfinding_visualizer.description")),1)]),_:1},8,["image","description","links"]))}}),_0="/assets/mnkgame-9468ace0.png",y0={class:"text-center"},x0=he({__name:"MNKGame",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"MNK Game",image:$(_0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/MNKGame"}]},{default:Re(()=>[I("p",y0,Q($(t)("unibo_20-21")),1),I("p",null,Q($(t)("mnk.description")),1)]),_:1},8,["image","description","links"]))}}),b0="/assets/imaging-29f5091c.png",w0={class:"text-center"},E0=he({__name:"Imaging",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Image deblur",image:$(b0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/imaging"}]},{default:Re(()=>[I("p",w0,Q($(t)("unibo_21-22")),1),I("p",null,Q($(t)("imaging.description")),1)]),_:1},8,["image","description","links"]))}}),k0="/assets/platform-70851a6c.png",S0={class:"text-center"},C0=he({__name:"Platform",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Platform game",image:$(k0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/platform-game"}]},{default:Re(()=>[I("p",S0,Q($(t)("unibo_20-21")),1),I("p",null,Q($(t)("platform.description")),1)]),_:1},8,["image","description","links"]))}}),A0={class:"text-center"},T0=he({__name:"PandOSplus",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"PandOS+",description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/pandos-plus"}]},{default:Re(()=>[I("p",A0,Q($(t)("unibo_21-22")),1),I("p",null,Q($(t)("pandos+.description")),1)]),_:1},8,["description","links"]))}}),P0={key:0},L0={class:"w-full h-72 relative"},I0={key:0,role:"status",class:"absolute top-0 left-0 w-full h-full flex justify-center items-center"},O0=I("svg",{"aria-hidden":"true",class:"w-8 h-8 animate-spin text-gray-200 fill-gray-600 dark:text-gray-600 dark:fill-gray-300",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[I("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),I("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1),M0=[O0],R0={key:1,class:"flex justify-center items-center w-full h-full"},N0=he({__name:"NotXiaGithubio",setup(e){const t=_e(!1),n=_e(!1);ut(()=>{try{window.frameElement&&(n.value=!0)}catch{n.value=!1}});const{t:s}=be({messages:xt});return(r,i)=>(Z(),Ke(Ot,{title:"notxia.github.io",links:[{label:"Repository",url:"https://github.com/NotXia/notxia.github.io"}]},{default:Re(()=>[n.value?Pe("",!0):(Z(),oe("p",P0,Q($(s)("notxia.github.io.description")),1)),I("div",L0,[!t.value&&!n.value?(Z(),oe("div",I0,M0)):Pe("",!0),n.value?(Z(),oe("div",R0,[I("p",null,Q($(s)("no recursion")),1)])):Pe("",!0),I("iframe",{src:"/",frameborder:"0",width:"100%",height:"100%",onLoad:i[0]||(i[0]=o=>t.value=!0)},null,32)])]),_:1},8,["links"]))}}),$0="/assets/animal-house-c9987528.png",D0={class:"text-center"},F0={class:"list-inside list-['-_']"},B0=he({__name:"AnimalHouse",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Animal House",image:$($0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/animal-house"}]},{default:Re(()=>[I("p",D0,Q($(t)("unibo_21-22")),1),I("p",null,Q($(t)("animalhouse.description")),1),I("ul",F0,[I("li",null,Q($(t)("animalhouse.description.game")),1),I("li",null,Q($(t)("animalhouse.description.frontoffice")),1),I("li",null,Q($(t)("animalhouse.description.backoffice")),1)])]),_:1},8,["image","description","links"]))}}),H0="/assets/tweet-analysis-0dffd059.png",W0={class:"text-center"},j0=he({__name:"TweetAnalysis",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),Ke(Ot,{title:"Tweet Analysis",image:$(H0),description:$(t)("description"),links:[{label:"Repository",url:"https://github.com/NotXia/tweet-analysis"}]},{default:Re(()=>[I("p",W0,Q($(t)("unibo_22-23")),1),I("p",null,Q($(t)("tweet_analysis.description")),1)]),_:1},8,["image","description","links"]))}}),U0={class:"text-5xl font-bold text-center mb-5"},V0={class:"text-3xl text-center mt-10 mb-3"},z0={class:"[&>*]:my-14 first:[&>*]:mt-8"},G0={class:"text-3xl text-center mt-10 mb-3"},K0={class:"[&>*]:my-14 first:[&>*]:mt-8"},Y0=he({__name:"Projects",setup(e){const{t}=be({messages:xt});return(n,s)=>(Z(),oe(Be,null,[X(Si),I("main",null,[I("h1",U0,Q($(t)("projects")),1),I("h2",V0,Q($(t)("wip")),1),I("div",z0,[X(h0),X(N0)]),I("h2",G0,Q($(t)("completed")),1),I("div",K0,[X(j0),X(B0),X(T0),X(E0),X(x0),X(C0),X(v0),X(m0)])])],64))}}),X0={key:0,class:"flex justify-center w-full h-full"},q0={class:"relative border-r text-right w-1/2 border-zinc-300 dark:border-zinc-700"},Q0={class:"relative"},J0=I("div",{class:"absolute w-3 h-3 z-10 bg-gray-400 rounded-full border border-white dark:border-gray-900 dark:bg-gray-500",style:{right:"-1.43rem"}},null,-1),Z0={key:0},ey={key:0,class:"absolute w-3 h-3 z-10 bg-gray-400 rounded-full border border-white dark:border-gray-900 dark:bg-gray-500",style:{right:"-1.43rem",bottom:"0"}},ty=I("div",{class:"absolute rounded-full border-l-2 border-gray-400 dark:border-gray-500",style:{height:"100%",top:"0",right:"-1.12rem"}},null,-1),ny={class:"text-xs mb-0 font-normal leading-5 whitespace-pre-wrap text-gray-500 dark:text-gray-400"},iy={class:"text-base mb-0 font-semibold leading-5 whitespace-pre-wrap text-gray-900 dark:text-white"},ry={class:"text-sm mb-0 font-normal leading-5 whitespace-pre-wrap text-gray-500 dark:text-gray-400"},sy=I("div",{class:"w-4"},null,-1),oy={class:"relative w-1/2 border-l border-zinc-300 dark:border-zinc-700"},ay={class:"relative"},ly=I("div",{class:"absolute w-3 h-3 z-10 bg-gray-400 rounded-full border border-white dark:border-gray-900 dark:bg-gray-500",style:{left:"-1.43rem",bottom:"0"}},null,-1),cy={key:0},uy={key:0,class:"absolute w-3 h-3 z-10 bg-gray-400 rounded-full border border-white dark:border-gray-900 dark:bg-gray-500",style:{left:"-1.43rem"}},fy=I("div",{class:"absolute rounded-full border-l-2 border-we border-gray-400 dark:border-gray-500",style:{height:"100%",top:"0",left:"-1.12rem"}},null,-1),dy={class:"mb-0 text-xs font-normal leading-5 whitespace-pre-wrap text-gray-500 dark:text-gray-400"},hy={class:"mb-0 text-base font-semibold leading-5 whitespace-pre-wrap text-gray-900 dark:text-white"},py={class:"mb-0 text-sm font-normal leading-5 whitespace-pre-wrap text-gray-500 dark:text-gray-400"},my=he({__name:"Timeline",props:{right:{type:Object,default:[]},left:{type:Object,default:[]}},setup(e){const t=e,n=_e(),s=_e(-1),r=_e([]),i=_e([]),o=_e(new Date),l=_e(new Date);function a(u,h){return h.getMonth()-u.getMonth()+12*(h.getFullYear()-u.getFullYear())}function d(){var c;const u=((c=n.value)==null?void 0:c.clientHeight)??0;let h=new Date,f=new Date(0);[...t.right,...t.left].forEach(m=>{(!h||m.start<h)&&(h=m.start),(!f||m.end>f)&&(f=m.end)}),o.value=h,l.value=f,s.value=Math.floor(u/a(h,f))}return ut(()=>{d(),r.value=t.right.map((u,h)=>({offset:a(u.end,l.value),index:h})),i.value=t.left.map((u,h)=>({offset:a(u.end,l.value),index:h})),new ResizeObserver(d).observe(document.querySelector("#app"))}),(u,h)=>(Z(),oe("div",{class:"w-full h-full",ref_key:"container_timeline",ref:n},[s.value>0&&o.value&&l.value?(Z(),oe("div",X0,[I("ol",q0,[(Z(!0),oe(Be,null,Yi(i.value,f=>(Z(),oe("li",{class:"mr-4 absolute right-0",key:t.left[f.index].title,style:cn(`top: ${f.offset*s.value}px`)},[I("div",Q0,[J0,a(t.left[f.index].start,t.left[f.index].end)>0?(Z(),oe("div",Z0,[t.left[f.index].current?Pe("",!0):(Z(),oe("div",ey)),ty])):Pe("",!0),I("div",{class:"flex items-center",style:cn(`height: ${a(t.left[f.index].start,t.left[f.index].end)*s.value}px`)},[I("div",null,[I("span",ny,Q(t.left[f.index].time_label),1),I("h3",iy,Q(t.left[f.index].title),1),I("p",ry,Q(t.left[f.index].description),1)])],4)])],4))),128))]),sy,I("ol",oy,[(Z(!0),oe(Be,null,Yi(r.value,f=>(Z(),oe("li",{class:"ml-4 absolute left-0",key:t.right[f.index].title,style:cn(`top: ${f.offset*s.value}px`)},[I("div",ay,[ly,a(t.right[f.index].start,t.right[f.index].end)>0?(Z(),oe("div",cy,[t.right[f.index].current?Pe("",!0):(Z(),oe("div",uy)),fy])):Pe("",!0),I("div",{class:"flex items-center",style:cn(`height: ${a(t.right[f.index].start,t.right[f.index].end)*s.value}px`)},[I("div",null,[I("span",dy,Q(t.right[f.index].time_label),1),I("h3",hy,Q(t.right[f.index].title),1),I("p",py,Q(t.right[f.index].description),1)])],4)])],4))),128))])])):Pe("",!0)],512))}}),gy="/assets/it-fe77b9df.pdf",vy="/assets/en-6331f054.pdf",_y="/assets/it_color-db1ddac8.pdf",yy="/assets/en_color-b3c59253.pdf",mn={en:{education:"Education","working experience":"Work experience",certificates:"Certificates",skills:"Skills",other:"Other activities","link to certificate":"Link to certificate",future:"What will happen?","like timelines":"I like timelines",cv_link:vy,cv_link_color:yy,with_colors:"but colored",january:"January",february:"February",march:"March",april:"April",may:"May",june:"June",july:"July",august:"August",september:"September",october:"October",november:"November",december:"December",m_1:"Jan",m_2:"Feb",m_3:"Mar",m_4:"Apr",m_5:"May",m_6:"June",m_7:"July",m_8:"Aug",m_9:"Sept",m_10:"Oct",m_11:"Nov",m_12:"Dec",present:"present","final degree":"Final degree","with honors":"with honors","bs in cs":"Bachelor's Degree in Computer Science",unibo:"Alma Mater Studiorum, University of Bologna",diploma:"High school diploma, major in IT",aldini:"Aldini Valeriani, Bologna, Italy","web development":"Web development",devops:"DevOps","data analysis":"Data analysis","other programming languages":"Other programming languages","cisco it essentials description":`Maintenance and administration of IT systems.
Configuration and management of network devices.`,"cs50 ai description":"Problem solving through algorithms based on graphs, statistics, optimization and machine learning.","pcto toyota":"IT/IS Office, Internship","pcto toyota description":`Internship organized during high school.
IT support, maintenance and initial setup of network devices.
SQL programming, automation with bash and batch scripts.`,ois:"Informatics Olympiad in Teams","ois description":"Team based programming competition.","MAST foundation":"MAST Foundation","MAST expeditions description":"Design and implementation of an IOT box with Flip & Click programmable microcontrollers and Zerynth Studio development environment."},it:{education:"Istruzione","working experience":"Esperienze lavorative",certificates:"Certificati",skills:"Competenze",other:"Altre attività","link to certificate":"Link al certificato",future:"Chissà cosa succederà","like timelines":"Mi piacciono le linee del tempo",cv_link:gy,cv_link_color:_y,with_colors:"ma colorato",january:"Gennaio",february:"Febbraio",march:"Marzo",april:"Aprile",may:"Maggio",june:"Giugno",july:"Luglio",august:"Agosto",september:"Settembre",october:"Ottobre",november:"Novembre",december:"Dicembre",m_1:"Gen",m_2:"Feb",m_3:"Mar",m_4:"Apr",m_5:"Mag",m_6:"Giu",m_7:"Lug",m_8:"Ago",m_9:"Set",m_10:"Ott",m_11:"Nov",m_12:"Dic",present:"in corso","final degree":"Valutazione finale","with honors":"e lode","bs in cs":"Laurea Triennale in Informatica",unibo:"Alma Mater Studiorum, Università di Bologna",diploma:"Diploma di perito informatico",aldini:"I.T.I Aldini Valeriani, Bologna","web development":"Sviluppo web",devops:"DevOps","data analysis":"Data analysis","other programming languages":"Altri linguaggi di programmazione","cisco it essentials description":`Manutenzione e amministrazione di sistemi informatici.
Configurazione e gestione di apparati di rete.`,"cs50 ai description":"Risoluzione di problemi con algoritmi basati su grafi, statistica, ottimizzazione e machine learning.","pcto toyota":"Ufficio IT/IS, Stage","pcto toyota description":`Percorsi per le Competenze Trasversali e per l'Orientamento (PCTO)
Attività di helpdesk, manutenzione e configurazione di apparati di rete.
Programmazione SQL, automazioni con script bash e batch.`,ois:"Olimpiadi di informatica a squadre","ois description":"Programmazione competitiva a squadre.","MAST foundation":"Fondazione MAST","MAST expeditions description":"Progettazione e realizzazione di una scatola IOT attraverso l'utilizzo di schede programmabili Flip & Click e l'ambiente di sviluppo Zerynth Studio."}},xy={class:"flex h-full justify-center relative"},by={class:"absolute top-0 left-0 w-full"},wy={id:"tooltip-future",role:"tooltip",class:"absolute z-10 invisible inline-block px-2 py-1 text-xs font-medium transition-opacity duration-1000 rounded-lg opacity-0 tooltip"},Ey={class:"w-full timeline-height"},ky={class:"text-center text-xs text-gray-400 dark:text-slate-600"},Sy=he({__name:"ExperienceTimeline",setup(e){const{t}=be({messages:mn}),n=1,s=5,r=8,i=11;ut(()=>{Nc()});let o=null;function l(){o=setTimeout(()=>{vi("future"),o=null},500)}function a(){o&&clearTimeout(o)}return(d,u)=>(Z(),oe(Be,null,[I("div",xy,[I("div",by,[I("div",{"data-tooltip-target":"tooltip-future",class:"relative w-6 h-2 mx-auto z-50",onMouseover:l,onMouseleave:a},null,32),I("div",wy,Q($(t)("future")),1)]),I("div",Ey,[X(my,{right:[{title:$(t)("diploma"),time_label:"2015 - 2020",description:$(t)("aldini"),start:new Date(2015,r,1),end:new Date(2020,s,1)},{title:$(t)("bs in cs"),time_label:"2020 - 2023",description:$(t)("unibo"),start:new Date(2020,r,1),end:new Date,current:!0}],left:[{title:$(t)("pcto toyota"),time_label:`${$(t)("m_12")} 2019 | ${$(t)("m_7")} 2019 | ${$(t)("m_2")} 2019`,description:"Toyota Material Handling Manufacturing Italy",start:new Date(2019,n,1),end:new Date(2019,i,1)},{title:"CS50s Introduction to AI with Python",time_label:"2022",description:"HarvardX",start:new Date(2022,r,1),end:new Date(2022,r,1)},{title:"CISCO: IT Essentials",time_label:"2018",description:"CISCO Networking Academy",start:new Date(2018,r,1),end:new Date(2018,r,1)}]},null,8,["right","left"])])]),I("p",ky,Q($(t)("like timelines")),1)],64))}});const Cy=Bc(Sy,[["__scopeId","data-v-583e5495"]]),Ay={class:"md:ml-2 mt-4"},Ty={class:"flex justify-between"},Py={class:"text-xl font-semibold tracking-wide"},Ly={class:"text-right text-gray-500 dark:text-gray-400"},Iy={class:"leading-5 text-gray-500 dark:text-gray-400"},Oy={class:"mt-1 whitespace-pre-wrap"},mt=he({__name:"ActivityParagraph",props:{title:String,subtitle:String,right_text:String},setup(e){const t=e;return(n,s)=>(Z(),oe("div",Ay,[I("div",Ty,[I("h3",Py,Q(t.title),1),I("div",Ly,Q(t.right_text),1)]),I("div",Iy,Q(t.subtitle),1),I("div",Oy,[As(n.$slots,"default")])]))}}),My={class:"text-4xl font-bold tracking-wide"},Ry=he({__name:"Education",setup(e){const{t}=be({messages:mn});return(n,s)=>(Z(),oe("div",null,[I("h2",My,Q($(t)("education")),1),X(mt,{title:$(t)("bs in cs"),subtitle:$(t)("unibo"),right_text:`2020 - ${$(t)("present")}`},null,8,["title","subtitle","right_text"]),X(mt,{title:$(t)("diploma"),subtitle:$(t)("aldini"),right_text:"2015 - 2020"},{default:Re(()=>[Oe(Q($(t)("final degree"))+": 100/100 "+Q($(t)("with honors")),1)]),_:1},8,["title","subtitle"])]))}}),Ny={class:"text-4xl font-bold tracking-wide"},$y={class:"font-mono hover:underline",href:"https://certificates.cs50.io/bb09e788-f9da-4055-8645-aba7ef163683.pdf?size=a4"},Dy=he({__name:"Certificates",setup(e){const{t}=be({messages:mn});return(n,s)=>(Z(),oe("div",null,[I("h2",Ny,Q($(t)("certificates")),1),X(mt,{title:"CS50s Introduction to AI with Python",subtitle:"HarvardX",right_text:"2022"},{default:Re(()=>[I("a",$y,Q($(t)("link to certificate")),1),I("p",null,Q($(t)("cs50 ai description")),1)]),_:1}),X(mt,{title:"CISCO: IT Essentials",subtitle:"CISCO Networking Academy",right_text:"2018"},{default:Re(()=>[Oe(Q($(t)("cisco it essentials description")),1)]),_:1})]))}}),Fy={class:"inline-block"},By={class:"flex items-center"},Hy=["src"],$e=he({__name:"ProgrammingLogo",props:{language:String,logo:String,needInvert:Boolean},setup(e){const t=e;return(n,s)=>(Z(),oe("div",Fy,[I("div",By,[I("img",{src:t.logo,alt:"",class:$n(`h-5 mr-1 ${t.needInvert?"dark:invert":""}`)},null,10,Hy),Oe(" "+Q(t.language),1)])]))}}),Wy="/assets/nodejs-e3af091e.svg",jy="/assets/php-2132ce69.svg",Uy="/assets/react-8351f38f.svg",Vy="/assets/vue-17ff892a.svg",zy="/assets/docker-05d03b2d.svg",Gy="/assets/ansible-10b27c72.svg",Ky="/assets/jenkins-2e6acb68.svg",Yy="/assets/gitlab-56217928.svg",Xy="/assets/github-actions-eb6c6db8.svg",qy="/assets/numpy-7b069cbe.svg",Qy="/assets/pandas-ea6d5355.svg",Jy="/assets/matplotlib-595bf301.svg",Zy="/assets/seaborn-67f563f0.svg",ex="/assets/scikitlearn-1f8cdf07.svg",tx="/assets/tensorflow-8bd4566a.svg",nx="/assets/keras-93d0631e.svg",ix="/assets/database-4cb7148f.svg",rx="/assets/mongo-97bcdd7b.svg",sx="/assets/c-6dca6d06.svg",ox="/assets/cpp-ebd2d699.svg",ax="/assets/java-e124cc96.svg",lx="/assets/python-99a19b1d.svg",cx="/assets/cpu-ea75fcd8.svg",ux={class:"[&_li]:mr-4"},fx={class:"text-4xl font-bold tracking-wide"},dx={class:"flex flex-wrap items-center"},hx={class:"flex flex-wrap items-center"},px={class:"flex flex-wrap items-center"},mx={class:"flex flex-wrap items-center"},gx={class:"flex flex-wrap items-center"},vx={class:"flex flex-wrap items-center"},_x={class:"flex flex-wrap items-center"},yx={class:"flex flex-wrap items-center"},xx={class:"flex flex-wrap items-center"},bx={class:"flex flex-wrap items-center"},wx=he({__name:"Skills",setup(e){const{t}=be({messages:mn});return(n,s)=>(Z(),oe("div",ux,[I("h2",fx,Q($(t)("skills")),1),X(mt,{title:$(t)("data analysis")},{default:Re(()=>[I("ul",dx,[I("li",null,[X($e,{logo:$(lx),language:"Python"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(ix),language:"SQL",needInvert:""},null,8,["logo"])]),I("li",null,[X($e,{logo:$(rx),language:"MongoDB"},null,8,["logo"])])]),I("ul",hx,[I("li",null,[X($e,{logo:$(qy),language:"Numpy"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(Qy),language:"Pandas"},null,8,["logo"])])]),I("ul",px,[I("li",null,[X($e,{logo:$(Jy),language:"Matplotlib"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(Zy),language:"Seaborn"},null,8,["logo"])])]),I("ul",mx,[I("li",null,[X($e,{logo:$(ex),language:"Scikit-learn"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(tx),language:"Tensorflow"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(nx),language:"Keras"},null,8,["logo"])])])]),_:1},8,["title"]),X(mt,{title:$(t)("devops")},{default:Re(()=>[I("ul",gx,[I("li",null,[X($e,{logo:$(zy),language:"Docker"},null,8,["logo"])])]),I("ul",vx,[I("li",null,[X($e,{logo:$(Gy),language:"Ansible"},null,8,["logo"])])]),I("ul",_x,[I("li",null,[X($e,{logo:$(Ky),language:"Jenkins"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(Yy),language:"Gitlab Runner"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(Xy),language:"Github Actions"},null,8,["logo"])])])]),_:1},8,["title"]),X(mt,{title:$(t)("web development")},{default:Re(()=>[I("ul",yx,[I("li",null,[X($e,{logo:$(Wy),language:"NodeJS"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(jy),language:"PHP"},null,8,["logo"])])]),I("ul",xx,[I("li",null,[X($e,{logo:$(Uy),language:"React"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(Vy),language:"Vue"},null,8,["logo"])])])]),_:1},8,["title"]),X(mt,{title:$(t)("other programming languages")},{default:Re(()=>[I("ul",bx,[I("li",null,[X($e,{logo:$(sx),language:"C"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(ox),language:"C++"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(ax),language:"Java"},null,8,["logo"])]),I("li",null,[X($e,{logo:$(cx),language:"Assembly x86",needInvert:""},null,8,["logo"])])])]),_:1},8,["title"])]))}}),Ex={class:"text-4xl font-bold tracking-wide"},kx=he({__name:"Work",setup(e){const{t}=be({messages:mn});return(n,s)=>(Z(),oe("div",null,[I("h2",Ex,Q($(t)("working experience")),1),X(mt,{title:$(t)("pcto toyota"),subtitle:"Toyota Material Handling Manufacturing Italy",right_text:`${$(t)("december")} 2019 | ${$(t)("july")} 2019 | ${$(t)("february")} 2019`},{default:Re(()=>[Oe(Q($(t)("pcto toyota description")),1)]),_:1},8,["title","right_text"])]))}}),Sx={class:"text-4xl font-bold tracking-wide"},Cx=he({__name:"Other",setup(e){const{t}=be({messages:mn});return(n,s)=>(Z(),oe("div",null,[I("h2",Sx,Q($(t)("other")),1),X(mt,{title:$(t)("ois"),subtitle:$(t)("aldini"),right_text:"2017-18 | 2018-19 | 2019-20"},{default:Re(()=>[Oe(Q($(t)("ois description")),1)]),_:1},8,["title","subtitle"]),X(mt,{title:"MAST Academy: Expeditions",subtitle:$(t)("MAST foundation"),right_text:"2018"},{default:Re(()=>[Oe(Q($(t)("MAST expeditions description")),1)]),_:1},8,["subtitle"])]))}}),Na="/assets/pdf-9d170c0d.svg",Ax={class:"flex justify-center items-start mt-2 mb-6"},Tx={class:"w-20 mx-5"},Px=["href"],Lx=["src"],Ix=I("p",{class:"text-sm text-center mt-1"},"CV",-1),Ox={class:"w-20 mx-5"},Mx=["href"],Rx=["src"],Nx={class:"text-sm text-center mt-1"},$x={class:"text-xs"},Dx={class:"flex flex-col md:flex-row"},Fx={class:"w-full md:w-2/3 order-1 md:order-2 md:pl-4 [&>*]:mt-8 first:[&>*]:mt-0"},Bx={class:"w-full md:w-1/3 mt-5 md:mt-0 order-2 md:order-1"},Hx=he({__name:"Resume",setup(e){const{t}=be({messages:mn});return(n,s)=>(Z(),oe(Be,null,[X(Si),I("main",null,[I("div",Ax,[I("div",Tx,[I("a",{href:$(t)("cv_link")},[I("img",{src:$(Na),alt:"Download",class:"h-10 mx-auto dark:invert"},null,8,Lx),Ix],8,Px)]),I("div",Ox,[I("a",{href:$(t)("cv_link_color")},[I("img",{src:$(Na),alt:"Download",class:"h-10 mx-auto dark:invert"},null,8,Rx),I("p",Nx,[Oe("CV"),I("span",$x,", "+Q($(t)("with_colors")),1)])],8,Mx)])]),I("div",Dx,[I("div",Fx,[X(Ry),X(Dy),X(kx),X(wx),X(Cx)]),I("div",Bx,[X(Cy)])])])],64))}}),Wx={en:{contacts:"Contacts"},it:{contacts:"Contatti"}},jx={class:"my-4 text-left md:text-center"},Ux=["href"],Vx={class:"inline-flex items-center"},zx=["src"],Gx={class:"text-xl text-left"},Bi=he({__name:"ContactLink",props:{url:String,label:String,icon:String,alt:String},setup(e){const t=e;return(n,s)=>(Z(),oe("p",jx,[I("a",{href:t.url},[I("div",Vx,[I("img",{src:t.icon,alt:"Github",class:"h-7 mr-2 select-none dark:invert"},null,8,zx),I("span",Gx,Q(t.label),1)])],8,Ux)]))}}),Kx="/assets/mail-915cc70d.svg",Yx="/assets/telegram-a6f663c5.svg",Xx="/assets/linkedin-5f5fad7e.svg",qx="/assets/discord-c4410c78.svg",Qx={class:"relative z-10"},Jx={class:"md:flex justify-center"},Zx=he({__name:"Contacts",setup(e){return be({messages:Wx}),(t,n)=>(Z(),oe(Be,null,[I("div",Qx,[X(Si)]),X(qs,null,{default:Re(()=>[I("main",null,[I("div",Jx,[I("div",null,[X(Bi,{label:"tcxia2001@gmail.com",url:"mailto:tcxia2001@gmail.com",icon:$(Kx),alt:"E-mail"},null,8,["icon"]),X(Bi,{label:"t.me/notxia",url:"https://t.me/notxia",icon:$(Yx),alt:"Telegram"},null,8,["icon"]),X(Bi,{label:"Panda#9784",url:"https://discordapp.com/users/272354672969515009",icon:$(qx),alt:"Discord"},null,8,["icon"]),X(Bi,{label:"linkedin.com/in/tian-cheng-xia",url:"https://www.linkedin.com/in/tian-cheng-xia/",icon:$(Xx),alt:"LinkedIn"},null,8,["icon"])])])])]),_:1})],64))}}),eb=sh({history:wd(),routes:[{path:"/",name:"home",component:x_},{path:"/about",name:"about",component:s0},{path:"/projects",name:"projects",component:Y0},{path:"/resume",name:"resume",component:Hx},{path:"/contacts",name:"contacts",component:Zx}]});const Qs=nd(ig);Qs.use(eb);Qs.use(Dp({legacy:!1,locale:Cv(),fallbackLocale:"it",messages:{en:{},it:{}}}));Qs.mount("#app");