evmux-app-framework 0.0.52 → 0.0.53

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.52",
3
+ "version": "0.0.53",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,6 +35,8 @@ export const availableRequests = {
35
35
  displayRichTextEditor: "displayRichTextEditor",
36
36
  displayToast: "displayToast",
37
37
  isSudioMode: "isSudioMode",
38
+ getStudioParams: "getStudioParams"
39
+
38
40
 
39
41
  }
40
42
 
@@ -120,6 +122,19 @@ let createEventResultObject = (requestName, eventName, result) => {
120
122
  this._sendPostMessageToUsrAppInstancesComponents(userAppInstanceId, eventObj, originComponentId)
121
123
  }
122
124
  }
125
+
126
+ updateAppsAboutStudioParams(data)
127
+ {
128
+
129
+ let eventObj = createEventResultObject("EvEvent", availableEvents.studioParamsUpdated, data)
130
+ Object.keys(this._userAppInstances).forEach((userAppInstanceId) => {
131
+ let theApp = this._userAppInstances[userAppInstanceId]
132
+ if(theApp.events[availableEvents.studioParamsUpdated]){
133
+ this._sendPostMessageToUsrAppInstancesComponents(userAppInstanceId, eventObj, null)
134
+ }
135
+ })
136
+
137
+ }
123
138
 
