Files
sanasto-app/dist/assets/index-E314AbIc.js

33 lines
117 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const u of o)if(u.type==="childList")for(const f of u.addedNodes)f.tagName==="LINK"&&f.rel==="modulepreload"&&i(f)}).observe(document,{childList:!0,subtree:!0});function r(o){const u={};return o.integrity&&(u.integrity=o.integrity),o.referrerPolicy&&(u.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?u.credentials="include":o.crossOrigin==="anonymous"?u.credentials="omit":u.credentials="same-origin",u}function i(o){if(o.ep)return;o.ep=!0;const u=r(o);fetch(o.href,u)}})();function ms(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const ge={},an=[],pt=()=>{},zi=()=>!1,mr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),_s=e=>e.startsWith("onUpdate:"),Re=Object.assign,gs=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},Hl=Object.prototype.hasOwnProperty,ae=(e,t)=>Hl.call(e,t),X=Array.isArray,fn=e=>Un(e)==="[object Map]",_r=e=>Un(e)==="[object Set]",ai=e=>Un(e)==="[object Date]",Z=e=>typeof e=="function",Se=e=>typeof e=="string",mt=e=>typeof e=="symbol",ve=e=>e!==null&&typeof e=="object",Qi=e=>(ve(e)||Z(e))&&Z(e.then)&&Z(e.catch),Xi=Object.prototype.toString,Un=e=>Xi.call(e),Wl=e=>Un(e).slice(8,-1),Yi=e=>Un(e)==="[object Object]",bs=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,On=ms(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gr=e=>{const t=Object.create(null);return(r=>t[r]||(t[r]=e(r)))},Bl=/-\w/g,Ut=gr(e=>e.replace(Bl,t=>t.slice(1).toUpperCase())),Vl=/\B([A-Z])/g,en=gr(e=>e.replace(Vl,"-$1").toLowerCase()),Gi=gr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Br=gr(e=>e?`on${Gi(e)}`:""),jt=(e,t)=>!Object.is(e,t),rr=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},Ji=(e,t,r,i=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:i,value:r})},br=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let fi;const vr=()=>fi||(fi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vs(e){if(X(e)){const t={};for(let r=0;r<e.length;r++){const i=e[r],o=Se(i)?Xl(i):vs(i);if(o)for(const u in o)t[u]=o[u]}return t}else if(Se(e)||ve(e))return e}const Kl=/;(?![^(]*\))/g,zl=/:([^]+)/,Ql=/\/\*[^]*?\*\//g;function Xl(e){const t={};return e.replace(Ql,"").split(Kl).forEach(r=>{if(r){const i=r.split(zl);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function et(e){let t="";if(Se(e))t=e;else if(X(e))for(let r=0;r<e.length;r++){const i=et(e[r]);i&&(t+=i+" ")}else if(ve(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}const Yl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Gl=ms(Yl);function Zi(e){return!!e||e===""}function Jl(e,t){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=yr(e[i],t[i]);return r}function yr(e,t){if(e===t)return!0;let r=ai(e),i=ai(t);if(r||i)return r&&i?e.getTime()===t.getTime():!1;if(r=mt(e),i=mt(t),r||i)return e===t;if(r=X(e),i=X(t),r||i)return r&&i?Jl(e,t):!1;if(r=ve(e),i=ve(t),r||i){if(!r||!i)return!1;const o=Object.keys(e).length,u=Object.keys(t).length;if(o!==u)return!1;for(const f in e){const d=e.hasOwnProperty(f),p=t.hasOwnProperty(f);if(d&&!p||!d&&p||!yr(e[f],t[f]))return!1}}return String(e)===String(t)}function Zl(e,t){return e.findIndex(r=>yr(r,t))}const eo=e=>!!(e&&e.__v_isRef===!0),Ee=e=>Se(e)?e:e==null?"":X(e)||ve(e)&&(e.toString===Xi||!Z(e.toString))?eo(e)?Ee(e.value):JSON.stringify(e,to,2):String(e),to=(e,t)=>eo(t)?to(e,t.value):fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[i,o],u)=>(r[Vr(i,u)+" =>"]=o,r),{})}:_r(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Vr(r))}:mt(t)?Vr(t):ve(t)&&!X(t)&&!Yi(t)?String(t):t,Vr=(e,t="")=>{var r;return mt(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};let Be;class eu{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Be,!t&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=Be;try{return Be=this,t()}finally{Be=r}}}on(){++this._on===1&&(this.prevScope=Be,Be=this)}off(){this._on>0&&--this._on===0&&(Be=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,i;for(r=0,i=this.effects.length;r<i;r++)this.effects[r].stop();for(this.effects.length=0,r=0,i=this.cleanups.length;r<i;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,i=this.scopes.length;r<i;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function tu(){return Be}let be;const Kr=new WeakSet;class no{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Be&&Be.active&&Be.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Kr.has(this)&&(Kr.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||so(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ci(this),io(this);const t=be,r=lt;be=this,lt=!0;try{return this.fn()}finally{oo(this),be=t,lt=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Es(t);this.deps=this.depsTail=void 0,ci(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Kr.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){rs(this)&&this.run()}get dirty(){return rs(this)}}let ro=0,Cn,Mn;function so(e,t=!1){if(e.flags|=8,t){e.next=Mn,Mn=e;return}e.next=Cn,Cn=e}function ys(){ro++}function ws(){if(--ro>0)return;if(Mn){let t=Mn;for(Mn=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;Cn;){let t=Cn;for(Cn=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){e||(e=i)}t=r}}if(e)throw e}function io(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function oo(e){let t,r=e.depsTail,i=r;for(;i;){const o=i.prevDep;i.version===-1?(i===r&&(r=o),Es(i),nu(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=o}e.deps=t,e.depsTail=r}function rs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function lo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ln)||(e.globalVersion=Ln,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!rs(e))))return;e.flags|=2;const t=e.dep,r=be,i=lt;be=e,lt=!0;try{io(e);const o=e.fn(e._value);(t.version===0||jt(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{be=r,lt=i,oo(e),e.flags&=-3}}function Es(e,t=!1){const{dep:r,prevSub:i,nextSub:o}=e;if(i&&(i.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=i,e.nextSub=void 0),r.subs===e&&(r.subs=i,!i&&r.computed)){r.computed.flags&=-5;for(let u=r.computed.deps;u;u=u.nextDep)Es(u,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function nu(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}let lt=!0;const uo=[];function St(){uo.push(lt),lt=!1}function At(){const e=uo.pop();lt=e===void 0?!0:e}function ci(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=be;be=void 0;try{t()}finally{be=r}}}let Ln=0;class ru{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class xs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!be||!lt||be===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==be)r=this.activeLink=new ru(be,this),be.deps?(r.prevDep=be.depsTail,be.depsTail.nextDep=r,be.depsTail=r):be.deps=be.depsTail=r,ao(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const i=r.nextDep;i.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=i),r.prevDep=be.depsTail,r.nextDep=void 0,be.depsTail.nextDep=r,be.depsTail=r,be.deps===r&&(be.deps=i)}return r}trigger(t){this.version++,Ln++,this.notify(t)}notify(t){ys();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{ws()}}}function ao(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)ao(i)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const ss=new WeakMap,Jt=Symbol(""),is=Symbol(""),In=Symbol("");function Ie(e,t,r){if(lt&&be){let i=ss.get(e);i||ss.set(e,i=new Map);let o=i.get(r);o||(i.set(r,o=new xs),o.map=i,o.key=r),o.track()}}function wt(e,t,r,i,o,u){const f=ss.get(e);if(!f){Ln++;return}const d=p=>{p&&p.trigger()};if(ys(),t==="clear")f.forEach(d);else{const p=X(e),c=p&&bs(r);if(p&&r==="length"){const g=Number(i);f.forEach((y,R)=>{(R==="length"||R===In||!mt(R)&&R>=g)&&d(y)})}else switch((r!==void 0||f.has(void 0))&&d(f.get(r)),c&&d(f.get(In)),t){case"add":p?c&&d(f.get("length")):(d(f.get(Jt)),fn(e)&&d(f.get(is)));break;case"delete":p||(d(f.get(Jt)),fn(e)&&d(f.get(is)));break;case"set":fn(e)&&d(f.get(Jt));break}}ws()}function ln(e){const t=ue(e);return t===e?t:(Ie(t,"iterate",In),nt(e)?t:t.map(ut))}function wr(e){return Ie(e=ue(e),"iterate",In),e}function It(e,t){return Tt(e)?pn(Zt(e)?ut(t):t):ut(t)}const su={__proto__:null,[Symbol.iterator](){return zr(this,Symbol.iterator,e=>It(this,e))},concat(...e){return ln(this).concat(...e.map(t=>X(t)?ln(t):t))},entries(){return zr(this,"entries",e=>(e[1]=It(this,e[1]),e))},every(e,t){return vt(this,"every",e,t,void 0,arguments)},filter(e,t){return vt(this,"filter",e,t,r=>r.map(i=>It(this,i)),arguments)},find(e,t){return vt(this,"find",e,t,r=>It(this,r),arguments)},findIndex(e,t){return vt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return vt(this,"findLast",e,t,r=>It(this,r),arguments)},findLastIndex(e,t){return vt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return vt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qr(this,"includes",e)},indexOf(...e){return Qr(this,"indexOf",e)},join(e){return ln(this).join(e)},lastIndexOf(...e){return Qr(this,"lastIndexOf",e)},map(e,t){return vt(this,"map",e,t,void 0,arguments)},pop(){return Sn(this,"pop")},push(...e){return Sn(this,"push",e)},reduce(e,...t){return di(this,"reduce",e,t)},reduceRight(e,...t){return di(this,"reduceRight",e,t)},shift(){return Sn(this,"shift")},some(e,t){return vt(this,"some",e,t,void 0,arguments)},splice(...e){return Sn(this,"splice",e)},toReversed(){return ln(this).toReversed()},toSorted(e){return ln(this).toSorted(e)},toSpliced(...e){return ln(this).toSpliced(...e)},unshift(...e){return Sn(this,"unshift",e)},values(){return zr(this,"values",e=>It(this,e))}};function zr(e,t,r){const i=wr(e),o=i[t]();return i!==e&&!nt(e)&&(o._next=o.next,o.next=()=>{const u=o._next();return u.done||(u.value=r(u.value)),u}),o}const iu=Array.prototype;function vt(e,t,r,i,o,u){const f=wr(e),d=f!==e&&!nt(e),p=f[t];if(p!==iu[t]){const y=p.apply(e,u);return d?ut(y):y}let c=r;f!==e&&(d?c=function(y,R){return r.call(this,It(e,y),R,e)}:r.length>2&&(c=function(y,R){return r.call(this,y,R,e)}));const g=p.call(f,c,i);return d&&o?o(g):g}function di(e,t,r,i){const o=wr(e);let u=r;return o!==e&&(nt(e)?r.length>3&&(u=function(f,d,p){return r.call(this,f,d,p,e)}):u=function(f,d,p){return r.call(this,f,It(e,d),p,e)}),o[t](u,...i)}function Qr(e,t,r){const i=ue(e);Ie(i,"iterate",In);const o=i[t](...r);return(o===-1||o===!1)&&Os(r[0])?(r[0]=ue(r[0]),i[t](...r)):o}function Sn(e,t,r=[]){St(),ys();const i=ue(e)[t].apply(e,r);return ws(),At(),i}const ou=ms("__proto__,__v_isRef,__isVue"),fo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mt));function lu(e){mt(e)||(e=String(e));const t=ue(this);return Ie(t,"has",e),t.hasOwnProperty(e)}class co{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,i){if(r==="__v_skip")return t.__v_skip;const o=this._isReadonly,u=this._isShallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return u;if(r==="__v_raw")return i===(o?u?gu:_o:u?mo:po).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const f=X(t);if(!o){let p;if(f&&(p=su[r]))return p;if(r==="hasOwnProperty")return lu}const d=Reflect.get(t,r,Fe(t)?t:i);if((mt(r)?fo.has(r):ou(r))||(o||Ie(t,"get",r),u))return d;if(Fe(d)){const p=f&&bs(r)?d:d.value;return o&&ve(p)?ls(p):p}return ve(d)?o?ls(d):As(d):d}}class ho extends co{constructor(t=!1){super(!1,t)}set(t,r,i,o){let u=t[r];const f=X(t)&&bs(r);if(!this._isShallow){const c=Tt(u);if(!nt(i)&&!Tt(i)&&(u=ue(u),i=ue(i)),!f&&Fe(u)&&!Fe(i))return c||(u.value=i),!0}const d=f?Number(r)<t.length:ae(t,r),p=Reflect.set(t,r,i,Fe(t)?t:o);return t===ue(o)&&(d?jt(i,u)&&wt(t,"set",r,i):wt(t,"add",r,i)),p}deleteProperty(t,r){const i=ae(t,r);t[r];const o=Reflect.deleteProperty(t,r);return o&&i&&wt(t,"delete",r,void 0),o}has(t,r){const i=Reflect.has(t,r);return(!mt(r)||!fo.has(r))&&Ie(t,"has",r),i}ownKeys(t){return Ie(t,"iterate",X(t)?"length":Jt),Reflect.ownKeys(t)}}class uu extends co{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const au=new ho,fu=new uu,cu=new ho(!0);const os=e=>e,Zn=e=>Reflect.getPrototypeOf(e);function du(e,t,r){return function(...i){const o=this.__v_raw,u=ue(o),f=fn(u),d=e==="entries"||e===Symbol.iterator&&f,p=e==="keys"&&f,c=o[e](...i),g=r?os:t?pn:ut;return!t&&Ie(u,"iterate",p?is:Jt),Re(Object.create(c),{next(){const{value:y,done:R}=c.next();return R?{value:y,done:R}:{value:d?[g(y[0]),g(y[1])]:g(y),done:R}}})}}function er(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hu(e,t){const r={get(o){const u=this.__v_raw,f=ue(u),d=ue(o);e||(jt(o,d)&&Ie(f,"get",o),Ie(f,"get",d));const{has:p}=Zn(f),c=t?os:e?pn:ut;if(p.call(f,o))return c(u.get(o));if(p.call(f,d))return c(u.get(d));u!==f&&u.get(o)},get size(){const o=this.__v_raw;return!e&&Ie(ue(o),"iterate",Jt),o.size},has(o){const u=this.__v_raw,f=ue(u),d=ue(o);return e||(jt(o,d)&&Ie(f,"has",o),Ie(f,"has",d)),o===d?u.has(o):u.has(o)||u.has(d)},forEach(o,u){const f=this,d=f.__v_raw,p=ue(d),c=t?os:e?pn:ut;return!e&&Ie(p,"iterate",Jt),d.forEach((g,y)=>o.call(u,c(g),c(y),f))}};return Re(r,e?{add:er("add"),set:er("set"),delete:er("delete"),clear:er("clear")}:{add(o){!t&&!nt(o)&&!Tt(o)&&(o=ue(o));const u=ue(this);return Zn(u).has.call(u,o)||(u.add(o),wt(u,"add",o,o)),this},set(o,u){!t&&!nt(u)&&!Tt(u)&&(u=ue(u));const f=ue(this),{has:d,get:p}=Zn(f);let c=d.call(f,o);c||(o=ue(o),c=d.call(f,o));const g=p.call(f,o);return f.set(o,u),c?jt(u,g)&&wt(f,"set",o,u):wt(f,"add",o,u),this},delete(o){const u=ue(this),{has:f,get:d}=Zn(u);let p=f.call(u,o);p||(o=ue(o),p=f.call(u,o)),d&&d.call(u,o);const c=u.delete(o);return p&&wt(u,"delete",o,void 0),c},clear(){const o=ue(this),u=o.size!==0,f=o.clear();return u&&wt(o,"clear",void 0,void 0),f}}),["keys","values","entries",Symbol.iterator].forEach(o=>{r[o]=du(o,e,t)}),r}function Ss(e,t){const r=hu(e,t);return(i,o,u)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(ae(r,o)&&o in i?r:i,o,u)}const pu={get:Ss(!1,!1)},mu={get:Ss(!1,!0)},_u={get:Ss(!0,!1)};const po=new WeakMap,mo=new WeakMap,_o=new WeakMap,gu=new WeakMap;function bu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vu(e){return e.__v_skip||!Object.isExtensible(e)?0:bu(Wl(e))}function As(e){return Tt(e)?e:Ts(e,!1,au,pu,po)}function yu(e){return Ts(e,!1,cu,mu,mo)}function ls(e){return Ts(e,!0,fu,_u,_o)}function Ts(e,t,r,i,o){if(!ve(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const u=vu(e);if(u===0)return e;const f=o.get(e);if(f)return f;const d=new Proxy(e,u===2?i:r);return o.set(e,d),d}function Zt(e){return Tt(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Tt(e){return!!(e&&e.__v_isReadonly)}function nt(e){return!!(e&&e.__v_isShallow)}function Os(e){return e?!!e.__v_raw:!1}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function wu(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&Ji(e,"__v_skip",!0),e}const ut=e=>ve(e)?As(e):e,pn=e=>ve(e)?ls(e):e;function Fe(e){return e?e.__v_isRef===!0:!1}function ot(e){return Eu(e,!1)}function Eu(e,t){return Fe(e)?e:new xu(e,t)}class xu{constructor(t,r){this.dep=new xs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:ue(t),this._value=r?t:ut(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,i=this.__v_isShallow||nt(t)||Tt(t);t=i?t:ue(t),jt(t,r)&&(this._rawValue=t,this._value=i?t:ut(t),this.dep.trigger())}}function Su(e){return Fe(e)?e.value:e}const Au={get:(e,t,r)=>t==="__v_raw"?e:Su(Reflect.get(e,t,r)),set:(e,t,r,i)=>{const o=e[t];return Fe(o)&&!Fe(r)?(o.value=r,!0):Reflect.set(e,t,r,i)}};function go(e){return Zt(e)?e:new Proxy(e,Au)}class Tu{constructor(t,r,i){this.fn=t,this.setter=r,this._value=void 0,this.dep=new xs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ln-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return so(this,!0),!0}get value(){const t=this.dep.track();return lo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ou(e,t,r=!1){let i,o;return Z(e)?i=e:(i=e.get,o=e.set),new Tu(i,o,r)}const tr={},lr=new WeakMap;let Yt;function Cu(e,t=!1,r=Yt){if(r){let i=lr.get(r);i||lr.set(r,i=[]),i.push(e)}}function Mu(e,t,r=ge){const{immediate:i,deep:o,once:u,scheduler:f,augmentJob:d,call:p}=r,c=V=>o?V:nt(V)||o===!1||o===0?Et(V,1):Et(V);let g,y,R,I,G=!1,Q=!1;if(Fe(e)?(y=()=>e.value,G=nt(e)):Zt(e)?(y=()=>c(e),G=!0):X(e)?(Q=!0,G=e.some(V=>Zt(V)||nt(V)),y=()=>e.map(V=>{if(Fe(V))return V.value;if(Zt(V))return c(V);if(Z(V))return p?p(V,2):V()})):Z(e)?t?y=p?()=>p(e,2):e:y=()=>{if(R){St();try{R()}finally{At()}}const V=Yt;Yt=g;try{return p?p(e,3,[I]):e(I)}finally{Yt=V}}:y=pt,t&&o){const V=y,de=o===!0?1/0:o;y=()=>Et(V(),de)}const pe=tu(),ne=()=>{g.stop(),pe&&pe.active&&gs(pe.effects,g)};if(u&&t){const V=t;t=(...de)=>{V(...de),ne()}}let ie=Q?new Array(e.length).fill(tr):tr;const ce=V=>{if(!(!(g.flags&1)||!g.dirty&&!V))if(t){const de=g.run();if(o||G||(Q?de.some((Ne,Ae)=>jt(Ne,ie[Ae])):jt(de,ie))){R&&R();const Ne=Yt;Yt=g;try{const Ae=[de,ie===tr?void 0:Q&&ie[0]===tr?[]:ie,I];ie=de,p?p(t,3,Ae):t(...Ae)}finally{Yt=Ne}}}else g.run()};return d&&d(ce),g=new no(y),g.scheduler=f?()=>f(ce,!1):ce,I=V=>Cu(V,!1,g),R=g.onStop=()=>{const V=lr.get(g);if(V){if(p)p(V,4);else for(const de of V)de();lr.delete(g)}},t?i?ce(!0):ie=g.run():f?f(ce.bind(null,!0),!0):g.run(),ne.pause=g.pause.bind(g),ne.resume=g.resume.bind(g),ne.stop=ne,ne}function Et(e,t=1/0,r){if(t<=0||!ve(e)||e.__v_skip||(r=r||new Map,(r.get(e)||0)>=t))return e;if(r.set(e,t),t--,Fe(e))Et(e.value,t,r);else if(X(e))for(let i=0;i<e.length;i++)Et(e[i],t,r);else if(_r(e)||fn(e))e.forEach(i=>{Et(i,t,r)});else if(Yi(e)){for(const i in e)Et(e[i],t,r);for(const i of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,i)&&Et(e[i],t,r)}return e}function kn(e,t,r,i){try{return i?e(...i):e()}catch(o){Er(o,t,r)}}function _t(e,t,r,i){if(Z(e)){const o=kn(e,t,r,i);return o&&Qi(o)&&o.catch(u=>{Er(u,t,r)}),o}if(X(e)){const o=[];for(let u=0;u<e.length;u++)o.push(_t(e[u],t,r,i));return o}}function Er(e,t,r,i=!0){const o=t?t.vnode:null,{errorHandler:u,throwUnhandledErrorInProduction:f}=t&&t.appContext.config||ge;if(t){let d=t.parent;const p=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${r}`;for(;d;){const g=d.ec;if(g){for(let y=0;y<g.length;y++)if(g[y](e,p,c)===!1)return}d=d.parent}if(u){St(),kn(u,null,10,[e,p,c]),At();return}}Pu(e,r,o,i,f)}function Pu(e,t,r,i=!0,o=!1){if(o)throw e;console.error(e)}const Ue=[];let dt=-1;const cn=[];let Ft=null,un=0;const bo=Promise.resolve();let ur=null;function vo(e){const t=ur||bo;return e?t.then(this?e.bind(this):e):t}function Ru(e){let t=dt+1,r=Ue.length;for(;t<r;){const i=t+r>>>1,o=Ue[i],u=Fn(o);u<e||u===e&&o.flags&2?t=i+1:r=i}return t}function Cs(e){if(!(e.flags&1)){const t=Fn(e),r=Ue[Ue.length-1];!r||!(e.flags&2)&&t>=Fn(r)?Ue.push(e):Ue.splice(Ru(t),0,e),e.flags|=1,yo()}}function yo(){ur||(ur=bo.then(Eo))}function Nu(e){X(e)?cn.push(...e):Ft&&e.id===-1?Ft.splice(un+1,0,e):e.flags&1||(cn.push(e),e.flags|=1),yo()}function hi(e,t,r=dt+1){for(;r<Ue.length;r++){const i=Ue[r];if(i&&i.flags&2){if(e&&i.id!==e.uid)continue;Ue.splice(r,1),r--,i.flags&4&&(i.flags&=-2),i(),i.flags&4||(i.flags&=-2)}}}function wo(e){if(cn.length){const t=[...new Set(cn)].sort((r,i)=>Fn(r)-Fn(i));if(cn.length=0,Ft){Ft.push(...t);return}for(Ft=t,un=0;un<Ft.length;un++){const r=Ft[un];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}Ft=null,un=0}}const Fn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Eo(e){try{for(dt=0;dt<Ue.length;dt++){const t=Ue[dt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),kn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;dt<Ue.length;dt++){const t=Ue[dt];t&&(t.flags&=-2)}dt=-1,Ue.length=0,wo(),ur=null,(Ue.length||cn.length)&&Eo()}}let tt=null,xo=null;function ar(e){const t=tt;return tt=e,xo=e&&e.type.__scopeId||null,t}function qu(e,t=tt,r){if(!t||e._n)return e;const i=(...o)=>{i._d&&Si(-1);const u=ar(t);let f;try{f=e(...o)}finally{ar(u),i._d&&Si(1)}return f};return i._n=!0,i._c=!0,i._d=!0,i}function pi(e,t){if(tt===null)return e;const r=Tr(tt),i=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[u,f,d,p=ge]=t[o];u&&(Z(u)&&(u={mounted:u,updated:u}),u.deep&&Et(f),i.push({dir:u,instance:r,value:f,oldValue:void 0,arg:d,modifiers:p}))}return e}function zt(e,t,r,i){const o=e.dirs,u=t&&t.dirs;for(let f=0;f<o.length;f++){const d=o[f];u&&(d.oldValue=u[f].value);let p=d.dir[i];p&&(St(),_t(p,r,8,[e.el,d,e,t]),At())}}function Lu(e,t){if(ke){let r=ke.provides;const i=ke.parent&&ke.parent.provides;i===r&&(r=ke.provides=Object.create(i)),r[e]=t}}function sr(e,t,r=!1){const i=qa();if(i||dn){let o=dn?dn._context.provides:i?i.parent==null||i.ce?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return r&&Z(t)?t.call(i&&i.proxy):t}}const Iu=Symbol.for("v-scx"),Fu=()=>sr(Iu);function Xr(e,t,r){return So(e,t,r)}function So(e,t,r=ge){const{immediate:i,deep:o,flush:u,once:f}=r,d=Re({},r),p=t&&i||!t&&u!=="post";let c;if(jn){if(u==="sync"){const I=Fu();c=I.__watcherHandles||(I.__watcherHandles=[])}else if(!p){const I=()=>{};return I.stop=pt,I.resume=pt,I.pause=pt,I}}const g=ke;d.call=(I,G,Q)=>_t(I,g,G,Q);let y=!1;u==="post"?d.scheduler=I=>{ze(I,g&&g.suspense)}:u!=="sync"&&(y=!0,d.scheduler=(I,G)=>{G?I():Cs(I)}),d.augmentJob=I=>{t&&(I.flags|=4),y&&(I.flags|=2,g&&(I.id=g.uid,I.i=g))};const R=Mu(e,t,d);return jn&&(c?c.push(R):p&&R()),R}function Du(e,t,r){const i=this.proxy,o=Se(e)?e.includes(".")?Ao(i,e):()=>i[e]:e.bind(i,i);let u;Z(t)?u=t:(u=t.handler,r=t);const f=$n(this),d=So(o,u.bind(i),r);return f(),d}function Ao(e,t){const r=t.split(".");return()=>{let i=e;for(let o=0;o<r.length&&i;o++)i=i[r[o]];return i}}const ju=Symbol("_vte"),Uu=e=>e.__isTeleport,ku=Symbol("_leaveCb");function Ms(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ms(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 $u(e,t){return Z(e)?Re({name:e.name},t,{setup:e}):e}function To(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const fr=new WeakMap;function Pn(e,t,r,i,o=!1){if(X(e)){e.forEach((G,Q)=>Pn(G,t&&(X(t)?t[Q]:t),r,i,o));return}if(Rn(i)&&!o){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&Pn(e,t,r,i.component.subTree);return}const u=i.shapeFlag&4?Tr(i.component):i.el,f=o?null:u,{i:d,r:p}=e,c=t&&t.r,g=d.refs===ge?d.refs={}:d.refs,y=d.setupState,R=ue(y),I=y===ge?zi:G=>ae(R,G);if(c!=null&&c!==p){if(mi(t),Se(c))g[c]=null,I(c)&&(y[c]=null);else if(Fe(c)){c.value=null;const G=t;G.k&&(g[G.k]=null)}}if(Z(p))kn(p,d,12,[f,g]);else{const G=Se(p),Q=Fe(p);if(G||Q){const pe=()=>{if(e.f){const ne=G?I(p)?y[p]:g[p]:p.value;if(o)X(ne)&&gs(ne,u);else if(X(ne))ne.includes(u)||ne.push(u);else if(G)g[p]=[u],I(p)&&(y[p]=g[p]);else{const ie=[u];p.value=ie,e.k&&(g[e.k]=ie)}}else G?(g[p]=f,I(p)&&(y[p]=f)):Q&&(p.value=f,e.k&&(g[e.k]=f))};if(f){const ne=()=>{pe(),fr.delete(e)};ne.id=-1,fr.set(e,ne),ze(ne,r)}else mi(e),pe()}}}function mi(e){const t=fr.get(e);t&&(t.flags|=8,fr.delete(e))}vr().requestIdleCallback;vr().cancelIdleCallback;const Rn=e=>!!e.type.__asyncLoader,Oo=e=>e.type.__isKeepAlive;function Hu(e,t){Co(e,"a",t)}function Wu(e,t){Co(e,"da",t)}function Co(e,t,r=ke){const i=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(xr(t,i,r),r){let o=r.parent;for(;o&&o.parent;)Oo(o.parent.vnode)&&Bu(i,t,r,o),o=o.parent}}function Bu(e,t,r,i){const o=xr(t,e,i,!0);Ro(()=>{gs(i[t],o)},r)}function xr(e,t,r=ke,i=!1){if(r){const o=r[e]||(r[e]=[]),u=t.__weh||(t.__weh=(...f)=>{St();const d=$n(r),p=_t(t,r,e,f);return d(),At(),p});return i?o.unshift(u):o.push(u),u}}const Ot=e=>(t,r=ke)=>{(!jn||e==="sp")&&xr(e,(...i)=>t(...i),r)},Vu=Ot("bm"),Mo=Ot("m"),Ku=Ot("bu"),zu=Ot("u"),Po=Ot("bum"),Ro=Ot("um"),Qu=Ot("sp"),Xu=Ot("rtg"),Yu=Ot("rtc");function Gu(e,t=ke){xr("ec",e,t)}const Ju=Symbol.for("v-ndc");function Qt(e,t,r,i){let o;const u=r,f=X(e);if(f||Se(e)){const d=f&&Zt(e);let p=!1,c=!1;d&&(p=!nt(e),c=Tt(e),e=wr(e)),o=new Array(e.length);for(let g=0,y=e.length;g<y;g++)o[g]=t(p?c?pn(ut(e[g])):ut(e[g]):e[g],g,void 0,u)}else if(typeof e=="number"){o=new Array(e);for(let d=0;d<e;d++)o[d]=t(d+1,d,void 0,u)}else if(ve(e))if(e[Symbol.iterator])o=Array.from(e,(d,p)=>t(d,p,void 0,u));else{const d=Object.keys(e);o=new Array(d.length);for(let p=0,c=d.length;p<c;p++){const g=d[p];o[p]=t(e[g],g,p,u)}}else o=[];return o}const us=e=>e?Go(e)?Tr(e):us(e.parent):null,Nn=Re(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=>us(e.parent),$root:e=>us(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>qo(e),$forceUpdate:e=>e.f||(e.f=()=>{Cs(e.update)}),$nextTick:e=>e.n||(e.n=vo.bind(e.proxy)),$watch:e=>Du.bind(e)}),Yr=(e,t)=>e!==ge&&!e.__isScriptSetup&&ae(e,t),Zu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:i,data:o,props:u,accessCache:f,type:d,appContext:p}=e;if(t[0]!=="$"){const R=f[t];if(R!==void 0)switch(R){case 1:return i[t];case 2:return o[t];case 4:return r[t];case 3:return u[t]}else{if(Yr(i,t))return f[t]=1,i[t];if(o!==ge&&ae(o,t))return f[t]=2,o[t];if(ae(u,t))return f[t]=3,u[t];if(r!==ge&&ae(r,t))return f[t]=4,r[t];as&&(f[t]=0)}}const c=Nn[t];let g,y;if(c)return t==="$attrs"&&Ie(e.attrs,"get",""),c(e);if((g=d.__cssModules)&&(g=g[t]))return g;if(r!==ge&&ae(r,t))return f[t]=4,r[t];if(y=p.config.globalProperties,ae(y,t))return y[t]},set({_:e},t,r){const{data:i,setupState:o,ctx:u}=e;return Yr(o,t)?(o[t]=r,!0):i!==ge&&ae(i,t)?(i[t]=r,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(u[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:i,appContext:o,props:u,type:f}},d){let p;return!!(r[d]||e!==ge&&d[0]!=="$"&&ae(e,d)||Yr(t,d)||ae(u,d)||ae(i,d)||ae(Nn,d)||ae(o.config.globalProperties,d)||(p=f.__cssModules)&&p[d])},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:ae(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function _i(e){return X(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let as=!0;function ea(e){const t=qo(e),r=e.proxy,i=e.ctx;as=!1,t.beforeCreate&&gi(t.beforeCreate,e,"bc");const{data:o,computed:u,methods:f,watch:d,provide:p,inject:c,created:g,beforeMount:y,mounted:R,beforeUpdate:I,updated:G,activated:Q,deactivated:pe,beforeDestroy:ne,beforeUnmount:ie,destroyed:ce,unmounted:V,render:de,renderTracked:Ne,renderTriggered:Ae,errorCaptured:qe,serverPrefetch:rt,expose:H,inheritAttrs:C,components:F,directives:B,filters:he}=t;if(c&&ta(c,i,null),f)for(const _e in f){const le=f[_e];Z(le)&&(i[_e]=le.bind(r))}if(o){const _e=o.call(r,r);ve(_e)&&(e.data=As(_e))}if(as=!0,u)for(const _e in u){const le=u[_e],at=Z(le)?le.bind(r,r):Z(le.get)?le.get.bind(r,r):pt,Xe=!Z(le)&&Z(le.set)?le.set.bind(r):pt,Ve=Lt({get:at,set:Xe});Object.defineProperty(i,_e,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:Oe=>Ve.value=Oe})}if(d)for(const _e in d)No(d[_e],i,r,_e);if(p){const _e=Z(p)?p.call(r):p;Reflect.ownKeys(_e).forEach(le=>{Lu(le,_e[le])})}g&&gi(g,e,"c");function me(_e,le){X(le)?le.forEach(at=>_e(at.bind(r))):le&&_e(le.bind(r))}if(me(Vu,y),me(Mo,R),me(Ku,I),me(zu,G),me(Hu,Q),me(Wu,pe),me(Gu,qe),me(Yu,Ne),me(Xu,Ae),me(Po,ie),me(Ro,V),me(Qu,rt),X(H))if(H.length){const _e=e.exposed||(e.exposed={});H.forEach(le=>{Object.defineProperty(_e,le,{get:()=>r[le],set:at=>r[le]=at,enumerable:!0})})}else e.exposed||(e.exposed={});de&&e.render===pt&&(e.render=de),C!=null&&(e.inheritAttrs=C),F&&(e.components=F),B&&(e.directives=B),rt&&To(e)}function ta(e,t,r=pt){X(e)&&(e=fs(e));for(const i in e){const o=e[i];let u;ve(o)?"default"in o?u=sr(o.from||i,o.default,!0):u=sr(o.from||i):u=sr(o),Fe(u)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>u.value,set:f=>u.value=f}):t[i]=u}}function gi(e,t,r){_t(X(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,r)}function No(e,t,r,i){let o=i.includes(".")?Ao(r,i):()=>r[i];if(Se(e)){const u=t[e];Z(u)&&Xr(o,u)}else if(Z(e))Xr(o,e.bind(r));else if(ve(e))if(X(e))e.forEach(u=>No(u,t,r,i));else{const u=Z(e.handler)?e.handler.bind(r):t[e.handler];Z(u)&&Xr(o,u,e)}}function qo(e){const t=e.type,{mixins:r,extends:i}=t,{mixins:o,optionsCache:u,config:{optionMergeStrategies:f}}=e.appContext,d=u.get(t);let p;return d?p=d:!o.length&&!r&&!i?p=t:(p={},o.length&&o.forEach(c=>cr(p,c,f,!0)),cr(p,t,f)),ve(t)&&u.set(t,p),p}function cr(e,t,r,i=!1){const{mixins:o,extends:u}=t;u&&cr(e,u,r,!0),o&&o.forEach(f=>cr(e,f,r,!0));for(const f in t)if(!(i&&f==="expose")){const d=na[f]||r&&r[f];e[f]=d?d(e[f],t[f]):t[f]}return e}const na={data:bi,props:vi,emits:vi,methods:Tn,computed:Tn,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:Tn,directives:Tn,watch:sa,provide:bi,inject:ra};function bi(e,t){return t?e?function(){return Re(Z(e)?e.call(this,this):e,Z(t)?t.call(this,this):t)}:t:e}function ra(e,t){return Tn(fs(e),fs(t))}function fs(e){if(X(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function je(e,t){return e?[...new Set([].concat(e,t))]:t}function Tn(e,t){return e?Re(Object.create(null),e,t):t}function vi(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Re(Object.create(null),_i(e),_i(t??{})):t}function sa(e,t){if(!e)return t;if(!t)return e;const r=Re(Object.create(null),e);for(const i in t)r[i]=je(e[i],t[i]);return r}function Lo(){return{app:null,config:{isNativeTag:zi,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 ia=0;function oa(e,t){return function(i,o=null){Z(i)||(i=Re({},i)),o!=null&&!ve(o)&&(o=null);const u=Lo(),f=new WeakSet,d=[];let p=!1;const c=u.app={_uid:ia++,_component:i,_props:o,_container:null,_context:u,_instance:null,version:Ua,get config(){return u.config},set config(g){},use(g,...y){return f.has(g)||(g&&Z(g.install)?(f.add(g),g.install(c,...y)):Z(g)&&(f.add(g),g(c,...y))),c},mixin(g){return u.mixins.includes(g)||u.mixins.push(g),c},component(g,y){return y?(u.components[g]=y,c):u.components[g]},directive(g,y){return y?(u.directives[g]=y,c):u.directives[g]},mount(g,y,R){if(!p){const I=c._ceVNode||xt(i,o);return I.appContext=u,R===!0?R="svg":R===!1&&(R=void 0),e(I,g,R),p=!0,c._container=g,g.__vue_app__=c,Tr(I.component)}},onUnmount(g){d.push(g)},unmount(){p&&(_t(d,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(g,y){return u.provides[g]=y,c},runWithContext(g){const y=dn;dn=c;try{return g()}finally{dn=y}}};return c}}let dn=null;const la=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ut(t)}Modifiers`]||e[`${en(t)}Modifiers`];function ua(e,t,...r){if(e.isUnmounted)return;const i=e.vnode.props||ge;let o=r;const u=t.startsWith("update:"),f=u&&la(i,t.slice(7));f&&(f.trim&&(o=r.map(g=>Se(g)?g.trim():g)),f.number&&(o=r.map(br)));let d,p=i[d=Br(t)]||i[d=Br(Ut(t))];!p&&u&&(p=i[d=Br(en(t))]),p&&_t(p,e,6,o);const c=i[d+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[d])return;e.emitted[d]=!0,_t(c,e,6,o)}}const aa=new WeakMap;function Io(e,t,r=!1){const i=r?aa:t.emitsCache,o=i.get(e);if(o!==void 0)return o;const u=e.emits;let f={},d=!1;if(!Z(e)){const p=c=>{const g=Io(c,t,!0);g&&(d=!0,Re(f,g))};!r&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}return!u&&!d?(ve(e)&&i.set(e,null),null):(X(u)?u.forEach(p=>f[p]=null):Re(f,u),ve(e)&&i.set(e,f),f)}function Sr(e,t){return!e||!mr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,en(t))||ae(e,t))}function yi(e){const{type:t,vnode:r,proxy:i,withProxy:o,propsOptions:[u],slots:f,attrs:d,emit:p,render:c,renderCache:g,props:y,data:R,setupState:I,ctx:G,inheritAttrs:Q}=e,pe=ar(e);let ne,ie;try{if(r.shapeFlag&4){const V=o||i,de=V;ne=ht(c.call(de,V,g,y,I,R,G)),ie=d}else{const V=t;ne=ht(V.length>1?V(y,{attrs:d,slots:f,emit:p}):V(y,null)),ie=t.props?d:fa(d)}}catch(V){qn.length=0,Er(V,e,1),ne=xt(kt)}let ce=ne;if(ie&&Q!==!1){const V=Object.keys(ie),{shapeFlag:de}=ce;V.length&&de&7&&(u&&V.some(_s)&&(ie=ca(ie,u)),ce=mn(ce,ie,!1,!0))}return r.dirs&&(ce=mn(ce,null,!1,!0),ce.dirs=ce.dirs?ce.dirs.concat(r.dirs):r.dirs),r.transition&&Ms(ce,r.transition),ne=ce,ar(pe),ne}const fa=e=>{let t;for(const r in e)(r==="class"||r==="style"||mr(r))&&((t||(t={}))[r]=e[r]);return t},ca=(e,t)=>{const r={};for(const i in e)(!_s(i)||!(i.slice(9)in t))&&(r[i]=e[i]);return r};function da(e,t,r){const{props:i,children:o,component:u}=e,{props:f,children:d,patchFlag:p}=t,c=u.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&p>=0){if(p&1024)return!0;if(p&16)return i?wi(i,f,c):!!f;if(p&8){const g=t.dynamicProps;for(let y=0;y<g.length;y++){const R=g[y];if(f[R]!==i[R]&&!Sr(c,R))return!0}}}else return(o||d)&&(!d||!d.$stable)?!0:i===f?!1:i?f?wi(i,f,c):!0:!!f;return!1}function wi(e,t,r){const i=Object.keys(t);if(i.length!==Object.keys(e).length)return!0;for(let o=0;o<i.length;o++){const u=i[o];if(t[u]!==e[u]&&!Sr(r,u))return!0}return!1}function ha({vnode:e,parent:t},r){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.el=e.el),i===e)(e=t.vnode).el=r,t=t.parent;else break}}const Fo={},Do=()=>Object.create(Fo),jo=e=>Object.getPrototypeOf(e)===Fo;function pa(e,t,r,i=!1){const o={},u=Do();e.propsDefaults=Object.create(null),Uo(e,t,o,u);for(const f in e.propsOptions[0])f in o||(o[f]=void 0);r?e.props=i?o:yu(o):e.type.props?e.props=o:e.props=u,e.attrs=u}function ma(e,t,r,i){const{props:o,attrs:u,vnode:{patchFlag:f}}=e,d=ue(o),[p]=e.propsOptions;let c=!1;if((i||f>0)&&!(f&16)){if(f&8){const g=e.vnode.dynamicProps;for(let y=0;y<g.length;y++){let R=g[y];if(Sr(e.emitsOptions,R))continue;const I=t[R];if(p)if(ae(u,R))I!==u[R]&&(u[R]=I,c=!0);else{const G=Ut(R);o[G]=cs(p,d,G,I,e,!1)}else I!==u[R]&&(u[R]=I,c=!0)}}}else{Uo(e,t,o,u)&&(c=!0);let g;for(const y in d)(!t||!ae(t,y)&&((g=en(y))===y||!ae(t,g)))&&(p?r&&(r[y]!==void 0||r[g]!==void 0)&&(o[y]=cs(p,d,y,void 0,e,!0)):delete o[y]);if(u!==d)for(const y in u)(!t||!ae(t,y))&&(delete u[y],c=!0)}c&&wt(e.attrs,"set","")}function Uo(e,t,r,i){const[o,u]=e.propsOptions;let f=!1,d;if(t)for(let p in t){if(On(p))continue;const c=t[p];let g;o&&ae(o,g=Ut(p))?!u||!u.includes(g)?r[g]=c:(d||(d={}))[g]=c:Sr(e.emitsOptions,p)||(!(p in i)||c!==i[p])&&(i[p]=c,f=!0)}if(u){const p=ue(r),c=d||ge;for(let g=0;g<u.length;g++){const y=u[g];r[y]=cs(o,p,y,c[y],e,!ae(c,y))}}return f}function cs(e,t,r,i,o,u){const f=e[r];if(f!=null){const d=ae(f,"default");if(d&&i===void 0){const p=f.default;if(f.type!==Function&&!f.skipFactory&&Z(p)){const{propsDefaults:c}=o;if(r in c)i=c[r];else{const g=$n(o);i=c[r]=p.call(null,t),g()}}else i=p;o.ce&&o.ce._setProp(r,i)}f[0]&&(u&&!d?i=!1:f[1]&&(i===""||i===en(r))&&(i=!0))}return i}const _a=new WeakMap;function ko(e,t,r=!1){const i=r?_a:t.propsCache,o=i.get(e);if(o)return o;const u=e.props,f={},d=[];let p=!1;if(!Z(e)){const g=y=>{p=!0;const[R,I]=ko(y,t,!0);Re(f,R),I&&d.push(...I)};!r&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}if(!u&&!p)return ve(e)&&i.set(e,an),an;if(X(u))for(let g=0;g<u.length;g++){const y=Ut(u[g]);Ei(y)&&(f[y]=ge)}else if(u)for(const g in u){const y=Ut(g);if(Ei(y)){const R=u[g],I=f[y]=X(R)||Z(R)?{type:R}:Re({},R),G=I.type;let Q=!1,pe=!0;if(X(G))for(let ne=0;ne<G.length;++ne){const ie=G[ne],ce=Z(ie)&&ie.name;if(ce==="Boolean"){Q=!0;break}else ce==="String"&&(pe=!1)}else Q=Z(G)&&G.name==="Boolean";I[0]=Q,I[1]=pe,(Q||ae(I,"default"))&&d.push(y)}}const c=[f,d];return ve(e)&&i.set(e,c),c}function Ei(e){return e[0]!=="$"&&!On(e)}const Ps=e=>e==="_"||e==="_ctx"||e==="$stable",Rs=e=>X(e)?e.map(ht):[ht(e)],ga=(e,t,r)=>{if(t._n)return t;const i=qu((...o)=>Rs(t(...o)),r);return i._c=!1,i},$o=(e,t,r)=>{const i=e._ctx;for(const o in e){if(Ps(o))continue;const u=e[o];if(Z(u))t[o]=ga(o,u,i);else if(u!=null){const f=Rs(u);t[o]=()=>f}}},Ho=(e,t)=>{const r=Rs(t);e.slots.default=()=>r},Wo=(e,t,r)=>{for(const i in t)(r||!Ps(i))&&(e[i]=t[i])},ba=(e,t,r)=>{const i=e.slots=Do();if(e.vnode.shapeFlag&32){const o=t._;o?(Wo(i,t,r),r&&Ji(i,"_",o,!0)):$o(t,i)}else t&&Ho(e,t)},va=(e,t,r)=>{const{vnode:i,slots:o}=e;let u=!0,f=ge;if(i.shapeFlag&32){const d=t._;d?r&&d===1?u=!1:Wo(o,t,r):(u=!t.$stable,$o(t,o)),f=t}else t&&(Ho(e,t),f={default:1});if(u)for(const d in o)!Ps(d)&&f[d]==null&&delete o[d]},ze=Sa;function ya(e){return wa(e)}function wa(e,t){const r=vr();r.__VUE__=!0;const{insert:i,remove:o,patchProp:u,createElement:f,createText:d,createComment:p,setText:c,setElementText:g,parentNode:y,nextSibling:R,setScopeId:I=pt,insertStaticContent:G}=e,Q=(h,_,w,O=null,x=null,A=null,q=void 0,P=null,M=!!_.dynamicChildren)=>{if(h===_)return;h&&!An(h,_)&&(O=Ct(h),Oe(h,x,A,!0),h=null),_.patchFlag===-2&&(M=!1,_.dynamicChildren=null);const{type:T,ref:W,shapeFlag:L}=_;switch(T){case Ar:pe(h,_,w,O);break;case kt:ne(h,_,w,O);break;case Jr:h==null&&ie(_,w,O,q);break;case Pe:F(h,_,w,O,x,A,q,P,M);break;default:L&1?de(h,_,w,O,x,A,q,P,M):L&6?B(h,_,w,O,x,A,q,P,M):(L&64||L&128)&&T.process(h,_,w,O,x,A,q,P,M,Mt)}W!=null&&x?Pn(W,h&&h.ref,A,_||h,!_):W==null&&h&&h.ref!=null&&Pn(h.ref,null,A,h,!0)},pe=(h,_,w,O)=>{if(h==null)i(_.el=d(_.children),w,O);else{const x=_.el=h.el;_.children!==h.children&&c(x,_.children)}},ne=(h,_,w,O)=>{h==null?i(_.el=p(_.children||""),w,O):_.el=h.el},ie=(h,_,w,O)=>{[h.el,h.anchor]=G(h.children,_,w,O,h.el,h.anchor)},ce=({el:h,anchor:_},w,O)=>{let x;for(;h&&h!==_;)x=R(h),i(h,w,O),h=x;i(_,w,O)},V=({el:h,anchor:_})=>{let w;for(;h&&h!==_;)w=R(h),o(h),h=w;o(_)},de=(h,_,w,O,x,A,q,P,M)=>{if(_.type==="svg"?q="svg":_.type==="math"&&(q="mathml"),h==null)Ne(_,w,O,x,A,q,P,M);else{const T=h.el&&h.el._isVueCE?h.el:null;try{T&&T._beginPatch(),rt(h,_,x,A,q,P,M)}finally{T&&T._endPatch()}}},Ne=(h,_,w,O,x,A,q,P)=>{let M,T;const{props:W,shapeFlag:L,transition:U,dirs:z}=h;if(M=h.el=f(h.type,A,W&&W.is,W),L&8?g(M,h.children):L&16&&qe(h.children,M,null,O,x,Gr(h,A),q,P),z&&zt(h,null,O,"created"),Ae(M,h,h.scopeId,q,O),W){for(const se in W)se!=="value"&&!On(se)&&u(M,se,null,W[se],A,O);"value"in W&&u(M,"value",null,W.value,A),(T=W.onVnodeBeforeMount)&&ct(T,O,h)}z&&zt(h,null,O,"beforeMount");const ee=Ea(x,U);ee&&U.beforeEnter(M),i(M,_,w),((T=W&&W.onVnodeMounted)||ee||z)&&ze(()=>{T&&ct(T,O,h),ee&&U.enter(M),z&&zt(h,null,O,"mounted")},x)},Ae=(h,_,w,O,x)=>{if(w&&I(h,w),O)for(let A=0;A<O.length;A++)I(h,O[A]);if(x){let A=x.subTree;if(_===A||zo(A.type)&&(A.ssContent===_||A.ssFallback===_)){const q=x.vnode;Ae(h,q,q.scopeId,q.slotScopeIds,x.parent)}}},qe=(h,_,w,O,x,A,q,P,M=0)=>{for(let T=M;T<h.length;T++){const W=h[T]=P?Dt(h[T]):ht(h[T]);Q(null,W,_,w,O,x,A,q,P)}},rt=(h,_,w,O,x,A,q)=>{const P=_.el=h.el;let{patchFlag:M,dynamicChildren:T,dirs:W}=_;M|=h.patchFlag&16;const L=h.props||ge,U=_.props||ge;let z;if(w&&Xt(w,!1),(z=U.onVnodeBeforeUpdate)&&ct(z,w,_,h),W&&zt(_,h,w,"beforeUpdate"),w&&Xt(w,!0),(L.innerHTML&&U.innerHTML==null||L.textContent&&U.textContent==null)&&g(P,""),T?H(h.dynamicChildren,T,P,w,O,Gr(_,x),A):q||le(h,_,P,null,w,O,Gr(_,x),A,!1),M>0){if(M&16)C(P,L,U,w,x);else if(M&2&&L.class!==U.class&&u(P,"class",null,U.class,x),M&4&&u(P,"style",L.style,U.style,x),M&8){const ee=_.dynamicProps;for(let se=0;se<ee.length;se++){const oe=ee[se],Ce=L[oe],Me=U[oe];(Me!==Ce||oe==="value")&&u(P,oe,Ce,Me,x,w)}}M&1&&h.children!==_.children&&g(P,_.children)}else!q&&T==null&&C(P,L,U,w,x);((z=U.onVnodeUpdated)||W)&&ze(()=>{z&&ct(z,w,_,h),W&&zt(_,h,w,"updated")},O)},H=(h,_,w,O,x,A,q)=>{for(let P=0;P<_.length;P++){const M=h[P],T=_[P],W=M.el&&(M.type===Pe||!An(M,T)||M.shapeFlag&198)?y(M.el):w;Q(M,T,W,null,O,x,A,q,!0)}},C=(h,_,w,O,x)=>{if(_!==w){if(_!==ge)for(const A in _)!On(A)&&!(A in w)&&u(h,A,_[A],null,x,O);for(const A in w){if(On(A))continue;const q=w[A],P=_[A];q!==P&&A!=="value"&&u(h,A,P,q,x,O)}"value"in w&&u(h,"value",_.value,w.value,x)}},F=(h,_,w,O,x,A,q,P,M)=>{const T=_.el=h?h.el:d(""),W=_.anchor=h?h.anchor:d("");let{patchFlag:L,dynamicChildren:U,slotScopeIds:z}=_;z&&(P=P?P.concat(z):z),h==null?(i(T,w,O),i(W,w,O),qe(_.children||[],w,W,x,A,q,P,M)):L>0&&L&64&&U&&h.dynamicChildren&&h.dynamicChildren.length===U.length?(H(h.dynamicChildren,U,w,x,A,q,P),(_.key!=null||x&&_===x.subTree)&&Bo(h,_,!0)):le(h,_,w,W,x,A,q,P,M)},B=(h,_,w,O,x,A,q,P,M)=>{_.slotScopeIds=P,h==null?_.shapeFlag&512?x.ctx.activate(_,w,O,q,M):he(_,w,O,x,A,q,M):tn(h,_,M)},he=(h,_,w,O,x,A,q)=>{const P=h.component=Na(h,O,x);if(Oo(h)&&(P.ctx.renderer=Mt),La(P,!1,q),P.asyncDep){if(x&&x.registerDep(P,me,q),!h.el){const M=P.subTree=xt(kt);ne(null,M,_,w),h.placeholder=M.el}}else me(P,h,_,w,x,A,q)},tn=(h,_,w)=>{const O=_.component=h.component;if(da(h,_,w))if(O.asyncDep&&!O.asyncResolved){_e(O,_,w);return}else O.next=_,O.update();else _.el=h.el,O.vnode=_},me=(h,_,w,O,x,A,q)=>{const P=()=>{if(h.isMounted){let{next:L,bu:U,u:z,parent:ee,vnode:se}=h;{const Ge=Vo(h);if(Ge){L&&(L.el=se.el,_e(h,L,q)),Ge.asyncDep.then(()=>{h.isUnmounted||P()});return}}let oe=L,Ce;Xt(h,!1),L?(L.el=se.el,_e(h,L,q)):L=se,U&&rr(U),(Ce=L.props&&L.props.onVnodeBeforeUpdate)&&ct(Ce,ee,L,se),Xt(h,!0);const Me=yi(h),Ye=h.subTree;h.subTree=Me,Q(Ye,Me,y(Ye.el),Ct(Ye),h,x,A),L.el=Me.el,oe===null&&ha(h,Me.el),z&&ze(z,x),(Ce=L.props&&L.props.onVnodeUpdated)&&ze(()=>ct(Ce,ee,L,se),x)}else{let L;const{el:U,props:z}=_,{bm:ee,m:se,parent:oe,root:Ce,type:Me}=h,Ye=Rn(_);Xt(h,!1),ee&&rr(ee),!Ye&&(L=z&&z.onVnodeBeforeMount)&&ct(L,oe,_),Xt(h,!0);{Ce.ce&&Ce.ce._def.shadowRoot!==!1&&Ce.ce._injectChildStyle(Me);const Ge=h.subTree=yi(h);Q(null,Ge,w,O,h,x,A),_.el=Ge.el}if(se&&ze(se,x),!Ye&&(L=z&&z.onVnodeMounted)){const Ge=_;ze(()=>ct(L,oe,Ge),x)}(_.shapeFlag&256||oe&&Rn(oe.vnode)&&oe.vnode.shapeFlag&256)&&h.a&&ze(h.a,x),h.isMounted=!0,_=w=O=null}};h.scope.on();const M=h.effect=new no(P);h.scope.off();const T=h.update=M.run.bind(M),W=h.job=M.runIfDirty.bind(M);W.i=h,W.id=h.uid,M.scheduler=()=>Cs(W),Xt(h,!0),T()},_e=(h,_,w)=>{_.component=h;const O=h.vnode.props;h.vnode=_,h.next=null,ma(h,_.props,O,w),va(h,_.children,w),St(),hi(h),At()},le=(h,_,w,O,x,A,q,P,M=!1)=>{const T=h&&h.children,W=h?h.shapeFlag:0,L=_.children,{patchFlag:U,shapeFlag:z}=_;if(U>0){if(U&128){Xe(T,L,w,O,x,A,q,P,M);return}else if(U&256){at(T,L,w,O,x,A,q,P,M);return}}z&8?(W&16&&$t(T,x,A),L!==T&&g(w,L)):W&16?z&16?Xe(T,L,w,O,x,A,q,P,M):$t(T,x,A,!0):(W&8&&g(w,""),z&16&&qe(L,w,O,x,A,q,P,M))},at=(h,_,w,O,x,A,q,P,M)=>{h=h||an,_=_||an;const T=h.length,W=_.length,L=Math.min(T,W);let U;for(U=0;U<L;U++){const z=_[U]=M?Dt(_[U]):ht(_[U]);Q(h[U],z,w,null,x,A,q,P,M)}T>W?$t(h,x,A,!0,!1,L):qe(_,w,O,x,A,q,P,M,L)},Xe=(h,_,w,O,x,A,q,P,M)=>{let T=0;const W=_.length;let L=h.length-1,U=W-1;for(;T<=L&&T<=U;){const z=h[T],ee=_[T]=M?Dt(_[T]):ht(_[T]);if(An(z,ee))Q(z,ee,w,null,x,A,q,P,M);else break;T++}for(;T<=L&&T<=U;){const z=h[L],ee=_[U]=M?Dt(_[U]):ht(_[U]);if(An(z,ee))Q(z,ee,w,null,x,A,q,P,M);else break;L--,U--}if(T>L){if(T<=U){const z=U+1,ee=z<W?_[z].el:O;for(;T<=U;)Q(null,_[T]=M?Dt(_[T]):ht(_[T]),w,ee,x,A,q,P,M),T++}}else if(T>U)for(;T<=L;)Oe(h[T],x,A,!0),T++;else{const z=T,ee=T,se=new Map;for(T=ee;T<=U;T++){const Le=_[T]=M?Dt(_[T]):ht(_[T]);Le.key!=null&&se.set(Le.key,T)}let oe,Ce=0;const Me=U-ee+1;let Ye=!1,Ge=0;const Ht=new Array(Me);for(T=0;T<Me;T++)Ht[T]=0;for(T=z;T<=L;T++){const Le=h[T];if(Ce>=Me){Oe(Le,x,A,!0);continue}let $e;if(Le.key!=null)$e=se.get(Le.key);else for(oe=ee;oe<=U;oe++)if(Ht[oe-ee]===0&&An(Le,_[oe])){$e=oe;break}$e===void 0?Oe(Le,x,A,!0):(Ht[$e-ee]=T+1,$e>=Ge?Ge=$e:Ye=!0,Q(Le,_[$e],w,null,x,A,q,P,M),Ce++)}const Y=Ye?xa(Ht):an;for(oe=Y.length-1,T=Me-1;T>=0;T--){const Le=ee+T,$e=_[Le],bn=_[Le+1],gt=Le+1<W?bn.el||Ko(bn):O;Ht[T]===0?Q(null,$e,w,gt,x,A,q,P,M):Ye&&(oe<0||T!==Y[oe]?Ve($e,w,gt,2):oe--)}}},Ve=(h,_,w,O,x=null)=>{const{el:A,type:q,transition:P,children:M,shapeFlag:T}=h;if(T&6){Ve(h.component.subTree,_,w,O);return}if(T&128){h.suspense.move(_,w,O);return}if(T&64){q.move(h,_,w,Mt);return}if(q===Pe){i(A,_,w);for(let L=0;L<M.length;L++)Ve(M[L],_,w,O);i(h.anchor,_,w);return}if(q===Jr){ce(h,_,w);return}if(O!==2&&T&1&&P)if(O===0)P.beforeEnter(A),i(A,_,w),ze(()=>P.enter(A),x);else{const{leave:L,delayLeave:U,afterLeave:z}=P,ee=()=>{h.ctx.isUnmounted?o(A):i(A,_,w)},se=()=>{A._isLeaving&&A[ku](!0),L(A,()=>{ee(),z&&z()})};U?U(A,ee,se):se()}else i(A,_,w)},Oe=(h,_,w,O=!1,x=!1)=>{const{type:A,props:q,ref:P,children:M,dynamicChildren:T,shapeFlag:W,patchFlag:L,dirs:U,cacheIndex:z}=h;if(L===-2&&(x=!1),P!=null&&(St(),Pn(P,null,w,h,!0),At()),z!=null&&(_.renderCache[z]=void 0),W&256){_.ctx.deactivate(h);return}const ee=W&1&&U,se=!Rn(h);let oe;if(se&&(oe=q&&q.onVnodeBeforeUnmount)&&ct(oe,_,h),W&6)Cr(h.component,w,O);else{if(W&128){h.suspense.unmount(w,O);return}ee&&zt(h,null,_,"beforeUnmount"),W&64?h.type.remove(h,_,w,Mt,O):T&&!T.hasOnce&&(A!==Pe||L>0&&L&64)?$t(T,_,w,!1,!0):(A===Pe&&L&384||!x&&W&16)&&$t(M,_,w),O&&nn(h)}(se&&(oe=q&&q.onVnodeUnmounted)||ee)&&ze(()=>{oe&&ct(oe,_,h),ee&&zt(h,null,_,"unmounted")},w)},nn=h=>{const{type:_,el:w,anchor:O,transition:x}=h;if(_===Pe){Or(w,O);return}if(_===Jr){V(h);return}const A=()=>{o(w),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(h.shapeFlag&1&&x&&!x.persisted){const{leave:q,delayLeave:P}=x,M=()=>q(w,A);P?P(h.el,A,M):M()}else A()},Or=(h,_)=>{let w;for(;h!==_;)w=R(h),o(h),h=w;o(_)},Cr=(h,_,w)=>{const{bum:O,scope:x,job:A,subTree:q,um:P,m:M,a:T}=h;xi(M),xi(T),O&&rr(O),x.stop(),A&&(A.flags|=8,Oe(q,h,_,w)),P&&ze(P,_),ze(()=>{h.isUnmounted=!0},_)},$t=(h,_,w,O=!1,x=!1,A=0)=>{for(let q=A;q<h.length;q++)Oe(h[q],_,w,O,x)},Ct=h=>{if(h.shapeFlag&6)return Ct(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const _=R(h.anchor||h.el),w=_&&_[ju];return w?R(w):_};let rn=!1;const gn=(h,_,w)=>{let O;h==null?_._vnode&&(Oe(_._vnode,null,null,!0),O=_._vnode.component):Q(_._vnode||null,h,_,null,null,null,w),_._vnode=h,rn||(rn=!0,hi(O),wo(),rn=!1)},Mt={p:Q,um:Oe,m:Ve,r:nn,mt:he,mc:qe,pc:le,pbc:H,n:Ct,o:e};return{render:gn,hydrate:void 0,createApp:oa(gn)}}function Gr({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function Xt({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ea(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bo(e,t,r=!1){const i=e.children,o=t.children;if(X(i)&&X(o))for(let u=0;u<i.length;u++){const f=i[u];let d=o[u];d.shapeFlag&1&&!d.dynamicChildren&&((d.patchFlag<=0||d.patchFlag===32)&&(d=o[u]=Dt(o[u]),d.el=f.el),!r&&d.patchFlag!==-2&&Bo(f,d)),d.type===Ar&&(d.patchFlag!==-1?d.el=f.el:d.__elIndex=u+(e.type===Pe?1:0)),d.type===kt&&!d.el&&(d.el=f.el)}}function xa(e){const t=e.slice(),r=[0];let i,o,u,f,d;const p=e.length;for(i=0;i<p;i++){const c=e[i];if(c!==0){if(o=r[r.length-1],e[o]<c){t[i]=o,r.push(i);continue}for(u=0,f=r.length-1;u<f;)d=u+f>>1,e[r[d]]<c?u=d+1:f=d;c<e[r[u]]&&(u>0&&(t[i]=r[u-1]),r[u]=i)}}for(u=r.length,f=r[u-1];u-- >0;)r[u]=f,f=t[f];return r}function Vo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Vo(t)}function xi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ko(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ko(t.subTree):null}const zo=e=>e.__isSuspense;function Sa(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Nu(e)}const Pe=Symbol.for("v-fgt"),Ar=Symbol.for("v-txt"),kt=Symbol.for("v-cmt"),Jr=Symbol.for("v-stc"),qn=[];let Qe=null;function xe(e=!1){qn.push(Qe=e?null:[])}function Aa(){qn.pop(),Qe=qn[qn.length-1]||null}let Dn=1;function Si(e,t=!1){Dn+=e,e<0&&Qe&&t&&(Qe.hasOnce=!0)}function Qo(e){return e.dynamicChildren=Dn>0?Qe||an:null,Aa(),Dn>0&&Qe&&Qe.push(e),e}function Te(e,t,r,i,o,u){return Qo(D(e,t,r,i,o,u,!0))}function Ta(e,t,r,i,o){return Qo(xt(e,t,r,i,o,!0))}function Xo(e){return e?e.__v_isVNode===!0:!1}function An(e,t){return e.type===t.type&&e.key===t.key}const Yo=({key:e})=>e??null,ir=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Fe(e)||Z(e)?{i:tt,r:e,k:t,f:!!r}:e:null);function D(e,t=null,r=null,i=0,o=null,u=e===Pe?0:1,f=!1,d=!1){const p={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yo(t),ref:t&&ir(t),scopeId:xo,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:u,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:tt};return d?(Ns(p,r),u&128&&e.normalize(p)):r&&(p.shapeFlag|=Se(r)?8:16),Dn>0&&!f&&Qe&&(p.patchFlag>0||u&6)&&p.patchFlag!==32&&Qe.push(p),p}const xt=Oa;function Oa(e,t=null,r=null,i=0,o=null,u=!1){if((!e||e===Ju)&&(e=kt),Xo(e)){const d=mn(e,t,!0);return r&&Ns(d,r),Dn>0&&!u&&Qe&&(d.shapeFlag&6?Qe[Qe.indexOf(e)]=d:Qe.push(d)),d.patchFlag=-2,d}if(ja(e)&&(e=e.__vccOpts),t){t=Ca(t);let{class:d,style:p}=t;d&&!Se(d)&&(t.class=et(d)),ve(p)&&(Os(p)&&!X(p)&&(p=Re({},p)),t.style=vs(p))}const f=Se(e)?1:zo(e)?128:Uu(e)?64:ve(e)?4:Z(e)?2:0;return D(e,t,r,i,o,f,u,!0)}function Ca(e){return e?Os(e)||jo(e)?Re({},e):e:null}function mn(e,t,r=!1,i=!1){const{props:o,ref:u,patchFlag:f,children:d,transition:p}=e,c=t?Ma(o||{},t):o,g={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Yo(c),ref:t&&t.ref?r&&u?X(u)?u.concat(ir(t)):[u,ir(t)]:ir(t):u,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:d,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?f===-1?16:f|16:f,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:p,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mn(e.ssContent),ssFallback:e.ssFallback&&mn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return p&&i&&Ms(g,p.clone(g)),g}function ds(e=" ",t=0){return xt(Ar,null,e,t)}function nr(e="",t=!1){return t?(xe(),Ta(kt,null,e)):xt(kt,null,e)}function ht(e){return e==null||typeof e=="boolean"?xt(kt):X(e)?xt(Pe,null,e.slice()):Xo(e)?Dt(e):xt(Ar,null,String(e))}function Dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mn(e)}function Ns(e,t){let r=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(X(t))r=16;else if(typeof t=="object")if(i&65){const o=t.default;o&&(o._c&&(o._d=!1),Ns(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!jo(t)?t._ctx=tt:o===3&&tt&&(tt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Z(t)?(t={default:t,_ctx:tt},r=32):(t=String(t),i&64?(r=16,t=[ds(t)]):r=8);e.children=t,e.shapeFlag|=r}function Ma(...e){const t={};for(let r=0;r<e.length;r++){const i=e[r];for(const o in i)if(o==="class")t.class!==i.class&&(t.class=et([t.class,i.class]));else if(o==="style")t.style=vs([t.style,i.style]);else if(mr(o)){const u=t[o],f=i[o];f&&u!==f&&!(X(u)&&u.includes(f))&&(t[o]=u?[].concat(u,f):f)}else o!==""&&(t[o]=i[o])}return t}function ct(e,t,r,i=null){_t(e,t,7,[r,i])}const Pa=Lo();let Ra=0;function Na(e,t,r){const i=e.type,o=(t?t.appContext:e.appContext)||Pa,u={uid:Ra++,vnode:e,type:i,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new eu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ko(i,o),emitsOptions:Io(i,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:i.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:r,suspenseId:r?r.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 u.ctx={_:u},u.root=t?t.root:u,u.emit=ua.bind(null,u),e.ce&&e.ce(u),u}let ke=null;const qa=()=>ke||tt;let dr,hs;{const e=vr(),t=(r,i)=>{let o;return(o=e[r])||(o=e[r]=[]),o.push(i),u=>{o.length>1?o.forEach(f=>f(u)):o[0](u)}};dr=t("__VUE_INSTANCE_SETTERS__",r=>ke=r),hs=t("__VUE_SSR_SETTERS__",r=>jn=r)}const $n=e=>{const t=ke;return dr(e),e.scope.on(),()=>{e.scope.off(),dr(t)}},Ai=()=>{ke&&ke.scope.off(),dr(null)};function Go(e){return e.vnode.shapeFlag&4}let jn=!1;function La(e,t=!1,r=!1){t&&hs(t);const{props:i,children:o}=e.vnode,u=Go(e);pa(e,i,u,t),ba(e,o,r||t);const f=u?Ia(e,t):void 0;return t&&hs(!1),f}function Ia(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Zu);const{setup:i}=r;if(i){St();const o=e.setupContext=i.length>1?Da(e):null,u=$n(e),f=kn(i,e,0,[e.props,o]),d=Qi(f);if(At(),u(),(d||e.sp)&&!Rn(e)&&To(e),d){if(f.then(Ai,Ai),t)return f.then(p=>{Ti(e,p)}).catch(p=>{Er(p,e,0)});e.asyncDep=f}else Ti(e,f)}else Jo(e)}function Ti(e,t,r){Z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ve(t)&&(e.setupState=go(t)),Jo(e)}function Jo(e,t,r){const i=e.type;e.render||(e.render=i.render||pt);{const o=$n(e);St();try{ea(e)}finally{At(),o()}}}const Fa={get(e,t){return Ie(e,"get",""),e[t]}};function Da(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,Fa),slots:e.slots,emit:e.emit,expose:t}}function Tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(go(wu(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in Nn)return Nn[r](e)},has(t,r){return r in t||r in Nn}})):e.proxy}function ja(e){return Z(e)&&"__vccOpts"in e}const Lt=(e,t)=>Ou(e,t,jn),Ua="3.5.27";let ps;const Oi=typeof window<"u"&&window.trustedTypes;if(Oi)try{ps=Oi.createPolicy("vue",{createHTML:e=>e})}catch{}const Zo=ps?e=>ps.createHTML(e):e=>e,ka="http://www.w3.org/2000/svg",$a="http://www.w3.org/1998/Math/MathML",yt=typeof document<"u"?document:null,Ci=yt&&yt.createElement("template"),Ha={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,i)=>{const o=t==="svg"?yt.createElementNS(ka,e):t==="mathml"?yt.createElementNS($a,e):r?yt.createElement(e,{is:r}):yt.createElement(e);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>yt.createTextNode(e),createComment:e=>yt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>yt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,i,o,u){const f=r?r.previousSibling:t.lastChild;if(o&&(o===u||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===u||!(o=o.nextSibling)););else{Ci.innerHTML=Zo(i==="svg"?`<svg>${e}</svg>`:i==="mathml"?`<math>${e}</math>`:e);const d=Ci.content;if(i==="svg"||i==="mathml"){const p=d.firstChild;for(;p.firstChild;)d.appendChild(p.firstChild);d.removeChild(p)}t.insertBefore(d,r)}return[f?f.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},Wa=Symbol("_vtc");function Ba(e,t,r){const i=e[Wa];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Mi=Symbol("_vod"),Va=Symbol("_vsh"),Ka=Symbol(""),za=/(?:^|;)\s*display\s*:/;function Qa(e,t,r){const i=e.style,o=Se(r);let u=!1;if(r&&!o){if(t)if(Se(t))for(const f of t.split(";")){const d=f.slice(0,f.indexOf(":")).trim();r[d]==null&&or(i,d,"")}else for(const f in t)r[f]==null&&or(i,f,"");for(const f in r)f==="display"&&(u=!0),or(i,f,r[f])}else if(o){if(t!==r){const f=i[Ka];f&&(r+=";"+f),i.cssText=r,u=za.test(r)}}else t&&e.removeAttribute("style");Mi in e&&(e[Mi]=u?i.display:"",e[Va]&&(i.display="none"))}const Pi=/\s*!important$/;function or(e,t,r){if(X(r))r.forEach(i=>or(e,t,i));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const i=Xa(e,t);Pi.test(r)?e.setProperty(en(i),r.replace(Pi,""),"important"):e[i]=r}}const Ri=["Webkit","Moz","ms"],Zr={};function Xa(e,t){const r=Zr[t];if(r)return r;let i=Ut(t);if(i!=="filter"&&i in e)return Zr[t]=i;i=Gi(i);for(let o=0;o<Ri.length;o++){const u=Ri[o]+i;if(u in e)return Zr[t]=u}return t}const Ni="http://www.w3.org/1999/xlink";function qi(e,t,r,i,o,u=Gl(t)){i&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(Ni,t.slice(6,t.length)):e.setAttributeNS(Ni,t,r):r==null||u&&!Zi(r)?e.removeAttribute(t):e.setAttribute(t,u?"":mt(r)?String(r):r)}function Li(e,t,r,i,o){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?Zo(r):r);return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){const d=u==="OPTION"?e.getAttribute("value")||"":e.value,p=r==null?e.type==="checkbox"?"on":"":String(r);(d!==p||!("_value"in e))&&(e.value=p),r==null&&e.removeAttribute(t),e._value=r;return}let f=!1;if(r===""||r==null){const d=typeof e[t];d==="boolean"?r=Zi(r):r==null&&d==="string"?(r="",f=!0):d==="number"&&(r=0,f=!0)}try{e[t]=r}catch{}f&&e.removeAttribute(o||t)}function Gt(e,t,r,i){e.addEventListener(t,r,i)}function Ya(e,t,r,i){e.removeEventListener(t,r,i)}const Ii=Symbol("_vei");function Ga(e,t,r,i,o=null){const u=e[Ii]||(e[Ii]={}),f=u[t];if(i&&f)f.value=i;else{const[d,p]=Ja(t);if(i){const c=u[t]=tf(i,o);Gt(e,d,c,p)}else f&&(Ya(e,d,f,p),u[t]=void 0)}}const Fi=/(?:Once|Passive|Capture)$/;function Ja(e){let t;if(Fi.test(e)){t={};let i;for(;i=e.match(Fi);)e=e.slice(0,e.length-i[0].length),t[i[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):en(e.slice(2)),t]}let es=0;const Za=Promise.resolve(),ef=()=>es||(Za.then(()=>es=0),es=Date.now());function tf(e,t){const r=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=r.attached)return;_t(nf(i,r.value),t,5,[i])};return r.value=e,r.attached=ef(),r}function nf(e,t){if(X(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(i=>o=>!o._stopped&&i&&i(o))}else return t}const Di=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rf=(e,t,r,i,o,u)=>{const f=o==="svg";t==="class"?Ba(e,i,f):t==="style"?Qa(e,r,i):mr(t)?_s(t)||Ga(e,t,r,i,u):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):sf(e,t,i,f))?(Li(e,t,i),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&qi(e,t,i,f,u,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(i))?Li(e,Ut(t),i,u,t):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),qi(e,t,i,f))};function sf(e,t,r,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&Di(t)&&Z(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Di(t)&&Se(r)?!1:t in e}const hr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?r=>rr(t,r):t};function of(e){e.target.composing=!0}function ji(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hn=Symbol("_assign");function Ui(e,t,r){return t&&(e=e.trim()),r&&(e=br(e)),e}const lf={created(e,{modifiers:{lazy:t,trim:r,number:i}},o){e[hn]=hr(o);const u=i||o.props&&o.props.type==="number";Gt(e,t?"change":"input",f=>{f.target.composing||e[hn](Ui(e.value,r,u))}),(r||u)&&Gt(e,"change",()=>{e.value=Ui(e.value,r,u)}),t||(Gt(e,"compositionstart",of),Gt(e,"compositionend",ji),Gt(e,"change",ji))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:i,trim:o,number:u}},f){if(e[hn]=hr(f),e.composing)return;const d=(u||e.type==="number")&&!/^0\d/.test(e.value)?br(e.value):e.value,p=t??"";d!==p&&(document.activeElement===e&&e.type!=="range"&&(i&&t===r||o&&e.value.trim()===p)||(e.value=p))}},uf={deep:!0,created(e,{value:t,modifiers:{number:r}},i){const o=_r(t);Gt(e,"change",()=>{const u=Array.prototype.filter.call(e.options,f=>f.selected).map(f=>r?br(pr(f)):pr(f));e[hn](e.multiple?o?new Set(u):u:u[0]),e._assigning=!0,vo(()=>{e._assigning=!1})}),e[hn]=hr(i)},mounted(e,{value:t}){ki(e,t)},beforeUpdate(e,t,r){e[hn]=hr(r)},updated(e,{value:t}){e._assigning||ki(e,t)}};function ki(e,t){const r=e.multiple,i=X(t);if(!(r&&!i&&!_r(t))){for(let o=0,u=e.options.length;o<u;o++){const f=e.options[o],d=pr(f);if(r)if(i){const p=typeof d;p==="string"||p==="number"?f.selected=t.some(c=>String(c)===String(d)):f.selected=Zl(t,d)>-1}else f.selected=t.has(d);else if(yr(pr(f),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function pr(e){return"_value"in e?e._value:e.value}const af=Re({patchProp:rf},Ha);let $i;function ff(){return $i||($i=ya(af))}const cf=((...e)=>{const t=ff().createApp(...e),{mount:r}=t;return t.mount=i=>{const o=hf(i);if(!o)return;const u=t._component;!Z(u)&&!u.render&&!u.template&&(u.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const f=r(o,!1,df(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),f},t});function df(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function hf(e){return Se(e)?document.querySelector(e):e}function pf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function mf(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function i(){var o=!1;try{o=this instanceof i}catch{}return o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var o=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(r,i,o.get?o:{enumerable:!0,get:function(){return e[i]}})}),r}var ts={exports:{}};const _f={},gf=Object.freeze(Object.defineProperty({__proto__:null,default:_f},Symbol.toStringTag,{value:"Module"})),Hi=mf(gf);var Wi;function bf(){return Wi||(Wi=1,(function(e,t){var r=void 0,i=function(o){return r||(r=new Promise(function(u,f){var d=typeof o<"u"?o:{},p=d.onAbort;d.onAbort=function(n){f(new Error(n)),p&&p(n)},d.postRun=d.postRun||[],d.postRun.push(function(){u(d)}),e=void 0;var c;c||=typeof d<"u"?d:{};var g=typeof window=="object",y=typeof WorkerGlobalScope<"u",R=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&process.type!="renderer";c.onRuntimeInitialized=function(){function n(b,S){switch(typeof S){case"boolean":kl(b,S?1:0);break;case"number":Dl(b,S);break;case"string":jl(b,S,-1,-1);break;case"object":if(S===null)ii(b);else if(S.length!=null){var j=Yn(S,Xn);Ul(b,j,S.length,-1),Gn(j)}else Jn(b,"Wrong API use : tried to return a value of an unknown type ("+S+").",-1);break;default:ii(b)}}function s(b,S){for(var j=[],K=0;K<b;K+=1){var J=h(S+4*K,"i32"),fe=Nl(J);if(fe===1||fe===2)J=Fl(J);else if(fe===3)J=Ll(J);else if(fe===4){fe=J,J=ql(fe),fe=Il(fe);for(var st=new Uint8Array(J),Ze=0;Ze<J;Ze+=1)st[Ze]=H[fe+Ze];J=st}else J=null;j.push(J)}return j}function l(b,S){this.Qa=b,this.db=S,this.Oa=1,this.lb=[]}function a(b,S){if(this.db=S,S=ee(b)+1,this.eb=$r(S),this.eb===null)throw Error("Unable to allocate memory for the SQL string");se(b,C,this.eb,S),this.kb=this.eb,this.Za=this.pb=null}function m(b){if(this.filename="dbfile_"+(4294967295*Math.random()>>>0),b!=null){var S=this.filename,j="/",K=S;if(j&&(j=typeof j=="string"?j:Mr(j),K=S?P(j+"/"+S):j),S=Le(!0,!0),K=ul(K,S),b){if(typeof b=="string"){j=Array(b.length);for(var J=0,fe=b.length;J<fe;++J)j[J]=b.charCodeAt(J);b=j}Vn(K,S|146),j=on(K,577),Xs(j,b,0,b.length,0),Ir(j),Vn(K,S)}}this.handleError($(this.filename,v)),this.db=h(v,"i32"),li(this.db),this.fb={},this.Sa={}}var v=qt(4),E=c.cwrap,$=E("sqlite3_open","number",["string","number"]),re=E("sqlite3_close_v2","number",["number"]),te=E("sqlite3_exec","number",["number","string","number","number","number"]),we=E("sqlite3_changes","number",["number"]),We=E("sqlite3_prepare_v2","number",["number","string","number","number","number"]),ei=E("sqlite3_sql","string",["number"]),ml=E("sqlite3_normalized_sql","string",["number"]),ti=E("sqlite3_prepare_v2","number",["number","number","number","number","number"]),_l=E("sqlite3_bind_text","number",["number","number","number","number","number"]),ni=E("sqlite3_bind_blob","number",["number","number","number","number","number"]),gl=E("sqlite3_bind_double","number",["number","number","number"]),bl=E("sqlite3_bind_int","number",["number","number","number"]),vl=E("sqlite3_bind_parameter_index","number",["number","string"]),yl=E("sqlite3_step","number",["number"]),wl=E("sqlite3_errmsg","string",["number"]),El=E("sqlite3_column_count","number",["number"]),xl=E("sqlite3_data_count","number",["number"]),Sl=E("sqlite3_column_double","number",["number","number"]),ri=E("sqlite3_column_text","string",["number","number"]),Al=E("sqlite3_column_blob","number",["number","number"]),Tl=E("sqlite3_column_bytes","number",["number","number"]),Ol=E("sqlite3_column_type","number",["number","number"]),Cl=E("sqlite3_column_name","string",["number","number"]),Ml=E("sqlite3_reset","number",["number"]),Pl=E("sqlite3_clear_bindings","number",["number"]),Rl=E("sqlite3_finalize","number",["number"]),si=E("sqlite3_create_function_v2","number","number string number number number number number number number".split(" ")),Nl=E("sqlite3_value_type","number",["number"]),ql=E("sqlite3_value_bytes","number",["number"]),Ll=E("sqlite3_value_text","string",["number"]),Il=E("sqlite3_value_blob","number",["number"]),Fl=E("sqlite3_value_double","number",["number"]),Dl=E("sqlite3_result_double","",["number","number"]),ii=E("sqlite3_result_null","",["number"]),jl=E("sqlite3_result_text","",["number","string","number","number"]),Ul=E("sqlite3_result_blob","",["number","number","number","number"]),kl=E("sqlite3_result_int","",["number","number"]),Jn=E("sqlite3_result_error","",["number","string","number"]),oi=E("sqlite3_aggregate_context","number",["number","number"]),li=E("RegisterExtensionFunctions","number",["number"]),ui=E("sqlite3_update_hook","number",["number","number","number"]);l.prototype.bind=function(b){if(!this.Qa)throw"Statement closed";return this.reset(),Array.isArray(b)?this.Cb(b):b!=null&&typeof b=="object"?this.Db(b):!0},l.prototype.step=function(){if(!this.Qa)throw"Statement closed";this.Oa=1;var b=yl(this.Qa);switch(b){case 100:return!0;case 101:return!1;default:throw this.db.handleError(b)}},l.prototype.wb=function(b){return b==null&&(b=this.Oa,this.Oa+=1),Sl(this.Qa,b)},l.prototype.Gb=function(b){if(b==null&&(b=this.Oa,this.Oa+=1),b=ri(this.Qa,b),typeof BigInt!="function")throw Error("BigInt is not supported");return BigInt(b)},l.prototype.Hb=function(b){return b==null&&(b=this.Oa,this.Oa+=1),ri(this.Qa,b)},l.prototype.getBlob=function(b){b==null&&(b=this.Oa,this.Oa+=1);var S=Tl(this.Qa,b);b=Al(this.Qa,b);for(var j=new Uint8Array(S),K=0;K<S;K+=1)j[K]=H[b+K];return j},l.prototype.get=function(b,S){S=S||{},b!=null&&this.bind(b)&&this.step(),b=[];for(var j=xl(this.Qa),K=0;K<j;K+=1)switch(Ol(this.Qa,K)){case 1:var J=S.useBigInt?this.Gb(K):this.wb(K);b.push(J);break;case 2:b.push(this.wb(K));break;case 3:b.push(this.Hb(K));break;case 4:b.push(this.getBlob(K));break;default:b.push(null)}return b},l.prototype.getColumnNames=function(){for(var b=[],S=El(this.Qa),j=0;j<S;j+=1)b.push(Cl(this.Qa,j));return b},l.prototype.getAsObject=function(b,S){b=this.get(b,S),S=this.getColumnNames();for(var j={},K=0;K<S.length;K+=1)j[S[K]]=b[K];return j},l.prototype.getSQL=function(){return ei(this.Qa)},l.prototype.getNormalizedSQL=function(){return ml(this.Qa)},l.prototype.run=function(b){return b!=null&&this.bind(b),this.step(),this.reset()},l.prototype.sb=function(b,S){S==null&&(S=this.Oa,this.Oa+=1),b=oe(b);var j=Yn(b,Xn);this.lb.push(j),this.db.handleError(_l(this.Qa,S,j,b.length-1,0))},l.prototype.Bb=function(b,S){S==null&&(S=this.Oa,this.Oa+=1);var j=Yn(b,Xn);this.lb.push(j),this.db.handleError(ni(this.Qa,S,j,b.length,0))},l.prototype.rb=function(b,S){S==null&&(S=this.Oa,this.Oa+=1),this.db.handleError((b===(b|0)?bl:gl)(this.Qa,S,b))},l.prototype.Eb=function(b){b==null&&(b=this.Oa,this.Oa+=1),ni(this.Qa,b,0,0,0)},l.prototype.tb=function(b,S){switch(S==null&&(S=this.Oa,this.Oa+=1),typeof b){case"string":this.sb(b,S);return;case"number":this.rb(b,S);return;case"bigint":this.sb(b.toString(),S);return;case"boolean":this.rb(b+0,S);return;case"object":if(b===null){this.Eb(S);return}if(b.length!=null){this.Bb(b,S);return}}throw"Wrong API use : tried to bind a value of an unknown type ("+b+")."},l.prototype.Db=function(b){var S=this;return Object.keys(b).forEach(function(j){var K=vl(S.Qa,j);K!==0&&S.tb(b[j],K)}),!0},l.prototype.Cb=function(b){for(var S=0;S<b.length;S+=1)this.tb(b[S],S+1);return!0},l.prototype.reset=function(){return this.freemem(),Pl(this.Qa)===0&&Ml(this.Qa)===0},l.prototype.freemem=function(){for(var b;(b=this.lb.pop())!==void 0;)Gn(b)},l.prototype.free=function(){this.freemem();var b=Rl(this.Qa)===0;return delete this.db.fb[this.Qa],this.Qa=0,b},a.prototype.next=function(){if(this.eb===null)return{done:!0};if(this.Za!==null&&(this.Za.free(),this.Za=null),!this.db.db)throw this.mb(),Error("Database closed");var b=xn(),S=qt(4);w(v),w(S);try{this.db.handleError(ti(this.db.db,this.kb,-1,v,S)),this.kb=h(S,"i32");var j=h(v,"i32");return j===0?(this.mb(),{done:!0}):(this.Za=new l(j,this.db),this.db.fb[j]=this.Za,{value:this.Za,done:!1})}catch(K){throw this.pb=A(this.kb),this.mb(),K}finally{En(b)}},a.prototype.mb=function(){Gn(this.eb),this.eb=null},a.prototype.getRemainingSQL=function(){return this.pb!==null?this.pb:A(this.kb)},typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"&&(a.prototype[Symbol.iterator]=function(){return this}),m.prototype.run=function(b,S){if(!this.db)throw"Database closed";if(S){b=this.prepare(b,S);try{b.step()}finally{b.free()}}else this.handleError(te(this.db,b,0,0,v));return this},m.prototype.exec=function(b,S,j){if(!this.db)throw"Database closed";var K=xn(),J=null;try{var fe=Ur(b),st=qt(4);for(b=[];h(fe,"i8")!==0;){w(v),w(st),this.handleError(ti(this.db,fe,-1,v,st));var Ze=h(v,"i32");if(fe=h(st,"i32"),Ze!==0){var Ke=null;for(J=new l(Ze,this),S!=null&&J.bind(S);J.step();)Ke===null&&(Ke={columns:J.getColumnNames(),values:[]},b.push(Ke)),Ke.values.push(J.get(null,j));J.free()}}return b}catch(it){throw J&&J.free(),it}finally{En(K)}},m.prototype.each=function(b,S,j,K,J){typeof S=="function"&&(K=j,j=S,S=void 0),b=this.prepare(b,S);try{for(;b.step();)j(b.getAsObject(null,J))}finally{b.free()}if(typeof K=="function")return K()},m.prototype.prepare=function(b,S){if(w(v),this.handleError(We(this.db,b,-1,v,0)),b=h(v,"i32"),b===0)throw"Nothing to prepare";var j=new l(b,this);return S!=null&&j.bind(S),this.fb[b]=j},m.prototype.iterateStatements=function(b){return new a(b,this)},m.prototype.export=function(){Object.values(this.fb).forEach(function(S){S.free()}),Object.values(this.Sa).forEach(Nt),this.Sa={},this.handleError(re(this.db));var b=al(this.filename);return this.handleError($(this.filename,v)),this.db=h(v,"i32"),li(this.db),b},m.prototype.close=function(){this.db!==null&&(Object.values(this.fb).forEach(function(b){b.free()}),Object.values(this.Sa).forEach(Nt),this.Sa={},this.Ya&&(Nt(this.Ya),this.Ya=void 0),this.handleError(re(this.db)),Bs("/"+this.filename),this.db=null)},m.prototype.handleError=function(b){if(b===0)return null;throw b=wl(this.db),Error(b)},m.prototype.getRowsModified=function(){return we(this.db)},m.prototype.create_function=function(b,S){Object.prototype.hasOwnProperty.call(this.Sa,b)&&(Nt(this.Sa[b]),delete this.Sa[b]);var j=wn(function(K,J,fe){J=s(J,fe);try{var st=S.apply(null,J)}catch(Ze){Jn(K,Ze,-1);return}n(K,st)},"viii");return this.Sa[b]=j,this.handleError(si(this.db,b,S.length,1,0,j,0,0,0)),this},m.prototype.create_aggregate=function(b,S){var j=S.init||function(){return null},K=S.finalize||function(Ke){return Ke},J=S.step;if(!J)throw"An aggregate function must have a step function in "+b;var fe={};Object.hasOwnProperty.call(this.Sa,b)&&(Nt(this.Sa[b]),delete this.Sa[b]),S=b+"__finalize",Object.hasOwnProperty.call(this.Sa,S)&&(Nt(this.Sa[S]),delete this.Sa[S]);var st=wn(function(Ke,it,Wr){var Kt=oi(Ke,1);Object.hasOwnProperty.call(fe,Kt)||(fe[Kt]=j()),it=s(it,Wr),it=[fe[Kt]].concat(it);try{fe[Kt]=J.apply(null,it)}catch($l){delete fe[Kt],Jn(Ke,$l,-1)}},"viii"),Ze=wn(function(Ke){var it=oi(Ke,1);try{var Wr=K(fe[it])}catch(Kt){delete fe[it],Jn(Ke,Kt,-1);return}n(Ke,Wr),delete fe[it]},"vi");return this.Sa[b]=st,this.Sa[S]=Ze,this.handleError(si(this.db,b,J.length-1,1,0,0,st,Ze,0)),this},m.prototype.updateHook=function(b){this.Ya&&(ui(this.db,0,0),Nt(this.Ya),this.Ya=void 0),b&&(this.Ya=wn(function(S,j,K,J,fe){switch(j){case 18:S="insert";break;case 23:S="update";break;case 9:S="delete";break;default:throw"unknown operationCode in updateHook callback: "+j}if(K=K?x(C,K):"",J=J?x(C,J):"",fe>Number.MAX_SAFE_INTEGER)throw"rowId too big to fit inside a Number";b(S,K,J,Number(fe))},"viiiij"),ui(this.db,this.Ya,0))},c.Database=m};var I={...c},G="./this.program",Q=(n,s)=>{throw s},pe="",ne,ie;if(R){var ce=Hi;pe=__dirname+"/",ie=n=>(n=le(n)?new URL(n):n,ce.readFileSync(n)),ne=async n=>(n=le(n)?new URL(n):n,ce.readFileSync(n,void 0)),!c.thisProgram&&1<process.argv.length&&(G=process.argv[1].replace(/\\/g,"/")),process.argv.slice(2),e.exports=c,Q=(n,s)=>{throw process.exitCode=n,s}}else(g||y)&&(y?pe=self.location.href:typeof document<"u"&&document.currentScript&&(pe=document.currentScript.src),pe=pe.startsWith("blob:")?"":pe.slice(0,pe.replace(/[?#].*/,"").lastIndexOf("/")+1),y&&(ie=n=>{var s=new XMLHttpRequest;return s.open("GET",n,!1),s.responseType="arraybuffer",s.send(null),new Uint8Array(s.response)}),ne=async n=>{if(le(n))return new Promise((l,a)=>{var m=new XMLHttpRequest;m.open("GET",n,!0),m.responseType="arraybuffer",m.onload=()=>{m.status==200||m.status==0&&m.response?l(m.response):a(m.status)},m.onerror=a,m.send(null)});var s=await fetch(n,{credentials:"same-origin"});if(s.ok)return s.arrayBuffer();throw Error(s.status+" : "+s.url)});var V=c.print||console.log.bind(console),de=c.printErr||console.error.bind(console);Object.assign(c,I),I=null,c.thisProgram&&(G=c.thisProgram);var Ne=c.wasmBinary,Ae,qe=!1,rt,H,C,F,B,he,tn,me,_e,le=n=>n.startsWith("file://");function at(){var n=Ae.buffer;c.HEAP8=H=new Int8Array(n),c.HEAP16=F=new Int16Array(n),c.HEAPU8=C=new Uint8Array(n),c.HEAPU16=new Uint16Array(n),c.HEAP32=B=new Int32Array(n),c.HEAPU32=he=new Uint32Array(n),c.HEAPF32=tn=new Float32Array(n),c.HEAPF64=_e=new Float64Array(n),c.HEAP64=me=new BigInt64Array(n),c.HEAPU64=new BigUint64Array(n)}var Xe=0,Ve=null;function Oe(n){throw c.onAbort?.(n),n="Aborted("+n+")",de(n),qe=!0,new WebAssembly.RuntimeError(n+". Build with -sASSERTIONS for more info.")}var nn;async function Or(n){if(!Ne)try{var s=await ne(n);return new Uint8Array(s)}catch{}if(n==nn&&Ne)n=new Uint8Array(Ne);else if(ie)n=ie(n);else throw"both async and sync fetching of the wasm failed";return n}async function Cr(n,s){try{var l=await Or(n);return await WebAssembly.instantiate(l,s)}catch(a){de(`failed to asynchronously prepare wasm: ${a}`),Oe(a)}}async function $t(n){var s=nn;if(!Ne&&typeof WebAssembly.instantiateStreaming=="function"&&!le(s)&&!R)try{var l=fetch(s,{credentials:"same-origin"});return await WebAssembly.instantiateStreaming(l,n)}catch(a){de(`wasm streaming compile failed: ${a}`),de("falling back to ArrayBuffer instantiation")}return Cr(s,n)}class Ct{name="ExitStatus";constructor(s){this.message=`Program terminated with exit(${s})`,this.status=s}}var rn=n=>{for(;0<n.length;)n.shift()(c)},gn=[],Mt=[],qs=()=>{var n=c.preRun.shift();Mt.unshift(n)};function h(n,s="i8"){switch(s.endsWith("*")&&(s="*"),s){case"i1":return H[n];case"i8":return H[n];case"i16":return F[n>>1];case"i32":return B[n>>2];case"i64":return me[n>>3];case"float":return tn[n>>2];case"double":return _e[n>>3];case"*":return he[n>>2];default:Oe(`invalid type for getValue: ${s}`)}}var _=c.noExitRuntime||!0;function w(n){var s="i32";switch(s.endsWith("*")&&(s="*"),s){case"i1":H[n]=0;break;case"i8":H[n]=0;break;case"i16":F[n>>1]=0;break;case"i32":B[n>>2]=0;break;case"i64":me[n>>3]=BigInt(0);break;case"float":tn[n>>2]=0;break;case"double":_e[n>>3]=0;break;case"*":he[n>>2]=0;break;default:Oe(`invalid type for setValue: ${s}`)}}var O=typeof TextDecoder<"u"?new TextDecoder:void 0,x=(n,s=0,l=NaN)=>{var a=s+l;for(l=s;n[l]&&!(l>=a);)++l;if(16<l-s&&n.buffer&&O)return O.decode(n.subarray(s,l));for(a="";s<l;){var m=n[s++];if(m&128){var v=n[s++]&63;if((m&224)==192)a+=String.fromCharCode((m&31)<<6|v);else{var E=n[s++]&63;m=(m&240)==224?(m&15)<<12|v<<6|E:(m&7)<<18|v<<12|E<<6|n[s++]&63,65536>m?a+=String.fromCharCode(m):(m-=65536,a+=String.fromCharCode(55296|m>>10,56320|m&1023))}}else a+=String.fromCharCode(m)}return a},A=(n,s)=>n?x(C,n,s):"",q=(n,s)=>{for(var l=0,a=n.length-1;0<=a;a--){var m=n[a];m==="."?n.splice(a,1):m===".."?(n.splice(a,1),l++):l&&(n.splice(a,1),l--)}if(s)for(;l;l--)n.unshift("..");return n},P=n=>{var s=n.charAt(0)==="/",l=n.slice(-1)==="/";return(n=q(n.split("/").filter(a=>!!a),!s).join("/"))||s||(n="."),n&&l&&(n+="/"),(s?"/":"")+n},M=n=>{var s=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(n).slice(1);return n=s[0],s=s[1],!n&&!s?".":(s&&=s.slice(0,-1),n+s)},T=n=>n&&n.match(/([^\/]+|\/)\/*$/)[1],W=()=>{if(R){var n=Hi;return s=>n.randomFillSync(s)}return s=>crypto.getRandomValues(s)},L=n=>{(L=W())(n)},U=(...n)=>{for(var s="",l=!1,a=n.length-1;-1<=a&&!l;a--){if(l=0<=a?n[a]:"/",typeof l!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!l)return"";s=l+"/"+s,l=l.charAt(0)==="/"}return s=q(s.split("/").filter(m=>!!m),!l).join("/"),(l?"/":"")+s||"."},z=[],ee=n=>{for(var s=0,l=0;l<n.length;++l){var a=n.charCodeAt(l);127>=a?s++:2047>=a?s+=2:55296<=a&&57343>=a?(s+=4,++l):s+=3}return s},se=(n,s,l,a)=>{if(!(0<a))return 0;var m=l;a=l+a-1;for(var v=0;v<n.length;++v){var E=n.charCodeAt(v);if(55296<=E&&57343>=E){var $=n.charCodeAt(++v);E=65536+((E&1023)<<10)|$&1023}if(127>=E){if(l>=a)break;s[l++]=E}else{if(2047>=E){if(l+1>=a)break;s[l++]=192|E>>6}else{if(65535>=E){if(l+2>=a)break;s[l++]=224|E>>12}else{if(l+3>=a)break;s[l++]=240|E>>18,s[l++]=128|E>>12&63}s[l++]=128|E>>6&63}s[l++]=128|E&63}}return s[l]=0,l-m},oe=(n,s)=>{var l=Array(ee(n)+1);return n=se(n,l,0,l.length),s&&(l.length=n),l},Ce=[];function Me(n,s){Ce[n]={input:[],output:[],cb:s},qr(n,Ye)}var Ye={open(n){var s=Ce[n.node.rdev];if(!s)throw new N(43);n.tty=s,n.seekable=!1},close(n){n.tty.cb.fsync(n.tty)},fsync(n){n.tty.cb.fsync(n.tty)},read(n,s,l,a){if(!n.tty||!n.tty.cb.xb)throw new N(60);for(var m=0,v=0;v<a;v++){try{var E=n.tty.cb.xb(n.tty)}catch{throw new N(29)}if(E===void 0&&m===0)throw new N(6);if(E==null)break;m++,s[l+v]=E}return m&&(n.node.atime=Date.now()),m},write(n,s,l,a){if(!n.tty||!n.tty.cb.qb)throw new N(60);try{for(var m=0;m<a;m++)n.tty.cb.qb(n.tty,s[l+m])}catch{throw new N(29)}return a&&(n.node.mtime=n.node.ctime=Date.now()),m}},Ge={xb(){e:{if(!z.length){var n=null;if(R){var s=Buffer.alloc(256),l=0,a=process.stdin.fd;try{l=ce.readSync(a,s,0,256)}catch(m){if(m.toString().includes("EOF"))l=0;else throw m}0<l&&(n=s.slice(0,l).toString("utf-8"))}else typeof window<"u"&&typeof window.prompt=="function"&&(n=window.prompt("Input: "),n!==null&&(n+=`
`));if(!n){n=null;break e}z=oe(n,!0)}n=z.shift()}return n},qb(n,s){s===null||s===10?(V(x(n.output)),n.output=[]):s!=0&&n.output.push(s)},fsync(n){0<n.output?.length&&(V(x(n.output)),n.output=[])},Tb(){return{Ob:25856,Qb:5,Nb:191,Pb:35387,Mb:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},Ub(){return 0},Vb(){return[24,80]}},Ht={qb(n,s){s===null||s===10?(de(x(n.output)),n.output=[]):s!=0&&n.output.push(s)},fsync(n){0<n.output?.length&&(de(x(n.output)),n.output=[])}},Y={Wa:null,Xa(){return Y.createNode(null,"/",16895,0)},createNode(n,s,l,a){if((l&61440)===24576||(l&61440)===4096)throw new N(63);return Y.Wa||(Y.Wa={dir:{node:{Ta:Y.La.Ta,Ua:Y.La.Ua,lookup:Y.La.lookup,hb:Y.La.hb,rename:Y.La.rename,unlink:Y.La.unlink,rmdir:Y.La.rmdir,readdir:Y.La.readdir,symlink:Y.La.symlink},stream:{Va:Y.Ma.Va}},file:{node:{Ta:Y.La.Ta,Ua:Y.La.Ua},stream:{Va:Y.Ma.Va,read:Y.Ma.read,write:Y.Ma.write,ib:Y.Ma.ib,jb:Y.Ma.jb}},link:{node:{Ta:Y.La.Ta,Ua:Y.La.Ua,readlink:Y.La.readlink},stream:{}},ub:{node:{Ta:Y.La.Ta,Ua:Y.La.Ua},stream:ll}}),l=Ds(n,s,l,a),He(l.mode)?(l.La=Y.Wa.dir.node,l.Ma=Y.Wa.dir.stream,l.Na={}):(l.mode&61440)===32768?(l.La=Y.Wa.file.node,l.Ma=Y.Wa.file.stream,l.Ra=0,l.Na=null):(l.mode&61440)===40960?(l.La=Y.Wa.link.node,l.Ma=Y.Wa.link.stream):(l.mode&61440)===8192&&(l.La=Y.Wa.ub.node,l.Ma=Y.Wa.ub.stream),l.atime=l.mtime=l.ctime=Date.now(),n&&(n.Na[s]=l,n.atime=n.mtime=n.ctime=l.atime),l},Sb(n){return n.Na?n.Na.subarray?n.Na.subarray(0,n.Ra):new Uint8Array(n.Na):new Uint8Array(0)},La:{Ta(n){var s={};return s.dev=(n.mode&61440)===8192?n.id:1,s.ino=n.id,s.mode=n.mode,s.nlink=1,s.uid=0,s.gid=0,s.rdev=n.rdev,He(n.mode)?s.size=4096:(n.mode&61440)===32768?s.size=n.Ra:(n.mode&61440)===40960?s.size=n.link.length:s.size=0,s.atime=new Date(n.atime),s.mtime=new Date(n.mtime),s.ctime=new Date(n.ctime),s.blksize=4096,s.blocks=Math.ceil(s.size/s.blksize),s},Ua(n,s){for(var l of["mode","atime","mtime","ctime"])s[l]!=null&&(n[l]=s[l]);s.size!==void 0&&(s=s.size,n.Ra!=s&&(s==0?(n.Na=null,n.Ra=0):(l=n.Na,n.Na=new Uint8Array(s),l&&n.Na.set(l.subarray(0,Math.min(s,n.Ra))),n.Ra=s)))},lookup(){throw Y.vb},hb(n,s,l,a){return Y.createNode(n,s,l,a)},rename(n,s,l){try{var a=Wt(s,l)}catch{}if(a){if(He(n.mode))for(var m in a.Na)throw new N(55);Rr(a)}delete n.parent.Na[n.name],s.Na[l]=n,n.name=l,s.ctime=s.mtime=n.parent.ctime=n.parent.mtime=Date.now()},unlink(n,s){delete n.Na[s],n.ctime=n.mtime=Date.now()},rmdir(n,s){var l=Wt(n,s),a;for(a in l.Na)throw new N(55);delete n.Na[s],n.ctime=n.mtime=Date.now()},readdir(n){return[".","..",...Object.keys(n.Na)]},symlink(n,s,l){return n=Y.createNode(n,s,41471,0),n.link=l,n},readlink(n){if((n.mode&61440)!==40960)throw new N(28);return n.link}},Ma:{read(n,s,l,a,m){var v=n.node.Na;if(m>=n.node.Ra)return 0;if(n=Math.min(n.node.Ra-m,a),8<n&&v.subarray)s.set(v.subarray(m,m+n),l);else for(a=0;a<n;a++)s[l+a]=v[m+a];return n},write(n,s,l,a,m,v){if(s.buffer===H.buffer&&(v=!1),!a)return 0;if(n=n.node,n.mtime=n.ctime=Date.now(),s.subarray&&(!n.Na||n.Na.subarray)){if(v)return n.Na=s.subarray(l,l+a),n.Ra=a;if(n.Ra===0&&m===0)return n.Na=s.slice(l,l+a),n.Ra=a;if(m+a<=n.Ra)return n.Na.set(s.subarray(l,l+a),m),a}v=m+a;var E=n.Na?n.Na.length:0;if(E>=v||(v=Math.max(v,E*(1048576>E?2:1.125)>>>0),E!=0&&(v=Math.max(v,256)),E=n.Na,n.Na=new Uint8Array(v),0<n.Ra&&n.Na.set(E.subarray(0,n.Ra),0)),n.Na.subarray&&s.subarray)n.Na.set(s.subarray(l,l+a),m);else for(v=0;v<a;v++)n.Na[m+v]=s[l+v];return n.Ra=Math.max(n.Ra,m+a),a},Va(n,s,l){if(l===1?s+=n.position:l===2&&(n.node.mode&61440)===32768&&(s+=n.node.Ra),0>s)throw new N(28);return s},ib(n,s,l,a,m){if((n.node.mode&61440)!==32768)throw new N(43);if(n=n.node.Na,m&2||!n||n.buffer!==H.buffer){m=!0,a=65536*Math.ceil(s/65536);var v=Js(65536,a);if(v&&C.fill(0,v,v+a),a=v,!a)throw new N(48);n&&((0<l||l+s<n.length)&&(n.subarray?n=n.subarray(l,l+s):n=Array.prototype.slice.call(n,l,l+s)),H.set(n,a))}else m=!1,a=n.byteOffset;return{Kb:a,Ab:m}},jb(n,s,l,a){return Y.Ma.write(n,s,0,a,l,!1),0}}},Le=(n,s)=>{var l=0;return n&&(l|=365),s&&(l|=146),l},$e=null,bn={},gt=[],rl=1,Pt=null,Ls=!1,Is=!0,Fs={},N=class{name="ErrnoError";constructor(n){this.Pa=n}},sl=class{gb={};node=null;get flags(){return this.gb.flags}set flags(n){this.gb.flags=n}get position(){return this.gb.position}set position(n){this.gb.position=n}},il=class{La={};Ma={};ab=null;constructor(n,s,l,a){n||=this,this.parent=n,this.Xa=n.Xa,this.id=rl++,this.name=s,this.mode=l,this.rdev=a,this.atime=this.mtime=this.ctime=Date.now()}get read(){return(this.mode&365)===365}set read(n){n?this.mode|=365:this.mode&=-366}get write(){return(this.mode&146)===146}set write(n){n?this.mode|=146:this.mode&=-147}};function Je(n,s={}){if(!n)throw new N(44);s.nb??(s.nb=!0),n.charAt(0)==="/"||(n="//"+n);var l=0;e:for(;40>l;l++){n=n.split("/").filter($=>!!$);for(var a=$e,m="/",v=0;v<n.length;v++){var E=v===n.length-1;if(E&&s.parent)break;if(n[v]!==".")if(n[v]==="..")m=M(m),a=a.parent;else{m=P(m+"/"+n[v]);try{a=Wt(a,n[v])}catch($){if($?.Pa===44&&E&&s.Jb)return{path:m};throw $}if(!a.ab||E&&!s.nb||(a=a.ab.root),(a.mode&61440)===40960&&(!E||s.$a)){if(!a.La.readlink)throw new N(52);a=a.La.readlink(a),a.charAt(0)==="/"||(a=M(m)+"/"+a),n=a+"/"+n.slice(v+1).join("/");continue e}}}return{path:m,node:a}}throw new N(32)}function Mr(n){for(var s;;){if(n===n.parent)return n=n.Xa.zb,s?n[n.length-1]!=="/"?`${n}/${s}`:n+s:n;s=s?`${n.name}/${s}`:n.name,n=n.parent}}function Pr(n,s){for(var l=0,a=0;a<s.length;a++)l=(l<<5)-l+s.charCodeAt(a)|0;return(n+l>>>0)%Pt.length}function Rr(n){var s=Pr(n.parent.id,n.name);if(Pt[s]===n)Pt[s]=n.bb;else for(s=Pt[s];s;){if(s.bb===n){s.bb=n.bb;break}s=s.bb}}function Wt(n,s){var l=He(n.mode)?(l=sn(n,"x"))?l:n.La.lookup?0:2:54;if(l)throw new N(l);for(l=Pt[Pr(n.id,s)];l;l=l.bb){var a=l.name;if(l.parent.id===n.id&&a===s)return l}return n.La.lookup(n,s)}function Ds(n,s,l,a){return n=new il(n,s,l,a),s=Pr(n.parent.id,n.name),n.bb=Pt[s],Pt[s]=n}function He(n){return(n&61440)===16384}function js(n){var s=["r","w","rw"][n&3];return n&512&&(s+="w"),s}function sn(n,s){if(Is)return 0;if(!s.includes("r")||n.mode&292){if(s.includes("w")&&!(n.mode&146)||s.includes("x")&&!(n.mode&73))return 2}else return 2;return 0}function Us(n,s){if(!He(n.mode))return 54;try{return Wt(n,s),20}catch{}return sn(n,"wx")}function ks(n,s,l){try{var a=Wt(n,s)}catch(m){return m.Pa}if(n=sn(n,"wx"))return n;if(l){if(!He(a.mode))return 54;if(a===a.parent||Mr(a)==="/")return 10}else if(He(a.mode))return 31;return 0}function Hn(n){if(!n)throw new N(63);return n}function De(n){if(n=gt[n],!n)throw new N(8);return n}function $s(n,s=-1){if(n=Object.assign(new sl,n),s==-1)e:{for(s=0;4096>=s;s++)if(!gt[s])break e;throw new N(33)}return n.fd=s,gt[s]=n}function ol(n,s=-1){return n=$s(n,s),n.Ma?.Rb?.(n),n}function Nr(n,s,l){var a=n?.Ma.Ua;n=a?n:s,a??=s.La.Ua,Hn(a),a(n,l)}var ll={open(n){n.Ma=bn[n.node.rdev].Ma,n.Ma.open?.(n)},Va(){throw new N(70)}};function qr(n,s){bn[n]={Ma:s}}function Hs(n,s){var l=s==="/";if(l&&$e)throw new N(10);if(!l&&s){var a=Je(s,{nb:!1});if(s=a.path,a=a.node,a.ab)throw new N(10);if(!He(a.mode))throw new N(54)}s={type:n,Wb:{},zb:s,Ib:[]},n=n.Xa(s),n.Xa=s,s.root=n,l?$e=n:a&&(a.ab=s,a.Xa&&a.Xa.Ib.push(s))}function Wn(n,s,l){var a=Je(n,{parent:!0}).node;if(n=T(n),!n)throw new N(28);if(n==="."||n==="..")throw new N(20);var m=Us(a,n);if(m)throw new N(m);if(!a.La.hb)throw new N(63);return a.La.hb(a,n,s,l)}function ul(n,s=438){return Wn(n,s&4095|32768,0)}function ft(n,s=511){return Wn(n,s&1023|16384,0)}function Bn(n,s,l){typeof l>"u"&&(l=s,s=438),Wn(n,s|8192,l)}function Lr(n,s){if(!U(n))throw new N(44);var l=Je(s,{parent:!0}).node;if(!l)throw new N(44);s=T(s);var a=Us(l,s);if(a)throw new N(a);if(!l.La.symlink)throw new N(63);l.La.symlink(l,s,n)}function Ws(n){var s=Je(n,{parent:!0}).node;n=T(n);var l=Wt(s,n),a=ks(s,n,!0);if(a)throw new N(a);if(!s.La.rmdir)throw new N(63);if(l.ab)throw new N(10);s.La.rmdir(s,n),Rr(l)}function Bs(n){var s=Je(n,{parent:!0}).node;if(!s)throw new N(44);n=T(n);var l=Wt(s,n),a=ks(s,n,!1);if(a)throw new N(a);if(!s.La.unlink)throw new N(63);if(l.ab)throw new N(10);s.La.unlink(s,n),Rr(l)}function vn(n,s){return n=Je(n,{$a:!s}).node,Hn(n.La.Ta)(n)}function Vs(n,s,l,a){Nr(n,s,{mode:l&4095|s.mode&-4096,ctime:Date.now(),Fb:a})}function Vn(n,s){n=typeof n=="string"?Je(n,{$a:!0}).node:n,Vs(null,n,s)}function Ks(n,s,l){if(He(s.mode))throw new N(31);if((s.mode&61440)!==32768)throw new N(28);var a=sn(s,"w");if(a)throw new N(a);Nr(n,s,{size:l,timestamp:Date.now()})}function on(n,s,l=438){if(n==="")throw new N(44);if(typeof s=="string"){var a={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[s];if(typeof a>"u")throw Error(`Unknown file open mode: ${s}`);s=a}if(l=s&64?l&4095|32768:0,typeof n=="object")a=n;else{var m=n.endsWith("/");n=Je(n,{$a:!(s&131072),Jb:!0}),a=n.node,n=n.path}var v=!1;if(s&64)if(a){if(s&128)throw new N(20)}else{if(m)throw new N(31);a=Wn(n,l|511,0),v=!0}if(!a)throw new N(44);if((a.mode&61440)===8192&&(s&=-513),s&65536&&!He(a.mode))throw new N(54);if(!v&&(m=a?(a.mode&61440)===40960?32:He(a.mode)&&(js(s)!=="r"||s&576)?31:sn(a,js(s)):44))throw new N(m);return s&512&&!v&&(m=a,m=typeof m=="string"?Je(m,{$a:!0}).node:m,Ks(null,m,0)),s&=-131713,m=$s({node:a,path:Mr(a),flags:s,seekable:!0,position:0,Ma:a.Ma,Lb:[],error:!1}),m.Ma.open&&m.Ma.open(m),v&&Vn(a,l&511),!c.logReadFiles||s&1||n in Fs||(Fs[n]=1),m}function Ir(n){if(n.fd===null)throw new N(8);n.ob&&(n.ob=null);try{n.Ma.close&&n.Ma.close(n)}catch(s){throw s}finally{gt[n.fd]=null}n.fd=null}function zs(n,s,l){if(n.fd===null)throw new N(8);if(!n.seekable||!n.Ma.Va)throw new N(70);if(l!=0&&l!=1&&l!=2)throw new N(28);n.position=n.Ma.Va(n,s,l),n.Lb=[]}function Qs(n,s,l,a,m){if(0>a||0>m)throw new N(28);if(n.fd===null)throw new N(8);if((n.flags&2097155)===1)throw new N(8);if(He(n.node.mode))throw new N(31);if(!n.Ma.read)throw new N(28);var v=typeof m<"u";if(!v)m=n.position;else if(!n.seekable)throw new N(70);return s=n.Ma.read(n,s,l,a,m),v||(n.position+=s),s}function Xs(n,s,l,a,m){if(0>a||0>m)throw new N(28);if(n.fd===null)throw new N(8);if((n.flags&2097155)===0)throw new N(8);if(He(n.node.mode))throw new N(31);if(!n.Ma.write)throw new N(28);n.seekable&&n.flags&1024&&zs(n,0,2);var v=typeof m<"u";if(!v)m=n.position;else if(!n.seekable)throw new N(70);return s=n.Ma.write(n,s,l,a,m,void 0),v||(n.position+=s),s}function al(n){var s,l=on(n,l||0);n=vn(n).size;var a=new Uint8Array(n);return Qs(l,a,0,n,0),s=a,Ir(l),s}function Rt(n,s,l){n=P("/dev/"+n);var a=Le(!!s,!!l);Rt.yb??(Rt.yb=64);var m=Rt.yb++<<8|0;qr(m,{open(v){v.seekable=!1},close(){l?.buffer?.length&&l(10)},read(v,E,$,re){for(var te=0,we=0;we<re;we++){try{var We=s()}catch{throw new N(29)}if(We===void 0&&te===0)throw new N(6);if(We==null)break;te++,E[$+we]=We}return te&&(v.node.atime=Date.now()),te},write(v,E,$,re){for(var te=0;te<re;te++)try{l(E[$+te])}catch{throw new N(29)}return re&&(v.node.mtime=v.node.ctime=Date.now()),te}}),Bn(n,a,m)}var ye={};function Bt(n,s,l){if(s.charAt(0)==="/")return s;if(n=n===-100?"/":De(n).path,s.length==0){if(!l)throw new N(44);return n}return n+"/"+s}function Kn(n,s){B[n>>2]=s.dev,B[n+4>>2]=s.mode,he[n+8>>2]=s.nlink,B[n+12>>2]=s.uid,B[n+16>>2]=s.gid,B[n+20>>2]=s.rdev,me[n+24>>3]=BigInt(s.size),B[n+32>>2]=4096,B[n+36>>2]=s.blocks;var l=s.atime.getTime(),a=s.mtime.getTime(),m=s.ctime.getTime();return me[n+40>>3]=BigInt(Math.floor(l/1e3)),he[n+48>>2]=l%1e3*1e6,me[n+56>>3]=BigInt(Math.floor(a/1e3)),he[n+64>>2]=a%1e3*1e6,me[n+72>>3]=BigInt(Math.floor(m/1e3)),he[n+80>>2]=m%1e3*1e6,me[n+88>>3]=BigInt(s.ino),0}var zn=void 0,Qn=()=>{var n=B[+zn>>2];return zn+=4,n},Fr=0,fl=[0,31,60,91,121,152,182,213,244,274,305,335],cl=[0,31,59,90,120,151,181,212,243,273,304,334],yn={},Ys=n=>{rt=n,_||0<Fr||(c.onExit?.(n),qe=!0),Q(n,new Ct(n))},dl=n=>{if(!qe)try{if(n(),!(_||0<Fr))try{rt=n=rt,Ys(n)}catch(s){s instanceof Ct||s=="unwind"||Q(1,s)}}catch(s){s instanceof Ct||s=="unwind"||Q(1,s)}},Dr={},Gs=()=>{if(!jr){var n={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:G||"./this.program"},s;for(s in Dr)Dr[s]===void 0?delete n[s]:n[s]=Dr[s];var l=[];for(s in n)l.push(`${s}=${n[s]}`);jr=l}return jr},jr,Ur=n=>{var s=ee(n)+1,l=qt(s);return se(n,C,l,s),l},hl=(n,s,l,a)=>{var m={string:te=>{var we=0;return te!=null&&te!==0&&(we=Ur(te)),we},array:te=>{var we=qt(te.length);return H.set(te,we),we}};n=c["_"+n];var v=[],E=0;if(a)for(var $=0;$<a.length;$++){var re=m[l[$]];re?(E===0&&(E=xn()),v[$]=re(a[$])):v[$]=a[$]}return l=n(...v),l=(function(te){return E!==0&&En(E),s==="string"?te?x(C,te):"":s==="boolean"?!!te:te})(l)},Xn=0,Yn=(n,s)=>(s=s==1?qt(n.length):$r(n.length),n.subarray||n.slice||(n=new Uint8Array(n)),C.set(n,s),s),Vt,kr=[],bt,Nt=n=>{Vt.delete(bt.get(n)),bt.set(n,null),kr.push(n)},wn=(n,s)=>{if(!Vt){Vt=new WeakMap;var l=bt.length;if(Vt)for(var a=0;a<0+l;a++){var m=bt.get(a);m&&Vt.set(m,a)}}if(l=Vt.get(n)||0)return l;if(kr.length)l=kr.pop();else{try{bt.grow(1)}catch(re){throw re instanceof RangeError?"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.":re}l=bt.length-1}try{bt.set(l,n)}catch(re){if(!(re instanceof TypeError))throw re;if(typeof WebAssembly.Function=="function"){var v=WebAssembly.Function;a={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"},m={parameters:[],results:s[0]=="v"?[]:[a[s[0]]]};for(var E=1;E<s.length;++E)m.parameters.push(a[s[E]]);s=new v(m,n)}else{a=[1],m=s.slice(0,1),s=s.slice(1),E={i:127,p:127,j:126,f:125,d:124,e:111},a.push(96);var $=s.length;128>$?a.push($):a.push($%128|128,$>>7);for(v of s)a.push(E[v]);m=="v"?a.push(0):a.push(1,E[m]),s=[0,97,115,109,1,0,0,0,1],v=a.length,128>v?s.push(v):s.push(v%128|128,v>>7),s.push(...a),s.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),s=new WebAssembly.Module(new Uint8Array(s)),s=new WebAssembly.Instance(s,{e:{f:n}}).exports.f}bt.set(l,s)}return Vt.set(n,l),l};Pt=Array(4096),Hs(Y,"/"),ft("/tmp"),ft("/home"),ft("/home/web_user"),(function(){ft("/dev"),qr(259,{read:()=>0,write:(a,m,v,E)=>E,Va:()=>0}),Bn("/dev/null",259),Me(1280,Ge),Me(1536,Ht),Bn("/dev/tty",1280),Bn("/dev/tty1",1536);var n=new Uint8Array(1024),s=0,l=()=>(s===0&&(L(n),s=n.byteLength),n[--s]);Rt("random",l),Rt("urandom",l),ft("/dev/shm"),ft("/dev/shm/tmp")})(),(function(){ft("/proc");var n=ft("/proc/self");ft("/proc/self/fd"),Hs({Xa(){var s=Ds(n,"fd",16895,73);return s.Ma={Va:Y.Ma.Va},s.La={lookup(l,a){l=+a;var m=De(l);return l={parent:null,Xa:{zb:"fake"},La:{readlink:()=>m.path},id:l+1},l.parent=l},readdir(){return Array.from(gt.entries()).filter(([,l])=>l).map(([l])=>l.toString())}},s}},"/proc/self/fd")})(),Y.vb=new N(44),Y.vb.stack="<generic error, no stack>";var pl={a:(n,s,l,a)=>Oe(`Assertion failed: ${n?x(C,n):""}, at: `+[s?s?x(C,s):"":"unknown filename",l,a?a?x(C,a):"":"unknown function"]),i:function(n,s){try{return n=n?x(C,n):"",Vn(n,s),0}catch(l){if(typeof ye>"u"||l.name!=="ErrnoError")throw l;return-l.Pa}},L:function(n,s,l){try{if(s=s?x(C,s):"",s=Bt(n,s),l&-8)return-28;var a=Je(s,{$a:!0}).node;return a?(n="",l&4&&(n+="r"),l&2&&(n+="w"),l&1&&(n+="x"),n&&sn(a,n)?-2:0):-44}catch(m){if(typeof ye>"u"||m.name!=="ErrnoError")throw m;return-m.Pa}},j:function(n,s){try{var l=De(n);return Vs(l,l.node,s,!1),0}catch(a){if(typeof ye>"u"||a.name!=="ErrnoError")throw a;return-a.Pa}},h:function(n){try{var s=De(n);return Nr(s,s.node,{timestamp:Date.now(),Fb:!1}),0}catch(l){if(typeof ye>"u"||l.name!=="ErrnoError")throw l;return-l.Pa}},b:function(n,s,l){zn=l;try{var a=De(n);switch(s){case 0:var m=Qn();if(0>m)break;for(;gt[m];)m++;return ol(a,m).fd;case 1:case 2:return 0;case 3:return a.flags;case 4:return m=Qn(),a.flags|=m,0;case 12:return m=Qn(),F[m+0>>1]=2,0;case 13:case 14:return 0}return-28}catch(v){if(typeof ye>"u"||v.name!=="ErrnoError")throw v;return-v.Pa}},g:function(n,s){try{var l=De(n),a=l.node,m=l.Ma.Ta;n=m?l:a,m??=a.La.Ta,Hn(m);var v=m(n);return Kn(s,v)}catch(E){if(typeof ye>"u"||E.name!=="ErrnoError")throw E;return-E.Pa}},H:function(n,s){s=-9007199254740992>s||9007199254740992<s?NaN:Number(s);try{if(isNaN(s))return 61;var l=De(n);if(0>s||(l.flags&2097155)===0)throw new N(28);return Ks(l,l.node,s),0}catch(a){if(typeof ye>"u"||a.name!=="ErrnoError")throw a;return-a.Pa}},G:function(n,s){try{if(s===0)return-28;var l=ee("/")+1;return s<l?-68:(se("/",C,n,s),l)}catch(a){if(typeof ye>"u"||a.name!=="ErrnoError")throw a;return-a.Pa}},K:function(n,s){try{return n=n?x(C,n):"",Kn(s,vn(n,!0))}catch(l){if(typeof ye>"u"||l.name!=="ErrnoError")throw l;return-l.Pa}},C:function(n,s,l){try{return s=s?x(C,s):"",s=Bt(n,s),ft(s,l),0}catch(a){if(typeof ye>"u"||a.name!=="ErrnoError")throw a;return-a.Pa}},J:function(n,s,l,a){try{s=s?x(C,s):"";var m=a&256;return s=Bt(n,s,a&4096),Kn(l,m?vn(s,!0):vn(s))}catch(v){if(typeof ye>"u"||v.name!=="ErrnoError")throw v;return-v.Pa}},x:function(n,s,l,a){zn=a;try{s=s?x(C,s):"",s=Bt(n,s);var m=a?Qn():0;return on(s,l,m).fd}catch(v){if(typeof ye>"u"||v.name!=="ErrnoError")throw v;return-v.Pa}},v:function(n,s,l,a){try{if(s=s?x(C,s):"",s=Bt(n,s),0>=a)return-28;var m=Je(s).node;if(!m)throw new N(44);if(!m.La.readlink)throw new N(28);var v=m.La.readlink(m),E=Math.min(a,ee(v)),$=H[l+E];return se(v,C,l,a+1),H[l+E]=$,E}catch(re){if(typeof ye>"u"||re.name!=="ErrnoError")throw re;return-re.Pa}},u:function(n){try{return n=n?x(C,n):"",Ws(n),0}catch(s){if(typeof ye>"u"||s.name!=="ErrnoError")throw s;return-s.Pa}},f:function(n,s){try{return n=n?x(C,n):"",Kn(s,vn(n))}catch(l){if(typeof ye>"u"||l.name!=="ErrnoError")throw l;return-l.Pa}},r:function(n,s,l){try{return s=s?x(C,s):"",s=Bt(n,s),l===0?Bs(s):l===512?Ws(s):Oe("Invalid flags passed to unlinkat"),0}catch(a){if(typeof ye>"u"||a.name!=="ErrnoError")throw a;return-a.Pa}},q:function(n,s,l){try{s=s?x(C,s):"",s=Bt(n,s,!0);var a=Date.now(),m,v;if(l){var E=he[l>>2]+4294967296*B[l+4>>2],$=B[l+8>>2];$==1073741823?m=a:$==1073741822?m=null:m=1e3*E+$/1e6,l+=16,E=he[l>>2]+4294967296*B[l+4>>2],$=B[l+8>>2],$==1073741823?v=a:$==1073741822?v=null:v=1e3*E+$/1e6}else v=m=a;if((v??m)!==null){n=m;var re=Je(s,{$a:!0}).node;Hn(re.La.Ua)(re,{atime:n,mtime:v})}return 0}catch(te){if(typeof ye>"u"||te.name!=="ErrnoError")throw te;return-te.Pa}},m:()=>Oe(""),l:()=>{_=!1,Fr=0},A:function(n,s){n=-9007199254740992>n||9007199254740992<n?NaN:Number(n),n=new Date(1e3*n),B[s>>2]=n.getSeconds(),B[s+4>>2]=n.getMinutes(),B[s+8>>2]=n.getHours(),B[s+12>>2]=n.getDate(),B[s+16>>2]=n.getMonth(),B[s+20>>2]=n.getFullYear()-1900,B[s+24>>2]=n.getDay();var l=n.getFullYear();B[s+28>>2]=(l%4!==0||l%100===0&&l%400!==0?cl:fl)[n.getMonth()]+n.getDate()-1|0,B[s+36>>2]=-(60*n.getTimezoneOffset()),l=new Date(n.getFullYear(),6,1).getTimezoneOffset();var a=new Date(n.getFullYear(),0,1).getTimezoneOffset();B[s+32>>2]=(l!=a&&n.getTimezoneOffset()==Math.min(a,l))|0},y:function(n,s,l,a,m,v,E){m=-9007199254740992>m||9007199254740992<m?NaN:Number(m);try{if(isNaN(m))return 61;var $=De(a);if((s&2)!==0&&(l&2)===0&&($.flags&2097155)!==2)throw new N(2);if(($.flags&2097155)===1)throw new N(2);if(!$.Ma.ib)throw new N(43);if(!n)throw new N(28);var re=$.Ma.ib($,n,m,s,l),te=re.Kb;return B[v>>2]=re.Ab,he[E>>2]=te,0}catch(we){if(typeof ye>"u"||we.name!=="ErrnoError")throw we;return-we.Pa}},z:function(n,s,l,a,m,v){v=-9007199254740992>v||9007199254740992<v?NaN:Number(v);try{var E=De(m);if(l&2){if(l=v,(E.node.mode&61440)!==32768)throw new N(43);if(!(a&2)){var $=C.slice(n,n+s);E.Ma.jb&&E.Ma.jb(E,$,l,s,a)}}}catch(re){if(typeof ye>"u"||re.name!=="ErrnoError")throw re;return-re.Pa}},n:(n,s)=>{if(yn[n]&&(clearTimeout(yn[n].id),delete yn[n]),!s)return 0;var l=setTimeout(()=>{delete yn[n],dl(()=>Zs(n,performance.now()))},s);return yn[n]={id:l,Xb:s},0},B:(n,s,l,a)=>{var m=new Date().getFullYear(),v=new Date(m,0,1).getTimezoneOffset();m=new Date(m,6,1).getTimezoneOffset(),he[n>>2]=60*Math.max(v,m),B[s>>2]=+(v!=m),s=E=>{var $=Math.abs(E);return`UTC${0<=E?"-":"+"}${String(Math.floor($/60)).padStart(2,"0")}${String($%60).padStart(2,"0")}`},n=s(v),s=s(m),m<v?(se(n,C,l,17),se(s,C,a,17)):(se(n,C,a,17),se(s,C,l,17))},d:()=>Date.now(),s:()=>2147483648,c:()=>performance.now(),o:n=>{var s=C.length;if(n>>>=0,2147483648<n)return!1;for(var l=1;4>=l;l*=2){var a=s*(1+.2/l);a=Math.min(a,n+100663296);e:{a=(Math.min(2147483648,65536*Math.ceil(Math.max(n,a)/65536))-Ae.buffer.byteLength+65535)/65536|0;try{Ae.grow(a),at();var m=1;break e}catch{}m=void 0}if(m)return!0}return!1},E:(n,s)=>{var l=0;return Gs().forEach((a,m)=>{var v=s+l;for(m=he[n+4*m>>2]=v,v=0;v<a.length;++v)H[m++]=a.charCodeAt(v);H[m]=0,l+=a.length+1}),0},F:(n,s)=>{var l=Gs();he[n>>2]=l.length;var a=0;return l.forEach(m=>a+=m.length+1),he[s>>2]=a,0},e:function(n){try{var s=De(n);return Ir(s),0}catch(l){if(typeof ye>"u"||l.name!=="ErrnoError")throw l;return l.Pa}},p:function(n,s){try{var l=De(n);return H[s]=l.tty?2:He(l.mode)?3:(l.mode&61440)===40960?7:4,F[s+2>>1]=0,me[s+8>>3]=BigInt(0),me[s+16>>3]=BigInt(0),0}catch(a){if(typeof ye>"u"||a.name!=="ErrnoError")throw a;return a.Pa}},w:function(n,s,l,a){try{e:{var m=De(n);n=s;for(var v,E=s=0;E<l;E++){var $=he[n>>2],re=he[n+4>>2];n+=8;var te=Qs(m,H,$,re,v);if(0>te){var we=-1;break e}if(s+=te,te<re)break;typeof v<"u"&&(v+=te)}we=s}return he[a>>2]=we,0}catch(We){if(typeof ye>"u"||We.name!=="ErrnoError")throw We;return We.Pa}},D:function(n,s,l,a){s=-9007199254740992>s||9007199254740992<s?NaN:Number(s);try{if(isNaN(s))return 61;var m=De(n);return zs(m,s,l),me[a>>3]=BigInt(m.position),m.ob&&s===0&&l===0&&(m.ob=null),0}catch(v){if(typeof ye>"u"||v.name!=="ErrnoError")throw v;return v.Pa}},I:function(n){try{var s=De(n);return s.Ma?.fsync?s.Ma.fsync(s):0}catch(l){if(typeof ye>"u"||l.name!=="ErrnoError")throw l;return l.Pa}},t:function(n,s,l,a){try{e:{var m=De(n);n=s;for(var v,E=s=0;E<l;E++){var $=he[n>>2],re=he[n+4>>2];n+=8;var te=Xs(m,H,$,re,v);if(0>te){var we=-1;break e}if(s+=te,te<re)break;typeof v<"u"&&(v+=te)}we=s}return he[a>>2]=we,0}catch(We){if(typeof ye>"u"||We.name!=="ErrnoError")throw We;return We.Pa}},k:Ys},k;(async function(){function n(l){return k=l.exports,Ae=k.M,at(),bt=k.O,Xe--,c.monitorRunDependencies?.(Xe),Xe==0&&Ve&&(l=Ve,Ve=null,l()),k}Xe++,c.monitorRunDependencies?.(Xe);var s={a:pl};return c.instantiateWasm?new Promise(l=>{c.instantiateWasm(s,(a,m)=>{n(a),l(a.exports)})}):(nn??=c.locateFile?c.locateFile("sql-wasm.wasm",pe):pe+"sql-wasm.wasm",n((await $t(s)).instance))})(),c._sqlite3_free=n=>(c._sqlite3_free=k.P)(n),c._sqlite3_value_text=n=>(c._sqlite3_value_text=k.Q)(n),c._sqlite3_prepare_v2=(n,s,l,a,m)=>(c._sqlite3_prepare_v2=k.R)(n,s,l,a,m),c._sqlite3_step=n=>(c._sqlite3_step=k.S)(n),c._sqlite3_reset=n=>(c._sqlite3_reset=k.T)(n),c._sqlite3_exec=(n,s,l,a,m)=>(c._sqlite3_exec=k.U)(n,s,l,a,m),c._sqlite3_finalize=n=>(c._sqlite3_finalize=k.V)(n),c._sqlite3_column_name=(n,s)=>(c._sqlite3_column_name=k.W)(n,s),c._sqlite3_column_text=(n,s)=>(c._sqlite3_column_text=k.X)(n,s),c._sqlite3_column_type=(n,s)=>(c._sqlite3_column_type=k.Y)(n,s),c._sqlite3_errmsg=n=>(c._sqlite3_errmsg=k.Z)(n),c._sqlite3_clear_bindings=n=>(c._sqlite3_clear_bindings=k._)(n),c._sqlite3_value_blob=n=>(c._sqlite3_value_blob=k.$)(n),c._sqlite3_value_bytes=n=>(c._sqlite3_value_bytes=k.aa)(n),c._sqlite3_value_double=n=>(c._sqlite3_value_double=k.ba)(n),c._sqlite3_value_int=n=>(c._sqlite3_value_int=k.ca)(n),c._sqlite3_value_type=n=>(c._sqlite3_value_type=k.da)(n),c._sqlite3_result_blob=(n,s,l,a)=>(c._sqlite3_result_blob=k.ea)(n,s,l,a),c._sqlite3_result_double=(n,s)=>(c._sqlite3_result_double=k.fa)(n,s),c._sqlite3_result_error=(n,s,l)=>(c._sqlite3_result_error=k.ga)(n,s,l),c._sqlite3_result_int=(n,s)=>(c._sqlite3_result_int=k.ha)(n,s),c._sqlite3_result_int64=(n,s)=>(c._sqlite3_result_int64=k.ia)(n,s),c._sqlite3_result_null=n=>(c._sqlite3_result_null=k.ja)(n),c._sqlite3_result_text=(n,s,l,a)=>(c._sqlite3_result_text=k.ka)(n,s,l,a),c._sqlite3_aggregate_context=(n,s)=>(c._sqlite3_aggregate_context=k.la)(n,s),c._sqlite3_column_count=n=>(c._sqlite3_column_count=k.ma)(n),c._sqlite3_data_count=n=>(c._sqlite3_data_count=k.na)(n),c._sqlite3_column_blob=(n,s)=>(c._sqlite3_column_blob=k.oa)(n,s),c._sqlite3_column_bytes=(n,s)=>(c._sqlite3_column_bytes=k.pa)(n,s),c._sqlite3_column_double=(n,s)=>(c._sqlite3_column_double=k.qa)(n,s),c._sqlite3_bind_blob=(n,s,l,a,m)=>(c._sqlite3_bind_blob=k.ra)(n,s,l,a,m),c._sqlite3_bind_double=(n,s,l)=>(c._sqlite3_bind_double=k.sa)(n,s,l),c._sqlite3_bind_int=(n,s,l)=>(c._sqlite3_bind_int=k.ta)(n,s,l),c._sqlite3_bind_text=(n,s,l,a,m)=>(c._sqlite3_bind_text=k.ua)(n,s,l,a,m),c._sqlite3_bind_parameter_index=(n,s)=>(c._sqlite3_bind_parameter_index=k.va)(n,s),c._sqlite3_sql=n=>(c._sqlite3_sql=k.wa)(n),c._sqlite3_normalized_sql=n=>(c._sqlite3_normalized_sql=k.xa)(n),c._sqlite3_changes=n=>(c._sqlite3_changes=k.ya)(n),c._sqlite3_close_v2=n=>(c._sqlite3_close_v2=k.za)(n),c._sqlite3_create_function_v2=(n,s,l,a,m,v,E,$,re)=>(c._sqlite3_create_function_v2=k.Aa)(n,s,l,a,m,v,E,$,re),c._sqlite3_update_hook=(n,s,l)=>(c._sqlite3_update_hook=k.Ba)(n,s,l),c._sqlite3_open=(n,s)=>(c._sqlite3_open=k.Ca)(n,s);var $r=c._malloc=n=>($r=c._malloc=k.Da)(n),Gn=c._free=n=>(Gn=c._free=k.Ea)(n);c._RegisterExtensionFunctions=n=>(c._RegisterExtensionFunctions=k.Fa)(n);var Js=(n,s)=>(Js=k.Ga)(n,s),Zs=(n,s)=>(Zs=k.Ha)(n,s),En=n=>(En=k.Ia)(n),qt=n=>(qt=k.Ja)(n),xn=()=>(xn=k.Ka)();c.stackSave=()=>xn(),c.stackRestore=n=>En(n),c.stackAlloc=n=>qt(n),c.cwrap=(n,s,l,a)=>{var m=!l||l.every(v=>v==="number"||v==="boolean");return s!=="string"&&m&&!a?c["_"+n]:(...v)=>hl(n,s,l,v)},c.addFunction=wn,c.removeFunction=Nt,c.UTF8ToString=A,c.ALLOC_NORMAL=Xn,c.allocate=Yn,c.allocateUTF8OnStack=Ur;function Hr(){function n(){if(c.calledRun=!0,!qe){if(!c.noFSInit&&!Ls){var s,l;Ls=!0,a??=c.stdin,s??=c.stdout,l??=c.stderr,a?Rt("stdin",a):Lr("/dev/tty","/dev/stdin"),s?Rt("stdout",null,s):Lr("/dev/tty","/dev/stdout"),l?Rt("stderr",null,l):Lr("/dev/tty1","/dev/stderr"),on("/dev/stdin",0),on("/dev/stdout",1),on("/dev/stderr",1)}if(k.N(),Is=!1,c.onRuntimeInitialized?.(),c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;){var a=c.postRun.shift();gn.unshift(a)}rn(gn)}}if(0<Xe)Ve=Hr;else{if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)qs();rn(Mt),0<Xe?Ve=Hr:c.setStatus?(c.setStatus("Running..."),setTimeout(()=>{setTimeout(()=>c.setStatus(""),1),n()},1)):n()}}if(c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);0<c.preInit.length;)c.preInit.pop()();return Hr(),d}),r)};e.exports=i,e.exports.default=i})(ts)),ts.exports}var vf=bf();const yf=pf(vf),wf="/assets/sql-wasm-C1U8OeUW.wasm",Ef="sanasto-sqlite",_n="sqlite",el="db";let ns=null;function xf(){return ns||(ns=yf({locateFile:()=>wf})),ns}async function Sf(){const e=await xf(),t=await Mf(),r=t?new e.Database(new Uint8Array(t)):new e.Database;return Af(r),r}function Af(e){e.exec(`
CREATE TABLE IF NOT EXISTS entries (
id INTEGER PRIMARY KEY,
category TEXT,
fi TEXT,
en TEXT,
sv TEXT,
no TEXT,
ru TEXT,
de TEXT,
updated_at TEXT
);
`),e.exec(`
CREATE TABLE IF NOT EXISTS meta (
key TEXT PRIMARY KEY,
value TEXT
);
`)}function Bi(e){const t=e.exec(`SELECT id, category, fi, en, sv, no, ru, de, updated_at
FROM entries
ORDER BY COALESCE(fi, en, no, sv, de, ru, '') ASC`),[r]=t;if(!r)return[];const{columns:i,values:o}=r;return o.map(u=>{const f={};return i.forEach((d,p)=>{f[d]=u[p]??null}),f})}function Tf(e,t){const r=e.prepare(`INSERT INTO entries (id, category, fi, en, sv, no, ru, de, updated_at)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
ON CONFLICT(id) DO UPDATE SET
category=excluded.category,
fi=excluded.fi,
en=excluded.en,
sv=excluded.sv,
no=excluded.no,
ru=excluded.ru,
de=excluded.de,
updated_at=excluded.updated_at`);t.forEach(i=>{r.run([i.id,i.category??null,i.fi??null,i.en??null,i.sv??null,i.no??null,i.ru??null,i.de??null,i.updated_at??null])}),r.free()}function tl(e,t){const i=e.exec("SELECT value FROM meta WHERE key = ?",[t])[0];if(!i||!i.values.length||!i.values[0]?.length)return null;const o=i.values[0][0];return typeof o=="string"?o:null}function Of(e,t,r){e.exec(`INSERT INTO meta (key, value) VALUES (?, ?)
ON CONFLICT(key) DO UPDATE SET value=excluded.value`,[t,r])}async function Cf(e){const t=e.export();await Pf(t)}function nl(){return new Promise((e,t)=>{const r=indexedDB.open(Ef,1);r.onupgradeneeded=()=>{const i=r.result;i.objectStoreNames.contains(_n)||i.createObjectStore(_n)},r.onsuccess=()=>e(r.result),r.onerror=()=>t(r.error)})}function Mf(){return nl().then(e=>new Promise((t,r)=>{const u=e.transaction(_n,"readonly").objectStore(_n).get(el);u.onsuccess=()=>{t(u.result??null)},u.onerror=()=>r(u.error)}))}function Pf(e){return nl().then(t=>new Promise((r,i)=>{const f=t.transaction(_n,"readwrite").objectStore(_n).put(e,el);f.onsuccess=()=>r(),f.onerror=()=>i(f.error)}))}const Vi="last_sync_at";async function Rf(e){const t=tl(e,Vi),r=new URL("https://sanasto.rin.no/api/entries");t&&r.searchParams.set("since",t);const i=await fetch(r.toString(),{headers:{"X-Sanasto-App":"app.sanasto"}});if(!i.ok)throw new Error(`Sync failed with ${i.status}`);const o=await i.json();if(o.length===0)return{updated:0,lastSyncAt:t};Tf(e,o);const u=o.reduce((f,d)=>{if(!d.updated_at)return f;const p=new Date(d.updated_at);return!f||p>f?p:f},t?new Date(t):null);return u&&Of(e,Vi,u.toISOString()),await Cf(e),{updated:o.length,lastSyncAt:u?.toISOString()??t}}const Nf={class:"app"},qf={class:"header"},Lf={class:"header-inner"},If={class:"header-actions"},Ff=["disabled"],Df={class:"header-sub"},jf={class:"meta-row"},Uf={class:"meta-value"},kf={key:0,class:"meta-error"},$f={class:"content"},Hf={class:"search-area"},Wf={class:"search-field"},Bf={class:"filters-row"},Vf={class:"filter-group"},Kf=["onClick"],zf={class:"filter-group"},Qf=["onClick"],Xf={class:"filter-group"},Yf=["value"],Gf={key:0,class:"alphabet-row"},Jf=["onClick"],Zf={class:"stats-row"},ec={class:"section-subtitle"},tc={class:"stats"},nc={class:"badge"},rc={class:"badge success"},sc={class:"table-shell"},ic={class:"table-scroll"},oc={class:"glossary"},lc={class:"sticky-col"},uc={class:"th-title"},ac={class:"th-code"},fc={class:"th-title"},cc={class:"th-code"},dc={class:"th-sub completion"},hc={key:0},pc=["colspan"],mc={class:"sticky-col"},_c={class:"entry-title"},gc={class:"entry-meta"},bc={class:"meta-tag"},vc={key:0},yc={key:1,class:"missing"},wc=$u({__name:"App",setup(e){const t=[{code:"fi",name:"Finnish"},{code:"en",name:"English"},{code:"no",name:"Norwegian"},{code:"sv",name:"Swedish"},{code:"de",name:"German"},{code:"ru",name:"Russian"}],r=ot(null),i=ot([]),o=ot(""),u=ot(null),f=ot(null),d=ot(null),p=ot("fi"),c=ot(null),g=ot(navigator.onLine),y=ot(!1),R=ot(null),I=Lt(()=>{const H=t.filter(B=>B.code!==p.value);if(p.value==="en")return H;const C=H.find(B=>B.code==="en"),F=H.filter(B=>B.code!=="en");return C?[C,...F]:F}),G=Lt(()=>{const H=new Set;return i.value.forEach(C=>{C.category&&H.add(C.category)}),Array.from(H).sort((C,F)=>C.localeCompare(F))}),Q=Lt(()=>{const H=o.value.trim().toLowerCase();return i.value.filter(C=>{if(u.value&&C.category!==u.value)return!1;if(f.value){const F=C[f.value];if(!F||d.value&&!F.toLowerCase().startsWith(d.value.toLowerCase()))return!1}return!(H.length&&![C.category,C.fi,C.en,C.no,C.sv,C.de,C.ru].some(he=>he?.toLowerCase().includes(H)))})}),pe=Lt(()=>{const H={},C={};return t.forEach(F=>{H[F.code]=i.value.length,C[F.code]=i.value.filter(B=>!!B[F.code]).length}),F=>{const B=H[F]||0,he=C[F]||0;return B?Math.round(he/B*100):0}}),ne=H=>t.some(C=>!H[C.code]),ie=Lt(()=>Q.value.filter(H=>ne(H)).length),ce=Lt(()=>c.value?new Date(c.value).toLocaleString():"Never synced"),V=Lt(()=>Array.from({length:26},(H,C)=>String.fromCharCode(65+C))),de=()=>{u.value=null,f.value=null,d.value=null},Ne=H=>{f.value=H,d.value=null},Ae=async()=>{if(r.value){y.value=!0,R.value=null;try{const H=await Rf(r.value);c.value=H.lastSyncAt??c.value,i.value=Bi(r.value)}catch(H){R.value=H instanceof Error?H.message:"Sync failed"}finally{y.value=!1}}},qe=()=>{g.value=!0,Ae()},rt=()=>{g.value=!1};return Mo(async()=>{r.value=await Sf(),i.value=Bi(r.value),c.value=r.value?tl(r.value,"last_sync_at"):null,window.addEventListener("online",qe),window.addEventListener("offline",rt),g.value&&await Ae()}),Po(()=>{window.removeEventListener("online",qe),window.removeEventListener("offline",rt)}),(H,C)=>(xe(),Te("div",Nf,[D("header",qf,[D("div",Lf,[C[7]||(C[7]=D("div",{class:"brand"},[D("span",{class:"brand-strong"},"Sanasto"),D("span",{class:"brand-light"},"Wiki")],-1)),D("div",If,[D("div",{class:et(["status-pill",{offline:!g.value}])},[C[6]||(C[6]=D("span",{class:"status-dot"},null,-1)),D("span",null,Ee(g.value?"Online":"Offline"),1)],2),D("button",{class:"btn btn-primary",disabled:y.value,onClick:Ae},Ee(y.value?"Syncing…":"Sync now"),9,Ff)])]),D("div",Df,[D("div",jf,[C[8]||(C[8]=D("span",{class:"meta-label"},"Last sync",-1)),D("span",Uf,Ee(ce.value),1)]),R.value?(xe(),Te("div",kf,Ee(R.value),1)):nr("",!0)])]),D("main",$f,[D("section",Hf,[D("div",Wf,[C[9]||(C[9]=D("span",{class:"search-icon","aria-hidden":"true"},[D("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor"},[D("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})])],-1)),pi(D("input",{"onUpdate:modelValue":C[0]||(C[0]=F=>o.value=F),class:"search-input",type:"search",placeholder:"Search words, phrases, or biblical terms...","aria-label":"Search glossary"},null,512),[[lf,o.value]]),o.value?(xe(),Te("button",{key:0,class:"search-clear",type:"button",onClick:C[1]||(C[1]=F=>o.value="")}," × ")):nr("",!0)]),D("div",Bf,[D("div",Vf,[C[10]||(C[10]=D("span",{class:"filter-label"},"Category",-1)),D("button",{class:et(["chip",{active:!u.value}]),onClick:C[2]||(C[2]=F=>u.value=null)}," All ",2),(xe(!0),Te(Pe,null,Qt(G.value,F=>(xe(),Te("button",{key:F,class:et(["chip",{active:u.value===F}]),onClick:B=>u.value=F},Ee(F),11,Kf))),128))]),D("div",zf,[C[11]||(C[11]=D("span",{class:"filter-label"},"Language",-1)),D("button",{class:et(["chip dark",{active:!f.value}]),onClick:C[3]||(C[3]=F=>Ne(null))}," All ",2),(xe(),Te(Pe,null,Qt(t,F=>D("button",{key:F.code,class:et(["chip dark",{active:f.value===F.code}]),onClick:B=>Ne(F.code)},Ee(F.name),11,Qf)),64))]),D("div",Xf,[C[12]||(C[12]=D("span",{class:"filter-label"},"Primary column",-1)),pi(D("select",{"onUpdate:modelValue":C[4]||(C[4]=F=>p.value=F),class:"select"},[(xe(),Te(Pe,null,Qt(t,F=>D("option",{key:F.code,value:F.code},Ee(F.name),9,Yf)),64))],512),[[uf,p.value]])]),D("button",{class:"btn btn-ghost",onClick:de},"Reset filters")]),f.value?(xe(),Te("div",Gf,[D("button",{class:et(["chip mini",{active:!d.value}]),onClick:C[5]||(C[5]=F=>d.value=null)}," All ",2),(xe(!0),Te(Pe,null,Qt(V.value,F=>(xe(),Te("button",{key:F,class:et(["chip mini",{active:d.value===F}]),onClick:B=>d.value=F},Ee(F),11,Jf))),128))])):nr("",!0)]),D("section",Zf,[D("div",null,[C[13]||(C[13]=D("h2",{class:"section-title"},"Translation Table",-1)),D("p",ec,Ee(Q.value.length)+" of "+Ee(i.value.length)+" entries ",1)]),D("div",tc,[D("span",nc,"Missing: "+Ee(ie.value),1),D("span",rc,"Complete: "+Ee(Q.value.length-ie.value),1)])]),D("section",sc,[D("div",ic,[D("table",oc,[D("thead",null,[D("tr",null,[D("th",lc,[D("div",uc,[ds(Ee(t.find(F=>F.code===p.value)?.name||"Primary")+" ",1),D("span",ac,Ee(p.value.toUpperCase()),1)]),C[14]||(C[14]=D("div",{class:"th-sub"},"Category / Status",-1))]),(xe(!0),Te(Pe,null,Qt(I.value,F=>(xe(),Te("th",{key:F.code},[D("div",fc,[ds(Ee(F.name)+" ",1),D("span",cc,Ee(F.code.toUpperCase()),1)]),D("div",dc,Ee(pe.value(F.code))+"% complete",1)]))),128))])]),D("tbody",null,[Q.value.length?nr("",!0):(xe(),Te("tr",hc,[D("td",{colspan:I.value.length+1,class:"empty-cell"}," No entries matched your filters. ",8,pc)])),(xe(!0),Te(Pe,null,Qt(Q.value,F=>(xe(),Te("tr",{key:F.id,class:et({"row-missing":ne(F)})},[D("td",mc,[D("div",_c,Ee(F[p.value]||"Untitled"),1),D("div",gc,[D("span",bc,Ee(F.category||"General"),1),D("span",{class:et(["meta-pill",F[p.value]?"verified":"unverified"])},Ee(F[p.value]?"Verified":"Unverified"),3)])]),(xe(!0),Te(Pe,null,Qt(I.value,B=>(xe(),Te("td",{key:B.code},[F[B.code]?(xe(),Te("span",vc,Ee(F[B.code]),1)):(xe(),Te("span",yc,"—"))]))),128))],2))),128))])])])])])]))}}),Ec="modulepreload",xc=function(e){return"/"+e},Ki={},Sc=function(t,r,i){let o=Promise.resolve();if(r&&r.length>0){let c=function(g){return Promise.all(g.map(y=>Promise.resolve(y).then(R=>({status:"fulfilled",value:R}),R=>({status:"rejected",reason:R}))))};var f=c;document.getElementsByTagName("link");const d=document.querySelector("meta[property=csp-nonce]"),p=d?.nonce||d?.getAttribute("nonce");o=c(r.map(g=>{if(g=xc(g),g in Ki)return;Ki[g]=!0;const y=g.endsWith(".css"),R=y?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${g}"]${R}`))return;const I=document.createElement("link");if(I.rel=y?"stylesheet":Ec,y||(I.as="script"),I.crossOrigin="",I.href=g,p&&I.setAttribute("nonce",p),document.head.appendChild(I),y)return new Promise((G,Q)=>{I.addEventListener("load",G),I.addEventListener("error",()=>Q(new Error(`Unable to preload CSS for ${g}`)))})}))}function u(d){const p=new Event("vite:preloadError",{cancelable:!0});if(p.payload=d,window.dispatchEvent(p),!p.defaultPrevented)throw d}return o.then(d=>{for(const p of d||[])p.status==="rejected"&&u(p.reason);return t().catch(u)})};function Ac(e={}){const{immediate:t=!1,onNeedRefresh:r,onOfflineReady:i,onRegistered:o,onRegisteredSW:u,onRegisterError:f}=e;let d,p;const c=async(y=!0)=>{await p};async function g(){if("serviceWorker"in navigator){if(d=await Sc(async()=>{const{Workbox:y}=await import("./workbox-window.prod.es5-BIl4cyR9.js");return{Workbox:y}},[]).then(({Workbox:y})=>new y("/sw.js",{scope:"/",type:"classic"})).catch(y=>{f?.(y)}),!d)return;d.addEventListener("activated",y=>{(y.isUpdate||y.isExternal)&&window.location.reload()}),d.addEventListener("installed",y=>{y.isUpdate||i?.()}),d.register({immediate:t}).then(y=>{u?u("/sw.js",y):o?.(y)}).catch(y=>{f?.(y)})}}return p=g(),c}cf(wc).mount("#app");Ac({immediate:!0});