Files
notxia.github.io/_nuxt/DbwADQ11.js
2024-09-09 17:56:50 +00:00

71 lines
338 KiB
JavaScript
Raw Blame History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cne99_si.js","./pofleTDE.js","./BHrl0jpQ.js","./about.Qgb6cIti.css","./Go3Cqy2Q.js","./llUqyUx-.js","./DS1ikDvu.js","./TOUSniDh.js","./resume.BPaN6Kc6.css"])))=>i.map(i=>d[i]);
/**
* @vue/shared v3.5.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Ii(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const Le={},Xn=[],Ht=()=>{},zd=()=>!1,Hr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Oi=e=>e.startsWith("onUpdate:"),je=Object.assign,Ni=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zd=Object.prototype.hasOwnProperty,Pe=(e,t)=>Zd.call(e,t),ae=Array.isArray,Yn=e=>Ur(e)==="[object Map]",Uc=e=>Ur(e)==="[object Set]",eh=e=>Ur(e)==="[object RegExp]",le=e=>typeof e=="function",Oe=e=>typeof e=="string",pn=e=>typeof e=="symbol",Re=e=>e!==null&&typeof e=="object",Bc=e=>(Re(e)||le(e))&&le(e.then)&&le(e.catch),Vc=Object.prototype.toString,Ur=e=>Vc.call(e),th=e=>Ur(e).slice(8,-1),jc=e=>Ur(e)==="[object Object]",Mi=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jn=Ii(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Us=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nh=/-(\w)/g,kt=Us(e=>e.replace(nh,(t,n)=>n?n.toUpperCase():"")),rh=/\B([A-Z])/g,Mn=Us(e=>e.replace(rh,"-$1").toLowerCase()),Bs=Us(e=>e.charAt(0).toUpperCase()+e.slice(1)),vo=Us(e=>e?`on${Bs(e)}`:""),dn=(e,t)=>!Object.is(e,t),vr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Wc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},sh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kc=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Sa;const Gc=()=>Sa||(Sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Di(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Oe(s)?lh(s):Di(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Oe(e)||Re(e))return e}const oh=/;(?![^(]*\))/g,ih=/:([^]+)/,ah=/\/\*[^]*?\*\//g;function lh(e){const t={};return e.replace(ah,"").split(oh).forEach(n=>{if(n){const s=n.split(ih);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Vs(e){let t="";if(Oe(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const s=Vs(e[n]);s&&(t+=s+" ")}else if(Re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ch="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uh=Ii(ch);function Xc(e){return!!e||e===""}const Yc=e=>!!(e&&e.__v_isRef===!0),ke=e=>Oe(e)?e:e==null?"":ae(e)||Re(e)&&(e.toString===Vc||!le(e.toString))?Yc(e)?ke(e.value):JSON.stringify(e,Jc,2):String(e),Jc=(e,t)=>Yc(t)?Jc(e,t.value):Yn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[yo(s,r)+" =>"]=o,n),{})}:Uc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>yo(n))}:pn(t)?yo(t):Re(t)&&!ae(t)&&!jc(t)?String(t):t,yo=(e,t="")=>{var n;return pn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ot;class qc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Fi(e){return new qc(e)}function js(){return ot}function Bo(e,t=!1){ot&&ot.cleanups.push(e)}let Te;const _o=new WeakSet;class Qc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,ot&&ot.active&&ot.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_o.has(this)&&(_o.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=yr,yr=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ca(this),Zc(this);const t=Te,n=Lt;Te=this,Lt=!0;try{return this.fn()}finally{eu(this),Te=t,Lt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ui(t);this.deps=this.depsTail=void 0,Ca(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_o.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Vo(this)&&this.run()}get dirty(){return Vo(this)}}let zc=0,yr;function $i(){zc++}function Hi(){if(--zc>0)return;let e;for(;yr;){let t=yr;for(yr=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eu(e){let t,n=e.depsTail;for(let s=n;s;s=s.prevDep)s.version===-1?(s===n&&(n=s.prevDep),Ui(s),fh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function Vo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&tu(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function tu(e){if(e.flags&2)return!1;if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Tr))return;e.globalVersion=Tr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!Vo(e)){e.flags&=-3;return}const n=Te,s=Lt;Te=e,Lt=!0;try{Zc(e);const o=e.fn(e._value);(t.version===0||dn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Te=n,Lt=s,eu(e),e.flags&=-3}}function Ui(e){const{dep:t,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let o=t.computed.deps;o;o=o.nextDep)Ui(o)}}function fh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Lt=!0;const nu=[];function gn(){nu.push(Lt),Lt=!1}function mn(){const e=nu.pop();Lt=e===void 0?!0:e}function Ca(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Te;Te=void 0;try{t()}finally{Te=n}}}let Tr=0;class Ws{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!Te||!Lt||Te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Te)n=this.activeLink={dep:this,sub:Te,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},Te.deps?(n.prevDep=Te.depsTail,Te.depsTail.nextDep=n,Te.depsTail=n):Te.deps=Te.depsTail=n,Te.flags&4&&ru(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Te.depsTail,n.nextDep=void 0,Te.depsTail.nextDep=n,Te.depsTail=n,Te.deps===n&&(Te.deps=s)}return n}trigger(t){this.version++,Tr++,this.notify(t)}notify(t){$i();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{Hi()}}}function ru(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ru(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const vs=new WeakMap,An=Symbol(""),jo=Symbol(""),Lr=Symbol("");function tt(e,t,n){if(Lt&&Te){let s=vs.get(e);s||vs.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=new Ws),o.track()}}function Jt(e,t,n,s,o,r){const i=vs.get(e);if(!i){Tr++;return}let a=[];if(t==="clear")a=[...i.values()];else{const l=ae(e),d=l&&Mi(n);if(l&&n==="length"){const u=Number(s);i.forEach((h,f)=>{(f==="length"||f===Lr||!pn(f)&&f>=u)&&a.push(h)})}else{const u=h=>h&&a.push(h);switch(n!==void 0&&u(i.get(n)),d&&u(i.get(Lr)),t){case"add":l?d&&u(i.get("length")):(u(i.get(An)),Yn(e)&&u(i.get(jo)));break;case"delete":l||(u(i.get(An)),Yn(e)&&u(i.get(jo)));break;case"set":Yn(e)&&u(i.get(An));break}}}$i();for(const l of a)l.trigger();Hi()}function dh(e,t){var n;return(n=vs.get(e))==null?void 0:n.get(t)}function Hn(e){const t=ye(e);return t===e?t:(tt(t,"iterate",Lr),Rt(e)?t:t.map(Ze))}function Ks(e){return tt(e=ye(e),"iterate",Lr),e}const hh={__proto__:null,[Symbol.iterator](){return xo(this,Symbol.iterator,Ze)},concat(...e){return Hn(this).concat(...e.map(t=>ae(t)?Hn(t):t))},entries(){return xo(this,"entries",e=>(e[1]=Ze(e[1]),e))},every(e,t){return Ut(this,"every",e,t,void 0,arguments)},filter(e,t){return Ut(this,"filter",e,t,n=>n.map(Ze),arguments)},find(e,t){return Ut(this,"find",e,t,Ze,arguments)},findIndex(e,t){return Ut(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ut(this,"findLast",e,t,Ze,arguments)},findLastIndex(e,t){return Ut(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ut(this,"forEach",e,t,void 0,arguments)},includes(...e){return wo(this,"includes",e)},indexOf(...e){return wo(this,"indexOf",e)},join(e){return Hn(this).join(e)},lastIndexOf(...e){return wo(this,"lastIndexOf",e)},map(e,t){return Ut(this,"map",e,t,void 0,arguments)},pop(){return ur(this,"pop")},push(...e){return ur(this,"push",e)},reduce(e,...t){return Pa(this,"reduce",e,t)},reduceRight(e,...t){return Pa(this,"reduceRight",e,t)},shift(){return ur(this,"shift")},some(e,t){return Ut(this,"some",e,t,void 0,arguments)},splice(...e){return ur(this,"splice",e)},toReversed(){return Hn(this).toReversed()},toSorted(e){return Hn(this).toSorted(e)},toSpliced(...e){return Hn(this).toSpliced(...e)},unshift(...e){return ur(this,"unshift",e)},values(){return xo(this,"values",Ze)}};function xo(e,t,n){const s=Ks(e),o=s[t]();return s!==e&&!Rt(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.value&&(r.value=n(r.value)),r}),o}const ph=Array.prototype;function Ut(e,t,n,s,o,r){const i=Ks(e),a=i!==e&&!Rt(e),l=i[t];if(l!==ph[t]){const h=l.apply(e,r);return a?Ze(h):h}let d=n;i!==e&&(a?d=function(h,f){return n.call(this,Ze(h),f,e)}:n.length>2&&(d=function(h,f){return n.call(this,h,f,e)}));const u=l.call(i,d,s);return a&&o?o(u):u}function Pa(e,t,n,s){const o=Ks(e);let r=n;return o!==e&&(Rt(e)?n.length>3&&(r=function(i,a,l){return n.call(this,i,a,l,e)}):r=function(i,a,l){return n.call(this,i,Ze(a),l,e)}),o[t](r,...s)}function wo(e,t,n){const s=ye(e);tt(s,"iterate",Lr);const o=s[t](...n);return(o===-1||o===!1)&&Wi(n[0])?(n[0]=ye(n[0]),s[t](...n)):o}function ur(e,t,n=[]){gn(),$i();const s=ye(e)[t].apply(e,n);return Hi(),mn(),s}const gh=Ii("__proto__,__v_isRef,__isVue"),su=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pn));function mh(e){pn(e)||(e=String(e));const t=ye(this);return tt(t,"has",e),t.hasOwnProperty(e)}class ou{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Rh:cu:r?lu:au).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=hh[n]))return l;if(n==="hasOwnProperty")return mh}const a=Reflect.get(t,n,Me(t)?t:s);return(pn(n)?su.has(n):gh(n))||(o||tt(t,"get",n),r)?a:Me(a)?i&&Mi(n)?a:a.value:Re(a)?o?uu(a):vn(a):a}}class iu extends ou{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const l=hn(r);if(!Rt(s)&&!hn(s)&&(r=ye(r),s=ye(s)),!ae(t)&&Me(r)&&!Me(s))return l?!1:(r.value=s,!0)}const i=ae(t)&&Mi(n)?Number(n)<t.length:Pe(t,n),a=Reflect.set(t,n,s,Me(t)?t:o);return t===ye(o)&&(i?dn(s,r)&&Jt(t,"set",n,s):Jt(t,"add",n,s)),a}deleteProperty(t,n){const s=Pe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&Jt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!pn(n)||!su.has(n))&&tt(t,"has",n),s}ownKeys(t){return tt(t,"iterate",ae(t)?"length":An),Reflect.ownKeys(t)}}class vh extends ou{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const yh=new iu,_h=new vh,xh=new iu(!0);const Bi=e=>e,Gs=e=>Reflect.getPrototypeOf(e);function Jr(e,t,n=!1,s=!1){e=e.__v_raw;const o=ye(e),r=ye(t);n||(dn(t,r)&&tt(o,"get",t),tt(o,"get",r));const{has:i}=Gs(o),a=s?Bi:n?Ki:Ze;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function qr(e,t=!1){const n=this.__v_raw,s=ye(n),o=ye(e);return t||(dn(e,o)&&tt(s,"has",e),tt(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Qr(e,t=!1){return e=e.__v_raw,!t&&tt(ye(e),"iterate",An),Reflect.get(e,"size",e)}function Ta(e,t=!1){!t&&!Rt(e)&&!hn(e)&&(e=ye(e));const n=ye(this);return Gs(n).has.call(n,e)||(n.add(e),Jt(n,"add",e,e)),this}function La(e,t,n=!1){!n&&!Rt(t)&&!hn(t)&&(t=ye(t));const s=ye(this),{has:o,get:r}=Gs(s);let i=o.call(s,e);i||(e=ye(e),i=o.call(s,e));const a=r.call(s,e);return s.set(e,t),i?dn(t,a)&&Jt(s,"set",e,t):Jt(s,"add",e,t),this}function Ra(e){const t=ye(this),{has:n,get:s}=Gs(t);let o=n.call(t,e);o||(e=ye(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Jt(t,"delete",e,void 0),r}function ka(){const e=ye(this),t=e.size!==0,n=e.clear();return t&&Jt(e,"clear",void 0,void 0),n}function zr(e,t){return function(s,o){const r=this,i=r.__v_raw,a=ye(i),l=t?Bi:e?Ki:Ze;return!e&&tt(a,"iterate",An),i.forEach((d,u)=>s.call(o,l(d),l(u),r))}}function Zr(e,t,n){return function(...s){const o=this.__v_raw,r=ye(o),i=Yn(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,d=o[e](...s),u=n?Bi:t?Ki:Ze;return!t&&tt(r,"iterate",l?jo:An),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function zt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wh(){const e={get(r){return Jr(this,r)},get size(){return Qr(this)},has:qr,add:Ta,set:La,delete:Ra,clear:ka,forEach:zr(!1,!1)},t={get(r){return Jr(this,r,!1,!0)},get size(){return Qr(this)},has:qr,add(r){return Ta.call(this,r,!0)},set(r,i){return La.call(this,r,i,!0)},delete:Ra,clear:ka,forEach:zr(!1,!0)},n={get(r){return Jr(this,r,!0)},get size(){return Qr(this,!0)},has(r){return qr.call(this,r,!0)},add:zt("add"),set:zt("set"),delete:zt("delete"),clear:zt("clear"),forEach:zr(!0,!1)},s={get(r){return Jr(this,r,!0,!0)},get size(){return Qr(this,!0)},has(r){return qr.call(this,r,!0)},add:zt("add"),set:zt("set"),delete:zt("delete"),clear:zt("clear"),forEach:zr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Zr(r,!1,!1),n[r]=Zr(r,!0,!1),t[r]=Zr(r,!1,!0),s[r]=Zr(r,!0,!0)}),[e,n,t,s]}const[bh,Eh,Sh,Ch]=wh();function Vi(e,t){const n=t?e?Ch:Sh:e?Eh:bh;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(Pe(n,o)&&o in s?n:s,o,r)}const Ph={get:Vi(!1,!1)},Th={get:Vi(!1,!0)},Lh={get:Vi(!0,!1)};const au=new WeakMap,lu=new WeakMap,cu=new WeakMap,Rh=new WeakMap;function kh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ah(e){return e.__v_skip||!Object.isExtensible(e)?0:kh(th(e))}function vn(e){return hn(e)?e:ji(e,!1,yh,Ph,au)}function Xt(e){return ji(e,!1,xh,Th,lu)}function uu(e){return ji(e,!0,_h,Lh,cu)}function ji(e,t,n,s,o){if(!Re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Ah(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function In(e){return hn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function hn(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function Wi(e){return e?!!e.__v_raw:!1}function ye(e){const t=e&&e.__v_raw;return t?ye(t):e}function Ih(e){return Object.isExtensible(e)&&Wc(e,"__v_skip",!0),e}const Ze=e=>Re(e)?vn(e):e,Ki=e=>Re(e)?uu(e):e;function Me(e){return e?e.__v_isRef===!0:!1}function Ee(e){return fu(e,!1)}function zn(e){return fu(e,!0)}function fu(e,t){return Me(e)?e:new Oh(e,t)}class Oh{constructor(t,n){this.dep=new Ws,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ye(t),this._value=n?t:Ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Rt(t)||hn(t);t=s?t:ye(t),dn(t,n)&&(this._rawValue=t,this._value=s?t:Ze(t),this.dep.trigger())}}function te(e){return Me(e)?e.value:e}const Nh={get:(e,t,n)=>t==="__v_raw"?e:te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function du(e){return In(e)?e:new Proxy(e,Nh)}class Mh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ws,{get:s,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Dh(e){return new Mh(e)}class Fh{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return dh(ye(this._object),this._key)}}class $h{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function hu(e,t,n){return Me(e)?e:le(e)?new $h(e):Re(e)&&arguments.length>1?Hh(e,t,n):Ee(e)}function Hh(e,t,n){const s=e[t];return Me(s)?s:new Fh(e,t,n)}class Uh{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ws(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Tr-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){Te!==this&&(this.flags|=16,this.dep.notify())}get value(){const t=this.dep.track();return tu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Bh(e,t,n=!1){let s,o;return le(e)?s=e:(s=e.get,o=e.set),new Uh(s,o,n)}const es={},ys=new WeakMap;let Rn;function Vh(e,t=!1,n=Rn){if(n){let s=ys.get(n);s||ys.set(n,s=[]),s.push(e)}}function jh(e,t,n=Le){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:a,call:l}=n,d=_=>o?_:Rt(_)||o===!1||o===0?Gt(_,1):Gt(_);let u,h,f,c,p=!1,g=!1;if(Me(e)?(h=()=>e.value,p=Rt(e)):In(e)?(h=()=>d(e),p=!0):ae(e)?(g=!0,p=e.some(_=>In(_)||Rt(_)),h=()=>e.map(_=>{if(Me(_))return _.value;if(In(_))return d(_);if(le(_))return l?l(_,2):_()})):le(e)?t?h=l?()=>l(e,2):e:h=()=>{if(f){gn();try{f()}finally{mn()}}const _=Rn;Rn=u;try{return l?l(e,3,[c]):e(c)}finally{Rn=_}}:h=Ht,t&&o){const _=h,m=o===!0?1/0:o;h=()=>Gt(_(),m)}const v=js(),w=()=>{u.stop(),v&&Ni(v.effects,u)};if(r)if(t){const _=t;t=(...m)=>{_(...m),w()}}else{const _=h;h=()=>{_(),w()}}let b=g?new Array(e.length).fill(es):es;const y=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const m=u.run();if(o||p||(g?m.some((x,E)=>dn(x,b[E])):dn(m,b))){f&&f();const x=Rn;Rn=u;try{const E=[m,b===es?void 0:g&&b[0]===es?[]:b,c];l?l(t,3,E):t(...E),b=m}finally{Rn=x}}}else u.run()};return a&&a(y),u=new Qc(h),u.scheduler=i?()=>i(y,!1):y,c=_=>Vh(_,!1,u),f=u.onStop=()=>{const _=ys.get(u);if(_){if(l)l(_,4);else for(const m of _)m();ys.delete(u)}},t?s?y(!0):b=u.run():i?i(y.bind(null,!0),!0):u.run(),w.pause=u.pause.bind(u),w.resume=u.resume.bind(u),w.stop=w,w}function Gt(e,t=1/0,n){if(t<=0||!Re(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Me(e))Gt(e.value,t,n);else if(ae(e))for(let s=0;s<e.length;s++)Gt(e[s],t,n);else if(Uc(e)||Yn(e))e.forEach(s=>{Gt(s,t,n)});else if(jc(e)){for(const s in e)Gt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Gt(e[s],t,n)}return e}/**
* @vue/runtime-core v3.5.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Br(e,t,n,s){try{return s?e(...s):e()}catch(o){Vr(o,t,n)}}function At(e,t,n,s){if(le(e)){const o=Br(e,t,n,s);return o&&Bc(o)&&o.catch(r=>{Vr(r,t,n)}),o}if(ae(e)){const o=[];for(let r=0;r<e.length;r++)o.push(At(e[r],t,n,s));return o}}function Vr(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Le;if(t){let a=t.parent;const l=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,l,d)===!1)return}a=a.parent}if(r){gn(),Br(r,null,10,[e,l,d]),mn();return}}Wh(e,n,o,s,i)}function Wh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}let Rr=!1,Wo=!1;const it=[];let Dt=0;const qn=[];let nn=null,jn=0;const pu=Promise.resolve();let Gi=null;function yn(e){const t=Gi||pu;return e?t.then(this?e.bind(this):e):t}function Kh(e){let t=Rr?Dt+1:0,n=it.length;for(;t<n;){const s=t+n>>>1,o=it[s],r=kr(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function Xi(e){if(!(e.flags&1)){const t=kr(e),n=it[it.length-1];!n||!(e.flags&2)&&t>=kr(n)?it.push(e):it.splice(Kh(t),0,e),e.flags|=1,gu()}}function gu(){!Rr&&!Wo&&(Wo=!0,Gi=pu.then(mu))}function Ko(e){ae(e)?qn.push(...e):nn&&e.id===-1?nn.splice(jn+1,0,e):e.flags&1||(qn.push(e),e.flags|=1),gu()}function Aa(e,t,n=Rr?Dt+1:0){for(;n<it.length;n++){const s=it[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;it.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&=-2}}}function _s(e){if(qn.length){const t=[...new Set(qn)].sort((n,s)=>kr(n)-kr(s));if(qn.length=0,nn){nn.push(...t);return}for(nn=t,jn=0;jn<nn.length;jn++){const n=nn[jn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}nn=null,jn=0}}const kr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mu(e){Wo=!1,Rr=!0;try{for(Dt=0;Dt<it.length;Dt++){const t=it[Dt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Br(t,t.i,t.i?15:14),t.flags&=-2)}}finally{for(;Dt<it.length;Dt++){const t=it[Dt];t&&(t.flags&=-2)}Dt=0,it.length=0,_s(),Rr=!1,Gi=null,(it.length||qn.length)&&mu()}}let Ve=null,vu=null;function xs(e){const t=Ve;return Ve=e,vu=e&&e.type.__scopeId||null,t}function _n(e,t=Ve,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Wa(-1);const r=xs(t);let i;try{i=e(...o)}finally{xs(r),s._d&&Wa(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function rb(e,t){if(Ve===null)return e;const n=zs(Ve),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,a,l=Le]=t[o];r&&(le(r)&&(r={mounted:r,updated:r}),r.deep&&Gt(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ft(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let l=a.dir[s];l&&(gn(),At(l,n,8,[e.el,a,e,t]),mn())}}const Gh=Symbol("_vte"),yu=e=>e.__isTeleport,rn=Symbol("_leaveCb"),ts=Symbol("_enterCb");function Xh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wt(()=>{e.isMounted=!0}),jr(()=>{e.isUnmounting=!0}),e}const vt=[Function,Array],_u={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vt,onEnter:vt,onAfterEnter:vt,onEnterCancelled:vt,onBeforeLeave:vt,onLeave:vt,onAfterLeave:vt,onLeaveCancelled:vt,onBeforeAppear:vt,onAppear:vt,onAfterAppear:vt,onAppearCancelled:vt},xu=e=>{const t=e.subTree;return t.component?xu(t.component):t},Yh={name:"BaseTransition",props:_u,setup(e,{slots:t}){const n=Dn(),s=Xh();return()=>{const o=t.default&&Eu(t.default(),!0);if(!o||!o.length)return;const r=wu(o),i=ye(e),{mode:a}=i;if(s.isLeaving)return bo(r);const l=Ia(r);if(!l)return bo(r);let d=Go(l,i,s,n,f=>d=f);l.type!==Be&&Zn(l,d);const u=n.subTree,h=u&&Ia(u);if(h&&h.type!==Be&&!Pt(l,h)&&xu(n).type!==Be){const f=Go(h,i,s,n);if(Zn(h,f),a==="out-in"&&l.type!==Be)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave},bo(r);a==="in-out"&&l.type!==Be&&(f.delayLeave=(c,p,g)=>{const v=bu(s,h);v[String(h.key)]=h,c[rn]=()=>{p(),c[rn]=void 0,delete d.delayedLeave},d.delayedLeave=g})}return r}}};function wu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Be){t=n;break}}return t}const Jh=Yh;function bu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Go(e,t,n,s,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:f,onLeave:c,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:w,onAfterAppear:b,onAppearCancelled:y}=t,_=String(e.key),m=bu(n,e),x=(P,L)=>{P&&At(P,s,9,L)},E=(P,L)=>{const T=L[1];x(P,L),ae(P)?P.every(C=>C.length<=1)&&T():P.length<=1&&T()},S={mode:i,persisted:a,beforeEnter(P){let L=l;if(!n.isMounted)if(r)L=v||l;else return;P[rn]&&P[rn](!0);const T=m[_];T&&Pt(e,T)&&T.el[rn]&&T.el[rn](),x(L,[P])},enter(P){let L=d,T=u,C=h;if(!n.isMounted)if(r)L=w||d,T=b||u,C=y||h;else return;let O=!1;const F=P[ts]=$=>{O||(O=!0,$?x(C,[P]):x(T,[P]),S.delayedLeave&&S.delayedLeave(),P[ts]=void 0)};L?E(L,[P,F]):F()},leave(P,L){const T=String(e.key);if(P[ts]&&P[ts](!0),n.isUnmounting)return L();x(f,[P]);let C=!1;const O=P[rn]=F=>{C||(C=!0,L(),F?x(g,[P]):x(p,[P]),P[rn]=void 0,m[T]===e&&delete m[T])};m[T]=e,c?E(c,[P,O]):O()},clone(P){const L=Go(P,t,n,s,o);return o&&o(L),L}};return S}function bo(e){if(Xs(e))return e=qt(e),e.children=null,e}function Ia(e){if(!Xs(e))return yu(e.type)&&e.children?wu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&le(n.default))return n.default()}}function Zn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Eu(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Ke?(i.patchFlag&128&&o++,s=s.concat(Eu(i.children,t,a))):(t||i.type!==Be)&&s.push(a!=null?qt(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function ze(e,t){return le(e)?je({name:e.name},t,{setup:e}):e}function Su(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ws(e,t,n,s,o=!1){if(ae(e)){e.forEach((p,g)=>ws(p,t&&(ae(t)?t[g]:t),n,s,o));return}if(cn(s)&&!o)return;const r=s.shapeFlag&4?zs(s.component):s.el,i=o?null:r,{i:a,r:l}=e,d=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,h=a.setupState,f=ye(h),c=h===Le?()=>!1:p=>Pe(f,p);if(d!=null&&d!==l&&(Oe(d)?(u[d]=null,c(d)&&(h[d]=null)):Me(d)&&(d.value=null)),le(l))Br(l,a,12,[i,u]);else{const p=Oe(l),g=Me(l);if(p||g){const v=()=>{if(e.f){const w=p?c(l)?h[l]:u[l]:l.value;o?ae(w)&&Ni(w,r):ae(w)?w.includes(r)||w.push(r):p?(u[l]=[r],c(l)&&(h[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else p?(u[l]=i,c(l)&&(h[l]=i)):g&&(l.value=i,e.k&&(u[e.k]=i))};i?(v.id=-1,Je(v,n)):v()}}}let Oa=!1;const Un=()=>{Oa||(console.error("Hydration completed but contains mismatches."),Oa=!0)},qh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Qh=e=>e.namespaceURI.includes("MathML"),ns=e=>{if(e.nodeType===1){if(qh(e))return"svg";if(Qh(e))return"mathml"}},rs=e=>e.nodeType===8;function zh(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:d}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),_s(),_._vnode=y;return}h(_.firstChild,y,null,null,null),_s(),_._vnode=y},h=(y,_,m,x,E,S=!1)=>{S=S||!!_.dynamicChildren;const P=rs(y)&&y.data==="[",L=()=>g(y,_,m,x,E,P),{type:T,ref:C,shapeFlag:O,patchFlag:F}=_;let $=y.nodeType;_.el=y,F===-2&&(S=!1,_.dynamicChildren=null);let U=null;switch(T){case fn:$!==3?_.children===""?(l(_.el=o(""),i(y),y),U=y):U=L():(y.data!==_.children&&(Un(),y.data=_.children),U=r(y));break;case Be:b(y)?(U=r(y),w(_.el=y.content.firstChild,y,m)):$!==8||P?U=L():U=r(y);break;case xr:if(P&&(y=r(y),$=y.nodeType),$===1||$===3){U=y;const j=!_.children.length;for(let Y=0;Y<_.staticCount;Y++)j&&(_.children+=U.nodeType===1?U.outerHTML:U.data),Y===_.staticCount-1&&(_.anchor=U),U=r(U);return P?r(U):U}else L();break;case Ke:P?U=p(y,_,m,x,E,S):U=L();break;default:if(O&1)($!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!b(y)?U=L():U=f(y,_,m,x,E,S);else if(O&6){_.slotScopeIds=E;const j=i(y);if(P?U=v(y):rs(y)&&y.data==="teleport start"?U=v(y,y.data,"teleport end"):U=r(y),t(_,j,null,m,x,ns(j),S),cn(_)){let Y;P?(Y=Ae(Ke),Y.anchor=U?U.previousSibling:j.lastChild):Y=y.nodeType===3?qs(""):Ae("div"),Y.el=y,_.component.subTree=Y}}else O&64?$!==8?U=L():U=_.type.hydrate(y,_,m,x,E,S,e,c):O&128&&(U=_.type.hydrate(y,_,m,x,ns(i(y)),E,S,e,h))}return C!=null&&ws(C,null,x,_),U},f=(y,_,m,x,E,S)=>{S=S||!!_.dynamicChildren;const{type:P,props:L,patchFlag:T,shapeFlag:C,dirs:O,transition:F}=_,$=P==="input"||P==="option";if($||T!==-1){O&&Ft(_,null,m,"created");let U=!1;if(b(y)){U=Xu(x,F)&&m&&m.vnode.props&&m.vnode.props.appear;const Y=y.content.firstChild;U&&F.beforeEnter(Y),w(Y,y,m),_.el=y=Y}if(C&16&&!(L&&(L.innerHTML||L.textContent))){let Y=c(y.firstChild,_,y,m,x,E,S);for(;Y;){ss(y,1)||Un();const se=Y;Y=Y.nextSibling,a(se)}}else C&8&&y.textContent!==_.children&&(ss(y,0)||Un(),y.textContent=_.children);if(L){if($||!S||T&48){const Y=y.tagName.includes("-");for(const se in L)($&&(se.endsWith("value")||se==="indeterminate")||Hr(se)&&!Jn(se)||se[0]==="."||Y)&&s(y,se,null,L[se],void 0,m)}else if(L.onClick)s(y,"onClick",null,L.onClick,void 0,m);else if(T&4&&In(L.style))for(const Y in L.style)L.style[Y]}let j;(j=L&&L.onVnodeBeforeMount)&&ct(j,m,_),O&&Ft(_,null,m,"beforeMount"),((j=L&&L.onVnodeMounted)||O||U)&&Zu(()=>{j&&ct(j,m,_),U&&F.enter(y),O&&Ft(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,E,S,P)=>{P=P||!!_.dynamicChildren;const L=_.children,T=L.length;for(let C=0;C<T;C++){const O=P?L[C]:L[C]=mt(L[C]),F=O.type===fn;y?(F&&!P&&C+1<T&&mt(L[C+1]).type===fn&&(l(o(y.data.slice(O.children.length)),m,r(y)),y.data=O.children),y=h(y,O,x,E,S,P)):F&&!O.children?l(O.el=o(""),m):(ss(m,1)||Un(),n(null,O,m,null,x,E,ns(m),S))}return y},p=(y,_,m,x,E,S)=>{const{slotScopeIds:P}=_;P&&(E=E?E.concat(P):P);const L=i(y),T=c(r(y),_,L,m,x,E,S);return T&&rs(T)&&T.data==="]"?r(_.anchor=T):(Un(),l(_.anchor=d("]"),L,T),T)},g=(y,_,m,x,E,S)=>{if(ss(y.parentElement,1)||Un(),_.el=null,S){const T=v(y);for(;;){const C=r(y);if(C&&C!==T)a(C);else break}}const P=r(y),L=i(y);return a(y),n(null,_,L,P,m,x,ns(L),E),P},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&rs(y)&&(y.data===_&&x++,y.data===m)){if(x===0)return r(y);x--}return y},w=(y,_,m)=>{const x=_.parentNode;x&&x.replaceChild(y,_);let E=m;for(;E;)E.vnode.el===_&&(E.vnode.el=E.subTree.el=y),E=E.parent},b=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,h]}const Na="data-allow-mismatch",Zh={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function ss(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Na);)e=e.parentElement;const n=e&&e.getAttribute(Na);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Zh[t])}}const cn=e=>!!e.type.__asyncLoader,Xs=e=>e.type.__isKeepAlive,ep={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),s=n.ctx;if(!s.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(b,y,_,m,x)=>{const E=b.component;d(b,y,_,0,a),l(E.vnode,b,y,_,E,a,m,b.slotScopeIds,x),Je(()=>{E.isDeactivated=!1,E.a&&vr(E.a);const S=b.props&&b.props.onVnodeMounted;S&&ct(S,E.parent,b)},a)},s.deactivate=b=>{const y=b.component;Es(y.m),Es(y.a),d(b,f,null,1,a),Je(()=>{y.da&&vr(y.da);const _=b.props&&b.props.onVnodeUnmounted;_&&ct(_,y.parent,b),y.isDeactivated=!0},a)};function c(b){Eo(b),u(b,n,a,!0)}function p(b){o.forEach((y,_)=>{const m=ei(y.type);m&&!b(m)&&g(_)})}function g(b){const y=o.get(b);y&&(!i||!Pt(y,i))?c(y):i&&Eo(i),o.delete(b),r.delete(b)}ht(()=>[e.include,e.exclude],([b,y])=>{b&&p(_=>gr(b,_)),y&&p(_=>!gr(y,_))},{flush:"post",deep:!0});let v=null;const w=()=>{v!=null&&(Ss(n.subTree.type)?Je(()=>{o.set(v,os(n.subTree))},n.subTree.suspense):o.set(v,os(n.subTree)))};return wt(w),Lu(w),jr(()=>{o.forEach(b=>{const{subTree:y,suspense:_}=n,m=os(y);if(b.type===m.type&&b.key===m.key){Eo(m);const x=m.component.da;x&&Je(x,_);return}c(b)})}),()=>{if(v=null,!t.default)return i=null;const b=t.default(),y=b[0];if(b.length>1)return i=null,b;if(!tr(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=os(y);if(_.type===Be)return i=null,_;const m=_.type,x=ei(cn(_)?_.type.__asyncResolved||{}:m),{include:E,exclude:S,max:P}=e;if(E&&(!x||!gr(E,x))||S&&x&&gr(S,x))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,T=o.get(L);return _.el&&(_=qt(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,T?(_.el=T.el,_.component=T.component,_.transition&&Zn(_,_.transition),_.shapeFlag|=512,r.delete(L),r.add(L)):(r.add(L),P&&r.size>parseInt(P,10)&&g(r.values().next().value)),_.shapeFlag|=256,i=_,Ss(y.type)?y:_}}},tp=ep;function gr(e,t){return ae(e)?e.some(n=>gr(n,t)):Oe(e)?e.split(",").includes(t):eh(e)?(e.lastIndex=0,e.test(t)):!1}function Cu(e,t){Tu(e,"a",t)}function Pu(e,t){Tu(e,"da",t)}function Tu(e,t,n=Ge){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ys(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Xs(o.parent.vnode)&&np(s,t,n,o),o=o.parent}}function np(e,t,n,s){const o=Ys(t,e,s,!0);Yi(()=>{Ni(s[t],o)},n)}function Eo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function os(e){return e.shapeFlag&128?e.ssContent:e}function Ys(e,t,n=Ge,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{gn();const a=Wr(n),l=At(t,n,e,i);return a(),mn(),l});return s?o.unshift(r):o.push(r),r}}const Qt=e=>(t,n=Ge)=>{(!Qs||e==="sp")&&Ys(e,(...s)=>t(...s),n)},rp=Qt("bm"),wt=Qt("m"),sp=Qt("bu"),Lu=Qt("u"),jr=Qt("bum"),Yi=Qt("um"),op=Qt("sp"),ip=Qt("rtg"),ap=Qt("rtc");function Ru(e,t=Ge){Ys("ec",e,t)}const ku="components";function Ma(e,t){return Iu(ku,e,!0,t)||e}const Au=Symbol.for("v-ndc");function lp(e){return Oe(e)?Iu(ku,e,!1)||e:e||Au}function Iu(e,t,n=!0,s=!1){const o=Ve||Ge;if(o){const r=o.type;{const a=ei(r,!1);if(a&&(a===t||a===kt(t)||a===Bs(kt(t))))return r}const i=Da(o[e]||r[e],t)||Da(o.appContext[e],t);return!i&&s?r:i}}function Da(e,t){return e&&(e[t]||e[kt(t)]||e[Bs(kt(t))])}function sb(e,t,n,s){let o;const r=n,i=ae(e);if(i||Oe(e)){const a=i&&In(e);a&&(e=Ks(e)),o=new Array(e.length);for(let l=0,d=e.length;l<d;l++)o[l]=t(a?Ze(e[l]):e[l],l,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,r)}else if(Re(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,r));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,d=a.length;l<d;l++){const u=a[l];o[l]=t(e[u],u,l,r)}}else o=[];return o}function ob(e,t,n={},s,o){if(Ve.ce||Ve.parent&&cn(Ve.parent)&&Ve.parent.ce)return ve(),qe(Ke,null,[Ae("slot",n,s)],64);let r=e[t];r&&r._c&&(r._d=!1),ve();const i=r&&Ou(r(n)),a=qe(Ke,{key:(n.key||i&&i.key||`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Ou(e){return e.some(t=>tr(t)?!(t.type===Be||t.type===Ke&&!Ou(t.children)):!0)?e:null}const Xo=e=>e?sf(e)?zs(e):Xo(e.parent):null,_r=je(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=>Xo(e.parent),$root:e=>Xo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ji(e),$forceUpdate:e=>e.f||(e.f=()=>{Xi(e.update)}),$nextTick:e=>e.n||(e.n=yn.bind(e.proxy)),$watch:e=>Rp.bind(e)}),So=(e,t)=>e!==Le&&!e.__isScriptSetup&&Pe(e,t),cp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=e;let d;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(So(s,t))return i[t]=1,s[t];if(o!==Le&&Pe(o,t))return i[t]=2,o[t];if((d=e.propsOptions[0])&&Pe(d,t))return i[t]=3,r[t];if(n!==Le&&Pe(n,t))return i[t]=4,n[t];Yo&&(i[t]=0)}}const u=_r[t];let h,f;if(u)return t==="$attrs"&&tt(e.attrs,"get",""),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Le&&Pe(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Pe(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return So(o,t)?(o[t]=n,!0):s!==Le&&Pe(s,t)?(s[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||e!==Le&&Pe(e,i)||So(t,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(_r,i)||Pe(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fa(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Yo=!0;function up(e){const t=Ji(e),n=e.proxy,s=e.ctx;Yo=!1,t.beforeCreate&&$a(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy:w,beforeUnmount:b,destroyed:y,unmounted:_,render:m,renderTracked:x,renderTriggered:E,errorCaptured:S,serverPrefetch:P,expose:L,inheritAttrs:T,components:C,directives:O,filters:F}=t;if(d&&fp(d,s,null),i)for(const j in i){const Y=i[j];le(Y)&&(s[j]=Y.bind(n))}if(o){const j=o.call(n,n);Re(j)&&(e.data=vn(j))}if(Yo=!0,r)for(const j in r){const Y=r[j],se=le(Y)?Y.bind(n,n):le(Y.get)?Y.get.bind(n,n):Ht,ue=!le(Y)&&le(Y.set)?Y.set.bind(n):Ht,ce=ge({get:se,set:ue});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ne=>ce.value=ne})}if(a)for(const j in a)Nu(a[j],s,n,j);if(l){const j=le(l)?l.call(n):l;Reflect.ownKeys(j).forEach(Y=>{un(Y,j[Y])})}u&&$a(u,e,"c");function U(j,Y){ae(Y)?Y.forEach(se=>j(se.bind(n))):Y&&j(Y.bind(n))}if(U(rp,h),U(wt,f),U(sp,c),U(Lu,p),U(Cu,g),U(Pu,v),U(Ru,S),U(ap,x),U(ip,E),U(jr,b),U(Yi,_),U(op,P),ae(L))if(L.length){const j=e.exposed||(e.exposed={});L.forEach(Y=>{Object.defineProperty(j,Y,{get:()=>n[Y],set:se=>n[Y]=se})})}else e.exposed||(e.exposed={});m&&e.render===Ht&&(e.render=m),T!=null&&(e.inheritAttrs=T),C&&(e.components=C),O&&(e.directives=O),P&&Su(e)}function fp(e,t,n=Ht){ae(e)&&(e=Jo(e));for(const s in e){const o=e[s];let r;Re(o)?"default"in o?r=et(o.from||s,o.default,!0):r=et(o.from||s):r=et(o),Me(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function $a(e,t,n){At(ae(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Nu(e,t,n,s){let o=s.includes(".")?qu(n,s):()=>n[s];if(Oe(e)){const r=t[e];le(r)&&ht(o,r)}else if(le(e))ht(o,e.bind(n));else if(Re(e))if(ae(e))e.forEach(r=>Nu(r,t,n,s));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&ht(o,r,e)}}function Ji(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(d=>bs(l,d,i,!0)),bs(l,t,i)),Re(t)&&r.set(t,l),l}function bs(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&bs(e,r,n,!0),o&&o.forEach(i=>bs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=dp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const dp={data:Ha,props:Ua,emits:Ua,methods:mr,computed:mr,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:mr,directives:mr,watch:pp,provide:Ha,inject:hp};function Ha(e,t){return t?e?function(){return je(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function hp(e,t){return mr(Jo(e),Jo(t))}function Jo(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function rt(e,t){return e?[...new Set([].concat(e,t))]:t}function mr(e,t){return e?je(Object.create(null),e,t):t}function Ua(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:je(Object.create(null),Fa(e),Fa(t??{})):t}function pp(e,t){if(!e)return t;if(!t)return e;const n=je(Object.create(null),e);for(const s in t)n[s]=rt(e[s],t[s]);return n}function Mu(){return{app:null,config:{isNativeTag:zd,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 gp=0;function mp(e,t){return function(s,o=null){le(s)||(s=je({},s)),o!=null&&!Re(o)&&(o=null);const r=Mu(),i=new WeakSet,a=[];let l=!1;const d=r.app={_uid:gp++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:af,get config(){return r.config},set config(u){},use(u,...h){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(d,...h)):le(u)&&(i.add(u),u(d,...h))),d},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),d},component(u,h){return h?(r.components[u]=h,d):r.components[u]},directive(u,h){return h?(r.directives[u]=h,d):r.directives[u]},mount(u,h,f){if(!l){const c=d._ceVNode||Ae(s,o);return c.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),h&&t?t(c,u):e(c,u,f),l=!0,d._container=u,u.__vue_app__=d,zs(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(At(a,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(u,h){return r.provides[u]=h,d},runWithContext(u){const h=On;On=d;try{return u()}finally{On=h}}};return d}}let On=null;function un(e,t){if(Ge){let n=Ge.provides;const s=Ge.parent&&Ge.parent.provides;s===n&&(n=Ge.provides=Object.create(s)),n[e]=t}}function et(e,t,n=!1){const s=Ge||Ve;if(s||On){const o=On?On._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&le(t)?t.call(s&&s.proxy):t}}function Du(){return!!(Ge||Ve||On)}const Fu={},$u=()=>Object.create(Fu),Hu=e=>Object.getPrototypeOf(e)===Fu;function vp(e,t,n,s=!1){const o={},r=$u();e.propsDefaults=Object.create(null),Uu(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Xt(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function yp(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ye(o),[l]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let f=u[h];if(Js(e.emitsOptions,f))continue;const c=t[f];if(l)if(Pe(r,f))c!==r[f]&&(r[f]=c,d=!0);else{const p=kt(f);o[p]=qo(l,a,p,c,e,!1)}else c!==r[f]&&(r[f]=c,d=!0)}}}else{Uu(e,t,o,r)&&(d=!0);let u;for(const h in a)(!t||!Pe(t,h)&&((u=Mn(h))===h||!Pe(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=qo(l,a,h,void 0,e,!0)):delete o[h]);if(r!==a)for(const h in r)(!t||!Pe(t,h))&&(delete r[h],d=!0)}d&&Jt(e.attrs,"set","")}function Uu(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Jn(l))continue;const d=t[l];let u;o&&Pe(o,u=kt(l))?!r||!r.includes(u)?n[u]=d:(a||(a={}))[u]=d:Js(e.emitsOptions,l)||(!(l in s)||d!==s[l])&&(s[l]=d,i=!0)}if(r){const l=ye(n),d=a||Le;for(let u=0;u<r.length;u++){const h=r[u];n[h]=qo(o,l,h,d[h],e,!Pe(d,h))}}return i}function qo(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=Pe(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&le(l)){const{propsDefaults:d}=o;if(n in d)s=d[n];else{const u=Wr(o);s=d[n]=l.call(null,t),u()}}else s=l;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Mn(n))&&(s=!0))}return s}const _p=new WeakMap;function Bu(e,t,n=!1){const s=n?_p:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!le(e)){const u=h=>{l=!0;const[f,c]=Bu(h,t,!0);je(i,f),c&&a.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Re(e)&&s.set(e,Xn),Xn;if(ae(r))for(let u=0;u<r.length;u++){const h=kt(r[u]);Ba(h)&&(i[h]=Le)}else if(r)for(const u in r){const h=kt(u);if(Ba(h)){const f=r[u],c=i[h]=ae(f)||le(f)?{type:f}:je({},f),p=c.type;let g=!1,v=!0;if(ae(p))for(let w=0;w<p.length;++w){const b=p[w],y=le(b)&&b.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(v=!1)}else g=le(p)&&p.name==="Boolean";c[0]=g,c[1]=v,(g||Pe(c,"default"))&&a.push(h)}}const d=[i,a];return Re(e)&&s.set(e,d),d}function Ba(e){return e[0]!=="$"&&!Jn(e)}const Vu=e=>e[0]==="_"||e==="$stable",qi=e=>ae(e)?e.map(mt):[mt(e)],xp=(e,t,n)=>{if(t._n)return t;const s=_n((...o)=>qi(t(...o)),n);return s._c=!1,s},ju=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Vu(o))continue;const r=e[o];if(le(r))t[o]=xp(o,r,s);else if(r!=null){const i=qi(r);t[o]=()=>i}}},Wu=(e,t)=>{const n=qi(t);e.slots.default=()=>n},Ku=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},wp=(e,t,n)=>{const s=e.slots=$u();if(e.vnode.shapeFlag&32){const o=t._;o?(Ku(s,t,n),n&&Wc(s,"_",o,!0)):ju(t,s)}else t&&Wu(e,t)},bp=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Le;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:Ku(o,t,n):(r=!t.$stable,ju(t,o)),i=t}else t&&(Wu(e,t),i={default:1});if(r)for(const a in o)!Vu(a)&&i[a]==null&&delete o[a]},Je=Zu;function Ep(e){return Gu(e)}function Sp(e){return Gu(e,zh)}function Gu(e,t){const n=Gc();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:c=Ht,insertStaticContent:p}=e,g=(A,I,D,W=null,B=null,X=null,Q=void 0,R=null,k=!!I.dynamicChildren)=>{if(A===I)return;A&&!Pt(A,I)&&(W=V(A),ne(A,B,X,!0),A=null),I.patchFlag===-2&&(k=!1,I.dynamicChildren=null);const{type:N,ref:K,shapeFlag:J}=I;switch(N){case fn:v(A,I,D,W);break;case Be:w(A,I,D,W);break;case xr:A==null&&b(I,D,W,Q);break;case Ke:C(A,I,D,W,B,X,Q,R,k);break;default:J&1?m(A,I,D,W,B,X,Q,R,k):J&6?O(A,I,D,W,B,X,Q,R,k):(J&64||J&128)&&N.process(A,I,D,W,B,X,Q,R,k,ee)}K!=null&&B&&ws(K,A&&A.ref,X,I||A,!I)},v=(A,I,D,W)=>{if(A==null)s(I.el=a(I.children),D,W);else{const B=I.el=A.el;I.children!==A.children&&d(B,I.children)}},w=(A,I,D,W)=>{A==null?s(I.el=l(I.children||""),D,W):I.el=A.el},b=(A,I,D,W)=>{[A.el,A.anchor]=p(A.children,I,D,W,A.el,A.anchor)},y=({el:A,anchor:I},D,W)=>{let B;for(;A&&A!==I;)B=f(A),s(A,D,W),A=B;s(I,D,W)},_=({el:A,anchor:I})=>{let D;for(;A&&A!==I;)D=f(A),o(A),A=D;o(I)},m=(A,I,D,W,B,X,Q,R,k)=>{I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),A==null?x(I,D,W,B,X,Q,R,k):P(A,I,B,X,Q,R,k)},x=(A,I,D,W,B,X,Q,R)=>{let k,N;const{props:K,shapeFlag:J,transition:G,dirs:M}=A;if(k=A.el=i(A.type,X,K&&K.is,K),J&8?u(k,A.children):J&16&&S(A.children,k,null,W,B,Co(A,X),Q,R),M&&Ft(A,null,W,"created"),E(k,A,A.scopeId,Q,W),K){for(const re in K)re!=="value"&&!Jn(re)&&r(k,re,null,K[re],X,W);"value"in K&&r(k,"value",null,K.value,X),(N=K.onVnodeBeforeMount)&&ct(N,W,A)}M&&Ft(A,null,W,"beforeMount");const H=Xu(B,G);H&&G.beforeEnter(k),s(k,I,D),((N=K&&K.onVnodeMounted)||H||M)&&Je(()=>{N&&ct(N,W,A),H&&G.enter(k),M&&Ft(A,null,W,"mounted")},B)},E=(A,I,D,W,B)=>{if(D&&c(A,D),W)for(let X=0;X<W.length;X++)c(A,W[X]);if(B){let X=B.subTree;if(I===X||Ss(X.type)&&(X.ssContent===I||X.ssFallback===I)){const Q=B.vnode;E(A,Q,Q.scopeId,Q.slotScopeIds,B.parent)}}},S=(A,I,D,W,B,X,Q,R,k=0)=>{for(let N=k;N<A.length;N++){const K=A[N]=R?sn(A[N]):mt(A[N]);g(null,K,I,D,W,B,X,Q,R)}},P=(A,I,D,W,B,X,Q)=>{const R=I.el=A.el;let{patchFlag:k,dynamicChildren:N,dirs:K}=I;k|=A.patchFlag&16;const J=A.props||Le,G=I.props||Le;let M;if(D&&En(D,!1),(M=G.onVnodeBeforeUpdate)&&ct(M,D,I,A),K&&Ft(I,A,D,"beforeUpdate"),D&&En(D,!0),(J.innerHTML&&G.innerHTML==null||J.textContent&&G.textContent==null)&&u(R,""),N?L(A.dynamicChildren,N,R,D,W,Co(I,B),X):Q||Y(A,I,R,null,D,W,Co(I,B),X,!1),k>0){if(k&16)T(R,J,G,D,B);else if(k&2&&J.class!==G.class&&r(R,"class",null,G.class,B),k&4&&r(R,"style",J.style,G.style,B),k&8){const H=I.dynamicProps;for(let re=0;re<H.length;re++){const oe=H[re],Ne=J[oe],De=G[oe];(De!==Ne||oe==="value")&&r(R,oe,Ne,De,B,D)}}k&1&&A.children!==I.children&&u(R,I.children)}else!Q&&N==null&&T(R,J,G,D,B);((M=G.onVnodeUpdated)||K)&&Je(()=>{M&&ct(M,D,I,A),K&&Ft(I,A,D,"updated")},W)},L=(A,I,D,W,B,X,Q)=>{for(let R=0;R<I.length;R++){const k=A[R],N=I[R],K=k.el&&(k.type===Ke||!Pt(k,N)||k.shapeFlag&70)?h(k.el):D;g(k,N,K,null,W,B,X,Q,!0)}},T=(A,I,D,W,B)=>{if(I!==D){if(I!==Le)for(const X in I)!Jn(X)&&!(X in D)&&r(A,X,I[X],null,B,W);for(const X in D){if(Jn(X))continue;const Q=D[X],R=I[X];Q!==R&&X!=="value"&&r(A,X,R,Q,B,W)}"value"in D&&r(A,"value",I.value,D.value,B)}},C=(A,I,D,W,B,X,Q,R,k)=>{const N=I.el=A?A.el:a(""),K=I.anchor=A?A.anchor:a("");let{patchFlag:J,dynamicChildren:G,slotScopeIds:M}=I;M&&(R=R?R.concat(M):M),A==null?(s(N,D,W),s(K,D,W),S(I.children||[],D,K,B,X,Q,R,k)):J>0&&J&64&&G&&A.dynamicChildren?(L(A.dynamicChildren,G,D,B,X,Q,R),(I.key!=null||B&&I===B.subTree)&&Yu(A,I,!0)):Y(A,I,D,K,B,X,Q,R,k)},O=(A,I,D,W,B,X,Q,R,k)=>{I.slotScopeIds=R,A==null?I.shapeFlag&512?B.ctx.activate(I,D,W,Q,k):F(I,D,W,B,X,Q,k):$(A,I,k)},F=(A,I,D,W,B,X,Q)=>{const R=A.component=Gp(A,W,B);if(Xs(A)&&(R.ctx.renderer=ee),Xp(R,!1,Q),R.asyncDep){if(B&&B.registerDep(R,U,Q),!A.el){const k=R.subTree=Ae(Be);w(null,k,I,D)}}else U(R,A,I,D,B,X,Q)},$=(A,I,D)=>{const W=I.component=A.component;if(Mp(A,I,D))if(W.asyncDep&&!W.asyncResolved){j(W,I,D);return}else W.next=I,W.update();else I.el=A.el,W.vnode=I},U=(A,I,D,W,B,X,Q)=>{const R=()=>{if(A.isMounted){let{next:J,bu:G,u:M,parent:H,vnode:re}=A;{const nt=Ju(A);if(nt){J&&(J.el=re.el,j(A,J,Q)),nt.asyncDep.then(()=>{A.isUnmounted||R()});return}}let oe=J,Ne;En(A,!1),J?(J.el=re.el,j(A,J,Q)):J=re,G&&vr(G),(Ne=J.props&&J.props.onVnodeBeforeUpdate)&&ct(Ne,H,J,re),En(A,!0);const De=Po(A),We=A.subTree;A.subTree=De,g(We,De,h(We.el),V(We),A,B,X),J.el=De.el,oe===null&&zi(A,De.el),M&&Je(M,B),(Ne=J.props&&J.props.onVnodeUpdated)&&Je(()=>ct(Ne,H,J,re),B)}else{let J;const{el:G,props:M}=I,{bm:H,m:re,parent:oe,root:Ne,type:De}=A,We=cn(I);if(En(A,!1),H&&vr(H),!We&&(J=M&&M.onVnodeBeforeMount)&&ct(J,oe,I),En(A,!0),G&&xe){const nt=()=>{A.subTree=Po(A),xe(G,A.subTree,A,B,null)};We&&De.__asyncHydrate?De.__asyncHydrate(G,A,nt):nt()}else{Ne.ce&&Ne.ce._injectChildStyle(De);const nt=A.subTree=Po(A);g(null,nt,D,W,A,B,X),I.el=nt.el}if(re&&Je(re,B),!We&&(J=M&&M.onVnodeMounted)){const nt=I;Je(()=>ct(J,oe,nt),B)}(I.shapeFlag&256||oe&&cn(oe.vnode)&&oe.vnode.shapeFlag&256)&&A.a&&Je(A.a,B),A.isMounted=!0,I=D=W=null}};A.scope.on();const k=A.effect=new Qc(R);A.scope.off();const N=A.update=k.run.bind(k),K=A.job=k.runIfDirty.bind(k);K.i=A,K.id=A.uid,k.scheduler=()=>Xi(K),En(A,!0),N()},j=(A,I,D)=>{I.component=A;const W=A.vnode.props;A.vnode=I,A.next=null,yp(A,I.props,W,D),bp(A,I.children,D),gn(),Aa(A),mn()},Y=(A,I,D,W,B,X,Q,R,k=!1)=>{const N=A&&A.children,K=A?A.shapeFlag:0,J=I.children,{patchFlag:G,shapeFlag:M}=I;if(G>0){if(G&128){ue(N,J,D,W,B,X,Q,R,k);return}else if(G&256){se(N,J,D,W,B,X,Q,R,k);return}}M&8?(K&16&&fe(N,B,X),J!==N&&u(D,J)):K&16?M&16?ue(N,J,D,W,B,X,Q,R,k):fe(N,B,X,!0):(K&8&&u(D,""),M&16&&S(J,D,W,B,X,Q,R,k))},se=(A,I,D,W,B,X,Q,R,k)=>{A=A||Xn,I=I||Xn;const N=A.length,K=I.length,J=Math.min(N,K);let G;for(G=0;G<J;G++){const M=I[G]=k?sn(I[G]):mt(I[G]);g(A[G],M,D,null,B,X,Q,R,k)}N>K?fe(A,B,X,!0,!1,J):S(I,D,W,B,X,Q,R,k,J)},ue=(A,I,D,W,B,X,Q,R,k)=>{let N=0;const K=I.length;let J=A.length-1,G=K-1;for(;N<=J&&N<=G;){const M=A[N],H=I[N]=k?sn(I[N]):mt(I[N]);if(Pt(M,H))g(M,H,D,null,B,X,Q,R,k);else break;N++}for(;N<=J&&N<=G;){const M=A[J],H=I[G]=k?sn(I[G]):mt(I[G]);if(Pt(M,H))g(M,H,D,null,B,X,Q,R,k);else break;J--,G--}if(N>J){if(N<=G){const M=G+1,H=M<K?I[M].el:W;for(;N<=G;)g(null,I[N]=k?sn(I[N]):mt(I[N]),D,H,B,X,Q,R,k),N++}}else if(N>G)for(;N<=J;)ne(A[N],B,X,!0),N++;else{const M=N,H=N,re=new Map;for(N=H;N<=G;N++){const gt=I[N]=k?sn(I[N]):mt(I[N]);gt.key!=null&&re.set(gt.key,N)}let oe,Ne=0;const De=G-H+1;let We=!1,nt=0;const $n=new Array(De);for(N=0;N<De;N++)$n[N]=0;for(N=M;N<=J;N++){const gt=A[N];if(Ne>=De){ne(gt,B,X,!0);continue}let Mt;if(gt.key!=null)Mt=re.get(gt.key);else for(oe=H;oe<=G;oe++)if($n[oe-H]===0&&Pt(gt,I[oe])){Mt=oe;break}Mt===void 0?ne(gt,B,X,!0):($n[Mt-H]=N+1,Mt>=nt?nt=Mt:We=!0,g(gt,I[Mt],D,null,B,X,Q,R,k),Ne++)}const ba=We?Cp($n):Xn;for(oe=ba.length-1,N=De-1;N>=0;N--){const gt=H+N,Mt=I[gt],Ea=gt+1<K?I[gt+1].el:W;$n[N]===0?g(null,Mt,D,Ea,B,X,Q,R,k):We&&(oe<0||N!==ba[oe]?ce(Mt,D,Ea,2):oe--)}}},ce=(A,I,D,W,B=null)=>{const{el:X,type:Q,transition:R,children:k,shapeFlag:N}=A;if(N&6){ce(A.component.subTree,I,D,W);return}if(N&128){A.suspense.move(I,D,W);return}if(N&64){Q.move(A,I,D,ee);return}if(Q===Ke){s(X,I,D);for(let J=0;J<k.length;J++)ce(k[J],I,D,W);s(A.anchor,I,D);return}if(Q===xr){y(A,I,D);return}if(W!==2&&N&1&&R)if(W===0)R.beforeEnter(X),s(X,I,D),Je(()=>R.enter(X),B);else{const{leave:J,delayLeave:G,afterLeave:M}=R,H=()=>s(X,I,D),re=()=>{J(X,()=>{H(),M&&M()})};G?G(X,H,re):re()}else s(X,I,D)},ne=(A,I,D,W=!1,B=!1)=>{const{type:X,props:Q,ref:R,children:k,dynamicChildren:N,shapeFlag:K,patchFlag:J,dirs:G,cacheIndex:M}=A;if(J===-2&&(B=!1),R!=null&&ws(R,null,D,A,!0),M!=null&&(I.renderCache[M]=void 0),K&256){I.ctx.deactivate(A);return}const H=K&1&&G,re=!cn(A);let oe;if(re&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ct(oe,I,A),K&6)Ue(A.component,D,W);else{if(K&128){A.suspense.unmount(D,W);return}H&&Ft(A,null,I,"beforeUnmount"),K&64?A.type.remove(A,I,D,ee,W):N&&!N.hasOnce&&(X!==Ke||J>0&&J&64)?fe(N,I,D,!1,!0):(X===Ke&&J&384||!B&&K&16)&&fe(k,I,D),W&&Se(A)}(re&&(oe=Q&&Q.onVnodeUnmounted)||H)&&Je(()=>{oe&&ct(oe,I,A),H&&Ft(A,null,I,"unmounted")},D)},Se=A=>{const{type:I,el:D,anchor:W,transition:B}=A;if(I===Ke){_e(D,W);return}if(I===xr){_(A);return}const X=()=>{o(D),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(A.shapeFlag&1&&B&&!B.persisted){const{leave:Q,delayLeave:R}=B,k=()=>Q(D,X);R?R(A.el,X,k):k()}else X()},_e=(A,I)=>{let D;for(;A!==I;)D=f(A),o(A),A=D;o(I)},Ue=(A,I,D)=>{const{bum:W,scope:B,job:X,subTree:Q,um:R,m:k,a:N}=A;Es(k),Es(N),W&&vr(W),B.stop(),X&&(X.flags|=8,ne(Q,A,I,D)),R&&Je(R,I),Je(()=>{A.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},fe=(A,I,D,W=!1,B=!1,X=0)=>{for(let Q=X;Q<A.length;Q++)ne(A[Q],I,D,W,B)},V=A=>{if(A.shapeFlag&6)return V(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const I=f(A.anchor||A.el),D=I&&I[Gh];return D?f(D):I};let q=!1;const z=(A,I,D)=>{A==null?I._vnode&&ne(I._vnode,null,null,!0):g(I._vnode||null,A,I,null,null,null,D),I._vnode=A,q||(q=!0,Aa(),_s(),q=!1)},ee={p:g,um:ne,m:ce,r:Se,mt:F,mc:S,pc:Y,pbc:L,n:V,o:e};let de,xe;return t&&([de,xe]=t(ee)),{render:z,hydrate:de,createApp:mp(z,de)}}function Co({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function En({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yu(e,t,n=!1){const s=e.children,o=t.children;if(ae(s)&&ae(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=sn(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&Yu(i,a)),a.type===fn&&(a.el=i.el)}}function Cp(e){const t=e.slice(),n=[0];let s,o,r,i,a;const l=e.length;for(s=0;s<l;s++){const d=e[s];if(d!==0){if(o=n[n.length-1],e[o]<d){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<d?r=a+1:i=a;d<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Ju(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ju(t)}function Es(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Pp=Symbol.for("v-scx"),Tp=()=>et(Pp);function Lp(e,t){return Qi(e,null,t)}function ht(e,t,n){return Qi(e,t,n)}function Qi(e,t,n=Le){const{immediate:s,deep:o,flush:r,once:i}=n,a=je({},n);let l;if(Qs)if(r==="sync"){const f=Tp();l=f.__watcherHandles||(f.__watcherHandles=[])}else if(!t||s)a.once=!0;else return{stop:Ht,resume:Ht,pause:Ht};const d=Ge;a.call=(f,c,p)=>At(f,d,c,p);let u=!1;r==="post"?a.scheduler=f=>{Je(f,d&&d.suspense)}:r!=="sync"&&(u=!0,a.scheduler=(f,c)=>{c?f():Xi(f)}),a.augmentJob=f=>{t&&(f.flags|=4),u&&(f.flags|=2,d&&(f.id=d.uid,f.i=d))};const h=jh(e,t,a);return l&&l.push(h),h}function Rp(e,t,n){const s=this.proxy,o=Oe(e)?e.includes(".")?qu(s,e):()=>s[e]:e.bind(s,s);let r;le(t)?r=t:(r=t.handler,n=t);const i=Wr(this),a=Qi(o,r.bind(s),n);return i(),a}function qu(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const kp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${kt(t)}Modifiers`]||e[`${Mn(t)}Modifiers`];function Ap(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Le;let o=n;const r=t.startsWith("update:"),i=r&&kp(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Oe(u)?u.trim():u)),i.number&&(o=n.map(sh)));let a,l=s[a=vo(t)]||s[a=vo(kt(t))];!l&&r&&(l=s[a=vo(Mn(t))]),l&&At(l,e,6,o);const d=s[a+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,At(d,e,6,o)}}function Qu(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!le(e)){const l=d=>{const u=Qu(d,t,!0);u&&(a=!0,je(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Re(e)&&s.set(e,null),null):(ae(r)?r.forEach(l=>i[l]=null):je(i,r),Re(e)&&s.set(e,i),i)}function Js(e,t){return!e||!Hr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,Mn(t))||Pe(e,t))}function Po(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:a,emit:l,render:d,renderCache:u,props:h,data:f,setupState:c,ctx:p,inheritAttrs:g}=e,v=xs(e);let w,b;try{if(n.shapeFlag&4){const _=o||s,m=_;w=mt(d.call(m,_,u,h,c,f,p)),b=a}else{const _=t;w=mt(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),b=t.props?a:Op(a)}}catch(_){wr.length=0,Vr(_,e,1),w=Ae(Be)}let y=w;if(b&&g!==!1){const _=Object.keys(b),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Oi)&&(b=Np(b,r)),y=qt(y,b,!1,!0))}return n.dirs&&(y=qt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&Zn(y,n.transition),w=y,xs(v),w}function Ip(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(tr(o)){if(o.type!==Be||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Op=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hr(n))&&((t||(t={}))[n]=e[n]);return t},Np=(e,t)=>{const n={};for(const s in e)(!Oi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Mp(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:l}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Va(s,i,d):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const f=u[h];if(i[f]!==s[f]&&!Js(d,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Va(s,i,d):!0:!!i;return!1}function Va(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!Js(n,r))return!0}return!1}function zi({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ss=e=>e.__isSuspense;let Qo=0;const Dp={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,d){if(e==null)Fp(t,n,s,o,r,i,a,l,d);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}$p(e,t,n,s,o,i,a,l,d)}},hydrate:Hp,normalize:Up},Zi=Dp;function Ar(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Fp(e,t,n,s,o,r,i,a,l){const{p:d,o:{createElement:u}}=l,h=u("div"),f=e.suspense=zu(e,o,s,t,h,n,r,i,a,l);d(null,f.pendingBranch=e.ssContent,h,null,s,f,r,i),f.deps>0?(Ar(e,"onPending"),Ar(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,r,i),Qn(f,e.ssFallback)):f.resolve(!1,!0)}function $p(e,t,n,s,o,r,i,a,{p:l,um:d,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const f=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:w}=h;if(g)h.pendingBranch=f,Pt(f,g)?(l(g,f,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():v&&(w||(l(p,c,n,s,o,null,r,i,a),Qn(h,c)))):(h.pendingId=Qo++,w?(h.isHydrating=!1,h.activeBranch=g):d(g,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,f,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():(l(p,c,n,s,o,null,r,i,a),Qn(h,c))):p&&Pt(f,p)?(l(p,f,n,s,o,h,r,i,a),h.resolve(!0)):(l(null,f,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0&&h.resolve()));else if(p&&Pt(f,p))l(p,f,n,s,o,h,r,i,a),Qn(h,f);else if(Ar(t,"onPending"),h.pendingBranch=f,f.shapeFlag&512?h.pendingId=f.component.suspenseId:h.pendingId=Qo++,l(null,f,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:b,pendingId:y}=h;b>0?setTimeout(()=>{h.pendingId===y&&h.fallback(c)},b):b===0&&h.fallback(c)}}function zu(e,t,n,s,o,r,i,a,l,d,u=!1){const{p:h,m:f,um:c,n:p,o:{parentNode:g,remove:v}}=d;let w;const b=Bp(e);b&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const y=e.props?Kc(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:Qo++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,E=!1){const{vnode:S,activeBranch:P,pendingBranch:L,pendingId:T,effects:C,parentComponent:O,container:F}=m;let $=!1;m.isHydrating?m.isHydrating=!1:x||($=P&&L.transition&&L.transition.mode==="out-in",$&&(P.transition.afterLeave=()=>{T===m.pendingId&&(f(L,F,r===_?p(P):r,0),Ko(C))}),P&&(g(P.el)===F&&(r=p(P)),c(P,O,m,!0)),$||f(L,F,r,0)),Qn(m,L),m.pendingBranch=null,m.isInFallback=!1;let U=m.parent,j=!1;for(;U;){if(U.pendingBranch){U.effects.push(...C),j=!0;break}U=U.parent}!j&&!$&&Ko(C),m.effects=[],b&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Ar(S,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:E,activeBranch:S,parentComponent:P,container:L,namespace:T}=m;Ar(E,"onFallback");const C=p(S),O=()=>{m.isInFallback&&(h(null,x,L,C,P,null,T,a,l),Qn(m,x))},F=x.transition&&x.transition.mode==="out-in";F&&(S.transition.afterLeave=O),m.isInFallback=!0,c(S,P,null,!0),F||O()},move(x,E,S){m.activeBranch&&f(m.activeBranch,x,E,S),m.container=x},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(x,E,S){const P=!!m.pendingBranch;P&&m.deps++;const L=x.vnode.el;x.asyncDep.catch(T=>{Vr(T,x,0)}).then(T=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:C}=x;Zo(x,T,!1),L&&(C.el=L);const O=!L&&x.subTree.el;E(x,C,g(L||x.subTree.el),L?null:p(x.subTree),m,i,S),O&&v(O),zi(x,C.el),P&&--m.deps===0&&m.resolve()})},unmount(x,E){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,x,E),m.pendingBranch&&c(m.pendingBranch,n,x,E)}};return m}function Hp(e,t,n,s,o,r,i,a,l){const d=t.suspense=zu(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=l(e,d.pendingBranch=t.ssContent,n,d,r,i);return d.deps===0&&d.resolve(!1,!0),u}function Up(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=ja(s?n.default:n),e.ssFallback=s?ja(n.fallback):Ae(Be)}function ja(e){let t;if(le(e)){const n=er&&e._c;n&&(e._d=!1,ve()),e=e(),n&&(e._d=!0,t=dt,ef())}return ae(e)&&(e=Ip(e)),e=mt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Zu(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Ko(e)}function Qn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,s&&s.subTree===n&&(s.vnode.el=o,zi(s,o))}function Bp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ke=Symbol.for("v-fgt"),fn=Symbol.for("v-txt"),Be=Symbol.for("v-cmt"),xr=Symbol.for("v-stc"),wr=[];let dt=null;function ve(e=!1){wr.push(dt=e?null:[])}function ef(){wr.pop(),dt=wr[wr.length-1]||null}let er=1;function Wa(e){er+=e,e<0&&dt&&(dt.hasOnce=!0)}function tf(e){return e.dynamicChildren=er>0?dt||Xn:null,ef(),er>0&&dt&&dt.push(e),e}function at(e,t,n,s,o,r){return tf(ie(e,t,n,s,o,r,!0))}function qe(e,t,n,s,o){return tf(Ae(e,t,n,s,o,!0))}function tr(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const nf=({key:e})=>e??null,ds=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Me(e)||le(e)?{i:Ve,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,s=0,o=null,r=e===Ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nf(t),ref:t&&ds(t),scopeId:vu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ve};return a?(ea(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Oe(n)?8:16),er>0&&!i&&dt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&dt.push(l),l}const Ae=Vp;function Vp(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Au)&&(e=Be),tr(e)){const a=qt(e,t,!0);return n&&ea(a,n),er>0&&!r&&dt&&(a.shapeFlag&6?dt[dt.indexOf(e)]=a:dt.push(a)),a.patchFlag=-2,a}if(Qp(e)&&(e=e.__vccOpts),t){t=jp(t);let{class:a,style:l}=t;a&&!Oe(a)&&(t.class=Vs(a)),Re(l)&&(Wi(l)&&!ae(l)&&(l=je({},l)),t.style=Di(l))}const i=Oe(e)?1:Ss(e)?128:yu(e)?64:Re(e)?4:le(e)?2:0;return ie(e,t,n,s,o,i,r,!0)}function jp(e){return e?Wi(e)||Hu(e)?je({},e):e:null}function qt(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,d=t?rf(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&nf(d),ref:t&&t.ref?n&&r?ae(r)?r.concat(ds(t)):[r,ds(t)]:ds(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Zn(u,l.clone(u)),u}function qs(e=" ",t=0){return Ae(fn,null,e,t)}function ib(e,t){const n=Ae(xr,null,e);return n.staticCount=t,n}function ut(e="",t=!1){return t?(ve(),qe(Be,null,e)):Ae(Be,null,e)}function mt(e){return e==null||typeof e=="boolean"?Ae(Be):ae(e)?Ae(Ke,null,e.slice()):typeof e=="object"?sn(e):Ae(fn,null,String(e))}function sn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qt(e)}function ea(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),ea(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Hu(t)?t._ctx=Ve:o===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Ve},n=32):(t=String(t),s&64?(n=16,t=[qs(t)]):n=8);e.children=t,e.shapeFlag|=n}function rf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Vs([t.class,s.class]));else if(o==="style")t.style=Di([t.style,s.style]);else if(Hr(o)){const r=t[o],i=s[o];i&&r!==i&&!(ae(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function ct(e,t,n,s=null){At(e,t,7,[n,s])}const Wp=Mu();let Kp=0;function Gp(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Wp,r={uid:Kp++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new qc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bu(s,o),emitsOptions:Qu(s,o),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:s.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Ap.bind(null,r),e.ce&&e.ce(r),r}let Ge=null;const Dn=()=>Ge||Ve;let Cs,zo;{const e=Gc(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Cs=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),zo=t("__VUE_SSR_SETTERS__",n=>Qs=n)}const Wr=e=>{const t=Ge;return Cs(e),e.scope.on(),()=>{e.scope.off(),Cs(t)}},Ka=()=>{Ge&&Ge.scope.off(),Cs(null)};function sf(e){return e.vnode.shapeFlag&4}let Qs=!1;function Xp(e,t=!1,n=!1){t&&zo(t);const{props:s,children:o}=e.vnode,r=sf(e);vp(e,s,r,t),wp(e,o,n);const i=r?Yp(e,t):void 0;return t&&zo(!1),i}function Yp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cp);const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?qp(e):null,r=Wr(e);gn();const i=Br(s,e,0,[e.props,o]);if(mn(),r(),Bc(i)){if(cn(e)||Su(e),i.then(Ka,Ka),t)return i.then(a=>{Zo(e,a,t)}).catch(a=>{Vr(a,e,0)});e.asyncDep=i}else Zo(e,i,t)}else of(e,t)}function Zo(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)&&(e.setupState=du(t)),of(e,n)}let Ga;function of(e,t,n){const s=e.type;if(!e.render){if(!t&&Ga&&!s.render){const o=s.template||Ji(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,d=je(je({isCustomElement:r,delimiters:a},i),l);s.render=Ga(o,d)}}e.render=s.render||Ht}{const o=Wr(e);gn();try{up(e)}finally{mn(),o()}}}const Jp={get(e,t){return tt(e,"get",""),e[t]}};function qp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Jp),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(du(Ih(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _r)return _r[n](e)},has(t,n){return n in t||n in _r}})):e.proxy}function ei(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function Qp(e){return le(e)&&"__vccOpts"in e}const ge=(e,t)=>Bh(e,t,Qs);function Ye(e,t,n){const s=arguments.length;return s===2?Re(t)&&!ae(t)?tr(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&tr(n)&&(n=[n]),Ae(e,t,n))}const af="3.5.3";/**
* @vue/runtime-dom v3.5.3
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ti;const Xa=typeof window<"u"&&window.trustedTypes;if(Xa)try{ti=Xa.createPolicy("vue",{createHTML:e=>e})}catch{}const lf=ti?e=>ti.createHTML(e):e=>e,zp="http://www.w3.org/2000/svg",Zp="http://www.w3.org/1998/Math/MathML",Kt=typeof document<"u"?document:null,Ya=Kt&&Kt.createElement("template"),eg={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 o=t==="svg"?Kt.createElementNS(zp,e):t==="mathml"?Kt.createElementNS(Zp,e):n?Kt.createElement(e,{is:n}):Kt.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Kt.createTextNode(e),createComment:e=>Kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Ya.innerHTML=lf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Ya.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Zt="transition",fr="animation",Ir=Symbol("_vtc"),cf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tg=je({},_u,cf),ng=e=>(e.displayName="Transition",e.props=tg,e),uf=ng((e,{slots:t})=>Ye(Jh,rg(e),t)),Sn=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ja=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function rg(e){const t={};for(const C in e)C in cf||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:d=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=sg(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=w,onAppear:E=b,onAppearCancelled:S=y}=t,P=(C,O,F)=>{Cn(C,O?u:a),Cn(C,O?d:i),F&&F()},L=(C,O)=>{C._isLeaving=!1,Cn(C,h),Cn(C,c),Cn(C,f),O&&O()},T=C=>(O,F)=>{const $=C?E:b,U=()=>P(O,C,F);Sn($,[O,U]),qa(()=>{Cn(O,C?l:r),en(O,C?u:a),Ja($)||Qa(O,s,g,U)})};return je(t,{onBeforeEnter(C){Sn(w,[C]),en(C,r),en(C,i)},onBeforeAppear(C){Sn(x,[C]),en(C,l),en(C,d)},onEnter:T(!1),onAppear:T(!0),onLeave(C,O){C._isLeaving=!0;const F=()=>L(C,O);en(C,h),en(C,f),ag(),qa(()=>{C._isLeaving&&(Cn(C,h),en(C,c),Ja(_)||Qa(C,s,v,F))}),Sn(_,[C,F])},onEnterCancelled(C){P(C,!1),Sn(y,[C])},onAppearCancelled(C){P(C,!0),Sn(S,[C])},onLeaveCancelled(C){L(C),Sn(m,[C])}})}function sg(e){if(e==null)return null;if(Re(e))return[To(e.enter),To(e.leave)];{const t=To(e);return[t,t]}}function To(e){return Kc(e)}function en(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ir]||(e[Ir]=new Set)).add(t)}function Cn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ir];n&&(n.delete(t),n.size||(e[Ir]=void 0))}function qa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let og=0;function Qa(e,t,n,s){const o=e._endId=++og,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=ig(e,t);if(!i)return s();const d=i+"end";let u=0;const h=()=>{e.removeEventListener(d,f),r()},f=c=>{c.target===e&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(d,f)}function ig(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${Zt}Delay`),r=s(`${Zt}Duration`),i=za(o,r),a=s(`${fr}Delay`),l=s(`${fr}Duration`),d=za(a,l);let u=null,h=0,f=0;t===Zt?i>0&&(u=Zt,h=i,f=r.length):t===fr?d>0&&(u=fr,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?Zt:fr:null,f=u?u===Zt?r.length:l.length:0);const c=u===Zt&&/\b(transform|all)(,|$)/.test(s(`${Zt}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:c}}function za(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Za(n)+Za(e[s])))}function Za(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ag(){return document.body.offsetHeight}function lg(e,t,n){const s=e[Ir];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ps=Symbol("_vod"),ff=Symbol("_vsh"),ab={beforeMount(e,{value:t},{transition:n}){e[Ps]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):dr(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),dr(e,!0),s.enter(e)):s.leave(e,()=>{dr(e,!1)}):dr(e,t))},beforeUnmount(e,{value:t}){dr(e,t)}};function dr(e,t){e.style.display=t?e[Ps]:"none",e[ff]=!t}const cg=Symbol(""),ug=/(^|;)\s*display\s*:/;function fg(e,t,n){const s=e.style,o=Oe(n);let r=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&hs(s,a,"")}else for(const i in t)n[i]==null&&hs(s,i,"");for(const i in n)i==="display"&&(r=!0),hs(s,i,n[i])}else if(o){if(t!==n){const i=s[cg];i&&(n+=";"+i),s.cssText=n,r=ug.test(n)}}else t&&e.removeAttribute("style");Ps in e&&(e[Ps]=r?s.display:"",e[ff]&&(s.display="none"))}const el=/\s*!important$/;function hs(e,t,n){if(ae(n))n.forEach(s=>hs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=dg(e,t);el.test(n)?e.setProperty(Mn(s),n.replace(el,""),"important"):e[s]=n}}const tl=["Webkit","Moz","ms"],Lo={};function dg(e,t){const n=Lo[t];if(n)return n;let s=kt(t);if(s!=="filter"&&s in e)return Lo[t]=s;s=Bs(s);for(let o=0;o<tl.length;o++){const r=tl[o]+s;if(r in e)return Lo[t]=r}return t}const nl="http://www.w3.org/1999/xlink";function rl(e,t,n,s,o,r=uh(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(nl,t.slice(6,t.length)):e.setAttributeNS(nl,t,n):n==null||r&&!Xc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":pn(n)?String(n):n)}function hg(e,t,n,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?lf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Xc(n):n==null&&i==="string"?(n="",r=!0):i==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(t)}function pg(e,t,n,s){e.addEventListener(t,n,s)}function gg(e,t,n,s){e.removeEventListener(t,n,s)}const sl=Symbol("_vei");function mg(e,t,n,s,o=null){const r=e[sl]||(e[sl]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=vg(t);if(s){const d=r[t]=xg(s,o);pg(e,a,d,l)}else i&&(gg(e,a,i,l),r[t]=void 0)}}const ol=/(?:Once|Passive|Capture)$/;function vg(e){let t;if(ol.test(e)){t={};let s;for(;s=e.match(ol);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Mn(e.slice(2)),t]}let Ro=0;const yg=Promise.resolve(),_g=()=>Ro||(yg.then(()=>Ro=0),Ro=Date.now());function xg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(wg(s,n.value),t,5,[s])};return n.value=e,n.attached=_g(),n}function wg(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const il=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bg=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?lg(e,s,i):t==="style"?fg(e,n,s):Hr(t)?Oi(t)||mg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Eg(e,t,s,i))?(hg(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rl(e,t,s,i,r,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),rl(e,t,s,i))};function Eg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&il(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return il(t)&&Oe(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!Oe(n)))}const df=je({patchProp:bg},eg);let br,al=!1;function Sg(){return br||(br=Ep(df))}function Cg(){return br=al?br:Sp(df),al=!0,br}const Pg=(...e)=>{const t=Sg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=pf(s);if(!o)return;const r=t._component;!le(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,hf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Tg=(...e)=>{const t=Cg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=pf(s);if(o)return n(o,!0,hf(o))},t};function hf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pf(e){return Oe(e)?document.querySelector(e):e}const Lg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Rg=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,kg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ag(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ig(e);return}return t}function Ig(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Or(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!kg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Lg.test(e)||Rg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ag)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Og=/#/g,Ng=/&/g,Mg=/\//g,Dg=/=/g,ta=/\+/g,Fg=/%5e/gi,$g=/%60/gi,Hg=/%7c/gi,Ug=/%20/gi;function Bg(e){return encodeURI(""+e).replace(Hg,"|")}function ni(e){return Bg(typeof e=="string"?e:JSON.stringify(e)).replace(ta,"%2B").replace(Ug,"+").replace(Og,"%23").replace(Ng,"%26").replace($g,"`").replace(Fg,"^").replace(Mg,"%2F")}function ko(e){return ni(e).replace(Dg,"%3D")}function Ts(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Vg(e){return Ts(e.replace(ta," "))}function jg(e){return Ts(e.replace(ta," "))}function na(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=Vg(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=jg(s[2]||"");t[o]===void 0?t[o]=r:Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]}return t}function Wg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ko(e)}=${ni(n)}`).join("&"):`${ko(e)}=${ni(t)}`:ko(e)}function Kg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Wg(t,e[t])).filter(Boolean).join("&")}const Gg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Xg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Yg=/^([/\\]\s*){2,}[^/\\]/,Jg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,qg=/\/$|\/\?|\/#/,Qg=/^\.?\//;function bt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Gg.test(e):Xg.test(e)||(t.acceptRelative?Yg.test(e):!1)}function zg(e){return!!e&&Jg.test(e)}function ri(e="",t){return t?qg.test(e):e.endsWith("/")}function Kr(e="",t){if(!t)return(ri(e)?e.slice(0,-1):e)||"/";if(!ri(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),s=e.slice(o));const[r,...i]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Nr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ri(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),s=e.slice(o),!n))return s;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function Zg(e=""){return e.startsWith("/")}function ll(e=""){return Zg(e)?e:"/"+e}function em(e,t){if(mf(t)||bt(e))return e;const n=Kr(t);return e.startsWith(n)?e:Fn(n,e)}function cl(e,t){if(mf(t))return e;const n=Kr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function gf(e,t){const n=nm(e),s={...na(n.search),...t};return n.search=Kg(s),rm(n)}function mf(e){return!e||e==="/"}function tm(e){return e&&e!=="/"}function Fn(e,...t){let n=e||"";for(const s of t.filter(o=>tm(o)))if(n){const o=s.replace(Qg,"");n=Nr(n)+o}else n=s;return n}function vf(...e){var i,a,l,d;const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[h,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(s.length===1&&bt(s[0]))continue;s.pop(),o--;continue}if(h===1&&((i=s[s.length-1])!=null&&i.endsWith(":/"))){s[s.length-1]+="/"+f;continue}s.push(f),o++}}let r=s.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!r.startsWith("/")?r="/"+r:(l=n[0])!=null&&l.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*o)+r,(d=n[n.length-1])!=null&&d.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function si(e,t,n={}){return n.trailingSlash||(e=Nr(e),t=Nr(t)),n.leadingSlash||(e=ll(e),t=ll(t)),n.encoding||(e=Ts(e),t=Ts(t)),e===t}const yf=Symbol.for("ufo:protocolRelative");function nm(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,f=""]=n;return{protocol:h.toLowerCase(),pathname:f,href:h+f,auth:"",host:"",search:"",hash:""}}if(!bt(e,{acceptRelative:!0}))return oi(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:d,hash:u}=oi(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:d,hash:u,[yf]:!s}}function oi(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function rm(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",o=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[yf]?(e.protocol||"")+"//":"")+o+r+t+n+s}class sm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function om(e){var l,d,u,h,f;const t=((l=e.error)==null?void 0:l.message)||((d=e.error)==null?void 0:d.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",s=((f=e.request)==null?void 0:f.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new sm(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[p]}});return a}const im=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ul(e="GET"){return im.has(e.toUpperCase())}function am(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const lm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),cm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function um(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return cm.test(t)?"json":lm.has(t)||t.startsWith("text/")?"text":"blob"}function fm(e,t,n=globalThis.Headers){const s={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(s.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(s.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){s.headers=new n((t==null?void 0:t.headers)||{});for(const[o,r]of new n((e==null?void 0:e.headers)||{}))s.headers.set(o,r)}return s}const dm=new Set([408,409,425,429,500,502,503,504]),hm=new Set([101,204,205,304]);function _f(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=ul(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):dm.has(h))){const f=a.options.retryDelay||0;return f>0&&await new Promise(c=>setTimeout(c,f)),r(a.request,{...a.options,retry:u-1})}}const d=om(a);throw Error.captureStackTrace&&Error.captureStackTrace(d,r),d}const r=async function(l,d={}){var c;const u={request:l,options:fm(d,e.defaults,n),response:void 0,error:void 0};u.options.method=(c=u.options.method)==null?void 0:c.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=em(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=gf(u.request,{...u.options.params,...u.options.query}))),u.options.body&&ul(u.options.method)&&(am(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let h;if(!u.options.signal&&u.options.timeout){const p=new s;h=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{h&&clearTimeout(h)}if(u.response.body&&!hm.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||um(u.response.headers.get("content-type")||"");switch(p){case"json":{const g=await u.response.text(),v=u.options.parseResponse||Or;u.response._data=v(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(l,d){return(await r(l,d))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>_f({...e,defaults:{...e.defaults,...a}}),i}const ra=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),pm=ra.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),gm=ra.Headers,mm=ra.AbortController,vm=_f({fetch:pm,Headers:gm,AbortController:mm}),ym=vm,_m=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ls=_m().app,xm=()=>Ls.baseURL,wm=()=>Ls.buildAssetsDir,sa=(...e)=>vf(xf(),wm(),...e),xf=(...e)=>{const t=Ls.cdnURL||Ls.baseURL;return e.length?vf(t,...e):t};globalThis.__buildAssetsURL=sa,globalThis.__publicAssetsURL=xf;globalThis.$fetch||(globalThis.$fetch=ym.create({baseURL:xm()}));function ii(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?ii(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const bm={run:e=>e()},Em=()=>bm,wf=typeof console.createTask<"u"?console.createTask:Em;function Sm(e,t){const n=t.shift(),s=wf(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function Cm(e,t){const n=t.shift(),s=wf(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Ao(e,t){for(const n of[...e])n(t)}class Pm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ii(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=ii(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Sm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Cm,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ao(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Ao(this._after,o)}):(this._after&&o&&Ao(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function bf(){return new Pm}function Tm(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=r();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>r(),set:(i,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},d=()=>t===i?l:void 0;ai.add(d);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{ai.delete(d)}}}}function Lm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Tm({...e,...s})),t[n],t[n]}}}const Rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},fl="__unctx__",Rm=Rs[fl]||(Rs[fl]=Lm()),km=(e,t={})=>Rm.get(e,t),dl="__unctx_async_handlers__",ai=Rs[dl]||(Rs[dl]=new Set);function Tt(e){const t=[];for(const o of ai){const r=o();r&&t.push(r)}const n=()=>{for(const o of t)o()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(o=>{throw n(),o})),[s,n]}const Am=!1,li=!1,Im=!1,Om={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Nm=null,Mm="#__nuxt",Ef="nuxt-app",hl=36e5;function Sf(e=Ef){return km(e,{asyncContext:!1})}const Dm="__nuxt_plugin";function Fm(e){var o;let t=0;const n={_id:e.id||Ef||"nuxt-app",_scope:Fi(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.1"},get vue(){return n.vueApp.version}},payload:Xt({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:Xt({}),state:vn({}),once:new Set,_errors:Xt({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!js()?n._scope.run(()=>pl(n,r)):pl(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Xt({}),_payloadRevivers:{},...e};{const r=window.__NUXT__;if(r)for(const i in r)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],r[i]);break;default:n.payload[i]=r[i]}}n.hooks=bf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;is(n,a,i),is(n.vueApp.config.globalProperties,a,i)},is(n.vueApp,"$nuxt",n),is(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||me;const r=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",r)}const s=n.payload.config;return n.provide("config",s),n}function $m(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Hm(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function Um(e,t){const n=[],s=[],o=[],r=[];let i=0;async function a(l){var u;const d=((u=l.dependsOn)==null?void 0:u.filter(h=>t.some(f=>f._name===h)&&!n.includes(h)))??[];if(d.length>0)s.push([new Set(d),l]);else{const h=Hm(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(s.map(async([f,c])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(c)))})))});l.parallel?o.push(h.catch(f=>r.push(f))):await h}}for(const l of t)$m(e,l);for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(r.length)throw r[0]}function Nt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Dm]:!0,_name:t})}function pl(e,t,n){const s=()=>t();return Sf(e._id).set(e),e.vueApp.runWithContext(s)}function Bm(e){var n;let t;return Du()&&(t=(n=Dn())==null?void 0:n.appContext.app.$nuxt),t=t||Sf(e).tryUse(),t||null}function me(e){const t=Bm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function pt(e){return me().$config}function is(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Vm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=t||{},o=s.decode||jm;let r=0;for(;r<e.length;){const i=e.indexOf("=",r);if(i===-1)break;let a=e.indexOf(";",r);if(a===-1)a=e.length;else if(a<i){r=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(r,i).trim();if(s!=null&&s.filter&&!(s!=null&&s.filter(l))){r=a+1;continue}if(n[l]===void 0){let d=e.slice(i+1,a).trim();d.codePointAt(0)===34&&(d=d.slice(1,-1)),n[l]=Wm(d,o)}r=a+1}return n}function jm(e){return e.includes("%")?decodeURIComponent(e):e}function Wm(e,t){try{return t(e)}catch{return e}}const as=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function gl(e,t,n){const s=n||{},o=s.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!as.test(e))throw new TypeError("argument name is invalid");const r=o(t);if(r&&!as.test(r))throw new TypeError("argument val is invalid");let i=e+"="+r;if(s.maxAge!==void 0&&s.maxAge!==null){const a=s.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(s.domain){if(!as.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!as.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!Km(s.expires)||Number.isNaN(s.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(i+="; HttpOnly"),s.secure&&(i+="; Secure"),s.priority)switch(typeof s.priority=="string"?s.priority.toLowerCase():s.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(s.sameSite)switch(typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return s.partitioned&&(i+="; Partitioned"),i}function Km(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const ml=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function vl(e,t){t?t={...ml,...t}:t=ml;const n=Cf(t);return n.dispatch(e),n.toString()}const Gm=Object.freeze(["prototype","__proto__","constructor"]);function Cf(e){let t="",n=new Map;const s=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const r=Object.prototype.toString.call(o);let i="";const a=r.length;a<10?i="unknown:["+r+"]":i=r.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return s("buffer:"),s(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let d=Object.keys(o);e.unorderedObjects&&(d=d.sort());let u=[];e.respectType!==!1&&!yl(o)&&(u=Gm),e.excludeKeys&&(d=d.filter(f=>!e.excludeKeys(f)),u=u.filter(f=>!e.excludeKeys(f))),s("object:"+(d.length+u.length)+":");const h=f=>{this.dispatch(f),s(":"),e.excludeValues||this.dispatch(o[f]),s(",")};for(const f of d)h(f);for(const f of u)h(f)}},array(o,r){if(r=r===void 0?e.unorderedArrays!==!1:r,s("array:"+o.length+":"),!r||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const d=Cf(e);d.dispatch(l);for(const[u,h]of d.getContext())i.set(u,h);return d.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return s("date:"+o.toJSON())},symbol(o){return s("symbol:"+o.toString())},unkown(o,r){if(s(r),!!o&&(s(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return s("error:"+o.toString())},boolean(o){return s("bool:"+o)},string(o){s("string:"+o.length+":"),s(o)},function(o){s("fn:"),yl(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return s("number:"+o)},xml(o){return s("xml:"+o.toString())},null(){return s("Null")},undefined(){return s("Undefined")},regexp(o){return s("regex:"+o.toString())},uint8array(o){return s("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return s("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return s("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return s("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return s("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return s("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return s("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return s("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return s("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return s("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return s("url:"+o.toString())},map(o){s("map:");const r=[...o];return this.array(r,e.unorderedSets!==!1)},set(o){s("set:");const r=[...o];return this.array(r,e.unorderedSets!==!1)},file(o){return s("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return s("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return s("domwindow")},bigint(o){return s("bigint:"+o.toString())},process(){return s("process")},timer(){return s("timer")},pipe(){return s("pipe")},tcp(){return s("tcp")},udp(){return s("udp")},tty(){return s("tty")},statwatcher(){return s("statwatcher")},securecontext(){return s("securecontext")},connection(){return s("connection")},zlib(){return s("zlib")},context(){return s("context")},nodescript(){return s("nodescript")},httpparser(){return s("httpparser")},dataview(){return s("dataview")},signal(){return s("signal")},fsevent(){return s("fsevent")},tlswrap(){return s("tlswrap")}}}const Pf="[native code] }",Xm=Pf.length;function yl(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Xm)===Pf}function Ym(e,t,n={}){return e===t||vl(e,n)===vl(t,n)}function Jm(e,t){return{ctx:{table:e},matchAll:n=>Lf(n,e)}}function Tf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,Tf(o)])):new Map(Object.entries(e[n]));return t}function qm(e){return Jm(Tf(e))}function Lf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of _l(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of _l(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...Lf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function _l(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Io(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function ci(e,t,n=".",s){if(!Io(t))return ci(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:Io(i)&&Io(o[r])?o[r]=ci(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Qm(e){return(...t)=>t.reduce((n,s)=>ci(n,s,"",e),{})}const Rf=Qm();function zm(e,t){try{return t in e}catch{return!1}}var Zm=Object.defineProperty,ev=(e,t,n)=>t in e?Zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kn=(e,t,n)=>(ev(e,typeof t!="symbol"?t+"":t,n),n);class ui extends Error{constructor(t,n={}){super(t,n),kn(this,"statusCode",500),kn(this,"fatal",!1),kn(this,"unhandled",!1),kn(this,"statusMessage"),kn(this,"data"),kn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:di(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=kf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}kn(ui,"__h3_error__",!0);function fi(e){if(typeof e=="string")return new ui(e);if(tv(e))return e;const t=new ui(e.message??e.statusMessage??"",{cause:e.cause||e});if(zm(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=di(e.statusCode,t.statusCode):e.status&&(t.statusCode=di(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;kf(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function tv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const nv=/[^\u0009\u0020-\u007E]/g;function kf(e=""){return e.replace(nv,"")}function di(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Af=Symbol("layout-meta"),Gr=Symbol("route"),Qe=()=>{var e;return(e=me())==null?void 0:e.$router},Zs=()=>Du()?et(Gr,me()._route):me()._route;const rv=(e,t,n={})=>{const s=me(),o=n.global||typeof e!="string",r=t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?s._middleware.global.push(r):s._middleware.named[e]=r},sv=()=>{try{if(me()._processingMiddleware)return!0}catch{return!1}return!1},If=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?hi(e):Qe().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:d={}}=t.open,u=Object.entries(d).filter(([h,f])=>f!==void 0).map(([h,f])=>`${h.toLowerCase()}=${f}`).join(", ");return open(n,l,u),Promise.resolve()}const s=bt(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||s;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&zg(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=sv();if(!o&&r)return e;const i=Qe(),a=me();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function hi(e){return gf(e.path||"",e.query||{})+(e.hash||"")}const Of="__nuxt_error",eo=()=>hu(me().payload,"error"),Gn=e=>{const t=to(e);try{const n=me(),s=eo();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},ov=async(e={})=>{const t=me(),n=eo();t.callHook("app:error:cleared",e),e.redirect&&await Qe().replace(e.redirect),n.value=Nm},iv=e=>!!e&&typeof e=="object"&&Of in e,to=e=>{const t=fi(e);return Object.defineProperty(t,Of,{value:!0,configurable:!1,writable:!1}),t},av=-1,lv=-2,cv=-3,uv=-4,fv=-5,dv=-6;function hv(e,t){return pv(JSON.parse(e),t)}function pv(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function o(r,i=!1){if(r===av)return;if(r===cv)return NaN;if(r===uv)return 1/0;if(r===fv)return-1/0;if(r===dv)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],d=t==null?void 0:t[l];if(d)return s[r]=d(o(a[1]));switch(l){case"Date":s[r]=new Date(a[1]);break;case"Set":const u=new Set;s[r]=u;for(let c=1;c<a.length;c+=1)u.add(o(a[c]));break;case"Map":const h=new Map;s[r]=h;for(let c=1;c<a.length;c+=2)h.set(o(a[c]),o(a[c+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const f=Object.create(null);s[r]=f;for(let c=1;c<a.length;c+=2)f[a[c]]=o(a[c+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[r]=l;for(let d=0;d<a.length;d+=1){const u=a[d];u!==lv&&(l[d]=o(u))}}else{const l={};s[r]=l;for(const d in a){const u=a[d];l[d]=o(u)}}return s[r]}return o(0)}const gv=new Set(["title","titleTemplate","script","style","noscript"]),ps=new Set(["base","meta","link","style","script","noscript"]),mv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),vv=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Nf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),yv=typeof window<"u";function ks(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function pi(e){if(e._h)return e._h;if(e._d)return ks(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return ks(t)}function _v(e,t){return e instanceof Promise?e.then(t):t(e)}function gi(e,t,n,s){const o=s||Df(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>gi(e,t,n,i));const r={tag:e,props:o};for(const i of Nf){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||gv.has(r.tag))&&(r[i==="children"?"innerHTML":i]=a),delete r.props[i])}return r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function xv(e,t){var s;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,r])=>e==="style"?`${o}:${r}`:o)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(o=>!!o.trim()).join(n)}function Mf(e,t,n,s){for(let o=s;o<n.length;o+=1){const r=n[o];if(r==="class"||r==="style"){e[r]=xv(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Mf(e,t,n,o)));if(!t&&!Nf.has(r)){const i=String(e[r]),a=r.startsWith("data-");i==="true"||i===""?e[r]=a?"true":!0:e[r]||(a&&i==="false"?e[r]="false":delete e[r])}}}function Df(e,t=!1){const n=Mf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const wv=10;function Ff(e,t,n){for(let s=n;s<t.length;s+=1){const o=t[s];if(o instanceof Promise)return o.then(r=>(t[s]=r,Ff(e,t,s)));Array.isArray(o)?e.push(...o):e.push(o)}}function bv(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const r=n[o];if(!(r===void 0||!mv.has(o))){if(Array.isArray(r)){for(const i of r)t.push(gi(o,i,e));continue}t.push(gi(o,r,e))}}if(t.length===0)return[];const s=[];return _v(Ff(s,t,0),()=>s.map((o,r)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<wv)+r,o)))}const xl=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),wl={base:-10,title:10},bl={critical:-80,high:-10,low:20};function As(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in wl&&(n=wl[e.tag]),t&&t in bl?n+bl[t]:n}const Ev=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Sv=["name","property","http-equiv"];function $f(e){const{props:t,tag:n}=e;if(vv.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of Sv)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const on="%separator";function Cv(e,t){var s;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");n=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const Pv=new RegExp(`${on}(?:\\s*${on})*`,"g");function ls(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const r=e.includes(on);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===on||!o.includes(i))return i;const a=Cv(t,i.slice(1));return a!==void 0?a:i}).trim(),r&&(e.endsWith(on)&&(e=e.slice(0,-on.length)),e.startsWith(on)&&(e=e.slice(on.length)),e=e.replace(Pv,n).trim()),e}function El(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Hf(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var h;const r=(await e.resolveTags()).map(f=>({tag:f,id:ps.has(f.tag)?pi(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const c of["body","head"]){const p=(h=n[c])==null?void 0:h.children;for(const g of p){const v=g.tagName.toLowerCase();if(!ps.has(v))continue;const w={tag:v,props:await Df(g.getAttributeNames().reduce((m,x)=>({...m,[x]:g.getAttribute(x)}),{})),innerHTML:g.innerHTML},b=$f(w);let y=b,_=1;for(;y&&f.has(y);)y=`${b}:${_++}`;y&&(w._d=y,f.add(y)),i.elMap[g.getAttribute("data-hid")||pi(w)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(f,c,p){const g=`${f}:${c}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:f,$el:c,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[f]=c,g||(p.textContent&&p.textContent!==c.textContent&&(c.textContent=p.textContent),p.innerHTML&&p.innerHTML!==c.innerHTML&&(c.innerHTML=p.innerHTML),a(f,"el",()=>{var v;(v=i.elMap[f])==null||v.remove(),delete i.elMap[f]})),p._eventHandlers)for(const v in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,v)&&c.getAttribute(`data-${v}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:c).addEventListener(v.substring(2),p._eventHandlers[v].bind(c)),c.setAttribute(`data-${v}`,""));for(const v in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,v))continue;const w=p.props[v],b=`attr:${v}`;if(v==="class"){if(!w)continue;for(const y of w.split(" "))g&&a(f,`${b}:${y}`,()=>c.classList.remove(y)),!c.classList.contains(y)&&c.classList.add(y)}else if(v==="style"){if(!w)continue;for(const y of w.split(";")){const _=y.indexOf(":"),m=y.substring(0,_).trim(),x=y.substring(_+1).trim();a(f,`${b}:${m}`,()=>{c.style.removeProperty(m)}),c.style.setProperty(m,x)}}else c.getAttribute(v)!==w&&c.setAttribute(v,w===!0?"":String(w)),g&&a(f,b,()=>c.removeAttribute(v))}}const d=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:c,shouldRender:p,id:g}=f;if(p){if(c.tag==="title"){n.title=c.textContent;continue}f.$el=f.$el||i.elMap[g],f.$el?l(f):ps.has(c.tag)&&d.push(f)}}for(const f of d){const c=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[c]=u[c]||n.createDocumentFragment(),u[c].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const f in i.pendingSideEffects)i.pendingSideEffects[f]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Tv(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>Hf(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function Lv(e){return t=>{var s,o;const n=((o=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{Tv(r,e)}}}}}const Rv=new Set(["templateParams","htmlAttrs","bodyAttrs"]),kv={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=$f(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const o=(s.key?`${s.tag}:${s.key}`:s._d)||pi(s),r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&Rv.has(s.tag)&&(a="merge"),a==="merge"){const l=r.props;l.style&&s.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),s.props.style=`${l.style} ${s.props.style}`),l.class&&s.props.class?s.props.class=`${l.class} ${s.props.class}`:l.class&&(s.props.class=l.class),t[o].props={...l,...s.props};continue}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);continue}else if(As(s)>As(r))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&ps.has(s.tag)){delete t[o];continue}t[o]=s}const n=[];for(const s in t){const o=t[s],r=o._duped;n.push(o),r&&(delete o._duped,n.push(...r))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},Av=new Set(["script","link","bodyAttrs"]),Iv=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Av.has(n.tag))continue;const s=n.props;for(const o in s){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,o))continue;const r=s[o];typeof r=="function"&&(e.ssr&&xl.has(o)?s[o]=`this.dataset.${o}fired = true`:delete s[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=r)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ks(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,r;const s=t==null?void 0:t.dataset;if(s)for(const i in s){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);xl.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.substring(2))))}}}}),Ov=new Set(["link","style","script","noscript"]),Nv={hooks:{"tag:normalise":({tag:e})=>{e.key&&Ov.has(e.tag)&&(e.props["data-hid"]=e._h=ks(e.key))}}},Mv={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Dv={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of Ev){if(!n.tagPriority.startsWith(s))continue;const r=n.tagPriority.substring(s.length),i=(t=e.tags.find(a=>a._d===r))==null?void 0:t._p;if(i!==void 0){n._p=i+o;break}}e.tags.sort((n,s)=>{const o=As(n),r=As(s);return o<r?-1:o>r?1:n._p-s._p})}}},Fv={meta:"content",link:"href",htmlAttrs:"lang"},$v=["innerHTML","textContent"],Hv=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let s;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(s=t.tags.splice(a,1)[0].props,a-=1);const o=s||{},r=o.separator||"|";delete o.separator,o.pageTitle=ls(o.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",o,r);for(const a of n){if(a.processTemplateParams===!1)continue;const l=Fv[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=ls(a.props[l],o,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const d of $v)typeof a[d]=="string"&&(a[d]=ls(a[d],o,r))}e._templateParams=o,e._separator=r},"tags:afterResolve":({tags:t})=>{let n;for(let s=0;s<t.length;s+=1){const o=t[s];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=ls(n.textContent,e._templateParams,e._separator))}}}),Uv={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let o=0;o<t.length;o+=1){const r=t[o];r.tag==="title"?n=r:r.tag==="titleTemplate"&&(s=r)}if(s&&n){const o=El(s.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const o=El(s.textContent);o!==null&&(s.textContent=o,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},Bv={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Uf;function Vv(e={}){const t=jv(e);return t.use(Lv()),Uf=t}function Sl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function jv(e={}){const t=bf();t.addHooks(e.hooks||{}),e.document=e.document||(yv?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(l){const d=typeof l=="function"?l(a):l;(!d.key||!i.some(u=>u.key===d.key))&&(i.push(d),Sl(d.mode,n)&&t.addHooks(d.hooks||{}))},push(l,d){d==null||delete d.head;const u={_i:o++,input:l,...d};return Sl(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(h=>h._i!==u._i),s()},patch(h){for(const f of r)f._i===u._i&&(f.input=u.input=h);s()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const d of l.entries){const u=d.resolvedInput||d.input;if(d.resolvedInput=await(d.transform?d.transform(u):u),d.resolvedInput)for(const h of await bv(d)){const f={tag:h,entry:d,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[kv,Mv,Iv,Nv,Dv,Hv,Uv,Bv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Wv(){return Uf}const Kv=af[0]==="3";function Gv(e){return typeof e=="function"?e():te(e)}function Is(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Gv(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Is(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=te(t[s]);continue}n[s]=Is(t[s])}return n}return t}const Xv={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Is(t.input)}}},Bf="usehead";function Yv(e){return{install(n){Kv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Bf,e))}}.install}function Jv(e={}){e.domDelayFn=e.domDelayFn||(n=>yn(()=>setTimeout(()=>n(),0)));const t=Vv(e);return t.use(Xv),t.install=Yv(t),t}const mi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vi="__unhead_injection_handler__";function qv(e){mi[vi]=e}function Qv(){if(vi in mi)return mi[vi]();const e=et(Bf);return e||Wv()}function Cl(e,t={}){const n=t.head||Qv();if(n)return n.ssr?n.push(e,t):zv(n,e,t)}function zv(e,t,n={}){const s=Ee(!1),o=Ee({});Lp(()=>{o.value=s.value?{}:Is(t)});const r=e.push(o.value,n);return ht(o,a=>{r.patch(a)}),Dn()&&(jr(()=>{r.dispose()}),Pu(()=>{s.value=!0}),Cu(()=>{s.value=!1})),r}let gs,ms;function Zv(){return gs=$fetch(sa(`builds/meta/${pt().app.buildId}.json`),{responseType:"json"}),gs.then(e=>{ms=qm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),gs}function no(){return gs||Zv()}async function oa(e){if(await no(),!ms)return console.error("[nuxt] Error creating app manifest matcher.",ms),{};try{return Rf({},...ms.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Pl(e,t={}){const n=await ty(e,t),s=me(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=jf(e).then(r=>r?Vf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const ey="_payload.json";async function ty(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||bt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=pt(),o=t.hash||(t.fresh?Date.now():s.app.buildId),r=s.app.cdnURL,i=r&&await jf(e)?r:s.app.baseURL;return Fn(i,n.pathname,ey+(o?`?${o}`:""))}async function Vf(e){const t=fetch(e).then(n=>n.text().then(Wf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function jf(e=Zs().path){if(e=Kr(e),(await no()).prerendered.includes(e))return!0;const n=await oa(e);return!!n.prerender&&!n.redirect}let Pn=null;async function ny(){var s;if(Pn)return Pn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Wf(e.textContent||""),n=e.dataset.src?await Vf(e.dataset.src):void 0;return Pn={...t,...n,...window.__NUXT__},(s=Pn.config)!=null&&s.public&&(Pn.config.public=vn(Pn.config.public)),Pn}async function Wf(e){return await hv(e,me()._payloadRevivers)}function ry(e,t){me()._payloadRevivers[e]=t}const Tl={NuxtError:e=>to(e),EmptyShallowRef:e=>zn(e==="_"?void 0:e==="0n"?BigInt(0):Or(e)),EmptyRef:e=>Ee(e==="_"?void 0:e==="0n"?BigInt(0):Or(e)),ShallowRef:e=>zn(e),ShallowReactive:e=>Xt(e),Ref:e=>Ee(e),Reactive:e=>vn(e)},sy=Nt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Tl)ry(s,Tl[s]);Object.assign(e.payload,([t,n]=Tt(()=>e.runWithContext(ny)),t=await t,n(),t)),window.__NUXT__=e.payload}}),oy=[],iy=Nt({name:"nuxt:head",enforce:"pre",setup(e){const t=Jv({plugins:oy});qv(()=>me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await Hf(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}});/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Wn=typeof document<"u";function ay(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ce=Object.assign;function Oo(e,t){const n={};for(const s in t){const o=t[s];n[s]=It(o)?o.map(e):e(o)}return n}const Er=()=>{},It=Array.isArray,Kf=/#/g,ly=/&/g,cy=/\//g,uy=/=/g,fy=/\?/g,Gf=/\+/g,dy=/%5B/g,hy=/%5D/g,Xf=/%5E/g,py=/%60/g,Yf=/%7B/g,gy=/%7C/g,Jf=/%7D/g,my=/%20/g;function ia(e){return encodeURI(""+e).replace(gy,"|").replace(dy,"[").replace(hy,"]")}function vy(e){return ia(e).replace(Yf,"{").replace(Jf,"}").replace(Xf,"^")}function yi(e){return ia(e).replace(Gf,"%2B").replace(my,"+").replace(Kf,"%23").replace(ly,"%26").replace(py,"`").replace(Yf,"{").replace(Jf,"}").replace(Xf,"^")}function yy(e){return yi(e).replace(uy,"%3D")}function _y(e){return ia(e).replace(Kf,"%23").replace(fy,"%3F")}function xy(e){return e==null?"":_y(e).replace(cy,"%2F")}function Mr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const wy=/\/$/,by=e=>e.replace(wy,"");function No(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Py(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Mr(i)}}function Ey(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ll(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Sy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&nr(t.matched[s],n.matched[o])&&qf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Cy(e[n],t[n]))return!1;return!0}function Cy(e,t){return It(e)?Rl(e,t):It(t)?Rl(t,e):e===t}function Rl(e,t){return It(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Py(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Dr;(function(e){e.pop="pop",e.push="push"})(Dr||(Dr={}));var Sr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Sr||(Sr={}));function Ty(e){if(!e)if(Wn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),by(e)}const Ly=/^[^#]+#/;function Ry(e,t){return e.replace(Ly,"#")+t}function ky(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 ro=()=>({left:window.scrollX,top:window.scrollY});function Ay(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ky(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function kl(e,t){return(history.state?history.state.position-t:-1)+e}const _i=new Map;function Iy(e,t){_i.set(e,t)}function Oy(e){const t=_i.get(e);return _i.delete(e),t}let Ny=()=>location.protocol+"//"+location.host;function Qf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Ll(l,"")}return Ll(n,e)+s+o}function My(e,t,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const c=Qf(e,location),p=n.value,g=t.value;let v=0;if(f){if(n.value=c,t.value=f,i&&i===p){i=null;return}v=g?f.position-g.position:0}else s(c);o.forEach(w=>{w(n.value,p,{delta:v,type:Dr.pop,direction:v?v>0?Sr.forward:Sr.back:Sr.unknown})})};function l(){i=n.value}function d(f){o.push(f);const c=()=>{const p=o.indexOf(f);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:f}=window;f.state&&f.replaceState(Ce({},f.state,{scroll:ro()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:d,destroy:h}}function Al(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?ro():null}}function Dy(e){const{history:t,location:n}=window,s={value:Qf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,d,u){const h=e.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Ny()+e+l;try{t[u?"replaceState":"pushState"](d,"",f),o.value=d}catch(c){console.error(c),n[u?"replace":"assign"](f)}}function i(l,d){const u=Ce({},t.state,Al(o.value.back,l,o.value.forward,!0),d,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,d){const u=Ce({},o.value,t.state,{forward:l,scroll:ro()});r(u.current,u,!0);const h=Ce({},Al(s.value,l,null),{position:u.position+1},d);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function zf(e){e=Ty(e);const t=Dy(e),n=My(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ce({location:"",base:e,go:s,createHref:Ry.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Fy(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),zf(e)}function $y(e){return typeof e=="string"||e&&typeof e=="object"}function Zf(e){return typeof e=="string"||typeof e=="symbol"}const ed=Symbol("");var Il;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Il||(Il={}));function rr(e,t){return Ce(new Error,{type:e,[ed]:!0},t)}function Bt(e,t){return e instanceof Error&&ed in e&&(t==null||!!(e.type&t))}const Ol="[^/]+?",Hy={sensitive:!1,strict:!1,start:!0,end:!0},Uy=/[.+*?^${}()[\]/\\]/g;function By(e,t){const n=Ce({},Hy,t),s=[];let o=n.start?"^":"";const r=[];for(const d of e){const u=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let h=0;h<d.length;h++){const f=d[h];let c=40+(n.sensitive?.25:0);if(f.type===0)h||(o+="/"),o+=f.value.replace(Uy,"\\$&"),c+=40;else if(f.type===1){const{value:p,repeatable:g,optional:v,regexp:w}=f;r.push({name:p,repeatable:g,optional:v});const b=w||Ol;if(b!==Ol){c+=10;try{new RegExp(`(${b})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${b}): `+_.message)}}let y=g?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;h||(y=v&&d.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,c+=20,v&&(c+=-8),g&&(c+=-20),b===".*"&&(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||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(d){const u=d.match(i),h={};if(!u)return null;for(let f=1;f<u.length;f++){const c=u[f]||"",p=r[f-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(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:p,repeatable:g,optional:v}=c,w=p in d?d[p]:"";if(It(w)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const b=It(w)?w.join("/"):w;if(!b)if(v)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=b}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function Vy(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function td(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=Vy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Nl(s))return 1;if(Nl(o))return-1}return o.length-s.length}function Nl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const jy={type:0,value:""},Wy=/[a-zA-Z0-9_]/;function Ky(e){if(!e)return[[]];if(e==="/")return[[jy]];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 o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,d="",u="";function h(){d&&(n===0?r.push({type:0,value:d}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(d&&h(),i()):l===":"?(h(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:Wy.test(l)?f():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),h(),i(),o}function Gy(e,t,n){const s=By(Ky(e.path),n),o=Ce(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Xy(e,t){const n=[],s=new Map;t=Fl({strict:!1,end:!0,sensitive:!1},t);function o(h){return s.get(h)}function r(h,f,c){const p=!c,g=Yy(h);g.aliasOf=c&&c.record;const v=Fl(t,h),w=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)w.push(Ce({},g,{components:c?c.record.components:g.components,path:m,aliasOf:c?c.record:g}))}let b,y;for(const _ of w){const{path:m}=_;if(f&&m[0]!=="/"){const x=f.record.path,E=x[x.length-1]==="/"?"":"/";_.path=f.record.path+(m&&E+m)}if(b=Gy(_,f,v),c?c.alias.push(b):(y=y||b,y!==b&&y.alias.push(b),p&&h.name&&!Dl(b)&&i(h.name)),nd(b)&&l(b),g.children){const x=g.children;for(let E=0;E<x.length;E++)r(x[E],b,c&&c.children[E])}c=c||b}return y?()=>{i(y)}:Er}function i(h){if(Zf(h)){const f=s.get(h);f&&(s.delete(h),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(h);f>-1&&(n.splice(f,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const f=Qy(h,n);n.splice(f,0,h),h.record.name&&!Dl(h)&&s.set(h.record.name,h)}function d(h,f){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw rr(1,{location:h});v=c.record.name,p=Ce(Ml(f.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Ml(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=f.name?s.get(f.name):n.find(y=>y.re.test(f.path)),!c)throw rr(1,{location:h,currentLocation:f});v=c.record.name,p=Ce({},f.params,h.params),g=c.stringify(p)}const w=[];let b=c;for(;b;)w.unshift(b.record),b=b.parent;return{name:v,path:g,params:p,matched:w,meta:qy(w)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:d,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Ml(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Jy(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 Jy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Dl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qy(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function Fl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Qy(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;td(e,t[r])<0?s=r:n=r+1}const o=zy(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function zy(e){let t=e;for(;t=t.parent;)if(nd(t)&&td(e,t)===0)return t}function nd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Zy(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(Gf," "),i=r.indexOf("="),a=Mr(i<0?r:r.slice(0,i)),l=i<0?null:Mr(r.slice(i+1));if(a in t){let d=t[a];It(d)||(d=t[a]=[d]),d.push(l)}else t[a]=l}return t}function $l(e){let t="";for(let n in e){const s=e[n];if(n=yy(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(It(s)?s.map(r=>r&&yi(r)):[s&&yi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function e0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=It(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const t0=Symbol(""),Hl=Symbol(""),aa=Symbol(""),la=Symbol(""),xi=Symbol("");function hr(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function an(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const d=f=>{f===!1?l(rr(4,{from:n,to:t})):f instanceof Error?l(f):$y(f)?l(rr(2,{from:t,to:f})):(i&&s.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},u=r(()=>e.call(s&&s.instances[o],t,n,d));let h=Promise.resolve(u);e.length<3&&(h=h.then(d)),h.catch(f=>l(f))})}function Mo(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(n0(l)){const u=(l.__vccOpts||l)[t];u&&r.push(an(u,n,s,i,a,o))}else{let d=l();r.push(()=>d.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const h=ay(u)?u.default:u;i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&an(c,n,s,i,a,o)()}))}}return r}function n0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ul(e){const t=et(aa),n=et(la),s=ge(()=>{const l=te(e.to);return t.resolve(l)}),o=ge(()=>{const{matched:l}=s.value,{length:d}=l,u=l[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(nr.bind(null,u));if(f>-1)return f;const c=Bl(l[d-2]);return d>1&&Bl(u)===c&&h[h.length-1].path!==c?h.findIndex(nr.bind(null,l[d-2])):f}),r=ge(()=>o.value>-1&&i0(n.params,s.value.params)),i=ge(()=>o.value>-1&&o.value===n.matched.length-1&&qf(n.params,s.value.params));function a(l={}){return o0(l)?t[te(e.replace)?"replace":"push"](te(e.to)).catch(Er):Promise.resolve()}return{route:s,href:ge(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const r0=ze({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:Ul,setup(e,{slots:t}){const n=vn(Ul(e)),{options:s}=et(aa),o=ge(()=>({[Vl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Vl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),s0=r0;function o0(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 i0(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!It(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Bl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vl=(e,t,n)=>e??t??n,a0=ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(xi),o=ge(()=>e.route||s.value),r=et(Hl,0),i=ge(()=>{let d=te(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=ge(()=>o.value.matched[i.value]);un(Hl,ge(()=>i.value+1)),un(t0,a),un(xi,o);const l=Ee();return ht(()=>[l.value,a.value,e.name],([d,u,h],[f,c,p])=>{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||!nr(u,c)||!f)&&(u.enterCallbacks[h]||[]).forEach(g=>g(d))},{flush:"post"}),()=>{const d=o.value,u=e.name,h=a.value,f=h&&h.components[u];if(!f)return jl(n.default,{Component:f,route:d});const c=h.props[u],p=c?c===!0?d.params:typeof c=="function"?c(d):c:null,v=Ye(f,Ce({},p,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return jl(n.default,{Component:v,route:d})||v}}});function jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rd=a0;function l0(e){const t=Xy(e.routes,e),n=e.parseQuery||Zy,s=e.stringifyQuery||$l,o=e.history,r=hr(),i=hr(),a=hr(),l=zn(St);let d=St;Wn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Oo.bind(null,V=>""+V),h=Oo.bind(null,xy),f=Oo.bind(null,Mr);function c(V,q){let z,ee;return Zf(V)?(z=t.getRecordMatcher(V),ee=q):ee=V,t.addRoute(ee,z)}function p(V){const q=t.getRecordMatcher(V);q&&t.removeRoute(q)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function w(V,q){if(q=Ce({},q||l.value),typeof V=="string"){const I=No(n,V,q.path),D=t.resolve({path:I.path},q),W=o.createHref(I.fullPath);return Ce(I,D,{params:f(D.params),hash:Mr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=Ce({},V,{path:No(n,V.path,q.path).path});else{const I=Ce({},V.params);for(const D in I)I[D]==null&&delete I[D];z=Ce({},V,{params:h(I)}),q.params=h(q.params)}const ee=t.resolve(z,q),de=V.hash||"";ee.params=u(f(ee.params));const xe=Ey(s,Ce({},V,{hash:vy(de),path:ee.path})),A=o.createHref(xe);return Ce({fullPath:xe,hash:de,query:s===$l?e0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function b(V){return typeof V=="string"?No(n,V,l.value.path):Ce({},V)}function y(V,q){if(d!==V)return rr(8,{from:q,to:V})}function _(V){return E(V)}function m(V){return _(Ce(b(V),{replace:!0}))}function x(V){const q=V.matched[V.matched.length-1];if(q&&q.redirect){const{redirect:z}=q;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=b(ee):{path:ee},ee.params={}),Ce({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,q){const z=d=w(V),ee=l.value,de=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return E(Ce(b(I),{state:typeof I=="object"?Ce({},de,I.state):de,force:xe,replace:A}),q||z);const D=z;D.redirectedFrom=q;let W;return!xe&&Sy(s,ee,z)&&(W=rr(16,{to:D,from:ee}),ce(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Bt(B)?Bt(B,2)?B:ue(B):Y(B,D,ee)).then(B=>{if(B){if(Bt(B,2))return E(Ce({replace:A},b(B.to),{state:typeof B.to=="object"?Ce({},de,B.to.state):de,force:xe}),q||D)}else B=C(D,ee,!0,A,de);return T(D,ee,B),B})}function S(V,q){const z=y(V,q);return z?Promise.reject(z):Promise.resolve()}function P(V){const q=_e.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(V):V()}function L(V,q){let z;const[ee,de,xe]=c0(V,q);z=Mo(ee.reverse(),"beforeRouteLeave",V,q);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(an(D,V,q))});const A=S.bind(null,V,q);return z.push(A),fe(z).then(()=>{z=[];for(const I of r.list())z.push(an(I,V,q));return z.push(A),fe(z)}).then(()=>{z=Mo(de,"beforeRouteUpdate",V,q);for(const I of de)I.updateGuards.forEach(D=>{z.push(an(D,V,q))});return z.push(A),fe(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(It(I.beforeEnter))for(const D of I.beforeEnter)z.push(an(D,V,q));else z.push(an(I.beforeEnter,V,q));return z.push(A),fe(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Mo(xe,"beforeRouteEnter",V,q,P),z.push(A),fe(z))).then(()=>{z=[];for(const I of i.list())z.push(an(I,V,q));return z.push(A),fe(z)}).catch(I=>Bt(I,8)?I:Promise.reject(I))}function T(V,q,z){a.list().forEach(ee=>P(()=>ee(V,q,z)))}function C(V,q,z,ee,de){const xe=y(V,q);if(xe)return xe;const A=q===St,I=Wn?history.state:{};z&&(ee||A?o.replace(V.fullPath,Ce({scroll:A&&I&&I.scroll},de)):o.push(V.fullPath,de)),l.value=V,ce(V,q,z,A),ue()}let O;function F(){O||(O=o.listen((V,q,z)=>{if(!Ue.listening)return;const ee=w(V),de=x(ee);if(de){E(Ce(de,{replace:!0}),ee).catch(Er);return}d=ee;const xe=l.value;Wn&&Iy(kl(xe.fullPath,z.delta),ro()),L(ee,xe).catch(A=>Bt(A,12)?A:Bt(A,2)?(E(A.to,ee).then(I=>{Bt(I,20)&&!z.delta&&z.type===Dr.pop&&o.go(-1,!1)}).catch(Er),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Bt(A,8)?o.go(-z.delta,!1):z.type===Dr.pop&&Bt(A,20)&&o.go(-1,!1)),T(ee,xe,A)}).catch(Er)}))}let $=hr(),U=hr(),j;function Y(V,q,z){ue(V);const ee=U.list();return ee.length?ee.forEach(de=>de(V,q,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==St?Promise.resolve():new Promise((V,q)=>{$.add([V,q])})}function ue(V){return j||(j=!V,F(),$.list().forEach(([q,z])=>V?z(V):q()),$.reset()),V}function ce(V,q,z,ee){const{scrollBehavior:de}=e;if(!Wn||!de)return Promise.resolve();const xe=!z&&Oy(kl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return yn().then(()=>de(V,q,xe)).then(A=>A&&Ay(A)).catch(A=>Y(A,V,q))}const ne=V=>o.go(V);let Se;const _e=new Set,Ue={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:w,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:se,install(V){const q=this;V.component("RouterLink",s0),V.component("RouterView",rd),V.config.globalProperties.$router=q,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Wn&&!Se&&l.value===St&&(Se=!0,_(o.location).catch(de=>{}));const z={};for(const de in St)Object.defineProperty(z,de,{get:()=>l.value[de],enumerable:!0});V.provide(aa,q),V.provide(la,Xt(z)),V.provide(xi,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(d=St,O&&O(),O=null,l.value=St,Se=!1,j=!1),ee()}}};function fe(V){return V.reduce((q,z)=>q.then(()=>P(z)),Promise.resolve())}return Ue}function c0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(d=>nr(d,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(d=>nr(d,l))||o.push(l))}return[n,s,o]}function u0(e){return et(la)}const f0=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),wi=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&f0(e.route,n));return typeof s=="function"?s(e.route):s},d0=(e,t)=>({default:()=>e?Ye(tp,e===!0?{}:e,t):t});function ca(e){return Array.isArray(e)?e:[e]}const h0="modulepreload",p0=function(e,t){return new URL(e,t).href},Wl={},g0=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=p0(l,s),l in Wl)return;Wl[l]=!0;const d=l.endsWith(".css"),u=d?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const p=r[c];if(p.href===l&&(!d||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const f=document.createElement("link");if(f.rel=d?"stylesheet":h0,d||(f.as="script"),f.crossOrigin="",f.href=l,a&&f.setAttribute("nonce",a),document.head.appendChild(f),d)return new Promise((c,p)=>{f.addEventListener("load",c),f.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},Fe=(...e)=>g0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Do=[{name:"about___en___default",path:"/about",component:()=>Fe(()=>import("./Cne99_si.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___en",path:"/en/about",component:()=>Fe(()=>import("./Cne99_si.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___it",path:"/it/about",component:()=>Fe(()=>import("./Cne99_si.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en___default",path:"/contacts",component:()=>Fe(()=>import("./Go3Cqy2Q.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en",path:"/en/contacts",component:()=>Fe(()=>import("./Go3Cqy2Q.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___it",path:"/it/contacts",component:()=>Fe(()=>import("./Go3Cqy2Q.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en___default",path:"/",component:()=>Fe(()=>import("./llUqyUx-.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",component:()=>Fe(()=>import("./llUqyUx-.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___it",path:"/it",component:()=>Fe(()=>import("./llUqyUx-.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"projects___en___default",path:"/projects",component:()=>Fe(()=>import("./DS1ikDvu.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___en",path:"/en/projects",component:()=>Fe(()=>import("./DS1ikDvu.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___it",path:"/it/projects",component:()=>Fe(()=>import("./DS1ikDvu.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"resume___en___default",path:"/resume",component:()=>Fe(()=>import("./TOUSniDh.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___en",path:"/en/resume",component:()=>Fe(()=>import("./TOUSniDh.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___it",path:"/it/resume",component:()=>Fe(()=>import("./TOUSniDh.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)}],sd=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var s;return t?Ye(e,t,n):(s=n.default)==null?void 0:s.call(n)}});function Kl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function m0(e,t){return e===t||t===St?!1:Kl(e)!==Kl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const v0={scrollBehavior(e,t,n){var d;const s=me(),o=((d=Qe().options)==null?void 0:d.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&m0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Gl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??li),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Gl(e.hash),behavior:o}),u(r)})})}};function Gl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const y0={hashMode:!1,scrollBehaviorType:"auto"},yt={...y0,...v0},_0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=me(),o=Qe(),r=([t,n]=Tt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=to({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(d=>{if(a(),d===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Gn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},x0=async e=>{let t,n;const s=([t,n]=Tt(()=>oa(e.path)),t=await t,n(),t);if(s.redirect)return bt(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},w0=[_0,x0],Cr={};function b0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const d=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(d);return u[0]!=="/"&&(u="/"+u),cl(u,"")}const a=cl(s,e),l=!n||si(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const E0=Nt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=pt().app.baseURL;yt.hashMode&&!s.includes("#")&&(s+="#");const o=((v=yt.history)==null?void 0:v.call(yt,s))??(yt.hashMode?Fy(s):zf(s)),r=yt.routes?([t,n]=Tt(()=>yt.routes(Do)),t=await t,n(),t??Do):Do;let i;const a=l0({...yt,scrollBehavior:(w,b,y)=>{if(b===St){i=y;return}if(yt.scrollBehavior){if(a.options.scrollBehavior=yt.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return yt.scrollBehavior(w,St,i||y)}},history:o,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=zn(a.currentRoute.value);a.afterEach((w,b)=>{l.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const d=b0(s,window.location,e.payload.path),u=zn(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((w,b)=>{var y,_,m,x;((_=(y=w.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=b.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const f={};for(const w in u.value)Object.defineProperty(f,w,{get:()=>u.value[w]});e._route=Xt(f),e._middleware=e._middleware||{global:[],named:{}};const c=eo();a.afterEach(async(w,b,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(ov),y&&await e.callHook("page:loading:end"),w.matched.length===0&&await e.runWithContext(()=>Gn(fi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))});try{[t,n]=Tt(()=>a.isReady()),await t,n()}catch(w){[t,n]=Tt(()=>e.runWithContext(()=>Gn(w))),await t,n()}const p=d!==a.currentRoute.value.fullPath?a.resolve(d):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(w,b)=>{var y;await e.callHook("page:loading:start"),w.meta=vn(w.meta),e.isHydrating&&g&&!hn(w.meta.layout)&&(w.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...w0,...e._middleware.global]);for(const m of w.matched){const x=m.meta.middleware;if(x)for(const E of ca(x))_.add(E)}{const m=await e.runWithContext(()=>oa(w.path));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=Cr[m])==null?void 0:y.call(Cr).then(S=>S.default||S)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(w,b));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const S=E||fi({statusCode:404,statusMessage:`Page Not Found: ${d}`});return await e.runWithContext(()=>Gn(S)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=yt.scrollBehavior}catch(w){await e.runWithContext(()=>Gn(w))}}),{provide:{router:a}}}}),bi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),S0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),so=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{bi(()=>e())}):bi(()=>e())},C0=Nt({name:"nuxt:payload",setup(e){Qe().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Pl(t.path);s&&Object.assign(e.static.data,s.data)}),so(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Pl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(no,1e3)})}}),P0=Nt(()=>{const e=Qe();so(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),T0=Nt(e=>{let t;async function n(){const s=await no();t&&clearTimeout(t),t=setTimeout(n,hl);try{const o=await $fetch(sa("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}so(()=>{t=setTimeout(n,hl)})});function L0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Or(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:me().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const R0=Nt({name:"nuxt:chunk-reload",setup(e){const t=Qe(),n=pt(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Fn(n.app.baseURL,r.fullPath);L0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),k0=Nt({name:"nuxt:global-components"}),ln={},A0=Nt({name:"nuxt:prefetch",setup(e){const t=Qe();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof ln[s]=="function"&&await ln[s]()})}),e.hooks.hook("link:prefetch",n=>{if(bt(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=ca(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Cr[i]=="function"&&Cr[i]();o&&typeof ln[o]=="function"&&ln[o]()})}});function Ct(e){if(typeof e!="object")return e;var t,n,s=Object.prototype.toString.call(e);if(s==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Ct(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Ct(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Ct(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Ct(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Ct(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(Ct(r),Ct(o))}),n):s==="[object Date]"?new Date(+e):s==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):s==="[object DataView]"?new e.constructor(Ct(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const I0={path:"/",watch:!0,decode:e=>Or(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},cs=window.cookieStore;function O0(e,t){var l;const n={...I0,...t};n.filter??(n.filter=d=>d===e);const s=Xl(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const r=o!==void 0&&o<=0,i=Ct(r?void 0:s[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!r?D0(i,o,n.watch&&n.watch!=="shallow"):Ee(i);{let d=null;try{!cs&&typeof BroadcastChannel<"u"&&(d=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Ym(a.value,s[e])||(M0(e,a.value,n),s[e]=Ct(a.value),d==null||d.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=Xl(n))==null?void 0:v[e]:n.decode(p.value);f=!0,a.value=g,s[e]=Ct(g),yn(()=>{f=!1})};let f=!1;const c=!!js();if(c&&Bo(()=>{f=!0,u(),d==null||d.close()}),cs){const p=g=>{const v=g.changed.find(b=>b.name===e),w=g.deleted.find(b=>b.name===e);v&&h({value:v.value}),w&&h({value:null})};cs.addEventListener("change",p),c&&Bo(()=>cs.removeEventListener("change",p))}else d&&(d.onmessage=({data:p})=>h(p));n.watch?ht(a,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return a}function Xl(e={}){return Vm(document.cookie,e)}function N0(e,t,n={}){return t==null?gl(e,t,{...n,maxAge:-1}):gl(e,t,n)}function M0(e,t,n={}){document.cookie=N0(e,t,n)}const Yl=2147483647;function D0(e,t,n){let s,o,r=0;const i=n?Ee(e):{value:e};return js()&&Bo(()=>{o==null||o(),clearTimeout(s)}),Dh((a,l)=>{n&&(o=ht(i,l));function d(){r=0,clearTimeout(s);const u=t-r,h=u<Yl?u:Yl;s=setTimeout(()=>{if(r+=h,r<t)return d();i.value=void 0,l()},h)}return{get(){return a(),i.value},set(u){d(),i.value=u,l()}}})}/*!
* shared v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Os=typeof window<"u",xn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),F0=(e,t,n)=>$0({l:e,k:t,s:n}),$0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Xe=e=>typeof e=="number"&&isFinite(e),H0=e=>id(e)==="[object Date]",Ns=e=>id(e)==="[object RegExp]",oo=e=>pe(e)&&Object.keys(e).length===0,He=Object.assign;let Jl;const ua=()=>Jl||(Jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ql(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const U0=Object.prototype.hasOwnProperty;function Ms(e,t){return U0.call(e,t)}const $e=Array.isArray,be=e=>typeof e=="function",Z=e=>typeof e=="string",Ie=e=>typeof e=="boolean",B0=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",V0=e=>he(e)&&be(e.then)&&be(e.catch),od=Object.prototype.toString,id=e=>od.call(e),pe=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},j0=e=>e==null?"":$e(e)||pe(e)&&e.toString===od?JSON.stringify(e,null,2):String(e);function fa(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function io(e){let t=e;return()=>++t}function W0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const us=e=>!he(e)||$e(e);function Nn(e,t){if(us(e)||us(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:o}=n.pop();Object.keys(s).forEach(r=>{us(s[r])||us(o[r])?o[r]=s[r]:n.push({src:s[r],des:o[r]})})}}const sr=["en","it"],Ds={en:[{key:"../locales/en-US/general.ts",load:()=>Fe(()=>import("./B29_kTit.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>Fe(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>Fe(()=>import("./DNoOLGtr.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>Fe(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>Fe(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>Fe(()=>import("./DrtRviTy.js"),[],import.meta.url),cache:!0}]},K0=[],ao=[{code:"en",name:"English",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/resume.ts"}],language:"en-US"},{code:"it",name:"Italiano",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/resume.ts"}],language:"it-IT"}],ad="@nuxtjs/i18n",G0=!1,X0="nuxtI18n",Y0="i18n_redirected",Ql="nuxt-i18n-slp",J0=typeof window<"u";function q0(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function Q0(e){return e!=null&&"global"in e&&"mode"in e}function z0(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Me(e.locale)}function ld(e){return e!=null&&"__composer"in e}function wn(e){return Q0(e)?e.global:e}function or(e){const t=wn(e);return z0(t)?t:ld(t)?t.__composer:t}function lo(e){return te(wn(e).locale)}function Z0(e){return te(wn(e).locales)}function e_(e){return te(wn(e).localeCodes)}function cd(e,t){const n=wn(e);Me(n.locale)?n.locale.value=t:n.locale=t}function ud(e){return Z(e)?e:B0(e)?e.toString():"(null)"}function zl(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=s!=="no_prefix"||i;let l=ud(e)+(a?o+t:"");return t===n&&s==="prefix_and_default"&&(l+=o+r),l}function Zl(e,t){return be(e)?e(t):e}function t_(e,t){const n=[];for(const[s,o]of t.entries()){const r=e.find(i=>i.language.toLowerCase()===o.toLowerCase());if(r){n.push({code:r.code,score:1-s/t.length});break}}for(const[s,o]of t.entries()){const r=o.split("-")[0].toLowerCase(),i=e.find(a=>a.language.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const n_=t_;function r_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const s_=r_;function o_(e,t,{matcher:n=n_,comparer:s=s_}={}){const o=[];for(const i of e){const{code:a}=i,l=i.language||a;o.push({code:a,language:l})}const r=n(o,t);return r.length>1&&r.sort(s),r.length?r[0].code:""}function da(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const i_="$s";function fd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const o=i_+n,r=me(),i=hu(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Me(a))return r.payload.state[o]=a,a;i.value=a}return i}const Pr=new Map;async function a_(e,t){const n={messages:{}};for(const s of e){const{default:o}=await s(),r=be(o)?await t.runWithContext(async()=>await o()):o;Nn(r,n)}return n}function dd(e,t){let n=[];if($e(e))n=e;else if(he(e)){const s=[...t,"default"];for(const o of s)e[o]&&(n=[...n,...e[o].filter(Boolean)])}else Z(e)&&t.every(s=>s!==e)&&n.push(e);return n}async function l_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const d=dd(i,[s,o]);await Promise.all(d.map(u=>ec(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(d=>ec(d,t,e))),e}async function c_(e,{key:t,load:n}){let s=null;try{const o=await n().then(r=>r.default||r);be(o)?s=await o(e):(s=o,s!=null&&Pr&&Pr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function Fs(e,t,n){const s=t[e];if(s==null){console.warn("Could not find messages for locale code: "+e);return}const o={};for(const r of s){let i=null;Pr&&Pr.has(r.key)&&r.cache?i=Pr.get(r.key):i=await c_(e,r),i!=null&&Nn(i,o)}n(e,o)}async function ec(e,t,n){await Fs(e,t,(o,r)=>{const i=n[o]||{};Nn(r,i),n[o]=i})}function u_(e,t){return[e.slice(0,t),e.slice(t)]}function f_(e){const{fullPath:t,query:n,hash:s,name:o,path:r,params:i,meta:a,redirectedFrom:l,matched:d}=e;return{fullPath:t,params:i,query:n,hash:s,name:o,path:r,meta:a,matched:d,redirectedFrom:l}}function d_({router:e},t,n,s){var d,u;if(n!=="prefix")return e.resolve(t);const[o,r]=u_(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,a=(u=(d=e.options)==null?void 0:d.routes)==null?void 0:u.find(h=>h.path===i);if(a==null)return t;const l=He({},t,a);return l.path=i,e.resolve(l)}const h_=new Set(["prefix_and_default","prefix_except_default"]);function p_(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&h_.has(s))&&s!=="no_prefix"}const g_=p_;function ir(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=te(t);return s==null||!s.name?void 0:ud(s.name).split(n)[0]}function co(e,t,n){var o;if(typeof t=="string"&&bt(t,{acceptRelative:!0}))return t;const s=uo(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function ha(e,t,n){return uo(e,t,n)??void 0}function m_(e,t,n){return uo(e,t,n)??void 0}function uo(e,t,n){const{router:s,i18n:o}=e,r=n||lo(o),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,d=A_(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=oi(t),v=na(p);u={path:c,query:v,hash:g}}else u={name:t};else u=t;let h=He({},u);if((c=>"path"in c&&!!c.path&&!("name"in c))(h)){const c=d_(e,h,a,r),p=ir(e,c);Z(p)?(h={name:zl(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},h.state=c.state):(d({currentLocale:r,defaultLocale:i,strategy:a})&&(h.path=`/${r}${h.path}`),h.path=l?Nr(h.path,!0):Kr(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=ir(e,s.currentRoute.value)),h.name=zl(h.name,r,e.runtimeConfig.public.i18n);try{const c=s.resolve(h);return c.name?c:s.resolve(t)}catch(c){if(typeof c=="object"&&"type"in c&&c.type===1)return null}}const v_=e=>e;function y_(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return te(e.metaState.value);const n=t.meta||{};return((s=te(n))==null?void 0:s[X0])||{}}function ar(e,t,n){const s=n??e.router.currentRoute.value,o=ir(e,s);if(!o)return"";const r=I_(e.runtimeConfig),i=f_(s),a=y_(e,s)[t],l={...i,name:o,params:{...i.params,...a}},d=co(e,l,t);return r(d,t)}function hd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=pt().public.i18n,r=or(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=lo(e.i18n),l=Z0(e.i18n),d=q0(l).find(f=>f.code===a)||{code:a},u=d.language,h=d.dir||o;return t&&(i.htmlAttrs.dir=h),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...__(e,te(l),s),...x_(e,s,n)),i.meta.push(...w_(e,s,n),...b_(d,u,s),...E_(te(l),u,s))),i}function pa(){const e=me(),t=or(e.$i18n);return Fn(te(t.baseUrl),e.$config.app.baseURL)}function __(e,t,n){const s=pa(),{defaultLocale:o,strategy:r}=pt().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const d=l.language;if(!d){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,h]=d.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(d,l)}for(const[l,d]of a.entries()){const u=ar(e,d.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:Ei(u,s),hreflang:l})}if(o){const l=ar(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:Ei(l,s),hreflang:"x-default"})}return i}function pd(e,t,n){const s=e.router.currentRoute.value,o=ha(e,{...s,path:void 0,name:ir(e,s)});if(!o)return"";let r=Ei(o.path,t);const i=he(n)&&n.canonicalQueries||[],a=o.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];$e(h)?h.forEach(f=>l.append(u,f||"")):l.append(u,h||"")}const d=l.toString();return d&&(r=`${r}?${d}`),r}function x_(e,t,n){const s=pa(),o=pd(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function w_(e,t,n){const s=pa(),o=pd(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function b_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:gd(t)}]}function E_(e,t,n){return e.filter(o=>o.language&&o.language!==t).map(o=>({[n]:`i18n-og-alt-${o.language}`,property:"og:locale:alternate",content:gd(o.language)}))}function gd(e){return(e||"").replace(/-/g,"_")}function Ei(e,t){return e.match(/^https?:\/\//)?e:Fn(t,e)}function md(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=pt().public.i18n,n=`(${sr.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=da(sr);return a=>{if(he(a)){if(a.name){const d=(Z(a.name)?a.name:a.name.toString()).match(o);if(d&&d.length>1)return d[1]}else if(a.path){const l=a.path.match(r);if(l&&l.length>1)return l[1]}}else if(Z(a)){const l=a.match(r);if(l&&l.length>1)return l[1]}return""}}function S_(e,t){return Xr(e,"setLocale",t)}function C_(e,t){return Xr(e,"setLocaleCookie",t)}function vd(e,t,n){return Xr(e,"mergeLocaleMessage",t,n)}async function P_(e,t,n,s,o){return Xr(e,"onBeforeLanguageSwitch",t,n,s,o)}function T_(e,t,n){return Xr(e,"onLanguageSwitched",t,n)}function ga(e){return{i18n:e??me().$i18n,router:Qe(),runtimeConfig:pt(),metaState:fd("nuxt-i18n-meta",()=>({}))}}async function tc(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=Yr(n),l=me(),d=lo(t),u=e_(t);function h(c=d){a===!1||!a.useCookie||r||C_(t,c)}if(!e||!s&&o||d===e)return h(),!1;const f=await P_(t,d,e,s,l);if(f&&u.includes(f)){if(d===f)return h(),!1;e=f}if(i){const c=N_(t,"fallbackLocale"),p=(g,v)=>vd(t,g,v);if(c){const g=dd(c,[e]);await Promise.all(g.map(v=>Fs(v,Ds,p)))}await Fs(e,Ds,p)}return r?!1:(h(e),cd(t,e),await T_(t,d,e),!0)}function yd(e){return{log:console.log.bind(console,`${e}:`)}}function nc(e,t,n,s,o){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=o,{localeCookie:d}=s,u=Yr(o);yd("detectLocale");const h=be(n)?n():n,f=bd(e,s,h);if(f.reason===wd.SSG_IGNORE)return h;if(f.locale&&f.from!=null)return f.locale;let c="";a||l?c||(c=$_(ao,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&d;return c||(c=p||h||i||""),c}function rc({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=me(),r=ga(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:d}=e.to;if(!a&&(s||i!=="no_prefix")&&n(e.to)!==t){const u=o.$switchLocalePath(t)||o.$localePath(d,t);Z(u)&&u&&!si(u,d)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=ar(r,t,e.to);Z(u)&&u&&!si(u,d)&&!u.startsWith("//")&&(l=u)}return l}function L_(e){return he(e)&&"path"in e&&"statusCode"in e}const R_=()=>fd(ad+":redirect",()=>"");function Bn(e,t){return If(e,{redirectCode:t})}async function sc(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:d,skipSettingLocaleOnNavigate:u,configLocales:h,strategy:f}=s.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:L_(a)&&(c="/"+a.path,t=a.statusCode),c=s.$localePath(c,r),Bn(c,t);if(!(u&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(p=>{o.__resolvePendingLocalePromise=p}),!n))){if(d&&f==="prefix_except_default"){const p=fo(),g=h.find(w=>{var b;return typeof w!="string"?(b=w.defaultForDomains)==null?void 0:b.find(y=>y===p):!1}),v=typeof g!="string"?g==null?void 0:g.code:void 0;if(i.path.startsWith(`/${v}`))return Bn(i.path.replace(`/${v}`,""),t);if(!i.path.startsWith(`/${r}`)&&r!==v){const b=md()(i.path);return Bn(b!==""?`/${r+i.path.replace(`/${b}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`,t)}else if(c&&i.path!==c)return Bn(c,t);return}if(l){const p=R_();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Bn(c,t)}}function k_(e,t){Vn(e,"$i18n",wn(t)),Vn(e,"$getRouteBaseName",ft(ir)),Vn(e,"$localePath",ft(co)),Vn(e,"$localeRoute",ft(ha)),Vn(e,"$switchLocalePath",ft(ar)),Vn(e,"$localeHead",ft(hd))}function A_(e=pt()){return t=>g_(t)&&!e.public.i18n.differentDomains}function I_(e=pt()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=Ed(n);return s?Fn(s,t):t}else return v_(t)}}function O_(){return()=>{const e=me(),{baseUrl:t,defaultLocale:n,differentDomains:s}=e.$config.public.i18n;if(be(t))return t(e);const o=be(n)?n():n;if(s&&o){const r=Ed(o);if(r)return r}return t}}function _d(e){return ad+" "+e}function Xr(e,t,...n){const s=wn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function N_(e,t){const n=wn(e);return te(n[t])}function Vn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ft(e,t=ga()){return(...n)=>e(t,...n)}function xd(){let e;return navigator.languages&&(e=o_(ao,navigator.languages)),e}function M_(){const e=Yr(),t=e&&e.cookieKey||Y0,n=new Date,s={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(s.domain=e.cookieDomain),O0(t,s)}function Fo(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(sr.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function D_(e,t,n){n===!1||!n.useCookie||(e.value=t)}var wd=(e=>(e.NOT_FOUND="not_found_match",e.FIRST_ACCESS="first_access_only",e.NO_REDIRECT_ROOT="not_redirect_on_root",e.NO_REDIRECT_NO_PREFIX="not_redirect_on_no_prefix",e.SSG_IGNORE="detect_ignore_on_ssg",e))(wd||{});const F_={locale:""};function bd(e,t,n=""){yd("detectBrowserLanguage");const s=Yr();if(!s)return F_;const{strategy:o}=pt().public.i18n,{ssg:r,callType:i,firstAccess:a,localeCookie:l}=t;if(o==="no_prefix"&&r==="ssg_ignore")return{locale:"",reason:"detect_ignore_on_ssg"};if(!a)return{locale:o==="no_prefix"?n:"",reason:"first_access_only"};const{redirectOn:d,alwaysRedirect:u,useCookie:h,fallbackLocale:f}=s,c=Z(e)?e:e.path;if(o!=="no_prefix"){if(d==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(d==="no prefix"&&!u&&c.match(da(sr)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=xd();g||(p="navigator_or_header");const w=g||v,b=w||f||"";return!w&&f&&(p="fallback"),{locale:b,from:p}}function fo(){let e;return e=window.location.host,e}function $_(e,t,n){let s=fo()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return bt(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===s}else if(Array.isArray(i==null?void 0:i.domains))return i.domains.includes(s);return!1});if(r.length===1)o=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(_d("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),o=r[0];else{if(n){const i=he(n)?n.path:Z(n)?n:"";if(i&&i!==""){const a=i.match(da(r.map(l=>l.code)));a&&a.length>1&&(o=r.find(l=>l.code===a[1]))}}o||(o=r.find(i=>Array.isArray(i.defaultForDomains)?i.defaultForDomains.includes(s):i.domainDefault))}if(o)return o.code;s=""}return s}function Ed(e){var i,a,l,d,u,h;const t=pt();me();const n=fo(),s=t.public.i18n,o=ao.find(f=>f.code===e),r=((a=(i=s==null?void 0:s.locales)==null?void 0:i[e])==null?void 0:a.domain)||(o==null?void 0:o.domain)||((u=(d=(l=s==null?void 0:s.locales)==null?void 0:l[e])==null?void 0:d.domains)==null?void 0:u.find(f=>f===n))||((h=o==null?void 0:o.domains)==null?void 0:h.find(f=>f===n));if(r){if(bt(r,{strict:!0}))return r;let f;return f=new URL(window.location.origin).protocol,f+"//"+r}console.warn(_d("Could not find domain name for locale "+e))}const Yr=(e=pt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
* message-compiler v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function H_(e,t,n){return{line:e,column:t,offset:n}}function $s(e,t,n){return{start:e,end:t}}const Sd={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function U_(e,t,...n){const o={message:String(e),code:e};return t&&(o.location=t),o}const we={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function ho(e,t,n={}){const{domain:s,messages:o,args:r}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=s,a}function B_(e){throw e}const Vt=" ",V_="\r",st=`
`,j_="\u2028",W_="\u2029";function K_(e){const t=e;let n=0,s=1,o=1,r=0;const i=E=>t[E]===V_&&t[E+1]===st,a=E=>t[E]===st,l=E=>t[E]===W_,d=E=>t[E]===j_,u=E=>i(E)||a(E)||l(E)||d(E),h=()=>n,f=()=>s,c=()=>o,p=()=>r,g=E=>i(E)||l(E)||d(E)?st:t[E],v=()=>g(n),w=()=>g(n+r);function b(){return r=0,u(n)&&(s++,o=0),i(n)&&n++,n++,o++,t[n]}function y(){return i(n+r)&&r++,r++,t[n+r]}function _(){n=0,s=1,o=1,r=0}function m(E=0){r=E}function x(){const E=n+r;for(;E!==n;)b();r=0}return{index:h,line:f,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:w,next:b,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const tn=void 0,G_=".",oc="'",X_="tokenizer";function Y_(e,t={}){const n=t.location!==!1,s=K_(e),o=()=>s.index(),r=()=>H_(s.line(),s.column(),s.index()),i=r(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},d=()=>l,{onError:u}=t;function h(R,k,N,...K){const J=d();if(k.column+=N,k.offset+=N,u){const G=n?$s(J.startLoc,k):null,M=ho(R,G,{domain:X_,args:K});u(M)}}function f(R,k,N){R.endLoc=r(),R.currentType=k;const K={type:k};return n&&(K.loc=$s(R.startLoc,R.endLoc)),N!=null&&(K.value=N),K}const c=R=>f(R,14);function p(R,k){return R.currentChar()===k?(R.next(),k):(h(we.EXPECTED_TOKEN,r(),0,k),"")}function g(R){let k="";for(;R.currentPeek()===Vt||R.currentPeek()===st;)k+=R.currentPeek(),R.peek();return k}function v(R){const k=g(R);return R.skipToPeek(),k}function w(R){if(R===tn)return!1;const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function b(R){if(R===tn)return!1;const k=R.charCodeAt(0);return k>=48&&k<=57}function y(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const K=w(R.currentPeek());return R.resetPeek(),K}function _(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const K=R.currentPeek()==="-"?R.peek():R.currentPeek(),J=b(K);return R.resetPeek(),J}function m(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const K=R.currentPeek()===oc;return R.resetPeek(),K}function x(R,k){const{currentType:N}=k;if(N!==8)return!1;g(R);const K=R.currentPeek()===".";return R.resetPeek(),K}function E(R,k){const{currentType:N}=k;if(N!==9)return!1;g(R);const K=w(R.currentPeek());return R.resetPeek(),K}function S(R,k){const{currentType:N}=k;if(!(N===8||N===12))return!1;g(R);const K=R.currentPeek()===":";return R.resetPeek(),K}function P(R,k){const{currentType:N}=k;if(N!==10)return!1;const K=()=>{const G=R.currentPeek();return G==="{"?w(R.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Vt||!G?!1:G===st?(R.peek(),K()):C(R,!1)},J=K();return R.resetPeek(),J}function L(R){g(R);const k=R.currentPeek()==="|";return R.resetPeek(),k}function T(R){const k=g(R),N=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:N,hasSpace:k.length>0}}function C(R,k=!0){const N=(J=!1,G="",M=!1)=>{const H=R.currentPeek();return H==="{"?G==="%"?!1:J:H==="@"||!H?G==="%"?!0:J:H==="%"?(R.peek(),N(J,"%",!0)):H==="|"?G==="%"||M?!0:!(G===Vt||G===st):H===Vt?(R.peek(),N(!0,Vt,M)):H===st?(R.peek(),N(!0,st,M)):!0},K=N();return k&&R.resetPeek(),K}function O(R,k){const N=R.currentChar();return N===tn?tn:k(N)?(R.next(),N):null}function F(R){const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function $(R){return O(R,F)}function U(R){const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36||k===45}function j(R){return O(R,U)}function Y(R){const k=R.charCodeAt(0);return k>=48&&k<=57}function se(R){return O(R,Y)}function ue(R){const k=R.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ce(R){return O(R,ue)}function ne(R){let k="",N="";for(;k=se(R);)N+=k;return N}function Se(R){v(R);const k=R.currentChar();return k!=="%"&&h(we.EXPECTED_TOKEN,r(),0,k),R.next(),"%"}function _e(R){let k="";for(;;){const N=R.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(C(R))k+=N,R.next();else break;else if(N===Vt||N===st)if(C(R))k+=N,R.next();else{if(L(R))break;k+=N,R.next()}else k+=N,R.next()}return k}function Ue(R){v(R);let k="",N="";for(;k=j(R);)N+=k;return R.currentChar()===tn&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),N}function fe(R){v(R);let k="";return R.currentChar()==="-"?(R.next(),k+=`-${ne(R)}`):k+=ne(R),R.currentChar()===tn&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),k}function V(R){return R!==oc&&R!==st}function q(R){v(R),p(R,"'");let k="",N="";for(;k=O(R,V);)k==="\\"?N+=z(R):N+=k;const K=R.currentChar();return K===st||K===tn?(h(we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===st&&(R.next(),p(R,"'")),N):(p(R,"'"),N)}function z(R){const k=R.currentChar();switch(k){case"\\":case"'":return R.next(),`\\${k}`;case"u":return ee(R,k,4);case"U":return ee(R,k,6);default:return h(we.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function ee(R,k,N){p(R,k);let K="";for(let J=0;J<N;J++){const G=ce(R);if(!G){h(we.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${k}${K}${R.currentChar()}`);break}K+=G}return`\\${k}${K}`}function de(R){return R!=="{"&&R!=="}"&&R!==Vt&&R!==st}function xe(R){v(R);let k="",N="";for(;k=O(R,de);)N+=k;return N}function A(R){let k="",N="";for(;k=$(R);)N+=k;return N}function I(R){const k=N=>{const K=R.currentChar();return K==="{"||K==="%"||K==="@"||K==="|"||K==="("||K===")"||!K||K===Vt?N:(N+=K,R.next(),k(N))};return k("")}function D(R){v(R);const k=p(R,"|");return v(R),k}function W(R,k){let N=null;switch(R.currentChar()){case"{":return k.braceNest>=1&&h(we.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),N=f(k,2,"{"),v(R),k.braceNest++,N;case"}":return k.braceNest>0&&k.currentType===2&&h(we.EMPTY_PLACEHOLDER,r(),0),R.next(),N=f(k,3,"}"),k.braceNest--,k.braceNest>0&&v(R),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),N;case"@":return k.braceNest>0&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),N=B(R,k)||c(k),k.braceNest=0,N;default:{let J=!0,G=!0,M=!0;if(L(R))return k.braceNest>0&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),N=f(k,1,D(R)),k.braceNest=0,k.inLinked=!1,N;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return h(we.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,X(R,k);if(J=y(R,k))return N=f(k,5,Ue(R)),v(R),N;if(G=_(R,k))return N=f(k,6,fe(R)),v(R),N;if(M=m(R,k))return N=f(k,7,q(R)),v(R),N;if(!J&&!G&&!M)return N=f(k,13,xe(R)),h(we.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,N.value),v(R),N;break}}return N}function B(R,k){const{currentType:N}=k;let K=null;const J=R.currentChar();switch((N===8||N===9||N===12||N===10)&&(J===st||J===Vt)&&h(we.INVALID_LINKED_FORMAT,r(),0),J){case"@":return R.next(),K=f(k,8,"@"),k.inLinked=!0,K;case".":return v(R),R.next(),f(k,9,".");case":":return v(R),R.next(),f(k,10,":");default:return L(R)?(K=f(k,1,D(R)),k.braceNest=0,k.inLinked=!1,K):x(R,k)||S(R,k)?(v(R),B(R,k)):E(R,k)?(v(R),f(k,12,A(R))):P(R,k)?(v(R),J==="{"?W(R,k)||K:f(k,11,I(R))):(N===8&&h(we.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,X(R,k))}}function X(R,k){let N={type:14};if(k.braceNest>0)return W(R,k)||c(k);if(k.inLinked)return B(R,k)||c(k);switch(R.currentChar()){case"{":return W(R,k)||c(k);case"}":return h(we.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),f(k,3,"}");case"@":return B(R,k)||c(k);default:{if(L(R))return N=f(k,1,D(R)),k.braceNest=0,k.inLinked=!1,N;const{isModulo:J,hasSpace:G}=T(R);if(J)return G?f(k,0,_e(R)):f(k,4,Se(R));if(C(R))return f(k,0,_e(R));break}}return N}function Q(){const{currentType:R,offset:k,startLoc:N,endLoc:K}=l;return l.lastType=R,l.lastOffset=k,l.lastStartLoc=N,l.lastEndLoc=K,l.offset=o(),l.startLoc=r(),s.currentChar()===tn?f(l,14):X(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:d}}const J_="parser",q_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Q_(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 z_(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function o(y,_,m,x,...E){const S=y.currentPosition();if(S.offset+=x,S.column+=x,n){const P=t?$s(m,S):null,L=ho(_,P,{domain:J_,args:E});n(L)}}function r(y,_,m,x,...E){const S=y.currentPosition();if(S.offset+=x,S.column+=x,s){const P=t?$s(m,S):null;s(U_(_,P,E))}}function i(y,_,m){const x={type:y};return t&&(x.start=_,x.end=_,x.loc={start:m,end:m}),x}function a(y,_,m,x){t&&(y.end=_,y.loc&&(y.loc.end=m))}function l(y,_){const m=y.context(),x=i(3,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function d(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:E}=m,S=i(5,x,E);return S.index=parseInt(_,10),y.nextToken(),a(S,y.currentOffset(),y.currentPosition()),S}function u(y,_,m){const x=y.context(),{lastOffset:E,lastStartLoc:S}=x,P=i(4,E,S);return P.key=_,m===!0&&(P.modulo=!0),y.nextToken(),a(P,y.currentOffset(),y.currentPosition()),P}function h(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:E}=m,S=i(9,x,E);return S.value=_.replace(q_,Q_),y.nextToken(),a(S,y.currentOffset(),y.currentPosition()),S}function f(y){const _=y.nextToken(),m=y.context(),{lastOffset:x,lastStartLoc:E}=m,S=i(8,x,E);return _.type!==12?(o(y,we.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),S.value="",a(S,x,E),{nextConsumeToken:_,node:S}):(_.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Et(_)),S.value=_.value||"",a(S,y.currentOffset(),y.currentPosition()),{node:S})}function c(y,_){const m=y.context(),x=i(7,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function p(y){const _=y.context(),m=i(6,_.offset,_.startLoc);let x=y.nextToken();if(x.type===9){const E=f(y);m.modifier=E.node,x=E.nextConsumeToken||y.nextToken()}switch(x.type!==10&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),x=y.nextToken(),x.type===2&&(x=y.nextToken()),x.type){case 11:x.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=d(y,x.value||"");break;case 7:x.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=h(y,x.value||"");break;default:{o(y,we.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const E=y.context(),S=i(7,E.offset,E.startLoc);return S.value="",a(S,E.offset,E.startLoc),m.key=S,a(m,E.offset,E.startLoc),{nextConsumeToken:x,node:m}}}return a(m,y.currentOffset(),y.currentPosition()),{node:m}}function g(y){const _=y.context(),m=_.currentType===1?y.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,E=i(2,m,x);E.items=[];let S=null,P=null;do{const C=S||y.nextToken();switch(S=null,C.type){case 0:C.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(l(y,C.value||""));break;case 6:C.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(d(y,C.value||""));break;case 4:P=!0;break;case 5:C.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(u(y,C.value||"",!!P)),P&&(r(y,Sd.USE_MODULO_SYNTAX,_.lastStartLoc,0,Et(C)),P=null);break;case 7:C.value==null&&o(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(h(y,C.value||""));break;case 8:{const O=p(y);E.items.push(O.node),S=O.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const L=_.currentType===1?_.lastOffset:y.currentOffset(),T=_.currentType===1?_.lastEndLoc:y.currentPosition();return a(E,L,T),E}function v(y,_,m,x){const E=y.context();let S=x.items.length===0;const P=i(1,_,m);P.cases=[],P.cases.push(x);do{const L=g(y);S||(S=L.items.length===0),P.cases.push(L)}while(E.currentType!==14);return S&&o(y,we.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(P,y.currentOffset(),y.currentPosition()),P}function w(y){const _=y.context(),{offset:m,startLoc:x}=_,E=g(y);return _.currentType===14?E:v(y,m,x,E)}function b(y){const _=Y_(y,He({},e)),m=_.context(),x=i(0,m.offset,m.startLoc);return t&&x.loc&&(x.loc.source=y),x.body=w(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(y)),m.currentType!==14&&o(_,we.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),a(x,_.currentOffset(),_.currentPosition()),x}return{parse:b}}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 Z_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function ic(e,t){for(let n=0;n<e.length;n++)ma(e[n],t)}function ma(e,t){switch(e.type){case 1:ic(e.cases,t),t.helper("plural");break;case 2:ic(e.items,t);break;case 6:{ma(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 ex(e,t={}){const n=Z_(e);n.helper("normalize"),e.body&&ma(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function tx(e){const t=e.body;return t.type===2?ac(t):t.cases.forEach(n=>ac(n)),e}function ac(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=fa(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function Kn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Kn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Kn(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Kn(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Kn(t.key),t.k=t.key,delete t.key,t.modifier&&(Kn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function nx(e,t){const{sourceMap:n,filename:s,breakLineCode:o,needIndent:r}=t,i=t.location!==!1,a={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function d(v,w){a.code+=v}function u(v,w=!0){const b=w?o:"";d(r?b+" ".repeat(v):b)}function h(v=!0){const w=++a.indentLevel;v&&u(w)}function f(v=!0){const w=--a.indentLevel;v&&u(w)}function c(){u(a.indentLevel)}return{context:l,push:d,indent:h,deindent:f,newline:c,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function rx(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),lr(e,t.key),t.modifier?(e.push(", "),lr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function sx(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const o=t.items.length;for(let r=0;r<o&&(lr(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function ox(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const o=t.cases.length;for(let r=0;r<o&&(lr(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function ix(e,t){t.body?lr(e,t.body):e.push("null")}function lr(e,t){const{helper:n}=e;switch(t.type){case 0:ix(e,t);break;case 1:ox(e,t);break;case 2:sx(e,t);break;case 6:rx(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 ax=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",s=Z(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=nx(e,{mode:n,filename:s,sourceMap:o,breakLineCode:r,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${fa(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),l.newline()),l.push("return "),lr(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:d,map:u}=l.context();return{ast:e,code:d,map:u?u.toJSON():void 0}};function lx(e,t={}){const n=He({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=z_(n).parse(e);return s?(r&&tx(a),o&&Kn(a),{ast:a,code:""}):(ex(a,n),ax(a,n))}/*!
* core-base v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function cx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ua().__INTLIFY_PROD_DEVTOOLS__=!1)}const bn=[];bn[0]={w:[0],i:[3,0],"[":[4],o:[7]};bn[1]={w:[1],".":[2],"[":[4],o:[7]};bn[2]={w:[2],i:[3,0],0:[3,0]};bn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};bn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};bn[5]={"'":[4,0],o:8,l:[5,0]};bn[6]={'"':[4,0],o:8,l:[6,0]};const ux=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fx(e){return ux.test(e)}function dx(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 hx(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 px(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:fx(t)?dx(t):"*"+t}function gx(e){const t=[];let n=-1,s=0,o=0,r,i,a,l,d,u,h;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,s=4,f[0]();else{if(o=0,i===void 0||(i=px(i),i===!1))return!1;f[1]()}};function c(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,f[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=hx(r),h=bn[s],d=h[l]||h.l||8,d===8||(s=d[0],d[1]!==void 0&&(u=f[d[1]],u&&(a=r,u()===!1))))return;if(s===7)return t}}const lc=new Map;function mx(e,t){return he(e)?e[t]:null}function vx(e,t){if(!he(e))return null;let n=lc.get(t);if(n||(n=gx(t),n&&lc.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=o[n[r]];if(i===void 0||be(o))return null;o=i,r++}return o}const yx=e=>e,_x=e=>"",xx="text",wx=e=>e.length===0?"":fa(e),bx=j0;function cc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ex(e){const t=Xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Xe(e.named.count)||Xe(e.named.n))?Xe(e.named.count)?e.named.count:Xe(e.named.n)?e.named.n:t:t}function Sx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Cx(e={}){const t=e.locale,n=Ex(e),s=he(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?e.pluralRules[t]:cc,o=he(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?cc:void 0,r=w=>w[s(n,w.length,o)],i=e.list||[],a=w=>i[w],l=e.named||{};Xe(e.pluralIndex)&&Sx(n,l);const d=w=>l[w];function u(w){const b=be(e.messages)?e.messages(w):he(e.messages)?e.messages[w]:!1;return b||(e.parent?e.parent.message(w):_x)}const h=w=>e.modifiers?e.modifiers[w]:yx,f=pe(e.processor)&&be(e.processor.normalize)?e.processor.normalize:wx,c=pe(e.processor)&&be(e.processor.interpolate)?e.processor.interpolate:bx,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:xx,v={list:a,named:d,plural:r,linked:(w,...b)=>{const[y,_]=b;let m="text",x="";b.length===1?he(y)?(x=y.modifier||x,m=y.type||m):Z(y)&&(x=y||x):b.length===2&&(Z(y)&&(x=y||x),Z(_)&&(m=_||m));const E=u(w)(v),S=m==="vnode"&&$e(E)&&x?E[0]:E;return x?h(x)(S,m):S},message:u,type:p,interpolate:c,normalize:f,values:He({},i,l)};return v}let Fr=null;function Px(e){Fr=e}function Tx(e,t,n){Fr&&Fr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Lx=Rx("function:translate");function Rx(e){return t=>Fr&&Fr.emit(e,t)}const Cd=Sd.__EXTEND_POINT__,Tn=io(Cd),kx={NOT_FOUND_KEY:Cd,FALLBACK_TO_TRANSLATE:Tn(),CANNOT_FORMAT_NUMBER:Tn(),FALLBACK_TO_NUMBER_FORMAT:Tn(),CANNOT_FORMAT_DATE:Tn(),FALLBACK_TO_DATE_FORMAT:Tn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Tn(),__EXTEND_POINT__:Tn()},Pd=we.__EXTEND_POINT__,Ln=io(Pd),$t={INVALID_ARGUMENT:Pd,INVALID_DATE_ARGUMENT:Ln(),INVALID_ISO_DATE_ARGUMENT:Ln(),NOT_SUPPORT_NON_STRING_MESSAGE:Ln(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ln(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ln(),NOT_SUPPORT_LOCALE_TYPE:Ln(),__EXTEND_POINT__:Ln()};function Yt(e){return ho(e,null,void 0)}function va(e,t){return t.locale!=null?uc(t.locale):uc(e.locale)}let $o;function uc(e){if(Z(e))return e;if(be(e)){if(e.resolvedOnce&&$o!=null)return $o;if(e.constructor.name==="Function"){const t=e();if(V0(t))throw Yt($t.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $o=t}else throw Yt($t.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Yt($t.NOT_SUPPORT_LOCALE_TYPE)}function Ax(e,t,n){return[...new Set([n,...$e(t)?t:he(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Td(e,t,n){const s=Z(n)?n:Hs,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;$e(i);)i=fc(r,i,t);const a=$e(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,$e(i)&&fc(r,i,!1),o.__localeChainCache.set(s,r)}return r}function fc(e,t,n){let s=!0;for(let o=0;o<t.length&&Ie(s);o++){const r=t[o];Z(r)&&(s=Ix(e,t[o],n))}return s}function Ix(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=Ox(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function Ox(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),($e(n)||pe(n))&&n[o]&&(s=n[o])}return s}const Nx="9.14.0",po=-1,Hs="en-US",dc="",hc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Mx(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?hc(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?hc(e.children):e}}let Ld;function Dx(e){Ld=e}let Rd;function Fx(e){Rd=e}let kd;function $x(e){kd=e}let Ad=null;const Hx=e=>{Ad=e},Ux=()=>Ad;let Id=null;const pc=e=>{Id=e},Bx=()=>Id;let gc=0;function Vx(e={}){const t=be(e.onWarn)?e.onWarn:W0,n=Z(e.version)?e.version:Nx,s=Z(e.locale)||be(e.locale)?e.locale:Hs,o=be(s)?Hs:s,r=$e(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:{[o]:{}},a=pe(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=pe(e.numberFormats)?e.numberFormats:{[o]:{}},d=He({},e.modifiers||{},Mx()),u=e.pluralRules||{},h=be(e.missing)?e.missing:null,f=Ie(e.missingWarn)||Ns(e.missingWarn)?e.missingWarn:!0,c=Ie(e.fallbackWarn)||Ns(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=be(e.postTranslation)?e.postTranslation:null,w=pe(e.processor)?e.processor:null,b=Ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=be(e.messageCompiler)?e.messageCompiler:Ld,m=be(e.messageResolver)?e.messageResolver:Rd||mx,x=be(e.localeFallbacker)?e.localeFallbacker:kd||Ax,E=he(e.fallbackContext)?e.fallbackContext:void 0,S=e,P=he(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,L=he(S.__numberFormatters)?S.__numberFormatters:new Map,T=he(S.__meta)?S.__meta:{};gc++;const C={version:n,cid:gc,locale:s,fallbackLocale:r,messages:i,modifiers:d,pluralRules:u,missing:h,missingWarn:f,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:v,processor:w,warnHtmlMessage:b,escapeParameter:y,messageCompiler:_,messageResolver:m,localeFallbacker:x,fallbackContext:E,onWarn:t,__meta:T};return C.datetimeFormats=a,C.numberFormats=l,C.__datetimeFormatters=P,C.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&Tx(C,n,T),C}function ya(e,t,n,s,o){const{missing:r,onWarn:i}=e;if(r!==null){const a=r(e,n,t,o);return Z(a)?a:t}else return t}function pr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function jx(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Wx(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(jx(e,t[s]))return!0;return!1}function Ho(e){return n=>Kx(n,e)}function Kx(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,o=s.c||s.cases;return e.plural(o.reduce((r,i)=>[...r,mc(e,i)],[]))}else return mc(e,n)}function mc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((o,r)=>[...o,Si(e,r)],[]);return e.normalize(s)}}function Si(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,o=s.m||s.modifier;return e.linked(Si(e,s.k||s.key),o?Si(e,o):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Gx=e=>e;let fs=Object.create(null);const cr=e=>he(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Xx(e,t={}){let n=!1;const s=t.onError||B_;return t.onError=o=>{n=!0,s(o)},{...lx(e,t),detectError:n}}function Yx(e,t){if(Z(e)){Ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Gx)(e),o=fs[s];if(o)return o;const{ast:r,detectError:i}=Xx(e,{...t,location:!1,jit:!0}),a=Ho(r);return i?a:fs[s]=a}else{const n=e.cacheKey;if(n){const s=fs[n];return s||(fs[n]=Ho(e))}else return Ho(e)}}const vc=()=>"",_t=e=>be(e);function yc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,d]=Ci(...t),u=Ie(d.missingWarn)?d.missingWarn:e.missingWarn,h=Ie(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,f=Ie(d.escapeParameter)?d.escapeParameter:e.escapeParameter,c=!!d.resolvedMessage,p=Z(d.default)||Ie(d.default)?Ie(d.default)?r?l:()=>l:d.default:n?r?l:()=>l:"",g=n||p!=="",v=va(e,d);f&&Jx(d);let[w,b,y]=c?[l,v,a[v]||{}]:Od(e,l,v,i,h,u),_=w,m=l;if(!c&&!(Z(_)||cr(_)||_t(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||cr(_)||_t(_))||!Z(b)))return o?po:l;let x=!1;const E=()=>{x=!0},S=_t(_)?_:Nd(e,l,b,_,m,E);if(x)return _;const P=zx(e,b,y,d),L=Cx(P),T=qx(e,S,L),C=s?s(T,l):T;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:_t(_)?_.key:"",locale:b||(_t(_)?_.locale:""),format:Z(_)?_:_t(_)?_.source:"",message:C};O.meta=He({},e.__meta,Ux()||{}),Lx(O)}return C}function Jx(e){$e(e.list)?e.list=e.list.map(t=>Z(t)?ql(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=ql(e.named[t]))})}function Od(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:d}=e,u=d(e,s,n);let h={},f,c=null;const p="translate";for(let g=0;g<u.length&&(f=u[g],h=i[f]||{},(c=l(h,t))===null&&(c=h[t]),!(Z(c)||cr(c)||_t(c)));g++)if(!Wx(f,u)){const v=ya(e,t,f,r,p);v!==t&&(c=v)}return[c,f,h]}function Nd(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(_t(s)){const d=s;return d.locale=d.locale||n,d.key=d.key||t,d}if(i==null){const d=()=>s;return d.locale=n,d.key=t,d}const l=i(s,Qx(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function qx(e,t,n){return t(n)}function Ci(...e){const[t,n,s]=e,o={};if(!Z(t)&&!Xe(t)&&!_t(t)&&!cr(t))throw Yt($t.INVALID_ARGUMENT);const r=Xe(t)?String(t):(_t(t),t);return Xe(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!oo(n)?o.named=n:$e(n)&&(o.list=n),Xe(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&He(o,s),[r,o]}function Qx(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>F0(t,n,i)}}function zx(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:d,fallbackContext:u}=e,f={locale:t,modifiers:o,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=Od(u,c,t,a,l,d);p=i(g,c)}if(Z(p)||cr(p)){let g=!1;const w=Nd(e,c,t,p,c,()=>{g=!0});return g?vc:w}else return _t(p)?p:vc}};return e.processor&&(f.processor=e.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),Xe(s.plural)&&(f.pluralIndex=s.plural),f}function _c(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,d,u,h]=Pi(...t),f=Ie(u.missingWarn)?u.missingWarn:e.missingWarn;Ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=va(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,h).format(d);let v={},w,b=null;const y="datetime format";for(let x=0;x<g.length&&(w=g[x],v=n[w]||{},b=v[l],!pe(b));x++)ya(e,l,w,f,y);if(!pe(b)||!Z(w))return s?po:l;let _=`${w}__${l}`;oo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(w,He({},b,h)),a.set(_,m)),c?m.formatToParts(d):m.format(d)}const Md=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Pi(...e){const[t,n,s,o]=e,r={};let i={},a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Yt($t.INVALID_ISO_DATE_ARGUMENT);const d=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(d);try{a.toISOString()}catch{throw Yt($t.INVALID_ISO_DATE_ARGUMENT)}}else if(H0(t)){if(isNaN(t.getTime()))throw Yt($t.INVALID_DATE_ARGUMENT);a=t}else if(Xe(t))a=t;else throw Yt($t.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Md.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function xc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function wc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,d,u,h]=Ti(...t),f=Ie(u.missingWarn)?u.missingWarn:e.missingWarn;Ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=va(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,h).format(d);let v={},w,b=null;const y="number format";for(let x=0;x<g.length&&(w=g[x],v=n[w]||{},b=v[l],!pe(b));x++)ya(e,l,w,f,y);if(!pe(b)||!Z(w))return s?po:l;let _=`${w}__${l}`;oo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(w,He({},b,h)),a.set(_,m)),c?m.formatToParts(d):m.format(d)}const Dd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ti(...e){const[t,n,s,o]=e,r={};let i={};if(!Xe(t))throw Yt($t.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Dd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function bc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}cx();/*!
* vue-i18n v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Zx="9.14.0";function e1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ua().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fd=kx.__EXTEND_POINT__,jt=io(Fd);jt(),jt(),jt(),jt(),jt(),jt(),jt(),jt(),jt();const $d=$t.__EXTEND_POINT__,lt=io($d),xt={UNEXPECTED_RETURN_TYPE:$d,INVALID_ARGUMENT:lt(),MUST_BE_CALL_SETUP_TOP:lt(),NOT_INSTALLED:lt(),NOT_AVAILABLE_IN_LEGACY_MODE:lt(),REQUIRED_VALUE:lt(),INVALID_VALUE:lt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:lt(),NOT_INSTALLED_WITH_PROVIDE:lt(),UNEXPECTED_ERROR:lt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:lt(),BRIDGE_SUPPORT_VUE_2_ONLY:lt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:lt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:lt(),__EXTEND_POINT__:lt()};function Ot(e,...t){return ho(e,null,void 0)}const Li=xn("__translateVNode"),Ri=xn("__datetimeParts"),ki=xn("__numberParts"),t1=xn("__setPluralRules"),n1=xn("__injectWithOption"),Ai=xn("__dispose");function $r(e){if(!he(e))return e;for(const t in e)if(Ms(e,t))if(!t.includes("."))he(e[t])&&$r(e[t]);else{const n=t.split("."),s=n.length-1;let o=e,r=!1;for(let i=0;i<s;i++){if(n[i]in o||(o[n[i]]={}),!he(o[n[i]])){r=!0;break}o=o[n[i]]}r||(o[n[s]]=e[t],delete e[t]),he(o[n[s]])&&$r(o[n[s]])}return e}function Hd(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:$e(s)?{}:{[e]:{}};if($e(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:d}=a;l?(i[l]=i[l]||{},Nn(d,i[l])):Nn(d,i)}else Z(a)&&Nn(JSON.parse(a),i)}),o==null&&r)for(const a in i)Ms(i,a)&&$r(i[a]);return i}function Ud(e){return e.type}function r1(e,t,n){let s=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=Hd(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(he(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(he(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ec(e){return Ae(fn,null,e,0)}const Sc="__INTLIFY_META__",Cc=()=>[],s1=()=>!1;let Pc=0;function Tc(e){return(t,n,s,o)=>e(n,s,Dn()||void 0,o)}const o1=()=>{const e=Dn();let t=null;return e&&(t=Ud(e)[Sc])?{[Sc]:t}:null};function Bd(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Os?Ee:zn,a=!!e.translateExistCompatible;let l=Ie(e.inheritLocale)?e.inheritLocale:!0;const d=i(n&&l?n.locale.value:Z(e.locale)?e.locale:Hs),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||$e(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),h=i(Hd(d.value,e)),f=i(pe(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[d.value]:{}});let p=n?n.missingWarn:Ie(e.missingWarn)||Ns(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Ie(e.fallbackWarn)||Ns(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Ie(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,b=be(e.missing)?e.missing:null,y=be(e.missing)?Tc(e.missing):null,_=be(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const E=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||n&&n.pluralRules,P;P=(()=>{o&&pc(null);const M={version:Zx,locale:d.value,fallbackLocale:u.value,messages:h.value,modifiers:E,pluralRules:S,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:w,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:m,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};M.datetimeFormats=f.value,M.numberFormats=c.value,M.__datetimeFormatters=pe(P)?P.__datetimeFormatters:void 0,M.__numberFormatters=pe(P)?P.__numberFormatters:void 0;const H=Vx(M);return o&&pc(H),H})(),pr(P,d.value,u.value);function T(){return[d.value,u.value,h.value,f.value,c.value]}const C=ge({get:()=>d.value,set:M=>{d.value=M,P.locale=d.value}}),O=ge({get:()=>u.value,set:M=>{u.value=M,P.fallbackLocale=u.value,pr(P,d.value,M)}}),F=ge(()=>h.value),$=ge(()=>f.value),U=ge(()=>c.value);function j(){return be(_)?_:null}function Y(M){_=M,P.postTranslation=M}function se(){return b}function ue(M){M!==null&&(y=Tc(M)),b=M,P.missing=y}const ce=(M,H,re,oe,Ne,De)=>{T();let We;try{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=n?Bx():void 0),We=M(P)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=void 0)}if(re!=="translate exists"&&Xe(We)&&We===po||re==="translate exists"&&!We){const[nt,$n]=H();return n&&v?oe(n):Ne(nt)}else{if(De(We))return We;throw Ot(xt.UNEXPECTED_RETURN_TYPE)}};function ne(...M){return ce(H=>Reflect.apply(yc,null,[H,...M]),()=>Ci(...M),"translate",H=>Reflect.apply(H.t,H,[...M]),H=>H,H=>Z(H))}function Se(...M){const[H,re,oe]=M;if(oe&&!he(oe))throw Ot(xt.INVALID_ARGUMENT);return ne(H,re,He({resolvedMessage:!0},oe||{}))}function _e(...M){return ce(H=>Reflect.apply(_c,null,[H,...M]),()=>Pi(...M),"datetime format",H=>Reflect.apply(H.d,H,[...M]),()=>dc,H=>Z(H))}function Ue(...M){return ce(H=>Reflect.apply(wc,null,[H,...M]),()=>Ti(...M),"number format",H=>Reflect.apply(H.n,H,[...M]),()=>dc,H=>Z(H))}function fe(M){return M.map(H=>Z(H)||Xe(H)||Ie(H)?Ec(String(H)):H)}const q={normalize:fe,interpolate:M=>M,type:"vnode"};function z(...M){return ce(H=>{let re;const oe=H;try{oe.processor=q,re=Reflect.apply(yc,null,[oe,...M])}finally{oe.processor=null}return re},()=>Ci(...M),"translate",H=>H[Li](...M),H=>[Ec(H)],H=>$e(H))}function ee(...M){return ce(H=>Reflect.apply(wc,null,[H,...M]),()=>Ti(...M),"number format",H=>H[ki](...M),Cc,H=>Z(H)||$e(H))}function de(...M){return ce(H=>Reflect.apply(_c,null,[H,...M]),()=>Pi(...M),"datetime format",H=>H[Ri](...M),Cc,H=>Z(H)||$e(H))}function xe(M){S=M,P.pluralRules=S}function A(M,H){return ce(()=>{if(!M)return!1;const re=Z(H)?H:d.value,oe=W(re),Ne=P.messageResolver(oe,M);return a?Ne!=null:cr(Ne)||_t(Ne)||Z(Ne)},()=>[M],"translate exists",re=>Reflect.apply(re.te,re,[M,H]),s1,re=>Ie(re))}function I(M){let H=null;const re=Td(P,u.value,d.value);for(let oe=0;oe<re.length;oe++){const Ne=h.value[re[oe]]||{},De=P.messageResolver(Ne,M);if(De!=null){H=De;break}}return H}function D(M){const H=I(M);return H??(n?n.tm(M)||{}:{})}function W(M){return h.value[M]||{}}function B(M,H){if(r){const re={[M]:H};for(const oe in re)Ms(re,oe)&&$r(re[oe]);H=re[M]}h.value[M]=H,P.messages=h.value}function X(M,H){h.value[M]=h.value[M]||{};const re={[M]:H};if(r)for(const oe in re)Ms(re,oe)&&$r(re[oe]);H=re[M],Nn(H,h.value[M]),P.messages=h.value}function Q(M){return f.value[M]||{}}function R(M,H){f.value[M]=H,P.datetimeFormats=f.value,xc(P,M,H)}function k(M,H){f.value[M]=He(f.value[M]||{},H),P.datetimeFormats=f.value,xc(P,M,H)}function N(M){return c.value[M]||{}}function K(M,H){c.value[M]=H,P.numberFormats=c.value,bc(P,M,H)}function J(M,H){c.value[M]=He(c.value[M]||{},H),P.numberFormats=c.value,bc(P,M,H)}Pc++,n&&Os&&(ht(n.locale,M=>{l&&(d.value=M,P.locale=M,pr(P,d.value,u.value))}),ht(n.fallbackLocale,M=>{l&&(u.value=M,P.fallbackLocale=M,pr(P,d.value,u.value))}));const G={id:Pc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(M){l=M,M&&n&&(d.value=n.locale.value,u.value=n.fallbackLocale.value,pr(P,d.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:F,get modifiers(){return E},get pluralRules(){return S||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(M){p=M,P.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(M){g=M,P.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(M){v=M},get fallbackFormat(){return w},set fallbackFormat(M){w=M,P.fallbackFormat=w},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,P.warnHtmlMessage=M},get escapeParameter(){return x},set escapeParameter(M){x=M,P.escapeParameter=M},t:ne,getLocaleMessage:W,setLocaleMessage:B,mergeLocaleMessage:X,getPostTranslationHandler:j,setPostTranslationHandler:Y,getMissingHandler:se,setMissingHandler:ue,[t1]:xe};return G.datetimeFormats=$,G.numberFormats=U,G.rt=Se,G.te=A,G.tm=D,G.d=_e,G.n=Ue,G.getDateTimeFormat=Q,G.setDateTimeFormat=R,G.mergeDateTimeFormat=k,G.getNumberFormat=N,G.setNumberFormat=K,G.mergeNumberFormat=J,G[n1]=s,G[Li]=z,G[Ri]=de,G[ki]=ee,G}const _a={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function i1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===Ke?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function Vd(e){return Ke}const a1=ze({name:"i18n-t",props:He({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Xe(e)||!isNaN(e)}},_a),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||go({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=i1(t,r),l=o[Li](e.keypath,a,i),d=He({},s),u=Z(e.tag)||he(e.tag)?e.tag:Vd();return Ye(u,d,l)}}}),Lc=a1;function l1(e){return $e(e)&&!Z(e[0])}function jd(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:he(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,c)=>n.includes(c)?He({},f,{[c]:e.format[c]}):f,{}));const l=s(e.value,i,a);let d=[i.key];$e(l)?d=l.map((f,c)=>{const p=o[f.type],g=p?p({[f.type]:f.value,index:c,parts:l}):[f.value];return l1(g)&&(g[0].key=`${f.type}-${c}`),g}):Z(l)&&(d=[l]);const u=He({},r),h=Z(e.tag)||he(e.tag)?e.tag:Vd();return Ye(h,u,d)}}const c1=ze({name:"i18n-n",props:He({value:{type:Number,required:!0},format:{type:[String,Object]}},_a),setup(e,t){const n=e.i18n||go({useScope:e.scope,__useComponent:!0});return jd(e,t,Dd,(...s)=>n[ki](...s))}}),Rc=c1,u1=ze({name:"i18n-d",props:He({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},_a),setup(e,t){const n=e.i18n||go({useScope:e.scope,__useComponent:!0});return jd(e,t,Md,(...s)=>n[Ri](...s))}}),kc=u1;function f1(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 d1(e){const t=i=>{const{instance:a,modifiers:l,value:d}=i;if(!a||!a.$)throw Ot(xt.UNEXPECTED_ERROR);const u=f1(e,a.$),h=Ac(d);return[Reflect.apply(u.t,u,[...Ic(h)]),u]};return{created:(i,a)=>{const[l,d]=t(a);Os&&e.global===d&&(i.__i18nWatcher=ht(d.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=d,i.textContent=l},unmounted:i=>{Os&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,d=Ac(a);i.textContent=Reflect.apply(l.t,l,[...Ic(d)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Ac(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Ot(xt.REQUIRED_VALUE,"path");return e}else throw Ot(xt.INVALID_VALUE)}function Ic(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Z(n)&&(i.locale=n),Xe(o)&&(i.plural=o),Xe(r)&&(i.plural=r),[t,a,i]}function h1(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Ie(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":Lc.name,"I18nT"].forEach(i=>e.component(i,Lc)),[Rc.name,"I18nN"].forEach(i=>e.component(i,Rc)),[kc.name,"I18nD"].forEach(i=>e.component(i,kc))),e.directive("t",d1(t))}const p1=xn("global-vue-i18n");function g1(e={},t){const n=Ie(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=m1(e),a=xn("");function l(h){return o.get(h)||null}function d(h,f){o.set(h,f)}function u(h){o.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return s},async install(f,...c){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,h),pe(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=S1(f,h.global)),h1(f,h,...c);const g=f.unmount;f.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:d,__deleteInstance:u};return h}}function go(e={}){const t=Dn();if(t==null)throw Ot(xt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ot(xt.NOT_INSTALLED);const n=v1(t),s=_1(n),o=Ud(t),r=y1(e,o);if(r==="global")return r1(s,e,o),s;if(r==="parent"){let l=x1(n,t,e.__useComponent);return l==null&&(l=s),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=He({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),a=Bd(l),i.__composerExtend&&(a[Ai]=i.__composerExtend(a)),b1(i,t,a),i.__setInstance(t,a)}return a}function m1(e,t,n){const s=Fi();{const o=s.run(()=>Bd(e));if(o==null)throw Ot(xt.UNEXPECTED_ERROR);return[s,o]}}function v1(e){{const t=et(e.isCE?p1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ot(e.isCE?xt.NOT_INSTALLED_WITH_PROVIDE:xt.UNEXPECTED_ERROR);return t}}function y1(e,t){return oo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _1(e){return e.mode==="composition"?e.global:e.global.__composer}function x1(e,t,n=!1){let s=null;const o=t.root;let r=w1(t,n);for(;r!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(r)),s!=null||o===r)break;r=r.parent}return s}function w1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function b1(e,t,n){wt(()=>{},t),Yi(()=>{const s=n;e.__deleteInstance(t);const o=s[Ai];o&&(o(),delete s[Ai])},t)}const E1=["locale","fallbackLocale","availableLocales"],Oc=["t","rt","d","n","tm","te"];function S1(e,t){const n=Object.create(null);return E1.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Ot(xt.UNEXPECTED_ERROR);const i=Me(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Oc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Ot(xt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Oc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}e1();Dx(Yx);Fx(vx);$x(Td);if(__INTLIFY_PROD_DEVTOOLS__){const e=ua();e.__INTLIFY__=!0,Px(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function C1(){return ft(co)}function P1(){return ft(ar)}const T1=Nt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=P1(),n=new RegExp([`<!--${Ql}-\\[(\\w+)\\]-->`,".+?",`<!--/${Ql}-->`].join(""),"g");e.hook("app:rendered",s=>{var o;((o=s.renderResult)==null?void 0:o.html)!=null&&(s.renderResult.html=s.renderResult.html.replaceAll(n,(r,i)=>r.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}});function L1(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=Fi(),a=e.install;return e.install=(l,...d)=>{const u=A1(d[0])?He({},d[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=or(e);g.locales=ge(()=>v.locales.value),g.localeCodes=ge(()=>v.localeCodes.value),g.baseUrl=ge(()=>v.baseUrl.value);let w;return be(h)&&(w=Reflect.apply(h,u,[g])),()=>{w&&w()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{Nc(v,o.onExtendVueI18n);let w;return be(g)&&(w=Reflect.apply(g,u,[v])),()=>{w&&w()}}}d[0]=u,Reflect.apply(a,e,[l,...d]);const f=or(e);i.run(()=>{R1(f,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&ld(e.global)&&Nc(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&k1(p,f,o.onExtendExportedGlobal),u.inject){const g=ga(e);l.mixin({methods:{getRouteBaseName:ft(ir,g),resolveRoute:ft(uo,g),localePath:ft(co,g),localeRoute:ft(ha,g),localeLocation:ft(m_,g),switchLocalePath:ft(ar,g),localeHead:ft(hd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function R1(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=Ee(n),a=Ee(s),l=Ee("");e.locales=ge(()=>i.value),e.localeCodes=ge(()=>a.value),e.baseUrl=ge(()=>l.value),J0?ht(e.locale,()=>{l.value=Zl(o,r)},{immediate:!0}):l.value=Zl(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Wd(e,t,n){const s=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&s.push(n(e));for(const o of s)for(const[r,i]of Object.entries(o))Object.defineProperty(t,r,i)}function k1(e,t,n){Wd(t,e,n)}function Nc(e,t){const n=or(e);Wd(n,e,t)}function A1(e){return he(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const I1=Nt({name:"i18n:plugin",parallel:G0,async setup(e){let t,n;const s=Zs(),{vueApp:o}=e,r=e,i=fo(),{configLocales:a,defaultLocale:l,multiDomainLocales:d,strategy:u}=r.$config.public.i18n,h=a.some(T=>typeof T!="string"&&Array.isArray(T.defaultForDomains));let f;if(l)f=l;else if(h){const T=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));f=(T==null?void 0:T.code)??""}else f="";if(d&&(u==="prefix_except_default"||u==="prefix_and_default")){const T=Qe();T.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==f)T.removeRoute(C.name);else{const $=C.name.toString().replace("___default","");C.name=$}})}const c={...r.$config.public.i18n,defaultLocale:f};c.baseUrl=O_();const p=Yr(),g=([t,n]=Tt(()=>a_(K0,me())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=md(),w=T=>T||g.locale||"en-US",b=M_();let y=nc(s,v,w(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:Fo(b,p,c.defaultLocale)},c);g.messages=([t,n]=Tt(()=>l_(g.messages,Ds,{localeCodes:sr,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=w(y);const _=g1({...g,locale:y});let m=!0;const x=T=>y!==T&&m;let E=!0;const S=()=>E;if(S()&&c.strategy==="no_prefix"){const T=b.value;e.hook("app:mounted",()=>{const C=bd(s,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:T},y);S_(_,C.locale),E=!1})}L1(_,{locales:c.configLocales,localeCodes:sr,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(T){T.strategy=c.strategy,T.localeProperties=ge(()=>ao.find(C=>C.code===T.locale.value)||{code:T.locale.value}),T.setLocale=async C=>{const O=x(C);await tc(C,_,c,O)&&O&&(m=!1);const $=await r.runWithContext(()=>rc({route:{to:s},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await sc({nuxtApp:r,i18n:_,redirectPath:$,locale:C,route:s},{enableNavigate:!0}))},T.loadLocaleMessages=async C=>{await Fs(C,Ds,(F,$)=>vd(_,F,$))},T.differentDomains=c.differentDomains,T.defaultLocale=c.defaultLocale,T.getBrowserLocale=()=>xd(),T.getLocaleCookie=()=>Fo(b,p,c.defaultLocale),T.setLocaleCookie=C=>D_(b,C,p),T.onBeforeLanguageSwitch=(C,O,F,$)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:C,newLocale:O,initialSetup:F,context:$}),T.onLanguageSwitched=(C,O)=>e.callHook("i18n:localeSwitched",{oldLocale:C,newLocale:O}),T.finalizePendingLocaleChange=async()=>{_.__pendingLocale&&(cd(_,_.__pendingLocale),_.__resolvePendingLocalePromise&&await _.__resolvePendingLocalePromise(),_.__pendingLocale=void 0)},T.waitForPendingLocaleChange=async()=>{_.__pendingLocale&&_.__pendingLocalePromise&&await _.__pendingLocalePromise}},onExtendExportedGlobal(T){return{strategy:{get(){return T.strategy}},localeProperties:{get(){return T.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(T.setLocale,T,[C])}},differentDomains:{get(){return T.differentDomains}},defaultLocale:{get(){return T.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(T.getBrowserLocale,T,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(T.getLocaleCookie,T,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(T.setLocaleCookie,T,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,$)=>Reflect.apply(T.onBeforeLanguageSwitch,T,[C,O,F,$])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(T.onLanguageSwitched,T,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])}}}},onExtendVueI18n(T){return{strategy:{get(){return T.strategy}},localeProperties:{get(){return T.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(T.setLocale,T,[C])}},loadLocaleMessages:{get(){return async C=>Reflect.apply(T.loadLocaleMessages,T,[C])}},differentDomains:{get(){return T.differentDomains}},defaultLocale:{get(){return T.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(T.getBrowserLocale,T,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(T.getLocaleCookie,T,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(T.setLocaleCookie,T,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,$)=>Reflect.apply(T.onBeforeLanguageSwitch,T,[C,O,F,$])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(T.onLanguageSwitched,T,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])}}}}}});const P={__composerExtend:T=>{const C=or(_);return T.strategy=C.strategy,T.localeProperties=ge(()=>C.localeProperties.value),T.setLocale=C.setLocale,T.differentDomains=C.differentDomains,T.getBrowserLocale=C.getBrowserLocale,T.getLocaleCookie=C.getLocaleCookie,T.setLocaleCookie=C.setLocaleCookie,T.onBeforeLanguageSwitch=C.onBeforeLanguageSwitch,T.onLanguageSwitched=C.onLanguageSwitched,T.finalizePendingLocaleChange=C.finalizePendingLocaleChange,T.waitForPendingLocaleChange=C.waitForPendingLocaleChange,()=>{}}};o.use(_,P),k_(r,_);let L=0;rv("locale-changing",async(T,C)=>{let O,F;const $=nc(T,v,()=>lo(_)||w(c.defaultLocale),{ssg:S()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:Fo(b,p,c.defaultLocale)},c),U=x($);([O,F]=Tt(()=>tc($,_,c,U)),O=await O,F(),O)&&U&&(m=!1);const Y=([O,F]=Tt(()=>r.runWithContext(()=>rc({route:{to:T,from:C},targetLocale:$,routeLocaleGetter:c.strategy==="no_prefix"?()=>$:v,calledWithRouting:!0}))),O=await O,F(),O);return L++,[O,F]=Tt(()=>r.runWithContext(async()=>sc({nuxtApp:r,i18n:_,redirectPath:Y,locale:$,route:T}))),O=await O,F(),O},{global:!0})}}),O1=[sy,iy,E0,C0,P0,T0,R0,k0,A0,T1,I1],N1=ze({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,s={};for(const o in e.route)Object.defineProperty(s,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return un(Gr,Xt(s)),()=>Ye(e.vnode,{ref:e.vnodeRef})}}),M1=ze({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:s}){const o=me(),r=Ee(),i=et(Gr,null);let a;s({pageRef:r});const l=et(Af,null);let d;const u=o.deferHydration();if(o.isHydrating){const h=o.hooks.hookOnce("app:error",u);Qe().beforeEach(h)}return e.pageKey&&ht(()=>e.pageKey,(h,f)=>{h!==f&&o.callHook("page:loading:start")}),()=>Ye(rd,{name:e.name,route:e.route,...t},{default:h=>{const f=F1(i,h.route,h.Component),c=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(d&&!c)return d;u();return}if(d&&l&&!l.isCurrent(h.route))return d;if(f&&i&&(!l||l!=null&&l.isCurrent(i)))return c?d:null;const p=wi(h,e.pageKey);!o.isHydrating&&!$1(i,h.route,h.Component)&&a===p&&o.callHook("page:loading:end"),a=p;const g=!!(e.transition??h.route.meta.pageTransition??li),v=g&&D1([e.transition,h.route.meta.pageTransition,li,{onAfterLeave:()=>{o.callHook("page:transition:finish",h.Component)}}].filter(Boolean)),w=e.keepalive??h.route.meta.keepalive??Im;return d=sd(uf,g&&v,d0(w,Ye(Zi,{suspensible:!0,onPending:()=>o.callHook("page:start",h.Component),onResolve:()=>{yn(()=>o.callHook("page:finish",h.Component).then(()=>o.callHook("page:loading:end")).finally(u))}},{default:()=>{const b=Ye(N1,{key:p||void 0,vnode:n.default?Ye(Ke,void 0,n.default(h)):h.Component,route:h.route,renderKey:p||void 0,trackRootNodes:g,vnodeRef:r});return w&&(b.type.name=h.Component.type.name||h.Component.type.__name||"RouteProvider"),b}}))).default(),d}})}});function D1(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?ca(n.onAfterLeave):void 0}));return Rf(...t)}function F1(e,t,n){if(!e)return!1;const s=t.matched.findIndex(o=>{var r;return((r=o.components)==null?void 0:r.default)===(n==null?void 0:n.type)});return!s||s===-1?!1:t.matched.slice(0,s).some((o,r)=>{var i,a,l;return((i=o.components)==null?void 0:i.default)!==((l=(a=e.matched[r])==null?void 0:a.components)==null?void 0:l.default)})||n&&wi({route:t,Component:n})!==wi({route:e,Component:n})}function $1(e,t,n){return e?t.matched.findIndex(o=>{var r;return((r=o.components)==null?void 0:r.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const H1=ze({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await ln[e.name]().then(s=>s.default||s);return()=>Ye(n,e.layoutProps,t.slots)}}),U1=ze({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=me(),s=et(Gr),o=s===Zs()?u0():s,r=ge(()=>{let l=te(e.name)??o.meta.layout??"default";return l&&!(l in ln)&&e.fallback&&(l=te(e.fallback)),l}),i=Ee();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Qe().beforeEach(l)}return()=>{const l=r.value&&r.value in ln,d=o.meta.layoutTransition??Am;return sd(uf,l&&d,{default:()=>Ye(Zi,{suspensible:!0,onResolve:()=>{yn(a)}},{default:()=>Ye(B1,{layoutProps:rf(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!d},t.slots)})}).default()}}}),B1=ze({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&un(Af,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in ln)?(o=(s=t.slots).default)==null?void 0:o.call(s):Ye(H1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),V1=Symbol.for("nuxt:client-only"),mo=ze({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Ee(!1);return wt(()=>{s.value=!0}),un(V1,!0),o=>{var l;if(s.value)return(l=t.default)==null?void 0:l.call(t);const r=t.fallback||t.placeholder;if(r)return r();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return at(a,n,i)}}});function Mc(){return localStorage.getItem("cookie")==null}function j1(){localStorage.setItem("cookie","accept")}function W1(){localStorage.setItem("cookie","refuse")}const Kd=["cookie","future","change-something","picture-bright","picture-nolights"];function K1(e){if(!Kd.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 xa(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Dc(){return xa().length}function G1(){return Kd.length}function lb(e){return e[Math.floor(Math.random()*e.length)]}function Gd(e,t){return Math.random()*(t-e)+e}function X1(e,t){return Math.floor(Gd(e,t))}var Uo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xd={exports:{}};/*!
* matter-js 0.19.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,o){e.exports=o()})(Uo,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(d){return r[d]}).bind(null,l));return a},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,a){var l,d;typeof a=="boolean"?(l=2,d=a):(l=1,d=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var f in h)d&&h[f]&&h[f].constructor===Object&&(!i[f]||i[f].constructor===Object)?(i[f]=i[f]||{},o.extend(i[f],d,h[f])):i[f]=h[f]}return i},o.clone=function(i,a){return o.extend({},a,i)},o.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},o.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),d=0;d<l.length;d++)a.push(i[l[d]]);return a}for(var u in i)a.push(i[u]);return a},o.get=function(i,a,l,d){a=a.split(".").slice(l,d);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},o.set=function(i,a,l,d,u){var h=a.split(".").slice(d,u);return o.get(i,a,0,-1)[h[h.length-1]]=l,l},o.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(o.random()*(a+1)),d=i[a];i[a]=i[l],i[l]=d}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,a,l){return i<a?a:i>l?l:i},o.sign=function(i){return i<0?-1:1},o.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-o._nowStartTime},o.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;l<i.length;l++)if(i[l]===a)return l;return-1},o.map=function(i,a){if(i.map)return i.map(a);for(var l=[],d=0;d<i.length;d+=1)l.push(a(i[d]));return l},o.topologicalSort=function(i){var a=[],l=[],d=[];for(var u in i)!l[u]&&!d[u]&&o._topologicalSort(u,l,d,i,a);return a},o._topologicalSort=function(i,a,l,d,u){var h=d[i]||[];l[i]=!0;for(var f=0;f<h.length;f+=1){var c=h[f];l[c]||a[c]||o._topologicalSort(c,a,l,d,u)}l[i]=!1,a[i]=!0,u.push(i)},o.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}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<i.length;f+=1){var p=i[f].apply(u,h);typeof p<"u"&&(u=p)}return u};return d._chained=i,d},o.chainPathBefore=function(i,a,l){return o.set(i,a,o.chain(l,o.get(i,a)))},o.chainPathAfter=function(i,a,l){return o.set(i,a,o.chain(o.get(i,a),l))},o.setDecomp=function(i){o._decomp=i},o.getDecomp=function(){var i=o._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof Uo<"u"&&(i=Uo.decomp)}catch{i=null}return i}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&o.update(i,r),i},o.update=function(r,i,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var d=i[l];d.x>r.max.x&&(r.max.x=d.x),d.x<r.min.x&&(r.min.x=d.x),d.y>r.max.y&&(r.max.y=d.y),d.y<r.min.y&&(r.min.y=d.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},o.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},o.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,a){var l=Math.cos(i),d=Math.sin(i);a||(a={});var u=r.x*l-r.y*d;return a.y=r.x*d+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var d=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*d-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*d),l.x=h,l},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.create=function(l,d){for(var u=[],h=0;h<l.length;h++){var f=l[h],c={x:f.x,y:f.y,index:h,body:d,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,d){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(f,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,d)},r.centre=function(l){for(var d=r.area(l,!0),u={x:0,y:0},h,f,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),f=i.mult(i.add(l[p],l[c]),h),u=i.add(u,f);return i.div(u,6*d)},r.mean=function(l){for(var d={x:0,y:0},u=0;u<l.length;u++)d.x+=l[u].x,d.y+=l[u].y;return i.div(d,l.length)},r.area=function(l,d){for(var u=0,h=l.length-1,f=0;f<l.length;f++)u+=(l[h].x-l[f].x)*(l[h].y+l[f].y),h=f;return d?u/2:Math.abs(u)/2},r.inertia=function(l,d){for(var u=0,h=0,f=l,c,p,g=0;g<f.length;g++)p=(g+1)%f.length,c=Math.abs(i.cross(f[p],f[g])),u+=c*(i.dot(f[p],f[p])+i.dot(f[p],f[g])+i.dot(f[g],f[g])),h+=c;return d/6*(u/h)},r.translate=function(l,d,u){u=typeof u<"u"?u:1;var h=l.length,f=d.x*u,c=d.y*u,p;for(p=0;p<h;p++)l[p].x+=f,l[p].y+=c;return l},r.rotate=function(l,d,u){if(d!==0){var h=Math.cos(d),f=Math.sin(d),c=u.x,p=u.y,g=l.length,v,w,b,y;for(y=0;y<g;y++)v=l[y],w=v.x-c,b=v.y-p,v.x=c+(w*h-b*f),v.y=p+(w*f+b*h);return l}},r.contains=function(l,d){for(var u=d.x,h=d.y,f=l.length,c=l[f-1],p,g=0;g<f;g++){if(p=l[g],(u-c.x)*(p.y-c.y)+(h-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,d,u,h){if(d===1&&u===1)return l;h=h||r.centre(l);for(var f,c,p=0;p<l.length;p++)f=l[p],c=i.sub(f,h),l[p].x=h.x+c.x*d,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,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=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],w=l[(p+1)%l.length],b=d[p<d.length?p:d.length-1];if(b===0){c.push(v);continue}var y=i.normalise({x:v.y-g.y,y:g.x-v.x}),_=i.normalise({x:w.y-v.y,y:v.x-w.x}),m=Math.sqrt(2*Math.pow(b,2)),x=i.mult(a.clone(y),b),E=i.normalise(i.mult(i.add(y,_),.5)),S=i.sub(v,i.mult(E,m)),P=u;u===-1&&(P=Math.pow(b,.32)*1.75),P=a.clamp(P,h,f),P%2===1&&(P+=1);for(var L=Math.acos(i.dot(y,_)),T=L/P,C=0;C<P;C++)c.push(i.add(i.rotate(x,T*C),S))}return c},r.clockwiseSort=function(l){var d=r.mean(l);return l.sort(function(u,h){return i.angle(d,u)-i.angle(d,h)}),l},r.isConvex=function(l){var d=0,u=l.length,h,f,c,p;if(u<3)return null;for(h=0;h<u;h++)if(f=(h+1)%u,c=(h+2)%u,p=(l[f].x-l[h].x)*(l[c].y-l[f].y),p-=(l[f].y-l[h].y)*(l[c].x-l[f].x),p<0?d|=1:p>0&&(d|=2),d===3)return!1;return d!==0?!0:null},r.hull=function(l){var d=[],u=[],h,f;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),f=0;f<l.length;f+=1){for(h=l[f];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(f=l.length-1;f>=0;f-=1){for(h=l[f];d.length>=2&&i.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,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),d=o(0),u=o(1),h=o(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:d.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.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,deltaTime:16.666666666666668,_original:null},g=d.extend(p,c);return f(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var f=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.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}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":d.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",w=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||w,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)};r.set=function(c,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g<c.parts.length;g++){var v=c.parts[g];v.isStatic=p,p?(v._original={restitution:v.restitution,friction:v.friction,mass:v.mass,inertia:v.inertia,density:v.density,inverseMass:v.inverseMass,inverseInertia:v.inverseInertia},v.restitution=0,v.friction=1,v.mass=v.inertia=v.density=1/0,v.inverseMass=v.inverseInertia=0,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.anglePrev=v.angle,v.angularVelocity=0,v.speed=0,v.angularSpeed=0,v.motion=0):v._original&&(v.restitution=v._original.restitution,v.friction=v._original.friction,v.mass=v._original.mass,v.inertia=v._original.inertia,v.density=v._original.density,v.inverseMass=v._original.inverseMass,v.inverseInertia=v._original.inverseInertia,v._original=null)}},r.setMass=function(c,p){var g=c.inertia/(c.mass/6);c.inertia=g*(p/6),c.inverseInertia=1/c.inertia,c.mass=p,c.inverseMass=1/c.mass,c.density=c.mass/c.area},r.setDensity=function(c,p){r.setMass(c,p*c.area),c.density=p},r.setInertia=function(c,p){c.inertia=p,c.inverseInertia=1/c.inertia},r.setVertices=function(c,p){p[0].body===c?c.vertices=p:c.vertices=i.create(p,c),c.axes=h.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var g=i.centre(c.vertices);i.translate(c.vertices,g,-1),r.setInertia(c,r._inertiaScale*i.inertia(c.vertices,c.mass)),i.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},r.setParts=function(c,p,g){var v;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<p.length;v++){var w=p[v];w!==c&&(w.parent=c,c.parts.push(w))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var b=[];for(v=0;v<p.length;v++)b=b.concat(p[v].vertices);i.clockwiseSort(b);var y=i.hull(b),_=i.centre(y);r.setVertices(c,y),i.translate(c.vertices,_)}var m=r._totalProperties(c);c.area=m.area,c.parent=c,c.position.x=m.centre.x,c.position.y=m.centre.y,c.positionPrev.x=m.centre.x,c.positionPrev.y=m.centre.y,r.setMass(c,m.mass),r.setInertia(c,m.inertia),r.setPosition(c,m.centre)}},r.setCentre=function(c,p,g){g?(c.positionPrev.x+=p.x,c.positionPrev.y+=p.y,c.position.x+=p.x,c.position.y+=p.y):(c.positionPrev.x=p.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=p.y-(c.position.y-c.positionPrev.y),c.position.x=p.x,c.position.y=p.y)},r.setPosition=function(c,p,g){var v=a.sub(p,c.position);g?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=v.x,c.velocity.y=v.y,c.speed=a.magnitude(v)):(c.positionPrev.x+=v.x,c.positionPrev.y+=v.y);for(var w=0;w<c.parts.length;w++){var b=c.parts[w];b.position.x+=v.x,b.position.y+=v.y,i.translate(b.vertices,v),u.update(b.bounds,b.vertices,c.velocity)}},r.setAngle=function(c,p,g){var v=p-c.angle;g?(c.anglePrev=c.angle,c.angularVelocity=v,c.angularSpeed=Math.abs(v)):c.anglePrev+=v;for(var w=0;w<c.parts.length;w++){var b=c.parts[w];b.angle+=v,i.rotate(b.vertices,v,c.position),h.rotate(b.axes,v),u.update(b.bounds,b.vertices,c.velocity),w>0&&a.rotateAbout(b.position,v,c.position,b.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,d.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var w=Math.cos(p),b=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*w-_*b),y:g.y+(y*b+_*w)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var w=0,b=0;v=v||c.position;for(var y=0;y<c.parts.length;y++){var _=c.parts[y];i.scale(_.vertices,p,g,v),_.axes=h.fromVertices(_.vertices),_.area=i.area(_.vertices),r.setMass(_,c.density*_.area),i.translate(_.vertices,{x:-_.position.x,y:-_.position.y}),r.setInertia(_,r._inertiaScale*i.inertia(_.vertices,_.mass)),i.translate(_.vertices,{x:_.position.x,y:_.position.y}),y>0&&(w+=_.area,b+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=w,c.isStatic||(r.setMass(c,c.density*w),r.setInertia(c,b))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,w=1-c.frictionAir*(p/d._baseDelta),b=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=b*w+c.force.x/c.mass*g,c.velocity.y=y*w+c.force.y/c.mass*g,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.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*w*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_<c.parts.length;_++){var m=c.parts[_];i.translate(m.vertices,c.velocity),_>0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g<c.parts.length;g++){var v=c.parts[g],w=v.mass!==1/0?v.mass:1;p.mass+=w,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,w))}return p.centre=a.div(p.centre,p.mass),p}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.on=function(a,l,d){for(var u=l.split(" "),h,f=0;f<u.length;f++)h=u[f],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(d);return d},r.off=function(a,l,d){if(!l){a.events={};return}typeof l=="function"&&(d=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var f=a.events[u[h]],c=[];if(d&&f)for(var p=0;p<f.length;p++)f[p]!==d&&c.push(f[p]);a.events[u[h]]=c}},r.trigger=function(a,l,d){var u,h,f,c,p=a.events;if(p&&i.keys(p).length>0){d||(d={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],f=p[h],f){c=i.clone(d,!1),c.name=h,c.source=a;for(var v=0;v<f.length;v++)f[v].apply(a,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(0),l=o(1),d=o(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.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&&r.setModified(u.parent,h,f,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,f,c)}},r.add=function(u,h){var f=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<f.length;c++){var p=f[c];switch(p.type){case"body":if(p.parent!==p){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,p);break;case"constraint":r.addConstraint(u,p);break;case"composite":r.addComposite(u,p);break;case"mouseConstraint":r.addConstraint(u,p.constraint);break}}return i.trigger(u,"afterAdd",{object:h}),u},r.remove=function(u,h,f){var c=[].concat(h);i.trigger(u,"beforeRemove",{object:h});for(var p=0;p<c.length;p++){var g=c[p];switch(g.type){case"body":r.removeBody(u,g,f);break;case"constraint":r.removeConstraint(u,g,f);break;case"composite":r.removeComposite(u,g,f);break;case"mouseConstraint":r.removeConstraint(u,g.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,f){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),f)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,f){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),f)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,f){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),f)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],h,!0);return u},r.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,h,f){if(f)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(p){return p.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,r.setModified(u,!0,!0,!1),u},r.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(r.allBodies(u.composites[f]));return u.cache&&(u.cache.allBodies=h),h},r.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(r.allConstraints(u.composites[f]));return u.cache&&(u.cache.allConstraints=h),h},r.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(r.allComposites(u.composites[f]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,f){var c,p;switch(f){case"body":c=r.allBodies(u);break;case"constraint":c=r.allConstraints(u);break;case"composite":c=r.allComposites(u).concat(u);break}return c?(p=c.filter(function(g){return g.id.toString()===h.toString()}),p.length===0?null:p[0]):null},r.move=function(u,h,f){return r.remove(u,h),r.add(f,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),f=0;f<h.length;f++)h[f].id=a.nextId();return u},r.translate=function(u,h,f){for(var c=f?r.allBodies(u):u.bodies,p=0;p<c.length;p++)d.translate(c[p],h);return u},r.rotate=function(u,h,f,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,w=0;w<v.length;w++){var b=v[w],y=b.position.x-f.x,_=b.position.y-f.y;d.setPosition(b,{x:f.x+(y*p-_*g),y:f.y+(y*g+_*p)}),d.rotate(b,h)}return u},r.scale=function(u,h,f,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var w=g[v],b=w.position.x-c.x,y=w.position.y-c.y;d.setPosition(w,{x:c.x+b*h,y:c.y+y*f}),d.scale(w,h,f)}return u},r.bounds=function(u){for(var h=r.allBodies(u),f=[],c=0;c<h.length;c+=1){var p=h[c];f.push(p.bounds.min,p.bounds.max)}return l.create(f)}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(5),l=o(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(d,u){for(var h=u/l._baseDelta,f=r._motionSleepThreshold,c=0;c<d.length;c++){var p=d[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),w=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var b=Math.min(p.motion,w),y=Math.max(p.motion,w);p.motion=r._minBias*b+(1-r._minBias)*y,p.sleepThreshold>0&&p.motion<f?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(d){for(var u=r._motionSleepThreshold,h=0;h<d.length;h++){var f=d[h];if(f.isActive){var c=f.collision,p=c.bodyA.parent,g=c.bodyB.parent;if(!(p.isSleeping&&g.isSleeping||p.isStatic||g.isStatic)&&(p.isSleeping||g.isSleeping)){var v=p.isSleeping&&!p.isStatic?p:g,w=v===p?g:p;!v.isStatic&&w.motion>u&&r.set(v,!1)}}}},r.set=function(d,u){var h=d.isSleeping;u?(d.isSleeping=!0,d.sleepCounter=d.sleepThreshold,d.positionImpulse.x=0,d.positionImpulse.y=0,d.positionPrev.x=d.position.x,d.positionPrev.y=d.position.y,d.anglePrev=d.angle,d.speed=0,d.angularSpeed=0,d.motion=0,h||a.trigger(d,"sleepStart")):(d.isSleeping=!1,d.sleepCounter=0,h&&a.trigger(d,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],d={overlap:0,axis:null},u={overlap:0,axis:null};r.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:[]}},r.collides=function(h,f,c){if(r._overlapAxes(d,h.vertices,f.vertices,h.axes),d.overlap<=0||(r._overlapAxes(u,f.vertices,h.vertices,f.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,f)],g;p?g=p.collision:(g=r.create(h,f),g.collided=!0,g.bodyA=h.id<f.id?h:f,g.bodyB=h.id<f.id?f:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,f=g.bodyB;var v;d.overlap<u.overlap?v=d:v=u;var w=g.normal,b=g.supports,y=v.axis,_=y.x,m=y.y;_*(f.position.x-h.position.x)+m*(f.position.y-h.position.y)<0?(w.x=_,w.y=m):(w.x=-_,w.y=-m),g.tangent.x=-w.y,g.tangent.y=w.x,g.depth=v.overlap,g.penetration.x=w.x*g.depth,g.penetration.y=w.y*g.depth;var x=r._findSupports(h,f,w,1),E=0;if(i.contains(h.vertices,x[0])&&(b[E++]=x[0]),i.contains(h.vertices,x[1])&&(b[E++]=x[1]),E<2){var S=r._findSupports(f,h,w,-1);i.contains(f.vertices,S[0])&&(b[E++]=S[0]),E<2&&i.contains(f.vertices,S[1])&&(b[E++]=S[1])}return E===0&&(b[E++]=x[0]),b.length=E,g},r._overlapAxes=function(h,f,c,p){var g=f.length,v=c.length,w=f[0].x,b=f[0].y,y=c[0].x,_=c[0].y,m=p.length,x=Number.MAX_VALUE,E=0,S,P,L,T,C,O;for(C=0;C<m;C++){var F=p[C],$=F.x,U=F.y,j=w*$+b*U,Y=y*$+_*U,se=j,ue=Y;for(O=1;O<g;O+=1)T=f[O].x*$+f[O].y*U,T>se?se=T:T<j&&(j=T);for(O=1;O<v;O+=1)T=c[O].x*$+c[O].y*U,T>ue?ue=T:T<Y&&(Y=T);if(P=se-Y,L=ue-j,S=P<L?P:L,S<x&&(x=S,E=C,S<=0))break}h.axis=p[E],h.overlap=x},r._projectToAxis=function(h,f,c){for(var p=f[0].x*c.x+f[0].y*c.y,g=p,v=1;v<f.length;v+=1){var w=f[v].x*c.x+f[v].y*c.y;w>g?g=w:w<p&&(p=w)}h.min=p,h.max=g},r._findSupports=function(h,f,c,p){var g=f.vertices,v=g.length,w=h.position.x,b=h.position.y,y=c.x*p,_=c.y*p,m=Number.MAX_VALUE,x,E,S,P,L;for(L=0;L<v;L+=1)E=g[L],P=y*(w-E.x)+_*(b-E.y),P<m&&(m=P,x=E);return S=g[(v+x.index-1)%v],m=y*(w-S.x)+_*(b-S.y),E=g[(x.index+1)%v],y*(w-E.x)+_*(b-E.y)<m?(l[0]=x,l[1]=E,l):(l[0]=x,l[1]=S,l)}})()},function(n,s,o){var r={};n.exports=r;var i=o(16);(function(){r.create=function(a,l){var d=a.bodyA,u=a.bodyB,h={id:r.id(d,u),bodyA:d,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:d.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,a,l),h},r.update=function(a,l,d){var u=a.contacts,h=l.supports,f=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=d,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+p.inverseMass,a.friction=c.friction<p.friction?c.friction:p.friction,a.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,f.length=0;for(var v=0;v<h.length;v++){var w=h[v],b=w.body===c?w.index:g+w.index,y=u[b];y?f.push(y):f.push(u[b]=i.create(w))}},r.setActive=function(a,l,d){l?(a.isActive=!0,a.timeUpdated=d):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),d=o(1),u=o(11),h=o(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.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 p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,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 w={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(w.type="pin",w.anchors=!1):c.stiffness<.9&&(w.type="spring"),c.render=h.extend(w,c.render),c},r.preSolveAll=function(f){for(var c=0;c<f.length;c+=1){var p=f[c],g=p.constraintImpulse;p.isStatic||g.x===0&&g.y===0&&g.angle===0||(p.position.x+=g.x,p.position.y+=g.y,p.angle+=g.angle)}},r.solveAll=function(f,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<f.length;g+=1){var v=f[g],w=!v.bodyA||v.bodyA&&v.bodyA.isStatic,b=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(w||b)&&r.solve(f[g],p)}for(g=0;g<f.length;g+=1)v=f[g],w=!v.bodyA||v.bodyA&&v.bodyA.isStatic,b=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!w&&!b&&r.solve(f[g],p)},r.solve=function(f,c){var p=f.bodyA,g=f.bodyB,v=f.pointA,w=f.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(a.rotate(v,p.angle-f.angleA,v),f.angleA=p.angle),g&&!g.isStatic&&(a.rotate(w,g.angle-f.angleB,w),f.angleB=g.angle);var b=v,y=w;if(p&&(b=a.add(p.position,v)),g&&(y=a.add(g.position,w)),!(!b||!y)){var _=a.sub(b,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-f.length)/m,E=f.stiffness>=1||f.length===0,S=E?f.stiffness*c:f.stiffness*c*c,P=f.damping*c,L=a.mult(_,x*S),T=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=T+C,F,$,U,j,Y;if(P>0){var se=a.create();U=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||se,p&&a.sub(p.position,p.positionPrev)||se),j=a.dot(U,Y)}p&&!p.isStatic&&($=p.inverseMass/T,p.constraintImpulse.x-=L.x*$,p.constraintImpulse.y-=L.y*$,p.position.x-=L.x*$,p.position.y-=L.y*$,P>0&&(p.positionPrev.x-=P*U.x*j*$,p.positionPrev.y-=P*U.y*j*$),F=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-f.angularStiffness),p.constraintImpulse.angle-=F,p.angle-=F),g&&!g.isStatic&&($=g.inverseMass/T,g.constraintImpulse.x+=L.x*$,g.constraintImpulse.y+=L.y*$,g.position.x+=L.x*$,g.position.y+=L.y*$,P>0&&(g.positionPrev.x+=P*U.x*j*$,g.positionPrev.y+=P*U.y*j*$),F=a.cross(w,L)/O*r._torqueDampen*g.inverseInertia*(1-f.angularStiffness),g.constraintImpulse.angle+=F,g.angle+=F)}}},r.postSolveAll=function(f){for(var c=0;c<f.length;c++){var p=f[c],g=p.constraintImpulse;if(!(p.isStatic||g.x===0&&g.y===0&&g.angle===0)){l.set(p,!1);for(var v=0;v<p.parts.length;v++){var w=p.parts[v];i.translate(w.vertices,g),v>0&&(w.position.x+=g.x,w.position.y+=g.y),g.angle!==0&&(i.rotate(w.vertices,g.angle,p.position),u.rotate(w.axes,g.angle),v>0&&a.rotateAbout(w.position,g.angle,p.position,w.position)),d.update(w.bounds,w.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(f){return{x:(f.bodyA?f.bodyA.position.x:0)+(f.pointA?f.pointA.x:0),y:(f.bodyA?f.bodyA.position.y:0)+(f.pointA?f.pointA.y:0)}},r.pointBWorld=function(f){return{x:(f.bodyB?f.bodyB.position.x:0)+(f.pointB?f.pointB.x:0),y:(f.bodyB?f.bodyB.position.y:0)+(f.pointB?f.pointB.y:0)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.fromVertices=function(l){for(var d={},u=0;u<l.length;u++){var h=(u+1)%l.length,f=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=f.y===0?1/0:f.x/f.y;c=c.toFixed(3).toString(),d[c]=f}return a.values(d)},r.rotate=function(l,d){if(d!==0)for(var u=Math.cos(d),h=Math.sin(d),f=0;f<l.length;f++){var c=l[f],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(4),d=o(1),u=o(2);(function(){r.rectangle=function(h,f,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:f},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var w=g.chamfer;v.vertices=i.chamfer(v.vertices,w.radius,w.quality,w.qualityMin,w.qualityMax),delete g.chamfer}return l.create(a.extend({},v,g))},r.trapezoid=function(h,f,c,p,g,v){v=v||{},g*=.5;var w=(1-g*2)*c,b=c*g,y=b+w,_=y+b,m;g<.5?m="L 0 0 L "+b+" "+-p+" L "+y+" "+-p+" L "+_+" 0":m="L 0 0 L "+y+" "+-p+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:h,y:f},vertices:i.fromPath(m)};if(v.chamfer){var E=v.chamfer;x.vertices=i.chamfer(x.vertices,E.radius,E.quality,E.qualityMin,E.qualityMax),delete v.chamfer}return l.create(a.extend({},x,v))},r.circle=function(h,f,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var w=Math.ceil(Math.max(10,Math.min(g,c)));return w%2===1&&(w+=1),r.polygon(h,f,w,c,a.extend({},v,p))},r.polygon=function(h,f,c,p,g){if(g=g||{},c<3)return r.circle(h,f,p,g);for(var v=2*Math.PI/c,w="",b=v*.5,y=0;y<c;y+=1){var _=b+y*v,m=Math.cos(_)*p,x=Math.sin(_)*p;w+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var E={label:"Polygon Body",position:{x:h,y:f},vertices:i.fromPath(w)};if(g.chamfer){var S=g.chamfer;E.vertices=i.chamfer(E.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete g.chamfer}return l.create(a.extend({},E,g))},r.fromVertices=function(h,f,c,p,g,v,w,b){var y=a.getDecomp(),_,m,x,E,S,P,L,T,C,O,F;for(_=!!(y&&y.quickDecomp),p=p||{},x=[],g=typeof g<"u"?g:!1,v=typeof v<"u"?v:.01,w=typeof w<"u"?w:10,b=typeof b<"u"?b:.01,a.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(P=c[O],E=i.isConvex(P),S=!E,S&&!_&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),E||!_)E?P=i.clockwiseSort(P):P=i.hull(P),x.push({position:{x:h,y:f},vertices:P});else{var $=P.map(function(fe){return[fe.x,fe.y]});y.makeCCW($),v!==!1&&y.removeCollinearPoints($,v),b!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints($,b);var U=y.quickDecomp($);for(L=0;L<U.length;L++){var j=U[L],Y=j.map(function(fe){return{x:fe[0],y:fe[1]}});w>0&&i.area(Y)<w||x.push({position:i.centre(Y),vertices:Y})}}for(L=0;L<x.length;L++)x[L]=l.create(a.extend(x[L],p));if(g){var se=5;for(L=0;L<x.length;L++){var ue=x[L];for(T=L+1;T<x.length;T++){var ce=x[T];if(d.overlaps(ue.bounds,ce.bounds)){var ne=ue.vertices,Se=ce.vertices;for(C=0;C<ue.vertices.length;C++)for(F=0;F<ce.vertices.length;F++){var _e=u.magnitudeSquared(u.sub(ne[(C+1)%ne.length],Se[F])),Ue=u.magnitudeSquared(u.sub(ne[C],Se[(F+1)%Se.length]));_e<se&&Ue<se&&(ne[C].isInternal=!0,Se[F].isInternal=!0)}}}}}return x.length>1?(m=l.create(a.extend({parts:x.slice(0)},p)),l.setPosition(m,{x:h,y:f}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var d={bodies:[],pairs:null};return i.extend(d,l)},r.setBodies=function(l,d){l.bodies=d.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var d=[],u=l.pairs,h=l.bodies,f=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<f;g++){var w=h[g],b=w.bounds,y=w.bounds.max.x,_=w.bounds.max.y,m=w.bounds.min.y,x=w.isStatic||w.isSleeping,E=w.parts.length,S=E===1;for(v=g+1;v<f;v++){var P=h[v],L=P.bounds;if(L.min.x>y)break;if(!(_<L.min.y||m>L.max.y)&&!(x&&(P.isStatic||P.isSleeping))&&c(w.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(S&&T===1){var C=p(w,P,u);C&&d.push(C)}else for(var O=E>1?1:0,F=T>1?1:0,$=O;$<E;$++)for(var U=w.parts[$],b=U.bounds,j=F;j<T;j++){var Y=P.parts[j],L=Y.bounds;if(!(b.min.x>L.max.x||b.max.x<L.min.x||b.max.y<L.min.y||b.min.y>L.max.y)){var C=p(U,Y,u);C&&d.push(C)}}}}}return d},r.canCollide=function(l,d){return l.group===d.group&&l.group!==0?l.group>0:(l.mask&d.category)!==0&&(d.mask&l.category)!==0},r._compareBoundsX=function(l,d){return l.bounds.min.x-d.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(d){var u=r._getRelativeMousePosition(d,l.element,l.pixelRatio),h=d.changedTouches;h&&(l.button=0,d.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.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,l.sourceEvents.mousemove=d},l.mousedown=function(d){var u=r._getRelativeMousePosition(d,l.element,l.pixelRatio),h=d.changedTouches;h?(l.button=0,d.preventDefault()):l.button=d.button,l.absolute.x=u.x,l.absolute.y=u.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,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=d},l.mouseup=function(d){var u=r._getRelativeMousePosition(d,l.element,l.pixelRatio),h=d.changedTouches;h&&d.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.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,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=d},l.mousewheel=function(d){l.wheelDelta=Math.max(-1,Math.min(1,d.wheelDelta||-d.detail)),d.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.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},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.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},r._getRelativeMousePosition=function(a,l,d){var u=l.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,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-f,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-f,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*d),y:v/(l.clientHeight/(l.height||l.clientHeight)*d)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],d=r.versionParse(a.version).number,u=r.versionParse(l.version).number;d>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):d<u?i.warn("Plugin.register:",r.toString(l),"can not be downgraded to",r.toString(a)):a!==l&&i.warn("Plugin.register:",r.toString(a),"is already registered to different plugin object")}else r._registry[a.name]=a;return a},r.resolve=function(a){return r._registry[r.dependencyParse(a).name]},r.toString=function(a){return typeof a=="string"?a:(a.name||"anonymous")+"@"+(a.version||a.range||"0.0.0")},r.isPlugin=function(a){return a&&a.name&&a.version&&a.install},r.isUsed=function(a,l){return a.used.indexOf(l)>-1},r.isFor=function(a,l){var d=a.for&&r.dependencyParse(a.for);return!a.for||l.name===d.name&&r.versionSatisfies(l.version,d.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var d=r.dependencies(a),u=i.topologicalSort(d),h=[],f=0;f<u.length;f+=1)if(u[f]!==a.name){var c=r.resolve(u[f]);if(!c){h.push("❌ "+u[f]);continue}r.isUsed(a,c.name)||(r.isFor(c,a)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(a)+"."),c._warned=!0),c.install?c.install(a):(i.warn("Plugin.use:",r.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+r.toString(c)),delete c._warned):h.push("✅ "+r.toString(c)),a.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(a,l){var d=r.dependencyParse(a),u=d.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(f){r.isPlugin(f)&&r.register(f);var c=r.dependencyParse(f),p=r.resolve(f);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(d)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(f),"used by",r.toString(d),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var d=l.exec(a),u=Number(d[4]),h=Number(d[5]),f=Number(d[6]);return{isRange:!!(d[1]||d[2]),version:d[3],range:a,operator:d[1]||d[2]||"",major:u,minor:h,patch:f,parts:[u,h,f],prerelease:d[7],number:u*1e8+h*1e4+f}},r.versionSatisfies=function(a,l){l=l||"*";var d=r.versionParse(l),u=r.versionParse(a);if(d.isRange){if(d.operator==="*"||a==="*")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 a===l||a==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),a=o(18),l=o(13),d=o(19),u=o(5),h=o(6),f=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var v={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}},w=c.extend(v,g);return w.world=g.world||h.create({label:"World"}),w.pairs=g.pairs||d.create(),w.detector=g.detector||l.create(),w.grid={buckets:[]},w.world.gravity=w.gravity,w.broadphase=w.grid,w.metrics={},w},r.update=function(g,v){var w=c.now(),b=g.world,y=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,E;v=typeof v<"u"?v:c._baseDelta,v*=m.timeScale,m.timestamp+=v,m.lastDelta=v;var S={timestamp:m.timestamp,delta:v};u.trigger(g,"beforeUpdate",S);var P=h.allBodies(b),L=h.allConstraints(b);for(b.isModified&&(l.setBodies(y,P),h.setModified(b,!1,!1,!0)),g.enableSleeping&&i.update(P,v),r._bodiesApplyGravity(P,g.gravity),v>0&&r._bodiesUpdate(P,v),f.preSolveAll(P),E=0;E<g.constraintIterations;E++)f.solveAll(L,v);f.postSolveAll(P),y.pairs=g.pairs;var T=l.collisions(y);d.update(_,T,x),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),E=0;E<g.positionIterations;E++)a.solvePosition(_.list,v,C);for(a.postSolvePosition(P),f.preSolveAll(P),E=0;E<g.constraintIterations;E++)f.solveAll(L,v);for(f.postSolveAll(P),a.preSolveVelocity(_.list),E=0;E<g.velocityIterations;E++)a.solveVelocity(_.list,v);return r._bodiesUpdateVelocities(P),_.collisionActive.length>0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(P),u.trigger(g,"afterUpdate",S),g.timing.lastElapsed=c.now()-w,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var w=h.allBodies(g.world),b=0;b<w.length;b++){var y=w[b];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(g){d.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,w=0;w<v;w++){var b=g[w];b.force.x=0,b.force.y=0,b.torque=0}},r._bodiesApplyGravity=function(g,v){var w=typeof v.scale<"u"?v.scale:.001,b=g.length;if(!(v.x===0&&v.y===0||w===0))for(var y=0;y<b;y++){var _=g[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*w,_.force.x+=_.mass*v.x*w)}},r._bodiesUpdate=function(g,v){for(var w=g.length,b=0;b<w;b++){var y=g[b];y.isStatic||y.isSleeping||p.update(y,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,w=0;w<v;w++)p.updateVelocities(g[w])}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(1);(function(){r._restingThresh=2,r._restingThreshTangent=Math.sqrt(6),r._positionDampen=.9,r._positionWarming=.8,r._frictionNormalMultiplier=5,r._frictionMaxStatic=Number.MAX_VALUE,r.preSolvePosition=function(d){var u,h,f,c=d.length;for(u=0;u<c;u++)h=d[u],h.isActive&&(f=h.activeContacts.length,h.collision.parentA.totalContacts+=f,h.collision.parentB.totalContacts+=f)},r.solvePosition=function(d,u,h){var f,c,p,g,v,w,b,y,_=r._positionDampen*(h||1),m=a.clamp(u/a._baseDelta,0,1),x=d.length;for(f=0;f<x;f++)c=d[f],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,w=p.normal,c.separation=w.x*(v.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+w.y*(v.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(f=0;f<x;f++)c=d[f],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,w=p.normal,y=c.separation-c.slop*m,(g.isStatic||v.isStatic)&&(y*=2),g.isStatic||g.isSleeping||(b=_/g.totalContacts,g.positionImpulse.x+=w.x*y*b,g.positionImpulse.y+=w.y*y*b),v.isStatic||v.isSleeping||(b=_/v.totalContacts,v.positionImpulse.x-=w.x*y*b,v.positionImpulse.y-=w.y*y*b))},r.postSolvePosition=function(d){for(var u=r._positionWarming,h=d.length,f=i.translate,c=l.update,p=0;p<h;p++){var g=d[p],v=g.positionImpulse,w=v.x,b=v.y,y=g.velocity;if(g.totalContacts=0,w!==0||b!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];f(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=w,m.position.y+=b}g.positionPrev.x+=w,g.positionPrev.y+=b,w*y.x+b*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(d){var u=d.length,h,f;for(h=0;h<u;h++){var c=d[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,w=v.parentA,b=v.parentB,y=v.normal,_=v.tangent;for(f=0;f<g;f++){var m=p[f],x=m.vertex,E=m.normalImpulse,S=m.tangentImpulse;if(E!==0||S!==0){var P=y.x*E+_.x*S,L=y.y*E+_.y*S;w.isStatic||w.isSleeping||(w.positionPrev.x+=P*w.inverseMass,w.positionPrev.y+=L*w.inverseMass,w.anglePrev+=w.inverseInertia*((x.x-w.position.x)*L-(x.y-w.position.y)*P)),b.isStatic||b.isSleeping||(b.positionPrev.x-=P*b.inverseMass,b.positionPrev.y-=L*b.inverseMass,b.anglePrev-=b.inverseInertia*((x.x-b.position.x)*L-(x.y-b.position.y)*P))}}}}},r.solveVelocity=function(d,u){var h=u/a._baseDelta,f=h*h,c=f*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,w=r._frictionMaxStatic,b=d.length,y,_,m,x;for(m=0;m<b;m++){var E=d[m];if(!(!E.isActive||E.isSensor)){var S=E.collision,P=S.parentA,L=S.parentB,T=P.velocity,C=L.velocity,O=S.normal.x,F=S.normal.y,$=S.tangent.x,U=S.tangent.y,j=E.activeContacts,Y=j.length,se=1/Y,ue=P.inverseMass+L.inverseMass,ce=E.friction*E.frictionStatic*v;for(T.x=P.position.x-P.positionPrev.x,T.y=P.position.y-P.positionPrev.y,C.x=L.position.x-L.positionPrev.x,C.y=L.position.y-L.positionPrev.y,P.angularVelocity=P.angle-P.anglePrev,L.angularVelocity=L.angle-L.anglePrev,x=0;x<Y;x++){var ne=j[x],Se=ne.vertex,_e=Se.x-P.position.x,Ue=Se.y-P.position.y,fe=Se.x-L.position.x,V=Se.y-L.position.y,q=T.x-Ue*P.angularVelocity,z=T.y+_e*P.angularVelocity,ee=C.x-V*L.angularVelocity,de=C.y+fe*L.angularVelocity,xe=q-ee,A=z-de,I=O*xe+F*A,D=$*xe+U*A,W=E.separation+I,B=Math.min(W,1);B=W<0?0:B;var X=B*ce;D<-X||D>X?(_=D>0?D:-D,y=E.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=w);var Q=_e*F-Ue*O,R=fe*F-V*O,k=se/(ue+P.inverseInertia*Q*Q+L.inverseInertia*R*R),N=(1+E.restitution)*I*k;if(y*=k,I<p)ne.normalImpulse=0;else{var K=ne.normalImpulse;ne.normalImpulse+=N,ne.normalImpulse>0&&(ne.normalImpulse=0),N=ne.normalImpulse-K}if(D<-g||D>g)ne.tangentImpulse=0;else{var J=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-J}var G=O*N+$*y,M=F*N+U*y;P.isStatic||P.isSleeping||(P.positionPrev.x+=G*P.inverseMass,P.positionPrev.y+=M*P.inverseMass,P.anglePrev+=(_e*M-Ue*G)*P.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=M*L.inverseMass,L.anglePrev-=(fe*M-V*G)*L.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,d,u){var h=l.list,f=h.length,c=l.table,p=d.length,g=l.collisionStart,v=l.collisionEnd,w=l.collisionActive,b,y,_,m;for(g.length=0,v.length=0,w.length=0,m=0;m<f;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)b=d[m],_=b.pair,_?(_.isActive?w.push(_):g.push(_),i.update(_,b,u),_.confirmedActive=!0):(_=i.create(b,u),c[_.id]=_,g.push(_),h.push(_));var x=[];for(f=h.length,m=0;m<f;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),v.push(_),!_.collision.bodyA.isSleeping&&!_.collision.bodyB.isSleeping&&x.push(m));for(m=0;m<x.length;m++)y=x[m]-m,_=h[y],h.splice(y,1),delete c[_.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,s,o){var r=n.exports=o(21);r.Axes=o(11),r.Bodies=o(12),r.Body=o(4),r.Bounds=o(1),r.Collision=o(8),r.Common=o(0),r.Composite=o(6),r.Composites=o(22),r.Constraint=o(10),r.Contact=o(16),r.Detector=o(13),r.Engine=o(17),r.Events=o(5),r.Grid=o(23),r.Mouse=o(14),r.MouseConstraint=o(24),r.Pair=o(9),r.Pairs=o(19),r.Plugin=o(15),r.Query=o(25),r.Render=o(26),r.Resolver=o(18),r.Runner=o(27),r.SAT=o(28),r.Sleeping=o(7),r.Svg=o(29),r.Vector=o(2),r.Vertices=o(3),r.World=o(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,s,o){var r={};n.exports=r;var i=o(15),a=o(0);(function(){r.name="matter-js",r.version="0.19.0",r.uses=[],r.used=[],r.use=function(){i.use(r,Array.prototype.slice.call(arguments))},r.before=function(l,d){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,d)},r.after=function(l,d){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,d)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),a=o(10),l=o(0),d=o(4),u=o(12),h=l.deprecated;(function(){r.stack=function(f,c,p,g,v,w,b){for(var y=i.create({label:"Stack"}),_=f,m=c,x,E=0,S=0;S<g;S++){for(var P=0,L=0;L<p;L++){var T=b(_,m,L,S,x,E);if(T){var C=T.bounds.max.y-T.bounds.min.y,O=T.bounds.max.x-T.bounds.min.x;C>P&&(P=C),d.translate(T,{x:O*.5,y:C*.5}),_=T.bounds.max.x+v,i.addBody(y,T),x=T,E+=1}else _+=v}m+=P+w,_=f}return y},r.chain=function(f,c,p,g,v,w){for(var b=f.bodies,y=1;y<b.length;y++){var _=b[y-1],m=b[y],x=_.bounds.max.y-_.bounds.min.y,E=_.bounds.max.x-_.bounds.min.x,S=m.bounds.max.y-m.bounds.min.y,P=m.bounds.max.x-m.bounds.min.x,L={bodyA:_,pointA:{x:E*c,y:x*p},bodyB:m,pointB:{x:P*g,y:S*v}},T=l.extend(L,w);i.addConstraint(f,a.create(T))}return f.label+=" Chain",f},r.mesh=function(f,c,p,g,v){var w=f.bodies,b,y,_,m,x;for(b=0;b<p;b++){for(y=1;y<c;y++)_=w[y-1+b*c],m=w[y+b*c],i.addConstraint(f,a.create(l.extend({bodyA:_,bodyB:m},v)));if(b>0)for(y=0;y<c;y++)_=w[y+(b-1)*c],m=w[y+b*c],i.addConstraint(f,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(x=w[y-1+(b-1)*c],i.addConstraint(f,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&y<c-1&&(x=w[y+1+(b-1)*c],i.addConstraint(f,a.create(l.extend({bodyA:x,bodyB:m},v))))}return f.label+=" Mesh",f},r.pyramid=function(f,c,p,g,v,w,b){return r.stack(f,c,p,g,v,w,function(y,_,m,x,E,S){var P=Math.min(g,Math.ceil(p/2)),L=E?E.bounds.max.x-E.bounds.min.x:0;if(!(x>P)){x=P-x;var T=x,C=p-1-x;if(!(m<T||m>C)){S===1&&d.translate(E,{x:(m+(p%2===1?1:-1))*L,y:0});var O=E?m*L:0;return b(f+O+m*v,_,m,x,E,S)}}})},r.newtonsCradle=function(f,c,p,g,v){for(var w=i.create({label:"Newtons Cradle"}),b=0;b<p;b++){var y=1.9,_=u.circle(f+b*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:f+b*(g*y),y:c},bodyB:_});i.addBody(w,_),i.addConstraint(w,m)}return w},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(f,c,p,g,v){var w=d.nextGroup(!0),b=20,y=-p*.5+b,_=p*.5-b,m=0,x=i.create({label:"Car"}),E=u.rectangle(f,c,p,g,{collisionFilter:{group:w},chamfer:{radius:g*.5},density:2e-4}),S=u.circle(f+y,c+m,v,{collisionFilter:{group:w},friction:.8}),P=u.circle(f+_,c+m,v,{collisionFilter:{group:w},friction:.8}),L=a.create({bodyB:E,pointB:{x:y,y:m},bodyA:S,stiffness:1,length:0}),T=a.create({bodyB:E,pointB:{x:_,y:m},bodyA:P,stiffness:1,length:0});return i.addBody(x,E),i.addBody(x,S),i.addBody(x,P),i.addConstraint(x,L),i.addConstraint(x,T),x},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(f,c,p,g,v,w,b,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(f,c,p,g,v,w,function(E,S){return u.circle(E,S,y,_)});return r.mesh(x,p,g,b,m),x.label="Soft Body",x},h(r,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0),l=a.deprecated;(function(){r.create=function(d){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,d)},r.update=function(d,u,h,f){var c,p,g,v=h.world,w=d.buckets,b,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!f)&&!(v.bounds&&(m.bounds.max.x<v.bounds.min.x||m.bounds.min.x>v.bounds.max.x||m.bounds.max.y<v.bounds.min.y||m.bounds.min.y>v.bounds.max.y))){var x=r._getRegion(d,m);if(!m.region||x.id!==m.region.id||f){(!m.region||f)&&(m.region=x);var E=r._regionUnion(x,m.region);for(p=E.startCol;p<=E.endCol;p++)for(g=E.startRow;g<=E.endRow;g++){y=r._getBucketId(p,g),b=w[y];var S=p>=x.startCol&&p<=x.endCol&&g>=x.startRow&&g<=x.endRow,P=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!S&&P&&P&&b&&r._bucketRemoveBody(d,b,m),(m.region===x||S&&!P||f)&&(b||(b=r._createBucket(w,y)),r._bucketAddBody(d,b,m))}m.region=x,_=!0}}}_&&(d.pairsList=r._createActivePairsList(d))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(d){d.buckets={},d.pairs={},d.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._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),p=Math.max(d.endRow,u.endRow);return r._createRegion(h,f,c,p)},r._getRegion=function(d,u){var h=u.bounds,f=Math.floor(h.min.x/d.bucketWidth),c=Math.floor(h.max.x/d.bucketWidth),p=Math.floor(h.min.y/d.bucketHeight),g=Math.floor(h.max.y/d.bucketHeight);return r._createRegion(f,c,p,g)},r._createRegion=function(d,u,h,f){return{id:d+","+u+","+h+","+f,startCol:d,endCol:u,startRow:h,endRow:f}},r._getBucketId=function(d,u){return"C"+d+"R"+u},r._createBucket=function(d,u){var h=d[u]=[];return h},r._bucketAddBody=function(d,u,h){var f=d.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var w=c(h,v),b=f[w];b?b[2]+=1:f[w]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(d,u,h){var f=d.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=f[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(d){var u,h=d.pairs,f=a.keys(h),c=f.length,p=[],g;for(g=0;g<c;g++)u=h[f[g]],u[2]>0?p.push(u):delete h[f[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),d=o(5),u=o(13),h=o(10),f=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var w=(g?g.mouse:null)||(v?v.mouse:null);w||(g&&g.render&&g.render.canvas?w=l.create(g.render.canvas):v&&v.element?w=l.create(v.element):(w=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var b=h.create({label:"Mouse Constraint",pointA:w.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:w,element:null,body:null,constraint:b,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return d.on(g,"beforeUpdate",function(){var m=f.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var w=g.mouse,b=g.constraint,y=g.body;if(w.button===0){if(b.bodyB)a.set(b.bodyB,!1),b.pointA=w.position;else for(var _=0;_<v.length;_++)if(y=v[_],p.contains(y.bounds,w.position)&&u.canCollide(y.collisionFilter,g.collisionFilter))for(var m=y.parts.length>1?1:0;m<y.parts.length;m++){var x=y.parts[m];if(i.contains(x.vertices,w.position)){b.pointA=w.position,b.bodyB=g.body=y,b.pointB={x:w.position.x-y.position.x,y:w.position.y-y.position.y},b.angleB=y.angle,a.set(y,!1),d.trigger(g,"startdrag",{mouse:w,body:y});break}}}else b.bodyB=g.body=null,b.pointB=null,y&&d.trigger(g,"enddrag",{mouse:w,body:y})},r._triggerEvents=function(g){var v=g.mouse,w=v.sourceEvents;w.mousemove&&d.trigger(g,"mousemove",{mouse:v}),w.mousedown&&d.trigger(g,"mousedown",{mouse:v}),w.mouseup&&d.trigger(g,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(8),l=o(1),d=o(12),u=o(3);(function(){r.collides=function(h,f){for(var c=[],p=f.length,g=h.bounds,v=a.collides,w=l.overlaps,b=0;b<p;b++){var y=f[b],_=y.parts.length,m=_===1?0:1;if(w(y.bounds,g))for(var x=m;x<_;x++){var E=y.parts[x];if(w(E.bounds,g)){var S=v(E,h);if(S){c.push(S);break}}}}return c},r.ray=function(h,f,c,p){p=p||1e-100;for(var g=i.angle(f,c),v=i.magnitude(i.sub(f,c)),w=(c.x+f.x)*.5,b=(c.y+f.y)*.5,y=d.rectangle(w,b,v,p,{angle:g}),_=r.collides(y,h),m=0;m<_.length;m+=1){var x=_[m];x.body=x.bodyB=x.bodyA}return _},r.region=function(h,f,c){for(var p=[],g=0;g<h.length;g++){var v=h[g],w=l.overlaps(v.bounds,f);(w&&!c||!w&&c)&&p.push(v)}return p},r.point=function(h,f){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,f))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var w=g.parts[v];if(l.contains(w.bounds,f)&&u.contains(w.vertices,f)){c.push(g);break}}}return c}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(0),l=o(6),d=o(1),u=o(5),h=o(2),f=o(14);(function(){var c,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(a.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(m){var x={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:!!m.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}},E=a.extend(x,m);return E.canvas&&(E.canvas.width=E.options.width||E.canvas.width,E.canvas.height=E.options.height||E.canvas.height),E.mouse=m.mouse,E.engine=m.engine,E.canvas=E.canvas||w(E.options.width,E.options.height),E.context=E.canvas.getContext("2d"),E.textures={},E.bounds=E.bounds||{min:{x:0,y:0},max:{x:E.canvas.width,y:E.canvas.height}},E.controller=r,E.options.showBroadphase=!1,E.options.pixelRatio!==1&&r.setPixelRatio(E,E.options.pixelRatio),a.isElement(E.element)&&E.element.appendChild(E.canvas),E},r.run=function(m){(function x(E){m.frameRequestId=c(x),g(m,E),r.world(m,E),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,E),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,E)})()},r.stop=function(m){p(m.frameRequestId)},r.setPixelRatio=function(m,x){var E=m.options,S=m.canvas;x==="auto"&&(x=b(S)),E.pixelRatio=x,S.setAttribute("data-pixel-ratio",x),S.width=E.width*x,S.height=E.height*x,S.style.width=E.width+"px",S.style.height=E.height+"px"},r.lookAt=function(m,x,E,S){S=typeof S<"u"?S:!0,x=a.isArray(x)?x:[x],E=E||{x:0,y:0};for(var P={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},L=0;L<x.length;L+=1){var T=x[L],C=T.bounds?T.bounds.min:T.min||T.position||T,O=T.bounds?T.bounds.max:T.max||T.position||T;C&&O&&(C.x<P.min.x&&(P.min.x=C.x),O.x>P.max.x&&(P.max.x=O.x),C.y<P.min.y&&(P.min.y=C.y),O.y>P.max.y&&(P.max.y=O.y))}var F=P.max.x-P.min.x+2*E.x,$=P.max.y-P.min.y+2*E.y,U=m.canvas.height,j=m.canvas.width,Y=j/U,se=F/$,ue=1,ce=1;se>Y?ce=se/Y:ue=Y/se,m.options.hasBounds=!0,m.bounds.min.x=P.min.x,m.bounds.max.x=P.min.x+F*ue,m.bounds.min.y=P.min.y,m.bounds.max.y=P.min.y+$*ce,S&&(m.bounds.min.x+=F*.5-F*ue*.5,m.bounds.max.x+=F*.5-F*ue*.5,m.bounds.min.y+=$*.5-$*ce*.5,m.bounds.max.y+=$*.5-$*ce*.5),m.bounds.min.x-=E.x,m.bounds.max.x-=E.x,m.bounds.min.y-=E.y,m.bounds.max.y-=E.y,m.mouse&&(f.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),f.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var x=m.bounds.max.x-m.bounds.min.x,E=m.bounds.max.y-m.bounds.min.y,S=x/m.options.width,P=E/m.options.height;m.context.setTransform(m.options.pixelRatio/S,0,0,m.options.pixelRatio/P,0,0),m.context.translate(-m.bounds.min.x,-m.bounds.min.y)},r.endViewTransform=function(m){m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0)},r.world=function(m,x){var E=a.now(),S=m.engine,P=S.world,L=m.canvas,T=m.context,C=m.options,O=m.timing,F=l.allBodies(P),$=l.allConstraints(P),U=C.wireframes?C.wireframeBackground:C.background,j=[],Y=[],se,ue={timestamp:S.timing.timestamp};if(u.trigger(m,"beforeRender",ue),m.currentBackground!==U&&_(m,U),T.globalCompositeOperation="source-in",T.fillStyle="transparent",T.fillRect(0,0,L.width,L.height),T.globalCompositeOperation="source-over",C.hasBounds){for(se=0;se<F.length;se++){var ce=F[se];d.overlaps(ce.bounds,m.bounds)&&j.push(ce)}for(se=0;se<$.length;se++){var ne=$[se],Se=ne.bodyA,_e=ne.bodyB,Ue=ne.pointA,fe=ne.pointB;Se&&(Ue=h.add(Se.position,ne.pointA)),_e&&(fe=h.add(_e.position,ne.pointB)),!(!Ue||!fe)&&(d.contains(m.bounds,Ue)||d.contains(m.bounds,fe))&&Y.push(ne)}r.startViewTransform(m),m.mouse&&(f.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.options.width,y:(m.bounds.max.y-m.bounds.min.y)/m.options.height}),f.setOffset(m.mouse,m.bounds.min))}else Y=$,j=F,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!C.wireframes||S.enableSleeping&&C.showSleeping?r.bodies(m,j,T):(C.showConvexHulls&&r.bodyConvexHulls(m,j,T),r.bodyWireframes(m,j,T)),C.showBounds&&r.bodyBounds(m,j,T),(C.showAxes||C.showAngleIndicator)&&r.bodyAxes(m,j,T),C.showPositions&&r.bodyPositions(m,j,T),C.showVelocity&&r.bodyVelocity(m,j,T),C.showIds&&r.bodyIds(m,j,T),C.showSeparations&&r.separations(m,S.pairs.list,T),C.showCollisions&&r.collisions(m,S.pairs.list,T),C.showVertexNumbers&&r.vertexNumbers(m,j,T),C.showMousePosition&&r.mousePosition(m,m.mouse,T),r.constraints(Y,T),C.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",ue),O.lastElapsed=a.now()-E},r.stats=function(m,x,E){for(var S=m.engine,P=S.world,L=l.allBodies(P),T=0,C=55,O=44,F=0,$=0,U=0;U<L.length;U+=1)T+=L[U].parts.length;var j={Part:T,Body:L.length,Cons:l.allConstraints(P).length,Comp:l.allComposites(P).length,Pair:S.pairs.list.length};x.fillStyle="#0e0f19",x.fillRect(F,$,C*5.5,O),x.font="12px Arial",x.textBaseline="top",x.textAlign="right";for(var Y in j){var se=j[Y];x.fillStyle="#aaa",x.fillText(Y,F+C,$+8),x.fillStyle="#eee",x.fillText(se,F+C,$+26),F+=C}},r.performance=function(m,x){var E=m.engine,S=m.timing,P=S.deltaHistory,L=S.elapsedHistory,T=S.timestampElapsedHistory,C=S.engineDeltaHistory,O=S.engineElapsedHistory,F=E.timing.lastDelta,$=v(P),U=v(L),j=v(C),Y=v(O),se=v(T),ue=se/$||0,ce=1e3/$||0,ne=4,Se=12,_e=60,Ue=34,fe=10,V=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Se*4+_e*5+22,Ue),r.status(x,fe,V,_e,ne,P.length,Math.round(ce)+" fps",ce/r._goodFps,function(q){return P[q]/$-1}),r.status(x,fe+Se+_e,V,_e,ne,C.length,F.toFixed(2)+" dt",r._goodDelta/F,function(q){return C[q]/j-1}),r.status(x,fe+(Se+_e)*2,V,_e,ne,O.length,Y.toFixed(2)+" ut",1-Y/r._goodFps,function(q){return O[q]/Y-1}),r.status(x,fe+(Se+_e)*3,V,_e,ne,L.length,U.toFixed(2)+" rt",1-U/r._goodFps,function(q){return L[q]/U-1}),r.status(x,fe+(Se+_e)*4,V,_e,ne,T.length,ue.toFixed(2)+" x",ue*ue*ue,function(q){return(T[q]/P[q]/ue||0)-1})},r.status=function(m,x,E,S,P,L,T,C,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,E+7,S,1),m.beginPath(),m.moveTo(x,E+7-P*a.clamp(.4*O(0),-2,2));for(var F=0;F<S;F+=1)m.lineTo(x+F,E+7-(F<L?P*a.clamp(.4*O(F),-2,2):0));m.stroke(),m.fillStyle="hsl("+a.clamp(25+95*C,0,120)+",100%,60%)",m.fillRect(x,E-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(T,x+S,E-5)},r.constraints=function(m,x){for(var E=x,S=0;S<m.length;S++){var P=m[S];if(!(!P.render.visible||!P.pointA||!P.pointB)){var L=P.bodyA,T=P.bodyB,C,O;if(L?C=h.add(L.position,P.pointA):C=P.pointA,P.render.type==="pin")E.beginPath(),E.arc(C.x,C.y,3,0,2*Math.PI),E.closePath();else{if(T?O=h.add(T.position,P.pointB):O=P.pointB,E.beginPath(),E.moveTo(C.x,C.y),P.render.type==="spring")for(var F=h.sub(O,C),$=h.perp(h.normalise(F)),U=Math.ceil(a.clamp(P.length/5,12,20)),j,Y=1;Y<U;Y+=1)j=Y%2===0?1:-1,E.lineTo(C.x+F.x*(Y/U)+$.x*j*4,C.y+F.y*(Y/U)+$.y*j*4);E.lineTo(O.x,O.y)}P.render.lineWidth&&(E.lineWidth=P.render.lineWidth,E.strokeStyle=P.render.strokeStyle,E.stroke()),P.render.anchors&&(E.fillStyle=P.render.strokeStyle,E.beginPath(),E.arc(C.x,C.y,3,0,2*Math.PI),E.arc(O.x,O.y,3,0,2*Math.PI),E.closePath(),E.fill())}}},r.bodies=function(m,x,E){var S=E;m.engine;var P=m.options,L=P.showInternalEdges||!P.wireframes,T,C,O,F;for(O=0;O<x.length;O++)if(T=x[O],!!T.render.visible){for(F=T.parts.length>1?1:0;F<T.parts.length;F++)if(C=T.parts[F],!!C.render.visible){if(P.showSleeping&&T.isSleeping?S.globalAlpha=.5*C.render.opacity:C.render.opacity!==1&&(S.globalAlpha=C.render.opacity),C.render.sprite&&C.render.sprite.texture&&!P.wireframes){var $=C.render.sprite,U=y(m,$.texture);S.translate(C.position.x,C.position.y),S.rotate(C.angle),S.drawImage(U,U.width*-$.xOffset*$.xScale,U.height*-$.yOffset*$.yScale,U.width*$.xScale,U.height*$.yScale),S.rotate(-C.angle),S.translate(-C.position.x,-C.position.y)}else{if(C.circleRadius)S.beginPath(),S.arc(C.position.x,C.position.y,C.circleRadius,0,2*Math.PI);else{S.beginPath(),S.moveTo(C.vertices[0].x,C.vertices[0].y);for(var j=1;j<C.vertices.length;j++)!C.vertices[j-1].isInternal||L?S.lineTo(C.vertices[j].x,C.vertices[j].y):S.moveTo(C.vertices[j].x,C.vertices[j].y),C.vertices[j].isInternal&&!L&&S.moveTo(C.vertices[(j+1)%C.vertices.length].x,C.vertices[(j+1)%C.vertices.length].y);S.lineTo(C.vertices[0].x,C.vertices[0].y),S.closePath()}P.wireframes?(S.lineWidth=1,S.strokeStyle="#bbb",S.stroke()):(S.fillStyle=C.render.fillStyle,C.render.lineWidth&&(S.lineWidth=C.render.lineWidth,S.strokeStyle=C.render.strokeStyle,S.stroke()),S.fill())}S.globalAlpha=1}}},r.bodyWireframes=function(m,x,E){var S=E,P=m.options.showInternalEdges,L,T,C,O,F;for(S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for(F=L.parts.length>1?1:0;F<L.parts.length;F++){for(T=L.parts[F],S.moveTo(T.vertices[0].x,T.vertices[0].y),O=1;O<T.vertices.length;O++)!T.vertices[O-1].isInternal||P?S.lineTo(T.vertices[O].x,T.vertices[O].y):S.moveTo(T.vertices[O].x,T.vertices[O].y),T.vertices[O].isInternal&&!P&&S.moveTo(T.vertices[(O+1)%T.vertices.length].x,T.vertices[(O+1)%T.vertices.length].y);S.lineTo(T.vertices[0].x,T.vertices[0].y)}S.lineWidth=1,S.strokeStyle="#bbb",S.stroke()},r.bodyConvexHulls=function(m,x,E){var S=E,P,L,T;for(S.beginPath(),L=0;L<x.length;L++)if(P=x[L],!(!P.render.visible||P.parts.length===1)){for(S.moveTo(P.vertices[0].x,P.vertices[0].y),T=1;T<P.vertices.length;T++)S.lineTo(P.vertices[T].x,P.vertices[T].y);S.lineTo(P.vertices[0].x,P.vertices[0].y)}S.lineWidth=1,S.strokeStyle="rgba(255,255,255,0.2)",S.stroke()},r.vertexNumbers=function(m,x,E){var S=E,P,L,T;for(P=0;P<x.length;P++){var C=x[P].parts;for(T=C.length>1?1:0;T<C.length;T++){var O=C[T];for(L=0;L<O.vertices.length;L++)S.fillStyle="rgba(255,255,255,0.2)",S.fillText(P+"_"+L,O.position.x+(O.vertices[L].x-O.position.x)*.8,O.position.y+(O.vertices[L].y-O.position.y)*.8)}}},r.mousePosition=function(m,x,E){var S=E;S.fillStyle="rgba(255,255,255,0.8)",S.fillText(x.position.x+" "+x.position.y,x.position.x+5,x.position.y-5)},r.bodyBounds=function(m,x,E){var S=E;m.engine;var P=m.options;S.beginPath();for(var L=0;L<x.length;L++){var T=x[L];if(T.render.visible)for(var C=x[L].parts,O=C.length>1?1:0;O<C.length;O++){var F=C[O];S.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?S.strokeStyle="rgba(255,255,255,0.08)":S.strokeStyle="rgba(0,0,0,0.1)",S.lineWidth=1,S.stroke()},r.bodyAxes=function(m,x,E){var S=E;m.engine;var P=m.options,L,T,C,O;for(S.beginPath(),T=0;T<x.length;T++){var F=x[T],$=F.parts;if(F.render.visible)if(P.showAxes)for(C=$.length>1?1:0;C<$.length;C++)for(L=$[C],O=0;O<L.axes.length;O++){var U=L.axes[O];S.moveTo(L.position.x,L.position.y),S.lineTo(L.position.x+U.x*20,L.position.y+U.y*20)}else for(C=$.length>1?1:0;C<$.length;C++)for(L=$[C],O=0;O<L.axes.length;O++)S.moveTo(L.position.x,L.position.y),S.lineTo((L.vertices[0].x+L.vertices[L.vertices.length-1].x)/2,(L.vertices[0].y+L.vertices[L.vertices.length-1].y)/2)}P.wireframes?(S.strokeStyle="indianred",S.lineWidth=1):(S.strokeStyle="rgba(255, 255, 255, 0.4)",S.globalCompositeOperation="overlay",S.lineWidth=2),S.stroke(),S.globalCompositeOperation="source-over"},r.bodyPositions=function(m,x,E){var S=E;m.engine;var P=m.options,L,T,C,O;for(S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for(O=0;O<L.parts.length;O++)T=L.parts[O],S.arc(T.position.x,T.position.y,3,0,2*Math.PI,!1),S.closePath();for(P.wireframes?S.fillStyle="indianred":S.fillStyle="rgba(0,0,0,0.5)",S.fill(),S.beginPath(),C=0;C<x.length;C++)L=x[C],L.render.visible&&(S.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),S.closePath());S.fillStyle="rgba(255,165,0,0.8)",S.fill()},r.bodyVelocity=function(m,x,E){var S=E;S.beginPath();for(var P=0;P<x.length;P++){var L=x[P];if(L.render.visible){var T=i.getVelocity(L);S.moveTo(L.position.x,L.position.y),S.lineTo(L.position.x+T.x,L.position.y+T.y)}}S.lineWidth=3,S.strokeStyle="cornflowerblue",S.stroke()},r.bodyIds=function(m,x,E){var S=E,P,L;for(P=0;P<x.length;P++)if(x[P].render.visible){var T=x[P].parts;for(L=T.length>1?1:0;L<T.length;L++){var C=T[L];S.font="12px Arial",S.fillStyle="rgba(255,255,255,0.5)",S.fillText(C.id,C.position.x+10,C.position.y-10)}}},r.collisions=function(m,x,E){var S=E,P=m.options,L,T,C,O;for(S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.isActive)for(T=L.collision,O=0;O<L.activeContacts.length;O++){var F=L.activeContacts[O],$=F.vertex;S.rect($.x-1.5,$.y-1.5,3.5,3.5)}for(P.wireframes?S.fillStyle="rgba(255,255,255,0.7)":S.fillStyle="orange",S.fill(),S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.isActive&&(T=L.collision,L.activeContacts.length>0)){var U=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(U=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,j=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),T.bodyB===T.supports[0].body||T.bodyA.isStatic===!0?S.moveTo(U-T.normal.x*8,j-T.normal.y*8):S.moveTo(U+T.normal.x*8,j+T.normal.y*8),S.lineTo(U,j)}P.wireframes?S.strokeStyle="rgba(255,165,0,0.7)":S.strokeStyle="orange",S.lineWidth=1,S.stroke()},r.separations=function(m,x,E){var S=E,P=m.options,L,T,C,O,F;for(S.beginPath(),F=0;F<x.length;F++)if(L=x[F],!!L.isActive){T=L.collision,C=T.bodyA,O=T.bodyB;var $=1;!O.isStatic&&!C.isStatic&&($=.5),O.isStatic&&($=0),S.moveTo(O.position.x,O.position.y),S.lineTo(O.position.x-T.penetration.x*$,O.position.y-T.penetration.y*$),$=1,!O.isStatic&&!C.isStatic&&($=.5),C.isStatic&&($=0),S.moveTo(C.position.x,C.position.y),S.lineTo(C.position.x+T.penetration.x*$,C.position.y+T.penetration.y*$)}P.wireframes?S.strokeStyle="rgba(255,165,0,0.5)":S.strokeStyle="orange",S.stroke()},r.inspector=function(m,x){m.engine;var E=m.selected,S=m.render,P=S.options,L;if(P.hasBounds){var T=S.bounds.max.x-S.bounds.min.x,C=S.bounds.max.y-S.bounds.min.y,O=T/S.options.width,F=C/S.options.height;x.scale(1/O,1/F),x.translate(-S.bounds.min.x,-S.bounds.min.y)}for(var $=0;$<E.length;$++){var U=E[$].data;switch(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.9)",x.setLineDash([1,2]),U.type){case"body":L=U.bounds,x.beginPath(),x.rect(Math.floor(L.min.x-3),Math.floor(L.min.y-3),Math.floor(L.max.x-L.min.x+6),Math.floor(L.max.y-L.min.y+6)),x.closePath(),x.stroke();break;case"constraint":var j=U.pointA;U.bodyA&&(j=U.pointB),x.beginPath(),x.arc(j.x,j.y,10,0,2*Math.PI),x.closePath(),x.stroke();break}x.setLineDash([]),x.translate(-.5,-.5)}m.selectStart!==null&&(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.6)",x.fillStyle="rgba(255,165,0,0.1)",L=m.selectBounds,x.beginPath(),x.rect(Math.floor(L.min.x),Math.floor(L.min.y),Math.floor(L.max.x-L.min.x),Math.floor(L.max.y-L.min.y)),x.closePath(),x.stroke(),x.fill(),x.translate(-.5,-.5)),P.hasBounds&&x.setTransform(1,0,0,1,0,0)};var g=function(m,x){var E=m.engine,S=m.timing,P=S.historySize,L=E.timing.timestamp;S.delta=x-S.lastTime||r._goodDelta,S.lastTime=x,S.timestampElapsed=L-S.lastTimestamp||0,S.lastTimestamp=L,S.deltaHistory.unshift(S.delta),S.deltaHistory.length=Math.min(S.deltaHistory.length,P),S.engineDeltaHistory.unshift(E.timing.lastDelta),S.engineDeltaHistory.length=Math.min(S.engineDeltaHistory.length,P),S.timestampElapsedHistory.unshift(S.timestampElapsed),S.timestampElapsedHistory.length=Math.min(S.timestampElapsedHistory.length,P),S.engineElapsedHistory.unshift(E.timing.lastElapsed),S.engineElapsedHistory.length=Math.min(S.engineElapsedHistory.length,P),S.elapsedHistory.unshift(S.lastElapsed),S.elapsedHistory.length=Math.min(S.elapsedHistory.length,P)},v=function(m){for(var x=0,E=0;E<m.length;E+=1)x+=m[E];return x/m.length||0},w=function(m,x){var E=document.createElement("canvas");return E.width=m,E.height=x,E.oncontextmenu=function(){return!1},E.onselectstart=function(){return!1},E},b=function(m){var x=m.getContext("2d"),E=window.devicePixelRatio||1,S=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return E/S},y=function(m,x){var E=m.textures[x];return E||(E=m.textures[x]=new Image,E.src=x,E)},_=function(m,x){var E=x;/(jpg|gif|png)$/.test(x)&&(E="url("+x+")"),m.canvas.style.background=E,m.canvas.style.backgroundSize="contain",m.currentBackground=x}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(17),l=o(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(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(f){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},p=l.extend(c,f);return p.delta=p.delta||1e3/p.fps,p.deltaMin=p.deltaMin||1e3/p.fps,p.deltaMax=p.deltaMax||1e3/(p.fps*.5),p.fps=1e3/p.delta,p},r.run=function(f,c){return typeof f.positionIterations<"u"&&(c=f,f=r.create()),function p(g){f.frameRequestId=d(p),g&&f.enabled&&r.tick(f,c,g)}(),f},r.tick=function(f,c,p){var g=c.timing,v;f.isFixed?v=f.delta:(v=p-f.timePrev||f.delta,f.timePrev=p,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,f.delta=v);var w={timestamp:g.timestamp};i.trigger(f,"beforeTick",w),f.frameCounter+=1,p-f.counterTimestamp>=1e3&&(f.fps=f.frameCounter*((p-f.counterTimestamp)/1e3),f.counterTimestamp=p,f.frameCounter=0),i.trigger(f,"tick",w),i.trigger(f,"beforeUpdate",w),a.update(c,v),i.trigger(f,"afterUpdate",w),i.trigger(f,"afterTick",w)},r.stop=function(f){u(f.frameRequestId)},r.start=function(f,c){r.run(f,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(d,u){return i.collides(d,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var d,u,h,f,c,p,g,v,w,b,y=[],_,m,x=0,E=0,S=0;l=l||15;var P=function(T,C,O){var F=O%2===1&&O>1;if(!w||T!=w.x||C!=w.y){w&&F?(_=w.x,m=w.y):(_=0,m=0);var $={x:_+T,y:m+C};(F||!w)&&(w=$),y.push($),E=_+T,S=m+C}},L=function(T){var C=T.pathSegTypeAsLetter.toUpperCase();if(C!=="Z"){switch(C){case"M":case"L":case"T":case"C":case"S":case"Q":E=T.x,S=T.y;break;case"H":E=T.x;break;case"V":S=T.y;break}P(E,S,T.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],d=0;d<a.pathSegList.numberOfItems;d+=1)p.push(a.pathSegList.getItem(d));for(g=p.concat();x<h;){if(b=a.getPathSegAtLength(x),c=p[b],c!=v){for(;g.length&&g[0]!=c;)L(g.shift());v=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":f=a.getPointAtLength(x),P(f.x,f.y,0);break}x+=l}for(d=0,u=g.length;d<u;++d)L(g[d]);return y},r._svgPathToAbsolute=function(a){for(var l,d,u,h,f,c,p=a.pathSegList,g=0,v=0,w=p.numberOfItems,b=0;b<w;++b){var y=p.getItem(b),_=y.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in y&&(g=y.x),"y"in y&&(v=y.y);else switch("x1"in y&&(u=g+y.x1),"x2"in y&&(f=g+y.x2),"y1"in y&&(h=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(g+=y.x),"y"in y&&(v+=y.y),_){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),b);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),b);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),b);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),b);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,h,f,c),b);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,f,c),b);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,h),b);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),b);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),b);break;case"z":case"Z":g=l,v=d;break}(_=="M"||_=="m")&&(l=g,d=v)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(6);o(0),function(){r.create=i.create,r.add=i.add,r.remove=i.remove,r.clear=i.clear,r.addComposite=i.addComposite,r.addBody=i.addBody,r.addConstraint=i.addConstraint}()}])})})(Xd);var Wt=Xd.exports;const Yd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href,Y1={key:0,class:"w-full h-full"},J1=["width","height"],q1={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"},Q1={class:"text-sm"},z1={class:"text-xs"},Z1={class:"flex justify-end mt-2 text-sm"},ew=ze({__name:"Cookie",setup(e){const t=Ee(null),n=Ee(null),s=Ee(!0),o=Ee(0),r=Ee(0);let i=null;wt(async()=>{s.value=Mc(),o.value=d(),r.value=u(),Mc()&&(await yn(),f(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){j1(),s.value=!1}function l(){W1(),s.value=!1}function d(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=d(),r.value=u()}function f(){if(!i){i=Wt.Engine.create();let g=Wt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:d(),height:u(),wireframes:!1,background:"#00000000"}});Wt.Render.run(g),Wt.Runner.run(Wt.Runner.create(),i)}h()}function c(){if(K1("cookie"),!i)return;let g=Wt.Bodies.circle(X1(0,d()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Yd,xScale:.08,yScale:.08}}});Wt.Composite.add(i.world,[g]);const v=.02*g.mass;Wt.Body.applyForce(g,g.position,{x:v*(g.position.x>d()/2?-1:1),y:-v*Gd(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?Wt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const w=mo;return ve(),qe(w,null,{default:_n(()=>[te(s)?(ve(),at("div",Y1,[ie("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ie("canvas",{ref_key:"canvas_cookie",ref:n,width:te(o),height:te(r)},null,8,J1)],512),ie("div",q1,[ie("p",Q1,ke(g.$t("cookie policy title")),1),ie("div",z1,[ie("span",null,[qs(ke(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},ke(g.$t("cookie policy link")),1)])]),ie("div",Z1,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},ke(g.$t("reject")),1),ie("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"},ke(g.$t("accept")),1)])],512)])):ut("",!0)]),_:1})}}}),wa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},tw={},nw={class:"flex justify-center text-sm"},rw={class:"flex-1 ml-2"},sw={class:"font-bold text-base"};function ow(e,t){return ve(),at("div",nw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Yd,alt:"",class:"h-full w-full"})])],-1)),ie("div",rw,[ie("p",sw,ke(e.$t("cookie.title")),1),ie("p",null,ke(e.$t("cookie.description")),1)])])}const iw=wa(tw,[["render",ow]]),aw=""+new URL("future.Byi108RQ.png",import.meta.url).href,lw={},cw={class:"flex text-sm"},uw={class:"flex-1 ml-2"},fw={class:"font-bold text-base"};function dw(e,t){return ve(),at("div",cw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:aw,alt:"",class:"h-full w-full"})])],-1)),ie("div",uw,[ie("p",fw,ke(e.$t("future.title")),1),ie("p",null,ke(e.$t("future.description")),1)])])}const hw=wa(lw,[["render",dw]]),pw="data:image/svg+xml,%3csvg%20width='256'%20height='256'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3ctitle%3eLayer%201%3c/title%3e%3cpath%20stroke-width='6'%20d='m87.42994,204.96972c0,-1.84579%20-1.14618,-5.51965%20-2.04203,-11.07467c-1.18738,-7.36275%20-1.021,-16.61199%20-1.021,-24.91798c0,-8.30599%203.39199,-15.16636%208.16807,-21.22643c6.29732,-7.99029%2015.72902,-15.76546%2022.46223,-18.45777c7.69972,-3.07879%2016.27282,-3.22853%2022.46223,-3.69155c7.12271,-0.53284%2014.29414,1.84577%2019.39919,5.53732c5.10505,3.69156%2010.79941,12.67733%2014.29414,20.30355c3.70672,8.08883%204.33436,13.80799%206.12607,24.91798c1.18738,7.36277%201.02099,11.99757%201.02099,11.99757c0,0.92287%200,1.84576%200,2.76866c0,0.92289%200,0.92289%200,1.84576c0,0.92289%200.13325,0.32866%20-0.01237,1.98987l0.14409,3.54746'%20id='svg_6'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m76.48487,73.41126c-0.60606,0%20-1.50682,0.49924%20-1.81818,1.81818c-0.27849,1.1797%20-0.46386,3.72864%200,4.84849c0.656,1.58372%202.31743,2.11288%203.63637,2.42424c0.58984,0.13924%202.43787,0.22215%204.24242,0c2.48013,-0.30531%203.35787,-1.24454%203.63636,-2.42424c0.31136,-1.31894%201.21213,-1.81818%201.21213,-3.63637c0,-1.21212%20-0.71097,-2.33498%20-1.21213,-3.0303c-0.79239,-1.09939%20-1.32485,-1.63184%20-2.42424,-2.42424c-0.69531,-0.50115%20-1.81818,-1.21212%20-2.42424,-1.81818c0,0%20-1.21212,0%20-2.42425,0c-1.21212,0%20-1.81818,0%20-2.42424,0.60606l0,0.60606l0,0.60606l0,0.60606'%20id='svg_11'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m171.6364,77.09092c0,0%20-0.60606,1.21212%20-0.60606,2.42424c0,1.21212%200.09227,1.96039%201.21211,2.42424c0.79185,0.328%201.81819,1.21212%202.42426,1.21212c0.60605,0%201.81818,0%202.42424,0c1.21211,0%201.8643,0.23193%202.42424,0c0.79185,-0.328%201.81818,-1.81818%201.81818,-2.42424c0,-1.21212%20-0.46387,-1.91045%200,-3.0303c0.328,-0.79185%200.60606,-1.21212%200.60606,-2.42424c0,-0.60606%20-0.60606,-2.42424%20-1.21211,-3.0303c0,0%20-0.17752,-0.17751%20-0.60606,-0.60606c-0.42856,-0.42855%20-0.60606,-0.60606%20-0.60606,-0.60606c-1.21213,0%20-2.42424,0%20-3.0303,0c-1.81818,0%20-2.51651,0.1422%20-3.63637,0.60606c-0.79185,0.328%20-0.41972,0.71879%20-1.21211,1.81818c-0.50116,0.69532%20-1.21213,1.21212%20-1.21213,3.63637c0,0.60606%200,1.21212%200.60606,1.21212l0,0.60606'%20id='svg_16'%20stroke='%23000'%20fill='none'/%3e%3c/g%3e%3c/svg%3e",gw={},mw={class:"flex text-sm"},vw={class:"flex-1 ml-2"},yw={class:"font-bold text-base"};function _w(e,t){return ve(),at("div",mw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:pw,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",vw,[ie("p",yw,ke(e.$t("something.title")),1),ie("p",null,ke(e.$t("something.description")),1)])])}const xw=wa(gw,[["render",_w]]),ww=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,bw={class:"flex text-sm"},Ew={class:"flex-1 ml-2"},Sw={class:"font-bold text-base"},Cw={key:0},Pw={key:1},Tw=ze({__name:"PictureBrightEgg",setup(e){const t=Ee(!1);return wt(()=>{t.value=xa().includes("picture-nolights")}),(n,s)=>{const o=mo;return ve(),qe(o,null,{default:_n(()=>[ie("div",bw,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:ww,alt:"",class:"h-full w-full"})])],-1)),ie("div",Ew,[ie("p",Sw,ke(n.$t("bright.title")),1),te(t)?ut("",!0):(ve(),at("p",Cw,ke(n.$t("bright.description")),1)),te(t)?(ve(),at("p",Pw,ke(n.$t("bright_either.description")),1)):ut("",!0)])])]),_:1})}}}),Lw=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,Rw={class:"flex text-sm"},kw={class:"flex-1 ml-2"},Aw={class:"font-bold text-base"},Iw={key:0},Ow={key:1},Nw=ze({__name:"PictureNoLightEgg",setup(e){const t=Ee(!1);return wt(()=>{t.value=xa().includes("picture-bright")}),(n,s)=>{const o=mo;return ve(),qe(o,null,{default:_n(()=>[ie("div",Rw,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Lw,alt:"",class:"h-full w-full"})])],-1)),ie("div",kw,[ie("p",Aw,ke(n.$t("dark.title")),1),te(t)?ut("",!0):(ve(),at("p",Iw,ke(n.$t("dark.description")),1)),te(t)?(ve(),at("p",Ow,ke(n.$t("dark_either.description")),1)):ut("",!0)])])]),_:1})}}}),Mw={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},Dw={class:"flex text-sm"},Fw={class:"flex-1"},$w={class:"mt-1 text-center"},Hw={key:0},Uw={key:1},Bw=ze({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ee(!1),s=Ee(""),o=Ee(G1()),r=Ee(0);wt(()=>{r.value=Dc()});let i=null;function a(d){s.value=d,r.value=Dc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(d,u)=>{const h=iw,f=hw,c=xw,p=Tw,g=Nw,v=mo;return ve(),qe(v,null,{default:_n(()=>[te(n)?(ve(),at("div",Mw,[ie("div",{class:Vs(`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 ${te(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[ie("div",Dw,[ie("div",Fw,[te(s)==="cookie"?(ve(),qe(h,{key:0})):ut("",!0),te(s)==="future"?(ve(),qe(f,{key:1})):ut("",!0),te(s)==="change-something"?(ve(),qe(c,{key:2})):ut("",!0),te(s)==="picture-bright"?(ve(),qe(p,{key:3})):ut("",!0),te(s)==="picture-nolights"?(ve(),qe(g,{key:4})):ut("",!0),ie("div",$w,[te(r)!=te(o)?(ve(),at("p",Hw,ke(te(r))+"/"+ke(te(o))+" "+ke(d.$t("easter eggs found")),1)):ut("",!0),te(r)===te(o)?(ve(),at("p",Uw,ke(d.$t("all easter eggs found")),1)):ut("",!0)])])])],2)])):ut("",!0)]),_:1})}}});function Jd(){return localStorage.getItem("theme")??"dark"}function Vw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function cb(){Vw(Jd()==="dark"?"light":"dark")}function qd(e){switch(e||(e=Jd()),e){case"dark":document.documentElement.classList.add("dark");break;case"light":document.documentElement.classList.remove("dark");break;default:document.documentElement.classList.add("dark");break}}const jw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},Ww={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},Kw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},Gw={__name:"app",setup(e){const{locale:t}=go(),n=Ee(),s=Ee(!1);return wt(()=>{qd(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Cl({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),ht(t,o=>{Cl({htmlAttrs:{lang:o}})}),(o,r)=>{const i=M1,a=U1,l=ew,d=Bw;return te(s)?(ve(),at("div",jw,[ie("div",Ww,[ie("div",Kw,[Ae(a,null,{default:_n(()=>[Ae(i)]),_:1})])]),Ae(l),Ae(d,{ref_key:"easteregg",ref:n},null,512)])):ut("",!0)}}};async function Qd(e,t=Qe()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Qd(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const Xw=(...e)=>e.find(t=>t!==void 0);function Yw(e){const t=e.componentName||"NuxtLink";function n(o,r){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Fc(o,e.trailingSlash);const i="path"in o&&o.path!==void 0?o.path:r(o).path;return{...o,name:void 0,path:Fc(i,e.trailingSlash)}}function s(o){const r=Qe(),i=pt(),a=ge(()=>!!o.target&&o.target!=="_self"),l=ge(()=>{const g=o.to||o.href||"";return typeof g=="string"&&bt(g,{acceptRelative:!0})}),d=Ma("RouterLink"),u=d&&typeof d!="string"?d.useLink:void 0,h=ge(()=>{if(o.external)return!0;const g=o.to||o.href||"";return typeof g=="object"?!1:g===""||l.value}),f=ge(()=>{const g=o.to||o.href||"";return h.value?g:n(g,r.resolve)}),c=h.value||u==null?void 0:u({...o,to:f}),p=ge(()=>{var g;if(!f.value||l.value)return f.value;if(h.value){const v=typeof f.value=="object"&&"path"in f.value?hi(f.value):f.value,w=typeof v=="object"?r.resolve(v).href:v;return n(w,r.resolve)}return typeof f.value=="object"?((g=r.resolve(f.value))==null?void 0:g.href)??null:n(Fn(i.app.baseURL,f.value),r.resolve)});return{to:f,hasTarget:a,isAbsoluteUrl:l,isExternal:h,href:p,isActive:(c==null?void 0:c.isActive)??ge(()=>f.value===r.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??ge(()=>f.value===r.currentRoute.value.path),route:(c==null?void 0:c.route)??ge(()=>r.resolve(f.value)),async navigate(){await If(p.value,{replace:o.replace,external:h.value||a.value})}}}return ze({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:s,setup(o,{slots:r}){const i=Qe(),{to:a,href:l,navigate:d,isExternal:u,hasTarget:h,isAbsoluteUrl:f}=s(o),c=Ee(!1),p=Ee(null),g=b=>{var y;p.value=o.custom?(y=b==null?void 0:b.$el)==null?void 0:y.nextElementSibling:b==null?void 0:b.$el};function v(b){var y,_;return!c.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===b:((y=o.prefetchOn)==null?void 0:y[b])??((_=e.prefetchOn)==null?void 0:_[b]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!Qw()}async function w(b=me()){if(c.value)return;c.value=!0;const y=typeof a.value=="string"?a.value:u.value?hi(a.value):i.resolve(a.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",y).catch(()=>{}),!u.value&&!h.value&&Qd(a.value,i).catch(()=>{})])}if(v("visibility")){const b=me();let y,_=null;wt(()=>{const m=qw();so(()=>{y=bi(()=>{var x;(x=p==null?void 0:p.value)!=null&&x.tagName&&(_=m.observe(p.value,async()=>{_==null||_(),_=null,await w(b)}))})})}),jr(()=>{y&&S0(y),_==null||_(),_=null})}return()=>{var _;if(!u.value&&!h.value){const m={ref:g,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(v("interaction")&&(m.onPointerenter=w.bind(null,void 0),m.onFocus=w.bind(null,void 0)),c.value&&(m.class=o.prefetchedClass||e.prefetchedClass),m.rel=o.rel||void 0),Ye(Ma("RouterLink"),m,r.default)}const b=o.target||null,y=Xw(o.noRel?"":o.rel,e.externalRelAttribute,f.value||h.value?"noopener noreferrer":"")||null;return o.custom?r.default?r.default({href:l.value,navigate:d,prefetch:w,get route(){if(!l.value)return;const m=new URL(l.value,window.location.href);return{path:m.pathname,fullPath:m.pathname,get query(){return na(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:y,target:b,isExternal:u.value||h.value,isActive:!1,isExactActive:!1}):null:Ye("a",{ref:p,href:l.value||null,rel:y,target:b},(_=r.default)==null?void 0:_.call(r))}}})}const Jw=Yw(Om);function Fc(e,t){const n=t==="append"?Nr:Kr;return bt(e)&&!e.startsWith("http")?e:n(e,!0)}function qw(){const e=me();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const d=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&d&&d()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function Qw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const zw=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,Zw={class:"bg-gray-100 text-gray-900 min-h-screen h-full dark:bg-gray-900 dark:text-slate-50 flex justify-center items-center",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},eb={class:"text-2xl md:text-4xl text-center"},tb=ze({__name:"error",setup(e){const t=C1();return wt(()=>{qd()}),(n,s)=>{const o=Jw;return ve(),at("div",Zw,[ie("div",null,[ie("p",eb,ke(n.$t("wrong directions")),1),s[0]||(s[0]=ie("img",{src:zw,class:"mx-auto my-2",alt:""},null,-1)),Ae(o,{to:te(t)("/"),class:"block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200"},{default:_n(()=>[qs(ke(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),nb={key:0},$c={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);Qe().beforeEach(l)}const o=!1;un(Gr,Zs()),n.hooks.callHookWith(l=>l.map(d=>d()),"vue:setup");const r=eo(),i=!1;Ru((l,d,u)=>{if(n.hooks.callHook("vue:error",l,d,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),iv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Gn(l)),!1});const a=!1;return(l,d)=>(ve(),qe(Zi,{onResolve:te(s)},{default:_n(()=>[te(i)?(ve(),at("div",nb)):te(r)?(ve(),qe(te(tb),{key:1,error:te(r)},null,8,["error"])):te(a)?(ve(),qe(te(t),{key:2,context:te(a)},null,8,["context"])):te(o)?(ve(),qe(lp(te(o)),{key:3})):(ve(),qe(te(Gw),{key:4}))]),_:1},8,["onResolve"]))}};let Hc;{let e;Hc=async function(){var i,a;if(e)return e;const s=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Tg($c):Pg($c),o=Fm({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||to(l)}s.config.errorHandler=r;try{await Um(o,O1)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Mm),await o.hooks.callHook("app:mounted",s),await yn()}catch(l){r(l)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=Hc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ib as A,Di as B,cb as C,qd as D,P1 as E,Ke as F,Jw as G,C1 as H,Qe as I,wa as _,Zs as a,K1 as b,ve as c,ze as d,at as e,ie as f,Jd as g,te as h,ut as i,Cl as j,ge as k,ht as l,Ae as m,_n as n,wt as o,qs as p,lb as q,Ee as r,ob as s,ke as t,go as u,ab as v,rb as w,sb as x,Vs as y,qe as z};