evmux-app-framework 0.0.92 → 0.0.94

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.0.92",
3
+ "version": "0.0.94",
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}}.resizer[data-v-cb73e98d]{display:flex;margin:0;padding:0;resize:both;overflow:hidden}.resizer>.resized[data-v-cb73e98d]{flex-grow:1;margin:0;padding:0;border:0}.grayone[data-v-cb73e98d]{background:#cccccc;border:1px dashed black;height:500px;width:500px}.panel[data-v-cb73e98d]{border:solid 1px #cccccc}.fast-action-panel[data-v-cb73e98d]{margin-top:20px;padding:12px;border:solid 1px #cccccc;border-radius:4px}.fast-action-title[data-v-cb73e98d]{font-weight:700;margin-bottom:10px;font-size:14px;color:#333}.fast-action-buttons[data-v-cb73e98d]{display:flex;flex-wrap:wrap;gap:8px}.fast-action-btn[data-v-cb73e98d]{padding:8px 16px;border:1px solid #666;border-radius:4px;background:#f5f5f5;cursor:pointer;font-size:13px;transition:background .15s}.fast-action-btn[data-v-cb73e98d]:hover{background:#e0e0e0}.fast-action-btn[data-v-cb73e98d]:active{background:#d0d0d0}
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-06e9f609]{padding:20px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.test_holder_main[data-v-06e9f609]{display:flex;gap:0}.widget_area[data-v-06e9f609]{flex:1 1 auto}.widget_container[data-v-06e9f609]{width:500px;height:500px;resize:both;overflow:hidden;display:flex;margin:0;padding:0}.widget_container iframe[data-v-06e9f609]{flex:1;border:0}.grayone[data-v-06e9f609]{background:#cccccc;border:1px dashed #999}.widget_hint[data-v-06e9f609]{margin-top:6px;font-size:12px;color:#999}.settings_sidebar[data-v-06e9f609]{flex:0 0 330px;width:330px;height:560px;background-color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden;border-radius:10px;box-shadow:0 2px 12px #00000014;border:1px solid #e6e6ef;margin-left:16px}.chooser_block_header[data-v-06e9f609]{display:flex;align-items:center;justify-content:space-between;padding:15px 13px;flex:0 0 auto}.chooser_close[data-v-06e9f609]{display:flex;align-items:center;justify-content:center;gap:6px;border-radius:10px;height:36px;min-width:80px;padding:0 16px;font-weight:500;font-size:13px;cursor:pointer;color:#676778;background-color:#f5f5fa;border:none;transition:background-color .15s}.chooser_close[data-v-06e9f609]:hover{background-color:#ededf4}.settings_iframe[data-v-06e9f609]{width:100%;flex:1 1 auto;border:none}.settings_loader_wr[data-v-06e9f609]{flex:1;display:flex;align-items:center;justify-content:center}.app_settings_iframe_loader[data-v-06e9f609]{width:22px;height:22px;animation:spin_loading-06e9f609 2s linear infinite}@keyframes spin_loading-06e9f609{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.settings_slide-enter-active[data-v-06e9f609]{animation:slideIn-06e9f609 .35s ease-in-out}.settings_slide-leave-active[data-v-06e9f609]{animation:slideOut-06e9f609 .35s ease-in-out}@keyframes slideIn-06e9f609{0%{opacity:0;transform:translate(40px)}to{opacity:1;transform:translate(0)}}@keyframes slideOut-06e9f609{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translate(40px)}}.apps_fast_access_wr{display:flex;padding:6px 0}.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 V={},mt=[],Ae=()=>{},Hi=()=>!1,ji=/^on[^a-z]/,_n=e=>ji.test(e),is=e=>e.startsWith("onUpdate:"),ne=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fi=Object.prototype.hasOwnProperty,D=(e,t)=>Fi.call(e,t),F=Array.isArray,_t=e=>yn(e)==="[object Map]",Pr=e=>yn(e)==="[object Set]",L=e=>typeof e=="function",ee=e=>typeof e=="string",ls=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Rr=e=>X(e)&&L(e.then)&&L(e.catch),Sr=Object.prototype.toString,yn=e=>Sr.call(e),ki=e=>yn(e).slice(8,-1),Ir=e=>yn(e)==="[object Object]",cs=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ni=/-(\w)/g,wt=bn(e=>e.replace(Ni,(t,n)=>n?n.toUpperCase():"")),Li=/\B([A-Z])/g,St=bn(e=>e.replace(Li,"-$1").toLowerCase()),Or=bn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cn=bn(e=>e?`on${Or(e)}`:""),$t=(e,t)=>!Object.is(e,t),Tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},fn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Bi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ts;const Bn=()=>Ts||(Ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ee(s)?Ki(s):vn(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(ee(e))return e;if(X(e))return e}}const Ui=/;(?![^(]*\))/g,Di=/:([^]+)/,$i=/\/\*[^]*?\*\//g;function Ki(e){const t={};return e.replace($i,"").split(Ui).forEach(n=>{if(n){const s=n.split(Di);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function us(e){let t="";if(ee(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=us(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const zi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wi=rs(zi);function Cr(e){return!!e||e===""}const Ms=e=>ee(e)?e:e==null?"":F(e)||X(e)&&(e.toString===Sr||!L(e.toString))?JSON.stringify(e,Tr,2):String(e),Tr=(e,t)=>t&&t.__v_isRef?Tr(e,t.value):_t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Pr(t)?{[`Set(${t.size})`]:[...t.values()]}:X(t)&&!F(t)&&!Ir(t)?String(t):t;let ye;class Mr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ye,!t&&ye&&(this.index=(ye.scopes||(ye.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ye;try{return ye=this,t()}finally{ye=n}}}on(){ye=this}off(){ye=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 Qi(e){return new Mr(e)}function Ji(e,t=ye){t&&t.active&&t.effects.push(e)}function Gi(){return ye}const as=e=>{const t=new Set(e);return t.w=0,t.n=0,t},qr=e=>(e.w&Xe)>0,Hr=e=>(e.n&Xe)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Vi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];qr(r)&&!Hr(r)?r.delete(e):t[n++]=r,r.w&=~Xe,r.n&=~Xe}t.length=n}},Un=new WeakMap;let jt=0,Xe=1;const Dn=30;let be;const rt=Symbol(""),$n=Symbol("");class fs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ji(this,s)}run(){if(!this.active)return this.fn();let t=be,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=be,be=this,Ye=!0,Xe=1<<++jt,jt<=Dn?Yi(this):qs(this),this.fn()}finally{jt<=Dn&&Vi(this),Xe=1<<--jt,be=this.parent,Ye=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){be===this?this.deferStop=!0:this.active&&(qs(this),this.onStop&&this.onStop(),this.active=!1)}}function qs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ye=!0;const jr=[];function It(){jr.push(Ye),Ye=!1}function Ot(){const e=jr.pop();Ye=e===void 0?!0:e}function de(e,t,n){if(Ye&&be){let s=Un.get(e);s||Un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=as()),Fr(r)}}function Fr(e,t){let n=!1;jt<=Dn?Hr(e)||(e.n|=Xe,n=!qr(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"&&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(rt)),_t(e)&&c.push(o.get($n)));break;case"delete":F(e)||(c.push(o.get(rt)),_t(e)&&c.push(o.get($n)));break;case"set":_t(e)&&c.push(o.get(rt));break}if(c.length===1)c[0]&&Kn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Kn(as(l))}}function Kn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&Hs(s);for(const s of n)s.computed||Hs(s)}function Hs(e,t){(e!==be||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Xi=rs("__proto__,__v_isRef,__isVue"),kr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ls)),Zi=ds(),eo=ds(!1,!0),to=ds(!0),js=no();function no(){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){It();const s=K(this)[t].apply(this,n);return Ot(),s}}),e}function so(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function ds(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:Dr:t?Ur:Br).get(s))return s;const o=F(s);if(!e){if(o&&D(js,r))return Reflect.get(js,r,i);if(r==="hasOwnProperty")return so}const c=Reflect.get(s,r,i);return(ls(r)?kr.has(r):Xi(r))||(e||de(s,"get",r),t)?c:le(c)?o&&cs(r)?c:c.value:X(c)?e?Kr(c):An(c):c}}const ro=Nr(),io=Nr(!0);function Nr(e=!1){return function(n,s,r,i){let o=n[s];if(At(o)&&le(o)&&!le(r))return!1;if(!e&&(!dn(r)&&!At(r)&&(o=K(o),r=K(r)),!F(n)&&le(o)&&!le(r)))return o.value=r,!0;const c=F(n)&&cs(s)?Number(s)<n.length:D(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?$t(r,o)&&Ue(n,"set",s,r):Ue(n,"add",s,r)),l}}function oo(e,t){const n=D(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ue(e,"delete",t,void 0),s}function lo(e,t){const n=Reflect.has(e,t);return(!ls(t)||!kr.has(t))&&de(e,"has",t),n}function co(e){return de(e,"iterate",F(e)?"length":rt),Reflect.ownKeys(e)}const Lr={get:Zi,set:ro,deleteProperty:oo,has:lo,ownKeys:co},uo={get:to,set(e,t){return!0},deleteProperty(e,t){return!0}},ao=ne({},Lr,{get:eo,set:io}),ps=e=>e,wn=e=>Reflect.getPrototypeOf(e);function Vt(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}=wn(r),c=s?ps:n?_s:Kt;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 Xt(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 Zt(e,t=!1){return e=e.__v_raw,!t&&de(K(e),"iterate",rt),Reflect.get(e,"size",e)}function Fs(e){e=K(e);const t=K(this);return wn(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}=wn(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?$t(t,o)&&Ue(n,"set",e,t):Ue(n,"add",e,t),this}function Ns(e){const t=K(this),{has:n,get:s}=wn(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 Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&Ue(e,"clear",void 0,void 0),n}function en(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?ps:e?_s:Kt;return!e&&de(c,"iterate",rt),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function tn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=_t(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?ps:t?_s:Kt;return!t&&de(i,"iterate",l?$n:rt),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:c?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){return e==="delete"?!1:this}}function fo(){const e={get(i){return Vt(this,i)},get size(){return Zt(this)},has:Xt,add:Fs,set:ks,delete:Ns,clear:Ls,forEach:en(!1,!1)},t={get(i){return Vt(this,i,!1,!0)},get size(){return Zt(this)},has:Xt,add:Fs,set:ks,delete:Ns,clear:Ls,forEach:en(!1,!0)},n={get(i){return Vt(this,i,!0)},get size(){return Zt(this,!0)},has(i){return Xt.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:en(!0,!1)},s={get(i){return Vt(this,i,!0,!0)},get size(){return Zt(this,!0)},has(i){return Xt.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:en(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=tn(i,!1,!1),n[i]=tn(i,!0,!1),t[i]=tn(i,!1,!0),s[i]=tn(i,!0,!0)}),[e,n,t,s]}const[po,ho,go,mo]=fo();function hs(e,t){const n=t?e?mo:go:e?ho:po;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(D(n,r)&&r in s?n:s,r,i)}const _o={get:hs(!1,!1)},yo={get:hs(!1,!0)},bo={get:hs(!0,!1)},Br=new WeakMap,Ur=new WeakMap,Dr=new WeakMap,vo=new WeakMap;function wo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ao(e){return e.__v_skip||!Object.isExtensible(e)?0:wo(ki(e))}function An(e){return At(e)?e:gs(e,!1,Lr,_o,Br)}function $r(e){return gs(e,!1,ao,yo,Ur)}function Kr(e){return gs(e,!0,uo,bo,Dr)}function gs(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Ao(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function yt(e){return At(e)?yt(e.__v_raw):!!(e&&e.__v_isReactive)}function At(e){return!!(e&&e.__v_isReadonly)}function dn(e){return!!(e&&e.__v_isShallow)}function zr(e){return yt(e)||At(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function ms(e){return fn(e,"__v_skip",!0),e}const Kt=e=>X(e)?An(e):e,_s=e=>X(e)?Kr(e):e;function Wr(e){Ye&&be&&(e=K(e),Fr(e.dep||(e.dep=as())))}function Qr(e,t){e=K(e);const n=e.dep;n&&Kn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function ht(e){return Jr(e,!1)}function Eo(e){return Jr(e,!0)}function Jr(e,t){return le(e)?e:new xo(e,t)}class xo{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:Kt(t)}get value(){return Wr(this),this._value}set value(t){const n=this.__v_isShallow||dn(t)||At(t);t=n?t:K(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Kt(t),Qr(this))}}function bt(e){return le(e)?e.value:e}const Po={get:(e,t,n)=>bt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return le(r)&&!le(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Gr(e){return yt(e)?e:new Proxy(e,Po)}class Ro{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 fs(t,()=>{this._dirty||(this._dirty=!0,Qr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return Wr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function So(e,t,n=!1){let s,r;const i=L(e);return i?(s=e,r=Ae):(s=e.get,r=e.set),new Ro(s,r,i||!r,n)}function Ve(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){En(i,t,n)}return r}function Ee(e,t,n,s){if(L(e)){const i=Ve(e,t,n,s);return i&&Rr(i)&&i.catch(o=>{En(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 En(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}}Io(e,n,r,s)}function Io(e,t,n,s=!0){console.error(e)}let zt=!1,zn=!1;const ie=[];let qe=0;const vt=[];let Ne=null,nt=0;const Yr=Promise.resolve();let ys=null;function Vr(e){const t=ys||Yr;return e?t.then(this?e.bind(this):e):t}function Oo(e){let t=qe+1,n=ie.length;for(;t<n;){const s=t+n>>>1;Wt(ie[s])<e?t=s+1:n=s}return t}function bs(e){(!ie.length||!ie.includes(e,zt&&e.allowRecurse?qe+1:qe))&&(e.id==null?ie.push(e):ie.splice(Oo(e.id),0,e),Xr())}function Xr(){!zt&&!zn&&(zn=!0,ys=Yr.then(ei))}function Co(e){const t=ie.indexOf(e);t>qe&&ie.splice(t,1)}function To(e){F(e)?vt.push(...e):(!Ne||!Ne.includes(e,e.allowRecurse?nt+1:nt))&&vt.push(e),Xr()}function Bs(e,t=zt?qe+1:0){for(;t<ie.length;t++){const n=ie[t];n&&n.pre&&(ie.splice(t,1),t--,n())}}function Zr(e){if(vt.length){const t=[...new Set(vt)];if(vt.length=0,Ne){Ne.push(...t);return}for(Ne=t,Ne.sort((n,s)=>Wt(n)-Wt(s)),nt=0;nt<Ne.length;nt++)Ne[nt]();Ne=null,nt=0}}const Wt=e=>e.id==null?1/0:e.id,Mo=(e,t)=>{const n=Wt(e)-Wt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ei(e){zn=!1,zt=!0,ie.sort(Mo);const t=Ae;try{for(qe=0;qe<ie.length;qe++){const n=ie[qe];n&&n.active!==!1&&Ve(n,null,14)}}finally{qe=0,ie.length=0,Zr(),zt=!1,ys=null,(ie.length||vt.length)&&ei()}}function qo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||V;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:p,trim:g}=s[d]||V;g&&(r=n.map(w=>ee(w)?w.trim():w)),p&&(r=n.map(Bi))}let c,l=s[c=Cn(t)]||s[c=Cn(wt(t))];!l&&i&&(l=s[c=Cn(St(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 ti(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(!L(e)){const l=f=>{const d=ti(f,t,!0);d&&(c=!0,ne(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(X(e)&&s.set(e,null),null):(F(i)?i.forEach(l=>o[l]=null):ne(o,i),X(e)&&s.set(e,o),o)}function xn(e,t){return!e||!_n(t)?!1:(t=t.slice(2).replace(/Once$/,""),D(e,t[0].toLowerCase()+t.slice(1))||D(e,St(t))||D(e,t))}let He=null,Pn=null;function pn(e){const t=He;return He=e,Pn=e&&e.type.__scopeId||null,t}function Ho(e){Pn=e}function jo(){Pn=null}function Fo(e,t=He,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ys(-1);const i=pn(t);let o;try{o=e(...r)}finally{pn(i),s._d&&Ys(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:p,data:g,setupState:w,ctx:I,inheritAttrs:C}=e;let N,q;const H=pn(e);try{if(n.shapeFlag&4){const j=r||s;N=Me(d.call(j,j,p,i,w,g,I)),q=l}else{const j=t;N=Me(j.length>1?j(i,{attrs:l,slots:c,emit:f}):j(i,null)),q=t.props?l:ko(l)}}catch(j){Lt.length=0,En(j,e,1),N=he(ot)}let $=N;if(q&&C!==!1){const j=Object.keys(q),{shapeFlag:se}=$;j.length&&se&7&&(o&&j.some(is)&&(q=No(q,o)),$=Et($,q))}return n.dirs&&($=Et($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),N=$,pn(H),N}const ko=e=>{let t;for(const n in e)(n==="class"||n==="style"||_n(n))&&((t||(t={}))[n]=e[n]);return t},No=(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?Us(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const g=d[p];if(o[g]!==s[g]&&!xn(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Us(s,o,f):!0:!!o;return!1}function Us(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]&&!xn(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 Uo=e=>e.__isSuspense;function Do(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):To(e)}const nn={};function on(e,t,n){return ni(e,t,n)}function ni(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=V){var c;const l=Gi()===((c=oe)==null?void 0:c.scope)?oe:null;let f,d=!1,p=!1;if(le(e)?(f=()=>e.value,d=dn(e)):yt(e)?(f=()=>e,s=!0):F(e)?(p=!0,d=e.some(j=>yt(j)||dn(j)),f=()=>e.map(j=>{if(le(j))return j.value;if(yt(j))return gt(j);if(L(j))return Ve(j,l,2)})):L(e)?t?f=()=>Ve(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[w])}:f=Ae,t&&s){const j=f;f=()=>gt(j())}let g,w=j=>{g=H.onStop=()=>{Ve(j,l,4)}},I;if(Jt)if(w=Ae,t?n&&Ee(t,l,3,[f(),p?[]:void 0,w]):f(),r==="sync"){const j=jl();I=j.__watcherHandles||(j.__watcherHandles=[])}else return Ae;let C=p?new Array(e.length).fill(nn):nn;const N=()=>{if(H.active)if(t){const j=H.run();(s||d||(p?j.some((se,ce)=>$t(se,C[ce])):$t(j,C)))&&(g&&g(),Ee(t,l,3,[j,C===nn?void 0:p&&C[0]===nn?[]:C,w]),C=j)}else H.run()};N.allowRecurse=!!t;let q;r==="sync"?q=N:r==="post"?q=()=>fe(N,l&&l.suspense):(N.pre=!0,l&&(N.id=l.uid),q=()=>bs(N));const H=new fs(f,q);t?n?N():C=H.run():r==="post"?fe(H.run.bind(H),l&&l.suspense):H.run();const $=()=>{H.stop(),l&&l.scope&&os(l.scope.effects,H)};return I&&I.push($),$}function $o(e,t,n){const s=this.proxy,r=ee(e)?e.includes(".")?si(s,e):()=>s[e]:e.bind(s,s);let i;L(t)?i=t:(i=t.handler,n=t);const o=oe;xt(this);const c=ni(r,i.bind(s),n);return o?xt(o):it(),c}function si(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 gt(e,t){if(!X(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))gt(e.value,t);else if(F(e))for(let n=0;n<e.length;n++)gt(e[n],t);else if(Pr(e)||_t(e))e.forEach(n=>{gt(n,t)});else if(Ir(e))for(const n in e)gt(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&&(It(),Ee(l,n,8,[e.el,c,e,t]),Ot())}}function ri(e,t){return L(e)?(()=>ne({name:e.name},t,{setup:e}))():e}const ln=e=>!!e.type.__asyncLoader,ii=e=>e.type.__isKeepAlive;function Ko(e,t){oi(e,"a",t)}function zo(e,t){oi(e,"da",t)}function oi(e,t,n=oe){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;)ii(r.parent.vnode)&&Wo(s,t,n,r),r=r.parent}}function Wo(e,t,n,s){const r=Rn(t,e,s,!0);ci(()=>{os(s[t],r)},n)}function Rn(e,t,n=oe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;It(),xt(n);const c=Ee(t,n,e,o);return it(),Ot(),c});return s?r.unshift(i):r.push(i),i}}const De=e=>(t,n=oe)=>(!Jt||e==="sp")&&Rn(e,(...s)=>t(...s),n),Qo=De("bm"),li=De("m"),Jo=De("bu"),Go=De("u"),Yo=De("bum"),ci=De("um"),Vo=De("sp"),Xo=De("rtg"),Zo=De("rtc");function el(e,t=oe){Rn("ec",e,t)}const tl=Symbol.for("v-ndc");function nl(e,t,n,s){let r;const i=n&&n[s];if(F(e)||ee(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(X(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 Wn=e=>e?bi(e)?xs(e)||e.proxy:Wn(e.parent):null,Nt=ne(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=>Wn(e.parent),$root:e=>Wn(e.root),$emit:e=>e.emit,$options:e=>vs(e),$forceUpdate:e=>e.f||(e.f=()=>bs(e.update)),$nextTick:e=>e.n||(e.n=Vr.bind(e.proxy)),$watch:e=>$o.bind(e)}),qn=(e,t)=>e!==V&&!e.__isScriptSetup&&D(e,t),sl={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 w=o[t];if(w!==void 0)switch(w){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!==V&&D(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&D(f,t))return o[t]=3,i[t];if(n!==V&&D(n,t))return o[t]=4,n[t];Qn&&(o[t]=0)}}const d=Nt[t];let p,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==V&&D(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,D(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!==V&&D(s,t)?(s[t]=n,!0):D(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!==V&&D(e,o)||qn(t,o)||(c=i[0])&&D(c,o)||D(s,o)||D(Nt,o)||D(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:D(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ds(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qn=!0;function rl(e){const t=vs(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&$s(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:p,mounted:g,beforeUpdate:w,updated:I,activated:C,deactivated:N,beforeDestroy:q,beforeUnmount:H,destroyed:$,unmounted:j,render:se,renderTracked:ce,renderTriggered:Pe,errorCaptured:je,serverPrefetch:lt,expose:Re,inheritAttrs:Ke,components:Ze,directives:Se,filters:Ct}=t;if(f&&il(f,s,null),o)for(const G in o){const z=o[G];L(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);X(G)&&(e.data=An(G))}if(Qn=!0,i)for(const G in i){const z=i[G],Fe=L(z)?z.bind(n,n):L(z.get)?z.get.bind(n,n):Ae,ze=!L(z)&&L(z.set)?z.set.bind(n):Ae,Ie=ve({get:Fe,set:ze});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:ae=>Ie.value=ae})}if(c)for(const G in c)ui(c[G],s,n,G);if(l){const G=L(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{cn(z,G[z])})}d&&$s(d,e,"c");function te(G,z){F(z)?z.forEach(Fe=>G(Fe.bind(n))):z&&G(z.bind(n))}if(te(Qo,p),te(li,g),te(Jo,w),te(Go,I),te(Ko,C),te(zo,N),te(el,je),te(Zo,ce),te(Xo,Pe),te(Yo,H),te(ci,j),te(Vo,lt),F(Re))if(Re.length){const G=e.exposed||(e.exposed={});Re.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Fe=>n[z]=Fe})})}else e.exposed||(e.exposed={});se&&e.render===Ae&&(e.render=se),Ke!=null&&(e.inheritAttrs=Ke),Ze&&(e.components=Ze),Se&&(e.directives=Se)}function il(e,t,n=Ae){F(e)&&(e=Jn(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function $s(e,t,n){Ee(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ui(e,t,n,s){const r=s.includes(".")?si(n,s):()=>n[s];if(ee(e)){const i=t[e];L(i)&&on(r,i)}else if(L(e))on(r,e.bind(n));else if(X(e))if(F(e))e.forEach(i=>ui(i,t,n,s));else{const i=L(e.handler)?e.handler.bind(n):t[e.handler];L(i)&&on(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=>hn(l,f,o,!0)),hn(l,t,o)),X(t)&&i.set(t,l),l}function hn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&hn(e,i,n,!0),r&&r.forEach(o=>hn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=ol[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const ol={data:Ks,props:zs,emits:zs,methods:Ft,computed:Ft,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:Ft,directives:Ft,watch:cl,provide:Ks,inject:ll};function Ks(e,t){return t?e?function(){return ne(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function ll(e,t){return Ft(Jn(e),Jn(t))}function Jn(e){if(F(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 Ft(e,t){return e?ne(Object.create(null),e,t):t}function zs(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:ne(Object.create(null),Ds(e),Ds(t??{})):t}function cl(e,t){if(!e)return t;if(!t)return e;const n=ne(Object.create(null),e);for(const s in t)n[s]=ue(e[s],t[s]);return n}function ai(){return{app:null,config:{isNativeTag:Hi,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 ul=0;function al(e,t){return function(s,r=null){L(s)||(s=ne({},s)),r!=null&&!X(r)&&(r=null);const i=ai(),o=new Set;let c=!1;const l=i.app={_uid:ul++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Fl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&L(f.install)?(o.add(f),f.install(l,...d)):L(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,p){if(!c){const g=he(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,p),c=!0,l._container=f,f.__vue_app__=l,xs(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){gn=l;try{return f()}finally{gn=null}}};return l}}let gn=null;function cn(e,t){if(oe){let n=oe.provides;const s=oe.parent&&oe.parent.provides;s===n&&(n=oe.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=oe||He;if(s||gn){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:gn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&L(t)?t.call(s&&s.proxy):t}}function fl(e,t,n,s=!1){const r={},i={};fn(i,In,1),e.propsDefaults=Object.create(null),fi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:$r(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function dl(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 p=0;p<d.length;p++){let g=d[p];if(xn(e.emitsOptions,g))continue;const w=t[g];if(l)if(D(i,g))w!==i[g]&&(i[g]=w,f=!0);else{const I=wt(g);r[I]=Gn(l,c,I,w,e,!1)}else w!==i[g]&&(i[g]=w,f=!0)}}}else{fi(e,t,r,i)&&(f=!0);let d;for(const p in c)(!t||!D(t,p)&&((d=St(p))===p||!D(t,d)))&&(l?n&&(n[p]!==void 0||n[d]!==void 0)&&(r[p]=Gn(l,c,p,void 0,e,!0)):delete r[p]);if(i!==c)for(const p in i)(!t||!D(t,p))&&(delete i[p],f=!0)}f&&Ue(e,"set","$attrs")}function fi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(rn(l))continue;const f=t[l];let d;r&&D(r,d=wt(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:xn(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||V;for(let d=0;d<i.length;d++){const p=i[d];n[p]=Gn(r,l,p,f[p],e,!D(f,p))}}return o}function Gn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=D(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&L(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(xt(r),s=f[n]=l.call(null,t),it())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===St(n))&&(s=!0))}return s}function di(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(!L(e)){const d=p=>{l=!0;const[g,w]=di(p,t,!0);ne(o,g),w&&c.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return X(e)&&s.set(e,mt),mt;if(F(i))for(let d=0;d<i.length;d++){const p=wt(i[d]);Ws(p)&&(o[p]=V)}else if(i)for(const d in i){const p=wt(d);if(Ws(p)){const g=i[d],w=o[p]=F(g)||L(g)?{type:g}:ne({},g);if(w){const I=Gs(Boolean,w.type),C=Gs(String,w.type);w[0]=I>-1,w[1]=C<0||I<C,(I>-1||D(w,"default"))&&c.push(p)}}}const f=[o,c];return X(e)&&s.set(e,f),f}function Ws(e){return e[0]!=="$"}function Qs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Js(e,t){return Qs(e)===Qs(t)}function Gs(e,t){return F(t)?t.findIndex(n=>Js(n,e)):L(t)&&Js(t,e)?0:-1}const pi=e=>e[0]==="_"||e==="$stable",ws=e=>F(e)?e.map(Me):[Me(e)],pl=(e,t,n)=>{if(t._n)return t;const s=Fo((...r)=>ws(t(...r)),n);return s._c=!1,s},hi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(pi(r))continue;const i=e[r];if(L(i))t[r]=pl(r,i,s);else if(i!=null){const o=ws(i);t[r]=()=>o}}},gi=(e,t)=>{const n=ws(t);e.slots.default=()=>n},hl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),fn(t,"_",n)):hi(t,e.slots={})}else e.slots={},t&&gi(e,t);fn(e.slots,In,1)},gl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=V;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ne(r,t),!n&&c===1&&delete r._):(i=!t.$stable,hi(t,r)),o=t}else t&&(gi(e,t),o={default:1});if(i)for(const c in r)!pi(c)&&!(c in o)&&delete r[c]};function Yn(e,t,n,s,r=!1){if(F(e)){e.forEach((g,w)=>Yn(g,t&&(F(t)?t[w]:t),n,s,r));return}if(ln(s)&&!r)return;const i=s.shapeFlag&4?xs(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===V?c.refs={}:c.refs,p=c.setupState;if(f!=null&&f!==l&&(ee(f)?(d[f]=null,D(p,f)&&(p[f]=null)):le(f)&&(f.value=null)),L(l))Ve(l,c,12,[o,d]);else{const g=ee(l),w=le(l);if(g||w){const I=()=>{if(e.f){const C=g?D(p,l)?p[l]:d[l]:l.value;r?F(C)&&os(C,i):F(C)?C.includes(i)||C.push(i):g?(d[l]=[i],D(p,l)&&(p[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,D(p,l)&&(p[l]=o)):w&&(l.value=o,e.k&&(d[e.k]=o))};o?(I.id=-1,fe(I,n)):I()}}}const fe=Do;function ml(e){return _l(e)}function _l(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:p,nextSibling:g,setScopeId:w=Ae,insertStaticContent:I}=e,C=(u,a,h,m=null,y=null,b=null,P=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!Mt(u,a)&&(m=_(u),ae(u,y,b,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:v,ref:T,shapeFlag:S}=a;switch(v){case Sn:N(u,a,h,m);break;case ot:q(u,a,h,m);break;case Hn:u==null&&H(a,h,m,P);break;case Te:Ze(u,a,h,m,y,b,P,A,E);break;default:S&1?se(u,a,h,m,y,b,P,A,E):S&6?Se(u,a,h,m,y,b,P,A,E):(S&64||S&128)&&v.process(u,a,h,m,y,b,P,A,E,x)}T!=null&&y&&Yn(T,u&&u.ref,b,a||u,!a)},N=(u,a,h,m)=>{if(u==null)s(a.el=c(a.children),h,m);else{const y=a.el=u.el;a.children!==u.children&&f(y,a.children)}},q=(u,a,h,m)=>{u==null?s(a.el=l(a.children||""),h,m):a.el=u.el},H=(u,a,h,m)=>{[u.el,u.anchor]=I(u.children,a,h,m,u.el,u.anchor)},$=({el:u,anchor:a},h,m)=>{let y;for(;u&&u!==a;)y=g(u),s(u,h,m),u=y;s(a,h,m)},j=({el:u,anchor:a})=>{let h;for(;u&&u!==a;)h=g(u),r(u),u=h;r(a)},se=(u,a,h,m,y,b,P,A,E)=>{P=P||a.type==="svg",u==null?ce(a,h,m,y,b,P,A,E):lt(u,a,y,b,P,A,E)},ce=(u,a,h,m,y,b,P,A)=>{let E,v;const{type:T,props:S,shapeFlag:M,transition:k,dirs:B}=u;if(E=u.el=o(u.type,b,S&&S.is,S),M&8?d(E,u.children):M&16&&je(u.children,E,null,m,y,b&&T!=="foreignObject",P,A),B&&et(u,null,m,"created"),Pe(E,u,u.scopeId,P,m),S){for(const J in S)J!=="value"&&!rn(J)&&i(E,J,null,S[J],b,u.children,m,y,re);"value"in S&&i(E,"value",null,S.value),(v=S.onVnodeBeforeMount)&&Ce(v,m,u)}B&&et(u,null,m,"beforeMount");const Y=(!y||y&&!y.pendingBranch)&&k&&!k.persisted;Y&&k.beforeEnter(E),s(E,a,h),((v=S&&S.onVnodeMounted)||Y||B)&&fe(()=>{v&&Ce(v,m,u),Y&&k.enter(E),B&&et(u,null,m,"mounted")},y)},Pe=(u,a,h,m,y)=>{if(h&&w(u,h),m)for(let b=0;b<m.length;b++)w(u,m[b]);if(y){let b=y.subTree;if(a===b){const P=y.vnode;Pe(u,P,P.scopeId,P.slotScopeIds,y.parent)}}},je=(u,a,h,m,y,b,P,A,E=0)=>{for(let v=E;v<u.length;v++){const T=u[v]=A?Je(u[v]):Me(u[v]);C(null,T,a,h,m,y,b,P,A)}},lt=(u,a,h,m,y,b,P)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:v,dirs:T}=a;E|=u.patchFlag&16;const S=u.props||V,M=a.props||V;let k;h&&tt(h,!1),(k=M.onVnodeBeforeUpdate)&&Ce(k,h,a,u),T&&et(a,u,h,"beforeUpdate"),h&&tt(h,!0);const B=y&&a.type!=="foreignObject";if(v?Re(u.dynamicChildren,v,A,h,m,B,b):P||z(u,a,A,null,h,m,B,b,!1),E>0){if(E&16)Ke(A,a,S,M,h,m,y);else if(E&2&&S.class!==M.class&&i(A,"class",null,M.class,y),E&4&&i(A,"style",S.style,M.style,y),E&8){const Y=a.dynamicProps;for(let J=0;J<Y.length;J++){const Z=Y[J],_e=S[Z],ft=M[Z];(ft!==_e||Z==="value")&&i(A,Z,_e,ft,y,u.children,h,m,re)}}E&1&&u.children!==a.children&&d(A,a.children)}else!P&&v==null&&Ke(A,a,S,M,h,m,y);((k=M.onVnodeUpdated)||T)&&fe(()=>{k&&Ce(k,h,a,u),T&&et(a,u,h,"updated")},m)},Re=(u,a,h,m,y,b,P)=>{for(let A=0;A<a.length;A++){const E=u[A],v=a[A],T=E.el&&(E.type===Te||!Mt(E,v)||E.shapeFlag&70)?p(E.el):h;C(E,v,T,null,m,y,b,P,!0)}},Ke=(u,a,h,m,y,b,P)=>{if(h!==m){if(h!==V)for(const A in h)!rn(A)&&!(A in m)&&i(u,A,h[A],null,P,a.children,y,b,re);for(const A in m){if(rn(A))continue;const E=m[A],v=h[A];E!==v&&A!=="value"&&i(u,A,v,E,P,a.children,y,b,re)}"value"in m&&i(u,"value",h.value,m.value)}},Ze=(u,a,h,m,y,b,P,A,E)=>{const v=a.el=u?u.el:c(""),T=a.anchor=u?u.anchor:c("");let{patchFlag:S,dynamicChildren:M,slotScopeIds:k}=a;k&&(A=A?A.concat(k):k),u==null?(s(v,h,m),s(T,h,m),je(a.children,h,T,y,b,P,A,E)):S>0&&S&64&&M&&u.dynamicChildren?(Re(u.dynamicChildren,M,h,y,b,P,A),(a.key!=null||y&&a===y.subTree)&&mi(u,a,!0)):z(u,a,h,T,y,b,P,A,E)},Se=(u,a,h,m,y,b,P,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,h,m,P,E):Ct(a,h,m,y,b,P,E):ct(u,a,E)},Ct=(u,a,h,m,y,b,P)=>{const A=u.component=Il(u,m,y);if(ii(u)&&(A.ctx.renderer=x),Ol(A),A.asyncDep){if(y&&y.registerDep(A,te),!u.el){const E=A.subTree=he(ot);q(null,E,a,h)}return}te(A,u,a,h,y,b,P)},ct=(u,a,h)=>{const m=a.component=u.component;if(Lo(u,a,h))if(m.asyncDep&&!m.asyncResolved){G(m,a,h);return}else m.next=a,Co(m.update),m.update();else a.el=u.el,m.vnode=a},te=(u,a,h,m,y,b,P)=>{const A=()=>{if(u.isMounted){let{next:T,bu:S,u:M,parent:k,vnode:B}=u,Y=T,J;tt(u,!1),T?(T.el=B.el,G(u,T,P)):T=B,S&&Tn(S),(J=T.props&&T.props.onVnodeBeforeUpdate)&&Ce(J,k,T,B),tt(u,!0);const Z=Mn(u),_e=u.subTree;u.subTree=Z,C(_e,Z,p(_e.el),_(_e),u,y,b),T.el=Z.el,Y===null&&Bo(u,Z.el),M&&fe(M,y),(J=T.props&&T.props.onVnodeUpdated)&&fe(()=>Ce(J,k,T,B),y)}else{let T;const{el:S,props:M}=a,{bm:k,m:B,parent:Y}=u,J=ln(a);if(tt(u,!1),k&&Tn(k),!J&&(T=M&&M.onVnodeBeforeMount)&&Ce(T,Y,a),tt(u,!0),S&&W){const Z=()=>{u.subTree=Mn(u),W(S,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&Z()):Z()}else{const Z=u.subTree=Mn(u);C(null,Z,h,m,u,y,b),a.el=Z.el}if(B&&fe(B,y),!J&&(T=M&&M.onVnodeMounted)){const Z=a;fe(()=>Ce(T,Y,Z),y)}(a.shapeFlag&256||Y&&ln(Y.vnode)&&Y.vnode.shapeFlag&256)&&u.a&&fe(u.a,y),u.isMounted=!0,a=h=m=null}},E=u.effect=new fs(A,()=>bs(v),u.scope),v=u.update=()=>E.run();v.id=u.uid,tt(u,!0),v()},G=(u,a,h)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,dl(u,a.props,m,h),gl(u,a.children,h),It(),Bs(),Ot()},z=(u,a,h,m,y,b,P,A,E=!1)=>{const v=u&&u.children,T=u?u.shapeFlag:0,S=a.children,{patchFlag:M,shapeFlag:k}=a;if(M>0){if(M&128){ze(v,S,h,m,y,b,P,A,E);return}else if(M&256){Fe(v,S,h,m,y,b,P,A,E);return}}k&8?(T&16&&re(v,y,b),S!==v&&d(h,S)):T&16?k&16?ze(v,S,h,m,y,b,P,A,E):re(v,y,b,!0):(T&8&&d(h,""),k&16&&je(S,h,m,y,b,P,A,E))},Fe=(u,a,h,m,y,b,P,A,E)=>{u=u||mt,a=a||mt;const v=u.length,T=a.length,S=Math.min(v,T);let M;for(M=0;M<S;M++){const k=a[M]=E?Je(a[M]):Me(a[M]);C(u[M],k,h,null,y,b,P,A,E)}v>T?re(u,y,b,!0,!1,S):je(a,h,m,y,b,P,A,E,S)},ze=(u,a,h,m,y,b,P,A,E)=>{let v=0;const T=a.length;let S=u.length-1,M=T-1;for(;v<=S&&v<=M;){const k=u[v],B=a[v]=E?Je(a[v]):Me(a[v]);if(Mt(k,B))C(k,B,h,null,y,b,P,A,E);else break;v++}for(;v<=S&&v<=M;){const k=u[S],B=a[M]=E?Je(a[M]):Me(a[M]);if(Mt(k,B))C(k,B,h,null,y,b,P,A,E);else break;S--,M--}if(v>S){if(v<=M){const k=M+1,B=k<T?a[k].el:m;for(;v<=M;)C(null,a[v]=E?Je(a[v]):Me(a[v]),h,B,y,b,P,A,E),v++}}else if(v>M)for(;v<=S;)ae(u[v],y,b,!0),v++;else{const k=v,B=v,Y=new Map;for(v=B;v<=M;v++){const pe=a[v]=E?Je(a[v]):Me(a[v]);pe.key!=null&&Y.set(pe.key,v)}let J,Z=0;const _e=M-B+1;let ft=!1,Is=0;const Tt=new Array(_e);for(v=0;v<_e;v++)Tt[v]=0;for(v=k;v<=S;v++){const pe=u[v];if(Z>=_e){ae(pe,y,b,!0);continue}let Oe;if(pe.key!=null)Oe=Y.get(pe.key);else for(J=B;J<=M;J++)if(Tt[J-B]===0&&Mt(pe,a[J])){Oe=J;break}Oe===void 0?ae(pe,y,b,!0):(Tt[Oe-B]=v+1,Oe>=Is?Is=Oe:ft=!0,C(pe,a[Oe],h,null,y,b,P,A,E),Z++)}const Os=ft?yl(Tt):mt;for(J=Os.length-1,v=_e-1;v>=0;v--){const pe=B+v,Oe=a[pe],Cs=pe+1<T?a[pe+1].el:m;Tt[v]===0?C(null,Oe,h,Cs,y,b,P,A,E):ft&&(J<0||v!==Os[J]?Ie(Oe,h,Cs,2):J--)}}},Ie=(u,a,h,m,y=null)=>{const{el:b,type:P,transition:A,children:E,shapeFlag:v}=u;if(v&6){Ie(u.component.subTree,a,h,m);return}if(v&128){u.suspense.move(a,h,m);return}if(v&64){P.move(u,a,h,x);return}if(P===Te){s(b,a,h);for(let S=0;S<E.length;S++)Ie(E[S],a,h,m);s(u.anchor,a,h);return}if(P===Hn){$(u,a,h);return}if(m!==2&&v&1&&A)if(m===0)A.beforeEnter(b),s(b,a,h),fe(()=>A.enter(b),y);else{const{leave:S,delayLeave:M,afterLeave:k}=A,B=()=>s(b,a,h),Y=()=>{S(b,()=>{B(),k&&k()})};M?M(b,B,Y):Y()}else s(b,a,h)},ae=(u,a,h,m=!1,y=!1)=>{const{type:b,props:P,ref:A,children:E,dynamicChildren:v,shapeFlag:T,patchFlag:S,dirs:M}=u;if(A!=null&&Yn(A,null,h,u,!0),T&256){a.ctx.deactivate(u);return}const k=T&1&&M,B=!ln(u);let Y;if(B&&(Y=P&&P.onVnodeBeforeUnmount)&&Ce(Y,a,u),T&6)Yt(u.component,h,m);else{if(T&128){u.suspense.unmount(h,m);return}k&&et(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,h,y,x,m):v&&(b!==Te||S>0&&S&64)?re(v,a,h,!1,!0):(b===Te&&S&384||!y&&T&16)&&re(E,a,h),m&&ut(u)}(B&&(Y=P&&P.onVnodeUnmounted)||k)&&fe(()=>{Y&&Ce(Y,a,u),k&&et(u,null,a,"unmounted")},h)},ut=u=>{const{type:a,el:h,anchor:m,transition:y}=u;if(a===Te){at(h,m);return}if(a===Hn){j(u);return}const b=()=>{r(h),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:A}=y,E=()=>P(h,b);A?A(u.el,b,E):E()}else b()},at=(u,a)=>{let h;for(;u!==a;)h=g(u),r(u),u=h;r(a)},Yt=(u,a,h)=>{const{bum:m,scope:y,update:b,subTree:P,um:A}=u;m&&Tn(m),y.stop(),b&&(b.active=!1,ae(P,u,a,h)),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())},re=(u,a,h,m=!1,y=!1,b=0)=>{for(let P=b;P<u.length;P++)ae(u[P],a,h,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),R=(u,a,h)=>{u==null?a._vnode&&ae(a._vnode,null,null,!0):C(a._vnode||null,u,a,null,null,null,h),Bs(),Zr(),a._vnode=u},x={p:C,um:ae,m:Ie,r:ut,mt:Ct,mc:je,pc:z,pbc:Re,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:R,hydrate:O,createApp:al(R,O)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mi(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]=Je(r[i]),c.el=o.el),n||mi(o,c)),c.type===Sn&&(c.el=o.el)}}function yl(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 bl=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),ot=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Lt=[];let we=null;function kt(e=!1){Lt.push(we=e?null:[])}function vl(){Lt.pop(),we=Lt[Lt.length-1]||null}let Qt=1;function Ys(e){Qt+=e}function _i(e){return e.dynamicChildren=Qt>0?we||mt:null,vl(),Qt>0&&we&&we.push(e),e}function sn(e,t,n,s,r,i){return _i(me(e,t,n,s,r,i,!0))}function wl(e,t,n,s,r){return _i(he(e,t,n,s,r,!0))}function Vn(e){return e?e.__v_isVNode===!0:!1}function Mt(e,t){return e.type===t.type&&e.key===t.key}const In="__vInternal",yi=({key:e})=>e??null,un=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||le(e)||L(e)?{i:He,r:e,k:t,f:!!n}:e:null);function me(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&&yi(t),ref:t&&un(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:He};return c?(As(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ee(n)?8:16),Qt>0&&!o&&we&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&we.push(l),l}const he=Al;function Al(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===tl)&&(e=ot),Vn(e)){const c=Et(e,t,!0);return n&&As(c,n),Qt>0&&!i&&we&&(c.shapeFlag&6?we[we.indexOf(e)]=c:we.push(c)),c.patchFlag|=-2,c}if(ql(e)&&(e=e.__vccOpts),t){t=El(t);let{class:c,style:l}=t;c&&!ee(c)&&(t.class=us(c)),X(l)&&(zr(l)&&!F(l)&&(l=ne({},l)),t.style=vn(l))}const o=ee(e)?1:Uo(e)?128:bl(e)?64:X(e)?4:L(e)?2:0;return me(e,t,n,s,r,o,i,!0)}function El(e){return e?zr(e)||In in e?ne({},e):e:null}function Et(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Pl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&yi(c),ref:t&&t.ref?n&&r?F(r)?r.concat(un(t)):[r,un(t)]:un(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&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Xn(e=" ",t=0){return he(Sn,null,e,t)}function xl(e="",t=!1){return t?(kt(),wl(ot,null,e)):he(ot,null,e)}function Me(e){return e==null||typeof e=="boolean"?he(ot):F(e)?he(Te,null,e.slice()):typeof e=="object"?Je(e):he(Sn,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function As(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),As(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(In in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[Xn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pl(...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=us([t.class,s.class]));else if(r==="style")t.style=vn([t.style,s.style]);else if(_n(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 Ce(e,t,n,s=null){Ee(e,t,7,[n,s])}const Rl=ai();let Sl=0;function Il(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Rl,i={uid:Sl++,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:di(s,r),emitsOptions:ti(s,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:s.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,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=qo.bind(null,i),e.ce&&e.ce(i),i}let oe=null,Es,dt,Vs="__VUE_INSTANCE_SETTERS__";(dt=Bn()[Vs])||(dt=Bn()[Vs]=[]),dt.push(e=>oe=e),Es=e=>{dt.length>1?dt.forEach(t=>t(e)):dt[0](e)};const xt=e=>{Es(e),e.scope.on()},it=()=>{oe&&oe.scope.off(),Es(null)};function bi(e){return e.vnode.shapeFlag&4}let Jt=!1;function Ol(e,t=!1){Jt=t;const{props:n,children:s}=e.vnode,r=bi(e);fl(e,n,r,t),hl(e,s);const i=r?Cl(e,t):void 0;return Jt=!1,i}function Cl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ms(new Proxy(e.ctx,sl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Ml(e):null;xt(e),It();const i=Ve(s,e,0,[e.props,r]);if(Ot(),it(),Rr(i)){if(i.then(it,it),t)return i.then(o=>{Xs(e,o,t)}).catch(o=>{En(o,e,0)});e.asyncDep=i}else Xs(e,i,t)}else vi(e,t)}function Xs(e,t,n){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Gr(t)),vi(e,n)}let Zs;function vi(e,t,n){const s=e.type;if(!e.render){if(!t&&Zs&&!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=ne(ne({isCustomElement:i,delimiters:c},o),l);s.render=Zs(r,f)}}e.render=s.render||Ae}xt(e),It(),rl(e),Ot(),it()}function Tl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}}))}function Ml(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Tl(e)},slots:e.slots,emit:e.emit,expose:t}}function xs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gr(ms(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 ql(e){return L(e)&&"__vccOpts"in e}const ve=(e,t)=>So(e,t,Jt);function wi(e,t,n){const s=arguments.length;return s===2?X(t)&&!F(t)?Vn(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Vn(n)&&(n=[n]),he(e,t,n))}const Hl=Symbol.for("v-scx"),jl=()=>Be(Hl),Fl="3.3.4",kl="http://www.w3.org/2000/svg",st=typeof document<"u"?document:null,er=st&&st.createElement("template"),Nl={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?st.createElementNS(kl,e):st.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.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{er.innerHTML=s?`<svg>${e}</svg>`:e;const c=er.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 Ll(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 Bl(e,t,n){const s=e.style,r=ee(n);if(n&&!r){if(t&&!ee(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 tr=/\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);tr.test(n)?e.setProperty(St(s),n.replace(tr,""),"important"):e[s]=n}}const nr=["Webkit","Moz","ms"],jn={};function Ul(e,t){const n=jn[t];if(n)return n;let s=wt(t);if(s!=="filter"&&s in e)return jn[t]=s;s=Or(s);for(let r=0;r<nr.length;r++){const i=nr[r]+s;if(i in e)return jn[t]=i}return t}const sr="http://www.w3.org/1999/xlink";function Dl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(sr,t.slice(6,t.length)):e.setAttributeNS(sr,t,n);else{const i=Wi(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]=Yl(s,r);Kl(e,c,f,l)}else o&&(zl(e,c,o,l),i[t]=void 0)}}const rr=/(?:Once|Passive|Capture)$/;function Ql(e){let t;if(rr.test(e)){t={};let s;for(;s=e.match(rr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):St(e.slice(2)),t]}let Fn=0;const Jl=Promise.resolve(),Gl=()=>Fn||(Jl.then(()=>Fn=0),Fn=Date.now());function Yl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Vl(s,n.value),t,5,[s])};return n.value=e,n.attached=Gl(),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 ir=/^on[a-z]/,Xl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Ll(e,s,r):t==="style"?Bl(e,n,s):_n(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&&ir.test(t)&&L(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ir.test(t)&&ee(n)?!1:t in e}const ec=ne({patchProp:Xl},Nl);let or;function tc(){return or||(or=ml(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;!L(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 ee(e)?document.querySelector(e):e}var rc=!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 o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function ys(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 se={},It=[],He=()=>{},oi=()=>!1,ii=/^on[^a-z]/,Sn=e=>ii.test(e),vs=e=>e.startsWith("onUpdate:"),ue=Object.assign,bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},li=Object.prototype.hasOwnProperty,z=(e,t)=>li.call(e,t),N=Array.isArray,Pt=e=>In(e)==="[object Map]",Wr=e=>In(e)==="[object Set]",D=e=>typeof e=="function",ae=e=>typeof e=="string",As=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",Qr=e=>re(e)&&D(e.then)&&D(e.catch),Vr=Object.prototype.toString,In=e=>Vr.call(e),ci=e=>In(e).slice(8,-1),Gr=e=>In(e)==="[object Object]",ws=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hn=ys(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Pn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ui=/-(\w)/g,Mt=Pn(e=>e.replace(ui,(t,n)=>n?n.toUpperCase():"")),ai=/\B([A-Z])/g,Ft=Pn(e=>e.replace(ai,"-$1").toLowerCase()),Jr=Pn(e=>e.charAt(0).toUpperCase()+e.slice(1)),jn=Pn(e=>e?`on${Jr(e)}`:""),Yt=(e,t)=>!Object.is(e,t),Un=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},bn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},fi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},di=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Qs;const Zn=()=>Qs||(Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Xt(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ae(s)?mi(s):Xt(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(ae(e))return e;if(re(e))return e}}const pi=/;(?![^(]*\))/g,hi=/:([^]+)/,gi=/\/\*[^]*?\*\//g;function mi(e){const t={};return e.replace(gi,"").split(pi).forEach(n=>{if(n){const s=n.split(hi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Zt(e){let t="";if(ae(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const s=Zt(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const _i="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yi=ys(_i);function Yr(e){return!!e||e===""}const vi=e=>ae(e)?e:e==null?"":N(e)||re(e)&&(e.toString===Vr||!D(e.toString))?JSON.stringify(e,Xr,2):String(e),Xr=(e,t)=>t&&t.__v_isRef?Xr(e,t.value):Pt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Wr(t)?{[`Set(${t.size})`]:[...t.values()]}:re(t)&&!N(t)&&!Gr(t)?String(t):t;let Re;class Zr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Re,!t&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Re;try{return Re=this,t()}finally{Re=n}}}on(){Re=this}off(){Re=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 bi(e){return new Zr(e)}function Ai(e,t=Re){t&&t.active&&t.effects.push(e)}function wi(){return Re}const Es=e=>{const t=new Set(e);return t.w=0,t.n=0,t},eo=e=>(e.w&ct)>0,to=e=>(e.n&ct)>0,Ei=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ct},xi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];eo(r)&&!to(r)?r.delete(e):t[n++]=r,r.w&=~ct,r.n&=~ct}t.length=n}},es=new WeakMap;let zt=0,ct=1;const ts=30;let Te;const vt=Symbol(""),ns=Symbol("");class xs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ai(this,s)}run(){if(!this.active)return this.fn();let t=Te,n=it;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Te,Te=this,it=!0,ct=1<<++zt,zt<=ts?Ei(this):Vs(this),this.fn()}finally{zt<=ts&&xi(this),ct=1<<--zt,Te=this.parent,it=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Te===this?this.deferStop=!0:this.active&&(Vs(this),this.onStop&&this.onStop(),this.active=!1)}}function Vs(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let it=!0;const no=[];function Nt(){no.push(it),it=!1}function Bt(){const e=no.pop();it=e===void 0?!0:e}function we(e,t,n){if(it&&Te){let s=es.get(e);s||es.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Es()),so(r)}}function so(e,t){let n=!1;zt<=ts?to(e)||(e.n|=ct,n=!eo(e)):n=!e.has(Te),n&&(e.add(Te),Te.deps.push(e))}function Ge(e,t,n,s,r,o){const i=es.get(e);if(!i)return;let c=[];if(t==="clear")c=[...i.values()];else if(n==="length"&&N(e)){const l=Number(s);i.forEach((a,f)=>{(f==="length"||f>=l)&&c.push(a)})}else switch(n!==void 0&&c.push(i.get(n)),t){case"add":N(e)?ws(n)&&c.push(i.get("length")):(c.push(i.get(vt)),Pt(e)&&c.push(i.get(ns)));break;case"delete":N(e)||(c.push(i.get(vt)),Pt(e)&&c.push(i.get(ns)));break;case"set":Pt(e)&&c.push(i.get(vt));break}if(c.length===1)c[0]&&ss(c[0]);else{const l=[];for(const a of c)a&&l.push(...a);ss(Es(l))}}function ss(e,t){const n=N(e)?e:[...e];for(const s of n)s.computed&&Gs(s);for(const s of n)s.computed||Gs(s)}function Gs(e,t){(e!==Te||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ci=ys("__proto__,__v_isRef,__isVue"),ro=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(As)),Si=Cs(),Ii=Cs(!1,!0),Pi=Cs(!0),Js=Ri();function Ri(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=W(this);for(let o=0,i=this.length;o<i;o++)we(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(W)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Nt();const s=W(this)[t].apply(this,n);return Bt(),s}}),e}function Oi(e){const t=W(this);return we(t,"has",e),t.hasOwnProperty(e)}function Cs(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?Wi:uo:t?co:lo).get(s))return s;const i=N(s);if(!e){if(i&&z(Js,r))return Reflect.get(Js,r,o);if(r==="hasOwnProperty")return Oi}const c=Reflect.get(s,r,o);return(As(r)?ro.has(r):Ci(r))||(e||we(s,"get",r),t)?c:me(c)?i&&ws(r)?c:c.value:re(c)?e?fo(c):On(c):c}}const Ti=oo(),Mi=oo(!0);function oo(e=!1){return function(n,s,r,o){let i=n[s];if(kt(i)&&me(i)&&!me(r))return!1;if(!e&&(!An(r)&&!kt(r)&&(i=W(i),r=W(r)),!N(n)&&me(i)&&!me(r)))return i.value=r,!0;const c=N(n)&&ws(s)?Number(s)<n.length:z(n,s),l=Reflect.set(n,s,r,o);return n===W(o)&&(c?Yt(r,i)&&Ge(n,"set",s,r):Ge(n,"add",s,r)),l}}function ki(e,t){const n=z(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ge(e,"delete",t,void 0),s}function Hi(e,t){const n=Reflect.has(e,t);return(!As(t)||!ro.has(t))&&we(e,"has",t),n}function Li(e){return we(e,"iterate",N(e)?"length":vt),Reflect.ownKeys(e)}const io={get:Si,set:Ti,deleteProperty:ki,has:Hi,ownKeys:Li},qi={get:Pi,set(e,t){return!0},deleteProperty(e,t){return!0}},Fi=ue({},io,{get:Ii,set:Mi}),Ss=e=>e,Rn=e=>Reflect.getPrototypeOf(e);function cn(e,t,n=!1,s=!1){e=e.__v_raw;const r=W(e),o=W(t);n||(t!==o&&we(r,"get",t),we(r,"get",o));const{has:i}=Rn(r),c=s?Ss:n?Os:en;if(i.call(r,t))return c(e.get(t));if(i.call(r,o))return c(e.get(o));e!==r&&e.get(t)}function un(e,t=!1){const n=this.__v_raw,s=W(n),r=W(e);return t||(e!==r&&we(s,"has",e),we(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function an(e,t=!1){return e=e.__v_raw,!t&&we(W(e),"iterate",vt),Reflect.get(e,"size",e)}function Ys(e){e=W(e);const t=W(this);return Rn(t).has.call(t,e)||(t.add(e),Ge(t,"add",e,e)),this}function Xs(e,t){t=W(t);const n=W(this),{has:s,get:r}=Rn(n);let o=s.call(n,e);o||(e=W(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Yt(t,i)&&Ge(n,"set",e,t):Ge(n,"add",e,t),this}function Zs(e){const t=W(this),{has:n,get:s}=Rn(t);let r=n.call(t,e);r||(e=W(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ge(t,"delete",e,void 0),o}function er(){const e=W(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function fn(e,t){return function(s,r){const o=this,i=o.__v_raw,c=W(i),l=t?Ss:e?Os:en;return!e&&we(c,"iterate",vt),i.forEach((a,f)=>s.call(r,l(a),l(f),o))}}function dn(e,t,n){return function(...s){const r=this.__v_raw,o=W(r),i=Pt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,a=r[e](...s),f=n?Ss:t?Os:en;return!t&&we(o,"iterate",l?ns:vt),{next(){const{value:p,done:h}=a.next();return h?{value:p,done:h}:{value:c?[f(p[0]),f(p[1])]:f(p),done:h}},[Symbol.iterator](){return this}}}}function Ze(e){return function(...t){return e==="delete"?!1:this}}function Ni(){const e={get(o){return cn(this,o)},get size(){return an(this)},has:un,add:Ys,set:Xs,delete:Zs,clear:er,forEach:fn(!1,!1)},t={get(o){return cn(this,o,!1,!0)},get size(){return an(this)},has:un,add:Ys,set:Xs,delete:Zs,clear:er,forEach:fn(!1,!0)},n={get(o){return cn(this,o,!0)},get size(){return an(this,!0)},has(o){return un.call(this,o,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:fn(!0,!1)},s={get(o){return cn(this,o,!0,!0)},get size(){return an(this,!0)},has(o){return un.call(this,o,!0)},add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=dn(o,!1,!1),n[o]=dn(o,!0,!1),t[o]=dn(o,!1,!0),s[o]=dn(o,!0,!0)}),[e,n,t,s]}const[Bi,ji,Ui,Di]=Ni();function Is(e,t){const n=t?e?Di:Ui:e?ji:Bi;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(z(n,r)&&r in s?n:s,r,o)}const $i={get:Is(!1,!1)},Ki={get:Is(!1,!0)},zi={get:Is(!0,!1)},lo=new WeakMap,co=new WeakMap,uo=new WeakMap,Wi=new WeakMap;function Qi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vi(e){return e.__v_skip||!Object.isExtensible(e)?0:Qi(ci(e))}function On(e){return kt(e)?e:Ps(e,!1,io,$i,lo)}function ao(e){return Ps(e,!1,Fi,Ki,co)}function fo(e){return Ps(e,!0,qi,zi,uo)}function Ps(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Vi(e);if(i===0)return e;const c=new Proxy(e,i===2?s:n);return r.set(e,c),c}function Rt(e){return kt(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function kt(e){return!!(e&&e.__v_isReadonly)}function An(e){return!!(e&&e.__v_isShallow)}function po(e){return Rt(e)||kt(e)}function W(e){const t=e&&e.__v_raw;return t?W(t):e}function Rs(e){return bn(e,"__v_skip",!0),e}const en=e=>re(e)?On(e):e,Os=e=>re(e)?fo(e):e;function ho(e){it&&Te&&(e=W(e),so(e.dep||(e.dep=Es())))}function go(e,t){e=W(e);const n=e.dep;n&&ss(n)}function me(e){return!!(e&&e.__v_isRef===!0)}function ht(e){return mo(e,!1)}function Gi(e){return mo(e,!0)}function mo(e,t){return me(e)?e:new Ji(e,t)}class Ji{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:W(t),this._value=n?t:en(t)}get value(){return ho(this),this._value}set value(t){const n=this.__v_isShallow||An(t)||kt(t);t=n?t:W(t),Yt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:en(t),go(this))}}function Ot(e){return me(e)?e.value:e}const Yi={get:(e,t,n)=>Ot(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return me(r)&&!me(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function _o(e){return Rt(e)?e:new Proxy(e,Yi)}class Xi{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 xs(t,()=>{this._dirty||(this._dirty=!0,go(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=W(this);return ho(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Zi(e,t,n=!1){let s,r;const o=D(e);return o?(s=e,r=He):(s=e.get,r=e.set),new Xi(s,r,o||!r,n)}function lt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Tn(o,t,n)}return r}function Ie(e,t,n,s){if(D(e)){const o=lt(e,t,n,s);return o&&Qr(o)&&o.catch(i=>{Tn(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(Ie(e[o],t,n,s));return r}function Tn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,c=n;for(;o;){const a=o.ec;if(a){for(let f=0;f<a.length;f++)if(a[f](e,i,c)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){lt(l,null,10,[e,i,c]);return}}el(e,n,r,s)}function el(e,t,n,s=!0){console.error(e)}let tn=!1,rs=!1;const ge=[];let Ue=0;const Tt=[];let We=null,gt=0;const yo=Promise.resolve();let Ts=null;function vo(e){const t=Ts||yo;return e?t.then(this?e.bind(this):e):t}function tl(e){let t=Ue+1,n=ge.length;for(;t<n;){const s=t+n>>>1;nn(ge[s])<e?t=s+1:n=s}return t}function Ms(e){(!ge.length||!ge.includes(e,tn&&e.allowRecurse?Ue+1:Ue))&&(e.id==null?ge.push(e):ge.splice(tl(e.id),0,e),bo())}function bo(){!tn&&!rs&&(rs=!0,Ts=yo.then(wo))}function nl(e){const t=ge.indexOf(e);t>Ue&&ge.splice(t,1)}function sl(e){N(e)?Tt.push(...e):(!We||!We.includes(e,e.allowRecurse?gt+1:gt))&&Tt.push(e),bo()}function tr(e,t=tn?Ue+1:0){for(;t<ge.length;t++){const n=ge[t];n&&n.pre&&(ge.splice(t,1),t--,n())}}function Ao(e){if(Tt.length){const t=[...new Set(Tt)];if(Tt.length=0,We){We.push(...t);return}for(We=t,We.sort((n,s)=>nn(n)-nn(s)),gt=0;gt<We.length;gt++)We[gt]();We=null,gt=0}}const nn=e=>e.id==null?1/0:e.id,rl=(e,t)=>{const n=nn(e)-nn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function wo(e){rs=!1,tn=!0,ge.sort(rl);const t=He;try{for(Ue=0;Ue<ge.length;Ue++){const n=ge[Ue];n&&n.active!==!1&&lt(n,null,14)}}finally{Ue=0,ge.length=0,Ao(),tn=!1,Ts=null,(ge.length||Tt.length)&&wo()}}function ol(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||se;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const f=`${i==="modelValue"?"model":i}Modifiers`,{number:p,trim:h}=s[f]||se;h&&(r=n.map(y=>ae(y)?y.trim():y)),p&&(r=n.map(fi))}let c,l=s[c=jn(t)]||s[c=jn(Mt(t))];!l&&o&&(l=s[c=jn(Ft(t))]),l&&Ie(l,e,6,r);const a=s[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ie(a,e,6,r)}}function Eo(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},c=!1;if(!D(e)){const l=a=>{const f=Eo(a,t,!0);f&&(c=!0,ue(i,f))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(re(e)&&s.set(e,null),null):(N(o)?o.forEach(l=>i[l]=null):ue(i,o),re(e)&&s.set(e,i),i)}function Mn(e,t){return!e||!Sn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,Ft(t))||z(e,t))}let Se=null,kn=null;function wn(e){const t=Se;return Se=e,kn=e&&e.type.__scopeId||null,t}function il(e){kn=e}function ll(){kn=null}function xo(e,t=Se,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&dr(-1);const o=wn(t);let i;try{i=e(...r)}finally{wn(o),s._d&&dr(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Dn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:c,attrs:l,emit:a,render:f,renderCache:p,data:h,setupState:y,ctx:S,inheritAttrs:E}=e;let T,O;const P=wn(e);try{if(n.shapeFlag&4){const k=r||s;T=je(f.call(k,k,p,o,y,h,S)),O=l}else{const k=t;T=je(k.length>1?k(o,{attrs:l,slots:c,emit:a}):k(o,null)),O=t.props?l:cl(l)}}catch(k){Vt.length=0,Tn(k,e,1),T=Ae(Le)}let j=T;if(O&&E!==!1){const k=Object.keys(O),{shapeFlag:ee}=j;k.length&&ee&7&&(i&&k.some(vs)&&(O=ul(O,i)),j=ut(j,O))}return n.dirs&&(j=ut(j),j.dirs=j.dirs?j.dirs.concat(n.dirs):n.dirs),n.transition&&(j.transition=n.transition),T=j,wn(P),T}const cl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sn(n))&&((t||(t={}))[n]=e[n]);return t},ul=(e,t)=>{const n={};for(const s in e)(!vs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function al(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:c,patchFlag:l}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?nr(s,i,a):!!i;if(l&8){const f=t.dynamicProps;for(let p=0;p<f.length;p++){const h=f[p];if(i[h]!==s[h]&&!Mn(a,h))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===i?!1:s?i?nr(s,i,a):!0:!!i;return!1}function nr(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 o=s[r];if(t[o]!==e[o]&&!Mn(n,o))return!0}return!1}function fl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const dl=e=>e.__isSuspense;function pl(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):sl(e)}const pn={};function gn(e,t,n){return Co(e,t,n)}function Co(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=se){var c;const l=wi()===((c=de)==null?void 0:c.scope)?de:null;let a,f=!1,p=!1;if(me(e)?(a=()=>e.value,f=An(e)):Rt(e)?(a=()=>e,s=!0):N(e)?(p=!0,f=e.some(k=>Rt(k)||An(k)),a=()=>e.map(k=>{if(me(k))return k.value;if(Rt(k))return yt(k);if(D(k))return lt(k,l,2)})):D(e)?t?a=()=>lt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return h&&h(),Ie(e,l,3,[y])}:a=He,t&&s){const k=a;a=()=>yt(k())}let h,y=k=>{h=P.onStop=()=>{lt(k,l,4)}},S;if(rn)if(y=He,t?n&&Ie(t,l,3,[a(),p?[]:void 0,y]):a(),r==="sync"){const k=uc();S=k.__watcherHandles||(k.__watcherHandles=[])}else return He;let E=p?new Array(e.length).fill(pn):pn;const T=()=>{if(P.active)if(t){const k=P.run();(s||f||(p?k.some((ee,le)=>Yt(ee,E[le])):Yt(k,E)))&&(h&&h(),Ie(t,l,3,[k,E===pn?void 0:p&&E[0]===pn?[]:E,y]),E=k)}else P.run()};T.allowRecurse=!!t;let O;r==="sync"?O=T:r==="post"?O=()=>be(T,l&&l.suspense):(T.pre=!0,l&&(T.id=l.uid),O=()=>Ms(T));const P=new xs(a,O);t?n?T():E=P.run():r==="post"?be(P.run.bind(P),l&&l.suspense):P.run();const j=()=>{P.stop(),l&&l.scope&&bs(l.scope.effects,P)};return S&&S.push(j),j}function hl(e,t,n){const s=this.proxy,r=ae(e)?e.includes(".")?So(s,e):()=>s[e]:e.bind(s,s);let o;D(t)?o=t:(o=t.handler,n=t);const i=de;Ht(this);const c=Co(r,o.bind(s),n);return i?Ht(i):bt(),c}function So(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 yt(e,t){if(!re(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),me(e))yt(e.value,t);else if(N(e))for(let n=0;n<e.length;n++)yt(e[n],t);else if(Wr(e)||Pt(e))e.forEach(n=>{yt(n,t)});else if(Gr(e))for(const n in e)yt(e[n],t);return e}function gl(e,t){const n=Se;if(n===null)return e;const s=Nn(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,c,l,a=se]=t[o];i&&(D(i)&&(i={mounted:i,updated:i}),i.deep&&yt(c),r.push({dir:i,instance:s,value:c,oldValue:void 0,arg:l,modifiers:a}))}return e}function at(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const c=r[i];o&&(c.oldValue=o[i].value);let l=c.dir[s];l&&(Nt(),Ie(l,n,8,[e.el,c,e,t]),Bt())}}function ml(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ks(()=>{e.isMounted=!0}),Mo(()=>{e.isUnmounting=!0}),e}const xe=[Function,Array],Io={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:xe,onEnter:xe,onAfterEnter:xe,onEnterCancelled:xe,onBeforeLeave:xe,onLeave:xe,onAfterLeave:xe,onLeaveCancelled:xe,onBeforeAppear:xe,onAppear:xe,onAfterAppear:xe,onAppearCancelled:xe},_l={name:"BaseTransition",props:Io,setup(e,{slots:t}){const n=nc(),s=ml();let r;return()=>{const o=t.default&&Ro(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const E of o)if(E.type!==Le){i=E;break}}const c=W(e),{mode:l}=c;if(s.isLeaving)return $n(i);const a=sr(i);if(!a)return $n(i);const f=os(a,c,s,n);is(a,f);const p=n.subTree,h=p&&sr(p);let y=!1;const{getTransitionKey:S}=a.type;if(S){const E=S();r===void 0?r=E:E!==r&&(r=E,y=!0)}if(h&&h.type!==Le&&(!mt(a,h)||y)){const E=os(h,c,s,n);if(is(h,E),l==="out-in")return s.isLeaving=!0,E.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},$n(i);l==="in-out"&&a.type!==Le&&(E.delayLeave=(T,O,P)=>{const j=Po(s,h);j[String(h.key)]=h,T._leaveCb=()=>{O(),T._leaveCb=void 0,delete f.delayedLeave},f.delayedLeave=P})}return i}}},yl=_l;function Po(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function os(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:a,onEnterCancelled:f,onBeforeLeave:p,onLeave:h,onAfterLeave:y,onLeaveCancelled:S,onBeforeAppear:E,onAppear:T,onAfterAppear:O,onAppearCancelled:P}=t,j=String(e.key),k=Po(n,e),ee=(U,ne)=>{U&&Ie(U,s,9,ne)},le=(U,ne)=>{const Y=ne[1];ee(U,ne),N(U)?U.every(fe=>fe.length<=1)&&Y():U.length<=1&&Y()},pe={mode:o,persisted:i,beforeEnter(U){let ne=c;if(!n.isMounted)if(r)ne=E||c;else return;U._leaveCb&&U._leaveCb(!0);const Y=k[j];Y&&mt(e,Y)&&Y.el._leaveCb&&Y.el._leaveCb(),ee(ne,[U])},enter(U){let ne=l,Y=a,fe=f;if(!n.isMounted)if(r)ne=T||l,Y=O||a,fe=P||f;else return;let H=!1;const G=U._enterCb=_e=>{H||(H=!0,_e?ee(fe,[U]):ee(Y,[U]),pe.delayedLeave&&pe.delayedLeave(),U._enterCb=void 0)};ne?le(ne,[U,G]):G()},leave(U,ne){const Y=String(e.key);if(U._enterCb&&U._enterCb(!0),n.isUnmounting)return ne();ee(p,[U]);let fe=!1;const H=U._leaveCb=G=>{fe||(fe=!0,ne(),G?ee(S,[U]):ee(y,[U]),U._leaveCb=void 0,k[Y]===e&&delete k[Y])};k[Y]=e,h?le(h,[U,H]):H()},clone(U){return os(U,t,n,s)}};return pe}function $n(e){if(Hn(e))return e=ut(e),e.children=null,e}function sr(e){return Hn(e)?e.children?e.children[0]:void 0:e}function is(e,t){e.shapeFlag&6&&e.component?is(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ro(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const c=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Oe?(i.patchFlag&128&&r++,s=s.concat(Ro(i.children,t,c))):(t||i.type!==Le)&&s.push(c!=null?ut(i,{key:c}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function Oo(e,t){return D(e)?(()=>ue({name:e.name},t,{setup:e}))():e}const mn=e=>!!e.type.__asyncLoader,Hn=e=>e.type.__isKeepAlive;function vl(e,t){To(e,"a",t)}function bl(e,t){To(e,"da",t)}function To(e,t,n=de){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ln(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Hn(r.parent.vnode)&&Al(s,t,n,r),r=r.parent}}function Al(e,t,n,s){const r=Ln(t,e,s,!0);ko(()=>{bs(s[t],r)},n)}function Ln(e,t,n=de,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Nt(),Ht(n);const c=Ie(t,n,e,i);return bt(),Bt(),c});return s?r.unshift(o):r.push(o),o}}const Je=e=>(t,n=de)=>(!rn||e==="sp")&&Ln(e,(...s)=>t(...s),n),wl=Je("bm"),ks=Je("m"),El=Je("bu"),xl=Je("u"),Mo=Je("bum"),ko=Je("um"),Cl=Je("sp"),Sl=Je("rtg"),Il=Je("rtc");function Pl(e,t=de){Ln("ec",e,t)}const Rl=Symbol.for("v-ndc");function Ol(e,t,n,s){let r;const o=n&&n[s];if(N(e)||ae(e)){r=new Array(e.length);for(let i=0,c=e.length;i<c;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(re(e))if(e[Symbol.iterator])r=Array.from(e,(i,c)=>t(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);r=new Array(i.length);for(let c=0,l=i.length;c<l;c++){const a=i[c];r[c]=t(e[a],a,c,o&&o[c])}}else r=[];return n&&(n[s]=r),r}const ls=e=>e?zo(e)?Nn(e)||e.proxy:ls(e.parent):null,Qt=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=>ls(e.parent),$root:e=>ls(e.root),$emit:e=>e.emit,$options:e=>Hs(e),$forceUpdate:e=>e.f||(e.f=()=>Ms(e.update)),$nextTick:e=>e.n||(e.n=vo.bind(e.proxy)),$watch:e=>hl.bind(e)}),Kn=(e,t)=>e!==se&&!e.__isScriptSetup&&z(e,t),Tl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:c,appContext:l}=e;let a;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Kn(s,t))return i[t]=1,s[t];if(r!==se&&z(r,t))return i[t]=2,r[t];if((a=e.propsOptions[0])&&z(a,t))return i[t]=3,o[t];if(n!==se&&z(n,t))return i[t]=4,n[t];cs&&(i[t]=0)}}const f=Qt[t];let p,h;if(f)return t==="$attrs"&&we(e,"get",t),f(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==se&&z(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,z(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Kn(r,t)?(r[t]=n,!0):s!==se&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let c;return!!n[i]||e!==se&&z(e,i)||Kn(t,i)||(c=o[0])&&z(c,i)||z(s,i)||z(Qt,i)||z(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rr(e){return N(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cs=!0;function Ml(e){const t=Hs(e),n=e.proxy,s=e.ctx;cs=!1,t.beforeCreate&&or(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:c,provide:l,inject:a,created:f,beforeMount:p,mounted:h,beforeUpdate:y,updated:S,activated:E,deactivated:T,beforeDestroy:O,beforeUnmount:P,destroyed:j,unmounted:k,render:ee,renderTracked:le,renderTriggered:pe,errorCaptured:U,serverPrefetch:ne,expose:Y,inheritAttrs:fe,components:H,directives:G,filters:_e}=t;if(a&&kl(a,s,null),i)for(const Z in i){const Q=i[Z];D(Q)&&(s[Z]=Q.bind(n))}if(r){const Z=r.call(n,n);re(Z)&&(e.data=On(Z))}if(cs=!0,o)for(const Z in o){const Q=o[Z],$e=D(Q)?Q.bind(n,n):D(Q.get)?Q.get.bind(n,n):He,Xe=!D(Q)&&D(Q.set)?Q.set.bind(n):He,Fe=Me({get:$e,set:Xe});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:ve=>Fe.value=ve})}if(c)for(const Z in c)Ho(c[Z],s,n,Z);if(l){const Z=D(l)?l.call(n):l;Reflect.ownKeys(Z).forEach(Q=>{_n(Q,Z[Q])})}f&&or(f,e,"c");function ie(Z,Q){N(Q)?Q.forEach($e=>Z($e.bind(n))):Q&&Z(Q.bind(n))}if(ie(wl,p),ie(ks,h),ie(El,y),ie(xl,S),ie(vl,E),ie(bl,T),ie(Pl,U),ie(Il,le),ie(Sl,pe),ie(Mo,P),ie(ko,k),ie(Cl,ne),N(Y))if(Y.length){const Z=e.exposed||(e.exposed={});Y.forEach(Q=>{Object.defineProperty(Z,Q,{get:()=>n[Q],set:$e=>n[Q]=$e})})}else e.exposed||(e.exposed={});ee&&e.render===He&&(e.render=ee),fe!=null&&(e.inheritAttrs=fe),H&&(e.components=H),G&&(e.directives=G)}function kl(e,t,n=He){N(e)&&(e=us(e));for(const s in e){const r=e[s];let o;re(r)?"default"in r?o=Ve(r.from||s,r.default,!0):o=Ve(r.from||s):o=Ve(r),me(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function or(e,t,n){Ie(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ho(e,t,n,s){const r=s.includes(".")?So(n,s):()=>n[s];if(ae(e)){const o=t[e];D(o)&&gn(r,o)}else if(D(e))gn(r,e.bind(n));else if(re(e))if(N(e))e.forEach(o=>Ho(o,t,n,s));else{const o=D(e.handler)?e.handler.bind(n):t[e.handler];D(o)&&gn(r,o,e)}}function Hs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(a=>En(l,a,i,!0)),En(l,t,i)),re(t)&&o.set(t,l),l}function En(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&En(e,o,n,!0),r&&r.forEach(i=>En(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const c=Hl[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Hl={data:ir,props:lr,emits:lr,methods:Wt,computed:Wt,beforeCreate:ye,created:ye,beforeMount:ye,mounted:ye,beforeUpdate:ye,updated:ye,beforeDestroy:ye,beforeUnmount:ye,destroyed:ye,unmounted:ye,activated:ye,deactivated:ye,errorCaptured:ye,serverPrefetch:ye,components:Wt,directives:Wt,watch:ql,provide:ir,inject:Ll};function ir(e,t){return t?e?function(){return ue(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function Ll(e,t){return Wt(us(e),us(t))}function us(e){if(N(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ye(e,t){return e?[...new Set([].concat(e,t))]:t}function Wt(e,t){return e?ue(Object.create(null),e,t):t}function lr(e,t){return e?N(e)&&N(t)?[...new Set([...e,...t])]:ue(Object.create(null),rr(e),rr(t??{})):t}function ql(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const s in t)n[s]=ye(e[s],t[s]);return n}function Lo(){return{app:null,config:{isNativeTag:oi,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 Fl=0;function Nl(e,t){return function(s,r=null){D(s)||(s=ue({},s)),r!=null&&!re(r)&&(r=null);const o=Lo(),i=new Set;let c=!1;const l=o.app={_uid:Fl++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:ac,get config(){return o.config},set config(a){},use(a,...f){return i.has(a)||(a&&D(a.install)?(i.add(a),a.install(l,...f)):D(a)&&(i.add(a),a(l,...f))),l},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),l},component(a,f){return f?(o.components[a]=f,l):o.components[a]},directive(a,f){return f?(o.directives[a]=f,l):o.directives[a]},mount(a,f,p){if(!c){const h=Ae(s,r);return h.appContext=o,f&&t?t(h,a):e(h,a,p),c=!0,l._container=a,a.__vue_app__=l,Nn(h.component)||h.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(a,f){return o.provides[a]=f,l},runWithContext(a){xn=l;try{return a()}finally{xn=null}}};return l}}let xn=null;function _n(e,t){if(de){let n=de.provides;const s=de.parent&&de.parent.provides;s===n&&(n=de.provides=Object.create(s)),n[e]=t}}function Ve(e,t,n=!1){const s=de||Se;if(s||xn){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:xn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&D(t)?t.call(s&&s.proxy):t}}function Bl(e,t,n,s=!1){const r={},o={};bn(o,Fn,1),e.propsDefaults=Object.create(null),qo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ao(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function jl(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,c=W(r),[l]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let p=0;p<f.length;p++){let h=f[p];if(Mn(e.emitsOptions,h))continue;const y=t[h];if(l)if(z(o,h))y!==o[h]&&(o[h]=y,a=!0);else{const S=Mt(h);r[S]=as(l,c,S,y,e,!1)}else y!==o[h]&&(o[h]=y,a=!0)}}}else{qo(e,t,r,o)&&(a=!0);let f;for(const p in c)(!t||!z(t,p)&&((f=Ft(p))===p||!z(t,f)))&&(l?n&&(n[p]!==void 0||n[f]!==void 0)&&(r[p]=as(l,c,p,void 0,e,!0)):delete r[p]);if(o!==c)for(const p in o)(!t||!z(t,p))&&(delete o[p],a=!0)}a&&Ge(e,"set","$attrs")}function qo(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,c;if(t)for(let l in t){if(hn(l))continue;const a=t[l];let f;r&&z(r,f=Mt(l))?!o||!o.includes(f)?n[f]=a:(c||(c={}))[f]=a:Mn(e.emitsOptions,l)||(!(l in s)||a!==s[l])&&(s[l]=a,i=!0)}if(o){const l=W(n),a=c||se;for(let f=0;f<o.length;f++){const p=o[f];n[p]=as(r,l,p,a[p],e,!z(a,p))}}return i}function as(e,t,n,s,r,o){const i=e[n];if(i!=null){const c=z(i,"default");if(c&&s===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&D(l)){const{propsDefaults:a}=r;n in a?s=a[n]:(Ht(r),s=a[n]=l.call(null,t),bt())}else s=l}i[0]&&(o&&!c?s=!1:i[1]&&(s===""||s===Ft(n))&&(s=!0))}return s}function Fo(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},c=[];let l=!1;if(!D(e)){const f=p=>{l=!0;const[h,y]=Fo(p,t,!0);ue(i,h),y&&c.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!l)return re(e)&&s.set(e,It),It;if(N(o))for(let f=0;f<o.length;f++){const p=Mt(o[f]);cr(p)&&(i[p]=se)}else if(o)for(const f in o){const p=Mt(f);if(cr(p)){const h=o[f],y=i[p]=N(h)||D(h)?{type:h}:ue({},h);if(y){const S=fr(Boolean,y.type),E=fr(String,y.type);y[0]=S>-1,y[1]=E<0||S<E,(S>-1||z(y,"default"))&&c.push(p)}}}const a=[i,c];return re(e)&&s.set(e,a),a}function cr(e){return e[0]!=="$"}function ur(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ar(e,t){return ur(e)===ur(t)}function fr(e,t){return N(t)?t.findIndex(n=>ar(n,e)):D(t)&&ar(t,e)?0:-1}const No=e=>e[0]==="_"||e==="$stable",Ls=e=>N(e)?e.map(je):[je(e)],Ul=(e,t,n)=>{if(t._n)return t;const s=xo((...r)=>Ls(t(...r)),n);return s._c=!1,s},Bo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(No(r))continue;const o=e[r];if(D(o))t[r]=Ul(r,o,s);else if(o!=null){const i=Ls(o);t[r]=()=>i}}},jo=(e,t)=>{const n=Ls(t);e.slots.default=()=>n},Dl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=W(t),bn(t,"_",n)):Bo(t,e.slots={})}else e.slots={},t&&jo(e,t);bn(e.slots,Fn,1)},$l=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=se;if(s.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(ue(r,t),!n&&c===1&&delete r._):(o=!t.$stable,Bo(t,r)),i=t}else t&&(jo(e,t),i={default:1});if(o)for(const c in r)!No(c)&&!(c in i)&&delete r[c]};function fs(e,t,n,s,r=!1){if(N(e)){e.forEach((h,y)=>fs(h,t&&(N(t)?t[y]:t),n,s,r));return}if(mn(s)&&!r)return;const o=s.shapeFlag&4?Nn(s.component)||s.component.proxy:s.el,i=r?null:o,{i:c,r:l}=e,a=t&&t.r,f=c.refs===se?c.refs={}:c.refs,p=c.setupState;if(a!=null&&a!==l&&(ae(a)?(f[a]=null,z(p,a)&&(p[a]=null)):me(a)&&(a.value=null)),D(l))lt(l,c,12,[i,f]);else{const h=ae(l),y=me(l);if(h||y){const S=()=>{if(e.f){const E=h?z(p,l)?p[l]:f[l]:l.value;r?N(E)&&bs(E,o):N(E)?E.includes(o)||E.push(o):h?(f[l]=[o],z(p,l)&&(p[l]=f[l])):(l.value=[o],e.k&&(f[e.k]=l.value))}else h?(f[l]=i,z(p,l)&&(p[l]=i)):y&&(l.value=i,e.k&&(f[e.k]=i))};i?(S.id=-1,be(S,n)):S()}}}const be=pl;function Kl(e){return zl(e)}function zl(e,t){const n=Zn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:c,createComment:l,setText:a,setElementText:f,parentNode:p,nextSibling:h,setScopeId:y=He,insertStaticContent:S}=e,E=(u,d,g,m=null,v=null,b=null,I=!1,w=null,x=!!d.dynamicChildren)=>{if(u===d)return;u&&!mt(u,d)&&(m=_(u),ve(u,v,b,!0),u=null),d.patchFlag===-2&&(x=!1,d.dynamicChildren=null);const{type:A,ref:q,shapeFlag:M}=d;switch(A){case qn:T(u,d,g,m);break;case Le:O(u,d,g,m);break;case zn:u==null&&P(d,g,m,I);break;case Oe:H(u,d,g,m,v,b,I,w,x);break;default:M&1?ee(u,d,g,m,v,b,I,w,x):M&6?G(u,d,g,m,v,b,I,w,x):(M&64||M&128)&&A.process(u,d,g,m,v,b,I,w,x,C)}q!=null&&v&&fs(q,u&&u.ref,b,d||u,!d)},T=(u,d,g,m)=>{if(u==null)s(d.el=c(d.children),g,m);else{const v=d.el=u.el;d.children!==u.children&&a(v,d.children)}},O=(u,d,g,m)=>{u==null?s(d.el=l(d.children||""),g,m):d.el=u.el},P=(u,d,g,m)=>{[u.el,u.anchor]=S(u.children,d,g,m,u.el,u.anchor)},j=({el:u,anchor:d},g,m)=>{let v;for(;u&&u!==d;)v=h(u),s(u,g,m),u=v;s(d,g,m)},k=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=h(u),r(u),u=g;r(d)},ee=(u,d,g,m,v,b,I,w,x)=>{I=I||d.type==="svg",u==null?le(d,g,m,v,b,I,w,x):ne(u,d,v,b,I,w,x)},le=(u,d,g,m,v,b,I,w)=>{let x,A;const{type:q,props:M,shapeFlag:F,transition:B,dirs:$}=u;if(x=u.el=i(u.type,b,M&&M.is,M),F&8?f(x,u.children):F&16&&U(u.children,x,null,m,v,b&&q!=="foreignObject",I,w),$&&at(u,null,m,"created"),pe(x,u,u.scopeId,I,m),M){for(const X in M)X!=="value"&&!hn(X)&&o(x,X,null,M[X],b,u.children,m,v,he);"value"in M&&o(x,"value",null,M.value),(A=M.onVnodeBeforeMount)&&Be(A,m,u)}$&&at(u,null,m,"beforeMount");const te=(!v||v&&!v.pendingBranch)&&B&&!B.persisted;te&&B.beforeEnter(x),s(x,d,g),((A=M&&M.onVnodeMounted)||te||$)&&be(()=>{A&&Be(A,m,u),te&&B.enter(x),$&&at(u,null,m,"mounted")},v)},pe=(u,d,g,m,v)=>{if(g&&y(u,g),m)for(let b=0;b<m.length;b++)y(u,m[b]);if(v){let b=v.subTree;if(d===b){const I=v.vnode;pe(u,I,I.scopeId,I.slotScopeIds,v.parent)}}},U=(u,d,g,m,v,b,I,w,x=0)=>{for(let A=x;A<u.length;A++){const q=u[A]=w?rt(u[A]):je(u[A]);E(null,q,d,g,m,v,b,I,w)}},ne=(u,d,g,m,v,b,I)=>{const w=d.el=u.el;let{patchFlag:x,dynamicChildren:A,dirs:q}=d;x|=u.patchFlag&16;const M=u.props||se,F=d.props||se;let B;g&&ft(g,!1),(B=F.onVnodeBeforeUpdate)&&Be(B,g,d,u),q&&at(d,u,g,"beforeUpdate"),g&&ft(g,!0);const $=v&&d.type!=="foreignObject";if(A?Y(u.dynamicChildren,A,w,g,m,$,b):I||Q(u,d,w,null,g,m,$,b,!1),x>0){if(x&16)fe(w,d,M,F,g,m,v);else if(x&2&&M.class!==F.class&&o(w,"class",null,F.class,v),x&4&&o(w,"style",M.style,F.style,v),x&8){const te=d.dynamicProps;for(let X=0;X<te.length;X++){const ce=te[X],Pe=M[ce],Et=F[ce];(Et!==Pe||ce==="value")&&o(w,ce,Pe,Et,v,u.children,g,m,he)}}x&1&&u.children!==d.children&&f(w,d.children)}else!I&&A==null&&fe(w,d,M,F,g,m,v);((B=F.onVnodeUpdated)||q)&&be(()=>{B&&Be(B,g,d,u),q&&at(d,u,g,"updated")},m)},Y=(u,d,g,m,v,b,I)=>{for(let w=0;w<d.length;w++){const x=u[w],A=d[w],q=x.el&&(x.type===Oe||!mt(x,A)||x.shapeFlag&70)?p(x.el):g;E(x,A,q,null,m,v,b,I,!0)}},fe=(u,d,g,m,v,b,I)=>{if(g!==m){if(g!==se)for(const w in g)!hn(w)&&!(w in m)&&o(u,w,g[w],null,I,d.children,v,b,he);for(const w in m){if(hn(w))continue;const x=m[w],A=g[w];x!==A&&w!=="value"&&o(u,w,A,x,I,d.children,v,b,he)}"value"in m&&o(u,"value",g.value,m.value)}},H=(u,d,g,m,v,b,I,w,x)=>{const A=d.el=u?u.el:c(""),q=d.anchor=u?u.anchor:c("");let{patchFlag:M,dynamicChildren:F,slotScopeIds:B}=d;B&&(w=w?w.concat(B):B),u==null?(s(A,g,m),s(q,g,m),U(d.children,g,q,v,b,I,w,x)):M>0&&M&64&&F&&u.dynamicChildren?(Y(u.dynamicChildren,F,g,v,b,I,w),(d.key!=null||v&&d===v.subTree)&&Uo(u,d,!0)):Q(u,d,g,q,v,b,I,w,x)},G=(u,d,g,m,v,b,I,w,x)=>{d.slotScopeIds=w,u==null?d.shapeFlag&512?v.ctx.activate(d,g,m,I,x):_e(d,g,m,v,b,I,x):De(u,d,x)},_e=(u,d,g,m,v,b,I)=>{const w=u.component=tc(u,m,v);if(Hn(u)&&(w.ctx.renderer=C),sc(w),w.asyncDep){if(v&&v.registerDep(w,ie),!u.el){const x=w.subTree=Ae(Le);O(null,x,d,g)}return}ie(w,u,d,g,v,b,I)},De=(u,d,g)=>{const m=d.component=u.component;if(al(u,d,g))if(m.asyncDep&&!m.asyncResolved){Z(m,d,g);return}else m.next=d,nl(m.update),m.update();else d.el=u.el,m.vnode=d},ie=(u,d,g,m,v,b,I)=>{const w=()=>{if(u.isMounted){let{next:q,bu:M,u:F,parent:B,vnode:$}=u,te=q,X;ft(u,!1),q?(q.el=$.el,Z(u,q,I)):q=$,M&&Un(M),(X=q.props&&q.props.onVnodeBeforeUpdate)&&Be(X,B,q,$),ft(u,!0);const ce=Dn(u),Pe=u.subTree;u.subTree=ce,E(Pe,ce,p(Pe.el),_(Pe),u,v,b),q.el=ce.el,te===null&&fl(u,ce.el),F&&be(F,v),(X=q.props&&q.props.onVnodeUpdated)&&be(()=>Be(X,B,q,$),v)}else{let q;const{el:M,props:F}=d,{bm:B,m:$,parent:te}=u,X=mn(d);if(ft(u,!1),B&&Un(B),!X&&(q=F&&F.onVnodeBeforeMount)&&Be(q,te,d),ft(u,!0),M&&V){const ce=()=>{u.subTree=Dn(u),V(M,u.subTree,u,v,null)};X?d.type.__asyncLoader().then(()=>!u.isUnmounted&&ce()):ce()}else{const ce=u.subTree=Dn(u);E(null,ce,g,m,u,v,b),d.el=ce.el}if($&&be($,v),!X&&(q=F&&F.onVnodeMounted)){const ce=d;be(()=>Be(q,te,ce),v)}(d.shapeFlag&256||te&&mn(te.vnode)&&te.vnode.shapeFlag&256)&&u.a&&be(u.a,v),u.isMounted=!0,d=g=m=null}},x=u.effect=new xs(w,()=>Ms(A),u.scope),A=u.update=()=>x.run();A.id=u.uid,ft(u,!0),A()},Z=(u,d,g)=>{d.component=u;const m=u.vnode.props;u.vnode=d,u.next=null,jl(u,d.props,m,g),$l(u,d.children,g),Nt(),tr(),Bt()},Q=(u,d,g,m,v,b,I,w,x=!1)=>{const A=u&&u.children,q=u?u.shapeFlag:0,M=d.children,{patchFlag:F,shapeFlag:B}=d;if(F>0){if(F&128){Xe(A,M,g,m,v,b,I,w,x);return}else if(F&256){$e(A,M,g,m,v,b,I,w,x);return}}B&8?(q&16&&he(A,v,b),M!==A&&f(g,M)):q&16?B&16?Xe(A,M,g,m,v,b,I,w,x):he(A,v,b,!0):(q&8&&f(g,""),B&16&&U(M,g,m,v,b,I,w,x))},$e=(u,d,g,m,v,b,I,w,x)=>{u=u||It,d=d||It;const A=u.length,q=d.length,M=Math.min(A,q);let F;for(F=0;F<M;F++){const B=d[F]=x?rt(d[F]):je(d[F]);E(u[F],B,g,null,v,b,I,w,x)}A>q?he(u,v,b,!0,!1,M):U(d,g,m,v,b,I,w,x,M)},Xe=(u,d,g,m,v,b,I,w,x)=>{let A=0;const q=d.length;let M=u.length-1,F=q-1;for(;A<=M&&A<=F;){const B=u[A],$=d[A]=x?rt(d[A]):je(d[A]);if(mt(B,$))E(B,$,g,null,v,b,I,w,x);else break;A++}for(;A<=M&&A<=F;){const B=u[M],$=d[F]=x?rt(d[F]):je(d[F]);if(mt(B,$))E(B,$,g,null,v,b,I,w,x);else break;M--,F--}if(A>M){if(A<=F){const B=F+1,$=B<q?d[B].el:m;for(;A<=F;)E(null,d[A]=x?rt(d[A]):je(d[A]),g,$,v,b,I,w,x),A++}}else if(A>F)for(;A<=M;)ve(u[A],v,b,!0),A++;else{const B=A,$=A,te=new Map;for(A=$;A<=F;A++){const Ee=d[A]=x?rt(d[A]):je(d[A]);Ee.key!=null&&te.set(Ee.key,A)}let X,ce=0;const Pe=F-$+1;let Et=!1,Ks=0;const jt=new Array(Pe);for(A=0;A<Pe;A++)jt[A]=0;for(A=B;A<=M;A++){const Ee=u[A];if(ce>=Pe){ve(Ee,v,b,!0);continue}let Ne;if(Ee.key!=null)Ne=te.get(Ee.key);else for(X=$;X<=F;X++)if(jt[X-$]===0&&mt(Ee,d[X])){Ne=X;break}Ne===void 0?ve(Ee,v,b,!0):(jt[Ne-$]=A+1,Ne>=Ks?Ks=Ne:Et=!0,E(Ee,d[Ne],g,null,v,b,I,w,x),ce++)}const zs=Et?Wl(jt):It;for(X=zs.length-1,A=Pe-1;A>=0;A--){const Ee=$+A,Ne=d[Ee],Ws=Ee+1<q?d[Ee+1].el:m;jt[A]===0?E(null,Ne,g,Ws,v,b,I,w,x):Et&&(X<0||A!==zs[X]?Fe(Ne,g,Ws,2):X--)}}},Fe=(u,d,g,m,v=null)=>{const{el:b,type:I,transition:w,children:x,shapeFlag:A}=u;if(A&6){Fe(u.component.subTree,d,g,m);return}if(A&128){u.suspense.move(d,g,m);return}if(A&64){I.move(u,d,g,C);return}if(I===Oe){s(b,d,g);for(let M=0;M<x.length;M++)Fe(x[M],d,g,m);s(u.anchor,d,g);return}if(I===zn){j(u,d,g);return}if(m!==2&&A&1&&w)if(m===0)w.beforeEnter(b),s(b,d,g),be(()=>w.enter(b),v);else{const{leave:M,delayLeave:F,afterLeave:B}=w,$=()=>s(b,d,g),te=()=>{M(b,()=>{$(),B&&B()})};F?F(b,$,te):te()}else s(b,d,g)},ve=(u,d,g,m=!1,v=!1)=>{const{type:b,props:I,ref:w,children:x,dynamicChildren:A,shapeFlag:q,patchFlag:M,dirs:F}=u;if(w!=null&&fs(w,null,g,u,!0),q&256){d.ctx.deactivate(u);return}const B=q&1&&F,$=!mn(u);let te;if($&&(te=I&&I.onVnodeBeforeUnmount)&&Be(te,d,u),q&6)ln(u.component,g,m);else{if(q&128){u.suspense.unmount(g,m);return}B&&at(u,null,d,"beforeUnmount"),q&64?u.type.remove(u,d,g,v,C,m):A&&(b!==Oe||M>0&&M&64)?he(A,d,g,!1,!0):(b===Oe&&M&384||!v&&q&16)&&he(x,d,g),m&&At(u)}($&&(te=I&&I.onVnodeUnmounted)||B)&&be(()=>{te&&Be(te,d,u),B&&at(u,null,d,"unmounted")},g)},At=u=>{const{type:d,el:g,anchor:m,transition:v}=u;if(d===Oe){wt(g,m);return}if(d===zn){k(u);return}const b=()=>{r(g),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(u.shapeFlag&1&&v&&!v.persisted){const{leave:I,delayLeave:w}=v,x=()=>I(g,b);w?w(u.el,b,x):x()}else b()},wt=(u,d)=>{let g;for(;u!==d;)g=h(u),r(u),u=g;r(d)},ln=(u,d,g)=>{const{bum:m,scope:v,update:b,subTree:I,um:w}=u;m&&Un(m),v.stop(),b&&(b.active=!1,ve(I,u,d,g)),w&&be(w,d),be(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},he=(u,d,g,m=!1,v=!1,b=0)=>{for(let I=b;I<u.length;I++)ve(u[I],d,g,m,v)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():h(u.anchor||u.el),R=(u,d,g)=>{u==null?d._vnode&&ve(d._vnode,null,null,!0):E(d._vnode||null,u,d,null,null,null,g),tr(),Ao(),d._vnode=u},C={p:E,um:ve,m:Fe,r:At,mt:_e,mc:U,pc:Q,pbc:Y,n:_,o:e};let L,V;return t&&([L,V]=t(C)),{render:R,hydrate:L,createApp:Nl(R,L)}}function ft({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Uo(e,t,n=!1){const s=e.children,r=t.children;if(N(s)&&N(r))for(let o=0;o<s.length;o++){const i=s[o];let c=r[o];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[o]=rt(r[o]),c.el=i.el),n||Uo(i,c)),c.type===qn&&(c.el=i.el)}}function Wl(e){const t=e.slice(),n=[0];let s,r,o,i,c;const l=e.length;for(s=0;s<l;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)c=o+i>>1,e[n[c]]<a?o=c+1:i=c;a<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Ql=e=>e.__isTeleport,Oe=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),Le=Symbol.for("v-cmt"),zn=Symbol.for("v-stc"),Vt=[];let ke=null;function ze(e=!1){Vt.push(ke=e?null:[])}function Vl(){Vt.pop(),ke=Vt[Vt.length-1]||null}let sn=1;function dr(e){sn+=e}function Do(e){return e.dynamicChildren=sn>0?ke||It:null,Vl(),sn>0&&ke&&ke.push(e),e}function et(e,t,n,s,r,o){return Do(oe(e,t,n,s,r,o,!0))}function Gl(e,t,n,s,r){return Do(Ae(e,t,n,s,r,!0))}function ds(e){return e?e.__v_isVNode===!0:!1}function mt(e,t){return e.type===t.type&&e.key===t.key}const Fn="__vInternal",$o=({key:e})=>e??null,yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||me(e)||D(e)?{i:Se,r:e,k:t,f:!!n}:e:null);function oe(e,t=null,n=null,s=0,r=null,o=e===Oe?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&$o(t),ref:t&&yn(t),scopeId:kn,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Se};return c?(qs(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=ae(n)?8:16),sn>0&&!i&&ke&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&ke.push(l),l}const Ae=Jl;function Jl(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Rl)&&(e=Le),ds(e)){const c=ut(e,t,!0);return n&&qs(c,n),sn>0&&!o&&ke&&(c.shapeFlag&6?ke[ke.indexOf(e)]=c:ke.push(c)),c.patchFlag|=-2,c}if(lc(e)&&(e=e.__vccOpts),t){t=Yl(t);let{class:c,style:l}=t;c&&!ae(c)&&(t.class=Zt(c)),re(l)&&(po(l)&&!N(l)&&(l=ue({},l)),t.style=Xt(l))}const i=ae(e)?1:dl(e)?128:Ql(e)?64:re(e)?4:D(e)?2:0;return oe(e,t,n,s,r,i,o,!0)}function Yl(e){return e?po(e)||Fn in e?ue({},e):e:null}function ut(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,c=t?Xl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&$o(c),ref:t&&t.ref?n&&r?N(r)?r.concat(yn(t)):[r,yn(t)]:yn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Oe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ko(e=" ",t=0){return Ae(qn,null,e,t)}function Wn(e="",t=!1){return t?(ze(),Gl(Le,null,e)):Ae(Le,null,e)}function je(e){return e==null||typeof e=="boolean"?Ae(Le):N(e)?Ae(Oe,null,e.slice()):typeof e=="object"?rt(e):Ae(qn,null,String(e))}function rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function qs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),qs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Fn in t)?t._ctx=Se:r===3&&Se&&(Se.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:Se},n=32):(t=String(t),s&64?(n=16,t=[Ko(t)]):n=8);e.children=t,e.shapeFlag|=n}function Xl(...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=Zt([t.class,s.class]));else if(r==="style")t.style=Xt([t.style,s.style]);else if(Sn(r)){const o=t[r],i=s[r];i&&o!==i&&!(N(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function Be(e,t,n,s=null){Ie(e,t,7,[n,s])}const Zl=Lo();let ec=0;function tc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Zl,o={uid:ec++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Zr(!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:Fo(s,r),emitsOptions:Eo(s,r),emit:null,emitted:null,propsDefaults:se,inheritAttrs:s.inheritAttrs,ctx:se,data:se,props:se,attrs:se,slots:se,refs:se,setupState:se,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=ol.bind(null,o),e.ce&&e.ce(o),o}let de=null;const nc=()=>de||Se;let Fs,xt,pr="__VUE_INSTANCE_SETTERS__";(xt=Zn()[pr])||(xt=Zn()[pr]=[]),xt.push(e=>de=e),Fs=e=>{xt.length>1?xt.forEach(t=>t(e)):xt[0](e)};const Ht=e=>{Fs(e),e.scope.on()},bt=()=>{de&&de.scope.off(),Fs(null)};function zo(e){return e.vnode.shapeFlag&4}let rn=!1;function sc(e,t=!1){rn=t;const{props:n,children:s}=e.vnode,r=zo(e);Bl(e,n,r,t),Dl(e,s);const o=r?rc(e,t):void 0;return rn=!1,o}function rc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Rs(new Proxy(e.ctx,Tl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ic(e):null;Ht(e),Nt();const o=lt(s,e,0,[e.props,r]);if(Bt(),bt(),Qr(o)){if(o.then(bt,bt),t)return o.then(i=>{hr(e,i,t)}).catch(i=>{Tn(i,e,0)});e.asyncDep=o}else hr(e,o,t)}else Wo(e,t)}function hr(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=_o(t)),Wo(e,n)}let gr;function Wo(e,t,n){const s=e.type;if(!e.render){if(!t&&gr&&!s.render){const r=s.template||Hs(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,a=ue(ue({isCustomElement:o,delimiters:c},i),l);s.render=gr(r,a)}}e.render=s.render||He}Ht(e),Nt(),Ml(e),Bt(),bt()}function oc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return we(e,"get","$attrs"),t[n]}}))}function ic(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return oc(e)},slots:e.slots,emit:e.emit,expose:t}}function Nn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(_o(Rs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qt)return Qt[n](e)},has(t,n){return n in t||n in Qt}}))}function lc(e){return D(e)&&"__vccOpts"in e}const Me=(e,t)=>Zi(e,t,rn);function Ns(e,t,n){const s=arguments.length;return s===2?re(t)&&!N(t)?ds(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ds(n)&&(n=[n]),Ae(e,t,n))}const cc=Symbol.for("v-scx"),uc=()=>Ve(cc),ac="3.3.4",fc="http://www.w3.org/2000/svg",_t=typeof document<"u"?document:null,mr=_t&&_t.createElement("template"),dc={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?_t.createElementNS(fc,e):_t.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>_t.createTextNode(e),createComment:e=>_t.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>_t.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{mr.innerHTML=s?`<svg>${e}</svg>`:e;const c=mr.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function pc(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 hc(e,t,n){const s=e.style,r=ae(n);if(n&&!r){if(t&&!ae(t))for(const o in t)n[o]==null&&ps(s,o,"");for(const o in n)ps(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const _r=/\s*!important$/;function ps(e,t,n){if(N(n))n.forEach(s=>ps(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=gc(e,t);_r.test(n)?e.setProperty(Ft(s),n.replace(_r,""),"important"):e[s]=n}}const yr=["Webkit","Moz","ms"],Qn={};function gc(e,t){const n=Qn[t];if(n)return n;let s=Mt(t);if(s!=="filter"&&s in e)return Qn[t]=s;s=Jr(s);for(let r=0;r<yr.length;r++){const o=yr[r]+s;if(o in e)return Qn[t]=o}return t}const vr="http://www.w3.org/1999/xlink";function mc(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(vr,t.slice(6,t.length)):e.setAttributeNS(vr,t,n);else{const o=yi(t);n==null||o&&!Yr(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function _c(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const a=c==="OPTION"?e.getAttribute("value"):e.value,f=n??"";a!==f&&(e.value=f),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Yr(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function yc(e,t,n,s){e.addEventListener(t,n,s)}function vc(e,t,n,s){e.removeEventListener(t,n,s)}function bc(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[c,l]=Ac(t);if(s){const a=o[t]=xc(s,r);yc(e,c,a,l)}else i&&(vc(e,c,i,l),o[t]=void 0)}}const br=/(?:Once|Passive|Capture)$/;function Ac(e){let t;if(br.test(e)){t={};let s;for(;s=e.match(br);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ft(e.slice(2)),t]}let Vn=0;const wc=Promise.resolve(),Ec=()=>Vn||(wc.then(()=>Vn=0),Vn=Date.now());function xc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ie(Cc(s,n.value),t,5,[s])};return n.value=e,n.attached=Ec(),n}function Cc(e,t){if(N(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 Ar=/^on[a-z]/,Sc=(e,t,n,s,r=!1,o,i,c,l)=>{t==="class"?pc(e,s,r):t==="style"?hc(e,n,s):Sn(t)?vs(t)||bc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ic(e,t,s,r))?_c(e,t,s,o,i,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),mc(e,t,s,r))};function Ic(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&Ar.test(t)&&D(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Ar.test(t)&&ae(n)?!1:t in e}const tt="transition",Ut="animation",Bs=(e,{slots:t})=>Ns(yl,Pc(e),t);Bs.displayName="Transition";const Qo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Bs.props=ue({},Io,Qo);const dt=(e,t=[])=>{N(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?N(e)?e.some(t=>t.length>1):e.length>1:!1;function Pc(e){const t={};for(const H in e)H in Qo||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:a=i,appearToClass:f=c,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,S=Rc(r),E=S&&S[0],T=S&&S[1],{onBeforeEnter:O,onEnter:P,onEnterCancelled:j,onLeave:k,onLeaveCancelled:ee,onBeforeAppear:le=O,onAppear:pe=P,onAppearCancelled:U=j}=t,ne=(H,G,_e)=>{pt(H,G?f:c),pt(H,G?a:i),_e&&_e()},Y=(H,G)=>{H._isLeaving=!1,pt(H,p),pt(H,y),pt(H,h),G&&G()},fe=H=>(G,_e)=>{const De=H?pe:P,ie=()=>ne(G,H,_e);dt(De,[G,ie]),Er(()=>{pt(G,H?l:o),nt(G,H?f:c),wr(De)||xr(G,s,E,ie)})};return ue(t,{onBeforeEnter(H){dt(O,[H]),nt(H,o),nt(H,i)},onBeforeAppear(H){dt(le,[H]),nt(H,l),nt(H,a)},onEnter:fe(!1),onAppear:fe(!0),onLeave(H,G){H._isLeaving=!0;const _e=()=>Y(H,G);nt(H,p),Mc(),nt(H,h),Er(()=>{H._isLeaving&&(pt(H,p),nt(H,y),wr(k)||xr(H,s,T,_e))}),dt(k,[H,_e])},onEnterCancelled(H){ne(H,!1),dt(j,[H])},onAppearCancelled(H){ne(H,!0),dt(U,[H])},onLeaveCancelled(H){Y(H),dt(ee,[H])}})}function Rc(e){if(e==null)return null;if(re(e))return[Gn(e.enter),Gn(e.leave)];{const t=Gn(e);return[t,t]}}function Gn(e){return di(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function pt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Er(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Oc=0;function xr(e,t,n,s){const r=e._endId=++Oc,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:l}=Tc(e,t);if(!i)return s();const a=i+"end";let f=0;const p=()=>{e.removeEventListener(a,h),o()},h=y=>{y.target===e&&++f>=l&&p()};setTimeout(()=>{f<l&&p()},c+1),e.addEventListener(a,h)}function Tc(e,t){const n=window.getComputedStyle(e),s=S=>(n[S]||"").split(", "),r=s(`${tt}Delay`),o=s(`${tt}Duration`),i=Cr(r,o),c=s(`${Ut}Delay`),l=s(`${Ut}Duration`),a=Cr(c,l);let f=null,p=0,h=0;t===tt?i>0&&(f=tt,p=i,h=o.length):t===Ut?a>0&&(f=Ut,p=a,h=l.length):(p=Math.max(i,a),f=p>0?i>a?tt:Ut:null,h=f?f===tt?o.length:l.length:0);const y=f===tt&&/\b(transform|all)(,|$)/.test(s(`${tt}Property`).toString());return{type:f,timeout:p,propCount:h,hasTransform:y}}function Cr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Sr(n)+Sr(e[s])))}function Sr(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Mc(){return document.body.offsetHeight}const kc={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Dt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Dt(e,!0),s.enter(e)):s.leave(e,()=>{Dt(e,!1)}):Dt(e,t))},beforeUnmount(e,{value:t}){Dt(e,t)}};function Dt(e,t){e.style.display=t?e._vod:"none"}const Hc=ue({patchProp:Sc},dc);let Ir;function Lc(){return Ir||(Ir=Kl(Hc))}const qc=(...e)=>{const t=Lc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Fc(s);if(!r)return;const o=t._component;!D(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Fc(e){return ae(e)?document.querySelector(e):e}var Nc=!1;/*!
2
2
  * pinia v2.1.6
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const ic=Symbol();var lr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(lr||(lr={}));function oc(){const e=Qi(!0),t=e.run(()=>ht({}));let n=[],s=[];const r=ms({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 cr(){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=cr(),[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=cr();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 an=new uc;class $e{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ac 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 fc extends $e{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 Le={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 $e{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return Bt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Le.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return Bt._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 pc 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 hc extends $e{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 $e{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 $e{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 $e{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class yc extends $e{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 qt=(e,t,n)=>({requestName:e,eventName:t,data:n});class bc{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=qt("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 an.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(an.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[Le.settingsUpdated]){let r=qt("EvEvent",Le.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=qt("EvEvent",Le.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[Le.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[Le.signalingEvent]){let r=qt("EvEvent",Le.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,Le.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(qt("EvMessage","settings",n.data),s=(await an.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 Bt=new bc;const vc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Ai=e=>(Ho("data-v-cb73e98d"),e=e(),jo(),e),wc={style:{display:"flex"}},Ac={class:"panel"},Ec=Ai(()=>me("br",null,null,-1)),xc=Ai(()=>me("div",{style:{width:"50px"}},null,-1)),Pc={class:"panel"},Rc={class:"resizer grayone"},Sc={key:0,class:"fast-action-panel"},Ic={class:"fast-action-title"},Oc={class:"fast-action-buttons"},Cc=["onClick"],Tc={__name:"TestHolder",setup(e){Bt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};an.updateUserAppInstance(t,{id:t,settings:s});const r=ht(null),i=ht(null),o=ht([]),c=ht("");Bt._eventHandler.subscribe("fastActionButtonsUpdated",(f,d)=>{var p;o.value=d.data.buttonsArray||[],c.value=((p=d.data.parameters)==null?void 0:p.groupName)||""});function l(f){Bt.raiseEvent(Le.fastActionButton,{fastAccessButton:f})}return li(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}`}),(f,d)=>(kt(),sn("div",null,[me("div",wc,[me("div",Ac,[Xn(" Settings (src/settings.html):"),Ec,me("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500",style:{resize:"both"}},null,512)]),xc,me("div",Pc,[Xn(" App (src/widget.html): "),me("div",Rc,[me("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])]),o.value.length?(kt(),sn("div",Sc,[me("div",Ic,Ms(c.value||"Fast Action Buttons"),1),me("div",Oc,[(kt(!0),sn(Te,null,nl(o.value,p=>(kt(),sn("button",{key:p.buttonId,class:"fast-action-btn",style:vn(p.uiColor?{borderColor:p.uiColor,boxShadow:"0 0 0 1px "+p.uiColor}:{}),onClick:g=>l(p)},Ms(p.buttonText),13,Cc))),128))])])):xl("",!0)]))}},Mc=vc(Tc,[["__scopeId","data-v-cb73e98d"]]);/*!
5
+ */const Bc=Symbol();var Pr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Pr||(Pr={}));function jc(){const e=bi(!0),t=e.run(()=>ht({}));let n=[],s=[];const r=Rs({install(o){r._a=o,o.provide(Bc,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return!this._a&&!Nc?s.push(o):n.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function Uc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function Rr(){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 hs{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 Dc{constructor(){this._requests={},this._messagesEventHandlers=new hs,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let o={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(o),"*")}}async sendRequestAsync(t,n=null){let s=Rr(),[r,o,i]=Uc();return this._requests[s]={prom:r,resolve:o,reject:i},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=Rr();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 $c{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 vn=new $c;class Ye{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class Kc extends Ye{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 zc extends Ye{constructor(){super()}canHandleRequest(t){return[K.createNewLayer,K.removeSizeCatcher,K.listScenes,K.switchScene,K.updateLayer,K.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 Qe={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 Wc extends Ye{constructor(){super()}canHandleRequest(t){return[K.raiseExternalAppMessagingEvent,K.setFastActionButtons,K.openSideBarSettings,K.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return St._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Qe.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return St._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function Ce(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class Qc extends Ye{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:Ce(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:Ce(),type:"twitchProfile",statistics:{channel:{subscribers:Ce()}},last_subscribers:null},{viewers:Ce(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:Ce(),type:"youtubeChannel",statistics:{viewCount:Ce(),likeCount:Ce(),dislikeCount:Ce(),favoriteCount:Ce(),commentCount:Ce()},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:Ce(),type:"facebookProfile",statistics:{total_reactions:Ce()}}]}}class Vc extends Ye{constructor(){super()}canHandleRequest(t){return[K.displayDateTimePicker,K.displayScenePicker,K.displayRichTextEditor,K.displayToast,K.displayLayerSelector,K.displayGalleryPicker,K.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 Ye{constructor(){super()}canHandleRequest(t){return[K.getStudioParams,K.getSoundRtc,K.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 Jc extends Ye{constructor(){super()}canHandleRequest(t){return[K.logError,K.logInfo,K.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 Yc extends Ye{constructor(){super()}canHandleRequest(t){return[K.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class Xc extends Ye{constructor(){super()}canHandleRequest(t){return[K.createStream,K.accountPlanCapabilities,K.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 K={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 $t=(e,t,n)=>({requestName:e,eventName:t,data:n});class Zc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new hs,this._eventHandler=new hs,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new Kc(t)),this._requestHandlers.push(new zc(t)),this._requestHandlers.push(new Wc(t)),this._requestHandlers.push(new Qc(t)),this._requestHandlers.push(new Vc(t)),this._requestHandlers.push(new Gc(t)),this._requestHandlers.push(new Jc(t)),this._requestHandlers.push(new Yc(t)),this._requestHandlers.push(new Xc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[o,i]of Object.entries(this._userAppInstances[t].instances))s!=o&&i.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let o=this._userAppInstances[t];if(o&&o.events&&o.events[n]){let i=$t("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,i,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return vn.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(vn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[Qe.settingsUpdated]){let r=$t("EvEvent",Qe.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=$t("EvEvent",Qe.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[Qe.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[Qe.signalingEvent]){let r=$t("EvEvent",Qe.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==K.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==K.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,Qe.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==K.getSettings)this._userAppInstances[n.userAppInstanceId]&&($t("EvMessage","settings",n.data),s=(await vn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==K.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==K.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==K.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==K.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&&Dc.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 St=new Zc;const eu=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},js=e=>(il("data-v-06e9f609"),e=e(),ll(),e),tu={class:"test_holder_root"},nu={class:"test_holder_main"},su={class:"widget_area"},ru={key:0,class:"apps_fast_access_wr"},ou=["title","innerHTML"],iu=["title"],lu=["innerHTML"],cu={class:"apps_fast_access_btn_drop"},uu=["onClick"],au=js(()=>oe("div",{class:"widget_hint"},"Double-click widget to open settings",-1)),fu={key:0,class:"settings_sidebar light"},du=js(()=>oe("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[oe("path",{d:"M6 1L1 6L6 11",stroke:"#676778","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)),pu={key:0,class:"settings_loader_wr"},hu=js(()=>oe("svg",{class:"app_settings_iframe_loader",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12"},[oe("defs",null,[oe("linearGradient",{id:"settingsLoadGrad",x1:"6",x2:"6",y2:"12",gradientUnits:"userSpaceOnUse"},[oe("stop",{offset:"0","stop-color":"#0096ff","stop-opacity":"0"}),oe("stop",{offset:"0.15","stop-color":"#0096ff","stop-opacity":"0.19"}),oe("stop",{offset:"0.44","stop-color":"#0096ff","stop-opacity":"0.72"}),oe("stop",{offset:"1","stop-color":"#0096ff"})])]),oe("path",{style:{fill:"url(#settingsLoadGrad)"},d:"M6,12A6,6,0,0,1,0,6,1,1,0,0,1,2,6,4,4,0,1,0,6,2,1,1,0,0,1,6,0,6,6,0,0,1,6,12Z"})],-1)),gu=[hu],mu={__name:"TestHolder",setup(e){St.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};vn.updateUserAppInstance(t,{id:t,settings:s});const r=ht(null),o=ht(null),i=ht(!1),c=ht(!1),l=ht(null);St._eventHandler.subscribe("fastActionButtonsUpdated",(S,E)=>{var j;const T=E.data.buttonsArray||[];if(!T.length){l.value=null;return}const P=T.length===1&&((j=T[0])==null?void 0:j.uiColor)||null;l.value={componentId:E.componentId,userAppInstanceId:E.userAppInstanceId,buttons:T,group:E.data.parameters||{},uiColor:P}});function a(S,E){let T={fastAccessButton:E,userAppInstanceId:S.userAppInstanceId,componentId:S.componentId};St._raiseEventForSpecificUserAppInstance(S.userAppInstanceId,Qe.fastActionButton,T),St._eventHandler.publish("updateEverywhere",{request:K.raiseFastAccessButtonEvent,data:T})}function f(){i.value||(c.value=!1,i.value=!0)}function p(){i.value=!1}function h(){c.value=!0}function y(){f()}return ks(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,o.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`}),(S,E)=>{var T,O;return ze(),et("div",tu,[oe("div",nu,[oe("div",su,[l.value?(ze(),et("div",ru,[l.value.buttons.length===1?(ze(),et("div",{key:0,class:Zt(["apps_fast_access_btn",[l.value.uiColor?"uiColor":""]]),style:Xt({backgroundColor:l.value.uiColor||""}),title:l.value.buttons[0].buttonText,onClick:E[0]||(E[0]=P=>a(l.value,l.value.buttons[0])),innerHTML:l.value.buttons[0].icon||((T=l.value.group.groupName)==null?void 0:T.slice(0,1))||"?"},null,14,ou)):(ze(),et("div",{key:1,class:"apps_fast_access_btn",title:l.value.group.groupName||"Actions"},[oe("div",{innerHTML:l.value.group.groupIcon||((O=l.value.group.groupName)==null?void 0:O.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,lu),oe("div",cu,[(ze(!0),et(Oe,null,Ol(l.value.buttons,P=>(ze(),et("div",{class:Zt(["apps_fast_access_btn_drop_btn",[P.uiColor?"uiColor":""]]),key:P.buttonId,style:Xt({backgroundColor:P.uiColor||""}),onClick:j=>a(l.value,P)},vi(P.buttonText.length>19?P.buttonText.slice(0,19)+"...":P.buttonText),15,uu))),128))])],8,iu))])):Wn("",!0),oe("div",{class:"widget_container grayone",onDblclick:y},[oe("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)],32),au]),Ae(Bs,{name:"settings_slide"},{default:xo(()=>[i.value?(ze(),et("div",fu,[oe("div",{class:"chooser_block_header"},[oe("span",{class:"chooser_close",onClick:p},[du,Ko(" Back ")])]),gl(oe("iframe",{ref_key:"settingsIframe",ref:o,allow:"clipboard-write",onLoad:h,class:"settings_iframe"},null,544),[[kc,c.value]]),c.value?Wn("",!0):(ze(),et("div",pu,gu))])):Wn("",!0)]),_:1})])])}}},_u=eu(mu,[["__scopeId","data-v-06e9f609"]]);/*!
6
6
  * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const pt=typeof window<"u";function qc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function kn(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 Ut=()=>{},xe=Array.isArray,Hc=/\/$/,jc=e=>e.replace(Hc,"");function Nn(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=Lc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Fc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ur(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&&Pt(t.matched[s],n.matched[r])&&Ei(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Pt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ei(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Nc(e[n],t[n]))return!1;return!0}function Nc(e,t){return xe(e)?ar(e,t):xe(t)?ar(t,e):e===t}function ar(e,t){return xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Lc(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 Gt;(function(e){e.pop="pop",e.push="push"})(Gt||(Gt={}));var Dt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Dt||(Dt={}));function Bc(e){if(!e)if(pt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),jc(e)}const Uc=/^[^#]+#/;function Dc(e,t){return e.replace(Uc,"#")+t}function $c(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 Kc(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=$c(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 fr(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function zc(e,t){ts.set(e,t)}function Wc(e){const t=ts.get(e);return ts.delete(e),t}let Qc=()=>location.protocol+"//"+location.host;function xi(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),ur(l,"")}return ur(n,e)+s+r}function Jc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const w=xi(e,location),I=n.value,C=t.value;let N=0;if(g){if(n.value=w,t.value=g,o&&o===I){o=null;return}N=C?g.position-C.position:0}else s(w);r.forEach(q=>{q(n.value,I,{delta:N,type:Gt.pop,direction:N?N>0?Dt.forward:Dt.back:Dt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const w=()=>{const I=r.indexOf(g);I>-1&&r.splice(I,1)};return i.push(w),w}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:On()}),"")}function p(){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:p}}function dr(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 Gc(e){const{history:t,location:n}=window,s={value:xi(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 p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:Qc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(w){console.error(w),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,dr(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 p=Q({},dr(s.value,l,null),{position:d.position+1},f);i(l,p,!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function Yc(e){e=Bc(e);const t=Gc(e),n=Jc(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:Dc.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 Vc(e){return typeof e=="string"||e&&typeof e=="object"}function Pi(e){return typeof e=="string"||typeof e=="symbol"}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ri=Symbol("");var pr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(pr||(pr={}));function Rt(e,t){return Q(new Error,{type:e,[Ri]:!0},t)}function ke(e,t){return e instanceof Error&&Ri in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",Xc={sensitive:!1,strict:!1,start:!0,end:!0},Zc=/[.+*?^${}()[\]/\\]/g;function eu(e,t){const n=Q({},Xc,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 p=0;p<f.length;p++){const g=f[p];let w=40+(n.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace(Zc,"\\$&"),w+=40;else if(g.type===1){const{value:I,repeatable:C,optional:N,regexp:q}=g;i.push({name:I,repeatable:C,optional:N});const H=q||hr;if(H!==hr){w+=10;try{new RegExp(`(${H})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${I}" (${H}): `+j.message)}}let $=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;p||($=N&&f.length<2?`(?:/${$})`:"/"+$),N&&($+="?"),r+=$,w+=20,N&&(w+=-8),C&&(w+=-20),H===".*"&&(w+=-50)}d.push(w)}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),p={};if(!d)return null;for(let g=1;g<d.length;g++){const w=d[g]||"",I=i[g-1];p[I.name]=w&&I.repeatable?w.split("/"):w}return p}function l(f){let d="",p=!1;for(const g of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const w of g)if(w.type===0)d+=w.value;else if(w.type===1){const{value:I,repeatable:C,optional:N}=w,q=I in f?f[I]:"";if(xe(q)&&!C)throw new Error(`Provided param "${I}" is an array but it is not repeatable (* or + modifiers)`);const H=xe(q)?q.join("/"):q;if(!H)if(N)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${I}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function tu(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 nu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=tu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(gr(s))return 1;if(gr(r))return-1}return r.length-s.length}function gr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const su={type:0,value:""},ru=/[a-zA-Z0-9_]/;function iu(e){if(!e)return[[]];if(e==="/")return[[su]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${n})/"${f}": ${w}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,f="",d="";function p(){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&&p(),o()):l===":"?(p(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:ru.test(l)?g():(p(),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:p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),o(),r}function ou(e,t,n){const s=eu(iu(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 lu(e,t){const n=[],s=new Map;t=yr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,p,g){const w=!g,I=cu(d);I.aliasOf=g&&g.record;const C=yr(t,d),N=[I];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const j of $)N.push(Q({},I,{components:g?g.record.components:I.components,path:j,aliasOf:g?g.record:I}))}let q,H;for(const $ of N){const{path:j}=$;if(p&&j[0]!=="/"){const se=p.record.path,ce=se[se.length-1]==="/"?"":"/";$.path=p.record.path+(j&&ce+j)}if(q=ou($,p,C),g?g.alias.push(q):(H=H||q,H!==q&&H.alias.push(q),w&&d.name&&!_r(q)&&o(d.name)),I.children){const se=I.children;for(let ce=0;ce<se.length;ce++)i(se[ce],q,g&&g.children[ce])}g=g||q,(q.record.components&&Object.keys(q.record.components).length||q.record.name||q.record.redirect)&&l(q)}return H?()=>{o(H)}:Ut}function o(d){if(Pi(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,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 p=0;for(;p<n.length&&nu(d,n[p])>=0&&(d.record.path!==n[p].record.path||!Si(d,n[p]));)p++;n.splice(p,0,d),d.record.name&&!_r(d)&&s.set(d.record.name,d)}function f(d,p){let g,w={},I,C;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Rt(1,{location:d});C=g.record.name,w=Q(mr(p.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&mr(d.params,g.keys.map(H=>H.name))),I=g.stringify(w)}else if("path"in d)I=d.path,g=n.find(H=>H.re.test(I)),g&&(w=g.parse(I),C=g.record.name);else{if(g=p.name?s.get(p.name):n.find(H=>H.re.test(p.path)),!g)throw Rt(1,{location:d,currentLocation:p});C=g.record.name,w=Q({},p.params,d.params),I=g.stringify(w)}const N=[];let q=g;for(;q;)N.unshift(q.record),q=q.parent;return{name:C,path:I,params:w,matched:N,meta:au(N)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function mr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function cu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:uu(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 uu(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 _r(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function au(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function yr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Si(e,t){return t.children.some(n=>n===e||Si(e,n))}const Ii=/#/g,fu=/&/g,du=/\//g,pu=/=/g,hu=/\?/g,Oi=/\+/g,gu=/%5B/g,mu=/%5D/g,Ci=/%5E/g,_u=/%60/g,Ti=/%7B/g,yu=/%7C/g,Mi=/%7D/g,bu=/%20/g;function Ps(e){return encodeURI(""+e).replace(yu,"|").replace(gu,"[").replace(mu,"]")}function vu(e){return Ps(e).replace(Ti,"{").replace(Mi,"}").replace(Ci,"^")}function ns(e){return Ps(e).replace(Oi,"%2B").replace(bu,"+").replace(Ii,"%23").replace(fu,"%26").replace(_u,"`").replace(Ti,"{").replace(Mi,"}").replace(Ci,"^")}function wu(e){return ns(e).replace(pu,"%3D")}function Au(e){return Ps(e).replace(Ii,"%23").replace(hu,"%3F")}function Eu(e){return e==null?"":Au(e).replace(du,"%2F")}function mn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function xu(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(Oi," "),o=i.indexOf("="),c=mn(o<0?i:i.slice(0,o)),l=o<0?null:mn(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 br(e){let t="";for(let n in e){const s=e[n];if(n=wu(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 Pu(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 Ru=Symbol(""),vr=Symbol(""),Rs=Symbol(""),qi=Symbol(""),ss=Symbol("");function Ht(){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 Ge(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,c)=>{const l=p=>{p===!1?c(Rt(4,{from:n,to:t})):p instanceof Error?c(p):Vc(p)?c(Rt(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),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(p=>c(p))})}function Ln(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(Su(c)){const f=(c.__vccOpts||c)[t];f&&r.push(Ge(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=qc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&Ge(g,n,s,i,o)()}))}}return r}function Su(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function wr(e){const t=Be(Rs),n=Be(qi),s=ve(()=>t.resolve(bt(e.to))),r=ve(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],p=n.matched;if(!d||!p.length)return-1;const g=p.findIndex(Pt.bind(null,d));if(g>-1)return g;const w=Ar(l[f-2]);return f>1&&Ar(d)===w&&p[p.length-1].path!==w?p.findIndex(Pt.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&Tu(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&Ei(n.params,s.value.params));function c(l={}){return Cu(l)?t[bt(e.replace)?"replace":"push"](bt(e.to)).catch(Ut):Promise.resolve()}return{route:s,href:ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Iu=ri({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:wr,setup(e,{slots:t}){const n=An(wr(e)),{options:s}=Be(Rs),r=ve(()=>({[Er(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Er(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:wi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Ou=Iu;function Cu(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 Tu(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 Ar(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Er=(e,t,n)=>e??t??n,Mu=ri({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(vr,0),o=ve(()=>{let f=bt(i);const{matched:d}=r.value;let p;for(;(p=d[f])&&!p.components;)f++;return f}),c=ve(()=>r.value.matched[o.value]);cn(vr,ve(()=>o.value+1)),cn(Ru,c),cn(ss,r);const l=ht();return on(()=>[l.value,c.value,e.name],([f,d,p],[g,w,I])=>{d&&(d.instances[p]=f,w&&w!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),f&&d&&(!w||!Pt(d,w)||!g)&&(d.enterCallbacks[p]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,p=c.value,g=p&&p.components[d];if(!g)return xr(n.default,{Component:g,route:f});const w=p.props[d],I=w?w===!0?f.params:typeof w=="function"?w(f):w:null,N=wi(g,Q({},I,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(p.instances[d]=null)},ref:l}));return xr(n.default,{Component:N,route:f})||N}}});function xr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const qu=Mu;function Hu(e){const t=lu(e.routes,e),n=e.parseQuery||xu,s=e.stringifyQuery||br,r=e.history,i=Ht(),o=Ht(),c=Ht(),l=Eo(Qe);let f=Qe;pt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=kn.bind(null,_=>""+_),p=kn.bind(null,Eu),g=kn.bind(null,mn);function w(_,R){let x,O;return Pi(_)?(x=t.getRecordMatcher(_),O=R):O=_,t.addRoute(O,x)}function I(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function C(){return t.getRoutes().map(_=>_.record)}function N(_){return!!t.getRecordMatcher(_)}function q(_,R){if(R=Q({},R||l.value),typeof _=="string"){const h=Nn(n,_,R.path),m=t.resolve({path:h.path},R),y=r.createHref(h.fullPath);return Q(h,m,{params:g(m.params),hash:mn(h.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Nn(n,_.path,R.path).path});else{const h=Q({},_.params);for(const m in h)h[m]==null&&delete h[m];x=Q({},_,{params:p(h)}),R.params=p(R.params)}const O=t.resolve(x,R),W=_.hash||"";O.params=d(g(O.params));const u=Fc(s,Q({},_,{hash:vu(W),path:O.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===br?Pu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Nn(n,_,l.value.path):Q({},_)}function $(_,R){if(f!==_)return Rt(8,{from:R,to:_})}function j(_){return Pe(_)}function se(_){return j(Q(H(_),{replace:!0}))}function ce(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:x}=R;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 Pe(_,R){const x=f=q(_),O=l.value,W=_.state,u=_.force,a=_.replace===!0,h=ce(x);if(h)return Pe(Q(H(h),{state:typeof h=="object"?Q({},W,h.state):W,force:u,replace:a}),R||x);const m=x;m.redirectedFrom=R;let y;return!u&&kc(s,O,x)&&(y=Rt(16,{to:m,from:O}),Ie(O,O,!0,!1)),(y?Promise.resolve(y):Re(m,O)).catch(b=>ke(b)?ke(b,2)?b:ze(b):z(b,m,O)).then(b=>{if(b){if(ke(b,2))return Pe(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:u}),R||m)}else b=Ze(m,O,!0,a,W);return Ke(m,O,b),b})}function je(_,R){const x=$(_,R);return x?Promise.reject(x):Promise.resolve()}function lt(_){const R=at.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Re(_,R){let x;const[O,W,u]=ju(_,R);x=Ln(O.reverse(),"beforeRouteLeave",_,R);for(const h of O)h.leaveGuards.forEach(m=>{x.push(Ge(m,_,R))});const a=je.bind(null,_,R);return x.push(a),re(x).then(()=>{x=[];for(const h of i.list())x.push(Ge(h,_,R));return x.push(a),re(x)}).then(()=>{x=Ln(W,"beforeRouteUpdate",_,R);for(const h of W)h.updateGuards.forEach(m=>{x.push(Ge(m,_,R))});return x.push(a),re(x)}).then(()=>{x=[];for(const h of u)if(h.beforeEnter)if(xe(h.beforeEnter))for(const m of h.beforeEnter)x.push(Ge(m,_,R));else x.push(Ge(h.beforeEnter,_,R));return x.push(a),re(x)}).then(()=>(_.matched.forEach(h=>h.enterCallbacks={}),x=Ln(u,"beforeRouteEnter",_,R),x.push(a),re(x))).then(()=>{x=[];for(const h of o.list())x.push(Ge(h,_,R));return x.push(a),re(x)}).catch(h=>ke(h,8)?h:Promise.reject(h))}function Ke(_,R,x){c.list().forEach(O=>lt(()=>O(_,R,x)))}function Ze(_,R,x,O,W){const u=$(_,R);if(u)return u;const a=R===Qe,h=pt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&h&&h.scroll},W)):r.push(_.fullPath,W)),l.value=_,Ie(_,R,x,a),ze()}let Se;function Ct(){Se||(Se=r.listen((_,R,x)=>{if(!Yt.listening)return;const O=q(_),W=ce(O);if(W){Pe(Q(W,{replace:!0}),O).catch(Ut);return}f=O;const u=l.value;pt&&zc(fr(u.fullPath,x.delta),On()),Re(O,u).catch(a=>ke(a,12)?a:ke(a,2)?(Pe(a.to,O).then(h=>{ke(h,20)&&!x.delta&&x.type===Gt.pop&&r.go(-1,!1)}).catch(Ut),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,u))).then(a=>{a=a||Ze(O,u,!1),a&&(x.delta&&!ke(a,8)?r.go(-x.delta,!1):x.type===Gt.pop&&ke(a,20)&&r.go(-1,!1)),Ke(O,u,a)}).catch(Ut)}))}let ct=Ht(),te=Ht(),G;function z(_,R,x){ze(_);const O=te.list();return O.length?O.forEach(W=>W(_,R,x)):console.error(_),Promise.reject(_)}function Fe(){return G&&l.value!==Qe?Promise.resolve():new Promise((_,R)=>{ct.add([_,R])})}function ze(_){return G||(G=!_,Ct(),ct.list().forEach(([R,x])=>_?x(_):R()),ct.reset()),_}function Ie(_,R,x,O){const{scrollBehavior:W}=e;if(!pt||!W)return Promise.resolve();const u=!x&&Wc(fr(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Vr().then(()=>W(_,R,u)).then(a=>a&&Kc(a)).catch(a=>z(a,_,R))}const ae=_=>r.go(_);let ut;const at=new Set,Yt={currentRoute:l,listening:!0,addRoute:w,removeRoute:I,hasRoute:N,getRoutes:C,resolve:q,options:e,push:j,replace:se,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:te.add,isReady:Fe,install(_){const R=this;_.component("RouterLink",Ou),_.component("RouterView",qu),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>bt(l)}),pt&&!ut&&l.value===Qe&&(ut=!0,j(r.location).catch(W=>{}));const x={};for(const W in Qe)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(Rs,R),_.provide(qi,$r(x)),_.provide(ss,l);const O=_.unmount;at.add(_),_.unmount=function(){at.delete(_),at.size<1&&(f=Qe,Se&&Se(),Se=null,l.value=Qe,ut=!1,G=!1),O()}}};function re(_){return _.reduce((R,x)=>R.then(()=>lt(x)),Promise.resolve())}return Yt}function ju(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=>Pt(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>Pt(f,l))||r.push(l))}return[n,s,r]}const Fu=Hu({history:Yc("/"),routes:[]}),Ss=nc(Mc);Ss.use(oc());Ss.use(Fu);Ss.mount("#app");
9
+ */const Ct=typeof window<"u";function yu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const J=Object.assign;function Jn(e,t){const n={};for(const s in t){const r=t[s];n[s]=qe(r)?r.map(e):e(r)}return n}const Gt=()=>{},qe=Array.isArray,vu=/\/$/,bu=e=>e.replace(vu,"");function Yn(e,t,n="/"){let s,r={},o="",i="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),o=t.slice(l+1,c>-1?c:t.length),r=e(o)),c>-1&&(s=s||t.slice(0,c),i=t.slice(c,t.length)),s=xu(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Au(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Or(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function wu(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Lt(t.matched[s],n.matched[r])&&Vo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Lt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Vo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Eu(e[n],t[n]))return!1;return!0}function Eu(e,t){return qe(e)?Tr(e,t):qe(t)?Tr(t,e):e===t}function Tr(e,t){return qe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function xu(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 o=n.length-1,i,c;for(i=0;i<s.length;i++)if(c=s[i],c!==".")if(c==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var on;(function(e){e.pop="pop",e.push="push"})(on||(on={}));var Jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Jt||(Jt={}));function Cu(e){if(!e)if(Ct){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),bu(e)}const Su=/^[^#]+#/;function Iu(e,t){return e.replace(Su,"#")+t}function Pu(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 Bn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ru(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=Pu(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 Mr(e,t){return(history.state?history.state.position-t:-1)+e}const gs=new Map;function Ou(e,t){gs.set(e,t)}function Tu(e){const t=gs.get(e);return gs.delete(e),t}let Mu=()=>location.protocol+"//"+location.host;function Go(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let c=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),Or(l,"")}return Or(n,e)+s+r}function ku(e,t,n,s){let r=[],o=[],i=null;const c=({state:h})=>{const y=Go(e,location),S=n.value,E=t.value;let T=0;if(h){if(n.value=y,t.value=h,i&&i===S){i=null;return}T=E?h.position-E.position:0}else s(y);r.forEach(O=>{O(n.value,S,{delta:T,type:on.pop,direction:T?T>0?Jt.forward:Jt.back:Jt.unknown})})};function l(){i=n.value}function a(h){r.push(h);const y=()=>{const S=r.indexOf(h);S>-1&&r.splice(S,1)};return o.push(y),y}function f(){const{history:h}=window;h.state&&h.replaceState(J({},h.state,{scroll:Bn()}),"")}function p(){for(const h of o)h();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",f)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",f,{passive:!0}),{pauseListeners:l,listen:a,destroy:p}}function kr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Bn():null}}function Hu(e){const{history:t,location:n}=window,s={value:Go(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,a,f){const p=e.indexOf("#"),h=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:Mu()+e+l;try{t[f?"replaceState":"pushState"](a,"",h),r.value=a}catch(y){console.error(y),n[f?"replace":"assign"](h)}}function i(l,a){const f=J({},t.state,kr(r.value.back,l,r.value.forward,!0),a,{position:r.value.position});o(l,f,!0),s.value=l}function c(l,a){const f=J({},r.value,t.state,{forward:l,scroll:Bn()});o(f.current,f,!0);const p=J({},kr(s.value,l,null),{position:f.position+1},a);o(l,p,!1),s.value=l}return{location:s,state:r,push:c,replace:i}}function Lu(e){e=Cu(e);const t=Hu(e),n=ku(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=J({location:"",base:e,go:s,createHref:Iu.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 qu(e){return typeof e=="string"||e&&typeof e=="object"}function Jo(e){return typeof e=="string"||typeof e=="symbol"}const st={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Yo=Symbol("");var Hr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Hr||(Hr={}));function qt(e,t){return J(new Error,{type:e,[Yo]:!0},t)}function Ke(e,t){return e instanceof Error&&Yo in e&&(t==null||!!(e.type&t))}const Lr="[^/]+?",Fu={sensitive:!1,strict:!1,start:!0,end:!0},Nu=/[.+*?^${}()[\]/\\]/g;function Bu(e,t){const n=J({},Fu,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const f=a.length?[]:[90];n.strict&&!a.length&&(r+="/");for(let p=0;p<a.length;p++){const h=a[p];let y=40+(n.sensitive?.25:0);if(h.type===0)p||(r+="/"),r+=h.value.replace(Nu,"\\$&"),y+=40;else if(h.type===1){const{value:S,repeatable:E,optional:T,regexp:O}=h;o.push({name:S,repeatable:E,optional:T});const P=O||Lr;if(P!==Lr){y+=10;try{new RegExp(`(${P})`)}catch(k){throw new Error(`Invalid custom RegExp for param "${S}" (${P}): `+k.message)}}let j=E?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;p||(j=T&&a.length<2?`(?:/${j})`:"/"+j),T&&(j+="?"),r+=j,y+=20,T&&(y+=-8),E&&(y+=-20),P===".*"&&(y+=-50)}f.push(y)}s.push(f)}if(n.strict&&n.end){const a=s.length-1;s[a][s[a].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function c(a){const f=a.match(i),p={};if(!f)return null;for(let h=1;h<f.length;h++){const y=f[h]||"",S=o[h-1];p[S.name]=y&&S.repeatable?y.split("/"):y}return p}function l(a){let f="",p=!1;for(const h of e){(!p||!f.endsWith("/"))&&(f+="/"),p=!1;for(const y of h)if(y.type===0)f+=y.value;else if(y.type===1){const{value:S,repeatable:E,optional:T}=y,O=S in a?a[S]:"";if(qe(O)&&!E)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const P=qe(O)?O.join("/"):O;if(!P)if(T)h.length<2&&(f.endsWith("/")?f=f.slice(0,-1):p=!0);else throw new Error(`Missing required param "${S}"`);f+=P}}return f||"/"}return{re:i,score:s,keys:o,parse:c,stringify:l}}function ju(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 Uu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=ju(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(qr(s))return 1;if(qr(r))return-1}return r.length-s.length}function qr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Du={type:0,value:""},$u=/[a-zA-Z0-9_]/;function Ku(e){if(!e)return[[]];if(e==="/")return[[Du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${a}": ${y}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let c=0,l,a="",f="";function p(){a&&(n===0?o.push({type:0,value:a}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:a,regexp:f,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),a="")}function h(){a+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(a&&p(),i()):l===":"?(p(),n=1):h();break;case 4:h(),n=s;break;case 1:l==="("?n=2:$u.test(l)?h():(p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?f[f.length-1]=="\\"?f=f.slice(0,-1)+l:n=3:f+=l;break;case 3:p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,f="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${a}"`),p(),i(),r}function zu(e,t,n){const s=Bu(Ku(e.path),n),r=J(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Wu(e,t){const n=[],s=new Map;t=Br({strict:!1,end:!0,sensitive:!1},t);function r(f){return s.get(f)}function o(f,p,h){const y=!h,S=Qu(f);S.aliasOf=h&&h.record;const E=Br(t,f),T=[S];if("alias"in f){const j=typeof f.alias=="string"?[f.alias]:f.alias;for(const k of j)T.push(J({},S,{components:h?h.record.components:S.components,path:k,aliasOf:h?h.record:S}))}let O,P;for(const j of T){const{path:k}=j;if(p&&k[0]!=="/"){const ee=p.record.path,le=ee[ee.length-1]==="/"?"":"/";j.path=p.record.path+(k&&le+k)}if(O=zu(j,p,E),h?h.alias.push(O):(P=P||O,P!==O&&P.alias.push(O),y&&f.name&&!Nr(O)&&i(f.name)),S.children){const ee=S.children;for(let le=0;le<ee.length;le++)o(ee[le],O,h&&h.children[le])}h=h||O,(O.record.components&&Object.keys(O.record.components).length||O.record.name||O.record.redirect)&&l(O)}return P?()=>{i(P)}:Gt}function i(f){if(Jo(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function c(){return n}function l(f){let p=0;for(;p<n.length&&Uu(f,n[p])>=0&&(f.record.path!==n[p].record.path||!Xo(f,n[p]));)p++;n.splice(p,0,f),f.record.name&&!Nr(f)&&s.set(f.record.name,f)}function a(f,p){let h,y={},S,E;if("name"in f&&f.name){if(h=s.get(f.name),!h)throw qt(1,{location:f});E=h.record.name,y=J(Fr(p.params,h.keys.filter(P=>!P.optional).map(P=>P.name)),f.params&&Fr(f.params,h.keys.map(P=>P.name))),S=h.stringify(y)}else if("path"in f)S=f.path,h=n.find(P=>P.re.test(S)),h&&(y=h.parse(S),E=h.record.name);else{if(h=p.name?s.get(p.name):n.find(P=>P.re.test(p.path)),!h)throw qt(1,{location:f,currentLocation:p});E=h.record.name,y=J({},p.params,f.params),S=h.stringify(y)}const T=[];let O=h;for(;O;)T.unshift(O.record),O=O.parent;return{name:E,path:S,params:y,matched:T,meta:Gu(T)}}return e.forEach(f=>o(f)),{addRoute:o,resolve:a,removeRoute:i,getRoutes:c,getRecordMatcher:r}}function Fr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Qu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Vu(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 Vu(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 Nr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Gu(e){return e.reduce((t,n)=>J(t,n.meta),{})}function Br(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Xo(e,t){return t.children.some(n=>n===e||Xo(e,n))}const Zo=/#/g,Ju=/&/g,Yu=/\//g,Xu=/=/g,Zu=/\?/g,ei=/\+/g,ea=/%5B/g,ta=/%5D/g,ti=/%5E/g,na=/%60/g,ni=/%7B/g,sa=/%7C/g,si=/%7D/g,ra=/%20/g;function Us(e){return encodeURI(""+e).replace(sa,"|").replace(ea,"[").replace(ta,"]")}function oa(e){return Us(e).replace(ni,"{").replace(si,"}").replace(ti,"^")}function ms(e){return Us(e).replace(ei,"%2B").replace(ra,"+").replace(Zo,"%23").replace(Ju,"%26").replace(na,"`").replace(ni,"{").replace(si,"}").replace(ti,"^")}function ia(e){return ms(e).replace(Xu,"%3D")}function la(e){return Us(e).replace(Zo,"%23").replace(Zu,"%3F")}function ca(e){return e==null?"":la(e).replace(Yu,"%2F")}function Cn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ua(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 o=s[r].replace(ei," "),i=o.indexOf("="),c=Cn(i<0?o:o.slice(0,i)),l=i<0?null:Cn(o.slice(i+1));if(c in t){let a=t[c];qe(a)||(a=t[c]=[a]),a.push(l)}else t[c]=l}return t}function jr(e){let t="";for(let n in e){const s=e[n];if(n=ia(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(qe(s)?s.map(o=>o&&ms(o)):[s&&ms(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function aa(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=qe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const fa=Symbol(""),Ur=Symbol(""),Ds=Symbol(""),ri=Symbol(""),_s=Symbol("");function Kt(){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 ot(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,c)=>{const l=p=>{p===!1?c(qt(4,{from:n,to:t})):p instanceof Error?c(p):qu(p)?c(qt(2,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),i())},a=e.call(s&&s.instances[r],t,n,l);let f=Promise.resolve(a);e.length<3&&(f=f.then(l)),f.catch(p=>c(p))})}function Xn(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let c=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(da(c)){const a=(c.__vccOpts||c)[t];a&&r.push(ot(a,n,s,o,i))}else{let l=c();r.push(()=>l.then(a=>{if(!a)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const f=yu(a)?a.default:a;o.components[i]=f;const h=(f.__vccOpts||f)[t];return h&&ot(h,n,s,o,i)()}))}}return r}function da(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Dr(e){const t=Ve(Ds),n=Ve(ri),s=Me(()=>t.resolve(Ot(e.to))),r=Me(()=>{const{matched:l}=s.value,{length:a}=l,f=l[a-1],p=n.matched;if(!f||!p.length)return-1;const h=p.findIndex(Lt.bind(null,f));if(h>-1)return h;const y=$r(l[a-2]);return a>1&&$r(f)===y&&p[p.length-1].path!==y?p.findIndex(Lt.bind(null,l[a-2])):h}),o=Me(()=>r.value>-1&&ma(n.params,s.value.params)),i=Me(()=>r.value>-1&&r.value===n.matched.length-1&&Vo(n.params,s.value.params));function c(l={}){return ga(l)?t[Ot(e.replace)?"replace":"push"](Ot(e.to)).catch(Gt):Promise.resolve()}return{route:s,href:Me(()=>s.value.href),isActive:o,isExactActive:i,navigate:c}}const pa=Oo({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:Dr,setup(e,{slots:t}){const n=On(Dr(e)),{options:s}=Ve(Ds),r=Me(()=>({[Kr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Kr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ns("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),ha=pa;function ga(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 ma(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(!qe(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function $r(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Kr=(e,t,n)=>e??t??n,_a=Oo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ve(_s),r=Me(()=>e.route||s.value),o=Ve(Ur,0),i=Me(()=>{let a=Ot(o);const{matched:f}=r.value;let p;for(;(p=f[a])&&!p.components;)a++;return a}),c=Me(()=>r.value.matched[i.value]);_n(Ur,Me(()=>i.value+1)),_n(fa,c),_n(_s,r);const l=ht();return gn(()=>[l.value,c.value,e.name],([a,f,p],[h,y,S])=>{f&&(f.instances[p]=a,y&&y!==f&&a&&a===h&&(f.leaveGuards.size||(f.leaveGuards=y.leaveGuards),f.updateGuards.size||(f.updateGuards=y.updateGuards))),a&&f&&(!y||!Lt(f,y)||!h)&&(f.enterCallbacks[p]||[]).forEach(E=>E(a))},{flush:"post"}),()=>{const a=r.value,f=e.name,p=c.value,h=p&&p.components[f];if(!h)return zr(n.default,{Component:h,route:a});const y=p.props[f],S=y?y===!0?a.params:typeof y=="function"?y(a):y:null,T=Ns(h,J({},S,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(p.instances[f]=null)},ref:l}));return zr(n.default,{Component:T,route:a})||T}}});function zr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ya=_a;function va(e){const t=Wu(e.routes,e),n=e.parseQuery||ua,s=e.stringifyQuery||jr,r=e.history,o=Kt(),i=Kt(),c=Kt(),l=Gi(st);let a=st;Ct&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const f=Jn.bind(null,_=>""+_),p=Jn.bind(null,ca),h=Jn.bind(null,Cn);function y(_,R){let C,L;return Jo(_)?(C=t.getRecordMatcher(_),L=R):L=_,t.addRoute(L,C)}function S(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function E(){return t.getRoutes().map(_=>_.record)}function T(_){return!!t.getRecordMatcher(_)}function O(_,R){if(R=J({},R||l.value),typeof _=="string"){const g=Yn(n,_,R.path),m=t.resolve({path:g.path},R),v=r.createHref(g.fullPath);return J(g,m,{params:h(m.params),hash:Cn(g.hash),redirectedFrom:void 0,href:v})}let C;if("path"in _)C=J({},_,{path:Yn(n,_.path,R.path).path});else{const g=J({},_.params);for(const m in g)g[m]==null&&delete g[m];C=J({},_,{params:p(g)}),R.params=p(R.params)}const L=t.resolve(C,R),V=_.hash||"";L.params=f(h(L.params));const u=Au(s,J({},_,{hash:oa(V),path:L.path})),d=r.createHref(u);return J({fullPath:u,hash:V,query:s===jr?aa(_.query):_.query||{}},L,{redirectedFrom:void 0,href:d})}function P(_){return typeof _=="string"?Yn(n,_,l.value.path):J({},_)}function j(_,R){if(a!==_)return qt(8,{from:R,to:_})}function k(_){return pe(_)}function ee(_){return k(J(P(_),{replace:!0}))}function le(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:C}=R;let L=typeof C=="function"?C(_):C;return typeof L=="string"&&(L=L.includes("?")||L.includes("#")?L=P(L):{path:L},L.params={}),J({query:_.query,hash:_.hash,params:"path"in L?{}:_.params},L)}}function pe(_,R){const C=a=O(_),L=l.value,V=_.state,u=_.force,d=_.replace===!0,g=le(C);if(g)return pe(J(P(g),{state:typeof g=="object"?J({},V,g.state):V,force:u,replace:d}),R||C);const m=C;m.redirectedFrom=R;let v;return!u&&wu(s,L,C)&&(v=qt(16,{to:m,from:L}),Fe(L,L,!0,!1)),(v?Promise.resolve(v):Y(m,L)).catch(b=>Ke(b)?Ke(b,2)?b:Xe(b):Q(b,m,L)).then(b=>{if(b){if(Ke(b,2))return pe(J({replace:d},P(b.to),{state:typeof b.to=="object"?J({},V,b.to.state):V,force:u}),R||m)}else b=H(m,L,!0,d,V);return fe(m,L,b),b})}function U(_,R){const C=j(_,R);return C?Promise.reject(C):Promise.resolve()}function ne(_){const R=wt.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Y(_,R){let C;const[L,V,u]=ba(_,R);C=Xn(L.reverse(),"beforeRouteLeave",_,R);for(const g of L)g.leaveGuards.forEach(m=>{C.push(ot(m,_,R))});const d=U.bind(null,_,R);return C.push(d),he(C).then(()=>{C=[];for(const g of o.list())C.push(ot(g,_,R));return C.push(d),he(C)}).then(()=>{C=Xn(V,"beforeRouteUpdate",_,R);for(const g of V)g.updateGuards.forEach(m=>{C.push(ot(m,_,R))});return C.push(d),he(C)}).then(()=>{C=[];for(const g of u)if(g.beforeEnter)if(qe(g.beforeEnter))for(const m of g.beforeEnter)C.push(ot(m,_,R));else C.push(ot(g.beforeEnter,_,R));return C.push(d),he(C)}).then(()=>(_.matched.forEach(g=>g.enterCallbacks={}),C=Xn(u,"beforeRouteEnter",_,R),C.push(d),he(C))).then(()=>{C=[];for(const g of i.list())C.push(ot(g,_,R));return C.push(d),he(C)}).catch(g=>Ke(g,8)?g:Promise.reject(g))}function fe(_,R,C){c.list().forEach(L=>ne(()=>L(_,R,C)))}function H(_,R,C,L,V){const u=j(_,R);if(u)return u;const d=R===st,g=Ct?history.state:{};C&&(L||d?r.replace(_.fullPath,J({scroll:d&&g&&g.scroll},V)):r.push(_.fullPath,V)),l.value=_,Fe(_,R,C,d),Xe()}let G;function _e(){G||(G=r.listen((_,R,C)=>{if(!ln.listening)return;const L=O(_),V=le(L);if(V){pe(J(V,{replace:!0}),L).catch(Gt);return}a=L;const u=l.value;Ct&&Ou(Mr(u.fullPath,C.delta),Bn()),Y(L,u).catch(d=>Ke(d,12)?d:Ke(d,2)?(pe(d.to,L).then(g=>{Ke(g,20)&&!C.delta&&C.type===on.pop&&r.go(-1,!1)}).catch(Gt),Promise.reject()):(C.delta&&r.go(-C.delta,!1),Q(d,L,u))).then(d=>{d=d||H(L,u,!1),d&&(C.delta&&!Ke(d,8)?r.go(-C.delta,!1):C.type===on.pop&&Ke(d,20)&&r.go(-1,!1)),fe(L,u,d)}).catch(Gt)}))}let De=Kt(),ie=Kt(),Z;function Q(_,R,C){Xe(_);const L=ie.list();return L.length?L.forEach(V=>V(_,R,C)):console.error(_),Promise.reject(_)}function $e(){return Z&&l.value!==st?Promise.resolve():new Promise((_,R)=>{De.add([_,R])})}function Xe(_){return Z||(Z=!_,_e(),De.list().forEach(([R,C])=>_?C(_):R()),De.reset()),_}function Fe(_,R,C,L){const{scrollBehavior:V}=e;if(!Ct||!V)return Promise.resolve();const u=!C&&Tu(Mr(_.fullPath,0))||(L||!C)&&history.state&&history.state.scroll||null;return vo().then(()=>V(_,R,u)).then(d=>d&&Ru(d)).catch(d=>Q(d,_,R))}const ve=_=>r.go(_);let At;const wt=new Set,ln={currentRoute:l,listening:!0,addRoute:y,removeRoute:S,hasRoute:T,getRoutes:E,resolve:O,options:e,push:k,replace:ee,go:ve,back:()=>ve(-1),forward:()=>ve(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:ie.add,isReady:$e,install(_){const R=this;_.component("RouterLink",ha),_.component("RouterView",ya),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Ot(l)}),Ct&&!At&&l.value===st&&(At=!0,k(r.location).catch(V=>{}));const C={};for(const V in st)Object.defineProperty(C,V,{get:()=>l.value[V],enumerable:!0});_.provide(Ds,R),_.provide(ri,ao(C)),_.provide(_s,l);const L=_.unmount;wt.add(_),_.unmount=function(){wt.delete(_),wt.size<1&&(a=st,G&&G(),G=null,l.value=st,At=!1,Z=!1),L()}}};function he(_){return _.reduce((R,C)=>R.then(()=>ne(C)),Promise.resolve())}return ln}function ba(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const c=t.matched[i];c&&(e.matched.find(a=>Lt(a,c))?s.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(a=>Lt(a,l))||r.push(l))}return[n,s,r]}const Aa=va({history:Lu("/"),routes:[]}),$s=qc(_u);$s.use(jc());$s.use(Aa);$s.mount("#app");
@@ -3,6 +3,7 @@ import { ref, onMounted , computed } from 'vue'
3
3
 
4
4
  import appsObserver from '../../AppsObserver/AppsObserver'
5
5
  import { availableEvents } from '../../EvmuxAppsApi/EvmuxAppsApi'
6
+ import { availableRequests } from '../../AppsObserver/AppsObserver'
6
7
 
7
8
  import { getRandomComments } from './testData/comments'
8
9
 
@@ -19,21 +20,63 @@ appsDataManager.updateUserAppInstance(userAppInstanceId, { id: userAppInstanceId
19
20
  const wudgetIframe = ref(null)
20
21
  const settingsIframe = ref(null)
21
22
 
22
- const fastActionButtons = ref([])
23
- const fastActionGroupName = ref('')
23
+ const showSettings = ref(false)
24
+ const settingsLoaded = ref(false)
25
+
26
+ const fastActionButtonGroup = ref(null)
24
27
 
25
28
  appsObserver._eventHandler.subscribe("fastActionButtonsUpdated", (eventName, requestObj) => {
26
- fastActionButtons.value = requestObj.data.buttonsArray || []
27
- fastActionGroupName.value = requestObj.data.parameters?.groupName || ''
29
+ const buttons = requestObj.data.buttonsArray || []
30
+ if (!buttons.length) {
31
+ fastActionButtonGroup.value = null
32
+ return
33
+ }
34
+ const hasSingleButton = buttons.length === 1
35
+ const singleBtnColor = hasSingleButton ? (buttons[0]?.uiColor || null) : null
36
+ fastActionButtonGroup.value = {
37
+ componentId: requestObj.componentId,
38
+ userAppInstanceId: requestObj.userAppInstanceId,
39
+ buttons: buttons,
40
+ group: requestObj.data.parameters || {},
41
+ uiColor: singleBtnColor,
42
+ }
28
43
  })
29
44
 
30
- function onFastActionButtonClick(button) {
31
- appsObserver.raiseEvent(availableEvents.fastActionButton, { fastAccessButton: button })
45
+ function clickOnFastAccessButton(buttonGroup, button) {
46
+ let data = {
47
+ fastAccessButton: button,
48
+ userAppInstanceId: buttonGroup.userAppInstanceId,
49
+ componentId: buttonGroup.componentId,
50
+ }
51
+ appsObserver._raiseEventForSpecificUserAppInstance(buttonGroup.userAppInstanceId, availableEvents.fastActionButton, data)
52
+ appsObserver._eventHandler.publish("updateEverywhere", {
53
+ request: availableRequests.raiseFastAccessButtonEvent,
54
+ data,
55
+ })
56
+ }
57
+
58
+ function openSettings() {
59
+ if (!showSettings.value) {
60
+ settingsLoaded.value = false
61
+ showSettings.value = true
62
+ }
63
+ }
64
+
65
+ function closeSettings() {
66
+ showSettings.value = false
67
+ }
68
+
69
+ function onSettingsIframeLoad() {
70
+ settingsLoaded.value = true
71
+ }
72
+
73
+ function onWidgetDblClick() {
74
+ openSettings()
32
75
  }
33
76
 
34
77
  onMounted(() => {
35
78
  wudgetIframe.value.src = `widget.html?appInstanceId=${userAppInstanceId}&compId=${componentId}`;
36
- settingsIframe.value.src = `settings.html?appInstanceId=${userAppInstanceId}&compId=settings_${componentId}`;
79
+ settingsIframe.value.src = `settings.html?appInstanceId=${userAppInstanceId}&compId=settings_${componentId}&styleVersion=light`;
37
80
  })
38
81
 
39
82
  function raiseCommentsEvent(event) {
@@ -43,79 +86,307 @@ function raiseCommentsEvent(event) {
43
86
  </script>
44
87
 
45
88
  <template>
46
- <div>
47
- <div style="display: flex;">
48
- <div class="panel" >
49
- Settings (src/settings.html):<br />
50
- <iframe ref="settingsIframe" width="500" height="500" style="resize:both"></iframe>
51
- </div>
52
-
53
- <div style="width: 50px"></div>
89
+ <div class="test_holder_root">
90
+ <div class="test_holder_main">
91
+ <!-- Widget area -->
92
+ <div class="widget_area">
93
+ <div v-if="fastActionButtonGroup" class="apps_fast_access_wr">
94
+ <!-- Single button: click directly -->
95
+ <div v-if="fastActionButtonGroup.buttons.length === 1"
96
+ class="apps_fast_access_btn"
97
+ :class="[fastActionButtonGroup.uiColor ? 'uiColor' : '']"
98
+ :style="{backgroundColor: fastActionButtonGroup.uiColor || ''}"
99
+ :title="fastActionButtonGroup.buttons[0].buttonText"
100
+ @click="clickOnFastAccessButton(fastActionButtonGroup, fastActionButtonGroup.buttons[0])"
101
+ v-html="fastActionButtonGroup.buttons[0].icon || fastActionButtonGroup.group.groupName?.slice(0,1) || '?'"
102
+ ></div>
54
103
 
104
+ <!-- Multiple buttons: hover to show dropdown -->
105
+ <div v-else
106
+ class="apps_fast_access_btn"
107
+ :title="fastActionButtonGroup.group.groupName || 'Actions'">
108
+ <div v-html="fastActionButtonGroup.group.groupIcon || fastActionButtonGroup.group.groupName?.slice(0,1) || '?'"
109
+ style="display: flex; align-items: center; justify-content: center;"></div>
110
+ <div class="apps_fast_access_btn_drop">
111
+ <div class="apps_fast_access_btn_drop_btn"
112
+ v-for="btn in fastActionButtonGroup.buttons"
113
+ :key="btn.buttonId"
114
+ :class="[btn.uiColor ? 'uiColor' : '']"
115
+ :style="{backgroundColor: btn.uiColor || ''}"
116
+ @click="clickOnFastAccessButton(fastActionButtonGroup, btn)"
117
+ >{{ btn.buttonText.length > 19 ? btn.buttonText.slice(0, 19) + '...' : btn.buttonText }}</div>
118
+ </div>
119
+ </div>
120
+ </div>
55
121
 
56
- <div class="panel">
57
- App (src/widget.html):
58
- <div class="resizer grayone">
59
- <iframe ref="wudgetIframe" width="100%" height="100%"></iframe>
122
+ <div class="widget_container grayone" @dblclick="onWidgetDblClick">
123
+ <iframe ref="wudgetIframe" width="100%" height="100%"></iframe>
60
124
  </div>
125
+ <div class="widget_hint">Double-click widget to open settings</div>
61
126
  </div>
62
- </div>
63
127
 
64
- <div v-if="fastActionButtons.length" class="fast-action-panel">
65
- <div class="fast-action-title">{{ fastActionGroupName || 'Fast Action Buttons' }}</div>
66
- <div class="fast-action-buttons">
67
- <button
68
- v-for="btn in fastActionButtons"
69
- :key="btn.buttonId"
70
- class="fast-action-btn"
71
- :style="btn.uiColor ? { borderColor: btn.uiColor, boxShadow: '0 0 0 1px ' + btn.uiColor } : {}"
72
- @click="onFastActionButtonClick(btn)"
73
- >
74
- {{ btn.buttonText }}
75
- </button>
76
- </div>
128
+ <!-- Settings sidebar -->
129
+ <transition name="settings_slide">
130
+ <div v-if="showSettings" class="settings_sidebar light">
131
+ <div class="chooser_block_header">
132
+ <span class="chooser_close" @click="closeSettings">
133
+ <svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg">
134
+ <path d="M6 1L1 6L6 11" stroke="#676778" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
135
+ </svg>
136
+ Back
137
+ </span>
138
+ </div>
139
+ <iframe ref="settingsIframe"
140
+ v-show="settingsLoaded"
141
+ allow="clipboard-write"
142
+ @load="onSettingsIframeLoad"
143
+ class="settings_iframe"></iframe>
144
+ <div v-if="!settingsLoaded" class="settings_loader_wr">
145
+ <svg class="app_settings_iframe_loader" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12">
146
+ <defs>
147
+ <linearGradient id="settingsLoadGrad" x1="6" x2="6" y2="12" gradientUnits="userSpaceOnUse">
148
+ <stop offset="0" stop-color="#0096ff" stop-opacity="0"/>
149
+ <stop offset="0.15" stop-color="#0096ff" stop-opacity="0.19"/>
150
+ <stop offset="0.44" stop-color="#0096ff" stop-opacity="0.72"/>
151
+ <stop offset="1" stop-color="#0096ff"/>
152
+ </linearGradient>
153
+ </defs>
154
+ <path style="fill:url(#settingsLoadGrad);" d="M6,12A6,6,0,0,1,0,6,1,1,0,0,1,2,6,4,4,0,1,0,6,2,1,1,0,0,1,6,0,6,6,0,0,1,6,12Z"/>
155
+ </svg>
156
+ </div>
157
+ </div>
158
+ </transition>
77
159
  </div>
78
-
79
160
  </div>
80
161
  </template>
81
162
 
82
163
  <style scoped>
83
- .resizer { display:flex; margin:0; padding:0; resize:both; overflow:hidden }
84
- .resizer > .resized { flex-grow:1; margin:0; padding:0; border:0 }
85
- .grayone { background:#cccccc; border:1px dashed black; height: 500px; width: 500px; }
86
- .panel {
87
- border: solid 1px #cccccc;
88
- }
89
- .fast-action-panel {
90
- margin-top: 20px;
91
- padding: 12px;
92
- border: solid 1px #cccccc;
93
- border-radius: 4px;
94
- }
95
- .fast-action-title {
96
- font-weight: bold;
97
- margin-bottom: 10px;
98
- font-size: 14px;
99
- color: #333;
100
- }
101
- .fast-action-buttons {
102
- display: flex;
103
- flex-wrap: wrap;
104
- gap: 8px;
164
+ .test_holder_root {
165
+ padding: 20px;
166
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
167
+ }
168
+ .test_holder_main {
169
+ display: flex;
170
+ gap: 0;
171
+ }
172
+ .widget_area {
173
+ flex: 1 1 auto;
174
+ }
175
+ .widget_container {
176
+ width: 500px;
177
+ height: 500px;
178
+ resize: both;
179
+ overflow: hidden;
180
+ display: flex;
181
+ margin: 0;
182
+ padding: 0;
183
+ }
184
+ .widget_container iframe {
185
+ flex: 1;
186
+ border: 0;
187
+ }
188
+ .grayone {
189
+ background: #cccccc;
190
+ border: 1px dashed #999;
191
+ }
192
+ .widget_hint {
193
+ margin-top: 6px;
194
+ font-size: 12px;
195
+ color: #999;
196
+ }
197
+
198
+ /* Settings sidebar - studio style */
199
+ .settings_sidebar {
200
+ flex: 0 0 330px;
201
+ width: 330px;
202
+ height: 560px;
203
+ background-color: #fff;
204
+ display: flex;
205
+ flex-direction: column;
206
+ position: relative;
207
+ overflow: hidden;
208
+ border-radius: 10px;
209
+ box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
210
+ border: 1px solid #e6e6ef;
211
+ margin-left: 16px;
212
+ }
213
+ .chooser_block_header {
214
+ display: flex;
215
+ align-items: center;
216
+ justify-content: space-between;
217
+ padding: 15px 13px;
218
+ flex: 0 0 auto;
219
+ }
220
+ .chooser_close {
221
+ display: flex;
222
+ align-items: center;
223
+ justify-content: center;
224
+ gap: 6px;
225
+ border-radius: 10px;
226
+ height: 36px;
227
+ min-width: 80px;
228
+ padding: 0 16px;
229
+ font-weight: 500;
230
+ font-size: 13px;
231
+ cursor: pointer;
232
+ color: #676778;
233
+ background-color: #f5f5fa;
234
+ border: none;
235
+ transition: background-color 0.15s;
236
+ }
237
+ .chooser_close:hover {
238
+ background-color: #ededf4;
239
+ }
240
+ .settings_iframe {
241
+ width: 100%;
242
+ flex: 1 1 auto;
243
+ border: none;
244
+ }
245
+ .settings_loader_wr {
246
+ flex: 1;
247
+ display: flex;
248
+ align-items: center;
249
+ justify-content: center;
250
+ }
251
+ .app_settings_iframe_loader {
252
+ width: 22px;
253
+ height: 22px;
254
+ animation: spin_loading 2s linear infinite;
255
+ }
256
+ @keyframes spin_loading {
257
+ from { transform: rotate(0deg); }
258
+ to { transform: rotate(360deg); }
259
+ }
260
+
261
+ /* Slide transition */
262
+ .settings_slide-enter-active {
263
+ animation: slideIn 0.35s ease-in-out;
264
+ }
265
+ .settings_slide-leave-active {
266
+ animation: slideOut 0.35s ease-in-out;
267
+ }
268
+ @keyframes slideIn {
269
+ from {
270
+ opacity: 0;
271
+ transform: translateX(40px);
105
272
  }
106
- .fast-action-btn {
107
- padding: 8px 16px;
108
- border: 1px solid #666;
109
- border-radius: 4px;
110
- background: #f5f5f5;
111
- cursor: pointer;
112
- font-size: 13px;
113
- transition: background 0.15s;
273
+ to {
274
+ opacity: 1;
275
+ transform: translateX(0);
114
276
  }
115
- .fast-action-btn:hover {
116
- background: #e0e0e0;
277
+ }
278
+ @keyframes slideOut {
279
+ from {
280
+ opacity: 1;
281
+ transform: translateX(0);
117
282
  }
118
- .fast-action-btn:active {
119
- background: #d0d0d0;
283
+ to {
284
+ opacity: 0;
285
+ transform: translateX(40px);
120
286
  }
287
+ }
288
+ </style>
289
+
290
+ <style>
291
+ .apps_fast_access_wr {
292
+ display: flex;
293
+ padding: 6px 0;
294
+ }
295
+ .apps_fast_access_btn {
296
+ flex: 0 0 30px;
297
+ width: 30px;
298
+ height: 30px;
299
+ border-radius: 6px;
300
+ display: flex;
301
+ align-items: center;
302
+ justify-content: center;
303
+ font-size: 16px;
304
+ font-weight: 600;
305
+ position: relative;
306
+ cursor: pointer;
307
+ padding-bottom: 1px;
308
+ background-color: #fff;
309
+ color: #676777;
310
+ border: 1px solid #e6e6ef;
311
+ }
312
+ .apps_fast_access_btn svg {
313
+ width: 22px;
314
+ height: 22px;
315
+ }
316
+ .apps_fast_access_btn svg polygon,
317
+ .apps_fast_access_btn svg path,
318
+ .apps_fast_access_btn svg circle {
319
+ fill: #676777;
320
+ }
321
+ .apps_fast_access_btn.uiColor {
322
+ color: #fff !important;
323
+ border-color: transparent;
324
+ }
325
+ .apps_fast_access_btn.uiColor svg polygon,
326
+ .apps_fast_access_btn.uiColor svg path,
327
+ .apps_fast_access_btn.uiColor svg circle {
328
+ fill: #fff !important;
329
+ }
330
+ .apps_fast_access_btn + .apps_fast_access_btn {
331
+ margin-left: 10px;
332
+ }
333
+ .apps_fast_access_btn:hover {
334
+ background-color: #f0f0f7;
335
+ color: #676777;
336
+ }
337
+ .apps_fast_access_btn.uiColor:hover {
338
+ filter: brightness(0.9);
339
+ }
340
+ .apps_fast_access_btn:hover .apps_fast_access_btn_drop {
341
+ display: block;
342
+ }
343
+ .apps_fast_access_btn_drop {
344
+ position: absolute;
345
+ left: 50%;
346
+ top: calc(100% + 10px);
347
+ transform: translate(-50%, 0);
348
+ display: none;
349
+ z-index: 50;
350
+ border-radius: 12px;
351
+ padding: 6px;
352
+ border: 1px solid #e6e6ef;
353
+ background-color: #fff;
354
+ box-shadow: 0 20px 18px 0 rgba(0, 0, 0, 0.07);
355
+ }
356
+ .apps_fast_access_btn_drop:before {
357
+ content: '';
358
+ display: block;
359
+ position: absolute;
360
+ top: -11px;
361
+ left: 0;
362
+ height: 12px;
363
+ width: 100%;
364
+ }
365
+ .apps_fast_access_btn_drop_btn {
366
+ min-width: 120px;
367
+ display: flex;
368
+ align-items: center;
369
+ height: 32px;
370
+ font-weight: 400;
371
+ font-size: 13px;
372
+ line-height: 18px;
373
+ padding: 0 10px;
374
+ white-space: nowrap;
375
+ cursor: pointer;
376
+ border-radius: 8px;
377
+ color: #676778;
378
+ margin-bottom: 2px;
379
+ }
380
+ .apps_fast_access_btn_drop_btn:last-child {
381
+ margin-bottom: 0;
382
+ }
383
+ .apps_fast_access_btn_drop_btn:hover {
384
+ background-color: #f5f5fa;
385
+ }
386
+ .apps_fast_access_btn_drop_btn.uiColor {
387
+ color: #fff;
388
+ }
389
+ .apps_fast_access_btn_drop_btn.uiColor:hover {
390
+ filter: brightness(0.9);
391
+ }
121
392
  </style>