cista 0.4.1__py3-none-any.whl → 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. cista/__main__.py +33 -6
  2. cista/_version.py +1 -1
  3. cista/app.py +14 -5
  4. cista/config.py +5 -2
  5. cista/watching.py +5 -1
  6. cista/wwwroot/assets/{add-file-a9d3c136.js → add-file-78f95102.js} +1 -1
  7. cista/wwwroot/assets/{add-folder-1067f64c.js → add-folder-ef91bb0e.js} +1 -1
  8. cista/wwwroot/assets/{arrow-3f20395b.js → arrow-c279db10.js} +1 -1
  9. cista/wwwroot/assets/{arrows-h-e15dd929.js → arrows-h-0090937e.js} +1 -1
  10. cista/wwwroot/assets/{arrows-v-aa28c1fb.js → arrows-v-05d0dc3e.js} +1 -1
  11. cista/wwwroot/assets/{check-79aef249.js → check-736f9156.js} +1 -1
  12. cista/wwwroot/assets/{code-e36c79c2.js → code-f442e1ae.js} +1 -1
  13. cista/wwwroot/assets/{cog-7564b1dd.js → cog-fcdd928d.js} +1 -1
  14. cista/wwwroot/assets/{copy-e3929780.js → copy-f9304d76.js} +1 -1
  15. cista/wwwroot/assets/{create-file-a4cd2759.js → create-file-5cfbca5b.js} +1 -1
  16. cista/wwwroot/assets/{create-folder-cb1e0138.js → create-folder-f3416e7f.js} +1 -1
  17. cista/wwwroot/assets/{cross-d73eb841.js → cross-34310f33.js} +1 -1
  18. cista/wwwroot/assets/{disk-db1f0765.js → disk-9de14290.js} +1 -1
  19. cista/wwwroot/assets/{download-a3d43d2f.js → download-40f6e8d9.js} +1 -1
  20. cista/wwwroot/assets/{exclamation-2902e1df.js → exclamation-67d2f487.js} +1 -1
  21. cista/wwwroot/assets/{eye-8d101b8e.js → eye-1a9cae12.js} +1 -1
  22. cista/wwwroot/assets/{find-33f8a0d2.js → find-f49bedc3.js} +1 -1
  23. cista/wwwroot/assets/{fullscreen-11067704.js → fullscreen-6e83f85d.js} +1 -1
  24. cista/wwwroot/assets/{github-01e6b073.js → github-33da7a52.js} +1 -1
  25. cista/wwwroot/assets/{index-ba73bda8.js → index-6716899e.js} +4 -4
  26. cista/wwwroot/assets/{index-174b17cf.css → index-bcee9add.css} +1 -1
  27. cista/wwwroot/assets/{info-c4a3f8c5.js → info-9a003b6c.js} +1 -1
  28. cista/wwwroot/assets/{link-ed858213.js → link-b5bf40a7.js} +1 -1
  29. cista/wwwroot/assets/{logo-27323863.js → logo-adde2ca4.js} +1 -1
  30. cista/wwwroot/assets/{loop-5dd137a3.js → loop-762ab430.js} +1 -1
  31. cista/wwwroot/assets/{menu-1032d481.js → menu-633b2a61.js} +1 -1
  32. cista/wwwroot/assets/{next-eb6c8a7f.js → next-d9d1d510.js} +1 -1
  33. cista/wwwroot/assets/{open-d6baab3e.js → open-91351e45.js} +1 -1
  34. cista/wwwroot/assets/{paste-dbc34e03.js → paste-d3f337c1.js} +1 -1
  35. cista/wwwroot/assets/{pause-5bc73725.js → pause-8f82e536.js} +1 -1
  36. cista/wwwroot/assets/{pencil-d5ffe2dc.js → pencil-0b434534.js} +1 -1
  37. cista/wwwroot/assets/{play-7817e413.js → play-e0e51167.js} +1 -1
  38. cista/wwwroot/assets/{plus-0c299339.js → plus-e2a2ec0f.js} +1 -1
  39. cista/wwwroot/assets/{previous-626a4acb.js → previous-cd61ebe6.js} +1 -1
  40. cista/wwwroot/assets/{reload-128d6c02.js → reload-a9c668b2.js} +1 -1
  41. cista/wwwroot/assets/{rename-aa3dba61.js → rename-bd15329b.js} +1 -1
  42. cista/wwwroot/assets/{scissors-bd9fe56f.js → scissors-dcbf78c0.js} +1 -1
  43. cista/wwwroot/assets/{shuffle-7f5be9e9.js → shuffle-74e9ea1c.js} +1 -1
  44. cista/wwwroot/assets/{signin-d3d6ced4.js → signin-bbf26a1b.js} +1 -1
  45. cista/wwwroot/assets/{signout-fc3c85db.js → signout-caa34d68.js} +1 -1
  46. cista/wwwroot/assets/{skip-b98696e7.js → skip-423d5cf0.js} +1 -1
  47. cista/wwwroot/assets/{spinner-b41d7188.js → spinner-b299e14e.js} +1 -1
  48. cista/wwwroot/assets/{stop-c58e520a.js → stop-91578a62.js} +1 -1
  49. cista/wwwroot/assets/{trash-d4df4c21.js → trash-3b7b72a3.js} +1 -1
  50. cista/wwwroot/assets/{triangle-12112b17.js → triangle-724a2314.js} +1 -1
  51. cista/wwwroot/assets/{unfullscreen-a97c74fb.js → unfullscreen-29f4977c.js} +1 -1
  52. cista/wwwroot/assets/{up-arrow-23c1796b.js → up-arrow-ceb58d59.js} +1 -1
  53. cista/wwwroot/assets/{upload-cloud-4f346520.js → upload-cloud-936fb8b2.js} +1 -1
  54. cista/wwwroot/assets/{user-074e37bb.js → user-ab4ed9ac.js} +1 -1
  55. cista/wwwroot/assets/{user-cog-64e9a313.js → user-cog-887c6f3f.js} +1 -1
  56. cista/wwwroot/assets/{volume-high-cfc5dfaf.js → volume-high-74a17568.js} +1 -1
  57. cista/wwwroot/assets/{volume-low-1ef7167e.js → volume-low-f7170d5f.js} +1 -1
  58. cista/wwwroot/assets/{volume-medium-a7aea406.js → volume-medium-7b16c1db.js} +1 -1
  59. cista/wwwroot/assets/{volume-mute-d74a4abf.js → volume-mute-0c7078a1.js} +1 -1
  60. cista/wwwroot/assets/{window-cross-f8232e18.js → window-cross-e3a75b33.js} +1 -1
  61. cista/wwwroot/assets/{window-76484866.js → window-f7f79ada.js} +1 -1
  62. cista/wwwroot/assets/{wordwrap-ae2f69a5.js → wordwrap-3bcce83c.js} +1 -1
  63. cista/wwwroot/assets/{zoomin-401eeaf9.js → zoomin-bd27188c.js} +1 -1
  64. cista/wwwroot/assets/{zoomout-ad6f32e8.js → zoomout-31844707.js} +1 -1
  65. cista/wwwroot/index.html +2 -2
  66. cista-0.5.0.dist-info/METADATA +140 -0
  67. cista-0.5.0.dist-info/RECORD +86 -0
  68. cista-0.4.1.dist-info/METADATA +0 -102
  69. cista-0.4.1.dist-info/RECORD +0 -86
  70. {cista-0.4.1.dist-info → cista-0.5.0.dist-info}/WHEEL +0 -0
  71. {cista-0.4.1.dist-info → cista-0.5.0.dist-info}/entry_points.txt +0 -0
@@ -1,11 +1,11 @@
1
- var Ta=Object.defineProperty;var La=(e,t,n)=>t in e?Ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Zt=(e,t,n)=>(La(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Fo(e,t){const n=Object.create(null),o=e.split(",");for(let s=0;s<o.length;s++)n[o[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Re={},Gn=[],Dt=()=>{},Fa=()=>!1,Ba=/^on[^a-z]/,Yr=e=>Ba.test(e),ti=e=>e.startsWith("onUpdate:"),Be=Object.assign,ni=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Na=Object.prototype.hasOwnProperty,we=(e,t)=>Na.call(e,t),X=Array.isArray,er=e=>pr(e)==="[object Map]",Wn=e=>pr(e)==="[object Set]",Ki=e=>pr(e)==="[object Date]",ja=e=>pr(e)==="[object RegExp]",le=e=>typeof e=="function",Ne=e=>typeof e=="string",sr=e=>typeof e=="symbol",Ie=e=>e!==null&&typeof e=="object",ri=e=>(Ie(e)||le(e))&&le(e.then)&&le(e.catch),tc=Object.prototype.toString,pr=e=>tc.call(e),$a=e=>pr(e).slice(8,-1),nc=e=>pr(e)==="[object Object]",oi=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Er=Fo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Da=/-(\w)/g,mt=Bo(e=>e.replace(Da,(t,n)=>n?n.toUpperCase():"")),Ha=/\B([A-Z])/g,It=Bo(e=>e.replace(Ha,"-$1").toLowerCase()),Zr=Bo(e=>e.charAt(0).toUpperCase()+e.slice(1)),kr=Bo(e=>e?`on${Zr(e)}`:""),wn=(e,t)=>!Object.is(e,t),tr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Eo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ko=e=>{const t=parseFloat(e);return isNaN(t)?e:t},So=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let zi;const Rs=()=>zi||(zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Va="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Ua=Fo(Va);function hr(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Ne(o)?qa(o):hr(o);if(s)for(const i in s)t[i]=s[i]}return t}else if(Ne(e)||Ie(e))return e}const Wa=/;(?![^(]*\))/g,Ka=/:([^]+)/,za=/\/\*[^]*?\*\//g;function qa(e){const t={};return e.replace(za,"").split(Wa).forEach(n=>{if(n){const o=n.split(Ka);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Mt(e){let t="";if(Ne(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const o=Mt(e[n]);o&&(t+=o+" ")}else if(Ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ja(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=Mt(t)),n&&(e.style=hr(n)),e}const Ya="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Za=Fo(Ya);function rc(e){return!!e||e===""}function Xa(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=xn(e[o],t[o]);return n}function xn(e,t){if(e===t)return!0;let n=Ki(e),o=Ki(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=sr(e),o=sr(t),n||o)return e===t;if(n=X(e),o=X(t),n||o)return n&&o?Xa(e,t):!1;if(n=Ie(e),o=Ie(t),n||o){if(!n||!o)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const a in e){const l=e.hasOwnProperty(a),d=t.hasOwnProperty(a);if(l&&!d||!l&&d||!xn(e[a],t[a]))return!1}}return String(e)===String(t)}function No(e,t){return e.findIndex(n=>xn(n,t))}const tt=e=>Ne(e)?e:e==null?"":X(e)||Ie(e)&&(e.toString===tc||!le(e.toString))?JSON.stringify(e,oc,2):String(e),oc=(e,t)=>t&&t.__v_isRef?oc(e,t.value):er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s])=>(n[`${o} =>`]=s,n),{})}:Wn(t)?{[`Set(${t.size})`]:[...t.values()]}:Ie(t)&&!X(t)&&!nc(t)?String(t):t;let wt;class si{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=wt,!t&&wt&&(this.index=(wt.scopes||(wt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=wt;try{return wt=this,t()}finally{wt=n}}}on(){wt=this}off(){wt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function ii(e){return new si(e)}function sc(e,t=wt){t&&t.active&&t.effects.push(e)}function li(){return wt}function ic(e){wt&&wt.cleanups.push(e)}const ci=e=>{const t=new Set(e);return t.w=0,t.n=0,t},lc=e=>(e.w&Cn)>0,cc=e=>(e.n&Cn)>0,Qa=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Cn},Ga=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const s=t[o];lc(s)&&!cc(s)?s.delete(e):t[n++]=s,s.w&=~Cn,s.n&=~Cn}t.length=n}},Oo=new WeakMap;let wr=0,Cn=1;const Is=30;let jt;const Bn=Symbol(""),Ms=Symbol("");class ir{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,sc(this,o)}run(){if(!this.active)return this.fn();let t=jt,n=_n;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=jt,jt=this,_n=!0,Cn=1<<++wr,wr<=Is?Qa(this):qi(this),this.fn()}finally{wr<=Is&&Ga(this),Cn=1<<--wr,jt=this.parent,_n=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){jt===this?this.deferStop=!0:this.active&&(qi(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function ef(e,t){e.effect instanceof ir&&(e=e.effect.fn);const n=new ir(e);t&&(Be(n,t),t.scope&&sc(n,t.scope)),(!t||!t.lazy)&&n.run();const o=n.run.bind(n);return o.effect=n,o}function tf(e){e.effect.stop()}let _n=!0;const uc=[];function mr(){uc.push(_n),_n=!1}function gr(){const e=uc.pop();_n=e===void 0?!0:e}function gt(e,t,n){if(_n&&jt){let o=Oo.get(e);o||Oo.set(e,o=new Map);let s=o.get(n);s||o.set(n,s=ci()),ac(s)}}function ac(e,t){let n=!1;wr<=Is?cc(e)||(e.n|=Cn,n=!lc(e)):n=!e.has(jt),n&&(e.add(jt),jt.deps.push(e))}function tn(e,t,n,o,s,i){const a=Oo.get(e);if(!a)return;let l=[];if(t==="clear")l=[...a.values()];else if(n==="length"&&X(e)){const d=Number(o);a.forEach((r,c)=>{(c==="length"||!sr(c)&&c>=d)&&l.push(r)})}else switch(n!==void 0&&l.push(a.get(n)),t){case"add":X(e)?oi(n)&&l.push(a.get("length")):(l.push(a.get(Bn)),er(e)&&l.push(a.get(Ms)));break;case"delete":X(e)||(l.push(a.get(Bn)),er(e)&&l.push(a.get(Ms)));break;case"set":er(e)&&l.push(a.get(Bn));break}if(l.length===1)l[0]&&As(l[0]);else{const d=[];for(const r of l)r&&d.push(...r);As(ci(d))}}function As(e,t){const n=X(e)?e:[...e];for(const o of n)o.computed&&Ji(o);for(const o of n)o.computed||Ji(o)}function Ji(e,t){(e!==jt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function nf(e,t){var n;return(n=Oo.get(e))==null?void 0:n.get(t)}const rf=Fo("__proto__,__v_isRef,__isVue"),fc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sr)),Yi=of();function of(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ve(this);for(let i=0,a=this.length;i<a;i++)gt(o,"get",i+"");const s=o[t](...n);return s===-1||s===!1?o[t](...n.map(ve)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){mr();const o=ve(this)[t].apply(this,n);return gr(),o}}),e}function sf(e){const t=ve(this);return gt(t,"has",e),t.hasOwnProperty(e)}class dc{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const s=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&o===(s?i?yc:vc:i?gc:mc).get(t))return t;const a=X(t);if(!s){if(a&&we(Yi,n))return Reflect.get(Yi,n,o);if(n==="hasOwnProperty")return sf}const l=Reflect.get(t,n,o);return(sr(n)?fc.has(n):rf(n))||(s||gt(t,"get",n),i)?l:je(l)?a&&oi(n)?l:l.value:Ie(l)?s?fi(l):Rn(l):l}}class pc extends dc{constructor(t=!1){super(!1,t)}set(t,n,o,s){let i=t[n];if($n(i)&&je(i)&&!je(o))return!1;if(!this._shallow&&(!Fr(o)&&!$n(o)&&(i=ve(i),o=ve(o)),!X(t)&&je(i)&&!je(o)))return i.value=o,!0;const a=X(t)&&oi(n)?Number(n)<t.length:we(t,n),l=Reflect.set(t,n,o,s);return t===ve(s)&&(a?wn(o,i)&&tn(t,"set",n,o):tn(t,"add",n,o)),l}deleteProperty(t,n){const o=we(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&tn(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!sr(n)||!fc.has(n))&&gt(t,"has",n),o}ownKeys(t){return gt(t,"iterate",X(t)?"length":Bn),Reflect.ownKeys(t)}}class hc extends dc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lf=new pc,cf=new hc,uf=new pc(!0),af=new hc(!0),ui=e=>e,jo=e=>Reflect.getPrototypeOf(e);function co(e,t,n=!1,o=!1){e=e.__v_raw;const s=ve(e),i=ve(t);n||(wn(t,i)&&gt(s,"get",t),gt(s,"get",i));const{has:a}=jo(s),l=o?ui:n?pi:Br;if(a.call(s,t))return l(e.get(t));if(a.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function uo(e,t=!1){const n=this.__v_raw,o=ve(n),s=ve(e);return t||(wn(e,s)&&gt(o,"has",e),gt(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ao(e,t=!1){return e=e.__v_raw,!t&&gt(ve(e),"iterate",Bn),Reflect.get(e,"size",e)}function Zi(e){e=ve(e);const t=ve(this);return jo(t).has.call(t,e)||(t.add(e),tn(t,"add",e,e)),this}function Xi(e,t){t=ve(t);const n=ve(this),{has:o,get:s}=jo(n);let i=o.call(n,e);i||(e=ve(e),i=o.call(n,e));const a=s.call(n,e);return n.set(e,t),i?wn(t,a)&&tn(n,"set",e,t):tn(n,"add",e,t),this}function Qi(e){const t=ve(this),{has:n,get:o}=jo(t);let s=n.call(t,e);s||(e=ve(e),s=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return s&&tn(t,"delete",e,void 0),i}function Gi(){const e=ve(this),t=e.size!==0,n=e.clear();return t&&tn(e,"clear",void 0,void 0),n}function fo(e,t){return function(o,s){const i=this,a=i.__v_raw,l=ve(a),d=t?ui:e?pi:Br;return!e&&gt(l,"iterate",Bn),a.forEach((r,c)=>o.call(s,d(r),d(c),i))}}function po(e,t,n){return function(...o){const s=this.__v_raw,i=ve(s),a=er(i),l=e==="entries"||e===Symbol.iterator&&a,d=e==="keys"&&a,r=s[e](...o),c=n?ui:t?pi:Br;return!t&&gt(i,"iterate",d?Ms:Bn),{next(){const{value:f,done:u}=r.next();return u?{value:f,done:u}:{value:l?[c(f[0]),c(f[1])]:c(f),done:u}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:this}}function ff(){const e={get(i){return co(this,i)},get size(){return ao(this)},has:uo,add:Zi,set:Xi,delete:Qi,clear:Gi,forEach:fo(!1,!1)},t={get(i){return co(this,i,!1,!0)},get size(){return ao(this)},has:uo,add:Zi,set:Xi,delete:Qi,clear:Gi,forEach:fo(!1,!0)},n={get(i){return co(this,i,!0)},get size(){return ao(this,!0)},has(i){return uo.call(this,i,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:fo(!0,!1)},o={get(i){return co(this,i,!0,!0)},get size(){return ao(this,!0)},has(i){return uo.call(this,i,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:fo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=po(i,!1,!1),n[i]=po(i,!0,!1),t[i]=po(i,!1,!0),o[i]=po(i,!0,!0)}),[e,n,t,o]}const[df,pf,hf,mf]=ff();function $o(e,t){const n=t?e?mf:hf:e?pf:df;return(o,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(we(n,s)&&s in o?n:o,s,i)}const gf={get:$o(!1,!1)},vf={get:$o(!1,!0)},yf={get:$o(!0,!1)},_f={get:$o(!0,!0)},mc=new WeakMap,gc=new WeakMap,vc=new WeakMap,yc=new WeakMap;function bf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wf(e){return e.__v_skip||!Object.isExtensible(e)?0:bf($a(e))}function Rn(e){return $n(e)?e:Do(e,!1,lf,gf,mc)}function ai(e){return Do(e,!1,uf,vf,gc)}function fi(e){return Do(e,!0,cf,yf,vc)}function xf(e){return Do(e,!0,af,_f,yc)}function Do(e,t,n,o,s){if(!Ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const a=wf(e);if(a===0)return e;const l=new Proxy(e,a===2?o:n);return s.set(e,l),l}function nn(e){return $n(e)?nn(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function Fr(e){return!!(e&&e.__v_isShallow)}function di(e){return nn(e)||$n(e)}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Xr(e){return Eo(e,"__v_skip",!0),e}const Br=e=>Ie(e)?Rn(e):e,pi=e=>Ie(e)?fi(e):e;function hi(e){_n&&jt&&(e=ve(e),ac(e.dep||(e.dep=ci())))}function Ho(e,t){e=ve(e);const n=e.dep;n&&As(n)}function je(e){return!!(e&&e.__v_isRef===!0)}function Ve(e){return _c(e,!1)}function Nr(e){return _c(e,!0)}function _c(e,t){return je(e)?e:new Cf(e,t)}class Cf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ve(t),this._value=n?t:Br(t)}get value(){return hi(this),this._value}set value(t){const n=this.__v_isShallow||Fr(t)||$n(t);t=n?t:ve(t),wn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Br(t),Ho(this))}}function Ef(e){Ho(e)}function _e(e){return je(e)?e.value:e}function kf(e){return le(e)?e():_e(e)}const Sf={get:(e,t,n)=>_e(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return je(s)&&!je(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function mi(e){return nn(e)?e:new Proxy(e,Sf)}class Of{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>hi(this),()=>Ho(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function Pf(e){return new Of(e)}function bc(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=wc(e,n);return t}class Rf{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return nf(ve(this._object),this._key)}}class If{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Mf(e,t,n){return je(e)?e:le(e)?new If(e):Ie(e)&&arguments.length>1?wc(e,t,n):Ve(e)}function wc(e,t,n){const o=e[t];return je(o)?o:new Rf(e,t,n)}class Af{constructor(t,n,o,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ir(t,()=>{this._dirty||(this._dirty=!0,Ho(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=ve(this);return hi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Tf(e,t,n=!1){let o,s;const i=le(e);return i?(o=e,s=Dt):(o=e.get,s=e.set),new Af(o,s,i||!s,n)}function Lf(e,...t){}function Ff(e,t){}function rn(e,t,n,o){let s;try{s=o?e(...o):e()}catch(i){Kn(i,t,n)}return s}function Ct(e,t,n,o){if(le(e)){const i=rn(e,t,n,o);return i&&ri(i)&&i.catch(a=>{Kn(a,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(Ct(e[i],t,n,o));return s}function Kn(e,t,n,o=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,l=n;for(;i;){const r=i.ec;if(r){for(let c=0;c<r.length;c++)if(r[c](e,a,l)===!1)return}i=i.parent}const d=t.appContext.config.errorHandler;if(d){rn(d,null,10,[e,a,l]);return}}Bf(e,n,s,o)}function Bf(e,t,n,o=!0){console.error(e)}let jr=!1,Ts=!1;const it=[];let Wt=0;const nr=[];let Gt=null,Tn=0;const xc=Promise.resolve();let gi=null;function zn(e){const t=gi||xc;return e?t.then(this?e.bind(this):e):t}function Nf(e){let t=Wt+1,n=it.length;for(;t<n;){const o=t+n>>>1,s=it[o],i=$r(s);i<e||i===e&&s.pre?t=o+1:n=o}return t}function Vo(e){(!it.length||!it.includes(e,jr&&e.allowRecurse?Wt+1:Wt))&&(e.id==null?it.push(e):it.splice(Nf(e.id),0,e),Cc())}function Cc(){!jr&&!Ts&&(Ts=!0,gi=xc.then(Ec))}function jf(e){const t=it.indexOf(e);t>Wt&&it.splice(t,1)}function Po(e){X(e)?nr.push(...e):(!Gt||!Gt.includes(e,e.allowRecurse?Tn+1:Tn))&&nr.push(e),Cc()}function el(e,t=jr?Wt+1:0){for(;t<it.length;t++){const n=it[t];n&&n.pre&&(it.splice(t,1),t--,n())}}function Ro(e){if(nr.length){const t=[...new Set(nr)];if(nr.length=0,Gt){Gt.push(...t);return}for(Gt=t,Gt.sort((n,o)=>$r(n)-$r(o)),Tn=0;Tn<Gt.length;Tn++)Gt[Tn]();Gt=null,Tn=0}}const $r=e=>e.id==null?1/0:e.id,$f=(e,t)=>{const n=$r(e)-$r(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ec(e){Ts=!1,jr=!0,it.sort($f);const t=Dt;try{for(Wt=0;Wt<it.length;Wt++){const n=it[Wt];n&&n.active!==!1&&rn(n,null,14)}}finally{Wt=0,it.length=0,Ro(),jr=!1,gi=null,(it.length||nr.length)&&Ec()}}let Xn,ho=[];function kc(e,t){var n,o;Xn=e,Xn?(Xn.enabled=!0,ho.forEach(({event:s,args:i})=>Xn.emit(s,...i)),ho=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{kc(i,t)}),setTimeout(()=>{Xn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ho=[])},3e3)):ho=[]}function Df(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Re;let s=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){const c=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:u}=o[c]||Re;u&&(s=n.map(p=>Ne(p)?p.trim():p)),f&&(s=n.map(ko))}let l,d=o[l=kr(t)]||o[l=kr(mt(t))];!d&&i&&(d=o[l=kr(It(t))]),d&&Ct(d,e,6,s);const r=o[l+"Once"];if(r){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ct(r,e,6,s)}}function Sc(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const i=e.emits;let a={},l=!1;if(!le(e)){const d=r=>{const c=Sc(r,t,!0);c&&(l=!0,Be(a,c))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!i&&!l?(Ie(e)&&o.set(e,null),null):(X(i)?i.forEach(d=>a[d]=null):Be(a,i),Ie(e)&&o.set(e,a),a)}function Uo(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,It(t))||we(e,t))}let Qe=null,Wo=null;function Dr(e){const t=Qe;return Qe=e,Wo=e&&e.type.__scopeId||null,t}function Ko(e){Wo=e}function zo(){Wo=null}const Hf=e=>Qr;function Qr(e,t=Qe,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Ds(-1);const i=Dr(t);let a;try{a=e(...s)}finally{Dr(i),o._d&&Ds(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function wo(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:i,propsOptions:[a],slots:l,attrs:d,emit:r,render:c,renderCache:f,data:u,setupState:p,ctx:m,inheritAttrs:g}=e;let C,x;const y=Dr(e);try{if(n.shapeFlag&4){const h=s||o;C=xt(c.call(h,h,f,i,p,u,m)),x=d}else{const h=t;C=xt(h.length>1?h(i,{attrs:d,slots:l,emit:r}):h(i,null)),x=t.props?d:Uf(d)}}catch(h){Rr.length=0,Kn(h,e,1),C=ae(lt)}let v=C;if(x&&g!==!1){const h=Object.keys(x),{shapeFlag:b}=v;h.length&&b&7&&(a&&h.some(ti)&&(x=Wf(x,a)),v=qt(v,x))}return n.dirs&&(v=qt(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),C=v,Dr(y),C}function Vf(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(Sn(o)){if(o.type!==lt||o.children==="v-if"){if(t)return;t=o}}else return}return t}const Uf=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yr(n))&&((t||(t={}))[n]=e[n]);return t},Wf=(e,t)=>{const n={};for(const o in e)(!ti(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Kf(e,t,n){const{props:o,children:s,component:i}=e,{props:a,children:l,patchFlag:d}=t,r=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&d>=0){if(d&1024)return!0;if(d&16)return o?tl(o,a,r):!!a;if(d&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const u=c[f];if(a[u]!==o[u]&&!Uo(r,u))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?tl(o,a,r):!0:!!a;return!1}function tl(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const i=o[s];if(t[i]!==e[i]&&!Uo(n,i))return!0}return!1}function vi({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yi="components",zf="directives";function qf(e,t){return bi(yi,e,!0,t)||e}const Oc=Symbol.for("v-ndc");function _i(e){return Ne(e)?bi(yi,e,!1)||e:e||Oc}function Jf(e){return bi(zf,e)}function bi(e,t,n=!0,o=!1){const s=Qe||qe;if(s){const i=s.type;if(e===yi){const l=Us(i,!1);if(l&&(l===t||l===mt(t)||l===Zr(mt(t))))return i}const a=nl(s[e]||i[e],t)||nl(s.appContext[e],t);return!a&&o?i:a}}function nl(e,t){return e&&(e[t]||e[mt(t)]||e[Zr(mt(t))])}const Pc=e=>e.__isSuspense,Yf={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,i,a,l,d,r){e==null?Xf(t,n,o,s,i,a,l,d,r):Qf(e,t,n,o,s,a,l,d,r)},hydrate:Gf,create:wi,normalize:ed},Zf=Yf;function Hr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Xf(e,t,n,o,s,i,a,l,d){const{p:r,o:{createElement:c}}=d,f=c("div"),u=e.suspense=wi(e,s,o,t,f,n,i,a,l,d);r(null,u.pendingBranch=e.ssContent,f,null,o,u,i,a),u.deps>0?(Hr(e,"onPending"),Hr(e,"onFallback"),r(null,e.ssFallback,t,n,o,null,i,a),rr(u,e.ssFallback)):u.resolve(!1,!0)}function Qf(e,t,n,o,s,i,a,l,{p:d,um:r,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const u=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:C,isHydrating:x}=f;if(g)f.pendingBranch=u,$t(u,g)?(d(g,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0?f.resolve():C&&(d(m,p,n,o,s,null,i,a,l),rr(f,p))):(f.pendingId++,x?(f.isHydrating=!1,f.activeBranch=g):r(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),C?(d(null,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0?f.resolve():(d(m,p,n,o,s,null,i,a,l),rr(f,p))):m&&$t(u,m)?(d(m,u,n,o,s,f,i,a,l),f.resolve(!0)):(d(null,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0&&f.resolve()));else if(m&&$t(u,m))d(m,u,n,o,s,f,i,a,l),rr(f,u);else if(Hr(t,"onPending"),f.pendingBranch=u,f.pendingId++,d(null,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:v}=f;y>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},y):y===0&&f.fallback(p)}}function wi(e,t,n,o,s,i,a,l,d,r,c=!1){const{p:f,m:u,um:p,n:m,o:{parentNode:g,remove:C}}=r;let x;const y=td(e);y&&t!=null&&t.pendingBranch&&(x=t.pendingId,t.deps++);const v=e.props?So(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(b=!1,A=!1){const{vnode:I,activeBranch:O,pendingBranch:S,pendingId:k,effects:M,parentComponent:P,container:F}=h;let V=!1;if(h.isHydrating)h.isHydrating=!1;else if(!b){V=O&&S.transition&&S.transition.mode==="out-in",V&&(O.transition.afterLeave=()=>{k===h.pendingId&&(u(S,F,J,0),Po(M))});let{anchor:J}=h;O&&(J=m(O),p(O,P,h,!0)),V||u(S,F,J,0)}rr(h,S),h.pendingBranch=null,h.isInFallback=!1;let z=h.parent,T=!1;for(;z;){if(z.pendingBranch){z.effects.push(...M),T=!0;break}z=z.parent}!T&&!V&&Po(M),h.effects=[],y&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),Hr(I,"onResolve")},fallback(b){if(!h.pendingBranch)return;const{vnode:A,activeBranch:I,parentComponent:O,container:S,isSVG:k}=h;Hr(A,"onFallback");const M=m(I),P=()=>{h.isInFallback&&(f(null,b,S,M,O,null,k,l,d),rr(h,b))},F=b.transition&&b.transition.mode==="out-in";F&&(I.transition.afterLeave=P),h.isInFallback=!0,p(I,O,null,!0),F||P()},move(b,A,I){h.activeBranch&&u(h.activeBranch,b,A,I),h.container=b},next(){return h.activeBranch&&m(h.activeBranch)},registerDep(b,A){const I=!!h.pendingBranch;I&&h.deps++;const O=b.vnode.el;b.asyncDep.catch(S=>{Kn(S,b,0)}).then(S=>{if(b.isUnmounted||h.isUnmounted||h.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:k}=b;Hs(b,S,!1),O&&(k.el=O);const M=!O&&b.subTree.el;A(b,k,g(O||b.subTree.el),O?null:m(b.subTree),h,a,d),M&&C(M),vi(b,k.el),I&&--h.deps===0&&h.resolve()})},unmount(b,A){h.isUnmounted=!0,h.activeBranch&&p(h.activeBranch,n,b,A),h.pendingBranch&&p(h.pendingBranch,n,b,A)}};return h}function Gf(e,t,n,o,s,i,a,l,d){const r=t.suspense=wi(t,o,n,e.parentNode,document.createElement("div"),null,s,i,a,l,!0),c=d(e,r.pendingBranch=t.ssContent,n,r,i,a);return r.deps===0&&r.resolve(!1,!0),c}function ed(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=rl(o?n.default:n),e.ssFallback=o?rl(n.fallback):ae(lt)}function rl(e){let t;if(le(e)){const n=Vn&&e._c;n&&(e._d=!1,he()),e=e(),n&&(e._d=!0,t=ht,ou())}return X(e)&&(e=Vf(e)),e=xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Rc(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Po(e)}function rr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,s=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=s,vi(o,s))}function td(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function En(e,t){return Gr(e,null,t)}function Ic(e,t){return Gr(e,null,{flush:"post"})}function nd(e,t){return Gr(e,null,{flush:"sync"})}const mo={};function on(e,t,n){return Gr(e,t,n)}function Gr(e,t,{immediate:n,deep:o,flush:s,onTrack:i,onTrigger:a}=Re){var l;const d=li()===((l=qe)==null?void 0:l.scope)?qe:null;let r,c=!1,f=!1;if(je(e)?(r=()=>e.value,c=Fr(e)):nn(e)?(r=()=>e,o=!0):X(e)?(f=!0,c=e.some(h=>nn(h)||Fr(h)),r=()=>e.map(h=>{if(je(h))return h.value;if(nn(h))return Fn(h);if(le(h))return rn(h,d,2)})):le(e)?t?r=()=>rn(e,d,2):r=()=>{if(!(d&&d.isUnmounted))return u&&u(),Ct(e,d,3,[p])}:r=Dt,t&&o){const h=r;r=()=>Fn(h())}let u,p=h=>{u=y.onStop=()=>{rn(h,d,4)}},m;if(cr)if(p=Dt,t?n&&Ct(t,d,3,[r(),f?[]:void 0,p]):r(),s==="sync"){const h=mu();m=h.__watcherHandles||(h.__watcherHandles=[])}else return Dt;let g=f?new Array(e.length).fill(mo):mo;const C=()=>{if(y.active)if(t){const h=y.run();(o||c||(f?h.some((b,A)=>wn(b,g[A])):wn(h,g)))&&(u&&u(),Ct(t,d,3,[h,g===mo?void 0:f&&g[0]===mo?[]:g,p]),g=h)}else y.run()};C.allowRecurse=!!t;let x;s==="sync"?x=C:s==="post"?x=()=>et(C,d&&d.suspense):(C.pre=!0,d&&(C.id=d.uid),x=()=>Vo(C));const y=new ir(r,x);t?n?C():g=y.run():s==="post"?et(y.run.bind(y),d&&d.suspense):y.run();const v=()=>{y.stop(),d&&d.scope&&ni(d.scope.effects,y)};return m&&m.push(v),v}function rd(e,t,n){const o=this.proxy,s=Ne(e)?e.includes(".")?Mc(o,e):()=>o[e]:e.bind(o,o);let i;le(t)?i=t:(i=t.handler,n=t);const a=qe;On(this);const l=Gr(s,i.bind(o),n);return a?On(a):bn(),l}function Mc(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}function Fn(e,t){if(!Ie(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),je(e))Fn(e.value,t);else if(X(e))for(let n=0;n<e.length;n++)Fn(e[n],t);else if(Wn(e)||er(e))e.forEach(n=>{Fn(n,t)});else if(nc(e))for(const n in e)Fn(e[n],t);return e}function Vr(e,t){const n=Qe;if(n===null)return e;const o=Go(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[a,l,d,r=Re]=t[i];a&&(le(a)&&(a={mounted:a,updated:a}),a.deep&&Fn(l),s.push({dir:a,instance:o,value:l,oldValue:void 0,arg:d,modifiers:r}))}return e}function Ut(e,t,n,o){const s=e.dirs,i=t&&t.dirs;for(let a=0;a<s.length;a++){const l=s[a];i&&(l.oldValue=i[a].value);let d=l.dir[o];d&&(mr(),Ct(d,n,8,[e.el,l,e,t]),gr())}}const gn=Symbol("_leaveCb"),go=Symbol("_enterCb");function xi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),Zo(()=>{e.isUnmounting=!0}),e}const Pt=[Function,Array],Ci={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pt,onEnter:Pt,onAfterEnter:Pt,onEnterCancelled:Pt,onBeforeLeave:Pt,onLeave:Pt,onAfterLeave:Pt,onLeaveCancelled:Pt,onBeforeAppear:Pt,onAppear:Pt,onAfterAppear:Pt,onAppearCancelled:Pt},od={name:"BaseTransition",props:Ci,setup(e,{slots:t}){const n=cn(),o=xi();let s;return()=>{const i=t.default&&qo(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const g of i)if(g.type!==lt){a=g;break}}const l=ve(e),{mode:d}=l;if(o.isLeaving)return ys(a);const r=ol(a);if(!r)return ys(a);const c=lr(r,l,o,n);Dn(r,c);const f=n.subTree,u=f&&ol(f);let p=!1;const{getTransitionKey:m}=r.type;if(m){const g=m();s===void 0?s=g:g!==s&&(s=g,p=!0)}if(u&&u.type!==lt&&(!$t(r,u)||p)){const g=lr(u,l,o,n);if(Dn(u,g),d==="out-in")return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},ys(a);d==="in-out"&&r.type!==lt&&(g.delayLeave=(C,x,y)=>{const v=Tc(o,u);v[String(u.key)]=u,C[gn]=()=>{x(),C[gn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return a}}},Ac=od;function Tc(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function lr(e,t,n,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:r,onEnterCancelled:c,onBeforeLeave:f,onLeave:u,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:C,onAfterAppear:x,onAppearCancelled:y}=t,v=String(e.key),h=Tc(n,e),b=(O,S)=>{O&&Ct(O,o,9,S)},A=(O,S)=>{const k=S[1];b(O,S),X(O)?O.every(M=>M.length<=1)&&k():O.length<=1&&k()},I={mode:i,persisted:a,beforeEnter(O){let S=l;if(!n.isMounted)if(s)S=g||l;else return;O[gn]&&O[gn](!0);const k=h[v];k&&$t(e,k)&&k.el[gn]&&k.el[gn](),b(S,[O])},enter(O){let S=d,k=r,M=c;if(!n.isMounted)if(s)S=C||d,k=x||r,M=y||c;else return;let P=!1;const F=O[go]=V=>{P||(P=!0,V?b(M,[O]):b(k,[O]),I.delayedLeave&&I.delayedLeave(),O[go]=void 0)};S?A(S,[O,F]):F()},leave(O,S){const k=String(e.key);if(O[go]&&O[go](!0),n.isUnmounting)return S();b(f,[O]);let M=!1;const P=O[gn]=F=>{M||(M=!0,S(),F?b(m,[O]):b(p,[O]),O[gn]=void 0,h[k]===e&&delete h[k])};h[k]=e,u?A(u,[O,P]):P()},clone(O){return lr(O,t,n,o)}};return I}function ys(e){if(eo(e))return e=qt(e),e.children=null,e}function ol(e){return eo(e)?e.children?e.children[0]:void 0:e}function Dn(e,t){e.shapeFlag&6&&e.component?Dn(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 qo(e,t=!1,n){let o=[],s=0;for(let i=0;i<e.length;i++){let a=e[i];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===Le?(a.patchFlag&128&&s++,o=o.concat(qo(a.children,t,l))):(t||a.type!==lt)&&o.push(l!=null?qt(a,{key:l}):a)}if(s>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ge(e,t){return le(e)?(()=>Be({name:e.name},t,{setup:e}))():e}const Nn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Lc(e){le(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:s=200,timeout:i,suspensible:a=!0,onError:l}=e;let d=null,r,c=0;const f=()=>(c++,d=null,u()),u=()=>{let p;return d||(p=d=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((g,C)=>{l(m,()=>g(f()),()=>C(m),c+1)});throw m}).then(m=>p!==d&&d?d:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),r=m,m)))};return Ge({name:"AsyncComponentWrapper",__asyncLoader:u,get __asyncResolved(){return r},setup(){const p=qe;if(r)return()=>_s(r,p);const m=y=>{d=null,Kn(y,p,13,!o)};if(a&&p.suspense||cr)return u().then(y=>()=>_s(y,p)).catch(y=>(m(y),()=>o?ae(o,{error:y}):null));const g=Ve(!1),C=Ve(),x=Ve(!!s);return s&&setTimeout(()=>{x.value=!1},s),i!=null&&setTimeout(()=>{if(!g.value&&!C.value){const y=new Error(`Async component timed out after ${i}ms.`);m(y),C.value=y}},i),u().then(()=>{g.value=!0,p.parent&&eo(p.parent.vnode)&&Vo(p.parent.update)}).catch(y=>{m(y),C.value=y}),()=>{if(g.value&&r)return _s(r,p);if(C.value&&o)return ae(o,{error:C.value});if(n&&!x.value)return ae(n)}}})}function _s(e,t){const{ref:n,props:o,children:s,ce:i}=t.vnode,a=ae(e,o,s);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const eo=e=>e.type.__isKeepAlive,sd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=cn(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const s=new Map,i=new Set;let a=null;const l=n.suspense,{renderer:{p:d,m:r,um:c,o:{createElement:f}}}=o,u=f("div");o.activate=(y,v,h,b,A)=>{const I=y.component;r(y,v,h,0,l),d(I.vnode,y,v,h,I,l,b,y.slotScopeIds,A),et(()=>{I.isDeactivated=!1,I.a&&tr(I.a);const O=y.props&&y.props.onVnodeMounted;O&&pt(O,I.parent,y)},l)},o.deactivate=y=>{const v=y.component;r(y,u,null,1,l),et(()=>{v.da&&tr(v.da);const h=y.props&&y.props.onVnodeUnmounted;h&&pt(h,v.parent,y),v.isDeactivated=!0},l)};function p(y){bs(y),c(y,n,l,!0)}function m(y){s.forEach((v,h)=>{const b=Us(v.type);b&&(!y||!y(b))&&g(h)})}function g(y){const v=s.get(y);!a||!$t(v,a)?p(v):a&&bs(a),s.delete(y),i.delete(y)}on(()=>[e.include,e.exclude],([y,v])=>{y&&m(h=>xr(y,h)),v&&m(h=>!xr(v,h))},{flush:"post",deep:!0});let C=null;const x=()=>{C!=null&&s.set(C,ws(n.subTree))};return At(x),Yo(x),Zo(()=>{s.forEach(y=>{const{subTree:v,suspense:h}=n,b=ws(v);if(y.type===b.type&&y.key===b.key){bs(b);const A=b.component.da;A&&et(A,h);return}p(y)})}),()=>{if(C=null,!t.default)return null;const y=t.default(),v=y[0];if(y.length>1)return a=null,y;if(!Sn(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return a=null,v;let h=ws(v);const b=h.type,A=Us(Nn(h)?h.type.__asyncResolved||{}:b),{include:I,exclude:O,max:S}=e;if(I&&(!A||!xr(I,A))||O&&A&&xr(O,A))return a=h,v;const k=h.key==null?b:h.key,M=s.get(k);return h.el&&(h=qt(h),v.shapeFlag&128&&(v.ssContent=h)),C=k,M?(h.el=M.el,h.component=M.component,h.transition&&Dn(h,h.transition),h.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),S&&i.size>parseInt(S,10)&&g(i.values().next().value)),h.shapeFlag|=256,a=h,Pc(v.type)?v:h}}},id=sd;function xr(e,t){return X(e)?e.some(n=>xr(n,t)):Ne(e)?e.split(",").includes(t):ja(e)?e.test(t):!1}function Fc(e,t){Nc(e,"a",t)}function Bc(e,t){Nc(e,"da",t)}function Nc(e,t,n=qe){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Jo(t,o,n),n){let s=n.parent;for(;s&&s.parent;)eo(s.parent.vnode)&&ld(o,t,n,s),s=s.parent}}function ld(e,t,n,o){const s=Jo(t,e,o,!0);kn(()=>{ni(o[t],s)},n)}function bs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ws(e){return e.shapeFlag&128?e.ssContent:e}function Jo(e,t,n=qe,o=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;mr(),On(n);const l=Ct(t,n,e,a);return bn(),gr(),l});return o?s.unshift(i):s.push(i),i}}const ln=e=>(t,n=qe)=>(!cr||e==="sp")&&Jo(e,(...o)=>t(...o),n),jc=ln("bm"),At=ln("m"),Ei=ln("bu"),Yo=ln("u"),Zo=ln("bum"),kn=ln("um"),$c=ln("sp"),Dc=ln("rtg"),Hc=ln("rtc");function Vc(e,t=qe){Jo("ec",e,t)}function ki(e,t,n,o){let s;const i=n&&n[o];if(X(e)||Ne(e)){s=new Array(e.length);for(let a=0,l=e.length;a<l;a++)s[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i&&i[a])}else if(Ie(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,d=a.length;l<d;l++){const r=a[l];s[l]=t(e[r],r,l,i&&i[l])}}else s=[];return n&&(n[o]=s),s}function cd(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(X(o))for(let s=0;s<o.length;s++)e[o[s].name]=o[s].fn;else o&&(e[o.name]=o.key?(...s)=>{const i=o.fn(...s);return i&&(i.key=o.key),i}:o.fn)}return e}function Xo(e,t,n={},o,s){if(Qe.isCE||Qe.parent&&Nn(Qe.parent)&&Qe.parent.isCE)return t!=="default"&&(n.name=t),ae("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),he();const a=i&&Uc(i(n)),l=zt(Le,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Uc(e){return e.some(t=>Sn(t)?!(t.type===lt||t.type===Le&&!Uc(t.children)):!0)?e:null}function ud(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:kr(o)]=e[o];return n}const Ls=e=>e?au(e)?Go(e)||e.proxy:Ls(e.parent):null,Sr=Be(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=>Ls(e.parent),$root:e=>Ls(e.root),$emit:e=>e.emit,$options:e=>Si(e),$forceUpdate:e=>e.f||(e.f=()=>Vo(e.update)),$nextTick:e=>e.n||(e.n=zn.bind(e.proxy)),$watch:e=>rd.bind(e)}),xs=(e,t)=>e!==Re&&!e.__isScriptSetup&&we(e,t),Fs={get({_:e},t){const{ctx:n,setupState:o,data:s,props:i,accessCache:a,type:l,appContext:d}=e;let r;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(xs(o,t))return a[t]=1,o[t];if(s!==Re&&we(s,t))return a[t]=2,s[t];if((r=e.propsOptions[0])&&we(r,t))return a[t]=3,i[t];if(n!==Re&&we(n,t))return a[t]=4,n[t];Bs&&(a[t]=0)}}const c=Sr[t];let f,u;if(c)return t==="$attrs"&&gt(e,"get",t),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Re&&we(n,t))return a[t]=4,n[t];if(u=d.config.globalProperties,we(u,t))return u[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:i}=e;return xs(s,t)?(s[t]=n,!0):o!==Re&&we(o,t)?(o[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:i}},a){let l;return!!n[a]||e!==Re&&we(e,a)||xs(t,a)||(l=i[0])&&we(l,a)||we(o,a)||we(Sr,a)||we(s.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:we(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ad=Be({},Fs,{get(e,t){if(t!==Symbol.unscopables)return Fs.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Ua(t)}});function fd(){return null}function dd(){return null}function pd(e){}function hd(e){}function md(){return null}function gd(){}function vd(e,t){return null}function yd(){return Wc().slots}function _d(){return Wc().attrs}function bd(e,t,n){const o=cn();if(n&&n.local){const s=Ve(e[t]);return on(()=>e[t],i=>s.value=i),on(s,i=>{i!==e[t]&&o.emit(`update:${t}`,i)}),s}else return{__v_isRef:!0,get value(){return e[t]},set value(s){o.emit(`update:${t}`,s)}}}function Wc(){const e=cn();return e.setupContext||(e.setupContext=pu(e))}function Ur(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wd(e,t){const n=Ur(e);for(const o in t){if(o.startsWith("__skip"))continue;let s=n[o];s?X(s)||le(s)?s=n[o]={type:s,default:t[o]}:s.default=t[o]:s===null&&(s=n[o]={default:t[o]}),s&&t[`__skip_${o}`]&&(s.skipFactory=!0)}return n}function xd(e,t){return!e||!t?e||t:X(e)&&X(t)?e.concat(t):Be({},Ur(e),Ur(t))}function Cd(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function Ed(e){const t=cn();let n=e();return bn(),ri(n)&&(n=n.catch(o=>{throw On(t),o})),[n,()=>On(t)]}let Bs=!0;function kd(e){const t=Si(e),n=e.proxy,o=e.ctx;Bs=!1,t.beforeCreate&&sl(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:l,provide:d,inject:r,created:c,beforeMount:f,mounted:u,beforeUpdate:p,updated:m,activated:g,deactivated:C,beforeDestroy:x,beforeUnmount:y,destroyed:v,unmounted:h,render:b,renderTracked:A,renderTriggered:I,errorCaptured:O,serverPrefetch:S,expose:k,inheritAttrs:M,components:P,directives:F,filters:V}=t;if(r&&Sd(r,o,null),a)for(const J in a){const q=a[J];le(q)&&(o[J]=q.bind(n))}if(s){const J=s.call(n,n);Ie(J)&&(e.data=Rn(J))}if(Bs=!0,i)for(const J in i){const q=i[J],Me=le(q)?q.bind(n,n):le(q.get)?q.get.bind(n,n):Dt,Ue=!le(q)&&le(q.set)?q.set.bind(n):Dt,Je=Fe({get:Me,set:Ue});Object.defineProperty(o,J,{enumerable:!0,configurable:!0,get:()=>Je.value,set:Ae=>Je.value=Ae})}if(l)for(const J in l)Kc(l[J],o,n,J);if(d){const J=le(d)?d.call(n):d;Reflect.ownKeys(J).forEach(q=>{Or(q,J[q])})}c&&sl(c,e,"c");function T(J,q){X(q)?q.forEach(Me=>J(Me.bind(n))):q&&J(q.bind(n))}if(T(jc,f),T(At,u),T(Ei,p),T(Yo,m),T(Fc,g),T(Bc,C),T(Vc,O),T(Hc,A),T(Dc,I),T(Zo,y),T(kn,h),T($c,S),X(k))if(k.length){const J=e.exposed||(e.exposed={});k.forEach(q=>{Object.defineProperty(J,q,{get:()=>n[q],set:Me=>n[q]=Me})})}else e.exposed||(e.exposed={});b&&e.render===Dt&&(e.render=b),M!=null&&(e.inheritAttrs=M),P&&(e.components=P),F&&(e.directives=F)}function Sd(e,t,n=Dt){X(e)&&(e=Ns(e));for(const o in e){const s=e[o];let i;Ie(s)?"default"in s?i=Tt(s.from||o,s.default,!0):i=Tt(s.from||o):i=Tt(s),je(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function sl(e,t,n){Ct(X(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Kc(e,t,n,o){const s=o.includes(".")?Mc(n,o):()=>n[o];if(Ne(e)){const i=t[e];le(i)&&on(s,i)}else if(le(e))on(s,e.bind(n));else if(Ie(e))if(X(e))e.forEach(i=>Kc(i,t,n,o));else{const i=le(e.handler)?e.handler.bind(n):t[e.handler];le(i)&&on(s,i,e)}}function Si(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let d;return l?d=l:!s.length&&!n&&!o?d=t:(d={},s.length&&s.forEach(r=>Io(d,r,a,!0)),Io(d,t,a)),Ie(t)&&i.set(t,d),d}function Io(e,t,n,o=!1){const{mixins:s,extends:i}=t;i&&Io(e,i,n,!0),s&&s.forEach(a=>Io(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const l=Od[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Od={data:il,props:ll,emits:ll,methods:Cr,computed:Cr,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Cr,directives:Cr,watch:Rd,provide:il,inject:Pd};function il(e,t){return t?e?function(){return Be(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function Pd(e,t){return Cr(Ns(e),Ns(t))}function Ns(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Cr(e,t){return e?Be(Object.create(null),e,t):t}function ll(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Be(Object.create(null),Ur(e),Ur(t??{})):t}function Rd(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const o in t)n[o]=ut(e[o],t[o]);return n}function zc(){return{app:null,config:{isNativeTag:Fa,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 Id=0;function Md(e,t){return function(o,s=null){le(o)||(o=Be({},o)),s!=null&&!Ie(s)&&(s=null);const i=zc(),a=new WeakSet;let l=!1;const d=i.app={_uid:Id++,_component:o,_props:s,_container:null,_context:i,_instance:null,version:vu,get config(){return i.config},set config(r){},use(r,...c){return a.has(r)||(r&&le(r.install)?(a.add(r),r.install(d,...c)):le(r)&&(a.add(r),r(d,...c))),d},mixin(r){return i.mixins.includes(r)||i.mixins.push(r),d},component(r,c){return c?(i.components[r]=c,d):i.components[r]},directive(r,c){return c?(i.directives[r]=c,d):i.directives[r]},mount(r,c,f){if(!l){const u=ae(o,s);return u.appContext=i,c&&t?t(u,r):e(u,r,f),l=!0,d._container=r,r.__vue_app__=d,Go(u.component)||u.component.proxy}},unmount(){l&&(e(null,d._container),delete d._container.__vue_app__)},provide(r,c){return i.provides[r]=c,d},runWithContext(r){Wr=d;try{return r()}finally{Wr=null}}};return d}}let Wr=null;function Or(e,t){if(qe){let n=qe.provides;const o=qe.parent&&qe.parent.provides;o===n&&(n=qe.provides=Object.create(o)),n[e]=t}}function Tt(e,t,n=!1){const o=qe||Qe;if(o||Wr){const s=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Wr._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&le(t)?t.call(o&&o.proxy):t}}function qc(){return!!(qe||Qe||Wr)}function Ad(e,t,n,o=!1){const s={},i={};Eo(i,Qo,1),e.propsDefaults=Object.create(null),Jc(e,t,s,i);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=o?s:ai(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Td(e,t,n,o){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,l=ve(s),[d]=e.propsOptions;let r=!1;if((o||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let u=c[f];if(Uo(e.emitsOptions,u))continue;const p=t[u];if(d)if(we(i,u))p!==i[u]&&(i[u]=p,r=!0);else{const m=mt(u);s[m]=js(d,l,m,p,e,!1)}else p!==i[u]&&(i[u]=p,r=!0)}}}else{Jc(e,t,s,i)&&(r=!0);let c;for(const f in l)(!t||!we(t,f)&&((c=It(f))===f||!we(t,c)))&&(d?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=js(d,l,f,void 0,e,!0)):delete s[f]);if(i!==l)for(const f in i)(!t||!we(t,f))&&(delete i[f],r=!0)}r&&tn(e,"set","$attrs")}function Jc(e,t,n,o){const[s,i]=e.propsOptions;let a=!1,l;if(t)for(let d in t){if(Er(d))continue;const r=t[d];let c;s&&we(s,c=mt(d))?!i||!i.includes(c)?n[c]=r:(l||(l={}))[c]=r:Uo(e.emitsOptions,d)||(!(d in o)||r!==o[d])&&(o[d]=r,a=!0)}if(i){const d=ve(n),r=l||Re;for(let c=0;c<i.length;c++){const f=i[c];n[f]=js(s,d,f,r[f],e,!we(r,f))}}return a}function js(e,t,n,o,s,i){const a=e[n];if(a!=null){const l=we(a,"default");if(l&&o===void 0){const d=a.default;if(a.type!==Function&&!a.skipFactory&&le(d)){const{propsDefaults:r}=s;n in r?o=r[n]:(On(s),o=r[n]=d.call(null,t),bn())}else o=d}a[0]&&(i&&!l?o=!1:a[1]&&(o===""||o===It(n))&&(o=!0))}return o}function Yc(e,t,n=!1){const o=t.propsCache,s=o.get(e);if(s)return s;const i=e.props,a={},l=[];let d=!1;if(!le(e)){const c=f=>{d=!0;const[u,p]=Yc(f,t,!0);Be(a,u),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!d)return Ie(e)&&o.set(e,Gn),Gn;if(X(i))for(let c=0;c<i.length;c++){const f=mt(i[c]);cl(f)&&(a[f]=Re)}else if(i)for(const c in i){const f=mt(c);if(cl(f)){const u=i[c],p=a[f]=X(u)||le(u)?{type:u}:Be({},u);if(p){const m=fl(Boolean,p.type),g=fl(String,p.type);p[0]=m>-1,p[1]=g<0||m<g,(m>-1||we(p,"default"))&&l.push(f)}}}const r=[a,l];return Ie(e)&&o.set(e,r),r}function cl(e){return e[0]!=="$"}function ul(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function al(e,t){return ul(e)===ul(t)}function fl(e,t){return X(t)?t.findIndex(n=>al(n,e)):le(t)&&al(t,e)?0:-1}const Zc=e=>e[0]==="_"||e==="$stable",Oi=e=>X(e)?e.map(xt):[xt(e)],Ld=(e,t,n)=>{if(t._n)return t;const o=Qr((...s)=>Oi(t(...s)),n);return o._c=!1,o},Xc=(e,t,n)=>{const o=e._ctx;for(const s in e){if(Zc(s))continue;const i=e[s];if(le(i))t[s]=Ld(s,i,o);else if(i!=null){const a=Oi(i);t[s]=()=>a}}},Qc=(e,t)=>{const n=Oi(t);e.slots.default=()=>n},Fd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ve(t),Eo(t,"_",n)):Xc(t,e.slots={})}else e.slots={},t&&Qc(e,t);Eo(e.slots,Qo,1)},Bd=(e,t,n)=>{const{vnode:o,slots:s}=e;let i=!0,a=Re;if(o.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Be(s,t),!n&&l===1&&delete s._):(i=!t.$stable,Xc(t,s)),a=t}else t&&(Qc(e,t),a={default:1});if(i)for(const l in s)!Zc(l)&&a[l]==null&&delete s[l]};function Mo(e,t,n,o,s=!1){if(X(e)){e.forEach((u,p)=>Mo(u,t&&(X(t)?t[p]:t),n,o,s));return}if(Nn(o)&&!s)return;const i=o.shapeFlag&4?Go(o.component)||o.component.proxy:o.el,a=s?null:i,{i:l,r:d}=e,r=t&&t.r,c=l.refs===Re?l.refs={}:l.refs,f=l.setupState;if(r!=null&&r!==d&&(Ne(r)?(c[r]=null,we(f,r)&&(f[r]=null)):je(r)&&(r.value=null)),le(d))rn(d,l,12,[a,c]);else{const u=Ne(d),p=je(d);if(u||p){const m=()=>{if(e.f){const g=u?we(f,d)?f[d]:c[d]:d.value;s?X(g)&&ni(g,i):X(g)?g.includes(i)||g.push(i):u?(c[d]=[i],we(f,d)&&(f[d]=c[d])):(d.value=[i],e.k&&(c[e.k]=d.value))}else u?(c[d]=a,we(f,d)&&(f[d]=a)):p&&(d.value=a,e.k&&(c[e.k]=a))};a?(m.id=-1,et(m,n)):m()}}}let fn=!1;const vo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",yo=e=>e.nodeType===8;function Nd(e){const{mt:t,p:n,o:{patchProp:o,createText:s,nextSibling:i,parentNode:a,remove:l,insert:d,createComment:r}}=e,c=(v,h)=>{if(!h.hasChildNodes()){n(null,v,h),Ro(),h._vnode=v;return}fn=!1,f(h.firstChild,v,null,null,null),Ro(),h._vnode=v,fn&&console.error("Hydration completed but contains mismatches.")},f=(v,h,b,A,I,O=!1)=>{const S=yo(v)&&v.data==="[",k=()=>g(v,h,b,A,I,S),{type:M,ref:P,shapeFlag:F,patchFlag:V}=h;let z=v.nodeType;h.el=v,V===-2&&(O=!1,h.dynamicChildren=null);let T=null;switch(M){case Hn:z!==3?h.children===""?(d(h.el=s(""),a(v),v),T=v):T=k():(v.data!==h.children&&(fn=!0,v.data=h.children),T=i(v));break;case lt:y(v)?(T=i(v),x(h.el=v.content.firstChild,v,b)):z!==8||S?T=k():T=i(v);break;case jn:if(S&&(v=i(v),z=v.nodeType),z===1||z===3){T=v;const J=!h.children.length;for(let q=0;q<h.staticCount;q++)J&&(h.children+=T.nodeType===1?T.outerHTML:T.data),q===h.staticCount-1&&(h.anchor=T),T=i(T);return S?i(T):T}else k();break;case Le:S?T=m(v,h,b,A,I,O):T=k();break;default:if(F&1)(z!==1||h.type.toLowerCase()!==v.tagName.toLowerCase())&&!y(v)?T=k():T=u(v,h,b,A,I,O);else if(F&6){h.slotScopeIds=I;const J=a(v);if(S?T=C(v):yo(v)&&v.data==="teleport start"?T=C(v,v.data,"teleport end"):T=i(v),t(h,J,null,b,A,vo(J),O),Nn(h)){let q;S?(q=ae(Le),q.anchor=T?T.previousSibling:J.lastChild):q=v.nodeType===3?to(""):ae("div"),q.el=v,h.component.subTree=q}}else F&64?z!==8?T=k():T=h.type.hydrate(v,h,b,A,I,O,e,p):F&128&&(T=h.type.hydrate(v,h,b,A,vo(a(v)),I,O,e,f))}return P!=null&&Mo(P,null,A,h),T},u=(v,h,b,A,I,O)=>{O=O||!!h.dynamicChildren;const{type:S,props:k,patchFlag:M,shapeFlag:P,dirs:F,transition:V}=h,z=S==="input"&&F||S==="option";if(z||M!==-1){if(F&&Ut(h,null,b,"created"),k)if(z||!O||M&48)for(const q in k)(z&&q.endsWith("value")||Yr(q)&&!Er(q))&&o(v,q,null,k[q],!1,void 0,b);else k.onClick&&o(v,"onClick",null,k.onClick,!1,void 0,b);let T;(T=k&&k.onVnodeBeforeMount)&&pt(T,b,h);let J=!1;if(y(v)){J=nu(A,V)&&b&&b.vnode.props&&b.vnode.props.appear;const q=v.content.firstChild;J&&V.beforeEnter(q),x(q,v,b),h.el=v=q}if(F&&Ut(h,null,b,"beforeMount"),((T=k&&k.onVnodeMounted)||F||J)&&Rc(()=>{T&&pt(T,b,h),J&&V.enter(v),F&&Ut(h,null,b,"mounted")},A),P&16&&!(k&&(k.innerHTML||k.textContent))){let q=p(v.firstChild,h,v,b,A,I,O);for(;q;){fn=!0;const Me=q;q=q.nextSibling,l(Me)}}else P&8&&v.textContent!==h.children&&(fn=!0,v.textContent=h.children)}return v.nextSibling},p=(v,h,b,A,I,O,S)=>{S=S||!!h.dynamicChildren;const k=h.children,M=k.length;for(let P=0;P<M;P++){const F=S?k[P]:k[P]=xt(k[P]);if(v)v=f(v,F,A,I,O,S);else{if(F.type===Hn&&!F.children)continue;fn=!0,n(null,F,b,null,A,I,vo(b),O)}}return v},m=(v,h,b,A,I,O)=>{const{slotScopeIds:S}=h;S&&(I=I?I.concat(S):S);const k=a(v),M=p(i(v),h,k,b,A,I,O);return M&&yo(M)&&M.data==="]"?i(h.anchor=M):(fn=!0,d(h.anchor=r("]"),k,M),M)},g=(v,h,b,A,I,O)=>{if(fn=!0,h.el=null,O){const M=C(v);for(;;){const P=i(v);if(P&&P!==M)l(P);else break}}const S=i(v),k=a(v);return l(v),n(null,h,k,S,b,A,vo(k),I),S},C=(v,h="[",b="]")=>{let A=0;for(;v;)if(v=i(v),v&&yo(v)&&(v.data===h&&A++,v.data===b)){if(A===0)return i(v);A--}return v},x=(v,h,b)=>{const A=h.parentNode;A&&A.replaceChild(v,h);let I=b;for(;I;)I.vnode.el===h&&(I.vnode.el=I.subTree.el=v),I=I.parent},y=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[c,f]}const et=Rc;function Gc(e){return tu(e)}function eu(e){return tu(e,Nd)}function tu(e,t){const n=Rs();n.__VUE__=!0;const{insert:o,remove:s,patchProp:i,createElement:a,createText:l,createComment:d,setText:r,setElementText:c,parentNode:f,nextSibling:u,setScopeId:p=Dt,insertStaticContent:m}=e,g=(_,w,R,L=null,j=null,$=null,Y=!1,H=null,W=!!w.dynamicChildren)=>{if(_===w)return;_&&!$t(_,w)&&(L=B(_),Ae(_,j,$,!0),_=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:D,ref:ee,shapeFlag:Q}=w;switch(D){case Hn:C(_,w,R,L);break;case lt:x(_,w,R,L);break;case jn:_==null&&y(w,R,L,Y);break;case Le:P(_,w,R,L,j,$,Y,H,W);break;default:Q&1?b(_,w,R,L,j,$,Y,H,W):Q&6?F(_,w,R,L,j,$,Y,H,W):(Q&64||Q&128)&&D.process(_,w,R,L,j,$,Y,H,W,U)}ee!=null&&j&&Mo(ee,_&&_.ref,$,w||_,!w)},C=(_,w,R,L)=>{if(_==null)o(w.el=l(w.children),R,L);else{const j=w.el=_.el;w.children!==_.children&&r(j,w.children)}},x=(_,w,R,L)=>{_==null?o(w.el=d(w.children||""),R,L):w.el=_.el},y=(_,w,R,L)=>{[_.el,_.anchor]=m(_.children,w,R,L,_.el,_.anchor)},v=({el:_,anchor:w},R,L)=>{let j;for(;_&&_!==w;)j=u(_),o(_,R,L),_=j;o(w,R,L)},h=({el:_,anchor:w})=>{let R;for(;_&&_!==w;)R=u(_),s(_),_=R;s(w)},b=(_,w,R,L,j,$,Y,H,W)=>{Y=Y||w.type==="svg",_==null?A(w,R,L,j,$,Y,H,W):S(_,w,j,$,Y,H,W)},A=(_,w,R,L,j,$,Y,H)=>{let W,D;const{type:ee,props:Q,shapeFlag:oe,transition:ce,dirs:ge}=_;if(W=_.el=a(_.type,$,Q&&Q.is,Q),oe&8?c(W,_.children):oe&16&&O(_.children,W,null,L,j,$&&ee!=="foreignObject",Y,H),ge&&Ut(_,null,L,"created"),I(W,_,_.scopeId,Y,L),Q){for(const Ce in Q)Ce!=="value"&&!Er(Ce)&&i(W,Ce,null,Q[Ce],$,_.children,L,j,De);"value"in Q&&i(W,"value",null,Q.value),(D=Q.onVnodeBeforeMount)&&pt(D,L,_)}ge&&Ut(_,null,L,"beforeMount");const Oe=nu(j,ce);Oe&&ce.beforeEnter(W),o(W,w,R),((D=Q&&Q.onVnodeMounted)||Oe||ge)&&et(()=>{D&&pt(D,L,_),Oe&&ce.enter(W),ge&&Ut(_,null,L,"mounted")},j)},I=(_,w,R,L,j)=>{if(R&&p(_,R),L)for(let $=0;$<L.length;$++)p(_,L[$]);if(j){let $=j.subTree;if(w===$){const Y=j.vnode;I(_,Y,Y.scopeId,Y.slotScopeIds,j.parent)}}},O=(_,w,R,L,j,$,Y,H,W=0)=>{for(let D=W;D<_.length;D++){const ee=_[D]=H?vn(_[D]):xt(_[D]);g(null,ee,w,R,L,j,$,Y,H)}},S=(_,w,R,L,j,$,Y)=>{const H=w.el=_.el;let{patchFlag:W,dynamicChildren:D,dirs:ee}=w;W|=_.patchFlag&16;const Q=_.props||Re,oe=w.props||Re;let ce;R&&Mn(R,!1),(ce=oe.onVnodeBeforeUpdate)&&pt(ce,R,w,_),ee&&Ut(w,_,R,"beforeUpdate"),R&&Mn(R,!0);const ge=j&&w.type!=="foreignObject";if(D?k(_.dynamicChildren,D,H,R,L,ge,$):Y||q(_,w,H,null,R,L,ge,$,!1),W>0){if(W&16)M(H,w,Q,oe,R,L,j);else if(W&2&&Q.class!==oe.class&&i(H,"class",null,oe.class,j),W&4&&i(H,"style",Q.style,oe.style,j),W&8){const Oe=w.dynamicProps;for(let Ce=0;Ce<Oe.length;Ce++){const He=Oe[Ce],vt=Q[He],Jt=oe[He];(Jt!==vt||He==="value")&&i(H,He,vt,Jt,j,_.children,R,L,De)}}W&1&&_.children!==w.children&&c(H,w.children)}else!Y&&D==null&&M(H,w,Q,oe,R,L,j);((ce=oe.onVnodeUpdated)||ee)&&et(()=>{ce&&pt(ce,R,w,_),ee&&Ut(w,_,R,"updated")},L)},k=(_,w,R,L,j,$,Y)=>{for(let H=0;H<w.length;H++){const W=_[H],D=w[H],ee=W.el&&(W.type===Le||!$t(W,D)||W.shapeFlag&70)?f(W.el):R;g(W,D,ee,null,L,j,$,Y,!0)}},M=(_,w,R,L,j,$,Y)=>{if(R!==L){if(R!==Re)for(const H in R)!Er(H)&&!(H in L)&&i(_,H,R[H],null,Y,w.children,j,$,De);for(const H in L){if(Er(H))continue;const W=L[H],D=R[H];W!==D&&H!=="value"&&i(_,H,D,W,Y,w.children,j,$,De)}"value"in L&&i(_,"value",R.value,L.value)}},P=(_,w,R,L,j,$,Y,H,W)=>{const D=w.el=_?_.el:l(""),ee=w.anchor=_?_.anchor:l("");let{patchFlag:Q,dynamicChildren:oe,slotScopeIds:ce}=w;ce&&(H=H?H.concat(ce):ce),_==null?(o(D,R,L),o(ee,R,L),O(w.children,R,ee,j,$,Y,H,W)):Q>0&&Q&64&&oe&&_.dynamicChildren?(k(_.dynamicChildren,oe,R,j,$,Y,H),(w.key!=null||j&&w===j.subTree)&&Pi(_,w,!0)):q(_,w,R,ee,j,$,Y,H,W)},F=(_,w,R,L,j,$,Y,H,W)=>{w.slotScopeIds=H,_==null?w.shapeFlag&512?j.ctx.activate(w,R,L,Y,W):V(w,R,L,j,$,Y,W):z(_,w,W)},V=(_,w,R,L,j,$,Y)=>{const H=_.component=uu(_,L,j);if(eo(_)&&(H.ctx.renderer=U),fu(H),H.asyncDep){if(j&&j.registerDep(H,T),!_.el){const W=H.subTree=ae(lt);x(null,W,w,R)}return}T(H,_,w,R,j,$,Y)},z=(_,w,R)=>{const L=w.component=_.component;if(Kf(_,w,R))if(L.asyncDep&&!L.asyncResolved){J(L,w,R);return}else L.next=w,jf(L.update),L.update();else w.el=_.el,L.vnode=w},T=(_,w,R,L,j,$,Y)=>{const H=()=>{if(_.isMounted){let{next:ee,bu:Q,u:oe,parent:ce,vnode:ge}=_,Oe=ee,Ce;Mn(_,!1),ee?(ee.el=ge.el,J(_,ee,Y)):ee=ge,Q&&tr(Q),(Ce=ee.props&&ee.props.onVnodeBeforeUpdate)&&pt(Ce,ce,ee,ge),Mn(_,!0);const He=wo(_),vt=_.subTree;_.subTree=He,g(vt,He,f(vt.el),B(vt),_,j,$),ee.el=He.el,Oe===null&&vi(_,He.el),oe&&et(oe,j),(Ce=ee.props&&ee.props.onVnodeUpdated)&&et(()=>pt(Ce,ce,ee,ge),j)}else{let ee;const{el:Q,props:oe}=w,{bm:ce,m:ge,parent:Oe}=_,Ce=Nn(w);if(Mn(_,!1),ce&&tr(ce),!Ce&&(ee=oe&&oe.onVnodeBeforeMount)&&pt(ee,Oe,w),Mn(_,!0),Q&&ue){const He=()=>{_.subTree=wo(_),ue(Q,_.subTree,_,j,null)};Ce?w.type.__asyncLoader().then(()=>!_.isUnmounted&&He()):He()}else{const He=_.subTree=wo(_);g(null,He,R,L,_,j,$),w.el=He.el}if(ge&&et(ge,j),!Ce&&(ee=oe&&oe.onVnodeMounted)){const He=w;et(()=>pt(ee,Oe,He),j)}(w.shapeFlag&256||Oe&&Nn(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&_.a&&et(_.a,j),_.isMounted=!0,w=R=L=null}},W=_.effect=new ir(H,()=>Vo(D),_.scope),D=_.update=()=>W.run();D.id=_.uid,Mn(_,!0),D()},J=(_,w,R)=>{w.component=_;const L=_.vnode.props;_.vnode=w,_.next=null,Td(_,w.props,L,R),Bd(_,w.children,R),mr(),el(),gr()},q=(_,w,R,L,j,$,Y,H,W=!1)=>{const D=_&&_.children,ee=_?_.shapeFlag:0,Q=w.children,{patchFlag:oe,shapeFlag:ce}=w;if(oe>0){if(oe&128){Ue(D,Q,R,L,j,$,Y,H,W);return}else if(oe&256){Me(D,Q,R,L,j,$,Y,H,W);return}}ce&8?(ee&16&&De(D,j,$),Q!==D&&c(R,Q)):ee&16?ce&16?Ue(D,Q,R,L,j,$,Y,H,W):De(D,j,$,!0):(ee&8&&c(R,""),ce&16&&O(Q,R,L,j,$,Y,H,W))},Me=(_,w,R,L,j,$,Y,H,W)=>{_=_||Gn,w=w||Gn;const D=_.length,ee=w.length,Q=Math.min(D,ee);let oe;for(oe=0;oe<Q;oe++){const ce=w[oe]=W?vn(w[oe]):xt(w[oe]);g(_[oe],ce,R,null,j,$,Y,H,W)}D>ee?De(_,j,$,!0,!1,Q):O(w,R,L,j,$,Y,H,W,Q)},Ue=(_,w,R,L,j,$,Y,H,W)=>{let D=0;const ee=w.length;let Q=_.length-1,oe=ee-1;for(;D<=Q&&D<=oe;){const ce=_[D],ge=w[D]=W?vn(w[D]):xt(w[D]);if($t(ce,ge))g(ce,ge,R,null,j,$,Y,H,W);else break;D++}for(;D<=Q&&D<=oe;){const ce=_[Q],ge=w[oe]=W?vn(w[oe]):xt(w[oe]);if($t(ce,ge))g(ce,ge,R,null,j,$,Y,H,W);else break;Q--,oe--}if(D>Q){if(D<=oe){const ce=oe+1,ge=ce<ee?w[ce].el:L;for(;D<=oe;)g(null,w[D]=W?vn(w[D]):xt(w[D]),R,ge,j,$,Y,H,W),D++}}else if(D>oe)for(;D<=Q;)Ae(_[D],j,$,!0),D++;else{const ce=D,ge=D,Oe=new Map;for(D=ge;D<=oe;D++){const nt=w[D]=W?vn(w[D]):xt(w[D]);nt.key!=null&&Oe.set(nt.key,D)}let Ce,He=0;const vt=oe-ge+1;let Jt=!1,qn=0;const In=new Array(vt);for(D=0;D<vt;D++)In[D]=0;for(D=ce;D<=Q;D++){const nt=_[D];if(He>=vt){Ae(nt,j,$,!0);continue}let kt;if(nt.key!=null)kt=Oe.get(nt.key);else for(Ce=ge;Ce<=oe;Ce++)if(In[Ce-ge]===0&&$t(nt,w[Ce])){kt=Ce;break}kt===void 0?Ae(nt,j,$,!0):(In[kt-ge]=D+1,kt>=qn?qn=kt:Jt=!0,g(nt,w[kt],R,null,j,$,Y,H,W),He++)}const oo=Jt?jd(In):Gn;for(Ce=oo.length-1,D=vt-1;D>=0;D--){const nt=ge+D,kt=w[nt],vr=nt+1<ee?w[nt+1].el:L;In[D]===0?g(null,kt,R,vr,j,$,Y,H,W):Jt&&(Ce<0||D!==oo[Ce]?Je(kt,R,vr,2):Ce--)}}},Je=(_,w,R,L,j=null)=>{const{el:$,type:Y,transition:H,children:W,shapeFlag:D}=_;if(D&6){Je(_.component.subTree,w,R,L);return}if(D&128){_.suspense.move(w,R,L);return}if(D&64){Y.move(_,w,R,U);return}if(Y===Le){o($,w,R);for(let Q=0;Q<W.length;Q++)Je(W[Q],w,R,L);o(_.anchor,w,R);return}if(Y===jn){v(_,w,R);return}if(L!==2&&D&1&&H)if(L===0)H.beforeEnter($),o($,w,R),et(()=>H.enter($),j);else{const{leave:Q,delayLeave:oe,afterLeave:ce}=H,ge=()=>o($,w,R),Oe=()=>{Q($,()=>{ge(),ce&&ce()})};oe?oe($,ge,Oe):Oe()}else o($,w,R)},Ae=(_,w,R,L=!1,j=!1)=>{const{type:$,props:Y,ref:H,children:W,dynamicChildren:D,shapeFlag:ee,patchFlag:Q,dirs:oe}=_;if(H!=null&&Mo(H,null,R,_,!0),ee&256){w.ctx.deactivate(_);return}const ce=ee&1&&oe,ge=!Nn(_);let Oe;if(ge&&(Oe=Y&&Y.onVnodeBeforeUnmount)&&pt(Oe,w,_),ee&6)Vt(_.component,R,L);else{if(ee&128){_.suspense.unmount(R,L);return}ce&&Ut(_,null,w,"beforeUnmount"),ee&64?_.type.remove(_,w,R,j,U,L):D&&($!==Le||Q>0&&Q&64)?De(D,w,R,!1,!0):($===Le&&Q&384||!j&&ee&16)&&De(W,w,R),L&&We(_)}(ge&&(Oe=Y&&Y.onVnodeUnmounted)||ce)&&et(()=>{Oe&&pt(Oe,w,_),ce&&Ut(_,null,w,"unmounted")},R)},We=_=>{const{type:w,el:R,anchor:L,transition:j}=_;if(w===Le){$e(R,L);return}if(w===jn){h(_);return}const $=()=>{s(R),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(_.shapeFlag&1&&j&&!j.persisted){const{leave:Y,delayLeave:H}=j,W=()=>Y(R,$);H?H(_.el,$,W):W()}else $()},$e=(_,w)=>{let R;for(;_!==w;)R=u(_),s(_),_=R;s(w)},Vt=(_,w,R)=>{const{bum:L,scope:j,update:$,subTree:Y,um:H}=_;L&&tr(L),j.stop(),$&&($.active=!1,Ae(Y,_,w,R)),H&&et(H,w),et(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},De=(_,w,R,L=!1,j=!1,$=0)=>{for(let Y=$;Y<_.length;Y++)Ae(_[Y],w,R,L,j)},B=_=>_.shapeFlag&6?B(_.component.subTree):_.shapeFlag&128?_.suspense.next():u(_.anchor||_.el),Z=(_,w,R)=>{_==null?w._vnode&&Ae(w._vnode,null,null,!0):g(w._vnode||null,_,w,null,null,null,R),el(),Ro(),w._vnode=_},U={p:g,um:Ae,m:Je,r:We,mt:V,mc:O,pc:q,pbc:k,n:B,o:e};let G,ue;return t&&([G,ue]=t(U)),{render:Z,hydrate:G,createApp:Md(Z,G)}}function Mn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pi(e,t,n=!1){const o=e.children,s=t.children;if(X(o)&&X(s))for(let i=0;i<o.length;i++){const a=o[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=vn(s[i]),l.el=a.el),n||Pi(a,l)),l.type===Hn&&(l.el=a.el)}}function jd(e){const t=e.slice(),n=[0];let o,s,i,a,l;const d=e.length;for(o=0;o<d;o++){const r=e[o];if(r!==0){if(s=n[n.length-1],e[s]<r){t[o]=s,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<r?i=l+1:a=l;r<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const $d=e=>e.__isTeleport,Pr=e=>e&&(e.disabled||e.disabled===""),dl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$s=(e,t)=>{const n=e&&e.to;return Ne(n)?t?t(n):null:n},Dd={__isTeleport:!0,process(e,t,n,o,s,i,a,l,d,r){const{mc:c,pc:f,pbc:u,o:{insert:p,querySelector:m,createText:g,createComment:C}}=r,x=Pr(t.props);let{shapeFlag:y,children:v,dynamicChildren:h}=t;if(e==null){const b=t.el=g(""),A=t.anchor=g("");p(b,n,o),p(A,n,o);const I=t.target=$s(t.props,m),O=t.targetAnchor=g("");I&&(p(O,I),a=a||dl(I));const S=(k,M)=>{y&16&&c(v,k,M,s,i,a,l,d)};x?S(n,A):I&&S(I,O)}else{t.el=e.el;const b=t.anchor=e.anchor,A=t.target=e.target,I=t.targetAnchor=e.targetAnchor,O=Pr(e.props),S=O?n:A,k=O?b:I;if(a=a||dl(A),h?(u(e.dynamicChildren,h,S,s,i,a,l),Pi(e,t,!0)):d||f(e,t,S,k,s,i,a,l,!1),x)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):_o(t,n,b,r,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=$s(t.props,m);M&&_o(t,M,null,r,0)}else O&&_o(t,A,I,r,1)}ru(t)},remove(e,t,n,o,{um:s,o:{remove:i}},a){const{shapeFlag:l,children:d,anchor:r,targetAnchor:c,target:f,props:u}=e;if(f&&i(c),a&&i(r),l&16){const p=a||!Pr(u);for(let m=0;m<d.length;m++){const g=d[m];s(g,t,n,p,!!g.dynamicChildren)}}},move:_o,hydrate:Hd};function _o(e,t,n,{o:{insert:o},m:s},i=2){i===0&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:d,children:r,props:c}=e,f=i===2;if(f&&o(a,t,n),(!f||Pr(c))&&d&16)for(let u=0;u<r.length;u++)s(r[u],t,n,2);f&&o(l,t,n)}function Hd(e,t,n,o,s,i,{o:{nextSibling:a,parentNode:l,querySelector:d}},r){const c=t.target=$s(t.props,d);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(Pr(t.props))t.anchor=r(a(e),t,l(e),n,o,s,i),t.targetAnchor=f;else{t.anchor=a(e);let u=f;for(;u;)if(u=a(u),u&&u.nodeType===8&&u.data==="teleport anchor"){t.targetAnchor=u,c._lpa=t.targetAnchor&&a(t.targetAnchor);break}r(f,t,c,n,o,s,i)}ru(t)}return t.anchor&&a(t.anchor)}const Vd=Dd;function ru(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Le=Symbol.for("v-fgt"),Hn=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Rr=[];let ht=null;function he(e=!1){Rr.push(ht=e?null:[])}function ou(){Rr.pop(),ht=Rr[Rr.length-1]||null}let Vn=1;function Ds(e){Vn+=e}function su(e){return e.dynamicChildren=Vn>0?ht||Gn:null,ou(),Vn>0&&ht&&ht.push(e),e}function ke(e,t,n,o,s,i){return su(re(e,t,n,o,s,i,!0))}function zt(e,t,n,o,s){return su(ae(e,t,n,o,s,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}function Ud(e){}const Qo="__vInternal",iu=({key:e})=>e??null,xo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||je(e)||le(e)?{i:Qe,r:e,k:t,f:!!n}:e:null);function re(e,t=null,n=null,o=0,s=null,i=e===Le?0:1,a=!1,l=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&iu(t),ref:t&&xo(t),scopeId:Wo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Qe};return l?(Ri(d,n),i&128&&e.normalize(d)):n&&(d.shapeFlag|=Ne(n)?8:16),Vn>0&&!a&&ht&&(d.patchFlag>0||i&6)&&d.patchFlag!==32&&ht.push(d),d}const ae=Wd;function Wd(e,t=null,n=null,o=0,s=null,i=!1){if((!e||e===Oc)&&(e=lt),Sn(e)){const l=qt(e,t,!0);return n&&Ri(l,n),Vn>0&&!i&&ht&&(l.shapeFlag&6?ht[ht.indexOf(e)]=l:ht.push(l)),l.patchFlag|=-2,l}if(Qd(e)&&(e=e.__vccOpts),t){t=lu(t);let{class:l,style:d}=t;l&&!Ne(l)&&(t.class=Mt(l)),Ie(d)&&(di(d)&&!X(d)&&(d=Be({},d)),t.style=hr(d))}const a=Ne(e)?1:Pc(e)?128:$d(e)?64:Ie(e)?4:le(e)?2:0;return re(e,t,n,o,s,a,i,!0)}function lu(e){return e?di(e)||Qo in e?Be({},e):e:null}function qt(e,t,n=!1){const{props:o,ref:s,patchFlag:i,children:a}=e,l=t?cu(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&iu(l),ref:t&&t.ref?n&&s?X(s)?s.concat(xo(t)):[s,xo(t)]:xo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function to(e=" ",t=0){return ae(Hn,null,e,t)}function Kd(e,t){const n=ae(jn,null,e);return n.staticCount=t,n}function at(e="",t=!1){return t?(he(),zt(lt,null,e)):ae(lt,null,e)}function xt(e){return e==null||typeof e=="boolean"?ae(lt):X(e)?ae(Le,null,e.slice()):typeof e=="object"?vn(e):ae(Hn,null,String(e))}function vn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qt(e)}function Ri(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Ri(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Qo in t)?t._ctx=Qe:s===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),o&64?(n=16,t=[to(t)]):n=8);e.children=t,e.shapeFlag|=n}function cu(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=Mt([t.class,o.class]));else if(s==="style")t.style=hr([t.style,o.style]);else if(Yr(s)){const i=t[s],a=o[s];a&&i!==a&&!(X(i)&&i.includes(a))&&(t[s]=i?[].concat(i,a):a)}else s!==""&&(t[s]=o[s])}return t}function pt(e,t,n,o=null){Ct(e,t,7,[n,o])}const zd=zc();let qd=0;function uu(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||zd,i={uid:qd++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new si(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yc(o,s),emitsOptions:Sc(o,s),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:o.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Df.bind(null,i),e.ce&&e.ce(i),i}let qe=null;const cn=()=>qe||Qe;let Ii,Yn,pl="__VUE_INSTANCE_SETTERS__";(Yn=Rs()[pl])||(Yn=Rs()[pl]=[]),Yn.push(e=>qe=e),Ii=e=>{Yn.length>1?Yn.forEach(t=>t(e)):Yn[0](e)};const On=e=>{Ii(e),e.scope.on()},bn=()=>{qe&&qe.scope.off(),Ii(null)};function au(e){return e.vnode.shapeFlag&4}let cr=!1;function fu(e,t=!1){cr=t;const{props:n,children:o}=e.vnode,s=au(e);Ad(e,n,s,t),Fd(e,o);const i=s?Jd(e,t):void 0;return cr=!1,i}function Jd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Xr(new Proxy(e.ctx,Fs));const{setup:o}=n;if(o){const s=e.setupContext=o.length>1?pu(e):null;On(e),mr();const i=rn(o,e,0,[e.props,s]);if(gr(),bn(),ri(i)){if(i.then(bn,bn),t)return i.then(a=>{Hs(e,a,t)}).catch(a=>{Kn(a,e,0)});e.asyncDep=i}else Hs(e,i,t)}else du(e,t)}function Hs(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ie(t)&&(e.setupState=mi(t)),du(e,n)}let Ao,Vs;function Yd(e){Ao=e,Vs=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,ad))}}const Zd=()=>!Ao;function du(e,t,n){const o=e.type;if(!e.render){if(!t&&Ao&&!o.render){const s=o.template||Si(e).template;if(s){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:d}=o,r=Be(Be({isCustomElement:i,delimiters:l},a),d);o.render=Ao(s,r)}}e.render=o.render||Dt,Vs&&Vs(e)}{On(e),mr();try{kd(e)}finally{gr(),bn()}}}function Xd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return gt(e,"get","$attrs"),t[n]}}))}function pu(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Xd(e)},slots:e.slots,emit:e.emit,expose:t}}function Go(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mi(Xr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sr)return Sr[n](e)},has(t,n){return n in t||n in Sr}}))}function Us(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function Qd(e){return le(e)&&"__vccOpts"in e}const Fe=(e,t)=>Tf(e,t,cr);function es(e,t,n){const o=arguments.length;return o===2?Ie(t)&&!X(t)?Sn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Sn(n)&&(n=[n]),ae(e,t,n))}const hu=Symbol.for("v-scx"),mu=()=>Tt(hu);function Gd(){}function ep(e,t,n,o){const s=n[o];if(s&&gu(s,e))return s;const i=t();return i.memo=e.slice(),n[o]=i}function gu(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o<n.length;o++)if(wn(n[o],t[o]))return!1;return Vn>0&&ht&&ht.push(e),!0}const vu="3.3.8",tp={createComponentInstance:uu,setupComponent:fu,renderComponentRoot:wo,setCurrentRenderingInstance:Dr,isVNode:Sn,normalizeVNode:xt},np=tp,rp=null,op=null,sp="http://www.w3.org/2000/svg",Ln=typeof document<"u"?document:null,hl=Ln&&Ln.createElement("template"),ip={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t?Ln.createElementNS(sp,e):Ln.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Ln.createTextNode(e),createComment:e=>Ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ln.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,i){const a=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{hl.innerHTML=o?`<svg>${e}</svg>`:e;const l=hl.content;if(o){const d=l.firstChild;for(;d.firstChild;)l.appendChild(d.firstChild);l.removeChild(d)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dn="transition",yr="animation",ur=Symbol("_vtc"),Mi=(e,{slots:t})=>es(Ac,_u(e),t);Mi.displayName="Transition";const yu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},lp=Mi.props=Be({},Ci,yu),An=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},ml=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function _u(e){const t={};for(const P in e)P in yu||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:d=i,appearActiveClass:r=a,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:u=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=cp(s),g=m&&m[0],C=m&&m[1],{onBeforeEnter:x,onEnter:y,onEnterCancelled:v,onLeave:h,onLeaveCancelled:b,onBeforeAppear:A=x,onAppear:I=y,onAppearCancelled:O=v}=t,S=(P,F,V)=>{hn(P,F?c:l),hn(P,F?r:a),V&&V()},k=(P,F)=>{P._isLeaving=!1,hn(P,f),hn(P,p),hn(P,u),F&&F()},M=P=>(F,V)=>{const z=P?I:y,T=()=>S(F,P,V);An(z,[F,T]),gl(()=>{hn(F,P?d:i),Qt(F,P?c:l),ml(z)||vl(F,o,g,T)})};return Be(t,{onBeforeEnter(P){An(x,[P]),Qt(P,i),Qt(P,a)},onBeforeAppear(P){An(A,[P]),Qt(P,d),Qt(P,r)},onEnter:M(!1),onAppear:M(!0),onLeave(P,F){P._isLeaving=!0;const V=()=>k(P,F);Qt(P,f),wu(),Qt(P,u),gl(()=>{P._isLeaving&&(hn(P,f),Qt(P,p),ml(h)||vl(P,o,C,V))}),An(h,[P,V])},onEnterCancelled(P){S(P,!1),An(v,[P])},onAppearCancelled(P){S(P,!0),An(O,[P])},onLeaveCancelled(P){k(P),An(b,[P])}})}function cp(e){if(e==null)return null;if(Ie(e))return[Cs(e.enter),Cs(e.leave)];{const t=Cs(e);return[t,t]}}function Cs(e){return So(e)}function Qt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ur]||(e[ur]=new Set)).add(t)}function hn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ur];n&&(n.delete(t),n.size||(e[ur]=void 0))}function gl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let up=0;function vl(e,t,n,o){const s=e._endId=++up,i=()=>{s===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:l,propCount:d}=bu(e,t);if(!a)return o();const r=a+"end";let c=0;const f=()=>{e.removeEventListener(r,u),i()},u=p=>{p.target===e&&++c>=d&&f()};setTimeout(()=>{c<d&&f()},l+1),e.addEventListener(r,u)}function bu(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),s=o(`${dn}Delay`),i=o(`${dn}Duration`),a=yl(s,i),l=o(`${yr}Delay`),d=o(`${yr}Duration`),r=yl(l,d);let c=null,f=0,u=0;t===dn?a>0&&(c=dn,f=a,u=i.length):t===yr?r>0&&(c=yr,f=r,u=d.length):(f=Math.max(a,r),c=f>0?a>r?dn:yr:null,u=c?c===dn?i.length:d.length:0);const p=c===dn&&/\b(transform|all)(,|$)/.test(o(`${dn}Property`).toString());return{type:c,timeout:f,propCount:u,hasTransform:p}}function yl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>_l(n)+_l(e[o])))}function _l(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wu(){return document.body.offsetHeight}function ap(e,t,n){const o=e[ur];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ai=Symbol("_vod"),xu={beforeMount(e,{value:t},{transition:n}){e[Ai]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):_r(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),_r(e,!0),o.enter(e)):o.leave(e,()=>{_r(e,!1)}):_r(e,t))},beforeUnmount(e,{value:t}){_r(e,t)}};function _r(e,t){e.style.display=t?e[Ai]:"none"}function fp(){xu.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function dp(e,t,n){const o=e.style,s=Ne(n);if(n&&!s){if(t&&!Ne(t))for(const i in t)n[i]==null&&Ws(o,i,"");for(const i in n)Ws(o,i,n[i])}else{const i=o.display;s?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),Ai in e&&(o.display=i)}}const bl=/\s*!important$/;function Ws(e,t,n){if(X(n))n.forEach(o=>Ws(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=pp(e,t);bl.test(n)?e.setProperty(It(o),n.replace(bl,""),"important"):e[o]=n}}const wl=["Webkit","Moz","ms"],Es={};function pp(e,t){const n=Es[t];if(n)return n;let o=mt(t);if(o!=="filter"&&o in e)return Es[t]=o;o=Zr(o);for(let s=0;s<wl.length;s++){const i=wl[s]+o;if(i in e)return Es[t]=i}return t}const xl="http://www.w3.org/1999/xlink";function hp(e,t,n,o,s){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(xl,t.slice(6,t.length)):e.setAttributeNS(xl,t,n);else{const i=Za(t);n==null||i&&!rc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function mp(e,t,n,o,s,i,a){if(t==="innerHTML"||t==="textContent"){o&&a(o,s,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const r=l==="OPTION"?e.getAttribute("value"):e.value,c=n??"";r!==c&&(e.value=c),n==null&&e.removeAttribute(t);return}let d=!1;if(n===""||n==null){const r=typeof e[t];r==="boolean"?n=rc(n):n==null&&r==="string"?(n="",d=!0):r==="number"&&(n=0,d=!0)}try{e[t]=n}catch{}d&&e.removeAttribute(t)}function en(e,t,n,o){e.addEventListener(t,n,o)}function gp(e,t,n,o){e.removeEventListener(t,n,o)}const Cl=Symbol("_vei");function vp(e,t,n,o,s=null){const i=e[Cl]||(e[Cl]={}),a=i[t];if(o&&a)a.value=o;else{const[l,d]=yp(t);if(o){const r=i[t]=wp(o,s);en(e,l,r,d)}else a&&(gp(e,l,a,d),i[t]=void 0)}}const El=/(?:Once|Passive|Capture)$/;function yp(e){let t;if(El.test(e)){t={};let o;for(;o=e.match(El);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):It(e.slice(2)),t]}let ks=0;const _p=Promise.resolve(),bp=()=>ks||(_p.then(()=>ks=0),ks=Date.now());function wp(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Ct(xp(o,n.value),t,5,[o])};return n.value=e,n.attached=bp(),n}function xp(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const kl=/^on[a-z]/,Cp=(e,t,n,o,s=!1,i,a,l,d)=>{t==="class"?ap(e,o,s):t==="style"?dp(e,n,o):Yr(t)?ti(t)||vp(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ep(e,t,o,s))?mp(e,t,o,i,a,l,d):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),hp(e,t,o,s))};function Ep(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&kl.test(t)&&le(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||kl.test(t)&&Ne(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Cu(e,t){const n=Ge(e);class o extends ts{constructor(i){super(n,i,t)}}return o.def=n,o}/*! #__NO_SIDE_EFFECTS__ */const kp=e=>Cu(e,Lu),Sp=typeof HTMLElement<"u"?HTMLElement:class{};class ts extends Sp{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),zn(()=>{this._connected||(qs(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const s of o)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,s=!1)=>{const{props:i,styles:a}=o;let l;if(i&&!X(i))for(const d in i){const r=i[d];(r===Number||r&&r.type===Number)&&(d in this._props&&(this._props[d]=So(this._props[d])),(l||(l=Object.create(null)))[mt(d)]=!0)}this._numberProps=l,s&&this._resolveProps(o),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(o=>t(o,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,o=X(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of o.map(mt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i)}})}_setAttr(t){let n=this.getAttribute(t);const o=mt(t);this._numberProps&&this._numberProps[o]&&(n=So(n)),this._setProp(o,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(It(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(It(t),n+""):n||this.removeAttribute(It(t))))}_update(){qs(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ae(this._def,Be({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const o=(i,a)=>{this.dispatchEvent(new CustomEvent(i,{detail:a}))};n.emit=(i,...a)=>{o(i,a),It(i)!==i&&o(It(i),a)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof ts){n.parent=s._instance,n.provides=s._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o)})}}function Op(e="$style"){{const t=cn();if(!t)return Re;const n=t.type.__cssModules;if(!n)return Re;const o=n[e];return o||Re}}function Pp(e){const t=cn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>zs(i,s))},o=()=>{const s=e(t.proxy);Ks(t.subTree,s),n(s)};Ic(o),At(()=>{const s=new MutationObserver(o);s.observe(t.subTree.el.parentNode,{childList:!0}),kn(()=>s.disconnect())})}function Ks(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ks(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)zs(e.el,t);else if(e.type===Le)e.children.forEach(n=>Ks(n,t));else if(e.type===jn){let{el:n,anchor:o}=e;for(;n&&(zs(n,t),n!==o);)n=n.nextSibling}}function zs(e,t){if(e.nodeType===1){const n=e.style;for(const o in t)n.setProperty(`--${o}`,t[o])}}const Eu=new WeakMap,ku=new WeakMap,To=Symbol("_moveCb"),Sl=Symbol("_enterCb"),Su={name:"TransitionGroup",props:Be({},lp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cn(),o=xi();let s,i;return Yo(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Lp(s[0].el,n.vnode.el,a))return;s.forEach(Mp),s.forEach(Ap);const l=s.filter(Tp);wu(),l.forEach(d=>{const r=d.el,c=r.style;Qt(r,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=r[To]=u=>{u&&u.target!==r||(!u||/transform$/.test(u.propertyName))&&(r.removeEventListener("transitionend",f),r[To]=null,hn(r,a))};r.addEventListener("transitionend",f)})}),()=>{const a=ve(e),l=_u(a);let d=a.tag||Le;s=i,i=t.default?qo(t.default()):[];for(let r=0;r<i.length;r++){const c=i[r];c.key!=null&&Dn(c,lr(c,l,o,n))}if(s)for(let r=0;r<s.length;r++){const c=s[r];Dn(c,lr(c,l,o,n)),Eu.set(c,c.el.getBoundingClientRect())}return ae(d,null,i)}}},Rp=e=>delete e.mode;Su.props;const Ip=Su;function Mp(e){const t=e.el;t[To]&&t[To](),t[Sl]&&t[Sl]()}function Ap(e){ku.set(e,e.el.getBoundingClientRect())}function Tp(e){const t=Eu.get(e),n=ku.get(e),o=t.left-n.left,s=t.top-n.top;if(o||s){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${s}px)`,i.transitionDuration="0s",e}}function Lp(e,t,n){const o=e.cloneNode(),s=e[ur];s&&s.forEach(l=>{l.split(/\s+/).forEach(d=>d&&o.classList.remove(d))}),n.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=bu(o);return i.removeChild(o),a}const Pn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>tr(t,n):t};function Fp(e){e.target.composing=!0}function Ol(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lt=Symbol("_assign"),Un={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Lt]=Pn(s);const i=o||s.props&&s.props.type==="number";en(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=ko(l)),e[Lt](l)}),n&&en(e,"change",()=>{e.value=e.value.trim()}),t||(en(e,"compositionstart",Fp),en(e,"compositionend",Ol),en(e,"change",Ol))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:s}},i){if(e[Lt]=Pn(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===t||(s||e.type==="number")&&ko(e.value)===t))return;const a=t??"";e.value!==a&&(e.value=a)}},ns={deep:!0,created(e,t,n){e[Lt]=Pn(n),en(e,"change",()=>{const o=e._modelValue,s=ar(e),i=e.checked,a=e[Lt];if(X(o)){const l=No(o,s),d=l!==-1;if(i&&!d)a(o.concat(s));else if(!i&&d){const r=[...o];r.splice(l,1),a(r)}}else if(Wn(o)){const l=new Set(o);i?l.add(s):l.delete(s),a(l)}else a(Pu(e,i))})},mounted:Pl,beforeUpdate(e,t,n){e[Lt]=Pn(n),Pl(e,t,n)}};function Pl(e,{value:t,oldValue:n},o){e._modelValue=t,X(t)?e.checked=No(t,o.props.value)>-1:Wn(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=xn(t,Pu(e,!0)))}const Ti={created(e,{value:t},n){e.checked=xn(t,n.props.value),e[Lt]=Pn(n),en(e,"change",()=>{e[Lt](ar(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[Lt]=Pn(o),t!==n&&(e.checked=xn(t,o.props.value))}},Ou={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const s=Wn(t);en(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?ko(ar(a)):ar(a));e[Lt](e.multiple?s?new Set(i):i:i[0])}),e[Lt]=Pn(o)},mounted(e,{value:t}){Rl(e,t)},beforeUpdate(e,t,n){e[Lt]=Pn(n)},updated(e,{value:t}){Rl(e,t)}};function Rl(e,t){const n=e.multiple;if(!(n&&!X(t)&&!Wn(t))){for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],a=ar(i);if(n)X(t)?i.selected=No(t,a)>-1:i.selected=t.has(a);else if(xn(ar(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ar(e){return"_value"in e?e._value:e.value}function Pu(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ru={created(e,t,n){bo(e,t,n,null,"created")},mounted(e,t,n){bo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){bo(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){bo(e,t,n,o,"updated")}};function Iu(e,t){switch(e){case"SELECT":return Ou;case"TEXTAREA":return Un;default:switch(t){case"checkbox":return ns;case"radio":return Ti;default:return Un}}}function bo(e,t,n,o,s){const a=Iu(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,o)}function Bp(){Un.getSSRProps=({value:e})=>({value:e}),Ti.getSSRProps=({value:e},t)=>{if(t.props&&xn(t.props.value,e))return{checked:!0}},ns.getSSRProps=({value:e},t)=>{if(X(e)){if(t.props&&No(e,t.props.value)>-1)return{checked:!0}}else if(Wn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Ru.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Iu(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Np=["ctrl","shift","alt","meta"],jp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Np.some(n=>e[`${n}Key`]&&!t.includes(n))},Rt=(e,t)=>(n,...o)=>{for(let s=0;s<t.length;s++){const i=jp[t[s]];if(i&&i(n,t))return}return e(n,...o)},$p={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},sn=(e,t)=>n=>{if(!("key"in n))return;const o=It(n.key);if(t.some(s=>s===o||$p[s]===o))return e(n)},Mu=Be({patchProp:Cp},ip);let Ir,Il=!1;function Au(){return Ir||(Ir=Gc(Mu))}function Tu(){return Ir=Il?Ir:eu(Mu),Il=!0,Ir}const qs=(...e)=>{Au().render(...e)},Lu=(...e)=>{Tu().hydrate(...e)},Fu=(...e)=>{const t=Au().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Bu(o);if(!s)return;const i=t._component;!le(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const a=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t},Dp=(...e)=>{const t=Tu().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Bu(o);if(s)return n(s,!0,s instanceof SVGElement)},t};function Bu(e){return Ne(e)?document.querySelector(e):e}let Ml=!1;const Hp=()=>{Ml||(Ml=!0,Bp(),fp())},Vp=()=>{},Up=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ac,BaseTransitionPropsValidators:Ci,Comment:lt,EffectScope:si,Fragment:Le,KeepAlive:id,ReactiveEffect:ir,Static:jn,Suspense:Zf,Teleport:Vd,Text:Hn,Transition:Mi,TransitionGroup:Ip,VueElement:ts,assertNumber:Ff,callWithAsyncErrorHandling:Ct,callWithErrorHandling:rn,camelize:mt,capitalize:Zr,cloneVNode:qt,compatUtils:op,compile:Vp,computed:Fe,createApp:Fu,createBlock:zt,createCommentVNode:at,createElementBlock:ke,createElementVNode:re,createHydrationRenderer:eu,createPropsRestProxy:Cd,createRenderer:Gc,createSSRApp:Dp,createSlots:cd,createStaticVNode:Kd,createTextVNode:to,createVNode:ae,customRef:Pf,defineAsyncComponent:Lc,defineComponent:Ge,defineCustomElement:Cu,defineEmits:dd,defineExpose:pd,defineModel:gd,defineOptions:hd,defineProps:fd,defineSSRCustomElement:kp,defineSlots:md,get devtools(){return Xn},effect:ef,effectScope:ii,getCurrentInstance:cn,getCurrentScope:li,getTransitionRawChildren:qo,guardReactiveProps:lu,h:es,handleError:Kn,hasInjectionContext:qc,hydrate:Lu,initCustomFormatter:Gd,initDirectivesForSSR:Hp,inject:Tt,isMemoSame:gu,isProxy:di,isReactive:nn,isReadonly:$n,isRef:je,isRuntimeOnly:Zd,isShallow:Fr,isVNode:Sn,markRaw:Xr,mergeDefaults:wd,mergeModels:xd,mergeProps:cu,nextTick:zn,normalizeClass:Mt,normalizeProps:Ja,normalizeStyle:hr,onActivated:Fc,onBeforeMount:jc,onBeforeUnmount:Zo,onBeforeUpdate:Ei,onDeactivated:Bc,onErrorCaptured:Vc,onMounted:At,onRenderTracked:Hc,onRenderTriggered:Dc,onScopeDispose:ic,onServerPrefetch:$c,onUnmounted:kn,onUpdated:Yo,openBlock:he,popScopeId:zo,provide:Or,proxyRefs:mi,pushScopeId:Ko,queuePostFlushCb:Po,reactive:Rn,readonly:fi,ref:Ve,registerRuntimeCompiler:Yd,render:qs,renderList:ki,renderSlot:Xo,resolveComponent:qf,resolveDirective:Jf,resolveDynamicComponent:_i,resolveFilter:rp,resolveTransitionHooks:lr,setBlockTracking:Ds,setDevtoolsHook:kc,setTransitionHooks:Dn,shallowReactive:ai,shallowReadonly:xf,shallowRef:Nr,ssrContextKey:hu,ssrUtils:np,stop:tf,toDisplayString:tt,toHandlerKey:kr,toHandlers:ud,toRaw:ve,toRef:Mf,toRefs:bc,toValue:kf,transformVNodeArgs:Ud,triggerRef:Ef,unref:_e,useAttrs:_d,useCssModule:Op,useCssVars:Pp,useModel:bd,useSSRContext:mu,useSlots:yd,useTransitionState:xi,vModelCheckbox:ns,vModelDynamic:Ru,vModelRadio:Ti,vModelSelect:Ou,vModelText:Un,vShow:xu,version:vu,warn:Lf,watch:on,watchEffect:En,watchPostEffect:Ic,watchSyncEffect:nd,withAsyncContext:Ed,withCtx:Qr,withDefaults:vd,withDirectives:Vr,withKeys:sn,withMemo:ep,withModifiers:Rt,withScopeId:Hf},Symbol.toStringTag,{value:"Module"}));var Wp=!1;/*!
1
+ var Ta=Object.defineProperty;var La=(e,t,n)=>t in e?Ta(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Zt=(e,t,n)=>(La(e,typeof t!="symbol"?t+"":t,n),n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function Fo(e,t){const n=Object.create(null),o=e.split(",");for(let s=0;s<o.length;s++)n[o[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Re={},Gn=[],Dt=()=>{},Fa=()=>!1,Ba=/^on[^a-z]/,Yr=e=>Ba.test(e),ti=e=>e.startsWith("onUpdate:"),Be=Object.assign,ni=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Na=Object.prototype.hasOwnProperty,we=(e,t)=>Na.call(e,t),X=Array.isArray,er=e=>pr(e)==="[object Map]",Kn=e=>pr(e)==="[object Set]",Ki=e=>pr(e)==="[object Date]",ja=e=>pr(e)==="[object RegExp]",le=e=>typeof e=="function",Ne=e=>typeof e=="string",sr=e=>typeof e=="symbol",Ie=e=>e!==null&&typeof e=="object",ri=e=>(Ie(e)||le(e))&&le(e.then)&&le(e.catch),tc=Object.prototype.toString,pr=e=>tc.call(e),$a=e=>pr(e).slice(8,-1),nc=e=>pr(e)==="[object Object]",oi=e=>Ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Er=Fo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bo=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Da=/-(\w)/g,mt=Bo(e=>e.replace(Da,(t,n)=>n?n.toUpperCase():"")),Ha=/\B([A-Z])/g,It=Bo(e=>e.replace(Ha,"-$1").toLowerCase()),Zr=Bo(e=>e.charAt(0).toUpperCase()+e.slice(1)),kr=Bo(e=>e?`on${Zr(e)}`:""),xn=(e,t)=>!Object.is(e,t),tr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Eo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ko=e=>{const t=parseFloat(e);return isNaN(t)?e:t},So=e=>{const t=Ne(e)?Number(e):NaN;return isNaN(t)?e:t};let zi;const Rs=()=>zi||(zi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Va="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Ua=Fo(Va);function hr(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=Ne(o)?qa(o):hr(o);if(s)for(const i in s)t[i]=s[i]}return t}else if(Ne(e)||Ie(e))return e}const Wa=/;(?![^(]*\))/g,Ka=/:([^]+)/,za=/\/\*[^]*?\*\//g;function qa(e){const t={};return e.replace(za,"").split(Wa).forEach(n=>{if(n){const o=n.split(Ka);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Mt(e){let t="";if(Ne(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const o=Mt(e[n]);o&&(t+=o+" ")}else if(Ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ja(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ne(t)&&(e.class=Mt(t)),n&&(e.style=hr(n)),e}const Ya="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Za=Fo(Ya);function rc(e){return!!e||e===""}function Xa(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=Cn(e[o],t[o]);return n}function Cn(e,t){if(e===t)return!0;let n=Ki(e),o=Ki(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=sr(e),o=sr(t),n||o)return e===t;if(n=X(e),o=X(t),n||o)return n&&o?Xa(e,t):!1;if(n=Ie(e),o=Ie(t),n||o){if(!n||!o)return!1;const s=Object.keys(e).length,i=Object.keys(t).length;if(s!==i)return!1;for(const a in e){const l=e.hasOwnProperty(a),d=t.hasOwnProperty(a);if(l&&!d||!l&&d||!Cn(e[a],t[a]))return!1}}return String(e)===String(t)}function No(e,t){return e.findIndex(n=>Cn(n,t))}const tt=e=>Ne(e)?e:e==null?"":X(e)||Ie(e)&&(e.toString===tc||!le(e.toString))?JSON.stringify(e,oc,2):String(e),oc=(e,t)=>t&&t.__v_isRef?oc(e,t.value):er(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s])=>(n[`${o} =>`]=s,n),{})}:Kn(t)?{[`Set(${t.size})`]:[...t.values()]}:Ie(t)&&!X(t)&&!nc(t)?String(t):t;let wt;class si{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=wt,!t&&wt&&(this.index=(wt.scopes||(wt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=wt;try{return wt=this,t()}finally{wt=n}}}on(){wt=this}off(){wt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function ii(e){return new si(e)}function sc(e,t=wt){t&&t.active&&t.effects.push(e)}function li(){return wt}function ic(e){wt&&wt.cleanups.push(e)}const ci=e=>{const t=new Set(e);return t.w=0,t.n=0,t},lc=e=>(e.w&En)>0,cc=e=>(e.n&En)>0,Qa=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=En},Ga=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const s=t[o];lc(s)&&!cc(s)?s.delete(e):t[n++]=s,s.w&=~En,s.n&=~En}t.length=n}},Oo=new WeakMap;let wr=0,En=1;const Is=30;let jt;const Bn=Symbol(""),Ms=Symbol("");class ir{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,sc(this,o)}run(){if(!this.active)return this.fn();let t=jt,n=_n;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=jt,jt=this,_n=!0,En=1<<++wr,wr<=Is?Qa(this):qi(this),this.fn()}finally{wr<=Is&&Ga(this),En=1<<--wr,jt=this.parent,_n=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){jt===this?this.deferStop=!0:this.active&&(qi(this),this.onStop&&this.onStop(),this.active=!1)}}function qi(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function ef(e,t){e.effect instanceof ir&&(e=e.effect.fn);const n=new ir(e);t&&(Be(n,t),t.scope&&sc(n,t.scope)),(!t||!t.lazy)&&n.run();const o=n.run.bind(n);return o.effect=n,o}function tf(e){e.effect.stop()}let _n=!0;const uc=[];function mr(){uc.push(_n),_n=!1}function gr(){const e=uc.pop();_n=e===void 0?!0:e}function gt(e,t,n){if(_n&&jt){let o=Oo.get(e);o||Oo.set(e,o=new Map);let s=o.get(n);s||o.set(n,s=ci()),ac(s)}}function ac(e,t){let n=!1;wr<=Is?cc(e)||(e.n|=En,n=!lc(e)):n=!e.has(jt),n&&(e.add(jt),jt.deps.push(e))}function tn(e,t,n,o,s,i){const a=Oo.get(e);if(!a)return;let l=[];if(t==="clear")l=[...a.values()];else if(n==="length"&&X(e)){const d=Number(o);a.forEach((r,c)=>{(c==="length"||!sr(c)&&c>=d)&&l.push(r)})}else switch(n!==void 0&&l.push(a.get(n)),t){case"add":X(e)?oi(n)&&l.push(a.get("length")):(l.push(a.get(Bn)),er(e)&&l.push(a.get(Ms)));break;case"delete":X(e)||(l.push(a.get(Bn)),er(e)&&l.push(a.get(Ms)));break;case"set":er(e)&&l.push(a.get(Bn));break}if(l.length===1)l[0]&&As(l[0]);else{const d=[];for(const r of l)r&&d.push(...r);As(ci(d))}}function As(e,t){const n=X(e)?e:[...e];for(const o of n)o.computed&&Ji(o);for(const o of n)o.computed||Ji(o)}function Ji(e,t){(e!==jt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function nf(e,t){var n;return(n=Oo.get(e))==null?void 0:n.get(t)}const rf=Fo("__proto__,__v_isRef,__isVue"),fc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sr)),Yi=of();function of(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=ve(this);for(let i=0,a=this.length;i<a;i++)gt(o,"get",i+"");const s=o[t](...n);return s===-1||s===!1?o[t](...n.map(ve)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){mr();const o=ve(this)[t].apply(this,n);return gr(),o}}),e}function sf(e){const t=ve(this);return gt(t,"has",e),t.hasOwnProperty(e)}class dc{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const s=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&o===(s?i?yc:vc:i?gc:mc).get(t))return t;const a=X(t);if(!s){if(a&&we(Yi,n))return Reflect.get(Yi,n,o);if(n==="hasOwnProperty")return sf}const l=Reflect.get(t,n,o);return(sr(n)?fc.has(n):rf(n))||(s||gt(t,"get",n),i)?l:je(l)?a&&oi(n)?l:l.value:Ie(l)?s?fi(l):Rn(l):l}}class pc extends dc{constructor(t=!1){super(!1,t)}set(t,n,o,s){let i=t[n];if($n(i)&&je(i)&&!je(o))return!1;if(!this._shallow&&(!Fr(o)&&!$n(o)&&(i=ve(i),o=ve(o)),!X(t)&&je(i)&&!je(o)))return i.value=o,!0;const a=X(t)&&oi(n)?Number(n)<t.length:we(t,n),l=Reflect.set(t,n,o,s);return t===ve(s)&&(a?xn(o,i)&&tn(t,"set",n,o):tn(t,"add",n,o)),l}deleteProperty(t,n){const o=we(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&tn(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!sr(n)||!fc.has(n))&&gt(t,"has",n),o}ownKeys(t){return gt(t,"iterate",X(t)?"length":Bn),Reflect.ownKeys(t)}}class hc extends dc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lf=new pc,cf=new hc,uf=new pc(!0),af=new hc(!0),ui=e=>e,jo=e=>Reflect.getPrototypeOf(e);function co(e,t,n=!1,o=!1){e=e.__v_raw;const s=ve(e),i=ve(t);n||(xn(t,i)&&gt(s,"get",t),gt(s,"get",i));const{has:a}=jo(s),l=o?ui:n?pi:Br;if(a.call(s,t))return l(e.get(t));if(a.call(s,i))return l(e.get(i));e!==s&&e.get(t)}function uo(e,t=!1){const n=this.__v_raw,o=ve(n),s=ve(e);return t||(xn(e,s)&&gt(o,"has",e),gt(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ao(e,t=!1){return e=e.__v_raw,!t&&gt(ve(e),"iterate",Bn),Reflect.get(e,"size",e)}function Zi(e){e=ve(e);const t=ve(this);return jo(t).has.call(t,e)||(t.add(e),tn(t,"add",e,e)),this}function Xi(e,t){t=ve(t);const n=ve(this),{has:o,get:s}=jo(n);let i=o.call(n,e);i||(e=ve(e),i=o.call(n,e));const a=s.call(n,e);return n.set(e,t),i?xn(t,a)&&tn(n,"set",e,t):tn(n,"add",e,t),this}function Qi(e){const t=ve(this),{has:n,get:o}=jo(t);let s=n.call(t,e);s||(e=ve(e),s=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return s&&tn(t,"delete",e,void 0),i}function Gi(){const e=ve(this),t=e.size!==0,n=e.clear();return t&&tn(e,"clear",void 0,void 0),n}function fo(e,t){return function(o,s){const i=this,a=i.__v_raw,l=ve(a),d=t?ui:e?pi:Br;return!e&&gt(l,"iterate",Bn),a.forEach((r,c)=>o.call(s,d(r),d(c),i))}}function po(e,t,n){return function(...o){const s=this.__v_raw,i=ve(s),a=er(i),l=e==="entries"||e===Symbol.iterator&&a,d=e==="keys"&&a,r=s[e](...o),c=n?ui:t?pi:Br;return!t&&gt(i,"iterate",d?Ms:Bn),{next(){const{value:f,done:u}=r.next();return u?{value:f,done:u}:{value:l?[c(f[0]),c(f[1])]:c(f),done:u}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:this}}function ff(){const e={get(i){return co(this,i)},get size(){return ao(this)},has:uo,add:Zi,set:Xi,delete:Qi,clear:Gi,forEach:fo(!1,!1)},t={get(i){return co(this,i,!1,!0)},get size(){return ao(this)},has:uo,add:Zi,set:Xi,delete:Qi,clear:Gi,forEach:fo(!1,!0)},n={get(i){return co(this,i,!0)},get size(){return ao(this,!0)},has(i){return uo.call(this,i,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:fo(!0,!1)},o={get(i){return co(this,i,!0,!0)},get size(){return ao(this,!0)},has(i){return uo.call(this,i,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:fo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=po(i,!1,!1),n[i]=po(i,!0,!1),t[i]=po(i,!1,!0),o[i]=po(i,!0,!0)}),[e,n,t,o]}const[df,pf,hf,mf]=ff();function $o(e,t){const n=t?e?mf:hf:e?pf:df;return(o,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(we(n,s)&&s in o?n:o,s,i)}const gf={get:$o(!1,!1)},vf={get:$o(!1,!0)},yf={get:$o(!0,!1)},_f={get:$o(!0,!0)},mc=new WeakMap,gc=new WeakMap,vc=new WeakMap,yc=new WeakMap;function bf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wf(e){return e.__v_skip||!Object.isExtensible(e)?0:bf($a(e))}function Rn(e){return $n(e)?e:Do(e,!1,lf,gf,mc)}function ai(e){return Do(e,!1,uf,vf,gc)}function fi(e){return Do(e,!0,cf,yf,vc)}function xf(e){return Do(e,!0,af,_f,yc)}function Do(e,t,n,o,s){if(!Ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const a=wf(e);if(a===0)return e;const l=new Proxy(e,a===2?o:n);return s.set(e,l),l}function nn(e){return $n(e)?nn(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function Fr(e){return!!(e&&e.__v_isShallow)}function di(e){return nn(e)||$n(e)}function ve(e){const t=e&&e.__v_raw;return t?ve(t):e}function Xr(e){return Eo(e,"__v_skip",!0),e}const Br=e=>Ie(e)?Rn(e):e,pi=e=>Ie(e)?fi(e):e;function hi(e){_n&&jt&&(e=ve(e),ac(e.dep||(e.dep=ci())))}function Ho(e,t){e=ve(e);const n=e.dep;n&&As(n)}function je(e){return!!(e&&e.__v_isRef===!0)}function Ve(e){return _c(e,!1)}function Nr(e){return _c(e,!0)}function _c(e,t){return je(e)?e:new Cf(e,t)}class Cf{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ve(t),this._value=n?t:Br(t)}get value(){return hi(this),this._value}set value(t){const n=this.__v_isShallow||Fr(t)||$n(t);t=n?t:ve(t),xn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Br(t),Ho(this))}}function Ef(e){Ho(e)}function _e(e){return je(e)?e.value:e}function kf(e){return le(e)?e():_e(e)}const Sf={get:(e,t,n)=>_e(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return je(s)&&!je(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function mi(e){return nn(e)?e:new Proxy(e,Sf)}class Of{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>hi(this),()=>Ho(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function Pf(e){return new Of(e)}function bc(e){const t=X(e)?new Array(e.length):{};for(const n in e)t[n]=wc(e,n);return t}class Rf{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return nf(ve(this._object),this._key)}}class If{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Mf(e,t,n){return je(e)?e:le(e)?new If(e):Ie(e)&&arguments.length>1?wc(e,t,n):Ve(e)}function wc(e,t,n){const o=e[t];return je(o)?o:new Rf(e,t,n)}class Af{constructor(t,n,o,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new ir(t,()=>{this._dirty||(this._dirty=!0,Ho(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=ve(this);return hi(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Tf(e,t,n=!1){let o,s;const i=le(e);return i?(o=e,s=Dt):(o=e.get,s=e.set),new Af(o,s,i||!s,n)}function Lf(e,...t){}function Ff(e,t){}function rn(e,t,n,o){let s;try{s=o?e(...o):e()}catch(i){zn(i,t,n)}return s}function Ct(e,t,n,o){if(le(e)){const i=rn(e,t,n,o);return i&&ri(i)&&i.catch(a=>{zn(a,t,n)}),i}const s=[];for(let i=0;i<e.length;i++)s.push(Ct(e[i],t,n,o));return s}function zn(e,t,n,o=!0){const s=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,l=n;for(;i;){const r=i.ec;if(r){for(let c=0;c<r.length;c++)if(r[c](e,a,l)===!1)return}i=i.parent}const d=t.appContext.config.errorHandler;if(d){rn(d,null,10,[e,a,l]);return}}Bf(e,n,s,o)}function Bf(e,t,n,o=!0){console.error(e)}let jr=!1,Ts=!1;const it=[];let Wt=0;const nr=[];let Gt=null,Tn=0;const xc=Promise.resolve();let gi=null;function sn(e){const t=gi||xc;return e?t.then(this?e.bind(this):e):t}function Nf(e){let t=Wt+1,n=it.length;for(;t<n;){const o=t+n>>>1,s=it[o],i=$r(s);i<e||i===e&&s.pre?t=o+1:n=o}return t}function Vo(e){(!it.length||!it.includes(e,jr&&e.allowRecurse?Wt+1:Wt))&&(e.id==null?it.push(e):it.splice(Nf(e.id),0,e),Cc())}function Cc(){!jr&&!Ts&&(Ts=!0,gi=xc.then(Ec))}function jf(e){const t=it.indexOf(e);t>Wt&&it.splice(t,1)}function Po(e){X(e)?nr.push(...e):(!Gt||!Gt.includes(e,e.allowRecurse?Tn+1:Tn))&&nr.push(e),Cc()}function el(e,t=jr?Wt+1:0){for(;t<it.length;t++){const n=it[t];n&&n.pre&&(it.splice(t,1),t--,n())}}function Ro(e){if(nr.length){const t=[...new Set(nr)];if(nr.length=0,Gt){Gt.push(...t);return}for(Gt=t,Gt.sort((n,o)=>$r(n)-$r(o)),Tn=0;Tn<Gt.length;Tn++)Gt[Tn]();Gt=null,Tn=0}}const $r=e=>e.id==null?1/0:e.id,$f=(e,t)=>{const n=$r(e)-$r(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Ec(e){Ts=!1,jr=!0,it.sort($f);const t=Dt;try{for(Wt=0;Wt<it.length;Wt++){const n=it[Wt];n&&n.active!==!1&&rn(n,null,14)}}finally{Wt=0,it.length=0,Ro(),jr=!1,gi=null,(it.length||nr.length)&&Ec()}}let Xn,ho=[];function kc(e,t){var n,o;Xn=e,Xn?(Xn.enabled=!0,ho.forEach(({event:s,args:i})=>Xn.emit(s,...i)),ho=[]):typeof window<"u"&&window.HTMLElement&&!((o=(n=window.navigator)==null?void 0:n.userAgent)!=null&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{kc(i,t)}),setTimeout(()=>{Xn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ho=[])},3e3)):ho=[]}function Df(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||Re;let s=n;const i=t.startsWith("update:"),a=i&&t.slice(7);if(a&&a in o){const c=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:u}=o[c]||Re;u&&(s=n.map(p=>Ne(p)?p.trim():p)),f&&(s=n.map(ko))}let l,d=o[l=kr(t)]||o[l=kr(mt(t))];!d&&i&&(d=o[l=kr(It(t))]),d&&Ct(d,e,6,s);const r=o[l+"Once"];if(r){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ct(r,e,6,s)}}function Sc(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const i=e.emits;let a={},l=!1;if(!le(e)){const d=r=>{const c=Sc(r,t,!0);c&&(l=!0,Be(a,c))};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}return!i&&!l?(Ie(e)&&o.set(e,null),null):(X(i)?i.forEach(d=>a[d]=null):Be(a,i),Ie(e)&&o.set(e,a),a)}function Uo(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),we(e,t[0].toLowerCase()+t.slice(1))||we(e,It(t))||we(e,t))}let Qe=null,Wo=null;function Dr(e){const t=Qe;return Qe=e,Wo=e&&e.type.__scopeId||null,t}function Ko(e){Wo=e}function zo(){Wo=null}const Hf=e=>Qr;function Qr(e,t=Qe,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&Ds(-1);const i=Dr(t);let a;try{a=e(...s)}finally{Dr(i),o._d&&Ds(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function wo(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:i,propsOptions:[a],slots:l,attrs:d,emit:r,render:c,renderCache:f,data:u,setupState:p,ctx:m,inheritAttrs:g}=e;let C,x;const y=Dr(e);try{if(n.shapeFlag&4){const h=s||o;C=xt(c.call(h,h,f,i,p,u,m)),x=d}else{const h=t;C=xt(h.length>1?h(i,{attrs:d,slots:l,emit:r}):h(i,null)),x=t.props?d:Uf(d)}}catch(h){Rr.length=0,zn(h,e,1),C=ae(lt)}let v=C;if(x&&g!==!1){const h=Object.keys(x),{shapeFlag:b}=v;h.length&&b&7&&(a&&h.some(ti)&&(x=Wf(x,a)),v=qt(v,x))}return n.dirs&&(v=qt(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),C=v,Dr(y),C}function Vf(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(Sn(o)){if(o.type!==lt||o.children==="v-if"){if(t)return;t=o}}else return}return t}const Uf=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yr(n))&&((t||(t={}))[n]=e[n]);return t},Wf=(e,t)=>{const n={};for(const o in e)(!ti(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function Kf(e,t,n){const{props:o,children:s,component:i}=e,{props:a,children:l,patchFlag:d}=t,r=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&d>=0){if(d&1024)return!0;if(d&16)return o?tl(o,a,r):!!a;if(d&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const u=c[f];if(a[u]!==o[u]&&!Uo(r,u))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:o===a?!1:o?a?tl(o,a,r):!0:!!a;return!1}function tl(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const i=o[s];if(t[i]!==e[i]&&!Uo(n,i))return!0}return!1}function vi({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yi="components",zf="directives";function qf(e,t){return bi(yi,e,!0,t)||e}const Oc=Symbol.for("v-ndc");function _i(e){return Ne(e)?bi(yi,e,!1)||e:e||Oc}function Jf(e){return bi(zf,e)}function bi(e,t,n=!0,o=!1){const s=Qe||qe;if(s){const i=s.type;if(e===yi){const l=Us(i,!1);if(l&&(l===t||l===mt(t)||l===Zr(mt(t))))return i}const a=nl(s[e]||i[e],t)||nl(s.appContext[e],t);return!a&&o?i:a}}function nl(e,t){return e&&(e[t]||e[mt(t)]||e[Zr(mt(t))])}const Pc=e=>e.__isSuspense,Yf={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,i,a,l,d,r){e==null?Xf(t,n,o,s,i,a,l,d,r):Qf(e,t,n,o,s,a,l,d,r)},hydrate:Gf,create:wi,normalize:ed},Zf=Yf;function Hr(e,t){const n=e.props&&e.props[t];le(n)&&n()}function Xf(e,t,n,o,s,i,a,l,d){const{p:r,o:{createElement:c}}=d,f=c("div"),u=e.suspense=wi(e,s,o,t,f,n,i,a,l,d);r(null,u.pendingBranch=e.ssContent,f,null,o,u,i,a),u.deps>0?(Hr(e,"onPending"),Hr(e,"onFallback"),r(null,e.ssFallback,t,n,o,null,i,a),rr(u,e.ssFallback)):u.resolve(!1,!0)}function Qf(e,t,n,o,s,i,a,l,{p:d,um:r,o:{createElement:c}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const u=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:g,isInFallback:C,isHydrating:x}=f;if(g)f.pendingBranch=u,$t(u,g)?(d(g,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0?f.resolve():C&&(d(m,p,n,o,s,null,i,a,l),rr(f,p))):(f.pendingId++,x?(f.isHydrating=!1,f.activeBranch=g):r(g,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=c("div"),C?(d(null,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0?f.resolve():(d(m,p,n,o,s,null,i,a,l),rr(f,p))):m&&$t(u,m)?(d(m,u,n,o,s,f,i,a,l),f.resolve(!0)):(d(null,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0&&f.resolve()));else if(m&&$t(u,m))d(m,u,n,o,s,f,i,a,l),rr(f,u);else if(Hr(t,"onPending"),f.pendingBranch=u,f.pendingId++,d(null,u,f.hiddenContainer,null,s,f,i,a,l),f.deps<=0)f.resolve();else{const{timeout:y,pendingId:v}=f;y>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},y):y===0&&f.fallback(p)}}function wi(e,t,n,o,s,i,a,l,d,r,c=!1){const{p:f,m:u,um:p,n:m,o:{parentNode:g,remove:C}}=r;let x;const y=td(e);y&&t!=null&&t.pendingBranch&&(x=t.pendingId,t.deps++);const v=e.props?So(e.props.timeout):void 0,h={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:c,isUnmounted:!1,effects:[],resolve(b=!1,A=!1){const{vnode:I,activeBranch:O,pendingBranch:S,pendingId:k,effects:M,parentComponent:P,container:F}=h;let V=!1;if(h.isHydrating)h.isHydrating=!1;else if(!b){V=O&&S.transition&&S.transition.mode==="out-in",V&&(O.transition.afterLeave=()=>{k===h.pendingId&&(u(S,F,J,0),Po(M))});let{anchor:J}=h;O&&(J=m(O),p(O,P,h,!0)),V||u(S,F,J,0)}rr(h,S),h.pendingBranch=null,h.isInFallback=!1;let z=h.parent,T=!1;for(;z;){if(z.pendingBranch){z.effects.push(...M),T=!0;break}z=z.parent}!T&&!V&&Po(M),h.effects=[],y&&t&&t.pendingBranch&&x===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),Hr(I,"onResolve")},fallback(b){if(!h.pendingBranch)return;const{vnode:A,activeBranch:I,parentComponent:O,container:S,isSVG:k}=h;Hr(A,"onFallback");const M=m(I),P=()=>{h.isInFallback&&(f(null,b,S,M,O,null,k,l,d),rr(h,b))},F=b.transition&&b.transition.mode==="out-in";F&&(I.transition.afterLeave=P),h.isInFallback=!0,p(I,O,null,!0),F||P()},move(b,A,I){h.activeBranch&&u(h.activeBranch,b,A,I),h.container=b},next(){return h.activeBranch&&m(h.activeBranch)},registerDep(b,A){const I=!!h.pendingBranch;I&&h.deps++;const O=b.vnode.el;b.asyncDep.catch(S=>{zn(S,b,0)}).then(S=>{if(b.isUnmounted||h.isUnmounted||h.pendingId!==b.suspenseId)return;b.asyncResolved=!0;const{vnode:k}=b;Hs(b,S,!1),O&&(k.el=O);const M=!O&&b.subTree.el;A(b,k,g(O||b.subTree.el),O?null:m(b.subTree),h,a,d),M&&C(M),vi(b,k.el),I&&--h.deps===0&&h.resolve()})},unmount(b,A){h.isUnmounted=!0,h.activeBranch&&p(h.activeBranch,n,b,A),h.pendingBranch&&p(h.pendingBranch,n,b,A)}};return h}function Gf(e,t,n,o,s,i,a,l,d){const r=t.suspense=wi(t,o,n,e.parentNode,document.createElement("div"),null,s,i,a,l,!0),c=d(e,r.pendingBranch=t.ssContent,n,r,i,a);return r.deps===0&&r.resolve(!1,!0),c}function ed(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=rl(o?n.default:n),e.ssFallback=o?rl(n.fallback):ae(lt)}function rl(e){let t;if(le(e)){const n=Un&&e._c;n&&(e._d=!1,he()),e=e(),n&&(e._d=!0,t=ht,ou())}return X(e)&&(e=Vf(e)),e=xt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Rc(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Po(e)}function rr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,s=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=s,vi(o,s))}function td(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Dn(e,t){return Gr(e,null,t)}function Ic(e,t){return Gr(e,null,{flush:"post"})}function nd(e,t){return Gr(e,null,{flush:"sync"})}const mo={};function on(e,t,n){return Gr(e,t,n)}function Gr(e,t,{immediate:n,deep:o,flush:s,onTrack:i,onTrigger:a}=Re){var l;const d=li()===((l=qe)==null?void 0:l.scope)?qe:null;let r,c=!1,f=!1;if(je(e)?(r=()=>e.value,c=Fr(e)):nn(e)?(r=()=>e,o=!0):X(e)?(f=!0,c=e.some(h=>nn(h)||Fr(h)),r=()=>e.map(h=>{if(je(h))return h.value;if(nn(h))return Fn(h);if(le(h))return rn(h,d,2)})):le(e)?t?r=()=>rn(e,d,2):r=()=>{if(!(d&&d.isUnmounted))return u&&u(),Ct(e,d,3,[p])}:r=Dt,t&&o){const h=r;r=()=>Fn(h())}let u,p=h=>{u=y.onStop=()=>{rn(h,d,4)}},m;if(cr)if(p=Dt,t?n&&Ct(t,d,3,[r(),f?[]:void 0,p]):r(),s==="sync"){const h=mu();m=h.__watcherHandles||(h.__watcherHandles=[])}else return Dt;let g=f?new Array(e.length).fill(mo):mo;const C=()=>{if(y.active)if(t){const h=y.run();(o||c||(f?h.some((b,A)=>xn(b,g[A])):xn(h,g)))&&(u&&u(),Ct(t,d,3,[h,g===mo?void 0:f&&g[0]===mo?[]:g,p]),g=h)}else y.run()};C.allowRecurse=!!t;let x;s==="sync"?x=C:s==="post"?x=()=>et(C,d&&d.suspense):(C.pre=!0,d&&(C.id=d.uid),x=()=>Vo(C));const y=new ir(r,x);t?n?C():g=y.run():s==="post"?et(y.run.bind(y),d&&d.suspense):y.run();const v=()=>{y.stop(),d&&d.scope&&ni(d.scope.effects,y)};return m&&m.push(v),v}function rd(e,t,n){const o=this.proxy,s=Ne(e)?e.includes(".")?Mc(o,e):()=>o[e]:e.bind(o,o);let i;le(t)?i=t:(i=t.handler,n=t);const a=qe;On(this);const l=Gr(s,i.bind(o),n);return a?On(a):bn(),l}function Mc(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}function Fn(e,t){if(!Ie(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),je(e))Fn(e.value,t);else if(X(e))for(let n=0;n<e.length;n++)Fn(e[n],t);else if(Kn(e)||er(e))e.forEach(n=>{Fn(n,t)});else if(nc(e))for(const n in e)Fn(e[n],t);return e}function Vr(e,t){const n=Qe;if(n===null)return e;const o=Go(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[a,l,d,r=Re]=t[i];a&&(le(a)&&(a={mounted:a,updated:a}),a.deep&&Fn(l),s.push({dir:a,instance:o,value:l,oldValue:void 0,arg:d,modifiers:r}))}return e}function Ut(e,t,n,o){const s=e.dirs,i=t&&t.dirs;for(let a=0;a<s.length;a++){const l=s[a];i&&(l.oldValue=i[a].value);let d=l.dir[o];d&&(mr(),Ct(d,n,8,[e.el,l,e,t]),gr())}}const gn=Symbol("_leaveCb"),go=Symbol("_enterCb");function xi(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return At(()=>{e.isMounted=!0}),Zo(()=>{e.isUnmounting=!0}),e}const Pt=[Function,Array],Ci={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pt,onEnter:Pt,onAfterEnter:Pt,onEnterCancelled:Pt,onBeforeLeave:Pt,onLeave:Pt,onAfterLeave:Pt,onLeaveCancelled:Pt,onBeforeAppear:Pt,onAppear:Pt,onAfterAppear:Pt,onAppearCancelled:Pt},od={name:"BaseTransition",props:Ci,setup(e,{slots:t}){const n=cn(),o=xi();let s;return()=>{const i=t.default&&qo(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const g of i)if(g.type!==lt){a=g;break}}const l=ve(e),{mode:d}=l;if(o.isLeaving)return ys(a);const r=ol(a);if(!r)return ys(a);const c=lr(r,l,o,n);Hn(r,c);const f=n.subTree,u=f&&ol(f);let p=!1;const{getTransitionKey:m}=r.type;if(m){const g=m();s===void 0?s=g:g!==s&&(s=g,p=!0)}if(u&&u.type!==lt&&(!$t(r,u)||p)){const g=lr(u,l,o,n);if(Hn(u,g),d==="out-in")return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&n.update()},ys(a);d==="in-out"&&r.type!==lt&&(g.delayLeave=(C,x,y)=>{const v=Tc(o,u);v[String(u.key)]=u,C[gn]=()=>{x(),C[gn]=void 0,delete c.delayedLeave},c.delayedLeave=y})}return a}}},Ac=od;function Tc(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function lr(e,t,n,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:d,onAfterEnter:r,onEnterCancelled:c,onBeforeLeave:f,onLeave:u,onAfterLeave:p,onLeaveCancelled:m,onBeforeAppear:g,onAppear:C,onAfterAppear:x,onAppearCancelled:y}=t,v=String(e.key),h=Tc(n,e),b=(O,S)=>{O&&Ct(O,o,9,S)},A=(O,S)=>{const k=S[1];b(O,S),X(O)?O.every(M=>M.length<=1)&&k():O.length<=1&&k()},I={mode:i,persisted:a,beforeEnter(O){let S=l;if(!n.isMounted)if(s)S=g||l;else return;O[gn]&&O[gn](!0);const k=h[v];k&&$t(e,k)&&k.el[gn]&&k.el[gn](),b(S,[O])},enter(O){let S=d,k=r,M=c;if(!n.isMounted)if(s)S=C||d,k=x||r,M=y||c;else return;let P=!1;const F=O[go]=V=>{P||(P=!0,V?b(M,[O]):b(k,[O]),I.delayedLeave&&I.delayedLeave(),O[go]=void 0)};S?A(S,[O,F]):F()},leave(O,S){const k=String(e.key);if(O[go]&&O[go](!0),n.isUnmounting)return S();b(f,[O]);let M=!1;const P=O[gn]=F=>{M||(M=!0,S(),F?b(m,[O]):b(p,[O]),O[gn]=void 0,h[k]===e&&delete h[k])};h[k]=e,u?A(u,[O,P]):P()},clone(O){return lr(O,t,n,o)}};return I}function ys(e){if(eo(e))return e=qt(e),e.children=null,e}function ol(e){return eo(e)?e.children?e.children[0]:void 0:e}function Hn(e,t){e.shapeFlag&6&&e.component?Hn(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 qo(e,t=!1,n){let o=[],s=0;for(let i=0;i<e.length;i++){let a=e[i];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===Le?(a.patchFlag&128&&s++,o=o.concat(qo(a.children,t,l))):(t||a.type!==lt)&&o.push(l!=null?qt(a,{key:l}):a)}if(s>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ge(e,t){return le(e)?(()=>Be({name:e.name},t,{setup:e}))():e}const Nn=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Lc(e){le(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:s=200,timeout:i,suspensible:a=!0,onError:l}=e;let d=null,r,c=0;const f=()=>(c++,d=null,u()),u=()=>{let p;return d||(p=d=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((g,C)=>{l(m,()=>g(f()),()=>C(m),c+1)});throw m}).then(m=>p!==d&&d?d:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),r=m,m)))};return Ge({name:"AsyncComponentWrapper",__asyncLoader:u,get __asyncResolved(){return r},setup(){const p=qe;if(r)return()=>_s(r,p);const m=y=>{d=null,zn(y,p,13,!o)};if(a&&p.suspense||cr)return u().then(y=>()=>_s(y,p)).catch(y=>(m(y),()=>o?ae(o,{error:y}):null));const g=Ve(!1),C=Ve(),x=Ve(!!s);return s&&setTimeout(()=>{x.value=!1},s),i!=null&&setTimeout(()=>{if(!g.value&&!C.value){const y=new Error(`Async component timed out after ${i}ms.`);m(y),C.value=y}},i),u().then(()=>{g.value=!0,p.parent&&eo(p.parent.vnode)&&Vo(p.parent.update)}).catch(y=>{m(y),C.value=y}),()=>{if(g.value&&r)return _s(r,p);if(C.value&&o)return ae(o,{error:C.value});if(n&&!x.value)return ae(n)}}})}function _s(e,t){const{ref:n,props:o,children:s,ce:i}=t.vnode,a=ae(e,o,s);return a.ref=n,a.ce=i,delete t.vnode.ce,a}const eo=e=>e.type.__isKeepAlive,sd={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=cn(),o=n.ctx;if(!o.renderer)return()=>{const y=t.default&&t.default();return y&&y.length===1?y[0]:y};const s=new Map,i=new Set;let a=null;const l=n.suspense,{renderer:{p:d,m:r,um:c,o:{createElement:f}}}=o,u=f("div");o.activate=(y,v,h,b,A)=>{const I=y.component;r(y,v,h,0,l),d(I.vnode,y,v,h,I,l,b,y.slotScopeIds,A),et(()=>{I.isDeactivated=!1,I.a&&tr(I.a);const O=y.props&&y.props.onVnodeMounted;O&&pt(O,I.parent,y)},l)},o.deactivate=y=>{const v=y.component;r(y,u,null,1,l),et(()=>{v.da&&tr(v.da);const h=y.props&&y.props.onVnodeUnmounted;h&&pt(h,v.parent,y),v.isDeactivated=!0},l)};function p(y){bs(y),c(y,n,l,!0)}function m(y){s.forEach((v,h)=>{const b=Us(v.type);b&&(!y||!y(b))&&g(h)})}function g(y){const v=s.get(y);!a||!$t(v,a)?p(v):a&&bs(a),s.delete(y),i.delete(y)}on(()=>[e.include,e.exclude],([y,v])=>{y&&m(h=>xr(y,h)),v&&m(h=>!xr(v,h))},{flush:"post",deep:!0});let C=null;const x=()=>{C!=null&&s.set(C,ws(n.subTree))};return At(x),Yo(x),Zo(()=>{s.forEach(y=>{const{subTree:v,suspense:h}=n,b=ws(v);if(y.type===b.type&&y.key===b.key){bs(b);const A=b.component.da;A&&et(A,h);return}p(y)})}),()=>{if(C=null,!t.default)return null;const y=t.default(),v=y[0];if(y.length>1)return a=null,y;if(!Sn(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return a=null,v;let h=ws(v);const b=h.type,A=Us(Nn(h)?h.type.__asyncResolved||{}:b),{include:I,exclude:O,max:S}=e;if(I&&(!A||!xr(I,A))||O&&A&&xr(O,A))return a=h,v;const k=h.key==null?b:h.key,M=s.get(k);return h.el&&(h=qt(h),v.shapeFlag&128&&(v.ssContent=h)),C=k,M?(h.el=M.el,h.component=M.component,h.transition&&Hn(h,h.transition),h.shapeFlag|=512,i.delete(k),i.add(k)):(i.add(k),S&&i.size>parseInt(S,10)&&g(i.values().next().value)),h.shapeFlag|=256,a=h,Pc(v.type)?v:h}}},id=sd;function xr(e,t){return X(e)?e.some(n=>xr(n,t)):Ne(e)?e.split(",").includes(t):ja(e)?e.test(t):!1}function Fc(e,t){Nc(e,"a",t)}function Bc(e,t){Nc(e,"da",t)}function Nc(e,t,n=qe){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Jo(t,o,n),n){let s=n.parent;for(;s&&s.parent;)eo(s.parent.vnode)&&ld(o,t,n,s),s=s.parent}}function ld(e,t,n,o){const s=Jo(t,e,o,!0);kn(()=>{ni(o[t],s)},n)}function bs(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ws(e){return e.shapeFlag&128?e.ssContent:e}function Jo(e,t,n=qe,o=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;mr(),On(n);const l=Ct(t,n,e,a);return bn(),gr(),l});return o?s.unshift(i):s.push(i),i}}const ln=e=>(t,n=qe)=>(!cr||e==="sp")&&Jo(e,(...o)=>t(...o),n),jc=ln("bm"),At=ln("m"),Ei=ln("bu"),Yo=ln("u"),Zo=ln("bum"),kn=ln("um"),$c=ln("sp"),Dc=ln("rtg"),Hc=ln("rtc");function Vc(e,t=qe){Jo("ec",e,t)}function ki(e,t,n,o){let s;const i=n&&n[o];if(X(e)||Ne(e)){s=new Array(e.length);for(let a=0,l=e.length;a<l;a++)s[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,i&&i[a])}else if(Ie(e))if(e[Symbol.iterator])s=Array.from(e,(a,l)=>t(a,l,void 0,i&&i[l]));else{const a=Object.keys(e);s=new Array(a.length);for(let l=0,d=a.length;l<d;l++){const r=a[l];s[l]=t(e[r],r,l,i&&i[l])}}else s=[];return n&&(n[o]=s),s}function cd(e,t){for(let n=0;n<t.length;n++){const o=t[n];if(X(o))for(let s=0;s<o.length;s++)e[o[s].name]=o[s].fn;else o&&(e[o.name]=o.key?(...s)=>{const i=o.fn(...s);return i&&(i.key=o.key),i}:o.fn)}return e}function Xo(e,t,n={},o,s){if(Qe.isCE||Qe.parent&&Nn(Qe.parent)&&Qe.parent.isCE)return t!=="default"&&(n.name=t),ae("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),he();const a=i&&Uc(i(n)),l=zt(Le,{key:n.key||a&&a.key||`_${t}`},a||(o?o():[]),a&&e._===1?64:-2);return!s&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Uc(e){return e.some(t=>Sn(t)?!(t.type===lt||t.type===Le&&!Uc(t.children)):!0)?e:null}function ud(e,t){const n={};for(const o in e)n[t&&/[A-Z]/.test(o)?`on:${o}`:kr(o)]=e[o];return n}const Ls=e=>e?au(e)?Go(e)||e.proxy:Ls(e.parent):null,Sr=Be(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=>Ls(e.parent),$root:e=>Ls(e.root),$emit:e=>e.emit,$options:e=>Si(e),$forceUpdate:e=>e.f||(e.f=()=>Vo(e.update)),$nextTick:e=>e.n||(e.n=sn.bind(e.proxy)),$watch:e=>rd.bind(e)}),xs=(e,t)=>e!==Re&&!e.__isScriptSetup&&we(e,t),Fs={get({_:e},t){const{ctx:n,setupState:o,data:s,props:i,accessCache:a,type:l,appContext:d}=e;let r;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(xs(o,t))return a[t]=1,o[t];if(s!==Re&&we(s,t))return a[t]=2,s[t];if((r=e.propsOptions[0])&&we(r,t))return a[t]=3,i[t];if(n!==Re&&we(n,t))return a[t]=4,n[t];Bs&&(a[t]=0)}}const c=Sr[t];let f,u;if(c)return t==="$attrs"&&gt(e,"get",t),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==Re&&we(n,t))return a[t]=4,n[t];if(u=d.config.globalProperties,we(u,t))return u[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:i}=e;return xs(s,t)?(s[t]=n,!0):o!==Re&&we(o,t)?(o[t]=n,!0):we(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,propsOptions:i}},a){let l;return!!n[a]||e!==Re&&we(e,a)||xs(t,a)||(l=i[0])&&we(l,a)||we(o,a)||we(Sr,a)||we(s.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:we(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},ad=Be({},Fs,{get(e,t){if(t!==Symbol.unscopables)return Fs.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Ua(t)}});function fd(){return null}function dd(){return null}function pd(e){}function hd(e){}function md(){return null}function gd(){}function vd(e,t){return null}function yd(){return Wc().slots}function _d(){return Wc().attrs}function bd(e,t,n){const o=cn();if(n&&n.local){const s=Ve(e[t]);return on(()=>e[t],i=>s.value=i),on(s,i=>{i!==e[t]&&o.emit(`update:${t}`,i)}),s}else return{__v_isRef:!0,get value(){return e[t]},set value(s){o.emit(`update:${t}`,s)}}}function Wc(){const e=cn();return e.setupContext||(e.setupContext=pu(e))}function Ur(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function wd(e,t){const n=Ur(e);for(const o in t){if(o.startsWith("__skip"))continue;let s=n[o];s?X(s)||le(s)?s=n[o]={type:s,default:t[o]}:s.default=t[o]:s===null&&(s=n[o]={default:t[o]}),s&&t[`__skip_${o}`]&&(s.skipFactory=!0)}return n}function xd(e,t){return!e||!t?e||t:X(e)&&X(t)?e.concat(t):Be({},Ur(e),Ur(t))}function Cd(e,t){const n={};for(const o in e)t.includes(o)||Object.defineProperty(n,o,{enumerable:!0,get:()=>e[o]});return n}function Ed(e){const t=cn();let n=e();return bn(),ri(n)&&(n=n.catch(o=>{throw On(t),o})),[n,()=>On(t)]}let Bs=!0;function kd(e){const t=Si(e),n=e.proxy,o=e.ctx;Bs=!1,t.beforeCreate&&sl(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:a,watch:l,provide:d,inject:r,created:c,beforeMount:f,mounted:u,beforeUpdate:p,updated:m,activated:g,deactivated:C,beforeDestroy:x,beforeUnmount:y,destroyed:v,unmounted:h,render:b,renderTracked:A,renderTriggered:I,errorCaptured:O,serverPrefetch:S,expose:k,inheritAttrs:M,components:P,directives:F,filters:V}=t;if(r&&Sd(r,o,null),a)for(const J in a){const q=a[J];le(q)&&(o[J]=q.bind(n))}if(s){const J=s.call(n,n);Ie(J)&&(e.data=Rn(J))}if(Bs=!0,i)for(const J in i){const q=i[J],Me=le(q)?q.bind(n,n):le(q.get)?q.get.bind(n,n):Dt,Ue=!le(q)&&le(q.set)?q.set.bind(n):Dt,Je=Fe({get:Me,set:Ue});Object.defineProperty(o,J,{enumerable:!0,configurable:!0,get:()=>Je.value,set:Ae=>Je.value=Ae})}if(l)for(const J in l)Kc(l[J],o,n,J);if(d){const J=le(d)?d.call(n):d;Reflect.ownKeys(J).forEach(q=>{Or(q,J[q])})}c&&sl(c,e,"c");function T(J,q){X(q)?q.forEach(Me=>J(Me.bind(n))):q&&J(q.bind(n))}if(T(jc,f),T(At,u),T(Ei,p),T(Yo,m),T(Fc,g),T(Bc,C),T(Vc,O),T(Hc,A),T(Dc,I),T(Zo,y),T(kn,h),T($c,S),X(k))if(k.length){const J=e.exposed||(e.exposed={});k.forEach(q=>{Object.defineProperty(J,q,{get:()=>n[q],set:Me=>n[q]=Me})})}else e.exposed||(e.exposed={});b&&e.render===Dt&&(e.render=b),M!=null&&(e.inheritAttrs=M),P&&(e.components=P),F&&(e.directives=F)}function Sd(e,t,n=Dt){X(e)&&(e=Ns(e));for(const o in e){const s=e[o];let i;Ie(s)?"default"in s?i=Tt(s.from||o,s.default,!0):i=Tt(s.from||o):i=Tt(s),je(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function sl(e,t,n){Ct(X(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Kc(e,t,n,o){const s=o.includes(".")?Mc(n,o):()=>n[o];if(Ne(e)){const i=t[e];le(i)&&on(s,i)}else if(le(e))on(s,e.bind(n));else if(Ie(e))if(X(e))e.forEach(i=>Kc(i,t,n,o));else{const i=le(e.handler)?e.handler.bind(n):t[e.handler];le(i)&&on(s,i,e)}}function Si(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,l=i.get(t);let d;return l?d=l:!s.length&&!n&&!o?d=t:(d={},s.length&&s.forEach(r=>Io(d,r,a,!0)),Io(d,t,a)),Ie(t)&&i.set(t,d),d}function Io(e,t,n,o=!1){const{mixins:s,extends:i}=t;i&&Io(e,i,n,!0),s&&s.forEach(a=>Io(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const l=Od[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Od={data:il,props:ll,emits:ll,methods:Cr,computed:Cr,beforeCreate:ut,created:ut,beforeMount:ut,mounted:ut,beforeUpdate:ut,updated:ut,beforeDestroy:ut,beforeUnmount:ut,destroyed:ut,unmounted:ut,activated:ut,deactivated:ut,errorCaptured:ut,serverPrefetch:ut,components:Cr,directives:Cr,watch:Rd,provide:il,inject:Pd};function il(e,t){return t?e?function(){return Be(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function Pd(e,t){return Cr(Ns(e),Ns(t))}function Ns(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ut(e,t){return e?[...new Set([].concat(e,t))]:t}function Cr(e,t){return e?Be(Object.create(null),e,t):t}function ll(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Be(Object.create(null),Ur(e),Ur(t??{})):t}function Rd(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const o in t)n[o]=ut(e[o],t[o]);return n}function zc(){return{app:null,config:{isNativeTag:Fa,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 Id=0;function Md(e,t){return function(o,s=null){le(o)||(o=Be({},o)),s!=null&&!Ie(s)&&(s=null);const i=zc(),a=new WeakSet;let l=!1;const d=i.app={_uid:Id++,_component:o,_props:s,_container:null,_context:i,_instance:null,version:vu,get config(){return i.config},set config(r){},use(r,...c){return a.has(r)||(r&&le(r.install)?(a.add(r),r.install(d,...c)):le(r)&&(a.add(r),r(d,...c))),d},mixin(r){return i.mixins.includes(r)||i.mixins.push(r),d},component(r,c){return c?(i.components[r]=c,d):i.components[r]},directive(r,c){return c?(i.directives[r]=c,d):i.directives[r]},mount(r,c,f){if(!l){const u=ae(o,s);return u.appContext=i,c&&t?t(u,r):e(u,r,f),l=!0,d._container=r,r.__vue_app__=d,Go(u.component)||u.component.proxy}},unmount(){l&&(e(null,d._container),delete d._container.__vue_app__)},provide(r,c){return i.provides[r]=c,d},runWithContext(r){Wr=d;try{return r()}finally{Wr=null}}};return d}}let Wr=null;function Or(e,t){if(qe){let n=qe.provides;const o=qe.parent&&qe.parent.provides;o===n&&(n=qe.provides=Object.create(o)),n[e]=t}}function Tt(e,t,n=!1){const o=qe||Qe;if(o||Wr){const s=o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:Wr._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&le(t)?t.call(o&&o.proxy):t}}function qc(){return!!(qe||Qe||Wr)}function Ad(e,t,n,o=!1){const s={},i={};Eo(i,Qo,1),e.propsDefaults=Object.create(null),Jc(e,t,s,i);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=o?s:ai(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Td(e,t,n,o){const{props:s,attrs:i,vnode:{patchFlag:a}}=e,l=ve(s),[d]=e.propsOptions;let r=!1;if((o||a>0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let u=c[f];if(Uo(e.emitsOptions,u))continue;const p=t[u];if(d)if(we(i,u))p!==i[u]&&(i[u]=p,r=!0);else{const m=mt(u);s[m]=js(d,l,m,p,e,!1)}else p!==i[u]&&(i[u]=p,r=!0)}}}else{Jc(e,t,s,i)&&(r=!0);let c;for(const f in l)(!t||!we(t,f)&&((c=It(f))===f||!we(t,c)))&&(d?n&&(n[f]!==void 0||n[c]!==void 0)&&(s[f]=js(d,l,f,void 0,e,!0)):delete s[f]);if(i!==l)for(const f in i)(!t||!we(t,f))&&(delete i[f],r=!0)}r&&tn(e,"set","$attrs")}function Jc(e,t,n,o){const[s,i]=e.propsOptions;let a=!1,l;if(t)for(let d in t){if(Er(d))continue;const r=t[d];let c;s&&we(s,c=mt(d))?!i||!i.includes(c)?n[c]=r:(l||(l={}))[c]=r:Uo(e.emitsOptions,d)||(!(d in o)||r!==o[d])&&(o[d]=r,a=!0)}if(i){const d=ve(n),r=l||Re;for(let c=0;c<i.length;c++){const f=i[c];n[f]=js(s,d,f,r[f],e,!we(r,f))}}return a}function js(e,t,n,o,s,i){const a=e[n];if(a!=null){const l=we(a,"default");if(l&&o===void 0){const d=a.default;if(a.type!==Function&&!a.skipFactory&&le(d)){const{propsDefaults:r}=s;n in r?o=r[n]:(On(s),o=r[n]=d.call(null,t),bn())}else o=d}a[0]&&(i&&!l?o=!1:a[1]&&(o===""||o===It(n))&&(o=!0))}return o}function Yc(e,t,n=!1){const o=t.propsCache,s=o.get(e);if(s)return s;const i=e.props,a={},l=[];let d=!1;if(!le(e)){const c=f=>{d=!0;const[u,p]=Yc(f,t,!0);Be(a,u),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!d)return Ie(e)&&o.set(e,Gn),Gn;if(X(i))for(let c=0;c<i.length;c++){const f=mt(i[c]);cl(f)&&(a[f]=Re)}else if(i)for(const c in i){const f=mt(c);if(cl(f)){const u=i[c],p=a[f]=X(u)||le(u)?{type:u}:Be({},u);if(p){const m=fl(Boolean,p.type),g=fl(String,p.type);p[0]=m>-1,p[1]=g<0||m<g,(m>-1||we(p,"default"))&&l.push(f)}}}const r=[a,l];return Ie(e)&&o.set(e,r),r}function cl(e){return e[0]!=="$"}function ul(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function al(e,t){return ul(e)===ul(t)}function fl(e,t){return X(t)?t.findIndex(n=>al(n,e)):le(t)&&al(t,e)?0:-1}const Zc=e=>e[0]==="_"||e==="$stable",Oi=e=>X(e)?e.map(xt):[xt(e)],Ld=(e,t,n)=>{if(t._n)return t;const o=Qr((...s)=>Oi(t(...s)),n);return o._c=!1,o},Xc=(e,t,n)=>{const o=e._ctx;for(const s in e){if(Zc(s))continue;const i=e[s];if(le(i))t[s]=Ld(s,i,o);else if(i!=null){const a=Oi(i);t[s]=()=>a}}},Qc=(e,t)=>{const n=Oi(t);e.slots.default=()=>n},Fd=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ve(t),Eo(t,"_",n)):Xc(t,e.slots={})}else e.slots={},t&&Qc(e,t);Eo(e.slots,Qo,1)},Bd=(e,t,n)=>{const{vnode:o,slots:s}=e;let i=!0,a=Re;if(o.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:(Be(s,t),!n&&l===1&&delete s._):(i=!t.$stable,Xc(t,s)),a=t}else t&&(Qc(e,t),a={default:1});if(i)for(const l in s)!Zc(l)&&a[l]==null&&delete s[l]};function Mo(e,t,n,o,s=!1){if(X(e)){e.forEach((u,p)=>Mo(u,t&&(X(t)?t[p]:t),n,o,s));return}if(Nn(o)&&!s)return;const i=o.shapeFlag&4?Go(o.component)||o.component.proxy:o.el,a=s?null:i,{i:l,r:d}=e,r=t&&t.r,c=l.refs===Re?l.refs={}:l.refs,f=l.setupState;if(r!=null&&r!==d&&(Ne(r)?(c[r]=null,we(f,r)&&(f[r]=null)):je(r)&&(r.value=null)),le(d))rn(d,l,12,[a,c]);else{const u=Ne(d),p=je(d);if(u||p){const m=()=>{if(e.f){const g=u?we(f,d)?f[d]:c[d]:d.value;s?X(g)&&ni(g,i):X(g)?g.includes(i)||g.push(i):u?(c[d]=[i],we(f,d)&&(f[d]=c[d])):(d.value=[i],e.k&&(c[e.k]=d.value))}else u?(c[d]=a,we(f,d)&&(f[d]=a)):p&&(d.value=a,e.k&&(c[e.k]=a))};a?(m.id=-1,et(m,n)):m()}}}let fn=!1;const vo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",yo=e=>e.nodeType===8;function Nd(e){const{mt:t,p:n,o:{patchProp:o,createText:s,nextSibling:i,parentNode:a,remove:l,insert:d,createComment:r}}=e,c=(v,h)=>{if(!h.hasChildNodes()){n(null,v,h),Ro(),h._vnode=v;return}fn=!1,f(h.firstChild,v,null,null,null),Ro(),h._vnode=v,fn&&console.error("Hydration completed but contains mismatches.")},f=(v,h,b,A,I,O=!1)=>{const S=yo(v)&&v.data==="[",k=()=>g(v,h,b,A,I,S),{type:M,ref:P,shapeFlag:F,patchFlag:V}=h;let z=v.nodeType;h.el=v,V===-2&&(O=!1,h.dynamicChildren=null);let T=null;switch(M){case Vn:z!==3?h.children===""?(d(h.el=s(""),a(v),v),T=v):T=k():(v.data!==h.children&&(fn=!0,v.data=h.children),T=i(v));break;case lt:y(v)?(T=i(v),x(h.el=v.content.firstChild,v,b)):z!==8||S?T=k():T=i(v);break;case jn:if(S&&(v=i(v),z=v.nodeType),z===1||z===3){T=v;const J=!h.children.length;for(let q=0;q<h.staticCount;q++)J&&(h.children+=T.nodeType===1?T.outerHTML:T.data),q===h.staticCount-1&&(h.anchor=T),T=i(T);return S?i(T):T}else k();break;case Le:S?T=m(v,h,b,A,I,O):T=k();break;default:if(F&1)(z!==1||h.type.toLowerCase()!==v.tagName.toLowerCase())&&!y(v)?T=k():T=u(v,h,b,A,I,O);else if(F&6){h.slotScopeIds=I;const J=a(v);if(S?T=C(v):yo(v)&&v.data==="teleport start"?T=C(v,v.data,"teleport end"):T=i(v),t(h,J,null,b,A,vo(J),O),Nn(h)){let q;S?(q=ae(Le),q.anchor=T?T.previousSibling:J.lastChild):q=v.nodeType===3?to(""):ae("div"),q.el=v,h.component.subTree=q}}else F&64?z!==8?T=k():T=h.type.hydrate(v,h,b,A,I,O,e,p):F&128&&(T=h.type.hydrate(v,h,b,A,vo(a(v)),I,O,e,f))}return P!=null&&Mo(P,null,A,h),T},u=(v,h,b,A,I,O)=>{O=O||!!h.dynamicChildren;const{type:S,props:k,patchFlag:M,shapeFlag:P,dirs:F,transition:V}=h,z=S==="input"&&F||S==="option";if(z||M!==-1){if(F&&Ut(h,null,b,"created"),k)if(z||!O||M&48)for(const q in k)(z&&q.endsWith("value")||Yr(q)&&!Er(q))&&o(v,q,null,k[q],!1,void 0,b);else k.onClick&&o(v,"onClick",null,k.onClick,!1,void 0,b);let T;(T=k&&k.onVnodeBeforeMount)&&pt(T,b,h);let J=!1;if(y(v)){J=nu(A,V)&&b&&b.vnode.props&&b.vnode.props.appear;const q=v.content.firstChild;J&&V.beforeEnter(q),x(q,v,b),h.el=v=q}if(F&&Ut(h,null,b,"beforeMount"),((T=k&&k.onVnodeMounted)||F||J)&&Rc(()=>{T&&pt(T,b,h),J&&V.enter(v),F&&Ut(h,null,b,"mounted")},A),P&16&&!(k&&(k.innerHTML||k.textContent))){let q=p(v.firstChild,h,v,b,A,I,O);for(;q;){fn=!0;const Me=q;q=q.nextSibling,l(Me)}}else P&8&&v.textContent!==h.children&&(fn=!0,v.textContent=h.children)}return v.nextSibling},p=(v,h,b,A,I,O,S)=>{S=S||!!h.dynamicChildren;const k=h.children,M=k.length;for(let P=0;P<M;P++){const F=S?k[P]:k[P]=xt(k[P]);if(v)v=f(v,F,A,I,O,S);else{if(F.type===Vn&&!F.children)continue;fn=!0,n(null,F,b,null,A,I,vo(b),O)}}return v},m=(v,h,b,A,I,O)=>{const{slotScopeIds:S}=h;S&&(I=I?I.concat(S):S);const k=a(v),M=p(i(v),h,k,b,A,I,O);return M&&yo(M)&&M.data==="]"?i(h.anchor=M):(fn=!0,d(h.anchor=r("]"),k,M),M)},g=(v,h,b,A,I,O)=>{if(fn=!0,h.el=null,O){const M=C(v);for(;;){const P=i(v);if(P&&P!==M)l(P);else break}}const S=i(v),k=a(v);return l(v),n(null,h,k,S,b,A,vo(k),I),S},C=(v,h="[",b="]")=>{let A=0;for(;v;)if(v=i(v),v&&yo(v)&&(v.data===h&&A++,v.data===b)){if(A===0)return i(v);A--}return v},x=(v,h,b)=>{const A=h.parentNode;A&&A.replaceChild(v,h);let I=b;for(;I;)I.vnode.el===h&&(I.vnode.el=I.subTree.el=v),I=I.parent},y=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[c,f]}const et=Rc;function Gc(e){return tu(e)}function eu(e){return tu(e,Nd)}function tu(e,t){const n=Rs();n.__VUE__=!0;const{insert:o,remove:s,patchProp:i,createElement:a,createText:l,createComment:d,setText:r,setElementText:c,parentNode:f,nextSibling:u,setScopeId:p=Dt,insertStaticContent:m}=e,g=(_,w,R,L=null,j=null,$=null,Y=!1,H=null,W=!!w.dynamicChildren)=>{if(_===w)return;_&&!$t(_,w)&&(L=B(_),Ae(_,j,$,!0),_=null),w.patchFlag===-2&&(W=!1,w.dynamicChildren=null);const{type:D,ref:ee,shapeFlag:Q}=w;switch(D){case Vn:C(_,w,R,L);break;case lt:x(_,w,R,L);break;case jn:_==null&&y(w,R,L,Y);break;case Le:P(_,w,R,L,j,$,Y,H,W);break;default:Q&1?b(_,w,R,L,j,$,Y,H,W):Q&6?F(_,w,R,L,j,$,Y,H,W):(Q&64||Q&128)&&D.process(_,w,R,L,j,$,Y,H,W,U)}ee!=null&&j&&Mo(ee,_&&_.ref,$,w||_,!w)},C=(_,w,R,L)=>{if(_==null)o(w.el=l(w.children),R,L);else{const j=w.el=_.el;w.children!==_.children&&r(j,w.children)}},x=(_,w,R,L)=>{_==null?o(w.el=d(w.children||""),R,L):w.el=_.el},y=(_,w,R,L)=>{[_.el,_.anchor]=m(_.children,w,R,L,_.el,_.anchor)},v=({el:_,anchor:w},R,L)=>{let j;for(;_&&_!==w;)j=u(_),o(_,R,L),_=j;o(w,R,L)},h=({el:_,anchor:w})=>{let R;for(;_&&_!==w;)R=u(_),s(_),_=R;s(w)},b=(_,w,R,L,j,$,Y,H,W)=>{Y=Y||w.type==="svg",_==null?A(w,R,L,j,$,Y,H,W):S(_,w,j,$,Y,H,W)},A=(_,w,R,L,j,$,Y,H)=>{let W,D;const{type:ee,props:Q,shapeFlag:oe,transition:ce,dirs:ge}=_;if(W=_.el=a(_.type,$,Q&&Q.is,Q),oe&8?c(W,_.children):oe&16&&O(_.children,W,null,L,j,$&&ee!=="foreignObject",Y,H),ge&&Ut(_,null,L,"created"),I(W,_,_.scopeId,Y,L),Q){for(const Ce in Q)Ce!=="value"&&!Er(Ce)&&i(W,Ce,null,Q[Ce],$,_.children,L,j,De);"value"in Q&&i(W,"value",null,Q.value),(D=Q.onVnodeBeforeMount)&&pt(D,L,_)}ge&&Ut(_,null,L,"beforeMount");const Oe=nu(j,ce);Oe&&ce.beforeEnter(W),o(W,w,R),((D=Q&&Q.onVnodeMounted)||Oe||ge)&&et(()=>{D&&pt(D,L,_),Oe&&ce.enter(W),ge&&Ut(_,null,L,"mounted")},j)},I=(_,w,R,L,j)=>{if(R&&p(_,R),L)for(let $=0;$<L.length;$++)p(_,L[$]);if(j){let $=j.subTree;if(w===$){const Y=j.vnode;I(_,Y,Y.scopeId,Y.slotScopeIds,j.parent)}}},O=(_,w,R,L,j,$,Y,H,W=0)=>{for(let D=W;D<_.length;D++){const ee=_[D]=H?vn(_[D]):xt(_[D]);g(null,ee,w,R,L,j,$,Y,H)}},S=(_,w,R,L,j,$,Y)=>{const H=w.el=_.el;let{patchFlag:W,dynamicChildren:D,dirs:ee}=w;W|=_.patchFlag&16;const Q=_.props||Re,oe=w.props||Re;let ce;R&&Mn(R,!1),(ce=oe.onVnodeBeforeUpdate)&&pt(ce,R,w,_),ee&&Ut(w,_,R,"beforeUpdate"),R&&Mn(R,!0);const ge=j&&w.type!=="foreignObject";if(D?k(_.dynamicChildren,D,H,R,L,ge,$):Y||q(_,w,H,null,R,L,ge,$,!1),W>0){if(W&16)M(H,w,Q,oe,R,L,j);else if(W&2&&Q.class!==oe.class&&i(H,"class",null,oe.class,j),W&4&&i(H,"style",Q.style,oe.style,j),W&8){const Oe=w.dynamicProps;for(let Ce=0;Ce<Oe.length;Ce++){const He=Oe[Ce],vt=Q[He],Jt=oe[He];(Jt!==vt||He==="value")&&i(H,He,vt,Jt,j,_.children,R,L,De)}}W&1&&_.children!==w.children&&c(H,w.children)}else!Y&&D==null&&M(H,w,Q,oe,R,L,j);((ce=oe.onVnodeUpdated)||ee)&&et(()=>{ce&&pt(ce,R,w,_),ee&&Ut(w,_,R,"updated")},L)},k=(_,w,R,L,j,$,Y)=>{for(let H=0;H<w.length;H++){const W=_[H],D=w[H],ee=W.el&&(W.type===Le||!$t(W,D)||W.shapeFlag&70)?f(W.el):R;g(W,D,ee,null,L,j,$,Y,!0)}},M=(_,w,R,L,j,$,Y)=>{if(R!==L){if(R!==Re)for(const H in R)!Er(H)&&!(H in L)&&i(_,H,R[H],null,Y,w.children,j,$,De);for(const H in L){if(Er(H))continue;const W=L[H],D=R[H];W!==D&&H!=="value"&&i(_,H,D,W,Y,w.children,j,$,De)}"value"in L&&i(_,"value",R.value,L.value)}},P=(_,w,R,L,j,$,Y,H,W)=>{const D=w.el=_?_.el:l(""),ee=w.anchor=_?_.anchor:l("");let{patchFlag:Q,dynamicChildren:oe,slotScopeIds:ce}=w;ce&&(H=H?H.concat(ce):ce),_==null?(o(D,R,L),o(ee,R,L),O(w.children,R,ee,j,$,Y,H,W)):Q>0&&Q&64&&oe&&_.dynamicChildren?(k(_.dynamicChildren,oe,R,j,$,Y,H),(w.key!=null||j&&w===j.subTree)&&Pi(_,w,!0)):q(_,w,R,ee,j,$,Y,H,W)},F=(_,w,R,L,j,$,Y,H,W)=>{w.slotScopeIds=H,_==null?w.shapeFlag&512?j.ctx.activate(w,R,L,Y,W):V(w,R,L,j,$,Y,W):z(_,w,W)},V=(_,w,R,L,j,$,Y)=>{const H=_.component=uu(_,L,j);if(eo(_)&&(H.ctx.renderer=U),fu(H),H.asyncDep){if(j&&j.registerDep(H,T),!_.el){const W=H.subTree=ae(lt);x(null,W,w,R)}return}T(H,_,w,R,j,$,Y)},z=(_,w,R)=>{const L=w.component=_.component;if(Kf(_,w,R))if(L.asyncDep&&!L.asyncResolved){J(L,w,R);return}else L.next=w,jf(L.update),L.update();else w.el=_.el,L.vnode=w},T=(_,w,R,L,j,$,Y)=>{const H=()=>{if(_.isMounted){let{next:ee,bu:Q,u:oe,parent:ce,vnode:ge}=_,Oe=ee,Ce;Mn(_,!1),ee?(ee.el=ge.el,J(_,ee,Y)):ee=ge,Q&&tr(Q),(Ce=ee.props&&ee.props.onVnodeBeforeUpdate)&&pt(Ce,ce,ee,ge),Mn(_,!0);const He=wo(_),vt=_.subTree;_.subTree=He,g(vt,He,f(vt.el),B(vt),_,j,$),ee.el=He.el,Oe===null&&vi(_,He.el),oe&&et(oe,j),(Ce=ee.props&&ee.props.onVnodeUpdated)&&et(()=>pt(Ce,ce,ee,ge),j)}else{let ee;const{el:Q,props:oe}=w,{bm:ce,m:ge,parent:Oe}=_,Ce=Nn(w);if(Mn(_,!1),ce&&tr(ce),!Ce&&(ee=oe&&oe.onVnodeBeforeMount)&&pt(ee,Oe,w),Mn(_,!0),Q&&ue){const He=()=>{_.subTree=wo(_),ue(Q,_.subTree,_,j,null)};Ce?w.type.__asyncLoader().then(()=>!_.isUnmounted&&He()):He()}else{const He=_.subTree=wo(_);g(null,He,R,L,_,j,$),w.el=He.el}if(ge&&et(ge,j),!Ce&&(ee=oe&&oe.onVnodeMounted)){const He=w;et(()=>pt(ee,Oe,He),j)}(w.shapeFlag&256||Oe&&Nn(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&_.a&&et(_.a,j),_.isMounted=!0,w=R=L=null}},W=_.effect=new ir(H,()=>Vo(D),_.scope),D=_.update=()=>W.run();D.id=_.uid,Mn(_,!0),D()},J=(_,w,R)=>{w.component=_;const L=_.vnode.props;_.vnode=w,_.next=null,Td(_,w.props,L,R),Bd(_,w.children,R),mr(),el(),gr()},q=(_,w,R,L,j,$,Y,H,W=!1)=>{const D=_&&_.children,ee=_?_.shapeFlag:0,Q=w.children,{patchFlag:oe,shapeFlag:ce}=w;if(oe>0){if(oe&128){Ue(D,Q,R,L,j,$,Y,H,W);return}else if(oe&256){Me(D,Q,R,L,j,$,Y,H,W);return}}ce&8?(ee&16&&De(D,j,$),Q!==D&&c(R,Q)):ee&16?ce&16?Ue(D,Q,R,L,j,$,Y,H,W):De(D,j,$,!0):(ee&8&&c(R,""),ce&16&&O(Q,R,L,j,$,Y,H,W))},Me=(_,w,R,L,j,$,Y,H,W)=>{_=_||Gn,w=w||Gn;const D=_.length,ee=w.length,Q=Math.min(D,ee);let oe;for(oe=0;oe<Q;oe++){const ce=w[oe]=W?vn(w[oe]):xt(w[oe]);g(_[oe],ce,R,null,j,$,Y,H,W)}D>ee?De(_,j,$,!0,!1,Q):O(w,R,L,j,$,Y,H,W,Q)},Ue=(_,w,R,L,j,$,Y,H,W)=>{let D=0;const ee=w.length;let Q=_.length-1,oe=ee-1;for(;D<=Q&&D<=oe;){const ce=_[D],ge=w[D]=W?vn(w[D]):xt(w[D]);if($t(ce,ge))g(ce,ge,R,null,j,$,Y,H,W);else break;D++}for(;D<=Q&&D<=oe;){const ce=_[Q],ge=w[oe]=W?vn(w[oe]):xt(w[oe]);if($t(ce,ge))g(ce,ge,R,null,j,$,Y,H,W);else break;Q--,oe--}if(D>Q){if(D<=oe){const ce=oe+1,ge=ce<ee?w[ce].el:L;for(;D<=oe;)g(null,w[D]=W?vn(w[D]):xt(w[D]),R,ge,j,$,Y,H,W),D++}}else if(D>oe)for(;D<=Q;)Ae(_[D],j,$,!0),D++;else{const ce=D,ge=D,Oe=new Map;for(D=ge;D<=oe;D++){const nt=w[D]=W?vn(w[D]):xt(w[D]);nt.key!=null&&Oe.set(nt.key,D)}let Ce,He=0;const vt=oe-ge+1;let Jt=!1,qn=0;const In=new Array(vt);for(D=0;D<vt;D++)In[D]=0;for(D=ce;D<=Q;D++){const nt=_[D];if(He>=vt){Ae(nt,j,$,!0);continue}let kt;if(nt.key!=null)kt=Oe.get(nt.key);else for(Ce=ge;Ce<=oe;Ce++)if(In[Ce-ge]===0&&$t(nt,w[Ce])){kt=Ce;break}kt===void 0?Ae(nt,j,$,!0):(In[kt-ge]=D+1,kt>=qn?qn=kt:Jt=!0,g(nt,w[kt],R,null,j,$,Y,H,W),He++)}const oo=Jt?jd(In):Gn;for(Ce=oo.length-1,D=vt-1;D>=0;D--){const nt=ge+D,kt=w[nt],vr=nt+1<ee?w[nt+1].el:L;In[D]===0?g(null,kt,R,vr,j,$,Y,H,W):Jt&&(Ce<0||D!==oo[Ce]?Je(kt,R,vr,2):Ce--)}}},Je=(_,w,R,L,j=null)=>{const{el:$,type:Y,transition:H,children:W,shapeFlag:D}=_;if(D&6){Je(_.component.subTree,w,R,L);return}if(D&128){_.suspense.move(w,R,L);return}if(D&64){Y.move(_,w,R,U);return}if(Y===Le){o($,w,R);for(let Q=0;Q<W.length;Q++)Je(W[Q],w,R,L);o(_.anchor,w,R);return}if(Y===jn){v(_,w,R);return}if(L!==2&&D&1&&H)if(L===0)H.beforeEnter($),o($,w,R),et(()=>H.enter($),j);else{const{leave:Q,delayLeave:oe,afterLeave:ce}=H,ge=()=>o($,w,R),Oe=()=>{Q($,()=>{ge(),ce&&ce()})};oe?oe($,ge,Oe):Oe()}else o($,w,R)},Ae=(_,w,R,L=!1,j=!1)=>{const{type:$,props:Y,ref:H,children:W,dynamicChildren:D,shapeFlag:ee,patchFlag:Q,dirs:oe}=_;if(H!=null&&Mo(H,null,R,_,!0),ee&256){w.ctx.deactivate(_);return}const ce=ee&1&&oe,ge=!Nn(_);let Oe;if(ge&&(Oe=Y&&Y.onVnodeBeforeUnmount)&&pt(Oe,w,_),ee&6)Vt(_.component,R,L);else{if(ee&128){_.suspense.unmount(R,L);return}ce&&Ut(_,null,w,"beforeUnmount"),ee&64?_.type.remove(_,w,R,j,U,L):D&&($!==Le||Q>0&&Q&64)?De(D,w,R,!1,!0):($===Le&&Q&384||!j&&ee&16)&&De(W,w,R),L&&We(_)}(ge&&(Oe=Y&&Y.onVnodeUnmounted)||ce)&&et(()=>{Oe&&pt(Oe,w,_),ce&&Ut(_,null,w,"unmounted")},R)},We=_=>{const{type:w,el:R,anchor:L,transition:j}=_;if(w===Le){$e(R,L);return}if(w===jn){h(_);return}const $=()=>{s(R),j&&!j.persisted&&j.afterLeave&&j.afterLeave()};if(_.shapeFlag&1&&j&&!j.persisted){const{leave:Y,delayLeave:H}=j,W=()=>Y(R,$);H?H(_.el,$,W):W()}else $()},$e=(_,w)=>{let R;for(;_!==w;)R=u(_),s(_),_=R;s(w)},Vt=(_,w,R)=>{const{bum:L,scope:j,update:$,subTree:Y,um:H}=_;L&&tr(L),j.stop(),$&&($.active=!1,Ae(Y,_,w,R)),H&&et(H,w),et(()=>{_.isUnmounted=!0},w),w&&w.pendingBranch&&!w.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===w.pendingId&&(w.deps--,w.deps===0&&w.resolve())},De=(_,w,R,L=!1,j=!1,$=0)=>{for(let Y=$;Y<_.length;Y++)Ae(_[Y],w,R,L,j)},B=_=>_.shapeFlag&6?B(_.component.subTree):_.shapeFlag&128?_.suspense.next():u(_.anchor||_.el),Z=(_,w,R)=>{_==null?w._vnode&&Ae(w._vnode,null,null,!0):g(w._vnode||null,_,w,null,null,null,R),el(),Ro(),w._vnode=_},U={p:g,um:Ae,m:Je,r:We,mt:V,mc:O,pc:q,pbc:k,n:B,o:e};let G,ue;return t&&([G,ue]=t(U)),{render:Z,hydrate:G,createApp:Md(Z,G)}}function Mn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pi(e,t,n=!1){const o=e.children,s=t.children;if(X(o)&&X(s))for(let i=0;i<o.length;i++){const a=o[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=vn(s[i]),l.el=a.el),n||Pi(a,l)),l.type===Vn&&(l.el=a.el)}}function jd(e){const t=e.slice(),n=[0];let o,s,i,a,l;const d=e.length;for(o=0;o<d;o++){const r=e[o];if(r!==0){if(s=n[n.length-1],e[s]<r){t[o]=s,n.push(o);continue}for(i=0,a=n.length-1;i<a;)l=i+a>>1,e[n[l]]<r?i=l+1:a=l;r<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const $d=e=>e.__isTeleport,Pr=e=>e&&(e.disabled||e.disabled===""),dl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,$s=(e,t)=>{const n=e&&e.to;return Ne(n)?t?t(n):null:n},Dd={__isTeleport:!0,process(e,t,n,o,s,i,a,l,d,r){const{mc:c,pc:f,pbc:u,o:{insert:p,querySelector:m,createText:g,createComment:C}}=r,x=Pr(t.props);let{shapeFlag:y,children:v,dynamicChildren:h}=t;if(e==null){const b=t.el=g(""),A=t.anchor=g("");p(b,n,o),p(A,n,o);const I=t.target=$s(t.props,m),O=t.targetAnchor=g("");I&&(p(O,I),a=a||dl(I));const S=(k,M)=>{y&16&&c(v,k,M,s,i,a,l,d)};x?S(n,A):I&&S(I,O)}else{t.el=e.el;const b=t.anchor=e.anchor,A=t.target=e.target,I=t.targetAnchor=e.targetAnchor,O=Pr(e.props),S=O?n:A,k=O?b:I;if(a=a||dl(A),h?(u(e.dynamicChildren,h,S,s,i,a,l),Pi(e,t,!0)):d||f(e,t,S,k,s,i,a,l,!1),x)O?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):_o(t,n,b,r,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=$s(t.props,m);M&&_o(t,M,null,r,0)}else O&&_o(t,A,I,r,1)}ru(t)},remove(e,t,n,o,{um:s,o:{remove:i}},a){const{shapeFlag:l,children:d,anchor:r,targetAnchor:c,target:f,props:u}=e;if(f&&i(c),a&&i(r),l&16){const p=a||!Pr(u);for(let m=0;m<d.length;m++){const g=d[m];s(g,t,n,p,!!g.dynamicChildren)}}},move:_o,hydrate:Hd};function _o(e,t,n,{o:{insert:o},m:s},i=2){i===0&&o(e.targetAnchor,t,n);const{el:a,anchor:l,shapeFlag:d,children:r,props:c}=e,f=i===2;if(f&&o(a,t,n),(!f||Pr(c))&&d&16)for(let u=0;u<r.length;u++)s(r[u],t,n,2);f&&o(l,t,n)}function Hd(e,t,n,o,s,i,{o:{nextSibling:a,parentNode:l,querySelector:d}},r){const c=t.target=$s(t.props,d);if(c){const f=c._lpa||c.firstChild;if(t.shapeFlag&16)if(Pr(t.props))t.anchor=r(a(e),t,l(e),n,o,s,i),t.targetAnchor=f;else{t.anchor=a(e);let u=f;for(;u;)if(u=a(u),u&&u.nodeType===8&&u.data==="teleport anchor"){t.targetAnchor=u,c._lpa=t.targetAnchor&&a(t.targetAnchor);break}r(f,t,c,n,o,s,i)}ru(t)}return t.anchor&&a(t.anchor)}const Vd=Dd;function ru(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Le=Symbol.for("v-fgt"),Vn=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),jn=Symbol.for("v-stc"),Rr=[];let ht=null;function he(e=!1){Rr.push(ht=e?null:[])}function ou(){Rr.pop(),ht=Rr[Rr.length-1]||null}let Un=1;function Ds(e){Un+=e}function su(e){return e.dynamicChildren=Un>0?ht||Gn:null,ou(),Un>0&&ht&&ht.push(e),e}function ke(e,t,n,o,s,i){return su(re(e,t,n,o,s,i,!0))}function zt(e,t,n,o,s){return su(ae(e,t,n,o,s,!0))}function Sn(e){return e?e.__v_isVNode===!0:!1}function $t(e,t){return e.type===t.type&&e.key===t.key}function Ud(e){}const Qo="__vInternal",iu=({key:e})=>e??null,xo=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ne(e)||je(e)||le(e)?{i:Qe,r:e,k:t,f:!!n}:e:null);function re(e,t=null,n=null,o=0,s=null,i=e===Le?0:1,a=!1,l=!1){const d={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&iu(t),ref:t&&xo(t),scopeId:Wo,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Qe};return l?(Ri(d,n),i&128&&e.normalize(d)):n&&(d.shapeFlag|=Ne(n)?8:16),Un>0&&!a&&ht&&(d.patchFlag>0||i&6)&&d.patchFlag!==32&&ht.push(d),d}const ae=Wd;function Wd(e,t=null,n=null,o=0,s=null,i=!1){if((!e||e===Oc)&&(e=lt),Sn(e)){const l=qt(e,t,!0);return n&&Ri(l,n),Un>0&&!i&&ht&&(l.shapeFlag&6?ht[ht.indexOf(e)]=l:ht.push(l)),l.patchFlag|=-2,l}if(Qd(e)&&(e=e.__vccOpts),t){t=lu(t);let{class:l,style:d}=t;l&&!Ne(l)&&(t.class=Mt(l)),Ie(d)&&(di(d)&&!X(d)&&(d=Be({},d)),t.style=hr(d))}const a=Ne(e)?1:Pc(e)?128:$d(e)?64:Ie(e)?4:le(e)?2:0;return re(e,t,n,o,s,a,i,!0)}function lu(e){return e?di(e)||Qo in e?Be({},e):e:null}function qt(e,t,n=!1){const{props:o,ref:s,patchFlag:i,children:a}=e,l=t?cu(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&iu(l),ref:t&&t.ref?n&&s?X(s)?s.concat(xo(t)):[s,xo(t)]:xo(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qt(e.ssContent),ssFallback:e.ssFallback&&qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function to(e=" ",t=0){return ae(Vn,null,e,t)}function Kd(e,t){const n=ae(jn,null,e);return n.staticCount=t,n}function at(e="",t=!1){return t?(he(),zt(lt,null,e)):ae(lt,null,e)}function xt(e){return e==null||typeof e=="boolean"?ae(lt):X(e)?ae(Le,null,e.slice()):typeof e=="object"?vn(e):ae(Vn,null,String(e))}function vn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qt(e)}function Ri(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Ri(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Qo in t)?t._ctx=Qe:s===3&&Qe&&(Qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Qe},n=32):(t=String(t),o&64?(n=16,t=[to(t)]):n=8);e.children=t,e.shapeFlag|=n}function cu(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=Mt([t.class,o.class]));else if(s==="style")t.style=hr([t.style,o.style]);else if(Yr(s)){const i=t[s],a=o[s];a&&i!==a&&!(X(i)&&i.includes(a))&&(t[s]=i?[].concat(i,a):a)}else s!==""&&(t[s]=o[s])}return t}function pt(e,t,n,o=null){Ct(e,t,7,[n,o])}const zd=zc();let qd=0;function uu(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||zd,i={uid:qd++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new si(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Yc(o,s),emitsOptions:Sc(o,s),emit:null,emitted:null,propsDefaults:Re,inheritAttrs:o.inheritAttrs,ctx:Re,data:Re,props:Re,attrs:Re,slots:Re,refs:Re,setupState:Re,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Df.bind(null,i),e.ce&&e.ce(i),i}let qe=null;const cn=()=>qe||Qe;let Ii,Yn,pl="__VUE_INSTANCE_SETTERS__";(Yn=Rs()[pl])||(Yn=Rs()[pl]=[]),Yn.push(e=>qe=e),Ii=e=>{Yn.length>1?Yn.forEach(t=>t(e)):Yn[0](e)};const On=e=>{Ii(e),e.scope.on()},bn=()=>{qe&&qe.scope.off(),Ii(null)};function au(e){return e.vnode.shapeFlag&4}let cr=!1;function fu(e,t=!1){cr=t;const{props:n,children:o}=e.vnode,s=au(e);Ad(e,n,s,t),Fd(e,o);const i=s?Jd(e,t):void 0;return cr=!1,i}function Jd(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Xr(new Proxy(e.ctx,Fs));const{setup:o}=n;if(o){const s=e.setupContext=o.length>1?pu(e):null;On(e),mr();const i=rn(o,e,0,[e.props,s]);if(gr(),bn(),ri(i)){if(i.then(bn,bn),t)return i.then(a=>{Hs(e,a,t)}).catch(a=>{zn(a,e,0)});e.asyncDep=i}else Hs(e,i,t)}else du(e,t)}function Hs(e,t,n){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ie(t)&&(e.setupState=mi(t)),du(e,n)}let Ao,Vs;function Yd(e){Ao=e,Vs=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,ad))}}const Zd=()=>!Ao;function du(e,t,n){const o=e.type;if(!e.render){if(!t&&Ao&&!o.render){const s=o.template||Si(e).template;if(s){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:d}=o,r=Be(Be({isCustomElement:i,delimiters:l},a),d);o.render=Ao(s,r)}}e.render=o.render||Dt,Vs&&Vs(e)}{On(e),mr();try{kd(e)}finally{gr(),bn()}}}function Xd(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return gt(e,"get","$attrs"),t[n]}}))}function pu(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Xd(e)},slots:e.slots,emit:e.emit,expose:t}}function Go(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(mi(Xr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Sr)return Sr[n](e)},has(t,n){return n in t||n in Sr}}))}function Us(e,t=!0){return le(e)?e.displayName||e.name:e.name||t&&e.__name}function Qd(e){return le(e)&&"__vccOpts"in e}const Fe=(e,t)=>Tf(e,t,cr);function es(e,t,n){const o=arguments.length;return o===2?Ie(t)&&!X(t)?Sn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Sn(n)&&(n=[n]),ae(e,t,n))}const hu=Symbol.for("v-scx"),mu=()=>Tt(hu);function Gd(){}function ep(e,t,n,o){const s=n[o];if(s&&gu(s,e))return s;const i=t();return i.memo=e.slice(),n[o]=i}function gu(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let o=0;o<n.length;o++)if(xn(n[o],t[o]))return!1;return Un>0&&ht&&ht.push(e),!0}const vu="3.3.8",tp={createComponentInstance:uu,setupComponent:fu,renderComponentRoot:wo,setCurrentRenderingInstance:Dr,isVNode:Sn,normalizeVNode:xt},np=tp,rp=null,op=null,sp="http://www.w3.org/2000/svg",Ln=typeof document<"u"?document:null,hl=Ln&&Ln.createElement("template"),ip={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t?Ln.createElementNS(sp,e):Ln.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>Ln.createTextNode(e),createComment:e=>Ln.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ln.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,i){const a=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{hl.innerHTML=o?`<svg>${e}</svg>`:e;const l=hl.content;if(o){const d=l.firstChild;for(;d.firstChild;)l.appendChild(d.firstChild);l.removeChild(d)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},dn="transition",yr="animation",ur=Symbol("_vtc"),Mi=(e,{slots:t})=>es(Ac,_u(e),t);Mi.displayName="Transition";const yu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},lp=Mi.props=Be({},Ci,yu),An=(e,t=[])=>{X(e)?e.forEach(n=>n(...t)):e&&e(...t)},ml=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function _u(e){const t={};for(const P in e)P in yu||(t[P]=e[P]);if(e.css===!1)return t;const{name:n="v",type:o,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:d=i,appearActiveClass:r=a,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:u=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,m=cp(s),g=m&&m[0],C=m&&m[1],{onBeforeEnter:x,onEnter:y,onEnterCancelled:v,onLeave:h,onLeaveCancelled:b,onBeforeAppear:A=x,onAppear:I=y,onAppearCancelled:O=v}=t,S=(P,F,V)=>{hn(P,F?c:l),hn(P,F?r:a),V&&V()},k=(P,F)=>{P._isLeaving=!1,hn(P,f),hn(P,p),hn(P,u),F&&F()},M=P=>(F,V)=>{const z=P?I:y,T=()=>S(F,P,V);An(z,[F,T]),gl(()=>{hn(F,P?d:i),Qt(F,P?c:l),ml(z)||vl(F,o,g,T)})};return Be(t,{onBeforeEnter(P){An(x,[P]),Qt(P,i),Qt(P,a)},onBeforeAppear(P){An(A,[P]),Qt(P,d),Qt(P,r)},onEnter:M(!1),onAppear:M(!0),onLeave(P,F){P._isLeaving=!0;const V=()=>k(P,F);Qt(P,f),wu(),Qt(P,u),gl(()=>{P._isLeaving&&(hn(P,f),Qt(P,p),ml(h)||vl(P,o,C,V))}),An(h,[P,V])},onEnterCancelled(P){S(P,!1),An(v,[P])},onAppearCancelled(P){S(P,!0),An(O,[P])},onLeaveCancelled(P){k(P),An(b,[P])}})}function cp(e){if(e==null)return null;if(Ie(e))return[Cs(e.enter),Cs(e.leave)];{const t=Cs(e);return[t,t]}}function Cs(e){return So(e)}function Qt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ur]||(e[ur]=new Set)).add(t)}function hn(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[ur];n&&(n.delete(t),n.size||(e[ur]=void 0))}function gl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let up=0;function vl(e,t,n,o){const s=e._endId=++up,i=()=>{s===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:l,propCount:d}=bu(e,t);if(!a)return o();const r=a+"end";let c=0;const f=()=>{e.removeEventListener(r,u),i()},u=p=>{p.target===e&&++c>=d&&f()};setTimeout(()=>{c<d&&f()},l+1),e.addEventListener(r,u)}function bu(e,t){const n=window.getComputedStyle(e),o=m=>(n[m]||"").split(", "),s=o(`${dn}Delay`),i=o(`${dn}Duration`),a=yl(s,i),l=o(`${yr}Delay`),d=o(`${yr}Duration`),r=yl(l,d);let c=null,f=0,u=0;t===dn?a>0&&(c=dn,f=a,u=i.length):t===yr?r>0&&(c=yr,f=r,u=d.length):(f=Math.max(a,r),c=f>0?a>r?dn:yr:null,u=c?c===dn?i.length:d.length:0);const p=c===dn&&/\b(transform|all)(,|$)/.test(o(`${dn}Property`).toString());return{type:c,timeout:f,propCount:u,hasTransform:p}}function yl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>_l(n)+_l(e[o])))}function _l(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function wu(){return document.body.offsetHeight}function ap(e,t,n){const o=e[ur];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ai=Symbol("_vod"),xu={beforeMount(e,{value:t},{transition:n}){e[Ai]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):_r(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),_r(e,!0),o.enter(e)):o.leave(e,()=>{_r(e,!1)}):_r(e,t))},beforeUnmount(e,{value:t}){_r(e,t)}};function _r(e,t){e.style.display=t?e[Ai]:"none"}function fp(){xu.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}function dp(e,t,n){const o=e.style,s=Ne(n);if(n&&!s){if(t&&!Ne(t))for(const i in t)n[i]==null&&Ws(o,i,"");for(const i in n)Ws(o,i,n[i])}else{const i=o.display;s?t!==n&&(o.cssText=n):t&&e.removeAttribute("style"),Ai in e&&(o.display=i)}}const bl=/\s*!important$/;function Ws(e,t,n){if(X(n))n.forEach(o=>Ws(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=pp(e,t);bl.test(n)?e.setProperty(It(o),n.replace(bl,""),"important"):e[o]=n}}const wl=["Webkit","Moz","ms"],Es={};function pp(e,t){const n=Es[t];if(n)return n;let o=mt(t);if(o!=="filter"&&o in e)return Es[t]=o;o=Zr(o);for(let s=0;s<wl.length;s++){const i=wl[s]+o;if(i in e)return Es[t]=i}return t}const xl="http://www.w3.org/1999/xlink";function hp(e,t,n,o,s){if(o&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(xl,t.slice(6,t.length)):e.setAttributeNS(xl,t,n);else{const i=Za(t);n==null||i&&!rc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function mp(e,t,n,o,s,i,a){if(t==="innerHTML"||t==="textContent"){o&&a(o,s,i),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){e._value=n;const r=l==="OPTION"?e.getAttribute("value"):e.value,c=n??"";r!==c&&(e.value=c),n==null&&e.removeAttribute(t);return}let d=!1;if(n===""||n==null){const r=typeof e[t];r==="boolean"?n=rc(n):n==null&&r==="string"?(n="",d=!0):r==="number"&&(n=0,d=!0)}try{e[t]=n}catch{}d&&e.removeAttribute(t)}function en(e,t,n,o){e.addEventListener(t,n,o)}function gp(e,t,n,o){e.removeEventListener(t,n,o)}const Cl=Symbol("_vei");function vp(e,t,n,o,s=null){const i=e[Cl]||(e[Cl]={}),a=i[t];if(o&&a)a.value=o;else{const[l,d]=yp(t);if(o){const r=i[t]=wp(o,s);en(e,l,r,d)}else a&&(gp(e,l,a,d),i[t]=void 0)}}const El=/(?:Once|Passive|Capture)$/;function yp(e){let t;if(El.test(e)){t={};let o;for(;o=e.match(El);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):It(e.slice(2)),t]}let ks=0;const _p=Promise.resolve(),bp=()=>ks||(_p.then(()=>ks=0),ks=Date.now());function wp(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;Ct(xp(o,n.value),t,5,[o])};return n.value=e,n.attached=bp(),n}function xp(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>s=>!s._stopped&&o&&o(s))}else return t}const kl=/^on[a-z]/,Cp=(e,t,n,o,s=!1,i,a,l,d)=>{t==="class"?ap(e,o,s):t==="style"?dp(e,n,o):Yr(t)?ti(t)||vp(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ep(e,t,o,s))?mp(e,t,o,i,a,l,d):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),hp(e,t,o,s))};function Ep(e,t,n,o){return o?!!(t==="innerHTML"||t==="textContent"||t in e&&kl.test(t)&&le(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||kl.test(t)&&Ne(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Cu(e,t){const n=Ge(e);class o extends ts{constructor(i){super(n,i,t)}}return o.def=n,o}/*! #__NO_SIDE_EFFECTS__ */const kp=e=>Cu(e,Lu),Sp=typeof HTMLElement<"u"?HTMLElement:class{};class ts extends Sp{constructor(t,n={},o){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=null,this.shadowRoot&&o?o(this._createVNode(),this.shadowRoot):(this.attachShadow({mode:"open"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,this._ob&&(this._ob.disconnect(),this._ob=null),sn(()=>{this._connected||(qs(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let o=0;o<this.attributes.length;o++)this._setAttr(this.attributes[o].name);this._ob=new MutationObserver(o=>{for(const s of o)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(o,s=!1)=>{const{props:i,styles:a}=o;let l;if(i&&!X(i))for(const d in i){const r=i[d];(r===Number||r&&r.type===Number)&&(d in this._props&&(this._props[d]=So(this._props[d])),(l||(l=Object.create(null)))[mt(d)]=!0)}this._numberProps=l,s&&this._resolveProps(o),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(o=>t(o,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,o=X(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&o.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of o.map(mt))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(i){this._setProp(s,i)}})}_setAttr(t){let n=this.getAttribute(t);const o=mt(t);this._numberProps&&this._numberProps[o]&&(n=So(n)),this._setProp(o,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,o=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),o&&(n===!0?this.setAttribute(It(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(It(t),n+""):n||this.removeAttribute(It(t))))}_update(){qs(this._createVNode(),this.shadowRoot)}_createVNode(){const t=ae(this._def,Be({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const o=(i,a)=>{this.dispatchEvent(new CustomEvent(i,{detail:a}))};n.emit=(i,...a)=>{o(i,a),It(i)!==i&&o(It(i),a)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof ts){n.parent=s._instance,n.provides=s._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const o=document.createElement("style");o.textContent=n,this.shadowRoot.appendChild(o)})}}function Op(e="$style"){{const t=cn();if(!t)return Re;const n=t.type.__cssModules;if(!n)return Re;const o=n[e];return o||Re}}function Pp(e){const t=cn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(i=>zs(i,s))},o=()=>{const s=e(t.proxy);Ks(t.subTree,s),n(s)};Ic(o),At(()=>{const s=new MutationObserver(o);s.observe(t.subTree.el.parentNode,{childList:!0}),kn(()=>s.disconnect())})}function Ks(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Ks(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)zs(e.el,t);else if(e.type===Le)e.children.forEach(n=>Ks(n,t));else if(e.type===jn){let{el:n,anchor:o}=e;for(;n&&(zs(n,t),n!==o);)n=n.nextSibling}}function zs(e,t){if(e.nodeType===1){const n=e.style;for(const o in t)n.setProperty(`--${o}`,t[o])}}const Eu=new WeakMap,ku=new WeakMap,To=Symbol("_moveCb"),Sl=Symbol("_enterCb"),Su={name:"TransitionGroup",props:Be({},lp,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=cn(),o=xi();let s,i;return Yo(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!Lp(s[0].el,n.vnode.el,a))return;s.forEach(Mp),s.forEach(Ap);const l=s.filter(Tp);wu(),l.forEach(d=>{const r=d.el,c=r.style;Qt(r,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=r[To]=u=>{u&&u.target!==r||(!u||/transform$/.test(u.propertyName))&&(r.removeEventListener("transitionend",f),r[To]=null,hn(r,a))};r.addEventListener("transitionend",f)})}),()=>{const a=ve(e),l=_u(a);let d=a.tag||Le;s=i,i=t.default?qo(t.default()):[];for(let r=0;r<i.length;r++){const c=i[r];c.key!=null&&Hn(c,lr(c,l,o,n))}if(s)for(let r=0;r<s.length;r++){const c=s[r];Hn(c,lr(c,l,o,n)),Eu.set(c,c.el.getBoundingClientRect())}return ae(d,null,i)}}},Rp=e=>delete e.mode;Su.props;const Ip=Su;function Mp(e){const t=e.el;t[To]&&t[To](),t[Sl]&&t[Sl]()}function Ap(e){ku.set(e,e.el.getBoundingClientRect())}function Tp(e){const t=Eu.get(e),n=ku.get(e),o=t.left-n.left,s=t.top-n.top;if(o||s){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${s}px)`,i.transitionDuration="0s",e}}function Lp(e,t,n){const o=e.cloneNode(),s=e[ur];s&&s.forEach(l=>{l.split(/\s+/).forEach(d=>d&&o.classList.remove(d))}),n.split(/\s+/).forEach(l=>l&&o.classList.add(l)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=bu(o);return i.removeChild(o),a}const Pn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>tr(t,n):t};function Fp(e){e.target.composing=!0}function Ol(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Lt=Symbol("_assign"),Wn={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Lt]=Pn(s);const i=o||s.props&&s.props.type==="number";en(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),i&&(l=ko(l)),e[Lt](l)}),n&&en(e,"change",()=>{e.value=e.value.trim()}),t||(en(e,"compositionstart",Fp),en(e,"compositionend",Ol),en(e,"change",Ol))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:s}},i){if(e[Lt]=Pn(i),e.composing||document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===t||(s||e.type==="number")&&ko(e.value)===t))return;const a=t??"";e.value!==a&&(e.value=a)}},ns={deep:!0,created(e,t,n){e[Lt]=Pn(n),en(e,"change",()=>{const o=e._modelValue,s=ar(e),i=e.checked,a=e[Lt];if(X(o)){const l=No(o,s),d=l!==-1;if(i&&!d)a(o.concat(s));else if(!i&&d){const r=[...o];r.splice(l,1),a(r)}}else if(Kn(o)){const l=new Set(o);i?l.add(s):l.delete(s),a(l)}else a(Pu(e,i))})},mounted:Pl,beforeUpdate(e,t,n){e[Lt]=Pn(n),Pl(e,t,n)}};function Pl(e,{value:t,oldValue:n},o){e._modelValue=t,X(t)?e.checked=No(t,o.props.value)>-1:Kn(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=Cn(t,Pu(e,!0)))}const Ti={created(e,{value:t},n){e.checked=Cn(t,n.props.value),e[Lt]=Pn(n),en(e,"change",()=>{e[Lt](ar(e))})},beforeUpdate(e,{value:t,oldValue:n},o){e[Lt]=Pn(o),t!==n&&(e.checked=Cn(t,o.props.value))}},Ou={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const s=Kn(t);en(e,"change",()=>{const i=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?ko(ar(a)):ar(a));e[Lt](e.multiple?s?new Set(i):i:i[0])}),e[Lt]=Pn(o)},mounted(e,{value:t}){Rl(e,t)},beforeUpdate(e,t,n){e[Lt]=Pn(n)},updated(e,{value:t}){Rl(e,t)}};function Rl(e,t){const n=e.multiple;if(!(n&&!X(t)&&!Kn(t))){for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],a=ar(i);if(n)X(t)?i.selected=No(t,a)>-1:i.selected=t.has(a);else if(Cn(ar(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ar(e){return"_value"in e?e._value:e.value}function Pu(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ru={created(e,t,n){bo(e,t,n,null,"created")},mounted(e,t,n){bo(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){bo(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){bo(e,t,n,o,"updated")}};function Iu(e,t){switch(e){case"SELECT":return Ou;case"TEXTAREA":return Wn;default:switch(t){case"checkbox":return ns;case"radio":return Ti;default:return Wn}}}function bo(e,t,n,o,s){const a=Iu(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,o)}function Bp(){Wn.getSSRProps=({value:e})=>({value:e}),Ti.getSSRProps=({value:e},t)=>{if(t.props&&Cn(t.props.value,e))return{checked:!0}},ns.getSSRProps=({value:e},t)=>{if(X(e)){if(t.props&&No(e,t.props.value)>-1)return{checked:!0}}else if(Kn(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Ru.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Iu(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const Np=["ctrl","shift","alt","meta"],jp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Np.some(n=>e[`${n}Key`]&&!t.includes(n))},Rt=(e,t)=>(n,...o)=>{for(let s=0;s<t.length;s++){const i=jp[t[s]];if(i&&i(n,t))return}return e(n,...o)},$p={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},wn=(e,t)=>n=>{if(!("key"in n))return;const o=It(n.key);if(t.some(s=>s===o||$p[s]===o))return e(n)},Mu=Be({patchProp:Cp},ip);let Ir,Il=!1;function Au(){return Ir||(Ir=Gc(Mu))}function Tu(){return Ir=Il?Ir:eu(Mu),Il=!0,Ir}const qs=(...e)=>{Au().render(...e)},Lu=(...e)=>{Tu().hydrate(...e)},Fu=(...e)=>{const t=Au().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Bu(o);if(!s)return;const i=t._component;!le(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const a=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t},Dp=(...e)=>{const t=Tu().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=Bu(o);if(s)return n(s,!0,s instanceof SVGElement)},t};function Bu(e){return Ne(e)?document.querySelector(e):e}let Ml=!1;const Hp=()=>{Ml||(Ml=!0,Bp(),fp())},Vp=()=>{},Up=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Ac,BaseTransitionPropsValidators:Ci,Comment:lt,EffectScope:si,Fragment:Le,KeepAlive:id,ReactiveEffect:ir,Static:jn,Suspense:Zf,Teleport:Vd,Text:Vn,Transition:Mi,TransitionGroup:Ip,VueElement:ts,assertNumber:Ff,callWithAsyncErrorHandling:Ct,callWithErrorHandling:rn,camelize:mt,capitalize:Zr,cloneVNode:qt,compatUtils:op,compile:Vp,computed:Fe,createApp:Fu,createBlock:zt,createCommentVNode:at,createElementBlock:ke,createElementVNode:re,createHydrationRenderer:eu,createPropsRestProxy:Cd,createRenderer:Gc,createSSRApp:Dp,createSlots:cd,createStaticVNode:Kd,createTextVNode:to,createVNode:ae,customRef:Pf,defineAsyncComponent:Lc,defineComponent:Ge,defineCustomElement:Cu,defineEmits:dd,defineExpose:pd,defineModel:gd,defineOptions:hd,defineProps:fd,defineSSRCustomElement:kp,defineSlots:md,get devtools(){return Xn},effect:ef,effectScope:ii,getCurrentInstance:cn,getCurrentScope:li,getTransitionRawChildren:qo,guardReactiveProps:lu,h:es,handleError:zn,hasInjectionContext:qc,hydrate:Lu,initCustomFormatter:Gd,initDirectivesForSSR:Hp,inject:Tt,isMemoSame:gu,isProxy:di,isReactive:nn,isReadonly:$n,isRef:je,isRuntimeOnly:Zd,isShallow:Fr,isVNode:Sn,markRaw:Xr,mergeDefaults:wd,mergeModels:xd,mergeProps:cu,nextTick:sn,normalizeClass:Mt,normalizeProps:Ja,normalizeStyle:hr,onActivated:Fc,onBeforeMount:jc,onBeforeUnmount:Zo,onBeforeUpdate:Ei,onDeactivated:Bc,onErrorCaptured:Vc,onMounted:At,onRenderTracked:Hc,onRenderTriggered:Dc,onScopeDispose:ic,onServerPrefetch:$c,onUnmounted:kn,onUpdated:Yo,openBlock:he,popScopeId:zo,provide:Or,proxyRefs:mi,pushScopeId:Ko,queuePostFlushCb:Po,reactive:Rn,readonly:fi,ref:Ve,registerRuntimeCompiler:Yd,render:qs,renderList:ki,renderSlot:Xo,resolveComponent:qf,resolveDirective:Jf,resolveDynamicComponent:_i,resolveFilter:rp,resolveTransitionHooks:lr,setBlockTracking:Ds,setDevtoolsHook:kc,setTransitionHooks:Hn,shallowReactive:ai,shallowReadonly:xf,shallowRef:Nr,ssrContextKey:hu,ssrUtils:np,stop:tf,toDisplayString:tt,toHandlerKey:kr,toHandlers:ud,toRaw:ve,toRef:Mf,toRefs:bc,toValue:kf,transformVNodeArgs:Ud,triggerRef:Ef,unref:_e,useAttrs:_d,useCssModule:Op,useCssVars:Pp,useModel:bd,useSSRContext:mu,useSlots:yd,useTransitionState:xi,vModelCheckbox:ns,vModelDynamic:Ru,vModelRadio:Ti,vModelSelect:Ou,vModelText:Wn,vShow:xu,version:vu,warn:Lf,watch:on,watchEffect:Dn,watchPostEffect:Ic,watchSyncEffect:nd,withAsyncContext:Ed,withCtx:Qr,withDefaults:vd,withDirectives:Vr,withKeys:wn,withMemo:ep,withModifiers:Rt,withScopeId:Hf},Symbol.toStringTag,{value:"Module"}));var Wp=!1;/*!
2
2
  * pinia v2.1.7
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */let Nu;const rs=e=>Nu=e,ju=Symbol();function Js(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Mr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Mr||(Mr={}));function Kp(){const e=ii(!0),t=e.run(()=>Ve({}));let n=[],o=[];const s=Xr({install(i){rs(s),s._a=i,i.provide(ju,s),i.config.globalProperties.$pinia=s,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!Wp?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const $u=()=>{};function Al(e,t,n,o=$u){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&li()&&ic(s),s}function Zn(e,...t){e.slice().forEach(n=>{n(...t)})}const zp=e=>e();function Ys(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],s=e[n];Js(s)&&Js(o)&&e.hasOwnProperty(n)&&!je(o)&&!nn(o)?e[n]=Ys(s,o):e[n]=o}return e}const qp=Symbol();function Jp(e){return!Js(e)||!e.hasOwnProperty(qp)}const{assign:mn}=Object;function Yp(e){return!!(je(e)&&e.effect)}function Zp(e,t,n,o){const{state:s,actions:i,getters:a}=t,l=n.state.value[e];let d;function r(){l||(n.state.value[e]=s?s():{});const c=bc(n.state.value[e]);return mn(c,i,Object.keys(a||{}).reduce((f,u)=>(f[u]=Xr(Fe(()=>{rs(n);const p=n._s.get(e);return a[u].call(p,p)})),f),{}))}return d=Du(e,r,t,n,o,!0),d}function Du(e,t,n={},o,s,i){let a;const l=mn({actions:{}},n),d={deep:!0};let r,c,f=[],u=[],p;const m=o.state.value[e];!i&&!m&&(o.state.value[e]={}),Ve({});let g;function C(O){let S;r=c=!1,typeof O=="function"?(O(o.state.value[e]),S={type:Mr.patchFunction,storeId:e,events:p}):(Ys(o.state.value[e],O),S={type:Mr.patchObject,payload:O,storeId:e,events:p});const k=g=Symbol();zn().then(()=>{g===k&&(r=!0)}),c=!0,Zn(f,S,o.state.value[e])}const x=i?function(){const{state:S}=n,k=S?S():{};this.$patch(M=>{mn(M,k)})}:$u;function y(){a.stop(),f=[],u=[],o._s.delete(e)}function v(O,S){return function(){rs(o);const k=Array.from(arguments),M=[],P=[];function F(T){M.push(T)}function V(T){P.push(T)}Zn(u,{args:k,name:O,store:b,after:F,onError:V});let z;try{z=S.apply(this&&this.$id===e?this:b,k)}catch(T){throw Zn(P,T),T}return z instanceof Promise?z.then(T=>(Zn(M,T),T)).catch(T=>(Zn(P,T),Promise.reject(T))):(Zn(M,z),z)}}const h={_p:o,$id:e,$onAction:Al.bind(null,u),$patch:C,$reset:x,$subscribe(O,S={}){const k=Al(f,O,S.detached,()=>M()),M=a.run(()=>on(()=>o.state.value[e],P=>{(S.flush==="sync"?c:r)&&O({storeId:e,type:Mr.direct,events:p},P)},mn({},d,S)));return k},$dispose:y},b=Rn(h);o._s.set(e,b);const I=(o._a&&o._a.runWithContext||zp)(()=>o._e.run(()=>(a=ii()).run(t)));for(const O in I){const S=I[O];if(je(S)&&!Yp(S)||nn(S))i||(m&&Jp(S)&&(je(S)?S.value=m[O]:Ys(S,m[O])),o.state.value[e][O]=S);else if(typeof S=="function"){const k=v(O,S);I[O]=k,l.actions[O]=S}}return mn(b,I),mn(ve(b),I),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:O=>{C(S=>{mn(S,O)})}}),o._p.forEach(O=>{mn(b,a.run(()=>O({store:b,app:o._a,pinia:o,options:l})))}),m&&i&&n.hydrate&&n.hydrate(b.$state,m),r=!0,c=!0,b}function Xp(e,t,n){let o,s;const i=typeof t=="function";typeof e=="string"?(o=e,s=i?n:t):(s=e,o=e.id);function a(l,d){const r=qc();return l=l||(r?Tt(ju,null):null),l&&rs(l),l=Nu,l._s.has(o)||(i?Du(o,t,s,l):Zp(o,s,l)),l._s.get(o)}return a.$id=o,a}const Qp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Gp=re("path",{d:"M32 18.45 16 6.03 0 18.45V13.4L16 .96 32 13.4zM28 18v12h-8v-8h-8v8H4V18l12-9z"},null,-1),eh=[Gp];function Hu(e,t){return he(),ke("svg",Qp,[...eh])}const Vu={render:Hu},th=Object.freeze(Object.defineProperty({__proto__:null,default:Vu,render:Hu},Symbol.toStringTag,{value:"Module"}));/*!
5
+ */let Nu;const rs=e=>Nu=e,ju=Symbol();function Js(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Mr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Mr||(Mr={}));function Kp(){const e=ii(!0),t=e.run(()=>Ve({}));let n=[],o=[];const s=Xr({install(i){rs(s),s._a=i,i.provide(ju,s),i.config.globalProperties.$pinia=s,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!Wp?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const $u=()=>{};function Al(e,t,n,o=$u){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&li()&&ic(s),s}function Zn(e,...t){e.slice().forEach(n=>{n(...t)})}const zp=e=>e();function Ys(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],s=e[n];Js(s)&&Js(o)&&e.hasOwnProperty(n)&&!je(o)&&!nn(o)?e[n]=Ys(s,o):e[n]=o}return e}const qp=Symbol();function Jp(e){return!Js(e)||!e.hasOwnProperty(qp)}const{assign:mn}=Object;function Yp(e){return!!(je(e)&&e.effect)}function Zp(e,t,n,o){const{state:s,actions:i,getters:a}=t,l=n.state.value[e];let d;function r(){l||(n.state.value[e]=s?s():{});const c=bc(n.state.value[e]);return mn(c,i,Object.keys(a||{}).reduce((f,u)=>(f[u]=Xr(Fe(()=>{rs(n);const p=n._s.get(e);return a[u].call(p,p)})),f),{}))}return d=Du(e,r,t,n,o,!0),d}function Du(e,t,n={},o,s,i){let a;const l=mn({actions:{}},n),d={deep:!0};let r,c,f=[],u=[],p;const m=o.state.value[e];!i&&!m&&(o.state.value[e]={}),Ve({});let g;function C(O){let S;r=c=!1,typeof O=="function"?(O(o.state.value[e]),S={type:Mr.patchFunction,storeId:e,events:p}):(Ys(o.state.value[e],O),S={type:Mr.patchObject,payload:O,storeId:e,events:p});const k=g=Symbol();sn().then(()=>{g===k&&(r=!0)}),c=!0,Zn(f,S,o.state.value[e])}const x=i?function(){const{state:S}=n,k=S?S():{};this.$patch(M=>{mn(M,k)})}:$u;function y(){a.stop(),f=[],u=[],o._s.delete(e)}function v(O,S){return function(){rs(o);const k=Array.from(arguments),M=[],P=[];function F(T){M.push(T)}function V(T){P.push(T)}Zn(u,{args:k,name:O,store:b,after:F,onError:V});let z;try{z=S.apply(this&&this.$id===e?this:b,k)}catch(T){throw Zn(P,T),T}return z instanceof Promise?z.then(T=>(Zn(M,T),T)).catch(T=>(Zn(P,T),Promise.reject(T))):(Zn(M,z),z)}}const h={_p:o,$id:e,$onAction:Al.bind(null,u),$patch:C,$reset:x,$subscribe(O,S={}){const k=Al(f,O,S.detached,()=>M()),M=a.run(()=>on(()=>o.state.value[e],P=>{(S.flush==="sync"?c:r)&&O({storeId:e,type:Mr.direct,events:p},P)},mn({},d,S)));return k},$dispose:y},b=Rn(h);o._s.set(e,b);const I=(o._a&&o._a.runWithContext||zp)(()=>o._e.run(()=>(a=ii()).run(t)));for(const O in I){const S=I[O];if(je(S)&&!Yp(S)||nn(S))i||(m&&Jp(S)&&(je(S)?S.value=m[O]:Ys(S,m[O])),o.state.value[e][O]=S);else if(typeof S=="function"){const k=v(O,S);I[O]=k,l.actions[O]=S}}return mn(b,I),mn(ve(b),I),Object.defineProperty(b,"$state",{get:()=>o.state.value[e],set:O=>{C(S=>{mn(S,O)})}}),o._p.forEach(O=>{mn(b,a.run(()=>O({store:b,app:o._a,pinia:o,options:l})))}),m&&i&&n.hydrate&&n.hydrate(b.$state,m),r=!0,c=!0,b}function Xp(e,t,n){let o,s;const i=typeof t=="function";typeof e=="string"?(o=e,s=i?n:t):(s=e,o=e.id);function a(l,d){const r=qc();return l=l||(r?Tt(ju,null):null),l&&rs(l),l=Nu,l._s.has(o)||(i?Du(o,t,s,l):Zp(o,s,l)),l._s.get(o)}return a.$id=o,a}const Qp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32"},Gp=re("path",{d:"M32 18.45 16 6.03 0 18.45V13.4L16 .96 32 13.4zM28 18v12h-8v-8h-8v8H4V18l12-9z"},null,-1),eh=[Gp];function Hu(e,t){return he(),ke("svg",Qp,[...eh])}const Vu={render:Hu},th=Object.freeze(Object.defineProperty({__proto__:null,default:Vu,render:Hu},Symbol.toStringTag,{value:"Module"}));/*!
6
6
  * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const Qn=typeof window<"u";function nh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Se=Object.assign;function Ss(e,t){const n={};for(const o in t){const s=t[o];n[o]=Ht(s)?s.map(e):e(s)}return n}const Ar=()=>{},Ht=Array.isArray,rh=/\/$/,oh=e=>e.replace(rh,"");function Os(e,t,n="/"){let o,s={},i="",a="";const l=t.indexOf("#");let d=t.indexOf("?");return l<d&&l>=0&&(d=-1),d>-1&&(o=t.slice(0,d),i=t.slice(d+1,l>-1?l:t.length),s=e(i)),l>-1&&(o=o||t.slice(0,l),a=t.slice(l,t.length)),o=ch(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:s,hash:a}}function sh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Tl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ih(e,t,n){const o=t.matched.length-1,s=n.matched.length-1;return o>-1&&o===s&&fr(t.matched[o],n.matched[s])&&Uu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Uu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lh(e[n],t[n]))return!1;return!0}function lh(e,t){return Ht(e)?Ll(e,t):Ht(t)?Ll(t,e):e===t}function Ll(e,t){return Ht(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function ch(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),s=o[o.length-1];(s===".."||s===".")&&o.push("");let i=n.length-1,a,l;for(a=0;a<o.length;a++)if(l=o[a],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Kr;(function(e){e.pop="pop",e.push="push"})(Kr||(Kr={}));var Tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tr||(Tr={}));function uh(e){if(!e)if(Qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),oh(e)}const ah=/^[^#]+#/;function fh(e,t){return e.replace(ah,"#")+t}function dh(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const os=()=>({left:window.pageXOffset,top:window.pageYOffset});function ph(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=dh(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Fl(e,t){return(history.state?history.state.position-t:-1)+e}const Zs=new Map;function hh(e,t){Zs.set(e,t)}function mh(e){const t=Zs.get(e);return Zs.delete(e),t}let gh=()=>location.protocol+"//"+location.host;function Wu(e,t){const{pathname:n,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){let l=s.includes(e.slice(i))?e.slice(i).length:1,d=s.slice(l);return d[0]!=="/"&&(d="/"+d),Tl(d,"")}return Tl(n,e)+o+s}function vh(e,t,n,o){let s=[],i=[],a=null;const l=({state:u})=>{const p=Wu(e,location),m=n.value,g=t.value;let C=0;if(u){if(n.value=p,t.value=u,a&&a===m){a=null;return}C=g?u.position-g.position:0}else o(p);s.forEach(x=>{x(n.value,m,{delta:C,type:Kr.pop,direction:C?C>0?Tr.forward:Tr.back:Tr.unknown})})};function d(){a=n.value}function r(u){s.push(u);const p=()=>{const m=s.indexOf(u);m>-1&&s.splice(m,1)};return i.push(p),p}function c(){const{history:u}=window;u.state&&u.replaceState(Se({},u.state,{scroll:os()}),"")}function f(){for(const u of i)u();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:d,listen:r,destroy:f}}function Bl(e,t,n,o=!1,s=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:s?os():null}}function yh(e){const{history:t,location:n}=window,o={value:Wu(e,n)},s={value:t.state};s.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(d,r,c){const f=e.indexOf("#"),u=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+d:gh()+e+d;try{t[c?"replaceState":"pushState"](r,"",u),s.value=r}catch(p){console.error(p),n[c?"replace":"assign"](u)}}function a(d,r){const c=Se({},t.state,Bl(s.value.back,d,s.value.forward,!0),r,{position:s.value.position});i(d,c,!0),o.value=d}function l(d,r){const c=Se({},s.value,t.state,{forward:d,scroll:os()});i(c.current,c,!0);const f=Se({},Bl(o.value,d,null),{position:c.position+1},r);i(d,f,!1),o.value=d}return{location:o,state:s,push:l,replace:a}}function _h(e){e=uh(e);const t=yh(e),n=vh(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const s=Se({location:"",base:e,go:o,createHref:fh.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function bh(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),_h(e)}function wh(e){return typeof e=="string"||e&&typeof e=="object"}function Ku(e){return typeof e=="string"||typeof e=="symbol"}const pn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},zu=Symbol("");var Nl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Nl||(Nl={}));function dr(e,t){return Se(new Error,{type:e,[zu]:!0},t)}function Xt(e,t){return e instanceof Error&&zu in e&&(t==null||!!(e.type&t))}const jl="[^/]+?",xh={sensitive:!1,strict:!1,start:!0,end:!0},Ch=/[.+*?^${}()[\]/\\]/g;function Eh(e,t){const n=Se({},xh,t),o=[];let s=n.start?"^":"";const i=[];for(const r of e){const c=r.length?[]:[90];n.strict&&!r.length&&(s+="/");for(let f=0;f<r.length;f++){const u=r[f];let p=40+(n.sensitive?.25:0);if(u.type===0)f||(s+="/"),s+=u.value.replace(Ch,"\\$&"),p+=40;else if(u.type===1){const{value:m,repeatable:g,optional:C,regexp:x}=u;i.push({name:m,repeatable:g,optional:C});const y=x||jl;if(y!==jl){p+=10;try{new RegExp(`(${y})`)}catch(h){throw new Error(`Invalid custom RegExp for param "${m}" (${y}): `+h.message)}}let v=g?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(v=C&&r.length<2?`(?:/${v})`:"/"+v),C&&(v+="?"),s+=v,p+=20,C&&(p+=-8),g&&(p+=-20),y===".*"&&(p+=-50)}c.push(p)}o.push(c)}if(n.strict&&n.end){const r=o.length-1;o[r][o[r].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function l(r){const c=r.match(a),f={};if(!c)return null;for(let u=1;u<c.length;u++){const p=c[u]||"",m=i[u-1];f[m.name]=p&&m.repeatable?p.split("/"):p}return f}function d(r){let c="",f=!1;for(const u of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of u)if(p.type===0)c+=p.value;else if(p.type===1){const{value:m,repeatable:g,optional:C}=p,x=m in r?r[m]:"";if(Ht(x)&&!g)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const y=Ht(x)?x.join("/"):x;if(!y)if(C)u.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);c+=y}}return c||"/"}return{re:a,score:o,keys:i,parse:l,stringify:d}}function kh(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Sh(e,t){let n=0;const o=e.score,s=t.score;for(;n<o.length&&n<s.length;){const i=kh(o[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-o.length)===1){if($l(o))return 1;if($l(s))return-1}return s.length-o.length}function $l(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Oh={type:0,value:""},Ph=/[a-zA-Z0-9_]/;function Rh(e){if(!e)return[[]];if(e==="/")return[[Oh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${r}": ${p}`)}let n=0,o=n;const s=[];let i;function a(){i&&s.push(i),i=[]}let l=0,d,r="",c="";function f(){r&&(n===0?i.push({type:0,value:r}):n===1||n===2||n===3?(i.length>1&&(d==="*"||d==="+")&&t(`A repeatable param (${r}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:r,regexp:c,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):t("Invalid state to consume buffer"),r="")}function u(){r+=d}for(;l<e.length;){if(d=e[l++],d==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:d==="/"?(r&&f(),a()):d===":"?(f(),n=1):u();break;case 4:u(),n=o;break;case 1:d==="("?n=2:Ph.test(d)?u():(f(),n=0,d!=="*"&&d!=="?"&&d!=="+"&&l--);break;case 2:d===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+d:n=3:c+=d;break;case 3:f(),n=0,d!=="*"&&d!=="?"&&d!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${r}"`),f(),a(),s}function Ih(e,t,n){const o=Eh(Rh(e.path),n),s=Se(o,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Mh(e,t){const n=[],o=new Map;t=Vl({strict:!1,end:!0,sensitive:!1},t);function s(c){return o.get(c)}function i(c,f,u){const p=!u,m=Ah(c);m.aliasOf=u&&u.record;const g=Vl(t,c),C=[m];if("alias"in c){const v=typeof c.alias=="string"?[c.alias]:c.alias;for(const h of v)C.push(Se({},m,{components:u?u.record.components:m.components,path:h,aliasOf:u?u.record:m}))}let x,y;for(const v of C){const{path:h}=v;if(f&&h[0]!=="/"){const b=f.record.path,A=b[b.length-1]==="/"?"":"/";v.path=f.record.path+(h&&A+h)}if(x=Ih(v,f,g),u?u.alias.push(x):(y=y||x,y!==x&&y.alias.push(x),p&&c.name&&!Hl(x)&&a(c.name)),m.children){const b=m.children;for(let A=0;A<b.length;A++)i(b[A],x,u&&u.children[A])}u=u||x,(x.record.components&&Object.keys(x.record.components).length||x.record.name||x.record.redirect)&&d(x)}return y?()=>{a(y)}:Ar}function a(c){if(Ku(c)){const f=o.get(c);f&&(o.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&o.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function l(){return n}function d(c){let f=0;for(;f<n.length&&Sh(c,n[f])>=0&&(c.record.path!==n[f].record.path||!qu(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!Hl(c)&&o.set(c.record.name,c)}function r(c,f){let u,p={},m,g;if("name"in c&&c.name){if(u=o.get(c.name),!u)throw dr(1,{location:c});g=u.record.name,p=Se(Dl(f.params,u.keys.filter(y=>!y.optional).map(y=>y.name)),c.params&&Dl(c.params,u.keys.map(y=>y.name))),m=u.stringify(p)}else if("path"in c)m=c.path,u=n.find(y=>y.re.test(m)),u&&(p=u.parse(m),g=u.record.name);else{if(u=f.name?o.get(f.name):n.find(y=>y.re.test(f.path)),!u)throw dr(1,{location:c,currentLocation:f});g=u.record.name,p=Se({},f.params,c.params),m=u.stringify(p)}const C=[];let x=u;for(;x;)C.unshift(x.record),x=x.parent;return{name:g,path:m,params:p,matched:C,meta:Lh(C)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:r,removeRoute:a,getRoutes:l,getRecordMatcher:s}}function Dl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ah(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Th(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Th(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Hl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Lh(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function Vl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function qu(e,t){return t.children.some(n=>n===e||qu(e,n))}const Ju=/#/g,Fh=/&/g,Bh=/\//g,Nh=/=/g,jh=/\?/g,Yu=/\+/g,$h=/%5B/g,Dh=/%5D/g,Zu=/%5E/g,Hh=/%60/g,Xu=/%7B/g,Vh=/%7C/g,Qu=/%7D/g,Uh=/%20/g;function Li(e){return encodeURI(""+e).replace(Vh,"|").replace($h,"[").replace(Dh,"]")}function Wh(e){return Li(e).replace(Xu,"{").replace(Qu,"}").replace(Zu,"^")}function Xs(e){return Li(e).replace(Yu,"%2B").replace(Uh,"+").replace(Ju,"%23").replace(Fh,"%26").replace(Hh,"`").replace(Xu,"{").replace(Qu,"}").replace(Zu,"^")}function Kh(e){return Xs(e).replace(Nh,"%3D")}function zh(e){return Li(e).replace(Ju,"%23").replace(jh,"%3F")}function qh(e){return e==null?"":zh(e).replace(Bh,"%2F")}function Lo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jh(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<o.length;++s){const i=o[s].replace(Yu," "),a=i.indexOf("="),l=Lo(a<0?i:i.slice(0,a)),d=a<0?null:Lo(i.slice(a+1));if(l in t){let r=t[l];Ht(r)||(r=t[l]=[r]),r.push(d)}else t[l]=d}return t}function Ul(e){let t="";for(let n in e){const o=e[n];if(n=Kh(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ht(o)?o.map(i=>i&&Xs(i)):[o&&Xs(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Yh(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Ht(o)?o.map(s=>s==null?null:""+s):o==null?o:""+o)}return t}const Zh=Symbol(""),Wl=Symbol(""),ss=Symbol(""),Gu=Symbol(""),Qs=Symbol("");function br(){let e=[];function t(o){return e.push(o),()=>{const s=e.indexOf(o);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function yn(e,t,n,o,s){const i=o&&(o.enterCallbacks[s]=o.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const d=f=>{f===!1?l(dr(4,{from:n,to:t})):f instanceof Error?l(f):wh(f)?l(dr(2,{from:t,to:f})):(i&&o.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),a())},r=e.call(o&&o.instances[s],t,n,d);let c=Promise.resolve(r);e.length<3&&(c=c.then(d)),c.catch(f=>l(f))})}function Ps(e,t,n,o){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Xh(l)){const r=(l.__vccOpts||l)[t];r&&s.push(yn(r,n,o,i,a))}else{let d=l();s.push(()=>d.then(r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const c=nh(r)?r.default:r;i.components[a]=c;const u=(c.__vccOpts||c)[t];return u&&yn(u,n,o,i,a)()}))}}return s}function Xh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kl(e){const t=Tt(ss),n=Tt(Gu),o=Fe(()=>t.resolve(_e(e.to))),s=Fe(()=>{const{matched:d}=o.value,{length:r}=d,c=d[r-1],f=n.matched;if(!c||!f.length)return-1;const u=f.findIndex(fr.bind(null,c));if(u>-1)return u;const p=zl(d[r-2]);return r>1&&zl(c)===p&&f[f.length-1].path!==p?f.findIndex(fr.bind(null,d[r-2])):u}),i=Fe(()=>s.value>-1&&tm(n.params,o.value.params)),a=Fe(()=>s.value>-1&&s.value===n.matched.length-1&&Uu(n.params,o.value.params));function l(d={}){return em(d)?t[_e(e.replace)?"replace":"push"](_e(e.to)).catch(Ar):Promise.resolve()}return{route:o,href:Fe(()=>o.value.href),isActive:i,isExactActive:a,navigate:l}}const Qh=Ge({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Kl,setup(e,{slots:t}){const n=Rn(Kl(e)),{options:o}=Tt(ss),s=Fe(()=>({[ql(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[ql(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:es("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),Gh=Qh;function em(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function tm(e,t){for(const n in t){const o=t[n],s=e[n];if(typeof o=="string"){if(o!==s)return!1}else if(!Ht(s)||s.length!==o.length||o.some((i,a)=>i!==s[a]))return!1}return!0}function zl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ql=(e,t,n)=>e??t??n,nm=Ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Tt(Qs),s=Fe(()=>e.route||o.value),i=Tt(Wl,0),a=Fe(()=>{let r=_e(i);const{matched:c}=s.value;let f;for(;(f=c[r])&&!f.components;)r++;return r}),l=Fe(()=>s.value.matched[a.value]);Or(Wl,Fe(()=>a.value+1)),Or(Zh,l),Or(Qs,s);const d=Ve();return on(()=>[d.value,l.value,e.name],([r,c,f],[u,p,m])=>{c&&(c.instances[f]=r,p&&p!==c&&r&&r===u&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),r&&c&&(!p||!fr(c,p)||!u)&&(c.enterCallbacks[f]||[]).forEach(g=>g(r))},{flush:"post"}),()=>{const r=s.value,c=e.name,f=l.value,u=f&&f.components[c];if(!u)return Jl(n.default,{Component:u,route:r});const p=f.props[c],m=p?p===!0?r.params:typeof p=="function"?p(r):p:null,C=es(u,Se({},m,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[c]=null)},ref:d}));return Jl(n.default,{Component:C,route:r})||C}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ea=nm;function rm(e){const t=Mh(e.routes,e),n=e.parseQuery||Jh,o=e.stringifyQuery||Ul,s=e.history,i=br(),a=br(),l=br(),d=Nr(pn);let r=pn;Qn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ss.bind(null,B=>""+B),f=Ss.bind(null,qh),u=Ss.bind(null,Lo);function p(B,Z){let U,G;return Ku(B)?(U=t.getRecordMatcher(B),G=Z):G=B,t.addRoute(G,U)}function m(B){const Z=t.getRecordMatcher(B);Z&&t.removeRoute(Z)}function g(){return t.getRoutes().map(B=>B.record)}function C(B){return!!t.getRecordMatcher(B)}function x(B,Z){if(Z=Se({},Z||d.value),typeof B=="string"){const R=Os(n,B,Z.path),L=t.resolve({path:R.path},Z),j=s.createHref(R.fullPath);return Se(R,L,{params:u(L.params),hash:Lo(R.hash),redirectedFrom:void 0,href:j})}let U;if("path"in B)U=Se({},B,{path:Os(n,B.path,Z.path).path});else{const R=Se({},B.params);for(const L in R)R[L]==null&&delete R[L];U=Se({},B,{params:f(R)}),Z.params=f(Z.params)}const G=t.resolve(U,Z),ue=B.hash||"";G.params=c(u(G.params));const _=sh(o,Se({},B,{hash:Wh(ue),path:G.path})),w=s.createHref(_);return Se({fullPath:_,hash:ue,query:o===Ul?Yh(B.query):B.query||{}},G,{redirectedFrom:void 0,href:w})}function y(B){return typeof B=="string"?Os(n,B,d.value.path):Se({},B)}function v(B,Z){if(r!==B)return dr(8,{from:Z,to:B})}function h(B){return I(B)}function b(B){return h(Se(y(B),{replace:!0}))}function A(B){const Z=B.matched[B.matched.length-1];if(Z&&Z.redirect){const{redirect:U}=Z;let G=typeof U=="function"?U(B):U;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=y(G):{path:G},G.params={}),Se({query:B.query,hash:B.hash,params:"path"in G?{}:B.params},G)}}function I(B,Z){const U=r=x(B),G=d.value,ue=B.state,_=B.force,w=B.replace===!0,R=A(U);if(R)return I(Se(y(R),{state:typeof R=="object"?Se({},ue,R.state):ue,force:_,replace:w}),Z||U);const L=U;L.redirectedFrom=Z;let j;return!_&&ih(o,G,U)&&(j=dr(16,{to:L,from:G}),Je(G,G,!0,!1)),(j?Promise.resolve(j):k(L,G)).catch($=>Xt($)?Xt($,2)?$:Ue($):q($,L,G)).then($=>{if($){if(Xt($,2))return I(Se({replace:w},y($.to),{state:typeof $.to=="object"?Se({},ue,$.to.state):ue,force:_}),Z||L)}else $=P(L,G,!0,w,ue);return M(L,G,$),$})}function O(B,Z){const U=v(B,Z);return U?Promise.reject(U):Promise.resolve()}function S(B){const Z=$e.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(B):B()}function k(B,Z){let U;const[G,ue,_]=om(B,Z);U=Ps(G.reverse(),"beforeRouteLeave",B,Z);for(const R of G)R.leaveGuards.forEach(L=>{U.push(yn(L,B,Z))});const w=O.bind(null,B,Z);return U.push(w),De(U).then(()=>{U=[];for(const R of i.list())U.push(yn(R,B,Z));return U.push(w),De(U)}).then(()=>{U=Ps(ue,"beforeRouteUpdate",B,Z);for(const R of ue)R.updateGuards.forEach(L=>{U.push(yn(L,B,Z))});return U.push(w),De(U)}).then(()=>{U=[];for(const R of _)if(R.beforeEnter)if(Ht(R.beforeEnter))for(const L of R.beforeEnter)U.push(yn(L,B,Z));else U.push(yn(R.beforeEnter,B,Z));return U.push(w),De(U)}).then(()=>(B.matched.forEach(R=>R.enterCallbacks={}),U=Ps(_,"beforeRouteEnter",B,Z),U.push(w),De(U))).then(()=>{U=[];for(const R of a.list())U.push(yn(R,B,Z));return U.push(w),De(U)}).catch(R=>Xt(R,8)?R:Promise.reject(R))}function M(B,Z,U){l.list().forEach(G=>S(()=>G(B,Z,U)))}function P(B,Z,U,G,ue){const _=v(B,Z);if(_)return _;const w=Z===pn,R=Qn?history.state:{};U&&(G||w?s.replace(B.fullPath,Se({scroll:w&&R&&R.scroll},ue)):s.push(B.fullPath,ue)),d.value=B,Je(B,Z,U,w),Ue()}let F;function V(){F||(F=s.listen((B,Z,U)=>{if(!Vt.listening)return;const G=x(B),ue=A(G);if(ue){I(Se(ue,{replace:!0}),G).catch(Ar);return}r=G;const _=d.value;Qn&&hh(Fl(_.fullPath,U.delta),os()),k(G,_).catch(w=>Xt(w,12)?w:Xt(w,2)?(I(w.to,G).then(R=>{Xt(R,20)&&!U.delta&&U.type===Kr.pop&&s.go(-1,!1)}).catch(Ar),Promise.reject()):(U.delta&&s.go(-U.delta,!1),q(w,G,_))).then(w=>{w=w||P(G,_,!1),w&&(U.delta&&!Xt(w,8)?s.go(-U.delta,!1):U.type===Kr.pop&&Xt(w,20)&&s.go(-1,!1)),M(G,_,w)}).catch(Ar)}))}let z=br(),T=br(),J;function q(B,Z,U){Ue(B);const G=T.list();return G.length?G.forEach(ue=>ue(B,Z,U)):console.error(B),Promise.reject(B)}function Me(){return J&&d.value!==pn?Promise.resolve():new Promise((B,Z)=>{z.add([B,Z])})}function Ue(B){return J||(J=!B,V(),z.list().forEach(([Z,U])=>B?U(B):Z()),z.reset()),B}function Je(B,Z,U,G){const{scrollBehavior:ue}=e;if(!Qn||!ue)return Promise.resolve();const _=!U&&mh(Fl(B.fullPath,0))||(G||!U)&&history.state&&history.state.scroll||null;return zn().then(()=>ue(B,Z,_)).then(w=>w&&ph(w)).catch(w=>q(w,B,Z))}const Ae=B=>s.go(B);let We;const $e=new Set,Vt={currentRoute:d,listening:!0,addRoute:p,removeRoute:m,hasRoute:C,getRoutes:g,resolve:x,options:e,push:h,replace:b,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:T.add,isReady:Me,install(B){const Z=this;B.component("RouterLink",Gh),B.component("RouterView",ea),B.config.globalProperties.$router=Z,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>_e(d)}),Qn&&!We&&d.value===pn&&(We=!0,h(s.location).catch(ue=>{}));const U={};for(const ue in pn)Object.defineProperty(U,ue,{get:()=>d.value[ue],enumerable:!0});B.provide(ss,Z),B.provide(Gu,ai(U)),B.provide(Qs,d);const G=B.unmount;$e.add(B),B.unmount=function(){$e.delete(B),$e.size<1&&(r=pn,F&&F(),F=null,d.value=pn,We=!1,J=!1),G()}}};function De(B){return B.reduce((Z,U)=>Z.then(()=>S(U)),Promise.resolve())}return Vt}function om(e,t){const n=[],o=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const l=t.matched[a];l&&(e.matched.find(r=>fr(r,l))?o.push(l):n.push(l));const d=e.matched[a];d&&(t.matched.find(r=>fr(r,d))||s.push(d))}return[n,o,s]}function ta(){return Tt(ss)}const sm=["aria-current"],im=["href","aria-current","onClick"],na=Ge({__name:"BreadCrumb",props:{path:{}},setup(e){const t=ta(),n=[],o=(r,c)=>{c&&(n[r]=c)};Ei(()=>{n.length=1});const s=e,i=Ve([]),a=r=>r==s.path.length?"location":void 0,l=r=>{const c=n[r];if(!c)throw Error(`No link at index ${r} (path: ${s.path})`);const f=`/${i.value.slice(0,r).join("/")}/`,u=`/${i.value.join("/")}/`,p=decodeURIComponent(location.hash.slice(1).split("//")[0]),m=f.replaceAll("?","%3F").replaceAll("#","%23");u.startsWith(p)?t.replace(m):t.push(m),c.focus()},d=r=>{const c=s.path.length+r;c<0||c>i.value.length||l(c)};return En(()=>{const r=i.value.slice(0,s.path.length);r.every((f,u)=>f===s.path[u])?s.path.length>r.length&&(i.value=r.concat(s.path.slice(r.length))):i.value=s.path}),En(()=>{n.length&&l(s.path.length)}),(r,c)=>(he(),ke("nav",{class:"breadcrumb","aria-label":"Breadcrumb",onKeyup:[c[0]||(c[0]=sn(Rt(f=>d(-1),["stop"]),["left"])),c[1]||(c[1]=sn(Rt(f=>d(1),["stop"]),["right"])),c[2]||(c[2]=sn(f=>d(0),["enter"]))]},[re("a",{href:"#/",ref:f=>o(0,f),class:Mt({current:!!a(0)}),"aria-current":a(0)},[(he(),zt(_i(_e(Vu))))],10,sm),(he(!0),ke(Le,null,ki(i.value,(f,u)=>(he(),ke("a",{key:u,href:`/#/${i.value.slice(0,u+1).join("/")}/`,class:Mt({current:!!a(u+1)}),"aria-current":a(u+1),onClick:Rt(p=>l(u+1),["prevent"]),ref_for:!0,ref:p=>o(u+1,p)},tt(f),11,im))),128))],32))}});const lm="modulepreload",cm=function(e){return"/"+e},Yl={},te=function(t,n,o){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=cm(i),i in Yl)return;Yl[i]=!0;const a=i.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!o)for(let c=s.length-1;c>=0;c--){const f=s[c];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const r=document.createElement("link");if(r.rel=a?"stylesheet":lm,a||(r.as="script",r.crossOrigin=""),r.href=i,document.head.appendChild(r),a)return new Promise((c,f)=>{r.addEventListener("load",c),r.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},um=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+t)))})},am={class:"action-button"},Fi=Ge({__name:"SvgButton",props:{name:{}},setup(e){const t=e,n=Lc(()=>um(Object.assign({"../assets/svg/add-file.svg":()=>te(()=>import("./add-file-a9d3c136.js"),[]),"../assets/svg/add-folder.svg":()=>te(()=>import("./add-folder-1067f64c.js"),[]),"../assets/svg/arrow.svg":()=>te(()=>import("./arrow-3f20395b.js"),[]),"../assets/svg/arrows-h.svg":()=>te(()=>import("./arrows-h-e15dd929.js"),[]),"../assets/svg/arrows-v.svg":()=>te(()=>import("./arrows-v-aa28c1fb.js"),[]),"../assets/svg/check.svg":()=>te(()=>import("./check-79aef249.js"),[]),"../assets/svg/code.svg":()=>te(()=>import("./code-e36c79c2.js"),[]),"../assets/svg/cog.svg":()=>te(()=>import("./cog-7564b1dd.js"),[]),"../assets/svg/copy.svg":()=>te(()=>import("./copy-e3929780.js"),[]),"../assets/svg/create-file.svg":()=>te(()=>import("./create-file-a4cd2759.js"),[]),"../assets/svg/create-folder.svg":()=>te(()=>import("./create-folder-cb1e0138.js"),[]),"../assets/svg/cross.svg":()=>te(()=>import("./cross-d73eb841.js"),[]),"../assets/svg/disk.svg":()=>te(()=>import("./disk-db1f0765.js"),[]),"../assets/svg/download.svg":()=>te(()=>import("./download-a3d43d2f.js"),[]),"../assets/svg/exclamation.svg":()=>te(()=>import("./exclamation-2902e1df.js"),[]),"../assets/svg/eye.svg":()=>te(()=>import("./eye-8d101b8e.js"),[]),"../assets/svg/find.svg":()=>te(()=>import("./find-33f8a0d2.js"),[]),"../assets/svg/fullscreen.svg":()=>te(()=>import("./fullscreen-11067704.js"),[]),"../assets/svg/github.svg":()=>te(()=>import("./github-01e6b073.js"),[]),"../assets/svg/home.svg":()=>te(()=>Promise.resolve().then(()=>th),void 0),"../assets/svg/info.svg":()=>te(()=>import("./info-c4a3f8c5.js"),[]),"../assets/svg/link.svg":()=>te(()=>import("./link-ed858213.js"),[]),"../assets/svg/logo.svg":()=>te(()=>import("./logo-27323863.js"),[]),"../assets/svg/loop.svg":()=>te(()=>import("./loop-5dd137a3.js"),[]),"../assets/svg/menu.svg":()=>te(()=>import("./menu-1032d481.js"),[]),"../assets/svg/next.svg":()=>te(()=>import("./next-eb6c8a7f.js"),[]),"../assets/svg/open.svg":()=>te(()=>import("./open-d6baab3e.js"),[]),"../assets/svg/paste.svg":()=>te(()=>import("./paste-dbc34e03.js"),[]),"../assets/svg/pause.svg":()=>te(()=>import("./pause-5bc73725.js"),[]),"../assets/svg/pencil.svg":()=>te(()=>import("./pencil-d5ffe2dc.js"),[]),"../assets/svg/play.svg":()=>te(()=>import("./play-7817e413.js"),[]),"../assets/svg/plus.svg":()=>te(()=>import("./plus-0c299339.js"),[]),"../assets/svg/previous.svg":()=>te(()=>import("./previous-626a4acb.js"),[]),"../assets/svg/reload.svg":()=>te(()=>import("./reload-128d6c02.js"),[]),"../assets/svg/rename.svg":()=>te(()=>import("./rename-aa3dba61.js"),[]),"../assets/svg/scissors.svg":()=>te(()=>import("./scissors-bd9fe56f.js"),[]),"../assets/svg/shuffle.svg":()=>te(()=>import("./shuffle-7f5be9e9.js"),[]),"../assets/svg/signin.svg":()=>te(()=>import("./signin-d3d6ced4.js"),[]),"../assets/svg/signout.svg":()=>te(()=>import("./signout-fc3c85db.js"),[]),"../assets/svg/skip.svg":()=>te(()=>import("./skip-b98696e7.js"),[]),"../assets/svg/spinner.svg":()=>te(()=>import("./spinner-b41d7188.js"),[]),"../assets/svg/stop.svg":()=>te(()=>import("./stop-c58e520a.js"),[]),"../assets/svg/trash.svg":()=>te(()=>import("./trash-d4df4c21.js"),[]),"../assets/svg/triangle.svg":()=>te(()=>import("./triangle-12112b17.js"),[]),"../assets/svg/unfullscreen.svg":()=>te(()=>import("./unfullscreen-a97c74fb.js"),[]),"../assets/svg/up-arrow.svg":()=>te(()=>import("./up-arrow-23c1796b.js"),[]),"../assets/svg/upload-cloud.svg":()=>te(()=>import("./upload-cloud-4f346520.js"),[]),"../assets/svg/user-cog.svg":()=>te(()=>import("./user-cog-64e9a313.js"),[]),"../assets/svg/user.svg":()=>te(()=>import("./user-074e37bb.js"),[]),"../assets/svg/volume-high.svg":()=>te(()=>import("./volume-high-cfc5dfaf.js"),[]),"../assets/svg/volume-low.svg":()=>te(()=>import("./volume-low-1ef7167e.js"),[]),"../assets/svg/volume-medium.svg":()=>te(()=>import("./volume-medium-a7aea406.js"),[]),"../assets/svg/volume-mute.svg":()=>te(()=>import("./volume-mute-d74a4abf.js"),[]),"../assets/svg/window-cross.svg":()=>te(()=>import("./window-cross-f8232e18.js"),[]),"../assets/svg/window.svg":()=>te(()=>import("./window-76484866.js"),[]),"../assets/svg/wordwrap.svg":()=>te(()=>import("./wordwrap-ae2f69a5.js"),[]),"../assets/svg/zoomin.svg":()=>te(()=>import("./zoomin-401eeaf9.js"),[]),"../assets/svg/zoomout.svg":()=>te(()=>import("./zoomout-ad6f32e8.js"),[])}),`../assets/svg/${t.name}.svg`));return(o,s)=>(he(),ke("button",am,[(he(),zt(_i(_e(n)))),Xo(o.$slots,"default")]))}});function ra(e){if(e===0)return"empty";for(const t of[null,"kB","MB","GB","TB","PB","EB"]){if(e<1e4)return e.toLocaleString().replace(","," ")+(t?` ${t}`:"");e=Math.round(e/1e3)}return"huge"}function fm(e){const t=new Date(e*1e3),n=new Date,o=t.getTime()-n.getTime(),s=Math.abs(o),i=new Intl.RelativeTimeFormat("en",{numeric:"auto"});if(s<=5e3)return"now";if(s<=6e4)return i.format(Math.round(o/1e3),"second").replace(" ago","").replaceAll(" "," ");if(s<=36e5)return i.format(Math.round(o/6e4),"minute").replace("utes","").replace("ute","").replaceAll(" "," ");if(s<=864e5)return i.format(Math.round(o/36e5),"hour").replaceAll(" "," ");if(s<=6048e5)return i.format(Math.round(o/864e5),"day").replaceAll(" "," ");let a=t.toLocaleDateString("en-ie",{weekday:"short",year:"numeric",month:"short",day:"numeric"}).replace("Sept","Sep");return a.length===14&&(a=a.replace(" ","  ")),a=a.replaceAll(" "," ").replace(" "," "),a=a.slice(0,-4)+a.slice(-2),a}const zr=new Intl.Collator("en",{sensitivity:"base",numeric:!0,usage:"search"});function dm(e){return"^"+e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase()+"$"}function pm(e){const t=e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase();return{based:t,words:t.split(/\s+/)}}function hm(e,t){const{based:n,words:o}=t;return e.includes(n)||o&&o.every(s=>e.includes(s))}class oa{constructor(t={}){Zt(this,"_name","");Zt(this,"loc","");Zt(this,"key","");Zt(this,"size",0);Zt(this,"mtime",0);Zt(this,"haystack","");Zt(this,"dir",!1);Object.assign(this,t)}get name(){return this._name}set name(t){if(t.includes("/")||t.startsWith("."))throw Error(`Invalid name: ${t}`);this._name=t,this.haystack=dm(t)}get sizedisp(){return ra(this.size)}get modified(){return fm(this.mtime)}get url(){const t=this.loc?`${this.loc}/${this.name}`:this.name;return this.dir?"/#/"+`${t}/`.replaceAll("#","%23"):`/files/${t}`.replaceAll("?","%3F").replaceAll("#","%23")}get urlrouter(){return this.url.replace(/^\/#/,"")}}class mm{async post(t,n){const o=await fetch(t,{method:"POST",headers:{accept:"application/json","content-type":"application/json"},body:n!==void 0?JSON.stringify(n):void 0});let s;try{s=await o.json()}catch{throw new Zl(o.status,`🛑 ${o.status} ${o.statusText}`)}if("error"in s)throw new Zl(s.error.code,s.error.message);return s}}const sa=new mm;class Zl extends Error{constructor(n,o){super(o);Zt(this,"code");this.code=n}}const gm="/login",vm="/logout ";async function ym(e,t){return await sa.post(gm,{username:e,password:t})}async function _m(){return await sa.post(vm)}const bm={name:(e,t)=>zr.compare(e.name,t.name),modified:(e,t)=>t.mtime-e.mtime,size:(e,t)=>t.size-e.size},Gs=(e,t)=>{if(!t)return e;const n=[...e];return n.sort(bm[t]),n},Et=Xp({id:"main",state:()=>({document:Nr([]),selected:new Set,query:"",fileExplorer:null,error:"",connected:!1,server:{},prefs:{sortListing:"",sortFiltered:""},user:{username:"",privileged:!1,isLoggedIn:!1,isOpenLoginModal:!1}}),persist:{paths:["prefs"]},actions:{updateRoot(e){const t=[];let n=[];for(const[o,s,i,a,l,d]of e)n=n.slice(0,o-1),t.push(new oa({name:s,loc:o?n.join("/"):"/",key:i,size:l,mtime:a,dir:!d})),n.push(s);this.document=t},login(e,t){this.user.username=e,this.user.privileged=t,this.user.isLoggedIn=!0,this.user.isOpenLoginModal=!1,this.connected||Bi()},loginDialog(){this.user.isOpenLoginModal=!0},async logout(){console.log("Logout"),await _m(),this.$reset(),localStorage.clear(),history.go()},toggleSort(e){this.query?this.prefs.sortFiltered=this.prefs.sortFiltered===e?"":e:this.prefs.sortListing=this.prefs.sortListing===e?"":e}},getters:{sortOrder(){return this.query?this.prefs.sortFiltered:this.prefs.sortListing},isUserLogged(){return this.user.isLoggedIn},recentDocuments(){return Gs(this.document,"modified")},selectedFiles(){const e=this.selected,t=new Set,n={missing:new Set,docs:{},keys:[],recursive:[]};for(const i of this.document)e.has(i.key)&&(t.add(i.key),n.keys.push(i.key),n.docs[i.key]=i);for(const i of e)t.has(i)||n.missing.add(i);const o=new Set;function s(i,a,l){if(!l.dir&&o.has(i))throw Error(`Multiple selections conflict for: ${i}`);o.add(i),n.recursive.push([i,a,l])}for(const i of n.keys){const a=n.docs[i],l=a.loc?`${a.loc}/${a.name}`:a.name,d=a.loc.length;s(a.name,l,a);for(const r of this.document)if(r.loc===l||r.loc.startsWith(l)&&r.loc[l.length]==="/"){const c=r.loc?`${r.loc}/${r.name}`:r.name,f=c.slice(d);s(f,c,r)}}return n.recursive.sort((i,a)=>zr.compare(i[0],a[0])),n}}}),ei="/api/control",wm="/api/upload",xm="/api/watch";let Kt=[],Co=500,Lr=null;const Cm=()=>{const e=localStorage["cista-files"];if(!e)return!1;const t=Et();try{return Kt=JSON.parse(e),t.updateRoot(Kt),console.log(`Loaded session with ${Kt.length} items cached`),!0}catch(n){return console.log("Loading session failed",n),!1}},ia=()=>{localStorage["cista-files"]=JSON.stringify(Kt)},qr=(e,t)=>{const n=new WebSocket(new URL(e,location.origin.replace(/^http/,"ws")));for(const[o,s]of Object.entries(t))n.addEventListener(o,s);return n},Bi=()=>{or!==null&&(clearTimeout(or),or=null);const e=Et();e.error!=="Reconnecting..."&&(e.error="Connecting..."),console.log(e.error),Lr=qr(xm,{message:Sm,close:km}),Lr.addEventListener("message",t=>{if(e.connected)return;const n=JSON.parse(t.data);if("error"in n){n.error.code===401?(e.user.isLoggedIn=!1,e.user.isOpenLoginModal=!0):e.error=n.error.message;return}"server"in n&&(console.log("Connected to backend",n),e.server=n.server,e.connected=!0,Co=500,e.error="",n.user?e.login(n.user.username,n.user.privileged):e.isUserLogged&&e.logout(),!n.server.public&&!n.user&&(e.user.isOpenLoginModal=!0))})},Em=()=>{Lr&&(Lr.close(),Lr=null)};let or=null;const km=e=>{const t=Et();t.connected&&(console.warn("Disconnected from server",e),t.connected=!1,t.error="Reconnecting..."),Co=Math.min(5e3,Co+500),or!==null&&clearTimeout(or),or=setTimeout(Bi,Co)},Sm=e=>{const t=JSON.parse(e.data);switch(!0){case!!t.root:Om(t);break;case!!t.update:Pm(t);break;case!!t.space:console.log("Watch space",t.space);break;case!!t.error:Rm(t);break}};function Om({root:e}){const t=Et();console.log("Watch root",e),t.updateRoot(e),Kt=e,ia()}function Pm(e){const t=Et(),n=e.update;if(console.log("Watch update",n),!Kt)return console.error("Watch update before root");let o=[],s=0;for(const[i,a]of n)i==="k"?(o.push(...Kt.slice(s,s+a)),s+=a):i==="d"?s+=a:i==="i"?o.push(...a):console.log("Unknown update action",i,a);if(s!=Kt.length)throw Error(`Tree update out of sync, number of entries mismatch: got ${s}, expected ${Kt.length}, new tree ${o.length}`);t.updateRoot(o),Kt=o,ia()}function Rm(e){const t=Et();if(e.error.code===401){t.user.isOpenLoginModal=!0,t.user.isLoggedIn=!1;return}}const Im={class:"statustext"},Mm={key:0,class:"index"},Am={class:"filename"},Tm={key:0,class:"percent"},Lm={key:1,class:"position"},Fm={class:"speed"},Bm=Ge({__name:"UploadButton",props:{path:Array},setup(e){const t=Ve(),n=Ve(),o=Et(),s=e;function i(S){var F;const k=Array.from(((F=S.clipboardData)==null?void 0:F.items)??[]),M=[],P=[];for(const V of k){if(V.kind!=="file")continue;const z=V.webkitGetAsEntry();if(z!=null&&z.isFile){const T=V.getAsFile();T&&M.push(T)}else z!=null&&z.isDirectory&&P.push(z)}if(M.length||P.length){S.preventDefault(),d(M);for(const V of P)a(V,`${s.path.join("/")}/${V.name}`)}}const a=async(S,k)=>{const M=S.createReader(),P=await new Promise(V=>M.readEntries(V)),F=[];for(const V of P){const z=`${k}/${V.name}`;if(V.isFile){const T=await new Promise(J=>V.file(J));F.push({file:T,cloudName:z,cloudPos:0})}else V.isDirectory&&await a(V,z)}F.length&&r(F)};function l(S){var P;S.preventDefault();const k=S.target,M=Array.from(((P=k??S.dataTransfer)==null?void 0:P.files)??[]);k&&(k.value=""),M.length&&d(M)}const d=S=>{const k=s.path.join("/");let M=[];for(const P of S)M.push({file:P,cloudName:k+"/"+(P.webkitRelativePath||P.name),cloudPos:0});r(M)},r=S=>{const k=S.filter(M=>M.cloudName.includes("/."));k.length&&(o.error="Won't upload dotfiles",console.log("Dotfiles omitted",k),S=S.filter(M=>!M.cloudName.includes("/."))),S.length&&(S.sort((M,P)=>zr.compare(M.cloudName,P.cloudName)),h=[...h,...S],v(S),O())},c=()=>{h=[],y()},f={total:0,uploaded:0,t0:0,tlast:0,statbytes:0,statdur:0,files:[],filestart:0,fileidx:0,filecount:0,filename:"",filesize:0,filepos:0,status:"idle"},u=Rn({...f}),p=Fe(()=>u.uploaded/u.total*100),m=Fe(()=>{let S=u.statbytes/u.statdur/1e3;const k=(Date.now()-u.tlast)/1e3;return k>5/S?0:k>1/S?1/k:S}),g=Fe(()=>m.value?m.value.toFixed(m.value<10?1:0)+" MB/s":"stalled");setInterval(()=>{Date.now()-u.tlast>3e3?(u.statbytes=0,u.statdur=1):(u.statbytes*=.9,u.statdur*=.9)},100);const C=({name:S,size:k,start:M,end:P})=>{if(S!==u.filename)return;const F=Date.now();u.uploaded=u.filestart+P,u.filepos=P,u.statbytes+=P-M,u.statdur+=F-u.tlast,u.tlast=F,P===k&&(u.filestart+=k,x(),++u.fileidx>=u.filecount&&y())},x=()=>{const S=u.files.shift();if(!S)return y();u.filepos=0,u.filesize=S.file.size,u.filename=S.cloudName},y=()=>{Object.assign(u,f),u.t0=Date.now(),u.tlast=u.t0+1},v=S=>{u.files.length===0&&y(),u.total+=S.reduce((k,M)=>k+M.file.size,0),u.filecount+=S.length,u.files=[...u.files,...S],x()};let h=[];const b=async()=>await new Promise(S=>{const k=qr(wm,{open(M){S(k)},error(M){console.error("Upload socket error",M),o.error="Upload socket error"},message(M){const P=JSON.parse(M.data);if("error"in P){console.error("Upload socket error",P.error),o.error=P.error.message;return}P.status==="ack"?C(P.req):console.log("Unknown upload response",P)}});k.sendMsg=M=>k.send(JSON.stringify(M)),k.sendData=async M=>{u.status="uploading",await new Promise(P=>{const F=setInterval(()=>{k.bufferedAmount>1048576||(P(void 0),clearInterval(F))},1)}),u.status="processing",k.send(M)}}),A=async()=>{const S=await b();for(;h.length;){const k=h[0],M=k.cloudPos,P=Math.min(k.file.size,M+(1<<20)),F={name:k.cloudName,size:k.file.size,start:M,end:P},V=k.file.slice(M,P);k.cloudPos=P,S.sendMsg(F),await S.sendData(V),k.cloudPos===k.file.size&&h.shift()}h.length&&O(),u.status="idle",I=!1};let I=!1;const O=()=>{I===!1&&(I=setTimeout(()=>{I=!0,A()},0))};return At(()=>{addEventListener("dragover",l),addEventListener("drop",l),addEventListener("paste",i)}),kn(()=>{removeEventListener("paste",i),removeEventListener("dragover",l),removeEventListener("drop",l)}),(S,k)=>{const M=Fi;return he(),ke(Le,null,[re("template",null,[re("input",{ref_key:"fileInput",ref:t,onChange:l,type:"file",multiple:""},null,544),re("input",{ref_key:"folderInput",ref:n,onChange:l,type:"file",webkitdirectory:""},null,544)]),ae(M,{name:"add-file","data-tooltip":"Upload files",onClick:k[0]||(k[0]=P=>t.value.click())}),ae(M,{name:"add-folder","data-tooltip":"Upload folder",onClick:k[1]||(k[1]=P=>n.value.click())}),u.total?(he(),ke("div",{key:0,class:"uploadprogress",style:hr(`background: linear-gradient(to right, var(--bar) 0, var(--bar) ${p.value}%, var(--nobar) ${p.value}%, var(--nobar) 100%);`)},[re("div",Im,[u.filecount>1?(he(),ke("span",Mm," ["+tt(u.fileidx)+"/"+tt(u.filecount)+"] ",1)):at("",!0),re("span",Am,[to(tt(u.filename.split("/").pop())+" ",1),u.filesize>1e7?(he(),ke("span",Tm,tt((u.filepos/u.filesize*100).toFixed(0)+" %"),1)):at("",!0)]),u.total>1e7?(he(),ke("span",Lm,tt((u.uploaded/1e6).toFixed(0)+" / "+(u.total/1e6).toFixed(0)+" MB"),1)):at("",!0),re("span",Fm,tt(g.value),1),re("button",{class:"close",onClick:c},"❌")])],4)):at("",!0)],64)}}});const no=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Nm=no(Bm,[["__scopeId","data-v-177a7b51"]]);var jm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dm(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),n}var la={exports:{}};const Hm=Dm(Up);(function(e,t){(function(n,o){e.exports=o(Hm)})(typeof self<"u"?self:jm,n=>(()=>{var o={9662:(l,d,r)=>{var c=r(614),f=r(6330),u=TypeError;l.exports=function(p){if(c(p))return p;throw u(f(p)+" is not a function")}},6077:(l,d,r)=>{var c=r(614),f=String,u=TypeError;l.exports=function(p){if(typeof p=="object"||c(p))return p;throw u("Can't set "+f(p)+" as a prototype")}},1223:(l,d,r)=>{var c=r(5112),f=r(30),u=r(3070).f,p=c("unscopables"),m=Array.prototype;m[p]==null&&u(m,p,{configurable:!0,value:f(null)}),l.exports=function(g){m[p][g]=!0}},9670:(l,d,r)=>{var c=r(111),f=String,u=TypeError;l.exports=function(p){if(c(p))return p;throw u(f(p)+" is not an object")}},8533:(l,d,r)=>{var c=r(2092).forEach,f=r(9341),u=f("forEach");l.exports=u?[].forEach:function(p){return c(this,p,arguments.length>1?arguments[1]:void 0)}},1318:(l,d,r)=>{var c=r(5656),f=r(1400),u=r(6244),p=function(m){return function(g,C,x){var y,v=c(g),h=u(v),b=f(x,h);if(m&&C!=C){for(;h>b;)if(y=v[b++],y!=y)return!0}else for(;h>b;b++)if((m||b in v)&&v[b]===C)return m||b||0;return!m&&-1}};l.exports={includes:p(!0),indexOf:p(!1)}},2092:(l,d,r)=>{var c=r(9974),f=r(1702),u=r(8361),p=r(7908),m=r(6244),g=r(5417),C=f([].push),x=function(y){var v=y==1,h=y==2,b=y==3,A=y==4,I=y==6,O=y==7,S=y==5||I;return function(k,M,P,F){for(var V,z,T=p(k),J=u(T),q=c(M,P),Me=m(J),Ue=0,Je=F||g,Ae=v?Je(k,Me):h||O?Je(k,0):void 0;Me>Ue;Ue++)if((S||Ue in J)&&(V=J[Ue],z=q(V,Ue,T),y))if(v)Ae[Ue]=z;else if(z)switch(y){case 3:return!0;case 5:return V;case 6:return Ue;case 2:C(Ae,V)}else switch(y){case 4:return!1;case 7:C(Ae,V)}return I?-1:b||A?A:Ae}};l.exports={forEach:x(0),map:x(1),filter:x(2),some:x(3),every:x(4),find:x(5),findIndex:x(6),filterReject:x(7)}},1194:(l,d,r)=>{var c=r(7293),f=r(5112),u=r(7392),p=f("species");l.exports=function(m){return u>=51||!c(function(){var g=[],C=g.constructor={};return C[p]=function(){return{foo:1}},g[m](Boolean).foo!==1})}},9341:(l,d,r)=>{var c=r(7293);l.exports=function(f,u){var p=[][f];return!!p&&c(function(){p.call(null,u||function(){return 1},1)})}},3658:(l,d,r)=>{var c=r(9781),f=r(3157),u=TypeError,p=Object.getOwnPropertyDescriptor,m=c&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(g){return g instanceof TypeError}}();l.exports=m?function(g,C){if(f(g)&&!p(g,"length").writable)throw u("Cannot set read only .length");return g.length=C}:function(g,C){return g.length=C}},206:(l,d,r)=>{var c=r(1702);l.exports=c([].slice)},7475:(l,d,r)=>{var c=r(3157),f=r(4411),u=r(111),p=r(5112),m=p("species"),g=Array;l.exports=function(C){var x;return c(C)&&(x=C.constructor,f(x)&&(x===g||c(x.prototype))?x=void 0:u(x)&&(x=x[m],x===null&&(x=void 0))),x===void 0?g:x}},5417:(l,d,r)=>{var c=r(7475);l.exports=function(f,u){return new(c(f))(u===0?0:u)}},4326:(l,d,r)=>{var c=r(1702),f=c({}.toString),u=c("".slice);l.exports=function(p){return u(f(p),8,-1)}},648:(l,d,r)=>{var c=r(1694),f=r(614),u=r(4326),p=r(5112),m=p("toStringTag"),g=Object,C=u(function(){return arguments}())=="Arguments",x=function(y,v){try{return y[v]}catch{}};l.exports=c?u:function(y){var v,h,b;return y===void 0?"Undefined":y===null?"Null":typeof(h=x(v=g(y),m))=="string"?h:C?u(v):(b=u(v))=="Object"&&f(v.callee)?"Arguments":b}},9920:(l,d,r)=>{var c=r(2597),f=r(3887),u=r(1236),p=r(3070);l.exports=function(m,g,C){for(var x=f(g),y=p.f,v=u.f,h=0;h<x.length;h++){var b=x[h];c(m,b)||C&&c(C,b)||y(m,b,v(g,b))}}},4964:(l,d,r)=>{var c=r(5112),f=c("match");l.exports=function(u){var p=/./;try{"/./"[u](p)}catch{try{return p[f]=!1,"/./"[u](p)}catch{}}return!1}},8880:(l,d,r)=>{var c=r(9781),f=r(3070),u=r(9114);l.exports=c?function(p,m,g){return f.f(p,m,u(1,g))}:function(p,m,g){return p[m]=g,p}},9114:l=>{l.exports=function(d,r){return{enumerable:!(1&d),configurable:!(2&d),writable:!(4&d),value:r}}},6135:(l,d,r)=>{var c=r(4948),f=r(3070),u=r(9114);l.exports=function(p,m,g){var C=c(m);C in p?f.f(p,C,u(0,g)):p[C]=g}},8052:(l,d,r)=>{var c=r(614),f=r(3070),u=r(6339),p=r(3072);l.exports=function(m,g,C,x){x||(x={});var y=x.enumerable,v=x.name!==void 0?x.name:g;if(c(C)&&u(C,v,x),x.global)y?m[g]=C:p(g,C);else{try{x.unsafe?m[g]&&(y=!0):delete m[g]}catch{}y?m[g]=C:f.f(m,g,{value:C,enumerable:!1,configurable:!x.nonConfigurable,writable:!x.nonWritable})}return m}},3072:(l,d,r)=>{var c=r(7854),f=Object.defineProperty;l.exports=function(u,p){try{f(c,u,{value:p,configurable:!0,writable:!0})}catch{c[u]=p}return p}},5117:(l,d,r)=>{var c=r(6330),f=TypeError;l.exports=function(u,p){if(!delete u[p])throw f("Cannot delete property "+c(p)+" of "+c(u))}},9781:(l,d,r)=>{var c=r(7293);l.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:(l,d,r)=>{var c=r(7854),f=r(111),u=c.document,p=f(u)&&f(u.createElement);l.exports=function(m){return p?u.createElement(m):{}}},7207:l=>{var d=TypeError,r=9007199254740991;l.exports=function(c){if(c>r)throw d("Maximum allowed index exceeded");return c}},8113:(l,d,r)=>{var c=r(5005);l.exports=c("navigator","userAgent")||""},7392:(l,d,r)=>{var c,f,u=r(7854),p=r(8113),m=u.process,g=u.Deno,C=m&&m.versions||g&&g.version,x=C&&C.v8;x&&(c=x.split("."),f=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!f&&p&&(c=p.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=p.match(/Chrome\/(\d+)/),c&&(f=+c[1]))),l.exports=f},748:l=>{l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7762:(l,d,r)=>{var c=r(9781),f=r(7293),u=r(9670),p=r(30),m=r(6277),g=Error.prototype.toString,C=f(function(){if(c){var x=p(Object.defineProperty({},"name",{get:function(){return this===x}}));if(g.call(x)!=="true")return!0}return g.call({message:1,name:2})!=="2: 1"||g.call({})!=="Error"});l.exports=C?function(){var x=u(this),y=m(x.name,"Error"),v=m(x.message);return y?v?y+": "+v:y:v}:g},2109:(l,d,r)=>{var c=r(7854),f=r(1236).f,u=r(8880),p=r(8052),m=r(3072),g=r(9920),C=r(4705);l.exports=function(x,y){var v,h,b,A,I,O,S=x.target,k=x.global,M=x.stat;if(h=k?c:M?c[S]||m(S,{}):(c[S]||{}).prototype,h)for(b in y){if(I=y[b],x.dontCallGetSet?(O=f(h,b),A=O&&O.value):A=h[b],v=C(k?b:S+(M?".":"#")+b,x.forced),!v&&A!==void 0){if(typeof I==typeof A)continue;g(I,A)}(x.sham||A&&A.sham)&&u(I,"sham",!0),p(h,b,I,x)}}},7293:l=>{l.exports=function(d){try{return!!d()}catch{return!0}}},2104:(l,d,r)=>{var c=r(4374),f=Function.prototype,u=f.apply,p=f.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(c?p.bind(u):function(){return p.apply(u,arguments)})},9974:(l,d,r)=>{var c=r(1702),f=r(9662),u=r(4374),p=c(c.bind);l.exports=function(m,g){return f(m),g===void 0?m:u?p(m,g):function(){return m.apply(g,arguments)}}},4374:(l,d,r)=>{var c=r(7293);l.exports=!c(function(){var f=(function(){}).bind();return typeof f!="function"||f.hasOwnProperty("prototype")})},6916:(l,d,r)=>{var c=r(4374),f=Function.prototype.call;l.exports=c?f.bind(f):function(){return f.apply(f,arguments)}},6530:(l,d,r)=>{var c=r(9781),f=r(2597),u=Function.prototype,p=c&&Object.getOwnPropertyDescriptor,m=f(u,"name"),g=m&&(function(){}).name==="something",C=m&&(!c||c&&p(u,"name").configurable);l.exports={EXISTS:m,PROPER:g,CONFIGURABLE:C}},1702:(l,d,r)=>{var c=r(4374),f=Function.prototype,u=f.bind,p=f.call,m=c&&u.bind(p,p);l.exports=c?function(g){return g&&m(g)}:function(g){return g&&function(){return p.apply(g,arguments)}}},5005:(l,d,r)=>{var c=r(7854),f=r(614),u=function(p){return f(p)?p:void 0};l.exports=function(p,m){return arguments.length<2?u(c[p]):c[p]&&c[p][m]}},8173:(l,d,r)=>{var c=r(9662),f=r(8554);l.exports=function(u,p){var m=u[p];return f(m)?void 0:c(m)}},7854:(l,d,r)=>{var c=function(f){return f&&f.Math==Math&&f};l.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof r.g=="object"&&r.g)||function(){return this}()||Function("return this")()},2597:(l,d,r)=>{var c=r(1702),f=r(7908),u=c({}.hasOwnProperty);l.exports=Object.hasOwn||function(p,m){return u(f(p),m)}},3501:l=>{l.exports={}},490:(l,d,r)=>{var c=r(5005);l.exports=c("document","documentElement")},4664:(l,d,r)=>{var c=r(9781),f=r(7293),u=r(317);l.exports=!c&&!f(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},8361:(l,d,r)=>{var c=r(1702),f=r(7293),u=r(4326),p=Object,m=c("".split);l.exports=f(function(){return!p("z").propertyIsEnumerable(0)})?function(g){return u(g)=="String"?m(g,""):p(g)}:p},9587:(l,d,r)=>{var c=r(614),f=r(111),u=r(7674);l.exports=function(p,m,g){var C,x;return u&&c(C=m.constructor)&&C!==g&&f(x=C.prototype)&&x!==g.prototype&&u(p,x),p}},2788:(l,d,r)=>{var c=r(1702),f=r(614),u=r(5465),p=c(Function.toString);f(u.inspectSource)||(u.inspectSource=function(m){return p(m)}),l.exports=u.inspectSource},9909:(l,d,r)=>{var c,f,u,p=r(4811),m=r(7854),g=r(1702),C=r(111),x=r(8880),y=r(2597),v=r(5465),h=r(6200),b=r(3501),A="Object already initialized",I=m.TypeError,O=m.WeakMap,S=function(T){return u(T)?f(T):c(T,{})},k=function(T){return function(J){var q;if(!C(J)||(q=f(J)).type!==T)throw I("Incompatible receiver, "+T+" required");return q}};if(p||v.state){var M=v.state||(v.state=new O),P=g(M.get),F=g(M.has),V=g(M.set);c=function(T,J){if(F(M,T))throw I(A);return J.facade=T,V(M,T,J),J},f=function(T){return P(M,T)||{}},u=function(T){return F(M,T)}}else{var z=h("state");b[z]=!0,c=function(T,J){if(y(T,z))throw I(A);return J.facade=T,x(T,z,J),J},f=function(T){return y(T,z)?T[z]:{}},u=function(T){return y(T,z)}}l.exports={set:c,get:f,has:u,enforce:S,getterFor:k}},3157:(l,d,r)=>{var c=r(4326);l.exports=Array.isArray||function(f){return c(f)=="Array"}},614:l=>{l.exports=function(d){return typeof d=="function"}},4411:(l,d,r)=>{var c=r(1702),f=r(7293),u=r(614),p=r(648),m=r(5005),g=r(2788),C=function(){},x=[],y=m("Reflect","construct"),v=/^\s*(?:class|function)\b/,h=c(v.exec),b=!v.exec(C),A=function(O){if(!u(O))return!1;try{return y(C,x,O),!0}catch{return!1}},I=function(O){if(!u(O))return!1;switch(p(O)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return b||!!h(v,g(O))}catch{return!0}};I.sham=!0,l.exports=!y||f(function(){var O;return A(A.call)||!A(Object)||!A(function(){O=!0})||O})?I:A},4705:(l,d,r)=>{var c=r(7293),f=r(614),u=/#|\.prototype\./,p=function(y,v){var h=g[m(y)];return h==x||h!=C&&(f(v)?c(v):!!v)},m=p.normalize=function(y){return String(y).replace(u,".").toLowerCase()},g=p.data={},C=p.NATIVE="N",x=p.POLYFILL="P";l.exports=p},8554:l=>{l.exports=function(d){return d==null}},111:(l,d,r)=>{var c=r(614),f=typeof document=="object"&&document.all,u=typeof f>"u"&&f!==void 0;l.exports=u?function(p){return typeof p=="object"?p!==null:c(p)||p===f}:function(p){return typeof p=="object"?p!==null:c(p)}},1913:l=>{l.exports=!1},7850:(l,d,r)=>{var c=r(111),f=r(4326),u=r(5112),p=u("match");l.exports=function(m){var g;return c(m)&&((g=m[p])!==void 0?!!g:f(m)=="RegExp")}},2190:(l,d,r)=>{var c=r(5005),f=r(614),u=r(7976),p=r(3307),m=Object;l.exports=p?function(g){return typeof g=="symbol"}:function(g){var C=c("Symbol");return f(C)&&u(C.prototype,m(g))}},6244:(l,d,r)=>{var c=r(7466);l.exports=function(f){return c(f.length)}},6339:(l,d,r)=>{var c=r(7293),f=r(614),u=r(2597),p=r(9781),m=r(6530).CONFIGURABLE,g=r(2788),C=r(9909),x=C.enforce,y=C.get,v=Object.defineProperty,h=p&&!c(function(){return v(function(){},"length",{value:8}).length!==8}),b=String(String).split("String"),A=l.exports=function(I,O,S){String(O).slice(0,7)==="Symbol("&&(O="["+String(O).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),S&&S.getter&&(O="get "+O),S&&S.setter&&(O="set "+O),(!u(I,"name")||m&&I.name!==O)&&(p?v(I,"name",{value:O,configurable:!0}):I.name=O),h&&S&&u(S,"arity")&&I.length!==S.arity&&v(I,"length",{value:S.arity});try{S&&u(S,"constructor")&&S.constructor?p&&v(I,"prototype",{writable:!1}):I.prototype&&(I.prototype=void 0)}catch{}var k=x(I);return u(k,"source")||(k.source=b.join(typeof O=="string"?O:"")),I};Function.prototype.toString=A(function(){return f(this)&&y(this).source||g(this)},"toString")},4758:l=>{var d=Math.ceil,r=Math.floor;l.exports=Math.trunc||function(c){var f=+c;return(f>0?r:d)(f)}},6277:(l,d,r)=>{var c=r(1340);l.exports=function(f,u){return f===void 0?arguments.length<2?"":u:c(f)}},3929:(l,d,r)=>{var c=r(7850),f=TypeError;l.exports=function(u){if(c(u))throw f("The method doesn't accept regular expressions");return u}},30:(l,d,r)=>{var c,f=r(9670),u=r(6048),p=r(748),m=r(3501),g=r(490),C=r(317),x=r(6200),y=">",v="<",h="prototype",b="script",A=x("IE_PROTO"),I=function(){},O=function(P){return v+b+y+P+v+"/"+b+y},S=function(P){P.write(O("")),P.close();var F=P.parentWindow.Object;return P=null,F},k=function(){var P,F=C("iframe"),V="java"+b+":";return F.style.display="none",g.appendChild(F),F.src=String(V),P=F.contentWindow.document,P.open(),P.write(O("document.F=Object")),P.close(),P.F},M=function(){try{c=new ActiveXObject("htmlfile")}catch{}M=typeof document<"u"?document.domain&&c?S(c):k():S(c);for(var P=p.length;P--;)delete M[h][p[P]];return M()};m[A]=!0,l.exports=Object.create||function(P,F){var V;return P!==null?(I[h]=f(P),V=new I,I[h]=null,V[A]=P):V=M(),F===void 0?V:u.f(V,F)}},6048:(l,d,r)=>{var c=r(9781),f=r(3353),u=r(3070),p=r(9670),m=r(5656),g=r(1956);d.f=c&&!f?Object.defineProperties:function(C,x){p(C);for(var y,v=m(x),h=g(x),b=h.length,A=0;b>A;)u.f(C,y=h[A++],v[y]);return C}},3070:(l,d,r)=>{var c=r(9781),f=r(4664),u=r(3353),p=r(9670),m=r(4948),g=TypeError,C=Object.defineProperty,x=Object.getOwnPropertyDescriptor,y="enumerable",v="configurable",h="writable";d.f=c?u?function(b,A,I){if(p(b),A=m(A),p(I),typeof b=="function"&&A==="prototype"&&"value"in I&&h in I&&!I[h]){var O=x(b,A);O&&O[h]&&(b[A]=I.value,I={configurable:v in I?I[v]:O[v],enumerable:y in I?I[y]:O[y],writable:!1})}return C(b,A,I)}:C:function(b,A,I){if(p(b),A=m(A),p(I),f)try{return C(b,A,I)}catch{}if("get"in I||"set"in I)throw g("Accessors not supported");return"value"in I&&(b[A]=I.value),b}},1236:(l,d,r)=>{var c=r(9781),f=r(6916),u=r(5296),p=r(9114),m=r(5656),g=r(4948),C=r(2597),x=r(4664),y=Object.getOwnPropertyDescriptor;d.f=c?y:function(v,h){if(v=m(v),h=g(h),x)try{return y(v,h)}catch{}if(C(v,h))return p(!f(u.f,v,h),v[h])}},8006:(l,d,r)=>{var c=r(6324),f=r(748),u=f.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(p){return c(p,u)}},5181:(l,d)=>{d.f=Object.getOwnPropertySymbols},7976:(l,d,r)=>{var c=r(1702);l.exports=c({}.isPrototypeOf)},6324:(l,d,r)=>{var c=r(1702),f=r(2597),u=r(5656),p=r(1318).indexOf,m=r(3501),g=c([].push);l.exports=function(C,x){var y,v=u(C),h=0,b=[];for(y in v)!f(m,y)&&f(v,y)&&g(b,y);for(;x.length>h;)f(v,y=x[h++])&&(~p(b,y)||g(b,y));return b}},1956:(l,d,r)=>{var c=r(6324),f=r(748);l.exports=Object.keys||function(u){return c(u,f)}},5296:(l,d)=>{var r={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f=c&&!r.call({1:2},1);d.f=f?function(u){var p=c(this,u);return!!p&&p.enumerable}:r},7674:(l,d,r)=>{var c=r(1702),f=r(9670),u=r(6077);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p,m=!1,g={};try{p=c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),p(g,[]),m=g instanceof Array}catch{}return function(C,x){return f(C),u(x),m?p(C,x):C.__proto__=x,C}}():void 0)},288:(l,d,r)=>{var c=r(1694),f=r(648);l.exports=c?{}.toString:function(){return"[object "+f(this)+"]"}},2140:(l,d,r)=>{var c=r(6916),f=r(614),u=r(111),p=TypeError;l.exports=function(m,g){var C,x;if(g==="string"&&f(C=m.toString)&&!u(x=c(C,m))||f(C=m.valueOf)&&!u(x=c(C,m))||g!=="string"&&f(C=m.toString)&&!u(x=c(C,m)))return x;throw p("Can't convert object to primitive value")}},3887:(l,d,r)=>{var c=r(5005),f=r(1702),u=r(8006),p=r(5181),m=r(9670),g=f([].concat);l.exports=c("Reflect","ownKeys")||function(C){var x=u.f(m(C)),y=p.f;return y?g(x,y(C)):x}},7066:(l,d,r)=>{var c=r(9670);l.exports=function(){var f=c(this),u="";return f.hasIndices&&(u+="d"),f.global&&(u+="g"),f.ignoreCase&&(u+="i"),f.multiline&&(u+="m"),f.dotAll&&(u+="s"),f.unicode&&(u+="u"),f.unicodeSets&&(u+="v"),f.sticky&&(u+="y"),u}},4706:(l,d,r)=>{var c=r(6916),f=r(2597),u=r(7976),p=r(7066),m=RegExp.prototype;l.exports=function(g){var C=g.flags;return C!==void 0||"flags"in m||f(g,"flags")||!u(m,g)?C:c(p,g)}},4488:(l,d,r)=>{var c=r(8554),f=TypeError;l.exports=function(u){if(c(u))throw f("Can't call method on "+u);return u}},7152:(l,d,r)=>{var c=r(7854),f=r(2104),u=r(614),p=r(8113),m=r(206),g=r(8053),C=/MSIE .\./.test(p),x=c.Function,y=function(v){return C?function(h,b){var A=g(arguments.length,1)>2,I=u(h)?h:x(h),O=A?m(arguments,2):void 0;return v(A?function(){f(I,this,O)}:I,b)}:v};l.exports={setTimeout:y(c.setTimeout),setInterval:y(c.setInterval)}},6200:(l,d,r)=>{var c=r(2309),f=r(9711),u=c("keys");l.exports=function(p){return u[p]||(u[p]=f(p))}},5465:(l,d,r)=>{var c=r(7854),f=r(3072),u="__core-js_shared__",p=c[u]||f(u,{});l.exports=p},2309:(l,d,r)=>{var c=r(1913),f=r(5465);(l.exports=function(u,p){return f[u]||(f[u]=p!==void 0?p:{})})("versions",[]).push({version:"3.25.0",mode:c?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3111:(l,d,r)=>{var c=r(1702),f=r(4488),u=r(1340),p=r(1361),m=c("".replace),g="["+p+"]",C=RegExp("^"+g+g+"*"),x=RegExp(g+g+"*$"),y=function(v){return function(h){var b=u(f(h));return 1&v&&(b=m(b,C,"")),2&v&&(b=m(b,x,"")),b}};l.exports={start:y(1),end:y(2),trim:y(3)}},6293:(l,d,r)=>{var c=r(7392),f=r(7293);l.exports=!!Object.getOwnPropertySymbols&&!f(function(){var u=Symbol();return!String(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&c&&c<41})},863:(l,d,r)=>{var c=r(1702);l.exports=c(1 .valueOf)},1400:(l,d,r)=>{var c=r(9303),f=Math.max,u=Math.min;l.exports=function(p,m){var g=c(p);return g<0?f(g+m,0):u(g,m)}},5656:(l,d,r)=>{var c=r(8361),f=r(4488);l.exports=function(u){return c(f(u))}},9303:(l,d,r)=>{var c=r(4758);l.exports=function(f){var u=+f;return u!==u||u===0?0:c(u)}},7466:(l,d,r)=>{var c=r(9303),f=Math.min;l.exports=function(u){return u>0?f(c(u),9007199254740991):0}},7908:(l,d,r)=>{var c=r(4488),f=Object;l.exports=function(u){return f(c(u))}},7593:(l,d,r)=>{var c=r(6916),f=r(111),u=r(2190),p=r(8173),m=r(2140),g=r(5112),C=TypeError,x=g("toPrimitive");l.exports=function(y,v){if(!f(y)||u(y))return y;var h,b=p(y,x);if(b){if(v===void 0&&(v="default"),h=c(b,y,v),!f(h)||u(h))return h;throw C("Can't convert object to primitive value")}return v===void 0&&(v="number"),m(y,v)}},4948:(l,d,r)=>{var c=r(7593),f=r(2190);l.exports=function(u){var p=c(u,"string");return f(p)?p:p+""}},1694:(l,d,r)=>{var c=r(5112),f=c("toStringTag"),u={};u[f]="z",l.exports=String(u)==="[object z]"},1340:(l,d,r)=>{var c=r(648),f=String;l.exports=function(u){if(c(u)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return f(u)}},6330:l=>{var d=String;l.exports=function(r){try{return d(r)}catch{return"Object"}}},9711:(l,d,r)=>{var c=r(1702),f=0,u=Math.random(),p=c(1 .toString);l.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+p(++f+u,36)}},3307:(l,d,r)=>{var c=r(6293);l.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3353:(l,d,r)=>{var c=r(9781),f=r(7293);l.exports=c&&f(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},8053:l=>{var d=TypeError;l.exports=function(r,c){if(r<c)throw d("Not enough arguments");return r}},4811:(l,d,r)=>{var c=r(7854),f=r(614),u=c.WeakMap;l.exports=f(u)&&/native code/.test(String(u))},5112:(l,d,r)=>{var c=r(7854),f=r(2309),u=r(2597),p=r(9711),m=r(6293),g=r(3307),C=f("wks"),x=c.Symbol,y=x&&x.for,v=g?x:x&&x.withoutSetter||p;l.exports=function(h){if(!u(C,h)||!m&&typeof C[h]!="string"){var b="Symbol."+h;m&&u(x,h)?C[h]=x[h]:C[h]=g&&y?y(b):v(b)}return C[h]}},1361:l=>{l.exports=`
9
+ */const Qn=typeof window<"u";function nh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Se=Object.assign;function Ss(e,t){const n={};for(const o in t){const s=t[o];n[o]=Ht(s)?s.map(e):e(s)}return n}const Ar=()=>{},Ht=Array.isArray,rh=/\/$/,oh=e=>e.replace(rh,"");function Os(e,t,n="/"){let o,s={},i="",a="";const l=t.indexOf("#");let d=t.indexOf("?");return l<d&&l>=0&&(d=-1),d>-1&&(o=t.slice(0,d),i=t.slice(d+1,l>-1?l:t.length),s=e(i)),l>-1&&(o=o||t.slice(0,l),a=t.slice(l,t.length)),o=ch(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:s,hash:a}}function sh(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Tl(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ih(e,t,n){const o=t.matched.length-1,s=n.matched.length-1;return o>-1&&o===s&&fr(t.matched[o],n.matched[s])&&Uu(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Uu(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!lh(e[n],t[n]))return!1;return!0}function lh(e,t){return Ht(e)?Ll(e,t):Ht(t)?Ll(t,e):e===t}function Ll(e,t){return Ht(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function ch(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),s=o[o.length-1];(s===".."||s===".")&&o.push("");let i=n.length-1,a,l;for(a=0;a<o.length;a++)if(l=o[a],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Kr;(function(e){e.pop="pop",e.push="push"})(Kr||(Kr={}));var Tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tr||(Tr={}));function uh(e){if(!e)if(Qn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),oh(e)}const ah=/^[^#]+#/;function fh(e,t){return e.replace(ah,"#")+t}function dh(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const os=()=>({left:window.pageXOffset,top:window.pageYOffset});function ph(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=dh(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Fl(e,t){return(history.state?history.state.position-t:-1)+e}const Zs=new Map;function hh(e,t){Zs.set(e,t)}function mh(e){const t=Zs.get(e);return Zs.delete(e),t}let gh=()=>location.protocol+"//"+location.host;function Wu(e,t){const{pathname:n,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){let l=s.includes(e.slice(i))?e.slice(i).length:1,d=s.slice(l);return d[0]!=="/"&&(d="/"+d),Tl(d,"")}return Tl(n,e)+o+s}function vh(e,t,n,o){let s=[],i=[],a=null;const l=({state:u})=>{const p=Wu(e,location),m=n.value,g=t.value;let C=0;if(u){if(n.value=p,t.value=u,a&&a===m){a=null;return}C=g?u.position-g.position:0}else o(p);s.forEach(x=>{x(n.value,m,{delta:C,type:Kr.pop,direction:C?C>0?Tr.forward:Tr.back:Tr.unknown})})};function d(){a=n.value}function r(u){s.push(u);const p=()=>{const m=s.indexOf(u);m>-1&&s.splice(m,1)};return i.push(p),p}function c(){const{history:u}=window;u.state&&u.replaceState(Se({},u.state,{scroll:os()}),"")}function f(){for(const u of i)u();i=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:d,listen:r,destroy:f}}function Bl(e,t,n,o=!1,s=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:s?os():null}}function yh(e){const{history:t,location:n}=window,o={value:Wu(e,n)},s={value:t.state};s.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(d,r,c){const f=e.indexOf("#"),u=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+d:gh()+e+d;try{t[c?"replaceState":"pushState"](r,"",u),s.value=r}catch(p){console.error(p),n[c?"replace":"assign"](u)}}function a(d,r){const c=Se({},t.state,Bl(s.value.back,d,s.value.forward,!0),r,{position:s.value.position});i(d,c,!0),o.value=d}function l(d,r){const c=Se({},s.value,t.state,{forward:d,scroll:os()});i(c.current,c,!0);const f=Se({},Bl(o.value,d,null),{position:c.position+1},r);i(d,f,!1),o.value=d}return{location:o,state:s,push:l,replace:a}}function _h(e){e=uh(e);const t=yh(e),n=vh(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const s=Se({location:"",base:e,go:o,createHref:fh.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function bh(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),_h(e)}function wh(e){return typeof e=="string"||e&&typeof e=="object"}function Ku(e){return typeof e=="string"||typeof e=="symbol"}const pn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},zu=Symbol("");var Nl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Nl||(Nl={}));function dr(e,t){return Se(new Error,{type:e,[zu]:!0},t)}function Xt(e,t){return e instanceof Error&&zu in e&&(t==null||!!(e.type&t))}const jl="[^/]+?",xh={sensitive:!1,strict:!1,start:!0,end:!0},Ch=/[.+*?^${}()[\]/\\]/g;function Eh(e,t){const n=Se({},xh,t),o=[];let s=n.start?"^":"";const i=[];for(const r of e){const c=r.length?[]:[90];n.strict&&!r.length&&(s+="/");for(let f=0;f<r.length;f++){const u=r[f];let p=40+(n.sensitive?.25:0);if(u.type===0)f||(s+="/"),s+=u.value.replace(Ch,"\\$&"),p+=40;else if(u.type===1){const{value:m,repeatable:g,optional:C,regexp:x}=u;i.push({name:m,repeatable:g,optional:C});const y=x||jl;if(y!==jl){p+=10;try{new RegExp(`(${y})`)}catch(h){throw new Error(`Invalid custom RegExp for param "${m}" (${y}): `+h.message)}}let v=g?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;f||(v=C&&r.length<2?`(?:/${v})`:"/"+v),C&&(v+="?"),s+=v,p+=20,C&&(p+=-8),g&&(p+=-20),y===".*"&&(p+=-50)}c.push(p)}o.push(c)}if(n.strict&&n.end){const r=o.length-1;o[r][o[r].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function l(r){const c=r.match(a),f={};if(!c)return null;for(let u=1;u<c.length;u++){const p=c[u]||"",m=i[u-1];f[m.name]=p&&m.repeatable?p.split("/"):p}return f}function d(r){let c="",f=!1;for(const u of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const p of u)if(p.type===0)c+=p.value;else if(p.type===1){const{value:m,repeatable:g,optional:C}=p,x=m in r?r[m]:"";if(Ht(x)&&!g)throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);const y=Ht(x)?x.join("/"):x;if(!y)if(C)u.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${m}"`);c+=y}}return c||"/"}return{re:a,score:o,keys:i,parse:l,stringify:d}}function kh(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Sh(e,t){let n=0;const o=e.score,s=t.score;for(;n<o.length&&n<s.length;){const i=kh(o[n],s[n]);if(i)return i;n++}if(Math.abs(s.length-o.length)===1){if($l(o))return 1;if($l(s))return-1}return s.length-o.length}function $l(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Oh={type:0,value:""},Ph=/[a-zA-Z0-9_]/;function Rh(e){if(!e)return[[]];if(e==="/")return[[Oh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${r}": ${p}`)}let n=0,o=n;const s=[];let i;function a(){i&&s.push(i),i=[]}let l=0,d,r="",c="";function f(){r&&(n===0?i.push({type:0,value:r}):n===1||n===2||n===3?(i.length>1&&(d==="*"||d==="+")&&t(`A repeatable param (${r}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:r,regexp:c,repeatable:d==="*"||d==="+",optional:d==="*"||d==="?"})):t("Invalid state to consume buffer"),r="")}function u(){r+=d}for(;l<e.length;){if(d=e[l++],d==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:d==="/"?(r&&f(),a()):d===":"?(f(),n=1):u();break;case 4:u(),n=o;break;case 1:d==="("?n=2:Ph.test(d)?u():(f(),n=0,d!=="*"&&d!=="?"&&d!=="+"&&l--);break;case 2:d===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+d:n=3:c+=d;break;case 3:f(),n=0,d!=="*"&&d!=="?"&&d!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${r}"`),f(),a(),s}function Ih(e,t,n){const o=Eh(Rh(e.path),n),s=Se(o,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Mh(e,t){const n=[],o=new Map;t=Vl({strict:!1,end:!0,sensitive:!1},t);function s(c){return o.get(c)}function i(c,f,u){const p=!u,m=Ah(c);m.aliasOf=u&&u.record;const g=Vl(t,c),C=[m];if("alias"in c){const v=typeof c.alias=="string"?[c.alias]:c.alias;for(const h of v)C.push(Se({},m,{components:u?u.record.components:m.components,path:h,aliasOf:u?u.record:m}))}let x,y;for(const v of C){const{path:h}=v;if(f&&h[0]!=="/"){const b=f.record.path,A=b[b.length-1]==="/"?"":"/";v.path=f.record.path+(h&&A+h)}if(x=Ih(v,f,g),u?u.alias.push(x):(y=y||x,y!==x&&y.alias.push(x),p&&c.name&&!Hl(x)&&a(c.name)),m.children){const b=m.children;for(let A=0;A<b.length;A++)i(b[A],x,u&&u.children[A])}u=u||x,(x.record.components&&Object.keys(x.record.components).length||x.record.name||x.record.redirect)&&d(x)}return y?()=>{a(y)}:Ar}function a(c){if(Ku(c)){const f=o.get(c);f&&(o.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&o.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function l(){return n}function d(c){let f=0;for(;f<n.length&&Sh(c,n[f])>=0&&(c.record.path!==n[f].record.path||!qu(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!Hl(c)&&o.set(c.record.name,c)}function r(c,f){let u,p={},m,g;if("name"in c&&c.name){if(u=o.get(c.name),!u)throw dr(1,{location:c});g=u.record.name,p=Se(Dl(f.params,u.keys.filter(y=>!y.optional).map(y=>y.name)),c.params&&Dl(c.params,u.keys.map(y=>y.name))),m=u.stringify(p)}else if("path"in c)m=c.path,u=n.find(y=>y.re.test(m)),u&&(p=u.parse(m),g=u.record.name);else{if(u=f.name?o.get(f.name):n.find(y=>y.re.test(f.path)),!u)throw dr(1,{location:c,currentLocation:f});g=u.record.name,p=Se({},f.params,c.params),m=u.stringify(p)}const C=[];let x=u;for(;x;)C.unshift(x.record),x=x.parent;return{name:g,path:m,params:p,matched:C,meta:Lh(C)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:r,removeRoute:a,getRoutes:l,getRecordMatcher:s}}function Dl(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function Ah(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Th(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Th(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function Hl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Lh(e){return e.reduce((t,n)=>Se(t,n.meta),{})}function Vl(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function qu(e,t){return t.children.some(n=>n===e||qu(e,n))}const Ju=/#/g,Fh=/&/g,Bh=/\//g,Nh=/=/g,jh=/\?/g,Yu=/\+/g,$h=/%5B/g,Dh=/%5D/g,Zu=/%5E/g,Hh=/%60/g,Xu=/%7B/g,Vh=/%7C/g,Qu=/%7D/g,Uh=/%20/g;function Li(e){return encodeURI(""+e).replace(Vh,"|").replace($h,"[").replace(Dh,"]")}function Wh(e){return Li(e).replace(Xu,"{").replace(Qu,"}").replace(Zu,"^")}function Xs(e){return Li(e).replace(Yu,"%2B").replace(Uh,"+").replace(Ju,"%23").replace(Fh,"%26").replace(Hh,"`").replace(Xu,"{").replace(Qu,"}").replace(Zu,"^")}function Kh(e){return Xs(e).replace(Nh,"%3D")}function zh(e){return Li(e).replace(Ju,"%23").replace(jh,"%3F")}function qh(e){return e==null?"":zh(e).replace(Bh,"%2F")}function Lo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jh(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<o.length;++s){const i=o[s].replace(Yu," "),a=i.indexOf("="),l=Lo(a<0?i:i.slice(0,a)),d=a<0?null:Lo(i.slice(a+1));if(l in t){let r=t[l];Ht(r)||(r=t[l]=[r]),r.push(d)}else t[l]=d}return t}function Ul(e){let t="";for(let n in e){const o=e[n];if(n=Kh(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ht(o)?o.map(i=>i&&Xs(i)):[o&&Xs(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Yh(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Ht(o)?o.map(s=>s==null?null:""+s):o==null?o:""+o)}return t}const Zh=Symbol(""),Wl=Symbol(""),ss=Symbol(""),Gu=Symbol(""),Qs=Symbol("");function br(){let e=[];function t(o){return e.push(o),()=>{const s=e.indexOf(o);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function yn(e,t,n,o,s){const i=o&&(o.enterCallbacks[s]=o.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const d=f=>{f===!1?l(dr(4,{from:n,to:t})):f instanceof Error?l(f):wh(f)?l(dr(2,{from:t,to:f})):(i&&o.enterCallbacks[s]===i&&typeof f=="function"&&i.push(f),a())},r=e.call(o&&o.instances[s],t,n,d);let c=Promise.resolve(r);e.length<3&&(c=c.then(d)),c.catch(f=>l(f))})}function Ps(e,t,n,o){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Xh(l)){const r=(l.__vccOpts||l)[t];r&&s.push(yn(r,n,o,i,a))}else{let d=l();s.push(()=>d.then(r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const c=nh(r)?r.default:r;i.components[a]=c;const u=(c.__vccOpts||c)[t];return u&&yn(u,n,o,i,a)()}))}}return s}function Xh(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Kl(e){const t=Tt(ss),n=Tt(Gu),o=Fe(()=>t.resolve(_e(e.to))),s=Fe(()=>{const{matched:d}=o.value,{length:r}=d,c=d[r-1],f=n.matched;if(!c||!f.length)return-1;const u=f.findIndex(fr.bind(null,c));if(u>-1)return u;const p=zl(d[r-2]);return r>1&&zl(c)===p&&f[f.length-1].path!==p?f.findIndex(fr.bind(null,d[r-2])):u}),i=Fe(()=>s.value>-1&&tm(n.params,o.value.params)),a=Fe(()=>s.value>-1&&s.value===n.matched.length-1&&Uu(n.params,o.value.params));function l(d={}){return em(d)?t[_e(e.replace)?"replace":"push"](_e(e.to)).catch(Ar):Promise.resolve()}return{route:o,href:Fe(()=>o.value.href),isActive:i,isExactActive:a,navigate:l}}const Qh=Ge({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Kl,setup(e,{slots:t}){const n=Rn(Kl(e)),{options:o}=Tt(ss),s=Fe(()=>({[ql(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[ql(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:es("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),Gh=Qh;function em(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function tm(e,t){for(const n in t){const o=t[n],s=e[n];if(typeof o=="string"){if(o!==s)return!1}else if(!Ht(s)||s.length!==o.length||o.some((i,a)=>i!==s[a]))return!1}return!0}function zl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ql=(e,t,n)=>e??t??n,nm=Ge({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Tt(Qs),s=Fe(()=>e.route||o.value),i=Tt(Wl,0),a=Fe(()=>{let r=_e(i);const{matched:c}=s.value;let f;for(;(f=c[r])&&!f.components;)r++;return r}),l=Fe(()=>s.value.matched[a.value]);Or(Wl,Fe(()=>a.value+1)),Or(Zh,l),Or(Qs,s);const d=Ve();return on(()=>[d.value,l.value,e.name],([r,c,f],[u,p,m])=>{c&&(c.instances[f]=r,p&&p!==c&&r&&r===u&&(c.leaveGuards.size||(c.leaveGuards=p.leaveGuards),c.updateGuards.size||(c.updateGuards=p.updateGuards))),r&&c&&(!p||!fr(c,p)||!u)&&(c.enterCallbacks[f]||[]).forEach(g=>g(r))},{flush:"post"}),()=>{const r=s.value,c=e.name,f=l.value,u=f&&f.components[c];if(!u)return Jl(n.default,{Component:u,route:r});const p=f.props[c],m=p?p===!0?r.params:typeof p=="function"?p(r):p:null,C=es(u,Se({},m,t,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(f.instances[c]=null)},ref:d}));return Jl(n.default,{Component:C,route:r})||C}}});function Jl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ea=nm;function rm(e){const t=Mh(e.routes,e),n=e.parseQuery||Jh,o=e.stringifyQuery||Ul,s=e.history,i=br(),a=br(),l=br(),d=Nr(pn);let r=pn;Qn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Ss.bind(null,B=>""+B),f=Ss.bind(null,qh),u=Ss.bind(null,Lo);function p(B,Z){let U,G;return Ku(B)?(U=t.getRecordMatcher(B),G=Z):G=B,t.addRoute(G,U)}function m(B){const Z=t.getRecordMatcher(B);Z&&t.removeRoute(Z)}function g(){return t.getRoutes().map(B=>B.record)}function C(B){return!!t.getRecordMatcher(B)}function x(B,Z){if(Z=Se({},Z||d.value),typeof B=="string"){const R=Os(n,B,Z.path),L=t.resolve({path:R.path},Z),j=s.createHref(R.fullPath);return Se(R,L,{params:u(L.params),hash:Lo(R.hash),redirectedFrom:void 0,href:j})}let U;if("path"in B)U=Se({},B,{path:Os(n,B.path,Z.path).path});else{const R=Se({},B.params);for(const L in R)R[L]==null&&delete R[L];U=Se({},B,{params:f(R)}),Z.params=f(Z.params)}const G=t.resolve(U,Z),ue=B.hash||"";G.params=c(u(G.params));const _=sh(o,Se({},B,{hash:Wh(ue),path:G.path})),w=s.createHref(_);return Se({fullPath:_,hash:ue,query:o===Ul?Yh(B.query):B.query||{}},G,{redirectedFrom:void 0,href:w})}function y(B){return typeof B=="string"?Os(n,B,d.value.path):Se({},B)}function v(B,Z){if(r!==B)return dr(8,{from:Z,to:B})}function h(B){return I(B)}function b(B){return h(Se(y(B),{replace:!0}))}function A(B){const Z=B.matched[B.matched.length-1];if(Z&&Z.redirect){const{redirect:U}=Z;let G=typeof U=="function"?U(B):U;return typeof G=="string"&&(G=G.includes("?")||G.includes("#")?G=y(G):{path:G},G.params={}),Se({query:B.query,hash:B.hash,params:"path"in G?{}:B.params},G)}}function I(B,Z){const U=r=x(B),G=d.value,ue=B.state,_=B.force,w=B.replace===!0,R=A(U);if(R)return I(Se(y(R),{state:typeof R=="object"?Se({},ue,R.state):ue,force:_,replace:w}),Z||U);const L=U;L.redirectedFrom=Z;let j;return!_&&ih(o,G,U)&&(j=dr(16,{to:L,from:G}),Je(G,G,!0,!1)),(j?Promise.resolve(j):k(L,G)).catch($=>Xt($)?Xt($,2)?$:Ue($):q($,L,G)).then($=>{if($){if(Xt($,2))return I(Se({replace:w},y($.to),{state:typeof $.to=="object"?Se({},ue,$.to.state):ue,force:_}),Z||L)}else $=P(L,G,!0,w,ue);return M(L,G,$),$})}function O(B,Z){const U=v(B,Z);return U?Promise.reject(U):Promise.resolve()}function S(B){const Z=$e.values().next().value;return Z&&typeof Z.runWithContext=="function"?Z.runWithContext(B):B()}function k(B,Z){let U;const[G,ue,_]=om(B,Z);U=Ps(G.reverse(),"beforeRouteLeave",B,Z);for(const R of G)R.leaveGuards.forEach(L=>{U.push(yn(L,B,Z))});const w=O.bind(null,B,Z);return U.push(w),De(U).then(()=>{U=[];for(const R of i.list())U.push(yn(R,B,Z));return U.push(w),De(U)}).then(()=>{U=Ps(ue,"beforeRouteUpdate",B,Z);for(const R of ue)R.updateGuards.forEach(L=>{U.push(yn(L,B,Z))});return U.push(w),De(U)}).then(()=>{U=[];for(const R of _)if(R.beforeEnter)if(Ht(R.beforeEnter))for(const L of R.beforeEnter)U.push(yn(L,B,Z));else U.push(yn(R.beforeEnter,B,Z));return U.push(w),De(U)}).then(()=>(B.matched.forEach(R=>R.enterCallbacks={}),U=Ps(_,"beforeRouteEnter",B,Z),U.push(w),De(U))).then(()=>{U=[];for(const R of a.list())U.push(yn(R,B,Z));return U.push(w),De(U)}).catch(R=>Xt(R,8)?R:Promise.reject(R))}function M(B,Z,U){l.list().forEach(G=>S(()=>G(B,Z,U)))}function P(B,Z,U,G,ue){const _=v(B,Z);if(_)return _;const w=Z===pn,R=Qn?history.state:{};U&&(G||w?s.replace(B.fullPath,Se({scroll:w&&R&&R.scroll},ue)):s.push(B.fullPath,ue)),d.value=B,Je(B,Z,U,w),Ue()}let F;function V(){F||(F=s.listen((B,Z,U)=>{if(!Vt.listening)return;const G=x(B),ue=A(G);if(ue){I(Se(ue,{replace:!0}),G).catch(Ar);return}r=G;const _=d.value;Qn&&hh(Fl(_.fullPath,U.delta),os()),k(G,_).catch(w=>Xt(w,12)?w:Xt(w,2)?(I(w.to,G).then(R=>{Xt(R,20)&&!U.delta&&U.type===Kr.pop&&s.go(-1,!1)}).catch(Ar),Promise.reject()):(U.delta&&s.go(-U.delta,!1),q(w,G,_))).then(w=>{w=w||P(G,_,!1),w&&(U.delta&&!Xt(w,8)?s.go(-U.delta,!1):U.type===Kr.pop&&Xt(w,20)&&s.go(-1,!1)),M(G,_,w)}).catch(Ar)}))}let z=br(),T=br(),J;function q(B,Z,U){Ue(B);const G=T.list();return G.length?G.forEach(ue=>ue(B,Z,U)):console.error(B),Promise.reject(B)}function Me(){return J&&d.value!==pn?Promise.resolve():new Promise((B,Z)=>{z.add([B,Z])})}function Ue(B){return J||(J=!B,V(),z.list().forEach(([Z,U])=>B?U(B):Z()),z.reset()),B}function Je(B,Z,U,G){const{scrollBehavior:ue}=e;if(!Qn||!ue)return Promise.resolve();const _=!U&&mh(Fl(B.fullPath,0))||(G||!U)&&history.state&&history.state.scroll||null;return sn().then(()=>ue(B,Z,_)).then(w=>w&&ph(w)).catch(w=>q(w,B,Z))}const Ae=B=>s.go(B);let We;const $e=new Set,Vt={currentRoute:d,listening:!0,addRoute:p,removeRoute:m,hasRoute:C,getRoutes:g,resolve:x,options:e,push:h,replace:b,go:Ae,back:()=>Ae(-1),forward:()=>Ae(1),beforeEach:i.add,beforeResolve:a.add,afterEach:l.add,onError:T.add,isReady:Me,install(B){const Z=this;B.component("RouterLink",Gh),B.component("RouterView",ea),B.config.globalProperties.$router=Z,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>_e(d)}),Qn&&!We&&d.value===pn&&(We=!0,h(s.location).catch(ue=>{}));const U={};for(const ue in pn)Object.defineProperty(U,ue,{get:()=>d.value[ue],enumerable:!0});B.provide(ss,Z),B.provide(Gu,ai(U)),B.provide(Qs,d);const G=B.unmount;$e.add(B),B.unmount=function(){$e.delete(B),$e.size<1&&(r=pn,F&&F(),F=null,d.value=pn,We=!1,J=!1),G()}}};function De(B){return B.reduce((Z,U)=>Z.then(()=>S(U)),Promise.resolve())}return Vt}function om(e,t){const n=[],o=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const l=t.matched[a];l&&(e.matched.find(r=>fr(r,l))?o.push(l):n.push(l));const d=e.matched[a];d&&(t.matched.find(r=>fr(r,d))||s.push(d))}return[n,o,s]}function ta(){return Tt(ss)}const sm=["aria-current"],im=["href","aria-current","onClick"],na=Ge({__name:"BreadCrumb",props:{path:{},primary:{type:Boolean}},setup(e){const t=ta(),n=[],o=(c,f)=>{f&&(n[c]=f)};Ei(()=>{n.length=1});const s=e,i=Ve([]),a=c=>c==s.path.length?"location":void 0,l=()=>{sn(()=>{const c=s.path.length;c<n.length&&n[c].focus()})},d=c=>{if(!n[c])throw Error(`No link at index ${c} (path: ${s.path})`);const u=c?`/${i.value.slice(0,c).join("/")}/`:"/",p=i.value.length?`/${i.value.join("/")}/`:"/",m=decodeURIComponent(location.hash.slice(1).split("//")[0]),g=u.replaceAll("?","%3F").replaceAll("#","%23");a(c)?(i.value.splice(c),t.push(g)):p.startsWith(m)?t.replace(g):t.push(g)},r=c=>{const f=s.path.length+c;f<0||f>i.value.length||d(f)};return Dn(()=>{const c=i.value.slice(0,s.path.length);c.every((u,p)=>u===s.path[p])?s.path.length>c.length&&(i.value=c.concat(s.path.slice(c.length))):i.value=s.path,s.primary&&sn(()=>{const u=document.activeElement;(!u||[...n,document.body].includes(u))&&l()})}),(c,f)=>(he(),ke("nav",{class:"breadcrumb","aria-label":"Breadcrumb",onKeyup:[f[0]||(f[0]=wn(Rt(u=>r(-1),["stop"]),["left"])),f[1]||(f[1]=wn(Rt(u=>r(1),["stop"]),["right"])),f[2]||(f[2]=wn(u=>r(0),["enter"]))],onFocus:l,tabindex:"0"},[re("a",{href:"#/",ref:u=>o(0,u),class:Mt({current:!!a(0)}),"aria-current":a(0)},[(he(),zt(_i(_e(Vu))))],10,sm),(he(!0),ke(Le,null,ki(i.value,(u,p)=>(he(),ke("a",{key:p,href:`/#/${i.value.slice(0,p+1).join("/")}/`,class:Mt({current:!!a(p+1)}),"aria-current":a(p+1),onClick:Rt(m=>d(p+1),["prevent"]),ref_for:!0,ref:m=>o(p+1,m)},tt(u),11,im))),128))],32))}});const lm="modulepreload",cm=function(e){return"/"+e},Yl={},te=function(t,n,o){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=cm(i),i in Yl)return;Yl[i]=!0;const a=i.endsWith(".css"),l=a?'[rel="stylesheet"]':"";if(!!o)for(let c=s.length-1;c>=0;c--){const f=s[c];if(f.href===i&&(!a||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const r=document.createElement("link");if(r.rel=a?"stylesheet":lm,a||(r.as="script",r.crossOrigin=""),r.href=i,document.head.appendChild(r),a)return new Promise((c,f)=>{r.addEventListener("load",c),r.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},um=(e,t)=>{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,s)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(s.bind(null,new Error("Unknown variable dynamic import: "+t)))})},am={class:"action-button"},Fi=Ge({__name:"SvgButton",props:{name:{}},setup(e){const t=e,n=Lc(()=>um(Object.assign({"../assets/svg/add-file.svg":()=>te(()=>import("./add-file-78f95102.js"),[]),"../assets/svg/add-folder.svg":()=>te(()=>import("./add-folder-ef91bb0e.js"),[]),"../assets/svg/arrow.svg":()=>te(()=>import("./arrow-c279db10.js"),[]),"../assets/svg/arrows-h.svg":()=>te(()=>import("./arrows-h-0090937e.js"),[]),"../assets/svg/arrows-v.svg":()=>te(()=>import("./arrows-v-05d0dc3e.js"),[]),"../assets/svg/check.svg":()=>te(()=>import("./check-736f9156.js"),[]),"../assets/svg/code.svg":()=>te(()=>import("./code-f442e1ae.js"),[]),"../assets/svg/cog.svg":()=>te(()=>import("./cog-fcdd928d.js"),[]),"../assets/svg/copy.svg":()=>te(()=>import("./copy-f9304d76.js"),[]),"../assets/svg/create-file.svg":()=>te(()=>import("./create-file-5cfbca5b.js"),[]),"../assets/svg/create-folder.svg":()=>te(()=>import("./create-folder-f3416e7f.js"),[]),"../assets/svg/cross.svg":()=>te(()=>import("./cross-34310f33.js"),[]),"../assets/svg/disk.svg":()=>te(()=>import("./disk-9de14290.js"),[]),"../assets/svg/download.svg":()=>te(()=>import("./download-40f6e8d9.js"),[]),"../assets/svg/exclamation.svg":()=>te(()=>import("./exclamation-67d2f487.js"),[]),"../assets/svg/eye.svg":()=>te(()=>import("./eye-1a9cae12.js"),[]),"../assets/svg/find.svg":()=>te(()=>import("./find-f49bedc3.js"),[]),"../assets/svg/fullscreen.svg":()=>te(()=>import("./fullscreen-6e83f85d.js"),[]),"../assets/svg/github.svg":()=>te(()=>import("./github-33da7a52.js"),[]),"../assets/svg/home.svg":()=>te(()=>Promise.resolve().then(()=>th),void 0),"../assets/svg/info.svg":()=>te(()=>import("./info-9a003b6c.js"),[]),"../assets/svg/link.svg":()=>te(()=>import("./link-b5bf40a7.js"),[]),"../assets/svg/logo.svg":()=>te(()=>import("./logo-adde2ca4.js"),[]),"../assets/svg/loop.svg":()=>te(()=>import("./loop-762ab430.js"),[]),"../assets/svg/menu.svg":()=>te(()=>import("./menu-633b2a61.js"),[]),"../assets/svg/next.svg":()=>te(()=>import("./next-d9d1d510.js"),[]),"../assets/svg/open.svg":()=>te(()=>import("./open-91351e45.js"),[]),"../assets/svg/paste.svg":()=>te(()=>import("./paste-d3f337c1.js"),[]),"../assets/svg/pause.svg":()=>te(()=>import("./pause-8f82e536.js"),[]),"../assets/svg/pencil.svg":()=>te(()=>import("./pencil-0b434534.js"),[]),"../assets/svg/play.svg":()=>te(()=>import("./play-e0e51167.js"),[]),"../assets/svg/plus.svg":()=>te(()=>import("./plus-e2a2ec0f.js"),[]),"../assets/svg/previous.svg":()=>te(()=>import("./previous-cd61ebe6.js"),[]),"../assets/svg/reload.svg":()=>te(()=>import("./reload-a9c668b2.js"),[]),"../assets/svg/rename.svg":()=>te(()=>import("./rename-bd15329b.js"),[]),"../assets/svg/scissors.svg":()=>te(()=>import("./scissors-dcbf78c0.js"),[]),"../assets/svg/shuffle.svg":()=>te(()=>import("./shuffle-74e9ea1c.js"),[]),"../assets/svg/signin.svg":()=>te(()=>import("./signin-bbf26a1b.js"),[]),"../assets/svg/signout.svg":()=>te(()=>import("./signout-caa34d68.js"),[]),"../assets/svg/skip.svg":()=>te(()=>import("./skip-423d5cf0.js"),[]),"../assets/svg/spinner.svg":()=>te(()=>import("./spinner-b299e14e.js"),[]),"../assets/svg/stop.svg":()=>te(()=>import("./stop-91578a62.js"),[]),"../assets/svg/trash.svg":()=>te(()=>import("./trash-3b7b72a3.js"),[]),"../assets/svg/triangle.svg":()=>te(()=>import("./triangle-724a2314.js"),[]),"../assets/svg/unfullscreen.svg":()=>te(()=>import("./unfullscreen-29f4977c.js"),[]),"../assets/svg/up-arrow.svg":()=>te(()=>import("./up-arrow-ceb58d59.js"),[]),"../assets/svg/upload-cloud.svg":()=>te(()=>import("./upload-cloud-936fb8b2.js"),[]),"../assets/svg/user-cog.svg":()=>te(()=>import("./user-cog-887c6f3f.js"),[]),"../assets/svg/user.svg":()=>te(()=>import("./user-ab4ed9ac.js"),[]),"../assets/svg/volume-high.svg":()=>te(()=>import("./volume-high-74a17568.js"),[]),"../assets/svg/volume-low.svg":()=>te(()=>import("./volume-low-f7170d5f.js"),[]),"../assets/svg/volume-medium.svg":()=>te(()=>import("./volume-medium-7b16c1db.js"),[]),"../assets/svg/volume-mute.svg":()=>te(()=>import("./volume-mute-0c7078a1.js"),[]),"../assets/svg/window-cross.svg":()=>te(()=>import("./window-cross-e3a75b33.js"),[]),"../assets/svg/window.svg":()=>te(()=>import("./window-f7f79ada.js"),[]),"../assets/svg/wordwrap.svg":()=>te(()=>import("./wordwrap-3bcce83c.js"),[]),"../assets/svg/zoomin.svg":()=>te(()=>import("./zoomin-bd27188c.js"),[]),"../assets/svg/zoomout.svg":()=>te(()=>import("./zoomout-31844707.js"),[])}),`../assets/svg/${t.name}.svg`));return(o,s)=>(he(),ke("button",am,[(he(),zt(_i(_e(n)))),Xo(o.$slots,"default")]))}});function ra(e){if(e===0)return"empty";for(const t of[null,"kB","MB","GB","TB","PB","EB"]){if(e<1e4)return e.toLocaleString().replace(","," ")+(t?` ${t}`:"");e=Math.round(e/1e3)}return"huge"}function fm(e){const t=new Date(e*1e3),n=new Date,o=t.getTime()-n.getTime(),s=Math.abs(o),i=new Intl.RelativeTimeFormat("en",{numeric:"auto"});if(s<=5e3)return"now";if(s<=6e4)return i.format(Math.round(o/1e3),"second").replace(" ago","").replaceAll(" "," ");if(s<=36e5)return i.format(Math.round(o/6e4),"minute").replace("utes","").replace("ute","").replaceAll(" "," ");if(s<=864e5)return i.format(Math.round(o/36e5),"hour").replaceAll(" "," ");if(s<=6048e5)return i.format(Math.round(o/864e5),"day").replaceAll(" "," ");let a=t.toLocaleDateString("en-ie",{weekday:"short",year:"numeric",month:"short",day:"numeric"}).replace("Sept","Sep");return a.length===14&&(a=a.replace(" ","  ")),a=a.replaceAll(" "," ").replace(" "," "),a=a.slice(0,-4)+a.slice(-2),a}const zr=new Intl.Collator("en",{sensitivity:"base",numeric:!0,usage:"search"});function dm(e){return"^"+e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase()+"$"}function pm(e){const t=e.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").toLowerCase();return{based:t,words:t.split(/\s+/)}}function hm(e,t){const{based:n,words:o}=t;return e.includes(n)||o&&o.every(s=>e.includes(s))}class oa{constructor(t={}){Zt(this,"_name","");Zt(this,"loc","");Zt(this,"key","");Zt(this,"size",0);Zt(this,"mtime",0);Zt(this,"haystack","");Zt(this,"dir",!1);Object.assign(this,t)}get name(){return this._name}set name(t){if(t.includes("/")||t.startsWith("."))throw Error(`Invalid name: ${t}`);this._name=t,this.haystack=dm(t)}get sizedisp(){return ra(this.size)}get modified(){return fm(this.mtime)}get url(){const t=this.loc?`${this.loc}/${this.name}`:this.name;return this.dir?"/#/"+`${t}/`.replaceAll("#","%23"):`/files/${t}`.replaceAll("?","%3F").replaceAll("#","%23")}get urlrouter(){return this.url.replace(/^\/#/,"")}}class mm{async post(t,n){const o=await fetch(t,{method:"POST",headers:{accept:"application/json","content-type":"application/json"},body:n!==void 0?JSON.stringify(n):void 0});let s;try{s=await o.json()}catch{throw new Zl(o.status,`🛑 ${o.status} ${o.statusText}`)}if("error"in s)throw new Zl(s.error.code,s.error.message);return s}}const sa=new mm;class Zl extends Error{constructor(n,o){super(o);Zt(this,"code");this.code=n}}const gm="/login",vm="/logout ";async function ym(e,t){return await sa.post(gm,{username:e,password:t})}async function _m(){return await sa.post(vm)}const bm={name:(e,t)=>zr.compare(e.name,t.name),modified:(e,t)=>t.mtime-e.mtime,size:(e,t)=>t.size-e.size},Gs=(e,t)=>{if(!t)return e;const n=[...e];return n.sort(bm[t]),n},Et=Xp({id:"main",state:()=>({document:Nr([]),selected:new Set,query:"",fileExplorer:null,error:"",connected:!1,server:{},prefs:{sortListing:"",sortFiltered:""},user:{username:"",privileged:!1,isLoggedIn:!1,isOpenLoginModal:!1}}),persist:{paths:["prefs"]},actions:{updateRoot(e){const t=[];let n=[];for(const[o,s,i,a,l,d]of e)n=n.slice(0,o-1),t.push(new oa({name:s,loc:o?n.join("/"):"/",key:i,size:l,mtime:a,dir:!d})),n.push(s);this.document=t},login(e,t){this.user.username=e,this.user.privileged=t,this.user.isLoggedIn=!0,this.user.isOpenLoginModal=!1,this.connected||Bi()},loginDialog(){this.user.isOpenLoginModal=!0},async logout(){console.log("Logout"),await _m(),this.$reset(),localStorage.clear(),history.go()},toggleSort(e){this.query?this.prefs.sortFiltered=this.prefs.sortFiltered===e?"":e:this.prefs.sortListing=this.prefs.sortListing===e?"":e}},getters:{sortOrder(){return this.query?this.prefs.sortFiltered:this.prefs.sortListing},isUserLogged(){return this.user.isLoggedIn},recentDocuments(){return Gs(this.document,"modified")},selectedFiles(){const e=this.selected,t=new Set,n={missing:new Set,docs:{},keys:[],recursive:[]};for(const i of this.document)e.has(i.key)&&(t.add(i.key),n.keys.push(i.key),n.docs[i.key]=i);for(const i of e)t.has(i)||n.missing.add(i);const o=new Set;function s(i,a,l){if(!l.dir&&o.has(i))throw Error(`Multiple selections conflict for: ${i}`);o.add(i),n.recursive.push([i,a,l])}for(const i of n.keys){const a=n.docs[i],l=a.loc?`${a.loc}/${a.name}`:a.name,d=a.loc.length;s(a.name,l,a);for(const r of this.document)if(r.loc===l||r.loc.startsWith(l)&&r.loc[l.length]==="/"){const c=r.loc?`${r.loc}/${r.name}`:r.name,f=c.slice(d);s(f,c,r)}}return n.recursive.sort((i,a)=>zr.compare(i[0],a[0])),n}}}),ei="/api/control",wm="/api/upload",xm="/api/watch";let Kt=[],Co=500,Lr=null;const Cm=()=>{const e=localStorage["cista-files"];if(!e)return!1;const t=Et();try{return Kt=JSON.parse(e),t.updateRoot(Kt),console.log(`Loaded session with ${Kt.length} items cached`),!0}catch(n){return console.log("Loading session failed",n),!1}},ia=()=>{localStorage["cista-files"]=JSON.stringify(Kt)},qr=(e,t)=>{const n=new WebSocket(new URL(e,location.origin.replace(/^http/,"ws")));for(const[o,s]of Object.entries(t))n.addEventListener(o,s);return n},Bi=()=>{or!==null&&(clearTimeout(or),or=null);const e=Et();e.error!=="Reconnecting..."&&(e.error="Connecting..."),console.log(e.error),Lr=qr(xm,{message:Sm,close:km}),Lr.addEventListener("message",t=>{if(e.connected)return;const n=JSON.parse(t.data);if("error"in n){n.error.code===401?(e.user.isLoggedIn=!1,e.user.isOpenLoginModal=!0):e.error=n.error.message;return}"server"in n&&(console.log("Connected to backend",n),e.server=n.server,e.connected=!0,Co=500,e.error="",n.user?e.login(n.user.username,n.user.privileged):e.isUserLogged&&e.logout(),!n.server.public&&!n.user&&(e.user.isOpenLoginModal=!0))})},Em=()=>{Lr&&(Lr.close(),Lr=null)};let or=null;const km=e=>{const t=Et();t.connected&&(console.warn("Disconnected from server",e),t.connected=!1,t.error="Reconnecting..."),Co=Math.min(5e3,Co+500),or!==null&&clearTimeout(or),or=setTimeout(Bi,Co)},Sm=e=>{const t=JSON.parse(e.data);switch(!0){case!!t.root:Om(t);break;case!!t.update:Pm(t);break;case!!t.space:console.log("Watch space",t.space);break;case!!t.error:Rm(t);break}};function Om({root:e}){const t=Et();console.log("Watch root",e),t.updateRoot(e),Kt=e,ia()}function Pm(e){const t=Et(),n=e.update;if(console.log("Watch update",n),!Kt)return console.error("Watch update before root");let o=[],s=0;for(const[i,a]of n)i==="k"?(o.push(...Kt.slice(s,s+a)),s+=a):i==="d"?s+=a:i==="i"?o.push(...a):console.log("Unknown update action",i,a);if(s!=Kt.length)throw Error(`Tree update out of sync, number of entries mismatch: got ${s}, expected ${Kt.length}, new tree ${o.length}`);t.updateRoot(o),Kt=o,ia()}function Rm(e){const t=Et();if(e.error.code===401){t.user.isOpenLoginModal=!0,t.user.isLoggedIn=!1;return}}const Im={class:"statustext"},Mm={key:0,class:"index"},Am={class:"filename"},Tm={key:0,class:"percent"},Lm={key:1,class:"position"},Fm={class:"speed"},Bm=Ge({__name:"UploadButton",props:{path:Array},setup(e){const t=Ve(),n=Ve(),o=Et(),s=e;function i(S){var F;const k=Array.from(((F=S.clipboardData)==null?void 0:F.items)??[]),M=[],P=[];for(const V of k){if(V.kind!=="file")continue;const z=V.webkitGetAsEntry();if(z!=null&&z.isFile){const T=V.getAsFile();T&&M.push(T)}else z!=null&&z.isDirectory&&P.push(z)}if(M.length||P.length){S.preventDefault(),d(M);for(const V of P)a(V,`${s.path.join("/")}/${V.name}`)}}const a=async(S,k)=>{const M=S.createReader(),P=await new Promise(V=>M.readEntries(V)),F=[];for(const V of P){const z=`${k}/${V.name}`;if(V.isFile){const T=await new Promise(J=>V.file(J));F.push({file:T,cloudName:z,cloudPos:0})}else V.isDirectory&&await a(V,z)}F.length&&r(F)};function l(S){var P;S.preventDefault();const k=S.target,M=Array.from(((P=k??S.dataTransfer)==null?void 0:P.files)??[]);k&&(k.value=""),M.length&&d(M)}const d=S=>{const k=s.path.join("/");let M=[];for(const P of S)M.push({file:P,cloudName:k+"/"+(P.webkitRelativePath||P.name),cloudPos:0});r(M)},r=S=>{const k=S.filter(M=>M.cloudName.includes("/."));k.length&&(o.error="Won't upload dotfiles",console.log("Dotfiles omitted",k),S=S.filter(M=>!M.cloudName.includes("/."))),S.length&&(S.sort((M,P)=>zr.compare(M.cloudName,P.cloudName)),h=[...h,...S],v(S),O())},c=()=>{h=[],y()},f={total:0,uploaded:0,t0:0,tlast:0,statbytes:0,statdur:0,files:[],filestart:0,fileidx:0,filecount:0,filename:"",filesize:0,filepos:0,status:"idle"},u=Rn({...f}),p=Fe(()=>u.uploaded/u.total*100),m=Fe(()=>{let S=u.statbytes/u.statdur/1e3;const k=(Date.now()-u.tlast)/1e3;return k>5/S?0:k>1/S?1/k:S}),g=Fe(()=>m.value?m.value.toFixed(m.value<10?1:0)+" MB/s":"stalled");setInterval(()=>{Date.now()-u.tlast>3e3?(u.statbytes=0,u.statdur=1):(u.statbytes*=.9,u.statdur*=.9)},100);const C=({name:S,size:k,start:M,end:P})=>{if(S!==u.filename)return;const F=Date.now();u.uploaded=u.filestart+P,u.filepos=P,u.statbytes+=P-M,u.statdur+=F-u.tlast,u.tlast=F,P===k&&(u.filestart+=k,x(),++u.fileidx>=u.filecount&&y())},x=()=>{const S=u.files.shift();if(!S)return y();u.filepos=0,u.filesize=S.file.size,u.filename=S.cloudName},y=()=>{Object.assign(u,f),u.t0=Date.now(),u.tlast=u.t0+1},v=S=>{u.files.length===0&&y(),u.total+=S.reduce((k,M)=>k+M.file.size,0),u.filecount+=S.length,u.files=[...u.files,...S],x()};let h=[];const b=async()=>await new Promise(S=>{const k=qr(wm,{open(M){S(k)},error(M){console.error("Upload socket error",M),o.error="Upload socket error"},message(M){const P=JSON.parse(M.data);if("error"in P){console.error("Upload socket error",P.error),o.error=P.error.message;return}P.status==="ack"?C(P.req):console.log("Unknown upload response",P)}});k.sendMsg=M=>k.send(JSON.stringify(M)),k.sendData=async M=>{u.status="uploading",await new Promise(P=>{const F=setInterval(()=>{k.bufferedAmount>1048576||(P(void 0),clearInterval(F))},1)}),u.status="processing",k.send(M)}}),A=async()=>{const S=await b();for(;h.length;){const k=h[0],M=k.cloudPos,P=Math.min(k.file.size,M+(1<<20)),F={name:k.cloudName,size:k.file.size,start:M,end:P},V=k.file.slice(M,P);k.cloudPos=P,S.sendMsg(F),await S.sendData(V),k.cloudPos===k.file.size&&h.shift()}h.length&&O(),u.status="idle",I=!1};let I=!1;const O=()=>{I===!1&&(I=setTimeout(()=>{I=!0,A()},0))};return At(()=>{addEventListener("dragover",l),addEventListener("drop",l),addEventListener("paste",i)}),kn(()=>{removeEventListener("paste",i),removeEventListener("dragover",l),removeEventListener("drop",l)}),(S,k)=>{const M=Fi;return he(),ke(Le,null,[re("template",null,[re("input",{ref_key:"fileInput",ref:t,onChange:l,type:"file",multiple:""},null,544),re("input",{ref_key:"folderInput",ref:n,onChange:l,type:"file",webkitdirectory:""},null,544)]),ae(M,{name:"add-file","data-tooltip":"Upload files",onClick:k[0]||(k[0]=P=>t.value.click())}),ae(M,{name:"add-folder","data-tooltip":"Upload folder",onClick:k[1]||(k[1]=P=>n.value.click())}),u.total?(he(),ke("div",{key:0,class:"uploadprogress",style:hr(`background: linear-gradient(to right, var(--bar) 0, var(--bar) ${p.value}%, var(--nobar) ${p.value}%, var(--nobar) 100%);`)},[re("div",Im,[u.filecount>1?(he(),ke("span",Mm," ["+tt(u.fileidx)+"/"+tt(u.filecount)+"] ",1)):at("",!0),re("span",Am,[to(tt(u.filename.split("/").pop())+" ",1),u.filesize>1e7?(he(),ke("span",Tm,tt((u.filepos/u.filesize*100).toFixed(0)+" %"),1)):at("",!0)]),u.total>1e7?(he(),ke("span",Lm,tt((u.uploaded/1e6).toFixed(0)+" / "+(u.total/1e6).toFixed(0)+" MB"),1)):at("",!0),re("span",Fm,tt(g.value),1),re("button",{class:"close",onClick:c},"❌")])],4)):at("",!0)],64)}}});const no=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},Nm=no(Bm,[["__scopeId","data-v-177a7b51"]]);var jm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function $m(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Dm(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,s.get?s:{enumerable:!0,get:function(){return e[o]}})}),n}var la={exports:{}};const Hm=Dm(Up);(function(e,t){(function(n,o){e.exports=o(Hm)})(typeof self<"u"?self:jm,n=>(()=>{var o={9662:(l,d,r)=>{var c=r(614),f=r(6330),u=TypeError;l.exports=function(p){if(c(p))return p;throw u(f(p)+" is not a function")}},6077:(l,d,r)=>{var c=r(614),f=String,u=TypeError;l.exports=function(p){if(typeof p=="object"||c(p))return p;throw u("Can't set "+f(p)+" as a prototype")}},1223:(l,d,r)=>{var c=r(5112),f=r(30),u=r(3070).f,p=c("unscopables"),m=Array.prototype;m[p]==null&&u(m,p,{configurable:!0,value:f(null)}),l.exports=function(g){m[p][g]=!0}},9670:(l,d,r)=>{var c=r(111),f=String,u=TypeError;l.exports=function(p){if(c(p))return p;throw u(f(p)+" is not an object")}},8533:(l,d,r)=>{var c=r(2092).forEach,f=r(9341),u=f("forEach");l.exports=u?[].forEach:function(p){return c(this,p,arguments.length>1?arguments[1]:void 0)}},1318:(l,d,r)=>{var c=r(5656),f=r(1400),u=r(6244),p=function(m){return function(g,C,x){var y,v=c(g),h=u(v),b=f(x,h);if(m&&C!=C){for(;h>b;)if(y=v[b++],y!=y)return!0}else for(;h>b;b++)if((m||b in v)&&v[b]===C)return m||b||0;return!m&&-1}};l.exports={includes:p(!0),indexOf:p(!1)}},2092:(l,d,r)=>{var c=r(9974),f=r(1702),u=r(8361),p=r(7908),m=r(6244),g=r(5417),C=f([].push),x=function(y){var v=y==1,h=y==2,b=y==3,A=y==4,I=y==6,O=y==7,S=y==5||I;return function(k,M,P,F){for(var V,z,T=p(k),J=u(T),q=c(M,P),Me=m(J),Ue=0,Je=F||g,Ae=v?Je(k,Me):h||O?Je(k,0):void 0;Me>Ue;Ue++)if((S||Ue in J)&&(V=J[Ue],z=q(V,Ue,T),y))if(v)Ae[Ue]=z;else if(z)switch(y){case 3:return!0;case 5:return V;case 6:return Ue;case 2:C(Ae,V)}else switch(y){case 4:return!1;case 7:C(Ae,V)}return I?-1:b||A?A:Ae}};l.exports={forEach:x(0),map:x(1),filter:x(2),some:x(3),every:x(4),find:x(5),findIndex:x(6),filterReject:x(7)}},1194:(l,d,r)=>{var c=r(7293),f=r(5112),u=r(7392),p=f("species");l.exports=function(m){return u>=51||!c(function(){var g=[],C=g.constructor={};return C[p]=function(){return{foo:1}},g[m](Boolean).foo!==1})}},9341:(l,d,r)=>{var c=r(7293);l.exports=function(f,u){var p=[][f];return!!p&&c(function(){p.call(null,u||function(){return 1},1)})}},3658:(l,d,r)=>{var c=r(9781),f=r(3157),u=TypeError,p=Object.getOwnPropertyDescriptor,m=c&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(g){return g instanceof TypeError}}();l.exports=m?function(g,C){if(f(g)&&!p(g,"length").writable)throw u("Cannot set read only .length");return g.length=C}:function(g,C){return g.length=C}},206:(l,d,r)=>{var c=r(1702);l.exports=c([].slice)},7475:(l,d,r)=>{var c=r(3157),f=r(4411),u=r(111),p=r(5112),m=p("species"),g=Array;l.exports=function(C){var x;return c(C)&&(x=C.constructor,f(x)&&(x===g||c(x.prototype))?x=void 0:u(x)&&(x=x[m],x===null&&(x=void 0))),x===void 0?g:x}},5417:(l,d,r)=>{var c=r(7475);l.exports=function(f,u){return new(c(f))(u===0?0:u)}},4326:(l,d,r)=>{var c=r(1702),f=c({}.toString),u=c("".slice);l.exports=function(p){return u(f(p),8,-1)}},648:(l,d,r)=>{var c=r(1694),f=r(614),u=r(4326),p=r(5112),m=p("toStringTag"),g=Object,C=u(function(){return arguments}())=="Arguments",x=function(y,v){try{return y[v]}catch{}};l.exports=c?u:function(y){var v,h,b;return y===void 0?"Undefined":y===null?"Null":typeof(h=x(v=g(y),m))=="string"?h:C?u(v):(b=u(v))=="Object"&&f(v.callee)?"Arguments":b}},9920:(l,d,r)=>{var c=r(2597),f=r(3887),u=r(1236),p=r(3070);l.exports=function(m,g,C){for(var x=f(g),y=p.f,v=u.f,h=0;h<x.length;h++){var b=x[h];c(m,b)||C&&c(C,b)||y(m,b,v(g,b))}}},4964:(l,d,r)=>{var c=r(5112),f=c("match");l.exports=function(u){var p=/./;try{"/./"[u](p)}catch{try{return p[f]=!1,"/./"[u](p)}catch{}}return!1}},8880:(l,d,r)=>{var c=r(9781),f=r(3070),u=r(9114);l.exports=c?function(p,m,g){return f.f(p,m,u(1,g))}:function(p,m,g){return p[m]=g,p}},9114:l=>{l.exports=function(d,r){return{enumerable:!(1&d),configurable:!(2&d),writable:!(4&d),value:r}}},6135:(l,d,r)=>{var c=r(4948),f=r(3070),u=r(9114);l.exports=function(p,m,g){var C=c(m);C in p?f.f(p,C,u(0,g)):p[C]=g}},8052:(l,d,r)=>{var c=r(614),f=r(3070),u=r(6339),p=r(3072);l.exports=function(m,g,C,x){x||(x={});var y=x.enumerable,v=x.name!==void 0?x.name:g;if(c(C)&&u(C,v,x),x.global)y?m[g]=C:p(g,C);else{try{x.unsafe?m[g]&&(y=!0):delete m[g]}catch{}y?m[g]=C:f.f(m,g,{value:C,enumerable:!1,configurable:!x.nonConfigurable,writable:!x.nonWritable})}return m}},3072:(l,d,r)=>{var c=r(7854),f=Object.defineProperty;l.exports=function(u,p){try{f(c,u,{value:p,configurable:!0,writable:!0})}catch{c[u]=p}return p}},5117:(l,d,r)=>{var c=r(6330),f=TypeError;l.exports=function(u,p){if(!delete u[p])throw f("Cannot delete property "+c(p)+" of "+c(u))}},9781:(l,d,r)=>{var c=r(7293);l.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},317:(l,d,r)=>{var c=r(7854),f=r(111),u=c.document,p=f(u)&&f(u.createElement);l.exports=function(m){return p?u.createElement(m):{}}},7207:l=>{var d=TypeError,r=9007199254740991;l.exports=function(c){if(c>r)throw d("Maximum allowed index exceeded");return c}},8113:(l,d,r)=>{var c=r(5005);l.exports=c("navigator","userAgent")||""},7392:(l,d,r)=>{var c,f,u=r(7854),p=r(8113),m=u.process,g=u.Deno,C=m&&m.versions||g&&g.version,x=C&&C.v8;x&&(c=x.split("."),f=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!f&&p&&(c=p.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=p.match(/Chrome\/(\d+)/),c&&(f=+c[1]))),l.exports=f},748:l=>{l.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7762:(l,d,r)=>{var c=r(9781),f=r(7293),u=r(9670),p=r(30),m=r(6277),g=Error.prototype.toString,C=f(function(){if(c){var x=p(Object.defineProperty({},"name",{get:function(){return this===x}}));if(g.call(x)!=="true")return!0}return g.call({message:1,name:2})!=="2: 1"||g.call({})!=="Error"});l.exports=C?function(){var x=u(this),y=m(x.name,"Error"),v=m(x.message);return y?v?y+": "+v:y:v}:g},2109:(l,d,r)=>{var c=r(7854),f=r(1236).f,u=r(8880),p=r(8052),m=r(3072),g=r(9920),C=r(4705);l.exports=function(x,y){var v,h,b,A,I,O,S=x.target,k=x.global,M=x.stat;if(h=k?c:M?c[S]||m(S,{}):(c[S]||{}).prototype,h)for(b in y){if(I=y[b],x.dontCallGetSet?(O=f(h,b),A=O&&O.value):A=h[b],v=C(k?b:S+(M?".":"#")+b,x.forced),!v&&A!==void 0){if(typeof I==typeof A)continue;g(I,A)}(x.sham||A&&A.sham)&&u(I,"sham",!0),p(h,b,I,x)}}},7293:l=>{l.exports=function(d){try{return!!d()}catch{return!0}}},2104:(l,d,r)=>{var c=r(4374),f=Function.prototype,u=f.apply,p=f.call;l.exports=typeof Reflect=="object"&&Reflect.apply||(c?p.bind(u):function(){return p.apply(u,arguments)})},9974:(l,d,r)=>{var c=r(1702),f=r(9662),u=r(4374),p=c(c.bind);l.exports=function(m,g){return f(m),g===void 0?m:u?p(m,g):function(){return m.apply(g,arguments)}}},4374:(l,d,r)=>{var c=r(7293);l.exports=!c(function(){var f=(function(){}).bind();return typeof f!="function"||f.hasOwnProperty("prototype")})},6916:(l,d,r)=>{var c=r(4374),f=Function.prototype.call;l.exports=c?f.bind(f):function(){return f.apply(f,arguments)}},6530:(l,d,r)=>{var c=r(9781),f=r(2597),u=Function.prototype,p=c&&Object.getOwnPropertyDescriptor,m=f(u,"name"),g=m&&(function(){}).name==="something",C=m&&(!c||c&&p(u,"name").configurable);l.exports={EXISTS:m,PROPER:g,CONFIGURABLE:C}},1702:(l,d,r)=>{var c=r(4374),f=Function.prototype,u=f.bind,p=f.call,m=c&&u.bind(p,p);l.exports=c?function(g){return g&&m(g)}:function(g){return g&&function(){return p.apply(g,arguments)}}},5005:(l,d,r)=>{var c=r(7854),f=r(614),u=function(p){return f(p)?p:void 0};l.exports=function(p,m){return arguments.length<2?u(c[p]):c[p]&&c[p][m]}},8173:(l,d,r)=>{var c=r(9662),f=r(8554);l.exports=function(u,p){var m=u[p];return f(m)?void 0:c(m)}},7854:(l,d,r)=>{var c=function(f){return f&&f.Math==Math&&f};l.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof r.g=="object"&&r.g)||function(){return this}()||Function("return this")()},2597:(l,d,r)=>{var c=r(1702),f=r(7908),u=c({}.hasOwnProperty);l.exports=Object.hasOwn||function(p,m){return u(f(p),m)}},3501:l=>{l.exports={}},490:(l,d,r)=>{var c=r(5005);l.exports=c("document","documentElement")},4664:(l,d,r)=>{var c=r(9781),f=r(7293),u=r(317);l.exports=!c&&!f(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},8361:(l,d,r)=>{var c=r(1702),f=r(7293),u=r(4326),p=Object,m=c("".split);l.exports=f(function(){return!p("z").propertyIsEnumerable(0)})?function(g){return u(g)=="String"?m(g,""):p(g)}:p},9587:(l,d,r)=>{var c=r(614),f=r(111),u=r(7674);l.exports=function(p,m,g){var C,x;return u&&c(C=m.constructor)&&C!==g&&f(x=C.prototype)&&x!==g.prototype&&u(p,x),p}},2788:(l,d,r)=>{var c=r(1702),f=r(614),u=r(5465),p=c(Function.toString);f(u.inspectSource)||(u.inspectSource=function(m){return p(m)}),l.exports=u.inspectSource},9909:(l,d,r)=>{var c,f,u,p=r(4811),m=r(7854),g=r(1702),C=r(111),x=r(8880),y=r(2597),v=r(5465),h=r(6200),b=r(3501),A="Object already initialized",I=m.TypeError,O=m.WeakMap,S=function(T){return u(T)?f(T):c(T,{})},k=function(T){return function(J){var q;if(!C(J)||(q=f(J)).type!==T)throw I("Incompatible receiver, "+T+" required");return q}};if(p||v.state){var M=v.state||(v.state=new O),P=g(M.get),F=g(M.has),V=g(M.set);c=function(T,J){if(F(M,T))throw I(A);return J.facade=T,V(M,T,J),J},f=function(T){return P(M,T)||{}},u=function(T){return F(M,T)}}else{var z=h("state");b[z]=!0,c=function(T,J){if(y(T,z))throw I(A);return J.facade=T,x(T,z,J),J},f=function(T){return y(T,z)?T[z]:{}},u=function(T){return y(T,z)}}l.exports={set:c,get:f,has:u,enforce:S,getterFor:k}},3157:(l,d,r)=>{var c=r(4326);l.exports=Array.isArray||function(f){return c(f)=="Array"}},614:l=>{l.exports=function(d){return typeof d=="function"}},4411:(l,d,r)=>{var c=r(1702),f=r(7293),u=r(614),p=r(648),m=r(5005),g=r(2788),C=function(){},x=[],y=m("Reflect","construct"),v=/^\s*(?:class|function)\b/,h=c(v.exec),b=!v.exec(C),A=function(O){if(!u(O))return!1;try{return y(C,x,O),!0}catch{return!1}},I=function(O){if(!u(O))return!1;switch(p(O)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return b||!!h(v,g(O))}catch{return!0}};I.sham=!0,l.exports=!y||f(function(){var O;return A(A.call)||!A(Object)||!A(function(){O=!0})||O})?I:A},4705:(l,d,r)=>{var c=r(7293),f=r(614),u=/#|\.prototype\./,p=function(y,v){var h=g[m(y)];return h==x||h!=C&&(f(v)?c(v):!!v)},m=p.normalize=function(y){return String(y).replace(u,".").toLowerCase()},g=p.data={},C=p.NATIVE="N",x=p.POLYFILL="P";l.exports=p},8554:l=>{l.exports=function(d){return d==null}},111:(l,d,r)=>{var c=r(614),f=typeof document=="object"&&document.all,u=typeof f>"u"&&f!==void 0;l.exports=u?function(p){return typeof p=="object"?p!==null:c(p)||p===f}:function(p){return typeof p=="object"?p!==null:c(p)}},1913:l=>{l.exports=!1},7850:(l,d,r)=>{var c=r(111),f=r(4326),u=r(5112),p=u("match");l.exports=function(m){var g;return c(m)&&((g=m[p])!==void 0?!!g:f(m)=="RegExp")}},2190:(l,d,r)=>{var c=r(5005),f=r(614),u=r(7976),p=r(3307),m=Object;l.exports=p?function(g){return typeof g=="symbol"}:function(g){var C=c("Symbol");return f(C)&&u(C.prototype,m(g))}},6244:(l,d,r)=>{var c=r(7466);l.exports=function(f){return c(f.length)}},6339:(l,d,r)=>{var c=r(7293),f=r(614),u=r(2597),p=r(9781),m=r(6530).CONFIGURABLE,g=r(2788),C=r(9909),x=C.enforce,y=C.get,v=Object.defineProperty,h=p&&!c(function(){return v(function(){},"length",{value:8}).length!==8}),b=String(String).split("String"),A=l.exports=function(I,O,S){String(O).slice(0,7)==="Symbol("&&(O="["+String(O).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),S&&S.getter&&(O="get "+O),S&&S.setter&&(O="set "+O),(!u(I,"name")||m&&I.name!==O)&&(p?v(I,"name",{value:O,configurable:!0}):I.name=O),h&&S&&u(S,"arity")&&I.length!==S.arity&&v(I,"length",{value:S.arity});try{S&&u(S,"constructor")&&S.constructor?p&&v(I,"prototype",{writable:!1}):I.prototype&&(I.prototype=void 0)}catch{}var k=x(I);return u(k,"source")||(k.source=b.join(typeof O=="string"?O:"")),I};Function.prototype.toString=A(function(){return f(this)&&y(this).source||g(this)},"toString")},4758:l=>{var d=Math.ceil,r=Math.floor;l.exports=Math.trunc||function(c){var f=+c;return(f>0?r:d)(f)}},6277:(l,d,r)=>{var c=r(1340);l.exports=function(f,u){return f===void 0?arguments.length<2?"":u:c(f)}},3929:(l,d,r)=>{var c=r(7850),f=TypeError;l.exports=function(u){if(c(u))throw f("The method doesn't accept regular expressions");return u}},30:(l,d,r)=>{var c,f=r(9670),u=r(6048),p=r(748),m=r(3501),g=r(490),C=r(317),x=r(6200),y=">",v="<",h="prototype",b="script",A=x("IE_PROTO"),I=function(){},O=function(P){return v+b+y+P+v+"/"+b+y},S=function(P){P.write(O("")),P.close();var F=P.parentWindow.Object;return P=null,F},k=function(){var P,F=C("iframe"),V="java"+b+":";return F.style.display="none",g.appendChild(F),F.src=String(V),P=F.contentWindow.document,P.open(),P.write(O("document.F=Object")),P.close(),P.F},M=function(){try{c=new ActiveXObject("htmlfile")}catch{}M=typeof document<"u"?document.domain&&c?S(c):k():S(c);for(var P=p.length;P--;)delete M[h][p[P]];return M()};m[A]=!0,l.exports=Object.create||function(P,F){var V;return P!==null?(I[h]=f(P),V=new I,I[h]=null,V[A]=P):V=M(),F===void 0?V:u.f(V,F)}},6048:(l,d,r)=>{var c=r(9781),f=r(3353),u=r(3070),p=r(9670),m=r(5656),g=r(1956);d.f=c&&!f?Object.defineProperties:function(C,x){p(C);for(var y,v=m(x),h=g(x),b=h.length,A=0;b>A;)u.f(C,y=h[A++],v[y]);return C}},3070:(l,d,r)=>{var c=r(9781),f=r(4664),u=r(3353),p=r(9670),m=r(4948),g=TypeError,C=Object.defineProperty,x=Object.getOwnPropertyDescriptor,y="enumerable",v="configurable",h="writable";d.f=c?u?function(b,A,I){if(p(b),A=m(A),p(I),typeof b=="function"&&A==="prototype"&&"value"in I&&h in I&&!I[h]){var O=x(b,A);O&&O[h]&&(b[A]=I.value,I={configurable:v in I?I[v]:O[v],enumerable:y in I?I[y]:O[y],writable:!1})}return C(b,A,I)}:C:function(b,A,I){if(p(b),A=m(A),p(I),f)try{return C(b,A,I)}catch{}if("get"in I||"set"in I)throw g("Accessors not supported");return"value"in I&&(b[A]=I.value),b}},1236:(l,d,r)=>{var c=r(9781),f=r(6916),u=r(5296),p=r(9114),m=r(5656),g=r(4948),C=r(2597),x=r(4664),y=Object.getOwnPropertyDescriptor;d.f=c?y:function(v,h){if(v=m(v),h=g(h),x)try{return y(v,h)}catch{}if(C(v,h))return p(!f(u.f,v,h),v[h])}},8006:(l,d,r)=>{var c=r(6324),f=r(748),u=f.concat("length","prototype");d.f=Object.getOwnPropertyNames||function(p){return c(p,u)}},5181:(l,d)=>{d.f=Object.getOwnPropertySymbols},7976:(l,d,r)=>{var c=r(1702);l.exports=c({}.isPrototypeOf)},6324:(l,d,r)=>{var c=r(1702),f=r(2597),u=r(5656),p=r(1318).indexOf,m=r(3501),g=c([].push);l.exports=function(C,x){var y,v=u(C),h=0,b=[];for(y in v)!f(m,y)&&f(v,y)&&g(b,y);for(;x.length>h;)f(v,y=x[h++])&&(~p(b,y)||g(b,y));return b}},1956:(l,d,r)=>{var c=r(6324),f=r(748);l.exports=Object.keys||function(u){return c(u,f)}},5296:(l,d)=>{var r={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,f=c&&!r.call({1:2},1);d.f=f?function(u){var p=c(this,u);return!!p&&p.enumerable}:r},7674:(l,d,r)=>{var c=r(1702),f=r(9670),u=r(6077);l.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var p,m=!1,g={};try{p=c(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),p(g,[]),m=g instanceof Array}catch{}return function(C,x){return f(C),u(x),m?p(C,x):C.__proto__=x,C}}():void 0)},288:(l,d,r)=>{var c=r(1694),f=r(648);l.exports=c?{}.toString:function(){return"[object "+f(this)+"]"}},2140:(l,d,r)=>{var c=r(6916),f=r(614),u=r(111),p=TypeError;l.exports=function(m,g){var C,x;if(g==="string"&&f(C=m.toString)&&!u(x=c(C,m))||f(C=m.valueOf)&&!u(x=c(C,m))||g!=="string"&&f(C=m.toString)&&!u(x=c(C,m)))return x;throw p("Can't convert object to primitive value")}},3887:(l,d,r)=>{var c=r(5005),f=r(1702),u=r(8006),p=r(5181),m=r(9670),g=f([].concat);l.exports=c("Reflect","ownKeys")||function(C){var x=u.f(m(C)),y=p.f;return y?g(x,y(C)):x}},7066:(l,d,r)=>{var c=r(9670);l.exports=function(){var f=c(this),u="";return f.hasIndices&&(u+="d"),f.global&&(u+="g"),f.ignoreCase&&(u+="i"),f.multiline&&(u+="m"),f.dotAll&&(u+="s"),f.unicode&&(u+="u"),f.unicodeSets&&(u+="v"),f.sticky&&(u+="y"),u}},4706:(l,d,r)=>{var c=r(6916),f=r(2597),u=r(7976),p=r(7066),m=RegExp.prototype;l.exports=function(g){var C=g.flags;return C!==void 0||"flags"in m||f(g,"flags")||!u(m,g)?C:c(p,g)}},4488:(l,d,r)=>{var c=r(8554),f=TypeError;l.exports=function(u){if(c(u))throw f("Can't call method on "+u);return u}},7152:(l,d,r)=>{var c=r(7854),f=r(2104),u=r(614),p=r(8113),m=r(206),g=r(8053),C=/MSIE .\./.test(p),x=c.Function,y=function(v){return C?function(h,b){var A=g(arguments.length,1)>2,I=u(h)?h:x(h),O=A?m(arguments,2):void 0;return v(A?function(){f(I,this,O)}:I,b)}:v};l.exports={setTimeout:y(c.setTimeout),setInterval:y(c.setInterval)}},6200:(l,d,r)=>{var c=r(2309),f=r(9711),u=c("keys");l.exports=function(p){return u[p]||(u[p]=f(p))}},5465:(l,d,r)=>{var c=r(7854),f=r(3072),u="__core-js_shared__",p=c[u]||f(u,{});l.exports=p},2309:(l,d,r)=>{var c=r(1913),f=r(5465);(l.exports=function(u,p){return f[u]||(f[u]=p!==void 0?p:{})})("versions",[]).push({version:"3.25.0",mode:c?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.0/LICENSE",source:"https://github.com/zloirock/core-js"})},3111:(l,d,r)=>{var c=r(1702),f=r(4488),u=r(1340),p=r(1361),m=c("".replace),g="["+p+"]",C=RegExp("^"+g+g+"*"),x=RegExp(g+g+"*$"),y=function(v){return function(h){var b=u(f(h));return 1&v&&(b=m(b,C,"")),2&v&&(b=m(b,x,"")),b}};l.exports={start:y(1),end:y(2),trim:y(3)}},6293:(l,d,r)=>{var c=r(7392),f=r(7293);l.exports=!!Object.getOwnPropertySymbols&&!f(function(){var u=Symbol();return!String(u)||!(Object(u)instanceof Symbol)||!Symbol.sham&&c&&c<41})},863:(l,d,r)=>{var c=r(1702);l.exports=c(1 .valueOf)},1400:(l,d,r)=>{var c=r(9303),f=Math.max,u=Math.min;l.exports=function(p,m){var g=c(p);return g<0?f(g+m,0):u(g,m)}},5656:(l,d,r)=>{var c=r(8361),f=r(4488);l.exports=function(u){return c(f(u))}},9303:(l,d,r)=>{var c=r(4758);l.exports=function(f){var u=+f;return u!==u||u===0?0:c(u)}},7466:(l,d,r)=>{var c=r(9303),f=Math.min;l.exports=function(u){return u>0?f(c(u),9007199254740991):0}},7908:(l,d,r)=>{var c=r(4488),f=Object;l.exports=function(u){return f(c(u))}},7593:(l,d,r)=>{var c=r(6916),f=r(111),u=r(2190),p=r(8173),m=r(2140),g=r(5112),C=TypeError,x=g("toPrimitive");l.exports=function(y,v){if(!f(y)||u(y))return y;var h,b=p(y,x);if(b){if(v===void 0&&(v="default"),h=c(b,y,v),!f(h)||u(h))return h;throw C("Can't convert object to primitive value")}return v===void 0&&(v="number"),m(y,v)}},4948:(l,d,r)=>{var c=r(7593),f=r(2190);l.exports=function(u){var p=c(u,"string");return f(p)?p:p+""}},1694:(l,d,r)=>{var c=r(5112),f=c("toStringTag"),u={};u[f]="z",l.exports=String(u)==="[object z]"},1340:(l,d,r)=>{var c=r(648),f=String;l.exports=function(u){if(c(u)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return f(u)}},6330:l=>{var d=String;l.exports=function(r){try{return d(r)}catch{return"Object"}}},9711:(l,d,r)=>{var c=r(1702),f=0,u=Math.random(),p=c(1 .toString);l.exports=function(m){return"Symbol("+(m===void 0?"":m)+")_"+p(++f+u,36)}},3307:(l,d,r)=>{var c=r(6293);l.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},3353:(l,d,r)=>{var c=r(9781),f=r(7293);l.exports=c&&f(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},8053:l=>{var d=TypeError;l.exports=function(r,c){if(r<c)throw d("Not enough arguments");return r}},4811:(l,d,r)=>{var c=r(7854),f=r(614),u=c.WeakMap;l.exports=f(u)&&/native code/.test(String(u))},5112:(l,d,r)=>{var c=r(7854),f=r(2309),u=r(2597),p=r(9711),m=r(6293),g=r(3307),C=f("wks"),x=c.Symbol,y=x&&x.for,v=g?x:x&&x.withoutSetter||p;l.exports=function(h){if(!u(C,h)||!m&&typeof C[h]!="string"){var b="Symbol."+h;m&&u(x,h)?C[h]=x[h]:C[h]=g&&y?y(b):v(b)}return C[h]}},1361:l=>{l.exports=`
10
10
  \v\f\r                 \u2028\u2029\uFEFF`},9554:(l,d,r)=>{var c=r(2109),f=r(8533);c({target:"Array",proto:!0,forced:[].forEach!=f},{forEach:f})},6699:(l,d,r)=>{var c=r(2109),f=r(1318).includes,u=r(7293),p=r(1223),m=u(function(){return!Array(1).includes()});c({target:"Array",proto:!0,forced:m},{includes:function(g){return f(this,g,arguments.length>1?arguments[1]:void 0)}}),p("includes")},2772:(l,d,r)=>{var c=r(2109),f=r(1702),u=r(1318).indexOf,p=r(9341),m=f([].indexOf),g=!!m&&1/m([1],1,-0)<0,C=p("indexOf");c({target:"Array",proto:!0,forced:g||!C},{indexOf:function(x){var y=arguments.length>1?arguments[1]:void 0;return g?m(this,x,y)||0:u(this,x,y)}})},561:(l,d,r)=>{var c=r(2109),f=r(7908),u=r(1400),p=r(9303),m=r(6244),g=r(3658),C=r(7207),x=r(5417),y=r(6135),v=r(5117),h=r(1194),b=h("splice"),A=Math.max,I=Math.min;c({target:"Array",proto:!0,forced:!b},{splice:function(O,S){var k,M,P,F,V,z,T=f(this),J=m(T),q=u(O,J),Me=arguments.length;for(Me===0?k=M=0:Me===1?(k=0,M=J-q):(k=Me-2,M=I(A(p(S),0),J-q)),C(J+k-M),P=x(T,M),F=0;F<M;F++)V=q+F,V in T&&y(P,F,T[V]);if(P.length=M,k<M){for(F=q;F<J-M;F++)V=F+M,z=F+k,V in T?T[z]=T[V]:v(T,z);for(F=J;F>J-M+k;F--)v(T,F-1)}else if(k>M)for(F=J-M;F>q;F--)V=F+M-1,z=F+k-1,V in T?T[z]=T[V]:v(T,z);for(F=0;F<k;F++)T[F+q]=arguments[F+2];return g(T,J-M+k),P}})},3710:(l,d,r)=>{var c=r(1702),f=r(8052),u=Date.prototype,p="Invalid Date",m="toString",g=c(u[m]),C=c(u.getTime);String(new Date(NaN))!=p&&f(u,m,function(){var x=C(this);return x===x?g(this):p})},6647:(l,d,r)=>{var c=r(8052),f=r(7762),u=Error.prototype;u.toString!==f&&c(u,"toString",f)},9653:(l,d,r)=>{var c=r(9781),f=r(7854),u=r(1702),p=r(4705),m=r(8052),g=r(2597),C=r(9587),x=r(7976),y=r(2190),v=r(7593),h=r(7293),b=r(8006).f,A=r(1236).f,I=r(3070).f,O=r(863),S=r(3111).trim,k="Number",M=f[k],P=M.prototype,F=f.TypeError,V=u("".slice),z=u("".charCodeAt),T=function(Ae){var We=v(Ae,"number");return typeof We=="bigint"?We:J(We)},J=function(Ae){var We,$e,Vt,De,B,Z,U,G,ue=v(Ae,"number");if(y(ue))throw F("Cannot convert a Symbol value to a number");if(typeof ue=="string"&&ue.length>2){if(ue=S(ue),We=z(ue,0),We===43||We===45){if($e=z(ue,2),$e===88||$e===120)return NaN}else if(We===48){switch(z(ue,1)){case 66:case 98:Vt=2,De=49;break;case 79:case 111:Vt=8,De=55;break;default:return+ue}for(B=V(ue,2),Z=B.length,U=0;U<Z;U++)if(G=z(B,U),G<48||G>De)return NaN;return parseInt(B,Vt)}}return+ue};if(p(k,!M(" 0o1")||!M("0b1")||M("+0x1"))){for(var q,Me=function(Ae){var We=arguments.length<1?0:M(T(Ae)),$e=this;return x(P,$e)&&h(function(){O($e)})?C(Object(We),$e,Me):We},Ue=c?b(M):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),Je=0;Ue.length>Je;Je++)g(M,q=Ue[Je])&&!g(Me,q)&&I(Me,q,A(M,q));Me.prototype=P,P.constructor=Me,m(f,k,Me,{constructor:!0})}},1539:(l,d,r)=>{var c=r(1694),f=r(8052),u=r(288);c||f(Object.prototype,"toString",u,{unsafe:!0})},9714:(l,d,r)=>{var c=r(6530).PROPER,f=r(8052),u=r(9670),p=r(1340),m=r(7293),g=r(4706),C="toString",x=RegExp.prototype,y=x[C],v=m(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),h=c&&y.name!=C;(v||h)&&f(RegExp.prototype,C,function(){var b=u(this),A=p(b.source),I=p(g(b));return"/"+A+"/"+I},{unsafe:!0})},2023:(l,d,r)=>{var c=r(2109),f=r(1702),u=r(3929),p=r(4488),m=r(1340),g=r(4964),C=f("".indexOf);c({target:"String",proto:!0,forced:!g("includes")},{includes:function(x){return!!~C(m(p(this)),m(u(x)),arguments.length>1?arguments[1]:void 0)}})},6815:(l,d,r)=>{var c=r(2109),f=r(7854),u=r(7152).setInterval;c({global:!0,bind:!0,forced:f.setInterval!==u},{setInterval:u})},8417:(l,d,r)=>{var c=r(2109),f=r(7854),u=r(7152).setTimeout;c({global:!0,bind:!0,forced:f.setTimeout!==u},{setTimeout:u})},2564:(l,d,r)=>{r(6815),r(8417)},3744:(l,d)=>{d.Z=(r,c)=>{const f=r.__vccOpts||r;for(const[u,p]of c)f[u]=p;return f}},7203:l=>{l.exports=n}},s={};function i(l){var d=s[l];if(d!==void 0)return d.exports;var r=s[l]={exports:{}};return o[l](r,r.exports,i),r.exports}i.d=(l,d)=>{for(var r in d)i.o(d,r)&&!i.o(l,r)&&Object.defineProperty(l,r,{enumerable:!0,get:d[r]})},i.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),i.o=(l,d)=>Object.prototype.hasOwnProperty.call(l,d),i.r=l=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(l,"__esModule",{value:!0})},i.p="";var a={};return(()=>{if(i.r(a),i.d(a,{ContextMenu:()=>Jt,ContextMenuGroup:()=>nt,ContextMenuItem:()=>$,ContextMenuSeparator:()=>ee,MenuBar:()=>ka,default:()=>Oa}),typeof window<"u"){var l=window.document.currentScript,d=l&&l.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);d&&(i.p=d[1])}var r=i(7203),c=null;function f(E){c&&p(),c=E}function u(E){E===c&&(c=null)}function p(){c&&(c.closeMenu(),c=null)}i(6647),i(3710),i(1539),i(9714);var m={defaultDirection:"br",defaultMinWidth:100,defaultMaxWidth:600,defaultZindex:100,defaultAdjustPadding:{x:0,y:10}};function g(E,N){var K=E.offsetTop;return E.offsetParent!=null&&E.offsetParent!=N&&(K-=E.offsetParent.scrollTop,K+=g(E.offsetParent,N)),K}function C(E,N){var K=E.offsetLeft;return E.offsetParent!=null&&E.offsetParent!=N&&(K-=E.offsetParent.scrollLeft,K+=C(E.offsetParent,N)),K}function x(E,N,K,se){return{x:C(E,se)+N,y:g(E,se)+K}}var y="mx-menu-default-container",v="mx-menu-container-",h=0;function b(E){var N=E.getContainer,K=E.zIndex;if(N){var se=typeof N=="function"?N():N;if(se){var xe=se.getAttribute("id");return xe||(xe=v+h++,se.setAttribute("id",xe)),se.style.zIndex=(K==null?void 0:K.toString())||m.defaultZindex.toString(),{eleId:xe,container:se,isNew:!1}}}var Ee=document.getElementById(y);return Ee||(Ee=document.createElement("div"),Ee.setAttribute("id",y),Ee.setAttribute("class","mx-menu-ghost-host fullscreen"),document.body.appendChild(Ee)),Ee.style.zIndex=(K==null?void 0:K.toString())||m.defaultZindex.toString(),{eleId:y,container:Ee,isNew:!0}}function A(E){return typeof E=="number"?"".concat(E,"px"):E}var I=(0,r.defineComponent)({props:{vnode:{type:[Object,Function],default:null},data:{type:Object,default:null}},setup:function(E){var N=(0,r.toRefs)(E),K=N.vnode,se=N.data;return function(){return typeof K.value=="function"?K.value(se.value):K.value}}});function O(E,N,K){return N in E?Object.defineProperty(E,N,{value:K,enumerable:!0,configurable:!0,writable:!0}):E[N]=K,E}function S(E,N){var K=Object.keys(E);if(Object.getOwnPropertySymbols){var se=Object.getOwnPropertySymbols(E);N&&(se=se.filter(function(xe){return Object.getOwnPropertyDescriptor(E,xe).enumerable})),K.push.apply(K,se)}return K}function k(E){for(var N=1;N<arguments.length;N++){var K=arguments[N]!=null?arguments[N]:{};N%2?S(Object(K),!0).forEach(function(se){O(E,se,K[se])}):Object.getOwnPropertyDescriptors?Object.defineProperties(E,Object.getOwnPropertyDescriptors(K)):S(Object(K)).forEach(function(se){Object.defineProperty(E,se,Object.getOwnPropertyDescriptor(K,se))})}return E}i(2564);var M={class:"mx-context-menu-scroll",ref:"scroll"};function P(E,N,K,se,xe,Ee){var pe=(0,r.resolveComponent)("ContextMenuSeparator"),fe=(0,r.resolveComponent)("ContextSubMenu",!0),ye=(0,r.resolveComponent)("ContextMenuItem"),Ke=(0,r.resolveComponent)("ContextMenuIconRight");return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)("mx-context-menu "+(E.options.customClass?E.options.customClass:"")+" "+E.globalTheme),style:(0,r.normalizeStyle)({maxWidth:E.maxWidth?E.solveNumberOrStringSize(E.maxWidth):"".concat(E.constOptions.defaultMaxWidth,"px"),minWidth:E.minWidth?E.solveNumberOrStringSize(E.minWidth):"".concat(E.constOptions.defaultMinWidth,"px"),maxHeight:E.overflow&&E.maxHeight>0?"".concat(E.maxHeight,"px"):void 0,zIndex:E.zIndex,left:"".concat(E.position.x,"px"),top:"".concat(E.position.y,"px")}),"data-type":"ContextSubMenu",onClick:N[2]||(N[2]=function(){return E.onSubMenuBodyClick&&E.onSubMenuBodyClick.apply(E,arguments)})},[(0,r.createElementVNode)("div",{class:"mx-context-menu-items",ref:"menu",style:(0,r.normalizeStyle)({top:"".concat(E.scrollValue,"px")})},[(0,r.renderSlot)(E.$slots,"default",{},function(){return[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(E.items,function(ne,Te){return(0,r.openBlock)(),(0,r.createElementBlock)(r.Fragment,{key:Te},[ne.hidden!==!0&&ne.divided==="up"?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0})):(0,r.createCommentVNode)("",!0),ne.hidden!==!0&&ne.divided==="self"?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:1})):((0,r.openBlock)(),(0,r.createBlock)(ye,{key:2,clickHandler:ne.onClick?function(Ye){return ne.onClick(Ye)}:void 0,disabled:ne.disabled,hidden:ne.hidden,icon:ne.icon,iconFontClass:ne.iconFontClass,svgIcon:ne.svgIcon,svgProps:ne.svgProps,label:ne.label,customRender:ne.customRender,customClass:ne.customClass,checked:ne.checked,shortcut:ne.shortcut,clickClose:ne.clickClose,clickableWhenHasChildren:ne.clickableWhenHasChildren,preserveIconWidth:ne.preserveIconWidth!==void 0?ne.preserveIconWidth:E.options.preserveIconWidth,showRightArrow:ne.children&&ne.children.length>0,hasChildren:ne.children&&ne.children.length>0,rawMenuItem:ne,onSubMenuOpen:ne.onSubMenuOpen,onSubMenuClose:ne.onSubMenuClose},(0,r.createSlots)({_:2},[ne.children&&ne.children.length>0?{name:"submenu",fn:(0,r.withCtx)(function(){return[(0,r.createVNode)(fe,{items:ne.children,maxWidth:ne.maxWidth,minWidth:ne.minWidth,adjustPosition:ne.adjustSubMenuPosition!==void 0?ne.adjustSubMenuPosition:E.options.adjustPosition,direction:ne.direction!==void 0?ne.direction:E.options.direction},null,8,["items","maxWidth","minWidth","adjustPosition","direction"])]}),key:"0"}:void 0]),1032,["clickHandler","disabled","hidden","icon","iconFontClass","svgIcon","svgProps","label","customRender","customClass","checked","shortcut","clickClose","clickableWhenHasChildren","preserveIconWidth","showRightArrow","hasChildren","rawMenuItem","onSubMenuOpen","onSubMenuClose"])),ne.hidden===!0||ne.divided!=="down"&&ne.divided!==!0?(0,r.createCommentVNode)("",!0):((0,r.openBlock)(),(0,r.createBlock)(pe,{key:3}))],64)}),128))]})],4),(0,r.createElementVNode)("div",M,[(0,r.withDirectives)((0,r.createElementVNode)("div",{class:"mx-context-menu-updown mx-context-no-clickable up",onClick:N[0]||(N[0]=function(ne){return E.onScroll(!1)})},[(0,r.createVNode)(Ke)],512),[[r.vShow,E.overflow&&E.scrollValue<0]]),(0,r.withDirectives)((0,r.createElementVNode)("div",{class:"mx-context-menu-updown mx-context-no-clickable down",onClick:N[1]||(N[1]=function(ne){return E.onScroll(!0)})},[(0,r.createVNode)(Ke)],512),[[r.vShow,E.overflow&&E.scrollValue>-E.scrollHeight]])],512)],6)}i(9653),i(2772),i(9554),i(561),i(6699),i(2023);var F={key:0,class:"mx-context-menu-item-wrapper",ref:"menuItemRef","data-type":"ContextMenuItem"},V={class:"mx-item-row"},z=["xlink:href"],T={key:1,class:"label"},J={class:"mx-item-row"},q={class:"mx-shortcut"};function Me(E,N,K,se,xe,Ee){var pe=(0,r.resolveComponent)("VNodeRender"),fe=(0,r.resolveComponent)("ContextMenuIconCheck"),ye=(0,r.resolveComponent)("ContextMenuIconRight");return E.hidden?(0,r.createCommentVNode)("",!0):((0,r.openBlock)(),(0,r.createElementBlock)("div",F,[E.globalHasSlot("itemRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("itemRender",E.getItemDataForChildren())}},null,8,["vnode"])):E.customRender?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:1,vnode:E.customRender,data:E.getItemDataForChildren()},null,8,["vnode","data"])):((0,r.openBlock)(),(0,r.createElementBlock)("div",{key:2,class:(0,r.normalizeClass)(["mx-context-menu-item",E.disabled?"disabled":"",E.keyBoardFocusMenu?"keyboard-focus":"",E.customClass?" "+E.customClass:"",E.showSubMenu?"open":""]),onClick:N[0]||(N[0]=function(){return E.onClick&&E.onClick.apply(E,arguments)}),onMouseenter:N[1]||(N[1]=function(){return E.onMouseEnter&&E.onMouseEnter.apply(E,arguments)})},[(0,r.renderSlot)(E.$slots,"default",{},function(){return[(0,r.createElementVNode)("div",V,[(0,r.createElementVNode)("div",{class:(0,r.normalizeClass)(["mx-icon-placeholder",E.preserveIconWidth?"preserve-width":""])},[(0,r.renderSlot)(E.$slots,"icon",{},function(){return[E.globalHasSlot("itemIconRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("itemIconRender",E.getItemDataForChildren())}},null,8,["vnode"])):typeof E.svgIcon=="string"&&E.svgIcon?((0,r.openBlock)(),(0,r.createElementBlock)("svg",(0,r.mergeProps)({key:1,class:"icon svg"},E.svgProps),[(0,r.createElementVNode)("use",{"xlink:href":E.svgIcon},null,8,z)],16)):typeof E.icon!="string"?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:2,vnode:E.icon,data:E.icon},null,8,["vnode","data"])):typeof E.icon=="string"&&E.icon!==""?((0,r.openBlock)(),(0,r.createElementBlock)("i",{key:3,class:(0,r.normalizeClass)(E.icon+" icon "+E.iconFontClass+" "+E.globalIconFontClass)},null,2)):(0,r.createCommentVNode)("",!0)]}),E.checked?(0,r.renderSlot)(E.$slots,"check",{key:0},function(){return[E.globalHasSlot("itemCheckRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("itemCheckRender",E.getItemDataForChildren())}},null,8,["vnode"])):(0,r.createCommentVNode)("",!0),(0,r.createVNode)(fe)]}):(0,r.createCommentVNode)("",!0)],2),(0,r.renderSlot)(E.$slots,"label",{},function(){return[E.globalHasSlot("itemLabelRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("itemLabelRender",E.getItemDataForChildren())}},null,8,["vnode"])):typeof E.label=="string"?((0,r.openBlock)(),(0,r.createElementBlock)("span",T,(0,r.toDisplayString)(E.label),1)):((0,r.openBlock)(),(0,r.createBlock)(pe,{key:2,vnode:E.label,data:E.label},null,8,["vnode","data"]))]})]),(0,r.createElementVNode)("div",J,[E.shortcut?(0,r.renderSlot)(E.$slots,"shortcut",{key:0},function(){return[E.globalHasSlot("itemShortcutRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("itemShortcutRender",E.getItemDataForChildren())}},null,8,["vnode"])):(0,r.createCommentVNode)("",!0),(0,r.createElementVNode)("span",q,(0,r.toDisplayString)(E.shortcut),1)]}):(0,r.createCommentVNode)("",!0),E.showRightArrow?(0,r.renderSlot)(E.$slots,"rightArrow",{key:1},function(){return[E.globalHasSlot("itemRightArrowRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("itemRightArrowRender",E.getItemDataForChildren())}},null,8,["vnode"])):(0,r.createCommentVNode)("",!0),(0,r.createVNode)(ye)]}):(0,r.createCommentVNode)("",!0)])]})],34)),E.showSubMenu?(0,r.renderSlot)(E.$slots,"submenu",{key:3}):(0,r.createCommentVNode)("",!0)],512))}var Ue={class:"mx-checked-mark","aria-hidden":"true",viewBox:"0 0 1024 1024"},Je=(0,r.createElementVNode)("path",{d:"M129.3,428.6L52,512l345,372.5l575-620.8l-69.5-75L400.4,718.2L129.3,428.6z"},null,-1),Ae=[Je];function We(E,N){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",Ue,Ae)}var $e=i(3744);const Vt={},De=(0,$e.Z)(Vt,[["render",We]]),B=De;var Z={class:"mx-right-arrow","aria-hidden":"true",viewBox:"0 0 1024 1024"},U=(0,r.createElementVNode)("path",{d:"M307.018 49.445c11.517 0 23.032 4.394 31.819 13.18L756.404 480.18c8.439 8.438 13.181 19.885 13.181 31.82s-4.741 23.38-13.181 31.82L338.838 961.376c-17.574 17.573-46.065 17.573-63.64-0.001-17.573-17.573-17.573-46.065 0.001-63.64L660.944 512 275.198 126.265c-17.574-17.573-17.574-46.066-0.001-63.64C283.985 53.839 295.501 49.445 307.018 49.445z"},null,-1),G=[U];function ue(E,N){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",Z,G)}const _={},w=(0,$e.Z)(_,[["render",ue]]),R=w,L=(0,r.defineComponent)({name:"ContextMenuItem",components:{VNodeRender:I,ContextMenuIconCheck:B,ContextMenuIconRight:R},props:{disabled:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},customRender:{type:Function,default:null},customClass:{type:String,default:""},clickHandler:{type:Function,default:null},label:{type:[String,Object,Function],default:""},icon:{type:[String,Object,Function],default:""},iconFontClass:{type:String,default:"iconfont"},checked:{type:Boolean,default:!1},shortcut:{type:String,default:""},svgIcon:{type:String,default:""},svgProps:{type:Object,default:null},preserveIconWidth:{type:Boolean,default:!0},showRightArrow:{type:Boolean,default:!1},hasChildren:{type:Boolean,default:!1},clickClose:{type:Boolean,default:!0},clickableWhenHasChildren:{type:Boolean,default:!1},rawMenuItem:{type:Object,default:void 0}},emits:["click","subMenuOpen","subMenuClose"],setup:function(E,N){var K=(0,r.toRefs)(E),se=K.clickHandler,xe=K.clickClose,Ee=K.clickableWhenHasChildren,pe=K.disabled,fe=K.hidden,ye=K.label,Ke=K.icon,ne=K.iconFontClass,Te=K.showRightArrow,Ye=K.shortcut,yt=K.hasChildren,rt=(0,r.ref)(!1),de=(0,r.ref)(!1),me=(0,r.ref)(),ot=(0,r.inject)("globalHasSlot"),ft=(0,r.inject)("globalRenderSlot"),Yt=(0,r.inject)("globalTheme"),be=(0,r.inject)("globalIconFontClass"),dt=(0,r.inject)("globalClickCloseClassName"),Ft=(0,r.inject)("globalIgnoreClickClassName"),Bt=(0,r.inject)("globalCloseMenu"),Ze=(0,r.inject)("menuContext"),_t={showSubMenu:function(){return rt.value?(Ze.markActiveMenuItem(_t,!0),!0):!!yt.value&&(St(),!0)},isDisabledOrHidden:function(){return pe.value||fe.value},getElement:function(){return me.value},focus:function(){return de.value=!0},blur:function(){return de.value=!1},click:bt};function bt(Xe){if(!pe.value){if(Xe){var ct=Xe.target;if(ct.classList.contains("mx-context-no-clickable")||Ft&&ct.classList.contains(Ft))return;if(dt&&ct.classList.contains(dt))return Xe.stopPropagation(),void Bt(E.rawMenuItem)}yt.value?Ee.value?(typeof se.value=="function"&&se.value(Xe),N.emit("click",Xe)):rt.value||St():(typeof se.value=="function"&&se.value(Xe),N.emit("click",Xe),xe.value&&Bt(E.rawMenuItem))}}function St(Xe){de.value=!1,Ze.checkCloseOtherSubMenuTimeOut()||Ze.closeOtherSubMenu(),pe.value||(Ze.markActiveMenuItem(_t),yt.value&&(Xe||Ze.markThisOpenedByKeyBoard(),Ze.addOpenedSubMenu(function(){de.value=!1,rt.value=!1,N.emit("subMenuClose")}),rt.value=!0,N.emit("subMenuOpen")))}return(0,r.onMounted)(function(){Ze.isMenuItemDataCollectedFlag()?(0,r.nextTick)(function(){var Xe=0,ct=Ze.getElement();if(ct)for(var ze=0,Ot=0;Ot<ct.children.length;Ot++){var ie=ct.children[Ot];if(ie.getAttribute("data-type")==="ContextMenuItem"){if(ie===me.value){Xe=ze;break}ze++}}Ze.addChildMenuItem(_t,Xe)}):Ze.addChildMenuItem(_t)}),(0,r.onBeforeUnmount)(function(){Ze.removeChildMenuItem(_t)}),{getItemDataForChildren:function(){return{disabled:pe.value,label:ye.value,icon:Ke.value,iconFontClass:ne.value,showRightArrow:Te.value,clickClose:xe.value,clickableWhenHasChildren:Ee.value,shortcut:Ye.value,theme:Yt,isOpen:rt,hasChildren:yt,onClick:bt,onMouseEnter:St,closeMenu:Bt}},showSubMenu:rt,keyBoardFocusMenu:de,menuItemRef:me,globalHasSlot:ot,globalRenderSlot:ft,globalIconFontClass:be,onMouseEnter:St,onClick:bt}}}),j=(0,$e.Z)(L,[["render",Me]]),$=j;var Y={key:1,class:"mx-context-menu-item-sperator mx-context-no-clickable"};function H(E,N,K,se,xe,Ee){var pe=(0,r.resolveComponent)("VNodeRender");return E.globalHasSlot("separatorRender")?((0,r.openBlock)(),(0,r.createBlock)(pe,{key:0,vnode:function(){return E.globalRenderSlot("separatorRender",{})}},null,8,["vnode"])):((0,r.openBlock)(),(0,r.createElementBlock)("div",Y))}const W=(0,r.defineComponent)({name:"ContextMenuSperator",components:{VNodeRender:I},setup:function(){var E=(0,r.inject)("globalHasSlot"),N=(0,r.inject)("globalRenderSlot");return{globalHasSlot:E,globalRenderSlot:N}}}),D=(0,$e.Z)(W,[["render",H]]),ee=D,Q=(0,r.defineComponent)({name:"ContextSubMenu",components:{ContextMenuItem:$,ContextMenuSeparator:ee,ContextMenuIconRight:R},props:{items:{type:Object,default:null},maxWidth:{type:[String,Number],default:0},minWidth:{type:[String,Number],default:0},adjustPosition:{type:Boolean,default:!0},direction:{type:String,default:"br"}},setup:function(E){var N=(0,r.inject)("menuContext"),K=(0,r.inject)("globalOptions"),se=(0,r.inject)("globalHasSlot"),xe=(0,r.inject)("globalRenderSlot"),Ee=(0,r.inject)("globalTheme"),pe=N.zIndex,fe=N.getParentWidth,ye=N.getParentHeight,Ke=(0,r.toRefs)(E),ne=Ke.adjustPosition,Te=(0,r.ref)(),Ye=(0,r.ref)(),yt=[],rt=(0,r.inject)("globalSetCurrentSubMenu"),de=[],me=null,ot=0;function ft(){me&&me.blur()}function Yt(ie,Pe){if(ie){for(var Nt=Pe!==void 0?Pe:0;Nt<de.length;Nt++)if(!de[Nt].isDisabledOrHidden()){be(Nt);break}}else for(var un=Pe!==void 0?Pe:de.length-1;un>=0;un--)if(!de[un].isDisabledOrHidden()){be(un);break}}function be(ie){if(me&&ft(),ie!==void 0&&(me=de[Math.max(0,Math.min(ie,de.length-1))]),me&&(me.focus(),ct.value)){var Pe=me.getElement();Pe&&(bt.value=Math.min(Math.max(-St.value,-Pe.offsetTop-Pe.offsetHeight+Ot.value),0))}}function dt(){rt(Ft)}var Ft={isTopLevel:function(){return N.getParentContext()===null},closeSelfAndActiveParent:function(){var ie=_t.getParentContext();if(ie){ie.closeOtherSubMenu();var Pe=ie.getSubMenuInstanceContext();if(Pe)return Pe.focusCurrentItem(),!0}return!1},closeCurrentSubMenu:function(){var ie;return(ie=_t.getParentContext())===null||ie===void 0?void 0:ie.closeOtherSubMenu()},moveCurrentItemFirst:function(){return Yt(!0)},moveCurrentItemLast:function(){return Yt(!1)},moveCurrentItemDown:function(){return Yt(!0,me?de.indexOf(me)+1:0)},moveCurrentItemUp:function(){return Yt(!1,me?de.indexOf(me)-1:0)},focusCurrentItem:function(){return be()},openCurrentItemSubMenu:function(){var ie;return!!me&&((ie=me)===null||ie===void 0?void 0:ie.showSubMenu())},triggerCurrentItemClick:function(ie){var Pe;return(Pe=me)===null||Pe===void 0?void 0:Pe.click(ie)}},Bt=!1,Ze=!1,_t={zIndex:pe+1,container:N.container,adjustPadding:K.adjustPadding||m.defaultAdjustPadding,getParentWidth:function(){var ie;return((ie=Te.value)===null||ie===void 0?void 0:ie.offsetWidth)||0},getParentHeight:function(){var ie;return((ie=Te.value)===null||ie===void 0?void 0:ie.offsetHeight)||0},getParentX:function(){return ze.value.x},getParentY:function(){return ze.value.y},getParentAbsX:function(){return Te.value?C(Te.value,N.container):0},getParentAbsY:function(){return Te.value?g(Te.value,N.container):0},getPositon:function(){return[0,0]},addOpenedSubMenu:function(ie){yt.push(ie)},closeOtherSubMenu:function(){yt.forEach(function(ie){return ie()}),yt.splice(0,yt.length),rt(Ft)},checkCloseOtherSubMenuTimeOut:function(){return!!ot&&(clearTimeout(ot),ot=0,!0)},closeOtherSubMenuWithTimeOut:function(){var ie=this;ot=setTimeout(function(){ot=0,ie.closeOtherSubMenu()},200)},addChildMenuItem:function(ie,Pe){Pe===void 0?de.push(ie):de.splice(Pe,0,ie)},removeChildMenuItem:function(ie){de.splice(de.indexOf(ie),1)},markActiveMenuItem:function(ie){var Pe=arguments.length>1&&arguments[1]!==void 0&&arguments[1];ft(),me=ie,Pe&&be()},markThisOpenedByKeyBoard:function(){Bt=!0},isOpenedByKeyBoardFlag:function(){return!!Bt&&(Bt=!1,!0)},isMenuItemDataCollectedFlag:function(){return Ze},getElement:function(){return Te.value||null},getParentContext:function(){return N},getSubMenuInstanceContext:function(){return Ft}};(0,r.provide)("menuContext",_t);var bt=(0,r.ref)(0),St=(0,r.ref)(0);function Xe(ie){bt.value=ie?Math.max(bt.value-50,-St.value):Math.min(bt.value+50,0)}var ct=(0,r.ref)(!1),ze=(0,r.ref)({x:0,y:0}),Ot=(0,r.ref)(0);return(0,r.onMounted)(function(){var ie,Pe,Nt,un,$i=N.getPositon();ze.value={x:(ie=(Pe=$i[0])!==null&&Pe!==void 0?Pe:K.xOffset)!==null&&ie!==void 0?ie:0,y:(Nt=(un=$i[1])!==null&&un!==void 0?un:K.yOffset)!==null&&Nt!==void 0?Nt:0},rt(Ft),(0,r.nextTick)(function(){var st=Te.value;if(st&&Ye.value){var cs,us,as,fs,ds,ps,Jn=N.container,hs=(cs=fe==null?void 0:fe())!==null&&cs!==void 0?cs:0,Pa=(us=ye==null?void 0:ye())!==null&&us!==void 0?us:0,so=typeof N.adjustPadding=="number"?N.adjustPadding:(as=(fs=N.adjustPadding)===null||fs===void 0?void 0:fs.x)!==null&&as!==void 0?as:0,io=typeof N.adjustPadding=="number"?N.adjustPadding:(ds=(ps=N.adjustPadding)===null||ps===void 0?void 0:ps.y)!==null&&ds!==void 0?ds:0,lo=Pa>0?io:0,Ra=document.documentElement.scrollHeight,Ia=document.documentElement.scrollWidth,Ma=Math.min(Ia,Jn.offsetWidth),ms=Math.min(Ra,Jn.offsetHeight),gs=C(st,Jn),vs=g(st,Jn);E.direction.includes("l")?ze.value.x-=st.offsetWidth+so:E.direction.includes("r")?ze.value.x+=hs+so:(ze.value.x+=hs/2,ze.value.x-=(st.offsetWidth+so)/2),E.direction.includes("t")?ze.value.y-=st.offsetHeight+2*io:E.direction.includes("b")?ze.value.y-=io:ze.value.y-=(st.offsetHeight+io)/2,ne.value&&(0,r.nextTick)(function(){gs=C(st,Jn),vs=g(st,Jn);var Aa=gs+st.offsetWidth-Ma,Di=vs+st.offsetHeight-ms;if(St.value=st.offsetHeight-ms-2*lo,ct.value=Di>0,Aa>0){var Hi=hs+st.offsetWidth-so,Vi=gs;ze.value.x-=Hi>Vi?Vi:Hi}if(ct.value){var Ui=Di,Wi=vs;ze.value.y-=Ui>Wi?Wi-lo:Ui-2*lo,Ot.value=ms-2*lo}else Ot.value=0})}st==null||st.focus({preventScroll:!0}),N.isOpenedByKeyBoardFlag()&&Yt(!0),Ze=!0})}),{menu:Te,scroll:Ye,options:K,zIndex:pe,constOptions:m,scrollValue:bt,overflow:ct,position:ze,scrollHeight:St,maxHeight:Ot,globalHasSlot:se,globalRenderSlot:xe,globalTheme:Ee,onScroll:Xe,onSubMenuBodyClick:dt,solveNumberOrStringSize:A}}}),oe=(0,$e.Z)(Q,[["render",P]]),ce=oe,ge=(0,r.defineComponent)({name:"ContextMenu",emits:["update:show","close"],props:{options:{type:Object,default:null},show:{type:Boolean,default:!1},container:{type:Object,default:null},isFullScreenContainer:{type:Boolean,default:!0}},setup:function(E,N){var K,se,xe,Ee,pe=(0,r.toRefs)(E),fe=pe.options,ye=pe.show,Ke=pe.container;(0,r.onMounted)(function(){ye&&Te()}),(0,r.onBeforeUnmount)(function(){rt()}),(0,r.watch)(ye,function(be){be?Te():rt()});var ne={closeMenu:Ye};function Te(){yt(),f(ne)}function Ye(be){N.emit("update:show",!1),N.emit("close",be),u(ne)}function yt(){setTimeout(function(){document.addEventListener("click",ft,!0),document.addEventListener("contextmenu",ft,!0),document.addEventListener("scroll",ot,!0),!E.isFullScreenContainer&&Ke.value&&Ke.value.addEventListener("scroll",ot,!0),fe.value.keyboardControl!==!1&&document.addEventListener("keydown",me)},50)}function rt(){document.removeEventListener("contextmenu",ft,!0),document.removeEventListener("click",ft,!0),document.removeEventListener("scroll",ot,!0),!E.isFullScreenContainer&&Ke.value&&Ke.value.removeEventListener("scroll",ot,!0),fe.value.keyboardControl!==!1&&document.removeEventListener("keydown",me)}N.expose({closeMenu:Ye});var de=(0,r.ref)();function me(be){var dt,Ft,Bt,Ze,_t,bt,St,Xe,ct=!0;switch(be.key){case"Escape":var ze,Ot;((ze=de.value)===null||ze===void 0?void 0:ze.isTopLevel())===!1?(Ot=de.value)===null||Ot===void 0||Ot.closeCurrentSubMenu():Ye();break;case"ArrowDown":(dt=de.value)===null||dt===void 0||dt.moveCurrentItemDown();break;case"ArrowUp":(Ft=de.value)===null||Ft===void 0||Ft.moveCurrentItemUp();break;case"Home":(Bt=de.value)===null||Bt===void 0||Bt.moveCurrentItemFirst();break;case"End":(Ze=de.value)===null||Ze===void 0||Ze.moveCurrentItemLast();break;case"ArrowLeft":var ie,Pe,Nt;(ie=de.value)!==null&&ie!==void 0&&ie.closeSelfAndActiveParent()||(Pe=(Nt=fe.value).onKeyFocusMoveLeft)===null||Pe===void 0||Pe.call(Nt);break;case"ArrowRight":(_t=de.value)!==null&&_t!==void 0&&_t.openCurrentItemSubMenu()||(bt=(St=fe.value).onKeyFocusMoveRight)===null||bt===void 0||bt.call(St);break;case"Enter":(Xe=de.value)===null||Xe===void 0||Xe.triggerCurrentItemClick(be);break;default:ct=!1;break}ct&&de.value&&(be.stopPropagation(),be.preventDefault())}function ot(){fe.value.closeWhenScroll!==!1&&Ye()}function ft(be){Yt(be.target)}function Yt(be){for(;be;){if(be.classList&&be.classList.contains("mx-menu-host"))return;be=be.parentNode}rt(),Ye()}return(0,r.provide)("globalSetCurrentSubMenu",function(be){return de.value=be}),(0,r.provide)("globalOptions",fe.value),(0,r.provide)("globalCloseMenu",Ye),(0,r.provide)("globalTheme",((K=fe.value)===null||K===void 0?void 0:K.theme)||"light"),(0,r.provide)("globalIsFullScreenContainer",E.isFullScreenContainer),(0,r.provide)("globalClickCloseClassName",(se=fe.value)===null||se===void 0?void 0:se.clickCloseClassName),(0,r.provide)("globalIgnoreClickClassName",(xe=fe.value)===null||xe===void 0?void 0:xe.ignoreClickClassName),(0,r.provide)("globalIconFontClass",((Ee=fe.value)===null||Ee===void 0?void 0:Ee.iconFontClass)||"iconfont"),(0,r.provide)("globalHasSlot",function(be){return N.slots[be]!==void 0}),(0,r.provide)("globalRenderSlot",function(be,dt){return(0,r.renderSlot)(N.slots,be,k({},dt),function(){return[(0,r.h)("span","Render slot failed")]},!1)}),(0,r.provide)("menuContext",{zIndex:fe.value.zIndex||m.defaultZindex,container:Ke.value,adjustPadding:{x:0,y:0},getParentAbsY:function(){return fe.value.x},getParentAbsX:function(){return fe.value.y},getParentX:function(){return 0},getParentY:function(){return 0},getParentWidth:function(){return 0},getParentHeight:function(){return 0},getPositon:function(){return[fe.value.x,fe.value.y]},closeOtherSubMenuWithTimeOut:function(){},checkCloseOtherSubMenuTimeOut:function(){return!1},addOpenedSubMenu:function(){},closeOtherSubMenu:function(){},getParentContext:function(){return null},getSubMenuInstanceContext:function(){return null},getElement:function(){return null},addChildMenuItem:function(){},removeChildMenuItem:function(){},markActiveMenuItem:function(){},markThisOpenedByKeyBoard:function(){},isOpenedByKeyBoardFlag:function(){return!1},isMenuItemDataCollectedFlag:function(){return!1}}),function(){var be,dt;return ye.value?[(0,r.h)("div",{class:"mx-menu-ghost-host"},[(0,r.h)(ce,{class:"mx-menu-host",items:(be=fe.value)===null||be===void 0?void 0:be.items,adjustPosition:(dt=fe.value)===null||dt===void 0?void 0:dt.adjustPosition,maxWidth:fe.value.maxWidth||m.defaultMaxWidth,minWidth:fe.value.minWidth||m.defaultMinWidth,direction:fe.value.direction||m.defaultDirection},{default:N.slots.default})])]:[]}}}),Oe=ge,Ce=Oe,He=(0,r.defineComponent)({name:"ContextMenu",emits:["update:show","close"],props:{options:{type:Object,default:null},show:{type:Boolean,default:!1}},setup:function(E,N){var K=(0,r.toRefs)(E),se=K.options,xe=K.show;return N.expose({closeMenu:function(){return N.emit("update:show",!1)}}),function(){var Ee=b(se.value),pe=Ee.isNew,fe=Ee.container,ye=Ee.eleId,Ke=xe.value?[(0,r.h)(Ce,{options:se,show:!0,container:fe,isFullScreenContainer:!pe,"onUpdate:show":function(ne){return N.emit("update:show",ne)},onClose:function(ne){var Te,Ye;N.emit("update:show",!1),N.emit("close"),(Te=(Ye=se.value).onClose)===null||Te===void 0||Te.call(Ye,ne)}},N.slots)]:[];return[(0,r.h)(r.Teleport,{to:"#".concat(ye)},Ke)]}}}),vt=He,Jt=vt;function qn(E){return qn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(N){return typeof N}:function(N){return N&&typeof Symbol=="function"&&N.constructor===Symbol&&N!==Symbol.prototype?"symbol":typeof N},qn(E)}const In=(0,r.defineComponent)({name:"ContextMenuGroup",props:{disabled:{type:Boolean,default:!1},hidden:{type:Boolean,default:!1},clickHandler:{type:Function,default:null},label:{type:String,default:""},icon:{type:String,default:""},iconFontClass:{type:String,default:"iconfont"},checked:{type:Boolean,default:!1},shortcut:{type:String,default:""},svgIcon:{type:String,default:""},svgProps:{type:Object,default:null},preserveIconWidth:{type:Boolean,default:!0},showRightArrow:{type:Boolean,default:!1},clickClose:{type:Boolean,default:!0},adjustSubMenuPosition:{type:Boolean,default:void 0},maxWidth:{type:[String,Number],default:0},minWidth:{type:[String,Number],default:0}},setup:function(E,N){var K=(0,r.inject)("globalOptions"),se=(0,r.toRefs)(E),xe=se.adjustSubMenuPosition,Ee=se.maxWidth,pe=se.minWidth,fe=typeof xe.value<"u"?xe.value:K.adjustPosition;return function(){return(0,r.h)($,k(k({},E),{},{showRightArrow:!0,maxWidth:void 0,minWidth:void 0,adjustSubMenuPosition:void 0,hasChildren:qn(N.slots.default)!==void 0}),N.slots.default?{submenu:function(){return(0,r.h)(ce,{maxWidth:Ee.value,minWidth:pe.value,adjustPosition:fe},{default:N.slots.default})}}:void 0)}}}),oo=In,nt=oo;function kt(E,N,K,se){var xe=(0,r.h)(Ce,{options:E,show:!0,container:N,isFullScreenContainer:!K,onClose:function(Ee){var pe;(0,r.render)(null,N),(pe=E.onClose)===null||pe===void 0||pe.call(E,Ee)}},se);return(0,r.render)(xe,N),xe.component}function vr(E,N){var K=b(E),se=kt(E,K.container,K.isNew,N);return se.exposed}const ls={install:function(E){E.config.globalProperties.$contextmenu=vr,E.component("ContextMenu",Jt),E.component("ContextMenuItem",$),E.component("ContextMenuGroup",nt),E.component("ContextMenuSperator",ee),E.component("ContextMenuSeparator",ee),E.component("ContextSubMenu",ce)},showContextMenu:function(E,N){return vr(E,N)},closeContextMenu:p,transformMenuPosition:x};var aa={key:0,ref:"menuBarContent",class:"mx-menu-bar-content"},fa={key:1,ref:"menuBarContent",class:"mx-menu-bar-content"},da=["onClick","onMouseenter"];function pa(E,N,K,se,xe,Ee){var pe,fe=(0,r.resolveComponent)("MenuBarIconMenu");return(0,r.openBlock)(),(0,r.createElementBlock)("div",{class:(0,r.normalizeClass)(["mx-menu-bar",(pe=E.options.theme)!==null&&pe!==void 0?pe:"",E.options.mini?"mini":""]),onFocus:N[1]||(N[1]=function(){return E.onFocus&&E.onFocus.apply(E,arguments)}),onBlur:N[2]||(N[2]=function(){return E.onBlur&&E.onBlur.apply(E,arguments)})},[(0,r.renderSlot)(E.$slots,"prefix"),E.options.mini?((0,r.openBlock)(),(0,r.createElementBlock)("div",aa,[(0,r.createElementVNode)("div",{class:"mx-menu-bar-item",onClick:N[0]||(N[0]=function(ye){return E.onItemClick(0,null)})},[(0,r.createVNode)(fe)])],512)):((0,r.openBlock)(),(0,r.createElementBlock)("div",fa,[((0,r.openBlock)(!0),(0,r.createElementBlock)(r.Fragment,null,(0,r.renderList)(E.menuItems,function(ye,Ke){return(0,r.openBlock)(),(0,r.createElementBlock)("div",{key:Ke,class:(0,r.normalizeClass)(["mx-menu-bar-item",ye==E.menuActive?"active":""]),onClick:function(ne){return E.onItemClick(Ke,ye)},onMouseenter:function(ne){return E.onItemEnter(Ke,ye)}},(0,r.toDisplayString)(ye.label),43,da)}),128))],512)),(0,r.renderSlot)(E.$slots,"suffix")],34)}var ha={class:"mx-menu-bar-icon-menu",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"200",height:"200"},ma=(0,r.createElementVNode)("path",{d:"M133.310936 296.552327l757.206115 0c19.781623 0 35.950949-16.169326 35.950949-35.950949 0-19.781623-15.997312-35.950949-35.950949-35.950949L133.310936 224.650428c-19.781623 0-35.950949 16.169326-35.950949 35.950949C97.359987 280.383 113.529313 296.552327 133.310936 296.552327z"},null,-1),ga=(0,r.createElementVNode)("path",{d:"M890.51705 476.135058 133.310936 476.135058c-19.781623 0-35.950949 16.169326-35.950949 35.950949 0 19.781623 16.169326 35.950949 35.950949 35.950949l757.206115 0c19.781623 0 35.950949-16.169326 35.950949-35.950949C926.467999 492.304384 910.298673 476.135058 890.51705 476.135058z"},null,-1),va=(0,r.createElementVNode)("path",{d:"M890.51705 727.447673 133.310936 727.447673c-19.781623 0-35.950949 15.997312-35.950949 35.950949s16.169326 35.950949 35.950949 35.950949l757.206115 0c19.781623 0 35.950949-15.997312 35.950949-35.950949S910.298673 727.447673 890.51705 727.447673z"},null,-1),ya=[ma,ga,va];function _a(E,N){return(0,r.openBlock)(),(0,r.createElementBlock)("svg",ha,ya)}const ba={},wa=(0,$e.Z)(ba,[["render",_a]]),xa=wa,Ca=(0,r.defineComponent)({name:"MenuBar",emits:[],props:{options:{type:Object,default:null}},components:{MenuBarIconMenu:xa},setup:function(E){var N=(0,r.ref)(),K=(0,r.ref)(!1),se=(0,r.ref)([]),xe=(0,r.ref)(null);function Ee(){K.value=!0}function pe(){K.value=!1}(0,r.onMounted)(function(){se.value=E.options.items||[]}),(0,r.watch)(function(){return E.options},function(){se.value=E.options.items||[]});var fe=null,ye=-1;function Ke(){ye<se.value.length-1?ye++:ye=0,Te(ye,se.value[ye])}function ne(){ye>0?ye--:ye=se.value.length-1,Te(ye,se.value[ye])}function Te(de,me){var ot;if(ye=de,me.children){fe&&(fe.closeMenu(),fe=null,K.value=!0),xe.value=me;var ft=(ot=N.value)===null||ot===void 0?void 0:ot.children[de];ft&&(fe=ls.showContextMenu(k(k({},E.options),{},{items:me.children,x:C(ft),y:g(ft)+ft.offsetHeight,onKeyFocusMoveLeft:function(){ne()},onKeyFocusMoveRight:function(){Ke()},onClose:function(){xe.value==me&&(K.value=!1,xe.value=null)}})))}}function Ye(){ye=0;var de=N.value;de&&(fe=ls.showContextMenu(k(k({},E.options),{},{x:C(de),y:g(de)+de.offsetHeight})))}function yt(de,me){me?(K.value=!0,Te(de,me),me.onClick&&(me.clickableWhenHasChildren===!0&&me.children&&me.children.length>0||!me.children||me.children.length===0)&&me.onClick()):Ye()}function rt(de,me){K.value&&Te(de,me)}return{menuItems:se,menuActive:xe,menuBarContent:N,menuBarActive:K,onFocus:Ee,onBlur:pe,onItemClick:yt,onItemEnter:rt}}}),Ea=(0,$e.Z)(Ca,[["render",pa]]),ka=Ea,Sa=ls,Oa=Sa})(),a})())})(la);var Vm=la.exports;const Ni=$m(Vm),Um=Ge({__name:"FileSize",props:{doc:{}},setup(e){const t=Fe(()=>{const o=n.doc.sizedisp.split(" ").slice(-1)[0];return+o?"bytes":o}),n=e;return(o,s)=>(he(),ke("td",{class:Mt(["size right",t.value])},tt(o.doc.sizedisp),3))}});const Wm=no(Um,[["__scopeId","data-v-0f1301ed"]]),Km={class:"modified right"},zm=["data-tooltip","datetime"],qm=Ge({__name:"FileModified",props:{doc:{}},setup(e){const t=Fe(()=>new Date(1e3*o.doc.mtime).toISOString().replace(".000Z","Z")),n=Fe(()=>t.value.replace("T",`
11
- `).replace("Z"," UTC")),o=e;return(s,i)=>(he(),ke("td",Km,[re("time",{"data-tooltip":n.value,datetime:t.value},tt(s.doc.modified),9,zm)]))}}),Jm=["onKeyup"],Xl=Ge({__name:"FileRenameInput",props:{doc:{},rename:{type:Function},exit:{type:Function}},setup(e){const t=Ve(null),n=Ve("");At(()=>{n.value=o.doc.name;const i=n.value.lastIndexOf(".");zn(()=>{t.value.focus(),t.value.setSelectionRange(0,i>0?i:n.value.length)})});const o=e,s=()=>{o.exit(),!(o.doc.key!=="new"&&(n.value===o.doc.name||n.value.length===0))&&o.rename(o.doc,n.value)};return(i,a)=>Vr((he(),ke("input",{ref_key:"input",ref:t,id:"FileRenameInput",type:"text",autocorrect:"off","onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),onBlur:a[1]||(a[1]=(...l)=>i.exit&&i.exit(...l)),onKeyup:[a[2]||(a[2]=sn((...l)=>i.exit&&i.exit(...l),["esc"])),sn(s,["enter"])]},null,40,Jm)),[[Un,n.value]])}});const is=e=>(Ko("data-v-5dfda1f2"),e=e(),zo(),e),Ym={key:0},Zm={class:"selection"},Xm=["indeterminate"],Qm=is(()=>re("th",{class:"menu"},null,-1)),Gm={key:0,class:"folder"},eg=is(()=>re("td",{class:"selection"},null,-1)),tg={class:"name"},ng=is(()=>re("td",{class:"menu"},null,-1)),rg={key:0,class:"folder-change"},og={colspan:"5"},sg=["id","onClick","onContextmenu"],ig=["onClick"],lg=["checked","onChange"],cg={class:"name"},ug=["href","onFocus","onKeyup"],ag=["onClick"],fg={class:"menu"},dg=["onClick"],pg={key:1,class:"summary"},hg={colspan:"3",class:"right"},mg={class:"size right"},gg=is(()=>re("td",{class:"menu"},null,-1)),vg={key:1,class:"empty-container"},yg=Ge({__name:"FileExplorer",props:{path:{},documents:{}},setup(e,{expose:t}){const n=e,o=Et(),s=ta(),i=Nr(null),a=Nr(null),l=(h,b)=>{const A=h.name,I=qr(ei,{message(O){const S=JSON.parse(O.data);"error"in S?(console.error("Rename failed",S.error.message,S.error),h.name=A):console.log("Rename succeeded",S)}});I.onopen=()=>{I.send(JSON.stringify({op:"rename",path:`${h.loc}/${A}`,to:b}))},h.name=b};t({newFolder(){const h=Math.floor(Date.now()/1e3);a.value=new oa({loc:y.value,key:"new",name:"New Folder",dir:!0,mtime:h,size:0})},toggleSelectAll(){console.log("Select"),x.value=!x.value},toggleSortColumn(h){const b=["","name","modified","size",""][h];b&&o.toggleSort(b)},isCursor(){return i.value!==null&&a.value===null},cursorRename(){a.value=i.value},cursorSelect(){const h=i.value;h&&(o.selected.has(h.key)?o.selected.delete(h.key):o.selected.add(h.key),this.cursorMove(1))},cursorMove(h,b=!1){const A=n.documents;if(A.length===0){i.value=null;return}const I=A.length,O=(F,V)=>(F%V+V)%V,S=(F,V)=>O(F+V,I+1),k=i.value!==null?A.indexOf(i.value):A.length,M=S(k,h);i.value=A[M]??null;const P=i.value?document.getElementById(`file-${i.value.key}`):null;if(b){let[F,V]=h>0?[k,M]:[M,k];for(let z=F;z!==V;z=S(z,1)){if(z===I)continue;const T=A[z].key;o.selected.has(T)?o.selected.delete(T):o.selected.add(T)}}c=P,r||(r=setTimeout(()=>{c&&c.scrollIntoView({block:"center",behavior:"smooth"}),r=null},300)),M===I&&d()}});const d=()=>{const h=document.querySelector(".breadcrumb");h&&h.focus()};let r=null,c=null;En(()=>{if(i.value&&i.value!==a.value&&(a.value=null),a.value&&(i.value=a.value),i.value){const h=document.querySelector(`#file-${i.value.key} .name a`);h&&h.focus()}}),En(()=>{!n.documents.length&&i.value&&(i.value=null,d())});let f=Ve(0),u=null;const p=()=>{f.value=Math.floor(Date.now()/1e3)};At(()=>{p(),u=setInterval(p,1e3)}),kn(()=>{clearInterval(u)});const m=(h,b)=>{const A=qr(ei,{open(){A.send(JSON.stringify({op:"mkdir",path:`${h.loc}/${b}`}))},message(I){const O=JSON.parse(I.data);"error"in O?(console.error("Mkdir failed",O.error.message,O.error),a.value=null):(console.log("mkdir",O),s.push(h.urlrouter))}});h.name=b,h.key=crypto.randomUUID()},g=h=>{const b=n.documents,A=b[h].loc;return h===0?A!==y.value:A!==b[h-1].loc},C=Fe({get:()=>n.documents.length>0&&n.documents.some(h=>o.selected.has(h.key))&&!x.value,set:h=>{}}),x=Fe({get:()=>n.documents.length>0&&n.documents.every(h=>o.selected.has(h.key)),set:h=>{console.log("Setting allSelected",h);for(const b of n.documents)h?o.selected.add(b.key):o.selected.delete(b.key)}}),y=Fe(()=>n.path.join("/")),v=(h,b)=>{i.value=b,Ni.showContextMenu({x:h.x,y:h.y,items:[{label:"Rename",onClick:()=>{a.value=b}}]})};return(h,b)=>{var S;const A=qm,I=Wm,O=na;return n.documents.length||a.value?(he(),ke("table",Ym,[re("thead",null,[re("tr",null,[re("th",Zm,[Vr(re("input",{type:"checkbox",tabindex:"-1","onUpdate:modelValue":b[0]||(b[0]=k=>x.value=k),indeterminate:C.value},null,8,Xm),[[ns,x.value]])]),re("th",{class:Mt(["sortcolumn",{sortactive:_e(o).sortOrder==="name"}]),onClick:b[1]||(b[1]=k=>_e(o).toggleSort("name"))},"Name",2),re("th",{class:Mt(["sortcolumn modified right",{sortactive:_e(o).sortOrder==="modified"}]),onClick:b[2]||(b[2]=k=>_e(o).toggleSort("modified"))},"Modified",2),re("th",{class:Mt(["sortcolumn size right",{sortactive:_e(o).sortOrder==="size"}]),onClick:b[3]||(b[3]=k=>_e(o).toggleSort("size"))},"Size",2),Qm])]),re("tbody",null,[((S=a.value)==null?void 0:S.key)==="new"?(he(),ke("tr",Gm,[eg,re("td",tg,[ae(Xl,{doc:a.value,rename:m,exit:()=>{a.value=null}},null,8,["doc","exit"])]),(he(),zt(A,{doc:a.value,key:_e(f)},null,8,["doc"])),ae(I,{doc:a.value},null,8,["doc"]),ng])):at("",!0),(he(!0),ke(Le,null,ki(h.documents,(k,M)=>(he(),ke(Le,{key:k.key},[g(M)?(he(),ke("tr",rg,[re("th",og,[ae(O,{path:k.loc?k.loc.split("/"):[]},null,8,["path"])])])):at("",!0),re("tr",{id:`file-${k.key}`,class:Mt({file:!k.dir,folder:k.dir,cursor:i.value===k}),onClick:P=>i.value=i.value===k?null:k,onContextmenu:Rt(P=>v(P,k),["prevent"])},[re("td",{class:"selection",onClick:Rt(P=>i.value=i.value===k?k:null,["stop"])},[re("input",{type:"checkbox",tabindex:"-1",checked:_e(o).selected.has(k.key),onChange:P=>P.target.checked?_e(o).selected.add(k.key):_e(o).selected.delete(k.key)},null,40,lg)],8,ig),re("td",cg,[a.value===k?(he(),zt(Xl,{key:0,doc:k,rename:l,exit:()=>{a.value=null}},null,8,["doc","exit"])):(he(),ke(Le,{key:1},[re("a",{href:k.url,tabindex:"-1",onContextmenu:b[4]||(b[4]=Rt(()=>{},["prevent"])),onFocus:Rt(P=>i.value=k,["stop"]),onKeyup:[b[5]||(b[5]=sn(P=>_e(s).back(),["left"])),sn(Rt(P=>{k.dir&&P.target.click()},["stop"]),["right"])]},tt(k.name),41,ug),i.value==k?(he(),ke("button",{key:0,class:"rename-button",onClick:()=>a.value=k},"🖊️",8,ag)):at("",!0)],64))]),(he(),zt(A,{doc:k,key:_e(f)},null,8,["doc"])),ae(I,{doc:k},null,8,["doc"]),re("td",fg,[re("button",{tabindex:"-1",onClick:Rt(P=>v(P,k),["stop"])},"⋮",8,dg)])],42,sg)],64))),128)),n.documents.length>1?(he(),ke("tr",pg,[re("td",hg,tt(n.documents.length)+" items",1),re("td",mg,tt(_e(ra)(n.documents.reduce((k,M)=>k+M.size,0))),1),gg])):at("",!0)])])):(he(),ke("div",vg,"Nothing to see here"))}}});const _g=no(yg,[["__scopeId","data-v-5dfda1f2"]]),bg=Ge({__name:"ExplorerView",props:{path:{},query:{}},setup(e){const t=Et(),n=Ve(),o=e,s=Fe(()=>{const i=o.path.join("/"),a=o.query;if(!a)return Gs(t.document.filter(u=>u.loc===i),t.prefs.sortListing);const l=pm(a);let d=100,r=[];for(const u of t.recentDocuments)if(hm(u.haystack,l)&&(r.push(u),--d===0))break;const c=i+"/",f=t.prefs.sortFiltered;return f?Gs(r,f):(r.sort((u,p)=>(p.loc===i)-(u.loc===i)||(p.loc.slice(0,c.length)===c)-(u.loc.slice(0,c.length)===c)||zr.compare(u.loc,p.loc)||(u.type==="file")-(p.type==="file")||p.name.includes(a)-u.name.includes(a)||zr.compare(u.name,p.name)),r)});return En(()=>{t.fileExplorer=n.value,t.query=o.query}),(i,a)=>{const l=_g;return o.path?(he(),zt(l,{ref_key:"fileExplorer",ref:n,key:_e(Jr).currentRoute.value.path,path:o.path,documents:s.value},null,8,["path","documents"])):at("",!0)}}}),Jr=rm({history:bh("/"),routes:[{path:"/:pathMatch(.*)*",name:"explorer",component:bg}]}),ca=e=>(Ko("data-v-baa1a98e"),e=e(),zo(),e),wg={class:"headermain"},xg={class:"buttons"},Cg=ca(()=>re("div",{class:"smallgap"},null,-1)),Eg=ca(()=>re("div",{class:"spacer smallgap"},null,-1)),kg=["value","onKeyup"],Sg=Ge({__name:"HeaderMain",props:{path:{},query:{}},setup(e,{expose:t}){const n=Et(),o=Ve(!1),s=Ve(),i=Ve(),a=e,l=f=>{if(!o.value)return;o.value=!1,document.querySelector(".breadcrumb").focus(),d(f)},d=f=>{const u=f.target.value;let p=a.path.join("/");p=p?`/${p}`:"";const g=(u?`${p}//${u}`:p||"/").replaceAll("?","%3F").replaceAll("#","%23");!a.query&&u?Jr.push(g):Jr.replace(g)},r=f=>{if(o.value=!o.value,!o.value)return l(f);zn(()=>{const u=s.value;u&&u.focus()})};En(()=>{a.query&&(o.value=!0)});const c=f=>{const u=[];n.user.isLoggedIn?u.push({label:`Logout ${n.user.username??""}`,onClick:()=>n.logout()}):u.push({label:"Login",onClick:()=>n.loginDialog()}),Ni.showContextMenu({x:f.target.getBoundingClientRect().right,y:f.target.getBoundingClientRect().bottom,items:u})};return t({toggleSearchInput:r,closeSearch:l}),(f,u)=>{const p=Nm,m=Fi;return he(),ke("nav",wg,[re("div",xg,[_e(n).error?(he(),ke(Le,{key:0},[re("div",{class:"error-message",onClick:u[0]||(u[0]=g=>_e(n).error="")},tt(_e(n).error),1),Cg],64)):at("",!0),ae(p,{path:a.path},null,8,["path"]),ae(m,{name:"create-folder","data-tooltip":"New folder",onClick:u[1]||(u[1]=()=>_e(n).fileExplorer.newFolder())}),Xo(f.$slots,"default",{},void 0,!0),Eg,o.value?(he(),ke("input",{key:1,ref_key:"search",ref:s,type:"search",value:f.query,onInput:d,placeholder:"Search words",class:"margin-input",onKeyup:sn(l,["escape"])},null,40,kg)):at("",!0),ae(m,{ref_key:"searchButton",ref:i,name:"find",onClick:Rt(r,["prevent"])},null,8,["onClick"]),ae(m,{name:"cog",onClick:c})])])}}});const Og=no(Sg,[["__scopeId","data-v-baa1a98e"]]),Pg=re("div",{class:"smallgap"},null,-1),Rg={class:"select-text"},Ig=Ge({__name:"HeaderSelected",props:{path:Array},setup(e){const t=Et(),n=e,o=Fe(()=>n.path.join("/")),s=(d,r)=>{const c=t.selectedFiles,f={op:d,sel:c.keys.map(p=>{const m=c.docs[p];return m.loc?`${m.loc}/${m.name}`:m.name})};r!==void 0&&(f.dst=r);const u=qr(ei,{message(p){const m=JSON.parse(p.data);if("error"in m){console.error("Control socket error",f,m.error),t.error=m.error.message;return}else if(m.status==="ack"){console.log("Control ack OK",m),u.close(),t.selected.clear();return}else console.log("Unknown control response",f,m)}});u.onopen=()=>{u.send(JSON.stringify(f))}},i=d=>{const r=document.createElement("a");r.href=d,r.download="",r.click()},a=async(d,r)=>{let c="",f=r;console.log("Downloading to filesystem",d.recursive);for(const[u,p,m]of d.recursive){c&&!u.startsWith(c+"/")&&(c="",f=r);const g=u.slice(c.length);for(const b of g.split("/").slice(0,m.dir?void 0:-1)){c+=`${b}/`;try{f=await f.getDirectoryHandle(b.normalize("NFC"),{create:!0})}catch(A){console.error("Failed to create directory",c,A);return}console.log("Created",c)}if(m.dir)continue;const C=u.split("/").pop().normalize("NFC");let x;try{x=await f.getFileHandle(C,{create:!0})}catch(b){console.error("Failed to create file",u,p,c+C,b);return}const y=await x.createWritable(),v=`/files/${u}`;console.log("Fetching",v);const h=await fetch(v);if(!h.ok)throw new Error(`Failed to download ${v}: ${h.status} ${h.statusText}`);h.body?await h.body.pipeTo(y):(await y.truncate(0),await y.close()),console.log("Saved",c+C)}},l=async()=>{const d=t.selectedFiles;if(console.log("Download",d),d.keys.length===0){console.warn("Attempted download but no files found. Missing selected keys:",d.missing),t.selected.clear();return}const r=d.recursive.filter(([f,u,p])=>!p.dir);if(r.length===1)return t.selected.clear(),i(`/files/${r[0][1]}`);if("showDirectoryPicker"in window)try{const f=await window.showDirectoryPicker({startIn:"downloads",mode:"readwrite"});a(d,f).then(()=>{t.selected.clear()});return}catch(f){console.error("Download to folder aborted",f)}const c=d.keys.length===1?d.docs[d.keys[0]].name:"download";i(`/zip/${Array.from(d.keys).join("+")}/${c}.zip`),t.selected.clear()};return(d,r)=>{const c=Fi;return _e(t).selected.size?(he(),ke(Le,{key:0},[Pg,re("p",Rg,tt(_e(t).selected.size)+" selected ➤",1),ae(c,{name:"download","data-tooltip":"Download",onClick:l}),ae(c,{name:"copy","data-tooltip":"Copy here",onClick:r[0]||(r[0]=f=>s("cp",o.value))}),ae(c,{name:"paste","data-tooltip":"Move here",onClick:r[1]||(r[1]=f=>s("mv",o.value))}),ae(c,{name:"trash","data-tooltip":"Delete ⚠️",onClick:r[2]||(r[2]=f=>s("rm"))}),re("button",{class:"action-button unselect","data-tooltip":"Unselect all",onClick:r[3]||(r[3]=f=>_e(t).selected.clear())},"❌")],64)):at("",!0)}}});const Mg={key:0},Ag=re("button",{onclick:"dialog.close()"},"OK",-1),Tg=Ge({__name:"ModalDialog",props:{title:{default:""}},setup(e,{expose:t}){const n=Ve(null),o=e,s=()=>{n.value.showModal()};return t({show:s}),At(()=>{s()}),(i,a)=>(he(),ke("dialog",{ref_key:"dialog",ref:n},[o.title?(he(),ke("h1",Mg,tt(o.title),1)):at("",!0),re("div",null,[Xo(i.$slots,"default",{},()=>[to(" Dialog with no content "),Ag])])],512))}});const ji=e=>(Ko("data-v-644f3226"),e=e(),zo(),e),Lg=["onSubmit"],Fg={class:"login-container"},Bg=ji(()=>re("label",{for:"username"},"Username:",-1)),Ng=ji(()=>re("label",{for:"password"},"Password:",-1)),jg={class:"error-text"},$g=ji(()=>re("div",{class:"dialog-buttons"},[re("div",{class:"spacer"}),re("input",{id:"submit",type:"submit",value:"Login",class:"button-login"})],-1)),Dg=Ge({__name:"LoginModal",setup(e){const t=Ve(!1),n=Et(),o=Rn({username:"",password:"",error:""}),s=async()=>{try{o.error="",t.value=!0;const i=await ym(o.username,o.password);n.login(i.data.username,!!i.data.privileged)}catch(i){const a=i;o.error=a.message||"🛑 Unknown error"}finally{t.value=!1}};return(i,a)=>{const l=Tg;return _e(n).user.isOpenLoginModal?(he(),zt(l,{key:0,title:"Authentication required",onBlur:a[2]||(a[2]=d=>_e(n).user.isOpenLoginModal=!1)},{default:Qr(()=>[re("form",{onSubmit:Rt(s,["prevent"])},[re("div",Fg,[Bg,Vr(re("input",{id:"username",name:"username",autocomplete:"username",spellcheck:"false",autocorrect:"off",required:"","onUpdate:modelValue":a[0]||(a[0]=d=>o.username=d)},null,512),[[Un,o.username]]),Ng,Vr(re("input",{id:"password",name:"password",type:"password",autocomplete:"current-password",spellcheck:"false",autocorrect:"off",required:"","onUpdate:modelValue":a[1]||(a[1]=d=>o.password=d)},null,512),[[Un,o.password]])]),re("h3",jg,tt(o.error||" "),1),$g],40,Lg)]),_:1})):at("",!0)}}});const Hg=no(Dg,[["__scopeId","data-v-644f3226"]]),Vg=Ge({__name:"App",setup(e){const t=Et(),n=Fe(()=>{const l=decodeURIComponent(Jr.currentRoute.value.path).split("//"),d=l[0].split("/").filter(c=>c!==""),r=l.slice(1).join("//");return{path:l[0],pathList:d,query:r}});En(()=>{document.title=n.value.path.replace(/\/$/,"").split("/").pop()||t.server.name||"Cista Storage"}),At(Cm),At(Bi),kn(Em);const o=Ve(null);let s=0,i=null;const a=l=>{const d=t.fileExplorer;if(!d)return;const r=d.isCursor(),c=l.type==="keyup";if(l.repeat){(l.key==="ArrowUp"||l.key==="ArrowDown"||r&&l.code==="Space")&&l.preventDefault();return}if(l.key==="ArrowUp")s=c?0:l.altKey?-10:-1;else if(l.key==="ArrowDown")s=c?0:l.altKey?10:1;else if(!c&&l.key==="f"&&(l.ctrlKey||l.metaKey))o.value.toggleSearchInput();else if(!c&&l.key==="a"&&(l.ctrlKey||l.metaKey))d.toggleSelectAll();else if(r&&c&&(l.key==="1"||l.key==="2"||l.key==="3"))d.toggleSortColumn(+l.key);else if(r&&c&&!l.ctrlKey&&(l.key==="F2"||l.key==="r"))d.cursorRename();else if(r&&l.code==="Space")c&&!l.altKey&&!l.ctrlKey&&d.cursorSelect();else return;if(l.preventDefault(),!s){i&&(clearTimeout(i),i=null);return}if(!i){const f=l.shiftKey;d.cursorMove(s,f);const u=200,p=30;i=setTimeout(()=>i=setInterval(()=>{d.cursorMove(s,f)},p),u-p)}};return At(()=>{window.addEventListener("keydown",a),window.addEventListener("keyup",a)}),kn(()=>{window.removeEventListener("keydown",a),window.removeEventListener("keyup",a)}),(l,d)=>{const r=Hg,c=Ig,f=Og,u=na;return he(),ke(Le,null,[ae(r),re("header",null,[ae(f,{ref_key:"headerMain",ref:o,path:n.value.pathList,query:n.value.query},{default:Qr(()=>[ae(c,{path:n.value.pathList},null,8,["path"])]),_:1},8,["path","query"]),ae(u,{path:n.value.pathList,tabindex:"-1"},null,8,["path"])]),re("main",null,[ae(_e(ea),{path:n.value.pathList,query:n.value.query},null,8,["path","query"])])],64)}}});function Ug(e){return typeof e=="object"&&e!==null}function Ql(e,t){return e=Ug(e)?e:Object.create(null),new Proxy(e,{get(n,o,s){return o==="key"?Reflect.get(n,o,s):Reflect.get(n,o,s)||Reflect.get(t,o,s)}})}function Wg(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function Kg(e,t,n){return t.slice(0,-1).reduce((o,s)=>/^(__proto__)$/.test(s)?{}:o[s]=o[s]||{},e)[t[t.length-1]]=n,e}function zg(e,t){return t.reduce((n,o)=>{const s=o.split(".");return Kg(n,s,Wg(e,s))},{})}function Gl(e,{storage:t,serializer:n,key:o,debug:s}){try{const i=t==null?void 0:t.getItem(o);i&&e.$patch(n==null?void 0:n.deserialize(i))}catch(i){s&&console.error(i)}}function ec(e,{storage:t,serializer:n,key:o,paths:s,debug:i}){try{const a=Array.isArray(s)?zg(e,s):e;t.setItem(o,n.serialize(a))}catch(a){i&&console.error(a)}}function qg(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:s,pinia:i}=t;if(!o)return;if(!(s.$id in i.state.value)){const l=i._s.get(s.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const a=(Array.isArray(o)?o.map(l=>Ql(l,e)):[Ql(o,e)]).map(({storage:l=localStorage,beforeRestore:d=null,afterRestore:r=null,serializer:c={serialize:JSON.stringify,deserialize:JSON.parse},key:f=s.$id,paths:u=null,debug:p=!1})=>{var m;return{storage:l,beforeRestore:d,afterRestore:r,serializer:c,key:((m=e.key)!=null?m:g=>g)(typeof f=="string"?f:f(s.$id)),paths:u,debug:p}});s.$persist=()=>{a.forEach(l=>{ec(s.$state,l)})},s.$hydrate=({runHooks:l=!0}={})=>{a.forEach(d=>{const{beforeRestore:r,afterRestore:c}=d;l&&(r==null||r(t)),Gl(s,d),l&&(c==null||c(t))})},a.forEach(l=>{const{beforeRestore:d,afterRestore:r}=l;d==null||d(t),Gl(s,l),r==null||r(t),s.$subscribe((c,f)=>{ec(f,l)},{detached:!0})})}}var Jg=qg();const ro=Fu(Vg);ro.config.errorHandler=e=>{console.log(e)};const ua=Kp();ua.use(Jg);ro.use(ua);ro.use(Jr);ro.use(Ni);ro.mount("#app");export{re as a,ke as c,he as o};
11
+ `).replace("Z"," UTC")),o=e;return(s,i)=>(he(),ke("td",Km,[re("time",{"data-tooltip":n.value,datetime:t.value},tt(s.doc.modified),9,zm)]))}}),Jm=["onKeyup"],Xl=Ge({__name:"FileRenameInput",props:{doc:{},rename:{type:Function},exit:{type:Function}},setup(e){const t=Ve(null),n=Ve("");At(()=>{n.value=o.doc.name;const i=n.value.lastIndexOf(".");sn(()=>{t.value.focus(),t.value.setSelectionRange(0,i>0?i:n.value.length)})});const o=e,s=()=>{o.exit(),!(o.doc.key!=="new"&&(n.value===o.doc.name||n.value.length===0))&&o.rename(o.doc,n.value)};return(i,a)=>Vr((he(),ke("input",{ref_key:"input",ref:t,id:"FileRenameInput",type:"text",autocorrect:"off","onUpdate:modelValue":a[0]||(a[0]=l=>n.value=l),onBlur:a[1]||(a[1]=(...l)=>i.exit&&i.exit(...l)),onKeyup:[a[2]||(a[2]=wn((...l)=>i.exit&&i.exit(...l),["esc"])),wn(s,["enter"])]},null,40,Jm)),[[Wn,n.value]])}});const is=e=>(Ko("data-v-a92752cb"),e=e(),zo(),e),Ym={key:0},Zm={class:"selection"},Xm=["indeterminate"],Qm=is(()=>re("th",{class:"menu"},null,-1)),Gm={key:0,class:"folder"},eg=is(()=>re("td",{class:"selection"},null,-1)),tg={class:"name"},ng=is(()=>re("td",{class:"menu"},null,-1)),rg={key:0,class:"folder-change"},og={colspan:"5"},sg=["id","onClick","onContextmenu"],ig=["onClick"],lg=["checked","onChange"],cg={class:"name"},ug=["href","onFocus","onKeyup"],ag=["onClick"],fg={class:"menu"},dg=["onClick"],pg={key:1,class:"summary"},hg={colspan:"3",class:"right"},mg={class:"size right"},gg=is(()=>re("td",{class:"menu"},null,-1)),vg={key:1,class:"empty-container"},yg=Ge({__name:"FileExplorer",props:{path:{},documents:{}},setup(e,{expose:t}){const n=e,o=Et(),s=ta(),i=Nr(null),a=Nr(null),l=(h,b)=>{const A=h.name,I=qr(ei,{message(O){const S=JSON.parse(O.data);"error"in S?(console.error("Rename failed",S.error.message,S.error),h.name=A):console.log("Rename succeeded",S)}});I.onopen=()=>{I.send(JSON.stringify({op:"rename",path:`${h.loc}/${A}`,to:b}))},h.name=b};t({newFolder(){const h=Math.floor(Date.now()/1e3);a.value=new oa({loc:y.value,key:"new",name:"New Folder",dir:!0,mtime:h,size:0})},toggleSelectAll(){console.log("Select"),x.value=!x.value},toggleSortColumn(h){const b=["","name","modified","size",""][h];b&&o.toggleSort(b)},isCursor(){return i.value!==null&&a.value===null},cursorRename(){a.value=i.value},cursorSelect(){const h=i.value;h&&(o.selected.has(h.key)?o.selected.delete(h.key):o.selected.add(h.key),this.cursorMove(1))},cursorMove(h,b=!1){const A=n.documents;if(A.length===0){i.value=null;return}const I=A.length,O=(F,V)=>(F%V+V)%V,S=(F,V)=>O(F+V,I+1),k=i.value!==null?A.indexOf(i.value):A.length,M=S(k,h);i.value=A[M]??null;const P=i.value?document.getElementById(`file-${i.value.key}`):null;if(b){let[F,V]=h>0?[k,M]:[M,k];for(let z=F;z!==V;z=S(z,1)){if(z===I)continue;const T=A[z].key;o.selected.has(T)?o.selected.delete(T):o.selected.add(T)}}c=P,r||(r=setTimeout(()=>{c&&c.scrollIntoView({block:"center",behavior:"smooth"}),r=null},300)),M===I&&d()}});const d=()=>{const h=document.querySelector(".breadcrumb");h&&h.focus()};let r=null,c=null;Dn(()=>{if(i.value&&i.value!==a.value&&(a.value=null),a.value&&(i.value=a.value),i.value){const h=document.querySelector(`#file-${i.value.key} .name a`);h&&h.focus()}}),Dn(()=>{!n.documents.length&&i.value&&(i.value=null,d())});let f=Ve(0),u=null;const p=()=>{f.value=Math.floor(Date.now()/1e3)};At(()=>{p(),u=setInterval(p,1e3)}),kn(()=>{clearInterval(u)});const m=(h,b)=>{const A=qr(ei,{open(){A.send(JSON.stringify({op:"mkdir",path:`${h.loc}/${b}`}))},message(I){const O=JSON.parse(I.data);"error"in O?(console.error("Mkdir failed",O.error.message,O.error),a.value=null):(console.log("mkdir",O),s.push(h.urlrouter))}});h.name=b,h.key=crypto.randomUUID()},g=h=>{const b=n.documents,A=b[h].loc;return h===0?A!==y.value:A!==b[h-1].loc},C=Fe({get:()=>n.documents.length>0&&n.documents.some(h=>o.selected.has(h.key))&&!x.value,set:h=>{}}),x=Fe({get:()=>n.documents.length>0&&n.documents.every(h=>o.selected.has(h.key)),set:h=>{console.log("Setting allSelected",h);for(const b of n.documents)h?o.selected.add(b.key):o.selected.delete(b.key)}}),y=Fe(()=>n.path.join("/")),v=(h,b)=>{i.value=b,Ni.showContextMenu({x:h.x,y:h.y,items:[{label:"Rename",onClick:()=>{a.value=b}}]})};return(h,b)=>{var S;const A=qm,I=Wm,O=na;return n.documents.length||a.value?(he(),ke("table",Ym,[re("thead",null,[re("tr",null,[re("th",Zm,[Vr(re("input",{type:"checkbox",tabindex:"-1","onUpdate:modelValue":b[0]||(b[0]=k=>x.value=k),indeterminate:C.value},null,8,Xm),[[ns,x.value]])]),re("th",{class:Mt(["sortcolumn",{sortactive:_e(o).sortOrder==="name"}]),onClick:b[1]||(b[1]=k=>_e(o).toggleSort("name"))},"Name",2),re("th",{class:Mt(["sortcolumn modified right",{sortactive:_e(o).sortOrder==="modified"}]),onClick:b[2]||(b[2]=k=>_e(o).toggleSort("modified"))},"Modified",2),re("th",{class:Mt(["sortcolumn size right",{sortactive:_e(o).sortOrder==="size"}]),onClick:b[3]||(b[3]=k=>_e(o).toggleSort("size"))},"Size",2),Qm])]),re("tbody",null,[((S=a.value)==null?void 0:S.key)==="new"?(he(),ke("tr",Gm,[eg,re("td",tg,[ae(Xl,{doc:a.value,rename:m,exit:()=>{a.value=null}},null,8,["doc","exit"])]),(he(),zt(A,{doc:a.value,key:_e(f)},null,8,["doc"])),ae(I,{doc:a.value},null,8,["doc"]),ng])):at("",!0),(he(!0),ke(Le,null,ki(h.documents,(k,M)=>(he(),ke(Le,{key:k.key},[g(M)?(he(),ke("tr",rg,[re("th",og,[ae(O,{path:k.loc?k.loc.split("/"):[]},null,8,["path"])])])):at("",!0),re("tr",{id:`file-${k.key}`,class:Mt({file:!k.dir,folder:k.dir,cursor:i.value===k}),onClick:P=>i.value=i.value===k?null:k,onContextmenu:Rt(P=>v(P,k),["prevent"])},[re("td",{class:"selection",onClick:Rt(P=>i.value=i.value===k?k:null,["stop"])},[re("input",{type:"checkbox",tabindex:"-1",checked:_e(o).selected.has(k.key),onChange:P=>P.target.checked?_e(o).selected.add(k.key):_e(o).selected.delete(k.key)},null,40,lg)],8,ig),re("td",cg,[a.value===k?(he(),zt(Xl,{key:0,doc:k,rename:l,exit:()=>{a.value=null}},null,8,["doc","exit"])):(he(),ke(Le,{key:1},[re("a",{href:k.url,tabindex:"-1",onContextmenu:b[4]||(b[4]=Rt(()=>{},["prevent"])),onFocus:Rt(P=>i.value=k,["stop"]),onKeyup:[b[5]||(b[5]=wn(P=>_e(s).back(),["left"])),wn(Rt(P=>{k.dir&&P.target.click()},["stop"]),["right"])]},tt(k.name),41,ug),i.value==k?(he(),ke("button",{key:0,tabindex:"-1",class:"rename-button",onClick:()=>a.value=k},"🖊️",8,ag)):at("",!0)],64))]),(he(),zt(A,{doc:k,key:_e(f)},null,8,["doc"])),ae(I,{doc:k},null,8,["doc"]),re("td",fg,[re("button",{tabindex:"-1",onClick:Rt(P=>v(P,k),["stop"])},"⋮",8,dg)])],42,sg)],64))),128)),n.documents.length>1?(he(),ke("tr",pg,[re("td",hg,tt(n.documents.length)+" items",1),re("td",mg,tt(_e(ra)(n.documents.reduce((k,M)=>k+M.size,0))),1),gg])):at("",!0)])])):(he(),ke("div",vg,"Nothing to see here"))}}});const _g=no(yg,[["__scopeId","data-v-a92752cb"]]),bg=Ge({__name:"ExplorerView",props:{path:{},query:{}},setup(e){const t=Et(),n=Ve(),o=e,s=Fe(()=>{const i=o.path.join("/"),a=o.query;if(!a)return Gs(t.document.filter(u=>u.loc===i),t.prefs.sortListing);const l=pm(a);let d=100,r=[];for(const u of t.recentDocuments)if(hm(u.haystack,l)&&(r.push(u),--d===0))break;const c=i+"/",f=t.prefs.sortFiltered;return f?Gs(r,f):(r.sort((u,p)=>(p.loc===i)-(u.loc===i)||(p.loc.slice(0,c.length)===c)-(u.loc.slice(0,c.length)===c)||zr.compare(u.loc,p.loc)||(u.type==="file")-(p.type==="file")||p.name.includes(a)-u.name.includes(a)||zr.compare(u.name,p.name)),r)});return Dn(()=>{t.fileExplorer=n.value,t.query=o.query}),(i,a)=>{const l=_g;return o.path?(he(),zt(l,{ref_key:"fileExplorer",ref:n,key:_e(Jr).currentRoute.value.path,path:o.path,documents:s.value},null,8,["path","documents"])):at("",!0)}}}),Jr=rm({history:bh("/"),routes:[{path:"/:pathMatch(.*)*",name:"explorer",component:bg}]}),ca=e=>(Ko("data-v-85691775"),e=e(),zo(),e),wg={class:"headermain"},xg={class:"buttons"},Cg=ca(()=>re("div",{class:"smallgap"},null,-1)),Eg=ca(()=>re("div",{class:"spacer smallgap"},null,-1)),kg=["value"],Sg=Ge({__name:"HeaderMain",props:{path:{},query:{}},setup(e,{expose:t}){const n=Et(),o=Ve(!1),s=Ve(),i=Ve(),a=e,l=f=>{if(!o.value)return;o.value=!1,document.querySelector(".breadcrumb").focus(),d(f)},d=f=>{const u=f.target.value;let p=a.path.join("/");p=p?`/${p}`:"";const g=(u?`${p}//${u}`:p||"/").replaceAll("?","%3F").replaceAll("#","%23");!a.query&&u?Jr.push(g):Jr.replace(g)},r=f=>{if(o.value=!o.value,!o.value)return l(f);sn(()=>{const u=s.value;u&&u.focus()})};Dn(()=>{a.query&&(o.value=!0)});const c=f=>{const u=[];n.user.isLoggedIn?u.push({label:`Logout ${n.user.username??""}`,onClick:()=>n.logout()}):u.push({label:"Login",onClick:()=>n.loginDialog()}),Ni.showContextMenu({x:f.target.getBoundingClientRect().right,y:f.target.getBoundingClientRect().bottom,items:u})};return t({toggleSearchInput:r,closeSearch:l}),(f,u)=>{const p=Nm,m=Fi;return he(),ke("nav",wg,[re("div",xg,[_e(n).error?(he(),ke(Le,{key:0},[re("div",{class:"error-message",onClick:u[0]||(u[0]=g=>_e(n).error="")},tt(_e(n).error),1),Cg],64)):at("",!0),ae(p,{path:a.path},null,8,["path"]),ae(m,{name:"create-folder","data-tooltip":"New folder",onClick:u[1]||(u[1]=()=>_e(n).fileExplorer.newFolder())}),Xo(f.$slots,"default",{},void 0,!0),Eg,o.value?(he(),ke("input",{key:1,ref_key:"search",ref:s,type:"search",value:f.query,onInput:d,placeholder:"Search words",class:"margin-input"},null,40,kg)):at("",!0),ae(m,{ref_key:"searchButton",ref:i,name:"find",onClick:Rt(r,["prevent"])},null,8,["onClick"]),ae(m,{name:"cog",onClick:c})])])}}});const Og=no(Sg,[["__scopeId","data-v-85691775"]]),Pg=re("div",{class:"smallgap"},null,-1),Rg={class:"select-text"},Ig=Ge({__name:"HeaderSelected",props:{path:Array},setup(e){const t=Et(),n=e,o=Fe(()=>n.path.join("/")),s=(d,r)=>{const c=t.selectedFiles,f={op:d,sel:c.keys.map(p=>{const m=c.docs[p];return m.loc?`${m.loc}/${m.name}`:m.name})};r!==void 0&&(f.dst=r);const u=qr(ei,{message(p){const m=JSON.parse(p.data);if("error"in m){console.error("Control socket error",f,m.error),t.error=m.error.message;return}else if(m.status==="ack"){console.log("Control ack OK",m),u.close(),t.selected.clear();return}else console.log("Unknown control response",f,m)}});u.onopen=()=>{u.send(JSON.stringify(f))}},i=d=>{const r=document.createElement("a");r.href=d,r.download="",r.click()},a=async(d,r)=>{let c="",f=r;console.log("Downloading to filesystem",d.recursive);for(const[u,p,m]of d.recursive){c&&!u.startsWith(c+"/")&&(c="",f=r);const g=u.slice(c.length);for(const b of g.split("/").slice(0,m.dir?void 0:-1)){c+=`${b}/`;try{f=await f.getDirectoryHandle(b.normalize("NFC"),{create:!0})}catch(A){console.error("Failed to create directory",c,A);return}console.log("Created",c)}if(m.dir)continue;const C=u.split("/").pop().normalize("NFC");let x;try{x=await f.getFileHandle(C,{create:!0})}catch(b){console.error("Failed to create file",u,p,c+C,b);return}const y=await x.createWritable(),v=`/files/${u}`;console.log("Fetching",v);const h=await fetch(v);if(!h.ok)throw new Error(`Failed to download ${v}: ${h.status} ${h.statusText}`);h.body?await h.body.pipeTo(y):(await y.truncate(0),await y.close()),console.log("Saved",c+C)}},l=async()=>{const d=t.selectedFiles;if(console.log("Download",d),d.keys.length===0){console.warn("Attempted download but no files found. Missing selected keys:",d.missing),t.selected.clear();return}const r=d.recursive.filter(([f,u,p])=>!p.dir);if(r.length===1)return t.selected.clear(),i(`/files/${r[0][1]}`);if("showDirectoryPicker"in window)try{const f=await window.showDirectoryPicker({startIn:"downloads",mode:"readwrite"});a(d,f).then(()=>{t.selected.clear()});return}catch(f){console.error("Download to folder aborted",f)}const c=d.keys.length===1?d.docs[d.keys[0]].name:"download";i(`/zip/${Array.from(d.keys).join("+")}/${c}.zip`),t.selected.clear()};return(d,r)=>{const c=Fi;return _e(t).selected.size?(he(),ke(Le,{key:0},[Pg,re("p",Rg,tt(_e(t).selected.size)+" selected ➤",1),ae(c,{name:"download","data-tooltip":"Download",onClick:l}),ae(c,{name:"copy","data-tooltip":"Copy here",onClick:r[0]||(r[0]=f=>s("cp",o.value))}),ae(c,{name:"paste","data-tooltip":"Move here",onClick:r[1]||(r[1]=f=>s("mv",o.value))}),ae(c,{name:"trash","data-tooltip":"Delete ⚠️",onClick:r[2]||(r[2]=f=>s("rm"))}),re("button",{class:"action-button unselect","data-tooltip":"Unselect all",onClick:r[3]||(r[3]=f=>_e(t).selected.clear())},"❌")],64)):at("",!0)}}});const Mg={key:0},Ag=re("button",{onclick:"dialog.close()"},"OK",-1),Tg=Ge({__name:"ModalDialog",props:{title:{default:""}},setup(e,{expose:t}){const n=Ve(null),o=e,s=()=>{n.value.showModal()};return t({show:s}),At(()=>{s()}),(i,a)=>(he(),ke("dialog",{ref_key:"dialog",ref:n},[o.title?(he(),ke("h1",Mg,tt(o.title),1)):at("",!0),re("div",null,[Xo(i.$slots,"default",{},()=>[to(" Dialog with no content "),Ag])])],512))}});const ji=e=>(Ko("data-v-644f3226"),e=e(),zo(),e),Lg=["onSubmit"],Fg={class:"login-container"},Bg=ji(()=>re("label",{for:"username"},"Username:",-1)),Ng=ji(()=>re("label",{for:"password"},"Password:",-1)),jg={class:"error-text"},$g=ji(()=>re("div",{class:"dialog-buttons"},[re("div",{class:"spacer"}),re("input",{id:"submit",type:"submit",value:"Login",class:"button-login"})],-1)),Dg=Ge({__name:"LoginModal",setup(e){const t=Ve(!1),n=Et(),o=Rn({username:"",password:"",error:""}),s=async()=>{try{o.error="",t.value=!0;const i=await ym(o.username,o.password);n.login(i.data.username,!!i.data.privileged)}catch(i){const a=i;o.error=a.message||"🛑 Unknown error"}finally{t.value=!1}};return(i,a)=>{const l=Tg;return _e(n).user.isOpenLoginModal?(he(),zt(l,{key:0,title:"Authentication required",onBlur:a[2]||(a[2]=d=>_e(n).user.isOpenLoginModal=!1)},{default:Qr(()=>[re("form",{onSubmit:Rt(s,["prevent"])},[re("div",Fg,[Bg,Vr(re("input",{id:"username",name:"username",autocomplete:"username",spellcheck:"false",autocorrect:"off",required:"","onUpdate:modelValue":a[0]||(a[0]=d=>o.username=d)},null,512),[[Wn,o.username]]),Ng,Vr(re("input",{id:"password",name:"password",type:"password",autocomplete:"current-password",spellcheck:"false",autocorrect:"off",required:"","onUpdate:modelValue":a[1]||(a[1]=d=>o.password=d)},null,512),[[Wn,o.password]])]),re("h3",jg,tt(o.error||" "),1),$g],40,Lg)]),_:1})):at("",!0)}}});const Hg=no(Dg,[["__scopeId","data-v-644f3226"]]),Vg=Ge({__name:"App",setup(e){const t=Et(),n=Fe(()=>{const l=decodeURIComponent(Jr.currentRoute.value.path).split("//"),d=l[0].split("/").filter(c=>c!==""),r=l.slice(1).join("//");return{path:l[0],pathList:d,query:r}});Dn(()=>{document.title=n.value.path.replace(/\/$/,"").split("/").pop()||t.server.name||"Cista Storage"}),At(Cm),At(Bi),kn(Em);const o=Ve(null);let s=0,i=null;const a=l=>{const d=t.fileExplorer;if(!d)return;const r=d.isCursor(),c=l.target.tagName==="INPUT",f=l.type==="keyup";if(l.repeat){(l.key==="ArrowUp"||l.key==="ArrowDown"||r&&l.code==="Space")&&l.preventDefault();return}if(l.key==="ArrowUp")s=f?0:l.altKey?-10:-1;else if(l.key==="ArrowDown")s=f?0:l.altKey?10:1;else if(!f&&l.key==="f"&&(l.ctrlKey||l.metaKey))o.value.toggleSearchInput();else if(f&&!c&&l.key==="/")o.value.toggleSearchInput();else if(f&&l.key==="Escape")o.value.closeSearch(l);else if(!f&&l.key==="a"&&(l.ctrlKey||l.metaKey))d.toggleSelectAll();else if(!c&&f&&(l.key==="1"||l.key==="2"||l.key==="3"))d.toggleSortColumn(+l.key);else if(r&&f&&!l.ctrlKey&&(l.key==="F2"||l.key==="r"))d.cursorRename();else if(r&&l.code==="Space")f&&!l.altKey&&!l.ctrlKey&&d.cursorSelect();else return;if(l.preventDefault(),!s){i&&(clearTimeout(i),i=null);return}if(!i){const u=l.shiftKey;d.cursorMove(s,u);const p=200,m=30;i=setTimeout(()=>i=setInterval(()=>{d.cursorMove(s,u)},m),p-m)}};return At(()=>{window.addEventListener("keydown",a),window.addEventListener("keyup",a)}),kn(()=>{window.removeEventListener("keydown",a),window.removeEventListener("keyup",a)}),(l,d)=>{const r=Hg,c=Ig,f=Og,u=na;return he(),ke(Le,null,[ae(r),re("header",null,[ae(f,{ref_key:"headerMain",ref:o,path:n.value.pathList,query:n.value.query},{default:Qr(()=>[ae(c,{path:n.value.pathList},null,8,["path"])]),_:1},8,["path","query"]),ae(u,{path:n.value.pathList,primary:""},null,8,["path"])]),re("main",null,[ae(_e(ea),{path:n.value.pathList,query:n.value.query},null,8,["path","query"])])],64)}}});function Ug(e){return typeof e=="object"&&e!==null}function Ql(e,t){return e=Ug(e)?e:Object.create(null),new Proxy(e,{get(n,o,s){return o==="key"?Reflect.get(n,o,s):Reflect.get(n,o,s)||Reflect.get(t,o,s)}})}function Wg(e,t){return t.reduce((n,o)=>n==null?void 0:n[o],e)}function Kg(e,t,n){return t.slice(0,-1).reduce((o,s)=>/^(__proto__)$/.test(s)?{}:o[s]=o[s]||{},e)[t[t.length-1]]=n,e}function zg(e,t){return t.reduce((n,o)=>{const s=o.split(".");return Kg(n,s,Wg(e,s))},{})}function Gl(e,{storage:t,serializer:n,key:o,debug:s}){try{const i=t==null?void 0:t.getItem(o);i&&e.$patch(n==null?void 0:n.deserialize(i))}catch(i){s&&console.error(i)}}function ec(e,{storage:t,serializer:n,key:o,paths:s,debug:i}){try{const a=Array.isArray(s)?zg(e,s):e;t.setItem(o,n.serialize(a))}catch(a){i&&console.error(a)}}function qg(e={}){return t=>{const{auto:n=!1}=e,{options:{persist:o=n},store:s,pinia:i}=t;if(!o)return;if(!(s.$id in i.state.value)){const l=i._s.get(s.$id.replace("__hot:",""));l&&Promise.resolve().then(()=>l.$persist());return}const a=(Array.isArray(o)?o.map(l=>Ql(l,e)):[Ql(o,e)]).map(({storage:l=localStorage,beforeRestore:d=null,afterRestore:r=null,serializer:c={serialize:JSON.stringify,deserialize:JSON.parse},key:f=s.$id,paths:u=null,debug:p=!1})=>{var m;return{storage:l,beforeRestore:d,afterRestore:r,serializer:c,key:((m=e.key)!=null?m:g=>g)(typeof f=="string"?f:f(s.$id)),paths:u,debug:p}});s.$persist=()=>{a.forEach(l=>{ec(s.$state,l)})},s.$hydrate=({runHooks:l=!0}={})=>{a.forEach(d=>{const{beforeRestore:r,afterRestore:c}=d;l&&(r==null||r(t)),Gl(s,d),l&&(c==null||c(t))})},a.forEach(l=>{const{beforeRestore:d,afterRestore:r}=l;d==null||d(t),Gl(s,l),r==null||r(t),s.$subscribe((c,f)=>{ec(f,l)},{detached:!0})})}}var Jg=qg();const ro=Fu(Vg);ro.config.errorHandler=e=>{console.log(e)};const ua=Kp();ua.use(Jg);ro.use(ua);ro.use(Jr);ro.use(Ni);ro.mount("#app");export{re as a,ke as c,he as o};