evmux-app-framework 0.0.87 → 0.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evmux-app-framework",
3
- "version": "0.0.87",
3
+ "version": "0.0.89",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -51,6 +51,7 @@ export const availableRequests = {
51
51
  listAssets: "listAssets", // get actual link locations of media assets per id
52
52
  createStream: "createStream", // get actual link locations of media assets per id
53
53
  displayInputs: "displayInputs",
54
+ accountPlanCapabilities: "accountPlanCapabilities",
54
55
 
55
56
 
56
57
  }
@@ -7,11 +7,15 @@ export default class AppsObserverMiscHandler extends AppsObserverRequestHandlerB
7
7
  }
8
8
 
9
9
  canHandleRequest(requestObj) {
10
- const supportedRequests = [availableRequests.createStream];
10
+ const supportedRequests = [availableRequests.createStream, availableRequests.accountPlanCapabilities];
11
11
  return supportedRequests.includes(requestObj.request);
12
12
  }
13
13
 
14
14
  async createStream(requestObj) {
15
15
  return {value: window.mockStream || {} }
16
16
  }
17
+
18
+ async accountPlanCapabilities(requestObj) {
19
+ return {value: window.mockAccountPlanCapabilities || {} }
20
+ }
17
21
  }
@@ -17,4 +17,14 @@ export default class EvmuxAppsApiMisc {
17
17
  return this.evmuxAppsApi._postMessageManager.sendRequestAsync(reqObj);
18
18
  }
19
19
 
20
+ async accountPlanCapabilities(){
21
+ let reqObj = {
22
+ request: availableRequests.accountPlanCapabilities,
23
+ userAppInstanceId: this.evmuxAppsApi._userAppInstanceId,
24
+ componentId: this.evmuxAppsApi._componentId,
25
+ data: {}
26
+ }
27
+ return this.evmuxAppsApi._postMessageManager.sendRequestAsync(reqObj);
28
+ }
29
+
20
30
  }
