evmux-app-framework 0.0.99 → 0.1.0
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-11b99f11]{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-11b99f11]{display:flex;gap:0;flex:1;height:100%}.video_editor_wr[data-v-11b99f11]{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-11b99f11]{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-11b99f11]{position:absolute;top:0;left:0;width:100%;height:100%;resize:both;overflow:hidden;max-width:100%;max-height:100%;min-width:60px;min-height:60px}.scene_iframe[data-v-11b99f11]{width:100%;height:100%;border:none;display:block}.settings_sidebar[data-v-11b99f11]{flex:0 0 330px;width:330px;background-color:#fff;display:flex;flex-direction:column;position:relative;overflow:hidden;border-left:1px solid #e6e6ef}.settings_iframe[data-v-11b99f11]{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=[],we=()=>{},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 ye;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=ye,n=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ye,ye=this,Ye=!0,Xe=1<<++jt,jt<=Dn?Ji(this):Os(this),this.fn()}finally{jt<=Dn&&Gi(this),Xe=1<<--jt,ye=this.parent,Ye=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ye===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&&ye){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(ye),n&&(e.add(ye),ye.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!==ye||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&&ye&&(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=we):(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 Ae(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(Ae(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=we;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&&Ae(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,Ae(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(),Ae(e,l,3,[b])}:f=we,t&&s){const k=f;f=()=>mt(k())}let g,b=k=>{g=H.onStop=()=>{Ve(k,l,4)}},S;if(Vt)if(b=we,t?n&&Ae(t,l,3,[f(),h?[]:void 0,b]):f(),r==="sync"){const k=Ml();S=k.__watcherHandles||(k.__watcherHandles=[])}else return we;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(),Ae(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(),Ae(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=Ae(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:xe,errorCaptured:ke,serverPrefetch:ct,expose:Pe,inheritAttrs:Ke,components:Ze,directives:Ie,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):we,ze=!N(z)&&N(z.set)?z.set.bind(n):we,Re=be({get:Fe,set:ze});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ae=>Re.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,xe),te(Wo,H),te(oi,k),te(Qo,ct),F(Pe))if(Pe.length){const G=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(G,z,{get:()=>n[z],set:Fe=>n[z]=Fe})})}else e.exposed||(e.exposed={});se&&e.render===we&&(e.render=se),Ke!=null&&(e.inheritAttrs=Ke),Ze&&(e.components=Ze),Ie&&(e.directives=Ie)}function tl(e,t,n=we){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){Ae(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=we,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?Ie(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"),xe(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)&&Ce(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&&Ce(w,m,u),Y&&j.enter(E),B&&et(u,null,m,"mounted")},y)},xe=(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;xe(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)&&Ce(j,p,a,u),T&&et(a,u,p,"beforeUpdate"),p&&tt(p,!0);const B=y&&a.type!=="foreignObject";if(w?Pe(u.dynamicChildren,w,A,p,m,B,v):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&&Ce(j,p,a,u),T&&et(a,u,p,"updated")},m)},Pe=(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?(Pe(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)},Ie=(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)&&Ce(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(()=>Ce(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)&&Ce(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(()=>Ce(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 Se;if(pe.key!=null)Se=Y.get(pe.key);else for(J=B;J<=M;J++)if(qt[J-B]===0&&Ht(pe,a[J])){Se=J;break}Se===void 0?ae(pe,y,v,!0):(qt[Se-B]=w+1,Se>=Is?Is=Se:dt=!0,O(pe,a[Se],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,Se=a[pe],Ss=pe+1<T?a[pe+1].el:m;qt[w]===0?O(null,Se,p,Ss,y,v,P,A,E):dt&&(J<0||w!==Rs[J]?Re(Se,p,Ss,2):J--)}}},Re=(u,a,p,m,y=null)=>{const{el:v,type:P,transition:A,children:E,shapeFlag:w}=u;if(w&6){Re(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++)Re(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)&&Ce(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&&Ce(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:Re,r:at,mt:Mt,mc:ke,pc:z,pbc:Pe,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 ve=null;function nt(e=!1){Ut.push(ve=e?null:[])}function ml(){Ut.pop(),ve=Ut[Ut.length-1]||null}let Yt=1;function Qs(e){Yt+=e}function gi(e){return e.dynamicChildren=Yt>0?ve||yt:null,ml(),Yt>0&&ve&&ve.push(e),e}function pt(e,t,n,s,r,i){return gi(Oe(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 Oe(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&&ve&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ve.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&&ve&&(c.shapeFlag&6?ve[ve.indexOf(e)]=c:ve.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 Oe(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 Ce(e,t,n,s=null){Ae(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||we}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 be=(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;Ae(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 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;/*!
|
|
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={__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,[Oe("div",bc,[Oe("div",vc,[Oe("iframe",{ref_key:"settingsIframe",ref:i,allow:"clipboard-write",class:"settings_iframe"},null,512)]),Oe("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"},[Oe("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),Oe("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),Oe("div",Sc,[Oe("iframe",{ref_key:"wudgetIframe",ref:r,class:"scene_iframe"},null,512)])])])])}}},Oc=_c(Cc,[["__scopeId","data-v-bb8f0e1b"]]);/*!
|
|
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"]]);/*!
|
|
6
6
|
* vue-router v4.2.5
|
|
7
7
|
* (c) 2023 Eduardo San Martin Morote
|
|
8
8
|
* @license MIT
|
|
9
|
-
*/const gt=typeof window<"u";function Tc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function jn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ee(r)?r.map(e):e(r)}return n}const Dt=()=>{},Ee=Array.isArray,Mc=/\/$/,qc=e=>e.replace(Mc,"");function Ln(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return c<l&&c>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,c>-1?c:t.length),r=e(i)),c>-1&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=jc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Hc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function or(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function kc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&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(!Fc(e[n],t[n]))return!1;return!0}function Fc(e,t){return Ee(e)?lr(e,t):Ee(t)?lr(t,e):e===t}function lr(e,t){return Ee(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function jc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Xt;(function(e){e.pop="pop",e.push="push"})(Xt||(Xt={}));var $t;(function(e){e.back="back",e.forward="forward",e.unknown=""})($t||($t={}));function Lc(e){if(!e)if(gt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),qc(e)}const Nc=/^[^#]+#/;function Bc(e,t){return e.replace(Nc,"#")+t}function Uc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Cn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Dc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Uc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function cr(e,t){return(history.state?history.state.position-t:-1)+e}const es=new Map;function $c(e,t){es.set(e,t)}function Kc(e){const t=es.get(e);return es.delete(e),t}let zc=()=>location.protocol+"//"+location.host;function wi(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let c=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),or(l,"")}return or(n,e)+s+r}function Wc(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 Qc(e){const{history:t,location:n}=window,s={value:wi(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:zc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(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 Jc(e){e=Lc(e);const t=Qc(e),n=Wc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:s,createHref:Bc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Gc(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="[^/]+?",Yc={sensitive:!1,strict:!1,start:!0,end:!0},Vc=/[.+*?^${}()[\]/\\]/g;function Xc(e,t){const n=Q({},Yc,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(Vc,"\\$&"),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(Ee(q)&&!O)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const H=Ee(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 Zc(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function eu(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Zc(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(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 tu={type:0,value:""},nu=/[a-zA-Z0-9_]/;function su(e){if(!e)return[[]];if(e==="/")return[[tu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(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:nu.test(l)?g():(h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:h(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&c--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function ru(e,t,n){const s=Xc(su(e.path),n),r=Q(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function iu(e,t){const n=[],s=new Map;t=gr({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,h,g){const b=!g,S=ou(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=ru($,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&&eu(d,n[h])>=0&&(d.record.path!==n[h].record.path||!xi(d,n[h]));)h++;n.splice(h,0,d),d.record.name&&!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:cu(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 ou(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:lu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function lu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function hr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function cu(e){return e.reduce((t,n)=>Q(t,n.meta),{})}function 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,uu=/&/g,au=/\//g,fu=/=/g,du=/\?/g,Ii=/\+/g,pu=/%5B/g,hu=/%5D/g,Ri=/%5E/g,gu=/%60/g,Si=/%7B/g,mu=/%7C/g,Ci=/%7D/g,_u=/%20/g;function Es(e){return encodeURI(""+e).replace(mu,"|").replace(pu,"[").replace(hu,"]")}function yu(e){return Es(e).replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function ts(e){return Es(e).replace(Ii,"%2B").replace(_u,"+").replace(Pi,"%23").replace(uu,"%26").replace(gu,"`").replace(Si,"{").replace(Ci,"}").replace(Ri,"^")}function bu(e){return ts(e).replace(fu,"%3D")}function vu(e){return Es(e).replace(Pi,"%23").replace(du,"%3F")}function wu(e){return e==null?"":vu(e).replace(au,"%2F")}function yn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Au(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(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];Ee(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=bu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ee(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 Eu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ee(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const xu=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):Gc(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(Pu(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=Tc(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 Pu(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=be(()=>t.resolve(wt(e.to))),r=be(()=>{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=be(()=>r.value>-1&&Cu(n.params,s.value.params)),o=be(()=>r.value>-1&&r.value===n.matched.length-1&&vi(n.params,s.value.params));function c(l={}){return Su(l)?t[wt(e.replace)?"replace":"push"](wt(e.to)).catch(Dt):Promise.resolve()}return{route:s,href:be(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}const Iu=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=be(()=>({[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)}}}),Ru=Iu;function Su(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Cu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ee(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,Ou=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=be(()=>e.route||s.value),i=Be(_r,0),o=be(()=>{let f=wt(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),c=be(()=>r.value.matched[o.value]);an(_r,be(()=>o.value+1)),an(xu,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 Tu=Ou;function Mu(e){const t=iu(e.routes,e),n=e.parseQuery||Au,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,wu),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=Hc(s,Q({},_,{hash:yu(W),path:C.path})),a=r.createHref(u);return Q({fullPath:u,hash:W,query:s===mr?Eu(_.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 xe(_)}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 xe(_,I){const x=f=q(_),C=l.value,W=_.state,u=_.force,a=_.replace===!0,p=ce(x);if(p)return xe(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&&kc(s,C,x)&&(y=St(16,{to:m,from:C}),Re(C,C,!0,!1)),(y?Promise.resolve(y):Pe(m,C)).catch(v=>je(v)?je(v,2)?v:ze(v):z(v,m,C)).then(v=>{if(v){if(je(v,2))return xe(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 Pe(_,I){let x;const[C,W,u]=qu(_,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(Ee(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=_,Re(_,I,x,a),ze()}let Ie;function Mt(){Ie||(Ie=r.listen((_,I,x)=>{if(!Zt.listening)return;const C=q(_),W=ce(C);if(W){xe(Q(W,{replace:!0}),C).catch(Dt);return}f=C;const u=l.value;gt&&$c(cr(u.fullPath,x.delta),Cn()),Pe(C,u).catch(a=>je(a,12)?a:je(a,2)?(xe(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 Re(_,I,x,C){const{scrollBehavior:W}=e;if(!gt||!W)return Promise.resolve();const u=!x&&Kc(cr(_.fullPath,0))||(C||!x)&&history.state&&history.state.scroll||null;return Jr().then(()=>W(_,I,u)).then(a=>a&&Dc(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",Ru),_.component("RouterView",Tu),_.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,Ie&&Ie(),Ie=null,l.value=Qe,at=!1,G=!1),C()}}};function re(_){return _.reduce((I,x)=>I.then(()=>ct(x)),Promise.resolve())}return Zt}function qu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(f=>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 Hu=Mu({history:Jc("/"),routes:[]}),Ps=Zl(Oc);Ps.use(sc());Ps.use(Hu);Ps.mount("#app");
|
|
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");
|
|
@@ -105,7 +105,9 @@ function raiseCommentsEvent(event) {
|
|
|
105
105
|
</div>
|
|
106
106
|
|
|
107
107
|
<div class="scene_canvas">
|
|
108
|
-
<
|
|
108
|
+
<div class="widget_layer" ref="widgetLayer">
|
|
109
|
+
<iframe ref="wudgetIframe" class="scene_iframe"></iframe>
|
|
110
|
+
</div>
|
|
109
111
|
</div>
|
|
110
112
|
</div>
|
|
111
113
|
</div>
|
|
@@ -149,6 +151,19 @@ function raiseCommentsEvent(event) {
|
|
|
149
151
|
position: relative;
|
|
150
152
|
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
|
|
151
153
|
}
|
|
154
|
+
.widget_layer {
|
|
155
|
+
position: absolute;
|
|
156
|
+
top: 0;
|
|
157
|
+
left: 0;
|
|
158
|
+
width: 100%;
|
|
159
|
+
height: 100%;
|
|
160
|
+
resize: both;
|
|
161
|
+
overflow: hidden;
|
|
162
|
+
max-width: 100%;
|
|
163
|
+
max-height: 100%;
|
|
164
|
+
min-width: 60px;
|
|
165
|
+
min-height: 60px;
|
|
166
|
+
}
|
|
152
167
|
.scene_iframe {
|
|
153
168
|
width: 100%;
|
|
154
169
|
height: 100%;
|
|
@@ -176,9 +191,14 @@ function raiseCommentsEvent(event) {
|
|
|
176
191
|
</style>
|
|
177
192
|
|
|
178
193
|
<style>
|
|
194
|
+
html {
|
|
195
|
+
background-image: none !important;
|
|
196
|
+
background-color: #DCDCE5;
|
|
197
|
+
}
|
|
179
198
|
.apps_fast_access_wr {
|
|
180
199
|
display: flex;
|
|
181
200
|
padding: 6px 0;
|
|
201
|
+
align-self: flex-start;
|
|
182
202
|
}
|
|
183
203
|
.apps_fast_access_btn {
|
|
184
204
|
flex: 0 0 30px;
|