mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
72 lines
340 KiB
JavaScript
72 lines
340 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BdB7XlPh.js","./5XfhJFCT.js","./C_GD9Inf.js","./about.DQ3KPf58.css","./CfC9Zfna.js","./BrI7lM20.js","./DEcDm17L.js","./CxdKCF85.js","./resume.Ce14pIsp.css"])))=>i.map(i=>d[i]);
|
||
var oh=Object.defineProperty;var ih=(e,t,n)=>t in e?oh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var rn=(e,t,n)=>ih(e,typeof t!="symbol"?t+"":t,n);/**
|
||
* @vue/shared v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function $i(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},Qn=[],Bt=()=>{},ah=()=>!1,Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Hi=e=>e.startsWith("onUpdate:"),qe=Object.assign,Ui=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},lh=Object.prototype.hasOwnProperty,Ee=(e,t)=>lh.call(e,t),ae=Array.isArray,zn=e=>Kr(e)==="[object Map]",Bc=e=>Kr(e)==="[object Set]",ch=e=>Kr(e)==="[object RegExp]",le=e=>typeof e=="function",Me=e=>typeof e=="string",tn=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Vc=e=>(ke(e)||le(e))&&le(e.then)&&le(e.catch),jc=Object.prototype.toString,Kr=e=>jc.call(e),uh=e=>Kr(e).slice(8,-1),Wc=e=>Kr(e)==="[object Object]",Bi=e=>Me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zn=$i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ks=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fh=/-(\w)/g,wt=Ks(e=>e.replace(fh,(t,n)=>n?n.toUpperCase():"")),dh=/\B([A-Z])/g,Hn=Ks(e=>e.replace(dh,"-$1").toLowerCase()),Gs=Ks(e=>e.charAt(0).toUpperCase()+e.slice(1)),wo=Ks(e=>e?`on${Gs(e)}`:""),hn=(e,t)=>!Object.is(e,t),_r=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Kc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},hh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Gc=e=>{const t=Me(e)?Number(e):NaN;return isNaN(t)?e:t};let Ca;const Ys=()=>Ca||(Ca=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vi(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Me(s)?vh(s):Vi(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Me(e)||ke(e))return e}const ph=/;(?![^(]*\))/g,gh=/:([^]+)/,mh=/\/\*[^]*?\*\//g;function vh(e){const t={};return e.replace(mh,"").split(ph).forEach(n=>{if(n){const s=n.split(gh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Xs(e){let t="";if(Me(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const s=Xs(e[n]);s&&(t+=s+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const yh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_h=$i(yh);function Yc(e){return!!e||e===""}const Xc=e=>!!(e&&e.__v_isRef===!0),Ae=e=>Me(e)?e:e==null?"":ae(e)||ke(e)&&(e.toString===jc||!le(e.toString))?Xc(e)?Ae(e.value):JSON.stringify(e,qc,2):String(e),qc=(e,t)=>Xc(t)?qc(e,t.value):zn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[Eo(s,r)+" =>"]=o,n),{})}:Bc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Eo(n))}:tn(t)?Eo(t):ke(t)&&!ae(t)&&!Wc(t)?String(t):t,Eo=(e,t="")=>{var n;return tn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let it;class Jc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=it,!t&&it&&(this.index=(it.scopes||(it.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=it;try{return it=this,t()}finally{it=n}}}on(){it=this}off(){it=this.parent}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function ji(e){return new Jc(e)}function qs(){return it}function Go(e,t=!1){it&&it.cleanups.push(e)}let Re;const bo=new WeakSet;class Qc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,it&&it.active&&it.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,bo.has(this)&&(bo.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zc(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Pa(this),eu(this);const t=Re,n=It;Re=this,It=!0;try{return this.fn()}finally{tu(this),Re=t,It=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gi(t);this.deps=this.depsTail=void 0,Pa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?bo.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Yo(this)&&this.run()}get dirty(){return Yo(this)}}let zc=0,xr,Sr;function Zc(e,t=!1){if(e.flags|=8,t){e.next=Sr,Sr=e;return}e.next=xr,xr=e}function Wi(){zc++}function Ki(){if(--zc>0)return;if(Sr){let t=Sr;for(Sr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;xr;){let t=xr;for(xr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function eu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function tu(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Gi(s),xh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function Yo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(nu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function nu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===kr))return;e.globalVersion=kr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Yo(e)){e.flags&=-3;return}const n=Re,s=It;Re=e,It=!0;try{eu(e);const o=e.fn(e._value);(t.version===0||hn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Re=n,It=s,tu(e),e.flags&=-3}}function Gi(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)Gi(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let It=!0;const ru=[];function yn(){ru.push(It),It=!1}function _n(){const e=ru.pop();It=e===void 0?!0:e}function Pa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let kr=0;class Sh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Js{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Re||!It||Re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Re)n=this.activeLink=new Sh(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,su(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=Re.depsTail,n.nextDep=void 0,Re.depsTail.nextDep=n,Re.depsTail=n,Re.deps===n&&(Re.deps=s)}return n}trigger(t){this.version++,kr++,this.notify(t)}notify(t){Wi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ki()}}}function su(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)su(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,Mn=Symbol(""),Xo=Symbol(""),Ar=Symbol("");function et(e,t,n){if(It&&Re){let s=ws.get(e);s||ws.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new Js),o.map=s,o.key=n),o.track()}}function Jt(e,t,n,s,o,r){const i=ws.get(e);if(!i){kr++;return}const a=l=>{l&&l.trigger()};if(Wi(),t==="clear")i.forEach(a);else{const l=ae(e),f=l&&Bi(n);if(l&&n==="length"){const u=Number(s);i.forEach((h,d)=>{(d==="length"||d===Ar||!tn(d)&&d>=u)&&a(h)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Ar)),t){case"add":l?f&&a(i.get("length")):(a(i.get(Mn)),zn(e)&&a(i.get(Xo)));break;case"delete":l||(a(i.get(Mn)),zn(e)&&a(i.get(Xo)));break;case"set":zn(e)&&a(i.get(Mn));break}}Ki()}function wh(e,t){const n=ws.get(e);return n&&n.get(t)}function jn(e){const t=ve(e);return t===e?t:(et(t,"iterate",Ar),St(e)?t:t.map(tt))}function Qs(e){return et(e=ve(e),"iterate",Ar),e}const Eh={__proto__:null,[Symbol.iterator](){return Co(this,Symbol.iterator,tt)},concat(...e){return jn(this).concat(...e.map(t=>ae(t)?jn(t):t))},entries(){return Co(this,"entries",e=>(e[1]=tt(e[1]),e))},every(e,t){return jt(this,"every",e,t,void 0,arguments)},filter(e,t){return jt(this,"filter",e,t,n=>n.map(tt),arguments)},find(e,t){return jt(this,"find",e,t,tt,arguments)},findIndex(e,t){return jt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return jt(this,"findLast",e,t,tt,arguments)},findLastIndex(e,t){return jt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return jt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Po(this,"includes",e)},indexOf(...e){return Po(this,"indexOf",e)},join(e){return jn(this).join(e)},lastIndexOf(...e){return Po(this,"lastIndexOf",e)},map(e,t){return jt(this,"map",e,t,void 0,arguments)},pop(){return dr(this,"pop")},push(...e){return dr(this,"push",e)},reduce(e,...t){return Ta(this,"reduce",e,t)},reduceRight(e,...t){return Ta(this,"reduceRight",e,t)},shift(){return dr(this,"shift")},some(e,t){return jt(this,"some",e,t,void 0,arguments)},splice(...e){return dr(this,"splice",e)},toReversed(){return jn(this).toReversed()},toSorted(e){return jn(this).toSorted(e)},toSpliced(...e){return jn(this).toSpliced(...e)},unshift(...e){return dr(this,"unshift",e)},values(){return Co(this,"values",tt)}};function Co(e,t,n){const s=Qs(e),o=s[t]();return s!==e&&!St(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.value&&(r.value=n(r.value)),r}),o}const bh=Array.prototype;function jt(e,t,n,s,o,r){const i=Qs(e),a=i!==e&&!St(e),l=i[t];if(l!==bh[t]){const h=l.apply(e,r);return a?tt(h):h}let f=n;i!==e&&(a?f=function(h,d){return n.call(this,tt(h),d,e)}:n.length>2&&(f=function(h,d){return n.call(this,h,d,e)}));const u=l.call(i,f,s);return a&&o?o(u):u}function Ta(e,t,n,s){const o=Qs(e);let r=n;return o!==e&&(St(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,tt(a),l,e)}),o[t](r,...s)}function Po(e,t,n){const s=ve(e);et(s,"iterate",Ar);const o=s[t](...n);return(o===-1||o===!1)&&qi(n[0])?(n[0]=ve(n[0]),s[t](...n)):o}function dr(e,t,n=[]){yn(),Wi();const s=ve(e)[t].apply(e,n);return Ki(),_n(),s}const Ch=$i("__proto__,__v_isRef,__isVue"),ou=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tn));function Ph(e){tn(e)||(e=String(e));const t=ve(this);return et(t,"has",e),t.hasOwnProperty(e)}class iu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;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?Dh:uu:r?cu:lu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=Eh[n]))return l;if(n==="hasOwnProperty")return Ph}const a=Reflect.get(t,n,De(t)?t:s);return(tn(n)?ou.has(n):Ch(n))||(o||et(t,"get",n),r)?a:De(a)?i&&Bi(n)?a:a.value:ke(a)?o?fu(a):xn(a):a}}class au extends iu{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const l=vn(r);if(!St(s)&&!vn(s)&&(r=ve(r),s=ve(s)),!ae(t)&&De(r)&&!De(s))return l?!1:(r.value=s,!0)}const i=ae(t)&&Bi(n)?Number(n)<t.length:Ee(t,n),a=Reflect.set(t,n,s,De(t)?t:o);return t===ve(o)&&(i?hn(s,r)&&Jt(t,"set",n,s):Jt(t,"add",n,s)),a}deleteProperty(t,n){const s=Ee(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(!tn(n)||!ou.has(n))&&et(t,"has",n),s}ownKeys(t){return et(t,"iterate",ae(t)?"length":Mn),Reflect.ownKeys(t)}}class Th extends iu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Lh=new au,Rh=new Th,kh=new au(!0);const qo=e=>e,es=e=>Reflect.getPrototypeOf(e);function Ah(e,t,n){return function(...s){const o=this.__v_raw,r=ve(o),i=zn(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...s),u=n?qo:t?Jo:tt;return!t&&et(r,"iterate",l?Xo:Mn),{next(){const{value:h,done:d}=f.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ih(e,t){const n={get(o){const r=this.__v_raw,i=ve(r),a=ve(o);e||(hn(o,a)&&et(i,"get",o),et(i,"get",a));const{has:l}=es(i),f=t?qo:e?Jo:tt;if(l.call(i,o))return f(r.get(o));if(l.call(i,a))return f(r.get(a));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&et(ve(o),"iterate",Mn),Reflect.get(o,"size",o)},has(o){const r=this.__v_raw,i=ve(r),a=ve(o);return e||(hn(o,a)&&et(i,"has",o),et(i,"has",a)),o===a?r.has(o):r.has(o)||r.has(a)},forEach(o,r){const i=this,a=i.__v_raw,l=ve(a),f=t?qo:e?Jo:tt;return!e&&et(l,"iterate",Mn),a.forEach((u,h)=>o.call(r,f(u),f(h),i))}};return qe(n,e?{add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear")}:{add(o){!t&&!St(o)&&!vn(o)&&(o=ve(o));const r=ve(this);return es(r).has.call(r,o)||(r.add(o),Jt(r,"add",o,o)),this},set(o,r){!t&&!St(r)&&!vn(r)&&(r=ve(r));const i=ve(this),{has:a,get:l}=es(i);let f=a.call(i,o);f||(o=ve(o),f=a.call(i,o));const u=l.call(i,o);return i.set(o,r),f?hn(r,u)&&Jt(i,"set",o,r):Jt(i,"add",o,r),this},delete(o){const r=ve(this),{has:i,get:a}=es(r);let l=i.call(r,o);l||(o=ve(o),l=i.call(r,o)),a&&a.call(r,o);const f=r.delete(o);return l&&Jt(r,"delete",o,void 0),f},clear(){const o=ve(this),r=o.size!==0,i=o.clear();return r&&Jt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Ah(o,e,t)}),n}function Yi(e,t){const n=Ih(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(Ee(n,o)&&o in s?n:s,o,r)}const Oh={get:Yi(!1,!1)},Mh={get:Yi(!1,!0)},Nh={get:Yi(!0,!1)};const lu=new WeakMap,cu=new WeakMap,uu=new WeakMap,Dh=new WeakMap;function Fh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $h(e){return e.__v_skip||!Object.isExtensible(e)?0:Fh(uh(e))}function xn(e){return vn(e)?e:Xi(e,!1,Lh,Oh,lu)}function zt(e){return Xi(e,!1,kh,Mh,cu)}function fu(e){return Xi(e,!0,Rh,Nh,uu)}function Xi(e,t,n,s,o){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=$h(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function Nn(e){return vn(e)?Nn(e.__v_raw):!!(e&&e.__v_isReactive)}function vn(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function qi(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Hh(e){return!Ee(e,"__v_skip")&&Object.isExtensible(e)&&Kc(e,"__v_skip",!0),e}const tt=e=>ke(e)?xn(e):e,Jo=e=>ke(e)?fu(e):e;function De(e){return e?e.__v_isRef===!0:!1}function Ce(e){return du(e,!1)}function nr(e){return du(e,!0)}function du(e,t){return De(e)?e:new Uh(e,t)}class Uh{constructor(t,n){this.dep=new Js,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:tt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||St(t)||vn(t);t=s?t:ve(t),hn(t,n)&&(this._rawValue=t,this._value=s?t:tt(t),this.dep.trigger())}}function te(e){return De(e)?e.value:e}const Bh={get:(e,t,n)=>t==="__v_raw"?e:te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return De(o)&&!De(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function hu(e){return Nn(e)?e:new Proxy(e,Bh)}class Vh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Js,{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 jh(e){return new Vh(e)}class Wh{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 wh(ve(this._object),this._key)}}class Kh{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 pu(e,t,n){return De(e)?e:le(e)?new Kh(e):ke(e)&&arguments.length>1?Gh(e,t,n):Ce(e)}function Gh(e,t,n){const s=e[t];return De(s)?s:new Wh(e,t,n)}class Yh{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Js(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=kr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Re!==this)return Zc(this,!0),!0}get value(){const t=this.dep.track();return nu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xh(e,t,n=!1){let s,o;return le(e)?s=e:(s=e.get,o=e.set),new Yh(s,o,n)}const ns={},Es=new WeakMap;let On;function qh(e,t=!1,n=On){if(n){let s=Es.get(n);s||Es.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,f=_=>o?_:St(_)||o===!1||o===0?Qt(_,1):Qt(_);let u,h,d,c,p=!1,g=!1;if(De(e)?(h=()=>e.value,p=St(e)):Nn(e)?(h=()=>f(e),p=!0):ae(e)?(g=!0,p=e.some(_=>Nn(_)||St(_)),h=()=>e.map(_=>{if(De(_))return _.value;if(Nn(_))return f(_);if(le(_))return l?l(_,2):_()})):le(e)?t?h=l?()=>l(e,2):e:h=()=>{if(d){yn();try{d()}finally{_n()}}const _=On;On=u;try{return l?l(e,3,[c]):e(c)}finally{On=_}}:h=Bt,t&&o){const _=h,m=o===!0?1/0:o;h=()=>Qt(_(),m)}const v=qs(),S=()=>{u.stop(),v&&v.active&&Ui(v.effects,u)};if(r&&t){const _=t;t=(...m)=>{_(...m),S()}}let w=g?new Array(e.length).fill(ns):ns;const y=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const m=u.run();if(o||p||(g?m.some((x,E)=>hn(x,w[E])):hn(m,w))){d&&d();const x=On;On=u;try{const E=[m,w===ns?void 0:g&&w[0]===ns?[]:w,c];l?l(t,3,E):t(...E),w=m}finally{On=x}}}else u.run()};return a&&a(y),u=new Qc(h),u.scheduler=i?()=>i(y,!1):y,c=_=>qh(_,!1,u),d=u.onStop=()=>{const _=Es.get(u);if(_){if(l)l(_,4);else for(const m of _)m();Es.delete(u)}},t?s?y(!0):w=u.run():i?i(y.bind(null,!0),!0):u.run(),S.pause=u.pause.bind(u),S.resume=u.resume.bind(u),S.stop=S,S}function Qt(e,t=1/0,n){if(t<=0||!ke(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,De(e))Qt(e.value,t,n);else if(ae(e))for(let s=0;s<e.length;s++)Qt(e[s],t,n);else if(Bc(e)||zn(e))e.forEach(s=>{Qt(s,t,n)});else if(Wc(e)){for(const s in e)Qt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Qt(e[s],t,n)}return e}/**
|
||
* @vue/runtime-core v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Gr(e,t,n,s){try{return s?e(...s):e()}catch(o){Yr(o,t,n)}}function Ot(e,t,n,s){if(le(e)){const o=Gr(e,t,n,s);return o&&Vc(o)&&o.catch(r=>{Yr(r,t,n)}),o}if(ae(e)){const o=[];for(let r=0;r<e.length;r++)o.push(Ot(e[r],t,n,s));return o}}function Yr(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,f=`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,f)===!1)return}a=a.parent}if(r){yn(),Gr(r,null,10,[e,l,f]),_n();return}}Qh(e,n,o,s,i)}function Qh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const at=[];let $t=-1;const er=[];let an=null,Yn=0;const gu=Promise.resolve();let bs=null;function Sn(e){const t=bs||gu;return e?t.then(this?e.bind(this):e):t}function zh(e){let t=$t+1,n=at.length;for(;t<n;){const s=t+n>>>1,o=at[s],r=Ir(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function Ji(e){if(!(e.flags&1)){const t=Ir(e),n=at[at.length-1];!n||!(e.flags&2)&&t>=Ir(n)?at.push(e):at.splice(zh(t),0,e),e.flags|=1,mu()}}function mu(){bs||(bs=gu.then(vu))}function Qo(e){ae(e)?er.push(...e):an&&e.id===-1?an.splice(Yn+1,0,e):e.flags&1||(er.push(e),e.flags|=1),mu()}function La(e,t,n=$t+1){for(;n<at.length;n++){const s=at[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;at.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Cs(e){if(er.length){const t=[...new Set(er)].sort((n,s)=>Ir(n)-Ir(s));if(er.length=0,an){an.push(...t);return}for(an=t,Yn=0;Yn<an.length;Yn++){const n=an[Yn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}an=null,Yn=0}}const Ir=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vu(e){try{for($t=0;$t<at.length;$t++){const t=at[$t];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Gr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;$t<at.length;$t++){const t=at[$t];t&&(t.flags&=-2)}$t=-1,at.length=0,Cs(),bs=null,(at.length||er.length)&&vu()}}let We=null,yu=null;function Ps(e){const t=We;return We=e,yu=e&&e.type.__scopeId||null,t}function wn(e,t=We,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Ba(-1);const r=Ps(t);let i;try{i=e(...o)}finally{Ps(r),s._d&&Ba(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Rw(e,t){if(We===null)return e;const n=ro(We),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&&Qt(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Ht(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&&(yn(),Ot(l,n,8,[e.el,a,e,t]),_n())}}const Zh=Symbol("_vte"),_u=e=>e.__isTeleport,ln=Symbol("_leaveCb"),rs=Symbol("_enterCb");function ep(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bt(()=>{e.isMounted=!0}),Xr(()=>{e.isUnmounting=!0}),e}const yt=[Function,Array],xu={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:yt,onEnter:yt,onAfterEnter:yt,onEnterCancelled:yt,onBeforeLeave:yt,onLeave:yt,onAfterLeave:yt,onLeaveCancelled:yt,onBeforeAppear:yt,onAppear:yt,onAfterAppear:yt,onAppearCancelled:yt},Su=e=>{const t=e.subTree;return t.component?Su(t.component):t},tp={name:"BaseTransition",props:xu,setup(e,{slots:t}){const n=Un(),s=ep();return()=>{const o=t.default&&bu(t.default(),!0);if(!o||!o.length)return;const r=wu(o),i=ve(e),{mode:a}=i;if(s.isLeaving)return To(r);const l=Ra(r);if(!l)return To(r);let f=zo(l,i,s,n,h=>f=h);l.type!==je&&rr(l,f);let u=n.subTree&&Ra(n.subTree);if(u&&u.type!==je&&!Rt(l,u)&&Su(n).type!==je){let h=zo(u,i,s,n);if(rr(u,h),a==="out-in"&&l.type!==je)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},To(r);a==="in-out"&&l.type!==je?h.delayLeave=(d,c,p)=>{const g=Eu(s,u);g[String(u.key)]=u,d[ln]=()=>{c(),d[ln]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{p(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function wu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==je){t=n;break}}return t}const np=tp;function Eu(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 zo(e,t,n,s,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:c,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:S,onAfterAppear:w,onAppearCancelled:y}=t,_=String(e.key),m=Eu(n,e),x=(P,L)=>{P&&Ot(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()},b={mode:i,persisted:a,beforeEnter(P){let L=l;if(!n.isMounted)if(r)L=v||l;else return;P[ln]&&P[ln](!0);const T=m[_];T&&Rt(e,T)&&T.el[ln]&&T.el[ln](),x(L,[P])},enter(P){let L=f,T=u,C=h;if(!n.isMounted)if(r)L=S||f,T=w||u,C=y||h;else return;let O=!1;const $=P[rs]=F=>{O||(O=!0,F?x(C,[P]):x(T,[P]),b.delayedLeave&&b.delayedLeave(),P[rs]=void 0)};L?E(L,[P,$]):$()},leave(P,L){const T=String(e.key);if(P[rs]&&P[rs](!0),n.isUnmounting)return L();x(d,[P]);let C=!1;const O=P[ln]=$=>{C||(C=!0,L(),$?x(g,[P]):x(p,[P]),P[ln]=void 0,m[T]===e&&delete m[T])};m[T]=e,c?E(c,[P,O]):O()},clone(P){const L=zo(P,t,n,s,o);return o&&o(L),L}};return b}function To(e){if(zs(e))return e=en(e),e.children=null,e}function Ra(e){if(!zs(e))return _u(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 rr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rr(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 bu(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===Ge?(i.patchFlag&128&&o++,s=s.concat(bu(i.children,t,a))):(t||i.type!==je)&&s.push(a!=null?en(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)?qe({name:e.name},t,{setup:e}):e}function Cu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Or(e,t,n,s,o=!1){if(ae(e)){e.forEach((p,g)=>Or(p,t&&(ae(t)?t[g]:t),n,s,o));return}if(pn(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Or(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?ro(s.component):s.el,i=o?null:r,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,h=a.setupState,d=ve(h),c=h===Le?()=>!1:p=>Ee(d,p);if(f!=null&&f!==l&&(Me(f)?(u[f]=null,c(f)&&(h[f]=null)):De(f)&&(f.value=null)),le(l))Gr(l,a,12,[i,u]);else{const p=Me(l),g=De(l);if(p||g){const v=()=>{if(e.f){const S=p?c(l)?h[l]:u[l]:l.value;o?ae(S)&&Ui(S,r):ae(S)?S.includes(r)||S.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 ka=!1;const Wn=()=>{ka||(console.error("Hydration completed but contains mismatches."),ka=!0)},rp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",sp=e=>e.namespaceURI.includes("MathML"),ss=e=>{if(e.nodeType===1){if(rp(e))return"svg";if(sp(e))return"mathml"}},os=e=>e.nodeType===8;function op(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:f}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),Cs(),_._vnode=y;return}h(_.firstChild,y,null,null,null),Cs(),_._vnode=y},h=(y,_,m,x,E,b=!1)=>{b=b||!!_.dynamicChildren;const P=os(y)&&y.data==="[",L=()=>g(y,_,m,x,E,P),{type:T,ref:C,shapeFlag:O,patchFlag:$}=_;let F=y.nodeType;_.el=y,$===-2&&(b=!1,_.dynamicChildren=null);let U=null;switch(T){case mn:F!==3?_.children===""?(l(_.el=o(""),i(y),y),U=y):U=L():(y.data!==_.children&&(Wn(),y.data=_.children),U=r(y));break;case je:w(y)?(U=r(y),S(_.el=y.content.firstChild,y,m)):F!==8||P?U=L():U=r(y);break;case Er:if(P&&(y=r(y),F=y.nodeType),F===1||F===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 Ge:P?U=p(y,_,m,x,E,b):U=L();break;default:if(O&1)(F!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!w(y)?U=L():U=d(y,_,m,x,E,b);else if(O&6){_.slotScopeIds=E;const j=i(y);if(P?U=v(y):os(y)&&y.data==="teleport start"?U=v(y,y.data,"teleport end"):U=r(y),t(_,j,null,m,x,ss(j),b),pn(_)&&!_.type.__asyncResolved){let Y;P?(Y=Ie(Ge),Y.anchor=U?U.previousSibling:j.lastChild):Y=y.nodeType===3?no(""):Ie("div"),Y.el=y,_.component.subTree=Y}}else O&64?F!==8?U=L():U=_.type.hydrate(y,_,m,x,E,b,e,c):O&128&&(U=_.type.hydrate(y,_,m,x,ss(i(y)),E,b,e,h))}return C!=null&&Or(C,null,x,_),U},d=(y,_,m,x,E,b)=>{b=b||!!_.dynamicChildren;const{type:P,props:L,patchFlag:T,shapeFlag:C,dirs:O,transition:$}=_,F=P==="input"||P==="option";if(F||T!==-1){O&&Ht(_,null,m,"created");let U=!1;if(w(y)){U=qu(null,$)&&m&&m.vnode.props&&m.vnode.props.appear;const Y=y.content.firstChild;U&&$.beforeEnter(Y),S(Y,y,m),_.el=y=Y}if(C&16&&!(L&&(L.innerHTML||L.textContent))){let Y=c(y.firstChild,_,y,m,x,E,b);for(;Y;){is(y,1)||Wn();const se=Y;Y=Y.nextSibling,a(se)}}else if(C&8){let Y=_.children;Y[0]===`
|
||
`&&(y.tagName==="PRE"||y.tagName==="TEXTAREA")&&(Y=Y.slice(1)),y.textContent!==Y&&(is(y,0)||Wn(),y.textContent=_.children)}if(L){if(F||!b||T&48){const Y=y.tagName.includes("-");for(const se in L)(F&&(se.endsWith("value")||se==="indeterminate")||Wr(se)&&!Zn(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&&Nn(L.style))for(const Y in L.style)L.style[Y]}let j;(j=L&&L.onVnodeBeforeMount)&&ut(j,m,_),O&&Ht(_,null,m,"beforeMount"),((j=L&&L.onVnodeMounted)||O||U)&&tf(()=>{j&&ut(j,m,_),U&&$.enter(y),O&&Ht(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,E,b,P)=>{P=P||!!_.dynamicChildren;const L=_.children,T=L.length;for(let C=0;C<T;C++){const O=P?L[C]:L[C]=vt(L[C]),$=O.type===mn;y?($&&!P&&C+1<T&&vt(L[C+1]).type===mn&&(l(o(y.data.slice(O.children.length)),m,r(y)),y.data=O.children),y=h(y,O,x,E,b,P)):$&&!O.children?l(O.el=o(""),m):(is(m,1)||Wn(),n(null,O,m,null,x,E,ss(m),b))}return y},p=(y,_,m,x,E,b)=>{const{slotScopeIds:P}=_;P&&(E=E?E.concat(P):P);const L=i(y),T=c(r(y),_,L,m,x,E,b);return T&&os(T)&&T.data==="]"?r(_.anchor=T):(Wn(),l(_.anchor=f("]"),L,T),T)},g=(y,_,m,x,E,b)=>{if(is(y.parentElement,1)||Wn(),_.el=null,b){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,ss(L),E),m&&(m.vnode.el=_.el,to(m,_.el)),P},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&os(y)&&(y.data===_&&x++,y.data===m)){if(x===0)return r(y);x--}return y},S=(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},w=y=>y.nodeType===1&&y.tagName==="TEMPLATE";return[u,h]}const Aa="data-allow-mismatch",ip={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function is(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Aa);)e=e.parentElement;const n=e&&e.getAttribute(Aa);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(ip[t])}}Ys().requestIdleCallback;Ys().cancelIdleCallback;const pn=e=>!!e.type.__asyncLoader,zs=e=>e.type.__isKeepAlive,ap={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Un(),s=n.ctx;if(!s.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:f,um:u,o:{createElement:h}}}=s,d=h("div");s.activate=(w,y,_,m,x)=>{const E=w.component;f(w,y,_,0,a),l(E.vnode,w,y,_,E,a,m,w.slotScopeIds,x),Je(()=>{E.isDeactivated=!1,E.a&&_r(E.a);const b=w.props&&w.props.onVnodeMounted;b&&ut(b,E.parent,w)},a)},s.deactivate=w=>{const y=w.component;Ls(y.m),Ls(y.a),f(w,d,null,1,a),Je(()=>{y.da&&_r(y.da);const _=w.props&&w.props.onVnodeUnmounted;_&&ut(_,y.parent,w),y.isDeactivated=!0},a)};function c(w){Lo(w),u(w,n,a,!0)}function p(w){o.forEach((y,_)=>{const m=ii(y.type);m&&!w(m)&&g(_)})}function g(w){const y=o.get(w);y&&(!i||!Rt(y,i))?c(y):i&&Lo(i),o.delete(w),r.delete(w)}pt(()=>[e.include,e.exclude],([w,y])=>{w&&p(_=>vr(w,_)),y&&p(_=>!vr(y,_))},{flush:"post",deep:!0});let v=null;const S=()=>{v!=null&&(Rs(n.subTree.type)?Je(()=>{o.set(v,as(n.subTree))},n.subTree.suspense):o.set(v,as(n.subTree)))};return bt(S),Ru(S),Xr(()=>{o.forEach(w=>{const{subTree:y,suspense:_}=n,m=as(y);if(w.type===m.type&&w.key===m.key){Lo(m);const x=m.component.da;x&&Je(x,_);return}c(w)})}),()=>{if(v=null,!t.default)return i=null;const w=t.default(),y=w[0];if(w.length>1)return i=null,w;if(!$n(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=as(y);if(_.type===je)return i=null,_;const m=_.type,x=ii(pn(_)?_.type.__asyncResolved||{}:m),{include:E,exclude:b,max:P}=e;if(E&&(!x||!vr(E,x))||b&&x&&vr(b,x))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,T=o.get(L);return _.el&&(_=en(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,T?(_.el=T.el,_.component=T.component,_.transition&&rr(_,_.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=_,Rs(y.type)?y:_}}},lp=ap;function vr(e,t){return ae(e)?e.some(n=>vr(n,t)):Me(e)?e.split(",").includes(t):ch(e)?(e.lastIndex=0,e.test(t)):!1}function Pu(e,t){Lu(e,"a",t)}function Tu(e,t){Lu(e,"da",t)}function Lu(e,t,n=Ye){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Zs(t,s,n),n){let o=n.parent;for(;o&&o.parent;)zs(o.parent.vnode)&&cp(s,t,n,o),o=o.parent}}function cp(e,t,n,s){const o=Zs(t,e,s,!0);Qi(()=>{Ui(s[t],o)},n)}function Lo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function as(e){return e.shapeFlag&128?e.ssContent:e}function Zs(e,t,n=Ye,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{yn();const a=qr(n),l=Ot(t,n,e,i);return a(),_n(),l});return s?o.unshift(r):o.push(r),r}}const nn=e=>(t,n=Ye)=>{(!Nr||e==="sp")&&Zs(e,(...s)=>t(...s),n)},up=nn("bm"),bt=nn("m"),fp=nn("bu"),Ru=nn("u"),Xr=nn("bum"),Qi=nn("um"),dp=nn("sp"),hp=nn("rtg"),pp=nn("rtc");function ku(e,t=Ye){Zs("ec",e,t)}const Au="components";function Ia(e,t){return Ou(Au,e,!0,t)||e}const Iu=Symbol.for("v-ndc");function gp(e){return Me(e)?Ou(Au,e,!1)||e:e||Iu}function Ou(e,t,n=!0,s=!1){const o=We||Ye;if(o){const r=o.type;{const a=ii(r,!1);if(a&&(a===t||a===wt(t)||a===Gs(wt(t))))return r}const i=Oa(o[e]||r[e],t)||Oa(o.appContext[e],t);return!i&&s?r:i}}function Oa(e,t){return e&&(e[t]||e[wt(t)]||e[Gs(wt(t))])}function kw(e,t,n,s){let o;const r=n,i=ae(e);if(i||Me(e)){const a=i&&Nn(e);let l=!1;a&&(l=!St(e),e=Qs(e)),o=new Array(e.length);for(let f=0,u=e.length;f<u;f++)o[f]=t(l?tt(e[f]):e[f],f,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(ke(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,f=a.length;l<f;l++){const u=a[l];o[l]=t(e[u],u,l,r)}}else o=[];return o}function Aw(e,t,n={},s,o){if(We.ce||We.parent&&pn(We.parent)&&We.parent.ce)return ye(),Qe(Ge,null,[Ie("slot",n,s)],64);let r=e[t];r&&r._c&&(r._d=!1),ye();const i=r&&Mu(r(n)),a=n.key||i&&i.key,l=Qe(Ge,{key:(a&&!tn(a)?a:`_${t}`)+""},i||[],i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Mu(e){return e.some(t=>$n(t)?!(t.type===je||t.type===Ge&&!Mu(t.children)):!0)?e:null}const Zo=e=>e?af(e)?ro(e):Zo(e.parent):null,wr=qe(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=>Zo(e.parent),$root:e=>Zo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Du(e),$forceUpdate:e=>e.f||(e.f=()=>{Ji(e.update)}),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>Dp.bind(e)}),Ro=(e,t)=>e!==Le&&!e.__isScriptSetup&&Ee(e,t),mp={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 f;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(Ro(s,t))return i[t]=1,s[t];if(o!==Le&&Ee(o,t))return i[t]=2,o[t];if((f=e.propsOptions[0])&&Ee(f,t))return i[t]=3,r[t];if(n!==Le&&Ee(n,t))return i[t]=4,n[t];ei&&(i[t]=0)}}const u=wr[t];let h,d;if(u)return t==="$attrs"&&et(e.attrs,"get",""),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Le&&Ee(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Ee(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Ro(o,t)?(o[t]=n,!0):s!==Le&&Ee(s,t)?(s[t]=n,!0):Ee(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&&Ee(e,i)||Ro(t,i)||(a=r[0])&&Ee(a,i)||Ee(s,i)||Ee(wr,i)||Ee(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ma(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ei=!0;function vp(e){const t=Du(e),n=e.proxy,s=e.ctx;ei=!1,t.beforeCreate&&Na(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:f,created:u,beforeMount:h,mounted:d,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy:S,beforeUnmount:w,destroyed:y,unmounted:_,render:m,renderTracked:x,renderTriggered:E,errorCaptured:b,serverPrefetch:P,expose:L,inheritAttrs:T,components:C,directives:O,filters:$}=t;if(f&&yp(f,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);ke(j)&&(e.data=xn(j))}if(ei=!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):Bt,fe=!le(Y)&&le(Y.set)?Y.set.bind(n):Bt,ue=me({get:se,set:fe});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ue.value,set:ne=>ue.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=>{gn(Y,j[Y])})}u&&Na(u,e,"c");function U(j,Y){ae(Y)?Y.forEach(se=>j(se.bind(n))):Y&&j(Y.bind(n))}if(U(up,h),U(bt,d),U(fp,c),U(Ru,p),U(Pu,g),U(Tu,v),U(ku,b),U(pp,x),U(hp,E),U(Xr,w),U(Qi,_),U(dp,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===Bt&&(e.render=m),T!=null&&(e.inheritAttrs=T),C&&(e.components=C),O&&(e.directives=O),P&&Cu(e)}function yp(e,t,n=Bt){ae(e)&&(e=ti(e));for(const s in e){const o=e[s];let r;ke(o)?"default"in o?r=nt(o.from||s,o.default,!0):r=nt(o.from||s):r=nt(o),De(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Na(e,t,n){Ot(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(".")?zu(n,s):()=>n[s];if(Me(e)){const r=t[e];le(r)&&pt(o,r)}else if(le(e))pt(o,e.bind(n));else if(ke(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)&&pt(o,r,e)}}function Du(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(f=>Ts(l,f,i,!0)),Ts(l,t,i)),ke(t)&&r.set(t,l),l}function Ts(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Ts(e,r,n,!0),o&&o.forEach(i=>Ts(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=_p[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const _p={data:Da,props:Fa,emits:Fa,methods:yr,computed:yr,beforeCreate:st,created:st,beforeMount:st,mounted:st,beforeUpdate:st,updated:st,beforeDestroy:st,beforeUnmount:st,destroyed:st,unmounted:st,activated:st,deactivated:st,errorCaptured:st,serverPrefetch:st,components:yr,directives:yr,watch:Sp,provide:Da,inject:xp};function Da(e,t){return t?e?function(){return qe(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function xp(e,t){return yr(ti(e),ti(t))}function ti(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function st(e,t){return e?[...new Set([].concat(e,t))]:t}function yr(e,t){return e?qe(Object.create(null),e,t):t}function Fa(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:qe(Object.create(null),Ma(e),Ma(t??{})):t}function Sp(e,t){if(!e)return t;if(!t)return e;const n=qe(Object.create(null),e);for(const s in t)n[s]=st(e[s],t[s]);return n}function Fu(){return{app:null,config:{isNativeTag:ah,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 wp=0;function Ep(e,t){return function(s,o=null){le(s)||(s=qe({},s)),o!=null&&!ke(o)&&(o=null);const r=Fu(),i=new WeakSet,a=[];let l=!1;const f=r.app={_uid:wp++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:cf,get config(){return r.config},set config(u){},use(u,...h){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(f,...h)):le(u)&&(i.add(u),u(f,...h))),f},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),f},component(u,h){return h?(r.components[u]=h,f):r.components[u]},directive(u,h){return h?(r.directives[u]=h,f):r.directives[u]},mount(u,h,d){if(!l){const c=f._ceVNode||Ie(s,o);return c.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),h&&t?t(c,u):e(c,u,d),l=!0,f._container=u,u.__vue_app__=f,ro(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Ot(a,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,h){return r.provides[u]=h,f},runWithContext(u){const h=Dn;Dn=f;try{return u()}finally{Dn=h}}};return f}}let Dn=null;function gn(e,t){if(Ye){let n=Ye.provides;const s=Ye.parent&&Ye.parent.provides;s===n&&(n=Ye.provides=Object.create(s)),n[e]=t}}function nt(e,t,n=!1){const s=Ye||We;if(s||Dn){const o=Dn?Dn._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 $u(){return!!(Ye||We||Dn)}const Hu={},Uu=()=>Object.create(Hu),Bu=e=>Object.getPrototypeOf(e)===Hu;function bp(e,t,n,s=!1){const o={},r=Uu();e.propsDefaults=Object.create(null),Vu(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:zt(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Cp(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ve(o),[l]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let d=u[h];if(eo(e.emitsOptions,d))continue;const c=t[d];if(l)if(Ee(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const p=wt(d);o[p]=ni(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{Vu(e,t,o,r)&&(f=!0);let u;for(const h in a)(!t||!Ee(t,h)&&((u=Hn(h))===h||!Ee(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=ni(l,a,h,void 0,e,!0)):delete o[h]);if(r!==a)for(const h in r)(!t||!Ee(t,h))&&(delete r[h],f=!0)}f&&Jt(e.attrs,"set","")}function Vu(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Zn(l))continue;const f=t[l];let u;o&&Ee(o,u=wt(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:eo(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,i=!0)}if(r){const l=ve(n),f=a||Le;for(let u=0;u<r.length;u++){const h=r[u];n[h]=ni(o,l,h,f[h],e,!Ee(f,h))}}return i}function ni(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=Ee(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&le(l)){const{propsDefaults:f}=o;if(n in f)s=f[n];else{const u=qr(o);s=f[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===Hn(n))&&(s=!0))}return s}const Pp=new WeakMap;function ju(e,t,n=!1){const s=n?Pp: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[d,c]=ju(h,t,!0);qe(i,d),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 ke(e)&&s.set(e,Qn),Qn;if(ae(r))for(let u=0;u<r.length;u++){const h=wt(r[u]);$a(h)&&(i[h]=Le)}else if(r)for(const u in r){const h=wt(u);if($a(h)){const d=r[u],c=i[h]=ae(d)||le(d)?{type:d}:qe({},d),p=c.type;let g=!1,v=!0;if(ae(p))for(let S=0;S<p.length;++S){const w=p[S],y=le(w)&&w.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||Ee(c,"default"))&&a.push(h)}}const f=[i,a];return ke(e)&&s.set(e,f),f}function $a(e){return e[0]!=="$"&&!Zn(e)}const Wu=e=>e[0]==="_"||e==="$stable",zi=e=>ae(e)?e.map(vt):[vt(e)],Tp=(e,t,n)=>{if(t._n)return t;const s=wn((...o)=>zi(t(...o)),n);return s._c=!1,s},Ku=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Wu(o))continue;const r=e[o];if(le(r))t[o]=Tp(o,r,s);else if(r!=null){const i=zi(r);t[o]=()=>i}}},Gu=(e,t)=>{const n=zi(t);e.slots.default=()=>n},Yu=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Lp=(e,t,n)=>{const s=e.slots=Uu();if(e.vnode.shapeFlag&32){const o=t._;o?(Yu(s,t,n),n&&Kc(s,"_",o,!0)):Ku(t,s)}else t&&Gu(e,t)},Rp=(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:Yu(o,t,n):(r=!t.$stable,Ku(t,o)),i=t}else t&&(Gu(e,t),i={default:1});if(r)for(const a in o)!Wu(a)&&i[a]==null&&delete o[a]},Je=tf;function kp(e){return Xu(e)}function Ap(e){return Xu(e,op)}function Xu(e,t){const n=Ys();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:d,setScopeId:c=Bt,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&&!Rt(A,I)&&(W=V(A),ne(A,B,X,!0),A=null),I.patchFlag===-2&&(k=!1,I.dynamicChildren=null);const{type:M,ref:K,shapeFlag:q}=I;switch(M){case mn:v(A,I,D,W);break;case je:S(A,I,D,W);break;case Er:A==null&&w(I,D,W,Q);break;case Ge:C(A,I,D,W,B,X,Q,R,k);break;default:q&1?m(A,I,D,W,B,X,Q,R,k):q&6?O(A,I,D,W,B,X,Q,R,k):(q&64||q&128)&&M.process(A,I,D,W,B,X,Q,R,k,ee)}K!=null&&B&&Or(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&&f(B,I.children)}},S=(A,I,D,W)=>{A==null?s(I.el=l(I.children||""),D,W):I.el=A.el},w=(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=d(A),s(A,D,W),A=B;s(I,D,W)},_=({el:A,anchor:I})=>{let D;for(;A&&A!==I;)D=d(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,M;const{props:K,shapeFlag:q,transition:G,dirs:N}=A;if(k=A.el=i(A.type,X,K&&K.is,K),q&8?u(k,A.children):q&16&&b(A.children,k,null,W,B,ko(A,X),Q,R),N&&Ht(A,null,W,"created"),E(k,A,A.scopeId,Q,W),K){for(const re in K)re!=="value"&&!Zn(re)&&r(k,re,null,K[re],X,W);"value"in K&&r(k,"value",null,K.value,X),(M=K.onVnodeBeforeMount)&&ut(M,W,A)}N&&Ht(A,null,W,"beforeMount");const H=qu(B,G);H&&G.beforeEnter(k),s(k,I,D),((M=K&&K.onVnodeMounted)||H||N)&&Je(()=>{M&&ut(M,W,A),H&&G.enter(k),N&&Ht(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||Rs(X.type)&&(X.ssContent===I||X.ssFallback===I)){const Q=B.vnode;E(A,Q,Q.scopeId,Q.slotScopeIds,B.parent)}}},b=(A,I,D,W,B,X,Q,R,k=0)=>{for(let M=k;M<A.length;M++){const K=A[M]=R?cn(A[M]):vt(A[M]);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:M,dirs:K}=I;k|=A.patchFlag&16;const q=A.props||Le,G=I.props||Le;let N;if(D&&Tn(D,!1),(N=G.onVnodeBeforeUpdate)&&ut(N,D,I,A),K&&Ht(I,A,D,"beforeUpdate"),D&&Tn(D,!0),(q.innerHTML&&G.innerHTML==null||q.textContent&&G.textContent==null)&&u(R,""),M?L(A.dynamicChildren,M,R,D,W,ko(I,B),X):Q||Y(A,I,R,null,D,W,ko(I,B),X,!1),k>0){if(k&16)T(R,q,G,D,B);else if(k&2&&q.class!==G.class&&r(R,"class",null,G.class,B),k&4&&r(R,"style",q.style,G.style,B),k&8){const H=I.dynamicProps;for(let re=0;re<H.length;re++){const oe=H[re],Ne=q[oe],Fe=G[oe];(Fe!==Ne||oe==="value")&&r(R,oe,Ne,Fe,B,D)}}k&1&&A.children!==I.children&&u(R,I.children)}else!Q&&M==null&&T(R,q,G,D,B);((N=G.onVnodeUpdated)||K)&&Je(()=>{N&&ut(N,D,I,A),K&&Ht(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],M=I[R],K=k.el&&(k.type===Ge||!Rt(k,M)||k.shapeFlag&70)?h(k.el):D;g(k,M,K,null,W,B,X,Q,!0)}},T=(A,I,D,W,B)=>{if(I!==D){if(I!==Le)for(const X in I)!Zn(X)&&!(X in D)&&r(A,X,I[X],null,B,W);for(const X in D){if(Zn(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 M=I.el=A?A.el:a(""),K=I.anchor=A?A.anchor:a("");let{patchFlag:q,dynamicChildren:G,slotScopeIds:N}=I;N&&(R=R?R.concat(N):N),A==null?(s(M,D,W),s(K,D,W),b(I.children||[],D,K,B,X,Q,R,k)):q>0&&q&64&&G&&A.dynamicChildren?(L(A.dynamicChildren,G,D,B,X,Q,R),(I.key!=null||B&&I===B.subTree)&&Ju(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):$(I,D,W,B,X,Q,k):F(A,I,k)},$=(A,I,D,W,B,X,Q)=>{const R=A.component=Zp(A,W,B);if(zs(A)&&(R.ctx.renderer=ee),eg(R,!1,Q),R.asyncDep){if(B&&B.registerDep(R,U,Q),!A.el){const k=R.subTree=Ie(je);S(null,k,I,D)}}else U(R,A,I,D,B,X,Q)},F=(A,I,D)=>{const W=I.component=A.component;if(Vp(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:q,bu:G,u:N,parent:H,vnode:re}=A;{const rt=Qu(A);if(rt){q&&(q.el=re.el,j(A,q,Q)),rt.asyncDep.then(()=>{A.isUnmounted||R()});return}}let oe=q,Ne;Tn(A,!1),q?(q.el=re.el,j(A,q,Q)):q=re,G&&_r(G),(Ne=q.props&&q.props.onVnodeBeforeUpdate)&&ut(Ne,H,q,re),Tn(A,!0);const Fe=Ao(A),Ke=A.subTree;A.subTree=Fe,g(Ke,Fe,h(Ke.el),V(Ke),A,B,X),q.el=Fe.el,oe===null&&to(A,Fe.el),N&&Je(N,B),(Ne=q.props&&q.props.onVnodeUpdated)&&Je(()=>ut(Ne,H,q,re),B)}else{let q;const{el:G,props:N}=I,{bm:H,m:re,parent:oe,root:Ne,type:Fe}=A,Ke=pn(I);if(Tn(A,!1),H&&_r(H),!Ke&&(q=N&&N.onVnodeBeforeMount)&&ut(q,oe,I),Tn(A,!0),G&&xe){const rt=()=>{A.subTree=Ao(A),xe(G,A.subTree,A,B,null)};Ke&&Fe.__asyncHydrate?Fe.__asyncHydrate(G,A,rt):rt()}else{Ne.ce&&Ne.ce._injectChildStyle(Fe);const rt=A.subTree=Ao(A);g(null,rt,D,W,A,B,X),I.el=rt.el}if(re&&Je(re,B),!Ke&&(q=N&&N.onVnodeMounted)){const rt=I;Je(()=>ut(q,oe,rt),B)}(I.shapeFlag&256||oe&&pn(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 M=A.update=k.run.bind(k),K=A.job=k.runIfDirty.bind(k);K.i=A,K.id=A.uid,k.scheduler=()=>Ji(K),Tn(A,!0),M()},j=(A,I,D)=>{I.component=A;const W=A.vnode.props;A.vnode=I,A.next=null,Cp(A,I.props,W,D),Rp(A,I.children,D),yn(),La(A),_n()},Y=(A,I,D,W,B,X,Q,R,k=!1)=>{const M=A&&A.children,K=A?A.shapeFlag:0,q=I.children,{patchFlag:G,shapeFlag:N}=I;if(G>0){if(G&128){fe(M,q,D,W,B,X,Q,R,k);return}else if(G&256){se(M,q,D,W,B,X,Q,R,k);return}}N&8?(K&16&&de(M,B,X),q!==M&&u(D,q)):K&16?N&16?fe(M,q,D,W,B,X,Q,R,k):de(M,B,X,!0):(K&8&&u(D,""),N&16&&b(q,D,W,B,X,Q,R,k))},se=(A,I,D,W,B,X,Q,R,k)=>{A=A||Qn,I=I||Qn;const M=A.length,K=I.length,q=Math.min(M,K);let G;for(G=0;G<q;G++){const N=I[G]=k?cn(I[G]):vt(I[G]);g(A[G],N,D,null,B,X,Q,R,k)}M>K?de(A,B,X,!0,!1,q):b(I,D,W,B,X,Q,R,k,q)},fe=(A,I,D,W,B,X,Q,R,k)=>{let M=0;const K=I.length;let q=A.length-1,G=K-1;for(;M<=q&&M<=G;){const N=A[M],H=I[M]=k?cn(I[M]):vt(I[M]);if(Rt(N,H))g(N,H,D,null,B,X,Q,R,k);else break;M++}for(;M<=q&&M<=G;){const N=A[q],H=I[G]=k?cn(I[G]):vt(I[G]);if(Rt(N,H))g(N,H,D,null,B,X,Q,R,k);else break;q--,G--}if(M>q){if(M<=G){const N=G+1,H=N<K?I[N].el:W;for(;M<=G;)g(null,I[M]=k?cn(I[M]):vt(I[M]),D,H,B,X,Q,R,k),M++}}else if(M>G)for(;M<=q;)ne(A[M],B,X,!0),M++;else{const N=M,H=M,re=new Map;for(M=H;M<=G;M++){const mt=I[M]=k?cn(I[M]):vt(I[M]);mt.key!=null&&re.set(mt.key,M)}let oe,Ne=0;const Fe=G-H+1;let Ke=!1,rt=0;const Vn=new Array(Fe);for(M=0;M<Fe;M++)Vn[M]=0;for(M=N;M<=q;M++){const mt=A[M];if(Ne>=Fe){ne(mt,B,X,!0);continue}let Ft;if(mt.key!=null)Ft=re.get(mt.key);else for(oe=H;oe<=G;oe++)if(Vn[oe-H]===0&&Rt(mt,I[oe])){Ft=oe;break}Ft===void 0?ne(mt,B,X,!0):(Vn[Ft-H]=M+1,Ft>=rt?rt=Ft:Ke=!0,g(mt,I[Ft],D,null,B,X,Q,R,k),Ne++)}const Ea=Ke?Ip(Vn):Qn;for(oe=Ea.length-1,M=Fe-1;M>=0;M--){const mt=H+M,Ft=I[mt],ba=mt+1<K?I[mt+1].el:W;Vn[M]===0?g(null,Ft,D,ba,B,X,Q,R,k):Ke&&(oe<0||M!==Ea[oe]?ue(Ft,D,ba,2):oe--)}}},ue=(A,I,D,W,B=null)=>{const{el:X,type:Q,transition:R,children:k,shapeFlag:M}=A;if(M&6){ue(A.component.subTree,I,D,W);return}if(M&128){A.suspense.move(I,D,W);return}if(M&64){Q.move(A,I,D,ee);return}if(Q===Ge){s(X,I,D);for(let q=0;q<k.length;q++)ue(k[q],I,D,W);s(A.anchor,I,D);return}if(Q===Er){y(A,I,D);return}if(W!==2&&M&1&&R)if(W===0)R.beforeEnter(X),s(X,I,D),Je(()=>R.enter(X),B);else{const{leave:q,delayLeave:G,afterLeave:N}=R,H=()=>s(X,I,D),re=()=>{q(X,()=>{H(),N&&N()})};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:M,shapeFlag:K,patchFlag:q,dirs:G,cacheIndex:N}=A;if(q===-2&&(B=!1),R!=null&&Or(R,null,D,A,!0),N!=null&&(I.renderCache[N]=void 0),K&256){I.ctx.deactivate(A);return}const H=K&1&&G,re=!pn(A);let oe;if(re&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ut(oe,I,A),K&6)Be(A.component,D,W);else{if(K&128){A.suspense.unmount(D,W);return}H&&Ht(A,null,I,"beforeUnmount"),K&64?A.type.remove(A,I,D,ee,W):M&&!M.hasOnce&&(X!==Ge||q>0&&q&64)?de(M,I,D,!1,!0):(X===Ge&&q&384||!B&&K&16)&&de(k,I,D),W&&Pe(A)}(re&&(oe=Q&&Q.onVnodeUnmounted)||H)&&Je(()=>{oe&&ut(oe,I,A),H&&Ht(A,null,I,"unmounted")},D)},Pe=A=>{const{type:I,el:D,anchor:W,transition:B}=A;if(I===Ge){_e(D,W);return}if(I===Er){_(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=d(A),o(A),A=D;o(I)},Be=(A,I,D)=>{const{bum:W,scope:B,job:X,subTree:Q,um:R,m:k,a:M}=A;Ls(k),Ls(M),W&&_r(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())},de=(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=d(A.anchor||A.el),D=I&&I[Zh];return D?d(D):I};let J=!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,J||(J=!0,La(),Cs(),J=!1)},ee={p:g,um:ne,m:ue,r:Pe,mt:$,mc:b,pc:Y,pbc:L,n:V,o:e};let he,xe;return t&&([he,xe]=t(ee)),{render:z,hydrate:he,createApp:Ep(z,he)}}function ko({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 Tn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ju(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]=cn(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&Ju(i,a)),a.type===mn&&(a.el=i.el)}}function Ip(e){const t=e.slice(),n=[0];let s,o,r,i,a;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(o=n[n.length-1],e[o]<f){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<f?r=a+1:i=a;f<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 Qu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Qu(t)}function Ls(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Op=Symbol.for("v-scx"),Mp=()=>nt(Op);function Np(e,t){return Zi(e,null,t)}function pt(e,t,n){return Zi(e,t,n)}function Zi(e,t,n=Le){const{immediate:s,deep:o,flush:r,once:i}=n,a=qe({},n),l=t&&s||!t&&r!=="post";let f;if(Nr){if(r==="sync"){const c=Mp();f=c.__watcherHandles||(c.__watcherHandles=[])}else if(!l){const c=()=>{};return c.stop=Bt,c.resume=Bt,c.pause=Bt,c}}const u=Ye;a.call=(c,p,g)=>Ot(c,u,p,g);let h=!1;r==="post"?a.scheduler=c=>{Je(c,u&&u.suspense)}:r!=="sync"&&(h=!0,a.scheduler=(c,p)=>{p?c():Ji(c)}),a.augmentJob=c=>{t&&(c.flags|=4),h&&(c.flags|=2,u&&(c.id=u.uid,c.i=u))};const d=Jh(e,t,a);return Nr&&(f?f.push(d):l&&d()),d}function Dp(e,t,n){const s=this.proxy,o=Me(e)?e.includes(".")?zu(s,e):()=>s[e]:e.bind(s,s);let r;le(t)?r=t:(r=t.handler,n=t);const i=qr(this),a=Zi(o,r.bind(s),n);return i(),a}function zu(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 Fp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${wt(t)}Modifiers`]||e[`${Hn(t)}Modifiers`];function $p(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Le;let o=n;const r=t.startsWith("update:"),i=r&&Fp(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Me(u)?u.trim():u)),i.number&&(o=n.map(hh)));let a,l=s[a=wo(t)]||s[a=wo(wt(t))];!l&&r&&(l=s[a=wo(Hn(t))]),l&&Ot(l,e,6,o);const f=s[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ot(f,e,6,o)}}function Zu(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=f=>{const u=Zu(f,t,!0);u&&(a=!0,qe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(ke(e)&&s.set(e,null),null):(ae(r)?r.forEach(l=>i[l]=null):qe(i,r),ke(e)&&s.set(e,i),i)}function eo(e,t){return!e||!Wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ee(e,t[0].toLowerCase()+t.slice(1))||Ee(e,Hn(t))||Ee(e,t))}function Ao(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:a,emit:l,render:f,renderCache:u,props:h,data:d,setupState:c,ctx:p,inheritAttrs:g}=e,v=Ps(e);let S,w;try{if(n.shapeFlag&4){const _=o||s,m=_;S=vt(f.call(m,_,u,h,c,d,p)),w=a}else{const _=t;S=vt(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),w=t.props?a:Up(a)}}catch(_){br.length=0,Yr(_,e,1),S=Ie(je)}let y=S;if(w&&g!==!1){const _=Object.keys(w),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Hi)&&(w=Bp(w,r)),y=en(y,w,!1,!0))}return n.dirs&&(y=en(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&rr(y,n.transition),S=y,Ps(v),S}function Hp(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if($n(o)){if(o.type!==je||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Up=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wr(n))&&((t||(t={}))[n]=e[n]);return t},Bp=(e,t)=>{const n={};for(const s in e)(!Hi(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Vp(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:l}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ha(s,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==s[d]&&!eo(f,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Ha(s,i,f):!0:!!i;return!1}function Ha(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]&&!eo(n,r))return!0}return!1}function to({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 Rs=e=>e.__isSuspense;let ri=0;const jp={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,f){if(e==null)Wp(t,n,s,o,r,i,a,l,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Kp(e,t,n,s,o,i,a,l,f)}},hydrate:Gp,normalize:Yp},ea=jp;function Mr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Wp(e,t,n,s,o,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=ef(e,o,s,t,h,n,r,i,a,l);f(null,d.pendingBranch=e.ssContent,h,null,s,d,r,i),d.deps>0?(Mr(e,"onPending"),Mr(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,i),tr(d,e.ssFallback)):d.resolve(!1,!0)}function Kp(e,t,n,s,o,r,i,a,{p:l,um:f,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const d=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:S}=h;if(g)h.pendingBranch=d,Rt(d,g)?(l(g,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():v&&(S||(l(p,c,n,s,o,null,r,i,a),tr(h,c)))):(h.pendingId=ri++,S?(h.isHydrating=!1,h.activeBranch=g):f(g,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():(l(p,c,n,s,o,null,r,i,a),tr(h,c))):p&&Rt(d,p)?(l(p,d,n,s,o,h,r,i,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0&&h.resolve()));else if(p&&Rt(d,p))l(p,d,n,s,o,h,r,i,a),tr(h,d);else if(Mr(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=ri++,l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:w,pendingId:y}=h;w>0?setTimeout(()=>{h.pendingId===y&&h.fallback(c)},w):w===0&&h.fallback(c)}}function ef(e,t,n,s,o,r,i,a,l,f,u=!1){const{p:h,m:d,um:c,n:p,o:{parentNode:g,remove:v}}=f;let S;const w=Xp(e);w&&t&&t.pendingBranch&&(S=t.pendingId,t.deps++);const y=e.props?Gc(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:ri++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,E=!1){const{vnode:b,activeBranch:P,pendingBranch:L,pendingId:T,effects:C,parentComponent:O,container:$}=m;let F=!1;m.isHydrating?m.isHydrating=!1:x||(F=P&&L.transition&&L.transition.mode==="out-in",F&&(P.transition.afterLeave=()=>{T===m.pendingId&&(d(L,$,r===_?p(P):r,0),Qo(C))}),P&&(g(P.el)===$&&(r=p(P)),c(P,O,m,!0)),F||d(L,$,r,0)),tr(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&&!F&&Qo(C),m.effects=[],w&&t&&t.pendingBranch&&S===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Mr(b,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:E,activeBranch:b,parentComponent:P,container:L,namespace:T}=m;Mr(E,"onFallback");const C=p(b),O=()=>{m.isInFallback&&(h(null,x,L,C,P,null,T,a,l),tr(m,x))},$=x.transition&&x.transition.mode==="out-in";$&&(b.transition.afterLeave=O),m.isInFallback=!0,c(b,P,null,!0),$||O()},move(x,E,b){m.activeBranch&&d(m.activeBranch,x,E,b),m.container=x},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(x,E,b){const P=!!m.pendingBranch;P&&m.deps++;const L=x.vnode.el;x.asyncDep.catch(T=>{Yr(T,x,0)}).then(T=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:C}=x;oi(x,T),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,b),O&&v(O),to(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 Gp(e,t,n,s,o,r,i,a,l){const f=t.suspense=ef(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=l(e,f.pendingBranch=t.ssContent,n,f,r,i);return f.deps===0&&f.resolve(!1,!0),u}function Yp(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Ua(s?n.default:n),e.ssFallback=s?Ua(n.fallback):Ie(je)}function Ua(e){let t;if(le(e)){const n=sr&&e._c;n&&(e._d=!1,ye()),e=e(),n&&(e._d=!0,t=ht,nf())}return ae(e)&&(e=Hp(e)),e=vt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function tf(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Qo(e)}function tr(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,to(s,o))}function Xp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ge=Symbol.for("v-fgt"),mn=Symbol.for("v-txt"),je=Symbol.for("v-cmt"),Er=Symbol.for("v-stc"),br=[];let ht=null;function ye(e=!1){br.push(ht=e?null:[])}function nf(){br.pop(),ht=br[br.length-1]||null}let sr=1;function Ba(e,t=!1){sr+=e,e<0&&ht&&t&&(ht.hasOnce=!0)}function rf(e){return e.dynamicChildren=sr>0?ht||Qn:null,nf(),sr>0&&ht&&ht.push(e),e}function lt(e,t,n,s,o,r){return rf(ie(e,t,n,s,o,r,!0))}function Qe(e,t,n,s,o){return rf(Ie(e,t,n,s,o,!0))}function $n(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const sf=({key:e})=>e??null,ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Me(e)||De(e)||le(e)?{i:We,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,s=0,o=null,r=e===Ge?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sf(t),ref:t&&ms(t),scopeId:yu,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:We};return a?(ta(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Me(n)?8:16),sr>0&&!i&&ht&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ht.push(l),l}const Ie=qp;function qp(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Iu)&&(e=je),$n(e)){const a=en(e,t,!0);return n&&ta(a,n),sr>0&&!r&&ht&&(a.shapeFlag&6?ht[ht.indexOf(e)]=a:ht.push(a)),a.patchFlag=-2,a}if(sg(e)&&(e=e.__vccOpts),t){t=Jp(t);let{class:a,style:l}=t;a&&!Me(a)&&(t.class=Xs(a)),ke(l)&&(qi(l)&&!ae(l)&&(l=qe({},l)),t.style=Vi(l))}const i=Me(e)?1:Rs(e)?128:_u(e)?64:ke(e)?4:le(e)?2:0;return ie(e,t,n,s,o,i,r,!0)}function Jp(e){return e?qi(e)||Bu(e)?qe({},e):e:null}function en(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,f=t?of(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&sf(f),ref:t&&t.ref?n&&r?ae(r)?r.concat(ms(t)):[r,ms(t)]:ms(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!==Ge?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&&en(e.ssContent),ssFallback:e.ssFallback&&en(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&rr(u,l.clone(u)),u}function no(e=" ",t=0){return Ie(mn,null,e,t)}function Iw(e,t){const n=Ie(Er,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(ye(),Qe(je,null,e)):Ie(je,null,e)}function vt(e){return e==null||typeof e=="boolean"?Ie(je):ae(e)?Ie(Ge,null,e.slice()):$n(e)?cn(e):Ie(mn,null,String(e))}function cn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:en(e)}function ta(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),ta(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Bu(t)?t._ctx=We:o===3&&We&&(We.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:We},n=32):(t=String(t),s&64?(n=16,t=[no(t)]):n=8);e.children=t,e.shapeFlag|=n}function of(...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=Xs([t.class,s.class]));else if(o==="style")t.style=Vi([t.style,s.style]);else if(Wr(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 ut(e,t,n,s=null){Ot(e,t,7,[n,s])}const Qp=Fu();let zp=0;function Zp(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Qp,r={uid:zp++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jc(!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:ju(s,o),emitsOptions:Zu(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=$p.bind(null,r),e.ce&&e.ce(r),r}let Ye=null;const Un=()=>Ye||We;let ks,si;{const e=Ys(),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)}};ks=t("__VUE_INSTANCE_SETTERS__",n=>Ye=n),si=t("__VUE_SSR_SETTERS__",n=>Nr=n)}const qr=e=>{const t=Ye;return ks(e),e.scope.on(),()=>{e.scope.off(),ks(t)}},Va=()=>{Ye&&Ye.scope.off(),ks(null)};function af(e){return e.vnode.shapeFlag&4}let Nr=!1;function eg(e,t=!1,n=!1){t&&si(t);const{props:s,children:o}=e.vnode,r=af(e);bp(e,s,r,t),Lp(e,o,n);const i=r?tg(e,t):void 0;return t&&si(!1),i}function tg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,mp);const{setup:s}=n;if(s){yn();const o=e.setupContext=s.length>1?rg(e):null,r=qr(e),i=Gr(s,e,0,[e.props,o]),a=Vc(i);if(_n(),r(),(a||e.sp)&&!pn(e)&&Cu(e),a){if(i.then(Va,Va),t)return i.then(l=>{oi(e,l)}).catch(l=>{Yr(l,e,0)});e.asyncDep=i}else oi(e,i)}else lf(e)}function oi(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=hu(t)),lf(e)}function lf(e,t,n){const s=e.type;e.render||(e.render=s.render||Bt);{const o=qr(e);yn();try{vp(e)}finally{_n(),o()}}}const ng={get(e,t){return et(e,"get",""),e[t]}};function rg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ng),slots:e.slots,emit:e.emit,expose:t}}function ro(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(hu(Hh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wr)return wr[n](e)},has(t,n){return n in t||n in wr}})):e.proxy}function ii(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function sg(e){return le(e)&&"__vccOpts"in e}const me=(e,t)=>Xh(e,t,Nr);function Xe(e,t,n){const s=arguments.length;return s===2?ke(t)&&!ae(t)?$n(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&$n(n)&&(n=[n]),Ie(e,t,n))}const cf="3.5.13";/**
|
||
* @vue/runtime-dom v3.5.13
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let ai;const ja=typeof window<"u"&&window.trustedTypes;if(ja)try{ai=ja.createPolicy("vue",{createHTML:e=>e})}catch{}const uf=ai?e=>ai.createHTML(e):e=>e,og="http://www.w3.org/2000/svg",ig="http://www.w3.org/1998/Math/MathML",qt=typeof document<"u"?document:null,Wa=qt&&qt.createElement("template"),ag={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"?qt.createElementNS(og,e):t==="mathml"?qt.createElementNS(ig,e):n?qt.createElement(e,{is:n}):qt.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>qt.createTextNode(e),createComment:e=>qt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>qt.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{Wa.innerHTML=uf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Wa.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]}},sn="transition",hr="animation",Dr=Symbol("_vtc"),ff={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},lg=qe({},xu,ff),cg=e=>(e.displayName="Transition",e.props=lg,e),ug=cg((e,{slots:t})=>Xe(np,fg(e),t)),Ln=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ka=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function fg(e){const t={};for(const C in e)C in ff||(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:f=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=dg(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:S,onEnter:w,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=S,onAppear:E=w,onAppearCancelled:b=y}=t,P=(C,O,$,F)=>{C._enterCancelled=F,Rn(C,O?u:a),Rn(C,O?f:i),$&&$()},L=(C,O)=>{C._isLeaving=!1,Rn(C,h),Rn(C,c),Rn(C,d),O&&O()},T=C=>(O,$)=>{const F=C?E:w,U=()=>P(O,C,$);Ln(F,[O,U]),Ga(()=>{Rn(O,C?l:r),Wt(O,C?u:a),Ka(F)||Ya(O,s,g,U)})};return qe(t,{onBeforeEnter(C){Ln(S,[C]),Wt(C,r),Wt(C,i)},onBeforeAppear(C){Ln(x,[C]),Wt(C,l),Wt(C,f)},onEnter:T(!1),onAppear:T(!0),onLeave(C,O){C._isLeaving=!0;const $=()=>L(C,O);Wt(C,h),C._enterCancelled?(Wt(C,d),Ja()):(Ja(),Wt(C,d)),Ga(()=>{C._isLeaving&&(Rn(C,h),Wt(C,c),Ka(_)||Ya(C,s,v,$))}),Ln(_,[C,$])},onEnterCancelled(C){P(C,!1,void 0,!0),Ln(y,[C])},onAppearCancelled(C){P(C,!0,void 0,!0),Ln(b,[C])},onLeaveCancelled(C){L(C),Ln(m,[C])}})}function dg(e){if(e==null)return null;if(ke(e))return[Io(e.enter),Io(e.leave)];{const t=Io(e);return[t,t]}}function Io(e){return Gc(e)}function Wt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Dr]||(e[Dr]=new Set)).add(t)}function Rn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Dr];n&&(n.delete(t),n.size||(e[Dr]=void 0))}function Ga(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let hg=0;function Ya(e,t,n,s){const o=e._endId=++hg,r=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=pg(e,t);if(!i)return s();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,d),r()},d=c=>{c.target===e&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(f,d)}function pg(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${sn}Delay`),r=s(`${sn}Duration`),i=Xa(o,r),a=s(`${hr}Delay`),l=s(`${hr}Duration`),f=Xa(a,l);let u=null,h=0,d=0;t===sn?i>0&&(u=sn,h=i,d=r.length):t===hr?f>0&&(u=hr,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?sn:hr:null,d=u?u===sn?r.length:l.length:0);const c=u===sn&&/\b(transform|all)(,|$)/.test(s(`${sn}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function Xa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>qa(n)+qa(e[s])))}function qa(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ja(){return document.body.offsetHeight}function gg(e,t,n){const s=e[Dr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const As=Symbol("_vod"),df=Symbol("_vsh"),Ow={beforeMount(e,{value:t},{transition:n}){e[As]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pr(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),pr(e,!0),s.enter(e)):s.leave(e,()=>{pr(e,!1)}):pr(e,t))},beforeUnmount(e,{value:t}){pr(e,t)}};function pr(e,t){e.style.display=t?e[As]:"none",e[df]=!t}const mg=Symbol(""),vg=/(^|;)\s*display\s*:/;function yg(e,t,n){const s=e.style,o=Me(n);let r=!1;if(n&&!o){if(t)if(Me(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&vs(s,a,"")}else for(const i in t)n[i]==null&&vs(s,i,"");for(const i in n)i==="display"&&(r=!0),vs(s,i,n[i])}else if(o){if(t!==n){const i=s[mg];i&&(n+=";"+i),s.cssText=n,r=vg.test(n)}}else t&&e.removeAttribute("style");As in e&&(e[As]=r?s.display:"",e[df]&&(s.display="none"))}const Qa=/\s*!important$/;function vs(e,t,n){if(ae(n))n.forEach(s=>vs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=_g(e,t);Qa.test(n)?e.setProperty(Hn(s),n.replace(Qa,""),"important"):e[s]=n}}const za=["Webkit","Moz","ms"],Oo={};function _g(e,t){const n=Oo[t];if(n)return n;let s=wt(t);if(s!=="filter"&&s in e)return Oo[t]=s;s=Gs(s);for(let o=0;o<za.length;o++){const r=za[o]+s;if(r in e)return Oo[t]=r}return t}const Za="http://www.w3.org/1999/xlink";function el(e,t,n,s,o,r=_h(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Za,t.slice(6,t.length)):e.setAttributeNS(Za,t,n):n==null||r&&!Yc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":tn(n)?String(n):n)}function tl(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?uf(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Yc(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function xg(e,t,n,s){e.addEventListener(t,n,s)}function Sg(e,t,n,s){e.removeEventListener(t,n,s)}const nl=Symbol("_vei");function wg(e,t,n,s,o=null){const r=e[nl]||(e[nl]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=Eg(t);if(s){const f=r[t]=Pg(s,o);xg(e,a,f,l)}else i&&(Sg(e,a,i,l),r[t]=void 0)}}const rl=/(?:Once|Passive|Capture)$/;function Eg(e){let t;if(rl.test(e)){t={};let s;for(;s=e.match(rl);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Hn(e.slice(2)),t]}let Mo=0;const bg=Promise.resolve(),Cg=()=>Mo||(bg.then(()=>Mo=0),Mo=Date.now());function Pg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ot(Tg(s,n.value),t,5,[s])};return n.value=e,n.attached=Cg(),n}function Tg(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 sl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Lg=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?gg(e,s,i):t==="style"?yg(e,n,s):Wr(t)?Hi(t)||wg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Rg(e,t,s,i))?(tl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&el(e,t,s,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Me(s))?tl(e,wt(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),el(e,t,s,i))};function Rg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&sl(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 sl(t)&&Me(n)?!1:t in e}const hf=qe({patchProp:Lg},ag);let Cr,ol=!1;function kg(){return Cr||(Cr=kp(hf))}function Ag(){return Cr=ol?Cr:Ap(hf),ol=!0,Cr}const Ig=(...e)=>{const t=kg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=gf(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,pf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Og=(...e)=>{const t=Ag().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=gf(s);if(o)return n(o,!0,pf(o))},t};function pf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gf(e){return Me(e)?document.querySelector(e):e}const Mg=/"(?:_|\\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*:/,Ng=/"(?: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*:/,Dg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Fg(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){$g(e);return}return t}function $g(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Fr(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const n=e.trim();if(n.length<=9)switch(n.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Dg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Mg.test(e)||Ng.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Fg)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Hg=/#/g,Ug=/&/g,Bg=/\//g,Vg=/=/g,na=/\+/g,jg=/%5e/gi,Wg=/%60/gi,Kg=/%7c/gi,Gg=/%20/gi;function Yg(e){return encodeURI(""+e).replace(Kg,"|")}function li(e){return Yg(typeof e=="string"?e:JSON.stringify(e)).replace(na,"%2B").replace(Gg,"+").replace(Hg,"%23").replace(Ug,"%26").replace(Wg,"`").replace(jg,"^").replace(Bg,"%2F")}function No(e){return li(e).replace(Vg,"%3D")}function Is(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Xg(e){return Is(e.replace(na," "))}function qg(e){return Is(e.replace(na," "))}function ra(e=""){const t=Object.create(null);e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=Xg(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=qg(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 Jg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${No(e)}=${li(n)}`).join("&"):`${No(e)}=${li(t)}`:No(e)}function Qg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Jg(t,e[t])).filter(Boolean).join("&")}const zg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Zg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,em=/^([/\\]\s*){2,}[^/\\]/,tm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,nm=/\/$|\/\?|\/#/,rm=/^\.?\//;function Ct(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?zg.test(e):Zg.test(e)||(t.acceptRelative?em.test(e):!1)}function sm(e){return!!e&&tm.test(e)}function ci(e="",t){return t?nm.test(e):e.endsWith("/")}function Jr(e="",t){if(!t)return(ci(e)?e.slice(0,-1):e)||"/";if(!ci(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o!==-1&&(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 $r(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ci(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o!==-1&&(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 om(e=""){return e.startsWith("/")}function il(e=""){return om(e)?e:"/"+e}function im(e,t){if(vf(t)||Ct(e))return e;const n=Jr(t);return e.startsWith(n)?e:Bn(n,e)}function al(e,t){if(vf(t))return e;const n=Jr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function mf(e,t){const n=lm(e),s={...ra(n.search),...t};return n.search=Qg(s),cm(n)}function vf(e){return!e||e==="/"}function am(e){return e&&e!=="/"}function Bn(e,...t){let n=e||"";for(const s of t.filter(o=>am(o)))if(n){const o=s.replace(rm,"");n=$r(n)+o}else n=s;return n}function yf(...e){var i,a,l,f;const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[h,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(s.length===1&&Ct(s[0]))continue;s.pop(),o--;continue}if(h===1&&((i=s[s.length-1])!=null&&i.endsWith(":/"))){s[s.length-1]+="/"+d;continue}s.push(d),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,(f=n[n.length-1])!=null&&f.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function ui(e,t,n={}){return n.trailingSlash||(e=$r(e),t=$r(t)),n.leadingSlash||(e=il(e),t=il(t)),n.encoding||(e=Is(e),t=Is(t)),e===t}const _f=Symbol.for("ufo:protocolRelative");function lm(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,d=""]=n;return{protocol:h.toLowerCase(),pathname:d,href:h+d,auth:"",host:"",search:"",hash:""}}if(!Ct(e,{acceptRelative:!0}))return fi(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:f,hash:u}=fi(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:f,hash:u,[_f]:!s}}function fi(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function cm(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[_f]?(e.protocol||"")+"//":"")+o+r+t+n+s}class um extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function fm(e){var l,f,u,h,d;const t=((l=e.error)==null?void 0:l.message)||((f=e.error)==null?void 0:f.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",s=((d=e.request)==null?void 0:d.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 um(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 dm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ll(e="GET"){return dm.has(e.toUpperCase())}function hm(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 pm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),gm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function mm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return gm.test(t)?"json":pm.has(t)||t.startsWith("text/")?"text":"blob"}function vm(e,t,n,s){const o=ym((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,s);let r;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(r={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:r,params:r,headers:o}}function ym(e,t,n){if(!t)return new n(e);const s=new n(t);if(e)for(const[o,r]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))s.set(o,r);return s}async function ls(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const _m=new Set([408,409,425,429,500,502,503,504]),xm=new Set([101,204,205,304]);function xf(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=ll(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):_m.has(h))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(a.request,{...a.options,retry:u-1})}}const f=fm(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){const u={request:l,options:vm(l,f,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await ls(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=im(u.request,u.options.baseURL)),u.options.query&&(u.request=mf(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&ll(u.options.method)&&(hm(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 c=new s;h=setTimeout(()=>{const p=new Error("[TimeoutError]: The operation was aborted due to timeout");p.name="TimeoutError",p.code=23,c.abort(p)},u.options.timeout),u.options.signal=c.signal}try{u.response=await t(u.request,u.options)}catch(c){return u.error=c,u.options.onRequestError&&await ls(u,u.options.onRequestError),await o(u)}finally{h&&clearTimeout(h)}if((u.response.body||u.response._bodyInit)&&!xm.has(u.response.status)&&u.options.method!=="HEAD"){const c=(u.options.parseResponse?"json":u.options.responseType)||mm(u.response.headers.get("content-type")||"");switch(c){case"json":{const p=await u.response.text(),g=u.options.parseResponse||Fr;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[c]()}}return u.options.onResponse&&await ls(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await ls(u,u.options.onResponseError),await o(u)):u.response},i=async function(l,f){return(await r(l,f))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={},l={})=>xf({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Os=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")}(),Sm=Os.fetch?(...e)=>Os.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),wm=Os.Headers,Em=Os.AbortController,bm=xf({fetch:Sm,Headers:wm,AbortController:Em}),Cm=bm,Pm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ms=Pm().app,Tm=()=>Ms.baseURL,Lm=()=>Ms.buildAssetsDir,sa=(...e)=>yf(Sf(),Lm(),...e),Sf=(...e)=>{const t=Ms.cdnURL||Ms.baseURL;return e.length?yf(t,...e):t};globalThis.__buildAssetsURL=sa,globalThis.__publicAssetsURL=Sf;globalThis.$fetch||(globalThis.$fetch=Cm.create({baseURL:Tm()}));function di(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?di(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const Rm={run:e=>e()},km=()=>Rm,wf=typeof console.createTask<"u"?console.createTask:km;function Am(e,t){const n=t.shift(),s=wf(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function Im(e,t){const n=t.shift(),s=wf(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Do(e,t){for(const n of[...e])n(t)}class Om{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=di(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=di(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(Am,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Im,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Do(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Do(this._after,o)}):(this._after&&o&&Do(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 Ef(){return new Om}function Mm(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){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},f=()=>t===i?l:void 0;hi.add(f);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{hi.delete(f)}}}}function Nm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Mm({...e,...s})),t[n]}}}const Ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},cl="__unctx__",Dm=Ns[cl]||(Ns[cl]=Nm()),Fm=(e,t={})=>Dm.get(e,t),ul="__unctx_async_handlers__",hi=Ns[ul]||(Ns[ul]=new Set);function kt(e){const t=[];for(const o of hi){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 $m=!1,pi=!1,Hm=!1,Um={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Bm=null,Vm="#__nuxt",bf="nuxt-app",fl=36e5,jm="vite:preloadError";function Cf(e=bf){return Fm(e,{asyncContext:!1})}const Wm="__nuxt_plugin";function Km(e){var o;let t=0;const n={_id:e.id||bf||"nuxt-app",_scope:ji(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.15.4"},get vue(){return n.vueApp.version}},payload:zt({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:zt({}),state:xn({}),once:new Set,_errors:zt({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!qs()?n._scope.run(()=>dl(n,r)):dl(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:zt({}),_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=Ef(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;cs(n,a,i),cs(n.vueApp.config.globalProperties,a,i)},cs(n.vueApp,"$nuxt",n),cs(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(jm,i=>{n.callHook("app:chunkError",{error:i.payload}),(n.isHydrating||i.payload.message.includes("Unable to preload CSS"))&&i.preventDefault()}),window.useNuxtApp=window.useNuxtApp||ge;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 Gm(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Ym(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 Xm(e,t){const n=[],s=[],o=[],r=[];let i=0;async function a(l){var u;const f=((u=l.dependsOn)==null?void 0:u.filter(h=>t.some(d=>d._name===h)&&!n.includes(h)))??[];if(f.length>0)s.push([new Set(f),l]);else{const h=Ym(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(s.map(async([d,c])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(c)))})))});l.parallel?o.push(h.catch(d=>r.push(d))):await h}}for(const l of t)Gm(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 Dt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Wm]:!0,_name:t})}function dl(e,t,n){const s=()=>t();return Cf(e._id).set(e),e.vueApp.runWithContext(s)}function qm(e){var n;let t;return $u()&&(t=(n=Un())==null?void 0:n.appContext.app.$nuxt),t=t||Cf(e).tryUse(),t||null}function ge(e){const t=qm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function gt(e){return ge().$config}function cs(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Jm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=t||{},o=s.decode||Qm;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 f=e.slice(i+1,a).trim();f.codePointAt(0)===34&&(f=f.slice(1,-1)),n[l]=zm(f,o)}r=a+1}return n}function Qm(e){return e.includes("%")?decodeURIComponent(e):e}function zm(e,t){try{return t(e)}catch{return e}}const us=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function hl(e,t,n){const s=n||{},o=s.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!us.test(e))throw new TypeError("argument name is invalid");const r=o(t);if(r&&!us.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(!us.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!us.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!Zm(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 Zm(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function ev(e,t){return{ctx:{table:e},matchAll:n=>Tf(n,e)}}function Pf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,Pf(o)])):new Map(Object.entries(e[n]));return t}function tv(e){return ev(Pf(e))}function Tf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of pl(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of pl(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...Tf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function pl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Fo(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 gi(e,t,n=".",s){if(!Fo(t))return gi(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]]:Fo(i)&&Fo(o[r])?o[r]=gi(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function nv(e){return(...t)=>t.reduce((n,s)=>gi(n,s,"",e),{})}const Lf=nv();function rv(e,t){try{return t in e}catch{return!1}}class mi extends Error{constructor(n,s={}){super(n,s);rn(this,"statusCode",500);rn(this,"fatal",!1);rn(this,"unhandled",!1);rn(this,"statusMessage");rn(this,"data");rn(this,"cause");s.cause&&!this.cause&&(this.cause=s.cause)}toJSON(){const n={message:this.message,statusCode:yi(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=Rf(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}rn(mi,"__h3_error__",!0);function vi(e){if(typeof e=="string")return new mi(e);if(sv(e))return e;const t=new mi(e.message??e.statusMessage??"",{cause:e.cause||e});if(rv(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=yi(e.statusCode,t.statusCode):e.status&&(t.statusCode=yi(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Rf(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 sv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const ov=/[^\u0009\u0020-\u007E]/g;function Rf(e=""){return e.replace(ov,"")}function yi(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const kf=Symbol("layout-meta"),Qr=Symbol("route"),ze=()=>{var e;return(e=ge())==null?void 0:e.$router},so=()=>$u()?nt(Qr,ge()._route):ge()._route;const iv=(e,t,n={})=>{const s=ge(),o=n.global||!1,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},av=()=>{try{if(ge()._processingMiddleware)return!0}catch{return!1}return!1},Af=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?_i(e):ze().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:f={}}=t.open,u=Object.entries(f).filter(([h,d])=>d!==void 0).map(([h,d])=>`${h.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const s=Ct(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&&sm(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=av();if(!o&&r)return t!=null&&t.replace?typeof e=="string"?{path:e,replace:!0}:{...e,replace:!0}:e;const i=ze(),a=ge();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 _i(e){return mf(e.path||"",e.query||{})+(e.hash||"")}const If="__nuxt_error",oo=()=>pu(ge().payload,"error"),Jn=e=>{const t=io(e);try{const n=ge(),s=oo();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},lv=async(e={})=>{const t=ge(),n=oo();t.callHook("app:error:cleared",e),e.redirect&&await ze().replace(e.redirect),n.value=Bm},cv=e=>!!e&&typeof e=="object"&&If in e,io=e=>{const t=vi(e);return Object.defineProperty(t,If,{value:!0,configurable:!1,writable:!1}),t};function gl(e){const t=fv(e),n=new ArrayBuffer(t.length),s=new DataView(n);for(let o=0;o<n.byteLength;o++)s.setUint8(o,t.charCodeAt(o));return n}const uv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function fv(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,s=0;for(let o=0;o<e.length;o++)n<<=6,n|=uv.indexOf(e[o]),s+=6,s===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=s=0);return s===12?(n>>=4,t+=String.fromCharCode(n)):s===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const dv=-1,hv=-2,pv=-3,gv=-4,mv=-5,vv=-6;function yv(e,t){return _v(JSON.parse(e),t)}function _v(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===dv)return;if(r===pv)return NaN;if(r===gv)return 1/0;if(r===mv)return-1/0;if(r===vv)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],f=t==null?void 0:t[l];if(f)return s[r]=f(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 d=Object.create(null);s[r]=d;for(let c=1;c<a.length;c+=2)d[a[c]]=o(a[c+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const c=globalThis[l],p=a[1],g=gl(p),v=new c(g);s[r]=v;break}case"ArrayBuffer":{const c=a[1],p=gl(c);s[r]=p;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[r]=l;for(let f=0;f<a.length;f+=1){const u=a[f];u!==hv&&(l[f]=o(u))}}else{const l={};s[r]=l;for(const f in a){const u=a[f];l[f]=o(u)}}return s[r]}return o(0)}const xv=new Set(["title","titleTemplate","script","style","noscript"]),ys=new Set(["base","meta","link","style","script","noscript"]),Sv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),wv=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Of=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Ev=typeof window<"u";function Ds(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 xi(e){if(e._h)return e._h;if(e._d)return Ds(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Ds(t)}function bv(e,t){return e instanceof Promise?e.then(t):t(e)}function Si(e,t,n,s){const o=s||Nf(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=>Si(e,t,n,i));const r={tag:e,props:o};for(const i of Of){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||xv.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 Cv(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]=Cv(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Mf(e,t,n,o)));if(!t&&!Of.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 Nf(e,t=!1){const n=Mf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const Pv=10;function Df(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,Df(e,t,s)));Array.isArray(o)?e.push(...o):e.push(o)}}function Tv(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||!Sv.has(o))){if(Array.isArray(r)){for(const i of r)t.push(Si(o,i,e));continue}t.push(Si(o,r,e))}}if(t.length===0)return[];const s=[];return bv(Df(s,t,0),()=>s.map((o,r)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<Pv)+r,o)))}const ml=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),vl={base:-10,title:10},yl={critical:-80,high:-10,low:20};function Fs(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 vl&&(n=vl[e.tag]),t&&t in yl?n+yl[t]:n}const Lv=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Rv=["name","property","http-equiv"];function Ff(e){const{props:t,tag:n}=e;if(wv.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 Rv)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const un="%separator";function kv(e,t,n=!1){var o;let s;if(t==="s"||t==="pageTitle")s=e.pageTitle;else if(t.includes(".")){const r=t.indexOf(".");s=(o=e[t.substring(0,r)])==null?void 0:o[t.substring(r+1)]}else s=e[t];if(s!==void 0)return n?(s||"").replace(/"/g,'\\"'):s||""}const Av=new RegExp(`${un}(?:\\s*${un})*`,"g");function fs(e,t,n,s=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const r=o.match(/%\w+(?:\.\w+)?/g);if(!r)return e;const i=e.includes(un);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===un||!r.includes(a))return a;const l=kv(t,a.slice(1),s);return l!==void 0?l:a}).trim(),i&&(e.endsWith(un)&&(e=e.slice(0,-un.length)),e.startsWith(un)&&(e=e.slice(un.length)),e=e.replace(Av,n).trim()),e}function _l(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function $f(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(d=>({tag:d,id:ys.has(d.tag)?xi(d):d.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=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(!ys.has(v))continue;const S={tag:v,props:await Nf(g.getAttributeNames().reduce((m,x)=>({...m,[x]:g.getAttribute(x)}),{})),innerHTML:g.innerHTML},w=Ff(S);let y=w,_=1;for(;y&&d.has(y);)y=`${w}:${_++}`;y&&(S._d=y,d.add(y)),i.elMap[g.getAttribute("data-hid")||xi(S)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(d,c,p){const g=`${d}:${c}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:d,$el:c,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[d]=c,g||(p.textContent&&p.textContent!==c.textContent&&(c.textContent=p.textContent),p.innerHTML&&p.innerHTML!==c.innerHTML&&(c.innerHTML=p.innerHTML),a(d,"el",()=>{var v;(v=i.elMap[d])==null||v.remove(),delete i.elMap[d]})),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 S=p.props[v],w=`attr:${v}`;if(v==="class"){if(!S)continue;for(const y of S.split(" "))g&&a(d,`${w}:${y}`,()=>c.classList.remove(y)),!c.classList.contains(y)&&c.classList.add(y)}else if(v==="style"){if(!S)continue;for(const y of S.split(";")){const _=y.indexOf(":"),m=y.substring(0,_).trim(),x=y.substring(_+1).trim();a(d,`${w}:${m}`,()=>{c.style.removeProperty(m)}),c.style.setProperty(m,x)}}else c.getAttribute(v)!==S&&c.setAttribute(v,S===!0?"":String(S)),g&&a(d,w,()=>c.removeAttribute(v))}}const f=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of r){const{tag:c,shouldRender:p,id:g}=d;if(p){if(c.tag==="title"){n.title=c.textContent;continue}d.$el=d.$el||i.elMap[g],d.$el?l(d):ys.has(c.tag)&&f.push(d)}}for(const d of f){const c=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[c]=u[c]||n.createDocumentFragment(),u[c].appendChild(d.$el)}for(const d of r)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in i.pendingSideEffects)i.pendingSideEffects[d]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Iv(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>$f(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function Ov(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=>{Iv(r,e)}}}}}const Mv=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Nv={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=Ff(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)||xi(s),r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&Mv.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(Fs(s)>Fs(r))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&ys.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))}}},Dv=new Set(["script","link","bodyAttrs"]),Fv=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Dv.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&&ml.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||Ds(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);ml.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.substring(2))))}}}}),$v=new Set(["link","style","script","noscript"]),Hv={hooks:{"tag:normalise":({tag:e})=>{e.key&&$v.has(e.tag)&&(e.props["data-hid"]=e._h=Ds(e.key))}}},Uv={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"}})}}},Bv={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of Lv){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=Fs(n),r=Fs(s);return o<r?-1:o>r?1:n._p-s._p})}}},Vv={meta:"content",link:"href",htmlAttrs:"lang"},jv=["innerHTML","textContent"],Wv=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=fs(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=Vv[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=fs(a.props[l],o,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const f of jv)typeof a[f]=="string"&&(a[f]=fs(a[f],o,r,a.tag==="script"&&a.props.type.endsWith("json")))}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=fs(n.textContent,e._templateParams,e._separator))}}}),Kv={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=_l(s.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const o=_l(s.textContent);o!==null&&(s.textContent=o,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},Gv={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 Hf;function Yv(e={}){const t=Xv(e);return t.use(Ov()),Hf=t}function xl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Xv(e={}){const t=Ef();t.addHooks(e.hooks||{}),e.document=e.document||(Ev?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 f=typeof l=="function"?l(a):l;(!f.key||!i.some(u=>u.key===f.key))&&(i.push(f),xl(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:o++,input:l,...f};return xl(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(h=>h._i!==u._i),s()},patch(h){for(const d of r)d._i===u._i&&(d.input=u.input=h);s()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const f of l.entries){const u=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(u):u),f.resolvedInput)for(const h of await Tv(f)){const d={tag:h,entry:f,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[Nv,Uv,Fv,Hv,Bv,Wv,Kv,Gv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function qv(){return Hf}const Jv=cf[0]==="3";function Qv(e){return typeof e=="function"?e():te(e)}function $s(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Qv(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>$s(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]=$s(t[s])}return n}return t}const zv={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=$s(t.input)}}},Uf="usehead";function Zv(e){return{install(n){Jv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Uf,e))}}.install}function ey(e={}){e.domDelayFn=e.domDelayFn||(n=>Sn(()=>setTimeout(()=>n(),0)));const t=Yv(e);return t.use(zv),t.install=Zv(t),t}const wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ei="__unhead_injection_handler__";function ty(e){wi[Ei]=e}function ny(){return Ei in wi?wi[Ei]():nt(Uf)||qv()}function Sl(e,t={}){const n=t.head||ny();if(n)return n.ssr?n.push(e,t):ry(n,e,t)}function ry(e,t,n={}){const s=Ce(!1),o=Ce({});Np(()=>{o.value=s.value?{}:$s(t)});const r=e.push(o.value,n);return pt(o,a=>{r.patch(a)}),Un()&&(Xr(()=>{r.dispose()}),Tu(()=>{s.value=!0}),Pu(()=>{s.value=!1})),r}const sy="modulepreload",oy=function(e,t){return new URL(e,t).href},wl={},$e=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(h=>Promise.resolve(h).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),f=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=i(n.map(u=>{if(u=oy(u,s),u in wl)return;wl[u]=!0;const h=u.endsWith(".css"),d=h?'[rel="stylesheet"]':"";if(!!s)for(let g=a.length-1;g>=0;g--){const v=a[g];if(v.href===u&&(!h||v.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${d}`))return;const p=document.createElement("link");if(p.rel=h?"stylesheet":sy,h||(p.as="script"),p.crossOrigin="",p.href=u,f&&p.setAttribute("nonce",f),document.head.appendChild(p),h)return new Promise((g,v)=>{p.addEventListener("load",g),p.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${u}`)))})}))}function r(i){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i}return o.then(i=>{for(const a of i||[])a.status==="rejected"&&r(a.reason);return t().catch(r)})};let _s,xs;function iy(){return _s=$fetch(sa(`builds/meta/${gt().app.buildId}.json`),{responseType:"json"}),_s.then(e=>{xs=tv(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),_s}function ao(){return _s||iy()}async function oa(e){const t=typeof e=="string"?e:e.path;if(await ao(),!xs)return console.error("[nuxt] Error creating app manifest matcher.",xs),{};try{return Lf({},...xs.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function El(e,t={}){const n=await ly(e,t),s=ge(),o=s._payloadCache=s._payloadCache||{};return n in o?o[n]||null:(o[n]=Vf(e).then(r=>r?Bf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null)),o[n])}const ay="_payload.json";async function ly(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Ct(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=gt(),o=t.hash||(t.fresh?Date.now():s.app.buildId),r=s.app.cdnURL,i=r&&await Vf(e)?r:s.app.baseURL;return Bn(i,n.pathname,ay+(o?`?${o}`:""))}async function Bf(e){const t=fetch(e).then(n=>n.text().then(jf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Vf(e=so().path){const t=ge();return e=Jr(e),(await ao()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const s=await oa({path:e});return!!s.prerender&&!s.redirect})}let kn=null;async function cy(){var s;if(kn)return kn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await jf(e.textContent||""),n=e.dataset.src?await Bf(e.dataset.src):void 0;return kn={...t,...n,...window.__NUXT__},(s=kn.config)!=null&&s.public&&(kn.config.public=xn(kn.config.public)),kn}async function jf(e){return await yv(e,ge()._payloadRevivers)}function uy(e,t){ge()._payloadRevivers[e]=t}const fy=[["NuxtError",e=>io(e)],["EmptyShallowRef",e=>nr(e==="_"?void 0:e==="0n"?BigInt(0):Fr(e))],["EmptyRef",e=>Ce(e==="_"?void 0:e==="0n"?BigInt(0):Fr(e))],["ShallowRef",e=>nr(e)],["ShallowReactive",e=>zt(e)],["Ref",e=>Ce(e)],["Reactive",e=>xn(e)]],dy=Dt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[s,o]of fy)uy(s,o);Object.assign(e.payload,([t,n]=kt(()=>e.runWithContext(cy)),t=await t,n(),t)),window.__NUXT__=e.payload}}),hy=[],py=Dt({name:"nuxt:head",enforce:"pre",setup(e){const t=ey({plugins:hy});ty(()=>ge().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await $f(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.5.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Xn=typeof document<"u";function Wf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function gy(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Wf(e.default)}const we=Object.assign;function $o(e,t){const n={};for(const s in t){const o=t[s];n[s]=Mt(o)?o.map(e):e(o)}return n}const Pr=()=>{},Mt=Array.isArray,Kf=/#/g,my=/&/g,vy=/\//g,yy=/=/g,_y=/\?/g,Gf=/\+/g,xy=/%5B/g,Sy=/%5D/g,Yf=/%5E/g,wy=/%60/g,Xf=/%7B/g,Ey=/%7C/g,qf=/%7D/g,by=/%20/g;function ia(e){return encodeURI(""+e).replace(Ey,"|").replace(xy,"[").replace(Sy,"]")}function Cy(e){return ia(e).replace(Xf,"{").replace(qf,"}").replace(Yf,"^")}function bi(e){return ia(e).replace(Gf,"%2B").replace(by,"+").replace(Kf,"%23").replace(my,"%26").replace(wy,"`").replace(Xf,"{").replace(qf,"}").replace(Yf,"^")}function Py(e){return bi(e).replace(yy,"%3D")}function Ty(e){return ia(e).replace(Kf,"%23").replace(_y,"%3F")}function Ly(e){return e==null?"":Ty(e).replace(vy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ry=/\/$/,ky=e=>e.replace(Ry,"");function Ho(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=My(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Hr(i)}}function Ay(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function bl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Iy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&or(t.matched[s],n.matched[o])&&Jf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function or(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Oy(e[n],t[n]))return!1;return!0}function Oy(e,t){return Mt(e)?Cl(e,t):Mt(t)?Cl(t,e):e===t}function Cl(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function My(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 Tt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ur;(function(e){e.pop="pop",e.push="push"})(Ur||(Ur={}));var Tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tr||(Tr={}));function Ny(e){if(!e)if(Xn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ky(e)}const Dy=/^[^#]+#/;function Fy(e,t){return e.replace(Dy,"#")+t}function $y(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 lo=()=>({left:window.scrollX,top:window.scrollY});function Hy(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=$y(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 Pl(e,t){return(history.state?history.state.position-t:-1)+e}const Ci=new Map;function Uy(e,t){Ci.set(e,t)}function By(e){const t=Ci.get(e);return Ci.delete(e),t}let Vy=()=>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),bl(l,"")}return bl(n,e)+s+o}function jy(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Qf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(S=>{S(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Tr.forward:Tr.back:Tr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(we({},d.state,{scroll:lo()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function Tl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?lo():null}}function Wy(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,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Vy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=we({},t.state,Tl(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=we({},o.value,t.state,{forward:l,scroll:lo()});r(u.current,u,!0);const h=we({},Tl(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Ky(e){e=Ny(e);const t=Wy(e),n=jy(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=we({location:"",base:e,go:s,createHref:Fy.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 Gy(e){return typeof e=="string"||e&&typeof e=="object"}function zf(e){return typeof e=="string"||typeof e=="symbol"}const Zf=Symbol("");var Ll;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ll||(Ll={}));function ir(e,t){return we(new Error,{type:e,[Zf]:!0},t)}function Kt(e,t){return e instanceof Error&&Zf in e&&(t==null||!!(e.type&t))}const Rl="[^/]+?",Yy={sensitive:!1,strict:!1,start:!0,end:!0},Xy=/[.+*?^${}()[\]/\\]/g;function qy(e,t){const n=we({},Yy,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const d=f[h];let c=40+(n.sensitive?.25:0);if(d.type===0)h||(o+="/"),o+=d.value.replace(Xy,"\\$&"),c+=40;else if(d.type===1){const{value:p,repeatable:g,optional:v,regexp:S}=d;r.push({name:p,repeatable:g,optional:v});const w=S||Rl;if(w!==Rl){c+=10;try{new RegExp(`(${w})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${w}): `+_.message)}}let y=g?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;h||(y=v&&f.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,c+=20,v&&(c+=-8),g&&(c+=-20),w===".*"&&(c+=-50)}u.push(c)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(f){const u=f.match(i),h={};if(!u)return null;for(let d=1;d<u.length;d++){const c=u[d]||"",p=r[d-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(f){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of d)if(c.type===0)u+=c.value;else if(c.type===1){const{value:p,repeatable:g,optional:v}=c,S=p in f?f[p]:"";if(Mt(S)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const w=Mt(S)?S.join("/"):S;if(!w)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=w}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function Jy(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 ed(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=Jy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(kl(s))return 1;if(kl(o))return-1}return o.length-s.length}function kl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Qy={type:0,value:""},zy=/[a-zA-Z0-9_]/;function Zy(e){if(!e)return[[]];if(e==="/")return[[Qy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),i()):l===":"?(h(),n=1):d();break;case 4:d(),n=s;break;case 1:l==="("?n=2:zy.test(l)?d():(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 "${f}"`),h(),i(),o}function e0(e,t,n){const s=qy(Zy(e.path),n),o=we(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function t0(e,t){const n=[],s=new Map;t=Ml({strict:!1,end:!0,sensitive:!1},t);function o(h){return s.get(h)}function r(h,d,c){const p=!c,g=Il(h);g.aliasOf=c&&c.record;const v=Ml(t,h),S=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)S.push(Il(we({},g,{components:c?c.record.components:g.components,path:m,aliasOf:c?c.record:g})))}let w,y;for(const _ of S){const{path:m}=_;if(d&&m[0]!=="/"){const x=d.record.path,E=x[x.length-1]==="/"?"":"/";_.path=d.record.path+(m&&E+m)}if(w=e0(_,d,v),c?c.alias.push(w):(y=y||w,y!==w&&y.alias.push(w),p&&h.name&&!Ol(w)&&i(h.name)),td(w)&&l(w),g.children){const x=g.children;for(let E=0;E<x.length;E++)r(x[E],w,c&&c.children[E])}c=c||w}return y?()=>{i(y)}:Pr}function i(h){if(zf(h)){const d=s.get(h);d&&(s.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,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 d=s0(h,n);n.splice(d,0,h),h.record.name&&!Ol(h)&&s.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw ir(1,{location:h});v=c.record.name,p=we(Al(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Al(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=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw ir(1,{location:h,currentLocation:d});v=c.record.name,p=we({},d.params,h.params),g=c.stringify(p)}const S=[];let w=c;for(;w;)S.unshift(w.record),w=w.parent;return{name:v,path:g,params:p,matched:S,meta:r0(S)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Al(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Il(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:n0(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function n0(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 Ol(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function r0(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Ml(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function s0(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;ed(e,t[r])<0?s=r:n=r+1}const o=o0(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function o0(e){let t=e;for(;t=t.parent;)if(td(t)&&ed(e,t)===0)return t}function td({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function i0(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=Hr(i<0?r:r.slice(0,i)),l=i<0?null:Hr(r.slice(i+1));if(a in t){let f=t[a];Mt(f)||(f=t[a]=[f]),f.push(l)}else t[a]=l}return t}function Nl(e){let t="";for(let n in e){const s=e[n];if(n=Py(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Mt(s)?s.map(r=>r&&bi(r)):[s&&bi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function a0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Mt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const l0=Symbol(""),Dl=Symbol(""),aa=Symbol(""),la=Symbol(""),Pi=Symbol("");function gr(){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 fn(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(ir(4,{from:n,to:t})):d instanceof Error?l(d):Gy(d)?l(ir(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(s&&s.instances[o],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Uo(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(Wf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(fn(u,n,s,i,a,o))}else{let f=l();r.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=gy(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&fn(c,n,s,i,a,o)()}))}}return r}function Fl(e){const t=nt(aa),n=nt(la),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(or.bind(null,u));if(d>-1)return d;const c=$l(l[f-2]);return f>1&&$l(u)===c&&h[h.length-1].path!==c?h.findIndex(or.bind(null,l[f-2])):d}),r=me(()=>o.value>-1&&h0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&Jf(n.params,s.value.params));function a(l={}){if(d0(l)){const f=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Pr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function c0(e){return e.length===1?e[0]:e}const u0=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"},viewTransition:Boolean},useLink:Fl,setup(e,{slots:t}){const n=xn(Fl(e)),{options:s}=nt(aa),o=me(()=>({[Hl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Hl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&c0(t.default(n));return e.custom?r:Xe("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),f0=u0;function d0(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 h0(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(!Mt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function $l(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Hl=(e,t,n)=>e??t??n,p0=Ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=nt(Pi),o=me(()=>e.route||s.value),r=nt(Dl,0),i=me(()=>{let f=te(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>o.value.matched[i.value]);gn(Dl,me(()=>i.value+1)),gn(l0,a),gn(Pi,o);const l=Ce();return pt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!or(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return Ul(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=Xe(d,we({},p,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Ul(n.default,{Component:v,route:f})||v}}});function Ul(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nd=p0;function g0(e){const t=t0(e.routes,e),n=e.parseQuery||i0,s=e.stringifyQuery||Nl,o=e.history,r=gr(),i=gr(),a=gr(),l=nr(Tt);let f=Tt;Xn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=$o.bind(null,V=>""+V),h=$o.bind(null,Ly),d=$o.bind(null,Hr);function c(V,J){let z,ee;return zf(V)?(z=t.getRecordMatcher(V),ee=J):ee=V,t.addRoute(ee,z)}function p(V){const J=t.getRecordMatcher(V);J&&t.removeRoute(J)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function S(V,J){if(J=we({},J||l.value),typeof V=="string"){const I=Ho(n,V,J.path),D=t.resolve({path:I.path},J),W=o.createHref(I.fullPath);return we(I,D,{params:d(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=we({},V,{path:Ho(n,V.path,J.path).path});else{const I=we({},V.params);for(const D in I)I[D]==null&&delete I[D];z=we({},V,{params:h(I)}),J.params=h(J.params)}const ee=t.resolve(z,J),he=V.hash||"";ee.params=u(d(ee.params));const xe=Ay(s,we({},V,{hash:Cy(he),path:ee.path})),A=o.createHref(xe);return we({fullPath:xe,hash:he,query:s===Nl?a0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?Ho(n,V,l.value.path):we({},V)}function y(V,J){if(f!==V)return ir(8,{from:J,to:V})}function _(V){return E(V)}function m(V){return _(we(w(V),{replace:!0}))}function x(V){const J=V.matched[V.matched.length-1];if(J&&J.redirect){const{redirect:z}=J;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=w(ee):{path:ee},ee.params={}),we({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,J){const z=f=S(V),ee=l.value,he=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return E(we(w(I),{state:typeof I=="object"?we({},he,I.state):he,force:xe,replace:A}),J||z);const D=z;D.redirectedFrom=J;let W;return!xe&&Iy(s,ee,z)&&(W=ir(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(B=>Kt(B)?Kt(B,2)?B:fe(B):Y(B,D,ee)).then(B=>{if(B){if(Kt(B,2))return E(we({replace:A},w(B.to),{state:typeof B.to=="object"?we({},he,B.to.state):he,force:xe}),J||D)}else B=C(D,ee,!0,A,he);return T(D,ee,B),B})}function b(V,J){const z=y(V,J);return z?Promise.reject(z):Promise.resolve()}function P(V){const J=_e.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(V):V()}function L(V,J){let z;const[ee,he,xe]=m0(V,J);z=Uo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(fn(D,V,J))});const A=b.bind(null,V,J);return z.push(A),de(z).then(()=>{z=[];for(const I of r.list())z.push(fn(I,V,J));return z.push(A),de(z)}).then(()=>{z=Uo(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(D=>{z.push(fn(D,V,J))});return z.push(A),de(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Mt(I.beforeEnter))for(const D of I.beforeEnter)z.push(fn(D,V,J));else z.push(fn(I.beforeEnter,V,J));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Uo(xe,"beforeRouteEnter",V,J,P),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(fn(I,V,J));return z.push(A),de(z)}).catch(I=>Kt(I,8)?I:Promise.reject(I))}function T(V,J,z){a.list().forEach(ee=>P(()=>ee(V,J,z)))}function C(V,J,z,ee,he){const xe=y(V,J);if(xe)return xe;const A=J===Tt,I=Xn?history.state:{};z&&(ee||A?o.replace(V.fullPath,we({scroll:A&&I&&I.scroll},he)):o.push(V.fullPath,he)),l.value=V,ue(V,J,z,A),fe()}let O;function $(){O||(O=o.listen((V,J,z)=>{if(!Be.listening)return;const ee=S(V),he=x(ee);if(he){E(we(he,{replace:!0,force:!0}),ee).catch(Pr);return}f=ee;const xe=l.value;Xn&&Uy(Pl(xe.fullPath,z.delta),lo()),L(ee,xe).catch(A=>Kt(A,12)?A:Kt(A,2)?(E(we(w(A.to),{force:!0}),ee).then(I=>{Kt(I,20)&&!z.delta&&z.type===Ur.pop&&o.go(-1,!1)}).catch(Pr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Kt(A,8)?o.go(-z.delta,!1):z.type===Ur.pop&&Kt(A,20)&&o.go(-1,!1)),T(ee,xe,A)}).catch(Pr)}))}let F=gr(),U=gr(),j;function Y(V,J,z){fe(V);const ee=U.list();return ee.length?ee.forEach(he=>he(V,J,z)):console.error(V),Promise.reject(V)}function se(){return j&&l.value!==Tt?Promise.resolve():new Promise((V,J)=>{F.add([V,J])})}function fe(V){return j||(j=!V,$(),F.list().forEach(([J,z])=>V?z(V):J()),F.reset()),V}function ue(V,J,z,ee){const{scrollBehavior:he}=e;if(!Xn||!he)return Promise.resolve();const xe=!z&&By(Pl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Sn().then(()=>he(V,J,xe)).then(A=>A&&Hy(A)).catch(A=>Y(A,V,J))}const ne=V=>o.go(V);let Pe;const _e=new Set,Be={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:S,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 J=this;V.component("RouterLink",f0),V.component("RouterView",nd),V.config.globalProperties.$router=J,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Xn&&!Pe&&l.value===Tt&&(Pe=!0,_(o.location).catch(he=>{}));const z={};for(const he in Tt)Object.defineProperty(z,he,{get:()=>l.value[he],enumerable:!0});V.provide(aa,J),V.provide(la,zt(z)),V.provide(Pi,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=Tt,O&&O(),O=null,l.value=Tt,Pe=!1,j=!1),ee()}}};function de(V){return V.reduce((J,z)=>J.then(()=>P(z)),Promise.resolve())}return Be}function m0(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(f=>or(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>or(f,l))||o.push(l))}return[n,s,o]}function v0(e){return nt(la)}const y0=/(:\w+)\([^)]+\)/g,_0=/(:\w+)[?+*]/g,x0=/:\w+/g,S0=(e,t)=>t.path.replace(y0,"$1").replace(_0,"$1").replace(x0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Ti=(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&&S0(e.route,n));return typeof s=="function"?s(e.route):s},w0=(e,t)=>({default:()=>e?Xe(lp,e===!0?{}:e,t):t});function ca(e){return Array.isArray(e)?e:[e]}const Bo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./BdB7XlPh.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./BdB7XlPh.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./BdB7XlPh.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./CfC9Zfna.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./CfC9Zfna.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./CfC9Zfna.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./BrI7lM20.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./BrI7lM20.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./BrI7lM20.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./DEcDm17L.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./DEcDm17L.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./DEcDm17L.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./CxdKCF85.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./CxdKCF85.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./CxdKCF85.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],rd=(e,t)=>({default:()=>{var n;return e?Xe(ug,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),E0=/(:\w+)\([^)]+\)/g,b0=/(:\w+)[?+*]/g,C0=/:\w+/g;function Bl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(E0,"$1").replace(b0,"$1").replace(C0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function P0(e,t){return e===t||t===Tt?!1:Bl(e)!==Bl(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 T0={scrollBehavior(e,t,n){var f;const s=ge(),o=((f=ze().options)==null?void 0:f.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&&P0(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:Vl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??pi),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:Vl(e.hash),behavior:o}),u(r)})})}};function Vl(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 L0={hashMode:!1,scrollBehaviorType:"auto"},_t={...L0,...T0},R0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=ge(),o=ze(),r=([t,n]=kt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=io({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Jn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},k0=async e=>{let t,n;const s=([t,n]=kt(()=>oa({path:e.path})),t=await t,n(),t);if(s.redirect)return Ct(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},A0=[R0,k0],Lr={};function I0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),al(u,"")}const a=al(s,e),l=!n||ui(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const O0=Dt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=gt().app.baseURL;const o=((v=_t.history)==null?void 0:v.call(_t,s))??Ky(s),r=_t.routes?([t,n]=kt(()=>_t.routes(Bo)),t=await t,n(),t??Bo):Bo;let i;const a=g0({..._t,scrollBehavior:(S,w,y)=>{if(w===Tt){i=y;return}if(_t.scrollBehavior){if(a.options.scrollBehavior=_t.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return _t.scrollBehavior(S,Tt,i||y)}},history:o,routes:r});_t.routes&&_t.routes,"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=nr(a.currentRoute.value);a.afterEach((S,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=I0(s,window.location,e.payload.path),u=nr(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((S,w)=>{var y,_,m,x;((_=(y=S.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=w.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const S in u.value)Object.defineProperty(d,S,{get:()=>u.value[S],enumerable:!0});e._route=zt(d),e._middleware=e._middleware||{global:[],named:{}};const c=oo();a.afterEach(async(S,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(lv),y&&await e.callHook("page:loading:end")});try{[t,n]=kt(()=>a.isReady()),await t,n()}catch(S){[t,n]=kt(()=>e.runWithContext(()=>Jn(S))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(S,w)=>{var y;await e.callHook("page:loading:start"),S.meta=xn(S.meta),e.isHydrating&&g&&!vn(S.meta.layout)&&(S.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...A0,...e._middleware.global]);for(const m of S.matched){const x=m.meta.middleware;if(x)for(const E of ca(x))_.add(E)}{const m=await e.runWithContext(()=>oa({path:S.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=Lr[m])==null?void 0:y.call(Lr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(S,w));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const b=E||vi({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>Jn(b)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),a.afterEach(async(S,w)=>{S.matched.length===0&&await e.runWithContext(()=>Jn(vi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${S.fullPath}`,data:{path:S.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=_t.scrollBehavior}catch(S){await e.runWithContext(()=>Jn(S))}}),{provide:{router:a}}}}),Li=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),M0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),co=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Li(()=>e())}):Li(()=>e())},N0=Dt({name:"nuxt:payload",setup(e){ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await El(t.path);s&&Object.assign(e.static.data,s.data)}),co(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await El(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(ao,1e3)})}}),D0=Dt(()=>{const e=ze();co(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),F0=Dt(e=>{let t;async function n(){const s=await ao();t&&clearTimeout(t),t=setTimeout(n,fl);try{const o=await $fetch(sa("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}co(()=>{t=setTimeout(n,fl)})});function $0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Fr(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:ge().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const H0=Dt({name:"nuxt:chunk-reload",setup(e){const t=ze(),n=gt(),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:Bn(n.app.baseURL,r.fullPath);$0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),U0=Dt({name:"nuxt:global-components"}),dn={},B0=Dt({name:"nuxt:prefetch",setup(e){const t=ze();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 dn[s]=="function"&&await dn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Ct(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 Lr[i]=="function"&&Lr[i]();o&&typeof dn[o]=="function"&&dn[o]()})}});/*!
|
||
* shared v9.14.4
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Hs=typeof window<"u",En=(e,t=!1)=>t?Symbol.for(e):Symbol(e),V0=(e,t,n)=>j0({l:e,k:t,s:n}),j0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ve=e=>typeof e=="number"&&isFinite(e),W0=e=>od(e)==="[object Date]",Us=e=>od(e)==="[object RegExp]",uo=e=>pe(e)&&Object.keys(e).length===0,Ue=Object.assign,K0=Object.create,Te=(e=null)=>K0(e);let jl;const ua=()=>jl||(jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Te());function Wl(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const G0=Object.prototype.hasOwnProperty;function At(e,t){return G0.call(e,t)}const He=Array.isArray,be=e=>typeof e=="function",Z=e=>typeof e=="string",Oe=e=>typeof e=="boolean",Y0=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",X0=e=>ce(e)&&be(e.then)&&be(e.catch),sd=Object.prototype.toString,od=e=>sd.call(e),pe=e=>{if(!ce(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},q0=e=>e==null?"":He(e)||pe(e)&&e.toString===sd?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 fo(e){let t=e;return()=>++t}function J0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ds=e=>!ce(e)||He(e);function Fn(e,t){if(ds(e)||ds(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=>{r!=="__proto__"&&(ce(s[r])&&!ce(o[r])&&(o[r]=Array.isArray(s[r])?[]:Te()),ds(o[r])||ds(s[r])?o[r]=s[r]:n.push({src:s[r],des:o[r]}))})}}const ar=["en","it"],Bs={en:[{key:"../locales/en-US/general.ts",load:()=>$e(()=>import("./B0ptKmg5.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>$e(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>$e(()=>import("./C17mISP9.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>$e(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>$e(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>$e(()=>import("./rJHabepm.js"),[],import.meta.url),cache:!0}]},Q0=[],ho=[{code:"en",language:"en-US",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"}]},{code:"it",language:"it-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"}]}],id="@nuxtjs/i18n",z0=!1,Z0="nuxtI18n",e_="i18n_redirected",Kl="nuxt-i18n-slp",t_=typeof window<"u";function n_(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function r_(e){return e!=null&&"global"in e&&"mode"in e}function s_(e){return e!=null&&!("__composer"in e)&&"locale"in e&&De(e.locale)}function ad(e){return e!=null&&"__composer"in e}function bn(e){return r_(e)?e.global:e}function lr(e){const t=bn(e);return s_(t)?t:ad(t)?t.__composer:t}function po(e){return te(bn(e).locale)}function o_(e){return te(bn(e).locales)}function i_(e){return te(bn(e).localeCodes)}function ld(e,t){const n=bn(e);De(n.locale)?n.locale.value=t:n.locale=t}function cd(e){return Z(e)?e:Y0(e)?e.toString():"(null)"}function Gl(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=s!=="no_prefix"||i;let l=cd(e)+(a?o+t:"");return t===n&&s==="prefix_and_default"&&(l+=o+r),l}function Yl(e,t){return be(e)?e(t):e}function a_(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 l_=a_;function c_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const u_=c_;function f_(e,t,{matcher:n=l_,comparer:s=u_}={}){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 Rr=new Map;async function d_(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;Fn(r,n)}return n}function ud(e,t){let n=[];if(He(e))n=e;else if(ce(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 h_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const f=ud(i,[s,o]);await Promise.all(f.map(u=>Xl(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(f=>Xl(f,t,e))),e}async function p_(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&&Rr&&Rr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function Vs(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;Rr&&Rr.has(r.key)&&r.cache?i=Rr.get(r.key):i=await p_(e,r),i!=null&&Fn(i,o)}n(e,o)}async function Xl(e,t,n){await Vs(e,t,(o,r)=>{const i=n[o]||{};Fn(r,i),n[o]=i})}function g_(e,t){return[e.slice(0,t),e.slice(t)]}function m_(e){const{fullPath:t,query:n,hash:s,name:o,path:r,params:i,meta:a,redirectedFrom:l,matched:f}=e;return{fullPath:t,params:i,query:n,hash:s,name:o,path:r,meta:a,matched:f,redirectedFrom:l}}function v_({router:e},t,n,s){var f,u;if(n!=="prefix")return e.resolve(t);const[o,r]=g_(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,a=(u=(f=e.options)==null?void 0:f.routes)==null?void 0:u.find(h=>h.path===i);if(a==null)return t;const l=Ue({},t,a);return l.path=i,e.resolve(l)}const y_=new Set(["prefix_and_default","prefix_except_default"]);function __(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&y_.has(s))&&s!=="no_prefix"}const x_=__;function cr(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=te(t);return s==null||!s.name?void 0:cd(s.name).split(n)[0]}function go(e,t,n){var o;if(typeof t=="string"&&Ct(t,{acceptRelative:!0}))return t;const s=mo(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function ha(e,t,n){return mo(e,t,n)??void 0}function S_(e,t,n){return mo(e,t,n)??void 0}function mo(e,t,n){const{router:s,i18n:o}=e,r=n||po(o),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,f=F_(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=fi(t),v=ra(p);u={path:c,query:v,hash:g}}else u={name:t};else u=t;let h=Ue({},u);if((c=>"path"in c&&!!c.path&&!("name"in c))(h)){const c=v_(e,h,a,r),p=cr(e,c);Z(p)?(h={name:Gl(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},h.state=c.state):(f({currentLocale:r,defaultLocale:i,strategy:a})&&(h.path=`/${r}${h.path}`),h.path=l?$r(h.path,!0):Jr(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=cr(e,s.currentRoute.value)),h.name=Gl(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 w_=e=>e;function E_(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[Z0])||{}}function ur(e,t,n){const s=n??e.router.currentRoute.value,o=cr(e,s);if(!o)return"";const r=$_(e.runtimeConfig),i=m_(s),a=E_(e,s)[t],l={...i,name:o,params:{...i.params,...a}},f=go(e,l,t);return r(f,t)}function fd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=gt().public.i18n,r=lr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=po(e.i18n),l=o_(e.i18n),f=n_(l).find(d=>d.code===a)||{},u=f.language,h=f.dir||o;return t&&(i.htmlAttrs.dir=h),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...b_(e,te(l),s),...C_(e,s,n)),i.meta.push(...P_(e,s,n),...T_(f,u,s),...L_(te(l),u,s))),i}function pa(){const e=ge(),t=lr(e.$i18n);return Bn(te(t.baseUrl),e.$config.app.baseURL)}function b_(e,t,n){const s=pa(),{defaultLocale:o,strategy:r}=gt().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const f=l.language;if(!f){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(f,l)}for(const[l,f]of a.entries()){const u=ur(e,f.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:Ri(u,s),hreflang:l})}if(o){const l=ur(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:Ri(l,s),hreflang:"x-default"})}return i}function dd(e,t,n){const s=e.router.currentRoute.value,o=ha(e,{...s,path:void 0,name:cr(e,s)});if(!o)return"";let r=Ri(o.path,t);const i=ce(n)&&n.canonicalQueries||[],a=o.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];He(h)?h.forEach(d=>l.append(u,d||"")):l.append(u,h||"")}const f=l.toString();return f&&(r=`${r}?${f}`),r}function C_(e,t,n){const s=pa(),o=dd(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function P_(e,t,n){const s=pa(),o=dd(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function T_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:hd(t)}]}function L_(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:hd(o.language)}))}function hd(e){return(e||"").replace(/-/g,"_")}function Ri(e,t){return e.match(/^https?:\/\//)?e:Bn(t,e)}function pd(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=gt().public.i18n,n=`(${ar.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=da(ar);return a=>{if(ce(a)){if(a.name){const f=(Z(a.name)?a.name:a.name.toString()).match(o);if(f&&f.length>1)return f[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""}}const R_="$s";function gd(...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=R_+n,r=ge(),i=pu(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(De(a))return r.payload.state[o]=a,a;i.value=a}return i}function k_(e,t){return zr(e,"setLocale",t)}function A_(e,t){return zr(e,"setLocaleCookie",t)}function md(e,t,n){return zr(e,"mergeLocaleMessage",t,n)}async function I_(e,t,n,s,o){return zr(e,"onBeforeLanguageSwitch",t,n,s,o)}function O_(e,t,n){return zr(e,"onLanguageSwitched",t,n)}function ga(e){return{i18n:e??ge().$i18n,router:ze(),runtimeConfig:gt(),metaState:gd("nuxt-i18n-meta",()=>({}))}}async function ql(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=Zr(n),l=ge(),f=po(t),u=i_(t);function h(c=f){a===!1||!a.useCookie||r||A_(t,c)}if(!e||!s&&o||f===e)return h(),!1;const d=await I_(t,f,e,s,l);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=X_(t,"fallbackLocale"),p=(g,v)=>md(t,g,v);if(c){const g=ud(c,[e]);await Promise.all(g.map(v=>Vs(v,Bs,p)))}await Vs(e,Bs,p)}return r?!1:(h(e),ld(t,e),await O_(t,f,e),!0)}function vd(e){return{log:console.log.bind(console,`${e}:`)}}function Jl(e,t,n,s,o){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=o,{localeCookie:f}=s,u=Zr(o);vd("detectLocale");const h=be(n)?n():n,d=Ed(e,s,h);if(d.reason===wd.SSG_IGNORE)return h;if(d.locale&&d.from!=null)return d.locale;let c="";a||l?c||(c=z_(ho,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&f;return c||(c=p||h||i||""),c}function Ql({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=ge(),r=ga(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:f}=e.to;if(!a&&(s||i!=="no_prefix")&&n(e.to)!==t){const u=o.$switchLocalePath(t)||o.$localePath(f,t);Z(u)&&u&&!ui(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if(n(e.to)!==t){const u=ur(r,t,e.to);Z(u)&&u&&!ui(u,f)&&!u.startsWith("//")&&(l=u)}return l}function M_(e){return ce(e)&&"path"in e&&"statusCode"in e}const N_=()=>gd(id+":redirect",()=>"");function Kn(e,t){return Af(e,{})}async function zl(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:f,skipSettingLocaleOnNavigate:u,configLocales:h,strategy:d}=s.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:M_(a)&&(c="/"+a.path,t=a.statusCode),c=s.$localePath(c,r),Kn(c);if(!(u&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(p=>{o.__resolvePendingLocalePromise=p}),!n))){if(f&&d==="prefix_except_default"){const p=vo(),g=h.find(S=>{var w;return typeof S!="string"?(w=S.defaultForDomains)==null?void 0:w.find(y=>y===p):!1}),v=typeof g!="string"?g==null?void 0:g.code:void 0;if(i.path.startsWith(`/${v}`))return Kn(i.path.replace(`/${v}`,""));if(!i.path.startsWith(`/${r}`)&&r!==v){const w=pd()(i.path);return Kn(w!==""?`/${r+i.path.replace(`/${w}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`)}else if(c&&i.path!==c)return Kn(c);return}if(l){const p=N_();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Kn(c)}}function D_(e,t){Gn(e,"$i18n",bn(t)),Gn(e,"$getRouteBaseName",dt(cr)),Gn(e,"$localePath",dt(go)),Gn(e,"$localeRoute",dt(ha)),Gn(e,"$switchLocalePath",dt(ur)),Gn(e,"$localeHead",dt(fd))}function F_(e=gt()){return t=>x_(t)&&!e.public.i18n.differentDomains}function $_(e=gt()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=bd(n);return s?Bn(s,t):t}else return w_(t)}}function H_(){return()=>{const e=ge(),{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=bd(o);if(r)return r}return t}}const Zl=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 ec(e,t){t?t={...Zl,...t}:t=Zl;const n=yd(t);return n.dispatch(e),n.toString()}const U_=Object.freeze(["prototype","__proto__","constructor"]);function yd(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 f=Object.keys(o);e.unorderedObjects&&(f=f.sort());let u=[];e.respectType!==!1&&!tc(o)&&(u=U_),e.excludeKeys&&(f=f.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),s("object:"+(f.length+u.length)+":");const h=d=>{this.dispatch(d),s(":"),e.excludeValues||this.dispatch(o[d]),s(",")};for(const d of f)h(d);for(const d of u)h(d)}},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 f=yd(e);f.dispatch(l);for(const[u,h]of f.getContext())i.set(u,h);return f.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:"),tc(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 _d="[native code] }",B_=_d.length;function tc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-B_)===_d}function V_(e,t,n={}){return e===t||ec(e,n)===ec(t,n)}function Lt(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]=Lt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Lt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Lt(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Lt(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Lt(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(Lt(r),Lt(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(Lt(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const j_={path:"/",watch:!0,decode:e=>Fr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},hs=window.cookieStore;function W_(e,t){var l;const n={...j_,...t};n.filter??(n.filter=f=>f===e);const s=nc(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=Lt(r?void 0:s[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!r?Y_(i,o,n.watch&&n.watch!=="shallow"):Ce(i);{let f=null;try{!hs&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||V_(a.value,s[e])||(G_(e,a.value,n),s[e]=Lt(a.value),f==null||f.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=nc(n))==null?void 0:v[e]:n.decode(p.value);d=!0,a.value=g,s[e]=Lt(g),Sn(()=>{d=!1})};let d=!1;const c=!!qs();if(c&&Go(()=>{d=!0,u(),f==null||f.close()}),hs){const p=g=>{const v=g.changed.find(w=>w.name===e),S=g.deleted.find(w=>w.name===e);v&&h({value:v.value}),S&&h({value:null})};hs.addEventListener("change",p),c&&Go(()=>hs.removeEventListener("change",p))}else f&&(f.onmessage=({data:p})=>h(p));n.watch?pt(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function nc(e={}){return Jm(document.cookie,e)}function K_(e,t,n={}){return t==null?hl(e,t,{...n,maxAge:-1}):hl(e,t,n)}function G_(e,t,n={}){document.cookie=K_(e,t,n)}const rc=2147483647;function Y_(e,t,n){let s,o,r=0;const i=n?Ce(e):{value:e};return qs()&&Go(()=>{o==null||o(),clearTimeout(s)}),jh((a,l)=>{n&&(o=pt(i,l));function f(){r=0,clearTimeout(s);const u=t-r,h=u<rc?u:rc;s=setTimeout(()=>{if(r+=h,r<t)return f();i.value=void 0,l()},h)}return{get(){return a(),i.value},set(u){f(),i.value=u,l()}}})}function xd(e){return id+" "+e}function zr(e,t,...n){const s=bn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function X_(e,t){const n=bn(e);return te(n[t])}function Gn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function dt(e,t=ga()){return(...n)=>e(t,...n)}function Sd(){let e;return navigator.languages&&(e=f_(ho,navigator.languages)),e}function q_(){const e=Zr(),t=e&&e.cookieKey||e_,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),W_(t,s)}function Vo(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(ar.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function J_(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 Q_={locale:""};function Ed(e,t,n=""){vd("detectBrowserLanguage");const s=Zr();if(!s)return Q_;const{strategy:o}=gt().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:f,alwaysRedirect:u,useCookie:h,fallbackLocale:d}=s,c=Z(e)?e:e.path;if(o!=="no_prefix"){if(f==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(f==="no prefix"&&!u&&c.match(da(ar)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=Sd();g||(p="navigator_or_header");const S=g||v,w=S||d||"";return!S&&d&&(p="fallback"),{locale:w,from:p}}function vo(){let e;return e=window.location.host,e}function z_(e,t,n){let s=vo()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return Ct(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(xd("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),o=r[0];else{if(n){const i=ce(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 bd(e){var i,a,l,f,u,h;const t=gt();ge();const n=vo(),s=t.public.i18n,o=ho.find(d=>d.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=(f=(l=s==null?void 0:s.locales)==null?void 0:l[e])==null?void 0:f.domains)==null?void 0:u.find(d=>d===n))||((h=o==null?void 0:o.domains)==null?void 0:h.find(d=>d===n));if(r){if(Ct(r,{strict:!0}))return r;let d;return d=new URL(window.location.origin).protocol,d+"//"+r}console.warn(xd("Could not find domain name for locale "+e))}const Zr=(e=gt().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
|
||
* message-compiler v9.14.4
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Z_(e,t,n){return{line:e,column:t,offset:n}}function js(e,t,n){return{start:e,end:t}}const Cd={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function ex(e,t,...n){const o={message:String(e),code:e};return t&&(o.location=t),o}const Se={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:17};function yo(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 tx(e){throw e}const Gt=" ",nx="\r",ot=`
|
||
`,rx="\u2028",sx="\u2029";function ox(e){const t=e;let n=0,s=1,o=1,r=0;const i=E=>t[E]===nx&&t[E+1]===ot,a=E=>t[E]===ot,l=E=>t[E]===sx,f=E=>t[E]===rx,u=E=>i(E)||a(E)||l(E)||f(E),h=()=>n,d=()=>s,c=()=>o,p=()=>r,g=E=>i(E)||l(E)||f(E)?ot:t[E],v=()=>g(n),S=()=>g(n+r);function w(){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;)w();r=0}return{index:h,line:d,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:S,next:w,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const on=void 0,ix=".",sc="'",ax="tokenizer";function lx(e,t={}){const n=t.location!==!1,s=ox(e),o=()=>s.index(),r=()=>Z_(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:""},f=()=>l,{onError:u}=t;function h(R,k,M,...K){const q=f();if(k.column+=M,k.offset+=M,u){const G=n?js(q.startLoc,k):null,N=yo(R,G,{domain:ax,args:K});u(N)}}function d(R,k,M){R.endLoc=r(),R.currentType=k;const K={type:k};return n&&(K.loc=js(R.startLoc,R.endLoc)),M!=null&&(K.value=M),K}const c=R=>d(R,14);function p(R,k){return R.currentChar()===k?(R.next(),k):(h(Se.EXPECTED_TOKEN,r(),0,k),"")}function g(R){let k="";for(;R.currentPeek()===Gt||R.currentPeek()===ot;)k+=R.currentPeek(),R.peek();return k}function v(R){const k=g(R);return R.skipToPeek(),k}function S(R){if(R===on)return!1;const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function w(R){if(R===on)return!1;const k=R.charCodeAt(0);return k>=48&&k<=57}function y(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const K=S(R.currentPeek());return R.resetPeek(),K}function _(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const K=R.currentPeek()==="-"?R.peek():R.currentPeek(),q=w(K);return R.resetPeek(),q}function m(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const K=R.currentPeek()===sc;return R.resetPeek(),K}function x(R,k){const{currentType:M}=k;if(M!==8)return!1;g(R);const K=R.currentPeek()===".";return R.resetPeek(),K}function E(R,k){const{currentType:M}=k;if(M!==9)return!1;g(R);const K=S(R.currentPeek());return R.resetPeek(),K}function b(R,k){const{currentType:M}=k;if(!(M===8||M===12))return!1;g(R);const K=R.currentPeek()===":";return R.resetPeek(),K}function P(R,k){const{currentType:M}=k;if(M!==10)return!1;const K=()=>{const G=R.currentPeek();return G==="{"?S(R.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Gt||!G?!1:G===ot?(R.peek(),K()):C(R,!1)},q=K();return R.resetPeek(),q}function L(R){g(R);const k=R.currentPeek()==="|";return R.resetPeek(),k}function T(R){const k=g(R),M=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:M,hasSpace:k.length>0}}function C(R,k=!0){const M=(q=!1,G="",N=!1)=>{const H=R.currentPeek();return H==="{"?G==="%"?!1:q:H==="@"||!H?G==="%"?!0:q:H==="%"?(R.peek(),M(q,"%",!0)):H==="|"?G==="%"||N?!0:!(G===Gt||G===ot):H===Gt?(R.peek(),M(!0,Gt,N)):H===ot?(R.peek(),M(!0,ot,N)):!0},K=M();return k&&R.resetPeek(),K}function O(R,k){const M=R.currentChar();return M===on?on:k(M)?(R.next(),M):null}function $(R){const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function F(R){return O(R,$)}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 fe(R){const k=R.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ue(R){return O(R,fe)}function ne(R){let k="",M="";for(;k=se(R);)M+=k;return M}function Pe(R){v(R);const k=R.currentChar();return k!=="%"&&h(Se.EXPECTED_TOKEN,r(),0,k),R.next(),"%"}function _e(R){let k="";for(;;){const M=R.currentChar();if(M==="{"||M==="}"||M==="@"||M==="|"||!M)break;if(M==="%")if(C(R))k+=M,R.next();else break;else if(M===Gt||M===ot)if(C(R))k+=M,R.next();else{if(L(R))break;k+=M,R.next()}else k+=M,R.next()}return k}function Be(R){v(R);let k="",M="";for(;k=j(R);)M+=k;return R.currentChar()===on&&h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),M}function de(R){v(R);let k="";return R.currentChar()==="-"?(R.next(),k+=`-${ne(R)}`):k+=ne(R),R.currentChar()===on&&h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),k}function V(R){return R!==sc&&R!==ot}function J(R){v(R),p(R,"'");let k="",M="";for(;k=O(R,V);)k==="\\"?M+=z(R):M+=k;const K=R.currentChar();return K===ot||K===on?(h(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===ot&&(R.next(),p(R,"'")),M):(p(R,"'"),M)}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(Se.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function ee(R,k,M){p(R,k);let K="";for(let q=0;q<M;q++){const G=ue(R);if(!G){h(Se.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${k}${K}${R.currentChar()}`);break}K+=G}return`\\${k}${K}`}function he(R){return R!=="{"&&R!=="}"&&R!==Gt&&R!==ot}function xe(R){v(R);let k="",M="";for(;k=O(R,he);)M+=k;return M}function A(R){let k="",M="";for(;k=F(R);)M+=k;return M}function I(R){const k=M=>{const K=R.currentChar();return K==="{"||K==="%"||K==="@"||K==="|"||K==="("||K===")"||!K||K===Gt?M:(M+=K,R.next(),k(M))};return k("")}function D(R){v(R);const k=p(R,"|");return v(R),k}function W(R,k){let M=null;switch(R.currentChar()){case"{":return k.braceNest>=1&&h(Se.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),M=d(k,2,"{"),v(R),k.braceNest++,M;case"}":return k.braceNest>0&&k.currentType===2&&h(Se.EMPTY_PLACEHOLDER,r(),0),R.next(),M=d(k,3,"}"),k.braceNest--,k.braceNest>0&&v(R),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),M;case"@":return k.braceNest>0&&h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),M=B(R,k)||c(k),k.braceNest=0,M;default:{let q=!0,G=!0,N=!0;if(L(R))return k.braceNest>0&&h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),M=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,M;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,X(R,k);if(q=y(R,k))return M=d(k,5,Be(R)),v(R),M;if(G=_(R,k))return M=d(k,6,de(R)),v(R),M;if(N=m(R,k))return M=d(k,7,J(R)),v(R),M;if(!q&&!G&&!N)return M=d(k,13,xe(R)),h(Se.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,M.value),v(R),M;break}}return M}function B(R,k){const{currentType:M}=k;let K=null;const q=R.currentChar();switch((M===8||M===9||M===12||M===10)&&(q===ot||q===Gt)&&h(Se.INVALID_LINKED_FORMAT,r(),0),q){case"@":return R.next(),K=d(k,8,"@"),k.inLinked=!0,K;case".":return v(R),R.next(),d(k,9,".");case":":return v(R),R.next(),d(k,10,":");default:return L(R)?(K=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,K):x(R,k)||b(R,k)?(v(R),B(R,k)):E(R,k)?(v(R),d(k,12,A(R))):P(R,k)?(v(R),q==="{"?W(R,k)||K:d(k,11,I(R))):(M===8&&h(Se.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,X(R,k))}}function X(R,k){let M={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(Se.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),d(k,3,"}");case"@":return B(R,k)||c(k);default:{if(L(R))return M=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,M;const{isModulo:q,hasSpace:G}=T(R);if(q)return G?d(k,0,_e(R)):d(k,4,Pe(R));if(C(R))return d(k,0,_e(R));break}}return M}function Q(){const{currentType:R,offset:k,startLoc:M,endLoc:K}=l;return l.lastType=R,l.lastOffset=k,l.lastStartLoc=M,l.lastEndLoc=K,l.offset=o(),l.startLoc=r(),s.currentChar()===on?d(l,14):X(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:f}}const cx="parser",ux=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function fx(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 dx(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function o(y,_,m,x,...E){const b=y.currentPosition();if(b.offset+=x,b.column+=x,n){const P=t?js(m,b):null,L=yo(_,P,{domain:cx,args:E});n(L)}}function r(y,_,m,x,...E){const b=y.currentPosition();if(b.offset+=x,b.column+=x,s){const P=t?js(m,b):null;s(ex(_,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 f(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:E}=m,b=i(5,x,E);return b.index=parseInt(_,10),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function u(y,_,m){const x=y.context(),{lastOffset:E,lastStartLoc:b}=x,P=i(4,E,b);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,b=i(9,x,E);return b.value=_.replace(ux,fx),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function d(y){const _=y.nextToken(),m=y.context(),{lastOffset:x,lastStartLoc:E}=m,b=i(8,x,E);return _.type!==12?(o(y,Se.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),b.value="",a(b,x,E),{nextConsumeToken:_,node:b}):(_.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Pt(_)),b.value=_.value||"",a(b,y.currentOffset(),y.currentPosition()),{node:b})}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=d(y);m.modifier=E.node,x=E.nextConsumeToken||y.nextToken()}switch(x.type!==10&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(x)),x=y.nextToken(),x.type===2&&(x=y.nextToken()),x.type){case 11:x.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(x)),m.key=f(y,x.value||"");break;case 7:x.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(x)),m.key=h(y,x.value||"");break;default:{o(y,Se.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const E=y.context(),b=i(7,E.offset,E.startLoc);return b.value="",a(b,E.offset,E.startLoc),m.key=b,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 b=null,P=null;do{const C=b||y.nextToken();switch(b=null,C.type){case 0:C.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(C)),E.items.push(l(y,C.value||""));break;case 6:C.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(C)),E.items.push(f(y,C.value||""));break;case 4:P=!0;break;case 5:C.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(C)),E.items.push(u(y,C.value||"",!!P)),P&&(r(y,Cd.USE_MODULO_SYNTAX,_.lastStartLoc,0,Pt(C)),P=null);break;case 7:C.value==null&&o(y,Se.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Pt(C)),E.items.push(h(y,C.value||""));break;case 8:{const O=p(y);E.items.push(O.node),b=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 b=x.items.length===0;const P=i(1,_,m);P.cases=[],P.cases.push(x);do{const L=g(y);b||(b=L.items.length===0),P.cases.push(L)}while(E.currentType!==14);return b&&o(y,Se.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(P,y.currentOffset(),y.currentPosition()),P}function S(y){const _=y.context(),{offset:m,startLoc:x}=_,E=g(y);return _.currentType===14?E:v(y,m,x,E)}function w(y){const _=lx(y,Ue({},e)),m=_.context(),x=i(0,m.offset,m.startLoc);return t&&x.loc&&(x.loc.source=y),x.body=S(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(y)),m.currentType!==14&&o(_,Se.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),a(x,_.currentOffset(),_.currentPosition()),x}return{parse:w}}function Pt(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 hx(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function oc(e,t){for(let n=0;n<e.length;n++)ma(e[n],t)}function ma(e,t){switch(e.type){case 1:oc(e.cases,t),t.helper("plural");break;case 2:oc(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 px(e,t={}){const n=hx(e);n.helper("normalize"),e.body&&ma(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function gx(e){const t=e.body;return t.type===2?ic(t):t.cases.forEach(n=>ic(n)),e}function ic(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 qn(e){switch(e.t=e.type,e.type){case 0:{const t=e;qn(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++)qn(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++)qn(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;qn(t.key),t.k=t.key,delete t.key,t.modifier&&(qn(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 mx(e,t){const{filename:n,breakLineCode:s,needIndent:o}=t,r=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:o,indentLevel:0};r&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(g,v){i.code+=g}function f(g,v=!0){const S=v?s:"";l(o?S+" ".repeat(g):S)}function u(g=!0){const v=++i.indentLevel;g&&f(v)}function h(g=!0){const v=--i.indentLevel;g&&f(v)}function d(){f(i.indentLevel)}return{context:a,push:l,indent:u,deindent:h,newline:d,helper:g=>`_${g}`,needIndent:()=>i.needIndent}}function vx(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),fr(e,t.key),t.modifier?(e.push(", "),fr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function yx(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&&(fr(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function _x(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&&(fr(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function xx(e,t){t.body?fr(e,t.body):e.push("null")}function fr(e,t){const{helper:n}=e;switch(t.type){case 0:xx(e,t);break;case 1:_x(e,t);break;case 2:yx(e,t);break;case 6:vx(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 Sx=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",s=Z(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
||
`,r=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=mx(e,{filename:s,breakLineCode:o,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),i.length>0&&(a.push(`const { ${fa(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),fr(a,e),a.deindent(r),a.push("}"),delete e.helpers;const{code:l,map:f}=a.context();return{ast:e,code:l,map:f?f.toJSON():void 0}};function wx(e,t={}){const n=Ue({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=dx(n).parse(e);return s?(r&&gx(a),o&&qn(a),{ast:a,code:""}):(px(a,n),Sx(a,n))}/*!
|
||
* core-base v9.14.4
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Ex(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ua().__INTLIFY_PROD_DEVTOOLS__=!1)}function Vt(e){return ce(e)&&va(e)===0&&(At(e,"b")||At(e,"body"))}const Pd=["b","body"];function bx(e){return Cn(e,Pd)}const Td=["c","cases"];function Cx(e){return Cn(e,Td,[])}const Ld=["s","static"];function Px(e){return Cn(e,Ld)}const Rd=["i","items"];function Tx(e){return Cn(e,Rd,[])}const kd=["t","type"];function va(e){return Cn(e,kd)}const Ad=["v","value"];function ps(e,t){const n=Cn(e,Ad);if(n!=null)return n;throw Br(t)}const Id=["m","modifier"];function Lx(e){return Cn(e,Id)}const Od=["k","key"];function Rx(e){const t=Cn(e,Od);if(t)return t;throw Br(6)}function Cn(e,t,n){for(let s=0;s<t.length;s++){const o=t[s];if(At(e,o)&&e[o]!=null)return e[o]}return n}const Md=[...Pd,...Td,...Ld,...Rd,...Od,...Id,...Ad,...kd];function Br(e){return new Error(`unhandled node type: ${e}`)}const Pn=[];Pn[0]={w:[0],i:[3,0],"[":[4],o:[7]};Pn[1]={w:[1],".":[2],"[":[4],o:[7]};Pn[2]={w:[2],i:[3,0],0:[3,0]};Pn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Pn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Pn[5]={"'":[4,0],o:8,l:[5,0]};Pn[6]={'"':[4,0],o:8,l:[6,0]};const kx=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ax(e){return kx.test(e)}function Ix(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 Ox(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 Mx(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ax(t)?Ix(t):"*"+t}function Nx(e){const t=[];let n=-1,s=0,o=0,r,i,a,l,f,u,h;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,s=4,d[0]();else{if(o=0,i===void 0||(i=Mx(i),i===!1))return!1;d[1]()}};function c(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=Ox(r),h=Pn[s],f=h[l]||h.l||8,f===8||(s=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(a=r,u()===!1))))return;if(s===7)return t}}const ac=new Map;function Dx(e,t){return ce(e)?e[t]:null}function Fx(e,t){if(!ce(e))return null;let n=ac.get(t);if(n||(n=Nx(t),n&&ac.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=n[r];if(Md.includes(i)&&Vt(o))return null;const a=o[i];if(a===void 0||be(o))return null;o=a,r++}return o}const $x=e=>e,Hx=e=>"",Ux="text",Bx=e=>e.length===0?"":fa(e),Vx=q0;function lc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function jx(e){const t=Ve(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ve(e.named.count)||Ve(e.named.n))?Ve(e.named.count)?e.named.count:Ve(e.named.n)?e.named.n:t:t}function Wx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Kx(e={}){const t=e.locale,n=jx(e),s=ce(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?e.pluralRules[t]:lc,o=ce(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?lc:void 0,r=S=>S[s(n,S.length,o)],i=e.list||[],a=S=>i[S],l=e.named||Te();Ve(e.pluralIndex)&&Wx(n,l);const f=S=>l[S];function u(S){const w=be(e.messages)?e.messages(S):ce(e.messages)?e.messages[S]:!1;return w||(e.parent?e.parent.message(S):Hx)}const h=S=>e.modifiers?e.modifiers[S]:$x,d=pe(e.processor)&&be(e.processor.normalize)?e.processor.normalize:Bx,c=pe(e.processor)&&be(e.processor.interpolate)?e.processor.interpolate:Vx,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:Ux,v={list:a,named:f,plural:r,linked:(S,...w)=>{const[y,_]=w;let m="text",x="";w.length===1?ce(y)?(x=y.modifier||x,m=y.type||m):Z(y)&&(x=y||x):w.length===2&&(Z(y)&&(x=y||x),Z(_)&&(m=_||m));const E=u(S)(v),b=m==="vnode"&&He(E)&&x?E[0]:E;return x?h(x)(b,m):b},message:u,type:p,interpolate:c,normalize:d,values:Ue(Te(),i,l)};return v}let Vr=null;function Gx(e){Vr=e}function Yx(e,t,n){Vr&&Vr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Xx=qx("function:translate");function qx(e){return t=>Vr&&Vr.emit(e,t)}const Jx=Cd.__EXTEND_POINT__,An=fo(Jx),Qx={FALLBACK_TO_TRANSLATE:An(),CANNOT_FORMAT_NUMBER:An(),FALLBACK_TO_NUMBER_FORMAT:An(),CANNOT_FORMAT_DATE:An(),FALLBACK_TO_DATE_FORMAT:An(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:An(),__EXTEND_POINT__:An()},Nd=Se.__EXTEND_POINT__,In=fo(Nd),Ut={INVALID_ARGUMENT:Nd,INVALID_DATE_ARGUMENT:In(),INVALID_ISO_DATE_ARGUMENT:In(),NOT_SUPPORT_NON_STRING_MESSAGE:In(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:In(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:In(),NOT_SUPPORT_LOCALE_TYPE:In(),__EXTEND_POINT__:In()};function Zt(e){return yo(e,null,void 0)}function ya(e,t){return t.locale!=null?cc(t.locale):cc(e.locale)}let jo;function cc(e){if(Z(e))return e;if(be(e)){if(e.resolvedOnce&&jo!=null)return jo;if(e.constructor.name==="Function"){const t=e();if(X0(t))throw Zt(Ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return jo=t}else throw Zt(Ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Zt(Ut.NOT_SUPPORT_LOCALE_TYPE)}function zx(e,t,n){return[...new Set([n,...He(t)?t:ce(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Dd(e,t,n){const s=Z(n)?n:Ws,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;He(i);)i=uc(r,i,t);const a=He(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,He(i)&&uc(r,i,!1),o.__localeChainCache.set(s,r)}return r}function uc(e,t,n){let s=!0;for(let o=0;o<t.length&&Oe(s);o++){const r=t[o];Z(r)&&(s=Zx(e,t[o],n))}return s}function Zx(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=e1(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function e1(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),(He(n)||pe(n))&&n[o]&&(s=n[o])}return s}const t1="9.14.4",_o=-1,Ws="en-US",fc="",dc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function n1(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?dc(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?dc(e.children):e}}let Fd;function r1(e){Fd=e}let $d;function s1(e){$d=e}let Hd;function o1(e){Hd=e}let Ud=null;const i1=e=>{Ud=e},a1=()=>Ud;let Bd=null;const hc=e=>{Bd=e},l1=()=>Bd;let pc=0;function c1(e={}){const t=be(e.onWarn)?e.onWarn:J0,n=Z(e.version)?e.version:t1,s=Z(e.locale)||be(e.locale)?e.locale:Ws,o=be(s)?Ws:s,r=He(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:Wo(o),a=pe(e.datetimeFormats)?e.datetimeFormats:Wo(o),l=pe(e.numberFormats)?e.numberFormats:Wo(o),f=Ue(Te(),e.modifiers,n1()),u=e.pluralRules||Te(),h=be(e.missing)?e.missing:null,d=Oe(e.missingWarn)||Us(e.missingWarn)?e.missingWarn:!0,c=Oe(e.fallbackWarn)||Us(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=be(e.postTranslation)?e.postTranslation:null,S=pe(e.processor)?e.processor:null,w=Oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=be(e.messageCompiler)?e.messageCompiler:Fd,m=be(e.messageResolver)?e.messageResolver:$d||Dx,x=be(e.localeFallbacker)?e.localeFallbacker:Hd||zx,E=ce(e.fallbackContext)?e.fallbackContext:void 0,b=e,P=ce(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,L=ce(b.__numberFormatters)?b.__numberFormatters:new Map,T=ce(b.__meta)?b.__meta:{};pc++;const C={version:n,cid:pc,locale:s,fallbackLocale:r,messages:i,modifiers:f,pluralRules:u,missing:h,missingWarn:d,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:v,processor:S,warnHtmlMessage:w,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__&&Yx(C,n,T),C}const Wo=e=>({[e]:Te()});function _a(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 mr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function u1(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function f1(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(u1(e,t[s]))return!0;return!1}function Ko(e){return n=>d1(n,e)}function d1(e,t){const n=bx(t);if(n==null)throw Br(0);if(va(n)===1){const r=Cx(n);return e.plural(r.reduce((i,a)=>[...i,gc(e,a)],[]))}else return gc(e,n)}function gc(e,t){const n=Px(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=Tx(t).reduce((o,r)=>[...o,ki(e,r)],[]);return e.normalize(s)}}function ki(e,t){const n=va(t);switch(n){case 3:return ps(t,n);case 9:return ps(t,n);case 4:{const s=t;if(At(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(At(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw Br(n)}case 5:{const s=t;if(At(s,"i")&&Ve(s.i))return e.interpolate(e.list(s.i));if(At(s,"index")&&Ve(s.index))return e.interpolate(e.list(s.index));throw Br(n)}case 6:{const s=t,o=Lx(s),r=Rx(s);return e.linked(ki(e,r),o?ki(e,o):void 0,e.type)}case 7:return ps(t,n);case 8:return ps(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const h1=e=>e;let gs=Te();function p1(e,t={}){let n=!1;const s=t.onError||tx;return t.onError=o=>{n=!0,s(o)},{...wx(e,t),detectError:n}}function g1(e,t){if(Z(e)){Oe(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||h1)(e),o=gs[s];if(o)return o;const{ast:r,detectError:i}=p1(e,{...t,location:!1,jit:!0}),a=Ko(r);return i?a:gs[s]=a}else{const n=e.cacheKey;if(n){const s=gs[n];return s||(gs[n]=Ko(e))}else return Ko(e)}}const mc=()=>"",xt=e=>be(e);function vc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=Ai(...t),u=Oe(f.missingWarn)?f.missingWarn:e.missingWarn,h=Oe(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=Oe(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Z(f.default)||Oe(f.default)?Oe(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",g=n||p!=="",v=ya(e,f);d&&m1(f);let[S,w,y]=c?[l,v,a[v]||Te()]:Vd(e,l,v,i,h,u),_=S,m=l;if(!c&&!(Z(_)||Vt(_)||xt(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||Vt(_)||xt(_))||!Z(w)))return o?_o:l;let x=!1;const E=()=>{x=!0},b=xt(_)?_:jd(e,l,w,_,m,E);if(x)return _;const P=_1(e,w,y,f),L=Kx(P),T=v1(e,b,L),C=s?s(T,l):T;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:xt(_)?_.key:"",locale:w||(xt(_)?_.locale:""),format:Z(_)?_:xt(_)?_.source:"",message:C};O.meta=Ue({},e.__meta,a1()||{}),Xx(O)}return C}function m1(e){He(e.list)?e.list=e.list.map(t=>Z(t)?Wl(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=Wl(e.named[t]))})}function Vd(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:f}=e,u=f(e,s,n);let h=Te(),d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],h=i[d]||Te(),(c=l(h,t))===null&&(c=h[t]),!(Z(c)||Vt(c)||xt(c)));g++)if(!f1(d,u)){const v=_a(e,t,d,r,p);v!==t&&(c=v)}return[c,d,h]}function jd(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(xt(s)){const f=s;return f.locale=f.locale||n,f.key=f.key||t,f}if(i==null){const f=()=>s;return f.locale=n,f.key=t,f}const l=i(s,y1(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function v1(e,t,n){return t(n)}function Ai(...e){const[t,n,s]=e,o=Te();if(!Z(t)&&!Ve(t)&&!xt(t)&&!Vt(t))throw Zt(Ut.INVALID_ARGUMENT);const r=Ve(t)?String(t):(xt(t),t);return Ve(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!uo(n)?o.named=n:He(n)&&(o.list=n),Ve(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&Ue(o,s),[r,o]}function y1(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>V0(t,n,i)}}function _1(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=Vd(u,c,t,a,l,f);p=i(g,c)}if(Z(p)||Vt(p)){let g=!1;const S=jd(e,c,t,p,c,()=>{g=!0});return g?mc:S}else return xt(p)?p:mc}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),Ve(s.plural)&&(d.pluralIndex=s.plural),d}function yc(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=Ii(...t),d=Oe(u.missingWarn)?u.missingWarn:e.missingWarn;Oe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ya(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,h).format(f);let v={},S,w=null;const y="datetime format";for(let x=0;x<g.length&&(S=g[x],v=n[S]||{},w=v[l],!pe(w));x++)_a(e,l,S,d,y);if(!pe(w)||!Z(S))return s?_o:l;let _=`${S}__${l}`;uo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(S,Ue({},w,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const Wd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ii(...e){const[t,n,s,o]=e,r=Te();let i=Te(),a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Zt(Ut.INVALID_ISO_DATE_ARGUMENT);const f=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(f);try{a.toISOString()}catch{throw Zt(Ut.INVALID_ISO_DATE_ARGUMENT)}}else if(W0(t)){if(isNaN(t.getTime()))throw Zt(Ut.INVALID_DATE_ARGUMENT);a=t}else if(Ve(t))a=t;else throw Zt(Ut.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Wd.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 _c(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function xc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=Oi(...t),d=Oe(u.missingWarn)?u.missingWarn:e.missingWarn;Oe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ya(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,h).format(f);let v={},S,w=null;const y="number format";for(let x=0;x<g.length&&(S=g[x],v=n[S]||{},w=v[l],!pe(w));x++)_a(e,l,S,d,y);if(!pe(w)||!Z(S))return s?_o:l;let _=`${S}__${l}`;uo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(S,Ue({},w,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const Kd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Oi(...e){const[t,n,s,o]=e,r=Te();let i=Te();if(!Ve(t))throw Zt(Ut.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Kd.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 Sc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}Ex();/*!
|
||
* vue-i18n v9.14.4
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const x1="9.14.4";function S1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ua().__INTLIFY_PROD_DEVTOOLS__=!1)}const w1=Qx.__EXTEND_POINT__,Yt=fo(w1);Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt();const Gd=Ut.__EXTEND_POINT__,ct=fo(Gd),Et={UNEXPECTED_RETURN_TYPE:Gd,INVALID_ARGUMENT:ct(),MUST_BE_CALL_SETUP_TOP:ct(),NOT_INSTALLED:ct(),NOT_AVAILABLE_IN_LEGACY_MODE:ct(),REQUIRED_VALUE:ct(),INVALID_VALUE:ct(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ct(),NOT_INSTALLED_WITH_PROVIDE:ct(),UNEXPECTED_ERROR:ct(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ct(),BRIDGE_SUPPORT_VUE_2_ONLY:ct(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ct(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ct(),__EXTEND_POINT__:ct()};function Nt(e,...t){return yo(e,null,void 0)}const Mi=En("__translateVNode"),Ni=En("__datetimeParts"),Di=En("__numberParts"),E1=En("__setPluralRules"),b1=En("__injectWithOption"),Fi=En("__dispose");function jr(e){if(!ce(e)||Vt(e))return e;for(const t in e)if(At(e,t))if(!t.includes("."))ce(e[t])&&jr(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]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in o||(o[n[i]]=Te()),!ce(o[n[i]])){r=!0;break}o=o[n[i]]}if(r||(Vt(o)?Md.includes(n[s])||delete e[t]:(o[n[s]]=e[t],delete e[t])),!Vt(o)){const i=o[n[s]];ce(i)&&jr(i)}}return e}function Yd(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:He(s)?Te():{[e]:Te()};if(He(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||Te(),Fn(f,i[l])):Fn(f,i)}else Z(a)&&Fn(JSON.parse(a),i)}),o==null&&r)for(const a in i)At(i,a)&&jr(i[a]);return i}function Xd(e){return e.type}function C1(e,t,n){let s=ce(t.messages)?t.messages:Te();"__i18nGlobal"in n&&(s=Yd(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(ce(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ce(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function wc(e){return Ie(mn,null,e,0)}const Ec="__INTLIFY_META__",bc=()=>[],P1=()=>!1;let Cc=0;function Pc(e){return(t,n,s,o)=>e(n,s,Un()||void 0,o)}const T1=()=>{const e=Un();let t=null;return e&&(t=Xd(e)[Ec])?{[Ec]:t}:null};function qd(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Hs?Ce:nr,a=!!e.translateExistCompatible;let l=Oe(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&l?n.locale.value:Z(e.locale)?e.locale:Ws),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||He(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(Yd(f.value,e)),d=i(pe(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[f.value]:{}});let p=n?n.missingWarn:Oe(e.missingWarn)||Us(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Oe(e.fallbackWarn)||Us(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Oe(e.fallbackRoot)?e.fallbackRoot:!0,S=!!e.fallbackFormat,w=be(e.missing)?e.missing:null,y=be(e.missing)?Pc(e.missing):null,_=be(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Oe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const E=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,P;P=(()=>{o&&hc(null);const N={version:x1,locale:f.value,fallbackLocale:u.value,messages:h.value,modifiers:E,pluralRules:b,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:S,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:m,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=d.value,N.numberFormats=c.value,N.__datetimeFormatters=pe(P)?P.__datetimeFormatters:void 0,N.__numberFormatters=pe(P)?P.__numberFormatters:void 0;const H=c1(N);return o&&hc(H),H})(),mr(P,f.value,u.value);function T(){return[f.value,u.value,h.value,d.value,c.value]}const C=me({get:()=>f.value,set:N=>{f.value=N,P.locale=f.value}}),O=me({get:()=>u.value,set:N=>{u.value=N,P.fallbackLocale=u.value,mr(P,f.value,N)}}),$=me(()=>h.value),F=me(()=>d.value),U=me(()=>c.value);function j(){return be(_)?_:null}function Y(N){_=N,P.postTranslation=N}function se(){return w}function fe(N){N!==null&&(y=Pc(N)),w=N,P.missing=y}const ue=(N,H,re,oe,Ne,Fe)=>{T();let Ke;try{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=n?l1():void 0),Ke=N(P)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=void 0)}if(re!=="translate exists"&&Ve(Ke)&&Ke===_o||re==="translate exists"&&!Ke){const[rt,Vn]=H();return n&&v?oe(n):Ne(rt)}else{if(Fe(Ke))return Ke;throw Nt(Et.UNEXPECTED_RETURN_TYPE)}};function ne(...N){return ue(H=>Reflect.apply(vc,null,[H,...N]),()=>Ai(...N),"translate",H=>Reflect.apply(H.t,H,[...N]),H=>H,H=>Z(H))}function Pe(...N){const[H,re,oe]=N;if(oe&&!ce(oe))throw Nt(Et.INVALID_ARGUMENT);return ne(H,re,Ue({resolvedMessage:!0},oe||{}))}function _e(...N){return ue(H=>Reflect.apply(yc,null,[H,...N]),()=>Ii(...N),"datetime format",H=>Reflect.apply(H.d,H,[...N]),()=>fc,H=>Z(H))}function Be(...N){return ue(H=>Reflect.apply(xc,null,[H,...N]),()=>Oi(...N),"number format",H=>Reflect.apply(H.n,H,[...N]),()=>fc,H=>Z(H))}function de(N){return N.map(H=>Z(H)||Ve(H)||Oe(H)?wc(String(H)):H)}const J={normalize:de,interpolate:N=>N,type:"vnode"};function z(...N){return ue(H=>{let re;const oe=H;try{oe.processor=J,re=Reflect.apply(vc,null,[oe,...N])}finally{oe.processor=null}return re},()=>Ai(...N),"translate",H=>H[Mi](...N),H=>[wc(H)],H=>He(H))}function ee(...N){return ue(H=>Reflect.apply(xc,null,[H,...N]),()=>Oi(...N),"number format",H=>H[Di](...N),bc,H=>Z(H)||He(H))}function he(...N){return ue(H=>Reflect.apply(yc,null,[H,...N]),()=>Ii(...N),"datetime format",H=>H[Ni](...N),bc,H=>Z(H)||He(H))}function xe(N){b=N,P.pluralRules=b}function A(N,H){return ue(()=>{if(!N)return!1;const re=Z(H)?H:f.value,oe=W(re),Ne=P.messageResolver(oe,N);return a?Ne!=null:Vt(Ne)||xt(Ne)||Z(Ne)},()=>[N],"translate exists",re=>Reflect.apply(re.te,re,[N,H]),P1,re=>Oe(re))}function I(N){let H=null;const re=Dd(P,u.value,f.value);for(let oe=0;oe<re.length;oe++){const Ne=h.value[re[oe]]||{},Fe=P.messageResolver(Ne,N);if(Fe!=null){H=Fe;break}}return H}function D(N){const H=I(N);return H??(n?n.tm(N)||{}:{})}function W(N){return h.value[N]||{}}function B(N,H){if(r){const re={[N]:H};for(const oe in re)At(re,oe)&&jr(re[oe]);H=re[N]}h.value[N]=H,P.messages=h.value}function X(N,H){h.value[N]=h.value[N]||{};const re={[N]:H};if(r)for(const oe in re)At(re,oe)&&jr(re[oe]);H=re[N],Fn(H,h.value[N]),P.messages=h.value}function Q(N){return d.value[N]||{}}function R(N,H){d.value[N]=H,P.datetimeFormats=d.value,_c(P,N,H)}function k(N,H){d.value[N]=Ue(d.value[N]||{},H),P.datetimeFormats=d.value,_c(P,N,H)}function M(N){return c.value[N]||{}}function K(N,H){c.value[N]=H,P.numberFormats=c.value,Sc(P,N,H)}function q(N,H){c.value[N]=Ue(c.value[N]||{},H),P.numberFormats=c.value,Sc(P,N,H)}Cc++,n&&Hs&&(pt(n.locale,N=>{l&&(f.value=N,P.locale=N,mr(P,f.value,u.value))}),pt(n.fallbackLocale,N=>{l&&(u.value=N,P.fallbackLocale=N,mr(P,f.value,u.value))}));const G={id:Cc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(N){l=N,N&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,mr(P,f.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:$,get modifiers(){return E},get pluralRules(){return b||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(N){p=N,P.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(N){g=N,P.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(N){v=N},get fallbackFormat(){return S},set fallbackFormat(N){S=N,P.fallbackFormat=S},get warnHtmlMessage(){return m},set warnHtmlMessage(N){m=N,P.warnHtmlMessage=N},get escapeParameter(){return x},set escapeParameter(N){x=N,P.escapeParameter=N},t:ne,getLocaleMessage:W,setLocaleMessage:B,mergeLocaleMessage:X,getPostTranslationHandler:j,setPostTranslationHandler:Y,getMissingHandler:se,setMissingHandler:fe,[E1]:xe};return G.datetimeFormats=F,G.numberFormats=U,G.rt=Pe,G.te=A,G.tm=D,G.d=_e,G.n=Be,G.getDateTimeFormat=Q,G.setDateTimeFormat=R,G.mergeDateTimeFormat=k,G.getNumberFormat=M,G.setNumberFormat=K,G.mergeNumberFormat=q,G[b1]=s,G[Mi]=z,G[Ni]=he,G[Di]=ee,G}const xa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function L1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===Ge?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},Te())}function Jd(e){return Ge}const R1=Ze({name:"i18n-t",props:Ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ve(e)||!isNaN(e)}},xa),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||xo({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i=Te();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=L1(t,r),l=o[Mi](e.keypath,a,i),f=Ue(Te(),s),u=Z(e.tag)||ce(e.tag)?e.tag:Jd();return Xe(u,f,l)}}}),Tc=R1;function k1(e){return He(e)&&!Z(e[0])}function Qd(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let a=Te();e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:ce(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?Ue(Te(),d,{[c]:e.format[c]}):d,Te()));const l=s(e.value,i,a);let f=[i.key];He(l)?f=l.map((d,c)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:c,parts:l}):[d.value];return k1(g)&&(g[0].key=`${d.type}-${c}`),g}):Z(l)&&(f=[l]);const u=Ue(Te(),r),h=Z(e.tag)||ce(e.tag)?e.tag:Jd();return Xe(h,u,f)}}const A1=Ze({name:"i18n-n",props:Ue({value:{type:Number,required:!0},format:{type:[String,Object]}},xa),setup(e,t){const n=e.i18n||xo({useScope:e.scope,__useComponent:!0});return Qd(e,t,Kd,(...s)=>n[Di](...s))}}),Lc=A1,I1=Ze({name:"i18n-d",props:Ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},xa),setup(e,t){const n=e.i18n||xo({useScope:e.scope,__useComponent:!0});return Qd(e,t,Wd,(...s)=>n[Ni](...s))}}),Rc=I1;function O1(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 M1(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw Nt(Et.UNEXPECTED_ERROR);const u=O1(e,a.$),h=kc(f);return[Reflect.apply(u.t,u,[...Ac(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);Hs&&e.global===f&&(i.__i18nWatcher=pt(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{Hs&&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,f=kc(a);i.textContent=Reflect.apply(l.t,l,[...Ac(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function kc(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Nt(Et.REQUIRED_VALUE,"path");return e}else throw Nt(Et.INVALID_VALUE)}function Ac(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Z(n)&&(i.locale=n),Ve(o)&&(i.plural=o),Ve(r)&&(i.plural=r),[t,a,i]}function N1(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Oe(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":Tc.name,"I18nT"].forEach(i=>e.component(i,Tc)),[Lc.name,"I18nN"].forEach(i=>e.component(i,Lc)),[Rc.name,"I18nD"].forEach(i=>e.component(i,Rc))),e.directive("t",M1(t))}const D1=En("global-vue-i18n");function F1(e={},t){const n=Oe(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=$1(e),a=En("");function l(h){return o.get(h)||null}function f(h,d){o.set(h,d)}function u(h){o.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return s},async install(d,...c){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,h),pe(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=G1(d,h.global)),N1(d,h,...c);const g=d.unmount;d.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:f,__deleteInstance:u};return h}}function xo(e={}){const t=Un();if(t==null)throw Nt(Et.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Nt(Et.NOT_INSTALLED);const n=H1(t),s=B1(n),o=Xd(t),r=U1(e,o);if(r==="global")return C1(s,e,o),s;if(r==="parent"){let l=V1(n,t,e.__useComponent);return l==null&&(l=s),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Ue({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),a=qd(l),i.__composerExtend&&(a[Fi]=i.__composerExtend(a)),W1(i,t,a),i.__setInstance(t,a)}return a}function $1(e,t,n){const s=ji();{const o=s.run(()=>qd(e));if(o==null)throw Nt(Et.UNEXPECTED_ERROR);return[s,o]}}function H1(e){{const t=nt(e.isCE?D1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Nt(e.isCE?Et.NOT_INSTALLED_WITH_PROVIDE:Et.UNEXPECTED_ERROR);return t}}function U1(e,t){return uo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function B1(e){return e.mode==="composition"?e.global:e.global.__composer}function V1(e,t,n=!1){let s=null;const o=t.root;let r=j1(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 j1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function W1(e,t,n){bt(()=>{},t),Qi(()=>{const s=n;e.__deleteInstance(t);const o=s[Fi];o&&(o(),delete s[Fi])},t)}const K1=["locale","fallbackLocale","availableLocales"],Ic=["t","rt","d","n","tm","te"];function G1(e,t){const n=Object.create(null);return K1.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Nt(Et.UNEXPECTED_ERROR);const i=De(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,Ic.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Nt(Et.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Ic.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}S1();r1(g1);s1(Fx);o1(Dd);if(__INTLIFY_PROD_DEVTOOLS__){const e=ua();e.__INTLIFY__=!0,Gx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Y1(){return dt(go)}function X1(){return dt(ur)}const q1=Dt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=X1(),n=new RegExp([`<!--${Kl}-\\[(\\w+)\\]-->`,".+?",`<!--/${Kl}-->`].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 J1(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=ji(),a=e.install;return e.install=(l,...f)=>{const u=Z1(f[0])?Ue({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=lr(e);g.locales=me(()=>v.locales.value),g.localeCodes=me(()=>v.localeCodes.value),g.baseUrl=me(()=>v.baseUrl.value);let S;return be(h)&&(S=Reflect.apply(h,u,[g])),()=>{S&&S()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{Oc(v,o.onExtendVueI18n);let S;return be(g)&&(S=Reflect.apply(g,u,[v])),()=>{S&&S()}}}f[0]=u,Reflect.apply(a,e,[l,...f]);const d=lr(e);i.run(()=>{Q1(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&ad(e.global)&&Oc(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&z1(p,d,o.onExtendExportedGlobal),u.inject){const g=ga(e);l.mixin({methods:{getRouteBaseName:dt(cr,g),resolveRoute:dt(mo,g),localePath:dt(go,g),localeRoute:dt(ha,g),localeLocation:dt(S_,g),switchLocalePath:dt(ur,g),localeHead:dt(fd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function Q1(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=Ce(n),a=Ce(s),l=Ce("");e.locales=me(()=>i.value),e.localeCodes=me(()=>a.value),e.baseUrl=me(()=>l.value),t_?pt(e.locale,()=>{l.value=Yl(o,r)},{immediate:!0}):l.value=Yl(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function zd(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 z1(e,t,n){zd(t,e,n)}function Oc(e,t){const n=lr(e);zd(n,e,t)}function Z1(e){return ce(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const eS=Dt({name:"i18n:plugin",parallel:z0,async setup(e){let t,n;const s=so(),{vueApp:o}=e,r=e,i=vo(),{configLocales:a,defaultLocale:l,multiDomainLocales:f,strategy:u}=r.$config.public.i18n,h=a.some(T=>typeof T!="string"&&Array.isArray(T.defaultForDomains));let d;if(l)d=l;else if(h){const T=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));d=(T==null?void 0:T.code)??""}else d="";if(f&&(u==="prefix_except_default"||u==="prefix_and_default")){const T=ze();T.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==d)T.removeRoute(C.name);else{const F=C.name.toString().replace("___default","");C.name=F}})}const c={...r.$config.public.i18n,defaultLocale:d};c.baseUrl=H_();const p=Zr(),g=([t,n]=kt(()=>d_(Q0,ge())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=pd(),S=T=>T||g.locale||"en-US",w=q_();let y=Jl(s,v,S(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:Vo(w,p,c.defaultLocale)},c);g.messages=([t,n]=kt(()=>h_(g.messages,Bs,{localeCodes:ar,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=S(y);const _=F1({...g,locale:y});let m=!0;const x=T=>y!==T&&m;let E=!0;const b=()=>E;if(b()&&c.strategy==="no_prefix"){const T=w.value;e.hook("app:mounted",()=>{const C=Ed(s,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:T},y);k_(_,C.locale),E=!1})}J1(_,{locales:c.configLocales,localeCodes:ar,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(T){T.strategy=c.strategy,T.localeProperties=me(()=>ho.find(C=>C.code===T.locale.value)||{code:T.locale.value}),T.setLocale=async C=>{const O=x(C);await ql(C,_,c,O)&&O&&(m=!1);const F=await r.runWithContext(()=>Ql({route:{to:s},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await zl({nuxtApp:r,i18n:_,redirectPath:F,locale:C,route:s},{enableNavigate:!0}))},T.loadLocaleMessages=async C=>{await Vs(C,Bs,($,F)=>md(_,$,F))},T.differentDomains=c.differentDomains,T.defaultLocale=c.defaultLocale,T.getBrowserLocale=()=>Sd(),T.getLocaleCookie=()=>Vo(w,p,c.defaultLocale),T.setLocaleCookie=C=>J_(w,C,p),T.onBeforeLanguageSwitch=(C,O,$,F)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:C,newLocale:O,initialSetup:$,context:F}),T.onLanguageSwitched=(C,O)=>e.callHook("i18n:localeSwitched",{oldLocale:C,newLocale:O}),T.finalizePendingLocaleChange=async()=>{_.__pendingLocale&&(ld(_,_.__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=lr(_);return T.strategy=C.strategy,T.localeProperties=me(()=>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),D_(r,_);let L=0;iv("locale-changing",async(T,C)=>{let O,$;const F=Jl(T,v,()=>po(_)||S(c.defaultLocale),{ssg:b()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:Vo(w,p,c.defaultLocale)},c),U=x(F);([O,$]=kt(()=>ql(F,_,c,U)),O=await O,$(),O)&&U&&(m=!1);const Y=([O,$]=kt(()=>r.runWithContext(()=>Ql({route:{to:T,from:C},targetLocale:F,routeLocaleGetter:c.strategy==="no_prefix"?()=>F:v,calledWithRouting:!0}))),O=await O,$(),O);return L++,[O,$]=kt(()=>r.runWithContext(async()=>zl({nuxtApp:r,i18n:_,redirectPath:Y,locale:F,route:T}))),O=await O,$(),O},{global:!0})}}),tS=[dy,py,O0,N0,D0,F0,H0,U0,B0,q1,eS],nS=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],enumerable:!0});return gn(Qr,zt(s)),()=>Xe(e.vnode,{ref:e.vnodeRef})}}),rS=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=ge(),r=Ce(),i=nt(Qr,null);let a;s({pageRef:r});const l=nt(kf,null);let f;const u=o.deferHydration();if(o.isHydrating){const d=o.hooks.hookOnce("app:error",u);ze().beforeEach(d)}e.pageKey&&pt(()=>e.pageKey,(d,c)=>{d!==c&&o.callHook("page:loading:start")});let h=!1;return()=>Xe(nd,{name:e.name,route:e.route,...t},{default:d=>{const c=oS(i,d.route,d.Component),p=i&&i.matched.length===d.route.matched.length;if(!d.Component){if(f&&!p)return f;u();return}if(f&&l&&!l.isCurrent(d.route))return f;if(c&&i&&(!l||l!=null&&l.isCurrent(i)))return p?f:null;const g=Ti(d,e.pageKey);!o.isHydrating&&!iS(i,d.route,d.Component)&&a===g&&(o.callHook("page:loading:end"),h=!0),a=g;const v=!!(e.transition??d.route.meta.pageTransition??pi),S=v&&sS([e.transition,d.route.meta.pageTransition,pi,{onAfterLeave:()=>{o.callHook("page:transition:finish",d.Component)}}].filter(Boolean)),w=e.keepalive??d.route.meta.keepalive??Hm;return f=rd(v&&S,w0(w,Xe(ea,{suspensible:!0,onPending:()=>o.callHook("page:start",d.Component),onResolve:()=>{Sn(()=>o.callHook("page:finish",d.Component).then(()=>{if(!h)return o.callHook("page:loading:end");h=!1}).finally(u))}},{default:()=>{const y=Xe(nS,{key:g||void 0,vnode:n.default?Xe(Ge,void 0,n.default(d)):d.Component,route:d.route,renderKey:g||void 0,trackRootNodes:v,vnodeRef:r});return w&&(y.type.name=d.Component.type.name||d.Component.type.__name||"RouteProvider"),y}}))).default(),f}})}});function sS(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?ca(n.onAfterLeave):void 0}));return Lf(...t)}function oS(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&&Ti({route:t,Component:n})!==Ti({route:e,Component:n})}function iS(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 aS=Ze({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Xe(dn[e.name],e.layoutProps,t.slots)}}),lS=Ze({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ge(),s=nt(Qr),o=s===so()?v0():s,r=me(()=>{let l=te(e.name)??o.meta.layout??"default";return l&&!(l in dn)&&e.fallback&&(l=te(e.fallback)),l}),i=Ce();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);ze().beforeEach(l)}return()=>{const l=r.value&&r.value in dn,f=o.meta.layoutTransition??$m;return rd(l&&f,{default:()=>Xe(ea,{suspensible:!0,onResolve:()=>{Sn(a)}},{default:()=>Xe(cS,{layoutProps:of(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),cS=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&&gn(kf,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in dn)?(o=(s=t.slots).default)==null?void 0:o.call(s):Xe(aS,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),uS=Symbol.for("nuxt:client-only"),So=Ze({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Ce(!1);return bt(()=>{s.value=!0}),gn(uS,!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 lt(a,n,i)}}});var Mc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ss={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.
|
||
*/var fS=Ss.exports,Nc;function dS(){return Nc||(Nc=1,function(e,t){(function(s,o){e.exports=o()})(fS,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(f){return r[f]}).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,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var d in h)f&&h[d]&&h[d].constructor===Object&&(!i[d]||i[d].constructor===Object)?(i[d]=i[d]||{},o.extend(i[d],f,h[d])):i[d]=h[d]}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),f=0;f<l.length;f++)a.push(i[l[f]]);return a}for(var u in i)a.push(i[u]);return a},o.get=function(i,a,l,f){a=a.split(".").slice(l,f);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},o.set=function(i,a,l,f,u){var h=a.split(".").slice(f,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)),f=i[a];i[a]=i[l],i[l]=f}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=[],f=0;f<i.length;f+=1)l.push(a(i[f]));return l},o.topologicalSort=function(i){var a=[],l=[],f=[];for(var u in i)!l[u]&&!f[u]&&o._topologicalSort(u,l,f,i,a);return a},o._topologicalSort=function(i,a,l,f,u){var h=f[i]||[];l[i]=!0;for(var d=0;d<h.length;d+=1){var c=h[d];l[c]||a[c]||o._topologicalSort(c,a,l,f,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 f=function(){for(var u,h=new Array(arguments.length),d=0,c=arguments.length;d<c;d++)h[d]=arguments[d];for(d=0;d<i.length;d+=1){var p=i[d].apply(u,h);typeof p<"u"&&(u=p)}return u};return f._chained=i,f},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 Mc<"u"&&(i=Mc.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 f=i[l];f.x>r.max.x&&(r.max.x=f.x),f.x<r.min.x&&(r.min.x=f.x),f.y>r.max.y&&(r.max.y=f.y),f.y<r.min.y&&(r.min.y=f.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),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),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,f){for(var u=[],h=0;h<l.length;h++){var d=l[h],c={x:d.x,y:d.y,index:h,body:f,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,f){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(d,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,f)},r.centre=function(l){for(var f=r.area(l,!0),u={x:0,y:0},h,d,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),d=i.mult(i.add(l[p],l[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(l){for(var f={x:0,y:0},u=0;u<l.length;u++)f.x+=l[u].x,f.y+=l[u].y;return i.div(f,l.length)},r.area=function(l,f){for(var u=0,h=l.length-1,d=0;d<l.length;d++)u+=(l[h].x-l[d].x)*(l[h].y+l[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(l,f){for(var u=0,h=0,d=l,c,p,g=0;g<d.length;g++)p=(g+1)%d.length,c=Math.abs(i.cross(d[p],d[g])),u+=c*(i.dot(d[p],d[p])+i.dot(d[p],d[g])+i.dot(d[g],d[g])),h+=c;return f/6*(u/h)},r.translate=function(l,f,u){u=typeof u<"u"?u:1;var h=l.length,d=f.x*u,c=f.y*u,p;for(p=0;p<h;p++)l[p].x+=d,l[p].y+=c;return l},r.rotate=function(l,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,p=u.y,g=l.length,v,S,w,y;for(y=0;y<g;y++)v=l[y],S=v.x-c,w=v.y-p,v.x=c+(S*h-w*d),v.y=p+(S*d+w*h);return l}},r.contains=function(l,f){for(var u=f.x,h=f.y,d=l.length,c=l[d-1],p,g=0;g<d;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,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p<l.length;p++)d=l[p],c=i.sub(d,h),l[p].x=h.x+c.x*f,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,f,u,h,d){typeof f=="number"?f=[f]:f=f||[8],u=typeof u<"u"?u:-1,h=h||2,d=d||14;for(var c=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],S=l[(p+1)%l.length],w=f[p<f.length?p:f.length-1];if(w===0){c.push(v);continue}var y=i.normalise({x:v.y-g.y,y:g.x-v.x}),_=i.normalise({x:S.y-v.y,y:v.x-S.x}),m=Math.sqrt(2*Math.pow(w,2)),x=i.mult(a.clone(y),w),E=i.normalise(i.mult(i.add(y,_),.5)),b=i.sub(v,i.mult(E,m)),P=u;u===-1&&(P=Math.pow(w,.32)*1.75),P=a.clamp(P,h,d),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),b))}return c},r.clockwiseSort=function(l){var f=r.mean(l);return l.sort(function(u,h){return i.angle(f,u)-i.angle(f,h)}),l},r.isConvex=function(l){var f=0,u=l.length,h,d,c,p;if(u<3)return null;for(h=0;h<u;h++)if(d=(h+1)%u,c=(h+2)%u,p=(l[d].x-l[h].x)*(l[c].y-l[d].y),p-=(l[d].y-l[h].y)*(l[c].x-l[d].x),p<0?f|=1:p>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d<l.length;d+=1){for(h=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),f=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:f.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=f.extend(p,c);return d(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 d=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":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",S=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||S,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 S=p[v];S!==c&&(S.parent=c,c.parts.push(S))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var w=[];for(v=0;v<p.length;v++)w=w.concat(p[v].vertices);i.clockwiseSort(w);var y=i.hull(w),_=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 S=0;S<c.parts.length;S++){var w=c.parts[S];w.position.x+=v.x,w.position.y+=v.y,i.translate(w.vertices,v),u.update(w.bounds,w.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 S=0;S<c.parts.length;S++){var w=c.parts[S];w.angle+=v,i.rotate(w.vertices,v,c.position),h.rotate(w.axes,v),u.update(w.bounds,w.vertices,c.velocity),S>0&&a.rotateAbout(w.position,v,c.position,w.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,f.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 S=Math.cos(p),w=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*S-_*w),y:g.y+(y*w+_*S)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var S=0,w=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&&(S+=_.area,w+=_.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=S,c.isStatic||(r.setMass(c,c.density*S),r.setInertia(c,w))),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,S=1-c.frictionAir*(p/f._baseDelta),w=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=w*S+c.force.x/c.mass*g,c.velocity.y=y*S+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)*S*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],S=v.mass!==1/0?v.mass:1;p.mass+=S,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,S))}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,f){for(var u=l.split(" "),h,d=0;d<u.length;d++)h=u[d],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(f);return f},r.off=function(a,l,f){if(!l){a.events={};return}typeof l=="function"&&(f=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var d=a.events[u[h]],c=[];if(f&&d)for(var p=0;p<d.length;p++)d[p]!==f&&c.push(d[p]);a.events[u[h]]=c}},r.trigger=function(a,l,f){var u,h,d,c,p=a.events;if(p&&i.keys(p).length>0){f||(f={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],d=p[h],d){c=i.clone(f,!1),c.name=h,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(0),l=o(1),f=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,d,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),d&&u.parent&&r.setModified(u.parent,h,d,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,d,c)}},r.add=function(u,h){var d=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<d.length;c++){var p=d[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,d){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,d);break;case"constraint":r.removeConstraint(u,g,d);break;case"composite":r.removeComposite(u,g,d);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,d){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),d)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,d){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),d)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,d){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),d)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,d){if(d)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),d=0;d<u.composites.length;d++)h=h.concat(r.allBodies(u.composites[d]));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),d=0;d<u.composites.length;d++)h=h.concat(r.allConstraints(u.composites[d]));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),d=0;d<u.composites.length;d++)h=h.concat(r.allComposites(u.composites[d]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,d){var c,p;switch(d){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,d){return r.remove(u,h),r.add(d,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<h.length;d++)h[d].id=a.nextId();return u},r.translate=function(u,h,d){for(var c=d?r.allBodies(u):u.bodies,p=0;p<c.length;p++)f.translate(c[p],h);return u},r.rotate=function(u,h,d,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,S=0;S<v.length;S++){var w=v[S],y=w.position.x-d.x,_=w.position.y-d.y;f.setPosition(w,{x:d.x+(y*p-_*g),y:d.y+(y*g+_*p)}),f.rotate(w,h)}return u},r.scale=function(u,h,d,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var S=g[v],w=S.position.x-c.x,y=S.position.y-c.y;f.setPosition(S,{x:c.x+w*h,y:c.y+y*d}),f.scale(S,h,d)}return u},r.bounds=function(u){for(var h=r.allBodies(u),d=[],c=0;c<h.length;c+=1){var p=h[c];d.push(p.bounds.min,p.bounds.max)}return l.create(d)}})()},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(f,u){for(var h=u/l._baseDelta,d=r._motionSleepThreshold,c=0;c<f.length;c++){var p=f[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),S=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var w=Math.min(p.motion,S),y=Math.max(p.motion,S);p.motion=r._minBias*w+(1-r._minBias)*y,p.sleepThreshold>0&&p.motion<d?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;h<f.length;h++){var d=f[h];if(d.isActive){var c=d.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,S=v===p?g:p;!v.isStatic&&S.motion>u&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.id<d.id?h:d,g.bodyB=h.id<d.id?d:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,d=g.bodyB;var v;f.overlap<u.overlap?v=f:v=u;var S=g.normal,w=g.supports,y=v.axis,_=y.x,m=y.y;_*(d.position.x-h.position.x)+m*(d.position.y-h.position.y)<0?(S.x=_,S.y=m):(S.x=-_,S.y=-m),g.tangent.x=-S.y,g.tangent.y=S.x,g.depth=v.overlap,g.penetration.x=S.x*g.depth,g.penetration.y=S.y*g.depth;var x=r._findSupports(h,d,S,1),E=0;if(i.contains(h.vertices,x[0])&&(w[E++]=x[0]),i.contains(h.vertices,x[1])&&(w[E++]=x[1]),E<2){var b=r._findSupports(d,h,S,-1);i.contains(d.vertices,b[0])&&(w[E++]=b[0]),E<2&&i.contains(d.vertices,b[1])&&(w[E++]=b[1])}return E===0&&(w[E++]=x[0]),w.length=E,g},r._overlapAxes=function(h,d,c,p){var g=d.length,v=c.length,S=d[0].x,w=d[0].y,y=c[0].x,_=c[0].y,m=p.length,x=Number.MAX_VALUE,E=0,b,P,L,T,C,O;for(C=0;C<m;C++){var $=p[C],F=$.x,U=$.y,j=S*F+w*U,Y=y*F+_*U,se=j,fe=Y;for(O=1;O<g;O+=1)T=d[O].x*F+d[O].y*U,T>se?se=T:T<j&&(j=T);for(O=1;O<v;O+=1)T=c[O].x*F+c[O].y*U,T>fe?fe=T:T<Y&&(Y=T);if(P=se-Y,L=fe-j,b=P<L?P:L,b<x&&(x=b,E=C,b<=0))break}h.axis=p[E],h.overlap=x},r._projectToAxis=function(h,d,c){for(var p=d[0].x*c.x+d[0].y*c.y,g=p,v=1;v<d.length;v+=1){var S=d[v].x*c.x+d[v].y*c.y;S>g?g=S:S<p&&(p=S)}h.min=p,h.max=g},r._findSupports=function(h,d,c,p){var g=d.vertices,v=g.length,S=h.position.x,w=h.position.y,y=c.x*p,_=c.y*p,m=Number.MAX_VALUE,x,E,b,P,L;for(L=0;L<v;L+=1)E=g[L],P=y*(S-E.x)+_*(w-E.y),P<m&&(m=P,x=E);return b=g[(v+x.index-1)%v],m=y*(S-b.x)+_*(w-b.y),E=g[(x.index+1)%v],y*(S-E.x)+_*(w-E.y)<m?(l[0]=x,l[1]=E,l):(l[0]=x,l[1]=b,l)}})()},function(n,s,o){var r={};n.exports=r;var i=o(16);(function(){r.create=function(a,l){var f=a.bodyA,u=a.bodyB,h={id:r.id(f,u),bodyA:f,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:f.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,f){var u=a.contacts,h=l.supports,d=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=f,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,d.length=0;for(var v=0;v<h.length;v++){var S=h[v],w=S.body===c?S.index:g+S.index,y=u[w];y?d.push(y):d.push(u[w]=i.create(S))}},r.setActive=function(a,l,f){l?(a.isActive=!0,a.timeUpdated=f):(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),f=o(1),u=o(11),h=o(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.create=function(d){var c=d;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 S={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(S.type="pin",S.anchors=!1):c.stiffness<.9&&(S.type="spring"),c.render=h.extend(S,c.render),c},r.preSolveAll=function(d){for(var c=0;c<d.length;c+=1){var p=d[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(d,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<d.length;g+=1){var v=d[g],S=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(S||w)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)v=d[g],S=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!S&&!w&&r.solve(d[g],p)},r.solve=function(d,c){var p=d.bodyA,g=d.bodyB,v=d.pointA,S=d.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(a.rotate(v,p.angle-d.angleA,v),d.angleA=p.angle),g&&!g.isStatic&&(a.rotate(S,g.angle-d.angleB,S),d.angleB=g.angle);var w=v,y=S;if(p&&(w=a.add(p.position,v)),g&&(y=a.add(g.position,S)),!(!w||!y)){var _=a.sub(w,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-d.length)/m,E=d.stiffness>=1||d.length===0,b=E?d.stiffness*c:d.stiffness*c*c,P=d.damping*c,L=a.mult(_,x*b),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&&(F=p.inverseMass/T,p.constraintImpulse.x-=L.x*F,p.constraintImpulse.y-=L.y*F,p.position.x-=L.x*F,p.position.y-=L.y*F,P>0&&(p.positionPrev.x-=P*U.x*j*F,p.positionPrev.y-=P*U.y*j*F),$=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=$,p.angle-=$),g&&!g.isStatic&&(F=g.inverseMass/T,g.constraintImpulse.x+=L.x*F,g.constraintImpulse.y+=L.y*F,g.position.x+=L.x*F,g.position.y+=L.y*F,P>0&&(g.positionPrev.x+=P*U.x*j*F,g.positionPrev.y+=P*U.y*j*F),$=a.cross(S,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=$,g.angle+=$)}}},r.postSolveAll=function(d){for(var c=0;c<d.length;c++){var p=d[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 S=p.parts[v];i.translate(S.vertices,g),v>0&&(S.position.x+=g.x,S.position.y+=g.y),g.angle!==0&&(i.rotate(S.vertices,g.angle,p.position),u.rotate(S.axes,g.angle),v>0&&a.rotateAbout(S.position,g.angle,p.position,S.position)),f.update(S.bounds,S.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.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 f={},u=0;u<l.length;u++){var h=(u+1)%l.length,d=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),f[c]=d}return a.values(f)},r.rotate=function(l,f){if(f!==0)for(var u=Math.cos(f),h=Math.sin(f),d=0;d<l.length;d++){var c=l[d],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),f=o(1),u=o(2);(function(){r.rectangle=function(h,d,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:d},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var S=g.chamfer;v.vertices=i.chamfer(v.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete g.chamfer}return l.create(a.extend({},v,g))},r.trapezoid=function(h,d,c,p,g,v){v=v||{},g*=.5;var S=(1-g*2)*c,w=c*g,y=w+S,_=y+w,m;g<.5?m="L 0 0 L "+w+" "+-p+" L "+y+" "+-p+" L "+_+" 0":m="L 0 0 L "+y+" "+-p+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:h,y:d},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,d,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var S=Math.ceil(Math.max(10,Math.min(g,c)));return S%2===1&&(S+=1),r.polygon(h,d,S,c,a.extend({},v,p))},r.polygon=function(h,d,c,p,g){if(g=g||{},c<3)return r.circle(h,d,p,g);for(var v=2*Math.PI/c,S="",w=v*.5,y=0;y<c;y+=1){var _=w+y*v,m=Math.cos(_)*p,x=Math.sin(_)*p;S+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var E={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(S)};if(g.chamfer){var b=g.chamfer;E.vertices=i.chamfer(E.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete g.chamfer}return l.create(a.extend({},E,g))},r.fromVertices=function(h,d,c,p,g,v,S,w){var y=a.getDecomp(),_,m,x,E,b,P,L,T,C,O,$;for(_=!!(y&&y.quickDecomp),p=p||{},x=[],g=typeof g<"u"?g:!1,v=typeof v<"u"?v:.01,S=typeof S<"u"?S:10,w=typeof w<"u"?w:.01,a.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(P=c[O],E=i.isConvex(P),b=!E,b&&!_&&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:d},vertices:P});else{var F=P.map(function(de){return[de.x,de.y]});y.makeCCW(F),v!==!1&&y.removeCollinearPoints(F,v),w!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints(F,w);var U=y.quickDecomp(F);for(L=0;L<U.length;L++){var j=U[L],Y=j.map(function(de){return{x:de[0],y:de[1]}});S>0&&i.area(Y)<S||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 fe=x[L];for(T=L+1;T<x.length;T++){var ue=x[T];if(f.overlaps(fe.bounds,ue.bounds)){var ne=fe.vertices,Pe=ue.vertices;for(C=0;C<fe.vertices.length;C++)for($=0;$<ue.vertices.length;$++){var _e=u.magnitudeSquared(u.sub(ne[(C+1)%ne.length],Pe[$])),Be=u.magnitudeSquared(u.sub(ne[C],Pe[($+1)%Pe.length]));_e<se&&Be<se&&(ne[C].isInternal=!0,Pe[$].isInternal=!0)}}}}}return x.length>1?(m=l.create(a.extend({parts:x.slice(0)},p)),l.setPosition(m,{x:h,y:d}),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 f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<d;g++){var S=h[g],w=S.bounds,y=S.bounds.max.x,_=S.bounds.max.y,m=S.bounds.min.y,x=S.isStatic||S.isSleeping,E=S.parts.length,b=E===1;for(v=g+1;v<d;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(S.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(b&&T===1){var C=p(S,P,u);C&&f.push(C)}else for(var O=E>1?1:0,$=T>1?1:0,F=O;F<E;F++)for(var U=S.parts[F],w=U.bounds,j=$;j<T;j++){var Y=P.parts[j],L=Y.bounds;if(!(w.min.x>L.max.x||w.max.x<L.min.x||w.max.y<L.min.y||w.min.y>L.max.y)){var C=p(U,Y,u);C&&f.push(C)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.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(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.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=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.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=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.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=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.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,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=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-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},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],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f<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 f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.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 f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d<u.length;d+=1)if(u[d]!==a.name){var c=r.resolve(u[d]);if(!c){h.push("❌ "+u[d]);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 f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),p=r.resolve(d);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(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"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 f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.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),f=o(19),u=o(5),h=o(6),d=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}},S=c.extend(v,g);return S.world=g.world||h.create({label:"World"}),S.pairs=g.pairs||f.create(),S.detector=g.detector||l.create(),S.grid={buckets:[]},S.world.gravity=S.gravity,S.broadphase=S.grid,S.metrics={},S},r.update=function(g,v){var S=c.now(),w=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 b={timestamp:m.timestamp,delta:v};u.trigger(g,"beforeUpdate",b);var P=h.allBodies(w),L=h.allConstraints(w);for(w.isModified&&(l.setBodies(y,P),h.setModified(w,!1,!1,!0)),g.enableSleeping&&i.update(P,v),r._bodiesApplyGravity(P,g.gravity),v>0&&r._bodiesUpdate(P,v),d.preSolveAll(P),E=0;E<g.constraintIterations;E++)d.solveAll(L,v);d.postSolveAll(P),y.pairs=g.pairs;var T=l.collisions(y);f.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),d.preSolveAll(P),E=0;E<g.constraintIterations;E++)d.solveAll(L,v);for(d.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",b),g.timing.lastElapsed=c.now()-S,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var S=h.allBodies(g.world),w=0;w<S.length;w++){var y=S[w];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(g){f.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,S=0;S<v;S++){var w=g[S];w.force.x=0,w.force.y=0,w.torque=0}},r._bodiesApplyGravity=function(g,v){var S=typeof v.scale<"u"?v.scale:.001,w=g.length;if(!(v.x===0&&v.y===0||S===0))for(var y=0;y<w;y++){var _=g[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*S,_.force.x+=_.mass*v.x*S)}},r._bodiesUpdate=function(g,v){for(var S=g.length,w=0;w<S;w++){var y=g[w];y.isStatic||y.isSleeping||p.update(y,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,S=0;S<v;S++)p.updateVelocities(g[S])}})()},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(f){var u,h,d,c=f.length;for(u=0;u<c;u++)h=f[u],h.isActive&&(d=h.activeContacts.length,h.collision.parentA.totalContacts+=d,h.collision.parentB.totalContacts+=d)},r.solvePosition=function(f,u,h){var d,c,p,g,v,S,w,y,_=r._positionDampen*(h||1),m=a.clamp(u/a._baseDelta,0,1),x=f.length;for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,S=p.normal,c.separation=S.x*(v.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+S.y*(v.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,S=p.normal,y=c.separation-c.slop*m,(g.isStatic||v.isStatic)&&(y*=2),g.isStatic||g.isSleeping||(w=_/g.totalContacts,g.positionImpulse.x+=S.x*y*w,g.positionImpulse.y+=S.y*y*w),v.isStatic||v.isSleeping||(w=_/v.totalContacts,v.positionImpulse.x-=S.x*y*w,v.positionImpulse.y-=S.y*y*w))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=l.update,p=0;p<h;p++){var g=f[p],v=g.positionImpulse,S=v.x,w=v.y,y=g.velocity;if(g.totalContacts=0,S!==0||w!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];d(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=S,m.position.y+=w}g.positionPrev.x+=S,g.positionPrev.y+=w,S*y.x+w*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(f){var u=f.length,h,d;for(h=0;h<u;h++){var c=f[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,S=v.parentA,w=v.parentB,y=v.normal,_=v.tangent;for(d=0;d<g;d++){var m=p[d],x=m.vertex,E=m.normalImpulse,b=m.tangentImpulse;if(E!==0||b!==0){var P=y.x*E+_.x*b,L=y.y*E+_.y*b;S.isStatic||S.isSleeping||(S.positionPrev.x+=P*S.inverseMass,S.positionPrev.y+=L*S.inverseMass,S.anglePrev+=S.inverseInertia*((x.x-S.position.x)*L-(x.y-S.position.y)*P)),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))}}}}},r.solveVelocity=function(f,u){var h=u/a._baseDelta,d=h*h,c=d*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,S=r._frictionMaxStatic,w=f.length,y,_,m,x;for(m=0;m<w;m++){var E=f[m];if(!(!E.isActive||E.isSensor)){var b=E.collision,P=b.parentA,L=b.parentB,T=P.velocity,C=L.velocity,O=b.normal.x,$=b.normal.y,F=b.tangent.x,U=b.tangent.y,j=E.activeContacts,Y=j.length,se=1/Y,fe=P.inverseMass+L.inverseMass,ue=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],Pe=ne.vertex,_e=Pe.x-P.position.x,Be=Pe.y-P.position.y,de=Pe.x-L.position.x,V=Pe.y-L.position.y,J=T.x-Be*P.angularVelocity,z=T.y+_e*P.angularVelocity,ee=C.x-V*L.angularVelocity,he=C.y+de*L.angularVelocity,xe=J-ee,A=z-he,I=O*xe+$*A,D=F*xe+U*A,W=E.separation+I,B=Math.min(W,1);B=W<0?0:B;var X=B*ue;D<-X||D>X?(_=D>0?D:-D,y=E.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=S);var Q=_e*$-Be*O,R=de*$-V*O,k=se/(fe+P.inverseInertia*Q*Q+L.inverseInertia*R*R),M=(1+E.restitution)*I*k;if(y*=k,I<p)ne.normalImpulse=0;else{var K=ne.normalImpulse;ne.normalImpulse+=M,ne.normalImpulse>0&&(ne.normalImpulse=0),M=ne.normalImpulse-K}if(D<-g||D>g)ne.tangentImpulse=0;else{var q=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-q}var G=O*M+F*y,N=$*M+U*y;P.isStatic||P.isSleeping||(P.positionPrev.x+=G*P.inverseMass,P.positionPrev.y+=N*P.inverseMass,P.anglePrev+=(_e*N-Be*G)*P.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=N*L.inverseMass,L.anglePrev-=(de*N-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,f,u){var h=l.list,d=h.length,c=l.table,p=f.length,g=l.collisionStart,v=l.collisionEnd,S=l.collisionActive,w,y,_,m;for(g.length=0,v.length=0,S.length=0,m=0;m<d;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)w=f[m],_=w.pair,_?(_.isActive?S.push(_):g.push(_),i.update(_,w,u),_.confirmedActive=!0):(_=i.create(w,u),c[_.id]=_,g.push(_),h.push(_));var x=[];for(d=h.length,m=0;m<d;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,f){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,f)},r.after=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,f)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),a=o(10),l=o(0),f=o(4),u=o(12),h=l.deprecated;(function(){r.stack=function(d,c,p,g,v,S,w){for(var y=i.create({label:"Stack"}),_=d,m=c,x,E=0,b=0;b<g;b++){for(var P=0,L=0;L<p;L++){var T=w(_,m,L,b,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),f.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+S,_=d}return y},r.chain=function(d,c,p,g,v,S){for(var w=d.bodies,y=1;y<w.length;y++){var _=w[y-1],m=w[y],x=_.bounds.max.y-_.bounds.min.y,E=_.bounds.max.x-_.bounds.min.x,b=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:b*v}},T=l.extend(L,S);i.addConstraint(d,a.create(T))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,v){var S=d.bodies,w,y,_,m,x;for(w=0;w<p;w++){for(y=1;y<c;y++)_=S[y-1+w*c],m=S[y+w*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v)));if(w>0)for(y=0;y<c;y++)_=S[y+(w-1)*c],m=S[y+w*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(x=S[y-1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&y<c-1&&(x=S[y+1+(w-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,p,g,v,S,w){return r.stack(d,c,p,g,v,S,function(y,_,m,x,E,b){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)){b===1&&f.translate(E,{x:(m+(p%2===1?1:-1))*L,y:0});var O=E?m*L:0;return w(d+O+m*v,_,m,x,E,b)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var S=i.create({label:"Newtons Cradle"}),w=0;w<p;w++){var y=1.9,_=u.circle(d+w*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:d+w*(g*y),y:c},bodyB:_});i.addBody(S,_),i.addConstraint(S,m)}return S},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,v){var S=f.nextGroup(!0),w=20,y=-p*.5+w,_=p*.5-w,m=0,x=i.create({label:"Car"}),E=u.rectangle(d,c,p,g,{collisionFilter:{group:S},chamfer:{radius:g*.5},density:2e-4}),b=u.circle(d+y,c+m,v,{collisionFilter:{group:S},friction:.8}),P=u.circle(d+_,c+m,v,{collisionFilter:{group:S},friction:.8}),L=a.create({bodyB:E,pointB:{x:y,y:m},bodyA:b,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,b),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(d,c,p,g,v,S,w,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(d,c,p,g,v,S,function(E,b){return u.circle(E,b,y,_)});return r.mesh(x,p,g,w,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(f){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,f)},r.update=function(f,u,h,d){var c,p,g,v=h.world,S=f.buckets,w,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!d)&&!(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(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(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),w=S[y];var b=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;!b&&P&&P&&w&&r._bucketRemoveBody(f,w,m),(m.region===x||b&&!P||d)&&(w||(w=r._createBucket(S,y)),r._bucketAddBody(f,w,m))}m.region=x,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.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 S=c(h,v),w=d[S];w?w[2]+=1:d[S]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=d[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=a.keys(h),c=d.length,p=[],g;for(g=0;g<c;g++)u=h[d[g]],u[2]>0?p.push(u):delete h[d[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),f=o(5),u=o(13),h=o(10),d=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var S=(g?g.mouse:null)||(v?v.mouse:null);S||(g&&g.render&&g.render.canvas?S=l.create(g.render.canvas):v&&v.element?S=l.create(v.element):(S=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var w=h.create({label:"Mouse Constraint",pointA:S.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:S,element:null,body:null,constraint:w,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var S=g.mouse,w=g.constraint,y=g.body;if(S.button===0){if(w.bodyB)a.set(w.bodyB,!1),w.pointA=S.position;else for(var _=0;_<v.length;_++)if(y=v[_],p.contains(y.bounds,S.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,S.position)){w.pointA=S.position,w.bodyB=g.body=y,w.pointB={x:S.position.x-y.position.x,y:S.position.y-y.position.y},w.angleB=y.angle,a.set(y,!1),f.trigger(g,"startdrag",{mouse:S,body:y});break}}}else w.bodyB=g.body=null,w.pointB=null,y&&f.trigger(g,"enddrag",{mouse:S,body:y})},r._triggerEvents=function(g){var v=g.mouse,S=v.sourceEvents;S.mousemove&&f.trigger(g,"mousemove",{mouse:v}),S.mousedown&&f.trigger(g,"mousedown",{mouse:v}),S.mouseup&&f.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),f=o(12),u=o(3);(function(){r.collides=function(h,d){for(var c=[],p=d.length,g=h.bounds,v=a.collides,S=l.overlaps,w=0;w<p;w++){var y=d[w],_=y.parts.length,m=_===1?0:1;if(S(y.bounds,g))for(var x=m;x<_;x++){var E=y.parts[x];if(S(E.bounds,g)){var b=v(E,h);if(b){c.push(b);break}}}}return c},r.ray=function(h,d,c,p){p=p||1e-100;for(var g=i.angle(d,c),v=i.magnitude(i.sub(d,c)),S=(c.x+d.x)*.5,w=(c.y+d.y)*.5,y=f.rectangle(S,w,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,d,c){for(var p=[],g=0;g<h.length;g++){var v=h[g],S=l.overlaps(v.bounds,d);(S&&!c||!S&&c)&&p.push(v)}return p},r.point=function(h,d){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,d))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var S=g.parts[v];if(l.contains(S.bounds,d)&&u.contains(S.vertices,d)){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),f=o(1),u=o(5),h=o(2),d=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||S(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,b=m.canvas;x==="auto"&&(x=w(b)),E.pixelRatio=x,b.setAttribute("data-pixel-ratio",x),b.width=E.width*x,b.height=E.height*x,b.style.width=E.width+"px",b.style.height=E.height+"px"},r.lookAt=function(m,x,E,b){b=typeof b<"u"?b:!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 $=P.max.x-P.min.x+2*E.x,F=P.max.y-P.min.y+2*E.y,U=m.canvas.height,j=m.canvas.width,Y=j/U,se=$/F,fe=1,ue=1;se>Y?ue=se/Y:fe=Y/se,m.options.hasBounds=!0,m.bounds.min.x=P.min.x,m.bounds.max.x=P.min.x+$*fe,m.bounds.min.y=P.min.y,m.bounds.max.y=P.min.y+F*ue,b&&(m.bounds.min.x+=$*.5-$*fe*.5,m.bounds.max.x+=$*.5-$*fe*.5,m.bounds.min.y+=F*.5-F*ue*.5,m.bounds.max.y+=F*.5-F*ue*.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&&(d.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}),d.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,b=x/m.options.width,P=E/m.options.height;m.context.setTransform(m.options.pixelRatio/b,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(),b=m.engine,P=b.world,L=m.canvas,T=m.context,C=m.options,O=m.timing,$=l.allBodies(P),F=l.allConstraints(P),U=C.wireframes?C.wireframeBackground:C.background,j=[],Y=[],se,fe={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",fe),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<$.length;se++){var ue=$[se];f.overlaps(ue.bounds,m.bounds)&&j.push(ue)}for(se=0;se<F.length;se++){var ne=F[se],Pe=ne.bodyA,_e=ne.bodyB,Be=ne.pointA,de=ne.pointB;Pe&&(Be=h.add(Pe.position,ne.pointA)),_e&&(de=h.add(_e.position,ne.pointB)),!(!Be||!de)&&(f.contains(m.bounds,Be)||f.contains(m.bounds,de))&&Y.push(ne)}r.startViewTransform(m),m.mouse&&(d.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}),d.setOffset(m.mouse,m.bounds.min))}else Y=F,j=$,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!C.wireframes||b.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,b.pairs.list,T),C.showCollisions&&r.collisions(m,b.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",fe),O.lastElapsed=a.now()-E},r.stats=function(m,x,E){for(var b=m.engine,P=b.world,L=l.allBodies(P),T=0,C=55,O=44,$=0,F=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:b.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,$+C,F+8),x.fillStyle="#eee",x.fillText(se,$+C,F+26),$+=C}},r.performance=function(m,x){var E=m.engine,b=m.timing,P=b.deltaHistory,L=b.elapsedHistory,T=b.timestampElapsedHistory,C=b.engineDeltaHistory,O=b.engineElapsedHistory,$=E.timing.lastDelta,F=v(P),U=v(L),j=v(C),Y=v(O),se=v(T),fe=se/F||0,ue=1e3/F||0,ne=4,Pe=12,_e=60,Be=34,de=10,V=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Pe*4+_e*5+22,Be),r.status(x,de,V,_e,ne,P.length,Math.round(ue)+" fps",ue/r._goodFps,function(J){return P[J]/F-1}),r.status(x,de+Pe+_e,V,_e,ne,C.length,$.toFixed(2)+" dt",r._goodDelta/$,function(J){return C[J]/j-1}),r.status(x,de+(Pe+_e)*2,V,_e,ne,O.length,Y.toFixed(2)+" ut",1-Y/r._goodFps,function(J){return O[J]/Y-1}),r.status(x,de+(Pe+_e)*3,V,_e,ne,L.length,U.toFixed(2)+" rt",1-U/r._goodFps,function(J){return L[J]/U-1}),r.status(x,de+(Pe+_e)*4,V,_e,ne,T.length,fe.toFixed(2)+" x",fe*fe*fe,function(J){return(T[J]/P[J]/fe||0)-1})},r.status=function(m,x,E,b,P,L,T,C,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,E+7,b,1),m.beginPath(),m.moveTo(x,E+7-P*a.clamp(.4*O(0),-2,2));for(var $=0;$<b;$+=1)m.lineTo(x+$,E+7-($<L?P*a.clamp(.4*O($),-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+b,E-5)},r.constraints=function(m,x){for(var E=x,b=0;b<m.length;b++){var P=m[b];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 $=h.sub(O,C),F=h.perp(h.normalise($)),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+$.x*(Y/U)+F.x*j*4,C.y+$.y*(Y/U)+F.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 b=E;m.engine;var P=m.options,L=P.showInternalEdges||!P.wireframes,T,C,O,$;for(O=0;O<x.length;O++)if(T=x[O],!!T.render.visible){for($=T.parts.length>1?1:0;$<T.parts.length;$++)if(C=T.parts[$],!!C.render.visible){if(P.showSleeping&&T.isSleeping?b.globalAlpha=.5*C.render.opacity:C.render.opacity!==1&&(b.globalAlpha=C.render.opacity),C.render.sprite&&C.render.sprite.texture&&!P.wireframes){var F=C.render.sprite,U=y(m,F.texture);b.translate(C.position.x,C.position.y),b.rotate(C.angle),b.drawImage(U,U.width*-F.xOffset*F.xScale,U.height*-F.yOffset*F.yScale,U.width*F.xScale,U.height*F.yScale),b.rotate(-C.angle),b.translate(-C.position.x,-C.position.y)}else{if(C.circleRadius)b.beginPath(),b.arc(C.position.x,C.position.y,C.circleRadius,0,2*Math.PI);else{b.beginPath(),b.moveTo(C.vertices[0].x,C.vertices[0].y);for(var j=1;j<C.vertices.length;j++)!C.vertices[j-1].isInternal||L?b.lineTo(C.vertices[j].x,C.vertices[j].y):b.moveTo(C.vertices[j].x,C.vertices[j].y),C.vertices[j].isInternal&&!L&&b.moveTo(C.vertices[(j+1)%C.vertices.length].x,C.vertices[(j+1)%C.vertices.length].y);b.lineTo(C.vertices[0].x,C.vertices[0].y),b.closePath()}P.wireframes?(b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()):(b.fillStyle=C.render.fillStyle,C.render.lineWidth&&(b.lineWidth=C.render.lineWidth,b.strokeStyle=C.render.strokeStyle,b.stroke()),b.fill())}b.globalAlpha=1}}},r.bodyWireframes=function(m,x,E){var b=E,P=m.options.showInternalEdges,L,T,C,O,$;for(b.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for($=L.parts.length>1?1:0;$<L.parts.length;$++){for(T=L.parts[$],b.moveTo(T.vertices[0].x,T.vertices[0].y),O=1;O<T.vertices.length;O++)!T.vertices[O-1].isInternal||P?b.lineTo(T.vertices[O].x,T.vertices[O].y):b.moveTo(T.vertices[O].x,T.vertices[O].y),T.vertices[O].isInternal&&!P&&b.moveTo(T.vertices[(O+1)%T.vertices.length].x,T.vertices[(O+1)%T.vertices.length].y);b.lineTo(T.vertices[0].x,T.vertices[0].y)}b.lineWidth=1,b.strokeStyle="#bbb",b.stroke()},r.bodyConvexHulls=function(m,x,E){var b=E,P,L,T;for(b.beginPath(),L=0;L<x.length;L++)if(P=x[L],!(!P.render.visible||P.parts.length===1)){for(b.moveTo(P.vertices[0].x,P.vertices[0].y),T=1;T<P.vertices.length;T++)b.lineTo(P.vertices[T].x,P.vertices[T].y);b.lineTo(P.vertices[0].x,P.vertices[0].y)}b.lineWidth=1,b.strokeStyle="rgba(255,255,255,0.2)",b.stroke()},r.vertexNumbers=function(m,x,E){var b=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++)b.fillStyle="rgba(255,255,255,0.2)",b.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 b=E;b.fillStyle="rgba(255,255,255,0.8)",b.fillText(x.position.x+" "+x.position.y,x.position.x+5,x.position.y-5)},r.bodyBounds=function(m,x,E){var b=E;m.engine;var P=m.options;b.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 $=C[O];b.rect($.bounds.min.x,$.bounds.min.y,$.bounds.max.x-$.bounds.min.x,$.bounds.max.y-$.bounds.min.y)}}P.wireframes?b.strokeStyle="rgba(255,255,255,0.08)":b.strokeStyle="rgba(0,0,0,0.1)",b.lineWidth=1,b.stroke()},r.bodyAxes=function(m,x,E){var b=E;m.engine;var P=m.options,L,T,C,O;for(b.beginPath(),T=0;T<x.length;T++){var $=x[T],F=$.parts;if($.render.visible)if(P.showAxes)for(C=F.length>1?1:0;C<F.length;C++)for(L=F[C],O=0;O<L.axes.length;O++){var U=L.axes[O];b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+U.x*20,L.position.y+U.y*20)}else for(C=F.length>1?1:0;C<F.length;C++)for(L=F[C],O=0;O<L.axes.length;O++)b.moveTo(L.position.x,L.position.y),b.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?(b.strokeStyle="indianred",b.lineWidth=1):(b.strokeStyle="rgba(255, 255, 255, 0.4)",b.globalCompositeOperation="overlay",b.lineWidth=2),b.stroke(),b.globalCompositeOperation="source-over"},r.bodyPositions=function(m,x,E){var b=E;m.engine;var P=m.options,L,T,C,O;for(b.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],b.arc(T.position.x,T.position.y,3,0,2*Math.PI,!1),b.closePath();for(P.wireframes?b.fillStyle="indianred":b.fillStyle="rgba(0,0,0,0.5)",b.fill(),b.beginPath(),C=0;C<x.length;C++)L=x[C],L.render.visible&&(b.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),b.closePath());b.fillStyle="rgba(255,165,0,0.8)",b.fill()},r.bodyVelocity=function(m,x,E){var b=E;b.beginPath();for(var P=0;P<x.length;P++){var L=x[P];if(L.render.visible){var T=i.getVelocity(L);b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+T.x,L.position.y+T.y)}}b.lineWidth=3,b.strokeStyle="cornflowerblue",b.stroke()},r.bodyIds=function(m,x,E){var b=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];b.font="12px Arial",b.fillStyle="rgba(255,255,255,0.5)",b.fillText(C.id,C.position.x+10,C.position.y-10)}}},r.collisions=function(m,x,E){var b=E,P=m.options,L,T,C,O;for(b.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 $=L.activeContacts[O],F=$.vertex;b.rect(F.x-1.5,F.y-1.5,3.5,3.5)}for(P.wireframes?b.fillStyle="rgba(255,255,255,0.7)":b.fillStyle="orange",b.fill(),b.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?b.moveTo(U-T.normal.x*8,j-T.normal.y*8):b.moveTo(U+T.normal.x*8,j+T.normal.y*8),b.lineTo(U,j)}P.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,E){var b=E,P=m.options,L,T,C,O,$;for(b.beginPath(),$=0;$<x.length;$++)if(L=x[$],!!L.isActive){T=L.collision,C=T.bodyA,O=T.bodyB;var F=1;!O.isStatic&&!C.isStatic&&(F=.5),O.isStatic&&(F=0),b.moveTo(O.position.x,O.position.y),b.lineTo(O.position.x-T.penetration.x*F,O.position.y-T.penetration.y*F),F=1,!O.isStatic&&!C.isStatic&&(F=.5),C.isStatic&&(F=0),b.moveTo(C.position.x,C.position.y),b.lineTo(C.position.x+T.penetration.x*F,C.position.y+T.penetration.y*F)}P.wireframes?b.strokeStyle="rgba(255,165,0,0.5)":b.strokeStyle="orange",b.stroke()},r.inspector=function(m,x){m.engine;var E=m.selected,b=m.render,P=b.options,L;if(P.hasBounds){var T=b.bounds.max.x-b.bounds.min.x,C=b.bounds.max.y-b.bounds.min.y,O=T/b.options.width,$=C/b.options.height;x.scale(1/O,1/$),x.translate(-b.bounds.min.x,-b.bounds.min.y)}for(var F=0;F<E.length;F++){var U=E[F].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,b=m.timing,P=b.historySize,L=E.timing.timestamp;b.delta=x-b.lastTime||r._goodDelta,b.lastTime=x,b.timestampElapsed=L-b.lastTimestamp||0,b.lastTimestamp=L,b.deltaHistory.unshift(b.delta),b.deltaHistory.length=Math.min(b.deltaHistory.length,P),b.engineDeltaHistory.unshift(E.timing.lastDelta),b.engineDeltaHistory.length=Math.min(b.engineDeltaHistory.length,P),b.timestampElapsedHistory.unshift(b.timestampElapsed),b.timestampElapsedHistory.length=Math.min(b.timestampElapsedHistory.length,P),b.engineElapsedHistory.unshift(E.timing.lastElapsed),b.engineElapsedHistory.length=Math.min(b.engineElapsedHistory.length,P),b.elapsedHistory.unshift(b.lastElapsed),b.elapsedHistory.length=Math.min(b.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},S=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},w=function(m){var x=m.getContext("2d"),E=window.devicePixelRatio||1,b=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return E/b},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 f,u;if(typeof window<"u"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!f){var h;f=function(d){h=setTimeout(function(){d(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(d){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},p=l.extend(c,d);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(d,c){return typeof d.positionIterations<"u"&&(c=d,d=r.create()),function p(g){d.frameRequestId=f(p),g&&d.enabled&&r.tick(d,c,g)}(),d},r.tick=function(d,c,p){var g=c.timing,v;d.isFixed?v=d.delta:(v=p-d.timePrev||d.delta,d.timePrev=p,d.deltaHistory.push(v),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),v=Math.min.apply(null,d.deltaHistory),v=v<d.deltaMin?d.deltaMin:v,v=v>d.deltaMax?d.deltaMax:v,d.delta=v);var S={timestamp:g.timestamp};i.trigger(d,"beforeTick",S),d.frameCounter+=1,p-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((p-d.counterTimestamp)/1e3),d.counterTimestamp=p,d.frameCounter=0),i.trigger(d,"tick",S),i.trigger(d,"beforeUpdate",S),a.update(c,v),i.trigger(d,"afterUpdate",S),i.trigger(d,"afterTick",S)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,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 f,u,h,d,c,p,g,v,S,w,y=[],_,m,x=0,E=0,b=0;l=l||15;var P=function(T,C,O){var $=O%2===1&&O>1;if(!S||T!=S.x||C!=S.y){S&&$?(_=S.x,m=S.y):(_=0,m=0);var F={x:_+T,y:m+C};($||!S)&&(S=F),y.push(F),E=_+T,b=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,b=T.y;break;case"H":E=T.x;break;case"V":b=T.y;break}P(E,b,T.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f<a.pathSegList.numberOfItems;f+=1)p.push(a.pathSegList.getItem(f));for(g=p.concat();x<h;){if(w=a.getPathSegAtLength(x),c=p[w],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":d=a.getPointAtLength(x),P(d.x,d.y,0);break}x+=l}for(f=0,u=g.length;f<u;++f)L(g[f]);return y},r._svgPathToAbsolute=function(a){for(var l,f,u,h,d,c,p=a.pathSegList,g=0,v=0,S=p.numberOfItems,w=0;w<S;++w){var y=p.getItem(w),_=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&&(d=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),w);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),w);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),w);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),w);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,h,d,c),w);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,d,c),w);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,h),w);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),w);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),w);break;case"z":case"Z":g=l,v=f;break}(_=="M"||_=="m")&&(l=g,f=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}()}])})}(Ss)),Ss.exports}var Xt=dS();const Zd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href;function Dc(){return localStorage.getItem("cookie")==null}function hS(){localStorage.setItem("cookie","accept")}function pS(){localStorage.setItem("cookie","refuse")}const eh=["cookie","future","change-something","picture-bright","picture-nolights"];function gS(e){if(!eh.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 Sa(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Fc(){return Sa().length}function mS(){return eh.length}function Mw(e){return e[Math.floor(Math.random()*e.length)]}function th(e,t){return Math.random()*(t-e)+e}function vS(e,t){return Math.floor(th(e,t))}const yS={key:0,class:"w-full h-full"},_S=["width","height"],xS={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"},SS={class:"text-sm"},wS={class:"text-xs"},ES={class:"flex justify-end mt-2 text-sm"},bS=Ze({__name:"Cookie",setup(e){const t=Ce(null),n=Ce(null),s=Ce(!0),o=Ce(0),r=Ce(0);let i=null;bt(async()=>{s.value=Dc(),o.value=f(),r.value=u(),Dc()&&(await Sn(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){hS(),s.value=!1}function l(){pS(),s.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=f(),r.value=u()}function d(){if(!i){i=Xt.Engine.create();let g=Xt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});Xt.Render.run(g),Xt.Runner.run(Xt.Runner.create(),i)}h()}function c(){if(gS("cookie"),!i)return;let g=Xt.Bodies.circle(vS(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Zd,xScale:.08,yScale:.08}}});Xt.Composite.add(i.world,[g]);const v=.02*g.mass;Xt.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*th(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?Xt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const S=So;return ye(),Qe(S,null,{default:wn(()=>[te(s)?(ye(),lt("div",yS,[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,_S)],512),ie("div",xS,[ie("p",SS,Ae(g.$t("cookie policy title")),1),ie("div",wS,[ie("span",null,[no(Ae(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},Ae(g.$t("cookie policy link")),1)])]),ie("div",ES,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Ae(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"},Ae(g.$t("accept")),1)])],512)])):ft("",!0)]),_:1})}}}),wa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},CS={},PS={class:"flex justify-center text-sm"},TS={class:"flex-1 ml-2"},LS={class:"font-bold text-base"};function RS(e,t){return ye(),lt("div",PS,[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:Zd,alt:"",class:"h-full w-full"})])],-1)),ie("div",TS,[ie("p",LS,Ae(e.$t("cookie.title")),1),ie("p",null,Ae(e.$t("cookie.description")),1)])])}const kS=wa(CS,[["render",RS]]),AS=""+new URL("future.Byi108RQ.png",import.meta.url).href,IS={},OS={class:"flex text-sm"},MS={class:"flex-1 ml-2"},NS={class:"font-bold text-base"};function DS(e,t){return ye(),lt("div",OS,[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:AS,alt:"",class:"h-full w-full"})])],-1)),ie("div",MS,[ie("p",NS,Ae(e.$t("future.title")),1),ie("p",null,Ae(e.$t("future.description")),1)])])}const FS=wa(IS,[["render",DS]]),$S="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",HS={},US={class:"flex text-sm"},BS={class:"flex-1 ml-2"},VS={class:"font-bold text-base"};function jS(e,t){return ye(),lt("div",US,[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:$S,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",BS,[ie("p",VS,Ae(e.$t("something.title")),1),ie("p",null,Ae(e.$t("something.description")),1)])])}const WS=wa(HS,[["render",jS]]),KS=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,GS={class:"flex text-sm"},YS={class:"flex-1 ml-2"},XS={class:"font-bold text-base"},qS={key:0},JS={key:1},QS=Ze({__name:"PictureBrightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Sa().includes("picture-nolights")}),(n,s)=>{const o=So;return ye(),Qe(o,null,{default:wn(()=>[ie("div",GS,[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:KS,alt:"",class:"h-full w-full"})])],-1)),ie("div",YS,[ie("p",XS,Ae(n.$t("bright.title")),1),te(t)?ft("",!0):(ye(),lt("p",qS,Ae(n.$t("bright.description")),1)),te(t)?(ye(),lt("p",JS,Ae(n.$t("bright_either.description")),1)):ft("",!0)])])]),_:1})}}}),zS=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,ZS={class:"flex text-sm"},ew={class:"flex-1 ml-2"},tw={class:"font-bold text-base"},nw={key:0},rw={key:1},sw=Ze({__name:"PictureNoLightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Sa().includes("picture-bright")}),(n,s)=>{const o=So;return ye(),Qe(o,null,{default:wn(()=>[ie("div",ZS,[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:zS,alt:"",class:"h-full w-full"})])],-1)),ie("div",ew,[ie("p",tw,Ae(n.$t("dark.title")),1),te(t)?ft("",!0):(ye(),lt("p",nw,Ae(n.$t("dark.description")),1)),te(t)?(ye(),lt("p",rw,Ae(n.$t("dark_either.description")),1)):ft("",!0)])])]),_:1})}}}),ow={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},iw={class:"flex text-sm"},aw={class:"flex-1"},lw={class:"mt-1 text-center"},cw={key:0},uw={key:1},fw=Ze({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ce(!1),s=Ce(""),o=Ce(mS()),r=Ce(0);bt(()=>{r.value=Fc()});let i=null;function a(f){s.value=f,r.value=Fc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=kS,d=FS,c=WS,p=QS,g=sw,v=So;return ye(),Qe(v,null,{default:wn(()=>[te(n)?(ye(),lt("div",ow,[ie("div",{class:Xs(`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",iw,[ie("div",aw,[te(s)==="cookie"?(ye(),Qe(h,{key:0})):ft("",!0),te(s)==="future"?(ye(),Qe(d,{key:1})):ft("",!0),te(s)==="change-something"?(ye(),Qe(c,{key:2})):ft("",!0),te(s)==="picture-bright"?(ye(),Qe(p,{key:3})):ft("",!0),te(s)==="picture-nolights"?(ye(),Qe(g,{key:4})):ft("",!0),ie("div",lw,[te(r)!=te(o)?(ye(),lt("p",cw,Ae(te(r))+"/"+Ae(te(o))+" "+Ae(f.$t("easter eggs found")),1)):ft("",!0),te(r)===te(o)?(ye(),lt("p",uw,Ae(f.$t("all easter eggs found")),1)):ft("",!0)])])])],2)])):ft("",!0)]),_:1})}}});function nh(){return localStorage.getItem("theme")??"dark"}function dw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function Nw(){dw(nh()==="dark"?"light":"dark")}function rh(e){switch(e||(e=nh()),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 hw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},pw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},gw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},mw={__name:"app",setup(e){const{locale:t}=xo(),n=Ce(),s=Ce(!1);return bt(()=>{rh(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Sl({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"},meta:[{name:"description",content:"Personal website of a random AI student",lang:"en"},{name:"description",content:"Sito web personale di uno studente di IA a caso",lang:"it"}]}),pt(t,o=>{Sl({htmlAttrs:{lang:o}})}),(o,r)=>{const i=rS,a=lS,l=bS,f=fw;return te(s)?(ye(),lt("div",hw,[ie("div",pw,[ie("div",gw,[Ie(a,null,{default:wn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(f,{ref_key:"easteregg",ref:n},null,512)])):ft("",!0)}}};async function sh(e,t=ze()){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(()=>sh(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 vw=(...e)=>e.find(t=>t!==void 0);function yw(e){const t=e.componentName||"NuxtLink";function n(r){return typeof r=="string"&&r.startsWith("#")}function s(r,i){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return $c(r,e.trailingSlash);const a="path"in r&&r.path!==void 0?r.path:i(r).path;return{...r,name:void 0,path:$c(a,e.trailingSlash)}}function o(r){const i=ze(),a=gt(),l=me(()=>!!r.target&&r.target!=="_self"),f=me(()=>{const v=r.to||r.href||"";return typeof v=="string"&&Ct(v,{acceptRelative:!0})}),u=Ia("RouterLink"),h=typeof u!="string"?u.useLink:void 0,d=me(()=>{if(r.external)return!0;const v=r.to||r.href||"";return typeof v=="object"?!1:v===""||f.value}),c=me(()=>{const v=r.to||r.href||"";return d.value?v:s(v,i.resolve)}),p=d.value||h==null?void 0:h({...r,to:c}),g=me(()=>{var v;if(!c.value||f.value||n(c.value))return c.value;if(d.value){const S=typeof c.value=="object"&&"path"in c.value?_i(c.value):c.value,w=typeof S=="object"?i.resolve(S).href:S;return s(w,i.resolve)}return typeof c.value=="object"?((v=i.resolve(c.value))==null?void 0:v.href)??null:s(Bn(a.app.baseURL,c.value),i.resolve)});return{to:c,hasTarget:l,isAbsoluteUrl:f,isExternal:d,href:g,isActive:(p==null?void 0:p.isActive)??me(()=>c.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??me(()=>c.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??me(()=>i.resolve(c.value)),async navigate(){await Af(g.value,{replace:r.replace,external:d.value||l.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:o,setup(r,{slots:i}){const a=ze(),{to:l,href:f,navigate:u,isExternal:h,hasTarget:d,isAbsoluteUrl:c}=o(r),p=Ce(!1),g=Ce(null),v=y=>{var _;g.value=r.custom?(_=y==null?void 0:y.$el)==null?void 0:_.nextElementSibling:y==null?void 0:y.$el};function S(y){var _,m;return!p.value&&(typeof r.prefetchOn=="string"?r.prefetchOn===y:((_=r.prefetchOn)==null?void 0:_[y])??((m=e.prefetchOn)==null?void 0:m[y]))&&(r.prefetch??e.prefetch)!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!ww()}async function w(y=ge()){if(p.value)return;p.value=!0;const _=typeof l.value=="string"?l.value:h.value?_i(l.value):a.resolve(l.value).fullPath,m=h.value?new URL(_,window.location.href).href:_;await Promise.all([y.hooks.callHook("link:prefetch",m).catch(()=>{}),!h.value&&!d.value&&sh(l.value,a).catch(()=>{})])}if(S("visibility")){const y=ge();let _,m=null;bt(()=>{const x=xw();co(()=>{_=Li(()=>{var E;(E=g==null?void 0:g.value)!=null&&E.tagName&&(m=x.observe(g.value,async()=>{m==null||m(),m=null,await w(y)}))})})}),Xr(()=>{_&&M0(_),m==null||m(),m=null})}return()=>{var m;if(!h.value&&!d.value&&!n(l.value)){const x={ref:v,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(S("interaction")&&(x.onPointerenter=w.bind(null,void 0),x.onFocus=w.bind(null,void 0)),p.value&&(x.class=r.prefetchedClass||e.prefetchedClass),x.rel=r.rel||void 0),Xe(Ia("RouterLink"),x,i.default)}const y=r.target||null,_=vw(r.noRel?"":r.rel,e.externalRelAttribute,c.value||d.value?"noopener noreferrer":"")||null;return r.custom?i.default?i.default({href:f.value,navigate:u,prefetch:w,get route(){if(!f.value)return;const x=new URL(f.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return ra(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:f.value}},rel:_,target:y,isExternal:h.value||d.value,isActive:!1,isExactActive:!1}):null:Xe("a",{ref:g,href:f.value||null,rel:_,target:y},(m=i.default)==null?void 0:m.call(i))}}})}const _w=yw(Um);function $c(e,t){const n=t==="append"?$r:Jr;return Ct(e)&&!e.startsWith("http")?e:n(e,!0)}function xw(){const e=ge();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 f=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&f&&f()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t==null||t.unobserve(r),n.size===0&&(t==null||t.disconnect(),t=null)});return e._observer={observe:s}}const Sw=/2g/;function ww(){const e=navigator.connection;return!!(e&&(e.saveData||Sw.test(e.effectiveType)))}const Ew=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,bw={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"}},Cw={class:"text-2xl md:text-4xl text-center"},Pw=Ze({__name:"error",setup(e){const t=Y1();return bt(()=>{rh()}),(n,s)=>{const o=_w;return ye(),lt("div",bw,[ie("div",null,[ie("p",Cw,Ae(n.$t("wrong directions")),1),s[0]||(s[0]=ie("img",{src:Ew,class:"mx-auto my-2",alt:""},null,-1)),Ie(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:wn(()=>[no(Ae(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),Tw={key:0},Hc={__name:"nuxt-root",setup(e){const t=()=>null,n=ge(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);ze().beforeEach(l)}const o=!1;gn(Qr,so()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=oo(),i=!1;ku((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),cv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Jn(l)),!1});const a=!1;return(l,f)=>(ye(),Qe(ea,{onResolve:te(s)},{default:wn(()=>[te(i)?(ye(),lt("div",Tw)):te(r)?(ye(),Qe(te(Pw),{key:1,error:te(r)},null,8,["error"])):te(a)?(ye(),Qe(te(t),{key:2,context:te(a)},null,8,["context"])):te(o)?(ye(),Qe(gp(te(o)),{key:3})):(ye(),Qe(te(mw),{key:4}))]),_:1},8,["onResolve"]))}};let Uc;{let e;Uc=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")?Og(Hc):Ig(Hc),o=Km({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||io(l)}s.config.errorHandler=r,o.hook("app:suspense:resolve",()=>{s.config.errorHandler===r&&(s.config.errorHandler=void 0)});try{await Xm(o,tS)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Vm),await o.hooks.callHook("app:mounted",s),await Sn()}catch(l){r(l)}return s},e=Uc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Iw as A,Vi as B,Nw as C,rh as D,X1 as E,Ge as F,_w as G,Y1 as H,ze as I,wa as _,so as a,gS as b,lt as c,Ze as d,ye as e,ie as f,nh as g,ft as h,te as i,Sl as j,me as k,pt as l,Ie as m,wn as n,bt as o,no as p,Mw as q,Ce as r,Aw as s,Ae as t,xo as u,Ow as v,Rw as w,kw as x,Xs as y,Qe as z};
|