@@ -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"]'))n(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"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(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 n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();function Zs(e,t){const s=Object.create(null),n=e.split(",");for(let r=0;r<n.length;r++)s[n[r]]=!0;return t?r=>!!s[r.toLowerCase()]:r=>!!s[r]}const V={},ht=[],we=()=>{},Ri=()=>!1,Ii=/^on[^a-z]/,ps=e=>Ii.test(e),en=e=>e.startsWith("onUpdate:"),te=Object.assign,tn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Si=Object.prototype.hasOwnProperty,B=(e,t)=>Si.call(e,t),L=Array.isArray,Ht=e=>hs(e)==="[object Map]",Oi=e=>hs(e)==="[object Set]",N=e=>typeof e=="function",se=e=>typeof e=="string",sn=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",wr=e=>X(e)&&N(e.then)&&N(e.catch),Ci=Object.prototype.toString,hs=e=>Ci.call(e),Ti=e=>hs(e).slice(8,-1),Mi=e=>hs(e)==="[object Object]",nn=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,es=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gs=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},qi=/-(\w)/g,yt=gs(e=>e.replace(qi,(t,s)=>s?s.toUpperCase():"")),Hi=/\B([A-Z])/g,xt=gs(e=>e.replace(Hi,"-$1").toLowerCase()),Er=gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ps=gs(e=>e?`on${Er(e)}`:""),Nt=(e,t)=>!Object.is(e,t),Rs=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},os=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Sn;const js=()=>Sn||(Sn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rn(e){if(L(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=se(n)?Ni(n):rn(n);if(r)for(const i in r)t[i]=r[i]}return t}else{if(se(e))return e;if(X(e))return e}}const Fi=/;(?![^(]*\))/g,ki=/:([^]+)/,Li=/\/\*[^]*?\*\//g;function Ni(e){const t={};return e.replace(Li,"").split(Fi).forEach(s=>{if(s){const n=s.split(ki);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function on(e){let t="";if(se(e))t=e;else if(L(e))for(let s=0;s<e.length;s++){const n=on(e[s]);n&&(t+=n+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ui="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bi=Zs(Ui);function Ar(e){return!!e||e===""}let me;class xr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const s=me;try{return me=this,t()}finally{me=s}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 Di(e){return new xr(e)}function $i(e,t=me){t&&t.active&&t.effects.push(e)}function Ki(){return me}const ln=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pr=e=>(e.w&Ve)>0,Rr=e=>(e.n&Ve)>0,zi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Ve},Wi=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const r=t[n];Pr(r)&&!Rr(r)?r.delete(e):t[s++]=r,r.w&=~Ve,r.n&=~Ve}t.length=s}},Fs=new WeakMap;let Mt=0,Ve=1;const ks=30;let _e;const rt=Symbol(""),Ls=Symbol("");class cn{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,$i(this,n)}run(){if(!this.active)return this.fn();let t=_e,s=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=_e,_e=this,Ge=!0,Ve=1<<++Mt,Mt<=ks?zi(this):On(this),this.fn()}finally{Mt<=ks&&Wi(this),Ve=1<<--Mt,_e=this.parent,Ge=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){_e===this?this.deferStop=!0:this.active&&(On(this),this.onStop&&this.onStop(),this.active=!1)}}function On(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let Ge=!0;const Ir=[];function Pt(){Ir.push(Ge),Ge=!1}function Rt(){const e=Ir.pop();Ge=e===void 0?!0:e}function de(e,t,s){if(Ge&&_e){let n=Fs.get(e);n||Fs.set(e,n=new Map);let r=n.get(s);r||n.set(s,r=ln()),Sr(r)}}function Sr(e,t){let s=!1;Mt<=ks?Rr(e)||(e.n|=Ve,s=!Pr(e)):s=!e.has(_e),s&&(e.add(_e),_e.deps.push(e))}function Ue(e,t,s,n,r,i){const o=Fs.get(e);if(!o)return;let u=[];if(t==="clear")u=[...o.values()];else if(s==="length"&&L(e)){const l=Number(n);o.forEach((f,d)=>{(d==="length"||d>=l)&&u.push(f)})}else switch(s!==void 0&&u.push(o.get(s)),t){case"add":L(e)?nn(s)&&u.push(o.get("length")):(u.push(o.get(rt)),Ht(e)&&u.push(o.get(Ls)));break;case"delete":L(e)||(u.push(o.get(rt)),Ht(e)&&u.push(o.get(Ls)));break;case"set":Ht(e)&&u.push(o.get(rt));break}if(u.length===1)u[0]&&Ns(u[0]);else{const l=[];for(const f of u)f&&l.push(...f);Ns(ln(l))}}function Ns(e,t){const s=L(e)?e:[...e];for(const n of s)n.computed&&Cn(n);for(const n of s)n.computed||Cn(n)}function Cn(e,t){(e!==_e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Qi=Zs("__proto__,__v_isRef,__isVue"),Or=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn)),Ji=un(),Gi=un(!1,!0),Yi=un(!0),Tn=Vi();function Vi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=K(this);for(let i=0,o=this.length;i<o;i++)de(n,"get",i+"");const r=n[t](...s);return r===-1||r===!1?n[t](...s.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){Pt();const n=K(this)[t].apply(this,s);return Rt(),n}}),e}function Xi(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function un(e=!1,t=!1){return function(n,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?go:Hr:t?qr:Mr).get(n))return n;const o=L(n);if(!e){if(o&&B(Tn,r))return Reflect.get(Tn,r,i);if(r==="hasOwnProperty")return Xi}const u=Reflect.get(n,r,i);return(sn(r)?Or.has(r):Qi(r))||(e||de(n,"get",r),t)?u:le(u)?o&&nn(r)?u:u.value:X(u)?e?Fr(u):_s(u):u}}const Zi=Cr(),eo=Cr(!0);function Cr(e=!1){return function(s,n,r,i){let o=s[n];if(bt(o)&&le(o)&&!le(r))return!1;if(!e&&(!ls(r)&&!bt(r)&&(o=K(o),r=K(r)),!L(s)&&le(o)&&!le(r)))return o.value=r,!0;const u=L(s)&&nn(n)?Number(n)<s.length:B(s,n),l=Reflect.set(s,n,r,i);return s===K(i)&&(u?Nt(r,o)&&Ue(s,"set",n,r):Ue(s,"add",n,r)),l}}function to(e,t){const s=B(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Ue(e,"delete",t,void 0),n}function so(e,t){const s=Reflect.has(e,t);return(!sn(t)||!Or.has(t))&&de(e,"has",t),s}function no(e){return de(e,"iterate",L(e)?"length":rt),Reflect.ownKeys(e)}const Tr={get:Ji,set:Zi,deleteProperty:to,has:so,ownKeys:no},ro={get:Yi,set(e,t){return!0},deleteProperty(e,t){return!0}},io=te({},Tr,{get:Gi,set:eo}),an=e=>e,ms=e=>Reflect.getPrototypeOf(e);function Jt(e,t,s=!1,n=!1){e=e.__v_raw;const r=K(e),i=K(t);s||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=ms(r),u=n?an:s?hn:Ut;if(o.call(r,t))return u(e.get(t));if(o.call(r,i))return u(e.get(i));e!==r&&e.get(t)}function Gt(e,t=!1){const s=this.__v_raw,n=K(s),r=K(e);return t||(e!==r&&de(n,"has",e),de(n,"has",r)),e===r?s.has(e):s.has(e)||s.has(r)}function Yt(e,t=!1){return e=e.__v_raw,!t&&de(K(e),"iterate",rt),Reflect.get(e,"size",e)}function Mn(e){e=K(e);const t=K(this);return ms(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function qn(e,t){t=K(t);const s=K(this),{has:n,get:r}=ms(s);let i=n.call(s,e);i||(e=K(e),i=n.call(s,e));const o=r.call(s,e);return s.set(e,t),i?Nt(t,o)&&Ue(s,"set",e,t):Ue(s,"add",e,t),this}function Hn(e){const t=K(this),{has:s,get:n}=ms(t);let r=s.call(t,e);r||(e=K(e),r=s.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return r&&Ue(t,"delete",e,void 0),i}function jn(){const e=K(this),t=e.size!==0,s=e.clear();return t&&Ue(e,"clear",void 0,void 0),s}function Vt(e,t){return function(n,r){const i=this,o=i.__v_raw,u=K(o),l=t?an:e?hn:Ut;return!e&&de(u,"iterate",rt),o.forEach((f,d)=>n.call(r,l(f),l(d),i))}}function Xt(e,t,s){return function(...n){const r=this.__v_raw,i=K(r),o=Ht(i),u=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...n),d=s?an:t?hn:Ut;return!t&&de(i,"iterate",l?Ls:rt),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:u?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function Ke(e){return function(...t){return e==="delete"?!1:this}}function oo(){const e={get(i){return Jt(this,i)},get size(){return Yt(this)},has:Gt,add:Mn,set:qn,delete:Hn,clear:jn,forEach:Vt(!1,!1)},t={get(i){return Jt(this,i,!1,!0)},get size(){return Yt(this)},has:Gt,add:Mn,set:qn,delete:Hn,clear:jn,forEach:Vt(!1,!0)},s={get(i){return Jt(this,i,!0)},get size(){return Yt(this,!0)},has(i){return Gt.call(this,i,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:Vt(!0,!1)},n={get(i){return Jt(this,i,!0,!0)},get size(){return Yt(this,!0)},has(i){return Gt.call(this,i,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:Vt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Xt(i,!1,!1),s[i]=Xt(i,!0,!1),t[i]=Xt(i,!1,!0),n[i]=Xt(i,!0,!0)}),[e,s,t,n]}const[lo,co,uo,ao]=oo();function fn(e,t){const s=t?e?ao:uo:e?co:lo;return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(B(s,r)&&r in n?s:n,r,i)}const fo={get:fn(!1,!1)},po={get:fn(!1,!0)},ho={get:fn(!0,!1)},Mr=new WeakMap,qr=new WeakMap,Hr=new WeakMap,go=new WeakMap;function mo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _o(e){return e.__v_skip||!Object.isExtensible(e)?0:mo(Ti(e))}function _s(e){return bt(e)?e:dn(e,!1,Tr,fo,Mr)}function jr(e){return dn(e,!1,io,po,qr)}function Fr(e){return dn(e,!0,ro,ho,Hr)}function dn(e,t,s,n,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=_o(e);if(o===0)return e;const u=new Proxy(e,o===2?n:s);return r.set(e,u),u}function gt(e){return bt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function ls(e){return!!(e&&e.__v_isShallow)}function kr(e){return gt(e)||bt(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function pn(e){return os(e,"__v_skip",!0),e}const Ut=e=>X(e)?_s(e):e,hn=e=>X(e)?Fr(e):e;function Lr(e){Ge&&_e&&(e=K(e),Sr(e.dep||(e.dep=ln())))}function Nr(e,t){e=K(e);const s=e.dep;s&&Ns(s)}function le(e){return!!(e&&e.__v_isRef===!0)}function cs(e){return Ur(e,!1)}function yo(e){return Ur(e,!0)}function Ur(e,t){return le(e)?e:new bo(e,t)}class bo{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:K(t),this._value=s?t:Ut(t)}get value(){return Lr(this),this._value}set value(t){const s=this.__v_isShallow||ls(t)||bt(t);t=s?t:K(t),Nt(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:Ut(t),Nr(this))}}function mt(e){return le(e)?e.value:e}const vo={get:(e,t,s)=>mt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return le(r)&&!le(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Br(e){return gt(e)?e:new Proxy(e,vo)}class wo{constructor(t,s,n,r){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cn(t,()=>{this._dirty||(this._dirty=!0,Nr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=K(this);return Lr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Eo(e,t,s=!1){let n,r;const i=N(e);return i?(n=e,r=we):(n=e.get,r=e.set),new wo(n,r,i||!r,s)}function Ye(e,t,s,n){let r;try{r=n?e(...n):e()}catch(i){ys(i,t,s)}return r}function Ee(e,t,s,n){if(N(e)){const i=Ye(e,t,s,n);return i&&wr(i)&&i.catch(o=>{ys(o,t,s)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,s,n));return r}function ys(e,t,s,n=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,u=s;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,u)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Ye(l,null,10,[e,o,u]);return}}Ao(e,s,r,n)}function Ao(e,t,s,n=!0){console.error(e)}let Bt=!1,Us=!1;const ie=[];let Me=0;const _t=[];let ke=null,st=0;const Dr=Promise.resolve();let gn=null;function $r(e){const t=gn||Dr;return e?t.then(this?e.bind(this):e):t}function xo(e){let t=Me+1,s=ie.length;for(;t<s;){const n=t+s>>>1;Dt(ie[n])<e?t=n+1:s=n}return t}function mn(e){(!ie.length||!ie.includes(e,Bt&&e.allowRecurse?Me+1:Me))&&(e.id==null?ie.push(e):ie.splice(xo(e.id),0,e),Kr())}function Kr(){!Bt&&!Us&&(Us=!0,gn=Dr.then(Wr))}function Po(e){const t=ie.indexOf(e);t>Me&&ie.splice(t,1)}function Ro(e){L(e)?_t.push(...e):(!ke||!ke.includes(e,e.allowRecurse?st+1:st))&&_t.push(e),Kr()}function Fn(e,t=Bt?Me+1:0){for(;t<ie.length;t++){const s=ie[t];s&&s.pre&&(ie.splice(t,1),t--,s())}}function zr(e){if(_t.length){const t=[...new Set(_t)];if(_t.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((s,n)=>Dt(s)-Dt(n)),st=0;st<ke.length;st++)ke[st]();ke=null,st=0}}const Dt=e=>e.id==null?1/0:e.id,Io=(e,t)=>{const s=Dt(e)-Dt(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Wr(e){Us=!1,Bt=!0,ie.sort(Io);const t=we;try{for(Me=0;Me<ie.length;Me++){const s=ie[Me];s&&s.active!==!1&&Ye(s,null,14)}}finally{Me=0,ie.length=0,zr(),Bt=!1,gn=null,(ie.length||_t.length)&&Wr()}}function So(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||V;let r=s;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in n){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=n[d]||V;g&&(r=s.map(w=>se(w)?w.trim():w)),h&&(r=s.map(ji))}let u,l=n[u=Ps(t)]||n[u=Ps(yt(t))];!l&&i&&(l=n[u=Ps(xt(t))]),l&&Ee(l,e,6,r);const f=n[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Ee(f,e,6,r)}}function Qr(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},u=!1;if(!N(e)){const l=f=>{const d=Qr(f,t,!0);d&&(u=!0,te(o,d))};!s&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!u?(X(e)&&n.set(e,null),null):(L(i)?i.forEach(l=>o[l]=null):te(o,i),X(e)&&n.set(e,o),o)}function bs(e,t){return!e||!ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,xt(t))||B(e,t))}let qe=null,vs=null;function us(e){const t=qe;return qe=e,vs=e&&e.type.__scopeId||null,t}function Oo(e){vs=e}function Co(){vs=null}function To(e,t=qe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Wn(-1);const i=us(t);let o;try{o=e(...r)}finally{us(i),n._d&&Wn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Is(e){const{type:t,vnode:s,proxy:n,withProxy:r,props:i,propsOptions:[o],slots:u,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:w,ctx:S,inheritAttrs:C}=e;let k,q;const H=us(e);try{if(s.shapeFlag&4){const j=r||n;k=Te(d.call(j,j,h,i,w,g,S)),q=l}else{const j=t;k=Te(j.length>1?j(i,{attrs:l,slots:u,emit:f}):j(i,null)),q=t.props?l:Mo(l)}}catch(j){Ft.length=0,ys(j,e,1),k=ve($t)}let D=k;if(q&&C!==!1){const j=Object.keys(q),{shapeFlag:ne}=D;j.length&&ne&7&&(o&&j.some(en)&&(q=qo(q,o)),D=vt(D,q))}return s.dirs&&(D=vt(D),D.dirs=D.dirs?D.dirs.concat(s.dirs):s.dirs),s.transition&&(D.transition=s.transition),k=D,us(H),k}const Mo=e=>{let t;for(const s in e)(s==="class"||s==="style"||ps(s))&&((t||(t={}))[s]=e[s]);return t},qo=(e,t)=>{const s={};for(const n in e)(!en(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Ho(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:u,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?kn(n,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]!==n[g]&&!bs(f,g))return!0}}}else return(r||u)&&(!u||!u.$stable)?!0:n===o?!1:n?o?kn(n,o,f):!0:!!o;return!1}function kn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(t[i]!==e[i]&&!bs(s,i))return!0}return!1}function jo({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const Fo=e=>e.__isSuspense;function ko(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}const Zt={};function ts(e,t,s){return Jr(e,t,s)}function Jr(e,t,{immediate:s,deep:n,flush:r,onTrack:i,onTrigger:o}=V){var u;const l=Ki()===((u=oe)==null?void 0:u.scope)?oe:null;let f,d=!1,h=!1;if(le(e)?(f=()=>e.value,d=ls(e)):gt(e)?(f=()=>e,n=!0):L(e)?(h=!0,d=e.some(j=>gt(j)||ls(j)),f=()=>e.map(j=>{if(le(j))return j.value;if(gt(j))return pt(j);if(N(j))return Ye(j,l,2)})):N(e)?t?f=()=>Ye(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[w])}:f=we,t&&n){const j=f;f=()=>pt(j())}let g,w=j=>{g=H.onStop=()=>{Ye(j,l,4)}},S;if(zt)if(w=we,t?s&&Ee(t,l,3,[f(),h?[]:void 0,w]):f(),r==="sync"){const j=Cl();S=j.__watcherHandles||(j.__watcherHandles=[])}else return we;let C=h?new Array(e.length).fill(Zt):Zt;const k=()=>{if(H.active)if(t){const j=H.run();(n||d||(h?j.some((ne,ce)=>Nt(ne,C[ce])):Nt(j,C)))&&(g&&g(),Ee(t,l,3,[j,C===Zt?void 0:h&&C[0]===Zt?[]:C,w]),C=j)}else H.run()};k.allowRecurse=!!t;let q;r==="sync"?q=k:r==="post"?q=()=>fe(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),q=()=>mn(k));const H=new cn(f,q);t?s?k():C=H.run():r==="post"?fe(H.run.bind(H),l&&l.suspense):H.run();const D=()=>{H.stop(),l&&l.scope&&tn(l.scope.effects,H)};return S&&S.push(D),D}function Lo(e,t,s){const n=this.proxy,r=se(e)?e.includes(".")?Gr(n,e):()=>n[e]:e.bind(n,n);let i;N(t)?i=t:(i=t.handler,s=t);const o=oe;wt(this);const u=Jr(r,i.bind(n),s);return o?wt(o):it(),u}function Gr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}function pt(e,t){if(!X(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))pt(e.value,t);else if(L(e))for(let s=0;s<e.length;s++)pt(e[s],t);else if(Oi(e)||Ht(e))e.forEach(s=>{pt(s,t)});else if(Mi(e))for(const s in e)pt(e[s],t);return e}function et(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const u=r[o];i&&(u.oldValue=i[o].value);let l=u.dir[n];l&&(Pt(),Ee(l,s,8,[e.el,u,e,t]),Rt())}}function Yr(e,t){return N(e)?(()=>te({name:e.name},t,{setup:e}))():e}const ss=e=>!!e.type.__asyncLoader,Vr=e=>e.type.__isKeepAlive;function No(e,t){Xr(e,"a",t)}function Uo(e,t){Xr(e,"da",t)}function Xr(e,t,s=oe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ws(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Vr(r.parent.vnode)&&Bo(n,t,s,r),r=r.parent}}function Bo(e,t,s,n){const r=ws(t,e,n,!0);ei(()=>{tn(n[t],r)},s)}function ws(e,t,s=oe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;Pt(),wt(s);const u=Ee(t,s,e,o);return it(),Rt(),u});return n?r.unshift(i):r.push(i),i}}const Be=e=>(t,s=oe)=>(!zt||e==="sp")&&ws(e,(...n)=>t(...n),s),Do=Be("bm"),Zr=Be("m"),$o=Be("bu"),Ko=Be("u"),zo=Be("bum"),ei=Be("um"),Wo=Be("sp"),Qo=Be("rtg"),Jo=Be("rtc");function Go(e,t=oe){ws("ec",e,t)}const Yo=Symbol.for("v-ndc"),Bs=e=>e?ai(e)?wn(e)||e.proxy:Bs(e.parent):null,jt=te(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=>Bs(e.parent),$root:e=>Bs(e.root),$emit:e=>e.emit,$options:e=>_n(e),$forceUpdate:e=>e.f||(e.f=()=>mn(e.update)),$nextTick:e=>e.n||(e.n=$r.bind(e.proxy)),$watch:e=>Lo.bind(e)}),Ss=(e,t)=>e!==V&&!e.__isScriptSetup&&B(e,t),Vo={get({_:e},t){const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:u,appContext:l}=e;let f;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Ss(n,t))return o[t]=1,n[t];if(r!==V&&B(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&B(f,t))return o[t]=3,i[t];if(s!==V&&B(s,t))return o[t]=4,s[t];Ds&&(o[t]=0)}}const d=jt[t];let h,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((h=u.__cssModules)&&(h=h[t]))return h;if(s!==V&&B(s,t))return o[t]=4,s[t];if(g=l.config.globalProperties,B(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Ss(r,t)?(r[t]=s,!0):n!==V&&B(n,t)?(n[t]=s,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let u;return!!s[o]||e!==V&&B(e,o)||Ss(t,o)||(u=i[0])&&B(u,o)||B(n,o)||B(jt,o)||B(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:B(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Ln(e){return L(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ds=!0;function Xo(e){const t=_n(e),s=e.proxy,n=e.ctx;Ds=!1,t.beforeCreate&&Nn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:u,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:w,updated:S,activated:C,deactivated:k,beforeDestroy:q,beforeUnmount:H,destroyed:D,unmounted:j,render:ne,renderTracked:ce,renderTriggered:xe,errorCaptured:He,serverPrefetch:ot,expose:Pe,inheritAttrs:De,components:Ze,directives:Re,filters:It}=t;if(f&&Zo(f,n,null),o)for(const G in o){const z=o[G];N(z)&&(n[G]=z.bind(s))}if(r){const G=r.call(s,s);X(G)&&(e.data=_s(G))}if(Ds=!0,i)for(const G in i){const z=i[G],je=N(z)?z.bind(s,s):N(z.get)?z.get.bind(s,s):we,$e=!N(z)&&N(z.set)?z.set.bind(s):we,Ie=ye({get:je,set:$e});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:ae=>Ie.value=ae})}if(u)for(const G in u)ti(u[G],n,s,G);if(l){const G=N(l)?l.call(s):l;Reflect.ownKeys(G).forEach(z=>{ns(z,G[z])})}d&&Nn(d,e,"c");function ee(G,z){L(z)?z.forEach(je=>G(je.bind(s))):z&&G(z.bind(s))}if(ee(Do,h),ee(Zr,g),ee($o,w),ee(Ko,S),ee(No,C),ee(Uo,k),ee(Go,He),ee(Jo,ce),ee(Qo,xe),ee(zo,H),ee(ei,j),ee(Wo,ot),L(Pe))if(Pe.length){const G=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(G,z,{get:()=>s[z],set:je=>s[z]=je})})}else e.exposed||(e.exposed={});ne&&e.render===we&&(e.render=ne),De!=null&&(e.inheritAttrs=De),Ze&&(e.components=Ze),Re&&(e.directives=Re)}function Zo(e,t,s=we){L(e)&&(e=$s(e));for(const n in e){const r=e[n];let i;X(r)?"default"in r?i=Ne(r.from||n,r.default,!0):i=Ne(r.from||n):i=Ne(r),le(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function Nn(e,t,s){Ee(L(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ti(e,t,s,n){const r=n.includes(".")?Gr(s,n):()=>s[n];if(se(e)){const i=t[e];N(i)&&ts(r,i)}else if(N(e))ts(r,e.bind(s));else if(X(e))if(L(e))e.forEach(i=>ti(i,t,s,n));else{const i=N(e.handler)?e.handler.bind(s):t[e.handler];N(i)&&ts(r,i,e)}}function _n(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,u=i.get(t);let l;return u?l=u:!r.length&&!s&&!n?l=t:(l={},r.length&&r.forEach(f=>as(l,f,o,!0)),as(l,t,o)),X(t)&&i.set(t,l),l}function as(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&as(e,i,s,!0),r&&r.forEach(o=>as(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const u=el[o]||s&&s[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const el={data:Un,props:Bn,emits:Bn,methods:qt,computed:qt,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:qt,directives:qt,watch:sl,provide:Un,inject:tl};function Un(e,t){return t?e?function(){return te(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function tl(e,t){return qt($s(e),$s(t))}function $s(e){if(L(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function qt(e,t){return e?te(Object.create(null),e,t):t}function Bn(e,t){return e?L(e)&&L(t)?[...new Set([...e,...t])]:te(Object.create(null),Ln(e),Ln(t??{})):t}function sl(e,t){if(!e)return t;if(!t)return e;const s=te(Object.create(null),e);for(const n in t)s[n]=ue(e[n],t[n]);return s}function si(){return{app:null,config:{isNativeTag:Ri,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 nl=0;function rl(e,t){return function(n,r=null){N(n)||(n=te({},n)),r!=null&&!X(r)&&(r=null);const i=si(),o=new Set;let u=!1;const l=i.app={_uid:nl++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Tl,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(!u){const g=ve(n,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),u=!0,l._container=f,f.__vue_app__=l,wn(g.component)||g.component.proxy}},unmount(){u&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){fs=l;try{return f()}finally{fs=null}}};return l}}let fs=null;function ns(e,t){if(oe){let s=oe.provides;const n=oe.parent&&oe.parent.provides;n===s&&(s=oe.provides=Object.create(n)),s[e]=t}}function Ne(e,t,s=!1){const n=oe||qe;if(n||fs){const r=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:fs._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return s&&N(t)?t.call(n&&n.proxy):t}}function il(e,t,s,n=!1){const r={},i={};os(i,As,1),e.propsDefaults=Object.create(null),ni(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:jr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ol(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,u=K(r),[l]=e.propsOptions;let f=!1;if((n||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(bs(e.emitsOptions,g))continue;const w=t[g];if(l)if(B(i,g))w!==i[g]&&(i[g]=w,f=!0);else{const S=yt(g);r[S]=Ks(l,u,S,w,e,!1)}else w!==i[g]&&(i[g]=w,f=!0)}}}else{ni(e,t,r,i)&&(f=!0);let d;for(const h in u)(!t||!B(t,h)&&((d=xt(h))===h||!B(t,d)))&&(l?s&&(s[h]!==void 0||s[d]!==void 0)&&(r[h]=Ks(l,u,h,void 0,e,!0)):delete r[h]);if(i!==u)for(const h in i)(!t||!B(t,h))&&(delete i[h],f=!0)}f&&Ue(e,"set","$attrs")}function ni(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,u;if(t)for(let l in t){if(es(l))continue;const f=t[l];let d;r&&B(r,d=yt(l))?!i||!i.includes(d)?s[d]=f:(u||(u={}))[d]=f:bs(e.emitsOptions,l)||(!(l in n)||f!==n[l])&&(n[l]=f,o=!0)}if(i){const l=K(s),f=u||V;for(let d=0;d<i.length;d++){const h=i[d];s[h]=Ks(r,l,h,f[h],e,!B(f,h))}}return o}function Ks(e,t,s,n,r,i){const o=e[s];if(o!=null){const u=B(o,"default");if(u&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&N(l)){const{propsDefaults:f}=r;s in f?n=f[s]:(wt(r),n=f[s]=l.call(null,t),it())}else n=l}o[0]&&(i&&!u?n=!1:o[1]&&(n===""||n===xt(s))&&(n=!0))}return n}function ri(e,t,s=!1){const n=t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},u=[];let l=!1;if(!N(e)){const d=h=>{l=!0;const[g,w]=ri(h,t,!0);te(o,g),w&&u.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return X(e)&&n.set(e,ht),ht;if(L(i))for(let d=0;d<i.length;d++){const h=yt(i[d]);Dn(h)&&(o[h]=V)}else if(i)for(const d in i){const h=yt(d);if(Dn(h)){const g=i[d],w=o[h]=L(g)||N(g)?{type:g}:te({},g);if(w){const S=zn(Boolean,w.type),C=zn(String,w.type);w[0]=S>-1,w[1]=C<0||S<C,(S>-1||B(w,"default"))&&u.push(h)}}}const f=[o,u];return X(e)&&n.set(e,f),f}function Dn(e){return e[0]!=="$"}function $n(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Kn(e,t){return $n(e)===$n(t)}function zn(e,t){return L(t)?t.findIndex(s=>Kn(s,e)):N(t)&&Kn(t,e)?0:-1}const ii=e=>e[0]==="_"||e==="$stable",yn=e=>L(e)?e.map(Te):[Te(e)],ll=(e,t,s)=>{if(t._n)return t;const n=To((...r)=>yn(t(...r)),s);return n._c=!1,n},oi=(e,t,s)=>{const n=e._ctx;for(const r in e){if(ii(r))continue;const i=e[r];if(N(i))t[r]=ll(r,i,n);else if(i!=null){const o=yn(i);t[r]=()=>o}}},li=(e,t)=>{const s=yn(t);e.slots.default=()=>s},cl=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=K(t),os(t,"_",s)):oi(t,e.slots={})}else e.slots={},t&&li(e,t);os(e.slots,As,1)},ul=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=V;if(n.shapeFlag&32){const u=t._;u?s&&u===1?i=!1:(te(r,t),!s&&u===1&&delete r._):(i=!t.$stable,oi(t,r)),o=t}else t&&(li(e,t),o={default:1});if(i)for(const u in r)!ii(u)&&!(u in o)&&delete r[u]};function zs(e,t,s,n,r=!1){if(L(e)){e.forEach((g,w)=>zs(g,t&&(L(t)?t[w]:t),s,n,r));return}if(ss(n)&&!r)return;const i=n.shapeFlag&4?wn(n.component)||n.component.proxy:n.el,o=r?null:i,{i:u,r:l}=e,f=t&&t.r,d=u.refs===V?u.refs={}:u.refs,h=u.setupState;if(f!=null&&f!==l&&(se(f)?(d[f]=null,B(h,f)&&(h[f]=null)):le(f)&&(f.value=null)),N(l))Ye(l,u,12,[o,d]);else{const g=se(l),w=le(l);if(g||w){const S=()=>{if(e.f){const C=g?B(h,l)?h[l]:d[l]:l.value;r?L(C)&&tn(C,i):L(C)?C.includes(i)||C.push(i):g?(d[l]=[i],B(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,B(h,l)&&(h[l]=o)):w&&(l.value=o,e.k&&(d[e.k]=o))};o?(S.id=-1,fe(S,s)):S()}}}const fe=ko;function al(e){return fl(e)}function fl(e,t){const s=js();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:u,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:w=we,insertStaticContent:S}=e,C=(c,a,p,m=null,y=null,b=null,P=!1,E=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!Ot(c,a)&&(m=_(c),ae(c,y,b,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:v,ref:T,shapeFlag:I}=a;switch(v){case Es:k(c,a,p,m);break;case $t:q(c,a,p,m);break;case Os:c==null&&H(a,p,m,P);break;case Le:Ze(c,a,p,m,y,b,P,E,A);break;default:I&1?ne(c,a,p,m,y,b,P,E,A):I&6?Re(c,a,p,m,y,b,P,E,A):(I&64||I&128)&&v.process(c,a,p,m,y,b,P,E,A,x)}T!=null&&y&&zs(T,c&&c.ref,b,a||c,!a)},k=(c,a,p,m)=>{if(c==null)n(a.el=u(a.children),p,m);else{const y=a.el=c.el;a.children!==c.children&&f(y,a.children)}},q=(c,a,p,m)=>{c==null?n(a.el=l(a.children||""),p,m):a.el=c.el},H=(c,a,p,m)=>{[c.el,c.anchor]=S(c.children,a,p,m,c.el,c.anchor)},D=({el:c,anchor:a},p,m)=>{let y;for(;c&&c!==a;)y=g(c),n(c,p,m),c=y;n(a,p,m)},j=({el:c,anchor:a})=>{let p;for(;c&&c!==a;)p=g(c),r(c),c=p;r(a)},ne=(c,a,p,m,y,b,P,E,A)=>{P=P||a.type==="svg",c==null?ce(a,p,m,y,b,P,E,A):ot(c,a,y,b,P,E,A)},ce=(c,a,p,m,y,b,P,E)=>{let A,v;const{type:T,props:I,shapeFlag:M,transition:F,dirs:U}=c;if(A=c.el=o(c.type,b,I&&I.is,I),M&8?d(A,c.children):M&16&&He(c.children,A,null,m,y,b&&T!=="foreignObject",P,E),U&&et(c,null,m,"created"),xe(A,c,c.scopeId,P,m),I){for(const J in I)J!=="value"&&!es(J)&&i(A,J,null,I[J],b,c.children,m,y,re);"value"in I&&i(A,"value",null,I.value),(v=I.onVnodeBeforeMount)&&Oe(v,m,c)}U&&et(c,null,m,"beforeMount");const Y=(!y||y&&!y.pendingBranch)&&F&&!F.persisted;Y&&F.beforeEnter(A),n(A,a,p),((v=I&&I.onVnodeMounted)||Y||U)&&fe(()=>{v&&Oe(v,m,c),Y&&F.enter(A),U&&et(c,null,m,"mounted")},y)},xe=(c,a,p,m,y)=>{if(p&&w(c,p),m)for(let b=0;b<m.length;b++)w(c,m[b]);if(y){let b=y.subTree;if(a===b){const P=y.vnode;xe(c,P,P.scopeId,P.slotScopeIds,y.parent)}}},He=(c,a,p,m,y,b,P,E,A=0)=>{for(let v=A;v<c.length;v++){const T=c[v]=E?Qe(c[v]):Te(c[v]);C(null,T,a,p,m,y,b,P,E)}},ot=(c,a,p,m,y,b,P)=>{const E=a.el=c.el;let{patchFlag:A,dynamicChildren:v,dirs:T}=a;A|=c.patchFlag&16;const I=c.props||V,M=a.props||V;let F;p&&tt(p,!1),(F=M.onVnodeBeforeUpdate)&&Oe(F,p,a,c),T&&et(a,c,p,"beforeUpdate"),p&&tt(p,!0);const U=y&&a.type!=="foreignObject";if(v?Pe(c.dynamicChildren,v,E,p,m,U,b):P||z(c,a,E,null,p,m,U,b,!1),A>0){if(A&16)De(E,a,I,M,p,m,y);else if(A&2&&I.class!==M.class&&i(E,"class",null,M.class,y),A&4&&i(E,"style",I.style,M.style,y),A&8){const Y=a.dynamicProps;for(let J=0;J<Y.length;J++){const Z=Y[J],ge=I[Z],at=M[Z];(at!==ge||Z==="value")&&i(E,Z,ge,at,y,c.children,p,m,re)}}A&1&&c.children!==a.children&&d(E,a.children)}else!P&&v==null&&De(E,a,I,M,p,m,y);((F=M.onVnodeUpdated)||T)&&fe(()=>{F&&Oe(F,p,a,c),T&&et(a,c,p,"updated")},m)},Pe=(c,a,p,m,y,b,P)=>{for(let E=0;E<a.length;E++){const A=c[E],v=a[E],T=A.el&&(A.type===Le||!Ot(A,v)||A.shapeFlag&70)?h(A.el):p;C(A,v,T,null,m,y,b,P,!0)}},De=(c,a,p,m,y,b,P)=>{if(p!==m){if(p!==V)for(const E in p)!es(E)&&!(E in m)&&i(c,E,p[E],null,P,a.children,y,b,re);for(const E in m){if(es(E))continue;const A=m[E],v=p[E];A!==v&&E!=="value"&&i(c,E,v,A,P,a.children,y,b,re)}"value"in m&&i(c,"value",p.value,m.value)}},Ze=(c,a,p,m,y,b,P,E,A)=>{const v=a.el=c?c.el:u(""),T=a.anchor=c?c.anchor:u("");let{patchFlag:I,dynamicChildren:M,slotScopeIds:F}=a;F&&(E=E?E.concat(F):F),c==null?(n(v,p,m),n(T,p,m),He(a.children,p,T,y,b,P,E,A)):I>0&&I&64&&M&&c.dynamicChildren?(Pe(c.dynamicChildren,M,p,y,b,P,E),(a.key!=null||y&&a===y.subTree)&&ci(c,a,!0)):z(c,a,p,T,y,b,P,E,A)},Re=(c,a,p,m,y,b,P,E,A)=>{a.slotScopeIds=E,c==null?a.shapeFlag&512?y.ctx.activate(a,p,m,P,A):It(a,p,m,y,b,P,A):lt(c,a,A)},It=(c,a,p,m,y,b,P)=>{const E=c.component=Al(c,m,y);if(Vr(c)&&(E.ctx.renderer=x),xl(E),E.asyncDep){if(y&&y.registerDep(E,ee),!c.el){const A=E.subTree=ve($t);q(null,A,a,p)}return}ee(E,c,a,p,y,b,P)},lt=(c,a,p)=>{const m=a.component=c.component;if(Ho(c,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,Po(m.update),m.update();else a.el=c.el,m.vnode=a},ee=(c,a,p,m,y,b,P)=>{const E=()=>{if(c.isMounted){let{next:T,bu:I,u:M,parent:F,vnode:U}=c,Y=T,J;tt(c,!1),T?(T.el=U.el,G(c,T,P)):T=U,I&&Rs(I),(J=T.props&&T.props.onVnodeBeforeUpdate)&&Oe(J,F,T,U),tt(c,!0);const Z=Is(c),ge=c.subTree;c.subTree=Z,C(ge,Z,h(ge.el),_(ge),c,y,b),T.el=Z.el,Y===null&&jo(c,Z.el),M&&fe(M,y),(J=T.props&&T.props.onVnodeUpdated)&&fe(()=>Oe(J,F,T,U),y)}else{let T;const{el:I,props:M}=a,{bm:F,m:U,parent:Y}=c,J=ss(a);if(tt(c,!1),F&&Rs(F),!J&&(T=M&&M.onVnodeBeforeMount)&&Oe(T,Y,a),tt(c,!0),I&&W){const Z=()=>{c.subTree=Is(c),W(I,c.subTree,c,y,null)};J?a.type.__asyncLoader().then(()=>!c.isUnmounted&&Z()):Z()}else{const Z=c.subTree=Is(c);C(null,Z,p,m,c,y,b),a.el=Z.el}if(U&&fe(U,y),!J&&(T=M&&M.onVnodeMounted)){const Z=a;fe(()=>Oe(T,Y,Z),y)}(a.shapeFlag&256||Y&&ss(Y.vnode)&&Y.vnode.shapeFlag&256)&&c.a&&fe(c.a,y),c.isMounted=!0,a=p=m=null}},A=c.effect=new cn(E,()=>mn(v),c.scope),v=c.update=()=>A.run();v.id=c.uid,tt(c,!0),v()},G=(c,a,p)=>{a.component=c;const m=c.vnode.props;c.vnode=a,c.next=null,ol(c,a.props,m,p),ul(c,a.children,p),Pt(),Fn(),Rt()},z=(c,a,p,m,y,b,P,E,A=!1)=>{const v=c&&c.children,T=c?c.shapeFlag:0,I=a.children,{patchFlag:M,shapeFlag:F}=a;if(M>0){if(M&128){$e(v,I,p,m,y,b,P,E,A);return}else if(M&256){je(v,I,p,m,y,b,P,E,A);return}}F&8?(T&16&&re(v,y,b),I!==v&&d(p,I)):T&16?F&16?$e(v,I,p,m,y,b,P,E,A):re(v,y,b,!0):(T&8&&d(p,""),F&16&&He(I,p,m,y,b,P,E,A))},je=(c,a,p,m,y,b,P,E,A)=>{c=c||ht,a=a||ht;const v=c.length,T=a.length,I=Math.min(v,T);let M;for(M=0;M<I;M++){const F=a[M]=A?Qe(a[M]):Te(a[M]);C(c[M],F,p,null,y,b,P,E,A)}v>T?re(c,y,b,!0,!1,I):He(a,p,m,y,b,P,E,A,I)},$e=(c,a,p,m,y,b,P,E,A)=>{let v=0;const T=a.length;let I=c.length-1,M=T-1;for(;v<=I&&v<=M;){const F=c[v],U=a[v]=A?Qe(a[v]):Te(a[v]);if(Ot(F,U))C(F,U,p,null,y,b,P,E,A);else break;v++}for(;v<=I&&v<=M;){const F=c[I],U=a[M]=A?Qe(a[M]):Te(a[M]);if(Ot(F,U))C(F,U,p,null,y,b,P,E,A);else break;I--,M--}if(v>I){if(v<=M){const F=M+1,U=F<T?a[F].el:m;for(;v<=M;)C(null,a[v]=A?Qe(a[v]):Te(a[v]),p,U,y,b,P,E,A),v++}}else if(v>M)for(;v<=I;)ae(c[v],y,b,!0),v++;else{const F=v,U=v,Y=new Map;for(v=U;v<=M;v++){const pe=a[v]=A?Qe(a[v]):Te(a[v]);pe.key!=null&&Y.set(pe.key,v)}let J,Z=0;const ge=M-U+1;let at=!1,Pn=0;const St=new Array(ge);for(v=0;v<ge;v++)St[v]=0;for(v=F;v<=I;v++){const pe=c[v];if(Z>=ge){ae(pe,y,b,!0);continue}let Se;if(pe.key!=null)Se=Y.get(pe.key);else for(J=U;J<=M;J++)if(St[J-U]===0&&Ot(pe,a[J])){Se=J;break}Se===void 0?ae(pe,y,b,!0):(St[Se-U]=v+1,Se>=Pn?Pn=Se:at=!0,C(pe,a[Se],p,null,y,b,P,E,A),Z++)}const Rn=at?dl(St):ht;for(J=Rn.length-1,v=ge-1;v>=0;v--){const pe=U+v,Se=a[pe],In=pe+1<T?a[pe+1].el:m;St[v]===0?C(null,Se,p,In,y,b,P,E,A):at&&(J<0||v!==Rn[J]?Ie(Se,p,In,2):J--)}}},Ie=(c,a,p,m,y=null)=>{const{el:b,type:P,transition:E,children:A,shapeFlag:v}=c;if(v&6){Ie(c.component.subTree,a,p,m);return}if(v&128){c.suspense.move(a,p,m);return}if(v&64){P.move(c,a,p,x);return}if(P===Le){n(b,a,p);for(let I=0;I<A.length;I++)Ie(A[I],a,p,m);n(c.anchor,a,p);return}if(P===Os){D(c,a,p);return}if(m!==2&&v&1&&E)if(m===0)E.beforeEnter(b),n(b,a,p),fe(()=>E.enter(b),y);else{const{leave:I,delayLeave:M,afterLeave:F}=E,U=()=>n(b,a,p),Y=()=>{I(b,()=>{U(),F&&F()})};M?M(b,U,Y):Y()}else n(b,a,p)},ae=(c,a,p,m=!1,y=!1)=>{const{type:b,props:P,ref:E,children:A,dynamicChildren:v,shapeFlag:T,patchFlag:I,dirs:M}=c;if(E!=null&&zs(E,null,p,c,!0),T&256){a.ctx.deactivate(c);return}const F=T&1&&M,U=!ss(c);let Y;if(U&&(Y=P&&P.onVnodeBeforeUnmount)&&Oe(Y,a,c),T&6)Qt(c.component,p,m);else{if(T&128){c.suspense.unmount(p,m);return}F&&et(c,null,a,"beforeUnmount"),T&64?c.type.remove(c,a,p,y,x,m):v&&(b!==Le||I>0&&I&64)?re(v,a,p,!1,!0):(b===Le&&I&384||!y&&T&16)&&re(A,a,p),m&&ct(c)}(U&&(Y=P&&P.onVnodeUnmounted)||F)&&fe(()=>{Y&&Oe(Y,a,c),F&&et(c,null,a,"unmounted")},p)},ct=c=>{const{type:a,el:p,anchor:m,transition:y}=c;if(a===Le){ut(p,m);return}if(a===Os){j(c);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(c.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:E}=y,A=()=>P(p,b);E?E(c.el,b,A):A()}else b()},ut=(c,a)=>{let p;for(;c!==a;)p=g(c),r(c),c=p;r(a)},Qt=(c,a,p)=>{const{bum:m,scope:y,update:b,subTree:P,um:E}=c;m&&Rs(m),y.stop(),b&&(b.active=!1,ae(P,c,a,p)),E&&fe(E,a),fe(()=>{c.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},re=(c,a,p,m=!1,y=!1,b=0)=>{for(let P=b;P<c.length;P++)ae(c[P],a,p,m,y)},_=c=>c.shapeFlag&6?_(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),R=(c,a,p)=>{c==null?a._vnode&&ae(a._vnode,null,null,!0):C(a._vnode||null,c,a,null,null,null,p),Fn(),zr(),a._vnode=c},x={p:C,um:ae,m:Ie,r:ct,mt:It,mc:He,pc:z,pbc:Pe,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:R,hydrate:O,createApp:rl(R,O)}}function tt({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function ci(e,t,s=!1){const n=e.children,r=t.children;if(L(n)&&L(r))for(let i=0;i<n.length;i++){const o=n[i];let u=r[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=r[i]=Qe(r[i]),u.el=o.el),s||ci(o,u)),u.type===Es&&(u.el=o.el)}}function dl(e){const t=e.slice(),s=[0];let n,r,i,o,u;const l=e.length;for(n=0;n<l;n++){const f=e[n];if(f!==0){if(r=s[s.length-1],e[r]<f){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)u=i+o>>1,e[s[u]]<f?i=u+1:o=u;f<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}const pl=e=>e.__isTeleport,Le=Symbol.for("v-fgt"),Es=Symbol.for("v-txt"),$t=Symbol.for("v-cmt"),Os=Symbol.for("v-stc"),Ft=[];let be=null;function hl(e=!1){Ft.push(be=e?null:[])}function gl(){Ft.pop(),be=Ft[Ft.length-1]||null}let Kt=1;function Wn(e){Kt+=e}function ml(e){return e.dynamicChildren=Kt>0?be||ht:null,gl(),Kt>0&&be&&be.push(e),e}function _l(e,t,s,n,r,i){return ml(Ce(e,t,s,n,r,i,!0))}function Ws(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const As="__vInternal",ui=({key:e})=>e??null,rs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||le(e)||N(e)?{i:qe,r:e,k:t,f:!!s}:e:null);function Ce(e,t=null,s=null,n=0,r=null,i=e===Le?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ui(t),ref:t&&rs(t),scopeId:vs,slotScopeIds:null,children:s,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:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qe};return u?(bn(l,s),i&128&&e.normalize(l)):s&&(l.shapeFlag|=se(s)?8:16),Kt>0&&!o&&be&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&be.push(l),l}const ve=yl;function yl(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Yo)&&(e=$t),Ws(e)){const u=vt(e,t,!0);return s&&bn(u,s),Kt>0&&!i&&be&&(u.shapeFlag&6?be[be.indexOf(e)]=u:be.push(u)),u.patchFlag|=-2,u}if(Sl(e)&&(e=e.__vccOpts),t){t=bl(t);let{class:u,style:l}=t;u&&!se(u)&&(t.class=on(u)),X(l)&&(kr(l)&&!L(l)&&(l=te({},l)),t.style=rn(l))}const o=se(e)?1:Fo(e)?128:pl(e)?64:X(e)?4:N(e)?2:0;return Ce(e,t,s,n,r,o,i,!0)}function bl(e){return e?kr(e)||As in e?te({},e):e:null}function vt(e,t,s=!1){const{props:n,ref:r,patchFlag:i,children:o}=e,u=t?vl(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ui(u),ref:t&&t.ref?s&&r?L(r)?r.concat(rs(t)):[r,rs(t)]:rs(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!==Le?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&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qs(e=" ",t=0){return ve(Es,null,e,t)}function Te(e){return e==null||typeof e=="boolean"?ve($t):L(e)?ve(Le,null,e.slice()):typeof e=="object"?Qe(e):ve(Es,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function bn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(L(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),bn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!(As in t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:qe},s=32):(t=String(t),n&64?(s=16,t=[Qs(t)]):s=8);e.children=t,e.shapeFlag|=s}function vl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=on([t.class,n.class]));else if(r==="style")t.style=rn([t.style,n.style]);else if(ps(r)){const i=t[r],o=n[r];o&&i!==o&&!(L(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Oe(e,t,s,n=null){Ee(e,t,7,[s,n])}const wl=si();let El=0;function Al(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||wl,i={uid:El++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new xr(!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:ri(n,r),emitsOptions:Qr(n,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:n.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:s,suspenseId:s?s.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=So.bind(null,i),e.ce&&e.ce(i),i}let oe=null,vn,ft,Qn="__VUE_INSTANCE_SETTERS__";(ft=js()[Qn])||(ft=js()[Qn]=[]),ft.push(e=>oe=e),vn=e=>{ft.length>1?ft.forEach(t=>t(e)):ft[0](e)};const wt=e=>{vn(e),e.scope.on()},it=()=>{oe&&oe.scope.off(),vn(null)};function ai(e){return e.vnode.shapeFlag&4}let zt=!1;function xl(e,t=!1){zt=t;const{props:s,children:n}=e.vnode,r=ai(e);il(e,s,r,t),cl(e,n);const i=r?Pl(e,t):void 0;return zt=!1,i}function Pl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=pn(new Proxy(e.ctx,Vo));const{setup:n}=s;if(n){const r=e.setupContext=n.length>1?Il(e):null;wt(e),Pt();const i=Ye(n,e,0,[e.props,r]);if(Rt(),it(),wr(i)){if(i.then(it,it),t)return i.then(o=>{Jn(e,o,t)}).catch(o=>{ys(o,e,0)});e.asyncDep=i}else Jn(e,i,t)}else fi(e,t)}function Jn(e,t,s){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Br(t)),fi(e,s)}let Gn;function fi(e,t,s){const n=e.type;if(!e.render){if(!t&&Gn&&!n.render){const r=n.template||_n(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:l}=n,f=te(te({isCustomElement:i,delimiters:u},o),l);n.render=Gn(r,f)}}e.render=n.render||we}wt(e),Pt(),Xo(e),Rt(),it()}function Rl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,s){return de(e,"get","$attrs"),t[s]}}))}function Il(e){const t=s=>{e.exposed=s||{}};return{get attrs(){return Rl(e)},slots:e.slots,emit:e.emit,expose:t}}function wn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Br(pn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in jt)return jt[s](e)},has(t,s){return s in t||s in jt}}))}function Sl(e){return N(e)&&"__vccOpts"in e}const ye=(e,t)=>Eo(e,t,zt);function di(e,t,s){const n=arguments.length;return n===2?X(t)&&!L(t)?Ws(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ws(s)&&(s=[s]),ve(e,t,s))}const Ol=Symbol.for("v-scx"),Cl=()=>Ne(Ol),Tl="3.3.4",Ml="http://www.w3.org/2000/svg",nt=typeof document<"u"?document:null,Yn=nt&&nt.createElement("template"),ql={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t?nt.createElementNS(Ml,e):nt.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Yn.innerHTML=n?`<svg>${e}</svg>`:e;const u=Yn.content;if(n){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}t.insertBefore(u,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function Hl(e,t,s){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function jl(e,t,s){const n=e.style,r=se(s);if(s&&!r){if(t&&!se(t))for(const i in t)s[i]==null&&Js(n,i,"");for(const i in s)Js(n,i,s[i])}else{const i=n.display;r?t!==s&&(n.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=i)}}const Vn=/\s*!important$/;function Js(e,t,s){if(L(s))s.forEach(n=>Js(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Fl(e,t);Vn.test(s)?e.setProperty(xt(n),s.replace(Vn,""),"important"):e[n]=s}}const Xn=["Webkit","Moz","ms"],Cs={};function Fl(e,t){const s=Cs[t];if(s)return s;let n=yt(t);if(n!=="filter"&&n in e)return Cs[t]=n;n=Er(n);for(let r=0;r<Xn.length;r++){const i=Xn[r]+n;if(i in e)return Cs[t]=i}return t}const Zn="http://www.w3.org/1999/xlink";function kl(e,t,s,n,r){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(Zn,t.slice(6,t.length)):e.setAttributeNS(Zn,t,s);else{const i=Bi(t);s==null||i&&!Ar(s)?e.removeAttribute(t):e.setAttribute(t,i?"":s)}}function Ll(e,t,s,n,r,i,o){if(t==="innerHTML"||t==="textContent"){n&&o(n,r,i),e[t]=s??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=s;const f=u==="OPTION"?e.getAttribute("value"):e.value,d=s??"";f!==d&&(e.value=d),s==null&&e.removeAttribute(t);return}let l=!1;if(s===""||s==null){const f=typeof e[t];f==="boolean"?s=Ar(s):s==null&&f==="string"?(s="",l=!0):f==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(t)}function Nl(e,t,s,n){e.addEventListener(t,s,n)}function Ul(e,t,s,n){e.removeEventListener(t,s,n)}function Bl(e,t,s,n,r=null){const i=e._vei||(e._vei={}),o=i[t];if(n&&o)o.value=n;else{const[u,l]=Dl(t);if(n){const f=i[t]=zl(n,r);Nl(e,u,f,l)}else o&&(Ul(e,u,o,l),i[t]=void 0)}}const er=/(?:Once|Passive|Capture)$/;function Dl(e){let t;if(er.test(e)){t={};let n;for(;n=e.match(er);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xt(e.slice(2)),t]}let Ts=0;const $l=Promise.resolve(),Kl=()=>Ts||($l.then(()=>Ts=0),Ts=Date.now());function zl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ee(Wl(n,s.value),t,5,[n])};return s.value=e,s.attached=Kl(),s}function Wl(e,t){if(L(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const tr=/^on[a-z]/,Ql=(e,t,s,n,r=!1,i,o,u,l)=>{t==="class"?Hl(e,n,r):t==="style"?jl(e,s,n):ps(t)?en(t)||Bl(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jl(e,t,n,r))?Ll(e,t,n,i,o,u,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),kl(e,t,n,r))};function Jl(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&tr.test(t)&&N(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||tr.test(t)&&se(s)?!1:t in e}const Gl=te({patchProp:Ql},ql);let sr;function Yl(){return sr||(sr=al(Gl))}const Vl=(...e)=>{const t=Yl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Xl(n);if(!r)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=s(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Xl(e){return se(e)?document.querySelector(e):e}var Zl=!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"]'))n(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"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(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 n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();function Zs(e,t){const s=Object.create(null),n=e.split(",");for(let r=0;r<n.length;r++)s[n[r]]=!0;return t?r=>!!s[r.toLowerCase()]:r=>!!s[r]}const V={},ht=[],we=()=>{},Ri=()=>!1,Ii=/^on[^a-z]/,ps=e=>Ii.test(e),en=e=>e.startsWith("onUpdate:"),te=Object.assign,tn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Si=Object.prototype.hasOwnProperty,B=(e,t)=>Si.call(e,t),L=Array.isArray,Ht=e=>hs(e)==="[object Map]",Oi=e=>hs(e)==="[object Set]",N=e=>typeof e=="function",se=e=>typeof e=="string",sn=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",wr=e=>X(e)&&N(e.then)&&N(e.catch),Ci=Object.prototype.toString,hs=e=>Ci.call(e),Ti=e=>hs(e).slice(8,-1),Mi=e=>hs(e)==="[object Object]",nn=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,es=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gs=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},qi=/-(\w)/g,yt=gs(e=>e.replace(qi,(t,s)=>s?s.toUpperCase():"")),Hi=/\B([A-Z])/g,xt=gs(e=>e.replace(Hi,"-$1").toLowerCase()),Er=gs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ps=gs(e=>e?`on${Er(e)}`:""),Nt=(e,t)=>!Object.is(e,t),Rs=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},os=(e,t,s)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:s})},ji=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Sn;const js=()=>Sn||(Sn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rn(e){if(L(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=se(n)?Ni(n):rn(n);if(r)for(const i in r)t[i]=r[i]}return t}else{if(se(e))return e;if(X(e))return e}}const Fi=/;(?![^(]*\))/g,ki=/:([^]+)/,Li=/\/\*[^]*?\*\//g;function Ni(e){const t={};return e.replace(Li,"").split(Fi).forEach(s=>{if(s){const n=s.split(ki);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function on(e){let t="";if(se(e))t=e;else if(L(e))for(let s=0;s<e.length;s++){const n=on(e[s]);n&&(t+=n+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ui="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bi=Zs(Ui);function Ar(e){return!!e||e===""}let me;class xr{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=me,!t&&me&&(this.index=(me.scopes||(me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const s=me;try{return me=this,t()}finally{me=s}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.scopes)for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].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 Di(e){return new xr(e)}function $i(e,t=me){t&&t.active&&t.effects.push(e)}function Ki(){return me}const ln=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pr=e=>(e.w&Xe)>0,Rr=e=>(e.n&Xe)>0,zi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Xe},Wi=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const r=t[n];Pr(r)&&!Rr(r)?r.delete(e):t[s++]=r,r.w&=~Xe,r.n&=~Xe}t.length=s}},Fs=new WeakMap;let Mt=0,Xe=1;const ks=30;let _e;const rt=Symbol(""),Ls=Symbol("");class cn{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,$i(this,n)}run(){if(!this.active)return this.fn();let t=_e,s=Ye;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=_e,_e=this,Ye=!0,Xe=1<<++Mt,Mt<=ks?zi(this):On(this),this.fn()}finally{Mt<=ks&&Wi(this),Xe=1<<--Mt,_e=this.parent,Ye=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){_e===this?this.deferStop=!0:this.active&&(On(this),this.onStop&&this.onStop(),this.active=!1)}}function On(e){const{deps:t}=e;if(t.length){for(let s=0;s<t.length;s++)t[s].delete(e);t.length=0}}let Ye=!0;const Ir=[];function Pt(){Ir.push(Ye),Ye=!1}function Rt(){const e=Ir.pop();Ye=e===void 0?!0:e}function de(e,t,s){if(Ye&&_e){let n=Fs.get(e);n||Fs.set(e,n=new Map);let r=n.get(s);r||n.set(s,r=ln()),Sr(r)}}function Sr(e,t){let s=!1;Mt<=ks?Rr(e)||(e.n|=Xe,s=!Pr(e)):s=!e.has(_e),s&&(e.add(_e),_e.deps.push(e))}function Ue(e,t,s,n,r,i){const o=Fs.get(e);if(!o)return;let u=[];if(t==="clear")u=[...o.values()];else if(s==="length"&&L(e)){const l=Number(n);o.forEach((f,d)=>{(d==="length"||d>=l)&&u.push(f)})}else switch(s!==void 0&&u.push(o.get(s)),t){case"add":L(e)?nn(s)&&u.push(o.get("length")):(u.push(o.get(rt)),Ht(e)&&u.push(o.get(Ls)));break;case"delete":L(e)||(u.push(o.get(rt)),Ht(e)&&u.push(o.get(Ls)));break;case"set":Ht(e)&&u.push(o.get(rt));break}if(u.length===1)u[0]&&Ns(u[0]);else{const l=[];for(const f of u)f&&l.push(...f);Ns(ln(l))}}function Ns(e,t){const s=L(e)?e:[...e];for(const n of s)n.computed&&Cn(n);for(const n of s)n.computed||Cn(n)}function Cn(e,t){(e!==_e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Qi=Zs("__proto__,__v_isRef,__isVue"),Or=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn)),Ji=un(),Gi=un(!1,!0),Yi=un(!0),Tn=Vi();function Vi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=K(this);for(let i=0,o=this.length;i<o;i++)de(n,"get",i+"");const r=n[t](...s);return r===-1||r===!1?n[t](...s.map(K)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){Pt();const n=K(this)[t].apply(this,s);return Rt(),n}}),e}function Xi(e){const t=K(this);return de(t,"has",e),t.hasOwnProperty(e)}function un(e=!1,t=!1){return function(n,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?go:Hr:t?qr:Mr).get(n))return n;const o=L(n);if(!e){if(o&&B(Tn,r))return Reflect.get(Tn,r,i);if(r==="hasOwnProperty")return Xi}const u=Reflect.get(n,r,i);return(sn(r)?Or.has(r):Qi(r))||(e||de(n,"get",r),t)?u:le(u)?o&&nn(r)?u:u.value:X(u)?e?Fr(u):_s(u):u}}const Zi=Cr(),eo=Cr(!0);function Cr(e=!1){return function(s,n,r,i){let o=s[n];if(bt(o)&&le(o)&&!le(r))return!1;if(!e&&(!ls(r)&&!bt(r)&&(o=K(o),r=K(r)),!L(s)&&le(o)&&!le(r)))return o.value=r,!0;const u=L(s)&&nn(n)?Number(n)<s.length:B(s,n),l=Reflect.set(s,n,r,i);return s===K(i)&&(u?Nt(r,o)&&Ue(s,"set",n,r):Ue(s,"add",n,r)),l}}function to(e,t){const s=B(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Ue(e,"delete",t,void 0),n}function so(e,t){const s=Reflect.has(e,t);return(!sn(t)||!Or.has(t))&&de(e,"has",t),s}function no(e){return de(e,"iterate",L(e)?"length":rt),Reflect.ownKeys(e)}const Tr={get:Ji,set:Zi,deleteProperty:to,has:so,ownKeys:no},ro={get:Yi,set(e,t){return!0},deleteProperty(e,t){return!0}},io=te({},Tr,{get:Gi,set:eo}),an=e=>e,ms=e=>Reflect.getPrototypeOf(e);function Jt(e,t,s=!1,n=!1){e=e.__v_raw;const r=K(e),i=K(t);s||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=ms(r),u=n?an:s?hn:Ut;if(o.call(r,t))return u(e.get(t));if(o.call(r,i))return u(e.get(i));e!==r&&e.get(t)}function Gt(e,t=!1){const s=this.__v_raw,n=K(s),r=K(e);return t||(e!==r&&de(n,"has",e),de(n,"has",r)),e===r?s.has(e):s.has(e)||s.has(r)}function Yt(e,t=!1){return e=e.__v_raw,!t&&de(K(e),"iterate",rt),Reflect.get(e,"size",e)}function Mn(e){e=K(e);const t=K(this);return ms(t).has.call(t,e)||(t.add(e),Ue(t,"add",e,e)),this}function qn(e,t){t=K(t);const s=K(this),{has:n,get:r}=ms(s);let i=n.call(s,e);i||(e=K(e),i=n.call(s,e));const o=r.call(s,e);return s.set(e,t),i?Nt(t,o)&&Ue(s,"set",e,t):Ue(s,"add",e,t),this}function Hn(e){const t=K(this),{has:s,get:n}=ms(t);let r=s.call(t,e);r||(e=K(e),r=s.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return r&&Ue(t,"delete",e,void 0),i}function jn(){const e=K(this),t=e.size!==0,s=e.clear();return t&&Ue(e,"clear",void 0,void 0),s}function Vt(e,t){return function(n,r){const i=this,o=i.__v_raw,u=K(o),l=t?an:e?hn:Ut;return!e&&de(u,"iterate",rt),o.forEach((f,d)=>n.call(r,l(f),l(d),i))}}function Xt(e,t,s){return function(...n){const r=this.__v_raw,i=K(r),o=Ht(i),u=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...n),d=s?an:t?hn:Ut;return!t&&de(i,"iterate",l?Ls:rt),{next(){const{value:h,done:g}=f.next();return g?{value:h,done:g}:{value:u?[d(h[0]),d(h[1])]:d(h),done:g}},[Symbol.iterator](){return this}}}}function ze(e){return function(...t){return e==="delete"?!1:this}}function oo(){const e={get(i){return Jt(this,i)},get size(){return Yt(this)},has:Gt,add:Mn,set:qn,delete:Hn,clear:jn,forEach:Vt(!1,!1)},t={get(i){return Jt(this,i,!1,!0)},get size(){return Yt(this)},has:Gt,add:Mn,set:qn,delete:Hn,clear:jn,forEach:Vt(!1,!0)},s={get(i){return Jt(this,i,!0)},get size(){return Yt(this,!0)},has(i){return Gt.call(this,i,!0)},add:ze("add"),set:ze("set"),delete:ze("delete"),clear:ze("clear"),forEach:Vt(!0,!1)},n={get(i){return Jt(this,i,!0,!0)},get size(){return Yt(this,!0)},has(i){return Gt.call(this,i,!0)},add:ze("add"),set:ze("set"),delete:ze("delete"),clear:ze("clear"),forEach:Vt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Xt(i,!1,!1),s[i]=Xt(i,!0,!1),t[i]=Xt(i,!1,!0),n[i]=Xt(i,!0,!0)}),[e,s,t,n]}const[lo,co,uo,ao]=oo();function fn(e,t){const s=t?e?ao:uo:e?co:lo;return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(B(s,r)&&r in n?s:n,r,i)}const fo={get:fn(!1,!1)},po={get:fn(!1,!0)},ho={get:fn(!0,!1)},Mr=new WeakMap,qr=new WeakMap,Hr=new WeakMap,go=new WeakMap;function mo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _o(e){return e.__v_skip||!Object.isExtensible(e)?0:mo(Ti(e))}function _s(e){return bt(e)?e:dn(e,!1,Tr,fo,Mr)}function jr(e){return dn(e,!1,io,po,qr)}function Fr(e){return dn(e,!0,ro,ho,Hr)}function dn(e,t,s,n,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=_o(e);if(o===0)return e;const u=new Proxy(e,o===2?n:s);return r.set(e,u),u}function gt(e){return bt(e)?gt(e.__v_raw):!!(e&&e.__v_isReactive)}function bt(e){return!!(e&&e.__v_isReadonly)}function ls(e){return!!(e&&e.__v_isShallow)}function kr(e){return gt(e)||bt(e)}function K(e){const t=e&&e.__v_raw;return t?K(t):e}function pn(e){return os(e,"__v_skip",!0),e}const Ut=e=>X(e)?_s(e):e,hn=e=>X(e)?Fr(e):e;function Lr(e){Ye&&_e&&(e=K(e),Sr(e.dep||(e.dep=ln())))}function Nr(e,t){e=K(e);const s=e.dep;s&&Ns(s)}function le(e){return!!(e&&e.__v_isRef===!0)}function cs(e){return Ur(e,!1)}function yo(e){return Ur(e,!0)}function Ur(e,t){return le(e)?e:new bo(e,t)}class bo{constructor(t,s){this.__v_isShallow=s,this.dep=void 0,this.__v_isRef=!0,this._rawValue=s?t:K(t),this._value=s?t:Ut(t)}get value(){return Lr(this),this._value}set value(t){const s=this.__v_isShallow||ls(t)||bt(t);t=s?t:K(t),Nt(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:Ut(t),Nr(this))}}function mt(e){return le(e)?e.value:e}const vo={get:(e,t,s)=>mt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return le(r)&&!le(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Br(e){return gt(e)?e:new Proxy(e,vo)}class wo{constructor(t,s,n,r){this._setter=s,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cn(t,()=>{this._dirty||(this._dirty=!0,Nr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=K(this);return Lr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Eo(e,t,s=!1){let n,r;const i=N(e);return i?(n=e,r=we):(n=e.get,r=e.set),new wo(n,r,i||!r,s)}function Ve(e,t,s,n){let r;try{r=n?e(...n):e()}catch(i){ys(i,t,s)}return r}function Ee(e,t,s,n){if(N(e)){const i=Ve(e,t,s,n);return i&&wr(i)&&i.catch(o=>{ys(o,t,s)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,s,n));return r}function ys(e,t,s,n=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,u=s;for(;i;){const f=i.ec;if(f){for(let d=0;d<f.length;d++)if(f[d](e,o,u)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Ve(l,null,10,[e,o,u]);return}}Ao(e,s,r,n)}function Ao(e,t,s,n=!0){console.error(e)}let Bt=!1,Us=!1;const ie=[];let Me=0;const _t=[];let ke=null,st=0;const Dr=Promise.resolve();let gn=null;function $r(e){const t=gn||Dr;return e?t.then(this?e.bind(this):e):t}function xo(e){let t=Me+1,s=ie.length;for(;t<s;){const n=t+s>>>1;Dt(ie[n])<e?t=n+1:s=n}return t}function mn(e){(!ie.length||!ie.includes(e,Bt&&e.allowRecurse?Me+1:Me))&&(e.id==null?ie.push(e):ie.splice(xo(e.id),0,e),Kr())}function Kr(){!Bt&&!Us&&(Us=!0,gn=Dr.then(Wr))}function Po(e){const t=ie.indexOf(e);t>Me&&ie.splice(t,1)}function Ro(e){L(e)?_t.push(...e):(!ke||!ke.includes(e,e.allowRecurse?st+1:st))&&_t.push(e),Kr()}function Fn(e,t=Bt?Me+1:0){for(;t<ie.length;t++){const s=ie[t];s&&s.pre&&(ie.splice(t,1),t--,s())}}function zr(e){if(_t.length){const t=[...new Set(_t)];if(_t.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((s,n)=>Dt(s)-Dt(n)),st=0;st<ke.length;st++)ke[st]();ke=null,st=0}}const Dt=e=>e.id==null?1/0:e.id,Io=(e,t)=>{const s=Dt(e)-Dt(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Wr(e){Us=!1,Bt=!0,ie.sort(Io);const t=we;try{for(Me=0;Me<ie.length;Me++){const s=ie[Me];s&&s.active!==!1&&Ve(s,null,14)}}finally{Me=0,ie.length=0,zr(),Bt=!1,gn=null,(ie.length||_t.length)&&Wr()}}function So(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||V;let r=s;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in n){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:h,trim:g}=n[d]||V;g&&(r=s.map(w=>se(w)?w.trim():w)),h&&(r=s.map(ji))}let u,l=n[u=Ps(t)]||n[u=Ps(yt(t))];!l&&i&&(l=n[u=Ps(xt(t))]),l&&Ee(l,e,6,r);const f=n[u+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[u])return;e.emitted[u]=!0,Ee(f,e,6,r)}}function Qr(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},u=!1;if(!N(e)){const l=f=>{const d=Qr(f,t,!0);d&&(u=!0,te(o,d))};!s&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!u?(X(e)&&n.set(e,null),null):(L(i)?i.forEach(l=>o[l]=null):te(o,i),X(e)&&n.set(e,o),o)}function bs(e,t){return!e||!ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,xt(t))||B(e,t))}let qe=null,vs=null;function us(e){const t=qe;return qe=e,vs=e&&e.type.__scopeId||null,t}function Oo(e){vs=e}function Co(){vs=null}function To(e,t=qe,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Wn(-1);const i=us(t);let o;try{o=e(...r)}finally{us(i),n._d&&Wn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Is(e){const{type:t,vnode:s,proxy:n,withProxy:r,props:i,propsOptions:[o],slots:u,attrs:l,emit:f,render:d,renderCache:h,data:g,setupState:w,ctx:S,inheritAttrs:C}=e;let k,q;const H=us(e);try{if(s.shapeFlag&4){const j=r||n;k=Te(d.call(j,j,h,i,w,g,S)),q=l}else{const j=t;k=Te(j.length>1?j(i,{attrs:l,slots:u,emit:f}):j(i,null)),q=t.props?l:Mo(l)}}catch(j){Ft.length=0,ys(j,e,1),k=ve($t)}let $=k;if(q&&C!==!1){const j=Object.keys(q),{shapeFlag:ne}=$;j.length&&ne&7&&(o&&j.some(en)&&(q=qo(q,o)),$=vt($,q))}return s.dirs&&($=vt($),$.dirs=$.dirs?$.dirs.concat(s.dirs):s.dirs),s.transition&&($.transition=s.transition),k=$,us(H),k}const Mo=e=>{let t;for(const s in e)(s==="class"||s==="style"||ps(s))&&((t||(t={}))[s]=e[s]);return t},qo=(e,t)=>{const s={};for(const n in e)(!en(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Ho(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:u,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&l>=0){if(l&1024)return!0;if(l&16)return n?kn(n,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]!==n[g]&&!bs(f,g))return!0}}}else return(r||u)&&(!u||!u.$stable)?!0:n===o?!1:n?o?kn(n,o,f):!0:!!o;return!1}function kn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(t[i]!==e[i]&&!bs(s,i))return!0}return!1}function jo({vnode:e,parent:t},s){for(;t&&t.subTree===e;)(e=t.vnode).el=s,t=t.parent}const Fo=e=>e.__isSuspense;function ko(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}const Zt={};function ts(e,t,s){return Jr(e,t,s)}function Jr(e,t,{immediate:s,deep:n,flush:r,onTrack:i,onTrigger:o}=V){var u;const l=Ki()===((u=oe)==null?void 0:u.scope)?oe:null;let f,d=!1,h=!1;if(le(e)?(f=()=>e.value,d=ls(e)):gt(e)?(f=()=>e,n=!0):L(e)?(h=!0,d=e.some(j=>gt(j)||ls(j)),f=()=>e.map(j=>{if(le(j))return j.value;if(gt(j))return pt(j);if(N(j))return Ve(j,l,2)})):N(e)?t?f=()=>Ve(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[w])}:f=we,t&&n){const j=f;f=()=>pt(j())}let g,w=j=>{g=H.onStop=()=>{Ve(j,l,4)}},S;if(zt)if(w=we,t?s&&Ee(t,l,3,[f(),h?[]:void 0,w]):f(),r==="sync"){const j=Cl();S=j.__watcherHandles||(j.__watcherHandles=[])}else return we;let C=h?new Array(e.length).fill(Zt):Zt;const k=()=>{if(H.active)if(t){const j=H.run();(n||d||(h?j.some((ne,ce)=>Nt(ne,C[ce])):Nt(j,C)))&&(g&&g(),Ee(t,l,3,[j,C===Zt?void 0:h&&C[0]===Zt?[]:C,w]),C=j)}else H.run()};k.allowRecurse=!!t;let q;r==="sync"?q=k:r==="post"?q=()=>fe(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),q=()=>mn(k));const H=new cn(f,q);t?s?k():C=H.run():r==="post"?fe(H.run.bind(H),l&&l.suspense):H.run();const $=()=>{H.stop(),l&&l.scope&&tn(l.scope.effects,H)};return S&&S.push($),$}function Lo(e,t,s){const n=this.proxy,r=se(e)?e.includes(".")?Gr(n,e):()=>n[e]:e.bind(n,n);let i;N(t)?i=t:(i=t.handler,s=t);const o=oe;wt(this);const u=Jr(r,i.bind(n),s);return o?wt(o):it(),u}function Gr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}function pt(e,t){if(!X(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))pt(e.value,t);else if(L(e))for(let s=0;s<e.length;s++)pt(e[s],t);else if(Oi(e)||Ht(e))e.forEach(s=>{pt(s,t)});else if(Mi(e))for(const s in e)pt(e[s],t);return e}function et(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const u=r[o];i&&(u.oldValue=i[o].value);let l=u.dir[n];l&&(Pt(),Ee(l,s,8,[e.el,u,e,t]),Rt())}}function Yr(e,t){return N(e)?(()=>te({name:e.name},t,{setup:e}))():e}const ss=e=>!!e.type.__asyncLoader,Vr=e=>e.type.__isKeepAlive;function No(e,t){Xr(e,"a",t)}function Uo(e,t){Xr(e,"da",t)}function Xr(e,t,s=oe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ws(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Vr(r.parent.vnode)&&Bo(n,t,s,r),r=r.parent}}function Bo(e,t,s,n){const r=ws(t,e,n,!0);ei(()=>{tn(n[t],r)},s)}function ws(e,t,s=oe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;Pt(),wt(s);const u=Ee(t,s,e,o);return it(),Rt(),u});return n?r.unshift(i):r.push(i),i}}const Be=e=>(t,s=oe)=>(!zt||e==="sp")&&ws(e,(...n)=>t(...n),s),Do=Be("bm"),Zr=Be("m"),$o=Be("bu"),Ko=Be("u"),zo=Be("bum"),ei=Be("um"),Wo=Be("sp"),Qo=Be("rtg"),Jo=Be("rtc");function Go(e,t=oe){ws("ec",e,t)}const Yo=Symbol.for("v-ndc"),Bs=e=>e?ai(e)?wn(e)||e.proxy:Bs(e.parent):null,jt=te(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=>Bs(e.parent),$root:e=>Bs(e.root),$emit:e=>e.emit,$options:e=>_n(e),$forceUpdate:e=>e.f||(e.f=()=>mn(e.update)),$nextTick:e=>e.n||(e.n=$r.bind(e.proxy)),$watch:e=>Lo.bind(e)}),Ss=(e,t)=>e!==V&&!e.__isScriptSetup&&B(e,t),Vo={get({_:e},t){const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:u,appContext:l}=e;let f;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Ss(n,t))return o[t]=1,n[t];if(r!==V&&B(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&B(f,t))return o[t]=3,i[t];if(s!==V&&B(s,t))return o[t]=4,s[t];Ds&&(o[t]=0)}}const d=jt[t];let h,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((h=u.__cssModules)&&(h=h[t]))return h;if(s!==V&&B(s,t))return o[t]=4,s[t];if(g=l.config.globalProperties,B(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Ss(r,t)?(r[t]=s,!0):n!==V&&B(n,t)?(n[t]=s,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let u;return!!s[o]||e!==V&&B(e,o)||Ss(t,o)||(u=i[0])&&B(u,o)||B(n,o)||B(jt,o)||B(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:B(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Ln(e){return L(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ds=!0;function Xo(e){const t=_n(e),s=e.proxy,n=e.ctx;Ds=!1,t.beforeCreate&&Nn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:u,provide:l,inject:f,created:d,beforeMount:h,mounted:g,beforeUpdate:w,updated:S,activated:C,deactivated:k,beforeDestroy:q,beforeUnmount:H,destroyed:$,unmounted:j,render:ne,renderTracked:ce,renderTriggered:xe,errorCaptured:He,serverPrefetch:ot,expose:Pe,inheritAttrs:$e,components:Ze,directives:Re,filters:It}=t;if(f&&Zo(f,n,null),o)for(const G in o){const z=o[G];N(z)&&(n[G]=z.bind(s))}if(r){const G=r.call(s,s);X(G)&&(e.data=_s(G))}if(Ds=!0,i)for(const G in i){const z=i[G],je=N(z)?z.bind(s,s):N(z.get)?z.get.bind(s,s):we,Ke=!N(z)&&N(z.set)?z.set.bind(s):we,Ie=ye({get:je,set:Ke});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>Ie.value,set:ae=>Ie.value=ae})}if(u)for(const G in u)ti(u[G],n,s,G);if(l){const G=N(l)?l.call(s):l;Reflect.ownKeys(G).forEach(z=>{ns(z,G[z])})}d&&Nn(d,e,"c");function ee(G,z){L(z)?z.forEach(je=>G(je.bind(s))):z&&G(z.bind(s))}if(ee(Do,h),ee(Zr,g),ee($o,w),ee(Ko,S),ee(No,C),ee(Uo,k),ee(Go,He),ee(Jo,ce),ee(Qo,xe),ee(zo,H),ee(ei,j),ee(Wo,ot),L(Pe))if(Pe.length){const G=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(G,z,{get:()=>s[z],set:je=>s[z]=je})})}else e.exposed||(e.exposed={});ne&&e.render===we&&(e.render=ne),$e!=null&&(e.inheritAttrs=$e),Ze&&(e.components=Ze),Re&&(e.directives=Re)}function Zo(e,t,s=we){L(e)&&(e=$s(e));for(const n in e){const r=e[n];let i;X(r)?"default"in r?i=Ne(r.from||n,r.default,!0):i=Ne(r.from||n):i=Ne(r),le(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function Nn(e,t,s){Ee(L(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ti(e,t,s,n){const r=n.includes(".")?Gr(s,n):()=>s[n];if(se(e)){const i=t[e];N(i)&&ts(r,i)}else if(N(e))ts(r,e.bind(s));else if(X(e))if(L(e))e.forEach(i=>ti(i,t,s,n));else{const i=N(e.handler)?e.handler.bind(s):t[e.handler];N(i)&&ts(r,i,e)}}function _n(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,u=i.get(t);let l;return u?l=u:!r.length&&!s&&!n?l=t:(l={},r.length&&r.forEach(f=>as(l,f,o,!0)),as(l,t,o)),X(t)&&i.set(t,l),l}function as(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&as(e,i,s,!0),r&&r.forEach(o=>as(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const u=el[o]||s&&s[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const el={data:Un,props:Bn,emits:Bn,methods:qt,computed:qt,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:qt,directives:qt,watch:sl,provide:Un,inject:tl};function Un(e,t){return t?e?function(){return te(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function tl(e,t){return qt($s(e),$s(t))}function $s(e){if(L(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function qt(e,t){return e?te(Object.create(null),e,t):t}function Bn(e,t){return e?L(e)&&L(t)?[...new Set([...e,...t])]:te(Object.create(null),Ln(e),Ln(t??{})):t}function sl(e,t){if(!e)return t;if(!t)return e;const s=te(Object.create(null),e);for(const n in t)s[n]=ue(e[n],t[n]);return s}function si(){return{app:null,config:{isNativeTag:Ri,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 nl=0;function rl(e,t){return function(n,r=null){N(n)||(n=te({},n)),r!=null&&!X(r)&&(r=null);const i=si(),o=new Set;let u=!1;const l=i.app={_uid:nl++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Tl,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(!u){const g=ve(n,r);return g.appContext=i,d&&t?t(g,f):e(g,f,h),u=!0,l._container=f,f.__vue_app__=l,wn(g.component)||g.component.proxy}},unmount(){u&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,d){return i.provides[f]=d,l},runWithContext(f){fs=l;try{return f()}finally{fs=null}}};return l}}let fs=null;function ns(e,t){if(oe){let s=oe.provides;const n=oe.parent&&oe.parent.provides;n===s&&(s=oe.provides=Object.create(n)),s[e]=t}}function Ne(e,t,s=!1){const n=oe||qe;if(n||fs){const r=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:fs._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return s&&N(t)?t.call(n&&n.proxy):t}}function il(e,t,s,n=!1){const r={},i={};os(i,As,1),e.propsDefaults=Object.create(null),ni(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:jr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ol(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,u=K(r),[l]=e.propsOptions;let f=!1;if((n||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(bs(e.emitsOptions,g))continue;const w=t[g];if(l)if(B(i,g))w!==i[g]&&(i[g]=w,f=!0);else{const S=yt(g);r[S]=Ks(l,u,S,w,e,!1)}else w!==i[g]&&(i[g]=w,f=!0)}}}else{ni(e,t,r,i)&&(f=!0);let d;for(const h in u)(!t||!B(t,h)&&((d=xt(h))===h||!B(t,d)))&&(l?s&&(s[h]!==void 0||s[d]!==void 0)&&(r[h]=Ks(l,u,h,void 0,e,!0)):delete r[h]);if(i!==u)for(const h in i)(!t||!B(t,h))&&(delete i[h],f=!0)}f&&Ue(e,"set","$attrs")}function ni(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,u;if(t)for(let l in t){if(es(l))continue;const f=t[l];let d;r&&B(r,d=yt(l))?!i||!i.includes(d)?s[d]=f:(u||(u={}))[d]=f:bs(e.emitsOptions,l)||(!(l in n)||f!==n[l])&&(n[l]=f,o=!0)}if(i){const l=K(s),f=u||V;for(let d=0;d<i.length;d++){const h=i[d];s[h]=Ks(r,l,h,f[h],e,!B(f,h))}}return o}function Ks(e,t,s,n,r,i){const o=e[s];if(o!=null){const u=B(o,"default");if(u&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&N(l)){const{propsDefaults:f}=r;s in f?n=f[s]:(wt(r),n=f[s]=l.call(null,t),it())}else n=l}o[0]&&(i&&!u?n=!1:o[1]&&(n===""||n===xt(s))&&(n=!0))}return n}function ri(e,t,s=!1){const n=t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},u=[];let l=!1;if(!N(e)){const d=h=>{l=!0;const[g,w]=ri(h,t,!0);te(o,g),w&&u.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return X(e)&&n.set(e,ht),ht;if(L(i))for(let d=0;d<i.length;d++){const h=yt(i[d]);Dn(h)&&(o[h]=V)}else if(i)for(const d in i){const h=yt(d);if(Dn(h)){const g=i[d],w=o[h]=L(g)||N(g)?{type:g}:te({},g);if(w){const S=zn(Boolean,w.type),C=zn(String,w.type);w[0]=S>-1,w[1]=C<0||S<C,(S>-1||B(w,"default"))&&u.push(h)}}}const f=[o,u];return X(e)&&n.set(e,f),f}function Dn(e){return e[0]!=="$"}function $n(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Kn(e,t){return $n(e)===$n(t)}function zn(e,t){return L(t)?t.findIndex(s=>Kn(s,e)):N(t)&&Kn(t,e)?0:-1}const ii=e=>e[0]==="_"||e==="$stable",yn=e=>L(e)?e.map(Te):[Te(e)],ll=(e,t,s)=>{if(t._n)return t;const n=To((...r)=>yn(t(...r)),s);return n._c=!1,n},oi=(e,t,s)=>{const n=e._ctx;for(const r in e){if(ii(r))continue;const i=e[r];if(N(i))t[r]=ll(r,i,n);else if(i!=null){const o=yn(i);t[r]=()=>o}}},li=(e,t)=>{const s=yn(t);e.slots.default=()=>s},cl=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=K(t),os(t,"_",s)):oi(t,e.slots={})}else e.slots={},t&&li(e,t);os(e.slots,As,1)},ul=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=V;if(n.shapeFlag&32){const u=t._;u?s&&u===1?i=!1:(te(r,t),!s&&u===1&&delete r._):(i=!t.$stable,oi(t,r)),o=t}else t&&(li(e,t),o={default:1});if(i)for(const u in r)!ii(u)&&!(u in o)&&delete r[u]};function zs(e,t,s,n,r=!1){if(L(e)){e.forEach((g,w)=>zs(g,t&&(L(t)?t[w]:t),s,n,r));return}if(ss(n)&&!r)return;const i=n.shapeFlag&4?wn(n.component)||n.component.proxy:n.el,o=r?null:i,{i:u,r:l}=e,f=t&&t.r,d=u.refs===V?u.refs={}:u.refs,h=u.setupState;if(f!=null&&f!==l&&(se(f)?(d[f]=null,B(h,f)&&(h[f]=null)):le(f)&&(f.value=null)),N(l))Ve(l,u,12,[o,d]);else{const g=se(l),w=le(l);if(g||w){const S=()=>{if(e.f){const C=g?B(h,l)?h[l]:d[l]:l.value;r?L(C)&&tn(C,i):L(C)?C.includes(i)||C.push(i):g?(d[l]=[i],B(h,l)&&(h[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,B(h,l)&&(h[l]=o)):w&&(l.value=o,e.k&&(d[e.k]=o))};o?(S.id=-1,fe(S,s)):S()}}}const fe=ko;function al(e){return fl(e)}function fl(e,t){const s=js();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:u,createComment:l,setText:f,setElementText:d,parentNode:h,nextSibling:g,setScopeId:w=we,insertStaticContent:S}=e,C=(c,a,p,m=null,y=null,b=null,P=!1,E=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!Ot(c,a)&&(m=_(c),ae(c,y,b,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:v,ref:T,shapeFlag:I}=a;switch(v){case Es:k(c,a,p,m);break;case $t:q(c,a,p,m);break;case Os:c==null&&H(a,p,m,P);break;case Le:Ze(c,a,p,m,y,b,P,E,A);break;default:I&1?ne(c,a,p,m,y,b,P,E,A):I&6?Re(c,a,p,m,y,b,P,E,A):(I&64||I&128)&&v.process(c,a,p,m,y,b,P,E,A,x)}T!=null&&y&&zs(T,c&&c.ref,b,a||c,!a)},k=(c,a,p,m)=>{if(c==null)n(a.el=u(a.children),p,m);else{const y=a.el=c.el;a.children!==c.children&&f(y,a.children)}},q=(c,a,p,m)=>{c==null?n(a.el=l(a.children||""),p,m):a.el=c.el},H=(c,a,p,m)=>{[c.el,c.anchor]=S(c.children,a,p,m,c.el,c.anchor)},$=({el:c,anchor:a},p,m)=>{let y;for(;c&&c!==a;)y=g(c),n(c,p,m),c=y;n(a,p,m)},j=({el:c,anchor:a})=>{let p;for(;c&&c!==a;)p=g(c),r(c),c=p;r(a)},ne=(c,a,p,m,y,b,P,E,A)=>{P=P||a.type==="svg",c==null?ce(a,p,m,y,b,P,E,A):ot(c,a,y,b,P,E,A)},ce=(c,a,p,m,y,b,P,E)=>{let A,v;const{type:T,props:I,shapeFlag:M,transition:F,dirs:U}=c;if(A=c.el=o(c.type,b,I&&I.is,I),M&8?d(A,c.children):M&16&&He(c.children,A,null,m,y,b&&T!=="foreignObject",P,E),U&&et(c,null,m,"created"),xe(A,c,c.scopeId,P,m),I){for(const J in I)J!=="value"&&!es(J)&&i(A,J,null,I[J],b,c.children,m,y,re);"value"in I&&i(A,"value",null,I.value),(v=I.onVnodeBeforeMount)&&Oe(v,m,c)}U&&et(c,null,m,"beforeMount");const Y=(!y||y&&!y.pendingBranch)&&F&&!F.persisted;Y&&F.beforeEnter(A),n(A,a,p),((v=I&&I.onVnodeMounted)||Y||U)&&fe(()=>{v&&Oe(v,m,c),Y&&F.enter(A),U&&et(c,null,m,"mounted")},y)},xe=(c,a,p,m,y)=>{if(p&&w(c,p),m)for(let b=0;b<m.length;b++)w(c,m[b]);if(y){let b=y.subTree;if(a===b){const P=y.vnode;xe(c,P,P.scopeId,P.slotScopeIds,y.parent)}}},He=(c,a,p,m,y,b,P,E,A=0)=>{for(let v=A;v<c.length;v++){const T=c[v]=E?Je(c[v]):Te(c[v]);C(null,T,a,p,m,y,b,P,E)}},ot=(c,a,p,m,y,b,P)=>{const E=a.el=c.el;let{patchFlag:A,dynamicChildren:v,dirs:T}=a;A|=c.patchFlag&16;const I=c.props||V,M=a.props||V;let F;p&&tt(p,!1),(F=M.onVnodeBeforeUpdate)&&Oe(F,p,a,c),T&&et(a,c,p,"beforeUpdate"),p&&tt(p,!0);const U=y&&a.type!=="foreignObject";if(v?Pe(c.dynamicChildren,v,E,p,m,U,b):P||z(c,a,E,null,p,m,U,b,!1),A>0){if(A&16)$e(E,a,I,M,p,m,y);else if(A&2&&I.class!==M.class&&i(E,"class",null,M.class,y),A&4&&i(E,"style",I.style,M.style,y),A&8){const Y=a.dynamicProps;for(let J=0;J<Y.length;J++){const Z=Y[J],ge=I[Z],at=M[Z];(at!==ge||Z==="value")&&i(E,Z,ge,at,y,c.children,p,m,re)}}A&1&&c.children!==a.children&&d(E,a.children)}else!P&&v==null&&$e(E,a,I,M,p,m,y);((F=M.onVnodeUpdated)||T)&&fe(()=>{F&&Oe(F,p,a,c),T&&et(a,c,p,"updated")},m)},Pe=(c,a,p,m,y,b,P)=>{for(let E=0;E<a.length;E++){const A=c[E],v=a[E],T=A.el&&(A.type===Le||!Ot(A,v)||A.shapeFlag&70)?h(A.el):p;C(A,v,T,null,m,y,b,P,!0)}},$e=(c,a,p,m,y,b,P)=>{if(p!==m){if(p!==V)for(const E in p)!es(E)&&!(E in m)&&i(c,E,p[E],null,P,a.children,y,b,re);for(const E in m){if(es(E))continue;const A=m[E],v=p[E];A!==v&&E!=="value"&&i(c,E,v,A,P,a.children,y,b,re)}"value"in m&&i(c,"value",p.value,m.value)}},Ze=(c,a,p,m,y,b,P,E,A)=>{const v=a.el=c?c.el:u(""),T=a.anchor=c?c.anchor:u("");let{patchFlag:I,dynamicChildren:M,slotScopeIds:F}=a;F&&(E=E?E.concat(F):F),c==null?(n(v,p,m),n(T,p,m),He(a.children,p,T,y,b,P,E,A)):I>0&&I&64&&M&&c.dynamicChildren?(Pe(c.dynamicChildren,M,p,y,b,P,E),(a.key!=null||y&&a===y.subTree)&&ci(c,a,!0)):z(c,a,p,T,y,b,P,E,A)},Re=(c,a,p,m,y,b,P,E,A)=>{a.slotScopeIds=E,c==null?a.shapeFlag&512?y.ctx.activate(a,p,m,P,A):It(a,p,m,y,b,P,A):lt(c,a,A)},It=(c,a,p,m,y,b,P)=>{const E=c.component=Al(c,m,y);if(Vr(c)&&(E.ctx.renderer=x),xl(E),E.asyncDep){if(y&&y.registerDep(E,ee),!c.el){const A=E.subTree=ve($t);q(null,A,a,p)}return}ee(E,c,a,p,y,b,P)},lt=(c,a,p)=>{const m=a.component=c.component;if(Ho(c,a,p))if(m.asyncDep&&!m.asyncResolved){G(m,a,p);return}else m.next=a,Po(m.update),m.update();else a.el=c.el,m.vnode=a},ee=(c,a,p,m,y,b,P)=>{const E=()=>{if(c.isMounted){let{next:T,bu:I,u:M,parent:F,vnode:U}=c,Y=T,J;tt(c,!1),T?(T.el=U.el,G(c,T,P)):T=U,I&&Rs(I),(J=T.props&&T.props.onVnodeBeforeUpdate)&&Oe(J,F,T,U),tt(c,!0);const Z=Is(c),ge=c.subTree;c.subTree=Z,C(ge,Z,h(ge.el),_(ge),c,y,b),T.el=Z.el,Y===null&&jo(c,Z.el),M&&fe(M,y),(J=T.props&&T.props.onVnodeUpdated)&&fe(()=>Oe(J,F,T,U),y)}else{let T;const{el:I,props:M}=a,{bm:F,m:U,parent:Y}=c,J=ss(a);if(tt(c,!1),F&&Rs(F),!J&&(T=M&&M.onVnodeBeforeMount)&&Oe(T,Y,a),tt(c,!0),I&&W){const Z=()=>{c.subTree=Is(c),W(I,c.subTree,c,y,null)};J?a.type.__asyncLoader().then(()=>!c.isUnmounted&&Z()):Z()}else{const Z=c.subTree=Is(c);C(null,Z,p,m,c,y,b),a.el=Z.el}if(U&&fe(U,y),!J&&(T=M&&M.onVnodeMounted)){const Z=a;fe(()=>Oe(T,Y,Z),y)}(a.shapeFlag&256||Y&&ss(Y.vnode)&&Y.vnode.shapeFlag&256)&&c.a&&fe(c.a,y),c.isMounted=!0,a=p=m=null}},A=c.effect=new cn(E,()=>mn(v),c.scope),v=c.update=()=>A.run();v.id=c.uid,tt(c,!0),v()},G=(c,a,p)=>{a.component=c;const m=c.vnode.props;c.vnode=a,c.next=null,ol(c,a.props,m,p),ul(c,a.children,p),Pt(),Fn(),Rt()},z=(c,a,p,m,y,b,P,E,A=!1)=>{const v=c&&c.children,T=c?c.shapeFlag:0,I=a.children,{patchFlag:M,shapeFlag:F}=a;if(M>0){if(M&128){Ke(v,I,p,m,y,b,P,E,A);return}else if(M&256){je(v,I,p,m,y,b,P,E,A);return}}F&8?(T&16&&re(v,y,b),I!==v&&d(p,I)):T&16?F&16?Ke(v,I,p,m,y,b,P,E,A):re(v,y,b,!0):(T&8&&d(p,""),F&16&&He(I,p,m,y,b,P,E,A))},je=(c,a,p,m,y,b,P,E,A)=>{c=c||ht,a=a||ht;const v=c.length,T=a.length,I=Math.min(v,T);let M;for(M=0;M<I;M++){const F=a[M]=A?Je(a[M]):Te(a[M]);C(c[M],F,p,null,y,b,P,E,A)}v>T?re(c,y,b,!0,!1,I):He(a,p,m,y,b,P,E,A,I)},Ke=(c,a,p,m,y,b,P,E,A)=>{let v=0;const T=a.length;let I=c.length-1,M=T-1;for(;v<=I&&v<=M;){const F=c[v],U=a[v]=A?Je(a[v]):Te(a[v]);if(Ot(F,U))C(F,U,p,null,y,b,P,E,A);else break;v++}for(;v<=I&&v<=M;){const F=c[I],U=a[M]=A?Je(a[M]):Te(a[M]);if(Ot(F,U))C(F,U,p,null,y,b,P,E,A);else break;I--,M--}if(v>I){if(v<=M){const F=M+1,U=F<T?a[F].el:m;for(;v<=M;)C(null,a[v]=A?Je(a[v]):Te(a[v]),p,U,y,b,P,E,A),v++}}else if(v>M)for(;v<=I;)ae(c[v],y,b,!0),v++;else{const F=v,U=v,Y=new Map;for(v=U;v<=M;v++){const pe=a[v]=A?Je(a[v]):Te(a[v]);pe.key!=null&&Y.set(pe.key,v)}let J,Z=0;const ge=M-U+1;let at=!1,Pn=0;const St=new Array(ge);for(v=0;v<ge;v++)St[v]=0;for(v=F;v<=I;v++){const pe=c[v];if(Z>=ge){ae(pe,y,b,!0);continue}let Se;if(pe.key!=null)Se=Y.get(pe.key);else for(J=U;J<=M;J++)if(St[J-U]===0&&Ot(pe,a[J])){Se=J;break}Se===void 0?ae(pe,y,b,!0):(St[Se-U]=v+1,Se>=Pn?Pn=Se:at=!0,C(pe,a[Se],p,null,y,b,P,E,A),Z++)}const Rn=at?dl(St):ht;for(J=Rn.length-1,v=ge-1;v>=0;v--){const pe=U+v,Se=a[pe],In=pe+1<T?a[pe+1].el:m;St[v]===0?C(null,Se,p,In,y,b,P,E,A):at&&(J<0||v!==Rn[J]?Ie(Se,p,In,2):J--)}}},Ie=(c,a,p,m,y=null)=>{const{el:b,type:P,transition:E,children:A,shapeFlag:v}=c;if(v&6){Ie(c.component.subTree,a,p,m);return}if(v&128){c.suspense.move(a,p,m);return}if(v&64){P.move(c,a,p,x);return}if(P===Le){n(b,a,p);for(let I=0;I<A.length;I++)Ie(A[I],a,p,m);n(c.anchor,a,p);return}if(P===Os){$(c,a,p);return}if(m!==2&&v&1&&E)if(m===0)E.beforeEnter(b),n(b,a,p),fe(()=>E.enter(b),y);else{const{leave:I,delayLeave:M,afterLeave:F}=E,U=()=>n(b,a,p),Y=()=>{I(b,()=>{U(),F&&F()})};M?M(b,U,Y):Y()}else n(b,a,p)},ae=(c,a,p,m=!1,y=!1)=>{const{type:b,props:P,ref:E,children:A,dynamicChildren:v,shapeFlag:T,patchFlag:I,dirs:M}=c;if(E!=null&&zs(E,null,p,c,!0),T&256){a.ctx.deactivate(c);return}const F=T&1&&M,U=!ss(c);let Y;if(U&&(Y=P&&P.onVnodeBeforeUnmount)&&Oe(Y,a,c),T&6)Qt(c.component,p,m);else{if(T&128){c.suspense.unmount(p,m);return}F&&et(c,null,a,"beforeUnmount"),T&64?c.type.remove(c,a,p,y,x,m):v&&(b!==Le||I>0&&I&64)?re(v,a,p,!1,!0):(b===Le&&I&384||!y&&T&16)&&re(A,a,p),m&&ct(c)}(U&&(Y=P&&P.onVnodeUnmounted)||F)&&fe(()=>{Y&&Oe(Y,a,c),F&&et(c,null,a,"unmounted")},p)},ct=c=>{const{type:a,el:p,anchor:m,transition:y}=c;if(a===Le){ut(p,m);return}if(a===Os){j(c);return}const b=()=>{r(p),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(c.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:E}=y,A=()=>P(p,b);E?E(c.el,b,A):A()}else b()},ut=(c,a)=>{let p;for(;c!==a;)p=g(c),r(c),c=p;r(a)},Qt=(c,a,p)=>{const{bum:m,scope:y,update:b,subTree:P,um:E}=c;m&&Rs(m),y.stop(),b&&(b.active=!1,ae(P,c,a,p)),E&&fe(E,a),fe(()=>{c.isUnmounted=!0},a),a&&a.pendingBranch&&!a.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===a.pendingId&&(a.deps--,a.deps===0&&a.resolve())},re=(c,a,p,m=!1,y=!1,b=0)=>{for(let P=b;P<c.length;P++)ae(c[P],a,p,m,y)},_=c=>c.shapeFlag&6?_(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),R=(c,a,p)=>{c==null?a._vnode&&ae(a._vnode,null,null,!0):C(a._vnode||null,c,a,null,null,null,p),Fn(),zr(),a._vnode=c},x={p:C,um:ae,m:Ie,r:ct,mt:It,mc:He,pc:z,pbc:Pe,n:_,o:e};let O,W;return t&&([O,W]=t(x)),{render:R,hydrate:O,createApp:rl(R,O)}}function tt({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function ci(e,t,s=!1){const n=e.children,r=t.children;if(L(n)&&L(r))for(let i=0;i<n.length;i++){const o=n[i];let u=r[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=r[i]=Je(r[i]),u.el=o.el),s||ci(o,u)),u.type===Es&&(u.el=o.el)}}function dl(e){const t=e.slice(),s=[0];let n,r,i,o,u;const l=e.length;for(n=0;n<l;n++){const f=e[n];if(f!==0){if(r=s[s.length-1],e[r]<f){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)u=i+o>>1,e[s[u]]<f?i=u+1:o=u;f<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}const pl=e=>e.__isTeleport,Le=Symbol.for("v-fgt"),Es=Symbol.for("v-txt"),$t=Symbol.for("v-cmt"),Os=Symbol.for("v-stc"),Ft=[];let be=null;function hl(e=!1){Ft.push(be=e?null:[])}function gl(){Ft.pop(),be=Ft[Ft.length-1]||null}let Kt=1;function Wn(e){Kt+=e}function ml(e){return e.dynamicChildren=Kt>0?be||ht:null,gl(),Kt>0&&be&&be.push(e),e}function _l(e,t,s,n,r,i){return ml(Ce(e,t,s,n,r,i,!0))}function Ws(e){return e?e.__v_isVNode===!0:!1}function Ot(e,t){return e.type===t.type&&e.key===t.key}const As="__vInternal",ui=({key:e})=>e??null,rs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||le(e)||N(e)?{i:qe,r:e,k:t,f:!!s}:e:null);function Ce(e,t=null,s=null,n=0,r=null,i=e===Le?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ui(t),ref:t&&rs(t),scopeId:vs,slotScopeIds:null,children:s,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:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:qe};return u?(bn(l,s),i&128&&e.normalize(l)):s&&(l.shapeFlag|=se(s)?8:16),Kt>0&&!o&&be&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&be.push(l),l}const ve=yl;function yl(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Yo)&&(e=$t),Ws(e)){const u=vt(e,t,!0);return s&&bn(u,s),Kt>0&&!i&&be&&(u.shapeFlag&6?be[be.indexOf(e)]=u:be.push(u)),u.patchFlag|=-2,u}if(Sl(e)&&(e=e.__vccOpts),t){t=bl(t);let{class:u,style:l}=t;u&&!se(u)&&(t.class=on(u)),X(l)&&(kr(l)&&!L(l)&&(l=te({},l)),t.style=rn(l))}const o=se(e)?1:Fo(e)?128:pl(e)?64:X(e)?4:N(e)?2:0;return Ce(e,t,s,n,r,o,i,!0)}function bl(e){return e?kr(e)||As in e?te({},e):e:null}function vt(e,t,s=!1){const{props:n,ref:r,patchFlag:i,children:o}=e,u=t?vl(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ui(u),ref:t&&t.ref?s&&r?L(r)?r.concat(rs(t)):[r,rs(t)]:rs(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!==Le?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&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qs(e=" ",t=0){return ve(Es,null,e,t)}function Te(e){return e==null||typeof e=="boolean"?ve($t):L(e)?ve(Le,null,e.slice()):typeof e=="object"?Je(e):ve(Es,null,String(e))}function Je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function bn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(L(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),bn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!(As in t)?t._ctx=qe:r===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:qe},s=32):(t=String(t),n&64?(s=16,t=[Qs(t)]):s=8);e.children=t,e.shapeFlag|=s}function vl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=on([t.class,n.class]));else if(r==="style")t.style=rn([t.style,n.style]);else if(ps(r)){const i=t[r],o=n[r];o&&i!==o&&!(L(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Oe(e,t,s,n=null){Ee(e,t,7,[s,n])}const wl=si();let El=0;function Al(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||wl,i={uid:El++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new xr(!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:ri(n,r),emitsOptions:Qr(n,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:n.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:s,suspenseId:s?s.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=So.bind(null,i),e.ce&&e.ce(i),i}let oe=null,vn,ft,Qn="__VUE_INSTANCE_SETTERS__";(ft=js()[Qn])||(ft=js()[Qn]=[]),ft.push(e=>oe=e),vn=e=>{ft.length>1?ft.forEach(t=>t(e)):ft[0](e)};const wt=e=>{vn(e),e.scope.on()},it=()=>{oe&&oe.scope.off(),vn(null)};function ai(e){return e.vnode.shapeFlag&4}let zt=!1;function xl(e,t=!1){zt=t;const{props:s,children:n}=e.vnode,r=ai(e);il(e,s,r,t),cl(e,n);const i=r?Pl(e,t):void 0;return zt=!1,i}function Pl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=pn(new Proxy(e.ctx,Vo));const{setup:n}=s;if(n){const r=e.setupContext=n.length>1?Il(e):null;wt(e),Pt();const i=Ve(n,e,0,[e.props,r]);if(Rt(),it(),wr(i)){if(i.then(it,it),t)return i.then(o=>{Jn(e,o,t)}).catch(o=>{ys(o,e,0)});e.asyncDep=i}else Jn(e,i,t)}else fi(e,t)}function Jn(e,t,s){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Br(t)),fi(e,s)}let Gn;function fi(e,t,s){const n=e.type;if(!e.render){if(!t&&Gn&&!n.render){const r=n.template||_n(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:l}=n,f=te(te({isCustomElement:i,delimiters:u},o),l);n.render=Gn(r,f)}}e.render=n.render||we}wt(e),Pt(),Xo(e),Rt(),it()}function Rl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,s){return de(e,"get","$attrs"),t[s]}}))}function Il(e){const t=s=>{e.exposed=s||{}};return{get attrs(){return Rl(e)},slots:e.slots,emit:e.emit,expose:t}}function wn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Br(pn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in jt)return jt[s](e)},has(t,s){return s in t||s in jt}}))}function Sl(e){return N(e)&&"__vccOpts"in e}const ye=(e,t)=>Eo(e,t,zt);function di(e,t,s){const n=arguments.length;return n===2?X(t)&&!L(t)?Ws(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ws(s)&&(s=[s]),ve(e,t,s))}const Ol=Symbol.for("v-scx"),Cl=()=>Ne(Ol),Tl="3.3.4",Ml="http://www.w3.org/2000/svg",nt=typeof document<"u"?document:null,Yn=nt&&nt.createElement("template"),ql={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t?nt.createElementNS(Ml,e):nt.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Yn.innerHTML=n?`<svg>${e}</svg>`:e;const u=Yn.content;if(n){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}t.insertBefore(u,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}};function Hl(e,t,s){const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}function jl(e,t,s){const n=e.style,r=se(s);if(s&&!r){if(t&&!se(t))for(const i in t)s[i]==null&&Js(n,i,"");for(const i in s)Js(n,i,s[i])}else{const i=n.display;r?t!==s&&(n.cssText=s):t&&e.removeAttribute("style"),"_vod"in e&&(n.display=i)}}const Vn=/\s*!important$/;function Js(e,t,s){if(L(s))s.forEach(n=>Js(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Fl(e,t);Vn.test(s)?e.setProperty(xt(n),s.replace(Vn,""),"important"):e[n]=s}}const Xn=["Webkit","Moz","ms"],Cs={};function Fl(e,t){const s=Cs[t];if(s)return s;let n=yt(t);if(n!=="filter"&&n in e)return Cs[t]=n;n=Er(n);for(let r=0;r<Xn.length;r++){const i=Xn[r]+n;if(i in e)return Cs[t]=i}return t}const Zn="http://www.w3.org/1999/xlink";function kl(e,t,s,n,r){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(Zn,t.slice(6,t.length)):e.setAttributeNS(Zn,t,s);else{const i=Bi(t);s==null||i&&!Ar(s)?e.removeAttribute(t):e.setAttribute(t,i?"":s)}}function Ll(e,t,s,n,r,i,o){if(t==="innerHTML"||t==="textContent"){n&&o(n,r,i),e[t]=s??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=s;const f=u==="OPTION"?e.getAttribute("value"):e.value,d=s??"";f!==d&&(e.value=d),s==null&&e.removeAttribute(t);return}let l=!1;if(s===""||s==null){const f=typeof e[t];f==="boolean"?s=Ar(s):s==null&&f==="string"?(s="",l=!0):f==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(t)}function Nl(e,t,s,n){e.addEventListener(t,s,n)}function Ul(e,t,s,n){e.removeEventListener(t,s,n)}function Bl(e,t,s,n,r=null){const i=e._vei||(e._vei={}),o=i[t];if(n&&o)o.value=n;else{const[u,l]=Dl(t);if(n){const f=i[t]=zl(n,r);Nl(e,u,f,l)}else o&&(Ul(e,u,o,l),i[t]=void 0)}}const er=/(?:Once|Passive|Capture)$/;function Dl(e){let t;if(er.test(e)){t={};let n;for(;n=e.match(er);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xt(e.slice(2)),t]}let Ts=0;const $l=Promise.resolve(),Kl=()=>Ts||($l.then(()=>Ts=0),Ts=Date.now());function zl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ee(Wl(n,s.value),t,5,[n])};return s.value=e,s.attached=Kl(),s}function Wl(e,t){if(L(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const tr=/^on[a-z]/,Ql=(e,t,s,n,r=!1,i,o,u,l)=>{t==="class"?Hl(e,n,r):t==="style"?jl(e,s,n):ps(t)?en(t)||Bl(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jl(e,t,n,r))?Ll(e,t,n,i,o,u,l):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),kl(e,t,n,r))};function Jl(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&tr.test(t)&&N(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||tr.test(t)&&se(s)?!1:t in e}const Gl=te({patchProp:Ql},ql);let sr;function Yl(){return sr||(sr=al(Gl))}const Vl=(...e)=>{const t=Yl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Xl(n);if(!r)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=s(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Xl(e){return se(e)?document.querySelector(e):e}var Zl=!1;/*!
2
2
  * pinia v2.1.6
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const ec=Symbol();var nr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(nr||(nr={}));function tc(){const e=Di(!0),t=e.run(()=>cs({}));let s=[],n=[];const r=pn({install(i){r._a=i,i.provide(ec,r),i.config.globalProperties.$pinia=r,n.forEach(o=>s.push(o)),n=[]},use(i){return!this._a&&!Zl?n.push(i):s.push(i),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return r}function sc(){let e=null,t=null;return[new Promise((n,r)=>{e=n,t=r}),e,t]}function rr(){var e,t,s;for(e="",s=0;s<32;s++)(s==8||s==12||s==16||s==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class Gs{constructor(){this.subscribers={}}init(){}publish(t,s){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(n=>{try{n(t,s)}catch(r){console.error(r)}})}subscribe(t,s){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(s)>=0?()=>this.unsubscribe(t,s):(this.subscribers[t].push(s),()=>this.unsubscribe(t,s))}unsubscribe(t,s){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(s)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(n=>n!==s)}}class nc{constructor(){this._requests={},this._messagesEventHandlers=new Gs,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,s,n="*",r){if(n=="null"&&(n="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};s.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,s=null){let n=rr(),[r,i,o]=sc();return this._requests[n]={prom:r,resolve:i,reject:o},t.requestGuid=n,t.promisedBased=!0,s=s||window.parent,s.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,s=null){let n=rr();t.requestGuid=n,s=s||window.parent,s.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let s=t&&JSON.parse(t.data);if(s.requestName=="EvEvent")this._messagesEventHandlers.publish(s.eventName,s.data);else if(s.requestGuid&&this._requests[s.requestGuid]){let n=this._requests[s.requestGuid];return delete this._requests[s.requestGuid],n.resolve(s)}}catch{}}unregisterFromEvents(){}}class rc{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,s,n=!1){!n||!this._userApps[t]?this._userApps[t]=s:this._userApps[t]={...this._userApps[t],...s}}updateUserAppInstance(t,s,n=!1){!n||!this._userAppInstances[t]?this._userAppInstances[t]=s:this._userAppInstances[t]={...this._userAppInstances[t],...s}}updateUserAppInstanceSettings(t,s){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=s}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,s=!1){let n=this._userAppInstances[t];return n&&s&&(n.appData=this.getUserAppDataByAppId(n.userAppId)),n}}let is=new rc;class Xe{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ic extends Xe{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 oc extends Xe{constructor(){super()}canHandleRequest(t){return[$.createNewLayer,$.removeSizeCatcher,$.listScenes,$.switchScene,$.updateLayer,$.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 We={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 lc extends Xe{constructor(){super()}canHandleRequest(t){return[$.raiseExternalAppMessagingEvent,$.setFastActionButtons,$.openSideBarSettings,$.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return pi._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,We.externalAppMessaging,t.data.data),null}async setFastActionButtons(){return!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function he(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class cc extends Xe{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:he(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:he(),type:"twitchProfile",statistics:{channel:{subscribers:he()}},last_subscribers:null},{viewers:he(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:he(),type:"youtubeChannel",statistics:{viewCount:he(),likeCount:he(),dislikeCount:he(),favoriteCount:he(),commentCount:he()},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:he(),type:"facebookProfile",statistics:{total_reactions:he()}}]}}class uc extends Xe{constructor(){super()}canHandleRequest(t){return[$.displayDateTimePicker,$.displayScenePicker,$.displayRichTextEditor,$.displayToast,$.displayLayerSelector,$.displayGalleryPicker,$.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 ac extends Xe{constructor(){super()}canHandleRequest(t){return[$.getStudioParams,$.getSoundRtc,$.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 fc extends Xe{constructor(){super()}canHandleRequest(t){return[$.logError,$.logInfo,$.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 dc extends Xe{constructor(){super()}canHandleRequest(t){return[$.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}const $={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",displayInputs:"displayInputs"};let Ct=(e,t,s)=>({requestName:e,eventName:t,data:s});class pc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Gs,this._eventHandler=new Gs,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new ic(t)),this._requestHandlers.push(new oc(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))}_sendPostMessageToUsrAppInstancesComponents(t,s,n=null){let r=JSON.stringify(s);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))n!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,s,n,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[s]){let o=Ct("EvEvent",s,n);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,s){for(const[n,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(n,t,s)}getAppSettingsForAppInstanceId(t){return is.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,s,n){if(is.updateUserAppInstanceSettings(t,s),this._userAppInstances[t]&&this._userAppInstances[t].events[We.settingsUpdated]){let r=Ct("EvEvent",We.settingsUpdated,s);this._sendPostMessageToUsrAppInstancesComponents(t,r,n)}}updateAppsAboutStudioParams(t){let s=Ct("EvEvent",We.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(n=>{this._userAppInstances[n].events[We.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(n,s,null)})}signalApp(t,s){let n=this._userAppInstances[t];if(n&&n.events[We.signalingEvent]){let r=Ct("EvEvent",We.signalingEvent,s);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}async onPostMessage(t){let s={};try{typeof t.data=="string"||t.data instanceof String?s=JSON.parse(t.data):s=t.data}catch{}let n=null;if(s.request==$.updateSettings)this._userAppInstances[s.userAppInstanceId]&&this.updateSettingsAndPublish(s);else if(s.request==$.raiseAppMessagingEvent)this._userAppInstances[s.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(s.userAppInstanceId,We.appMessaging,s.data,s.componentId),this._eventHandler.publish("updateEverywhere",s));else if(s.request==$.getSettings)this._userAppInstances[s.userAppInstanceId]&&(Ct("EvMessage","settings",s.data),n=(await is.getUserAppInstanceById(s.userAppInstanceId,!1)).settings);else if(s.request==$.startLoad)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].instances[s.componentId]={window:t.source};else if(s.request==$.loaded)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].instances[s.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",s),n=this.getAppSettingsForAppInstanceId(s.userAppInstanceId);else if(s.request==$.registerEvent)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].events[s.data.eventName]=!0;else if(s.request==$.unregisterEvent)this._makeSureAppInstanceExist(s.userAppInstanceId),delete this._userAppInstances[s.userAppInstanceId].events[s.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(s)){n=await this._requestHandlers[r].handleRequest(s);break}s.promisedBased&&nc.respondForPromiseBasedRequest(s,t.source,t.origin,n)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,s){this._userAppInstances[t]&&this._userAppInstances[t].instances[s]&&(delete this._userAppInstances[t].instances[s],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const pi=new pc;const hc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},hi=e=>(Oo("data-v-fc79bba3"),e=e(),Co(),e),gc={style:{display:"flex"}},mc={class:"panel"},_c=hi(()=>Ce("br",null,null,-1)),yc=hi(()=>Ce("div",{style:{width:"50px"}},null,-1)),bc={class:"panel"},vc={class:"resizer grayone"},wc={__name:"TestHolder",setup(e){pi.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",s=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",n=window.baseAppSettings||{};is.updateUserAppInstance(t,{id:t,settings:n});const r=cs(null),i=cs(null);return Zr(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${s}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${s}`}),(o,u)=>(hl(),_l("div",null,[Ce("div",gc,[Ce("div",mc,[Qs(" Settings (src/settings.html):"),_c,Ce("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500",style:{resize:"both"}},null,512)]),yc,Ce("div",bc,[Qs(" App (src/widget.html): "),Ce("div",vc,[Ce("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])])]))}},Ec=hc(wc,[["__scopeId","data-v-fc79bba3"]]);/*!
5
+ */const ec=Symbol();var nr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(nr||(nr={}));function tc(){const e=Di(!0),t=e.run(()=>cs({}));let s=[],n=[];const r=pn({install(i){r._a=i,i.provide(ec,r),i.config.globalProperties.$pinia=r,n.forEach(o=>s.push(o)),n=[]},use(i){return!this._a&&!Zl?n.push(i):s.push(i),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return r}function sc(){let e=null,t=null;return[new Promise((n,r)=>{e=n,t=r}),e,t]}function rr(){var e,t,s;for(e="",s=0;s<32;s++)(s==8||s==12||s==16||s==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class Gs{constructor(){this.subscribers={}}init(){}publish(t,s){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(n=>{try{n(t,s)}catch(r){console.error(r)}})}subscribe(t,s){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(s)>=0?()=>this.unsubscribe(t,s):(this.subscribers[t].push(s),()=>this.unsubscribe(t,s))}unsubscribe(t,s){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(s)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(n=>n!==s)}}class nc{constructor(){this._requests={},this._messagesEventHandlers=new Gs,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,s,n="*",r){if(n=="null"&&(n="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};s.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,s=null){let n=rr(),[r,i,o]=sc();return this._requests[n]={prom:r,resolve:i,reject:o},t.requestGuid=n,t.promisedBased=!0,s=s||window.parent,s.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,s=null){let n=rr();t.requestGuid=n,s=s||window.parent,s.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let s=t&&JSON.parse(t.data);if(s.requestName=="EvEvent")this._messagesEventHandlers.publish(s.eventName,s.data);else if(s.requestGuid&&this._requests[s.requestGuid]){let n=this._requests[s.requestGuid];return delete this._requests[s.requestGuid],n.resolve(s)}}catch{}}unregisterFromEvents(){}}class rc{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,s,n=!1){!n||!this._userApps[t]?this._userApps[t]=s:this._userApps[t]={...this._userApps[t],...s}}updateUserAppInstance(t,s,n=!1){!n||!this._userAppInstances[t]?this._userAppInstances[t]=s:this._userAppInstances[t]={...this._userAppInstances[t],...s}}updateUserAppInstanceSettings(t,s){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=s}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,s=!1){let n=this._userAppInstances[t];return n&&s&&(n.appData=this.getUserAppDataByAppId(n.userAppId)),n}}let is=new rc;class De{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class ic extends De{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 oc extends De{constructor(){super()}canHandleRequest(t){return[D.createNewLayer,D.removeSizeCatcher,D.listScenes,D.switchScene,D.updateLayer,D.getLayerDisplayableName].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}async updateLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async getLayerDisplayableName(t){return window.mockLayerName||"A Mock Layer Name"}async listScenes(t){return window.mockScenes||[{id:497,idx:497,order:0,name:"New Scene",stingerData:{idx:null,time:null,muted:!1,speed:1,volume:100,transitionName:null,transitionDuration:0},backgroundColor:null,overWriteBackgroundColor:!1,layers:[{idx:"e9fe6623-4332-447c-bb1a-ccfe9f794bb3",type:"userapp",name:"TESTAPP",opacity:100,bounds:{x:1280,y:720},pos:{rot:0,top:8.397612310554674,left:13.50375337545383,right:19.829579957879496,bottom:24.93572102277865},crop:{top:0,left:0,right:0,bottom:0},data:{adaptive:!1,aspect:!0,borderRadius:0,userAppInstanceId:"4d532c22-363e-4028-824d-7b029f100916",userAppId:"ce5d32b3-7d6c-4e43-be02-4903d6b49acd",fixedSize:!0,fixedSizeWidth:1280,fixedSizeHeight:720,verticalStreaming:{pos:{rot:0,top:35.052083333333336,left:2.7777777777777777,right:2.7777777777777857,bottom:35.05208333333333},crop:{top:0,left:0,right:0,bottom:0},borderRadius:0,aspect:!0,bounds:{x:1020,y:574},customBounds:{x:1020,y:574},locked:!1,hidden:!1,fixedSizeWidth:1020,fixedSizeHeight:574}},order:0}],thumbnail:{landscape:"https://files.evmux.com/6/scenes/sc_tmb_4971715842178.jpg?Expires=1715885379&Signature=ORHKomQH7iaugP~fHJFYBgZfwoG2lyQOMORSbRld378vCvudJ5gFapWdQNfE~j97UOKuon0uwZ1F741k2YU3qWIFNklDdqU6zuJgxaDTHPM~~TvG9p-Nl0g4BBzGvlyR-JZbUCbpWtg9DczFnQbeFbWynHFdIOGwwh2OQYXuAHlW0v1UDuOnjGRU87XvZ~ReSCW844TuhaPCBPXoMiSt0MHDC-zk~ggmpb7~eQMPjTF5znOdcDB0DdRJ8j~7EYNCFGYGesErpPqH5kOMRLCwmjmvQ4gFJMkNEfPBGdQclanYiSw5iL7KsOErCUtS447euT7wDnRT1N1wgL0LYgJDdQ__&Key-Pair-Id=APKAJQZJ2AA6OYF4WJHA",portrait:null}}]}async switchScene(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}}const Qe={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur",studioParamsUpdated:"studioParamsUpdated",signalingEvent:"signalingEvent"};class lc extends De{constructor(){super()}canHandleRequest(t){return[D.raiseExternalAppMessagingEvent,D.setFastActionButtons,D.openSideBarSettings,D.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return pi._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Qe.externalAppMessaging,t.data.data),null}async setFastActionButtons(){return!0}async openSideBarSettings(){return!0}async isSudioMode(){return!0}async handleRequest(t){return this[t.request](t)}}function he(e=0,t=100){return e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e}class cc extends De{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return window.mockStatistics||[{viewers:null,type:"linkedinProfile"},{viewers:he(),type:"twitterProfile",statistics:null,last_subscribers:null},{viewers:he(),type:"twitchProfile",statistics:{channel:{subscribers:he()}},last_subscribers:null},{viewers:he(),type:"evmuxPlayer",statistics:null,last_subscribers:null},{viewers:he(),type:"youtubeChannel",statistics:{viewCount:he(),likeCount:he(),dislikeCount:he(),favoriteCount:he(),commentCount:he()},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:he(),type:"facebookProfile",statistics:{total_reactions:he()}}]}}class uc extends De{constructor(){super()}canHandleRequest(t){return[D.displayDateTimePicker,D.displayScenePicker,D.displayRichTextEditor,D.displayToast,D.displayLayerSelector,D.displayGalleryPicker,D.displayInputs].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayLayerSelector(t){return window.mockLayer}async displayGalleryPicker(t){return window.mockGalleryResult}async displayInputs(t){return window.mockInputs||{type:"string",min:0,max:256,value:"Input Text Here",myId:"example"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b> "+new Date().getTime()}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}class ac extends De{constructor(){super()}canHandleRequest(t){return[D.getStudioParams,D.getSoundRtc,D.signal].includes(t.request)}async getStudioParams(t){return window.mockStudioParams||{antiScaleValue:1,antiScaleValue2:1}}async signal(t){return null}async getSoundRtc(t){return"webrtc-mock-channel"}}class fc extends De{constructor(){super()}canHandleRequest(t){return[D.logError,D.logInfo,D.logWarning].includes(t.request)}async handleRequest(t){return this[t.request.toLowerCase().replace("log","")](t)}async error(t){return console.error(t.data),!0}async info(t){return console.info(t.data),!0}async warning(t){return console.warn(t.data),!0}}class dc extends De{constructor(){super()}canHandleRequest(t){return[D.listAssets].includes(t.request)}async listAssets(t){return{value:window.mockAssets||[]}}}class pc extends De{constructor(){super()}canHandleRequest(t){return[D.createStream,D.accountPlanCapabilities].includes(t.request)}async createStream(t){return{value:window.mockStream||{}}}async accountPlanCapabilities(t){return{value:window.mockAccountPlanCapabilities||{}}}}const D={updateSettings:"updateSettings",getSettings:"getSettings",startLoad:"startLoad",loaded:"loaded",registerEvent:"registerEvent",unregisterEvent:"unregisterEvent",EvEvent:"EvEvent",raiseAppMessagingEvent:"raiseAppMessagingEvent",raiseExternalAppMessagingEvent:"raiseExternalAppMessagingEvent",raiseFastAccessButtonEvent:"raiseFastAccessButtonEvent",setFastActionButtons:"setFastActionButtons",createNewLayer:"createNewLayer",listScenes:"listScenes",updateLayer:"updateLayer",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker",displayScenePicker:"displayScenePicker",displayRichTextEditor:"displayRichTextEditor",displayToast:"displayToast",displayLayerSelector:"displayLayerSelector",displayGalleryPicker:"displayGalleryPicker",isSudioMode:"isSudioMode",getStudioParams:"getStudioParams",getSoundRtc:"getSoundRtc",signal:"signal",logError:"logError",logWarning:"logWarning",logInfo:"logInfo",getLayerDisplayableName:"getLayerDisplayableName",listAssets:"listAssets",createStream:"createStream",displayInputs:"displayInputs",accountPlanCapabilities:"accountPlanCapabilities"};let Ct=(e,t,s)=>({requestName:e,eventName:t,data:s});class hc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Gs,this._eventHandler=new Gs,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(t){this._requestHandlers.push(new ic(t)),this._requestHandlers.push(new oc(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))}_sendPostMessageToUsrAppInstancesComponents(t,s,n=null){let r=JSON.stringify(s);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))n!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,s,n,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[s]){let o=Ct("EvEvent",s,n);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,s){for(const[n,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(n,t,s)}getAppSettingsForAppInstanceId(t){return is.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,s,n){if(is.updateUserAppInstanceSettings(t,s),this._userAppInstances[t]&&this._userAppInstances[t].events[Qe.settingsUpdated]){let r=Ct("EvEvent",Qe.settingsUpdated,s);this._sendPostMessageToUsrAppInstancesComponents(t,r,n)}}updateAppsAboutStudioParams(t){let s=Ct("EvEvent",Qe.studioParamsUpdated,t);Object.keys(this._userAppInstances).forEach(n=>{this._userAppInstances[n].events[Qe.studioParamsUpdated]&&this._sendPostMessageToUsrAppInstancesComponents(n,s,null)})}signalApp(t,s){let n=this._userAppInstances[t];if(n&&n.events[Qe.signalingEvent]){let r=Ct("EvEvent",Qe.signalingEvent,s);this._sendPostMessageToUsrAppInstancesComponents(t,r,null)}}async onPostMessage(t){let s={};try{typeof t.data=="string"||t.data instanceof String?s=JSON.parse(t.data):s=t.data}catch{}let n=null;if(s.request==D.updateSettings)this._userAppInstances[s.userAppInstanceId]&&this.updateSettingsAndPublish(s);else if(s.request==D.raiseAppMessagingEvent)this._userAppInstances[s.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(s.userAppInstanceId,Qe.appMessaging,s.data,s.componentId),this._eventHandler.publish("updateEverywhere",s));else if(s.request==D.getSettings)this._userAppInstances[s.userAppInstanceId]&&(Ct("EvMessage","settings",s.data),n=(await is.getUserAppInstanceById(s.userAppInstanceId,!1)).settings);else if(s.request==D.startLoad)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].instances[s.componentId]={window:t.source};else if(s.request==D.loaded)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].instances[s.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",s),n=this.getAppSettingsForAppInstanceId(s.userAppInstanceId);else if(s.request==D.registerEvent)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].events[s.data.eventName]=!0;else if(s.request==D.unregisterEvent)this._makeSureAppInstanceExist(s.userAppInstanceId),delete this._userAppInstances[s.userAppInstanceId].events[s.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(s)){n=await this._requestHandlers[r].handleRequest(s);break}s.promisedBased&&nc.respondForPromiseBasedRequest(s,t.source,t.origin,n)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,s){this._userAppInstances[t]&&this._userAppInstances[t].instances[s]&&(delete this._userAppInstances[t].instances[s],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const pi=new hc;const gc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},hi=e=>(Oo("data-v-fc79bba3"),e=e(),Co(),e),mc={style:{display:"flex"}},_c={class:"panel"},yc=hi(()=>Ce("br",null,null,-1)),bc=hi(()=>Ce("div",{style:{width:"50px"}},null,-1)),vc={class:"panel"},wc={class:"resizer grayone"},Ec={__name:"TestHolder",setup(e){pi.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",s=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",n=window.baseAppSettings||{};is.updateUserAppInstance(t,{id:t,settings:n});const r=cs(null),i=cs(null);return Zr(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${s}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${s}`}),(o,u)=>(hl(),_l("div",null,[Ce("div",mc,[Ce("div",_c,[Qs(" Settings (src/settings.html):"),yc,Ce("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500",style:{resize:"both"}},null,512)]),bc,Ce("div",vc,[Qs(" App (src/widget.html): "),Ce("div",wc,[Ce("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])])]))}},Ac=gc(Ec,[["__scopeId","data-v-fc79bba3"]]);/*!
6
6
  * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const dt=typeof window<"u";function Ac(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function Ms(e,t){const s={};for(const n in t){const r=t[n];s[n]=Ae(r)?r.map(e):e(r)}return s}const kt=()=>{},Ae=Array.isArray,xc=/\/$/,Pc=e=>e.replace(xc,"");function qs(e,t,s="/"){let n,r={},i="",o="";const u=t.indexOf("#");let l=t.indexOf("?");return u<l&&u>=0&&(l=-1),l>-1&&(n=t.slice(0,l),i=t.slice(l+1,u>-1?u:t.length),r=e(i)),u>-1&&(n=n||t.slice(0,u),o=t.slice(u,t.length)),n=Oc(n??t,s),{fullPath:n+(i&&"?")+i+o,path:n,query:r,hash:o}}function Rc(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function ir(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ic(e,t,s){const n=t.matched.length-1,r=s.matched.length-1;return n>-1&&n===r&&Et(t.matched[n],s.matched[r])&&gi(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Et(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!Sc(e[s],t[s]))return!1;return!0}function Sc(e,t){return Ae(e)?or(e,t):Ae(t)?or(t,e):e===t}function or(e,t){return Ae(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function Oc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/"),r=n[n.length-1];(r===".."||r===".")&&n.push("");let i=s.length-1,o,u;for(o=0;o<n.length;o++)if(u=n[o],u!==".")if(u==="..")i>1&&i--;else break;return s.slice(0,i).join("/")+"/"+n.slice(o-(o===n.length?1:0)).join("/")}var Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var Lt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Lt||(Lt={}));function Cc(e){if(!e)if(dt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Pc(e)}const Tc=/^[^#]+#/;function Mc(e,t){return e.replace(Tc,"#")+t}function qc(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const xs=()=>({left:window.pageXOffset,top:window.pageYOffset});function Hc(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;t=qc(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 lr(e,t){return(history.state?history.state.position-t:-1)+e}const Ys=new Map;function jc(e,t){Ys.set(e,t)}function Fc(e){const t=Ys.get(e);return Ys.delete(e),t}let kc=()=>location.protocol+"//"+location.host;function mi(e,t){const{pathname:s,search:n,hash:r}=t,i=e.indexOf("#");if(i>-1){let u=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(u);return l[0]!=="/"&&(l="/"+l),ir(l,"")}return ir(s,e)+n+r}function Lc(e,t,s,n){let r=[],i=[],o=null;const u=({state:g})=>{const w=mi(e,location),S=s.value,C=t.value;let k=0;if(g){if(s.value=w,t.value=g,o&&o===S){o=null;return}k=C?g.position-C.position:0}else n(w);r.forEach(q=>{q(s.value,S,{delta:k,type:Wt.pop,direction:k?k>0?Lt.forward:Lt.back:Lt.unknown})})};function l(){o=s.value}function f(g){r.push(g);const w=()=>{const S=r.indexOf(g);S>-1&&r.splice(S,1)};return i.push(w),w}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:xs()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function cr(e,t,s,n=!1,r=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:r?xs():null}}function Nc(e){const{history:t,location:s}=window,n={value:mi(e,s)},r={value:t.state};r.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(s.host&&document.querySelector("base")?e:e.slice(h))+l:kc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(w){console.error(w),s[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,cr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),n.value=l}function u(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:xs()});i(d.current,d,!0);const h=Q({},cr(n.value,l,null),{position:d.position+1},f);i(l,h,!1),n.value=l}return{location:n,state:r,push:u,replace:o}}function Uc(e){e=Cc(e);const t=Nc(e),s=Lc(e,t.state,t.location,t.replace);function n(i,o=!0){o||s.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:n,createHref:Mc.bind(null,e)},t,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Bc(e){return typeof e=="string"||e&&typeof e=="object"}function _i(e){return typeof e=="string"||typeof e=="symbol"}const ze={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yi=Symbol("");var ur;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ur||(ur={}));function At(e,t){return Q(new Error,{type:e,[yi]:!0},t)}function Fe(e,t){return e instanceof Error&&yi in e&&(t==null||!!(e.type&t))}const ar="[^/]+?",Dc={sensitive:!1,strict:!1,start:!0,end:!0},$c=/[.+*?^${}()[\]/\\]/g;function Kc(e,t){const s=Q({},Dc,t),n=[];let r=s.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];s.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const g=f[h];let w=40+(s.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace($c,"\\$&"),w+=40;else if(g.type===1){const{value:S,repeatable:C,optional:k,regexp:q}=g;i.push({name:S,repeatable:C,optional:k});const H=q||ar;if(H!==ar){w+=10;try{new RegExp(`(${H})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${S}" (${H}): `+j.message)}}let D=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||(D=k&&f.length<2?`(?:/${D})`:"/"+D),k&&(D+="?"),r+=D,w+=20,k&&(w+=-8),C&&(w+=-20),H===".*"&&(w+=-50)}d.push(w)}n.push(d)}if(s.strict&&s.end){const f=n.length-1;n[f][n[f].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const o=new RegExp(r,s.sensitive?"":"i");function u(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const w=d[g]||"",S=i[g-1];h[S.name]=w&&S.repeatable?w.split("/"):w}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const w of g)if(w.type===0)d+=w.value;else if(w.type===1){const{value:S,repeatable:C,optional:k}=w,q=S in f?f[S]:"";if(Ae(q)&&!C)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const H=Ae(q)?q.join("/"):q;if(!H)if(k)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:n,keys:i,parse:u,stringify:l}}function zc(e,t){let s=0;for(;s<e.length&&s<t.length;){const n=t[s]-e[s];if(n)return n;s++}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 Wc(e,t){let s=0;const n=e.score,r=t.score;for(;s<n.length&&s<r.length;){const i=zc(n[s],r[s]);if(i)return i;s++}if(Math.abs(r.length-n.length)===1){if(fr(n))return 1;if(fr(r))return-1}return r.length-n.length}function fr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Qc={type:0,value:""},Jc=/[a-zA-Z0-9_]/;function Gc(e){if(!e)return[[]];if(e==="/")return[[Qc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${s})/"${f}": ${w}`)}let s=0,n=s;const r=[];let i;function o(){i&&r.push(i),i=[]}let u=0,l,f="",d="";function h(){f&&(s===0?i.push({type:0,value:f}):s===1||s===2||s===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(;u<e.length;){if(l=e[u++],l==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),s=1):g();break;case 4:g(),s=n;break;case 1:l==="("?s=2:Jc.test(l)?g():(h(),s=0,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:s=3:d+=l;break;case 3:h(),s=0,l!=="*"&&l!=="?"&&l!=="+"&&u--,d="";break;default:t("Unknown state");break}}return s===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function Yc(e,t,s){const n=Kc(Gc(e.path),s),r=Q(n,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Vc(e,t){const s=[],n=new Map;t=hr({strict:!1,end:!0,sensitive:!1},t);function r(d){return n.get(d)}function i(d,h,g){const w=!g,S=Xc(d);S.aliasOf=g&&g.record;const C=hr(t,d),k=[S];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const j of D)k.push(Q({},S,{components:g?g.record.components:S.components,path:j,aliasOf:g?g.record:S}))}let q,H;for(const D of k){const{path:j}=D;if(h&&j[0]!=="/"){const ne=h.record.path,ce=ne[ne.length-1]==="/"?"":"/";D.path=h.record.path+(j&&ce+j)}if(q=Yc(D,h,C),g?g.alias.push(q):(H=H||q,H!==q&&H.alias.push(q),w&&d.name&&!pr(q)&&o(d.name)),S.children){const ne=S.children;for(let ce=0;ce<ne.length;ce++)i(ne[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)}:kt}function o(d){if(_i(d)){const h=n.get(d);h&&(n.delete(d),s.splice(s.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=s.indexOf(d);h>-1&&(s.splice(h,1),d.record.name&&n.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function u(){return s}function l(d){let h=0;for(;h<s.length&&Wc(d,s[h])>=0&&(d.record.path!==s[h].record.path||!bi(d,s[h]));)h++;s.splice(h,0,d),d.record.name&&!pr(d)&&n.set(d.record.name,d)}function f(d,h){let g,w={},S,C;if("name"in d&&d.name){if(g=n.get(d.name),!g)throw At(1,{location:d});C=g.record.name,w=Q(dr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&dr(d.params,g.keys.map(H=>H.name))),S=g.stringify(w)}else if("path"in d)S=d.path,g=s.find(H=>H.re.test(S)),g&&(w=g.parse(S),C=g.record.name);else{if(g=h.name?n.get(h.name):s.find(H=>H.re.test(h.path)),!g)throw At(1,{location:d,currentLocation:h});C=g.record.name,w=Q({},h.params,d.params),S=g.stringify(w)}const k=[];let q=g;for(;q;)k.unshift(q.record),q=q.parent;return{name:C,path:S,params:w,matched:k,meta:eu(k)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:u,getRecordMatcher:r}}function dr(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function Xc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Zc(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 Zc(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="object"?s[n]:s;return t}function pr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function eu(e){return e.reduce((t,s)=>Q(t,s.meta),{})}function hr(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function bi(e,t){return t.children.some(s=>s===e||bi(e,s))}const vi=/#/g,tu=/&/g,su=/\//g,nu=/=/g,ru=/\?/g,wi=/\+/g,iu=/%5B/g,ou=/%5D/g,Ei=/%5E/g,lu=/%60/g,Ai=/%7B/g,cu=/%7C/g,xi=/%7D/g,uu=/%20/g;function En(e){return encodeURI(""+e).replace(cu,"|").replace(iu,"[").replace(ou,"]")}function au(e){return En(e).replace(Ai,"{").replace(xi,"}").replace(Ei,"^")}function Vs(e){return En(e).replace(wi,"%2B").replace(uu,"+").replace(vi,"%23").replace(tu,"%26").replace(lu,"`").replace(Ai,"{").replace(xi,"}").replace(Ei,"^")}function fu(e){return Vs(e).replace(nu,"%3D")}function du(e){return En(e).replace(vi,"%23").replace(ru,"%3F")}function pu(e){return e==null?"":du(e).replace(su,"%2F")}function ds(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function hu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const i=n[r].replace(wi," "),o=i.indexOf("="),u=ds(o<0?i:i.slice(0,o)),l=o<0?null:ds(i.slice(o+1));if(u in t){let f=t[u];Ae(f)||(f=t[u]=[f]),f.push(l)}else t[u]=l}return t}function gr(e){let t="";for(let s in e){const n=e[s];if(s=fu(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(Ae(n)?n.map(i=>i&&Vs(i)):[n&&Vs(n)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+s,i!=null&&(t+="="+i))})}return t}function gu(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=Ae(n)?n.map(r=>r==null?null:""+r):n==null?n:""+n)}return t}const mu=Symbol(""),mr=Symbol(""),An=Symbol(""),Pi=Symbol(""),Xs=Symbol("");function Tt(){let e=[];function t(n){return e.push(n),()=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function Je(e,t,s,n,r){const i=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const l=h=>{h===!1?u(At(4,{from:s,to:t})):h instanceof Error?u(h):Bc(h)?u(At(2,{from:t,to:h})):(i&&n.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},f=e.call(n&&n.instances[r],t,s,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(h=>u(h))})}function Hs(e,t,s,n){const r=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(_u(u)){const f=(u.__vccOpts||u)[t];f&&r.push(Je(f,s,n,i,o))}else{let l=u();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=Ac(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&Je(g,s,n,i,o)()}))}}return r}function _u(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _r(e){const t=Ne(An),s=Ne(Pi),n=ye(()=>t.resolve(mt(e.to))),r=ye(()=>{const{matched:l}=n.value,{length:f}=l,d=l[f-1],h=s.matched;if(!d||!h.length)return-1;const g=h.findIndex(Et.bind(null,d));if(g>-1)return g;const w=yr(l[f-2]);return f>1&&yr(d)===w&&h[h.length-1].path!==w?h.findIndex(Et.bind(null,l[f-2])):g}),i=ye(()=>r.value>-1&&wu(s.params,n.value.params)),o=ye(()=>r.value>-1&&r.value===s.matched.length-1&&gi(s.params,n.value.params));function u(l={}){return vu(l)?t[mt(e.replace)?"replace":"push"](mt(e.to)).catch(kt):Promise.resolve()}return{route:n,href:ye(()=>n.value.href),isActive:i,isExactActive:o,navigate:u}}const yu=Yr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_r,setup(e,{slots:t}){const s=_s(_r(e)),{options:n}=Ne(An),r=ye(()=>({[br(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[br(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const i=t.default&&t.default(s);return e.custom?i:di("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},i)}}}),bu=yu;function vu(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 wu(e,t){for(const s in t){const n=t[s],r=e[s];if(typeof n=="string"){if(n!==r)return!1}else if(!Ae(r)||r.length!==n.length||n.some((i,o)=>i!==r[o]))return!1}return!0}function yr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const br=(e,t,s)=>e??t??s,Eu=Yr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=Ne(Xs),r=ye(()=>e.route||n.value),i=Ne(mr,0),o=ye(()=>{let f=mt(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),u=ye(()=>r.value.matched[o.value]);ns(mr,ye(()=>o.value+1)),ns(mu,u),ns(Xs,r);const l=cs();return ts(()=>[l.value,u.value,e.name],([f,d,h],[g,w,S])=>{d&&(d.instances[h]=f,w&&w!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),f&&d&&(!w||!Et(d,w)||!g)&&(d.enterCallbacks[h]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=u.value,g=h&&h.components[d];if(!g)return vr(s.default,{Component:g,route:f});const w=h.props[d],S=w?w===!0?f.params:typeof w=="function"?w(f):w:null,k=di(g,Q({},S,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return vr(s.default,{Component:k,route:f})||k}}});function vr(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const Au=Eu;function xu(e){const t=Vc(e.routes,e),s=e.parseQuery||hu,n=e.stringifyQuery||gr,r=e.history,i=Tt(),o=Tt(),u=Tt(),l=yo(ze);let f=ze;dt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ms.bind(null,_=>""+_),h=Ms.bind(null,pu),g=Ms.bind(null,ds);function w(_,R){let x,O;return _i(_)?(x=t.getRecordMatcher(_),O=R):O=_,t.addRoute(O,x)}function S(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function C(){return t.getRoutes().map(_=>_.record)}function k(_){return!!t.getRecordMatcher(_)}function q(_,R){if(R=Q({},R||l.value),typeof _=="string"){const p=qs(s,_,R.path),m=t.resolve({path:p.path},R),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:ds(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:qs(s,_.path,R.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),R.params=h(R.params)}const O=t.resolve(x,R),W=_.hash||"";O.params=d(g(O.params));const c=Rc(n,Q({},_,{hash:au(W),path:O.path})),a=r.createHref(c);return Q({fullPath:c,hash:W,query:n===gr?gu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?qs(s,_,l.value.path):Q({},_)}function D(_,R){if(f!==_)return At(8,{from:R,to:_})}function j(_){return xe(_)}function ne(_){return j(Q(H(_),{replace:!0}))}function ce(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:x}=R;let O=typeof x=="function"?x(_):x;return typeof O=="string"&&(O=O.includes("?")||O.includes("#")?O=H(O):{path:O},O.params={}),Q({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function xe(_,R){const x=f=q(_),O=l.value,W=_.state,c=_.force,a=_.replace===!0,p=ce(x);if(p)return xe(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:c,replace:a}),R||x);const m=x;m.redirectedFrom=R;let y;return!c&&Ic(n,O,x)&&(y=At(16,{to:m,from:O}),Ie(O,O,!0,!1)),(y?Promise.resolve(y):Pe(m,O)).catch(b=>Fe(b)?Fe(b,2)?b:$e(b):z(b,m,O)).then(b=>{if(b){if(Fe(b,2))return xe(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:c}),R||m)}else b=Ze(m,O,!0,a,W);return De(m,O,b),b})}function He(_,R){const x=D(_,R);return x?Promise.reject(x):Promise.resolve()}function ot(_){const R=ut.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Pe(_,R){let x;const[O,W,c]=Pu(_,R);x=Hs(O.reverse(),"beforeRouteLeave",_,R);for(const p of O)p.leaveGuards.forEach(m=>{x.push(Je(m,_,R))});const a=He.bind(null,_,R);return x.push(a),re(x).then(()=>{x=[];for(const p of i.list())x.push(Je(p,_,R));return x.push(a),re(x)}).then(()=>{x=Hs(W,"beforeRouteUpdate",_,R);for(const p of W)p.updateGuards.forEach(m=>{x.push(Je(m,_,R))});return x.push(a),re(x)}).then(()=>{x=[];for(const p of c)if(p.beforeEnter)if(Ae(p.beforeEnter))for(const m of p.beforeEnter)x.push(Je(m,_,R));else x.push(Je(p.beforeEnter,_,R));return x.push(a),re(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Hs(c,"beforeRouteEnter",_,R),x.push(a),re(x))).then(()=>{x=[];for(const p of o.list())x.push(Je(p,_,R));return x.push(a),re(x)}).catch(p=>Fe(p,8)?p:Promise.reject(p))}function De(_,R,x){u.list().forEach(O=>ot(()=>O(_,R,x)))}function Ze(_,R,x,O,W){const c=D(_,R);if(c)return c;const a=R===ze,p=dt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Ie(_,R,x,a),$e()}let Re;function It(){Re||(Re=r.listen((_,R,x)=>{if(!Qt.listening)return;const O=q(_),W=ce(O);if(W){xe(Q(W,{replace:!0}),O).catch(kt);return}f=O;const c=l.value;dt&&jc(lr(c.fullPath,x.delta),xs()),Pe(O,c).catch(a=>Fe(a,12)?a:Fe(a,2)?(xe(a.to,O).then(p=>{Fe(p,20)&&!x.delta&&x.type===Wt.pop&&r.go(-1,!1)}).catch(kt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,c))).then(a=>{a=a||Ze(O,c,!1),a&&(x.delta&&!Fe(a,8)?r.go(-x.delta,!1):x.type===Wt.pop&&Fe(a,20)&&r.go(-1,!1)),De(O,c,a)}).catch(kt)}))}let lt=Tt(),ee=Tt(),G;function z(_,R,x){$e(_);const O=ee.list();return O.length?O.forEach(W=>W(_,R,x)):console.error(_),Promise.reject(_)}function je(){return G&&l.value!==ze?Promise.resolve():new Promise((_,R)=>{lt.add([_,R])})}function $e(_){return G||(G=!_,It(),lt.list().forEach(([R,x])=>_?x(_):R()),lt.reset()),_}function Ie(_,R,x,O){const{scrollBehavior:W}=e;if(!dt||!W)return Promise.resolve();const c=!x&&Fc(lr(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return $r().then(()=>W(_,R,c)).then(a=>a&&Hc(a)).catch(a=>z(a,_,R))}const ae=_=>r.go(_);let ct;const ut=new Set,Qt={currentRoute:l,listening:!0,addRoute:w,removeRoute:S,hasRoute:k,getRoutes:C,resolve:q,options:e,push:j,replace:ne,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:u.add,onError:ee.add,isReady:je,install(_){const R=this;_.component("RouterLink",bu),_.component("RouterView",Au),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(l)}),dt&&!ct&&l.value===ze&&(ct=!0,j(r.location).catch(W=>{}));const x={};for(const W in ze)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(An,R),_.provide(Pi,jr(x)),_.provide(Xs,l);const O=_.unmount;ut.add(_),_.unmount=function(){ut.delete(_),ut.size<1&&(f=ze,Re&&Re(),Re=null,l.value=ze,ct=!1,G=!1),O()}}};function re(_){return _.reduce((R,x)=>R.then(()=>ot(x)),Promise.resolve())}return Qt}function Pu(e,t){const s=[],n=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const u=t.matched[o];u&&(e.matched.find(f=>Et(f,u))?n.push(u):s.push(u));const l=e.matched[o];l&&(t.matched.find(f=>Et(f,l))||r.push(l))}return[s,n,r]}const Ru=xu({history:Uc("/"),routes:[]}),xn=Vl(Ec);xn.use(tc());xn.use(Ru);xn.mount("#app");
9
+ */const dt=typeof window<"u";function xc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Q=Object.assign;function Ms(e,t){const s={};for(const n in t){const r=t[n];s[n]=Ae(r)?r.map(e):e(r)}return s}const kt=()=>{},Ae=Array.isArray,Pc=/\/$/,Rc=e=>e.replace(Pc,"");function qs(e,t,s="/"){let n,r={},i="",o="";const u=t.indexOf("#");let l=t.indexOf("?");return u<l&&u>=0&&(l=-1),l>-1&&(n=t.slice(0,l),i=t.slice(l+1,u>-1?u:t.length),r=e(i)),u>-1&&(n=n||t.slice(0,u),o=t.slice(u,t.length)),n=Cc(n??t,s),{fullPath:n+(i&&"?")+i+o,path:n,query:r,hash:o}}function Ic(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function ir(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Sc(e,t,s){const n=t.matched.length-1,r=s.matched.length-1;return n>-1&&n===r&&Et(t.matched[n],s.matched[r])&&gi(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Et(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!Oc(e[s],t[s]))return!1;return!0}function Oc(e,t){return Ae(e)?or(e,t):Ae(t)?or(t,e):e===t}function or(e,t){return Ae(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function Cc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/"),r=n[n.length-1];(r===".."||r===".")&&n.push("");let i=s.length-1,o,u;for(o=0;o<n.length;o++)if(u=n[o],u!==".")if(u==="..")i>1&&i--;else break;return s.slice(0,i).join("/")+"/"+n.slice(o-(o===n.length?1:0)).join("/")}var Wt;(function(e){e.pop="pop",e.push="push"})(Wt||(Wt={}));var Lt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Lt||(Lt={}));function Tc(e){if(!e)if(dt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Rc(e)}const Mc=/^[^#]+#/;function qc(e,t){return e.replace(Mc,"#")+t}function Hc(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const xs=()=>({left:window.pageXOffset,top:window.pageYOffset});function jc(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;t=Hc(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 lr(e,t){return(history.state?history.state.position-t:-1)+e}const Ys=new Map;function Fc(e,t){Ys.set(e,t)}function kc(e){const t=Ys.get(e);return Ys.delete(e),t}let Lc=()=>location.protocol+"//"+location.host;function mi(e,t){const{pathname:s,search:n,hash:r}=t,i=e.indexOf("#");if(i>-1){let u=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(u);return l[0]!=="/"&&(l="/"+l),ir(l,"")}return ir(s,e)+n+r}function Nc(e,t,s,n){let r=[],i=[],o=null;const u=({state:g})=>{const w=mi(e,location),S=s.value,C=t.value;let k=0;if(g){if(s.value=w,t.value=g,o&&o===S){o=null;return}k=C?g.position-C.position:0}else n(w);r.forEach(q=>{q(s.value,S,{delta:k,type:Wt.pop,direction:k?k>0?Lt.forward:Lt.back:Lt.unknown})})};function l(){o=s.value}function f(g){r.push(g);const w=()=>{const S=r.indexOf(g);S>-1&&r.splice(S,1)};return i.push(w),w}function d(){const{history:g}=window;g.state&&g.replaceState(Q({},g.state,{scroll:xs()}),"")}function h(){for(const g of i)g();i=[],window.removeEventListener("popstate",u),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",u),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:f,destroy:h}}function cr(e,t,s,n=!1,r=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:r?xs():null}}function Uc(e){const{history:t,location:s}=window,n={value:mi(e,s)},r={value:t.state};r.value||i(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const h=e.indexOf("#"),g=h>-1?(s.host&&document.querySelector("base")?e:e.slice(h))+l:Lc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(w){console.error(w),s[d?"replace":"assign"](g)}}function o(l,f){const d=Q({},t.state,cr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),n.value=l}function u(l,f){const d=Q({},r.value,t.state,{forward:l,scroll:xs()});i(d.current,d,!0);const h=Q({},cr(n.value,l,null),{position:d.position+1},f);i(l,h,!1),n.value=l}return{location:n,state:r,push:u,replace:o}}function Bc(e){e=Tc(e);const t=Uc(e),s=Nc(e,t.state,t.location,t.replace);function n(i,o=!0){o||s.pauseListeners(),history.go(i)}const r=Q({location:"",base:e,go:n,createHref:qc.bind(null,e)},t,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Dc(e){return typeof e=="string"||e&&typeof e=="object"}function _i(e){return typeof e=="string"||typeof e=="symbol"}const We={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yi=Symbol("");var ur;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ur||(ur={}));function At(e,t){return Q(new Error,{type:e,[yi]:!0},t)}function Fe(e,t){return e instanceof Error&&yi in e&&(t==null||!!(e.type&t))}const ar="[^/]+?",$c={sensitive:!1,strict:!1,start:!0,end:!0},Kc=/[.+*?^${}()[\]/\\]/g;function zc(e,t){const s=Q({},$c,t),n=[];let r=s.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];s.strict&&!f.length&&(r+="/");for(let h=0;h<f.length;h++){const g=f[h];let w=40+(s.sensitive?.25:0);if(g.type===0)h||(r+="/"),r+=g.value.replace(Kc,"\\$&"),w+=40;else if(g.type===1){const{value:S,repeatable:C,optional:k,regexp:q}=g;i.push({name:S,repeatable:C,optional:k});const H=q||ar;if(H!==ar){w+=10;try{new RegExp(`(${H})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${S}" (${H}): `+j.message)}}let $=C?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;h||($=k&&f.length<2?`(?:/${$})`:"/"+$),k&&($+="?"),r+=$,w+=20,k&&(w+=-8),C&&(w+=-20),H===".*"&&(w+=-50)}d.push(w)}n.push(d)}if(s.strict&&s.end){const f=n.length-1;n[f][n[f].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const o=new RegExp(r,s.sensitive?"":"i");function u(f){const d=f.match(o),h={};if(!d)return null;for(let g=1;g<d.length;g++){const w=d[g]||"",S=i[g-1];h[S.name]=w&&S.repeatable?w.split("/"):w}return h}function l(f){let d="",h=!1;for(const g of e){(!h||!d.endsWith("/"))&&(d+="/"),h=!1;for(const w of g)if(w.type===0)d+=w.value;else if(w.type===1){const{value:S,repeatable:C,optional:k}=w,q=S in f?f[S]:"";if(Ae(q)&&!C)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const H=Ae(q)?q.join("/"):q;if(!H)if(k)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:n,keys:i,parse:u,stringify:l}}function Wc(e,t){let s=0;for(;s<e.length&&s<t.length;){const n=t[s]-e[s];if(n)return n;s++}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 Qc(e,t){let s=0;const n=e.score,r=t.score;for(;s<n.length&&s<r.length;){const i=Wc(n[s],r[s]);if(i)return i;s++}if(Math.abs(r.length-n.length)===1){if(fr(n))return 1;if(fr(r))return-1}return r.length-n.length}function fr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Jc={type:0,value:""},Gc=/[a-zA-Z0-9_]/;function Yc(e){if(!e)return[[]];if(e==="/")return[[Jc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${s})/"${f}": ${w}`)}let s=0,n=s;const r=[];let i;function o(){i&&r.push(i),i=[]}let u=0,l,f="",d="";function h(){f&&(s===0?i.push({type:0,value:f}):s===1||s===2||s===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(;u<e.length;){if(l=e[u++],l==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:l==="/"?(f&&h(),o()):l===":"?(h(),s=1):g();break;case 4:g(),s=n;break;case 1:l==="("?s=2:Gc.test(l)?g():(h(),s=0,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:s=3:d+=l;break;case 3:h(),s=0,l!=="*"&&l!=="?"&&l!=="+"&&u--,d="";break;default:t("Unknown state");break}}return s===2&&t(`Unfinished custom RegExp for param "${f}"`),h(),o(),r}function Vc(e,t,s){const n=zc(Yc(e.path),s),r=Q(n,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Xc(e,t){const s=[],n=new Map;t=hr({strict:!1,end:!0,sensitive:!1},t);function r(d){return n.get(d)}function i(d,h,g){const w=!g,S=Zc(d);S.aliasOf=g&&g.record;const C=hr(t,d),k=[S];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const j of $)k.push(Q({},S,{components:g?g.record.components:S.components,path:j,aliasOf:g?g.record:S}))}let q,H;for(const $ of k){const{path:j}=$;if(h&&j[0]!=="/"){const ne=h.record.path,ce=ne[ne.length-1]==="/"?"":"/";$.path=h.record.path+(j&&ce+j)}if(q=Vc($,h,C),g?g.alias.push(q):(H=H||q,H!==q&&H.alias.push(q),w&&d.name&&!pr(q)&&o(d.name)),S.children){const ne=S.children;for(let ce=0;ce<ne.length;ce++)i(ne[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)}:kt}function o(d){if(_i(d)){const h=n.get(d);h&&(n.delete(d),s.splice(s.indexOf(h),1),h.children.forEach(o),h.alias.forEach(o))}else{const h=s.indexOf(d);h>-1&&(s.splice(h,1),d.record.name&&n.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function u(){return s}function l(d){let h=0;for(;h<s.length&&Qc(d,s[h])>=0&&(d.record.path!==s[h].record.path||!bi(d,s[h]));)h++;s.splice(h,0,d),d.record.name&&!pr(d)&&n.set(d.record.name,d)}function f(d,h){let g,w={},S,C;if("name"in d&&d.name){if(g=n.get(d.name),!g)throw At(1,{location:d});C=g.record.name,w=Q(dr(h.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&dr(d.params,g.keys.map(H=>H.name))),S=g.stringify(w)}else if("path"in d)S=d.path,g=s.find(H=>H.re.test(S)),g&&(w=g.parse(S),C=g.record.name);else{if(g=h.name?n.get(h.name):s.find(H=>H.re.test(h.path)),!g)throw At(1,{location:d,currentLocation:h});C=g.record.name,w=Q({},h.params,d.params),S=g.stringify(w)}const k=[];let q=g;for(;q;)k.unshift(q.record),q=q.parent;return{name:C,path:S,params:w,matched:k,meta:tu(k)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:u,getRecordMatcher:r}}function dr(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function Zc(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:eu(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 eu(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="object"?s[n]:s;return t}function pr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function tu(e){return e.reduce((t,s)=>Q(t,s.meta),{})}function hr(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function bi(e,t){return t.children.some(s=>s===e||bi(e,s))}const vi=/#/g,su=/&/g,nu=/\//g,ru=/=/g,iu=/\?/g,wi=/\+/g,ou=/%5B/g,lu=/%5D/g,Ei=/%5E/g,cu=/%60/g,Ai=/%7B/g,uu=/%7C/g,xi=/%7D/g,au=/%20/g;function En(e){return encodeURI(""+e).replace(uu,"|").replace(ou,"[").replace(lu,"]")}function fu(e){return En(e).replace(Ai,"{").replace(xi,"}").replace(Ei,"^")}function Vs(e){return En(e).replace(wi,"%2B").replace(au,"+").replace(vi,"%23").replace(su,"%26").replace(cu,"`").replace(Ai,"{").replace(xi,"}").replace(Ei,"^")}function du(e){return Vs(e).replace(ru,"%3D")}function pu(e){return En(e).replace(vi,"%23").replace(iu,"%3F")}function hu(e){return e==null?"":pu(e).replace(nu,"%2F")}function ds(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function gu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const i=n[r].replace(wi," "),o=i.indexOf("="),u=ds(o<0?i:i.slice(0,o)),l=o<0?null:ds(i.slice(o+1));if(u in t){let f=t[u];Ae(f)||(f=t[u]=[f]),f.push(l)}else t[u]=l}return t}function gr(e){let t="";for(let s in e){const n=e[s];if(s=du(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(Ae(n)?n.map(i=>i&&Vs(i)):[n&&Vs(n)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+s,i!=null&&(t+="="+i))})}return t}function mu(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=Ae(n)?n.map(r=>r==null?null:""+r):n==null?n:""+n)}return t}const _u=Symbol(""),mr=Symbol(""),An=Symbol(""),Pi=Symbol(""),Xs=Symbol("");function Tt(){let e=[];function t(n){return e.push(n),()=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function Ge(e,t,s,n,r){const i=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const l=h=>{h===!1?u(At(4,{from:s,to:t})):h instanceof Error?u(h):Dc(h)?u(At(2,{from:t,to:h})):(i&&n.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),o())},f=e.call(n&&n.instances[r],t,s,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(h=>u(h))})}function Hs(e,t,s,n){const r=[];for(const i of e)for(const o in i.components){let u=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(yu(u)){const f=(u.__vccOpts||u)[t];f&&r.push(Ge(f,s,n,i,o))}else{let l=u();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const d=xc(f)?f.default:f;i.components[o]=d;const g=(d.__vccOpts||d)[t];return g&&Ge(g,s,n,i,o)()}))}}return r}function yu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function _r(e){const t=Ne(An),s=Ne(Pi),n=ye(()=>t.resolve(mt(e.to))),r=ye(()=>{const{matched:l}=n.value,{length:f}=l,d=l[f-1],h=s.matched;if(!d||!h.length)return-1;const g=h.findIndex(Et.bind(null,d));if(g>-1)return g;const w=yr(l[f-2]);return f>1&&yr(d)===w&&h[h.length-1].path!==w?h.findIndex(Et.bind(null,l[f-2])):g}),i=ye(()=>r.value>-1&&Eu(s.params,n.value.params)),o=ye(()=>r.value>-1&&r.value===s.matched.length-1&&gi(s.params,n.value.params));function u(l={}){return wu(l)?t[mt(e.replace)?"replace":"push"](mt(e.to)).catch(kt):Promise.resolve()}return{route:n,href:ye(()=>n.value.href),isActive:i,isExactActive:o,navigate:u}}const bu=Yr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:_r,setup(e,{slots:t}){const s=_s(_r(e)),{options:n}=Ne(An),r=ye(()=>({[br(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[br(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const i=t.default&&t.default(s);return e.custom?i:di("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},i)}}}),vu=bu;function wu(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 Eu(e,t){for(const s in t){const n=t[s],r=e[s];if(typeof n=="string"){if(n!==r)return!1}else if(!Ae(r)||r.length!==n.length||n.some((i,o)=>i!==r[o]))return!1}return!0}function yr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const br=(e,t,s)=>e??t??s,Au=Yr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=Ne(Xs),r=ye(()=>e.route||n.value),i=Ne(mr,0),o=ye(()=>{let f=mt(i);const{matched:d}=r.value;let h;for(;(h=d[f])&&!h.components;)f++;return f}),u=ye(()=>r.value.matched[o.value]);ns(mr,ye(()=>o.value+1)),ns(_u,u),ns(Xs,r);const l=cs();return ts(()=>[l.value,u.value,e.name],([f,d,h],[g,w,S])=>{d&&(d.instances[h]=f,w&&w!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),f&&d&&(!w||!Et(d,w)||!g)&&(d.enterCallbacks[h]||[]).forEach(C=>C(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,h=u.value,g=h&&h.components[d];if(!g)return vr(s.default,{Component:g,route:f});const w=h.props[d],S=w?w===!0?f.params:typeof w=="function"?w(f):w:null,k=di(g,Q({},S,t,{onVnodeUnmounted:q=>{q.component.isUnmounted&&(h.instances[d]=null)},ref:l}));return vr(s.default,{Component:k,route:f})||k}}});function vr(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const xu=Au;function Pu(e){const t=Xc(e.routes,e),s=e.parseQuery||gu,n=e.stringifyQuery||gr,r=e.history,i=Tt(),o=Tt(),u=Tt(),l=yo(We);let f=We;dt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ms.bind(null,_=>""+_),h=Ms.bind(null,hu),g=Ms.bind(null,ds);function w(_,R){let x,O;return _i(_)?(x=t.getRecordMatcher(_),O=R):O=_,t.addRoute(O,x)}function S(_){const R=t.getRecordMatcher(_);R&&t.removeRoute(R)}function C(){return t.getRoutes().map(_=>_.record)}function k(_){return!!t.getRecordMatcher(_)}function q(_,R){if(R=Q({},R||l.value),typeof _=="string"){const p=qs(s,_,R.path),m=t.resolve({path:p.path},R),y=r.createHref(p.fullPath);return Q(p,m,{params:g(m.params),hash:ds(p.hash),redirectedFrom:void 0,href:y})}let x;if("path"in _)x=Q({},_,{path:qs(s,_.path,R.path).path});else{const p=Q({},_.params);for(const m in p)p[m]==null&&delete p[m];x=Q({},_,{params:h(p)}),R.params=h(R.params)}const O=t.resolve(x,R),W=_.hash||"";O.params=d(g(O.params));const c=Ic(n,Q({},_,{hash:fu(W),path:O.path})),a=r.createHref(c);return Q({fullPath:c,hash:W,query:n===gr?mu(_.query):_.query||{}},O,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?qs(s,_,l.value.path):Q({},_)}function $(_,R){if(f!==_)return At(8,{from:R,to:_})}function j(_){return xe(_)}function ne(_){return j(Q(H(_),{replace:!0}))}function ce(_){const R=_.matched[_.matched.length-1];if(R&&R.redirect){const{redirect:x}=R;let O=typeof x=="function"?x(_):x;return typeof O=="string"&&(O=O.includes("?")||O.includes("#")?O=H(O):{path:O},O.params={}),Q({query:_.query,hash:_.hash,params:"path"in O?{}:_.params},O)}}function xe(_,R){const x=f=q(_),O=l.value,W=_.state,c=_.force,a=_.replace===!0,p=ce(x);if(p)return xe(Q(H(p),{state:typeof p=="object"?Q({},W,p.state):W,force:c,replace:a}),R||x);const m=x;m.redirectedFrom=R;let y;return!c&&Sc(n,O,x)&&(y=At(16,{to:m,from:O}),Ie(O,O,!0,!1)),(y?Promise.resolve(y):Pe(m,O)).catch(b=>Fe(b)?Fe(b,2)?b:Ke(b):z(b,m,O)).then(b=>{if(b){if(Fe(b,2))return xe(Q({replace:a},H(b.to),{state:typeof b.to=="object"?Q({},W,b.to.state):W,force:c}),R||m)}else b=Ze(m,O,!0,a,W);return $e(m,O,b),b})}function He(_,R){const x=$(_,R);return x?Promise.reject(x):Promise.resolve()}function ot(_){const R=ut.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(_):_()}function Pe(_,R){let x;const[O,W,c]=Ru(_,R);x=Hs(O.reverse(),"beforeRouteLeave",_,R);for(const p of O)p.leaveGuards.forEach(m=>{x.push(Ge(m,_,R))});const a=He.bind(null,_,R);return x.push(a),re(x).then(()=>{x=[];for(const p of i.list())x.push(Ge(p,_,R));return x.push(a),re(x)}).then(()=>{x=Hs(W,"beforeRouteUpdate",_,R);for(const p of W)p.updateGuards.forEach(m=>{x.push(Ge(m,_,R))});return x.push(a),re(x)}).then(()=>{x=[];for(const p of c)if(p.beforeEnter)if(Ae(p.beforeEnter))for(const m of p.beforeEnter)x.push(Ge(m,_,R));else x.push(Ge(p.beforeEnter,_,R));return x.push(a),re(x)}).then(()=>(_.matched.forEach(p=>p.enterCallbacks={}),x=Hs(c,"beforeRouteEnter",_,R),x.push(a),re(x))).then(()=>{x=[];for(const p of o.list())x.push(Ge(p,_,R));return x.push(a),re(x)}).catch(p=>Fe(p,8)?p:Promise.reject(p))}function $e(_,R,x){u.list().forEach(O=>ot(()=>O(_,R,x)))}function Ze(_,R,x,O,W){const c=$(_,R);if(c)return c;const a=R===We,p=dt?history.state:{};x&&(O||a?r.replace(_.fullPath,Q({scroll:a&&p&&p.scroll},W)):r.push(_.fullPath,W)),l.value=_,Ie(_,R,x,a),Ke()}let Re;function It(){Re||(Re=r.listen((_,R,x)=>{if(!Qt.listening)return;const O=q(_),W=ce(O);if(W){xe(Q(W,{replace:!0}),O).catch(kt);return}f=O;const c=l.value;dt&&Fc(lr(c.fullPath,x.delta),xs()),Pe(O,c).catch(a=>Fe(a,12)?a:Fe(a,2)?(xe(a.to,O).then(p=>{Fe(p,20)&&!x.delta&&x.type===Wt.pop&&r.go(-1,!1)}).catch(kt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),z(a,O,c))).then(a=>{a=a||Ze(O,c,!1),a&&(x.delta&&!Fe(a,8)?r.go(-x.delta,!1):x.type===Wt.pop&&Fe(a,20)&&r.go(-1,!1)),$e(O,c,a)}).catch(kt)}))}let lt=Tt(),ee=Tt(),G;function z(_,R,x){Ke(_);const O=ee.list();return O.length?O.forEach(W=>W(_,R,x)):console.error(_),Promise.reject(_)}function je(){return G&&l.value!==We?Promise.resolve():new Promise((_,R)=>{lt.add([_,R])})}function Ke(_){return G||(G=!_,It(),lt.list().forEach(([R,x])=>_?x(_):R()),lt.reset()),_}function Ie(_,R,x,O){const{scrollBehavior:W}=e;if(!dt||!W)return Promise.resolve();const c=!x&&kc(lr(_.fullPath,0))||(O||!x)&&history.state&&history.state.scroll||null;return $r().then(()=>W(_,R,c)).then(a=>a&&jc(a)).catch(a=>z(a,_,R))}const ae=_=>r.go(_);let ct;const ut=new Set,Qt={currentRoute:l,listening:!0,addRoute:w,removeRoute:S,hasRoute:k,getRoutes:C,resolve:q,options:e,push:j,replace:ne,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:u.add,onError:ee.add,isReady:je,install(_){const R=this;_.component("RouterLink",vu),_.component("RouterView",xu),_.config.globalProperties.$router=R,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(l)}),dt&&!ct&&l.value===We&&(ct=!0,j(r.location).catch(W=>{}));const x={};for(const W in We)Object.defineProperty(x,W,{get:()=>l.value[W],enumerable:!0});_.provide(An,R),_.provide(Pi,jr(x)),_.provide(Xs,l);const O=_.unmount;ut.add(_),_.unmount=function(){ut.delete(_),ut.size<1&&(f=We,Re&&Re(),Re=null,l.value=We,ct=!1,G=!1),O()}}};function re(_){return _.reduce((R,x)=>R.then(()=>ot(x)),Promise.resolve())}return Qt}function Ru(e,t){const s=[],n=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const u=t.matched[o];u&&(e.matched.find(f=>Et(f,u))?n.push(u):s.push(u));const l=e.matched[o];l&&(t.matched.find(f=>Et(f,l))||r.push(l))}return[s,n,r]}const Iu=Pu({history:Bc("/"),routes:[]}),xn=Vl(Ac);xn.use(tc());xn.use(Iu);xn.mount("#app");