124
139
  async onPostMessage(evt) {
125
140
  let requestObj = {};
@@ -0,0 +1,20 @@
1
+ import AppsObserverRequestHandlerBase from './AppsObserverRequestHandlerBase'
2
+ import {availableRequests} from './AppsObserver'
3
+ export default class AppsObserverStudioHandler extends AppsObserverRequestHandlerBase {
4
+ constructor(){
5
+ super()
6
+ }
7
+
8
+ canHandleRequest(requestObj)
9
+ {
10
+ const supportedRequests = [availableRequests.getStudioParams];
11
+ return supportedRequests.includes(requestObj.request);
12
+ }
13
+
14
+ async getStudioParams(requestObj) {
15
+ return window.mockStudioParams || {
16
+ antiScaleValue: 1.0,
17
+ antiScaleValue2: 1.0,
18
+ }
19
+ }
20
+ }
@@ -7,6 +7,7 @@ import EvmuxAppsApiApps from './EvmuxAppsApiApps.js'
7
7
  import { availableRequests } from '../AppsObserver/AppsObserver.js'
8
8
  import EvmuxAppsApiSocial from "./EvmuxAppsApiSocial";
9
9
  import EvmuxAppsApiModules from "./EvmuxAppsApiModules";
10
+ import EvmuxAppsApiStudio from "./EvmuxAppsApiStudio";
10
11
 
11
12
  export const availableEvents = {
12
13
  settingsUpdated: "settingsUpdated",
@@ -18,7 +19,8 @@ export const availableEvents = {
18
19
  fastActionButton: "fastActionButton",
19
20
  doubleClickOnWidget: "doubleClickOnWidget",
20
21
  widgetOnFocus: "widgetGotFocus",
21
- widgetOnBlur: "widgetOnBlur"
22
+ widgetOnBlur: "widgetOnBlur",
23
+ studioParamsUpdated: "studioParamsUpdated",
22
24
  }
23
25
 
24
26
  export const layerTypes = {
@@ -57,6 +59,7 @@ export default class EvmuxAppsApi {
57
59
  this.scene = new EvmuxAppsApiScene(this);
58
60
  this.apps = new EvmuxAppsApiApps(this);
59
61
  this.modules = new EvmuxAppsApiModules(this);
62
+ this.studio = new EvmuxAppsApiStudio(this);
60
63
  }
61
64
 
62
65
  async registerEvent(eventName, callback)
@@ -0,0 +1,23 @@
1
+ import { availableRequests} from '../AppsObserver/AppsObserver'
2
+
3
+ export default class EvmuxAppsApiStudio {
4
+
5
+ constructor(evmuxAppsApi) {
6
+ this.evmuxAppsApi = evmuxAppsApi;
7
+ }
8
+
9
+ async getStudioParams() {
10
+
11
+ let reqObj = {
12
+ request: availableRequests.getStudioParams,
13
+ userAppInstanceId: this.evmuxAppsApi._userAppInstanceId,
14
+ componentId: this.evmuxAppsApi._componentId,
15
+ data: {
16
+ }
17
+ }
18
+ return this.evmuxAppsApi._postMessageManager.sendRequestAsync(reqObj);
19
+
20
+ }
21
+
22
+
23
+ }
@@ -1,9 +1,9 @@
1
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function es(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const Y={},ft=[],we=()=>{},Ri=()=>!1,Ci=/^on[^a-z]/,hn=e=>Ci.test(e),ts=e=>e.startsWith("onUpdate:"),ee=Object.assign,ns=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Si=Object.prototype.hasOwnProperty,U=(e,t)=>Si.call(e,t),B=Array.isArray,Tt=e=>pn(e)==="[object Map]",Oi=e=>pn(e)==="[object Set]",N=e=>typeof e=="function",te=e=>typeof e=="string",ss=e=>typeof e=="symbol",V=e=>e!==null&&typeof e=="object",xr=e=>V(e)&&N(e.then)&&N(e.catch),Ti=Object.prototype.toString,pn=e=>Ti.call(e),Mi=e=>pn(e).slice(8,-1),Fi=e=>pn(e)==="[object Object]",rs=e=>te(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=es(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hi=/-(\w)/g,gt=gn(e=>e.replace(Hi,(t,n)=>n?n.toUpperCase():"")),ji=/\B([A-Z])/g,wt=gn(e=>e.replace(ji,"-$1").toLowerCase()),Ir=gn(e=>e.charAt(0).toUpperCase()+e.slice(1)),In=gn(e=>e?`on${Ir(e)}`:""),qt=(e,t)=>!Object.is(e,t),Pn=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},on=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ki=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ss;const kn=()=>Ss||(Ss=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function is(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=te(s)?Li(s):is(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(te(e))return e;if(V(e))return e}}const qi=/;(?![^(]*\))/g,Bi=/:([^]+)/,Ni=/\/\*[^]*?\*\//g;function Li(e){const t={};return e.replace(Ni,"").split(qi).forEach(n=>{if(n){const s=n.split(Bi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function os(e){let t="";if(te(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=os(e[n]);s&&(t+=s+" ")}else if(V(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ui="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Di=es(Ui);function Pr(e){return!!e||e===""}let me;class Rr{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 n=me;try{return me=this,t()}finally{me=n}}}on(){me=this}off(){me=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function $i(e){return new Rr(e)}function Ki(e,t=me){t&&t.active&&t.effects.push(e)}function zi(){return me}const ls=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Cr=e=>(e.w&Je)>0,Sr=e=>(e.n&Je)>0,Wi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},Gi=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];Cr(r)&&!Sr(r)?r.delete(e):t[n++]=r,r.w&=~Je,r.n&=~Je}t.length=n}},qn=new WeakMap;let Ct=0,Je=1;const Bn=30;let _e;const tt=Symbol(""),Nn=Symbol("");class cs{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ki(this,s)}run(){if(!this.active)return this.fn();let t=_e,n=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=_e,_e=this,Ge=!0,Je=1<<++Ct,Ct<=Bn?Wi(this):Os(this),this.fn()}finally{Ct<=Bn&&Gi(this),Je=1<<--Ct,_e=this.parent,Ge=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){_e===this?this.deferStop=!0:this.active&&(Os(this),this.onStop&&this.onStop(),this.active=!1)}}function Os(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ge=!0;const Or=[];function Et(){Or.push(Ge),Ge=!1}function At(){const e=Or.pop();Ge=e===void 0?!0:e}function de(e,t,n){if(Ge&&_e){let s=qn.get(e);s||qn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=ls()),Tr(r)}}function Tr(e,t){let n=!1;Ct<=Bn?Sr(e)||(e.n|=Je,n=!Cr(e)):n=!e.has(_e),n&&(e.add(_e),_e.deps.push(e))}function Ne(e,t,n,s,r,i){const o=qn.get(e);if(!o)return;let u=[];if(t==="clear")u=[...o.values()];else if(n==="length"&&B(e)){const l=Number(s);o.forEach((f,d)=>{(d==="length"||d>=l)&&u.push(f)})}else switch(n!==void 0&&u.push(o.get(n)),t){case"add":B(e)?rs(n)&&u.push(o.get("length")):(u.push(o.get(tt)),Tt(e)&&u.push(o.get(Nn)));break;case"delete":B(e)||(u.push(o.get(tt)),Tt(e)&&u.push(o.get(Nn)));break;case"set":Tt(e)&&u.push(o.get(tt));break}if(u.length===1)u[0]&&Ln(u[0]);else{const l=[];for(const f of u)f&&l.push(...f);Ln(ls(l))}}function Ln(e,t){const n=B(e)?e:[...e];for(const s of n)s.computed&&Ts(s);for(const s of n)s.computed||Ts(s)}function Ts(e,t){(e!==_e||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Qi=es("__proto__,__v_isRef,__isVue"),Mr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ss)),Ji=us(),Yi=us(!1,!0),Vi=us(!0),Ms=Xi();function Xi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=$(this);for(let i=0,o=this.length;i<o;i++)de(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map($)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Et();const s=$(this)[t].apply(this,n);return At(),s}}),e}function Zi(e){const t=$(this);return de(t,"has",e),t.hasOwnProperty(e)}function us(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?mo:qr:t?kr:jr).get(s))return s;const o=B(s);if(!e){if(o&&U(Ms,r))return Reflect.get(Ms,r,i);if(r==="hasOwnProperty")return Zi}const u=Reflect.get(s,r,i);return(ss(r)?Mr.has(r):Qi(r))||(e||de(s,"get",r),t)?u:oe(u)?o&&rs(r)?u:u.value:V(u)?e?Nr(u):_n(u):u}}const eo=Fr(),to=Fr(!0);function Fr(e=!1){return function(n,s,r,i){let o=n[s];if(mt(o)&&oe(o)&&!oe(r))return!1;if(!e&&(!ln(r)&&!mt(r)&&(o=$(o),r=$(r)),!B(n)&&oe(o)&&!oe(r)))return o.value=r,!0;const u=B(n)&&rs(s)?Number(s)<n.length:U(n,s),l=Reflect.set(n,s,r,i);return n===$(i)&&(u?qt(r,o)&&Ne(n,"set",s,r):Ne(n,"add",s,r)),l}}function no(e,t){const n=U(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ne(e,"delete",t,void 0),s}function so(e,t){const n=Reflect.has(e,t);return(!ss(t)||!Mr.has(t))&&de(e,"has",t),n}function ro(e){return de(e,"iterate",B(e)?"length":tt),Reflect.ownKeys(e)}const Hr={get:Ji,set:eo,deleteProperty:no,has:so,ownKeys:ro},io={get:Vi,set(e,t){return!0},deleteProperty(e,t){return!0}},oo=ee({},Hr,{get:Yi,set:to}),as=e=>e,mn=e=>Reflect.getPrototypeOf(e);function Gt(e,t,n=!1,s=!1){e=e.__v_raw;const r=$(e),i=$(t);n||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=mn(r),u=s?as:n?ps:Bt;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 Qt(e,t=!1){const n=this.__v_raw,s=$(n),r=$(e);return t||(e!==r&&de(s,"has",e),de(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Jt(e,t=!1){return e=e.__v_raw,!t&&de($(e),"iterate",tt),Reflect.get(e,"size",e)}function Fs(e){e=$(e);const t=$(this);return mn(t).has.call(t,e)||(t.add(e),Ne(t,"add",e,e)),this}function Hs(e,t){t=$(t);const n=$(this),{has:s,get:r}=mn(n);let i=s.call(n,e);i||(e=$(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?qt(t,o)&&Ne(n,"set",e,t):Ne(n,"add",e,t),this}function js(e){const t=$(this),{has:n,get:s}=mn(t);let r=n.call(t,e);r||(e=$(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ne(t,"delete",e,void 0),i}function ks(){const e=$(this),t=e.size!==0,n=e.clear();return t&&Ne(e,"clear",void 0,void 0),n}function Yt(e,t){return function(s,r){const i=this,o=i.__v_raw,u=$(o),l=t?as:e?ps:Bt;return!e&&de(u,"iterate",tt),o.forEach((f,d)=>s.call(r,l(f),l(d),i))}}function Vt(e,t,n){return function(...s){const r=this.__v_raw,i=$(r),o=Tt(i),u=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...s),d=n?as:t?ps:Bt;return!t&&de(i,"iterate",l?Nn:tt),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:u?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function $e(e){return function(...t){return e==="delete"?!1:this}}function lo(){const e={get(i){return Gt(this,i)},get size(){return Jt(this)},has:Qt,add:Fs,set:Hs,delete:js,clear:ks,forEach:Yt(!1,!1)},t={get(i){return Gt(this,i,!1,!0)},get size(){return Jt(this)},has:Qt,add:Fs,set:Hs,delete:js,clear:ks,forEach:Yt(!1,!0)},n={get(i){return Gt(this,i,!0)},get size(){return Jt(this,!0)},has(i){return Qt.call(this,i,!0)},add:$e("add"),set:$e("set"),delete:$e("delete"),clear:$e("clear"),forEach:Yt(!0,!1)},s={get(i){return Gt(this,i,!0,!0)},get size(){return Jt(this,!0)},has(i){return Qt.call(this,i,!0)},add:$e("add"),set:$e("set"),delete:$e("delete"),clear:$e("clear"),forEach:Yt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vt(i,!1,!1),n[i]=Vt(i,!0,!1),t[i]=Vt(i,!1,!0),s[i]=Vt(i,!0,!0)}),[e,n,t,s]}const[co,uo,ao,fo]=lo();function fs(e,t){const n=t?e?fo:ao:e?uo:co;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(U(n,r)&&r in s?n:s,r,i)}const ho={get:fs(!1,!1)},po={get:fs(!1,!0)},go={get:fs(!0,!1)},jr=new WeakMap,kr=new WeakMap,qr=new WeakMap,mo=new WeakMap;function _o(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function vo(e){return e.__v_skip||!Object.isExtensible(e)?0:_o(Mi(e))}function _n(e){return mt(e)?e:ds(e,!1,Hr,ho,jr)}function Br(e){return ds(e,!1,oo,po,kr)}function Nr(e){return ds(e,!0,io,go,qr)}function ds(e,t,n,s,r){if(!V(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=vo(e);if(o===0)return e;const u=new Proxy(e,o===2?s:n);return r.set(e,u),u}function dt(e){return mt(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function ln(e){return!!(e&&e.__v_isShallow)}function Lr(e){return dt(e)||mt(e)}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function hs(e){return on(e,"__v_skip",!0),e}const Bt=e=>V(e)?_n(e):e,ps=e=>V(e)?Nr(e):e;function Ur(e){Ge&&_e&&(e=$(e),Tr(e.dep||(e.dep=ls())))}function Dr(e,t){e=$(e);const n=e.dep;n&&Ln(n)}function oe(e){return!!(e&&e.__v_isRef===!0)}function cn(e){return $r(e,!1)}function bo(e){return $r(e,!0)}function $r(e,t){return oe(e)?e:new yo(e,t)}class yo{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$(t),this._value=n?t:Bt(t)}get value(){return Ur(this),this._value}set value(t){const n=this.__v_isShallow||ln(t)||mt(t);t=n?t:$(t),qt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Bt(t),Dr(this))}}function ht(e){return oe(e)?e.value:e}const wo={get:(e,t,n)=>ht(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return oe(r)&&!oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Kr(e){return dt(e)?e:new Proxy(e,wo)}class Eo{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new cs(t,()=>{this._dirty||(this._dirty=!0,Dr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=$(this);return Ur(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ao(e,t,n=!1){let s,r;const i=N(e);return i?(s=e,r=we):(s=e.get,r=e.set),new Eo(s,r,i||!r,n)}function Qe(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){vn(i,t,n)}return r}function Ee(e,t,n,s){if(N(e)){const i=Qe(e,t,n,s);return i&&xr(i)&&i.catch(o=>{vn(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(Ee(e[i],t,n,s));return r}function vn(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,u=n;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){Qe(l,null,10,[e,o,u]);return}}xo(e,n,r,s)}function xo(e,t,n,s=!0){console.error(e)}let Nt=!1,Un=!1;const re=[];let Te=0;const pt=[];let ke=null,Ze=0;const zr=Promise.resolve();let gs=null;function Wr(e){const t=gs||zr;return e?t.then(this?e.bind(this):e):t}function Io(e){let t=Te+1,n=re.length;for(;t<n;){const s=t+n>>>1;Lt(re[s])<e?t=s+1:n=s}return t}function ms(e){(!re.length||!re.includes(e,Nt&&e.allowRecurse?Te+1:Te))&&(e.id==null?re.push(e):re.splice(Io(e.id),0,e),Gr())}function Gr(){!Nt&&!Un&&(Un=!0,gs=zr.then(Jr))}function Po(e){const t=re.indexOf(e);t>Te&&re.splice(t,1)}function Ro(e){B(e)?pt.push(...e):(!ke||!ke.includes(e,e.allowRecurse?Ze+1:Ze))&&pt.push(e),Gr()}function qs(e,t=Nt?Te+1:0){for(;t<re.length;t++){const n=re[t];n&&n.pre&&(re.splice(t,1),t--,n())}}function Qr(e){if(pt.length){const t=[...new Set(pt)];if(pt.length=0,ke){ke.push(...t);return}for(ke=t,ke.sort((n,s)=>Lt(n)-Lt(s)),Ze=0;Ze<ke.length;Ze++)ke[Ze]();ke=null,Ze=0}}const Lt=e=>e.id==null?1/0:e.id,Co=(e,t)=>{const n=Lt(e)-Lt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jr(e){Un=!1,Nt=!0,re.sort(Co);const t=we;try{for(Te=0;Te<re.length;Te++){const n=re[Te];n&&n.active!==!1&&Qe(n,null,14)}}finally{Te=0,re.length=0,Qr(),Nt=!1,gs=null,(re.length||pt.length)&&Jr()}}function So(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Y;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:p,trim:g}=s[d]||Y;g&&(r=n.map(w=>te(w)?w.trim():w)),p&&(r=n.map(ki))}let u,l=s[u=In(t)]||s[u=In(gt(t))];!l&&i&&(l=s[u=In(wt(t))]),l&&Ee(l,e,6,r);const f=s[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 Yr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},u=!1;if(!N(e)){const l=f=>{const d=Yr(f,t,!0);d&&(u=!0,ee(o,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!u?(V(e)&&s.set(e,null),null):(B(i)?i.forEach(l=>o[l]=null):ee(o,i),V(e)&&s.set(e,o),o)}function bn(e,t){return!e||!hn(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,wt(t))||U(e,t))}let Me=null,yn=null;function un(e){const t=Me;return Me=e,yn=e&&e.type.__scopeId||null,t}function Oo(e){yn=e}function To(){yn=null}function Mo(e,t=Me,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Gs(-1);const i=un(t);let o;try{o=e(...r)}finally{un(i),s._d&&Gs(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Rn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:u,attrs:l,emit:f,render:d,renderCache:p,data:g,setupState:w,ctx:C,inheritAttrs:O}=e;let q,F;const H=un(e);try{if(n.shapeFlag&4){const j=r||s;q=Oe(d.call(j,j,p,i,w,g,C)),F=l}else{const j=t;q=Oe(j.length>1?j(i,{attrs:l,slots:u,emit:f}):j(i,null)),F=t.props?l:Fo(l)}}catch(j){Ft.length=0,vn(j,e,1),q=ye(Ut)}let D=q;if(F&&O!==!1){const j=Object.keys(F),{shapeFlag:ne}=D;j.length&&ne&7&&(o&&j.some(ts)&&(F=Ho(F,o)),D=_t(D,F))}return n.dirs&&(D=_t(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),q=D,un(H),q}const Fo=e=>{let t;for(const n in e)(n==="class"||n==="style"||hn(n))&&((t||(t={}))[n]=e[n]);return t},Ho=(e,t)=>{const n={};for(const s in e)(!ts(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function jo(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:u,patchFlag:l}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Bs(s,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const g=d[p];if(o[g]!==s[g]&&!bn(f,g))return!0}}}else return(r||u)&&(!u||!u.$stable)?!0:s===o?!1:s?o?Bs(s,o,f):!0:!!o;return!1}function Bs(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(t[i]!==e[i]&&!bn(n,i))return!0}return!1}function ko({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const qo=e=>e.__isSuspense;function Bo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}const Xt={};function en(e,t,n){return Vr(e,t,n)}function Vr(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=Y){var u;const l=zi()===((u=ie)==null?void 0:u.scope)?ie:null;let f,d=!1,p=!1;if(oe(e)?(f=()=>e.value,d=ln(e)):dt(e)?(f=()=>e,s=!0):B(e)?(p=!0,d=e.some(j=>dt(j)||ln(j)),f=()=>e.map(j=>{if(oe(j))return j.value;if(dt(j))return at(j);if(N(j))return Qe(j,l,2)})):N(e)?t?f=()=>Qe(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[w])}:f=we,t&&s){const j=f;f=()=>at(j())}let g,w=j=>{g=H.onStop=()=>{Qe(j,l,4)}},C;if($t)if(w=we,t?n&&Ee(t,l,3,[f(),p?[]:void 0,w]):f(),r==="sync"){const j=Tl();C=j.__watcherHandles||(j.__watcherHandles=[])}else return we;let O=p?new Array(e.length).fill(Xt):Xt;const q=()=>{if(H.active)if(t){const j=H.run();(s||d||(p?j.some((ne,le)=>qt(ne,O[le])):qt(j,O)))&&(g&&g(),Ee(t,l,3,[j,O===Xt?void 0:p&&O[0]===Xt?[]:O,w]),O=j)}else H.run()};q.allowRecurse=!!t;let F;r==="sync"?F=q:r==="post"?F=()=>fe(q,l&&l.suspense):(q.pre=!0,l&&(q.id=l.uid),F=()=>ms(q));const H=new cs(f,F);t?n?q():O=H.run():r==="post"?fe(H.run.bind(H),l&&l.suspense):H.run();const D=()=>{H.stop(),l&&l.scope&&ns(l.scope.effects,H)};return C&&C.push(D),D}function No(e,t,n){const s=this.proxy,r=te(e)?e.includes(".")?Xr(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const o=ie;vt(this);const u=Vr(r,i.bind(s),n);return o?vt(o):nt(),u}function Xr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function at(e,t){if(!V(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),oe(e))at(e.value,t);else if(B(e))for(let n=0;n<e.length;n++)at(e[n],t);else if(Oi(e)||Tt(e))e.forEach(n=>{at(n,t)});else if(Fi(e))for(const n in e)at(e[n],t);return e}function Ve(e,t,n,s){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[s];l&&(Et(),Ee(l,n,8,[e.el,u,e,t]),At())}}function Zr(e,t){return N(e)?(()=>ee({name:e.name},t,{setup:e}))():e}const tn=e=>!!e.type.__asyncLoader,ei=e=>e.type.__isKeepAlive;function Lo(e,t){ti(e,"a",t)}function Uo(e,t){ti(e,"da",t)}function ti(e,t,n=ie){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(wn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ei(r.parent.vnode)&&Do(s,t,n,r),r=r.parent}}function Do(e,t,n,s){const r=wn(t,e,s,!0);si(()=>{ns(s[t],r)},n)}function wn(e,t,n=ie,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Et(),vt(n);const u=Ee(t,n,e,o);return nt(),At(),u});return s?r.unshift(i):r.push(i),i}}const Le=e=>(t,n=ie)=>(!$t||e==="sp")&&wn(e,(...s)=>t(...s),n),$o=Le("bm"),ni=Le("m"),Ko=Le("bu"),zo=Le("u"),Wo=Le("bum"),si=Le("um"),Go=Le("sp"),Qo=Le("rtg"),Jo=Le("rtc");function Yo(e,t=ie){wn("ec",e,t)}const Vo=Symbol.for("v-ndc"),Dn=e=>e?hi(e)?ws(e)||e.proxy:Dn(e.parent):null,Mt=ee(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=>Dn(e.parent),$root:e=>Dn(e.root),$emit:e=>e.emit,$options:e=>_s(e),$forceUpdate:e=>e.f||(e.f=()=>ms(e.update)),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>No.bind(e)}),Cn=(e,t)=>e!==Y&&!e.__isScriptSetup&&U(e,t),Xo={get({_:e},t){const{ctx:n,setupState:s,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 s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Cn(s,t))return o[t]=1,s[t];if(r!==Y&&U(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&U(f,t))return o[t]=3,i[t];if(n!==Y&&U(n,t))return o[t]=4,n[t];$n&&(o[t]=0)}}const d=Mt[t];let p,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((p=u.__cssModules)&&(p=p[t]))return p;if(n!==Y&&U(n,t))return o[t]=4,n[t];if(g=l.config.globalProperties,U(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Cn(r,t)?(r[t]=n,!0):s!==Y&&U(s,t)?(s[t]=n,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let u;return!!n[o]||e!==Y&&U(e,o)||Cn(t,o)||(u=i[0])&&U(u,o)||U(s,o)||U(Mt,o)||U(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:U(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ns(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let $n=!0;function Zo(e){const t=_s(e),n=e.proxy,s=e.ctx;$n=!1,t.beforeCreate&&Ls(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:u,provide:l,inject:f,created:d,beforeMount:p,mounted:g,beforeUpdate:w,updated:C,activated:O,deactivated:q,beforeDestroy:F,beforeUnmount:H,destroyed:D,unmounted:j,render:ne,renderTracked:le,renderTriggered:xe,errorCaptured:Fe,serverPrefetch:st,expose:Ie,inheritAttrs:Ue,components:Ye,directives:Pe,filters:xt}=t;if(f&&el(f,s,null),o)for(const Q in o){const K=o[Q];N(K)&&(s[Q]=K.bind(n))}if(r){const Q=r.call(n,n);V(Q)&&(e.data=_n(Q))}if($n=!0,i)for(const Q in i){const K=i[Q],He=N(K)?K.bind(n,n):N(K.get)?K.get.bind(n,n):we,De=!N(K)&&N(K.set)?K.set.bind(n):we,Re=ve({get:He,set:De});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ae=>Re.value=ae})}if(u)for(const Q in u)ri(u[Q],s,n,Q);if(l){const Q=N(l)?l.call(n):l;Reflect.ownKeys(Q).forEach(K=>{nn(K,Q[K])})}d&&Ls(d,e,"c");function Z(Q,K){B(K)?K.forEach(He=>Q(He.bind(n))):K&&Q(K.bind(n))}if(Z($o,p),Z(ni,g),Z(Ko,w),Z(zo,C),Z(Lo,O),Z(Uo,q),Z(Yo,Fe),Z(Jo,le),Z(Qo,xe),Z(Wo,H),Z(si,j),Z(Go,st),B(Ie))if(Ie.length){const Q=e.exposed||(e.exposed={});Ie.forEach(K=>{Object.defineProperty(Q,K,{get:()=>n[K],set:He=>n[K]=He})})}else e.exposed||(e.exposed={});ne&&e.render===we&&(e.render=ne),Ue!=null&&(e.inheritAttrs=Ue),Ye&&(e.components=Ye),Pe&&(e.directives=Pe)}function el(e,t,n=we){B(e)&&(e=Kn(e));for(const s in e){const r=e[s];let i;V(r)?"default"in r?i=Be(r.from||s,r.default,!0):i=Be(r.from||s):i=Be(r),oe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Ls(e,t,n){Ee(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ri(e,t,n,s){const r=s.includes(".")?Xr(n,s):()=>n[s];if(te(e)){const i=t[e];N(i)&&en(r,i)}else if(N(e))en(r,e.bind(n));else if(V(e))if(B(e))e.forEach(i=>ri(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&en(r,i,e)}}function _s(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,u=i.get(t);let l;return u?l=u:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>an(l,f,o,!0)),an(l,t,o)),V(t)&&i.set(t,l),l}function an(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&an(e,i,n,!0),r&&r.forEach(o=>an(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const u=tl[o]||n&&n[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const tl={data:Us,props:Ds,emits:Ds,methods:St,computed:St,beforeCreate:ce,created:ce,beforeMount:ce,mounted:ce,beforeUpdate:ce,updated:ce,beforeDestroy:ce,beforeUnmount:ce,destroyed:ce,unmounted:ce,activated:ce,deactivated:ce,errorCaptured:ce,serverPrefetch:ce,components:St,directives:St,watch:sl,provide:Us,inject:nl};function Us(e,t){return t?e?function(){return ee(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function nl(e,t){return St(Kn(e),Kn(t))}function Kn(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ce(e,t){return e?[...new Set([].concat(e,t))]:t}function St(e,t){return e?ee(Object.create(null),e,t):t}function Ds(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ee(Object.create(null),Ns(e),Ns(t??{})):t}function sl(e,t){if(!e)return t;if(!t)return e;const n=ee(Object.create(null),e);for(const s in t)n[s]=ce(e[s],t[s]);return n}function ii(){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 rl=0;function il(e,t){return function(s,r=null){N(s)||(s=ee({},s)),r!=null&&!V(r)&&(r=null);const i=ii(),o=new Set;let u=!1;const l=i.app={_uid:rl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Ml,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,p){if(!u){const g=ye(s,r);return g.appContext=i,d&&t?t(g,f):e(g,f,p),u=!0,l._container=f,f.__vue_app__=l,ws(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){fn=l;try{return f()}finally{fn=null}}};return l}}let fn=null;function nn(e,t){if(ie){let n=ie.provides;const s=ie.parent&&ie.parent.provides;s===n&&(n=ie.provides=Object.create(s)),n[e]=t}}function Be(e,t,n=!1){const s=ie||Me;if(s||fn){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:fn._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&N(t)?t.call(s&&s.proxy):t}}function ol(e,t,n,s=!1){const r={},i={};on(i,An,1),e.propsDefaults=Object.create(null),oi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Br(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ll(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,u=$(r),[l]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let g=d[p];if(bn(e.emitsOptions,g))continue;const w=t[g];if(l)if(U(i,g))w!==i[g]&&(i[g]=w,f=!0);else{const C=gt(g);r[C]=zn(l,u,C,w,e,!1)}else w!==i[g]&&(i[g]=w,f=!0)}}}else{oi(e,t,r,i)&&(f=!0);let d;for(const p in u)(!t||!U(t,p)&&((d=wt(p))===p||!U(t,d)))&&(l?n&&(n[p]!==void 0||n[d]!==void 0)&&(r[p]=zn(l,u,p,void 0,e,!0)):delete r[p]);if(i!==u)for(const p in i)(!t||!U(t,p))&&(delete i[p],f=!0)}f&&Ne(e,"set","$attrs")}function oi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,u;if(t)for(let l in t){if(Zt(l))continue;const f=t[l];let d;r&&U(r,d=gt(l))?!i||!i.includes(d)?n[d]=f:(u||(u={}))[d]=f:bn(e.emitsOptions,l)||(!(l in s)||f!==s[l])&&(s[l]=f,o=!0)}if(i){const l=$(n),f=u||Y;for(let d=0;d<i.length;d++){const p=i[d];n[p]=zn(r,l,p,f[p],e,!U(f,p))}}return o}function zn(e,t,n,s,r,i){const o=e[n];if(o!=null){const u=U(o,"default");if(u&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&N(l)){const{propsDefaults:f}=r;n in f?s=f[n]:(vt(r),s=f[n]=l.call(null,t),nt())}else s=l}o[0]&&(i&&!u?s=!1:o[1]&&(s===""||s===wt(n))&&(s=!0))}return s}function li(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},u=[];let l=!1;if(!N(e)){const d=p=>{l=!0;const[g,w]=li(p,t,!0);ee(o,g),w&&u.push(...w)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!l)return V(e)&&s.set(e,ft),ft;if(B(i))for(let d=0;d<i.length;d++){const p=gt(i[d]);$s(p)&&(o[p]=Y)}else if(i)for(const d in i){const p=gt(d);if($s(p)){const g=i[d],w=o[p]=B(g)||N(g)?{type:g}:ee({},g);if(w){const C=Ws(Boolean,w.type),O=Ws(String,w.type);w[0]=C>-1,w[1]=O<0||C<O,(C>-1||U(w,"default"))&&u.push(p)}}}const f=[o,u];return V(e)&&s.set(e,f),f}function $s(e){return e[0]!=="$"}function Ks(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zs(e,t){return Ks(e)===Ks(t)}function Ws(e,t){return B(t)?t.findIndex(n=>zs(n,e)):N(t)&&zs(t,e)?0:-1}const ci=e=>e[0]==="_"||e==="$stable",vs=e=>B(e)?e.map(Oe):[Oe(e)],cl=(e,t,n)=>{if(t._n)return t;const s=Mo((...r)=>vs(t(...r)),n);return s._c=!1,s},ui=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ci(r))continue;const i=e[r];if(N(i))t[r]=cl(r,i,s);else if(i!=null){const o=vs(i);t[r]=()=>o}}},ai=(e,t)=>{const n=vs(t);e.slots.default=()=>n},ul=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$(t),on(t,"_",n)):ui(t,e.slots={})}else e.slots={},t&&ai(e,t);on(e.slots,An,1)},al=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=Y;if(s.shapeFlag&32){const u=t._;u?n&&u===1?i=!1:(ee(r,t),!n&&u===1&&delete r._):(i=!t.$stable,ui(t,r)),o=t}else t&&(ai(e,t),o={default:1});if(i)for(const u in r)!ci(u)&&!(u in o)&&delete r[u]};function Wn(e,t,n,s,r=!1){if(B(e)){e.forEach((g,w)=>Wn(g,t&&(B(t)?t[w]:t),n,s,r));return}if(tn(s)&&!r)return;const i=s.shapeFlag&4?ws(s.component)||s.component.proxy:s.el,o=r?null:i,{i:u,r:l}=e,f=t&&t.r,d=u.refs===Y?u.refs={}:u.refs,p=u.setupState;if(f!=null&&f!==l&&(te(f)?(d[f]=null,U(p,f)&&(p[f]=null)):oe(f)&&(f.value=null)),N(l))Qe(l,u,12,[o,d]);else{const g=te(l),w=oe(l);if(g||w){const C=()=>{if(e.f){const O=g?U(p,l)?p[l]:d[l]:l.value;r?B(O)&&ns(O,i):B(O)?O.includes(i)||O.push(i):g?(d[l]=[i],U(p,l)&&(p[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,U(p,l)&&(p[l]=o)):w&&(l.value=o,e.k&&(d[e.k]=o))};o?(C.id=-1,fe(C,n)):C()}}}const fe=Bo;function fl(e){return dl(e)}function dl(e,t){const n=kn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:u,createComment:l,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:w=we,insertStaticContent:C}=e,O=(c,a,h,m=null,v=null,b=null,I=!1,E=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!Pt(c,a)&&(m=_(c),ae(c,v,b,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:y,ref:T,shapeFlag:R}=a;switch(y){case En:q(c,a,h,m);break;case Ut:F(c,a,h,m);break;case Sn:c==null&&H(a,h,m,I);break;case qe:Ye(c,a,h,m,v,b,I,E,A);break;default:R&1?ne(c,a,h,m,v,b,I,E,A):R&6?Pe(c,a,h,m,v,b,I,E,A):(R&64||R&128)&&y.process(c,a,h,m,v,b,I,E,A,x)}T!=null&&v&&Wn(T,c&&c.ref,b,a||c,!a)},q=(c,a,h,m)=>{if(c==null)s(a.el=u(a.children),h,m);else{const v=a.el=c.el;a.children!==c.children&&f(v,a.children)}},F=(c,a,h,m)=>{c==null?s(a.el=l(a.children||""),h,m):a.el=c.el},H=(c,a,h,m)=>{[c.el,c.anchor]=C(c.children,a,h,m,c.el,c.anchor)},D=({el:c,anchor:a},h,m)=>{let v;for(;c&&c!==a;)v=g(c),s(c,h,m),c=v;s(a,h,m)},j=({el:c,anchor:a})=>{let h;for(;c&&c!==a;)h=g(c),r(c),c=h;r(a)},ne=(c,a,h,m,v,b,I,E,A)=>{I=I||a.type==="svg",c==null?le(a,h,m,v,b,I,E,A):st(c,a,v,b,I,E,A)},le=(c,a,h,m,v,b,I,E)=>{let A,y;const{type:T,props:R,shapeFlag:M,transition:k,dirs:L}=c;if(A=c.el=o(c.type,b,R&&R.is,R),M&8?d(A,c.children):M&16&&Fe(c.children,A,null,m,v,b&&T!=="foreignObject",I,E),L&&Ve(c,null,m,"created"),xe(A,c,c.scopeId,I,m),R){for(const G in R)G!=="value"&&!Zt(G)&&i(A,G,null,R[G],b,c.children,m,v,se);"value"in R&&i(A,"value",null,R.value),(y=R.onVnodeBeforeMount)&&Se(y,m,c)}L&&Ve(c,null,m,"beforeMount");const J=(!v||v&&!v.pendingBranch)&&k&&!k.persisted;J&&k.beforeEnter(A),s(A,a,h),((y=R&&R.onVnodeMounted)||J||L)&&fe(()=>{y&&Se(y,m,c),J&&k.enter(A),L&&Ve(c,null,m,"mounted")},v)},xe=(c,a,h,m,v)=>{if(h&&w(c,h),m)for(let b=0;b<m.length;b++)w(c,m[b]);if(v){let b=v.subTree;if(a===b){const I=v.vnode;xe(c,I,I.scopeId,I.slotScopeIds,v.parent)}}},Fe=(c,a,h,m,v,b,I,E,A=0)=>{for(let y=A;y<c.length;y++){const T=c[y]=E?ze(c[y]):Oe(c[y]);O(null,T,a,h,m,v,b,I,E)}},st=(c,a,h,m,v,b,I)=>{const E=a.el=c.el;let{patchFlag:A,dynamicChildren:y,dirs:T}=a;A|=c.patchFlag&16;const R=c.props||Y,M=a.props||Y;let k;h&&Xe(h,!1),(k=M.onVnodeBeforeUpdate)&&Se(k,h,a,c),T&&Ve(a,c,h,"beforeUpdate"),h&&Xe(h,!0);const L=v&&a.type!=="foreignObject";if(y?Ie(c.dynamicChildren,y,E,h,m,L,b):I||K(c,a,E,null,h,m,L,b,!1),A>0){if(A&16)Ue(E,a,R,M,h,m,v);else if(A&2&&R.class!==M.class&&i(E,"class",null,M.class,v),A&4&&i(E,"style",R.style,M.style,v),A&8){const J=a.dynamicProps;for(let G=0;G<J.length;G++){const X=J[G],ge=R[X],lt=M[X];(lt!==ge||X==="value")&&i(E,X,ge,lt,v,c.children,h,m,se)}}A&1&&c.children!==a.children&&d(E,a.children)}else!I&&y==null&&Ue(E,a,R,M,h,m,v);((k=M.onVnodeUpdated)||T)&&fe(()=>{k&&Se(k,h,a,c),T&&Ve(a,c,h,"updated")},m)},Ie=(c,a,h,m,v,b,I)=>{for(let E=0;E<a.length;E++){const A=c[E],y=a[E],T=A.el&&(A.type===qe||!Pt(A,y)||A.shapeFlag&70)?p(A.el):h;O(A,y,T,null,m,v,b,I,!0)}},Ue=(c,a,h,m,v,b,I)=>{if(h!==m){if(h!==Y)for(const E in h)!Zt(E)&&!(E in m)&&i(c,E,h[E],null,I,a.children,v,b,se);for(const E in m){if(Zt(E))continue;const A=m[E],y=h[E];A!==y&&E!=="value"&&i(c,E,y,A,I,a.children,v,b,se)}"value"in m&&i(c,"value",h.value,m.value)}},Ye=(c,a,h,m,v,b,I,E,A)=>{const y=a.el=c?c.el:u(""),T=a.anchor=c?c.anchor:u("");let{patchFlag:R,dynamicChildren:M,slotScopeIds:k}=a;k&&(E=E?E.concat(k):k),c==null?(s(y,h,m),s(T,h,m),Fe(a.children,h,T,v,b,I,E,A)):R>0&&R&64&&M&&c.dynamicChildren?(Ie(c.dynamicChildren,M,h,v,b,I,E),(a.key!=null||v&&a===v.subTree)&&fi(c,a,!0)):K(c,a,h,T,v,b,I,E,A)},Pe=(c,a,h,m,v,b,I,E,A)=>{a.slotScopeIds=E,c==null?a.shapeFlag&512?v.ctx.activate(a,h,m,I,A):xt(a,h,m,v,b,I,A):rt(c,a,A)},xt=(c,a,h,m,v,b,I)=>{const E=c.component=xl(c,m,v);if(ei(c)&&(E.ctx.renderer=x),Il(E),E.asyncDep){if(v&&v.registerDep(E,Z),!c.el){const A=E.subTree=ye(Ut);F(null,A,a,h)}return}Z(E,c,a,h,v,b,I)},rt=(c,a,h)=>{const m=a.component=c.component;if(jo(c,a,h))if(m.asyncDep&&!m.asyncResolved){Q(m,a,h);return}else m.next=a,Po(m.update),m.update();else a.el=c.el,m.vnode=a},Z=(c,a,h,m,v,b,I)=>{const E=()=>{if(c.isMounted){let{next:T,bu:R,u:M,parent:k,vnode:L}=c,J=T,G;Xe(c,!1),T?(T.el=L.el,Q(c,T,I)):T=L,R&&Pn(R),(G=T.props&&T.props.onVnodeBeforeUpdate)&&Se(G,k,T,L),Xe(c,!0);const X=Rn(c),ge=c.subTree;c.subTree=X,O(ge,X,p(ge.el),_(ge),c,v,b),T.el=X.el,J===null&&ko(c,X.el),M&&fe(M,v),(G=T.props&&T.props.onVnodeUpdated)&&fe(()=>Se(G,k,T,L),v)}else{let T;const{el:R,props:M}=a,{bm:k,m:L,parent:J}=c,G=tn(a);if(Xe(c,!1),k&&Pn(k),!G&&(T=M&&M.onVnodeBeforeMount)&&Se(T,J,a),Xe(c,!0),R&&z){const X=()=>{c.subTree=Rn(c),z(R,c.subTree,c,v,null)};G?a.type.__asyncLoader().then(()=>!c.isUnmounted&&X()):X()}else{const X=c.subTree=Rn(c);O(null,X,h,m,c,v,b),a.el=X.el}if(L&&fe(L,v),!G&&(T=M&&M.onVnodeMounted)){const X=a;fe(()=>Se(T,J,X),v)}(a.shapeFlag&256||J&&tn(J.vnode)&&J.vnode.shapeFlag&256)&&c.a&&fe(c.a,v),c.isMounted=!0,a=h=m=null}},A=c.effect=new cs(E,()=>ms(y),c.scope),y=c.update=()=>A.run();y.id=c.uid,Xe(c,!0),y()},Q=(c,a,h)=>{a.component=c;const m=c.vnode.props;c.vnode=a,c.next=null,ll(c,a.props,m,h),al(c,a.children,h),Et(),qs(),At()},K=(c,a,h,m,v,b,I,E,A=!1)=>{const y=c&&c.children,T=c?c.shapeFlag:0,R=a.children,{patchFlag:M,shapeFlag:k}=a;if(M>0){if(M&128){De(y,R,h,m,v,b,I,E,A);return}else if(M&256){He(y,R,h,m,v,b,I,E,A);return}}k&8?(T&16&&se(y,v,b),R!==y&&d(h,R)):T&16?k&16?De(y,R,h,m,v,b,I,E,A):se(y,v,b,!0):(T&8&&d(h,""),k&16&&Fe(R,h,m,v,b,I,E,A))},He=(c,a,h,m,v,b,I,E,A)=>{c=c||ft,a=a||ft;const y=c.length,T=a.length,R=Math.min(y,T);let M;for(M=0;M<R;M++){const k=a[M]=A?ze(a[M]):Oe(a[M]);O(c[M],k,h,null,v,b,I,E,A)}y>T?se(c,v,b,!0,!1,R):Fe(a,h,m,v,b,I,E,A,R)},De=(c,a,h,m,v,b,I,E,A)=>{let y=0;const T=a.length;let R=c.length-1,M=T-1;for(;y<=R&&y<=M;){const k=c[y],L=a[y]=A?ze(a[y]):Oe(a[y]);if(Pt(k,L))O(k,L,h,null,v,b,I,E,A);else break;y++}for(;y<=R&&y<=M;){const k=c[R],L=a[M]=A?ze(a[M]):Oe(a[M]);if(Pt(k,L))O(k,L,h,null,v,b,I,E,A);else break;R--,M--}if(y>R){if(y<=M){const k=M+1,L=k<T?a[k].el:m;for(;y<=M;)O(null,a[y]=A?ze(a[y]):Oe(a[y]),h,L,v,b,I,E,A),y++}}else if(y>M)for(;y<=R;)ae(c[y],v,b,!0),y++;else{const k=y,L=y,J=new Map;for(y=L;y<=M;y++){const he=a[y]=A?ze(a[y]):Oe(a[y]);he.key!=null&&J.set(he.key,y)}let G,X=0;const ge=M-L+1;let lt=!1,Ps=0;const It=new Array(ge);for(y=0;y<ge;y++)It[y]=0;for(y=k;y<=R;y++){const he=c[y];if(X>=ge){ae(he,v,b,!0);continue}let Ce;if(he.key!=null)Ce=J.get(he.key);else for(G=L;G<=M;G++)if(It[G-L]===0&&Pt(he,a[G])){Ce=G;break}Ce===void 0?ae(he,v,b,!0):(It[Ce-L]=y+1,Ce>=Ps?Ps=Ce:lt=!0,O(he,a[Ce],h,null,v,b,I,E,A),X++)}const Rs=lt?hl(It):ft;for(G=Rs.length-1,y=ge-1;y>=0;y--){const he=L+y,Ce=a[he],Cs=he+1<T?a[he+1].el:m;It[y]===0?O(null,Ce,h,Cs,v,b,I,E,A):lt&&(G<0||y!==Rs[G]?Re(Ce,h,Cs,2):G--)}}},Re=(c,a,h,m,v=null)=>{const{el:b,type:I,transition:E,children:A,shapeFlag:y}=c;if(y&6){Re(c.component.subTree,a,h,m);return}if(y&128){c.suspense.move(a,h,m);return}if(y&64){I.move(c,a,h,x);return}if(I===qe){s(b,a,h);for(let R=0;R<A.length;R++)Re(A[R],a,h,m);s(c.anchor,a,h);return}if(I===Sn){D(c,a,h);return}if(m!==2&&y&1&&E)if(m===0)E.beforeEnter(b),s(b,a,h),fe(()=>E.enter(b),v);else{const{leave:R,delayLeave:M,afterLeave:k}=E,L=()=>s(b,a,h),J=()=>{R(b,()=>{L(),k&&k()})};M?M(b,L,J):J()}else s(b,a,h)},ae=(c,a,h,m=!1,v=!1)=>{const{type:b,props:I,ref:E,children:A,dynamicChildren:y,shapeFlag:T,patchFlag:R,dirs:M}=c;if(E!=null&&Wn(E,null,h,c,!0),T&256){a.ctx.deactivate(c);return}const k=T&1&&M,L=!tn(c);let J;if(L&&(J=I&&I.onVnodeBeforeUnmount)&&Se(J,a,c),T&6)Wt(c.component,h,m);else{if(T&128){c.suspense.unmount(h,m);return}k&&Ve(c,null,a,"beforeUnmount"),T&64?c.type.remove(c,a,h,v,x,m):y&&(b!==qe||R>0&&R&64)?se(y,a,h,!1,!0):(b===qe&&R&384||!v&&T&16)&&se(A,a,h),m&&it(c)}(L&&(J=I&&I.onVnodeUnmounted)||k)&&fe(()=>{J&&Se(J,a,c),k&&Ve(c,null,a,"unmounted")},h)},it=c=>{const{type:a,el:h,anchor:m,transition:v}=c;if(a===qe){ot(h,m);return}if(a===Sn){j(c);return}const b=()=>{r(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:I,delayLeave:E}=v,A=()=>I(h,b);E?E(c.el,b,A):A()}else b()},ot=(c,a)=>{let h;for(;c!==a;)h=g(c),r(c),c=h;r(a)},Wt=(c,a,h)=>{const{bum:m,scope:v,update:b,subTree:I,um:E}=c;m&&Pn(m),v.stop(),b&&(b.active=!1,ae(I,c,a,h)),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())},se=(c,a,h,m=!1,v=!1,b=0)=>{for(let I=b;I<c.length;I++)ae(c[I],a,h,m,v)},_=c=>c.shapeFlag&6?_(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),P=(c,a,h)=>{c==null?a._vnode&&ae(a._vnode,null,null,!0):O(a._vnode||null,c,a,null,null,null,h),qs(),Qr(),a._vnode=c},x={p:O,um:ae,m:Re,r:it,mt:xt,mc:Fe,pc:K,pbc:Ie,n:_,o:e};let S,z;return t&&([S,z]=t(x)),{render:P,hydrate:S,createApp:il(P,S)}}function Xe({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function fi(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const o=s[i];let u=r[i];u.shapeFlag&1&&!u.dynamicChildren&&((u.patchFlag<=0||u.patchFlag===32)&&(u=r[i]=ze(r[i]),u.el=o.el),n||fi(o,u)),u.type===En&&(u.el=o.el)}}function hl(e){const t=e.slice(),n=[0];let s,r,i,o,u;const l=e.length;for(s=0;s<l;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)u=i+o>>1,e[n[u]]<f?i=u+1:o=u;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const pl=e=>e.__isTeleport,qe=Symbol.for("v-fgt"),En=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),Sn=Symbol.for("v-stc"),Ft=[];let be=null;function gl(e=!1){Ft.push(be=e?null:[])}function ml(){Ft.pop(),be=Ft[Ft.length-1]||null}let Dt=1;function Gs(e){Dt+=e}function _l(e){return e.dynamicChildren=Dt>0?be||ft:null,ml(),Dt>0&&be&&be.push(e),e}function vl(e,t,n,s,r,i){return _l(pe(e,t,n,s,r,i,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const An="__vInternal",di=({key:e})=>e??null,sn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?te(e)||oe(e)||N(e)?{i:Me,r:e,k:t,f:!!n}:e:null);function pe(e,t=null,n=null,s=0,r=null,i=e===qe?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&sn(t),scopeId:yn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Me};return u?(bs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=te(n)?8:16),Dt>0&&!o&&be&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&be.push(l),l}const ye=bl;function bl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Vo)&&(e=Ut),Gn(e)){const u=_t(e,t,!0);return n&&bs(u,n),Dt>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=yl(t);let{class:u,style:l}=t;u&&!te(u)&&(t.class=os(u)),V(l)&&(Lr(l)&&!B(l)&&(l=ee({},l)),t.style=is(l))}const o=te(e)?1:qo(e)?128:pl(e)?64:V(e)?4:N(e)?2:0;return pe(e,t,n,s,r,o,i,!0)}function yl(e){return e?Lr(e)||An in e?ee({},e):e:null}function _t(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,u=t?wl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&di(u),ref:t&&t.ref?n&&r?B(r)?r.concat(sn(t)):[r,sn(t)]:sn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Ot(e=" ",t=0){return ye(En,null,e,t)}function Oe(e){return e==null||typeof e=="boolean"?ye(Ut):B(e)?ye(qe,null,e.slice()):typeof e=="object"?ze(e):ye(En,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function bs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),bs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(An in t)?t._ctx=Me:r===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else N(t)?(t={default:t,_ctx:Me},n=32):(t=String(t),s&64?(n=16,t=[Ot(t)]):n=8);e.children=t,e.shapeFlag|=n}function wl(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=os([t.class,s.class]));else if(r==="style")t.style=is([t.style,s.style]);else if(hn(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Se(e,t,n,s=null){Ee(e,t,7,[n,s])}const El=ii();let Al=0;function xl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||El,i={uid:Al++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Rr(!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:li(s,r),emitsOptions:Yr(s,r),emit:null,emitted:null,propsDefaults:Y,inheritAttrs:s.inheritAttrs,ctx:Y,data:Y,props:Y,attrs:Y,slots:Y,refs:Y,setupState:Y,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=So.bind(null,i),e.ce&&e.ce(i),i}let ie=null,ys,ct,Qs="__VUE_INSTANCE_SETTERS__";(ct=kn()[Qs])||(ct=kn()[Qs]=[]),ct.push(e=>ie=e),ys=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const vt=e=>{ys(e),e.scope.on()},nt=()=>{ie&&ie.scope.off(),ys(null)};function hi(e){return e.vnode.shapeFlag&4}let $t=!1;function Il(e,t=!1){$t=t;const{props:n,children:s}=e.vnode,r=hi(e);ol(e,n,r,t),ul(e,s);const i=r?Pl(e,t):void 0;return $t=!1,i}function Pl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=hs(new Proxy(e.ctx,Xo));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Cl(e):null;vt(e),Et();const i=Qe(s,e,0,[e.props,r]);if(At(),nt(),xr(i)){if(i.then(nt,nt),t)return i.then(o=>{Js(e,o,t)}).catch(o=>{vn(o,e,0)});e.asyncDep=i}else Js(e,i,t)}else pi(e,t)}function Js(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=Kr(t)),pi(e,n)}let Ys;function pi(e,t,n){const s=e.type;if(!e.render){if(!t&&Ys&&!s.render){const r=s.template||_s(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:u,compilerOptions:l}=s,f=ee(ee({isCustomElement:i,delimiters:u},o),l);s.render=Ys(r,f)}}e.render=s.render||we}vt(e),Et(),Zo(e),At(),nt()}function Rl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}}))}function Cl(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Rl(e)},slots:e.slots,emit:e.emit,expose:t}}function ws(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Kr(hs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Mt)return Mt[n](e)},has(t,n){return n in t||n in Mt}}))}function Sl(e){return N(e)&&"__vccOpts"in e}const ve=(e,t)=>Ao(e,t,$t);function gi(e,t,n){const s=arguments.length;return s===2?V(t)&&!B(t)?Gn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Gn(n)&&(n=[n]),ye(e,t,n))}const Ol=Symbol.for("v-scx"),Tl=()=>Be(Ol),Ml="3.3.4",Fl="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,Vs=et&&et.createElement("template"),Hl={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?et.createElementNS(Fl,e):et.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Vs.innerHTML=s?`<svg>${e}</svg>`:e;const u=Vs.content;if(s){const l=u.firstChild;for(;l.firstChild;)u.appendChild(l.firstChild);u.removeChild(l)}t.insertBefore(u,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function jl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function kl(e,t,n){const s=e.style,r=te(n);if(n&&!r){if(t&&!te(t))for(const i in t)n[i]==null&&Qn(s,i,"");for(const i in n)Qn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const Xs=/\s*!important$/;function Qn(e,t,n){if(B(n))n.forEach(s=>Qn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ql(e,t);Xs.test(n)?e.setProperty(wt(s),n.replace(Xs,""),"important"):e[s]=n}}const Zs=["Webkit","Moz","ms"],On={};function ql(e,t){const n=On[t];if(n)return n;let s=gt(t);if(s!=="filter"&&s in e)return On[t]=s;s=Ir(s);for(let r=0;r<Zs.length;r++){const i=Zs[r]+s;if(i in e)return On[t]=i}return t}const er="http://www.w3.org/1999/xlink";function Bl(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(er,t.slice(6,t.length)):e.setAttributeNS(er,t,n);else{const i=Di(t);n==null||i&&!Pr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function Nl(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}const u=e.tagName;if(t==="value"&&u!=="PROGRESS"&&!u.includes("-")){e._value=n;const f=u==="OPTION"?e.getAttribute("value"):e.value,d=n??"";f!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const f=typeof e[t];f==="boolean"?n=Pr(n):n==null&&f==="string"?(n="",l=!0):f==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Ll(e,t,n,s){e.addEventListener(t,n,s)}function Ul(e,t,n,s){e.removeEventListener(t,n,s)}function Dl(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[u,l]=$l(t);if(s){const f=i[t]=Wl(s,r);Ll(e,u,f,l)}else o&&(Ul(e,u,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function $l(e){let t;if(tr.test(e)){t={};let s;for(;s=e.match(tr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):wt(e.slice(2)),t]}let Tn=0;const Kl=Promise.resolve(),zl=()=>Tn||(Kl.then(()=>Tn=0),Tn=Date.now());function Wl(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ee(Gl(s,n.value),t,5,[s])};return n.value=e,n.attached=zl(),n}function Gl(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const nr=/^on[a-z]/,Ql=(e,t,n,s,r=!1,i,o,u,l)=>{t==="class"?jl(e,s,r):t==="style"?kl(e,n,s):hn(t)?ts(t)||Dl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jl(e,t,s,r))?Nl(e,t,s,i,o,u,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Bl(e,t,s,r))};function Jl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&nr.test(t)&&N(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||nr.test(t)&&te(n)?!1:t in e}const Yl=ee({patchProp:Ql},Hl);let sr;function Vl(){return sr||(sr=fl(Yl))}const Xl=(...e)=>{const t=Vl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Zl(s);if(!r)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Zl(e){return te(e)?document.querySelector(e):e}var ec=!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 Y={},ft=[],we=()=>{},Ri=()=>!1,Si=/^on[^a-z]/,ds=e=>Si.test(e),en=e=>e.startsWith("onUpdate:"),te=Object.assign,tn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Ci=Object.prototype.hasOwnProperty,U=(e,t)=>Ci.call(e,t),B=Array.isArray,Ot=e=>hs(e)==="[object Map]",Ti=e=>hs(e)==="[object Set]",L=e=>typeof e=="function",se=e=>typeof e=="string",sn=e=>typeof e=="symbol",V=e=>e!==null&&typeof e=="object",xr=e=>V(e)&&L(e.then)&&L(e.catch),Oi=Object.prototype.toString,hs=e=>Oi.call(e),Mi=e=>hs(e).slice(8,-1),Fi=e=>hs(e)==="[object Object]",nn=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=Zs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},ki=/-(\w)/g,gt=ps(e=>e.replace(ki,(t,s)=>s?s.toUpperCase():"")),Hi=/\B([A-Z])/g,wt=ps(e=>e.replace(Hi,"-$1").toLowerCase()),Ir=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),xs=ps(e=>e?`on${Ir(e)}`:""),qt=(e,t)=>!Object.is(e,t),Is=(e,t)=>{for(let s=0;s<e.length;s++)e[s](t)},is=(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 Cn;const Hs=()=>Cn||(Cn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function rn(e){if(B(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(V(e))return e}}const qi=/;(?![^(]*\))/g,Bi=/:([^]+)/,Li=/\/\*[^]*?\*\//g;function Ni(e){const t={};return e.replace(Li,"").split(qi).forEach(s=>{if(s){const n=s.split(Bi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function on(e){let t="";if(se(e))t=e;else if(B(e))for(let s=0;s<e.length;s++){const n=on(e[s]);n&&(t+=n+" ")}else if(V(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ui="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Di=Zs(Ui);function Pr(e){return!!e||e===""}let me;class Rr{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 $i(e){return new Rr(e)}function Ki(e,t=me){t&&t.active&&t.effects.push(e)}function zi(){return me}const ln=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Sr=e=>(e.w&Je)>0,Cr=e=>(e.n&Je)>0,Wi=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Je},Gi=e=>{const{deps:t}=e;if(t.length){let s=0;for(let n=0;n<t.length;n++){const r=t[n];Sr(r)&&!Cr(r)?r.delete(e):t[s++]=r,r.w&=~Je,r.n&=~Je}t.length=s}},js=new WeakMap;let St=0,Je=1;const qs=30;let ve;const tt=Symbol(""),Bs=Symbol("");class cn{constructor(t,s=null,n){this.fn=t,this.scheduler=s,this.active=!0,this.deps=[],this.parent=void 0,Ki(this,n)}run(){if(!this.active)return this.fn();let t=ve,s=Ge;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=ve,ve=this,Ge=!0,Je=1<<++St,St<=qs?Wi(this):Tn(this),this.fn()}finally{St<=qs&&Gi(this),Je=1<<--St,ve=this.parent,Ge=s,this.parent=void 0,this.deferStop&&this.stop()}}stop(){ve===this?this.deferStop=!0:this.active&&(Tn(this),this.onStop&&this.onStop(),this.active=!1)}}function Tn(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 Tr=[];function Et(){Tr.push(Ge),Ge=!1}function At(){const e=Tr.pop();Ge=e===void 0?!0:e}function de(e,t,s){if(Ge&&ve){let n=js.get(e);n||js.set(e,n=new Map);let r=n.get(s);r||n.set(s,r=ln()),Or(r)}}function Or(e,t){let s=!1;St<=qs?Cr(e)||(e.n|=Je,s=!Sr(e)):s=!e.has(ve),s&&(e.add(ve),ve.deps.push(e))}function Le(e,t,s,n,r,i){const o=js.get(e);if(!o)return;let u=[];if(t==="clear")u=[...o.values()];else if(s==="length"&&B(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":B(e)?nn(s)&&u.push(o.get("length")):(u.push(o.get(tt)),Ot(e)&&u.push(o.get(Bs)));break;case"delete":B(e)||(u.push(o.get(tt)),Ot(e)&&u.push(o.get(Bs)));break;case"set":Ot(e)&&u.push(o.get(tt));break}if(u.length===1)u[0]&&Ls(u[0]);else{const l=[];for(const f of u)f&&l.push(...f);Ls(ln(l))}}function Ls(e,t){const s=B(e)?e:[...e];for(const n of s)n.computed&&On(n);for(const n of s)n.computed||On(n)}function On(e,t){(e!==ve||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Qi=Zs("__proto__,__v_isRef,__isVue"),Mr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sn)),Ji=un(),Yi=un(!1,!0),Vi=un(!0),Mn=Xi();function Xi(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...s){const n=$(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($)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...s){Et();const n=$(this)[t].apply(this,s);return At(),n}}),e}function Zi(e){const t=$(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?mo:qr:t?jr:Hr).get(n))return n;const o=B(n);if(!e){if(o&&U(Mn,r))return Reflect.get(Mn,r,i);if(r==="hasOwnProperty")return Zi}const u=Reflect.get(n,r,i);return(sn(r)?Mr.has(r):Qi(r))||(e||de(n,"get",r),t)?u:le(u)?o&&nn(r)?u:u.value:V(u)?e?Lr(u):ms(u):u}}const eo=Fr(),to=Fr(!0);function Fr(e=!1){return function(s,n,r,i){let o=s[n];if(mt(o)&&le(o)&&!le(r))return!1;if(!e&&(!os(r)&&!mt(r)&&(o=$(o),r=$(r)),!B(s)&&le(o)&&!le(r)))return o.value=r,!0;const u=B(s)&&nn(n)?Number(n)<s.length:U(s,n),l=Reflect.set(s,n,r,i);return s===$(i)&&(u?qt(r,o)&&Le(s,"set",n,r):Le(s,"add",n,r)),l}}function so(e,t){const s=U(e,t);e[t];const n=Reflect.deleteProperty(e,t);return n&&s&&Le(e,"delete",t,void 0),n}function no(e,t){const s=Reflect.has(e,t);return(!sn(t)||!Mr.has(t))&&de(e,"has",t),s}function ro(e){return de(e,"iterate",B(e)?"length":tt),Reflect.ownKeys(e)}const kr={get:Ji,set:eo,deleteProperty:so,has:no,ownKeys:ro},io={get:Vi,set(e,t){return!0},deleteProperty(e,t){return!0}},oo=te({},kr,{get:Yi,set:to}),an=e=>e,gs=e=>Reflect.getPrototypeOf(e);function Gt(e,t,s=!1,n=!1){e=e.__v_raw;const r=$(e),i=$(t);s||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=gs(r),u=n?an:s?pn:Bt;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 Qt(e,t=!1){const s=this.__v_raw,n=$(s),r=$(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 Jt(e,t=!1){return e=e.__v_raw,!t&&de($(e),"iterate",tt),Reflect.get(e,"size",e)}function Fn(e){e=$(e);const t=$(this);return gs(t).has.call(t,e)||(t.add(e),Le(t,"add",e,e)),this}function kn(e,t){t=$(t);const s=$(this),{has:n,get:r}=gs(s);let i=n.call(s,e);i||(e=$(e),i=n.call(s,e));const o=r.call(s,e);return s.set(e,t),i?qt(t,o)&&Le(s,"set",e,t):Le(s,"add",e,t),this}function Hn(e){const t=$(this),{has:s,get:n}=gs(t);let r=s.call(t,e);r||(e=$(e),r=s.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return r&&Le(t,"delete",e,void 0),i}function jn(){const e=$(this),t=e.size!==0,s=e.clear();return t&&Le(e,"clear",void 0,void 0),s}function Yt(e,t){return function(n,r){const i=this,o=i.__v_raw,u=$(o),l=t?an:e?pn:Bt;return!e&&de(u,"iterate",tt),o.forEach((f,d)=>n.call(r,l(f),l(d),i))}}function Vt(e,t,s){return function(...n){const r=this.__v_raw,i=$(r),o=Ot(i),u=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,f=r[e](...n),d=s?an:t?pn:Bt;return!t&&de(i,"iterate",l?Bs:tt),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:u?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function $e(e){return function(...t){return e==="delete"?!1:this}}function lo(){const e={get(i){return Gt(this,i)},get size(){return Jt(this)},has:Qt,add:Fn,set:kn,delete:Hn,clear:jn,forEach:Yt(!1,!1)},t={get(i){return Gt(this,i,!1,!0)},get size(){return Jt(this)},has:Qt,add:Fn,set:kn,delete:Hn,clear:jn,forEach:Yt(!1,!0)},s={get(i){return Gt(this,i,!0)},get size(){return Jt(this,!0)},has(i){return Qt.call(this,i,!0)},add:$e("add"),set:$e("set"),delete:$e("delete"),clear:$e("clear"),forEach:Yt(!0,!1)},n={get(i){return Gt(this,i,!0,!0)},get size(){return Jt(this,!0)},has(i){return Qt.call(this,i,!0)},add:$e("add"),set:$e("set"),delete:$e("delete"),clear:$e("clear"),forEach:Yt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Vt(i,!1,!1),s[i]=Vt(i,!0,!1),t[i]=Vt(i,!1,!0),n[i]=Vt(i,!0,!0)}),[e,s,t,n]}const[co,uo,ao,fo]=lo();function fn(e,t){const s=t?e?fo:ao:e?uo:co;return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(U(s,r)&&r in n?s:n,r,i)}const ho={get:fn(!1,!1)},po={get:fn(!1,!0)},go={get:fn(!0,!1)},Hr=new WeakMap,jr=new WeakMap,qr=new WeakMap,mo=new WeakMap;function vo(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:vo(Mi(e))}function ms(e){return mt(e)?e:dn(e,!1,kr,ho,Hr)}function Br(e){return dn(e,!1,oo,po,jr)}function Lr(e){return dn(e,!0,io,go,qr)}function dn(e,t,s,n,r){if(!V(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 dt(e){return mt(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function os(e){return!!(e&&e.__v_isShallow)}function Nr(e){return dt(e)||mt(e)}function $(e){const t=e&&e.__v_raw;return t?$(t):e}function hn(e){return is(e,"__v_skip",!0),e}const Bt=e=>V(e)?ms(e):e,pn=e=>V(e)?Lr(e):e;function Ur(e){Ge&&ve&&(e=$(e),Or(e.dep||(e.dep=ln())))}function Dr(e,t){e=$(e);const s=e.dep;s&&Ls(s)}function le(e){return!!(e&&e.__v_isRef===!0)}function ls(e){return $r(e,!1)}function yo(e){return $r(e,!0)}function $r(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:$(t),this._value=s?t:Bt(t)}get value(){return Ur(this),this._value}set value(t){const s=this.__v_isShallow||os(t)||mt(t);t=s?t:$(t),qt(t,this._rawValue)&&(this._rawValue=t,this._value=s?t:Bt(t),Dr(this))}}function ht(e){return le(e)?e.value:e}const wo={get:(e,t,s)=>ht(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 Kr(e){return dt(e)?e:new Proxy(e,wo)}class Eo{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,Dr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const t=$(this);return Ur(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Ao(e,t,s=!1){let n,r;const i=L(e);return i?(n=e,r=we):(n=e.get,r=e.set),new Eo(n,r,i||!r,s)}function Qe(e,t,s,n){let r;try{r=n?e(...n):e()}catch(i){vs(i,t,s)}return r}function Ee(e,t,s,n){if(L(e)){const i=Qe(e,t,s,n);return i&&xr(i)&&i.catch(o=>{vs(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 vs(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){Qe(l,null,10,[e,o,u]);return}}xo(e,s,r,n)}function xo(e,t,s,n=!0){console.error(e)}let Lt=!1,Ns=!1;const ie=[];let Oe=0;const pt=[];let je=null,Ze=0;const zr=Promise.resolve();let gn=null;function Wr(e){const t=gn||zr;return e?t.then(this?e.bind(this):e):t}function Io(e){let t=Oe+1,s=ie.length;for(;t<s;){const n=t+s>>>1;Nt(ie[n])<e?t=n+1:s=n}return t}function mn(e){(!ie.length||!ie.includes(e,Lt&&e.allowRecurse?Oe+1:Oe))&&(e.id==null?ie.push(e):ie.splice(Io(e.id),0,e),Gr())}function Gr(){!Lt&&!Ns&&(Ns=!0,gn=zr.then(Jr))}function Po(e){const t=ie.indexOf(e);t>Oe&&ie.splice(t,1)}function Ro(e){B(e)?pt.push(...e):(!je||!je.includes(e,e.allowRecurse?Ze+1:Ze))&&pt.push(e),Gr()}function qn(e,t=Lt?Oe+1:0){for(;t<ie.length;t++){const s=ie[t];s&&s.pre&&(ie.splice(t,1),t--,s())}}function Qr(e){if(pt.length){const t=[...new Set(pt)];if(pt.length=0,je){je.push(...t);return}for(je=t,je.sort((s,n)=>Nt(s)-Nt(n)),Ze=0;Ze<je.length;Ze++)je[Ze]();je=null,Ze=0}}const Nt=e=>e.id==null?1/0:e.id,So=(e,t)=>{const s=Nt(e)-Nt(t);if(s===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return s};function Jr(e){Ns=!1,Lt=!0,ie.sort(So);const t=we;try{for(Oe=0;Oe<ie.length;Oe++){const s=ie[Oe];s&&s.active!==!1&&Qe(s,null,14)}}finally{Oe=0,ie.length=0,Qr(),Lt=!1,gn=null,(ie.length||pt.length)&&Jr()}}function Co(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Y;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:p,trim:g}=n[d]||Y;g&&(r=s.map(w=>se(w)?w.trim():w)),p&&(r=s.map(ji))}let u,l=n[u=xs(t)]||n[u=xs(gt(t))];!l&&i&&(l=n[u=xs(wt(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 Yr(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(!L(e)){const l=f=>{const d=Yr(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?(V(e)&&n.set(e,null),null):(B(i)?i.forEach(l=>o[l]=null):te(o,i),V(e)&&n.set(e,o),o)}function _s(e,t){return!e||!ds(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,wt(t))||U(e,t))}let Me=null,ys=null;function cs(e){const t=Me;return Me=e,ys=e&&e.type.__scopeId||null,t}function To(e){ys=e}function Oo(){ys=null}function Mo(e,t=Me,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Gn(-1);const i=cs(t);let o;try{o=e(...r)}finally{cs(i),n._d&&Gn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ps(e){const{type:t,vnode:s,proxy:n,withProxy:r,props:i,propsOptions:[o],slots:u,attrs:l,emit:f,render:d,renderCache:p,data:g,setupState:w,ctx:S,inheritAttrs:T}=e;let q,F;const k=cs(e);try{if(s.shapeFlag&4){const H=r||n;q=Te(d.call(H,H,p,i,w,g,S)),F=l}else{const H=t;q=Te(H.length>1?H(i,{attrs:l,slots:u,emit:f}):H(i,null)),F=t.props?l:Fo(l)}}catch(H){Ft.length=0,vs(H,e,1),q=be(Ut)}let D=q;if(F&&T!==!1){const H=Object.keys(F),{shapeFlag:ne}=D;H.length&&ne&7&&(o&&H.some(en)&&(F=ko(F,o)),D=vt(D,F))}return s.dirs&&(D=vt(D),D.dirs=D.dirs?D.dirs.concat(s.dirs):s.dirs),s.transition&&(D.transition=s.transition),q=D,cs(k),q}const Fo=e=>{let t;for(const s in e)(s==="class"||s==="style"||ds(s))&&((t||(t={}))[s]=e[s]);return t},ko=(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?Bn(n,o,f):!!o;if(l&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const g=d[p];if(o[g]!==n[g]&&!_s(f,g))return!0}}}else return(r||u)&&(!u||!u.$stable)?!0:n===o?!1:n?o?Bn(n,o,f):!0:!!o;return!1}function Bn(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]&&!_s(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 qo=e=>e.__isSuspense;function Bo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Ro(e)}const Xt={};function es(e,t,s){return Vr(e,t,s)}function Vr(e,t,{immediate:s,deep:n,flush:r,onTrack:i,onTrigger:o}=Y){var u;const l=zi()===((u=oe)==null?void 0:u.scope)?oe:null;let f,d=!1,p=!1;if(le(e)?(f=()=>e.value,d=os(e)):dt(e)?(f=()=>e,n=!0):B(e)?(p=!0,d=e.some(H=>dt(H)||os(H)),f=()=>e.map(H=>{if(le(H))return H.value;if(dt(H))return at(H);if(L(H))return Qe(H,l,2)})):L(e)?t?f=()=>Qe(e,l,2):f=()=>{if(!(l&&l.isUnmounted))return g&&g(),Ee(e,l,3,[w])}:f=we,t&&n){const H=f;f=()=>at(H())}let g,w=H=>{g=k.onStop=()=>{Qe(H,l,4)}},S;if($t)if(w=we,t?s&&Ee(t,l,3,[f(),p?[]:void 0,w]):f(),r==="sync"){const H=Ol();S=H.__watcherHandles||(H.__watcherHandles=[])}else return we;let T=p?new Array(e.length).fill(Xt):Xt;const q=()=>{if(k.active)if(t){const H=k.run();(n||d||(p?H.some((ne,ce)=>qt(ne,T[ce])):qt(H,T)))&&(g&&g(),Ee(t,l,3,[H,T===Xt?void 0:p&&T[0]===Xt?[]:T,w]),T=H)}else k.run()};q.allowRecurse=!!t;let F;r==="sync"?F=q:r==="post"?F=()=>fe(q,l&&l.suspense):(q.pre=!0,l&&(q.id=l.uid),F=()=>mn(q));const k=new cn(f,F);t?s?q():T=k.run():r==="post"?fe(k.run.bind(k),l&&l.suspense):k.run();const D=()=>{k.stop(),l&&l.scope&&tn(l.scope.effects,k)};return S&&S.push(D),D}function Lo(e,t,s){const n=this.proxy,r=se(e)?e.includes(".")?Xr(n,e):()=>n[e]:e.bind(n,n);let i;L(t)?i=t:(i=t.handler,s=t);const o=oe;_t(this);const u=Vr(r,i.bind(n),s);return o?_t(o):st(),u}function Xr(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 at(e,t){if(!V(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),le(e))at(e.value,t);else if(B(e))for(let s=0;s<e.length;s++)at(e[s],t);else if(Ti(e)||Ot(e))e.forEach(s=>{at(s,t)});else if(Fi(e))for(const s in e)at(e[s],t);return e}function Ve(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&&(Et(),Ee(l,s,8,[e.el,u,e,t]),At())}}function Zr(e,t){return L(e)?(()=>te({name:e.name},t,{setup:e}))():e}const ts=e=>!!e.type.__asyncLoader,ei=e=>e.type.__isKeepAlive;function No(e,t){ti(e,"a",t)}function Uo(e,t){ti(e,"da",t)}function ti(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(bs(t,n,s),s){let r=s.parent;for(;r&&r.parent;)ei(r.parent.vnode)&&Do(n,t,s,r),r=r.parent}}function Do(e,t,s,n){const r=bs(t,e,n,!0);ni(()=>{tn(n[t],r)},s)}function bs(e,t,s=oe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(s.isUnmounted)return;Et(),_t(s);const u=Ee(t,s,e,o);return st(),At(),u});return n?r.unshift(i):r.push(i),i}}const Ne=e=>(t,s=oe)=>(!$t||e==="sp")&&bs(e,(...n)=>t(...n),s),$o=Ne("bm"),si=Ne("m"),Ko=Ne("bu"),zo=Ne("u"),Wo=Ne("bum"),ni=Ne("um"),Go=Ne("sp"),Qo=Ne("rtg"),Jo=Ne("rtc");function Yo(e,t=oe){bs("ec",e,t)}const Vo=Symbol.for("v-ndc"),Us=e=>e?hi(e)?wn(e)||e.proxy:Us(e.parent):null,Mt=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=>Us(e.parent),$root:e=>Us(e.root),$emit:e=>e.emit,$options:e=>vn(e),$forceUpdate:e=>e.f||(e.f=()=>mn(e.update)),$nextTick:e=>e.n||(e.n=Wr.bind(e.proxy)),$watch:e=>Lo.bind(e)}),Rs=(e,t)=>e!==Y&&!e.__isScriptSetup&&U(e,t),Xo={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(Rs(n,t))return o[t]=1,n[t];if(r!==Y&&U(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&U(f,t))return o[t]=3,i[t];if(s!==Y&&U(s,t))return o[t]=4,s[t];Ds&&(o[t]=0)}}const d=Mt[t];let p,g;if(d)return t==="$attrs"&&de(e,"get",t),d(e);if((p=u.__cssModules)&&(p=p[t]))return p;if(s!==Y&&U(s,t))return o[t]=4,s[t];if(g=l.config.globalProperties,U(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Rs(r,t)?(r[t]=s,!0):n!==Y&&U(n,t)?(n[t]=s,!0):U(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!==Y&&U(e,o)||Rs(t,o)||(u=i[0])&&U(u,o)||U(n,o)||U(Mt,o)||U(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:U(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Ln(e){return B(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ds=!0;function Zo(e){const t=vn(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:p,mounted:g,beforeUpdate:w,updated:S,activated:T,deactivated:q,beforeDestroy:F,beforeUnmount:k,destroyed:D,unmounted:H,render:ne,renderTracked:ce,renderTriggered:xe,errorCaptured:Fe,serverPrefetch:nt,expose:Ie,inheritAttrs:Ue,components:Ye,directives:Pe,filters:xt}=t;if(f&&el(f,n,null),o)for(const Q in o){const K=o[Q];L(K)&&(n[Q]=K.bind(s))}if(r){const Q=r.call(s,s);V(Q)&&(e.data=ms(Q))}if(Ds=!0,i)for(const Q in i){const K=i[Q],ke=L(K)?K.bind(s,s):L(K.get)?K.get.bind(s,s):we,De=!L(K)&&L(K.set)?K.set.bind(s):we,Re=_e({get:ke,set:De});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ae=>Re.value=ae})}if(u)for(const Q in u)ri(u[Q],n,s,Q);if(l){const Q=L(l)?l.call(s):l;Reflect.ownKeys(Q).forEach(K=>{ss(K,Q[K])})}d&&Nn(d,e,"c");function ee(Q,K){B(K)?K.forEach(ke=>Q(ke.bind(s))):K&&Q(K.bind(s))}if(ee($o,p),ee(si,g),ee(Ko,w),ee(zo,S),ee(No,T),ee(Uo,q),ee(Yo,Fe),ee(Jo,ce),ee(Qo,xe),ee(Wo,k),ee(ni,H),ee(Go,nt),B(Ie))if(Ie.length){const Q=e.exposed||(e.exposed={});Ie.forEach(K=>{Object.defineProperty(Q,K,{get:()=>s[K],set:ke=>s[K]=ke})})}else e.exposed||(e.exposed={});ne&&e.render===we&&(e.render=ne),Ue!=null&&(e.inheritAttrs=Ue),Ye&&(e.components=Ye),Pe&&(e.directives=Pe)}function el(e,t,s=we){B(e)&&(e=$s(e));for(const n in e){const r=e[n];let i;V(r)?"default"in r?i=Be(r.from||n,r.default,!0):i=Be(r.from||n):i=Be(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(B(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function ri(e,t,s,n){const r=n.includes(".")?Xr(s,n):()=>s[n];if(se(e)){const i=t[e];L(i)&&es(r,i)}else if(L(e))es(r,e.bind(s));else if(V(e))if(B(e))e.forEach(i=>ri(i,t,s,n));else{const i=L(e.handler)?e.handler.bind(s):t[e.handler];L(i)&&es(r,i,e)}}function vn(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=>us(l,f,o,!0)),us(l,t,o)),V(t)&&i.set(t,l),l}function us(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&us(e,i,s,!0),r&&r.forEach(o=>us(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const u=tl[o]||s&&s[o];e[o]=u?u(e[o],t[o]):t[o]}return e}const tl={data:Un,props:Dn,emits:Dn,methods:Ct,computed:Ct,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:Ct,directives:Ct,watch:nl,provide:Un,inject:sl};function Un(e,t){return t?e?function(){return te(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function sl(e,t){return Ct($s(e),$s(t))}function $s(e){if(B(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 Ct(e,t){return e?te(Object.create(null),e,t):t}function Dn(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:te(Object.create(null),Ln(e),Ln(t??{})):t}function nl(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 ii(){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 rl=0;function il(e,t){return function(n,r=null){L(n)||(n=te({},n)),r!=null&&!V(r)&&(r=null);const i=ii(),o=new Set;let u=!1;const l=i.app={_uid:rl++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:Ml,get config(){return i.config},set config(f){},use(f,...d){return o.has(f)||(f&&L(f.install)?(o.add(f),f.install(l,...d)):L(f)&&(o.add(f),f(l,...d))),l},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),l},component(f,d){return d?(i.components[f]=d,l):i.components[f]},directive(f,d){return d?(i.directives[f]=d,l):i.directives[f]},mount(f,d,p){if(!u){const g=be(n,r);return g.appContext=i,d&&t?t(g,f):e(g,f,p),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){as=l;try{return f()}finally{as=null}}};return l}}let as=null;function ss(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 Be(e,t,s=!1){const n=oe||Me;if(n||as){const r=n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:as._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return s&&L(t)?t.call(n&&n.proxy):t}}function ol(e,t,s,n=!1){const r={},i={};is(i,Es,1),e.propsDefaults=Object.create(null),oi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Br(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function ll(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,u=$(r),[l]=e.propsOptions;let f=!1;if((n||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let g=d[p];if(_s(e.emitsOptions,g))continue;const w=t[g];if(l)if(U(i,g))w!==i[g]&&(i[g]=w,f=!0);else{const S=gt(g);r[S]=Ks(l,u,S,w,e,!1)}else w!==i[g]&&(i[g]=w,f=!0)}}}else{oi(e,t,r,i)&&(f=!0);let d;for(const p in u)(!t||!U(t,p)&&((d=wt(p))===p||!U(t,d)))&&(l?s&&(s[p]!==void 0||s[d]!==void 0)&&(r[p]=Ks(l,u,p,void 0,e,!0)):delete r[p]);if(i!==u)for(const p in i)(!t||!U(t,p))&&(delete i[p],f=!0)}f&&Le(e,"set","$attrs")}function oi(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,u;if(t)for(let l in t){if(Zt(l))continue;const f=t[l];let d;r&&U(r,d=gt(l))?!i||!i.includes(d)?s[d]=f:(u||(u={}))[d]=f:_s(e.emitsOptions,l)||(!(l in n)||f!==n[l])&&(n[l]=f,o=!0)}if(i){const l=$(s),f=u||Y;for(let d=0;d<i.length;d++){const p=i[d];s[p]=Ks(r,l,p,f[p],e,!U(f,p))}}return o}function Ks(e,t,s,n,r,i){const o=e[s];if(o!=null){const u=U(o,"default");if(u&&n===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&L(l)){const{propsDefaults:f}=r;s in f?n=f[s]:(_t(r),n=f[s]=l.call(null,t),st())}else n=l}o[0]&&(i&&!u?n=!1:o[1]&&(n===""||n===wt(s))&&(n=!0))}return n}function li(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(!L(e)){const d=p=>{l=!0;const[g,w]=li(p,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 V(e)&&n.set(e,ft),ft;if(B(i))for(let d=0;d<i.length;d++){const p=gt(i[d]);$n(p)&&(o[p]=Y)}else if(i)for(const d in i){const p=gt(d);if($n(p)){const g=i[d],w=o[p]=B(g)||L(g)?{type:g}:te({},g);if(w){const S=Wn(Boolean,w.type),T=Wn(String,w.type);w[0]=S>-1,w[1]=T<0||S<T,(S>-1||U(w,"default"))&&u.push(p)}}}const f=[o,u];return V(e)&&n.set(e,f),f}function $n(e){return e[0]!=="$"}function Kn(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function zn(e,t){return Kn(e)===Kn(t)}function Wn(e,t){return B(t)?t.findIndex(s=>zn(s,e)):L(t)&&zn(t,e)?0:-1}const ci=e=>e[0]==="_"||e==="$stable",_n=e=>B(e)?e.map(Te):[Te(e)],cl=(e,t,s)=>{if(t._n)return t;const n=Mo((...r)=>_n(t(...r)),s);return n._c=!1,n},ui=(e,t,s)=>{const n=e._ctx;for(const r in e){if(ci(r))continue;const i=e[r];if(L(i))t[r]=cl(r,i,n);else if(i!=null){const o=_n(i);t[r]=()=>o}}},ai=(e,t)=>{const s=_n(t);e.slots.default=()=>s},ul=(e,t)=>{if(e.vnode.shapeFlag&32){const s=t._;s?(e.slots=$(t),is(t,"_",s)):ui(t,e.slots={})}else e.slots={},t&&ai(e,t);is(e.slots,Es,1)},al=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=Y;if(n.shapeFlag&32){const u=t._;u?s&&u===1?i=!1:(te(r,t),!s&&u===1&&delete r._):(i=!t.$stable,ui(t,r)),o=t}else t&&(ai(e,t),o={default:1});if(i)for(const u in r)!ci(u)&&!(u in o)&&delete r[u]};function zs(e,t,s,n,r=!1){if(B(e)){e.forEach((g,w)=>zs(g,t&&(B(t)?t[w]:t),s,n,r));return}if(ts(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===Y?u.refs={}:u.refs,p=u.setupState;if(f!=null&&f!==l&&(se(f)?(d[f]=null,U(p,f)&&(p[f]=null)):le(f)&&(f.value=null)),L(l))Qe(l,u,12,[o,d]);else{const g=se(l),w=le(l);if(g||w){const S=()=>{if(e.f){const T=g?U(p,l)?p[l]:d[l]:l.value;r?B(T)&&tn(T,i):B(T)?T.includes(i)||T.push(i):g?(d[l]=[i],U(p,l)&&(p[l]=d[l])):(l.value=[i],e.k&&(d[e.k]=l.value))}else g?(d[l]=o,U(p,l)&&(p[l]=o)):w&&(l.value=o,e.k&&(d[e.k]=o))};o?(S.id=-1,fe(S,s)):S()}}}const fe=Bo;function fl(e){return dl(e)}function dl(e,t){const s=Hs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:u,createComment:l,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:w=we,insertStaticContent:S}=e,T=(c,a,h,m=null,_=null,y=null,I=!1,E=null,A=!!a.dynamicChildren)=>{if(c===a)return;c&&!Pt(c,a)&&(m=v(c),ae(c,_,y,!0),c=null),a.patchFlag===-2&&(A=!1,a.dynamicChildren=null);const{type:b,ref:O,shapeFlag:R}=a;switch(b){case ws:q(c,a,h,m);break;case Ut:F(c,a,h,m);break;case Ss:c==null&&k(a,h,m,I);break;case qe:Ye(c,a,h,m,_,y,I,E,A);break;default:R&1?ne(c,a,h,m,_,y,I,E,A):R&6?Pe(c,a,h,m,_,y,I,E,A):(R&64||R&128)&&b.process(c,a,h,m,_,y,I,E,A,x)}O!=null&&_&&zs(O,c&&c.ref,y,a||c,!a)},q=(c,a,h,m)=>{if(c==null)n(a.el=u(a.children),h,m);else{const _=a.el=c.el;a.children!==c.children&&f(_,a.children)}},F=(c,a,h,m)=>{c==null?n(a.el=l(a.children||""),h,m):a.el=c.el},k=(c,a,h,m)=>{[c.el,c.anchor]=S(c.children,a,h,m,c.el,c.anchor)},D=({el:c,anchor:a},h,m)=>{let _;for(;c&&c!==a;)_=g(c),n(c,h,m),c=_;n(a,h,m)},H=({el:c,anchor:a})=>{let h;for(;c&&c!==a;)h=g(c),r(c),c=h;r(a)},ne=(c,a,h,m,_,y,I,E,A)=>{I=I||a.type==="svg",c==null?ce(a,h,m,_,y,I,E,A):nt(c,a,_,y,I,E,A)},ce=(c,a,h,m,_,y,I,E)=>{let A,b;const{type:O,props:R,shapeFlag:M,transition:j,dirs:N}=c;if(A=c.el=o(c.type,y,R&&R.is,R),M&8?d(A,c.children):M&16&&Fe(c.children,A,null,m,_,y&&O!=="foreignObject",I,E),N&&Ve(c,null,m,"created"),xe(A,c,c.scopeId,I,m),R){for(const G in R)G!=="value"&&!Zt(G)&&i(A,G,null,R[G],y,c.children,m,_,re);"value"in R&&i(A,"value",null,R.value),(b=R.onVnodeBeforeMount)&&Ce(b,m,c)}N&&Ve(c,null,m,"beforeMount");const J=(!_||_&&!_.pendingBranch)&&j&&!j.persisted;J&&j.beforeEnter(A),n(A,a,h),((b=R&&R.onVnodeMounted)||J||N)&&fe(()=>{b&&Ce(b,m,c),J&&j.enter(A),N&&Ve(c,null,m,"mounted")},_)},xe=(c,a,h,m,_)=>{if(h&&w(c,h),m)for(let y=0;y<m.length;y++)w(c,m[y]);if(_){let y=_.subTree;if(a===y){const I=_.vnode;xe(c,I,I.scopeId,I.slotScopeIds,_.parent)}}},Fe=(c,a,h,m,_,y,I,E,A=0)=>{for(let b=A;b<c.length;b++){const O=c[b]=E?ze(c[b]):Te(c[b]);T(null,O,a,h,m,_,y,I,E)}},nt=(c,a,h,m,_,y,I)=>{const E=a.el=c.el;let{patchFlag:A,dynamicChildren:b,dirs:O}=a;A|=c.patchFlag&16;const R=c.props||Y,M=a.props||Y;let j;h&&Xe(h,!1),(j=M.onVnodeBeforeUpdate)&&Ce(j,h,a,c),O&&Ve(a,c,h,"beforeUpdate"),h&&Xe(h,!0);const N=_&&a.type!=="foreignObject";if(b?Ie(c.dynamicChildren,b,E,h,m,N,y):I||K(c,a,E,null,h,m,N,y,!1),A>0){if(A&16)Ue(E,a,R,M,h,m,_);else if(A&2&&R.class!==M.class&&i(E,"class",null,M.class,_),A&4&&i(E,"style",R.style,M.style,_),A&8){const J=a.dynamicProps;for(let G=0;G<J.length;G++){const X=J[G],ge=R[X],lt=M[X];(lt!==ge||X==="value")&&i(E,X,ge,lt,_,c.children,h,m,re)}}A&1&&c.children!==a.children&&d(E,a.children)}else!I&&b==null&&Ue(E,a,R,M,h,m,_);((j=M.onVnodeUpdated)||O)&&fe(()=>{j&&Ce(j,h,a,c),O&&Ve(a,c,h,"updated")},m)},Ie=(c,a,h,m,_,y,I)=>{for(let E=0;E<a.length;E++){const A=c[E],b=a[E],O=A.el&&(A.type===qe||!Pt(A,b)||A.shapeFlag&70)?p(A.el):h;T(A,b,O,null,m,_,y,I,!0)}},Ue=(c,a,h,m,_,y,I)=>{if(h!==m){if(h!==Y)for(const E in h)!Zt(E)&&!(E in m)&&i(c,E,h[E],null,I,a.children,_,y,re);for(const E in m){if(Zt(E))continue;const A=m[E],b=h[E];A!==b&&E!=="value"&&i(c,E,b,A,I,a.children,_,y,re)}"value"in m&&i(c,"value",h.value,m.value)}},Ye=(c,a,h,m,_,y,I,E,A)=>{const b=a.el=c?c.el:u(""),O=a.anchor=c?c.anchor:u("");let{patchFlag:R,dynamicChildren:M,slotScopeIds:j}=a;j&&(E=E?E.concat(j):j),c==null?(n(b,h,m),n(O,h,m),Fe(a.children,h,O,_,y,I,E,A)):R>0&&R&64&&M&&c.dynamicChildren?(Ie(c.dynamicChildren,M,h,_,y,I,E),(a.key!=null||_&&a===_.subTree)&&fi(c,a,!0)):K(c,a,h,O,_,y,I,E,A)},Pe=(c,a,h,m,_,y,I,E,A)=>{a.slotScopeIds=E,c==null?a.shapeFlag&512?_.ctx.activate(a,h,m,I,A):xt(a,h,m,_,y,I,A):rt(c,a,A)},xt=(c,a,h,m,_,y,I)=>{const E=c.component=xl(c,m,_);if(ei(c)&&(E.ctx.renderer=x),Il(E),E.asyncDep){if(_&&_.registerDep(E,ee),!c.el){const A=E.subTree=be(Ut);F(null,A,a,h)}return}ee(E,c,a,h,_,y,I)},rt=(c,a,h)=>{const m=a.component=c.component;if(Ho(c,a,h))if(m.asyncDep&&!m.asyncResolved){Q(m,a,h);return}else m.next=a,Po(m.update),m.update();else a.el=c.el,m.vnode=a},ee=(c,a,h,m,_,y,I)=>{const E=()=>{if(c.isMounted){let{next:O,bu:R,u:M,parent:j,vnode:N}=c,J=O,G;Xe(c,!1),O?(O.el=N.el,Q(c,O,I)):O=N,R&&Is(R),(G=O.props&&O.props.onVnodeBeforeUpdate)&&Ce(G,j,O,N),Xe(c,!0);const X=Ps(c),ge=c.subTree;c.subTree=X,T(ge,X,p(ge.el),v(ge),c,_,y),O.el=X.el,J===null&&jo(c,X.el),M&&fe(M,_),(G=O.props&&O.props.onVnodeUpdated)&&fe(()=>Ce(G,j,O,N),_)}else{let O;const{el:R,props:M}=a,{bm:j,m:N,parent:J}=c,G=ts(a);if(Xe(c,!1),j&&Is(j),!G&&(O=M&&M.onVnodeBeforeMount)&&Ce(O,J,a),Xe(c,!0),R&&z){const X=()=>{c.subTree=Ps(c),z(R,c.subTree,c,_,null)};G?a.type.__asyncLoader().then(()=>!c.isUnmounted&&X()):X()}else{const X=c.subTree=Ps(c);T(null,X,h,m,c,_,y),a.el=X.el}if(N&&fe(N,_),!G&&(O=M&&M.onVnodeMounted)){const X=a;fe(()=>Ce(O,J,X),_)}(a.shapeFlag&256||J&&ts(J.vnode)&&J.vnode.shapeFlag&256)&&c.a&&fe(c.a,_),c.isMounted=!0,a=h=m=null}},A=c.effect=new cn(E,()=>mn(b),c.scope),b=c.update=()=>A.run();b.id=c.uid,Xe(c,!0),b()},Q=(c,a,h)=>{a.component=c;const m=c.vnode.props;c.vnode=a,c.next=null,ll(c,a.props,m,h),al(c,a.children,h),Et(),qn(),At()},K=(c,a,h,m,_,y,I,E,A=!1)=>{const b=c&&c.children,O=c?c.shapeFlag:0,R=a.children,{patchFlag:M,shapeFlag:j}=a;if(M>0){if(M&128){De(b,R,h,m,_,y,I,E,A);return}else if(M&256){ke(b,R,h,m,_,y,I,E,A);return}}j&8?(O&16&&re(b,_,y),R!==b&&d(h,R)):O&16?j&16?De(b,R,h,m,_,y,I,E,A):re(b,_,y,!0):(O&8&&d(h,""),j&16&&Fe(R,h,m,_,y,I,E,A))},ke=(c,a,h,m,_,y,I,E,A)=>{c=c||ft,a=a||ft;const b=c.length,O=a.length,R=Math.min(b,O);let M;for(M=0;M<R;M++){const j=a[M]=A?ze(a[M]):Te(a[M]);T(c[M],j,h,null,_,y,I,E,A)}b>O?re(c,_,y,!0,!1,R):Fe(a,h,m,_,y,I,E,A,R)},De=(c,a,h,m,_,y,I,E,A)=>{let b=0;const O=a.length;let R=c.length-1,M=O-1;for(;b<=R&&b<=M;){const j=c[b],N=a[b]=A?ze(a[b]):Te(a[b]);if(Pt(j,N))T(j,N,h,null,_,y,I,E,A);else break;b++}for(;b<=R&&b<=M;){const j=c[R],N=a[M]=A?ze(a[M]):Te(a[M]);if(Pt(j,N))T(j,N,h,null,_,y,I,E,A);else break;R--,M--}if(b>R){if(b<=M){const j=M+1,N=j<O?a[j].el:m;for(;b<=M;)T(null,a[b]=A?ze(a[b]):Te(a[b]),h,N,_,y,I,E,A),b++}}else if(b>M)for(;b<=R;)ae(c[b],_,y,!0),b++;else{const j=b,N=b,J=new Map;for(b=N;b<=M;b++){const he=a[b]=A?ze(a[b]):Te(a[b]);he.key!=null&&J.set(he.key,b)}let G,X=0;const ge=M-N+1;let lt=!1,Pn=0;const It=new Array(ge);for(b=0;b<ge;b++)It[b]=0;for(b=j;b<=R;b++){const he=c[b];if(X>=ge){ae(he,_,y,!0);continue}let Se;if(he.key!=null)Se=J.get(he.key);else for(G=N;G<=M;G++)if(It[G-N]===0&&Pt(he,a[G])){Se=G;break}Se===void 0?ae(he,_,y,!0):(It[Se-N]=b+1,Se>=Pn?Pn=Se:lt=!0,T(he,a[Se],h,null,_,y,I,E,A),X++)}const Rn=lt?hl(It):ft;for(G=Rn.length-1,b=ge-1;b>=0;b--){const he=N+b,Se=a[he],Sn=he+1<O?a[he+1].el:m;It[b]===0?T(null,Se,h,Sn,_,y,I,E,A):lt&&(G<0||b!==Rn[G]?Re(Se,h,Sn,2):G--)}}},Re=(c,a,h,m,_=null)=>{const{el:y,type:I,transition:E,children:A,shapeFlag:b}=c;if(b&6){Re(c.component.subTree,a,h,m);return}if(b&128){c.suspense.move(a,h,m);return}if(b&64){I.move(c,a,h,x);return}if(I===qe){n(y,a,h);for(let R=0;R<A.length;R++)Re(A[R],a,h,m);n(c.anchor,a,h);return}if(I===Ss){D(c,a,h);return}if(m!==2&&b&1&&E)if(m===0)E.beforeEnter(y),n(y,a,h),fe(()=>E.enter(y),_);else{const{leave:R,delayLeave:M,afterLeave:j}=E,N=()=>n(y,a,h),J=()=>{R(y,()=>{N(),j&&j()})};M?M(y,N,J):J()}else n(y,a,h)},ae=(c,a,h,m=!1,_=!1)=>{const{type:y,props:I,ref:E,children:A,dynamicChildren:b,shapeFlag:O,patchFlag:R,dirs:M}=c;if(E!=null&&zs(E,null,h,c,!0),O&256){a.ctx.deactivate(c);return}const j=O&1&&M,N=!ts(c);let J;if(N&&(J=I&&I.onVnodeBeforeUnmount)&&Ce(J,a,c),O&6)Wt(c.component,h,m);else{if(O&128){c.suspense.unmount(h,m);return}j&&Ve(c,null,a,"beforeUnmount"),O&64?c.type.remove(c,a,h,_,x,m):b&&(y!==qe||R>0&&R&64)?re(b,a,h,!1,!0):(y===qe&&R&384||!_&&O&16)&&re(A,a,h),m&&it(c)}(N&&(J=I&&I.onVnodeUnmounted)||j)&&fe(()=>{J&&Ce(J,a,c),j&&Ve(c,null,a,"unmounted")},h)},it=c=>{const{type:a,el:h,anchor:m,transition:_}=c;if(a===qe){ot(h,m);return}if(a===Ss){H(c);return}const y=()=>{r(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:I,delayLeave:E}=_,A=()=>I(h,y);E?E(c.el,y,A):A()}else y()},ot=(c,a)=>{let h;for(;c!==a;)h=g(c),r(c),c=h;r(a)},Wt=(c,a,h)=>{const{bum:m,scope:_,update:y,subTree:I,um:E}=c;m&&Is(m),_.stop(),y&&(y.active=!1,ae(I,c,a,h)),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,h,m=!1,_=!1,y=0)=>{for(let I=y;I<c.length;I++)ae(c[I],a,h,m,_)},v=c=>c.shapeFlag&6?v(c.component.subTree):c.shapeFlag&128?c.suspense.next():g(c.anchor||c.el),P=(c,a,h)=>{c==null?a._vnode&&ae(a._vnode,null,null,!0):T(a._vnode||null,c,a,null,null,null,h),qn(),Qr(),a._vnode=c},x={p:T,um:ae,m:Re,r:it,mt:xt,mc:Fe,pc:K,pbc:Ie,n:v,o:e};let C,z;return t&&([C,z]=t(x)),{render:P,hydrate:C,createApp:il(P,C)}}function Xe({effect:e,update:t},s){e.allowRecurse=t.allowRecurse=s}function fi(e,t,s=!1){const n=e.children,r=t.children;if(B(n)&&B(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]=ze(r[i]),u.el=o.el),s||fi(o,u)),u.type===ws&&(u.el=o.el)}}function hl(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,qe=Symbol.for("v-fgt"),ws=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),Ss=Symbol.for("v-stc"),Ft=[];let ye=null;function gl(e=!1){Ft.push(ye=e?null:[])}function ml(){Ft.pop(),ye=Ft[Ft.length-1]||null}let Dt=1;function Gn(e){Dt+=e}function vl(e){return e.dynamicChildren=Dt>0?ye||ft:null,ml(),Dt>0&&ye&&ye.push(e),e}function _l(e,t,s,n,r,i){return vl(pe(e,t,s,n,r,i,!0))}function Ws(e){return e?e.__v_isVNode===!0:!1}function Pt(e,t){return e.type===t.type&&e.key===t.key}const Es="__vInternal",di=({key:e})=>e??null,ns=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?se(e)||le(e)||L(e)?{i:Me,r:e,k:t,f:!!s}:e:null);function pe(e,t=null,s=null,n=0,r=null,i=e===qe?0:1,o=!1,u=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&di(t),ref:t&&ns(t),scopeId:ys,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:Me};return u?(yn(l,s),i&128&&e.normalize(l)):s&&(l.shapeFlag|=se(s)?8:16),Dt>0&&!o&&ye&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&ye.push(l),l}const be=yl;function yl(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Vo)&&(e=Ut),Ws(e)){const u=vt(e,t,!0);return s&&yn(u,s),Dt>0&&!i&&ye&&(u.shapeFlag&6?ye[ye.indexOf(e)]=u:ye.push(u)),u.patchFlag|=-2,u}if(Cl(e)&&(e=e.__vccOpts),t){t=bl(t);let{class:u,style:l}=t;u&&!se(u)&&(t.class=on(u)),V(l)&&(Nr(l)&&!B(l)&&(l=te({},l)),t.style=rn(l))}const o=se(e)?1:qo(e)?128:pl(e)?64:V(e)?4:L(e)?2:0;return pe(e,t,s,n,r,o,i,!0)}function bl(e){return e?Nr(e)||Es in e?te({},e):e:null}function vt(e,t,s=!1){const{props:n,ref:r,patchFlag:i,children:o}=e,u=t?wl(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&di(u),ref:t&&t.ref?s&&r?B(r)?r.concat(ns(t)):[r,ns(t)]:ns(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==qe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&vt(e.ssContent),ssFallback:e.ssFallback&&vt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Tt(e=" ",t=0){return be(ws,null,e,t)}function Te(e){return e==null||typeof e=="boolean"?be(Ut):B(e)?be(qe,null,e.slice()):typeof e=="object"?ze(e):be(ws,null,String(e))}function ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:vt(e)}function yn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(B(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),yn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!(Es in t)?t._ctx=Me:r===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:Me},s=32):(t=String(t),n&64?(s=16,t=[Tt(t)]):s=8);e.children=t,e.shapeFlag|=s}function wl(...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(ds(r)){const i=t[r],o=n[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function Ce(e,t,s,n=null){Ee(e,t,7,[s,n])}const El=ii();let Al=0;function xl(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||El,i={uid:Al++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Rr(!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:li(n,r),emitsOptions:Yr(n,r),emit:null,emitted:null,propsDefaults:Y,inheritAttrs:n.inheritAttrs,ctx:Y,data:Y,props:Y,attrs:Y,slots:Y,refs:Y,setupState:Y,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=Co.bind(null,i),e.ce&&e.ce(i),i}let oe=null,bn,ct,Qn="__VUE_INSTANCE_SETTERS__";(ct=Hs()[Qn])||(ct=Hs()[Qn]=[]),ct.push(e=>oe=e),bn=e=>{ct.length>1?ct.forEach(t=>t(e)):ct[0](e)};const _t=e=>{bn(e),e.scope.on()},st=()=>{oe&&oe.scope.off(),bn(null)};function hi(e){return e.vnode.shapeFlag&4}let $t=!1;function Il(e,t=!1){$t=t;const{props:s,children:n}=e.vnode,r=hi(e);ol(e,s,r,t),ul(e,n);const i=r?Pl(e,t):void 0;return $t=!1,i}function Pl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=hn(new Proxy(e.ctx,Xo));const{setup:n}=s;if(n){const r=e.setupContext=n.length>1?Sl(e):null;_t(e),Et();const i=Qe(n,e,0,[e.props,r]);if(At(),st(),xr(i)){if(i.then(st,st),t)return i.then(o=>{Jn(e,o,t)}).catch(o=>{vs(o,e,0)});e.asyncDep=i}else Jn(e,i,t)}else pi(e,t)}function Jn(e,t,s){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=Kr(t)),pi(e,s)}let Yn;function pi(e,t,s){const n=e.type;if(!e.render){if(!t&&Yn&&!n.render){const r=n.template||vn(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=Yn(r,f)}}e.render=n.render||we}_t(e),Et(),Zo(e),At(),st()}function Rl(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,s){return de(e,"get","$attrs"),t[s]}}))}function Sl(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(Kr(hn(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Mt)return Mt[s](e)},has(t,s){return s in t||s in Mt}}))}function Cl(e){return L(e)&&"__vccOpts"in e}const _e=(e,t)=>Ao(e,t,$t);function gi(e,t,s){const n=arguments.length;return n===2?V(t)&&!B(t)?Ws(t)?be(e,null,[t]):be(e,t):be(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ws(s)&&(s=[s]),be(e,t,s))}const Tl=Symbol.for("v-scx"),Ol=()=>Be(Tl),Ml="3.3.4",Fl="http://www.w3.org/2000/svg",et=typeof document<"u"?document:null,Vn=et&&et.createElement("template"),kl={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?et.createElementNS(Fl,e):et.createElement(e,s?{is:s}:void 0);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.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{Vn.innerHTML=n?`<svg>${e}</svg>`:e;const u=Vn.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&&Gs(n,i,"");for(const i in s)Gs(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 Xn=/\s*!important$/;function Gs(e,t,s){if(B(s))s.forEach(n=>Gs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ql(e,t);Xn.test(s)?e.setProperty(wt(n),s.replace(Xn,""),"important"):e[n]=s}}const Zn=["Webkit","Moz","ms"],Cs={};function ql(e,t){const s=Cs[t];if(s)return s;let n=gt(t);if(n!=="filter"&&n in e)return Cs[t]=n;n=Ir(n);for(let r=0;r<Zn.length;r++){const i=Zn[r]+n;if(i in e)return Cs[t]=i}return t}const er="http://www.w3.org/1999/xlink";function Bl(e,t,s,n,r){if(n&&t.startsWith("xlink:"))s==null?e.removeAttributeNS(er,t.slice(6,t.length)):e.setAttributeNS(er,t,s);else{const i=Di(t);s==null||i&&!Pr(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=Pr(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 Dl(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]=$l(t);if(n){const f=i[t]=Wl(n,r);Nl(e,u,f,l)}else o&&(Ul(e,u,o,l),i[t]=void 0)}}const tr=/(?:Once|Passive|Capture)$/;function $l(e){let t;if(tr.test(e)){t={};let n;for(;n=e.match(tr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):wt(e.slice(2)),t]}let Ts=0;const Kl=Promise.resolve(),zl=()=>Ts||(Kl.then(()=>Ts=0),Ts=Date.now());function Wl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ee(Gl(n,s.value),t,5,[n])};return s.value=e,s.attached=zl(),s}function Gl(e,t){if(B(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 sr=/^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):ds(t)?en(t)||Dl(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),Bl(e,t,n,r))};function Jl(e,t,s,n){return n?!!(t==="innerHTML"||t==="textContent"||t in e&&sr.test(t)&&L(s)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||sr.test(t)&&se(s)?!1:t in e}const Yl=te({patchProp:Ql},kl);let nr;function Vl(){return nr||(nr=fl(Yl))}const Xl=(...e)=>{const t=Vl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Zl(n);if(!r)return;const i=t._component;!L(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 Zl(e){return se(e)?document.querySelector(e):e}var ec=!1;/*!
2
2
  * pinia v2.1.6
3
3
  * (c) 2023 Eduardo San Martin Morote
4
4
  * @license MIT
5
- */const tc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function nc(){const e=$i(!0),t=e.run(()=>cn({}));let n=[],s=[];const r=hs({install(i){r._a=i,i.provide(tc,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return!this._a&&!ec?s.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}function sc(){let e=null,t=null;return[new Promise((s,r)=>{e=s,t=r}),e,t]}function ir(){var e,t,n;for(e="",n=0;n<32;n++)(n==8||n==12||n==16||n==20)&&(e=e+"-"),t=Math.floor(Math.random()*16).toString(16).toUpperCase(),e=e+t;return e.toLowerCase()}class Jn{constructor(){this.subscribers={}}init(){}publish(t,n){Array.isArray(this.subscribers[t])&&this.subscribers[t].forEach(s=>{try{s(t,n)}catch(r){console.error(r)}})}subscribe(t,n){return Array.isArray(this.subscribers[t])||(this.subscribers[t]=[]),this.subscribers[t].indexOf(n)>=0?()=>this.unsubscribe(t,n):(this.subscribers[t].push(n),()=>this.unsubscribe(t,n))}unsubscribe(t,n){if(!Array.isArray(this.subscribers[t])||this.subscribers[t].indexOf(n)<0)return!1;this.subscribers[t]=this.subscribers[t].filter(s=>s!==n)}}class rc{constructor(){this._requests={},this._messagesEventHandlers=new Jn,window.onmessage=this.onPostMessage.bind(this)}static respondForPromiseBasedRequest(t,n,s="*",r){if(s=="null"&&(s="*"),t.promisedBased){let i={requestGuid:t.requestGuid,response:r};n.postMessage(JSON.stringify(i),"*")}}async sendRequestAsync(t,n=null){let s=ir(),[r,i,o]=sc();return this._requests[s]={prom:r,resolve:i,reject:o},t.requestGuid=s,t.promisedBased=!0,n=n||window.parent,n.postMessage(JSON.stringify(t),"*"),r}sendRequest(t,n=null){let s=ir();t.requestGuid=s,n=n||window.parent,n.postMessage(JSON.stringify(t),"*")}onPostMessage(t){try{let n=t&&JSON.parse(t.data);if(n.requestName=="EvEvent")this._messagesEventHandlers.publish(n.eventName,n.data);else if(n.requestGuid&&this._requests[n.requestGuid]){let s=this._requests[n.requestGuid];return delete this._requests[n.requestGuid],s.resolve(n)}}catch{}}unregisterFromEvents(){}}class ic{constructor(){this._userApps={},this._userAppInstances={}}updateUserAppData(t,n,s=!1){!s||!this._userApps[t]?this._userApps[t]=n:this._userApps[t]={...this._userApps[t],...n}}updateUserAppInstance(t,n,s=!1){!s||!this._userAppInstances[t]?this._userAppInstances[t]=n:this._userAppInstances[t]={...this._userAppInstances[t],...n}}updateUserAppInstanceSettings(t,n){this._userAppInstances[t]||(this._userAppInstances[t]={},console.warn("app not exist when update")),this._userAppInstances[t].settings=n}getUserAppDataByAppId(t){return this._userApps[t]}getUserAppInstanceById(t,n=!1){let s=this._userAppInstances[t];return s&&n&&(s.appData=this.getUserAppDataByAppId(s.userAppId)),s}}let rn=new ic;class zt{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class oc extends zt{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 lc extends zt{constructor(){super()}canHandleRequest(t){return[ue.createNewLayer,ue.removeSizeCatcher,ue.listScenes,ue.switchScene].includes(t.request)}async createNewLayer(t){return{userAppInstanceId:"26c6f221-b278-46c8-a69c-ce8379766e24"}}async removeSizeCatcher(t){return!0}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 Ht={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur"};class cc extends zt{constructor(){super()}canHandleRequest(t){return[ue.raiseExternalAppMessagingEvent,ue.setFastActionButtons,ue.openSideBarSettings].includes(t.request)}async raiseExternalAppMessagingEvent(t){return Yn._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,Ht.externalAppMessaging,t.data.data),null}async setFastActionButtons(){return!0}async openSideBarSettings(){return!0}async handleRequest(t){return this[t.request](t)}}class uc extends zt{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return[{viewers:13,type:"youtubeChannel",statistics:{viewCount:"1",likeCount:"1",dislikeCount:"0",favoriteCount:"0",commentCount:"0"},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:22,type:"facebookProfile",statistics:{total_reactions:1}}]}}class ac extends zt{constructor(){super()}canHandleRequest(t){return[ue.displayDateTimePicker].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}}const ue={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",switchScene:"switchScene",removeSizeCatcher:"removeSizeCatcher",openSideBarSettings:"openSideBarSettings",displayDateTimePicker:"displayDateTimePicker"};let Mn=(e,t,n)=>({requestName:e,eventName:t,data:n});class fc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Jn,this._eventHandler=new Jn,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(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))}_sendPostMessageToUsrAppInstancesComponents(t,n,s=null){let r=JSON.stringify(n);for(const[i,o]of Object.entries(this._userAppInstances[t].instances))s!=i&&o.window.postMessage(r,"*")}_raiseEventForSpecificUserAppInstance(t,n,s,r=null){let i=this._userAppInstances[t];if(i&&i.events&&i.events[n]){let o=Mn("EvEvent",n,s);this._sendPostMessageToUsrAppInstancesComponents(t,o,r)}}raiseEvent(t,n){for(const[s,r]of Object.entries(this._userAppInstances))this._raiseEventForSpecificUserAppInstance(s,t,n)}getAppSettingsForAppInstanceId(t){return rn.getUserAppInstanceById(t)}_makeSureAppInstanceExist(t){this._userAppInstances[t]=this._userAppInstances[t]||{},this._userAppInstances[t].instances=this._userAppInstances[t].instances||{},this._userAppInstances[t].events=this._userAppInstances[t].events||{}}updateAndNotifyAppInstancesOnSettingsUpdate(t,n,s){if(rn.updateUserAppInstanceSettings(t,n),this._userAppInstances[t]&&this._userAppInstances[t].events[Ht.settingsUpdated]){let r=Mn("EvEvent",Ht.settingsUpdated,n);this._sendPostMessageToUsrAppInstancesComponents(t,r,s)}}async onPostMessage(t){let n={};try{typeof t.data=="string"||t.data instanceof String?n=JSON.parse(t.data):n=t.data}catch{}let s=null;if(n.request==ue.updateSettings)this._userAppInstances[n.userAppInstanceId]&&this.updateSettingsAndPublish(n);else if(n.request==ue.raiseAppMessagingEvent)this._userAppInstances[n.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(n.userAppInstanceId,Ht.appMessaging,n.data,n.componentId),this._eventHandler.publish("updateEverywhere",n));else if(n.request==ue.getSettings)this._userAppInstances[n.userAppInstanceId]&&(Mn("EvMessage","settings",n.data),s=(await rn.getUserAppInstanceById(n.userAppInstanceId,!1)).settings);else if(n.request==ue.startLoad)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source};else if(n.request==ue.loaded)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].instances[n.componentId]={window:t.source},this._eventHandler.publish("appComponentLoaded",n),s=this.getAppSettingsForAppInstanceId(n.userAppInstanceId);else if(n.request==ue.registerEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),this._userAppInstances[n.userAppInstanceId].events[n.data.eventName]=!0;else if(n.request==ue.unregisterEvent)this._makeSureAppInstanceExist(n.userAppInstanceId),delete this._userAppInstances[n.userAppInstanceId].events[n.data.eventName];else for(let r=0;r<this._requestHandlers.length;r++)if(this._requestHandlers[r].canHandleRequest(n)){s=await this._requestHandlers[r].handleRequest(n);break}n.promisedBased&&rc.respondForPromiseBasedRequest(n,t.source,t.origin,s)}updateSettingsAndPublish(t){this._eventHandler.publish("updateSettings",t),this._eventHandler.publish("updateEverywhere",t),this.updateAndNotifyAppInstancesOnSettingsUpdate(t.userAppInstanceId,t.data,t.componentId)}onUserAppComponentUnload(t,n){this._userAppInstances[t]&&this._userAppInstances[t].instances[n]&&(delete this._userAppInstances[t].instances[n],Object.keys(this._userAppInstances[t].instances).length==0&&delete this._userAppInstances[t])}}const Yn=new fc,or=["This song gives me major nostalgic vibes!","Who else is here after watching the movie? Amazing!","Can't believe this video only has a few views. It deserves millions!","This is the most talented guitarist I've ever seen. Mind-blowing!","I keep coming back to this video. It's just so addictive!","I wish I could sing like this. Beautiful voice!","The cinematography in this video is top-notch. So visually stunning!","This dance routine is fire! I need to learn these moves.","Who else is watching this in 2023? Timeless classic!","This tutorial is a lifesaver. Thank you so much!","I can't stop laughing! This video is pure comedy gold.","This track has been on repeat all day. Can't get enough!","I'm so impressed by the production quality. Well done!","This deserves to be the soundtrack of a blockbuster movie.","This video is so underrated. It deserves way more recognition.","This singer has such a unique and soulful voice. Goosebumps!","I've watched this video at least 20 times. It never gets old!","This is the kind of content I subscribe for. Keep it up!","I've been waiting for this collab. They did not disappoint!","This video is so informative. I've learned a lot. Thanks!","Can't believe I discovered this hidden gem. Pure talent!","The energy in this live performance is off the charts!","This video is so heartwarming. It made my day!","The lyrics of this song hit me right in the feels. Emotional!","I can't stop watching this. It's so satisfying to see.","This tutorial is so easy to follow. I finally mastered it!","This is the best cover I've ever heard. Absolutely amazing!","The special effects in this video are mind-blowing. Wow!","This artist is so underrated. They deserve more recognition.","I can't get this song out of my head. It's so catchy!","I'm in awe of the talent displayed in this video. Mesmerizing!","This video is pure art. The visuals are stunning!","This song is my anthem. It speaks to my soul.","I love how positive and uplifting this video is. Great message!","This tutorial saved my life. I was completely lost before!","The choreography in this dance video is out of this world!","This video brings back so many childhood memories. Nostalgic!","I can't believe how young this artist is. Such talent at a young age!","This video deserves all the awards. Brilliant work!","I can't help but smile while watching this video. Pure joy!","This song is so underrated. It needs to go viral!","The editing in this video is on point. So professionally done!","This video inspired me to chase my dreams. Thank you!","The guitar solo in this song gives me goosebumps. Epic!","This video deserves to be trending. Let's make it happen!","I can't get over how beautiful this scenery is. Breathtaking!","This song is my go-to when I need a pick-me-up. Love it!","This video is so relatable. Hits close to home.","I've been following this channel for years. Always amazing content!","This video is the definition of perfection. Flawless execution!"],lr=["TheVloggingGuru","MusicMastermind","TechWizard","GamingProphet","TravelEnthusiast","FoodieExplorer","FashionDiva","ComedyJester","FitnessFreak","ArtisticSoul","MovieBuff","DIYEnthusiast","ScienceGeek","NatureLover","Bookworm","SportsFanatic","PetLover","AdventureSeeker","CookingMaestro","Fashionista","GuitarHero","ComedyGenius","YogaMaster","TechJunkie","PhotographyWhiz","AnimalAdventurer","SingingSensation","GameChanger","FitnessGuru","CreativeMind","MovieCritique","DIYWizard","ScienceExplorer","OutdoorEnthusiast","LiteraryLion","SportsEnthusiast","PetWhisperer","WanderlustSoul","MusicProdigy","TechEnthusiast","CulinaryArtist","FashionIcon","GamingLegend","ComedyMaestro","YogaEnthusiast","TechGuru","PhotographyNinja","AnimalLover","SingingSuperstar","GameMaster","FitnessAddict"];function dc(){return[{id:(Math.random()+1).toString(36).substring(2),title:lr[Math.floor(Math.random()*lr.length)],text:or[Math.floor(Math.random()*or.length)],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:Math.random()>=.5?"fb":"yt",flags:{sample:!1,star:!1,shown:!1}}]}const hc=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Es=e=>(Oo("data-v-f3e17de6"),e=e(),To(),e),pc={style:{display:"flex"}},gc={class:"panel"},mc=Es(()=>pe("br",null,null,-1)),_c=Es(()=>pe("div",{style:{width:"50px"}},null,-1)),vc={class:"panel"},bc={class:"resizer grayone"},yc=Es(()=>pe("button",null,"sceneUpdated",-1)),wc={__name:"TestHolder",setup(e){Yn.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",n=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",s=window.baseAppSettings||{};rn.updateUserAppInstance(t,{id:t,settings:s});const r=cn(null),i=cn(null);ni(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${n}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${n}`});function o(u){Yn.raiseEvent(Ht.comments,dc())}return(u,l)=>(gl(),vl("div",null,[pe("div",pc,[pe("div",gc,[Ot(" Settings (src/settings.html):"),mc,pe("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500"},null,512)]),_c,pe("div",vc,[Ot(" App (src/widget.html): "),pe("div",bc,[pe("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])]),pe("div",null,[Ot(" events: "),yc,Ot(),pe("button",{onClick:o},"getComments")])]))}},Ec=hc(wc,[["__scopeId","data-v-f3e17de6"]]);/*!
5
+ */const tc=Symbol();var rr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rr||(rr={}));function sc(){const e=$i(!0),t=e.run(()=>ls({}));let s=[],n=[];const r=hn({install(i){r._a=i,i.provide(tc,r),i.config.globalProperties.$pinia=r,n.forEach(o=>s.push(o)),n=[]},use(i){return!this._a&&!ec?n.push(i):s.push(i),this},_p:s,_a:null,_e:e,_s:new Map,state:t});return r}function nc(){let e=null,t=null;return[new Promise((n,r)=>{e=n,t=r}),e,t]}function ir(){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 Qs{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 rc{constructor(){this._requests={},this._messagesEventHandlers=new Qs,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=ir(),[r,i,o]=nc();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=ir();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 ic{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 rs=new ic;class zt{constructor(){}canHandleRequest(t){return!1}async handleRequest(t){return this[t.request](t)}}class oc extends zt{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 lc extends zt{constructor(){super()}canHandleRequest(t){return[Z.createNewLayer,Z.removeSizeCatcher,Z.listScenes,Z.switchScene,Z.updateLayer].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 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 kt={settingsUpdated:"settingsUpdated",viewerCountChanged:"viewerCountChanged",keystroke:"keystroke",comments:"comments",appMessaging:"appMessaging",externalAppMessaging:"externalAppMessaging",fastActionButton:"fastActionButton",doubleClickOnWidget:"doubleClickOnWidget",widgetOnFocus:"widgetGotFocus",widgetOnBlur:"widgetOnBlur"};class cc extends zt{constructor(){super()}canHandleRequest(t){return[Z.raiseExternalAppMessagingEvent,Z.setFastActionButtons,Z.openSideBarSettings,Z.isSudioMode].includes(t.request)}async raiseExternalAppMessagingEvent(t){return Js._raiseEventForSpecificUserAppInstance(t.data.targetUserAppInstanceId,kt.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)}}class uc extends zt{constructor(){super()}canHandleRequest(t){return["getStatistics"].includes(t.request)}async getStatistics(t){return[{viewers:13,type:"youtubeChannel",statistics:{viewCount:"1",likeCount:"1",dislikeCount:"0",favoriteCount:"0",commentCount:"0"},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:22,type:"facebookProfile",statistics:{total_reactions:1}}]}}class ac extends zt{constructor(){super()}canHandleRequest(t){return[Z.displayDateTimePicker,Z.displayScenePicker,Z.displayRichTextEditor,Z.displayToast].includes(t.request)}async displayDateTimePicker(t){return{value:window.mockDateTime||new Date().getTime(),dateTimeKey:"result"}}async displayScenePicker(t){return{value:window.mockScene||"simple"}}async displayRichTextEditor(t){return{value:window.mockRichText||"<b>This is a test</b>"}}async displayToast(t){return{value:window.mockToast||{text:"This is a toast",type:"info",uniqCode:"123"}}}}const Z={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",isSudioMode:"isSudioMode"};let Os=(e,t,s)=>({requestName:e,eventName:t,data:s});class fc{constructor(){this._userAppInstances={},this._messagesEventHandlers=new Qs,this._eventHandler=new Qs,this._requestHandlers=[]}init(t){window.onmessage=this.onPostMessage.bind(this),this.initRequestHandlerProjectSpecific(t)}initRequestHandlerProjectSpecific(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))}_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=Os("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 rs.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(rs.updateUserAppInstanceSettings(t,s),this._userAppInstances[t]&&this._userAppInstances[t].events[kt.settingsUpdated]){let r=Os("EvEvent",kt.settingsUpdated,s);this._sendPostMessageToUsrAppInstancesComponents(t,r,n)}}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==Z.updateSettings)this._userAppInstances[s.userAppInstanceId]&&this.updateSettingsAndPublish(s);else if(s.request==Z.raiseAppMessagingEvent)this._userAppInstances[s.userAppInstanceId]&&(this._raiseEventForSpecificUserAppInstance(s.userAppInstanceId,kt.appMessaging,s.data,s.componentId),this._eventHandler.publish("updateEverywhere",s));else if(s.request==Z.getSettings)this._userAppInstances[s.userAppInstanceId]&&(Os("EvMessage","settings",s.data),n=(await rs.getUserAppInstanceById(s.userAppInstanceId,!1)).settings);else if(s.request==Z.startLoad)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].instances[s.componentId]={window:t.source};else if(s.request==Z.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==Z.registerEvent)this._makeSureAppInstanceExist(s.userAppInstanceId),this._userAppInstances[s.userAppInstanceId].events[s.data.eventName]=!0;else if(s.request==Z.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&&rc.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 Js=new fc,or=["This song gives me major nostalgic vibes!","Who else is here after watching the movie? Amazing!","Can't believe this video only has a few views. It deserves millions!","This is the most talented guitarist I've ever seen. Mind-blowing!","I keep coming back to this video. It's just so addictive!","I wish I could sing like this. Beautiful voice!","The cinematography in this video is top-notch. So visually stunning!","This dance routine is fire! I need to learn these moves.","Who else is watching this in 2023? Timeless classic!","This tutorial is a lifesaver. Thank you so much!","I can't stop laughing! This video is pure comedy gold.","This track has been on repeat all day. Can't get enough!","I'm so impressed by the production quality. Well done!","This deserves to be the soundtrack of a blockbuster movie.","This video is so underrated. It deserves way more recognition.","This singer has such a unique and soulful voice. Goosebumps!","I've watched this video at least 20 times. It never gets old!","This is the kind of content I subscribe for. Keep it up!","I've been waiting for this collab. They did not disappoint!","This video is so informative. I've learned a lot. Thanks!","Can't believe I discovered this hidden gem. Pure talent!","The energy in this live performance is off the charts!","This video is so heartwarming. It made my day!","The lyrics of this song hit me right in the feels. Emotional!","I can't stop watching this. It's so satisfying to see.","This tutorial is so easy to follow. I finally mastered it!","This is the best cover I've ever heard. Absolutely amazing!","The special effects in this video are mind-blowing. Wow!","This artist is so underrated. They deserve more recognition.","I can't get this song out of my head. It's so catchy!","I'm in awe of the talent displayed in this video. Mesmerizing!","This video is pure art. The visuals are stunning!","This song is my anthem. It speaks to my soul.","I love how positive and uplifting this video is. Great message!","This tutorial saved my life. I was completely lost before!","The choreography in this dance video is out of this world!","This video brings back so many childhood memories. Nostalgic!","I can't believe how young this artist is. Such talent at a young age!","This video deserves all the awards. Brilliant work!","I can't help but smile while watching this video. Pure joy!","This song is so underrated. It needs to go viral!","The editing in this video is on point. So professionally done!","This video inspired me to chase my dreams. Thank you!","The guitar solo in this song gives me goosebumps. Epic!","This video deserves to be trending. Let's make it happen!","I can't get over how beautiful this scenery is. Breathtaking!","This song is my go-to when I need a pick-me-up. Love it!","This video is so relatable. Hits close to home.","I've been following this channel for years. Always amazing content!","This video is the definition of perfection. Flawless execution!"],lr=["TheVloggingGuru","MusicMastermind","TechWizard","GamingProphet","TravelEnthusiast","FoodieExplorer","FashionDiva","ComedyJester","FitnessFreak","ArtisticSoul","MovieBuff","DIYEnthusiast","ScienceGeek","NatureLover","Bookworm","SportsFanatic","PetLover","AdventureSeeker","CookingMaestro","Fashionista","GuitarHero","ComedyGenius","YogaMaster","TechJunkie","PhotographyWhiz","AnimalAdventurer","SingingSensation","GameChanger","FitnessGuru","CreativeMind","MovieCritique","DIYWizard","ScienceExplorer","OutdoorEnthusiast","LiteraryLion","SportsEnthusiast","PetWhisperer","WanderlustSoul","MusicProdigy","TechEnthusiast","CulinaryArtist","FashionIcon","GamingLegend","ComedyMaestro","YogaEnthusiast","TechGuru","PhotographyNinja","AnimalLover","SingingSuperstar","GameMaster","FitnessAddict"];function dc(){return[{id:(Math.random()+1).toString(36).substring(2),title:lr[Math.floor(Math.random()*lr.length)],text:or[Math.floor(Math.random()*or.length)],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:Math.random()>=.5?"fb":"yt",flags:{sample:!1,star:!1,shown:!1}}]}const hc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},En=e=>(To("data-v-f3e17de6"),e=e(),Oo(),e),pc={style:{display:"flex"}},gc={class:"panel"},mc=En(()=>pe("br",null,null,-1)),vc=En(()=>pe("div",{style:{width:"50px"}},null,-1)),_c={class:"panel"},yc={class:"resizer grayone"},bc=En(()=>pe("button",null,"sceneUpdated",-1)),wc={__name:"TestHolder",setup(e){Js.init();let t=window.userAppInstanceId||"914155de-633a-476b-957a-6a7a9e01d6e9",s=window.componentId||"b893da10-5cec-4f11-876c-716addbad4ae",n=window.baseAppSettings||{};rs.updateUserAppInstance(t,{id:t,settings:n});const r=ls(null),i=ls(null);si(()=>{r.value.src=`widget.html?appInstanceId=${t}&compId=${s}`,i.value.src=`settings.html?appInstanceId=${t}&compId=settings_${s}`});function o(u){Js.raiseEvent(kt.comments,dc())}return(u,l)=>(gl(),_l("div",null,[pe("div",pc,[pe("div",gc,[Tt(" Settings (src/settings.html):"),mc,pe("iframe",{ref_key:"settingsIframe",ref:i,width:"500",height:"500"},null,512)]),vc,pe("div",_c,[Tt(" App (src/widget.html): "),pe("div",yc,[pe("iframe",{ref_key:"wudgetIframe",ref:r,width:"100%",height:"100%"},null,512)])])]),pe("div",null,[Tt(" events: "),bc,Tt(),pe("button",{onClick:o},"getComments")])]))}},Ec=hc(wc,[["__scopeId","data-v-f3e17de6"]]);/*!
6
6
  * vue-router v4.2.5
7
7
  * (c) 2023 Eduardo San Martin Morote
8
8
  * @license MIT
9
- */const ut=typeof window<"u";function Ac(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const W=Object.assign;function Fn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Ae(r)?r.map(e):e(r)}return n}const jt=()=>{},Ae=Array.isArray,xc=/\/$/,Ic=e=>e.replace(xc,"");function Hn(e,t,n="/"){let s,r={},i="",o="";const u=t.indexOf("#");let l=t.indexOf("?");return u<l&&u>=0&&(l=-1),l>-1&&(s=t.slice(0,l),i=t.slice(l+1,u>-1?u:t.length),r=e(i)),u>-1&&(s=s||t.slice(0,u),o=t.slice(u,t.length)),s=Sc(s??t,n),{fullPath:s+(i&&"?")+i+o,path:s,query:r,hash:o}}function Pc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Rc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&bt(t.matched[s],n.matched[r])&&mi(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Cc(e[n],t[n]))return!1;return!0}function Cc(e,t){return Ae(e)?ur(e,t):Ae(t)?ur(t,e):e===t}function ur(e,t){return Ae(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Sc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,u;for(o=0;o<s.length;o++)if(u=s[o],u!==".")if(u==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o-(o===s.length?1:0)).join("/")}var Kt;(function(e){e.pop="pop",e.push="push"})(Kt||(Kt={}));var kt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(kt||(kt={}));function Oc(e){if(!e)if(ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ic(e)}const Tc=/^[^#]+#/;function Mc(e,t){return e.replace(Tc,"#")+t}function Fc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const xn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Hc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Fc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}const Vn=new Map;function jc(e,t){Vn.set(e,t)}function kc(e){const t=Vn.get(e);return Vn.delete(e),t}let qc=()=>location.protocol+"//"+location.host;function _i(e,t){const{pathname:n,search:s,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),cr(l,"")}return cr(n,e)+s+r}function Bc(e,t,n,s){let r=[],i=[],o=null;const u=({state:g})=>{const w=_i(e,location),C=n.value,O=t.value;let q=0;if(g){if(n.value=w,t.value=g,o&&o===C){o=null;return}q=O?g.position-O.position:0}else s(w);r.forEach(F=>{F(n.value,C,{delta:q,type:Kt.pop,direction:q?q>0?kt.forward:kt.back:kt.unknown})})};function l(){o=n.value}function f(g){r.push(g);const w=()=>{const C=r.indexOf(g);C>-1&&r.splice(C,1)};return i.push(w),w}function d(){const{history:g}=window;g.state&&g.replaceState(W({},g.state,{scroll:xn()}),"")}function p(){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:p}}function fr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?xn():null}}function Nc(e){const{history:t,location:n}=window,s={value:_i(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,f,d){const p=e.indexOf("#"),g=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:qc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(w){console.error(w),n[d?"replace":"assign"](g)}}function o(l,f){const d=W({},t.state,fr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});i(l,d,!0),s.value=l}function u(l,f){const d=W({},r.value,t.state,{forward:l,scroll:xn()});i(d.current,d,!0);const p=W({},fr(s.value,l,null),{position:d.position+1},f);i(l,p,!1),s.value=l}return{location:s,state:r,push:u,replace:o}}function Lc(e){e=Oc(e);const t=Nc(e),n=Bc(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=W({location:"",base:e,go:s,createHref:Mc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Uc(e){return typeof e=="string"||e&&typeof e=="object"}function vi(e){return typeof e=="string"||typeof e=="symbol"}const Ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},bi=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function yt(e,t){return W(new Error,{type:e,[bi]:!0},t)}function je(e,t){return e instanceof Error&&bi in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",Dc={sensitive:!1,strict:!1,start:!0,end:!0},$c=/[.+*?^${}()[\]/\\]/g;function Kc(e,t){const n=W({},Dc,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const d=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;p<f.length;p++){const g=f[p];let w=40+(n.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace($c,"\\$&"),w+=40;else if(g.type===1){const{value:C,repeatable:O,optional:q,regexp:F}=g;i.push({name:C,repeatable:O,optional:q});const H=F||hr;if(H!==hr){w+=10;try{new RegExp(`(${H})`)}catch(j){throw new Error(`Invalid custom RegExp for param "${C}" (${H}): `+j.message)}}let D=O?`((?:${H})(?:/(?:${H}))*)`:`(${H})`;p||(D=q&&f.length<2?`(?:/${D})`:"/"+D),q&&(D+="?"),r+=D,w+=20,q&&(w+=-8),O&&(w+=-20),H===".*"&&(w+=-50)}d.push(w)}s.push(d)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function u(f){const d=f.match(o),p={};if(!d)return null;for(let g=1;g<d.length;g++){const w=d[g]||"",C=i[g-1];p[C.name]=w&&C.repeatable?w.split("/"):w}return p}function l(f){let d="",p=!1;for(const g of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const w of g)if(w.type===0)d+=w.value;else if(w.type===1){const{value:C,repeatable:O,optional:q}=w,F=C in f?f[C]:"";if(Ae(F)&&!O)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const H=Ae(F)?F.join("/"):F;if(!H)if(q)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${C}"`);d+=H}}return d||"/"}return{re:o,score:s,keys:i,parse:u,stringify:l}}function zc(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Wc(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=zc(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(pr(s))return 1;if(pr(r))return-1}return r.length-s.length}function pr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gc={type:0,value:""},Qc=/[a-zA-Z0-9_]/;function Jc(e){if(!e)return[[]];if(e==="/")return[[Gc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(w){throw new Error(`ERR (${n})/"${f}": ${w}`)}let n=0,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let u=0,l,f="",d="";function p(){f&&(n===0?i.push({type:0,value:f}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:f,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function g(){f+=l}for(;u<e.length;){if(l=e[u++],l==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:l==="/"?(f&&p(),o()):l===":"?(p(),n=1):g();break;case 4:g(),n=s;break;case 1:l==="("?n=2:Qc.test(l)?g():(p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&u--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:p(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&u--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),o(),r}function Yc(e,t,n){const s=Kc(Jc(e.path),n),r=W(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Vc(e,t){const n=[],s=new Map;t=_r({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function i(d,p,g){const w=!g,C=Xc(d);C.aliasOf=g&&g.record;const O=_r(t,d),q=[C];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const j of D)q.push(W({},C,{components:g?g.record.components:C.components,path:j,aliasOf:g?g.record:C}))}let F,H;for(const D of q){const{path:j}=D;if(p&&j[0]!=="/"){const ne=p.record.path,le=ne[ne.length-1]==="/"?"":"/";D.path=p.record.path+(j&&le+j)}if(F=Yc(D,p,O),g?g.alias.push(F):(H=H||F,H!==F&&H.alias.push(F),w&&d.name&&!mr(F)&&o(d.name)),C.children){const ne=C.children;for(let le=0;le<ne.length;le++)i(ne[le],F,g&&g.children[le])}g=g||F,(F.record.components&&Object.keys(F.record.components).length||F.record.name||F.record.redirect)&&l(F)}return H?()=>{o(H)}:jt}function o(d){if(vi(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function u(){return n}function l(d){let p=0;for(;p<n.length&&Wc(d,n[p])>=0&&(d.record.path!==n[p].record.path||!yi(d,n[p]));)p++;n.splice(p,0,d),d.record.name&&!mr(d)&&s.set(d.record.name,d)}function f(d,p){let g,w={},C,O;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw yt(1,{location:d});O=g.record.name,w=W(gr(p.params,g.keys.filter(H=>!H.optional).map(H=>H.name)),d.params&&gr(d.params,g.keys.map(H=>H.name))),C=g.stringify(w)}else if("path"in d)C=d.path,g=n.find(H=>H.re.test(C)),g&&(w=g.parse(C),O=g.record.name);else{if(g=p.name?s.get(p.name):n.find(H=>H.re.test(p.path)),!g)throw yt(1,{location:d,currentLocation:p});O=g.record.name,w=W({},p.params,d.params),C=g.stringify(w)}const q=[];let F=g;for(;F;)q.unshift(F.record),F=F.parent;return{name:O,path:C,params:w,matched:q,meta:eu(q)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:u,getRecordMatcher:r}}function gr(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}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={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function eu(e){return e.reduce((t,n)=>W(t,n.meta),{})}function _r(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function yi(e,t){return t.children.some(n=>n===e||yi(e,n))}const wi=/#/g,tu=/&/g,nu=/\//g,su=/=/g,ru=/\?/g,Ei=/\+/g,iu=/%5B/g,ou=/%5D/g,Ai=/%5E/g,lu=/%60/g,xi=/%7B/g,cu=/%7C/g,Ii=/%7D/g,uu=/%20/g;function As(e){return encodeURI(""+e).replace(cu,"|").replace(iu,"[").replace(ou,"]")}function au(e){return As(e).replace(xi,"{").replace(Ii,"}").replace(Ai,"^")}function Xn(e){return As(e).replace(Ei,"%2B").replace(uu,"+").replace(wi,"%23").replace(tu,"%26").replace(lu,"`").replace(xi,"{").replace(Ii,"}").replace(Ai,"^")}function fu(e){return Xn(e).replace(su,"%3D")}function du(e){return As(e).replace(wi,"%23").replace(ru,"%3F")}function hu(e){return e==null?"":du(e).replace(nu,"%2F")}function dn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function pu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const i=s[r].replace(Ei," "),o=i.indexOf("="),u=dn(o<0?i:i.slice(0,o)),l=o<0?null:dn(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 vr(e){let t="";for(let n in e){const s=e[n];if(n=fu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ae(s)?s.map(i=>i&&Xn(i)):[s&&Xn(s)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function gu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Ae(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const mu=Symbol(""),br=Symbol(""),xs=Symbol(""),Pi=Symbol(""),Zn=Symbol("");function Rt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function We(e,t,n,s,r){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const l=p=>{p===!1?u(yt(4,{from:n,to:t})):p instanceof Error?u(p):Uc(p)?u(yt(2,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),o())},f=e.call(s&&s.instances[r],t,n,l);let d=Promise.resolve(f);e.length<3&&(d=d.then(l)),d.catch(p=>u(p))})}function jn(e,t,n,s){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(We(f,n,s,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&&We(g,n,s,i,o)()}))}}return r}function _u(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function yr(e){const t=Be(xs),n=Be(Pi),s=ve(()=>t.resolve(ht(e.to))),r=ve(()=>{const{matched:l}=s.value,{length:f}=l,d=l[f-1],p=n.matched;if(!d||!p.length)return-1;const g=p.findIndex(bt.bind(null,d));if(g>-1)return g;const w=wr(l[f-2]);return f>1&&wr(d)===w&&p[p.length-1].path!==w?p.findIndex(bt.bind(null,l[f-2])):g}),i=ve(()=>r.value>-1&&wu(n.params,s.value.params)),o=ve(()=>r.value>-1&&r.value===n.matched.length-1&&mi(n.params,s.value.params));function u(l={}){return yu(l)?t[ht(e.replace)?"replace":"push"](ht(e.to)).catch(jt):Promise.resolve()}return{route:s,href:ve(()=>s.value.href),isActive:i,isExactActive:o,navigate:u}}const vu=Zr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:yr,setup(e,{slots:t}){const n=_n(yr(e)),{options:s}=Be(xs),r=ve(()=>({[Er(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Er(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:gi("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),bu=vu;function yu(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 n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Ae(r)||r.length!==s.length||s.some((i,o)=>i!==r[o]))return!1}return!0}function wr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Er=(e,t,n)=>e??t??n,Eu=Zr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Be(Zn),r=ve(()=>e.route||s.value),i=Be(br,0),o=ve(()=>{let f=ht(i);const{matched:d}=r.value;let p;for(;(p=d[f])&&!p.components;)f++;return f}),u=ve(()=>r.value.matched[o.value]);nn(br,ve(()=>o.value+1)),nn(mu,u),nn(Zn,r);const l=cn();return en(()=>[l.value,u.value,e.name],([f,d,p],[g,w,C])=>{d&&(d.instances[p]=f,w&&w!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),f&&d&&(!w||!bt(d,w)||!g)&&(d.enterCallbacks[p]||[]).forEach(O=>O(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,p=u.value,g=p&&p.components[d];if(!g)return Ar(n.default,{Component:g,route:f});const w=p.props[d],C=w?w===!0?f.params:typeof w=="function"?w(f):w:null,q=gi(g,W({},C,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(p.instances[d]=null)},ref:l}));return Ar(n.default,{Component:q,route:f})||q}}});function Ar(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Au=Eu;function xu(e){const t=Vc(e.routes,e),n=e.parseQuery||pu,s=e.stringifyQuery||vr,r=e.history,i=Rt(),o=Rt(),u=Rt(),l=bo(Ke);let f=Ke;ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Fn.bind(null,_=>""+_),p=Fn.bind(null,hu),g=Fn.bind(null,dn);function w(_,P){let x,S;return vi(_)?(x=t.getRecordMatcher(_),S=P):S=_,t.addRoute(S,x)}function C(_){const P=t.getRecordMatcher(_);P&&t.removeRoute(P)}function O(){return t.getRoutes().map(_=>_.record)}function q(_){return!!t.getRecordMatcher(_)}function F(_,P){if(P=W({},P||l.value),typeof _=="string"){const h=Hn(n,_,P.path),m=t.resolve({path:h.path},P),v=r.createHref(h.fullPath);return W(h,m,{params:g(m.params),hash:dn(h.hash),redirectedFrom:void 0,href:v})}let x;if("path"in _)x=W({},_,{path:Hn(n,_.path,P.path).path});else{const h=W({},_.params);for(const m in h)h[m]==null&&delete h[m];x=W({},_,{params:p(h)}),P.params=p(P.params)}const S=t.resolve(x,P),z=_.hash||"";S.params=d(g(S.params));const c=Pc(s,W({},_,{hash:au(z),path:S.path})),a=r.createHref(c);return W({fullPath:c,hash:z,query:s===vr?gu(_.query):_.query||{}},S,{redirectedFrom:void 0,href:a})}function H(_){return typeof _=="string"?Hn(n,_,l.value.path):W({},_)}function D(_,P){if(f!==_)return yt(8,{from:P,to:_})}function j(_){return xe(_)}function ne(_){return j(W(H(_),{replace:!0}))}function le(_){const P=_.matched[_.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let S=typeof x=="function"?x(_):x;return typeof S=="string"&&(S=S.includes("?")||S.includes("#")?S=H(S):{path:S},S.params={}),W({query:_.query,hash:_.hash,params:"path"in S?{}:_.params},S)}}function xe(_,P){const x=f=F(_),S=l.value,z=_.state,c=_.force,a=_.replace===!0,h=le(x);if(h)return xe(W(H(h),{state:typeof h=="object"?W({},z,h.state):z,force:c,replace:a}),P||x);const m=x;m.redirectedFrom=P;let v;return!c&&Rc(s,S,x)&&(v=yt(16,{to:m,from:S}),Re(S,S,!0,!1)),(v?Promise.resolve(v):Ie(m,S)).catch(b=>je(b)?je(b,2)?b:De(b):K(b,m,S)).then(b=>{if(b){if(je(b,2))return xe(W({replace:a},H(b.to),{state:typeof b.to=="object"?W({},z,b.to.state):z,force:c}),P||m)}else b=Ye(m,S,!0,a,z);return Ue(m,S,b),b})}function Fe(_,P){const x=D(_,P);return x?Promise.reject(x):Promise.resolve()}function st(_){const P=ot.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(_):_()}function Ie(_,P){let x;const[S,z,c]=Iu(_,P);x=jn(S.reverse(),"beforeRouteLeave",_,P);for(const h of S)h.leaveGuards.forEach(m=>{x.push(We(m,_,P))});const a=Fe.bind(null,_,P);return x.push(a),se(x).then(()=>{x=[];for(const h of i.list())x.push(We(h,_,P));return x.push(a),se(x)}).then(()=>{x=jn(z,"beforeRouteUpdate",_,P);for(const h of z)h.updateGuards.forEach(m=>{x.push(We(m,_,P))});return x.push(a),se(x)}).then(()=>{x=[];for(const h of c)if(h.beforeEnter)if(Ae(h.beforeEnter))for(const m of h.beforeEnter)x.push(We(m,_,P));else x.push(We(h.beforeEnter,_,P));return x.push(a),se(x)}).then(()=>(_.matched.forEach(h=>h.enterCallbacks={}),x=jn(c,"beforeRouteEnter",_,P),x.push(a),se(x))).then(()=>{x=[];for(const h of o.list())x.push(We(h,_,P));return x.push(a),se(x)}).catch(h=>je(h,8)?h:Promise.reject(h))}function Ue(_,P,x){u.list().forEach(S=>st(()=>S(_,P,x)))}function Ye(_,P,x,S,z){const c=D(_,P);if(c)return c;const a=P===Ke,h=ut?history.state:{};x&&(S||a?r.replace(_.fullPath,W({scroll:a&&h&&h.scroll},z)):r.push(_.fullPath,z)),l.value=_,Re(_,P,x,a),De()}let Pe;function xt(){Pe||(Pe=r.listen((_,P,x)=>{if(!Wt.listening)return;const S=F(_),z=le(S);if(z){xe(W(z,{replace:!0}),S).catch(jt);return}f=S;const c=l.value;ut&&jc(ar(c.fullPath,x.delta),xn()),Ie(S,c).catch(a=>je(a,12)?a:je(a,2)?(xe(a.to,S).then(h=>{je(h,20)&&!x.delta&&x.type===Kt.pop&&r.go(-1,!1)}).catch(jt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),K(a,S,c))).then(a=>{a=a||Ye(S,c,!1),a&&(x.delta&&!je(a,8)?r.go(-x.delta,!1):x.type===Kt.pop&&je(a,20)&&r.go(-1,!1)),Ue(S,c,a)}).catch(jt)}))}let rt=Rt(),Z=Rt(),Q;function K(_,P,x){De(_);const S=Z.list();return S.length?S.forEach(z=>z(_,P,x)):console.error(_),Promise.reject(_)}function He(){return Q&&l.value!==Ke?Promise.resolve():new Promise((_,P)=>{rt.add([_,P])})}function De(_){return Q||(Q=!_,xt(),rt.list().forEach(([P,x])=>_?x(_):P()),rt.reset()),_}function Re(_,P,x,S){const{scrollBehavior:z}=e;if(!ut||!z)return Promise.resolve();const c=!x&&kc(ar(_.fullPath,0))||(S||!x)&&history.state&&history.state.scroll||null;return Wr().then(()=>z(_,P,c)).then(a=>a&&Hc(a)).catch(a=>K(a,_,P))}const ae=_=>r.go(_);let it;const ot=new Set,Wt={currentRoute:l,listening:!0,addRoute:w,removeRoute:C,hasRoute:q,getRoutes:O,resolve:F,options:e,push:j,replace:ne,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:u.add,onError:Z.add,isReady:He,install(_){const P=this;_.component("RouterLink",bu),_.component("RouterView",Au),_.config.globalProperties.$router=P,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),ut&&!it&&l.value===Ke&&(it=!0,j(r.location).catch(z=>{}));const x={};for(const z in Ke)Object.defineProperty(x,z,{get:()=>l.value[z],enumerable:!0});_.provide(xs,P),_.provide(Pi,Br(x)),_.provide(Zn,l);const S=_.unmount;ot.add(_),_.unmount=function(){ot.delete(_),ot.size<1&&(f=Ke,Pe&&Pe(),Pe=null,l.value=Ke,it=!1,Q=!1),S()}}};function se(_){return _.reduce((P,x)=>P.then(()=>st(x)),Promise.resolve())}return Wt}function Iu(e,t){const n=[],s=[],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=>bt(f,u))?s.push(u):n.push(u));const l=e.matched[o];l&&(t.matched.find(f=>bt(f,l))||r.push(l))}return[n,s,r]}const Pu=xu({history:Lc("/"),routes:[]}),Is=Xl(Ec);Is.use(nc());Is.use(Pu);Is.mount("#app");
9
+ */const ut=typeof window<"u";function Ac(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const W=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 Ht=()=>{},Ae=Array.isArray,xc=/\/$/,Ic=e=>e.replace(xc,"");function Fs(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 Pc(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function cr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Rc(e,t,s){const n=t.matched.length-1,r=s.matched.length-1;return n>-1&&n===r&&yt(t.matched[n],s.matched[r])&&mi(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function yt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function mi(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)?ur(e,t):Ae(t)?ur(t,e):e===t}function ur(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 Kt;(function(e){e.pop="pop",e.push="push"})(Kt||(Kt={}));var jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jt||(jt={}));function Tc(e){if(!e)if(ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ic(e)}const Oc=/^[^#]+#/;function Mc(e,t){return e.replace(Oc,"#")+t}function Fc(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 As=()=>({left:window.pageXOffset,top:window.pageYOffset});function kc(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=Fc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ar(e,t){return(history.state?history.state.position-t:-1)+e}const Ys=new Map;function Hc(e,t){Ys.set(e,t)}function jc(e){const t=Ys.get(e);return Ys.delete(e),t}let qc=()=>location.protocol+"//"+location.host;function vi(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),cr(l,"")}return cr(s,e)+n+r}function Bc(e,t,s,n){let r=[],i=[],o=null;const u=({state:g})=>{const w=vi(e,location),S=s.value,T=t.value;let q=0;if(g){if(s.value=w,t.value=g,o&&o===S){o=null;return}q=T?g.position-T.position:0}else n(w);r.forEach(F=>{F(s.value,S,{delta:q,type:Kt.pop,direction:q?q>0?jt.forward:jt.back:jt.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(W({},g.state,{scroll:As()}),"")}function p(){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:p}}function fr(e,t,s,n=!1,r=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:r?As():null}}function Lc(e){const{history:t,location:s}=window,n={value:vi(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 p=e.indexOf("#"),g=p>-1?(s.host&&document.querySelector("base")?e:e.slice(p))+l:qc()+e+l;try{t[d?"replaceState":"pushState"](f,"",g),r.value=f}catch(w){console.error(w),s[d?"replace":"assign"](g)}}function o(l,f){const d=W({},t.state,fr(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=W({},r.value,t.state,{forward:l,scroll:As()});i(d.current,d,!0);const p=W({},fr(n.value,l,null),{position:d.position+1},f);i(l,p,!1),n.value=l}return{location:n,state:r,push:u,replace:o}}function Nc(e){e=Tc(e);const t=Lc(e),s=Bc(e,t.state,t.location,t.replace);function n(i,o=!0){o||s.pauseListeners(),history.go(i)}const r=W({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 Uc(e){return typeof e=="string"||e&&typeof e=="object"}function _i(e){return typeof e=="string"||typeof e=="symbol"}const Ke={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},yi=Symbol("");var dr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(dr||(dr={}));function bt(e,t){return W(new Error,{type:e,[yi]:!0},t)}function He(e,t){return e instanceof Error&&yi in e&&(t==null||!!(e.type&t))}const hr="[^/]+?",Dc={sensitive:!1,strict:!1,start:!0,end:!0},$c=/[.+*?^${}()[\]/\\]/g;function Kc(e,t){const s=W({},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 p=0;p<f.length;p++){const g=f[p];let w=40+(s.sensitive?.25:0);if(g.type===0)p||(r+="/"),r+=g.value.replace($c,"\\$&"),w+=40;else if(g.type===1){const{value:S,repeatable:T,optional:q,regexp:F}=g;i.push({name:S,repeatable:T,optional:q});const k=F||hr;if(k!==hr){w+=10;try{new RegExp(`(${k})`)}catch(H){throw new Error(`Invalid custom RegExp for param "${S}" (${k}): `+H.message)}}let D=T?`((?:${k})(?:/(?:${k}))*)`:`(${k})`;p||(D=q&&f.length<2?`(?:/${D})`:"/"+D),q&&(D+="?"),r+=D,w+=20,q&&(w+=-8),T&&(w+=-20),k===".*"&&(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),p={};if(!d)return null;for(let g=1;g<d.length;g++){const w=d[g]||"",S=i[g-1];p[S.name]=w&&S.repeatable?w.split("/"):w}return p}function l(f){let d="",p=!1;for(const g of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const w of g)if(w.type===0)d+=w.value;else if(w.type===1){const{value:S,repeatable:T,optional:q}=w,F=S in f?f[S]:"";if(Ae(F)&&!T)throw new Error(`Provided param "${S}" is an array but it is not repeatable (* or + modifiers)`);const k=Ae(F)?F.join("/"):F;if(!k)if(q)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${S}"`);d+=k}}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(pr(n))return 1;if(pr(r))return-1}return r.length-n.length}function pr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Gc={type:0,value:""},Qc=/[a-zA-Z0-9_]/;function Jc(e){if(!e)return[[]];if(e==="/")return[[Gc]];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 p(){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&&p(),o()):l===":"?(p(),s=1):g();break;case 4:g(),s=n;break;case 1:l==="("?s=2:Qc.test(l)?g():(p(),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:p(),s=0,l!=="*"&&l!=="?"&&l!=="+"&&u--,d="";break;default:t("Unknown state");break}}return s===2&&t(`Unfinished custom RegExp for param "${f}"`),p(),o(),r}function Yc(e,t,s){const n=Kc(Jc(e.path),s),r=W(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=vr({strict:!1,end:!0,sensitive:!1},t);function r(d){return n.get(d)}function i(d,p,g){const w=!g,S=Xc(d);S.aliasOf=g&&g.record;const T=vr(t,d),q=[S];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const H of D)q.push(W({},S,{components:g?g.record.components:S.components,path:H,aliasOf:g?g.record:S}))}let F,k;for(const D of q){const{path:H}=D;if(p&&H[0]!=="/"){const ne=p.record.path,ce=ne[ne.length-1]==="/"?"":"/";D.path=p.record.path+(H&&ce+H)}if(F=Yc(D,p,T),g?g.alias.push(F):(k=k||F,k!==F&&k.alias.push(F),w&&d.name&&!mr(F)&&o(d.name)),S.children){const ne=S.children;for(let ce=0;ce<ne.length;ce++)i(ne[ce],F,g&&g.children[ce])}g=g||F,(F.record.components&&Object.keys(F.record.components).length||F.record.name||F.record.redirect)&&l(F)}return k?()=>{o(k)}:Ht}function o(d){if(_i(d)){const p=n.get(d);p&&(n.delete(d),s.splice(s.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=s.indexOf(d);p>-1&&(s.splice(p,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 p=0;for(;p<s.length&&Wc(d,s[p])>=0&&(d.record.path!==s[p].record.path||!bi(d,s[p]));)p++;s.splice(p,0,d),d.record.name&&!mr(d)&&n.set(d.record.name,d)}function f(d,p){let g,w={},S,T;if("name"in d&&d.name){if(g=n.get(d.name),!g)throw bt(1,{location:d});T=g.record.name,w=W(gr(p.params,g.keys.filter(k=>!k.optional).map(k=>k.name)),d.params&&gr(d.params,g.keys.map(k=>k.name))),S=g.stringify(w)}else if("path"in d)S=d.path,g=s.find(k=>k.re.test(S)),g&&(w=g.parse(S),T=g.record.name);else{if(g=p.name?n.get(p.name):s.find(k=>k.re.test(p.path)),!g)throw bt(1,{location:d,currentLocation:p});T=g.record.name,w=W({},p.params,d.params),S=g.stringify(w)}const q=[];let F=g;for(;F;)q.unshift(F.record),F=F.parent;return{name:T,path:S,params:w,matched:q,meta:eu(q)}}return e.forEach(d=>i(d)),{addRoute:i,resolve:f,removeRoute:o,getRoutes:u,getRecordMatcher:r}}function gr(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 mr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function eu(e){return e.reduce((t,s)=>W(t,s.meta),{})}function vr(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 wi=/#/g,tu=/&/g,su=/\//g,nu=/=/g,ru=/\?/g,Ei=/\+/g,iu=/%5B/g,ou=/%5D/g,Ai=/%5E/g,lu=/%60/g,xi=/%7B/g,cu=/%7C/g,Ii=/%7D/g,uu=/%20/g;function An(e){return encodeURI(""+e).replace(cu,"|").replace(iu,"[").replace(ou,"]")}function au(e){return An(e).replace(xi,"{").replace(Ii,"}").replace(Ai,"^")}function Vs(e){return An(e).replace(Ei,"%2B").replace(uu,"+").replace(wi,"%23").replace(tu,"%26").replace(lu,"`").replace(xi,"{").replace(Ii,"}").replace(Ai,"^")}function fu(e){return Vs(e).replace(nu,"%3D")}function du(e){return An(e).replace(wi,"%23").replace(ru,"%3F")}function hu(e){return e==null?"":du(e).replace(su,"%2F")}function fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function pu(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(Ei," "),o=i.indexOf("="),u=fs(o<0?i:i.slice(0,o)),l=o<0?null:fs(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 _r(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(""),yr=Symbol(""),xn=Symbol(""),Pi=Symbol(""),Xs=Symbol("");function Rt(){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 We(e,t,s,n,r){const i=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((o,u)=>{const l=p=>{p===!1?u(bt(4,{from:s,to:t})):p instanceof Error?u(p):Uc(p)?u(bt(2,{from:t,to:p})):(i&&n.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),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(p=>u(p))})}function ks(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(vu(u)){const f=(u.__vccOpts||u)[t];f&&r.push(We(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&&We(g,s,n,i,o)()}))}}return r}function vu(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function br(e){const t=Be(xn),s=Be(Pi),n=_e(()=>t.resolve(ht(e.to))),r=_e(()=>{const{matched:l}=n.value,{length:f}=l,d=l[f-1],p=s.matched;if(!d||!p.length)return-1;const g=p.findIndex(yt.bind(null,d));if(g>-1)return g;const w=wr(l[f-2]);return f>1&&wr(d)===w&&p[p.length-1].path!==w?p.findIndex(yt.bind(null,l[f-2])):g}),i=_e(()=>r.value>-1&&wu(s.params,n.value.params)),o=_e(()=>r.value>-1&&r.value===s.matched.length-1&&mi(s.params,n.value.params));function u(l={}){return bu(l)?t[ht(e.replace)?"replace":"push"](ht(e.to)).catch(Ht):Promise.resolve()}return{route:n,href:_e(()=>n.value.href),isActive:i,isExactActive:o,navigate:u}}const _u=Zr({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:br,setup(e,{slots:t}){const s=ms(br(e)),{options:n}=Be(xn),r=_e(()=>({[Er(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Er(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const i=t.default&&t.default(s);return e.custom?i:gi("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},i)}}}),yu=_u;function bu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function 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 wr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Er=(e,t,s)=>e??t??s,Eu=Zr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=Be(Xs),r=_e(()=>e.route||n.value),i=Be(yr,0),o=_e(()=>{let f=ht(i);const{matched:d}=r.value;let p;for(;(p=d[f])&&!p.components;)f++;return f}),u=_e(()=>r.value.matched[o.value]);ss(yr,_e(()=>o.value+1)),ss(mu,u),ss(Xs,r);const l=ls();return es(()=>[l.value,u.value,e.name],([f,d,p],[g,w,S])=>{d&&(d.instances[p]=f,w&&w!==d&&f&&f===g&&(d.leaveGuards.size||(d.leaveGuards=w.leaveGuards),d.updateGuards.size||(d.updateGuards=w.updateGuards))),f&&d&&(!w||!yt(d,w)||!g)&&(d.enterCallbacks[p]||[]).forEach(T=>T(f))},{flush:"post"}),()=>{const f=r.value,d=e.name,p=u.value,g=p&&p.components[d];if(!g)return Ar(s.default,{Component:g,route:f});const w=p.props[d],S=w?w===!0?f.params:typeof w=="function"?w(f):w:null,q=gi(g,W({},S,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(p.instances[d]=null)},ref:l}));return Ar(s.default,{Component:q,route:f})||q}}});function Ar(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||pu,n=e.stringifyQuery||_r,r=e.history,i=Rt(),o=Rt(),u=Rt(),l=yo(Ke);let f=Ke;ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ms.bind(null,v=>""+v),p=Ms.bind(null,hu),g=Ms.bind(null,fs);function w(v,P){let x,C;return _i(v)?(x=t.getRecordMatcher(v),C=P):C=v,t.addRoute(C,x)}function S(v){const P=t.getRecordMatcher(v);P&&t.removeRoute(P)}function T(){return t.getRoutes().map(v=>v.record)}function q(v){return!!t.getRecordMatcher(v)}function F(v,P){if(P=W({},P||l.value),typeof v=="string"){const h=Fs(s,v,P.path),m=t.resolve({path:h.path},P),_=r.createHref(h.fullPath);return W(h,m,{params:g(m.params),hash:fs(h.hash),redirectedFrom:void 0,href:_})}let x;if("path"in v)x=W({},v,{path:Fs(s,v.path,P.path).path});else{const h=W({},v.params);for(const m in h)h[m]==null&&delete h[m];x=W({},v,{params:p(h)}),P.params=p(P.params)}const C=t.resolve(x,P),z=v.hash||"";C.params=d(g(C.params));const c=Pc(n,W({},v,{hash:au(z),path:C.path})),a=r.createHref(c);return W({fullPath:c,hash:z,query:n===_r?gu(v.query):v.query||{}},C,{redirectedFrom:void 0,href:a})}function k(v){return typeof v=="string"?Fs(s,v,l.value.path):W({},v)}function D(v,P){if(f!==v)return bt(8,{from:P,to:v})}function H(v){return xe(v)}function ne(v){return H(W(k(v),{replace:!0}))}function ce(v){const P=v.matched[v.matched.length-1];if(P&&P.redirect){const{redirect:x}=P;let C=typeof x=="function"?x(v):x;return typeof C=="string"&&(C=C.includes("?")||C.includes("#")?C=k(C):{path:C},C.params={}),W({query:v.query,hash:v.hash,params:"path"in C?{}:v.params},C)}}function xe(v,P){const x=f=F(v),C=l.value,z=v.state,c=v.force,a=v.replace===!0,h=ce(x);if(h)return xe(W(k(h),{state:typeof h=="object"?W({},z,h.state):z,force:c,replace:a}),P||x);const m=x;m.redirectedFrom=P;let _;return!c&&Rc(n,C,x)&&(_=bt(16,{to:m,from:C}),Re(C,C,!0,!1)),(_?Promise.resolve(_):Ie(m,C)).catch(y=>He(y)?He(y,2)?y:De(y):K(y,m,C)).then(y=>{if(y){if(He(y,2))return xe(W({replace:a},k(y.to),{state:typeof y.to=="object"?W({},z,y.to.state):z,force:c}),P||m)}else y=Ye(m,C,!0,a,z);return Ue(m,C,y),y})}function Fe(v,P){const x=D(v,P);return x?Promise.reject(x):Promise.resolve()}function nt(v){const P=ot.values().next().value;return P&&typeof P.runWithContext=="function"?P.runWithContext(v):v()}function Ie(v,P){let x;const[C,z,c]=Iu(v,P);x=ks(C.reverse(),"beforeRouteLeave",v,P);for(const h of C)h.leaveGuards.forEach(m=>{x.push(We(m,v,P))});const a=Fe.bind(null,v,P);return x.push(a),re(x).then(()=>{x=[];for(const h of i.list())x.push(We(h,v,P));return x.push(a),re(x)}).then(()=>{x=ks(z,"beforeRouteUpdate",v,P);for(const h of z)h.updateGuards.forEach(m=>{x.push(We(m,v,P))});return x.push(a),re(x)}).then(()=>{x=[];for(const h of c)if(h.beforeEnter)if(Ae(h.beforeEnter))for(const m of h.beforeEnter)x.push(We(m,v,P));else x.push(We(h.beforeEnter,v,P));return x.push(a),re(x)}).then(()=>(v.matched.forEach(h=>h.enterCallbacks={}),x=ks(c,"beforeRouteEnter",v,P),x.push(a),re(x))).then(()=>{x=[];for(const h of o.list())x.push(We(h,v,P));return x.push(a),re(x)}).catch(h=>He(h,8)?h:Promise.reject(h))}function Ue(v,P,x){u.list().forEach(C=>nt(()=>C(v,P,x)))}function Ye(v,P,x,C,z){const c=D(v,P);if(c)return c;const a=P===Ke,h=ut?history.state:{};x&&(C||a?r.replace(v.fullPath,W({scroll:a&&h&&h.scroll},z)):r.push(v.fullPath,z)),l.value=v,Re(v,P,x,a),De()}let Pe;function xt(){Pe||(Pe=r.listen((v,P,x)=>{if(!Wt.listening)return;const C=F(v),z=ce(C);if(z){xe(W(z,{replace:!0}),C).catch(Ht);return}f=C;const c=l.value;ut&&Hc(ar(c.fullPath,x.delta),As()),Ie(C,c).catch(a=>He(a,12)?a:He(a,2)?(xe(a.to,C).then(h=>{He(h,20)&&!x.delta&&x.type===Kt.pop&&r.go(-1,!1)}).catch(Ht),Promise.reject()):(x.delta&&r.go(-x.delta,!1),K(a,C,c))).then(a=>{a=a||Ye(C,c,!1),a&&(x.delta&&!He(a,8)?r.go(-x.delta,!1):x.type===Kt.pop&&He(a,20)&&r.go(-1,!1)),Ue(C,c,a)}).catch(Ht)}))}let rt=Rt(),ee=Rt(),Q;function K(v,P,x){De(v);const C=ee.list();return C.length?C.forEach(z=>z(v,P,x)):console.error(v),Promise.reject(v)}function ke(){return Q&&l.value!==Ke?Promise.resolve():new Promise((v,P)=>{rt.add([v,P])})}function De(v){return Q||(Q=!v,xt(),rt.list().forEach(([P,x])=>v?x(v):P()),rt.reset()),v}function Re(v,P,x,C){const{scrollBehavior:z}=e;if(!ut||!z)return Promise.resolve();const c=!x&&jc(ar(v.fullPath,0))||(C||!x)&&history.state&&history.state.scroll||null;return Wr().then(()=>z(v,P,c)).then(a=>a&&kc(a)).catch(a=>K(a,v,P))}const ae=v=>r.go(v);let it;const ot=new Set,Wt={currentRoute:l,listening:!0,addRoute:w,removeRoute:S,hasRoute:q,getRoutes:T,resolve:F,options:e,push:H,replace:ne,go:ae,back:()=>ae(-1),forward:()=>ae(1),beforeEach:i.add,beforeResolve:o.add,afterEach:u.add,onError:ee.add,isReady:ke,install(v){const P=this;v.component("RouterLink",yu),v.component("RouterView",Au),v.config.globalProperties.$router=P,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>ht(l)}),ut&&!it&&l.value===Ke&&(it=!0,H(r.location).catch(z=>{}));const x={};for(const z in Ke)Object.defineProperty(x,z,{get:()=>l.value[z],enumerable:!0});v.provide(xn,P),v.provide(Pi,Br(x)),v.provide(Xs,l);const C=v.unmount;ot.add(v),v.unmount=function(){ot.delete(v),ot.size<1&&(f=Ke,Pe&&Pe(),Pe=null,l.value=Ke,it=!1,Q=!1),C()}}};function re(v){return v.reduce((P,x)=>P.then(()=>nt(x)),Promise.resolve())}return Wt}function Iu(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=>yt(f,u))?n.push(u):s.push(u));const l=e.matched[o];l&&(t.matched.find(f=>yt(f,l))||r.push(l))}return[s,n,r]}const Pu=xu({history:Nc("/"),routes:[]}),In=Xl(Ec);In.use(sc());In.use(Pu);In.mount("#app");
@@ -35,7 +35,7 @@ function raiseCommentsEvent(event) {
35
35
  <div style="display: flex;">
36
36
  <div class="panel" >
37
37
  Settings (src/settings.html):<br />
38
- <iframe ref="settingsIframe" width="307" height="500"></iframe>
38
+ <iframe ref="settingsIframe" width="500" height="500"></iframe>
39
39
  </div>
40
40
 
41
41
  <div style="width: 50px"></div>