evmux-app-framework 0.0.93 → 0.0.95

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