mirror of
https://github.com/NotXia/notxia.github.io.git
synced 2025-12-14 19:01:51 +01:00
72 lines
342 KiB
JavaScript
72 lines
342 KiB
JavaScript
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cg74otzs.js","./DtrACG69.js","./DbZkE-J7.js","./about.DQ3KPf58.css","./BO_Hg2A_.js","./3cjuBtQ4.js","./Do9VVcYx.js","./B5d-pyRI.js","./resume.Ce14pIsp.css"])))=>i.map(i=>d[i]);
|
||
var ih=Object.defineProperty;var ah=(e,t,n)=>t in e?ih(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var an=(e,t,n)=>ah(e,typeof t!="symbol"?t+"":t,n);/**
|
||
* @vue/shared v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function Hi(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Le={},Qn=[],Bt=()=>{},lh=()=>!1,Wr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ui=e=>e.startsWith("onUpdate:"),qe=Object.assign,Bi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ch=Object.prototype.hasOwnProperty,Ee=(e,t)=>ch.call(e,t),ae=Array.isArray,zn=e=>Kr(e)==="[object Map]",Wc=e=>Kr(e)==="[object Set]",uh=e=>Kr(e)==="[object RegExp]",le=e=>typeof e=="function",Ne=e=>typeof e=="string",sn=e=>typeof e=="symbol",ke=e=>e!==null&&typeof e=="object",Kc=e=>(ke(e)||le(e))&&le(e.then)&&le(e.catch),Gc=Object.prototype.toString,Kr=e=>Gc.call(e),fh=e=>Kr(e).slice(8,-1),Yc=e=>Kr(e)==="[object Object]",Vi=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zn=Hi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},dh=/-(\w)/g,wt=Gs(e=>e.replace(dh,(t,n)=>n?n.toUpperCase():"")),hh=/\B([A-Z])/g,Hn=Gs(e=>e.replace(hh,"-$1").toLowerCase()),Ys=Gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Eo=Gs(e=>e?`on${Ys(e)}`:""),mn=(e,t)=>!Object.is(e,t),xr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Yo=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ph=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xc=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let Ta;const Xs=()=>Ta||(Ta=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ji(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Ne(s)?yh(s):ji(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Ne(e)||ke(e))return e}const gh=/;(?![^(]*\))/g,mh=/:([^]+)/,vh=/\/\*[^]*?\*\//g;function yh(e){const t={};return e.replace(vh,"").split(gh).forEach(n=>{if(n){const s=n.split(mh);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function qs(e){let t="";if(Ne(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const s=qs(e[n]);s&&(t+=s+" ")}else if(ke(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const _h="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",xh=Hi(_h);function qc(e){return!!e||e===""}const Jc=e=>!!(e&&e.__v_isRef===!0),Ae=e=>Ne(e)?e:e==null?"":ae(e)||ke(e)&&(e.toString===Gc||!le(e.toString))?Jc(e)?Ae(e.value):JSON.stringify(e,Qc,2):String(e),Qc=(e,t)=>Jc(t)?Qc(e,t.value):zn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[bo(s,r)+" =>"]=o,n),{})}:Wc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>bo(n))}:sn(t)?bo(t):ke(t)&&!ae(t)&&!Yc(t)?String(t):t,bo=(e,t="")=>{var n;return sn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let tt;class zc{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=tt,!t&&tt&&(this.index=(tt.scopes||(tt.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=tt;try{return tt=this,t()}finally{tt=n}}}on(){++this._on===1&&(this.prevScope=tt,tt=this)}off(){this._on>0&&--this._on===0&&(tt=this.prevScope,this.prevScope=void 0)}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 Wi(e){return new zc(e)}function Js(){return tt}function Xo(e,t=!1){tt&&tt.cleanups.push(e)}let Re;const Co=new WeakSet;class Zc{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,tt&&tt.active&&tt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Co.has(this)&&(Co.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||tu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,La(this),nu(this);const t=Re,n=It;Re=this,It=!0;try{return this.fn()}finally{ru(this),Re=t,It=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Yi(t);this.deps=this.depsTail=void 0,La(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Co.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){qo(this)&&this.run()}get dirty(){return qo(this)}}let eu=0,Sr,wr;function tu(e,t=!1){if(e.flags|=8,t){e.next=wr,wr=e;return}e.next=Sr,Sr=e}function Ki(){eu++}function Gi(){if(--eu>0)return;if(wr){let t=wr;for(wr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Sr;){let t=Sr;for(Sr=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 nu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ru(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),Yi(s),Sh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function qo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(su(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function su(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ar)||(e.globalVersion=Ar,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!qo(e))))return;e.flags|=2;const t=e.dep,n=Re,s=It;Re=e,It=!0;try{nu(e);const o=e.fn(e._value);(t.version===0||mn(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Re=n,It=s,ru(e),e.flags&=-3}}function Yi(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)Yi(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sh(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 ou=[];function en(){ou.push(It),It=!1}function tn(){const e=ou.pop();It=e===void 0?!0:e}function La(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Re;Re=void 0;try{t()}finally{Re=n}}}let Ar=0;class wh{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 Qs{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,this.__v_skip=!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 wh(Re,this),Re.deps?(n.prevDep=Re.depsTail,Re.depsTail.nextDep=n,Re.depsTail=n):Re.deps=Re.depsTail=n,iu(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++,Ar++,this.notify(t)}notify(t){Ki();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Gi()}}}function iu(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)iu(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(""),Jo=Symbol(""),Ir=Symbol("");function nt(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 Qs),o.map=s,o.key=n),o.track()}}function Jt(e,t,n,s,o,r){const i=ws.get(e);if(!i){Ar++;return}const a=l=>{l&&l.trigger()};if(Ki(),t==="clear")i.forEach(a);else{const l=ae(e),d=l&&Vi(n);if(l&&n==="length"){const u=Number(s);i.forEach((h,f)=>{(f==="length"||f===Ir||!sn(f)&&f>=u)&&a(h)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),d&&a(i.get(Ir)),t){case"add":l?d&&a(i.get("length")):(a(i.get(Mn)),zn(e)&&a(i.get(Jo)));break;case"delete":l||(a(i.get(Mn)),zn(e)&&a(i.get(Jo)));break;case"set":zn(e)&&a(i.get(Mn));break}}Gi()}function Eh(e,t){const n=ws.get(e);return n&&n.get(t)}function jn(e){const t=ve(e);return t===e?t:(nt(t,"iterate",Ir),St(e)?t:t.map(Qe))}function zs(e){return nt(e=ve(e),"iterate",Ir),e}const bh={__proto__:null,[Symbol.iterator](){return Po(this,Symbol.iterator,Qe)},concat(...e){return jn(this).concat(...e.map(t=>ae(t)?jn(t):t))},entries(){return Po(this,"entries",e=>(e[1]=Qe(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(Qe),arguments)},find(e,t){return jt(this,"find",e,t,Qe,arguments)},findIndex(e,t){return jt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return jt(this,"findLast",e,t,Qe,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 To(this,"includes",e)},indexOf(...e){return To(this,"indexOf",e)},join(e){return jn(this).join(e)},lastIndexOf(...e){return To(this,"lastIndexOf",e)},map(e,t){return jt(this,"map",e,t,void 0,arguments)},pop(){return hr(this,"pop")},push(...e){return hr(this,"push",e)},reduce(e,...t){return Ra(this,"reduce",e,t)},reduceRight(e,...t){return Ra(this,"reduceRight",e,t)},shift(){return hr(this,"shift")},some(e,t){return jt(this,"some",e,t,void 0,arguments)},splice(...e){return hr(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 hr(this,"unshift",e)},values(){return Po(this,"values",Qe)}};function Po(e,t,n){const s=zs(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 Ch=Array.prototype;function jt(e,t,n,s,o,r){const i=zs(e),a=i!==e&&!St(e),l=i[t];if(l!==Ch[t]){const h=l.apply(e,r);return a?Qe(h):h}let d=n;i!==e&&(a?d=function(h,f){return n.call(this,Qe(h),f,e)}:n.length>2&&(d=function(h,f){return n.call(this,h,f,e)}));const u=l.call(i,d,s);return a&&o?o(u):u}function Ra(e,t,n,s){const o=zs(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,Qe(a),l,e)}),o[t](r,...s)}function To(e,t,n){const s=ve(e);nt(s,"iterate",Ir);const o=s[t](...n);return(o===-1||o===!1)&&Ji(n[0])?(n[0]=ve(n[0]),s[t](...n)):o}function hr(e,t,n=[]){en(),Ki();const s=ve(e)[t].apply(e,n);return Gi(),tn(),s}const Ph=Hi("__proto__,__v_isRef,__isVue"),au=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn));function Th(e){sn(e)||(e=String(e));const t=ve(this);return nt(t,"has",e),t.hasOwnProperty(e)}class lu{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?Fh:du:r?fu:uu).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=bh[n]))return l;if(n==="hasOwnProperty")return Th}const a=Reflect.get(t,n,De(t)?t:s);return(sn(n)?au.has(n):Ph(n))||(o||nt(t,"get",n),r)?a:De(a)?i&&Vi(n)?a:a.value:ke(a)?o?hu(a):xn(a):a}}class cu extends lu{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const l=nn(r);if(!St(s)&&!nn(s)&&(r=ve(r),s=ve(s)),!ae(t)&&De(r)&&!De(s))return l?!1:(r.value=s,!0)}const i=ae(t)&&Vi(n)?Number(n)<t.length:Ee(t,n),a=Reflect.set(t,n,s,De(t)?t:o);return t===ve(o)&&(i?mn(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(!sn(n)||!au.has(n))&&nt(t,"has",n),s}ownKeys(t){return nt(t,"iterate",ae(t)?"length":Mn),Reflect.ownKeys(t)}}class Lh extends lu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Rh=new cu,kh=new Lh,Ah=new cu(!0);const Qo=e=>e,es=e=>Reflect.getPrototypeOf(e);function Ih(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,d=o[e](...s),u=n?Qo:t?Es:Qe;return!t&&nt(r,"iterate",l?Jo:Mn),{next(){const{value:h,done:f}=d.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function ts(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Oh(e,t){const n={get(o){const r=this.__v_raw,i=ve(r),a=ve(o);e||(mn(o,a)&&nt(i,"get",o),nt(i,"get",a));const{has:l}=es(i),d=t?Qo:e?Es:Qe;if(l.call(i,o))return d(r.get(o));if(l.call(i,a))return d(r.get(a));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&nt(ve(o),"iterate",Mn),Reflect.get(o,"size",o)},has(o){const r=this.__v_raw,i=ve(r),a=ve(o);return e||(mn(o,a)&&nt(i,"has",o),nt(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),d=t?Qo:e?Es:Qe;return!e&&nt(l,"iterate",Mn),a.forEach((u,h)=>o.call(r,d(u),d(h),i))}};return qe(n,e?{add:ts("add"),set:ts("set"),delete:ts("delete"),clear:ts("clear")}:{add(o){!t&&!St(o)&&!nn(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)&&!nn(r)&&(r=ve(r));const i=ve(this),{has:a,get:l}=es(i);let d=a.call(i,o);d||(o=ve(o),d=a.call(i,o));const u=l.call(i,o);return i.set(o,r),d?mn(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 d=r.delete(o);return l&&Jt(r,"delete",o,void 0),d},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]=Ih(o,e,t)}),n}function Xi(e,t){const n=Oh(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 Mh={get:Xi(!1,!1)},Nh={get:Xi(!1,!0)},Dh={get:Xi(!0,!1)};const uu=new WeakMap,fu=new WeakMap,du=new WeakMap,Fh=new WeakMap;function $h(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hh(e){return e.__v_skip||!Object.isExtensible(e)?0:$h(fh(e))}function xn(e){return nn(e)?e:qi(e,!1,Rh,Mh,uu)}function zt(e){return qi(e,!1,Ah,Nh,fu)}function hu(e){return qi(e,!0,kh,Dh,du)}function qi(e,t,n,s,o){if(!ke(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Hh(e);if(r===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,r===2?s:n);return o.set(e,a),a}function Nn(e){return nn(e)?Nn(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function St(e){return!!(e&&e.__v_isShallow)}function Ji(e){return e?!!e.__v_raw:!1}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Uh(e){return!Ee(e,"__v_skip")&&Object.isExtensible(e)&&Yo(e,"__v_skip",!0),e}const Qe=e=>ke(e)?xn(e):e,Es=e=>ke(e)?hu(e):e;function De(e){return e?e.__v_isRef===!0:!1}function Ce(e){return pu(e,!1)}function rr(e){return pu(e,!0)}function pu(e,t){return De(e)?e:new Bh(e,t)}class Bh{constructor(t,n){this.dep=new Qs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ve(t),this._value=n?t:Qe(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)||nn(t);t=s?t:ve(t),mn(t,n)&&(this._rawValue=t,this._value=s?t:Qe(t),this.dep.trigger())}}function te(e){return De(e)?e.value:e}const Vh={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 gu(e){return Nn(e)?e:new Proxy(e,Vh)}class jh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Qs,{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 Wh(e){return new jh(e)}class Kh{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 Eh(ve(this._object),this._key)}}class Gh{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 mu(e,t,n){return De(e)?e:le(e)?new Gh(e):ke(e)&&arguments.length>1?Yh(e,t,n):Ce(e)}function Yh(e,t,n){const s=e[t];return De(s)?s:new Kh(e,t,n)}class Xh{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Qs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ar-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 tu(this,!0),!0}get value(){const t=this.dep.track();return su(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qh(e,t,n=!1){let s,o;return le(e)?s=e:(s=e.get,o=e.set),new Xh(s,o,n)}const ns={},bs=new WeakMap;let On;function Jh(e,t=!1,n=On){if(n){let s=bs.get(n);s||bs.set(n,s=[]),s.push(e)}}function Qh(e,t,n=Le){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:a,call:l}=n,d=_=>o?_:St(_)||o===!1||o===0?Qt(_,1):Qt(_);let u,h,f,c,p=!1,g=!1;if(De(e)?(h=()=>e.value,p=St(e)):Nn(e)?(h=()=>d(e),p=!0):ae(e)?(g=!0,p=e.some(_=>Nn(_)||St(_)),h=()=>e.map(_=>{if(De(_))return _.value;if(Nn(_))return d(_);if(le(_))return l?l(_,2):_()})):le(e)?t?h=l?()=>l(e,2):e:h=()=>{if(f){en();try{f()}finally{tn()}}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=Js(),S=()=>{u.stop(),v&&v.active&&Bi(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)=>mn(x,w[E])):mn(m,w))){f&&f();const x=On;On=u;try{const E=[m,w===ns?void 0:g&&w[0]===ns?[]:w,c];w=m,l?l(t,3,E):t(...E)}finally{On=x}}}else u.run()};return a&&a(y),u=new Zc(h),u.scheduler=i?()=>i(y,!1):y,c=_=>Jh(_,!1,u),f=u.onStop=()=>{const _=bs.get(u);if(_){if(l)l(_,4);else for(const m of _)m();bs.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(Wc(e)||zn(e))e.forEach(s=>{Qt(s,t,n)});else if(Yc(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.17
|
||
* (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&&Kc(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,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let h=0;h<u.length;h++)if(u[h](e,l,d)===!1)return}a=a.parent}if(r){en(),Gr(r,null,10,[e,l,d]),tn();return}}zh(e,n,o,s,i)}function zh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const at=[];let $t=-1;const er=[];let un=null,Yn=0;const vu=Promise.resolve();let Cs=null;function Sn(e){const t=Cs||vu;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=Or(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function Qi(e){if(!(e.flags&1)){const t=Or(e),n=at[at.length-1];!n||!(e.flags&2)&&t>=Or(n)?at.push(e):at.splice(Zh(t),0,e),e.flags|=1,yu()}}function yu(){Cs||(Cs=vu.then(_u))}function zo(e){ae(e)?er.push(...e):un&&e.id===-1?un.splice(Yn+1,0,e):e.flags&1||(er.push(e),e.flags|=1),yu()}function ka(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 Ps(e){if(er.length){const t=[...new Set(er)].sort((n,s)=>Or(n)-Or(s));if(er.length=0,un){un.push(...t);return}for(un=t,Yn=0;Yn<un.length;Yn++){const n=un[Yn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}un=null,Yn=0}}const Or=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _u(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,Ps(),Cs=null,(at.length||er.length)&&_u()}}let We=null,xu=null;function Ts(e){const t=We;return We=e,xu=e&&e.type.__scopeId||null,t}function wn(e,t=We,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ja(-1);const r=Ts(t);let i;try{i=e(...o)}finally{Ts(r),s._d&&ja(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Aw(e,t){if(We===null)return e;const n=so(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&&(en(),Ot(l,n,8,[e.el,a,e,t]),tn())}}const ep=Symbol("_vte"),Su=e=>e.__isTeleport,fn=Symbol("_leaveCb"),rs=Symbol("_enterCb");function tp(){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],wu={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},Eu=e=>{const t=e.subTree;return t.component?Eu(t.component):t},np={name:"BaseTransition",props:wu,setup(e,{slots:t}){const n=Un(),s=tp();return()=>{const o=t.default&&Pu(t.default(),!0);if(!o||!o.length)return;const r=bu(o),i=ve(e),{mode:a}=i;if(s.isLeaving)return Lo(r);const l=Aa(r);if(!l)return Lo(r);let d=Zo(l,i,s,n,h=>d=h);l.type!==Ve&&sr(l,d);let u=n.subTree&&Aa(n.subTree);if(u&&u.type!==Ve&&!Rt(l,u)&&Eu(n).type!==Ve){let h=Zo(u,i,s,n);if(sr(u,h),a==="out-in"&&l.type!==Ve)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,u=void 0},Lo(r);a==="in-out"&&l.type!==Ve?h.delayLeave=(f,c,p)=>{const g=Cu(s,u);g[String(u.key)]=u,f[fn]=()=>{c(),f[fn]=void 0,delete d.delayedLeave,u=void 0},d.delayedLeave=()=>{p(),delete d.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return r}}};function bu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ve){t=n;break}}return t}const rp=np;function Cu(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:d,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:f,onLeave:c,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:S,onAfterAppear:w,onAppearCancelled:y}=t,_=String(e.key),m=Cu(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[fn]&&P[fn](!0);const T=m[_];T&&Rt(e,T)&&T.el[fn]&&T.el[fn](),x(L,[P])},enter(P){let L=d,T=u,C=h;if(!n.isMounted)if(r)L=S||d,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(f,[P]);let C=!1;const O=P[fn]=$=>{C||(C=!0,L(),$?x(g,[P]):x(p,[P]),P[fn]=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 Lo(e){if(Zs(e))return e=rn(e),e.children=null,e}function Aa(e){if(!Zs(e))return Su(e.type)&&e.children?bu(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&le(n.default))return n.default()}}function sr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,sr(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 Pu(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(Pu(i.children,t,a))):(t||i.type!==Ve)&&s.push(a!=null?rn(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 et(e,t){return le(e)?qe({name:e.name},t,{setup:e}):e}function Tu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function tr(e,t,n,s,o=!1){if(ae(e)){e.forEach((p,g)=>tr(p,t&&(ae(t)?t[g]:t),n,s,o));return}if(vn(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&tr(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?so(s.component):s.el,i=o?null:r,{i:a,r:l}=e,d=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,h=a.setupState,f=ve(h),c=h===Le?()=>!1:p=>Ee(f,p);if(d!=null&&d!==l&&(Ne(d)?(u[d]=null,c(d)&&(h[d]=null)):De(d)&&(d.value=null)),le(l))Gr(l,a,12,[i,u]);else{const p=Ne(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)&&Bi(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 Ia=!1;const Wn=()=>{Ia||(console.error("Hydration completed but contains mismatches."),Ia=!0)},sp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",op=e=>e.namespaceURI.includes("MathML"),ss=e=>{if(e.nodeType===1){if(sp(e))return"svg";if(op(e))return"mathml"}},os=e=>e.nodeType===8;function ip(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:d}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),Ps(),_._vnode=y;return}h(_.firstChild,y,null,null,null),Ps(),_._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 _n: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 Ve:w(y)?(U=r(y),S(_.el=y.content.firstChild,y,m)):F!==8||P?U=L():U=r(y);break;case br: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=f(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),vn(_)&&!_.type.__asyncResolved){let Y;P?(Y=Ie(Ge),Y.anchor=U?U.previousSibling:j.lastChild):Y=y.nodeType===3?ro(""):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&&tr(C,null,x,_),U},f=(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=Ju(null,$)&&m&&m.vnode.props&&m.vnode.props.appear;const Y=y.content.firstChild;if(U){const ne=Y.getAttribute("class");ne&&(Y.$cls=ne),$.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 ne=Y;Y=Y.nextSibling,a(ne)}}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 ne in L)(F&&(ne.endsWith("value")||ne==="indeterminate")||Wr(ne)&&!Zn(ne)||ne[0]==="."||Y)&&s(y,ne,null,L[ne],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)&&nf(()=>{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===_n;y?($&&!P&&C+1<T&&vt(L[C+1]).type===_n&&(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=d("]"),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,no(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 Oa="data-allow-mismatch",ap={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function is(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Oa);)e=e.parentElement;const n=e&&e.getAttribute(Oa);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:s.includes(ap[t])}}Xs().requestIdleCallback;Xs().cancelIdleCallback;const vn=e=>!!e.type.__asyncLoader,Zs=e=>e.type.__isKeepAlive,lp={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:d,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(w,y,_,m,x)=>{const E=w.component;d(w,y,_,0,a),l(E.vnode,w,y,_,E,a,m,w.slotScopeIds,x),Je(()=>{E.isDeactivated=!1,E.a&&xr(E.a);const b=w.props&&w.props.onVnodeMounted;b&&ut(b,E.parent,w)},a)},s.deactivate=w=>{const y=w.component;Rs(y.m),Rs(y.a),d(w,f,null,1,a),Je(()=>{y.da&&xr(y.da);const _=w.props&&w.props.onVnodeUnmounted;_&&ut(_,y.parent,w),y.isDeactivated=!0},a)};function c(w){Ro(w),u(w,n,a,!0)}function p(w){o.forEach((y,_)=>{const m=ai(y.type);m&&!w(m)&&g(_)})}function g(w){const y=o.get(w);y&&(!i||!Rt(y,i))?c(y):i&&Ro(i),o.delete(w),r.delete(w)}pt(()=>[e.include,e.exclude],([w,y])=>{w&&p(_=>yr(w,_)),y&&p(_=>!yr(y,_))},{flush:"post",deep:!0});let v=null;const S=()=>{v!=null&&(ks(n.subTree.type)?Je(()=>{o.set(v,as(n.subTree))},n.subTree.suspense):o.set(v,as(n.subTree)))};return bt(S),Au(S),Xr(()=>{o.forEach(w=>{const{subTree:y,suspense:_}=n,m=as(y);if(w.type===m.type&&w.key===m.key){Ro(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===Ve)return i=null,_;const m=_.type,x=ai(vn(_)?_.type.__asyncResolved||{}:m),{include:E,exclude:b,max:P}=e;if(E&&(!x||!yr(E,x))||b&&x&&yr(b,x))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,T=o.get(L);return _.el&&(_=rn(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,T?(_.el=T.el,_.component=T.component,_.transition&&sr(_,_.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=_,ks(y.type)?y:_}}},cp=lp;function yr(e,t){return ae(e)?e.some(n=>yr(n,t)):Ne(e)?e.split(",").includes(t):uh(e)?(e.lastIndex=0,e.test(t)):!1}function Lu(e,t){ku(e,"a",t)}function Ru(e,t){ku(e,"da",t)}function ku(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(eo(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Zs(o.parent.vnode)&&up(s,t,n,o),o=o.parent}}function up(e,t,n,s){const o=eo(t,e,s,!0);zi(()=>{Bi(s[t],o)},n)}function Ro(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function as(e){return e.shapeFlag&128?e.ssContent:e}function eo(e,t,n=Ye,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{en();const a=qr(n),l=Ot(t,n,e,i);return a(),tn(),l});return s?o.unshift(r):o.push(r),r}}const on=e=>(t,n=Ye)=>{(!Nr||e==="sp")&&eo(e,(...s)=>t(...s),n)},fp=on("bm"),bt=on("m"),dp=on("bu"),Au=on("u"),Xr=on("bum"),zi=on("um"),hp=on("sp"),pp=on("rtg"),gp=on("rtc");function Iu(e,t=Ye){eo("ec",e,t)}const Ou="components";function Ma(e,t){return Nu(Ou,e,!0,t)||e}const Mu=Symbol.for("v-ndc");function mp(e){return Ne(e)?Nu(Ou,e,!1)||e:e||Mu}function Nu(e,t,n=!0,s=!1){const o=We||Ye;if(o){const r=o.type;{const a=ai(r,!1);if(a&&(a===t||a===wt(t)||a===Ys(wt(t))))return r}const i=Na(o[e]||r[e],t)||Na(o.appContext[e],t);return!i&&s?r:i}}function Na(e,t){return e&&(e[t]||e[wt(t)]||e[Ys(wt(t))])}function Iw(e,t,n,s){let o;const r=n,i=ae(e);if(i||Ne(e)){const a=i&&Nn(e);let l=!1,d=!1;a&&(l=!St(e),d=nn(e),e=zs(e)),o=new Array(e.length);for(let u=0,h=e.length;u<h;u++)o[u]=t(l?d?Es(Qe(e[u])):Qe(e[u]):e[u],u,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,d=a.length;l<d;l++){const u=a[l];o[l]=t(e[u],u,l,r)}}else o=[];return o}function Ow(e,t,n={},s,o){if(We.ce||We.parent&&vn(We.parent)&&We.parent.ce)return ye(),ze(Ge,null,[Ie("slot",n,s)],64);let r=e[t];r&&r._c&&(r._d=!1),ye();const i=r&&Du(r(n)),a=n.key||i&&i.key,l=ze(Ge,{key:(a&&!sn(a)?a:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),r&&r._c&&(r._d=!0),l}function Du(e){return e.some(t=>$n(t)?!(t.type===Ve||t.type===Ge&&!Du(t.children)):!0)?e:null}const ei=e=>e?lf(e)?so(e):ei(e.parent):null,Er=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=>ei(e.parent),$root:e=>ei(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>$u(e),$forceUpdate:e=>e.f||(e.f=()=>{Qi(e.update)}),$nextTick:e=>e.n||(e.n=Sn.bind(e.proxy)),$watch:e=>Fp.bind(e)}),ko=(e,t)=>e!==Le&&!e.__isScriptSetup&&Ee(e,t),vp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=e;let d;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ko(s,t))return i[t]=1,s[t];if(o!==Le&&Ee(o,t))return i[t]=2,o[t];if((d=e.propsOptions[0])&&Ee(d,t))return i[t]=3,r[t];if(n!==Le&&Ee(n,t))return i[t]=4,n[t];ti&&(i[t]=0)}}const u=Er[t];let h,f;if(u)return t==="$attrs"&&nt(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(f=l.config.globalProperties,Ee(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return ko(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)||ko(t,i)||(a=r[0])&&Ee(a,i)||Ee(s,i)||Ee(Er,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 Da(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ti=!0;function yp(e){const t=$u(e),n=e.proxy,s=e.ctx;ti=!1,t.beforeCreate&&Fa(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:d,created:u,beforeMount:h,mounted:f,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy: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(d&&_p(d,s,null),i)for(const j in i){const Y=i[j];le(Y)&&(s[j]=Y.bind(n))}if(o){const j=o.call(n,n);ke(j)&&(e.data=xn(j))}if(ti=!0,r)for(const j in r){const Y=r[j],ne=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:ne,set:fe});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ue.value,set:re=>ue.value=re})}if(a)for(const j in a)Fu(a[j],s,n,j);if(l){const j=le(l)?l.call(n):l;Reflect.ownKeys(j).forEach(Y=>{yn(Y,j[Y])})}u&&Fa(u,e,"c");function U(j,Y){ae(Y)?Y.forEach(ne=>j(ne.bind(n))):Y&&j(Y.bind(n))}if(U(fp,h),U(bt,f),U(dp,c),U(Au,p),U(Lu,g),U(Ru,v),U(Iu,b),U(gp,x),U(pp,E),U(Xr,w),U(zi,_),U(hp,P),ae(L))if(L.length){const j=e.exposed||(e.exposed={});L.forEach(Y=>{Object.defineProperty(j,Y,{get:()=>n[Y],set:ne=>n[Y]=ne})})}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&&Tu(e)}function _p(e,t,n=Bt){ae(e)&&(e=ni(e));for(const s in e){const o=e[s];let r;ke(o)?"default"in o?r=rt(o.from||s,o.default,!0):r=rt(o.from||s):r=rt(o),De(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Fa(e,t,n){Ot(ae(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fu(e,t,n,s){let o=s.includes(".")?Zu(n,s):()=>n[s];if(Ne(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=>Fu(r,t,n,s));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&pt(o,r,e)}}function $u(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(d=>Ls(l,d,i,!0)),Ls(l,t,i)),ke(t)&&r.set(t,l),l}function Ls(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&Ls(e,r,n,!0),o&&o.forEach(i=>Ls(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=xp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const xp={data:$a,props:Ha,emits:Ha,methods:_r,computed:_r,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:_r,directives:_r,watch:wp,provide:$a,inject:Sp};function $a(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 Sp(e,t){return _r(ni(e),ni(t))}function ni(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ot(e,t){return e?[...new Set([].concat(e,t))]:t}function _r(e,t){return e?qe(Object.create(null),e,t):t}function Ha(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:qe(Object.create(null),Da(e),Da(t??{})):t}function wp(e,t){if(!e)return t;if(!t)return e;const n=qe(Object.create(null),e);for(const s in t)n[s]=ot(e[s],t[s]);return n}function Hu(){return{app:null,config:{isNativeTag:lh,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 Ep=0;function bp(e,t){return function(s,o=null){le(s)||(s=qe({},s)),o!=null&&!ke(o)&&(o=null);const r=Hu(),i=new WeakSet,a=[];let l=!1;const d=r.app={_uid:Ep++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:uf,get config(){return r.config},set config(u){},use(u,...h){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(d,...h)):le(u)&&(i.add(u),u(d,...h))),d},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),d},component(u,h){return h?(r.components[u]=h,d):r.components[u]},directive(u,h){return h?(r.directives[u]=h,d):r.directives[u]},mount(u,h,f){if(!l){const c=d._ceVNode||Ie(s,o);return c.appContext=r,f===!0?f="svg":f===!1&&(f=void 0),h&&t?t(c,u):e(c,u,f),l=!0,d._container=u,u.__vue_app__=d,so(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(Ot(a,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(u,h){return r.provides[u]=h,d},runWithContext(u){const h=Dn;Dn=d;try{return u()}finally{Dn=h}}};return d}}let Dn=null;function yn(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 rt(e,t,n=!1){const s=Ye||We;if(s||Dn){let o=Dn?Dn._context.provides:s?s.parent==null||s.ce?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 Uu(){return!!(Ye||We||Dn)}const Bu={},Vu=()=>Object.create(Bu),ju=e=>Object.getPrototypeOf(e)===Bu;function Cp(e,t,n,s=!1){const o={},r=Vu();e.propsDefaults=Object.create(null),Wu(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 Pp(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=ve(o),[l]=e.propsOptions;let d=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let f=u[h];if(to(e.emitsOptions,f))continue;const c=t[f];if(l)if(Ee(r,f))c!==r[f]&&(r[f]=c,d=!0);else{const p=wt(f);o[p]=ri(l,a,p,c,e,!1)}else c!==r[f]&&(r[f]=c,d=!0)}}}else{Wu(e,t,o,r)&&(d=!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]=ri(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],d=!0)}d&&Jt(e.attrs,"set","")}function Wu(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 d=t[l];let u;o&&Ee(o,u=wt(l))?!r||!r.includes(u)?n[u]=d:(a||(a={}))[u]=d:to(e.emitsOptions,l)||(!(l in s)||d!==s[l])&&(s[l]=d,i=!0)}if(r){const l=ve(n),d=a||Le;for(let u=0;u<r.length;u++){const h=r[u];n[h]=ri(o,l,h,d[h],e,!Ee(d,h))}}return i}function ri(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:d}=o;if(n in d)s=d[n];else{const u=qr(o);s=d[n]=l.call(null,t),u()}}else s=l;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Hn(n))&&(s=!0))}return s}const Tp=new WeakMap;function Ku(e,t,n=!1){const s=n?Tp:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!le(e)){const u=h=>{l=!0;const[f,c]=Ku(h,t,!0);qe(i,f),c&&a.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return ke(e)&&s.set(e,Qn),Qn;if(ae(r))for(let u=0;u<r.length;u++){const h=wt(r[u]);Ua(h)&&(i[h]=Le)}else if(r)for(const u in r){const h=wt(u);if(Ua(h)){const f=r[u],c=i[h]=ae(f)||le(f)?{type:f}:qe({},f),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 d=[i,a];return ke(e)&&s.set(e,d),d}function Ua(e){return e[0]!=="$"&&!Zn(e)}const Zi=e=>e[0]==="_"||e==="$stable",ea=e=>ae(e)?e.map(vt):[vt(e)],Lp=(e,t,n)=>{if(t._n)return t;const s=wn((...o)=>ea(t(...o)),n);return s._c=!1,s},Gu=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Zi(o))continue;const r=e[o];if(le(r))t[o]=Lp(o,r,s);else if(r!=null){const i=ea(r);t[o]=()=>i}}},Yu=(e,t)=>{const n=ea(t);e.slots.default=()=>n},Xu=(e,t,n)=>{for(const s in t)(n||!Zi(s))&&(e[s]=t[s])},Rp=(e,t,n)=>{const s=e.slots=Vu();if(e.vnode.shapeFlag&32){const o=t.__;o&&Yo(s,"__",o,!0);const r=t._;r?(Xu(s,t,n),n&&Yo(s,"_",r,!0)):Gu(t,s)}else t&&Yu(e,t)},kp=(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:Xu(o,t,n):(r=!t.$stable,Gu(t,o)),i=t}else t&&(Yu(e,t),i={default:1});if(r)for(const a in o)!Zi(a)&&i[a]==null&&delete o[a]},Je=nf;function Ap(e){return qu(e)}function Ip(e){return qu(e,ip)}function qu(e,t){const n=Xs();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:d,setElementText:u,parentNode:h,nextSibling:f,setScopeId:c=Bt,insertStaticContent:p}=e,g=(A,I,D,K=null,B=null,X=null,Q=void 0,R=null,k=!!I.dynamicChildren)=>{if(A===I)return;A&&!Rt(A,I)&&(K=V(A),re(A,B,X,!0),A=null),I.patchFlag===-2&&(k=!1,I.dynamicChildren=null);const{type:M,ref:W,shapeFlag:q}=I;switch(M){case _n:v(A,I,D,K);break;case Ve:S(A,I,D,K);break;case br:A==null&&w(I,D,K,Q);break;case Ge:C(A,I,D,K,B,X,Q,R,k);break;default:q&1?m(A,I,D,K,B,X,Q,R,k):q&6?O(A,I,D,K,B,X,Q,R,k):(q&64||q&128)&&M.process(A,I,D,K,B,X,Q,R,k,ee)}W!=null&&B?tr(W,A&&A.ref,X,I||A,!I):W==null&&A&&A.ref!=null&&tr(A.ref,null,X,A,!0)},v=(A,I,D,K)=>{if(A==null)s(I.el=a(I.children),D,K);else{const B=I.el=A.el;I.children!==A.children&&d(B,I.children)}},S=(A,I,D,K)=>{A==null?s(I.el=l(I.children||""),D,K):I.el=A.el},w=(A,I,D,K)=>{[A.el,A.anchor]=p(A.children,I,D,K,A.el,A.anchor)},y=({el:A,anchor:I},D,K)=>{let B;for(;A&&A!==I;)B=f(A),s(A,D,K),A=B;s(I,D,K)},_=({el:A,anchor:I})=>{let D;for(;A&&A!==I;)D=f(A),o(A),A=D;o(I)},m=(A,I,D,K,B,X,Q,R,k)=>{I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),A==null?x(I,D,K,B,X,Q,R,k):P(A,I,B,X,Q,R,k)},x=(A,I,D,K,B,X,Q,R)=>{let k,M;const{props:W,shapeFlag:q,transition:G,dirs:N}=A;if(k=A.el=i(A.type,X,W&&W.is,W),q&8?u(k,A.children):q&16&&b(A.children,k,null,K,B,Ao(A,X),Q,R),N&&Ht(A,null,K,"created"),E(k,A,A.scopeId,Q,K),W){for(const se in W)se!=="value"&&!Zn(se)&&r(k,se,null,W[se],X,K);"value"in W&&r(k,"value",null,W.value,X),(M=W.onVnodeBeforeMount)&&ut(M,K,A)}N&&Ht(A,null,K,"beforeMount");const H=Ju(B,G);H&&G.beforeEnter(k),s(k,I,D),((M=W&&W.onVnodeMounted)||H||N)&&Je(()=>{M&&ut(M,K,A),H&&G.enter(k),N&&Ht(A,null,K,"mounted")},B)},E=(A,I,D,K,B)=>{if(D&&c(A,D),K)for(let X=0;X<K.length;X++)c(A,K[X]);if(B){let X=B.subTree;if(I===X||ks(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,K,B,X,Q,R,k=0)=>{for(let M=k;M<A.length;M++){const W=A[M]=R?dn(A[M]):vt(A[M]);g(null,W,I,D,K,B,X,Q,R)}},P=(A,I,D,K,B,X,Q)=>{const R=I.el=A.el;let{patchFlag:k,dynamicChildren:M,dirs:W}=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),W&&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,K,Ao(I,B),X):Q||Y(A,I,R,null,D,K,Ao(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 se=0;se<H.length;se++){const oe=H[se],Oe=q[oe],Fe=G[oe];(Fe!==Oe||oe==="value")&&r(R,oe,Oe,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)||W)&&Je(()=>{N&&ut(N,D,I,A),W&&Ht(I,A,D,"updated")},K)},L=(A,I,D,K,B,X,Q)=>{for(let R=0;R<I.length;R++){const k=A[R],M=I[R],W=k.el&&(k.type===Ge||!Rt(k,M)||k.shapeFlag&198)?h(k.el):D;g(k,M,W,null,K,B,X,Q,!0)}},T=(A,I,D,K,B)=>{if(I!==D){if(I!==Le)for(const X in I)!Zn(X)&&!(X in D)&&r(A,X,I[X],null,B,K);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,K)}"value"in D&&r(A,"value",I.value,D.value,B)}},C=(A,I,D,K,B,X,Q,R,k)=>{const M=I.el=A?A.el:a(""),W=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,K),s(W,D,K),b(I.children||[],D,W,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)&&Qu(A,I,!0)):Y(A,I,D,W,B,X,Q,R,k)},O=(A,I,D,K,B,X,Q,R,k)=>{I.slotScopeIds=R,A==null?I.shapeFlag&512?B.ctx.activate(I,D,K,Q,k):$(I,D,K,B,X,Q,k):F(A,I,k)},$=(A,I,D,K,B,X,Q)=>{const R=A.component=eg(A,K,B);if(Zs(A)&&(R.ctx.renderer=ee),tg(R,!1,Q),R.asyncDep){if(B&&B.registerDep(R,U,Q),!A.el){const k=R.subTree=Ie(Ve);S(null,k,I,D)}}else U(R,A,I,D,B,X,Q)},F=(A,I,D)=>{const K=I.component=A.component;if(jp(A,I,D))if(K.asyncDep&&!K.asyncResolved){j(K,I,D);return}else K.next=I,K.update();else I.el=A.el,K.vnode=I},U=(A,I,D,K,B,X,Q)=>{const R=()=>{if(A.isMounted){let{next:q,bu:G,u:N,parent:H,vnode:se}=A;{const st=zu(A);if(st){q&&(q.el=se.el,j(A,q,Q)),st.asyncDep.then(()=>{A.isUnmounted||R()});return}}let oe=q,Oe;Tn(A,!1),q?(q.el=se.el,j(A,q,Q)):q=se,G&&xr(G),(Oe=q.props&&q.props.onVnodeBeforeUpdate)&&ut(Oe,H,q,se),Tn(A,!0);const Fe=Io(A),Ke=A.subTree;A.subTree=Fe,g(Ke,Fe,h(Ke.el),V(Ke),A,B,X),q.el=Fe.el,oe===null&&no(A,Fe.el),N&&Je(N,B),(Oe=q.props&&q.props.onVnodeUpdated)&&Je(()=>ut(Oe,H,q,se),B)}else{let q;const{el:G,props:N}=I,{bm:H,m:se,parent:oe,root:Oe,type:Fe}=A,Ke=vn(I);if(Tn(A,!1),H&&xr(H),!Ke&&(q=N&&N.onVnodeBeforeMount)&&ut(q,oe,I),Tn(A,!0),G&&xe){const st=()=>{A.subTree=Io(A),xe(G,A.subTree,A,B,null)};Ke&&Fe.__asyncHydrate?Fe.__asyncHydrate(G,A,st):st()}else{Oe.ce&&Oe.ce._def.shadowRoot!==!1&&Oe.ce._injectChildStyle(Fe);const st=A.subTree=Io(A);g(null,st,D,K,A,B,X),I.el=st.el}if(se&&Je(se,B),!Ke&&(q=N&&N.onVnodeMounted)){const st=I;Je(()=>ut(q,oe,st),B)}(I.shapeFlag&256||oe&&vn(oe.vnode)&&oe.vnode.shapeFlag&256)&&A.a&&Je(A.a,B),A.isMounted=!0,I=D=K=null}};A.scope.on();const k=A.effect=new Zc(R);A.scope.off();const M=A.update=k.run.bind(k),W=A.job=k.runIfDirty.bind(k);W.i=A,W.id=A.uid,k.scheduler=()=>Qi(W),Tn(A,!0),M()},j=(A,I,D)=>{I.component=A;const K=A.vnode.props;A.vnode=I,A.next=null,Pp(A,I.props,K,D),kp(A,I.children,D),en(),ka(A),tn()},Y=(A,I,D,K,B,X,Q,R,k=!1)=>{const M=A&&A.children,W=A?A.shapeFlag:0,q=I.children,{patchFlag:G,shapeFlag:N}=I;if(G>0){if(G&128){fe(M,q,D,K,B,X,Q,R,k);return}else if(G&256){ne(M,q,D,K,B,X,Q,R,k);return}}N&8?(W&16&&de(M,B,X),q!==M&&u(D,q)):W&16?N&16?fe(M,q,D,K,B,X,Q,R,k):de(M,B,X,!0):(W&8&&u(D,""),N&16&&b(q,D,K,B,X,Q,R,k))},ne=(A,I,D,K,B,X,Q,R,k)=>{A=A||Qn,I=I||Qn;const M=A.length,W=I.length,q=Math.min(M,W);let G;for(G=0;G<q;G++){const N=I[G]=k?dn(I[G]):vt(I[G]);g(A[G],N,D,null,B,X,Q,R,k)}M>W?de(A,B,X,!0,!1,q):b(I,D,K,B,X,Q,R,k,q)},fe=(A,I,D,K,B,X,Q,R,k)=>{let M=0;const W=I.length;let q=A.length-1,G=W-1;for(;M<=q&&M<=G;){const N=A[M],H=I[M]=k?dn(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?dn(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<W?I[N].el:K;for(;M<=G;)g(null,I[M]=k?dn(I[M]):vt(I[M]),D,H,B,X,Q,R,k),M++}}else if(M>G)for(;M<=q;)re(A[M],B,X,!0),M++;else{const N=M,H=M,se=new Map;for(M=H;M<=G;M++){const mt=I[M]=k?dn(I[M]):vt(I[M]);mt.key!=null&&se.set(mt.key,M)}let oe,Oe=0;const Fe=G-H+1;let Ke=!1,st=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(Oe>=Fe){re(mt,B,X,!0);continue}let Ft;if(mt.key!=null)Ft=se.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?re(mt,B,X,!0):(Vn[Ft-H]=M+1,Ft>=st?st=Ft:Ke=!0,g(mt,I[Ft],D,null,B,X,Q,R,k),Oe++)}const Ca=Ke?Op(Vn):Qn;for(oe=Ca.length-1,M=Fe-1;M>=0;M--){const mt=H+M,Ft=I[mt],Pa=mt+1<W?I[mt+1].el:K;Vn[M]===0?g(null,Ft,D,Pa,B,X,Q,R,k):Ke&&(oe<0||M!==Ca[oe]?ue(Ft,D,Pa,2):oe--)}}},ue=(A,I,D,K,B=null)=>{const{el:X,type:Q,transition:R,children:k,shapeFlag:M}=A;if(M&6){ue(A.component.subTree,I,D,K);return}if(M&128){A.suspense.move(I,D,K);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,K);s(A.anchor,I,D);return}if(Q===br){y(A,I,D);return}if(K!==2&&M&1&&R)if(K===0)R.beforeEnter(X),s(X,I,D),Je(()=>R.enter(X),B);else{const{leave:q,delayLeave:G,afterLeave:N}=R,H=()=>{A.ctx.isUnmounted?o(X):s(X,I,D)},se=()=>{q(X,()=>{H(),N&&N()})};G?G(X,H,se):se()}else s(X,I,D)},re=(A,I,D,K=!1,B=!1)=>{const{type:X,props:Q,ref:R,children:k,dynamicChildren:M,shapeFlag:W,patchFlag:q,dirs:G,cacheIndex:N}=A;if(q===-2&&(B=!1),R!=null&&(en(),tr(R,null,D,A,!0),tn()),N!=null&&(I.renderCache[N]=void 0),W&256){I.ctx.deactivate(A);return}const H=W&1&&G,se=!vn(A);let oe;if(se&&(oe=Q&&Q.onVnodeBeforeUnmount)&&ut(oe,I,A),W&6)Be(A.component,D,K);else{if(W&128){A.suspense.unmount(D,K);return}H&&Ht(A,null,I,"beforeUnmount"),W&64?A.type.remove(A,I,D,ee,K):M&&!M.hasOnce&&(X!==Ge||q>0&&q&64)?de(M,I,D,!1,!0):(X===Ge&&q&384||!B&&W&16)&&de(k,I,D),K&&Pe(A)}(se&&(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:K,transition:B}=A;if(I===Ge){_e(D,K);return}if(I===br){_(A);return}const X=()=>{o(D),B&&!B.persisted&&B.afterLeave&&B.afterLeave()};if(A.shapeFlag&1&&B&&!B.persisted){const{leave:Q,delayLeave:R}=B,k=()=>Q(D,X);R?R(A.el,X,k):k()}else X()},_e=(A,I)=>{let D;for(;A!==I;)D=f(A),o(A),A=D;o(I)},Be=(A,I,D)=>{const{bum:K,scope:B,job:X,subTree:Q,um:R,m:k,a:M,parent:W,slots:{__:q}}=A;Rs(k),Rs(M),K&&xr(K),W&&ae(q)&&q.forEach(G=>{W.renderCache[G]=void 0}),B.stop(),X&&(X.flags|=8,re(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,K=!1,B=!1,X=0)=>{for(let Q=X;Q<A.length;Q++)re(A[Q],I,D,K,B)},V=A=>{if(A.shapeFlag&6)return V(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const I=f(A.anchor||A.el),D=I&&I[ep];return D?f(D):I};let J=!1;const z=(A,I,D)=>{A==null?I._vnode&&re(I._vnode,null,null,!0):g(I._vnode||null,A,I,null,null,null,D),I._vnode=A,J||(J=!0,ka(),Ps(),J=!1)},ee={p:g,um:re,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:bp(z,he)}}function Ao({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 Ju(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Qu(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]=dn(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&Qu(i,a)),a.type===_n&&(a.el=i.el),a.type===Ve&&!a.el&&(a.el=i.el)}}function Op(e){const t=e.slice(),n=[0];let s,o,r,i,a;const l=e.length;for(s=0;s<l;s++){const d=e[s];if(d!==0){if(o=n[n.length-1],e[o]<d){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<d?r=a+1:i=a;d<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function zu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zu(t)}function Rs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Mp=Symbol.for("v-scx"),Np=()=>rt(Mp);function Dp(e,t){return ta(e,null,t)}function pt(e,t,n){return ta(e,t,n)}function ta(e,t,n=Le){const{immediate:s,deep:o,flush:r,once:i}=n,a=qe({},n),l=t&&s||!t&&r!=="post";let d;if(Nr){if(r==="sync"){const c=Np();d=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():Qi(c)}),a.augmentJob=c=>{t&&(c.flags|=4),h&&(c.flags|=2,u&&(c.id=u.uid,c.i=u))};const f=Qh(e,t,a);return Nr&&(d?d.push(f):l&&f()),f}function Fp(e,t,n){const s=this.proxy,o=Ne(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=ta(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 $p=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${wt(t)}Modifiers`]||e[`${Hn(t)}Modifiers`];function Hp(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Le;let o=n;const r=t.startsWith("update:"),i=r&&$p(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Ne(u)?u.trim():u)),i.number&&(o=n.map(ph)));let a,l=s[a=Eo(t)]||s[a=Eo(wt(t))];!l&&r&&(l=s[a=Eo(Hn(t))]),l&&Ot(l,e,6,o);const d=s[a+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ot(d,e,6,o)}}function ef(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!le(e)){const l=d=>{const u=ef(d,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 to(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 Io(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:a,emit:l,render:d,renderCache:u,props:h,data:f,setupState:c,ctx:p,inheritAttrs:g}=e,v=Ts(e);let S,w;try{if(n.shapeFlag&4){const _=o||s,m=_;S=vt(d.call(m,_,u,h,c,f,p)),w=a}else{const _=t;S=vt(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),w=t.props?a:Bp(a)}}catch(_){Cr.length=0,Yr(_,e,1),S=Ie(Ve)}let y=S;if(w&&g!==!1){const _=Object.keys(w),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Ui)&&(w=Vp(w,r)),y=rn(y,w,!1,!0))}return n.dirs&&(y=rn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&sr(y,n.transition),S=y,Ts(v),S}function Up(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if($n(o)){if(o.type!==Ve||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Bp=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wr(n))&&((t||(t={}))[n]=e[n]);return t},Vp=(e,t)=>{const n={};for(const s in e)(!Ui(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jp(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:l}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ba(s,i,d):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const f=u[h];if(i[f]!==s[f]&&!to(d,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Ba(s,i,d):!0:!!i;return!1}function Ba(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]&&!to(n,r))return!0}return!1}function no({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 ks=e=>e.__isSuspense;let si=0;const Wp={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,d){if(e==null)Kp(t,n,s,o,r,i,a,l,d);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Gp(e,t,n,s,o,i,a,l,d)}},hydrate:Yp,normalize:Xp},na=Wp;function Mr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Kp(e,t,n,s,o,r,i,a,l){const{p:d,o:{createElement:u}}=l,h=u("div"),f=e.suspense=tf(e,o,s,t,h,n,r,i,a,l);d(null,f.pendingBranch=e.ssContent,h,null,s,f,r,i),f.deps>0?(Mr(e,"onPending"),Mr(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,r,i),nr(f,e.ssFallback)):f.resolve(!1,!0)}function Gp(e,t,n,s,o,r,i,a,{p:l,um:d,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const f=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:S}=h;if(g)h.pendingBranch=f,Rt(f,g)?(l(g,f,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),nr(h,c)))):(h.pendingId=si++,S?(h.isHydrating=!1,h.activeBranch=g):d(g,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,f,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():(l(p,c,n,s,o,null,r,i,a),nr(h,c))):p&&Rt(f,p)?(l(p,f,n,s,o,h,r,i,a),h.resolve(!0)):(l(null,f,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0&&h.resolve()));else if(p&&Rt(f,p))l(p,f,n,s,o,h,r,i,a),nr(h,f);else if(Mr(t,"onPending"),h.pendingBranch=f,f.shapeFlag&512?h.pendingId=f.component.suspenseId:h.pendingId=si++,l(null,f,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 tf(e,t,n,s,o,r,i,a,l,d,u=!1){const{p:h,m:f,um:c,n:p,o:{parentNode:g,remove:v}}=d;let S;const w=qp(e);w&&t&&t.pendingBranch&&(S=t.pendingId,t.deps++);const y=e.props?Xc(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:si++,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&&(f(L,$,r===_?p(P):r,0),zo(C))}),P&&(g(P.el)===$&&(r=p(P)),c(P,O,m,!0)),F||f(L,$,r,0)),nr(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&&zo(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),nr(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&&f(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;ii(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),no(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 Yp(e,t,n,s,o,r,i,a,l){const d=t.suspense=tf(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=l(e,d.pendingBranch=t.ssContent,n,d,r,i);return d.deps===0&&d.resolve(!1,!0),u}function Xp(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Va(s?n.default:n),e.ssFallback=s?Va(n.fallback):Ie(Ve)}function Va(e){let t;if(le(e)){const n=or&&e._c;n&&(e._d=!1,ye()),e=e(),n&&(e._d=!0,t=ht,rf())}return ae(e)&&(e=Up(e)),e=vt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function nf(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):zo(e)}function nr(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,no(s,o))}function qp(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ge=Symbol.for("v-fgt"),_n=Symbol.for("v-txt"),Ve=Symbol.for("v-cmt"),br=Symbol.for("v-stc"),Cr=[];let ht=null;function ye(e=!1){Cr.push(ht=e?null:[])}function rf(){Cr.pop(),ht=Cr[Cr.length-1]||null}let or=1;function ja(e,t=!1){or+=e,e<0&&ht&&t&&(ht.hasOnce=!0)}function sf(e){return e.dynamicChildren=or>0?ht||Qn:null,rf(),or>0&&ht&&ht.push(e),e}function lt(e,t,n,s,o,r){return sf(ie(e,t,n,s,o,r,!0))}function ze(e,t,n,s,o){return sf(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 of=({key:e})=>e??null,ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(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&&of(t),ref:t&&ms(t),scopeId:xu,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?(ra(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ne(n)?8:16),or>0&&!i&&ht&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ht.push(l),l}const Ie=Jp;function Jp(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Mu)&&(e=Ve),$n(e)){const a=rn(e,t,!0);return n&&ra(a,n),or>0&&!r&&ht&&(a.shapeFlag&6?ht[ht.indexOf(e)]=a:ht.push(a)),a.patchFlag=-2,a}if(og(e)&&(e=e.__vccOpts),t){t=Qp(t);let{class:a,style:l}=t;a&&!Ne(a)&&(t.class=qs(a)),ke(l)&&(Ji(l)&&!ae(l)&&(l=qe({},l)),t.style=ji(l))}const i=Ne(e)?1:ks(e)?128:Su(e)?64:ke(e)?4:le(e)?2:0;return ie(e,t,n,s,o,i,r,!0)}function Qp(e){return e?Ji(e)||ju(e)?qe({},e):e:null}function rn(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,d=t?af(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&of(d),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&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&sr(u,l.clone(u)),u}function ro(e=" ",t=0){return Ie(_n,null,e,t)}function Mw(e,t){const n=Ie(br,null,e);return n.staticCount=t,n}function ft(e="",t=!1){return t?(ye(),ze(Ve,null,e)):Ie(Ve,null,e)}function vt(e){return e==null||typeof e=="boolean"?Ie(Ve):ae(e)?Ie(Ge,null,e.slice()):$n(e)?dn(e):Ie(_n,null,String(e))}function dn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rn(e)}function ra(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),ra(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ju(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=[ro(t)]):n=8);e.children=t,e.shapeFlag|=n}function af(...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=qs([t.class,s.class]));else if(o==="style")t.style=ji([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 zp=Hu();let Zp=0;function eg(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||zp,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 zc(!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:Ku(s,o),emitsOptions:ef(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=Hp.bind(null,r),e.ce&&e.ce(r),r}let Ye=null;const Un=()=>Ye||We;let As,oi;{const e=Xs(),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)}};As=t("__VUE_INSTANCE_SETTERS__",n=>Ye=n),oi=t("__VUE_SSR_SETTERS__",n=>Nr=n)}const qr=e=>{const t=Ye;return As(e),e.scope.on(),()=>{e.scope.off(),As(t)}},Wa=()=>{Ye&&Ye.scope.off(),As(null)};function lf(e){return e.vnode.shapeFlag&4}let Nr=!1;function tg(e,t=!1,n=!1){t&&oi(t);const{props:s,children:o}=e.vnode,r=lf(e);Cp(e,s,r,t),Rp(e,o,n||t);const i=r?ng(e,t):void 0;return t&&oi(!1),i}function ng(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,vp);const{setup:s}=n;if(s){en();const o=e.setupContext=s.length>1?sg(e):null,r=qr(e),i=Gr(s,e,0,[e.props,o]),a=Kc(i);if(tn(),r(),(a||e.sp)&&!vn(e)&&Tu(e),a){if(i.then(Wa,Wa),t)return i.then(l=>{ii(e,l)}).catch(l=>{Yr(l,e,0)});e.asyncDep=i}else ii(e,i)}else cf(e)}function ii(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ke(t)&&(e.setupState=gu(t)),cf(e)}function cf(e,t,n){const s=e.type;e.render||(e.render=s.render||Bt);{const o=qr(e);en();try{yp(e)}finally{tn(),o()}}}const rg={get(e,t){return nt(e,"get",""),e[t]}};function sg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,rg),slots:e.slots,emit:e.emit,expose:t}}function so(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(gu(Uh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Er)return Er[n](e)},has(t,n){return n in t||n in Er}})):e.proxy}function ai(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function og(e){return le(e)&&"__vccOpts"in e}const me=(e,t)=>qh(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 uf="3.5.17";/**
|
||
* @vue/runtime-dom v3.5.17
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let li;const Ka=typeof window<"u"&&window.trustedTypes;if(Ka)try{li=Ka.createPolicy("vue",{createHTML:e=>e})}catch{}const ff=li?e=>li.createHTML(e):e=>e,ig="http://www.w3.org/2000/svg",ag="http://www.w3.org/1998/Math/MathML",qt=typeof document<"u"?document:null,Ga=qt&&qt.createElement("template"),lg={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(ig,e):t==="mathml"?qt.createElementNS(ag,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{Ga.innerHTML=ff(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Ga.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]}},ln="transition",pr="animation",Dr=Symbol("_vtc"),df={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},cg=qe({},wu,df),ug=e=>(e.displayName="Transition",e.props=cg,e),fg=ug((e,{slots:t})=>Xe(rp,dg(e),t)),Ln=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ya=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function dg(e){const t={};for(const C in e)C in df||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:d=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=hg(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?d:i),$&&$()},L=(C,O)=>{C._isLeaving=!1,Rn(C,h),Rn(C,c),Rn(C,f),O&&O()},T=C=>(O,$)=>{const F=C?E:w,U=()=>P(O,C,$);Ln(F,[O,U]),Xa(()=>{Rn(O,C?l:r),Wt(O,C?u:a),Ya(F)||qa(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,d)},onEnter:T(!1),onAppear:T(!0),onLeave(C,O){C._isLeaving=!0;const $=()=>L(C,O);Wt(C,h),C._enterCancelled?(Wt(C,f),za()):(za(),Wt(C,f)),Xa(()=>{C._isLeaving&&(Rn(C,h),Wt(C,c),Ya(_)||qa(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 hg(e){if(e==null)return null;if(ke(e))return[Oo(e.enter),Oo(e.leave)];{const t=Oo(e);return[t,t]}}function Oo(e){return Xc(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 Xa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let pg=0;function qa(e,t,n,s){const o=e._endId=++pg,r=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=gg(e,t);if(!i)return s();const d=i+"end";let u=0;const h=()=>{e.removeEventListener(d,f),r()},f=c=>{c.target===e&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(d,f)}function gg(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${ln}Delay`),r=s(`${ln}Duration`),i=Ja(o,r),a=s(`${pr}Delay`),l=s(`${pr}Duration`),d=Ja(a,l);let u=null,h=0,f=0;t===ln?i>0&&(u=ln,h=i,f=r.length):t===pr?d>0&&(u=pr,h=d,f=l.length):(h=Math.max(i,d),u=h>0?i>d?ln:pr:null,f=u?u===ln?r.length:l.length:0);const c=u===ln&&/\b(transform|all)(,|$)/.test(s(`${ln}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:c}}function Ja(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 za(){return document.body.offsetHeight}function mg(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 Is=Symbol("_vod"),hf=Symbol("_vsh"),Nw={beforeMount(e,{value:t},{transition:n}){e[Is]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):gr(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),gr(e,!0),s.enter(e)):s.leave(e,()=>{gr(e,!1)}):gr(e,t))},beforeUnmount(e,{value:t}){gr(e,t)}};function gr(e,t){e.style.display=t?e[Is]:"none",e[hf]=!t}const vg=Symbol(""),yg=/(^|;)\s*display\s*:/;function _g(e,t,n){const s=e.style,o=Ne(n);let r=!1;if(n&&!o){if(t)if(Ne(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[vg];i&&(n+=";"+i),s.cssText=n,r=yg.test(n)}}else t&&e.removeAttribute("style");Is in e&&(e[Is]=r?s.display:"",e[hf]&&(s.display="none"))}const Za=/\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=xg(e,t);Za.test(n)?e.setProperty(Hn(s),n.replace(Za,""),"important"):e[s]=n}}const el=["Webkit","Moz","ms"],Mo={};function xg(e,t){const n=Mo[t];if(n)return n;let s=wt(t);if(s!=="filter"&&s in e)return Mo[t]=s;s=Ys(s);for(let o=0;o<el.length;o++){const r=el[o]+s;if(r in e)return Mo[t]=r}return t}const tl="http://www.w3.org/1999/xlink";function nl(e,t,n,s,o,r=xh(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(tl,t.slice(6,t.length)):e.setAttributeNS(tl,t,n):n==null||r&&!qc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":sn(n)?String(n):n)}function rl(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ff(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=qc(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 Sg(e,t,n,s){e.addEventListener(t,n,s)}function wg(e,t,n,s){e.removeEventListener(t,n,s)}const sl=Symbol("_vei");function Eg(e,t,n,s,o=null){const r=e[sl]||(e[sl]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=bg(t);if(s){const d=r[t]=Tg(s,o);Sg(e,a,d,l)}else i&&(wg(e,a,i,l),r[t]=void 0)}}const ol=/(?:Once|Passive|Capture)$/;function bg(e){let t;if(ol.test(e)){t={};let s;for(;s=e.match(ol);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Hn(e.slice(2)),t]}let No=0;const Cg=Promise.resolve(),Pg=()=>No||(Cg.then(()=>No=0),No=Date.now());function Tg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ot(Lg(s,n.value),t,5,[s])};return n.value=e,n.attached=Pg(),n}function Lg(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const il=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Rg=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?mg(e,s,i):t==="style"?_g(e,n,s):Wr(t)?Ui(t)||Eg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kg(e,t,s,i))?(rl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nl(e,t,s,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ne(s))?rl(e,wt(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),nl(e,t,s,i))};function kg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&il(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return il(t)&&Ne(n)?!1:t in e}const pf=qe({patchProp:Rg},lg);let Pr,al=!1;function Ag(){return Pr||(Pr=Ap(pf))}function Ig(){return Pr=al?Pr:Ip(pf),al=!0,Pr}const Og=(...e)=>{const t=Ag().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=mf(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,gf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Mg=(...e)=>{const t=Ig().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=mf(s);if(o)return n(o,!0,gf(o))},t};function gf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function mf(e){return Ne(e)?document.querySelector(e):e}const Ng=/"(?:_|\\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*:/,Dg=/"(?: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*:/,Fg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function $g(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Hg(e);return}return t}function Hg(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(!Fg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Ng.test(e)||Dg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,$g)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Ug=/#/g,Bg=/&/g,Vg=/\//g,jg=/=/g,sa=/\+/g,Wg=/%5e/gi,Kg=/%60/gi,Gg=/%7c/gi,Yg=/%20/gi;function Xg(e){return encodeURI(""+e).replace(Gg,"|")}function ci(e){return Xg(typeof e=="string"?e:JSON.stringify(e)).replace(sa,"%2B").replace(Yg,"+").replace(Ug,"%23").replace(Bg,"%26").replace(Kg,"`").replace(Wg,"^").replace(Vg,"%2F")}function Do(e){return ci(e).replace(jg,"%3D")}function Os(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function qg(e){return Os(e.replace(sa," "))}function Jg(e){return Os(e.replace(sa," "))}function oa(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=qg(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=Jg(s[2]||"");t[o]===void 0?t[o]=r:Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]}return t}function Qg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Do(e)}=${ci(n)}`).join("&"):`${Do(e)}=${ci(t)}`:Do(e)}function zg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Qg(t,e[t])).filter(Boolean).join("&")}const Zg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,em=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,tm=/^([/\\]\s*){2,}[^/\\]/,nm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,rm=/\/$|\/\?|\/#/,sm=/^\.?\//;function Ct(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Zg.test(e):em.test(e)||(t.acceptRelative?tm.test(e):!1)}function om(e){return!!e&&nm.test(e)}function ui(e="",t){return t?rm.test(e):e.endsWith("/")}function Jr(e="",t){if(!t)return(ui(e)?e.slice(0,-1):e)||"/";if(!ui(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(ui(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 im(e=""){return e.startsWith("/")}function ll(e=""){return im(e)?e:"/"+e}function am(e,t){if(yf(t)||Ct(e))return e;const n=Jr(t);return e.startsWith(n)?e:Bn(n,e)}function cl(e,t){if(yf(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 vf(e,t){const n=cm(e),s={...oa(n.search),...t};return n.search=zg(s),um(n)}function yf(e){return!e||e==="/"}function lm(e){return e&&e!=="/"}function Bn(e,...t){let n=e||"";for(const s of t.filter(o=>lm(o)))if(n){const o=s.replace(sm,"");n=$r(n)+o}else n=s;return n}function _f(...e){var i,a,l,d;const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[h,f]of u.split(t).entries())if(!(!f||f===".")){if(f===".."){if(s.length===1&&Ct(s[0]))continue;s.pop(),o--;continue}if(h===1&&((i=s[s.length-1])!=null&&i.endsWith(":/"))){s[s.length-1]+="/"+f;continue}s.push(f),o++}}let r=s.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!r.startsWith("/")?r="/"+r:(l=n[0])!=null&&l.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*o)+r,(d=n[n.length-1])!=null&&d.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function fi(e,t,n={}){return n.trailingSlash||(e=$r(e),t=$r(t)),n.leadingSlash||(e=ll(e),t=ll(t)),n.encoding||(e=Os(e),t=Os(t)),e===t}const xf=Symbol.for("ufo:protocolRelative");function cm(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,f=""]=n;return{protocol:h.toLowerCase(),pathname:f,href:h+f,auth:"",host:"",search:"",hash:""}}if(!Ct(e,{acceptRelative:!0}))return di(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:d,hash:u}=di(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:d,hash:u,[xf]:!s}}function di(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function um(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[xf]?(e.protocol||"")+"//":"")+o+r+t+n+s}class fm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function dm(e){var l,d,u,h,f;const t=((l=e.error)==null?void 0:l.message)||((d=e.error)==null?void 0:d.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",s=((f=e.request)==null?void 0:f.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new fm(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 hm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ul(e="GET"){return hm.has(e.toUpperCase())}function pm(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 gm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),mm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function vm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return mm.test(t)?"json":gm.has(t)||t.startsWith("text/")?"text":"blob"}function ym(e,t,n,s){const o=_m((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 _m(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 xm=new Set([408,409,425,429,500,502,503,504]),Sm=new Set([101,204,205,304]);function Sf(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=ul(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):xm.has(h))){const f=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return f>0&&await new Promise(c=>setTimeout(c,f)),r(a.request,{...a.options,retry:u-1})}}const d=dm(a);throw Error.captureStackTrace&&Error.captureStackTrace(d,r),d}const r=async function(l,d={}){const u={request:l,options:ym(l,d,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=am(u.request,u.options.baseURL)),u.options.query&&(u.request=vf(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&&ul(u.options.method)&&(pm(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)&&!Sm.has(u.response.status)&&u.options.method!=="HEAD"){const c=(u.options.parseResponse?"json":u.options.responseType)||vm(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,d){return(await r(l,d))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={},l={})=>Sf({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),i}const Ms=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")}(),wm=Ms.fetch?(...e)=>Ms.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Em=Ms.Headers,bm=Ms.AbortController,Cm=Sf({fetch:wm,Headers:Em,AbortController:bm}),Pm=Cm,Tm=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ns=Tm().app,Lm=()=>Ns.baseURL,Rm=()=>Ns.buildAssetsDir,ia=(...e)=>_f(wf(),Rm(),...e),wf=(...e)=>{const t=Ns.cdnURL||Ns.baseURL;return e.length?_f(t,...e):t};globalThis.__buildAssetsURL=ia,globalThis.__publicAssetsURL=wf;globalThis.$fetch||(globalThis.$fetch=Pm.create({baseURL:Lm()}));function hi(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?hi(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const km={run:e=>e()},Am=()=>km,Ef=typeof console.createTask<"u"?console.createTask:Am;function Im(e,t){const n=t.shift(),s=Ef(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function Om(e,t){const n=t.shift(),s=Ef(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Fo(e,t){for(const n of[...e])n(t)}class Mm{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=hi(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=hi(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(Im,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Om,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Fo(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Fo(this._after,o)}):(this._after&&o&&Fo(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function bf(){return new Mm}function Nm(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},d=()=>t===i?l:void 0;pi.add(d);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{pi.delete(d)}}}}function Dm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Nm({...e,...s})),t[n]}}}const Ds=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},fl="__unctx__",Fm=Ds[fl]||(Ds[fl]=Dm()),$m=(e,t={})=>Fm.get(e,t),dl="__unctx_async_handlers__",pi=Ds[dl]||(Ds[dl]=new Set);function kt(e){const t=[];for(const o of pi){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 Hm=!1,gi=!1,Um=!1,Bm={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Vm=null,jm="#__nuxt",Cf="nuxt-app",hl=36e5,Wm="vite:preloadError";function Pf(e=Cf){return $m(e,{asyncContext:!1})}const Km="__nuxt_plugin";function Gm(e){var o;let t=0;const n={_id:e.id||Cf||"nuxt-app",_scope:Wi(),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&&!Js()?n._scope.run(()=>pl(n,r)):pl(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData: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=bf(),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(Wm,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 Ym(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Xm(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 qm(e,t){const n=[],s=[],o=[],r=[];let i=0;async function a(l){var u;const d=((u=l.dependsOn)==null?void 0:u.filter(h=>t.some(f=>f._name===h)&&!n.includes(h)))??[];if(d.length>0)s.push([new Set(d),l]);else{const h=Xm(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(s.map(async([f,c])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(c)))})))});l.parallel?o.push(h.catch(f=>r.push(f))):await h}}for(const l of t)Ym(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,{[Km]:!0,_name:t})}function pl(e,t,n){const s=()=>t();return Pf(e._id).set(e),e.vueApp.runWithContext(s)}function Jm(e){var n;let t;return Uu()&&(t=(n=Un())==null?void 0:n.appContext.app.$nuxt),t=t||Pf(e).tryUse(),t||null}function ge(e){const t=Jm(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 Qm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=t||{},o=s.decode||zm;let r=0;for(;r<e.length;){const i=e.indexOf("=",r);if(i===-1)break;let a=e.indexOf(";",r);if(a===-1)a=e.length;else if(a<i){r=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(r,i).trim();if(s!=null&&s.filter&&!(s!=null&&s.filter(l))){r=a+1;continue}if(n[l]===void 0){let d=e.slice(i+1,a).trim();d.codePointAt(0)===34&&(d=d.slice(1,-1)),n[l]=Zm(d,o)}r=a+1}return n}function zm(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 gl(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(!ev(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 ev(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}function tv(e,t){return{ctx:{table:e},matchAll:n=>Lf(n,e)}}function Tf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,Tf(o)])):new Map(Object.entries(e[n]));return t}function nv(e){return tv(Tf(e))}function Lf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of ml(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of ml(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...Lf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function ml(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function $o(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 mi(e,t,n=".",s){if(!$o(t))return mi(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]]:$o(i)&&$o(o[r])?o[r]=mi(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function rv(e){return(...t)=>t.reduce((n,s)=>mi(n,s,"",e),{})}const Rf=rv();function sv(e,t){try{return t in e}catch{return!1}}class vi extends Error{constructor(n,s={}){super(n,s);an(this,"statusCode",500);an(this,"fatal",!1);an(this,"unhandled",!1);an(this,"statusMessage");an(this,"data");an(this,"cause");s.cause&&!this.cause&&(this.cause=s.cause)}toJSON(){const n={message:this.message,statusCode:_i(this.statusCode,500)};return this.statusMessage&&(n.statusMessage=kf(this.statusMessage)),this.data!==void 0&&(n.data=this.data),n}}an(vi,"__h3_error__",!0);function yi(e){if(typeof e=="string")return new vi(e);if(ov(e))return e;const t=new vi(e.message??e.statusMessage??"",{cause:e.cause||e});if(sv(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=_i(e.statusCode,t.statusCode):e.status&&(t.statusCode=_i(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;kf(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function ov(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const iv=/[^\u0009\u0020-\u007E]/g;function kf(e=""){return e.replace(iv,"")}function _i(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Af=Symbol("layout-meta"),Qr=Symbol("route"),Ze=()=>{var e;return(e=ge())==null?void 0:e.$router},oo=()=>Uu()?rt(Qr,ge()._route):ge()._route;const av=(e,t,n={})=>{const s=ge(),o=n.global||typeof e!="string",r=t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?s._middleware.global.push(r):s._middleware.named[e]=r},lv=()=>{try{if(ge()._processingMiddleware)return!0}catch{return!1}return!1},If=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?xi(e):Ze().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:d={}}=t.open,u=Object.entries(d).filter(([h,f])=>f!==void 0).map(([h,f])=>`${h.toLowerCase()}=${f}`).join(", ");return open(n,l,u),Promise.resolve()}const s=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&&om(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=lv();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 xi(e){return vf(e.path||"",e.query||{})+(e.hash||"")}const Of="__nuxt_error",io=()=>mu(ge().payload,"error"),Jn=e=>{const t=ao(e);try{const n=ge(),s=io();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},cv=async(e={})=>{const t=ge(),n=io();t.callHook("app:error:cleared",e),e.redirect&&await Ze().replace(e.redirect),n.value=Vm},uv=e=>!!e&&typeof e=="object"&&Of in e,ao=e=>{const t=yi(e);return Object.defineProperty(t,Of,{value:!0,configurable:!1,writable:!1}),t};function vl(e){const t=dv(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 fv="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function dv(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|=fv.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 hv=-1,pv=-2,gv=-3,mv=-4,vv=-5,yv=-6;function _v(e,t){return xv(JSON.parse(e),t)}function xv(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===hv)return;if(r===gv)return NaN;if(r===mv)return 1/0;if(r===vv)return-1/0;if(r===yv)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],d=t==null?void 0:t[l];if(d)return s[r]=d(o(a[1]));switch(l){case"Date":s[r]=new Date(a[1]);break;case"Set":const u=new Set;s[r]=u;for(let c=1;c<a.length;c+=1)u.add(o(a[c]));break;case"Map":const h=new Map;s[r]=h;for(let c=1;c<a.length;c+=2)h.set(o(a[c]),o(a[c+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const f=Object.create(null);s[r]=f;for(let c=1;c<a.length;c+=2)f[a[c]]=o(a[c+1]);break;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=vl(p),v=new c(g);s[r]=v;break}case"ArrayBuffer":{const c=a[1],p=vl(c);s[r]=p;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[r]=l;for(let d=0;d<a.length;d+=1){const u=a[d];u!==pv&&(l[d]=o(u))}}else{const l={};s[r]=l;for(const d in a){const u=a[d];l[d]=o(u)}}return s[r]}return o(0)}const Sv=new Set(["title","titleTemplate","script","style","noscript"]),ys=new Set(["base","meta","link","style","script","noscript"]),wv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Ev=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Mf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),bv=typeof window<"u";function Fs(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 Si(e){if(e._h)return e._h;if(e._d)return Fs(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return Fs(t)}function Cv(e,t){return e instanceof Promise?e.then(t):t(e)}function wi(e,t,n,s){const o=s||Df(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>wi(e,t,n,i));const r={tag:e,props:o};for(const i of Mf){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||Sv.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 Pv(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 Nf(e,t,n,s){for(let o=s;o<n.length;o+=1){const r=n[o];if(r==="class"||r==="style"){e[r]=Pv(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Nf(e,t,n,o)));if(!t&&!Mf.has(r)){const i=String(e[r]),a=r.startsWith("data-");i==="true"||i===""?e[r]=a?"true":!0:e[r]||(a&&i==="false"?e[r]="false":delete e[r])}}}function Df(e,t=!1){const n=Nf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const Tv=10;function Ff(e,t,n){for(let s=n;s<t.length;s+=1){const o=t[s];if(o instanceof Promise)return o.then(r=>(t[s]=r,Ff(e,t,s)));Array.isArray(o)?e.push(...o):e.push(o)}}function Lv(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||!wv.has(o))){if(Array.isArray(r)){for(const i of r)t.push(wi(o,i,e));continue}t.push(wi(o,r,e))}}if(t.length===0)return[];const s=[];return Cv(Ff(s,t,0),()=>s.map((o,r)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<Tv)+r,o)))}const yl=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),_l={base:-10,title:10},xl={critical:-80,high:-10,low:20};function $s(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 _l&&(n=_l[e.tag]),t&&t in xl?n+xl[t]:n}const Rv=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],kv=["name","property","http-equiv"];function $f(e){const{props:t,tag:n}=e;if(Ev.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 kv)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}const hn="%separator";function Av(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 Iv=new RegExp(`${hn}(?:\\s*${hn})*`,"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(hn);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===hn||!r.includes(a))return a;const l=Av(t,a.slice(1),s);return l!==void 0?l:a}).trim(),i&&(e.endsWith(hn)&&(e=e.slice(0,-hn.length)),e.startsWith(hn)&&(e=e.slice(hn.length)),e=e.replace(Iv,n).trim()),e}function Sl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Hf(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!!s.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var h;const r=(await e.resolveTags()).map(f=>({tag:f,id:ys.has(f.tag)?Si(f):f.tag,shouldRender:!0}));let i=e._dom;if(!i){i={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=new Set;for(const c of["body","head"]){const p=(h=n[c])==null?void 0:h.children;for(const g of p){const v=g.tagName.toLowerCase();if(!ys.has(v))continue;const S={tag:v,props:await Df(g.getAttributeNames().reduce((m,x)=>({...m,[x]:g.getAttribute(x)}),{})),innerHTML:g.innerHTML},w=$f(S);let y=w,_=1;for(;y&&f.has(y);)y=`${w}:${_++}`;y&&(S._d=y,f.add(y)),i.elMap[g.getAttribute("data-hid")||Si(S)]=g}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function a(f,c,p){const g=`${f}:${c}`;i.sideEffects[g]=p,delete i.pendingSideEffects[g]}function l({id:f,$el:c,tag:p}){const g=p.tag.endsWith("Attrs");if(i.elMap[f]=c,g||(p.textContent&&p.textContent!==c.textContent&&(c.textContent=p.textContent),p.innerHTML&&p.innerHTML!==c.innerHTML&&(c.innerHTML=p.innerHTML),a(f,"el",()=>{var v;(v=i.elMap[f])==null||v.remove(),delete i.elMap[f]})),p._eventHandlers)for(const v in p._eventHandlers)Object.prototype.hasOwnProperty.call(p._eventHandlers,v)&&c.getAttribute(`data-${v}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:c).addEventListener(v.substring(2),p._eventHandlers[v].bind(c)),c.setAttribute(`data-${v}`,""));for(const v in p.props){if(!Object.prototype.hasOwnProperty.call(p.props,v))continue;const S=p.props[v],w=`attr:${v}`;if(v==="class"){if(!S)continue;for(const y of S.split(" "))g&&a(f,`${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(f,`${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(f,w,()=>c.removeAttribute(v))}}const d=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of r){const{tag:c,shouldRender:p,id:g}=f;if(p){if(c.tag==="title"){n.title=c.textContent;continue}f.$el=f.$el||i.elMap[g],f.$el?l(f):ys.has(c.tag)&&d.push(f)}}for(const f of d){const c=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),u[c]=u[c]||n.createDocumentFragment(),u[c].appendChild(f.$el)}for(const f of r)await e.hooks.callHook("dom:renderTag",f,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const f in i.pendingSideEffects)i.pendingSideEffects[f]();e._dom=i,await e.hooks.callHook("dom:rendered",{renders:r}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Ov(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(s=>n(()=>Hf(e,t).then(()=>{delete e._domDebouncedUpdatePromise,s()})))}function Mv(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=>{Ov(r,e)}}}}}const Nv=new Set(["templateParams","htmlAttrs","bodyAttrs"]),Dv={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=$f(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const o=(s.key?`${s.tag}:${s.key}`:s._d)||Si(s),r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&Nv.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($s(s)>$s(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))}}},Fv=new Set(["script","link","bodyAttrs"]),$v=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Fv.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&&yl.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||Fs(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);yl.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.substring(2))))}}}}),Hv=new Set(["link","style","script","noscript"]),Uv={hooks:{"tag:normalise":({tag:e})=>{e.key&&Hv.has(e.tag)&&(e.props["data-hid"]=e._h=Fs(e.key))}}},Bv={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"}})}}},Vv={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of Rv){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=$s(n),r=$s(s);return o<r?-1:o>r?1:n._p-s._p})}}},jv={meta:"content",link:"href",htmlAttrs:"lang"},Wv=["innerHTML","textContent"],Kv=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=jv[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 d of Wv)typeof a[d]=="string"&&(a[d]=fs(a[d],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))}}}),Gv={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=Sl(s.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const o=Sl(s.textContent);o!==null&&(s.textContent=o,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},Yv={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Uf;function Xv(e={}){const t=qv(e);return t.use(Mv()),Uf=t}function wl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function qv(e={}){const t=bf();t.addHooks(e.hooks||{}),e.document=e.document||(bv?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(l){const d=typeof l=="function"?l(a):l;(!d.key||!i.some(u=>u.key===d.key))&&(i.push(d),wl(d.mode,n)&&t.addHooks(d.hooks||{}))},push(l,d){d==null||delete d.head;const u={_i:o++,input:l,...d};return wl(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(h=>h._i!==u._i),s()},patch(h){for(const f of r)f._i===u._i&&(f.input=u.input=h);s()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const d of l.entries){const u=d.resolvedInput||d.input;if(d.resolvedInput=await(d.transform?d.transform(u):u),d.resolvedInput)for(const h of await Lv(d)){const f={tag:h,entry:d,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",f),l.tags.push(f.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[Dv,Bv,$v,Uv,Vv,Kv,Gv,Yv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Jv(){return Uf}const Qv=uf[0]==="3";function zv(e){return typeof e=="function"?e():te(e)}function Hs(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=zv(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Hs(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]=Hs(t[s])}return n}return t}const Zv={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Hs(t.input)}}},Bf="usehead";function ey(e){return{install(n){Qv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Bf,e))}}.install}function ty(e={}){e.domDelayFn=e.domDelayFn||(n=>Sn(()=>setTimeout(()=>n(),0)));const t=Xv(e);return t.use(Zv),t.install=ey(t),t}const Ei=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},bi="__unhead_injection_handler__";function ny(e){Ei[bi]=e}function ry(){return bi in Ei?Ei[bi]():rt(Bf)||Jv()}function El(e,t={}){const n=t.head||ry();if(n)return n.ssr?n.push(e,t):sy(n,e,t)}function sy(e,t,n={}){const s=Ce(!1),o=Ce({});Dp(()=>{o.value=s.value?{}:Hs(t)});const r=e.push(o.value,n);return pt(o,a=>{r.patch(a)}),Un()&&(Xr(()=>{r.dispose()}),Ru(()=>{s.value=!0}),Lu(()=>{s.value=!1})),r}const oy="modulepreload",iy=function(e,t){return new URL(e,t).href},bl={},$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(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const a=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),d=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));o=i(n.map(u=>{if(u=iy(u,s),u in bl)return;bl[u]=!0;const h=u.endsWith(".css"),f=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}"]${f}`))return;const p=document.createElement("link");if(p.rel=h?"stylesheet":oy,h||(p.as="script"),p.crossOrigin="",p.href=u,d&&p.setAttribute("nonce",d),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 ay(){return _s=$fetch(ia(`builds/meta/${gt().app.buildId}.json`),{responseType:"json"}),_s.then(e=>{xs=nv(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),_s}function lo(){return _s||ay()}async function aa(e){const t=typeof e=="string"?e:e.path;if(await lo(),!xs)return console.error("[nuxt] Error creating app manifest matcher.",xs),{};try{return Rf({},...xs.matchAll(t).reverse())}catch(n){return console.error("[nuxt] Error matching route rules.",n),{}}}async function Cl(e,t={}){const n=await cy(e,t),s=ge(),o=s._payloadCache=s._payloadCache||{};return n in o?o[n]||null:(o[n]=jf(e).then(r=>r?Vf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null)),o[n])}const ly="_payload.json";async function cy(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 jf(e)?r:s.app.baseURL;return Bn(i,n.pathname,ly+(o?`?${o}`:""))}async function Vf(e){const t=fetch(e).then(n=>n.text().then(Wf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function jf(e=oo().path){const t=ge();return e=Jr(e),(await lo()).prerendered.includes(e)?!0:t.runWithContext(async()=>{const s=await aa({path:e});return!!s.prerender&&!s.redirect})}let kn=null;async function uy(){var s;if(kn)return kn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Wf(e.textContent||""),n=e.dataset.src?await Vf(e.dataset.src):void 0;return kn={...t,...n,...window.__NUXT__},(s=kn.config)!=null&&s.public&&(kn.config.public=xn(kn.config.public)),kn}async function Wf(e){return await _v(e,ge()._payloadRevivers)}function fy(e,t){ge()._payloadRevivers[e]=t}const dy=[["NuxtError",e=>ao(e)],["EmptyShallowRef",e=>rr(e==="_"?void 0:e==="0n"?BigInt(0):Fr(e))],["EmptyRef",e=>Ce(e==="_"?void 0:e==="0n"?BigInt(0):Fr(e))],["ShallowRef",e=>rr(e)],["ShallowReactive",e=>zt(e)],["Ref",e=>Ce(e)],["Reactive",e=>xn(e)]],hy=Dt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[s,o]of dy)fy(s,o);Object.assign(e.payload,([t,n]=kt(()=>e.runWithContext(uy)),t=await t,n(),t)),window.__NUXT__=e.payload}}),py=[],gy=Dt({name:"nuxt:head",enforce:"pre",setup(e){const t=ty({plugins:py});ny(()=>ge().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await Hf(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}});/*!
|
||
* vue-router v4.5.1
|
||
* (c) 2025 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Xn=typeof document<"u";function Kf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function my(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Kf(e.default)}const we=Object.assign;function Ho(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 Tr=()=>{},Mt=Array.isArray,Gf=/#/g,vy=/&/g,yy=/\//g,_y=/=/g,xy=/\?/g,Yf=/\+/g,Sy=/%5B/g,wy=/%5D/g,Xf=/%5E/g,Ey=/%60/g,qf=/%7B/g,by=/%7C/g,Jf=/%7D/g,Cy=/%20/g;function la(e){return encodeURI(""+e).replace(by,"|").replace(Sy,"[").replace(wy,"]")}function Py(e){return la(e).replace(qf,"{").replace(Jf,"}").replace(Xf,"^")}function Ci(e){return la(e).replace(Yf,"%2B").replace(Cy,"+").replace(Gf,"%23").replace(vy,"%26").replace(Ey,"`").replace(qf,"{").replace(Jf,"}").replace(Xf,"^")}function Ty(e){return Ci(e).replace(_y,"%3D")}function Ly(e){return la(e).replace(Gf,"%23").replace(xy,"%3F")}function Ry(e){return e==null?"":Ly(e).replace(yy,"%2F")}function Hr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ky=/\/$/,Ay=e=>e.replace(ky,"");function Uo(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=Ny(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Hr(i)}}function Iy(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Pl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Oy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&ir(t.matched[s],n.matched[o])&&Qf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ir(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Qf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!My(e[n],t[n]))return!1;return!0}function My(e,t){return Mt(e)?Tl(e,t):Mt(t)?Tl(t,e):e===t}function Tl(e,t){return Mt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ny(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 Lr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Lr||(Lr={}));function Dy(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),Ay(e)}const Fy=/^[^#]+#/;function $y(e,t){return e.replace(Fy,"#")+t}function Hy(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 co=()=>({left:window.scrollX,top:window.scrollY});function Uy(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=Hy(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 Ll(e,t){return(history.state?history.state.position-t:-1)+e}const Pi=new Map;function By(e,t){Pi.set(e,t)}function Vy(e){const t=Pi.get(e);return Pi.delete(e),t}let jy=()=>location.protocol+"//"+location.host;function zf(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),Pl(l,"")}return Pl(n,e)+s+o}function Wy(e,t,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const c=zf(e,location),p=n.value,g=t.value;let v=0;if(f){if(n.value=c,t.value=f,i&&i===p){i=null;return}v=g?f.position-g.position:0}else s(c);o.forEach(S=>{S(n.value,p,{delta:v,type:Ur.pop,direction:v?v>0?Lr.forward:Lr.back:Lr.unknown})})};function l(){i=n.value}function d(f){o.push(f);const c=()=>{const p=o.indexOf(f);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:f}=window;f.state&&f.replaceState(we({},f.state,{scroll:co()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:d,destroy:h}}function Rl(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?co():null}}function Ky(e){const{history:t,location:n}=window,s={value:zf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,d,u){const h=e.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:jy()+e+l;try{t[u?"replaceState":"pushState"](d,"",f),o.value=d}catch(c){console.error(c),n[u?"replace":"assign"](f)}}function i(l,d){const u=we({},t.state,Rl(o.value.back,l,o.value.forward,!0),d,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,d){const u=we({},o.value,t.state,{forward:l,scroll:co()});r(u.current,u,!0);const h=we({},Rl(s.value,l,null),{position:u.position+1},d);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function Gy(e){e=Dy(e);const t=Ky(e),n=Wy(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:$y.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 Yy(e){return typeof e=="string"||e&&typeof e=="object"}function Zf(e){return typeof e=="string"||typeof e=="symbol"}const ed=Symbol("");var kl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(kl||(kl={}));function ar(e,t){return we(new Error,{type:e,[ed]:!0},t)}function Kt(e,t){return e instanceof Error&&ed in e&&(t==null||!!(e.type&t))}const Al="[^/]+?",Xy={sensitive:!1,strict:!1,start:!0,end:!0},qy=/[.+*?^${}()[\]/\\]/g;function Jy(e,t){const n=we({},Xy,t),s=[];let o=n.start?"^":"";const r=[];for(const d of e){const u=d.length?[]:[90];n.strict&&!d.length&&(o+="/");for(let h=0;h<d.length;h++){const f=d[h];let c=40+(n.sensitive?.25:0);if(f.type===0)h||(o+="/"),o+=f.value.replace(qy,"\\$&"),c+=40;else if(f.type===1){const{value:p,repeatable:g,optional:v,regexp:S}=f;r.push({name:p,repeatable:g,optional:v});const w=S||Al;if(w!==Al){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&&d.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 d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(d){const u=d.match(i),h={};if(!u)return null;for(let f=1;f<u.length;f++){const c=u[f]||"",p=r[f-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(d){let u="",h=!1;for(const f of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of f)if(c.type===0)u+=c.value;else if(c.type===1){const{value:p,repeatable:g,optional:v}=c,S=p in d?d[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)f.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 Qy(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function td(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=Qy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Il(s))return 1;if(Il(o))return-1}return o.length-s.length}function Il(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const zy={type:0,value:""},Zy=/[a-zA-Z0-9_]/;function e0(e){if(!e)return[[]];if(e==="/")return[[zy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${d}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,d="",u="";function h(){d&&(n===0?r.push({type:0,value:d}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:d,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),d="")}function f(){d+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(d&&h(),i()):l===":"?(h(),n=1):f();break;case 4:f(),n=s;break;case 1:l==="("?n=2:Zy.test(l)?f():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),h(),i(),o}function t0(e,t,n){const s=Jy(e0(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 n0(e,t){const n=[],s=new Map;t=Dl({strict:!1,end:!0,sensitive:!1},t);function o(h){return s.get(h)}function r(h,f,c){const p=!c,g=Ml(h);g.aliasOf=c&&c.record;const v=Dl(t,h),S=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)S.push(Ml(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(f&&m[0]!=="/"){const x=f.record.path,E=x[x.length-1]==="/"?"":"/";_.path=f.record.path+(m&&E+m)}if(w=t0(_,f,v),c?c.alias.push(w):(y=y||w,y!==w&&y.alias.push(w),p&&h.name&&!Nl(w)&&i(h.name)),nd(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)}:Tr}function i(h){if(Zf(h)){const f=s.get(h);f&&(s.delete(h),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(h);f>-1&&(n.splice(f,1),h.record.name&&s.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const f=o0(h,n);n.splice(f,0,h),h.record.name&&!Nl(h)&&s.set(h.record.name,h)}function d(h,f){let c,p={},g,v;if("name"in h&&h.name){if(c=s.get(h.name),!c)throw ar(1,{location:h});v=c.record.name,p=we(Ol(f.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&Ol(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=f.name?s.get(f.name):n.find(y=>y.re.test(f.path)),!c)throw ar(1,{location:h,currentLocation:f});v=c.record.name,p=we({},f.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:s0(S)}}e.forEach(h=>r(h));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:d,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Ol(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Ml(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:r0(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 r0(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 Nl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function s0(e){return e.reduce((t,n)=>we(t,n.meta),{})}function Dl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function o0(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;td(e,t[r])<0?s=r:n=r+1}const o=i0(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function i0(e){let t=e;for(;t=t.parent;)if(nd(t)&&td(e,t)===0)return t}function nd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function a0(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(Yf," "),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 d=t[a];Mt(d)||(d=t[a]=[d]),d.push(l)}else t[a]=l}return t}function Fl(e){let t="";for(let n in e){const s=e[n];if(n=Ty(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Mt(s)?s.map(r=>r&&Ci(r)):[s&&Ci(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function l0(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 c0=Symbol(""),$l=Symbol(""),ca=Symbol(""),ua=Symbol(""),Ti=Symbol("");function mr(){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 pn(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const d=f=>{f===!1?l(ar(4,{from:n,to:t})):f instanceof Error?l(f):Yy(f)?l(ar(2,{from:t,to:f})):(i&&s.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},u=r(()=>e.call(s&&s.instances[o],t,n,d));let h=Promise.resolve(u);e.length<3&&(h=h.then(d)),h.catch(f=>l(f))})}function Bo(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(Kf(l)){const u=(l.__vccOpts||l)[t];u&&r.push(pn(u,n,s,i,a,o))}else{let d=l();r.push(()=>d.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const h=my(u)?u.default:u;i.mods[a]=u,i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&pn(c,n,s,i,a,o)()}))}}return r}function Hl(e){const t=rt(ca),n=rt(ua),s=me(()=>{const l=te(e.to);return t.resolve(l)}),o=me(()=>{const{matched:l}=s.value,{length:d}=l,u=l[d-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(ir.bind(null,u));if(f>-1)return f;const c=Ul(l[d-2]);return d>1&&Ul(u)===c&&h[h.length-1].path!==c?h.findIndex(ir.bind(null,l[d-2])):f}),r=me(()=>o.value>-1&&p0(n.params,s.value.params)),i=me(()=>o.value>-1&&o.value===n.matched.length-1&&Qf(n.params,s.value.params));function a(l={}){if(h0(l)){const d=t[te(e.replace)?"replace":"push"](te(e.to)).catch(Tr);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}function u0(e){return e.length===1?e[0]:e}const f0=et({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:Hl,setup(e,{slots:t}){const n=xn(Hl(e)),{options:s}=rt(ca),o=me(()=>({[Bl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Bl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&u0(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)}}}),d0=f0;function h0(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 p0(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 Ul(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bl=(e,t,n)=>e??t??n,g0=et({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=rt(Ti),o=me(()=>e.route||s.value),r=rt($l,0),i=me(()=>{let d=te(r);const{matched:u}=o.value;let h;for(;(h=u[d])&&!h.components;)d++;return d}),a=me(()=>o.value.matched[i.value]);yn($l,me(()=>i.value+1)),yn(c0,a),yn(Ti,o);const l=Ce();return pt(()=>[l.value,a.value,e.name],([d,u,h],[f,c,p])=>{u&&(u.instances[h]=d,c&&c!==u&&d&&d===f&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),d&&u&&(!c||!ir(u,c)||!f)&&(u.enterCallbacks[h]||[]).forEach(g=>g(d))},{flush:"post"}),()=>{const d=o.value,u=e.name,h=a.value,f=h&&h.components[u];if(!f)return Vl(n.default,{Component:f,route:d});const c=h.props[u],p=c?c===!0?d.params:typeof c=="function"?c(d):c:null,v=Xe(f,we({},p,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Vl(n.default,{Component:v,route:d})||v}}});function Vl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rd=g0;function m0(e){const t=n0(e.routes,e),n=e.parseQuery||a0,s=e.stringifyQuery||Fl,o=e.history,r=mr(),i=mr(),a=mr(),l=rr(Tt);let d=Tt;Xn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ho.bind(null,V=>""+V),h=Ho.bind(null,Ry),f=Ho.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=Uo(n,V,J.path),D=t.resolve({path:I.path},J),K=o.createHref(I.fullPath);return we(I,D,{params:f(D.params),hash:Hr(I.hash),redirectedFrom:void 0,href:K})}let z;if(V.path!=null)z=we({},V,{path:Uo(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(f(ee.params));const xe=Iy(s,we({},V,{hash:Py(he),path:ee.path})),A=o.createHref(xe);return we({fullPath:xe,hash:he,query:s===Fl?l0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function w(V){return typeof V=="string"?Uo(n,V,l.value.path):we({},V)}function y(V,J){if(d!==V)return ar(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=d=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 K;return!xe&&Oy(s,ee,z)&&(K=ar(16,{to:D,from:ee}),ue(ee,ee,!0,!1)),(K?Promise.resolve(K):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]=v0(V,J);z=Bo(ee.reverse(),"beforeRouteLeave",V,J);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(pn(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(pn(I,V,J));return z.push(A),de(z)}).then(()=>{z=Bo(he,"beforeRouteUpdate",V,J);for(const I of he)I.updateGuards.forEach(D=>{z.push(pn(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(pn(D,V,J));else z.push(pn(I.beforeEnter,V,J));return z.push(A),de(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Bo(xe,"beforeRouteEnter",V,J,P),z.push(A),de(z))).then(()=>{z=[];for(const I of i.list())z.push(pn(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(Tr);return}d=ee;const xe=l.value;Xn&&By(Ll(xe.fullPath,z.delta),co()),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(Tr),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(Tr)}))}let F=mr(),U=mr(),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 ne(){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&&Vy(Ll(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return Sn().then(()=>he(V,J,xe)).then(A=>A&&Uy(A)).catch(A=>Y(A,V,J))}const re=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:re,back:()=>re(-1),forward:()=>re(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:U.add,isReady:ne,install(V){const J=this;V.component("RouterLink",d0),V.component("RouterView",rd),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(ca,J),V.provide(ua,zt(z)),V.provide(Ti,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(d=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 v0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(d=>ir(d,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(d=>ir(d,l))||o.push(l))}return[n,s,o]}function y0(e){return rt(ua)}const _0=/(:\w+)\([^)]+\)/g,x0=/(:\w+)[?+*]/g,S0=/:\w+/g,w0=(e,t)=>t.path.replace(_0,"$1").replace(x0,"$1").replace(S0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),Li=(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&&w0(e.route,n));return typeof s=="function"?s(e.route):s},E0=(e,t)=>({default:()=>e?Xe(cp,e===!0?{}:e,t):t});function fa(e){return Array.isArray(e)?e:[e]}const Vo=[{name:"about___en___default",path:"/about",component:()=>$e(()=>import("./Cg74otzs.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___en",path:"/en/about",component:()=>$e(()=>import("./Cg74otzs.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"about___it",path:"/it/about",component:()=>$e(()=>import("./Cg74otzs.js"),__vite__mapDeps([0,1,2,3]),import.meta.url)},{name:"contacts___en___default",path:"/contacts",component:()=>$e(()=>import("./BO_Hg2A_.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___en",path:"/en/contacts",component:()=>$e(()=>import("./BO_Hg2A_.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"contacts___it",path:"/it/contacts",component:()=>$e(()=>import("./BO_Hg2A_.js"),__vite__mapDeps([4,1,2]),import.meta.url)},{name:"index___en___default",path:"/",component:()=>$e(()=>import("./3cjuBtQ4.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___en",path:"/en",component:()=>$e(()=>import("./3cjuBtQ4.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"index___it",path:"/it",component:()=>$e(()=>import("./3cjuBtQ4.js"),__vite__mapDeps([5,1,2]),import.meta.url)},{name:"projects___en___default",path:"/projects",component:()=>$e(()=>import("./Do9VVcYx.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___en",path:"/en/projects",component:()=>$e(()=>import("./Do9VVcYx.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"projects___it",path:"/it/projects",component:()=>$e(()=>import("./Do9VVcYx.js"),__vite__mapDeps([6,1]),import.meta.url)},{name:"resume___en___default",path:"/resume",component:()=>$e(()=>import("./B5d-pyRI.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___en",path:"/en/resume",component:()=>$e(()=>import("./B5d-pyRI.js"),__vite__mapDeps([7,1,8]),import.meta.url)},{name:"resume___it",path:"/it/resume",component:()=>$e(()=>import("./B5d-pyRI.js"),__vite__mapDeps([7,1,8]),import.meta.url)}],sd=(e,t)=>({default:()=>{var n;return e?Xe(fg,e===!0?{}:e,t):(n=t.default)==null?void 0:n.call(t)}}),b0=/(:\w+)\([^)]+\)/g,C0=/(:\w+)[?+*]/g,P0=/:\w+/g;function jl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(b0,"$1").replace(C0,"$1").replace(P0,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function T0(e,t){return e===t||t===Tt?!1:jl(e)!==jl(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 L0={scrollBehavior(e,t,n){var d;const s=ge(),o=((d=Ze().options)==null?void 0:d.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&T0(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:Wl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??gi),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:Wl(e.hash),behavior:o}),u(r)})})}};function Wl(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 R0={hashMode:!1,scrollBehaviorType:"auto"},_t={...R0,...L0},k0=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=ao({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(d=>{if(a(),d===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Jn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},A0=async e=>{let t,n;const s=([t,n]=kt(()=>aa({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},I0=[k0,A0],Rr={};function O0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const d=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(d);return u[0]!=="/"&&(u="/"+u),cl(u,"")}const a=cl(s,e),l=!n||fi(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const M0=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))??Gy(s),r=_t.routes?([t,n]=kt(()=>_t.routes(Vo)),t=await t,n(),t??Vo):Vo;let i;const a=m0({..._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=rr(a.currentRoute.value);a.afterEach((S,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const d=O0(s,window.location,e.payload.path),u=rr(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 f={};for(const S in u.value)Object.defineProperty(f,S,{get:()=>u.value[S],enumerable:!0});e._route=zt(f),e._middleware=e._middleware||{global:[],named:{}};const c=io();a.afterEach(async(S,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(cv),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=d!==a.currentRoute.value.fullPath?a.resolve(d):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&&!nn(S.meta.layout)&&(S.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...I0,...e._middleware.global]);for(const m of S.matched){const x=m.meta.middleware;if(x)for(const E of fa(x))_.add(E)}{const m=await e.runWithContext(()=>aa({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=Rr[m])==null?void 0:y.call(Rr).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||yi({statusCode:404,statusMessage:`Page Not Found: ${d}`});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(yi({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}}}}),Ri=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),N0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),uo=e=>{const t=ge();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ri(()=>e())}):Ri(()=>e())},D0=Dt({name:"nuxt:payload",setup(e){Ze().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Cl(t.path);s&&Object.assign(e.static.data,s.data)}),uo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Cl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(lo,1e3)})}}),F0=Dt(()=>{const e=Ze();uo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),$0=Dt(e=>{let t;async function n(){const s=await lo();t&&clearTimeout(t),t=setTimeout(n,hl);try{const o=await $fetch(ia("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}uo(()=>{t=setTimeout(n,hl)})});function H0(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 U0=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);H0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),B0=Dt({name:"nuxt:global-components"}),gn={},V0=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 gn[s]=="function"&&await gn[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=fa(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Rr[i]=="function"&&Rr[i]();o&&typeof gn[o]=="function"&&gn[o]()})}});/*!
|
||
* shared v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function j0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Us=typeof window<"u",En=(e,t=!1)=>t?Symbol.for(e):Symbol(e),W0=(e,t,n)=>K0({l:e,k:t,s:n}),K0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),G0=e=>id(e)==="[object Date]",Bs=e=>id(e)==="[object RegExp]",fo=e=>pe(e)&&Object.keys(e).length===0,Ue=Object.assign,Y0=Object.create,Te=(e=null)=>Y0(e);let Kl;const da=()=>Kl||(Kl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Te());function Gl(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function Yl(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function X0(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,o,r)=>`${o}="${Yl(r)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,o,r)=>`${o}='${Yl(r)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(s=>{e=e.replace(s,"$1javascript:")}),e}const q0=Object.prototype.hasOwnProperty;function At(e,t){return q0.call(e,t)}const He=Array.isArray,be=e=>typeof e=="function",Z=e=>typeof e=="string",Me=e=>typeof e=="boolean",J0=e=>typeof e=="symbol",ce=e=>e!==null&&typeof e=="object",Q0=e=>ce(e)&&be(e.then)&&be(e.catch),od=Object.prototype.toString,id=e=>od.call(e),pe=e=>{if(!ce(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},z0=e=>e==null?"":He(e)||pe(e)&&e.toString===od?JSON.stringify(e,null,2):String(e);function ha(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function ho(e){let t=e;return()=>++t}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 lr=["en","it"],Vs={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("./C6rqLPrI.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("./DM8_oz-q.js"),[],import.meta.url),cache:!0}]},Z0=[],po=[{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"}]}],ad="@nuxtjs/i18n",e_=!1,t_="nuxtI18n",n_="i18n_redirected",Xl="nuxt-i18n-slp",r_=typeof window<"u";function s_(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function o_(e){return e!=null&&"global"in e&&"mode"in e}function i_(e){return e!=null&&!("__composer"in e)&&"locale"in e&&De(e.locale)}function ld(e){return e!=null&&"__composer"in e}function bn(e){return o_(e)?e.global:e}function cr(e){const t=bn(e);return i_(t)?t:ld(t)?t.__composer:t}function go(e){return te(bn(e).locale)}function a_(e){return te(bn(e).locales)}function l_(e){return te(bn(e).localeCodes)}function cd(e,t){const n=bn(e);De(n.locale)?n.locale.value=t:n.locale=t}function ud(e){return Z(e)?e:J0(e)?e.toString():"(null)"}function ql(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=s!=="no_prefix"||i;let l=ud(e)+(a?o+t:"");return t===n&&s==="prefix_and_default"&&(l+=o+r),l}function Jl(e,t){return be(e)?e(t):e}function c_(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 u_=c_;function f_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const d_=f_;function h_(e,t,{matcher:n=u_,comparer:s=d_}={}){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 pa(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const kr=new Map;async function p_(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 fd(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 g_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const d=fd(i,[s,o]);await Promise.all(d.map(u=>Ql(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(d=>Ql(d,t,e))),e}async function m_(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&&kr&&kr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function js(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;kr&&kr.has(r.key)&&r.cache?i=kr.get(r.key):i=await m_(e,r),i!=null&&Fn(i,o)}n(e,o)}async function Ql(e,t,n){await js(e,t,(o,r)=>{const i=n[o]||{};Fn(r,i),n[o]=i})}function v_(e,t){return[e.slice(0,t),e.slice(t)]}function y_(e){const{fullPath:t,query:n,hash:s,name:o,path:r,params:i,meta:a,redirectedFrom:l,matched:d}=e;return{fullPath:t,params:i,query:n,hash:s,name:o,path:r,meta:a,matched:d,redirectedFrom:l}}function __({router:e},t,n,s){var d,u;if(n!=="prefix")return e.resolve(t);const[o,r]=v_(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,a=(u=(d=e.options)==null?void 0:d.routes)==null?void 0:u.find(h=>h.path===i);if(a==null)return t;const l=Ue({},t,a);return l.path=i,e.resolve(l)}const x_=new Set(["prefix_and_default","prefix_except_default"]);function S_(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&x_.has(s))&&s!=="no_prefix"}const w_=S_;function ur(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=te(t);return s==null||!s.name?void 0:ud(s.name).split(n)[0]}function mo(e,t,n){var o;if(typeof t=="string"&&Ct(t,{acceptRelative:!0}))return t;const s=vo(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function ga(e,t,n){return vo(e,t,n)??void 0}function E_(e,t,n){return vo(e,t,n)??void 0}function vo(e,t,n){const{router:s,i18n:o}=e,r=n||go(o),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,d=H_(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=di(t),v=oa(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=__(e,h,a,r),p=ur(e,c);Z(p)?(h={name:ql(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},h.state=c.state):(d({currentLocale:r,defaultLocale:i,strategy:a})&&(h.path=`/${r}${h.path}`),h.path=l?$r(h.path,!0):Jr(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=ur(e,s.currentRoute.value)),h.name=ql(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 b_=e=>e;function C_(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[t_])||{}}function fr(e,t,n){const s=n??e.router.currentRoute.value,o=ur(e,s);if(!o)return"";const r=U_(e.runtimeConfig),i=y_(s),a=C_(e,s)[t],l={...i,name:o,params:{...i.params,...a}},d=mo(e,l,t);return r(d,t)}function dd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=gt().public.i18n,r=cr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=go(e.i18n),l=a_(e.i18n),d=s_(l).find(f=>f.code===a)||{},u=d.language,h=d.dir||o;return t&&(i.htmlAttrs.dir=h),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...P_(e,te(l),s),...T_(e,s,n)),i.meta.push(...L_(e,s,n),...R_(d,u,s),...k_(te(l),u,s))),i}function ma(){const e=ge(),t=cr(e.$i18n);return Bn(te(t.baseUrl),e.$config.app.baseURL)}function P_(e,t,n){const s=ma(),{defaultLocale:o,strategy:r}=gt().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const d=l.language;if(!d){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,h]=d.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(d,l)}for(const[l,d]of a.entries()){const u=fr(e,d.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:ki(u,s),hreflang:l})}if(o){const l=fr(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:ki(l,s),hreflang:"x-default"})}return i}function hd(e,t,n){const s=e.router.currentRoute.value,o=ga(e,{...s,path:void 0,name:ur(e,s)});if(!o)return"";let r=ki(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(f=>l.append(u,f||"")):l.append(u,h||"")}const d=l.toString();return d&&(r=`${r}?${d}`),r}function T_(e,t,n){const s=ma(),o=hd(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function L_(e,t,n){const s=ma(),o=hd(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function R_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:pd(t)}]}function k_(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:pd(o.language)}))}function pd(e){return(e||"").replace(/-/g,"_")}function ki(e,t){return e.match(/^https?:\/\//)?e:Bn(t,e)}function gd(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=gt().public.i18n,n=`(${lr.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=pa(lr);return a=>{if(ce(a)){if(a.name){const d=(Z(a.name)?a.name:a.name.toString()).match(o);if(d&&d.length>1)return d[1]}else if(a.path){const l=a.path.match(r);if(l&&l.length>1)return l[1]}}else if(Z(a)){const l=a.match(r);if(l&&l.length>1)return l[1]}return""}}const A_="$s";function md(...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=A_+n,r=ge(),i=mu(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 I_(e,t){return zr(e,"setLocale",t)}function O_(e,t){return zr(e,"setLocaleCookie",t)}function vd(e,t,n){return zr(e,"mergeLocaleMessage",t,n)}async function M_(e,t,n,s,o){return zr(e,"onBeforeLanguageSwitch",t,n,s,o)}function N_(e,t,n){return zr(e,"onLanguageSwitched",t,n)}function va(e){return{i18n:e??ge().$i18n,router:Ze(),runtimeConfig:gt(),metaState:md("nuxt-i18n-meta",()=>({}))}}async function zl(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=Zr(n),l=ge(),d=go(t),u=l_(t);function h(c=d){a===!1||!a.useCookie||r||O_(t,c)}if(!e||!s&&o||d===e)return h(),!1;const f=await M_(t,d,e,s,l);if(f&&u.includes(f)){if(d===f)return h(),!1;e=f}if(i){const c=J_(t,"fallbackLocale"),p=(g,v)=>vd(t,g,v);if(c){const g=fd(c,[e]);await Promise.all(g.map(v=>js(v,Vs,p)))}await js(e,Vs,p)}return r?!1:(h(e),cd(t,e),await N_(t,d,e),!0)}function yd(e){return{log:console.log.bind(console,`${e}:`)}}function Zl(e,t,n,s,o){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=o,{localeCookie:d}=s,u=Zr(o);yd("detectLocale");const h=be(n)?n():n,f=bd(e,s,h);if(f.reason===Ed.SSG_IGNORE)return h;if(f.locale&&f.from!=null)return f.locale;let c="";a||l?c||(c=ex(po,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&d;return c||(c=p||h||i||""),c}function ec({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=ge(),r=va(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:d}=e.to;if(!a&&(s||i!=="no_prefix")&&n(e.to)!==t){const u=o.$switchLocalePath(t)||o.$localePath(d,t);Z(u)&&u&&!fi(u,d)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if(n(e.to)!==t){const u=fr(r,t,e.to);Z(u)&&u&&!fi(u,d)&&!u.startsWith("//")&&(l=u)}return l}function D_(e){return ce(e)&&"path"in e&&"statusCode"in e}const F_=()=>md(ad+":redirect",()=>"");function Kn(e,t){return If(e,{})}async function tc(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:d,skipSettingLocaleOnNavigate:u,configLocales:h,strategy:f}=s.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:D_(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(d&&f==="prefix_except_default"){const p=yo(),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=gd()(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=F_();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Kn(c)}}function $_(e,t){Gn(e,"$i18n",bn(t)),Gn(e,"$getRouteBaseName",dt(ur)),Gn(e,"$localePath",dt(mo)),Gn(e,"$localeRoute",dt(ga)),Gn(e,"$switchLocalePath",dt(fr)),Gn(e,"$localeHead",dt(dd))}function H_(e=gt()){return t=>w_(t)&&!e.public.i18n.differentDomains}function U_(e=gt()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=Cd(n);return s?Bn(s,t):t}else return b_(t)}}function B_(){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=Cd(o);if(r)return r}return t}}const nc=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 rc(e,t){t?t={...nc,...t}:t=nc;const n=_d(t);return n.dispatch(e),n.toString()}const V_=Object.freeze(["prototype","__proto__","constructor"]);function _d(e){let t="",n=new Map;const s=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const r=Object.prototype.toString.call(o);let i="";const a=r.length;a<10?i="unknown:["+r+"]":i=r.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return s("buffer:"),s(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let d=Object.keys(o);e.unorderedObjects&&(d=d.sort());let u=[];e.respectType!==!1&&!sc(o)&&(u=V_),e.excludeKeys&&(d=d.filter(f=>!e.excludeKeys(f)),u=u.filter(f=>!e.excludeKeys(f))),s("object:"+(d.length+u.length)+":");const h=f=>{this.dispatch(f),s(":"),e.excludeValues||this.dispatch(o[f]),s(",")};for(const f of d)h(f);for(const f of u)h(f)}},array(o,r){if(r=r===void 0?e.unorderedArrays!==!1:r,s("array:"+o.length+":"),!r||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const d=_d(e);d.dispatch(l);for(const[u,h]of d.getContext())i.set(u,h);return d.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return s("date:"+o.toJSON())},symbol(o){return s("symbol:"+o.toString())},unkown(o,r){if(s(r),!!o&&(s(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return s("error:"+o.toString())},boolean(o){return s("bool:"+o)},string(o){s("string:"+o.length+":"),s(o)},function(o){s("fn:"),sc(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 xd="[native code] }",j_=xd.length;function sc(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-j_)===xd}function W_(e,t,n={}){return e===t||rc(e,n)===rc(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 K_={path:"/",watch:!0,decode:e=>Fr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},hs=window.cookieStore;function G_(e,t){var l;const n={...K_,...t};n.filter??(n.filter=d=>d===e);const s=oc(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?q_(i,o,n.watch&&n.watch!=="shallow"):Ce(i);{let d=null;try{!hs&&typeof BroadcastChannel<"u"&&(d=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||W_(a.value,s[e])||(X_(e,a.value,n),s[e]=Lt(a.value),d==null||d.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=oc(n))==null?void 0:v[e]:n.decode(p.value);f=!0,a.value=g,s[e]=Lt(g),Sn(()=>{f=!1})};let f=!1;const c=!!Js();if(c&&Xo(()=>{f=!0,u(),d==null||d.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&&Xo(()=>hs.removeEventListener("change",p))}else d&&(d.onmessage=({data:p})=>h(p));n.watch?pt(a,()=>{f||u()},{deep:n.watch!=="shallow"}):u()}return a}function oc(e={}){return Qm(document.cookie,e)}function Y_(e,t,n={}){return t==null?gl(e,t,{...n,maxAge:-1}):gl(e,t,n)}function X_(e,t,n={}){document.cookie=Y_(e,t,n)}const ic=2147483647;function q_(e,t,n){let s,o,r=0;const i=n?Ce(e):{value:e};return Js()&&Xo(()=>{o==null||o(),clearTimeout(s)}),Wh((a,l)=>{n&&(o=pt(i,l));function d(){r=0,clearTimeout(s);const u=t-r,h=u<ic?u:ic;s=setTimeout(()=>{if(r+=h,r<t)return d();i.value=void 0,l()},h)}return{get(){return a(),i.value},set(u){d(),i.value=u,l()}}})}function Sd(e){return ad+" "+e}function zr(e,t,...n){const s=bn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function J_(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=va()){return(...n)=>e(t,...n)}function wd(){let e;return navigator.languages&&(e=h_(po,navigator.languages)),e}function Q_(){const e=Zr(),t=e&&e.cookieKey||n_,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),G_(t,s)}function jo(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(lr.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function z_(e,t,n){n===!1||!n.useCookie||(e.value=t)}var Ed=(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))(Ed||{});const Z_={locale:""};function bd(e,t,n=""){yd("detectBrowserLanguage");const s=Zr();if(!s)return Z_;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:d,alwaysRedirect:u,useCookie:h,fallbackLocale:f}=s,c=Z(e)?e:e.path;if(o!=="no_prefix"){if(d==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(d==="no prefix"&&!u&&c.match(pa(lr)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=wd();g||(p="navigator_or_header");const S=g||v,w=S||f||"";return!S&&f&&(p="fallback"),{locale:w,from:p}}function yo(){let e;return e=window.location.host,e}function ex(e,t,n){let s=yo()||"";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(Sd("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(pa(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 Cd(e){var i,a,l,d,u,h;const t=gt();ge();const n=yo(),s=t.public.i18n,o=po.find(f=>f.code===e),r=((a=(i=s==null?void 0:s.locales)==null?void 0:i[e])==null?void 0:a.domain)||(o==null?void 0:o.domain)||((u=(d=(l=s==null?void 0:s.locales)==null?void 0:l[e])==null?void 0:d.domains)==null?void 0:u.find(f=>f===n))||((h=o==null?void 0:o.domains)==null?void 0:h.find(f=>f===n));if(r){if(Ct(r,{strict:!0}))return r;let f;return f=new URL(window.location.origin).protocol,f+"//"+r}console.warn(Sd("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.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function tx(e,t,n){return{line:e,column:t,offset:n}}function Ws(e,t,n){return{start:e,end:t}}const Pd={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function nx(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 _o(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 rx(e){throw e}const Gt=" ",sx="\r",it=`
|
||
`,ox="\u2028",ix="\u2029";function ax(e){const t=e;let n=0,s=1,o=1,r=0;const i=E=>t[E]===sx&&t[E+1]===it,a=E=>t[E]===it,l=E=>t[E]===ix,d=E=>t[E]===ox,u=E=>i(E)||a(E)||l(E)||d(E),h=()=>n,f=()=>s,c=()=>o,p=()=>r,g=E=>i(E)||l(E)||d(E)?it: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:f,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:S,next:w,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const cn=void 0,lx=".",ac="'",cx="tokenizer";function ux(e,t={}){const n=t.location!==!1,s=ax(e),o=()=>s.index(),r=()=>tx(s.line(),s.column(),s.index()),i=r(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},d=()=>l,{onError:u}=t;function h(R,k,M,...W){const q=d();if(k.column+=M,k.offset+=M,u){const G=n?Ws(q.startLoc,k):null,N=_o(R,G,{domain:cx,args:W});u(N)}}function f(R,k,M){R.endLoc=r(),R.currentType=k;const W={type:k};return n&&(W.loc=Ws(R.startLoc,R.endLoc)),M!=null&&(W.value=M),W}const c=R=>f(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()===it;)k+=R.currentPeek(),R.peek();return k}function v(R){const k=g(R);return R.skipToPeek(),k}function S(R){if(R===cn)return!1;const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function w(R){if(R===cn)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 W=S(R.currentPeek());return R.resetPeek(),W}function _(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const W=R.currentPeek()==="-"?R.peek():R.currentPeek(),q=w(W);return R.resetPeek(),q}function m(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const W=R.currentPeek()===ac;return R.resetPeek(),W}function x(R,k){const{currentType:M}=k;if(M!==8)return!1;g(R);const W=R.currentPeek()===".";return R.resetPeek(),W}function E(R,k){const{currentType:M}=k;if(M!==9)return!1;g(R);const W=S(R.currentPeek());return R.resetPeek(),W}function b(R,k){const{currentType:M}=k;if(!(M===8||M===12))return!1;g(R);const W=R.currentPeek()===":";return R.resetPeek(),W}function P(R,k){const{currentType:M}=k;if(M!==10)return!1;const W=()=>{const G=R.currentPeek();return G==="{"?S(R.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Gt||!G?!1:G===it?(R.peek(),W()):C(R,!1)},q=W();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===it):H===Gt?(R.peek(),M(!0,Gt,N)):H===it?(R.peek(),M(!0,it,N)):!0},W=M();return k&&R.resetPeek(),W}function O(R,k){const M=R.currentChar();return M===cn?cn: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 ne(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 re(R){let k="",M="";for(;k=ne(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===it)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()===cn&&h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),M}function de(R){v(R);let k="";return R.currentChar()==="-"?(R.next(),k+=`-${re(R)}`):k+=re(R),R.currentChar()===cn&&h(Se.UNTERMINATED_CLOSING_BRACE,r(),0),k}function V(R){return R!==ac&&R!==it}function J(R){v(R),p(R,"'");let k="",M="";for(;k=O(R,V);)k==="\\"?M+=z(R):M+=k;const W=R.currentChar();return W===it||W===cn?(h(Se.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),W===it&&(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 W="";for(let q=0;q<M;q++){const G=ue(R);if(!G){h(Se.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${k}${W}${R.currentChar()}`);break}W+=G}return`\\${k}${W}`}function he(R){return R!=="{"&&R!=="}"&&R!==Gt&&R!==it}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 W=R.currentChar();return W==="{"||W==="%"||W==="@"||W==="|"||W==="("||W===")"||!W||W===Gt?M:(M+=W,R.next(),k(M))};return k("")}function D(R){v(R);const k=p(R,"|");return v(R),k}function K(R,k){let M=null;switch(R.currentChar()){case"{":return k.braceNest>=1&&h(Se.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),M=f(k,2,"{"),v(R),k.braceNest++,M;case"}":return k.braceNest>0&&k.currentType===2&&h(Se.EMPTY_PLACEHOLDER,r(),0),R.next(),M=f(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=f(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=f(k,5,Be(R)),v(R),M;if(G=_(R,k))return M=f(k,6,de(R)),v(R),M;if(N=m(R,k))return M=f(k,7,J(R)),v(R),M;if(!q&&!G&&!N)return M=f(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 W=null;const q=R.currentChar();switch((M===8||M===9||M===12||M===10)&&(q===it||q===Gt)&&h(Se.INVALID_LINKED_FORMAT,r(),0),q){case"@":return R.next(),W=f(k,8,"@"),k.inLinked=!0,W;case".":return v(R),R.next(),f(k,9,".");case":":return v(R),R.next(),f(k,10,":");default:return L(R)?(W=f(k,1,D(R)),k.braceNest=0,k.inLinked=!1,W):x(R,k)||b(R,k)?(v(R),B(R,k)):E(R,k)?(v(R),f(k,12,A(R))):P(R,k)?(v(R),q==="{"?K(R,k)||W:f(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 K(R,k)||c(k);if(k.inLinked)return B(R,k)||c(k);switch(R.currentChar()){case"{":return K(R,k)||c(k);case"}":return h(Se.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),f(k,3,"}");case"@":return B(R,k)||c(k);default:{if(L(R))return M=f(k,1,D(R)),k.braceNest=0,k.inLinked=!1,M;const{isModulo:q,hasSpace:G}=T(R);if(q)return G?f(k,0,_e(R)):f(k,4,Pe(R));if(C(R))return f(k,0,_e(R));break}}return M}function Q(){const{currentType:R,offset:k,startLoc:M,endLoc:W}=l;return l.lastType=R,l.lastOffset=k,l.lastStartLoc=M,l.lastEndLoc=W,l.offset=o(),l.startLoc=r(),s.currentChar()===cn?f(l,14):X(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:d}}const fx="parser",dx=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function hx(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 px(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?Ws(m,b):null,L=_o(_,P,{domain:fx,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?Ws(m,b):null;s(nx(_,P,E))}}function i(y,_,m){const x={type:y};return t&&(x.start=_,x.end=_,x.loc={start:m,end:m}),x}function a(y,_,m,x){t&&(y.end=_,y.loc&&(y.loc.end=m))}function l(y,_){const m=y.context(),x=i(3,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function d(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:E}=m,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(dx,hx),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function f(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=f(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=d(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(d(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,Pd.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 _=ux(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 gx(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function lc(e,t){for(let n=0;n<e.length;n++)ya(e[n],t)}function ya(e,t){switch(e.type){case 1:lc(e.cases,t),t.helper("plural");break;case 2:lc(e.items,t);break;case 6:{ya(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 mx(e,t={}){const n=gx(e);n.helper("normalize"),e.body&&ya(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function vx(e){const t=e.body;return t.type===2?cc(t):t.cases.forEach(n=>cc(n)),e}function cc(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=ha(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 yx(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 d(g,v=!0){const S=v?s:"";l(o?S+" ".repeat(g):S)}function u(g=!0){const v=++i.indentLevel;g&&d(v)}function h(g=!0){const v=--i.indentLevel;g&&d(v)}function f(){d(i.indentLevel)}return{context:a,push:l,indent:u,deindent:h,newline:f,helper:g=>`_${g}`,needIndent:()=>i.needIndent}}function _x(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),dr(e,t.key),t.modifier?(e.push(", "),dr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function xx(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&&(dr(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function Sx(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&&(dr(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function wx(e,t){t.body?dr(e,t.body):e.push("null")}function dr(e,t){const{helper:n}=e;switch(t.type){case 0:wx(e,t);break;case 1:Sx(e,t);break;case 2:xx(e,t);break;case 6:_x(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 Ex=(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=yx(e,{filename:s,breakLineCode:o,needIndent:r});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(r),i.length>0&&(a.push(`const { ${ha(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),a.newline()),a.push("return "),dr(a,e),a.deindent(r),a.push("}"),delete e.helpers;const{code:l,map:d}=a.context();return{ast:e,code:l,map:d?d.toJSON():void 0}};function bx(e,t={}){const n=Ue({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=px(n).parse(e);return s?(r&&vx(a),o&&qn(a),{ast:a,code:""}):(mx(a,n),Ex(a,n))}/*!
|
||
* core-base v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function Cx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(da().__INTLIFY_PROD_DEVTOOLS__=!1)}function Vt(e){return ce(e)&&_a(e)===0&&(At(e,"b")||At(e,"body"))}const Td=["b","body"];function Px(e){return Cn(e,Td)}const Ld=["c","cases"];function Tx(e){return Cn(e,Ld,[])}const Rd=["s","static"];function Lx(e){return Cn(e,Rd)}const kd=["i","items"];function Rx(e){return Cn(e,kd,[])}const Ad=["t","type"];function _a(e){return Cn(e,Ad)}const Id=["v","value"];function ps(e,t){const n=Cn(e,Id);if(n!=null)return n;throw Br(t)}const Od=["m","modifier"];function kx(e){return Cn(e,Od)}const Md=["k","key"];function Ax(e){const t=Cn(e,Md);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 Nd=[...Td,...Ld,...Rd,...kd,...Md,...Od,...Id,...Ad];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 Ix=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ox(e){return Ix.test(e)}function Mx(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 Nx(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 Dx(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ox(t)?Mx(t):"*"+t}function Fx(e){const t=[];let n=-1,s=0,o=0,r,i,a,l,d,u,h;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,s=4,f[0]();else{if(o=0,i===void 0||(i=Dx(i),i===!1))return!1;f[1]()}};function c(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,f[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=Nx(r),h=Pn[s],d=h[l]||h.l||8,d===8||(s=d[0],d[1]!==void 0&&(u=f[d[1]],u&&(a=r,u()===!1))))return;if(s===7)return t}}const uc=new Map;function $x(e,t){return ce(e)?e[t]:null}function Hx(e,t){if(!ce(e))return null;let n=uc.get(t);if(n||(n=Fx(t),n&&uc.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=n[r];if(Nd.includes(i)&&Vt(o))return null;const a=o[i];if(a===void 0||be(o))return null;o=a,r++}return o}const Ux=e=>e,Bx=e=>"",Vx="text",jx=e=>e.length===0?"":ha(e),Wx=z0;function fc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Kx(e){const t=je(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(je(e.named.count)||je(e.named.n))?je(e.named.count)?e.named.count:je(e.named.n)?e.named.n:t:t}function Gx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Yx(e={}){const t=e.locale,n=Kx(e),s=ce(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?e.pluralRules[t]:fc,o=ce(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?fc:void 0,r=S=>S[s(n,S.length,o)],i=e.list||[],a=S=>i[S],l=e.named||Te();je(e.pluralIndex)&&Gx(n,l);const d=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):Bx)}const h=S=>e.modifiers?e.modifiers[S]:Ux,f=pe(e.processor)&&be(e.processor.normalize)?e.processor.normalize:jx,c=pe(e.processor)&&be(e.processor.interpolate)?e.processor.interpolate:Wx,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:Vx,v={list:a,named:d,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:f,values:Ue(Te(),i,l)};return v}let Vr=null;function Xx(e){Vr=e}function qx(e,t,n){Vr&&Vr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Jx=Qx("function:translate");function Qx(e){return t=>Vr&&Vr.emit(e,t)}const zx=Pd.__EXTEND_POINT__,An=ho(zx),Zx={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()},Dd=Se.__EXTEND_POINT__,In=ho(Dd),Ut={INVALID_ARGUMENT:Dd,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 _o(e,null,void 0)}function xa(e,t){return t.locale!=null?dc(t.locale):dc(e.locale)}let Wo;function dc(e){if(Z(e))return e;if(be(e)){if(e.resolvedOnce&&Wo!=null)return Wo;if(e.constructor.name==="Function"){const t=e();if(Q0(t))throw Zt(Ut.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wo=t}else throw Zt(Ut.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Zt(Ut.NOT_SUPPORT_LOCALE_TYPE)}function e1(e,t,n){return[...new Set([n,...He(t)?t:ce(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Fd(e,t,n){const s=Z(n)?n:Ks,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;He(i);)i=hc(r,i,t);const a=He(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,He(i)&&hc(r,i,!1),o.__localeChainCache.set(s,r)}return r}function hc(e,t,n){let s=!0;for(let o=0;o<t.length&&Me(s);o++){const r=t[o];Z(r)&&(s=t1(e,t[o],n))}return s}function t1(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=n1(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function n1(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 r1="9.14.5",xo=-1,Ks="en-US",pc="",gc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function s1(){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)?gc(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?gc(e.children):e}}let $d;function o1(e){$d=e}let Hd;function i1(e){Hd=e}let Ud;function a1(e){Ud=e}let Bd=null;const l1=e=>{Bd=e},c1=()=>Bd;let Vd=null;const mc=e=>{Vd=e},u1=()=>Vd;let vc=0;function f1(e={}){const t=be(e.onWarn)?e.onWarn:j0,n=Z(e.version)?e.version:r1,s=Z(e.locale)||be(e.locale)?e.locale:Ks,o=be(s)?Ks:s,r=He(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:Ko(o),a=pe(e.datetimeFormats)?e.datetimeFormats:Ko(o),l=pe(e.numberFormats)?e.numberFormats:Ko(o),d=Ue(Te(),e.modifiers,s1()),u=e.pluralRules||Te(),h=be(e.missing)?e.missing:null,f=Me(e.missingWarn)||Bs(e.missingWarn)?e.missingWarn:!0,c=Me(e.fallbackWarn)||Bs(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=Me(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=be(e.messageCompiler)?e.messageCompiler:$d,m=be(e.messageResolver)?e.messageResolver:Hd||$x,x=be(e.localeFallbacker)?e.localeFallbacker:Ud||e1,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:{};vc++;const C={version:n,cid:vc,locale:s,fallbackLocale:r,messages:i,modifiers:d,pluralRules:u,missing:h,missingWarn:f,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__&&qx(C,n,T),C}const Ko=e=>({[e]:Te()});function Sa(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 vr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function d1(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function h1(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(d1(e,t[s]))return!0;return!1}function Go(e){return n=>p1(n,e)}function p1(e,t){const n=Px(t);if(n==null)throw Br(0);if(_a(n)===1){const r=Tx(n);return e.plural(r.reduce((i,a)=>[...i,yc(e,a)],[]))}else return yc(e,n)}function yc(e,t){const n=Lx(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=Rx(t).reduce((o,r)=>[...o,Ai(e,r)],[]);return e.normalize(s)}}function Ai(e,t){const n=_a(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")&&je(s.i))return e.interpolate(e.list(s.i));if(At(s,"index")&&je(s.index))return e.interpolate(e.list(s.index));throw Br(n)}case 6:{const s=t,o=kx(s),r=Ax(s);return e.linked(Ai(e,r),o?Ai(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 g1=e=>e;let gs=Te();function m1(e,t={}){let n=!1;const s=t.onError||rx;return t.onError=o=>{n=!0,s(o)},{...bx(e,t),detectError:n}}function v1(e,t){if(Z(e)){Me(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||g1)(e),o=gs[s];if(o)return o;const{ast:r,detectError:i}=m1(e,{...t,location:!1,jit:!0}),a=Go(r);return i?a:gs[s]=a}else{const n=e.cacheKey;if(n){const s=gs[n];return s||(gs[n]=Go(e))}else return Go(e)}}const _c=()=>"",xt=e=>be(e);function xc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,d]=Ii(...t),u=Me(d.missingWarn)?d.missingWarn:e.missingWarn,h=Me(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn,f=Me(d.escapeParameter)?d.escapeParameter:e.escapeParameter,c=!!d.resolvedMessage,p=Z(d.default)||Me(d.default)?Me(d.default)?r?l:()=>l:d.default:n?r?l:()=>l:"",g=n||p!=="",v=xa(e,d);f&&y1(d);let[S,w,y]=c?[l,v,a[v]||Te()]:jd(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?xo:l;let x=!1;const E=()=>{x=!0},b=xt(_)?_:Wd(e,l,w,_,m,E);if(x)return _;const P=S1(e,w,y,d),L=Yx(P),T=_1(e,b,L);let C=s?s(T,l):T;if(f&&Z(C)&&(C=X0(C)),__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,c1()||{}),Jx(O)}return C}function y1(e){He(e.list)?e.list=e.list.map(t=>Z(t)?Gl(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=Gl(e.named[t]))})}function jd(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:d}=e,u=d(e,s,n);let h=Te(),f,c=null;const p="translate";for(let g=0;g<u.length&&(f=u[g],h=i[f]||Te(),(c=l(h,t))===null&&(c=h[t]),!(Z(c)||Vt(c)||xt(c)));g++)if(!h1(f,u)){const v=Sa(e,t,f,r,p);v!==t&&(c=v)}return[c,f,h]}function Wd(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(xt(s)){const d=s;return d.locale=d.locale||n,d.key=d.key||t,d}if(i==null){const d=()=>s;return d.locale=n,d.key=t,d}const l=i(s,x1(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function _1(e,t,n){return t(n)}function Ii(...e){const[t,n,s]=e,o=Te();if(!Z(t)&&!je(t)&&!xt(t)&&!Vt(t))throw Zt(Ut.INVALID_ARGUMENT);const r=je(t)?String(t):(xt(t),t);return je(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!fo(n)?o.named=n:He(n)&&(o.list=n),je(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&Ue(o,s),[r,o]}function x1(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>W0(t,n,i)}}function S1(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:d,fallbackContext:u}=e,f={locale:t,modifiers:o,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=jd(u,c,t,a,l,d);p=i(g,c)}if(Z(p)||Vt(p)){let g=!1;const S=Wd(e,c,t,p,c,()=>{g=!0});return g?_c:S}else return xt(p)?p:_c}};return e.processor&&(f.processor=e.processor),s.list&&(f.list=s.list),s.named&&(f.named=s.named),je(s.plural)&&(f.pluralIndex=s.plural),f}function Sc(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,d,u,h]=Oi(...t),f=Me(u.missingWarn)?u.missingWarn:e.missingWarn;Me(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=xa(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,h).format(d);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++)Sa(e,l,S,f,y);if(!pe(w)||!Z(S))return s?xo:l;let _=`${S}__${l}`;fo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(S,Ue({},w,h)),a.set(_,m)),c?m.formatToParts(d):m.format(d)}const Kd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Oi(...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 d=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(d);try{a.toISOString()}catch{throw Zt(Ut.INVALID_ISO_DATE_ARGUMENT)}}else if(G0(t)){if(isNaN(t.getTime()))throw Zt(Ut.INVALID_DATE_ARGUMENT);a=t}else if(je(t))a=t;else throw Zt(Ut.INVALID_ARGUMENT);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 wc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function Ec(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,d,u,h]=Mi(...t),f=Me(u.missingWarn)?u.missingWarn:e.missingWarn;Me(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=xa(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,h).format(d);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++)Sa(e,l,S,f,y);if(!pe(w)||!Z(S))return s?xo:l;let _=`${S}__${l}`;fo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(S,Ue({},w,h)),a.set(_,m)),c?m.formatToParts(d):m.format(d)}const Gd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Mi(...e){const[t,n,s,o]=e,r=Te();let i=Te();if(!je(t))throw Zt(Ut.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Gd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function bc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}Cx();/*!
|
||
* vue-i18n v9.14.5
|
||
* (c) 2025 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const w1="9.14.5";function E1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(da().__INTLIFY_PROD_DEVTOOLS__=!1)}const b1=Zx.__EXTEND_POINT__,Yt=ho(b1);Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt(),Yt();const Yd=Ut.__EXTEND_POINT__,ct=ho(Yd),Et={UNEXPECTED_RETURN_TYPE:Yd,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 _o(e,null,void 0)}const Ni=En("__translateVNode"),Di=En("__datetimeParts"),Fi=En("__numberParts"),C1=En("__setPluralRules"),P1=En("__injectWithOption"),$i=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)?Nd.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 Xd(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:d}=a;l?(i[l]=i[l]||Te(),Fn(d,i[l])):Fn(d,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 qd(e){return e.type}function T1(e,t,n){let s=ce(t.messages)?t.messages:Te();"__i18nGlobal"in n&&(s=Xd(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 Cc(e){return Ie(_n,null,e,0)}const Pc="__INTLIFY_META__",Tc=()=>[],L1=()=>!1;let Lc=0;function Rc(e){return(t,n,s,o)=>e(n,s,Un()||void 0,o)}const R1=()=>{const e=Un();let t=null;return e&&(t=qd(e)[Pc])?{[Pc]:t}:null};function Jd(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Us?Ce:rr,a=!!e.translateExistCompatible;let l=Me(e.inheritLocale)?e.inheritLocale:!0;const d=i(n&&l?n.locale.value:Z(e.locale)?e.locale:Ks),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||He(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:d.value),h=i(Xd(d.value,e)),f=i(pe(e.datetimeFormats)?e.datetimeFormats:{[d.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[d.value]:{}});let p=n?n.missingWarn:Me(e.missingWarn)||Bs(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Me(e.fallbackWarn)||Bs(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Me(e.fallbackRoot)?e.fallbackRoot:!0,S=!!e.fallbackFormat,w=be(e.missing)?e.missing:null,y=be(e.missing)?Rc(e.missing):null,_=be(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Me(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&&mc(null);const N={version:w1,locale:d.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=f.value,N.numberFormats=c.value,N.__datetimeFormatters=pe(P)?P.__datetimeFormatters:void 0,N.__numberFormatters=pe(P)?P.__numberFormatters:void 0;const H=f1(N);return o&&mc(H),H})(),vr(P,d.value,u.value);function T(){return[d.value,u.value,h.value,f.value,c.value]}const C=me({get:()=>d.value,set:N=>{d.value=N,P.locale=d.value}}),O=me({get:()=>u.value,set:N=>{u.value=N,P.fallbackLocale=u.value,vr(P,d.value,N)}}),$=me(()=>h.value),F=me(()=>f.value),U=me(()=>c.value);function j(){return be(_)?_:null}function Y(N){_=N,P.postTranslation=N}function ne(){return w}function fe(N){N!==null&&(y=Rc(N)),w=N,P.missing=y}const ue=(N,H,se,oe,Oe,Fe)=>{T();let Ke;try{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=n?u1():void 0),Ke=N(P)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=void 0)}if(se!=="translate exists"&&je(Ke)&&Ke===xo||se==="translate exists"&&!Ke){const[st,Vn]=H();return n&&v?oe(n):Oe(st)}else{if(Fe(Ke))return Ke;throw Nt(Et.UNEXPECTED_RETURN_TYPE)}};function re(...N){return ue(H=>Reflect.apply(xc,null,[H,...N]),()=>Ii(...N),"translate",H=>Reflect.apply(H.t,H,[...N]),H=>H,H=>Z(H))}function Pe(...N){const[H,se,oe]=N;if(oe&&!ce(oe))throw Nt(Et.INVALID_ARGUMENT);return re(H,se,Ue({resolvedMessage:!0},oe||{}))}function _e(...N){return ue(H=>Reflect.apply(Sc,null,[H,...N]),()=>Oi(...N),"datetime format",H=>Reflect.apply(H.d,H,[...N]),()=>pc,H=>Z(H))}function Be(...N){return ue(H=>Reflect.apply(Ec,null,[H,...N]),()=>Mi(...N),"number format",H=>Reflect.apply(H.n,H,[...N]),()=>pc,H=>Z(H))}function de(N){return N.map(H=>Z(H)||je(H)||Me(H)?Cc(String(H)):H)}const J={normalize:de,interpolate:N=>N,type:"vnode"};function z(...N){return ue(H=>{let se;const oe=H;try{oe.processor=J,se=Reflect.apply(xc,null,[oe,...N])}finally{oe.processor=null}return se},()=>Ii(...N),"translate",H=>H[Ni](...N),H=>[Cc(H)],H=>He(H))}function ee(...N){return ue(H=>Reflect.apply(Ec,null,[H,...N]),()=>Mi(...N),"number format",H=>H[Fi](...N),Tc,H=>Z(H)||He(H))}function he(...N){return ue(H=>Reflect.apply(Sc,null,[H,...N]),()=>Oi(...N),"datetime format",H=>H[Di](...N),Tc,H=>Z(H)||He(H))}function xe(N){b=N,P.pluralRules=b}function A(N,H){return ue(()=>{if(!N)return!1;const se=Z(H)?H:d.value,oe=K(se),Oe=P.messageResolver(oe,N);return a?Oe!=null:Vt(Oe)||xt(Oe)||Z(Oe)},()=>[N],"translate exists",se=>Reflect.apply(se.te,se,[N,H]),L1,se=>Me(se))}function I(N){let H=null;const se=Fd(P,u.value,d.value);for(let oe=0;oe<se.length;oe++){const Oe=h.value[se[oe]]||{},Fe=P.messageResolver(Oe,N);if(Fe!=null){H=Fe;break}}return H}function D(N){const H=I(N);return H??(n?n.tm(N)||{}:{})}function K(N){return h.value[N]||{}}function B(N,H){if(r){const se={[N]:H};for(const oe in se)At(se,oe)&&jr(se[oe]);H=se[N]}h.value[N]=H,P.messages=h.value}function X(N,H){h.value[N]=h.value[N]||{};const se={[N]:H};if(r)for(const oe in se)At(se,oe)&&jr(se[oe]);H=se[N],Fn(H,h.value[N]),P.messages=h.value}function Q(N){return f.value[N]||{}}function R(N,H){f.value[N]=H,P.datetimeFormats=f.value,wc(P,N,H)}function k(N,H){f.value[N]=Ue(f.value[N]||{},H),P.datetimeFormats=f.value,wc(P,N,H)}function M(N){return c.value[N]||{}}function W(N,H){c.value[N]=H,P.numberFormats=c.value,bc(P,N,H)}function q(N,H){c.value[N]=Ue(c.value[N]||{},H),P.numberFormats=c.value,bc(P,N,H)}Lc++,n&&Us&&(pt(n.locale,N=>{l&&(d.value=N,P.locale=N,vr(P,d.value,u.value))}),pt(n.fallbackLocale,N=>{l&&(u.value=N,P.fallbackLocale=N,vr(P,d.value,u.value))}));const G={id:Lc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(N){l=N,N&&n&&(d.value=n.locale.value,u.value=n.fallbackLocale.value,vr(P,d.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:re,getLocaleMessage:K,setLocaleMessage:B,mergeLocaleMessage:X,getPostTranslationHandler:j,setPostTranslationHandler:Y,getMissingHandler:ne,setMissingHandler:fe,[C1]: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=W,G.mergeNumberFormat=q,G[P1]=s,G[Ni]=z,G[Di]=he,G[Fi]=ee,G}const wa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function k1({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 Qd(e){return Ge}const A1=et({name:"i18n-t",props:Ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},wa),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||So({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=k1(t,r),l=o[Ni](e.keypath,a,i),d=Ue(Te(),s),u=Z(e.tag)||ce(e.tag)?e.tag:Qd();return Xe(u,d,l)}}}),kc=A1;function I1(e){return He(e)&&!Z(e[0])}function zd(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((f,c)=>n.includes(c)?Ue(Te(),f,{[c]:e.format[c]}):f,Te()));const l=s(e.value,i,a);let d=[i.key];He(l)?d=l.map((f,c)=>{const p=o[f.type],g=p?p({[f.type]:f.value,index:c,parts:l}):[f.value];return I1(g)&&(g[0].key=`${f.type}-${c}`),g}):Z(l)&&(d=[l]);const u=Ue(Te(),r),h=Z(e.tag)||ce(e.tag)?e.tag:Qd();return Xe(h,u,d)}}const O1=et({name:"i18n-n",props:Ue({value:{type:Number,required:!0},format:{type:[String,Object]}},wa),setup(e,t){const n=e.i18n||So({useScope:e.scope,__useComponent:!0});return zd(e,t,Gd,(...s)=>n[Fi](...s))}}),Ac=O1,M1=et({name:"i18n-d",props:Ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},wa),setup(e,t){const n=e.i18n||So({useScope:e.scope,__useComponent:!0});return zd(e,t,Kd,(...s)=>n[Di](...s))}}),Ic=M1;function N1(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function D1(e){const t=i=>{const{instance:a,modifiers:l,value:d}=i;if(!a||!a.$)throw Nt(Et.UNEXPECTED_ERROR);const u=N1(e,a.$),h=Oc(d);return[Reflect.apply(u.t,u,[...Mc(h)]),u]};return{created:(i,a)=>{const[l,d]=t(a);Us&&e.global===d&&(i.__i18nWatcher=pt(d.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=d,i.textContent=l},unmounted:i=>{Us&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,d=Oc(a);i.textContent=Reflect.apply(l.t,l,[...Mc(d)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Oc(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 Mc(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Z(n)&&(i.locale=n),je(o)&&(i.plural=o),je(r)&&(i.plural=r),[t,a,i]}function F1(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Me(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":kc.name,"I18nT"].forEach(i=>e.component(i,kc)),[Ac.name,"I18nN"].forEach(i=>e.component(i,Ac)),[Ic.name,"I18nD"].forEach(i=>e.component(i,Ic))),e.directive("t",D1(t))}const $1=En("global-vue-i18n");function H1(e={},t){const n=Me(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=U1(e),a=En("");function l(h){return o.get(h)||null}function d(h,f){o.set(h,f)}function u(h){o.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return s},async install(f,...c){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,h),pe(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=X1(f,h.global)),F1(f,h,...c);const g=f.unmount;f.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:d,__deleteInstance:u};return h}}function So(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=B1(t),s=j1(n),o=qd(t),r=V1(e,o);if(r==="global")return T1(s,e,o),s;if(r==="parent"){let l=W1(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=Jd(l),i.__composerExtend&&(a[$i]=i.__composerExtend(a)),G1(i,t,a),i.__setInstance(t,a)}return a}function U1(e,t,n){const s=Wi();{const o=s.run(()=>Jd(e));if(o==null)throw Nt(Et.UNEXPECTED_ERROR);return[s,o]}}function B1(e){{const t=rt(e.isCE?$1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Nt(e.isCE?Et.NOT_INSTALLED_WITH_PROVIDE:Et.UNEXPECTED_ERROR);return t}}function V1(e,t){return fo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function j1(e){return e.mode==="composition"?e.global:e.global.__composer}function W1(e,t,n=!1){let s=null;const o=t.root;let r=K1(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 K1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function G1(e,t,n){bt(()=>{},t),zi(()=>{const s=n;e.__deleteInstance(t);const o=s[$i];o&&(o(),delete s[$i])},t)}const Y1=["locale","fallbackLocale","availableLocales"],Nc=["t","rt","d","n","tm","te"];function X1(e,t){const n=Object.create(null);return Y1.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,Nc.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,Nc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}E1();o1(v1);i1(Hx);a1(Fd);if(__INTLIFY_PROD_DEVTOOLS__){const e=da();e.__INTLIFY__=!0,Xx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function q1(){return dt(mo)}function J1(){return dt(fr)}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=J1(),n=new RegExp([`<!--${Xl}-\\[(\\w+)\\]-->`,".+?",`<!--/${Xl}-->`].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 z1(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=Wi(),a=e.install;return e.install=(l,...d)=>{const u=tS(d[0])?Ue({},d[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=cr(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=>{Dc(v,o.onExtendVueI18n);let S;return be(g)&&(S=Reflect.apply(g,u,[v])),()=>{S&&S()}}}d[0]=u,Reflect.apply(a,e,[l,...d]);const f=cr(e);i.run(()=>{Z1(f,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&ld(e.global)&&Dc(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&eS(p,f,o.onExtendExportedGlobal),u.inject){const g=va(e);l.mixin({methods:{getRouteBaseName:dt(ur,g),resolveRoute:dt(vo,g),localePath:dt(mo,g),localeRoute:dt(ga,g),localeLocation:dt(E_,g),switchLocalePath:dt(fr,g),localeHead:dt(dd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function Z1(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),r_?pt(e.locale,()=>{l.value=Jl(o,r)},{immediate:!0}):l.value=Jl(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 eS(e,t,n){Zd(t,e,n)}function Dc(e,t){const n=cr(e);Zd(n,e,t)}function tS(e){return ce(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const nS=Dt({name:"i18n:plugin",parallel:e_,async setup(e){let t,n;const s=oo(),{vueApp:o}=e,r=e,i=yo(),{configLocales:a,defaultLocale:l,multiDomainLocales:d,strategy:u}=r.$config.public.i18n,h=a.some(T=>typeof T!="string"&&Array.isArray(T.defaultForDomains));let f;if(l)f=l;else if(h){const T=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));f=(T==null?void 0:T.code)??""}else f="";if(d&&(u==="prefix_except_default"||u==="prefix_and_default")){const T=Ze();T.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==f)T.removeRoute(C.name);else{const F=C.name.toString().replace("___default","");C.name=F}})}const c={...r.$config.public.i18n,defaultLocale:f};c.baseUrl=B_();const p=Zr(),g=([t,n]=kt(()=>p_(Z0,ge())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=gd(),S=T=>T||g.locale||"en-US",w=Q_();let y=Zl(s,v,S(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:jo(w,p,c.defaultLocale)},c);g.messages=([t,n]=kt(()=>g_(g.messages,Vs,{localeCodes:lr,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=S(y);const _=H1({...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=bd(s,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:T},y);I_(_,C.locale),E=!1})}z1(_,{locales:c.configLocales,localeCodes:lr,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(T){T.strategy=c.strategy,T.localeProperties=me(()=>po.find(C=>C.code===T.locale.value)||{code:T.locale.value}),T.setLocale=async C=>{const O=x(C);await zl(C,_,c,O)&&O&&(m=!1);const F=await r.runWithContext(()=>ec({route:{to:s},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await tc({nuxtApp:r,i18n:_,redirectPath:F,locale:C,route:s},{enableNavigate:!0}))},T.loadLocaleMessages=async C=>{await js(C,Vs,($,F)=>vd(_,$,F))},T.differentDomains=c.differentDomains,T.defaultLocale=c.defaultLocale,T.getBrowserLocale=()=>wd(),T.getLocaleCookie=()=>jo(w,p,c.defaultLocale),T.setLocaleCookie=C=>z_(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&&(cd(_,_.__pendingLocale),_.__resolvePendingLocalePromise&&await _.__resolvePendingLocalePromise(),_.__pendingLocale=void 0)},T.waitForPendingLocaleChange=async()=>{_.__pendingLocale&&_.__pendingLocalePromise&&await _.__pendingLocalePromise}},onExtendExportedGlobal(T){return{strategy:{get(){return T.strategy}},localeProperties:{get(){return T.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(T.setLocale,T,[C])}},differentDomains:{get(){return T.differentDomains}},defaultLocale:{get(){return T.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(T.getBrowserLocale,T,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(T.getLocaleCookie,T,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(T.setLocaleCookie,T,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,$,F)=>Reflect.apply(T.onBeforeLanguageSwitch,T,[C,O,$,F])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(T.onLanguageSwitched,T,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])}}}},onExtendVueI18n(T){return{strategy:{get(){return T.strategy}},localeProperties:{get(){return T.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(T.setLocale,T,[C])}},loadLocaleMessages:{get(){return async C=>Reflect.apply(T.loadLocaleMessages,T,[C])}},differentDomains:{get(){return T.differentDomains}},defaultLocale:{get(){return T.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(T.getBrowserLocale,T,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(T.getLocaleCookie,T,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(T.setLocaleCookie,T,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,$,F)=>Reflect.apply(T.onBeforeLanguageSwitch,T,[C,O,$,F])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(T.onLanguageSwitched,T,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])}}}}}});const P={__composerExtend:T=>{const C=cr(_);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),$_(r,_);let L=0;av("locale-changing",async(T,C)=>{let O,$;const F=Zl(T,v,()=>go(_)||S(c.defaultLocale),{ssg:b()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:jo(w,p,c.defaultLocale)},c),U=x(F);([O,$]=kt(()=>zl(F,_,c,U)),O=await O,$(),O)&&U&&(m=!1);const Y=([O,$]=kt(()=>r.runWithContext(()=>ec({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()=>tc({nuxtApp:r,i18n:_,redirectPath:Y,locale:F,route:T}))),O=await O,$(),O},{global:!0})}}),rS=[hy,gy,M0,D0,F0,$0,U0,B0,V0,Q1,nS],sS=et({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 yn(Qr,zt(s)),()=>Xe(e.vnode,{ref:e.vnodeRef})}}),oS=et({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=rt(Qr,null);let a;s({pageRef:r});const l=rt(Af,null);let d;const u=o.deferHydration();if(o.isHydrating){const f=o.hooks.hookOnce("app:error",u);Ze().beforeEach(f)}e.pageKey&&pt(()=>e.pageKey,(f,c)=>{f!==c&&o.callHook("page:loading:start")});let h=!1;return()=>Xe(rd,{name:e.name,route:e.route,...t},{default:f=>{const c=aS(i,f.route,f.Component),p=i&&i.matched.length===f.route.matched.length;if(!f.Component){if(d&&!p)return d;u();return}if(d&&l&&!l.isCurrent(f.route))return d;if(c&&i&&(!l||l!=null&&l.isCurrent(i)))return p?d:null;const g=Li(f,e.pageKey);!o.isHydrating&&!lS(i,f.route,f.Component)&&a===g&&(o.callHook("page:loading:end"),h=!0),a=g;const v=!!(e.transition??f.route.meta.pageTransition??gi),S=v&&iS([e.transition,f.route.meta.pageTransition,gi,{onAfterLeave:()=>{o.callHook("page:transition:finish",f.Component)}}].filter(Boolean)),w=e.keepalive??f.route.meta.keepalive??Um;return d=sd(v&&S,E0(w,Xe(na,{suspensible:!0,onPending:()=>o.callHook("page:start",f.Component),onResolve:()=>{Sn(()=>o.callHook("page:finish",f.Component).then(()=>{if(!h)return o.callHook("page:loading:end");h=!1}).finally(u))}},{default:()=>{const y=Xe(sS,{key:g||void 0,vnode:n.default?Xe(Ge,void 0,n.default(f)):f.Component,route:f.route,renderKey:g||void 0,trackRootNodes:v,vnodeRef:r});return w&&(y.type.name=f.Component.type.name||f.Component.type.__name||"RouteProvider"),y}}))).default(),d}})}});function iS(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?fa(n.onAfterLeave):void 0}));return Rf(...t)}function aS(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&&Li({route:t,Component:n})!==Li({route:e,Component:n})}function lS(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 cS=et({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Xe(gn[e.name],e.layoutProps,t.slots)}}),uS=et({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=rt(Qr),o=s===oo()?y0():s,r=me(()=>{let l=te(e.name)??o.meta.layout??"default";return l&&!(l in gn)&&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 gn,d=o.meta.layoutTransition??Hm;return sd(l&&d,{default:()=>Xe(na,{suspensible:!0,onResolve:()=>{Sn(a)}},{default:()=>Xe(fS,{layoutProps:af(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!d},t.slots)})}).default()}}}),fS=et({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&&yn(Af,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in gn)?(o=(s=t.slots).default)==null?void 0:o.call(s):Xe(cS,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),dS=Symbol.for("nuxt:client-only"),wo=et({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Ce(!1);return bt(()=>{s.value=!0}),yn(dS,!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 Fc=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 hS=Ss.exports,$c;function pS(){return $c||($c=1,function(e,t){(function(s,o){e.exports=o()})(hS,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(d){return r[d]}).bind(null,l));return a},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,a){var l,d;typeof a=="boolean"?(l=2,d=a):(l=1,d=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var f in h)d&&h[f]&&h[f].constructor===Object&&(!i[f]||i[f].constructor===Object)?(i[f]=i[f]||{},o.extend(i[f],d,h[f])):i[f]=h[f]}return i},o.clone=function(i,a){return o.extend({},a,i)},o.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},o.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),d=0;d<l.length;d++)a.push(i[l[d]]);return a}for(var u in i)a.push(i[u]);return a},o.get=function(i,a,l,d){a=a.split(".").slice(l,d);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},o.set=function(i,a,l,d,u){var h=a.split(".").slice(d,u);return o.get(i,a,0,-1)[h[h.length-1]]=l,l},o.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(o.random()*(a+1)),d=i[a];i[a]=i[l],i[l]=d}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,a,l){return i<a?a:i>l?l:i},o.sign=function(i){return i<0?-1:1},o.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-o._nowStartTime},o.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;l<i.length;l++)if(i[l]===a)return l;return-1},o.map=function(i,a){if(i.map)return i.map(a);for(var l=[],d=0;d<i.length;d+=1)l.push(a(i[d]));return l},o.topologicalSort=function(i){var a=[],l=[],d=[];for(var u in i)!l[u]&&!d[u]&&o._topologicalSort(u,l,d,i,a);return a},o._topologicalSort=function(i,a,l,d,u){var h=d[i]||[];l[i]=!0;for(var f=0;f<h.length;f+=1){var c=h[f];l[c]||a[c]||o._topologicalSort(c,a,l,d,u)}l[i]=!1,a[i]=!0,u.push(i)},o.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}var d=function(){for(var u,h=new Array(arguments.length),f=0,c=arguments.length;f<c;f++)h[f]=arguments[f];for(f=0;f<i.length;f+=1){var p=i[f].apply(u,h);typeof p<"u"&&(u=p)}return u};return d._chained=i,d},o.chainPathBefore=function(i,a,l){return o.set(i,a,o.chain(l,o.get(i,a)))},o.chainPathAfter=function(i,a,l){return o.set(i,a,o.chain(o.get(i,a),l))},o.setDecomp=function(i){o._decomp=i},o.getDecomp=function(){var i=o._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof Fc<"u"&&(i=Fc.decomp)}catch{i=null}return i}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&o.update(i,r),i},o.update=function(r,i,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var d=i[l];d.x>r.max.x&&(r.max.x=d.x),d.x<r.min.x&&(r.min.x=d.x),d.y>r.max.y&&(r.max.y=d.y),d.y<r.min.y&&(r.min.y=d.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},o.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},o.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,a){var l=Math.cos(i),d=Math.sin(i);a||(a={});var u=r.x*l-r.y*d;return a.y=r.x*d+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var d=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*d-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*d),l.x=h,l},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.create=function(l,d){for(var u=[],h=0;h<l.length;h++){var f=l[h],c={x:f.x,y:f.y,index:h,body:d,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,d){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(f,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,d)},r.centre=function(l){for(var d=r.area(l,!0),u={x:0,y:0},h,f,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),f=i.mult(i.add(l[p],l[c]),h),u=i.add(u,f);return i.div(u,6*d)},r.mean=function(l){for(var d={x:0,y:0},u=0;u<l.length;u++)d.x+=l[u].x,d.y+=l[u].y;return i.div(d,l.length)},r.area=function(l,d){for(var u=0,h=l.length-1,f=0;f<l.length;f++)u+=(l[h].x-l[f].x)*(l[h].y+l[f].y),h=f;return d?u/2:Math.abs(u)/2},r.inertia=function(l,d){for(var u=0,h=0,f=l,c,p,g=0;g<f.length;g++)p=(g+1)%f.length,c=Math.abs(i.cross(f[p],f[g])),u+=c*(i.dot(f[p],f[p])+i.dot(f[p],f[g])+i.dot(f[g],f[g])),h+=c;return d/6*(u/h)},r.translate=function(l,d,u){u=typeof u<"u"?u:1;var h=l.length,f=d.x*u,c=d.y*u,p;for(p=0;p<h;p++)l[p].x+=f,l[p].y+=c;return l},r.rotate=function(l,d,u){if(d!==0){var h=Math.cos(d),f=Math.sin(d),c=u.x,p=u.y,g=l.length,v,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*f),v.y=p+(S*f+w*h);return l}},r.contains=function(l,d){for(var u=d.x,h=d.y,f=l.length,c=l[f-1],p,g=0;g<f;g++){if(p=l[g],(u-c.x)*(p.y-c.y)+(h-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,d,u,h){if(d===1&&u===1)return l;h=h||r.centre(l);for(var f,c,p=0;p<l.length;p++)f=l[p],c=i.sub(f,h),l[p].x=h.x+c.x*d,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,d,u,h,f){typeof d=="number"?d=[d]:d=d||[8],u=typeof u<"u"?u:-1,h=h||2,f=f||14;for(var c=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],S=l[(p+1)%l.length],w=d[p<d.length?p:d.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,f),P%2===1&&(P+=1);for(var L=Math.acos(i.dot(y,_)),T=L/P,C=0;C<P;C++)c.push(i.add(i.rotate(x,T*C),b))}return c},r.clockwiseSort=function(l){var d=r.mean(l);return l.sort(function(u,h){return i.angle(d,u)-i.angle(d,h)}),l},r.isConvex=function(l){var d=0,u=l.length,h,f,c,p;if(u<3)return null;for(h=0;h<u;h++)if(f=(h+1)%u,c=(h+2)%u,p=(l[f].x-l[h].x)*(l[c].y-l[f].y),p-=(l[f].y-l[h].y)*(l[c].x-l[f].x),p<0?d|=1:p>0&&(d|=2),d===3)return!1;return d!==0?!0:null},r.hull=function(l){var d=[],u=[],h,f;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),f=0;f<l.length;f+=1){for(h=l[f];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(f=l.length-1;f>=0;f-=1){for(h=l[f];d.length>=2&&i.cross3(d[d.length-2],d[d.length-1],h)<=0;)d.pop();d.push(h)}return d.pop(),u.pop(),d.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),d=o(0),u=o(1),h=o(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:d.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=d.extend(p,c);return f(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var f=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":d.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",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,d.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var 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/d._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,d){for(var u=l.split(" "),h,f=0;f<u.length;f++)h=u[f],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(d);return d},r.off=function(a,l,d){if(!l){a.events={};return}typeof l=="function"&&(d=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var f=a.events[u[h]],c=[];if(d&&f)for(var p=0;p<f.length;p++)f[p]!==d&&c.push(f[p]);a.events[u[h]]=c}},r.trigger=function(a,l,d){var u,h,f,c,p=a.events;if(p&&i.keys(p).length>0){d||(d={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],f=p[h],f){c=i.clone(d,!1),c.name=h,c.source=a;for(var v=0;v<f.length;v++)f[v].apply(a,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(0),l=o(1),d=o(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.setModified=function(u,h,f,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),f&&u.parent&&r.setModified(u.parent,h,f,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,f,c)}},r.add=function(u,h){var f=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<f.length;c++){var p=f[c];switch(p.type){case"body":if(p.parent!==p){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,p);break;case"constraint":r.addConstraint(u,p);break;case"composite":r.addComposite(u,p);break;case"mouseConstraint":r.addConstraint(u,p.constraint);break}}return i.trigger(u,"afterAdd",{object:h}),u},r.remove=function(u,h,f){var c=[].concat(h);i.trigger(u,"beforeRemove",{object:h});for(var p=0;p<c.length;p++){var g=c[p];switch(g.type){case"body":r.removeBody(u,g,f);break;case"constraint":r.removeConstraint(u,g,f);break;case"composite":r.removeComposite(u,g,f);break;case"mouseConstraint":r.removeConstraint(u,g.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,f){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),f)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,f){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),f)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,f){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),f)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],h,!0);return u},r.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,h,f){if(f)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(p){return p.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,r.setModified(u,!0,!0,!1),u},r.allBodies=function(u){if(u.cache&&u.cache.allBodies)return u.cache.allBodies;for(var h=[].concat(u.bodies),f=0;f<u.composites.length;f++)h=h.concat(r.allBodies(u.composites[f]));return u.cache&&(u.cache.allBodies=h),h},r.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var h=[].concat(u.constraints),f=0;f<u.composites.length;f++)h=h.concat(r.allConstraints(u.composites[f]));return u.cache&&(u.cache.allConstraints=h),h},r.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var h=[].concat(u.composites),f=0;f<u.composites.length;f++)h=h.concat(r.allComposites(u.composites[f]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,f){var c,p;switch(f){case"body":c=r.allBodies(u);break;case"constraint":c=r.allConstraints(u);break;case"composite":c=r.allComposites(u).concat(u);break}return c?(p=c.filter(function(g){return g.id.toString()===h.toString()}),p.length===0?null:p[0]):null},r.move=function(u,h,f){return r.remove(u,h),r.add(f,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),f=0;f<h.length;f++)h[f].id=a.nextId();return u},r.translate=function(u,h,f){for(var c=f?r.allBodies(u):u.bodies,p=0;p<c.length;p++)d.translate(c[p],h);return u},r.rotate=function(u,h,f,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,S=0;S<v.length;S++){var w=v[S],y=w.position.x-f.x,_=w.position.y-f.y;d.setPosition(w,{x:f.x+(y*p-_*g),y:f.y+(y*g+_*p)}),d.rotate(w,h)}return u},r.scale=function(u,h,f,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var S=g[v],w=S.position.x-c.x,y=S.position.y-c.y;d.setPosition(S,{x:c.x+w*h,y:c.y+y*f}),d.scale(S,h,f)}return u},r.bounds=function(u){for(var h=r.allBodies(u),f=[],c=0;c<h.length;c+=1){var p=h[c];f.push(p.bounds.min,p.bounds.max)}return l.create(f)}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(5),l=o(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(d,u){for(var h=u/l._baseDelta,f=r._motionSleepThreshold,c=0;c<d.length;c++){var p=d[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),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<f?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(d){for(var u=r._motionSleepThreshold,h=0;h<d.length;h++){var f=d[h];if(f.isActive){var c=f.collision,p=c.bodyA.parent,g=c.bodyB.parent;if(!(p.isSleeping&&g.isSleeping||p.isStatic||g.isStatic)&&(p.isSleeping||g.isSleeping)){var v=p.isSleeping&&!p.isStatic?p:g,S=v===p?g:p;!v.isStatic&&S.motion>u&&r.set(v,!1)}}}},r.set=function(d,u){var h=d.isSleeping;u?(d.isSleeping=!0,d.sleepCounter=d.sleepThreshold,d.positionImpulse.x=0,d.positionImpulse.y=0,d.positionPrev.x=d.position.x,d.positionPrev.y=d.position.y,d.anglePrev=d.angle,d.speed=0,d.angularSpeed=0,d.motion=0,h||a.trigger(d,"sleepStart")):(d.isSleeping=!1,d.sleepCounter=0,h&&a.trigger(d,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],d={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,f){return{pair:null,collided:!1,bodyA:h,bodyB:f,parentA:h.parent,parentB:f.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,f,c){if(r._overlapAxes(d,h.vertices,f.vertices,h.axes),d.overlap<=0||(r._overlapAxes(u,f.vertices,h.vertices,f.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,f)],g;p?g=p.collision:(g=r.create(h,f),g.collided=!0,g.bodyA=h.id<f.id?h:f,g.bodyB=h.id<f.id?f:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,f=g.bodyB;var v;d.overlap<u.overlap?v=d:v=u;var S=g.normal,w=g.supports,y=v.axis,_=y.x,m=y.y;_*(f.position.x-h.position.x)+m*(f.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,f,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(f,h,S,-1);i.contains(f.vertices,b[0])&&(w[E++]=b[0]),E<2&&i.contains(f.vertices,b[1])&&(w[E++]=b[1])}return E===0&&(w[E++]=x[0]),w.length=E,g},r._overlapAxes=function(h,f,c,p){var g=f.length,v=c.length,S=f[0].x,w=f[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,ne=j,fe=Y;for(O=1;O<g;O+=1)T=f[O].x*F+f[O].y*U,T>ne?ne=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=ne-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,f,c){for(var p=f[0].x*c.x+f[0].y*c.y,g=p,v=1;v<f.length;v+=1){var S=f[v].x*c.x+f[v].y*c.y;S>g?g=S:S<p&&(p=S)}h.min=p,h.max=g},r._findSupports=function(h,f,c,p){var g=f.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 d=a.bodyA,u=a.bodyB,h={id:r.id(d,u),bodyA:d,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:d.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,a,l),h},r.update=function(a,l,d){var u=a.contacts,h=l.supports,f=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=d,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+p.inverseMass,a.friction=c.friction<p.friction?c.friction:p.friction,a.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,f.length=0;for(var v=0;v<h.length;v++){var S=h[v],w=S.body===c?S.index:g+S.index,y=u[w];y?f.push(y):f.push(u[w]=i.create(S))}},r.setActive=function(a,l,d){l?(a.isActive=!0,a.timeUpdated=d):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),d=o(1),u=o(11),h=o(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.create=function(f){var c=f;c.bodyA&&!c.pointA&&(c.pointA={x:0,y:0}),c.bodyB&&!c.pointB&&(c.pointB={x:0,y:0});var p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var 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(f){for(var c=0;c<f.length;c+=1){var p=f[c],g=p.constraintImpulse;p.isStatic||g.x===0&&g.y===0&&g.angle===0||(p.position.x+=g.x,p.position.y+=g.y,p.angle+=g.angle)}},r.solveAll=function(f,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<f.length;g+=1){var v=f[g],S=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(S||w)&&r.solve(f[g],p)}for(g=0;g<f.length;g+=1)v=f[g],S=!v.bodyA||v.bodyA&&v.bodyA.isStatic,w=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!S&&!w&&r.solve(f[g],p)},r.solve=function(f,c){var p=f.bodyA,g=f.bodyB,v=f.pointA,S=f.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(a.rotate(v,p.angle-f.angleA,v),f.angleA=p.angle),g&&!g.isStatic&&(a.rotate(S,g.angle-f.angleB,S),f.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-f.length)/m,E=f.stiffness>=1||f.length===0,b=E?f.stiffness*c:f.stiffness*c*c,P=f.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 ne=a.create();U=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||ne,p&&a.sub(p.position,p.positionPrev)||ne),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-f.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-f.angularStiffness),g.constraintImpulse.angle+=$,g.angle+=$)}}},r.postSolveAll=function(f){for(var c=0;c<f.length;c++){var p=f[c],g=p.constraintImpulse;if(!(p.isStatic||g.x===0&&g.y===0&&g.angle===0)){l.set(p,!1);for(var v=0;v<p.parts.length;v++){var 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)),d.update(S.bounds,S.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(f){return{x:(f.bodyA?f.bodyA.position.x:0)+(f.pointA?f.pointA.x:0),y:(f.bodyA?f.bodyA.position.y:0)+(f.pointA?f.pointA.y:0)}},r.pointBWorld=function(f){return{x:(f.bodyB?f.bodyB.position.x:0)+(f.pointB?f.pointB.x:0),y:(f.bodyB?f.bodyB.position.y:0)+(f.pointB?f.pointB.y:0)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.fromVertices=function(l){for(var d={},u=0;u<l.length;u++){var h=(u+1)%l.length,f=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=f.y===0?1/0:f.x/f.y;c=c.toFixed(3).toString(),d[c]=f}return a.values(d)},r.rotate=function(l,d){if(d!==0)for(var u=Math.cos(d),h=Math.sin(d),f=0;f<l.length;f++){var c=l[f],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(4),d=o(1),u=o(2);(function(){r.rectangle=function(h,f,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:f},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var 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,f,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:f},vertices:i.fromPath(m)};if(v.chamfer){var E=v.chamfer;x.vertices=i.chamfer(x.vertices,E.radius,E.quality,E.qualityMin,E.qualityMax),delete v.chamfer}return l.create(a.extend({},x,v))},r.circle=function(h,f,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var S=Math.ceil(Math.max(10,Math.min(g,c)));return S%2===1&&(S+=1),r.polygon(h,f,S,c,a.extend({},v,p))},r.polygon=function(h,f,c,p,g){if(g=g||{},c<3)return r.circle(h,f,p,g);for(var v=2*Math.PI/c,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:f},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,f,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:f},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 ne=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(d.overlaps(fe.bounds,ue.bounds)){var re=fe.vertices,Pe=ue.vertices;for(C=0;C<fe.vertices.length;C++)for($=0;$<ue.vertices.length;$++){var _e=u.magnitudeSquared(u.sub(re[(C+1)%re.length],Pe[$])),Be=u.magnitudeSquared(u.sub(re[C],Pe[($+1)%Pe.length]));_e<ne&&Be<ne&&(re[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:f}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var d={bodies:[],pairs:null};return i.extend(d,l)},r.setBodies=function(l,d){l.bodies=d.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var d=[],u=l.pairs,h=l.bodies,f=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<f;g++){var 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<f;v++){var P=h[v],L=P.bounds;if(L.min.x>y)break;if(!(_<L.min.y||m>L.max.y)&&!(x&&(P.isStatic||P.isSleeping))&&c(S.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(b&&T===1){var C=p(S,P,u);C&&d.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&&d.push(C)}}}}}return d},r.canCollide=function(l,d){return l.group===d.group&&l.group!==0?l.group>0:(l.mask&d.category)!==0&&(d.mask&l.category)!==0},r._compareBoundsX=function(l,d){return l.bounds.min.x-d.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(d){var u=r._getRelativeMousePosition(d,l.element,l.pixelRatio),h=d.changedTouches;h&&(l.button=0,d.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=d},l.mousedown=function(d){var u=r._getRelativeMousePosition(d,l.element,l.pixelRatio),h=d.changedTouches;h?(l.button=0,d.preventDefault()):l.button=d.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=d},l.mouseup=function(d){var u=r._getRelativeMousePosition(d,l.element,l.pixelRatio),h=d.changedTouches;h&&d.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=d},l.mousewheel=function(d){l.wheelDelta=Math.max(-1,Math.min(1,d.wheelDelta||-d.detail)),d.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,d){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,f=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-f,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-f,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*d),y:v/(l.clientHeight/(l.height||l.clientHeight)*d)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],d=r.versionParse(a.version).number,u=r.versionParse(l.version).number;d>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):d<u?i.warn("Plugin.register:",r.toString(l),"can not be downgraded to",r.toString(a)):a!==l&&i.warn("Plugin.register:",r.toString(a),"is already registered to different plugin object")}else r._registry[a.name]=a;return a},r.resolve=function(a){return r._registry[r.dependencyParse(a).name]},r.toString=function(a){return typeof a=="string"?a:(a.name||"anonymous")+"@"+(a.version||a.range||"0.0.0")},r.isPlugin=function(a){return a&&a.name&&a.version&&a.install},r.isUsed=function(a,l){return a.used.indexOf(l)>-1},r.isFor=function(a,l){var d=a.for&&r.dependencyParse(a.for);return!a.for||l.name===d.name&&r.versionSatisfies(l.version,d.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var d=r.dependencies(a),u=i.topologicalSort(d),h=[],f=0;f<u.length;f+=1)if(u[f]!==a.name){var c=r.resolve(u[f]);if(!c){h.push("❌ "+u[f]);continue}r.isUsed(a,c.name)||(r.isFor(c,a)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(a)+"."),c._warned=!0),c.install?c.install(a):(i.warn("Plugin.use:",r.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+r.toString(c)),delete c._warned):h.push("✅ "+r.toString(c)),a.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(a,l){var d=r.dependencyParse(a),u=d.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(f){r.isPlugin(f)&&r.register(f);var c=r.dependencyParse(f),p=r.resolve(f);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(d)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(f),"used by",r.toString(d),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var d=l.exec(a),u=Number(d[4]),h=Number(d[5]),f=Number(d[6]);return{isRange:!!(d[1]||d[2]),version:d[3],range:a,operator:d[1]||d[2]||"",major:u,minor:h,patch:f,parts:[u,h,f],prerelease:d[7],number:u*1e8+h*1e4+f}},r.versionSatisfies=function(a,l){l=l||"*";var d=r.versionParse(l),u=r.versionParse(a);if(d.isRange){if(d.operator==="*"||a==="*")return!0;if(d.operator===">")return u.number>d.number;if(d.operator===">=")return u.number>=d.number;if(d.operator==="~")return u.major===d.major&&u.minor===d.minor&&u.patch>=d.patch;if(d.operator==="^")return d.major>0?u.major===d.major&&u.number>=d.number:d.minor>0?u.minor===d.minor&&u.patch>=d.patch:u.patch===d.patch}return a===l||a==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),a=o(18),l=o(13),d=o(19),u=o(5),h=o(6),f=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},S=c.extend(v,g);return S.world=g.world||h.create({label:"World"}),S.pairs=g.pairs||d.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),f.preSolveAll(P),E=0;E<g.constraintIterations;E++)f.solveAll(L,v);f.postSolveAll(P),y.pairs=g.pairs;var T=l.collisions(y);d.update(_,T,x),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),E=0;E<g.positionIterations;E++)a.solvePosition(_.list,v,C);for(a.postSolvePosition(P),f.preSolveAll(P),E=0;E<g.constraintIterations;E++)f.solveAll(L,v);for(f.postSolveAll(P),a.preSolveVelocity(_.list),E=0;E<g.velocityIterations;E++)a.solveVelocity(_.list,v);return r._bodiesUpdateVelocities(P),_.collisionActive.length>0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(P),u.trigger(g,"afterUpdate",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){d.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(d){var u,h,f,c=d.length;for(u=0;u<c;u++)h=d[u],h.isActive&&(f=h.activeContacts.length,h.collision.parentA.totalContacts+=f,h.collision.parentB.totalContacts+=f)},r.solvePosition=function(d,u,h){var f,c,p,g,v,S,w,y,_=r._positionDampen*(h||1),m=a.clamp(u/a._baseDelta,0,1),x=d.length;for(f=0;f<x;f++)c=d[f],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,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(f=0;f<x;f++)c=d[f],!(!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(d){for(var u=r._positionWarming,h=d.length,f=i.translate,c=l.update,p=0;p<h;p++){var g=d[p],v=g.positionImpulse,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[_];f(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(d){var u=d.length,h,f;for(h=0;h<u;h++){var c=d[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,S=v.parentA,w=v.parentB,y=v.normal,_=v.tangent;for(f=0;f<g;f++){var m=p[f],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(d,u){var h=u/a._baseDelta,f=h*h,c=f*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,S=r._frictionMaxStatic,w=d.length,y,_,m,x;for(m=0;m<w;m++){var E=d[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,ne=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 re=j[x],Pe=re.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,K=E.separation+I,B=Math.min(K,1);B=K<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=ne/(fe+P.inverseInertia*Q*Q+L.inverseInertia*R*R),M=(1+E.restitution)*I*k;if(y*=k,I<p)re.normalImpulse=0;else{var W=re.normalImpulse;re.normalImpulse+=M,re.normalImpulse>0&&(re.normalImpulse=0),M=re.normalImpulse-W}if(D<-g||D>g)re.tangentImpulse=0;else{var q=re.tangentImpulse;re.tangentImpulse+=y,re.tangentImpulse<-_&&(re.tangentImpulse=-_),re.tangentImpulse>_&&(re.tangentImpulse=_),y=re.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,d,u){var h=l.list,f=h.length,c=l.table,p=d.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<f;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)w=d[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(f=h.length,m=0;m<f;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),v.push(_),!_.collision.bodyA.isSleeping&&!_.collision.bodyB.isSleeping&&x.push(m));for(m=0;m<x.length;m++)y=x[m]-m,_=h[y],h.splice(y,1),delete c[_.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,s,o){var r=n.exports=o(21);r.Axes=o(11),r.Bodies=o(12),r.Body=o(4),r.Bounds=o(1),r.Collision=o(8),r.Common=o(0),r.Composite=o(6),r.Composites=o(22),r.Constraint=o(10),r.Contact=o(16),r.Detector=o(13),r.Engine=o(17),r.Events=o(5),r.Grid=o(23),r.Mouse=o(14),r.MouseConstraint=o(24),r.Pair=o(9),r.Pairs=o(19),r.Plugin=o(15),r.Query=o(25),r.Render=o(26),r.Resolver=o(18),r.Runner=o(27),r.SAT=o(28),r.Sleeping=o(7),r.Svg=o(29),r.Vector=o(2),r.Vertices=o(3),r.World=o(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,s,o){var r={};n.exports=r;var i=o(15),a=o(0);(function(){r.name="matter-js",r.version="0.19.0",r.uses=[],r.used=[],r.use=function(){i.use(r,Array.prototype.slice.call(arguments))},r.before=function(l,d){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,d)},r.after=function(l,d){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,d)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),a=o(10),l=o(0),d=o(4),u=o(12),h=l.deprecated;(function(){r.stack=function(f,c,p,g,v,S,w){for(var y=i.create({label:"Stack"}),_=f,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),d.translate(T,{x:O*.5,y:C*.5}),_=T.bounds.max.x+v,i.addBody(y,T),x=T,E+=1}else _+=v}m+=P+S,_=f}return y},r.chain=function(f,c,p,g,v,S){for(var w=f.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(f,a.create(T))}return f.label+=" Chain",f},r.mesh=function(f,c,p,g,v){var S=f.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(f,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(f,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(x=S[y-1+(w-1)*c],i.addConstraint(f,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&y<c-1&&(x=S[y+1+(w-1)*c],i.addConstraint(f,a.create(l.extend({bodyA:x,bodyB:m},v))))}return f.label+=" Mesh",f},r.pyramid=function(f,c,p,g,v,S,w){return r.stack(f,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&&d.translate(E,{x:(m+(p%2===1?1:-1))*L,y:0});var O=E?m*L:0;return w(f+O+m*v,_,m,x,E,b)}}})},r.newtonsCradle=function(f,c,p,g,v){for(var S=i.create({label:"Newtons Cradle"}),w=0;w<p;w++){var y=1.9,_=u.circle(f+w*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:f+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(f,c,p,g,v){var S=d.nextGroup(!0),w=20,y=-p*.5+w,_=p*.5-w,m=0,x=i.create({label:"Car"}),E=u.rectangle(f,c,p,g,{collisionFilter:{group:S},chamfer:{radius:g*.5},density:2e-4}),b=u.circle(f+y,c+m,v,{collisionFilter:{group:S},friction:.8}),P=u.circle(f+_,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(f,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(f,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(d){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,d)},r.update=function(d,u,h,f){var c,p,g,v=h.world,S=d.buckets,w,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!f)&&!(v.bounds&&(m.bounds.max.x<v.bounds.min.x||m.bounds.min.x>v.bounds.max.x||m.bounds.max.y<v.bounds.min.y||m.bounds.min.y>v.bounds.max.y))){var x=r._getRegion(d,m);if(!m.region||x.id!==m.region.id||f){(!m.region||f)&&(m.region=x);var E=r._regionUnion(x,m.region);for(p=E.startCol;p<=E.endCol;p++)for(g=E.startRow;g<=E.endRow;g++){y=r._getBucketId(p,g),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(d,w,m),(m.region===x||b&&!P||f)&&(w||(w=r._createBucket(S,y)),r._bucketAddBody(d,w,m))}m.region=x,_=!0}}}_&&(d.pairsList=r._createActivePairsList(d))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(d){d.buckets={},d.pairs={},d.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(d,u){var h=Math.min(d.startCol,u.startCol),f=Math.max(d.endCol,u.endCol),c=Math.min(d.startRow,u.startRow),p=Math.max(d.endRow,u.endRow);return r._createRegion(h,f,c,p)},r._getRegion=function(d,u){var h=u.bounds,f=Math.floor(h.min.x/d.bucketWidth),c=Math.floor(h.max.x/d.bucketWidth),p=Math.floor(h.min.y/d.bucketHeight),g=Math.floor(h.max.y/d.bucketHeight);return r._createRegion(f,c,p,g)},r._createRegion=function(d,u,h,f){return{id:d+","+u+","+h+","+f,startCol:d,endCol:u,startRow:h,endRow:f}},r._getBucketId=function(d,u){return"C"+d+"R"+u},r._createBucket=function(d,u){var h=d[u]=[];return h},r._bucketAddBody=function(d,u,h){var f=d.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var S=c(h,v),w=f[S];w?w[2]+=1:f[S]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(d,u,h){var f=d.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=f[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(d){var u,h=d.pairs,f=a.keys(h),c=f.length,p=[],g;for(g=0;g<c;g++)u=h[f[g]],u[2]>0?p.push(u):delete h[f[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),d=o(5),u=o(13),h=o(10),f=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var 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 d.on(g,"beforeUpdate",function(){var m=f.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),d.trigger(g,"startdrag",{mouse:S,body:y});break}}}else w.bodyB=g.body=null,w.pointB=null,y&&d.trigger(g,"enddrag",{mouse:S,body:y})},r._triggerEvents=function(g){var v=g.mouse,S=v.sourceEvents;S.mousemove&&d.trigger(g,"mousemove",{mouse:v}),S.mousedown&&d.trigger(g,"mousedown",{mouse:v}),S.mouseup&&d.trigger(g,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(8),l=o(1),d=o(12),u=o(3);(function(){r.collides=function(h,f){for(var c=[],p=f.length,g=h.bounds,v=a.collides,S=l.overlaps,w=0;w<p;w++){var y=f[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,f,c,p){p=p||1e-100;for(var g=i.angle(f,c),v=i.magnitude(i.sub(f,c)),S=(c.x+f.x)*.5,w=(c.y+f.y)*.5,y=d.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,f,c){for(var p=[],g=0;g<h.length;g++){var v=h[g],S=l.overlaps(v.bounds,f);(S&&!c||!S&&c)&&p.push(v)}return p},r.point=function(h,f){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,f))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var S=g.parts[v];if(l.contains(S.bounds,f)&&u.contains(S.vertices,f)){c.push(g);break}}}return c}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(0),l=o(6),d=o(1),u=o(5),h=o(2),f=o(14);(function(){var c,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(a.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(m){var x={engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!m.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},E=a.extend(x,m);return E.canvas&&(E.canvas.width=E.options.width||E.canvas.width,E.canvas.height=E.options.height||E.canvas.height),E.mouse=m.mouse,E.engine=m.engine,E.canvas=E.canvas||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,ne=$/F,fe=1,ue=1;ne>Y?ue=ne/Y:fe=Y/ne,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&&(f.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),f.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var x=m.bounds.max.x-m.bounds.min.x,E=m.bounds.max.y-m.bounds.min.y,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=[],ne,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(ne=0;ne<$.length;ne++){var ue=$[ne];d.overlaps(ue.bounds,m.bounds)&&j.push(ue)}for(ne=0;ne<F.length;ne++){var re=F[ne],Pe=re.bodyA,_e=re.bodyB,Be=re.pointA,de=re.pointB;Pe&&(Be=h.add(Pe.position,re.pointA)),_e&&(de=h.add(_e.position,re.pointB)),!(!Be||!de)&&(d.contains(m.bounds,Be)||d.contains(m.bounds,de))&&Y.push(re)}r.startViewTransform(m),m.mouse&&(f.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.options.width,y:(m.bounds.max.y-m.bounds.min.y)/m.options.height}),f.setOffset(m.mouse,m.bounds.min))}else Y=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 ne=j[Y];x.fillStyle="#aaa",x.fillText(Y,$+C,F+8),x.fillStyle="#eee",x.fillText(ne,$+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),ne=v(T),fe=ne/F||0,ue=1e3/F||0,re=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,re,P.length,Math.round(ue)+" fps",ue/r._goodFps,function(J){return P[J]/F-1}),r.status(x,de+Pe+_e,V,_e,re,C.length,$.toFixed(2)+" dt",r._goodDelta/$,function(J){return C[J]/j-1}),r.status(x,de+(Pe+_e)*2,V,_e,re,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,re,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,re,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 d,u;if(typeof window<"u"&&(d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!d){var h;d=function(f){h=setTimeout(function(){f(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(f){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},p=l.extend(c,f);return p.delta=p.delta||1e3/p.fps,p.deltaMin=p.deltaMin||1e3/p.fps,p.deltaMax=p.deltaMax||1e3/(p.fps*.5),p.fps=1e3/p.delta,p},r.run=function(f,c){return typeof f.positionIterations<"u"&&(c=f,f=r.create()),function p(g){f.frameRequestId=d(p),g&&f.enabled&&r.tick(f,c,g)}(),f},r.tick=function(f,c,p){var g=c.timing,v;f.isFixed?v=f.delta:(v=p-f.timePrev||f.delta,f.timePrev=p,f.deltaHistory.push(v),f.deltaHistory=f.deltaHistory.slice(-f.deltaSampleSize),v=Math.min.apply(null,f.deltaHistory),v=v<f.deltaMin?f.deltaMin:v,v=v>f.deltaMax?f.deltaMax:v,f.delta=v);var S={timestamp:g.timestamp};i.trigger(f,"beforeTick",S),f.frameCounter+=1,p-f.counterTimestamp>=1e3&&(f.fps=f.frameCounter*((p-f.counterTimestamp)/1e3),f.counterTimestamp=p,f.frameCounter=0),i.trigger(f,"tick",S),i.trigger(f,"beforeUpdate",S),a.update(c,v),i.trigger(f,"afterUpdate",S),i.trigger(f,"afterTick",S)},r.stop=function(f){u(f.frameRequestId)},r.start=function(f,c){r.run(f,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(d,u){return i.collides(d,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var d,u,h,f,c,p,g,v,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=[],d=0;d<a.pathSegList.numberOfItems;d+=1)p.push(a.pathSegList.getItem(d));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":f=a.getPointAtLength(x),P(f.x,f.y,0);break}x+=l}for(d=0,u=g.length;d<u;++d)L(g[d]);return y},r._svgPathToAbsolute=function(a){for(var l,d,u,h,f,c,p=a.pathSegList,g=0,v=0,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&&(f=g+y.x2),"y1"in y&&(h=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(g+=y.x),"y"in y&&(v+=y.y),_){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),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,f,c),w);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,f,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=d;break}(_=="M"||_=="m")&&(l=g,d=v)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(6);o(0),function(){r.create=i.create,r.add=i.add,r.remove=i.remove,r.clear=i.clear,r.addComposite=i.addComposite,r.addBody=i.addBody,r.addConstraint=i.addConstraint}()}])})}(Ss)),Ss.exports}var Xt=pS();const eh=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href;function Hc(){return localStorage.getItem("cookie")==null}function gS(){localStorage.setItem("cookie","accept")}function mS(){localStorage.setItem("cookie","refuse")}const th=["cookie","future","change-something","picture-bright","picture-nolights"];function vS(e){if(!th.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 Ea(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Uc(){return Ea().length}function yS(){return th.length}function Dw(e){return e[Math.floor(Math.random()*e.length)]}function nh(e,t){return Math.random()*(t-e)+e}function _S(e,t){return Math.floor(nh(e,t))}const xS={key:0,class:"w-full h-full","data-nosnippet":""},SS=["width","height"],wS={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"},ES={class:"text-sm"},bS={class:"text-xs"},CS={class:"flex justify-end mt-2 text-sm"},PS=et({__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=Hc(),o.value=d(),r.value=u(),Hc()&&(await Sn(),f(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){gS(),s.value=!1}function l(){mS(),s.value=!1}function d(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=d(),r.value=u()}function f(){if(!i){i=Xt.Engine.create();let g=Xt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:d(),height:u(),wireframes:!1,background:"#00000000"}});Xt.Render.run(g),Xt.Runner.run(Xt.Runner.create(),i)}h()}function c(){if(vS("cookie"),!i)return;let g=Xt.Bodies.circle(_S(0,d()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:eh,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>d()/2?-1:1),y:-v*nh(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=wo;return ye(),ze(S,null,{default:wn(()=>[te(s)?(ye(),lt("div",xS,[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,SS)],512),ie("div",wS,[ie("p",ES,Ae(g.$t("cookie policy title")),1),ie("div",bS,[ie("span",null,[ro(Ae(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},Ae(g.$t("cookie policy link")),1)])]),ie("div",CS,[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})}}}),ba=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},TS={},LS={class:"flex justify-center text-sm"},RS={class:"flex-1 ml-2"},kS={class:"font-bold text-base"};function AS(e,t){return ye(),lt("div",LS,[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:eh,alt:"",class:"h-full w-full"})])],-1)),ie("div",RS,[ie("p",kS,Ae(e.$t("cookie.title")),1),ie("p",null,Ae(e.$t("cookie.description")),1)])])}const IS=ba(TS,[["render",AS]]),OS=""+new URL("future.Byi108RQ.png",import.meta.url).href,MS={},NS={class:"flex text-sm"},DS={class:"flex-1 ml-2"},FS={class:"font-bold text-base"};function $S(e,t){return ye(),lt("div",NS,[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:OS,alt:"",class:"h-full w-full"})])],-1)),ie("div",DS,[ie("p",FS,Ae(e.$t("future.title")),1),ie("p",null,Ae(e.$t("future.description")),1)])])}const HS=ba(MS,[["render",$S]]),US="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",BS={},VS={class:"flex text-sm"},jS={class:"flex-1 ml-2"},WS={class:"font-bold text-base"};function KS(e,t){return ye(),lt("div",VS,[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:US,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",jS,[ie("p",WS,Ae(e.$t("something.title")),1),ie("p",null,Ae(e.$t("something.description")),1)])])}const GS=ba(BS,[["render",KS]]),YS=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,XS={class:"flex text-sm"},qS={class:"flex-1 ml-2"},JS={class:"font-bold text-base"},QS={key:0},zS={key:1},ZS=et({__name:"PictureBrightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Ea().includes("picture-nolights")}),(n,s)=>{const o=wo;return ye(),ze(o,null,{default:wn(()=>[ie("div",XS,[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:YS,alt:"",class:"h-full w-full"})])],-1)),ie("div",qS,[ie("p",JS,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",zS,Ae(n.$t("bright_either.description")),1)):ft("",!0)])])]),_:1})}}}),ew=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,tw={class:"flex text-sm"},nw={class:"flex-1 ml-2"},rw={class:"font-bold text-base"},sw={key:0},ow={key:1},iw=et({__name:"PictureNoLightEgg",setup(e){const t=Ce(!1);return bt(()=>{t.value=Ea().includes("picture-bright")}),(n,s)=>{const o=wo;return ye(),ze(o,null,{default:wn(()=>[ie("div",tw,[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:ew,alt:"",class:"h-full w-full"})])],-1)),ie("div",nw,[ie("p",rw,Ae(n.$t("dark.title")),1),te(t)?ft("",!0):(ye(),lt("p",sw,Ae(n.$t("dark.description")),1)),te(t)?(ye(),lt("p",ow,Ae(n.$t("dark_either.description")),1)):ft("",!0)])])]),_:1})}}}),aw={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},lw={class:"flex text-sm"},cw={class:"flex-1"},uw={class:"mt-1 text-center"},fw={key:0},dw={key:1},hw=et({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ce(!1),s=Ce(""),o=Ce(yS()),r=Ce(0);bt(()=>{r.value=Uc()});let i=null;function a(d){s.value=d,r.value=Uc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(d,u)=>{const h=IS,f=HS,c=GS,p=ZS,g=iw,v=wo;return ye(),ze(v,null,{default:wn(()=>[te(n)?(ye(),lt("div",aw,[ie("div",{class:qs(`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",lw,[ie("div",cw,[te(s)==="cookie"?(ye(),ze(h,{key:0})):ft("",!0),te(s)==="future"?(ye(),ze(f,{key:1})):ft("",!0),te(s)==="change-something"?(ye(),ze(c,{key:2})):ft("",!0),te(s)==="picture-bright"?(ye(),ze(p,{key:3})):ft("",!0),te(s)==="picture-nolights"?(ye(),ze(g,{key:4})):ft("",!0),ie("div",uw,[te(r)!=te(o)?(ye(),lt("p",fw,Ae(te(r))+"/"+Ae(te(o))+" "+Ae(d.$t("easter eggs found")),1)):ft("",!0),te(r)===te(o)?(ye(),lt("p",dw,Ae(d.$t("all easter eggs found")),1)):ft("",!0)])])])],2)])):ft("",!0)]),_:1})}}});function rh(){return localStorage.getItem("theme")??"dark"}function pw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function Fw(){pw(rh()==="dark"?"light":"dark")}function sh(e){switch(e||(e=rh()),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 gw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},mw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},vw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},yw={__name:"app",setup(e){const{locale:t}=So(),n=Ce(),s=Ce(!1);return bt(()=>{sh(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),El({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=>{El({htmlAttrs:{lang:o}})}),(o,r)=>{const i=oS,a=uS,l=PS,d=hw;return te(s)?(ye(),lt("div",gw,[ie("div",mw,[ie("div",vw,[Ie(a,null,{default:wn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(d,{ref_key:"easteregg",ref:n},null,512)])):ft("",!0)}}};async function oh(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(()=>oh(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 _w=(...e)=>e.find(t=>t!==void 0);function xw(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 Bc(r,e.trailingSlash);const a="path"in r&&r.path!==void 0?r.path:i(r).path;return{...r,name:void 0,path:Bc(a,e.trailingSlash)}}function o(r){const i=Ze(),a=gt(),l=me(()=>!!r.target&&r.target!=="_self"),d=me(()=>{const v=r.to||r.href||"";return typeof v=="string"&&Ct(v,{acceptRelative:!0})}),u=Ma("RouterLink"),h=u&&typeof u!="string"?u.useLink:void 0,f=me(()=>{if(r.external)return!0;const v=r.to||r.href||"";return typeof v=="object"?!1:v===""||d.value}),c=me(()=>{const v=r.to||r.href||"";return f.value?v:s(v,i.resolve)}),p=f.value||h==null?void 0:h({...r,to:c}),g=me(()=>{var v;if(!c.value||d.value||n(c.value))return c.value;if(f.value){const S=typeof c.value=="object"&&"path"in c.value?xi(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:d,isExternal:f,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 If(g.value,{replace:r.replace,external:f.value||l.value})}}}return et({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:d,navigate:u,isExternal:h,hasTarget:f,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"&&!bw()}async function w(y=ge()){if(p.value)return;p.value=!0;const _=typeof l.value=="string"?l.value:h.value?xi(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&&!f.value&&oh(l.value,a).catch(()=>{})])}if(S("visibility")){const y=ge();let _,m=null;bt(()=>{const x=ww();uo(()=>{_=Ri(()=>{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(()=>{_&&N0(_),m==null||m(),m=null})}return()=>{var m;if(!h.value&&!f.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(Ma("RouterLink"),x,i.default)}const y=r.target||null,_=_w(r.noRel?"":r.rel,e.externalRelAttribute,c.value||f.value?"noopener noreferrer":"")||null;return r.custom?i.default?i.default({href:d.value,navigate:u,prefetch:w,get route(){if(!d.value)return;const x=new URL(d.value,window.location.href);return{path:x.pathname,fullPath:x.pathname,get query(){return oa(x.search)},hash:x.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:d.value}},rel:_,target:y,isExternal:h.value||f.value,isActive:!1,isExactActive:!1}):null:Xe("a",{ref:g,href:d.value||null,rel:_,target:y},(m=i.default)==null?void 0:m.call(i))}}})}const Sw=xw(Bm);function Bc(e,t){const n=t==="append"?$r:Jr;return Ct(e)&&!e.startsWith("http")?e:n(e,!0)}function ww(){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 d=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&d&&d()}})),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 Ew=/2g/;function bw(){const e=navigator.connection;return!!(e&&(e.saveData||Ew.test(e.effectiveType)))}const Cw=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,Pw={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"}},Tw={class:"text-2xl md:text-4xl text-center"},Lw=et({__name:"error",setup(e){const t=q1();return bt(()=>{sh()}),(n,s)=>{const o=Sw;return ye(),lt("div",Pw,[ie("div",null,[ie("p",Tw,Ae(n.$t("wrong directions")),1),s[0]||(s[0]=ie("img",{src:Cw,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(()=>[ro(Ae(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),Rw={key:0},Vc={__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;yn(Qr,oo()),n.hooks.callHookWith(l=>l.map(d=>d()),"vue:setup");const r=io(),i=!1;Iu((l,d,u)=>{if(n.hooks.callHook("vue:error",l,d,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),uv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Jn(l)),!1});const a=!1;return(l,d)=>(ye(),ze(na,{onResolve:te(s)},{default:wn(()=>[te(i)?(ye(),lt("div",Rw)):te(r)?(ye(),ze(te(Lw),{key:1,error:te(r)},null,8,["error"])):te(a)?(ye(),ze(te(t),{key:2,context:te(a)},null,8,["context"])):te(o)?(ye(),ze(mp(te(o)),{key:3})):(ye(),ze(te(yw),{key:4}))]),_:1},8,["onResolve"]))}};let jc;{let e;jc=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")?Mg(Vc):Og(Vc),o=Gm({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||ao(l)}s.config.errorHandler=r,o.hook("app:suspense:resolve",()=>{s.config.errorHandler===r&&(s.config.errorHandler=void 0)});try{await qm(o,rS)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(jm),await o.hooks.callHook("app:mounted",s),await Sn()}catch(l){r(l)}return s},e=jc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Mw as A,ji as B,Fw as C,sh as D,J1 as E,Ge as F,Sw as G,q1 as H,Ze as I,ba as _,oo as a,vS as b,lt as c,et as d,ye as e,ie as f,rh as g,ft as h,te as i,El as j,me as k,pt as l,Ie as m,wn as n,bt as o,ro as p,Dw as q,Ce as r,Ow as s,Ae as t,So as u,Nw as v,Aw as w,Iw as x,qs as y,ze as z};
|