evmux-app-framework 0.1.1 → 0.1.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evmux-app-framework",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1 +1 @@
1
- :root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.test_holder_root[data-v-2b367bdd]{position:fixed;top:0;right:0;bottom:0;left:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.test_holder_main[data-v-2b367bdd]{display:flex;gap:0;flex:1;height:100%}.video_editor_wr[data-v-2b367bdd]{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#dcdce5;border-radius:15px;padding:30px;margin:10px;position:relative;overflow:hidden}.scene_canvas[data-v-2b367bdd]{width:100%;aspect-ratio:16 / 9;background-color:#1e222b;border-radius:4px;overflow:hidden;position:relative;box-shadow:0 4px 24px #00000026}.widget_layer[data-v-2b367bdd]{position:absolute;top:0;left:0;width:100%;height:100%;resize:both;overflow:hidden;min-width:60px;min-height:60px;border:1px dashed rgba(255,255,255,.5);cursor:move;box-sizing:border-box}.widget_layer[data-v-2b367bdd]:hover{border-color:#fffc}.widget_layer iframe[data-v-2b367bdd]{pointer-events:auto}.scene_iframe[data-v-2b367bdd]{width:100%;height:100%;border:none;display:block}.settings_sidebar[data-v-2b367bdd]{flex:0 0 330px;width:330px;background-color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden;border-left:1px solid #e6e6ef}.settings_iframe[data-v-2b367bdd]{width:100%;height:100%;border:none;flex:1}html{background-image:none!important;background-color:#dcdce5}.apps_fast_access_wr{display:flex;padding:6px 0;align-self:flex-start}.apps_fast_access_btn{flex:0 0 30px;width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;position:relative;cursor:pointer;padding-bottom:1px;background-color:#fff;color:#676777;border:1px solid #e6e6ef}.apps_fast_access_btn svg{width:22px;height:22px}.apps_fast_access_btn svg polygon,.apps_fast_access_btn svg path,.apps_fast_access_btn svg circle{fill:#676777}.apps_fast_access_btn.uiColor{color:#fff!important;border-color:transparent}.apps_fast_access_btn.uiColor svg polygon,.apps_fast_access_btn.uiColor svg path,.apps_fast_access_btn.uiColor svg circle{fill:#fff!important}.apps_fast_access_btn+.apps_fast_access_btn{margin-left:10px}.apps_fast_access_btn:hover{background-color:#f0f0f7;color:#676777}.apps_fast_access_btn.uiColor:hover{filter:brightness(.9)}.apps_fast_access_btn:hover .apps_fast_access_btn_drop{display:block}.apps_fast_access_btn_drop{position:absolute;left:50%;top:calc(100% + 10px);transform:translate(-50%);display:none;z-index:50;border-radius:12px;padding:6px;border:1px solid #e6e6ef;background-color:#fff;box-shadow:0 20px 18px #00000012}.apps_fast_access_btn_drop:before{content:"";display:block;position:absolute;top:-11px;left:0;height:12px;width:100%}.apps_fast_access_btn_drop_btn{min-width:120px;display:flex;align-items:center;height:32px;font-weight:400;font-size:13px;line-height:18px;padding:0 10px;white-space:nowrap;cursor:pointer;border-radius:8px;color:#676778;margin-bottom:2px}.apps_fast_access_btn_drop_btn:last-child{margin-bottom:0}.apps_fast_access_btn_drop_btn:hover{background-color:#f5f5fa}.apps_fast_access_btn_drop_btn.uiColor{color:#fff}.apps_fast_access_btn_drop_btn.uiColor:hover{filter:brightness(.9)}
1
+ :root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.test_holder_root[data-v-9acc907e]{position:fixed;top:0;right:0;bottom:0;left:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.test_holder_main[data-v-9acc907e]{display:flex;gap:0;flex:1;height:100%}.video_editor_wr[data-v-9acc907e]{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#dcdce5;border-radius:15px;padding:30px;margin:10px;position:relative;overflow:hidden}.scene_canvas[data-v-9acc907e]{width:100%;aspect-ratio:16 / 9;background-color:#1e222b;border-radius:4px;overflow:hidden;position:relative;box-shadow:0 4px 24px #00000026}.widget_layer[data-v-9acc907e]{position:absolute;top:0;left:0;width:100%;height:100%;min-width:60px;min-height:60px;border:1px dashed rgba(255,255,255,.5);box-sizing:border-box}.widget_layer[data-v-9acc907e]:hover{border-color:#fffc}.drag_overlay[data-v-9acc907e]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:move;z-index:1}.resize_handle[data-v-9acc907e]{position:absolute;bottom:0;right:0;width:16px;height:16px;cursor:nwse-resize;z-index:2;background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.6) 50%);border-radius:0 0 2px}.resize_handle[data-v-9acc907e]:hover{background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.9) 50%)}.scene_iframe[data-v-9acc907e]{width:100%;height:100%;border:none;display:block;pointer-events:none}.settings_sidebar[data-v-9acc907e]{flex:0 0 330px;width:330px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:background-color .3s,border-color .3s}.settings_sidebar.light[data-v-9acc907e]{background-color:#fff;border-left:1px solid #e6e6ef}.settings_sidebar.dark[data-v-9acc907e]{background-color:#2f353f;border-left:1px solid #383e4c}.settings_header[data-v-9acc907e]{display:flex;align-items:center;justify-content:flex-end;padding:10px 13px;flex:0 0 auto}.theme_toggle[data-v-9acc907e]{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s,color .15s}.settings_sidebar.light .theme_toggle[data-v-9acc907e]{color:#676778;background-color:#f5f5fa}.settings_sidebar.light .theme_toggle[data-v-9acc907e]:hover{background-color:#ededf4}.settings_sidebar.dark .theme_toggle[data-v-9acc907e]{color:#fff;background-color:#383e4c}.settings_sidebar.dark .theme_toggle[data-v-9acc907e]:hover{background-color:#434b5c}.settings_iframe[data-v-9acc907e]{width:100%;height:100%;border:none;flex:1}html{background-image:none!important;background-color:#dcdce5}.apps_fast_access_wr{display:flex;padding:6px 0;align-self:flex-start}.apps_fast_access_btn{flex:0 0 30px;width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;position:relative;cursor:pointer;padding-bottom:1px;background-color:#fff;color:#676777;border:1px solid #e6e6ef}.apps_fast_access_btn svg{width:22px;height:22px}.apps_fast_access_btn svg polygon,.apps_fast_access_btn svg path,.apps_fast_access_btn svg circle{fill:#676777}.apps_fast_access_btn.uiColor{color:#fff!important;border-color:transparent}.apps_fast_access_btn.uiColor svg polygon,.apps_fast_access_btn.uiColor svg path,.apps_fast_access_btn.uiColor svg circle{fill:#fff!important}.apps_fast_access_btn+.apps_fast_access_btn{margin-left:10px}.apps_fast_access_btn:hover{background-color:#f0f0f7;color:#676777}.apps_fast_access_btn.uiColor:hover{filter:brightness(.9)}.apps_fast_access_btn:hover .apps_fast_access_btn_drop{display:block}.apps_fast_access_btn_drop{position:absolute;left:50%;top:calc(100% + 10px);transform:translate(-50%);display:none;z-index:50;border-radius:12px;padding:6px;border:1px solid #e6e6ef;background-color:#fff;box-shadow:0 20px 18px #00000012}.apps_fast_access_btn_drop:before{content:"";display:block;position:absolute;top:-11px;left:0;height:12px;width:100%}.apps_fast_access_btn_drop_btn{min-width:120px;display:flex;align-items:center;height:32px;font-weight:400;font-size:13px;line-height:18px;padding:0 10px;white-space:nowrap;cursor:pointer;border-radius:8px;color:#676778;margin-bottom:2px}.apps_fast_access_btn_drop_btn:last-child{margin-bottom:0}.apps_fast_access_btn_drop_btn:hover{background-color:#f5f5fa}.apps_fast_access_btn_drop_btn.uiColor{color:#fff}.apps_fast_access_btn_drop_btn.uiColor:hover{filter:brightness(.9)}
@@ -1,9 +1,9 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function rs(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const X={},bt=[],Ae=()=>{},Ti=()=>!1,Mi=/^on[^a-z]/,bn=e=>Mi.test(e),is=e=>e.startsWith("onUpdate:"),re=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qi=Object.prototype.hasOwnProperty,$=(e,t)=>qi.call(e,t),j=Array.isArray,vt=e=>vn(e)==="[object Map]",Er=e=>vn(e)==="[object Set]",B=e=>typeof e=="function",ne=e=>typeof e=="string",ls=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",xr=e=>Z(e)&&B(e.then)&&B(e.catch),Ir=Object.prototype.toString,vn=e=>Ir.call(e),Hi=e=>vn(e).slice(8,-1),Pr=e=>vn(e)==="[object Object]",cs=e=>ne(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ki=/-(\w)/g,xt=wn(e=>e.replace(ki,(t,n)=>n?n.toUpperCase():"")),Fi=/\B([A-Z])/g,Ot=wn(e=>e.replace(Fi,"-$1").toLowerCase()),Rr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),On=wn(e=>e?`on${Rr(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Os;const Bn=()=>Os||(Os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ne(s)?Ui(s):zt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(ne(e))return e;if(Z(e))return e}}const Li=/;(?![^(]*\))/g,Ni=/:([^]+)/,Bi=/\/\*[^]*?\*\//g;function Ui(e){const t={};return e.replace(Bi,"").split(Li).forEach(n=>{if(n){const s=n.split(Ni);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wt(e){let t="";if(ne(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=Wt(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Di="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$i=rs(Di);function Sr(e){return!!e||e===""}const Ki=e=>ne(e)?e:e==null?"":j(e)||Z(e)&&(e.toString===Ir||!B(e.toString))?JSON.stringify(e,Cr,2):String(e),Cr=(e,t)=>t&&t.__v_isRef?Cr(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Er(t)?{[`Set(${t.size})`]:[...t.values()]}:Z(t)&&!j(t)&&!Pr(t)?String(t):t;let _e;class Or{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function zi(e){return new Or(e)}function Wi(e,t=_e){t&&t.active&&t.effects.push(e)}function Qi(){return _e}const us=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Tr=e=>(e.w&Xe)>0,Mr=e=>(e.n&Xe)>0,Ji=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Yi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Tr(r)&&!Mr(r)?r.delete(e):t[n++]=r,r.w&=~Xe,r.n&=~Xe}t.length=n}},Un=new WeakMap;let Lt=0,Xe=1;const Dn=30;let be;const it=Symbol(""),$n=Symbol("");class as{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Wi(this,s)}run(){if(!this.active)return this.fn();let t=be,n=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=be,be=this,Ge=!0,Xe=1<<++Lt,Lt<=Dn?Ji(this):Ts(this),this.fn()}finally{Lt<=Dn&&Yi(this),Xe=1<<--Lt,be=this.parent,Ge=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){be===this?this.deferStop=!0:this.active&&(Ts(this),this.onStop&&this.onStop(),this.active=!1)}}function Ts(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ge=!0;const qr=[];function Tt(){qr.push(Ge),Ge=!1}function Mt(){const e=qr.pop();Ge=e===void 0?!0:e}function de(e,t,n){if(Ge&&be){let s=Un.get(e);s||Un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=us()),Hr(r)}}function Hr(e,t){let n=!1;Lt<=Dn?Mr(e)||(e.n|=Xe,n=!Tr(e)):n=!e.has(be),n&&(e.add(be),be.deps.push(e))}function Ue(e,t,n,s,r,i){const o=Un.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&j(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&c.push(f)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":j(e)?cs(n)&&c.push(o.get("length")):(c.push(o.get(it)),vt(e)&&c.push(o.get($n)));break;case"delete":j(e)||(c.push(o.get(it)),vt(e)&&c.push(o.get($n)));break;case"set":vt(e)&&c.push(o.get(it));break}if(c.length===1)c[0]&&Kn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Kn(us(l))}}function Kn(e,t){const n=j(e)?e:[...e];for(const s of n)s.computed&&Ms(s);for(const s of n)s.computed||Ms(s)}function Ms(e,t){(e!==be||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Gi=rs("__proto__,__v_isRef,__isVue"),kr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ls)),Vi=fs(),Xi=fs(!1,!0),Zi=fs(!0),qs=eo();function eo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let i=0,o=this.length;i<o;i++)de(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Tt();const s=K(this)[t].apply(this,n);return Mt(),s}}),e}function to(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function fs(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?yo:Br:t?Nr:Lr).get(s))return s;const o=j(s);if(!e){if(o&&$(qs,r))return Reflect.get(qs,r,i);if(r==="hasOwnProperty")return to}const c=Reflect.get(s,r,i);return(ls(r)?kr.has(r):Gi(r))||(e||de(s,"get",r),t)?c:ce(c)?o&&cs(r)?c:c.value:Z(c)?e?Dr(c):En(c):c}}const no=Fr(),so=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(It(o)&&ce(o)&&!ce(r))return!1;if(!e&&(!hn(r)&&!It(r)&&(o=K(o),r=K(r)),!j(n)&&ce(o)&&!ce(r)))return o.value=r,!0;const c=j(n)&&cs(s)?Number(s)<n.length:$(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?Kt(r,o)&&Ue(n,"set",s,r):Ue(n,"add",s,r)),l}}function ro(e,t){const n=$(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ue(e,"delete",t,void 0),s}function io(e,t){const n=Reflect.has(e,t);return(!ls(t)||!kr.has(t))&&de(e,"has",t),n}function oo(e){return de(e,"iterate",j(e)?"length":it),Reflect.ownKeys(e)}const jr={get:Vi,set:no,deleteProperty:ro,has:io,ownKeys:oo},lo={get:Zi,set(e,t){return!0},deleteProperty(e,t){return!0}},co=re({},jr,{get:Xi,set:so}),ds=e=>e,An=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),i=K(t);n||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=An(r),c=s?ds:n?ms:Qt;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return t||(e!==r&&de(s,"has",e),de(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&de(K(e),"iterate",it),Reflect.get(e,"size",e)}function Hs(e){e=K(e);const t=K(this);return An(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function ks(e,t){t=K(t);const n=K(this),{has:s,get:r}=An(n);let i=s.call(n,e);i||(e=K(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Kt(t,o)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Fs(e){const t=K(this),{has:n,get:s}=An(t);let r=n.call(t,e);r||(e=K(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ue(t,"delete",e,void 0),i}function js(){const e=K(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?ds:e?ms:Qt;return!e&&de(c,"iterate",it),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=vt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?ds:t?ms:Qt;return!t&&de(i,"iterate",l?$n:it),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){return e==="delete"?!1:this}}function uo(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:Hs,set:ks,delete:Fs,clear:js,forEach:sn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:Hs,set:ks,delete:Fs,clear:js,forEach:sn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:sn(!0,!1)},s={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),s[i]=rn(i,!0,!0)}),[e,n,t,s]}const[ao,fo,po,ho]=uo();function ps(e,t){const n=t?e?ho:po:e?fo:ao;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($(n,r)&&r in s?n:s,r,i)}const go={get:ps(!1,!1)},mo={get:ps(!1,!0)},_o={get:ps(!0,!1)},Lr=new WeakMap,Nr=new WeakMap,Br=new WeakMap,yo=new WeakMap;function bo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vo(e){return e.__v_skip||!Object.isExtensible(e)?0:bo(Hi(e))}function En(e){return It(e)?e:hs(e,!1,jr,go,Lr)}function Ur(e){return hs(e,!1,co,mo,Nr)}function Dr(e){return hs(e,!0,lo,_o,Br)}function hs(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=vo(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function wt(e){return It(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function hn(e){return!!(e&&e.__v_isShallow)}function $r(e){return wt(e)||It(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function gs(e){return pn(e,"__v_skip",!0),e}const Qt=e=>Z(e)?En(e):e,ms=e=>Z(e)?Dr(e):e;function Kr(e){Ge&&be&&(e=K(e),Hr(e.dep||(e.dep=us())))}function zr(e,t){e=K(e);const n=e.dep;n&&Kn(n)}function ce(e){return!!(e&&e.__v_isRef===!0)}function mt(e){return Wr(e,!1)}function wo(e){return Wr(e,!0)}function Wr(e,t){return ce(e)?e:new Ao(e,t)}class Ao{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:Qt(t)}get value(){return Kr(this),this._value}set value(t){const n=this.__v_isShallow||hn(t)||It(t);t=n?t:K(t),Kt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qt(t),zr(this))}}function At(e){return ce(e)?e.value:e}const Eo={get:(e,t,n)=>At(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ce(r)&&!ce(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Qr(e){return wt(e)?e:new Proxy(e,Eo)}class xo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new as(t,()=>{this._dirty||(this._dirty=!0,zr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return Kr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Io(e,t,n=!1){let s,r;const i=B(e);return i?(s=e,r=Ae):(s=e.get,r=e.set),new xo(s,r,i||!r,n)}function Ve(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Ee(e,t,n,s){if(B(e)){const i=Ve(e,t,n,s);return i&&xr(i)&&i.catch(o=>{xn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,n,s));return r}function xn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,c)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Ve(l,null,10,[e,o,c]);return}}Po(e,n,r,s)}function Po(e,t,n,s=!0){console.error(e)}let Jt=!1,zn=!1;const oe=[];let qe=0;const Et=[];let Le=null,st=0;const Jr=Promise.resolve();let _s=null;function Yr(e){const t=_s||Jr;return e?t.then(this?e.bind(this):e):t}function Ro(e){let t=qe+1,n=oe.length;for(;t<n;){const s=t+n>>>1;Yt(oe[s])<e?t=s+1:n=s}return t}function ys(e){(!oe.length||!oe.includes(e,Jt&&e.allowRecurse?qe+1:qe))&&(e.id==null?oe.push(e):oe.splice(Ro(e.id),0,e),Gr())}function Gr(){!Jt&&!zn&&(zn=!0,_s=Jr.then(Xr))}function So(e){const t=oe.indexOf(e);t>qe&&oe.splice(t,1)}function Co(e){j(e)?Et.push(...e):(!Le||!Le.includes(e,e.allowRecurse?st+1:st))&&Et.push(e),Gr()}function Ls(e,t=Jt?qe+1:0){for(;t<oe.length;t++){const n=oe[t];n&&n.pre&&(oe.splice(t,1),t--,n())}}function Vr(e){if(Et.length){const t=[...new Set(Et)];if(Et.length=0,Le){Le.push(...t);return}for(Le=t,Le.sort((n,s)=>Yt(n)-Yt(s)),st=0;st<Le.length;st++)Le[st]();Le=null,st=0}}const Yt=e=>e.id==null?1/0:e.id,Oo=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Xr(e){zn=!1,Jt=!0,oe.sort(Oo);const t=Ae;try{for(qe=0;qe<oe.length;qe++){const n=oe[qe];n&&n.active!==!1&&Ve(n,null,14)}}finally{qe=0,oe.length=0,Vr(),Jt=!1,_s=null,(oe.length||Et.length)&&Xr()}}function To(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||X;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||X;g&&(r=n.map(v=>ne(v)?v.trim():v)),h&&(r=n.map(ji))}let c,l=s[c=On(t)]||s[c=On(xt(t))];!l&&i&&(l=s[c=On(Ot(t))]),l&&Ee(l,e,6,r);const f=s[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ee(f,e,6,r)}}function Zr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!B(e)){const l=f=>{const d=Zr(f,t,!0);d&&(c=!0,re(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(Z(e)&&s.set(e,null),null):(j(i)?i.forEach(l=>o[l]=null):re(o,i),Z(e)&&s.set(e,o),o)}function In(e,t){return!e||!bn(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Ot(t))||$(e,t))}let He=null,ei=null;function gn(e){const t=He;return He=e,ei=e&&e.type.__scopeId||null,t}function Mo(e,t=He,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Js(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Js(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Mn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:v,ctx:O,inheritAttrs:T}=e;let F,P;const S=gn(e);try{if(n.shapeFlag&4){const q=r||s;F=Me(d.call(q,q,h,i,v,g,O)),P=l}else{const q=t;F=Me(q.length>1?q(i,{attrs:l,slots:c,emit:f}):q(i,null)),P=t.props?l:qo(l)}}catch(q){Ut.length=0,xn(q,e,1),F=he(lt)}let L=F;if(P&&T!==!1){const q=Object.keys(P),{shapeFlag:Y}=L;q.length&&Y&7&&(o&&q.some(is)&&(P=Ho(P,o)),L=Pt(L,P))}return n.dirs&&(L=Pt(L),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&(L.transition=n.transition),F=L,gn(S),F}const qo=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ko(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ns(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!In(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Ns(s,o,f):!0:!!o;return!1}function Ns(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!In(n,i))return!0}return!1}function Fo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const jo=e=>e.__isSuspense;function Lo(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):Co(e)}const on={};function cn(e,t,n){return ti(e,t,n)}function ti(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=X){var c;const l=Qi()===((c=le)==null?void 0:c.scope)?le:null;let f,d=!1,h=!1;if(ce(e)?(f=()=>e.value,d=hn(e)):wt(e)?(f=()=>e,s=!0):j(e)?(h=!0,d=e.some(q=>wt(q)||hn(q)),f=()=>e.map(q=>{if(ce(q))return q.value;if(wt(q))return _t(q);if(B(q))return Ve(q,l,2)})):B(e)?t?f=()=>Ve(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[v])}:f=Ae,t&&s){const q=f;f=()=>_t(q())}let g,v=q=>{g=S.onStop=()=>{Ve(q,l,4)}},O;if(Vt)if(v=Ae,t?n&&Ee(t,l,3,[f(),h?[]:void 0,v]):f(),r==="sync"){const q=Ml();O=q.__watcherHandles||(q.__watcherHandles=[])}else return Ae;let T=h?new Array(e.length).fill(on):on;const F=()=>{if(S.active)if(t){const q=S.run();(s||d||(h?q.some((Y,te)=>Kt(Y,T[te])):Kt(q,T)))&&(g&&g(),Ee(t,l,3,[q,T===on?void 0:h&&T[0]===on?[]:T,v]),T=q)}else S.run()};F.allowRecurse=!!t;let P;r==="sync"?P=F:r==="post"?P=()=>fe(F,l&&l.suspense):(F.pre=!0,l&&(F.id=l.uid),P=()=>ys(F));const S=new as(f,P);t?n?F():T=S.run():r==="post"?fe(S.run.bind(S),l&&l.suspense):S.run();const L=()=>{S.stop(),l&&l.scope&&os(l.scope.effects,S)};return O&&O.push(L),L}function No(e,t,n){const s=this.proxy,r=ne(e)?e.includes(".")?ni(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const o=le;Rt(this);const c=ti(r,i.bind(s),n);return o?Rt(o):ot(),c}function ni(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function _t(e,t){if(!Z(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ce(e))_t(e.value,t);else if(j(e))for(let n=0;n<e.length;n++)_t(e[n],t);else if(Er(e)||vt(e))e.forEach(n=>{_t(n,t)});else if(Pr(e))for(const n in e)_t(e[n],t);return e}function et(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(Tt(),Ee(l,n,8,[e.el,c,e,t]),Mt())}}function si(e,t){return B(e)?(()=>re({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,ri=e=>e.type.__isKeepAlive;function Bo(e,t){ii(e,"a",t)}function Uo(e,t){ii(e,"da",t)}function ii(e,t,n=le){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Pn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ri(r.parent.vnode)&&Do(s,t,n,r),r=r.parent}}function Do(e,t,n,s){const r=Pn(t,e,s,!0);oi(()=>{os(s[t],r)},n)}function Pn(e,t,n=le,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Tt(),Rt(n);const c=Ee(t,n,e,o);return ot(),Mt(),c});return s?r.unshift(i):r.push(i),i}}const De=e=>(t,n=le)=>(!Vt||e==="sp")&&Pn(e,(...s)=>t(...s),n),$o=De("bm"),Wn=De("m"),Ko=De("bu"),zo=De("u"),Wo=De("bum"),oi=De("um"),Qo=De("sp"),Jo=De("rtg"),Yo=De("rtc");function Go(e,t=le){Pn("ec",e,t)}const Vo=Symbol.for("v-ndc");function Xo(e,t,n,s){let r;const i=n&&n[s];if(j(e)||ne(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(Z(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,l=o.length;c<l;c++){const f=o[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const Qn=e=>e?_i(e)?Es(e)||e.proxy:Qn(e.parent):null,Bt=re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qn(e.parent),$root:e=>Qn(e.root),$emit:e=>e.emit,$options:e=>bs(e),$forceUpdate:e=>e.f||(e.f=()=>ys(e.update)),$nextTick:e=>e.n||(e.n=Yr.bind(e.proxy)),$watch:e=>No.bind(e)}),qn=(e,t)=>e!==X&&!e.__isScriptSetup&&$(e,t),Zo={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(qn(s,t))return o[t]=1,s[t];if(r!==X&&$(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&$(f,t))return o[t]=3,i[t];if(n!==X&&$(n,t))return o[t]=4,n[t];Jn&&(o[t]=0)}}const d=Bt[t];let h,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==X&&$(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,$(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return qn(r,t)?(r[t]=n,!0):s!==X&&$(s,t)?(s[t]=n,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==X&&$(e,o)||qn(t,o)||(c=i[0])&&$(c,o)||$(s,o)||$(Bt,o)||$(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Bs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Jn=!0;function el(e){const t=bs(e),n=e.proxy,s=e.ctx;Jn=!1,t.beforeCreate&&Us(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:v,updated:O,activated:T,deactivated:F,beforeDestroy:P,beforeUnmount:S,destroyed:L,unmounted:q,render:Y,renderTracked:te,renderTriggered:Ie,errorCaptured:ke,serverPrefetch:ct,expose:Pe,inheritAttrs:Ke,components:Ze,directives:Re,filters:qt}=t;if(f&&tl(f,s,null),o)for(const G in o){const z=o[G];B(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);Z(G)&&(e.data=En(G))}if(Jn=!0,i)for(const G in i){const z=i[G],Fe=B(z)?z.bind(n,n):B(z.get)?z.get.bind(n,n):Ae,ze=!B(z)&&B(z.set)?z.set.bind(n):Ae,Se=ve({get:Fe,set:ze});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Se.value,set:ae=>Se.value=ae})}if(c)for(const G in c)li(c[G],s,n,G);if(l){const G=B(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{an(z,G[z])})}d&&Us(d,e,"c");function se(G,z){j(z)?z.forEach(Fe=>G(Fe.bind(n))):z&&G(z.bind(n))}if(se($o,h),se(Wn,g),se(Ko,v),se(zo,O),se(Bo,T),se(Uo,F),se(Go,ke),se(Yo,te),se(Jo,Ie),se(Wo,S),se(oi,q),se(Qo,ct),j(Pe))if(Pe.length){const G=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Fe=>n[z]=Fe})})}else e.exposed||(e.exposed={});Y&&e.render===Ae&&(e.render=Y),Ke!=null&&(e.inheritAttrs=Ke),Ze&&(e.components=Ze),Re&&(e.directives=Re)}function tl(e,t,n=Ae){j(e)&&(e=Yn(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),ce(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Us(e,t,n){Ee(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function li(e,t,n,s){const r=s.includes(".")?ni(n,s):()=>n[s];if(ne(e)){const i=t[e];B(i)&&cn(r,i)}else if(B(e))cn(r,e.bind(n));else if(Z(e))if(j(e))e.forEach(i=>li(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&cn(r,i,e)}}function bs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>mn(l,f,o,!0)),mn(l,t,o)),Z(t)&&i.set(t,l),l}function mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mn(e,i,n,!0),r&&r.forEach(o=>mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=nl[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const nl={data:Ds,props:$s,emits:$s,methods:Nt,computed:Nt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Nt,directives:Nt,watch:rl,provide:Ds,inject:sl};function Ds(e,t){return t?e?function(){return re(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function sl(e,t){return Nt(Yn(e),Yn(t))}function Yn(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Nt(e,t){return e?re(Object.create(null),e,t):t}function $s(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:re(Object.create(null),Bs(e),Bs(t??{})):t}function rl(e,t){if(!e)return t;if(!t)return e;const n=re(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function ci(){return{app:null,config:{isNativeTag:Ti,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 il=0;function ol(e,t){return function(s,r=null){B(s)||(s=re({},s)),r!=null&&!Z(r)&&(r=null);const i=ci(),o=new Set;let c=!1;const l=i.app={_uid:il++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:ql,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&B(f.install)?(o.add(f),f.install(l,...d)):B(f)&&(o.add(f),f(l,...d))),l},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),l},component(f,d){return d?(i.components[f]=d,l):i.components[f]},directive(f,d){return d?(i.directives[f]=d,l):i.directives[f]},mount(f,d,h){if(!c){const g=he(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,Es(g.component)||g.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){_n=l;try{return f()}finally{_n=null}}};return l}}let _n=null;function an(e,t){if(le){let n=le.provides;const s=le.parent&&le.parent.provides;s===n&&(n=le.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=le||He;if(s||_n){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:_n._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s&&s.proxy):t}}function ll(e,t,n,s=!1){const r={},i={};pn(i,Sn,1),e.propsDefaults=Object.create(null),ui(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Ur(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function cl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=K(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(In(e.emitsOptions,g))continue;const v=t[g];if(l)if($(i,g))v!==i[g]&&(i[g]=v,f=!0);else{const O=xt(g);r[O]=Gn(l,c,O,v,e,!1)}else v!==i[g]&&(i[g]=v,f=!0)}}}else{ui(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!$(t,h)&&((d=Ot(h))===h||!$(t,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Gn(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!$(t,h))&&(delete i[h],f=!0)}f&&Ue(e,"set","$attrs")}function ui(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(ln(l))continue;const f=t[l];let d;r&&$(r,d=xt(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:In(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||X;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Gn(r,l,h,f[h],e,!$(f,h))}}return o}function Gn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=$(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&B(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(Rt(r),s=f[n]=l.call(null,t),ot())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Ot(n))&&(s=!0))}return s}function ai(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!B(e)){const d=h=>{l=!0;const[g,v]=ai(h,t,!0);re(o,g),v&&c.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return Z(e)&&s.set(e,bt),bt;if(j(i))for(let d=0;d<i.length;d++){const h=xt(i[d]);Ks(h)&&(o[h]=X)}else if(i)for(const d in i){const h=xt(d);if(Ks(h)){const g=i[d],v=o[h]=j(g)||B(g)?{type:g}:re({},g);if(v){const O=Qs(Boolean,v.type),T=Qs(String,v.type);v[0]=O>-1,v[1]=T<0||O<T,(O>-1||$(v,"default"))&&c.push(h)}}}const f=[o,c];return Z(e)&&s.set(e,f),f}function Ks(e){return e[0]!=="$"}function zs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Ws(e,t){return zs(e)===zs(t)}function Qs(e,t){return j(t)?t.findIndex(n=>Ws(n,e)):B(t)&&Ws(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",vs=e=>j(e)?e.map(Me):[Me(e)],ul=(e,t,n)=>{if(t._n)return t;const s=Mo((...r)=>vs(t(...r)),n);return s._c=!1,s},di=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const i=e[r];if(B(i))t[r]=ul(r,i,s);else if(i!=null){const o=vs(i);t[r]=()=>o}}},pi=(e,t)=>{const n=vs(t);e.slots.default=()=>n},al=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):di(t,e.slots={})}else e.slots={},t&&pi(e,t);pn(e.slots,Sn,1)},fl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=X;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(re(r,t),!n&&c===1&&delete r._):(i=!t.$stable,di(t,r)),o=t}else t&&(pi(e,t),o={default:1});if(i)for(const c in r)!fi(c)&&!(c in o)&&delete r[c]};function Vn(e,t,n,s,r=!1){if(j(e)){e.forEach((g,v)=>Vn(g,t&&(j(t)?t[v]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?Es(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===X?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(ne(f)?(d[f]=null,$(h,f)&&(h[f]=null)):ce(f)&&(f.value=null)),B(l))Ve(l,c,12,[o,d]);else{const g=ne(l),v=ce(l);if(g||v){const O=()=>{if(e.f){const T=g?$(h,l)?h[l]:d[l]:l.value;r?j(T)&&os(T,i):j(T)?T.includes(i)||T.push(i):g?(d[l]=[i],$(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,$(h,l)&&(h[l]=o)):v&&(l.value=o,e.k&&(d[e.k]=o))};o?(O.id=-1,fe(O,n)):O()}}}const fe=Lo;function dl(e){return pl(e)}function pl(e,t){const n=Bn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:v=Ae,insertStaticContent:O}=e,T=(u,a,p,m=null,y=null,b=null,I=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!kt(u,a)&&(m=_(u),ae(u,y,b,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:w,ref:H,shapeFlag:C}=a;switch(w){case Rn:F(u,a,p,m);break;case lt:P(u,a,p,m);break;case Hn:u==null&&S(a,p,m,I);break;case Te:Ze(u,a,p,m,y,b,I,A,E);break;default:C&1?Y(u,a,p,m,y,b,I,A,E):C&6?Re(u,a,p,m,y,b,I,A,E):(C&64||C&128)&&w.process(u,a,p,m,y,b,I,A,E,x)}H!=null&&y&&Vn(H,u&&u.ref,b,a||u,!a)},F=(u,a,p,m)=>{if(u==null)s(a.el=c(a.children),p,m);else{const y=a.el=u.el;a.children!==u.children&&f(y,a.children)}},P=(u,a,p,m)=>{u==null?s(a.el=l(a.children||""),p,m):a.el=u.el},S=(u,a,p,m)=>{[u.el,u.anchor]=O(u.children,a,p,m,u.el,u.anchor)},L=({el:u,anchor:a},p,m)=>{let y;for(;u&&u!==a;)y=g(u),s(u,p,m),u=y;s(a,p,m)},q=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},Y=(u,a,p,m,y,b,I,A,E)=>{I=I||a.type==="svg",u==null?te(a,p,m,y,b,I,A,E):ct(u,a,y,b,I,A,E)},te=(u,a,p,m,y,b,I,A)=>{let E,w;const{type:H,props:C,shapeFlag:k,transition:N,dirs:U}=u;if(E=u.el=o(u.type,b,C&&C.is,C),k&8?d(E,u.children):k&16&&ke(u.children,E,null,m,y,b&&H!=="foreignObject",I,A),U&&et(u,null,m,"created"),Ie(E,u,u.scopeId,I,m),C){for(const J in C)J!=="value"&&!ln(J)&&i(E,J,null,C[J],b,u.children,m,y,ie);"value"in C&&i(E,"value",null,C.value),(w=C.onVnodeBeforeMount)&&Oe(w,m,u)}U&&et(u,null,m,"beforeMount");const V=(!y||y&&!y.pendingBranch)&&N&&!N.persisted;V&&N.beforeEnter(E),s(E,a,p),((w=C&&C.onVnodeMounted)||V||U)&&fe(()=>{w&&Oe(w,m,u),V&&N.enter(E),U&&et(u,null,m,"mounted")},y)},Ie=(u,a,p,m,y)=>{if(p&&v(u,p),m)for(let b=0;b<m.length;b++)v(u,m[b]);if(y){let b=y.subTree;if(a===b){const I=y.vnode;Ie(u,I,I.scopeId,I.slotScopeIds,y.parent)}}},ke=(u,a,p,m,y,b,I,A,E=0)=>{for(let w=E;w<u.length;w++){const H=u[w]=A?Je(u[w]):Me(u[w]);T(null,H,a,p,m,y,b,I,A)}},ct=(u,a,p,m,y,b,I)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:w,dirs:H}=a;E|=u.patchFlag&16;const C=u.props||X,k=a.props||X;let N;p&&tt(p,!1),(N=k.onVnodeBeforeUpdate)&&Oe(N,p,a,u),H&&et(a,u,p,"beforeUpdate"),p&&tt(p,!0);const U=y&&a.type!=="foreignObject";if(w?Pe(u.dynamicChildren,w,A,p,m,U,b):I||z(u,a,A,null,p,m,U,b,!1),E>0){if(E&16)Ke(A,a,C,k,p,m,y);else if(E&2&&C.class!==k.class&&i(A,"class",null,k.class,y),E&4&&i(A,"style",C.style,k.style,y),E&8){const V=a.dynamicProps;for(let J=0;J<V.length;J++){const ee=V[J],me=C[ee],dt=k[ee];(dt!==me||ee==="value")&&i(A,ee,me,dt,y,u.children,p,m,ie)}}E&1&&u.children!==a.children&&d(A,a.children)}else!I&&w==null&&Ke(A,a,C,k,p,m,y);((N=k.onVnodeUpdated)||H)&&fe(()=>{N&&Oe(N,p,a,u),H&&et(a,u,p,"updated")},m)},Pe=(u,a,p,m,y,b,I)=>{for(let A=0;A<a.length;A++){const E=u[A],w=a[A],H=E.el&&(E.type===Te||!kt(E,w)||E.shapeFlag&70)?h(E.el):p;T(E,w,H,null,m,y,b,I,!0)}},Ke=(u,a,p,m,y,b,I)=>{if(p!==m){if(p!==X)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,I,a.children,y,b,ie);for(const A in m){if(ln(A))continue;const E=m[A],w=p[A];E!==w&&A!=="value"&&i(u,A,w,E,I,a.children,y,b,ie)}"value"in m&&i(u,"value",p.value,m.value)}},Ze=(u,a,p,m,y,b,I,A,E)=>{const w=a.el=u?u.el:c(""),H=a.anchor=u?u.anchor:c("");let{patchFlag:C,dynamicChildren:k,slotScopeIds:N}=a;N&&(A=A?A.concat(N):N),u==null?(s(w,p,m),s(H,p,m),ke(a.children,p,H,y,b,I,A,E)):C>0&&C&64&&k&&u.dynamicChildren?(Pe(u.dynamicChildren,k,p,y,b,I,A),(a.key!=null||y&&a===y.subTree)&&hi(u,a,!0)):z(u,a,p,H,y,b,I,A,E)},Re=(u,a,p,m,y,b,I,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,I,E):qt(a,p,m,y,b,I,E):ut(u,a,E)},qt=(u,a,p,m,y,b,I)=>{const A=u.component=Il(u,m,y);if(ri(u)&&(A.ctx.renderer=x),Pl(A),A.asyncDep){if(y&&y.registerDep(A,se),!u.el){const E=A.subTree=he(lt);P(null,E,a,p)}return}se(A,u,a,p,y,b,I)},ut=(u,a,p)=>{const m=a.component=u.component;if(ko(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,So(m.update),m.update();else a.el=u.el,m.vnode=a},se=(u,a,p,m,y,b,I)=>{const A=()=>{if(u.isMounted){let{next:H,bu:C,u:k,parent:N,vnode:U}=u,V=H,J;tt(u,!1),H?(H.el=U.el,G(u,H,I)):H=U,C&&Tn(C),(J=H.props&&H.props.onVnodeBeforeUpdate)&&Oe(J,N,H,U),tt(u,!0);const ee=Mn(u),me=u.subTree;u.subTree=ee,T(me,ee,h(me.el),_(me),u,y,b),H.el=ee.el,V===null&&Fo(u,ee.el),k&&fe(k,y),(J=H.props&&H.props.onVnodeUpdated)&&fe(()=>Oe(J,N,H,U),y)}else{let H;const{el:C,props:k}=a,{bm:N,m:U,parent:V}=u,J=un(a);if(tt(u,!1),N&&Tn(N),!J&&(H=k&&k.onVnodeBeforeMount)&&Oe(H,V,a),tt(u,!0),C&&W){const ee=()=>{u.subTree=Mn(u),W(C,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&ee()):ee()}else{const ee=u.subTree=Mn(u);T(null,ee,p,m,u,y,b),a.el=ee.el}if(U&&fe(U,y),!J&&(H=k&&k.onVnodeMounted)){const ee=a;fe(()=>Oe(H,V,ee),y)}(a.shapeFlag&256||V&&un(V.vnode)&&V.vnode.shapeFlag&256)&&u.a&&fe(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new as(A,()=>ys(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,tt(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,cl(u,a.props,m,p),fl(u,a.children,p),Tt(),Ls(),Mt()},z=(u,a,p,m,y,b,I,A,E=!1)=>{const w=u&&u.children,H=u?u.shapeFlag:0,C=a.children,{patchFlag:k,shapeFlag:N}=a;if(k>0){if(k&128){ze(w,C,p,m,y,b,I,A,E);return}else if(k&256){Fe(w,C,p,m,y,b,I,A,E);return}}N&8?(H&16&&ie(w,y,b),C!==w&&d(p,C)):H&16?N&16?ze(w,C,p,m,y,b,I,A,E):ie(w,y,b,!0):(H&8&&d(p,""),N&16&&ke(C,p,m,y,b,I,A,E))},Fe=(u,a,p,m,y,b,I,A,E)=>{u=u||bt,a=a||bt;const w=u.length,H=a.length,C=Math.min(w,H);let k;for(k=0;k<C;k++){const N=a[k]=E?Je(a[k]):Me(a[k]);T(u[k],N,p,null,y,b,I,A,E)}w>H?ie(u,y,b,!0,!1,C):ke(a,p,m,y,b,I,A,E,C)},ze=(u,a,p,m,y,b,I,A,E)=>{let w=0;const H=a.length;let C=u.length-1,k=H-1;for(;w<=C&&w<=k;){const N=u[w],U=a[w]=E?Je(a[w]):Me(a[w]);if(kt(N,U))T(N,U,p,null,y,b,I,A,E);else break;w++}for(;w<=C&&w<=k;){const N=u[C],U=a[k]=E?Je(a[k]):Me(a[k]);if(kt(N,U))T(N,U,p,null,y,b,I,A,E);else break;C--,k--}if(w>C){if(w<=k){const N=k+1,U=N<H?a[N].el:m;for(;w<=k;)T(null,a[w]=E?Je(a[w]):Me(a[w]),p,U,y,b,I,A,E),w++}}else if(w>k)for(;w<=C;)ae(u[w],y,b,!0),w++;else{const N=w,U=w,V=new Map;for(w=U;w<=k;w++){const pe=a[w]=E?Je(a[w]):Me(a[w]);pe.key!=null&&V.set(pe.key,w)}let J,ee=0;const me=k-U+1;let dt=!1,Rs=0;const Ht=new Array(me);for(w=0;w<me;w++)Ht[w]=0;for(w=N;w<=C;w++){const pe=u[w];if(ee>=me){ae(pe,y,b,!0);continue}let Ce;if(pe.key!=null)Ce=V.get(pe.key);else for(J=U;J<=k;J++)if(Ht[J-U]===0&&kt(pe,a[J])){Ce=J;break}Ce===void 0?ae(pe,y,b,!0):(Ht[Ce-U]=w+1,Ce>=Rs?Rs=Ce:dt=!0,T(pe,a[Ce],p,null,y,b,I,A,E),ee++)}const Ss=dt?hl(Ht):bt;for(J=Ss.length-1,w=me-1;w>=0;w--){const pe=U+w,Ce=a[pe],Cs=pe+1<H?a[pe+1].el:m;Ht[w]===0?T(null,Ce,p,Cs,y,b,I,A,E):dt&&(J<0||w!==Ss[J]?Se(Ce,p,Cs,2):J--)}}},Se=(u,a,p,m,y=null)=>{const{el:b,type:I,transition:A,children:E,shapeFlag:w}=u;if(w&6){Se(u.component.subTree,a,p,m);return}if(w&128){u.suspense.move(a,p,m);return}if(w&64){I.move(u,a,p,x);return}if(I===Te){s(b,a,p);for(let C=0;C<E.length;C++)Se(E[C],a,p,m);s(u.anchor,a,p);return}if(I===Hn){L(u,a,p);return}if(m!==2&&w&1&&A)if(m===0)A.beforeEnter(b),s(b,a,p),fe(()=>A.enter(b),y);else{const{leave:C,delayLeave:k,afterLeave:N}=A,U=()=>s(b,a,p),V=()=>{C(b,()=>{U(),N&&N()})};k?k(b,U,V):V()}else s(b,a,p)},ae=(u,a,p,m=!1,y=!1)=>{const{type:b,props:I,ref:A,children:E,dynamicChildren:w,shapeFlag:H,patchFlag:C,dirs:k}=u;if(A!=null&&Vn(A,null,p,u,!0),H&256){a.ctx.deactivate(u);return}const N=H&1&&k,U=!un(u);let V;if(U&&(V=I&&I.onVnodeBeforeUnmount)&&Oe(V,a,u),H&6)Zt(u.component,p,m);else{if(H&128){u.suspense.unmount(p,m);return}N&&et(u,null,a,"beforeUnmount"),H&64?u.type.remove(u,a,p,y,x,m):w&&(b!==Te||C>0&&C&64)?ie(w,a,p,!1,!0):(b===Te&&C&384||!y&&H&16)&&ie(E,a,p),m&&at(u)}(U&&(V=I&&I.onVnodeUnmounted)||N)&&fe(()=>{V&&Oe(V,a,u),N&&et(u,null,a,"unmounted")},p)},at=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===Te){ft(p,m);return}if(a===Hn){q(u);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:I,delayLeave:A}=y,E=()=>I(p,b);A?A(u.el,b,E):E()}else b()},ft=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},Zt=(u,a,p)=>{const{bum:m,scope:y,update:b,subTree:I,um:A}=u;m&&Tn(m),y.stop(),b&&(b.active=!1,ae(I,u,a,p)),A&&fe(A,a),fe(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},ie=(u,a,p,m=!1,y=!1,b=0)=>{for(let I=b;I<u.length;I++)ae(u[I],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),R=(u,a,p)=>{u==null?a._vnode&&ae(a._vnode,null,null,!0):T(a._vnode||null,u,a,null,null,null,p),Ls(),Vr(),a._vnode=u},x={p:T,um:ae,m:Se,r:at,mt:qt,mc:ke,pc:z,pbc:Pe,n:_,o:e};let M,W;return t&&([M,W]=t(x)),{render:R,hydrate:M,createApp:ol(R,M)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function hi(e,t,n=!1){const s=e.children,r=t.children;if(j(s)&&j(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Je(r[i]),c.el=o.el),n||hi(o,c)),c.type===Rn&&(c.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<f?i=c+1:o=c;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const gl=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Ut=[];let we=null;function nt(e=!1){Ut.push(we=e?null:[])}function ml(){Ut.pop(),we=Ut[Ut.length-1]||null}let Gt=1;function Js(e){Gt+=e}function gi(e){return e.dynamicChildren=Gt>0?we||bt:null,ml(),Gt>0&&we&&we.push(e),e}function pt(e,t,n,s,r,i){return gi(ye(e,t,n,s,r,i,!0))}function _l(e,t,n,s,r){return gi(he(e,t,n,s,r,!0))}function Xn(e){return e?e.__v_isVNode===!0:!1}function kt(e,t){return e.type===t.type&&e.key===t.key}const Sn="__vInternal",mi=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ne(e)||ce(e)||B(e)?{i:He,r:e,k:t,f:!!n}:e:null);function ye(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mi(t),ref:t&&fn(t),scopeId:ei,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:He};return c?(ws(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ne(n)?8:16),Gt>0&&!o&&we&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&we.push(l),l}const he=yl;function yl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Vo)&&(e=lt),Xn(e)){const c=Pt(e,t,!0);return n&&ws(c,n),Gt>0&&!i&&we&&(c.shapeFlag&6?we[we.indexOf(e)]=c:we.push(c)),c.patchFlag|=-2,c}if(Ol(e)&&(e=e.__vccOpts),t){t=bl(t);let{class:c,style:l}=t;c&&!ne(c)&&(t.class=Wt(c)),Z(l)&&($r(l)&&!j(l)&&(l=re({},l)),t.style=zt(l))}const o=ne(e)?1:jo(e)?128:gl(e)?64:Z(e)?4:B(e)?2:0;return ye(e,t,n,s,r,o,i,!0)}function bl(e){return e?$r(e)||Sn in e?re({},e):e:null}function Pt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Al(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&mi(c),ref:t&&t.ref?n&&r?j(r)?r.concat(fn(t)):[r,fn(t)]:fn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?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&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function vl(e=" ",t=0){return he(Rn,null,e,t)}function wl(e="",t=!1){return t?(nt(),_l(lt,null,e)):he(lt,null,e)}function Me(e){return e==null||typeof e=="boolean"?he(lt):j(e)?he(Te,null,e.slice()):typeof e=="object"?Je(e):he(Rn,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function ws(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ws(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Sn in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[vl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Al(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Wt([t.class,s.class]));else if(r==="style")t.style=zt([t.style,s.style]);else if(bn(r)){const i=t[r],o=s[r];o&&i!==o&&!(j(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Oe(e,t,n,s=null){Ee(e,t,7,[n,s])}const El=ci();let xl=0;function Il(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||El,i={uid:xl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Or(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ai(s,r),emitsOptions:Zr(s,r),emit:null,emitted:null,propsDefaults:X,inheritAttrs:s.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,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=To.bind(null,i),e.ce&&e.ce(i),i}let le=null,As,ht,Ys="__VUE_INSTANCE_SETTERS__";(ht=Bn()[Ys])||(ht=Bn()[Ys]=[]),ht.push(e=>le=e),As=e=>{ht.length>1?ht.forEach(t=>t(e)):ht[0](e)};const Rt=e=>{As(e),e.scope.on()},ot=()=>{le&&le.scope.off(),As(null)};function _i(e){return e.vnode.shapeFlag&4}let Vt=!1;function Pl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=_i(e);ll(e,n,r,t),al(e,s);const i=r?Rl(e,t):void 0;return Vt=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gs(new Proxy(e.ctx,Zo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;Rt(e),Tt();const i=Ve(s,e,0,[e.props,r]);if(Mt(),ot(),xr(i)){if(i.then(ot,ot),t)return i.then(o=>{Gs(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Gs(e,i,t)}else yi(e,t)}function Gs(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Qr(t)),yi(e,n)}let Vs;function yi(e,t,n){const s=e.type;if(!e.render){if(!t&&Vs&&!s.render){const r=s.template||bs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=re(re({isCustomElement:i,delimiters:c},o),l);s.render=Vs(r,f)}}e.render=s.render||Ae}Rt(e),Tt(),el(e),Mt(),ot()}function Sl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Sl(e)},slots:e.slots,emit:e.emit,expose:t}}function Es(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Qr(gs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bt)return Bt[n](e)},has(t,n){return n in t||n in Bt}}))}function Ol(e){return B(e)&&"__vccOpts"in e}const ve=(e,t)=>Io(e,t,Vt);function bi(e,t,n){const s=arguments.length;return s===2?Z(t)&&!j(t)?Xn(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Xn(n)&&(n=[n]),he(e,t,n))}const Tl=Symbol.for("v-scx"),Ml=()=>Be(Tl),ql="3.3.4",Hl="http://www.w3.org/2000/svg",rt=typeof document<"u"?document:null,Xs=rt&&rt.createElement("template"),kl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?rt.createElementNS(Hl,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Xs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Xs.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Fl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function jl(e,t,n){const s=e.style,r=ne(n);if(n&&!r){if(t&&!ne(t))for(const i in t)n[i]==null&&Zn(s,i,"");for(const i in n)Zn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Zs=/\s*!important$/;function Zn(e,t,n){if(j(n))n.forEach(s=>Zn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ll(e,t);Zs.test(n)?e.setProperty(Ot(s),n.replace(Zs,""),"important"):e[s]=n}}const er=["Webkit","Moz","ms"],kn={};function Ll(e,t){const n=kn[t];if(n)return n;let s=xt(t);if(s!=="filter"&&s in e)return kn[t]=s;s=Rr(s);for(let r=0;r<er.length;r++){const i=er[r]+s;if(i in e)return kn[t]=i}return t}const tr="http://www.w3.org/1999/xlink";function Nl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(tr,t.slice(6,t.length)):e.setAttributeNS(tr,t,n);else{const i=$i(t);n==null||i&&!Sr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bl(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const f=c==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Sr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Ul(e,t,n,s){e.addEventListener(t,n,s)}function Dl(e,t,n,s){e.removeEventListener(t,n,s)}function $l(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=Kl(t);if(s){const f=i[t]=Ql(s,r);Ul(e,c,f,l)}else o&&(Dl(e,c,o,l),i[t]=void 0)}}const nr=/(?:Once|Passive|Capture)$/;function Kl(e){let t;if(nr.test(e)){t={};let s;for(;s=e.match(nr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ot(e.slice(2)),t]}let Fn=0;const zl=Promise.resolve(),Wl=()=>Fn||(zl.then(()=>Fn=0),Fn=Date.now());function Ql(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Jl(s,n.value),t,5,[s])};return n.value=e,n.attached=Wl(),n}function Jl(e,t){if(j(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const sr=/^on[a-z]/,Yl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Fl(e,s,r):t==="style"?jl(e,n,s):bn(t)?is(t)||$l(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gl(e,t,s,r))?Bl(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Nl(e,t,s,r))};function Gl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&sr.test(t)&&B(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||sr.test(t)&&ne(n)?!1:t in e}const Vl=re({patchProp:Yl},kl);let rr;function Xl(){return rr||(rr=dl(Vl))}const Zl=(...e)=>{const t=Xl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ec(s);if(!r)return;const i=t._component;!B(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function ec(e){return ne(e)?document.querySelector(e):e}var tc=!1;/*!
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function rs(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const X={},vt=[],Se=()=>{},Ti=()=>!1,ki=/^on[^a-z]/,vn=e=>ki.test(e),is=e=>e.startsWith("onUpdate:"),ue=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hi=Object.prototype.hasOwnProperty,$=(e,t)=>Hi.call(e,t),F=Array.isArray,bt=e=>bn(e)==="[object Map]",xr=e=>bn(e)==="[object Set]",B=e=>typeof e=="function",re=e=>typeof e=="string",ls=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Ir=e=>Z(e)&&B(e.then)&&B(e.catch),Pr=Object.prototype.toString,bn=e=>Pr.call(e),qi=e=>bn(e).slice(8,-1),Rr=e=>bn(e)==="[object Object]",cs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ji=/-(\w)/g,xt=wn(e=>e.replace(ji,(t,n)=>n?n.toUpperCase():"")),Fi=/\B([A-Z])/g,Ot=wn(e=>e.replace(Fi,"-$1").toLowerCase()),Sr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=wn(e=>e?`on${Sr(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Li=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ms;const Un=()=>Ms||(Ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?Di(s):zt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(re(e))return e;if(Z(e))return e}}const Bi=/;(?![^(]*\))/g,Ni=/:([^]+)/,Ui=/\/\*[^]*?\*\//g;function Di(e){const t={};return e.replace(Ui,"").split(Bi).forEach(n=>{if(n){const s=n.split(Ni);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wt(e){let t="";if(re(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=Wt(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const $i="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ki=rs($i);function Cr(e){return!!e||e===""}const zi=e=>re(e)?e:e==null?"":F(e)||Z(e)&&(e.toString===Pr||!B(e.toString))?JSON.stringify(e,Or,2):String(e),Or=(e,t)=>t&&t.__v_isRef?Or(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:xr(t)?{[`Set(${t.size})`]:[...t.values()]}:Z(t)&&!F(t)&&!Rr(t)?String(t):t;let xe;class Mr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=xe,!t&&xe&&(this.index=(xe.scopes||(xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=xe;try{return xe=this,t()}finally{xe=n}}}on(){xe=this}off(){xe=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Wi(e){return new Mr(e)}function Qi(e,t=xe){t&&t.active&&t.effects.push(e)}function Ji(){return xe}const us=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Tr=e=>(e.w&st)>0,kr=e=>(e.n&st)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=st},Gi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Tr(r)&&!kr(r)?r.delete(e):t[n++]=r,r.w&=~st,r.n&=~st}t.length=n}},Dn=new WeakMap;let Lt=0,st=1;const $n=30;let Ie;const ct=Symbol(""),Kn=Symbol("");class as{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Qi(this,s)}run(){if(!this.active)return this.fn();let t=Ie,n=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ie,Ie=this,tt=!0,st=1<<++Lt,Lt<=$n?Yi(this):Ts(this),this.fn()}finally{Lt<=$n&&Gi(this),st=1<<--Lt,Ie=this.parent,tt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ie===this?this.deferStop=!0:this.active&&(Ts(this),this.onStop&&this.onStop(),this.active=!1)}}function Ts(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let tt=!0;const Hr=[];function Mt(){Hr.push(tt),tt=!1}function Tt(){const e=Hr.pop();tt=e===void 0?!0:e}function ye(e,t,n){if(tt&&Ie){let s=Dn.get(e);s||Dn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=us()),qr(r)}}function qr(e,t){let n=!1;Lt<=$n?kr(e)||(e.n|=st,n=!Tr(e)):n=!e.has(Ie),n&&(e.add(Ie),Ie.deps.push(e))}function ze(e,t,n,s,r,i){const o=Dn.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&F(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&c.push(f)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":F(e)?cs(n)&&c.push(o.get("length")):(c.push(o.get(ct)),bt(e)&&c.push(o.get(Kn)));break;case"delete":F(e)||(c.push(o.get(ct)),bt(e)&&c.push(o.get(Kn)));break;case"set":bt(e)&&c.push(o.get(ct));break}if(c.length===1)c[0]&&zn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);zn(us(l))}}function zn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&ks(s);for(const s of n)s.computed||ks(s)}function ks(e,t){(e!==Ie||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Vi=rs("__proto__,__v_isRef,__isVue"),jr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ls)),Xi=fs(),Zi=fs(!1,!0),eo=fs(!0),Hs=to();function to(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let i=0,o=this.length;i<o;i++)ye(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Mt();const s=K(this)[t].apply(this,n);return Tt(),s}}),e}function no(e){const t=K(this);return ye(t,"has",e),t.hasOwnProperty(e)}function fs(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?vo:Ur:t?Nr:Br).get(s))return s;const o=F(s);if(!e){if(o&&$(Hs,r))return Reflect.get(Hs,r,i);if(r==="hasOwnProperty")return no}const c=Reflect.get(s,r,i);return(ls(r)?jr.has(r):Vi(r))||(e||ye(s,"get",r),t)?c:he(c)?o&&cs(r)?c:c.value:Z(c)?e?$r(c):En(c):c}}const so=Fr(),ro=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(It(o)&&he(o)&&!he(r))return!1;if(!e&&(!hn(r)&&!It(r)&&(o=K(o),r=K(r)),!F(n)&&he(o)&&!he(r)))return o.value=r,!0;const c=F(n)&&cs(s)?Number(s)<n.length:$(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?Kt(r,o)&&ze(n,"set",s,r):ze(n,"add",s,r)),l}}function io(e,t){const n=$(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ze(e,"delete",t,void 0),s}function oo(e,t){const n=Reflect.has(e,t);return(!ls(t)||!jr.has(t))&&ye(e,"has",t),n}function lo(e){return ye(e,"iterate",F(e)?"length":ct),Reflect.ownKeys(e)}const Lr={get:Xi,set:so,deleteProperty:io,has:oo,ownKeys:lo},co={get:eo,set(e,t){return!0},deleteProperty(e,t){return!0}},uo=ue({},Lr,{get:Zi,set:ro}),ds=e=>e,An=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),i=K(t);n||(t!==i&&ye(r,"get",t),ye(r,"get",i));const{has:o}=An(r),c=s?ds:n?ms:Qt;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return t||(e!==r&&ye(s,"has",e),ye(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&ye(K(e),"iterate",ct),Reflect.get(e,"size",e)}function qs(e){e=K(e);const t=K(this);return An(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function js(e,t){t=K(t);const n=K(this),{has:s,get:r}=An(n);let i=s.call(n,e);i||(e=K(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Kt(t,o)&&ze(n,"set",e,t):ze(n,"add",e,t),this}function Fs(e){const t=K(this),{has:n,get:s}=An(t);let r=n.call(t,e);r||(e=K(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&ze(t,"delete",e,void 0),i}function Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&ze(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?ds:e?ms:Qt;return!e&&ye(c,"iterate",ct),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=bt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?ds:t?ms:Qt;return!t&&ye(i,"iterate",l?Kn:ct),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:this}}function ao(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:qs,set:js,delete:Fs,clear:Ls,forEach:sn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:qs,set:js,delete:Fs,clear:Ls,forEach:sn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!1)},s={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),s[i]=rn(i,!0,!0)}),[e,n,t,s]}const[fo,po,ho,go]=ao();function ps(e,t){const n=t?e?go:ho:e?po:fo;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($(n,r)&&r in s?n:s,r,i)}const mo={get:ps(!1,!1)},_o={get:ps(!1,!0)},yo={get:ps(!0,!1)},Br=new WeakMap,Nr=new WeakMap,Ur=new WeakMap,vo=new WeakMap;function bo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wo(e){return e.__v_skip||!Object.isExtensible(e)?0:bo(qi(e))}function En(e){return It(e)?e:hs(e,!1,Lr,mo,Br)}function Dr(e){return hs(e,!1,uo,_o,Nr)}function $r(e){return hs(e,!0,co,yo,Ur)}function hs(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=wo(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function wt(e){return It(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function hn(e){return!!(e&&e.__v_isShallow)}function Kr(e){return wt(e)||It(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function gs(e){return pn(e,"__v_skip",!0),e}const Qt=e=>Z(e)?En(e):e,ms=e=>Z(e)?$r(e):e;function zr(e){tt&&Ie&&(e=K(e),qr(e.dep||(e.dep=us())))}function Wr(e,t){e=K(e);const n=e.dep;n&&zn(n)}function he(e){return!!(e&&e.__v_isRef===!0)}function Xe(e){return Qr(e,!1)}function Ao(e){return Qr(e,!0)}function Qr(e,t){return he(e)?e:new Eo(e,t)}class Eo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:Qt(t)}get value(){return zr(this),this._value}set value(t){const n=this.__v_isShallow||hn(t)||It(t);t=n?t:K(t),Kt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qt(t),Wr(this))}}function At(e){return he(e)?e.value:e}const xo={get:(e,t,n)=>At(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return he(r)&&!he(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Jr(e){return wt(e)?e:new Proxy(e,xo)}class Io{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new as(t,()=>{this._dirty||(this._dirty=!0,Wr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return zr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Po(e,t,n=!1){let s,r;const i=B(e);return i?(s=e,r=Se):(s=e.get,r=e.set),new Io(s,r,i||!r,n)}function nt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Ce(e,t,n,s){if(B(e)){const i=nt(e,t,n,s);return i&&Ir(i)&&i.catch(o=>{xn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ce(e[i],t,n,s));return r}function xn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,c)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){nt(l,null,10,[e,o,c]);return}}Ro(e,n,r,s)}function Ro(e,t,n,s=!0){console.error(e)}let Jt=!1,Wn=!1;const de=[];let Fe=0;const Et=[];let De=null,ot=0;const Yr=Promise.resolve();let _s=null;function Gr(e){const t=_s||Yr;return e?t.then(this?e.bind(this):e):t}function So(e){let t=Fe+1,n=de.length;for(;t<n;){const s=t+n>>>1;Yt(de[s])<e?t=s+1:n=s}return t}function ys(e){(!de.length||!de.includes(e,Jt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?de.push(e):de.splice(So(e.id),0,e),Vr())}function Vr(){!Jt&&!Wn&&(Wn=!0,_s=Yr.then(Zr))}function Co(e){const t=de.indexOf(e);t>Fe&&de.splice(t,1)}function Oo(e){F(e)?Et.push(...e):(!De||!De.includes(e,e.allowRecurse?ot+1:ot))&&Et.push(e),Vr()}function Bs(e,t=Jt?Fe+1:0){for(;t<de.length;t++){const n=de[t];n&&n.pre&&(de.splice(t,1),t--,n())}}function Xr(e){if(Et.length){const t=[...new Set(Et)];if(Et.length=0,De){De.push(...t);return}for(De=t,De.sort((n,s)=>Yt(n)-Yt(s)),ot=0;ot<De.length;ot++)De[ot]();De=null,ot=0}}const Yt=e=>e.id==null?1/0:e.id,Mo=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zr(e){Wn=!1,Jt=!0,de.sort(Mo);const t=Se;try{for(Fe=0;Fe<de.length;Fe++){const n=de[Fe];n&&n.active!==!1&&nt(n,null,14)}}finally{Fe=0,de.length=0,Xr(),Jt=!1,_s=null,(de.length||Et.length)&&Zr()}}function To(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||X;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||X;g&&(r=n.map(v=>re(v)?v.trim():v)),h&&(r=n.map(Li))}let c,l=s[c=Mn(t)]||s[c=Mn(xt(t))];!l&&i&&(l=s[c=Mn(Ot(t))]),l&&Ce(l,e,6,r);const f=s[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ce(f,e,6,r)}}function ei(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!B(e)){const l=f=>{const d=ei(f,t,!0);d&&(c=!0,ue(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(Z(e)&&s.set(e,null),null):(F(i)?i.forEach(l=>o[l]=null):ue(o,i),Z(e)&&s.set(e,o),o)}function In(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Ot(t))||$(e,t))}let Le=null,Pn=null;function gn(e){const t=Le;return Le=e,Pn=e&&e.type.__scopeId||null,t}function ko(e){Pn=e}function Ho(){Pn=null}function qo(e,t=Le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ys(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Ys(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function kn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:v,ctx:R,inheritAttrs:C}=e;let j,M;const H=gn(e);try{if(n.shapeFlag&4){const q=r||s;j=je(d.call(q,q,h,i,v,g,R)),M=l}else{const q=t;j=je(q.length>1?q(i,{attrs:l,slots:c,emit:f}):q(i,null)),M=t.props?l:jo(l)}}catch(q){Ut.length=0,xn(q,e,1),j=be(at)}let D=j;if(M&&C!==!1){const q=Object.keys(M),{shapeFlag:ie}=D;q.length&&ie&7&&(o&&q.some(is)&&(M=Fo(M,o)),D=Pt(D,M))}return n.dirs&&(D=Pt(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),j=D,gn(H),j}const jo=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Fo=(e,t)=>{const n={};for(const s in e)(!is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Lo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ns(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!In(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Ns(s,o,f):!0:!!o;return!1}function Ns(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!In(n,i))return!0}return!1}function Bo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const No=e=>e.__isSuspense;function Uo(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Oo(e)}const on={};function cn(e,t,n){return ti(e,t,n)}function ti(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=X){var c;const l=Ji()===((c=pe)==null?void 0:c.scope)?pe:null;let f,d=!1,h=!1;if(he(e)?(f=()=>e.value,d=hn(e)):wt(e)?(f=()=>e,s=!0):F(e)?(h=!0,d=e.some(q=>wt(q)||hn(q)),f=()=>e.map(q=>{if(he(q))return q.value;if(wt(q))return _t(q);if(B(q))return nt(q,l,2)})):B(e)?t?f=()=>nt(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ce(e,l,3,[v])}:f=Se,t&&s){const q=f;f=()=>_t(q())}let g,v=q=>{g=H.onStop=()=>{nt(q,l,4)}},R;if(Vt)if(v=Se,t?n&&Ce(t,l,3,[f(),h?[]:void 0,v]):f(),r==="sync"){const q=ql();R=q.__watcherHandles||(q.__watcherHandles=[])}else return Se;let C=h?new Array(e.length).fill(on):on;const j=()=>{if(H.active)if(t){const q=H.run();(s||d||(h?q.some((ie,oe)=>Kt(ie,C[oe])):Kt(q,C)))&&(g&&g(),Ce(t,l,3,[q,C===on?void 0:h&&C[0]===on?[]:C,v]),C=q)}else H.run()};j.allowRecurse=!!t;let M;r==="sync"?M=j:r==="post"?M=()=>_e(j,l&&l.suspense):(j.pre=!0,l&&(j.id=l.uid),M=()=>ys(j));const H=new as(f,M);t?n?j():C=H.run():r==="post"?_e(H.run.bind(H),l&&l.suspense):H.run();const D=()=>{H.stop(),l&&l.scope&&os(l.scope.effects,H)};return R&&R.push(D),D}function Do(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?ni(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const o=pe;Rt(this);const c=ti(r,i.bind(s),n);return o?Rt(o):ut(),c}function ni(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function _t(e,t){if(!Z(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),he(e))_t(e.value,t);else if(F(e))for(let n=0;n<e.length;n++)_t(e[n],t);else if(xr(e)||bt(e))e.forEach(n=>{_t(n,t)});else if(Rr(e))for(const n in e)_t(e[n],t);return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(Mt(),Ce(l,n,8,[e.el,c,e,t]),Tt())}}function si(e,t){return B(e)?(()=>ue({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,ri=e=>e.type.__isKeepAlive;function $o(e,t){ii(e,"a",t)}function Ko(e,t){ii(e,"da",t)}function ii(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ri(r.parent.vnode)&&zo(s,t,n,r),r=r.parent}}function zo(e,t,n,s){const r=Rn(t,e,s,!0);li(()=>{os(s[t],r)},n)}function Rn(e,t,n=pe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Mt(),Rt(n);const c=Ce(t,n,e,o);return ut(),Tt(),c});return s?r.unshift(i):r.push(i),i}}const We=e=>(t,n=pe)=>(!Vt||e==="sp")&&Rn(e,(...s)=>t(...s),n),Wo=We("bm"),oi=We("m"),Qo=We("bu"),Jo=We("u"),Yo=We("bum"),li=We("um"),Go=We("sp"),Vo=We("rtg"),Xo=We("rtc");function Zo(e,t=pe){Rn("ec",e,t)}const el=Symbol.for("v-ndc");function tl(e,t,n,s){let r;const i=n&&n[s];if(F(e)||re(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(Z(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,l=o.length;c<l;c++){const f=o[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const Qn=e=>e?yi(e)?Es(e)||e.proxy:Qn(e.parent):null,Nt=ue(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=>Qn(e.parent),$root:e=>Qn(e.root),$emit:e=>e.emit,$options:e=>vs(e),$forceUpdate:e=>e.f||(e.f=()=>ys(e.update)),$nextTick:e=>e.n||(e.n=Gr.bind(e.proxy)),$watch:e=>Do.bind(e)}),Hn=(e,t)=>e!==X&&!e.__isScriptSetup&&$(e,t),nl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Hn(s,t))return o[t]=1,s[t];if(r!==X&&$(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&$(f,t))return o[t]=3,i[t];if(n!==X&&$(n,t))return o[t]=4,n[t];Jn&&(o[t]=0)}}const d=Nt[t];let h,g;if(d)return t==="$attrs"&&ye(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==X&&$(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,$(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Hn(r,t)?(r[t]=n,!0):s!==X&&$(s,t)?(s[t]=n,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==X&&$(e,o)||Hn(t,o)||(c=i[0])&&$(c,o)||$(s,o)||$(Nt,o)||$(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Us(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Jn=!0;function sl(e){const t=vs(e),n=e.proxy,s=e.ctx;Jn=!1,t.beforeCreate&&Ds(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:v,updated:R,activated:C,deactivated:j,beforeDestroy:M,beforeUnmount:H,destroyed:D,unmounted:q,render:ie,renderTracked:oe,renderTriggered:J,errorCaptured:ee,serverPrefetch:ne,expose:ae,inheritAttrs:te,components:Ae,directives:Me,filters:kt}=t;if(f&&rl(f,s,null),o)for(const G in o){const z=o[G];B(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);Z(G)&&(e.data=En(G))}if(Jn=!0,i)for(const G in i){const z=i[G],Be=B(z)?z.bind(n,n):B(z.get)?z.get.bind(n,n):Se,Je=!B(z)&&B(z.set)?z.set.bind(n):Se,Te=Pe({get:Be,set:Je});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Te.value,set:me=>Te.value=me})}if(c)for(const G in c)ci(c[G],s,n,G);if(l){const G=B(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{an(z,G[z])})}d&&Ds(d,e,"c");function le(G,z){F(z)?z.forEach(Be=>G(Be.bind(n))):z&&G(z.bind(n))}if(le(Wo,h),le(oi,g),le(Qo,v),le(Jo,R),le($o,C),le(Ko,j),le(Zo,ee),le(Xo,oe),le(Vo,J),le(Yo,H),le(li,q),le(Go,ne),F(ae))if(ae.length){const G=e.exposed||(e.exposed={});ae.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Be=>n[z]=Be})})}else e.exposed||(e.exposed={});ie&&e.render===Se&&(e.render=ie),te!=null&&(e.inheritAttrs=te),Ae&&(e.components=Ae),Me&&(e.directives=Me)}function rl(e,t,n=Se){F(e)&&(e=Yn(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=Ke(r.from||s,r.default,!0):i=Ke(r.from||s):i=Ke(r),he(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ds(e,t,n){Ce(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ci(e,t,n,s){const r=s.includes(".")?ni(n,s):()=>n[s];if(re(e)){const i=t[e];B(i)&&cn(r,i)}else if(B(e))cn(r,e.bind(n));else if(Z(e))if(F(e))e.forEach(i=>ci(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&cn(r,i,e)}}function vs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>mn(l,f,o,!0)),mn(l,t,o)),Z(t)&&i.set(t,l),l}function mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mn(e,i,n,!0),r&&r.forEach(o=>mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=il[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const il={data:$s,props:Ks,emits:Ks,methods:Bt,computed:Bt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Bt,directives:Bt,watch:ll,provide:$s,inject:ol};function $s(e,t){return t?e?function(){return ue(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function ol(e,t){return Bt(Yn(e),Yn(t))}function Yn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Bt(e,t){return e?ue(Object.create(null),e,t):t}function Ks(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:ue(Object.create(null),Us(e),Us(t??{})):t}function ll(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const s in t)n[s]=ge(e[s],t[s]);return n}function ui(){return{app:null,config:{isNativeTag:Ti,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 cl=0;function ul(e,t){return function(s,r=null){B(s)||(s=ue({},s)),r!=null&&!Z(r)&&(r=null);const i=ui(),o=new Set;let c=!1;const l=i.app={_uid:cl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:jl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&B(f.install)?(o.add(f),f.install(l,...d)):B(f)&&(o.add(f),f(l,...d))),l},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),l},component(f,d){return d?(i.components[f]=d,l):i.components[f]},directive(f,d){return d?(i.directives[f]=d,l):i.directives[f]},mount(f,d,h){if(!c){const g=be(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,Es(g.component)||g.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){_n=l;try{return f()}finally{_n=null}}};return l}}let _n=null;function an(e,t){if(pe){let n=pe.provides;const s=pe.parent&&pe.parent.provides;s===n&&(n=pe.provides=Object.create(s)),n[e]=t}}function Ke(e,t,n=!1){const s=pe||Le;if(s||_n){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:_n._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s&&s.proxy):t}}function al(e,t,n,s=!1){const r={},i={};pn(i,Cn,1),e.propsDefaults=Object.create(null),ai(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Dr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function fl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=K(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(In(e.emitsOptions,g))continue;const v=t[g];if(l)if($(i,g))v!==i[g]&&(i[g]=v,f=!0);else{const R=xt(g);r[R]=Gn(l,c,R,v,e,!1)}else v!==i[g]&&(i[g]=v,f=!0)}}}else{ai(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!$(t,h)&&((d=Ot(h))===h||!$(t,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Gn(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!$(t,h))&&(delete i[h],f=!0)}f&&ze(e,"set","$attrs")}function ai(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(ln(l))continue;const f=t[l];let d;r&&$(r,d=xt(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:In(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||X;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Gn(r,l,h,f[h],e,!$(f,h))}}return o}function Gn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=$(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&B(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(Rt(r),s=f[n]=l.call(null,t),ut())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Ot(n))&&(s=!0))}return s}function fi(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!B(e)){const d=h=>{l=!0;const[g,v]=fi(h,t,!0);ue(o,g),v&&c.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return Z(e)&&s.set(e,vt),vt;if(F(i))for(let d=0;d<i.length;d++){const h=xt(i[d]);zs(h)&&(o[h]=X)}else if(i)for(const d in i){const h=xt(d);if(zs(h)){const g=i[d],v=o[h]=F(g)||B(g)?{type:g}:ue({},g);if(v){const R=Js(Boolean,v.type),C=Js(String,v.type);v[0]=R>-1,v[1]=C<0||R<C,(R>-1||$(v,"default"))&&c.push(h)}}}const f=[o,c];return Z(e)&&s.set(e,f),f}function zs(e){return e[0]!=="$"}function Ws(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Qs(e,t){return Ws(e)===Ws(t)}function Js(e,t){return F(t)?t.findIndex(n=>Qs(n,e)):B(t)&&Qs(t,e)?0:-1}const di=e=>e[0]==="_"||e==="$stable",bs=e=>F(e)?e.map(je):[je(e)],dl=(e,t,n)=>{if(t._n)return t;const s=qo((...r)=>bs(t(...r)),n);return s._c=!1,s},pi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(di(r))continue;const i=e[r];if(B(i))t[r]=dl(r,i,s);else if(i!=null){const o=bs(i);t[r]=()=>o}}},hi=(e,t)=>{const n=bs(t);e.slots.default=()=>n},pl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):pi(t,e.slots={})}else e.slots={},t&&hi(e,t);pn(e.slots,Cn,1)},hl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=X;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ue(r,t),!n&&c===1&&delete r._):(i=!t.$stable,pi(t,r)),o=t}else t&&(hi(e,t),o={default:1});if(i)for(const c in r)!di(c)&&!(c in o)&&delete r[c]};function Vn(e,t,n,s,r=!1){if(F(e)){e.forEach((g,v)=>Vn(g,t&&(F(t)?t[v]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?Es(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===X?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(re(f)?(d[f]=null,$(h,f)&&(h[f]=null)):he(f)&&(f.value=null)),B(l))nt(l,c,12,[o,d]);else{const g=re(l),v=he(l);if(g||v){const R=()=>{if(e.f){const C=g?$(h,l)?h[l]:d[l]:l.value;r?F(C)&&os(C,i):F(C)?C.includes(i)||C.push(i):g?(d[l]=[i],$(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,$(h,l)&&(h[l]=o)):v&&(l.value=o,e.k&&(d[e.k]=o))};o?(R.id=-1,_e(R,n)):R()}}}const _e=Uo;function gl(e){return ml(e)}function ml(e,t){const n=Un();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:v=Se,insertStaticContent:R}=e,C=(u,a,p,m=null,y=null,b=null,I=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!qt(u,a)&&(m=_(u),me(u,y,b,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:w,ref:T,shapeFlag:S}=a;switch(w){case Sn:j(u,a,p,m);break;case at:M(u,a,p,m);break;case qn:u==null&&H(a,p,m,I);break;case qe:Ae(u,a,p,m,y,b,I,A,E);break;default:S&1?ie(u,a,p,m,y,b,I,A,E):S&6?Me(u,a,p,m,y,b,I,A,E):(S&64||S&128)&&w.process(u,a,p,m,y,b,I,A,E,x)}T!=null&&y&&Vn(T,u&&u.ref,b,a||u,!a)},j=(u,a,p,m)=>{if(u==null)s(a.el=c(a.children),p,m);else{const y=a.el=u.el;a.children!==u.children&&f(y,a.children)}},M=(u,a,p,m)=>{u==null?s(a.el=l(a.children||""),p,m):a.el=u.el},H=(u,a,p,m)=>{[u.el,u.anchor]=R(u.children,a,p,m,u.el,u.anchor)},D=({el:u,anchor:a},p,m)=>{let y;for(;u&&u!==a;)y=g(u),s(u,p,m),u=y;s(a,p,m)},q=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},ie=(u,a,p,m,y,b,I,A,E)=>{I=I||a.type==="svg",u==null?oe(a,p,m,y,b,I,A,E):ne(u,a,y,b,I,A,E)},oe=(u,a,p,m,y,b,I,A)=>{let E,w;const{type:T,props:S,shapeFlag:k,transition:L,dirs:N}=u;if(E=u.el=o(u.type,b,S&&S.is,S),k&8?d(E,u.children):k&16&&ee(u.children,E,null,m,y,b&&T!=="foreignObject",I,A),N&&rt(u,null,m,"created"),J(E,u,u.scopeId,I,m),S){for(const Y in S)Y!=="value"&&!ln(Y)&&i(E,Y,null,S[Y],b,u.children,m,y,fe);"value"in S&&i(E,"value",null,S.value),(w=S.onVnodeBeforeMount)&&He(w,m,u)}N&&rt(u,null,m,"beforeMount");const V=(!y||y&&!y.pendingBranch)&&L&&!L.persisted;V&&L.beforeEnter(E),s(E,a,p),((w=S&&S.onVnodeMounted)||V||N)&&_e(()=>{w&&He(w,m,u),V&&L.enter(E),N&&rt(u,null,m,"mounted")},y)},J=(u,a,p,m,y)=>{if(p&&v(u,p),m)for(let b=0;b<m.length;b++)v(u,m[b]);if(y){let b=y.subTree;if(a===b){const I=y.vnode;J(u,I,I.scopeId,I.slotScopeIds,y.parent)}}},ee=(u,a,p,m,y,b,I,A,E=0)=>{for(let w=E;w<u.length;w++){const T=u[w]=A?Ze(u[w]):je(u[w]);C(null,T,a,p,m,y,b,I,A)}},ne=(u,a,p,m,y,b,I)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:w,dirs:T}=a;E|=u.patchFlag&16;const S=u.props||X,k=a.props||X;let L;p&&it(p,!1),(L=k.onVnodeBeforeUpdate)&&He(L,p,a,u),T&&rt(a,u,p,"beforeUpdate"),p&&it(p,!0);const N=y&&a.type!=="foreignObject";if(w?ae(u.dynamicChildren,w,A,p,m,N,b):I||z(u,a,A,null,p,m,N,b,!1),E>0){if(E&16)te(A,a,S,k,p,m,y);else if(E&2&&S.class!==k.class&&i(A,"class",null,k.class,y),E&4&&i(A,"style",S.style,k.style,y),E&8){const V=a.dynamicProps;for(let Y=0;Y<V.length;Y++){const se=V[Y],Ee=S[se],ht=k[se];(ht!==Ee||se==="value")&&i(A,se,Ee,ht,y,u.children,p,m,fe)}}E&1&&u.children!==a.children&&d(A,a.children)}else!I&&w==null&&te(A,a,S,k,p,m,y);((L=k.onVnodeUpdated)||T)&&_e(()=>{L&&He(L,p,a,u),T&&rt(a,u,p,"updated")},m)},ae=(u,a,p,m,y,b,I)=>{for(let A=0;A<a.length;A++){const E=u[A],w=a[A],T=E.el&&(E.type===qe||!qt(E,w)||E.shapeFlag&70)?h(E.el):p;C(E,w,T,null,m,y,b,I,!0)}},te=(u,a,p,m,y,b,I)=>{if(p!==m){if(p!==X)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,I,a.children,y,b,fe);for(const A in m){if(ln(A))continue;const E=m[A],w=p[A];E!==w&&A!=="value"&&i(u,A,w,E,I,a.children,y,b,fe)}"value"in m&&i(u,"value",p.value,m.value)}},Ae=(u,a,p,m,y,b,I,A,E)=>{const w=a.el=u?u.el:c(""),T=a.anchor=u?u.anchor:c("");let{patchFlag:S,dynamicChildren:k,slotScopeIds:L}=a;L&&(A=A?A.concat(L):L),u==null?(s(w,p,m),s(T,p,m),ee(a.children,p,T,y,b,I,A,E)):S>0&&S&64&&k&&u.dynamicChildren?(ae(u.dynamicChildren,k,p,y,b,I,A),(a.key!=null||y&&a===y.subTree)&&gi(u,a,!0)):z(u,a,p,T,y,b,I,A,E)},Me=(u,a,p,m,y,b,I,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,I,E):kt(a,p,m,y,b,I,E):ft(u,a,E)},kt=(u,a,p,m,y,b,I)=>{const A=u.component=Sl(u,m,y);if(ri(u)&&(A.ctx.renderer=x),Cl(A),A.asyncDep){if(y&&y.registerDep(A,le),!u.el){const E=A.subTree=be(at);M(null,E,a,p)}return}le(A,u,a,p,y,b,I)},ft=(u,a,p)=>{const m=a.component=u.component;if(Lo(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,Co(m.update),m.update();else a.el=u.el,m.vnode=a},le=(u,a,p,m,y,b,I)=>{const A=()=>{if(u.isMounted){let{next:T,bu:S,u:k,parent:L,vnode:N}=u,V=T,Y;it(u,!1),T?(T.el=N.el,G(u,T,I)):T=N,S&&Tn(S),(Y=T.props&&T.props.onVnodeBeforeUpdate)&&He(Y,L,T,N),it(u,!0);const se=kn(u),Ee=u.subTree;u.subTree=se,C(Ee,se,h(Ee.el),_(Ee),u,y,b),T.el=se.el,V===null&&Bo(u,se.el),k&&_e(k,y),(Y=T.props&&T.props.onVnodeUpdated)&&_e(()=>He(Y,L,T,N),y)}else{let T;const{el:S,props:k}=a,{bm:L,m:N,parent:V}=u,Y=un(a);if(it(u,!1),L&&Tn(L),!Y&&(T=k&&k.onVnodeBeforeMount)&&He(T,V,a),it(u,!0),S&&W){const se=()=>{u.subTree=kn(u),W(S,u.subTree,u,y,null)};Y?a.type.__asyncLoader().then(()=>!u.isUnmounted&&se()):se()}else{const se=u.subTree=kn(u);C(null,se,p,m,u,y,b),a.el=se.el}if(N&&_e(N,y),!Y&&(T=k&&k.onVnodeMounted)){const se=a;_e(()=>He(T,V,se),y)}(a.shapeFlag&256||V&&un(V.vnode)&&V.vnode.shapeFlag&256)&&u.a&&_e(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new as(A,()=>ys(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,it(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,fl(u,a.props,m,p),hl(u,a.children,p),Mt(),Bs(),Tt()},z=(u,a,p,m,y,b,I,A,E=!1)=>{const w=u&&u.children,T=u?u.shapeFlag:0,S=a.children,{patchFlag:k,shapeFlag:L}=a;if(k>0){if(k&128){Je(w,S,p,m,y,b,I,A,E);return}else if(k&256){Be(w,S,p,m,y,b,I,A,E);return}}L&8?(T&16&&fe(w,y,b),S!==w&&d(p,S)):T&16?L&16?Je(w,S,p,m,y,b,I,A,E):fe(w,y,b,!0):(T&8&&d(p,""),L&16&&ee(S,p,m,y,b,I,A,E))},Be=(u,a,p,m,y,b,I,A,E)=>{u=u||vt,a=a||vt;const w=u.length,T=a.length,S=Math.min(w,T);let k;for(k=0;k<S;k++){const L=a[k]=E?Ze(a[k]):je(a[k]);C(u[k],L,p,null,y,b,I,A,E)}w>T?fe(u,y,b,!0,!1,S):ee(a,p,m,y,b,I,A,E,S)},Je=(u,a,p,m,y,b,I,A,E)=>{let w=0;const T=a.length;let S=u.length-1,k=T-1;for(;w<=S&&w<=k;){const L=u[w],N=a[w]=E?Ze(a[w]):je(a[w]);if(qt(L,N))C(L,N,p,null,y,b,I,A,E);else break;w++}for(;w<=S&&w<=k;){const L=u[S],N=a[k]=E?Ze(a[k]):je(a[k]);if(qt(L,N))C(L,N,p,null,y,b,I,A,E);else break;S--,k--}if(w>S){if(w<=k){const L=k+1,N=L<T?a[L].el:m;for(;w<=k;)C(null,a[w]=E?Ze(a[w]):je(a[w]),p,N,y,b,I,A,E),w++}}else if(w>k)for(;w<=S;)me(u[w],y,b,!0),w++;else{const L=w,N=w,V=new Map;for(w=N;w<=k;w++){const ve=a[w]=E?Ze(a[w]):je(a[w]);ve.key!=null&&V.set(ve.key,w)}let Y,se=0;const Ee=k-N+1;let ht=!1,Ss=0;const Ht=new Array(Ee);for(w=0;w<Ee;w++)Ht[w]=0;for(w=L;w<=S;w++){const ve=u[w];if(se>=Ee){me(ve,y,b,!0);continue}let ke;if(ve.key!=null)ke=V.get(ve.key);else for(Y=N;Y<=k;Y++)if(Ht[Y-N]===0&&qt(ve,a[Y])){ke=Y;break}ke===void 0?me(ve,y,b,!0):(Ht[ke-N]=w+1,ke>=Ss?Ss=ke:ht=!0,C(ve,a[ke],p,null,y,b,I,A,E),se++)}const Cs=ht?_l(Ht):vt;for(Y=Cs.length-1,w=Ee-1;w>=0;w--){const ve=N+w,ke=a[ve],Os=ve+1<T?a[ve+1].el:m;Ht[w]===0?C(null,ke,p,Os,y,b,I,A,E):ht&&(Y<0||w!==Cs[Y]?Te(ke,p,Os,2):Y--)}}},Te=(u,a,p,m,y=null)=>{const{el:b,type:I,transition:A,children:E,shapeFlag:w}=u;if(w&6){Te(u.component.subTree,a,p,m);return}if(w&128){u.suspense.move(a,p,m);return}if(w&64){I.move(u,a,p,x);return}if(I===qe){s(b,a,p);for(let S=0;S<E.length;S++)Te(E[S],a,p,m);s(u.anchor,a,p);return}if(I===qn){D(u,a,p);return}if(m!==2&&w&1&&A)if(m===0)A.beforeEnter(b),s(b,a,p),_e(()=>A.enter(b),y);else{const{leave:S,delayLeave:k,afterLeave:L}=A,N=()=>s(b,a,p),V=()=>{S(b,()=>{N(),L&&L()})};k?k(b,N,V):V()}else s(b,a,p)},me=(u,a,p,m=!1,y=!1)=>{const{type:b,props:I,ref:A,children:E,dynamicChildren:w,shapeFlag:T,patchFlag:S,dirs:k}=u;if(A!=null&&Vn(A,null,p,u,!0),T&256){a.ctx.deactivate(u);return}const L=T&1&&k,N=!un(u);let V;if(N&&(V=I&&I.onVnodeBeforeUnmount)&&He(V,a,u),T&6)Zt(u.component,p,m);else{if(T&128){u.suspense.unmount(p,m);return}L&&rt(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,p,y,x,m):w&&(b!==qe||S>0&&S&64)?fe(w,a,p,!1,!0):(b===qe&&S&384||!y&&T&16)&&fe(E,a,p),m&&dt(u)}(N&&(V=I&&I.onVnodeUnmounted)||L)&&_e(()=>{V&&He(V,a,u),L&&rt(u,null,a,"unmounted")},p)},dt=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===qe){pt(p,m);return}if(a===qn){q(u);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:I,delayLeave:A}=y,E=()=>I(p,b);A?A(u.el,b,E):E()}else b()},pt=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},Zt=(u,a,p)=>{const{bum:m,scope:y,update:b,subTree:I,um:A}=u;m&&Tn(m),y.stop(),b&&(b.active=!1,me(I,u,a,p)),A&&_e(A,a),_e(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},fe=(u,a,p,m=!1,y=!1,b=0)=>{for(let I=b;I<u.length;I++)me(u[I],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),P=(u,a,p)=>{u==null?a._vnode&&me(a._vnode,null,null,!0):C(a._vnode||null,u,a,null,null,null,p),Bs(),Xr(),a._vnode=u},x={p:C,um:me,m:Te,r:dt,mt:kt,mc:ee,pc:z,pbc:ae,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:P,hydrate:O,createApp:ul(P,O)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function gi(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Ze(r[i]),c.el=o.el),n||gi(o,c)),c.type===Sn&&(c.el=o.el)}}function _l(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<f?i=c+1:o=c;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const yl=e=>e.__isTeleport,qe=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Ut=[];let Re=null;function Ue(e=!1){Ut.push(Re=e?null:[])}function vl(){Ut.pop(),Re=Ut[Ut.length-1]||null}let Gt=1;function Ys(e){Gt+=e}function mi(e){return e.dynamicChildren=Gt>0?Re||vt:null,vl(),Gt>0&&Re&&Re.push(e),e}function Ge(e,t,n,s,r,i){return mi(ce(e,t,n,s,r,i,!0))}function bl(e,t,n,s,r){return mi(be(e,t,n,s,r,!0))}function Xn(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const Cn="__vInternal",_i=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||he(e)||B(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function ce(e,t=null,n=null,s=0,r=null,i=e===qe?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&fn(t),scopeId:Pn,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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Le};return c?(ws(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=re(n)?8:16),Gt>0&&!o&&Re&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Re.push(l),l}const be=wl;function wl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===el)&&(e=at),Xn(e)){const c=Pt(e,t,!0);return n&&ws(c,n),Gt>0&&!i&&Re&&(c.shapeFlag&6?Re[Re.indexOf(e)]=c:Re.push(c)),c.patchFlag|=-2,c}if(kl(e)&&(e=e.__vccOpts),t){t=Al(t);let{class:c,style:l}=t;c&&!re(c)&&(t.class=Wt(c)),Z(l)&&(Kr(l)&&!F(l)&&(l=ue({},l)),t.style=zt(l))}const o=re(e)?1:No(e)?128:yl(e)?64:Z(e)?4:B(e)?2:0;return ce(e,t,n,s,r,o,i,!0)}function Al(e){return e?Kr(e)||Cn in e?ue({},e):e:null}function Pt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Il(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&_i(c),ref:t&&t.ref?n&&r?F(r)?r.concat(fn(t)):[r,fn(t)]:fn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?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&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function El(e=" ",t=0){return be(Sn,null,e,t)}function xl(e="",t=!1){return t?(Ue(),bl(at,null,e)):be(at,null,e)}function je(e){return e==null||typeof e=="boolean"?be(at):F(e)?be(qe,null,e.slice()):typeof e=="object"?Ze(e):be(Sn,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function ws(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ws(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Cn in t)?t._ctx=Le:r===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[El(t)]):n=8);e.children=t,e.shapeFlag|=n}function Il(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Wt([t.class,s.class]));else if(r==="style")t.style=zt([t.style,s.style]);else if(vn(r)){const i=t[r],o=s[r];o&&i!==o&&!(F(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function He(e,t,n,s=null){Ce(e,t,7,[n,s])}const Pl=ui();let Rl=0;function Sl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Pl,i={uid:Rl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:fi(s,r),emitsOptions:ei(s,r),emit:null,emitted:null,propsDefaults:X,inheritAttrs:s.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,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=To.bind(null,i),e.ce&&e.ce(i),i}let pe=null,As,gt,Gs="__VUE_INSTANCE_SETTERS__";(gt=Un()[Gs])||(gt=Un()[Gs]=[]),gt.push(e=>pe=e),As=e=>{gt.length>1?gt.forEach(t=>t(e)):gt[0](e)};const Rt=e=>{As(e),e.scope.on()},ut=()=>{pe&&pe.scope.off(),As(null)};function yi(e){return e.vnode.shapeFlag&4}let Vt=!1;function Cl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=yi(e);al(e,n,r,t),pl(e,s);const i=r?Ol(e,t):void 0;return Vt=!1,i}function Ol(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gs(new Proxy(e.ctx,nl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Tl(e):null;Rt(e),Mt();const i=nt(s,e,0,[e.props,r]);if(Tt(),ut(),Ir(i)){if(i.then(ut,ut),t)return i.then(o=>{Vs(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Vs(e,i,t)}else vi(e,t)}function Vs(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Jr(t)),vi(e,n)}let Xs;function vi(e,t,n){const s=e.type;if(!e.render){if(!t&&Xs&&!s.render){const r=s.template||vs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=ue(ue({isCustomElement:i,delimiters:c},o),l);s.render=Xs(r,f)}}e.render=s.render||Se}Rt(e),Mt(),sl(e),Tt(),ut()}function Ml(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function Tl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ml(e)},slots:e.slots,emit:e.emit,expose:t}}function Es(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jr(gs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nt)return Nt[n](e)},has(t,n){return n in t||n in Nt}}))}function kl(e){return B(e)&&"__vccOpts"in e}const Pe=(e,t)=>Po(e,t,Vt);function bi(e,t,n){const s=arguments.length;return s===2?Z(t)&&!F(t)?Xn(t)?be(e,null,[t]):be(e,t):be(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Xn(n)&&(n=[n]),be(e,t,n))}const Hl=Symbol.for("v-scx"),ql=()=>Ke(Hl),jl="3.3.4",Fl="http://www.w3.org/2000/svg",lt=typeof document<"u"?document:null,Zs=lt&&lt.createElement("template"),Ll={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?lt.createElementNS(Fl,e):lt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>lt.createTextNode(e),createComment:e=>lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Zs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Zs.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Bl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Nl(e,t,n){const s=e.style,r=re(n);if(n&&!r){if(t&&!re(t))for(const i in t)n[i]==null&&Zn(s,i,"");for(const i in n)Zn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const er=/\s*!important$/;function Zn(e,t,n){if(F(n))n.forEach(s=>Zn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ul(e,t);er.test(n)?e.setProperty(Ot(s),n.replace(er,""),"important"):e[s]=n}}const tr=["Webkit","Moz","ms"],jn={};function Ul(e,t){const n=jn[t];if(n)return n;let s=xt(t);if(s!=="filter"&&s in e)return jn[t]=s;s=Sr(s);for(let r=0;r<tr.length;r++){const i=tr[r]+s;if(i in e)return jn[t]=i}return t}const nr="http://www.w3.org/1999/xlink";function Dl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(nr,t.slice(6,t.length)):e.setAttributeNS(nr,t,n);else{const i=Ki(t);n==null||i&&!Cr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function $l(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const f=c==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Cr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Kl(e,t,n,s){e.addEventListener(t,n,s)}function zl(e,t,n,s){e.removeEventListener(t,n,s)}function Wl(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=Ql(t);if(s){const f=i[t]=Gl(s,r);Kl(e,c,f,l)}else o&&(zl(e,c,o,l),i[t]=void 0)}}const sr=/(?:Once|Passive|Capture)$/;function Ql(e){let t;if(sr.test(e)){t={};let s;for(;s=e.match(sr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ot(e.slice(2)),t]}let Fn=0;const Jl=Promise.resolve(),Yl=()=>Fn||(Jl.then(()=>Fn=0),Fn=Date.now());function Gl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ce(Vl(s,n.value),t,5,[s])};return n.value=e,n.attached=Yl(),n}function Vl(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const rr=/^on[a-z]/,Xl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Bl(e,s,r):t==="style"?Nl(e,n,s):vn(t)?is(t)||Wl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zl(e,t,s,r))?$l(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Dl(e,t,s,r))};function Zl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&rr.test(t)&&B(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||rr.test(t)&&re(n)?!1:t in e}const ec=ue({patchProp:Xl},Ll);let ir;function tc(){return ir||(ir=gl(ec))}const nc=(...e)=>{const t=tc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=sc(s);if(!r)return;const i=t._component;!B(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function sc(e){return re(e)?document.querySelector(e):e}var rc=!1;/*!
2
2
  * pinia v2.1.6
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const nc=Symbol();var ir;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ir||(ir={}));function sc(){const e=zi(!0),t=e.run(()=>mt({}));let n=[],s=[];const r=gs({install(i){r._a=i,i.provide(nc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!tc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function rc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function or(){var e,t,n;for(e="",n=0;n<32;n++)(n==8||n==12||n==16||n==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class es{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class ic{constructor(){this._requests={},this._messagesEventHandlers=new es,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,n=null){let s=or(),[r,i,o]=rc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=or();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class oc{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let dn=new oc;class $e{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class lc extends $e{constructor(){super()}canHandleRequest(t){return["getComments"].includes(t.request)}async handleRequest(t){return window.mockComments||[{id:"1fsdf",title:"Sample comment",text:"Comments will appear here once the broadcast starts.",pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:"fb",flags:{sample:!0,star:!1,shown:!1}}]}}class cc extends $e{constructor(){super()}canHandleRequest(t){return[D.createNewLayer,D.removeSizeCatcher,D.listScenes,D.switchScene,D.updateLayer,D.getLayerDisplayableName].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}async updateLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async getLayerDisplayableName(t){return window.mockLayerName||"A Mock Layer Name"}async listScenes(t){return window.mockScenes||[{id:497,idx:497,order:0,name:"New Scene",stingerData:{idx:null,time:null,muted:!1,speed:1,volume:100,transitionName:null,transitionDuration:0},backgroundColor:null,overWriteBackgroundColor:!1,layers:[{idx:"e9fe6623-4332-447c-bb1a-ccfe9f794bb3",type:"userapp",name:"TESTAPP",opacity:100,bounds:{x:1280,y:720},pos:{rot:0,top:8.397612310554674,left:13.50375337545383,right:19.829579957879496,bottom:24.93572102277865},crop:{top:0,left:0,right:0,bottom:0},data:{adaptive:!1,aspect:!0,borderRadius:0,userAppInstanceId:"4d532c22-363e-4028-824d-7b029f100916",userAppId:"ce5d32b3-7d6c-4e43-be02-4903d6b49acd",fixedSize:!0,fixedSizeWidth:1280,fixedSizeHeight:720,verticalStreaming:{pos:{rot:0,top:35.052083333333336,left:2.7777777777777777,right:2.7777777777777857,bottom:35.05208333333333},crop:{top:0,left:0,right:0,bottom:0},borderRadius:0,aspect:!0,bounds:{x:1020,y:574},customBounds:{x:1020,y:574},locked:!1,hidden:!1,fixedSizeWidth:1020,fixedSizeHeight:574}},order:0}],thumbnail:{landscape:"https://files.evmux.com/6/scenes/sc_tmb_4971715842178.jpg?Expires=1715885379&Signature=ORHKomQH7iaugP~fHJFYBgZfwoG2lyQOMORSbRld378vCvudJ5gFapWdQNfE~j97UOKuon0uwZ1F741k2YU3qWIFNklDdqU6zuJgxaDTHPM~~TvG9p-Nl0g4BBzGvlyR-JZbUCbpWtg9DczFnQbeFbWynHFdIOGwwh2OQYXuAHlW0v1UDuOnjGRU87XvZ~ReSCW844TuhaPCBPXoMiSt0MHDC-zk~ggmpb7~eQMPjTF5znOdcDB0DdRJ8j~7EYNCFGYGesErpPqH5kOMRLCwmjmvQ4gFJMkNEfPBGdQclanYiSw5iL7KsOErCUtS447euT7wDnRT1N1wgL0LYgJDdQ__&Key-Pair-Id=APKAJQZJ2AA6OYF4WJHA",portrait:null}}]}async switchScene(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}}const Ne={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur",studioParamsUpdated:"studioParamsUpdated",signalingEvent:"signalingEvent"};class uc extends $e{constructor(){super()}canHandleRequest(t){return[D.raiseExternalAppMessagingEvent,D.setFastActionButtons,D.openSideBarSettings,D.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return yt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Ne.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return yt._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function ge(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class ac extends $e{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:ge(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:ge(),type:"twitchProfile",statistics:{channel:{subscribers:ge()}},last_subscribers:null},{viewers:ge(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:ge(),type:"youtubeChannel",statistics:{viewCount:ge(),likeCount:ge(),dislikeCount:ge(),favoriteCount:ge(),commentCount:ge()},lastSubscribers:[{name:"Eran Eluz",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s800-c-k-c0x00ffffff-no-rj"}}},{name:"Roman Arinenko",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s800-c-k-c0x00ffffff-no-rj"}}}]},{viewers:ge(),type:"facebookProfile",statistics:{total_reactions:ge()}}]}}class fc extends $e{constructor(){super()}canHandleRequest(t){return[D.displayDateTimePicker,D.displayScenePicker,D.displayRichTextEditor,D.displayToast,D.displayLayerSelector,D.displayGalleryPicker,D.displayInputs].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayLayerSelector(t){return window.mockLayer}async displayGalleryPicker(t){return window.mockGalleryResult}async displayInputs(t){return window.mockInputs||{type:"string",min:0,max:256,value:"Input Text Here",myId:"example"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b> "+new Date().getTime()}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}class dc extends $e{constructor(){super()}canHandleRequest(t){return[D.getStudioParams,D.getSoundRtc,D.signal].includes(t.request)}async getStudioParams(t){return window.mockStudioParams||{antiScaleValue:1,antiScaleValue2:1}}async signal(t){return null}async getSoundRtc(t){return"webrtc-mock-channel"}}class pc extends $e{constructor(){super()}canHandleRequest(t){return[D.logError,D.logInfo,D.logWarning].includes(t.request)}async handleRequest(t){return this[t.request.toLowerCase().replace("log","")](t)}async error(t){return console.error(t.data),!0}async info(t){return console.info(t.data),!0}async warning(t){return console.warn(t.data),!0}}class hc extends $e{constructor(){super()}canHandleRequest(t){return[D.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class gc extends $e{constructor(){super()}canHandleRequest(t){return[D.createStream,D.accountPlanCapabilities,D.upgradePopup].includes(t.request)}async createStream(t){return{value:window.mockStream||{}}}async accountPlanCapabilities(t){return{value:window.mockAccountPlanCapabilities||{}}}async upgradePopup(t){return{value:null}}}const D={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",listScenes:"listScenes",updateLayer:"updateLayer",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker",displayScenePicker:"displayScenePicker",displayRichTextEditor:"displayRichTextEditor",displayToast:"displayToast",displayLayerSelector:"displayLayerSelector",displayGalleryPicker:"displayGalleryPicker",isSudioMode:"isSudioMode",getStudioParams:"getStudioParams",getSoundRtc:"getSoundRtc",signal:"signal",logError:"logError",logWarning:"logWarning",logInfo:"logInfo",getLayerDisplayableName:"getLayerDisplayableName",listAssets:"listAssets",createStream:"createStream",displayInputs:"displayInputs",accountPlanCapabilities:"accountPlanCapabilities",upgradePopup:"upgradePopup"};let Ft=(e,t,n)=>({requestName:e,eventName:t,data:n});class mc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new es,this._eventHandler=new es,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new lc(t)),this._requestHandlers.push(new cc(t)),this._requestHandlers.push(new uc(t)),this._requestHandlers.push(new ac(t)),this._requestHandlers.push(new fc(t)),this._requestHandlers.push(new dc(t)),this._requestHandlers.push(new pc(t)),this._requestHandlers.push(new hc(t)),this._requestHandlers.push(new gc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=Ft("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return dn.getUserAppInstanceById(t)}_makeSureAppInstanceExist(t){this._userAppInstances[t]=this._userAppInstances[t]||{},this._userAppInstances[t].instances=this._userAppInstances[t].instances||{},this._userAppInstances[t].events=this._userAppInstances[t].events||{}}updateAndNotifyAppInstancesOnSettingsUpdate(t,n,s){if(dn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[Ne.settingsUpdated]){let r=Ft("EvEvent",Ne.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=Ft("EvEvent",Ne.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[Ne.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[Ne.signalingEvent]){let r=Ft("EvEvent",Ne.signalingEvent,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}async onPostMessage(t){let n={};try{typeof t.data=="string"||t.data instanceof String?n=JSON.parse(t.data):n=t.data}catch{}let s=null;if(n.request==D.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==D.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,Ne.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==D.getSettings)this._userAppInstances[n.userAppInstanceId]&&(Ft("EvMessage","settings",n.data),s=(await dn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==D.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==D.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",n),s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==D.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==D.unregisterEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),delete this._userAppInstances[n.userAppInstanceId].events[n.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(n)){s=await this._requestHandlers[r].handleRequest(n);break}n.promisedBased&&ic.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const yt=new mc;const _c=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},yc={class:"test_holder_root"},bc={class:"test_holder_main"},vc={class:"settings_sidebar light"},wc={class:"video_editor_wr"},Ac={key:0,class:"apps_fast_access_wr"},Ec=["title","innerHTML"],xc=["title"],Ic=["innerHTML"],Pc={class:"apps_fast_access_btn_drop"},Rc=["onClick"],Sc={class:"scene_canvas"},Cc={__name:"TestHolder",setup(e){yt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};dn.updateUserAppInstance(t,{id:t,settings:s});const r=mt(null),i=mt(null),o=mt(null),c=mt(null);let l=!1,f=0,d=0,h=0,g=0;function v(P){if(P.target.closest(".widget_layer")&&P.target===c.value){l=!0,f=P.clientX,d=P.clientY;const S=c.value.style;h=parseInt(S.left)||0,g=parseInt(S.top)||0,P.preventDefault()}}function O(P){if(!l)return;const S=P.clientX-f,L=P.clientY-d;c.value.style.left=h+S+"px",c.value.style.top=g+L+"px"}function T(){l=!1}Wn(()=>{document.addEventListener("mousemove",O),document.addEventListener("mouseup",T)}),yt._eventHandler.subscribe("fastActionButtonsUpdated",(P,S)=>{var te;const L=S.data.buttonsArray||[];if(!L.length){o.value=null;return}const Y=L.length===1&&((te=L[0])==null?void 0:te.uiColor)||null;o.value={componentId:S.componentId,userAppInstanceId:S.userAppInstanceId,buttons:L,group:S.data.parameters||{},uiColor:Y}});function F(P,S){let L={fastAccessButton:S,userAppInstanceId:P.userAppInstanceId,componentId:P.componentId};yt._raiseEventForSpecificUserAppInstance(P.userAppInstanceId,Ne.fastActionButton,L),yt._eventHandler.publish("updateEverywhere",{request:D.raiseFastAccessButtonEvent,data:L})}return Wn(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`}),(P,S)=>{var L,q;return nt(),pt("div",yc,[ye("div",bc,[ye("div",vc,[ye("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)]),ye("div",wc,[o.value?(nt(),pt("div",Ac,[o.value.buttons.length===1?(nt(),pt("div",{key:0,class:Wt(["apps_fast_access_btn",[o.value.uiColor?"uiColor":""]]),style:zt({backgroundColor:o.value.uiColor||""}),title:o.value.buttons[0].buttonText,onClick:S[0]||(S[0]=Y=>F(o.value,o.value.buttons[0])),innerHTML:o.value.buttons[0].icon||((L=o.value.group.groupName)==null?void 0:L.slice(0,1))||"?"},null,14,Ec)):(nt(),pt("div",{key:1,class:"apps_fast_access_btn",title:o.value.group.groupName||"Actions"},[ye("div",{innerHTML:o.value.group.groupIcon||((q=o.value.group.groupName)==null?void 0:q.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,Ic),ye("div",Pc,[(nt(!0),pt(Te,null,Xo(o.value.buttons,Y=>(nt(),pt("div",{class:Wt(["apps_fast_access_btn_drop_btn",[Y.uiColor?"uiColor":""]]),key:Y.buttonId,style:zt({backgroundColor:Y.uiColor||""}),onClick:te=>F(o.value,Y)},Ki(Y.buttonText.length>19?Y.buttonText.slice(0,19)+"...":Y.buttonText),15,Rc))),128))])],8,xc))])):wl("",!0),ye("div",Sc,[ye("div",{class:"widget_layer",ref_key:"widgetLayer",ref:c,onMousedown:v},[ye("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512)],544)])])])])}}},Oc=_c(Cc,[["__scopeId","data-v-2b367bdd"]]);/*!
5
+ */const ic=Symbol();var or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(or||(or={}));function oc(){const e=Wi(!0),t=e.run(()=>Xe({}));let n=[],s=[];const r=gs({install(i){r._a=i,i.provide(ic,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!rc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function lc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function lr(){var e,t,n;for(e="",n=0;n<32;n++)(n==8||n==12||n==16||n==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class es{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class cc{constructor(){this._requests={},this._messagesEventHandlers=new es,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,n=null){let s=lr(),[r,i,o]=lc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=lr();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class uc{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let dn=new uc;class Qe{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ac extends Qe{constructor(){super()}canHandleRequest(t){return["getComments"].includes(t.request)}async handleRequest(t){return window.mockComments||[{id:"1fsdf",title:"Sample comment",text:"Comments will appear here once the broadcast starts.",pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:"fb",flags:{sample:!0,star:!1,shown:!1}}]}}class fc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createNewLayer,U.removeSizeCatcher,U.listScenes,U.switchScene,U.updateLayer,U.getLayerDisplayableName].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}async updateLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async getLayerDisplayableName(t){return window.mockLayerName||"A Mock Layer Name"}async listScenes(t){return window.mockScenes||[{id:497,idx:497,order:0,name:"New Scene",stingerData:{idx:null,time:null,muted:!1,speed:1,volume:100,transitionName:null,transitionDuration:0},backgroundColor:null,overWriteBackgroundColor:!1,layers:[{idx:"e9fe6623-4332-447c-bb1a-ccfe9f794bb3",type:"userapp",name:"TESTAPP",opacity:100,bounds:{x:1280,y:720},pos:{rot:0,top:8.397612310554674,left:13.50375337545383,right:19.829579957879496,bottom:24.93572102277865},crop:{top:0,left:0,right:0,bottom:0},data:{adaptive:!1,aspect:!0,borderRadius:0,userAppInstanceId:"4d532c22-363e-4028-824d-7b029f100916",userAppId:"ce5d32b3-7d6c-4e43-be02-4903d6b49acd",fixedSize:!0,fixedSizeWidth:1280,fixedSizeHeight:720,verticalStreaming:{pos:{rot:0,top:35.052083333333336,left:2.7777777777777777,right:2.7777777777777857,bottom:35.05208333333333},crop:{top:0,left:0,right:0,bottom:0},borderRadius:0,aspect:!0,bounds:{x:1020,y:574},customBounds:{x:1020,y:574},locked:!1,hidden:!1,fixedSizeWidth:1020,fixedSizeHeight:574}},order:0}],thumbnail:{landscape:"https://files.evmux.com/6/scenes/sc_tmb_4971715842178.jpg?Expires=1715885379&Signature=ORHKomQH7iaugP~fHJFYBgZfwoG2lyQOMORSbRld378vCvudJ5gFapWdQNfE~j97UOKuon0uwZ1F741k2YU3qWIFNklDdqU6zuJgxaDTHPM~~TvG9p-Nl0g4BBzGvlyR-JZbUCbpWtg9DczFnQbeFbWynHFdIOGwwh2OQYXuAHlW0v1UDuOnjGRU87XvZ~ReSCW844TuhaPCBPXoMiSt0MHDC-zk~ggmpb7~eQMPjTF5znOdcDB0DdRJ8j~7EYNCFGYGesErpPqH5kOMRLCwmjmvQ4gFJMkNEfPBGdQclanYiSw5iL7KsOErCUtS447euT7wDnRT1N1wgL0LYgJDdQ__&Key-Pair-Id=APKAJQZJ2AA6OYF4WJHA",portrait:null}}]}async switchScene(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}}const $e={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur",studioParamsUpdated:"studioParamsUpdated",signalingEvent:"signalingEvent"};class dc extends Qe{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return yt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,$e.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return yt._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function we(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class pc extends Qe{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:we(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:we(),type:"twitchProfile",statistics:{channel:{subscribers:we()}},last_subscribers:null},{viewers:we(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:we(),type:"youtubeChannel",statistics:{viewCount:we(),likeCount:we(),dislikeCount:we(),favoriteCount:we(),commentCount:we()},lastSubscribers:[{name:"Eran Eluz",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s800-c-k-c0x00ffffff-no-rj"}}},{name:"Roman Arinenko",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s800-c-k-c0x00ffffff-no-rj"}}}]},{viewers:we(),type:"facebookProfile",statistics:{total_reactions:we()}}]}}class hc extends Qe{constructor(){super()}canHandleRequest(t){return[U.displayDateTimePicker,U.displayScenePicker,U.displayRichTextEditor,U.displayToast,U.displayLayerSelector,U.displayGalleryPicker,U.displayInputs].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayLayerSelector(t){return window.mockLayer}async displayGalleryPicker(t){return window.mockGalleryResult}async displayInputs(t){return window.mockInputs||{type:"string",min:0,max:256,value:"Input Text Here",myId:"example"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b> "+new Date().getTime()}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}class gc extends Qe{constructor(){super()}canHandleRequest(t){return[U.getStudioParams,U.getSoundRtc,U.signal].includes(t.request)}async getStudioParams(t){return window.mockStudioParams||{antiScaleValue:1,antiScaleValue2:1}}async signal(t){return null}async getSoundRtc(t){return"webrtc-mock-channel"}}class mc extends Qe{constructor(){super()}canHandleRequest(t){return[U.logError,U.logInfo,U.logWarning].includes(t.request)}async handleRequest(t){return this[t.request.toLowerCase().replace("log","")](t)}async error(t){return console.error(t.data),!0}async info(t){return console.info(t.data),!0}async warning(t){return console.warn(t.data),!0}}class _c extends Qe{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class yc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createStream,U.accountPlanCapabilities,U.upgradePopup].includes(t.request)}async createStream(t){return{value:window.mockStream||{}}}async accountPlanCapabilities(t){return{value:window.mockAccountPlanCapabilities||{}}}async upgradePopup(t){return{value:null}}}const U={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",listScenes:"listScenes",updateLayer:"updateLayer",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker",displayScenePicker:"displayScenePicker",displayRichTextEditor:"displayRichTextEditor",displayToast:"displayToast",displayLayerSelector:"displayLayerSelector",displayGalleryPicker:"displayGalleryPicker",isSudioMode:"isSudioMode",getStudioParams:"getStudioParams",getSoundRtc:"getSoundRtc",signal:"signal",logError:"logError",logWarning:"logWarning",logInfo:"logInfo",getLayerDisplayableName:"getLayerDisplayableName",listAssets:"listAssets",createStream:"createStream",displayInputs:"displayInputs",accountPlanCapabilities:"accountPlanCapabilities",upgradePopup:"upgradePopup"};let jt=(e,t,n)=>({requestName:e,eventName:t,data:n});class vc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new es,this._eventHandler=new es,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new ac(t)),this._requestHandlers.push(new fc(t)),this._requestHandlers.push(new dc(t)),this._requestHandlers.push(new pc(t)),this._requestHandlers.push(new hc(t)),this._requestHandlers.push(new gc(t)),this._requestHandlers.push(new mc(t)),this._requestHandlers.push(new _c(t)),this._requestHandlers.push(new yc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=jt("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return dn.getUserAppInstanceById(t)}_makeSureAppInstanceExist(t){this._userAppInstances[t]=this._userAppInstances[t]||{},this._userAppInstances[t].instances=this._userAppInstances[t].instances||{},this._userAppInstances[t].events=this._userAppInstances[t].events||{}}updateAndNotifyAppInstancesOnSettingsUpdate(t,n,s){if(dn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[$e.settingsUpdated]){let r=jt("EvEvent",$e.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=jt("EvEvent",$e.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[$e.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[$e.signalingEvent]){let r=jt("EvEvent",$e.signalingEvent,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}async onPostMessage(t){let n={};try{typeof t.data=="string"||t.data instanceof String?n=JSON.parse(t.data):n=t.data}catch{}let s=null;if(n.request==U.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==U.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,$e.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(jt("EvMessage","settings",n.data),s=(await dn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==U.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==U.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",n),s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==U.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==U.unregisterEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),delete this._userAppInstances[n.userAppInstanceId].events[n.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(n)){s=await this._requestHandlers[r].handleRequest(n);break}n.promisedBased&&cc.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const yt=new vc;const bc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},xs=e=>(ko("data-v-9acc907e"),e=e(),Ho(),e),wc={class:"test_holder_root"},Ac={class:"test_holder_main"},Ec={class:"settings_header"},xc=["title"],Ic={key:0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pc=xs(()=>ce("circle",{cx:"12",cy:"12",r:"5",stroke:"currentColor","stroke-width":"2"},null,-1)),Rc=xs(()=>ce("path",{d:"M12 2V4M12 20V22M4 12H2M22 12H20M5.64 5.64L4.22 4.22M19.78 19.78L18.36 18.36M5.64 18.36L4.22 19.78M19.78 4.22L18.36 5.64",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)),Sc=[Pc,Rc],Cc={key:1,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oc=xs(()=>ce("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),Mc=[Oc],Tc={class:"video_editor_wr"},kc={key:0,class:"apps_fast_access_wr"},Hc=["title","innerHTML"],qc=["title"],jc=["innerHTML"],Fc={class:"apps_fast_access_btn_drop"},Lc=["onClick"],Bc={class:"scene_canvas"},Nc={__name:"TestHolder",setup(e){yt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};dn.updateUserAppInstance(t,{id:t,settings:s});const r=Xe(null),i=Xe(null),o=Xe(null),c=Xe("light"),l=Xe(null),f=Xe(null);function d(){c.value=c.value==="light"?"dark":"light",o.value.classList.remove("light","dark"),o.value.classList.add(c.value),i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=${c.value}`}let h=null,g=0,v=0,R=0,C=0,j=0,M=0;function H(J){h="drag",g=J.clientX,v=J.clientY,R=parseInt(f.value.style.left)||0,C=parseInt(f.value.style.top)||0,J.preventDefault()}function D(J){h="resize",g=J.clientX,v=J.clientY,j=f.value.offsetWidth,M=f.value.offsetHeight,J.preventDefault(),J.stopPropagation()}function q(J){if(!h)return;const ee=J.clientX-g,ne=J.clientY-v;if(h==="drag")f.value.style.left=R+ee+"px",f.value.style.top=C+ne+"px";else if(h==="resize"){const ae=Math.max(60,j+ee),te=Math.max(60,M+ne);f.value.style.width=ae+"px",f.value.style.height=te+"px"}}function ie(){h=null}yt._eventHandler.subscribe("fastActionButtonsUpdated",(J,ee)=>{var Ae;const ne=ee.data.buttonsArray||[];if(!ne.length){l.value=null;return}const te=ne.length===1&&((Ae=ne[0])==null?void 0:Ae.uiColor)||null;l.value={componentId:ee.componentId,userAppInstanceId:ee.userAppInstanceId,buttons:ne,group:ee.data.parameters||{},uiColor:te}});function oe(J,ee){let ne={fastAccessButton:ee,userAppInstanceId:J.userAppInstanceId,componentId:J.componentId};yt._raiseEventForSpecificUserAppInstance(J.userAppInstanceId,$e.fastActionButton,ne),yt._eventHandler.publish("updateEverywhere",{request:U.raiseFastAccessButtonEvent,data:ne})}return oi(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`,document.addEventListener("mousemove",q),document.addEventListener("mouseup",ie)}),(J,ee)=>{var ne,ae;return Ue(),Ge("div",wc,[ce("div",Ac,[ce("div",{class:"settings_sidebar light",ref_key:"settingsSidebar",ref:o},[ce("div",Ec,[ce("div",{class:"theme_toggle",onClick:d,title:c.value==="light"?"Switch to Dark mode":"Switch to Light mode"},[c.value==="dark"?(Ue(),Ge("svg",Ic,Sc)):(Ue(),Ge("svg",Cc,Mc))],8,xc)]),ce("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)],512),ce("div",Tc,[l.value?(Ue(),Ge("div",kc,[l.value.buttons.length===1?(Ue(),Ge("div",{key:0,class:Wt(["apps_fast_access_btn",[l.value.uiColor?"uiColor":""]]),style:zt({backgroundColor:l.value.uiColor||""}),title:l.value.buttons[0].buttonText,onClick:ee[0]||(ee[0]=te=>oe(l.value,l.value.buttons[0])),innerHTML:l.value.buttons[0].icon||((ne=l.value.group.groupName)==null?void 0:ne.slice(0,1))||"?"},null,14,Hc)):(Ue(),Ge("div",{key:1,class:"apps_fast_access_btn",title:l.value.group.groupName||"Actions"},[ce("div",{innerHTML:l.value.group.groupIcon||((ae=l.value.group.groupName)==null?void 0:ae.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,jc),ce("div",Fc,[(Ue(!0),Ge(qe,null,tl(l.value.buttons,te=>(Ue(),Ge("div",{class:Wt(["apps_fast_access_btn_drop_btn",[te.uiColor?"uiColor":""]]),key:te.buttonId,style:zt({backgroundColor:te.uiColor||""}),onClick:Ae=>oe(l.value,te)},zi(te.buttonText.length>19?te.buttonText.slice(0,19)+"...":te.buttonText),15,Lc))),128))])],8,qc))])):xl("",!0),ce("div",Bc,[ce("div",{class:"widget_layer",ref_key:"widgetLayer",ref:f},[ce("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512),ce("div",{class:"drag_overlay",onMousedown:H},null,32),ce("div",{class:"resize_handle",onMousedown:D},null,32)],512)])])])])}}},Uc=bc(Nc,[["__scopeId","data-v-9acc907e"]]);/*!
6
6
  * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const gt=typeof window<"u";function Tc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function jn(e,t){const n={};for(const s in t){const r=t[s];n[s]=xe(r)?r.map(e):e(r)}return n}const Dt=()=>{},xe=Array.isArray,Mc=/\/$/,qc=e=>e.replace(Mc,"");function Ln(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=jc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Hc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function lr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&St(t.matched[s],n.matched[r])&&vi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function St(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function vi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Fc(e[n],t[n]))return!1;return!0}function Fc(e,t){return xe(e)?cr(e,t):xe(t)?cr(t,e):e===t}function cr(e,t){return xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function jc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Xt;(function(e){e.pop="pop",e.push="push"})(Xt||(Xt={}));var $t;(function(e){e.back="back",e.forward="forward",e.unknown=""})($t||($t={}));function Lc(e){if(!e)if(gt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),qc(e)}const Nc=/^[^#]+#/;function Bc(e,t){return e.replace(Nc,"#")+t}function Uc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Cn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Dc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Uc(r,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 ur(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function $c(e,t){ts.set(e,t)}function Kc(e){const t=ts.get(e);return ts.delete(e),t}let zc=()=>location.protocol+"//"+location.host;function wi(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),lr(l,"")}return lr(n,e)+s+r}function Wc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const v=wi(e,location),O=n.value,T=t.value;let F=0;if(g){if(n.value=v,t.value=g,o&&o===O){o=null;return}F=T?g.position-T.position:0}else s(v);r.forEach(P=>{P(n.value,O,{delta:F,type:Xt.pop,direction:F?F>0?$t.forward:$t.back:$t.unknown})})};function l(){o=n.value}function f(g){r.push(g);const v=()=>{const O=r.indexOf(g);O>-1&&r.splice(O,1)};return i.push(v),v}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:Cn()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function ar(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Cn():null}}function Qc(e){const{history:t,location:n}=window,s={value:wi(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:zc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(v){console.error(v),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,ar(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function c(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:Cn()});i(d.current,d,!0);const h=Q({},ar(s.value,l,null),{position:d.position+1},f);i(l,h,!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function Jc(e){e=Lc(e);const t=Qc(e),n=Wc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:s,createHref:Bc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Yc(e){return typeof e=="string"||e&&typeof e=="object"}function Ai(e){return typeof e=="string"||typeof e=="symbol"}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ei=Symbol("");var fr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(fr||(fr={}));function Ct(e,t){return Q(new Error,{type:e,[Ei]:!0},t)}function je(e,t){return e instanceof Error&&Ei in e&&(t==null||!!(e.type&t))}const dr="[^/]+?",Gc={sensitive:!1,strict:!1,start:!0,end:!0},Vc=/[.+*?^${}()[\]/\\]/g;function Xc(e,t){const n=Q({},Gc,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const g=f[h];let v=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(Vc,"\\$&"),v+=40;else if(g.type===1){const{value:O,repeatable:T,optional:F,regexp:P}=g;i.push({name:O,repeatable:T,optional:F});const S=P||dr;if(S!==dr){v+=10;try{new RegExp(`(${S})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${O}" (${S}): `+q.message)}}let L=T?`((?:${S})(?:/(?:${S}))*)`:`(${S})`;h||(L=F&&f.length<2?`(?:/${L})`:"/"+L),F&&(L+="?"),r+=L,v+=20,F&&(v+=-8),T&&(v+=-20),S===".*"&&(v+=-50)}d.push(v)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function c(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const v=d[g]||"",O=i[g-1];h[O.name]=v&&O.repeatable?v.split("/"):v}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const v of g)if(v.type===0)d+=v.value;else if(v.type===1){const{value:O,repeatable:T,optional:F}=v,P=O in f?f[O]:"";if(xe(P)&&!T)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const S=xe(P)?P.join("/"):P;if(!S)if(F)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${O}"`);d+=S}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function Zc(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function eu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Zc(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(pr(s))return 1;if(pr(r))return-1}return r.length-s.length}function pr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tu={type:0,value:""},nu=/[a-zA-Z0-9_]/;function su(e){if(!e)return[[]];if(e==="/")return[[tu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,f="",d="";function h(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:nu.test(l)?g():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function ru(e,t,n){const s=Xc(su(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function iu(e,t){const n=[],s=new Map;t=mr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const v=!g,O=ou(d);O.aliasOf=g&&g.record;const T=mr(t,d),F=[O];if("alias"in d){const L=typeof d.alias=="string"?[d.alias]:d.alias;for(const q of L)F.push(Q({},O,{components:g?g.record.components:O.components,path:q,aliasOf:g?g.record:O}))}let P,S;for(const L of F){const{path:q}=L;if(h&&q[0]!=="/"){const Y=h.record.path,te=Y[Y.length-1]==="/"?"":"/";L.path=h.record.path+(q&&te+q)}if(P=ru(L,h,T),g?g.alias.push(P):(S=S||P,S!==P&&S.alias.push(P),v&&d.name&&!gr(P)&&o(d.name)),O.children){const Y=O.children;for(let te=0;te<Y.length;te++)i(Y[te],P,g&&g.children[te])}g=g||P,(P.record.components&&Object.keys(P.record.components).length||P.record.name||P.record.redirect)&&l(P)}return S?()=>{o(S)}:Dt}function o(d){if(Ai(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){let h=0;for(;h<n.length&&eu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!xi(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!gr(d)&&s.set(d.record.name,d)}function f(d,h){let g,v={},O,T;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Ct(1,{location:d});T=g.record.name,v=Q(hr(h.params,g.keys.filter(S=>!S.optional).map(S=>S.name)),d.params&&hr(d.params,g.keys.map(S=>S.name))),O=g.stringify(v)}else if("path"in d)O=d.path,g=n.find(S=>S.re.test(O)),g&&(v=g.parse(O),T=g.record.name);else{if(g=h.name?s.get(h.name):n.find(S=>S.re.test(h.path)),!g)throw Ct(1,{location:d,currentLocation:h});T=g.record.name,v=Q({},h.params,d.params),O=g.stringify(v)}const F=[];let P=g;for(;P;)F.unshift(P.record),P=P.parent;return{name:T,path:O,params:v,matched:F,meta:cu(F)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function hr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ou(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:lu(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 lu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function gr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function cu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function mr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function xi(e,t){return t.children.some(n=>n===e||xi(e,n))}const Ii=/#/g,uu=/&/g,au=/\//g,fu=/=/g,du=/\?/g,Pi=/\+/g,pu=/%5B/g,hu=/%5D/g,Ri=/%5E/g,gu=/%60/g,Si=/%7B/g,mu=/%7C/g,Ci=/%7D/g,_u=/%20/g;function xs(e){return encodeURI(""+e).replace(mu,"|").replace(pu,"[").replace(hu,"]")}function yu(e){return xs(e).replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function ns(e){return xs(e).replace(Pi,"%2B").replace(_u,"+").replace(Ii,"%23").replace(uu,"%26").replace(gu,"`").replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function bu(e){return ns(e).replace(fu,"%3D")}function vu(e){return xs(e).replace(Ii,"%23").replace(du,"%3F")}function wu(e){return e==null?"":vu(e).replace(au,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Au(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Pi," "),o=i.indexOf("="),c=yn(o<0?i:i.slice(0,o)),l=o<0?null:yn(i.slice(o+1));if(c in t){let f=t[c];xe(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function _r(e){let t="";for(let n in e){const s=e[n];if(n=bu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(xe(s)?s.map(i=>i&&ns(i)):[s&&ns(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Eu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=xe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const xu=Symbol(""),yr=Symbol(""),Is=Symbol(""),Oi=Symbol(""),ss=Symbol("");function jt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ye(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,c)=>{const l=h=>{h===!1?c(Ct(4,{from:n,to:t})):h instanceof Error?c(h):Yc(h)?c(Ct(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},f=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(h=>c(h))})}function Nn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let c=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Iu(c)){const f=(c.__vccOpts||c)[t];f&&r.push(Ye(f,n,s,i,o))}else{let l=c();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Tc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&Ye(g,n,s,i,o)()}))}}return r}function Iu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function br(e){const t=Be(Is),n=Be(Oi),s=ve(()=>t.resolve(At(e.to))),r=ve(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(St.bind(null,d));if(g>-1)return g;const v=vr(l[f-2]);return f>1&&vr(d)===v&&h[h.length-1].path!==v?h.findIndex(St.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&Cu(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&vi(n.params,s.value.params));function c(l={}){return Su(l)?t[At(e.replace)?"replace":"push"](At(e.to)).catch(Dt):Promise.resolve()}return{route:s,href:ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Pu=si({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:br,setup(e,{slots:t}){const n=En(br(e)),{options:s}=Be(Is),r=ve(()=>({[wr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[wr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:bi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Ru=Pu;function Su(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 Cu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!xe(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function vr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const wr=(e,t,n)=>e??t??n,Ou=si({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(ss),r=ve(()=>e.route||s.value),i=Be(yr,0),o=ve(()=>{let f=At(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=ve(()=>r.value.matched[o.value]);an(yr,ve(()=>o.value+1)),an(xu,c),an(ss,r);const l=mt();return cn(()=>[l.value,c.value,e.name],([f,d,h],[g,v,O])=>{d&&(d.instances[h]=f,v&&v!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),f&&d&&(!v||!St(d,v)||!g)&&(d.enterCallbacks[h]||[]).forEach(T=>T(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=c.value,g=h&&h.components[d];if(!g)return Ar(n.default,{Component:g,route:f});const v=h.props[d],O=v?v===!0?f.params:typeof v=="function"?v(f):v:null,F=bi(g,Q({},O,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Ar(n.default,{Component:F,route:f})||F}}});function Ar(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Tu=Ou;function Mu(e){const t=iu(e.routes,e),n=e.parseQuery||Au,s=e.stringifyQuery||_r,r=e.history,i=jt(),o=jt(),c=jt(),l=wo(Qe);let f=Qe;gt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=jn.bind(null,_=>""+_),h=jn.bind(null,wu),g=jn.bind(null,yn);function v(_,R){let x,M;return Ai(_)?(x=t.getRecordMatcher(_),M=R):M=_,t.addRoute(M,x)}function O(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function T(){return t.getRoutes().map(_=>_.record)}function F(_){return!!t.getRecordMatcher(_)}function P(_,R){if(R=Q({},R||l.value),typeof _=="string"){const p=Ln(n,_,R.path),m=t.resolve({path:p.path},R),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:yn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Ln(n,_.path,R.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),R.params=h(R.params)}const M=t.resolve(x,R),W=_.hash||"";M.params=d(g(M.params));const u=Hc(s,Q({},_,{hash:yu(W),path:M.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===_r?Eu(_.query):_.query||{}},M,{redirectedFrom:void 0,href:a})}function S(_){return typeof _=="string"?Ln(n,_,l.value.path):Q({},_)}function L(_,R){if(f!==_)return Ct(8,{from:R,to:_})}function q(_){return Ie(_)}function Y(_){return q(Q(S(_),{replace:!0}))}function te(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:x}=R;let M=typeof x=="function"?x(_):x;return typeof M=="string"&&(M=M.includes("?")||M.includes("#")?M=S(M):{path:M},M.params={}),Q({query:_.query,hash:_.hash,params:"path"in M?{}:_.params},M)}}function Ie(_,R){const x=f=P(_),M=l.value,W=_.state,u=_.force,a=_.replace===!0,p=te(x);if(p)return Ie(Q(S(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),R||x);const m=x;m.redirectedFrom=R;let y;return!u&&kc(s,M,x)&&(y=Ct(16,{to:m,from:M}),Se(M,M,!0,!1)),(y?Promise.resolve(y):Pe(m,M)).catch(b=>je(b)?je(b,2)?b:ze(b):z(b,m,M)).then(b=>{if(b){if(je(b,2))return Ie(Q({replace:a},S(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:u}),R||m)}else b=Ze(m,M,!0,a,W);return Ke(m,M,b),b})}function ke(_,R){const x=L(_,R);return x?Promise.reject(x):Promise.resolve()}function ct(_){const R=ft.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Pe(_,R){let x;const[M,W,u]=qu(_,R);x=Nn(M.reverse(),"beforeRouteLeave",_,R);for(const p of M)p.leaveGuards.forEach(m=>{x.push(Ye(m,_,R))});const a=ke.bind(null,_,R);return x.push(a),ie(x).then(()=>{x=[];for(const p of i.list())x.push(Ye(p,_,R));return x.push(a),ie(x)}).then(()=>{x=Nn(W,"beforeRouteUpdate",_,R);for(const p of W)p.updateGuards.forEach(m=>{x.push(Ye(m,_,R))});return x.push(a),ie(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(xe(p.beforeEnter))for(const m of p.beforeEnter)x.push(Ye(m,_,R));else x.push(Ye(p.beforeEnter,_,R));return x.push(a),ie(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Nn(u,"beforeRouteEnter",_,R),x.push(a),ie(x))).then(()=>{x=[];for(const p of o.list())x.push(Ye(p,_,R));return x.push(a),ie(x)}).catch(p=>je(p,8)?p:Promise.reject(p))}function Ke(_,R,x){c.list().forEach(M=>ct(()=>M(_,R,x)))}function Ze(_,R,x,M,W){const u=L(_,R);if(u)return u;const a=R===Qe,p=gt?history.state:{};x&&(M||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Se(_,R,x,a),ze()}let Re;function qt(){Re||(Re=r.listen((_,R,x)=>{if(!Zt.listening)return;const M=P(_),W=te(M);if(W){Ie(Q(W,{replace:!0}),M).catch(Dt);return}f=M;const u=l.value;gt&&$c(ur(u.fullPath,x.delta),Cn()),Pe(M,u).catch(a=>je(a,12)?a:je(a,2)?(Ie(a.to,M).then(p=>{je(p,20)&&!x.delta&&x.type===Xt.pop&&r.go(-1,!1)}).catch(Dt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,M,u))).then(a=>{a=a||Ze(M,u,!1),a&&(x.delta&&!je(a,8)?r.go(-x.delta,!1):x.type===Xt.pop&&je(a,20)&&r.go(-1,!1)),Ke(M,u,a)}).catch(Dt)}))}let ut=jt(),se=jt(),G;function z(_,R,x){ze(_);const M=se.list();return M.length?M.forEach(W=>W(_,R,x)):console.error(_),Promise.reject(_)}function Fe(){return G&&l.value!==Qe?Promise.resolve():new Promise((_,R)=>{ut.add([_,R])})}function ze(_){return G||(G=!_,qt(),ut.list().forEach(([R,x])=>_?x(_):R()),ut.reset()),_}function Se(_,R,x,M){const{scrollBehavior:W}=e;if(!gt||!W)return Promise.resolve();const u=!x&&Kc(ur(_.fullPath,0))||(M||!x)&&history.state&&history.state.scroll||null;return Yr().then(()=>W(_,R,u)).then(a=>a&&Dc(a)).catch(a=>z(a,_,R))}const ae=_=>r.go(_);let at;const ft=new Set,Zt={currentRoute:l,listening:!0,addRoute:v,removeRoute:O,hasRoute:F,getRoutes:T,resolve:P,options:e,push:q,replace:Y,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:se.add,isReady:Fe,install(_){const R=this;_.component("RouterLink",Ru),_.component("RouterView",Tu),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>At(l)}),gt&&!at&&l.value===Qe&&(at=!0,q(r.location).catch(W=>{}));const x={};for(const W in Qe)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(Is,R),_.provide(Oi,Ur(x)),_.provide(ss,l);const M=_.unmount;ft.add(_),_.unmount=function(){ft.delete(_),ft.size<1&&(f=Qe,Re&&Re(),Re=null,l.value=Qe,at=!1,G=!1),M()}}};function ie(_){return _.reduce((R,x)=>R.then(()=>ct(x)),Promise.resolve())}return Zt}function qu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(f=>St(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>St(f,l))||r.push(l))}return[n,s,r]}const Hu=Mu({history:Jc("/"),routes:[]}),Ps=Zl(Oc);Ps.use(sc());Ps.use(Hu);Ps.mount("#app");
9
+ */const mt=typeof window<"u";function Dc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function Ln(e,t){const n={};for(const s in t){const r=t[s];n[s]=Oe(r)?r.map(e):e(r)}return n}const Dt=()=>{},Oe=Array.isArray,$c=/\/$/,Kc=e=>e.replace($c,"");function Bn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Jc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function zc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&St(t.matched[s],n.matched[r])&&wi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function St(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qc(e[n],t[n]))return!1;return!0}function Qc(e,t){return Oe(e)?ur(e,t):Oe(t)?ur(t,e):e===t}function ur(e,t){return Oe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Jc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Xt;(function(e){e.pop="pop",e.push="push"})(Xt||(Xt={}));var $t;(function(e){e.back="back",e.forward="forward",e.unknown=""})($t||($t={}));function Yc(e){if(!e)if(mt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Kc(e)}const Gc=/^[^#]+#/;function Vc(e,t){return e.replace(Gc,"#")+t}function Xc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const On=()=>({left:window.pageXOffset,top:window.pageYOffset});function Zc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Xc(r,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 ar(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function eu(e,t){ts.set(e,t)}function tu(e){const t=ts.get(e);return ts.delete(e),t}let nu=()=>location.protocol+"//"+location.host;function Ai(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),cr(l,"")}return cr(n,e)+s+r}function su(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const v=Ai(e,location),R=n.value,C=t.value;let j=0;if(g){if(n.value=v,t.value=g,o&&o===R){o=null;return}j=C?g.position-C.position:0}else s(v);r.forEach(M=>{M(n.value,R,{delta:j,type:Xt.pop,direction:j?j>0?$t.forward:$t.back:$t.unknown})})};function l(){o=n.value}function f(g){r.push(g);const v=()=>{const R=r.indexOf(g);R>-1&&r.splice(R,1)};return i.push(v),v}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:On()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function fr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?On():null}}function ru(e){const{history:t,location:n}=window,s={value:Ai(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:nu()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(v){console.error(v),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,fr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function c(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:On()});i(d.current,d,!0);const h=Q({},fr(s.value,l,null),{position:d.position+1},f);i(l,h,!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function iu(e){e=Yc(e);const t=ru(e),n=su(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:s,createHref:Vc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ou(e){return typeof e=="string"||e&&typeof e=="object"}function Ei(e){return typeof e=="string"||typeof e=="symbol"}const Ve={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xi=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function Ct(e,t){return Q(new Error,{type:e,[xi]:!0},t)}function Ne(e,t){return e instanceof Error&&xi in e&&(t==null||!!(e.type&t))}const pr="[^/]+?",lu={sensitive:!1,strict:!1,start:!0,end:!0},cu=/[.+*?^${}()[\]/\\]/g;function uu(e,t){const n=Q({},lu,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const g=f[h];let v=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(cu,"\\$&"),v+=40;else if(g.type===1){const{value:R,repeatable:C,optional:j,regexp:M}=g;i.push({name:R,repeatable:C,optional:j});const H=M||pr;if(H!==pr){v+=10;try{new RegExp(`(${H})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${R}" (${H}): `+q.message)}}let D=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||(D=j&&f.length<2?`(?:/${D})`:"/"+D),j&&(D+="?"),r+=D,v+=20,j&&(v+=-8),C&&(v+=-20),H===".*"&&(v+=-50)}d.push(v)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function c(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const v=d[g]||"",R=i[g-1];h[R.name]=v&&R.repeatable?v.split("/"):v}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const v of g)if(v.type===0)d+=v.value;else if(v.type===1){const{value:R,repeatable:C,optional:j}=v,M=R in f?f[R]:"";if(Oe(M)&&!C)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const H=Oe(M)?M.join("/"):M;if(!H)if(j)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${R}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function au(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function fu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=au(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(hr(s))return 1;if(hr(r))return-1}return r.length-s.length}function hr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const du={type:0,value:""},pu=/[a-zA-Z0-9_]/;function hu(e){if(!e)return[[]];if(e==="/")return[[du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,f="",d="";function h(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:pu.test(l)?g():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function gu(e,t,n){const s=uu(hu(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function mu(e,t){const n=[],s=new Map;t=_r({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const v=!g,R=_u(d);R.aliasOf=g&&g.record;const C=_r(t,d),j=[R];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const q of D)j.push(Q({},R,{components:g?g.record.components:R.components,path:q,aliasOf:g?g.record:R}))}let M,H;for(const D of j){const{path:q}=D;if(h&&q[0]!=="/"){const ie=h.record.path,oe=ie[ie.length-1]==="/"?"":"/";D.path=h.record.path+(q&&oe+q)}if(M=gu(D,h,C),g?g.alias.push(M):(H=H||M,H!==M&&H.alias.push(M),v&&d.name&&!mr(M)&&o(d.name)),R.children){const ie=R.children;for(let oe=0;oe<ie.length;oe++)i(ie[oe],M,g&&g.children[oe])}g=g||M,(M.record.components&&Object.keys(M.record.components).length||M.record.name||M.record.redirect)&&l(M)}return H?()=>{o(H)}:Dt}function o(d){if(Ei(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){let h=0;for(;h<n.length&&fu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!Ii(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!mr(d)&&s.set(d.record.name,d)}function f(d,h){let g,v={},R,C;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Ct(1,{location:d});C=g.record.name,v=Q(gr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&gr(d.params,g.keys.map(H=>H.name))),R=g.stringify(v)}else if("path"in d)R=d.path,g=n.find(H=>H.re.test(R)),g&&(v=g.parse(R),C=g.record.name);else{if(g=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!g)throw Ct(1,{location:d,currentLocation:h});C=g.record.name,v=Q({},h.params,d.params),R=g.stringify(v)}const j=[];let M=g;for(;M;)j.unshift(M.record),M=M.parent;return{name:C,path:R,params:v,matched:j,meta:vu(j)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function _u(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yu(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 yu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Ii(e,t){return t.children.some(n=>n===e||Ii(e,n))}const Pi=/#/g,bu=/&/g,wu=/\//g,Au=/=/g,Eu=/\?/g,Ri=/\+/g,xu=/%5B/g,Iu=/%5D/g,Si=/%5E/g,Pu=/%60/g,Ci=/%7B/g,Ru=/%7C/g,Oi=/%7D/g,Su=/%20/g;function Is(e){return encodeURI(""+e).replace(Ru,"|").replace(xu,"[").replace(Iu,"]")}function Cu(e){return Is(e).replace(Ci,"{").replace(Oi,"}").replace(Si,"^")}function ns(e){return Is(e).replace(Ri,"%2B").replace(Su,"+").replace(Pi,"%23").replace(bu,"%26").replace(Pu,"`").replace(Ci,"{").replace(Oi,"}").replace(Si,"^")}function Ou(e){return ns(e).replace(Au,"%3D")}function Mu(e){return Is(e).replace(Pi,"%23").replace(Eu,"%3F")}function Tu(e){return e==null?"":Mu(e).replace(wu,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ku(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Ri," "),o=i.indexOf("="),c=yn(o<0?i:i.slice(0,o)),l=o<0?null:yn(i.slice(o+1));if(c in t){let f=t[c];Oe(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function yr(e){let t="";for(let n in e){const s=e[n];if(n=Ou(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Oe(s)?s.map(i=>i&&ns(i)):[s&&ns(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Hu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Oe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const qu=Symbol(""),vr=Symbol(""),Ps=Symbol(""),Mi=Symbol(""),ss=Symbol("");function Ft(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function et(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,c)=>{const l=h=>{h===!1?c(Ct(4,{from:n,to:t})):h instanceof Error?c(h):ou(h)?c(Ct(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},f=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(h=>c(h))})}function Nn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let c=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ju(c)){const f=(c.__vccOpts||c)[t];f&&r.push(et(f,n,s,i,o))}else{let l=c();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Dc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&et(g,n,s,i,o)()}))}}return r}function ju(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function br(e){const t=Ke(Ps),n=Ke(Mi),s=Pe(()=>t.resolve(At(e.to))),r=Pe(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(St.bind(null,d));if(g>-1)return g;const v=wr(l[f-2]);return f>1&&wr(d)===v&&h[h.length-1].path!==v?h.findIndex(St.bind(null,l[f-2])):g}),i=Pe(()=>r.value>-1&&Nu(n.params,s.value.params)),o=Pe(()=>r.value>-1&&r.value===n.matched.length-1&&wi(n.params,s.value.params));function c(l={}){return Bu(l)?t[At(e.replace)?"replace":"push"](At(e.to)).catch(Dt):Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Fu=si({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:br,setup(e,{slots:t}){const n=En(br(e)),{options:s}=Ke(Ps),r=Pe(()=>({[Ar(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ar(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:bi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Lu=Fu;function Bu(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 Nu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Oe(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function wr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ar=(e,t,n)=>e??t??n,Uu=si({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(ss),r=Pe(()=>e.route||s.value),i=Ke(vr,0),o=Pe(()=>{let f=At(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=Pe(()=>r.value.matched[o.value]);an(vr,Pe(()=>o.value+1)),an(qu,c),an(ss,r);const l=Xe();return cn(()=>[l.value,c.value,e.name],([f,d,h],[g,v,R])=>{d&&(d.instances[h]=f,v&&v!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),f&&d&&(!v||!St(d,v)||!g)&&(d.enterCallbacks[h]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=c.value,g=h&&h.components[d];if(!g)return Er(n.default,{Component:g,route:f});const v=h.props[d],R=v?v===!0?f.params:typeof v=="function"?v(f):v:null,j=bi(g,Q({},R,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Er(n.default,{Component:j,route:f})||j}}});function Er(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Du=Uu;function $u(e){const t=mu(e.routes,e),n=e.parseQuery||ku,s=e.stringifyQuery||yr,r=e.history,i=Ft(),o=Ft(),c=Ft(),l=Ao(Ve);let f=Ve;mt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ln.bind(null,_=>""+_),h=Ln.bind(null,Tu),g=Ln.bind(null,yn);function v(_,P){let x,O;return Ei(_)?(x=t.getRecordMatcher(_),O=P):O=_,t.addRoute(O,x)}function R(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function C(){return t.getRoutes().map(_=>_.record)}function j(_){return!!t.getRecordMatcher(_)}function M(_,P){if(P=Q({},P||l.value),typeof _=="string"){const p=Bn(n,_,P.path),m=t.resolve({path:p.path},P),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:yn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Bn(n,_.path,P.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),P.params=h(P.params)}const O=t.resolve(x,P),W=_.hash||"";O.params=d(g(O.params));const u=zc(s,Q({},_,{hash:Cu(W),path:O.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===yr?Hu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Bn(n,_,l.value.path):Q({},_)}function D(_,P){if(f!==_)return Ct(8,{from:P,to:_})}function q(_){return J(_)}function ie(_){return q(Q(H(_),{replace:!0}))}function oe(_){const P=_.matched[_.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let O=typeof x=="function"?x(_):x;return typeof O=="string"&&(O=O.includes("?")||O.includes("#")?O=H(O):{path:O},O.params={}),Q({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function J(_,P){const x=f=M(_),O=l.value,W=_.state,u=_.force,a=_.replace===!0,p=oe(x);if(p)return J(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),P||x);const m=x;m.redirectedFrom=P;let y;return!u&&Wc(s,O,x)&&(y=Ct(16,{to:m,from:O}),Te(O,O,!0,!1)),(y?Promise.resolve(y):ae(m,O)).catch(b=>Ne(b)?Ne(b,2)?b:Je(b):z(b,m,O)).then(b=>{if(b){if(Ne(b,2))return J(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:u}),P||m)}else b=Ae(m,O,!0,a,W);return te(m,O,b),b})}function ee(_,P){const x=D(_,P);return x?Promise.reject(x):Promise.resolve()}function ne(_){const P=pt.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function ae(_,P){let x;const[O,W,u]=Ku(_,P);x=Nn(O.reverse(),"beforeRouteLeave",_,P);for(const p of O)p.leaveGuards.forEach(m=>{x.push(et(m,_,P))});const a=ee.bind(null,_,P);return x.push(a),fe(x).then(()=>{x=[];for(const p of i.list())x.push(et(p,_,P));return x.push(a),fe(x)}).then(()=>{x=Nn(W,"beforeRouteUpdate",_,P);for(const p of W)p.updateGuards.forEach(m=>{x.push(et(m,_,P))});return x.push(a),fe(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(Oe(p.beforeEnter))for(const m of p.beforeEnter)x.push(et(m,_,P));else x.push(et(p.beforeEnter,_,P));return x.push(a),fe(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Nn(u,"beforeRouteEnter",_,P),x.push(a),fe(x))).then(()=>{x=[];for(const p of o.list())x.push(et(p,_,P));return x.push(a),fe(x)}).catch(p=>Ne(p,8)?p:Promise.reject(p))}function te(_,P,x){c.list().forEach(O=>ne(()=>O(_,P,x)))}function Ae(_,P,x,O,W){const u=D(_,P);if(u)return u;const a=P===Ve,p=mt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Te(_,P,x,a),Je()}let Me;function kt(){Me||(Me=r.listen((_,P,x)=>{if(!Zt.listening)return;const O=M(_),W=oe(O);if(W){J(Q(W,{replace:!0}),O).catch(Dt);return}f=O;const u=l.value;mt&&eu(ar(u.fullPath,x.delta),On()),ae(O,u).catch(a=>Ne(a,12)?a:Ne(a,2)?(J(a.to,O).then(p=>{Ne(p,20)&&!x.delta&&x.type===Xt.pop&&r.go(-1,!1)}).catch(Dt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,u))).then(a=>{a=a||Ae(O,u,!1),a&&(x.delta&&!Ne(a,8)?r.go(-x.delta,!1):x.type===Xt.pop&&Ne(a,20)&&r.go(-1,!1)),te(O,u,a)}).catch(Dt)}))}let ft=Ft(),le=Ft(),G;function z(_,P,x){Je(_);const O=le.list();return O.length?O.forEach(W=>W(_,P,x)):console.error(_),Promise.reject(_)}function Be(){return G&&l.value!==Ve?Promise.resolve():new Promise((_,P)=>{ft.add([_,P])})}function Je(_){return G||(G=!_,kt(),ft.list().forEach(([P,x])=>_?x(_):P()),ft.reset()),_}function Te(_,P,x,O){const{scrollBehavior:W}=e;if(!mt||!W)return Promise.resolve();const u=!x&&tu(ar(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Gr().then(()=>W(_,P,u)).then(a=>a&&Zc(a)).catch(a=>z(a,_,P))}const me=_=>r.go(_);let dt;const pt=new Set,Zt={currentRoute:l,listening:!0,addRoute:v,removeRoute:R,hasRoute:j,getRoutes:C,resolve:M,options:e,push:q,replace:ie,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:le.add,isReady:Be,install(_){const P=this;_.component("RouterLink",Lu),_.component("RouterView",Du),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>At(l)}),mt&&!dt&&l.value===Ve&&(dt=!0,q(r.location).catch(W=>{}));const x={};for(const W in Ve)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(Ps,P),_.provide(Mi,Dr(x)),_.provide(ss,l);const O=_.unmount;pt.add(_),_.unmount=function(){pt.delete(_),pt.size<1&&(f=Ve,Me&&Me(),Me=null,l.value=Ve,dt=!1,G=!1),O()}}};function fe(_){return _.reduce((P,x)=>P.then(()=>ne(x)),Promise.resolve())}return Zt}function Ku(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(f=>St(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>St(f,l))||r.push(l))}return[n,s,r]}const zu=$u({history:iu("/"),routes:[]}),Rs=nc(Uc);Rs.use(oc());Rs.use(zu);Rs.mount("#app");
@@ -19,45 +19,65 @@ appsDataManager.updateUserAppInstance(userAppInstanceId, { id: userAppInstanceId
19
19
 
20
20
  const wudgetIframe = ref(null)
21
21
  const settingsIframe = ref(null)
22
+ const settingsSidebar = ref(null)
22
23
 
24
+ const styleVersion = ref('light')
23
25
  const fastActionButtonGroup = ref(null)
24
26
  const widgetLayer = ref(null)
25
27
 
26
- let isDragging = false
27
- let dragStartX = 0
28
- let dragStartY = 0
29
- let layerStartLeft = 0
30
- let layerStartTop = 0
28
+ function toggleTheme() {
29
+ styleVersion.value = styleVersion.value === 'light' ? 'dark' : 'light'
30
+ settingsSidebar.value.classList.remove('light', 'dark')
31
+ settingsSidebar.value.classList.add(styleVersion.value)
32
+ settingsIframe.value.src = `settings.html?appInstanceId=${userAppInstanceId}&compId=settings_${componentId}&styleVersion=${styleVersion.value}`
33
+ }
31
34
 
32
- function onLayerMouseDown(e) {
33
- if (e.target.closest('.widget_layer') && e.target === widgetLayer.value) {
34
- isDragging = true
35
- dragStartX = e.clientX
36
- dragStartY = e.clientY
37
- const style = widgetLayer.value.style
38
- layerStartLeft = parseInt(style.left) || 0
39
- layerStartTop = parseInt(style.top) || 0
40
- e.preventDefault()
41
- }
35
+ let mode = null // 'drag' or 'resize'
36
+ let startX = 0
37
+ let startY = 0
38
+ let startLeft = 0
39
+ let startTop = 0
40
+ let startW = 0
41
+ let startH = 0
42
+
43
+ function onDragStart(e) {
44
+ mode = 'drag'
45
+ startX = e.clientX
46
+ startY = e.clientY
47
+ startLeft = parseInt(widgetLayer.value.style.left) || 0
48
+ startTop = parseInt(widgetLayer.value.style.top) || 0
49
+ e.preventDefault()
50
+ }
51
+
52
+ function onResizeStart(e) {
53
+ mode = 'resize'
54
+ startX = e.clientX
55
+ startY = e.clientY
56
+ startW = widgetLayer.value.offsetWidth
57
+ startH = widgetLayer.value.offsetHeight
58
+ e.preventDefault()
59
+ e.stopPropagation()
42
60
  }
43
61
 
44
62
  function onMouseMove(e) {
45
- if (!isDragging) return
46
- const dx = e.clientX - dragStartX
47
- const dy = e.clientY - dragStartY
48
- widgetLayer.value.style.left = layerStartLeft + dx + 'px'
49
- widgetLayer.value.style.top = layerStartTop + dy + 'px'
63
+ if (!mode) return
64
+ const dx = e.clientX - startX
65
+ const dy = e.clientY - startY
66
+ if (mode === 'drag') {
67
+ widgetLayer.value.style.left = (startLeft + dx) + 'px'
68
+ widgetLayer.value.style.top = (startTop + dy) + 'px'
69
+ } else if (mode === 'resize') {
70
+ const newW = Math.max(60, startW + dx)
71
+ const newH = Math.max(60, startH + dy)
72
+ widgetLayer.value.style.width = newW + 'px'
73
+ widgetLayer.value.style.height = newH + 'px'
74
+ }
50
75
  }
51
76
 
52
77
  function onMouseUp() {
53
- isDragging = false
78
+ mode = null
54
79
  }
55
80
 
56
- onMounted(() => {
57
- document.addEventListener('mousemove', onMouseMove)
58
- document.addEventListener('mouseup', onMouseUp)
59
- })
60
-
61
81
  appsObserver._eventHandler.subscribe("fastActionButtonsUpdated", (eventName, requestObj) => {
62
82
  const buttons = requestObj.data.buttonsArray || []
63
83
  if (!buttons.length) {
@@ -91,6 +111,8 @@ function clickOnFastAccessButton(buttonGroup, button) {
91
111
  onMounted(() => {
92
112
  wudgetIframe.value.src = `widget.html?appInstanceId=${userAppInstanceId}&compId=${componentId}`;
93
113
  settingsIframe.value.src = `settings.html?appInstanceId=${userAppInstanceId}&compId=settings_${componentId}&styleVersion=light`;
114
+ document.addEventListener('mousemove', onMouseMove)
115
+ document.addEventListener('mouseup', onMouseUp)
94
116
  })
95
117
 
96
118
  function raiseCommentsEvent(event) {
@@ -103,7 +125,20 @@ function raiseCommentsEvent(event) {
103
125
  <div class="test_holder_root">
104
126
  <div class="test_holder_main">
105
127
  <!-- Settings sidebar (studio style) -->
106
- <div class="settings_sidebar light">
128
+ <div class="settings_sidebar light" ref="settingsSidebar">
129
+ <div class="settings_header">
130
+ <div class="theme_toggle" @click="toggleTheme" :title="styleVersion === 'light' ? 'Switch to Dark mode' : 'Switch to Light mode'">
131
+ <!-- Sun icon (shown in dark mode) -->
132
+ <svg v-if="styleVersion === 'dark'" width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
133
+ <circle cx="12" cy="12" r="5" stroke="currentColor" stroke-width="2"/>
134
+ <path d="M12 2V4M12 20V22M4 12H2M22 12H20M5.64 5.64L4.22 4.22M19.78 19.78L18.36 18.36M5.64 18.36L4.22 19.78M19.78 4.22L18.36 5.64" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
135
+ </svg>
136
+ <!-- Moon icon (shown in light mode) -->
137
+ <svg v-else width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
138
+ <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
139
+ </svg>
140
+ </div>
141
+ </div>
107
142
  <iframe ref="settingsIframe"
108
143
  allow="clipboard-write"
109
144
  class="settings_iframe"></iframe>
@@ -141,8 +176,10 @@ function raiseCommentsEvent(event) {
141
176
  </div>
142
177
 
143
178
  <div class="scene_canvas">
144
- <div class="widget_layer" ref="widgetLayer" @mousedown="onLayerMouseDown">
179
+ <div class="widget_layer" ref="widgetLayer">
145
180
  <iframe ref="wudgetIframe" class="scene_iframe"></iframe>
181
+ <div class="drag_overlay" @mousedown="onDragStart"></div>
182
+ <div class="resize_handle" @mousedown="onResizeStart"></div>
146
183
  </div>
147
184
  </div>
148
185
  </div>
@@ -193,38 +230,91 @@ function raiseCommentsEvent(event) {
193
230
  left: 0;
194
231
  width: 100%;
195
232
  height: 100%;
196
- resize: both;
197
- overflow: hidden;
198
233
  min-width: 60px;
199
234
  min-height: 60px;
200
235
  border: 1px dashed rgba(255, 255, 255, 0.5);
201
- cursor: move;
202
236
  box-sizing: border-box;
203
237
  }
204
238
  .widget_layer:hover {
205
239
  border-color: rgba(255, 255, 255, 0.8);
206
240
  }
207
- .widget_layer iframe {
208
- pointer-events: auto;
241
+ .drag_overlay {
242
+ position: absolute;
243
+ inset: 0;
244
+ cursor: move;
245
+ z-index: 1;
246
+ }
247
+ .resize_handle {
248
+ position: absolute;
249
+ bottom: 0;
250
+ right: 0;
251
+ width: 16px;
252
+ height: 16px;
253
+ cursor: nwse-resize;
254
+ z-index: 2;
255
+ background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.6) 50%);
256
+ border-radius: 0 0 2px 0;
257
+ }
258
+ .resize_handle:hover {
259
+ background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.9) 50%);
209
260
  }
210
261
  .scene_iframe {
211
262
  width: 100%;
212
263
  height: 100%;
213
264
  border: none;
214
265
  display: block;
266
+ pointer-events: none;
215
267
  }
216
268
 
217
269
  /* Settings sidebar - studio style */
218
270
  .settings_sidebar {
219
271
  flex: 0 0 330px;
220
272
  width: 330px;
221
- background-color: #fff;
222
273
  display: flex;
223
274
  flex-direction: column;
224
275
  position: relative;
225
276
  overflow: hidden;
277
+ transition: background-color 0.3s, border-color 0.3s;
278
+ }
279
+ .settings_sidebar.light {
280
+ background-color: #fff;
226
281
  border-left: 1px solid #e6e6ef;
227
282
  }
283
+ .settings_sidebar.dark {
284
+ background-color: #2f353f;
285
+ border-left: 1px solid #383e4c;
286
+ }
287
+ .settings_header {
288
+ display: flex;
289
+ align-items: center;
290
+ justify-content: flex-end;
291
+ padding: 10px 13px;
292
+ flex: 0 0 auto;
293
+ }
294
+ .theme_toggle {
295
+ width: 34px;
296
+ height: 34px;
297
+ border-radius: 8px;
298
+ display: flex;
299
+ align-items: center;
300
+ justify-content: center;
301
+ cursor: pointer;
302
+ transition: background-color 0.15s, color 0.15s;
303
+ }
304
+ .settings_sidebar.light .theme_toggle {
305
+ color: #676778;
306
+ background-color: #f5f5fa;
307
+ }
308
+ .settings_sidebar.light .theme_toggle:hover {
309
+ background-color: #ededf4;
310
+ }
311
+ .settings_sidebar.dark .theme_toggle {
312
+ color: #fff;
313
+ background-color: #383e4c;
314
+ }
315
+ .settings_sidebar.dark .theme_toggle:hover {
316
+ background-color: #434b5c;
317
+ }
228
318
  .settings_iframe {
229
319
  width: 100%;
230
320
  height: 100%;