Files
notxia.github.io/_nuxt/B7xVbNuk.js
2024-09-04 13:27:50 +00:00

71 lines
337 KiB
JavaScript
Raw Blame History

const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./tMdnk4IJ.js","./Ue2r12FZ.js","./Dk58Vb6u.js","./about.Qgb6cIti.css","./jNqnsl6s.js","./oSXrvlBW.js","./Byq2AfCd.js","./CgqdVxdT.js","./resume.BPaN6Kc6.css"])))=>i.map(i=>d[i]);
/**
* @vue/shared v3.5.1
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function Ai(e,t){const n=new Set(e.split(","));return s=>n.has(s)}const Te={},Xn=[],$t=()=>{},zd=()=>!1,$r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ii=e=>e.startsWith("onUpdate:"),je=Object.assign,Oi=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Zd=Object.prototype.hasOwnProperty,Pe=(e,t)=>Zd.call(e,t),ae=Array.isArray,Yn=e=>Hr(e)==="[object Map]",Bc=e=>Hr(e)==="[object Set]",eh=e=>Hr(e)==="[object RegExp]",le=e=>typeof e=="function",Oe=e=>typeof e=="string",hn=e=>typeof e=="symbol",Re=e=>e!==null&&typeof e=="object",Uc=e=>(Re(e)||le(e))&&le(e.then)&&le(e.catch),Vc=Object.prototype.toString,Hr=e=>Vc.call(e),th=e=>Hr(e).slice(8,-1),jc=e=>Hr(e)==="[object Object]",Mi=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jn=Ai(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},nh=/-(\w)/g,kt=Bs(e=>e.replace(nh,(t,n)=>n?n.toUpperCase():"")),rh=/\B([A-Z])/g,Nn=Bs(e=>e.replace(rh,"-$1").toLowerCase()),Us=Bs(e=>e.charAt(0).toUpperCase()+e.slice(1)),vo=Bs(e=>e?`on${Us(e)}`:""),fn=(e,t)=>!Object.is(e,t),mr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Wc=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},sh=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Kc=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ea;const Gc=()=>Ea||(Ea=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ni(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Oe(s)?lh(s):Ni(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(Oe(e)||Re(e))return e}const oh=/;(?![^(]*\))/g,ih=/:([^]+)/,ah=/\/\*[^]*?\*\//g;function lh(e){const t={};return e.replace(ah,"").split(oh).forEach(n=>{if(n){const s=n.split(ih);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Vs(e){let t="";if(Oe(e))t=e;else if(ae(e))for(let n=0;n<e.length;n++){const s=Vs(e[n]);s&&(t+=s+" ")}else if(Re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const ch="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",uh=Ai(ch);function Xc(e){return!!e||e===""}const Yc=e=>!!(e&&e.__v_isRef===!0),ke=e=>Oe(e)?e:e==null?"":ae(e)||Re(e)&&(e.toString===Vc||!le(e.toString))?Yc(e)?ke(e.value):JSON.stringify(e,Jc,2):String(e),Jc=(e,t)=>Yc(t)?Jc(e,t.value):Yn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[yo(s,r)+" =>"]=o,n),{})}:Bc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>yo(n))}:hn(t)?yo(t):Re(t)&&!ae(t)&&!jc(t)?String(t):t,yo=(e,t="")=>{var n;return hn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.1
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ot;class qc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ot,!t&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Di(e){return new qc(e)}function js(){return ot}function Uo(e,t=!1){ot&&ot.cleanups.push(e)}let Le;const _o=new WeakSet;class Qc{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.nextEffect=void 0,this.cleanup=void 0,this.scheduler=void 0,ot&&ot.active&&ot.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,_o.has(this)&&(_o.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||(this.flags|=8,this.nextEffect=vr,vr=this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Sa(this),Zc(this);const t=Le,n=Lt;Le=this,Lt=!0;try{return this.fn()}finally{eu(this),Le=t,Lt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Hi(t);this.deps=this.depsTail=void 0,Sa(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?_o.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Vo(this)&&this.run()}get dirty(){return Vo(this)}}let zc=0,vr;function Fi(){zc++}function $i(){if(--zc>0)return;let e;for(;vr;){let t=vr;for(vr=void 0;t;){const n=t.nextEffect;if(t.nextEffect=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Zc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function eu(e){let t,n=e.depsTail;for(let s=n;s;s=s.prevDep)s.version===-1?(s===n&&(n=s.prevDep),Hi(s),fh(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0;e.deps=t,e.depsTail=n}function Vo(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&tu(t.dep.computed)===!1||t.dep.version!==t.version)return!0;return!!e._dirty}function tu(e){if(e.flags&2)return!1;if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cr))return;e.globalVersion=Cr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&!Vo(e)){e.flags&=-3;return}const n=Le,s=Lt;Le=e,Lt=!0;try{Zc(e);const o=e.fn();(t.version===0||fn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{Le=n,Lt=s,eu(e),e.flags&=-3}}function Hi(e){const{dep:t,prevSub:n,nextSub:s}=e;if(n&&(n.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=n,e.nextSub=void 0),t.subs===e&&(t.subs=n),!t.subs&&t.computed){t.computed.flags&=-5;for(let o=t.computed.deps;o;o=o.nextDep)Hi(o)}}function fh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Lt=!0;const nu=[];function pn(){nu.push(Lt),Lt=!1}function gn(){const e=nu.pop();Lt=e===void 0?!0:e}function Sa(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Le;Le=void 0;try{t()}finally{Le=n}}}let Cr=0;class Ws{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0}track(t){if(!Le||!Lt)return;let n=this.activeLink;if(n===void 0||n.sub!==Le)n=this.activeLink={dep:this,sub:Le,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},Le.deps?(n.prevDep=Le.depsTail,Le.depsTail.nextDep=n,Le.depsTail=n):Le.deps=Le.depsTail=n,Le.flags&4&&ru(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Le.depsTail,n.nextDep=void 0,Le.depsTail.nextDep=n,Le.depsTail=n,Le.deps===n&&(Le.deps=s)}return n}trigger(t){this.version++,Cr++,this.notify(t)}notify(t){Fi();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()}finally{$i()}}}function ru(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ru(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const vs=new WeakMap,An=Symbol(""),jo=Symbol(""),Pr=Symbol("");function tt(e,t,n){if(Lt&&Le){let s=vs.get(e);s||vs.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=new Ws),o.track()}}function Yt(e,t,n,s,o,r){const i=vs.get(e);if(!i){Cr++;return}let a=[];if(t==="clear")a=[...i.values()];else{const l=ae(e),h=l&&Mi(n);if(l&&n==="length"){const u=Number(s);i.forEach((f,d)=>{(d==="length"||d===Pr||!hn(d)&&d>=u)&&a.push(f)})}else{const u=f=>f&&a.push(f);switch(n!==void 0&&u(i.get(n)),h&&u(i.get(Pr)),t){case"add":l?h&&u(i.get("length")):(u(i.get(An)),Yn(e)&&u(i.get(jo)));break;case"delete":l||(u(i.get(An)),Yn(e)&&u(i.get(jo)));break;case"set":Yn(e)&&u(i.get(An));break}}}Fi();for(const l of a)l.trigger();$i()}function dh(e,t){var n;return(n=vs.get(e))==null?void 0:n.get(t)}function Hn(e){const t=we(e);return t===e?t:(tt(t,"iterate",Pr),Rt(e)?t:t.map(Ze))}function Ks(e){return tt(e=we(e),"iterate",Pr),e}const hh={__proto__:null,[Symbol.iterator](){return xo(this,Symbol.iterator,Ze)},concat(...e){return Hn(this).concat(...e.map(t=>ae(t)?Hn(t):t))},entries(){return xo(this,"entries",e=>(e[1]=Ze(e[1]),e))},every(e,t){return Ht(this,"every",e,t,void 0,arguments)},filter(e,t){return Ht(this,"filter",e,t,n=>n.map(Ze),arguments)},find(e,t){return Ht(this,"find",e,t,Ze,arguments)},findIndex(e,t){return Ht(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ht(this,"findLast",e,t,Ze,arguments)},findLastIndex(e,t){return Ht(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ht(this,"forEach",e,t,void 0,arguments)},includes(...e){return wo(this,"includes",e)},indexOf(...e){return wo(this,"indexOf",e)},join(e){return Hn(this).join(e)},lastIndexOf(...e){return wo(this,"lastIndexOf",e)},map(e,t){return Ht(this,"map",e,t,void 0,arguments)},pop(){return cr(this,"pop")},push(...e){return cr(this,"push",e)},reduce(e,...t){return Ca(this,"reduce",e,t)},reduceRight(e,...t){return Ca(this,"reduceRight",e,t)},shift(){return cr(this,"shift")},some(e,t){return Ht(this,"some",e,t,void 0,arguments)},splice(...e){return cr(this,"splice",e)},toReversed(){return Hn(this).toReversed()},toSorted(e){return Hn(this).toSorted(e)},toSpliced(...e){return Hn(this).toSpliced(...e)},unshift(...e){return cr(this,"unshift",e)},values(){return xo(this,"values",Ze)}};function xo(e,t,n){const s=Ks(e),o=s[t]();return s!==e&&!Rt(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.value&&(r.value=n(r.value)),r}),o}const ph=Array.prototype;function Ht(e,t,n,s,o,r){const i=Ks(e),a=i!==e&&!Rt(e),l=i[t];if(l!==ph[t]){const f=l.apply(e,r);return a?Ze(f):f}let h=n;i!==e&&(a?h=function(f,d){return n.call(this,Ze(f),d,e)}:n.length>2&&(h=function(f,d){return n.call(this,f,d,e)}));const u=l.call(i,h,s);return a&&o?o(u):u}function Ca(e,t,n,s){const o=Ks(e);let r=n;return o!==e&&(Rt(e)?n.length>3&&(r=function(i,a,l){return n.call(this,i,a,l,e)}):r=function(i,a,l){return n.call(this,i,Ze(a),l,e)}),o[t](r,...s)}function wo(e,t,n){const s=we(e);tt(s,"iterate",Pr);const o=s[t](...n);return(o===-1||o===!1)&&ji(n[0])?(n[0]=we(n[0]),s[t](...n)):o}function cr(e,t,n=[]){pn(),Fi();const s=we(e)[t].apply(e,n);return $i(),gn(),s}const gh=Ai("__proto__,__v_isRef,__isVue"),su=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(hn));function mh(e){hn(e)||(e=String(e));const t=we(this);return tt(t,"has",e),t.hasOwnProperty(e)}class ou{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Rh:cu:r?lu:au).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=ae(t);if(!o){let l;if(i&&(l=hh[n]))return l;if(n==="hasOwnProperty")return mh}const a=Reflect.get(t,n,Ne(t)?t:s);return(hn(n)?su.has(n):gh(n))||(o||tt(t,"get",n),r)?a:Ne(a)?i&&Mi(n)?a:a.value:Re(a)?o?uu(a):mn(a):a}}class iu extends ou{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];if(!this._isShallow){const l=dn(r);if(!Rt(s)&&!dn(s)&&(r=we(r),s=we(s)),!ae(t)&&Ne(r)&&!Ne(s))return l?!1:(r.value=s,!0)}const i=ae(t)&&Mi(n)?Number(n)<t.length:Pe(t,n),a=Reflect.set(t,n,s,Ne(t)?t:o);return t===we(o)&&(i?fn(s,r)&&Yt(t,"set",n,s):Yt(t,"add",n,s)),a}deleteProperty(t,n){const s=Pe(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&Yt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!hn(n)||!su.has(n))&&tt(t,"has",n),s}ownKeys(t){return tt(t,"iterate",ae(t)?"length":An),Reflect.ownKeys(t)}}class vh extends ou{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const yh=new iu,_h=new vh,xh=new iu(!0);const Bi=e=>e,Gs=e=>Reflect.getPrototypeOf(e);function Yr(e,t,n=!1,s=!1){e=e.__v_raw;const o=we(e),r=we(t);n||(fn(t,r)&&tt(o,"get",t),tt(o,"get",r));const{has:i}=Gs(o),a=s?Bi:n?Wi:Ze;if(i.call(o,t))return a(e.get(t));if(i.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function Jr(e,t=!1){const n=this.__v_raw,s=we(n),o=we(e);return t||(fn(e,o)&&tt(s,"has",e),tt(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function qr(e,t=!1){return e=e.__v_raw,!t&&tt(we(e),"iterate",An),Reflect.get(e,"size",e)}function Pa(e,t=!1){!t&&!Rt(e)&&!dn(e)&&(e=we(e));const n=we(this);return Gs(n).has.call(n,e)||(n.add(e),Yt(n,"add",e,e)),this}function Ta(e,t,n=!1){!n&&!Rt(t)&&!dn(t)&&(t=we(t));const s=we(this),{has:o,get:r}=Gs(s);let i=o.call(s,e);i||(e=we(e),i=o.call(s,e));const a=r.call(s,e);return s.set(e,t),i?fn(t,a)&&Yt(s,"set",e,t):Yt(s,"add",e,t),this}function La(e){const t=we(this),{has:n,get:s}=Gs(t);let o=n.call(t,e);o||(e=we(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&Yt(t,"delete",e,void 0),r}function Ra(){const e=we(this),t=e.size!==0,n=e.clear();return t&&Yt(e,"clear",void 0,void 0),n}function Qr(e,t){return function(s,o){const r=this,i=r.__v_raw,a=we(i),l=t?Bi:e?Wi:Ze;return!e&&tt(a,"iterate",An),i.forEach((h,u)=>s.call(o,l(h),l(u),r))}}function zr(e,t,n){return function(...s){const o=this.__v_raw,r=we(o),i=Yn(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,h=o[e](...s),u=n?Bi:t?Wi:Ze;return!t&&tt(r,"iterate",l?jo:An),{next(){const{value:f,done:d}=h.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function wh(){const e={get(r){return Yr(this,r)},get size(){return qr(this)},has:Jr,add:Pa,set:Ta,delete:La,clear:Ra,forEach:Qr(!1,!1)},t={get(r){return Yr(this,r,!1,!0)},get size(){return qr(this)},has:Jr,add(r){return Pa.call(this,r,!0)},set(r,i){return Ta.call(this,r,i,!0)},delete:La,clear:Ra,forEach:Qr(!1,!0)},n={get(r){return Yr(this,r,!0)},get size(){return qr(this,!0)},has(r){return Jr.call(this,r,!0)},add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear"),forEach:Qr(!0,!1)},s={get(r){return Yr(this,r,!0,!0)},get size(){return qr(this,!0)},has(r){return Jr.call(this,r,!0)},add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear"),forEach:Qr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=zr(r,!1,!1),n[r]=zr(r,!0,!1),t[r]=zr(r,!1,!0),s[r]=zr(r,!0,!0)}),[e,n,t,s]}const[bh,Eh,Sh,Ch]=wh();function Ui(e,t){const n=t?e?Ch:Sh:e?Eh:bh;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(Pe(n,o)&&o in s?n:s,o,r)}const Ph={get:Ui(!1,!1)},Th={get:Ui(!1,!0)},Lh={get:Ui(!0,!1)};const au=new WeakMap,lu=new WeakMap,cu=new WeakMap,Rh=new WeakMap;function kh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ah(e){return e.__v_skip||!Object.isExtensible(e)?0:kh(th(e))}function mn(e){return dn(e)?e:Vi(e,!1,yh,Ph,au)}function Gt(e){return Vi(e,!1,xh,Th,lu)}function uu(e){return Vi(e,!0,_h,Lh,cu)}function Vi(e,t,n,s,o){if(!Re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Ah(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function In(e){return dn(e)?In(e.__v_raw):!!(e&&e.__v_isReactive)}function dn(e){return!!(e&&e.__v_isReadonly)}function Rt(e){return!!(e&&e.__v_isShallow)}function ji(e){return e?!!e.__v_raw:!1}function we(e){const t=e&&e.__v_raw;return t?we(t):e}function Ih(e){return Object.isExtensible(e)&&Wc(e,"__v_skip",!0),e}const Ze=e=>Re(e)?mn(e):e,Wi=e=>Re(e)?uu(e):e;function Ne(e){return e?e.__v_isRef===!0:!1}function Ee(e){return fu(e,!1)}function zn(e){return fu(e,!0)}function fu(e,t){return Ne(e)?e:new Oh(e,t)}class Oh{constructor(t,n){this.dep=new Ws,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:we(t),this._value=n?t:Ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Rt(t)||dn(t);t=s?t:we(t),fn(t,n)&&(this._rawValue=t,this._value=s?t:Ze(t),this.dep.trigger())}}function te(e){return Ne(e)?e.value:e}const Mh={get:(e,t,n)=>te(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Ne(o)&&!Ne(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function du(e){return In(e)?e:new Proxy(e,Mh)}class Nh{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Ws,{get:s,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Dh(e){return new Nh(e)}class Fh{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return dh(we(this._object),this._key)}}class $h{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function hu(e,t,n){return Ne(e)?e:le(e)?new $h(e):Re(e)&&arguments.length>1?Hh(e,t,n):Ee(e)}function Hh(e,t,n){const s=e[t];return Ne(s)?s:new Fh(e,t,n)}class Bh{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ws(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cr-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){Le!==this&&(this.flags|=16,this.dep.notify())}get value(){const t=this.dep.track();return tu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Uh(e,t,n=!1){let s,o;return le(e)?s=e:(s=e.get,o=e.set),new Bh(s,o,n)}const Zr={},ys=new WeakMap;let Ln;function Vh(e,t=!1,n=Ln){if(n){let s=ys.get(n);s||ys.set(n,s=[]),s.push(e)}}function jh(e,t,n=Te){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:a,call:l}=n,h=_=>o?_:Rt(_)||o===!1||o===0?Kt(_,1):Kt(_);let u,f,d,c,p=!1,g=!1;if(Ne(e)?(f=()=>e.value,p=Rt(e)):In(e)?(f=()=>h(e),p=!0):ae(e)?(g=!0,p=e.some(_=>In(_)||Rt(_)),f=()=>e.map(_=>{if(Ne(_))return _.value;if(In(_))return h(_);if(le(_))return l?l(_,2):_()})):le(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){pn();try{d()}finally{gn()}}const _=Ln;Ln=u;try{return l?l(e,3,[c]):e(c)}finally{Ln=_}}:f=$t,t&&o){const _=f,m=o===!0?1/0:o;f=()=>Kt(_(),m)}const v=js(),w=()=>{u.stop(),v&&Oi(v.effects,u)};if(r)if(t){const _=t;t=(...m)=>{_(...m),w()}}else{const _=f;f=()=>{_(),w()}}let b=g?new Array(e.length).fill(Zr):Zr;const y=_=>{if(!(!(u.flags&1)||!u.dirty&&!_))if(t){const m=u.run();if(o||p||(g?m.some((x,E)=>fn(x,b[E])):fn(m,b))){d&&d();const x=Ln;Ln=u;try{const E=[m,b===Zr?void 0:g&&b[0]===Zr?[]:b,c];l?l(t,3,E):t(...E),b=m}finally{Ln=x}}}else u.run()};return a&&a(y),u=new Qc(f),u.scheduler=i?()=>i(y,!1):y,c=_=>Vh(_,!1,u),d=u.onStop=()=>{const _=ys.get(u);if(_){if(l)l(_,4);else for(const m of _)m();ys.delete(u)}},t?s?y(!0):b=u.run():i?i(y.bind(null,!0),!0):u.run(),w.pause=u.pause.bind(u),w.resume=u.resume.bind(u),w.stop=w,w}function Kt(e,t=1/0,n){if(t<=0||!Re(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ne(e))Kt(e.value,t,n);else if(ae(e))for(let s=0;s<e.length;s++)Kt(e[s],t,n);else if(Bc(e)||Yn(e))e.forEach(s=>{Kt(s,t,n)});else if(jc(e)){for(const s in e)Kt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Kt(e[s],t,n)}return e}/**
* @vue/runtime-core v3.5.1
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Br(e,t,n,s){try{return s?e(...s):e()}catch(o){Ur(o,t,n)}}function At(e,t,n,s){if(le(e)){const o=Br(e,t,n,s);return o&&Uc(o)&&o.catch(r=>{Ur(r,t,n)}),o}if(ae(e)){const o=[];for(let r=0;r<e.length;r++)o.push(At(e[r],t,n,s));return o}}function Ur(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Te;if(t){let a=t.parent;const l=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,h)===!1)return}a=a.parent}if(r){pn(),Br(r,null,10,[e,l,h]),gn();return}}Wh(e,n,o,s,i)}function Wh(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}let Tr=!1,Wo=!1;const mt=[];let kn=0;const qn=[];let tn=null,jn=0;const pu=Promise.resolve();let Ki=null;function vn(e){const t=Ki||pu;return e?t.then(this?e.bind(this):e):t}function Kh(e){let t=Tr?kn+1:0,n=mt.length;for(;t<n;){const s=t+n>>>1,o=mt[s],r=Lr(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function Gi(e){if(!(e.flags&1)){const t=Lr(e),n=mt[mt.length-1];!n||!(e.flags&2)&&t>=Lr(n)?mt.push(e):mt.splice(Kh(t),0,e),e.flags&4||(e.flags|=1),gu()}}function gu(){!Tr&&!Wo&&(Wo=!0,Ki=pu.then(mu))}function Ko(e){ae(e)?qn.push(...e):tn&&e.id===-1?tn.splice(jn+1,0,e):e.flags&1||(qn.push(e),e.flags&4||(e.flags|=1)),gu()}function ka(e,t,n=Tr?kn+1:0){for(;n<mt.length;n++){const s=mt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;mt.splice(n,1),n--,s(),s.flags&=-2}}}function _s(e){if(qn.length){const t=[...new Set(qn)].sort((n,s)=>Lr(n)-Lr(s));if(qn.length=0,tn){tn.push(...t);return}for(tn=t,jn=0;jn<tn.length;jn++){const n=tn[jn];n.flags&8||n(),n.flags&=-2}tn=null,jn=0}}const Lr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mu(e){Wo=!1,Tr=!0;try{for(kn=0;kn<mt.length;kn++){const t=mt[kn];t&&!(t.flags&8)&&(Br(t,t.i,t.i?15:14),t.flags&=-2)}}finally{kn=0,mt.length=0,_s(),Tr=!1,Ki=null,(mt.length||qn.length)&&mu()}}let Ve=null,vu=null;function xs(e){const t=Ve;return Ve=e,vu=e&&e.type.__scopeId||null,t}function yn(e,t=Ve,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ja(-1);const r=xs(t);let i;try{i=e(...o)}finally{xs(r),s._d&&ja(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function rb(e,t){if(Ve===null)return e;const n=zs(Ve),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,a,l=Te]=t[o];r&&(le(r)&&(r={mounted:r,updated:r}),r.deep&&Kt(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Dt(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];r&&(a.oldValue=r[i].value);let l=a.dir[s];l&&(pn(),At(l,n,8,[e.el,a,e,t]),gn())}}const Gh=Symbol("_vte"),yu=e=>e.__isTeleport,nn=Symbol("_leaveCb"),es=Symbol("_enterCb");function Xh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wt(()=>{e.isMounted=!0}),Vr(()=>{e.isUnmounting=!0}),e}const vt=[Function,Array],_u={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vt,onEnter:vt,onAfterEnter:vt,onEnterCancelled:vt,onBeforeLeave:vt,onLeave:vt,onAfterLeave:vt,onLeaveCancelled:vt,onBeforeAppear:vt,onAppear:vt,onAfterAppear:vt,onAppearCancelled:vt},xu=e=>{const t=e.subTree;return t.component?xu(t.component):t},Yh={name:"BaseTransition",props:_u,setup(e,{slots:t}){const n=Dn(),s=Xh();return()=>{const o=t.default&&Eu(t.default(),!0);if(!o||!o.length)return;const r=wu(o),i=we(e),{mode:a}=i;if(s.isLeaving)return bo(r);const l=Aa(r);if(!l)return bo(r);let h=Go(l,i,s,n,d=>h=d);l.type!==Ue&&Rr(l,h);const u=n.subTree,f=u&&Aa(u);if(f&&f.type!==Ue&&!Pt(l,f)&&xu(n).type!==Ue){const d=Go(f,i,s,n);if(Rr(f,d),a==="out-in"&&l.type!==Ue)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update()},bo(r);a==="in-out"&&l.type!==Ue&&(d.delayLeave=(c,p,g)=>{const v=bu(s,f);v[String(f.key)]=f,c[nn]=()=>{p(),c[nn]=void 0,delete h.delayedLeave},h.delayedLeave=g})}return r}}};function wu(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ue){t=n;break}}return t}const Jh=Yh;function bu(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Go(e,t,n,s,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:h,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:c,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:v,onAppear:w,onAfterAppear:b,onAppearCancelled:y}=t,_=String(e.key),m=bu(n,e),x=(P,L)=>{P&&At(P,s,9,L)},E=(P,L)=>{const T=L[1];x(P,L),ae(P)?P.every(C=>C.length<=1)&&T():P.length<=1&&T()},S={mode:i,persisted:a,beforeEnter(P){let L=l;if(!n.isMounted)if(r)L=v||l;else return;P[nn]&&P[nn](!0);const T=m[_];T&&Pt(e,T)&&T.el[nn]&&T.el[nn](),x(L,[P])},enter(P){let L=h,T=u,C=f;if(!n.isMounted)if(r)L=w||h,T=b||u,C=y||f;else return;let O=!1;const F=P[es]=$=>{O||(O=!0,$?x(C,[P]):x(T,[P]),S.delayedLeave&&S.delayedLeave(),P[es]=void 0)};L?E(L,[P,F]):F()},leave(P,L){const T=String(e.key);if(P[es]&&P[es](!0),n.isUnmounting)return L();x(d,[P]);let C=!1;const O=P[nn]=F=>{C||(C=!0,L(),F?x(g,[P]):x(p,[P]),P[nn]=void 0,m[T]===e&&delete m[T])};m[T]=e,c?E(c,[P,O]):O()},clone(P){const L=Go(P,t,n,s,o);return o&&o(L),L}};return S}function bo(e){if(Xs(e))return e=Jt(e),e.children=null,e}function Aa(e){if(!Xs(e))return yu(e.type)&&e.children?wu(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&le(n.default))return n.default()}}function Rr(e,t){e.shapeFlag&6&&e.component?Rr(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Eu(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Ke?(i.patchFlag&128&&o++,s=s.concat(Eu(i.children,t,a))):(t||i.type!==Ue)&&s.push(a!=null?Jt(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function ze(e,t){return le(e)?je({name:e.name},t,{setup:e}):e}function Su(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ws(e,t,n,s,o=!1){if(ae(e)){e.forEach((c,p)=>ws(c,t&&(ae(t)?t[p]:t),n,s,o));return}if(ln(s)&&!o)return;const r=s.shapeFlag&4?zs(s.component):s.el,i=o?null:r,{i:a,r:l}=e,h=t&&t.r,u=a.refs===Te?a.refs={}:a.refs,f=a.setupState,d=f===Te?()=>!1:c=>Pe(f,c)&&!(Object.getOwnPropertyDescriptor(u,c)||Te).get;if(h!=null&&h!==l&&(Oe(h)?(u[h]=null,d(h)&&(f[h]=null)):Ne(h)&&(h.value=null)),le(l))Br(l,a,12,[i,u]);else{const c=Oe(l),p=Ne(l);if(c||p){const g=()=>{if(e.f){const v=c?d(l)?f[l]:u[l]:l.value;o?ae(v)&&Oi(v,r):ae(v)?v.includes(r)||v.push(r):c?(u[l]=[r],d(l)&&(f[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else c?(u[l]=i,d(l)&&(f[l]=i)):p&&(l.value=i,e.k&&(u[e.k]=i))};i?(g.id=-1,Je(g,n)):g()}}}let Ia=!1;const Bn=()=>{Ia||(console.error("Hydration completed but contains mismatches."),Ia=!0)},qh=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Qh=e=>e.namespaceURI.includes("MathML"),ts=e=>{if(e.nodeType===1){if(qh(e))return"svg";if(Qh(e))return"mathml"}},ns=e=>e.nodeType===8;function zh(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:h}}=e,u=(y,_)=>{if(!_.hasChildNodes()){n(null,y,_),_s(),_._vnode=y;return}f(_.firstChild,y,null,null,null),_s(),_._vnode=y},f=(y,_,m,x,E,S=!1)=>{S=S||!!_.dynamicChildren;const P=ns(y)&&y.data==="[",L=()=>g(y,_,m,x,E,P),{type:T,ref:C,shapeFlag:O,patchFlag:F}=_;let $=y.nodeType;_.el=y,F===-2&&(S=!1,_.dynamicChildren=null);let B=null;switch(T){case un:$!==3?_.children===""?(l(_.el=o(""),i(y),y),B=y):B=L():(y.data!==_.children&&(Bn(),y.data=_.children),B=r(y));break;case Ue:b(y)?(B=r(y),w(_.el=y.content.firstChild,y,m)):$!==8||P?B=L():B=r(y);break;case fs:if(P&&(y=r(y),$=y.nodeType),$===1||$===3){B=y;const j=!_.children.length;for(let Y=0;Y<_.staticCount;Y++)j&&(_.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 Ke:P?B=p(y,_,m,x,E,S):B=L();break;default:if(O&1)($!==1||_.type.toLowerCase()!==y.tagName.toLowerCase())&&!b(y)?B=L():B=d(y,_,m,x,E,S);else if(O&6){_.slotScopeIds=E;const j=i(y);if(P?B=v(y):ns(y)&&y.data==="teleport start"?B=v(y,y.data,"teleport end"):B=r(y),t(_,j,null,m,x,ts(j),S),ln(_)){let Y;P?(Y=Ie(Ke),Y.anchor=B?B.previousSibling:j.lastChild):Y=y.nodeType===3?qs(""):Ie("div"),Y.el=y,_.component.subTree=Y}}else O&64?$!==8?B=L():B=_.type.hydrate(y,_,m,x,E,S,e,c):O&128&&(B=_.type.hydrate(y,_,m,x,ts(i(y)),E,S,e,f))}return C!=null&&ws(C,null,x,_),B},d=(y,_,m,x,E,S)=>{S=S||!!_.dynamicChildren;const{type:P,props:L,patchFlag:T,shapeFlag:C,dirs:O,transition:F}=_,$=P==="input"||P==="option";if($||T!==-1){O&&Dt(_,null,m,"created");let B=!1;if(b(y)){B=Xu(x,F)&&m&&m.vnode.props&&m.vnode.props.appear;const Y=y.content.firstChild;B&&F.beforeEnter(Y),w(Y,y,m),_.el=y=Y}if(C&16&&!(L&&(L.innerHTML||L.textContent))){let Y=c(y.firstChild,_,y,m,x,E,S);for(;Y;){rs(y,1)||Bn();const se=Y;Y=Y.nextSibling,a(se)}}else C&8&&y.textContent!==_.children&&(rs(y,0)||Bn(),y.textContent=_.children);if(L){if($||!S||T&48){const Y=y.tagName.includes("-");for(const se in L)($&&(se.endsWith("value")||se==="indeterminate")||$r(se)&&!Jn(se)||se[0]==="."||Y)&&s(y,se,null,L[se],void 0,m)}else if(L.onClick)s(y,"onClick",null,L.onClick,void 0,m);else if(T&4&&In(L.style))for(const Y in L.style)L.style[Y]}let j;(j=L&&L.onVnodeBeforeMount)&&lt(j,m,_),O&&Dt(_,null,m,"beforeMount"),((j=L&&L.onVnodeMounted)||O||B)&&Zu(()=>{j&&lt(j,m,_),B&&F.enter(y),O&&Dt(_,null,m,"mounted")},x)}return y.nextSibling},c=(y,_,m,x,E,S,P)=>{P=P||!!_.dynamicChildren;const L=_.children,T=L.length;for(let C=0;C<T;C++){const O=P?L[C]:L[C]=gt(L[C]),F=O.type===un;y?(F&&!P&&C+1<T&&gt(L[C+1]).type===un&&(l(o(y.data.slice(O.children.length)),m,r(y)),y.data=O.children),y=f(y,O,x,E,S,P)):F&&!O.children?l(O.el=o(""),m):(rs(m,1)||Bn(),n(null,O,m,null,x,E,ts(m),S))}return y},p=(y,_,m,x,E,S)=>{const{slotScopeIds:P}=_;P&&(E=E?E.concat(P):P);const L=i(y),T=c(r(y),_,L,m,x,E,S);return T&&ns(T)&&T.data==="]"?r(_.anchor=T):(Bn(),l(_.anchor=h("]"),L,T),T)},g=(y,_,m,x,E,S)=>{if(rs(y.parentElement,1)||Bn(),_.el=null,S){const T=v(y);for(;;){const C=r(y);if(C&&C!==T)a(C);else break}}const P=r(y),L=i(y);return a(y),n(null,_,L,P,m,x,ts(L),E),P},v=(y,_="[",m="]")=>{let x=0;for(;y;)if(y=r(y),y&&ns(y)&&(y.data===_&&x++,y.data===m)){if(x===0)return r(y);x--}return y},w=(y,_,m)=>{const x=_.parentNode;x&&x.replaceChild(y,_);let E=m;for(;E;)E.vnode.el===_&&(E.vnode.el=E.subTree.el=y),E=E.parent},b=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const Oa="data-allow-mismatch",Zh={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function rs(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Oa);)e=e.parentElement;const n=e&&e.getAttribute(Oa);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Zh[t])}}const ln=e=>!!e.type.__asyncLoader,Xs=e=>e.type.__isKeepAlive,ep={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Dn(),s=n.ctx;if(!s.renderer)return()=>{const b=t.default&&t.default();return b&&b.length===1?b[0]:b};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:h,um:u,o:{createElement:f}}}=s,d=f("div");s.activate=(b,y,_,m,x)=>{const E=b.component;h(b,y,_,0,a),l(E.vnode,b,y,_,E,a,m,b.slotScopeIds,x),Je(()=>{E.isDeactivated=!1,E.a&&mr(E.a);const S=b.props&&b.props.onVnodeMounted;S&&lt(S,E.parent,b)},a)},s.deactivate=b=>{const y=b.component;Es(y.m),Es(y.a),h(b,d,null,1,a),Je(()=>{y.da&&mr(y.da);const _=b.props&&b.props.onVnodeUnmounted;_&&lt(_,y.parent,b),y.isDeactivated=!0},a)};function c(b){Eo(b),u(b,n,a,!0)}function p(b){o.forEach((y,_)=>{const m=ei(y.type);m&&!b(m)&&g(_)})}function g(b){const y=o.get(b);y&&(!i||!Pt(y,i))?c(y):i&&Eo(i),o.delete(b),r.delete(b)}dt(()=>[e.include,e.exclude],([b,y])=>{b&&p(_=>pr(b,_)),y&&p(_=>!pr(y,_))},{flush:"post",deep:!0});let v=null;const w=()=>{v!=null&&(Ss(n.subTree.type)?Je(()=>{o.set(v,ss(n.subTree))},n.subTree.suspense):o.set(v,ss(n.subTree)))};return wt(w),Lu(w),Vr(()=>{o.forEach(b=>{const{subTree:y,suspense:_}=n,m=ss(y);if(b.type===m.type&&b.key===m.key){Eo(m);const x=m.component.da;x&&Je(x,_);return}c(b)})}),()=>{if(v=null,!t.default)return null;const b=t.default(),y=b[0];if(b.length>1)return i=null,b;if(!er(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let _=ss(y);if(_.type===Ue)return i=null,_;const m=_.type,x=ei(ln(_)?_.type.__asyncResolved||{}:m),{include:E,exclude:S,max:P}=e;if(E&&(!x||!pr(E,x))||S&&x&&pr(S,x))return _.shapeFlag&=-257,i=_,y;const L=_.key==null?m:_.key,T=o.get(L);return _.el&&(_=Jt(_),y.shapeFlag&128&&(y.ssContent=_)),v=L,T?(_.el=T.el,_.component=T.component,_.transition&&Rr(_,_.transition),_.shapeFlag|=512,r.delete(L),r.add(L)):(r.add(L),P&&r.size>parseInt(P,10)&&g(r.values().next().value)),_.shapeFlag|=256,i=_,Ss(y.type)?y:_}}},tp=ep;function pr(e,t){return ae(e)?e.some(n=>pr(n,t)):Oe(e)?e.split(",").includes(t):eh(e)?(e.lastIndex=0,e.test(t)):!1}function Cu(e,t){Tu(e,"a",t)}function Pu(e,t){Tu(e,"da",t)}function Tu(e,t,n=Ge){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ys(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Xs(o.parent.vnode)&&np(s,t,n,o),o=o.parent}}function np(e,t,n,s){const o=Ys(t,e,s,!0);Xi(()=>{Oi(s[t],o)},n)}function Eo(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ss(e){return e.shapeFlag&128?e.ssContent:e}function Ys(e,t,n=Ge,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{pn();const a=jr(n),l=At(t,n,e,i);return a(),gn(),l});return s?o.unshift(r):o.push(r),r}}const qt=e=>(t,n=Ge)=>{(!Qs||e==="sp")&&Ys(e,(...s)=>t(...s),n)},rp=qt("bm"),wt=qt("m"),sp=qt("bu"),Lu=qt("u"),Vr=qt("bum"),Xi=qt("um"),op=qt("sp"),ip=qt("rtg"),ap=qt("rtc");function Ru(e,t=Ge){Ys("ec",e,t)}const ku="components";function Ma(e,t){return Iu(ku,e,!0,t)||e}const Au=Symbol.for("v-ndc");function lp(e){return Oe(e)?Iu(ku,e,!1)||e:e||Au}function Iu(e,t,n=!0,s=!1){const o=Ve||Ge;if(o){const r=o.type;{const a=ei(r,!1);if(a&&(a===t||a===kt(t)||a===Us(kt(t))))return r}const i=Na(o[e]||r[e],t)||Na(o.appContext[e],t);return!i&&s?r:i}}function Na(e,t){return e&&(e[t]||e[kt(t)]||e[Us(kt(t))])}function sb(e,t,n,s){let o;const r=n,i=ae(e);if(i||Oe(e)){const a=i&&In(e);a&&(e=Ks(e)),o=new Array(e.length);for(let l=0,h=e.length;l<h;l++)o[l]=t(a?Ze(e[l]):e[l],l,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,r)}else if(Re(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,r));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,h=a.length;l<h;l++){const u=a[l];o[l]=t(e[u],u,l,r)}}else o=[];return o}function ob(e,t,n={},s,o){if(Ve.ce||Ve.parent&&ln(Ve.parent)&&Ve.parent.ce)return ve(),qe(Ke,null,[Ie("slot",n,s)],64);let r=e[t];r&&r._c&&(r._d=!1),ve();const i=r&&Ou(r(n)),a=qe(Ke,{key:(n.key||i&&i.key||`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Ou(e){return e.some(t=>er(t)?!(t.type===Ue||t.type===Ke&&!Ou(t.children)):!0)?e:null}const Xo=e=>e?sf(e)?zs(e):Xo(e.parent):null,yr=je(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Xo(e.parent),$root:e=>Xo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yi(e),$forceUpdate:e=>e.f||(e.f=()=>{Gi(e.update)}),$nextTick:e=>e.n||(e.n=vn.bind(e.proxy)),$watch:e=>Rp.bind(e)}),So=(e,t)=>e!==Te&&!e.__isScriptSetup&&Pe(e,t),cp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=e;let h;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(So(s,t))return i[t]=1,s[t];if(o!==Te&&Pe(o,t))return i[t]=2,o[t];if((h=e.propsOptions[0])&&Pe(h,t))return i[t]=3,r[t];if(n!==Te&&Pe(n,t))return i[t]=4,n[t];Yo&&(i[t]=0)}}const u=yr[t];let f,d;if(u)return t==="$attrs"&&tt(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Te&&Pe(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,Pe(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return So(o,t)?(o[t]=n,!0):s!==Te&&Pe(s,t)?(s[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||e!==Te&&Pe(e,i)||So(t,i)||(a=r[0])&&Pe(a,i)||Pe(s,i)||Pe(yr,i)||Pe(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Da(e){return ae(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Yo=!0;function up(e){const t=Yi(e),n=e.proxy,s=e.ctx;Yo=!1,t.beforeCreate&&Fa(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:h,created:u,beforeMount:f,mounted:d,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy:w,beforeUnmount:b,destroyed:y,unmounted:_,render:m,renderTracked:x,renderTriggered:E,errorCaptured:S,serverPrefetch:P,expose:L,inheritAttrs:T,components:C,directives:O,filters:F}=t;if(h&&fp(h,s,null),i)for(const j in i){const Y=i[j];le(Y)&&(s[j]=Y.bind(n))}if(o){const j=o.call(n,n);Re(j)&&(e.data=mn(j))}if(Yo=!0,r)for(const j in r){const Y=r[j],se=le(Y)?Y.bind(n,n):le(Y.get)?Y.get.bind(n,n):$t,ue=!le(Y)&&le(Y.set)?Y.set.bind(n):$t,ce=ge({get:se,set:ue});Object.defineProperty(s,j,{enumerable:!0,configurable:!0,get:()=>ce.value,set:ne=>ce.value=ne})}if(a)for(const j in a)Mu(a[j],s,n,j);if(l){const j=le(l)?l.call(n):l;Reflect.ownKeys(j).forEach(Y=>{cn(Y,j[Y])})}u&&Fa(u,e,"c");function B(j,Y){ae(Y)?Y.forEach(se=>j(se.bind(n))):Y&&j(Y.bind(n))}if(B(rp,f),B(wt,d),B(sp,c),B(Lu,p),B(Cu,g),B(Pu,v),B(Ru,S),B(ap,x),B(ip,E),B(Vr,b),B(Xi,_),B(op,P),ae(L))if(L.length){const j=e.exposed||(e.exposed={});L.forEach(Y=>{Object.defineProperty(j,Y,{get:()=>n[Y],set:se=>n[Y]=se})})}else e.exposed||(e.exposed={});m&&e.render===$t&&(e.render=m),T!=null&&(e.inheritAttrs=T),C&&(e.components=C),O&&(e.directives=O),P&&Su(e)}function fp(e,t,n=$t){ae(e)&&(e=Jo(e));for(const s in e){const o=e[s];let r;Re(o)?"default"in o?r=et(o.from||s,o.default,!0):r=et(o.from||s):r=et(o),Ne(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Fa(e,t,n){At(ae(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mu(e,t,n,s){let o=s.includes(".")?qu(n,s):()=>n[s];if(Oe(e)){const r=t[e];le(r)&&dt(o,r)}else if(le(e))dt(o,e.bind(n));else if(Re(e))if(ae(e))e.forEach(r=>Mu(r,t,n,s));else{const r=le(e.handler)?e.handler.bind(n):t[e.handler];le(r)&&dt(o,r,e)}}function Yi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(h=>bs(l,h,i,!0)),bs(l,t,i)),Re(t)&&r.set(t,l),l}function bs(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&bs(e,r,n,!0),o&&o.forEach(i=>bs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=dp[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const dp={data:$a,props:Ha,emits:Ha,methods:gr,computed:gr,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:gr,directives:gr,watch:pp,provide:$a,inject:hp};function $a(e,t){return t?e?function(){return je(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function hp(e,t){return gr(Jo(e),Jo(t))}function Jo(e){if(ae(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function rt(e,t){return e?[...new Set([].concat(e,t))]:t}function gr(e,t){return e?je(Object.create(null),e,t):t}function Ha(e,t){return e?ae(e)&&ae(t)?[...new Set([...e,...t])]:je(Object.create(null),Da(e),Da(t??{})):t}function pp(e,t){if(!e)return t;if(!t)return e;const n=je(Object.create(null),e);for(const s in t)n[s]=rt(e[s],t[s]);return n}function Nu(){return{app:null,config:{isNativeTag:zd,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gp=0;function mp(e,t){return function(s,o=null){le(s)||(s=je({},s)),o!=null&&!Re(o)&&(o=null);const r=Nu(),i=new WeakSet,a=[];let l=!1;const h=r.app={_uid:gp++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:af,get config(){return r.config},set config(u){},use(u,...f){return i.has(u)||(u&&le(u.install)?(i.add(u),u.install(h,...f)):le(u)&&(i.add(u),u(h,...f))),h},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),h},component(u,f){return f?(r.components[u]=f,h):r.components[u]},directive(u,f){return f?(r.directives[u]=f,h):r.directives[u]},mount(u,f,d){if(!l){const c=h._ceVNode||Ie(s,o);return c.appContext=r,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(c,u):e(c,u,d),l=!0,h._container=u,u.__vue_app__=h,zs(c.component)}},onUnmount(u){a.push(u)},unmount(){l&&(At(a,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(u,f){return r.provides[u]=f,h},runWithContext(u){const f=On;On=h;try{return u()}finally{On=f}}};return h}}let On=null;function cn(e,t){if(Ge){let n=Ge.provides;const s=Ge.parent&&Ge.parent.provides;s===n&&(n=Ge.provides=Object.create(s)),n[e]=t}}function et(e,t,n=!1){const s=Ge||Ve;if(s||On){const o=On?On._context.provides:s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&le(t)?t.call(s&&s.proxy):t}}function Du(){return!!(Ge||Ve||On)}const Fu={},$u=()=>Object.create(Fu),Hu=e=>Object.getPrototypeOf(e)===Fu;function vp(e,t,n,s=!1){const o={},r=$u();e.propsDefaults=Object.create(null),Bu(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Gt(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function yp(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=we(o),[l]=e.propsOptions;let h=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Js(e.emitsOptions,d))continue;const c=t[d];if(l)if(Pe(r,d))c!==r[d]&&(r[d]=c,h=!0);else{const p=kt(d);o[p]=qo(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,h=!0)}}}else{Bu(e,t,o,r)&&(h=!0);let u;for(const f in a)(!t||!Pe(t,f)&&((u=Nn(f))===f||!Pe(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=qo(l,a,f,void 0,e,!0)):delete o[f]);if(r!==a)for(const f in r)(!t||!Pe(t,f))&&(delete r[f],h=!0)}h&&Yt(e.attrs,"set","")}function Bu(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Jn(l))continue;const h=t[l];let u;o&&Pe(o,u=kt(l))?!r||!r.includes(u)?n[u]=h:(a||(a={}))[u]=h:Js(e.emitsOptions,l)||(!(l in s)||h!==s[l])&&(s[l]=h,i=!0)}if(r){const l=we(n),h=a||Te;for(let u=0;u<r.length;u++){const f=r[u];n[f]=qo(o,l,f,h[f],e,!Pe(h,f))}}return i}function qo(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=Pe(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&le(l)){const{propsDefaults:h}=o;if(n in h)s=h[n];else{const u=jr(o);s=h[n]=l.call(null,t),u()}}else s=l;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Nn(n))&&(s=!0))}return s}const _p=new WeakMap;function Uu(e,t,n=!1){const s=n?_p:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!le(e)){const u=f=>{l=!0;const[d,c]=Uu(f,t,!0);je(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 Re(e)&&s.set(e,Xn),Xn;if(ae(r))for(let u=0;u<r.length;u++){const f=kt(r[u]);Ba(f)&&(i[f]=Te)}else if(r)for(const u in r){const f=kt(u);if(Ba(f)){const d=r[u],c=i[f]=ae(d)||le(d)?{type:d}:je({},d),p=c.type;let g=!1,v=!0;if(ae(p))for(let w=0;w<p.length;++w){const b=p[w],y=le(b)&&b.name;if(y==="Boolean"){g=!0;break}else y==="String"&&(v=!1)}else g=le(p)&&p.name==="Boolean";c[0]=g,c[1]=v,(g||Pe(c,"default"))&&a.push(f)}}const h=[i,a];return Re(e)&&s.set(e,h),h}function Ba(e){return e[0]!=="$"&&!Jn(e)}const Vu=e=>e[0]==="_"||e==="$stable",Ji=e=>ae(e)?e.map(gt):[gt(e)],xp=(e,t,n)=>{if(t._n)return t;const s=yn((...o)=>Ji(t(...o)),n);return s._c=!1,s},ju=(e,t,n)=>{const s=e._ctx;for(const o in e){if(Vu(o))continue;const r=e[o];if(le(r))t[o]=xp(o,r,s);else if(r!=null){const i=Ji(r);t[o]=()=>i}}},Wu=(e,t)=>{const n=Ji(t);e.slots.default=()=>n},Ku=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},wp=(e,t,n)=>{const s=e.slots=$u();if(e.vnode.shapeFlag&32){const o=t._;o?(Ku(s,t,n),n&&Wc(s,"_",o,!0)):ju(t,s)}else t&&Wu(e,t)},bp=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Te;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:Ku(o,t,n):(r=!t.$stable,ju(t,o)),i=t}else t&&(Wu(e,t),i={default:1});if(r)for(const a in o)!Vu(a)&&i[a]==null&&delete o[a]},Je=Zu;function Ep(e){return Gu(e)}function Sp(e){return Gu(e,zh)}function Gu(e,t){const n=Gc();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:h,setElementText:u,parentNode:f,nextSibling:d,setScopeId:c=$t,insertStaticContent:p}=e,g=(A,I,D,W=null,U=null,X=null,Q=void 0,R=null,k=!!I.dynamicChildren)=>{if(A===I)return;A&&!Pt(A,I)&&(W=V(A),ne(A,U,X,!0),A=null),I.patchFlag===-2&&(k=!1,I.dynamicChildren=null);const{type:M,ref:K,shapeFlag:J}=I;switch(M){case un:v(A,I,D,W);break;case Ue:w(A,I,D,W);break;case fs:A==null&&b(I,D,W,Q);break;case Ke:C(A,I,D,W,U,X,Q,R,k);break;default:J&1?m(A,I,D,W,U,X,Q,R,k):J&6?O(A,I,D,W,U,X,Q,R,k):(J&64||J&128)&&M.process(A,I,D,W,U,X,Q,R,k,ee)}K!=null&&U&&ws(K,A&&A.ref,X,I||A,!I)},v=(A,I,D,W)=>{if(A==null)s(I.el=a(I.children),D,W);else{const U=I.el=A.el;I.children!==A.children&&h(U,I.children)}},w=(A,I,D,W)=>{A==null?s(I.el=l(I.children||""),D,W):I.el=A.el},b=(A,I,D,W)=>{[A.el,A.anchor]=p(A.children,I,D,W,A.el,A.anchor)},y=({el:A,anchor:I},D,W)=>{let U;for(;A&&A!==I;)U=d(A),s(A,D,W),A=U;s(I,D,W)},_=({el:A,anchor:I})=>{let D;for(;A&&A!==I;)D=d(A),o(A),A=D;o(I)},m=(A,I,D,W,U,X,Q,R,k)=>{I.type==="svg"?Q="svg":I.type==="math"&&(Q="mathml"),A==null?x(I,D,W,U,X,Q,R,k):P(A,I,U,X,Q,R,k)},x=(A,I,D,W,U,X,Q,R)=>{let k,M;const{props:K,shapeFlag:J,transition:G,dirs:N}=A;if(k=A.el=i(A.type,X,K&&K.is,K),J&8?u(k,A.children):J&16&&S(A.children,k,null,W,U,Co(A,X),Q,R),N&&Dt(A,null,W,"created"),E(k,A,A.scopeId,Q,W),K){for(const re in K)re!=="value"&&!Jn(re)&&r(k,re,null,K[re],X,W);"value"in K&&r(k,"value",null,K.value,X),(M=K.onVnodeBeforeMount)&&lt(M,W,A)}N&&Dt(A,null,W,"beforeMount");const H=Xu(U,G);H&&G.beforeEnter(k),s(k,I,D),((M=K&&K.onVnodeMounted)||H||N)&&Je(()=>{M&&lt(M,W,A),H&&G.enter(k),N&&Dt(A,null,W,"mounted")},U)},E=(A,I,D,W,U)=>{if(D&&c(A,D),W)for(let X=0;X<W.length;X++)c(A,W[X]);if(U){let X=U.subTree;if(I===X||Ss(X.type)&&(X.ssContent===I||X.ssFallback===I)){const Q=U.vnode;E(A,Q,Q.scopeId,Q.slotScopeIds,U.parent)}}},S=(A,I,D,W,U,X,Q,R,k=0)=>{for(let M=k;M<A.length;M++){const K=A[M]=R?rn(A[M]):gt(A[M]);g(null,K,I,D,W,U,X,Q,R)}},P=(A,I,D,W,U,X,Q)=>{const R=I.el=A.el;let{patchFlag:k,dynamicChildren:M,dirs:K}=I;k|=A.patchFlag&16;const J=A.props||Te,G=I.props||Te;let N;if(D&&bn(D,!1),(N=G.onVnodeBeforeUpdate)&&lt(N,D,I,A),K&&Dt(I,A,D,"beforeUpdate"),D&&bn(D,!0),(J.innerHTML&&G.innerHTML==null||J.textContent&&G.textContent==null)&&u(R,""),M?L(A.dynamicChildren,M,R,D,W,Co(I,U),X):Q||Y(A,I,R,null,D,W,Co(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 oe=H[re],Me=J[oe],Be=G[oe];(Be!==Me||oe==="value")&&r(R,oe,Me,Be,U,D)}}k&1&&A.children!==I.children&&u(R,I.children)}else!Q&&M==null&&T(R,J,G,D,U);((N=G.onVnodeUpdated)||K)&&Je(()=>{N&&lt(N,D,I,A),K&&Dt(I,A,D,"updated")},W)},L=(A,I,D,W,U,X,Q)=>{for(let R=0;R<I.length;R++){const k=A[R],M=I[R],K=k.el&&(k.type===Ke||!Pt(k,M)||k.shapeFlag&70)?f(k.el):D;g(k,M,K,null,W,U,X,Q,!0)}},T=(A,I,D,W,U)=>{if(I!==D){if(I!==Te)for(const X in I)!Jn(X)&&!(X in D)&&r(A,X,I[X],null,U,W);for(const X in D){if(Jn(X))continue;const Q=D[X],R=I[X];Q!==R&&X!=="value"&&r(A,X,R,Q,U,W)}"value"in D&&r(A,"value",I.value,D.value,U)}},C=(A,I,D,W,U,X,Q,R,k)=>{const M=I.el=A?A.el:a(""),K=I.anchor=A?A.anchor:a("");let{patchFlag:J,dynamicChildren:G,slotScopeIds:N}=I;N&&(R=R?R.concat(N):N),A==null?(s(M,D,W),s(K,D,W),S(I.children||[],D,K,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)&&Yu(A,I,!0)):Y(A,I,D,K,U,X,Q,R,k)},O=(A,I,D,W,U,X,Q,R,k)=>{I.slotScopeIds=R,A==null?I.shapeFlag&512?U.ctx.activate(I,D,W,Q,k):F(I,D,W,U,X,Q,k):$(A,I,k)},F=(A,I,D,W,U,X,Q)=>{const R=A.component=Gp(A,W,U);if(Xs(A)&&(R.ctx.renderer=ee),Xp(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)},$=(A,I,D)=>{const W=I.component=A.component;if(Np(A,I,D))if(W.asyncDep&&!W.asyncResolved){j(W,I,D);return}else W.next=I,W.update();else I.el=A.el,W.vnode=I},B=(A,I,D,W,U,X,Q)=>{const R=()=>{if(A.isMounted){let{next:J,bu:G,u:N,parent:H,vnode:re}=A;{const nt=Ju(A);if(nt){J&&(J.el=re.el,j(A,J,Q)),nt.asyncDep.then(()=>{A.isUnmounted||R()});return}}let oe=J,Me;bn(A,!1),J?(J.el=re.el,j(A,J,Q)):J=re,G&&mr(G),(Me=J.props&&J.props.onVnodeBeforeUpdate)&&lt(Me,H,J,re),bn(A,!0);const Be=Po(A),We=A.subTree;A.subTree=Be,g(We,Be,f(We.el),V(We),A,U,X),J.el=Be.el,oe===null&&Qi(A,Be.el),N&&Je(N,U),(Me=J.props&&J.props.onVnodeUpdated)&&Je(()=>lt(Me,H,J,re),U)}else{let J;const{el:G,props:N}=I,{bm:H,m:re,parent:oe,root:Me,type:Be}=A,We=ln(I);if(bn(A,!1),H&&mr(H),!We&&(J=N&&N.onVnodeBeforeMount)&&lt(J,oe,I),bn(A,!0),G&&_e){const nt=()=>{A.subTree=Po(A),_e(G,A.subTree,A,U,null)};We?Be.__asyncHydrate(G,A,nt):nt()}else{Me.ce&&Me.ce._injectChildStyle(Be);const nt=A.subTree=Po(A);g(null,nt,D,W,A,U,X),I.el=nt.el}if(re&&Je(re,U),!We&&(J=N&&N.onVnodeMounted)){const nt=I;Je(()=>lt(J,oe,nt),U)}(I.shapeFlag&256||oe&&ln(oe.vnode)&&oe.vnode.shapeFlag&256)&&A.a&&Je(A.a,U),A.isMounted=!0,I=D=W=null}};A.scope.on();const k=A.effect=new Qc(R);A.scope.off();const M=A.update=k.run.bind(k),K=A.job=k.runIfDirty.bind(k);K.i=A,K.id=A.uid,k.scheduler=()=>Gi(K),bn(A,!0),M()},j=(A,I,D)=>{I.component=A;const W=A.vnode.props;A.vnode=I,A.next=null,yp(A,I.props,W,D),bp(A,I.children,D),pn(),ka(A),gn()},Y=(A,I,D,W,U,X,Q,R,k=!1)=>{const M=A&&A.children,K=A?A.shapeFlag:0,J=I.children,{patchFlag:G,shapeFlag:N}=I;if(G>0){if(G&128){ue(M,J,D,W,U,X,Q,R,k);return}else if(G&256){se(M,J,D,W,U,X,Q,R,k);return}}N&8?(K&16&&fe(M,U,X),J!==M&&u(D,J)):K&16?N&16?ue(M,J,D,W,U,X,Q,R,k):fe(M,U,X,!0):(K&8&&u(D,""),N&16&&S(J,D,W,U,X,Q,R,k))},se=(A,I,D,W,U,X,Q,R,k)=>{A=A||Xn,I=I||Xn;const M=A.length,K=I.length,J=Math.min(M,K);let G;for(G=0;G<J;G++){const N=I[G]=k?rn(I[G]):gt(I[G]);g(A[G],N,D,null,U,X,Q,R,k)}M>K?fe(A,U,X,!0,!1,J):S(I,D,W,U,X,Q,R,k,J)},ue=(A,I,D,W,U,X,Q,R,k)=>{let M=0;const K=I.length;let J=A.length-1,G=K-1;for(;M<=J&&M<=G;){const N=A[M],H=I[M]=k?rn(I[M]):gt(I[M]);if(Pt(N,H))g(N,H,D,null,U,X,Q,R,k);else break;M++}for(;M<=J&&M<=G;){const N=A[J],H=I[G]=k?rn(I[G]):gt(I[G]);if(Pt(N,H))g(N,H,D,null,U,X,Q,R,k);else break;J--,G--}if(M>J){if(M<=G){const N=G+1,H=N<K?I[N].el:W;for(;M<=G;)g(null,I[M]=k?rn(I[M]):gt(I[M]),D,H,U,X,Q,R,k),M++}}else if(M>G)for(;M<=J;)ne(A[M],U,X,!0),M++;else{const N=M,H=M,re=new Map;for(M=H;M<=G;M++){const pt=I[M]=k?rn(I[M]):gt(I[M]);pt.key!=null&&re.set(pt.key,M)}let oe,Me=0;const Be=G-H+1;let We=!1,nt=0;const $n=new Array(Be);for(M=0;M<Be;M++)$n[M]=0;for(M=N;M<=J;M++){const pt=A[M];if(Me>=Be){ne(pt,U,X,!0);continue}let Nt;if(pt.key!=null)Nt=re.get(pt.key);else for(oe=H;oe<=G;oe++)if($n[oe-H]===0&&Pt(pt,I[oe])){Nt=oe;break}Nt===void 0?ne(pt,U,X,!0):($n[Nt-H]=M+1,Nt>=nt?nt=Nt:We=!0,g(pt,I[Nt],D,null,U,X,Q,R,k),Me++)}const wa=We?Cp($n):Xn;for(oe=wa.length-1,M=Be-1;M>=0;M--){const pt=H+M,Nt=I[pt],ba=pt+1<K?I[pt+1].el:W;$n[M]===0?g(null,Nt,D,ba,U,X,Q,R,k):We&&(oe<0||M!==wa[oe]?ce(Nt,D,ba,2):oe--)}}},ce=(A,I,D,W,U=null)=>{const{el:X,type:Q,transition:R,children:k,shapeFlag:M}=A;if(M&6){ce(A.component.subTree,I,D,W);return}if(M&128){A.suspense.move(I,D,W);return}if(M&64){Q.move(A,I,D,ee);return}if(Q===Ke){s(X,I,D);for(let J=0;J<k.length;J++)ce(k[J],I,D,W);s(A.anchor,I,D);return}if(Q===fs){y(A,I,D);return}if(W!==2&&M&1&&R)if(W===0)R.beforeEnter(X),s(X,I,D),Je(()=>R.enter(X),U);else{const{leave:J,delayLeave:G,afterLeave:N}=R,H=()=>s(X,I,D),re=()=>{J(X,()=>{H(),N&&N()})};G?G(X,H,re):re()}else s(X,I,D)},ne=(A,I,D,W=!1,U=!1)=>{const{type:X,props:Q,ref:R,children:k,dynamicChildren:M,shapeFlag:K,patchFlag:J,dirs:G,cacheIndex:N}=A;if(J===-2&&(U=!1),R!=null&&ws(R,null,D,A,!0),N!=null&&(I.renderCache[N]=void 0),K&256){I.ctx.deactivate(A);return}const H=K&1&&G,re=!ln(A);let oe;if(re&&(oe=Q&&Q.onVnodeBeforeUnmount)&&lt(oe,I,A),K&6)He(A.component,D,W);else{if(K&128){A.suspense.unmount(D,W);return}H&&Dt(A,null,I,"beforeUnmount"),K&64?A.type.remove(A,I,D,ee,W):M&&!M.hasOnce&&(X!==Ke||J>0&&J&64)?fe(M,I,D,!1,!0):(X===Ke&&J&384||!U&&K&16)&&fe(k,I,D),W&&Se(A)}(re&&(oe=Q&&Q.onVnodeUnmounted)||H)&&Je(()=>{oe&&lt(oe,I,A),H&&Dt(A,null,I,"unmounted")},D)},Se=A=>{const{type:I,el:D,anchor:W,transition:U}=A;if(I===Ke){ye(D,W);return}if(I===fs){_(A);return}const X=()=>{o(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()},ye=(A,I)=>{let D;for(;A!==I;)D=d(A),o(A),A=D;o(I)},He=(A,I,D)=>{const{bum:W,scope:U,job:X,subTree:Q,um:R,m:k,a:M}=A;Es(k),Es(M),W&&mr(W),U.stop(),X&&(X.flags|=8,ne(Q,A,I,D)),R&&Je(R,I),Je(()=>{A.isUnmounted=!0},I),I&&I.pendingBranch&&!I.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===I.pendingId&&(I.deps--,I.deps===0&&I.resolve())},fe=(A,I,D,W=!1,U=!1,X=0)=>{for(let Q=X;Q<A.length;Q++)ne(A[Q],I,D,W,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[Gh];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,ka(),_s(),q=!1)},ee={p:g,um:ne,m:ce,r:Se,mt:F,mc:S,pc:Y,pbc:L,n:V,o:e};let de,_e;return t&&([de,_e]=t(ee)),{render:z,hydrate:de,createApp:mp(z,de)}}function Co({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function bn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Xu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Yu(e,t,n=!1){const s=e.children,o=t.children;if(ae(s)&&ae(o))for(let r=0;r<s.length;r++){const i=s[r];let a=o[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[r]=rn(o[r]),a.el=i.el),!n&&a.patchFlag!==-2&&Yu(i,a)),a.type===un&&(a.el=i.el)}}function Cp(e){const t=e.slice(),n=[0];let s,o,r,i,a;const l=e.length;for(s=0;s<l;s++){const h=e[s];if(h!==0){if(o=n[n.length-1],e[o]<h){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<h?r=a+1:i=a;h<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Ju(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ju(t)}function Es(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Pp=Symbol.for("v-scx"),Tp=()=>et(Pp);function Lp(e,t){return qi(e,null,t)}function dt(e,t,n){return qi(e,t,n)}function qi(e,t,n=Te){const{immediate:s,deep:o,flush:r,once:i}=n,a=je({},n);let l;if(Qs)if(r==="sync"){const d=Tp();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||s)a.once=!0;else return{stop:$t,resume:$t,pause:$t};const h=Ge;a.call=(d,c,p)=>At(d,h,c,p);let u=!1;r==="post"?a.scheduler=d=>{Je(d,h&&h.suspense)}:r!=="sync"&&(u=!0,a.scheduler=(d,c)=>{c?d():Gi(d)}),a.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,h&&(d.id=h.uid,d.i=h))};const f=jh(e,t,a);return l&&l.push(f),f}function Rp(e,t,n){const s=this.proxy,o=Oe(e)?e.includes(".")?qu(s,e):()=>s[e]:e.bind(s,s);let r;le(t)?r=t:(r=t.handler,n=t);const i=jr(this),a=qi(o,r.bind(s),n);return i(),a}function qu(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const kp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${kt(t)}Modifiers`]||e[`${Nn(t)}Modifiers`];function Ap(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Te;let o=n;const r=t.startsWith("update:"),i=r&&kp(s,t.slice(7));i&&(i.trim&&(o=n.map(u=>Oe(u)?u.trim():u)),i.number&&(o=n.map(sh)));let a,l=s[a=vo(t)]||s[a=vo(kt(t))];!l&&r&&(l=s[a=vo(Nn(t))]),l&&At(l,e,6,o);const h=s[a+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,At(h,e,6,o)}}function Qu(e,t,n=!1){const s=t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},a=!1;if(!le(e)){const l=h=>{const u=Qu(h,t,!0);u&&(a=!0,je(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Re(e)&&s.set(e,null),null):(ae(r)?r.forEach(l=>i[l]=null):je(i,r),Re(e)&&s.set(e,i),i)}function Js(e,t){return!e||!$r(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,Nn(t))||Pe(e,t))}function Po(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:a,emit:l,render:h,renderCache:u,props:f,data:d,setupState:c,ctx:p,inheritAttrs:g}=e,v=xs(e);let w,b;try{if(n.shapeFlag&4){const _=o||s,m=_;w=gt(h.call(m,_,u,f,c,d,p)),b=a}else{const _=t;w=gt(_.length>1?_(f,{attrs:a,slots:i,emit:l}):_(f,null)),b=t.props?a:Op(a)}}catch(_){_r.length=0,Ur(_,e,1),w=Ie(Ue)}let y=w;if(b&&g!==!1){const _=Object.keys(b),{shapeFlag:m}=y;_.length&&m&7&&(r&&_.some(Ii)&&(b=Mp(b,r)),y=Jt(y,b,!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,xs(v),w}function Ip(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(er(o)){if(o.type!==Ue||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Op=e=>{let t;for(const n in e)(n==="class"||n==="style"||$r(n))&&((t||(t={}))[n]=e[n]);return t},Mp=(e,t)=>{const n={};for(const s in e)(!Ii(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Np(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:l}=t,h=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ua(s,i,h):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==s[d]&&!Js(h,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Ua(s,i,h):!0:!!i;return!1}function Ua(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if(t[r]!==e[r]&&!Js(n,r))return!0}return!1}function Qi({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const Ss=e=>e.__isSuspense;let Qo=0;const Dp={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,h){if(e==null)Fp(t,n,s,o,r,i,a,l,h);else{if(r&&r.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}$p(e,t,n,s,o,i,a,l,h)}},hydrate:Hp,normalize:Bp},zi=Dp;function kr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Fp(e,t,n,s,o,r,i,a,l){const{p:h,o:{createElement:u}}=l,f=u("div"),d=e.suspense=zu(e,o,s,t,f,n,r,i,a,l);h(null,d.pendingBranch=e.ssContent,f,null,s,d,r,i),d.deps>0?(kr(e,"onPending"),kr(e,"onFallback"),h(null,e.ssFallback,t,n,s,null,r,i),Qn(d,e.ssFallback)):d.resolve(!1,!0)}function $p(e,t,n,s,o,r,i,a,{p:l,um:h,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:w}=f;if(g)f.pendingBranch=d,Pt(d,g)?(l(g,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():v&&(w||(l(p,c,n,s,o,null,r,i,a),Qn(f,c)))):(f.pendingId=Qo++,w?(f.isHydrating=!1,f.activeBranch=g):h(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(l(null,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0?f.resolve():(l(p,c,n,s,o,null,r,i,a),Qn(f,c))):p&&Pt(d,p)?(l(p,d,n,s,o,f,r,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0&&f.resolve()));else if(p&&Pt(d,p))l(p,d,n,s,o,f,r,i,a),Qn(f,d);else if(kr(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=Qo++,l(null,d,f.hiddenContainer,null,o,f,r,i,a),f.deps<=0)f.resolve();else{const{timeout:b,pendingId:y}=f;b>0?setTimeout(()=>{f.pendingId===y&&f.fallback(c)},b):b===0&&f.fallback(c)}}function zu(e,t,n,s,o,r,i,a,l,h,u=!1){const{p:f,m:d,um:c,n:p,o:{parentNode:g,remove:v}}=h;let w;const b=Up(e);b&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const y=e.props?Kc(e.props.timeout):void 0,_=r,m={vnode:e,parent:t,parentComponent:n,namespace:i,container:s,hiddenContainer:o,deps:0,pendingId:Qo++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(x=!1,E=!1){const{vnode:S,activeBranch:P,pendingBranch:L,pendingId:T,effects:C,parentComponent:O,container:F}=m;let $=!1;m.isHydrating?m.isHydrating=!1:x||($=P&&L.transition&&L.transition.mode==="out-in",$&&(P.transition.afterLeave=()=>{T===m.pendingId&&(d(L,F,r===_?p(P):r,0),Ko(C))}),P&&(g(P.el)!==m.hiddenContainer&&(r=p(P)),c(P,O,m,!0)),$||d(L,F,r,0)),Qn(m,L),m.pendingBranch=null,m.isInFallback=!1;let B=m.parent,j=!1;for(;B;){if(B.pendingBranch){B.effects.push(...C),j=!0;break}B=B.parent}!j&&!$&&Ko(C),m.effects=[],b&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),kr(S,"onResolve")},fallback(x){if(!m.pendingBranch)return;const{vnode:E,activeBranch:S,parentComponent:P,container:L,namespace:T}=m;kr(E,"onFallback");const C=p(S),O=()=>{m.isInFallback&&(f(null,x,L,C,P,null,T,a,l),Qn(m,x))},F=x.transition&&x.transition.mode==="out-in";F&&(S.transition.afterLeave=O),m.isInFallback=!0,c(S,P,null,!0),F||O()},move(x,E,S){m.activeBranch&&d(m.activeBranch,x,E,S),m.container=x},next(){return m.activeBranch&&p(m.activeBranch)},registerDep(x,E,S){const P=!!m.pendingBranch;P&&m.deps++;const L=x.vnode.el;x.asyncDep.catch(T=>{Ur(T,x,0)}).then(T=>{if(x.isUnmounted||m.isUnmounted||m.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:C}=x;Zo(x,T,!1),L&&(C.el=L);const O=!L&&x.subTree.el;E(x,C,g(L||x.subTree.el),L?null:p(x.subTree),m,i,S),O&&v(O),Qi(x,C.el),P&&--m.deps===0&&m.resolve()})},unmount(x,E){m.isUnmounted=!0,m.activeBranch&&c(m.activeBranch,n,x,E),m.pendingBranch&&c(m.pendingBranch,n,x,E)}};return m}function Hp(e,t,n,s,o,r,i,a,l){const h=t.suspense=zu(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=l(e,h.pendingBranch=t.ssContent,n,h,r,i);return h.deps===0&&h.resolve(!1,!0),u}function Bp(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Va(s?n.default:n),e.ssFallback=s?Va(n.fallback):Ie(Ue)}function Va(e){let t;if(le(e)){const n=Zn&&e._c;n&&(e._d=!1,ve()),e=e(),n&&(e._d=!0,t=ft,ef())}return ae(e)&&(e=Ip(e)),e=gt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Zu(e,t){t&&t.pendingBranch?ae(e)?t.effects.push(...e):t.effects.push(e):Ko(e)}function Qn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,s&&s.subTree===n&&(s.vnode.el=o,Qi(s,o))}function Up(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Ke=Symbol.for("v-fgt"),un=Symbol.for("v-txt"),Ue=Symbol.for("v-cmt"),fs=Symbol.for("v-stc"),_r=[];let ft=null;function ve(e=!1){_r.push(ft=e?null:[])}function ef(){_r.pop(),ft=_r[_r.length-1]||null}let Zn=1;function ja(e){Zn+=e,e<0&&ft&&(ft.hasOnce=!0)}function tf(e){return e.dynamicChildren=Zn>0?ft||Xn:null,ef(),Zn>0&&ft&&ft.push(e),e}function it(e,t,n,s,o,r){return tf(ie(e,t,n,s,o,r,!0))}function qe(e,t,n,s,o){return tf(Ie(e,t,n,s,o,!0))}function er(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const nf=({key:e})=>e??null,ds=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Ne(e)||le(e)?{i:Ve,r:e,k:t,f:!!n}:e:null);function ie(e,t=null,n=null,s=0,o=null,r=e===Ke?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&nf(t),ref:t&&ds(t),scopeId:vu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ve};return a?(Zi(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Oe(n)?8:16),Zn>0&&!i&&ft&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ft.push(l),l}const Ie=Vp;function Vp(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Au)&&(e=Ue),er(e)){const a=Jt(e,t,!0);return n&&Zi(a,n),Zn>0&&!r&&ft&&(a.shapeFlag&6?ft[ft.indexOf(e)]=a:ft.push(a)),a.patchFlag=-2,a}if(Qp(e)&&(e=e.__vccOpts),t){t=jp(t);let{class:a,style:l}=t;a&&!Oe(a)&&(t.class=Vs(a)),Re(l)&&(ji(l)&&!ae(l)&&(l=je({},l)),t.style=Ni(l))}const i=Oe(e)?1:Ss(e)?128:yu(e)?64:Re(e)?4:le(e)?2:0;return ie(e,t,n,s,o,i,r,!0)}function jp(e){return e?ji(e)||Hu(e)?je({},e):e:null}function Jt(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:a,transition:l}=e,h=t?rf(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&nf(h),ref:t&&t.ref?n&&r?ae(r)?r.concat(ds(t)):[r,ds(t)]:ds(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Rr(u,l.clone(u)),u}function qs(e=" ",t=0){return Ie(un,null,e,t)}function ct(e="",t=!1){return t?(ve(),qe(Ue,null,e)):Ie(Ue,null,e)}function gt(e){return e==null||typeof e=="boolean"?Ie(Ue):ae(e)?Ie(Ke,null,e.slice()):typeof e=="object"?rn(e):Ie(un,null,String(e))}function rn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function Zi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(ae(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Zi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Hu(t)?t._ctx=Ve:o===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Ve},n=32):(t=String(t),s&64?(n=16,t=[qs(t)]):n=8);e.children=t,e.shapeFlag|=n}function rf(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=Vs([t.class,s.class]));else if(o==="style")t.style=Ni([t.style,s.style]);else if($r(o)){const r=t[o],i=s[o];i&&r!==i&&!(ae(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function lt(e,t,n,s=null){At(e,t,7,[n,s])}const Wp=Nu();let Kp=0;function Gp(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Wp,r={uid:Kp++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new qc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Uu(s,o),emitsOptions:Qu(s,o),emit:null,emitted:null,propsDefaults:Te,inheritAttrs:s.inheritAttrs,ctx:Te,data:Te,props:Te,attrs:Te,slots:Te,refs:Te,setupState:Te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Ap.bind(null,r),e.ce&&e.ce(r),r}let Ge=null;const Dn=()=>Ge||Ve;let Cs,zo;{const e=Gc(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};Cs=t("__VUE_INSTANCE_SETTERS__",n=>Ge=n),zo=t("__VUE_SSR_SETTERS__",n=>Qs=n)}const jr=e=>{const t=Ge;return Cs(e),e.scope.on(),()=>{e.scope.off(),Cs(t)}},Wa=()=>{Ge&&Ge.scope.off(),Cs(null)};function sf(e){return e.vnode.shapeFlag&4}let Qs=!1;function Xp(e,t=!1,n=!1){t&&zo(t);const{props:s,children:o}=e.vnode,r=sf(e);vp(e,s,r,t),wp(e,o,n);const i=r?Yp(e,t):void 0;return t&&zo(!1),i}function Yp(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cp);const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?qp(e):null,r=jr(e);pn();const i=Br(s,e,0,[e.props,o]);if(gn(),r(),Uc(i)){if(ln(e)||Su(e),i.then(Wa,Wa),t)return i.then(a=>{Zo(e,a,t)}).catch(a=>{Ur(a,e,0)});e.asyncDep=i}else Zo(e,i,t)}else of(e,t)}function Zo(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)&&(e.setupState=du(t)),of(e,n)}let Ka;function of(e,t,n){const s=e.type;if(!e.render){if(!t&&Ka&&!s.render){const o=s.template||Yi(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,h=je(je({isCustomElement:r,delimiters:a},i),l);s.render=Ka(o,h)}}e.render=s.render||$t}{const o=jr(e);pn();try{up(e)}finally{gn(),o()}}}const Jp={get(e,t){return tt(e,"get",""),e[t]}};function qp(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Jp),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(du(Ih(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yr)return yr[n](e)},has(t,n){return n in t||n in yr}})):e.proxy}function ei(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function Qp(e){return le(e)&&"__vccOpts"in e}const ge=(e,t)=>Uh(e,t,Qs);function Ye(e,t,n){const s=arguments.length;return s===2?Re(t)&&!ae(t)?er(t)?Ie(e,null,[t]):Ie(e,t):Ie(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&er(n)&&(n=[n]),Ie(e,t,n))}const af="3.5.1";/**
* @vue/runtime-dom v3.5.1
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let ti;const Ga=typeof window<"u"&&window.trustedTypes;if(Ga)try{ti=Ga.createPolicy("vue",{createHTML:e=>e})}catch{}const lf=ti?e=>ti.createHTML(e):e=>e,zp="http://www.w3.org/2000/svg",Zp="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,Xa=Wt&&Wt.createElement("template"),eg={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const o=t==="svg"?Wt.createElementNS(zp,e):t==="mathml"?Wt.createElementNS(Zp,e):n?Wt.createElement(e,{is:n}):Wt.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>Wt.createTextNode(e),createComment:e=>Wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Xa.innerHTML=lf(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=Xa.content;if(s==="svg"||s==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},zt="transition",ur="animation",Ar=Symbol("_vtc"),cf={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},tg=je({},_u,cf),ng=e=>(e.displayName="Transition",e.props=tg,e),uf=ng((e,{slots:t})=>Ye(Jh,rg(e),t)),En=(e,t=[])=>{ae(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ya=e=>e?ae(e)?e.some(t=>t.length>1):e.length>1:!1;function rg(e){const t={};for(const C in e)C in cf||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:h=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=sg(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:w,onEnter:b,onEnterCancelled:y,onLeave:_,onLeaveCancelled:m,onBeforeAppear:x=w,onAppear:E=b,onAppearCancelled:S=y}=t,P=(C,O,F)=>{Sn(C,O?u:a),Sn(C,O?h:i),F&&F()},L=(C,O)=>{C._isLeaving=!1,Sn(C,f),Sn(C,c),Sn(C,d),O&&O()},T=C=>(O,F)=>{const $=C?E:b,B=()=>P(O,C,F);En($,[O,B]),Ja(()=>{Sn(O,C?l:r),Zt(O,C?u:a),Ya($)||qa(O,s,g,B)})};return je(t,{onBeforeEnter(C){En(w,[C]),Zt(C,r),Zt(C,i)},onBeforeAppear(C){En(x,[C]),Zt(C,l),Zt(C,h)},onEnter:T(!1),onAppear:T(!0),onLeave(C,O){C._isLeaving=!0;const F=()=>L(C,O);Zt(C,f),Zt(C,d),ag(),Ja(()=>{C._isLeaving&&(Sn(C,f),Zt(C,c),Ya(_)||qa(C,s,v,F))}),En(_,[C,F])},onEnterCancelled(C){P(C,!1),En(y,[C])},onAppearCancelled(C){P(C,!0),En(S,[C])},onLeaveCancelled(C){L(C),En(m,[C])}})}function sg(e){if(e==null)return null;if(Re(e))return[To(e.enter),To(e.leave)];{const t=To(e);return[t,t]}}function To(e){return Kc(e)}function Zt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ar]||(e[Ar]=new Set)).add(t)}function Sn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Ar];n&&(n.delete(t),n.size||(e[Ar]=void 0))}function Ja(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let og=0;function qa(e,t,n,s){const o=e._endId=++og,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=ig(e,t);if(!i)return s();const h=i+"end";let u=0;const f=()=>{e.removeEventListener(h,d),r()},d=c=>{c.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(h,d)}function ig(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${zt}Delay`),r=s(`${zt}Duration`),i=Qa(o,r),a=s(`${ur}Delay`),l=s(`${ur}Duration`),h=Qa(a,l);let u=null,f=0,d=0;t===zt?i>0&&(u=zt,f=i,d=r.length):t===ur?h>0&&(u=ur,f=h,d=l.length):(f=Math.max(i,h),u=f>0?i>h?zt:ur:null,d=u?u===zt?r.length:l.length:0);const c=u===zt&&/\b(transform|all)(,|$)/.test(s(`${zt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:c}}function Qa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>za(n)+za(e[s])))}function za(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ag(){return document.body.offsetHeight}function lg(e,t,n){const s=e[Ar];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ps=Symbol("_vod"),ff=Symbol("_vsh"),ib={beforeMount(e,{value:t},{transition:n}){e[Ps]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):fr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),fr(e,!0),s.enter(e)):s.leave(e,()=>{fr(e,!1)}):fr(e,t))},beforeUnmount(e,{value:t}){fr(e,t)}};function fr(e,t){e.style.display=t?e[Ps]:"none",e[ff]=!t}const cg=Symbol(""),ug=/(^|;)\s*display\s*:/;function fg(e,t,n){const s=e.style,o=Oe(n);let r=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&hs(s,a,"")}else for(const i in t)n[i]==null&&hs(s,i,"");for(const i in n)i==="display"&&(r=!0),hs(s,i,n[i])}else if(o){if(t!==n){const i=s[cg];i&&(n+=";"+i),s.cssText=n,r=ug.test(n)}}else t&&e.removeAttribute("style");Ps in e&&(e[Ps]=r?s.display:"",e[ff]&&(s.display="none"))}const Za=/\s*!important$/;function hs(e,t,n){if(ae(n))n.forEach(s=>hs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=dg(e,t);Za.test(n)?e.setProperty(Nn(s),n.replace(Za,""),"important"):e[s]=n}}const el=["Webkit","Moz","ms"],Lo={};function dg(e,t){const n=Lo[t];if(n)return n;let s=kt(t);if(s!=="filter"&&s in e)return Lo[t]=s;s=Us(s);for(let o=0;o<el.length;o++){const r=el[o]+s;if(r in e)return Lo[t]=r}return t}const tl="http://www.w3.org/1999/xlink";function nl(e,t,n,s,o,r=uh(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(tl,t.slice(6,t.length)):e.setAttributeNS(tl,t,n):n==null||r&&!Xc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":hn(n)?String(n):n)}function hg(e,t,n,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?lf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Xc(n):n==null&&i==="string"?(n="",r=!0):i==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(t)}function pg(e,t,n,s){e.addEventListener(t,n,s)}function gg(e,t,n,s){e.removeEventListener(t,n,s)}const rl=Symbol("_vei");function mg(e,t,n,s,o=null){const r=e[rl]||(e[rl]={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=vg(t);if(s){const h=r[t]=xg(s,o);pg(e,a,h,l)}else i&&(gg(e,a,i,l),r[t]=void 0)}}const sl=/(?:Once|Passive|Capture)$/;function vg(e){let t;if(sl.test(e)){t={};let s;for(;s=e.match(sl);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Nn(e.slice(2)),t]}let Ro=0;const yg=Promise.resolve(),_g=()=>Ro||(yg.then(()=>Ro=0),Ro=Date.now());function xg(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;At(wg(s,n.value),t,5,[s])};return n.value=e,n.attached=_g(),n}function wg(e,t){if(ae(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const ol=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,bg=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?lg(e,s,i):t==="style"?fg(e,n,s):$r(t)?Ii(t)||mg(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Eg(e,t,s,i))?(hg(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nl(e,t,s,i,r,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),nl(e,t,s,i))};function Eg(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ol(t)&&le(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return ol(t)&&Oe(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!Oe(n)))}const df=je({patchProp:bg},eg);let xr,il=!1;function Sg(){return xr||(xr=Ep(df))}function Cg(){return xr=il?xr:Sp(df),il=!0,xr}const Pg=(...e)=>{const t=Sg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=pf(s);if(!o)return;const r=t._component;!le(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,hf(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Tg=(...e)=>{const t=Cg().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=pf(s);if(o)return n(o,!0,hf(o))},t};function hf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pf(e){return Oe(e)?document.querySelector(e):e}const Lg=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Rg=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,kg=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Ag(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Ig(e);return}return t}function Ig(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Ir(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s==="undefined")return;if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY}if(!kg.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Lg.test(e)||Rg.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ag)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const Og=/#/g,Mg=/&/g,Ng=/\//g,Dg=/=/g,ea=/\+/g,Fg=/%5e/gi,$g=/%60/gi,Hg=/%7c/gi,Bg=/%20/gi;function Ug(e){return encodeURI(""+e).replace(Hg,"|")}function ni(e){return Ug(typeof e=="string"?e:JSON.stringify(e)).replace(ea,"%2B").replace(Bg,"+").replace(Og,"%23").replace(Mg,"%26").replace($g,"`").replace(Fg,"^").replace(Ng,"%2F")}function ko(e){return ni(e).replace(Dg,"%3D")}function Ts(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Vg(e){return Ts(e.replace(ea," "))}function jg(e){return Ts(e.replace(ea," "))}function ta(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const o=Vg(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=jg(s[2]||"");t[o]===void 0?t[o]=r:Array.isArray(t[o])?t[o].push(r):t[o]=[t[o],r]}return t}function Wg(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${ko(e)}=${ni(n)}`).join("&"):`${ko(e)}=${ni(t)}`:ko(e)}function Kg(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Wg(t,e[t])).filter(Boolean).join("&")}const Gg=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Xg=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Yg=/^([/\\]\s*){2,}[^/\\]/,Jg=/^[\s\0]*(blob|data|javascript|vbscript):$/i,qg=/\/$|\/\?|\/#/,Qg=/^\.?\//;function bt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Gg.test(e):Xg.test(e)||(t.acceptRelative?Yg.test(e):!1)}function zg(e){return!!e&&Jg.test(e)}function ri(e="",t){return t?qg.test(e):e.endsWith("/")}function Wr(e="",t){if(!t)return(ri(e)?e.slice(0,-1):e)||"/";if(!ri(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),s=e.slice(o));const[r,...i]=n.split("?");return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(i.length>0?`?${i.join("?")}`:"")+s}function Or(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(ri(e,!0))return e||"/";let n=e,s="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),s=e.slice(o),!n))return s;const[r,...i]=n.split("?");return r+"/"+(i.length>0?`?${i.join("?")}`:"")+s}function Zg(e=""){return e.startsWith("/")}function al(e=""){return Zg(e)?e:"/"+e}function em(e,t){if(mf(t)||bt(e))return e;const n=Wr(t);return e.startsWith(n)?e:Fn(n,e)}function ll(e,t){if(mf(t))return e;const n=Wr(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function gf(e,t){const n=nm(e),s={...ta(n.search),...t};return n.search=Kg(s),rm(n)}function mf(e){return!e||e==="/"}function tm(e){return e&&e!=="/"}function Fn(e,...t){let n=e||"";for(const s of t.filter(o=>tm(o)))if(n){const o=s.replace(Qg,"");n=Or(n)+o}else n=s;return n}function vf(...e){var i,a,l,h;const t=/\/(?!\/)/,n=e.filter(Boolean),s=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(s.length===1&&bt(s[0]))continue;s.pop(),o--;continue}if(f===1&&((i=s[s.length-1])!=null&&i.endsWith(":/"))){s[s.length-1]+="/"+d;continue}s.push(d),o++}}let r=s.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!r.startsWith("/")?r="/"+r:(l=n[0])!=null&&l.startsWith("./")&&!r.startsWith("./")&&(r="./"+r):r="../".repeat(-1*o)+r,(h=n[n.length-1])!=null&&h.endsWith("/")&&!r.endsWith("/")&&(r+="/"),r}function si(e,t,n={}){return n.trailingSlash||(e=Or(e),t=Or(t)),n.leadingSlash||(e=al(e),t=al(t)),n.encoding||(e=Ts(e),t=Ts(t)),e===t}const yf=Symbol.for("ufo:protocolRelative");function nm(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!bt(e,{acceptRelative:!0}))return oi(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[];s==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:h,hash:u}=oi(a);return{protocol:s.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:h,hash:u,[yf]:!s}}function oi(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function rm(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",o=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[yf]?(e.protocol||"")+"//":"")+o+r+t+n+s}class sm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function om(e){var l,h,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((h=e.error)==null?void 0:h.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",s=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new sm(i,e.error?{cause:e.error}:void 0);for(const c of["request","options","response"])Object.defineProperty(a,c,{get(){return e[c]}});for(const[c,p]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,c,{get(){return e.response&&e.response[p]}});return a}const im=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function cl(e="GET"){return im.has(e.toUpperCase())}function am(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const lm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),cm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function um(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return cm.test(t)?"json":lm.has(t)||t.startsWith("text/")?"text":"blob"}function fm(e,t,n=globalThis.Headers){const s={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(s.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(s.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){s.headers=new n((t==null?void 0:t.headers)||{});for(const[o,r]of new n((e==null?void 0:e.headers)||{}))s.headers.set(o,r)}return s}const dm=new Set([408,409,425,429,500,502,503,504]),hm=new Set([101,204,205,304]);function _f(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:s=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=cl(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):dm.has(f))){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 h=om(a);throw Error.captureStackTrace&&Error.captureStackTrace(h,r),h}const r=async function(l,h={}){var c;const u={request:l,options:fm(h,e.defaults,n),response:void 0,error:void 0};u.options.method=(c=u.options.method)==null?void 0:c.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=em(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=gf(u.request,{...u.options.params,...u.options.query}))),u.options.body&&cl(u.options.method)&&(am(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const p=new s;f=setTimeout(()=>p.abort(),u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!hm.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||um(u.response.headers.get("content-type")||"");switch(p){case"json":{const g=await u.response.text(),v=u.options.parseResponse||Ir;u.response._data=v(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(l,h){return(await r(l,h))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>_f({...e,defaults:{...e.defaults,...a}}),i}const na=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),pm=na.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),gm=na.Headers,mm=na.AbortController,vm=_f({fetch:pm,Headers:gm,AbortController:mm}),ym=vm,_m=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Ls=_m().app,xm=()=>Ls.baseURL,wm=()=>Ls.buildAssetsDir,ra=(...e)=>vf(xf(),wm(),...e),xf=(...e)=>{const t=Ls.cdnURL||Ls.baseURL;return e.length?vf(t,...e):t};globalThis.__buildAssetsURL=ra,globalThis.__publicAssetsURL=xf;globalThis.$fetch||(globalThis.$fetch=ym.create({baseURL:xm()}));function ii(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?ii(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const bm={run:e=>e()},Em=()=>bm,wf=typeof console.createTask<"u"?console.createTask:Em;function Sm(e,t){const n=t.shift(),s=wf(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function Cm(e,t){const n=t.shift(),s=wf(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Ao(e,t){for(const n of[...e])n(t)}class Pm{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,s={}){if(!t||typeof n!="function")return()=>{};const o=t;let r;for(;this._deprecatedHooks[t];)r=this._deprecatedHooks[t],t=r.to;if(r&&!s.allowDeprecated){let i=r.message;i||(i=`${o} hook has been deprecated`+(r.to?`, please use ${r.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let s,o=(...r)=>(typeof s=="function"&&s(),s=void 0,o=void 0,n(...r));return s=this.hook(t,o),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const o of s)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=ii(t),s=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of s.splice(0,s.length))o()}}removeHooks(t){const n=ii(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Sm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Cm,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Ao(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Ao(this._after,o)}):(this._after&&o&&Ao(this._after,o),r)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function bf(){return new Pm}function Tm(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const r=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=r();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>r(),set:(i,a)=>{a||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},h=()=>t===i?l:void 0;ai.add(h);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{ai.delete(h)}}}}function Lm(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=Tm({...e,...s})),t[n],t[n]}}}const Rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},ul="__unctx__",Rm=Rs[ul]||(Rs[ul]=Lm()),km=(e,t={})=>Rm.get(e,t),fl="__unctx_async_handlers__",ai=Rs[fl]||(Rs[fl]=new Set);function Tt(e){const t=[];for(const o of ai){const r=o();r&&t.push(r)}const n=()=>{for(const o of t)o()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(o=>{throw n(),o})),[s,n]}const Am=!1,li=!1,Im=!1,Om={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Mm=null,Nm="#__nuxt",Ef="nuxt-app",dl=36e5;function Sf(e=Ef){return km(e,{asyncContext:!1})}const Dm="__nuxt_plugin";function Fm(e){var o;let t=0;const n={_id:e.id||Ef||"nuxt-app",_scope:Di(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.1"},get vue(){return n.vueApp.version}},payload:Gt({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:Gt({}),state:mn({}),once:new Set,_errors:Gt({})}),static:{data:{}},runWithContext(r){return n._scope.active&&!js()?n._scope.run(()=>hl(n,r)):hl(n,r)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:Gt({}),_payloadRevivers:{},...e};{const r=window.__NUXT__;if(r)for(const i in r)switch(i){case"data":case"state":case"_errors":Object.assign(n.payload[i],r[i]);break;default:n.payload[i]=r[i]}}n.hooks=bf(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,i)=>{const a="$"+r;os(n,a,i),os(n.vueApp.config.globalProperties,a,i)},os(n.vueApp,"$nuxt",n),os(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",i=>{n.callHook("app:chunkError",{error:i.payload})}),window.useNuxtApp=window.useNuxtApp||me;const r=n.hook("app:error",(...i)=>{console.error("[nuxt] error caught during app initialization",...i)});n.hook("app:mounted",r)}const s=n.payload.config;return n.provide("config",s),n}function $m(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function Hm(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const s in n)e.provide(s,n[s])}}async function Bm(e,t){const n=[],s=[],o=[],r=[];let i=0;async function a(l){var u;const h=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(h.length>0)s.push([new Set(h),l]);else{const f=Hm(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(s.map(async([d,c])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(i++,await a(c)))})))});l.parallel?o.push(f.catch(d=>r.push(d))):await f}}for(const l of t)$m(e,l);for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(r.length)throw r[0]}function Mt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[Dm]:!0,_name:t})}function hl(e,t,n){const s=()=>t();return Sf(e._id).set(e),e.vueApp.runWithContext(s)}function Um(e){var n;let t;return Du()&&(t=(n=Dn())==null?void 0:n.appContext.app.$nuxt),t=t||Sf(e).tryUse(),t||null}function me(e){const t=Um(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ht(e){return me().$config}function os(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function Vm(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");const n={},s=t||{},o=s.decode||jm;let r=0;for(;r<e.length;){const i=e.indexOf("=",r);if(i===-1)break;let a=e.indexOf(";",r);if(a===-1)a=e.length;else if(a<i){r=e.lastIndexOf(";",i-1)+1;continue}const l=e.slice(r,i).trim();if(s!=null&&s.filter&&!(s!=null&&s.filter(l))){r=a+1;continue}if(n[l]===void 0){let h=e.slice(i+1,a).trim();h.codePointAt(0)===34&&(h=h.slice(1,-1)),n[l]=Wm(h,o)}r=a+1}return n}function jm(e){return e.includes("%")?decodeURIComponent(e):e}function Wm(e,t){try{return t(e)}catch{return e}}const is=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function pl(e,t,n){const s=n||{},o=s.encode||encodeURIComponent;if(typeof o!="function")throw new TypeError("option encode is invalid");if(!is.test(e))throw new TypeError("argument name is invalid");const r=o(t);if(r&&!is.test(r))throw new TypeError("argument val is invalid");let i=e+"="+r;if(s.maxAge!==void 0&&s.maxAge!==null){const a=s.maxAge-0;if(Number.isNaN(a)||!Number.isFinite(a))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(a)}if(s.domain){if(!is.test(s.domain))throw new TypeError("option domain is invalid");i+="; Domain="+s.domain}if(s.path){if(!is.test(s.path))throw new TypeError("option path is invalid");i+="; Path="+s.path}if(s.expires){if(!Km(s.expires)||Number.isNaN(s.expires.valueOf()))throw new TypeError("option expires is invalid");i+="; Expires="+s.expires.toUTCString()}if(s.httpOnly&&(i+="; HttpOnly"),s.secure&&(i+="; Secure"),s.priority)switch(typeof s.priority=="string"?s.priority.toLowerCase():s.priority){case"low":{i+="; Priority=Low";break}case"medium":{i+="; Priority=Medium";break}case"high":{i+="; Priority=High";break}default:throw new TypeError("option priority is invalid")}if(s.sameSite)switch(typeof s.sameSite=="string"?s.sameSite.toLowerCase():s.sameSite){case!0:{i+="; SameSite=Strict";break}case"lax":{i+="; SameSite=Lax";break}case"strict":{i+="; SameSite=Strict";break}case"none":{i+="; SameSite=None";break}default:throw new TypeError("option sameSite is invalid")}return s.partitioned&&(i+="; Partitioned"),i}function Km(e){return Object.prototype.toString.call(e)==="[object Date]"||e instanceof Date}const gl=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 ml(e,t){t?t={...gl,...t}:t=gl;const n=Cf(t);return n.dispatch(e),n.toString()}const Gm=Object.freeze(["prototype","__proto__","constructor"]);function Cf(e){let t="",n=new Map;const s=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const r=Object.prototype.toString.call(o);let i="";const a=r.length;a<10?i="unknown:["+r+"]":i=r.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return s("buffer:"),s(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let h=Object.keys(o);e.unorderedObjects&&(h=h.sort());let u=[];e.respectType!==!1&&!vl(o)&&(u=Gm),e.excludeKeys&&(h=h.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),s("object:"+(h.length+u.length)+":");const f=d=>{this.dispatch(d),s(":"),e.excludeValues||this.dispatch(o[d]),s(",")};for(const d of h)f(d);for(const d of u)f(d)}},array(o,r){if(r=r===void 0?e.unorderedArrays!==!1:r,s("array:"+o.length+":"),!r||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const h=Cf(e);h.dispatch(l);for(const[u,f]of h.getContext())i.set(u,f);return h.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return s("date:"+o.toJSON())},symbol(o){return s("symbol:"+o.toString())},unkown(o,r){if(s(r),!!o&&(s(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return s("error:"+o.toString())},boolean(o){return s("bool:"+o)},string(o){s("string:"+o.length+":"),s(o)},function(o){s("fn:"),vl(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return s("number:"+o)},xml(o){return s("xml:"+o.toString())},null(){return s("Null")},undefined(){return s("Undefined")},regexp(o){return s("regex:"+o.toString())},uint8array(o){return s("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return s("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return s("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return s("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return s("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return s("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return s("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return s("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return s("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return s("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return s("url:"+o.toString())},map(o){s("map:");const r=[...o];return this.array(r,e.unorderedSets!==!1)},set(o){s("set:");const r=[...o];return this.array(r,e.unorderedSets!==!1)},file(o){return s("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return s("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return s("domwindow")},bigint(o){return s("bigint:"+o.toString())},process(){return s("process")},timer(){return s("timer")},pipe(){return s("pipe")},tcp(){return s("tcp")},udp(){return s("udp")},tty(){return s("tty")},statwatcher(){return s("statwatcher")},securecontext(){return s("securecontext")},connection(){return s("connection")},zlib(){return s("zlib")},context(){return s("context")},nodescript(){return s("nodescript")},httpparser(){return s("httpparser")},dataview(){return s("dataview")},signal(){return s("signal")},fsevent(){return s("fsevent")},tlswrap(){return s("tlswrap")}}}const Pf="[native code] }",Xm=Pf.length;function vl(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Xm)===Pf}function Ym(e,t,n={}){return e===t||ml(e,n)===ml(t,n)}function Jm(e,t){return{ctx:{table:e},matchAll:n=>Lf(n,e)}}function Tf(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([s,o])=>[s,Tf(o)])):new Map(Object.entries(e[n]));return t}function qm(e){return Jm(Tf(e))}function Lf(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const s=[];for(const[r,i]of yl(t.wildcard))(e===r||e.startsWith(r+"/"))&&s.push(i);for(const[r,i]of yl(t.dynamic))if(e.startsWith(r+"/")){const a="/"+e.slice(r.length).split("/").splice(2).join("/");s.push(...Lf(a,i))}const o=t.static.get(e);return o&&s.push(o),s.filter(Boolean)}function yl(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Io(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function ci(e,t,n=".",s){if(!Io(t))return ci(e,{},n,s);const o=Object.assign({},t);for(const r in e){if(r==="__proto__"||r==="constructor")continue;const i=e[r];i!=null&&(s&&s(o,r,i,n)||(Array.isArray(i)&&Array.isArray(o[r])?o[r]=[...i,...o[r]]:Io(i)&&Io(o[r])?o[r]=ci(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Qm(e){return(...t)=>t.reduce((n,s)=>ci(n,s,"",e),{})}const Rf=Qm();function zm(e,t){try{return t in e}catch{return!1}}var Zm=Object.defineProperty,ev=(e,t,n)=>t in e?Zm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Rn=(e,t,n)=>(ev(e,typeof t!="symbol"?t+"":t,n),n);class ui extends Error{constructor(t,n={}){super(t,n),Rn(this,"statusCode",500),Rn(this,"fatal",!1),Rn(this,"unhandled",!1),Rn(this,"statusMessage"),Rn(this,"data"),Rn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:di(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=kf(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Rn(ui,"__h3_error__",!0);function fi(e){if(typeof e=="string")return new ui(e);if(tv(e))return e;const t=new ui(e.message??e.statusMessage??"",{cause:e.cause||e});if(zm(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=di(e.statusCode,t.statusCode):e.status&&(t.statusCode=di(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;kf(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function tv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const nv=/[^\u0009\u0020-\u007E]/g;function kf(e=""){return e.replace(nv,"")}function di(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Af=Symbol("layout-meta"),Kr=Symbol("route"),Qe=()=>{var e;return(e=me())==null?void 0:e.$router},Zs=()=>Du()?et(Kr,me()._route):me()._route;const rv=(e,t,n={})=>{const s=me(),o=n.global||typeof e!="string",r=t;if(!r){console.warn("[nuxt] No route middleware passed to `addRouteMiddleware`.",e);return}o?s._middleware.global.push(r):s._middleware.named[e]=r},sv=()=>{try{if(me()._processingMiddleware)return!0}catch{return!1}return!1},If=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?hi(e):Qe().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:h={}}=t.open,u=Object.entries(h).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const s=bt(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||s;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&zg(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const r=sv();if(!o&&r)return e;const i=Qe(),a=me();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,r?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?i.replace(e):i.push(e)};function hi(e){return gf(e.path||"",e.query||{})+(e.hash||"")}const Of="__nuxt_error",eo=()=>hu(me().payload,"error"),Gn=e=>{const t=to(e);try{const n=me(),s=eo();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},ov=async(e={})=>{const t=me(),n=eo();t.callHook("app:error:cleared",e),e.redirect&&await Qe().replace(e.redirect),n.value=Mm},iv=e=>!!e&&typeof e=="object"&&Of in e,to=e=>{const t=fi(e);return Object.defineProperty(t,Of,{value:!0,configurable:!1,writable:!1}),t},av=-1,lv=-2,cv=-3,uv=-4,fv=-5,dv=-6;function hv(e,t){return pv(JSON.parse(e),t)}function pv(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function o(r,i=!1){if(r===av)return;if(r===cv)return NaN;if(r===uv)return 1/0;if(r===fv)return-1/0;if(r===dv)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],h=t==null?void 0:t[l];if(h)return s[r]=h(o(a[1]));switch(l){case"Date":s[r]=new Date(a[1]);break;case"Set":const u=new Set;s[r]=u;for(let c=1;c<a.length;c+=1)u.add(o(a[c]));break;case"Map":const f=new Map;s[r]=f;for(let c=1;c<a.length;c+=2)f.set(o(a[c]),o(a[c+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const d=Object.create(null);s[r]=d;for(let c=1;c<a.length;c+=2)d[a[c]]=o(a[c+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[r]=l;for(let h=0;h<a.length;h+=1){const u=a[h];u!==lv&&(l[h]=o(u))}}else{const l={};s[r]=l;for(const h in a){const u=a[h];l[h]=o(u)}}return s[r]}return o(0)}const gv=new Set(["title","titleTemplate","script","style","noscript"]),ps=new Set(["base","meta","link","style","script","noscript"]),mv=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),vv=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Mf=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),yv=typeof window<"u";function ks(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function _l(e){if(e._h)return e._h;if(e._d)return ks(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${e.props[n]},`;return ks(t)}const _v=["name","property","http-equiv"];function Nf(e){const{props:t,tag:n}=e;if(vv.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const s of _v)if(t[s]!==void 0)return`${n}:${s}:${t[s]}`;return!1}function xl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function xv(e,t){return e instanceof Promise?e.then(t):t(e)}function pi(e,t,n,s){const o=s||Ff(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(i=>pi(e,t,n,i));const r={tag:e,props:o};for(const i of Mf){const a=r.props[i]!==void 0?r.props[i]:n[i];a!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||gv.has(r.tag))&&(r[i==="children"?"innerHTML":i]=a),delete r.props[i])}return r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(i=>({...r,props:{...r.props,content:i}})):r}function wv(e,t){var s;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,r])=>e==="style"?`${o}:${r}`:o)),(s=String(Array.isArray(t)?t.join(n):t))==null?void 0:s.split(n).filter(o=>!!o.trim()).join(n)}function Df(e,t,n,s){for(let o=s;o<n.length;o+=1){const r=n[o];if(r==="class"||r==="style"){e[r]=wv(r,e[r]);continue}if(e[r]instanceof Promise)return e[r].then(i=>(e[r]=i,Df(e,t,n,o)));if(!t&&!Mf.has(r)){const i=String(e[r]),a=r.startsWith("data-");i==="true"||i===""?e[r]=a?"true":!0:e[r]||(a&&i==="false"?e[r]="false":delete e[r])}}}function Ff(e,t=!1){const n=Df(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const bv=10;function $f(e,t,n){for(let s=n;s<t.length;s+=1){const o=t[s];if(o instanceof Promise)return o.then(r=>(t[s]=r,$f(e,t,s)));Array.isArray(o)?e.push(...o):e.push(o)}}function Ev(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const r=n[o];if(!(r===void 0||!mv.has(o))){if(Array.isArray(r)){for(const i of r)t.push(pi(o,i,e));continue}t.push(pi(o,r,e))}}if(t.length===0)return[];const s=[];return xv($f(s,t,0),()=>s.map((o,r)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<bv)+r,o)))}const wl={base:-10,title:10},bl={critical:-80,high:-10,low:20};function As(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in wl&&(n=wl[e.tag]),t&&t in bl?n+bl[t]:n}const Sv=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],El=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),sn="%separator";function Cv(e,t){var s;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");n=(s=e[t.substring(0,o)])==null?void 0:s[t.substring(o+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const Pv=new RegExp(`${sn}(?:\\s*${sn})*`,"g");function Oo(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let s=e;try{s=decodeURI(e)}catch{}const o=s.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const r=e.includes(sn);return e=e.replace(/%\w+(?:\.\w+)?/g,i=>{if(i===sn||!o.includes(i))return i;const a=Cv(t,i.slice(1));return a!==void 0?a:i}).trim(),r&&(e.endsWith(sn)&&(e=e.slice(0,-sn.length)),e.startsWith(sn)&&(e=e.slice(sn.length)),e=e.replace(Pv,n).trim()),e}async function Hf(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const s={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",s),!s.shouldRender)return;const o=(await e.resolveTags()).map(f=>({tag:f,id:ps.has(f.tag)?_l(f):f.tag,shouldRender:!0}));let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const f=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(!ps.has(g))continue;const v={tag:g,props:await Ff(p.getAttributeNames().reduce((_,m)=>({..._,[m]:p.getAttribute(m)}),{})),innerHTML:p.innerHTML},w=Nf(v);let b=w,y=1;for(;b&&f.has(b);)b=`${w}:${y++}`;b&&(v._d=b,f.add(b)),r.elMap[p.getAttribute("data-hid")||_l(v)]=p}}}r.pendingSideEffects={...r.sideEffects},r.sideEffects={};function i(f,d,c){const p=`${f}:${d}`;r.sideEffects[p]=c,delete r.pendingSideEffects[p]}function a({id:f,$el:d,tag:c}){const p=c.tag.endsWith("Attrs");if(r.elMap[f]=d,p||(c.textContent&&c.textContent!==d.textContent&&(d.textContent=c.textContent),c.innerHTML&&c.innerHTML!==d.innerHTML&&(d.innerHTML=c.innerHTML),i(f,"el",()=>{var g;(g=r.elMap[f])==null||g.remove(),delete r.elMap[f]})),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 b of v.split(" "))p&&i(f,`${w}:${b}`,()=>d.classList.remove(b)),!d.classList.contains(b)&&d.classList.add(b)}else if(g==="style"){if(!v)continue;for(const b of v.split(";")){const y=b.indexOf(":"),_=b.substring(0,y).trim(),m=b.substring(y+1).trim();i(f,`${w}:${_}`,()=>{d.style.removeProperty(_)}),d.style.setProperty(_,m)}}else d.getAttribute(g)!==v&&d.setAttribute(g,v===!0?"":String(v)),p&&i(f,w,()=>d.removeAttribute(g))}}const l=[],h={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:c,id:p}=f;if(c){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||r.elMap[p],f.$el?a(f):ps.has(d.tag)&&l.push(f)}}for(const f of l){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),a(f),h[d]=h[d]||n.createDocumentFragment(),h[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);h.head&&n.head.appendChild(h.head),h.bodyOpen&&n.body.insertBefore(h.bodyOpen,n.body.firstChild),h.bodyClose&&n.body.appendChild(h.bodyClose);for(const f in r.pendingSideEffects)r.pendingSideEffects[f]();e._dom=r,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}function Tv(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(()=>Hf(e,t).then(()=>{delete e._domUpdatePromise,s()})))}function Lv(e){return t=>{var s,o;const n=((o=(s=t.resolvedOptions.document)==null?void 0:s.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":r=>{Tv(r,e)}}}}}const Rv=new Set(["templateParams","htmlAttrs","bodyAttrs"]),kv={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const n=Nf(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const s of e.tags){const o=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,r=t[o];if(r){let a=s==null?void 0:s.tagDuplicateStrategy;if(!a&&Rv.has(s.tag)&&(a="merge"),a==="merge"){const l=r.props;l.style&&s.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),s.props.style=`${l.style} ${s.props.style}`),l.class&&s.props.class?s.props.class=`${l.class} ${s.props.class}`:l.class&&(s.props.class=l.class),t[o].props={...l,...s.props};continue}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);continue}else if(As(s)>As(r))continue}if(!(s.innerHTML||s.textContent||Object.keys(s.props).length!==0)&&ps.has(s.tag)){delete t[o];continue}t[o]=s}const n=[];for(const s in t){const o=t[s],r=o._duped;n.push(o),r&&(delete o._duped,n.push(...r))}e.tags=n,e.tags=e.tags.filter(s=>!(s.tag==="meta"&&(s.props.name||s.props.property)&&!s.props.content))}}},Av={mode:"server",hooks:{"tags:resolve":e=>{const t={};let n=!1;for(const s of e.tags)s._m!=="server"||s.tag!=="titleTemplate"&&s.tag!=="templateParams"&&s.tag!=="title"||(t[s.tag]=s.tag==="title"||s.tag==="titleTemplate"?s.textContent:s.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Iv=new Set(["script","link","bodyAttrs"]),Ov=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!Iv.has(n.tag))continue;const s=n.props;for(const o in s){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(s,o))continue;const r=s[o];typeof r=="function"&&(e.ssr&&El.has(o)?s[o]=`this.dataset.${o}fired = true`:delete s[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=r)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ks(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,r;const s=t==null?void 0:t.dataset;if(s)for(const i in s){if(!i.endsWith("fired"))continue;const a=i.slice(0,-5);El.has(a)&&((r=(o=n._eventHandlers)==null?void 0:o[a])==null||r.call(t,new Event(a.substring(2))))}}}}),Mv=new Set(["link","style","script","noscript"]),Nv={hooks:{"tag:normalise":({tag:e})=>{e.key&&Mv.has(e.tag)&&(e.props["data-hid"]=e._h=ks(e.key))}}},Dv={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:s,offset:o}of Sv){if(!n.tagPriority.startsWith(s))continue;const r=n.tagPriority.substring(s.length),i=(t=e.tags.find(a=>a._d===r))==null?void 0:t._p;if(i!==void 0){n._p=i+o;break}}e.tags.sort((n,s)=>{const o=As(n),r=As(s);return o<r?-1:o>r?1:n._p-s._p})}}},Fv={meta:"content",link:"href",htmlAttrs:"lang"},$v=["innerHTML","textContent"],Hv=e=>({hooks:{"tags:resolve":t=>{var i;const{tags:n}=t;let s;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(s=t.tags.splice(a,1)[0].props,a-=1);const o=s||{},r=o.separator||"|";delete o.separator,o.pageTitle=Oo(o.pageTitle||((i=n.find(a=>a.tag==="title"))==null?void 0:i.textContent)||"",o,r);for(const a of n){if(a.processTemplateParams===!1)continue;const l=Fv[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Oo(a.props[l],o,r);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const h of $v)typeof a[h]=="string"&&(a[h]=Oo(a[h],o,r))}e._templateParams=o,e._separator=r}}}),Bv={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,s;for(let o=0;o<t.length;o+=1){const r=t[o];r.tag==="title"?n=r:r.tag==="titleTemplate"&&(s=r)}if(s&&n){const o=xl(s.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(s){const o=xl(s.textContent);o!==null&&(s.textContent=o,s.tag="title",s=void 0)}s&&e.tags.splice(e.tags.indexOf(s),1)}}},Uv={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 Bf;function Vv(e={}){const t=jv(e);return t.use(Lv()),Bf=t}function Sl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function jv(e={}){const t=bf();t.addHooks(e.hooks||{}),e.document=e.document||(yv?document:void 0);const n=!e.document,s=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,r=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return r},use(l){const h=typeof l=="function"?l(a):l;(!h.key||!i.some(u=>u.key===h.key))&&(i.push(h),Sl(h.mode,n)&&t.addHooks(h.hooks||{}))},push(l,h){h==null||delete h.head;const u={_i:o++,input:l,...h};return Sl(u.mode,n)&&(r.push(u),s()),{dispose(){r=r.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),s()},patch(f){for(const d of r)d._i===u._i&&(d.input=u.input=f);s()}}},async resolveTags(){const l={tags:[],entries:[...r]};await t.callHook("entries:resolve",l);for(const h of l.entries){const u=h.resolvedInput||h.input;if(h.resolvedInput=await(h.transform?h.transform(u):u),h.resolvedInput)for(const f of await Ev(h)){const d={tag:f,entry:h,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[kv,Av,Ov,Nv,Dv,Hv,Bv,Uv,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Wv(){return Bf}const Kv=af[0]==="3";function Gv(e){return typeof e=="function"?e():te(e)}function Is(e){if(e instanceof Promise)return e;const t=Gv(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Is(n));if(typeof t=="object"){const n={};for(const s in t)if(Object.prototype.hasOwnProperty.call(t,s)){if(s==="titleTemplate"||s[0]==="o"&&s[1]==="n"){n[s]=te(t[s]);continue}n[s]=Is(t[s])}return n}return t}const Xv={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Is(t.input)}}},Uf="usehead";function Yv(e){return{install(n){Kv&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Uf,e))}}.install}function Jv(e={}){e.domDelayFn=e.domDelayFn||(n=>vn(()=>setTimeout(()=>n(),0)));const t=Vv(e);return t.use(Xv),t.install=Yv(t),t}const gi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},mi="__unhead_injection_handler__";function qv(e){gi[mi]=e}function Qv(){if(mi in gi)return gi[mi]();const e=et(Uf);return e||Wv()}function Cl(e,t={}){const n=t.head||Qv();if(n)return n.ssr?n.push(e,t):zv(n,e,t)}function zv(e,t,n={}){const s=Ee(!1),o=Ee({});Lp(()=>{o.value=s.value?{}:Is(t)});const r=e.push(o.value,n);return dt(o,a=>{r.patch(a)}),Dn()&&(Vr(()=>{r.dispose()}),Pu(()=>{s.value=!0}),Cu(()=>{s.value=!1})),r}let gs,ms;function Zv(){return gs=$fetch(ra(`builds/meta/${ht().app.buildId}.json`),{responseType:"json"}),gs.then(e=>{ms=qm(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),gs}function no(){return gs||Zv()}async function sa(e){if(await no(),!ms)return console.error("[nuxt] Error creating app manifest matcher.",ms),{};try{return Rf({},...ms.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Pl(e,t={}){const n=await ty(e,t),s=me(),o=s._payloadCache=s._payloadCache||{};return n in o||(o[n]=jf(e).then(r=>r?Vf(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const ey="_payload.json";async function ty(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||bt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=ht(),o=t.hash||(t.fresh?Date.now():s.app.buildId),r=s.app.cdnURL,i=r&&await jf(e)?r:s.app.baseURL;return Fn(i,n.pathname,ey+(o?`?${o}`:""))}async function Vf(e){const t=fetch(e).then(n=>n.text().then(Wf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function jf(e=Zs().path){if(e=Wr(e),(await no()).prerendered.includes(e))return!0;const n=await sa(e);return!!n.prerender&&!n.redirect}let Cn=null;async function ny(){var s;if(Cn)return Cn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Wf(e.textContent||""),n=e.dataset.src?await Vf(e.dataset.src):void 0;return Cn={...t,...n,...window.__NUXT__},(s=Cn.config)!=null&&s.public&&(Cn.config.public=mn(Cn.config.public)),Cn}async function Wf(e){return await hv(e,me()._payloadRevivers)}function ry(e,t){me()._payloadRevivers[e]=t}const Tl={NuxtError:e=>to(e),EmptyShallowRef:e=>zn(e==="_"?void 0:e==="0n"?BigInt(0):Ir(e)),EmptyRef:e=>Ee(e==="_"?void 0:e==="0n"?BigInt(0):Ir(e)),ShallowRef:e=>zn(e),ShallowReactive:e=>Gt(e),Ref:e=>Ee(e),Reactive:e=>mn(e)},sy=Mt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Tl)ry(s,Tl[s]);Object.assign(e.payload,([t,n]=Tt(()=>e.runWithContext(ny)),t=await t,n(),t)),window.__NUXT__=e.payload}}),oy=[],iy=Mt({name:"nuxt:head",enforce:"pre",setup(e){const t=Jv({plugins:oy});qv(()=>me().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await Hf(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||s()}),e.hooks.hook("app:error",s),e.hooks.hook("app:suspense:resolve",s)}}});/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const Wn=typeof document<"u";function ay(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ce=Object.assign;function Mo(e,t){const n={};for(const s in t){const o=t[s];n[s]=It(o)?o.map(e):e(o)}return n}const wr=()=>{},It=Array.isArray,Kf=/#/g,ly=/&/g,cy=/\//g,uy=/=/g,fy=/\?/g,Gf=/\+/g,dy=/%5B/g,hy=/%5D/g,Xf=/%5E/g,py=/%60/g,Yf=/%7B/g,gy=/%7C/g,Jf=/%7D/g,my=/%20/g;function oa(e){return encodeURI(""+e).replace(gy,"|").replace(dy,"[").replace(hy,"]")}function vy(e){return oa(e).replace(Yf,"{").replace(Jf,"}").replace(Xf,"^")}function vi(e){return oa(e).replace(Gf,"%2B").replace(my,"+").replace(Kf,"%23").replace(ly,"%26").replace(py,"`").replace(Yf,"{").replace(Jf,"}").replace(Xf,"^")}function yy(e){return vi(e).replace(uy,"%3D")}function _y(e){return oa(e).replace(Kf,"%23").replace(fy,"%3F")}function xy(e){return e==null?"":_y(e).replace(cy,"%2F")}function Mr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const wy=/\/$/,by=e=>e.replace(wy,"");function No(e,t,n="/"){let s,o={},r="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(s=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Py(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:Mr(i)}}function Ey(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ll(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Sy(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&tr(t.matched[s],n.matched[o])&&qf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function tr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Cy(e[n],t[n]))return!1;return!0}function Cy(e,t){return It(e)?Rl(e,t):It(t)?Rl(t,e):e===t}function Rl(e,t){return It(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Py(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),o=s[s.length-1];(o===".."||o===".")&&s.push("");let r=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")r>1&&r--;else break;return n.slice(0,r).join("/")+"/"+s.slice(i).join("/")}const St={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Nr;(function(e){e.pop="pop",e.push="push"})(Nr||(Nr={}));var br;(function(e){e.back="back",e.forward="forward",e.unknown=""})(br||(br={}));function Ty(e){if(!e)if(Wn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),by(e)}const Ly=/^[^#]+#/;function Ry(e,t){return e.replace(Ly,"#")+t}function ky(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const ro=()=>({left:window.scrollX,top:window.scrollY});function Ay(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=ky(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function kl(e,t){return(history.state?history.state.position-t:-1)+e}const yi=new Map;function Iy(e,t){yi.set(e,t)}function Oy(e){const t=yi.get(e);return yi.delete(e),t}let My=()=>location.protocol+"//"+location.host;function Qf(e,t){const{pathname:n,search:s,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Ll(l,"")}return Ll(n,e)+s+o}function Ny(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Qf(e,location),p=n.value,g=t.value;let v=0;if(d){if(n.value=c,t.value=d,i&&i===p){i=null;return}v=g?d.position-g.position:0}else s(c);o.forEach(w=>{w(n.value,p,{delta:v,type:Nr.pop,direction:v?v>0?br.forward:br.back:br.unknown})})};function l(){i=n.value}function h(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(Ce({},d.state,{scroll:ro()}),"")}function f(){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:h,destroy:f}}function Al(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?ro():null}}function Dy(e){const{history:t,location:n}=window,s={value:Qf(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,h,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:My()+e+l;try{t[u?"replaceState":"pushState"](h,"",d),o.value=h}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,h){const u=Ce({},t.state,Al(o.value.back,l,o.value.forward,!0),h,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,h){const u=Ce({},o.value,t.state,{forward:l,scroll:ro()});r(u.current,u,!0);const f=Ce({},Al(s.value,l,null),{position:u.position+1},h);r(l,f,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function zf(e){e=Ty(e);const t=Dy(e),n=Ny(e,t.state,t.location,t.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=Ce({location:"",base:e,go:s,createHref:Ry.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Fy(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),zf(e)}function $y(e){return typeof e=="string"||e&&typeof e=="object"}function Zf(e){return typeof e=="string"||typeof e=="symbol"}const ed=Symbol("");var Il;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Il||(Il={}));function nr(e,t){return Ce(new Error,{type:e,[ed]:!0},t)}function Bt(e,t){return e instanceof Error&&ed in e&&(t==null||!!(e.type&t))}const Ol="[^/]+?",Hy={sensitive:!1,strict:!1,start:!0,end:!0},By=/[.+*?^${}()[\]/\\]/g;function Uy(e,t){const n=Ce({},Hy,t),s=[];let o=n.start?"^":"";const r=[];for(const h of e){const u=h.length?[]:[90];n.strict&&!h.length&&(o+="/");for(let f=0;f<h.length;f++){const d=h[f];let c=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(By,"\\$&"),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 b=w||Ol;if(b!==Ol){c+=10;try{new RegExp(`(${b})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${b}): `+_.message)}}let y=g?`((?:${b})(?:/(?:${b}))*)`:`(${b})`;f||(y=v&&h.length<2?`(?:/${y})`:"/"+y),v&&(y+="?"),o+=y,c+=20,v&&(c+=-8),g&&(c+=-20),b===".*"&&(c+=-50)}u.push(c)}s.push(u)}if(n.strict&&n.end){const h=s.length-1;s[h][s[h].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(h){const u=h.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const c=u[d]||"",p=r[d-1];f[p.name]=c&&p.repeatable?c.split("/"):c}return f}function l(h){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!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 h?h[p]:"";if(It(w)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const b=It(w)?w.join("/"):w;if(!b)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=b}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function Vy(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function td(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=Vy(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(Ml(s))return 1;if(Ml(o))return-1}return o.length-s.length}function Ml(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const jy={type:0,value:""},Wy=/[a-zA-Z0-9_]/;function Ky(e){if(!e)return[[]];if(e==="/")return[[jy]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${h}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,h="",u="";function f(){h&&(n===0?r.push({type:0,value:h}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:h,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),h="")}function d(){h+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(h&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=s;break;case 1:l==="("?n=2:Wy.test(l)?d():(f(),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:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${h}"`),f(),i(),o}function Gy(e,t,n){const s=Uy(Ky(e.path),n),o=Ce(s,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Xy(e,t){const n=[],s=new Map;t=Fl({strict:!1,end:!0,sensitive:!1},t);function o(f){return s.get(f)}function r(f,d,c){const p=!c,g=Yy(f);g.aliasOf=c&&c.record;const v=Fl(t,f),w=[g];if("alias"in f){const _=typeof f.alias=="string"?[f.alias]:f.alias;for(const m of _)w.push(Ce({},g,{components:c?c.record.components:g.components,path:m,aliasOf:c?c.record:g}))}let b,y;for(const _ of w){const{path:m}=_;if(d&&m[0]!=="/"){const x=d.record.path,E=x[x.length-1]==="/"?"":"/";_.path=d.record.path+(m&&E+m)}if(b=Gy(_,d,v),c?c.alias.push(b):(y=y||b,y!==b&&y.alias.push(b),p&&f.name&&!Dl(b)&&i(f.name)),nd(b)&&l(b),g.children){const x=g.children;for(let E=0;E<x.length;E++)r(x[E],b,c&&c.children[E])}c=c||b}return y?()=>{i(y)}:wr}function i(f){if(Zf(f)){const d=s.get(f);d&&(s.delete(f),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(f);d>-1&&(n.splice(d,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function a(){return n}function l(f){const d=Qy(f,n);n.splice(d,0,f),f.record.name&&!Dl(f)&&s.set(f.record.name,f)}function h(f,d){let c,p={},g,v;if("name"in f&&f.name){if(c=s.get(f.name),!c)throw nr(1,{location:f});v=c.record.name,p=Ce(Nl(d.params,c.keys.filter(y=>!y.optional).concat(c.parent?c.parent.keys.filter(y=>y.optional):[]).map(y=>y.name)),f.params&&Nl(f.params,c.keys.map(y=>y.name))),g=c.stringify(p)}else if(f.path!=null)g=f.path,c=n.find(y=>y.re.test(g)),c&&(p=c.parse(g),v=c.record.name);else{if(c=d.name?s.get(d.name):n.find(y=>y.re.test(d.path)),!c)throw nr(1,{location:f,currentLocation:d});v=c.record.name,p=Ce({},d.params,f.params),g=c.stringify(p)}const w=[];let b=c;for(;b;)w.unshift(b.record),b=b.parent;return{name:v,path:g,params:p,matched:w,meta:qy(w)}}e.forEach(f=>r(f));function u(){n.length=0,s.clear()}return{addRoute:r,resolve:h,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:o}}function Nl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Yy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Jy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Jy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Dl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function qy(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function Fl(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Qy(e,t){let n=0,s=t.length;for(;n!==s;){const r=n+s>>1;td(e,t[r])<0?s=r:n=r+1}const o=zy(e);return o&&(s=t.lastIndexOf(o,s-1)),s}function zy(e){let t=e;for(;t=t.parent;)if(nd(t)&&td(e,t)===0)return t}function nd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Zy(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<s.length;++o){const r=s[o].replace(Gf," "),i=r.indexOf("="),a=Mr(i<0?r:r.slice(0,i)),l=i<0?null:Mr(r.slice(i+1));if(a in t){let h=t[a];It(h)||(h=t[a]=[h]),h.push(l)}else t[a]=l}return t}function $l(e){let t="";for(let n in e){const s=e[n];if(n=yy(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(It(s)?s.map(r=>r&&vi(r)):[s&&vi(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function e0(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=It(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const t0=Symbol(""),Hl=Symbol(""),ia=Symbol(""),aa=Symbol(""),_i=Symbol("");function dr(){let e=[];function t(s){return e.push(s),()=>{const o=e.indexOf(s);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function on(e,t,n,s,o,r=i=>i()){const i=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const h=d=>{d===!1?l(nr(4,{from:n,to:t})):d instanceof Error?l(d):$y(d)?l(nr(2,{from:t,to:d})):(i&&s.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=r(()=>e.call(s&&s.instances[o],t,n,h));let f=Promise.resolve(u);e.length<3&&(f=f.then(h)),f.catch(d=>l(d))})}function Do(e,t,n,s,o=r=>r()){const r=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(n0(l)){const u=(l.__vccOpts||l)[t];u&&r.push(on(u,n,s,i,a,o))}else{let h=l();r.push(()=>h.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=ay(u)?u.default:u;i.components[a]=f;const c=(f.__vccOpts||f)[t];return c&&on(c,n,s,i,a,o)()}))}}return r}function n0(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Bl(e){const t=et(ia),n=et(aa),s=ge(()=>{const l=te(e.to);return t.resolve(l)}),o=ge(()=>{const{matched:l}=s.value,{length:h}=l,u=l[h-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(tr.bind(null,u));if(d>-1)return d;const c=Ul(l[h-2]);return h>1&&Ul(u)===c&&f[f.length-1].path!==c?f.findIndex(tr.bind(null,l[h-2])):d}),r=ge(()=>o.value>-1&&i0(n.params,s.value.params)),i=ge(()=>o.value>-1&&o.value===n.matched.length-1&&qf(n.params,s.value.params));function a(l={}){return o0(l)?t[te(e.replace)?"replace":"push"](te(e.to)).catch(wr):Promise.resolve()}return{route:s,href:ge(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const r0=ze({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Bl,setup(e,{slots:t}){const n=mn(Bl(e)),{options:s}=et(ia),o=ge(()=>({[Vl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Vl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),s0=r0;function o0(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function i0(e,t){for(const n in t){const s=t[n],o=e[n];if(typeof s=="string"){if(s!==o)return!1}else if(!It(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Ul(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vl=(e,t,n)=>e??t??n,a0=ze({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=et(_i),o=ge(()=>e.route||s.value),r=et(Hl,0),i=ge(()=>{let h=te(r);const{matched:u}=o.value;let f;for(;(f=u[h])&&!f.components;)h++;return h}),a=ge(()=>o.value.matched[i.value]);cn(Hl,ge(()=>i.value+1)),cn(t0,a),cn(_i,o);const l=Ee();return dt(()=>[l.value,a.value,e.name],([h,u,f],[d,c,p])=>{u&&(u.instances[f]=h,c&&c!==u&&h&&h===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),h&&u&&(!c||!tr(u,c)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(h))},{flush:"post"}),()=>{const h=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return jl(n.default,{Component:d,route:h});const c=f.props[u],p=c?c===!0?h.params:typeof c=="function"?c(h):c:null,v=Ye(d,Ce({},p,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return jl(n.default,{Component:v,route:h})||v}}});function jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const rd=a0;function l0(e){const t=Xy(e.routes,e),n=e.parseQuery||Zy,s=e.stringifyQuery||$l,o=e.history,r=dr(),i=dr(),a=dr(),l=zn(St);let h=St;Wn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mo.bind(null,V=>""+V),f=Mo.bind(null,xy),d=Mo.bind(null,Mr);function c(V,q){let z,ee;return Zf(V)?(z=t.getRecordMatcher(V),ee=q):ee=V,t.addRoute(ee,z)}function p(V){const q=t.getRecordMatcher(V);q&&t.removeRoute(q)}function g(){return t.getRoutes().map(V=>V.record)}function v(V){return!!t.getRecordMatcher(V)}function w(V,q){if(q=Ce({},q||l.value),typeof V=="string"){const I=No(n,V,q.path),D=t.resolve({path:I.path},q),W=o.createHref(I.fullPath);return Ce(I,D,{params:d(D.params),hash:Mr(I.hash),redirectedFrom:void 0,href:W})}let z;if(V.path!=null)z=Ce({},V,{path:No(n,V.path,q.path).path});else{const I=Ce({},V.params);for(const D in I)I[D]==null&&delete I[D];z=Ce({},V,{params:f(I)}),q.params=f(q.params)}const ee=t.resolve(z,q),de=V.hash||"";ee.params=u(d(ee.params));const _e=Ey(s,Ce({},V,{hash:vy(de),path:ee.path})),A=o.createHref(_e);return Ce({fullPath:_e,hash:de,query:s===$l?e0(V.query):V.query||{}},ee,{redirectedFrom:void 0,href:A})}function b(V){return typeof V=="string"?No(n,V,l.value.path):Ce({},V)}function y(V,q){if(h!==V)return nr(8,{from:q,to:V})}function _(V){return E(V)}function m(V){return _(Ce(b(V),{replace:!0}))}function x(V){const q=V.matched[V.matched.length-1];if(q&&q.redirect){const{redirect:z}=q;let ee=typeof z=="function"?z(V):z;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=b(ee):{path:ee},ee.params={}),Ce({query:V.query,hash:V.hash,params:ee.path!=null?{}:V.params},ee)}}function E(V,q){const z=h=w(V),ee=l.value,de=V.state,_e=V.force,A=V.replace===!0,I=x(z);if(I)return E(Ce(b(I),{state:typeof I=="object"?Ce({},de,I.state):de,force:_e,replace:A}),q||z);const D=z;D.redirectedFrom=q;let W;return!_e&&Sy(s,ee,z)&&(W=nr(16,{to:D,from:ee}),ce(ee,ee,!0,!1)),(W?Promise.resolve(W):L(D,ee)).catch(U=>Bt(U)?Bt(U,2)?U:ue(U):Y(U,D,ee)).then(U=>{if(U){if(Bt(U,2))return E(Ce({replace:A},b(U.to),{state:typeof U.to=="object"?Ce({},de,U.to.state):de,force:_e}),q||D)}else U=C(D,ee,!0,A,de);return T(D,ee,U),U})}function S(V,q){const z=y(V,q);return z?Promise.reject(z):Promise.resolve()}function P(V){const q=ye.values().next().value;return q&&typeof q.runWithContext=="function"?q.runWithContext(V):V()}function L(V,q){let z;const[ee,de,_e]=c0(V,q);z=Do(ee.reverse(),"beforeRouteLeave",V,q);for(const I of ee)I.leaveGuards.forEach(D=>{z.push(on(D,V,q))});const A=S.bind(null,V,q);return z.push(A),fe(z).then(()=>{z=[];for(const I of r.list())z.push(on(I,V,q));return z.push(A),fe(z)}).then(()=>{z=Do(de,"beforeRouteUpdate",V,q);for(const I of de)I.updateGuards.forEach(D=>{z.push(on(D,V,q))});return z.push(A),fe(z)}).then(()=>{z=[];for(const I of _e)if(I.beforeEnter)if(It(I.beforeEnter))for(const D of I.beforeEnter)z.push(on(D,V,q));else z.push(on(I.beforeEnter,V,q));return z.push(A),fe(z)}).then(()=>(V.matched.forEach(I=>I.enterCallbacks={}),z=Do(_e,"beforeRouteEnter",V,q,P),z.push(A),fe(z))).then(()=>{z=[];for(const I of i.list())z.push(on(I,V,q));return z.push(A),fe(z)}).catch(I=>Bt(I,8)?I:Promise.reject(I))}function T(V,q,z){a.list().forEach(ee=>P(()=>ee(V,q,z)))}function C(V,q,z,ee,de){const _e=y(V,q);if(_e)return _e;const A=q===St,I=Wn?history.state:{};z&&(ee||A?o.replace(V.fullPath,Ce({scroll:A&&I&&I.scroll},de)):o.push(V.fullPath,de)),l.value=V,ce(V,q,z,A),ue()}let O;function F(){O||(O=o.listen((V,q,z)=>{if(!He.listening)return;const ee=w(V),de=x(ee);if(de){E(Ce(de,{replace:!0}),ee).catch(wr);return}h=ee;const _e=l.value;Wn&&Iy(kl(_e.fullPath,z.delta),ro()),L(ee,_e).catch(A=>Bt(A,12)?A:Bt(A,2)?(E(A.to,ee).then(I=>{Bt(I,20)&&!z.delta&&z.type===Nr.pop&&o.go(-1,!1)}).catch(wr),Promise.reject()):(z.delta&&o.go(-z.delta,!1),Y(A,ee,_e))).then(A=>{A=A||C(ee,_e,!1),A&&(z.delta&&!Bt(A,8)?o.go(-z.delta,!1):z.type===Nr.pop&&Bt(A,20)&&o.go(-1,!1)),T(ee,_e,A)}).catch(wr)}))}let $=dr(),B=dr(),j;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 se(){return j&&l.value!==St?Promise.resolve():new Promise((V,q)=>{$.add([V,q])})}function ue(V){return j||(j=!V,F(),$.list().forEach(([q,z])=>V?z(V):q()),$.reset()),V}function ce(V,q,z,ee){const{scrollBehavior:de}=e;if(!Wn||!de)return Promise.resolve();const _e=!z&&Oy(kl(V.fullPath,0))||(ee||!z)&&history.state&&history.state.scroll||null;return vn().then(()=>de(V,q,_e)).then(A=>A&&Ay(A)).catch(A=>Y(A,V,q))}const ne=V=>o.go(V);let Se;const ye=new Set,He={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:se,install(V){const q=this;V.component("RouterLink",s0),V.component("RouterView",rd),V.config.globalProperties.$router=q,Object.defineProperty(V.config.globalProperties,"$route",{enumerable:!0,get:()=>te(l)}),Wn&&!Se&&l.value===St&&(Se=!0,_(o.location).catch(de=>{}));const z={};for(const de in St)Object.defineProperty(z,de,{get:()=>l.value[de],enumerable:!0});V.provide(ia,q),V.provide(aa,Gt(z)),V.provide(_i,l);const ee=V.unmount;ye.add(V),V.unmount=function(){ye.delete(V),ye.size<1&&(h=St,O&&O(),O=null,l.value=St,Se=!1,j=!1),ee()}}};function fe(V){return V.reduce((q,z)=>q.then(()=>P(z)),Promise.resolve())}return He}function c0(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(h=>tr(h,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(h=>tr(h,l))||o.push(l))}return[n,s,o]}function u0(e){return et(aa)}const f0=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""}),xi=(e,t)=>{const n=e.route.matched.find(o=>{var r;return((r=o.components)==null?void 0:r.default)===e.Component.type}),s=t??(n==null?void 0:n.meta.key)??(n&&f0(e.route,n));return typeof s=="function"?s(e.route):s},d0=(e,t)=>({default:()=>e?Ye(tp,e===!0?{}:e,t):t});function la(e){return Array.isArray(e)?e:[e]}const h0="modulepreload",p0=function(e,t){return new URL(e,t).href},Wl={},g0=function(t,n,s){let o=Promise.resolve();if(n&&n.length>0){const r=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(l=>{if(l=p0(l,s),l in Wl)return;Wl[l]=!0;const h=l.endsWith(".css"),u=h?'[rel="stylesheet"]':"";if(!!s)for(let c=r.length-1;c>=0;c--){const p=r[c];if(p.href===l&&(!h||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=h?"stylesheet":h0,h||(d.as="script"),d.crossOrigin="",d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),h)return new Promise((c,p)=>{d.addEventListener("load",c),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},De=(...e)=>g0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Fo=[{name:"about___en___default",path:"/about",component:()=>De(()=>import("./tMdnk4IJ.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___en",path:"/en/about",component:()=>De(()=>import("./tMdnk4IJ.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"about___it",path:"/it/about",component:()=>De(()=>import("./tMdnk4IJ.js"),__vite__mapDeps([0,1,2,3]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en___default",path:"/contacts",component:()=>De(()=>import("./jNqnsl6s.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___en",path:"/en/contacts",component:()=>De(()=>import("./jNqnsl6s.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"contacts___it",path:"/it/contacts",component:()=>De(()=>import("./jNqnsl6s.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en___default",path:"/",component:()=>De(()=>import("./oSXrvlBW.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",component:()=>De(()=>import("./oSXrvlBW.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"index___it",path:"/it",component:()=>De(()=>import("./oSXrvlBW.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(e=>e.default||e)},{name:"projects___en___default",path:"/projects",component:()=>De(()=>import("./Byq2AfCd.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___en",path:"/en/projects",component:()=>De(()=>import("./Byq2AfCd.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"projects___it",path:"/it/projects",component:()=>De(()=>import("./Byq2AfCd.js"),__vite__mapDeps([6,1]),import.meta.url).then(e=>e.default||e)},{name:"resume___en___default",path:"/resume",component:()=>De(()=>import("./CgqdVxdT.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___en",path:"/en/resume",component:()=>De(()=>import("./CgqdVxdT.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)},{name:"resume___it",path:"/it/resume",component:()=>De(()=>import("./CgqdVxdT.js"),__vite__mapDeps([7,1,8]),import.meta.url).then(e=>e.default||e)}],sd=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var s;return t?Ye(e,t,n):(s=n.default)==null?void 0:s.call(n)}});function Kl(e){const t=(e==null?void 0:e.meta.key)??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var s;return((s=e.params[n.slice(1)])==null?void 0:s.toString())||""});return typeof t=="function"?t(e):t}function m0(e,t){return e===t||t===St?!1:Kl(e)!==Kl(t)?!0:!e.matched.every((s,o)=>{var r,i;return s.components&&s.components.default===((i=(r=t.matched[o])==null?void 0:r.components)==null?void 0:i.default)})}const v0={scrollBehavior(e,t,n){var h;const s=me(),o=((h=Qe().options)==null?void 0:h.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&m0(e,t)&&(r={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:Gl(e.hash),behavior:o}:!1;const a=u=>!!(u.meta.pageTransition??li),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await new Promise(f=>setTimeout(f,0)),e.hash&&(r={el:e.hash,top:Gl(e.hash),behavior:o}),u(r)})})}};function Gl(e){try{const t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}const y0={hashMode:!1,scrollBehaviorType:"auto"},yt={...y0,...v0},_0=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=me(),o=Qe(),r=([t,n]=Tt(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t);if(r===!0)return;const i=to({statusCode:r&&r.statusCode||404,statusMessage:r&&r.statusMessage||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(h=>{if(a(),h===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Gn(i)),window==null||window.history.pushState({},"",e.fullPath)});return!1}})},x0=async e=>{let t,n;const s=([t,n]=Tt(()=>sa(e.path)),t=await t,n(),t);if(s.redirect)return bt(s.redirect,{acceptRelative:!0})?(window.location.href=s.redirect,!1):s.redirect},w0=[_0,x0],Er={};function b0(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const h=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(h);return u[0]!=="/"&&(u="/"+u),ll(u,"")}const a=ll(s,e),l=!n||si(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const E0=Mt({name:"nuxt:router",enforce:"pre",async setup(e){var v;let t,n,s=ht().app.baseURL;yt.hashMode&&!s.includes("#")&&(s+="#");const o=((v=yt.history)==null?void 0:v.call(yt,s))??(yt.hashMode?Fy(s):zf(s)),r=yt.routes?([t,n]=Tt(()=>yt.routes(Fo)),t=await t,n(),t??Fo):Fo;let i;const a=l0({...yt,scrollBehavior:(w,b,y)=>{if(b===St){i=y;return}if(yt.scrollBehavior){if(a.options.scrollBehavior=yt.scrollBehavior,"scrollRestoration"in window.history){const _=a.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return yt.scrollBehavior(w,St,i||y)}},history:o,routes:r});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=zn(a.currentRoute.value);a.afterEach((w,b)=>{l.value=b}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const h=b0(s,window.location,e.payload.path),u=zn(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((w,b)=>{var y,_,m,x;((_=(y=w.matched[0])==null?void 0:y.components)==null?void 0:_.default)===((x=(m=b.matched[0])==null?void 0:m.components)==null?void 0:x.default)&&f()});const d={};for(const w in u.value)Object.defineProperty(d,w,{get:()=>u.value[w]});e._route=Gt(d),e._middleware=e._middleware||{global:[],named:{}};const c=eo();a.afterEach(async(w,b,y)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(ov),y&&await e.callHook("page:loading:end"),w.matched.length===0&&await e.runWithContext(()=>Gn(fi({statusCode:404,fatal:!1,statusMessage:`Page not found: ${w.fullPath}`,data:{path:w.fullPath}})))});try{[t,n]=Tt(()=>a.isReady()),await t,n()}catch(w){[t,n]=Tt(()=>e.runWithContext(()=>Gn(w))),await t,n()}const p=h!==a.currentRoute.value.fullPath?a.resolve(h):a.currentRoute.value;f();const g=e.payload.state._layout;return a.beforeEach(async(w,b)=>{var y;await e.callHook("page:loading:start"),w.meta=mn(w.meta),e.isHydrating&&g&&!dn(w.meta.layout)&&(w.meta.layout=g),e._processingMiddleware=!0;{const _=new Set([...w0,...e._middleware.global]);for(const m of w.matched){const x=m.meta.middleware;if(x)for(const E of la(x))_.add(E)}{const m=await e.runWithContext(()=>sa(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=Er[m])==null?void 0:y.call(Er).then(S=>S.default||S)):m;if(!x)throw new Error(`Unknown route middleware: '${m}'.`);const E=await e.runWithContext(()=>x(w,b));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const S=E||fi({statusCode:404,statusMessage:`Page Not Found: ${h}`});return await e.runWithContext(()=>Gn(S)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),e.hooks.hookOnce("app:created",async()=>{try{"name"in p&&(p.name=void 0),await a.replace({...p,force:!0}),a.options.scrollBehavior=yt.scrollBehavior}catch(w){await e.runWithContext(()=>Gn(w))}}),{provide:{router:a}}}}),wi=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),S0=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),so=e=>{const t=me();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{wi(()=>e())}):wi(()=>e())},C0=Mt({name:"nuxt:payload",setup(e){Qe().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Pl(t.path);s&&Object.assign(e.static.data,s.data)}),so(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:s}=new URL(n,window.location.href);s===window.location.hostname&&await Pl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(no,1e3)})}}),P0=Mt(()=>{const e=Qe();so(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),T0=Mt(e=>{let t;async function n(){const s=await no();t&&clearTimeout(t),t=setTimeout(n,dl);try{const o=await $fetch(ra("builds/latest.json")+`?${Date.now()}`);o.id!==s.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}so(()=>{t=setTimeout(n,dl)})});function L0(e={}){const t=e.path||window.location.pathname;let n={};try{n=Ir(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:me().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const R0=Mt({name:"nuxt:chunk-reload",setup(e){const t=Qe(),n=ht(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)});function o(r){const a="href"in r&&r.href[0]==="#"?n.app.baseURL+r.href:Fn(n.app.baseURL,r.fullPath);L0({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((r,i)=>{s.has(r)&&o(i)})}}),k0=Mt({name:"nuxt:global-components"}),an={},A0=Mt({name:"nuxt:prefetch",setup(e){const t=Qe();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var o;const s=(o=n==null?void 0:n.meta)==null?void 0:o.layout;s&&typeof an[s]=="function"&&await an[s]()})}),e.hooks.hook("link:prefetch",n=>{if(bt(n))return;const s=t.resolve(n);if(!s)return;const o=s.meta.layout;let r=la(s.meta.middleware);r=r.filter(i=>typeof i=="string");for(const i of r)typeof Er[i]=="function"&&Er[i]();o&&typeof an[o]=="function"&&an[o]()})}});function Ct(e){if(typeof e!="object")return e;var t,n,s=Object.prototype.toString.call(e);if(s==="[object Object]"){if(e.constructor!==Object&&typeof e.constructor=="function"){n=new e.constructor;for(t in e)e.hasOwnProperty(t)&&n[t]!==e[t]&&(n[t]=Ct(e[t]))}else{n={};for(t in e)t==="__proto__"?Object.defineProperty(n,t,{value:Ct(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=Ct(e[t])}return n}if(s==="[object Array]"){for(t=e.length,n=Array(t);t--;)n[t]=Ct(e[t]);return n}return s==="[object Set]"?(n=new Set,e.forEach(function(o){n.add(Ct(o))}),n):s==="[object Map]"?(n=new Map,e.forEach(function(o,r){n.set(Ct(r),Ct(o))}),n):s==="[object Date]"?new Date(+e):s==="[object RegExp]"?(n=new RegExp(e.source,e.flags),n.lastIndex=e.lastIndex,n):s==="[object DataView]"?new e.constructor(Ct(e.buffer)):s==="[object ArrayBuffer]"?e.slice(0):s.slice(-6)==="Array]"?new e.constructor(e):e}const I0={path:"/",watch:!0,decode:e=>Ir(decodeURIComponent(e)),encode:e=>encodeURIComponent(typeof e=="string"?e:JSON.stringify(e))},as=window.cookieStore;function O0(e,t){var l;const n={...I0,...t};n.filter??(n.filter=h=>h===e);const s=Xl(n)||{};let o;n.maxAge!==void 0?o=n.maxAge*1e3:n.expires&&(o=n.expires.getTime()-Date.now());const r=o!==void 0&&o<=0,i=Ct(r?void 0:s[e]??((l=n.default)==null?void 0:l.call(n))),a=o&&!r?D0(i,o,n.watch&&n.watch!=="shallow"):Ee(i);{let h=null;try{!as&&typeof BroadcastChannel<"u"&&(h=new BroadcastChannel(`nuxt:cookies:${e}`))}catch{}const u=()=>{n.readonly||Ym(a.value,s[e])||(N0(e,a.value,n),s[e]=Ct(a.value),h==null||h.postMessage({value:n.encode(a.value)}))},f=p=>{var v;const g=p.refresh?(v=Xl(n))==null?void 0:v[e]:n.decode(p.value);d=!0,a.value=g,s[e]=Ct(g),vn(()=>{d=!1})};let d=!1;const c=!!js();if(c&&Uo(()=>{d=!0,u(),h==null||h.close()}),as){const p=g=>{const v=g.changed.find(b=>b.name===e),w=g.deleted.find(b=>b.name===e);v&&f({value:v.value}),w&&f({value:null})};as.addEventListener("change",p),c&&Uo(()=>as.removeEventListener("change",p))}else h&&(h.onmessage=({data:p})=>f(p));n.watch?dt(a,()=>{d||u()},{deep:n.watch!=="shallow"}):u()}return a}function Xl(e={}){return Vm(document.cookie,e)}function M0(e,t,n={}){return t==null?pl(e,t,{...n,maxAge:-1}):pl(e,t,n)}function N0(e,t,n={}){document.cookie=M0(e,t,n)}const Yl=2147483647;function D0(e,t,n){let s,o,r=0;const i=n?Ee(e):{value:e};return js()&&Uo(()=>{o==null||o(),clearTimeout(s)}),Dh((a,l)=>{n&&(o=dt(i,l));function h(){r=0,clearTimeout(s);const u=t-r,f=u<Yl?u:Yl;s=setTimeout(()=>{if(r+=f,r<t)return h();i.value=void 0,l()},f)}return{get(){return a(),i.value},set(u){h(),i.value=u,l()}}})}/*!
* shared v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Os=typeof window<"u",_n=(e,t=!1)=>t?Symbol.for(e):Symbol(e),F0=(e,t,n)=>$0({l:e,k:t,s:n}),$0=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Xe=e=>typeof e=="number"&&isFinite(e),H0=e=>id(e)==="[object Date]",Ms=e=>id(e)==="[object RegExp]",oo=e=>pe(e)&&Object.keys(e).length===0,$e=Object.assign;let Jl;const ca=()=>Jl||(Jl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ql(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const B0=Object.prototype.hasOwnProperty;function Ns(e,t){return B0.call(e,t)}const Fe=Array.isArray,be=e=>typeof e=="function",Z=e=>typeof e=="string",Ae=e=>typeof e=="boolean",U0=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",V0=e=>he(e)&&be(e.then)&&be(e.catch),od=Object.prototype.toString,id=e=>od.call(e),pe=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},j0=e=>e==null?"":Fe(e)||pe(e)&&e.toString===od?JSON.stringify(e,null,2):String(e);function ua(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function io(e){let t=e;return()=>++t}function W0(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ls=e=>!he(e)||Fe(e);function Mn(e,t){if(ls(e)||ls(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:o}=n.pop();Object.keys(s).forEach(r=>{ls(s[r])||ls(o[r])?o[r]=s[r]:n.push({src:s[r],des:o[r]})})}}const rr=["en","it"],Ds={en:[{key:"../locales/en-US/general.ts",load:()=>De(()=>import("./B29_kTit.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/projects.ts",load:()=>De(()=>import("./CSZKke7c.js"),[],import.meta.url),cache:!0},{key:"../locales/en-US/resume.ts",load:()=>De(()=>import("./DNoOLGtr.js"),[],import.meta.url),cache:!0}],it:[{key:"../locales/it-IT/general.ts",load:()=>De(()=>import("./BUkrKSb_.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/projects.ts",load:()=>De(()=>import("./RtgaAZ7m.js"),[],import.meta.url),cache:!0},{key:"../locales/it-IT/resume.ts",load:()=>De(()=>import("./DrtRviTy.js"),[],import.meta.url),cache:!0}]},K0=[],ao=[{code:"en",name:"English",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/en-US/resume.ts"}],language:"en-US"},{code:"it",name:"Italiano",files:[{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/general.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/projects.ts"},{path:"/home/runner/work/notxia.github.io/notxia.github.io/locales/it-IT/resume.ts"}],language:"it-IT"}],ad="@nuxtjs/i18n",G0=!1,X0="nuxtI18n",Y0="i18n_redirected",Ql="nuxt-i18n-slp",J0=typeof window<"u";function q0(e){e=e||[];const t=[];for(const n of e)Z(n)?t.push({code:n}):t.push(n);return t}function Q0(e){return e!=null&&"global"in e&&"mode"in e}function z0(e){return e!=null&&!("__composer"in e)&&"locale"in e&&Ne(e.locale)}function ld(e){return e!=null&&"__composer"in e}function xn(e){return Q0(e)?e.global:e}function sr(e){const t=xn(e);return z0(t)?t:ld(t)?t.__composer:t}function lo(e){return te(xn(e).locale)}function Z0(e){return te(xn(e).locales)}function e_(e){return te(xn(e).localeCodes)}function cd(e,t){const n=xn(e);Ne(n.locale)?n.locale.value=t:n.locale=t}function ud(e){return Z(e)?e:U0(e)?e.toString():"(null)"}function zl(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r,differentDomains:i}){const a=s!=="no_prefix"||i;let l=ud(e)+(a?o+t:"");return t===n&&s==="prefix_and_default"&&(l+=o+r),l}function Zl(e,t){return be(e)?e(t):e}function t_(e,t){const n=[];for(const[s,o]of t.entries()){const r=e.find(i=>i.language.toLowerCase()===o.toLowerCase());if(r){n.push({code:r.code,score:1-s/t.length});break}}for(const[s,o]of t.entries()){const r=o.split("-")[0].toLowerCase(),i=e.find(a=>a.language.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const n_=t_;function r_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const s_=r_;function o_(e,t,{matcher:n=n_,comparer:s=s_}={}){const o=[];for(const i of e){const{code:a}=i,l=i.language||a;o.push({code:a,language:l})}const r=n(o,t);return r.length>1&&r.sort(s),r.length?r[0].code:""}function fa(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}const i_="$s";function fd(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const o=i_+n,r=me(),i=hu(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Ne(a))return r.payload.state[o]=a,a;i.value=a}return i}const Sr=new Map;async function a_(e,t){const n={messages:{}};for(const s of e){const{default:o}=await s(),r=be(o)?await t.runWithContext(async()=>await o()):o;Mn(r,n)}return n}function dd(e,t){let n=[];if(Fe(e))n=e;else if(he(e)){const s=[...t,"default"];for(const o of s)e[o]&&(n=[...n,...e[o].filter(Boolean)])}else Z(e)&&t.every(s=>s!==e)&&n.push(e);return n}async function l_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n;if(a&&i){const h=dd(i,[s,o]);await Promise.all(h.map(u=>ec(u,t,e)))}const l=a?[...new Set().add(s).add(o)]:r;return await Promise.all(l.map(h=>ec(h,t,e))),e}async function c_(e,{key:t,load:n}){let s=null;try{const o=await n().then(r=>r.default||r);be(o)?s=await o(e):(s=o,s!=null&&Sr&&Sr.set(t,s))}catch(o){console.error("Failed locale loading: "+o.message)}return s}async function Fs(e,t,n){const s=t[e];if(s==null){console.warn("Could not find messages for locale code: "+e);return}const o={};for(const r of s){let i=null;Sr&&Sr.has(r.key)&&r.cache?i=Sr.get(r.key):i=await c_(e,r),i!=null&&Mn(i,o)}n(e,o)}async function ec(e,t,n){await Fs(e,t,(o,r)=>{const i=n[o]||{};Mn(r,i),n[o]=i})}function u_(e,t){return[e.slice(0,t),e.slice(t)]}function f_(e){const{fullPath:t,query:n,hash:s,name:o,path:r,params:i,meta:a,redirectedFrom:l,matched:h}=e;return{fullPath:t,params:i,query:n,hash:s,name:o,path:r,meta:a,matched:h,redirectedFrom:l}}function d_({router:e},t,n,s){var h,u;if(n!=="prefix")return e.resolve(t);const[o,r]=u_(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,a=(u=(h=e.options)==null?void 0:h.routes)==null?void 0:u.find(f=>f.path===i);if(a==null)return t;const l=$e({},t,a);return l.path=i,e.resolve(l)}const h_=new Set(["prefix_and_default","prefix_except_default"]);function p_(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&h_.has(s))&&s!=="no_prefix"}const g_=p_;function or(e,t){const{routesNameSeparator:n}=e.runtimeConfig.public.i18n,s=te(t);return s==null||!s.name?void 0:ud(s.name).split(n)[0]}function co(e,t,n){var o;if(typeof t=="string"&&bt(t,{acceptRelative:!0}))return t;const s=uo(e,t,n);return s==null?"":((o=s.redirectedFrom)==null?void 0:o.fullPath)||s.fullPath}function da(e,t,n){return uo(e,t,n)??void 0}function m_(e,t,n){return uo(e,t,n)??void 0}function uo(e,t,n){const{router:s,i18n:o}=e,r=n||lo(o),{defaultLocale:i,strategy:a,trailingSlash:l}=e.runtimeConfig.public.i18n,h=A_(e.runtimeConfig);let u;if(Z(t))if(t[0]==="/"){const{pathname:c,search:p,hash:g}=oi(t),v=ta(p);u={path:c,query:v,hash:g}}else u={name:t};else u=t;let f=$e({},u);if((c=>"path"in c&&!!c.path&&!("name"in c))(f)){const c=d_(e,f,a,r),p=or(e,c);Z(p)?(f={name:zl(p,r,e.runtimeConfig.public.i18n),params:c.params,query:c.query,hash:c.hash},f.state=c.state):(h({currentLocale:r,defaultLocale:i,strategy:a})&&(f.path=`/${r}${f.path}`),f.path=l?Or(f.path,!0):Wr(f.path,!0))}else!f.name&&!("path"in f)&&(f.name=or(e,s.currentRoute.value)),f.name=zl(f.name,r,e.runtimeConfig.public.i18n);try{const c=s.resolve(f);return c.name?c:s.resolve(t)}catch(c){if(typeof c=="object"&&"type"in c&&c.type===1)return null}}const v_=e=>e;function y_(e,t){var s;if(e.runtimeConfig.public.i18n.experimental.switchLocalePathLinkSSR)return te(e.metaState.value);const n=t.meta||{};return((s=te(n))==null?void 0:s[X0])||{}}function ir(e,t,n){const s=n??e.router.currentRoute.value,o=or(e,s);if(!o)return"";const r=I_(e.runtimeConfig),i=f_(s),a=y_(e,s)[t],l={...i,name:o,params:{...i.params,...a}},h=co(e,l,t);return r(h,t)}function hd(e,{addDirAttribute:t=!1,addSeoAttributes:n=!0,identifierAttribute:s="hid"}){const{defaultDirection:o}=ht().public.i18n,r=sr(e.i18n),i={htmlAttrs:{},link:[],meta:[]};if(te(r.locales)==null||te(r.baseUrl)==null)return i;const a=lo(e.i18n),l=Z0(e.i18n),h=q0(l).find(d=>d.code===a)||{code:a},u=h.language,f=h.dir||o;return t&&(i.htmlAttrs.dir=f),n&&a&&te(r.locales)&&(u&&(i.htmlAttrs.lang=u),i.link.push(...__(e,te(l),s),...x_(e,s,n)),i.meta.push(...w_(e,s,n),...b_(h,u,s),...E_(te(l),u,s))),i}function ha(){const e=me(),t=sr(e.$i18n);return Fn(te(t.baseUrl),e.$config.app.baseURL)}function __(e,t,n){const s=ha(),{defaultLocale:o,strategy:r}=ht().public.i18n,i=[];if(r==="no_prefix")return i;const a=new Map;for(const l of t){const h=l.language;if(!h){console.warn("Locale `language` ISO code is required to generate alternate link");continue}const[u,f]=h.split("-");u&&f&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(h,l)}for(const[l,h]of a.entries()){const u=ir(e,h.code);u&&i.push({[n]:`i18n-alt-${l}`,rel:"alternate",href:bi(u,s),hreflang:l})}if(o){const l=ir(e,o);l&&i.push({[n]:"i18n-xd",rel:"alternate",href:bi(l,s),hreflang:"x-default"})}return i}function pd(e,t,n){const s=e.router.currentRoute.value,o=da(e,{...s,path:void 0,name:or(e,s)});if(!o)return"";let r=bi(o.path,t);const i=he(n)&&n.canonicalQueries||[],a=o.query,l=new URLSearchParams;for(const u of i)if(u in a){const f=a[u];Fe(f)?f.forEach(d=>l.append(u,d||"")):l.append(u,f||"")}const h=l.toString();return h&&(r=`${r}?${h}`),r}function x_(e,t,n){const s=ha(),o=pd(e,s,n);return o?[{[t]:"i18n-can",rel:"canonical",href:o}]:[]}function w_(e,t,n){const s=ha(),o=pd(e,s,n);return o?[{[t]:"i18n-og-url",property:"og:url",content:o}]:[]}function b_(e,t,n){return!e||!t?[]:[{[n]:"i18n-og",property:"og:locale",content:gd(t)}]}function E_(e,t,n){return e.filter(o=>o.language&&o.language!==t).map(o=>({[n]:`i18n-og-alt-${o.language}`,property:"og:locale:alternate",content:gd(o.language)}))}function gd(e){return(e||"").replace(/-/g,"_")}function bi(e,t){return e.match(/^https?:\/\//)?e:Fn(t,e)}function md(){const{routesNameSeparator:e,defaultLocaleRouteNameSuffix:t}=ht().public.i18n,n=`(${rr.join("|")})`,s=`(?:${e}${t})?`,o=new RegExp(`${e}${n}${s}$`,"i"),r=fa(rr);return a=>{if(he(a)){if(a.name){const h=(Z(a.name)?a.name:a.name.toString()).match(o);if(h&&h.length>1)return h[1]}else if(a.path){const l=a.path.match(r);if(l&&l.length>1)return l[1]}}else if(Z(a)){const l=a.match(r);if(l&&l.length>1)return l[1]}return""}}function S_(e,t){return Gr(e,"setLocale",t)}function C_(e,t){return Gr(e,"setLocaleCookie",t)}function vd(e,t,n){return Gr(e,"mergeLocaleMessage",t,n)}async function P_(e,t,n,s,o){return Gr(e,"onBeforeLanguageSwitch",t,n,s,o)}function T_(e,t,n){return Gr(e,"onLanguageSwitched",t,n)}function pa(e){return{i18n:e??me().$i18n,router:Qe(),runtimeConfig:ht(),metaState:fd("nuxt-i18n-meta",()=>({}))}}async function tc(e,t,n,s=!1){const{differentDomains:o,skipSettingLocaleOnNavigate:r,lazy:i}=n,a=Xr(n),l=me(),h=lo(t),u=e_(t);function f(c=h){a===!1||!a.useCookie||r||C_(t,c)}if(!e||!s&&o||h===e)return f(),!1;const d=await P_(t,h,e,s,l);if(d&&u.includes(d)){if(h===d)return f(),!1;e=d}if(i){const c=M_(t,"fallbackLocale"),p=(g,v)=>vd(t,g,v);if(c){const g=dd(c,[e]);await Promise.all(g.map(v=>Fs(v,Ds,p)))}await Fs(e,Ds,p)}return r?!1:(f(e),cd(t,e),await T_(t,h,e),!0)}function yd(e){return{log:console.log.bind(console,`${e}:`)}}function nc(e,t,n,s,o){const{strategy:r,defaultLocale:i,differentDomains:a,multiDomainLocales:l}=o,{localeCookie:h}=s,u=Xr(o);yd("detectLocale");const f=be(n)?n():n,d=bd(e,s,f);if(d.reason===wd.SSG_IGNORE)return f;if(d.locale&&d.from!=null)return d.locale;let c="";a||l?c||(c=$_(ao,r,e)):r!=="no_prefix"&&(c||(c=t(e)));const p=u&&u.useCookie&&h;return c||(c=p||f||i||""),c}function rc({route:e,targetLocale:t,routeLocaleGetter:n,calledWithRouting:s=!1}){const o=me(),r=pa(),{strategy:i,differentDomains:a}=r.runtimeConfig.public.i18n;let l="";const{fullPath:h}=e.to;if(!a&&(s||i!=="no_prefix")&&n(e.to)!==t){const u=o.$switchLocalePath(t)||o.$localePath(h,t);Z(u)&&u&&!si(u,h)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&n(e.to)!==t){const u=ir(r,t,e.to);Z(u)&&u&&!si(u,h)&&!u.startsWith("//")&&(l=u)}return l}function L_(e){return he(e)&&"path"in e&&"statusCode"in e}const R_=()=>fd(ad+":redirect",()=>"");function Un(e,t){return If(e,{redirectCode:t})}async function sc(e,{status:t=302,enableNavigate:n=!1}={}){const{nuxtApp:s,i18n:o,locale:r,route:i}=e,{rootRedirect:a,differentDomains:l,multiDomainLocales:h,skipSettingLocaleOnNavigate:u,configLocales:f,strategy:d}=s.$config.public.i18n;let{redirectPath:c}=e;if(i.path==="/"&&a)return Z(a)?c="/"+a:L_(a)&&(c="/"+a.path,t=a.statusCode),c=s.$localePath(c,r),Un(c,t);if(!(u&&(o.__pendingLocale=r,o.__pendingLocalePromise=new Promise(p=>{o.__resolvePendingLocalePromise=p}),!n))){if(h&&d==="prefix_except_default"){const p=fo(),g=f.find(w=>{var b;return typeof w!="string"?(b=w.defaultForDomains)==null?void 0:b.find(y=>y===p):!1}),v=typeof g!="string"?g==null?void 0:g.code:void 0;if(i.path.startsWith(`/${v}`))return Un(i.path.replace(`/${v}`,""),t);if(!i.path.startsWith(`/${r}`)&&r!==v){const b=md()(i.path);return Un(b!==""?`/${r+i.path.replace(`/${b}`,"")}`:`/${r+(i.path==="/"?"":i.path)}`,t)}else if(c&&i.path!==c)return Un(c,t);return}if(l){const p=R_();p.value&&p.value!==c&&(p.value="",window.location.assign(c))}else if(c)return Un(c,t)}}function k_(e,t){Vn(e,"$i18n",xn(t)),Vn(e,"$getRouteBaseName",ut(or)),Vn(e,"$localePath",ut(co)),Vn(e,"$localeRoute",ut(da)),Vn(e,"$switchLocalePath",ut(ir)),Vn(e,"$localeHead",ut(hd))}function A_(e=ht()){return t=>g_(t)&&!e.public.i18n.differentDomains}function I_(e=ht()){return(t,n)=>{if(e.public.i18n.differentDomains){const s=Ed(n);return s?Fn(s,t):t}else return v_(t)}}function O_(){return()=>{const e=me(),{baseUrl:t,defaultLocale:n,differentDomains:s}=e.$config.public.i18n;if(be(t))return t(e);const o=be(n)?n():n;if(s&&o){const r=Ed(o);if(r)return r}return t}}function _d(e){return ad+" "+e}function Gr(e,t,...n){const s=xn(e),[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function M_(e,t){const n=xn(e);return te(n[t])}function Vn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function ut(e,t=pa()){return(...n)=>e(t,...n)}function xd(){let e;return navigator.languages&&(e=o_(ao,navigator.languages)),e}function N_(){const e=Xr(),t=e&&e.cookieKey||Y0,n=new Date,s={expires:new Date(n.setDate(n.getDate()+365)),path:"/",sameSite:e&&e.cookieCrossOrigin?"none":"lax",secure:e&&e.cookieCrossOrigin||e&&e.cookieSecure};return e&&e.cookieDomain&&(s.domain=e.cookieDomain),O0(t,s)}function cs(e,t,n){if(t===!1||!t.useCookie)return;const s=e.value??void 0;if(s!=null){if(rr.includes(s))return s;if(n)return e.value=n,n;e.value=void 0}}function D_(e,t,n){n===!1||!n.useCookie||(e.value=t)}var wd=(e=>(e.NOT_FOUND="not_found_match",e.FIRST_ACCESS="first_access_only",e.NO_REDIRECT_ROOT="not_redirect_on_root",e.NO_REDIRECT_NO_PREFIX="not_redirect_on_no_prefix",e.SSG_IGNORE="detect_ignore_on_ssg",e))(wd||{});const F_={locale:""};function bd(e,t,n=""){yd("detectBrowserLanguage");const s=Xr();if(!s)return F_;const{strategy:o}=ht().public.i18n,{ssg:r,callType:i,firstAccess:a,localeCookie:l}=t;if(o==="no_prefix"&&r==="ssg_ignore")return{locale:"",reason:"detect_ignore_on_ssg"};if(!a)return{locale:o==="no_prefix"?n:"",reason:"first_access_only"};const{redirectOn:h,alwaysRedirect:u,useCookie:f,fallbackLocale:d}=s,c=Z(e)?e:e.path;if(o!=="no_prefix"){if(h==="root"&&c!=="/")return{locale:"",reason:"not_redirect_on_root"};if(h==="no prefix"&&!u&&c.match(fa(rr)))return{locale:"",reason:"not_redirect_on_no_prefix"}}let p;const g=f&&l||void 0;f&&(p="cookie");const v=xd();g||(p="navigator_or_header");const w=g||v,b=w||d||"";return!w&&d&&(p="fallback"),{locale:b,from:p}}function fo(){let e;return e=window.location.host,e}function $_(e,t,n){let s=fo()||"";if(s){let o;const r=e.filter(i=>{if(i&&i.domain){let a=i.domain;return bt(i.domain)&&(a=i.domain.replace(/(http|https):\/\//,"")),a===s}else if(Array.isArray(i==null?void 0:i.domains))return i.domains.includes(s);return!1});if(r.length===1)o=r[0];else if(r.length>1)if(t==="no_prefix")console.warn(_d("Multiple matching domains found! This is not supported for no_prefix strategy in combination with differentDomains!")),o=r[0];else{if(n){const i=he(n)?n.path:Z(n)?n:"";if(i&&i!==""){const a=i.match(fa(r.map(l=>l.code)));a&&a.length>1&&(o=r.find(l=>l.code===a[1]))}}o||(o=r.find(i=>Array.isArray(i.defaultForDomains)?i.defaultForDomains.includes(s):i.domainDefault))}if(o)return o.code;s=""}return s}function Ed(e){var i,a,l,h,u,f;const t=ht();me();const n=fo(),s=t.public.i18n,o=ao.find(d=>d.code===e),r=((a=(i=s==null?void 0:s.locales)==null?void 0:i[e])==null?void 0:a.domain)||(o==null?void 0:o.domain)||((u=(h=(l=s==null?void 0:s.locales)==null?void 0:l[e])==null?void 0:h.domains)==null?void 0:u.find(d=>d===n))||((f=o==null?void 0:o.domains)==null?void 0:f.find(d=>d===n));if(r){if(bt(r,{strict:!0}))return r;let d;return d=new URL(window.location.origin).protocol,d+"//"+r}console.warn(_d("Could not find domain name for locale "+e))}const Xr=(e=ht().public.i18n)=>(e==null?void 0:e.detectBrowserLanguage)===!1?!1:e==null?void 0:e.detectBrowserLanguage;/*!
* message-compiler v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function H_(e,t,n){return{line:e,column:t,offset:n}}function $s(e,t,n){return{start:e,end:t}}const Sd={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2};function B_(e,t,...n){const o={message:String(e),code:e};return t&&(o.location=t),o}const xe={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17};function ho(e,t,n={}){const{domain:s,messages:o,args:r}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=s,a}function U_(e){throw e}const Ut=" ",V_="\r",st=`
`,j_="\u2028",W_="\u2029";function K_(e){const t=e;let n=0,s=1,o=1,r=0;const i=E=>t[E]===V_&&t[E+1]===st,a=E=>t[E]===st,l=E=>t[E]===W_,h=E=>t[E]===j_,u=E=>i(E)||a(E)||l(E)||h(E),f=()=>n,d=()=>s,c=()=>o,p=()=>r,g=E=>i(E)||l(E)||h(E)?st:t[E],v=()=>g(n),w=()=>g(n+r);function b(){return r=0,u(n)&&(s++,o=0),i(n)&&n++,n++,o++,t[n]}function y(){return i(n+r)&&r++,r++,t[n+r]}function _(){n=0,s=1,o=1,r=0}function m(E=0){r=E}function x(){const E=n+r;for(;E!==n;)b();r=0}return{index:f,line:d,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:w,next:b,peek:y,reset:_,resetPeek:m,skipToPeek:x}}const en=void 0,G_=".",oc="'",X_="tokenizer";function Y_(e,t={}){const n=t.location!==!1,s=K_(e),o=()=>s.index(),r=()=>H_(s.line(),s.column(),s.index()),i=r(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},h=()=>l,{onError:u}=t;function f(R,k,M,...K){const J=h();if(k.column+=M,k.offset+=M,u){const G=n?$s(J.startLoc,k):null,N=ho(R,G,{domain:X_,args:K});u(N)}}function d(R,k,M){R.endLoc=r(),R.currentType=k;const K={type:k};return n&&(K.loc=$s(R.startLoc,R.endLoc)),M!=null&&(K.value=M),K}const c=R=>d(R,14);function p(R,k){return R.currentChar()===k?(R.next(),k):(f(xe.EXPECTED_TOKEN,r(),0,k),"")}function g(R){let k="";for(;R.currentPeek()===Ut||R.currentPeek()===st;)k+=R.currentPeek(),R.peek();return k}function v(R){const k=g(R);return R.skipToPeek(),k}function w(R){if(R===en)return!1;const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k===95}function b(R){if(R===en)return!1;const k=R.charCodeAt(0);return k>=48&&k<=57}function y(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const K=w(R.currentPeek());return R.resetPeek(),K}function _(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const K=R.currentPeek()==="-"?R.peek():R.currentPeek(),J=b(K);return R.resetPeek(),J}function m(R,k){const{currentType:M}=k;if(M!==2)return!1;g(R);const K=R.currentPeek()===oc;return R.resetPeek(),K}function x(R,k){const{currentType:M}=k;if(M!==8)return!1;g(R);const K=R.currentPeek()===".";return R.resetPeek(),K}function E(R,k){const{currentType:M}=k;if(M!==9)return!1;g(R);const K=w(R.currentPeek());return R.resetPeek(),K}function S(R,k){const{currentType:M}=k;if(!(M===8||M===12))return!1;g(R);const K=R.currentPeek()===":";return R.resetPeek(),K}function P(R,k){const{currentType:M}=k;if(M!==10)return!1;const K=()=>{const G=R.currentPeek();return G==="{"?w(R.peek()):G==="@"||G==="%"||G==="|"||G===":"||G==="."||G===Ut||!G?!1:G===st?(R.peek(),K()):C(R,!1)},J=K();return R.resetPeek(),J}function L(R){g(R);const k=R.currentPeek()==="|";return R.resetPeek(),k}function T(R){const k=g(R),M=R.currentPeek()==="%"&&R.peek()==="{";return R.resetPeek(),{isModulo:M,hasSpace:k.length>0}}function C(R,k=!0){const M=(J=!1,G="",N=!1)=>{const H=R.currentPeek();return H==="{"?G==="%"?!1:J:H==="@"||!H?G==="%"?!0:J:H==="%"?(R.peek(),M(J,"%",!0)):H==="|"?G==="%"||N?!0:!(G===Ut||G===st):H===Ut?(R.peek(),M(!0,Ut,N)):H===st?(R.peek(),M(!0,st,N)):!0},K=M();return k&&R.resetPeek(),K}function O(R,k){const M=R.currentChar();return M===en?en:k(M)?(R.next(),M):null}function F(R){const k=R.charCodeAt(0);return k>=97&&k<=122||k>=65&&k<=90||k>=48&&k<=57||k===95||k===36}function $(R){return O(R,F)}function 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 j(R){return O(R,B)}function Y(R){const k=R.charCodeAt(0);return k>=48&&k<=57}function se(R){return O(R,Y)}function ue(R){const k=R.charCodeAt(0);return k>=48&&k<=57||k>=65&&k<=70||k>=97&&k<=102}function ce(R){return O(R,ue)}function ne(R){let k="",M="";for(;k=se(R);)M+=k;return M}function Se(R){v(R);const k=R.currentChar();return k!=="%"&&f(xe.EXPECTED_TOKEN,r(),0,k),R.next(),"%"}function ye(R){let k="";for(;;){const M=R.currentChar();if(M==="{"||M==="}"||M==="@"||M==="|"||!M)break;if(M==="%")if(C(R))k+=M,R.next();else break;else if(M===Ut||M===st)if(C(R))k+=M,R.next();else{if(L(R))break;k+=M,R.next()}else k+=M,R.next()}return k}function He(R){v(R);let k="",M="";for(;k=j(R);)M+=k;return R.currentChar()===en&&f(xe.UNTERMINATED_CLOSING_BRACE,r(),0),M}function fe(R){v(R);let k="";return R.currentChar()==="-"?(R.next(),k+=`-${ne(R)}`):k+=ne(R),R.currentChar()===en&&f(xe.UNTERMINATED_CLOSING_BRACE,r(),0),k}function V(R){return R!==oc&&R!==st}function q(R){v(R),p(R,"'");let k="",M="";for(;k=O(R,V);)k==="\\"?M+=z(R):M+=k;const K=R.currentChar();return K===st||K===en?(f(xe.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),K===st&&(R.next(),p(R,"'")),M):(p(R,"'"),M)}function z(R){const k=R.currentChar();switch(k){case"\\":case"'":return R.next(),`\\${k}`;case"u":return ee(R,k,4);case"U":return ee(R,k,6);default:return f(xe.UNKNOWN_ESCAPE_SEQUENCE,r(),0,k),""}}function ee(R,k,M){p(R,k);let K="";for(let J=0;J<M;J++){const G=ce(R);if(!G){f(xe.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${k}${K}${R.currentChar()}`);break}K+=G}return`\\${k}${K}`}function de(R){return R!=="{"&&R!=="}"&&R!==Ut&&R!==st}function _e(R){v(R);let k="",M="";for(;k=O(R,de);)M+=k;return M}function A(R){let k="",M="";for(;k=$(R);)M+=k;return M}function I(R){const k=M=>{const K=R.currentChar();return K==="{"||K==="%"||K==="@"||K==="|"||K==="("||K===")"||!K||K===Ut?M:(M+=K,R.next(),k(M))};return k("")}function D(R){v(R);const k=p(R,"|");return v(R),k}function W(R,k){let M=null;switch(R.currentChar()){case"{":return k.braceNest>=1&&f(xe.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),R.next(),M=d(k,2,"{"),v(R),k.braceNest++,M;case"}":return k.braceNest>0&&k.currentType===2&&f(xe.EMPTY_PLACEHOLDER,r(),0),R.next(),M=d(k,3,"}"),k.braceNest--,k.braceNest>0&&v(R),k.inLinked&&k.braceNest===0&&(k.inLinked=!1),M;case"@":return k.braceNest>0&&f(xe.UNTERMINATED_CLOSING_BRACE,r(),0),M=U(R,k)||c(k),k.braceNest=0,M;default:{let J=!0,G=!0,N=!0;if(L(R))return k.braceNest>0&&f(xe.UNTERMINATED_CLOSING_BRACE,r(),0),M=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,M;if(k.braceNest>0&&(k.currentType===5||k.currentType===6||k.currentType===7))return f(xe.UNTERMINATED_CLOSING_BRACE,r(),0),k.braceNest=0,X(R,k);if(J=y(R,k))return M=d(k,5,He(R)),v(R),M;if(G=_(R,k))return M=d(k,6,fe(R)),v(R),M;if(N=m(R,k))return M=d(k,7,q(R)),v(R),M;if(!J&&!G&&!N)return M=d(k,13,_e(R)),f(xe.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,M.value),v(R),M;break}}return M}function U(R,k){const{currentType:M}=k;let K=null;const J=R.currentChar();switch((M===8||M===9||M===12||M===10)&&(J===st||J===Ut)&&f(xe.INVALID_LINKED_FORMAT,r(),0),J){case"@":return R.next(),K=d(k,8,"@"),k.inLinked=!0,K;case".":return v(R),R.next(),d(k,9,".");case":":return v(R),R.next(),d(k,10,":");default:return L(R)?(K=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,K):x(R,k)||S(R,k)?(v(R),U(R,k)):E(R,k)?(v(R),d(k,12,A(R))):P(R,k)?(v(R),J==="{"?W(R,k)||K:d(k,11,I(R))):(M===8&&f(xe.INVALID_LINKED_FORMAT,r(),0),k.braceNest=0,k.inLinked=!1,X(R,k))}}function X(R,k){let M={type:14};if(k.braceNest>0)return W(R,k)||c(k);if(k.inLinked)return U(R,k)||c(k);switch(R.currentChar()){case"{":return W(R,k)||c(k);case"}":return f(xe.UNBALANCED_CLOSING_BRACE,r(),0),R.next(),d(k,3,"}");case"@":return U(R,k)||c(k);default:{if(L(R))return M=d(k,1,D(R)),k.braceNest=0,k.inLinked=!1,M;const{isModulo:J,hasSpace:G}=T(R);if(J)return G?d(k,0,ye(R)):d(k,4,Se(R));if(C(R))return d(k,0,ye(R));break}}return M}function Q(){const{currentType:R,offset:k,startLoc:M,endLoc:K}=l;return l.lastType=R,l.lastOffset=k,l.lastStartLoc=M,l.lastEndLoc=K,l.offset=o(),l.startLoc=r(),s.currentChar()===en?d(l,14):X(s,l)}return{nextToken:Q,currentOffset:o,currentPosition:r,context:h}}const J_="parser",q_=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Q_(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"<22>"}}}function z_(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function o(y,_,m,x,...E){const S=y.currentPosition();if(S.offset+=x,S.column+=x,n){const P=t?$s(m,S):null,L=ho(_,P,{domain:J_,args:E});n(L)}}function r(y,_,m,x,...E){const S=y.currentPosition();if(S.offset+=x,S.column+=x,s){const P=t?$s(m,S):null;s(B_(_,P,E))}}function i(y,_,m){const x={type:y};return t&&(x.start=_,x.end=_,x.loc={start:m,end:m}),x}function a(y,_,m,x){t&&(y.end=_,y.loc&&(y.loc.end=m))}function l(y,_){const m=y.context(),x=i(3,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function h(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:E}=m,S=i(5,x,E);return S.index=parseInt(_,10),y.nextToken(),a(S,y.currentOffset(),y.currentPosition()),S}function u(y,_,m){const x=y.context(),{lastOffset:E,lastStartLoc:S}=x,P=i(4,E,S);return P.key=_,m===!0&&(P.modulo=!0),y.nextToken(),a(P,y.currentOffset(),y.currentPosition()),P}function f(y,_){const m=y.context(),{lastOffset:x,lastStartLoc:E}=m,S=i(9,x,E);return S.value=_.replace(q_,Q_),y.nextToken(),a(S,y.currentOffset(),y.currentPosition()),S}function d(y){const _=y.nextToken(),m=y.context(),{lastOffset:x,lastStartLoc:E}=m,S=i(8,x,E);return _.type!==12?(o(y,xe.UNEXPECTED_EMPTY_LINKED_MODIFIER,m.lastStartLoc,0),S.value="",a(S,x,E),{nextConsumeToken:_,node:S}):(_.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,Et(_)),S.value=_.value||"",a(S,y.currentOffset(),y.currentPosition()),{node:S})}function c(y,_){const m=y.context(),x=i(7,m.offset,m.startLoc);return x.value=_,a(x,y.currentOffset(),y.currentPosition()),x}function p(y){const _=y.context(),m=i(6,_.offset,_.startLoc);let x=y.nextToken();if(x.type===9){const E=d(y);m.modifier=E.node,x=E.nextConsumeToken||y.nextToken()}switch(x.type!==10&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),x=y.nextToken(),x.type===2&&(x=y.nextToken()),x.type){case 11:x.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=c(y,x.value||"");break;case 5:x.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=u(y,x.value||"");break;case 6:x.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=h(y,x.value||"");break;case 7:x.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(x)),m.key=f(y,x.value||"");break;default:{o(y,xe.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const E=y.context(),S=i(7,E.offset,E.startLoc);return S.value="",a(S,E.offset,E.startLoc),m.key=S,a(m,E.offset,E.startLoc),{nextConsumeToken:x,node:m}}}return a(m,y.currentOffset(),y.currentPosition()),{node:m}}function g(y){const _=y.context(),m=_.currentType===1?y.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,E=i(2,m,x);E.items=[];let S=null,P=null;do{const C=S||y.nextToken();switch(S=null,C.type){case 0:C.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(l(y,C.value||""));break;case 6:C.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(h(y,C.value||""));break;case 4:P=!0;break;case 5:C.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(u(y,C.value||"",!!P)),P&&(r(y,Sd.USE_MODULO_SYNTAX,_.lastStartLoc,0,Et(C)),P=null);break;case 7:C.value==null&&o(y,xe.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Et(C)),E.items.push(f(y,C.value||""));break;case 8:{const O=p(y);E.items.push(O.node),S=O.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const L=_.currentType===1?_.lastOffset:y.currentOffset(),T=_.currentType===1?_.lastEndLoc:y.currentPosition();return a(E,L,T),E}function v(y,_,m,x){const E=y.context();let S=x.items.length===0;const P=i(1,_,m);P.cases=[],P.cases.push(x);do{const L=g(y);S||(S=L.items.length===0),P.cases.push(L)}while(E.currentType!==14);return S&&o(y,xe.MUST_HAVE_MESSAGES_IN_PLURAL,m,0),a(P,y.currentOffset(),y.currentPosition()),P}function w(y){const _=y.context(),{offset:m,startLoc:x}=_,E=g(y);return _.currentType===14?E:v(y,m,x,E)}function b(y){const _=Y_(y,$e({},e)),m=_.context(),x=i(0,m.offset,m.startLoc);return t&&x.loc&&(x.loc.source=y),x.body=w(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(y)),m.currentType!==14&&o(_,xe.UNEXPECTED_LEXICAL_ANALYSIS,m.lastStartLoc,0,y[m.offset]||""),a(x,_.currentOffset(),_.currentPosition()),x}return{parse:b}}function Et(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Z_(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function ic(e,t){for(let n=0;n<e.length;n++)ga(e[n],t)}function ga(e,t){switch(e.type){case 1:ic(e.cases,t),t.helper("plural");break;case 2:ic(e.items,t);break;case 6:{ga(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function ex(e,t={}){const n=Z_(e);n.helper("normalize"),e.body&&ga(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function tx(e){const t=e.body;return t.type===2?ac(t):t.cases.forEach(n=>ac(n)),e}function ac(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=ua(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}function Kn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Kn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Kn(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Kn(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Kn(t.key),t.k=t.key,delete t.key,t.modifier&&(Kn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}}delete e.type}function nx(e,t){const{sourceMap:n,filename:s,breakLineCode:o,needIndent:r}=t,i=t.location!==!1,a={filename:s,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:r,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function h(v,w){a.code+=v}function u(v,w=!0){const b=w?o:"";h(r?b+" ".repeat(v):b)}function f(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:h,indent:f,deindent:d,newline:c,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function rx(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ar(e,t.key),t.modifier?(e.push(", "),ar(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function sx(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const o=t.items.length;for(let r=0;r<o&&(ar(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function ox(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const o=t.cases.length;for(let r=0;r<o&&(ar(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function ix(e,t){t.body?ar(e,t.body):e.push("null")}function ar(e,t){const{helper:n}=e;switch(t.type){case 0:ix(e,t);break;case 1:ox(e,t);break;case 2:sx(e,t);break;case 6:rx(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break}}const ax=(e,t={})=>{const n=Z(t.mode)?t.mode:"normal",s=Z(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=nx(e,{mode:n,filename:s,sourceMap:o,breakLineCode:r,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${ua(a.map(f=>`${f}: _${f}`),", ")} } = ctx`),l.newline()),l.push("return "),ar(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:h,map:u}=l.context();return{ast:e,code:h,map:u?u.toJSON():void 0}};function lx(e,t={}){const n=$e({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=z_(n).parse(e);return s?(r&&tx(a),o&&Kn(a),{ast:a,code:""}):(ex(a,n),ax(a,n))}/*!
* core-base v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function cx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ca().__INTLIFY_PROD_DEVTOOLS__=!1)}const wn=[];wn[0]={w:[0],i:[3,0],"[":[4],o:[7]};wn[1]={w:[1],".":[2],"[":[4],o:[7]};wn[2]={w:[2],i:[3,0],0:[3,0]};wn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};wn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};wn[5]={"'":[4,0],o:8,l:[5,0]};wn[6]={'"':[4,0],o:8,l:[6,0]};const ux=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fx(e){return ux.test(e)}function dx(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function hx(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function px(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:fx(t)?dx(t):"*"+t}function gx(e){const t=[];let n=-1,s=0,o=0,r,i,a,l,h,u,f;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,s=4,d[0]();else{if(o=0,i===void 0||(i=px(i),i===!1))return!1;d[1]()}};function c(){const p=e[n+1];if(s===5&&p==="'"||s===6&&p==='"')return n++,a="\\"+p,d[0](),!0}for(;s!==null;)if(n++,r=e[n],!(r==="\\"&&c())){if(l=hx(r),f=wn[s],h=f[l]||f.l||8,h===8||(s=h[0],h[1]!==void 0&&(u=d[h[1]],u&&(a=r,u()===!1))))return;if(s===7)return t}}const lc=new Map;function mx(e,t){return he(e)?e[t]:null}function vx(e,t){if(!he(e))return null;let n=lc.get(t);if(n||(n=gx(t),n&&lc.set(t,n)),!n)return null;const s=n.length;let o=e,r=0;for(;r<s;){const i=o[n[r]];if(i===void 0||be(o))return null;o=i,r++}return o}const yx=e=>e,_x=e=>"",xx="text",wx=e=>e.length===0?"":ua(e),bx=j0;function cc(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Ex(e){const t=Xe(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Xe(e.named.count)||Xe(e.named.n))?Xe(e.named.count)?e.named.count:Xe(e.named.n)?e.named.n:t:t}function Sx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Cx(e={}){const t=e.locale,n=Ex(e),s=he(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?e.pluralRules[t]:cc,o=he(e.pluralRules)&&Z(t)&&be(e.pluralRules[t])?cc:void 0,r=w=>w[s(n,w.length,o)],i=e.list||[],a=w=>i[w],l=e.named||{};Xe(e.pluralIndex)&&Sx(n,l);const h=w=>l[w];function u(w){const b=be(e.messages)?e.messages(w):he(e.messages)?e.messages[w]:!1;return b||(e.parent?e.parent.message(w):_x)}const f=w=>e.modifiers?e.modifiers[w]:yx,d=pe(e.processor)&&be(e.processor.normalize)?e.processor.normalize:wx,c=pe(e.processor)&&be(e.processor.interpolate)?e.processor.interpolate:bx,p=pe(e.processor)&&Z(e.processor.type)?e.processor.type:xx,v={list:a,named:h,plural:r,linked:(w,...b)=>{const[y,_]=b;let m="text",x="";b.length===1?he(y)?(x=y.modifier||x,m=y.type||m):Z(y)&&(x=y||x):b.length===2&&(Z(y)&&(x=y||x),Z(_)&&(m=_||m));const E=u(w)(v),S=m==="vnode"&&Fe(E)&&x?E[0]:E;return x?f(x)(S,m):S},message:u,type:p,interpolate:c,normalize:d,values:$e({},i,l)};return v}let Dr=null;function Px(e){Dr=e}function Tx(e,t,n){Dr&&Dr.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Lx=Rx("function:translate");function Rx(e){return t=>Dr&&Dr.emit(e,t)}const Cd=Sd.__EXTEND_POINT__,Pn=io(Cd),kx={NOT_FOUND_KEY:Cd,FALLBACK_TO_TRANSLATE:Pn(),CANNOT_FORMAT_NUMBER:Pn(),FALLBACK_TO_NUMBER_FORMAT:Pn(),CANNOT_FORMAT_DATE:Pn(),FALLBACK_TO_DATE_FORMAT:Pn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Pn(),__EXTEND_POINT__:Pn()},Pd=xe.__EXTEND_POINT__,Tn=io(Pd),Ft={INVALID_ARGUMENT:Pd,INVALID_DATE_ARGUMENT:Tn(),INVALID_ISO_DATE_ARGUMENT:Tn(),NOT_SUPPORT_NON_STRING_MESSAGE:Tn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Tn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Tn(),NOT_SUPPORT_LOCALE_TYPE:Tn(),__EXTEND_POINT__:Tn()};function Xt(e){return ho(e,null,void 0)}function ma(e,t){return t.locale!=null?uc(t.locale):uc(e.locale)}let $o;function uc(e){if(Z(e))return e;if(be(e)){if(e.resolvedOnce&&$o!=null)return $o;if(e.constructor.name==="Function"){const t=e();if(V0(t))throw Xt(Ft.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return $o=t}else throw Xt(Ft.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Xt(Ft.NOT_SUPPORT_LOCALE_TYPE)}function Ax(e,t,n){return[...new Set([n,...Fe(t)?t:he(t)?Object.keys(t):Z(t)?[t]:[n]])]}function Td(e,t,n){const s=Z(n)?n:Hs,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;Fe(i);)i=fc(r,i,t);const a=Fe(t)||!pe(t)?t:t.default?t.default:null;i=Z(a)?[a]:a,Fe(i)&&fc(r,i,!1),o.__localeChainCache.set(s,r)}return r}function fc(e,t,n){let s=!0;for(let o=0;o<t.length&&Ae(s);o++){const r=t[o];Z(r)&&(s=Ix(e,t[o],n))}return s}function Ix(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=Ox(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function Ox(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Fe(n)||pe(n))&&n[o]&&(s=n[o])}return s}const Mx="9.14.0",po=-1,Hs="en-US",dc="",hc=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Nx(){return{upper:(e,t)=>t==="text"&&Z(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Z(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Z(e)?hc(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?hc(e.children):e}}let Ld;function Dx(e){Ld=e}let Rd;function Fx(e){Rd=e}let kd;function $x(e){kd=e}let Ad=null;const Hx=e=>{Ad=e},Bx=()=>Ad;let Id=null;const pc=e=>{Id=e},Ux=()=>Id;let gc=0;function Vx(e={}){const t=be(e.onWarn)?e.onWarn:W0,n=Z(e.version)?e.version:Mx,s=Z(e.locale)||be(e.locale)?e.locale:Hs,o=be(s)?Hs:s,r=Fe(e.fallbackLocale)||pe(e.fallbackLocale)||Z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=pe(e.messages)?e.messages:{[o]:{}},a=pe(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=pe(e.numberFormats)?e.numberFormats:{[o]:{}},h=$e({},e.modifiers||{},Nx()),u=e.pluralRules||{},f=be(e.missing)?e.missing:null,d=Ae(e.missingWarn)||Ms(e.missingWarn)?e.missingWarn:!0,c=Ae(e.fallbackWarn)||Ms(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,v=be(e.postTranslation)?e.postTranslation:null,w=pe(e.processor)?e.processor:null,b=Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter,_=be(e.messageCompiler)?e.messageCompiler:Ld,m=be(e.messageResolver)?e.messageResolver:Rd||mx,x=be(e.localeFallbacker)?e.localeFallbacker:kd||Ax,E=he(e.fallbackContext)?e.fallbackContext:void 0,S=e,P=he(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,L=he(S.__numberFormatters)?S.__numberFormatters:new Map,T=he(S.__meta)?S.__meta:{};gc++;const C={version:n,cid:gc,locale:s,fallbackLocale:r,messages:i,modifiers:h,pluralRules:u,missing:f,missingWarn:d,fallbackWarn:c,fallbackFormat:p,unresolving:g,postTranslation:v,processor:w,warnHtmlMessage:b,escapeParameter:y,messageCompiler:_,messageResolver:m,localeFallbacker:x,fallbackContext:E,onWarn:t,__meta:T};return C.datetimeFormats=a,C.numberFormats=l,C.__datetimeFormatters=P,C.__numberFormatters=L,__INTLIFY_PROD_DEVTOOLS__&&Tx(C,n,T),C}function va(e,t,n,s,o){const{missing:r,onWarn:i}=e;if(r!==null){const a=r(e,n,t,o);return Z(a)?a:t}else return t}function hr(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function jx(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Wx(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if(jx(e,t[s]))return!0;return!1}function Ho(e){return n=>Kx(n,e)}function Kx(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const s=n,o=s.c||s.cases;return e.plural(o.reduce((r,i)=>[...r,mc(e,i)],[]))}else return mc(e,n)}function mc(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const s=(t.i||t.items).reduce((o,r)=>[...o,Ei(e,r)],[]);return e.normalize(s)}}function Ei(e,t){const n=t.t||t.type;switch(n){case 3:{const s=t;return s.v||s.value}case 9:{const s=t;return s.v||s.value}case 4:{const s=t;return e.interpolate(e.named(s.k||s.key))}case 5:{const s=t;return e.interpolate(e.list(s.i!=null?s.i:s.index))}case 6:{const s=t,o=s.m||s.modifier;return e.linked(Ei(e,s.k||s.key),o?Ei(e,o):void 0,e.type)}case 7:{const s=t;return s.v||s.value}case 8:{const s=t;return s.v||s.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Gx=e=>e;let us=Object.create(null);const lr=e=>he(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Xx(e,t={}){let n=!1;const s=t.onError||U_;return t.onError=o=>{n=!0,s(o)},{...lx(e,t),detectError:n}}function Yx(e,t){if(Z(e)){Ae(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Gx)(e),o=us[s];if(o)return o;const{ast:r,detectError:i}=Xx(e,{...t,location:!1,jit:!0}),a=Ho(r);return i?a:us[s]=a}else{const n=e.cacheKey;if(n){const s=us[n];return s||(us[n]=Ho(e))}else return Ho(e)}}const vc=()=>"",_t=e=>be(e);function yc(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,h]=Si(...t),u=Ae(h.missingWarn)?h.missingWarn:e.missingWarn,f=Ae(h.fallbackWarn)?h.fallbackWarn:e.fallbackWarn,d=Ae(h.escapeParameter)?h.escapeParameter:e.escapeParameter,c=!!h.resolvedMessage,p=Z(h.default)||Ae(h.default)?Ae(h.default)?r?l:()=>l:h.default:n?r?l:()=>l:"",g=n||p!=="",v=ma(e,h);d&&Jx(h);let[w,b,y]=c?[l,v,a[v]||{}]:Od(e,l,v,i,f,u),_=w,m=l;if(!c&&!(Z(_)||lr(_)||_t(_))&&g&&(_=p,m=_),!c&&(!(Z(_)||lr(_)||_t(_))||!Z(b)))return o?po:l;let x=!1;const E=()=>{x=!0},S=_t(_)?_:Md(e,l,b,_,m,E);if(x)return _;const P=zx(e,b,y,h),L=Cx(P),T=qx(e,S,L),C=s?s(T,l):T;if(__INTLIFY_PROD_DEVTOOLS__){const O={timestamp:Date.now(),key:Z(l)?l:_t(_)?_.key:"",locale:b||(_t(_)?_.locale:""),format:Z(_)?_:_t(_)?_.source:"",message:C};O.meta=$e({},e.__meta,Bx()||{}),Lx(O)}return C}function Jx(e){Fe(e.list)?e.list=e.list.map(t=>Z(t)?ql(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{Z(e.named[t])&&(e.named[t]=ql(e.named[t]))})}function Od(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:h}=e,u=h(e,s,n);let f={},d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],f=i[d]||{},(c=l(f,t))===null&&(c=f[t]),!(Z(c)||lr(c)||_t(c)));g++)if(!Wx(d,u)){const v=va(e,t,d,r,p);v!==t&&(c=v)}return[c,d,f]}function Md(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(_t(s)){const h=s;return h.locale=h.locale||n,h.key=h.key||t,h}if(i==null){const h=()=>s;return h.locale=n,h.key=t,h}const l=i(s,Qx(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function qx(e,t,n){return t(n)}function Si(...e){const[t,n,s]=e,o={};if(!Z(t)&&!Xe(t)&&!_t(t)&&!lr(t))throw Xt(Ft.INVALID_ARGUMENT);const r=Xe(t)?String(t):(_t(t),t);return Xe(n)?o.plural=n:Z(n)?o.default=n:pe(n)&&!oo(n)?o.named=n:Fe(n)&&(o.list=n),Xe(s)?o.plural=s:Z(s)?o.default=s:pe(s)&&$e(o,s),[r,o]}function Qx(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>F0(t,n,i)}}function zx(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:h,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=Od(u,c,t,a,l,h);p=i(g,c)}if(Z(p)||lr(p)){let g=!1;const w=Md(e,c,t,p,c,()=>{g=!0});return g?vc:w}else return _t(p)?p:vc}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),Xe(s.plural)&&(d.pluralIndex=s.plural),d}function _c(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,h,u,f]=Ci(...t),d=Ae(u.missingWarn)?u.missingWarn:e.missingWarn;Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ma(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.DateTimeFormat(p,f).format(h);let v={},w,b=null;const y="datetime format";for(let x=0;x<g.length&&(w=g[x],v=n[w]||{},b=v[l],!pe(b));x++)va(e,l,w,d,y);if(!pe(b)||!Z(w))return s?po:l;let _=`${w}__${l}`;oo(f)||(_=`${_}__${JSON.stringify(f)}`);let m=a.get(_);return m||(m=new Intl.DateTimeFormat(w,$e({},b,f)),a.set(_,m)),c?m.formatToParts(h):m.format(h)}const Nd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Ci(...e){const[t,n,s,o]=e,r={};let i={},a;if(Z(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Xt(Ft.INVALID_ISO_DATE_ARGUMENT);const h=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(h);try{a.toISOString()}catch{throw Xt(Ft.INVALID_ISO_DATE_ARGUMENT)}}else if(H0(t)){if(isNaN(t.getTime()))throw Xt(Ft.INVALID_DATE_ARGUMENT);a=t}else if(Xe(t))a=t;else throw Xt(Ft.INVALID_ARGUMENT);return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Nd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function xc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function wc(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,h,u,f]=Pi(...t),d=Ae(u.missingWarn)?u.missingWarn:e.missingWarn;Ae(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=ma(e,u),g=i(e,o,p);if(!Z(l)||l==="")return new Intl.NumberFormat(p,f).format(h);let v={},w,b=null;const y="number format";for(let x=0;x<g.length&&(w=g[x],v=n[w]||{},b=v[l],!pe(b));x++)va(e,l,w,d,y);if(!pe(b)||!Z(w))return s?po:l;let _=`${w}__${l}`;oo(f)||(_=`${_}__${JSON.stringify(f)}`);let m=a.get(_);return m||(m=new Intl.NumberFormat(w,$e({},b,f)),a.set(_,m)),c?m.formatToParts(h):m.format(h)}const Dd=["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,s,o]=e,r={};let i={};if(!Xe(t))throw Xt(Ft.INVALID_ARGUMENT);const a=t;return Z(n)?r.key=n:pe(n)&&Object.keys(n).forEach(l=>{Dd.includes(l)?i[l]=n[l]:r[l]=n[l]}),Z(s)?r.locale=s:pe(s)&&(i=s),pe(o)&&(i=o),[r.key||"",a,r,i]}function bc(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}cx();/*!
* vue-i18n v9.14.0
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const Zx="9.14.0";function e1(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ca().__INTLIFY_PROD_DEVTOOLS__=!1)}const Fd=kx.__EXTEND_POINT__,Vt=io(Fd);Vt(),Vt(),Vt(),Vt(),Vt(),Vt(),Vt(),Vt(),Vt();const $d=Ft.__EXTEND_POINT__,at=io($d),xt={UNEXPECTED_RETURN_TYPE:$d,INVALID_ARGUMENT:at(),MUST_BE_CALL_SETUP_TOP:at(),NOT_INSTALLED:at(),NOT_AVAILABLE_IN_LEGACY_MODE:at(),REQUIRED_VALUE:at(),INVALID_VALUE:at(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:at(),NOT_INSTALLED_WITH_PROVIDE:at(),UNEXPECTED_ERROR:at(),NOT_COMPATIBLE_LEGACY_VUE_I18N:at(),BRIDGE_SUPPORT_VUE_2_ONLY:at(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:at(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:at(),__EXTEND_POINT__:at()};function Ot(e,...t){return ho(e,null,void 0)}const Ti=_n("__translateVNode"),Li=_n("__datetimeParts"),Ri=_n("__numberParts"),t1=_n("__setPluralRules"),n1=_n("__injectWithOption"),ki=_n("__dispose");function Fr(e){if(!he(e))return e;for(const t in e)if(Ns(e,t))if(!t.includes("."))he(e[t])&&Fr(e[t]);else{const n=t.split("."),s=n.length-1;let o=e,r=!1;for(let i=0;i<s;i++){if(n[i]in o||(o[n[i]]={}),!he(o[n[i]])){r=!0;break}o=o[n[i]]}r||(o[n[s]]=e[t],delete e[t]),he(o[n[s]])&&Fr(o[n[s]])}return e}function Hd(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=pe(n)?n:Fe(s)?{}:{[e]:{}};if(Fe(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:h}=a;l?(i[l]=i[l]||{},Mn(h,i[l])):Mn(h,i)}else Z(a)&&Mn(JSON.parse(a),i)}),o==null&&r)for(const a in i)Ns(i,a)&&Fr(i[a]);return i}function Bd(e){return e.type}function r1(e,t,n){let s=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=Hd(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const o=Object.keys(s);o.length&&o.forEach(r=>{e.mergeLocaleMessage(r,s[r])});{if(he(t.datetimeFormats)){const r=Object.keys(t.datetimeFormats);r.length&&r.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(he(t.numberFormats)){const r=Object.keys(t.numberFormats);r.length&&r.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ec(e){return Ie(un,null,e,0)}const Sc="__INTLIFY_META__",Cc=()=>[],s1=()=>!1;let Pc=0;function Tc(e){return(t,n,s,o)=>e(n,s,Dn()||void 0,o)}const o1=()=>{const e=Dn();let t=null;return e&&(t=Bd(e)[Sc])?{[Sc]:t}:null};function Ud(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0,r=e.flatJson,i=Os?Ee:zn,a=!!e.translateExistCompatible;let l=Ae(e.inheritLocale)?e.inheritLocale:!0;const h=i(n&&l?n.locale.value:Z(e.locale)?e.locale:Hs),u=i(n&&l?n.fallbackLocale.value:Z(e.fallbackLocale)||Fe(e.fallbackLocale)||pe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:h.value),f=i(Hd(h.value,e)),d=i(pe(e.datetimeFormats)?e.datetimeFormats:{[h.value]:{}}),c=i(pe(e.numberFormats)?e.numberFormats:{[h.value]:{}});let p=n?n.missingWarn:Ae(e.missingWarn)||Ms(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:Ae(e.fallbackWarn)||Ms(e.fallbackWarn)?e.fallbackWarn:!0,v=n?n.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,w=!!e.fallbackFormat,b=be(e.missing)?e.missing:null,y=be(e.missing)?Tc(e.missing):null,_=be(e.postTranslation)?e.postTranslation:null,m=n?n.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,x=!!e.escapeParameter;const E=n?n.modifiers:pe(e.modifiers)?e.modifiers:{};let S=e.pluralRules||n&&n.pluralRules,P;P=(()=>{o&&pc(null);const N={version:Zx,locale:h.value,fallbackLocale:u.value,messages:f.value,modifiers:E,pluralRules:S,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:g,fallbackFormat:w,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:m,escapeParameter:x,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};N.datetimeFormats=d.value,N.numberFormats=c.value,N.__datetimeFormatters=pe(P)?P.__datetimeFormatters:void 0,N.__numberFormatters=pe(P)?P.__numberFormatters:void 0;const H=Vx(N);return o&&pc(H),H})(),hr(P,h.value,u.value);function T(){return[h.value,u.value,f.value,d.value,c.value]}const C=ge({get:()=>h.value,set:N=>{h.value=N,P.locale=h.value}}),O=ge({get:()=>u.value,set:N=>{u.value=N,P.fallbackLocale=u.value,hr(P,h.value,N)}}),F=ge(()=>f.value),$=ge(()=>d.value),B=ge(()=>c.value);function j(){return be(_)?_:null}function Y(N){_=N,P.postTranslation=N}function se(){return b}function ue(N){N!==null&&(y=Tc(N)),b=N,P.missing=y}const ce=(N,H,re,oe,Me,Be)=>{T();let We;try{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=n?Ux():void 0),We=N(P)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=void 0)}if(re!=="translate exists"&&Xe(We)&&We===po||re==="translate exists"&&!We){const[nt,$n]=H();return n&&v?oe(n):Me(nt)}else{if(Be(We))return We;throw Ot(xt.UNEXPECTED_RETURN_TYPE)}};function ne(...N){return ce(H=>Reflect.apply(yc,null,[H,...N]),()=>Si(...N),"translate",H=>Reflect.apply(H.t,H,[...N]),H=>H,H=>Z(H))}function Se(...N){const[H,re,oe]=N;if(oe&&!he(oe))throw Ot(xt.INVALID_ARGUMENT);return ne(H,re,$e({resolvedMessage:!0},oe||{}))}function ye(...N){return ce(H=>Reflect.apply(_c,null,[H,...N]),()=>Ci(...N),"datetime format",H=>Reflect.apply(H.d,H,[...N]),()=>dc,H=>Z(H))}function He(...N){return ce(H=>Reflect.apply(wc,null,[H,...N]),()=>Pi(...N),"number format",H=>Reflect.apply(H.n,H,[...N]),()=>dc,H=>Z(H))}function fe(N){return N.map(H=>Z(H)||Xe(H)||Ae(H)?Ec(String(H)):H)}const q={normalize:fe,interpolate:N=>N,type:"vnode"};function z(...N){return ce(H=>{let re;const oe=H;try{oe.processor=q,re=Reflect.apply(yc,null,[oe,...N])}finally{oe.processor=null}return re},()=>Si(...N),"translate",H=>H[Ti](...N),H=>[Ec(H)],H=>Fe(H))}function ee(...N){return ce(H=>Reflect.apply(wc,null,[H,...N]),()=>Pi(...N),"number format",H=>H[Ri](...N),Cc,H=>Z(H)||Fe(H))}function de(...N){return ce(H=>Reflect.apply(_c,null,[H,...N]),()=>Ci(...N),"datetime format",H=>H[Li](...N),Cc,H=>Z(H)||Fe(H))}function _e(N){S=N,P.pluralRules=S}function A(N,H){return ce(()=>{if(!N)return!1;const re=Z(H)?H:h.value,oe=W(re),Me=P.messageResolver(oe,N);return a?Me!=null:lr(Me)||_t(Me)||Z(Me)},()=>[N],"translate exists",re=>Reflect.apply(re.te,re,[N,H]),s1,re=>Ae(re))}function I(N){let H=null;const re=Td(P,u.value,h.value);for(let oe=0;oe<re.length;oe++){const Me=f.value[re[oe]]||{},Be=P.messageResolver(Me,N);if(Be!=null){H=Be;break}}return H}function D(N){const H=I(N);return H??(n?n.tm(N)||{}:{})}function W(N){return f.value[N]||{}}function U(N,H){if(r){const re={[N]:H};for(const oe in re)Ns(re,oe)&&Fr(re[oe]);H=re[N]}f.value[N]=H,P.messages=f.value}function X(N,H){f.value[N]=f.value[N]||{};const re={[N]:H};if(r)for(const oe in re)Ns(re,oe)&&Fr(re[oe]);H=re[N],Mn(H,f.value[N]),P.messages=f.value}function Q(N){return d.value[N]||{}}function R(N,H){d.value[N]=H,P.datetimeFormats=d.value,xc(P,N,H)}function k(N,H){d.value[N]=$e(d.value[N]||{},H),P.datetimeFormats=d.value,xc(P,N,H)}function M(N){return c.value[N]||{}}function K(N,H){c.value[N]=H,P.numberFormats=c.value,bc(P,N,H)}function J(N,H){c.value[N]=$e(c.value[N]||{},H),P.numberFormats=c.value,bc(P,N,H)}Pc++,n&&Os&&(dt(n.locale,N=>{l&&(h.value=N,P.locale=N,hr(P,h.value,u.value))}),dt(n.fallbackLocale,N=>{l&&(u.value=N,P.fallbackLocale=N,hr(P,h.value,u.value))}));const G={id:Pc,locale:C,fallbackLocale:O,get inheritLocale(){return l},set inheritLocale(N){l=N,N&&n&&(h.value=n.locale.value,u.value=n.fallbackLocale.value,hr(P,h.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:F,get modifiers(){return E},get pluralRules(){return S||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(N){p=N,P.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(N){g=N,P.fallbackWarn=g},get fallbackRoot(){return v},set fallbackRoot(N){v=N},get fallbackFormat(){return w},set fallbackFormat(N){w=N,P.fallbackFormat=w},get warnHtmlMessage(){return m},set warnHtmlMessage(N){m=N,P.warnHtmlMessage=N},get escapeParameter(){return x},set escapeParameter(N){x=N,P.escapeParameter=N},t:ne,getLocaleMessage:W,setLocaleMessage:U,mergeLocaleMessage:X,getPostTranslationHandler:j,setPostTranslationHandler:Y,getMissingHandler:se,setMissingHandler:ue,[t1]:_e};return G.datetimeFormats=$,G.numberFormats=B,G.rt=Se,G.te=A,G.tm=D,G.d=ye,G.n=He,G.getDateTimeFormat=Q,G.setDateTimeFormat=R,G.mergeDateTimeFormat=k,G.getNumberFormat=M,G.setNumberFormat=K,G.mergeNumberFormat=J,G[n1]=s,G[Ti]=z,G[Li]=de,G[Ri]=ee,G}const ya={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function i1({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===Ke?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function Vd(e){return Ke}const a1=ze({name:"i18n-t",props:$e({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Xe(e)||!isNaN(e)}},ya),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||go({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(f=>f!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Z(e.plural)?+e.plural:e.plural);const a=i1(t,r),l=o[Ti](e.keypath,a,i),h=$e({},s),u=Z(e.tag)||he(e.tag)?e.tag:Vd();return Ye(u,h,l)}}}),Lc=a1;function l1(e){return Fe(e)&&!Z(e[0])}function jd(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Z(e.format)?i.key=e.format:he(e.format)&&(Z(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?$e({},d,{[c]:e.format[c]}):d,{}));const l=s(e.value,i,a);let h=[i.key];Fe(l)?h=l.map((d,c)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:c,parts:l}):[d.value];return l1(g)&&(g[0].key=`${d.type}-${c}`),g}):Z(l)&&(h=[l]);const u=$e({},r),f=Z(e.tag)||he(e.tag)?e.tag:Vd();return Ye(f,u,h)}}const c1=ze({name:"i18n-n",props:$e({value:{type:Number,required:!0},format:{type:[String,Object]}},ya),setup(e,t){const n=e.i18n||go({useScope:e.scope,__useComponent:!0});return jd(e,t,Dd,(...s)=>n[Ri](...s))}}),Rc=c1,u1=ze({name:"i18n-d",props:$e({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ya),setup(e,t){const n=e.i18n||go({useScope:e.scope,__useComponent:!0});return jd(e,t,Nd,(...s)=>n[Li](...s))}}),kc=u1;function f1(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function d1(e){const t=i=>{const{instance:a,modifiers:l,value:h}=i;if(!a||!a.$)throw Ot(xt.UNEXPECTED_ERROR);const u=f1(e,a.$),f=Ac(h);return[Reflect.apply(u.t,u,[...Ic(f)]),u]};return{created:(i,a)=>{const[l,h]=t(a);Os&&e.global===h&&(i.__i18nWatcher=dt(h.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=h,i.textContent=l},unmounted:i=>{Os&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,h=Ac(a);i.textContent=Reflect.apply(l.t,l,[...Ic(h)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Ac(e){if(Z(e))return{path:e};if(pe(e)){if(!("path"in e))throw Ot(xt.REQUIRED_VALUE,"path");return e}else throw Ot(xt.INVALID_VALUE)}function Ic(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Z(n)&&(i.locale=n),Xe(o)&&(i.plural=o),Xe(r)&&(i.plural=r),[t,a,i]}function h1(e,t,...n){const s=pe(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Ae(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":Lc.name,"I18nT"].forEach(i=>e.component(i,Lc)),[Rc.name,"I18nN"].forEach(i=>e.component(i,Rc)),[kc.name,"I18nD"].forEach(i=>e.component(i,kc))),e.directive("t",d1(t))}const p1=_n("global-vue-i18n");function g1(e={},t){const n=Ae(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=m1(e),a=_n("");function l(f){return o.get(f)||null}function h(f,d){o.set(f,d)}function u(f){o.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return s},async install(d,...c){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,f),pe(c[0])){const v=c[0];f.__composerExtend=v.__composerExtend,f.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=S1(d,f.global)),h1(d,f,...c);const g=d.unmount;d.unmount=()=>{p&&p(),f.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:h,__deleteInstance:u};return f}}function go(e={}){const t=Dn();if(t==null)throw Ot(xt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ot(xt.NOT_INSTALLED);const n=v1(t),s=_1(n),o=Bd(t),r=y1(e,o);if(r==="global")return r1(s,e,o),s;if(r==="parent"){let l=x1(n,t,e.__useComponent);return l==null&&(l=s),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=$e({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),a=Ud(l),i.__composerExtend&&(a[ki]=i.__composerExtend(a)),b1(i,t,a),i.__setInstance(t,a)}return a}function m1(e,t,n){const s=Di();{const o=s.run(()=>Ud(e));if(o==null)throw Ot(xt.UNEXPECTED_ERROR);return[s,o]}}function v1(e){{const t=et(e.isCE?p1:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ot(e.isCE?xt.NOT_INSTALLED_WITH_PROVIDE:xt.UNEXPECTED_ERROR);return t}}function y1(e,t){return oo(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _1(e){return e.mode==="composition"?e.global:e.global.__composer}function x1(e,t,n=!1){let s=null;const o=t.root;let r=w1(t,n);for(;r!=null;){const i=e;if(e.mode==="composition"&&(s=i.__getInstance(r)),s!=null||o===r)break;r=r.parent}return s}function w1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function b1(e,t,n){wt(()=>{},t),Xi(()=>{const s=n;e.__deleteInstance(t);const o=s[ki];o&&(o(),delete s[ki])},t)}const E1=["locale","fallbackLocale","availableLocales"],Oc=["t","rt","d","n","tm","te"];function S1(e,t){const n=Object.create(null);return E1.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw Ot(xt.UNEXPECTED_ERROR);const i=Ne(r.value)?{get(){return r.value.value},set(a){r.value.value=a}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Oc.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw Ot(xt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Oc.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}e1();Dx(Yx);Fx(vx);$x(Td);if(__INTLIFY_PROD_DEVTOOLS__){const e=ca();e.__INTLIFY__=!0,Px(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function C1(){return ut(co)}function P1(){return ut(ir)}const T1=Mt({name:"i18n:plugin:switch-locale-path-ssr",dependsOn:["i18n:plugin"],setup(e){if(e.$config.public.i18n.experimental.switchLocalePathLinkSSR!==!0)return;const t=P1(),n=new RegExp([`<!--${Ql}-\\[(\\w+)\\]-->`,".+?",`<!--/${Ql}-->`].join(""),"g");e.hook("app:rendered",s=>{var o;((o=s.renderResult)==null?void 0:o.html)!=null&&(s.renderResult.html=s.renderResult.html.replaceAll(n,(r,i)=>r.replace(/href="([^"]+)"/,`href="${encodeURI(t(i??""))}"`)))})}});function L1(e,{locales:t=[],localeCodes:n=[],baseUrl:s="",hooks:o={},context:r={}}={}){const i=Di(),a=e.install;return e.install=(l,...h)=>{const u=A1(h[0])?$e({},h[0]):{inject:!0};u.inject==null&&(u.inject=!0);const f=u.__composerExtend;if(u.__composerExtend=g=>{const v=sr(e);g.locales=ge(()=>v.locales.value),g.localeCodes=ge(()=>v.localeCodes.value),g.baseUrl=ge(()=>v.baseUrl.value);let w;return be(f)&&(w=Reflect.apply(f,u,[g])),()=>{w&&w()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{Mc(v,o.onExtendVueI18n);let w;return be(g)&&(w=Reflect.apply(g,u,[v])),()=>{w&&w()}}}h[0]=u,Reflect.apply(a,e,[l,...h]);const d=sr(e);i.run(()=>{R1(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&ld(e.global)&&Mc(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&k1(p,d,o.onExtendExportedGlobal),u.inject){const g=pa(e);l.mixin({methods:{getRouteBaseName:ut(or,g),resolveRoute:ut(uo,g),localePath:ut(co,g),localeRoute:ut(da,g),localeLocation:ut(m_,g),switchLocalePath:ut(ir,g),localeHead:ut(hd,g)}})}if(c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function R1(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=Ee(n),a=Ee(s),l=Ee("");e.locales=ge(()=>i.value),e.localeCodes=ge(()=>a.value),e.baseUrl=ge(()=>l.value),J0?dt(e.locale,()=>{l.value=Zl(o,r)},{immediate:!0}):l.value=Zl(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function Wd(e,t,n){const s=[{locales:{get(){return e.locales.value}},localeCodes:{get(){return e.localeCodes.value}},baseUrl:{get(){return e.baseUrl.value}}}];n&&s.push(n(e));for(const o of s)for(const[r,i]of Object.entries(o))Object.defineProperty(t,r,i)}function k1(e,t,n){Wd(t,e,n)}function Mc(e,t){const n=sr(e);Wd(n,e,t)}function A1(e){return he(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const I1=Mt({name:"i18n:plugin",parallel:G0,async setup(e){let t,n;const s=Zs(),{vueApp:o}=e,r=e,i=fo(),{configLocales:a,defaultLocale:l,multiDomainLocales:h,strategy:u}=r.$config.public.i18n,f=a.some(T=>typeof T!="string"&&Array.isArray(T.defaultForDomains));let d;if(l)d=l;else if(f){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(h&&(u==="prefix_except_default"||u==="prefix_and_default")){const T=Qe();T.getRoutes().forEach(C=>{var O;if((O=C.name)!=null&&O.toString().includes("___default"))if(C.name.toString().split("___")[1]!==d)T.removeRoute(C.name);else{const $=C.name.toString().replace("___default","");C.name=$}})}const c={...r.$config.public.i18n,defaultLocale:d};c.baseUrl=O_();const p=Xr(),g=([t,n]=Tt(()=>a_(K0,me())),t=await t,n(),t);g.messages=g.messages||{},g.fallbackLocale=g.fallbackLocale??!1;const v=md(),w=T=>T||g.locale||"en-US",b=N_();let y=nc(s,v,w(c.defaultLocale),{ssg:c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0,localeCookie:cs(b,p,c.defaultLocale)},c);g.messages=([t,n]=Tt(()=>l_(g.messages,Ds,{localeCodes:rr,initialLocale:y,lazy:c.lazy,defaultLocale:c.defaultLocale,fallbackLocale:g.fallbackLocale})),t=await t,n(),t),y=w(y);const _=g1({...g,locale:y});let m=!0;const x=T=>y!==T&&m;let E=!0;const S=()=>E;S()&&c.strategy==="no_prefix"&&e.hook("app:mounted",()=>{const T=bd(s,{ssg:"ssg_setup",callType:"setup",firstAccess:!0,localeCookie:cs(b,p,c.defaultLocale)},y);S_(_,T.locale),E=!1}),L1(_,{locales:c.configLocales,localeCodes:rr,baseUrl:c.baseUrl,context:r,hooks:{onExtendComposer(T){T.strategy=c.strategy,T.localeProperties=ge(()=>ao.find(C=>C.code===T.locale.value)||{code:T.locale.value}),T.setLocale=async C=>{const O=x(C);await tc(C,_,c,O)&&O&&(m=!1);const $=await r.runWithContext(()=>rc({route:{to:s},targetLocale:C,routeLocaleGetter:v}));await r.runWithContext(async()=>await sc({nuxtApp:r,i18n:_,redirectPath:$,locale:C,route:s},{enableNavigate:!0}))},T.loadLocaleMessages=async C=>{await Fs(C,Ds,(F,$)=>vd(_,F,$))},T.differentDomains=c.differentDomains,T.defaultLocale=c.defaultLocale,T.getBrowserLocale=()=>xd(),T.getLocaleCookie=()=>cs(b,p,c.defaultLocale),T.setLocaleCookie=C=>D_(b,C,p),T.onBeforeLanguageSwitch=(C,O,F,$)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:C,newLocale:O,initialSetup:F,context:$}),T.onLanguageSwitched=(C,O)=>e.callHook("i18n:localeSwitched",{oldLocale:C,newLocale:O}),T.finalizePendingLocaleChange=async()=>{_.__pendingLocale&&(cd(_,_.__pendingLocale),_.__resolvePendingLocalePromise&&await _.__resolvePendingLocalePromise(),_.__pendingLocale=void 0)},T.waitForPendingLocaleChange=async()=>{_.__pendingLocale&&_.__pendingLocalePromise&&await _.__pendingLocalePromise}},onExtendExportedGlobal(T){return{strategy:{get(){return T.strategy}},localeProperties:{get(){return T.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(T.setLocale,T,[C])}},differentDomains:{get(){return T.differentDomains}},defaultLocale:{get(){return T.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(T.getBrowserLocale,T,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(T.getLocaleCookie,T,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(T.setLocaleCookie,T,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,$)=>Reflect.apply(T.onBeforeLanguageSwitch,T,[C,O,F,$])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(T.onLanguageSwitched,T,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])}}}},onExtendVueI18n(T){return{strategy:{get(){return T.strategy}},localeProperties:{get(){return T.localeProperties.value}},setLocale:{get(){return async C=>Reflect.apply(T.setLocale,T,[C])}},loadLocaleMessages:{get(){return async C=>Reflect.apply(T.loadLocaleMessages,T,[C])}},differentDomains:{get(){return T.differentDomains}},defaultLocale:{get(){return T.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(T.getBrowserLocale,T,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(T.getLocaleCookie,T,[])}},setLocaleCookie:{get(){return C=>Reflect.apply(T.setLocaleCookie,T,[C])}},onBeforeLanguageSwitch:{get(){return(C,O,F,$)=>Reflect.apply(T.onBeforeLanguageSwitch,T,[C,O,F,$])}},onLanguageSwitched:{get(){return(C,O)=>Reflect.apply(T.onLanguageSwitched,T,[C,O])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(T.finalizePendingLocaleChange,T,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(T.waitForPendingLocaleChange,T,[])}}}}}});const P={__composerExtend:T=>{const C=sr(_);return T.strategy=C.strategy,T.localeProperties=ge(()=>C.localeProperties.value),T.setLocale=C.setLocale,T.differentDomains=C.differentDomains,T.getBrowserLocale=C.getBrowserLocale,T.getLocaleCookie=C.getLocaleCookie,T.setLocaleCookie=C.setLocaleCookie,T.onBeforeLanguageSwitch=C.onBeforeLanguageSwitch,T.onLanguageSwitched=C.onLanguageSwitched,T.finalizePendingLocaleChange=C.finalizePendingLocaleChange,T.waitForPendingLocaleChange=C.waitForPendingLocaleChange,()=>{}}};o.use(_,P),k_(r,_);let L=0;rv("locale-changing",async(T,C)=>{let O,F;const $=nc(T,v,()=>lo(_)||w(c.defaultLocale),{ssg:S()&&c.strategy==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:L===0,localeCookie:cs(b,p,c.defaultLocale)},c),B=x($);([O,F]=Tt(()=>tc($,_,c,B)),O=await O,F(),O)&&B&&(m=!1);const Y=([O,F]=Tt(()=>r.runWithContext(()=>rc({route:{to:T,from:C},targetLocale:$,routeLocaleGetter:c.strategy==="no_prefix"?()=>$:v,calledWithRouting:!0}))),O=await O,F(),O);return L++,[O,F]=Tt(()=>r.runWithContext(async()=>sc({nuxtApp:r,i18n:_,redirectPath:Y,locale:$,route:T}))),O=await O,F(),O},{global:!0})}}),O1=[sy,iy,E0,C0,P0,T0,R0,k0,A0,T1,I1],M1=ze({props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,s={};for(const o in e.route)Object.defineProperty(s,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return cn(Kr,Gt(s)),()=>Ye(e.vnode,{ref:e.vnodeRef})}}),N1=ze({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:s}){const o=me(),r=Ee(),i=et(Kr,null);let a;s({pageRef:r});const l=et(Af,null);let h;const u=o.deferHydration();if(o.isHydrating){const f=o.hooks.hookOnce("app:error",u);Qe().beforeEach(f)}return e.pageKey&&dt(()=>e.pageKey,(f,d)=>{f!==d&&o.callHook("page:loading:start")}),()=>Ye(rd,{name:e.name,route:e.route,...t},{default:f=>{const d=F1(i,f.route,f.Component),c=i&&i.matched.length===f.route.matched.length;if(!f.Component){if(h&&!c)return h;u();return}if(h&&l&&!l.isCurrent(f.route))return h;if(d&&i&&(!l||l!=null&&l.isCurrent(i)))return c?h:null;const p=xi(f,e.pageKey);!o.isHydrating&&!$1(i,f.route,f.Component)&&a===p&&o.callHook("page:loading:end"),a=p;const g=!!(e.transition??f.route.meta.pageTransition??li),v=g&&D1([e.transition,f.route.meta.pageTransition,li,{onAfterLeave:()=>{o.callHook("page:transition:finish",f.Component)}}].filter(Boolean)),w=e.keepalive??f.route.meta.keepalive??Im;return h=sd(uf,g&&v,d0(w,Ye(zi,{suspensible:!0,onPending:()=>o.callHook("page:start",f.Component),onResolve:()=>{vn(()=>o.callHook("page:finish",f.Component).then(()=>o.callHook("page:loading:end")).finally(u))}},{default:()=>{const b=Ye(M1,{key:p||void 0,vnode:n.default?Ye(Ke,void 0,n.default(f)):f.Component,route:f.route,renderKey:p||void 0,trackRootNodes:g,vnodeRef:r});return w&&(b.type.name=f.Component.type.name||f.Component.type.__name||"RouteProvider"),b}}))).default(),h}})}});function D1(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?la(n.onAfterLeave):void 0}));return Rf(...t)}function F1(e,t,n){if(!e)return!1;const s=t.matched.findIndex(o=>{var r;return((r=o.components)==null?void 0:r.default)===(n==null?void 0:n.type)});return!s||s===-1?!1:t.matched.slice(0,s).some((o,r)=>{var i,a,l;return((i=o.components)==null?void 0:i.default)!==((l=(a=e.matched[r])==null?void 0:a.components)==null?void 0:l.default)})||n&&xi({route:t,Component:n})!==xi({route:e,Component:n})}function $1(e,t,n){return e?t.matched.findIndex(o=>{var r;return((r=o.components)==null?void 0:r.default)===(n==null?void 0:n.type)})<t.matched.length-1:!1}const H1=ze({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await an[e.name]().then(s=>s.default||s);return()=>Ye(n,e.layoutProps,t.slots)}}),B1=ze({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=me(),s=et(Kr),o=s===Zs()?u0():s,r=ge(()=>{let l=te(e.name)??o.meta.layout??"default";return l&&!(l in an)&&e.fallback&&(l=te(e.fallback)),l}),i=Ee();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);Qe().beforeEach(l)}return()=>{const l=r.value&&r.value in an,h=o.meta.layoutTransition??Am;return sd(uf,l&&h,{default:()=>Ye(zi,{suspensible:!0,onResolve:()=>{vn(a)}},{default:()=>Ye(U1,{layoutProps:rf(t.attrs,{ref:i}),key:r.value||void 0,name:r.value,shouldProvide:!e.name,hasTransition:!!h},t.slots)})}).default()}}}),U1=ze({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&cn(Af,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in an)?(o=(s=t.slots).default)==null?void 0:o.call(s):Ye(H1,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),V1=Symbol.for("nuxt:client-only"),mo=ze({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Ee(!1);return wt(()=>{s.value=!0}),cn(V1,!0),o=>{var l;if(s.value)return(l=t.default)==null?void 0:l.call(t);const r=t.fallback||t.placeholder;if(r)return r();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return it(a,n,i)}}});function Nc(){return localStorage.getItem("cookie")==null}function j1(){localStorage.setItem("cookie","accept")}function W1(){localStorage.setItem("cookie","refuse")}const Kd=["cookie","future","change-something","picture-bright","picture-nolights"];function K1(e){if(!Kd.includes(e))return;let t=new Set(JSON.parse(localStorage.getItem("eastereggs")??"[]"));const n=!t.has(e);t.add(e),localStorage.setItem("eastereggs",JSON.stringify([...t])),n&&document.dispatchEvent(new CustomEvent("easteregg",{detail:e}))}function _a(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function Dc(){return _a().length}function G1(){return Kd.length}function ab(e){return e[Math.floor(Math.random()*e.length)]}function Gd(e,t){return Math.random()*(t-e)+e}function X1(e,t){return Math.floor(Gd(e,t))}var Bo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Xd={exports:{}};/*!
* matter-js 0.19.0 by @liabru
* http://brm.io/matter-js/
* License MIT
*
* The MIT License (MIT)
*
* Copyright (c) Liam Brummitt and contributors.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/(function(e,t){(function(s,o){e.exports=o()})(Bo,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(h){return r[h]}).bind(null,l));return a},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,a){var l,h;typeof a=="boolean"?(l=2,h=a):(l=1,h=!0);for(var u=l;u<arguments.length;u++){var f=arguments[u];if(f)for(var d in f)h&&f[d]&&f[d].constructor===Object&&(!i[d]||i[d].constructor===Object)?(i[d]=i[d]||{},o.extend(i[d],h,f[d])):i[d]=f[d]}return i},o.clone=function(i,a){return o.extend({},a,i)},o.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},o.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),h=0;h<l.length;h++)a.push(i[l[h]]);return a}for(var u in i)a.push(i[u]);return a},o.get=function(i,a,l,h){a=a.split(".").slice(l,h);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},o.set=function(i,a,l,h,u){var f=a.split(".").slice(h,u);return o.get(i,a,0,-1)[f[f.length-1]]=l,l},o.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(o.random()*(a+1)),h=i[a];i[a]=i[l],i[l]=h}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,a,l){return i<a?a:i>l?l:i},o.sign=function(i){return i<0?-1:1},o.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-o._nowStartTime},o.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;l<i.length;l++)if(i[l]===a)return l;return-1},o.map=function(i,a){if(i.map)return i.map(a);for(var l=[],h=0;h<i.length;h+=1)l.push(a(i[h]));return l},o.topologicalSort=function(i){var a=[],l=[],h=[];for(var u in i)!l[u]&&!h[u]&&o._topologicalSort(u,l,h,i,a);return a},o._topologicalSort=function(i,a,l,h,u){var f=h[i]||[];l[i]=!0;for(var d=0;d<f.length;d+=1){var c=f[d];l[c]||a[c]||o._topologicalSort(c,a,l,h,u)}l[i]=!1,a[i]=!0,u.push(i)},o.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}var h=function(){for(var u,f=new Array(arguments.length),d=0,c=arguments.length;d<c;d++)f[d]=arguments[d];for(d=0;d<i.length;d+=1){var p=i[d].apply(u,f);typeof p<"u"&&(u=p)}return u};return h._chained=i,h},o.chainPathBefore=function(i,a,l){return o.set(i,a,o.chain(l,o.get(i,a)))},o.chainPathAfter=function(i,a,l){return o.set(i,a,o.chain(o.get(i,a),l))},o.setDecomp=function(i){o._decomp=i},o.getDecomp=function(){var i=o._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof Bo<"u"&&(i=Bo.decomp)}catch{i=null}return i}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&o.update(i,r),i},o.update=function(r,i,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var h=i[l];h.x>r.max.x&&(r.max.x=h.x),h.x<r.min.x&&(r.min.x=h.x),h.y>r.max.y&&(r.max.y=h.y),h.y<r.min.y&&(r.min.y=h.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},o.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},o.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,a){var l=Math.cos(i),h=Math.sin(i);a||(a={});var u=r.x*l-r.y*h;return a.y=r.x*h+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var h=Math.cos(i),u=Math.sin(i);l||(l={});var f=a.x+((r.x-a.x)*h-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*h),l.x=f,l},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.create=function(l,h){for(var u=[],f=0;f<l.length;f++){var d=l[f],c={x:d.x,y:d.y,index:f,body:h,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,h){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,f=[];return l.replace(u,function(d,c,p){f.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(f,h)},r.centre=function(l){for(var h=r.area(l,!0),u={x:0,y:0},f,d,c,p=0;p<l.length;p++)c=(p+1)%l.length,f=i.cross(l[p],l[c]),d=i.mult(i.add(l[p],l[c]),f),u=i.add(u,d);return i.div(u,6*h)},r.mean=function(l){for(var h={x:0,y:0},u=0;u<l.length;u++)h.x+=l[u].x,h.y+=l[u].y;return i.div(h,l.length)},r.area=function(l,h){for(var u=0,f=l.length-1,d=0;d<l.length;d++)u+=(l[f].x-l[d].x)*(l[f].y+l[d].y),f=d;return h?u/2:Math.abs(u)/2},r.inertia=function(l,h){for(var u=0,f=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])),f+=c;return h/6*(u/f)},r.translate=function(l,h,u){u=typeof u<"u"?u:1;var f=l.length,d=h.x*u,c=h.y*u,p;for(p=0;p<f;p++)l[p].x+=d,l[p].y+=c;return l},r.rotate=function(l,h,u){if(h!==0){var f=Math.cos(h),d=Math.sin(h),c=u.x,p=u.y,g=l.length,v,w,b,y;for(y=0;y<g;y++)v=l[y],w=v.x-c,b=v.y-p,v.x=c+(w*f-b*d),v.y=p+(w*d+b*f);return l}},r.contains=function(l,h){for(var u=h.x,f=h.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)+(f-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,h,u,f){if(h===1&&u===1)return l;f=f||r.centre(l);for(var d,c,p=0;p<l.length;p++)d=l[p],c=i.sub(d,f),l[p].x=f.x+c.x*h,l[p].y=f.y+c.y*u;return l},r.chamfer=function(l,h,u,f,d){typeof h=="number"?h=[h]:h=h||[8],u=typeof u<"u"?u:-1,f=f||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],b=h[p<h.length?p:h.length-1];if(b===0){c.push(v);continue}var y=i.normalise({x:v.y-g.y,y:g.x-v.x}),_=i.normalise({x:w.y-v.y,y:v.x-w.x}),m=Math.sqrt(2*Math.pow(b,2)),x=i.mult(a.clone(y),b),E=i.normalise(i.mult(i.add(y,_),.5)),S=i.sub(v,i.mult(E,m)),P=u;u===-1&&(P=Math.pow(b,.32)*1.75),P=a.clamp(P,f,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),S))}return c},r.clockwiseSort=function(l){var h=r.mean(l);return l.sort(function(u,f){return i.angle(h,u)-i.angle(h,f)}),l},r.isConvex=function(l){var h=0,u=l.length,f,d,c,p;if(u<3)return null;for(f=0;f<u;f++)if(d=(f+1)%u,c=(f+2)%u,p=(l[d].x-l[f].x)*(l[c].y-l[d].y),p-=(l[d].y-l[f].y)*(l[c].x-l[d].x),p<0?h|=1:p>0&&(h|=2),h===3)return!1;return h!==0?!0:null},r.hull=function(l){var h=[],u=[],f,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(f=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],f)<=0;)u.pop();u.push(f)}for(d=l.length-1;d>=0;d-=1){for(f=l[d];h.length>=2&&i.cross3(h[h.length-2],h[h.length-1],f)<=0;)h.pop();h.push(f)}return h.pop(),u.pop(),h.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),h=o(0),u=o(1),f=o(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:h.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=h.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),f.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":h.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=f.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var g=i.centre(c.vertices);i.translate(c.vertices,g,-1),r.setInertia(c,r._inertiaScale*i.inertia(c.vertices,c.mass)),i.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},r.setParts=function(c,p,g){var v;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<p.length;v++){var w=p[v];w!==c&&(w.parent=c,c.parts.push(w))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var b=[];for(v=0;v<p.length;v++)b=b.concat(p[v].vertices);i.clockwiseSort(b);var y=i.hull(b),_=i.centre(y);r.setVertices(c,y),i.translate(c.vertices,_)}var m=r._totalProperties(c);c.area=m.area,c.parent=c,c.position.x=m.centre.x,c.position.y=m.centre.y,c.positionPrev.x=m.centre.x,c.positionPrev.y=m.centre.y,r.setMass(c,m.mass),r.setInertia(c,m.inertia),r.setPosition(c,m.centre)}},r.setCentre=function(c,p,g){g?(c.positionPrev.x+=p.x,c.positionPrev.y+=p.y,c.position.x+=p.x,c.position.y+=p.y):(c.positionPrev.x=p.x-(c.position.x-c.positionPrev.x),c.positionPrev.y=p.y-(c.position.y-c.positionPrev.y),c.position.x=p.x,c.position.y=p.y)},r.setPosition=function(c,p,g){var v=a.sub(p,c.position);g?(c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.velocity.x=v.x,c.velocity.y=v.y,c.speed=a.magnitude(v)):(c.positionPrev.x+=v.x,c.positionPrev.y+=v.y);for(var w=0;w<c.parts.length;w++){var b=c.parts[w];b.position.x+=v.x,b.position.y+=v.y,i.translate(b.vertices,v),u.update(b.bounds,b.vertices,c.velocity)}},r.setAngle=function(c,p,g){var v=p-c.angle;g?(c.anglePrev=c.angle,c.angularVelocity=v,c.angularSpeed=Math.abs(v)):c.anglePrev+=v;for(var w=0;w<c.parts.length;w++){var b=c.parts[w];b.angle+=v,i.rotate(b.vertices,v,c.position),f.rotate(b.axes,v),u.update(b.bounds,b.vertices,c.velocity),w>0&&a.rotateAbout(b.position,v,c.position,b.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,h.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var w=Math.cos(p),b=Math.sin(p),y=c.position.x-g.x,_=c.position.y-g.y;r.setPosition(c,{x:g.x+(y*w-_*b),y:g.y+(y*b+_*w)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var w=0,b=0;v=v||c.position;for(var y=0;y<c.parts.length;y++){var _=c.parts[y];i.scale(_.vertices,p,g,v),_.axes=f.fromVertices(_.vertices),_.area=i.area(_.vertices),r.setMass(_,c.density*_.area),i.translate(_.vertices,{x:-_.position.x,y:-_.position.y}),r.setInertia(_,r._inertiaScale*i.inertia(_.vertices,_.mass)),i.translate(_.vertices,{x:_.position.x,y:_.position.y}),y>0&&(w+=_.area,b+=_.inertia),_.position.x=v.x+(_.position.x-v.x)*p,_.position.y=v.y+(_.position.y-v.y)*g,u.update(_.bounds,_.vertices,c.velocity)}c.parts.length>1&&(c.area=w,c.isStatic||(r.setMass(c,c.density*w),r.setInertia(c,b))),c.circleRadius&&(p===g?c.circleRadius*=p:c.circleRadius=null)},r.update=function(c,p){p=(typeof p<"u"?p:1e3/60)*c.timeScale;var g=p*p,v=r._timeCorrection?p/(c.deltaTime||p):1,w=1-c.frictionAir*(p/h._baseDelta),b=(c.position.x-c.positionPrev.x)*v,y=(c.position.y-c.positionPrev.y)*v;c.velocity.x=b*w+c.force.x/c.mass*g,c.velocity.y=y*w+c.force.y/c.mass*g,c.positionPrev.x=c.position.x,c.positionPrev.y=c.position.y,c.position.x+=c.velocity.x,c.position.y+=c.velocity.y,c.deltaTime=p,c.angularVelocity=(c.angle-c.anglePrev)*w*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var _=0;_<c.parts.length;_++){var m=c.parts[_];i.translate(m.vertices,c.velocity),_>0&&(m.position.x+=c.velocity.x,m.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(m.vertices,c.angularVelocity,c.position),f.rotate(m.axes,c.angularVelocity),_>0&&a.rotateAbout(m.position,c.angularVelocity,c.position,m.position)),u.update(m.bounds,m.vertices,c.velocity)}},r.updateVelocities=function(c){var p=r._baseDelta/c.deltaTime,g=c.velocity;g.x=(c.position.x-c.positionPrev.x)*p,g.y=(c.position.y-c.positionPrev.y)*p,c.speed=Math.sqrt(g.x*g.x+g.y*g.y),c.angularVelocity=(c.angle-c.anglePrev)*p,c.angularSpeed=Math.abs(c.angularVelocity)},r.applyForce=function(c,p,g){var v={x:p.x-c.position.x,y:p.y-c.position.y};c.force.x+=g.x,c.force.y+=g.y,c.torque+=v.x*g.y-v.y*g.x},r._totalProperties=function(c){for(var p={mass:0,area:0,inertia:0,centre:{x:0,y:0}},g=c.parts.length===1?0:1;g<c.parts.length;g++){var v=c.parts[g],w=v.mass!==1/0?v.mass:1;p.mass+=w,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,w))}return p.centre=a.div(p.centre,p.mass),p}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.on=function(a,l,h){for(var u=l.split(" "),f,d=0;d<u.length;d++)f=u[d],a.events=a.events||{},a.events[f]=a.events[f]||[],a.events[f].push(h);return h},r.off=function(a,l,h){if(!l){a.events={};return}typeof l=="function"&&(h=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),f=0;f<u.length;f++){var d=a.events[u[f]],c=[];if(h&&d)for(var p=0;p<d.length;p++)d[p]!==h&&c.push(d[p]);a.events[u[f]]=c}},r.trigger=function(a,l,h){var u,f,d,c,p=a.events;if(p&&i.keys(p).length>0){h||(h={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(f=u[g],d=p[f],d){c=i.clone(h,!1),c.name=f,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(0),l=o(1),h=o(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.setModified=function(u,f,d,c){if(u.isModified=f,f&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),d&&u.parent&&r.setModified(u.parent,f,d,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,f,d,c)}},r.add=function(u,f){var d=[].concat(f);i.trigger(u,"beforeAdd",{object:f});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:f}),u},r.remove=function(u,f,d){var c=[].concat(f);i.trigger(u,"beforeRemove",{object:f});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:f}),u},r.addComposite=function(u,f){return u.composites.push(f),f.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,f,d){var c=a.indexOf(u.composites,f);if(c!==-1&&r.removeCompositeAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],f,!0);return u},r.removeCompositeAt=function(u,f){return u.composites.splice(f,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,f){return u.bodies.push(f),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,f,d){var c=a.indexOf(u.bodies,f);if(c!==-1&&r.removeBodyAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],f,!0);return u},r.removeBodyAt=function(u,f){return u.bodies.splice(f,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,f){return u.constraints.push(f),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,f,d){var c=a.indexOf(u.constraints,f);if(c!==-1&&r.removeConstraintAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],f,!0);return u},r.removeConstraintAt=function(u,f){return u.constraints.splice(f,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,f,d){if(d)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],f,!0);return f?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 f=[].concat(u.bodies),d=0;d<u.composites.length;d++)f=f.concat(r.allBodies(u.composites[d]));return u.cache&&(u.cache.allBodies=f),f},r.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var f=[].concat(u.constraints),d=0;d<u.composites.length;d++)f=f.concat(r.allConstraints(u.composites[d]));return u.cache&&(u.cache.allConstraints=f),f},r.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var f=[].concat(u.composites),d=0;d<u.composites.length;d++)f=f.concat(r.allComposites(u.composites[d]));return u.cache&&(u.cache.allComposites=f),f},r.get=function(u,f,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()===f.toString()}),p.length===0?null:p[0]):null},r.move=function(u,f,d){return r.remove(u,f),r.add(d,f),u},r.rebase=function(u){for(var f=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<f.length;d++)f[d].id=a.nextId();return u},r.translate=function(u,f,d){for(var c=d?r.allBodies(u):u.bodies,p=0;p<c.length;p++)h.translate(c[p],f);return u},r.rotate=function(u,f,d,c){for(var p=Math.cos(f),g=Math.sin(f),v=c?r.allBodies(u):u.bodies,w=0;w<v.length;w++){var b=v[w],y=b.position.x-d.x,_=b.position.y-d.y;h.setPosition(b,{x:d.x+(y*p-_*g),y:d.y+(y*g+_*p)}),h.rotate(b,f)}return u},r.scale=function(u,f,d,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var w=g[v],b=w.position.x-c.x,y=w.position.y-c.y;h.setPosition(w,{x:c.x+b*f,y:c.y+y*d}),h.scale(w,f,d)}return u},r.bounds=function(u){for(var f=r.allBodies(u),d=[],c=0;c<f.length;c+=1){var p=f[c];d.push(p.bounds.min,p.bounds.max)}return l.create(d)}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(5),l=o(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(h,u){for(var f=u/l._baseDelta,d=r._motionSleepThreshold,c=0;c<h.length;c++){var p=h[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),w=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var b=Math.min(p.motion,w),y=Math.max(p.motion,w);p.motion=r._minBias*b+(1-r._minBias)*y,p.sleepThreshold>0&&p.motion<d?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/f&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(h){for(var u=r._motionSleepThreshold,f=0;f<h.length;f++){var d=h[f];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(h,u){var f=h.isSleeping;u?(h.isSleeping=!0,h.sleepCounter=h.sleepThreshold,h.positionImpulse.x=0,h.positionImpulse.y=0,h.positionPrev.x=h.position.x,h.positionPrev.y=h.position.y,h.anglePrev=h.angle,h.speed=0,h.angularSpeed=0,h.motion=0,f||a.trigger(h,"sleepStart")):(h.isSleeping=!1,h.sleepCounter=0,f&&a.trigger(h,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],h={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(f,d){return{pair:null,collided:!1,bodyA:f,bodyB:d,parentA:f.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(f,d,c){if(r._overlapAxes(h,f.vertices,d.vertices,f.axes),h.overlap<=0||(r._overlapAxes(u,d.vertices,f.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(f,d)],g;p?g=p.collision:(g=r.create(f,d),g.collided=!0,g.bodyA=f.id<d.id?f:d,g.bodyB=f.id<d.id?d:f,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),f=g.bodyA,d=g.bodyB;var v;h.overlap<u.overlap?v=h:v=u;var w=g.normal,b=g.supports,y=v.axis,_=y.x,m=y.y;_*(d.position.x-f.position.x)+m*(d.position.y-f.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(f,d,w,1),E=0;if(i.contains(f.vertices,x[0])&&(b[E++]=x[0]),i.contains(f.vertices,x[1])&&(b[E++]=x[1]),E<2){var S=r._findSupports(d,f,w,-1);i.contains(d.vertices,S[0])&&(b[E++]=S[0]),E<2&&i.contains(d.vertices,S[1])&&(b[E++]=S[1])}return E===0&&(b[E++]=x[0]),b.length=E,g},r._overlapAxes=function(f,d,c,p){var g=d.length,v=c.length,w=d[0].x,b=d[0].y,y=c[0].x,_=c[0].y,m=p.length,x=Number.MAX_VALUE,E=0,S,P,L,T,C,O;for(C=0;C<m;C++){var F=p[C],$=F.x,B=F.y,j=w*$+b*B,Y=y*$+_*B,se=j,ue=Y;for(O=1;O<g;O+=1)T=d[O].x*$+d[O].y*B,T>se?se=T:T<j&&(j=T);for(O=1;O<v;O+=1)T=c[O].x*$+c[O].y*B,T>ue?ue=T:T<Y&&(Y=T);if(P=se-Y,L=ue-j,S=P<L?P:L,S<x&&(x=S,E=C,S<=0))break}f.axis=p[E],f.overlap=x},r._projectToAxis=function(f,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)}f.min=p,f.max=g},r._findSupports=function(f,d,c,p){var g=d.vertices,v=g.length,w=f.position.x,b=f.position.y,y=c.x*p,_=c.y*p,m=Number.MAX_VALUE,x,E,S,P,L;for(L=0;L<v;L+=1)E=g[L],P=y*(w-E.x)+_*(b-E.y),P<m&&(m=P,x=E);return S=g[(v+x.index-1)%v],m=y*(w-S.x)+_*(b-S.y),E=g[(x.index+1)%v],y*(w-E.x)+_*(b-E.y)<m?(l[0]=x,l[1]=E,l):(l[0]=x,l[1]=S,l)}})()},function(n,s,o){var r={};n.exports=r;var i=o(16);(function(){r.create=function(a,l){var h=a.bodyA,u=a.bodyB,f={id:r.id(h,u),bodyA:h,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:h.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(f,a,l),f},r.update=function(a,l,h){var u=a.contacts,f=l.supports,d=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=h,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<f.length;v++){var w=f[v],b=w.body===c?w.index:g+w.index,y=u[b];y?d.push(y):d.push(u[b]=i.create(w))}},r.setActive=function(a,l,h){l?(a.isActive=!0,a.timeUpdated=h):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),h=o(1),u=o(11),f=o(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.create=function(d){var c=d;c.bodyA&&!c.pointA&&(c.pointA={x:0,y:0}),c.bodyB&&!c.pointB&&(c.pointB={x:0,y:0});var p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||f.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=f.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=f.clamp(c/f._baseDelta,0,1),g=0;g<d.length;g+=1){var v=d[g],w=!v.bodyA||v.bodyA&&v.bodyA.isStatic,b=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(w||b)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)v=d[g],w=!v.bodyA||v.bodyA&&v.bodyA.isStatic,b=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!w&&!b&&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 b=v,y=w;if(p&&(b=a.add(p.position,v)),g&&(y=a.add(g.position,w)),!(!b||!y)){var _=a.sub(b,y),m=a.magnitude(_);m<r._minLength&&(m=r._minLength);var x=(m-d.length)/m,E=d.stiffness>=1||d.length===0,S=E?d.stiffness*c:d.stiffness*c*c,P=d.damping*c,L=a.mult(_,x*S),T=(p?p.inverseMass:0)+(g?g.inverseMass:0),C=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),O=T+C,F,$,B,j,Y;if(P>0){var se=a.create();B=a.div(_,m),Y=a.sub(g&&a.sub(g.position,g.positionPrev)||se,p&&a.sub(p.position,p.positionPrev)||se),j=a.dot(B,Y)}p&&!p.isStatic&&($=p.inverseMass/T,p.constraintImpulse.x-=L.x*$,p.constraintImpulse.y-=L.y*$,p.position.x-=L.x*$,p.position.y-=L.y*$,P>0&&(p.positionPrev.x-=P*B.x*j*$,p.positionPrev.y-=P*B.y*j*$),F=a.cross(v,L)/O*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=F,p.angle-=F),g&&!g.isStatic&&($=g.inverseMass/T,g.constraintImpulse.x+=L.x*$,g.constraintImpulse.y+=L.y*$,g.position.x+=L.x*$,g.position.y+=L.y*$,P>0&&(g.positionPrev.x+=P*B.x*j*$,g.positionPrev.y+=P*B.y*j*$),F=a.cross(w,L)/O*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=F,g.angle+=F)}}},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)),h.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,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.fromVertices=function(l){for(var h={},u=0;u<l.length;u++){var f=(u+1)%l.length,d=i.normalise({x:l[f].y-l[u].y,y:l[u].x-l[f].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),h[c]=d}return a.values(h)},r.rotate=function(l,h){if(h!==0)for(var u=Math.cos(h),f=Math.sin(h),d=0;d<l.length;d++){var c=l[d],p;p=c.x*u-c.y*f,c.y=c.x*f+c.y*u,c.x=p}}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(4),h=o(1),u=o(2);(function(){r.rectangle=function(f,d,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:f,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(f,d,c,p,g,v){v=v||{},g*=.5;var w=(1-g*2)*c,b=c*g,y=b+w,_=y+b,m;g<.5?m="L 0 0 L "+b+" "+-p+" L "+y+" "+-p+" L "+_+" 0":m="L 0 0 L "+y+" "+-p+" L "+_+" 0";var x={label:"Trapezoid Body",position:{x:f,y:d},vertices:i.fromPath(m)};if(v.chamfer){var E=v.chamfer;x.vertices=i.chamfer(x.vertices,E.radius,E.quality,E.qualityMin,E.qualityMax),delete v.chamfer}return l.create(a.extend({},x,v))},r.circle=function(f,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(f,d,w,c,a.extend({},v,p))},r.polygon=function(f,d,c,p,g){if(g=g||{},c<3)return r.circle(f,d,p,g);for(var v=2*Math.PI/c,w="",b=v*.5,y=0;y<c;y+=1){var _=b+y*v,m=Math.cos(_)*p,x=Math.sin(_)*p;w+="L "+m.toFixed(3)+" "+x.toFixed(3)+" "}var E={label:"Polygon Body",position:{x:f,y:d},vertices:i.fromPath(w)};if(g.chamfer){var S=g.chamfer;E.vertices=i.chamfer(E.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete g.chamfer}return l.create(a.extend({},E,g))},r.fromVertices=function(f,d,c,p,g,v,w,b){var y=a.getDecomp(),_,m,x,E,S,P,L,T,C,O,F;for(_=!!(y&&y.quickDecomp),p=p||{},x=[],g=typeof g<"u"?g:!1,v=typeof v<"u"?v:.01,w=typeof w<"u"?w:10,b=typeof b<"u"?b:.01,a.isArray(c[0])||(c=[c]),O=0;O<c.length;O+=1)if(P=c[O],E=i.isConvex(P),S=!E,S&&!_&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),E||!_)E?P=i.clockwiseSort(P):P=i.hull(P),x.push({position:{x:f,y:d},vertices:P});else{var $=P.map(function(fe){return[fe.x,fe.y]});y.makeCCW($),v!==!1&&y.removeCollinearPoints($,v),b!==!1&&y.removeDuplicatePoints&&y.removeDuplicatePoints($,b);var B=y.quickDecomp($);for(L=0;L<B.length;L++){var j=B[L],Y=j.map(function(fe){return{x:fe[0],y:fe[1]}});w>0&&i.area(Y)<w||x.push({position:i.centre(Y),vertices:Y})}}for(L=0;L<x.length;L++)x[L]=l.create(a.extend(x[L],p));if(g){var se=5;for(L=0;L<x.length;L++){var ue=x[L];for(T=L+1;T<x.length;T++){var ce=x[T];if(h.overlaps(ue.bounds,ce.bounds)){var ne=ue.vertices,Se=ce.vertices;for(C=0;C<ue.vertices.length;C++)for(F=0;F<ce.vertices.length;F++){var ye=u.magnitudeSquared(u.sub(ne[(C+1)%ne.length],Se[F])),He=u.magnitudeSquared(u.sub(ne[C],Se[(F+1)%Se.length]));ye<se&&He<se&&(ne[C].isInternal=!0,Se[F].isInternal=!0)}}}}}return x.length>1?(m=l.create(a.extend({parts:x.slice(0)},p)),l.setPosition(m,{x:f,y:d}),m):x[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var h={bodies:[],pairs:null};return i.extend(h,l)},r.setBodies=function(l,h){l.bodies=h.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var h=[],u=l.pairs,f=l.bodies,d=f.length,c=r.canCollide,p=a.collides,g,v;for(f.sort(r._compareBoundsX),g=0;g<d;g++){var w=f[g],b=w.bounds,y=w.bounds.max.x,_=w.bounds.max.y,m=w.bounds.min.y,x=w.isStatic||w.isSleeping,E=w.parts.length,S=E===1;for(v=g+1;v<d;v++){var P=f[v],L=P.bounds;if(L.min.x>y)break;if(!(_<L.min.y||m>L.max.y)&&!(x&&(P.isStatic||P.isSleeping))&&c(w.collisionFilter,P.collisionFilter)){var T=P.parts.length;if(S&&T===1){var C=p(w,P,u);C&&h.push(C)}else for(var O=E>1?1:0,F=T>1?1:0,$=O;$<E;$++)for(var B=w.parts[$],b=B.bounds,j=F;j<T;j++){var Y=P.parts[j],L=Y.bounds;if(!(b.min.x>L.max.x||b.max.x<L.min.x||b.max.y<L.min.y||b.min.y>L.max.y)){var C=p(B,Y,u);C&&h.push(C)}}}}}return h},r.canCollide=function(l,h){return l.group===h.group&&l.group!==0?l.group>0:(l.mask&h.category)!==0&&(h.mask&l.category)!==0},r._compareBoundsX=function(l,h){return l.bounds.min.x-h.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(h){var u=r._getRelativeMousePosition(h,l.element,l.pixelRatio),f=h.changedTouches;f&&(l.button=0,h.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=h},l.mousedown=function(h){var u=r._getRelativeMousePosition(h,l.element,l.pixelRatio),f=h.changedTouches;f?(l.button=0,h.preventDefault()):l.button=h.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=h},l.mouseup=function(h){var u=r._getRelativeMousePosition(h,l.element,l.pixelRatio),f=h.changedTouches;f&&h.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=h},l.mousewheel=function(h){l.wheelDelta=Math.max(-1,Math.min(1,h.wheelDelta||-h.detail)),h.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,h){var u=l.getBoundingClientRect(),f=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:f.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:f.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)*h),y:v/(l.clientHeight/(l.height||l.clientHeight)*h)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],h=r.versionParse(a.version).number,u=r.versionParse(l.version).number;h>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):h<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 h=a.for&&r.dependencyParse(a.for);return!a.for||l.name===h.name&&r.versionSatisfies(l.version,h.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 h=r.dependencies(a),u=i.topologicalSort(h),f=[],d=0;d<u.length;d+=1)if(u[d]!==a.name){var c=r.resolve(u[d]);if(!c){f.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?(f.push("🔶 "+r.toString(c)),delete c._warned):f.push("✅ "+r.toString(c)),a.used.push(c.name))}f.length>0&&i.info(f.join(" "))},r.dependencies=function(a,l){var h=r.dependencyParse(a),u=h.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(h)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(h),"could not be resolved."),a._warned=!0),c.name});for(var f=0;f<l[u].length;f+=1)r.dependencies(l[u][f],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 h=l.exec(a),u=Number(h[4]),f=Number(h[5]),d=Number(h[6]);return{isRange:!!(h[1]||h[2]),version:h[3],range:a,operator:h[1]||h[2]||"",major:u,minor:f,patch:d,parts:[u,f,d],prerelease:h[7],number:u*1e8+f*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var h=r.versionParse(l),u=r.versionParse(a);if(h.isRange){if(h.operator==="*"||a==="*")return!0;if(h.operator===">")return u.number>h.number;if(h.operator===">=")return u.number>=h.number;if(h.operator==="~")return u.major===h.major&&u.minor===h.minor&&u.patch>=h.patch;if(h.operator==="^")return h.major>0?u.major===h.major&&u.number>=h.number:h.minor>0?u.minor===h.minor&&u.patch>=h.patch:u.patch===h.patch}return a===l||a==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),a=o(18),l=o(13),h=o(19),u=o(5),f=o(6),d=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},w=c.extend(v,g);return w.world=g.world||f.create({label:"World"}),w.pairs=g.pairs||h.create(),w.detector=g.detector||l.create(),w.grid={buckets:[]},w.world.gravity=w.gravity,w.broadphase=w.grid,w.metrics={},w},r.update=function(g,v){var w=c.now(),b=g.world,y=g.detector,_=g.pairs,m=g.timing,x=m.timestamp,E;v=typeof v<"u"?v:c._baseDelta,v*=m.timeScale,m.timestamp+=v,m.lastDelta=v;var S={timestamp:m.timestamp,delta:v};u.trigger(g,"beforeUpdate",S);var P=f.allBodies(b),L=f.allConstraints(b);for(b.isModified&&(l.setBodies(y,P),f.setModified(b,!1,!1,!0)),g.enableSleeping&&i.update(P,v),r._bodiesApplyGravity(P,g.gravity),v>0&&r._bodiesUpdate(P,v),d.preSolveAll(P),E=0;E<g.constraintIterations;E++)d.solveAll(L,v);d.postSolveAll(P),y.pairs=g.pairs;var T=l.collisions(y);h.update(_,T,x),g.enableSleeping&&i.afterCollisions(_.list),_.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:_.collisionStart});var C=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(_.list),E=0;E<g.positionIterations;E++)a.solvePosition(_.list,v,C);for(a.postSolvePosition(P),d.preSolveAll(P),E=0;E<g.constraintIterations;E++)d.solveAll(L,v);for(d.postSolveAll(P),a.preSolveVelocity(_.list),E=0;E<g.velocityIterations;E++)a.solveVelocity(_.list,v);return r._bodiesUpdateVelocities(P),_.collisionActive.length>0&&u.trigger(g,"collisionActive",{pairs:_.collisionActive}),_.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:_.collisionEnd}),r._bodiesClearForces(P),u.trigger(g,"afterUpdate",S),g.timing.lastElapsed=c.now()-w,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var w=f.allBodies(g.world),b=0;b<w.length;b++){var y=w[b];i.set(y,!1),y.id=c.nextId()}}},r.clear=function(g){h.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,w=0;w<v;w++){var b=g[w];b.force.x=0,b.force.y=0,b.torque=0}},r._bodiesApplyGravity=function(g,v){var w=typeof v.scale<"u"?v.scale:.001,b=g.length;if(!(v.x===0&&v.y===0||w===0))for(var y=0;y<b;y++){var _=g[y];_.isStatic||_.isSleeping||(_.force.y+=_.mass*v.y*w,_.force.x+=_.mass*v.x*w)}},r._bodiesUpdate=function(g,v){for(var w=g.length,b=0;b<w;b++){var y=g[b];y.isStatic||y.isSleeping||p.update(y,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,w=0;w<v;w++)p.updateVelocities(g[w])}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(1);(function(){r._restingThresh=2,r._restingThreshTangent=Math.sqrt(6),r._positionDampen=.9,r._positionWarming=.8,r._frictionNormalMultiplier=5,r._frictionMaxStatic=Number.MAX_VALUE,r.preSolvePosition=function(h){var u,f,d,c=h.length;for(u=0;u<c;u++)f=h[u],f.isActive&&(d=f.activeContacts.length,f.collision.parentA.totalContacts+=d,f.collision.parentB.totalContacts+=d)},r.solvePosition=function(h,u,f){var d,c,p,g,v,w,b,y,_=r._positionDampen*(f||1),m=a.clamp(u/a._baseDelta,0,1),x=h.length;for(d=0;d<x;d++)c=h[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=h[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||(b=_/g.totalContacts,g.positionImpulse.x+=w.x*y*b,g.positionImpulse.y+=w.y*y*b),v.isStatic||v.isSleeping||(b=_/v.totalContacts,v.positionImpulse.x-=w.x*y*b,v.positionImpulse.y-=w.y*y*b))},r.postSolvePosition=function(h){for(var u=r._positionWarming,f=h.length,d=i.translate,c=l.update,p=0;p<f;p++){var g=h[p],v=g.positionImpulse,w=v.x,b=v.y,y=g.velocity;if(g.totalContacts=0,w!==0||b!==0){for(var _=0;_<g.parts.length;_++){var m=g.parts[_];d(m.vertices,v),c(m.bounds,m.vertices,y),m.position.x+=w,m.position.y+=b}g.positionPrev.x+=w,g.positionPrev.y+=b,w*y.x+b*y.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(h){var u=h.length,f,d;for(f=0;f<u;f++){var c=h[f];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,w=v.parentA,b=v.parentB,y=v.normal,_=v.tangent;for(d=0;d<g;d++){var m=p[d],x=m.vertex,E=m.normalImpulse,S=m.tangentImpulse;if(E!==0||S!==0){var P=y.x*E+_.x*S,L=y.y*E+_.y*S;w.isStatic||w.isSleeping||(w.positionPrev.x+=P*w.inverseMass,w.positionPrev.y+=L*w.inverseMass,w.anglePrev+=w.inverseInertia*((x.x-w.position.x)*L-(x.y-w.position.y)*P)),b.isStatic||b.isSleeping||(b.positionPrev.x-=P*b.inverseMass,b.positionPrev.y-=L*b.inverseMass,b.anglePrev-=b.inverseInertia*((x.x-b.position.x)*L-(x.y-b.position.y)*P))}}}}},r.solveVelocity=function(h,u){var f=u/a._baseDelta,d=f*f,c=d*f,p=-r._restingThresh*f,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*f,w=r._frictionMaxStatic,b=h.length,y,_,m,x;for(m=0;m<b;m++){var E=h[m];if(!(!E.isActive||E.isSensor)){var S=E.collision,P=S.parentA,L=S.parentB,T=P.velocity,C=L.velocity,O=S.normal.x,F=S.normal.y,$=S.tangent.x,B=S.tangent.y,j=E.activeContacts,Y=j.length,se=1/Y,ue=P.inverseMass+L.inverseMass,ce=E.friction*E.frictionStatic*v;for(T.x=P.position.x-P.positionPrev.x,T.y=P.position.y-P.positionPrev.y,C.x=L.position.x-L.positionPrev.x,C.y=L.position.y-L.positionPrev.y,P.angularVelocity=P.angle-P.anglePrev,L.angularVelocity=L.angle-L.anglePrev,x=0;x<Y;x++){var ne=j[x],Se=ne.vertex,ye=Se.x-P.position.x,He=Se.y-P.position.y,fe=Se.x-L.position.x,V=Se.y-L.position.y,q=T.x-He*P.angularVelocity,z=T.y+ye*P.angularVelocity,ee=C.x-V*L.angularVelocity,de=C.y+fe*L.angularVelocity,_e=q-ee,A=z-de,I=O*_e+F*A,D=$*_e+B*A,W=E.separation+I,U=Math.min(W,1);U=W<0?0:U;var X=U*ce;D<-X||D>X?(_=D>0?D:-D,y=E.friction*(D>0?1:-1)*c,y<-_?y=-_:y>_&&(y=_)):(y=D,_=w);var Q=ye*F-He*O,R=fe*F-V*O,k=se/(ue+P.inverseInertia*Q*Q+L.inverseInertia*R*R),M=(1+E.restitution)*I*k;if(y*=k,I<p)ne.normalImpulse=0;else{var K=ne.normalImpulse;ne.normalImpulse+=M,ne.normalImpulse>0&&(ne.normalImpulse=0),M=ne.normalImpulse-K}if(D<-g||D>g)ne.tangentImpulse=0;else{var J=ne.tangentImpulse;ne.tangentImpulse+=y,ne.tangentImpulse<-_&&(ne.tangentImpulse=-_),ne.tangentImpulse>_&&(ne.tangentImpulse=_),y=ne.tangentImpulse-J}var G=O*M+$*y,N=F*M+B*y;P.isStatic||P.isSleeping||(P.positionPrev.x+=G*P.inverseMass,P.positionPrev.y+=N*P.inverseMass,P.anglePrev+=(ye*N-He*G)*P.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=G*L.inverseMass,L.positionPrev.y-=N*L.inverseMass,L.anglePrev-=(fe*N-V*G)*L.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,h,u){var f=l.list,d=f.length,c=l.table,p=h.length,g=l.collisionStart,v=l.collisionEnd,w=l.collisionActive,b,y,_,m;for(g.length=0,v.length=0,w.length=0,m=0;m<d;m++)f[m].confirmedActive=!1;for(m=0;m<p;m++)b=h[m],_=b.pair,_?(_.isActive?w.push(_):g.push(_),i.update(_,b,u),_.confirmedActive=!0):(_=i.create(b,u),c[_.id]=_,g.push(_),f.push(_));var x=[];for(d=f.length,m=0;m<d;m++)_=f[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,_=f[y],f.splice(y,1),delete c[_.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,s,o){var r=n.exports=o(21);r.Axes=o(11),r.Bodies=o(12),r.Body=o(4),r.Bounds=o(1),r.Collision=o(8),r.Common=o(0),r.Composite=o(6),r.Composites=o(22),r.Constraint=o(10),r.Contact=o(16),r.Detector=o(13),r.Engine=o(17),r.Events=o(5),r.Grid=o(23),r.Mouse=o(14),r.MouseConstraint=o(24),r.Pair=o(9),r.Pairs=o(19),r.Plugin=o(15),r.Query=o(25),r.Render=o(26),r.Resolver=o(18),r.Runner=o(27),r.SAT=o(28),r.Sleeping=o(7),r.Svg=o(29),r.Vector=o(2),r.Vertices=o(3),r.World=o(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,s,o){var r={};n.exports=r;var i=o(15),a=o(0);(function(){r.name="matter-js",r.version="0.19.0",r.uses=[],r.used=[],r.use=function(){i.use(r,Array.prototype.slice.call(arguments))},r.before=function(l,h){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,h)},r.after=function(l,h){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,h)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),a=o(10),l=o(0),h=o(4),u=o(12),f=l.deprecated;(function(){r.stack=function(d,c,p,g,v,w,b){for(var y=i.create({label:"Stack"}),_=d,m=c,x,E=0,S=0;S<g;S++){for(var P=0,L=0;L<p;L++){var T=b(_,m,L,S,x,E);if(T){var C=T.bounds.max.y-T.bounds.min.y,O=T.bounds.max.x-T.bounds.min.x;C>P&&(P=C),h.translate(T,{x:O*.5,y:C*.5}),_=T.bounds.max.x+v,i.addBody(y,T),x=T,E+=1}else _+=v}m+=P+w,_=d}return y},r.chain=function(d,c,p,g,v,w){for(var b=d.bodies,y=1;y<b.length;y++){var _=b[y-1],m=b[y],x=_.bounds.max.y-_.bounds.min.y,E=_.bounds.max.x-_.bounds.min.x,S=m.bounds.max.y-m.bounds.min.y,P=m.bounds.max.x-m.bounds.min.x,L={bodyA:_,pointA:{x:E*c,y:x*p},bodyB:m,pointB:{x:P*g,y:S*v}},T=l.extend(L,w);i.addConstraint(d,a.create(T))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,v){var w=d.bodies,b,y,_,m,x;for(b=0;b<p;b++){for(y=1;y<c;y++)_=w[y-1+b*c],m=w[y+b*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v)));if(b>0)for(y=0;y<c;y++)_=w[y+(b-1)*c],m=w[y+b*c],i.addConstraint(d,a.create(l.extend({bodyA:_,bodyB:m},v))),g&&y>0&&(x=w[y-1+(b-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:m},v)))),g&&y<c-1&&(x=w[y+1+(b-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,b){return r.stack(d,c,p,g,v,w,function(y,_,m,x,E,S){var P=Math.min(g,Math.ceil(p/2)),L=E?E.bounds.max.x-E.bounds.min.x:0;if(!(x>P)){x=P-x;var T=x,C=p-1-x;if(!(m<T||m>C)){S===1&&h.translate(E,{x:(m+(p%2===1?1:-1))*L,y:0});var O=E?m*L:0;return b(d+O+m*v,_,m,x,E,S)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var w=i.create({label:"Newtons Cradle"}),b=0;b<p;b++){var y=1.9,_=u.circle(d+b*(g*y),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),m=a.create({pointA:{x:d+b*(g*y),y:c},bodyB:_});i.addBody(w,_),i.addConstraint(w,m)}return w},f(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,v){var w=h.nextGroup(!0),b=20,y=-p*.5+b,_=p*.5-b,m=0,x=i.create({label:"Car"}),E=u.rectangle(d,c,p,g,{collisionFilter:{group:w},chamfer:{radius:g*.5},density:2e-4}),S=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:E,pointB:{x:y,y:m},bodyA:S,stiffness:1,length:0}),T=a.create({bodyB:E,pointB:{x:_,y:m},bodyA:P,stiffness:1,length:0});return i.addBody(x,E),i.addBody(x,S),i.addBody(x,P),i.addConstraint(x,L),i.addConstraint(x,T),x},f(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,p,g,v,w,b,y,_,m){_=l.extend({inertia:1/0},_),m=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},m);var x=r.stack(d,c,p,g,v,w,function(E,S){return u.circle(E,S,y,_)});return r.mesh(x,p,g,b,m),x.label="Soft Body",x},f(r,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0),l=a.deprecated;(function(){r.create=function(h){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,h)},r.update=function(h,u,f,d){var c,p,g,v=f.world,w=h.buckets,b,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(h,m);if(!m.region||x.id!==m.region.id||d){(!m.region||d)&&(m.region=x);var E=r._regionUnion(x,m.region);for(p=E.startCol;p<=E.endCol;p++)for(g=E.startRow;g<=E.endRow;g++){y=r._getBucketId(p,g),b=w[y];var S=p>=x.startCol&&p<=x.endCol&&g>=x.startRow&&g<=x.endRow,P=p>=m.region.startCol&&p<=m.region.endCol&&g>=m.region.startRow&&g<=m.region.endRow;!S&&P&&P&&b&&r._bucketRemoveBody(h,b,m),(m.region===x||S&&!P||d)&&(b||(b=r._createBucket(w,y)),r._bucketAddBody(h,b,m))}m.region=x,_=!0}}}_&&(h.pairsList=r._createActivePairsList(h))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(h){h.buckets={},h.pairs={},h.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(h,u){var f=Math.min(h.startCol,u.startCol),d=Math.max(h.endCol,u.endCol),c=Math.min(h.startRow,u.startRow),p=Math.max(h.endRow,u.endRow);return r._createRegion(f,d,c,p)},r._getRegion=function(h,u){var f=u.bounds,d=Math.floor(f.min.x/h.bucketWidth),c=Math.floor(f.max.x/h.bucketWidth),p=Math.floor(f.min.y/h.bucketHeight),g=Math.floor(f.max.y/h.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(h,u,f,d){return{id:h+","+u+","+f+","+d,startCol:h,endCol:u,startRow:f,endRow:d}},r._getBucketId=function(h,u){return"C"+h+"R"+u},r._createBucket=function(h,u){var f=h[u]=[];return f},r._bucketAddBody=function(h,u,f){var d=h.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(f.id===v.id||f.isStatic&&v.isStatic)){var w=c(f,v),b=d[w];b?b[2]+=1:d[w]=[f,v,1]}}u.push(f)},r._bucketRemoveBody=function(h,u,f){var d=h.pairs,c=i.id,p;u.splice(a.indexOf(u,f),1);var g=u.length;for(p=0;p<g;p++){var v=d[c(f,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(h){var u,f=h.pairs,d=a.keys(f),c=d.length,p=[],g;for(g=0;g<c;g++)u=f[d[g]],u[2]>0?p.push(u):delete f[d[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),h=o(5),u=o(13),f=o(10),d=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var w=(g?g.mouse:null)||(v?v.mouse:null);w||(g&&g.render&&g.render.canvas?w=l.create(g.render.canvas):v&&v.element?w=l.create(v.element):(w=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var b=f.create({label:"Mouse Constraint",pointA:w.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),y={type:"mouseConstraint",mouse:w,element:null,body:null,constraint:b,collisionFilter:{category:1,mask:4294967295,group:0}},_=c.extend(y,v);return h.on(g,"beforeUpdate",function(){var m=d.allBodies(g.world);r.update(_,m),r._triggerEvents(_)}),_},r.update=function(g,v){var w=g.mouse,b=g.constraint,y=g.body;if(w.button===0){if(b.bodyB)a.set(b.bodyB,!1),b.pointA=w.position;else for(var _=0;_<v.length;_++)if(y=v[_],p.contains(y.bounds,w.position)&&u.canCollide(y.collisionFilter,g.collisionFilter))for(var m=y.parts.length>1?1:0;m<y.parts.length;m++){var x=y.parts[m];if(i.contains(x.vertices,w.position)){b.pointA=w.position,b.bodyB=g.body=y,b.pointB={x:w.position.x-y.position.x,y:w.position.y-y.position.y},b.angleB=y.angle,a.set(y,!1),h.trigger(g,"startdrag",{mouse:w,body:y});break}}}else b.bodyB=g.body=null,b.pointB=null,y&&h.trigger(g,"enddrag",{mouse:w,body:y})},r._triggerEvents=function(g){var v=g.mouse,w=v.sourceEvents;w.mousemove&&h.trigger(g,"mousemove",{mouse:v}),w.mousedown&&h.trigger(g,"mousedown",{mouse:v}),w.mouseup&&h.trigger(g,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(8),l=o(1),h=o(12),u=o(3);(function(){r.collides=function(f,d){for(var c=[],p=d.length,g=f.bounds,v=a.collides,w=l.overlaps,b=0;b<p;b++){var y=d[b],_=y.parts.length,m=_===1?0:1;if(w(y.bounds,g))for(var x=m;x<_;x++){var E=y.parts[x];if(w(E.bounds,g)){var S=v(E,f);if(S){c.push(S);break}}}}return c},r.ray=function(f,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,b=(c.y+d.y)*.5,y=h.rectangle(w,b,v,p,{angle:g}),_=r.collides(y,f),m=0;m<_.length;m+=1){var x=_[m];x.body=x.bodyB=x.bodyA}return _},r.region=function(f,d,c){for(var p=[],g=0;g<f.length;g++){var v=f[g],w=l.overlaps(v.bounds,d);(w&&!c||!w&&c)&&p.push(v)}return p},r.point=function(f,d){for(var c=[],p=0;p<f.length;p++){var g=f[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,s,o){var r={};n.exports=r;var i=o(4),a=o(0),l=o(6),h=o(1),u=o(5),f=o(2),d=o(14);(function(){var c,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(m){window.setTimeout(function(){m(a.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(m){var x={engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!m.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},E=a.extend(x,m);return E.canvas&&(E.canvas.width=E.options.width||E.canvas.width,E.canvas.height=E.options.height||E.canvas.height),E.mouse=m.mouse,E.engine=m.engine,E.canvas=E.canvas||w(E.options.width,E.options.height),E.context=E.canvas.getContext("2d"),E.textures={},E.bounds=E.bounds||{min:{x:0,y:0},max:{x:E.canvas.width,y:E.canvas.height}},E.controller=r,E.options.showBroadphase=!1,E.options.pixelRatio!==1&&r.setPixelRatio(E,E.options.pixelRatio),a.isElement(E.element)&&E.element.appendChild(E.canvas),E},r.run=function(m){(function x(E){m.frameRequestId=c(x),g(m,E),r.world(m,E),(m.options.showStats||m.options.showDebug)&&r.stats(m,m.context,E),(m.options.showPerformance||m.options.showDebug)&&r.performance(m,m.context,E)})()},r.stop=function(m){p(m.frameRequestId)},r.setPixelRatio=function(m,x){var E=m.options,S=m.canvas;x==="auto"&&(x=b(S)),E.pixelRatio=x,S.setAttribute("data-pixel-ratio",x),S.width=E.width*x,S.height=E.height*x,S.style.width=E.width+"px",S.style.height=E.height+"px"},r.lookAt=function(m,x,E,S){S=typeof S<"u"?S:!0,x=a.isArray(x)?x:[x],E=E||{x:0,y:0};for(var P={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},L=0;L<x.length;L+=1){var T=x[L],C=T.bounds?T.bounds.min:T.min||T.position||T,O=T.bounds?T.bounds.max:T.max||T.position||T;C&&O&&(C.x<P.min.x&&(P.min.x=C.x),O.x>P.max.x&&(P.max.x=O.x),C.y<P.min.y&&(P.min.y=C.y),O.y>P.max.y&&(P.max.y=O.y))}var F=P.max.x-P.min.x+2*E.x,$=P.max.y-P.min.y+2*E.y,B=m.canvas.height,j=m.canvas.width,Y=j/B,se=F/$,ue=1,ce=1;se>Y?ce=se/Y:ue=Y/se,m.options.hasBounds=!0,m.bounds.min.x=P.min.x,m.bounds.max.x=P.min.x+F*ue,m.bounds.min.y=P.min.y,m.bounds.max.y=P.min.y+$*ce,S&&(m.bounds.min.x+=F*.5-F*ue*.5,m.bounds.max.x+=F*.5-F*ue*.5,m.bounds.min.y+=$*.5-$*ce*.5,m.bounds.max.y+=$*.5-$*ce*.5),m.bounds.min.x-=E.x,m.bounds.max.x-=E.x,m.bounds.min.y-=E.y,m.bounds.max.y-=E.y,m.mouse&&(d.setScale(m.mouse,{x:(m.bounds.max.x-m.bounds.min.x)/m.canvas.width,y:(m.bounds.max.y-m.bounds.min.y)/m.canvas.height}),d.setOffset(m.mouse,m.bounds.min))},r.startViewTransform=function(m){var x=m.bounds.max.x-m.bounds.min.x,E=m.bounds.max.y-m.bounds.min.y,S=x/m.options.width,P=E/m.options.height;m.context.setTransform(m.options.pixelRatio/S,0,0,m.options.pixelRatio/P,0,0),m.context.translate(-m.bounds.min.x,-m.bounds.min.y)},r.endViewTransform=function(m){m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0)},r.world=function(m,x){var E=a.now(),S=m.engine,P=S.world,L=m.canvas,T=m.context,C=m.options,O=m.timing,F=l.allBodies(P),$=l.allConstraints(P),B=C.wireframes?C.wireframeBackground:C.background,j=[],Y=[],se,ue={timestamp:S.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(se=0;se<F.length;se++){var ce=F[se];h.overlaps(ce.bounds,m.bounds)&&j.push(ce)}for(se=0;se<$.length;se++){var ne=$[se],Se=ne.bodyA,ye=ne.bodyB,He=ne.pointA,fe=ne.pointB;Se&&(He=f.add(Se.position,ne.pointA)),ye&&(fe=f.add(ye.position,ne.pointB)),!(!He||!fe)&&(h.contains(m.bounds,He)||h.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=$,j=F,m.options.pixelRatio!==1&&m.context.setTransform(m.options.pixelRatio,0,0,m.options.pixelRatio,0,0);!C.wireframes||S.enableSleeping&&C.showSleeping?r.bodies(m,j,T):(C.showConvexHulls&&r.bodyConvexHulls(m,j,T),r.bodyWireframes(m,j,T)),C.showBounds&&r.bodyBounds(m,j,T),(C.showAxes||C.showAngleIndicator)&&r.bodyAxes(m,j,T),C.showPositions&&r.bodyPositions(m,j,T),C.showVelocity&&r.bodyVelocity(m,j,T),C.showIds&&r.bodyIds(m,j,T),C.showSeparations&&r.separations(m,S.pairs.list,T),C.showCollisions&&r.collisions(m,S.pairs.list,T),C.showVertexNumbers&&r.vertexNumbers(m,j,T),C.showMousePosition&&r.mousePosition(m,m.mouse,T),r.constraints(Y,T),C.hasBounds&&r.endViewTransform(m),u.trigger(m,"afterRender",ue),O.lastElapsed=a.now()-E},r.stats=function(m,x,E){for(var S=m.engine,P=S.world,L=l.allBodies(P),T=0,C=55,O=44,F=0,$=0,B=0;B<L.length;B+=1)T+=L[B].parts.length;var j={Part:T,Body:L.length,Cons:l.allConstraints(P).length,Comp:l.allComposites(P).length,Pair:S.pairs.list.length};x.fillStyle="#0e0f19",x.fillRect(F,$,C*5.5,O),x.font="12px Arial",x.textBaseline="top",x.textAlign="right";for(var Y in j){var se=j[Y];x.fillStyle="#aaa",x.fillText(Y,F+C,$+8),x.fillStyle="#eee",x.fillText(se,F+C,$+26),F+=C}},r.performance=function(m,x){var E=m.engine,S=m.timing,P=S.deltaHistory,L=S.elapsedHistory,T=S.timestampElapsedHistory,C=S.engineDeltaHistory,O=S.engineElapsedHistory,F=E.timing.lastDelta,$=v(P),B=v(L),j=v(C),Y=v(O),se=v(T),ue=se/$||0,ce=1e3/$||0,ne=4,Se=12,ye=60,He=34,fe=10,V=69;x.fillStyle="#0e0f19",x.fillRect(0,50,Se*4+ye*5+22,He),r.status(x,fe,V,ye,ne,P.length,Math.round(ce)+" fps",ce/r._goodFps,function(q){return P[q]/$-1}),r.status(x,fe+Se+ye,V,ye,ne,C.length,F.toFixed(2)+" dt",r._goodDelta/F,function(q){return C[q]/j-1}),r.status(x,fe+(Se+ye)*2,V,ye,ne,O.length,Y.toFixed(2)+" ut",1-Y/r._goodFps,function(q){return O[q]/Y-1}),r.status(x,fe+(Se+ye)*3,V,ye,ne,L.length,B.toFixed(2)+" rt",1-B/r._goodFps,function(q){return L[q]/B-1}),r.status(x,fe+(Se+ye)*4,V,ye,ne,T.length,ue.toFixed(2)+" x",ue*ue*ue,function(q){return(T[q]/P[q]/ue||0)-1})},r.status=function(m,x,E,S,P,L,T,C,O){m.strokeStyle="#888",m.fillStyle="#444",m.lineWidth=1,m.fillRect(x,E+7,S,1),m.beginPath(),m.moveTo(x,E+7-P*a.clamp(.4*O(0),-2,2));for(var F=0;F<S;F+=1)m.lineTo(x+F,E+7-(F<L?P*a.clamp(.4*O(F),-2,2):0));m.stroke(),m.fillStyle="hsl("+a.clamp(25+95*C,0,120)+",100%,60%)",m.fillRect(x,E-7,4,4),m.font="12px Arial",m.textBaseline="middle",m.textAlign="right",m.fillStyle="#eee",m.fillText(T,x+S,E-5)},r.constraints=function(m,x){for(var E=x,S=0;S<m.length;S++){var P=m[S];if(!(!P.render.visible||!P.pointA||!P.pointB)){var L=P.bodyA,T=P.bodyB,C,O;if(L?C=f.add(L.position,P.pointA):C=P.pointA,P.render.type==="pin")E.beginPath(),E.arc(C.x,C.y,3,0,2*Math.PI),E.closePath();else{if(T?O=f.add(T.position,P.pointB):O=P.pointB,E.beginPath(),E.moveTo(C.x,C.y),P.render.type==="spring")for(var F=f.sub(O,C),$=f.perp(f.normalise(F)),B=Math.ceil(a.clamp(P.length/5,12,20)),j,Y=1;Y<B;Y+=1)j=Y%2===0?1:-1,E.lineTo(C.x+F.x*(Y/B)+$.x*j*4,C.y+F.y*(Y/B)+$.y*j*4);E.lineTo(O.x,O.y)}P.render.lineWidth&&(E.lineWidth=P.render.lineWidth,E.strokeStyle=P.render.strokeStyle,E.stroke()),P.render.anchors&&(E.fillStyle=P.render.strokeStyle,E.beginPath(),E.arc(C.x,C.y,3,0,2*Math.PI),E.arc(O.x,O.y,3,0,2*Math.PI),E.closePath(),E.fill())}}},r.bodies=function(m,x,E){var S=E;m.engine;var P=m.options,L=P.showInternalEdges||!P.wireframes,T,C,O,F;for(O=0;O<x.length;O++)if(T=x[O],!!T.render.visible){for(F=T.parts.length>1?1:0;F<T.parts.length;F++)if(C=T.parts[F],!!C.render.visible){if(P.showSleeping&&T.isSleeping?S.globalAlpha=.5*C.render.opacity:C.render.opacity!==1&&(S.globalAlpha=C.render.opacity),C.render.sprite&&C.render.sprite.texture&&!P.wireframes){var $=C.render.sprite,B=y(m,$.texture);S.translate(C.position.x,C.position.y),S.rotate(C.angle),S.drawImage(B,B.width*-$.xOffset*$.xScale,B.height*-$.yOffset*$.yScale,B.width*$.xScale,B.height*$.yScale),S.rotate(-C.angle),S.translate(-C.position.x,-C.position.y)}else{if(C.circleRadius)S.beginPath(),S.arc(C.position.x,C.position.y,C.circleRadius,0,2*Math.PI);else{S.beginPath(),S.moveTo(C.vertices[0].x,C.vertices[0].y);for(var j=1;j<C.vertices.length;j++)!C.vertices[j-1].isInternal||L?S.lineTo(C.vertices[j].x,C.vertices[j].y):S.moveTo(C.vertices[j].x,C.vertices[j].y),C.vertices[j].isInternal&&!L&&S.moveTo(C.vertices[(j+1)%C.vertices.length].x,C.vertices[(j+1)%C.vertices.length].y);S.lineTo(C.vertices[0].x,C.vertices[0].y),S.closePath()}P.wireframes?(S.lineWidth=1,S.strokeStyle="#bbb",S.stroke()):(S.fillStyle=C.render.fillStyle,C.render.lineWidth&&(S.lineWidth=C.render.lineWidth,S.strokeStyle=C.render.strokeStyle,S.stroke()),S.fill())}S.globalAlpha=1}}},r.bodyWireframes=function(m,x,E){var S=E,P=m.options.showInternalEdges,L,T,C,O,F;for(S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for(F=L.parts.length>1?1:0;F<L.parts.length;F++){for(T=L.parts[F],S.moveTo(T.vertices[0].x,T.vertices[0].y),O=1;O<T.vertices.length;O++)!T.vertices[O-1].isInternal||P?S.lineTo(T.vertices[O].x,T.vertices[O].y):S.moveTo(T.vertices[O].x,T.vertices[O].y),T.vertices[O].isInternal&&!P&&S.moveTo(T.vertices[(O+1)%T.vertices.length].x,T.vertices[(O+1)%T.vertices.length].y);S.lineTo(T.vertices[0].x,T.vertices[0].y)}S.lineWidth=1,S.strokeStyle="#bbb",S.stroke()},r.bodyConvexHulls=function(m,x,E){var S=E,P,L,T;for(S.beginPath(),L=0;L<x.length;L++)if(P=x[L],!(!P.render.visible||P.parts.length===1)){for(S.moveTo(P.vertices[0].x,P.vertices[0].y),T=1;T<P.vertices.length;T++)S.lineTo(P.vertices[T].x,P.vertices[T].y);S.lineTo(P.vertices[0].x,P.vertices[0].y)}S.lineWidth=1,S.strokeStyle="rgba(255,255,255,0.2)",S.stroke()},r.vertexNumbers=function(m,x,E){var S=E,P,L,T;for(P=0;P<x.length;P++){var C=x[P].parts;for(T=C.length>1?1:0;T<C.length;T++){var O=C[T];for(L=0;L<O.vertices.length;L++)S.fillStyle="rgba(255,255,255,0.2)",S.fillText(P+"_"+L,O.position.x+(O.vertices[L].x-O.position.x)*.8,O.position.y+(O.vertices[L].y-O.position.y)*.8)}}},r.mousePosition=function(m,x,E){var S=E;S.fillStyle="rgba(255,255,255,0.8)",S.fillText(x.position.x+" "+x.position.y,x.position.x+5,x.position.y-5)},r.bodyBounds=function(m,x,E){var S=E;m.engine;var P=m.options;S.beginPath();for(var L=0;L<x.length;L++){var T=x[L];if(T.render.visible)for(var C=x[L].parts,O=C.length>1?1:0;O<C.length;O++){var F=C[O];S.rect(F.bounds.min.x,F.bounds.min.y,F.bounds.max.x-F.bounds.min.x,F.bounds.max.y-F.bounds.min.y)}}P.wireframes?S.strokeStyle="rgba(255,255,255,0.08)":S.strokeStyle="rgba(0,0,0,0.1)",S.lineWidth=1,S.stroke()},r.bodyAxes=function(m,x,E){var S=E;m.engine;var P=m.options,L,T,C,O;for(S.beginPath(),T=0;T<x.length;T++){var F=x[T],$=F.parts;if(F.render.visible)if(P.showAxes)for(C=$.length>1?1:0;C<$.length;C++)for(L=$[C],O=0;O<L.axes.length;O++){var B=L.axes[O];S.moveTo(L.position.x,L.position.y),S.lineTo(L.position.x+B.x*20,L.position.y+B.y*20)}else for(C=$.length>1?1:0;C<$.length;C++)for(L=$[C],O=0;O<L.axes.length;O++)S.moveTo(L.position.x,L.position.y),S.lineTo((L.vertices[0].x+L.vertices[L.vertices.length-1].x)/2,(L.vertices[0].y+L.vertices[L.vertices.length-1].y)/2)}P.wireframes?(S.strokeStyle="indianred",S.lineWidth=1):(S.strokeStyle="rgba(255, 255, 255, 0.4)",S.globalCompositeOperation="overlay",S.lineWidth=2),S.stroke(),S.globalCompositeOperation="source-over"},r.bodyPositions=function(m,x,E){var S=E;m.engine;var P=m.options,L,T,C,O;for(S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.render.visible)for(O=0;O<L.parts.length;O++)T=L.parts[O],S.arc(T.position.x,T.position.y,3,0,2*Math.PI,!1),S.closePath();for(P.wireframes?S.fillStyle="indianred":S.fillStyle="rgba(0,0,0,0.5)",S.fill(),S.beginPath(),C=0;C<x.length;C++)L=x[C],L.render.visible&&(S.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),S.closePath());S.fillStyle="rgba(255,165,0,0.8)",S.fill()},r.bodyVelocity=function(m,x,E){var S=E;S.beginPath();for(var P=0;P<x.length;P++){var L=x[P];if(L.render.visible){var T=i.getVelocity(L);S.moveTo(L.position.x,L.position.y),S.lineTo(L.position.x+T.x,L.position.y+T.y)}}S.lineWidth=3,S.strokeStyle="cornflowerblue",S.stroke()},r.bodyIds=function(m,x,E){var S=E,P,L;for(P=0;P<x.length;P++)if(x[P].render.visible){var T=x[P].parts;for(L=T.length>1?1:0;L<T.length;L++){var C=T[L];S.font="12px Arial",S.fillStyle="rgba(255,255,255,0.5)",S.fillText(C.id,C.position.x+10,C.position.y-10)}}},r.collisions=function(m,x,E){var S=E,P=m.options,L,T,C,O;for(S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.isActive)for(T=L.collision,O=0;O<L.activeContacts.length;O++){var F=L.activeContacts[O],$=F.vertex;S.rect($.x-1.5,$.y-1.5,3.5,3.5)}for(P.wireframes?S.fillStyle="rgba(255,255,255,0.7)":S.fillStyle="orange",S.fill(),S.beginPath(),C=0;C<x.length;C++)if(L=x[C],!!L.isActive&&(T=L.collision,L.activeContacts.length>0)){var B=L.activeContacts[0].vertex.x,j=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(B=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,j=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),T.bodyB===T.supports[0].body||T.bodyA.isStatic===!0?S.moveTo(B-T.normal.x*8,j-T.normal.y*8):S.moveTo(B+T.normal.x*8,j+T.normal.y*8),S.lineTo(B,j)}P.wireframes?S.strokeStyle="rgba(255,165,0,0.7)":S.strokeStyle="orange",S.lineWidth=1,S.stroke()},r.separations=function(m,x,E){var S=E,P=m.options,L,T,C,O,F;for(S.beginPath(),F=0;F<x.length;F++)if(L=x[F],!!L.isActive){T=L.collision,C=T.bodyA,O=T.bodyB;var $=1;!O.isStatic&&!C.isStatic&&($=.5),O.isStatic&&($=0),S.moveTo(O.position.x,O.position.y),S.lineTo(O.position.x-T.penetration.x*$,O.position.y-T.penetration.y*$),$=1,!O.isStatic&&!C.isStatic&&($=.5),C.isStatic&&($=0),S.moveTo(C.position.x,C.position.y),S.lineTo(C.position.x+T.penetration.x*$,C.position.y+T.penetration.y*$)}P.wireframes?S.strokeStyle="rgba(255,165,0,0.5)":S.strokeStyle="orange",S.stroke()},r.inspector=function(m,x){m.engine;var E=m.selected,S=m.render,P=S.options,L;if(P.hasBounds){var T=S.bounds.max.x-S.bounds.min.x,C=S.bounds.max.y-S.bounds.min.y,O=T/S.options.width,F=C/S.options.height;x.scale(1/O,1/F),x.translate(-S.bounds.min.x,-S.bounds.min.y)}for(var $=0;$<E.length;$++){var B=E[$].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 j=B.pointA;B.bodyA&&(j=B.pointB),x.beginPath(),x.arc(j.x,j.y,10,0,2*Math.PI),x.closePath(),x.stroke();break}x.setLineDash([]),x.translate(-.5,-.5)}m.selectStart!==null&&(x.translate(.5,.5),x.lineWidth=1,x.strokeStyle="rgba(255,165,0,0.6)",x.fillStyle="rgba(255,165,0,0.1)",L=m.selectBounds,x.beginPath(),x.rect(Math.floor(L.min.x),Math.floor(L.min.y),Math.floor(L.max.x-L.min.x),Math.floor(L.max.y-L.min.y)),x.closePath(),x.stroke(),x.fill(),x.translate(-.5,-.5)),P.hasBounds&&x.setTransform(1,0,0,1,0,0)};var g=function(m,x){var E=m.engine,S=m.timing,P=S.historySize,L=E.timing.timestamp;S.delta=x-S.lastTime||r._goodDelta,S.lastTime=x,S.timestampElapsed=L-S.lastTimestamp||0,S.lastTimestamp=L,S.deltaHistory.unshift(S.delta),S.deltaHistory.length=Math.min(S.deltaHistory.length,P),S.engineDeltaHistory.unshift(E.timing.lastDelta),S.engineDeltaHistory.length=Math.min(S.engineDeltaHistory.length,P),S.timestampElapsedHistory.unshift(S.timestampElapsed),S.timestampElapsedHistory.length=Math.min(S.timestampElapsedHistory.length,P),S.engineElapsedHistory.unshift(E.timing.lastElapsed),S.engineElapsedHistory.length=Math.min(S.engineElapsedHistory.length,P),S.elapsedHistory.unshift(S.lastElapsed),S.elapsedHistory.length=Math.min(S.elapsedHistory.length,P)},v=function(m){for(var x=0,E=0;E<m.length;E+=1)x+=m[E];return x/m.length||0},w=function(m,x){var E=document.createElement("canvas");return E.width=m,E.height=x,E.oncontextmenu=function(){return!1},E.onselectstart=function(){return!1},E},b=function(m){var x=m.getContext("2d"),E=window.devicePixelRatio||1,S=x.webkitBackingStorePixelRatio||x.mozBackingStorePixelRatio||x.msBackingStorePixelRatio||x.oBackingStorePixelRatio||x.backingStorePixelRatio||1;return E/S},y=function(m,x){var E=m.textures[x];return E||(E=m.textures[x]=new Image,E.src=x,E)},_=function(m,x){var E=x;/(jpg|gif|png)$/.test(x)&&(E="url("+x+")"),m.canvas.style.background=E,m.canvas.style.backgroundSize="contain",m.currentBackground=x}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(17),l=o(0);(function(){var h,u;if(typeof window<"u"&&(h=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!h){var f;h=function(d){f=setTimeout(function(){d(l.now())},1e3/60)},u=function(){clearTimeout(f)}}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=h(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,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(h,u){return i.collides(h,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var h,u,f,d,c,p,g,v,w,b,y=[],_,m,x=0,E=0,S=0;l=l||15;var P=function(T,C,O){var F=O%2===1&&O>1;if(!w||T!=w.x||C!=w.y){w&&F?(_=w.x,m=w.y):(_=0,m=0);var $={x:_+T,y:m+C};(F||!w)&&(w=$),y.push($),E=_+T,S=m+C}},L=function(T){var C=T.pathSegTypeAsLetter.toUpperCase();if(C!=="Z"){switch(C){case"M":case"L":case"T":case"C":case"S":case"Q":E=T.x,S=T.y;break;case"H":E=T.x;break;case"V":S=T.y;break}P(E,S,T.pathSegType)}};for(r._svgPathToAbsolute(a),f=a.getTotalLength(),p=[],h=0;h<a.pathSegList.numberOfItems;h+=1)p.push(a.pathSegList.getItem(h));for(g=p.concat();x<f;){if(b=a.getPathSegAtLength(x),c=p[b],c!=v){for(;g.length&&g[0]!=c;)L(g.shift());v=c}switch(c.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":d=a.getPointAtLength(x),P(d.x,d.y,0);break}x+=l}for(h=0,u=g.length;h<u;++h)L(g[h]);return y},r._svgPathToAbsolute=function(a){for(var l,h,u,f,d,c,p=a.pathSegList,g=0,v=0,w=p.numberOfItems,b=0;b<w;++b){var y=p.getItem(b),_=y.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(_))"x"in y&&(g=y.x),"y"in y&&(v=y.y);else switch("x1"in y&&(u=g+y.x1),"x2"in y&&(d=g+y.x2),"y1"in y&&(f=v+y.y1),"y2"in y&&(c=v+y.y2),"x"in y&&(g+=y.x),"y"in y&&(v+=y.y),_){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),b);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),b);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),b);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),b);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,f,d,c),b);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,d,c),b);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,f),b);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),b);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,y.r1,y.r2,y.angle,y.largeArcFlag,y.sweepFlag),b);break;case"z":case"Z":g=l,v=h;break}(_=="M"||_=="m")&&(l=g,h=v)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(6);o(0),function(){r.create=i.create,r.add=i.add,r.remove=i.remove,r.clear=i.clear,r.addComposite=i.addComposite,r.addBody=i.addBody,r.addConstraint=i.addConstraint}()}])})})(Xd);var jt=Xd.exports;const Yd=""+new URL("cookie.CgVnyfMp.png",import.meta.url).href,Y1={key:0,class:"w-full h-full"},J1=["width","height"],q1={ref:"banner",class:"fixed bottom-0 left-0 z-50 bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400 border rounded w-fit lg:w-1/2 p-3 px-5 m-5"},Q1={class:"text-sm"},z1={class:"text-xs"},Z1={class:"flex justify-end mt-2 text-sm"},ew=ze({__name:"Cookie",setup(e){const t=Ee(null),n=Ee(null),s=Ee(!0),o=Ee(0),r=Ee(0);let i=null;wt(async()=>{s.value=Nc(),o.value=h(),r.value=u(),Nc()&&(await vn(),d(),new ResizeObserver(()=>{f()}).observe(document.body))});function a(){j1(),s.value=!1}function l(){W1(),s.value=!1}function h(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function f(){o.value=h(),r.value=u()}function d(){if(!i){i=jt.Engine.create();let g=jt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:h(),height:u(),wireframes:!1,background:"#00000000"}});jt.Render.run(g),jt.Runner.run(jt.Runner.create(),i)}f()}function c(){if(K1("cookie"),!i)return;let g=jt.Bodies.circle(X1(0,h()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Yd,xScale:.08,yScale:.08}}});jt.Composite.add(i.world,[g]);const v=.02*g.mass;jt.Body.applyForce(g,g.position,{x:v*(g.position.x>h()/2?-1:1),y:-v*Gd(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?jt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const w=mo;return ve(),qe(w,null,{default:yn(()=>[te(s)?(ve(),it("div",Y1,[ie("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ie("canvas",{ref_key:"canvas_cookie",ref:n,width:te(o),height:te(r)},null,8,J1)],512),ie("div",q1,[ie("p",Q1,ke(g.$t("cookie policy title")),1),ie("div",z1,[ie("span",null,[qs(ke(g.$t("cookie policy"))+" ",1),ie("button",{onClick:c,class:"underline"},ke(g.$t("cookie policy link")),1)])]),ie("div",Z1,[ie("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},ke(g.$t("reject")),1),ie("button",{onClick:a,class:"rounded p-2 mx-1 bg-slate-300 hover:bg-slate-400 dark:bg-slate-700 dark:hover:bg-slate-600"},ke(g.$t("accept")),1)])],512)])):ct("",!0)]),_:1})}}}),xa=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},tw={},nw={class:"flex justify-center text-sm"},rw={class:"flex-1 ml-2"},sw={class:"font-bold text-base"};function ow(e,t){return ve(),it("div",nw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Yd,alt:"",class:"h-full w-full"})])],-1)),ie("div",rw,[ie("p",sw,ke(e.$t("cookie.title")),1),ie("p",null,ke(e.$t("cookie.description")),1)])])}const iw=xa(tw,[["render",ow]]),aw=""+new URL("future.Byi108RQ.png",import.meta.url).href,lw={},cw={class:"flex text-sm"},uw={class:"flex-1 ml-2"},fw={class:"font-bold text-base"};function dw(e,t){return ve(),it("div",cw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:aw,alt:"",class:"h-full w-full"})])],-1)),ie("div",uw,[ie("p",fw,ke(e.$t("future.title")),1),ie("p",null,ke(e.$t("future.description")),1)])])}const hw=xa(lw,[["render",dw]]),pw="data:image/svg+xml,%3csvg%20width='256'%20height='256'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%3e%3ctitle%3eLayer%201%3c/title%3e%3cpath%20stroke-width='6'%20d='m87.42994,204.96972c0,-1.84579%20-1.14618,-5.51965%20-2.04203,-11.07467c-1.18738,-7.36275%20-1.021,-16.61199%20-1.021,-24.91798c0,-8.30599%203.39199,-15.16636%208.16807,-21.22643c6.29732,-7.99029%2015.72902,-15.76546%2022.46223,-18.45777c7.69972,-3.07879%2016.27282,-3.22853%2022.46223,-3.69155c7.12271,-0.53284%2014.29414,1.84577%2019.39919,5.53732c5.10505,3.69156%2010.79941,12.67733%2014.29414,20.30355c3.70672,8.08883%204.33436,13.80799%206.12607,24.91798c1.18738,7.36277%201.02099,11.99757%201.02099,11.99757c0,0.92287%200,1.84576%200,2.76866c0,0.92289%200,0.92289%200,1.84576c0,0.92289%200.13325,0.32866%20-0.01237,1.98987l0.14409,3.54746'%20id='svg_6'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m76.48487,73.41126c-0.60606,0%20-1.50682,0.49924%20-1.81818,1.81818c-0.27849,1.1797%20-0.46386,3.72864%200,4.84849c0.656,1.58372%202.31743,2.11288%203.63637,2.42424c0.58984,0.13924%202.43787,0.22215%204.24242,0c2.48013,-0.30531%203.35787,-1.24454%203.63636,-2.42424c0.31136,-1.31894%201.21213,-1.81818%201.21213,-3.63637c0,-1.21212%20-0.71097,-2.33498%20-1.21213,-3.0303c-0.79239,-1.09939%20-1.32485,-1.63184%20-2.42424,-2.42424c-0.69531,-0.50115%20-1.81818,-1.21212%20-2.42424,-1.81818c0,0%20-1.21212,0%20-2.42425,0c-1.21212,0%20-1.81818,0%20-2.42424,0.60606l0,0.60606l0,0.60606l0,0.60606'%20id='svg_11'%20stroke='%23000'%20fill='none'/%3e%3cpath%20stroke-width='6'%20d='m171.6364,77.09092c0,0%20-0.60606,1.21212%20-0.60606,2.42424c0,1.21212%200.09227,1.96039%201.21211,2.42424c0.79185,0.328%201.81819,1.21212%202.42426,1.21212c0.60605,0%201.81818,0%202.42424,0c1.21211,0%201.8643,0.23193%202.42424,0c0.79185,-0.328%201.81818,-1.81818%201.81818,-2.42424c0,-1.21212%20-0.46387,-1.91045%200,-3.0303c0.328,-0.79185%200.60606,-1.21212%200.60606,-2.42424c0,-0.60606%20-0.60606,-2.42424%20-1.21211,-3.0303c0,0%20-0.17752,-0.17751%20-0.60606,-0.60606c-0.42856,-0.42855%20-0.60606,-0.60606%20-0.60606,-0.60606c-1.21213,0%20-2.42424,0%20-3.0303,0c-1.81818,0%20-2.51651,0.1422%20-3.63637,0.60606c-0.79185,0.328%20-0.41972,0.71879%20-1.21211,1.81818c-0.50116,0.69532%20-1.21213,1.21212%20-1.21213,3.63637c0,0.60606%200,1.21212%200.60606,1.21212l0,0.60606'%20id='svg_16'%20stroke='%23000'%20fill='none'/%3e%3c/g%3e%3c/svg%3e",gw={},mw={class:"flex text-sm"},vw={class:"flex-1 ml-2"},yw={class:"font-bold text-base"};function _w(e,t){return ve(),it("div",mw,[t[0]||(t[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:pw,alt:"",class:"h-full w-full dark:invert"})])],-1)),ie("div",vw,[ie("p",yw,ke(e.$t("something.title")),1),ie("p",null,ke(e.$t("something.description")),1)])])}const xw=xa(gw,[["render",_w]]),ww=""+new URL("sun.ByUC_F-l.png",import.meta.url).href,bw={class:"flex text-sm"},Ew={class:"flex-1 ml-2"},Sw={class:"font-bold text-base"},Cw={key:0},Pw={key:1},Tw=ze({__name:"PictureBrightEgg",setup(e){const t=Ee(!1);return wt(()=>{t.value=_a().includes("picture-nolights")}),(n,s)=>{const o=mo;return ve(),qe(o,null,{default:yn(()=>[ie("div",bw,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:ww,alt:"",class:"h-full w-full"})])],-1)),ie("div",Ew,[ie("p",Sw,ke(n.$t("bright.title")),1),te(t)?ct("",!0):(ve(),it("p",Cw,ke(n.$t("bright.description")),1)),te(t)?(ve(),it("p",Pw,ke(n.$t("bright_either.description")),1)):ct("",!0)])])]),_:1})}}}),Lw=""+new URL("moon.kLV7MxQw.png",import.meta.url).href,Rw={class:"flex text-sm"},kw={class:"flex-1 ml-2"},Aw={class:"font-bold text-base"},Iw={key:0},Ow={key:1},Mw=ze({__name:"PictureNoLightEgg",setup(e){const t=Ee(!1);return wt(()=>{t.value=_a().includes("picture-bright")}),(n,s)=>{const o=mo;return ve(),qe(o,null,{default:yn(()=>[ie("div",Rw,[s[0]||(s[0]=ie("div",{class:"flex items-center justify-center"},[ie("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ie("img",{src:Lw,alt:"",class:"h-full w-full"})])],-1)),ie("div",kw,[ie("p",Aw,ke(n.$t("dark.title")),1),te(t)?ct("",!0):(ve(),it("p",Iw,ke(n.$t("dark.description")),1)),te(t)?(ve(),it("p",Ow,ke(n.$t("dark_either.description")),1)):ct("",!0)])])]),_:1})}}}),Nw={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},Dw={class:"flex text-sm"},Fw={class:"flex-1"},$w={class:"mt-1 text-center"},Hw={key:0},Bw={key:1},Uw=ze({__name:"EastereggBanner",setup(e,{expose:t}){const n=Ee(!1),s=Ee(""),o=Ee(G1()),r=Ee(0);wt(()=>{r.value=Dc()});let i=null;function a(h){s.value=h,r.value=Dc(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(h,u)=>{const f=iw,d=hw,c=xw,p=Tw,g=Mw,v=mo;return ve(),qe(v,null,{default:yn(()=>[te(n)?(ve(),it("div",Nw,[ie("div",{class:Vs(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto
bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400
transition-opacity ${te(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[ie("div",Dw,[ie("div",Fw,[te(s)==="cookie"?(ve(),qe(f,{key:0})):ct("",!0),te(s)==="future"?(ve(),qe(d,{key:1})):ct("",!0),te(s)==="change-something"?(ve(),qe(c,{key:2})):ct("",!0),te(s)==="picture-bright"?(ve(),qe(p,{key:3})):ct("",!0),te(s)==="picture-nolights"?(ve(),qe(g,{key:4})):ct("",!0),ie("div",$w,[te(r)!=te(o)?(ve(),it("p",Hw,ke(te(r))+"/"+ke(te(o))+" "+ke(h.$t("easter eggs found")),1)):ct("",!0),te(r)===te(o)?(ve(),it("p",Bw,ke(h.$t("all easter eggs found")),1)):ct("",!0)])])])],2)])):ct("",!0)]),_:1})}}});function Jd(){return localStorage.getItem("theme")??"dark"}function Vw(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function lb(){Vw(Jd()==="dark"?"light":"dark")}function qd(e){switch(e||(e=Jd()),e){case"dark":document.documentElement.classList.add("dark");break;case"light":document.documentElement.classList.remove("dark");break;default:document.documentElement.classList.add("dark");break}}const jw={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},Ww={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},Kw={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},Gw={__name:"app",setup(e){const{locale:t}=go(),n=Ee(),s=Ee(!1);return wt(()=>{qd(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Cl({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),dt(t,o=>{Cl({htmlAttrs:{lang:o}})}),(o,r)=>{const i=N1,a=B1,l=ew,h=Uw;return te(s)?(ve(),it("div",jw,[ie("div",Ww,[ie("div",Kw,[Ie(a,null,{default:yn(()=>[Ie(i)]),_:1})])]),Ie(l),Ie(h,{ref_key:"easteregg",ref:n},null,512)])):ct("",!0)}}};async function Qd(e,t=Qe()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Qd(e,t));t._routePreloaded.add(n);const r=s.map(i=>{var a;return(a=i.components)==null?void 0:a.default}).filter(i=>typeof i=="function");for(const i of r){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const Xw=(...e)=>e.find(t=>t!==void 0);function Yw(e){const t=e.componentName||"NuxtLink";function n(o,r){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Fc(o,e.trailingSlash);const i="path"in o&&o.path!==void 0?o.path:r(o).path;return{...o,name:void 0,path:Fc(i,e.trailingSlash)}}function s(o){const r=Qe(),i=ht(),a=ge(()=>!!o.target&&o.target!=="_self"),l=ge(()=>{const g=o.to||o.href||"";return typeof g=="string"&&bt(g,{acceptRelative:!0})}),h=Ma("RouterLink"),u=h&&typeof h!="string"?h.useLink:void 0,f=ge(()=>{if(o.external)return!0;const g=o.to||o.href||"";return typeof g=="object"?!1:g===""||l.value}),d=ge(()=>{const g=o.to||o.href||"";return f.value?g:n(g,r.resolve)}),c=f.value||u==null?void 0:u({...o,to:d}),p=ge(()=>{var g;if(!d.value||l.value)return d.value;if(f.value){const v=typeof d.value=="object"&&"path"in d.value?hi(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(Fn(i.app.baseURL,d.value),r.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:f,href:p,isActive:(c==null?void 0:c.isActive)??ge(()=>d.value===r.currentRoute.value.path),isExactActive:(c==null?void 0:c.isExactActive)??ge(()=>d.value===r.currentRoute.value.path),route:(c==null?void 0:c.route)??ge(()=>r.resolve(d.value)),async navigate(){await If(p.value,{replace:o.replace,external:f.value||a.value})}}}return ze({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:s,setup(o,{slots:r}){const i=Qe(),{to:a,href:l,navigate:h,isExternal:u,hasTarget:f,isAbsoluteUrl:d}=s(o),c=Ee(!1),p=Ee(null),g=b=>{var y;p.value=o.custom?(y=b==null?void 0:b.$el)==null?void 0:y.nextElementSibling:b==null?void 0:b.$el};function v(b){var y,_;return!c.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===b:((y=o.prefetchOn)==null?void 0:y[b])??((_=e.prefetchOn)==null?void 0:_[b]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!Qw()}async function w(b=me()){if(c.value)return;c.value=!0;const y=typeof a.value=="string"?a.value:u.value?hi(a.value):i.resolve(a.value).fullPath;await Promise.all([b.hooks.callHook("link:prefetch",y).catch(()=>{}),!u.value&&!f.value&&Qd(a.value,i).catch(()=>{})])}if(v("visibility")){const b=me();let y,_=null;wt(()=>{const m=qw();so(()=>{y=wi(()=>{var x;(x=p==null?void 0:p.value)!=null&&x.tagName&&(_=m.observe(p.value,async()=>{_==null||_(),_=null,await w(b)}))})})}),Vr(()=>{y&&S0(y),_==null||_(),_=null})}return()=>{var _;if(!u.value&&!f.value){const m={ref:g,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(v("interaction")&&(m.onPointerenter=w.bind(null,void 0),m.onFocus=w.bind(null,void 0)),c.value&&(m.class=o.prefetchedClass||e.prefetchedClass),m.rel=o.rel||void 0),Ye(Ma("RouterLink"),m,r.default)}const b=o.target||null,y=Xw(o.noRel?"":o.rel,e.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return o.custom?r.default?r.default({href:l.value,navigate:h,prefetch:w,get route(){if(!l.value)return;const m=new URL(l.value,window.location.href);return{path:m.pathname,fullPath:m.pathname,get query(){return ta(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:y,target:b,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:Ye("a",{ref:p,href:l.value||null,rel:y,target:b},(_=r.default)==null?void 0:_.call(r))}}})}const Jw=Yw(Om);function Fc(e,t){const n=t==="append"?Or:Wr;return bt(e)&&!e.startsWith("http")?e:n(e,!0)}function qw(){const e=me();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const h=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&h&&h()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function Qw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const zw=""+new URL("no-turn-street.BRW4kPj4.png",import.meta.url).href,Zw={class:"bg-gray-100 text-gray-900 min-h-screen h-full dark:bg-gray-900 dark:text-slate-50 flex justify-center items-center",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},eb={class:"text-2xl md:text-4xl text-center"},tb=ze({__name:"error",setup(e){const t=C1();return wt(()=>{qd()}),(n,s)=>{const o=Jw;return ve(),it("div",Zw,[ie("div",null,[ie("p",eb,ke(n.$t("wrong directions")),1),s[0]||(s[0]=ie("img",{src:zw,class:"mx-auto my-2",alt:""},null,-1)),Ie(o,{to:te(t)("/"),class:"block py-2 text-center text-xl hover:underline border border-slate-700 text-gray-700 dark:text-slate-50 dark:border-slate-200"},{default:yn(()=>[qs(ke(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),nb={key:0},$c={__name:"nuxt-root",setup(e){const t=()=>null,n=me(),s=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",s);Qe().beforeEach(l)}const o=!1;cn(Kr,Zs()),n.hooks.callHookWith(l=>l.map(h=>h()),"vue:setup");const r=eo(),i=!1;Ru((l,h,u)=>{if(n.hooks.callHook("vue:error",l,h,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),iv(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Gn(l)),!1});const a=!1;return(l,h)=>(ve(),qe(zi,{onResolve:te(s)},{default:yn(()=>[te(i)?(ve(),it("div",nb)):te(r)?(ve(),qe(te(tb),{key:1,error:te(r)},null,8,["error"])):te(a)?(ve(),qe(te(t),{key:2,context:te(a)},null,8,["context"])):te(o)?(ve(),qe(lp(te(o)),{key:3})):(ve(),qe(te(Gw),{key:4}))]),_:1},8,["onResolve"]))}};let Hc;{let e;Hc=async function(){var i,a;if(e)return e;const s=!!(((i=window.__NUXT__)==null?void 0:i.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?Tg($c):Pg($c),o=Fm({vueApp:s});async function r(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||to(l)}s.config.errorHandler=r;try{await Bm(o,O1)}catch(l){r(l)}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(Nm),await o.hooks.callHook("app:mounted",s),await vn()}catch(l){r(l)}return s.config.errorHandler===r&&(s.config.errorHandler=void 0),s},e=Hc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Ni as A,lb as B,qd as C,P1 as D,Jw as E,Ke as F,C1 as G,Qe as H,xa as _,Zs as a,K1 as b,ve as c,ze as d,it as e,ie as f,Jd as g,te as h,ct as i,Cl as j,ge as k,dt as l,Ie as m,yn as n,wt as o,qs as p,ab as q,Ee as r,ob as s,ke as t,go as u,ib as v,rb as w,sb as x,Vs as y,qe as z};