Files
notxia.github.io/_nuxt/DsR9bTA4.js
2024-09-01 12:10:55 +00:00

71 lines
331 KiB
JavaScript
Raw Blame History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Cm6eDevr.js","./gp3R1XhC.js","./CDMOTDx0.js","./about.Qgb6cIti.css","./CtYY8nYG.js","./Rhmp7Oc8.js","./CVNCbySV.js","./Br7Q6h9A.js","./resume.BPaN6Kc6.css"])))=>i.map(i=>d[i]);
/**
* @vue/shared v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function _i(e,t){const n=new Set(e.split(","));return o=>n.has(o)}const Re={},Un=[],vt=()=>{},Nd=()=>!1,Ir=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),xi=e=>e.startsWith("onUpdate:"),Ke=Object.assign,wi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Md=Object.prototype.hasOwnProperty,ge=(e,t)=>Md.call(e,t),ae=Array.isArray,Vn=e=>Or(e)==="[object Map]",Tc=e=>Or(e)==="[object Set]",Dd=e=>Or(e)==="[object RegExp]",le=e=>typeof e=="function",Oe=e=>typeof e=="string",cn=e=>typeof e=="symbol",Le=e=>e!==null&&typeof e=="object",Lc=e=>(Le(e)||le(e))&&le(e.then)&&le(e.catch),Rc=Object.prototype.toString,Or=e=>Rc.call(e),Fd=e=>Or(e).slice(8,-1),kc=e=>Or(e)==="[object Object]",Ei=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jn=_i(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Io=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$d=/-(\w)/g,Tt=Io(e=>e.replace($d,(t,n)=>n?n.toUpperCase():"")),Hd=/\B([A-Z])/g,An=Io(e=>e.replace(Hd,"-$1").toLowerCase()),Oo=Io(e=>e.charAt(0).toUpperCase()+e.slice(1)),as=Io(e=>e?`on${Oo(e)}`:""),an=(e,t)=>!Object.is(e,t),fr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ac=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Bd=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ic=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let fa;const Oc=()=>fa||(fa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Si(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Oe(o)?Wd(o):Si(o);if(s)for(const r in s)t[r]=s[r]}return t}else if(Oe(e)||Le(e))return e}const Ud=/;(?![^(]*\))/g,Vd=/:([^]+)/,jd=/\/\*[^]*?\*\//g;function Wd(e){const t={};return e.replace(jd,"").split(Ud).forEach(n=>{if(n){const o=n.split(Vd);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function No(e){let t="";if(Oe(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const o=No(e[n]);o&&(t+=o+" ")}else if(Le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Kd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gd=_i(Kd);function Nc(e){return!!e||e===""}const Mc=e=>!!(e&&e.__v_isRef===!0),ke=e=>Oe(e)?e:e==null?"":ae(e)||Le(e)&&(e.toString===Rc||!le(e.toString))?Mc(e)?ke(e.value):JSON.stringify(e,Dc,2):String(e),Dc=(e,t)=>Mc(t)?Dc(e,t.value):Vn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],r)=>(n[ls(o,r)+" =>"]=s,n),{})}:Tc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ls(n))}:cn(t)?ls(t):Le(t)&&!ae(t)&&!kc(t)?String(t):t,ls=(e,t="")=>{var n;return cn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let dt;class Fc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dt,!t&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=dt;try{return dt=this,t()}finally{dt=n}}}on(){dt=this}off(){dt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function bi(e){return new Fc(e)}function Xd(e,t=dt){t&&t.active&&t.effects.push(e)}function Mo(){return dt}function Ls(e){dt&&dt.cleanups.push(e)}let Pn;class Ci{constructor(t,n,o,s){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Xd(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,un();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Yd(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),fn()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=nn,n=Pn;try{return nn=!0,Pn=this,this._runnings++,da(this),this.fn()}finally{ha(this),this._runnings--,Pn=n,nn=t}}stop(){this.active&&(da(this),ha(this),this.onStop&&this.onStop(),this.active=!1)}}function Yd(e){return e.value}function da(e){e._trackId++,e._depsLength=0}function ha(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)$c(e.deps[t],e);e.deps.length=e._depsLength}}function $c(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let nn=!0,Rs=0;const Hc=[];function un(){Hc.push(nn),nn=!1}function fn(){const e=Hc.pop();nn=e===void 0?!0:e}function Pi(){Rs++}function Ti(){for(Rs--;!Rs&&ks.length;)ks.shift()()}function Bc(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&$c(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const ks=[];function Uc(e,t,n){Pi();for(const o of e.keys()){let s;o._dirtyLevel<t&&(s??(s=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(s??(s=e.get(o)===o._trackId))&&(o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&ks.push(o.scheduler)))}Ti()}const Vc=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},uo=new WeakMap,Tn=Symbol(""),As=Symbol("");function lt(e,t,n){if(nn&&Pn){let o=uo.get(e);o||uo.set(e,o=new Map);let s=o.get(n);s||o.set(n,s=Vc(()=>o.delete(n))),Bc(Pn,s)}}function Vt(e,t,n,o,s,r){const i=uo.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ae(e)){const l=Number(o);i.forEach((f,u)=>{(u==="length"||!cn(u)&&u>=l)&&a.push(f)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ae(e)?Ei(n)&&a.push(i.get("length")):(a.push(i.get(Tn)),Vn(e)&&a.push(i.get(As)));break;case"delete":ae(e)||(a.push(i.get(Tn)),Vn(e)&&a.push(i.get(As)));break;case"set":Vn(e)&&a.push(i.get(Tn));break}Pi();for(const l of a)l&&Uc(l,4);Ti()}function qd(e,t){const n=uo.get(e);return n&&n.get(t)}const Jd=_i("__proto__,__v_isRef,__isVue"),jc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(cn)),pa=Qd();function Qd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ye(this);for(let r=0,i=this.length;r<i;r++)lt(o,"get",r+"");const s=o[t](...n);return s===-1||s===!1?o[t](...n.map(ye)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){un(),Pi();const o=ye(this)[t].apply(this,n);return Ti(),fn(),o}}),e}function zd(e){cn(e)||(e=String(e));const t=ye(this);return lt(t,"has",e),t.hasOwnProperty(e)}class Wc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const s=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return o===(s?r?fh:Yc:r?Xc:Gc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const i=ae(t);if(!s){if(i&&ge(pa,n))return Reflect.get(pa,n,o);if(n==="hasOwnProperty")return zd}const a=Reflect.get(t,n,o);return(cn(n)?jc.has(n):Jd(n))||(s||lt(t,"get",n),r)?a:$e(a)?i&&Ei(n)?a:a.value:Le(a)?s?qc(a):dn(a):a}}class Kc extends Wc{constructor(t=!1){super(!1,t)}set(t,n,o,s){let r=t[n];if(!this._isShallow){const l=ln(r);if(!Xn(o)&&!ln(o)&&(r=ye(r),o=ye(o)),!ae(t)&&$e(r)&&!$e(o))return l?!1:(r.value=o,!0)}const i=ae(t)&&Ei(n)?Number(n)<t.length:ge(t,n),a=Reflect.set(t,n,o,s);return t===ye(s)&&(i?an(o,r)&&Vt(t,"set",n,o):Vt(t,"add",n,o)),a}deleteProperty(t,n){const o=ge(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&Vt(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!cn(n)||!jc.has(n))&&lt(t,"has",n),o}ownKeys(t){return lt(t,"iterate",ae(t)?"length":Tn),Reflect.ownKeys(t)}}class Zd extends Wc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const eh=new Kc,th=new Zd,nh=new Kc(!0);const Li=e=>e,Do=e=>Reflect.getPrototypeOf(e);function Vr(e,t,n=!1,o=!1){e=e.__v_raw;const s=ye(e),r=ye(t);n||(an(t,r)&&lt(s,"get",t),lt(s,"get",r));const{has:i}=Do(s),a=o?Li:n?Ai:xr;if(i.call(s,t))return a(e.get(t));if(i.call(s,r))return a(e.get(r));e!==s&&e.get(t)}function jr(e,t=!1){const n=this.__v_raw,o=ye(n),s=ye(e);return t||(an(e,s)&&lt(o,"has",e),lt(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Wr(e,t=!1){return e=e.__v_raw,!t&&lt(ye(e),"iterate",Tn),Reflect.get(e,"size",e)}function ga(e,t=!1){!t&&!Xn(e)&&!ln(e)&&(e=ye(e));const n=ye(this);return Do(n).has.call(n,e)||(n.add(e),Vt(n,"add",e,e)),this}function ma(e,t,n=!1){!n&&!Xn(t)&&!ln(t)&&(t=ye(t));const o=ye(this),{has:s,get:r}=Do(o);let i=s.call(o,e);i||(e=ye(e),i=s.call(o,e));const a=r.call(o,e);return o.set(e,t),i?an(t,a)&&Vt(o,"set",e,t):Vt(o,"add",e,t),this}function va(e){const t=ye(this),{has:n,get:o}=Do(t);let s=n.call(t,e);s||(e=ye(e),s=n.call(t,e)),o&&o.call(t,e);const r=t.delete(e);return s&&Vt(t,"delete",e,void 0),r}function ya(){const e=ye(this),t=e.size!==0,n=e.clear();return t&&Vt(e,"clear",void 0,void 0),n}function Kr(e,t){return function(o,s){const r=this,i=r.__v_raw,a=ye(i),l=t?Li:e?Ai:xr;return!e&&lt(a,"iterate",Tn),i.forEach((f,u)=>o.call(s,l(f),l(u),r))}}function Gr(e,t,n){return function(...o){const s=this.__v_raw,r=ye(s),i=Vn(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=s[e](...o),u=n?Li:t?Ai:xr;return!t&&lt(r,"iterate",l?As:Tn),{next(){const{value:h,done:d}=f.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function Kt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function rh(){const e={get(r){return Vr(this,r)},get size(){return Wr(this)},has:jr,add:ga,set:ma,delete:va,clear:ya,forEach:Kr(!1,!1)},t={get(r){return Vr(this,r,!1,!0)},get size(){return Wr(this)},has:jr,add(r){return ga.call(this,r,!0)},set(r,i){return ma.call(this,r,i,!0)},delete:va,clear:ya,forEach:Kr(!1,!0)},n={get(r){return Vr(this,r,!0)},get size(){return Wr(this,!0)},has(r){return jr.call(this,r,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:Kr(!0,!1)},o={get(r){return Vr(this,r,!0,!0)},get size(){return Wr(this,!0)},has(r){return jr.call(this,r,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:Kr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Gr(r,!1,!1),n[r]=Gr(r,!0,!1),t[r]=Gr(r,!1,!0),o[r]=Gr(r,!0,!0)}),[e,n,t,o]}const[oh,sh,ih,ah]=rh();function Ri(e,t){const n=t?e?ah:ih:e?sh:oh;return(o,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(ge(n,s)&&s in o?n:o,s,r)}const lh={get:Ri(!1,!1)},ch={get:Ri(!1,!0)},uh={get:Ri(!0,!1)};const Gc=new WeakMap,Xc=new WeakMap,Yc=new WeakMap,fh=new WeakMap;function dh(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:dh(Fd(e))}function dn(e){return ln(e)?e:ki(e,!1,eh,lh,Gc)}function Bt(e){return ki(e,!1,nh,ch,Xc)}function qc(e){return ki(e,!0,th,uh,Yc)}function ki(e,t,n,o,s){if(!Le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const i=hh(e);if(i===0)return e;const a=new Proxy(e,i===2?o:n);return s.set(e,a),a}function Wn(e){return ln(e)?Wn(e.__v_raw):!!(e&&e.__v_isReactive)}function ln(e){return!!(e&&e.__v_isReadonly)}function Xn(e){return!!(e&&e.__v_isShallow)}function Jc(e){return e?!!e.__v_raw:!1}function ye(e){const t=e&&e.__v_raw;return t?ye(t):e}function ph(e){return Object.isExtensible(e)&&Ac(e,"__v_skip",!0),e}const xr=e=>Le(e)?dn(e):e,Ai=e=>Le(e)?qc(e):e;class Qc{constructor(t,n,o,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ci(()=>t(this._value),()=>dr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=ye(this);return(!t._cacheable||t.effect.dirty)&&an(t._value,t._value=t.effect.run())&&dr(t,4),Ii(t),t.effect._dirtyLevel>=2&&dr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function gh(e,t,n=!1){let o,s;const r=le(e);return r?(o=e,s=vt):(o=e.get,s=e.set),new Qc(o,s,r||!s,n)}function Ii(e){var t;nn&&Pn&&(e=ye(e),Bc(Pn,(t=e.dep)!=null?t:e.dep=Vc(()=>e.dep=void 0,e instanceof Qc?e:void 0)))}function dr(e,t=4,n,o){e=ye(e);const s=e.dep;s&&Uc(s,t)}function $e(e){return!!(e&&e.__v_isRef===!0)}function be(e){return zc(e,!1)}function Yn(e){return zc(e,!0)}function zc(e,t){return $e(e)?e:new mh(e,t)}class mh{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ye(t),this._value=n?t:xr(t)}get value(){return Ii(this),this._value}set value(t){const n=this.__v_isShallow||Xn(t)||ln(t);t=n?t:ye(t),an(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:xr(t),dr(this,4))}}function te(e){return $e(e)?e.value:e}const vh={get:(e,t,n)=>te(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return $e(s)&&!$e(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Zc(e){return Wn(e)?e:new Proxy(e,vh)}class yh{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Ii(this),()=>dr(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function _h(e){return new yh(e)}class xh{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qd(ye(this._object),this._key)}}class wh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function eu(e,t,n){return $e(e)?e:le(e)?new wh(e):Le(e)&&arguments.length>1?Eh(e,t,n):be(e)}function Eh(e,t,n){const o=e[t];return $e(o)?o:new xh(e,t,n)}/**
* @vue/runtime-core v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function rn(e,t,n,o){try{return o?e(...o):e()}catch(s){Nr(s,t,n)}}function yt(e,t,n,o){if(le(e)){const s=rn(e,t,n,o);return s&&Lc(s)&&s.catch(r=>{Nr(r,t,n)}),s}if(ae(e)){const s=[];for(let r=0;r<e.length;r++)s.push(yt(e[r],t,n,o));return s}}function Nr(e,t,n,o=!0){const s=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const f=r.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,i,a)===!1)return}r=r.parent}const l=t.appContext.config.errorHandler;if(l){un(),rn(l,null,10,[e,i,a]),fn();return}}Sh(e,n,s,o)}function Sh(e,t,n,o=!0){console.error(e)}let wr=!1,Is=!1;const Qe=[];let Ot=0;const Kn=[];let qt=null,Cn=0;const tu=Promise.resolve();let Oi=null;function hn(e){const t=Oi||tu;return e?t.then(this?e.bind(this):e):t}function bh(e){let t=Ot+1,n=Qe.length;for(;t<n;){const o=t+n>>>1,s=Qe[o],r=Er(s);r<e||r===e&&s.pre?t=o+1:n=o}return t}function Ni(e){(!Qe.length||!Qe.includes(e,wr&&e.allowRecurse?Ot+1:Ot))&&(e.id==null?Qe.push(e):Qe.splice(bh(e.id),0,e),nu())}function nu(){!wr&&!Is&&(Is=!0,Oi=tu.then(ru))}function Ch(e){const t=Qe.indexOf(e);t>Ot&&Qe.splice(t,1)}function Os(e){ae(e)?Kn.push(...e):(!qt||!qt.includes(e,e.allowRecurse?Cn+1:Cn))&&Kn.push(e),nu()}function _a(e,t,n=wr?Ot+1:0){for(;n<Qe.length;n++){const o=Qe[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;Qe.splice(n,1),n--,o()}}}function fo(e){if(Kn.length){const t=[...new Set(Kn)].sort((n,o)=>Er(n)-Er(o));if(Kn.length=0,qt){qt.push(...t);return}for(qt=t,Cn=0;Cn<qt.length;Cn++){const n=qt[Cn];n.active!==!1&&n()}qt=null,Cn=0}}const Er=e=>e.id==null?1/0:e.id,Ph=(e,t)=>{const n=Er(e)-Er(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ru(e){Is=!1,wr=!0,Qe.sort(Ph);try{for(Ot=0;Ot<Qe.length;Ot++){const t=Qe[Ot];t&&t.active!==!1&&rn(t,t.i,t.i?15:14)}}finally{Ot=0,Qe.length=0,fo(),wr=!1,Oi=null,(Qe.length||Kn.length)&&ru()}}let He=null,ou=null;function ho(e){const t=He;return He=e,ou=e&&e.type.__scopeId||null,t}function pn(e,t=He,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Aa(-1);const r=ho(t);let i;try{i=e(...s)}finally{ho(r),o._d&&Aa(1)}return i};return o._n=!0,o._c=!0,o._d=!0,o}function Vw(e,t){if(He===null)return e;const n=Vo(He),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[r,i,a,l=Re]=t[s];r&&(le(r)&&(r={mounted:r,updated:r}),r.deep&&en(i),o.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function It(e,t,n,o){const s=e.dirs,r=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];r&&(a.oldValue=r[i].value);let l=a.dir[o];l&&(un(),yt(l,n,8,[e.el,a,e,t]),fn())}}const Jt=Symbol("_leaveCb"),Xr=Symbol("_enterCb");function Th(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return xt(()=>{e.isMounted=!0}),Mr(()=>{e.isUnmounting=!0}),e}const pt=[Function,Array],su={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:pt,onEnter:pt,onAfterEnter:pt,onEnterCancelled:pt,onBeforeLeave:pt,onLeave:pt,onAfterLeave:pt,onLeaveCancelled:pt,onBeforeAppear:pt,onAppear:pt,onAfterAppear:pt,onAppearCancelled:pt},iu=e=>{const t=e.subTree;return t.component?iu(t.component):t},Lh={name:"BaseTransition",props:su,setup(e,{slots:t}){const n=In(),o=Th();return()=>{const s=t.default&&lu(t.default(),!0);if(!s||!s.length)return;let r=s[0];if(s.length>1){for(const d of s)if(d.type!==Ue){r=d;break}}const i=ye(e),{mode:a}=i;if(o.isLeaving)return cs(r);const l=xa(r);if(!l)return cs(r);let f=Ns(l,i,o,n,d=>f=d);Sr(l,f);const u=n.subTree,h=u&&xa(u);if(h&&h.type!==Ue&&!Ct(l,h)&&iu(n).type!==Ue){const d=Ns(h,i,o,n);if(Sr(h,d),a==="out-in"&&l.type!==Ue)return o.isLeaving=!0,d.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},cs(r);a==="in-out"&&l.type!==Ue&&(d.delayLeave=(c,p,g)=>{const v=au(o,h);v[String(h.key)]=h,c[Jt]=()=>{p(),c[Jt]=void 0,delete f.delayedLeave},f.delayedLeave=g})}return r}}},Rh=Lh;function au(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Ns(e,t,n,o,s){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:f,onAfterEnter:u,onEnterCancelled:h,onBeforeLeave:d,onLeave:c,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:w,onAfterAppear:E,onAppearCancelled:y}=t,_=String(e.key),m=au(n,e),x=(P,L)=>{P&&yt(P,o,9,L)},S=(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[Jt]&&P[Jt](!0);const T=m[_];T&&Ct(e,T)&&T.el[Jt]&&T.el[Jt](),x(L,[P])},enter(P){let L=f,T=u,C=h;if(!n.isMounted)if(r)L=w||f,T=E||u,C=y||h;else return;let O=!1;const $=P[Xr]=F=>{O||(O=!0,F?x(C,[P]):x(T,[P]),b.delayedLeave&&b.delayedLeave(),P[Xr]=void 0)};L?S(L,[P,$]):$()},leave(P,L){const T=String(e.key);if(P[Xr]&&P[Xr](!0),n.isUnmounting)return L();x(d,[P]);let C=!1;const O=P[Jt]=$=>{C||(C=!0,L(),$?x(g,[P]):x(p,[P]),P[Jt]=void 0,m[T]===e&&delete m[T])};m[T]=e,c?S(c,[P,O]):O()},clone(P){const L=Ns(P,t,n,o,s);return s&&s(L),L}};return b}function cs(e){if(Fo(e))return e=jt(e),e.children=null,e}function xa(e){if(!Fo(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&le(n.default))return n.default()}}function Sr(e,t){e.shapeFlag&6&&e.component?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 lu(e,t=!1,n){let o=[],s=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&&s++,o=o.concat(lu(i.children,t,a))):(t||i.type!==Ue)&&o.push(a!=null?jt(i,{key:a}):i)}if(s>1)for(let r=0;r<o.length;r++)o[r].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ye(e,t){return le(e)?Ke({name:e.name},t,{setup:e}):e}const Ln=e=>!!e.type.__asyncLoader,Fo=e=>e.type.__isKeepAlive,kh={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=In(),o=n.ctx;if(!o.renderer)return()=>{const E=t.default&&t.default();return E&&E.length===1?E[0]:E};const s=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:f,um:u,o:{createElement:h}}}=o,d=h("div");o.activate=(E,y,_,m,x)=>{const S=E.component;f(E,y,_,0,a),l(S.vnode,E,y,_,S,a,m,E.slotScopeIds,x),Be(()=>{S.isDeactivated=!1,S.a&&fr(S.a);const b=E.props&&E.props.onVnodeMounted;b&&rt(b,S.parent,E)},a)},o.deactivate=E=>{const y=E.component;mo(y.m),mo(y.a),f(E,d,null,1,a),Be(()=>{y.da&&fr(y.da);const _=E.props&&E.props.onVnodeUnmounted;_&&rt(_,y.parent,E),y.isDeactivated=!0},a)};function c(E){us(E),u(E,n,a,!0)}function p(E){s.forEach((y,_)=>{const m=js(y.type);m&&(!E||!E(m))&&g(_)})}function g(E){const y=s.get(E);y&&(!i||!Ct(y,i))?c(y):i&&us(i),s.delete(E),r.delete(E)}at(()=>[e.include,e.exclude],([E,y])=>{E&&p(_=>cr(E,_)),y&&p(_=>!cr(y,_))},{flush:"post",deep:!0});let v=null;const w=()=>{v!=null&&(Hs(n.subTree.type)?Be(()=>{s.set(v,Yr(n.subTree))},n.subTree.suspense):s.set(v,Yr(n.subTree)))};return xt(w),du(w),Mr(()=>{s.forEach(E=>{const{subTree:y,suspense:_}=n,m=Yr(y);if(E.type===m.type&&E.key===m.key){us(m);const x=m.component.da;x&&Be(x,_);return}c(E)})}),()=>{if(v=null,!t.default)return null;const E=t.default(),y=E[0];if(E.length>1)return i=null,E;if(!Jn(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=Yr(y);if(_.type===Ue)return i=null,_;const m=_.type,x=js(Ln(_)?_.type.__asyncResolved||{}:m),{include:S,exclude:b,max:P}=e;if(S&&(!x||!cr(S,x))||b&&x&&cr(b,x))return i=_,y;const L=_.key==null?m:_.key,T=s.get(L);return _.el&&(_=jt(_),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=_,Hs(y.type)?y:_}}},Ah=kh;function cr(e,t){return ae(e)?e.some(n=>cr(n,t)):Oe(e)?e.split(",").includes(t):Dd(e)?e.test(t):!1}function cu(e,t){fu(e,"a",t)}function uu(e,t){fu(e,"da",t)}function fu(e,t,n=Ve){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if($o(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Fo(s.parent.vnode)&&Ih(o,t,n,s),s=s.parent}}function Ih(e,t,n,o){const s=$o(t,e,o,!0);Mi(()=>{wi(o[t],s)},n)}function us(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Yr(e){return e.shapeFlag&128?e.ssContent:e}function $o(e,t,n=Ve,o=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{un();const a=Dr(n),l=yt(t,n,e,i);return a(),fn(),l});return o?s.unshift(r):s.push(r),r}}const Wt=e=>(t,n=Ve)=>{(!Uo||e==="sp")&&$o(e,(...o)=>t(...o),n)},Oh=Wt("bm"),xt=Wt("m"),Nh=Wt("bu"),du=Wt("u"),Mr=Wt("bum"),Mi=Wt("um"),Mh=Wt("sp"),Dh=Wt("rtg"),Fh=Wt("rtc");function hu(e,t=Ve){$o("ec",e,t)}const pu="components";function wa(e,t){return mu(pu,e,!0,t)||e}const gu=Symbol.for("v-ndc");function $h(e){return Oe(e)?mu(pu,e,!1)||e:e||gu}function mu(e,t,n=!0,o=!1){const s=He||Ve;if(s){const r=s.type;{const a=js(r,!1);if(a&&(a===t||a===Tt(t)||a===Oo(Tt(t))))return r}const i=Ea(s[e]||r[e],t)||Ea(s.appContext[e],t);return!i&&o?r:i}}function Ea(e,t){return e&&(e[t]||e[Tt(t)]||e[Oo(Tt(t))])}function jw(e,t,n,o){let s;const r=n;if(ae(e)||Oe(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,r)}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,r)}else if(Le(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,r));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const f=i[a];s[a]=t(e[f],f,a,r)}}else s=[];return s}function Ww(e,t,n={},o,s){if(He.isCE||He.parent&&Ln(He.parent)&&He.parent.isCE)return Ie("slot",n,o);let r=e[t];r&&r._c&&(r._d=!1),Ee();const i=r&&vu(r(n)),a=Je(Ge,{key:(n.key||i&&i.key||`_${t}`)+(!i&&o?"_fb":"")},i||[],i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function vu(e){return e.some(t=>Jn(t)?!(t.type===Ue||t.type===Ge&&!vu(t.children)):!0)?e:null}const Ms=e=>e?Vu(e)?Vo(e):Ms(e.parent):null,hr=Ke(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=>Ms(e.parent),$root:e=>Ms(e.root),$emit:e=>e.emit,$options:e=>Di(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ni(e.update)}),$nextTick:e=>e.n||(e.n=hn.bind(e.proxy)),$watch:e=>up.bind(e)}),fs=(e,t)=>e!==Re&&!e.__isScriptSetup&&ge(e,t),Hh={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:r,accessCache:i,type:a,appContext:l}=e;let f;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(fs(o,t))return i[t]=1,o[t];if(s!==Re&&ge(s,t))return i[t]=2,s[t];if((f=e.propsOptions[0])&&ge(f,t))return i[t]=3,r[t];if(n!==Re&&ge(n,t))return i[t]=4,n[t];Ds&&(i[t]=0)}}const u=hr[t];let h,d;if(u)return t==="$attrs"&&lt(e.attrs,"get",""),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Re&&ge(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,ge(d,t))return d[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:r}=e;return fs(s,t)?(s[t]=n,!0):o!==Re&&ge(o,t)?(o[t]=n,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:r}},i){let a;return!!n[i]||e!==Re&&ge(e,i)||fs(t,i)||(a=r[0])&&ge(a,i)||ge(o,i)||ge(hr,i)||ge(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ge(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sa(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ds=!0;function Bh(e){const t=Di(e),n=e.proxy,o=e.ctx;Ds=!1,t.beforeCreate&&ba(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:i,watch:a,provide:l,inject:f,created:u,beforeMount:h,mounted:d,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy:w,beforeUnmount:E,destroyed:y,unmounted:_,render:m,renderTracked:x,renderTriggered:S,errorCaptured:b,serverPrefetch:P,expose:L,inheritAttrs:T,components:C,directives:O,filters:$}=t;if(f&&Uh(f,o,null),i)for(const W in i){const Y=i[W];le(Y)&&(o[W]=Y.bind(n))}if(s){const W=s.call(n,n);Le(W)&&(e.data=dn(W))}if(Ds=!0,r)for(const W in r){const Y=r[W],oe=le(Y)?Y.bind(n,n):le(Y.get)?Y.get.bind(n,n):vt,ue=!le(Y)&&le(Y.set)?Y.set.bind(n):vt,ce=me({get:oe,set:ue});Object.defineProperty(o,W,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ne=>ce.value=ne})}if(a)for(const W in a)yu(a[W],o,n,W);if(l){const W=le(l)?l.call(n):l;Reflect.ownKeys(W).forEach(Y=>{on(Y,W[Y])})}u&&ba(u,e,"c");function B(W,Y){ae(Y)?Y.forEach(oe=>W(oe.bind(n))):Y&&W(Y.bind(n))}if(B(Oh,h),B(xt,d),B(Nh,c),B(du,p),B(cu,g),B(uu,v),B(hu,b),B(Fh,x),B(Dh,S),B(Mr,E),B(Mi,_),B(Mh,P),ae(L))if(L.length){const W=e.exposed||(e.exposed={});L.forEach(Y=>{Object.defineProperty(W,Y,{get:()=>n[Y],set:oe=>n[Y]=oe})})}else e.exposed||(e.exposed={});m&&e.render===vt&&(e.render=m),T!=null&&(e.inheritAttrs=T),C&&(e.components=C),O&&(e.directives=O)}function Uh(e,t,n=vt){ae(e)&&(e=Fs(e));for(const o in e){const s=e[o];let r;Le(s)?"default"in s?r=ze(s.from||o,s.default,!0):r=ze(s.from||o):r=ze(s),$e(r)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[o]=r}}function ba(e,t,n){yt(ae(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function yu(e,t,n,o){const s=o.includes(".")?Nu(n,o):()=>n[o];if(Oe(e)){const r=t[e];le(r)&&at(s,r)}else if(le(e))at(s,e.bind(n));else if(Le(e))if(ae(e))e.forEach(r=>yu(r,t,n,o));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&at(s,r,e)}}function Di(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!s.length&&!n&&!o?l=t:(l={},s.length&&s.forEach(f=>po(l,f,i,!0)),po(l,t,i)),Le(t)&&r.set(t,l),l}function po(e,t,n,o=!1){const{mixins:s,extends:r}=t;r&&po(e,r,n,!0),s&&s.forEach(i=>po(e,i,n,!0));for(const i in t)if(!(o&&i==="expose")){const a=Vh[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Vh={data:Ca,props:Pa,emits:Pa,methods:ur,computed:ur,beforeCreate:Ze,created:Ze,beforeMount:Ze,mounted:Ze,beforeUpdate:Ze,updated:Ze,beforeDestroy:Ze,beforeUnmount:Ze,destroyed:Ze,unmounted:Ze,activated:Ze,deactivated:Ze,errorCaptured:Ze,serverPrefetch:Ze,components:ur,directives:ur,watch:Wh,provide:Ca,inject:jh};function Ca(e,t){return t?e?function(){return Ke(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function jh(e,t){return ur(Fs(e),Fs(t))}function Fs(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ze(e,t){return e?[...new Set([].concat(e,t))]:t}function ur(e,t){return e?Ke(Object.create(null),e,t):t}function Pa(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:Ke(Object.create(null),Sa(e),Sa(t??{})):t}function Wh(e,t){if(!e)return t;if(!t)return e;const n=Ke(Object.create(null),e);for(const o in t)n[o]=Ze(e[o],t[o]);return n}function _u(){return{app:null,config:{isNativeTag:Nd,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 Kh=0;function Gh(e,t){return function(o,s=null){le(o)||(o=Ke({},o)),s!=null&&!Le(s)&&(s=null);const r=_u(),i=new WeakSet;let a=!1;const l=r.app={_uid:Kh++,_component:o,_props:s,_container:null,_context:r,_instance:null,version:Wu,get config(){return r.config},set config(f){},use(f,...u){return i.has(f)||(f&&le(f.install)?(i.add(f),f.install(l,...u)):le(f)&&(i.add(f),f(l,...u))),l},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),l},component(f,u){return u?(r.components[f]=u,l):r.components[f]},directive(f,u){return u?(r.directives[f]=u,l):r.directives[f]},mount(f,u,h){if(!a){const d=Ie(o,s);return d.appContext=r,h===!0?h="svg":h===!1&&(h=void 0),u&&t?t(d,f):e(d,f,h),a=!0,l._container=f,f.__vue_app__=l,Vo(d.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,u){return r.provides[f]=u,l},runWithContext(f){const u=Rn;Rn=l;try{return f()}finally{Rn=u}}};return l}}let Rn=null;function on(e,t){if(Ve){let n=Ve.provides;const o=Ve.parent&&Ve.parent.provides;o===n&&(n=Ve.provides=Object.create(o)),n[e]=t}}function ze(e,t,n=!1){const o=Ve||He;if(o||Rn){const s=Rn?Rn._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&le(t)?t.call(o&&o.proxy):t}}function xu(){return!!(Ve||He||Rn)}const wu={},Eu=()=>Object.create(wu),Su=e=>Object.getPrototypeOf(e)===wu;function Xh(e,t,n,o=!1){const s={},r=Eu();e.propsDefaults=Object.create(null),bu(e,t,s,r);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=o?s:Bt(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function Yh(e,t,n,o){const{props:s,attrs:r,vnode:{patchFlag:i}}=e,a=ye(s),[l]=e.propsOptions;let f=!1;if((o||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let d=u[h];if(Ho(e.emitsOptions,d))continue;const c=t[d];if(l)if(ge(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const p=Tt(d);s[p]=$s(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{bu(e,t,s,r)&&(f=!0);let u;for(const h in a)(!t||!ge(t,h)&&((u=An(h))===h||!ge(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(s[h]=$s(l,a,h,void 0,e,!0)):delete s[h]);if(r!==a)for(const h in r)(!t||!ge(t,h))&&(delete r[h],f=!0)}f&&Vt(e.attrs,"set","")}function bu(e,t,n,o){const[s,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(jn(l))continue;const f=t[l];let u;s&&ge(s,u=Tt(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:Ho(e.emitsOptions,l)||(!(l in o)||f!==o[l])&&(o[l]=f,i=!0)}if(r){const l=ye(n),f=a||Re;for(let u=0;u<r.length;u++){const h=r[u];n[h]=$s(s,l,h,f[h],e,!ge(f,h))}}return i}function $s(e,t,n,o,s,r){const i=e[n];if(i!=null){const a=ge(i,"default");if(a&&o===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&le(l)){const{propsDefaults:f}=s;if(n in f)o=f[n];else{const u=Dr(s);o=f[n]=l.call(null,t),u()}}else o=l}i[0]&&(r&&!a?o=!1:i[1]&&(o===""||o===An(n))&&(o=!0))}return o}const qh=new WeakMap;function Cu(e,t,n=!1){const o=n?qh:t.propsCache,s=o.get(e);if(s)return s;const r=e.props,i={},a=[];let l=!1;if(!le(e)){const u=h=>{l=!0;const[d,c]=Cu(h,t,!0);Ke(i,d),c&&a.push(...c)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!l)return Le(e)&&o.set(e,Un),Un;if(ae(r))for(let u=0;u<r.length;u++){const h=Tt(r[u]);Ta(h)&&(i[h]=Re)}else if(r)for(const u in r){const h=Tt(u);if(Ta(h)){const d=r[u],c=i[h]=ae(d)||le(d)?{type:d}:Ke({},d),p=c.type;let g=!1,v=!0;if(ae(p))for(let w=0;w<p.length;++w){const E=p[w],y=le(E)&&E.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||ge(c,"default"))&&a.push(h)}}const f=[i,a];return Le(e)&&o.set(e,f),f}function Ta(e){return e[0]!=="$"&&!jn(e)}const Pu=e=>e[0]==="_"||e==="$stable",Fi=e=>ae(e)?e.map(ht):[ht(e)],Jh=(e,t,n)=>{if(t._n)return t;const o=pn((...s)=>Fi(t(...s)),n);return o._c=!1,o},Tu=(e,t,n)=>{const o=e._ctx;for(const s in e){if(Pu(s))continue;const r=e[s];if(le(r))t[s]=Jh(s,r,o);else if(r!=null){const i=Fi(r);t[s]=()=>i}}},Lu=(e,t)=>{const n=Fi(t);e.slots.default=()=>n},Ru=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},Qh=(e,t,n)=>{const o=e.slots=Eu();if(e.vnode.shapeFlag&32){const s=t._;s?(Ru(o,t,n),n&&Ac(o,"_",s,!0)):Tu(t,o)}else t&&Lu(e,t)},zh=(e,t,n)=>{const{vnode:o,slots:s}=e;let r=!0,i=Re;if(o.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:Ru(s,t,n):(r=!t.$stable,Tu(t,s)),i=t}else t&&(Lu(e,t),i={default:1});if(r)for(const a in s)!Pu(a)&&i[a]==null&&delete s[a]};function go(e,t,n,o,s=!1){if(ae(e)){e.forEach((d,c)=>go(d,t&&(ae(t)?t[c]:t),n,o,s));return}if(Ln(o)&&!s)return;const r=o.shapeFlag&4?Vo(o.component):o.el,i=s?null:r,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Re?a.refs={}:a.refs,h=a.setupState;if(f!=null&&f!==l&&(Oe(f)?(u[f]=null,ge(h,f)&&(h[f]=null)):$e(f)&&(f.value=null)),le(l))rn(l,a,12,[i,u]);else{const d=Oe(l),c=$e(l);if(d||c){const p=()=>{if(e.f){const g=d?ge(h,l)?h[l]:u[l]:l.value;s?ae(g)&&wi(g,r):ae(g)?g.includes(r)||g.push(r):d?(u[l]=[r],ge(h,l)&&(h[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,ge(h,l)&&(h[l]=i)):c&&(l.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,Be(p,n)):p()}}}const Zh=Symbol("_vte"),ep=e=>e.__isTeleport;let La=!1;const Mn=()=>{La||(console.error("Hydration completed but contains mismatches."),La=!0)},tp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",np=e=>e.namespaceURI.includes("MathML"),qr=e=>{if(tp(e))return"svg";if(np(e))return"mathml"},Jr=e=>e.nodeType===8;function rp(e){const{mt:t,p:n,o:{patchProp:o,createText:s,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:f}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),fo(),_._vnode=y;return}h(_.firstChild,y,null,null,null),fo(),_._vnode=y},h=(y,_,m,x,S,b=!1)=>{b=b||!!_.dynamicChildren;const P=Jr(y)&&y.data==="[",L=()=>g(y,_,m,x,S,P),{type:T,ref:C,shapeFlag:O,patchFlag:$}=_;let F=y.nodeType;_.el=y,$===-2&&(b=!1,_.dynamicChildren=null);let B=null;switch(T){case sn:F!==3?_.children===""?(l(_.el=s(""),i(y),y),B=y):B=L():(y.data!==_.children&&(Mn(),y.data=_.children),B=r(y));break;case Ue:E(y)?(B=r(y),w(_.el=y.content.firstChild,y,m)):F!==8||P?B=L():B=r(y);break;case oo:if(P&&(y=r(y),F=y.nodeType),F===1||F===3){B=y;const W=!_.children.length;for(let Y=0;Y<_.staticCount;Y++)W&&(_.children+=B.nodeType===1?B.outerHTML:B.data),Y===_.staticCount-1&&(_.anchor=B),B=r(B);return P?r(B):B}else L();break;case Ge:P?B=p(y,_,m,x,S,b):B=L();break;default:if(O&1)(F!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!E(y)?B=L():B=d(y,_,m,x,S,b);else if(O&6){_.slotScopeIds=S;const W=i(y);if(P?B=v(y):Jr(y)&&y.data==="teleport start"?B=v(y,y.data,"teleport end"):B=r(y),t(_,W,null,m,x,qr(W),b),Ln(_)){let Y;P?(Y=Ie(Ge),Y.anchor=B?B.previousSibling:W.lastChild):Y=y.nodeType===3?Bo(""):Ie("div"),Y.el=y,_.component.subTree=Y}}else O&64?F!==8?B=L():B=_.type.hydrate(y,_,m,x,S,b,e,c):O&128&&(B=_.type.hydrate(y,_,m,x,qr(i(y)),S,b,e,h))}return C!=null&&go(C,null,x,_),B},d=(y,_,m,x,S,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&&It(_,null,m,"created");let B=!1;if(E(y)){B=Au(x,$)&&m&&m.vnode.props&&m.vnode.props.appear;const Y=y.content.firstChild;B&&$.beforeEnter(Y),w(Y,y,m),_.el=y=Y}if(C&16&&!(L&&(L.innerHTML||L.textContent))){let Y=c(y.firstChild,_,y,m,x,S,b);for(;Y;){Mn();const oe=Y;Y=Y.nextSibling,a(oe)}}else C&8&&y.textContent!==_.children&&(Mn(),y.textContent=_.children);if(L){if(F||!b||T&48){const Y=y.tagName.includes("-");for(const oe in L)(F&&(oe.endsWith("value")||oe==="indeterminate")||Ir(oe)&&!jn(oe)||oe[0]==="."||Y)&&o(y,oe,null,L[oe],void 0,m)}else if(L.onClick)o(y,"onClick",null,L.onClick,void 0,m);else if(T&4&&Wn(L.style))for(const Y in L.style)L.style[Y]}let W;(W=L&&L.onVnodeBeforeMount)&&rt(W,m,_),O&&It(_,null,m,"beforeMount"),((W=L&&L.onVnodeMounted)||O||B)&&Fu(()=>{W&&rt(W,m,_),B&&$.enter(y),O&&It(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,S,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]=ht(L[C]),$=O.type===sn;if(y){if($&&!P){let F=L[C+1];F&&(F=ht(F)).type===sn&&(l(s(y.data.slice(O.children.length)),m,r(y)),y.data=O.children)}y=h(y,O,x,S,b,P)}else $&&!O.children?l(O.el=s(""),m):(Mn(),n(null,O,m,null,x,S,qr(m),b))}return y},p=(y,_,m,x,S,b)=>{const{slotScopeIds:P}=_;P&&(S=S?S.concat(P):P);const L=i(y),T=c(r(y),_,L,m,x,S,b);return T&&Jr(T)&&T.data==="]"?r(_.anchor=T):(Mn(),l(_.anchor=f("]"),L,T),T)},g=(y,_,m,x,S,b)=>{if(Mn(),_.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,qr(L),S),P},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&Jr(y)&&(y.data===_&&x++,y.data===m)){if(x===0)return r(y);x--}return y},w=(y,_,m)=>{const x=_.parentNode;x&&x.replaceChild(y,_);let S=m;for(;S;)S.vnode.el===_&&(S.vnode.el=S.subTree.el=y),S=S.parent},E=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,h]}const Be=Fu;function op(e){return ku(e)}function sp(e){return ku(e,rp)}function ku(e,t){const n=Oc();n.__VUE__=!0;const{insert:o,remove:s,patchProp:r,createElement:i,createText:a,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:d,setScopeId:c=vt,insertStaticContent:p}=e,g=(A,I,D,K=null,U=null,X=null,Q=void 0,R=null,k=!!I.dynamicChildren)=>{if(A===I)return;A&&!Ct(A,I)&&(K=V(A),ne(A,U,X,!0),A=null),I.patchFlag===-2&&(k=!1,I.dynamicChildren=null);const{type:N,ref:j,shapeFlag:J}=I;switch(N){case sn:v(A,I,D,K);break;case Ue:w(A,I,D,K);break;case oo:A==null&&E(I,D,K,Q);break;case Ge:C(A,I,D,K,U,X,Q,R,k);break;default:J&1?m(A,I,D,K,U,X,Q,R,k):J&6?O(A,I,D,K,U,X,Q,R,k):(J&64||J&128)&&N.process(A,I,D,K,U,X,Q,R,k,ee)}j!=null&&U&&go(j,A&&A.ref,X,I||A,!I)},v=(A,I,D,K)=>{if(A==null)o(I.el=a(I.children),D,K);else{const U=I.el=A.el;I.children!==A.children&&f(U,I.children)}},w=(A,I,D,K)=>{A==null?o(I.el=l(I.children||""),D,K):I.el=A.el},E=(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 U;for(;A&&A!==I;)U=d(A),o(A,D,K),A=U;o(I,D,K)},_=({el:A,anchor:I})=>{let D;for(;A&&A!==I;)D=d(A),s(A),A=D;s(I)},m=(A,I,D,K,U,X,Q,R,k)=>{I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),A==null?x(I,D,K,U,X,Q,R,k):P(A,I,U,X,Q,R,k)},x=(A,I,D,K,U,X,Q,R)=>{let k,N;const{props:j,shapeFlag:J,transition:G,dirs:M}=A;if(k=A.el=i(A.type,X,j&&j.is,j),J&8?u(k,A.children):J&16&&b(A.children,k,null,K,U,ds(A,X),Q,R),M&&It(A,null,K,"created"),S(k,A,A.scopeId,Q,K),j){for(const re in j)re!=="value"&&!jn(re)&&r(k,re,null,j[re],X,K);"value"in j&&r(k,"value",null,j.value,X),(N=j.onVnodeBeforeMount)&&rt(N,K,A)}M&&It(A,null,K,"beforeMount");const H=Au(U,G);H&&G.beforeEnter(k),o(k,I,D),((N=j&&j.onVnodeMounted)||H||M)&&Be(()=>{N&&rt(N,K,A),H&&G.enter(k),M&&It(A,null,K,"mounted")},U)},S=(A,I,D,K,U)=>{if(D&&c(A,D),K)for(let X=0;X<K.length;X++)c(A,K[X]);if(U){let X=U.subTree;if(I===X){const Q=U.vnode;S(A,Q,Q.scopeId,Q.slotScopeIds,U.parent)}}},b=(A,I,D,K,U,X,Q,R,k=0)=>{for(let N=k;N<A.length;N++){const j=A[N]=R?Qt(A[N]):ht(A[N]);g(null,j,I,D,K,U,X,Q,R)}},P=(A,I,D,K,U,X,Q)=>{const R=I.el=A.el;let{patchFlag:k,dynamicChildren:N,dirs:j}=I;k|=A.patchFlag&16;const J=A.props||Re,G=I.props||Re;let M;if(D&&yn(D,!1),(M=G.onVnodeBeforeUpdate)&&rt(M,D,I,A),j&&It(I,A,D,"beforeUpdate"),D&&yn(D,!0),(J.innerHTML&&G.innerHTML==null||J.textContent&&G.textContent==null)&&u(R,""),N?L(A.dynamicChildren,N,R,D,K,ds(I,U),X):Q||Y(A,I,R,null,D,K,ds(I,U),X,!1),k>0){if(k&16)T(R,J,G,D,U);else if(k&2&&J.class!==G.class&&r(R,"class",null,G.class,U),k&4&&r(R,"style",J.style,G.style,U),k&8){const H=I.dynamicProps;for(let re=0;re<H.length;re++){const se=H[re],Te=J[se],qe=G[se];(qe!==Te||se==="value")&&r(R,se,Te,qe,U,D)}}k&1&&A.children!==I.children&&u(R,I.children)}else!Q&&N==null&&T(R,J,G,D,U);((M=G.onVnodeUpdated)||j)&&Be(()=>{M&&rt(M,D,I,A),j&&It(I,A,D,"updated")},K)},L=(A,I,D,K,U,X,Q)=>{for(let R=0;R<I.length;R++){const k=A[R],N=I[R],j=k.el&&(k.type===Ge||!Ct(k,N)||k.shapeFlag&70)?h(k.el):D;g(k,N,j,null,K,U,X,Q,!0)}},T=(A,I,D,K,U)=>{if(I!==D){if(I!==Re)for(const X in I)!jn(X)&&!(X in D)&&r(A,X,I[X],null,U,K);for(const X in D){if(jn(X))continue;const Q=D[X],R=I[X];Q!==R&&X!=="value"&&r(A,X,R,Q,U,K)}"value"in D&&r(A,"value",I.value,D.value,U)}},C=(A,I,D,K,U,X,Q,R,k)=>{const N=I.el=A?A.el:a(""),j=I.anchor=A?A.anchor:a("");let{patchFlag:J,dynamicChildren:G,slotScopeIds:M}=I;M&&(R=R?R.concat(M):M),A==null?(o(N,D,K),o(j,D,K),b(I.children||[],D,j,U,X,Q,R,k)):J>0&&J&64&&G&&A.dynamicChildren?(L(A.dynamicChildren,G,D,U,X,Q,R),(I.key!=null||U&&I===U.subTree)&&Iu(A,I,!0)):Y(A,I,D,j,U,X,Q,R,k)},O=(A,I,D,K,U,X,Q,R,k)=>{I.slotScopeIds=R,A==null?I.shapeFlag&512?U.ctx.activate(I,D,K,Q,k):$(I,D,K,U,X,Q,k):F(A,I,k)},$=(A,I,D,K,U,X,Q)=>{const R=A.component=Tp(A,K,U);if(Fo(A)&&(R.ctx.renderer=ee),Lp(R,!1,Q),R.asyncDep){if(U&&U.registerDep(R,B,Q),!A.el){const k=R.subTree=Ie(Ue);w(null,k,I,D)}}else B(R,A,I,D,U,X,Q)},F=(A,I,D)=>{const K=I.component=A.component;if(mp(A,I,D))if(K.asyncDep&&!K.asyncResolved){W(K,I,D);return}else K.next=I,Ch(K.update),K.effect.dirty=!0,K.update();else I.el=A.el,K.vnode=I},B=(A,I,D,K,U,X,Q)=>{const R=()=>{if(A.isMounted){let{next:j,bu:J,u:G,parent:M,vnode:H}=A;{const ut=Ou(A);if(ut){j&&(j.el=H.el,W(A,j,Q)),ut.asyncDep.then(()=>{A.isUnmounted||R()});return}}let re=j,se;yn(A,!1),j?(j.el=H.el,W(A,j,Q)):j=H,J&&fr(J),(se=j.props&&j.props.onVnodeBeforeUpdate)&&rt(se,M,j,H),yn(A,!0);const Te=hs(A),qe=A.subTree;A.subTree=Te,g(qe,Te,h(qe.el),V(qe),A,U,X),j.el=Te.el,re===null&&Hi(A,Te.el),G&&Be(G,U),(se=j.props&&j.props.onVnodeUpdated)&&Be(()=>rt(se,M,j,H),U)}else{let j;const{el:J,props:G}=I,{bm:M,m:H,parent:re}=A,se=Ln(I);if(yn(A,!1),M&&fr(M),!se&&(j=G&&G.onVnodeBeforeMount)&&rt(j,re,I),yn(A,!0),J&&xe){const Te=()=>{A.subTree=hs(A),xe(J,A.subTree,A,U,null)};se?I.type.__asyncLoader().then(()=>!A.isUnmounted&&Te()):Te()}else{const Te=A.subTree=hs(A);g(null,Te,D,K,A,U,X),I.el=Te.el}if(H&&Be(H,U),!se&&(j=G&&G.onVnodeMounted)){const Te=I;Be(()=>rt(j,re,Te),U)}(I.shapeFlag&256||re&&Ln(re.vnode)&&re.vnode.shapeFlag&256)&&A.a&&Be(A.a,U),A.isMounted=!0,I=D=K=null}},k=A.effect=new Ci(R,vt,()=>Ni(N),A.scope),N=A.update=()=>{k.dirty&&k.run()};N.i=A,N.id=A.uid,yn(A,!0),N()},W=(A,I,D)=>{I.component=A;const K=A.vnode.props;A.vnode=I,A.next=null,Yh(A,I.props,K,D),zh(A,I.children,D),un(),_a(A),fn()},Y=(A,I,D,K,U,X,Q,R,k=!1)=>{const N=A&&A.children,j=A?A.shapeFlag:0,J=I.children,{patchFlag:G,shapeFlag:M}=I;if(G>0){if(G&128){ue(N,J,D,K,U,X,Q,R,k);return}else if(G&256){oe(N,J,D,K,U,X,Q,R,k);return}}M&8?(j&16&&fe(N,U,X),J!==N&&u(D,J)):j&16?M&16?ue(N,J,D,K,U,X,Q,R,k):fe(N,U,X,!0):(j&8&&u(D,""),M&16&&b(J,D,K,U,X,Q,R,k))},oe=(A,I,D,K,U,X,Q,R,k)=>{A=A||Un,I=I||Un;const N=A.length,j=I.length,J=Math.min(N,j);let G;for(G=0;G<J;G++){const M=I[G]=k?Qt(I[G]):ht(I[G]);g(A[G],M,D,null,U,X,Q,R,k)}N>j?fe(A,U,X,!0,!1,J):b(I,D,K,U,X,Q,R,k,J)},ue=(A,I,D,K,U,X,Q,R,k)=>{let N=0;const j=I.length;let J=A.length-1,G=j-1;for(;N<=J&&N<=G;){const M=A[N],H=I[N]=k?Qt(I[N]):ht(I[N]);if(Ct(M,H))g(M,H,D,null,U,X,Q,R,k);else break;N++}for(;N<=J&&N<=G;){const M=A[J],H=I[G]=k?Qt(I[G]):ht(I[G]);if(Ct(M,H))g(M,H,D,null,U,X,Q,R,k);else break;J--,G--}if(N>J){if(N<=G){const M=G+1,H=M<j?I[M].el:K;for(;N<=G;)g(null,I[N]=k?Qt(I[N]):ht(I[N]),D,H,U,X,Q,R,k),N++}}else if(N>G)for(;N<=J;)ne(A[N],U,X,!0),N++;else{const M=N,H=N,re=new Map;for(N=H;N<=G;N++){const ft=I[N]=k?Qt(I[N]):ht(I[N]);ft.key!=null&&re.set(ft.key,N)}let se,Te=0;const qe=G-H+1;let ut=!1,Ur=0;const Nn=new Array(qe);for(N=0;N<qe;N++)Nn[N]=0;for(N=M;N<=J;N++){const ft=A[N];if(Te>=qe){ne(ft,U,X,!0);continue}let At;if(ft.key!=null)At=re.get(ft.key);else for(se=H;se<=G;se++)if(Nn[se-H]===0&&Ct(ft,I[se])){At=se;break}At===void 0?ne(ft,U,X,!0):(Nn[At-H]=N+1,At>=Ur?Ur=At:ut=!0,g(ft,I[At],D,null,U,X,Q,R,k),Te++)}const ca=ut?ip(Nn):Un;for(se=ca.length-1,N=qe-1;N>=0;N--){const ft=H+N,At=I[ft],ua=ft+1<j?I[ft+1].el:K;Nn[N]===0?g(null,At,D,ua,U,X,Q,R,k):ut&&(se<0||N!==ca[se]?ce(At,D,ua,2):se--)}}},ce=(A,I,D,K,U=null)=>{const{el:X,type:Q,transition:R,children:k,shapeFlag:N}=A;if(N&6){ce(A.component.subTree,I,D,K);return}if(N&128){A.suspense.move(I,D,K);return}if(N&64){Q.move(A,I,D,ee);return}if(Q===Ge){o(X,I,D);for(let J=0;J<k.length;J++)ce(k[J],I,D,K);o(A.anchor,I,D);return}if(Q===oo){y(A,I,D);return}if(K!==2&&N&1&&R)if(K===0)R.beforeEnter(X),o(X,I,D),Be(()=>R.enter(X),U);else{const{leave:J,delayLeave:G,afterLeave:M}=R,H=()=>o(X,I,D),re=()=>{J(X,()=>{H(),M&&M()})};G?G(X,H,re):re()}else o(X,I,D)},ne=(A,I,D,K=!1,U=!1)=>{const{type:X,props:Q,ref:R,children:k,dynamicChildren:N,shapeFlag:j,patchFlag:J,dirs:G,cacheIndex:M}=A;if(J===-2&&(U=!1),R!=null&&go(R,null,D,A,!0),M!=null&&(I.renderCache[M]=void 0),j&256){I.ctx.deactivate(A);return}const H=j&1&&G,re=!Ln(A);let se;if(re&&(se=Q&&Q.onVnodeBeforeUnmount)&&rt(se,I,A),j&6)Fe(A.component,D,K);else{if(j&128){A.suspense.unmount(D,K);return}H&&It(A,null,I,"beforeUnmount"),j&64?A.type.remove(A,I,D,ee,K):N&&!N.hasOnce&&(X!==Ge||J>0&&J&64)?fe(N,I,D,!1,!0):(X===Ge&&J&384||!U&&j&16)&&fe(k,I,D),K&&Ce(A)}(re&&(se=Q&&Q.onVnodeUnmounted)||H)&&Be(()=>{se&&rt(se,I,A),H&&It(A,null,I,"unmounted")},D)},Ce=A=>{const{type:I,el:D,anchor:K,transition:U}=A;if(I===Ge){_e(D,K);return}if(I===oo){_(A);return}const X=()=>{s(D),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(A.shapeFlag&1&&U&&!U.persisted){const{leave:Q,delayLeave:R}=U,k=()=>Q(D,X);R?R(A.el,X,k):k()}else X()},_e=(A,I)=>{let D;for(;A!==I;)D=d(A),s(A),A=D;s(I)},Fe=(A,I,D)=>{const{bum:K,scope:U,update:X,subTree:Q,um:R,m:k,a:N}=A;mo(k),mo(N),K&&fr(K),U.stop(),X&&(X.active=!1,ne(Q,A,I,D)),R&&Be(R,I),Be(()=>{A.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},fe=(A,I,D,K=!1,U=!1,X=0)=>{for(let Q=X;Q<A.length;Q++)ne(A[Q],I,D,K,U)},V=A=>{if(A.shapeFlag&6)return V(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const I=d(A.anchor||A.el),D=I&&I[Zh];return D?d(D):I};let q=!1;const z=(A,I,D)=>{A==null?I._vnode&&ne(I._vnode,null,null,!0):g(I._vnode||null,A,I,null,null,null,D),I._vnode=A,q||(q=!0,_a(),fo(),q=!1)},ee={p:g,um:ne,m:ce,r:Ce,mt:$,mc:b,pc:Y,pbc:L,n:V,o:e};let de,xe;return t&&([de,xe]=t(ee)),{render:z,hydrate:de,createApp:Gh(z,de)}}function ds({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 yn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Au(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Iu(e,t,n=!1){const o=e.children,s=t.children;if(ae(o)&&ae(s))for(let r=0;r<o.length;r++){const i=o[r];let a=s[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[r]=Qt(s[r]),a.el=i.el),!n&&a.patchFlag!==-2&&Iu(i,a)),a.type===sn&&(a.el=i.el)}}function ip(e){const t=e.slice(),n=[0];let o,s,r,i,a;const l=e.length;for(o=0;o<l;o++){const f=e[o];if(f!==0){if(s=n[n.length-1],e[s]<f){t[o]=s,n.push(o);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<f?r=a+1:i=a;f<e[n[r]]&&(r>0&&(t[o]=n[r-1]),n[r]=o)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Ou(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ou(t)}function mo(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const ap=Symbol.for("v-scx"),lp=()=>ze(ap);function cp(e,t){return $i(e,null,t)}const Qr={};function at(e,t,n){return $i(e,t,n)}function $i(e,t,{immediate:n,deep:o,flush:s,once:r,onTrack:i,onTrigger:a}=Re){if(t&&r){const x=t;t=(...S)=>{x(...S),m()}}const l=Ve,f=x=>o===!0?x:en(x,o===!1?1:void 0);let u,h=!1,d=!1;if($e(e)?(u=()=>e.value,h=Xn(e)):Wn(e)?(u=()=>f(e),h=!0):ae(e)?(d=!0,h=e.some(x=>Wn(x)||Xn(x)),u=()=>e.map(x=>{if($e(x))return x.value;if(Wn(x))return f(x);if(le(x))return rn(x,l,2)})):le(e)?t?u=()=>rn(e,l,2):u=()=>(c&&c(),yt(e,l,3,[p])):u=vt,t&&o){const x=u;u=()=>en(x())}let c,p=x=>{c=y.onStop=()=>{rn(x,l,4),c=y.onStop=void 0}},g;if(Uo)if(p=vt,t?n&&yt(t,l,3,[u(),d?[]:void 0,p]):u(),s==="sync"){const x=lp();g=x.__watcherHandles||(x.__watcherHandles=[])}else return vt;let v=d?new Array(e.length).fill(Qr):Qr;const w=()=>{if(!(!y.active||!y.dirty))if(t){const x=y.run();(o||h||(d?x.some((S,b)=>an(S,v[b])):an(x,v)))&&(c&&c(),yt(t,l,3,[x,v===Qr?void 0:d&&v[0]===Qr?[]:v,p]),v=x)}else y.run()};w.allowRecurse=!!t;let E;s==="sync"?E=w:s==="post"?E=()=>Be(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),E=()=>Ni(w));const y=new Ci(u,vt,E),_=Mo(),m=()=>{y.stop(),_&&wi(_.effects,y)};return t?n?w():v=y.run():s==="post"?Be(y.run.bind(y),l&&l.suspense):y.run(),g&&g.push(m),m}function up(e,t,n){const o=this.proxy,s=Oe(e)?e.includes(".")?Nu(o,e):()=>o[e]:e.bind(o,o);let r;le(t)?r=t:(r=t.handler,n=t);const i=Dr(this),a=$i(s,r.bind(o),n);return i(),a}function Nu(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}function en(e,t=1/0,n){if(t<=0||!Le(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,$e(e))en(e.value,t,n);else if(ae(e))for(let o=0;o<e.length;o++)en(e[o],t,n);else if(Tc(e)||Vn(e))e.forEach(o=>{en(o,t,n)});else if(kc(e)){for(const o in e)en(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&en(e[o],t,n)}return e}const fp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Tt(t)}Modifiers`]||e[`${An(t)}Modifiers`];function dp(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Re;let s=n;const r=t.startsWith("update:"),i=r&&fp(o,t.slice(7));i&&(i.trim&&(s=n.map(u=>Oe(u)?u.trim():u)),i.number&&(s=n.map(Bd)));let a,l=o[a=as(t)]||o[a=as(Tt(t))];!l&&r&&(l=o[a=as(An(t))]),l&&yt(l,e,6,s);const f=o[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,yt(f,e,6,s)}}function Mu(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const r=e.emits;let i={},a=!1;if(!le(e)){const l=f=>{const u=Mu(f,t,!0);u&&(a=!0,Ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Le(e)&&o.set(e,null),null):(ae(r)?r.forEach(l=>i[l]=null):Ke(i,r),Le(e)&&o.set(e,i),i)}function Ho(e,t){return!e||!Ir(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,An(t))||ge(e,t))}function hs(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[r],slots:i,attrs:a,emit:l,render:f,renderCache:u,props:h,data:d,setupState:c,ctx:p,inheritAttrs:g}=e,v=ho(e);let w,E;try{if(n.shapeFlag&4){const _=s||o,m=_;w=ht(f.call(m,_,u,h,c,d,p)),E=a}else{const _=t;w=ht(_.length>1?_(h,{attrs:a,slots:i,emit:l}):_(h,null)),E=t.props?a:pp(a)}}catch(_){pr.length=0,Nr(_,e,1),w=Ie(Ue)}let y=w;if(E&&g!==!1){const _=Object.keys(E),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(xi)&&(E=gp(E,r)),y=jt(y,E,!1,!0))}return n.dirs&&(y=jt(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),w=y,ho(v),w}function hp(e,t=!0){let n;for(let o=0;o<e.length;o++){const s=e[o];if(Jn(s)){if(s.type!==Ue||s.children==="v-if"){if(n)return;n=s}}else return}return n}const pp=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ir(n))&&((t||(t={}))[n]=e[n]);return t},gp=(e,t)=>{const n={};for(const o in e)(!xi(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function mp(e,t,n){const{props:o,children:s,component:r}=e,{props:i,children:a,patchFlag:l}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Ra(o,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==o[d]&&!Ho(f,d))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:o===i?!1:o?i?Ra(o,i,f):!0:!!i;return!1}function Ra(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const r=o[s];if(t[r]!==e[r]&&!Ho(n,r))return!0}return!1}function Hi({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const Hs=e=>e.__isSuspense;let Bs=0;const vp={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,r,i,a,l,f){if(e==null)yp(t,n,o,s,r,i,a,l,f);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}_p(e,t,n,o,s,i,a,l,f)}},hydrate:xp,normalize:wp},Bi=vp;function br(e,t){const n=e.props&&e.props[t];le(n)&&n()}function yp(e,t,n,o,s,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=Du(e,s,o,t,h,n,r,i,a,l);f(null,d.pendingBranch=e.ssContent,h,null,o,d,r,i),d.deps>0?(br(e,"onPending"),br(e,"onFallback"),f(null,e.ssFallback,t,n,o,null,r,i),Gn(d,e.ssFallback)):d.resolve(!1,!0)}function _p(e,t,n,o,s,r,i,a,{p:l,um:f,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const d=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:w}=h;if(g)h.pendingBranch=d,Ct(d,g)?(l(g,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0?h.resolve():v&&(w||(l(p,c,n,o,s,null,r,i,a),Gn(h,c)))):(h.pendingId=Bs++,w?(h.isHydrating=!1,h.activeBranch=g):f(g,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0?h.resolve():(l(p,c,n,o,s,null,r,i,a),Gn(h,c))):p&&Ct(d,p)?(l(p,d,n,o,s,h,r,i,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0&&h.resolve()));else if(p&&Ct(d,p))l(p,d,n,o,s,h,r,i,a),Gn(h,d);else if(br(t,"onPending"),h.pendingBranch=d,d.shapeFlag&512?h.pendingId=d.component.suspenseId:h.pendingId=Bs++,l(null,d,h.hiddenContainer,null,s,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:E,pendingId:y}=h;E>0?setTimeout(()=>{h.pendingId===y&&h.fallback(c)},E):E===0&&h.fallback(c)}}function Du(e,t,n,o,s,r,i,a,l,f,u=!1){const{p:h,m:d,um:c,n:p,o:{parentNode:g,remove:v}}=f;let w;const E=Ep(e);E&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const y=e.props?Ic(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:o,hiddenContainer:s,deps:0,pendingId:Bs++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,S=!1){const{vnode:b,activeBranch:P,pendingBranch:L,pendingId:T,effects:C,parentComponent:O,container:$}=m;let F=!1;m.isHydrating?m.isHydrating=!1:x||(F=P&&L.transition&&L.transition.mode==="out-in",F&&(P.transition.afterLeave=()=>{T===m.pendingId&&(d(L,$,r===_?p(P):r,0),Os(C))}),P&&(g(P.el)!==m.hiddenContainer&&(r=p(P)),c(P,O,m,!0)),F||d(L,$,r,0)),Gn(m,L),m.pendingBranch=null,m.isInFallback=!1;let B=m.parent,W=!1;for(;B;){if(B.pendingBranch){B.effects.push(...C),W=!0;break}B=B.parent}!W&&!F&&Os(C),m.effects=[],E&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!S&&t.resolve()),br(b,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:S,activeBranch:b,parentComponent:P,container:L,namespace:T}=m;br(S,"onFallback");const C=p(b),O=()=>{m.isInFallback&&(h(null,x,L,C,P,null,T,a,l),Gn(m,x))},$=x.transition&&x.transition.mode==="out-in";$&&(b.transition.afterLeave=O),m.isInFallback=!0,c(b,P,null,!0),$||O()},move(x,S,b){m.activeBranch&&d(m.activeBranch,x,S,b),m.container=x},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(x,S,b){const P=!!m.pendingBranch;P&&m.deps++;const L=x.vnode.el;x.asyncDep.catch(T=>{Nr(T,x,0)}).then(T=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:C}=x;Vs(x,T,!1),L&&(C.el=L);const O=!L&&x.subTree.el;S(x,C,g(L||x.subTree.el),L?null:p(x.subTree),m,i,b),O&&v(O),Hi(x,C.el),P&&--m.deps===0&&m.resolve()})},unmount(x,S){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,x,S),m.pendingBranch&&c(m.pendingBranch,n,x,S)}};return m}function xp(e,t,n,o,s,r,i,a,l){const f=t.suspense=Du(t,o,n,e.parentNode,document.createElement("div"),null,s,r,i,a,!0),u=l(e,f.pendingBranch=t.ssContent,n,f,r,i);return f.deps===0&&f.resolve(!1,!0),u}function wp(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=ka(o?n.default:n),e.ssFallback=o?ka(n.fallback):Ie(Ue)}function ka(e){let t;if(le(e)){const n=qn&&e._c;n&&(e._d=!1,Ee()),e=e(),n&&(e._d=!0,t=it,$u())}return ae(e)&&(e=hp(e)),e=ht(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Fu(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Os(e)}function Gn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e;let s=t.el;for(;!s&&t.component;)t=t.component.subTree,s=t.el;n.el=s,o&&o.subTree===n&&(o.vnode.el=s,Hi(o,s))}function Ep(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ge=Symbol.for("v-fgt"),sn=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),oo=Symbol.for("v-stc"),pr=[];let it=null;function Ee(e=!1){pr.push(it=e?null:[])}function $u(){pr.pop(),it=pr[pr.length-1]||null}let qn=1;function Aa(e){qn+=e,e<0&&it&&(it.hasOnce=!0)}function Hu(e){return e.dynamicChildren=qn>0?it||Un:null,$u(),qn>0&&it&&it.push(e),e}function tt(e,t,n,o,s,r){return Hu(ie(e,t,n,o,s,r,!0))}function Je(e,t,n,o,s){return Hu(Ie(e,t,n,o,s,!0))}function Jn(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const Bu=({key:e})=>e??null,so=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||$e(e)||le(e)?{i:He,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,o=0,s=null,r=e===Ge?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bu(t),ref:t&&so(t),scopeId:ou,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:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:He};return a?(Ui(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Oe(n)?8:16),qn>0&&!i&&it&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&it.push(l),l}const Ie=Sp;function Sp(e,t=null,n=null,o=0,s=null,r=!1){if((!e||e===gu)&&(e=Ue),Jn(e)){const a=jt(e,t,!0);return n&&Ui(a,n),qn>0&&!r&&it&&(a.shapeFlag&6?it[it.indexOf(e)]=a:it.push(a)),a.patchFlag=-2,a}if(Ip(e)&&(e=e.__vccOpts),t){t=bp(t);let{class:a,style:l}=t;a&&!Oe(a)&&(t.class=No(a)),Le(l)&&(Jc(l)&&!ae(l)&&(l=Ke({},l)),t.style=Si(l))}const i=Oe(e)?1:Hs(e)?128:ep(e)?64:Le(e)?4:le(e)?2:0;return ie(e,t,n,o,s,i,r,!0)}function bp(e){return e?Jc(e)||Su(e)?Ke({},e):e:null}function jt(e,t,n=!1,o=!1){const{props:s,ref:r,patchFlag:i,children:a,transition:l}=e,f=t?Uu(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Bu(f),ref:t&&t.ref?n&&r?ae(r)?r.concat(so(t)):[r,so(t)]:so(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&&jt(e.ssContent),ssFallback:e.ssFallback&&jt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Sr(u,l.clone(u)),u}function Bo(e=" ",t=0){return Ie(sn,null,e,t)}function ot(e="",t=!1){return t?(Ee(),Je(Ue,null,e)):Ie(Ue,null,e)}function ht(e){return e==null||typeof e=="boolean"?Ie(Ue):ae(e)?Ie(Ge,null,e.slice()):typeof e=="object"?Qt(e):Ie(sn,null,String(e))}function Qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:jt(e)}function Ui(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Ui(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Su(t)?t._ctx=He:s===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:He},n=32):(t=String(t),o&64?(n=16,t=[Bo(t)]):n=8);e.children=t,e.shapeFlag|=n}function Uu(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=No([t.class,o.class]));else if(s==="style")t.style=Si([t.style,o.style]);else if(Ir(s)){const r=t[s],i=o[s];i&&r!==i&&!(ae(r)&&r.includes(i))&&(t[s]=r?[].concat(r,i):i)}else s!==""&&(t[s]=o[s])}return t}function rt(e,t,n,o=null){yt(e,t,7,[n,o])}const Cp=_u();let Pp=0;function Tp(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Cp,r={uid:Pp++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Cu(o,s),emitsOptions:Mu(o,s),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:o.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,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=dp.bind(null,r),e.ce&&e.ce(r),r}let Ve=null;const In=()=>Ve||He;let vo,Us;{const e=Oc(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),r=>{s.length>1?s.forEach(i=>i(r)):s[0](r)}};vo=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Us=t("__VUE_SSR_SETTERS__",n=>Uo=n)}const Dr=e=>{const t=Ve;return vo(e),e.scope.on(),()=>{e.scope.off(),vo(t)}},Ia=()=>{Ve&&Ve.scope.off(),vo(null)};function Vu(e){return e.vnode.shapeFlag&4}let Uo=!1;function Lp(e,t=!1,n=!1){t&&Us(t);const{props:o,children:s}=e.vnode,r=Vu(e);Xh(e,o,r,t),Qh(e,s,n);const i=r?Rp(e,t):void 0;return t&&Us(!1),i}function Rp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Hh);const{setup:o}=n;if(o){const s=e.setupContext=o.length>1?Ap(e):null,r=Dr(e);un();const i=rn(o,e,0,[e.props,s]);if(fn(),r(),Lc(i)){if(i.then(Ia,Ia),t)return i.then(a=>{Vs(e,a,t)}).catch(a=>{Nr(a,e,0)});e.asyncDep=i}else Vs(e,i,t)}else ju(e,t)}function Vs(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Le(t)&&(e.setupState=Zc(t)),ju(e,n)}let Oa;function ju(e,t,n){const o=e.type;if(!e.render){if(!t&&Oa&&!o.render){const s=o.template||Di(e).template;if(s){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=o,f=Ke(Ke({isCustomElement:r,delimiters:a},i),l);o.render=Oa(s,f)}}e.render=o.render||vt}{const s=Dr(e);un();try{Bh(e)}finally{fn(),s()}}}const kp={get(e,t){return lt(e,"get",""),e[t]}};function Ap(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kp),slots:e.slots,emit:e.emit,expose:t}}function Vo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zc(ph(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hr)return hr[n](e)},has(t,n){return n in t||n in hr}})):e.proxy}function js(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function Ip(e){return le(e)&&"__vccOpts"in e}const me=(e,t)=>gh(e,t,Uo);function We(e,t,n){const o=arguments.length;return o===2?Le(t)&&!ae(t)?Jn(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Jn(n)&&(n=[n]),Ie(e,t,n))}const Wu="3.4.38";/**
* @vue/runtime-dom v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Op="http://www.w3.org/2000/svg",Np="http://www.w3.org/1998/Math/MathML",Ht=typeof document<"u"?document:null,Na=Ht&&Ht.createElement("template"),Mp={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?Ht.createElementNS(Op,e):t==="mathml"?Ht.createElementNS(Np,e):n?Ht.createElement(e,{is:n}):Ht.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,r){const i=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{Na.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const a=Na.content;if(o==="svg"||o==="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]}},Gt="transition",sr="animation",Cr=Symbol("_vtc"),jo=(e,{slots:t})=>We(Rh,Dp(e),t);jo.displayName="Transition";const Ku={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};jo.props=Ke({},su,Ku);const _n=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ma=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function Dp(e){const t={};for(const C in e)C in Ku||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:f=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=Fp(s),g=p&&p[0],v=p&&p[1],{onBeforeEnter:w,onEnter:E,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=w,onAppear:S=E,onAppearCancelled:b=y}=t,P=(C,O,$)=>{xn(C,O?u:a),xn(C,O?f:i),$&&$()},L=(C,O)=>{C._isLeaving=!1,xn(C,h),xn(C,c),xn(C,d),O&&O()},T=C=>(O,$)=>{const F=C?S:E,B=()=>P(O,C,$);_n(F,[O,B]),Da(()=>{xn(O,C?l:r),Xt(O,C?u:a),Ma(F)||Fa(O,o,g,B)})};return Ke(t,{onBeforeEnter(C){_n(w,[C]),Xt(C,r),Xt(C,i)},onBeforeAppear(C){_n(x,[C]),Xt(C,l),Xt(C,f)},onEnter:T(!1),onAppear:T(!0),onLeave(C,O){C._isLeaving=!0;const $=()=>L(C,O);Xt(C,h),Xt(C,d),Bp(),Da(()=>{C._isLeaving&&(xn(C,h),Xt(C,c),Ma(_)||Fa(C,o,v,$))}),_n(_,[C,$])},onEnterCancelled(C){P(C,!1),_n(y,[C])},onAppearCancelled(C){P(C,!0),_n(b,[C])},onLeaveCancelled(C){L(C),_n(m,[C])}})}function Fp(e){if(e==null)return null;if(Le(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return Ic(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Cr]||(e[Cr]=new Set)).add(t)}function xn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[Cr];n&&(n.delete(t),n.size||(e[Cr]=void 0))}function Da(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let $p=0;function Fa(e,t,n,o){const s=e._endId=++$p,r=()=>{s===e._endId&&o()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Hp(e,t);if(!i)return o();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,d),r()},d=c=>{c.target===e&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(f,d)}function Hp(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),s=o(`${Gt}Delay`),r=o(`${Gt}Duration`),i=$a(s,r),a=o(`${sr}Delay`),l=o(`${sr}Duration`),f=$a(a,l);let u=null,h=0,d=0;t===Gt?i>0&&(u=Gt,h=i,d=r.length):t===sr?f>0&&(u=sr,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?Gt:sr:null,d=u?u===Gt?r.length:l.length:0);const c=u===Gt&&/\b(transform|all)(,|$)/.test(o(`${Gt}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function $a(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Ha(n)+Ha(e[o])))}function Ha(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Bp(){return document.body.offsetHeight}function Up(e,t,n){const o=e[Cr];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const yo=Symbol("_vod"),Gu=Symbol("_vsh"),Kw={beforeMount(e,{value:t},{transition:n}){e[yo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ir(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),ir(e,!0),o.enter(e)):o.leave(e,()=>{ir(e,!1)}):ir(e,t))},beforeUnmount(e,{value:t}){ir(e,t)}};function ir(e,t){e.style.display=t?e[yo]:"none",e[Gu]=!t}const Vp=Symbol(""),jp=/(^|;)\s*display\s*:/;function Wp(e,t,n){const o=e.style,s=Oe(n);let r=!1;if(n&&!s){if(t)if(Oe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&io(o,a,"")}else for(const i in t)n[i]==null&&io(o,i,"");for(const i in n)i==="display"&&(r=!0),io(o,i,n[i])}else if(s){if(t!==n){const i=o[Vp];i&&(n+=";"+i),o.cssText=n,r=jp.test(n)}}else t&&e.removeAttribute("style");yo in e&&(e[yo]=r?o.display:"",e[Gu]&&(o.display="none"))}const Ba=/\s*!important$/;function io(e,t,n){if(ae(n))n.forEach(o=>io(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Kp(e,t);Ba.test(n)?e.setProperty(An(o),n.replace(Ba,""),"important"):e[o]=n}}const Ua=["Webkit","Moz","ms"],gs={};function Kp(e,t){const n=gs[t];if(n)return n;let o=Tt(t);if(o!=="filter"&&o in e)return gs[t]=o;o=Oo(o);for(let s=0;s<Ua.length;s++){const r=Ua[s]+o;if(r in e)return gs[t]=r}return t}const Va="http://www.w3.org/1999/xlink";function ja(e,t,n,o,s,r=Gd(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Va,t.slice(6,t.length)):e.setAttributeNS(Va,t,n):n==null||r&&!Nc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":cn(n)?String(n):n)}function Gp(e,t,n,o){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const i=s==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Nc(n):n==null&&i==="string"?(n="",r=!0):i==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(t)}function Xp(e,t,n,o){e.addEventListener(t,n,o)}function Yp(e,t,n,o){e.removeEventListener(t,n,o)}const Wa=Symbol("_vei");function qp(e,t,n,o,s=null){const r=e[Wa]||(e[Wa]={}),i=r[t];if(o&&i)i.value=o;else{const[a,l]=Jp(t);if(o){const f=r[t]=Zp(o,s);Xp(e,a,f,l)}else i&&(Yp(e,a,i,l),r[t]=void 0)}}const Ka=/(?:Once|Passive|Capture)$/;function Jp(e){let t;if(Ka.test(e)){t={};let o;for(;o=e.match(Ka);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):An(e.slice(2)),t]}let ms=0;const Qp=Promise.resolve(),zp=()=>ms||(Qp.then(()=>ms=0),ms=Date.now());function Zp(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;yt(eg(o,n.value),t,5,[o])};return n.value=e,n.attached=zp(),n}function eg(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const Ga=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,tg=(e,t,n,o,s,r)=>{const i=s==="svg";t==="class"?Up(e,o,i):t==="style"?Wp(e,n,o):Ir(t)?xi(t)||qp(e,t,n,o,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ng(e,t,o,i))?(Gp(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ja(e,t,o,i,r,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ja(e,t,o,i))};function ng(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ga(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ga(t)&&Oe(n)?!1:t in e}const Xu=Ke({patchProp:tg},Mp);let gr,Xa=!1;function rg(){return gr||(gr=op(Xu))}function og(){return gr=Xa?gr:sp(Xu),Xa=!0,gr}const sg=(...e)=>{const t=rg().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=qu(o);if(!s)return;const r=t._component;!le(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,Yu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},ig=(...e)=>{const t=og().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=qu(o);if(s)return n(s,!0,Yu(s))},t};function Yu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qu(e){return Oe(e)?document.querySelector(e):e}const ag=/"(?:_|\\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*:/,lg=/"(?: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*:/,cg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ug(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){fg(e);return}return t}function fg(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Pr(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const o=n.toLowerCase();if(o==="true")return!0;if(o==="false")return!1;if(o==="undefined")return;if(o==="null")return null;if(o==="nan")return Number.NaN;if(o==="infinity")return Number.POSITIVE_INFINITY;if(o==="-infinity")return Number.NEGATIVE_INFINITY}if(!cg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(ag.test(e)||lg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ug)}return JSON.parse(e)}catch(o){if(t.strict)throw o;return e}}const dg=/#/g,hg=/&/g,pg=/\//g,gg=/=/g,Vi=/\+/g,mg=/%5e/gi,vg=/%60/gi,yg=/%7c/gi,_g=/%20/gi;function xg(e){return encodeURI(""+e).replace(yg,"|")}function Ws(e){return xg(typeof e=="string"?e:JSON.stringify(e)).replace(Vi,"%2B").replace(_g,"+").replace(dg,"%23").replace(hg,"%26").replace(vg,"`").replace(mg,"^").replace(pg,"%2F")}function vs(e){return Ws(e).replace(gg,"%3D")}function _o(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function wg(e){return _o(e.replace(Vi," "))}function Eg(e){return _o(e.replace(Vi," "))}function ji(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const o=n.match(/([^=]+)=?(.*)/)||[];if(o.length<2)continue;const s=wg(o[1]);if(s==="__proto__"||s==="constructor")continue;const r=Eg(o[2]||"");t[s]===void 0?t[s]=r:Array.isArray(t[s])?t[s].push(r):t[s]=[t[s],r]}return t}function Sg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${vs(e)}=${Ws(n)}`).join("&"):`${vs(e)}=${Ws(t)}`:vs(e)}function bg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Sg(t,e[t])).filter(Boolean).join("&")}const Cg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Pg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Tg=/^([/\\]\s*){2,}[^/\\]/,Lg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Rg=/\/$|\/\?|\/#/,kg=/^\.?\//;function wt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Cg.test(e):Pg.test(e)||(t.acceptRelative?Tg.test(e):!1)}function Ag(e){return!!e&&Lg.test(e)}function Ks(e="",t){return t?Rg.test(e):e.endsWith("/")}function Fr(e="",t){if(!t)return(Ks(e)?e.slice(0,-1):e)||"/";if(!Ks(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");s>=0&&(n=e.slice(0,s),o=e.slice(s));const[r,...i]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(i.length>0?`?${i.join("?")}`:"")+o}function Tr(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Ks(e,!0))return e||"/";let n=e,o="";const s=e.indexOf("#");if(s>=0&&(n=e.slice(0,s),o=e.slice(s),!n))return o;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+o}function Ig(e=""){return e.startsWith("/")}function Ya(e=""){return Ig(e)?e:"/"+e}function Og(e,t){if(Qu(t)||wt(e))return e;const n=Fr(t);return e.startsWith(n)?e:On(n,e)}function qa(e,t){if(Qu(t))return e;const n=Fr(t);if(!e.startsWith(n))return e;const o=e.slice(n.length);return o[0]==="/"?o:"/"+o}function Ju(e,t){const n=Mg(e),o={...ji(n.search),...t};return n.search=bg(o),Dg(n)}function Qu(e){return!e||e==="/"}function Ng(e){return e&&e!=="/"}function On(e,...t){let n=e||"";for(const o of t.filter(s=>Ng(s)))if(n){const s=o.replace(kg,"");n=Tr(n)+s}else n=o;return n}function zu(...e){var i,a,l,f;const t=/\/(?!\/)/,n=e.filter(Boolean),o=[];let s=0;for(const u of n)if(!(!u||u==="/")){for(const[h,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(o.length===1&&wt(o[0]))continue;o.pop(),s--;continue}if(h===1&&((i=o[o.length-1])!=null&&i.endsWith(":/"))){o[o.length-1]+="/"+d;continue}o.push(d),s++}}let r=o.join("/");return s>=0?(a=n[0])!=null&&a.startsWith("/")&&!r.startsWith("/")?r="/"+r:(l=n[0])!=null&&l.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*s)+r,(f=n[n.length-1])!=null&&f.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function Gs(e,t,n={}){return n.trailingSlash||(e=Tr(e),t=Tr(t)),n.leadingSlash||(e=Ya(e),t=Ya(t)),n.encoding||(e=_o(e),t=_o(t)),e===t}const Zu=Symbol.for("ufo:protocolRelative");function Mg(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,h,d=""]=n;return{protocol:h.toLowerCase(),pathname:d,href:h+d,auth:"",host:"",search:"",hash:""}}if(!wt(e,{acceptRelative:!0}))return Xs(e);const[,o="",s,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];o==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:f,hash:u}=Xs(a);return{protocol:o.toLowerCase(),auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:i,pathname:l,search:f,hash:u,[Zu]:!o}}function Xs(e=""){const[t="",n="",o=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:o}}function Dg(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",o=e.hash||"",s=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[Zu]?(e.protocol||"")+"//":"")+s+r+t+n+o}class Fg extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function $g(e){var l,f,u,h,d;const t=((l=e.error)==null?void 0:l.message)||((f=e.error)==null?void 0:f.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",o=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",s=`[${n}] ${JSON.stringify(o)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${s}: ${r}${t?` ${t}`:""}`,a=new Fg(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 Hg=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Ja(e="GET"){return Hg.has(e.toUpperCase())}function Bg(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 Ug=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vg=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function jg(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vg.test(t)?"json":Ug.has(t)||t.startsWith("text/")?"text":"blob"}function Wg(e,t,n=globalThis.Headers){const o={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(o.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(o.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){o.headers=new n((t==null?void 0:t.headers)||{});for(const[s,r]of new n((e==null?void 0:e.headers)||{}))o.headers.set(s,r)}return o}const Kg=new Set([408,409,425,429,500,502,503,504]),Gg=new Set([101,204,205,304]);function ef(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:o=globalThis.AbortController}=e;async function s(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=Ja(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):Kg.has(h))){const d=a.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(a.request,{...a.options,retry:u-1})}}const f=$g(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){var c;const u={request:l,options:Wg(f,e.defaults,n),response:void 0,error:void 0};u.options.method=(c=u.options.method)==null?void 0:c.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Og(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Ju(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Ja(u.options.method)&&(Bg(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let h;if(!u.options.signal&&u.options.timeout){const p=new o;h=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await s(u)}finally{h&&clearTimeout(h)}if(u.response.body&&!Gg.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||jg(u.response.headers.get("content-type")||"");switch(p){case"json":{const g=await u.response.text(),v=u.options.parseResponse||Pr;u.response._data=v(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await s(u)):u.response},i=async function(l,f){return(await r(l,f))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>ef({...e,defaults:{...e.defaults,...a}}),i}const Wi=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")}(),Xg=Wi.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Yg=Wi.Headers,qg=Wi.AbortController,Jg=ef({fetch:Xg,Headers:Yg,AbortController:qg}),Qg=Jg,zg=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},xo=zg().app,Zg=()=>xo.baseURL,em=()=>xo.buildAssetsDir,Ki=(...e)=>zu(tf(),em(),...e),tf=(...e)=>{const t=xo.cdnURL||xo.baseURL;return e.length?zu(t,...e):t};globalThis.__buildAssetsURL=Ki,globalThis.__publicAssetsURL=tf;globalThis.$fetch||(globalThis.$fetch=Qg.create({baseURL:Zg()}));function Ys(e,t={},n){for(const o in e){const s=e[o],r=n?`${n}:${o}`:o;typeof s=="object"&&s!==null?Ys(s,t,r):typeof s=="function"&&(t[r]=s)}return t}const tm={run:e=>e()},nm=()=>tm,nf=typeof console.createTask<"u"?console.createTask:nm;function rm(e,t){const n=t.shift(),o=nf(n);return e.reduce((s,r)=>s.then(()=>o.run(()=>r(...t))),Promise.resolve())}function om(e,t){const n=t.shift(),o=nf(n);return Promise.all(e.map(s=>o.run(()=>s(...t))))}function ys(e,t){for(const n of[...e])n(t)}class sm{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,o={}){if(!t||typeof n!="function")return()=>{};const s=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!o.allowDeprecated){let i=r.message;i||(i=`${s} 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 o,s=(...r)=>(typeof o=="function"&&o(),o=void 0,s=void 0,n(...r));return o=this.hook(t,s),o}removeHook(t,n){if(this._hooks[t]){const o=this._hooks[t].indexOf(n);o!==-1&&this._hooks[t].splice(o,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const o=this._hooks[t]||[];delete this._hooks[t];for(const s of o)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ys(t),o=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of o.splice(0,o.length))s()}}removeHooks(t){const n=Ys(t);for(const o in n)this.removeHook(o,n[o])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(rm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(om,t,...n)}callHookWith(t,n,...o){const s=this._before||this._after?{name:n,args:o,context:{}}:void 0;this._before&&ys(this._before,s);const r=t(n in this._hooks?[...this._hooks[n]]:[],o);return r instanceof Promise?r.finally(()=>{this._after&&s&&ys(this._after,s)}):(this._after&&s&&ys(this._after,s),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 rf(){return new sm}function im(e={}){let t,n=!1;const o=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(s&&t===void 0){const i=s.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||o(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{o(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},f=()=>t===i?l:void 0;qs.add(f);try{const u=s?s.run(i,a):a();return n||(t=void 0),await u}finally{qs.delete(f)}}}}function am(e={}){const t={};return{get(n,o={}){return t[n]||(t[n]=im({...e,...o})),t[n],t[n]}}}const wo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Qa="__unctx__",lm=wo[Qa]||(wo[Qa]=am()),cm=(e,t={})=>lm.get(e,t),za="__unctx_async_handlers__",qs=wo[za]||(wo[za]=new Set);function Pt(e){const t=[];for(const s of qs){const r=s();r&&t.push(r)}const n=()=>{for(const s of t)s()};let o=e();return o&&typeof o=="object"&&"catch"in o&&(o=o.catch(s=>{throw n(),s})),[o,n]}const um=!1,Js=!1,fm=!1,dm={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},hm=null,pm="#__nuxt",of="nuxt-app",Za=36e5;function sf(e=of){return cm(e,{asyncContext:!1})}const gm="__nuxt_plugin";function mm(e){let t=0;const n={_id:e.id||of||"nuxt-app",_scope:bi(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.0"},get vue(){return n.vueApp.version}},payload:Bt({data:Bt({}),state:dn({}),once:new Set,_errors:Bt({})}),static:{data:{}},runWithContext(s){return n._scope.active&&!Mo()?n._scope.run(()=>el(n,s)):el(n,s)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Bt({}),_payloadRevivers:{},...e};{const s=window.__NUXT__;if(s)for(const r in s)switch(r){case"data":case"state":case"_errors":Object.assign(n.payload[r],s[r]);break;default:n.payload[r]=s[r]}}n.hooks=rf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,r)=>{const i="$"+s;zr(n,i,r),zr(n.vueApp.config.globalProperties,i,r)},zr(n.vueApp,"$nuxt",n),zr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),window.useNuxtApp=window.useNuxtApp||ve;const s=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",s)}const o=n.payload.config;return n.provide("config",o),n}function vm(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function ym(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const o in n)e.provide(o,n[o])}}async function _m(e,t){const n=[],o=[],s=[],r=[];let i=0;async function a(l){var u;const f=((u=l.dependsOn)==null?void 0:u.filter(h=>t.some(d=>d._name===h)&&!n.includes(h)))??[];if(f.length>0)o.push([new Set(f),l]);else{const h=ym(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(o.map(async([d,c])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(c)))})))});l.parallel?s.push(h.catch(d=>r.push(d))):await h}}for(const l of t)vm(e,l);for(const l of t)await a(l);if(await Promise.all(s),i)for(let l=0;l<i;l++)await Promise.all(s);if(r.length)throw r[0]}function kt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[gm]:!0,_name:t})}function el(e,t,n){const o=()=>t();return sf(e._id).set(e),e.vueApp.runWithContext(o)}function xm(e){var n;let t;return xu()&&(t=(n=In())==null?void 0:n.appContext.app.$nuxt),t=t||sf(e).tryUse(),t||null}function ve(e){const t=xm(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ct(e){return ve().$config}function zr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function wm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},o=t||{},s=o.decode||Em;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(o!=null&&o.filter&&!(o!=null&&o.filter(l))){r=a+1;continue}if(n[l]===void 0){let f=e.slice(i+1,a).trim();f.codePointAt(0)===34&&(f=f.slice(1,-1)),n[l]=Sm(f,s)}r=a+1}return n}function Em(e){return e.includes("%")?decodeURIComponent(e):e}function Sm(e,t){try{return t(e)}catch{return e}}const Zr=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function tl(e,t,n){const o=n||{},s=o.encode||encodeURIComponent;if(typeof s!="function")throw new TypeError("option encode is invalid");if(!Zr.test(e))throw new TypeError("argument name is invalid");const r=s(t);if(r&&!Zr.test(r))throw new TypeError("argument val is invalid");let i=e+"="+r;if(o.maxAge!==void 0&&o.maxAge!==null){const a=o.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(o.domain){if(!Zr.test(o.domain))throw new TypeError("option domain is invalid");i+="; Domain="+o.domain}if(o.path){if(!Zr.test(o.path))throw new TypeError("option path is invalid");i+="; Path="+o.path}if(o.expires){if(!bm(o.expires)||Number.isNaN(o.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+o.expires.toUTCString()}if(o.httpOnly&&(i+="; HttpOnly"),o.secure&&(i+="; Secure"),o.priority)switch(typeof o.priority=="string"?o.priority.toLowerCase():o.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(o.sameSite)switch(typeof o.sameSite=="string"?o.sameSite.toLowerCase():o.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 o.partitioned&&(i+="; Partitioned"),i}function bm(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const nl=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 rl(e,t){t?t={...nl,...t}:t=nl;const n=af(t);return n.dispatch(e),n.toString()}const Cm=Object.freeze(["prototype","__proto__","constructor"]);function af(e){let t="",n=new Map;const o=s=>{t+=s};return{toString(){return t},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this[s===null?"null":typeof s](s)},object(s){if(s&&typeof s.toJSON=="function")return this.object(s.toJSON());const r=Object.prototype.toString.call(s);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(s))===void 0)n.set(s,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return o("buffer:"),o(s.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](s):e.ignoreUnknown||this.unkown(s,i);else{let f=Object.keys(s);e.unorderedObjects&&(f=f.sort());let u=[];e.respectType!==!1&&!ol(s)&&(u=Cm),e.excludeKeys&&(f=f.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),o("object:"+(f.length+u.length)+":");const h=d=>{this.dispatch(d),o(":"),e.excludeValues||this.dispatch(s[d]),o(",")};for(const d of f)h(d);for(const d of u)h(d)}},array(s,r){if(r=r===void 0?e.unorderedArrays!==!1:r,o("array:"+s.length+":"),!r||s.length<=1){for(const l of s)this.dispatch(l);return}const i=new Map,a=s.map(l=>{const f=af(e);f.dispatch(l);for(const[u,h]of f.getContext())i.set(u,h);return f.toString()});return n=i,a.sort(),this.array(a,!1)},date(s){return o("date:"+s.toJSON())},symbol(s){return o("symbol:"+s.toString())},unkown(s,r){if(o(r),!!s&&(o(":"),s&&typeof s.entries=="function"))return this.array(Array.from(s.entries()),!0)},error(s){return o("error:"+s.toString())},boolean(s){return o("bool:"+s)},string(s){o("string:"+s.length+":"),o(s)},function(s){o("fn:"),ol(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this.object(s)},number(s){return o("number:"+s)},xml(s){return o("xml:"+s.toString())},null(){return o("Null")},undefined(){return o("Undefined")},regexp(s){return o("regex:"+s.toString())},uint8array(s){return o("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},uint8clampedarray(s){return o("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},int8array(s){return o("int8array:"),this.dispatch(Array.prototype.slice.call(s))},uint16array(s){return o("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},int16array(s){return o("int16array:"),this.dispatch(Array.prototype.slice.call(s))},uint32array(s){return o("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},int32array(s){return o("int32array:"),this.dispatch(Array.prototype.slice.call(s))},float32array(s){return o("float32array:"),this.dispatch(Array.prototype.slice.call(s))},float64array(s){return o("float64array:"),this.dispatch(Array.prototype.slice.call(s))},arraybuffer(s){return o("arraybuffer:"),this.dispatch(new Uint8Array(s))},url(s){return o("url:"+s.toString())},map(s){o("map:");const r=[...s];return this.array(r,e.unorderedSets!==!1)},set(s){o("set:");const r=[...s];return this.array(r,e.unorderedSets!==!1)},file(s){return o("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},blob(){if(e.ignoreUnknown)return o("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return o("domwindow")},bigint(s){return o("bigint:"+s.toString())},process(){return o("process")},timer(){return o("timer")},pipe(){return o("pipe")},tcp(){return o("tcp")},udp(){return o("udp")},tty(){return o("tty")},statwatcher(){return o("statwatcher")},securecontext(){return o("securecontext")},connection(){return o("connection")},zlib(){return o("zlib")},context(){return o("context")},nodescript(){return o("nodescript")},httpparser(){return o("httpparser")},dataview(){return o("dataview")},signal(){return o("signal")},fsevent(){return o("fsevent")},tlswrap(){return o("tlswrap")}}}const lf="[native code] }",Pm=lf.length;function ol(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Pm)===lf}function Tm(e,t,n={}){return e===t||rl(e,n)===rl(t,n)}function Lm(e,t){return{ctx:{table:e},matchAll:n=>uf(n,e)}}function cf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([o,s])=>[o,cf(s)])):new Map(Object.entries(e[n]));return t}function Rm(e){return Lm(cf(e))}function uf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const o=[];for(const[r,i]of sl(t.wildcard))(e===r||e.startsWith(r+"/"))&&o.push(i);for(const[r,i]of sl(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");o.push(...uf(a,i))}const s=t.static.get(e);return s&&o.push(s),o.filter(Boolean)}function sl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function _s(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 Qs(e,t,n=".",o){if(!_s(t))return Qs(e,{},n,o);const s=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(o&&o(s,r,i,n)||(Array.isArray(i)&&Array.isArray(s[r])?s[r]=[...i,...s[r]]:_s(i)&&_s(s[r])?s[r]=Qs(i,s[r],(n?`${n}.`:"")+r.toString(),o):s[r]=i))}return s}function km(e){return(...t)=>t.reduce((n,o)=>Qs(n,o,"",e),{})}const ff=km();function Am(e,t){try{return t in e}catch{return!1}}var Im=Object.defineProperty,Om=(e,t,n)=>t in e?Im(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bn=(e,t,n)=>(Om(e,typeof t!="symbol"?t+"":t,n),n);class zs extends Error{constructor(t,n={}){super(t,n),bn(this,"statusCode",500),bn(this,"fatal",!1),bn(this,"unhandled",!1),bn(this,"statusMessage"),bn(this,"data"),bn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ei(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=df(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}bn(zs,"__h3_error__",!0);function Zs(e){if(typeof e=="string")return new zs(e);if(Nm(e))return e;const t=new zs(e.message??e.statusMessage??"",{cause:e.cause||e});if(Am(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=ei(e.statusCode,t.statusCode):e.status&&(t.statusCode=ei(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;df(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 Nm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Mm=/[^\u0009\u0020-\u007E]/g;function df(e=""){return e.replace(Mm,"")}function ei(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const hf=Symbol("layout-meta"),$r=Symbol("route"),Xe=()=>{var e;return(e=ve())==null?void 0:e.$router},Wo=()=>xu()?ze($r,ve()._route):ve()._route;const Dm=(e,t,n={})=>{const o=ve(),s=n.global||typeof e!="string",r=t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}s?o._middleware.global.push(r):o._middleware.named[e]=r},Fm=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!1}return!1},pf=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?ti(e):Xe().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:f={}}=t.open,u=Object.entries(f).filter(([h,d])=>d!==void 0).map(([h,d])=>`${h.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const o=wt(n,{acceptRelative:!0}),s=(t==null?void 0:t.external)||o;if(s){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&&Ag(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=Fm();if(!s&&r)return e;const i=Xe(),a=ve();return s?(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 ti(e){return Ju(e.path||"",e.query||{})+(e.hash||"")}const gf="__nuxt_error",Ko=()=>eu(ve().payload,"error"),Bn=e=>{const t=Go(e);try{const n=ve(),o=Ko();n.hooks.callHook("app:error",t),o.value=o.value||t}catch{throw t}return t},$m=async(e={})=>{const t=ve(),n=Ko();t.callHook("app:error:cleared",e),e.redirect&&await Xe().replace(e.redirect),n.value=hm},Hm=e=>!!e&&typeof e=="object"&&gf in e,Go=e=>{const t=Zs(e);return Object.defineProperty(t,gf,{value:!0,configurable:!1,writable:!1}),t},Bm=-1,Um=-2,Vm=-3,jm=-4,Wm=-5,Km=-6;function Gm(e,t){return Xm(JSON.parse(e),t)}function Xm(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,o=Array(n.length);function s(r,i=!1){if(r===Bm)return;if(r===Vm)return NaN;if(r===jm)return 1/0;if(r===Wm)return-1/0;if(r===Km)return-0;if(i)throw new Error("Invalid input");if(r in o)return o[r];const a=n[r];if(!a||typeof a!="object")o[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],f=t==null?void 0:t[l];if(f)return o[r]=f(s(a[1]));switch(l){case"Date":o[r]=new Date(a[1]);break;case"Set":const u=new Set;o[r]=u;for(let c=1;c<a.length;c+=1)u.add(s(a[c]));break;case"Map":const h=new Map;o[r]=h;for(let c=1;c<a.length;c+=2)h.set(s(a[c]),s(a[c+1]));break;case"RegExp":o[r]=new RegExp(a[1],a[2]);break;case"Object":o[r]=Object(a[1]);break;case"BigInt":o[r]=BigInt(a[1]);break;case"null":const d=Object.create(null);o[r]=d;for(let c=1;c<a.length;c+=2)d[a[c]]=s(a[c+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);o[r]=l;for(let f=0;f<a.length;f+=1){const u=a[f];u!==Um&&(l[f]=s(u))}}else{const l={};o[r]=l;for(const f in a){const u=a[f];l[f]=s(u)}}return o[r]}return s(0)}const Ym=new Set(["title","titleTemplate","script","style","noscript"]),ao=new Set(["base","meta","link","style","script","noscript"]),qm=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Jm=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),mf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Qm=typeof window<"u";function Eo(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 il(e){if(e._h)return e._h;if(e._d)return Eo(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${e.props[n]},`;return Eo(t)}const zm=["name","property","http-equiv"];function vf(e){const{props:t,tag:n}=e;if(Jm.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 o of zm)if(t[o]!==void 0)return`${n}:${o}:${t[o]}`;return!1}function al(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function Zm(e,t){return e instanceof Promise?e.then(t):t(e)}function ni(e,t,n,o){const s=o||_f(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(s instanceof Promise)return s.then(i=>ni(e,t,n,i));const r={tag:e,props:s};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")||Ym.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 ev(e,t){var o;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,s])=>s).map(([s,r])=>e==="style"?`${s}:${r}`:s)),(o=String(Array.isArray(t)?t.join(n):t))==null?void 0:o.split(n).filter(s=>!!s.trim()).join(n)}function yf(e,t,n,o){for(let s=o;s<n.length;s+=1){const r=n[s];if(r==="class"||r==="style"){e[r]=ev(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,yf(e,t,n,s)));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 _f(e,t=!1){const n=yf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const tv=10;function xf(e,t,n){for(let o=n;o<t.length;o+=1){const s=t[o];if(s instanceof Promise)return s.then(r=>(t[o]=r,xf(e,t,o)));Array.isArray(s)?e.push(...s):e.push(s)}}function nv(e){const t=[],n=e.resolvedInput;for(const s in n){if(!Object.prototype.hasOwnProperty.call(n,s))continue;const r=n[s];if(!(r===void 0||!qm.has(s))){if(Array.isArray(r)){for(const i of r)t.push(ni(s,i,e));continue}t.push(ni(s,r,e))}}if(t.length===0)return[];const o=[];return Zm(xf(o,t,0),()=>o.map((s,r)=>(s._e=e._i,e.mode&&(s._m=e.mode),s._p=(e._i<<tv)+r,s)))}const ll={base:-10,title:10},cl={critical:-80,high:-10,low:20};function So(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 ll&&(n=ll[e.tag]),t&&t in cl?n+cl[t]:n}const rv=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ul=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),zt="%separator";function ov(e,t){var o;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const s=t.indexOf(".");n=(o=e[t.substring(0,s)])==null?void 0:o[t.substring(s+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const sv=new RegExp(`${zt}(?:\\s*${zt})*`,"g");function xs(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const s=o.match(/%\w+(?:\.\w+)?/g);if(!s)return e;const r=e.includes(zt);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===zt||!s.includes(i))return i;const a=ov(t,i.slice(1));return a!==void 0?a:i}).trim(),r&&(e.endsWith(zt)&&(e=e.slice(0,-zt.length)),e.startsWith(zt)&&(e=e.slice(zt.length)),e=e.replace(sv,n).trim()),e}async function wf(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const o={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;const s=(await e.resolveTags()).map(h=>({tag:h,id:ao.has(h.tag)?il(h):h.tag,shouldRender:!0}));let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const h=new Set;for(const d of["body","head"]){const c=(u=n[d])==null?void 0:u.children;for(const p of c){const g=p.tagName.toLowerCase();if(!ao.has(g))continue;const v={tag:g,props:await _f(p.getAttributeNames().reduce((_,m)=>({..._,[m]:p.getAttribute(m)}),{})),innerHTML:p.innerHTML},w=vf(v);let E=w,y=1;for(;E&&h.has(E);)E=`${w}:${y++}`;E&&(v._d=E,h.add(E)),r.elMap[p.getAttribute("data-hid")||il(v)]=p}}}r.pendingSideEffects={...r.sideEffects},r.sideEffects={};function i(h,d,c){const p=`${h}:${d}`;r.sideEffects[p]=c,delete r.pendingSideEffects[p]}function a({id:h,$el:d,tag:c}){const p=c.tag.endsWith("Attrs");if(r.elMap[h]=d,p||(c.textContent&&c.textContent!==d.textContent&&(d.textContent=c.textContent),c.innerHTML&&c.innerHTML!==d.innerHTML&&(d.innerHTML=c.innerHTML),i(h,"el",()=>{var g;(g=r.elMap[h])==null||g.remove(),delete r.elMap[h]})),c._eventHandlers)for(const g in c._eventHandlers)Object.prototype.hasOwnProperty.call(c._eventHandlers,g)&&d.getAttribute(`data-${g}`)!==""&&((c.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.substring(2),c._eventHandlers[g].bind(d)),d.setAttribute(`data-${g}`,""));for(const g in c.props){if(!Object.prototype.hasOwnProperty.call(c.props,g))continue;const v=c.props[g],w=`attr:${g}`;if(g==="class"){if(!v)continue;for(const E of v.split(" "))p&&i(h,`${w}:${E}`,()=>d.classList.remove(E)),!d.classList.contains(E)&&d.classList.add(E)}else if(g==="style"){if(!v)continue;for(const E of v.split(";")){const y=E.indexOf(":"),_=E.substring(0,y).trim(),m=E.substring(y+1).trim();i(h,`${w}:${_}`,()=>{d.style.removeProperty(_)}),d.style.setProperty(_,m)}}else d.getAttribute(g)!==v&&d.setAttribute(g,v===!0?"":String(v)),p&&i(h,w,()=>d.removeAttribute(g))}}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of s){const{tag:d,shouldRender:c,id:p}=h;if(c){if(d.tag==="title"){n.title=d.textContent;continue}h.$el=h.$el||r.elMap[p],h.$el?a(h):ao.has(d.tag)&&l.push(h)}}for(const h of l){const d=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),a(h),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(h.$el)}for(const h of s)await e.hooks.callHook("dom:renderTag",h,n,i);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose);for(const h in r.pendingSideEffects)r.pendingSideEffects[h]();e._dom=r,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:s})}function iv(e,t={}){const n=t.delayFn||(o=>setTimeout(o,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(o=>n(()=>wf(e,t).then(()=>{delete e._domUpdatePromise,o()})))}function av(e){return t=>{var o,s;const n=((s=(o=t.resolvedOptions.document)==null?void 0:o.head.querySelector('script[id="unhead:payload"]'))==null?void 0:s.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{iv(r,e)}}}}}const lv=new Set(["templateParams","htmlAttrs","bodyAttrs"]),cv={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 n=vf(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const o of e.tags){const s=(o.key?`${o.tag}:${o.key}`:o._d)||o._p,r=t[s];if(r){let a=o==null?void 0:o.tagDuplicateStrategy;if(!a&&lv.has(o.tag)&&(a="merge"),a==="merge"){const l=r.props;l.style&&o.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),o.props.style=`${l.style} ${o.props.style}`),l.class&&o.props.class?o.props.class=`${l.class} ${o.props.class}`:l.class&&(o.props.class=l.class),t[s].props={...l,...o.props};continue}else if(o._e===r._e){r._duped=r._duped||[],o._d=`${r._d}:${r._duped.length+1}`,r._duped.push(o);continue}else if(So(o)>So(r))continue}if(!(o.innerHTML||o.textContent||Object.keys(o.props).length!==0)&&ao.has(o.tag)){delete t[s];continue}t[s]=o}const n=[];for(const o in t){const s=t[o],r=s._duped;n.push(s),r&&(delete s._duped,n.push(...r))}e.tags=n,e.tags=e.tags.filter(o=>!(o.tag==="meta"&&(o.props.name||o.props.property)&&!o.props.content))}}},uv={mode:"server",hooks:{"tags:resolve":e=>{const t={};let n=!1;for(const o of e.tags)o._m!=="server"||o.tag!=="titleTemplate"&&o.tag!=="templateParams"&&o.tag!=="title"||(t[o.tag]=o.tag==="title"||o.tag==="titleTemplate"?o.textContent:o.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},fv=new Set(["script","link","bodyAttrs"]),dv=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!fv.has(n.tag))continue;const o=n.props;for(const s in o){if(s[0]!=="o"||s[1]!=="n"||!Object.prototype.hasOwnProperty.call(o,s))continue;const r=o[s];typeof r=="function"&&(e.ssr&&ul.has(s)?o[s]=`this.dataset.${s}fired = true`:delete o[s],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[s]=r)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Eo(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var s,r;const o=t==null?void 0:t.dataset;if(o)for(const i in o){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);ul.has(a)&&((r=(s=n._eventHandlers)==null?void 0:s[a])==null||r.call(t,new Event(a.substring(2))))}}}}),hv=new Set(["link","style","script","noscript"]),pv={hooks:{"tag:normalise":({tag:e})=>{e.key&&hv.has(e.tag)&&(e.props["data-hid"]=e._h=Eo(e.key))}}},gv={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:o,offset:s}of rv){if(!n.tagPriority.startsWith(o))continue;const r=n.tagPriority.substring(o.length),i=(t=e.tags.find(a=>a._d===r))==null?void 0:t._p;if(i!==void 0){n._p=i+s;break}}e.tags.sort((n,o)=>{const s=So(n),r=So(o);return s<r?-1:s>r?1:n._p-o._p})}}},mv={meta:"content",link:"href",htmlAttrs:"lang"},vv=["innerHTML","textContent"],yv=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let o;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(o=t.tags.splice(a,1)[0].props,a-=1);const s=o||{},r=s.separator||"|";delete s.separator,s.pageTitle=xs(s.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",s,r);for(const a of n){if(a.processTemplateParams===!1)continue;const l=mv[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=xs(a.props[l],s,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const f of vv)typeof a[f]=="string"&&(a[f]=xs(a[f],s,r))}e._templateParams=s,e._separator=r}}}),_v={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,o;for(let s=0;s<t.length;s+=1){const r=t[s];r.tag==="title"?n=r:r.tag==="titleTemplate"&&(o=r)}if(o&&n){const s=al(o.textContent,n.textContent);s!==null?n.textContent=s||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(o){const s=al(o.textContent);s!==null&&(o.textContent=s,o.tag="title",o=void 0)}o&&e.tags.splice(e.tags.indexOf(o),1)}}},xv={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 Ef;function wv(e={}){const t=Ev(e);return t.use(av()),Ef=t}function fl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Ev(e={}){const t=rf();t.addHooks(e.hooks||{}),e.document=e.document||(Qm?document:void 0);const n=!e.document,o=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let s=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(l){const f=typeof l=="function"?l(a):l;(!f.key||!i.some(u=>u.key===f.key))&&(i.push(f),fl(f.mode,n)&&t.addHooks(f.hooks||{}))},push(l,f){f==null||delete f.head;const u={_i:s++,input:l,...f};return fl(u.mode,n)&&(r.push(u),o()),{dispose(){r=r.filter(h=>h._i!==u._i),t.callHook("entries:updated",a),o()},patch(h){for(const d of r)d._i===u._i&&(d.input=u.input=h);o()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const f of l.entries){const u=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(u):u),f.resolvedInput)for(const h of await nv(f)){const d={tag:h,entry:f,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[cv,uv,dv,pv,gv,yv,_v,xv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Sv(){return Ef}const bv=Wu[0]==="3";function Cv(e){return typeof e=="function"?e():te(e)}function bo(e){if(e instanceof Promise)return e;const t=Cv(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>bo(n));if(typeof t=="object"){const n={};for(const o in t)if(Object.prototype.hasOwnProperty.call(t,o)){if(o==="titleTemplate"||o[0]==="o"&&o[1]==="n"){n[o]=te(t[o]);continue}n[o]=bo(t[o])}return n}return t}const Pv={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=bo(t.input)}}},Sf="usehead";function Tv(e){return{install(n){bv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Sf,e))}}.install}function Lv(e={}){e.domDelayFn=e.domDelayFn||(n=>hn(()=>setTimeout(()=>n(),0)));const t=wv(e);return t.use(Pv),t.install=Tv(t),t}const ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},oi="__unhead_injection_handler__";function Rv(e){ri[oi]=e}function kv(){if(oi in ri)return ri[oi]();const e=ze(Sf);return e||Sv()}function dl(e,t={}){const n=t.head||kv();if(n)return n.ssr?n.push(e,t):Av(n,e,t)}function Av(e,t,n={}){const o=be(!1),s=be({});cp(()=>{s.value=o.value?{}:bo(t)});const r=e.push(s.value,n);return at(s,a=>{r.patch(a)}),In()&&(Mr(()=>{r.dispose()}),uu(()=>{o.value=!0}),cu(()=>{o.value=!1})),r}let lo,co;function Iv(){return lo=$fetch(Ki(`builds/meta/${ct().app.buildId}.json`),{responseType:"json"}),lo.then(e=>{co=Rm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),lo}function Xo(){return lo||Iv()}async function Gi(e){if(await Xo(),!co)return console.error("[nuxt] Error creating app manifest matcher.",co),{};try{return ff({},...co.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function hl(e,t={}){const n=await Nv(e,t),o=ve(),s=o._payloadCache=o._payloadCache||{};return n in s||(s[n]=Cf(e).then(r=>r?bf(n).then(i=>i||(delete s[n],null)):(s[n]=null,null))),s[n]}const Ov="_payload.json";async function Nv(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||wt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const o=ct(),s=t.hash||(t.fresh?Date.now():o.app.buildId),r=o.app.cdnURL,i=r&&await Cf(e)?r:o.app.baseURL;return On(i,n.pathname,Ov+(s?`?${s}`:""))}async function bf(e){const t=fetch(e).then(n=>n.text().then(Pf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Cf(e=Wo().path){if(e=Fr(e),(await Xo()).prerendered.includes(e))return!0;const n=await Gi(e);return!!n.prerender&&!n.redirect}let wn=null;async function Mv(){var o;if(wn)return wn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Pf(e.textContent||""),n=e.dataset.src?await bf(e.dataset.src):void 0;return wn={...t,...n,...window.__NUXT__},(o=wn.config)!=null&&o.public&&(wn.config.public=dn(wn.config.public)),wn}async function Pf(e){return await Gm(e,ve()._payloadRevivers)}function Dv(e,t){ve()._payloadRevivers[e]=t}const pl={NuxtError:e=>Go(e),EmptyShallowRef:e=>Yn(e==="_"?void 0:e==="0n"?BigInt(0):Pr(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):Pr(e)),ShallowRef:e=>Yn(e),ShallowReactive:e=>Bt(e),Ref:e=>be(e),Reactive:e=>dn(e)},Fv=kt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const o in pl)Dv(o,pl[o]);Object.assign(e.payload,([t,n]=Pt(()=>e.runWithContext(Mv)),t=await t,n(),t)),window.__NUXT__=e.payload}}),$v=[],Hv=kt({name:"nuxt:head",enforce:"pre",setup(e){const t=Lv({plugins:$v});Rv(()=>ve().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const o=async()=>{n=!1,await wf(t)};t.hooks.hook("dom:beforeRender",s=>{s.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||o()}),e.hooks.hook("app:error",o),e.hooks.hook("app:suspense:resolve",o)}}});/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const $n=typeof document<"u";function Bv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Pe=Object.assign;function ws(e,t){const n={};for(const o in t){const s=t[o];n[o]=Lt(s)?s.map(e):e(s)}return n}const mr=()=>{},Lt=Array.isArray,Tf=/#/g,Uv=/&/g,Vv=/\//g,jv=/=/g,Wv=/\?/g,Lf=/\+/g,Kv=/%5B/g,Gv=/%5D/g,Rf=/%5E/g,Xv=/%60/g,kf=/%7B/g,Yv=/%7C/g,Af=/%7D/g,qv=/%20/g;function Xi(e){return encodeURI(""+e).replace(Yv,"|").replace(Kv,"[").replace(Gv,"]")}function Jv(e){return Xi(e).replace(kf,"{").replace(Af,"}").replace(Rf,"^")}function si(e){return Xi(e).replace(Lf,"%2B").replace(qv,"+").replace(Tf,"%23").replace(Uv,"%26").replace(Xv,"`").replace(kf,"{").replace(Af,"}").replace(Rf,"^")}function Qv(e){return si(e).replace(jv,"%3D")}function zv(e){return Xi(e).replace(Tf,"%23").replace(Wv,"%3F")}function Zv(e){return e==null?"":zv(e).replace(Vv,"%2F")}function Lr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ey=/\/$/,ty=e=>e.replace(ey,"");function Es(e,t,n="/"){let o,s={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(o=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),s=e(r)),a>-1&&(o=o||t.slice(0,a),i=t.slice(a,t.length)),o=sy(o??t,n),{fullPath:o+(r&&"?")+r+i,path:o,query:s,hash:Lr(i)}}function ny(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function gl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ry(e,t,n){const o=t.matched.length-1,s=n.matched.length-1;return o>-1&&o===s&&Qn(t.matched[o],n.matched[s])&&If(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function If(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!oy(e[n],t[n]))return!1;return!0}function oy(e,t){return Lt(e)?ml(e,t):Lt(t)?ml(t,e):e===t}function ml(e,t){return Lt(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function sy(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),s=o[o.length-1];(s===".."||s===".")&&o.push("");let r=n.length-1,i,a;for(i=0;i<o.length;i++)if(a=o[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+o.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Rr;(function(e){e.pop="pop",e.push="push"})(Rr||(Rr={}));var vr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vr||(vr={}));function iy(e){if(!e)if($n){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ty(e)}const ay=/^[^#]+#/;function ly(e,t){return e.replace(ay,"#")+t}function cy(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const Yo=()=>({left:window.scrollX,top:window.scrollY});function uy(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=cy(s,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 vl(e,t){return(history.state?history.state.position-t:-1)+e}const ii=new Map;function fy(e,t){ii.set(e,t)}function dy(e){const t=ii.get(e);return ii.delete(e),t}let hy=()=>location.protocol+"//"+location.host;function Of(e,t){const{pathname:n,search:o,hash:s}=t,r=e.indexOf("#");if(r>-1){let a=s.includes(e.slice(r))?e.slice(r).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),gl(l,"")}return gl(n,e)+o+s}function py(e,t,n,o){let s=[],r=[],i=null;const a=({state:d})=>{const c=Of(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else o(c);s.forEach(w=>{w(n.value,p,{delta:v,type:Rr.pop,direction:v?v>0?vr.forward:vr.back:vr.unknown})})};function l(){i=n.value}function f(d){s.push(d);const c=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(Pe({},d.state,{scroll:Yo()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function yl(e,t,n,o=!1,s=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:s?Yo():null}}function gy(e){const{history:t,location:n}=window,o={value:Of(e,n)},s={value:t.state};s.value||r(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:hy()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),s.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=Pe({},t.state,yl(s.value.back,l,s.value.forward,!0),f,{position:s.value.position});r(l,u,!0),o.value=l}function a(l,f){const u=Pe({},s.value,t.state,{forward:l,scroll:Yo()});r(u.current,u,!0);const h=Pe({},yl(o.value,l,null),{position:u.position+1},f);r(l,h,!1),o.value=l}return{location:o,state:s,push:a,replace:i}}function Nf(e){e=iy(e);const t=gy(e),n=py(e,t.state,t.location,t.replace);function o(r,i=!0){i||n.pauseListeners(),history.go(r)}const s=Pe({location:"",base:e,go:o,createHref:ly.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function my(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Nf(e)}function vy(e){return typeof e=="string"||e&&typeof e=="object"}function Mf(e){return typeof e=="string"||typeof e=="symbol"}const Df=Symbol("");var _l;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(_l||(_l={}));function zn(e,t){return Pe(new Error,{type:e,[Df]:!0},t)}function Mt(e,t){return e instanceof Error&&Df in e&&(t==null||!!(e.type&t))}const xl="[^/]+?",yy={sensitive:!1,strict:!1,start:!0,end:!0},_y=/[.+*?^${}()[\]/\\]/g;function xy(e,t){const n=Pe({},yy,t),o=[];let s=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(s+="/");for(let h=0;h<f.length;h++){const d=f[h];let c=40+(n.sensitive?.25:0);if(d.type===0)h||(s+="/"),s+=d.value.replace(_y,"\\$&"),c+=40;else if(d.type===1){const{value:p,repeatable:g,optional:v,regexp:w}=d;r.push({name:p,repeatable:g,optional:v});const E=w||xl;if(E!==xl){c+=10;try{new RegExp(`(${E})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${E}): `+_.message)}}let y=g?`((?:${E})(?:/(?:${E}))*)`:`(${E})`;h||(y=v&&f.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),s+=y,c+=20,v&&(c+=-8),g&&(c+=-20),E===".*"&&(c+=-50)}u.push(c)}o.push(u)}if(n.strict&&n.end){const f=o.length-1;o[f][o[f].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(f){const u=f.match(i),h={};if(!u)return null;for(let d=1;d<u.length;d++){const c=u[d]||"",p=r[d-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(f){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of d)if(c.type===0)u+=c.value;else if(c.type===1){const{value:p,repeatable:g,optional:v}=c,w=p in f?f[p]:"";if(Lt(w)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const E=Lt(w)?w.join("/"):w;if(!E)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=E}}return u||"/"}return{re:i,score:o,keys:r,parse:a,stringify:l}}function wy(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;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 Ff(e,t){let n=0;const o=e.score,s=t.score;for(;n<o.length&&n<s.length;){const r=wy(o[n],s[n]);if(r)return r;n++}if(Math.abs(s.length-o.length)===1){if(wl(o))return 1;if(wl(s))return-1}return s.length-o.length}function wl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ey={type:0,value:""},Sy=/[a-zA-Z0-9_]/;function by(e){if(!e)return[[]];if(e==="/")return[[Ey]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,o=n;const s=[];let r;function i(){r&&s.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),i()):l===":"?(h(),n=1):d();break;case 4:d(),n=o;break;case 1:l==="("?n=2:Sy.test(l)?d():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),s}function Cy(e,t,n){const o=xy(by(e.path),n),s=Pe(o,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Py(e,t){const n=[],o=new Map;t=bl({strict:!1,end:!0,sensitive:!1},t);function s(h){return o.get(h)}function r(h,d,c){const p=!c,g=Ty(h);g.aliasOf=c&&c.record;const v=bl(t,h),w=[g];if("alias"in h){const _=typeof h.alias=="string"?[h.alias]:h.alias;for(const m of _)w.push(Pe({},g,{components:c?c.record.components:g.components,path:m,aliasOf:c?c.record:g}))}let E,y;for(const _ of w){const{path:m}=_;if(d&&m[0]!=="/"){const x=d.record.path,S=x[x.length-1]==="/"?"":"/";_.path=d.record.path+(m&&S+m)}if(E=Cy(_,d,v),c?c.alias.push(E):(y=y||E,y!==E&&y.alias.push(E),p&&h.name&&!Sl(E)&&i(h.name)),$f(E)&&l(E),g.children){const x=g.children;for(let S=0;S<x.length;S++)r(x[S],E,c&&c.children[S])}c=c||E}return y?()=>{i(y)}:mr}function i(h){if(Mf(h)){const d=o.get(h);d&&(o.delete(h),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(h);d>-1&&(n.splice(d,1),h.record.name&&o.delete(h.record.name),h.children.forEach(i),h.alias.forEach(i))}}function a(){return n}function l(h){const d=ky(h,n);n.splice(d,0,h),h.record.name&&!Sl(h)&&o.set(h.record.name,h)}function f(h,d){let c,p={},g,v;if("name"in h&&h.name){if(c=o.get(h.name),!c)throw zn(1,{location:h});v=c.record.name,p=Pe(El(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),h.params&&El(h.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(h.path!=null)g=h.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw zn(1,{location:h,currentLocation:d});v=c.record.name,p=Pe({},d.params,h.params),g=c.stringify(p)}const w=[];let E=c;for(;E;)w.unshift(E.record),E=E.parent;return{name:v,path:g,params:p,matched:w,meta:Ry(w)}}e.forEach(h=>r(h));function u(){n.length=0,o.clear()}return{addRoute:r,resolve:f,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:s}}function El(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ty(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ly(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ly(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Sl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ry(e){return e.reduce((t,n)=>Pe(t,n.meta),{})}function bl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function ky(e,t){let n=0,o=t.length;for(;n!==o;){const r=n+o>>1;Ff(e,t[r])<0?o=r:n=r+1}const s=Ay(e);return s&&(o=t.lastIndexOf(s,o-1)),o}function Ay(e){let t=e;for(;t=t.parent;)if($f(t)&&Ff(e,t)===0)return t}function $f({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Iy(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<o.length;++s){const r=o[s].replace(Lf," "),i=r.indexOf("="),a=Lr(i<0?r:r.slice(0,i)),l=i<0?null:Lr(r.slice(i+1));if(a in t){let f=t[a];Lt(f)||(f=t[a]=[f]),f.push(l)}else t[a]=l}return t}function Cl(e){let t="";for(let n in e){const o=e[n];if(n=Qv(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Lt(o)?o.map(r=>r&&si(r)):[o&&si(o)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Oy(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Lt(o)?o.map(s=>s==null?null:""+s):o==null?o:""+o)}return t}const Ny=Symbol(""),Pl=Symbol(""),Yi=Symbol(""),qi=Symbol(""),ai=Symbol("");function ar(){let e=[];function t(o){return e.push(o),()=>{const s=e.indexOf(o);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Zt(e,t,n,o,s,r=i=>i()){const i=o&&(o.enterCallbacks[s]=o.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const f=d=>{d===!1?l(zn(4,{from:n,to:t})):d instanceof Error?l(d):vy(d)?l(zn(2,{from:t,to:d})):(i&&o.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(o&&o.instances[s],t,n,f));let h=Promise.resolve(u);e.length<3&&(h=h.then(f)),h.catch(d=>l(d))})}function Ss(e,t,n,o,s=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(My(l)){const u=(l.__vccOpts||l)[t];u&&r.push(Zt(u,n,o,i,a,s))}else{let f=l();r.push(()=>f.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const h=Bv(u)?u.default:u;i.components[a]=h;const c=(h.__vccOpts||h)[t];return c&&Zt(c,n,o,i,a,s)()}))}}return r}function My(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Tl(e){const t=ze(Yi),n=ze(qi),o=me(()=>{const l=te(e.to);return t.resolve(l)}),s=me(()=>{const{matched:l}=o.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex(Qn.bind(null,u));if(d>-1)return d;const c=Ll(l[f-2]);return f>1&&Ll(u)===c&&h[h.length-1].path!==c?h.findIndex(Qn.bind(null,l[f-2])):d}),r=me(()=>s.value>-1&&Hy(n.params,o.value.params)),i=me(()=>s.value>-1&&s.value===n.matched.length-1&&If(n.params,o.value.params));function a(l={}){return $y(l)?t[te(e.replace)?"replace":"push"](te(e.to)).catch(mr):Promise.resolve()}return{route:o,href:me(()=>o.value.href),isActive:r,isExactActive:i,navigate:a}}const Dy=Ye({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Tl,setup(e,{slots:t}){const n=dn(Tl(e)),{options:o}=ze(Yi),s=me(()=>({[Rl(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Rl(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:We("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},r)}}}),Fy=Dy;function $y(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 Hy(e,t){for(const n in t){const o=t[n],s=e[n];if(typeof o=="string"){if(o!==s)return!1}else if(!Lt(s)||s.length!==o.length||o.some((r,i)=>r!==s[i]))return!1}return!0}function Ll(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Rl=(e,t,n)=>e??t??n,By=Ye({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=ze(ai),s=me(()=>e.route||o.value),r=ze(Pl,0),i=me(()=>{let f=te(r);const{matched:u}=s.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=me(()=>s.value.matched[i.value]);on(Pl,me(()=>i.value+1)),on(Ny,a),on(ai,s);const l=be();return at(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!Qn(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=s.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return kl(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=We(d,Pe({},p,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return kl(n.default,{Component:v,route:f})||v}}});function kl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Hf=By;function Uy(e){const t=Py(e.routes,e),n=e.parseQuery||Iy,o=e.stringifyQuery||Cl,s=e.history,r=ar(),i=ar(),a=ar(),l=Yn(St);let f=St;$n&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=ws.bind(null,V=>""+V),h=ws.bind(null,Zv),d=ws.bind(null,Lr);function c(V,q){let z,ee;return Mf(V)?(z=t.getRecordMatcher(V),ee=q):ee=V,t.addRoute(ee,z)}function p(V){const q=t.getRecordMatcher(V);q&&t.removeRoute(q)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function w(V,q){if(q=Pe({},q||l.value),typeof V=="string"){const I=Es(n,V,q.path),D=t.resolve({path:I.path},q),K=s.createHref(I.fullPath);return Pe(I,D,{params:d(D.params),hash:Lr(I.hash),redirectedFrom:void 0,href:K})}let z;if(V.path!=null)z=Pe({},V,{path:Es(n,V.path,q.path).path});else{const I=Pe({},V.params);for(const D in I)I[D]==null&&delete I[D];z=Pe({},V,{params:h(I)}),q.params=h(q.params)}const ee=t.resolve(z,q),de=V.hash||"";ee.params=u(d(ee.params));const xe=ny(o,Pe({},V,{hash:Jv(de),path:ee.path})),A=s.createHref(xe);return Pe({fullPath:xe,hash:de,query:o===Cl?Oy(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function E(V){return typeof V=="string"?Es(n,V,l.value.path):Pe({},V)}function y(V,q){if(f!==V)return zn(8,{from:q,to:V})}function _(V){return S(V)}function m(V){return _(Pe(E(V),{replace:!0}))}function x(V){const q=V.matched[V.matched.length-1];if(q&&q.redirect){const{redirect:z}=q;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=E(ee):{path:ee},ee.params={}),Pe({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function S(V,q){const z=f=w(V),ee=l.value,de=V.state,xe=V.force,A=V.replace===!0,I=x(z);if(I)return S(Pe(E(I),{state:typeof I=="object"?Pe({},de,I.state):de,force:xe,replace:A}),q||z);const D=z;D.redirectedFrom=q;let K;return!xe&&ry(o,ee,z)&&(K=zn(16,{to:D,from:ee}),ce(ee,ee,!0,!1)),(K?Promise.resolve(K):L(D,ee)).catch(U=>Mt(U)?Mt(U,2)?U:ue(U):Y(U,D,ee)).then(U=>{if(U){if(Mt(U,2))return S(Pe({replace:A},E(U.to),{state:typeof U.to=="object"?Pe({},de,U.to.state):de,force:xe}),q||D)}else U=C(D,ee,!0,A,de);return T(D,ee,U),U})}function b(V,q){const z=y(V,q);return z?Promise.reject(z):Promise.resolve()}function P(V){const q=_e.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(V):V()}function L(V,q){let z;const[ee,de,xe]=Vy(V,q);z=Ss(ee.reverse(),"beforeRouteLeave",V,q);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(Zt(D,V,q))});const A=b.bind(null,V,q);return z.push(A),fe(z).then(()=>{z=[];for(const I of r.list())z.push(Zt(I,V,q));return z.push(A),fe(z)}).then(()=>{z=Ss(de,"beforeRouteUpdate",V,q);for(const I of de)I.updateGuards.forEach(D=>{z.push(Zt(D,V,q))});return z.push(A),fe(z)}).then(()=>{z=[];for(const I of xe)if(I.beforeEnter)if(Lt(I.beforeEnter))for(const D of I.beforeEnter)z.push(Zt(D,V,q));else z.push(Zt(I.beforeEnter,V,q));return z.push(A),fe(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Ss(xe,"beforeRouteEnter",V,q,P),z.push(A),fe(z))).then(()=>{z=[];for(const I of i.list())z.push(Zt(I,V,q));return z.push(A),fe(z)}).catch(I=>Mt(I,8)?I:Promise.reject(I))}function T(V,q,z){a.list().forEach(ee=>P(()=>ee(V,q,z)))}function C(V,q,z,ee,de){const xe=y(V,q);if(xe)return xe;const A=q===St,I=$n?history.state:{};z&&(ee||A?s.replace(V.fullPath,Pe({scroll:A&&I&&I.scroll},de)):s.push(V.fullPath,de)),l.value=V,ce(V,q,z,A),ue()}let O;function $(){O||(O=s.listen((V,q,z)=>{if(!Fe.listening)return;const ee=w(V),de=x(ee);if(de){S(Pe(de,{replace:!0}),ee).catch(mr);return}f=ee;const xe=l.value;$n&&fy(vl(xe.fullPath,z.delta),Yo()),L(ee,xe).catch(A=>Mt(A,12)?A:Mt(A,2)?(S(A.to,ee).then(I=>{Mt(I,20)&&!z.delta&&z.type===Rr.pop&&s.go(-1,!1)}).catch(mr),Promise.reject()):(z.delta&&s.go(-z.delta,!1),Y(A,ee,xe))).then(A=>{A=A||C(ee,xe,!1),A&&(z.delta&&!Mt(A,8)?s.go(-z.delta,!1):z.type===Rr.pop&&Mt(A,20)&&s.go(-1,!1)),T(ee,xe,A)}).catch(mr)}))}let F=ar(),B=ar(),W;function Y(V,q,z){ue(V);const ee=B.list();return ee.length?ee.forEach(de=>de(V,q,z)):console.error(V),Promise.reject(V)}function oe(){return W&&l.value!==St?Promise.resolve():new Promise((V,q)=>{F.add([V,q])})}function ue(V){return W||(W=!V,$(),F.list().forEach(([q,z])=>V?z(V):q()),F.reset()),V}function ce(V,q,z,ee){const{scrollBehavior:de}=e;if(!$n||!de)return Promise.resolve();const xe=!z&&dy(vl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return hn().then(()=>de(V,q,xe)).then(A=>A&&uy(A)).catch(A=>Y(A,V,q))}const ne=V=>s.go(V);let Ce;const _e=new Set,Fe={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:v,getRoutes:g,resolve:w,options:e,push:_,replace:m,go:ne,back:()=>ne(-1),forward:()=>ne(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:B.add,isReady:oe,install(V){const q=this;V.component("RouterLink",Fy),V.component("RouterView",Hf),V.config.globalProperties.$router=q,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),$n&&!Ce&&l.value===St&&(Ce=!0,_(s.location).catch(de=>{}));const z={};for(const de in St)Object.defineProperty(z,de,{get:()=>l.value[de],enumerable:!0});V.provide(Yi,q),V.provide(qi,Bt(z)),V.provide(ai,l);const ee=V.unmount;_e.add(V),V.unmount=function(){_e.delete(V),_e.size<1&&(f=St,O&&O(),O=null,l.value=St,Ce=!1,W=!1),ee()}}};function fe(V){return V.reduce((q,z)=>q.then(()=>P(z)),Promise.resolve())}return Fe}function Vy(e,t){const n=[],o=[],s=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(f=>Qn(f,a))?o.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>Qn(f,l))||s.push(l))}return[n,o,s]}function jy(e){return ze(qi)}const Wy=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""}),li=(e,t)=>{const n=e.route.matched.find(s=>{var r;return((r=s.components)==null?void 0:r.default)===e.Component.type}),o=t??(n==null?void 0:n.meta.key)??(n&&Wy(e.route,n));return typeof o=="function"?o(e.route):o},Ky=(e,t)=>({default:()=>e?We(Ah,e===!0?{}:e,t):t});function Ji(e){return Array.isArray(e)?e:[e]}const Gy="modulepreload",Xy=function(e,t){return new URL(e,t).href},Al={},Yy=function(t,n,o){let s=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));s=Promise.all(n.map(l=>{if(l=Xy(l,o),l in Al)return;Al[l]=!0;const f=l.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(!!o)for(let c=r.length-1;c>=0;c--){const p=r[c];if(p.href===l&&(!f||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=f?"stylesheet":Gy,f||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),f)return new Promise((c,p)=>{d.addEventListener("load",c),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return s.then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},Ne=(...e)=>Yy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),bs=[{name:"about___en___default",path:"/about",component:()=>Ne(()=>import("./Cm6eDevr.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___en",path:"/en/about",component:()=>Ne(()=>import("./Cm6eDevr.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___it",path:"/it/about",component:()=>Ne(()=>import("./Cm6eDevr.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en___default",path:"/contacts",component:()=>Ne(()=>import("./CtYY8nYG.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en",path:"/en/contacts",component:()=>Ne(()=>import("./CtYY8nYG.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___it",path:"/it/contacts",component:()=>Ne(()=>import("./CtYY8nYG.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en___default",path:"/",component:()=>Ne(()=>import("./Rhmp7Oc8.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",component:()=>Ne(()=>import("./Rhmp7Oc8.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___it",path:"/it",component:()=>Ne(()=>import("./Rhmp7Oc8.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"projects___en___default",path:"/projects",component:()=>Ne(()=>import("./CVNCbySV.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___en",path:"/en/projects",component:()=>Ne(()=>import("./CVNCbySV.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___it",path:"/it/projects",component:()=>Ne(()=>import("./CVNCbySV.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"resume___en___default",path:"/resume",component:()=>Ne(()=>import("./Br7Q6h9A.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___en",path:"/en/resume",component:()=>Ne(()=>import("./Br7Q6h9A.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___it",path:"/it/resume",component:()=>Ne(()=>import("./Br7Q6h9A.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)}],Bf=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var o;return t?We(e,t,n):(o=n.default)==null?void 0:o.call(n)}});function Il(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var o;return((o=e.params[n.slice(1)])==null?void 0:o.toString())||""});return typeof t=="function"?t(e):t}function qy(e,t){return e===t||t===St?!1:Il(e)!==Il(t)?!0:!e.matched.every((o,s)=>{var r,i;return o.components&&o.components.default===((i=(r=t.matched[s])==null?void 0:r.components)==null?void 0:i.default)})}const Jy={scrollBehavior(e,t,n){var f;const o=ve(),s=((f=Xe().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&qy(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:Ol(e.hash),behavior:s}:!1;const a=u=>!!(u.meta.pageTransition??Js),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{o.hooks.hookOnce(l,async()=>{await new Promise(h=>setTimeout(h,0)),e.hash&&(r={el:e.hash,top:Ol(e.hash),behavior:s}),u(r)})})}};function Ol(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 Qy={hashMode:!1,scrollBehaviorType:"auto"},gt={...Qy,...Jy},zy=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const o=ve(),s=Xe(),r=([t,n]=Pt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=Go({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=s.beforeResolve(f=>{if(a(),f===e){const u=s.afterEach(async()=>{u(),await o.runWithContext(()=>Bn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},Zy=async e=>{let t,n;const o=([t,n]=Pt(()=>Gi(e.path)),t=await t,n(),t);if(o.redirect)return wt(o.redirect,{acceptRelative:!0})?(window.location.href=o.redirect,!1):o.redirect},e0=[zy,Zy],yr={};function t0(e,t,n){const{pathname:o,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),qa(u,"")}const a=qa(o,e),l=!n||Gs(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":s)+r}const n0=kt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,o=ct().app.baseURL;gt.hashMode&&!o.includes("#")&&(o+="#");const s=((v=gt.history)==null?void 0:v.call(gt,o))??(gt.hashMode?my(o):Nf(o)),r=gt.routes?([t,n]=Pt(()=>gt.routes(bs)),t=await t,n(),t??bs):bs;let i;const a=Uy({...gt,scrollBehavior:(w,E,y)=>{if(E===St){i=y;return}if(gt.scrollBehavior){if(a.options.scrollBehavior=gt.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return gt.scrollBehavior(w,St,i||y)}},history:s,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Yn(a.currentRoute.value);a.afterEach((w,E)=>{l.value=E}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const f=t0(o,window.location,e.payload.path),u=Yn(a.currentRoute.value),h=()=>{u.value=a.currentRoute.value};e.hook("page:finish",h),a.afterEach((w,E)=>{var y,_,m,x;((_=(y=w.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=E.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&h()});const d={};for(const w in u.value)Object.defineProperty(d,w,{get:()=>u.value[w]});e._route=Bt(d),e._middleware=e._middleware||{global:[],named:{}};const c=Ko();a.afterEach(async(w,E,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext($m),y&&await e.callHook("page:loading:end"),w.matched.length===0&&await e.runWithContext(()=>Bn(Zs({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))});try{[t,n]=Pt(()=>a.isReady()),await t,n()}catch(w){[t,n]=Pt(()=>e.runWithContext(()=>Bn(w))),await t,n()}const p=f!==a.currentRoute.value.fullPath?a.resolve(f):a.currentRoute.value;h();const g=e.payload.state._layout;return a.beforeEach(async(w,E)=>{var y;await e.callHook("page:loading:start"),w.meta=dn(w.meta),e.isHydrating&&g&&!ln(w.meta.layout)&&(w.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...e0,...e._middleware.global]);for(const m of w.matched){const x=m.meta.middleware;if(x)for(const S of Ji(x))_.add(S)}{const m=await e.runWithContext(()=>Gi(w.path));if(m.appMiddleware)for(const x in m.appMiddleware)m.appMiddleware[x]?_.add(x):_.delete(x)}for(const m of _){const x=typeof m=="string"?e._middleware.named[m]||await((y=yr[m])==null?void 0:y.call(yr).then(b=>b.default||b)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const S=await e.runWithContext(()=>x(w,E));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const b=S||Zs({statusCode:404,statusMessage:`Page Not Found: ${f}`});return await e.runWithContext(()=>Bn(b)),!1}if(S!==!0&&(S||S===!1))return S}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=gt.scrollBehavior}catch(w){await e.runWithContext(()=>Bn(w))}}),{provide:{router:a}}}}),ci=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),r0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),qo=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ci(()=>e())}):ci(()=>e())},o0=kt({name:"nuxt:payload",setup(e){Xe().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const o=await hl(t.path);o&&Object.assign(e.static.data,o.data)}),qo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:o}=new URL(n,window.location.href);o===window.location.hostname&&await hl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Xo,1e3)})}}),s0=kt(()=>{const e=Xe();qo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),i0=kt(e=>{let t;async function n(){const o=await Xo();t&&clearTimeout(t),t=setTimeout(n,Za);try{const s=await $fetch(Ki("builds/latest.json")+`?${Date.now()}`);s.id!==o.id&&e.hooks.callHook("app:manifest:update",s)}catch{}}qo(()=>{t=setTimeout(n,Za)})});function a0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Pr(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:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const l0=kt({name:"nuxt:chunk-reload",setup(e){const t=Xe(),n=ct(),o=new Set;t.beforeEach(()=>{o.clear()}),e.hook("app:chunkError",({error:r})=>{o.add(r)});function s(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:On(n.app.baseURL,r.fullPath);a0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(s)}),t.onError((r,i)=>{o.has(r)&&s(i)})}}),c0=kt({name:"nuxt:global-components"}),tn={},u0=kt({name:"nuxt:prefetch",setup(e){const t=Xe();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var s;const o=(s=n==null?void 0:n.meta)==null?void 0:s.layout;o&&typeof tn[o]=="function"&&await tn[o]()})}),e.hooks.hook("link:prefetch",n=>{if(wt(n))return;const o=t.resolve(n);if(!o)return;const s=o.meta.layout;let r=Ji(o.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof yr[i]=="function"&&yr[i]();s&&typeof tn[s]=="function"&&tn[s]()})}});function bt(e){if(typeof e!="object")return e;var t,n,o=Object.prototype.toString.call(e);if(o==="[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]=bt(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:bt(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=bt(e[t])}return n}if(o==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=bt(e[t]);return n}return o==="[object Set]"?(n=new Set,e.forEach(function(s){n.add(bt(s))}),n):o==="[object Map]"?(n=new Map,e.forEach(function(s,r){n.set(bt(r),bt(s))}),n):o==="[object Date]"?new Date(+e):o==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):o==="[object DataView]"?new e.constructor(bt(e.buffer)):o==="[object ArrayBuffer]"?e.slice(0):o.slice(-6)==="Array]"?new e.constructor(e):e}const f0={path:"/",watch:!0,decode:e=>Pr(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},eo=window.cookieStore;function d0(e,t){var l;const n={...f0,...t};n.filter??(n.filter=f=>f===e);const o=Nl(n)||{};let s;n.maxAge!==void 0?s=n.maxAge*1e3:n.expires&&(s=n.expires.getTime()-Date.now());const r=s!==void 0&&s<=0,i=bt(r?void 0:o[e]??((l=n.default)==null?void 0:l.call(n))),a=s&&!r?g0(i,s,n.watch&&n.watch!=="shallow"):be(i);{let f=null;try{!eo&&typeof BroadcastChannel<"u"&&(f=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Tm(a.value,o[e])||(p0(e,a.value,n),o[e]=bt(a.value),f==null||f.postMessage({value:n.encode(a.value)}))},h=p=>{var v;const g=p.refresh?(v=Nl(n))==null?void 0:v[e]:n.decode(p.value);d=!0,a.value=g,o[e]=bt(g),hn(()=>{d=!1})};let d=!1;const c=!!Mo();if(c&&Ls(()=>{d=!0,u(),f==null||f.close()}),eo){const p=g=>{const v=g.changed.find(w=>w.name===e);v&&h({value:v.value})};eo.addEventListener("change",p),c&&Ls(()=>eo.removeEventListener("change",p))}else f&&(f.onmessage=({data:p})=>h(p));n.watch?at(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function Nl(e={}){return wm(document.cookie,e)}function h0(e,t,n={}){return t==null?tl(e,t,{...n,maxAge:-1}):tl(e,t,n)}function p0(e,t,n={}){document.cookie=h0(e,t,n)}const Ml=2147483647;function g0(e,t,n){let o,s,r=0;const i=n?be(e):{value:e};return Mo()&&Ls(()=>{s==null||s(),clearTimeout(o)}),_h((a,l)=>{n&&(s=at(i,l));function f(){r=0,clearTimeout(o);const u=t-r,h=u<Ml?u:Ml;o=setTimeout(()=>{if(r+=h,r<t)return f();i.value=void 0,l()},h)}return{get(){return a(),i.value},set(u){f(),i.value=u,l()}}})}/*!
* shared v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Co=typeof window<"u",gn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),m0=(e,t,n)=>v0({l:e,k:t,s:n}),v0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),je=e=>typeof e=="number"&&isFinite(e),y0=e=>Vf(e)==="[object Date]",Po=e=>Vf(e)==="[object RegExp]",Jo=e=>pe(e)&&Object.keys(e).length===0,De=Object.assign;let Dl;const Qi=()=>Dl||(Dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fl(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const _0=Object.prototype.hasOwnProperty;function To(e,t){return _0.call(e,t)}const Me=Array.isArray,Se=e=>typeof e=="function",Z=e=>typeof e=="string",Ae=e=>typeof e=="boolean",x0=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",w0=e=>he(e)&&Se(e.then)&&Se(e.catch),Uf=Object.prototype.toString,Vf=e=>Uf.call(e),pe=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},E0=e=>e==null?"":Me(e)||pe(e)&&e.toString===Uf?JSON.stringify(e,null,2):String(e);function zi(e,t=""){return e.reduce((n,o,s)=>s===0?n+o:n+t+o,"")}function Qo(e){let t=e;return()=>++t}function S0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const to=e=>!he(e)||Me(e);function kn(e,t){if(to(e)||to(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:s}=n.pop();Object.keys(o).forEach(r=>{to(o[r])||to(s[r])?s[r]=o[r]:n.push({src:o[r],des:s[r]})})}}const Zn=["en","it"],Lo={en:[{key:"../locales/en-US/general.ts",load:()=>Ne(()=>import("./B29_kTit.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>Ne(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>Ne(()=>import("./DNoOLGtr.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>Ne(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>Ne(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>Ne(()=>import("./DrtRviTy.js"),[],import.meta.url),cache:!0}]},b0=[],zo=[{code:"en",name:"English",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/resume.ts"}],language:"en-US"},{code:"it",name:"Italiano",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/resume.ts"}],language:"it-IT"}],jf="@nuxtjs/i18n",C0=!1,P0="nuxtI18n",T0="i18n_redirected",$l="nuxt-i18n-slp",L0=typeof window<"u";function R0(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function k0(e){return e!=null&&"global"in e&&"mode"in e}function A0(e){return e!=null&&!("__composer"in e)&&"locale"in e&&$e(e.locale)}function Wf(e){return e!=null&&"__composer"in e}function mn(e){return k0(e)?e.global:e}function er(e){const t=mn(e);return A0(t)?t:Wf(t)?t.__composer:t}function Zo(e){return te(mn(e).locale)}function I0(e){return te(mn(e).locales)}function O0(e){return te(mn(e).localeCodes)}function Kf(e,t){const n=mn(e);$e(n.locale)?n.locale.value=t:n.locale=t}function Gf(e){return Z(e)?e:x0(e)?e.toString():"(null)"}function Hl(e,t,{defaultLocale:n,strategy:o,routesNameSeparator:s,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=o!=="no_prefix"||i;let l=Gf(e)+(a?s+t:"");return t===n&&o==="prefix_and_default"&&(l+=s+r),l}function Bl(e,t){return Se(e)?e(t):e}function N0(e,t){const n=[];for(const[o,s]of t.entries()){const r=e.find(i=>i.language.toLowerCase()===s.toLowerCase());if(r){n.push({code:r.code,score:1-o/t.length});break}}for(const[o,s]of t.entries()){const r=s.split("-")[0].toLowerCase(),i=e.find(a=>a.language.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-o/t.length});break}}return n}const M0=N0;function D0(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const F0=D0;function $0(e,t,{matcher:n=M0,comparer:o=F0}={}){const s=[];for(const i of e){const{code:a}=i,l=i.language||a;s.push({code:a,language:l})}const r=n(s,t);return r.length>1&&r.sort(o),r.length?r[0].code:""}function Zi(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const H0="$s";function Xf(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,o]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(o!==void 0&&typeof o!="function")throw new Error("[nuxt] [useState] init must be a function: "+o);const s=H0+n,r=ve(),i=eu(r.payload.state,s);if(i.value===void 0&&o){const a=o();if($e(a))return r.payload.state[s]=a,a;i.value=a}return i}const _r=new Map;async function B0(e,t){const n={messages:{}};for(const o of e){const{default:s}=await o(),r=Se(s)?await t.runWithContext(async()=>await s()):s;kn(r,n)}return n}function Yf(e,t){let n=[];if(Me(e))n=e;else if(he(e)){const o=[...t,"default"];for(const s of o)e[s]&&(n=[...n,...e[s].filter(Boolean)])}else Z(e)&&t.every(o=>o!==e)&&n.push(e);return n}async function U0(e,t,n){const{defaultLocale:o,initialLocale:s,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const f=Yf(i,[o,s]);await Promise.all(f.map(u=>Ul(u,t,e)))}const l=a?[...new Set().add(o).add(s)]:r;return await Promise.all(l.map(f=>Ul(f,t,e))),e}async function V0(e,{key:t,load:n}){let o=null;try{const s=await n().then(r=>r.default||r);Se(s)?o=await s(e):(o=s,o!=null&&_r&&_r.set(t,o))}catch(s){console.error("Failed locale loading: "+s.message)}return o}async function Ro(e,t,n){const o=t[e];if(o==null){console.warn("Could not find messages for locale code: "+e);return}const s={};for(const r of o){let i=null;_r&&_r.has(r.key)&&r.cache?i=_r.get(r.key):i=await V0(e,r),i!=null&&kn(i,s)}n(e,s)}async function Ul(e,t,n){await Ro(e,t,(s,r)=>{const i=n[s]||{};kn(r,i),n[s]=i})}function j0(e,t){return[e.slice(0,t),e.slice(t)]}function W0(e){const{fullPath:t,query:n,hash:o,name:s,path:r,params:i,meta:a,redirectedFrom:l,matched:f}=e;return{fullPath:t,params:i,query:n,hash:o,name:s,path:r,meta:a,matched:f,redirectedFrom:l}}function K0({router:e},t,n,o){var f,u;if(n!=="prefix")return e.resolve(t);const[s,r]=j0(t.path,1),i=`${s}${o}${r===""?r:`/${r}`}`,a=(u=(f=e.options)==null?void 0:f.routes)==null?void 0:u.find(h=>h.path===i);if(a==null)return t;const l=De({},t,a);return l.path=i,e.resolve(l)}const G0=new Set(["prefix_and_default","prefix_except_default"]);function X0(e){const{currentLocale:t,defaultLocale:n,strategy:o}=e;return!(t===n&&G0.has(o))&&o!=="no_prefix"}const Y0=X0;function tr(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,o=te(t);return o==null||!o.name?void 0:Gf(o.name).split(n)[0]}function es(e,t,n){var s;if(typeof t=="string"&&wt(t,{acceptRelative:!0}))return t;const o=ts(e,t,n);return o==null?"":((s=o.redirectedFrom)==null?void 0:s.fullPath)||o.fullPath}function ea(e,t,n){return ts(e,t,n)??void 0}function q0(e,t,n){return ts(e,t,n)??void 0}function ts(e,t,n){const{router:o,i18n:s}=e,r=n||Zo(s),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,f=u_(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=Xs(t),v=ji(p);u={path:c,query:v,hash:g}}else u={name:t};else u=t;let h=De({},u);if((c=>"path"in c&&!!c.path&&!("name"in c))(h)){const c=K0(e,h,a,r),p=tr(e,c);Z(p)?(h={name:Hl(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},h.state=c.state):(f({currentLocale:r,defaultLocale:i,strategy:a})&&(h.path=`/${r}${h.path}`),h.path=l?Tr(h.path,!0):Fr(h.path,!0))}else!h.name&&!("path"in h)&&(h.name=tr(e,o.currentRoute.value)),h.name=Hl(h.name,r,e.runtimeConfig.public.i18n);try{const c=o.resolve(h);return c.name?c:o.resolve(t)}catch(c){if(typeof c=="object"&&"type"in c&&c.type===1)return null}}const J0=e=>e;function Q0(e,t){var o;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return te(e.metaState.value);const n=t.meta||{};return((o=te(n))==null?void 0:o[P0])||{}}function nr(e,t,n){const o=n??e.router.currentRoute.value,s=tr(e,o);if(!s)return"";const r=f_(e.runtimeConfig),i=W0(o),a=Q0(e,o)[t],l={...i,name:s,params:{...i.params,...a}},f=es(e,l,t);return r(f,t)}function qf(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:o="hid"}){const{defaultDirection:s}=ct().public.i18n,r=er(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=Zo(e.i18n),l=I0(e.i18n),f=R0(l).find(d=>d.code===a)||{code:a},u=f.language,h=f.dir||s;return t&&(i.htmlAttrs.dir=h),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...z0(e,te(l),o),...Z0(e,o,n)),i.meta.push(...e_(e,o,n),...t_(f,u,o),...n_(te(l),u,o))),i}function ta(){const e=ve(),t=er(e.$i18n);return On(te(t.baseUrl),e.$config.app.baseURL)}function z0(e,t,n){const o=ta(),{defaultLocale:s,strategy:r}=ct().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const f=l.language;if(!f){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(f,l)}for(const[l,f]of a.entries()){const u=nr(e,f.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:ui(u,o),hreflang:l})}if(s){const l=nr(e,s);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:ui(l,o),hreflang:"x-default"})}return i}function Jf(e,t,n){const o=e.router.currentRoute.value,s=ea(e,{...o,path:void 0,name:tr(e,o)});if(!s)return"";let r=ui(s.path,t);const i=he(n)&&n.canonicalQueries||[],a=s.query,l=new URLSearchParams;for(const u of i)if(u in a){const h=a[u];Me(h)?h.forEach(d=>l.append(u,d||"")):l.append(u,h||"")}const f=l.toString();return f&&(r=`${r}?${f}`),r}function Z0(e,t,n){const o=ta(),s=Jf(e,o,n);return s?[{[t]:"i18n-can",rel:"canonical",href:s}]:[]}function e_(e,t,n){const o=ta(),s=Jf(e,o,n);return s?[{[t]:"i18n-og-url",property:"og:url",content:s}]:[]}function t_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:Qf(t)}]}function n_(e,t,n){return e.filter(s=>s.language&&s.language!==t).map(s=>({[n]:`i18n-og-alt-${s.language}`,property:"og:locale:alternate",content:Qf(s.language)}))}function Qf(e){return(e||"").replace(/-/g,"_")}function ui(e,t){return e.match(/^https?:\/\//)?e:On(t,e)}function zf(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=ct().public.i18n,n=`(${Zn.join("|")})`,o=`(?:${e}${t})?`,s=new RegExp(`${e}${n}${o}$`,"i"),r=Zi(Zn);return a=>{if(he(a)){if(a.name){const f=(Z(a.name)?a.name:a.name.toString()).match(s);if(f&&f.length>1)return f[1]}else if(a.path){const l=a.path.match(r);if(l&&l.length>1)return l[1]}}else if(Z(a)){const l=a.match(r);if(l&&l.length>1)return l[1]}return""}}function r_(e,t){return Hr(e,"setLocale",t)}function o_(e,t){return Hr(e,"setLocaleCookie",t)}function Zf(e,t,n){return Hr(e,"mergeLocaleMessage",t,n)}async function s_(e,t,n,o,s){return Hr(e,"onBeforeLanguageSwitch",t,n,o,s)}function i_(e,t,n){return Hr(e,"onLanguageSwitched",t,n)}function na(e){return{i18n:e??ve().$i18n,router:Xe(),runtimeConfig:ct(),metaState:Xf("nuxt-i18n-meta",()=>({}))}}async function Vl(e,t,n,o=!1){const{differentDomains:s,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=Br(n),l=ve(),f=Zo(t),u=O0(t);function h(c=f){a===!1||!a.useCookie||r||o_(t,c)}if(!e||!o&&s||f===e)return h(),!1;const d=await s_(t,f,e,o,l);if(d&&u.includes(d)){if(f===d)return h(),!1;e=d}if(i){const c=h_(t,"fallbackLocale"),p=(g,v)=>Zf(t,g,v);if(c){const g=Yf(c,[e]);await Promise.all(g.map(v=>Ro(v,Lo,p)))}await Ro(e,Lo,p)}return r?!1:(h(e),Kf(t,e),await i_(t,f,e),!0)}function ed(e){return{log:console.log.bind(console,`${e}:`)}}function jl(e,t,n,o,s){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=s,{localeCookie:f}=o,u=Br(s);ed("detectLocale");const h=Se(n)?n():n,d=od(e,o,h);if(d.reason===rd.SSG_IGNORE)return h;if(d.locale&&d.from!=null)return d.locale;let c="";a||l?c||(c=v_(zo,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&f;return c||(c=p||h||i||""),c}function Wl({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:o=!1}){const s=ve(),r=na(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:f}=e.to;if(!a&&(o||i!=="no_prefix")&&n(e.to)!==t){const u=s.$switchLocalePath(t)||s.$localePath(f,t);Z(u)&&u&&!Gs(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=nr(r,t,e.to);Z(u)&&u&&!Gs(u,f)&&!u.startsWith("//")&&(l=u)}return l}function a_(e){return he(e)&&"path"in e&&"statusCode"in e}const l_=()=>Xf(jf+":redirect",()=>"");function Dn(e,t){return pf(e,{redirectCode:t})}async function Kl(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:o,i18n:s,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:f,skipSettingLocaleOnNavigate:u,configLocales:h,strategy:d}=o.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:a_(a)&&(c="/"+a.path,t=a.statusCode),c=o.$localePath(c,r),Dn(c,t);if(!(u&&(s.__pendingLocale=r,s.__pendingLocalePromise=new Promise(p=>{s.__resolvePendingLocalePromise=p}),!n))){if(f&&d==="prefix_except_default"){const p=ns(),g=h.find(w=>{var E;return typeof w!="string"?(E=w.defaultForDomains)==null?void 0:E.find(y=>y===p):!1}),v=typeof g!="string"?g==null?void 0:g.code:void 0;if(i.path.startsWith(`/${v}`))return Dn(i.path.replace(`/${v}`,""),t);if(!i.path.startsWith(`/${r}`)&&r!==v){const E=zf()(i.path);return Dn(E!==""?`/${r+i.path.replace(`/${E}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`,t)}else if(c&&i.path!==c)return Dn(c,t);return}if(l){const p=l_();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Dn(c,t)}}function c_(e,t){Fn(e,"$i18n",mn(t)),Fn(e,"$getRouteBaseName",st(tr)),Fn(e,"$localePath",st(es)),Fn(e,"$localeRoute",st(ea)),Fn(e,"$switchLocalePath",st(nr)),Fn(e,"$localeHead",st(qf))}function u_(e=ct()){return t=>Y0(t)&&!e.public.i18n.differentDomains}function f_(e=ct()){return(t,n)=>{if(e.public.i18n.differentDomains){const o=sd(n);return o?On(o,t):t}else return J0(t)}}function d_(){return()=>{const e=ve(),{baseUrl:t,defaultLocale:n,differentDomains:o}=e.$config.public.i18n;if(Se(t))return t(e);const s=Se(n)?n():n;if(o&&s){const r=sd(s);if(r)return r}return t}}function td(e){return jf+" "+e}function Hr(e,t,...n){const o=mn(e),[s,r]=[o,o[t]];return Reflect.apply(r,s,[...n])}function h_(e,t){const n=mn(e);return te(n[t])}function Fn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function st(e,t=na()){return(...n)=>e(t,...n)}function nd(){let e;return navigator.languages&&(e=$0(zo,navigator.languages)),e}function p_(){const e=Br(),t=e&&e.cookieKey||T0,n=new Date,o={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&&(o.domain=e.cookieDomain),d0(t,o)}function no(e,t,n){if(t===!1||!t.useCookie)return;const o=e.value??void 0;if(o!=null){if(Zn.includes(o))return o;if(n)return e.value=n,n;e.value=void 0}}function g_(e,t,n){n===!1||!n.useCookie||(e.value=t)}var rd=(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))(rd||{});const m_={locale:""};function od(e,t,n=""){ed("detectBrowserLanguage");const o=Br();if(!o)return m_;const{strategy:s}=ct().public.i18n,{ssg:r,callType:i,firstAccess:a,localeCookie:l}=t;if(s==="no_prefix"&&r==="ssg_ignore")return{locale:"",reason:"detect_ignore_on_ssg"};if(!a)return{locale:s==="no_prefix"?n:"",reason:"first_access_only"};const{redirectOn:f,alwaysRedirect:u,useCookie:h,fallbackLocale:d}=o,c=Z(e)?e:e.path;if(s!=="no_prefix"){if(f==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(f==="no prefix"&&!u&&c.match(Zi(Zn)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=h&&l||void 0;h&&(p="cookie");const v=nd();g||(p="navigator_or_header");const w=g||v,E=w||d||"";return!w&&d&&(p="fallback"),{locale:E,from:p}}function ns(){let e;return e=window.location.host,e}function v_(e,t,n){let o=ns()||"";if(o){let s;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return wt(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===o}else if(Array.isArray(i==null?void 0:i.domains))return i.domains.includes(o);return!1});if(r.length===1)s=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(td("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),s=r[0];else{if(n){const i=he(n)?n.path:Z(n)?n:"";if(i&&i!==""){const a=i.match(Zi(r.map(l=>l.code)));a&&a.length>1&&(s=r.find(l=>l.code===a[1]))}}s||(s=r.find(i=>Array.isArray(i.defaultForDomains)?i.defaultForDomains.includes(o):i.domainDefault))}if(s)return s.code;o=""}return o}function sd(e){var i,a,l,f,u,h;const t=ct();ve();const n=ns(),o=t.public.i18n,s=zo.find(d=>d.code===e),r=((a=(i=o==null?void 0:o.locales)==null?void 0:i[e])==null?void 0:a.domain)||(s==null?void 0:s.domain)||((u=(f=(l=o==null?void 0:o.locales)==null?void 0:l[e])==null?void 0:f.domains)==null?void 0:u.find(d=>d===n))||((h=s==null?void 0:s.domains)==null?void 0:h.find(d=>d===n));if(r){if(wt(r,{strict:!0}))return r;let d;return d=new URL(window.location.origin).protocol,d+"//"+r}console.warn(td("Could not find domain name for locale "+e))}const Br=(e=ct().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
* message-compiler v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function y_(e,t,n){return{line:e,column:t,offset:n}}function ko(e,t,n){return{start:e,end:t}}const id={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function __(e,t,...n){const s={message:String(e),code:e};return t&&(s.location=t),s}const we={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function rs(e,t,n={}){const{domain:o,messages:s,args:r}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=o,a}function x_(e){throw e}const Dt=" ",w_="\r",et=`
`,E_="\u2028",S_="\u2029";function b_(e){const t=e;let n=0,o=1,s=1,r=0;const i=S=>t[S]===w_&&t[S+1]===et,a=S=>t[S]===et,l=S=>t[S]===S_,f=S=>t[S]===E_,u=S=>i(S)||a(S)||l(S)||f(S),h=()=>n,d=()=>o,c=()=>s,p=()=>r,g=S=>i(S)||l(S)||f(S)?et:t[S],v=()=>g(n),w=()=>g(n+r);function E(){return r=0,u(n)&&(o++,s=0),i(n)&&n++,n++,s++,t[n]}function y(){return i(n+r)&&r++,r++,t[n+r]}function _(){n=0,o=1,s=1,r=0}function m(S=0){r=S}function x(){const S=n+r;for(;S!==n;)E();r=0}return{index:h,line:d,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:w,next:E,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const Yt=void 0,C_=".",Gl="'",P_="tokenizer";function T_(e,t={}){const n=t.location!==!1,o=b_(e),s=()=>o.index(),r=()=>y_(o.line(),o.column(),o.index()),i=r(),a=s(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>l,{onError:u}=t;function h(R,k,N,...j){const J=f();if(k.column+=N,k.offset+=N,u){const G=n?ko(J.startLoc,k):null,M=rs(R,G,{domain:P_,args:j});u(M)}}function d(R,k,N){R.endLoc=r(),R.currentType=k;const j={type:k};return n&&(j.loc=ko(R.startLoc,R.endLoc)),N!=null&&(j.value=N),j}const c=R=>d(R,14);function p(R,k){return R.currentChar()===k?(R.next(),k):(h(we.EXPECTED_TOKEN,r(),0,k),"")}function g(R){let k="";for(;R.currentPeek()===Dt||R.currentPeek()===et;)k+=R.currentPeek(),R.peek();return k}function v(R){const k=g(R);return R.skipToPeek(),k}function w(R){if(R===Yt)return!1;const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function E(R){if(R===Yt)return!1;const k=R.charCodeAt(0);return k>=48&&k<=57}function y(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const j=w(R.currentPeek());return R.resetPeek(),j}function _(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const j=R.currentPeek()==="-"?R.peek():R.currentPeek(),J=E(j);return R.resetPeek(),J}function m(R,k){const{currentType:N}=k;if(N!==2)return!1;g(R);const j=R.currentPeek()===Gl;return R.resetPeek(),j}function x(R,k){const{currentType:N}=k;if(N!==8)return!1;g(R);const j=R.currentPeek()===".";return R.resetPeek(),j}function S(R,k){const{currentType:N}=k;if(N!==9)return!1;g(R);const j=w(R.currentPeek());return R.resetPeek(),j}function b(R,k){const{currentType:N}=k;if(!(N===8||N===12))return!1;g(R);const j=R.currentPeek()===":";return R.resetPeek(),j}function P(R,k){const{currentType:N}=k;if(N!==10)return!1;const j=()=>{const G=R.currentPeek();return G==="{"?w(R.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Dt||!G?!1:G===et?(R.peek(),j()):C(R,!1)},J=j();return R.resetPeek(),J}function L(R){g(R);const k=R.currentPeek()==="|";return R.resetPeek(),k}function T(R){const k=g(R),N=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:N,hasSpace:k.length>0}}function C(R,k=!0){const N=(J=!1,G="",M=!1)=>{const H=R.currentPeek();return H==="{"?G==="%"?!1:J:H==="@"||!H?G==="%"?!0:J:H==="%"?(R.peek(),N(J,"%",!0)):H==="|"?G==="%"||M?!0:!(G===Dt||G===et):H===Dt?(R.peek(),N(!0,Dt,M)):H===et?(R.peek(),N(!0,et,M)):!0},j=N();return k&&R.resetPeek(),j}function O(R,k){const N=R.currentChar();return N===Yt?Yt:k(N)?(R.next(),N):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 B(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 W(R){return O(R,B)}function Y(R){const k=R.charCodeAt(0);return k>=48&&k<=57}function oe(R){return O(R,Y)}function ue(R){const k=R.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ce(R){return O(R,ue)}function ne(R){let k="",N="";for(;k=oe(R);)N+=k;return N}function Ce(R){v(R);const k=R.currentChar();return k!=="%"&&h(we.EXPECTED_TOKEN,r(),0,k),R.next(),"%"}function _e(R){let k="";for(;;){const N=R.currentChar();if(N==="{"||N==="}"||N==="@"||N==="|"||!N)break;if(N==="%")if(C(R))k+=N,R.next();else break;else if(N===Dt||N===et)if(C(R))k+=N,R.next();else{if(L(R))break;k+=N,R.next()}else k+=N,R.next()}return k}function Fe(R){v(R);let k="",N="";for(;k=W(R);)N+=k;return R.currentChar()===Yt&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),N}function fe(R){v(R);let k="";return R.currentChar()==="-"?(R.next(),k+=`-${ne(R)}`):k+=ne(R),R.currentChar()===Yt&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),k}function V(R){return R!==Gl&&R!==et}function q(R){v(R),p(R,"'");let k="",N="";for(;k=O(R,V);)k==="\\"?N+=z(R):N+=k;const j=R.currentChar();return j===et||j===Yt?(h(we.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),j===et&&(R.next(),p(R,"'")),N):(p(R,"'"),N)}function z(R){const k=R.currentChar();switch(k){case"\\":case"'":return R.next(),`\\${k}`;case"u":return ee(R,k,4);case"U":return ee(R,k,6);default:return h(we.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function ee(R,k,N){p(R,k);let j="";for(let J=0;J<N;J++){const G=ce(R);if(!G){h(we.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${k}${j}${R.currentChar()}`);break}j+=G}return`\\${k}${j}`}function de(R){return R!=="{"&&R!=="}"&&R!==Dt&&R!==et}function xe(R){v(R);let k="",N="";for(;k=O(R,de);)N+=k;return N}function A(R){let k="",N="";for(;k=F(R);)N+=k;return N}function I(R){const k=N=>{const j=R.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Dt?N:(N+=j,R.next(),k(N))};return k("")}function D(R){v(R);const k=p(R,"|");return v(R),k}function K(R,k){let N=null;switch(R.currentChar()){case"{":return k.braceNest>=1&&h(we.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),N=d(k,2,"{"),v(R),k.braceNest++,N;case"}":return k.braceNest>0&&k.currentType===2&&h(we.EMPTY_PLACEHOLDER,r(),0),R.next(),N=d(k,3,"}"),k.braceNest--,k.braceNest>0&&v(R),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),N;case"@":return k.braceNest>0&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),N=U(R,k)||c(k),k.braceNest=0,N;default:{let J=!0,G=!0,M=!0;if(L(R))return k.braceNest>0&&h(we.UNTERMINATED_CLOSING_BRACE,r(),0),N=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,N;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return h(we.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,X(R,k);if(J=y(R,k))return N=d(k,5,Fe(R)),v(R),N;if(G=_(R,k))return N=d(k,6,fe(R)),v(R),N;if(M=m(R,k))return N=d(k,7,q(R)),v(R),N;if(!J&&!G&&!M)return N=d(k,13,xe(R)),h(we.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,N.value),v(R),N;break}}return N}function U(R,k){const{currentType:N}=k;let j=null;const J=R.currentChar();switch((N===8||N===9||N===12||N===10)&&(J===et||J===Dt)&&h(we.INVALID_LINKED_FORMAT,r(),0),J){case"@":return R.next(),j=d(k,8,"@"),k.inLinked=!0,j;case".":return v(R),R.next(),d(k,9,".");case":":return v(R),R.next(),d(k,10,":");default:return L(R)?(j=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,j):x(R,k)||b(R,k)?(v(R),U(R,k)):S(R,k)?(v(R),d(k,12,A(R))):P(R,k)?(v(R),J==="{"?K(R,k)||j:d(k,11,I(R))):(N===8&&h(we.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,X(R,k))}}function X(R,k){let N={type:14};if(k.braceNest>0)return K(R,k)||c(k);if(k.inLinked)return U(R,k)||c(k);switch(R.currentChar()){case"{":return K(R,k)||c(k);case"}":return h(we.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),d(k,3,"}");case"@":return U(R,k)||c(k);default:{if(L(R))return N=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,N;const{isModulo:J,hasSpace:G}=T(R);if(J)return G?d(k,0,_e(R)):d(k,4,Ce(R));if(C(R))return d(k,0,_e(R));break}}return N}function Q(){const{currentType:R,offset:k,startLoc:N,endLoc:j}=l;return l.lastType=R,l.lastOffset=k,l.lastStartLoc=N,l.lastEndLoc=j,l.offset=s(),l.startLoc=r(),o.currentChar()===Yt?d(l,14):X(o,l)}return{nextToken:Q,currentOffset:s,currentPosition:r,context:f}}const L_="parser",R_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function k_(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"<22>"}}}function A_(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function s(y,_,m,x,...S){const b=y.currentPosition();if(b.offset+=x,b.column+=x,n){const P=t?ko(m,b):null,L=rs(_,P,{domain:L_,args:S});n(L)}}function r(y,_,m,x,...S){const b=y.currentPosition();if(b.offset+=x,b.column+=x,o){const P=t?ko(m,b):null;o(__(_,P,S))}}function i(y,_,m){const x={type:y};return t&&(x.start=_,x.end=_,x.loc={start:m,end:m}),x}function a(y,_,m,x){t&&(y.end=_,y.loc&&(y.loc.end=m))}function l(y,_){const m=y.context(),x=i(3,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function f(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:S}=m,b=i(5,x,S);return b.index=parseInt(_,10),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function u(y,_,m){const x=y.context(),{lastOffset:S,lastStartLoc:b}=x,P=i(4,S,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:S}=m,b=i(9,x,S);return b.value=_.replace(R_,k_),y.nextToken(),a(b,y.currentOffset(),y.currentPosition()),b}function d(y){const _=y.nextToken(),m=y.context(),{lastOffset:x,lastStartLoc:S}=m,b=i(8,x,S);return _.type!==12?(s(y,we.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),b.value="",a(b,x,S),{nextConsumeToken:_,node:b}):(_.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Et(_)),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 S=d(y);m.modifier=S.node,x=S.nextConsumeToken||y.nextToken()}switch(x.type!==10&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),x=y.nextToken(),x.type===2&&(x=y.nextToken()),x.type){case 11:x.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=f(y,x.value||"");break;case 7:x.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=h(y,x.value||"");break;default:{s(y,we.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const S=y.context(),b=i(7,S.offset,S.startLoc);return b.value="",a(b,S.offset,S.startLoc),m.key=b,a(m,S.offset,S.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,S=i(2,m,x);S.items=[];let b=null,P=null;do{const C=b||y.nextToken();switch(b=null,C.type){case 0:C.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),S.items.push(l(y,C.value||""));break;case 6:C.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),S.items.push(f(y,C.value||""));break;case 4:P=!0;break;case 5:C.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),S.items.push(u(y,C.value||"",!!P)),P&&(r(y,id.USE_MODULO_SYNTAX,_.lastStartLoc,0,Et(C)),P=null);break;case 7:C.value==null&&s(y,we.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),S.items.push(h(y,C.value||""));break;case 8:{const O=p(y);S.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(S,L,T),S}function v(y,_,m,x){const S=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(S.currentType!==14);return b&&s(y,we.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(P,y.currentOffset(),y.currentPosition()),P}function w(y){const _=y.context(),{offset:m,startLoc:x}=_,S=g(y);return _.currentType===14?S:v(y,m,x,S)}function E(y){const _=T_(y,De({},e)),m=_.context(),x=i(0,m.offset,m.startLoc);return t&&x.loc&&(x.loc.source=y),x.body=w(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(y)),m.currentType!==14&&s(_,we.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),a(x,_.currentOffset(),_.currentPosition()),x}return{parse:E}}function Et(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function I_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function Xl(e,t){for(let n=0;n<e.length;n++)ra(e[n],t)}function ra(e,t){switch(e.type){case 1:Xl(e.cases,t),t.helper("plural");break;case 2:Xl(e.items,t);break;case 6:{ra(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 O_(e,t={}){const n=I_(e);n.helper("normalize"),e.body&&ra(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function N_(e){const t=e.body;return t.type===2?Yl(t):t.cases.forEach(n=>Yl(n)),e}function Yl(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 o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=zi(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}function Hn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Hn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)Hn(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)Hn(n[o]);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;Hn(t.key),t.k=t.key,delete t.key,t.modifier&&(Hn(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 M_(e,t){const{sourceMap:n,filename:o,breakLineCode:s,needIndent:r}=t,i=t.location!==!1,a={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function f(v,w){a.code+=v}function u(v,w=!0){const E=w?s:"";f(r?E+" ".repeat(v):E)}function h(v=!0){const w=++a.indentLevel;v&&u(w)}function d(v=!0){const w=--a.indentLevel;v&&u(w)}function c(){u(a.indentLevel)}return{context:l,push:f,indent:h,deindent:d,newline:c,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function D_(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),rr(e,t.key),t.modifier?(e.push(", "),rr(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function F_(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const s=t.items.length;for(let r=0;r<s&&(rr(e,t.items[r]),r!==s-1);r++)e.push(", ");e.deindent(o()),e.push("])")}function $_(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const s=t.cases.length;for(let r=0;r<s&&(rr(e,t.cases[r]),r!==s-1);r++)e.push(", ");e.deindent(o()),e.push("])")}}function H_(e,t){t.body?rr(e,t.body):e.push("null")}function rr(e,t){const{helper:n}=e;switch(t.type){case 0:H_(e,t);break;case 1:$_(e,t);break;case 2:F_(e,t);break;case 6:D_(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 B_=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",o=Z(t.filename)?t.filename:"message.intl",s=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=M_(e,{mode:n,filename:o,sourceMap:s,breakLineCode:r,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${zi(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),l.newline()),l.push("return "),rr(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:f,map:u}=l.context();return{ast:e,code:f,map:u?u.toJSON():void 0}};function U_(e,t={}){const n=De({},t),o=!!n.jit,s=!!n.minify,r=n.optimize==null?!0:n.optimize,a=A_(n).parse(e);return o?(r&&N_(a),s&&Hn(a),{ast:a,code:""}):(O_(a,n),B_(a,n))}/*!
* core-base v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function V_(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qi().__INTLIFY_PROD_DEVTOOLS__=!1)}const vn=[];vn[0]={w:[0],i:[3,0],"[":[4],o:[7]};vn[1]={w:[1],".":[2],"[":[4],o:[7]};vn[2]={w:[2],i:[3,0],0:[3,0]};vn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};vn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};vn[5]={"'":[4,0],o:8,l:[5,0]};vn[6]={'"':[4,0],o:8,l:[6,0]};const j_=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function W_(e){return j_.test(e)}function K_(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 G_(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 X_(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:W_(t)?K_(t):"*"+t}function Y_(e){const t=[];let n=-1,o=0,s=0,r,i,a,l,f,u,h;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),s++},d[3]=()=>{if(s>0)s--,o=4,d[0]();else{if(s=0,i===void 0||(i=X_(i),i===!1))return!1;d[1]()}};function c(){const p=e[n+1];if(o===5&&p==="'"||o===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;o!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=G_(r),h=vn[o],f=h[l]||h.l||8,f===8||(o=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(a=r,u()===!1))))return;if(o===7)return t}}const ql=new Map;function q_(e,t){return he(e)?e[t]:null}function J_(e,t){if(!he(e))return null;let n=ql.get(t);if(n||(n=Y_(t),n&&ql.set(t,n)),!n)return null;const o=n.length;let s=e,r=0;for(;r<o;){const i=s[n[r]];if(i===void 0||Se(s))return null;s=i,r++}return s}const Q_=e=>e,z_=e=>"",Z_="text",ex=e=>e.length===0?"":zi(e),tx=E0;function Jl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function nx(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 rx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ox(e={}){const t=e.locale,n=nx(e),o=he(e.pluralRules)&&Z(t)&&Se(e.pluralRules[t])?e.pluralRules[t]:Jl,s=he(e.pluralRules)&&Z(t)&&Se(e.pluralRules[t])?Jl:void 0,r=w=>w[o(n,w.length,s)],i=e.list||[],a=w=>i[w],l=e.named||{};je(e.pluralIndex)&&rx(n,l);const f=w=>l[w];function u(w){const E=Se(e.messages)?e.messages(w):he(e.messages)?e.messages[w]:!1;return E||(e.parent?e.parent.message(w):z_)}const h=w=>e.modifiers?e.modifiers[w]:Q_,d=pe(e.processor)&&Se(e.processor.normalize)?e.processor.normalize:ex,c=pe(e.processor)&&Se(e.processor.interpolate)?e.processor.interpolate:tx,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:Z_,v={list:a,named:f,plural:r,linked:(w,...E)=>{const[y,_]=E;let m="text",x="";E.length===1?he(y)?(x=y.modifier||x,m=y.type||m):Z(y)&&(x=y||x):E.length===2&&(Z(y)&&(x=y||x),Z(_)&&(m=_||m));const S=u(w)(v),b=m==="vnode"&&Me(S)&&x?S[0]:S;return x?h(x)(b,m):b},message:u,type:p,interpolate:c,normalize:d,values:De({},i,l)};return v}let kr=null;function sx(e){kr=e}function ix(e,t,n){kr&&kr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ax=lx("function:translate");function lx(e){return t=>kr&&kr.emit(e,t)}const ad=id.__EXTEND_POINT__,En=Qo(ad),cx={NOT_FOUND_KEY:ad,FALLBACK_TO_TRANSLATE:En(),CANNOT_FORMAT_NUMBER:En(),FALLBACK_TO_NUMBER_FORMAT:En(),CANNOT_FORMAT_DATE:En(),FALLBACK_TO_DATE_FORMAT:En(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:En(),__EXTEND_POINT__:En()},ld=we.__EXTEND_POINT__,Sn=Qo(ld),Nt={INVALID_ARGUMENT:ld,INVALID_DATE_ARGUMENT:Sn(),INVALID_ISO_DATE_ARGUMENT:Sn(),NOT_SUPPORT_NON_STRING_MESSAGE:Sn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Sn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Sn(),NOT_SUPPORT_LOCALE_TYPE:Sn(),__EXTEND_POINT__:Sn()};function Ut(e){return rs(e,null,void 0)}function oa(e,t){return t.locale!=null?Ql(t.locale):Ql(e.locale)}let Cs;function Ql(e){if(Z(e))return e;if(Se(e)){if(e.resolvedOnce&&Cs!=null)return Cs;if(e.constructor.name==="Function"){const t=e();if(w0(t))throw Ut(Nt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Cs=t}else throw Ut(Nt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ut(Nt.NOT_SUPPORT_LOCALE_TYPE)}function ux(e,t,n){return[...new Set([n,...Me(t)?t:he(t)?Object.keys(t):Z(t)?[t]:[n]])]}function cd(e,t,n){const o=Z(n)?n:Ao,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let r=s.__localeChainCache.get(o);if(!r){r=[];let i=[n];for(;Me(i);)i=zl(r,i,t);const a=Me(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,Me(i)&&zl(r,i,!1),s.__localeChainCache.set(o,r)}return r}function zl(e,t,n){let o=!0;for(let s=0;s<t.length&&Ae(o);s++){const r=t[s];Z(r)&&(o=fx(e,t[s],n))}return o}function fx(e,t,n){let o;const s=t.split("-");do{const r=s.join("-");o=dx(e,r,n),s.splice(-1,1)}while(s.length&&o===!0);return o}function dx(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Me(n)||pe(n))&&n[s]&&(o=n[s])}return o}const hx="9.14.0",os=-1,Ao="en-US",Zl="",ec=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function px(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?ec(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?ec(e.children):e}}let ud;function gx(e){ud=e}let fd;function mx(e){fd=e}let dd;function vx(e){dd=e}let hd=null;const yx=e=>{hd=e},_x=()=>hd;let pd=null;const tc=e=>{pd=e},xx=()=>pd;let nc=0;function wx(e={}){const t=Se(e.onWarn)?e.onWarn:S0,n=Z(e.version)?e.version:hx,o=Z(e.locale)||Se(e.locale)?e.locale:Ao,s=Se(o)?Ao:o,r=Me(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,i=pe(e.messages)?e.messages:{[s]:{}},a=pe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=pe(e.numberFormats)?e.numberFormats:{[s]:{}},f=De({},e.modifiers||{},px()),u=e.pluralRules||{},h=Se(e.missing)?e.missing:null,d=Ae(e.missingWarn)||Po(e.missingWarn)?e.missingWarn:!0,c=Ae(e.fallbackWarn)||Po(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=Se(e.postTranslation)?e.postTranslation:null,w=pe(e.processor)?e.processor:null,E=Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=Se(e.messageCompiler)?e.messageCompiler:ud,m=Se(e.messageResolver)?e.messageResolver:fd||q_,x=Se(e.localeFallbacker)?e.localeFallbacker:dd||ux,S=he(e.fallbackContext)?e.fallbackContext:void 0,b=e,P=he(b.__datetimeFormatters)?b.__datetimeFormatters:new Map,L=he(b.__numberFormatters)?b.__numberFormatters:new Map,T=he(b.__meta)?b.__meta:{};nc++;const C={version:n,cid:nc,locale:o,fallbackLocale:r,messages:i,modifiers:f,pluralRules:u,missing:h,missingWarn:d,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:v,processor:w,warnHtmlMessage:E,escapeParameter:y,messageCompiler:_,messageResolver:m,localeFallbacker:x,fallbackContext:S,onWarn:t,__meta:T};return C.datetimeFormats=a,C.numberFormats=l,C.__datetimeFormatters=P,C.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&ix(C,n,T),C}function sa(e,t,n,o,s){const{missing:r,onWarn:i}=e;if(r!==null){const a=r(e,n,t,s);return Z(a)?a:t}else return t}function lr(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Ex(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Sx(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(Ex(e,t[o]))return!0;return!1}function Ps(e){return n=>bx(n,e)}function bx(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,s=o.c||o.cases;return e.plural(s.reduce((r,i)=>[...r,rc(e,i)],[]))}else return rc(e,n)}function rc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((s,r)=>[...s,fi(e,r)],[]);return e.normalize(o)}}function fi(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,s=o.m||o.modifier;return e.linked(fi(e,o.k||o.key),s?fi(e,s):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Cx=e=>e;let ro=Object.create(null);const or=e=>he(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Px(e,t={}){let n=!1;const o=t.onError||x_;return t.onError=s=>{n=!0,o(s)},{...U_(e,t),detectError:n}}function Tx(e,t){if(Z(e)){Ae(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Cx)(e),s=ro[o];if(s)return s;const{ast:r,detectError:i}=Px(e,{...t,location:!1,jit:!0}),a=Ps(r);return i?a:ro[o]=a}else{const n=e.cacheKey;if(n){const o=ro[n];return o||(ro[n]=Ps(e))}else return Ps(e)}}const oc=()=>"",mt=e=>Se(e);function sc(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:s,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=di(...t),u=Ae(f.missingWarn)?f.missingWarn:e.missingWarn,h=Ae(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=Ae(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Z(f.default)||Ae(f.default)?Ae(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",g=n||p!=="",v=oa(e,f);d&&Lx(f);let[w,E,y]=c?[l,v,a[v]||{}]:gd(e,l,v,i,h,u),_=w,m=l;if(!c&&!(Z(_)||or(_)||mt(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||or(_)||mt(_))||!Z(E)))return s?os:l;let x=!1;const S=()=>{x=!0},b=mt(_)?_:md(e,l,E,_,m,S);if(x)return _;const P=Ax(e,E,y,f),L=ox(P),T=Rx(e,b,L),C=o?o(T,l):T;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:mt(_)?_.key:"",locale:E||(mt(_)?_.locale:""),format:Z(_)?_:mt(_)?_.source:"",message:C};O.meta=De({},e.__meta,_x()||{}),ax(O)}return C}function Lx(e){Me(e.list)?e.list=e.list.map(t=>Z(t)?Fl(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=Fl(e.named[t]))})}function gd(e,t,n,o,s,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:f}=e,u=f(e,o,n);let h={},d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],h=i[d]||{},(c=l(h,t))===null&&(c=h[t]),!(Z(c)||or(c)||mt(c)));g++)if(!Sx(d,u)){const v=sa(e,t,d,r,p);v!==t&&(c=v)}return[c,d,h]}function md(e,t,n,o,s,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(mt(o)){const f=o;return f.locale=f.locale||n,f.key=f.key||t,f}if(i==null){const f=()=>o;return f.locale=n,f.key=t,f}const l=i(o,kx(e,n,s,o,a,r));return l.locale=n,l.key=t,l.source=o,l}function Rx(e,t,n){return t(n)}function di(...e){const[t,n,o]=e,s={};if(!Z(t)&&!je(t)&&!mt(t)&&!or(t))throw Ut(Nt.INVALID_ARGUMENT);const r=je(t)?String(t):(mt(t),t);return je(n)?s.plural=n:Z(n)?s.default=n:pe(n)&&!Jo(n)?s.named=n:Me(n)&&(s.list=n),je(o)?s.plural=o:Z(o)?s.default=o:pe(o)&&De(s,o),[r,s]}function kx(e,t,n,o,s,r){return{locale:t,key:n,warnHtmlMessage:s,onError:i=>{throw r&&r(i),i},onCacheKey:i=>m0(t,n,i)}}function Ax(e,t,n,o){const{modifiers:s,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:s,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=gd(u,c,t,a,l,f);p=i(g,c)}if(Z(p)||or(p)){let g=!1;const w=md(e,c,t,p,c,()=>{g=!0});return g?oc:w}else return mt(p)?p:oc}};return e.processor&&(d.processor=e.processor),o.list&&(d.list=o.list),o.named&&(d.named=o.named),je(o.plural)&&(d.pluralIndex=o.plural),d}function ic(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=hi(...t),d=Ae(u.missingWarn)?u.missingWarn:e.missingWarn;Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=oa(e,u),g=i(e,s,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,h).format(f);let v={},w,E=null;const y="datetime format";for(let x=0;x<g.length&&(w=g[x],v=n[w]||{},E=v[l],!pe(E));x++)sa(e,l,w,d,y);if(!pe(E)||!Z(w))return o?os:l;let _=`${w}__${l}`;Jo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(w,De({},E,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const vd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function hi(...e){const[t,n,o,s]=e,r={};let i={},a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Ut(Nt.INVALID_ISO_DATE_ARGUMENT);const f=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(f);try{a.toISOString()}catch{throw Ut(Nt.INVALID_ISO_DATE_ARGUMENT)}}else if(y0(t)){if(isNaN(t.getTime()))throw Ut(Nt.INVALID_DATE_ARGUMENT);a=t}else if(je(t))a=t;else throw Ut(Nt.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{vd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(o)?r.locale=o:pe(o)&&(i=o),pe(s)&&(i=s),[r.key||"",a,r,i]}function ac(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__datetimeFormatters.has(r)&&o.__datetimeFormatters.delete(r)}}function lc(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:s,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=pi(...t),d=Ae(u.missingWarn)?u.missingWarn:e.missingWarn;Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=oa(e,u),g=i(e,s,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,h).format(f);let v={},w,E=null;const y="number format";for(let x=0;x<g.length&&(w=g[x],v=n[w]||{},E=v[l],!pe(E));x++)sa(e,l,w,d,y);if(!pe(E)||!Z(w))return o?os:l;let _=`${w}__${l}`;Jo(h)||(_=`${_}__${JSON.stringify(h)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(w,De({},E,h)),a.set(_,m)),c?m.formatToParts(f):m.format(f)}const yd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function pi(...e){const[t,n,o,s]=e,r={};let i={};if(!je(t))throw Ut(Nt.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{yd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(o)?r.locale=o:pe(o)&&(i=o),pe(s)&&(i=s),[r.key||"",a,r,i]}function cc(e,t,n){const o=e;for(const s in n){const r=`${t}__${s}`;o.__numberFormatters.has(r)&&o.__numberFormatters.delete(r)}}V_();/*!
* vue-i18n v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Ix="9.14.0";function Ox(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Qi().__INTLIFY_PROD_DEVTOOLS__=!1)}const _d=cx.__EXTEND_POINT__,Ft=Qo(_d);Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft(),Ft();const xd=Nt.__EXTEND_POINT__,nt=Qo(xd),_t={UNEXPECTED_RETURN_TYPE:xd,INVALID_ARGUMENT:nt(),MUST_BE_CALL_SETUP_TOP:nt(),NOT_INSTALLED:nt(),NOT_AVAILABLE_IN_LEGACY_MODE:nt(),REQUIRED_VALUE:nt(),INVALID_VALUE:nt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nt(),NOT_INSTALLED_WITH_PROVIDE:nt(),UNEXPECTED_ERROR:nt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nt(),BRIDGE_SUPPORT_VUE_2_ONLY:nt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nt(),__EXTEND_POINT__:nt()};function Rt(e,...t){return rs(e,null,void 0)}const gi=gn("__translateVNode"),mi=gn("__datetimeParts"),vi=gn("__numberParts"),Nx=gn("__setPluralRules"),Mx=gn("__injectWithOption"),yi=gn("__dispose");function Ar(e){if(!he(e))return e;for(const t in e)if(To(e,t))if(!t.includes("."))he(e[t])&&Ar(e[t]);else{const n=t.split("."),o=n.length-1;let s=e,r=!1;for(let i=0;i<o;i++){if(n[i]in s||(s[n[i]]={}),!he(s[n[i]])){r=!0;break}s=s[n[i]]}r||(s[n[o]]=e[t],delete e[t]),he(s[n[o]])&&Ar(s[n[o]])}return e}function wd(e,t){const{messages:n,__i18n:o,messageResolver:s,flatJson:r}=t,i=pe(n)?n:Me(o)?{}:{[e]:{}};if(Me(o)&&o.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||{},kn(f,i[l])):kn(f,i)}else Z(a)&&kn(JSON.parse(a),i)}),s==null&&r)for(const a in i)To(i,a)&&Ar(i[a]);return i}function Ed(e){return e.type}function Dx(e,t,n){let o=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=wd(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const s=Object.keys(o);s.length&&s.forEach(r=>{e.mergeLocaleMessage(r,o[r])});{if(he(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(he(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function uc(e){return Ie(sn,null,e,0)}const fc="__INTLIFY_META__",dc=()=>[],Fx=()=>!1;let hc=0;function pc(e){return(t,n,o,s)=>e(n,o,In()||void 0,s)}const $x=()=>{const e=In();let t=null;return e&&(t=Ed(e)[fc])?{[fc]:t}:null};function Sd(e={},t){const{__root:n,__injectWithOption:o}=e,s=n===void 0,r=e.flatJson,i=Co?be:Yn,a=!!e.translateExistCompatible;let l=Ae(e.inheritLocale)?e.inheritLocale:!0;const f=i(n&&l?n.locale.value:Z(e.locale)?e.locale:Ao),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||Me(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:f.value),h=i(wd(f.value,e)),d=i(pe(e.datetimeFormats)?e.datetimeFormats:{[f.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[f.value]:{}});let p=n?n.missingWarn:Ae(e.missingWarn)||Po(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Ae(e.fallbackWarn)||Po(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,E=Se(e.missing)?e.missing:null,y=Se(e.missing)?pc(e.missing):null,_=Se(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const S=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let b=e.pluralRules||n&&n.pluralRules,P;P=(()=>{s&&tc(null);const M={version:Ix,locale:f.value,fallbackLocale:u.value,messages:h.value,modifiers:S,pluralRules:b,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:w,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:m,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};M.datetimeFormats=d.value,M.numberFormats=c.value,M.__datetimeFormatters=pe(P)?P.__datetimeFormatters:void 0,M.__numberFormatters=pe(P)?P.__numberFormatters:void 0;const H=wx(M);return s&&tc(H),H})(),lr(P,f.value,u.value);function T(){return[f.value,u.value,h.value,d.value,c.value]}const C=me({get:()=>f.value,set:M=>{f.value=M,P.locale=f.value}}),O=me({get:()=>u.value,set:M=>{u.value=M,P.fallbackLocale=u.value,lr(P,f.value,M)}}),$=me(()=>h.value),F=me(()=>d.value),B=me(()=>c.value);function W(){return Se(_)?_:null}function Y(M){_=M,P.postTranslation=M}function oe(){return E}function ue(M){M!==null&&(y=pc(M)),E=M,P.missing=y}const ce=(M,H,re,se,Te,qe)=>{T();let ut;try{__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=n?xx():void 0),ut=M(P)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(P.fallbackContext=void 0)}if(re!=="translate exists"&&je(ut)&&ut===os||re==="translate exists"&&!ut){const[Ur,Nn]=H();return n&&v?se(n):Te(Ur)}else{if(qe(ut))return ut;throw Rt(_t.UNEXPECTED_RETURN_TYPE)}};function ne(...M){return ce(H=>Reflect.apply(sc,null,[H,...M]),()=>di(...M),"translate",H=>Reflect.apply(H.t,H,[...M]),H=>H,H=>Z(H))}function Ce(...M){const[H,re,se]=M;if(se&&!he(se))throw Rt(_t.INVALID_ARGUMENT);return ne(H,re,De({resolvedMessage:!0},se||{}))}function _e(...M){return ce(H=>Reflect.apply(ic,null,[H,...M]),()=>hi(...M),"datetime format",H=>Reflect.apply(H.d,H,[...M]),()=>Zl,H=>Z(H))}function Fe(...M){return ce(H=>Reflect.apply(lc,null,[H,...M]),()=>pi(...M),"number format",H=>Reflect.apply(H.n,H,[...M]),()=>Zl,H=>Z(H))}function fe(M){return M.map(H=>Z(H)||je(H)||Ae(H)?uc(String(H)):H)}const q={normalize:fe,interpolate:M=>M,type:"vnode"};function z(...M){return ce(H=>{let re;const se=H;try{se.processor=q,re=Reflect.apply(sc,null,[se,...M])}finally{se.processor=null}return re},()=>di(...M),"translate",H=>H[gi](...M),H=>[uc(H)],H=>Me(H))}function ee(...M){return ce(H=>Reflect.apply(lc,null,[H,...M]),()=>pi(...M),"number format",H=>H[vi](...M),dc,H=>Z(H)||Me(H))}function de(...M){return ce(H=>Reflect.apply(ic,null,[H,...M]),()=>hi(...M),"datetime format",H=>H[mi](...M),dc,H=>Z(H)||Me(H))}function xe(M){b=M,P.pluralRules=b}function A(M,H){return ce(()=>{if(!M)return!1;const re=Z(H)?H:f.value,se=K(re),Te=P.messageResolver(se,M);return a?Te!=null:or(Te)||mt(Te)||Z(Te)},()=>[M],"translate exists",re=>Reflect.apply(re.te,re,[M,H]),Fx,re=>Ae(re))}function I(M){let H=null;const re=cd(P,u.value,f.value);for(let se=0;se<re.length;se++){const Te=h.value[re[se]]||{},qe=P.messageResolver(Te,M);if(qe!=null){H=qe;break}}return H}function D(M){const H=I(M);return H??(n?n.tm(M)||{}:{})}function K(M){return h.value[M]||{}}function U(M,H){if(r){const re={[M]:H};for(const se in re)To(re,se)&&Ar(re[se]);H=re[M]}h.value[M]=H,P.messages=h.value}function X(M,H){h.value[M]=h.value[M]||{};const re={[M]:H};if(r)for(const se in re)To(re,se)&&Ar(re[se]);H=re[M],kn(H,h.value[M]),P.messages=h.value}function Q(M){return d.value[M]||{}}function R(M,H){d.value[M]=H,P.datetimeFormats=d.value,ac(P,M,H)}function k(M,H){d.value[M]=De(d.value[M]||{},H),P.datetimeFormats=d.value,ac(P,M,H)}function N(M){return c.value[M]||{}}function j(M,H){c.value[M]=H,P.numberFormats=c.value,cc(P,M,H)}function J(M,H){c.value[M]=De(c.value[M]||{},H),P.numberFormats=c.value,cc(P,M,H)}hc++,n&&Co&&(at(n.locale,M=>{l&&(f.value=M,P.locale=M,lr(P,f.value,u.value))}),at(n.fallbackLocale,M=>{l&&(u.value=M,P.fallbackLocale=M,lr(P,f.value,u.value))}));const G={id:hc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(M){l=M,M&&n&&(f.value=n.locale.value,u.value=n.fallbackLocale.value,lr(P,f.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:$,get modifiers(){return S},get pluralRules(){return b||{}},get isGlobal(){return s},get missingWarn(){return p},set missingWarn(M){p=M,P.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(M){g=M,P.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(M){v=M},get fallbackFormat(){return w},set fallbackFormat(M){w=M,P.fallbackFormat=w},get warnHtmlMessage(){return m},set warnHtmlMessage(M){m=M,P.warnHtmlMessage=M},get escapeParameter(){return x},set escapeParameter(M){x=M,P.escapeParameter=M},t:ne,getLocaleMessage:K,setLocaleMessage:U,mergeLocaleMessage:X,getPostTranslationHandler:W,setPostTranslationHandler:Y,getMissingHandler:oe,setMissingHandler:ue,[Nx]:xe};return G.datetimeFormats=F,G.numberFormats=B,G.rt=Ce,G.te=A,G.tm=D,G.d=_e,G.n=Fe,G.getDateTimeFormat=Q,G.setDateTimeFormat=R,G.mergeDateTimeFormat=k,G.getNumberFormat=N,G.setNumberFormat=j,G.mergeNumberFormat=J,G[Mx]=o,G[gi]=z,G[mi]=de,G[vi]=ee,G}const ia={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Hx({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,s)=>[...o,...s.type===Ge?s.children:[s]],[]):t.reduce((n,o)=>{const s=e[o];return s&&(n[o]=s()),n},{})}function bd(e){return Ge}const Bx=Ye({name:"i18n-t",props:De({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>je(e)||!isNaN(e)}},ia),setup(e,t){const{slots:n,attrs:o}=t,s=e.i18n||ss({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=Hx(t,r),l=s[gi](e.keypath,a,i),f=De({},o),u=Z(e.tag)||he(e.tag)?e.tag:bd();return We(u,f,l)}}}),gc=Bx;function Ux(e){return Me(e)&&!Z(e[0])}function Cd(e,t,n,o){const{slots:s,attrs:r}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:he(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?De({},d,{[c]:e.format[c]}):d,{}));const l=o(e.value,i,a);let f=[i.key];Me(l)?f=l.map((d,c)=>{const p=s[d.type],g=p?p({[d.type]:d.value,index:c,parts:l}):[d.value];return Ux(g)&&(g[0].key=`${d.type}-${c}`),g}):Z(l)&&(f=[l]);const u=De({},r),h=Z(e.tag)||he(e.tag)?e.tag:bd();return We(h,u,f)}}const Vx=Ye({name:"i18n-n",props:De({value:{type:Number,required:!0},format:{type:[String,Object]}},ia),setup(e,t){const n=e.i18n||ss({useScope:e.scope,__useComponent:!0});return Cd(e,t,yd,(...o)=>n[vi](...o))}}),mc=Vx,jx=Ye({name:"i18n-d",props:De({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ia),setup(e,t){const n=e.i18n||ss({useScope:e.scope,__useComponent:!0});return Cd(e,t,vd,(...o)=>n[mi](...o))}}),vc=jx;function Wx(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function Kx(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw Rt(_t.UNEXPECTED_ERROR);const u=Wx(e,a.$),h=yc(f);return[Reflect.apply(u.t,u,[..._c(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);Co&&e.global===f&&(i.__i18nWatcher=at(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{Co&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,f=yc(a);i.textContent=Reflect.apply(l.t,l,[..._c(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function yc(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Rt(_t.REQUIRED_VALUE,"path");return e}else throw Rt(_t.INVALID_VALUE)}function _c(e){const{path:t,locale:n,args:o,choice:s,plural:r}=e,i={},a=o||{};return Z(n)&&(i.locale=n),je(s)&&(i.plural=s),je(r)&&(i.plural=r),[t,a,i]}function Gx(e,t,...n){const o=pe(n[0])?n[0]:{},s=!!o.useI18nComponentName;(Ae(o.globalInstall)?o.globalInstall:!0)&&([s?"i18n":gc.name,"I18nT"].forEach(i=>e.component(i,gc)),[mc.name,"I18nN"].forEach(i=>e.component(i,mc)),[vc.name,"I18nD"].forEach(i=>e.component(i,vc))),e.directive("t",Kx(t))}const Xx=gn("global-vue-i18n");function Yx(e={},t){const n=Ae(e.globalInjection)?e.globalInjection:!0,o=!0,s=new Map,[r,i]=qx(e),a=gn("");function l(h){return s.get(h)||null}function f(h,d){s.set(h,d)}function u(h){s.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return o},async install(d,...c){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,h),pe(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=r1(d,h.global)),Gx(d,h,...c);const g=d.unmount;d.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:s,__getInstance:l,__setInstance:f,__deleteInstance:u};return h}}function ss(e={}){const t=In();if(t==null)throw Rt(_t.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Rt(_t.NOT_INSTALLED);const n=Jx(t),o=zx(n),s=Ed(t),r=Qx(e,s);if(r==="global")return Dx(o,e,s),o;if(r==="parent"){let l=Zx(n,t,e.__useComponent);return l==null&&(l=o),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=De({},e);"__i18n"in s&&(l.__i18n=s.__i18n),o&&(l.__root=o),a=Sd(l),i.__composerExtend&&(a[yi]=i.__composerExtend(a)),t1(i,t,a),i.__setInstance(t,a)}return a}function qx(e,t,n){const o=bi();{const s=o.run(()=>Sd(e));if(s==null)throw Rt(_t.UNEXPECTED_ERROR);return[o,s]}}function Jx(e){{const t=ze(e.isCE?Xx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Rt(e.isCE?_t.NOT_INSTALLED_WITH_PROVIDE:_t.UNEXPECTED_ERROR);return t}}function Qx(e,t){return Jo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function zx(e){return e.mode==="composition"?e.global:e.global.__composer}function Zx(e,t,n=!1){let o=null;const s=t.root;let r=e1(t,n);for(;r!=null;){const i=e;if(e.mode==="composition"&&(o=i.__getInstance(r)),o!=null||s===r)break;r=r.parent}return o}function e1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function t1(e,t,n){xt(()=>{},t),Mi(()=>{const o=n;e.__deleteInstance(t);const s=o[yi];s&&(s(),delete o[yi])},t)}const n1=["locale","fallbackLocale","availableLocales"],xc=["t","rt","d","n","tm","te"];function r1(e,t){const n=Object.create(null);return n1.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r)throw Rt(_t.UNEXPECTED_ERROR);const i=$e(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,s,i)}),e.config.globalProperties.$i18n=n,xc.forEach(s=>{const r=Object.getOwnPropertyDescriptor(t,s);if(!r||!r.value)throw Rt(_t.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,r)}),()=>{delete e.config.globalProperties.$i18n,xc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}Ox();gx(Tx);mx(J_);vx(cd);if(__INTLIFY_PROD_DEVTOOLS__){const e=Qi();e.__INTLIFY__=!0,sx(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function o1(){return st(es)}function s1(){return st(nr)}const i1=kt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=s1(),n=new RegExp([`<!--${$l}-\\[(\\w+)\\]-->`,".+?",`<!--/${$l}-->`].join(""),"g");e.hook("app:rendered",o=>{var s;((s=o.renderResult)==null?void 0:s.html)!=null&&(o.renderResult.html=o.renderResult.html.replaceAll(n,(r,i)=>r.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}});function a1(e,{locales:t=[],localeCodes:n=[],baseUrl:o="",hooks:s={},context:r={}}={}){const i=bi(),a=e.install;return e.install=(l,...f)=>{const u=u1(f[0])?De({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=er(e);g.locales=me(()=>v.locales.value),g.localeCodes=me(()=>v.localeCodes.value),g.baseUrl=me(()=>v.baseUrl.value);let w;return Se(h)&&(w=Reflect.apply(h,u,[g])),()=>{w&&w()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{wc(v,s.onExtendVueI18n);let w;return Se(g)&&(w=Reflect.apply(g,u,[v])),()=>{w&&w()}}}f[0]=u,Reflect.apply(a,e,[l,...f]);const d=er(e);i.run(()=>{l1(d,{locales:t,localeCodes:n,baseUrl:o,hooks:s,context:r}),e.mode==="legacy"&&Wf(e.global)&&wc(e.global,s.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&c1(p,d,s.onExtendExportedGlobal),u.inject){const g=na(e);l.mixin({methods:{getRouteBaseName:st(tr,g),resolveRoute:st(ts,g),localePath:st(es,g),localeRoute:st(ea,g),localeLocation:st(q0,g),switchLocalePath:st(nr,g),localeHead:st(qf,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function l1(e,t){const{locales:n,localeCodes:o,baseUrl:s,context:r}=t,i=be(n),a=be(o),l=be("");e.locales=me(()=>i.value),e.localeCodes=me(()=>a.value),e.baseUrl=me(()=>l.value),L0?at(e.locale,()=>{l.value=Bl(s,r)},{immediate:!0}):l.value=Bl(s,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Pd(e,t,n){const o=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&o.push(n(e));for(const s of o)for(const[r,i]of Object.entries(s))Object.defineProperty(t,r,i)}function c1(e,t,n){Pd(t,e,n)}function wc(e,t){const n=er(e);Pd(n,e,t)}function u1(e){return he(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const f1=kt({name:"i18n:plugin",parallel:C0,async setup(e){let t,n;const o=Wo(),{vueApp:s}=e,r=e,i=ns(),{configLocales:a,defaultLocale:l,multiDomainLocales:f,strategy:u}=r.$config.public.i18n,h=a.some(T=>typeof T!="string"&&Array.isArray(T.defaultForDomains));let d;if(l)d=l;else if(h){const T=a.find(C=>typeof C=="string"||!Array.isArray(C.defaultForDomains)?!1:C.defaultForDomains.includes(i??""));d=(T==null?void 0:T.code)??""}else d="";if(f&&(u==="prefix_except_default"||u==="prefix_and_default")){const T=Xe();T.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==d)T.removeRoute(C.name);else{const F=C.name.toString().replace("___default","");C.name=F}})}const c={...r.$config.public.i18n,defaultLocale:d};c.baseUrl=d_();const p=Br(),g=([t,n]=Pt(()=>B0(b0,ve())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=zf(),w=T=>T||g.locale||"en-US",E=p_();let y=jl(o,v,w(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:no(E,p,c.defaultLocale)},c);g.messages=([t,n]=Pt(()=>U0(g.messages,Lo,{localeCodes:Zn,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=w(y);const _=Yx({...g,locale:y});let m=!0;const x=T=>y!==T&&m;let S=!0;const b=()=>S;b()&&c.strategy==="no_prefix"&&e.hook("app:mounted",()=>{const T=od(o,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:no(E,p,c.defaultLocale)},y);r_(_,T.locale),S=!1}),a1(_,{locales:c.configLocales,localeCodes:Zn,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(T){T.strategy=c.strategy,T.localeProperties=me(()=>zo.find(C=>C.code===T.locale.value)||{code:T.locale.value}),T.setLocale=async C=>{const O=x(C);await Vl(C,_,c,O)&&O&&(m=!1);const F=await r.runWithContext(()=>Wl({route:{to:o},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await Kl({nuxtApp:r,i18n:_,redirectPath:F,locale:C,route:o},{enableNavigate:!0}))},T.loadLocaleMessages=async C=>{await Ro(C,Lo,($,F)=>Zf(_,$,F))},T.differentDomains=c.differentDomains,T.defaultLocale=c.defaultLocale,T.getBrowserLocale=()=>nd(),T.getLocaleCookie=()=>no(E,p,c.defaultLocale),T.setLocaleCookie=C=>g_(E,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&&(Kf(_,_.__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=er(_);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,()=>{}}};s.use(_,P),c_(r,_);let L=0;Dm("locale-changing",async(T,C)=>{let O,$;const F=jl(T,v,()=>Zo(_)||w(c.defaultLocale),{ssg:b()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:no(E,p,c.defaultLocale)},c),B=x(F);([O,$]=Pt(()=>Vl(F,_,c,B)),O=await O,$(),O)&&B&&(m=!1);const Y=([O,$]=Pt(()=>r.runWithContext(()=>Wl({route:{to:T,from:C},targetLocale:F,routeLocaleGetter:c.strategy==="no_prefix"?()=>F:v,calledWithRouting:!0}))),O=await O,$(),O);return L++,[O,$]=Pt(()=>r.runWithContext(async()=>Kl({nuxtApp:r,i18n:_,redirectPath:Y,locale:F,route:T}))),O=await O,$(),O},{global:!0})}}),d1=[Fv,Hv,n0,o0,s0,i0,l0,c0,u0,i1,f1],h1=Ye({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,o={};for(const s in e.route)Object.defineProperty(o,s,{get:()=>t===e.renderKey?e.route[s]:n[s]});return on($r,Bt(o)),()=>We(e.vnode,{ref:e.vnodeRef})}}),p1=Ye({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:o}){const s=ve(),r=be(),i=ze($r,null);let a;o({pageRef:r});const l=ze(hf,null);let f;const u=s.deferHydration();if(s.isHydrating){const h=s.hooks.hookOnce("app:error",u);Xe().beforeEach(h)}return e.pageKey&&at(()=>e.pageKey,(h,d)=>{h!==d&&s.callHook("page:loading:start")}),()=>We(Hf,{name:e.name,route:e.route,...t},{default:h=>{const d=m1(i,h.route,h.Component),c=i&&i.matched.length===h.route.matched.length;if(!h.Component){if(f&&!c)return f;u();return}if(f&&l&&!l.isCurrent(h.route))return f;if(d&&i&&(!l||l!=null&&l.isCurrent(i)))return c?f:null;const p=li(h,e.pageKey);!s.isHydrating&&!v1(i,h.route,h.Component)&&a===p&&s.callHook("page:loading:end"),a=p;const g=!!(e.transition??h.route.meta.pageTransition??Js),v=g&&g1([e.transition,h.route.meta.pageTransition,Js,{onAfterLeave:()=>{s.callHook("page:transition:finish",h.Component)}}].filter(Boolean)),w=e.keepalive??h.route.meta.keepalive??fm;return f=Bf(jo,g&&v,Ky(w,We(Bi,{suspensible:!0,onPending:()=>s.callHook("page:start",h.Component),onResolve:()=>{hn(()=>s.callHook("page:finish",h.Component).then(()=>s.callHook("page:loading:end")).finally(u))}},{default:()=>{const E=We(h1,{key:p||void 0,vnode:n.default?We(Ge,void 0,n.default(h)):h.Component,route:h.route,renderKey:p||void 0,trackRootNodes:g,vnodeRef:r});return w&&(E.type.name=h.Component.type.name||h.Component.type.__name||"RouteProvider"),E}}))).default(),f}})}});function g1(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Ji(n.onAfterLeave):void 0}));return ff(...t)}function m1(e,t,n){if(!e)return!1;const o=t.matched.findIndex(s=>{var r;return((r=s.components)==null?void 0:r.default)===(n==null?void 0:n.type)});return!o||o===-1?!1:t.matched.slice(0,o).some((s,r)=>{var i,a,l;return((i=s.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 v1(e,t,n){return e?t.matched.findIndex(s=>{var r;return((r=s.components)==null?void 0:r.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const y1=Ye({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await tn[e.name]().then(o=>o.default||o);return()=>We(n,e.layoutProps,t.slots)}}),_1=Ye({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=ve(),o=ze($r),s=o===Wo()?jy():o,r=me(()=>{let l=te(e.name)??s.meta.layout??"default";return l&&!(l in tn)&&e.fallback&&(l=te(e.fallback)),l}),i=be();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Xe().beforeEach(l)}return()=>{const l=r.value&&r.value in tn,f=s.meta.layoutTransition??um;return Bf(jo,l&&f,{default:()=>We(Bi,{suspensible:!0,onResolve:()=>{hn(a)}},{default:()=>We(x1,{layoutProps:Uu(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),x1=Ye({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&&on(hf,{isCurrent:o=>n===(o.meta.layout??"default")}),()=>{var o,s;return!n||typeof n=="string"&&!(n in tn)?(s=(o=t.slots).default)==null?void 0:s.call(o):We(y1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),w1=Symbol.for("nuxt:client-only"),is=Ye({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const o=be(!1);return xt(()=>{o.value=!0}),on(w1,!0),s=>{var l;if(o.value)return(l=t.default)==null?void 0:l.call(t);const r=t.fallback||t.placeholder;if(r)return r();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return tt(a,n,i)}}});function Ec(){return localStorage.getItem("cookie")==null}function E1(){localStorage.setItem("cookie","accept")}function S1(){localStorage.setItem("cookie","refuse")}const Td=["cookie","future","change-something","picture-bright","picture-nolights"];function b1(e){if(!Td.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 aa(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Sc(){return aa().length}function C1(){return Td.length}function Gw(e){return e[Math.floor(Math.random()*e.length)]}function Ld(e,t){return Math.random()*(t-e)+e}function P1(e,t){return Math.floor(Ld(e,t))}var Ts=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Rd={exports:{}};/*!
* matter-js 0.19.0 by @liabru
* http://brm.io/matter-js/
* License MIT
*
* The MIT License (MIT)
*
* Copyright (c) Liam Brummitt and contributors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/(function(e,t){(function(o,s){e.exports=s()})(Ts,function(){return function(n){var o={};function s(r){if(o[r])return o[r].exports;var i=o[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,s),i.l=!0,i.exports}return s.m=n,s.c=o,s.d=function(r,i,a){s.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},s.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},s.t=function(r,i){if(i&1&&(r=s(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)s.d(a,l,(function(f){return r[f]}).bind(null,l));return a},s.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return s.d(i,"a",i),i},s.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},s.p="",s(s.s=20)}([function(n,o){var s={};n.exports=s,function(){s._baseDelta=1e3/60,s._nextId=0,s._seed=0,s._nowStartTime=+new Date,s._warnedOnce={},s._decomp=null,s.extend=function(i,a){var l,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var d in h)f&&h[d]&&h[d].constructor===Object&&(!i[d]||i[d].constructor===Object)?(i[d]=i[d]||{},s.extend(i[d],f,h[d])):i[d]=h[d]}return i},s.clone=function(i,a){return s.extend({},a,i)},s.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},s.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),f=0;f<l.length;f++)a.push(i[l[f]]);return a}for(var u in i)a.push(i[u]);return a},s.get=function(i,a,l,f){a=a.split(".").slice(l,f);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},s.set=function(i,a,l,f,u){var h=a.split(".").slice(f,u);return s.get(i,a,0,-1)[h[h.length-1]]=l,l},s.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(s.random()*(a+1)),f=i[a];i[a]=i[l],i[l]=f}return i},s.choose=function(i){return i[Math.floor(s.random()*i.length)]},s.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},s.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},s.isFunction=function(i){return typeof i=="function"},s.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},s.isString=function(i){return toString.call(i)==="[object String]"},s.clamp=function(i,a,l){return i<a?a:i>l?l:i},s.sign=function(i){return i<0?-1:1},s.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-s._nowStartTime},s.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 s._seed=(s._seed*9301+49297)%233280,s._seed/233280};s.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)},s.logLevel=1,s.log=function(){console&&s.logLevel>0&&s.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},s.info=function(){console&&s.logLevel>0&&s.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},s.warn=function(){console&&s.logLevel>0&&s.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},s.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");s._warnedOnce[i]||(s.warn(i),s._warnedOnce[i]=!0)},s.deprecated=function(i,a,l){i[a]=s.chain(function(){s.warnOnce("🔅 deprecated 🔅",l)},i[a])},s.nextId=function(){return s._nextId++},s.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},s.map=function(i,a){if(i.map)return i.map(a);for(var l=[],f=0;f<i.length;f+=1)l.push(a(i[f]));return l},s.topologicalSort=function(i){var a=[],l=[],f=[];for(var u in i)!l[u]&&!f[u]&&s._topologicalSort(u,l,f,i,a);return a},s._topologicalSort=function(i,a,l,f,u){var h=f[i]||[];l[i]=!0;for(var d=0;d<h.length;d+=1){var c=h[d];l[c]||a[c]||s._topologicalSort(c,a,l,f,u)}l[i]=!1,a[i]=!0,u.push(i)},s.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}var f=function(){for(var u,h=new Array(arguments.length),d=0,c=arguments.length;d<c;d++)h[d]=arguments[d];for(d=0;d<i.length;d+=1){var p=i[d].apply(u,h);typeof p<"u"&&(u=p)}return u};return f._chained=i,f},s.chainPathBefore=function(i,a,l){return s.set(i,a,s.chain(l,s.get(i,a)))},s.chainPathAfter=function(i,a,l){return s.set(i,a,s.chain(s.get(i,a),l))},s.setDecomp=function(i){s._decomp=i},s.getDecomp=function(){var i=s._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof Ts<"u"&&(i=Ts.decomp)}catch{i=null}return i}}()},function(n,o){var s={};n.exports=s,function(){s.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&s.update(i,r),i},s.update=function(r,i,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var f=i[l];f.x>r.max.x&&(r.max.x=f.x),f.x<r.min.x&&(r.min.x=f.x),f.y>r.max.y&&(r.max.y=f.y),f.y<r.min.y&&(r.min.y=f.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},s.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},s.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},s.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},s.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,o){var s={};n.exports=s,function(){s.create=function(r,i){return{x:r||0,y:i||0}},s.clone=function(r){return{x:r.x,y:r.y}},s.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},s.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},s.rotate=function(r,i,a){var l=Math.cos(i),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},s.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),l.x=h,l},s.normalise=function(r){var i=s.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},s.dot=function(r,i){return r.x*i.x+r.y*i.y},s.cross=function(r,i){return r.x*i.y-r.y*i.x},s.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},s.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},s.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},s.mult=function(r,i){return{x:r.x*i,y:r.y*i}},s.div=function(r,i){return{x:r.x/i,y:r.y/i}},s.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},s.neg=function(r){return{x:-r.x,y:-r.y}},s.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},s._temp=[s.create(),s.create(),s.create(),s.create(),s.create(),s.create()]}()},function(n,o,s){var r={};n.exports=r;var i=s(2),a=s(0);(function(){r.create=function(l,f){for(var u=[],h=0;h<l.length;h++){var d=l[h],c={x:d.x,y:d.y,index:h,body:f,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,f){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(d,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,f)},r.centre=function(l){for(var f=r.area(l,!0),u={x:0,y:0},h,d,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),d=i.mult(i.add(l[p],l[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(l){for(var f={x:0,y:0},u=0;u<l.length;u++)f.x+=l[u].x,f.y+=l[u].y;return i.div(f,l.length)},r.area=function(l,f){for(var u=0,h=l.length-1,d=0;d<l.length;d++)u+=(l[h].x-l[d].x)*(l[h].y+l[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(l,f){for(var u=0,h=0,d=l,c,p,g=0;g<d.length;g++)p=(g+1)%d.length,c=Math.abs(i.cross(d[p],d[g])),u+=c*(i.dot(d[p],d[p])+i.dot(d[p],d[g])+i.dot(d[g],d[g])),h+=c;return f/6*(u/h)},r.translate=function(l,f,u){u=typeof u<"u"?u:1;var h=l.length,d=f.x*u,c=f.y*u,p;for(p=0;p<h;p++)l[p].x+=d,l[p].y+=c;return l},r.rotate=function(l,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,p=u.y,g=l.length,v,w,E,y;for(y=0;y<g;y++)v=l[y],w=v.x-c,E=v.y-p,v.x=c+(w*h-E*d),v.y=p+(w*d+E*h);return l}},r.contains=function(l,f){for(var u=f.x,h=f.y,d=l.length,c=l[d-1],p,g=0;g<d;g++){if(p=l[g],(u-c.x)*(p.y-c.y)+(h-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p<l.length;p++)d=l[p],c=i.sub(d,h),l[p].x=h.x+c.x*f,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,f,u,h,d){typeof f=="number"?f=[f]:f=f||[8],u=typeof u<"u"?u:-1,h=h||2,d=d||14;for(var c=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],w=l[(p+1)%l.length],E=f[p<f.length?p:f.length-1];if(E===0){c.push(v);continue}var y=i.normalise({x:v.y-g.y,y:g.x-v.x}),_=i.normalise({x:w.y-v.y,y:v.x-w.x}),m=Math.sqrt(2*Math.pow(E,2)),x=i.mult(a.clone(y),E),S=i.normalise(i.mult(i.add(y,_),.5)),b=i.sub(v,i.mult(S,m)),P=u;u===-1&&(P=Math.pow(E,.32)*1.75),P=a.clamp(P,h,d),P%2===1&&(P+=1);for(var L=Math.acos(i.dot(y,_)),T=L/P,C=0;C<P;C++)c.push(i.add(i.rotate(x,T*C),b))}return c},r.clockwiseSort=function(l){var f=r.mean(l);return l.sort(function(u,h){return i.angle(f,u)-i.angle(f,h)}),l},r.isConvex=function(l){var f=0,u=l.length,h,d,c,p;if(u<3)return null;for(h=0;h<u;h++)if(d=(h+1)%u,c=(h+2)%u,p=(l[d].x-l[h].x)*(l[c].y-l[d].y),p-=(l[d].y-l[h].y)*(l[c].x-l[d].x),p<0?f|=1:p>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d<l.length;d+=1){for(h=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(2),l=s(7),f=s(0),u=s(1),h=s(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:f.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=f.extend(p,c);return d(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var d=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",w=c.isStatic&&c.render.fillStyle===null?1:0;c.render.fillStyle=c.render.fillStyle||g,c.render.strokeStyle=c.render.strokeStyle||v,c.render.lineWidth=c.render.lineWidth||w,c.render.sprite.xOffset+=-(c.bounds.min.x-c.position.x)/(c.bounds.max.x-c.bounds.min.x),c.render.sprite.yOffset+=-(c.bounds.min.y-c.position.y)/(c.bounds.max.y-c.bounds.min.y)};r.set=function(c,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g<c.parts.length;g++){var v=c.parts[g];v.isStatic=p,p?(v._original={restitution:v.restitution,friction:v.friction,mass:v.mass,inertia:v.inertia,density:v.density,inverseMass:v.inverseMass,inverseInertia:v.inverseInertia},v.restitution=0,v.friction=1,v.mass=v.inertia=v.density=1/0,v.inverseMass=v.inverseInertia=0,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.anglePrev=v.angle,v.angularVelocity=0,v.speed=0,v.angularSpeed=0,v.motion=0):v._original&&(v.restitution=v._original.restitution,v.friction=v._original.friction,v.mass=v._original.mass,v.inertia=v._original.inertia,v.density=v._original.density,v.inverseMass=v._original.inverseMass,v.inverseInertia=v._original.inverseInertia,v._original=null)}},r.setMass=function(c,p){var g=c.inertia/(c.mass/6);c.inertia=g*(p/6),c.inverseInertia=1/c.inertia,c.mass=p,c.inverseMass=1/c.mass,c.density=c.mass/c.area},r.setDensity=function(c,p){r.setMass(c,p*c.area),c.density=p},r.setInertia=function(c,p){c.inertia=p,c.inverseInertia=1/c.inertia},r.setVertices=function(c,p){p[0].body===c?c.vertices=p:c.vertices=i.create(p,c),c.axes=h.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var g=i.centre(c.vertices);i.translate(c.vertices,g,-1),r.setInertia(c,r._inertiaScale*i.inertia(c.vertices,c.mass)),i.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},r.setParts=function(c,p,g){var v;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<p.length;v++){var w=p[v];w!==c&&(w.parent=c,c.parts.push(w))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var E=[];for(v=0;v<p.length;v++)E=E.concat(p[v].vertices);i.clockwiseSort(E);var y=i.hull(E),_=i.centre(y);r.setVertices(c,y),i.translate(c.vertices,_)}var m=r._totalProperties(c);c.area=m.area,c.parent=c,c.position.x=m.centre.x,c.position.y=m.centre.y,c.positionPrev.x=m.centre.x,c.positionPrev.y=m.centre.y,r.setMass(c,m.mass),r.setInertia(c,m.inertia),r.setPosition(c,m.centre)}},r.setCentre=function(c,p,g){g?(c.positionPrev.x+=p.x,c.positionPrev.y+=p.y,c.position.x+=p.x,c.position.y+=p.y):(c.positionPrev.x=p.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=p.y-(c.position.y-c.positionPrev.y),c.position.x=p.x,c.position.y=p.y)},r.setPosition=function(c,p,g){var v=a.sub(p,c.position);g?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=v.x,c.velocity.y=v.y,c.speed=a.magnitude(v)):(c.positionPrev.x+=v.x,c.positionPrev.y+=v.y);for(var w=0;w<c.parts.length;w++){var E=c.parts[w];E.position.x+=v.x,E.position.y+=v.y,i.translate(E.vertices,v),u.update(E.bounds,E.vertices,c.velocity)}},r.setAngle=function(c,p,g){var v=p-c.angle;g?(c.anglePrev=c.angle,c.angularVelocity=v,c.angularSpeed=Math.abs(v)):c.anglePrev+=v;for(var w=0;w<c.parts.length;w++){var E=c.parts[w];E.angle+=v,i.rotate(E.vertices,v,c.position),h.rotate(E.axes,v),u.update(E.bounds,E.vertices,c.velocity),w>0&&a.rotateAbout(E.position,v,c.position,E.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var w=Math.cos(p),E=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*w-_*E),y:g.y+(y*E+_*w)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var w=0,E=0;v=v||c.position;for(var y=0;y<c.parts.length;y++){var _=c.parts[y];i.scale(_.vertices,p,g,v),_.axes=h.fromVertices(_.vertices),_.area=i.area(_.vertices),r.setMass(_,c.density*_.area),i.translate(_.vertices,{x:-_.position.x,y:-_.position.y}),r.setInertia(_,r._inertiaScale*i.inertia(_.vertices,_.mass)),i.translate(_.vertices,{x:_.position.x,y:_.position.y}),y>0&&(w+=_.area,E+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=w,c.isStatic||(r.setMass(c,c.density*w),r.setInertia(c,E))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,w=1-c.frictionAir*(p/f._baseDelta),E=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=E*w+c.force.x/c.mass*g,c.velocity.y=y*w+c.force.y/c.mass*g,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*w*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_<c.parts.length;_++){var m=c.parts[_];i.translate(m.vertices,c.velocity),_>0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),h.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g<c.parts.length;g++){var v=c.parts[g],w=v.mass!==1/0?v.mass:1;p.mass+=w,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,w))}return p.centre=a.div(p.centre,p.mass),p}})()},function(n,o,s){var r={};n.exports=r;var i=s(0);(function(){r.on=function(a,l,f){for(var u=l.split(" "),h,d=0;d<u.length;d++)h=u[d],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(f);return f},r.off=function(a,l,f){if(!l){a.events={};return}typeof l=="function"&&(f=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var d=a.events[u[h]],c=[];if(f&&d)for(var p=0;p<d.length;p++)d[p]!==f&&c.push(d[p]);a.events[u[h]]=c}},r.trigger=function(a,l,f){var u,h,d,c,p=a.events;if(p&&i.keys(p).length>0){f||(f={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],d=p[h],d){c=i.clone(f,!1),c.name=h,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()},function(n,o,s){var r={};n.exports=r;var i=s(5),a=s(0),l=s(1),f=s(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.setModified=function(u,h,d,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),d&&u.parent&&r.setModified(u.parent,h,d,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,d,c)}},r.add=function(u,h){var d=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<d.length;c++){var p=d[c];switch(p.type){case"body":if(p.parent!==p){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,p);break;case"constraint":r.addConstraint(u,p);break;case"composite":r.addComposite(u,p);break;case"mouseConstraint":r.addConstraint(u,p.constraint);break}}return i.trigger(u,"afterAdd",{object:h}),u},r.remove=function(u,h,d){var c=[].concat(h);i.trigger(u,"beforeRemove",{object:h});for(var p=0;p<c.length;p++){var g=c[p];switch(g.type){case"body":r.removeBody(u,g,d);break;case"constraint":r.removeConstraint(u,g,d);break;case"composite":r.removeComposite(u,g,d);break;case"mouseConstraint":r.removeConstraint(u,g.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,d){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,d){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,d){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],h,!0);return u},r.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,h,d){if(d)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(p){return p.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,r.setModified(u,!0,!0,!1),u},r.allBodies=function(u){if(u.cache&&u.cache.allBodies)return u.cache.allBodies;for(var h=[].concat(u.bodies),d=0;d<u.composites.length;d++)h=h.concat(r.allBodies(u.composites[d]));return u.cache&&(u.cache.allBodies=h),h},r.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var h=[].concat(u.constraints),d=0;d<u.composites.length;d++)h=h.concat(r.allConstraints(u.composites[d]));return u.cache&&(u.cache.allConstraints=h),h},r.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var h=[].concat(u.composites),d=0;d<u.composites.length;d++)h=h.concat(r.allComposites(u.composites[d]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,d){var c,p;switch(d){case"body":c=r.allBodies(u);break;case"constraint":c=r.allConstraints(u);break;case"composite":c=r.allComposites(u).concat(u);break}return c?(p=c.filter(function(g){return g.id.toString()===h.toString()}),p.length===0?null:p[0]):null},r.move=function(u,h,d){return r.remove(u,h),r.add(d,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<h.length;d++)h[d].id=a.nextId();return u},r.translate=function(u,h,d){for(var c=d?r.allBodies(u):u.bodies,p=0;p<c.length;p++)f.translate(c[p],h);return u},r.rotate=function(u,h,d,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,w=0;w<v.length;w++){var E=v[w],y=E.position.x-d.x,_=E.position.y-d.y;f.setPosition(E,{x:d.x+(y*p-_*g),y:d.y+(y*g+_*p)}),f.rotate(E,h)}return u},r.scale=function(u,h,d,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var w=g[v],E=w.position.x-c.x,y=w.position.y-c.y;f.setPosition(w,{x:c.x+E*h,y:c.y+y*d}),f.scale(w,h,d)}return u},r.bounds=function(u){for(var h=r.allBodies(u),d=[],c=0;c<h.length;c+=1){var p=h[c];d.push(p.bounds.min,p.bounds.max)}return l.create(d)}})()},function(n,o,s){var r={};n.exports=r;var i=s(4),a=s(5),l=s(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(f,u){for(var h=u/l._baseDelta,d=r._motionSleepThreshold,c=0;c<f.length;c++){var p=f[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),w=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var E=Math.min(p.motion,w),y=Math.max(p.motion,w);p.motion=r._minBias*E+(1-r._minBias)*y,p.sleepThreshold>0&&p.motion<d?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;h<f.length;h++){var d=f[h];if(d.isActive){var c=d.collision,p=c.bodyA.parent,g=c.bodyB.parent;if(!(p.isSleeping&&g.isSleeping||p.isStatic||g.isStatic)&&(p.isSleeping||g.isSleeping)){var v=p.isSleeping&&!p.isStatic?p:g,w=v===p?g:p;!v.isStatic&&w.motion>u&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.id<d.id?h:d,g.bodyB=h.id<d.id?d:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,d=g.bodyB;var v;f.overlap<u.overlap?v=f:v=u;var w=g.normal,E=g.supports,y=v.axis,_=y.x,m=y.y;_*(d.position.x-h.position.x)+m*(d.position.y-h.position.y)<0?(w.x=_,w.y=m):(w.x=-_,w.y=-m),g.tangent.x=-w.y,g.tangent.y=w.x,g.depth=v.overlap,g.penetration.x=w.x*g.depth,g.penetration.y=w.y*g.depth;var x=r._findSupports(h,d,w,1),S=0;if(i.contains(h.vertices,x[0])&&(E[S++]=x[0]),i.contains(h.vertices,x[1])&&(E[S++]=x[1]),S<2){var b=r._findSupports(d,h,w,-1);i.contains(d.vertices,b[0])&&(E[S++]=b[0]),S<2&&i.contains(d.vertices,b[1])&&(E[S++]=b[1])}return S===0&&(E[S++]=x[0]),E.length=S,g},r._overlapAxes=function(h,d,c,p){var g=d.length,v=c.length,w=d[0].x,E=d[0].y,y=c[0].x,_=c[0].y,m=p.length,x=Number.MAX_VALUE,S=0,b,P,L,T,C,O;for(C=0;C<m;C++){var $=p[C],F=$.x,B=$.y,W=w*F+E*B,Y=y*F+_*B,oe=W,ue=Y;for(O=1;O<g;O+=1)T=d[O].x*F+d[O].y*B,T>oe?oe=T:T<W&&(W=T);for(O=1;O<v;O+=1)T=c[O].x*F+c[O].y*B,T>ue?ue=T:T<Y&&(Y=T);if(P=oe-Y,L=ue-W,b=P<L?P:L,b<x&&(x=b,S=C,b<=0))break}h.axis=p[S],h.overlap=x},r._projectToAxis=function(h,d,c){for(var p=d[0].x*c.x+d[0].y*c.y,g=p,v=1;v<d.length;v+=1){var w=d[v].x*c.x+d[v].y*c.y;w>g?g=w:w<p&&(p=w)}h.min=p,h.max=g},r._findSupports=function(h,d,c,p){var g=d.vertices,v=g.length,w=h.position.x,E=h.position.y,y=c.x*p,_=c.y*p,m=Number.MAX_VALUE,x,S,b,P,L;for(L=0;L<v;L+=1)S=g[L],P=y*(w-S.x)+_*(E-S.y),P<m&&(m=P,x=S);return b=g[(v+x.index-1)%v],m=y*(w-b.x)+_*(E-b.y),S=g[(x.index+1)%v],y*(w-S.x)+_*(E-S.y)<m?(l[0]=x,l[1]=S,l):(l[0]=x,l[1]=b,l)}})()},function(n,o,s){var r={};n.exports=r;var i=s(16);(function(){r.create=function(a,l){var f=a.bodyA,u=a.bodyB,h={id:r.id(f,u),bodyA:f,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:f.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,a,l),h},r.update=function(a,l,f){var u=a.contacts,h=l.supports,d=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=f,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+p.inverseMass,a.friction=c.friction<p.friction?c.friction:p.friction,a.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,d.length=0;for(var v=0;v<h.length;v++){var w=h[v],E=w.body===c?w.index:g+w.index,y=u[E];y?d.push(y):d.push(u[E]=i.create(w))}},r.setActive=function(a,l,f){l?(a.isActive=!0,a.timeUpdated=f):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(2),l=s(7),f=s(1),u=s(11),h=s(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.create=function(d){var c=d;c.bodyA&&!c.pointA&&(c.pointA={x:0,y:0}),c.bodyB&&!c.pointB&&(c.pointB={x:0,y:0});var p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var w={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(w.type="pin",w.anchors=!1):c.stiffness<.9&&(w.type="spring"),c.render=h.extend(w,c.render),c},r.preSolveAll=function(d){for(var c=0;c<d.length;c+=1){var p=d[c],g=p.constraintImpulse;p.isStatic||g.x===0&&g.y===0&&g.angle===0||(p.position.x+=g.x,p.position.y+=g.y,p.angle+=g.angle)}},r.solveAll=function(d,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<d.length;g+=1){var v=d[g],w=!v.bodyA||v.bodyA&&v.bodyA.isStatic,E=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(w||E)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)v=d[g],w=!v.bodyA||v.bodyA&&v.bodyA.isStatic,E=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!w&&!E&&r.solve(d[g],p)},r.solve=function(d,c){var p=d.bodyA,g=d.bodyB,v=d.pointA,w=d.pointB;if(!(!p&&!g)){p&&!p.isStatic&&(a.rotate(v,p.angle-d.angleA,v),d.angleA=p.angle),g&&!g.isStatic&&(a.rotate(w,g.angle-d.angleB,w),d.angleB=g.angle);var E=v,y=w;if(p&&(E=a.add(p.position,v)),g&&(y=a.add(g.position,w)),!(!E||!y)){var _=a.sub(E,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-d.length)/m,S=d.stiffness>=1||d.length===0,b=S?d.stiffness*c:d.stiffness*c*c,P=d.damping*c,L=a.mult(_,x*b),T=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=T+C,$,F,B,W,Y;if(P>0){var oe=a.create();B=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||oe,p&&a.sub(p.position,p.positionPrev)||oe),W=a.dot(B,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*B.x*W*F,p.positionPrev.y-=P*B.y*W*F),$=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=$,p.angle-=$),g&&!g.isStatic&&(F=g.inverseMass/T,g.constraintImpulse.x+=L.x*F,g.constraintImpulse.y+=L.y*F,g.position.x+=L.x*F,g.position.y+=L.y*F,P>0&&(g.positionPrev.x+=P*B.x*W*F,g.positionPrev.y+=P*B.y*W*F),$=a.cross(w,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=$,g.angle+=$)}}},r.postSolveAll=function(d){for(var c=0;c<d.length;c++){var p=d[c],g=p.constraintImpulse;if(!(p.isStatic||g.x===0&&g.y===0&&g.angle===0)){l.set(p,!1);for(var v=0;v<p.parts.length;v++){var w=p.parts[v];i.translate(w.vertices,g),v>0&&(w.position.x+=g.x,w.position.y+=g.y),g.angle!==0&&(i.rotate(w.vertices,g.angle,p.position),u.rotate(w.axes,g.angle),v>0&&a.rotateAbout(w.position,g.angle,p.position,w.position)),f.update(w.bounds,w.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.pointB.y:0)}}})()},function(n,o,s){var r={};n.exports=r;var i=s(2),a=s(0);(function(){r.fromVertices=function(l){for(var f={},u=0;u<l.length;u++){var h=(u+1)%l.length,d=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),f[c]=d}return a.values(f)},r.rotate=function(l,f){if(f!==0)for(var u=Math.cos(f),h=Math.sin(f),d=0;d<l.length;d++){var c=l[d],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(0),l=s(4),f=s(1),u=s(2);(function(){r.rectangle=function(h,d,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:d},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var w=g.chamfer;v.vertices=i.chamfer(v.vertices,w.radius,w.quality,w.qualityMin,w.qualityMax),delete g.chamfer}return l.create(a.extend({},v,g))},r.trapezoid=function(h,d,c,p,g,v){v=v||{},g*=.5;var w=(1-g*2)*c,E=c*g,y=E+w,_=y+E,m;g<.5?m="L 0 0 L "+E+" "+-p+" L "+y+" "+-p+" L "+_+" 0":m="L 0 0 L "+y+" "+-p+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:h,y:d},vertices:i.fromPath(m)};if(v.chamfer){var S=v.chamfer;x.vertices=i.chamfer(x.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete v.chamfer}return l.create(a.extend({},x,v))},r.circle=function(h,d,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var w=Math.ceil(Math.max(10,Math.min(g,c)));return w%2===1&&(w+=1),r.polygon(h,d,w,c,a.extend({},v,p))},r.polygon=function(h,d,c,p,g){if(g=g||{},c<3)return r.circle(h,d,p,g);for(var v=2*Math.PI/c,w="",E=v*.5,y=0;y<c;y+=1){var _=E+y*v,m=Math.cos(_)*p,x=Math.sin(_)*p;w+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var S={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(w)};if(g.chamfer){var b=g.chamfer;S.vertices=i.chamfer(S.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete g.chamfer}return l.create(a.extend({},S,g))},r.fromVertices=function(h,d,c,p,g,v,w,E){var y=a.getDecomp(),_,m,x,S,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,w=typeof w<"u"?w:10,E=typeof E<"u"?E:.01,a.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(P=c[O],S=i.isConvex(P),b=!S,b&&!_&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),S||!_)S?P=i.clockwiseSort(P):P=i.hull(P),x.push({position:{x:h,y:d},vertices:P});else{var F=P.map(function(fe){return[fe.x,fe.y]});y.makeCCW(F),v!==!1&&y.removeCollinearPoints(F,v),E!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints(F,E);var B=y.quickDecomp(F);for(L=0;L<B.length;L++){var W=B[L],Y=W.map(function(fe){return{x:fe[0],y:fe[1]}});w>0&&i.area(Y)<w||x.push({position:i.centre(Y),vertices:Y})}}for(L=0;L<x.length;L++)x[L]=l.create(a.extend(x[L],p));if(g){var oe=5;for(L=0;L<x.length;L++){var ue=x[L];for(T=L+1;T<x.length;T++){var ce=x[T];if(f.overlaps(ue.bounds,ce.bounds)){var ne=ue.vertices,Ce=ce.vertices;for(C=0;C<ue.vertices.length;C++)for($=0;$<ce.vertices.length;$++){var _e=u.magnitudeSquared(u.sub(ne[(C+1)%ne.length],Ce[$])),Fe=u.magnitudeSquared(u.sub(ne[C],Ce[($+1)%Ce.length]));_e<oe&&Fe<oe&&(ne[C].isInternal=!0,Ce[$].isInternal=!0)}}}}}return x.length>1?(m=l.create(a.extend({parts:x.slice(0)},p)),l.setPosition(m,{x:h,y:d}),m):x[0]}})()},function(n,o,s){var r={};n.exports=r;var i=s(0),a=s(8);(function(){r.create=function(l){var f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<d;g++){var w=h[g],E=w.bounds,y=w.bounds.max.x,_=w.bounds.max.y,m=w.bounds.min.y,x=w.isStatic||w.isSleeping,S=w.parts.length,b=S===1;for(v=g+1;v<d;v++){var P=h[v],L=P.bounds;if(L.min.x>y)break;if(!(_<L.min.y||m>L.max.y)&&!(x&&(P.isStatic||P.isSleeping))&&c(w.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(b&&T===1){var C=p(w,P,u);C&&f.push(C)}else for(var O=S>1?1:0,$=T>1?1:0,F=O;F<S;F++)for(var B=w.parts[F],E=B.bounds,W=$;W<T;W++){var Y=P.parts[W],L=Y.bounds;if(!(E.min.x>L.max.x||E.max.x<L.min.x||E.max.y<L.min.y||E.min.y>L.max.y)){var C=p(B,Y,u);C&&f.push(C)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()},function(n,o,s){var r={};n.exports=r;var i=s(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},function(n,o,s){var r={};n.exports=r;var i=s(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f<u?i.warn("Plugin.register:",r.toString(l),"can not be downgraded to",r.toString(a)):a!==l&&i.warn("Plugin.register:",r.toString(a),"is already registered to different plugin object")}else r._registry[a.name]=a;return a},r.resolve=function(a){return r._registry[r.dependencyParse(a).name]},r.toString=function(a){return typeof a=="string"?a:(a.name||"anonymous")+"@"+(a.version||a.range||"0.0.0")},r.isPlugin=function(a){return a&&a.name&&a.version&&a.install},r.isUsed=function(a,l){return a.used.indexOf(l)>-1},r.isFor=function(a,l){var f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d<u.length;d+=1)if(u[d]!==a.name){var c=r.resolve(u[d]);if(!c){h.push("❌ "+u[d]);continue}r.isUsed(a,c.name)||(r.isFor(c,a)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(a)+"."),c._warned=!0),c.install?c.install(a):(i.warn("Plugin.use:",r.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+r.toString(c)),delete c._warned):h.push("✅ "+r.toString(c)),a.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(a,l){var f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),p=r.resolve(d);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()},function(n,o){var s={};n.exports=s,function(){s.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,o,s){var r={};n.exports=r;var i=s(7),a=s(18),l=s(13),f=s(19),u=s(5),h=s(6),d=s(10),c=s(0),p=s(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},w=c.extend(v,g);return w.world=g.world||h.create({label:"World"}),w.pairs=g.pairs||f.create(),w.detector=g.detector||l.create(),w.grid={buckets:[]},w.world.gravity=w.gravity,w.broadphase=w.grid,w.metrics={},w},r.update=function(g,v){var w=c.now(),E=g.world,y=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,S;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(E),L=h.allConstraints(E);for(E.isModified&&(l.setBodies(y,P),h.setModified(E,!1,!1,!0)),g.enableSleeping&&i.update(P,v),r._bodiesApplyGravity(P,g.gravity),v>0&&r._bodiesUpdate(P,v),d.preSolveAll(P),S=0;S<g.constraintIterations;S++)d.solveAll(L,v);d.postSolveAll(P),y.pairs=g.pairs;var T=l.collisions(y);f.update(_,T,x),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),S=0;S<g.positionIterations;S++)a.solvePosition(_.list,v,C);for(a.postSolvePosition(P),d.preSolveAll(P),S=0;S<g.constraintIterations;S++)d.solveAll(L,v);for(d.postSolveAll(P),a.preSolveVelocity(_.list),S=0;S<g.velocityIterations;S++)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()-w,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var w=h.allBodies(g.world),E=0;E<w.length;E++){var y=w[E];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(g){f.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,w=0;w<v;w++){var E=g[w];E.force.x=0,E.force.y=0,E.torque=0}},r._bodiesApplyGravity=function(g,v){var w=typeof v.scale<"u"?v.scale:.001,E=g.length;if(!(v.x===0&&v.y===0||w===0))for(var y=0;y<E;y++){var _=g[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*w,_.force.x+=_.mass*v.x*w)}},r._bodiesUpdate=function(g,v){for(var w=g.length,E=0;E<w;E++){var y=g[E];y.isStatic||y.isSleeping||p.update(y,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,w=0;w<v;w++)p.updateVelocities(g[w])}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(0),l=s(1);(function(){r._restingThresh=2,r._restingThreshTangent=Math.sqrt(6),r._positionDampen=.9,r._positionWarming=.8,r._frictionNormalMultiplier=5,r._frictionMaxStatic=Number.MAX_VALUE,r.preSolvePosition=function(f){var u,h,d,c=f.length;for(u=0;u<c;u++)h=f[u],h.isActive&&(d=h.activeContacts.length,h.collision.parentA.totalContacts+=d,h.collision.parentB.totalContacts+=d)},r.solvePosition=function(f,u,h){var d,c,p,g,v,w,E,y,_=r._positionDampen*(h||1),m=a.clamp(u/a._baseDelta,0,1),x=f.length;for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,w=p.normal,c.separation=w.x*(v.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+w.y*(v.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(d=0;d<x;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,w=p.normal,y=c.separation-c.slop*m,(g.isStatic||v.isStatic)&&(y*=2),g.isStatic||g.isSleeping||(E=_/g.totalContacts,g.positionImpulse.x+=w.x*y*E,g.positionImpulse.y+=w.y*y*E),v.isStatic||v.isSleeping||(E=_/v.totalContacts,v.positionImpulse.x-=w.x*y*E,v.positionImpulse.y-=w.y*y*E))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=l.update,p=0;p<h;p++){var g=f[p],v=g.positionImpulse,w=v.x,E=v.y,y=g.velocity;if(g.totalContacts=0,w!==0||E!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];d(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=w,m.position.y+=E}g.positionPrev.x+=w,g.positionPrev.y+=E,w*y.x+E*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(f){var u=f.length,h,d;for(h=0;h<u;h++){var c=f[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,w=v.parentA,E=v.parentB,y=v.normal,_=v.tangent;for(d=0;d<g;d++){var m=p[d],x=m.vertex,S=m.normalImpulse,b=m.tangentImpulse;if(S!==0||b!==0){var P=y.x*S+_.x*b,L=y.y*S+_.y*b;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)),E.isStatic||E.isSleeping||(E.positionPrev.x-=P*E.inverseMass,E.positionPrev.y-=L*E.inverseMass,E.anglePrev-=E.inverseInertia*((x.x-E.position.x)*L-(x.y-E.position.y)*P))}}}}},r.solveVelocity=function(f,u){var h=u/a._baseDelta,d=h*h,c=d*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,w=r._frictionMaxStatic,E=f.length,y,_,m,x;for(m=0;m<E;m++){var S=f[m];if(!(!S.isActive||S.isSensor)){var b=S.collision,P=b.parentA,L=b.parentB,T=P.velocity,C=L.velocity,O=b.normal.x,$=b.normal.y,F=b.tangent.x,B=b.tangent.y,W=S.activeContacts,Y=W.length,oe=1/Y,ue=P.inverseMass+L.inverseMass,ce=S.friction*S.frictionStatic*v;for(T.x=P.position.x-P.positionPrev.x,T.y=P.position.y-P.positionPrev.y,C.x=L.position.x-L.positionPrev.x,C.y=L.position.y-L.positionPrev.y,P.angularVelocity=P.angle-P.anglePrev,L.angularVelocity=L.angle-L.anglePrev,x=0;x<Y;x++){var ne=W[x],Ce=ne.vertex,_e=Ce.x-P.position.x,Fe=Ce.y-P.position.y,fe=Ce.x-L.position.x,V=Ce.y-L.position.y,q=T.x-Fe*P.angularVelocity,z=T.y+_e*P.angularVelocity,ee=C.x-V*L.angularVelocity,de=C.y+fe*L.angularVelocity,xe=q-ee,A=z-de,I=O*xe+$*A,D=F*xe+B*A,K=S.separation+I,U=Math.min(K,1);U=K<0?0:U;var X=U*ce;D<-X||D>X?(_=D>0?D:-D,y=S.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=w);var Q=_e*$-Fe*O,R=fe*$-V*O,k=oe/(ue+P.inverseInertia*Q*Q+L.inverseInertia*R*R),N=(1+S.restitution)*I*k;if(y*=k,I<p)ne.normalImpulse=0;else{var j=ne.normalImpulse;ne.normalImpulse+=N,ne.normalImpulse>0&&(ne.normalImpulse=0),N=ne.normalImpulse-j}if(D<-g||D>g)ne.tangentImpulse=0;else{var J=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-J}var G=O*N+F*y,M=$*N+B*y;P.isStatic||P.isSleeping||(P.positionPrev.x+=G*P.inverseMass,P.positionPrev.y+=M*P.inverseMass,P.anglePrev+=(_e*M-Fe*G)*P.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=M*L.inverseMass,L.anglePrev-=(fe*M-V*G)*L.inverseInertia)}}}}})()},function(n,o,s){var r={};n.exports=r;var i=s(9),a=s(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,f,u){var h=l.list,d=h.length,c=l.table,p=f.length,g=l.collisionStart,v=l.collisionEnd,w=l.collisionActive,E,y,_,m;for(g.length=0,v.length=0,w.length=0,m=0;m<d;m++)h[m].confirmedActive=!1;for(m=0;m<p;m++)E=f[m],_=E.pair,_?(_.isActive?w.push(_):g.push(_),i.update(_,E,u),_.confirmedActive=!0):(_=i.create(E,u),c[_.id]=_,g.push(_),h.push(_));var x=[];for(d=h.length,m=0;m<d;m++)_=h[m],_.confirmedActive||(i.setActive(_,!1,u),v.push(_),!_.collision.bodyA.isSleeping&&!_.collision.bodyB.isSleeping&&x.push(m));for(m=0;m<x.length;m++)y=x[m]-m,_=h[y],h.splice(y,1),delete c[_.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,o,s){var r=n.exports=s(21);r.Axes=s(11),r.Bodies=s(12),r.Body=s(4),r.Bounds=s(1),r.Collision=s(8),r.Common=s(0),r.Composite=s(6),r.Composites=s(22),r.Constraint=s(10),r.Contact=s(16),r.Detector=s(13),r.Engine=s(17),r.Events=s(5),r.Grid=s(23),r.Mouse=s(14),r.MouseConstraint=s(24),r.Pair=s(9),r.Pairs=s(19),r.Plugin=s(15),r.Query=s(25),r.Render=s(26),r.Resolver=s(18),r.Runner=s(27),r.SAT=s(28),r.Sleeping=s(7),r.Svg=s(29),r.Vector=s(2),r.Vertices=s(3),r.World=s(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,o,s){var r={};n.exports=r;var i=s(15),a=s(0);(function(){r.name="matter-js",r.version="0.19.0",r.uses=[],r.used=[],r.use=function(){i.use(r,Array.prototype.slice.call(arguments))},r.before=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,f)},r.after=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,f)}})()},function(n,o,s){var r={};n.exports=r;var i=s(6),a=s(10),l=s(0),f=s(4),u=s(12),h=l.deprecated;(function(){r.stack=function(d,c,p,g,v,w,E){for(var y=i.create({label:"Stack"}),_=d,m=c,x,S=0,b=0;b<g;b++){for(var P=0,L=0;L<p;L++){var T=E(_,m,L,b,x,S);if(T){var C=T.bounds.max.y-T.bounds.min.y,O=T.bounds.max.x-T.bounds.min.x;C>P&&(P=C),f.translate(T,{x:O*.5,y:C*.5}),_=T.bounds.max.x+v,i.addBody(y,T),x=T,S+=1}else _+=v}m+=P+w,_=d}return y},r.chain=function(d,c,p,g,v,w){for(var E=d.bodies,y=1;y<E.length;y++){var _=E[y-1],m=E[y],x=_.bounds.max.y-_.bounds.min.y,S=_.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:S*c,y:x*p},bodyB:m,pointB:{x:P*g,y:b*v}},T=l.extend(L,w);i.addConstraint(d,a.create(T))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,v){var w=d.bodies,E,y,_,m,x;for(E=0;E<p;E++){for(y=1;y<c;y++)_=w[y-1+E*c],m=w[y+E*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v)));if(E>0)for(y=0;y<c;y++)_=w[y+(E-1)*c],m=w[y+E*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(x=w[y-1+(E-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&y<c-1&&(x=w[y+1+(E-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,p,g,v,w,E){return r.stack(d,c,p,g,v,w,function(y,_,m,x,S,b){var P=Math.min(g,Math.ceil(p/2)),L=S?S.bounds.max.x-S.bounds.min.x:0;if(!(x>P)){x=P-x;var T=x,C=p-1-x;if(!(m<T||m>C)){b===1&&f.translate(S,{x:(m+(p%2===1?1:-1))*L,y:0});var O=S?m*L:0;return E(d+O+m*v,_,m,x,S,b)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var w=i.create({label:"Newtons Cradle"}),E=0;E<p;E++){var y=1.9,_=u.circle(d+E*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:d+E*(g*y),y:c},bodyB:_});i.addBody(w,_),i.addConstraint(w,m)}return w},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,v){var w=f.nextGroup(!0),E=20,y=-p*.5+E,_=p*.5-E,m=0,x=i.create({label:"Car"}),S=u.rectangle(d,c,p,g,{collisionFilter:{group:w},chamfer:{radius:g*.5},density:2e-4}),b=u.circle(d+y,c+m,v,{collisionFilter:{group:w},friction:.8}),P=u.circle(d+_,c+m,v,{collisionFilter:{group:w},friction:.8}),L=a.create({bodyB:S,pointB:{x:y,y:m},bodyA:b,stiffness:1,length:0}),T=a.create({bodyB:S,pointB:{x:_,y:m},bodyA:P,stiffness:1,length:0});return i.addBody(x,S),i.addBody(x,b),i.addBody(x,P),i.addConstraint(x,L),i.addConstraint(x,T),x},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,p,g,v,w,E,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(d,c,p,g,v,w,function(S,b){return u.circle(S,b,y,_)});return r.mesh(x,p,g,E,m),x.label="Soft Body",x},h(r,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,o,s){var r={};n.exports=r;var i=s(9),a=s(0),l=a.deprecated;(function(){r.create=function(f){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,f)},r.update=function(f,u,h,d){var c,p,g,v=h.world,w=f.buckets,E,y,_=!1;for(c=0;c<u.length;c++){var m=u[c];if(!(m.isSleeping&&!d)&&!(v.bounds&&(m.bounds.max.x<v.bounds.min.x||m.bounds.min.x>v.bounds.max.x||m.bounds.max.y<v.bounds.min.y||m.bounds.min.y>v.bounds.max.y))){var x=r._getRegion(f,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var S=r._regionUnion(x,m.region);for(p=S.startCol;p<=S.endCol;p++)for(g=S.startRow;g<=S.endRow;g++){y=r._getBucketId(p,g),E=w[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&&E&&r._bucketRemoveBody(f,E,m),(m.region===x||b&&!P||d)&&(E||(E=r._createBucket(w,y)),r._bucketAddBody(f,E,m))}m.region=x,_=!0}}}_&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var w=c(h,v),E=d[w];E?E[2]+=1:d[w]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=d[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=a.keys(h),c=d.length,p=[],g;for(g=0;g<c;g++)u=h[d[g]],u[2]>0?p.push(u):delete h[d[g]];return p}})()},function(n,o,s){var r={};n.exports=r;var i=s(3),a=s(7),l=s(14),f=s(5),u=s(13),h=s(10),d=s(6),c=s(0),p=s(1);(function(){r.create=function(g,v){var w=(g?g.mouse:null)||(v?v.mouse:null);w||(g&&g.render&&g.render.canvas?w=l.create(g.render.canvas):v&&v.element?w=l.create(v.element):(w=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var E=h.create({label:"Mouse Constraint",pointA:w.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:w,element:null,body:null,constraint:E,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return f.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var w=g.mouse,E=g.constraint,y=g.body;if(w.button===0){if(E.bodyB)a.set(E.bodyB,!1),E.pointA=w.position;else for(var _=0;_<v.length;_++)if(y=v[_],p.contains(y.bounds,w.position)&&u.canCollide(y.collisionFilter,g.collisionFilter))for(var m=y.parts.length>1?1:0;m<y.parts.length;m++){var x=y.parts[m];if(i.contains(x.vertices,w.position)){E.pointA=w.position,E.bodyB=g.body=y,E.pointB={x:w.position.x-y.position.x,y:w.position.y-y.position.y},E.angleB=y.angle,a.set(y,!1),f.trigger(g,"startdrag",{mouse:w,body:y});break}}}else E.bodyB=g.body=null,E.pointB=null,y&&f.trigger(g,"enddrag",{mouse:w,body:y})},r._triggerEvents=function(g){var v=g.mouse,w=v.sourceEvents;w.mousemove&&f.trigger(g,"mousemove",{mouse:v}),w.mousedown&&f.trigger(g,"mousedown",{mouse:v}),w.mouseup&&f.trigger(g,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,o,s){var r={};n.exports=r;var i=s(2),a=s(8),l=s(1),f=s(12),u=s(3);(function(){r.collides=function(h,d){for(var c=[],p=d.length,g=h.bounds,v=a.collides,w=l.overlaps,E=0;E<p;E++){var y=d[E],_=y.parts.length,m=_===1?0:1;if(w(y.bounds,g))for(var x=m;x<_;x++){var S=y.parts[x];if(w(S.bounds,g)){var b=v(S,h);if(b){c.push(b);break}}}}return c},r.ray=function(h,d,c,p){p=p||1e-100;for(var g=i.angle(d,c),v=i.magnitude(i.sub(d,c)),w=(c.x+d.x)*.5,E=(c.y+d.y)*.5,y=f.rectangle(w,E,v,p,{angle:g}),_=r.collides(y,h),m=0;m<_.length;m+=1){var x=_[m];x.body=x.bodyB=x.bodyA}return _},r.region=function(h,d,c){for(var p=[],g=0;g<h.length;g++){var v=h[g],w=l.overlaps(v.bounds,d);(w&&!c||!w&&c)&&p.push(v)}return p},r.point=function(h,d){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,d))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var w=g.parts[v];if(l.contains(w.bounds,d)&&u.contains(w.vertices,d)){c.push(g);break}}}return c}})()},function(n,o,s){var r={};n.exports=r;var i=s(4),a=s(0),l=s(6),f=s(1),u=s(5),h=s(2),d=s(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}},S=a.extend(x,m);return S.canvas&&(S.canvas.width=S.options.width||S.canvas.width,S.canvas.height=S.options.height||S.canvas.height),S.mouse=m.mouse,S.engine=m.engine,S.canvas=S.canvas||w(S.options.width,S.options.height),S.context=S.canvas.getContext("2d"),S.textures={},S.bounds=S.bounds||{min:{x:0,y:0},max:{x:S.canvas.width,y:S.canvas.height}},S.controller=r,S.options.showBroadphase=!1,S.options.pixelRatio!==1&&r.setPixelRatio(S,S.options.pixelRatio),a.isElement(S.element)&&S.element.appendChild(S.canvas),S},r.run=function(m){(function x(S){m.frameRequestId=c(x),g(m,S),r.world(m,S),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,S),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,S)})()},r.stop=function(m){p(m.frameRequestId)},r.setPixelRatio=function(m,x){var S=m.options,b=m.canvas;x==="auto"&&(x=E(b)),S.pixelRatio=x,b.setAttribute("data-pixel-ratio",x),b.width=S.width*x,b.height=S.height*x,b.style.width=S.width+"px",b.style.height=S.height+"px"},r.lookAt=function(m,x,S,b){b=typeof b<"u"?b:!0,x=a.isArray(x)?x:[x],S=S||{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*S.x,F=P.max.y-P.min.y+2*S.y,B=m.canvas.height,W=m.canvas.width,Y=W/B,oe=$/F,ue=1,ce=1;oe>Y?ce=oe/Y:ue=Y/oe,m.options.hasBounds=!0,m.bounds.min.x=P.min.x,m.bounds.max.x=P.min.x+$*ue,m.bounds.min.y=P.min.y,m.bounds.max.y=P.min.y+F*ce,b&&(m.bounds.min.x+=$*.5-$*ue*.5,m.bounds.max.x+=$*.5-$*ue*.5,m.bounds.min.y+=F*.5-F*ce*.5,m.bounds.max.y+=F*.5-F*ce*.5),m.bounds.min.x-=S.x,m.bounds.max.x-=S.x,m.bounds.min.y-=S.y,m.bounds.max.y-=S.y,m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),d.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var x=m.bounds.max.x-m.bounds.min.x,S=m.bounds.max.y-m.bounds.min.y,b=x/m.options.width,P=S/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 S=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),B=C.wireframes?C.wireframeBackground:C.background,W=[],Y=[],oe,ue={timestamp:b.timing.timestamp};if(u.trigger(m,"beforeRender",ue),m.currentBackground!==B&&_(m,B),T.globalCompositeOperation="source-in",T.fillStyle="transparent",T.fillRect(0,0,L.width,L.height),T.globalCompositeOperation="source-over",C.hasBounds){for(oe=0;oe<$.length;oe++){var ce=$[oe];f.overlaps(ce.bounds,m.bounds)&&W.push(ce)}for(oe=0;oe<F.length;oe++){var ne=F[oe],Ce=ne.bodyA,_e=ne.bodyB,Fe=ne.pointA,fe=ne.pointB;Ce&&(Fe=h.add(Ce.position,ne.pointA)),_e&&(fe=h.add(_e.position,ne.pointB)),!(!Fe||!fe)&&(f.contains(m.bounds,Fe)||f.contains(m.bounds,fe))&&Y.push(ne)}r.startViewTransform(m),m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.options.width,y:(m.bounds.max.y-m.bounds.min.y)/m.options.height}),d.setOffset(m.mouse,m.bounds.min))}else Y=F,W=$,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,W,T):(C.showConvexHulls&&r.bodyConvexHulls(m,W,T),r.bodyWireframes(m,W,T)),C.showBounds&&r.bodyBounds(m,W,T),(C.showAxes||C.showAngleIndicator)&&r.bodyAxes(m,W,T),C.showPositions&&r.bodyPositions(m,W,T),C.showVelocity&&r.bodyVelocity(m,W,T),C.showIds&&r.bodyIds(m,W,T),C.showSeparations&&r.separations(m,b.pairs.list,T),C.showCollisions&&r.collisions(m,b.pairs.list,T),C.showVertexNumbers&&r.vertexNumbers(m,W,T),C.showMousePosition&&r.mousePosition(m,m.mouse,T),r.constraints(Y,T),C.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",ue),O.lastElapsed=a.now()-S},r.stats=function(m,x,S){for(var b=m.engine,P=b.world,L=l.allBodies(P),T=0,C=55,O=44,$=0,F=0,B=0;B<L.length;B+=1)T+=L[B].parts.length;var W={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 W){var oe=W[Y];x.fillStyle="#aaa",x.fillText(Y,$+C,F+8),x.fillStyle="#eee",x.fillText(oe,$+C,F+26),$+=C}},r.performance=function(m,x){var S=m.engine,b=m.timing,P=b.deltaHistory,L=b.elapsedHistory,T=b.timestampElapsedHistory,C=b.engineDeltaHistory,O=b.engineElapsedHistory,$=S.timing.lastDelta,F=v(P),B=v(L),W=v(C),Y=v(O),oe=v(T),ue=oe/F||0,ce=1e3/F||0,ne=4,Ce=12,_e=60,Fe=34,fe=10,V=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Ce*4+_e*5+22,Fe),r.status(x,fe,V,_e,ne,P.length,Math.round(ce)+" fps",ce/r._goodFps,function(q){return P[q]/F-1}),r.status(x,fe+Ce+_e,V,_e,ne,C.length,$.toFixed(2)+" dt",r._goodDelta/$,function(q){return C[q]/W-1}),r.status(x,fe+(Ce+_e)*2,V,_e,ne,O.length,Y.toFixed(2)+" ut",1-Y/r._goodFps,function(q){return O[q]/Y-1}),r.status(x,fe+(Ce+_e)*3,V,_e,ne,L.length,B.toFixed(2)+" rt",1-B/r._goodFps,function(q){return L[q]/B-1}),r.status(x,fe+(Ce+_e)*4,V,_e,ne,T.length,ue.toFixed(2)+" x",ue*ue*ue,function(q){return(T[q]/P[q]/ue||0)-1})},r.status=function(m,x,S,b,P,L,T,C,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,S+7,b,1),m.beginPath(),m.moveTo(x,S+7-P*a.clamp(.4*O(0),-2,2));for(var $=0;$<b;$+=1)m.lineTo(x+$,S+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,S-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(T,x+b,S-5)},r.constraints=function(m,x){for(var S=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")S.beginPath(),S.arc(C.x,C.y,3,0,2*Math.PI),S.closePath();else{if(T?O=h.add(T.position,P.pointB):O=P.pointB,S.beginPath(),S.moveTo(C.x,C.y),P.render.type==="spring")for(var $=h.sub(O,C),F=h.perp(h.normalise($)),B=Math.ceil(a.clamp(P.length/5,12,20)),W,Y=1;Y<B;Y+=1)W=Y%2===0?1:-1,S.lineTo(C.x+$.x*(Y/B)+F.x*W*4,C.y+$.y*(Y/B)+F.y*W*4);S.lineTo(O.x,O.y)}P.render.lineWidth&&(S.lineWidth=P.render.lineWidth,S.strokeStyle=P.render.strokeStyle,S.stroke()),P.render.anchors&&(S.fillStyle=P.render.strokeStyle,S.beginPath(),S.arc(C.x,C.y,3,0,2*Math.PI),S.arc(O.x,O.y,3,0,2*Math.PI),S.closePath(),S.fill())}}},r.bodies=function(m,x,S){var b=S;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,B=y(m,F.texture);b.translate(C.position.x,C.position.y),b.rotate(C.angle),b.drawImage(B,B.width*-F.xOffset*F.xScale,B.height*-F.yOffset*F.yScale,B.width*F.xScale,B.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 W=1;W<C.vertices.length;W++)!C.vertices[W-1].isInternal||L?b.lineTo(C.vertices[W].x,C.vertices[W].y):b.moveTo(C.vertices[W].x,C.vertices[W].y),C.vertices[W].isInternal&&!L&&b.moveTo(C.vertices[(W+1)%C.vertices.length].x,C.vertices[(W+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,S){var b=S,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,S){var b=S,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,S){var b=S,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,S){var b=S;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,S){var b=S;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,S){var b=S;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 B=L.axes[O];b.moveTo(L.position.x,L.position.y),b.lineTo(L.position.x+B.x*20,L.position.y+B.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,S){var b=S;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,S){var b=S;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,S){var b=S,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,S){var b=S,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 B=L.activeContacts[0].vertex.x,W=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(B=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,W=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),T.bodyB===T.supports[0].body||T.bodyA.isStatic===!0?b.moveTo(B-T.normal.x*8,W-T.normal.y*8):b.moveTo(B+T.normal.x*8,W+T.normal.y*8),b.lineTo(B,W)}P.wireframes?b.strokeStyle="rgba(255,165,0,0.7)":b.strokeStyle="orange",b.lineWidth=1,b.stroke()},r.separations=function(m,x,S){var b=S,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 S=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<S.length;F++){var B=S[F].data;switch(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.9)",x.setLineDash([1,2]),B.type){case"body":L=B.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 W=B.pointA;B.bodyA&&(W=B.pointB),x.beginPath(),x.arc(W.x,W.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 S=m.engine,b=m.timing,P=b.historySize,L=S.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(S.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(S.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,S=0;S<m.length;S+=1)x+=m[S];return x/m.length||0},w=function(m,x){var S=document.createElement("canvas");return S.width=m,S.height=x,S.oncontextmenu=function(){return!1},S.onselectstart=function(){return!1},S},E=function(m){var x=m.getContext("2d"),S=window.devicePixelRatio||1,b=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return S/b},y=function(m,x){var S=m.textures[x];return S||(S=m.textures[x]=new Image,S.src=x,S)},_=function(m,x){var S=x;/(jpg|gif|png)$/.test(x)&&(S="url("+x+")"),m.canvas.style.background=S,m.canvas.style.backgroundSize="contain",m.currentBackground=x}})()},function(n,o,s){var r={};n.exports=r;var i=s(5),a=s(17),l=s(0);(function(){var f,u;if(typeof window<"u"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!f){var h;f=function(d){h=setTimeout(function(){d(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(d){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},p=l.extend(c,d);return p.delta=p.delta||1e3/p.fps,p.deltaMin=p.deltaMin||1e3/p.fps,p.deltaMax=p.deltaMax||1e3/(p.fps*.5),p.fps=1e3/p.delta,p},r.run=function(d,c){return typeof d.positionIterations<"u"&&(c=d,d=r.create()),function p(g){d.frameRequestId=f(p),g&&d.enabled&&r.tick(d,c,g)}(),d},r.tick=function(d,c,p){var g=c.timing,v;d.isFixed?v=d.delta:(v=p-d.timePrev||d.delta,d.timePrev=p,d.deltaHistory.push(v),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),v=Math.min.apply(null,d.deltaHistory),v=v<d.deltaMin?d.deltaMin:v,v=v>d.deltaMax?d.deltaMax:v,d.delta=v);var w={timestamp:g.timestamp};i.trigger(d,"beforeTick",w),d.frameCounter+=1,p-d.counterTimestamp>=1e3&&(d.fps=d.frameCounter*((p-d.counterTimestamp)/1e3),d.counterTimestamp=p,d.frameCounter=0),i.trigger(d,"tick",w),i.trigger(d,"beforeUpdate",w),a.update(c,v),i.trigger(d,"afterUpdate",w),i.trigger(d,"afterTick",w)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,o,s){var r={};n.exports=r;var i=s(8),a=s(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,o,s){var r={};n.exports=r,s(1);var i=s(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var f,u,h,d,c,p,g,v,w,E,y=[],_,m,x=0,S=0,b=0;l=l||15;var P=function(T,C,O){var $=O%2===1&&O>1;if(!w||T!=w.x||C!=w.y){w&&$?(_=w.x,m=w.y):(_=0,m=0);var F={x:_+T,y:m+C};($||!w)&&(w=F),y.push(F),S=_+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":S=T.x,b=T.y;break;case"H":S=T.x;break;case"V":b=T.y;break}P(S,b,T.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f<a.pathSegList.numberOfItems;f+=1)p.push(a.pathSegList.getItem(f));for(g=p.concat();x<h;){if(E=a.getPathSegAtLength(x),c=p[E],c!=v){for(;g.length&&g[0]!=c;)L(g.shift());v=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":d=a.getPointAtLength(x),P(d.x,d.y,0);break}x+=l}for(f=0,u=g.length;f<u;++f)L(g[f]);return y},r._svgPathToAbsolute=function(a){for(var l,f,u,h,d,c,p=a.pathSegList,g=0,v=0,w=p.numberOfItems,E=0;E<w;++E){var y=p.getItem(E),_=y.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in y&&(g=y.x),"y"in y&&(v=y.y);else switch("x1"in y&&(u=g+y.x1),"x2"in y&&(d=g+y.x2),"y1"in y&&(h=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(g+=y.x),"y"in y&&(v+=y.y),_){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),E);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),E);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),E);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),E);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,h,d,c),E);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,d,c),E);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,h),E);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),E);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),E);break;case"z":case"Z":g=l,v=f;break}(_=="M"||_=="m")&&(l=g,f=v)}}})()},function(n,o,s){var r={};n.exports=r;var i=s(6);s(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}()}])})})(Rd);var $t=Rd.exports;const kd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href,T1={key:0,class:"w-full h-full"},L1=["width","height"],R1={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"},k1={class:"text-sm"},A1={class:"text-xs"},I1={class:"flex justify-end mt-2 text-sm"},O1=Ye({__name:"Cookie",setup(e){const t=be(null),n=be(null),o=be(!0),s=be(0),r=be(0);let i=null;xt(async()=>{o.value=Ec(),s.value=f(),r.value=u(),Ec()&&(await hn(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){E1(),o.value=!1}function l(){S1(),o.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){s.value=f(),r.value=u()}function d(){if(!i){i=$t.Engine.create();let g=$t.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});$t.Render.run(g),$t.Runner.run($t.Runner.create(),i)}h()}function c(){if(b1("cookie"),!i)return;let g=$t.Bodies.circle(P1(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:kd,xScale:.08,yScale:.08}}});$t.Composite.add(i.world,[g]);const v=.02*g.mass;$t.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*Ld(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?$t.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const w=is;return Ee(),Je(w,null,{default:pn(()=>[te(o)?(Ee(),tt("div",T1,[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(s),height:te(r)},null,8,L1)],512),ie("div",R1,[ie("p",k1,ke(g.$t("cookie policy title")),1),ie("div",A1,[ie("span",null,[Bo(ke(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},ke(g.$t("cookie policy link")),1)])]),ie("div",I1,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},ke(g.$t("reject")),1),ie("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},ke(g.$t("accept")),1)])],512)])):ot("",!0)]),_:1})}}}),la=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},N1={},M1={class:"flex justify-center text-sm"},D1=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:kd,alt:"",class:"h-full w-full"})])],-1),F1={class:"flex-1 ml-2"},$1={class:"font-bold text-base"};function H1(e,t){return Ee(),tt("div",M1,[D1,ie("div",F1,[ie("p",$1,ke(e.$t("cookie.title")),1),ie("p",null,ke(e.$t("cookie.description")),1)])])}const B1=la(N1,[["render",H1]]),U1=""+new URL("future.Byi108RQ.png",import.meta.url).href,V1={},j1={class:"flex text-sm"},W1=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:U1,alt:"",class:"h-full w-full"})])],-1),K1={class:"flex-1 ml-2"},G1={class:"font-bold text-base"};function X1(e,t){return Ee(),tt("div",j1,[W1,ie("div",K1,[ie("p",G1,ke(e.$t("future.title")),1),ie("p",null,ke(e.$t("future.description")),1)])])}const Y1=la(V1,[["render",X1]]),q1="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",J1={},Q1={class:"flex text-sm"},z1=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:q1,alt:"",class:"h-full w-full dark:invert"})])],-1),Z1={class:"flex-1 ml-2"},ew={class:"font-bold text-base"};function tw(e,t){return Ee(),tt("div",Q1,[z1,ie("div",Z1,[ie("p",ew,ke(e.$t("something.title")),1),ie("p",null,ke(e.$t("something.description")),1)])])}const nw=la(J1,[["render",tw]]),rw=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,ow={class:"flex text-sm"},sw=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:rw,alt:"",class:"h-full w-full"})])],-1),iw={class:"flex-1 ml-2"},aw={class:"font-bold text-base"},lw={key:0},cw={key:1},uw=Ye({__name:"PictureBrightEgg",setup(e){const t=be(!1);return xt(()=>{t.value=aa().includes("picture-nolights")}),(n,o)=>{const s=is;return Ee(),Je(s,null,{default:pn(()=>[ie("div",ow,[sw,ie("div",iw,[ie("p",aw,ke(n.$t("bright.title")),1),te(t)?ot("",!0):(Ee(),tt("p",lw,ke(n.$t("bright.description")),1)),te(t)?(Ee(),tt("p",cw,ke(n.$t("bright_either.description")),1)):ot("",!0)])])]),_:1})}}}),fw=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,dw={class:"flex text-sm"},hw=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:fw,alt:"",class:"h-full w-full"})])],-1),pw={class:"flex-1 ml-2"},gw={class:"font-bold text-base"},mw={key:0},vw={key:1},yw=Ye({__name:"PictureNoLightEgg",setup(e){const t=be(!1);return xt(()=>{t.value=aa().includes("picture-bright")}),(n,o)=>{const s=is;return Ee(),Je(s,null,{default:pn(()=>[ie("div",dw,[hw,ie("div",pw,[ie("p",gw,ke(n.$t("dark.title")),1),te(t)?ot("",!0):(Ee(),tt("p",mw,ke(n.$t("dark.description")),1)),te(t)?(Ee(),tt("p",vw,ke(n.$t("dark_either.description")),1)):ot("",!0)])])]),_:1})}}}),_w={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},xw={class:"flex text-sm"},ww={class:"flex-1"},Ew={class:"mt-1 text-center"},Sw={key:0},bw={key:1},Cw=Ye({__name:"EastereggBanner",setup(e,{expose:t}){const n=be(!1),o=be(""),s=be(C1()),r=be(0);xt(()=>{r.value=Sc()});let i=null;function a(f){o.value=f,r.value=Sc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=B1,d=Y1,c=nw,p=uw,g=yw,v=is;return Ee(),Je(v,null,{default:pn(()=>[te(n)?(Ee(),tt("div",_w,[ie("div",{class:No(`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",xw,[ie("div",ww,[te(o)==="cookie"?(Ee(),Je(h,{key:0})):ot("",!0),te(o)==="future"?(Ee(),Je(d,{key:1})):ot("",!0),te(o)==="change-something"?(Ee(),Je(c,{key:2})):ot("",!0),te(o)==="picture-bright"?(Ee(),Je(p,{key:3})):ot("",!0),te(o)==="picture-nolights"?(Ee(),Je(g,{key:4})):ot("",!0),ie("div",Ew,[te(r)!=te(s)?(Ee(),tt("p",Sw,ke(te(r))+"/"+ke(te(s))+" "+ke(f.$t("easter eggs found")),1)):ot("",!0),te(r)===te(s)?(Ee(),tt("p",bw,ke(f.$t("all easter eggs found")),1)):ot("",!0)])])])],2)])):ot("",!0)]),_:1})}}});function Ad(){return localStorage.getItem("theme")??"dark"}function Pw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function Xw(){Pw(Ad()==="dark"?"light":"dark")}function Id(e){switch(e||(e=Ad()),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 Tw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},Lw={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},Rw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},kw={__name:"app",setup(e){const{locale:t}=ss(),n=be(),o=be(!1);return xt(()=>{Id(),document.addEventListener("easteregg",s=>{n.value.show(s.detail)}),o.value=!0}),dl({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),at(t,s=>{dl({htmlAttrs:{lang:s}})}),(s,r)=>{const i=p1,a=_1,l=O1,f=Cw;return te(o)?(Ee(),tt("div",Tw,[ie("div",Lw,[ie("div",Rw,[Ie(a,null,{default:pn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(f,{ref_key:"easteregg",ref:n},null,512)])):ot("",!0)}}};async function Od(e,t=Xe()){const{path:n,matched:o}=t.resolve(e);if(!o.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>Od(e,t));t._routePreloaded.add(n);const r=o.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(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}const Aw=(...e)=>e.find(t=>t!==void 0);function Iw(e){const t=e.componentName||"NuxtLink";function n(s,r){if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;if(typeof s=="string")return bc(s,e.trailingSlash);const i="path"in s&&s.path!==void 0?s.path:r(s).path;return{...s,name:void 0,path:bc(i,e.trailingSlash)}}function o(s){const r=Xe(),i=ct(),a=me(()=>!!s.target&&s.target!=="_self"),l=me(()=>{const g=s.to||s.href||"";return typeof g=="string"&&wt(g,{acceptRelative:!0})}),f=wa("RouterLink"),u=f&&typeof f!="string"?f.useLink:void 0,h=me(()=>{if(s.external)return!0;const g=s.to||s.href||"";return typeof g=="object"?!1:g===""||l.value}),d=me(()=>{const g=s.to||s.href||"";return h.value?g:n(g,r.resolve)}),c=h.value||u==null?void 0:u({...s,to:d}),p=me(()=>{var g;if(!d.value||l.value)return d.value;if(h.value){const v=typeof d.value=="object"&&"path"in d.value?ti(d.value):d.value,w=typeof v=="object"?r.resolve(v).href:v;return n(w,r.resolve)}return typeof d.value=="object"?((g=r.resolve(d.value))==null?void 0:g.href)??null:n(On(i.app.baseURL,d.value),r.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:h,href:p,isActive:(c==null?void 0:c.isActive)??me(()=>d.value===r.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??me(()=>d.value===r.currentRoute.value.path),route:(c==null?void 0:c.route)??me(()=>r.resolve(d.value)),async navigate(){await pf(p.value,{replace:s.replace,external:h.value||a.value})}}}return Ye({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(s,{slots:r}){const i=Xe(),{to:a,href:l,navigate:f,isExternal:u,hasTarget:h,isAbsoluteUrl:d}=o(s),c=be(!1),p=be(null),g=E=>{var y;p.value=s.custom?(y=E==null?void 0:E.$el)==null?void 0:y.nextElementSibling:E==null?void 0:E.$el};function v(E){var y,_;return!c.value&&(typeof s.prefetchOn=="string"?s.prefetchOn===E:((y=s.prefetchOn)==null?void 0:y[E])??((_=e.prefetchOn)==null?void 0:_[E]))&&(s.prefetch??e.prefetch)!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Mw()}async function w(E=ve()){if(c.value)return;c.value=!0;const y=typeof a.value=="string"?a.value:u.value?ti(a.value):i.resolve(a.value).fullPath;await Promise.all([E.hooks.callHook("link:prefetch",y).catch(()=>{}),!u.value&&!h.value&&Od(a.value,i).catch(()=>{})])}if(v("visibility")){const E=ve();let y,_=null;xt(()=>{const m=Nw();qo(()=>{y=ci(()=>{var x;(x=p==null?void 0:p.value)!=null&&x.tagName&&(_=m.observe(p.value,async()=>{_==null||_(),_=null,await w(E)}))})})}),Mr(()=>{y&&r0(y),_==null||_(),_=null})}return()=>{var _;if(!u.value&&!h.value){const m={ref:g,to:a.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom,onPointerenter:v("interaction")?w.bind(null,void 0):void 0,onFocus:v("interaction")?w.bind(null,void 0):void 0};return s.custom||(c.value&&(m.class=s.prefetchedClass||e.prefetchedClass),m.rel=s.rel||void 0),We(wa("RouterLink"),m,r.default)}const E=s.target||null,y=Aw(s.noRel?"":s.rel,e.externalRelAttribute,d.value||h.value?"noopener noreferrer":"")||null;return s.custom?r.default?r.default({href:l.value,navigate:f,get route(){if(!l.value)return;const m=new URL(l.value,window.location.href);return{path:m.pathname,fullPath:m.pathname,get query(){return ji(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:y,target:E,isExternal:u.value||h.value,isActive:!1,isExactActive:!1}):null:We("a",{ref:p,href:l.value||null,rel:y,target:E},(_=r.default)==null?void 0:_.call(r))}}})}const Ow=Iw(dm);function bc(e,t){const n=t==="append"?Tr:Fr;return wt(e)&&!e.startsWith("http")?e:n(e,!0)}function Nw(){const e=ve();if(e._observer)return e._observer;let t=null;const n=new Map,o=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const f=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&f&&f()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:o}}function Mw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Dw=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,Fw={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"}},$w={class:"text-2xl md:text-4xl text-center"},Hw=ie("img",{src:Dw,class:"mx-auto my-2",alt:""},null,-1),Bw=Ye({__name:"error",setup(e){const t=o1();return xt(()=>{Id()}),(n,o)=>{const s=Ow;return Ee(),tt("div",Fw,[ie("div",null,[ie("p",$w,ke(n.$t("wrong directions")),1),Hw,Ie(s,{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:pn(()=>[Bo(ke(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),Uw={key:0},Cc={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),o=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",o);Xe().beforeEach(l)}const s=!1;on($r,Wo()),n.hooks.callHookWith(l=>l.map(f=>f()),"vue:setup");const r=Ko(),i=!1;hu((l,f,u)=>{if(n.hooks.callHook("vue:error",l,f,u).catch(h=>console.error("[nuxt] Error in `vue:error` hook",h)),Hm(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Bn(l)),!1});const a=!1;return(l,f)=>(Ee(),Je(Bi,{onResolve:te(o)},{default:pn(()=>[te(i)?(Ee(),tt("div",Uw)):te(r)?(Ee(),Je(te(Bw),{key:1,error:te(r)},null,8,["error"])):te(a)?(Ee(),Je(te(t),{key:2,context:te(a)},null,8,["context"])):te(s)?(Ee(),Je($h(te(s)),{key:3})):(Ee(),Je(te(kw),{key:4}))]),_:1},8,["onResolve"]))}};let Pc;{let e;Pc=async function(){var i,a;if(e)return e;const o=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?ig(Cc):sg(Cc),s=mm({vueApp:o});async function r(l){await s.callHook("app:error",l),s.payload.error=s.payload.error||Go(l)}o.config.errorHandler=r;try{await _m(s,d1)}catch(l){r(l)}try{await s.hooks.callHook("app:created",o),await s.hooks.callHook("app:beforeMount",o),o.mount(pm),await s.hooks.callHook("app:mounted",o),await hn()}catch(l){r(l)}return o.config.errorHandler===r&&(o.config.errorHandler=void 0),o},e=Pc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Si as A,Xw as B,Id as C,s1 as D,Ow as E,Ge as F,o1 as G,Xe as H,la as _,Wo as a,b1 as b,Ee as c,Ye as d,tt as e,ie as f,Ad as g,te as h,ot as i,dl as j,me as k,at as l,Ie as m,pn as n,xt as o,Bo as p,Gw as q,be as r,Ww as s,ke as t,ss as u,Kw as v,Vw as w,jw as x,No as y,Je as z};