Files
notxia.github.io/_nuxt/entry.34f6e0e5.js
2024-01-24 19:37:48 +00:00

60 lines
310 KiB
JavaScript
Raw Blame History

function ei(e,t){const n=Object.create(null),s=e.split(",");for(let o=0;o<s.length;o++)n[s[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Le={},kn=[],_t=()=>{},Wf=()=>!1,Kf=/^on[^a-z]/,wr=e=>Kf.test(e),ti=e=>e.startsWith("onUpdate:"),Fe=Object.assign,ni=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gf=Object.prototype.hasOwnProperty,de=(e,t)=>Gf.call(e,t),re=Array.isArray,In=e=>Sr(e)==="[object Map]",rc=e=>Sr(e)==="[object Set]",Xf=e=>Sr(e)==="[object RegExp]",ie=e=>typeof e=="function",Oe=e=>typeof e=="string",ri=e=>typeof e=="symbol",Pe=e=>e!==null&&typeof e=="object",sc=e=>Pe(e)&&ie(e.then)&&ie(e.catch),oc=Object.prototype.toString,Sr=e=>oc.call(e),Yf=e=>Sr(e).slice(8,-1),ic=e=>Sr(e)==="[object Object]",si=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rr=ei(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ys=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Jf=/-(\w)/g,Lt=ys(e=>e.replace(Jf,(t,n)=>n?n.toUpperCase():"")),qf=/\B([A-Z])/g,Vn=ys(e=>e.replace(qf,"-$1").toLowerCase()),_s=ys(e=>e.charAt(0).toUpperCase()+e.slice(1)),Us=ys(e=>e?`on${_s(e)}`:""),dr=(e,t)=>!Object.is(e,t),sr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Zr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Qf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ac=e=>{const t=Oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Ji;const so=()=>Ji||(Ji=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function oi(e){if(re(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Oe(s)?td(s):oi(s);if(o)for(const r in o)t[r]=o[r]}return t}else{if(Oe(e))return e;if(Pe(e))return e}}const zf=/;(?![^(]*\))/g,Zf=/:([^]+)/,ed=/\/\*[^]*?\*\//g;function td(e){const t={};return e.replace(ed,"").split(zf).forEach(n=>{if(n){const s=n.split(Zf);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function xs(e){let t="";if(Oe(e))t=e;else if(re(e))for(let n=0;n<e.length;n++){const s=xs(e[n]);s&&(t+=s+" ")}else if(Pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const nd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",rd=ei(nd);function lc(e){return!!e||e===""}const Re=e=>Oe(e)?e:e==null?"":re(e)||Pe(e)&&(e.toString===oc||!ie(e.toString))?JSON.stringify(e,cc,2):String(e),cc=(e,t)=>t&&t.__v_isRef?cc(e,t.value):In(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:rc(t)?{[`Set(${t.size})`]:[...t.values()]}:Pe(t)&&!re(t)&&!ic(t)?String(t):t;let gt;class uc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=gt,!t&&gt&&(this.index=(gt.scopes||(gt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=gt;try{return gt=this,t()}finally{gt=n}}}on(){gt=this}off(){gt=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 fc(e){return new uc(e)}function sd(e,t=gt){t&&t.active&&t.effects.push(e)}function od(){return gt}const ii=e=>{const t=new Set(e);return t.w=0,t.n=0,t},dc=e=>(e.w&Xt)>0,hc=e=>(e.n&Xt)>0,id=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xt},ad=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const o=t[s];dc(o)&&!hc(o)?o.delete(e):t[n++]=o,o.w&=~Xt,o.n&=~Xt}t.length=n}},es=new WeakMap;let er=0,Xt=1;const oo=30;let vt;const dn=Symbol(""),io=Symbol("");class ai{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,sd(this,s)}run(){if(!this.active)return this.fn();let t=vt,n=Kt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=vt,vt=this,Kt=!0,Xt=1<<++er,er<=oo?id(this):qi(this),this.fn()}finally{er<=oo&&ad(this),Xt=1<<--er,vt=this.parent,Kt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){vt===this?this.deferStop=!0:this.active&&(qi(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Kt=!0;const pc=[];function Wn(){pc.push(Kt),Kt=!1}function Kn(){const e=pc.pop();Kt=e===void 0?!0:e}function rt(e,t,n){if(Kt&&vt){let s=es.get(e);s||es.set(e,s=new Map);let o=s.get(n);o||s.set(n,o=ii()),gc(o)}}function gc(e,t){let n=!1;er<=oo?hc(e)||(e.n|=Xt,n=!dc(e)):n=!e.has(vt),n&&(e.add(vt),vt.deps.push(e))}function At(e,t,n,s,o,r){const i=es.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&re(e)){const l=Number(s);i.forEach((f,u)=>{(u==="length"||u>=l)&&a.push(f)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":re(e)?si(n)&&a.push(i.get("length")):(a.push(i.get(dn)),In(e)&&a.push(i.get(io)));break;case"delete":re(e)||(a.push(i.get(dn)),In(e)&&a.push(i.get(io)));break;case"set":In(e)&&a.push(i.get(dn));break}if(a.length===1)a[0]&&ao(a[0]);else{const l=[];for(const f of a)f&&l.push(...f);ao(ii(l))}}function ao(e,t){const n=re(e)?e:[...e];for(const s of n)s.computed&&Qi(s);for(const s of n)s.computed||Qi(s)}function Qi(e,t){(e!==vt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function ld(e,t){var n;return(n=es.get(e))==null?void 0:n.get(t)}const cd=ei("__proto__,__v_isRef,__isVue"),mc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ri)),ud=li(),fd=li(!1,!0),dd=li(!0),zi=hd();function hd(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=pe(this);for(let r=0,i=this.length;r<i;r++)rt(s,"get",r+"");const o=s[t](...n);return o===-1||o===!1?s[t](...n.map(pe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Wn();const s=pe(this)[t].apply(this,n);return Kn(),s}}),e}function pd(e){const t=pe(this);return rt(t,"has",e),t.hasOwnProperty(e)}function li(e=!1,t=!1){return function(s,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?kd:Ec:t?xc:_c).get(s))return s;const i=re(s);if(!e){if(i&&de(zi,o))return Reflect.get(zi,o,r);if(o==="hasOwnProperty")return pd}const a=Reflect.get(s,o,r);return(ri(o)?mc.has(o):cd(o))||(e||rt(s,"get",o),t)?a:Te(a)?i&&si(o)?a:a.value:Pe(a)?e?Cc(a):Yt(a):a}}const gd=vc(),md=vc(!0);function vc(e=!1){return function(n,s,o,r){let i=n[s];if(vn(i)&&Te(i)&&!Te(o))return!1;if(!e&&(!ts(o)&&!vn(o)&&(i=pe(i),o=pe(o)),!re(n)&&Te(i)&&!Te(o)))return i.value=o,!0;const a=re(n)&&si(s)?Number(s)<n.length:de(n,s),l=Reflect.set(n,s,o,r);return n===pe(r)&&(a?dr(o,i)&&At(n,"set",s,o):At(n,"add",s,o)),l}}function vd(e,t){const n=de(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&At(e,"delete",t,void 0),s}function yd(e,t){const n=Reflect.has(e,t);return(!ri(t)||!mc.has(t))&&rt(e,"has",t),n}function _d(e){return rt(e,"iterate",re(e)?"length":dn),Reflect.ownKeys(e)}const yc={get:ud,set:gd,deleteProperty:vd,has:yd,ownKeys:_d},xd={get:dd,set(e,t){return!0},deleteProperty(e,t){return!0}},Ed=Fe({},yc,{get:fd,set:md}),ci=e=>e,Es=e=>Reflect.getPrototypeOf(e);function Mr(e,t,n=!1,s=!1){e=e.__v_raw;const o=pe(e),r=pe(t);n||(t!==r&&rt(o,"get",t),rt(o,"get",r));const{has:i}=Es(o),a=s?ci:n?di:hr;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 Dr(e,t=!1){const n=this.__v_raw,s=pe(n),o=pe(e);return t||(e!==o&&rt(s,"has",e),rt(s,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Fr(e,t=!1){return e=e.__v_raw,!t&&rt(pe(e),"iterate",dn),Reflect.get(e,"size",e)}function Zi(e){e=pe(e);const t=pe(this);return Es(t).has.call(t,e)||(t.add(e),At(t,"add",e,e)),this}function ea(e,t){t=pe(t);const n=pe(this),{has:s,get:o}=Es(n);let r=s.call(n,e);r||(e=pe(e),r=s.call(n,e));const i=o.call(n,e);return n.set(e,t),r?dr(t,i)&&At(n,"set",e,t):At(n,"add",e,t),this}function ta(e){const t=pe(this),{has:n,get:s}=Es(t);let o=n.call(t,e);o||(e=pe(e),o=n.call(t,e)),s&&s.call(t,e);const r=t.delete(e);return o&&At(t,"delete",e,void 0),r}function na(){const e=pe(this),t=e.size!==0,n=e.clear();return t&&At(e,"clear",void 0,void 0),n}function $r(e,t){return function(s,o){const r=this,i=r.__v_raw,a=pe(i),l=t?ci:e?di:hr;return!e&&rt(a,"iterate",dn),i.forEach((f,u)=>s.call(o,l(f),l(u),r))}}function Br(e,t,n){return function(...s){const o=this.__v_raw,r=pe(o),i=In(r),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...s),u=n?ci:t?di:hr;return!t&&rt(r,"iterate",l?io:dn),{next(){const{value:h,done:d}=f.next();return d?{value:h,done:d}:{value:a?[u(h[0]),u(h[1])]:u(h),done:d}},[Symbol.iterator](){return this}}}}function Dt(e){return function(...t){return e==="delete"?!1:this}}function Cd(){const e={get(r){return Mr(this,r)},get size(){return Fr(this)},has:Dr,add:Zi,set:ea,delete:ta,clear:na,forEach:$r(!1,!1)},t={get(r){return Mr(this,r,!1,!0)},get size(){return Fr(this)},has:Dr,add:Zi,set:ea,delete:ta,clear:na,forEach:$r(!1,!0)},n={get(r){return Mr(this,r,!0)},get size(){return Fr(this,!0)},has(r){return Dr.call(this,r,!0)},add:Dt("add"),set:Dt("set"),delete:Dt("delete"),clear:Dt("clear"),forEach:$r(!0,!1)},s={get(r){return Mr(this,r,!0,!0)},get size(){return Fr(this,!0)},has(r){return Dr.call(this,r,!0)},add:Dt("add"),set:Dt("set"),delete:Dt("delete"),clear:Dt("clear"),forEach:$r(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Br(r,!1,!1),n[r]=Br(r,!0,!1),t[r]=Br(r,!1,!0),s[r]=Br(r,!0,!0)}),[e,n,t,s]}const[bd,wd,Sd,Pd]=Cd();function ui(e,t){const n=t?e?Pd:Sd:e?wd:bd;return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(de(n,o)&&o in s?n:s,o,r)}const Ld={get:ui(!1,!1)},Td={get:ui(!1,!0)},Rd={get:ui(!0,!1)},_c=new WeakMap,xc=new WeakMap,Ec=new WeakMap,kd=new WeakMap;function Id(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ad(e){return e.__v_skip||!Object.isExtensible(e)?0:Id(Yf(e))}function Yt(e){return vn(e)?e:fi(e,!1,yc,Ld,_c)}function Pr(e){return fi(e,!1,Ed,Td,xc)}function Cc(e){return fi(e,!0,xd,Rd,Ec)}function fi(e,t,n,s,o){if(!Pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const i=Ad(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return o.set(e,a),a}function An(e){return vn(e)?An(e.__v_raw):!!(e&&e.__v_isReactive)}function vn(e){return!!(e&&e.__v_isReadonly)}function ts(e){return!!(e&&e.__v_isShallow)}function bc(e){return An(e)||vn(e)}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function wc(e){return Zr(e,"__v_skip",!0),e}const hr=e=>Pe(e)?Yt(e):e,di=e=>Pe(e)?Cc(e):e;function Sc(e){Kt&&vt&&(e=pe(e),gc(e.dep||(e.dep=ii())))}function Pc(e,t){e=pe(e);const n=e.dep;n&&ao(n)}function Te(e){return!!(e&&e.__v_isRef===!0)}function ge(e){return Lc(e,!1)}function pr(e){return Lc(e,!0)}function Lc(e,t){return Te(e)?e:new Od(e,t)}class Od{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:pe(t),this._value=n?t:hr(t)}get value(){return Sc(this),this._value}set value(t){const n=this.__v_isShallow||ts(t)||vn(t);t=n?t:pe(t),dr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:hr(t),Pc(this))}}function oe(e){return Te(e)?e.value:e}const Nd={get:(e,t,n)=>oe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Tc(e){return An(e)?e:new Proxy(e,Nd)}class Md{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return ld(pe(this._object),this._key)}}class Dd{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Rc(e,t,n){return Te(e)?e:ie(e)?new Dd(e):Pe(e)&&arguments.length>1?Fd(e,t,n):ge(e)}function Fd(e,t,n){const s=e[t];return Te(s)?s:new Md(e,t,n)}class $d{constructor(t,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ai(t,()=>{this._dirty||(this._dirty=!0,Pc(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const t=pe(this);return Sc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Bd(e,t,n=!1){let s,o;const r=ie(e);return r?(s=e,o=_t):(s=e.get,o=e.set),new $d(s,o,r||!o,n)}function Gt(e,t,n,s){let o;try{o=s?e(...s):e()}catch(r){Lr(r,t,n)}return o}function ft(e,t,n,s){if(ie(e)){const r=Gt(e,t,n,s);return r&&sc(r)&&r.catch(i=>{Lr(i,t,n)}),r}const o=[];for(let r=0;r<e.length;r++)o.push(ft(e[r],t,n,s));return o}function Lr(e,t,n,s=!0){const o=t?t.vnode:null;if(t){let r=t.parent;const i=t.proxy,a=n;for(;r;){const f=r.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,i,a)===!1)return}r=r.parent}const l=t.appContext.config.errorHandler;if(l){Gt(l,null,10,[e,i,a]);return}}Hd(e,n,o,s)}function Hd(e,t,n,s=!0){console.error(e)}let gr=!1,lo=!1;const Ye=[];let Pt=0;const On=[];let It=null,an=0;const kc=Promise.resolve();let hi=null;function Jt(e){const t=hi||kc;return e?t.then(this?e.bind(this):e):t}function Ud(e){let t=Pt+1,n=Ye.length;for(;t<n;){const s=t+n>>>1;mr(Ye[s])<e?t=s+1:n=s}return t}function pi(e){(!Ye.length||!Ye.includes(e,gr&&e.allowRecurse?Pt+1:Pt))&&(e.id==null?Ye.push(e):Ye.splice(Ud(e.id),0,e),Ic())}function Ic(){!gr&&!lo&&(lo=!0,hi=kc.then(Oc))}function jd(e){const t=Ye.indexOf(e);t>Pt&&Ye.splice(t,1)}function Ac(e){re(e)?On.push(...e):(!It||!It.includes(e,e.allowRecurse?an+1:an))&&On.push(e),Ic()}function ra(e,t=gr?Pt+1:0){for(;t<Ye.length;t++){const n=Ye[t];n&&n.pre&&(Ye.splice(t,1),t--,n())}}function ns(e){if(On.length){const t=[...new Set(On)];if(On.length=0,It){It.push(...t);return}for(It=t,It.sort((n,s)=>mr(n)-mr(s)),an=0;an<It.length;an++)It[an]();It=null,an=0}}const mr=e=>e.id==null?1/0:e.id,Vd=(e,t)=>{const n=mr(e)-mr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Oc(e){lo=!1,gr=!0,Ye.sort(Vd);const t=_t;try{for(Pt=0;Pt<Ye.length;Pt++){const n=Ye[Pt];n&&n.active!==!1&&Gt(n,null,14)}}finally{Pt=0,Ye.length=0,ns(),gr=!1,hi=null,(Ye.length||On.length)&&Oc()}}function Wd(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Le;let o=n;const r=t.startsWith("update:"),i=r&&t.slice(7);if(i&&i in s){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:h,trim:d}=s[u]||Le;d&&(o=n.map(c=>Oe(c)?c.trim():c)),h&&(o=n.map(Qf))}let a,l=s[a=Us(t)]||s[a=Us(Lt(t))];!l&&r&&(l=s[a=Us(Vn(t))]),l&&ft(l,e,6,o);const f=s[a+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ft(f,e,6,o)}}function Nc(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(!ie(e)){const l=f=>{const u=Nc(f,t,!0);u&&(a=!0,Fe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(Pe(e)&&s.set(e,null),null):(re(r)?r.forEach(l=>i[l]=null):Fe(i,r),Pe(e)&&s.set(e,i),i)}function Cs(e,t){return!e||!wr(t)?!1:(t=t.slice(2).replace(/Once$/,""),de(e,t[0].toLowerCase()+t.slice(1))||de(e,Vn(t))||de(e,t))}let He=null,Mc=null;function rs(e){const t=He;return He=e,Mc=e&&e.type.__scopeId||null,t}function qt(e,t=He,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&ma(-1);const r=rs(t);let i;try{i=e(...o)}finally{rs(r),s._d&&ma(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function js(e){const{type:t,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:f,render:u,renderCache:h,data:d,setupState:c,ctx:p,inheritAttrs:g}=e;let v,m;const _=rs(e);try{if(n.shapeFlag&4){const x=o||s;v=ct(u.call(x,x,h,r,c,d,p)),m=l}else{const x=t;v=ct(x.length>1?x(r,{attrs:l,slots:a,emit:f}):x(r,null)),m=t.props?l:Gd(l)}}catch(x){ir.length=0,Lr(x,e,1),v=ke(Qe)}let b=v;if(m&&g!==!1){const x=Object.keys(m),{shapeFlag:y}=b;x.length&&y&7&&(i&&x.some(ti)&&(m=Xd(m,i)),b=Ot(b,m))}return n.dirs&&(b=Ot(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),v=b,rs(_),v}function Kd(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Dn(s)){if(s.type!==Qe||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Gd=e=>{let t;for(const n in e)(n==="class"||n==="style"||wr(n))&&((t||(t={}))[n]=e[n]);return t},Xd=(e,t)=>{const n={};for(const s in e)(!ti(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Yd(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:a,patchFlag:l}=t,f=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?sa(s,i,f):!!i;if(l&8){const u=t.dynamicProps;for(let h=0;h<u.length;h++){const d=u[h];if(i[d]!==s[d]&&!Cs(f,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?sa(s,i,f):!0:!!i;return!1}function sa(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]&&!Cs(n,r))return!0}return!1}function gi({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Dc=e=>e.__isSuspense,Jd={name:"Suspense",__isSuspense:!0,process(e,t,n,s,o,r,i,a,l,f){e==null?qd(t,n,s,o,r,i,a,l,f):Qd(e,t,n,s,o,i,a,l,f)},hydrate:zd,create:vi,normalize:Zd},mi=Jd;function vr(e,t){const n=e.props&&e.props[t];ie(n)&&n()}function qd(e,t,n,s,o,r,i,a,l){const{p:f,o:{createElement:u}}=l,h=u("div"),d=e.suspense=vi(e,o,s,t,h,n,r,i,a,l);f(null,d.pendingBranch=e.ssContent,h,null,s,d,r,i),d.deps>0?(vr(e,"onPending"),vr(e,"onFallback"),f(null,e.ssFallback,t,n,s,null,r,i),Nn(d,e.ssFallback)):d.resolve(!1,!0)}function Qd(e,t,n,s,o,r,i,a,{p:l,um:f,o:{createElement:u}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const d=t.ssContent,c=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:v,isHydrating:m}=h;if(g)h.pendingBranch=d,yt(d,g)?(l(g,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():v&&(l(p,c,n,s,o,null,r,i,a),Nn(h,c))):(h.pendingId++,m?(h.isHydrating=!1,h.activeBranch=g):f(g,o,h),h.deps=0,h.effects.length=0,h.hiddenContainer=u("div"),v?(l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0?h.resolve():(l(p,c,n,s,o,null,r,i,a),Nn(h,c))):p&&yt(d,p)?(l(p,d,n,s,o,h,r,i,a),h.resolve(!0)):(l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0&&h.resolve()));else if(p&&yt(d,p))l(p,d,n,s,o,h,r,i,a),Nn(h,d);else if(vr(t,"onPending"),h.pendingBranch=d,h.pendingId++,l(null,d,h.hiddenContainer,null,o,h,r,i,a),h.deps<=0)h.resolve();else{const{timeout:_,pendingId:b}=h;_>0?setTimeout(()=>{h.pendingId===b&&h.fallback(c)},_):_===0&&h.fallback(c)}}function vi(e,t,n,s,o,r,i,a,l,f,u=!1){const{p:h,m:d,um:c,n:p,o:{parentNode:g,remove:v}}=f;let m;const _=eh(e);_&&t!=null&&t.pendingBranch&&(m=t.pendingId,t.deps++);const b=e.props?ac(e.props.timeout):void 0,x={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:o,anchor:r,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:u,isUnmounted:!1,effects:[],resolve(y=!1,E=!1){const{vnode:S,activeBranch:w,pendingBranch:T,pendingId:L,effects:A,parentComponent:R,container:k}=x;if(x.isHydrating)x.isHydrating=!1;else if(!y){const j=w&&T.transition&&T.transition.mode==="out-in";j&&(w.transition.afterLeave=()=>{L===x.pendingId&&d(T,k,U,0)});let{anchor:U}=x;w&&(U=p(w),c(w,R,x,!0)),j||d(T,k,U,0)}Nn(x,T),x.pendingBranch=null,x.isInFallback=!1;let N=x.parent,B=!1;for(;N;){if(N.pendingBranch){N.effects.push(...A),B=!0;break}N=N.parent}B||Ac(A),x.effects=[],_&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),vr(S,"onResolve")},fallback(y){if(!x.pendingBranch)return;const{vnode:E,activeBranch:S,parentComponent:w,container:T,isSVG:L}=x;vr(E,"onFallback");const A=p(S),R=()=>{x.isInFallback&&(h(null,y,T,A,w,null,L,a,l),Nn(x,y))},k=y.transition&&y.transition.mode==="out-in";k&&(S.transition.afterLeave=R),x.isInFallback=!0,c(S,w,null,!0),k||R()},move(y,E,S){x.activeBranch&&d(x.activeBranch,y,E,S),x.container=y},next(){return x.activeBranch&&p(x.activeBranch)},registerDep(y,E){const S=!!x.pendingBranch;S&&x.deps++;const w=y.vnode.el;y.asyncDep.catch(T=>{Lr(T,y,0)}).then(T=>{if(y.isUnmounted||x.isUnmounted||x.pendingId!==y.suspenseId)return;y.asyncResolved=!0;const{vnode:L}=y;go(y,T,!1),w&&(L.el=w);const A=!w&&y.subTree.el;E(y,L,g(w||y.subTree.el),w?null:p(y.subTree),x,i,l),A&&v(A),gi(y,L.el),S&&--x.deps===0&&x.resolve()})},unmount(y,E){x.isUnmounted=!0,x.activeBranch&&c(x.activeBranch,n,y,E),x.pendingBranch&&c(x.pendingBranch,n,y,E)}};return x}function zd(e,t,n,s,o,r,i,a,l){const f=t.suspense=vi(t,s,n,e.parentNode,document.createElement("div"),null,o,r,i,a,!0),u=l(e,f.pendingBranch=t.ssContent,n,f,r,i);return f.deps===0&&f.resolve(!1,!0),u}function Zd(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=oa(s?n.default:n),e.ssFallback=s?oa(n.fallback):ke(Qe)}function oa(e){let t;if(ie(e)){const n=Mn&&e._c;n&&(e._d=!1,xe()),e=e(),n&&(e._d=!0,t=ut,iu())}return re(e)&&(e=Kd(e)),e=ct(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Fc(e,t){t&&t.pendingBranch?re(e)?t.effects.push(...e):t.effects.push(e):Ac(e)}function Nn(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,o=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=o,gi(s,o))}function eh(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function th(e,t){return yi(e,null,t)}const Hr={};function xt(e,t,n){return yi(e,t,n)}function yi(e,t,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Le){var a;const l=od()===((a=$e)==null?void 0:a.scope)?$e:null;let f,u=!1,h=!1;if(Te(e)?(f=()=>e.value,u=ts(e)):An(e)?(f=()=>e,s=!0):re(e)?(h=!0,u=e.some(x=>An(x)||ts(x)),f=()=>e.map(x=>{if(Te(x))return x.value;if(An(x))return cn(x);if(ie(x))return Gt(x,l,2)})):ie(e)?t?f=()=>Gt(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return d&&d(),ft(e,l,3,[c])}:f=_t,t&&s){const x=f;f=()=>cn(x())}let d,c=x=>{d=_.onStop=()=>{Gt(x,l,4)}},p;if(_r)if(c=_t,t?n&&ft(t,l,3,[f(),h?[]:void 0,c]):f(),o==="sync"){const x=Kh();p=x.__watcherHandles||(x.__watcherHandles=[])}else return _t;let g=h?new Array(e.length).fill(Hr):Hr;const v=()=>{if(_.active)if(t){const x=_.run();(s||u||(h?x.some((y,E)=>dr(y,g[E])):dr(x,g)))&&(d&&d(),ft(t,l,3,[x,g===Hr?void 0:h&&g[0]===Hr?[]:g,c]),g=x)}else _.run()};v.allowRecurse=!!t;let m;o==="sync"?m=v:o==="post"?m=()=>je(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),m=()=>pi(v));const _=new ai(f,m);t?n?v():g=_.run():o==="post"?je(_.run.bind(_),l&&l.suspense):_.run();const b=()=>{_.stop(),l&&l.scope&&ni(l.scope.effects,_)};return p&&p.push(b),b}function nh(e,t,n){const s=this.proxy,o=Oe(e)?e.includes(".")?$c(s,e):()=>s[e]:e.bind(s,s);let r;ie(t)?r=t:(r=t.handler,n=t);const i=$e;Fn(this);const a=yi(o,r.bind(s),n);return i?Fn(i):gn(),a}function $c(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}}function cn(e,t){if(!Pe(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Te(e))cn(e.value,t);else if(re(e))for(let n=0;n<e.length;n++)cn(e[n],t);else if(rc(e)||In(e))e.forEach(n=>{cn(n,t)});else if(ic(e))for(const n in e)cn(e[n],t);return e}function AE(e,t){const n=He;if(n===null)return e;const s=Ls(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,l,f=Le]=t[r];i&&(ie(i)&&(i={mounted:i,updated:i}),i.deep&&cn(a),o.push({dir:i,instance:s,value:a,oldValue:void 0,arg:l,modifiers:f}))}return e}function St(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&&(Wn(),ft(l,n,8,[e.el,a,e,t]),Kn())}}function rh(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ht(()=>{e.isMounted=!0}),Tr(()=>{e.isUnmounting=!0}),e}const lt=[Function,Array],Bc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:lt,onEnter:lt,onAfterEnter:lt,onEnterCancelled:lt,onBeforeLeave:lt,onLeave:lt,onAfterLeave:lt,onLeaveCancelled:lt,onBeforeAppear:lt,onAppear:lt,onAfterAppear:lt,onAppearCancelled:lt},sh={name:"BaseTransition",props:Bc,setup(e,{slots:t}){const n=xn(),s=rh();let o;return()=>{const r=t.default&&Uc(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const g of r)if(g.type!==Qe){i=g;break}}const a=pe(e),{mode:l}=a;if(s.isLeaving)return Vs(i);const f=ia(i);if(!f)return Vs(i);const u=co(f,a,s,n);ss(f,u);const h=n.subTree,d=h&&ia(h);let c=!1;const{getTransitionKey:p}=f.type;if(p){const g=p();o===void 0?o=g:g!==o&&(o=g,c=!0)}if(d&&d.type!==Qe&&(!yt(f,d)||c)){const g=co(d,a,s,n);if(ss(d,g),l==="out-in")return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},Vs(i);l==="in-out"&&f.type!==Qe&&(g.delayLeave=(v,m,_)=>{const b=Hc(s,d);b[String(d.key)]=d,v._leaveCb=()=>{m(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=_})}return i}}},oh=sh;function Hc(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 co(e,t,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:f,onEnterCancelled:u,onBeforeLeave:h,onLeave:d,onAfterLeave:c,onLeaveCancelled:p,onBeforeAppear:g,onAppear:v,onAfterAppear:m,onAppearCancelled:_}=t,b=String(e.key),x=Hc(n,e),y=(w,T)=>{w&&ft(w,s,9,T)},E=(w,T)=>{const L=T[1];y(w,T),re(w)?w.every(A=>A.length<=1)&&L():w.length<=1&&L()},S={mode:r,persisted:i,beforeEnter(w){let T=a;if(!n.isMounted)if(o)T=g||a;else return;w._leaveCb&&w._leaveCb(!0);const L=x[b];L&&yt(e,L)&&L.el._leaveCb&&L.el._leaveCb(),y(T,[w])},enter(w){let T=l,L=f,A=u;if(!n.isMounted)if(o)T=v||l,L=m||f,A=_||u;else return;let R=!1;const k=w._enterCb=N=>{R||(R=!0,N?y(A,[w]):y(L,[w]),S.delayedLeave&&S.delayedLeave(),w._enterCb=void 0)};T?E(T,[w,k]):k()},leave(w,T){const L=String(e.key);if(w._enterCb&&w._enterCb(!0),n.isUnmounting)return T();y(h,[w]);let A=!1;const R=w._leaveCb=k=>{A||(A=!0,T(),k?y(p,[w]):y(c,[w]),w._leaveCb=void 0,x[L]===e&&delete x[L])};x[L]=e,d?E(d,[w,R]):R()},clone(w){return co(w,t,n,s)}};return S}function Vs(e){if(bs(e))return e=Ot(e),e.children=null,e}function ia(e){return bs(e)?e.children?e.children[0]:void 0:e}function ss(e,t){e.shapeFlag&6&&e.component?ss(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 Uc(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===Ge?(i.patchFlag&128&&o++,s=s.concat(Uc(i.children,t,a))):(t||i.type!==Qe)&&s.push(a!=null?Ot(i,{key:a}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function Ke(e,t){return ie(e)?(()=>Fe({name:e.name},t,{setup:e}))():e}const hn=e=>!!e.type.__asyncLoader,bs=e=>e.type.__isKeepAlive,ih={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=xn(),s=n.ctx;if(!s.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:f,um:u,o:{createElement:h}}}=s,d=h("div");s.activate=(_,b,x,y,E)=>{const S=_.component;f(_,b,x,0,a),l(S.vnode,_,b,x,S,a,y,_.slotScopeIds,E),je(()=>{S.isDeactivated=!1,S.a&&sr(S.a);const w=_.props&&_.props.onVnodeMounted;w&&et(w,S.parent,_)},a)},s.deactivate=_=>{const b=_.component;f(_,d,null,1,a),je(()=>{b.da&&sr(b.da);const x=_.props&&_.props.onVnodeUnmounted;x&&et(x,b.parent,_),b.isDeactivated=!0},a)};function c(_){Ws(_),u(_,n,a,!0)}function p(_){o.forEach((b,x)=>{const y=mo(b.type);y&&(!_||!_(y))&&g(x)})}function g(_){const b=o.get(_);!i||!yt(b,i)?c(b):i&&Ws(i),o.delete(_),r.delete(_)}xt(()=>[e.include,e.exclude],([_,b])=>{_&&p(x=>tr(_,x)),b&&p(x=>!tr(b,x))},{flush:"post",deep:!0});let v=null;const m=()=>{v!=null&&o.set(v,Ks(n.subTree))};return ht(m),Kc(m),Tr(()=>{o.forEach(_=>{const{subTree:b,suspense:x}=n,y=Ks(b);if(_.type===y.type&&_.key===y.key){Ws(y);const E=y.component.da;E&&je(E,x);return}c(_)})}),()=>{if(v=null,!t.default)return null;const _=t.default(),b=_[0];if(_.length>1)return i=null,_;if(!Dn(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let x=Ks(b);const y=x.type,E=mo(hn(x)?x.type.__asyncResolved||{}:y),{include:S,exclude:w,max:T}=e;if(S&&(!E||!tr(S,E))||w&&E&&tr(w,E))return i=x,b;const L=x.key==null?y:x.key,A=o.get(L);return x.el&&(x=Ot(x),b.shapeFlag&128&&(b.ssContent=x)),v=L,A?(x.el=A.el,x.component=A.component,x.transition&&ss(x,x.transition),x.shapeFlag|=512,r.delete(L),r.add(L)):(r.add(L),T&&r.size>parseInt(T,10)&&g(r.values().next().value)),x.shapeFlag|=256,i=x,Dc(b.type)?b:x}}},ah=ih;function tr(e,t){return re(e)?e.some(n=>tr(n,t)):Oe(e)?e.split(",").includes(t):Xf(e)?e.test(t):!1}function jc(e,t){Wc(e,"a",t)}function Vc(e,t){Wc(e,"da",t)}function Wc(e,t,n=$e){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ws(t,s,n),n){let o=n.parent;for(;o&&o.parent;)bs(o.parent.vnode)&&lh(s,t,n,o),o=o.parent}}function lh(e,t,n,s){const o=ws(t,e,s,!0);_i(()=>{ni(s[t],o)},n)}function Ws(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ks(e){return e.shapeFlag&128?e.ssContent:e}function ws(e,t,n=$e,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Wn(),Fn(n);const a=ft(t,n,e,i);return gn(),Kn(),a});return s?o.unshift(r):o.push(r),r}}const Nt=e=>(t,n=$e)=>(!_r||e==="sp")&&ws(e,(...s)=>t(...s),n),ch=Nt("bm"),ht=Nt("m"),uh=Nt("bu"),Kc=Nt("u"),Tr=Nt("bum"),_i=Nt("um"),fh=Nt("sp"),dh=Nt("rtg"),hh=Nt("rtc");function Gc(e,t=$e){ws("ec",e,t)}const xi="components";function ph(e,t){return Yc(xi,e,!0,t)||e}const Xc=Symbol.for("v-ndc");function gh(e){return Oe(e)?Yc(xi,e,!1)||e:e||Xc}function Yc(e,t,n=!0,s=!1){const o=He||$e;if(o){const r=o.type;if(e===xi){const a=mo(r,!1);if(a&&(a===t||a===Lt(t)||a===_s(Lt(t))))return r}const i=aa(o[e]||r[e],t)||aa(o.appContext[e],t);return!i&&s?r:i}}function aa(e,t){return e&&(e[t]||e[Lt(t)]||e[_s(Lt(t))])}function OE(e,t,n,s){let o;const r=n&&n[s];if(re(e)||Oe(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,r&&r[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,r&&r[i])}else if(Pe(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,r&&r[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const f=i[a];o[a]=t(e[f],f,a,r&&r[a])}}else o=[];return n&&(n[s]=o),o}function NE(e,t,n={},s,o){if(He.isCE||He.parent&&hn(He.parent)&&He.parent.isCE)return t!=="default"&&(n.name=t),ke("slot",n,s&&s());let r=e[t];r&&r._c&&(r._d=!1),xe();const i=r&&Jc(r(n)),a=Xe(Ge,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),r&&r._c&&(r._d=!0),a}function Jc(e){return e.some(t=>Dn(t)?!(t.type===Qe||t.type===Ge&&!Jc(t.children)):!0)?e:null}const uo=e=>e?uu(e)?Ls(e)||e.proxy:uo(e.parent):null,or=Fe(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=>uo(e.parent),$root:e=>uo(e.root),$emit:e=>e.emit,$options:e=>Ei(e),$forceUpdate:e=>e.f||(e.f=()=>pi(e.update)),$nextTick:e=>e.n||(e.n=Jt.bind(e.proxy)),$watch:e=>nh.bind(e)}),Gs=(e,t)=>e!==Le&&!e.__isScriptSetup&&de(e,t),mh={get({_:e},t){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=e;let f;if(t[0]!=="$"){const c=i[t];if(c!==void 0)switch(c){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Gs(s,t))return i[t]=1,s[t];if(o!==Le&&de(o,t))return i[t]=2,o[t];if((f=e.propsOptions[0])&&de(f,t))return i[t]=3,r[t];if(n!==Le&&de(n,t))return i[t]=4,n[t];fo&&(i[t]=0)}}const u=or[t];let h,d;if(u)return t==="$attrs"&&rt(e,"get",t),u(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==Le&&de(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,de(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Gs(o,t)?(o[t]=n,!0):s!==Le&&de(s,t)?(s[t]=n,!0):de(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||e!==Le&&de(e,i)||Gs(t,i)||(a=r[0])&&de(a,i)||de(s,i)||de(or,i)||de(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:de(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function la(e){return re(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let fo=!0;function vh(e){const t=Ei(e),n=e.proxy,s=e.ctx;fo=!1,t.beforeCreate&&ca(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:f,created:u,beforeMount:h,mounted:d,beforeUpdate:c,updated:p,activated:g,deactivated:v,beforeDestroy:m,beforeUnmount:_,destroyed:b,unmounted:x,render:y,renderTracked:E,renderTriggered:S,errorCaptured:w,serverPrefetch:T,expose:L,inheritAttrs:A,components:R,directives:k,filters:N}=t;if(f&&yh(f,s,null),i)for(const U in i){const J=i[U];ie(J)&&(s[U]=J.bind(n))}if(o){const U=o.call(n,n);Pe(U)&&(e.data=Yt(U))}if(fo=!0,r)for(const U in r){const J=r[U],se=ie(J)?J.bind(n,n):ie(J.get)?J.get.bind(n,n):_t,le=!ie(J)&&ie(J.set)?J.set.bind(n):_t,me=we({get:se,set:le});Object.defineProperty(s,U,{enumerable:!0,configurable:!0,get:()=>me.value,set:te=>me.value=te})}if(a)for(const U in a)qc(a[U],s,n,U);if(l){const U=ie(l)?l.call(n):l;Reflect.ownKeys(U).forEach(J=>{pn(J,U[J])})}u&&ca(u,e,"c");function j(U,J){re(J)?J.forEach(se=>U(se.bind(n))):J&&U(J.bind(n))}if(j(ch,h),j(ht,d),j(uh,c),j(Kc,p),j(jc,g),j(Vc,v),j(Gc,w),j(hh,E),j(dh,S),j(Tr,_),j(_i,x),j(fh,T),re(L))if(L.length){const U=e.exposed||(e.exposed={});L.forEach(J=>{Object.defineProperty(U,J,{get:()=>n[J],set:se=>n[J]=se})})}else e.exposed||(e.exposed={});y&&e.render===_t&&(e.render=y),A!=null&&(e.inheritAttrs=A),R&&(e.components=R),k&&(e.directives=k)}function yh(e,t,n=_t){re(e)&&(e=ho(e));for(const s in e){const o=e[s];let r;Pe(o)?"default"in o?r=Ve(o.from||s,o.default,!0):r=Ve(o.from||s):r=Ve(o),Te(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function ca(e,t,n){ft(re(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qc(e,t,n,s){const o=s.includes(".")?$c(n,s):()=>n[s];if(Oe(e)){const r=t[e];ie(r)&&xt(o,r)}else if(ie(e))xt(o,e.bind(n));else if(Pe(e))if(re(e))e.forEach(r=>qc(r,t,n,s));else{const r=ie(e.handler)?e.handler.bind(n):t[e.handler];ie(r)&&xt(o,r,e)}}function Ei(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!s?l=t:(l={},o.length&&o.forEach(f=>os(l,f,i,!0)),os(l,t,i)),Pe(t)&&r.set(t,l),l}function os(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&os(e,r,n,!0),o&&o.forEach(i=>os(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=_h[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const _h={data:ua,props:fa,emits:fa,methods:nr,computed:nr,beforeCreate:Je,created:Je,beforeMount:Je,mounted:Je,beforeUpdate:Je,updated:Je,beforeDestroy:Je,beforeUnmount:Je,destroyed:Je,unmounted:Je,activated:Je,deactivated:Je,errorCaptured:Je,serverPrefetch:Je,components:nr,directives:nr,watch:Eh,provide:ua,inject:xh};function ua(e,t){return t?e?function(){return Fe(ie(e)?e.call(this,this):e,ie(t)?t.call(this,this):t)}:t:e}function xh(e,t){return nr(ho(e),ho(t))}function ho(e){if(re(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Je(e,t){return e?[...new Set([].concat(e,t))]:t}function nr(e,t){return e?Fe(Object.create(null),e,t):t}function fa(e,t){return e?re(e)&&re(t)?[...new Set([...e,...t])]:Fe(Object.create(null),la(e),la(t??{})):t}function Eh(e,t){if(!e)return t;if(!t)return e;const n=Fe(Object.create(null),e);for(const s in t)n[s]=Je(e[s],t[s]);return n}function Qc(){return{app:null,config:{isNativeTag:Wf,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 Ch=0;function bh(e,t){return function(s,o=null){ie(s)||(s=Fe({},s)),o!=null&&!Pe(o)&&(o=null);const r=Qc(),i=new Set;let a=!1;const l=r.app={_uid:Ch++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:du,get config(){return r.config},set config(f){},use(f,...u){return i.has(f)||(f&&ie(f.install)?(i.add(f),f.install(l,...u)):ie(f)&&(i.add(f),f(l,...u))),l},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),l},component(f,u){return u?(r.components[f]=u,l):r.components[f]},directive(f,u){return u?(r.directives[f]=u,l):r.directives[f]},mount(f,u,h){if(!a){const d=ke(s,o);return d.appContext=r,u&&t?t(d,f):e(d,f,h),a=!0,l._container=f,f.__vue_app__=l,Ls(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,u){return r.provides[f]=u,l},runWithContext(f){yr=l;try{return f()}finally{yr=null}}};return l}}let yr=null;function pn(e,t){if($e){let n=$e.provides;const s=$e.parent&&$e.parent.provides;s===n&&(n=$e.provides=Object.create(s)),n[e]=t}}function Ve(e,t,n=!1){const s=$e||He;if(s||yr){const o=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:yr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ie(t)?t.call(s&&s.proxy):t}}function zc(){return!!($e||He||yr)}function wh(e,t,n,s=!1){const o={},r={};Zr(r,Ss,1),e.propsDefaults=Object.create(null),Zc(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Pr(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Sh(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,a=pe(o),[l]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let h=0;h<u.length;h++){let d=u[h];if(Cs(e.emitsOptions,d))continue;const c=t[d];if(l)if(de(r,d))c!==r[d]&&(r[d]=c,f=!0);else{const p=Lt(d);o[p]=po(l,a,p,c,e,!1)}else c!==r[d]&&(r[d]=c,f=!0)}}}else{Zc(e,t,o,r)&&(f=!0);let u;for(const h in a)(!t||!de(t,h)&&((u=Vn(h))===h||!de(t,u)))&&(l?n&&(n[h]!==void 0||n[u]!==void 0)&&(o[h]=po(l,a,h,void 0,e,!0)):delete o[h]);if(r!==a)for(const h in r)(!t||!de(t,h))&&(delete r[h],f=!0)}f&&At(e,"set","$attrs")}function Zc(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(rr(l))continue;const f=t[l];let u;o&&de(o,u=Lt(l))?!r||!r.includes(u)?n[u]=f:(a||(a={}))[u]=f:Cs(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,i=!0)}if(r){const l=pe(n),f=a||Le;for(let u=0;u<r.length;u++){const h=r[u];n[h]=po(o,l,h,f[h],e,!de(f,h))}}return i}function po(e,t,n,s,o,r){const i=e[n];if(i!=null){const a=de(i,"default");if(a&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ie(l)){const{propsDefaults:f}=o;n in f?s=f[n]:(Fn(o),s=f[n]=l.call(null,t),gn())}else s=l}i[0]&&(r&&!a?s=!1:i[1]&&(s===""||s===Vn(n))&&(s=!0))}return s}function eu(e,t,n=!1){const s=t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},a=[];let l=!1;if(!ie(e)){const u=h=>{l=!0;const[d,c]=eu(h,t,!0);Fe(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 Pe(e)&&s.set(e,kn),kn;if(re(r))for(let u=0;u<r.length;u++){const h=Lt(r[u]);da(h)&&(i[h]=Le)}else if(r)for(const u in r){const h=Lt(u);if(da(h)){const d=r[u],c=i[h]=re(d)||ie(d)?{type:d}:Fe({},d);if(c){const p=ga(Boolean,c.type),g=ga(String,c.type);c[0]=p>-1,c[1]=g<0||p<g,(p>-1||de(c,"default"))&&a.push(h)}}}const f=[i,a];return Pe(e)&&s.set(e,f),f}function da(e){return e[0]!=="$"}function ha(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function pa(e,t){return ha(e)===ha(t)}function ga(e,t){return re(t)?t.findIndex(n=>pa(n,e)):ie(t)&&pa(t,e)?0:-1}const tu=e=>e[0]==="_"||e==="$stable",Ci=e=>re(e)?e.map(ct):[ct(e)],Ph=(e,t,n)=>{if(t._n)return t;const s=qt((...o)=>Ci(t(...o)),n);return s._c=!1,s},nu=(e,t,n)=>{const s=e._ctx;for(const o in e){if(tu(o))continue;const r=e[o];if(ie(r))t[o]=Ph(o,r,s);else if(r!=null){const i=Ci(r);t[o]=()=>i}}},ru=(e,t)=>{const n=Ci(t);e.slots.default=()=>n},Lh=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=pe(t),Zr(t,"_",n)):nu(t,e.slots={})}else e.slots={},t&&ru(e,t);Zr(e.slots,Ss,1)},Th=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=Le;if(s.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Fe(o,t),!n&&a===1&&delete o._):(r=!t.$stable,nu(t,o)),i=t}else t&&(ru(e,t),i={default:1});if(r)for(const a in o)!tu(a)&&!(a in i)&&delete o[a]};function is(e,t,n,s,o=!1){if(re(e)){e.forEach((d,c)=>is(d,t&&(re(t)?t[c]:t),n,s,o));return}if(hn(s)&&!o)return;const r=s.shapeFlag&4?Ls(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=e,f=t&&t.r,u=a.refs===Le?a.refs={}:a.refs,h=a.setupState;if(f!=null&&f!==l&&(Oe(f)?(u[f]=null,de(h,f)&&(h[f]=null)):Te(f)&&(f.value=null)),ie(l))Gt(l,a,12,[i,u]);else{const d=Oe(l),c=Te(l);if(d||c){const p=()=>{if(e.f){const g=d?de(h,l)?h[l]:u[l]:l.value;o?re(g)&&ni(g,r):re(g)?g.includes(r)||g.push(r):d?(u[l]=[r],de(h,l)&&(h[l]=u[l])):(l.value=[r],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,de(h,l)&&(h[l]=i)):c&&(l.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,je(p,n)):p()}}}let Ft=!1;const Ur=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",jr=e=>e.nodeType===8;function Rh(e){const{mt:t,p:n,o:{patchProp:s,createText:o,nextSibling:r,parentNode:i,remove:a,insert:l,createComment:f}}=e,u=(m,_)=>{if(!_.hasChildNodes()){n(null,m,_),ns(),_._vnode=m;return}Ft=!1,h(_.firstChild,m,null,null,null),ns(),_._vnode=m,Ft&&console.error("Hydration completed but contains mismatches.")},h=(m,_,b,x,y,E=!1)=>{const S=jr(m)&&m.data==="[",w=()=>g(m,_,b,x,y,S),{type:T,ref:L,shapeFlag:A,patchFlag:R}=_;let k=m.nodeType;_.el=m,R===-2&&(E=!1,_.dynamicChildren=null);let N=null;switch(T){case yn:k!==3?_.children===""?(l(_.el=o(""),i(m),m),N=m):N=w():(m.data!==_.children&&(Ft=!0,m.data=_.children),N=r(m));break;case Qe:k!==8||S?N=w():N=r(m);break;case Jr:if(S&&(m=r(m),k=m.nodeType),k===1||k===3){N=m;const B=!_.children.length;for(let j=0;j<_.staticCount;j++)B&&(_.children+=N.nodeType===1?N.outerHTML:N.data),j===_.staticCount-1&&(_.anchor=N),N=r(N);return S?r(N):N}else w();break;case Ge:S?N=p(m,_,b,x,y,E):N=w();break;default:if(A&1)k!==1||_.type.toLowerCase()!==m.tagName.toLowerCase()?N=w():N=d(m,_,b,x,y,E);else if(A&6){_.slotScopeIds=y;const B=i(m);if(t(_,B,null,b,x,Ur(B),E),N=S?v(m):r(m),N&&jr(N)&&N.data==="teleport end"&&(N=r(N)),hn(_)){let j;S?(j=ke(Ge),j.anchor=N?N.previousSibling:B.lastChild):j=m.nodeType===3?Ps(""):ke("div"),j.el=m,_.component.subTree=j}}else A&64?k!==8?N=w():N=_.type.hydrate(m,_,b,x,y,E,e,c):A&128&&(N=_.type.hydrate(m,_,b,x,Ur(i(m)),y,E,e,h))}return L!=null&&is(L,null,x,_),N},d=(m,_,b,x,y,E)=>{E=E||!!_.dynamicChildren;const{type:S,props:w,patchFlag:T,shapeFlag:L,dirs:A}=_,R=S==="input"&&A||S==="option";if(R||T!==-1){if(A&&St(_,null,b,"created"),w)if(R||!E||T&48)for(const N in w)(R&&N.endsWith("value")||wr(N)&&!rr(N))&&s(m,N,null,w[N],!1,void 0,b);else w.onClick&&s(m,"onClick",null,w.onClick,!1,void 0,b);let k;if((k=w&&w.onVnodeBeforeMount)&&et(k,b,_),A&&St(_,null,b,"beforeMount"),((k=w&&w.onVnodeMounted)||A)&&Fc(()=>{k&&et(k,b,_),A&&St(_,null,b,"mounted")},x),L&16&&!(w&&(w.innerHTML||w.textContent))){let N=c(m.firstChild,_,m,b,x,y,E);for(;N;){Ft=!0;const B=N;N=N.nextSibling,a(B)}}else L&8&&m.textContent!==_.children&&(Ft=!0,m.textContent=_.children)}return m.nextSibling},c=(m,_,b,x,y,E,S)=>{S=S||!!_.dynamicChildren;const w=_.children,T=w.length;for(let L=0;L<T;L++){const A=S?w[L]:w[L]=ct(w[L]);if(m)m=h(m,A,x,y,E,S);else{if(A.type===yn&&!A.children)continue;Ft=!0,n(null,A,b,null,x,y,Ur(b),E)}}return m},p=(m,_,b,x,y,E)=>{const{slotScopeIds:S}=_;S&&(y=y?y.concat(S):S);const w=i(m),T=c(r(m),_,w,b,x,y,E);return T&&jr(T)&&T.data==="]"?r(_.anchor=T):(Ft=!0,l(_.anchor=f("]"),w,T),T)},g=(m,_,b,x,y,E)=>{if(Ft=!0,_.el=null,E){const T=v(m);for(;;){const L=r(m);if(L&&L!==T)a(L);else break}}const S=r(m),w=i(m);return a(m),n(null,_,w,S,b,x,Ur(w),y),S},v=m=>{let _=0;for(;m;)if(m=r(m),m&&jr(m)&&(m.data==="["&&_++,m.data==="]")){if(_===0)return r(m);_--}return m};return[u,h]}const je=Fc;function kh(e){return su(e)}function Ih(e){return su(e,Rh)}function su(e,t){const n=so();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:f,setElementText:u,parentNode:h,nextSibling:d,setScopeId:c=_t,insertStaticContent:p}=e,g=(I,C,P,O=null,M=null,F=null,V=!1,K=null,G=!!C.dynamicChildren)=>{if(I===C)return;I&&!yt(I,C)&&(O=H(I),te(I,M,F,!0),I=null),C.patchFlag===-2&&(G=!1,C.dynamicChildren=null);const{type:W,ref:q,shapeFlag:D}=C;switch(W){case yn:v(I,C,P,O);break;case Qe:m(I,C,P,O);break;case Jr:I==null&&_(C,P,O,V);break;case Ge:R(I,C,P,O,M,F,V,K,G);break;default:D&1?y(I,C,P,O,M,F,V,K,G):D&6?k(I,C,P,O,M,F,V,K,G):(D&64||D&128)&&W.process(I,C,P,O,M,F,V,K,G,Y)}q!=null&&M&&is(q,I&&I.ref,F,C||I,!C)},v=(I,C,P,O)=>{if(I==null)s(C.el=a(C.children),P,O);else{const M=C.el=I.el;C.children!==I.children&&f(M,C.children)}},m=(I,C,P,O)=>{I==null?s(C.el=l(C.children||""),P,O):C.el=I.el},_=(I,C,P,O)=>{[I.el,I.anchor]=p(I.children,C,P,O,I.el,I.anchor)},b=({el:I,anchor:C},P,O)=>{let M;for(;I&&I!==C;)M=d(I),s(I,P,O),I=M;s(C,P,O)},x=({el:I,anchor:C})=>{let P;for(;I&&I!==C;)P=d(I),o(I),I=P;o(C)},y=(I,C,P,O,M,F,V,K,G)=>{V=V||C.type==="svg",I==null?E(C,P,O,M,F,V,K,G):T(I,C,M,F,V,K,G)},E=(I,C,P,O,M,F,V,K)=>{let G,W;const{type:q,props:D,shapeFlag:$,transition:Z,dirs:ee}=I;if(G=I.el=i(I.type,F,D&&D.is,D),$&8?u(G,I.children):$&16&&w(I.children,G,null,O,M,F&&q!=="foreignObject",V,K),ee&&St(I,null,O,"created"),S(G,I,I.scopeId,V,O),D){for(const fe in D)fe!=="value"&&!rr(fe)&&r(G,fe,null,D[fe],F,I.children,O,M,ae);"value"in D&&r(G,"value",null,D.value),(W=D.onVnodeBeforeMount)&&et(W,O,I)}ee&&St(I,null,O,"beforeMount");const _e=(!M||M&&!M.pendingBranch)&&Z&&!Z.persisted;_e&&Z.beforeEnter(G),s(G,C,P),((W=D&&D.onVnodeMounted)||_e||ee)&&je(()=>{W&&et(W,O,I),_e&&Z.enter(G),ee&&St(I,null,O,"mounted")},M)},S=(I,C,P,O,M)=>{if(P&&c(I,P),O)for(let F=0;F<O.length;F++)c(I,O[F]);if(M){let F=M.subTree;if(C===F){const V=M.vnode;S(I,V,V.scopeId,V.slotScopeIds,M.parent)}}},w=(I,C,P,O,M,F,V,K,G=0)=>{for(let W=G;W<I.length;W++){const q=I[W]=K?Vt(I[W]):ct(I[W]);g(null,q,C,P,O,M,F,V,K)}},T=(I,C,P,O,M,F,V)=>{const K=C.el=I.el;let{patchFlag:G,dynamicChildren:W,dirs:q}=C;G|=I.patchFlag&16;const D=I.props||Le,$=C.props||Le;let Z;P&&en(P,!1),(Z=$.onVnodeBeforeUpdate)&&et(Z,P,C,I),q&&St(C,I,P,"beforeUpdate"),P&&en(P,!0);const ee=M&&C.type!=="foreignObject";if(W?L(I.dynamicChildren,W,K,P,O,ee,F):V||J(I,C,K,null,P,O,ee,F,!1),G>0){if(G&16)A(K,C,D,$,P,O,M);else if(G&2&&D.class!==$.class&&r(K,"class",null,$.class,M),G&4&&r(K,"style",D.style,$.style,M),G&8){const _e=C.dynamicProps;for(let fe=0;fe<_e.length;fe++){const Se=_e[fe],st=D[Se],Zt=$[Se];(Zt!==st||Se==="value")&&r(K,Se,st,Zt,M,I.children,P,O,ae)}}G&1&&I.children!==C.children&&u(K,C.children)}else!V&&W==null&&A(K,C,D,$,P,O,M);((Z=$.onVnodeUpdated)||q)&&je(()=>{Z&&et(Z,P,C,I),q&&St(C,I,P,"updated")},O)},L=(I,C,P,O,M,F,V)=>{for(let K=0;K<C.length;K++){const G=I[K],W=C[K],q=G.el&&(G.type===Ge||!yt(G,W)||G.shapeFlag&70)?h(G.el):P;g(G,W,q,null,O,M,F,V,!0)}},A=(I,C,P,O,M,F,V)=>{if(P!==O){if(P!==Le)for(const K in P)!rr(K)&&!(K in O)&&r(I,K,P[K],null,V,C.children,M,F,ae);for(const K in O){if(rr(K))continue;const G=O[K],W=P[K];G!==W&&K!=="value"&&r(I,K,W,G,V,C.children,M,F,ae)}"value"in O&&r(I,"value",P.value,O.value)}},R=(I,C,P,O,M,F,V,K,G)=>{const W=C.el=I?I.el:a(""),q=C.anchor=I?I.anchor:a("");let{patchFlag:D,dynamicChildren:$,slotScopeIds:Z}=C;Z&&(K=K?K.concat(Z):Z),I==null?(s(W,P,O),s(q,P,O),w(C.children,P,q,M,F,V,K,G)):D>0&&D&64&&$&&I.dynamicChildren?(L(I.dynamicChildren,$,P,M,F,V,K),(C.key!=null||M&&C===M.subTree)&&ou(I,C,!0)):J(I,C,P,q,M,F,V,K,G)},k=(I,C,P,O,M,F,V,K,G)=>{C.slotScopeIds=K,I==null?C.shapeFlag&512?M.ctx.activate(C,P,O,V,G):N(C,P,O,M,F,V,G):B(I,C,G)},N=(I,C,P,O,M,F,V)=>{const K=I.component=$h(I,O,M);if(bs(I)&&(K.ctx.renderer=Y),Bh(K),K.asyncDep){if(M&&M.registerDep(K,j),!I.el){const G=K.subTree=ke(Qe);m(null,G,C,P)}return}j(K,I,C,P,M,F,V)},B=(I,C,P)=>{const O=C.component=I.component;if(Yd(I,C,P))if(O.asyncDep&&!O.asyncResolved){U(O,C,P);return}else O.next=C,jd(O.update),O.update();else C.el=I.el,O.vnode=C},j=(I,C,P,O,M,F,V)=>{const K=()=>{if(I.isMounted){let{next:q,bu:D,u:$,parent:Z,vnode:ee}=I,_e=q,fe;en(I,!1),q?(q.el=ee.el,U(I,q,V)):q=ee,D&&sr(D),(fe=q.props&&q.props.onVnodeBeforeUpdate)&&et(fe,Z,q,ee),en(I,!0);const Se=js(I),st=I.subTree;I.subTree=Se,g(st,Se,h(st.el),H(st),I,M,F),q.el=Se.el,_e===null&&gi(I,Se.el),$&&je($,M),(fe=q.props&&q.props.onVnodeUpdated)&&je(()=>et(fe,Z,q,ee),M)}else{let q;const{el:D,props:$}=C,{bm:Z,m:ee,parent:_e}=I,fe=hn(C);if(en(I,!1),Z&&sr(Z),!fe&&(q=$&&$.onVnodeBeforeMount)&&et(q,_e,C),en(I,!0),D&&ce){const Se=()=>{I.subTree=js(I),ce(D,I.subTree,I,M,null)};fe?C.type.__asyncLoader().then(()=>!I.isUnmounted&&Se()):Se()}else{const Se=I.subTree=js(I);g(null,Se,P,O,I,M,F),C.el=Se.el}if(ee&&je(ee,M),!fe&&(q=$&&$.onVnodeMounted)){const Se=C;je(()=>et(q,_e,Se),M)}(C.shapeFlag&256||_e&&hn(_e.vnode)&&_e.vnode.shapeFlag&256)&&I.a&&je(I.a,M),I.isMounted=!0,C=P=O=null}},G=I.effect=new ai(K,()=>pi(W),I.scope),W=I.update=()=>G.run();W.id=I.uid,en(I,!0),W()},U=(I,C,P)=>{C.component=I;const O=I.vnode.props;I.vnode=C,I.next=null,Sh(I,C.props,O,P),Th(I,C.children,P),Wn(),ra(),Kn()},J=(I,C,P,O,M,F,V,K,G=!1)=>{const W=I&&I.children,q=I?I.shapeFlag:0,D=C.children,{patchFlag:$,shapeFlag:Z}=C;if($>0){if($&128){le(W,D,P,O,M,F,V,K,G);return}else if($&256){se(W,D,P,O,M,F,V,K,G);return}}Z&8?(q&16&&ae(W,M,F),D!==W&&u(P,D)):q&16?Z&16?le(W,D,P,O,M,F,V,K,G):ae(W,M,F,!0):(q&8&&u(P,""),Z&16&&w(D,P,O,M,F,V,K,G))},se=(I,C,P,O,M,F,V,K,G)=>{I=I||kn,C=C||kn;const W=I.length,q=C.length,D=Math.min(W,q);let $;for($=0;$<D;$++){const Z=C[$]=G?Vt(C[$]):ct(C[$]);g(I[$],Z,P,null,M,F,V,K,G)}W>q?ae(I,M,F,!0,!1,D):w(C,P,O,M,F,V,K,G,D)},le=(I,C,P,O,M,F,V,K,G)=>{let W=0;const q=C.length;let D=I.length-1,$=q-1;for(;W<=D&&W<=$;){const Z=I[W],ee=C[W]=G?Vt(C[W]):ct(C[W]);if(yt(Z,ee))g(Z,ee,P,null,M,F,V,K,G);else break;W++}for(;W<=D&&W<=$;){const Z=I[D],ee=C[$]=G?Vt(C[$]):ct(C[$]);if(yt(Z,ee))g(Z,ee,P,null,M,F,V,K,G);else break;D--,$--}if(W>D){if(W<=$){const Z=$+1,ee=Z<q?C[Z].el:O;for(;W<=$;)g(null,C[W]=G?Vt(C[W]):ct(C[W]),P,ee,M,F,V,K,G),W++}}else if(W>$)for(;W<=D;)te(I[W],M,F,!0),W++;else{const Z=W,ee=W,_e=new Map;for(W=ee;W<=$;W++){const ot=C[W]=G?Vt(C[W]):ct(C[W]);ot.key!=null&&_e.set(ot.key,W)}let fe,Se=0;const st=$-ee+1;let Zt=!1,Gi=0;const Jn=new Array(st);for(W=0;W<st;W++)Jn[W]=0;for(W=Z;W<=D;W++){const ot=I[W];if(Se>=st){te(ot,M,F,!0);continue}let Ct;if(ot.key!=null)Ct=_e.get(ot.key);else for(fe=ee;fe<=$;fe++)if(Jn[fe-ee]===0&&yt(ot,C[fe])){Ct=fe;break}Ct===void 0?te(ot,M,F,!0):(Jn[Ct-ee]=W+1,Ct>=Gi?Gi=Ct:Zt=!0,g(ot,C[Ct],P,null,M,F,V,K,G),Se++)}const Xi=Zt?Ah(Jn):kn;for(fe=Xi.length-1,W=st-1;W>=0;W--){const ot=ee+W,Ct=C[ot],Yi=ot+1<q?C[ot+1].el:O;Jn[W]===0?g(null,Ct,P,Yi,M,F,V,K,G):Zt&&(fe<0||W!==Xi[fe]?me(Ct,P,Yi,2):fe--)}}},me=(I,C,P,O,M=null)=>{const{el:F,type:V,transition:K,children:G,shapeFlag:W}=I;if(W&6){me(I.component.subTree,C,P,O);return}if(W&128){I.suspense.move(C,P,O);return}if(W&64){V.move(I,C,P,Y);return}if(V===Ge){s(F,C,P);for(let D=0;D<G.length;D++)me(G[D],C,P,O);s(I.anchor,C,P);return}if(V===Jr){b(I,C,P);return}if(O!==2&&W&1&&K)if(O===0)K.beforeEnter(F),s(F,C,P),je(()=>K.enter(F),M);else{const{leave:D,delayLeave:$,afterLeave:Z}=K,ee=()=>s(F,C,P),_e=()=>{D(F,()=>{ee(),Z&&Z()})};$?$(F,ee,_e):_e()}else s(F,C,P)},te=(I,C,P,O=!1,M=!1)=>{const{type:F,props:V,ref:K,children:G,dynamicChildren:W,shapeFlag:q,patchFlag:D,dirs:$}=I;if(K!=null&&is(K,null,P,I,!0),q&256){C.ctx.deactivate(I);return}const Z=q&1&&$,ee=!hn(I);let _e;if(ee&&(_e=V&&V.onVnodeBeforeUnmount)&&et(_e,C,I),q&6)Me(I.component,P,O);else{if(q&128){I.suspense.unmount(P,O);return}Z&&St(I,null,C,"beforeUnmount"),q&64?I.type.remove(I,C,P,M,Y,O):W&&(F!==Ge||D>0&&D&64)?ae(W,C,P,!1,!0):(F===Ge&&D&384||!M&&q&16)&&ae(G,C,P),O&&Ee(I)}(ee&&(_e=V&&V.onVnodeUnmounted)||Z)&&je(()=>{_e&&et(_e,C,I),Z&&St(I,null,C,"unmounted")},P)},Ee=I=>{const{type:C,el:P,anchor:O,transition:M}=I;if(C===Ge){ye(P,O);return}if(C===Jr){x(I);return}const F=()=>{o(P),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(I.shapeFlag&1&&M&&!M.persisted){const{leave:V,delayLeave:K}=M,G=()=>V(P,F);K?K(I.el,F,G):G()}else F()},ye=(I,C)=>{let P;for(;I!==C;)P=d(I),o(I),I=P;o(C)},Me=(I,C,P)=>{const{bum:O,scope:M,update:F,subTree:V,um:K}=I;O&&sr(O),M.stop(),F&&(F.active=!1,te(V,I,C,P)),K&&je(K,C),je(()=>{I.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&I.asyncDep&&!I.asyncResolved&&I.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},ae=(I,C,P,O=!1,M=!1,F=0)=>{for(let V=F;V<I.length;V++)te(I[V],C,P,O,M)},H=I=>I.shapeFlag&6?H(I.component.subTree):I.shapeFlag&128?I.suspense.next():d(I.anchor||I.el),X=(I,C,P)=>{I==null?C._vnode&&te(C._vnode,null,null,!0):g(C._vnode||null,I,C,null,null,null,P),ra(),ns(),C._vnode=I},Y={p:g,um:te,m:me,r:Ee,mt:N,mc:w,pc:J,pbc:L,n:H,o:e};let z,ce;return t&&([z,ce]=t(Y)),{render:X,hydrate:z,createApp:bh(X,z)}}function en({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ou(e,t,n=!1){const s=e.children,o=t.children;if(re(s)&&re(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]=Vt(o[r]),a.el=i.el),n||ou(i,a)),a.type===yn&&(a.el=i.el)}}function Ah(e){const t=e.slice(),n=[0];let s,o,r,i,a;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(o=n[n.length-1],e[o]<f){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)a=r+i>>1,e[n[a]]<f?r=a+1:i=a;f<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}const Oh=e=>e.__isTeleport,Ge=Symbol.for("v-fgt"),yn=Symbol.for("v-txt"),Qe=Symbol.for("v-cmt"),Jr=Symbol.for("v-stc"),ir=[];let ut=null;function xe(e=!1){ir.push(ut=e?null:[])}function iu(){ir.pop(),ut=ir[ir.length-1]||null}let Mn=1;function ma(e){Mn+=e}function au(e){return e.dynamicChildren=Mn>0?ut||kn:null,iu(),Mn>0&&ut&&ut.push(e),e}function nt(e,t,n,s,o,r){return au(ne(e,t,n,s,o,r,!0))}function Xe(e,t,n,s,o){return au(ke(e,t,n,s,o,!0))}function Dn(e){return e?e.__v_isVNode===!0:!1}function yt(e,t){return e.type===t.type&&e.key===t.key}const Ss="__vInternal",lu=({key:e})=>e??null,qr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Te(e)||ie(e)?{i:He,r:e,k:t,f:!!n}:e:null);function ne(e,t=null,n=null,s=0,o=null,r=e===Ge?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&lu(t),ref:t&&qr(t),scopeId:Mc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:He};return a?(bi(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Oe(n)?8:16),Mn>0&&!i&&ut&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&ut.push(l),l}const ke=Nh;function Nh(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===Xc)&&(e=Qe),Dn(e)){const a=Ot(e,t,!0);return n&&bi(a,n),Mn>0&&!r&&ut&&(a.shapeFlag&6?ut[ut.indexOf(e)]=a:ut.push(a)),a.patchFlag|=-2,a}if(Vh(e)&&(e=e.__vccOpts),t){t=Mh(t);let{class:a,style:l}=t;a&&!Oe(a)&&(t.class=xs(a)),Pe(l)&&(bc(l)&&!re(l)&&(l=Fe({},l)),t.style=oi(l))}const i=Oe(e)?1:Dc(e)?128:Oh(e)?64:Pe(e)?4:ie(e)?2:0;return ne(e,t,n,s,o,i,r,!0)}function Mh(e){return e?bc(e)||Ss in e?Fe({},e):e:null}function Ot(e,t,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=e,a=t?cu(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&lu(a),ref:t&&t.ref?n&&o?re(o)?o.concat(qr(t)):[o,qr(t)]:qr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ot(e.ssContent),ssFallback:e.ssFallback&&Ot(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ps(e=" ",t=0){return ke(yn,null,e,t)}function tt(e="",t=!1){return t?(xe(),Xe(Qe,null,e)):ke(Qe,null,e)}function ct(e){return e==null||typeof e=="boolean"?ke(Qe):re(e)?ke(Ge,null,e.slice()):typeof e=="object"?Vt(e):ke(yn,null,String(e))}function Vt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ot(e)}function bi(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(re(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),bi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ss in t)?t._ctx=He:o===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ie(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[Ps(t)]):n=8);e.children=t,e.shapeFlag|=n}function cu(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=xs([t.class,s.class]));else if(o==="style")t.style=oi([t.style,s.style]);else if(wr(o)){const r=t[o],i=s[o];i&&r!==i&&!(re(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function et(e,t,n,s=null){ft(e,t,7,[n,s])}const Dh=Qc();let Fh=0;function $h(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Dh,r={uid:Fh++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new uc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:eu(s,o),emitsOptions:Nc(s,o),emit:null,emitted:null,propsDefaults:Le,inheritAttrs:s.inheritAttrs,ctx:Le,data:Le,props:Le,attrs:Le,slots:Le,refs:Le,setupState:Le,setupContext:null,attrsProxy:null,slotsProxy: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=Wd.bind(null,r),e.ce&&e.ce(r),r}let $e=null;const xn=()=>$e||He;let wi,wn,va="__VUE_INSTANCE_SETTERS__";(wn=so()[va])||(wn=so()[va]=[]),wn.push(e=>$e=e),wi=e=>{wn.length>1?wn.forEach(t=>t(e)):wn[0](e)};const Fn=e=>{wi(e),e.scope.on()},gn=()=>{$e&&$e.scope.off(),wi(null)};function uu(e){return e.vnode.shapeFlag&4}let _r=!1;function Bh(e,t=!1){_r=t;const{props:n,children:s}=e.vnode,o=uu(e);wh(e,n,o,t),Lh(e,s);const r=o?Hh(e,t):void 0;return _r=!1,r}function Hh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=wc(new Proxy(e.ctx,mh));const{setup:s}=n;if(s){const o=e.setupContext=s.length>1?jh(e):null;Fn(e),Wn();const r=Gt(s,e,0,[e.props,o]);if(Kn(),gn(),sc(r)){if(r.then(gn,gn),t)return r.then(i=>{go(e,i,t)}).catch(i=>{Lr(i,e,0)});e.asyncDep=r}else go(e,r,t)}else fu(e,t)}function go(e,t,n){ie(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Pe(t)&&(e.setupState=Tc(t)),fu(e,n)}let ya;function fu(e,t,n){const s=e.type;if(!e.render){if(!t&&ya&&!s.render){const o=s.template||Ei(e).template;if(o){const{isCustomElement:r,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=s,f=Fe(Fe({isCustomElement:r,delimiters:a},i),l);s.render=ya(o,f)}}e.render=s.render||_t}Fn(e),Wn(),vh(e),Kn(),gn()}function Uh(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return rt(e,"get","$attrs"),t[n]}}))}function jh(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Uh(e)},slots:e.slots,emit:e.emit,expose:t}}function Ls(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Tc(wc(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in or)return or[n](e)},has(t,n){return n in t||n in or}}))}function mo(e,t=!0){return ie(e)?e.displayName||e.name:e.name||t&&e.__name}function Vh(e){return ie(e)&&"__vccOpts"in e}const we=(e,t)=>Bd(e,t,_r);function We(e,t,n){const s=arguments.length;return s===2?Pe(t)&&!re(t)?Dn(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Dn(n)&&(n=[n]),ke(e,t,n))}const Wh=Symbol.for("v-scx"),Kh=()=>Ve(Wh),du="3.3.4",Gh="http://www.w3.org/2000/svg",ln=typeof document<"u"?document:null,_a=ln&&ln.createElement("template"),Xh={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?ln.createElementNS(Gh,e):ln.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>ln.createTextNode(e),createComment:e=>ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ln.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{_a.innerHTML=s?`<svg>${e}</svg>`:e;const a=_a.content;if(s){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]}};function Yh(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Jh(e,t,n){const s=e.style,o=Oe(n);if(n&&!o){if(t&&!Oe(t))for(const r in t)n[r]==null&&vo(s,r,"");for(const r in n)vo(s,r,n[r])}else{const r=s.display;o?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=r)}}const xa=/\s*!important$/;function vo(e,t,n){if(re(n))n.forEach(s=>vo(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=qh(e,t);xa.test(n)?e.setProperty(Vn(s),n.replace(xa,""),"important"):e[s]=n}}const Ea=["Webkit","Moz","ms"],Xs={};function qh(e,t){const n=Xs[t];if(n)return n;let s=Lt(t);if(s!=="filter"&&s in e)return Xs[t]=s;s=_s(s);for(let o=0;o<Ea.length;o++){const r=Ea[o]+s;if(r in e)return Xs[t]=r}return t}const Ca="http://www.w3.org/1999/xlink";function Qh(e,t,n,s,o){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Ca,t.slice(6,t.length)):e.setAttributeNS(Ca,t,n);else{const r=rd(t);n==null||r&&!lc(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n)}}function zh(e,t,n,s,o,r,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,o,r),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const f=a==="OPTION"?e.getAttribute("value"):e.value,u=n??"";f!==u&&(e.value=u),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=lc(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Zh(e,t,n,s){e.addEventListener(t,n,s)}function ep(e,t,n,s){e.removeEventListener(t,n,s)}function tp(e,t,n,s,o=null){const r=e._vei||(e._vei={}),i=r[t];if(s&&i)i.value=s;else{const[a,l]=np(t);if(s){const f=r[t]=op(s,o);Zh(e,a,f,l)}else i&&(ep(e,a,i,l),r[t]=void 0)}}const ba=/(?:Once|Passive|Capture)$/;function np(e){let t;if(ba.test(e)){t={};let s;for(;s=e.match(ba);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Vn(e.slice(2)),t]}let Ys=0;const rp=Promise.resolve(),sp=()=>Ys||(rp.then(()=>Ys=0),Ys=Date.now());function op(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ft(ip(s,n.value),t,5,[s])};return n.value=e,n.attached=sp(),n}function ip(e,t){if(re(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 wa=/^on[a-z]/,ap=(e,t,n,s,o=!1,r,i,a,l)=>{t==="class"?Yh(e,s,o):t==="style"?Jh(e,n,s):wr(t)?ti(t)||tp(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lp(e,t,s,o))?zh(e,t,s,r,i,a,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Qh(e,t,s,o))};function lp(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&wa.test(t)&&ie(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||wa.test(t)&&Oe(n)?!1:t in e}const $t="transition",qn="animation",Ts=(e,{slots:t})=>We(oh,cp(e),t);Ts.displayName="Transition";const hu={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};Ts.props=Fe({},Bc,hu);const tn=(e,t=[])=>{re(e)?e.forEach(n=>n(...t)):e&&e(...t)},Sa=e=>e?re(e)?e.some(t=>t.length>1):e.length>1:!1;function cp(e){const t={};for(const R in e)R in hu||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:f=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:c=`${n}-leave-to`}=e,p=up(o),g=p&&p[0],v=p&&p[1],{onBeforeEnter:m,onEnter:_,onEnterCancelled:b,onLeave:x,onLeaveCancelled:y,onBeforeAppear:E=m,onAppear:S=_,onAppearCancelled:w=b}=t,T=(R,k,N)=>{nn(R,k?u:a),nn(R,k?f:i),N&&N()},L=(R,k)=>{R._isLeaving=!1,nn(R,h),nn(R,c),nn(R,d),k&&k()},A=R=>(k,N)=>{const B=R?S:_,j=()=>T(k,R,N);tn(B,[k,j]),Pa(()=>{nn(k,R?l:r),Bt(k,R?u:a),Sa(B)||La(k,s,g,j)})};return Fe(t,{onBeforeEnter(R){tn(m,[R]),Bt(R,r),Bt(R,i)},onBeforeAppear(R){tn(E,[R]),Bt(R,l),Bt(R,f)},onEnter:A(!1),onAppear:A(!0),onLeave(R,k){R._isLeaving=!0;const N=()=>L(R,k);Bt(R,h),hp(),Bt(R,d),Pa(()=>{R._isLeaving&&(nn(R,h),Bt(R,c),Sa(x)||La(R,s,v,N))}),tn(x,[R,N])},onEnterCancelled(R){T(R,!1),tn(b,[R])},onAppearCancelled(R){T(R,!0),tn(w,[R])},onLeaveCancelled(R){L(R),tn(y,[R])}})}function up(e){if(e==null)return null;if(Pe(e))return[Js(e.enter),Js(e.leave)];{const t=Js(e);return[t,t]}}function Js(e){return ac(e)}function Bt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function nn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Pa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let fp=0;function La(e,t,n,s){const o=e._endId=++fp,r=()=>{o===e._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=dp(e,t);if(!i)return s();const f=i+"end";let u=0;const h=()=>{e.removeEventListener(f,d),r()},d=c=>{c.target===e&&++u>=l&&h()};setTimeout(()=>{u<l&&h()},a+1),e.addEventListener(f,d)}function dp(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),o=s(`${$t}Delay`),r=s(`${$t}Duration`),i=Ta(o,r),a=s(`${qn}Delay`),l=s(`${qn}Duration`),f=Ta(a,l);let u=null,h=0,d=0;t===$t?i>0&&(u=$t,h=i,d=r.length):t===qn?f>0&&(u=qn,h=f,d=l.length):(h=Math.max(i,f),u=h>0?i>f?$t:qn:null,d=u?u===$t?r.length:l.length:0);const c=u===$t&&/\b(transform|all)(,|$)/.test(s(`${$t}Property`).toString());return{type:u,timeout:h,propCount:d,hasTransform:c}}function Ta(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ra(n)+Ra(e[s])))}function Ra(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function hp(){return document.body.offsetHeight}const ME={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Qn(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),Qn(e,!0),s.enter(e)):s.leave(e,()=>{Qn(e,!1)}):Qn(e,t))},beforeUnmount(e,{value:t}){Qn(e,t)}};function Qn(e,t){e.style.display=t?e._vod:"none"}const pu=Fe({patchProp:ap},Xh);let ar,ka=!1;function pp(){return ar||(ar=kh(pu))}function gp(){return ar=ka?ar:Ih(pu),ka=!0,ar}const mp=(...e)=>{const t=pp().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=gu(s);if(!o)return;const r=t._component;!ie(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},vp=(...e)=>{const t=gp().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=gu(s);if(o)return n(o,!0,o instanceof SVGElement)},t};function gu(e){return Oe(e)?document.querySelector(e):e}const yp=/"(?:_|\\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*:/,_p=/"(?: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*:/,xp=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function Ep(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Cp(e);return}return t}function Cp(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function as(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')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(!xp.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(yp.test(e)||_p.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Ep)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}const bp=/#/g,wp=/&/g,Sp=/=/g,Si=/\+/g,Pp=/%5e/gi,Lp=/%60/gi,Tp=/%7c/gi,Rp=/%20/gi;function kp(e){return encodeURI(""+e).replace(Tp,"|")}function yo(e){return kp(typeof e=="string"?e:JSON.stringify(e)).replace(Si,"%2B").replace(Rp,"+").replace(bp,"%23").replace(wp,"%26").replace(Lp,"`").replace(Pp,"^")}function qs(e){return yo(e).replace(Sp,"%3D")}function ls(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ip(e){return ls(e.replace(Si," "))}function Ap(e){return ls(e.replace(Si," "))}function mu(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=Ip(s[1]);if(o==="__proto__"||o==="constructor")continue;const r=Ap(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 Op(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${qs(e)}=${yo(n)}`).join("&"):`${qs(e)}=${yo(t)}`:qs(e)}function Np(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>Op(t,e[t])).filter(Boolean).join("&")}const Mp=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Dp=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Fp=/^([/\\]\s*){2,}[^/\\]/;function En(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Mp.test(e):Dp.test(e)||(t.acceptRelative?Fp.test(e):!1)}const $p=/^[\s\0]*(blob|data|javascript|vbscript):$/;function Bp(e){return!!e&&$p.test(e)}const Hp=/\/$|\/\?/;function _o(e="",t=!1){return t?Hp.test(e):e.endsWith("/")}function Pi(e="",t=!1){if(!t)return(_o(e)?e.slice(0,-1):e)||"/";if(!_o(e,!0))return e||"/";const[n,...s]=e.split("?");return(n.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function cs(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(_o(e,!0))return e||"/";const[n,...s]=e.split("?");return n+"/"+(s.length>0?`?${s.join("?")}`:"")}function Up(e=""){return e.startsWith("/")}function Ia(e=""){return Up(e)?e:"/"+e}function jp(e,t){if(yu(t)||En(e))return e;const n=Pi(t);return e.startsWith(n)?e:Gn(n,e)}function Aa(e,t){if(yu(t))return e;const n=Pi(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function vu(e,t){const n=Rr(e),s={...mu(n.search),...t};return n.search=Np(s),Kp(n)}function yu(e){return!e||e==="/"}function Vp(e){return e&&e!=="/"}const Wp=/^\.?\//;function Gn(e,...t){let n=e||"";for(const s of t.filter(o=>Vp(o)))if(n){const o=s.replace(Wp,"");n=cs(n)+o}else n=s;return n}function xo(e,t,n={}){return n.trailingSlash||(e=cs(e),t=cs(t)),n.leadingSlash||(e=Ia(e),t=Ia(t)),n.encoding||(e=ls(e),t=ls(t)),e===t}function Rr(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/);if(n){const[,h,d=""]=n;return{protocol:h,pathname:d,href:h+d,auth:"",host:"",search:"",hash:""}}if(!En(e,{acceptRelative:!0}))return t?Rr(t+e):Oa(e);const[,s="",o,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=r.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:f,hash:u}=Oa(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:s,auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:f,hash:u}}function Oa(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function Kp(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.protocol+"//":"")+o+r+t+n+s}class Gp extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Xp(e){var l,f,u,h,d;const t=((l=e.error)==null?void 0:l.message)||((f=e.error)==null?void 0:f.toString())||"",n=((u=e.request)==null?void 0:u.method)||((h=e.options)==null?void 0:h.method)||"GET",s=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(s)}`,r=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${r}${t?` ${t}`:""}`,a=new Gp(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 Yp=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Na(e="GET"){return Yp.has(e.toUpperCase())}function Jp(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 qp=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Qp=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function zp(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Qp.test(t)?"json":qp.has(t)||t.startsWith("text/")?"text":"blob"}function Zp(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 eg=new Set([408,409,425,429,500,502,503,504]),tg=new Set([101,204,205,304]);function _u(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=Na(a.options.method)?0:1;const h=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(h):eg.has(h))){const d=a.options.retryDelay||0;return d>0&&await new Promise(c=>setTimeout(c,d)),r(a.request,{...a.options,retry:u-1,timeout:a.options.timeout})}}const f=Xp(a);throw Error.captureStackTrace&&Error.captureStackTrace(f,r),f}const r=async function(l,f={}){var d;const u={request:l,options:Zp(f,e.defaults,n),response:void 0,error:void 0};if(u.options.method=(d=u.options.method)==null?void 0:d.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=jp(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=vu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Na(u.options.method)&&(Jp(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"))),!u.options.signal&&u.options.timeout){const c=new s;setTimeout(()=>c.abort(),u.options.timeout),u.options.signal=c.signal}try{u.response=await t(u.request,u.options)}catch(c){return u.error=c,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}if(u.response.body&&!tg.has(u.response.status)&&u.options.method!=="HEAD"){const c=(u.options.parseResponse?"json":u.options.responseType)||zp(u.response.headers.get("content-type")||"");switch(c){case"json":{const p=await u.response.text(),g=u.options.parseResponse||as;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[c]()}}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,f){return(await r(l,f))._data};return i.raw=r,i.native=(...a)=>t(...a),i.create=(a={})=>_u({...e,defaults:{...e.defaults,...a}}),i}const Li=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")}(),ng=Li.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),rg=Li.Headers,sg=Li.AbortController,og=_u({fetch:ng,Headers:rg,AbortController:sg}),ig=og,ag=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},us=ag().app,lg=()=>us.baseURL,cg=()=>us.buildAssetsDir,ug=(...e)=>Gn(xu(),cg(),...e),xu=(...e)=>{const t=us.cdnURL||us.baseURL;return e.length?Gn(t,...e):t};globalThis.__buildAssetsURL=ug,globalThis.__publicAssetsURL=xu;function Eo(e,t={},n){for(const s in e){const o=e[s],r=n?`${n}:${s}`:s;typeof o=="object"&&o!==null?Eo(o,t,r):typeof o=="function"&&(t[r]=o)}return t}const fg={run:e=>e()},dg=()=>fg,Eu=typeof console.createTask<"u"?console.createTask:dg;function hg(e,t){const n=t.shift(),s=Eu(n);return e.reduce((o,r)=>o.then(()=>s.run(()=>r(...t))),Promise.resolve())}function pg(e,t){const n=t.shift(),s=Eu(n);return Promise.all(e.map(o=>s.run(()=>o(...t))))}function Qs(e,t){for(const n of[...e])n(t)}class gg{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=Eo(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=Eo(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(hg,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(pg,t,...n)}callHookWith(t,n,...s){const o=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&Qs(this._before,o);const r=t(n in this._hooks?[...this._hooks[n]]:[],s);return r instanceof Promise?r.finally(()=>{this._after&&o&&Qs(this._after,o)}):(this._after&&o&&Qs(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 Cu(){return new gg}function mg(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},f=()=>t===i?l:void 0;Co.add(f);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Co.delete(f)}}}}function vg(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=mg({...e,...s})),t[n],t[n]}}}const fs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ma="__unctx__",yg=fs[Ma]||(fs[Ma]=vg()),_g=(e,t={})=>yg.get(e,t),Da="__unctx_async_handlers__",Co=fs[Da]||(fs[Da]=new Set);function mn(e){const t=[];for(const o of Co){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 bu=_g("nuxt-app",{asyncContext:!1}),xg="__nuxt_plugin";function Eg(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.7.1"},get vue(){return n.vueApp.version}},payload:Yt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>wg(n,o),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Cu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,r)=>{const i="$"+o;Vr(n,i,r),Vr(n.vueApp.config.globalProperties,i,r)},Vr(n.vueApp,"$nuxt",n),Vr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",r=>{n.callHook("app:chunkError",{error:r.payload})}),window.useNuxtApp=window.useNuxtApp||be;const o=n.hook("app:error",(...r)=>{console.error("[nuxt] error caught during app initialization",...r)});n.hook("app:mounted",o)}const s=Yt(n.payload.config);return n.provide("config",s),n}async function Cg(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),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 bg(e,t){const n=[],s=[];for(const o of t){const r=Cg(e,o);o.parallel?n.push(r.catch(i=>s.push(i))):await r}if(await Promise.all(n),s.length)throw s[0]}/*! @__NO_SIDE_EFFECTS__ */function Mt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[xg]:!0}))}function wg(e,t,n){const s=()=>n?t(...n):t();return bu.set(e),e.vueApp.runWithContext(s)}/*! @__NO_SIDE_EFFECTS__ */function be(){var t;let e;if(zc()&&(e=(t=xn())==null?void 0:t.appContext.app.$nuxt),e=e||bu.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Ti(){return be().$config}function Vr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Sg="modulepreload",Pg=function(e,t){return e[0]==="."?new URL(e,t).href:e},Fa={},Lg=function(t,n,s){if(!n||n.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=Pg(r,s),r in Fa)return;Fa[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const f=document.createElement("link");if(f.rel=i?"stylesheet":Sg,i||(f.as="script",f.crossOrigin=""),f.href=r,document.head.appendChild(f),i)return new Promise((u,h)=>{f.addEventListener("load",u),f.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>t()).catch(r=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=r,window.dispatchEvent(i),!i.defaultPrevented)throw r})},Ne=(...e)=>Lg(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Tg=-1,Rg=-2,kg=-3,Ig=-4,Ag=-5,Og=-6;function Ng(e,t){return Mg(JSON.parse(e),t)}function Mg(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===Tg)return;if(r===kg)return NaN;if(r===Ig)return 1/0;if(r===Ag)return-1/0;if(r===Og)return-0;if(i)throw new Error("Invalid input");if(r in s)return s[r];const a=n[r];if(!a||typeof a!="object")s[r]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],f=t==null?void 0:t[l];if(f)return s[r]=f(o(a[1]));switch(l){case"Date":s[r]=new Date(a[1]);break;case"Set":const u=new Set;s[r]=u;for(let c=1;c<a.length;c+=1)u.add(o(a[c]));break;case"Map":const h=new Map;s[r]=h;for(let c=1;c<a.length;c+=2)h.set(o(a[c]),o(a[c+1]));break;case"RegExp":s[r]=new RegExp(a[1],a[2]);break;case"Object":s[r]=Object(a[1]);break;case"BigInt":s[r]=BigInt(a[1]);break;case"null":const d=Object.create(null);s[r]=d;for(let c=1;c<a.length;c+=2)d[a[c]]=o(a[c+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);s[r]=l;for(let f=0;f<a.length;f+=1){const u=a[f];u!==Rg&&(l[f]=o(u))}}else{const l={};s[r]=l;for(const f in a){const u=a[f];l[f]=o(u)}}return s[r]}return o(0)}function Dg(e){return Array.isArray(e)?e:[e]}const Fg=["title","script","style","noscript"],Qr=["base","meta","link","style","script","noscript"],$g=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Bg=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],$a=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"],Hg=typeof window<"u";function wu(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 Ba(e){return e._h||wu(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Su(e,t){const{props:n,tag:s}=e;if(Bg.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];s==="meta"&&o.push("name","property","http-equiv");for(const r of o)if(typeof n[r]<"u"){const i=String(n[r]);return t&&!t(i)?!1:`${s}:${r}:${i}`}return!1}function Ha(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Ug(e,t,n){const s={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(s.props=t,s):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(s.textContent=t.textContent,t.tagPriority&&(s.tagPriority=t.tagPriority)):s.textContent=t,s):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?s.props.src=t:s.innerHTML=t,s):!1:(t.body&&(t.tagPosition="bodyClose",delete t.body),t.children&&(t.innerHTML=t.children,delete t.children),s.props=await Pu({...t}),Object.keys(s.props).filter(o=>$a.includes(o)).forEach(o=>{(!["innerHTML","textContent"].includes(o)||Fg.includes(s.tag))&&(s[o]=s.props[o]),delete s.props[o]}),$a.forEach(o=>{!s[o]&&n[o]&&(s[o]=n[o])}),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML)),s.props.content&&Array.isArray(s.props.content)?s.props.content.map(o=>({...s,props:{...s.props,content:o}})):s)}function jg(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function Pu(e){for(const t of Object.keys(e)){if(t==="class"){e[t]=jg(e[t]);continue}e[t]instanceof Promise&&(e[t]=await e[t]);const n=String(e[t]),s=t.startsWith("data-");n==="true"||n===""?e[t]=s?"true":!0:e[t]||(s&&n==="false"?e[t]="false":delete e[t])}return e}const Vg=10;async function Wg(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&$g.includes(n)).forEach(([n,s])=>{const o=Dg(s);t.push(...o.map(r=>Ug(n,r,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Vg)+s,n))}const Ua={base:-1,title:1},ja={critical:-8,high:-1,low:2};function ds(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag==="link"&&e.props.rel==="preconnect"?t=2:e.tag in Ua&&(t=Ua[e.tag]),typeof n=="string"&&n in ja?t+ja[n]:t)}const Kg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Ht="%separator";function Sn(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function s(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,f)=>l&&l[f]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=s(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,f)=>`${a}${f}`).trim())}),e.includes(Ht)&&(e.endsWith(Ht)&&(e=e.slice(0,-Ht.length).trim()),e.startsWith(Ht)&&(e=e.slice(Ht.length).trim()),e=e.replace(new RegExp(`\\${Ht}\\s*\\${Ht}`,"g"),Ht),e=Sn(e,{separator:n},n)),e}async function Gg(e){const t={tag:e.tagName.toLowerCase(),props:await Pu(e.getAttributeNames().reduce((n,s)=>({...n,[s]:e.getAttribute(s)}),{})),innerHTML:e.innerHTML};return t._d=Su(t),t}async function Lu(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n)return;const s=(await e.resolveTags()).map(h=>({tag:h,id:Qr.includes(h.tag)?Ba(h):h.tag,shouldRender:!0})),o={shouldRender:!0,tags:s};if(await e.hooks.callHook("dom:beforeRender",o),!o.shouldRender)return;let r=e._dom;if(!r){r={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const h of["body","head"]){const d=(u=n==null?void 0:n[h])==null?void 0:u.children;for(const c of[...d].filter(p=>Qr.includes(p.tagName.toLowerCase())))r.elMap[c.getAttribute("data-hid")||Ba(await Gg(c))]=c}}r.pendingSideEffects={...r.sideEffects||{}},r.sideEffects={};function i(h,d,c){const p=`${h}:${d}`;r.sideEffects[p]=c,delete r.pendingSideEffects[p]}function a({id:h,$el:d,tag:c}){const p=c.tag.endsWith("Attrs");r.elMap[h]=d,p||(["textContent","innerHTML"].forEach(g=>{c[g]&&c[g]!==d[g]&&(d[g]=c[g])}),i(h,"el",()=>{r.elMap[h].remove(),delete r.elMap[h]})),Object.entries(c.props).forEach(([g,v])=>{const m=`attr:${g}`;if(g==="class")for(const _ of(v||"").split(" ").filter(Boolean))p&&i(h,`${m}:${_}`,()=>d.classList.remove(_)),!d.classList.contains(_)&&d.classList.add(_);else d.getAttribute(g)!==v&&d.setAttribute(g,v===!0?"":String(v)),p&&i(h,m,()=>d.removeAttribute(g))})}const l=[],f={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const h of s){const{tag:d,shouldRender:c,id:p}=h;if(c){if(d.tag==="title"){n.title=d.textContent;continue}h.$el=h.$el||r.elMap[p],h.$el?a(h):Qr.includes(d.tag)&&l.push(h)}}for(const h of l){const d=h.tag.tagPosition||"head";h.$el=n.createElement(h.tag.tag),a(h),f[d]=f[d]||n.createDocumentFragment(),f[d].appendChild(h.$el)}for(const h of s)await e.hooks.callHook("dom:renderTag",h,n,i);f.head&&n.head.appendChild(f.head),f.bodyOpen&&n.body.insertBefore(f.bodyOpen,n.body.firstChild),f.bodyClose&&n.body.appendChild(f.bodyClose),Object.values(r.pendingSideEffects).forEach(h=>h()),e._dom=r,await e.hooks.callHook("dom:rendered",{renders:s})}async function Xg(e,t={}){const n=t.delayFn||(s=>setTimeout(s,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(s=>n(async()=>{await Lu(e,t),delete e._domUpdatePromise,s()}))}function Yg(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":function(r){Xg(r,e)}}}}}const Jg=["templateParams","htmlAttrs","bodyAttrs"],qg={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const n=Su(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{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&&Jg.includes(s.tag)&&(a="merge"),a==="merge"){const l=r.props;["class","style"].forEach(f=>{s.props[f]&&l[f]&&(f==="style"&&!l[f].endsWith(";")&&(l[f]+=";"),s.props[f]=`${l[f]} ${s.props[f]}`)}),t[o].props={...l,...s.props};return}else if(s._e===r._e){r._duped=r._duped||[],s._d=`${r._d}:${r._duped.length+1}`,r._duped.push(s);return}else if(ds(s)>ds(r))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(Qr.includes(s.tag)&&i===0){delete t[o];return}t[o]=s});const n=[];Object.values(t).forEach(s=>{const o=s._duped;delete s._duped,n.push(s),o&&n.push(...o)}),e.tags=n}}},Qg={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Va=["script","link","bodyAttrs"];function Wa(e){const t={},n={};return Object.entries(e.props).forEach(([s,o])=>{s.startsWith("on")&&typeof o=="function"?n[s]=o:t[s]=o}),{props:t,eventHandlers:n}}const zg={hooks:{"ssr:render":function(e){e.tags=e.tags.map(t=>(!Va.includes(t.tag)||!Object.entries(t.props).find(([n,s])=>n.startsWith("on")&&typeof s=="function")||(t.props=Wa(t).props),t))},"tags:resolve":function(e){e.tags=e.tags.map(t=>{if(!Va.includes(t.tag))return t;const{props:n,eventHandlers:s}=Wa(t);return Object.keys(s).length&&(t.props=n,t._eventHandlers=s),t})},"dom:renderTag":function(e,t,n){if(!e.tag._eventHandlers)return;const s=e.tag.tag==="bodyAttrs"?t.defaultView:e.$el;Object.entries(e.tag._eventHandlers).forEach(([o,r])=>{const i=`${e.tag._d||e.tag._p}:${o}`,a=o.slice(2).toLowerCase(),l=`data-h-${a}`;if(n(e.id,i,()=>{}),e.$el.hasAttribute(l))return;const f=r;e.$el.setAttribute(l,""),s.addEventListener(a,f),e.entry&&n(e.id,i,()=>{s.removeEventListener(a,f),e.$el.removeAttribute(l)})})}}},Zg=["link","style","script","noscript"],em={hooks:{"tag:normalise":({tag:e})=>{e.key&&Zg.includes(e.tag)&&(e.props["data-hid"]=e._h=wu(e.key))}}},tm={hooks:{"tags:resolve":e=>{const t=n=>{var s;return(s=e.tags.find(o=>o._d===n))==null?void 0:s._p};for(const{prefix:n,offset:s}of Kg)for(const o of e.tags.filter(r=>typeof r.tagPriority=="string"&&r.tagPriority.startsWith(n))){const r=t(o.tagPriority.replace(n,""));typeof r<"u"&&(o._p=r+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>ds(n)-ds(s))}}},nm={hooks:{"tags:resolve":e=>{var i;const{tags:t}=e,n=(i=t.find(a=>a.tag==="title"))==null?void 0:i.textContent,s=t.findIndex(a=>a.tag==="templateParams"),o=s!==-1?t[s].props:{},r=o.separator||"|";delete o.separator,o.pageTitle=Sn(o.pageTitle||n||"",o,r);for(const a of t)["titleTemplate","title"].includes(a.tag)&&typeof a.textContent=="string"?a.textContent=Sn(a.textContent,o,r):a.tag==="meta"&&typeof a.props.content=="string"?a.props.content=Sn(a.props.content,o,r):a.tag==="link"&&typeof a.props.href=="string"?a.props.href=Sn(a.props.href,o,r):a.tag==="script"&&["application/json","application/ld+json"].includes(a.props.type)&&a.innerHTML&&a.props.id!=="unhead:payload"&&(a.innerHTML=Sn(a.innerHTML,o,r));e.tags=t.filter(a=>a.tag!=="templateParams")}}},rm={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const s=t.findIndex(o=>o.tag==="title");if(s!==-1&&n!==-1){const o=Ha(t[n].textContent,t[s].textContent);o!==null?t[s].textContent=o||t[s].textContent:delete t[s]}else if(n!==-1){const o=Ha(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}};let Tu;function sm(e={}){const t=om(e);return t.use(Yg()),Tu=t}function Ka(e,t){return!e||e==="server"&&t||e==="client"&&!t}function om(e={}){const t=Cu();t.addHooks(e.hooks||{}),e.document=e.document||(Hg?document:void 0);const n=!e.document;e.plugins=[qg,Qg,zg,em,tm,nm,rm,...(e==null?void 0:e.plugins)||[]];const s=()=>t.callHook("entries:updated",i);let o=0,r=[];const i={resolvedOptions:e,hooks:t,headEntries(){return r},use(a){const l=typeof a=="function"?a(i):a;Ka(l.mode,n)&&t.addHooks(l.hooks||{})},push(a,l){l==null||delete l.head;const f={_i:o++,input:a,...l};return Ka(f.mode,n)&&(r.push(f),s()),{dispose(){r=r.filter(u=>u._i!==f._i),t.callHook("entries:updated",i),s()},patch(u){r=r.map(h=>(h._i===f._i&&(h.input=f.input=u),h)),s()}}},async resolveTags(){const a={tags:[],entries:[...r]};await t.callHook("entries:resolve",a);for(const l of a.entries){const f=l.resolvedInput||l.input;if(l.resolvedInput=await(l.transform?l.transform(f):f),l.resolvedInput)for(const u of await Wg(l)){const h={tag:u,entry:l,resolvedOptions:i.resolvedOptions};await t.callHook("tag:normalise",h),a.tags.push(h.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),a.tags},ssr:n};return e.plugins.forEach(a=>i.use(a)),i.hooks.callHook("init",i),i}function im(){return Tu}const am=du.startsWith("3");function lm(e){return typeof e=="function"?e():oe(e)}function hs(e,t=""){if(e instanceof Promise)return e;const n=lm(e);return!e||!n?n:Array.isArray(n)?n.map(s=>hs(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,o])=>s==="titleTemplate"||s.startsWith("on")?[s,oe(o)]:[s,hs(o,s)])):n}const cm={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=hs(t.input)}}},Ru="usehead";function um(e){return{install(n){am&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Ru,e))}}.install}function fm(e={}){e.domDelayFn=e.domDelayFn||(n=>Jt(()=>setTimeout(()=>n(),0)));const t=sm(e);return t.use(cm),t.install=um(t),t}const bo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wo="__unhead_injection_handler__";function dm(e){bo[wo]=e}function hm(){if(wo in bo)return bo[wo]();const e=Ve(Ru);return e||im()}function Ga(e,t={}){const n=t.head||hm();if(n)return n.ssr?n.push(e,t):pm(n,e,t)}function pm(e,t,n={}){const s=ge(!1),o=ge({});th(()=>{o.value=s.value?{}:hs(t)});const r=e.push(o.value,n);return xt(o,a=>{r.patch(a)}),xn()&&(Tr(()=>{r.dispose()}),Vc(()=>{s.value=!0}),jc(()=>{s.value=!1})),r}const gm=!1,So=!1,mm=!1,vm="#__nuxt";function Xa(e,t={}){const n=ym(e,t),s=be(),o=s._payloadCache=s._payloadCache||{};return o[n]||(o[n]=ku(n).then(r=>r||(delete o[n],null))),o[n]}const Ya="json";function ym(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||En(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return Gn(Ti().app.baseURL,n.pathname,s?`_payload.${s}.${Ya}`:`_payload.${Ya}`)}async function ku(e){const t=fetch(e).then(n=>n.text().then(Iu));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}function _m(){return!!be().payload.prerenderedAt}let Wr=null;async function xm(){if(Wr)return Wr;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=Iu(e.textContent||""),n=e.dataset.src?await ku(e.dataset.src):void 0;return Wr={...t,...n,...window.__NUXT__},Wr}function Iu(e){return Ng(e,be()._payloadRevivers)}function Em(e,t){be()._payloadRevivers[e]=t}function zs(e){return e!==null&&typeof e=="object"}function Po(e,t,n=".",s){if(!zs(t))return Po(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]]:zs(i)&&zs(o[r])?o[r]=Po(i,o[r],(n?`${n}.`:"")+r.toString(),s):o[r]=i))}return o}function Cm(e){return(...t)=>t.reduce((n,s)=>Po(n,s,"",e),{})}const bm=Cm();function wm(e,t){try{return t in e}catch{return!1}}var Sm=Object.defineProperty,Pm=(e,t,n)=>t in e?Sm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,on=(e,t,n)=>(Pm(e,typeof t!="symbol"?t+"":t,n),n);class Lo extends Error{constructor(t,n={}){super(t,n),on(this,"statusCode",500),on(this,"fatal",!1),on(this,"unhandled",!1),on(this,"statusMessage"),on(this,"data"),on(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ro(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Au(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}on(Lo,"__h3_error__",!0);function To(e){if(typeof e=="string")return new Lo(e);if(Lm(e))return e;const t=new Lo(e.message??e.statusMessage??"",{cause:e.cause||e});if(wm(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=Ro(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ro(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Au(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 Lm(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Tm=/[^\u0009\u0020-\u007E]/g;function Au(e=""){return e.replace(Tm,"")}function Ro(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ou=Symbol("layout-meta"),kr=Symbol("route"),pt=()=>{var e;return(e=be())==null?void 0:e.$router},Ir=()=>zc()?Ve(kr,be()._route):be()._route;/*! @__NO_SIDE_EFFECTS__ */const Rm=(e,t,n={})=>{const s=be(),o=n.global||typeof e!="string",r=typeof e!="string"?e: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},km=()=>{try{if(be()._processingMiddleware)return!0}catch{return!0}return!1},Nu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:vu(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,f=Object.entries(l).filter(([u,h])=>h!==void 0).map(([u,h])=>`${u.toLowerCase()}=${h}`).join(", ");open(n,a,f)}return Promise.resolve()}const s=(t==null?void 0:t.external)||En(n,{acceptRelative:!0});if(s){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Rr(n).protocol;if(a&&Bp(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=km();if(!s&&o)return e;const r=pt(),i=be();return s?(t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?r.replace(e):r.push(e)},Rs=()=>Rc(be().payload,"error"),Tn=e=>{const t=Ri(e);try{const n=be(),s=Rs();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Im=async(e={})=>{const t=be(),n=Rs();t.callHook("app:error:cleared",e),e.redirect&&await pt().replace(e.redirect),n.value=null},Am=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Ri=e=>{const t=To(e);return t.__nuxt_error=!0,t},Ja={NuxtError:e=>Ri(e),EmptyShallowRef:e=>pr(e==="_"?void 0:e==="0n"?BigInt(0):as(e)),EmptyRef:e=>ge(e==="_"?void 0:e==="0n"?BigInt(0):as(e)),ShallowRef:e=>pr(e),ShallowReactive:e=>Pr(e),Ref:e=>ge(e),Reactive:e=>Yt(e)},Om=Mt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Ja)Em(s,Ja[s]);Object.assign(e.payload,([t,n]=mn(()=>e.runWithContext(xm)),t=await t,n(),t)),window.__NUXT__=e.payload}}),ko=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Nm=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Mm=e=>{const t=be();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ko(e)}):ko(e)},Dm="$s";function Fm(...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=Dm+n,r=be(),i=Rc(r.payload.state,o);if(i.value===void 0&&s){const a=s();if(Te(a))return r.payload.state[o]=a,a;i.value=a}return i}async function Mu(e,t=pt()){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(()=>Mu(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)}function $m(e={}){const t=e.path||window.location.pathname;let n={};try{n=as(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:be().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Bm=(...e)=>e.find(t=>t!==void 0),Hm="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function Um(e){const t=e.componentName||"NuxtLink",n=(s,o)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const r=e.trailingSlash==="append"?cs:Pi;if(typeof s=="string")return r(s,!0);const i="path"in s?s.path:o(s).path;return{...s,name:void 0,path:r(i,!0)}};return Ke({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},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}},setup(s,{slots:o}){const r=pt(),i=we(()=>{const h=s.to||s.href||"";return n(h,r.resolve)}),a=we(()=>s.external||s.target&&s.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||En(i.value,{acceptRelative:!0})),l=ge(!1),f=ge(null),u=h=>{var d;f.value=s.custom?(d=h==null?void 0:h.$el)==null?void 0:d.nextElementSibling:h==null?void 0:h.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!Wm()){const d=be();let c,p=null;ht(()=>{const g=Vm();Mm(()=>{c=ko(()=>{var v;(v=f==null?void 0:f.value)!=null&&v.tagName&&(p=g.observe(f.value,async()=>{p==null||p(),p=null;const m=typeof i.value=="string"?i.value:r.resolve(i.value).fullPath;await Promise.all([d.hooks.callHook("link:prefetch",m).catch(()=>{}),!a.value&&Mu(i.value,r).catch(()=>{})]),l.value=!0}))})})}),Tr(()=>{c&&Nm(c),p==null||p(),p=null})}return()=>{var g,v;if(!a.value){const m={ref:u,to:i.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(l.value&&(m.class=s.prefetchedClass||e.prefetchedClass),m.rel=s.rel),We(ph("RouterLink"),m,o.default)}const h=typeof i.value=="object"?((g=r.resolve(i.value))==null?void 0:g.href)??null:i.value||null,d=s.target||null,c=s.noRel?null:Bm(s.rel,e.externalRelAttribute,h?Hm:"")||null,p=()=>Nu(h,{replace:s.replace});return s.custom?o.default?o.default({href:h,navigate:p,get route(){if(!h)return;const m=Rr(h);return{path:m.pathname,fullPath:m.pathname,get query(){return mu(m.search)},hash:m.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:c,target:d,isExternal:a.value,isActive:!1,isExactActive:!1}):null:We("a",{ref:f,href:h,rel:c,target:d},(v=o.default)==null?void 0:v.call(o))}}})}const jm=Um({componentName:"NuxtLink"});function Vm(){const e=be();if(e._observer)return e._observer;let t=null;const n=new Map,s=(r,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const f=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&f&&f()}})),n.set(r,i),t.observe(r),()=>{n.delete(r),t.unobserve(r),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function Wm(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const Km=[],Gm=Mt({name:"nuxt:head",enforce:"pre",setup(e){const t=fm({plugins:Km});dm(()=>be().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const s=async()=>{n=!1,await Lu(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.2.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Pn=typeof window<"u";function Xm(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ce=Object.assign;function Zs(e,t){const n={};for(const s in t){const o=t[s];n[s]=Et(o)?o.map(e):e(o)}return n}const lr=()=>{},Et=Array.isArray,Ym=/\/$/,Jm=e=>e.replace(Ym,"");function eo(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=Zm(s??t,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function qm(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function qa(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Qm(e,t,n){const s=t.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&$n(t.matched[s],n.matched[o])&&Du(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function $n(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Du(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!zm(e[n],t[n]))return!1;return!0}function zm(e,t){return Et(e)?Qa(e,t):Et(t)?Qa(t,e):e===t}function Qa(e,t){return Et(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Zm(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-(i===s.length?1:0)).join("/")}var xr;(function(e){e.pop="pop",e.push="push"})(xr||(xr={}));var cr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(cr||(cr={}));function ev(e){if(!e)if(Pn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Jm(e)}const tv=/^[^#]+#/;function nv(e,t){return e.replace(tv,"#")+t}function rv(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 ks=()=>({left:window.pageXOffset,top:window.pageYOffset});function sv(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=rv(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function za(e,t){return(history.state?history.state.position-t:-1)+e}const Io=new Map;function ov(e,t){Io.set(e,t)}function iv(e){const t=Io.get(e);return Io.delete(e),t}let av=()=>location.protocol+"//"+location.host;function Fu(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),qa(l,"")}return qa(n,e)+s+o}function lv(e,t,n,s){let o=[],r=[],i=null;const a=({state:d})=>{const c=Fu(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(m=>{m(n.value,p,{delta:v,type:xr.pop,direction:v?v>0?cr.forward:cr.back:cr.unknown})})};function l(){i=n.value}function f(d){o.push(d);const c=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return r.push(c),c}function u(){const{history:d}=window;d.state&&d.replaceState(Ce({},d.state,{scroll:ks()}),"")}function h(){for(const d of r)d();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function Za(e,t,n,s=!1,o=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:o?ks():null}}function cv(e){const{history:t,location:n}=window,s={value:Fu(e,n)},o={value:t.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,f,u){const h=e.indexOf("#"),d=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:av()+e+l;try{t[u?"replaceState":"pushState"](f,"",d),o.value=f}catch(c){console.error(c),n[u?"replace":"assign"](d)}}function i(l,f){const u=Ce({},t.state,Za(o.value.back,l,o.value.forward,!0),f,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,f){const u=Ce({},o.value,t.state,{forward:l,scroll:ks()});r(u.current,u,!0);const h=Ce({},Za(s.value,l,null),{position:u.position+1},f);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function $u(e){e=ev(e);const t=cv(e),n=lv(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:nv.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 uv(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$u(e)}function fv(e){return typeof e=="string"||e&&typeof e=="object"}function Bu(e){return typeof e=="string"||typeof e=="symbol"}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Hu=Symbol("");var el;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(el||(el={}));function Bn(e,t){return Ce(new Error,{type:e,[Hu]:!0},t)}function Tt(e,t){return e instanceof Error&&Hu in e&&(t==null||!!(e.type&t))}const tl="[^/]+?",dv={sensitive:!1,strict:!1,start:!0,end:!0},hv=/[.+*?^${}()[\]/\\]/g;function pv(e,t){const n=Ce({},dv,t),s=[];let o=n.start?"^":"";const r=[];for(const f of e){const u=f.length?[]:[90];n.strict&&!f.length&&(o+="/");for(let h=0;h<f.length;h++){const d=f[h];let c=40+(n.sensitive?.25:0);if(d.type===0)h||(o+="/"),o+=d.value.replace(hv,"\\$&"),c+=40;else if(d.type===1){const{value:p,repeatable:g,optional:v,regexp:m}=d;r.push({name:p,repeatable:g,optional:v});const _=m||tl;if(_!==tl){c+=10;try{new RegExp(`(${_})`)}catch(x){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+x.message)}}let b=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;h||(b=v&&f.length<2?`(?:/${b})`:"/"+b),v&&(b+="?"),o+=b,c+=20,v&&(c+=-8),g&&(c+=-20),_===".*"&&(c+=-50)}u.push(c)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(f){const u=f.match(i),h={};if(!u)return null;for(let d=1;d<u.length;d++){const c=u[d]||"",p=r[d-1];h[p.name]=c&&p.repeatable?c.split("/"):c}return h}function l(f){let u="",h=!1;for(const d of e){(!h||!u.endsWith("/"))&&(u+="/"),h=!1;for(const c of d)if(c.type===0)u+=c.value;else if(c.type===1){const{value:p,repeatable:g,optional:v}=c,m=p in f?f[p]:"";if(Et(m)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Et(m)?m.join("/"):m;if(!_)if(v)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):h=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u||"/"}return{re:i,score:s,keys:r,parse:a,stringify:l}}function gv(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]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function mv(e,t){let n=0;const s=e.score,o=t.score;for(;n<s.length&&n<o.length;){const r=gv(s[n],o[n]);if(r)return r;n++}if(Math.abs(o.length-s.length)===1){if(nl(s))return 1;if(nl(o))return-1}return o.length-s.length}function nl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const vv={type:0,value:""},yv=/[a-zA-Z0-9_]/;function _v(e){if(!e)return[[]];if(e==="/")return[[vv]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(c){throw new Error(`ERR (${n})/"${f}": ${c}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,f="",u="";function h(){f&&(n===0?r.push({type:0,value:f}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:f,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function d(){f+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),i()):l===":"?(h(),n=1):d();break;case 4:d(),n=s;break;case 1:l==="("?n=2:yv.test(l)?d():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),i(),o}function xv(e,t,n){const s=pv(_v(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 Ev(e,t){const n=[],s=new Map;t=ol({strict:!1,end:!0,sensitive:!1},t);function o(u){return s.get(u)}function r(u,h,d){const c=!d,p=Cv(u);p.aliasOf=d&&d.record;const g=ol(t,u),v=[p];if("alias"in u){const b=typeof u.alias=="string"?[u.alias]:u.alias;for(const x of b)v.push(Ce({},p,{components:d?d.record.components:p.components,path:x,aliasOf:d?d.record:p}))}let m,_;for(const b of v){const{path:x}=b;if(h&&x[0]!=="/"){const y=h.record.path,E=y[y.length-1]==="/"?"":"/";b.path=h.record.path+(x&&E+x)}if(m=xv(b,h,g),d?d.alias.push(m):(_=_||m,_!==m&&_.alias.push(m),c&&u.name&&!sl(m)&&i(u.name)),p.children){const y=p.children;for(let E=0;E<y.length;E++)r(y[E],m,d&&d.children[E])}d=d||m,(m.record.components&&Object.keys(m.record.components).length||m.record.name||m.record.redirect)&&l(m)}return _?()=>{i(_)}:lr}function i(u){if(Bu(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let h=0;for(;h<n.length&&mv(u,n[h])>=0&&(u.record.path!==n[h].record.path||!Uu(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!sl(u)&&s.set(u.record.name,u)}function f(u,h){let d,c={},p,g;if("name"in u&&u.name){if(d=s.get(u.name),!d)throw Bn(1,{location:u});g=d.record.name,c=Ce(rl(h.params,d.keys.filter(_=>!_.optional).map(_=>_.name)),u.params&&rl(u.params,d.keys.map(_=>_.name))),p=d.stringify(c)}else if("path"in u)p=u.path,d=n.find(_=>_.re.test(p)),d&&(c=d.parse(p),g=d.record.name);else{if(d=h.name?s.get(h.name):n.find(_=>_.re.test(h.path)),!d)throw Bn(1,{location:u,currentLocation:h});g=d.record.name,c=Ce({},h.params,u.params),p=d.stringify(c)}const v=[];let m=d;for(;m;)v.unshift(m.record),m=m.parent;return{name:g,path:p,params:c,matched:v,meta:wv(v)}}return e.forEach(u=>r(u)),{addRoute:r,resolve:f,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function rl(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Cv(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:bv(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 bv(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 sl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function wv(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function ol(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Uu(e,t){return t.children.some(n=>n===e||Uu(e,n))}const ju=/#/g,Sv=/&/g,Pv=/\//g,Lv=/=/g,Tv=/\?/g,Vu=/\+/g,Rv=/%5B/g,kv=/%5D/g,Wu=/%5E/g,Iv=/%60/g,Ku=/%7B/g,Av=/%7C/g,Gu=/%7D/g,Ov=/%20/g;function ki(e){return encodeURI(""+e).replace(Av,"|").replace(Rv,"[").replace(kv,"]")}function Nv(e){return ki(e).replace(Ku,"{").replace(Gu,"}").replace(Wu,"^")}function Ao(e){return ki(e).replace(Vu,"%2B").replace(Ov,"+").replace(ju,"%23").replace(Sv,"%26").replace(Iv,"`").replace(Ku,"{").replace(Gu,"}").replace(Wu,"^")}function Mv(e){return Ao(e).replace(Lv,"%3D")}function Dv(e){return ki(e).replace(ju,"%23").replace(Tv,"%3F")}function Fv(e){return e==null?"":Dv(e).replace(Pv,"%2F")}function ps(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function $v(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(Vu," "),i=r.indexOf("="),a=ps(i<0?r:r.slice(0,i)),l=i<0?null:ps(r.slice(i+1));if(a in t){let f=t[a];Et(f)||(f=t[a]=[f]),f.push(l)}else t[a]=l}return t}function il(e){let t="";for(let n in e){const s=e[n];if(n=Mv(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Et(s)?s.map(r=>r&&Ao(r)):[s&&Ao(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Bv(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Et(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return t}const Hv=Symbol(""),al=Symbol(""),Is=Symbol(""),Ii=Symbol(""),Oo=Symbol("");function zn(){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 Wt(e,t,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(Bn(4,{from:n,to:t})):h instanceof Error?a(h):fv(h)?a(Bn(2,{from:t,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},f=e.call(s&&s.instances[o],t,n,l);let u=Promise.resolve(f);e.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function to(e,t,n,s){const o=[];for(const r of e)for(const i in r.components){let a=r.components[i];if(!(t!=="beforeRouteEnter"&&!r.instances[i]))if(Uv(a)){const f=(a.__vccOpts||a)[t];f&&o.push(Wt(f,n,s,r,i))}else{let l=a();o.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=Xm(f)?f.default:f;r.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&Wt(d,n,s,r,i)()}))}}return o}function Uv(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ll(e){const t=Ve(Is),n=Ve(Ii),s=we(()=>t.resolve(oe(e.to))),o=we(()=>{const{matched:l}=s.value,{length:f}=l,u=l[f-1],h=n.matched;if(!u||!h.length)return-1;const d=h.findIndex($n.bind(null,u));if(d>-1)return d;const c=cl(l[f-2]);return f>1&&cl(u)===c&&h[h.length-1].path!==c?h.findIndex($n.bind(null,l[f-2])):d}),r=we(()=>o.value>-1&&Kv(n.params,s.value.params)),i=we(()=>o.value>-1&&o.value===n.matched.length-1&&Du(n.params,s.value.params));function a(l={}){return Wv(l)?t[oe(e.replace)?"replace":"push"](oe(e.to)).catch(lr):Promise.resolve()}return{route:s,href:we(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const jv=Ke({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:ll,setup(e,{slots:t}){const n=Yt(ll(e)),{options:s}=Ve(Is),o=we(()=>({[ul(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ul(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:We("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Vv=jv;function Wv(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 Kv(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(!Et(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function cl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ul=(e,t,n)=>e??t??n,Gv=Ke({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ve(Oo),o=we(()=>e.route||s.value),r=Ve(al,0),i=we(()=>{let f=oe(r);const{matched:u}=o.value;let h;for(;(h=u[f])&&!h.components;)f++;return f}),a=we(()=>o.value.matched[i.value]);pn(al,we(()=>i.value+1)),pn(Hv,a),pn(Oo,o);const l=ge();return xt(()=>[l.value,a.value,e.name],([f,u,h],[d,c,p])=>{u&&(u.instances[h]=f,c&&c!==u&&f&&f===d&&(u.leaveGuards.size||(u.leaveGuards=c.leaveGuards),u.updateGuards.size||(u.updateGuards=c.updateGuards))),f&&u&&(!c||!$n(u,c)||!d)&&(u.enterCallbacks[h]||[]).forEach(g=>g(f))},{flush:"post"}),()=>{const f=o.value,u=e.name,h=a.value,d=h&&h.components[u];if(!d)return fl(n.default,{Component:d,route:f});const c=h.props[u],p=c?c===!0?f.params:typeof c=="function"?c(f):c:null,v=We(d,Ce({},p,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return fl(n.default,{Component:v,route:f})||v}}});function fl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Xu=Gv;function Xv(e){const t=Ev(e.routes,e),n=e.parseQuery||$v,s=e.stringifyQuery||il,o=e.history,r=zn(),i=zn(),a=zn(),l=pr(wt);let f=wt;Pn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Zs.bind(null,H=>""+H),h=Zs.bind(null,Fv),d=Zs.bind(null,ps);function c(H,X){let Y,z;return Bu(H)?(Y=t.getRecordMatcher(H),z=X):z=H,t.addRoute(z,Y)}function p(H){const X=t.getRecordMatcher(H);X&&t.removeRoute(X)}function g(){return t.getRoutes().map(H=>H.record)}function v(H){return!!t.getRecordMatcher(H)}function m(H,X){if(X=Ce({},X||l.value),typeof H=="string"){const P=eo(n,H,X.path),O=t.resolve({path:P.path},X),M=o.createHref(P.fullPath);return Ce(P,O,{params:d(O.params),hash:ps(P.hash),redirectedFrom:void 0,href:M})}let Y;if("path"in H)Y=Ce({},H,{path:eo(n,H.path,X.path).path});else{const P=Ce({},H.params);for(const O in P)P[O]==null&&delete P[O];Y=Ce({},H,{params:h(P)}),X.params=h(X.params)}const z=t.resolve(Y,X),ce=H.hash||"";z.params=u(d(z.params));const I=qm(s,Ce({},H,{hash:Nv(ce),path:z.path})),C=o.createHref(I);return Ce({fullPath:I,hash:ce,query:s===il?Bv(H.query):H.query||{}},z,{redirectedFrom:void 0,href:C})}function _(H){return typeof H=="string"?eo(n,H,l.value.path):Ce({},H)}function b(H,X){if(f!==H)return Bn(8,{from:X,to:H})}function x(H){return S(H)}function y(H){return x(Ce(_(H),{replace:!0}))}function E(H){const X=H.matched[H.matched.length-1];if(X&&X.redirect){const{redirect:Y}=X;let z=typeof Y=="function"?Y(H):Y;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=_(z):{path:z},z.params={}),Ce({query:H.query,hash:H.hash,params:"path"in z?{}:H.params},z)}}function S(H,X){const Y=f=m(H),z=l.value,ce=H.state,I=H.force,C=H.replace===!0,P=E(Y);if(P)return S(Ce(_(P),{state:typeof P=="object"?Ce({},ce,P.state):ce,force:I,replace:C}),X||Y);const O=Y;O.redirectedFrom=X;let M;return!I&&Qm(s,z,Y)&&(M=Bn(16,{to:O,from:z}),me(z,z,!0,!1)),(M?Promise.resolve(M):L(O,z)).catch(F=>Tt(F)?Tt(F,2)?F:le(F):J(F,O,z)).then(F=>{if(F){if(Tt(F,2))return S(Ce({replace:C},_(F.to),{state:typeof F.to=="object"?Ce({},ce,F.to.state):ce,force:I}),X||O)}else F=R(O,z,!0,C,ce);return A(O,z,F),F})}function w(H,X){const Y=b(H,X);return Y?Promise.reject(Y):Promise.resolve()}function T(H){const X=ye.values().next().value;return X&&typeof X.runWithContext=="function"?X.runWithContext(H):H()}function L(H,X){let Y;const[z,ce,I]=Yv(H,X);Y=to(z.reverse(),"beforeRouteLeave",H,X);for(const P of z)P.leaveGuards.forEach(O=>{Y.push(Wt(O,H,X))});const C=w.bind(null,H,X);return Y.push(C),ae(Y).then(()=>{Y=[];for(const P of r.list())Y.push(Wt(P,H,X));return Y.push(C),ae(Y)}).then(()=>{Y=to(ce,"beforeRouteUpdate",H,X);for(const P of ce)P.updateGuards.forEach(O=>{Y.push(Wt(O,H,X))});return Y.push(C),ae(Y)}).then(()=>{Y=[];for(const P of I)if(P.beforeEnter)if(Et(P.beforeEnter))for(const O of P.beforeEnter)Y.push(Wt(O,H,X));else Y.push(Wt(P.beforeEnter,H,X));return Y.push(C),ae(Y)}).then(()=>(H.matched.forEach(P=>P.enterCallbacks={}),Y=to(I,"beforeRouteEnter",H,X),Y.push(C),ae(Y))).then(()=>{Y=[];for(const P of i.list())Y.push(Wt(P,H,X));return Y.push(C),ae(Y)}).catch(P=>Tt(P,8)?P:Promise.reject(P))}function A(H,X,Y){a.list().forEach(z=>T(()=>z(H,X,Y)))}function R(H,X,Y,z,ce){const I=b(H,X);if(I)return I;const C=X===wt,P=Pn?history.state:{};Y&&(z||C?o.replace(H.fullPath,Ce({scroll:C&&P&&P.scroll},ce)):o.push(H.fullPath,ce)),l.value=H,me(H,X,Y,C),le()}let k;function N(){k||(k=o.listen((H,X,Y)=>{if(!Me.listening)return;const z=m(H),ce=E(z);if(ce){S(Ce(ce,{replace:!0}),z).catch(lr);return}f=z;const I=l.value;Pn&&ov(za(I.fullPath,Y.delta),ks()),L(z,I).catch(C=>Tt(C,12)?C:Tt(C,2)?(S(C.to,z).then(P=>{Tt(P,20)&&!Y.delta&&Y.type===xr.pop&&o.go(-1,!1)}).catch(lr),Promise.reject()):(Y.delta&&o.go(-Y.delta,!1),J(C,z,I))).then(C=>{C=C||R(z,I,!1),C&&(Y.delta&&!Tt(C,8)?o.go(-Y.delta,!1):Y.type===xr.pop&&Tt(C,20)&&o.go(-1,!1)),A(z,I,C)}).catch(lr)}))}let B=zn(),j=zn(),U;function J(H,X,Y){le(H);const z=j.list();return z.length?z.forEach(ce=>ce(H,X,Y)):console.error(H),Promise.reject(H)}function se(){return U&&l.value!==wt?Promise.resolve():new Promise((H,X)=>{B.add([H,X])})}function le(H){return U||(U=!H,N(),B.list().forEach(([X,Y])=>H?Y(H):X()),B.reset()),H}function me(H,X,Y,z){const{scrollBehavior:ce}=e;if(!Pn||!ce)return Promise.resolve();const I=!Y&&iv(za(H.fullPath,0))||(z||!Y)&&history.state&&history.state.scroll||null;return Jt().then(()=>ce(H,X,I)).then(C=>C&&sv(C)).catch(C=>J(C,H,X))}const te=H=>o.go(H);let Ee;const ye=new Set,Me={currentRoute:l,listening:!0,addRoute:c,removeRoute:p,hasRoute:v,getRoutes:g,resolve:m,options:e,push:x,replace:y,go:te,back:()=>te(-1),forward:()=>te(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:j.add,isReady:se,install(H){const X=this;H.component("RouterLink",Vv),H.component("RouterView",Xu),H.config.globalProperties.$router=X,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>oe(l)}),Pn&&!Ee&&l.value===wt&&(Ee=!0,x(o.location).catch(ce=>{}));const Y={};for(const ce in wt)Object.defineProperty(Y,ce,{get:()=>l.value[ce],enumerable:!0});H.provide(Is,X),H.provide(Ii,Pr(Y)),H.provide(Oo,l);const z=H.unmount;ye.add(H),H.unmount=function(){ye.delete(H),ye.size<1&&(f=wt,k&&k(),k=null,l.value=wt,Ee=!1,U=!1),z()}}};function ae(H){return H.reduce((X,Y)=>X.then(()=>T(Y)),Promise.resolve())}return Me}function Yv(e,t){const n=[],s=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const a=t.matched[i];a&&(e.matched.find(f=>$n(f,a))?s.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(f=>$n(f,l))||o.push(l))}return[n,s,o]}function Yu(){return Ve(Is)}function Ai(){return Ve(Ii)}const dl=[{name:"about",path:"/about",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./about.d108520b.js"),["./about.d108520b.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js","./about.ff490bb3.css"],import.meta.url).then(e=>e.default||e)},{name:"about___en",path:"/en/about",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./about.d108520b.js"),["./about.d108520b.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js","./about.ff490bb3.css"],import.meta.url).then(e=>e.default||e)},{name:"about___it",path:"/it/about",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./about.d108520b.js"),["./about.d108520b.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js","./about.ff490bb3.css"],import.meta.url).then(e=>e.default||e)},{name:"contacts",path:"/contacts",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./contacts.56d0b07f.js"),["./contacts.56d0b07f.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js"],import.meta.url).then(e=>e.default||e)},{name:"contacts___en",path:"/en/contacts",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./contacts.56d0b07f.js"),["./contacts.56d0b07f.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js"],import.meta.url).then(e=>e.default||e)},{name:"contacts___it",path:"/it/contacts",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./contacts.56d0b07f.js"),["./contacts.56d0b07f.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js"],import.meta.url).then(e=>e.default||e)},{name:"index",path:"/",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./index.95ea8a11.js"),["./index.95ea8a11.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js"],import.meta.url).then(e=>e.default||e)},{name:"index___en",path:"/en",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./index.95ea8a11.js"),["./index.95ea8a11.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js"],import.meta.url).then(e=>e.default||e)},{name:"index___it",path:"/it",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./index.95ea8a11.js"),["./index.95ea8a11.js","./Navbar.vue.a0892a71.js","./ScreenCenter.e136ed2e.js"],import.meta.url).then(e=>e.default||e)},{name:"projects",path:"/projects",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./projects.d75e87cd.js"),["./projects.d75e87cd.js","./Navbar.vue.a0892a71.js"],import.meta.url).then(e=>e.default||e)},{name:"projects___en",path:"/en/projects",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./projects.d75e87cd.js"),["./projects.d75e87cd.js","./Navbar.vue.a0892a71.js"],import.meta.url).then(e=>e.default||e)},{name:"projects___it",path:"/it/projects",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./projects.d75e87cd.js"),["./projects.d75e87cd.js","./Navbar.vue.a0892a71.js"],import.meta.url).then(e=>e.default||e)},{name:"resume",path:"/resume",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./resume.aa3a3d3c.js"),["./resume.aa3a3d3c.js","./Navbar.vue.a0892a71.js","./resume.cb836ec5.css"],import.meta.url).then(e=>e.default||e)},{name:"resume___en",path:"/en/resume",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./resume.aa3a3d3c.js"),["./resume.aa3a3d3c.js","./Navbar.vue.a0892a71.js","./resume.cb836ec5.css"],import.meta.url).then(e=>e.default||e)},{name:"resume___it",path:"/it/resume",meta:{},alias:[],redirect:void 0,component:()=>Ne(()=>import("./resume.aa3a3d3c.js"),["./resume.aa3a3d3c.js","./Navbar.vue.a0892a71.js","./resume.cb836ec5.css"],import.meta.url).then(e=>e.default||e)}],Jv={scrollBehavior(e,t,n){var f;const s=be(),o=((f=pt().options)==null?void 0:f.scrollBehaviorType)??"auto";let r=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!r&&t&&e&&i!==!1&&qv(t,e)&&(r={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:hl(e.hash),behavior:o}}const a=u=>!!(u.meta.pageTransition??So),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(u=>{s.hooks.hookOnce(l,async()=>{await Jt(),e.hash&&(r={el:e.hash,top:hl(e.hash),behavior:o}),u(r)})})}};function hl(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function qv(e,t){const n=t.matched.every((s,o)=>{var r,i,a;return((r=s.components)==null?void 0:r.default)===((a=(i=e.matched[o])==null?void 0:i.components)==null?void 0:a.default)});return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const Qv={},ze={...Qv,...Jv},zv=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const s=be(),o=pt();if(([t,n]=mn(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Ri({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=o.beforeResolve(f=>{if(a(),f===e){const u=o.afterEach(async()=>{u(),await s.runWithContext(()=>Tn(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Zv=[zv],ur={};function ey(e,t,n){const{pathname:s,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){const f=r.includes(e.slice(i))?e.slice(i).length:1;let u=r.slice(f);return u[0]!=="/"&&(u="/"+u),Aa(u,"")}const a=Aa(s,e),l=!n||xo(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+r}const ty=Mt({name:"nuxt:router",enforce:"pre",async setup(e){var g,v;let t,n,s=Ti().app.baseURL;ze.hashMode&&!s.includes("#")&&(s+="#");const o=((g=ze.history)==null?void 0:g.call(ze,s))??(ze.hashMode?uv(s):$u(s)),r=((v=ze.routes)==null?void 0:v.call(ze,dl))??dl;let i;const a=ey(s,window.location,e.payload.path),l=Xv({...ze,scrollBehavior:(m,_,b)=>{var x;if(_===wt){i=b;return}return l.options.scrollBehavior=ze.scrollBehavior,(x=ze.scrollBehavior)==null?void 0:x.call(ze,m,wt,i||b)},history:o,routes:r});e.vueApp.use(l);const f=pr(l.currentRoute.value);l.afterEach((m,_)=>{f.value=_}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>f.value});const u=pr(l.resolve(a)),h=()=>{u.value=l.currentRoute.value};e.hook("page:finish",h),l.afterEach((m,_)=>{var b,x,y,E;((x=(b=m.matched[0])==null?void 0:b.components)==null?void 0:x.default)===((E=(y=_.matched[0])==null?void 0:y.components)==null?void 0:E.default)&&h()});const d={};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m]});e._route=Pr(d),e._middleware=e._middleware||{global:[],named:{}};const c=Rs();try{[t,n]=mn(()=>l.isReady()),await t,n()}catch(m){[t,n]=mn(()=>e.runWithContext(()=>Tn(m))),await t,n()}const p=e.payload.state._layout;return l.beforeEach(async(m,_)=>{var b;m.meta=Yt(m.meta),e.isHydrating&&p&&!vn(m.meta.layout)&&(m.meta.layout=p),e._processingMiddleware=!0;{const x=new Set([...Zv,...e._middleware.global]);for(const y of m.matched){const E=y.meta.middleware;if(E)if(Array.isArray(E))for(const S of E)x.add(S);else x.add(E)}for(const y of x){const E=typeof y=="string"?e._middleware.named[y]||await((b=ur[y])==null?void 0:b.call(ur).then(w=>w.default||w)):y;if(!E)throw new Error(`Unknown route middleware: '${y}'.`);const S=await e.runWithContext(()=>E(m,_));if(!e.payload.serverRendered&&e.isHydrating&&(S===!1||S instanceof Error)){const w=S||To({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Tn(w)),!1}if(S!==!0&&(S||S===!1))return S}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(m,_,b)=>{delete e._processingMiddleware,!e.isHydrating&&c.value&&await e.runWithContext(Im),m.matched.length===0&&await e.runWithContext(()=>Tn(To({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=ze.scrollBehavior}catch(m){await e.runWithContext(()=>Tn(m))}}),{provide:{router:l}}}}),ny=Mt({name:"nuxt:payload",setup(e){_m()&&(e.hooks.hook("link:prefetch",async t=>{Rr(t).protocol||await Xa(t)}),pt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await Xa(t.path);s&&Object.assign(e.static.data,s.data)}))}}),ry=Mt({name:"nuxt:global-components"}),un={},sy=Mt({name:"nuxt:prefetch",setup(e){const t=pt();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 un[s]=="function"&&await un[s]()})}),e.hooks.hook("link:prefetch",n=>{var i,a,l,f;if(En(n))return;const s=t.resolve(n);if(!s)return;const o=(i=s==null?void 0:s.meta)==null?void 0:i.layout;let r=Array.isArray((a=s==null?void 0:s.meta)==null?void 0:a.middleware)?(l=s==null?void 0:s.meta)==null?void 0:l.middleware:[(f=s==null?void 0:s.meta)==null?void 0:f.middleware];r=r.filter(u=>typeof u=="string");for(const u of r)typeof ur[u]=="function"&&ur[u]();o&&typeof un[o]=="function"&&un[o]()})}}),oy=Mt(()=>{});/*!
* shared v9.3.0-beta.27
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const No=typeof window<"u",Qt=(e,t=!1)=>t?Symbol.for(e):Symbol(e),iy=(e,t,n)=>ay({l:e,k:t,s:n}),ay=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Be=e=>typeof e=="number"&&isFinite(e),ly=e=>qu(e)==="[object Date]",gs=e=>qu(e)==="[object RegExp]",As=e=>ue(e)&&Object.keys(e).length===0,Ue=Object.assign;let pl;const Oi=()=>pl||(pl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gl(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const cy=Object.prototype.hasOwnProperty;function Ni(e,t){return cy.call(e,t)}const Ae=Array.isArray,De=e=>typeof e=="function",Q=e=>typeof e=="string",Ie=e=>typeof e=="boolean",he=e=>e!==null&&typeof e=="object",Ju=Object.prototype.toString,qu=e=>Ju.call(e),ue=e=>{if(!he(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},uy=e=>e==null?"":Ae(e)||ue(e)&&e.toString===Ju?JSON.stringify(e,null,2):String(e);function Mi(e,t=""){return e.reduce((n,s,o)=>o===0?n+s:n+t+s,"")}function Di(e){let t=e;return()=>++t}function fy(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}/*!
* message-compiler v9.3.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/function dy(e,t,n){return{line:e,column:t,offset:n}}function Mo(e,t,n){const s={start:e,end:t};return n!=null&&(s.source=n),s}const ve={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 Os(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 hy(e){throw e}const Rt=" ",py="\r",qe=`
`,gy=String.fromCharCode(8232),my=String.fromCharCode(8233);function vy(e){const t=e;let n=0,s=1,o=1,r=0;const i=S=>t[S]===py&&t[S+1]===qe,a=S=>t[S]===qe,l=S=>t[S]===my,f=S=>t[S]===gy,u=S=>i(S)||a(S)||l(S)||f(S),h=()=>n,d=()=>s,c=()=>o,p=()=>r,g=S=>i(S)||l(S)||f(S)?qe:t[S],v=()=>g(n),m=()=>g(n+r);function _(){return r=0,u(n)&&(s++,o=0),i(n)&&n++,n++,o++,t[n]}function b(){return i(n+r)&&r++,r++,t[n+r]}function x(){n=0,s=1,o=1,r=0}function y(S=0){r=S}function E(){const S=n+r;for(;S!==n;)_();r=0}return{index:h,line:d,column:c,peekOffset:p,charAt:g,currentChar:v,currentPeek:m,next:_,peek:b,reset:x,resetPeek:y,skipToPeek:E}}const Ut=void 0,yy=".",ml="'",_y="tokenizer";function xy(e,t={}){const n=t.location!==!1,s=vy(e),o=()=>s.index(),r=()=>dy(s.line(),s.column(),s.index()),i=r(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},f=()=>l,{onError:u}=t;function h(C,P,O,...M){const F=f();if(P.column+=O,P.offset+=O,u){const V=n?Mo(F.startLoc,P):null,K=Os(C,V,{domain:_y,args:M});u(K)}}function d(C,P,O){C.endLoc=r(),C.currentType=P;const M={type:P};return n&&(M.loc=Mo(C.startLoc,C.endLoc)),O!=null&&(M.value=O),M}const c=C=>d(C,14);function p(C,P){return C.currentChar()===P?(C.next(),P):(h(ve.EXPECTED_TOKEN,r(),0,P),"")}function g(C){let P="";for(;C.currentPeek()===Rt||C.currentPeek()===qe;)P+=C.currentPeek(),C.peek();return P}function v(C){const P=g(C);return C.skipToPeek(),P}function m(C){if(C===Ut)return!1;const P=C.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P===95}function _(C){if(C===Ut)return!1;const P=C.charCodeAt(0);return P>=48&&P<=57}function b(C,P){const{currentType:O}=P;if(O!==2)return!1;g(C);const M=m(C.currentPeek());return C.resetPeek(),M}function x(C,P){const{currentType:O}=P;if(O!==2)return!1;g(C);const M=C.currentPeek()==="-"?C.peek():C.currentPeek(),F=_(M);return C.resetPeek(),F}function y(C,P){const{currentType:O}=P;if(O!==2)return!1;g(C);const M=C.currentPeek()===ml;return C.resetPeek(),M}function E(C,P){const{currentType:O}=P;if(O!==8)return!1;g(C);const M=C.currentPeek()===".";return C.resetPeek(),M}function S(C,P){const{currentType:O}=P;if(O!==9)return!1;g(C);const M=m(C.currentPeek());return C.resetPeek(),M}function w(C,P){const{currentType:O}=P;if(!(O===8||O===12))return!1;g(C);const M=C.currentPeek()===":";return C.resetPeek(),M}function T(C,P){const{currentType:O}=P;if(O!==10)return!1;const M=()=>{const V=C.currentPeek();return V==="{"?m(C.peek()):V==="@"||V==="%"||V==="|"||V===":"||V==="."||V===Rt||!V?!1:V===qe?(C.peek(),M()):m(V)},F=M();return C.resetPeek(),F}function L(C){g(C);const P=C.currentPeek()==="|";return C.resetPeek(),P}function A(C){const P=g(C),O=C.currentPeek()==="%"&&C.peek()==="{";return C.resetPeek(),{isModulo:O,hasSpace:P.length>0}}function R(C,P=!0){const O=(F=!1,V="",K=!1)=>{const G=C.currentPeek();return G==="{"?V==="%"?!1:F:G==="@"||!G?V==="%"?!0:F:G==="%"?(C.peek(),O(F,"%",!0)):G==="|"?V==="%"||K?!0:!(V===Rt||V===qe):G===Rt?(C.peek(),O(!0,Rt,K)):G===qe?(C.peek(),O(!0,qe,K)):!0},M=O();return P&&C.resetPeek(),M}function k(C,P){const O=C.currentChar();return O===Ut?Ut:P(O)?(C.next(),O):null}function N(C){return k(C,O=>{const M=O.charCodeAt(0);return M>=97&&M<=122||M>=65&&M<=90||M>=48&&M<=57||M===95||M===36})}function B(C){return k(C,O=>{const M=O.charCodeAt(0);return M>=48&&M<=57})}function j(C){return k(C,O=>{const M=O.charCodeAt(0);return M>=48&&M<=57||M>=65&&M<=70||M>=97&&M<=102})}function U(C){let P="",O="";for(;P=B(C);)O+=P;return O}function J(C){v(C);const P=C.currentChar();return P!=="%"&&h(ve.EXPECTED_TOKEN,r(),0,P),C.next(),"%"}function se(C){let P="";for(;;){const O=C.currentChar();if(O==="{"||O==="}"||O==="@"||O==="|"||!O)break;if(O==="%")if(R(C))P+=O,C.next();else break;else if(O===Rt||O===qe)if(R(C))P+=O,C.next();else{if(L(C))break;P+=O,C.next()}else P+=O,C.next()}return P}function le(C){v(C);let P="",O="";for(;P=N(C);)O+=P;return C.currentChar()===Ut&&h(ve.UNTERMINATED_CLOSING_BRACE,r(),0),O}function me(C){v(C);let P="";return C.currentChar()==="-"?(C.next(),P+=`-${U(C)}`):P+=U(C),C.currentChar()===Ut&&h(ve.UNTERMINATED_CLOSING_BRACE,r(),0),P}function te(C){v(C),p(C,"'");let P="",O="";const M=V=>V!==ml&&V!==qe;for(;P=k(C,M);)P==="\\"?O+=Ee(C):O+=P;const F=C.currentChar();return F===qe||F===Ut?(h(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),F===qe&&(C.next(),p(C,"'")),O):(p(C,"'"),O)}function Ee(C){const P=C.currentChar();switch(P){case"\\":case"'":return C.next(),`\\${P}`;case"u":return ye(C,P,4);case"U":return ye(C,P,6);default:return h(ve.UNKNOWN_ESCAPE_SEQUENCE,r(),0,P),""}}function ye(C,P,O){p(C,P);let M="";for(let F=0;F<O;F++){const V=j(C);if(!V){h(ve.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${P}${M}${C.currentChar()}`);break}M+=V}return`\\${P}${M}`}function Me(C){v(C);let P="",O="";const M=F=>F!=="{"&&F!=="}"&&F!==Rt&&F!==qe;for(;P=k(C,M);)O+=P;return O}function ae(C){let P="",O="";for(;P=N(C);)O+=P;return O}function H(C){const P=(O=!1,M)=>{const F=C.currentChar();return F==="{"||F==="%"||F==="@"||F==="|"||!F||F===Rt?M:F===qe||F===yy?(M+=F,C.next(),P(O,M)):m(F)?(M+=F,C.next(),P(!0,M)):M};return P(!1,"")}function X(C){v(C);const P=p(C,"|");return v(C),P}function Y(C,P){let O=null;switch(C.currentChar()){case"{":return P.braceNest>=1&&h(ve.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),C.next(),O=d(P,2,"{"),v(C),P.braceNest++,O;case"}":return P.braceNest>0&&P.currentType===2&&h(ve.EMPTY_PLACEHOLDER,r(),0),C.next(),O=d(P,3,"}"),P.braceNest--,P.braceNest>0&&v(C),P.inLinked&&P.braceNest===0&&(P.inLinked=!1),O;case"@":return P.braceNest>0&&h(ve.UNTERMINATED_CLOSING_BRACE,r(),0),O=z(C,P)||c(P),P.braceNest=0,O;default:let F=!0,V=!0,K=!0;if(L(C))return P.braceNest>0&&h(ve.UNTERMINATED_CLOSING_BRACE,r(),0),O=d(P,1,X(C)),P.braceNest=0,P.inLinked=!1,O;if(P.braceNest>0&&(P.currentType===5||P.currentType===6||P.currentType===7))return h(ve.UNTERMINATED_CLOSING_BRACE,r(),0),P.braceNest=0,ce(C,P);if(F=b(C,P))return O=d(P,5,le(C)),v(C),O;if(V=x(C,P))return O=d(P,6,me(C)),v(C),O;if(K=y(C,P))return O=d(P,7,te(C)),v(C),O;if(!F&&!V&&!K)return O=d(P,13,Me(C)),h(ve.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,O.value),v(C),O;break}return O}function z(C,P){const{currentType:O}=P;let M=null;const F=C.currentChar();switch((O===8||O===9||O===12||O===10)&&(F===qe||F===Rt)&&h(ve.INVALID_LINKED_FORMAT,r(),0),F){case"@":return C.next(),M=d(P,8,"@"),P.inLinked=!0,M;case".":return v(C),C.next(),d(P,9,".");case":":return v(C),C.next(),d(P,10,":");default:return L(C)?(M=d(P,1,X(C)),P.braceNest=0,P.inLinked=!1,M):E(C,P)||w(C,P)?(v(C),z(C,P)):S(C,P)?(v(C),d(P,12,ae(C))):T(C,P)?(v(C),F==="{"?Y(C,P)||M:d(P,11,H(C))):(O===8&&h(ve.INVALID_LINKED_FORMAT,r(),0),P.braceNest=0,P.inLinked=!1,ce(C,P))}}function ce(C,P){let O={type:14};if(P.braceNest>0)return Y(C,P)||c(P);if(P.inLinked)return z(C,P)||c(P);switch(C.currentChar()){case"{":return Y(C,P)||c(P);case"}":return h(ve.UNBALANCED_CLOSING_BRACE,r(),0),C.next(),d(P,3,"}");case"@":return z(C,P)||c(P);default:if(L(C))return O=d(P,1,X(C)),P.braceNest=0,P.inLinked=!1,O;const{isModulo:F,hasSpace:V}=A(C);if(F)return V?d(P,0,se(C)):d(P,4,J(C));if(R(C))return d(P,0,se(C));break}return O}function I(){const{currentType:C,offset:P,startLoc:O,endLoc:M}=l;return l.lastType=C,l.lastOffset=P,l.lastStartLoc=O,l.lastEndLoc=M,l.offset=o(),l.startLoc=r(),s.currentChar()===Ut?d(l,14):ce(s,l)}return{nextToken:I,currentOffset:o,currentPosition:r,context:f}}const Ey="parser",Cy=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function by(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 wy(e={}){const t=e.location!==!1,{onError:n}=e;function s(m,_,b,x,...y){const E=m.currentPosition();if(E.offset+=x,E.column+=x,n){const S=t?Mo(b,E):null,w=Os(_,S,{domain:Ey,args:y});n(w)}}function o(m,_,b){const x={type:m};return t&&(x.start=_,x.end=_,x.loc={start:b,end:b}),x}function r(m,_,b,x){x&&(m.type=x),t&&(m.end=_,m.loc&&(m.loc.end=b))}function i(m,_){const b=m.context(),x=o(3,b.offset,b.startLoc);return x.value=_,r(x,m.currentOffset(),m.currentPosition()),x}function a(m,_){const b=m.context(),{lastOffset:x,lastStartLoc:y}=b,E=o(5,x,y);return E.index=parseInt(_,10),m.nextToken(),r(E,m.currentOffset(),m.currentPosition()),E}function l(m,_){const b=m.context(),{lastOffset:x,lastStartLoc:y}=b,E=o(4,x,y);return E.key=_,m.nextToken(),r(E,m.currentOffset(),m.currentPosition()),E}function f(m,_){const b=m.context(),{lastOffset:x,lastStartLoc:y}=b,E=o(9,x,y);return E.value=_.replace(Cy,by),m.nextToken(),r(E,m.currentOffset(),m.currentPosition()),E}function u(m){const _=m.nextToken(),b=m.context(),{lastOffset:x,lastStartLoc:y}=b,E=o(8,x,y);return _.type!==12?(s(m,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,b.lastStartLoc,0),E.value="",r(E,x,y),{nextConsumeToken:_,node:E}):(_.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,bt(_)),E.value=_.value||"",r(E,m.currentOffset(),m.currentPosition()),{node:E})}function h(m,_){const b=m.context(),x=o(7,b.offset,b.startLoc);return x.value=_,r(x,m.currentOffset(),m.currentPosition()),x}function d(m){const _=m.context(),b=o(6,_.offset,_.startLoc);let x=m.nextToken();if(x.type===9){const y=u(m);b.modifier=y.node,x=y.nextConsumeToken||m.nextToken()}switch(x.type!==10&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(x)),x=m.nextToken(),x.type===2&&(x=m.nextToken()),x.type){case 11:x.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(x)),b.key=h(m,x.value||"");break;case 5:x.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(x)),b.key=l(m,x.value||"");break;case 6:x.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(x)),b.key=a(m,x.value||"");break;case 7:x.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(x)),b.key=f(m,x.value||"");break;default:s(m,ve.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const y=m.context(),E=o(7,y.offset,y.startLoc);return E.value="",r(E,y.offset,y.startLoc),b.key=E,r(b,y.offset,y.startLoc),{nextConsumeToken:x,node:b}}return r(b,m.currentOffset(),m.currentPosition()),{node:b}}function c(m){const _=m.context(),b=_.currentType===1?m.currentOffset():_.offset,x=_.currentType===1?_.endLoc:_.startLoc,y=o(2,b,x);y.items=[];let E=null;do{const T=E||m.nextToken();switch(E=null,T.type){case 0:T.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(T)),y.items.push(i(m,T.value||""));break;case 6:T.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(T)),y.items.push(a(m,T.value||""));break;case 5:T.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(T)),y.items.push(l(m,T.value||""));break;case 7:T.value==null&&s(m,ve.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,bt(T)),y.items.push(f(m,T.value||""));break;case 8:const L=d(m);y.items.push(L.node),E=L.nextConsumeToken||null;break}}while(_.currentType!==14&&_.currentType!==1);const S=_.currentType===1?_.lastOffset:m.currentOffset(),w=_.currentType===1?_.lastEndLoc:m.currentPosition();return r(y,S,w),y}function p(m,_,b,x){const y=m.context();let E=x.items.length===0;const S=o(1,_,b);S.cases=[],S.cases.push(x);do{const w=c(m);E||(E=w.items.length===0),S.cases.push(w)}while(y.currentType!==14);return E&&s(m,ve.MUST_HAVE_MESSAGES_IN_PLURAL,b,0),r(S,m.currentOffset(),m.currentPosition()),S}function g(m){const _=m.context(),{offset:b,startLoc:x}=_,y=c(m);return _.currentType===14?y:p(m,b,x,y)}function v(m){const _=xy(m,Ue({},e)),b=_.context(),x=o(0,b.offset,b.startLoc);return t&&x.loc&&(x.loc.source=m),x.body=g(_),e.onCacheKey&&(x.cacheKey=e.onCacheKey(m)),b.currentType!==14&&s(_,ve.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,m[b.offset]||""),r(x,_.currentOffset(),_.currentPosition()),x}return{parse:v}}function bt(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 Sy(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function vl(e,t){for(let n=0;n<e.length;n++)Fi(e[n],t)}function Fi(e,t){switch(e.type){case 1:vl(e.cases,t),t.helper("plural");break;case 2:vl(e.items,t);break;case 6:Fi(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 Py(e,t={}){const n=Sy(e);n.helper("normalize"),e.body&&Fi(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function Ly(e){const t=e.body;return t.type===2?yl(t):t.cases.forEach(n=>yl(n)),e}function yl(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const 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=Mi(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 Ln(e){switch(e.t=e.type,e.type){case 0:const t=e;Ln(t.body),t.b=t.body,delete t.body;break;case 1:const n=e,s=n.cases;for(let u=0;u<s.length;u++)Ln(s[u]);n.c=s,delete n.cases;break;case 2:const o=e,r=o.items;for(let u=0;u<r.length;u++)Ln(r[u]);o.i=r,delete o.items,o.static&&(o.s=o.static,delete o.static);break;case 3:case 9:case 8:case 7:const i=e;i.value&&(i.v=i.value,delete i.value);break;case 6:const a=e;Ln(a.key),a.k=a.key,delete a.key,a.modifier&&(Ln(a.modifier),a.m=a.modifier,delete a.modifier);break;case 5:const l=e;l.i=l.index,delete l.index;break;case 4:const f=e;f.k=f.key,delete f.key;break}delete e.type}function Ty(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 f(v,m){a.code+=v}function u(v,m=!0){const _=m?o:"";f(r?_+" ".repeat(v):_)}function h(v=!0){const m=++a.indentLevel;v&&u(m)}function d(v=!0){const m=--a.indentLevel;v&&u(m)}function c(){u(a.indentLevel)}return{context:l,push:f,indent:h,deindent:d,newline:c,helper:v=>`_${v}`,needIndent:()=>a.needIndent}}function Ry(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Hn(e,t.key),t.modifier?(e.push(", "),Hn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ky(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&&(Hn(e,t.items[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}function Iy(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&&(Hn(e,t.cases[r]),r!==o-1);r++)e.push(", ");e.deindent(s()),e.push("])")}}function Ay(e,t){t.body?Hn(e,t.body):e.push("null")}function Hn(e,t){const{helper:n}=e;switch(t.type){case 0:Ay(e,t);break;case 1:Iy(e,t);break;case 2:ky(e,t);break;case 6:Ry(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 Oy=(e,t={})=>{const n=Q(t.mode)?t.mode:"normal",s=Q(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=Ty(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 { ${Mi(a.map(h=>`${h}: _${h}`),", ")} } = ctx`),l.newline()),l.push("return "),Hn(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:f,map:u}=l.context();return{ast:e,code:f,map:u?u.toJSON():void 0}};function Ny(e,t={}){const n=Ue({},t),s=!!n.jit,o=!!n.minify,r=n.optimize==null?!0:n.optimize,a=wy(n).parse(e);return s?(r&&Ly(a),o&&Ln(a),{ast:a,code:""}):(Py(a,n),Oy(a,n))}/*!
* devtools-if v9.3.0-beta.27
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const Qu={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* core-base v9.3.0-beta.27
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/function My(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oi().__INTLIFY_PROD_DEVTOOLS__=!1)}const zt=[];zt[0]={w:[0],i:[3,0],"[":[4],o:[7]};zt[1]={w:[1],".":[2],"[":[4],o:[7]};zt[2]={w:[2],i:[3,0],0:[3,0]};zt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};zt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};zt[5]={"'":[4,0],o:8,l:[5,0]};zt[6]={'"':[4,0],o:8,l:[6,0]};const Dy=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Fy(e){return Dy.test(e)}function $y(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 By(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 Hy(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Fy(t)?$y(t):"*"+t}function Uy(e){const t=[];let n=-1,s=0,o=0,r,i,a,l,f,u,h;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,s=4,d[0]();else{if(o=0,i===void 0||(i=Hy(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=By(r),h=zt[s],f=h[l]||h.l||8,f===8||(s=f[0],f[1]!==void 0&&(u=d[f[1]],u&&(a=r,u()===!1))))return;if(s===7)return t}}const _l=new Map;function jy(e,t){return he(e)?e[t]:null}function Vy(e,t){if(!he(e))return null;let n=_l.get(t);if(n||(n=Uy(t),n&&_l.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)return null;o=i,r++}return o}const Wy=e=>e,Ky=e=>"",Gy="text",Xy=e=>e.length===0?"":Mi(e),Yy=uy;function xl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Jy(e){const t=Be(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Be(e.named.count)||Be(e.named.n))?Be(e.named.count)?e.named.count:Be(e.named.n)?e.named.n:t:t}function qy(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Qy(e={}){const t=e.locale,n=Jy(e),s=he(e.pluralRules)&&Q(t)&&De(e.pluralRules[t])?e.pluralRules[t]:xl,o=he(e.pluralRules)&&Q(t)&&De(e.pluralRules[t])?xl:void 0,r=m=>m[s(n,m.length,o)],i=e.list||[],a=m=>i[m],l=e.named||{};Be(e.pluralIndex)&&qy(n,l);const f=m=>l[m];function u(m){const _=De(e.messages)?e.messages(m):he(e.messages)?e.messages[m]:!1;return _||(e.parent?e.parent.message(m):Ky)}const h=m=>e.modifiers?e.modifiers[m]:Wy,d=ue(e.processor)&&De(e.processor.normalize)?e.processor.normalize:Xy,c=ue(e.processor)&&De(e.processor.interpolate)?e.processor.interpolate:Yy,p=ue(e.processor)&&Q(e.processor.type)?e.processor.type:Gy,v={list:a,named:f,plural:r,linked:(m,..._)=>{const[b,x]=_;let y="text",E="";_.length===1?he(b)?(E=b.modifier||E,y=b.type||y):Q(b)&&(E=b||E):_.length===2&&(Q(b)&&(E=b||E),Q(x)&&(y=x||y));const S=u(m)(v),w=y==="vnode"&&Ae(S)&&E?S[0]:S;return E?h(E)(w,y):w},message:u,type:p,interpolate:c,normalize:d,values:Ue({},i,l)};return v}let Er=null;function zy(e){Er=e}function Zy(e,t,n){Er&&Er.emit(Qu.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const e0=t0(Qu.FunctionTranslate);function t0(e){return t=>Er&&Er.emit(e,t)}const n0={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8};function r0(e,t,n){return[...new Set([n,...Ae(t)?t:he(t)?Object.keys(t):Q(t)?[t]:[n]])]}function zu(e,t,n){const s=Q(n)?n:$i,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let r=o.__localeChainCache.get(s);if(!r){r=[];let i=[n];for(;Ae(i);)i=El(r,i,t);const a=Ae(t)||!ue(t)?t:t.default?t.default:null;i=Q(a)?[a]:a,Ae(i)&&El(r,i,!1),o.__localeChainCache.set(s,r)}return r}function El(e,t,n){let s=!0;for(let o=0;o<t.length&&Ie(s);o++){const r=t[o];Q(r)&&(s=s0(e,t[o],n))}return s}function s0(e,t,n){let s;const o=t.split("-");do{const r=o.join("-");s=o0(e,r,n),o.splice(-1,1)}while(o.length&&s===!0);return s}function o0(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),(Ae(n)||ue(n))&&n[o]&&(s=n[o])}return s}const i0="9.3.0-beta.27",Ns=-1,$i="en-US",Cl="",bl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function a0(){return{upper:(e,t)=>t==="text"&&Q(e)?e.toUpperCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Q(e)?e.toLowerCase():t==="vnode"&&he(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Q(e)?bl(e):t==="vnode"&&he(e)&&"__v_isVNode"in e?bl(e.children):e}}let Zu;function l0(e){Zu=e}let ef;function c0(e){ef=e}let tf;function u0(e){tf=e}let nf=null;const wl=e=>{nf=e},f0=()=>nf;let rf=null;const Sl=e=>{rf=e},d0=()=>rf;let Pl=0;function h0(e={}){const t=De(e.onWarn)?e.onWarn:fy,n=Q(e.version)?e.version:i0,s=Q(e.locale)?e.locale:$i,o=Ae(e.fallbackLocale)||ue(e.fallbackLocale)||Q(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,r=ue(e.messages)?e.messages:{[s]:{}},i=ue(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},a=ue(e.numberFormats)?e.numberFormats:{[s]:{}},l=Ue({},e.modifiers||{},a0()),f=e.pluralRules||{},u=De(e.missing)?e.missing:null,h=Ie(e.missingWarn)||gs(e.missingWarn)?e.missingWarn:!0,d=Ie(e.fallbackWarn)||gs(e.fallbackWarn)?e.fallbackWarn:!0,c=!!e.fallbackFormat,p=!!e.unresolving,g=De(e.postTranslation)?e.postTranslation:null,v=ue(e.processor)?e.processor:null,m=Ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,b=De(e.messageCompiler)?e.messageCompiler:Zu,x=De(e.messageResolver)?e.messageResolver:ef||jy,y=De(e.localeFallbacker)?e.localeFallbacker:tf||r0,E=he(e.fallbackContext)?e.fallbackContext:void 0,S=e,w=he(S.__datetimeFormatters)?S.__datetimeFormatters:new Map,T=he(S.__numberFormatters)?S.__numberFormatters:new Map,L=he(S.__meta)?S.__meta:{};Pl++;const A={version:n,cid:Pl,locale:s,fallbackLocale:o,messages:r,modifiers:l,pluralRules:f,missing:u,missingWarn:h,fallbackWarn:d,fallbackFormat:c,unresolving:p,postTranslation:g,processor:v,warnHtmlMessage:m,escapeParameter:_,messageCompiler:b,messageResolver:x,localeFallbacker:y,fallbackContext:E,onWarn:t,__meta:L};return A.datetimeFormats=i,A.numberFormats=a,A.__datetimeFormatters=w,A.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&Zy(A,n,L),A}function Bi(e,t,n,s,o){const{missing:r,onWarn:i}=e;if(r!==null){const a=r(e,n,t,o);return Q(a)?a:t}else return t}function Zn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function no(e){return n=>p0(n,e)}function p0(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,Ll(e,i)],[]))}else return Ll(e,n)}function Ll(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,Do(e,r)],[]);return e.normalize(s)}}function Do(e,t){const n=t.t||t.type;switch(n){case 3:const s=t;return s.v||s.value;case 9:const o=t;return o.v||o.value;case 4:const r=t;return e.interpolate(e.named(r.k||r.key));case 5:const i=t;return e.interpolate(e.list(i.i||i.index));case 6:const a=t,l=a.m||a.modifier;return e.linked(Do(e,a.k||a.key),l?Do(e,l):void 0,e.type);case 7:const f=t;return f.v||f.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const sf=ve.__EXTEND_POINT__,Kr=Di(sf),fn={INVALID_ARGUMENT:sf,INVALID_DATE_ARGUMENT:Kr(),INVALID_ISO_DATE_ARGUMENT:Kr(),NOT_SUPPORT_NON_STRING_MESSAGE:Kr(),__EXTEND_POINT__:Kr()};function Rn(e){return Os(e,null,void 0)}const g0=e=>e;let Gr=Object.create(null);const Cr=e=>he(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function m0(e,t={}){let n=!1;const s=t.onError||hy;return t.onError=o=>{n=!0,s(o)},{...Ny(e,t),detectError:n}}function v0(e,t){if(Q(e)){Ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||g0)(e),o=Gr[s];if(o)return o;const{ast:r,detectError:i}=m0(e,{...t,location:!1,jit:!0}),a=no(r);return i?a:Gr[s]=a}else{const n=e.cacheKey;if(n){const s=Gr[n];return s||(Gr[n]=no(e))}else return no(e)}}const Tl=()=>"",mt=e=>De(e);function Rl(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:o,messageCompiler:r,fallbackLocale:i,messages:a}=e,[l,f]=Fo(...t),u=Ie(f.missingWarn)?f.missingWarn:e.missingWarn,h=Ie(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn,d=Ie(f.escapeParameter)?f.escapeParameter:e.escapeParameter,c=!!f.resolvedMessage,p=Q(f.default)||Ie(f.default)?Ie(f.default)?r?l:()=>l:f.default:n?r?l:()=>l:"",g=n||p!=="",v=Q(f.locale)?f.locale:e.locale;d&&y0(f);let[m,_,b]=c?[l,v,a[v]||{}]:of(e,l,v,i,h,u),x=m,y=l;if(!c&&!(Q(x)||Cr(x)||mt(x))&&g&&(x=p,y=x),!c&&(!(Q(x)||Cr(x)||mt(x))||!Q(_)))return o?Ns:l;let E=!1;const S=()=>{E=!0},w=mt(x)?x:af(e,l,_,x,y,S);if(E)return x;const T=E0(e,_,b,f),L=Qy(T),A=_0(e,w,L),R=s?s(A,l):A;if(__INTLIFY_PROD_DEVTOOLS__){const k={timestamp:Date.now(),key:Q(l)?l:mt(x)?x.key:"",locale:_||(mt(x)?x.locale:""),format:Q(x)?x:mt(x)?x.source:"",message:R};k.meta=Ue({},e.__meta,f0()||{}),e0(k)}return R}function y0(e){Ae(e.list)?e.list=e.list.map(t=>Q(t)?gl(t):t):he(e.named)&&Object.keys(e.named).forEach(t=>{Q(e.named[t])&&(e.named[t]=gl(e.named[t]))})}function of(e,t,n,s,o,r){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:f}=e,u=f(e,s,n);let h={},d,c=null;const p="translate";for(let g=0;g<u.length&&(d=u[g],h=i[d]||{},(c=l(h,t))===null&&(c=h[t]),!(Q(c)||Cr(c)||mt(c)));g++){const v=Bi(e,t,d,r,p);v!==t&&(c=v)}return[c,d,h]}function af(e,t,n,s,o,r){const{messageCompiler:i,warnHtmlMessage:a}=e;if(mt(s)){const f=s;return f.locale=f.locale||n,f.key=f.key||t,f}if(i==null){const f=()=>s;return f.locale=n,f.key=t,f}const l=i(s,x0(e,n,o,s,a,r));return l.locale=n,l.key=t,l.source=s,l}function _0(e,t,n){return t(n)}function Fo(...e){const[t,n,s]=e,o={};if(!Q(t)&&!Be(t)&&!mt(t)&&!Cr(t))throw Rn(fn.INVALID_ARGUMENT);const r=Be(t)?String(t):(mt(t),t);return Be(n)?o.plural=n:Q(n)?o.default=n:ue(n)&&!As(n)?o.named=n:Ae(n)&&(o.list=n),Be(s)?o.plural=s:Q(s)?o.default=s:ue(s)&&Ue(o,s),[r,o]}function x0(e,t,n,s,o,r){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw r&&r(i),i},onCacheKey:i=>iy(t,n,i)}}function E0(e,t,n,s){const{modifiers:o,pluralRules:r,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:f,fallbackContext:u}=e,d={locale:t,modifiers:o,pluralRules:r,messages:c=>{let p=i(n,c);if(p==null&&u){const[,,g]=of(u,c,t,a,l,f);p=i(g,c)}if(Q(p)||Cr(p)){let g=!1;const m=af(e,c,t,p,c,()=>{g=!0});return g?Tl:m}else return mt(p)?p:Tl}};return e.processor&&(d.processor=e.processor),s.list&&(d.list=s.list),s.named&&(d.named=s.named),Be(s.plural)&&(d.pluralIndex=s.plural),d}function kl(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,f,u,h]=$o(...t),d=Ie(u.missingWarn)?u.missingWarn:e.missingWarn;Ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=Q(u.locale)?u.locale:e.locale,g=i(e,o,p);if(!Q(l)||l==="")return new Intl.DateTimeFormat(p,h).format(f);let v={},m,_=null;const b="datetime format";for(let E=0;E<g.length&&(m=g[E],v=n[m]||{},_=v[l],!ue(_));E++)Bi(e,l,m,d,b);if(!ue(_)||!Q(m))return s?Ns:l;let x=`${m}__${l}`;As(h)||(x=`${x}__${JSON.stringify(h)}`);let y=a.get(x);return y||(y=new Intl.DateTimeFormat(m,Ue({},_,h)),a.set(x,y)),c?y.formatToParts(f):y.format(f)}const lf=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function $o(...e){const[t,n,s,o]=e,r={};let i={},a;if(Q(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Rn(fn.INVALID_ISO_DATE_ARGUMENT);const f=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(f);try{a.toISOString()}catch{throw Rn(fn.INVALID_ISO_DATE_ARGUMENT)}}else if(ly(t)){if(isNaN(t.getTime()))throw Rn(fn.INVALID_DATE_ARGUMENT);a=t}else if(Be(t))a=t;else throw Rn(fn.INVALID_ARGUMENT);return Q(n)?r.key=n:ue(n)&&Object.keys(n).forEach(l=>{lf.includes(l)?i[l]=n[l]:r[l]=n[l]}),Q(s)?r.locale=s:ue(s)&&(i=s),ue(o)&&(i=o),[r.key||"",a,r,i]}function Il(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__datetimeFormatters.has(r)&&s.__datetimeFormatters.delete(r)}}function Al(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:o,onWarn:r,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,f,u,h]=Bo(...t),d=Ie(u.missingWarn)?u.missingWarn:e.missingWarn;Ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const c=!!u.part,p=Q(u.locale)?u.locale:e.locale,g=i(e,o,p);if(!Q(l)||l==="")return new Intl.NumberFormat(p,h).format(f);let v={},m,_=null;const b="number format";for(let E=0;E<g.length&&(m=g[E],v=n[m]||{},_=v[l],!ue(_));E++)Bi(e,l,m,d,b);if(!ue(_)||!Q(m))return s?Ns:l;let x=`${m}__${l}`;As(h)||(x=`${x}__${JSON.stringify(h)}`);let y=a.get(x);return y||(y=new Intl.NumberFormat(m,Ue({},_,h)),a.set(x,y)),c?y.formatToParts(f):y.format(f)}const cf=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Bo(...e){const[t,n,s,o]=e,r={};let i={};if(!Be(t))throw Rn(fn.INVALID_ARGUMENT);const a=t;return Q(n)?r.key=n:ue(n)&&Object.keys(n).forEach(l=>{cf.includes(l)?i[l]=n[l]:r[l]=n[l]}),Q(s)?r.locale=s:ue(s)&&(i=s),ue(o)&&(i=o),[r.key||"",a,r,i]}function Ol(e,t,n){const s=e;for(const o in n){const r=`${t}__${o}`;s.__numberFormatters.has(r)&&s.__numberFormatters.delete(r)}}My();/*!
* vue-i18n v9.3.0-beta.27
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const C0="9.3.0-beta.27";function b0(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Oi().__INTLIFY_PROD_DEVTOOLS__=!1)}const uf=n0.__EXTEND_POINT__,jt=Di(uf);jt(),jt(),jt(),jt(),jt(),jt(),jt(),jt();const ff=fn.__EXTEND_POINT__,Ze=Di(ff),at={UNEXPECTED_RETURN_TYPE:ff,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function dt(e,...t){return Os(e,null,void 0)}const Ho=Qt("__translateVNode"),Uo=Qt("__datetimeParts"),jo=Qt("__numberParts"),w0=Qt("__setPluralRules"),S0=Qt("__injectWithOption"),Vo=Qt("__dispose");function Wo(e){if(!he(e))return e;for(const t in e)if(Ni(e,t))if(!t.includes("."))he(e[t])&&Wo(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]])&&Wo(o[n[s]])}return e}function df(e,t){const{messages:n,__i18n:s,messageResolver:o,flatJson:r}=t,i=ue(n)?n:Ae(s)?{}:{[e]:{}};if(Ae(s)&&s.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:f}=a;l?(i[l]=i[l]||{},fr(f,i[l])):fr(f,i)}else Q(a)&&fr(JSON.parse(a),i)}),o==null&&r)for(const a in i)Ni(i,a)&&Wo(i[a]);return i}const Xr=e=>!he(e)||Ae(e);function fr(e,t){if(Xr(e)||Xr(t))throw dt(at.INVALID_VALUE);for(const n in e)Ni(e,n)&&(Xr(e[n])||Xr(t[n])?t[n]=e[n]:fr(e[n],t[n]))}function hf(e){return e.type}function P0(e,t,n){let s=he(t.messages)?t.messages:{};"__i18nGlobal"in n&&(s=df(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 Nl(e){return ke(yn,null,e,0)}const Ml="__INTLIFY_META__";let Dl=0;function Fl(e){return(t,n,s,o)=>e(n,s,xn()||void 0,o)}const L0=()=>{const e=xn();let t=null;return e&&(t=hf(e)[Ml])?{[Ml]:t}:null};function pf(e={},t){const{__root:n,__injectWithOption:s}=e,o=n===void 0;let r=Ie(e.inheritLocale)?e.inheritLocale:!0;const i=ge(n&&r?n.locale.value:Q(e.locale)?e.locale:$i),a=ge(n&&r?n.fallbackLocale.value:Q(e.fallbackLocale)||Ae(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),l=ge(df(i.value,e)),f=ge(ue(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),u=ge(ue(e.numberFormats)?e.numberFormats:{[i.value]:{}});let h=n?n.missingWarn:Ie(e.missingWarn)||gs(e.missingWarn)?e.missingWarn:!0,d=n?n.fallbackWarn:Ie(e.fallbackWarn)||gs(e.fallbackWarn)?e.fallbackWarn:!0,c=n?n.fallbackRoot:Ie(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,g=De(e.missing)?e.missing:null,v=De(e.missing)?Fl(e.missing):null,m=De(e.postTranslation)?e.postTranslation:null,_=n?n.warnHtmlMessage:Ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const x=n?n.modifiers:ue(e.modifiers)?e.modifiers:{};let y=e.pluralRules||n&&n.pluralRules,E;E=(()=>{o&&Sl(null);const D={version:C0,locale:i.value,fallbackLocale:a.value,messages:l.value,modifiers:x,pluralRules:y,missing:v===null?void 0:v,missingWarn:h,fallbackWarn:d,fallbackFormat:p,unresolving:!0,postTranslation:m===null?void 0:m,warnHtmlMessage:_,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};D.datetimeFormats=f.value,D.numberFormats=u.value,D.__datetimeFormatters=ue(E)?E.__datetimeFormatters:void 0,D.__numberFormatters=ue(E)?E.__numberFormatters:void 0;const $=h0(D);return o&&Sl($),$})(),Zn(E,i.value,a.value);function w(){return[i.value,a.value,l.value,f.value,u.value]}const T=we({get:()=>i.value,set:D=>{i.value=D,E.locale=i.value}}),L=we({get:()=>a.value,set:D=>{a.value=D,E.fallbackLocale=a.value,Zn(E,i.value,D)}}),A=we(()=>l.value),R=we(()=>f.value),k=we(()=>u.value);function N(){return De(m)?m:null}function B(D){m=D,E.postTranslation=D}function j(){return g}function U(D){D!==null&&(v=Fl(D)),g=D,E.missing=v}const J=(D,$,Z,ee,_e,fe)=>{w();let Se;try{__INTLIFY_PROD_DEVTOOLS__&&wl(L0()),o||(E.fallbackContext=n?d0():void 0),Se=D(E)}finally{__INTLIFY_PROD_DEVTOOLS__&&wl(null),o||(E.fallbackContext=void 0)}if(Be(Se)&&Se===Ns){const[st,Zt]=$();return n&&c?ee(n):_e(st)}else{if(fe(Se))return Se;throw dt(at.UNEXPECTED_RETURN_TYPE)}};function se(...D){return J($=>Reflect.apply(Rl,null,[$,...D]),()=>Fo(...D),"translate",$=>Reflect.apply($.t,$,[...D]),$=>$,$=>Q($))}function le(...D){const[$,Z,ee]=D;if(ee&&!he(ee))throw dt(at.INVALID_ARGUMENT);return se($,Z,Ue({resolvedMessage:!0},ee||{}))}function me(...D){return J($=>Reflect.apply(kl,null,[$,...D]),()=>$o(...D),"datetime format",$=>Reflect.apply($.d,$,[...D]),()=>Cl,$=>Q($))}function te(...D){return J($=>Reflect.apply(Al,null,[$,...D]),()=>Bo(...D),"number format",$=>Reflect.apply($.n,$,[...D]),()=>Cl,$=>Q($))}function Ee(D){return D.map($=>Q($)||Be($)||Ie($)?Nl(String($)):$)}const Me={normalize:Ee,interpolate:D=>D,type:"vnode"};function ae(...D){return J($=>{let Z;const ee=$;try{ee.processor=Me,Z=Reflect.apply(Rl,null,[ee,...D])}finally{ee.processor=null}return Z},()=>Fo(...D),"translate",$=>$[Ho](...D),$=>[Nl($)],$=>Ae($))}function H(...D){return J($=>Reflect.apply(Al,null,[$,...D]),()=>Bo(...D),"number format",$=>$[jo](...D),()=>[],$=>Q($)||Ae($))}function X(...D){return J($=>Reflect.apply(kl,null,[$,...D]),()=>$o(...D),"datetime format",$=>$[Uo](...D),()=>[],$=>Q($)||Ae($))}function Y(D){y=D,E.pluralRules=y}function z(D,$){const Z=Q($)?$:i.value,ee=C(Z);return E.messageResolver(ee,D)!==null}function ce(D){let $=null;const Z=zu(E,a.value,i.value);for(let ee=0;ee<Z.length;ee++){const _e=l.value[Z[ee]]||{},fe=E.messageResolver(_e,D);if(fe!=null){$=fe;break}}return $}function I(D){const $=ce(D);return $??(n?n.tm(D)||{}:{})}function C(D){return l.value[D]||{}}function P(D,$){l.value[D]=$,E.messages=l.value}function O(D,$){l.value[D]=l.value[D]||{},fr($,l.value[D]),E.messages=l.value}function M(D){return f.value[D]||{}}function F(D,$){f.value[D]=$,E.datetimeFormats=f.value,Il(E,D,$)}function V(D,$){f.value[D]=Ue(f.value[D]||{},$),E.datetimeFormats=f.value,Il(E,D,$)}function K(D){return u.value[D]||{}}function G(D,$){u.value[D]=$,E.numberFormats=u.value,Ol(E,D,$)}function W(D,$){u.value[D]=Ue(u.value[D]||{},$),E.numberFormats=u.value,Ol(E,D,$)}Dl++,n&&No&&(xt(n.locale,D=>{r&&(i.value=D,E.locale=D,Zn(E,i.value,a.value))}),xt(n.fallbackLocale,D=>{r&&(a.value=D,E.fallbackLocale=D,Zn(E,i.value,a.value))}));const q={id:Dl,locale:T,fallbackLocale:L,get inheritLocale(){return r},set inheritLocale(D){r=D,D&&n&&(i.value=n.locale.value,a.value=n.fallbackLocale.value,Zn(E,i.value,a.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:A,get modifiers(){return x},get pluralRules(){return y||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(D){h=D,E.missingWarn=h},get fallbackWarn(){return d},set fallbackWarn(D){d=D,E.fallbackWarn=d},get fallbackRoot(){return c},set fallbackRoot(D){c=D},get fallbackFormat(){return p},set fallbackFormat(D){p=D,E.fallbackFormat=p},get warnHtmlMessage(){return _},set warnHtmlMessage(D){_=D,E.warnHtmlMessage=D},get escapeParameter(){return b},set escapeParameter(D){b=D,E.escapeParameter=D},t:se,getLocaleMessage:C,setLocaleMessage:P,mergeLocaleMessage:O,getPostTranslationHandler:N,setPostTranslationHandler:B,getMissingHandler:j,setMissingHandler:U,[w0]:Y};return q.datetimeFormats=R,q.numberFormats=k,q.rt=le,q.te=z,q.tm=I,q.d=me,q.n=te,q.getDateTimeFormat=M,q.setDateTimeFormat=F,q.mergeDateTimeFormat=V,q.getNumberFormat=K,q.setNumberFormat=G,q.mergeNumberFormat=W,q[S0]=s,q[Ho]=ae,q[Uo]=X,q[jo]=H,q}const Hi={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function T0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,o)=>[...s,...o.type===Ge?o.children:[o]],[]):t.reduce((n,s)=>{const o=e[s];return o&&(n[s]=o()),n},{})}function gf(e){return Ge}const R0=Ke({name:"i18n-t",props:Ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Be(e)||!isNaN(e)}},Hi),setup(e,t){const{slots:n,attrs:s}=t,o=e.i18n||Xn({useScope:e.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Q(e.plural)?+e.plural:e.plural);const a=T0(t,r),l=o[Ho](e.keypath,a,i),f=Ue({},s),u=Q(e.tag)||he(e.tag)?e.tag:gf();return We(u,f,l)}}}),$l=R0;function k0(e){return Ae(e)&&!Q(e[0])}function mf(e,t,n,s){const{slots:o,attrs:r}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Q(e.format)?i.key=e.format:he(e.format)&&(Q(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,c)=>n.includes(c)?Ue({},d,{[c]:e.format[c]}):d,{}));const l=s(e.value,i,a);let f=[i.key];Ae(l)?f=l.map((d,c)=>{const p=o[d.type],g=p?p({[d.type]:d.value,index:c,parts:l}):[d.value];return k0(g)&&(g[0].key=`${d.type}-${c}`),g}):Q(l)&&(f=[l]);const u=Ue({},r),h=Q(e.tag)||he(e.tag)?e.tag:gf();return We(h,u,f)}}const I0=Ke({name:"i18n-n",props:Ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Hi),setup(e,t){const n=e.i18n||Xn({useScope:"parent",__useComponent:!0});return mf(e,t,cf,(...s)=>n[jo](...s))}}),Bl=I0,A0=Ke({name:"i18n-d",props:Ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Hi),setup(e,t){const n=e.i18n||Xn({useScope:"parent",__useComponent:!0});return mf(e,t,lf,(...s)=>n[Uo](...s))}}),Hl=A0;function O0(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 N0(e){const t=i=>{const{instance:a,modifiers:l,value:f}=i;if(!a||!a.$)throw dt(at.UNEXPECTED_ERROR);const u=O0(e,a.$),h=Ul(f);return[Reflect.apply(u.t,u,[...jl(h)]),u]};return{created:(i,a)=>{const[l,f]=t(a);No&&e.global===f&&(i.__i18nWatcher=xt(f.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=f,i.textContent=l},unmounted:i=>{No&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,f=Ul(a);i.textContent=Reflect.apply(l.t,l,[...jl(f)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Ul(e){if(Q(e))return{path:e};if(ue(e)){if(!("path"in e))throw dt(at.REQUIRED_VALUE,"path");return e}else throw dt(at.INVALID_VALUE)}function jl(e){const{path:t,locale:n,args:s,choice:o,plural:r}=e,i={},a=s||{};return Q(n)&&(i.locale=n),Be(o)&&(i.plural=o),Be(r)&&(i.plural=r),[t,a,i]}function M0(e,t,...n){const s=ue(n[0])?n[0]:{},o=!!s.useI18nComponentName;(Ie(s.globalInstall)?s.globalInstall:!0)&&([o?"i18n":$l.name,"I18nT"].forEach(i=>e.component(i,$l)),[Bl.name,"I18nN"].forEach(i=>e.component(i,Bl)),[Hl.name,"I18nD"].forEach(i=>e.component(i,Hl))),e.directive("t",N0(t))}const D0=Qt("global-vue-i18n");function F0(e={},t){const n=Ie(e.globalInjection)?e.globalInjection:!0,s=!0,o=new Map,[r,i]=$0(e),a=Qt("");function l(h){return o.get(h)||null}function f(h,d){o.set(h,d)}function u(h){o.delete(h)}{const h={get mode(){return"composition"},get allowComposition(){return s},async install(d,...c){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,h),ue(c[0])){const v=c[0];h.__composerExtend=v.__composerExtend,h.__vueI18nExtend=v.__vueI18nExtend}let p=null;n&&(p=G0(d,h.global)),M0(d,h,...c);const g=d.unmount;d.unmount=()=>{p&&p(),h.dispose(),g()}},get global(){return i},dispose(){r.stop()},__instances:o,__getInstance:l,__setInstance:f,__deleteInstance:u};return h}}function Xn(e={}){const t=xn();if(t==null)throw dt(at.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw dt(at.NOT_INSTALLED);const n=B0(t),s=U0(n),o=hf(t),r=H0(e,o);if(r==="global")return P0(s,e,o),s;if(r==="parent"){let l=j0(n,t,e.__useComponent);return l==null&&(l=s),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Ue({},e);"__i18n"in o&&(l.__i18n=o.__i18n),s&&(l.__root=s),a=pf(l),i.__composerExtend&&(a[Vo]=i.__composerExtend(a)),W0(i,t,a),i.__setInstance(t,a)}return a}function $0(e,t,n){const s=fc();{const o=s.run(()=>pf(e));if(o==null)throw dt(at.UNEXPECTED_ERROR);return[s,o]}}function B0(e){{const t=Ve(e.isCE?D0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw dt(e.isCE?at.NOT_INSTALLED_WITH_PROVIDE:at.UNEXPECTED_ERROR);return t}}function H0(e,t){return As(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function U0(e){return e.mode==="composition"?e.global:e.global.__composer}function j0(e,t,n=!1){let s=null;const o=t.root;let r=V0(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 V0(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function W0(e,t,n){ht(()=>{},t),_i(()=>{const s=n;e.__deleteInstance(t);const o=s[Vo];o&&(o(),delete s[Vo])},t)}const K0=["locale","fallbackLocale","availableLocales"],Vl=["t","rt","d","n","tm","te"];function G0(e,t){const n=Object.create(null);return K0.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r)throw dt(at.UNEXPECTED_ERROR);const i=Te(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,Vl.forEach(o=>{const r=Object.getOwnPropertyDescriptor(t,o);if(!r||!r.value)throw dt(at.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,r)}),()=>{delete e.config.globalProperties.$i18n,Vl.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}b0();l0(v0);c0(Vy);u0(zu);if(__INTLIFY_PROD_DEVTOOLS__){const e=Oi();e.__INTLIFY__=!0,zy(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const X0=!0,vf={PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"},Y0="",J0=vf.PREFIX_EXCEPT_DEFAULT,q0=!1,Q0="___",z0="default",Z0="ltr",e_="",yf="";/*!
* shared v9.3.0-beta.26
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const t_=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Ms=Object.assign,_f=Array.isArray,Ko=e=>typeof e=="function",Un=e=>typeof e=="string",n_=e=>typeof e=="symbol",Ui=e=>e!==null&&typeof e=="object",r_=/\/$|\/\?/;function Go(e="",t=!1){return t?r_.test(e):e.endsWith("/")}function s_(e="",t=!1){if(!t)return(Go(e)?e.slice(0,-1):e)||"/";if(!Go(e,!0))return e||"/";const[n,...s]=e.split("?");return(n.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function o_(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Go(e,!0))return e||"/";const[n,...s]=e.split("?");return n+"/"+(s.length>0?`?${s.join("?")}`:"")}const i_=typeof window<"u";function xf(e,t){typeof console<"u"&&(console.warn("[vue-i18n-routing] "+e),t&&console.warn(t.stack))}function a_(e){e=e||[];const t=[];for(const n of e)Un(n)?t.push({code:n}):t.push(n);return t}function Cn(e){return e!=null&&"global"in e&&"mode"in e}function Yn(e){return e!=null&&!("__composer"in e)&&Te(e.locale)}function bn(e){return e!=null&&"__composer"in e}function Ar(e){return e!=null&&!("__composer"in e)&&!Te(e.locale)}function Ds(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function _n(e){return Cn(e)?Yn(e.global)?e.global:e.global.__composer:bn(e)?e.__composer:e}function Fs(e){const t=Cn(e)?e.global:e;return Yn(t)?t.locale.value:(Ar(t)||bn(t)||Ds(t),t.locale)}function l_(e){const t=Cn(e)?e.global:e;return Yn(t)?t.locales.value:(Ar(t)||bn(t)||Ds(t),t.locales)}function c_(e){const t=Cn(e)?e.global:e;return Yn(t)?t.localeCodes.value:(Ar(t)||bn(t)||Ds(t),t.localeCodes)}function Ef(e,t){const n=Cn(e)?e.global:e;if(Yn(n))n.locale.value=t;else if(Ar(n)||bn(n)||Ds(n))n.locale=t;else throw new Error("TODO:")}function Cf(e){return Un(e)?e:n_(e)?e.toString():"(null)"}function Wl(e,t,{defaultLocale:n,strategy:s,routesNameSeparator:o,defaultLocaleRouteNameSuffix:r}){let i=Cf(e)+(s==="no_prefix"?"":o+t);return t===n&&s==="prefix_and_default"&&(i+=o+r),i}function Kl(e,t){return Ko(e)?e(t):e}function u_(e,t){const n=[];for(const[s,o]of t.entries()){const r=e.find(i=>i.iso.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.iso.split("-")[0].toLowerCase()===r);if(i){n.push({code:i.code,score:.999-s/t.length});break}}return n}const f_=u_;function d_(e,t){return e.score===t.score?t.code.length-e.code.length:t.score-e.score}const h_=d_;function p_(e,t,{matcher:n=f_,comparer:s=h_}={}){const o=[];for(const i of e){const{code:a}=i,l=i.iso||a;o.push({code:a,iso:l})}const r=n(o,t);return r.length>1&&r.sort(s),r.length?r[0].code:""}function rn(e){return function(){return Reflect.apply(e,{getRouteBaseName:this.getRouteBaseName,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,resolveRoute:this.resolveRoute,switchLocalePath:this.switchLocalePath,localeHead:this.localeHead,i18n:this.$i18n,route:this.$route,router:this.$router},arguments)}}function g_(e,{locales:t=[],localeCodes:n=[],baseUrl:s=e_,hooks:o={},context:r={}}={}){const i=fc(),a=e.install;return e.install=(l,...f)=>{const u=y_(f[0])?Ms({},f[0]):{inject:!0};u.inject==null&&(u.inject=!0);const h=u.__composerExtend;if(u.__composerExtend=g=>{const v=_n(e);g.locales=we(()=>v.locales.value),g.localeCodes=we(()=>v.localeCodes.value),g.baseUrl=we(()=>v.baseUrl.value);let m;return Ko(h)&&(m=Reflect.apply(h,u,[g])),()=>{m&&m()}},e.mode==="legacy"){const g=u.__vueI18nExtend;u.__vueI18nExtend=v=>{Gl(v,o.onExtendVueI18n);let m;return Ko(g)&&(m=Reflect.apply(g,u,[v])),()=>{m&&m()}}}f[0]=u,Reflect.apply(a,e,[l,...f]);const d=_n(e);i.run(()=>{m_(d,{locales:t,localeCodes:n,baseUrl:s,hooks:o,context:r}),e.mode==="legacy"&&bn(e.global)&&Gl(e.global,o.onExtendVueI18n)});const c=l,p=e.mode==="composition"?c.config.globalProperties.$i18n:null;if(p&&v_(p,d,o.onExtendExportedGlobal),u.inject&&l.mixin({methods:{resolveRoute:rn(Bs),localePath:rn($s),localeRoute:rn(ji),localeLocation:rn(P_),switchLocalePath:rn(br),getRouteBaseName:rn(jn),localeHead:rn(Pf)}}),c.unmount){const g=c.unmount;c.unmount=()=>{i.stop(),g()}}},i}function m_(e,t){const{locales:n,localeCodes:s,baseUrl:o,context:r}=t,i=ge(n),a=ge(s),l=ge("");e.locales=we(()=>i.value),e.localeCodes=we(()=>a.value),e.baseUrl=we(()=>l.value),i_?xt(e.locale,()=>{l.value=Kl(o,r)},{immediate:!0}):l.value=Kl(o,r),t.hooks&&t.hooks.onExtendComposer&&t.hooks.onExtendComposer(e)}function bf(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 v_(e,t,n){bf(t,e,n)}function Gl(e,t){const n=_n(e);bf(n,e,t)}function y_(e){return Ui(e)&&("inject"in e||"__composerExtend"in e||"__vueI18nExtend"in e)}const Xo=t_("vue-i18n-routing-gor");function __(e,t){e[Xo]?xf("already registered global options"):e[Xo]=t}function x_(e){return e[Xo]??{}}function Yo(e){return new RegExp(`^/(${e.join("|")})(?:/|$)`,"i")}function E_(e,t,n){const s=`(${e.join("|")})`,o=`(?:${t}${n})?`,r=new RegExp(`${t}${s}${o}$`,"i"),i=Yo(e);return l=>{if(Ui(l)){if(l.name){const u=(Un(l.name)?l.name:l.name.toString()).match(r);if(u&&u.length>1)return u[1]}else if(l.path){const f=l.path.match(i);if(f&&f.length>1)return f[1]}}else if(Un(l)){const f=l.match(i);if(f&&f.length>1)return f[1]}return""}}function Or(e,t,{defaultLocale:n=Y0,defaultDirection:s=Z0,defaultLocaleRouteNameSuffix:o=z0,routesNameSeparator:r=Q0,strategy:i=J0,trailingSlash:a=q0,localeCodes:l=[],prefixable:f=wf,switchLocalePathIntercepter:u=Sf,dynamicRouteParamsKey:h=yf}={}){const d=x_(e);return{defaultLocale:t.defaultLocale||d.defaultLocale||n,defaultDirection:t.defaultDirection||d.defaultDirection||s,defaultLocaleRouteNameSuffix:t.defaultLocaleRouteNameSuffix||d.defaultLocaleRouteNameSuffix||o,routesNameSeparator:t.routesNameSeparator||d.routesNameSeparator||r,strategy:t.strategy||d.strategy||i,trailingSlash:t.trailingSlash||d.trailingSlash||a,localeCodes:t.localeCodes||d.localeCodes||l,prefixable:t.prefixable||d.prefixable||f,switchLocalePathIntercepter:t.switchLocalePathIntercepter||d.switchLocalePathIntercepter||u,dynamicRouteParamsKey:t.dynamicRouteParamsKey||d.dynamicRouteParamsKey||h}}function C_(e,t){return[e.slice(0,t),e.slice(t)]}function b_(e,t,n,s){if(n==="prefix"){if(_f(t.matched)&&t.matched.length>0)return t.matched[0];const[o,r]=C_(t.path,1),i=`${o}${s}${r===""?r:`/${r}`}`,a=e.options.routes.find(l=>l.path===i);if(a==null)return t;{const l=Ms({},t,a);return l.path=i,e.resolve(l)}}else return e.resolve(t)}const w_=new Set(["prefix_and_default","prefix_except_default"]);function S_(e){const{currentLocale:t,defaultLocale:n,strategy:s}=e;return!(t===n&&w_.has(s))&&s!=="no_prefix"}const wf=S_;function jn(e){const t=this.router,{routesNameSeparator:n}=Or(t,this),s=e!=null?Te(e)?oe(e):e:this.route;return s==null||!s.name?void 0:Cf(s.name).split(n)[0]}function $s(e,t){const n=Bs.call(this,e,t);return n==null?"":n.redirectedFrom||n.fullPath}function ji(e,t){const n=Bs.call(this,e,t);return n??void 0}function P_(e,t){const n=Bs.call(this,e,t);return n??void 0}function Bs(e,t){const n=this.router,s=this.i18n,o=t||Fs(s),{routesNameSeparator:r,defaultLocale:i,defaultLocaleRouteNameSuffix:a,strategy:l,trailingSlash:f,prefixable:u}=Or(n,this);let h=e;if(Un(e))if(h[0]==="/"){const[c,p]=e.split("?"),g=Object.fromEntries(new URLSearchParams(p));h={path:c,query:g}}else h={name:e};let d=Ms({},h);if(d.path&&!d.name){let c=null;try{c=b_(n,d,l,o)}catch{}const p=c,g=jn.call(this,p);Un(g)?(d={name:Wl(g,o,{defaultLocale:i,strategy:l,routesNameSeparator:r,defaultLocaleRouteNameSuffix:a}),params:p.params,query:p.query,hash:p.hash},d.state=p.state):(u({currentLocale:o,defaultLocale:i,strategy:l})&&(d.path=`/${o}${d.path}`),d.path=f?o_(d.path,!0):s_(d.path,!0))}else!d.name&&!d.path&&(d.name=jn.call(this,this.route)),d.name=Wl(d.name,o,{defaultLocale:i,strategy:l,routesNameSeparator:r,defaultLocaleRouteNameSuffix:a});try{const c=n.resolve(d);return(X0?c.name:c.route.name)?c:n.resolve(e)}catch(c){if(c.type===1)return null}}const Sf=e=>e;function L_(e,t){const n={};if(t===yf)return n;const s=e.meta;return Te(s)?s.value[t]||n:s[t]||n}function br(e){const t=this.route,n=jn.call(this,t);if(!n)return"";const{switchLocalePathIntercepter:s,dynamicRouteParamsKey:o}=Or(this.router,this),{params:r,...i}=t,a=L_(t,o)[e]||{},l={name:n,params:{...r,...a}},f=Ms({},i,l);let u=$s.call(this,f,e);return u=s(u,e),u}function Pf({addDirAttribute:e=!1,addSeoAttributes:t=!1,identifierAttribute:n="hid"}={}){const s=this.router,o=this.i18n,{defaultDirection:r}=Or(s,this),i={htmlAttrs:{},link:[],meta:[]};if(o.locales==null||o.baseUrl==null)return i;const a=Fs(o),l=l_(o),f=a_(l).find(d=>d.code===a)||{code:a},u=f.iso,h=f.dir||r;return e&&(i.htmlAttrs.dir=h),t&&a&&o.locales&&(u&&(i.htmlAttrs.lang=u),T_.call(this,l,oe(o.baseUrl),i.link,n),R_.call(this,oe(o.baseUrl),i.link,i.meta,n,t),k_(f,u,i.meta,n),I_(l,u,i.meta,n)),i}function T_(e,t,n,s){const o=this.router,{defaultLocale:r,strategy:i}=Or(o,this);if(i===vf.NO_PREFIX)return;const a=new Map;for(const l of e){const f=l.iso;if(!f){xf("Locale ISO code is required to generate alternate link");continue}const[u,h]=f.split("-");u&&h&&(l.isCatchallLocale||!a.has(u))&&a.set(u,l),a.set(f,l)}for(const[l,f]of a.entries()){const u=br.call(this,f.code);u&&n.push({[s]:`i18n-alt-${l}`,rel:"alternate",href:Jo(u,t),hreflang:l})}if(r){const l=br.call(this,r);l&&n.push({[s]:"i18n-xd",rel:"alternate",href:Jo(l,t),hreflang:"x-default"})}}function R_(e,t,n,s,o){const r=this.route,i=ji.call(this,{...r,name:jn.call(this,r)});if(i){let a=Jo(i.path,e);const l=Ui(o)&&o.canonicalQueries||[];if(l.length){const f=i.query,u=new URLSearchParams;for(const d of l)if(d in f){const c=f[d];_f(c)?c.forEach(p=>u.append(d,p||"")):u.append(d,c||"")}const h=u.toString();h&&(a=`${a}?${h}`)}t.push({[s]:"i18n-can",rel:"canonical",href:a}),n.push({[s]:"i18n-og-url",property:"og:url",content:a})}}function k_(e,t,n,s){e&&t&&n.push({[s]:"i18n-og",property:"og:locale",content:Lf(t)})}function I_(e,t,n,s){const o=e.filter(r=>{const i=r.iso;return i&&i!==t});if(o.length){const r=o.map(i=>({[s]:`i18n-og-alt-${i.iso}`,property:"og:locale:alternate",content:Lf(i.iso)}));n.push(...r)}}function Lf(e){return(e||"").replace(/-/g,"_")}function Jo(e,t){return e.match(/^https?:\/\//)?e:t+e}function Tf(e,t){const{router:n,route:s,i18n:o,defaultLocale:r,strategy:i,defaultLocaleRouteNameSuffix:a,trailingSlash:l,routesNameSeparator:f}=e;return function(...u){return Reflect.apply(t,{router:n,route:s,i18n:o,defaultLocale:r,strategy:i,defaultLocaleRouteNameSuffix:a,trailingSlash:l,routesNameSeparator:f},u)}}function A_({router:e=Yu(),route:t=Ai(),i18n:n=Xn(),defaultLocale:s=void 0,defaultLocaleRouteNameSuffix:o=void 0,routesNameSeparator:r=void 0,strategy:i=void 0,trailingSlash:a=void 0}={}){return Tf({router:e,route:t,i18n:n,defaultLocale:s,defaultLocaleRouteNameSuffix:o,routesNameSeparator:r,strategy:i,trailingSlash:a},$s)}function Rf({router:e=Yu(),route:t=Ai(),i18n:n=Xn(),defaultLocale:s=void 0,defaultLocaleRouteNameSuffix:o=void 0,routesNameSeparator:r=void 0,strategy:i=void 0,trailingSlash:a=void 0}={}){return Tf({router:e,route:t,i18n:n,defaultLocale:s,defaultLocaleRouteNameSuffix:o,routesNameSeparator:r,strategy:i,trailingSlash:a},br)}const sn=["en","it"],O_={en:[{key:"../locales/en-US/general.ts",load:()=>Ne(()=>import("./general.bad7db8e.js"),[],import.meta.url)},{key:"../locales/en-US/projects.ts",load:()=>Ne(()=>import("./projects.520ba7d6.js"),[],import.meta.url)},{key:"../locales/en-US/resume.ts",load:()=>Ne(()=>import("./resume.9e87e02a.js"),[],import.meta.url)}],it:[{key:"../locales/it-IT/general.ts",load:()=>Ne(()=>import("./general.425da535.js"),[],import.meta.url)},{key:"../locales/it-IT/projects.ts",load:()=>Ne(()=>import("./projects.da9a2241.js"),[],import.meta.url)},{key:"../locales/it-IT/resume.ts",load:()=>Ne(()=>import("./resume.ac28184c.js"),[],import.meta.url)}]},N_=async e=>{var n;const t=Object({});return t.experimental=Object({jsTsFormatResource:!1}),t.bundle=Object({compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1}),t.compilation=Object({jit:!0,strictMessage:!0,escapeHtml:!1}),t.customBlocks=Object({defaultSFCLang:"json",globalSFCScope:!1}),t.vueI18n=Object({}),(n=t.vueI18n).messages??(n.messages={}),t.locales=[Object({code:"en",iso:"en-US",name:"English",files:["locales/en-US/general.ts","locales/en-US/projects.ts","locales/en-US/resume.ts"],hashes:["f44d0825","9516c0cc","2955166b"],types:["static","static","static"]}),Object({code:"it",iso:"it-IT",name:"Italiano",files:["locales/it-IT/general.ts","locales/it-IT/projects.ts","locales/it-IT/resume.ts"],hashes:["806e16dc","02748be2","a054d5c7"],types:["static","static","static"]})],t.defaultLocale="en",t.defaultDirection="ltr",t.routesNameSeparator="___",t.trailingSlash=!1,t.defaultLocaleRouteNameSuffix="default",t.strategy="prefix",t.lazy=!0,t.langDir="locales",t.rootRedirect=null,t.detectBrowserLanguage=Object({alwaysRedirect:!0,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"locale",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0}),t.differentDomains=!1,t.baseUrl="",t.dynamicRouteParams=!1,t.customRoutes="page",t.pages=Object({}),t.skipSettingLocaleOnNavigate=!1,t.types="composition",t.debug=!1,t.parallelPlugin=!1,t.i18nModules=[],t},it=Object({experimental:Object({jsTsFormatResource:!1}),bundle:Object({compositionOnly:!0,runtimeOnly:!1,fullInstall:!0,dropMessageCompiler:!1}),compilation:Object({jit:!0,strictMessage:!0,escapeHtml:!1}),customBlocks:Object({defaultSFCLang:"json",globalSFCScope:!1}),vueI18n:"",locales:[],defaultLocale:"",defaultDirection:"ltr",routesNameSeparator:"___",trailingSlash:!1,defaultLocaleRouteNameSuffix:"default",strategy:"prefix_except_default",lazy:!1,langDir:null,rootRedirect:null,detectBrowserLanguage:Object({alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",redirectOn:"root",useCookie:!0}),differentDomains:!1,baseUrl:"",dynamicRouteParams:!1,customRoutes:"page",pages:Object({}),skipSettingLocaleOnNavigate:!1,types:"composition",debug:!1,parallelPlugin:!1}),zr=Object({__normalizedLocales:[Object({code:"en",iso:"en-US",name:"English",files:["locales/en-US/general.ts","locales/en-US/projects.ts","locales/en-US/resume.ts"],hashes:["f44d0825","9516c0cc","2955166b"],types:["static","static","static"]}),Object({code:"it",iso:"it-IT",name:"Italiano",files:["locales/it-IT/general.ts","locales/it-IT/projects.ts","locales/it-IT/resume.ts"],hashes:["806e16dc","02748be2","a054d5c7"],types:["static","static","static"]})]}),kf="@nuxtjs/i18n",M_=!1;/*! js-cookie v3.0.5 | MIT */function Yr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var s in n)e[s]=n[s]}return e}var D_={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function qo(e,t){function n(o,r,i){if(!(typeof document>"u")){i=Yr({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var l in i)i[l]&&(a+="; "+l,i[l]!==!0&&(a+="="+i[l].split(";")[0]));return document.cookie=o+"="+e.write(r,o)+a}}function s(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var r=document.cookie?document.cookie.split("; "):[],i={},a=0;a<r.length;a++){var l=r[a].split("="),f=l.slice(1).join("=");try{var u=decodeURIComponent(l[0]);if(i[u]=e.read(f,u),o===u)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:s,remove:function(o,r){n(o,"",Yr({},r,{expires:-1}))},withAttributes:function(o){return qo(this.converter,Yr({},this.attributes,o))},withConverter:function(o){return qo(Yr({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var If=qo(D_,{path:"/"});function ms(e){return kf+" "+e}function F_(e){return e!=null&&("__VUE_I18N_BRIDGE__"in e||"_sync"in e)}function Nr(e,t,...n){const s=Cn(e)?e.global:e,[o,r]=[s,s[t]];return Reflect.apply(r,o,[...n])}function $_(e,t){const n=Cn(e)?e.global:e;return Yn(n)?n[t].value:(Ar(n)||bn(n)||F_(n),n[t])}function Xl(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function B_(e,t){return function(){return Reflect.apply(t,{i18n:e.$i18n,getRouteBaseName:e.$getRouteBaseName,localePath:e.$localePath,localeRoute:e.$localeRoute,switchLocalePath:e.$switchLocalePath,localeHead:e.$localeHead,route:e.$router.currentRoute.value,router:e.$router},arguments)}}function Qo(e,t,n){for(const s in e)Ae(e[s])?(Ae(t[s])||(t[s]=[]),e[s].forEach((o,r)=>{if(!t[s][r]){const i={};Qo(o,i,n),t[s].push(i)}})):he(e[s])?(he(t[s])||(t[s]={}),Qo(e[s],t[s],n)):n?n(e[s],t[s])&&(t[s]=e[s]):t[s]=e[s]}const zo=new Map;async function H_(e,{key:t,load:n},s){var i,a;const o=(i=e.$config.public)==null?void 0:i.i18n;let r=null;try{const l=await n().then(f=>f.default||f);De(l)?(a=o.experimental)!=null&&a.jsTsFormatResource?r=await l(s):console.warn(ms("JS / TS extension format is not supported by default. This can be enabled by setting `i18n.experimental.jsTsFormatResource: true` (experimental)")):(r=l,r!=null&&zo.set(t,r))}catch(l){console.error(ms("Failed locale loading: "+l.message))}return r}async function vs(e,t,n){const s=O_[t];if(s==null){console.warn(ms("Could not find messages for locale code"+t));return}const o={};for(const r of s){let i=null;zo.has(r.key)?i=zo.get(r.key):i=await H_(e,r,t),i!=null&&Qo(i,o)}n(t,o)}function Af(e,t){let n;return navigator.languages&&(n=p_(e.__normalizedLocales,navigator.languages)),n}function Vi(e,{useCookie:t=it.detectBrowserLanguage.useCookie,cookieKey:n=it.detectBrowserLanguage.cookieKey,localeCodes:s=[]}={}){if(t){let o;if(o=If.get(n),o&&s.includes(o))return o}}function U_(e,t,{useCookie:n=it.detectBrowserLanguage.useCookie,cookieKey:s=it.detectBrowserLanguage.cookieKey,cookieDomain:o=it.detectBrowserLanguage.cookieDomain,cookieSecure:r=it.detectBrowserLanguage.cookieSecure,cookieCrossOrigin:i=it.detectBrowserLanguage.cookieCrossOrigin}={}){if(!n)return;const a=new Date,l={expires:new Date(a.setDate(a.getDate()+365)),path:"/",sameSite:i?"none":"lax",secure:i||r};o&&(l.domain=o),If.set(s,e,l)}const Of={locale:"",stat:!1,reason:"unknown",from:"unknown"};function Nf(e,t,n,s,o,r=[],i=""){const{strategy:a}=n,{ssg:l,callType:f,firstAccess:u}=o;if(a==="no_prefix"&&l==="ssg_ignore")return{locale:"",stat:!0,reason:"detect_ignore_on_ssg"};if(!u)return{locale:"",stat:!1,reason:"first_access_only"};const{redirectOn:h,alwaysRedirect:d,useCookie:c,fallbackLocale:p}=n.detectBrowserLanguage,g=Q(e)?e:e.path;if(a!=="no_prefix"){if(h==="root"){if(g!=="/")return{locale:"",stat:!1,reason:"not_redirect_on_root"}}else if(h==="no prefix"&&!d&&g.match(Yo(r)))return{locale:"",stat:!1,reason:"not_redirect_on_no_prefix"}}let v="unknown",m,_;c&&(_=m=Vi(t,{...n.detectBrowserLanguage,localeCodes:r}),v="cookie"),_||(_=Af(s),v="navigator_or_header");const b=_||p;!_&&p&&(v="fallback");const x=i||n.vueI18n.locale;if(b&&(!c||d||!m)){if(a==="no_prefix")return{locale:b,stat:!0,from:v};if(f==="setup"&&b!==x)return{locale:b,stat:!0,from:v};if(d){const y=g==="/",E=h==="all",S=h==="no prefix"&&!g.match(Yo(r));if(y||E||S)return{locale:b,stat:!0,from:v}}}return l==="ssg_setup"&&b?{locale:b,stat:!0,from:v}:(v==="navigator_or_header"||v==="cookie")&&b?{locale:b,stat:!0,from:v}:{locale:"",stat:!1,reason:"not_found_match"}}function j_(){let e;return e=window.location.host,e}function V_(e){let t=j_()||"";if(t){const n=e.find(s=>s.domain===t);if(n)return n.code;t=""}return t}function Mf(e,t,n){const s=t.find(o=>o.code===e);if(s&&s.domain){if(En(s.domain))return s.domain;let o;return o=new URL(window.location.origin).protocol,o+"://"+s.domain}console.warn(ms("Could not find domain name for locale "+e))}function W_(e,t){return Nr(e,"setLocale",t)}function K_(e,t){return Nr(e,"setLocaleCookie",t)}function G_(e,t,n){return Nr(e,"mergeLocaleMessage",t,n)}function X_(e,t,n,s,o){return Nr(e,"onBeforeLanguageSwitch",t,n,s,o)}function Y_(e,t,n){return Nr(e,"onLanguageSwitched",t,n)}function Df(e,t){let n=[];if(Ae(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 Q(e)&&t.every(s=>s!==e)&&n.push(e);return n}async function J_(e,t,n){const{defaultLocale:s,initialLocale:o,localeCodes:r,fallbackLocale:i,lazy:a}=n,l=(u,h)=>{const d=t[u]||{};t[u]={...d,...h}};if(a&&i){const u=Df(i,[s,o]);await Promise.all(u.map(h=>vs(e,h,l)))}const f=a?[...new Set().add(s).add(o)]:r;return await Promise.all(f.map(u=>vs(e,u,l))),t}async function Yl(e,t,n,{useCookie:s=it.detectBrowserLanguage.useCookie,skipSettingLocaleOnNavigate:o=it.skipSettingLocaleOnNavigate,differentDomains:r=it.differentDomains,initial:i=!1,lazy:a=!1}={}){let l=!1;const f=Fs(n);if(!e)return[l,f];if(!i&&r)return[l,f];if(f===e)return[l,f];const u=await X_(n,f,e,i,t),h=c_(n);if(u&&h&&h.includes(u)){if(u===f)return[l,f];e=u}const d=$_(n,"fallbackLocale");if(a){const c=(p,g)=>G_(n,p,g);if(d){const p=Df(d,[e]);await Promise.all(p.map(g=>vs(t,g,c)))}await vs(t,e,c)}return o?[l,f]:(s&&K_(n,e),Ef(n,e),await Y_(n,f,e),l=!0,[l,f])}function Jl(e,t,n,s,o,r,i,a=[]){const{strategy:l,defaultLocale:f,differentDomains:u}=s,h=De(o)?o():o,{locale:d,stat:c,reason:p,from:g}=s.detectBrowserLanguage?Nf(e,t,s,zr,r,a,h):Of;if(p==="detect_ignore_on_ssg")return h;if((g==="navigator_or_header"||g==="cookie"||g==="fallback")&&d)return d;let v=d;return v||(u?v=V_(i):l!=="no_prefix"?v=n(e):s.detectBrowserLanguage||(v=h)),!v&&s.detectBrowserLanguage&&s.detectBrowserLanguage.useCookie&&(v=Vi(t,{...s.detectBrowserLanguage,localeCodes:a})||""),v||(v=f||""),v}function ql({route:e,context:t,targetLocale:n,routeLocaleGetter:s,nuxtI18nOptions:o,calledWithRouting:r=!1}){const{strategy:i,differentDomains:a}=o;let l="";const{fullPath:f}=e.to;if(!a&&(r||i!=="no_prefix"&&i!=="prefix_and_default")&&s(e.to)!==n){const u=t.$switchLocalePath(n)||t.$localePath(f,n);Q(u)&&u&&!xo(u,f)&&!u.startsWith("//")&&(l=e.from&&e.from.fullPath===u?"":u)}if((a||!0)&&s(e.to)!==n){const h=Rf({i18n:_n(t.$i18n),route:e.to,router:t.$router})(n);Q(h)&&h&&!xo(h,f)&&!h.startsWith("//")&&(l=h)}return l}function q_(e){return he(e)&&"path"in e&&"statusCode"in e}const Q_=()=>Fm(kf+":redirect",()=>"");function Ql(e,t){return Nu(e,{redirectCode:t})}async function zl(e,{status:t=302,rootRedirect:n=it.rootRedirect,differentDomains:s=it.differentDomains,skipSettingLocaleOnNavigate:o=it.skipSettingLocaleOnNavigate,enableNavigate:r=!1}={}){const{i18n:i,locale:a,route:l}=e;let{redirectPath:f}=e;if(l.path==="/"&&n)return Q(n)?f="/"+n:q_(n)&&(f="/"+n.path,t=n.statusCode),Ql(f,t);if(!(o&&(i.__pendingLocale=a,i.__pendingLocalePromise=new Promise(u=>{i.__resolvePendingLocalePromise=u}),!r))){if(s){const u=Q_();u.value&&u.value!==f&&(u.value="",window.location.assign(f))}else if(f)return Ql(f,t)}}function z_(e,t){Xl(e,"$i18n",t.global);for(const n of[["getRouteBaseName",jn],["localePath",$s],["localeRoute",ji],["switchLocalePath",br],["localeHead",Pf]])Xl(e,"$"+n[0],B_(e,n[1]))}function Z_(e){return t=>wf(t)&&!e}function ex(e,t,n){return(s,o)=>{if(e){const r=Mf(o,t);return r?Gn(r,s):s}else return Sf(s)}}function tx(e,t){return n=>{var l,f;if(De(e))return e(n);const{differentDomains:s,localeCodeLoader:o,normalizedLocales:r}=t,i=De(o)?o():o;if(s&&i){const u=Mf(i,r,t.nuxt);if(u)return u}const a=(f=(l=n.$config)==null?void 0:l.public)==null?void 0:f.i18n;return a!=null&&a.baseUrl?a.baseUrl:e}}const nx=Mt({name:"i18n:plugin",parallel:M_,async setup(e){let t,n;const s=pt(),o=Ir(),{vueApp:r}=e,i=e,a=([t,n]=mn(()=>N_()),t=await t,n(),t),l=a.detectBrowserLanguage&&a.detectBrowserLanguage.useCookie,{__normalizedLocales:f}=zr,{defaultLocale:u,differentDomains:h,skipSettingLocaleOnNavigate:d,lazy:c,routesNameSeparator:p,defaultLocaleRouteNameSuffix:g,strategy:v,rootRedirect:m}=a;a.baseUrl=tx(a.baseUrl,{differentDomains:h,nuxt:i,localeCodeLoader:u,normalizedLocales:f});const _=E_(sn,p,g),b=a.vueI18n;b.messages=b.messages||{},b.fallbackLocale=b.fallbackLocale??!1,__(s,{...a,dynamicRouteParamsKey:"nuxtI18n",switchLocalePathIntercepter:ex(h,f),prefixable:Z_(h)});const x=k=>k||b.locale||"en-US";let y=Jl(o,e.ssrContext,_,a,x(u),{ssg:v==="no_prefix"?"ssg_ignore":"normal",callType:"setup",firstAccess:!0},f,sn);b.messages=([t,n]=mn(()=>J_(i,b.messages,{...a,initialLocale:y,fallbackLocale:b.fallbackLocale,localeCodes:sn})),t=await t,n(),t),y=x(y);const E=F0({...b,locale:y});let S=!0;const w=k=>y!==k&&S;let T=!0;const L=()=>T;L()&&v==="no_prefix"&&e.hook("app:mounted",async()=>{const{locale:k,stat:N,reason:B,from:j}=a.detectBrowserLanguage?Nf(o,i,a,zr,{ssg:"ssg_setup",callType:"setup",firstAccess:!0},sn,y):Of;W_(E,k),T=!1}),g_(E,{locales:a.locales,localeCodes:sn,baseUrl:a.baseUrl,context:i,hooks:{onExtendComposer(k){k.strategy=v,k.localeProperties=we(()=>f.find(N=>N.code===k.locale.value)||{code:k.locale.value}),k.setLocale=async N=>{const B=w(N),[j]=await Yl(N,i,E,{useCookie:l,differentDomains:h,initial:B,skipSettingLocaleOnNavigate:d,lazy:c});j&&B&&(S=!1);const U=ql({route:{to:o},context:i,targetLocale:N,routeLocaleGetter:_,nuxtI18nOptions:a});await zl({i18n:E,redirectPath:U,locale:N,route:o},{differentDomains:h,skipSettingLocaleOnNavigate:d,rootRedirect:m,enableNavigate:!0})},k.differentDomains=h,k.defaultLocale=u,k.getBrowserLocale=()=>Af(zr,e.ssrContext),k.getLocaleCookie=()=>Vi(e.ssrContext,{...a.detectBrowserLanguage,localeCodes:sn}),k.setLocaleCookie=N=>U_(N,e.ssrContext,a.detectBrowserLanguage||void 0),k.onBeforeLanguageSwitch=(N,B,j,U)=>e.callHook("i18n:beforeLocaleSwitch",{oldLocale:N,newLocale:B,initialSetup:j,context:U}),k.onLanguageSwitched=(N,B)=>e.callHook("i18n:localeSwitched",{oldLocale:N,newLocale:B}),k.finalizePendingLocaleChange=async()=>{E.__pendingLocale&&(Ef(E,E.__pendingLocale),E.__resolvePendingLocalePromise&&await E.__resolvePendingLocalePromise(),E.__pendingLocale=void 0)},k.waitForPendingLocaleChange=async()=>{E.__pendingLocale&&E.__pendingLocalePromise&&await E.__pendingLocalePromise}},onExtendExportedGlobal(k){return{strategy:{get(){return k.strategy}},localeProperties:{get(){return k.localeProperties.value}},setLocale:{get(){return async N=>Reflect.apply(k.setLocale,k,[N])}},differentDomains:{get(){return k.differentDomains}},defaultLocale:{get(){return k.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(k.getBrowserLocale,k,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(k.getLocaleCookie,k,[])}},setLocaleCookie:{get(){return N=>Reflect.apply(k.setLocaleCookie,k,[N])}},onBeforeLanguageSwitch:{get(){return(N,B,j,U)=>Reflect.apply(k.onBeforeLanguageSwitch,k,[N,B,j,U])}},onLanguageSwitched:{get(){return(N,B)=>Reflect.apply(k.onLanguageSwitched,k,[N,B])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(k.finalizePendingLocaleChange,k,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(k.waitForPendingLocaleChange,k,[])}}}},onExtendVueI18n(k){return{strategy:{get(){return k.strategy}},localeProperties:{get(){return k.localeProperties.value}},setLocale:{get(){return async N=>Reflect.apply(k.setLocale,k,[N])}},differentDomains:{get(){return k.differentDomains}},defaultLocale:{get(){return k.defaultLocale}},getBrowserLocale:{get(){return()=>Reflect.apply(k.getBrowserLocale,k,[])}},getLocaleCookie:{get(){return()=>Reflect.apply(k.getLocaleCookie,k,[])}},setLocaleCookie:{get(){return N=>Reflect.apply(k.setLocaleCookie,k,[N])}},onBeforeLanguageSwitch:{get(){return(N,B,j,U)=>Reflect.apply(k.onBeforeLanguageSwitch,k,[N,B,j,U])}},onLanguageSwitched:{get(){return(N,B)=>Reflect.apply(k.onLanguageSwitched,k,[N,B])}},finalizePendingLocaleChange:{get(){return()=>Reflect.apply(k.finalizePendingLocaleChange,k,[])}},waitForPendingLocaleChange:{get(){return()=>Reflect.apply(k.waitForPendingLocaleChange,k,[])}}}}}});const A={__composerExtend:k=>{const N=_n(E);return k.strategy=N.strategy,k.localeProperties=we(()=>N.localeProperties.value),k.setLocale=N.setLocale,k.differentDomains=N.differentDomains,k.getBrowserLocale=N.getBrowserLocale,k.getLocaleCookie=N.getLocaleCookie,k.setLocaleCookie=N.setLocaleCookie,k.onBeforeLanguageSwitch=N.onBeforeLanguageSwitch,k.onLanguageSwitched=N.onLanguageSwitched,k.finalizePendingLocaleChange=N.finalizePendingLocaleChange,k.waitForPendingLocaleChange=N.waitForPendingLocaleChange,()=>{}}};r.use(E,A),z_(i,E);let R=0;Rm("locale-changing",async(k,N)=>{let B,j;const U=Jl(k,e.ssrContext,_,a,()=>Fs(E)||x(u),{ssg:L()&&v==="no_prefix"?"ssg_ignore":"normal",callType:"routing",firstAccess:R===0},f,sn),J=w(U),[se]=([B,j]=mn(()=>Yl(U,i,E,{useCookie:l,differentDomains:h,initial:J,skipSettingLocaleOnNavigate:d,lazy:c})),B=await B,j(),B);se&&J&&(S=!1);const le=ql({route:{to:k,from:N},context:i,targetLocale:U,routeLocaleGetter:_,nuxtI18nOptions:a,calledWithRouting:!0});return R++,zl({i18n:E,redirectPath:le,locale:U,route:k},{differentDomains:h,skipSettingLocaleOnNavigate:d,rootRedirect:m})},{global:!0})}}),rx=Mt({name:"nuxt:chunk-reload",setup(e){const t=pt(),n=Ti(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:o})=>{s.add(o)}),t.onError((o,r)=>{if(s.has(o)){const a="href"in r&&r.href.startsWith("#")?n.app.baseURL+r.href:Gn(n.app.baseURL,r.fullPath);$m({path:a,persistState:!0})}})}}),sx=[Om,Gm,ty,ny,ry,sy,oy,nx,rx],ox=(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())||""}),Zo=(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&&ox(e.route,n));return typeof s=="function"?s(e.route):s},ix=(e,t)=>({default:()=>e?We(ah,e===!0?{}:e,t):t}),ax=Ke({name:"RouteProvider",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 pn(kr,Pr(s)),()=>We(e.vnode,{ref:e.vnodeRef})}}),Ff=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var s;return t?We(e,t,n):(s=n.default)==null?void 0:s.call(n)}}),lx=Ke({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,expose:n}){const s=be(),o=ge(),r=Ve(kr,null);n({pageRef:o});const i=Ve(Ou,null);let a;const l=s.deferHydration();return()=>We(Xu,{name:e.name,route:e.route,...t},{default:f=>{const u=fx(r,f.route,f.Component),h=r&&r.matched.length===f.route.matched.length;if(!f.Component)return a&&!h?a:void 0;if(a&&i&&!i.isCurrent(f.route))return a;if(u&&r&&(!i||i!=null&&i.isCurrent(r)))return h?a:null;const d=Zo(f,e.pageKey),c=!!(e.transition??f.route.meta.pageTransition??So),p=c&&ux([e.transition,f.route.meta.pageTransition,So,{onAfterLeave:()=>{s.callHook("page:transition:finish",f.Component)}}].filter(Boolean));return a=Ff(Ts,c&&p,ix(e.keepalive??f.route.meta.keepalive??mm,We(mi,{suspensible:!0,onPending:()=>s.callHook("page:start",f.Component),onResolve:()=>{Jt(()=>s.callHook("page:finish",f.Component).finally(l))}},{default:()=>We(ax,{key:d,vnode:f.Component,route:f.route,renderKey:d,trackRootNodes:c,vnodeRef:o})}))).default(),a}})}});function cx(e){return Array.isArray(e)?e:e?[e]:[]}function ux(e){const t=e.map(n=>({...n,onAfterLeave:cx(n.onAfterLeave)}));return bm(...t)}function fx(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&&Zo({route:t,Component:n})!==Zo({route:e,Component:n})}const dx=Ke({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await un[e.name]().then(s=>s.default||s);return()=>We(n,e.layoutProps,t.slots)}}),hx=Ke({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=be(),s=Ve(kr),o=s===Ir()?Ai():s,r=we(()=>oe(e.name)??o.meta.layout??"default"),i=ge();t.expose({layoutRef:i});const a=n.deferHydration();return()=>{const l=r.value&&r.value in un,f=o.meta.layoutTransition??gm;return Ff(Ts,l&&f,{default:()=>We(mi,{suspensible:!0,onResolve:()=>{Jt(a)}},{default:()=>We(px,{layoutProps:cu(t.attrs,{ref:i}),key:r.value,name:r.value,shouldProvide:!e.name,hasTransition:!!f},t.slots)})}).default()}}}),px=Ke({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&&pn(Ou,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>{var s,o;return!n||typeof n=="string"&&!(n in un)?(o=(s=t.slots).default)==null?void 0:o.call(s):We(dx,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}}),Hs=Ke({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=ge(!1);return ht(()=>{s.value=!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 nt(a,n,i)}}});function Zl(){return localStorage.getItem("cookie")==null}function gx(){localStorage.setItem("cookie","accept")}function mx(){localStorage.setItem("cookie","refuse")}const $f=["cookie","future","change-something","picture-bright","picture-nolights"];function vx(e){if(!$f.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 Wi(){return JSON.parse(localStorage.getItem("eastereggs")??"[]")}function ec(){return Wi().length}function yx(){return $f.length}function DE(e){return e[Math.floor(Math.random()*e.length)]}function Bf(e,t){return Math.random()*(t-e)+e}function _x(e,t){return Math.floor(Bf(e,t))}var ro=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Hf={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()})(ro,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{enumerable:!0,get:a})},o.r=function(r){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(r,"__esModule",{value:!0})},o.t=function(r,i){if(i&1&&(r=o(r)),i&8||i&4&&typeof r=="object"&&r&&r.__esModule)return r;var a=Object.create(null);if(o.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:r}),i&2&&typeof r!="string")for(var l in r)o.d(a,l,(function(f){return r[f]}).bind(null,l));return a},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.s=20)}([function(n,s){var o={};n.exports=o,function(){o._baseDelta=1e3/60,o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(i,a){var l,f;typeof a=="boolean"?(l=2,f=a):(l=1,f=!0);for(var u=l;u<arguments.length;u++){var h=arguments[u];if(h)for(var d in h)f&&h[d]&&h[d].constructor===Object&&(!i[d]||i[d].constructor===Object)?(i[d]=i[d]||{},o.extend(i[d],f,h[d])):i[d]=h[d]}return i},o.clone=function(i,a){return o.extend({},a,i)},o.keys=function(i){if(Object.keys)return Object.keys(i);var a=[];for(var l in i)a.push(l);return a},o.values=function(i){var a=[];if(Object.keys){for(var l=Object.keys(i),f=0;f<l.length;f++)a.push(i[l[f]]);return a}for(var u in i)a.push(i[u]);return a},o.get=function(i,a,l,f){a=a.split(".").slice(l,f);for(var u=0;u<a.length;u+=1)i=i[a[u]];return i},o.set=function(i,a,l,f,u){var h=a.split(".").slice(f,u);return o.get(i,a,0,-1)[h[h.length-1]]=l,l},o.shuffle=function(i){for(var a=i.length-1;a>0;a--){var l=Math.floor(o.random()*(a+1)),f=i[a];i[a]=i[l],i[l]=f}return i},o.choose=function(i){return i[Math.floor(o.random()*i.length)]},o.isElement=function(i){return typeof HTMLElement<"u"?i instanceof HTMLElement:!!(i&&i.nodeType&&i.nodeName)},o.isArray=function(i){return Object.prototype.toString.call(i)==="[object Array]"},o.isFunction=function(i){return typeof i=="function"},o.isPlainObject=function(i){return typeof i=="object"&&i.constructor===Object},o.isString=function(i){return toString.call(i)==="[object String]"},o.clamp=function(i,a,l){return i<a?a:i>l?l:i},o.sign=function(i){return i<0?-1:1},o.now=function(){if(typeof window<"u"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-o._nowStartTime},o.random=function(i,a){return i=typeof i<"u"?i:0,a=typeof a<"u"?a:1,i+r()*(a-i)};var r=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.colorToNumber=function(i){return i=i.replace("#",""),i.length==3&&(i=i.charAt(0)+i.charAt(0)+i.charAt(1)+i.charAt(1)+i.charAt(2)+i.charAt(2)),parseInt(i,16)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var i=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[i]||(o.warn(i),o._warnedOnce[i]=!0)},o.deprecated=function(i,a,l){i[a]=o.chain(function(){o.warnOnce("🔅 deprecated 🔅",l)},i[a])},o.nextId=function(){return o._nextId++},o.indexOf=function(i,a){if(i.indexOf)return i.indexOf(a);for(var l=0;l<i.length;l++)if(i[l]===a)return l;return-1},o.map=function(i,a){if(i.map)return i.map(a);for(var l=[],f=0;f<i.length;f+=1)l.push(a(i[f]));return l},o.topologicalSort=function(i){var a=[],l=[],f=[];for(var u in i)!l[u]&&!f[u]&&o._topologicalSort(u,l,f,i,a);return a},o._topologicalSort=function(i,a,l,f,u){var h=f[i]||[];l[i]=!0;for(var d=0;d<h.length;d+=1){var c=h[d];l[c]||a[c]||o._topologicalSort(c,a,l,f,u)}l[i]=!1,a[i]=!0,u.push(i)},o.chain=function(){for(var i=[],a=0;a<arguments.length;a+=1){var l=arguments[a];l._chained?i.push.apply(i,l._chained):i.push(l)}var f=function(){for(var u,h=new Array(arguments.length),d=0,c=arguments.length;d<c;d++)h[d]=arguments[d];for(d=0;d<i.length;d+=1){var p=i[d].apply(u,h);typeof p<"u"&&(u=p)}return u};return f._chained=i,f},o.chainPathBefore=function(i,a,l){return o.set(i,a,o.chain(l,o.get(i,a)))},o.chainPathAfter=function(i,a,l){return o.set(i,a,o.chain(o.get(i,a),l))},o.setDecomp=function(i){o._decomp=i},o.getDecomp=function(){var i=o._decomp;try{!i&&typeof window<"u"&&(i=window.decomp),!i&&typeof ro<"u"&&(i=ro.decomp)}catch{i=null}return i}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){var i={min:{x:0,y:0},max:{x:0,y:0}};return r&&o.update(i,r),i},o.update=function(r,i,a){r.min.x=1/0,r.max.x=-1/0,r.min.y=1/0,r.max.y=-1/0;for(var l=0;l<i.length;l++){var f=i[l];f.x>r.max.x&&(r.max.x=f.x),f.x<r.min.x&&(r.min.x=f.x),f.y>r.max.y&&(r.max.y=f.y),f.y<r.min.y&&(r.min.y=f.y)}a&&(a.x>0?r.max.x+=a.x:r.min.x+=a.x,a.y>0?r.max.y+=a.y:r.min.y+=a.y)},o.contains=function(r,i){return i.x>=r.min.x&&i.x<=r.max.x&&i.y>=r.min.y&&i.y<=r.max.y},o.overlaps=function(r,i){return r.min.x<=i.max.x&&r.max.x>=i.min.x&&r.max.y>=i.min.y&&r.min.y<=i.max.y},o.translate=function(r,i){r.min.x+=i.x,r.max.x+=i.x,r.min.y+=i.y,r.max.y+=i.y},o.shift=function(r,i){var a=r.max.x-r.min.x,l=r.max.y-r.min.y;r.min.x=i.x,r.max.x=i.x+a,r.min.y=i.y,r.max.y=i.y+l}}()},function(n,s){var o={};n.exports=o,function(){o.create=function(r,i){return{x:r||0,y:i||0}},o.clone=function(r){return{x:r.x,y:r.y}},o.magnitude=function(r){return Math.sqrt(r.x*r.x+r.y*r.y)},o.magnitudeSquared=function(r){return r.x*r.x+r.y*r.y},o.rotate=function(r,i,a){var l=Math.cos(i),f=Math.sin(i);a||(a={});var u=r.x*l-r.y*f;return a.y=r.x*f+r.y*l,a.x=u,a},o.rotateAbout=function(r,i,a,l){var f=Math.cos(i),u=Math.sin(i);l||(l={});var h=a.x+((r.x-a.x)*f-(r.y-a.y)*u);return l.y=a.y+((r.x-a.x)*u+(r.y-a.y)*f),l.x=h,l},o.normalise=function(r){var i=o.magnitude(r);return i===0?{x:0,y:0}:{x:r.x/i,y:r.y/i}},o.dot=function(r,i){return r.x*i.x+r.y*i.y},o.cross=function(r,i){return r.x*i.y-r.y*i.x},o.cross3=function(r,i,a){return(i.x-r.x)*(a.y-r.y)-(i.y-r.y)*(a.x-r.x)},o.add=function(r,i,a){return a||(a={}),a.x=r.x+i.x,a.y=r.y+i.y,a},o.sub=function(r,i,a){return a||(a={}),a.x=r.x-i.x,a.y=r.y-i.y,a},o.mult=function(r,i){return{x:r.x*i,y:r.y*i}},o.div=function(r,i){return{x:r.x/i,y:r.y/i}},o.perp=function(r,i){return i=i===!0?-1:1,{x:i*-r.y,y:i*r.x}},o.neg=function(r){return{x:-r.x,y:-r.y}},o.angle=function(r,i){return Math.atan2(i.y-r.y,i.x-r.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.create=function(l,f){for(var u=[],h=0;h<l.length;h++){var d=l[h],c={x:d.x,y:d.y,index:h,body:f,isInternal:!1};u.push(c)}return u},r.fromPath=function(l,f){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,h=[];return l.replace(u,function(d,c,p){h.push({x:parseFloat(c),y:parseFloat(p)})}),r.create(h,f)},r.centre=function(l){for(var f=r.area(l,!0),u={x:0,y:0},h,d,c,p=0;p<l.length;p++)c=(p+1)%l.length,h=i.cross(l[p],l[c]),d=i.mult(i.add(l[p],l[c]),h),u=i.add(u,d);return i.div(u,6*f)},r.mean=function(l){for(var f={x:0,y:0},u=0;u<l.length;u++)f.x+=l[u].x,f.y+=l[u].y;return i.div(f,l.length)},r.area=function(l,f){for(var u=0,h=l.length-1,d=0;d<l.length;d++)u+=(l[h].x-l[d].x)*(l[h].y+l[d].y),h=d;return f?u/2:Math.abs(u)/2},r.inertia=function(l,f){for(var u=0,h=0,d=l,c,p,g=0;g<d.length;g++)p=(g+1)%d.length,c=Math.abs(i.cross(d[p],d[g])),u+=c*(i.dot(d[p],d[p])+i.dot(d[p],d[g])+i.dot(d[g],d[g])),h+=c;return f/6*(u/h)},r.translate=function(l,f,u){u=typeof u<"u"?u:1;var h=l.length,d=f.x*u,c=f.y*u,p;for(p=0;p<h;p++)l[p].x+=d,l[p].y+=c;return l},r.rotate=function(l,f,u){if(f!==0){var h=Math.cos(f),d=Math.sin(f),c=u.x,p=u.y,g=l.length,v,m,_,b;for(b=0;b<g;b++)v=l[b],m=v.x-c,_=v.y-p,v.x=c+(m*h-_*d),v.y=p+(m*d+_*h);return l}},r.contains=function(l,f){for(var u=f.x,h=f.y,d=l.length,c=l[d-1],p,g=0;g<d;g++){if(p=l[g],(u-c.x)*(p.y-c.y)+(h-c.y)*(c.x-p.x)>0)return!1;c=p}return!0},r.scale=function(l,f,u,h){if(f===1&&u===1)return l;h=h||r.centre(l);for(var d,c,p=0;p<l.length;p++)d=l[p],c=i.sub(d,h),l[p].x=h.x+c.x*f,l[p].y=h.y+c.y*u;return l},r.chamfer=function(l,f,u,h,d){typeof f=="number"?f=[f]:f=f||[8],u=typeof u<"u"?u:-1,h=h||2,d=d||14;for(var c=[],p=0;p<l.length;p++){var g=l[p-1>=0?p-1:l.length-1],v=l[p],m=l[(p+1)%l.length],_=f[p<f.length?p:f.length-1];if(_===0){c.push(v);continue}var b=i.normalise({x:v.y-g.y,y:g.x-v.x}),x=i.normalise({x:m.y-v.y,y:v.x-m.x}),y=Math.sqrt(2*Math.pow(_,2)),E=i.mult(a.clone(b),_),S=i.normalise(i.mult(i.add(b,x),.5)),w=i.sub(v,i.mult(S,y)),T=u;u===-1&&(T=Math.pow(_,.32)*1.75),T=a.clamp(T,h,d),T%2===1&&(T+=1);for(var L=Math.acos(i.dot(b,x)),A=L/T,R=0;R<T;R++)c.push(i.add(i.rotate(E,A*R),w))}return c},r.clockwiseSort=function(l){var f=r.mean(l);return l.sort(function(u,h){return i.angle(f,u)-i.angle(f,h)}),l},r.isConvex=function(l){var f=0,u=l.length,h,d,c,p;if(u<3)return null;for(h=0;h<u;h++)if(d=(h+1)%u,c=(h+2)%u,p=(l[d].x-l[h].x)*(l[c].y-l[d].y),p-=(l[d].y-l[h].y)*(l[c].x-l[d].x),p<0?f|=1:p>0&&(f|=2),f===3)return!1;return f!==0?!0:null},r.hull=function(l){var f=[],u=[],h,d;for(l=l.slice(0),l.sort(function(c,p){var g=c.x-p.x;return g!==0?g:c.y-p.y}),d=0;d<l.length;d+=1){for(h=l[d];u.length>=2&&i.cross3(u[u.length-2],u[u.length-1],h)<=0;)u.pop();u.push(h)}for(d=l.length-1;d>=0;d-=1){for(h=l[d];f.length>=2&&i.cross3(f[f.length-2],f[f.length-1],h)<=0;)f.pop();f.push(h)}return f.pop(),u.pop(),f.concat(u)}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),f=o(0),u=o(1),h=o(11);(function(){r._timeCorrection=!0,r._inertiaScale=4,r._nextCollidingGroupId=1,r._nextNonCollidingGroupId=-1,r._nextCategory=1,r._baseDelta=1e3/60,r.create=function(c){var p={id:f.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:i.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,deltaTime:16.666666666666668,_original:null},g=f.extend(p,c);return d(g,c),g},r.nextGroup=function(c){return c?r._nextNonCollidingGroupId--:r._nextCollidingGroupId++},r.nextCategory=function(){return r._nextCategory=r._nextCategory<<1,r._nextCategory};var d=function(c,p){p=p||{},r.set(c,{bounds:c.bounds||u.create(c.vertices),positionPrev:c.positionPrev||a.clone(c.position),anglePrev:c.anglePrev||c.angle,vertices:c.vertices,parts:c.parts||[c],isStatic:c.isStatic,isSleeping:c.isSleeping,parent:c.parent||c}),i.rotate(c.vertices,c.angle,c.position),h.rotate(c.axes,c.angle),u.update(c.bounds,c.vertices,c.velocity),r.set(c,{axes:p.axes||c.axes,area:p.area||c.area,mass:p.mass||c.mass,inertia:p.inertia||c.inertia});var g=c.isStatic?"#14151f":f.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),v=c.isStatic?"#555":"#ccc",m=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||m,c.render.sprite.xOffset+=-(c.bounds.min.x-c.position.x)/(c.bounds.max.x-c.bounds.min.x),c.render.sprite.yOffset+=-(c.bounds.min.y-c.position.y)/(c.bounds.max.y-c.bounds.min.y)};r.set=function(c,p,g){var v;typeof p=="string"&&(v=p,p={},p[v]=g);for(v in p)if(Object.prototype.hasOwnProperty.call(p,v))switch(g=p[v],v){case"isStatic":r.setStatic(c,g);break;case"isSleeping":l.set(c,g);break;case"mass":r.setMass(c,g);break;case"density":r.setDensity(c,g);break;case"inertia":r.setInertia(c,g);break;case"vertices":r.setVertices(c,g);break;case"position":r.setPosition(c,g);break;case"angle":r.setAngle(c,g);break;case"velocity":r.setVelocity(c,g);break;case"angularVelocity":r.setAngularVelocity(c,g);break;case"speed":r.setSpeed(c,g);break;case"angularSpeed":r.setAngularSpeed(c,g);break;case"parts":r.setParts(c,g);break;case"centre":r.setCentre(c,g);break;default:c[v]=g}},r.setStatic=function(c,p){for(var g=0;g<c.parts.length;g++){var v=c.parts[g];v.isStatic=p,p?(v._original={restitution:v.restitution,friction:v.friction,mass:v.mass,inertia:v.inertia,density:v.density,inverseMass:v.inverseMass,inverseInertia:v.inverseInertia},v.restitution=0,v.friction=1,v.mass=v.inertia=v.density=1/0,v.inverseMass=v.inverseInertia=0,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.anglePrev=v.angle,v.angularVelocity=0,v.speed=0,v.angularSpeed=0,v.motion=0):v._original&&(v.restitution=v._original.restitution,v.friction=v._original.friction,v.mass=v._original.mass,v.inertia=v._original.inertia,v.density=v._original.density,v.inverseMass=v._original.inverseMass,v.inverseInertia=v._original.inverseInertia,v._original=null)}},r.setMass=function(c,p){var g=c.inertia/(c.mass/6);c.inertia=g*(p/6),c.inverseInertia=1/c.inertia,c.mass=p,c.inverseMass=1/c.mass,c.density=c.mass/c.area},r.setDensity=function(c,p){r.setMass(c,p*c.area),c.density=p},r.setInertia=function(c,p){c.inertia=p,c.inverseInertia=1/c.inertia},r.setVertices=function(c,p){p[0].body===c?c.vertices=p:c.vertices=i.create(p,c),c.axes=h.fromVertices(c.vertices),c.area=i.area(c.vertices),r.setMass(c,c.density*c.area);var g=i.centre(c.vertices);i.translate(c.vertices,g,-1),r.setInertia(c,r._inertiaScale*i.inertia(c.vertices,c.mass)),i.translate(c.vertices,c.position),u.update(c.bounds,c.vertices,c.velocity)},r.setParts=function(c,p,g){var v;for(p=p.slice(0),c.parts.length=0,c.parts.push(c),c.parent=c,v=0;v<p.length;v++){var m=p[v];m!==c&&(m.parent=c,c.parts.push(m))}if(c.parts.length!==1){if(g=typeof g<"u"?g:!0,g){var _=[];for(v=0;v<p.length;v++)_=_.concat(p[v].vertices);i.clockwiseSort(_);var b=i.hull(_),x=i.centre(b);r.setVertices(c,b),i.translate(c.vertices,x)}var y=r._totalProperties(c);c.area=y.area,c.parent=c,c.position.x=y.centre.x,c.position.y=y.centre.y,c.positionPrev.x=y.centre.x,c.positionPrev.y=y.centre.y,r.setMass(c,y.mass),r.setInertia(c,y.inertia),r.setPosition(c,y.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 m=0;m<c.parts.length;m++){var _=c.parts[m];_.position.x+=v.x,_.position.y+=v.y,i.translate(_.vertices,v),u.update(_.bounds,_.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 m=0;m<c.parts.length;m++){var _=c.parts[m];_.angle+=v,i.rotate(_.vertices,v,c.position),h.rotate(_.axes,v),u.update(_.bounds,_.vertices,c.velocity),m>0&&a.rotateAbout(_.position,v,c.position,_.position)}},r.setVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.positionPrev.x=c.position.x-p.x*g,c.positionPrev.y=c.position.y-p.y*g,c.velocity.x=(c.position.x-c.positionPrev.x)/g,c.velocity.y=(c.position.y-c.positionPrev.y)/g,c.speed=a.magnitude(c.velocity)},r.getVelocity=function(c){var p=r._baseDelta/c.deltaTime;return{x:(c.position.x-c.positionPrev.x)*p,y:(c.position.y-c.positionPrev.y)*p}},r.getSpeed=function(c){return a.magnitude(r.getVelocity(c))},r.setSpeed=function(c,p){r.setVelocity(c,a.mult(a.normalise(r.getVelocity(c)),p))},r.setAngularVelocity=function(c,p){var g=c.deltaTime/r._baseDelta;c.anglePrev=c.angle-p*g,c.angularVelocity=(c.angle-c.anglePrev)/g,c.angularSpeed=Math.abs(c.angularVelocity)},r.getAngularVelocity=function(c){return(c.angle-c.anglePrev)*r._baseDelta/c.deltaTime},r.getAngularSpeed=function(c){return Math.abs(r.getAngularVelocity(c))},r.setAngularSpeed=function(c,p){r.setAngularVelocity(c,f.sign(r.getAngularVelocity(c))*p)},r.translate=function(c,p,g){r.setPosition(c,a.add(c.position,p),g)},r.rotate=function(c,p,g,v){if(!g)r.setAngle(c,c.angle+p,v);else{var m=Math.cos(p),_=Math.sin(p),b=c.position.x-g.x,x=c.position.y-g.y;r.setPosition(c,{x:g.x+(b*m-x*_),y:g.y+(b*_+x*m)},v),r.setAngle(c,c.angle+p,v)}},r.scale=function(c,p,g,v){var m=0,_=0;v=v||c.position;for(var b=0;b<c.parts.length;b++){var x=c.parts[b];i.scale(x.vertices,p,g,v),x.axes=h.fromVertices(x.vertices),x.area=i.area(x.vertices),r.setMass(x,c.density*x.area),i.translate(x.vertices,{x:-x.position.x,y:-x.position.y}),r.setInertia(x,r._inertiaScale*i.inertia(x.vertices,x.mass)),i.translate(x.vertices,{x:x.position.x,y:x.position.y}),b>0&&(m+=x.area,_+=x.inertia),x.position.x=v.x+(x.position.x-v.x)*p,x.position.y=v.y+(x.position.y-v.y)*g,u.update(x.bounds,x.vertices,c.velocity)}c.parts.length>1&&(c.area=m,c.isStatic||(r.setMass(c,c.density*m),r.setInertia(c,_))),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,m=1-c.frictionAir*(p/f._baseDelta),_=(c.position.x-c.positionPrev.x)*v,b=(c.position.y-c.positionPrev.y)*v;c.velocity.x=_*m+c.force.x/c.mass*g,c.velocity.y=b*m+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)*m*v+c.torque/c.inertia*g,c.anglePrev=c.angle,c.angle+=c.angularVelocity;for(var x=0;x<c.parts.length;x++){var y=c.parts[x];i.translate(y.vertices,c.velocity),x>0&&(y.position.x+=c.velocity.x,y.position.y+=c.velocity.y),c.angularVelocity!==0&&(i.rotate(y.vertices,c.angularVelocity,c.position),h.rotate(y.axes,c.angularVelocity),x>0&&a.rotateAbout(y.position,c.angularVelocity,c.position,y.position)),u.update(y.bounds,y.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],m=v.mass!==1/0?v.mass:1;p.mass+=m,p.area+=v.area,p.inertia+=v.inertia,p.centre=a.add(p.centre,a.mult(v.position,m))}return p.centre=a.div(p.centre,p.mass),p}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.on=function(a,l,f){for(var u=l.split(" "),h,d=0;d<u.length;d++)h=u[d],a.events=a.events||{},a.events[h]=a.events[h]||[],a.events[h].push(f);return f},r.off=function(a,l,f){if(!l){a.events={};return}typeof l=="function"&&(f=l,l=i.keys(a.events).join(" "));for(var u=l.split(" "),h=0;h<u.length;h++){var d=a.events[u[h]],c=[];if(f&&d)for(var p=0;p<d.length;p++)d[p]!==f&&c.push(d[p]);a.events[u[h]]=c}},r.trigger=function(a,l,f){var u,h,d,c,p=a.events;if(p&&i.keys(p).length>0){f||(f={}),u=l.split(" ");for(var g=0;g<u.length;g++)if(h=u[g],d=p[h],d){c=i.clone(f,!1),c.name=h,c.source=a;for(var v=0;v<d.length;v++)d[v].apply(a,[c])}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(0),l=o(1),f=o(4);(function(){r.create=function(u){return a.extend({id:a.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{},cache:{allBodies:null,allConstraints:null,allComposites:null}},u)},r.setModified=function(u,h,d,c){if(u.isModified=h,h&&u.cache&&(u.cache.allBodies=null,u.cache.allConstraints=null,u.cache.allComposites=null),d&&u.parent&&r.setModified(u.parent,h,d,c),c)for(var p=0;p<u.composites.length;p++){var g=u.composites[p];r.setModified(g,h,d,c)}},r.add=function(u,h){var d=[].concat(h);i.trigger(u,"beforeAdd",{object:h});for(var c=0;c<d.length;c++){var p=d[c];switch(p.type){case"body":if(p.parent!==p){a.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}r.addBody(u,p);break;case"constraint":r.addConstraint(u,p);break;case"composite":r.addComposite(u,p);break;case"mouseConstraint":r.addConstraint(u,p.constraint);break}}return i.trigger(u,"afterAdd",{object:h}),u},r.remove=function(u,h,d){var c=[].concat(h);i.trigger(u,"beforeRemove",{object:h});for(var p=0;p<c.length;p++){var g=c[p];switch(g.type){case"body":r.removeBody(u,g,d);break;case"constraint":r.removeConstraint(u,g,d);break;case"composite":r.removeComposite(u,g,d);break;case"mouseConstraint":r.removeConstraint(u,g.constraint);break}}return i.trigger(u,"afterRemove",{object:h}),u},r.addComposite=function(u,h){return u.composites.push(h),h.parent=u,r.setModified(u,!0,!0,!1),u},r.removeComposite=function(u,h,d){var c=a.indexOf(u.composites,h);if(c!==-1&&r.removeCompositeAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeComposite(u.composites[p],h,!0);return u},r.removeCompositeAt=function(u,h){return u.composites.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addBody=function(u,h){return u.bodies.push(h),r.setModified(u,!0,!0,!1),u},r.removeBody=function(u,h,d){var c=a.indexOf(u.bodies,h);if(c!==-1&&r.removeBodyAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeBody(u.composites[p],h,!0);return u},r.removeBodyAt=function(u,h){return u.bodies.splice(h,1),r.setModified(u,!0,!0,!1),u},r.addConstraint=function(u,h){return u.constraints.push(h),r.setModified(u,!0,!0,!1),u},r.removeConstraint=function(u,h,d){var c=a.indexOf(u.constraints,h);if(c!==-1&&r.removeConstraintAt(u,c),d)for(var p=0;p<u.composites.length;p++)r.removeConstraint(u.composites[p],h,!0);return u},r.removeConstraintAt=function(u,h){return u.constraints.splice(h,1),r.setModified(u,!0,!0,!1),u},r.clear=function(u,h,d){if(d)for(var c=0;c<u.composites.length;c++)r.clear(u.composites[c],h,!0);return h?u.bodies=u.bodies.filter(function(p){return p.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,r.setModified(u,!0,!0,!1),u},r.allBodies=function(u){if(u.cache&&u.cache.allBodies)return u.cache.allBodies;for(var h=[].concat(u.bodies),d=0;d<u.composites.length;d++)h=h.concat(r.allBodies(u.composites[d]));return u.cache&&(u.cache.allBodies=h),h},r.allConstraints=function(u){if(u.cache&&u.cache.allConstraints)return u.cache.allConstraints;for(var h=[].concat(u.constraints),d=0;d<u.composites.length;d++)h=h.concat(r.allConstraints(u.composites[d]));return u.cache&&(u.cache.allConstraints=h),h},r.allComposites=function(u){if(u.cache&&u.cache.allComposites)return u.cache.allComposites;for(var h=[].concat(u.composites),d=0;d<u.composites.length;d++)h=h.concat(r.allComposites(u.composites[d]));return u.cache&&(u.cache.allComposites=h),h},r.get=function(u,h,d){var c,p;switch(d){case"body":c=r.allBodies(u);break;case"constraint":c=r.allConstraints(u);break;case"composite":c=r.allComposites(u).concat(u);break}return c?(p=c.filter(function(g){return g.id.toString()===h.toString()}),p.length===0?null:p[0]):null},r.move=function(u,h,d){return r.remove(u,h),r.add(d,h),u},r.rebase=function(u){for(var h=r.allBodies(u).concat(r.allConstraints(u)).concat(r.allComposites(u)),d=0;d<h.length;d++)h[d].id=a.nextId();return u},r.translate=function(u,h,d){for(var c=d?r.allBodies(u):u.bodies,p=0;p<c.length;p++)f.translate(c[p],h);return u},r.rotate=function(u,h,d,c){for(var p=Math.cos(h),g=Math.sin(h),v=c?r.allBodies(u):u.bodies,m=0;m<v.length;m++){var _=v[m],b=_.position.x-d.x,x=_.position.y-d.y;f.setPosition(_,{x:d.x+(b*p-x*g),y:d.y+(b*g+x*p)}),f.rotate(_,h)}return u},r.scale=function(u,h,d,c,p){for(var g=p?r.allBodies(u):u.bodies,v=0;v<g.length;v++){var m=g[v],_=m.position.x-c.x,b=m.position.y-c.y;f.setPosition(m,{x:c.x+_*h,y:c.y+b*d}),f.scale(m,h,d)}return u},r.bounds=function(u){for(var h=r.allBodies(u),d=[],c=0;c<h.length;c+=1){var p=h[c];d.push(p.bounds.min,p.bounds.max)}return l.create(d)}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(5),l=o(0);(function(){r._motionWakeThreshold=.18,r._motionSleepThreshold=.08,r._minBias=.9,r.update=function(f,u){for(var h=u/l._baseDelta,d=r._motionSleepThreshold,c=0;c<f.length;c++){var p=f[c],g=i.getSpeed(p),v=i.getAngularSpeed(p),m=g*g+v*v;if(p.force.x!==0||p.force.y!==0){r.set(p,!1);continue}var _=Math.min(p.motion,m),b=Math.max(p.motion,m);p.motion=r._minBias*_+(1-r._minBias)*b,p.sleepThreshold>0&&p.motion<d?(p.sleepCounter+=1,p.sleepCounter>=p.sleepThreshold/h&&r.set(p,!0)):p.sleepCounter>0&&(p.sleepCounter-=1)}},r.afterCollisions=function(f){for(var u=r._motionSleepThreshold,h=0;h<f.length;h++){var d=f[h];if(d.isActive){var c=d.collision,p=c.bodyA.parent,g=c.bodyB.parent;if(!(p.isSleeping&&g.isSleeping||p.isStatic||g.isStatic)&&(p.isSleeping||g.isSleeping)){var v=p.isSleeping&&!p.isStatic?p:g,m=v===p?g:p;!v.isStatic&&m.motion>u&&r.set(v,!1)}}}},r.set=function(f,u){var h=f.isSleeping;u?(f.isSleeping=!0,f.sleepCounter=f.sleepThreshold,f.positionImpulse.x=0,f.positionImpulse.y=0,f.positionPrev.x=f.position.x,f.positionPrev.y=f.position.y,f.anglePrev=f.angle,f.speed=0,f.angularSpeed=0,f.motion=0,h||a.trigger(f,"sleepStart")):(f.isSleeping=!1,f.sleepCounter=0,h&&a.trigger(f,"sleepEnd"))}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(9);(function(){var l=[],f={overlap:0,axis:null},u={overlap:0,axis:null};r.create=function(h,d){return{pair:null,collided:!1,bodyA:h,bodyB:d,parentA:h.parent,parentB:d.parent,depth:0,normal:{x:0,y:0},tangent:{x:0,y:0},penetration:{x:0,y:0},supports:[]}},r.collides=function(h,d,c){if(r._overlapAxes(f,h.vertices,d.vertices,h.axes),f.overlap<=0||(r._overlapAxes(u,d.vertices,h.vertices,d.axes),u.overlap<=0))return null;var p=c&&c.table[a.id(h,d)],g;p?g=p.collision:(g=r.create(h,d),g.collided=!0,g.bodyA=h.id<d.id?h:d,g.bodyB=h.id<d.id?d:h,g.parentA=g.bodyA.parent,g.parentB=g.bodyB.parent),h=g.bodyA,d=g.bodyB;var v;f.overlap<u.overlap?v=f:v=u;var m=g.normal,_=g.supports,b=v.axis,x=b.x,y=b.y;x*(d.position.x-h.position.x)+y*(d.position.y-h.position.y)<0?(m.x=x,m.y=y):(m.x=-x,m.y=-y),g.tangent.x=-m.y,g.tangent.y=m.x,g.depth=v.overlap,g.penetration.x=m.x*g.depth,g.penetration.y=m.y*g.depth;var E=r._findSupports(h,d,m,1),S=0;if(i.contains(h.vertices,E[0])&&(_[S++]=E[0]),i.contains(h.vertices,E[1])&&(_[S++]=E[1]),S<2){var w=r._findSupports(d,h,m,-1);i.contains(d.vertices,w[0])&&(_[S++]=w[0]),S<2&&i.contains(d.vertices,w[1])&&(_[S++]=w[1])}return S===0&&(_[S++]=E[0]),_.length=S,g},r._overlapAxes=function(h,d,c,p){var g=d.length,v=c.length,m=d[0].x,_=d[0].y,b=c[0].x,x=c[0].y,y=p.length,E=Number.MAX_VALUE,S=0,w,T,L,A,R,k;for(R=0;R<y;R++){var N=p[R],B=N.x,j=N.y,U=m*B+_*j,J=b*B+x*j,se=U,le=J;for(k=1;k<g;k+=1)A=d[k].x*B+d[k].y*j,A>se?se=A:A<U&&(U=A);for(k=1;k<v;k+=1)A=c[k].x*B+c[k].y*j,A>le?le=A:A<J&&(J=A);if(T=se-J,L=le-U,w=T<L?T:L,w<E&&(E=w,S=R,w<=0))break}h.axis=p[S],h.overlap=E},r._projectToAxis=function(h,d,c){for(var p=d[0].x*c.x+d[0].y*c.y,g=p,v=1;v<d.length;v+=1){var m=d[v].x*c.x+d[v].y*c.y;m>g?g=m:m<p&&(p=m)}h.min=p,h.max=g},r._findSupports=function(h,d,c,p){var g=d.vertices,v=g.length,m=h.position.x,_=h.position.y,b=c.x*p,x=c.y*p,y=Number.MAX_VALUE,E,S,w,T,L;for(L=0;L<v;L+=1)S=g[L],T=b*(m-S.x)+x*(_-S.y),T<y&&(y=T,E=S);return w=g[(v+E.index-1)%v],y=b*(m-w.x)+x*(_-w.y),S=g[(E.index+1)%v],b*(m-S.x)+x*(_-S.y)<y?(l[0]=E,l[1]=S,l):(l[0]=E,l[1]=w,l)}})()},function(n,s,o){var r={};n.exports=r;var i=o(16);(function(){r.create=function(a,l){var f=a.bodyA,u=a.bodyB,h={id:r.id(f,u),bodyA:f,bodyB:u,collision:a,contacts:[],activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:f.isSensor||u.isSensor,timeCreated:l,timeUpdated:l,inverseMass:0,friction:0,frictionStatic:0,restitution:0,slop:0};return r.update(h,a,l),h},r.update=function(a,l,f){var u=a.contacts,h=l.supports,d=a.activeContacts,c=l.parentA,p=l.parentB,g=c.vertices.length;a.isActive=!0,a.timeUpdated=f,a.collision=l,a.separation=l.depth,a.inverseMass=c.inverseMass+p.inverseMass,a.friction=c.friction<p.friction?c.friction:p.friction,a.frictionStatic=c.frictionStatic>p.frictionStatic?c.frictionStatic:p.frictionStatic,a.restitution=c.restitution>p.restitution?c.restitution:p.restitution,a.slop=c.slop>p.slop?c.slop:p.slop,l.pair=a,d.length=0;for(var v=0;v<h.length;v++){var m=h[v],_=m.body===c?m.index:g+m.index,b=u[_];b?d.push(b):d.push(u[_]=i.create(m))}},r.setActive=function(a,l,f){l?(a.isActive=!0,a.timeUpdated=f):(a.isActive=!1,a.activeContacts.length=0)},r.id=function(a,l){return a.id<l.id?"A"+a.id+"B"+l.id:"A"+l.id+"B"+a.id}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(2),l=o(7),f=o(1),u=o(11),h=o(0);(function(){r._warming=.4,r._torqueDampen=1,r._minLength=1e-6,r.create=function(d){var c=d;c.bodyA&&!c.pointA&&(c.pointA={x:0,y:0}),c.bodyB&&!c.pointB&&(c.pointB={x:0,y:0});var p=c.bodyA?a.add(c.bodyA.position,c.pointA):c.pointA,g=c.bodyB?a.add(c.bodyB.position,c.pointB):c.pointB,v=a.magnitude(a.sub(p,g));c.length=typeof c.length<"u"?c.length:v,c.id=c.id||h.nextId(),c.label=c.label||"Constraint",c.type="constraint",c.stiffness=c.stiffness||(c.length>0?1:.7),c.damping=c.damping||0,c.angularStiffness=c.angularStiffness||0,c.angleA=c.bodyA?c.bodyA.angle:c.angleA,c.angleB=c.bodyB?c.bodyB.angle:c.angleB,c.plugin={};var m={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return c.length===0&&c.stiffness>.1?(m.type="pin",m.anchors=!1):c.stiffness<.9&&(m.type="spring"),c.render=h.extend(m,c.render),c},r.preSolveAll=function(d){for(var c=0;c<d.length;c+=1){var p=d[c],g=p.constraintImpulse;p.isStatic||g.x===0&&g.y===0&&g.angle===0||(p.position.x+=g.x,p.position.y+=g.y,p.angle+=g.angle)}},r.solveAll=function(d,c){for(var p=h.clamp(c/h._baseDelta,0,1),g=0;g<d.length;g+=1){var v=d[g],m=!v.bodyA||v.bodyA&&v.bodyA.isStatic,_=!v.bodyB||v.bodyB&&v.bodyB.isStatic;(m||_)&&r.solve(d[g],p)}for(g=0;g<d.length;g+=1)v=d[g],m=!v.bodyA||v.bodyA&&v.bodyA.isStatic,_=!v.bodyB||v.bodyB&&v.bodyB.isStatic,!m&&!_&&r.solve(d[g],p)},r.solve=function(d,c){var p=d.bodyA,g=d.bodyB,v=d.pointA,m=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(m,g.angle-d.angleB,m),d.angleB=g.angle);var _=v,b=m;if(p&&(_=a.add(p.position,v)),g&&(b=a.add(g.position,m)),!(!_||!b)){var x=a.sub(_,b),y=a.magnitude(x);y<r._minLength&&(y=r._minLength);var E=(y-d.length)/y,S=d.stiffness>=1||d.length===0,w=S?d.stiffness*c:d.stiffness*c*c,T=d.damping*c,L=a.mult(x,E*w),A=(p?p.inverseMass:0)+(g?g.inverseMass:0),R=(p?p.inverseInertia:0)+(g?g.inverseInertia:0),k=A+R,N,B,j,U,J;if(T>0){var se=a.create();j=a.div(x,y),J=a.sub(g&&a.sub(g.position,g.positionPrev)||se,p&&a.sub(p.position,p.positionPrev)||se),U=a.dot(j,J)}p&&!p.isStatic&&(B=p.inverseMass/A,p.constraintImpulse.x-=L.x*B,p.constraintImpulse.y-=L.y*B,p.position.x-=L.x*B,p.position.y-=L.y*B,T>0&&(p.positionPrev.x-=T*j.x*U*B,p.positionPrev.y-=T*j.y*U*B),N=a.cross(v,L)/k*r._torqueDampen*p.inverseInertia*(1-d.angularStiffness),p.constraintImpulse.angle-=N,p.angle-=N),g&&!g.isStatic&&(B=g.inverseMass/A,g.constraintImpulse.x+=L.x*B,g.constraintImpulse.y+=L.y*B,g.position.x+=L.x*B,g.position.y+=L.y*B,T>0&&(g.positionPrev.x+=T*j.x*U*B,g.positionPrev.y+=T*j.y*U*B),N=a.cross(m,L)/k*r._torqueDampen*g.inverseInertia*(1-d.angularStiffness),g.constraintImpulse.angle+=N,g.angle+=N)}}},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 m=p.parts[v];i.translate(m.vertices,g),v>0&&(m.position.x+=g.x,m.position.y+=g.y),g.angle!==0&&(i.rotate(m.vertices,g.angle,p.position),u.rotate(m.axes,g.angle),v>0&&a.rotateAbout(m.position,g.angle,p.position,m.position)),f.update(m.bounds,m.vertices,p.velocity)}g.angle*=r._warming,g.x*=r._warming,g.y*=r._warming}}},r.pointAWorld=function(d){return{x:(d.bodyA?d.bodyA.position.x:0)+(d.pointA?d.pointA.x:0),y:(d.bodyA?d.bodyA.position.y:0)+(d.pointA?d.pointA.y:0)}},r.pointBWorld=function(d){return{x:(d.bodyB?d.bodyB.position.x:0)+(d.pointB?d.pointB.x:0),y:(d.bodyB?d.bodyB.position.y:0)+(d.pointB?d.pointB.y:0)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(0);(function(){r.fromVertices=function(l){for(var f={},u=0;u<l.length;u++){var h=(u+1)%l.length,d=i.normalise({x:l[h].y-l[u].y,y:l[u].x-l[h].x}),c=d.y===0?1/0:d.x/d.y;c=c.toFixed(3).toString(),f[c]=d}return a.values(f)},r.rotate=function(l,f){if(f!==0)for(var u=Math.cos(f),h=Math.sin(f),d=0;d<l.length;d++){var c=l[d],p;p=c.x*u-c.y*h,c.y=c.x*h+c.y*u,c.x=p}}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(4),f=o(1),u=o(2);(function(){r.rectangle=function(h,d,c,p,g){g=g||{};var v={label:"Rectangle Body",position:{x:h,y:d},vertices:i.fromPath("L 0 0 L "+c+" 0 L "+c+" "+p+" L 0 "+p)};if(g.chamfer){var m=g.chamfer;v.vertices=i.chamfer(v.vertices,m.radius,m.quality,m.qualityMin,m.qualityMax),delete g.chamfer}return l.create(a.extend({},v,g))},r.trapezoid=function(h,d,c,p,g,v){v=v||{},g*=.5;var m=(1-g*2)*c,_=c*g,b=_+m,x=b+_,y;g<.5?y="L 0 0 L "+_+" "+-p+" L "+b+" "+-p+" L "+x+" 0":y="L 0 0 L "+b+" "+-p+" L "+x+" 0";var E={label:"Trapezoid Body",position:{x:h,y:d},vertices:i.fromPath(y)};if(v.chamfer){var S=v.chamfer;E.vertices=i.chamfer(E.vertices,S.radius,S.quality,S.qualityMin,S.qualityMax),delete v.chamfer}return l.create(a.extend({},E,v))},r.circle=function(h,d,c,p,g){p=p||{};var v={label:"Circle Body",circleRadius:c};g=g||25;var m=Math.ceil(Math.max(10,Math.min(g,c)));return m%2===1&&(m+=1),r.polygon(h,d,m,c,a.extend({},v,p))},r.polygon=function(h,d,c,p,g){if(g=g||{},c<3)return r.circle(h,d,p,g);for(var v=2*Math.PI/c,m="",_=v*.5,b=0;b<c;b+=1){var x=_+b*v,y=Math.cos(x)*p,E=Math.sin(x)*p;m+="L "+y.toFixed(3)+" "+E.toFixed(3)+" "}var S={label:"Polygon Body",position:{x:h,y:d},vertices:i.fromPath(m)};if(g.chamfer){var w=g.chamfer;S.vertices=i.chamfer(S.vertices,w.radius,w.quality,w.qualityMin,w.qualityMax),delete g.chamfer}return l.create(a.extend({},S,g))},r.fromVertices=function(h,d,c,p,g,v,m,_){var b=a.getDecomp(),x,y,E,S,w,T,L,A,R,k,N;for(x=!!(b&&b.quickDecomp),p=p||{},E=[],g=typeof g<"u"?g:!1,v=typeof v<"u"?v:.01,m=typeof m<"u"?m:10,_=typeof _<"u"?_:.01,a.isArray(c[0])||(c=[c]),k=0;k<c.length;k+=1)if(T=c[k],S=i.isConvex(T),w=!S,w&&!x&&a.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),S||!x)S?T=i.clockwiseSort(T):T=i.hull(T),E.push({position:{x:h,y:d},vertices:T});else{var B=T.map(function(ae){return[ae.x,ae.y]});b.makeCCW(B),v!==!1&&b.removeCollinearPoints(B,v),_!==!1&&b.removeDuplicatePoints&&b.removeDuplicatePoints(B,_);var j=b.quickDecomp(B);for(L=0;L<j.length;L++){var U=j[L],J=U.map(function(ae){return{x:ae[0],y:ae[1]}});m>0&&i.area(J)<m||E.push({position:i.centre(J),vertices:J})}}for(L=0;L<E.length;L++)E[L]=l.create(a.extend(E[L],p));if(g){var se=5;for(L=0;L<E.length;L++){var le=E[L];for(A=L+1;A<E.length;A++){var me=E[A];if(f.overlaps(le.bounds,me.bounds)){var te=le.vertices,Ee=me.vertices;for(R=0;R<le.vertices.length;R++)for(N=0;N<me.vertices.length;N++){var ye=u.magnitudeSquared(u.sub(te[(R+1)%te.length],Ee[N])),Me=u.magnitudeSquared(u.sub(te[R],Ee[(N+1)%Ee.length]));ye<se&&Me<se&&(te[R].isInternal=!0,Ee[N].isInternal=!0)}}}}}return E.length>1?(y=l.create(a.extend({parts:E.slice(0)},p)),l.setPosition(y,{x:h,y:d}),y):E[0]}})()},function(n,s,o){var r={};n.exports=r;var i=o(0),a=o(8);(function(){r.create=function(l){var f={bodies:[],pairs:null};return i.extend(f,l)},r.setBodies=function(l,f){l.bodies=f.slice(0)},r.clear=function(l){l.bodies=[]},r.collisions=function(l){var f=[],u=l.pairs,h=l.bodies,d=h.length,c=r.canCollide,p=a.collides,g,v;for(h.sort(r._compareBoundsX),g=0;g<d;g++){var m=h[g],_=m.bounds,b=m.bounds.max.x,x=m.bounds.max.y,y=m.bounds.min.y,E=m.isStatic||m.isSleeping,S=m.parts.length,w=S===1;for(v=g+1;v<d;v++){var T=h[v],L=T.bounds;if(L.min.x>b)break;if(!(x<L.min.y||y>L.max.y)&&!(E&&(T.isStatic||T.isSleeping))&&c(m.collisionFilter,T.collisionFilter)){var A=T.parts.length;if(w&&A===1){var R=p(m,T,u);R&&f.push(R)}else for(var k=S>1?1:0,N=A>1?1:0,B=k;B<S;B++)for(var j=m.parts[B],_=j.bounds,U=N;U<A;U++){var J=T.parts[U],L=J.bounds;if(!(_.min.x>L.max.x||_.max.x<L.min.x||_.max.y<L.min.y||_.min.y>L.max.y)){var R=p(j,J,u);R&&f.push(R)}}}}}return f},r.canCollide=function(l,f){return l.group===f.group&&l.group!==0?l.group>0:(l.mask&f.category)!==0&&(f.mask&l.category)!==0},r._compareBoundsX=function(l,f){return l.bounds.min.x-f.bounds.min.x}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r.create=function(a){var l={};return a||i.log("Mouse.create: element was undefined, defaulting to document.body","warn"),l.element=a||document.body,l.absolute={x:0,y:0},l.position={x:0,y:0},l.mousedownPosition={x:0,y:0},l.mouseupPosition={x:0,y:0},l.offset={x:0,y:0},l.scale={x:1,y:1},l.wheelDelta=0,l.button=-1,l.pixelRatio=parseInt(l.element.getAttribute("data-pixel-ratio"),10)||1,l.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},l.mousemove=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&(l.button=0,f.preventDefault()),l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.sourceEvents.mousemove=f},l.mousedown=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h?(l.button=0,f.preventDefault()):l.button=f.button,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mousedownPosition.x=l.position.x,l.mousedownPosition.y=l.position.y,l.sourceEvents.mousedown=f},l.mouseup=function(f){var u=r._getRelativeMousePosition(f,l.element,l.pixelRatio),h=f.changedTouches;h&&f.preventDefault(),l.button=-1,l.absolute.x=u.x,l.absolute.y=u.y,l.position.x=l.absolute.x*l.scale.x+l.offset.x,l.position.y=l.absolute.y*l.scale.y+l.offset.y,l.mouseupPosition.x=l.position.x,l.mouseupPosition.y=l.position.y,l.sourceEvents.mouseup=f},l.mousewheel=function(f){l.wheelDelta=Math.max(-1,Math.min(1,f.wheelDelta||-f.detail)),f.preventDefault()},r.setElement(l,l.element),l},r.setElement=function(a,l){a.element=l,l.addEventListener("mousemove",a.mousemove),l.addEventListener("mousedown",a.mousedown),l.addEventListener("mouseup",a.mouseup),l.addEventListener("mousewheel",a.mousewheel),l.addEventListener("DOMMouseScroll",a.mousewheel),l.addEventListener("touchmove",a.mousemove),l.addEventListener("touchstart",a.mousedown),l.addEventListener("touchend",a.mouseup)},r.clearSourceEvents=function(a){a.sourceEvents.mousemove=null,a.sourceEvents.mousedown=null,a.sourceEvents.mouseup=null,a.sourceEvents.mousewheel=null,a.wheelDelta=0},r.setOffset=function(a,l){a.offset.x=l.x,a.offset.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r.setScale=function(a,l){a.scale.x=l.x,a.scale.y=l.y,a.position.x=a.absolute.x*a.scale.x+a.offset.x,a.position.y=a.absolute.y*a.scale.y+a.offset.y},r._getRelativeMousePosition=function(a,l,f){var u=l.getBoundingClientRect(),h=document.documentElement||document.body.parentNode||document.body,d=window.pageXOffset!==void 0?window.pageXOffset:h.scrollLeft,c=window.pageYOffset!==void 0?window.pageYOffset:h.scrollTop,p=a.changedTouches,g,v;return p?(g=p[0].pageX-u.left-d,v=p[0].pageY-u.top-c):(g=a.pageX-u.left-d,v=a.pageY-u.top-c),{x:g/(l.clientWidth/(l.width||l.clientWidth)*f),y:v/(l.clientHeight/(l.height||l.clientHeight)*f)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(0);(function(){r._registry={},r.register=function(a){if(r.isPlugin(a)||i.warn("Plugin.register:",r.toString(a),"does not implement all required fields."),a.name in r._registry){var l=r._registry[a.name],f=r.versionParse(a.version).number,u=r.versionParse(l.version).number;f>u?(i.warn("Plugin.register:",r.toString(l),"was upgraded to",r.toString(a)),r._registry[a.name]=a):f<u?i.warn("Plugin.register:",r.toString(l),"can not be downgraded to",r.toString(a)):a!==l&&i.warn("Plugin.register:",r.toString(a),"is already registered to different plugin object")}else r._registry[a.name]=a;return a},r.resolve=function(a){return r._registry[r.dependencyParse(a).name]},r.toString=function(a){return typeof a=="string"?a:(a.name||"anonymous")+"@"+(a.version||a.range||"0.0.0")},r.isPlugin=function(a){return a&&a.name&&a.version&&a.install},r.isUsed=function(a,l){return a.used.indexOf(l)>-1},r.isFor=function(a,l){var f=a.for&&r.dependencyParse(a.for);return!a.for||l.name===f.name&&r.versionSatisfies(l.version,f.range)},r.use=function(a,l){if(a.uses=(a.uses||[]).concat(l||[]),a.uses.length===0){i.warn("Plugin.use:",r.toString(a),"does not specify any dependencies to install.");return}for(var f=r.dependencies(a),u=i.topologicalSort(f),h=[],d=0;d<u.length;d+=1)if(u[d]!==a.name){var c=r.resolve(u[d]);if(!c){h.push("❌ "+u[d]);continue}r.isUsed(a,c.name)||(r.isFor(c,a)||(i.warn("Plugin.use:",r.toString(c),"is for",c.for,"but installed on",r.toString(a)+"."),c._warned=!0),c.install?c.install(a):(i.warn("Plugin.use:",r.toString(c),"does not specify an install function."),c._warned=!0),c._warned?(h.push("🔶 "+r.toString(c)),delete c._warned):h.push("✅ "+r.toString(c)),a.used.push(c.name))}h.length>0&&i.info(h.join(" "))},r.dependencies=function(a,l){var f=r.dependencyParse(a),u=f.name;if(l=l||{},!(u in l)){a=r.resolve(a)||a,l[u]=i.map(a.uses||[],function(d){r.isPlugin(d)&&r.register(d);var c=r.dependencyParse(d),p=r.resolve(d);return p&&!r.versionSatisfies(p.version,c.range)?(i.warn("Plugin.dependencies:",r.toString(p),"does not satisfy",r.toString(c),"used by",r.toString(f)+"."),p._warned=!0,a._warned=!0):p||(i.warn("Plugin.dependencies:",r.toString(d),"used by",r.toString(f),"could not be resolved."),a._warned=!0),c.name});for(var h=0;h<l[u].length;h+=1)r.dependencies(l[u][h],l);return l}},r.dependencyParse=function(a){if(i.isString(a)){var l=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-+]+)?))?$/;return l.test(a)||i.warn("Plugin.dependencyParse:",a,"is not a valid dependency string."),{name:a.split("@")[0],range:a.split("@")[1]||"*"}}return{name:a.name,range:a.range||a.version}},r.versionParse=function(a){var l=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-+]+)?$/;l.test(a)||i.warn("Plugin.versionParse:",a,"is not a valid version or range.");var f=l.exec(a),u=Number(f[4]),h=Number(f[5]),d=Number(f[6]);return{isRange:!!(f[1]||f[2]),version:f[3],range:a,operator:f[1]||f[2]||"",major:u,minor:h,patch:d,parts:[u,h,d],prerelease:f[7],number:u*1e8+h*1e4+d}},r.versionSatisfies=function(a,l){l=l||"*";var f=r.versionParse(l),u=r.versionParse(a);if(f.isRange){if(f.operator==="*"||a==="*")return!0;if(f.operator===">")return u.number>f.number;if(f.operator===">=")return u.number>=f.number;if(f.operator==="~")return u.major===f.major&&u.minor===f.minor&&u.patch>=f.patch;if(f.operator==="^")return f.major>0?u.major===f.major&&u.number>=f.number:f.minor>0?u.minor===f.minor&&u.patch>=f.patch:u.patch===f.patch}return a===l||a==="*"}})()},function(n,s){var o={};n.exports=o,function(){o.create=function(r){return{vertex:r,normalImpulse:0,tangentImpulse:0}}}()},function(n,s,o){var r={};n.exports=r;var i=o(7),a=o(18),l=o(13),f=o(19),u=o(5),h=o(6),d=o(10),c=o(0),p=o(4);(function(){r.create=function(g){g=g||{};var v={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},m=c.extend(v,g);return m.world=g.world||h.create({label:"World"}),m.pairs=g.pairs||f.create(),m.detector=g.detector||l.create(),m.grid={buckets:[]},m.world.gravity=m.gravity,m.broadphase=m.grid,m.metrics={},m},r.update=function(g,v){var m=c.now(),_=g.world,b=g.detector,x=g.pairs,y=g.timing,E=y.timestamp,S;v=typeof v<"u"?v:c._baseDelta,v*=y.timeScale,y.timestamp+=v,y.lastDelta=v;var w={timestamp:y.timestamp,delta:v};u.trigger(g,"beforeUpdate",w);var T=h.allBodies(_),L=h.allConstraints(_);for(_.isModified&&(l.setBodies(b,T),h.setModified(_,!1,!1,!0)),g.enableSleeping&&i.update(T,v),r._bodiesApplyGravity(T,g.gravity),v>0&&r._bodiesUpdate(T,v),d.preSolveAll(T),S=0;S<g.constraintIterations;S++)d.solveAll(L,v);d.postSolveAll(T),b.pairs=g.pairs;var A=l.collisions(b);f.update(x,A,E),g.enableSleeping&&i.afterCollisions(x.list),x.collisionStart.length>0&&u.trigger(g,"collisionStart",{pairs:x.collisionStart});var R=c.clamp(20/g.positionIterations,0,1);for(a.preSolvePosition(x.list),S=0;S<g.positionIterations;S++)a.solvePosition(x.list,v,R);for(a.postSolvePosition(T),d.preSolveAll(T),S=0;S<g.constraintIterations;S++)d.solveAll(L,v);for(d.postSolveAll(T),a.preSolveVelocity(x.list),S=0;S<g.velocityIterations;S++)a.solveVelocity(x.list,v);return r._bodiesUpdateVelocities(T),x.collisionActive.length>0&&u.trigger(g,"collisionActive",{pairs:x.collisionActive}),x.collisionEnd.length>0&&u.trigger(g,"collisionEnd",{pairs:x.collisionEnd}),r._bodiesClearForces(T),u.trigger(g,"afterUpdate",w),g.timing.lastElapsed=c.now()-m,g},r.merge=function(g,v){if(c.extend(g,v),v.world){g.world=v.world,r.clear(g);for(var m=h.allBodies(g.world),_=0;_<m.length;_++){var b=m[_];i.set(b,!1),b.id=c.nextId()}}},r.clear=function(g){f.clear(g.pairs),l.clear(g.detector)},r._bodiesClearForces=function(g){for(var v=g.length,m=0;m<v;m++){var _=g[m];_.force.x=0,_.force.y=0,_.torque=0}},r._bodiesApplyGravity=function(g,v){var m=typeof v.scale<"u"?v.scale:.001,_=g.length;if(!(v.x===0&&v.y===0||m===0))for(var b=0;b<_;b++){var x=g[b];x.isStatic||x.isSleeping||(x.force.y+=x.mass*v.y*m,x.force.x+=x.mass*v.x*m)}},r._bodiesUpdate=function(g,v){for(var m=g.length,_=0;_<m;_++){var b=g[_];b.isStatic||b.isSleeping||p.update(b,v)}},r._bodiesUpdateVelocities=function(g){for(var v=g.length,m=0;m<v;m++)p.updateVelocities(g[m])}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(0),l=o(1);(function(){r._restingThresh=2,r._restingThreshTangent=Math.sqrt(6),r._positionDampen=.9,r._positionWarming=.8,r._frictionNormalMultiplier=5,r._frictionMaxStatic=Number.MAX_VALUE,r.preSolvePosition=function(f){var u,h,d,c=f.length;for(u=0;u<c;u++)h=f[u],h.isActive&&(d=h.activeContacts.length,h.collision.parentA.totalContacts+=d,h.collision.parentB.totalContacts+=d)},r.solvePosition=function(f,u,h){var d,c,p,g,v,m,_,b,x=r._positionDampen*(h||1),y=a.clamp(u/a._baseDelta,0,1),E=f.length;for(d=0;d<E;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,m=p.normal,c.separation=m.x*(v.positionImpulse.x+p.penetration.x-g.positionImpulse.x)+m.y*(v.positionImpulse.y+p.penetration.y-g.positionImpulse.y));for(d=0;d<E;d++)c=f[d],!(!c.isActive||c.isSensor)&&(p=c.collision,g=p.parentA,v=p.parentB,m=p.normal,b=c.separation-c.slop*y,(g.isStatic||v.isStatic)&&(b*=2),g.isStatic||g.isSleeping||(_=x/g.totalContacts,g.positionImpulse.x+=m.x*b*_,g.positionImpulse.y+=m.y*b*_),v.isStatic||v.isSleeping||(_=x/v.totalContacts,v.positionImpulse.x-=m.x*b*_,v.positionImpulse.y-=m.y*b*_))},r.postSolvePosition=function(f){for(var u=r._positionWarming,h=f.length,d=i.translate,c=l.update,p=0;p<h;p++){var g=f[p],v=g.positionImpulse,m=v.x,_=v.y,b=g.velocity;if(g.totalContacts=0,m!==0||_!==0){for(var x=0;x<g.parts.length;x++){var y=g.parts[x];d(y.vertices,v),c(y.bounds,y.vertices,b),y.position.x+=m,y.position.y+=_}g.positionPrev.x+=m,g.positionPrev.y+=_,m*b.x+_*b.y<0?(v.x=0,v.y=0):(v.x*=u,v.y*=u)}}},r.preSolveVelocity=function(f){var u=f.length,h,d;for(h=0;h<u;h++){var c=f[h];if(!(!c.isActive||c.isSensor)){var p=c.activeContacts,g=p.length,v=c.collision,m=v.parentA,_=v.parentB,b=v.normal,x=v.tangent;for(d=0;d<g;d++){var y=p[d],E=y.vertex,S=y.normalImpulse,w=y.tangentImpulse;if(S!==0||w!==0){var T=b.x*S+x.x*w,L=b.y*S+x.y*w;m.isStatic||m.isSleeping||(m.positionPrev.x+=T*m.inverseMass,m.positionPrev.y+=L*m.inverseMass,m.anglePrev+=m.inverseInertia*((E.x-m.position.x)*L-(E.y-m.position.y)*T)),_.isStatic||_.isSleeping||(_.positionPrev.x-=T*_.inverseMass,_.positionPrev.y-=L*_.inverseMass,_.anglePrev-=_.inverseInertia*((E.x-_.position.x)*L-(E.y-_.position.y)*T))}}}}},r.solveVelocity=function(f,u){var h=u/a._baseDelta,d=h*h,c=d*h,p=-r._restingThresh*h,g=r._restingThreshTangent,v=r._frictionNormalMultiplier*h,m=r._frictionMaxStatic,_=f.length,b,x,y,E;for(y=0;y<_;y++){var S=f[y];if(!(!S.isActive||S.isSensor)){var w=S.collision,T=w.parentA,L=w.parentB,A=T.velocity,R=L.velocity,k=w.normal.x,N=w.normal.y,B=w.tangent.x,j=w.tangent.y,U=S.activeContacts,J=U.length,se=1/J,le=T.inverseMass+L.inverseMass,me=S.friction*S.frictionStatic*v;for(A.x=T.position.x-T.positionPrev.x,A.y=T.position.y-T.positionPrev.y,R.x=L.position.x-L.positionPrev.x,R.y=L.position.y-L.positionPrev.y,T.angularVelocity=T.angle-T.anglePrev,L.angularVelocity=L.angle-L.anglePrev,E=0;E<J;E++){var te=U[E],Ee=te.vertex,ye=Ee.x-T.position.x,Me=Ee.y-T.position.y,ae=Ee.x-L.position.x,H=Ee.y-L.position.y,X=A.x-Me*T.angularVelocity,Y=A.y+ye*T.angularVelocity,z=R.x-H*L.angularVelocity,ce=R.y+ae*L.angularVelocity,I=X-z,C=Y-ce,P=k*I+N*C,O=B*I+j*C,M=S.separation+P,F=Math.min(M,1);F=M<0?0:F;var V=F*me;O<-V||O>V?(x=O>0?O:-O,b=S.friction*(O>0?1:-1)*c,b<-x?b=-x:b>x&&(b=x)):(b=O,x=m);var K=ye*N-Me*k,G=ae*N-H*k,W=se/(le+T.inverseInertia*K*K+L.inverseInertia*G*G),q=(1+S.restitution)*P*W;if(b*=W,P<p)te.normalImpulse=0;else{var D=te.normalImpulse;te.normalImpulse+=q,te.normalImpulse>0&&(te.normalImpulse=0),q=te.normalImpulse-D}if(O<-g||O>g)te.tangentImpulse=0;else{var $=te.tangentImpulse;te.tangentImpulse+=b,te.tangentImpulse<-x&&(te.tangentImpulse=-x),te.tangentImpulse>x&&(te.tangentImpulse=x),b=te.tangentImpulse-$}var Z=k*q+B*b,ee=N*q+j*b;T.isStatic||T.isSleeping||(T.positionPrev.x+=Z*T.inverseMass,T.positionPrev.y+=ee*T.inverseMass,T.anglePrev+=(ye*ee-Me*Z)*T.inverseInertia),L.isStatic||L.isSleeping||(L.positionPrev.x-=Z*L.inverseMass,L.positionPrev.y-=ee*L.inverseMass,L.anglePrev-=(ae*ee-H*Z)*L.inverseInertia)}}}}})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0);(function(){r.create=function(l){return a.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},l)},r.update=function(l,f,u){var h=l.list,d=h.length,c=l.table,p=f.length,g=l.collisionStart,v=l.collisionEnd,m=l.collisionActive,_,b,x,y;for(g.length=0,v.length=0,m.length=0,y=0;y<d;y++)h[y].confirmedActive=!1;for(y=0;y<p;y++)_=f[y],x=_.pair,x?(x.isActive?m.push(x):g.push(x),i.update(x,_,u),x.confirmedActive=!0):(x=i.create(_,u),c[x.id]=x,g.push(x),h.push(x));var E=[];for(d=h.length,y=0;y<d;y++)x=h[y],x.confirmedActive||(i.setActive(x,!1,u),v.push(x),!x.collision.bodyA.isSleeping&&!x.collision.bodyB.isSleeping&&E.push(y));for(y=0;y<E.length;y++)b=E[y]-y,x=h[b],h.splice(b,1),delete c[x.id]},r.clear=function(l){return l.table={},l.list.length=0,l.collisionStart.length=0,l.collisionActive.length=0,l.collisionEnd.length=0,l}})()},function(n,s,o){var r=n.exports=o(21);r.Axes=o(11),r.Bodies=o(12),r.Body=o(4),r.Bounds=o(1),r.Collision=o(8),r.Common=o(0),r.Composite=o(6),r.Composites=o(22),r.Constraint=o(10),r.Contact=o(16),r.Detector=o(13),r.Engine=o(17),r.Events=o(5),r.Grid=o(23),r.Mouse=o(14),r.MouseConstraint=o(24),r.Pair=o(9),r.Pairs=o(19),r.Plugin=o(15),r.Query=o(25),r.Render=o(26),r.Resolver=o(18),r.Runner=o(27),r.SAT=o(28),r.Sleeping=o(7),r.Svg=o(29),r.Vector=o(2),r.Vertices=o(3),r.World=o(30),r.Engine.run=r.Runner.run,r.Common.deprecated(r.Engine,"run","Engine.run ➤ use Matter.Runner.run(engine) instead")},function(n,s,o){var r={};n.exports=r;var i=o(15),a=o(0);(function(){r.name="matter-js",r.version="0.19.0",r.uses=[],r.used=[],r.use=function(){i.use(r,Array.prototype.slice.call(arguments))},r.before=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathBefore(r,l,f)},r.after=function(l,f){return l=l.replace(/^Matter./,""),a.chainPathAfter(r,l,f)}})()},function(n,s,o){var r={};n.exports=r;var i=o(6),a=o(10),l=o(0),f=o(4),u=o(12),h=l.deprecated;(function(){r.stack=function(d,c,p,g,v,m,_){for(var b=i.create({label:"Stack"}),x=d,y=c,E,S=0,w=0;w<g;w++){for(var T=0,L=0;L<p;L++){var A=_(x,y,L,w,E,S);if(A){var R=A.bounds.max.y-A.bounds.min.y,k=A.bounds.max.x-A.bounds.min.x;R>T&&(T=R),f.translate(A,{x:k*.5,y:R*.5}),x=A.bounds.max.x+v,i.addBody(b,A),E=A,S+=1}else x+=v}y+=T+m,x=d}return b},r.chain=function(d,c,p,g,v,m){for(var _=d.bodies,b=1;b<_.length;b++){var x=_[b-1],y=_[b],E=x.bounds.max.y-x.bounds.min.y,S=x.bounds.max.x-x.bounds.min.x,w=y.bounds.max.y-y.bounds.min.y,T=y.bounds.max.x-y.bounds.min.x,L={bodyA:x,pointA:{x:S*c,y:E*p},bodyB:y,pointB:{x:T*g,y:w*v}},A=l.extend(L,m);i.addConstraint(d,a.create(A))}return d.label+=" Chain",d},r.mesh=function(d,c,p,g,v){var m=d.bodies,_,b,x,y,E;for(_=0;_<p;_++){for(b=1;b<c;b++)x=m[b-1+_*c],y=m[b+_*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:y},v)));if(_>0)for(b=0;b<c;b++)x=m[b+(_-1)*c],y=m[b+_*c],i.addConstraint(d,a.create(l.extend({bodyA:x,bodyB:y},v))),g&&b>0&&(E=m[b-1+(_-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:E,bodyB:y},v)))),g&&b<c-1&&(E=m[b+1+(_-1)*c],i.addConstraint(d,a.create(l.extend({bodyA:E,bodyB:y},v))))}return d.label+=" Mesh",d},r.pyramid=function(d,c,p,g,v,m,_){return r.stack(d,c,p,g,v,m,function(b,x,y,E,S,w){var T=Math.min(g,Math.ceil(p/2)),L=S?S.bounds.max.x-S.bounds.min.x:0;if(!(E>T)){E=T-E;var A=E,R=p-1-E;if(!(y<A||y>R)){w===1&&f.translate(S,{x:(y+(p%2===1?1:-1))*L,y:0});var k=S?y*L:0;return _(d+k+y*v,x,y,E,S,w)}}})},r.newtonsCradle=function(d,c,p,g,v){for(var m=i.create({label:"Newtons Cradle"}),_=0;_<p;_++){var b=1.9,x=u.circle(d+_*(g*b),c+v,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),y=a.create({pointA:{x:d+_*(g*b),y:c},bodyB:x});i.addBody(m,x),i.addConstraint(m,y)}return m},h(r,"newtonsCradle","Composites.newtonsCradle ➤ moved to newtonsCradle example"),r.car=function(d,c,p,g,v){var m=f.nextGroup(!0),_=20,b=-p*.5+_,x=p*.5-_,y=0,E=i.create({label:"Car"}),S=u.rectangle(d,c,p,g,{collisionFilter:{group:m},chamfer:{radius:g*.5},density:2e-4}),w=u.circle(d+b,c+y,v,{collisionFilter:{group:m},friction:.8}),T=u.circle(d+x,c+y,v,{collisionFilter:{group:m},friction:.8}),L=a.create({bodyB:S,pointB:{x:b,y},bodyA:w,stiffness:1,length:0}),A=a.create({bodyB:S,pointB:{x,y},bodyA:T,stiffness:1,length:0});return i.addBody(E,S),i.addBody(E,w),i.addBody(E,T),i.addConstraint(E,L),i.addConstraint(E,A),E},h(r,"car","Composites.car ➤ moved to car example"),r.softBody=function(d,c,p,g,v,m,_,b,x,y){x=l.extend({inertia:1/0},x),y=l.extend({stiffness:.2,render:{type:"line",anchors:!1}},y);var E=r.stack(d,c,p,g,v,m,function(S,w){return u.circle(S,w,b,x)});return r.mesh(E,p,g,_,y),E.label="Soft Body",E},h(r,"softBody","Composites.softBody ➤ moved to softBody and cloth examples")})()},function(n,s,o){var r={};n.exports=r;var i=o(9),a=o(0),l=a.deprecated;(function(){r.create=function(f){var u={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return a.extend(u,f)},r.update=function(f,u,h,d){var c,p,g,v=h.world,m=f.buckets,_,b,x=!1;for(c=0;c<u.length;c++){var y=u[c];if(!(y.isSleeping&&!d)&&!(v.bounds&&(y.bounds.max.x<v.bounds.min.x||y.bounds.min.x>v.bounds.max.x||y.bounds.max.y<v.bounds.min.y||y.bounds.min.y>v.bounds.max.y))){var E=r._getRegion(f,y);if(!y.region||E.id!==y.region.id||d){(!y.region||d)&&(y.region=E);var S=r._regionUnion(E,y.region);for(p=S.startCol;p<=S.endCol;p++)for(g=S.startRow;g<=S.endRow;g++){b=r._getBucketId(p,g),_=m[b];var w=p>=E.startCol&&p<=E.endCol&&g>=E.startRow&&g<=E.endRow,T=p>=y.region.startCol&&p<=y.region.endCol&&g>=y.region.startRow&&g<=y.region.endRow;!w&&T&&T&&_&&r._bucketRemoveBody(f,_,y),(y.region===E||w&&!T||d)&&(_||(_=r._createBucket(m,b)),r._bucketAddBody(f,_,y))}y.region=E,x=!0}}}x&&(f.pairsList=r._createActivePairsList(f))},l(r,"update","Grid.update ➤ replaced by Matter.Detector"),r.clear=function(f){f.buckets={},f.pairs={},f.pairsList=[]},l(r,"clear","Grid.clear ➤ replaced by Matter.Detector"),r._regionUnion=function(f,u){var h=Math.min(f.startCol,u.startCol),d=Math.max(f.endCol,u.endCol),c=Math.min(f.startRow,u.startRow),p=Math.max(f.endRow,u.endRow);return r._createRegion(h,d,c,p)},r._getRegion=function(f,u){var h=u.bounds,d=Math.floor(h.min.x/f.bucketWidth),c=Math.floor(h.max.x/f.bucketWidth),p=Math.floor(h.min.y/f.bucketHeight),g=Math.floor(h.max.y/f.bucketHeight);return r._createRegion(d,c,p,g)},r._createRegion=function(f,u,h,d){return{id:f+","+u+","+h+","+d,startCol:f,endCol:u,startRow:h,endRow:d}},r._getBucketId=function(f,u){return"C"+f+"R"+u},r._createBucket=function(f,u){var h=f[u]=[];return h},r._bucketAddBody=function(f,u,h){var d=f.pairs,c=i.id,p=u.length,g;for(g=0;g<p;g++){var v=u[g];if(!(h.id===v.id||h.isStatic&&v.isStatic)){var m=c(h,v),_=d[m];_?_[2]+=1:d[m]=[h,v,1]}}u.push(h)},r._bucketRemoveBody=function(f,u,h){var d=f.pairs,c=i.id,p;u.splice(a.indexOf(u,h),1);var g=u.length;for(p=0;p<g;p++){var v=d[c(h,u[p])];v&&(v[2]-=1)}},r._createActivePairsList=function(f){var u,h=f.pairs,d=a.keys(h),c=d.length,p=[],g;for(g=0;g<c;g++)u=h[d[g]],u[2]>0?p.push(u):delete h[d[g]];return p}})()},function(n,s,o){var r={};n.exports=r;var i=o(3),a=o(7),l=o(14),f=o(5),u=o(13),h=o(10),d=o(6),c=o(0),p=o(1);(function(){r.create=function(g,v){var m=(g?g.mouse:null)||(v?v.mouse:null);m||(g&&g.render&&g.render.canvas?m=l.create(g.render.canvas):v&&v.element?m=l.create(v.element):(m=l.create(),c.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var _=h.create({label:"Mouse Constraint",pointA:m.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),b={type:"mouseConstraint",mouse:m,element:null,body:null,constraint:_,collisionFilter:{category:1,mask:4294967295,group:0}},x=c.extend(b,v);return f.on(g,"beforeUpdate",function(){var y=d.allBodies(g.world);r.update(x,y),r._triggerEvents(x)}),x},r.update=function(g,v){var m=g.mouse,_=g.constraint,b=g.body;if(m.button===0){if(_.bodyB)a.set(_.bodyB,!1),_.pointA=m.position;else for(var x=0;x<v.length;x++)if(b=v[x],p.contains(b.bounds,m.position)&&u.canCollide(b.collisionFilter,g.collisionFilter))for(var y=b.parts.length>1?1:0;y<b.parts.length;y++){var E=b.parts[y];if(i.contains(E.vertices,m.position)){_.pointA=m.position,_.bodyB=g.body=b,_.pointB={x:m.position.x-b.position.x,y:m.position.y-b.position.y},_.angleB=b.angle,a.set(b,!1),f.trigger(g,"startdrag",{mouse:m,body:b});break}}}else _.bodyB=g.body=null,_.pointB=null,b&&f.trigger(g,"enddrag",{mouse:m,body:b})},r._triggerEvents=function(g){var v=g.mouse,m=v.sourceEvents;m.mousemove&&f.trigger(g,"mousemove",{mouse:v}),m.mousedown&&f.trigger(g,"mousedown",{mouse:v}),m.mouseup&&f.trigger(g,"mouseup",{mouse:v}),l.clearSourceEvents(v)}})()},function(n,s,o){var r={};n.exports=r;var i=o(2),a=o(8),l=o(1),f=o(12),u=o(3);(function(){r.collides=function(h,d){for(var c=[],p=d.length,g=h.bounds,v=a.collides,m=l.overlaps,_=0;_<p;_++){var b=d[_],x=b.parts.length,y=x===1?0:1;if(m(b.bounds,g))for(var E=y;E<x;E++){var S=b.parts[E];if(m(S.bounds,g)){var w=v(S,h);if(w){c.push(w);break}}}}return c},r.ray=function(h,d,c,p){p=p||1e-100;for(var g=i.angle(d,c),v=i.magnitude(i.sub(d,c)),m=(c.x+d.x)*.5,_=(c.y+d.y)*.5,b=f.rectangle(m,_,v,p,{angle:g}),x=r.collides(b,h),y=0;y<x.length;y+=1){var E=x[y];E.body=E.bodyB=E.bodyA}return x},r.region=function(h,d,c){for(var p=[],g=0;g<h.length;g++){var v=h[g],m=l.overlaps(v.bounds,d);(m&&!c||!m&&c)&&p.push(v)}return p},r.point=function(h,d){for(var c=[],p=0;p<h.length;p++){var g=h[p];if(l.contains(g.bounds,d))for(var v=g.parts.length===1?0:1;v<g.parts.length;v++){var m=g.parts[v];if(l.contains(m.bounds,d)&&u.contains(m.vertices,d)){c.push(g);break}}}return c}})()},function(n,s,o){var r={};n.exports=r;var i=o(4),a=o(0),l=o(6),f=o(1),u=o(5),h=o(2),d=o(14);(function(){var c,p;typeof window<"u"&&(c=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(y){window.setTimeout(function(){y(a.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),r._goodFps=30,r._goodDelta=1e3/60,r.create=function(y){var E={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:!!y.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},S=a.extend(E,y);return S.canvas&&(S.canvas.width=S.options.width||S.canvas.width,S.canvas.height=S.options.height||S.canvas.height),S.mouse=y.mouse,S.engine=y.engine,S.canvas=S.canvas||m(S.options.width,S.options.height),S.context=S.canvas.getContext("2d"),S.textures={},S.bounds=S.bounds||{min:{x:0,y:0},max:{x:S.canvas.width,y:S.canvas.height}},S.controller=r,S.options.showBroadphase=!1,S.options.pixelRatio!==1&&r.setPixelRatio(S,S.options.pixelRatio),a.isElement(S.element)&&S.element.appendChild(S.canvas),S},r.run=function(y){(function E(S){y.frameRequestId=c(E),g(y,S),r.world(y,S),(y.options.showStats||y.options.showDebug)&&r.stats(y,y.context,S),(y.options.showPerformance||y.options.showDebug)&&r.performance(y,y.context,S)})()},r.stop=function(y){p(y.frameRequestId)},r.setPixelRatio=function(y,E){var S=y.options,w=y.canvas;E==="auto"&&(E=_(w)),S.pixelRatio=E,w.setAttribute("data-pixel-ratio",E),w.width=S.width*E,w.height=S.height*E,w.style.width=S.width+"px",w.style.height=S.height+"px"},r.lookAt=function(y,E,S,w){w=typeof w<"u"?w:!0,E=a.isArray(E)?E:[E],S=S||{x:0,y:0};for(var T={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},L=0;L<E.length;L+=1){var A=E[L],R=A.bounds?A.bounds.min:A.min||A.position||A,k=A.bounds?A.bounds.max:A.max||A.position||A;R&&k&&(R.x<T.min.x&&(T.min.x=R.x),k.x>T.max.x&&(T.max.x=k.x),R.y<T.min.y&&(T.min.y=R.y),k.y>T.max.y&&(T.max.y=k.y))}var N=T.max.x-T.min.x+2*S.x,B=T.max.y-T.min.y+2*S.y,j=y.canvas.height,U=y.canvas.width,J=U/j,se=N/B,le=1,me=1;se>J?me=se/J:le=J/se,y.options.hasBounds=!0,y.bounds.min.x=T.min.x,y.bounds.max.x=T.min.x+N*le,y.bounds.min.y=T.min.y,y.bounds.max.y=T.min.y+B*me,w&&(y.bounds.min.x+=N*.5-N*le*.5,y.bounds.max.x+=N*.5-N*le*.5,y.bounds.min.y+=B*.5-B*me*.5,y.bounds.max.y+=B*.5-B*me*.5),y.bounds.min.x-=S.x,y.bounds.max.x-=S.x,y.bounds.min.y-=S.y,y.bounds.max.y-=S.y,y.mouse&&(d.setScale(y.mouse,{x:(y.bounds.max.x-y.bounds.min.x)/y.canvas.width,y:(y.bounds.max.y-y.bounds.min.y)/y.canvas.height}),d.setOffset(y.mouse,y.bounds.min))},r.startViewTransform=function(y){var E=y.bounds.max.x-y.bounds.min.x,S=y.bounds.max.y-y.bounds.min.y,w=E/y.options.width,T=S/y.options.height;y.context.setTransform(y.options.pixelRatio/w,0,0,y.options.pixelRatio/T,0,0),y.context.translate(-y.bounds.min.x,-y.bounds.min.y)},r.endViewTransform=function(y){y.context.setTransform(y.options.pixelRatio,0,0,y.options.pixelRatio,0,0)},r.world=function(y,E){var S=a.now(),w=y.engine,T=w.world,L=y.canvas,A=y.context,R=y.options,k=y.timing,N=l.allBodies(T),B=l.allConstraints(T),j=R.wireframes?R.wireframeBackground:R.background,U=[],J=[],se,le={timestamp:w.timing.timestamp};if(u.trigger(y,"beforeRender",le),y.currentBackground!==j&&x(y,j),A.globalCompositeOperation="source-in",A.fillStyle="transparent",A.fillRect(0,0,L.width,L.height),A.globalCompositeOperation="source-over",R.hasBounds){for(se=0;se<N.length;se++){var me=N[se];f.overlaps(me.bounds,y.bounds)&&U.push(me)}for(se=0;se<B.length;se++){var te=B[se],Ee=te.bodyA,ye=te.bodyB,Me=te.pointA,ae=te.pointB;Ee&&(Me=h.add(Ee.position,te.pointA)),ye&&(ae=h.add(ye.position,te.pointB)),!(!Me||!ae)&&(f.contains(y.bounds,Me)||f.contains(y.bounds,ae))&&J.push(te)}r.startViewTransform(y),y.mouse&&(d.setScale(y.mouse,{x:(y.bounds.max.x-y.bounds.min.x)/y.options.width,y:(y.bounds.max.y-y.bounds.min.y)/y.options.height}),d.setOffset(y.mouse,y.bounds.min))}else J=B,U=N,y.options.pixelRatio!==1&&y.context.setTransform(y.options.pixelRatio,0,0,y.options.pixelRatio,0,0);!R.wireframes||w.enableSleeping&&R.showSleeping?r.bodies(y,U,A):(R.showConvexHulls&&r.bodyConvexHulls(y,U,A),r.bodyWireframes(y,U,A)),R.showBounds&&r.bodyBounds(y,U,A),(R.showAxes||R.showAngleIndicator)&&r.bodyAxes(y,U,A),R.showPositions&&r.bodyPositions(y,U,A),R.showVelocity&&r.bodyVelocity(y,U,A),R.showIds&&r.bodyIds(y,U,A),R.showSeparations&&r.separations(y,w.pairs.list,A),R.showCollisions&&r.collisions(y,w.pairs.list,A),R.showVertexNumbers&&r.vertexNumbers(y,U,A),R.showMousePosition&&r.mousePosition(y,y.mouse,A),r.constraints(J,A),R.hasBounds&&r.endViewTransform(y),u.trigger(y,"afterRender",le),k.lastElapsed=a.now()-S},r.stats=function(y,E,S){for(var w=y.engine,T=w.world,L=l.allBodies(T),A=0,R=55,k=44,N=0,B=0,j=0;j<L.length;j+=1)A+=L[j].parts.length;var U={Part:A,Body:L.length,Cons:l.allConstraints(T).length,Comp:l.allComposites(T).length,Pair:w.pairs.list.length};E.fillStyle="#0e0f19",E.fillRect(N,B,R*5.5,k),E.font="12px Arial",E.textBaseline="top",E.textAlign="right";for(var J in U){var se=U[J];E.fillStyle="#aaa",E.fillText(J,N+R,B+8),E.fillStyle="#eee",E.fillText(se,N+R,B+26),N+=R}},r.performance=function(y,E){var S=y.engine,w=y.timing,T=w.deltaHistory,L=w.elapsedHistory,A=w.timestampElapsedHistory,R=w.engineDeltaHistory,k=w.engineElapsedHistory,N=S.timing.lastDelta,B=v(T),j=v(L),U=v(R),J=v(k),se=v(A),le=se/B||0,me=1e3/B||0,te=4,Ee=12,ye=60,Me=34,ae=10,H=69;E.fillStyle="#0e0f19",E.fillRect(0,50,Ee*4+ye*5+22,Me),r.status(E,ae,H,ye,te,T.length,Math.round(me)+" fps",me/r._goodFps,function(X){return T[X]/B-1}),r.status(E,ae+Ee+ye,H,ye,te,R.length,N.toFixed(2)+" dt",r._goodDelta/N,function(X){return R[X]/U-1}),r.status(E,ae+(Ee+ye)*2,H,ye,te,k.length,J.toFixed(2)+" ut",1-J/r._goodFps,function(X){return k[X]/J-1}),r.status(E,ae+(Ee+ye)*3,H,ye,te,L.length,j.toFixed(2)+" rt",1-j/r._goodFps,function(X){return L[X]/j-1}),r.status(E,ae+(Ee+ye)*4,H,ye,te,A.length,le.toFixed(2)+" x",le*le*le,function(X){return(A[X]/T[X]/le||0)-1})},r.status=function(y,E,S,w,T,L,A,R,k){y.strokeStyle="#888",y.fillStyle="#444",y.lineWidth=1,y.fillRect(E,S+7,w,1),y.beginPath(),y.moveTo(E,S+7-T*a.clamp(.4*k(0),-2,2));for(var N=0;N<w;N+=1)y.lineTo(E+N,S+7-(N<L?T*a.clamp(.4*k(N),-2,2):0));y.stroke(),y.fillStyle="hsl("+a.clamp(25+95*R,0,120)+",100%,60%)",y.fillRect(E,S-7,4,4),y.font="12px Arial",y.textBaseline="middle",y.textAlign="right",y.fillStyle="#eee",y.fillText(A,E+w,S-5)},r.constraints=function(y,E){for(var S=E,w=0;w<y.length;w++){var T=y[w];if(!(!T.render.visible||!T.pointA||!T.pointB)){var L=T.bodyA,A=T.bodyB,R,k;if(L?R=h.add(L.position,T.pointA):R=T.pointA,T.render.type==="pin")S.beginPath(),S.arc(R.x,R.y,3,0,2*Math.PI),S.closePath();else{if(A?k=h.add(A.position,T.pointB):k=T.pointB,S.beginPath(),S.moveTo(R.x,R.y),T.render.type==="spring")for(var N=h.sub(k,R),B=h.perp(h.normalise(N)),j=Math.ceil(a.clamp(T.length/5,12,20)),U,J=1;J<j;J+=1)U=J%2===0?1:-1,S.lineTo(R.x+N.x*(J/j)+B.x*U*4,R.y+N.y*(J/j)+B.y*U*4);S.lineTo(k.x,k.y)}T.render.lineWidth&&(S.lineWidth=T.render.lineWidth,S.strokeStyle=T.render.strokeStyle,S.stroke()),T.render.anchors&&(S.fillStyle=T.render.strokeStyle,S.beginPath(),S.arc(R.x,R.y,3,0,2*Math.PI),S.arc(k.x,k.y,3,0,2*Math.PI),S.closePath(),S.fill())}}},r.bodies=function(y,E,S){var w=S;y.engine;var T=y.options,L=T.showInternalEdges||!T.wireframes,A,R,k,N;for(k=0;k<E.length;k++)if(A=E[k],!!A.render.visible){for(N=A.parts.length>1?1:0;N<A.parts.length;N++)if(R=A.parts[N],!!R.render.visible){if(T.showSleeping&&A.isSleeping?w.globalAlpha=.5*R.render.opacity:R.render.opacity!==1&&(w.globalAlpha=R.render.opacity),R.render.sprite&&R.render.sprite.texture&&!T.wireframes){var B=R.render.sprite,j=b(y,B.texture);w.translate(R.position.x,R.position.y),w.rotate(R.angle),w.drawImage(j,j.width*-B.xOffset*B.xScale,j.height*-B.yOffset*B.yScale,j.width*B.xScale,j.height*B.yScale),w.rotate(-R.angle),w.translate(-R.position.x,-R.position.y)}else{if(R.circleRadius)w.beginPath(),w.arc(R.position.x,R.position.y,R.circleRadius,0,2*Math.PI);else{w.beginPath(),w.moveTo(R.vertices[0].x,R.vertices[0].y);for(var U=1;U<R.vertices.length;U++)!R.vertices[U-1].isInternal||L?w.lineTo(R.vertices[U].x,R.vertices[U].y):w.moveTo(R.vertices[U].x,R.vertices[U].y),R.vertices[U].isInternal&&!L&&w.moveTo(R.vertices[(U+1)%R.vertices.length].x,R.vertices[(U+1)%R.vertices.length].y);w.lineTo(R.vertices[0].x,R.vertices[0].y),w.closePath()}T.wireframes?(w.lineWidth=1,w.strokeStyle="#bbb",w.stroke()):(w.fillStyle=R.render.fillStyle,R.render.lineWidth&&(w.lineWidth=R.render.lineWidth,w.strokeStyle=R.render.strokeStyle,w.stroke()),w.fill())}w.globalAlpha=1}}},r.bodyWireframes=function(y,E,S){var w=S,T=y.options.showInternalEdges,L,A,R,k,N;for(w.beginPath(),R=0;R<E.length;R++)if(L=E[R],!!L.render.visible)for(N=L.parts.length>1?1:0;N<L.parts.length;N++){for(A=L.parts[N],w.moveTo(A.vertices[0].x,A.vertices[0].y),k=1;k<A.vertices.length;k++)!A.vertices[k-1].isInternal||T?w.lineTo(A.vertices[k].x,A.vertices[k].y):w.moveTo(A.vertices[k].x,A.vertices[k].y),A.vertices[k].isInternal&&!T&&w.moveTo(A.vertices[(k+1)%A.vertices.length].x,A.vertices[(k+1)%A.vertices.length].y);w.lineTo(A.vertices[0].x,A.vertices[0].y)}w.lineWidth=1,w.strokeStyle="#bbb",w.stroke()},r.bodyConvexHulls=function(y,E,S){var w=S,T,L,A;for(w.beginPath(),L=0;L<E.length;L++)if(T=E[L],!(!T.render.visible||T.parts.length===1)){for(w.moveTo(T.vertices[0].x,T.vertices[0].y),A=1;A<T.vertices.length;A++)w.lineTo(T.vertices[A].x,T.vertices[A].y);w.lineTo(T.vertices[0].x,T.vertices[0].y)}w.lineWidth=1,w.strokeStyle="rgba(255,255,255,0.2)",w.stroke()},r.vertexNumbers=function(y,E,S){var w=S,T,L,A;for(T=0;T<E.length;T++){var R=E[T].parts;for(A=R.length>1?1:0;A<R.length;A++){var k=R[A];for(L=0;L<k.vertices.length;L++)w.fillStyle="rgba(255,255,255,0.2)",w.fillText(T+"_"+L,k.position.x+(k.vertices[L].x-k.position.x)*.8,k.position.y+(k.vertices[L].y-k.position.y)*.8)}}},r.mousePosition=function(y,E,S){var w=S;w.fillStyle="rgba(255,255,255,0.8)",w.fillText(E.position.x+" "+E.position.y,E.position.x+5,E.position.y-5)},r.bodyBounds=function(y,E,S){var w=S;y.engine;var T=y.options;w.beginPath();for(var L=0;L<E.length;L++){var A=E[L];if(A.render.visible)for(var R=E[L].parts,k=R.length>1?1:0;k<R.length;k++){var N=R[k];w.rect(N.bounds.min.x,N.bounds.min.y,N.bounds.max.x-N.bounds.min.x,N.bounds.max.y-N.bounds.min.y)}}T.wireframes?w.strokeStyle="rgba(255,255,255,0.08)":w.strokeStyle="rgba(0,0,0,0.1)",w.lineWidth=1,w.stroke()},r.bodyAxes=function(y,E,S){var w=S;y.engine;var T=y.options,L,A,R,k;for(w.beginPath(),A=0;A<E.length;A++){var N=E[A],B=N.parts;if(N.render.visible)if(T.showAxes)for(R=B.length>1?1:0;R<B.length;R++)for(L=B[R],k=0;k<L.axes.length;k++){var j=L.axes[k];w.moveTo(L.position.x,L.position.y),w.lineTo(L.position.x+j.x*20,L.position.y+j.y*20)}else for(R=B.length>1?1:0;R<B.length;R++)for(L=B[R],k=0;k<L.axes.length;k++)w.moveTo(L.position.x,L.position.y),w.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)}T.wireframes?(w.strokeStyle="indianred",w.lineWidth=1):(w.strokeStyle="rgba(255, 255, 255, 0.4)",w.globalCompositeOperation="overlay",w.lineWidth=2),w.stroke(),w.globalCompositeOperation="source-over"},r.bodyPositions=function(y,E,S){var w=S;y.engine;var T=y.options,L,A,R,k;for(w.beginPath(),R=0;R<E.length;R++)if(L=E[R],!!L.render.visible)for(k=0;k<L.parts.length;k++)A=L.parts[k],w.arc(A.position.x,A.position.y,3,0,2*Math.PI,!1),w.closePath();for(T.wireframes?w.fillStyle="indianred":w.fillStyle="rgba(0,0,0,0.5)",w.fill(),w.beginPath(),R=0;R<E.length;R++)L=E[R],L.render.visible&&(w.arc(L.positionPrev.x,L.positionPrev.y,2,0,2*Math.PI,!1),w.closePath());w.fillStyle="rgba(255,165,0,0.8)",w.fill()},r.bodyVelocity=function(y,E,S){var w=S;w.beginPath();for(var T=0;T<E.length;T++){var L=E[T];if(L.render.visible){var A=i.getVelocity(L);w.moveTo(L.position.x,L.position.y),w.lineTo(L.position.x+A.x,L.position.y+A.y)}}w.lineWidth=3,w.strokeStyle="cornflowerblue",w.stroke()},r.bodyIds=function(y,E,S){var w=S,T,L;for(T=0;T<E.length;T++)if(E[T].render.visible){var A=E[T].parts;for(L=A.length>1?1:0;L<A.length;L++){var R=A[L];w.font="12px Arial",w.fillStyle="rgba(255,255,255,0.5)",w.fillText(R.id,R.position.x+10,R.position.y-10)}}},r.collisions=function(y,E,S){var w=S,T=y.options,L,A,R,k;for(w.beginPath(),R=0;R<E.length;R++)if(L=E[R],!!L.isActive)for(A=L.collision,k=0;k<L.activeContacts.length;k++){var N=L.activeContacts[k],B=N.vertex;w.rect(B.x-1.5,B.y-1.5,3.5,3.5)}for(T.wireframes?w.fillStyle="rgba(255,255,255,0.7)":w.fillStyle="orange",w.fill(),w.beginPath(),R=0;R<E.length;R++)if(L=E[R],!!L.isActive&&(A=L.collision,L.activeContacts.length>0)){var j=L.activeContacts[0].vertex.x,U=L.activeContacts[0].vertex.y;L.activeContacts.length===2&&(j=(L.activeContacts[0].vertex.x+L.activeContacts[1].vertex.x)/2,U=(L.activeContacts[0].vertex.y+L.activeContacts[1].vertex.y)/2),A.bodyB===A.supports[0].body||A.bodyA.isStatic===!0?w.moveTo(j-A.normal.x*8,U-A.normal.y*8):w.moveTo(j+A.normal.x*8,U+A.normal.y*8),w.lineTo(j,U)}T.wireframes?w.strokeStyle="rgba(255,165,0,0.7)":w.strokeStyle="orange",w.lineWidth=1,w.stroke()},r.separations=function(y,E,S){var w=S,T=y.options,L,A,R,k,N;for(w.beginPath(),N=0;N<E.length;N++)if(L=E[N],!!L.isActive){A=L.collision,R=A.bodyA,k=A.bodyB;var B=1;!k.isStatic&&!R.isStatic&&(B=.5),k.isStatic&&(B=0),w.moveTo(k.position.x,k.position.y),w.lineTo(k.position.x-A.penetration.x*B,k.position.y-A.penetration.y*B),B=1,!k.isStatic&&!R.isStatic&&(B=.5),R.isStatic&&(B=0),w.moveTo(R.position.x,R.position.y),w.lineTo(R.position.x+A.penetration.x*B,R.position.y+A.penetration.y*B)}T.wireframes?w.strokeStyle="rgba(255,165,0,0.5)":w.strokeStyle="orange",w.stroke()},r.inspector=function(y,E){y.engine;var S=y.selected,w=y.render,T=w.options,L;if(T.hasBounds){var A=w.bounds.max.x-w.bounds.min.x,R=w.bounds.max.y-w.bounds.min.y,k=A/w.options.width,N=R/w.options.height;E.scale(1/k,1/N),E.translate(-w.bounds.min.x,-w.bounds.min.y)}for(var B=0;B<S.length;B++){var j=S[B].data;switch(E.translate(.5,.5),E.lineWidth=1,E.strokeStyle="rgba(255,165,0,0.9)",E.setLineDash([1,2]),j.type){case"body":L=j.bounds,E.beginPath(),E.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)),E.closePath(),E.stroke();break;case"constraint":var U=j.pointA;j.bodyA&&(U=j.pointB),E.beginPath(),E.arc(U.x,U.y,10,0,2*Math.PI),E.closePath(),E.stroke();break}E.setLineDash([]),E.translate(-.5,-.5)}y.selectStart!==null&&(E.translate(.5,.5),E.lineWidth=1,E.strokeStyle="rgba(255,165,0,0.6)",E.fillStyle="rgba(255,165,0,0.1)",L=y.selectBounds,E.beginPath(),E.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)),E.closePath(),E.stroke(),E.fill(),E.translate(-.5,-.5)),T.hasBounds&&E.setTransform(1,0,0,1,0,0)};var g=function(y,E){var S=y.engine,w=y.timing,T=w.historySize,L=S.timing.timestamp;w.delta=E-w.lastTime||r._goodDelta,w.lastTime=E,w.timestampElapsed=L-w.lastTimestamp||0,w.lastTimestamp=L,w.deltaHistory.unshift(w.delta),w.deltaHistory.length=Math.min(w.deltaHistory.length,T),w.engineDeltaHistory.unshift(S.timing.lastDelta),w.engineDeltaHistory.length=Math.min(w.engineDeltaHistory.length,T),w.timestampElapsedHistory.unshift(w.timestampElapsed),w.timestampElapsedHistory.length=Math.min(w.timestampElapsedHistory.length,T),w.engineElapsedHistory.unshift(S.timing.lastElapsed),w.engineElapsedHistory.length=Math.min(w.engineElapsedHistory.length,T),w.elapsedHistory.unshift(w.lastElapsed),w.elapsedHistory.length=Math.min(w.elapsedHistory.length,T)},v=function(y){for(var E=0,S=0;S<y.length;S+=1)E+=y[S];return E/y.length||0},m=function(y,E){var S=document.createElement("canvas");return S.width=y,S.height=E,S.oncontextmenu=function(){return!1},S.onselectstart=function(){return!1},S},_=function(y){var E=y.getContext("2d"),S=window.devicePixelRatio||1,w=E.webkitBackingStorePixelRatio||E.mozBackingStorePixelRatio||E.msBackingStorePixelRatio||E.oBackingStorePixelRatio||E.backingStorePixelRatio||1;return S/w},b=function(y,E){var S=y.textures[E];return S||(S=y.textures[E]=new Image,S.src=E,S)},x=function(y,E){var S=E;/(jpg|gif|png)$/.test(E)&&(S="url("+E+")"),y.canvas.style.background=S,y.canvas.style.backgroundSize="contain",y.currentBackground=E}})()},function(n,s,o){var r={};n.exports=r;var i=o(5),a=o(17),l=o(0);(function(){var f,u;if(typeof window<"u"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!f){var h;f=function(d){h=setTimeout(function(){d(l.now())},1e3/60)},u=function(){clearTimeout(h)}}r.create=function(d){var c={fps:60,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,frameRequestId:null,isFixed:!1,enabled:!0},p=l.extend(c,d);return p.delta=p.delta||1e3/p.fps,p.deltaMin=p.deltaMin||1e3/p.fps,p.deltaMax=p.deltaMax||1e3/(p.fps*.5),p.fps=1e3/p.delta,p},r.run=function(d,c){return typeof d.positionIterations<"u"&&(c=d,d=r.create()),function p(g){d.frameRequestId=f(p),g&&d.enabled&&r.tick(d,c,g)}(),d},r.tick=function(d,c,p){var g=c.timing,v;d.isFixed?v=d.delta:(v=p-d.timePrev||d.delta,d.timePrev=p,d.deltaHistory.push(v),d.deltaHistory=d.deltaHistory.slice(-d.deltaSampleSize),v=Math.min.apply(null,d.deltaHistory),v=v<d.deltaMin?d.deltaMin:v,v=v>d.deltaMax?d.deltaMax:v,d.delta=v);var m={timestamp:g.timestamp};i.trigger(d,"beforeTick",m),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",m),i.trigger(d,"beforeUpdate",m),a.update(c,v),i.trigger(d,"afterUpdate",m),i.trigger(d,"afterTick",m)},r.stop=function(d){u(d.frameRequestId)},r.start=function(d,c){r.run(d,c)}})()},function(n,s,o){var r={};n.exports=r;var i=o(8),a=o(0),l=a.deprecated;(function(){r.collides=function(f,u){return i.collides(f,u)},l(r,"collides","SAT.collides ➤ replaced by Collision.collides")})()},function(n,s,o){var r={};n.exports=r,o(1);var i=o(0);(function(){r.pathToVertices=function(a,l){typeof window<"u"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var f,u,h,d,c,p,g,v,m,_,b=[],x,y,E=0,S=0,w=0;l=l||15;var T=function(A,R,k){var N=k%2===1&&k>1;if(!m||A!=m.x||R!=m.y){m&&N?(x=m.x,y=m.y):(x=0,y=0);var B={x:x+A,y:y+R};(N||!m)&&(m=B),b.push(B),S=x+A,w=y+R}},L=function(A){var R=A.pathSegTypeAsLetter.toUpperCase();if(R!=="Z"){switch(R){case"M":case"L":case"T":case"C":case"S":case"Q":S=A.x,w=A.y;break;case"H":S=A.x;break;case"V":w=A.y;break}T(S,w,A.pathSegType)}};for(r._svgPathToAbsolute(a),h=a.getTotalLength(),p=[],f=0;f<a.pathSegList.numberOfItems;f+=1)p.push(a.pathSegList.getItem(f));for(g=p.concat();E<h;){if(_=a.getPathSegAtLength(E),c=p[_],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(E),T(d.x,d.y,0);break}E+=l}for(f=0,u=g.length;f<u;++f)L(g[f]);return b},r._svgPathToAbsolute=function(a){for(var l,f,u,h,d,c,p=a.pathSegList,g=0,v=0,m=p.numberOfItems,_=0;_<m;++_){var b=p.getItem(_),x=b.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(x))"x"in b&&(g=b.x),"y"in b&&(v=b.y);else switch("x1"in b&&(u=g+b.x1),"x2"in b&&(d=g+b.x2),"y1"in b&&(h=v+b.y1),"y2"in b&&(c=v+b.y2),"x"in b&&(g+=b.x),"y"in b&&(v+=b.y),x){case"m":p.replaceItem(a.createSVGPathSegMovetoAbs(g,v),_);break;case"l":p.replaceItem(a.createSVGPathSegLinetoAbs(g,v),_);break;case"h":p.replaceItem(a.createSVGPathSegLinetoHorizontalAbs(g),_);break;case"v":p.replaceItem(a.createSVGPathSegLinetoVerticalAbs(v),_);break;case"c":p.replaceItem(a.createSVGPathSegCurvetoCubicAbs(g,v,u,h,d,c),_);break;case"s":p.replaceItem(a.createSVGPathSegCurvetoCubicSmoothAbs(g,v,d,c),_);break;case"q":p.replaceItem(a.createSVGPathSegCurvetoQuadraticAbs(g,v,u,h),_);break;case"t":p.replaceItem(a.createSVGPathSegCurvetoQuadraticSmoothAbs(g,v),_);break;case"a":p.replaceItem(a.createSVGPathSegArcAbs(g,v,b.r1,b.r2,b.angle,b.largeArcFlag,b.sweepFlag),_);break;case"z":case"Z":g=l,v=f;break}(x=="M"||x=="m")&&(l=g,f=v)}}})()},function(n,s,o){var r={};n.exports=r;var i=o(6);o(0),function(){r.create=i.create,r.add=i.add,r.remove=i.remove,r.clear=i.clear,r.addComposite=i.addComposite,r.addBody=i.addBody,r.addConstraint=i.addConstraint}()}])})})(Hf);var kt=Hf.exports;const Uf=""+new URL("cookie.fc45e6c1.png",import.meta.url).href,xx={key:0,class:"w-full h-full"},Ex=["width","height"],Cx={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"},bx={class:"text-sm"},wx={class:"text-xs"},Sx={class:"flex justify-end mt-2 text-sm"},Px=Ke({__name:"Cookie",setup(e){const t=ge(null),n=ge(null),s=ge(!0),o=ge(0),r=ge(0);let i=null;ht(async()=>{s.value=Zl(),o.value=f(),r.value=u(),Zl()&&(await Jt(),d(),new ResizeObserver(()=>{h()}).observe(document.body))});function a(){gx(),s.value=!1}function l(){mx(),s.value=!1}function f(){return document.body.clientWidth}function u(){return document.body.scrollHeight}function h(){o.value=f(),r.value=u()}function d(){if(!i){i=kt.Engine.create();let g=kt.Render.create({element:t.value,canvas:n.value,engine:i,options:{width:f(),height:u(),wireframes:!1,background:"#00000000"}});kt.Render.run(g),kt.Runner.run(kt.Runner.create(),i)}h()}function c(){if(vx("cookie"),!i)return;let g=kt.Bodies.circle(_x(0,f()),document.documentElement.scrollTop+window.screen.height,30,{render:{sprite:{texture:Uf,xScale:.08,yScale:.08}}});kt.Composite.add(i.world,[g]);const v=.02*g.mass;kt.Body.applyForce(g,g.position,{x:v*(g.position.x>f()/2?-1:1),y:-v*Bf(3,6)}),p(g)}function p(g){g.position.y>document.body.scrollHeight+1e3?kt.Composite.remove(i.world,g):setTimeout(()=>{p(g)},5e3)}return(g,v)=>{const m=Hs;return xe(),Xe(m,null,{default:qt(()=>[oe(s)?(xe(),nt("div",xx,[ne("div",{ref_key:"container_cookie",ref:t,class:"absolute top-0 left-0 h-full w-full pointer-events-none z-40"},[ne("canvas",{ref_key:"canvas_cookie",ref:n,width:oe(o),height:oe(r)},null,8,Ex)],512),ne("div",Cx,[ne("p",bx,Re(g.$t("cookie policy title")),1),ne("div",wx,[ne("span",null,[Ps(Re(g.$t("cookie policy"))+" ",1),ne("button",{onClick:c,class:"underline"},Re(g.$t("cookie policy link")),1)])]),ne("div",Sx,[ne("button",{onClick:l,class:"mx-1 hover:text-slate-500 dark:hover:text-slate-300"},Re(g.$t("reject")),1),ne("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"},Re(g.$t("accept")),1)])],512)])):tt("",!0)]),_:1})}}}),Ki=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Lx={},Tx={class:"flex justify-center text-sm"},Rx=ne("div",{class:"flex items-center justify-center"},[ne("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ne("img",{src:Uf,alt:"",class:"h-full w-full"})])],-1),kx={class:"flex-1 ml-2"},Ix={class:"font-bold text-base"};function Ax(e,t){return xe(),nt("div",Tx,[Rx,ne("div",kx,[ne("p",Ix,Re(e.$t("cookie.title")),1),ne("p",null,Re(e.$t("cookie.description")),1)])])}const Ox=Ki(Lx,[["render",Ax]]),Nx=""+new URL("future.cbee0ccf.png",import.meta.url).href,Mx={},Dx={class:"flex text-sm"},Fx=ne("div",{class:"flex items-center justify-center"},[ne("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ne("img",{src:Nx,alt:"",class:"h-full w-full"})])],-1),$x={class:"flex-1 ml-2"},Bx={class:"font-bold text-base"};function Hx(e,t){return xe(),nt("div",Dx,[Fx,ne("div",$x,[ne("p",Bx,Re(e.$t("future.title")),1),ne("p",null,Re(e.$t("future.description")),1)])])}const Ux=Ki(Mx,[["render",Hx]]),jx=""+new URL("sad.334039fc.svg",import.meta.url).href,Vx={},Wx={class:"flex text-sm"},Kx=ne("div",{class:"flex items-center justify-center"},[ne("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ne("img",{src:jx,alt:"",class:"h-full w-full dark:invert"})])],-1),Gx={class:"flex-1 ml-2"},Xx={class:"font-bold text-base"};function Yx(e,t){return xe(),nt("div",Wx,[Kx,ne("div",Gx,[ne("p",Xx,Re(e.$t("something.title")),1),ne("p",null,Re(e.$t("something.description")),1)])])}const Jx=Ki(Vx,[["render",Yx]]),qx=""+new URL("sun.2c52867b.png",import.meta.url).href,Qx={class:"flex text-sm"},zx=ne("div",{class:"flex items-center justify-center"},[ne("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ne("img",{src:qx,alt:"",class:"h-full w-full"})])],-1),Zx={class:"flex-1 ml-2"},eE={class:"font-bold text-base"},tE={key:0},nE={key:1},rE=Ke({__name:"PictureBrightEgg",setup(e){const t=ge(!1);return ht(()=>{t.value=Wi().includes("picture-nolights")}),(n,s)=>{const o=Hs;return xe(),Xe(o,null,{default:qt(()=>[ne("div",Qx,[zx,ne("div",Zx,[ne("p",eE,Re(n.$t("bright.title")),1),oe(t)?tt("",!0):(xe(),nt("p",tE,Re(n.$t("bright.description")),1)),oe(t)?(xe(),nt("p",nE,Re(n.$t("bright_either.description")),1)):tt("",!0)])])]),_:1})}}}),sE=""+new URL("moon.907b4d10.png",import.meta.url).href,oE={class:"flex text-sm"},iE=ne("div",{class:"flex items-center justify-center"},[ne("div",{class:"w-10 h-10 flex items-center justify-center overflow-hidden"},[ne("img",{src:sE,alt:"",class:"h-full w-full"})])],-1),aE={class:"flex-1 ml-2"},lE={class:"font-bold text-base"},cE={key:0},uE={key:1},fE=Ke({__name:"PictureNoLightEgg",setup(e){const t=ge(!1);return ht(()=>{t.value=Wi().includes("picture-bright")}),(n,s)=>{const o=Hs;return xe(),Xe(o,null,{default:qt(()=>[ne("div",oE,[iE,ne("div",aE,[ne("p",lE,Re(n.$t("dark.title")),1),oe(t)?tt("",!0):(xe(),nt("p",cE,Re(n.$t("dark.description")),1)),oe(t)?(xe(),nt("p",uE,Re(n.$t("dark_either.description")),1)):tt("",!0)])])]),_:1})}}}),dE={key:0,class:"fixed top-0 left-0 w-full pointer-events-none z-50"},hE={class:"flex text-sm"},pE={class:"flex-1"},gE={class:"mt-1 text-center"},mE={key:0},vE={key:1},yE=Ke({__name:"EastereggBanner",setup(e,{expose:t}){const n=ge(!1),s=ge(""),o=ge(yx()),r=ge(0);ht(()=>{r.value=ec()});let i=null;function a(f){s.value=f,r.value=ec(),n.value=!0,i&&clearTimeout(i),i=setTimeout(()=>{l()},7e3)}function l(){n.value=!1}return t({show:a}),(f,u)=>{const h=Ox,d=Ux,c=Jx,p=rE,g=fE,v=Hs;return xe(),Xe(v,null,{default:qt(()=>[oe(n)?(xe(),nt("div",dE,[ne("div",{class:xs(`border rounded-sm mx-auto w-fit max-w-xs md:max-w-md pointer-events-auto
bg-slate-200/90 border-slate-700 dark:bg-slate-800/90 dark:border-slate-400
transition-opacity ${oe(n)?"opacity-100 duration-300 p-3 px-5 my-2":"opacity-0 duration-200"}`),onClick:l},[ne("div",hE,[ne("div",pE,[oe(s)==="cookie"?(xe(),Xe(h,{key:0})):tt("",!0),oe(s)==="future"?(xe(),Xe(d,{key:1})):tt("",!0),oe(s)==="change-something"?(xe(),Xe(c,{key:2})):tt("",!0),oe(s)==="picture-bright"?(xe(),Xe(p,{key:3})):tt("",!0),oe(s)==="picture-nolights"?(xe(),Xe(g,{key:4})):tt("",!0),ne("div",gE,[oe(r)!=oe(o)?(xe(),nt("p",mE,Re(oe(r))+"/"+Re(oe(o))+" "+Re(f.$t("easter eggs found")),1)):tt("",!0),oe(r)===oe(o)?(xe(),nt("p",vE,Re(f.$t("all easter eggs found")),1)):tt("",!0)])])])],2)])):tt("",!0)]),_:1})}}});function jf(){return localStorage.getItem("theme")??"dark"}function _E(e){e!=="dark"&&e!=="light"&&(e="dark"),localStorage.setItem("theme",e)}function FE(){_E(jf()==="dark"?"light":"dark")}function Vf(e){switch(e||(e=jf()),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 xE={key:0,class:"min-h-screen h-full",style:{"font-family":"'Comfortaa'","overflow-x":"hidden"}},EE={style:{"margin-right":"calc(-1 * (100vw - 100%))"}},CE={class:"container mx-auto pb-8 px-3 md:px-8 min-h-screen w-screen flex flex-col"},bE={__name:"app",setup(e){const{locale:t}=Xn(),n=ge(),s=ge(!1);return ht(()=>{Vf(),document.addEventListener("easteregg",o=>{n.value.show(o.detail)}),s.value=!0}),Ga({htmlAttrs:{lang:t.value},bodyAttrs:{class:"dark:bg-gray-900 dark:text-slate-50 bg-gray-100 text-gray-900"}}),xt(t,o=>{Ga({htmlAttrs:{lang:o}})}),(o,r)=>{const i=lx,a=hx,l=Px,f=yE;return oe(s)?(xe(),nt("div",xE,[ne("div",EE,[ne("div",CE,[ke(a,null,{default:qt(()=>[ke(i)]),_:1})])]),ke(l),ke(f,{ref_key:"easteregg",ref:n},null,512)])):tt("",!0)}}},wE=bE;function SE(e){const{route:t,router:n,i18n:s}=e||{};return A_({route:t||Ir(),router:n||pt(),i18n:s||_n(be().$i18n)})}function $E(e){const{route:t,router:n,i18n:s}=e||{};return Rf({route:t||Ir(),router:n||pt(),i18n:s||_n(be().$i18n)})}const PE=""+new URL("no-turn-street.ac452ab6.png",import.meta.url).href,LE={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"}},TE={class:"text-2xl md:text-4xl text-center"},RE=ne("img",{src:PE,class:"mx-auto my-2",alt:""},null,-1),kE=Ke({__name:"error",setup(e){const t=SE();return ht(()=>{Vf()}),(n,s)=>{const o=jm;return xe(),nt("div",LE,[ne("div",null,[ne("p",TE,Re(n.$t("wrong directions")),1),RE,ke(o,{to:oe(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:qt(()=>[Ps(Re(n.$t("back to home")),1)]),_:1},8,["to"])])])}}}),IE={__name:"nuxt-root",setup(e){const t=()=>null,n=be(),s=n.deferHydration(),o=!1;pn(kr,Ir()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const r=Rs();Gc((a,l,f)=>{if(n.hooks.callHook("vue:error",a,l,f).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),Am(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Tn(a)),!1});const i=!1;return(a,l)=>(xe(),Xe(mi,{onResolve:oe(s)},{default:qt(()=>[oe(r)?(xe(),Xe(oe(kE),{key:0,error:oe(r)},null,8,["error"])):oe(i)?(xe(),Xe(oe(t),{key:1,context:oe(i)},null,8,["context"])):oe(o)?(xe(),Xe(gh(oe(o)),{key:2})):(xe(),Xe(oe(wE),{key:3}))]),_:1},8,["onResolve"]))}},tc=IE;globalThis.$fetch||(globalThis.$fetch=ig.create({baseURL:lg()}));let nc;{let e;nc=async function(){var r,i;if(e)return e;const s=!!((r=window.__NUXT__)!=null&&r.serverRendered||((i=document.getElementById("__NUXT_DATA__"))==null?void 0:i.dataset.ssr)==="true")?vp(tc):mp(tc),o=Eg({vueApp:s});try{await bg(o,sx)}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}try{await o.hooks.callHook("app:created",s),await o.hooks.callHook("app:beforeMount",s),s.mount(vm),await o.hooks.callHook("app:mounted",s),await Jt()}catch(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||a}return s},e=nc().catch(t=>{console.error("Error while mounting app:",t)})}export{oi as A,FE as B,Vf as C,$E as D,jm as E,Ge as F,SE as G,pt as H,Ki as _,Ir as a,vx as b,xe as c,Ke as d,nt as e,ne as f,jf as g,oe as h,tt as i,Ga as j,we as k,xt as l,ke as m,qt as n,ht as o,Ps as p,DE as q,ge as r,NE as s,Re as t,Xn as u,ME as v,AE as w,OE as x,Xe as y,xs as z};