evmux-app-framework 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.test_holder_root[data-v-
|
|
1
|
+
:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50;--vt-c-divider-light-1: rgba(60, 60, 60, .29);--vt-c-divider-light-2: rgba(60, 60, 60, .12);--vt-c-divider-dark-1: rgba(84, 84, 84, .65);--vt-c-divider-dark-2: rgba(84, 84, 84, .48);--vt-c-text-light-1: var(--vt-c-indigo);--vt-c-text-light-2: rgba(60, 60, 60, .66);--vt-c-text-dark-1: var(--vt-c-white);--vt-c-text-dark-2: rgba(235, 235, 235, .64)}:root{--color-background: var(--vt-c-white);--color-background-soft: var(--vt-c-white-soft);--color-background-mute: var(--vt-c-white-mute);--color-border: var(--vt-c-divider-light-2);--color-border-hover: var(--vt-c-divider-light-1);--color-heading: var(--vt-c-text-light-1);--color-text: var(--vt-c-text-light-1);--section-gap: 160px}@media (prefers-color-scheme: dark){:root{--color-background: var(--vt-c-black);--color-background-soft: var(--vt-c-black-soft);--color-background-mute: var(--vt-c-black-mute);--color-border: var(--vt-c-divider-dark-2);--color-border-hover: var(--vt-c-divider-dark-1);--color-heading: var(--vt-c-text-dark-1);--color-text: var(--vt-c-text-dark-2)}}*,*:before,*:after{box-sizing:border-box;margin:0;font-weight:400}body{min-height:100vh;transition:color .5s,background-color .5s;line-height:1.6;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-size:15px;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#app{max-width:1280px;margin:0 auto;padding:2rem;font-weight:400}a,.green{text-decoration:none;color:#00bd7e;transition:.4s}@media (hover: hover){a:hover{background-color:#00bd7e33}}@media (min-width: 1024px){body{display:flex;place-items:center}#app{display:grid;grid-template-columns:1fr 1fr;padding:0 2rem}}.test_holder_root[data-v-9acc907e]{position:fixed;top:0;right:0;bottom:0;left:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.test_holder_main[data-v-9acc907e]{display:flex;gap:0;flex:1;height:100%}.video_editor_wr[data-v-9acc907e]{flex:1 1 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:#dcdce5;border-radius:15px;padding:30px;margin:10px;position:relative;overflow:hidden}.scene_canvas[data-v-9acc907e]{width:100%;aspect-ratio:16 / 9;background-color:#1e222b;border-radius:4px;overflow:hidden;position:relative;box-shadow:0 4px 24px #00000026}.widget_layer[data-v-9acc907e]{position:absolute;top:0;left:0;width:100%;height:100%;min-width:60px;min-height:60px;border:1px dashed rgba(255,255,255,.5);box-sizing:border-box}.widget_layer[data-v-9acc907e]:hover{border-color:#fffc}.drag_overlay[data-v-9acc907e]{position:absolute;top:0;right:0;bottom:0;left:0;cursor:move;z-index:1}.resize_handle[data-v-9acc907e]{position:absolute;bottom:0;right:0;width:16px;height:16px;cursor:nwse-resize;z-index:2;background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.6) 50%);border-radius:0 0 2px}.resize_handle[data-v-9acc907e]:hover{background:linear-gradient(135deg,transparent 50%,rgba(255,255,255,.9) 50%)}.scene_iframe[data-v-9acc907e]{width:100%;height:100%;border:none;display:block;pointer-events:none}.settings_sidebar[data-v-9acc907e]{flex:0 0 330px;width:330px;display:flex;flex-direction:column;position:relative;overflow:hidden;transition:background-color .3s,border-color .3s}.settings_sidebar.light[data-v-9acc907e]{background-color:#fff;border-left:1px solid #e6e6ef}.settings_sidebar.dark[data-v-9acc907e]{background-color:#2f353f;border-left:1px solid #383e4c}.settings_header[data-v-9acc907e]{display:flex;align-items:center;justify-content:flex-end;padding:10px 13px;flex:0 0 auto}.theme_toggle[data-v-9acc907e]{width:34px;height:34px;border-radius:8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background-color .15s,color .15s}.settings_sidebar.light .theme_toggle[data-v-9acc907e]{color:#676778;background-color:#f5f5fa}.settings_sidebar.light .theme_toggle[data-v-9acc907e]:hover{background-color:#ededf4}.settings_sidebar.dark .theme_toggle[data-v-9acc907e]{color:#fff;background-color:#383e4c}.settings_sidebar.dark .theme_toggle[data-v-9acc907e]:hover{background-color:#434b5c}.settings_iframe[data-v-9acc907e]{width:100%;height:100%;border:none;flex:1}html{background-image:none!important;background-color:#dcdce5}.apps_fast_access_wr{display:flex;padding:6px 0;align-self:flex-start}.apps_fast_access_btn{flex:0 0 30px;width:30px;height:30px;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:600;position:relative;cursor:pointer;padding-bottom:1px;background-color:#fff;color:#676777;border:1px solid #e6e6ef}.apps_fast_access_btn svg{width:22px;height:22px}.apps_fast_access_btn svg polygon,.apps_fast_access_btn svg path,.apps_fast_access_btn svg circle{fill:#676777}.apps_fast_access_btn.uiColor{color:#fff!important;border-color:transparent}.apps_fast_access_btn.uiColor svg polygon,.apps_fast_access_btn.uiColor svg path,.apps_fast_access_btn.uiColor svg circle{fill:#fff!important}.apps_fast_access_btn+.apps_fast_access_btn{margin-left:10px}.apps_fast_access_btn:hover{background-color:#f0f0f7;color:#676777}.apps_fast_access_btn.uiColor:hover{filter:brightness(.9)}.apps_fast_access_btn:hover .apps_fast_access_btn_drop{display:block}.apps_fast_access_btn_drop{position:absolute;left:50%;top:calc(100% + 10px);transform:translate(-50%);display:none;z-index:50;border-radius:12px;padding:6px;border:1px solid #e6e6ef;background-color:#fff;box-shadow:0 20px 18px #00000012}.apps_fast_access_btn_drop:before{content:"";display:block;position:absolute;top:-11px;left:0;height:12px;width:100%}.apps_fast_access_btn_drop_btn{min-width:120px;display:flex;align-items:center;height:32px;font-weight:400;font-size:13px;line-height:18px;padding:0 10px;white-space:nowrap;cursor:pointer;border-radius:8px;color:#676778;margin-bottom:2px}.apps_fast_access_btn_drop_btn:last-child{margin-bottom:0}.apps_fast_access_btn_drop_btn:hover{background-color:#f5f5fa}.apps_fast_access_btn_drop_btn.uiColor{color:#fff}.apps_fast_access_btn_drop_btn.uiColor:hover{filter:brightness(.9)}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function ss(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=()=>{},Ti=()=>!1,Mi=/^on[^a-z]/,bn=e=>Mi.test(e),rs=e=>e.startsWith("onUpdate:"),ne=Object.assign,is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qi=Object.prototype.hasOwnProperty,D=(e,t)=>qi.call(e,t),F=Array.isArray,bt=e=>vn(e)==="[object Map]",Ar=e=>vn(e)==="[object Set]",N=e=>typeof e=="function",ee=e=>typeof e=="string",os=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Er=e=>X(e)&&N(e.then)&&N(e.catch),xr=Object.prototype.toString,vn=e=>xr.call(e),Hi=e=>vn(e).slice(8,-1),Pr=e=>vn(e)==="[object Object]",ls=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=ss(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ki=/-(\w)/g,Et=wn(e=>e.replace(ki,(t,n)=>n?n.toUpperCase():"")),Fi=/\B([A-Z])/g,Ct=wn(e=>e.replace(Fi,"-$1").toLowerCase()),Ir=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),On=wn(e=>e?`on${Ir(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cs;const Bn=()=>Cs||(Cs=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)?Ui(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 Li=/;(?![^(]*\))/g,Ni=/:([^]+)/,Bi=/\/\*[^]*?\*\//g;function Ui(e){const t={};return e.replace(Bi,"").split(Li).forEach(n=>{if(n){const s=n.split(Ni);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wt(e){let t="";if(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 Di="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$i=ss(Di);function Rr(e){return!!e||e===""}const Ki=e=>ee(e)?e:e==null?"":F(e)||X(e)&&(e.toString===xr||!N(e.toString))?JSON.stringify(e,Sr,2):String(e),Sr=(e,t)=>t&&t.__v_isRef?Sr(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Ar(t)?{[`Set(${t.size})`]:[...t.values()]}:X(t)&&!F(t)&&!Pr(t)?String(t):t;let _e;class Cr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function zi(e){return new Cr(e)}function Wi(e,t=_e){t&&t.active&&t.effects.push(e)}function Qi(){return _e}const cs=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Or=e=>(e.w&Xe)>0,Tr=e=>(e.n&Xe)>0,Ji=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Gi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Or(r)&&!Tr(r)?r.delete(e):t[n++]=r,r.w&=~Xe,r.n&=~Xe}t.length=n}},Un=new WeakMap;let jt=0,Xe=1;const Dn=30;let be;const it=Symbol(""),$n=Symbol("");class us{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Wi(this,s)}run(){if(!this.active)return this.fn();let t=be,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=be,be=this,Ye=!0,Xe=1<<++jt,jt<=Dn?Ji(this):Os(this),this.fn()}finally{jt<=Dn&&Gi(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&&(Os(this),this.onStop&&this.onStop(),this.active=!1)}}function Os(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 Mr=[];function Ot(){Mr.push(Ye),Ye=!1}function Tt(){const e=Mr.pop();Ye=e===void 0?!0:e}function de(e,t,n){if(Ye&&be){let s=Un.get(e);s||Un.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=cs()),qr(r)}}function qr(e,t){let n=!1;jt<=Dn?Tr(e)||(e.n|=Xe,n=!Or(e)):n=!e.has(be),n&&(e.add(be),be.deps.push(e))}function Ue(e,t,n,s,r,i){const o=Un.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&F(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&c.push(f)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":F(e)?ls(n)&&c.push(o.get("length")):(c.push(o.get(it)),bt(e)&&c.push(o.get($n)));break;case"delete":F(e)||(c.push(o.get(it)),bt(e)&&c.push(o.get($n)));break;case"set":bt(e)&&c.push(o.get(it));break}if(c.length===1)c[0]&&Kn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Kn(cs(l))}}function Kn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&Ts(s);for(const s of n)s.computed||Ts(s)}function Ts(e,t){(e!==be||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Yi=ss("__proto__,__v_isRef,__isVue"),Hr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(os)),Vi=as(),Xi=as(!1,!0),Zi=as(!0),Ms=eo();function eo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let i=0,o=this.length;i<o;i++)de(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ot();const s=K(this)[t].apply(this,n);return Tt(),s}}),e}function to(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function as(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?yo:Nr:t?Lr:jr).get(s))return s;const o=F(s);if(!e){if(o&&D(Ms,r))return Reflect.get(Ms,r,i);if(r==="hasOwnProperty")return to}const c=Reflect.get(s,r,i);return(os(r)?Hr.has(r):Yi(r))||(e||de(s,"get",r),t)?c:le(c)?o&&ls(r)?c:c.value:X(c)?e?Ur(c):En(c):c}}const no=kr(),so=kr(!0);function kr(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)&&ls(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 ro(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 io(e,t){const n=Reflect.has(e,t);return(!os(t)||!Hr.has(t))&&de(e,"has",t),n}function oo(e){return de(e,"iterate",F(e)?"length":it),Reflect.ownKeys(e)}const Fr={get:Vi,set:no,deleteProperty:ro,has:io,ownKeys:oo},lo={get:Zi,set(e,t){return!0},deleteProperty(e,t){return!0}},co=ne({},Fr,{get:Xi,set:so}),fs=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?fs:n?gs: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 qs(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 Hs(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 ks(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 Fs(){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?fs:e?gs: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?fs:t?gs:Qt;return!t&&de(i,"iterate",l?$n:it),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function We(e){return function(...t){return e==="delete"?!1:this}}function uo(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:qs,set:Hs,delete:ks,clear:Fs,forEach:sn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:qs,set:Hs,delete:ks,clear:Fs,forEach:sn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:sn(!0,!1)},s={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:We("add"),set:We("set"),delete:We("delete"),clear:We("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),s[i]=rn(i,!0,!0)}),[e,n,t,s]}const[ao,fo,po,ho]=uo();function ds(e,t){const n=t?e?ho:po:e?fo:ao;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(D(n,r)&&r in s?n:s,r,i)}const go={get:ds(!1,!1)},mo={get:ds(!1,!0)},_o={get:ds(!0,!1)},jr=new WeakMap,Lr=new WeakMap,Nr=new WeakMap,yo=new WeakMap;function bo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vo(e){return e.__v_skip||!Object.isExtensible(e)?0:bo(Hi(e))}function En(e){return xt(e)?e:ps(e,!1,Fr,go,jr)}function Br(e){return ps(e,!1,co,mo,Lr)}function Ur(e){return ps(e,!0,lo,_o,Nr)}function ps(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=vo(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 Dr(e){return vt(e)||xt(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function hs(e){return pn(e,"__v_skip",!0),e}const Qt=e=>X(e)?En(e):e,gs=e=>X(e)?Ur(e):e;function $r(e){Ye&&be&&(e=K(e),qr(e.dep||(e.dep=cs())))}function Kr(e,t){e=K(e);const n=e.dep;n&&Kn(n)}function le(e){return!!(e&&e.__v_isRef===!0)}function Nt(e){return zr(e,!1)}function wo(e){return zr(e,!0)}function zr(e,t){return le(e)?e:new Ao(e,t)}class Ao{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:Qt(t)}get value(){return $r(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),Kr(this))}}function wt(e){return le(e)?e.value:e}const Eo={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 Wr(e){return vt(e)?e:new Proxy(e,Eo)}class xo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new us(t,()=>{this._dirty||(this._dirty=!0,Kr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return $r(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Po(e,t,n=!1){let s,r;const i=N(e);return i?(s=e,r=Ae):(s=e.get,r=e.set),new xo(s,r,i||!r,n)}function Ve(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Ee(e,t,n,s){if(N(e)){const i=Ve(e,t,n,s);return i&&Er(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}}Io(e,n,r,s)}function Io(e,t,n,s=!0){console.error(e)}let Jt=!1,zn=!1;const ie=[];let qe=0;const At=[];let Le=null,st=0;const Qr=Promise.resolve();let ms=null;function Jr(e){const t=ms||Qr;return e?t.then(this?e.bind(this):e):t}function Ro(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 _s(e){(!ie.length||!ie.includes(e,Jt&&e.allowRecurse?qe+1:qe))&&(e.id==null?ie.push(e):ie.splice(Ro(e.id),0,e),Gr())}function Gr(){!Jt&&!zn&&(zn=!0,ms=Qr.then(Vr))}function So(e){const t=ie.indexOf(e);t>qe&&ie.splice(t,1)}function Co(e){F(e)?At.push(...e):(!Le||!Le.includes(e,e.allowRecurse?st+1:st))&&At.push(e),Gr()}function js(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 Yr(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,Oo=(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 Vr(e){zn=!1,Jt=!0,ie.sort(Oo);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,Yr(),Jt=!1,ms=null,(ie.length||At.length)&&Vr()}}function To(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(ji))}let c,l=s[c=On(t)]||s[c=On(Et(t))];!l&&i&&(l=s[c=On(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 Xr(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=Xr(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 Pn(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,Zr=null;function gn(e){const t=He;return He=e,Zr=e&&e.type.__scopeId||null,t}function Mo(e,t=He,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Qs(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Qs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Mn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState: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:qo(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(rs)&&(q=Ho(q,o)),$=Pt($,q))}return n.dirs&&($=Pt($),$.dirs=$.dirs?$.dirs.concat(n.dirs):n.dirs),n.transition&&($.transition=n.transition),L=$,gn(H),L}const qo=e=>{let t;for(const n in e)(n==="class"||n==="style"||bn(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!rs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ko(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ls(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]&&!Pn(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Ls(s,o,f):!0:!!o;return!1}function Ls(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]&&!Pn(n,i))return!0}return!1}function Fo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const jo=e=>e.__isSuspense;function Lo(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Co(e)}const on={};function cn(e,t,n){return ei(e,t,n)}function ei(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=V){var c;const l=Qi()===((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=Ml();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=()=>_s(L));const H=new us(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&&is(l.scope.effects,H)};return S&&S.push($),$}function No(e,t,n){const s=this.proxy,r=ee(e)?e.includes(".")?ti(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const o=oe;It(this);const c=ei(r,i.bind(s),n);return o?It(o):ot(),c}function ti(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(Ar(e)||bt(e))e.forEach(n=>{mt(n,t)});else if(Pr(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 ni(e,t){return N(e)?(()=>ne({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,si=e=>e.type.__isKeepAlive;function Bo(e,t){ri(e,"a",t)}function Uo(e,t){ri(e,"da",t)}function ri(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(In(t,s,n),n){let r=n.parent;for(;r&&r.parent;)si(r.parent.vnode)&&Do(s,t,n,r),r=r.parent}}function Do(e,t,n,s){const r=In(t,e,s,!0);oi(()=>{is(s[t],r)},n)}function In(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(),It(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")&&In(e,(...s)=>t(...s),n),$o=De("bm"),ii=De("m"),Ko=De("bu"),zo=De("u"),Wo=De("bum"),oi=De("um"),Qo=De("sp"),Jo=De("rtg"),Go=De("rtc");function Yo(e,t=oe){In("ec",e,t)}const Vo=Symbol.for("v-ndc");function Xo(e,t,n,s){let r;const i=n&&n[s];if(F(e)||ee(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,l=o.length;c<l;c++){const f=o[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const Wn=e=>e?_i(e)?As(e)||e.proxy:Wn(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=>Wn(e.parent),$root:e=>Wn(e.root),$emit:e=>e.emit,$options:e=>ys(e),$forceUpdate:e=>e.f||(e.f=()=>_s(e.update)),$nextTick:e=>e.n||(e.n=Jr.bind(e.proxy)),$watch:e=>No.bind(e)}),qn=(e,t)=>e!==V&&!e.__isScriptSetup&&D(e,t),Zo={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const 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(qn(s,t))return o[t]=1,s[t];if(r!==V&&D(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&D(f,t))return o[t]=3,i[t];if(n!==V&&D(n,t))return o[t]=4,n[t];Qn&&(o[t]=0)}}const d=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 qn(r,t)?(r[t]=n,!0):s!==V&&D(s,t)?(s[t]=n,!0):D(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==V&&D(e,o)||qn(t,o)||(c=i[0])&&D(c,o)||D(s,o)||D(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 Ns(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qn=!0;function el(e){const t=ys(e),n=e.proxy,s=e.ctx;Qn=!1,t.beforeCreate&&Bs(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:Pe,errorCaptured:ke,serverPrefetch:ct,expose:Ie,inheritAttrs:Ke,components:Ze,directives:Re,filters:Mt}=t;if(f&&tl(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(Qn=!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)li(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&&Bs(d,e,"c");function te(G,z){F(z)?z.forEach(Fe=>G(Fe.bind(n))):z&&G(z.bind(n))}if(te($o,h),te(ii,g),te(Ko,b),te(zo,S),te(Bo,O),te(Uo,L),te(Yo,ke),te(Go,ce),te(Jo,Pe),te(Wo,H),te(oi,k),te(Qo,ct),F(Ie))if(Ie.length){const G=e.exposed||(e.exposed={});Ie.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 tl(e,t,n=Ae){F(e)&&(e=Jn(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),le(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Bs(e,t,n){Ee(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function li(e,t,n,s){const r=s.includes(".")?ti(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=>li(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&cn(r,i,e)}}function ys(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=nl[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const nl={data:Us,props:Ds,emits:Ds,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:rl,provide:Us,inject:sl};function Us(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 sl(e,t){return Lt(Jn(e),Jn(t))}function Jn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Lt(e,t){return e?ne(Object.create(null),e,t):t}function Ds(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:ne(Object.create(null),Ns(e),Ns(t??{})):t}function rl(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 ci(){return{app:null,config:{isNativeTag:Ti,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let il=0;function ol(e,t){return function(s,r=null){N(s)||(s=ne({},s)),r!=null&&!X(r)&&(r=null);const i=ci(),o=new Set;let c=!1;const l=i.app={_uid:il++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:ql,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&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,As(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 ll(e,t,n,s=!1){const r={},i={};pn(i,Sn,1),e.propsDefaults=Object.create(null),ui(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Br(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function cl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=K(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(Pn(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]=Gn(l,c,S,b,e,!1)}else b!==i[g]&&(i[g]=b,f=!0)}}}else{ui(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]=Gn(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 ui(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(ln(l))continue;const f=t[l];let d;r&&D(r,d=Et(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:Pn(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]=Gn(r,l,h,f[h],e,!D(f,h))}}return o}function Gn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=D(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&N(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(It(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 ai(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!N(e)){const d=h=>{l=!0;const[g,b]=ai(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]);$s(h)&&(o[h]=V)}else if(i)for(const d in i){const h=Et(d);if($s(h)){const g=i[d],b=o[h]=F(g)||N(g)?{type:g}:ne({},g);if(b){const S=Ws(Boolean,b.type),O=Ws(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 $s(e){return e[0]!=="$"}function Ks(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zs(e,t){return Ks(e)===Ks(t)}function Ws(e,t){return F(t)?t.findIndex(n=>zs(n,e)):N(t)&&zs(t,e)?0:-1}const fi=e=>e[0]==="_"||e==="$stable",bs=e=>F(e)?e.map(Me):[Me(e)],ul=(e,t,n)=>{if(t._n)return t;const s=Mo((...r)=>bs(t(...r)),n);return s._c=!1,s},di=(e,t,n)=>{const s=e._ctx;for(const r in e){if(fi(r))continue;const i=e[r];if(N(i))t[r]=ul(r,i,s);else if(i!=null){const o=bs(i);t[r]=()=>o}}},pi=(e,t)=>{const n=bs(t);e.slots.default=()=>n},al=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):di(t,e.slots={})}else e.slots={},t&&pi(e,t);pn(e.slots,Sn,1)},fl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=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,di(t,r)),o=t}else t&&(pi(e,t),o={default:1});if(i)for(const c in r)!fi(c)&&!(c in o)&&delete r[c]};function Yn(e,t,n,s,r=!1){if(F(e)){e.forEach((g,b)=>Yn(g,t&&(F(t)?t[b]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?As(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)&&is(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=Lo;function dl(e){return pl(e)}function pl(e,t){const n=Bn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:b=Ae,insertStaticContent:S}=e,O=(u,a,p,m=null,y=null,v=null,P=!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 Rn:L(u,a,p,m);break;case lt:q(u,a,p,m);break;case Hn:u==null&&H(a,p,m,P);break;case Te:Ze(u,a,p,m,y,v,P,A,E);break;default:R&1?se(u,a,p,m,y,v,P,A,E):R&6?Re(u,a,p,m,y,v,P,A,E):(R&64||R&128)&&w.process(u,a,p,m,y,v,P,A,E,x)}T!=null&&y&&Yn(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,P,A,E)=>{P=P||a.type==="svg",u==null?ce(a,p,m,y,v,P,A,E):ct(u,a,y,v,P,A,E)},ce=(u,a,p,m,y,v,P,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",P,A),B&&et(u,null,m,"created"),Pe(E,u,u.scopeId,P,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)},Pe=(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 P=y.vnode;Pe(u,P,P.scopeId,P.slotScopeIds,y.parent)}}},ke=(u,a,p,m,y,v,P,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,P,A)}},ct=(u,a,p,m,y,v,P)=>{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?Ie(u.dynamicChildren,w,A,p,m,B,v):P||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],me=R[Z],dt=M[Z];(dt!==me||Z==="value")&&i(A,Z,me,dt,y,u.children,p,m,re)}}E&1&&u.children!==a.children&&d(A,a.children)}else!P&&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)},Ie=(u,a,p,m,y,v,P)=>{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,P,!0)}},Ke=(u,a,p,m,y,v,P)=>{if(p!==m){if(p!==V)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,P,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,P,a.children,y,v,re)}"value"in m&&i(u,"value",p.value,m.value)}},Ze=(u,a,p,m,y,v,P,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,P,A,E)):R>0&&R&64&&M&&u.dynamicChildren?(Ie(u.dynamicChildren,M,p,y,v,P,A),(a.key!=null||y&&a===y.subTree)&&hi(u,a,!0)):z(u,a,p,T,y,v,P,A,E)},Re=(u,a,p,m,y,v,P,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,P,E):Mt(a,p,m,y,v,P,E):ut(u,a,E)},Mt=(u,a,p,m,y,v,P)=>{const A=u.component=Pl(u,m,y);if(si(u)&&(A.ctx.renderer=x),Il(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,P)},ut=(u,a,p)=>{const m=a.component=u.component;if(ko(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,So(m.update),m.update();else a.el=u.el,m.vnode=a},te=(u,a,p,m,y,v,P)=>{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,P)):T=B,R&&Tn(R),(J=T.props&&T.props.onVnodeBeforeUpdate)&&Oe(J,j,T,B),tt(u,!0);const Z=Mn(u),me=u.subTree;u.subTree=Z,O(me,Z,h(me.el),_(me),u,y,v),T.el=Z.el,Y===null&&Fo(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&&Tn(j),!J&&(T=M&&M.onVnodeBeforeMount)&&Oe(T,Y,a),tt(u,!0),R&&W){const Z=()=>{u.subTree=Mn(u),W(R,u.subTree,u,y,null)};J?a.type.__asyncLoader().then(()=>!u.isUnmounted&&Z()):Z()}else{const Z=u.subTree=Mn(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 us(A,()=>_s(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,tt(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,cl(u,a.props,m,p),fl(u,a.children,p),Ot(),js(),Tt()},z=(u,a,p,m,y,v,P,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,P,A,E);return}else if(M&256){Fe(w,R,p,m,y,v,P,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,P,A,E):re(w,y,v,!0):(T&8&&d(p,""),j&16&&ke(R,p,m,y,v,P,A,E))},Fe=(u,a,p,m,y,v,P,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,P,A,E)}w>T?re(u,y,v,!0,!1,R):ke(a,p,m,y,v,P,A,E,R)},ze=(u,a,p,m,y,v,P,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,P,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,P,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,P,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 me=M-B+1;let dt=!1,Is=0;const qt=new Array(me);for(w=0;w<me;w++)qt[w]=0;for(w=j;w<=R;w++){const pe=u[w];if(Z>=me){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>=Is?Is=Ce:dt=!0,O(pe,a[Ce],p,null,y,v,P,A,E),Z++)}const Rs=dt?hl(qt):yt;for(J=Rs.length-1,w=me-1;w>=0;w--){const pe=B+w,Ce=a[pe],Ss=pe+1<T?a[pe+1].el:m;qt[w]===0?O(null,Ce,p,Ss,y,v,P,A,E):dt&&(J<0||w!==Rs[J]?Se(Ce,p,Ss,2):J--)}}},Se=(u,a,p,m,y=null)=>{const{el:v,type:P,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){P.move(u,a,p,x);return}if(P===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(P===Hn){$(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:P,ref:A,children:E,dynamicChildren:w,shapeFlag:T,patchFlag:R,dirs:M}=u;if(A!=null&&Yn(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=P&&P.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=P&&P.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===Hn){k(u);return}const v=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:A}=y,E=()=>P(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:P,um:A}=u;m&&Tn(m),y.stop(),v&&(v.active=!1,ae(P,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 P=v;P<u.length;P++)ae(u[P],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),I=(u,a,p)=>{u==null?a._vnode&&ae(a._vnode,null,null,!0):O(a._vnode||null,u,a,null,null,null,p),js(),Yr(),a._vnode=u},x={p:O,um:ae,m:Se,r:at,mt:Mt,mc:ke,pc:z,pbc:Ie,n:_,o:e};let C,W;return t&&([C,W]=t(x)),{render:I,hydrate:C,createApp:ol(I,C)}}function tt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function hi(e,t,n=!1){const s=e.children,r=t.children;if(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||hi(o,c)),c.type===Rn&&(c.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<f?i=c+1:o=c;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const gl=e=>e.__isTeleport,Te=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),Ut=[];let we=null;function nt(e=!1){Ut.push(we=e?null:[])}function ml(){Ut.pop(),we=Ut[Ut.length-1]||null}let Yt=1;function Qs(e){Yt+=e}function gi(e){return e.dynamicChildren=Yt>0?we||yt:null,ml(),Yt>0&&we&&we.push(e),e}function pt(e,t,n,s,r,i){return gi(ye(e,t,n,s,r,i,!0))}function _l(e,t,n,s,r){return gi(he(e,t,n,s,r,!0))}function Vn(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Sn="__vInternal",mi=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||le(e)||N(e)?{i:He,r:e,k:t,f:!!n}:e:null);function ye(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&mi(t),ref:t&&fn(t),scopeId:Zr,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?(vs(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=yl;function yl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Vo)&&(e=lt),Vn(e)){const c=Pt(e,t,!0);return n&&vs(c,n),Yt>0&&!i&&we&&(c.shapeFlag&6?we[we.indexOf(e)]=c:we.push(c)),c.patchFlag|=-2,c}if(Ol(e)&&(e=e.__vccOpts),t){t=bl(t);let{class:c,style:l}=t;c&&!ee(c)&&(t.class=Wt(c)),X(l)&&(Dr(l)&&!F(l)&&(l=ne({},l)),t.style=zt(l))}const o=ee(e)?1:jo(e)?128:gl(e)?64:X(e)?4:N(e)?2:0;return ye(e,t,n,s,r,o,i,!0)}function bl(e){return e?Dr(e)||Sn in e?ne({},e):e:null}function Pt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Al(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&mi(c),ref:t&&t.ref?n&&r?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&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function vl(e=" ",t=0){return he(Rn,null,e,t)}function wl(e="",t=!1){return t?(nt(),_l(lt,null,e)):he(lt,null,e)}function Me(e){return e==null||typeof e=="boolean"?he(lt):F(e)?he(Te,null,e.slice()):typeof e=="object"?Je(e):he(Rn,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function vs(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),vs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Sn in t)?t._ctx=He:r===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:He},n=32):(t=String(t),s&64?(n=16,t=[vl(t)]):n=8);e.children=t,e.shapeFlag|=n}function Al(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Wt([t.class,s.class]));else if(r==="style")t.style=zt([t.style,s.style]);else if(bn(r)){const i=t[r],o=s[r];o&&i!==o&&!(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 El=ci();let xl=0;function Pl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||El,i={uid:xl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Cr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ai(s,r),emitsOptions:Xr(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=To.bind(null,i),e.ce&&e.ce(i),i}let oe=null,ws,ht,Js="__VUE_INSTANCE_SETTERS__";(ht=Bn()[Js])||(ht=Bn()[Js]=[]),ht.push(e=>oe=e),ws=e=>{ht.length>1?ht.forEach(t=>t(e)):ht[0](e)};const It=e=>{ws(e),e.scope.on()},ot=()=>{oe&&oe.scope.off(),ws(null)};function _i(e){return e.vnode.shapeFlag&4}let Vt=!1;function Il(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=_i(e);ll(e,n,r,t),al(e,s);const i=r?Rl(e,t):void 0;return Vt=!1,i}function Rl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hs(new Proxy(e.ctx,Zo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;It(e),Ot();const i=Ve(s,e,0,[e.props,r]);if(Tt(),ot(),Er(i)){if(i.then(ot,ot),t)return i.then(o=>{Gs(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Gs(e,i,t)}else yi(e,t)}function Gs(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Wr(t)),yi(e,n)}let Ys;function yi(e,t,n){const s=e.type;if(!e.render){if(!t&&Ys&&!s.render){const r=s.template||ys(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=Ys(r,f)}}e.render=s.render||Ae}It(e),Ot(),el(e),Tt(),ot()}function Sl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Sl(e)},slots:e.slots,emit:e.emit,expose:t}}function As(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wr(hs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Bt)return Bt[n](e)},has(t,n){return n in t||n in Bt}}))}function Ol(e){return N(e)&&"__vccOpts"in e}const ve=(e,t)=>Po(e,t,Vt);function bi(e,t,n){const s=arguments.length;return s===2?X(t)&&!F(t)?Vn(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Vn(n)&&(n=[n]),he(e,t,n))}const Tl=Symbol.for("v-scx"),Ml=()=>Be(Tl),ql="3.3.4",Hl="http://www.w3.org/2000/svg",rt=typeof document<"u"?document:null,Vs=rt&&rt.createElement("template"),kl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?rt.createElementNS(Hl,e):rt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>rt.createTextNode(e),createComment:e=>rt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>rt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Vs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Vs.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Fl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function jl(e,t,n){const s=e.style,r=ee(n);if(n&&!r){if(t&&!ee(t))for(const i in t)n[i]==null&&Xn(s,i,"");for(const i in n)Xn(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 Xs=/\s*!important$/;function Xn(e,t,n){if(F(n))n.forEach(s=>Xn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ll(e,t);Xs.test(n)?e.setProperty(Ct(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],kn={};function Ll(e,t){const n=kn[t];if(n)return n;let s=Et(t);if(s!=="filter"&&s in e)return kn[t]=s;s=Ir(s);for(let r=0;r<Zs.length;r++){const i=Zs[r]+s;if(i in e)return kn[t]=i}return t}const er="http://www.w3.org/1999/xlink";function Nl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(er,t.slice(6,t.length)):e.setAttributeNS(er,t,n);else{const i=$i(t);n==null||i&&!Rr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Bl(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const f=c==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Rr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Ul(e,t,n,s){e.addEventListener(t,n,s)}function Dl(e,t,n,s){e.removeEventListener(t,n,s)}function $l(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=Kl(t);if(s){const f=i[t]=Ql(s,r);Ul(e,c,f,l)}else o&&(Dl(e,c,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function Kl(e){let t;if(tr.test(e)){t={};let s;for(;s=e.match(tr);)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 Fn=0;const zl=Promise.resolve(),Wl=()=>Fn||(zl.then(()=>Fn=0),Fn=Date.now());function Ql(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Jl(s,n.value),t,5,[s])};return n.value=e,n.attached=Wl(),n}function Jl(e,t){if(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 nr=/^on[a-z]/,Gl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Fl(e,s,r):t==="style"?jl(e,n,s):bn(t)?rs(t)||$l(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yl(e,t,s,r))?Bl(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Nl(e,t,s,r))};function Yl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&nr.test(t)&&N(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nr.test(t)&&ee(n)?!1:t in e}const Vl=ne({patchProp:Gl},kl);let sr;function Xl(){return sr||(sr=dl(Vl))}const Zl=(...e)=>{const t=Xl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ec(s);if(!r)return;const i=t._component;!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 ec(e){return ee(e)?document.querySelector(e):e}var tc=!1;/*!
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function rs(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const X={},vt=[],Se=()=>{},Ti=()=>!1,ki=/^on[^a-z]/,vn=e=>ki.test(e),is=e=>e.startsWith("onUpdate:"),ue=Object.assign,os=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hi=Object.prototype.hasOwnProperty,$=(e,t)=>Hi.call(e,t),F=Array.isArray,bt=e=>bn(e)==="[object Map]",xr=e=>bn(e)==="[object Set]",B=e=>typeof e=="function",re=e=>typeof e=="string",ls=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Ir=e=>Z(e)&&B(e.then)&&B(e.catch),Pr=Object.prototype.toString,bn=e=>Pr.call(e),qi=e=>bn(e).slice(8,-1),Rr=e=>bn(e)==="[object Object]",cs=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ln=rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},ji=/-(\w)/g,xt=wn(e=>e.replace(ji,(t,n)=>n?n.toUpperCase():"")),Fi=/\B([A-Z])/g,Ot=wn(e=>e.replace(Fi,"-$1").toLowerCase()),Sr=wn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Mn=wn(e=>e?`on${Sr(e)}`:""),Kt=(e,t)=>!Object.is(e,t),Tn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},pn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Li=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ms;const Un=()=>Ms||(Ms=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function zt(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=re(s)?Di(s):zt(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(re(e))return e;if(Z(e))return e}}const Bi=/;(?![^(]*\))/g,Ni=/:([^]+)/,Ui=/\/\*[^]*?\*\//g;function Di(e){const t={};return e.replace(Ui,"").split(Bi).forEach(n=>{if(n){const s=n.split(Ni);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wt(e){let t="";if(re(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=Wt(e[n]);s&&(t+=s+" ")}else if(Z(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const $i="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ki=rs($i);function Cr(e){return!!e||e===""}const zi=e=>re(e)?e:e==null?"":F(e)||Z(e)&&(e.toString===Pr||!B(e.toString))?JSON.stringify(e,Or,2):String(e),Or=(e,t)=>t&&t.__v_isRef?Or(e,t.value):bt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:xr(t)?{[`Set(${t.size})`]:[...t.values()]}:Z(t)&&!F(t)&&!Rr(t)?String(t):t;let xe;class Mr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=xe,!t&&xe&&(this.index=(xe.scopes||(xe.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=xe;try{return xe=this,t()}finally{xe=n}}}on(){xe=this}off(){xe=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Wi(e){return new Mr(e)}function Qi(e,t=xe){t&&t.active&&t.effects.push(e)}function Ji(){return xe}const us=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Tr=e=>(e.w&st)>0,kr=e=>(e.n&st)>0,Yi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=st},Gi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Tr(r)&&!kr(r)?r.delete(e):t[n++]=r,r.w&=~st,r.n&=~st}t.length=n}},Dn=new WeakMap;let Lt=0,st=1;const $n=30;let Ie;const ct=Symbol(""),Kn=Symbol("");class as{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Qi(this,s)}run(){if(!this.active)return this.fn();let t=Ie,n=tt;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Ie,Ie=this,tt=!0,st=1<<++Lt,Lt<=$n?Yi(this):Ts(this),this.fn()}finally{Lt<=$n&&Gi(this),st=1<<--Lt,Ie=this.parent,tt=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Ie===this?this.deferStop=!0:this.active&&(Ts(this),this.onStop&&this.onStop(),this.active=!1)}}function Ts(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let tt=!0;const Hr=[];function Mt(){Hr.push(tt),tt=!1}function Tt(){const e=Hr.pop();tt=e===void 0?!0:e}function ye(e,t,n){if(tt&&Ie){let s=Dn.get(e);s||Dn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=us()),qr(r)}}function qr(e,t){let n=!1;Lt<=$n?kr(e)||(e.n|=st,n=!Tr(e)):n=!e.has(Ie),n&&(e.add(Ie),Ie.deps.push(e))}function ze(e,t,n,s,r,i){const o=Dn.get(e);if(!o)return;let c=[];if(t==="clear")c=[...o.values()];else if(n==="length"&&F(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&c.push(f)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":F(e)?cs(n)&&c.push(o.get("length")):(c.push(o.get(ct)),bt(e)&&c.push(o.get(Kn)));break;case"delete":F(e)||(c.push(o.get(ct)),bt(e)&&c.push(o.get(Kn)));break;case"set":bt(e)&&c.push(o.get(ct));break}if(c.length===1)c[0]&&zn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);zn(us(l))}}function zn(e,t){const n=F(e)?e:[...e];for(const s of n)s.computed&&ks(s);for(const s of n)s.computed||ks(s)}function ks(e,t){(e!==Ie||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Vi=rs("__proto__,__v_isRef,__isVue"),jr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ls)),Xi=fs(),Zi=fs(!1,!0),eo=fs(!0),Hs=to();function to(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=K(this);for(let i=0,o=this.length;i<o;i++)ye(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Mt();const s=K(this)[t].apply(this,n);return Tt(),s}}),e}function no(e){const t=K(this);return ye(t,"has",e),t.hasOwnProperty(e)}function fs(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?vo:Ur:t?Nr:Br).get(s))return s;const o=F(s);if(!e){if(o&&$(Hs,r))return Reflect.get(Hs,r,i);if(r==="hasOwnProperty")return no}const c=Reflect.get(s,r,i);return(ls(r)?jr.has(r):Vi(r))||(e||ye(s,"get",r),t)?c:he(c)?o&&cs(r)?c:c.value:Z(c)?e?$r(c):En(c):c}}const so=Fr(),ro=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(It(o)&&he(o)&&!he(r))return!1;if(!e&&(!hn(r)&&!It(r)&&(o=K(o),r=K(r)),!F(n)&&he(o)&&!he(r)))return o.value=r,!0;const c=F(n)&&cs(s)?Number(s)<n.length:$(n,s),l=Reflect.set(n,s,r,i);return n===K(i)&&(c?Kt(r,o)&&ze(n,"set",s,r):ze(n,"add",s,r)),l}}function io(e,t){const n=$(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&ze(e,"delete",t,void 0),s}function oo(e,t){const n=Reflect.has(e,t);return(!ls(t)||!jr.has(t))&&ye(e,"has",t),n}function lo(e){return ye(e,"iterate",F(e)?"length":ct),Reflect.ownKeys(e)}const Lr={get:Xi,set:so,deleteProperty:io,has:oo,ownKeys:lo},co={get:eo,set(e,t){return!0},deleteProperty(e,t){return!0}},uo=ue({},Lr,{get:Zi,set:ro}),ds=e=>e,An=e=>Reflect.getPrototypeOf(e);function en(e,t,n=!1,s=!1){e=e.__v_raw;const r=K(e),i=K(t);n||(t!==i&&ye(r,"get",t),ye(r,"get",i));const{has:o}=An(r),c=s?ds:n?ms:Qt;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function tn(e,t=!1){const n=this.__v_raw,s=K(n),r=K(e);return t||(e!==r&&ye(s,"has",e),ye(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function nn(e,t=!1){return e=e.__v_raw,!t&&ye(K(e),"iterate",ct),Reflect.get(e,"size",e)}function qs(e){e=K(e);const t=K(this);return An(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function js(e,t){t=K(t);const n=K(this),{has:s,get:r}=An(n);let i=s.call(n,e);i||(e=K(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Kt(t,o)&&ze(n,"set",e,t):ze(n,"add",e,t),this}function Fs(e){const t=K(this),{has:n,get:s}=An(t);let r=n.call(t,e);r||(e=K(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&ze(t,"delete",e,void 0),i}function Ls(){const e=K(this),t=e.size!==0,n=e.clear();return t&&ze(e,"clear",void 0,void 0),n}function sn(e,t){return function(s,r){const i=this,o=i.__v_raw,c=K(o),l=t?ds:e?ms:Qt;return!e&&ye(c,"iterate",ct),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function rn(e,t,n){return function(...s){const r=this.__v_raw,i=K(r),o=bt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?ds:t?ms:Qt;return!t&&ye(i,"iterate",l?Kn:ct),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:c?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:this}}function ao(){const e={get(i){return en(this,i)},get size(){return nn(this)},has:tn,add:qs,set:js,delete:Fs,clear:Ls,forEach:sn(!1,!1)},t={get(i){return en(this,i,!1,!0)},get size(){return nn(this)},has:tn,add:qs,set:js,delete:Fs,clear:Ls,forEach:sn(!1,!0)},n={get(i){return en(this,i,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!1)},s={get(i){return en(this,i,!0,!0)},get size(){return nn(this,!0)},has(i){return tn.call(this,i,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:sn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=rn(i,!1,!1),n[i]=rn(i,!0,!1),t[i]=rn(i,!1,!0),s[i]=rn(i,!0,!0)}),[e,n,t,s]}const[fo,po,ho,go]=ao();function ps(e,t){const n=t?e?go:ho:e?po:fo;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($(n,r)&&r in s?n:s,r,i)}const mo={get:ps(!1,!1)},_o={get:ps(!1,!0)},yo={get:ps(!0,!1)},Br=new WeakMap,Nr=new WeakMap,Ur=new WeakMap,vo=new WeakMap;function bo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wo(e){return e.__v_skip||!Object.isExtensible(e)?0:bo(qi(e))}function En(e){return It(e)?e:hs(e,!1,Lr,mo,Br)}function Dr(e){return hs(e,!1,uo,_o,Nr)}function $r(e){return hs(e,!0,co,yo,Ur)}function hs(e,t,n,s,r){if(!Z(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=wo(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function wt(e){return It(e)?wt(e.__v_raw):!!(e&&e.__v_isReactive)}function It(e){return!!(e&&e.__v_isReadonly)}function hn(e){return!!(e&&e.__v_isShallow)}function Kr(e){return wt(e)||It(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function gs(e){return pn(e,"__v_skip",!0),e}const Qt=e=>Z(e)?En(e):e,ms=e=>Z(e)?$r(e):e;function zr(e){tt&&Ie&&(e=K(e),qr(e.dep||(e.dep=us())))}function Wr(e,t){e=K(e);const n=e.dep;n&&zn(n)}function he(e){return!!(e&&e.__v_isRef===!0)}function Xe(e){return Qr(e,!1)}function Ao(e){return Qr(e,!0)}function Qr(e,t){return he(e)?e:new Eo(e,t)}class Eo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:K(t),this._value=n?t:Qt(t)}get value(){return zr(this),this._value}set value(t){const n=this.__v_isShallow||hn(t)||It(t);t=n?t:K(t),Kt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Qt(t),Wr(this))}}function At(e){return he(e)?e.value:e}const xo={get:(e,t,n)=>At(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return he(r)&&!he(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Jr(e){return wt(e)?e:new Proxy(e,xo)}class Io{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new as(t,()=>{this._dirty||(this._dirty=!0,Wr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=K(this);return zr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Po(e,t,n=!1){let s,r;const i=B(e);return i?(s=e,r=Se):(s=e.get,r=e.set),new Io(s,r,i||!r,n)}function nt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){xn(i,t,n)}return r}function Ce(e,t,n,s){if(B(e)){const i=nt(e,t,n,s);return i&&Ir(i)&&i.catch(o=>{xn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ce(e[i],t,n,s));return r}function xn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,c=n;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,c)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){nt(l,null,10,[e,o,c]);return}}Ro(e,n,r,s)}function Ro(e,t,n,s=!0){console.error(e)}let Jt=!1,Wn=!1;const de=[];let Fe=0;const Et=[];let De=null,ot=0;const Yr=Promise.resolve();let _s=null;function Gr(e){const t=_s||Yr;return e?t.then(this?e.bind(this):e):t}function So(e){let t=Fe+1,n=de.length;for(;t<n;){const s=t+n>>>1;Yt(de[s])<e?t=s+1:n=s}return t}function ys(e){(!de.length||!de.includes(e,Jt&&e.allowRecurse?Fe+1:Fe))&&(e.id==null?de.push(e):de.splice(So(e.id),0,e),Vr())}function Vr(){!Jt&&!Wn&&(Wn=!0,_s=Yr.then(Zr))}function Co(e){const t=de.indexOf(e);t>Fe&&de.splice(t,1)}function Oo(e){F(e)?Et.push(...e):(!De||!De.includes(e,e.allowRecurse?ot+1:ot))&&Et.push(e),Vr()}function Bs(e,t=Jt?Fe+1:0){for(;t<de.length;t++){const n=de[t];n&&n.pre&&(de.splice(t,1),t--,n())}}function Xr(e){if(Et.length){const t=[...new Set(Et)];if(Et.length=0,De){De.push(...t);return}for(De=t,De.sort((n,s)=>Yt(n)-Yt(s)),ot=0;ot<De.length;ot++)De[ot]();De=null,ot=0}}const Yt=e=>e.id==null?1/0:e.id,Mo=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Zr(e){Wn=!1,Jt=!0,de.sort(Mo);const t=Se;try{for(Fe=0;Fe<de.length;Fe++){const n=de[Fe];n&&n.active!==!1&&nt(n,null,14)}}finally{Fe=0,de.length=0,Xr(),Jt=!1,_s=null,(de.length||Et.length)&&Zr()}}function To(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||X;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=s[d]||X;g&&(r=n.map(v=>re(v)?v.trim():v)),h&&(r=n.map(Li))}let c,l=s[c=Mn(t)]||s[c=Mn(xt(t))];!l&&i&&(l=s[c=Mn(Ot(t))]),l&&Ce(l,e,6,r);const f=s[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ce(f,e,6,r)}}function ei(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!B(e)){const l=f=>{const d=ei(f,t,!0);d&&(c=!0,ue(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(Z(e)&&s.set(e,null),null):(F(i)?i.forEach(l=>o[l]=null):ue(o,i),Z(e)&&s.set(e,o),o)}function In(e,t){return!e||!vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),$(e,t[0].toLowerCase()+t.slice(1))||$(e,Ot(t))||$(e,t))}let Le=null,Pn=null;function gn(e){const t=Le;return Le=e,Pn=e&&e.type.__scopeId||null,t}function ko(e){Pn=e}function Ho(){Pn=null}function qo(e,t=Le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Ys(-1);const i=gn(t);let o;try{o=e(...r)}finally{gn(i),s._d&&Ys(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function kn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:v,ctx:R,inheritAttrs:C}=e;let j,M;const H=gn(e);try{if(n.shapeFlag&4){const q=r||s;j=je(d.call(q,q,h,i,v,g,R)),M=l}else{const q=t;j=je(q.length>1?q(i,{attrs:l,slots:c,emit:f}):q(i,null)),M=t.props?l:jo(l)}}catch(q){Ut.length=0,xn(q,e,1),j=be(at)}let D=j;if(M&&C!==!1){const q=Object.keys(M),{shapeFlag:ie}=D;q.length&&ie&7&&(o&&q.some(is)&&(M=Fo(M,o)),D=Pt(D,M))}return n.dirs&&(D=Pt(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),j=D,gn(H),j}const jo=e=>{let t;for(const n in e)(n==="class"||n==="style"||vn(n))&&((t||(t={}))[n]=e[n]);return t},Fo=(e,t)=>{const n={};for(const s in e)(!is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Lo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Ns(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let h=0;h<d.length;h++){const g=d[h];if(o[g]!==s[g]&&!In(f,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?Ns(s,o,f):!0:!!o;return!1}function Ns(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!In(n,i))return!0}return!1}function Bo({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const No=e=>e.__isSuspense;function Uo(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Oo(e)}const on={};function cn(e,t,n){return ti(e,t,n)}function ti(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=X){var c;const l=Ji()===((c=pe)==null?void 0:c.scope)?pe:null;let f,d=!1,h=!1;if(he(e)?(f=()=>e.value,d=hn(e)):wt(e)?(f=()=>e,s=!0):F(e)?(h=!0,d=e.some(q=>wt(q)||hn(q)),f=()=>e.map(q=>{if(he(q))return q.value;if(wt(q))return _t(q);if(B(q))return nt(q,l,2)})):B(e)?t?f=()=>nt(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ce(e,l,3,[v])}:f=Se,t&&s){const q=f;f=()=>_t(q())}let g,v=q=>{g=H.onStop=()=>{nt(q,l,4)}},R;if(Vt)if(v=Se,t?n&&Ce(t,l,3,[f(),h?[]:void 0,v]):f(),r==="sync"){const q=ql();R=q.__watcherHandles||(q.__watcherHandles=[])}else return Se;let C=h?new Array(e.length).fill(on):on;const j=()=>{if(H.active)if(t){const q=H.run();(s||d||(h?q.some((ie,oe)=>Kt(ie,C[oe])):Kt(q,C)))&&(g&&g(),Ce(t,l,3,[q,C===on?void 0:h&&C[0]===on?[]:C,v]),C=q)}else H.run()};j.allowRecurse=!!t;let M;r==="sync"?M=j:r==="post"?M=()=>_e(j,l&&l.suspense):(j.pre=!0,l&&(j.id=l.uid),M=()=>ys(j));const H=new as(f,M);t?n?j():C=H.run():r==="post"?_e(H.run.bind(H),l&&l.suspense):H.run();const D=()=>{H.stop(),l&&l.scope&&os(l.scope.effects,H)};return R&&R.push(D),D}function Do(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?ni(s,e):()=>s[e]:e.bind(s,s);let i;B(t)?i=t:(i=t.handler,n=t);const o=pe;Rt(this);const c=ti(r,i.bind(s),n);return o?Rt(o):ut(),c}function ni(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function _t(e,t){if(!Z(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),he(e))_t(e.value,t);else if(F(e))for(let n=0;n<e.length;n++)_t(e[n],t);else if(xr(e)||bt(e))e.forEach(n=>{_t(n,t)});else if(Rr(e))for(const n in e)_t(e[n],t);return e}function rt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(Mt(),Ce(l,n,8,[e.el,c,e,t]),Tt())}}function si(e,t){return B(e)?(()=>ue({name:e.name},t,{setup:e}))():e}const un=e=>!!e.type.__asyncLoader,ri=e=>e.type.__isKeepAlive;function $o(e,t){ii(e,"a",t)}function Ko(e,t){ii(e,"da",t)}function ii(e,t,n=pe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Rn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ri(r.parent.vnode)&&zo(s,t,n,r),r=r.parent}}function zo(e,t,n,s){const r=Rn(t,e,s,!0);li(()=>{os(s[t],r)},n)}function Rn(e,t,n=pe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Mt(),Rt(n);const c=Ce(t,n,e,o);return ut(),Tt(),c});return s?r.unshift(i):r.push(i),i}}const We=e=>(t,n=pe)=>(!Vt||e==="sp")&&Rn(e,(...s)=>t(...s),n),Wo=We("bm"),oi=We("m"),Qo=We("bu"),Jo=We("u"),Yo=We("bum"),li=We("um"),Go=We("sp"),Vo=We("rtg"),Xo=We("rtc");function Zo(e,t=pe){Rn("ec",e,t)}const el=Symbol.for("v-ndc");function tl(e,t,n,s){let r;const i=n&&n[s];if(F(e)||re(e)){r=new Array(e.length);for(let o=0,c=e.length;o<c;o++)r[o]=t(e[o],o,void 0,i&&i[o])}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i&&i[o])}else if(Z(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,l=o.length;c<l;c++){const f=o[c];r[c]=t(e[f],f,c,i&&i[c])}}else r=[];return n&&(n[s]=r),r}const Qn=e=>e?yi(e)?Es(e)||e.proxy:Qn(e.parent):null,Nt=ue(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qn(e.parent),$root:e=>Qn(e.root),$emit:e=>e.emit,$options:e=>vs(e),$forceUpdate:e=>e.f||(e.f=()=>ys(e.update)),$nextTick:e=>e.n||(e.n=Gr.bind(e.proxy)),$watch:e=>Do.bind(e)}),Hn=(e,t)=>e!==X&&!e.__isScriptSetup&&$(e,t),nl={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const v=o[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Hn(s,t))return o[t]=1,s[t];if(r!==X&&$(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&$(f,t))return o[t]=3,i[t];if(n!==X&&$(n,t))return o[t]=4,n[t];Jn&&(o[t]=0)}}const d=Nt[t];let h,g;if(d)return t==="$attrs"&&ye(e,"get",t),d(e);if((h=c.__cssModules)&&(h=h[t]))return h;if(n!==X&&$(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,$(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Hn(r,t)?(r[t]=n,!0):s!==X&&$(s,t)?(s[t]=n,!0):$(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==X&&$(e,o)||Hn(t,o)||(c=i[0])&&$(c,o)||$(s,o)||$(Nt,o)||$(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Us(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Jn=!0;function sl(e){const t=vs(e),n=e.proxy,s=e.ctx;Jn=!1,t.beforeCreate&&Ds(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:v,updated:R,activated:C,deactivated:j,beforeDestroy:M,beforeUnmount:H,destroyed:D,unmounted:q,render:ie,renderTracked:oe,renderTriggered:J,errorCaptured:ee,serverPrefetch:ne,expose:ae,inheritAttrs:te,components:Ae,directives:Me,filters:kt}=t;if(f&&rl(f,s,null),o)for(const G in o){const z=o[G];B(z)&&(s[G]=z.bind(n))}if(r){const G=r.call(n,n);Z(G)&&(e.data=En(G))}if(Jn=!0,i)for(const G in i){const z=i[G],Be=B(z)?z.bind(n,n):B(z.get)?z.get.bind(n,n):Se,Je=!B(z)&&B(z.set)?z.set.bind(n):Se,Te=Pe({get:Be,set:Je});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Te.value,set:me=>Te.value=me})}if(c)for(const G in c)ci(c[G],s,n,G);if(l){const G=B(l)?l.call(n):l;Reflect.ownKeys(G).forEach(z=>{an(z,G[z])})}d&&Ds(d,e,"c");function le(G,z){F(z)?z.forEach(Be=>G(Be.bind(n))):z&&G(z.bind(n))}if(le(Wo,h),le(oi,g),le(Qo,v),le(Jo,R),le($o,C),le(Ko,j),le(Zo,ee),le(Xo,oe),le(Vo,J),le(Yo,H),le(li,q),le(Go,ne),F(ae))if(ae.length){const G=e.exposed||(e.exposed={});ae.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Be=>n[z]=Be})})}else e.exposed||(e.exposed={});ie&&e.render===Se&&(e.render=ie),te!=null&&(e.inheritAttrs=te),Ae&&(e.components=Ae),Me&&(e.directives=Me)}function rl(e,t,n=Se){F(e)&&(e=Yn(e));for(const s in e){const r=e[s];let i;Z(r)?"default"in r?i=Ke(r.from||s,r.default,!0):i=Ke(r.from||s):i=Ke(r),he(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ds(e,t,n){Ce(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ci(e,t,n,s){const r=s.includes(".")?ni(n,s):()=>n[s];if(re(e)){const i=t[e];B(i)&&cn(r,i)}else if(B(e))cn(r,e.bind(n));else if(Z(e))if(F(e))e.forEach(i=>ci(i,t,n,s));else{const i=B(e.handler)?e.handler.bind(n):t[e.handler];B(i)&&cn(r,i,e)}}function vs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>mn(l,f,o,!0)),mn(l,t,o)),Z(t)&&i.set(t,l),l}function mn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&mn(e,i,n,!0),r&&r.forEach(o=>mn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=il[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const il={data:$s,props:Ks,emits:Ks,methods:Bt,computed:Bt,beforeCreate:ge,created:ge,beforeMount:ge,mounted:ge,beforeUpdate:ge,updated:ge,beforeDestroy:ge,beforeUnmount:ge,destroyed:ge,unmounted:ge,activated:ge,deactivated:ge,errorCaptured:ge,serverPrefetch:ge,components:Bt,directives:Bt,watch:ll,provide:$s,inject:ol};function $s(e,t){return t?e?function(){return ue(B(e)?e.call(this,this):e,B(t)?t.call(this,this):t)}:t:e}function ol(e,t){return Bt(Yn(e),Yn(t))}function Yn(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Bt(e,t){return e?ue(Object.create(null),e,t):t}function Ks(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:ue(Object.create(null),Us(e),Us(t??{})):t}function ll(e,t){if(!e)return t;if(!t)return e;const n=ue(Object.create(null),e);for(const s in t)n[s]=ge(e[s],t[s]);return n}function ui(){return{app:null,config:{isNativeTag:Ti,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let cl=0;function ul(e,t){return function(s,r=null){B(s)||(s=ue({},s)),r!=null&&!Z(r)&&(r=null);const i=ui(),o=new Set;let c=!1;const l=i.app={_uid:cl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:jl,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&B(f.install)?(o.add(f),f.install(l,...d)):B(f)&&(o.add(f),f(l,...d))),l},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),l},component(f,d){return d?(i.components[f]=d,l):i.components[f]},directive(f,d){return d?(i.directives[f]=d,l):i.directives[f]},mount(f,d,h){if(!c){const g=be(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),c=!0,l._container=f,f.__vue_app__=l,Es(g.component)||g.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){_n=l;try{return f()}finally{_n=null}}};return l}}let _n=null;function an(e,t){if(pe){let n=pe.provides;const s=pe.parent&&pe.parent.provides;s===n&&(n=pe.provides=Object.create(s)),n[e]=t}}function Ke(e,t,n=!1){const s=pe||Le;if(s||_n){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:_n._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&B(t)?t.call(s&&s.proxy):t}}function al(e,t,n,s=!1){const r={},i={};pn(i,Cn,1),e.propsDefaults=Object.create(null),ai(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Dr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function fl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=K(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let h=0;h<d.length;h++){let g=d[h];if(In(e.emitsOptions,g))continue;const v=t[g];if(l)if($(i,g))v!==i[g]&&(i[g]=v,f=!0);else{const R=xt(g);r[R]=Gn(l,c,R,v,e,!1)}else v!==i[g]&&(i[g]=v,f=!0)}}}else{ai(e,t,r,i)&&(f=!0);let d;for(const h in c)(!t||!$(t,h)&&((d=Ot(h))===h||!$(t,d)))&&(l?n&&(n[h]!==void 0||n[d]!==void 0)&&(r[h]=Gn(l,c,h,void 0,e,!0)):delete r[h]);if(i!==c)for(const h in i)(!t||!$(t,h))&&(delete i[h],f=!0)}f&&ze(e,"set","$attrs")}function ai(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(ln(l))continue;const f=t[l];let d;r&&$(r,d=xt(l))?!i||!i.includes(d)?n[d]=f:(c||(c={}))[d]=f:In(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=K(n),f=c||X;for(let d=0;d<i.length;d++){const h=i[d];n[h]=Gn(r,l,h,f[h],e,!$(f,h))}}return o}function Gn(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=$(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&B(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(Rt(r),s=f[n]=l.call(null,t),ut())}else s=l}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===Ot(n))&&(s=!0))}return s}function fi(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!B(e)){const d=h=>{l=!0;const[g,v]=fi(h,t,!0);ue(o,g),v&&c.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return Z(e)&&s.set(e,vt),vt;if(F(i))for(let d=0;d<i.length;d++){const h=xt(i[d]);zs(h)&&(o[h]=X)}else if(i)for(const d in i){const h=xt(d);if(zs(h)){const g=i[d],v=o[h]=F(g)||B(g)?{type:g}:ue({},g);if(v){const R=Js(Boolean,v.type),C=Js(String,v.type);v[0]=R>-1,v[1]=C<0||R<C,(R>-1||$(v,"default"))&&c.push(h)}}}const f=[o,c];return Z(e)&&s.set(e,f),f}function zs(e){return e[0]!=="$"}function Ws(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Qs(e,t){return Ws(e)===Ws(t)}function Js(e,t){return F(t)?t.findIndex(n=>Qs(n,e)):B(t)&&Qs(t,e)?0:-1}const di=e=>e[0]==="_"||e==="$stable",bs=e=>F(e)?e.map(je):[je(e)],dl=(e,t,n)=>{if(t._n)return t;const s=qo((...r)=>bs(t(...r)),n);return s._c=!1,s},pi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(di(r))continue;const i=e[r];if(B(i))t[r]=dl(r,i,s);else if(i!=null){const o=bs(i);t[r]=()=>o}}},hi=(e,t)=>{const n=bs(t);e.slots.default=()=>n},pl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=K(t),pn(t,"_",n)):pi(t,e.slots={})}else e.slots={},t&&hi(e,t);pn(e.slots,Cn,1)},hl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=X;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(ue(r,t),!n&&c===1&&delete r._):(i=!t.$stable,pi(t,r)),o=t}else t&&(hi(e,t),o={default:1});if(i)for(const c in r)!di(c)&&!(c in o)&&delete r[c]};function Vn(e,t,n,s,r=!1){if(F(e)){e.forEach((g,v)=>Vn(g,t&&(F(t)?t[v]:t),n,s,r));return}if(un(s)&&!r)return;const i=s.shapeFlag&4?Es(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:l}=e,f=t&&t.r,d=c.refs===X?c.refs={}:c.refs,h=c.setupState;if(f!=null&&f!==l&&(re(f)?(d[f]=null,$(h,f)&&(h[f]=null)):he(f)&&(f.value=null)),B(l))nt(l,c,12,[o,d]);else{const g=re(l),v=he(l);if(g||v){const R=()=>{if(e.f){const C=g?$(h,l)?h[l]:d[l]:l.value;r?F(C)&&os(C,i):F(C)?C.includes(i)||C.push(i):g?(d[l]=[i],$(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,$(h,l)&&(h[l]=o)):v&&(l.value=o,e.k&&(d[e.k]=o))};o?(R.id=-1,_e(R,n)):R()}}}const _e=Uo;function gl(e){return ml(e)}function ml(e,t){const n=Un();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:v=Se,insertStaticContent:R}=e,C=(u,a,p,m=null,y=null,b=null,I=!1,A=null,E=!!a.dynamicChildren)=>{if(u===a)return;u&&!qt(u,a)&&(m=_(u),me(u,y,b,!0),u=null),a.patchFlag===-2&&(E=!1,a.dynamicChildren=null);const{type:w,ref:T,shapeFlag:S}=a;switch(w){case Sn:j(u,a,p,m);break;case at:M(u,a,p,m);break;case qn:u==null&&H(a,p,m,I);break;case qe:Ae(u,a,p,m,y,b,I,A,E);break;default:S&1?ie(u,a,p,m,y,b,I,A,E):S&6?Me(u,a,p,m,y,b,I,A,E):(S&64||S&128)&&w.process(u,a,p,m,y,b,I,A,E,x)}T!=null&&y&&Vn(T,u&&u.ref,b,a||u,!a)},j=(u,a,p,m)=>{if(u==null)s(a.el=c(a.children),p,m);else{const y=a.el=u.el;a.children!==u.children&&f(y,a.children)}},M=(u,a,p,m)=>{u==null?s(a.el=l(a.children||""),p,m):a.el=u.el},H=(u,a,p,m)=>{[u.el,u.anchor]=R(u.children,a,p,m,u.el,u.anchor)},D=({el:u,anchor:a},p,m)=>{let y;for(;u&&u!==a;)y=g(u),s(u,p,m),u=y;s(a,p,m)},q=({el:u,anchor:a})=>{let p;for(;u&&u!==a;)p=g(u),r(u),u=p;r(a)},ie=(u,a,p,m,y,b,I,A,E)=>{I=I||a.type==="svg",u==null?oe(a,p,m,y,b,I,A,E):ne(u,a,y,b,I,A,E)},oe=(u,a,p,m,y,b,I,A)=>{let E,w;const{type:T,props:S,shapeFlag:k,transition:L,dirs:N}=u;if(E=u.el=o(u.type,b,S&&S.is,S),k&8?d(E,u.children):k&16&&ee(u.children,E,null,m,y,b&&T!=="foreignObject",I,A),N&&rt(u,null,m,"created"),J(E,u,u.scopeId,I,m),S){for(const Y in S)Y!=="value"&&!ln(Y)&&i(E,Y,null,S[Y],b,u.children,m,y,fe);"value"in S&&i(E,"value",null,S.value),(w=S.onVnodeBeforeMount)&&He(w,m,u)}N&&rt(u,null,m,"beforeMount");const V=(!y||y&&!y.pendingBranch)&&L&&!L.persisted;V&&L.beforeEnter(E),s(E,a,p),((w=S&&S.onVnodeMounted)||V||N)&&_e(()=>{w&&He(w,m,u),V&&L.enter(E),N&&rt(u,null,m,"mounted")},y)},J=(u,a,p,m,y)=>{if(p&&v(u,p),m)for(let b=0;b<m.length;b++)v(u,m[b]);if(y){let b=y.subTree;if(a===b){const I=y.vnode;J(u,I,I.scopeId,I.slotScopeIds,y.parent)}}},ee=(u,a,p,m,y,b,I,A,E=0)=>{for(let w=E;w<u.length;w++){const T=u[w]=A?Ze(u[w]):je(u[w]);C(null,T,a,p,m,y,b,I,A)}},ne=(u,a,p,m,y,b,I)=>{const A=a.el=u.el;let{patchFlag:E,dynamicChildren:w,dirs:T}=a;E|=u.patchFlag&16;const S=u.props||X,k=a.props||X;let L;p&&it(p,!1),(L=k.onVnodeBeforeUpdate)&&He(L,p,a,u),T&&rt(a,u,p,"beforeUpdate"),p&&it(p,!0);const N=y&&a.type!=="foreignObject";if(w?ae(u.dynamicChildren,w,A,p,m,N,b):I||z(u,a,A,null,p,m,N,b,!1),E>0){if(E&16)te(A,a,S,k,p,m,y);else if(E&2&&S.class!==k.class&&i(A,"class",null,k.class,y),E&4&&i(A,"style",S.style,k.style,y),E&8){const V=a.dynamicProps;for(let Y=0;Y<V.length;Y++){const se=V[Y],Ee=S[se],ht=k[se];(ht!==Ee||se==="value")&&i(A,se,Ee,ht,y,u.children,p,m,fe)}}E&1&&u.children!==a.children&&d(A,a.children)}else!I&&w==null&&te(A,a,S,k,p,m,y);((L=k.onVnodeUpdated)||T)&&_e(()=>{L&&He(L,p,a,u),T&&rt(a,u,p,"updated")},m)},ae=(u,a,p,m,y,b,I)=>{for(let A=0;A<a.length;A++){const E=u[A],w=a[A],T=E.el&&(E.type===qe||!qt(E,w)||E.shapeFlag&70)?h(E.el):p;C(E,w,T,null,m,y,b,I,!0)}},te=(u,a,p,m,y,b,I)=>{if(p!==m){if(p!==X)for(const A in p)!ln(A)&&!(A in m)&&i(u,A,p[A],null,I,a.children,y,b,fe);for(const A in m){if(ln(A))continue;const E=m[A],w=p[A];E!==w&&A!=="value"&&i(u,A,w,E,I,a.children,y,b,fe)}"value"in m&&i(u,"value",p.value,m.value)}},Ae=(u,a,p,m,y,b,I,A,E)=>{const w=a.el=u?u.el:c(""),T=a.anchor=u?u.anchor:c("");let{patchFlag:S,dynamicChildren:k,slotScopeIds:L}=a;L&&(A=A?A.concat(L):L),u==null?(s(w,p,m),s(T,p,m),ee(a.children,p,T,y,b,I,A,E)):S>0&&S&64&&k&&u.dynamicChildren?(ae(u.dynamicChildren,k,p,y,b,I,A),(a.key!=null||y&&a===y.subTree)&&gi(u,a,!0)):z(u,a,p,T,y,b,I,A,E)},Me=(u,a,p,m,y,b,I,A,E)=>{a.slotScopeIds=A,u==null?a.shapeFlag&512?y.ctx.activate(a,p,m,I,E):kt(a,p,m,y,b,I,E):ft(u,a,E)},kt=(u,a,p,m,y,b,I)=>{const A=u.component=Sl(u,m,y);if(ri(u)&&(A.ctx.renderer=x),Cl(A),A.asyncDep){if(y&&y.registerDep(A,le),!u.el){const E=A.subTree=be(at);M(null,E,a,p)}return}le(A,u,a,p,y,b,I)},ft=(u,a,p)=>{const m=a.component=u.component;if(Lo(u,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,Co(m.update),m.update();else a.el=u.el,m.vnode=a},le=(u,a,p,m,y,b,I)=>{const A=()=>{if(u.isMounted){let{next:T,bu:S,u:k,parent:L,vnode:N}=u,V=T,Y;it(u,!1),T?(T.el=N.el,G(u,T,I)):T=N,S&&Tn(S),(Y=T.props&&T.props.onVnodeBeforeUpdate)&&He(Y,L,T,N),it(u,!0);const se=kn(u),Ee=u.subTree;u.subTree=se,C(Ee,se,h(Ee.el),_(Ee),u,y,b),T.el=se.el,V===null&&Bo(u,se.el),k&&_e(k,y),(Y=T.props&&T.props.onVnodeUpdated)&&_e(()=>He(Y,L,T,N),y)}else{let T;const{el:S,props:k}=a,{bm:L,m:N,parent:V}=u,Y=un(a);if(it(u,!1),L&&Tn(L),!Y&&(T=k&&k.onVnodeBeforeMount)&&He(T,V,a),it(u,!0),S&&W){const se=()=>{u.subTree=kn(u),W(S,u.subTree,u,y,null)};Y?a.type.__asyncLoader().then(()=>!u.isUnmounted&&se()):se()}else{const se=u.subTree=kn(u);C(null,se,p,m,u,y,b),a.el=se.el}if(N&&_e(N,y),!Y&&(T=k&&k.onVnodeMounted)){const se=a;_e(()=>He(T,V,se),y)}(a.shapeFlag&256||V&&un(V.vnode)&&V.vnode.shapeFlag&256)&&u.a&&_e(u.a,y),u.isMounted=!0,a=p=m=null}},E=u.effect=new as(A,()=>ys(w),u.scope),w=u.update=()=>E.run();w.id=u.uid,it(u,!0),w()},G=(u,a,p)=>{a.component=u;const m=u.vnode.props;u.vnode=a,u.next=null,fl(u,a.props,m,p),hl(u,a.children,p),Mt(),Bs(),Tt()},z=(u,a,p,m,y,b,I,A,E=!1)=>{const w=u&&u.children,T=u?u.shapeFlag:0,S=a.children,{patchFlag:k,shapeFlag:L}=a;if(k>0){if(k&128){Je(w,S,p,m,y,b,I,A,E);return}else if(k&256){Be(w,S,p,m,y,b,I,A,E);return}}L&8?(T&16&&fe(w,y,b),S!==w&&d(p,S)):T&16?L&16?Je(w,S,p,m,y,b,I,A,E):fe(w,y,b,!0):(T&8&&d(p,""),L&16&&ee(S,p,m,y,b,I,A,E))},Be=(u,a,p,m,y,b,I,A,E)=>{u=u||vt,a=a||vt;const w=u.length,T=a.length,S=Math.min(w,T);let k;for(k=0;k<S;k++){const L=a[k]=E?Ze(a[k]):je(a[k]);C(u[k],L,p,null,y,b,I,A,E)}w>T?fe(u,y,b,!0,!1,S):ee(a,p,m,y,b,I,A,E,S)},Je=(u,a,p,m,y,b,I,A,E)=>{let w=0;const T=a.length;let S=u.length-1,k=T-1;for(;w<=S&&w<=k;){const L=u[w],N=a[w]=E?Ze(a[w]):je(a[w]);if(qt(L,N))C(L,N,p,null,y,b,I,A,E);else break;w++}for(;w<=S&&w<=k;){const L=u[S],N=a[k]=E?Ze(a[k]):je(a[k]);if(qt(L,N))C(L,N,p,null,y,b,I,A,E);else break;S--,k--}if(w>S){if(w<=k){const L=k+1,N=L<T?a[L].el:m;for(;w<=k;)C(null,a[w]=E?Ze(a[w]):je(a[w]),p,N,y,b,I,A,E),w++}}else if(w>k)for(;w<=S;)me(u[w],y,b,!0),w++;else{const L=w,N=w,V=new Map;for(w=N;w<=k;w++){const ve=a[w]=E?Ze(a[w]):je(a[w]);ve.key!=null&&V.set(ve.key,w)}let Y,se=0;const Ee=k-N+1;let ht=!1,Ss=0;const Ht=new Array(Ee);for(w=0;w<Ee;w++)Ht[w]=0;for(w=L;w<=S;w++){const ve=u[w];if(se>=Ee){me(ve,y,b,!0);continue}let ke;if(ve.key!=null)ke=V.get(ve.key);else for(Y=N;Y<=k;Y++)if(Ht[Y-N]===0&&qt(ve,a[Y])){ke=Y;break}ke===void 0?me(ve,y,b,!0):(Ht[ke-N]=w+1,ke>=Ss?Ss=ke:ht=!0,C(ve,a[ke],p,null,y,b,I,A,E),se++)}const Cs=ht?_l(Ht):vt;for(Y=Cs.length-1,w=Ee-1;w>=0;w--){const ve=N+w,ke=a[ve],Os=ve+1<T?a[ve+1].el:m;Ht[w]===0?C(null,ke,p,Os,y,b,I,A,E):ht&&(Y<0||w!==Cs[Y]?Te(ke,p,Os,2):Y--)}}},Te=(u,a,p,m,y=null)=>{const{el:b,type:I,transition:A,children:E,shapeFlag:w}=u;if(w&6){Te(u.component.subTree,a,p,m);return}if(w&128){u.suspense.move(a,p,m);return}if(w&64){I.move(u,a,p,x);return}if(I===qe){s(b,a,p);for(let S=0;S<E.length;S++)Te(E[S],a,p,m);s(u.anchor,a,p);return}if(I===qn){D(u,a,p);return}if(m!==2&&w&1&&A)if(m===0)A.beforeEnter(b),s(b,a,p),_e(()=>A.enter(b),y);else{const{leave:S,delayLeave:k,afterLeave:L}=A,N=()=>s(b,a,p),V=()=>{S(b,()=>{N(),L&&L()})};k?k(b,N,V):V()}else s(b,a,p)},me=(u,a,p,m=!1,y=!1)=>{const{type:b,props:I,ref:A,children:E,dynamicChildren:w,shapeFlag:T,patchFlag:S,dirs:k}=u;if(A!=null&&Vn(A,null,p,u,!0),T&256){a.ctx.deactivate(u);return}const L=T&1&&k,N=!un(u);let V;if(N&&(V=I&&I.onVnodeBeforeUnmount)&&He(V,a,u),T&6)Zt(u.component,p,m);else{if(T&128){u.suspense.unmount(p,m);return}L&&rt(u,null,a,"beforeUnmount"),T&64?u.type.remove(u,a,p,y,x,m):w&&(b!==qe||S>0&&S&64)?fe(w,a,p,!1,!0):(b===qe&&S&384||!y&&T&16)&&fe(E,a,p),m&&dt(u)}(N&&(V=I&&I.onVnodeUnmounted)||L)&&_e(()=>{V&&He(V,a,u),L&&rt(u,null,a,"unmounted")},p)},dt=u=>{const{type:a,el:p,anchor:m,transition:y}=u;if(a===qe){pt(p,m);return}if(a===qn){q(u);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:I,delayLeave:A}=y,E=()=>I(p,b);A?A(u.el,b,E):E()}else b()},pt=(u,a)=>{let p;for(;u!==a;)p=g(u),r(u),u=p;r(a)},Zt=(u,a,p)=>{const{bum:m,scope:y,update:b,subTree:I,um:A}=u;m&&Tn(m),y.stop(),b&&(b.active=!1,me(I,u,a,p)),A&&_e(A,a),_e(()=>{u.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},fe=(u,a,p,m=!1,y=!1,b=0)=>{for(let I=b;I<u.length;I++)me(u[I],a,p,m,y)},_=u=>u.shapeFlag&6?_(u.component.subTree):u.shapeFlag&128?u.suspense.next():g(u.anchor||u.el),P=(u,a,p)=>{u==null?a._vnode&&me(a._vnode,null,null,!0):C(a._vnode||null,u,a,null,null,null,p),Bs(),Xr(),a._vnode=u},x={p:C,um:me,m:Te,r:dt,mt:kt,mc:ee,pc:z,pbc:ae,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:P,hydrate:O,createApp:ul(P,O)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function gi(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=Ze(r[i]),c.el=o.el),n||gi(o,c)),c.type===Sn&&(c.el=o.el)}}function _l(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<f?i=c+1:o=c;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const yl=e=>e.__isTeleport,qe=Symbol.for("v-fgt"),Sn=Symbol.for("v-txt"),at=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),Ut=[];let Re=null;function Ue(e=!1){Ut.push(Re=e?null:[])}function vl(){Ut.pop(),Re=Ut[Ut.length-1]||null}let Gt=1;function Ys(e){Gt+=e}function mi(e){return e.dynamicChildren=Gt>0?Re||vt:null,vl(),Gt>0&&Re&&Re.push(e),e}function Ge(e,t,n,s,r,i){return mi(ce(e,t,n,s,r,i,!0))}function bl(e,t,n,s,r){return mi(be(e,t,n,s,r,!0))}function Xn(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const Cn="__vInternal",_i=({key:e})=>e??null,fn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||he(e)||B(e)?{i:Le,r:e,k:t,f:!!n}:e:null);function ce(e,t=null,n=null,s=0,r=null,i=e===qe?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&fn(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Le};return c?(ws(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=re(n)?8:16),Gt>0&&!o&&Re&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Re.push(l),l}const be=wl;function wl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===el)&&(e=at),Xn(e)){const c=Pt(e,t,!0);return n&&ws(c,n),Gt>0&&!i&&Re&&(c.shapeFlag&6?Re[Re.indexOf(e)]=c:Re.push(c)),c.patchFlag|=-2,c}if(kl(e)&&(e=e.__vccOpts),t){t=Al(t);let{class:c,style:l}=t;c&&!re(c)&&(t.class=Wt(c)),Z(l)&&(Kr(l)&&!F(l)&&(l=ue({},l)),t.style=zt(l))}const o=re(e)?1:No(e)?128:yl(e)?64:Z(e)?4:B(e)?2:0;return ce(e,t,n,s,r,o,i,!0)}function Al(e){return e?Kr(e)||Cn in e?ue({},e):e:null}function Pt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?Il(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&_i(c),ref:t&&t.ref?n&&r?F(r)?r.concat(fn(t)):[r,fn(t)]:fn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Pt(e.ssContent),ssFallback:e.ssFallback&&Pt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function El(e=" ",t=0){return be(Sn,null,e,t)}function xl(e="",t=!1){return t?(Ue(),bl(at,null,e)):be(at,null,e)}function je(e){return e==null||typeof e=="boolean"?be(at):F(e)?be(qe,null,e.slice()):typeof e=="object"?Ze(e):be(Sn,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Pt(e)}function ws(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),ws(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Cn in t)?t._ctx=Le:r===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else B(t)?(t={default:t,_ctx:Le},n=32):(t=String(t),s&64?(n=16,t=[El(t)]):n=8);e.children=t,e.shapeFlag|=n}function Il(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Wt([t.class,s.class]));else if(r==="style")t.style=zt([t.style,s.style]);else if(vn(r)){const i=t[r],o=s[r];o&&i!==o&&!(F(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function He(e,t,n,s=null){Ce(e,t,7,[n,s])}const Pl=ui();let Rl=0;function Sl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Pl,i={uid:Rl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:fi(s,r),emitsOptions:ei(s,r),emit:null,emitted:null,propsDefaults:X,inheritAttrs:s.inheritAttrs,ctx:X,data:X,props:X,attrs:X,slots:X,refs:X,setupState:X,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=To.bind(null,i),e.ce&&e.ce(i),i}let pe=null,As,gt,Gs="__VUE_INSTANCE_SETTERS__";(gt=Un()[Gs])||(gt=Un()[Gs]=[]),gt.push(e=>pe=e),As=e=>{gt.length>1?gt.forEach(t=>t(e)):gt[0](e)};const Rt=e=>{As(e),e.scope.on()},ut=()=>{pe&&pe.scope.off(),As(null)};function yi(e){return e.vnode.shapeFlag&4}let Vt=!1;function Cl(e,t=!1){Vt=t;const{props:n,children:s}=e.vnode,r=yi(e);al(e,n,r,t),pl(e,s);const i=r?Ol(e,t):void 0;return Vt=!1,i}function Ol(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gs(new Proxy(e.ctx,nl));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Tl(e):null;Rt(e),Mt();const i=nt(s,e,0,[e.props,r]);if(Tt(),ut(),Ir(i)){if(i.then(ut,ut),t)return i.then(o=>{Vs(e,o,t)}).catch(o=>{xn(o,e,0)});e.asyncDep=i}else Vs(e,i,t)}else vi(e,t)}function Vs(e,t,n){B(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Z(t)&&(e.setupState=Jr(t)),vi(e,n)}let Xs;function vi(e,t,n){const s=e.type;if(!e.render){if(!t&&Xs&&!s.render){const r=s.template||vs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=ue(ue({isCustomElement:i,delimiters:c},o),l);s.render=Xs(r,f)}}e.render=s.render||Se}Rt(e),Mt(),sl(e),Tt(),ut()}function Ml(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ye(e,"get","$attrs"),t[n]}}))}function Tl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ml(e)},slots:e.slots,emit:e.emit,expose:t}}function Es(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Jr(gs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nt)return Nt[n](e)},has(t,n){return n in t||n in Nt}}))}function kl(e){return B(e)&&"__vccOpts"in e}const Pe=(e,t)=>Po(e,t,Vt);function bi(e,t,n){const s=arguments.length;return s===2?Z(t)&&!F(t)?Xn(t)?be(e,null,[t]):be(e,t):be(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Xn(n)&&(n=[n]),be(e,t,n))}const Hl=Symbol.for("v-scx"),ql=()=>Ke(Hl),jl="3.3.4",Fl="http://www.w3.org/2000/svg",lt=typeof document<"u"?document:null,Zs=lt&<.createElement("template"),Ll={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?lt.createElementNS(Fl,e):lt.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>lt.createTextNode(e),createComment:e=>lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Zs.innerHTML=s?`<svg>${e}</svg>`:e;const c=Zs.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Bl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Nl(e,t,n){const s=e.style,r=re(n);if(n&&!r){if(t&&!re(t))for(const i in t)n[i]==null&&Zn(s,i,"");for(const i in n)Zn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const er=/\s*!important$/;function Zn(e,t,n){if(F(n))n.forEach(s=>Zn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ul(e,t);er.test(n)?e.setProperty(Ot(s),n.replace(er,""),"important"):e[s]=n}}const tr=["Webkit","Moz","ms"],jn={};function Ul(e,t){const n=jn[t];if(n)return n;let s=xt(t);if(s!=="filter"&&s in e)return jn[t]=s;s=Sr(s);for(let r=0;r<tr.length;r++){const i=tr[r]+s;if(i in e)return jn[t]=i}return t}const nr="http://www.w3.org/1999/xlink";function Dl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(nr,t.slice(6,t.length)):e.setAttributeNS(nr,t,n);else{const i=Ki(t);n==null||i&&!Cr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function $l(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const c=e.tagName;if(t==="value"&&c!=="PROGRESS"&&!c.includes("-")){e._value=n;const f=c==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Cr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Kl(e,t,n,s){e.addEventListener(t,n,s)}function zl(e,t,n,s){e.removeEventListener(t,n,s)}function Wl(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=Ql(t);if(s){const f=i[t]=Gl(s,r);Kl(e,c,f,l)}else o&&(zl(e,c,o,l),i[t]=void 0)}}const sr=/(?:Once|Passive|Capture)$/;function Ql(e){let t;if(sr.test(e)){t={};let s;for(;s=e.match(sr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ot(e.slice(2)),t]}let Fn=0;const Jl=Promise.resolve(),Yl=()=>Fn||(Jl.then(()=>Fn=0),Fn=Date.now());function Gl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ce(Vl(s,n.value),t,5,[s])};return n.value=e,n.attached=Yl(),n}function Vl(e,t){if(F(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const rr=/^on[a-z]/,Xl=(e,t,n,s,r=!1,i,o,c,l)=>{t==="class"?Bl(e,s,r):t==="style"?Nl(e,n,s):vn(t)?is(t)||Wl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Zl(e,t,s,r))?$l(e,t,s,i,o,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Dl(e,t,s,r))};function Zl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&rr.test(t)&&B(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||rr.test(t)&&re(n)?!1:t in e}const ec=ue({patchProp:Xl},Ll);let ir;function tc(){return ir||(ir=gl(ec))}const nc=(...e)=>{const t=tc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=sc(s);if(!r)return;const i=t._component;!B(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function sc(e){return re(e)?document.querySelector(e):e}var rc=!1;/*!
|
|
2
2
|
* pinia v2.1.6
|
|
3
3
|
* (c) 2023 Eduardo San Martin Morote
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/const nc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function sc(){const e=zi(!0),t=e.run(()=>Nt({}));let n=[],s=[];const r=hs({install(i){r._a=i,i.provide(nc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!tc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function rc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function ir(){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 Zn{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class ic{constructor(){this._requests={},this._messagesEventHandlers=new Zn,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=ir(),[r,i,o]=rc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=ir();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class oc{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let dn=new oc;class $e{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class lc extends $e{constructor(){super()}canHandleRequest(t){return["getComments"].includes(t.request)}async handleRequest(t){return window.mockComments||[{id:"1fsdf",title:"Sample comment",text:"Comments will appear here once the broadcast starts.",pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:"fb",flags:{sample:!0,star:!1,shown:!1}}]}}class cc extends $e{constructor(){super()}canHandleRequest(t){return[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 uc 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 ac extends $e{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:ge(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:ge(),type:"twitchProfile",statistics:{channel:{subscribers:ge()}},last_subscribers:null},{viewers:ge(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:ge(),type:"youtubeChannel",statistics:{viewCount:ge(),likeCount:ge(),dislikeCount:ge(),favoriteCount:ge(),commentCount:ge()},lastSubscribers:[{name:"Eran Eluz",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s800-c-k-c0x00ffffff-no-rj"}}},{name:"Roman Arinenko",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s800-c-k-c0x00ffffff-no-rj"}}}]},{viewers:ge(),type:"facebookProfile",statistics:{total_reactions:ge()}}]}}class fc extends $e{constructor(){super()}canHandleRequest(t){return[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 dc 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 pc 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 hc extends $e{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class gc 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 mc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Zn,this._eventHandler=new Zn,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new lc(t)),this._requestHandlers.push(new cc(t)),this._requestHandlers.push(new uc(t)),this._requestHandlers.push(new ac(t)),this._requestHandlers.push(new fc(t)),this._requestHandlers.push(new dc(t)),this._requestHandlers.push(new pc(t)),this._requestHandlers.push(new hc(t)),this._requestHandlers.push(new gc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=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&&ic.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const _t=new mc;const _c=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},yc={class:"test_holder_root"},bc={class:"test_holder_main"},vc={class:"settings_sidebar light"},wc={class:"video_editor_wr"},Ac={key:0,class:"apps_fast_access_wr"},Ec=["title","innerHTML"],xc=["title"],Pc=["innerHTML"],Ic={class:"apps_fast_access_btn_drop"},Rc=["onClick"],Sc={class:"scene_canvas"},Cc={class:"widget_layer",ref:"widgetLayer"},Oc={__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 ii(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`}),(l,f)=>{var d,h;return nt(),pt("div",yc,[ye("div",bc,[ye("div",vc,[ye("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)]),ye("div",wc,[o.value?(nt(),pt("div",Ac,[o.value.buttons.length===1?(nt(),pt("div",{key:0,class:Wt(["apps_fast_access_btn",[o.value.uiColor?"uiColor":""]]),style:zt({backgroundColor:o.value.uiColor||""}),title:o.value.buttons[0].buttonText,onClick: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,Ec)):(nt(),pt("div",{key:1,class:"apps_fast_access_btn",title:o.value.group.groupName||"Actions"},[ye("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,Pc),ye("div",Ic,[(nt(!0),pt(Te,null,Xo(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)},Ki(g.buttonText.length>19?g.buttonText.slice(0,19)+"...":g.buttonText),15,Rc))),128))])],8,xc))])):wl("",!0),ye("div",Sc,[ye("div",Cc,[ye("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512)],512)])])])])}}},Tc=_c(Oc,[["__scopeId","data-v-11b99f11"]]);/*!
|
|
5
|
+
*/const ic=Symbol();var or;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(or||(or={}));function oc(){const e=Wi(!0),t=e.run(()=>Xe({}));let n=[],s=[];const r=gs({install(i){r._a=i,i.provide(ic,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!rc?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function lc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function lr(){var e,t,n;for(e="",n=0;n<32;n++)(n==8||n==12||n==16||n==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class es{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class cc{constructor(){this._requests={},this._messagesEventHandlers=new es,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,n=null){let s=lr(),[r,i,o]=lc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=lr();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class uc{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let dn=new uc;class Qe{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ac extends Qe{constructor(){super()}canHandleRequest(t){return["getComments"].includes(t.request)}async handleRequest(t){return window.mockComments||[{id:"1fsdf",title:"Sample comment",text:"Comments will appear here once the broadcast starts.",pic:"https://evmuxstatic.s3-eu-west-1.amazonaws.com/AVATAR_EXAMPLE_FREE.jpg",style:"comment",enabled:!0,created_time:new Date(Date.now()-1e3*60),sn:"fb",flags:{sample:!0,star:!1,shown:!1}}]}}class fc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createNewLayer,U.removeSizeCatcher,U.listScenes,U.switchScene,U.updateLayer,U.getLayerDisplayableName].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}async updateLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async getLayerDisplayableName(t){return window.mockLayerName||"A Mock Layer Name"}async listScenes(t){return window.mockScenes||[{id:497,idx:497,order:0,name:"New Scene",stingerData:{idx:null,time:null,muted:!1,speed:1,volume:100,transitionName:null,transitionDuration:0},backgroundColor:null,overWriteBackgroundColor:!1,layers:[{idx:"e9fe6623-4332-447c-bb1a-ccfe9f794bb3",type:"userapp",name:"TESTAPP",opacity:100,bounds:{x:1280,y:720},pos:{rot:0,top:8.397612310554674,left:13.50375337545383,right:19.829579957879496,bottom:24.93572102277865},crop:{top:0,left:0,right:0,bottom:0},data:{adaptive:!1,aspect:!0,borderRadius:0,userAppInstanceId:"4d532c22-363e-4028-824d-7b029f100916",userAppId:"ce5d32b3-7d6c-4e43-be02-4903d6b49acd",fixedSize:!0,fixedSizeWidth:1280,fixedSizeHeight:720,verticalStreaming:{pos:{rot:0,top:35.052083333333336,left:2.7777777777777777,right:2.7777777777777857,bottom:35.05208333333333},crop:{top:0,left:0,right:0,bottom:0},borderRadius:0,aspect:!0,bounds:{x:1020,y:574},customBounds:{x:1020,y:574},locked:!1,hidden:!1,fixedSizeWidth:1020,fixedSizeHeight:574}},order:0}],thumbnail:{landscape:"https://files.evmux.com/6/scenes/sc_tmb_4971715842178.jpg?Expires=1715885379&Signature=ORHKomQH7iaugP~fHJFYBgZfwoG2lyQOMORSbRld378vCvudJ5gFapWdQNfE~j97UOKuon0uwZ1F741k2YU3qWIFNklDdqU6zuJgxaDTHPM~~TvG9p-Nl0g4BBzGvlyR-JZbUCbpWtg9DczFnQbeFbWynHFdIOGwwh2OQYXuAHlW0v1UDuOnjGRU87XvZ~ReSCW844TuhaPCBPXoMiSt0MHDC-zk~ggmpb7~eQMPjTF5znOdcDB0DdRJ8j~7EYNCFGYGesErpPqH5kOMRLCwmjmvQ4gFJMkNEfPBGdQclanYiSw5iL7KsOErCUtS447euT7wDnRT1N1wgL0LYgJDdQ__&Key-Pair-Id=APKAJQZJ2AA6OYF4WJHA",portrait:null}}]}async switchScene(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}}const $e={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur",studioParamsUpdated:"studioParamsUpdated",signalingEvent:"signalingEvent"};class dc extends Qe{constructor(){super()}canHandleRequest(t){return[U.raiseExternalAppMessagingEvent,U.setFastActionButtons,U.openSideBarSettings,U.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return yt._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,$e.externalAppMessaging,t.data.data),null}async setFastActionButtons(t){return yt._eventHandler.publish("fastActionButtonsUpdated",t),!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function we(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class pc extends Qe{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:we(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:we(),type:"twitchProfile",statistics:{channel:{subscribers:we()}},last_subscribers:null},{viewers:we(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:we(),type:"youtubeChannel",statistics:{viewCount:we(),likeCount:we(),dislikeCount:we(),favoriteCount:we(),commentCount:we()},lastSubscribers:[{name:"Eran Eluz",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaSdQs59DTIyTrfPz8ePDpCAQ-0dJuwmvK8W-NpM9As=s800-c-k-c0x00ffffff-no-rj"}}},{name:"Roman Arinenko",thumbs:{default:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s88-c-k-c0x00ffffff-no-rj"},medium:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s240-c-k-c0x00ffffff-no-rj"},high:{url:"https://yt3.ggpht.com/ytc/AOPolaQrO9YkhtcAmG1jvfwX_0xuew_Lh5dcIpb0=s800-c-k-c0x00ffffff-no-rj"}}}]},{viewers:we(),type:"facebookProfile",statistics:{total_reactions:we()}}]}}class hc extends Qe{constructor(){super()}canHandleRequest(t){return[U.displayDateTimePicker,U.displayScenePicker,U.displayRichTextEditor,U.displayToast,U.displayLayerSelector,U.displayGalleryPicker,U.displayInputs].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayLayerSelector(t){return window.mockLayer}async displayGalleryPicker(t){return window.mockGalleryResult}async displayInputs(t){return window.mockInputs||{type:"string",min:0,max:256,value:"Input Text Here",myId:"example"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b> "+new Date().getTime()}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}class gc extends Qe{constructor(){super()}canHandleRequest(t){return[U.getStudioParams,U.getSoundRtc,U.signal].includes(t.request)}async getStudioParams(t){return window.mockStudioParams||{antiScaleValue:1,antiScaleValue2:1}}async signal(t){return null}async getSoundRtc(t){return"webrtc-mock-channel"}}class mc extends Qe{constructor(){super()}canHandleRequest(t){return[U.logError,U.logInfo,U.logWarning].includes(t.request)}async handleRequest(t){return this[t.request.toLowerCase().replace("log","")](t)}async error(t){return console.error(t.data),!0}async info(t){return console.info(t.data),!0}async warning(t){return console.warn(t.data),!0}}class _c extends Qe{constructor(){super()}canHandleRequest(t){return[U.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class yc extends Qe{constructor(){super()}canHandleRequest(t){return[U.createStream,U.accountPlanCapabilities,U.upgradePopup].includes(t.request)}async createStream(t){return{value:window.mockStream||{}}}async accountPlanCapabilities(t){return{value:window.mockAccountPlanCapabilities||{}}}async upgradePopup(t){return{value:null}}}const U={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",listScenes:"listScenes",updateLayer:"updateLayer",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker",displayScenePicker:"displayScenePicker",displayRichTextEditor:"displayRichTextEditor",displayToast:"displayToast",displayLayerSelector:"displayLayerSelector",displayGalleryPicker:"displayGalleryPicker",isSudioMode:"isSudioMode",getStudioParams:"getStudioParams",getSoundRtc:"getSoundRtc",signal:"signal",logError:"logError",logWarning:"logWarning",logInfo:"logInfo",getLayerDisplayableName:"getLayerDisplayableName",listAssets:"listAssets",createStream:"createStream",displayInputs:"displayInputs",accountPlanCapabilities:"accountPlanCapabilities",upgradePopup:"upgradePopup"};let jt=(e,t,n)=>({requestName:e,eventName:t,data:n});class vc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new es,this._eventHandler=new es,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new ac(t)),this._requestHandlers.push(new fc(t)),this._requestHandlers.push(new dc(t)),this._requestHandlers.push(new pc(t)),this._requestHandlers.push(new hc(t)),this._requestHandlers.push(new gc(t)),this._requestHandlers.push(new mc(t)),this._requestHandlers.push(new _c(t)),this._requestHandlers.push(new yc(t))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=jt("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return dn.getUserAppInstanceById(t)}_makeSureAppInstanceExist(t){this._userAppInstances[t]=this._userAppInstances[t]||{},this._userAppInstances[t].instances=this._userAppInstances[t].instances||{},this._userAppInstances[t].events=this._userAppInstances[t].events||{}}updateAndNotifyAppInstancesOnSettingsUpdate(t,n,s){if(dn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[$e.settingsUpdated]){let r=jt("EvEvent",$e.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}updateAppsAboutStudioParams(t){let n=jt("EvEvent",$e.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(s=>{this._userAppInstances[s].events[$e.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(s,n,null)})}signalApp(t,n){let s=this._userAppInstances[t];if(s&&s.events[$e.signalingEvent]){let r=jt("EvEvent",$e.signalingEvent,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}async onPostMessage(t){let n={};try{typeof t.data=="string"||t.data instanceof String?n=JSON.parse(t.data):n=t.data}catch{}let s=null;if(n.request==U.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==U.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,$e.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==U.getSettings)this._userAppInstances[n.userAppInstanceId]&&(jt("EvMessage","settings",n.data),s=(await dn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==U.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==U.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",n),s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==U.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==U.unregisterEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),delete this._userAppInstances[n.userAppInstanceId].events[n.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(n)){s=await this._requestHandlers[r].handleRequest(n);break}n.promisedBased&&cc.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const yt=new vc;const bc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},xs=e=>(ko("data-v-9acc907e"),e=e(),Ho(),e),wc={class:"test_holder_root"},Ac={class:"test_holder_main"},Ec={class:"settings_header"},xc=["title"],Ic={key:0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pc=xs(()=>ce("circle",{cx:"12",cy:"12",r:"5",stroke:"currentColor","stroke-width":"2"},null,-1)),Rc=xs(()=>ce("path",{d:"M12 2V4M12 20V22M4 12H2M22 12H20M5.64 5.64L4.22 4.22M19.78 19.78L18.36 18.36M5.64 18.36L4.22 19.78M19.78 4.22L18.36 5.64",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},null,-1)),Sc=[Pc,Rc],Cc={key:1,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Oc=xs(()=>ce("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)),Mc=[Oc],Tc={class:"video_editor_wr"},kc={key:0,class:"apps_fast_access_wr"},Hc=["title","innerHTML"],qc=["title"],jc=["innerHTML"],Fc={class:"apps_fast_access_btn_drop"},Lc=["onClick"],Bc={class:"scene_canvas"},Nc={__name:"TestHolder",setup(e){yt.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};dn.updateUserAppInstance(t,{id:t,settings:s});const r=Xe(null),i=Xe(null),o=Xe(null),c=Xe("light"),l=Xe(null),f=Xe(null);function d(){c.value=c.value==="light"?"dark":"light",o.value.classList.remove("light","dark"),o.value.classList.add(c.value),i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=${c.value}`}let h=null,g=0,v=0,R=0,C=0,j=0,M=0;function H(J){h="drag",g=J.clientX,v=J.clientY,R=parseInt(f.value.style.left)||0,C=parseInt(f.value.style.top)||0,J.preventDefault()}function D(J){h="resize",g=J.clientX,v=J.clientY,j=f.value.offsetWidth,M=f.value.offsetHeight,J.preventDefault(),J.stopPropagation()}function q(J){if(!h)return;const ee=J.clientX-g,ne=J.clientY-v;if(h==="drag")f.value.style.left=R+ee+"px",f.value.style.top=C+ne+"px";else if(h==="resize"){const ae=Math.max(60,j+ee),te=Math.max(60,M+ne);f.value.style.width=ae+"px",f.value.style.height=te+"px"}}function ie(){h=null}yt._eventHandler.subscribe("fastActionButtonsUpdated",(J,ee)=>{var Ae;const ne=ee.data.buttonsArray||[];if(!ne.length){l.value=null;return}const te=ne.length===1&&((Ae=ne[0])==null?void 0:Ae.uiColor)||null;l.value={componentId:ee.componentId,userAppInstanceId:ee.userAppInstanceId,buttons:ne,group:ee.data.parameters||{},uiColor:te}});function oe(J,ee){let ne={fastAccessButton:ee,userAppInstanceId:J.userAppInstanceId,componentId:J.componentId};yt._raiseEventForSpecificUserAppInstance(J.userAppInstanceId,$e.fastActionButton,ne),yt._eventHandler.publish("updateEverywhere",{request:U.raiseFastAccessButtonEvent,data:ne})}return oi(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}&styleVersion=light`,document.addEventListener("mousemove",q),document.addEventListener("mouseup",ie)}),(J,ee)=>{var ne,ae;return Ue(),Ge("div",wc,[ce("div",Ac,[ce("div",{class:"settings_sidebar light",ref_key:"settingsSidebar",ref:o},[ce("div",Ec,[ce("div",{class:"theme_toggle",onClick:d,title:c.value==="light"?"Switch to Dark mode":"Switch to Light mode"},[c.value==="dark"?(Ue(),Ge("svg",Ic,Sc)):(Ue(),Ge("svg",Cc,Mc))],8,xc)]),ce("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)],512),ce("div",Tc,[l.value?(Ue(),Ge("div",kc,[l.value.buttons.length===1?(Ue(),Ge("div",{key:0,class:Wt(["apps_fast_access_btn",[l.value.uiColor?"uiColor":""]]),style:zt({backgroundColor:l.value.uiColor||""}),title:l.value.buttons[0].buttonText,onClick:ee[0]||(ee[0]=te=>oe(l.value,l.value.buttons[0])),innerHTML:l.value.buttons[0].icon||((ne=l.value.group.groupName)==null?void 0:ne.slice(0,1))||"?"},null,14,Hc)):(Ue(),Ge("div",{key:1,class:"apps_fast_access_btn",title:l.value.group.groupName||"Actions"},[ce("div",{innerHTML:l.value.group.groupIcon||((ae=l.value.group.groupName)==null?void 0:ae.slice(0,1))||"?",style:{display:"flex","align-items":"center","justify-content":"center"}},null,8,jc),ce("div",Fc,[(Ue(!0),Ge(qe,null,tl(l.value.buttons,te=>(Ue(),Ge("div",{class:Wt(["apps_fast_access_btn_drop_btn",[te.uiColor?"uiColor":""]]),key:te.buttonId,style:zt({backgroundColor:te.uiColor||""}),onClick:Ae=>oe(l.value,te)},zi(te.buttonText.length>19?te.buttonText.slice(0,19)+"...":te.buttonText),15,Lc))),128))])],8,qc))])):xl("",!0),ce("div",Bc,[ce("div",{class:"widget_layer",ref_key:"widgetLayer",ref:f},[ce("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512),ce("div",{class:"drag_overlay",onMousedown:H},null,32),ce("div",{class:"resize_handle",onMousedown:D},null,32)],512)])])])])}}},Uc=bc(Nc,[["__scopeId","data-v-9acc907e"]]);/*!
|
|
6
6
|
* vue-router v4.2.5
|
|
7
7
|
* (c) 2023 Eduardo San Martin Morote
|
|
8
8
|
* @license MIT
|
|
9
|
-
*/const gt=typeof window<"u";function Mc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function jn(e,t){const n={};for(const s in t){const r=t[s];n[s]=xe(r)?r.map(e):e(r)}return n}const Dt=()=>{},xe=Array.isArray,qc=/\/$/,Hc=e=>e.replace(qc,"");function Ln(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Lc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function kc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function or(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Fc(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])&&vi(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 vi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jc(e[n],t[n]))return!1;return!0}function jc(e,t){return xe(e)?lr(e,t):xe(t)?lr(t,e):e===t}function lr(e,t){return xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Lc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var 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 Nc(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),Hc(e)}const Bc=/^[^#]+#/;function Uc(e,t){return e.replace(Bc,"#")+t}function Dc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Cn=()=>({left:window.pageXOffset,top:window.pageYOffset});function $c(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=Dc(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 cr(e,t){return(history.state?history.state.position-t:-1)+e}const es=new Map;function Kc(e,t){es.set(e,t)}function zc(e){const t=es.get(e);return es.delete(e),t}let Wc=()=>location.protocol+"//"+location.host;function wi(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),or(l,"")}return or(n,e)+s+r}function Qc(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const b=wi(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:Cn()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function ur(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Cn():null}}function Jc(e){const{history:t,location:n}=window,s={value:wi(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Wc()+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,ur(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function c(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:Cn()});i(d.current,d,!0);const h=Q({},ur(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 Gc(e){e=Nc(e);const t=Jc(e),n=Qc(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:Uc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Yc(e){return typeof e=="string"||e&&typeof e=="object"}function Ai(e){return typeof e=="string"||typeof e=="symbol"}const Qe={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ei=Symbol("");var ar;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ar||(ar={}));function St(e,t){return Q(new Error,{type:e,[Ei]:!0},t)}function je(e,t){return e instanceof Error&&Ei in e&&(t==null||!!(e.type&t))}const fr="[^/]+?",Vc={sensitive:!1,strict:!1,start:!0,end:!0},Xc=/[.+*?^${}()[\]/\\]/g;function Zc(e,t){const n=Q({},Vc,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(Xc,"\\$&"),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||fr;if(H!==fr){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 eu(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 tu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=eu(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(dr(s))return 1;if(dr(r))return-1}return r.length-s.length}function dr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const nu={type:0,value:""},su=/[a-zA-Z0-9_]/;function ru(e){if(!e)return[[]];if(e==="/")return[[nu]];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:su.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 iu(e,t,n){const s=Zc(ru(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 ou(e,t){const n=[],s=new Map;t=gr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const b=!g,S=lu(d);S.aliasOf=g&&g.record;const O=gr(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=iu($,h,O),g?g.alias.push(q):(H=H||q,H!==q&&H.alias.push(q),b&&d.name&&!hr(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(Ai(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){let h=0;for(;h<n.length&&tu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!xi(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!hr(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(pr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&pr(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:uu(L)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function pr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function lu(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:cu(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 cu(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 hr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function uu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function gr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function xi(e,t){return t.children.some(n=>n===e||xi(e,n))}const Pi=/#/g,au=/&/g,fu=/\//g,du=/=/g,pu=/\?/g,Ii=/\+/g,hu=/%5B/g,gu=/%5D/g,Ri=/%5E/g,mu=/%60/g,Si=/%7B/g,_u=/%7C/g,Ci=/%7D/g,yu=/%20/g;function Es(e){return encodeURI(""+e).replace(_u,"|").replace(hu,"[").replace(gu,"]")}function bu(e){return Es(e).replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function ts(e){return Es(e).replace(Ii,"%2B").replace(yu,"+").replace(Pi,"%23").replace(au,"%26").replace(mu,"`").replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function vu(e){return ts(e).replace(du,"%3D")}function wu(e){return Es(e).replace(Pi,"%23").replace(pu,"%3F")}function Au(e){return e==null?"":wu(e).replace(fu,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Eu(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(Ii," "),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 mr(e){let t="";for(let n in e){const s=e[n];if(n=vu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(xe(s)?s.map(i=>i&&ts(i)):[s&&ts(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function xu(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 Pu=Symbol(""),_r=Symbol(""),xs=Symbol(""),Oi=Symbol(""),ns=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):Yc(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 Nn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let c=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Iu(c)){const f=(c.__vccOpts||c)[t];f&&r.push(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=Mc(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 Iu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yr(e){const t=Be(xs),n=Be(Oi),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=br(l[f-2]);return f>1&&br(d)===b&&h[h.length-1].path!==b?h.findIndex(Rt.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&Ou(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&vi(n.params,s.value.params));function c(l={}){return Cu(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 Ru=ni({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:yr,setup(e,{slots:t}){const n=En(yr(e)),{options:s}=Be(xs),r=ve(()=>({[vr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[vr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:bi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Su=Ru;function Cu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ou(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 br(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const vr=(e,t,n)=>e??t??n,Tu=ni({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(ns),r=ve(()=>e.route||s.value),i=Be(_r,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(_r,ve(()=>o.value+1)),an(Pu,c),an(ns,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 wr(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=bi(g,Q({},S,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return wr(n.default,{Component:L,route:f})||L}}});function wr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mu=Tu;function qu(e){const t=ou(e.routes,e),n=e.parseQuery||Eu,s=e.stringifyQuery||mr,r=e.history,i=Ft(),o=Ft(),c=Ft(),l=wo(Qe);let f=Qe;gt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=jn.bind(null,_=>""+_),h=jn.bind(null,Au),g=jn.bind(null,yn);function b(_,I){let x,C;return Ai(_)?(x=t.getRecordMatcher(_),C=I):C=_,t.addRoute(C,x)}function S(_){const I=t.getRecordMatcher(_);I&&t.removeRoute(I)}function O(){return t.getRoutes().map(_=>_.record)}function L(_){return!!t.getRecordMatcher(_)}function q(_,I){if(I=Q({},I||l.value),typeof _=="string"){const p=Ln(n,_,I.path),m=t.resolve({path:p.path},I),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:yn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Ln(n,_.path,I.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),I.params=h(I.params)}const C=t.resolve(x,I),W=_.hash||"";C.params=d(g(C.params));const u=kc(s,Q({},_,{hash:bu(W),path:C.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===mr?xu(_.query):_.query||{}},C,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Ln(n,_,l.value.path):Q({},_)}function $(_,I){if(f!==_)return St(8,{from:I,to:_})}function k(_){return Pe(_)}function se(_){return k(Q(H(_),{replace:!0}))}function ce(_){const I=_.matched[_.matched.length-1];if(I&&I.redirect){const{redirect:x}=I;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 Pe(_,I){const x=f=q(_),C=l.value,W=_.state,u=_.force,a=_.replace===!0,p=ce(x);if(p)return Pe(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),I||x);const m=x;m.redirectedFrom=I;let y;return!u&&Fc(s,C,x)&&(y=St(16,{to:m,from:C}),Se(C,C,!0,!1)),(y?Promise.resolve(y):Ie(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 Pe(Q({replace:a},H(v.to),{state:typeof v.to=="object"?Q({},W,v.to.state):W,force:u}),I||m)}else v=Ze(m,C,!0,a,W);return Ke(m,C,v),v})}function ke(_,I){const x=$(_,I);return x?Promise.reject(x):Promise.resolve()}function ct(_){const I=ft.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(_):_()}function Ie(_,I){let x;const[C,W,u]=Hu(_,I);x=Nn(C.reverse(),"beforeRouteLeave",_,I);for(const p of C)p.leaveGuards.forEach(m=>{x.push(Ge(m,_,I))});const a=ke.bind(null,_,I);return x.push(a),re(x).then(()=>{x=[];for(const p of i.list())x.push(Ge(p,_,I));return x.push(a),re(x)}).then(()=>{x=Nn(W,"beforeRouteUpdate",_,I);for(const p of W)p.updateGuards.forEach(m=>{x.push(Ge(m,_,I))});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,_,I));else x.push(Ge(p.beforeEnter,_,I));return x.push(a),re(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Nn(u,"beforeRouteEnter",_,I),x.push(a),re(x))).then(()=>{x=[];for(const p of o.list())x.push(Ge(p,_,I));return x.push(a),re(x)}).catch(p=>je(p,8)?p:Promise.reject(p))}function Ke(_,I,x){c.list().forEach(C=>ct(()=>C(_,I,x)))}function Ze(_,I,x,C,W){const u=$(_,I);if(u)return u;const a=I===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(_,I,x,a),ze()}let Re;function Mt(){Re||(Re=r.listen((_,I,x)=>{if(!Zt.listening)return;const C=q(_),W=ce(C);if(W){Pe(Q(W,{replace:!0}),C).catch(Dt);return}f=C;const u=l.value;gt&&Kc(cr(u.fullPath,x.delta),Cn()),Ie(C,u).catch(a=>je(a,12)?a:je(a,2)?(Pe(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(_,I,x){ze(_);const C=te.list();return C.length?C.forEach(W=>W(_,I,x)):console.error(_),Promise.reject(_)}function Fe(){return G&&l.value!==Qe?Promise.resolve():new Promise((_,I)=>{ut.add([_,I])})}function ze(_){return G||(G=!_,Mt(),ut.list().forEach(([I,x])=>_?x(_):I()),ut.reset()),_}function Se(_,I,x,C){const{scrollBehavior:W}=e;if(!gt||!W)return Promise.resolve();const u=!x&&zc(cr(_.fullPath,0))||(C||!x)&&history.state&&history.state.scroll||null;return Jr().then(()=>W(_,I,u)).then(a=>a&&$c(a)).catch(a=>z(a,_,I))}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 I=this;_.component("RouterLink",Su),_.component("RouterView",Mu),_.config.globalProperties.$router=I,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(xs,I),_.provide(Oi,Br(x)),_.provide(ns,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((I,x)=>I.then(()=>ct(x)),Promise.resolve())}return Zt}function Hu(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 ku=qu({history:Gc("/"),routes:[]}),Ps=Zl(Tc);Ps.use(sc());Ps.use(ku);Ps.mount("#app");
|
|
9
|
+
*/const mt=typeof window<"u";function Dc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function Ln(e,t){const n={};for(const s in t){const r=t[s];n[s]=Oe(r)?r.map(e):e(r)}return n}const Dt=()=>{},Oe=Array.isArray,$c=/\/$/,Kc=e=>e.replace($c,"");function Bn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Jc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function zc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&St(t.matched[s],n.matched[r])&&wi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function St(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Qc(e[n],t[n]))return!1;return!0}function Qc(e,t){return Oe(e)?ur(e,t):Oe(t)?ur(t,e):e===t}function ur(e,t){return Oe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Jc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Xt;(function(e){e.pop="pop",e.push="push"})(Xt||(Xt={}));var $t;(function(e){e.back="back",e.forward="forward",e.unknown=""})($t||($t={}));function Yc(e){if(!e)if(mt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Kc(e)}const Gc=/^[^#]+#/;function Vc(e,t){return e.replace(Gc,"#")+t}function Xc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const On=()=>({left:window.pageXOffset,top:window.pageYOffset});function Zc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Xc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}const ts=new Map;function eu(e,t){ts.set(e,t)}function tu(e){const t=ts.get(e);return ts.delete(e),t}let nu=()=>location.protocol+"//"+location.host;function Ai(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),cr(l,"")}return cr(n,e)+s+r}function su(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const v=Ai(e,location),R=n.value,C=t.value;let j=0;if(g){if(n.value=v,t.value=g,o&&o===R){o=null;return}j=C?g.position-C.position:0}else s(v);r.forEach(M=>{M(n.value,R,{delta:j,type:Xt.pop,direction:j?j>0?$t.forward:$t.back:$t.unknown})})};function l(){o=n.value}function f(g){r.push(g);const v=()=>{const R=r.indexOf(g);R>-1&&r.splice(R,1)};return i.push(v),v}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:On()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function fr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?On():null}}function ru(e){const{history:t,location:n}=window,s={value:Ai(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:nu()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(v){console.error(v),n[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,fr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function c(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:On()});i(d.current,d,!0);const h=Q({},fr(s.value,l,null),{position:d.position+1},f);i(l,h,!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function iu(e){e=Yc(e);const t=ru(e),n=su(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:s,createHref:Vc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function ou(e){return typeof e=="string"||e&&typeof e=="object"}function Ei(e){return typeof e=="string"||typeof e=="symbol"}const Ve={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xi=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function Ct(e,t){return Q(new Error,{type:e,[xi]:!0},t)}function Ne(e,t){return e instanceof Error&&xi in e&&(t==null||!!(e.type&t))}const pr="[^/]+?",lu={sensitive:!1,strict:!1,start:!0,end:!0},cu=/[.+*?^${}()[\]/\\]/g;function uu(e,t){const n=Q({},lu,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const g=f[h];let v=40+(n.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(cu,"\\$&"),v+=40;else if(g.type===1){const{value:R,repeatable:C,optional:j,regexp:M}=g;i.push({name:R,repeatable:C,optional:j});const H=M||pr;if(H!==pr){v+=10;try{new RegExp(`(${H})`)}catch(q){throw new Error(`Invalid custom RegExp for param "${R}" (${H}): `+q.message)}}let D=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||(D=j&&f.length<2?`(?:/${D})`:"/"+D),j&&(D+="?"),r+=D,v+=20,j&&(v+=-8),C&&(v+=-20),H===".*"&&(v+=-50)}d.push(v)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function c(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const v=d[g]||"",R=i[g-1];h[R.name]=v&&R.repeatable?v.split("/"):v}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const v of g)if(v.type===0)d+=v.value;else if(v.type===1){const{value:R,repeatable:C,optional:j}=v,M=R in f?f[R]:"";if(Oe(M)&&!C)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const H=Oe(M)?M.join("/"):M;if(!H)if(j)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):h=!0);else throw new Error(`Missing required param "${R}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function au(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function fu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=au(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(hr(s))return 1;if(hr(r))return-1}return r.length-s.length}function hr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const du={type:0,value:""},pu=/[a-zA-Z0-9_]/;function hu(e){if(!e)return[[]];if(e==="/")return[[du]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,f="",d="";function h(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:pu.test(l)?g():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function gu(e,t,n){const s=uu(hu(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function mu(e,t){const n=[],s=new Map;t=_r({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const v=!g,R=_u(d);R.aliasOf=g&&g.record;const C=_r(t,d),j=[R];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const q of D)j.push(Q({},R,{components:g?g.record.components:R.components,path:q,aliasOf:g?g.record:R}))}let M,H;for(const D of j){const{path:q}=D;if(h&&q[0]!=="/"){const ie=h.record.path,oe=ie[ie.length-1]==="/"?"":"/";D.path=h.record.path+(q&&oe+q)}if(M=gu(D,h,C),g?g.alias.push(M):(H=H||M,H!==M&&H.alias.push(M),v&&d.name&&!mr(M)&&o(d.name)),R.children){const ie=R.children;for(let oe=0;oe<ie.length;oe++)i(ie[oe],M,g&&g.children[oe])}g=g||M,(M.record.components&&Object.keys(M.record.components).length||M.record.name||M.record.redirect)&&l(M)}return H?()=>{o(H)}:Dt}function o(d){if(Ei(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){let h=0;for(;h<n.length&&fu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!Ii(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!mr(d)&&s.set(d.record.name,d)}function f(d,h){let g,v={},R,C;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw Ct(1,{location:d});C=g.record.name,v=Q(gr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&gr(d.params,g.keys.map(H=>H.name))),R=g.stringify(v)}else if("path"in d)R=d.path,g=n.find(H=>H.re.test(R)),g&&(v=g.parse(R),C=g.record.name);else{if(g=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!g)throw Ct(1,{location:d,currentLocation:h});C=g.record.name,v=Q({},h.params,d.params),R=g.stringify(v)}const j=[];let M=g;for(;M;)j.unshift(M.record),M=M.parent;return{name:C,path:R,params:v,matched:j,meta:vu(j)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:c,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function _u(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:yu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function yu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function vu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Ii(e,t){return t.children.some(n=>n===e||Ii(e,n))}const Pi=/#/g,bu=/&/g,wu=/\//g,Au=/=/g,Eu=/\?/g,Ri=/\+/g,xu=/%5B/g,Iu=/%5D/g,Si=/%5E/g,Pu=/%60/g,Ci=/%7B/g,Ru=/%7C/g,Oi=/%7D/g,Su=/%20/g;function Is(e){return encodeURI(""+e).replace(Ru,"|").replace(xu,"[").replace(Iu,"]")}function Cu(e){return Is(e).replace(Ci,"{").replace(Oi,"}").replace(Si,"^")}function ns(e){return Is(e).replace(Ri,"%2B").replace(Su,"+").replace(Pi,"%23").replace(bu,"%26").replace(Pu,"`").replace(Ci,"{").replace(Oi,"}").replace(Si,"^")}function Ou(e){return ns(e).replace(Au,"%3D")}function Mu(e){return Is(e).replace(Pi,"%23").replace(Eu,"%3F")}function Tu(e){return e==null?"":Mu(e).replace(wu,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function ku(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Ri," "),o=i.indexOf("="),c=yn(o<0?i:i.slice(0,o)),l=o<0?null:yn(i.slice(o+1));if(c in t){let f=t[c];Oe(f)||(f=t[c]=[f]),f.push(l)}else t[c]=l}return t}function yr(e){let t="";for(let n in e){const s=e[n];if(n=Ou(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Oe(s)?s.map(i=>i&&ns(i)):[s&&ns(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Hu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Oe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const qu=Symbol(""),vr=Symbol(""),Ps=Symbol(""),Mi=Symbol(""),ss=Symbol("");function Ft(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function et(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,c)=>{const l=h=>{h===!1?c(Ct(4,{from:n,to:t})):h instanceof Error?c(h):ou(h)?c(Ct(2,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},f=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(h=>c(h))})}function Nn(e,t,n,s){const r=[];for(const i of e)for(const o in i.components){let c=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ju(c)){const f=(c.__vccOpts||c)[t];f&&r.push(et(f,n,s,i,o))}else{let l=c();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Dc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&et(g,n,s,i,o)()}))}}return r}function ju(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function br(e){const t=Ke(Ps),n=Ke(Mi),s=Pe(()=>t.resolve(At(e.to))),r=Pe(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],h=n.matched;if(!d||!h.length)return-1;const g=h.findIndex(St.bind(null,d));if(g>-1)return g;const v=wr(l[f-2]);return f>1&&wr(d)===v&&h[h.length-1].path!==v?h.findIndex(St.bind(null,l[f-2])):g}),i=Pe(()=>r.value>-1&&Nu(n.params,s.value.params)),o=Pe(()=>r.value>-1&&r.value===n.matched.length-1&&wi(n.params,s.value.params));function c(l={}){return Bu(l)?t[At(e.replace)?"replace":"push"](At(e.to)).catch(Dt):Promise.resolve()}return{route:s,href:Pe(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Fu=si({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:br,setup(e,{slots:t}){const n=En(br(e)),{options:s}=Ke(Ps),r=Pe(()=>({[Ar(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Ar(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:bi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Lu=Fu;function Bu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Nu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Oe(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function wr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ar=(e,t,n)=>e??t??n,Uu=si({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(ss),r=Pe(()=>e.route||s.value),i=Ke(vr,0),o=Pe(()=>{let f=At(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=Pe(()=>r.value.matched[o.value]);an(vr,Pe(()=>o.value+1)),an(qu,c),an(ss,r);const l=Xe();return cn(()=>[l.value,c.value,e.name],([f,d,h],[g,v,R])=>{d&&(d.instances[h]=f,v&&v!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),f&&d&&(!v||!St(d,v)||!g)&&(d.enterCallbacks[h]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=c.value,g=h&&h.components[d];if(!g)return Er(n.default,{Component:g,route:f});const v=h.props[d],R=v?v===!0?f.params:typeof v=="function"?v(f):v:null,j=bi(g,Q({},R,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return Er(n.default,{Component:j,route:f})||j}}});function Er(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Du=Uu;function $u(e){const t=mu(e.routes,e),n=e.parseQuery||ku,s=e.stringifyQuery||yr,r=e.history,i=Ft(),o=Ft(),c=Ft(),l=Ao(Ve);let f=Ve;mt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ln.bind(null,_=>""+_),h=Ln.bind(null,Tu),g=Ln.bind(null,yn);function v(_,P){let x,O;return Ei(_)?(x=t.getRecordMatcher(_),O=P):O=_,t.addRoute(O,x)}function R(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function C(){return t.getRoutes().map(_=>_.record)}function j(_){return!!t.getRecordMatcher(_)}function M(_,P){if(P=Q({},P||l.value),typeof _=="string"){const p=Bn(n,_,P.path),m=t.resolve({path:p.path},P),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:yn(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:Bn(n,_.path,P.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),P.params=h(P.params)}const O=t.resolve(x,P),W=_.hash||"";O.params=d(g(O.params));const u=zc(s,Q({},_,{hash:Cu(W),path:O.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===yr?Hu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Bn(n,_,l.value.path):Q({},_)}function D(_,P){if(f!==_)return Ct(8,{from:P,to:_})}function q(_){return J(_)}function ie(_){return q(Q(H(_),{replace:!0}))}function oe(_){const P=_.matched[_.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let O=typeof x=="function"?x(_):x;return typeof O=="string"&&(O=O.includes("?")||O.includes("#")?O=H(O):{path:O},O.params={}),Q({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function J(_,P){const x=f=M(_),O=l.value,W=_.state,u=_.force,a=_.replace===!0,p=oe(x);if(p)return J(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:u,replace:a}),P||x);const m=x;m.redirectedFrom=P;let y;return!u&&Wc(s,O,x)&&(y=Ct(16,{to:m,from:O}),Te(O,O,!0,!1)),(y?Promise.resolve(y):ae(m,O)).catch(b=>Ne(b)?Ne(b,2)?b:Je(b):z(b,m,O)).then(b=>{if(b){if(Ne(b,2))return J(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:u}),P||m)}else b=Ae(m,O,!0,a,W);return te(m,O,b),b})}function ee(_,P){const x=D(_,P);return x?Promise.reject(x):Promise.resolve()}function ne(_){const P=pt.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function ae(_,P){let x;const[O,W,u]=Ku(_,P);x=Nn(O.reverse(),"beforeRouteLeave",_,P);for(const p of O)p.leaveGuards.forEach(m=>{x.push(et(m,_,P))});const a=ee.bind(null,_,P);return x.push(a),fe(x).then(()=>{x=[];for(const p of i.list())x.push(et(p,_,P));return x.push(a),fe(x)}).then(()=>{x=Nn(W,"beforeRouteUpdate",_,P);for(const p of W)p.updateGuards.forEach(m=>{x.push(et(m,_,P))});return x.push(a),fe(x)}).then(()=>{x=[];for(const p of u)if(p.beforeEnter)if(Oe(p.beforeEnter))for(const m of p.beforeEnter)x.push(et(m,_,P));else x.push(et(p.beforeEnter,_,P));return x.push(a),fe(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Nn(u,"beforeRouteEnter",_,P),x.push(a),fe(x))).then(()=>{x=[];for(const p of o.list())x.push(et(p,_,P));return x.push(a),fe(x)}).catch(p=>Ne(p,8)?p:Promise.reject(p))}function te(_,P,x){c.list().forEach(O=>ne(()=>O(_,P,x)))}function Ae(_,P,x,O,W){const u=D(_,P);if(u)return u;const a=P===Ve,p=mt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Te(_,P,x,a),Je()}let Me;function kt(){Me||(Me=r.listen((_,P,x)=>{if(!Zt.listening)return;const O=M(_),W=oe(O);if(W){J(Q(W,{replace:!0}),O).catch(Dt);return}f=O;const u=l.value;mt&&eu(ar(u.fullPath,x.delta),On()),ae(O,u).catch(a=>Ne(a,12)?a:Ne(a,2)?(J(a.to,O).then(p=>{Ne(p,20)&&!x.delta&&x.type===Xt.pop&&r.go(-1,!1)}).catch(Dt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,u))).then(a=>{a=a||Ae(O,u,!1),a&&(x.delta&&!Ne(a,8)?r.go(-x.delta,!1):x.type===Xt.pop&&Ne(a,20)&&r.go(-1,!1)),te(O,u,a)}).catch(Dt)}))}let ft=Ft(),le=Ft(),G;function z(_,P,x){Je(_);const O=le.list();return O.length?O.forEach(W=>W(_,P,x)):console.error(_),Promise.reject(_)}function Be(){return G&&l.value!==Ve?Promise.resolve():new Promise((_,P)=>{ft.add([_,P])})}function Je(_){return G||(G=!_,kt(),ft.list().forEach(([P,x])=>_?x(_):P()),ft.reset()),_}function Te(_,P,x,O){const{scrollBehavior:W}=e;if(!mt||!W)return Promise.resolve();const u=!x&&tu(ar(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return Gr().then(()=>W(_,P,u)).then(a=>a&&Zc(a)).catch(a=>z(a,_,P))}const me=_=>r.go(_);let dt;const pt=new Set,Zt={currentRoute:l,listening:!0,addRoute:v,removeRoute:R,hasRoute:j,getRoutes:C,resolve:M,options:e,push:q,replace:ie,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:le.add,isReady:Be,install(_){const P=this;_.component("RouterLink",Lu),_.component("RouterView",Du),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>At(l)}),mt&&!dt&&l.value===Ve&&(dt=!0,q(r.location).catch(W=>{}));const x={};for(const W in Ve)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(Ps,P),_.provide(Mi,Dr(x)),_.provide(ss,l);const O=_.unmount;pt.add(_),_.unmount=function(){pt.delete(_),pt.size<1&&(f=Ve,Me&&Me(),Me=null,l.value=Ve,dt=!1,G=!1),O()}}};function fe(_){return _.reduce((P,x)=>P.then(()=>ne(x)),Promise.resolve())}return Zt}function Ku(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(f=>St(f,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(f=>St(f,l))||r.push(l))}return[n,s,r]}const zu=$u({history:iu("/"),routes:[]}),Rs=nc(Uc);Rs.use(oc());Rs.use(zu);Rs.mount("#app");
|
|
@@ -19,8 +19,64 @@ appsDataManager.updateUserAppInstance(userAppInstanceId, { id: userAppInstanceId
|
|
|
19
19
|
|
|
20
20
|
const wudgetIframe = ref(null)
|
|
21
21
|
const settingsIframe = ref(null)
|
|
22
|
+
const settingsSidebar = ref(null)
|
|
22
23
|
|
|
24
|
+
const styleVersion = ref('light')
|
|
23
25
|
const fastActionButtonGroup = ref(null)
|
|
26
|
+
const widgetLayer = ref(null)
|
|
27
|
+
|
|
28
|
+
function toggleTheme() {
|
|
29
|
+
styleVersion.value = styleVersion.value === 'light' ? 'dark' : 'light'
|
|
30
|
+
settingsSidebar.value.classList.remove('light', 'dark')
|
|
31
|
+
settingsSidebar.value.classList.add(styleVersion.value)
|
|
32
|
+
settingsIframe.value.src = `settings.html?appInstanceId=${userAppInstanceId}&compId=settings_${componentId}&styleVersion=${styleVersion.value}`
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
let mode = null // 'drag' or 'resize'
|
|
36
|
+
let startX = 0
|
|
37
|
+
let startY = 0
|
|
38
|
+
let startLeft = 0
|
|
39
|
+
let startTop = 0
|
|
40
|
+
let startW = 0
|
|
41
|
+
let startH = 0
|
|
42
|
+
|
|
43
|
+
function onDragStart(e) {
|
|
44
|
+
mode = 'drag'
|
|
45
|
+
startX = e.clientX
|
|
46
|
+
startY = e.clientY
|
|
47
|
+
startLeft = parseInt(widgetLayer.value.style.left) || 0
|
|
48
|
+
startTop = parseInt(widgetLayer.value.style.top) || 0
|
|
49
|
+
e.preventDefault()
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function onResizeStart(e) {
|
|
53
|
+
mode = 'resize'
|
|
54
|
+
startX = e.clientX
|
|
55
|
+
startY = e.clientY
|
|
56
|
+
startW = widgetLayer.value.offsetWidth
|
|
57
|
+
startH = widgetLayer.value.offsetHeight
|
|
58
|
+
e.preventDefault()
|
|
59
|
+
e.stopPropagation()
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
function onMouseMove(e) {
|
|
63
|
+
if (!mode) return
|
|
64
|
+
const dx = e.clientX - startX
|
|
65
|
+
const dy = e.clientY - startY
|
|
66
|
+
if (mode === 'drag') {
|
|
67
|
+
widgetLayer.value.style.left = (startLeft + dx) + 'px'
|
|
68
|
+
widgetLayer.value.style.top = (startTop + dy) + 'px'
|
|
69
|
+
} else if (mode === 'resize') {
|
|
70
|
+
const newW = Math.max(60, startW + dx)
|
|
71
|
+
const newH = Math.max(60, startH + dy)
|
|
72
|
+
widgetLayer.value.style.width = newW + 'px'
|
|
73
|
+
widgetLayer.value.style.height = newH + 'px'
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
function onMouseUp() {
|
|
78
|
+
mode = null
|
|
79
|
+
}
|
|
24
80
|
|
|
25
81
|
appsObserver._eventHandler.subscribe("fastActionButtonsUpdated", (eventName, requestObj) => {
|
|
26
82
|
const buttons = requestObj.data.buttonsArray || []
|
|
@@ -55,6 +111,8 @@ function clickOnFastAccessButton(buttonGroup, button) {
|
|
|
55
111
|
onMounted(() => {
|
|
56
112
|
wudgetIframe.value.src = `widget.html?appInstanceId=${userAppInstanceId}&compId=${componentId}`;
|
|
57
113
|
settingsIframe.value.src = `settings.html?appInstanceId=${userAppInstanceId}&compId=settings_${componentId}&styleVersion=light`;
|
|
114
|
+
document.addEventListener('mousemove', onMouseMove)
|
|
115
|
+
document.addEventListener('mouseup', onMouseUp)
|
|
58
116
|
})
|
|
59
117
|
|
|
60
118
|
function raiseCommentsEvent(event) {
|
|
@@ -67,7 +125,20 @@ function raiseCommentsEvent(event) {
|
|
|
67
125
|
<div class="test_holder_root">
|
|
68
126
|
<div class="test_holder_main">
|
|
69
127
|
<!-- Settings sidebar (studio style) -->
|
|
70
|
-
<div class="settings_sidebar light">
|
|
128
|
+
<div class="settings_sidebar light" ref="settingsSidebar">
|
|
129
|
+
<div class="settings_header">
|
|
130
|
+
<div class="theme_toggle" @click="toggleTheme" :title="styleVersion === 'light' ? 'Switch to Dark mode' : 'Switch to Light mode'">
|
|
131
|
+
<!-- Sun icon (shown in dark mode) -->
|
|
132
|
+
<svg v-if="styleVersion === 'dark'" width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
133
|
+
<circle cx="12" cy="12" r="5" stroke="currentColor" stroke-width="2"/>
|
|
134
|
+
<path d="M12 2V4M12 20V22M4 12H2M22 12H20M5.64 5.64L4.22 4.22M19.78 19.78L18.36 18.36M5.64 18.36L4.22 19.78M19.78 4.22L18.36 5.64" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
|
|
135
|
+
</svg>
|
|
136
|
+
<!-- Moon icon (shown in light mode) -->
|
|
137
|
+
<svg v-else width="18" height="18" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
138
|
+
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
|
139
|
+
</svg>
|
|
140
|
+
</div>
|
|
141
|
+
</div>
|
|
71
142
|
<iframe ref="settingsIframe"
|
|
72
143
|
allow="clipboard-write"
|
|
73
144
|
class="settings_iframe"></iframe>
|
|
@@ -107,6 +178,8 @@ function raiseCommentsEvent(event) {
|
|
|
107
178
|
<div class="scene_canvas">
|
|
108
179
|
<div class="widget_layer" ref="widgetLayer">
|
|
109
180
|
<iframe ref="wudgetIframe" class="scene_iframe"></iframe>
|
|
181
|
+
<div class="drag_overlay" @mousedown="onDragStart"></div>
|
|
182
|
+
<div class="resize_handle" @mousedown="onResizeStart"></div>
|
|
110
183
|
</div>
|
|
111
184
|
</div>
|
|
112
185
|
</div>
|
|
@@ -157,31 +230,91 @@ function raiseCommentsEvent(event) {
|
|
|
157
230
|
left: 0;
|
|
158
231
|
width: 100%;
|
|
159
232
|
height: 100%;
|
|
160
|
-
resize: both;
|
|
161
|
-
overflow: hidden;
|
|
162
|
-
max-width: 100%;
|
|
163
|
-
max-height: 100%;
|
|
164
233
|
min-width: 60px;
|
|
165
234
|
min-height: 60px;
|
|
235
|
+
border: 1px dashed rgba(255, 255, 255, 0.5);
|
|
236
|
+
box-sizing: border-box;
|
|
237
|
+
}
|
|
238
|
+
.widget_layer:hover {
|
|
239
|
+
border-color: rgba(255, 255, 255, 0.8);
|
|
240
|
+
}
|
|
241
|
+
.drag_overlay {
|
|
242
|
+
position: absolute;
|
|
243
|
+
inset: 0;
|
|
244
|
+
cursor: move;
|
|
245
|
+
z-index: 1;
|
|
246
|
+
}
|
|
247
|
+
.resize_handle {
|
|
248
|
+
position: absolute;
|
|
249
|
+
bottom: 0;
|
|
250
|
+
right: 0;
|
|
251
|
+
width: 16px;
|
|
252
|
+
height: 16px;
|
|
253
|
+
cursor: nwse-resize;
|
|
254
|
+
z-index: 2;
|
|
255
|
+
background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.6) 50%);
|
|
256
|
+
border-radius: 0 0 2px 0;
|
|
257
|
+
}
|
|
258
|
+
.resize_handle:hover {
|
|
259
|
+
background: linear-gradient(135deg, transparent 50%, rgba(255,255,255,0.9) 50%);
|
|
166
260
|
}
|
|
167
261
|
.scene_iframe {
|
|
168
262
|
width: 100%;
|
|
169
263
|
height: 100%;
|
|
170
264
|
border: none;
|
|
171
265
|
display: block;
|
|
266
|
+
pointer-events: none;
|
|
172
267
|
}
|
|
173
268
|
|
|
174
269
|
/* Settings sidebar - studio style */
|
|
175
270
|
.settings_sidebar {
|
|
176
271
|
flex: 0 0 330px;
|
|
177
272
|
width: 330px;
|
|
178
|
-
background-color: #fff;
|
|
179
273
|
display: flex;
|
|
180
274
|
flex-direction: column;
|
|
181
275
|
position: relative;
|
|
182
276
|
overflow: hidden;
|
|
277
|
+
transition: background-color 0.3s, border-color 0.3s;
|
|
278
|
+
}
|
|
279
|
+
.settings_sidebar.light {
|
|
280
|
+
background-color: #fff;
|
|
183
281
|
border-left: 1px solid #e6e6ef;
|
|
184
282
|
}
|
|
283
|
+
.settings_sidebar.dark {
|
|
284
|
+
background-color: #2f353f;
|
|
285
|
+
border-left: 1px solid #383e4c;
|
|
286
|
+
}
|
|
287
|
+
.settings_header {
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
justify-content: flex-end;
|
|
291
|
+
padding: 10px 13px;
|
|
292
|
+
flex: 0 0 auto;
|
|
293
|
+
}
|
|
294
|
+
.theme_toggle {
|
|
295
|
+
width: 34px;
|
|
296
|
+
height: 34px;
|
|
297
|
+
border-radius: 8px;
|
|
298
|
+
display: flex;
|
|
299
|
+
align-items: center;
|
|
300
|
+
justify-content: center;
|
|
301
|
+
cursor: pointer;
|
|
302
|
+
transition: background-color 0.15s, color 0.15s;
|
|
303
|
+
}
|
|
304
|
+
.settings_sidebar.light .theme_toggle {
|
|
305
|
+
color: #676778;
|
|
306
|
+
background-color: #f5f5fa;
|
|
307
|
+
}
|
|
308
|
+
.settings_sidebar.light .theme_toggle:hover {
|
|
309
|
+
background-color: #ededf4;
|
|
310
|
+
}
|
|
311
|
+
.settings_sidebar.dark .theme_toggle {
|
|
312
|
+
color: #fff;
|
|
313
|
+
background-color: #383e4c;
|
|
314
|
+
}
|
|
315
|
+
.settings_sidebar.dark .theme_toggle:hover {
|
|
316
|
+
background-color: #434b5c;
|
|
317
|
+
}
|
|
185
318
|
.settings_iframe {
|
|
186
319
|
width: 100%;
|
|
187
320
|
height: 100%;
|