Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/reactivity

Package Overview
Dependencies
Maintainers
2
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/reactivity - npm Package Compare versions

Comparing version 3.5.8 to 3.5.9

80

dist/reactivity.cjs.js
/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -288,7 +288,10 @@ * @license MIT

let e = batchedSub;
let next;
while (e) {
e.flags &= ~8;
e = e.next;
}
e = batchedSub;
batchedSub = void 0;
while (e) {
const next = e.next;
e.next = void 0;
e.flags &= ~8;
if (e.flags & 1) {

@@ -302,2 +305,4 @@ try {

}
next = e.next;
e.next = void 0;
e = next;

@@ -315,3 +320,3 @@ }

}
function cleanupDeps(sub, fromComputed = false) {
function cleanupDeps(sub) {
let head;

@@ -324,3 +329,3 @@ let tail = sub.depsTail;

if (link === tail) tail = prev;
removeSub(link, fromComputed);
removeSub(link);
removeDep(link);

@@ -380,7 +385,7 @@ } else {

shouldTrack = prevShouldTrack;
cleanupDeps(computed, true);
cleanupDeps(computed);
computed.flags &= ~2;
}
}
function removeSub(link, fromComputed = false) {
function removeSub(link, soft = false) {
const { dep, prevSub, nextSub } = link;

@@ -401,13 +406,11 @@ if (prevSub) {

}
if (!dep.subs) {
if (dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
} else if (dep.map && !fromComputed) {
dep.map.delete(dep.key);
if (!dep.map.size) targetMap.delete(dep.target);
if (!dep.subs && dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
}
if (!soft && !--dep.sc && dep.map) {
dep.map.delete(dep.key);
}
}

@@ -510,2 +513,6 @@ function removeDep(link) {

this.key = void 0;
/**
* Subscriber counter
*/
this.sc = 0;
{

@@ -529,5 +536,3 @@ this.subsHead = void 0;

}
if (activeSub.flags & 4) {
addSub(link);
}
addSub(link);
} else if (link.version === -1) {

@@ -596,18 +601,21 @@ link.version = this.version;

function addSub(link) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
link.dep.sc++;
if (link.sub.flags & 4) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
}
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}

@@ -716,4 +724,4 @@ const targetMap = /* @__PURE__ */ new WeakMap();

function getDepFromReactive(object, key) {
var _a;
return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);
const depMap = targetMap.get(object);
return depMap && depMap.get(key);
}

@@ -720,0 +728,0 @@

/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -273,7 +273,10 @@ * @license MIT

let e = batchedSub;
let next;
while (e) {
e.flags &= ~8;
e = e.next;
}
e = batchedSub;
batchedSub = void 0;
while (e) {
const next = e.next;
e.next = void 0;
e.flags &= ~8;
if (e.flags & 1) {

@@ -287,2 +290,4 @@ try {

}
next = e.next;
e.next = void 0;
e = next;

@@ -300,3 +305,3 @@ }

}
function cleanupDeps(sub, fromComputed = false) {
function cleanupDeps(sub) {
let head;

@@ -309,3 +314,3 @@ let tail = sub.depsTail;

if (link === tail) tail = prev;
removeSub(link, fromComputed);
removeSub(link);
removeDep(link);

@@ -365,7 +370,7 @@ } else {

shouldTrack = prevShouldTrack;
cleanupDeps(computed, true);
cleanupDeps(computed);
computed.flags &= ~2;
}
}
function removeSub(link, fromComputed = false) {
function removeSub(link, soft = false) {
const { dep, prevSub, nextSub } = link;

@@ -383,13 +388,11 @@ if (prevSub) {

}
if (!dep.subs) {
if (dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
} else if (dep.map && !fromComputed) {
dep.map.delete(dep.key);
if (!dep.map.size) targetMap.delete(dep.target);
if (!dep.subs && dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
}
if (!soft && !--dep.sc && dep.map) {
dep.map.delete(dep.key);
}
}

@@ -488,2 +491,6 @@ function removeDep(link) {

this.key = void 0;
/**
* Subscriber counter
*/
this.sc = 0;
}

@@ -504,5 +511,3 @@ track(debugInfo) {

}
if (activeSub.flags & 4) {
addSub(link);
}
addSub(link);
} else if (link.version === -1) {

@@ -548,15 +553,18 @@ link.version = this.version;

function addSub(link) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
link.dep.sc++;
if (link.sub.flags & 4) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
}
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
link.dep.subs = link;
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
link.dep.subs = link;
}

@@ -654,4 +662,4 @@ const targetMap = /* @__PURE__ */ new WeakMap();

function getDepFromReactive(object, key) {
var _a;
return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);
const depMap = targetMap.get(object);
return depMap && depMap.get(key);
}

@@ -658,0 +666,0 @@

/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -336,7 +336,10 @@ * @license MIT

let e = batchedSub;
let next;
while (e) {
e.flags &= ~8;
e = e.next;
}
e = batchedSub;
batchedSub = void 0;
while (e) {
const next = e.next;
e.next = void 0;
e.flags &= ~8;
if (e.flags & 1) {

@@ -350,2 +353,4 @@ try {

}
next = e.next;
e.next = void 0;
e = next;

@@ -363,3 +368,3 @@ }

}
function cleanupDeps(sub, fromComputed = false) {
function cleanupDeps(sub) {
let head;

@@ -372,3 +377,3 @@ let tail = sub.depsTail;

if (link === tail) tail = prev;
removeSub(link, fromComputed);
removeSub(link);
removeDep(link);

@@ -428,7 +433,7 @@ } else {

shouldTrack = prevShouldTrack;
cleanupDeps(computed, true);
cleanupDeps(computed);
computed.flags &= ~2;
}
}
function removeSub(link, fromComputed = false) {
function removeSub(link, soft = false) {
const { dep, prevSub, nextSub } = link;

@@ -449,13 +454,11 @@ if (prevSub) {

}
if (!dep.subs) {
if (dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
} else if (dep.map && !fromComputed) {
dep.map.delete(dep.key);
if (!dep.map.size) targetMap.delete(dep.target);
if (!dep.subs && dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
}
if (!soft && !--dep.sc && dep.map) {
dep.map.delete(dep.key);
}
}

@@ -558,2 +561,6 @@ function removeDep(link) {

this.key = void 0;
/**
* Subscriber counter
*/
this.sc = 0;
{

@@ -577,5 +584,3 @@ this.subsHead = void 0;

}
if (activeSub.flags & 4) {
addSub(link);
}
addSub(link);
} else if (link.version === -1) {

@@ -644,18 +649,21 @@ link.version = this.version;

function addSub(link) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
link.dep.sc++;
if (link.sub.flags & 4) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
}
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}

@@ -764,4 +772,4 @@ const targetMap = /* @__PURE__ */ new WeakMap();

function getDepFromReactive(object, key) {
var _a;
return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);
const depMap = targetMap.get(object);
return depMap && depMap.get(key);
}

@@ -768,0 +776,0 @@

/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */let e,t,i,s;let r={},n=()=>{},l=Object.assign,a=(e,t)=>{let i=e.indexOf(t);i>-1&&e.splice(i,1)},o=Object.prototype.hasOwnProperty,u=(e,t)=>o.call(e,t),c=Array.isArray,h=e=>"[object Map]"===y(e),f=e=>"[object Set]"===y(e),p=e=>"function"==typeof e,d=e=>"string"==typeof e,_=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,g=Object.prototype.toString,y=e=>g.call(e),R=e=>y(e).slice(8,-1),b=e=>"[object Object]"===y(e),w=e=>d(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=(e,t)=>!Object.is(e,t),E=(e,t,i,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:i})};class m{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=e,!t&&e&&(this.index=(e.scopes||(e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(t){if(this._active){let i=e;try{return e=this,t()}finally{e=i}}}on(){e=this}off(){e=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function x(e){return new m(e)}function T(){return e}function k(t,i=!1){e&&e.cleanups.push(t)}let A={ACTIVE:1,1:"ACTIVE",RUNNING:2,2:"RUNNING",TRACKING:4,4:"TRACKING",NOTIFIED:8,8:"NOTIFIED",DIRTY:16,16:"DIRTY",ALLOW_RECURSE:32,32:"ALLOW_RECURSE",PAUSED:64,64:"PAUSED"},D=/* @__PURE__ */new WeakSet;class O{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,e&&e.active&&e.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,D.has(this)&&(D.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||L(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,B(this),C(this);let e=t,i=H;t=this,H=!0;try{return this.fn()}finally{P(this),t=e,H=i,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)V(e);this.deps=this.depsTail=void 0,B(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?D.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){W(this)&&this.run()}get dirty(){return W(this)}}let I=0;function L(e){e.flags|=8,e.next=i,i=e}function j(){let e;if(!(--I>0)){for(;i;){let t=i;for(i=void 0;t;){let i=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=i}}if(e)throw e}}function C(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function P(e,t=!1){let i;let s=e.depsTail,r=s;for(;r;){let e=r.prevDep;-1===r.version?(r===s&&(s=e),V(r,t),function(e){let{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}(r)):i=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=i,e.depsTail=s}function W(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(N(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function N(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===q))return;e.globalVersion=q;let i=e.dep;if(e.flags|=2,i.version>0&&!e.isSSR&&e.deps&&!W(e)){e.flags&=-3;return}let s=t,r=H;t=e,H=!0;try{C(e);let t=e.fn(e._value);(0===i.version||S(t,e._value))&&(e._value=t,i.version++)}catch(e){throw i.version++,e}finally{t=s,H=r,P(e,!0),e.flags&=-3}}function V(e,t=!1){let{dep:i,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),i.subs===e&&(i.subs=s),!i.subs){if(i.computed){i.computed.flags&=-5;for(let e=i.computed.deps;e;e=e.nextDep)V(e,!0)}else!i.map||t||(i.map.delete(i.key),i.map.size||X.delete(i.target))}}function K(e,t){e.effect instanceof O&&(e=e.effect.fn);let i=new O(e);t&&l(i,t);try{i.run()}catch(e){throw i.stop(),e}let s=i.run.bind(i);return s.effect=i,s}function M(e){e.effect.stop()}let H=!0,U=[];function Y(){U.push(H),H=!1}function z(){U.push(H),H=!0}function G(){let e=U.pop();H=void 0===e||e}function F(e,i=!1){t instanceof O&&(t.cleanup=e)}function B(e){let{cleanup:i}=e;if(e.cleanup=void 0,i){let e=t;t=void 0;try{i()}finally{t=e}}}let q=0;class J{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Q{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(e){if(!t||!H||t===this.computed)return;let i=this.activeLink;if(void 0===i||i.sub!==t)i=this.activeLink=new J(t,this),t.deps?(i.prevDep=t.depsTail,t.depsTail.nextDep=i,t.depsTail=i):t.deps=t.depsTail=i,4&t.flags&&function e(t){let i=t.dep.computed;if(i&&!t.dep.subs){i.flags|=20;for(let t=i.deps;t;t=t.nextDep)e(t)}let s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}(i);else if(-1===i.version&&(i.version=this.version,i.nextDep)){let e=i.nextDep;e.prevDep=i.prevDep,i.prevDep&&(i.prevDep.nextDep=e),i.prevDep=t.depsTail,i.nextDep=void 0,t.depsTail.nextDep=i,t.depsTail=i,t.deps===i&&(t.deps=e)}return i}trigger(e){this.version++,q++,this.notify(e)}notify(e){I++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{j()}}}let X=/* @__PURE__ */new WeakMap,Z=Symbol(""),$=Symbol(""),ee=Symbol("");function et(e,i,s){if(H&&t){let t=X.get(e);t||X.set(e,t=/* @__PURE__ */new Map);let i=t.get(s);i||(t.set(s,i=new Q),i.target=e,i.map=t,i.key=s),i.track()}}function ei(e,t,i,s,r,n){let l=X.get(e);if(!l){q++;return}let a=e=>{e&&e.trigger()};if(I++,"clear"===t)l.forEach(a);else{let r=c(e),n=r&&w(i);if(r&&"length"===i){let e=Number(s);l.forEach((t,i)=>{("length"===i||i===ee||!_(i)&&i>=e)&&a(t)})}else switch(void 0!==i&&a(l.get(i)),n&&a(l.get(ee)),t){case"add":r?n&&a(l.get("length")):(a(l.get(Z)),h(e)&&a(l.get($)));break;case"delete":!r&&(a(l.get(Z)),h(e)&&a(l.get($)));break;case"set":h(e)&&a(l.get(Z))}}j()}function es(e){let t=e2(e);return t===e?t:(et(t,"iterate",ee),e0(e)?t:t.map(e3))}function er(e){return et(e=e2(e),"iterate",ee),e}let en={__proto__:null,[Symbol.iterator](){return el(this,Symbol.iterator,e3)},concat(...e){return es(this).concat(...e.map(e=>c(e)?es(e):e))},entries(){return el(this,"entries",e=>(e[1]=e3(e[1]),e))},every(e,t){return eo(this,"every",e,t,void 0,arguments)},filter(e,t){return eo(this,"filter",e,t,e=>e.map(e3),arguments)},find(e,t){return eo(this,"find",e,t,e3,arguments)},findIndex(e,t){return eo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return eo(this,"findLast",e,t,e3,arguments)},findLastIndex(e,t){return eo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return eo(this,"forEach",e,t,void 0,arguments)},includes(...e){return ec(this,"includes",e)},indexOf(...e){return ec(this,"indexOf",e)},join(e){return es(this).join(e)},lastIndexOf(...e){return ec(this,"lastIndexOf",e)},map(e,t){return eo(this,"map",e,t,void 0,arguments)},pop(){return eh(this,"pop")},push(...e){return eh(this,"push",e)},reduce(e,...t){return eu(this,"reduce",e,t)},reduceRight(e,...t){return eu(this,"reduceRight",e,t)},shift(){return eh(this,"shift")},some(e,t){return eo(this,"some",e,t,void 0,arguments)},splice(...e){return eh(this,"splice",e)},toReversed(){return es(this).toReversed()},toSorted(e){return es(this).toSorted(e)},toSpliced(...e){return es(this).toSpliced(...e)},unshift(...e){return eh(this,"unshift",e)},values(){return el(this,"values",e3)}};function el(e,t,i){let s=er(e),r=s[t]();return s===e||e0(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.value&&(e.value=i(e.value)),e}),r}let ea=Array.prototype;function eo(e,t,i,s,r,n){let l=er(e),a=l!==e&&!e0(e),o=l[t];if(o!==ea[t]){let t=o.apply(e,n);return a?e3(t):t}let u=i;l!==e&&(a?u=function(t,s){return i.call(this,e3(t),s,e)}:i.length>2&&(u=function(t,s){return i.call(this,t,s,e)}));let c=o.call(l,u,s);return a&&r?r(c):c}function eu(e,t,i,s){let r=er(e),n=i;return r!==e&&(e0(e)?i.length>3&&(n=function(t,s,r){return i.call(this,t,s,r,e)}):n=function(t,s,r){return i.call(this,t,e3(s),r,e)}),r[t](n,...s)}function ec(e,t,i){let s=e2(e);et(s,"iterate",ee);let r=s[t](...i);return(-1===r||!1===r)&&e1(i[0])?(i[0]=e2(i[0]),s[t](...i)):r}function eh(e,t,i=[]){Y(),I++;let s=e2(e)[t].apply(e,i);return j(),G(),s}let ef=/* @__PURE__ */function(e){let t=/* @__PURE__ */Object.create(null);for(let i of e.split(","))t[i]=1;return e=>e in t}("__proto__,__v_isRef,__isVue"),ep=new Set(/* @__PURE__ */Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(_));function ed(e){_(e)||(e=String(e));let t=e2(this);return et(t,"has",e),t.hasOwnProperty(e)}class e_{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){let s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return i===(s?r?eF:eG:r?ez:eY).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;let n=c(e);if(!s){let e;if(n&&(e=en[t]))return e;if("hasOwnProperty"===t)return ed}let l=Reflect.get(e,t,e8(e)?e:i);return(_(t)?ep.has(t):ef(t))?l:(s||et(e,"get",t),r)?l:e8(l)?n&&w(t)?l:l.value:v(l)?s?eJ(l):eB(l):l}}class ev extends e_{constructor(e=!1){super(!1,e)}set(e,t,i,s){let r=e[t];if(!this._isShallow){let t=e$(r);if(e0(i)||e$(i)||(r=e2(r),i=e2(i)),!c(e)&&e8(r)&&!e8(i))return!t&&(r.value=i,!0)}let n=c(e)&&w(t)?Number(t)<e.length:u(e,t),l=Reflect.set(e,t,i,e8(e)?e:s);return e===e2(s)&&(n?S(i,r)&&ei(e,"set",t,i):ei(e,"add",t,i)),l}deleteProperty(e,t){let i=u(e,t);e[t];let s=Reflect.deleteProperty(e,t);return s&&i&&ei(e,"delete",t,void 0),s}has(e,t){let i=Reflect.has(e,t);return _(t)&&ep.has(t)||et(e,"has",t),i}ownKeys(e){return et(e,"iterate",c(e)?"length":Z),Reflect.ownKeys(e)}}class eg extends e_{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let ey=/* @__PURE__ */new ev,eR=/* @__PURE__ */new eg,eb=/* @__PURE__ */new ev(!0),ew=/* @__PURE__ */new eg(!0),eS=e=>e,eE=e=>Reflect.getPrototypeOf(e);function em(e,t,i=!1,s=!1){let r=e2(e=e.__v_raw),n=e2(t);i||(S(t,n)&&et(r,"get",t),et(r,"get",n));let{has:l}=eE(r),a=s?eS:i?e6:e3;return l.call(r,t)?a(e.get(t)):l.call(r,n)?a(e.get(n)):void(e!==r&&e.get(t))}function ex(e,t=!1){let i=this.__v_raw,s=e2(i),r=e2(e);return t||(S(e,r)&&et(s,"has",e),et(s,"has",r)),e===r?i.has(e):i.has(e)||i.has(r)}function eT(e,t=!1){return e=e.__v_raw,t||et(e2(e),"iterate",Z),Reflect.get(e,"size",e)}function ek(e,t=!1){t||e0(e)||e$(e)||(e=e2(e));let i=e2(this);return eE(i).has.call(i,e)||(i.add(e),ei(i,"add",e,e)),this}function eA(e,t,i=!1){i||e0(t)||e$(t)||(t=e2(t));let s=e2(this),{has:r,get:n}=eE(s),l=r.call(s,e);l||(e=e2(e),l=r.call(s,e));let a=n.call(s,e);return s.set(e,t),l?S(t,a)&&ei(s,"set",e,t):ei(s,"add",e,t),this}function eD(e){let t=e2(this),{has:i,get:s}=eE(t),r=i.call(t,e);r||(e=e2(e),r=i.call(t,e)),s&&s.call(t,e);let n=t.delete(e);return r&&ei(t,"delete",e,void 0),n}function eO(){let e=e2(this),t=0!==e.size,i=e.clear();return t&&ei(e,"clear",void 0,void 0),i}function eI(e,t){return function(i,s){let r=this,n=r.__v_raw,l=e2(n),a=t?eS:e?e6:e3;return e||et(l,"iterate",Z),n.forEach((e,t)=>i.call(s,a(e),a(t),r))}}function eL(e,t,i){return function(...s){let r=this.__v_raw,n=e2(r),l=h(n),a="entries"===e||e===Symbol.iterator&&l,o=r[e](...s),u=i?eS:t?e6:e3;return t||et(n,"iterate","keys"===e&&l?$:Z),{next(){let{value:e,done:t}=o.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function ej(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}let[eC,eP,eW,eN]=/* @__PURE__ */function(){let e={get(e){return em(this,e)},get size(){return eT(this)},has:ex,add:ek,set:eA,delete:eD,clear:eO,forEach:eI(!1,!1)},t={get(e){return em(this,e,!1,!0)},get size(){return eT(this)},has:ex,add(e){return ek.call(this,e,!0)},set(e,t){return eA.call(this,e,t,!0)},delete:eD,clear:eO,forEach:eI(!1,!0)},i={get(e){return em(this,e,!0)},get size(){return eT(this,!0)},has(e){return ex.call(this,e,!0)},add:ej("add"),set:ej("set"),delete:ej("delete"),clear:ej("clear"),forEach:eI(!0,!1)},s={get(e){return em(this,e,!0,!0)},get size(){return eT(this,!0)},has(e){return ex.call(this,e,!0)},add:ej("add"),set:ej("set"),delete:ej("delete"),clear:ej("clear"),forEach:eI(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=eL(r,!1,!1),i[r]=eL(r,!0,!1),t[r]=eL(r,!1,!0),s[r]=eL(r,!0,!0)}),[e,i,t,s]}();function eV(e,t){let i=t?e?eN:eW:e?eP:eC;return(t,s,r)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(u(i,s)&&s in t?i:t,s,r)}let eK={get:/* @__PURE__ */eV(!1,!1)},eM={get:/* @__PURE__ */eV(!1,!0)},eH={get:/* @__PURE__ */eV(!0,!1)},eU={get:/* @__PURE__ */eV(!0,!0)},eY=/* @__PURE__ */new WeakMap,ez=/* @__PURE__ */new WeakMap,eG=/* @__PURE__ */new WeakMap,eF=/* @__PURE__ */new WeakMap;function eB(e){return e$(e)?e:eX(e,!1,ey,eK,eY)}function eq(e){return eX(e,!1,eb,eM,ez)}function eJ(e){return eX(e,!0,eR,eH,eG)}function eQ(e){return eX(e,!0,ew,eU,eF)}function eX(e,t,i,s,r){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let n=r.get(e);if(n)return n;let l=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(R(e));if(0===l)return e;let a=new Proxy(e,2===l?s:i);return r.set(e,a),a}function eZ(e){return e$(e)?eZ(e.__v_raw):!!(e&&e.__v_isReactive)}function e$(e){return!!(e&&e.__v_isReadonly)}function e0(e){return!!(e&&e.__v_isShallow)}function e1(e){return!!e&&!!e.__v_raw}function e2(e){let t=e&&e.__v_raw;return t?e2(t):e}function e4(e){return!u(e,"__v_skip")&&Object.isExtensible(e)&&E(e,"__v_skip",!0),e}let e3=e=>v(e)?eB(e):e,e6=e=>v(e)?eJ(e):e;function e8(e){return!!e&&!0===e.__v_isRef}function e5(e){return e9(e,!1)}function e7(e){return e9(e,!0)}function e9(e,t){return e8(e)?e:new te(e,t)}class te{constructor(e,t){this.dep=new Q,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:e2(e),this._value=t?e:e3(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,i=this.__v_isShallow||e0(e)||e$(e);S(e=i?e:e2(e),t)&&(this._rawValue=e,this._value=i?e:e3(e),this.dep.trigger())}}function tt(e){e.dep&&e.dep.trigger()}function ti(e){return e8(e)?e.value:e}function ts(e){return p(e)?e():ti(e)}let tr={get:(e,t,i)=>"__v_raw"===t?e:ti(Reflect.get(e,t,i)),set:(e,t,i,s)=>{let r=e[t];return e8(r)&&!e8(i)?(r.value=i,!0):Reflect.set(e,t,i,s)}};function tn(e){return eZ(e)?e:new Proxy(e,tr)}class tl{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Q,{get:i,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}function ta(e){return new tl(e)}function to(e){let t=c(e)?Array(e.length):{};for(let i in e)t[i]=tf(e,i);return t}class tu{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){var e,t,i;return e=e2(this._object),t=this._key,null==(i=X.get(e))?void 0:i.get(t)}}class tc{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function th(e,t,i){return e8(e)?e:p(e)?new tc(e):v(e)&&arguments.length>1?tf(e,t,i):e5(e)}function tf(e,t,i){let s=e[t];return e8(s)?s:new tu(e,t,i)}class tp{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Q(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=q-1,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(8&this.flags)&&t!==this)return L(this),!0}get value(){let e=this.dep.track();return N(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function td(e,t,i=!1){let s,r;return p(e)?s=e:(s=e.get,r=e.set),new tp(s,r,i)}let t_={GET:"get",HAS:"has",ITERATE:"iterate"},tv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},tg={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw",IS_REF:"__v_isRef"},ty={WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP"},tR={},tb=/* @__PURE__ */new WeakMap;function tw(){return s}function tS(e,t=!1,i=s){if(i){let t=tb.get(i);t||tb.set(i,t=[]),t.push(e)}}function tE(e,t,i=r){let l,o,u,h;let{immediate:f,deep:d,once:_,scheduler:v,augmentJob:g,call:y}=i,R=e=>d?e:e0(e)||!1===d||0===d?tm(e,1):tm(e),b=!1,w=!1;if(e8(e)?(o=()=>e.value,b=e0(e)):eZ(e)?(o=()=>R(e),b=!0):c(e)?(w=!0,b=e.some(e=>eZ(e)||e0(e)),o=()=>e.map(e=>e8(e)?e.value:eZ(e)?R(e):p(e)?y?y(e,2):e():void 0)):o=p(e)?t?y?()=>y(e,2):e:()=>{if(u){Y();try{u()}finally{G()}}let t=s;s=l;try{return y?y(e,3,[h]):e(h)}finally{s=t}}:n,t&&d){let e=o,t=!0===d?1/0:d;o=()=>tm(e(),t)}let E=T(),m=()=>{l.stop(),E&&a(E.effects,l)};if(_&&t){let e=t;t=(...t)=>{e(...t),m()}}let x=w?Array(e.length).fill(tR):tR,k=e=>{if(1&l.flags&&(l.dirty||e)){if(t){let e=l.run();if(d||b||(w?e.some((e,t)=>S(e,x[t])):S(e,x))){u&&u();let i=s;s=l;try{let i=[e,x===tR?void 0:w&&x[0]===tR?[]:x,h];y?y(t,3,i):t(...i),x=e}finally{s=i}}}else l.run()}};return g&&g(k),(l=new O(o)).scheduler=v?()=>v(k,!1):k,h=e=>tS(e,!1,l),u=l.onStop=()=>{let e=tb.get(l);if(e){if(y)y(e,4);else for(let t of e)t();tb.delete(l)}},t?f?k(!0):x=l.run():v?v(k.bind(null,!0),!0):l.run(),m.pause=l.pause.bind(l),m.resume=l.resume.bind(l),m.stop=m,m}function tm(e,t=1/0,i){if(t<=0||!v(e)||e.__v_skip||(i=i||/* @__PURE__ */new Set).has(e))return e;if(i.add(e),t--,e8(e))tm(e.value,t,i);else if(c(e))for(let s=0;s<e.length;s++)tm(e[s],t,i);else if(f(e)||h(e))e.forEach(e=>{tm(e,t,i)});else if(b(e)){for(let s in e)tm(e[s],t,i);for(let s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&tm(e[s],t,i)}return e}export{ee as ARRAY_ITERATE_KEY,A as EffectFlags,m as EffectScope,Z as ITERATE_KEY,$ as MAP_KEY_ITERATE_KEY,O as ReactiveEffect,tg as ReactiveFlags,t_ as TrackOpTypes,tv as TriggerOpTypes,ty as WatchErrorCodes,td as computed,ta as customRef,K as effect,x as effectScope,z as enableTracking,T as getCurrentScope,tw as getCurrentWatcher,e1 as isProxy,eZ as isReactive,e$ as isReadonly,e8 as isRef,e0 as isShallow,e4 as markRaw,F as onEffectCleanup,k as onScopeDispose,tS as onWatcherCleanup,Y as pauseTracking,tn as proxyRefs,eB as reactive,es as reactiveReadArray,eJ as readonly,e5 as ref,G as resetTracking,eq as shallowReactive,er as shallowReadArray,eQ as shallowReadonly,e7 as shallowRef,M as stop,e2 as toRaw,e3 as toReactive,e6 as toReadonly,th as toRef,to as toRefs,ts as toValue,et as track,tm as traverse,ei as trigger,tt as triggerRef,ti as unref,tE as watch};
**//*! #__NO_SIDE_EFFECTS__ */let e,t,i,s;let r={},n=()=>{},l=Object.assign,a=(e,t)=>{let i=e.indexOf(t);i>-1&&e.splice(i,1)},o=Object.prototype.hasOwnProperty,u=(e,t)=>o.call(e,t),c=Array.isArray,h=e=>"[object Map]"===y(e),f=e=>"[object Set]"===y(e),p=e=>"function"==typeof e,d=e=>"string"==typeof e,_=e=>"symbol"==typeof e,v=e=>null!==e&&"object"==typeof e,g=Object.prototype.toString,y=e=>g.call(e),R=e=>y(e).slice(8,-1),b=e=>"[object Object]"===y(e),w=e=>d(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,S=(e,t)=>!Object.is(e,t),E=(e,t,i,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:i})};class x{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=e,!t&&e&&(this.index=(e.scopes||(e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(t){if(this._active){let i=e;try{return e=this,t()}finally{e=i}}}on(){e=this}off(){e=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}function m(e){return new x(e)}function T(){return e}function k(t,i=!1){e&&e.cleanups.push(t)}let A={ACTIVE:1,1:"ACTIVE",RUNNING:2,2:"RUNNING",TRACKING:4,4:"TRACKING",NOTIFIED:8,8:"NOTIFIED",DIRTY:16,16:"DIRTY",ALLOW_RECURSE:32,32:"ALLOW_RECURSE",PAUSED:64,64:"PAUSED"},D=/* @__PURE__ */new WeakSet;class O{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,e&&e.active&&e.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,D.has(this)&&(D.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||L(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,B(this),C(this);let e=t,i=H;t=this,H=!0;try{return this.fn()}finally{P(this),t=e,H=i,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)V(e);this.deps=this.depsTail=void 0,B(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?D.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){W(this)&&this.run()}get dirty(){return W(this)}}let I=0;function L(e){e.flags|=8,e.next=i,i=e}function j(){let e;if(!(--I>0)){for(;i;){let t,s=i;for(;s;)s.flags&=-9,s=s.next;for(s=i,i=void 0;s;){if(1&s.flags)try{s.trigger()}catch(t){e||(e=t)}t=s.next,s.next=void 0,s=t}}if(e)throw e}}function C(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function P(e){let t;let i=e.depsTail,s=i;for(;s;){let e=s.prevDep;-1===s.version?(s===i&&(i=e),V(s),function(e){let{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=e}e.deps=t,e.depsTail=i}function W(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(N(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function N(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===q))return;e.globalVersion=q;let i=e.dep;if(e.flags|=2,i.version>0&&!e.isSSR&&e.deps&&!W(e)){e.flags&=-3;return}let s=t,r=H;t=e,H=!0;try{C(e);let t=e.fn(e._value);(0===i.version||S(t,e._value))&&(e._value=t,i.version++)}catch(e){throw i.version++,e}finally{t=s,H=r,P(e),e.flags&=-3}}function V(e,t=!1){let{dep:i,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),i.subs===e&&(i.subs=s),!i.subs&&i.computed){i.computed.flags&=-5;for(let e=i.computed.deps;e;e=e.nextDep)V(e,!0)}t||--i.sc||!i.map||i.map.delete(i.key)}function K(e,t){e.effect instanceof O&&(e=e.effect.fn);let i=new O(e);t&&l(i,t);try{i.run()}catch(e){throw i.stop(),e}let s=i.run.bind(i);return s.effect=i,s}function M(e){e.effect.stop()}let H=!0,U=[];function Y(){U.push(H),H=!1}function G(){U.push(H),H=!0}function z(){let e=U.pop();H=void 0===e||e}function F(e,i=!1){t instanceof O&&(t.cleanup=e)}function B(e){let{cleanup:i}=e;if(e.cleanup=void 0,i){let e=t;t=void 0;try{i()}finally{t=e}}}let q=0;class J{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Q{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!t||!H||t===this.computed)return;let i=this.activeLink;if(void 0===i||i.sub!==t)i=this.activeLink=new J(t,this),t.deps?(i.prevDep=t.depsTail,t.depsTail.nextDep=i,t.depsTail=i):t.deps=t.depsTail=i,function e(t){if(t.dep.sc++,4&t.sub.flags){let i=t.dep.computed;if(i&&!t.dep.subs){i.flags|=20;for(let t=i.deps;t;t=t.nextDep)e(t)}let s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}(i);else if(-1===i.version&&(i.version=this.version,i.nextDep)){let e=i.nextDep;e.prevDep=i.prevDep,i.prevDep&&(i.prevDep.nextDep=e),i.prevDep=t.depsTail,i.nextDep=void 0,t.depsTail.nextDep=i,t.depsTail=i,t.deps===i&&(t.deps=e)}return i}trigger(e){this.version++,q++,this.notify(e)}notify(e){I++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{j()}}}let X=/* @__PURE__ */new WeakMap,Z=Symbol(""),$=Symbol(""),ee=Symbol("");function et(e,i,s){if(H&&t){let t=X.get(e);t||X.set(e,t=/* @__PURE__ */new Map);let i=t.get(s);i||(t.set(s,i=new Q),i.target=e,i.map=t,i.key=s),i.track()}}function ei(e,t,i,s,r,n){let l=X.get(e);if(!l){q++;return}let a=e=>{e&&e.trigger()};if(I++,"clear"===t)l.forEach(a);else{let r=c(e),n=r&&w(i);if(r&&"length"===i){let e=Number(s);l.forEach((t,i)=>{("length"===i||i===ee||!_(i)&&i>=e)&&a(t)})}else switch(void 0!==i&&a(l.get(i)),n&&a(l.get(ee)),t){case"add":r?n&&a(l.get("length")):(a(l.get(Z)),h(e)&&a(l.get($)));break;case"delete":!r&&(a(l.get(Z)),h(e)&&a(l.get($)));break;case"set":h(e)&&a(l.get(Z))}}j()}function es(e){let t=e2(e);return t===e?t:(et(t,"iterate",ee),e0(e)?t:t.map(e3))}function er(e){return et(e=e2(e),"iterate",ee),e}let en={__proto__:null,[Symbol.iterator](){return el(this,Symbol.iterator,e3)},concat(...e){return es(this).concat(...e.map(e=>c(e)?es(e):e))},entries(){return el(this,"entries",e=>(e[1]=e3(e[1]),e))},every(e,t){return eo(this,"every",e,t,void 0,arguments)},filter(e,t){return eo(this,"filter",e,t,e=>e.map(e3),arguments)},find(e,t){return eo(this,"find",e,t,e3,arguments)},findIndex(e,t){return eo(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return eo(this,"findLast",e,t,e3,arguments)},findLastIndex(e,t){return eo(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return eo(this,"forEach",e,t,void 0,arguments)},includes(...e){return ec(this,"includes",e)},indexOf(...e){return ec(this,"indexOf",e)},join(e){return es(this).join(e)},lastIndexOf(...e){return ec(this,"lastIndexOf",e)},map(e,t){return eo(this,"map",e,t,void 0,arguments)},pop(){return eh(this,"pop")},push(...e){return eh(this,"push",e)},reduce(e,...t){return eu(this,"reduce",e,t)},reduceRight(e,...t){return eu(this,"reduceRight",e,t)},shift(){return eh(this,"shift")},some(e,t){return eo(this,"some",e,t,void 0,arguments)},splice(...e){return eh(this,"splice",e)},toReversed(){return es(this).toReversed()},toSorted(e){return es(this).toSorted(e)},toSpliced(...e){return es(this).toSpliced(...e)},unshift(...e){return eh(this,"unshift",e)},values(){return el(this,"values",e3)}};function el(e,t,i){let s=er(e),r=s[t]();return s===e||e0(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.value&&(e.value=i(e.value)),e}),r}let ea=Array.prototype;function eo(e,t,i,s,r,n){let l=er(e),a=l!==e&&!e0(e),o=l[t];if(o!==ea[t]){let t=o.apply(e,n);return a?e3(t):t}let u=i;l!==e&&(a?u=function(t,s){return i.call(this,e3(t),s,e)}:i.length>2&&(u=function(t,s){return i.call(this,t,s,e)}));let c=o.call(l,u,s);return a&&r?r(c):c}function eu(e,t,i,s){let r=er(e),n=i;return r!==e&&(e0(e)?i.length>3&&(n=function(t,s,r){return i.call(this,t,s,r,e)}):n=function(t,s,r){return i.call(this,t,e3(s),r,e)}),r[t](n,...s)}function ec(e,t,i){let s=e2(e);et(s,"iterate",ee);let r=s[t](...i);return(-1===r||!1===r)&&e1(i[0])?(i[0]=e2(i[0]),s[t](...i)):r}function eh(e,t,i=[]){Y(),I++;let s=e2(e)[t].apply(e,i);return j(),z(),s}let ef=/* @__PURE__ */function(e){let t=/* @__PURE__ */Object.create(null);for(let i of e.split(","))t[i]=1;return e=>e in t}("__proto__,__v_isRef,__isVue"),ep=new Set(/* @__PURE__ */Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(_));function ed(e){_(e)||(e=String(e));let t=e2(this);return et(t,"has",e),t.hasOwnProperty(e)}class e_{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){let s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return i===(s?r?eF:ez:r?eG:eY).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;let n=c(e);if(!s){let e;if(n&&(e=en[t]))return e;if("hasOwnProperty"===t)return ed}let l=Reflect.get(e,t,e8(e)?e:i);return(_(t)?ep.has(t):ef(t))?l:(s||et(e,"get",t),r)?l:e8(l)?n&&w(t)?l:l.value:v(l)?s?eJ(l):eB(l):l}}class ev extends e_{constructor(e=!1){super(!1,e)}set(e,t,i,s){let r=e[t];if(!this._isShallow){let t=e$(r);if(e0(i)||e$(i)||(r=e2(r),i=e2(i)),!c(e)&&e8(r)&&!e8(i))return!t&&(r.value=i,!0)}let n=c(e)&&w(t)?Number(t)<e.length:u(e,t),l=Reflect.set(e,t,i,e8(e)?e:s);return e===e2(s)&&(n?S(i,r)&&ei(e,"set",t,i):ei(e,"add",t,i)),l}deleteProperty(e,t){let i=u(e,t);e[t];let s=Reflect.deleteProperty(e,t);return s&&i&&ei(e,"delete",t,void 0),s}has(e,t){let i=Reflect.has(e,t);return _(t)&&ep.has(t)||et(e,"has",t),i}ownKeys(e){return et(e,"iterate",c(e)?"length":Z),Reflect.ownKeys(e)}}class eg extends e_{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let ey=/* @__PURE__ */new ev,eR=/* @__PURE__ */new eg,eb=/* @__PURE__ */new ev(!0),ew=/* @__PURE__ */new eg(!0),eS=e=>e,eE=e=>Reflect.getPrototypeOf(e);function ex(e,t,i=!1,s=!1){let r=e2(e=e.__v_raw),n=e2(t);i||(S(t,n)&&et(r,"get",t),et(r,"get",n));let{has:l}=eE(r),a=s?eS:i?e6:e3;return l.call(r,t)?a(e.get(t)):l.call(r,n)?a(e.get(n)):void(e!==r&&e.get(t))}function em(e,t=!1){let i=this.__v_raw,s=e2(i),r=e2(e);return t||(S(e,r)&&et(s,"has",e),et(s,"has",r)),e===r?i.has(e):i.has(e)||i.has(r)}function eT(e,t=!1){return e=e.__v_raw,t||et(e2(e),"iterate",Z),Reflect.get(e,"size",e)}function ek(e,t=!1){t||e0(e)||e$(e)||(e=e2(e));let i=e2(this);return eE(i).has.call(i,e)||(i.add(e),ei(i,"add",e,e)),this}function eA(e,t,i=!1){i||e0(t)||e$(t)||(t=e2(t));let s=e2(this),{has:r,get:n}=eE(s),l=r.call(s,e);l||(e=e2(e),l=r.call(s,e));let a=n.call(s,e);return s.set(e,t),l?S(t,a)&&ei(s,"set",e,t):ei(s,"add",e,t),this}function eD(e){let t=e2(this),{has:i,get:s}=eE(t),r=i.call(t,e);r||(e=e2(e),r=i.call(t,e)),s&&s.call(t,e);let n=t.delete(e);return r&&ei(t,"delete",e,void 0),n}function eO(){let e=e2(this),t=0!==e.size,i=e.clear();return t&&ei(e,"clear",void 0,void 0),i}function eI(e,t){return function(i,s){let r=this,n=r.__v_raw,l=e2(n),a=t?eS:e?e6:e3;return e||et(l,"iterate",Z),n.forEach((e,t)=>i.call(s,a(e),a(t),r))}}function eL(e,t,i){return function(...s){let r=this.__v_raw,n=e2(r),l=h(n),a="entries"===e||e===Symbol.iterator&&l,o=r[e](...s),u=i?eS:t?e6:e3;return t||et(n,"iterate","keys"===e&&l?$:Z),{next(){let{value:e,done:t}=o.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function ej(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}let[eC,eP,eW,eN]=/* @__PURE__ */function(){let e={get(e){return ex(this,e)},get size(){return eT(this)},has:em,add:ek,set:eA,delete:eD,clear:eO,forEach:eI(!1,!1)},t={get(e){return ex(this,e,!1,!0)},get size(){return eT(this)},has:em,add(e){return ek.call(this,e,!0)},set(e,t){return eA.call(this,e,t,!0)},delete:eD,clear:eO,forEach:eI(!1,!0)},i={get(e){return ex(this,e,!0)},get size(){return eT(this,!0)},has(e){return em.call(this,e,!0)},add:ej("add"),set:ej("set"),delete:ej("delete"),clear:ej("clear"),forEach:eI(!0,!1)},s={get(e){return ex(this,e,!0,!0)},get size(){return eT(this,!0)},has(e){return em.call(this,e,!0)},add:ej("add"),set:ej("set"),delete:ej("delete"),clear:ej("clear"),forEach:eI(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=eL(r,!1,!1),i[r]=eL(r,!0,!1),t[r]=eL(r,!1,!0),s[r]=eL(r,!0,!0)}),[e,i,t,s]}();function eV(e,t){let i=t?e?eN:eW:e?eP:eC;return(t,s,r)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(u(i,s)&&s in t?i:t,s,r)}let eK={get:/* @__PURE__ */eV(!1,!1)},eM={get:/* @__PURE__ */eV(!1,!0)},eH={get:/* @__PURE__ */eV(!0,!1)},eU={get:/* @__PURE__ */eV(!0,!0)},eY=/* @__PURE__ */new WeakMap,eG=/* @__PURE__ */new WeakMap,ez=/* @__PURE__ */new WeakMap,eF=/* @__PURE__ */new WeakMap;function eB(e){return e$(e)?e:eX(e,!1,ey,eK,eY)}function eq(e){return eX(e,!1,eb,eM,eG)}function eJ(e){return eX(e,!0,eR,eH,ez)}function eQ(e){return eX(e,!0,ew,eU,eF)}function eX(e,t,i,s,r){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let n=r.get(e);if(n)return n;let l=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(R(e));if(0===l)return e;let a=new Proxy(e,2===l?s:i);return r.set(e,a),a}function eZ(e){return e$(e)?eZ(e.__v_raw):!!(e&&e.__v_isReactive)}function e$(e){return!!(e&&e.__v_isReadonly)}function e0(e){return!!(e&&e.__v_isShallow)}function e1(e){return!!e&&!!e.__v_raw}function e2(e){let t=e&&e.__v_raw;return t?e2(t):e}function e4(e){return!u(e,"__v_skip")&&Object.isExtensible(e)&&E(e,"__v_skip",!0),e}let e3=e=>v(e)?eB(e):e,e6=e=>v(e)?eJ(e):e;function e8(e){return!!e&&!0===e.__v_isRef}function e5(e){return e9(e,!1)}function e7(e){return e9(e,!0)}function e9(e,t){return e8(e)?e:new te(e,t)}class te{constructor(e,t){this.dep=new Q,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:e2(e),this._value=t?e:e3(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,i=this.__v_isShallow||e0(e)||e$(e);S(e=i?e:e2(e),t)&&(this._rawValue=e,this._value=i?e:e3(e),this.dep.trigger())}}function tt(e){e.dep&&e.dep.trigger()}function ti(e){return e8(e)?e.value:e}function ts(e){return p(e)?e():ti(e)}let tr={get:(e,t,i)=>"__v_raw"===t?e:ti(Reflect.get(e,t,i)),set:(e,t,i,s)=>{let r=e[t];return e8(r)&&!e8(i)?(r.value=i,!0):Reflect.set(e,t,i,s)}};function tn(e){return eZ(e)?e:new Proxy(e,tr)}class tl{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Q,{get:i,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}function ta(e){return new tl(e)}function to(e){let t=c(e)?Array(e.length):{};for(let i in e)t[i]=tf(e,i);return t}class tu{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){let i=X.get(e);return i&&i.get(t)}(e2(this._object),this._key)}}class tc{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function th(e,t,i){return e8(e)?e:p(e)?new tc(e):v(e)&&arguments.length>1?tf(e,t,i):e5(e)}function tf(e,t,i){let s=e[t];return e8(s)?s:new tu(e,t,i)}class tp{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Q(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=q-1,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(8&this.flags)&&t!==this)return L(this),!0}get value(){let e=this.dep.track();return N(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function td(e,t,i=!1){let s,r;return p(e)?s=e:(s=e.get,r=e.set),new tp(s,r,i)}let t_={GET:"get",HAS:"has",ITERATE:"iterate"},tv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},tg={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw",IS_REF:"__v_isRef"},ty={WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP"},tR={},tb=/* @__PURE__ */new WeakMap;function tw(){return s}function tS(e,t=!1,i=s){if(i){let t=tb.get(i);t||tb.set(i,t=[]),t.push(e)}}function tE(e,t,i=r){let l,o,u,h;let{immediate:f,deep:d,once:_,scheduler:v,augmentJob:g,call:y}=i,R=e=>d?e:e0(e)||!1===d||0===d?tx(e,1):tx(e),b=!1,w=!1;if(e8(e)?(o=()=>e.value,b=e0(e)):eZ(e)?(o=()=>R(e),b=!0):c(e)?(w=!0,b=e.some(e=>eZ(e)||e0(e)),o=()=>e.map(e=>e8(e)?e.value:eZ(e)?R(e):p(e)?y?y(e,2):e():void 0)):o=p(e)?t?y?()=>y(e,2):e:()=>{if(u){Y();try{u()}finally{z()}}let t=s;s=l;try{return y?y(e,3,[h]):e(h)}finally{s=t}}:n,t&&d){let e=o,t=!0===d?1/0:d;o=()=>tx(e(),t)}let E=T(),x=()=>{l.stop(),E&&a(E.effects,l)};if(_&&t){let e=t;t=(...t)=>{e(...t),x()}}let m=w?Array(e.length).fill(tR):tR,k=e=>{if(1&l.flags&&(l.dirty||e)){if(t){let e=l.run();if(d||b||(w?e.some((e,t)=>S(e,m[t])):S(e,m))){u&&u();let i=s;s=l;try{let i=[e,m===tR?void 0:w&&m[0]===tR?[]:m,h];y?y(t,3,i):t(...i),m=e}finally{s=i}}}else l.run()}};return g&&g(k),(l=new O(o)).scheduler=v?()=>v(k,!1):k,h=e=>tS(e,!1,l),u=l.onStop=()=>{let e=tb.get(l);if(e){if(y)y(e,4);else for(let t of e)t();tb.delete(l)}},t?f?k(!0):m=l.run():v?v(k.bind(null,!0),!0):l.run(),x.pause=l.pause.bind(l),x.resume=l.resume.bind(l),x.stop=x,x}function tx(e,t=1/0,i){if(t<=0||!v(e)||e.__v_skip||(i=i||/* @__PURE__ */new Set).has(e))return e;if(i.add(e),t--,e8(e))tx(e.value,t,i);else if(c(e))for(let s=0;s<e.length;s++)tx(e[s],t,i);else if(f(e)||h(e))e.forEach(e=>{tx(e,t,i)});else if(b(e)){for(let s in e)tx(e[s],t,i);for(let s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&tx(e[s],t,i)}return e}export{ee as ARRAY_ITERATE_KEY,A as EffectFlags,x as EffectScope,Z as ITERATE_KEY,$ as MAP_KEY_ITERATE_KEY,O as ReactiveEffect,tg as ReactiveFlags,t_ as TrackOpTypes,tv as TriggerOpTypes,ty as WatchErrorCodes,td as computed,ta as customRef,K as effect,m as effectScope,G as enableTracking,T as getCurrentScope,tw as getCurrentWatcher,e1 as isProxy,eZ as isReactive,e$ as isReadonly,e8 as isRef,e0 as isShallow,e4 as markRaw,F as onEffectCleanup,k as onScopeDispose,tS as onWatcherCleanup,Y as pauseTracking,tn as proxyRefs,eB as reactive,es as reactiveReadArray,eJ as readonly,e5 as ref,z as resetTracking,eq as shallowReactive,er as shallowReadArray,eQ as shallowReadonly,e7 as shallowRef,M as stop,e2 as toRaw,e3 as toReactive,e6 as toReadonly,th as toRef,to as toRefs,ts as toValue,et as track,tx as traverse,ei as trigger,tt as triggerRef,ti as unref,tE as watch};
/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -284,7 +284,10 @@ * @license MIT

let e = batchedSub;
let next;
while (e) {
e.flags &= ~8;
e = e.next;
}
e = batchedSub;
batchedSub = void 0;
while (e) {
const next = e.next;
e.next = void 0;
e.flags &= ~8;
if (e.flags & 1) {

@@ -298,2 +301,4 @@ try {

}
next = e.next;
e.next = void 0;
e = next;

@@ -311,3 +316,3 @@ }

}
function cleanupDeps(sub, fromComputed = false) {
function cleanupDeps(sub) {
let head;

@@ -320,3 +325,3 @@ let tail = sub.depsTail;

if (link === tail) tail = prev;
removeSub(link, fromComputed);
removeSub(link);
removeDep(link);

@@ -376,7 +381,7 @@ } else {

shouldTrack = prevShouldTrack;
cleanupDeps(computed, true);
cleanupDeps(computed);
computed.flags &= ~2;
}
}
function removeSub(link, fromComputed = false) {
function removeSub(link, soft = false) {
const { dep, prevSub, nextSub } = link;

@@ -397,13 +402,11 @@ if (prevSub) {

}
if (!dep.subs) {
if (dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
} else if (dep.map && !fromComputed) {
dep.map.delete(dep.key);
if (!dep.map.size) targetMap.delete(dep.target);
if (!dep.subs && dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
}
if (!soft && !--dep.sc && dep.map) {
dep.map.delete(dep.key);
}
}

@@ -506,2 +509,6 @@ function removeDep(link) {

this.key = void 0;
/**
* Subscriber counter
*/
this.sc = 0;
if (!!(process.env.NODE_ENV !== "production")) {

@@ -525,5 +532,3 @@ this.subsHead = void 0;

}
if (activeSub.flags & 4) {
addSub(link);
}
addSub(link);
} else if (link.version === -1) {

@@ -592,18 +597,21 @@ link.version = this.version;

function addSub(link) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
link.dep.sc++;
if (link.sub.flags & 4) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
}
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (!!(process.env.NODE_ENV !== "production") && link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (!!(process.env.NODE_ENV !== "production") && link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}

@@ -716,4 +724,4 @@ const targetMap = /* @__PURE__ */ new WeakMap();

function getDepFromReactive(object, key) {
var _a;
return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);
const depMap = targetMap.get(object);
return depMap && depMap.get(key);
}

@@ -720,0 +728,0 @@

/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -339,7 +339,10 @@ * @license MIT

let e = batchedSub;
let next;
while (e) {
e.flags &= ~8;
e = e.next;
}
e = batchedSub;
batchedSub = void 0;
while (e) {
const next = e.next;
e.next = void 0;
e.flags &= ~8;
if (e.flags & 1) {

@@ -353,2 +356,4 @@ try {

}
next = e.next;
e.next = void 0;
e = next;

@@ -366,3 +371,3 @@ }

}
function cleanupDeps(sub, fromComputed = false) {
function cleanupDeps(sub) {
let head;

@@ -375,3 +380,3 @@ let tail = sub.depsTail;

if (link === tail) tail = prev;
removeSub(link, fromComputed);
removeSub(link);
removeDep(link);

@@ -431,7 +436,7 @@ } else {

shouldTrack = prevShouldTrack;
cleanupDeps(computed, true);
cleanupDeps(computed);
computed.flags &= ~2;
}
}
function removeSub(link, fromComputed = false) {
function removeSub(link, soft = false) {
const { dep, prevSub, nextSub } = link;

@@ -452,13 +457,11 @@ if (prevSub) {

}
if (!dep.subs) {
if (dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
} else if (dep.map && !fromComputed) {
dep.map.delete(dep.key);
if (!dep.map.size) targetMap.delete(dep.target);
if (!dep.subs && dep.computed) {
dep.computed.flags &= ~4;
for (let l = dep.computed.deps; l; l = l.nextDep) {
removeSub(l, true);
}
}
if (!soft && !--dep.sc && dep.map) {
dep.map.delete(dep.key);
}
}

@@ -561,2 +564,6 @@ function removeDep(link) {

this.key = void 0;
/**
* Subscriber counter
*/
this.sc = 0;
{

@@ -580,5 +587,3 @@ this.subsHead = void 0;

}
if (activeSub.flags & 4) {
addSub(link);
}
addSub(link);
} else if (link.version === -1) {

@@ -647,18 +652,21 @@ link.version = this.version;

function addSub(link) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
link.dep.sc++;
if (link.sub.flags & 4) {
const computed = link.dep.computed;
if (computed && !link.dep.subs) {
computed.flags |= 4 | 16;
for (let l = computed.deps; l; l = l.nextDep) {
addSub(l);
}
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}
const currentTail = link.dep.subs;
if (currentTail !== link) {
link.prevSub = currentTail;
if (currentTail) currentTail.nextSub = link;
}
if (link.dep.subsHead === void 0) {
link.dep.subsHead = link;
}
link.dep.subs = link;
}

@@ -767,4 +775,4 @@ const targetMap = /* @__PURE__ */ new WeakMap();

function getDepFromReactive(object, key) {
var _a;
return (_a = targetMap.get(object)) == null ? void 0 : _a.get(key);
const depMap = targetMap.get(object);
return depMap && depMap.get(key);
}

@@ -771,0 +779,0 @@

/**
* @vue/reactivity v3.5.8
* @vue/reactivity v3.5.9
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/var VueReactivity=function(e){"use strict";let t,i,s,r;let n={},l=()=>{},a=Object.assign,o=(e,t)=>{let i=e.indexOf(t);i>-1&&e.splice(i,1)},u=Object.prototype.hasOwnProperty,c=(e,t)=>u.call(e,t),h=Array.isArray,f=e=>"[object Map]"===R(e),p=e=>"[object Set]"===R(e),d=e=>"function"==typeof e,_=e=>"string"==typeof e,v=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=Object.prototype.toString,R=e=>y.call(e),b=e=>R(e).slice(8,-1),w=e=>"[object Object]"===R(e),S=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=(e,t)=>!Object.is(e,t),m=(e,t,i,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:i})};class x{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=t,!e&&t&&(this.index=(t.scopes||(t.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let i=t;try{return t=this,e()}finally{t=i}}}on(){t=this}off(){t=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}let T=/* @__PURE__ */new WeakSet;class k{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,t&&t.active&&t.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,T.has(this)&&(T.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||D(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,M(this),I(this);let e=i,t=W;i=this,W=!0;try{return this.fn()}finally{L(this),i=e,W=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)P(e);this.deps=this.depsTail=void 0,M(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?T.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){j(this)&&this.run()}get dirty(){return j(this)}}let A=0;function D(e){e.flags|=8,e.next=s,s=e}function O(){let e;if(!(--A>0)){for(;s;){let t=s;for(s=void 0;t;){let i=t.next;if(t.next=void 0,t.flags&=-9,1&t.flags)try{t.trigger()}catch(t){e||(e=t)}t=i}}if(e)throw e}}function I(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function L(e,t=!1){let i;let s=e.depsTail,r=s;for(;r;){let e=r.prevDep;-1===r.version?(r===s&&(s=e),P(r,t),function(e){let{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}(r)):i=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=i,e.depsTail=s}function j(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(C(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function C(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===H))return;e.globalVersion=H;let t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!j(e)){e.flags&=-3;return}let s=i,r=W;i=e,W=!0;try{I(e);let i=e.fn(e._value);(0===t.version||E(i,e._value))&&(e._value=i,t.version++)}catch(e){throw t.version++,e}finally{i=s,W=r,L(e,!0),e.flags&=-3}}function P(e,t=!1){let{dep:i,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),i.subs===e&&(i.subs=s),!i.subs){if(i.computed){i.computed.flags&=-5;for(let e=i.computed.deps;e;e=e.nextDep)P(e,!0)}else!i.map||t||(i.map.delete(i.key),i.map.size||z.delete(i.target))}}let W=!0,N=[];function V(){N.push(W),W=!1}function K(){let e=N.pop();W=void 0===e||e}function M(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=i;i=void 0;try{t()}finally{i=e}}}let H=0;class U{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Y{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(e){if(!i||!W||i===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==i)t=this.activeLink=new U(i,this),i.deps?(t.prevDep=i.depsTail,i.depsTail.nextDep=t,i.depsTail=t):i.deps=i.depsTail=t,4&i.flags&&function e(t){let i=t.dep.computed;if(i&&!t.dep.subs){i.flags|=20;for(let t=i.deps;t;t=t.nextDep)e(t)}let s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=i.depsTail,t.nextDep=void 0,i.depsTail.nextDep=t,i.depsTail=t,i.deps===t&&(i.deps=e)}return t}trigger(e){this.version++,H++,this.notify(e)}notify(e){A++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{O()}}}let z=/* @__PURE__ */new WeakMap,G=Symbol(""),F=Symbol(""),B=Symbol("");function q(e,t,s){if(W&&i){let t=z.get(e);t||z.set(e,t=/* @__PURE__ */new Map);let i=t.get(s);i||(t.set(s,i=new Y),i.target=e,i.map=t,i.key=s),i.track()}}function J(e,t,i,s,r,n){let l=z.get(e);if(!l){H++;return}let a=e=>{e&&e.trigger()};if(A++,"clear"===t)l.forEach(a);else{let r=h(e),n=r&&S(i);if(r&&"length"===i){let e=Number(s);l.forEach((t,i)=>{("length"===i||i===B||!v(i)&&i>=e)&&a(t)})}else switch(void 0!==i&&a(l.get(i)),n&&a(l.get(B)),t){case"add":r?n&&a(l.get("length")):(a(l.get(G)),f(e)&&a(l.get(F)));break;case"delete":!r&&(a(l.get(G)),f(e)&&a(l.get(F)));break;case"set":f(e)&&a(l.get(G))}}O()}function Q(e){let t=eB(e);return t===e?t:(q(t,"iterate",B),eG(e)?t:t.map(eq))}function X(e){return q(e=eB(e),"iterate",B),e}let Z={__proto__:null,[Symbol.iterator](){return $(this,Symbol.iterator,eq)},concat(...e){return Q(this).concat(...e.map(e=>h(e)?Q(e):e))},entries(){return $(this,"entries",e=>(e[1]=eq(e[1]),e))},every(e,t){return et(this,"every",e,t,void 0,arguments)},filter(e,t){return et(this,"filter",e,t,e=>e.map(eq),arguments)},find(e,t){return et(this,"find",e,t,eq,arguments)},findIndex(e,t){return et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return et(this,"findLast",e,t,eq,arguments)},findLastIndex(e,t){return et(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return et(this,"forEach",e,t,void 0,arguments)},includes(...e){return es(this,"includes",e)},indexOf(...e){return es(this,"indexOf",e)},join(e){return Q(this).join(e)},lastIndexOf(...e){return es(this,"lastIndexOf",e)},map(e,t){return et(this,"map",e,t,void 0,arguments)},pop(){return er(this,"pop")},push(...e){return er(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return er(this,"shift")},some(e,t){return et(this,"some",e,t,void 0,arguments)},splice(...e){return er(this,"splice",e)},toReversed(){return Q(this).toReversed()},toSorted(e){return Q(this).toSorted(e)},toSpliced(...e){return Q(this).toSpliced(...e)},unshift(...e){return er(this,"unshift",e)},values(){return $(this,"values",eq)}};function $(e,t,i){let s=X(e),r=s[t]();return s===e||eG(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.value&&(e.value=i(e.value)),e}),r}let ee=Array.prototype;function et(e,t,i,s,r,n){let l=X(e),a=l!==e&&!eG(e),o=l[t];if(o!==ee[t]){let t=o.apply(e,n);return a?eq(t):t}let u=i;l!==e&&(a?u=function(t,s){return i.call(this,eq(t),s,e)}:i.length>2&&(u=function(t,s){return i.call(this,t,s,e)}));let c=o.call(l,u,s);return a&&r?r(c):c}function ei(e,t,i,s){let r=X(e),n=i;return r!==e&&(eG(e)?i.length>3&&(n=function(t,s,r){return i.call(this,t,s,r,e)}):n=function(t,s,r){return i.call(this,t,eq(s),r,e)}),r[t](n,...s)}function es(e,t,i){let s=eB(e);q(s,"iterate",B);let r=s[t](...i);return(-1===r||!1===r)&&eF(i[0])?(i[0]=eB(i[0]),s[t](...i)):r}function er(e,t,i=[]){V(),A++;let s=eB(e)[t].apply(e,i);return O(),K(),s}let en=/* @__PURE__ *//*! #__NO_SIDE_EFFECTS__ */function(e){let t=/* @__PURE__ */Object.create(null);for(let i of e.split(","))t[i]=1;return e=>e in t}("__proto__,__v_isRef,__isVue"),el=new Set(/* @__PURE__ */Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(v));function ea(e){v(e)||(e=String(e));let t=eB(this);return q(t,"has",e),t.hasOwnProperty(e)}class eo{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){let s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return i===(s?r?eK:eV:r?eN:eW).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;let n=h(e);if(!s){let e;if(n&&(e=Z[t]))return e;if("hasOwnProperty"===t)return ea}let l=Reflect.get(e,t,eQ(e)?e:i);return(v(t)?el.has(t):en(t))?l:(s||q(e,"get",t),r)?l:eQ(l)?n&&S(t)?l:l.value:g(l)?s?eH(l):eM(l):l}}class eu extends eo{constructor(e=!1){super(!1,e)}set(e,t,i,s){let r=e[t];if(!this._isShallow){let t=ez(r);if(eG(i)||ez(i)||(r=eB(r),i=eB(i)),!h(e)&&eQ(r)&&!eQ(i))return!t&&(r.value=i,!0)}let n=h(e)&&S(t)?Number(t)<e.length:c(e,t),l=Reflect.set(e,t,i,eQ(e)?e:s);return e===eB(s)&&(n?E(i,r)&&J(e,"set",t,i):J(e,"add",t,i)),l}deleteProperty(e,t){let i=c(e,t);e[t];let s=Reflect.deleteProperty(e,t);return s&&i&&J(e,"delete",t,void 0),s}has(e,t){let i=Reflect.has(e,t);return v(t)&&el.has(t)||q(e,"has",t),i}ownKeys(e){return q(e,"iterate",h(e)?"length":G),Reflect.ownKeys(e)}}class ec extends eo{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let eh=/* @__PURE__ */new eu,ef=/* @__PURE__ */new ec,ep=/* @__PURE__ */new eu(!0),ed=/* @__PURE__ */new ec(!0),e_=e=>e,ev=e=>Reflect.getPrototypeOf(e);function eg(e,t,i=!1,s=!1){let r=eB(e=e.__v_raw),n=eB(t);i||(E(t,n)&&q(r,"get",t),q(r,"get",n));let{has:l}=ev(r),a=s?e_:i?eJ:eq;return l.call(r,t)?a(e.get(t)):l.call(r,n)?a(e.get(n)):void(e!==r&&e.get(t))}function ey(e,t=!1){let i=this.__v_raw,s=eB(i),r=eB(e);return t||(E(e,r)&&q(s,"has",e),q(s,"has",r)),e===r?i.has(e):i.has(e)||i.has(r)}function eR(e,t=!1){return e=e.__v_raw,t||q(eB(e),"iterate",G),Reflect.get(e,"size",e)}function eb(e,t=!1){t||eG(e)||ez(e)||(e=eB(e));let i=eB(this);return ev(i).has.call(i,e)||(i.add(e),J(i,"add",e,e)),this}function ew(e,t,i=!1){i||eG(t)||ez(t)||(t=eB(t));let s=eB(this),{has:r,get:n}=ev(s),l=r.call(s,e);l||(e=eB(e),l=r.call(s,e));let a=n.call(s,e);return s.set(e,t),l?E(t,a)&&J(s,"set",e,t):J(s,"add",e,t),this}function eS(e){let t=eB(this),{has:i,get:s}=ev(t),r=i.call(t,e);r||(e=eB(e),r=i.call(t,e)),s&&s.call(t,e);let n=t.delete(e);return r&&J(t,"delete",e,void 0),n}function eE(){let e=eB(this),t=0!==e.size,i=e.clear();return t&&J(e,"clear",void 0,void 0),i}function em(e,t){return function(i,s){let r=this,n=r.__v_raw,l=eB(n),a=t?e_:e?eJ:eq;return e||q(l,"iterate",G),n.forEach((e,t)=>i.call(s,a(e),a(t),r))}}function ex(e,t,i){return function(...s){let r=this.__v_raw,n=eB(r),l=f(n),a="entries"===e||e===Symbol.iterator&&l,o=r[e](...s),u=i?e_:t?eJ:eq;return t||q(n,"iterate","keys"===e&&l?F:G),{next(){let{value:e,done:t}=o.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function eT(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}let[ek,eA,eD,eO]=/* @__PURE__ */function(){let e={get(e){return eg(this,e)},get size(){return eR(this)},has:ey,add:eb,set:ew,delete:eS,clear:eE,forEach:em(!1,!1)},t={get(e){return eg(this,e,!1,!0)},get size(){return eR(this)},has:ey,add(e){return eb.call(this,e,!0)},set(e,t){return ew.call(this,e,t,!0)},delete:eS,clear:eE,forEach:em(!1,!0)},i={get(e){return eg(this,e,!0)},get size(){return eR(this,!0)},has(e){return ey.call(this,e,!0)},add:eT("add"),set:eT("set"),delete:eT("delete"),clear:eT("clear"),forEach:em(!0,!1)},s={get(e){return eg(this,e,!0,!0)},get size(){return eR(this,!0)},has(e){return ey.call(this,e,!0)},add:eT("add"),set:eT("set"),delete:eT("delete"),clear:eT("clear"),forEach:em(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=ex(r,!1,!1),i[r]=ex(r,!0,!1),t[r]=ex(r,!1,!0),s[r]=ex(r,!0,!0)}),[e,i,t,s]}();function eI(e,t){let i=t?e?eO:eD:e?eA:ek;return(t,s,r)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(c(i,s)&&s in t?i:t,s,r)}let eL={get:/* @__PURE__ */eI(!1,!1)},ej={get:/* @__PURE__ */eI(!1,!0)},eC={get:/* @__PURE__ */eI(!0,!1)},eP={get:/* @__PURE__ */eI(!0,!0)},eW=/* @__PURE__ */new WeakMap,eN=/* @__PURE__ */new WeakMap,eV=/* @__PURE__ */new WeakMap,eK=/* @__PURE__ */new WeakMap;function eM(e){return ez(e)?e:eU(e,!1,eh,eL,eW)}function eH(e){return eU(e,!0,ef,eC,eV)}function eU(e,t,i,s,r){if(!g(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let n=r.get(e);if(n)return n;let l=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(b(e));if(0===l)return e;let a=new Proxy(e,2===l?s:i);return r.set(e,a),a}function eY(e){return ez(e)?eY(e.__v_raw):!!(e&&e.__v_isReactive)}function ez(e){return!!(e&&e.__v_isReadonly)}function eG(e){return!!(e&&e.__v_isShallow)}function eF(e){return!!e&&!!e.__v_raw}function eB(e){let t=e&&e.__v_raw;return t?eB(t):e}let eq=e=>g(e)?eM(e):e,eJ=e=>g(e)?eH(e):e;function eQ(e){return!!e&&!0===e.__v_isRef}function eX(e){return eZ(e,!1)}function eZ(e,t){return eQ(e)?e:new e$(e,t)}class e${constructor(e,t){this.dep=new Y,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:eB(e),this._value=t?e:eq(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,i=this.__v_isShallow||eG(e)||ez(e);E(e=i?e:eB(e),t)&&(this._rawValue=e,this._value=i?e:eq(e),this.dep.trigger())}}function e0(e){return eQ(e)?e.value:e}let e1={get:(e,t,i)=>"__v_raw"===t?e:e0(Reflect.get(e,t,i)),set:(e,t,i,s)=>{let r=e[t];return eQ(r)&&!eQ(i)?(r.value=i,!0):Reflect.set(e,t,i,s)}};class e2{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Y,{get:i,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}class e4{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){var e,t,i;return e=eB(this._object),t=this._key,null==(i=z.get(e))?void 0:i.get(t)}}class e3{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function e6(e,t,i){let s=e[t];return eQ(s)?s:new e4(e,t,i)}class e8{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Y(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=H-1,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(8&this.flags)&&i!==this)return D(this),!0}get value(){let e=this.dep.track();return C(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}let e5={},e7=/* @__PURE__ */new WeakMap;function e9(e,t=!1,i=r){if(i){let t=e7.get(i);t||e7.set(i,t=[]),t.push(e)}}function te(e,t=1/0,i){if(t<=0||!g(e)||e.__v_skip||(i=i||/* @__PURE__ */new Set).has(e))return e;if(i.add(e),t--,eQ(e))te(e.value,t,i);else if(h(e))for(let s=0;s<e.length;s++)te(e[s],t,i);else if(p(e)||f(e))e.forEach(e=>{te(e,t,i)});else if(w(e)){for(let s in e)te(e[s],t,i);for(let s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&te(e[s],t,i)}return e}return e.ARRAY_ITERATE_KEY=B,e.EffectFlags={ACTIVE:1,1:"ACTIVE",RUNNING:2,2:"RUNNING",TRACKING:4,4:"TRACKING",NOTIFIED:8,8:"NOTIFIED",DIRTY:16,16:"DIRTY",ALLOW_RECURSE:32,32:"ALLOW_RECURSE",PAUSED:64,64:"PAUSED"},e.EffectScope=x,e.ITERATE_KEY=G,e.MAP_KEY_ITERATE_KEY=F,e.ReactiveEffect=k,e.ReactiveFlags={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw",IS_REF:"__v_isRef"},e.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},e.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},e.WatchErrorCodes={WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP"},e.computed=function(e,t,i=!1){let s,r;return d(e)?s=e:(s=e.get,r=e.set),new e8(s,r,i)},e.customRef=function(e){return new e2(e)},e.effect=function(e,t){e.effect instanceof k&&(e=e.effect.fn);let i=new k(e);t&&a(i,t);try{i.run()}catch(e){throw i.stop(),e}let s=i.run.bind(i);return s.effect=i,s},e.effectScope=function(e){return new x(e)},e.enableTracking=function(){N.push(W),W=!0},e.getCurrentScope=function(){return t},e.getCurrentWatcher=function(){return r},e.isProxy=eF,e.isReactive=eY,e.isReadonly=ez,e.isRef=eQ,e.isShallow=eG,e.markRaw=function(e){return!c(e,"__v_skip")&&Object.isExtensible(e)&&m(e,"__v_skip",!0),e},e.onEffectCleanup=function(e,t=!1){i instanceof k&&(i.cleanup=e)},e.onScopeDispose=function(e,i=!1){t&&t.cleanups.push(e)},e.onWatcherCleanup=e9,e.pauseTracking=V,e.proxyRefs=function(e){return eY(e)?e:new Proxy(e,e1)},e.reactive=eM,e.reactiveReadArray=Q,e.readonly=eH,e.ref=eX,e.resetTracking=K,e.shallowReactive=function(e){return eU(e,!1,ep,ej,eN)},e.shallowReadArray=X,e.shallowReadonly=function(e){return eU(e,!0,ed,eP,eK)},e.shallowRef=function(e){return eZ(e,!0)},e.stop=function(e){e.effect.stop()},e.toRaw=eB,e.toReactive=eq,e.toReadonly=eJ,e.toRef=function(e,t,i){return eQ(e)?e:d(e)?new e3(e):g(e)&&arguments.length>1?e6(e,t,i):eX(e)},e.toRefs=function(e){let t=h(e)?Array(e.length):{};for(let i in e)t[i]=e6(e,i);return t},e.toValue=function(e){return d(e)?e():e0(e)},e.track=q,e.traverse=te,e.trigger=J,e.triggerRef=function(e){e.dep&&e.dep.trigger()},e.unref=e0,e.watch=function(e,i,s=n){let a,u,c,f;let{immediate:p,deep:_,once:v,scheduler:g,augmentJob:y,call:R}=s,b=e=>_?e:eG(e)||!1===_||0===_?te(e,1):te(e),w=!1,S=!1;if(eQ(e)?(u=()=>e.value,w=eG(e)):eY(e)?(u=()=>b(e),w=!0):h(e)?(S=!0,w=e.some(e=>eY(e)||eG(e)),u=()=>e.map(e=>eQ(e)?e.value:eY(e)?b(e):d(e)?R?R(e,2):e():void 0)):u=d(e)?i?R?()=>R(e,2):e:()=>{if(c){V();try{c()}finally{K()}}let t=r;r=a;try{return R?R(e,3,[f]):e(f)}finally{r=t}}:l,i&&_){let e=u,t=!0===_?1/0:_;u=()=>te(e(),t)}let m=t,x=()=>{a.stop(),m&&o(m.effects,a)};if(v&&i){let e=i;i=(...t)=>{e(...t),x()}}let T=S?Array(e.length).fill(e5):e5,A=e=>{if(1&a.flags&&(a.dirty||e)){if(i){let e=a.run();if(_||w||(S?e.some((e,t)=>E(e,T[t])):E(e,T))){c&&c();let t=r;r=a;try{let t=[e,T===e5?void 0:S&&T[0]===e5?[]:T,f];R?R(i,3,t):i(...t),T=e}finally{r=t}}}else a.run()}};return y&&y(A),(a=new k(u)).scheduler=g?()=>g(A,!1):A,f=e=>e9(e,!1,a),c=a.onStop=()=>{let e=e7.get(a);if(e){if(R)R(e,4);else for(let t of e)t();e7.delete(a)}},i?p?A(!0):T=a.run():g?g(A.bind(null,!0),!0):a.run(),x.pause=a.pause.bind(a),x.resume=a.resume.bind(a),x.stop=x,x},e}({});
**/var VueReactivity=function(e){"use strict";let t,i,s,r;let n={},l=()=>{},a=Object.assign,o=(e,t)=>{let i=e.indexOf(t);i>-1&&e.splice(i,1)},u=Object.prototype.hasOwnProperty,c=(e,t)=>u.call(e,t),h=Array.isArray,f=e=>"[object Map]"===R(e),p=e=>"[object Set]"===R(e),d=e=>"function"==typeof e,_=e=>"string"==typeof e,v=e=>"symbol"==typeof e,g=e=>null!==e&&"object"==typeof e,y=Object.prototype.toString,R=e=>y.call(e),b=e=>R(e).slice(8,-1),w=e=>"[object Object]"===R(e),S=e=>_(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,E=(e,t)=>!Object.is(e,t),m=(e,t,i,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:i})};class x{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=t,!e&&t&&(this.index=(t.scopes||(t.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let i=t;try{return t=this,e()}finally{t=i}}}on(){t=this}off(){t=this.parent}stop(e){if(this._active){let t,i;for(t=0,i=this.effects.length;t<i;t++)this.effects[t].stop();for(t=0,i=this.cleanups.length;t<i;t++)this.cleanups[t]();if(this.scopes)for(t=0,i=this.scopes.length;t<i;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0,this._active=!1}}}let T=/* @__PURE__ */new WeakSet;class k{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,t&&t.active&&t.effects.push(this)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,T.has(this)&&(T.delete(this),this.trigger()))}notify(){(!(2&this.flags)||32&this.flags)&&(8&this.flags||D(this))}run(){if(!(1&this.flags))return this.fn();this.flags|=2,M(this),I(this);let e=i,t=W;i=this,W=!0;try{return this.fn()}finally{L(this),i=e,W=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)P(e);this.deps=this.depsTail=void 0,M(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?T.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){j(this)&&this.run()}get dirty(){return j(this)}}let A=0;function D(e){e.flags|=8,e.next=s,s=e}function O(){let e;if(!(--A>0)){for(;s;){let t,i=s;for(;i;)i.flags&=-9,i=i.next;for(i=s,s=void 0;i;){if(1&i.flags)try{i.trigger()}catch(t){e||(e=t)}t=i.next,i.next=void 0,i=t}}if(e)throw e}}function I(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function L(e){let t;let i=e.depsTail,s=i;for(;s;){let e=s.prevDep;-1===s.version?(s===i&&(i=e),P(s),function(e){let{prevDep:t,nextDep:i}=e;t&&(t.nextDep=i,e.prevDep=void 0),i&&(i.prevDep=t,e.nextDep=void 0)}(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=e}e.deps=t,e.depsTail=i}function j(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(C(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function C(e){if(4&e.flags&&!(16&e.flags)||(e.flags&=-17,e.globalVersion===H))return;e.globalVersion=H;let t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!j(e)){e.flags&=-3;return}let s=i,r=W;i=e,W=!0;try{I(e);let i=e.fn(e._value);(0===t.version||E(i,e._value))&&(e._value=i,t.version++)}catch(e){throw t.version++,e}finally{i=s,W=r,L(e),e.flags&=-3}}function P(e,t=!1){let{dep:i,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),i.subs===e&&(i.subs=s),!i.subs&&i.computed){i.computed.flags&=-5;for(let e=i.computed.deps;e;e=e.nextDep)P(e,!0)}t||--i.sc||!i.map||i.map.delete(i.key)}let W=!0,N=[];function V(){N.push(W),W=!1}function K(){let e=N.pop();W=void 0===e||e}function M(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=i;i=void 0;try{t()}finally{i=e}}}let H=0;class U{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Y{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!i||!W||i===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==i)t=this.activeLink=new U(i,this),i.deps?(t.prevDep=i.depsTail,i.depsTail.nextDep=t,i.depsTail=t):i.deps=i.depsTail=t,function e(t){if(t.dep.sc++,4&t.sub.flags){let i=t.dep.computed;if(i&&!t.dep.subs){i.flags|=20;for(let t=i.deps;t;t=t.nextDep)e(t)}let s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=i.depsTail,t.nextDep=void 0,i.depsTail.nextDep=t,i.depsTail=t,i.deps===t&&(i.deps=e)}return t}trigger(e){this.version++,H++,this.notify(e)}notify(e){A++;try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{O()}}}let G=/* @__PURE__ */new WeakMap,z=Symbol(""),F=Symbol(""),B=Symbol("");function q(e,t,s){if(W&&i){let t=G.get(e);t||G.set(e,t=/* @__PURE__ */new Map);let i=t.get(s);i||(t.set(s,i=new Y),i.target=e,i.map=t,i.key=s),i.track()}}function J(e,t,i,s,r,n){let l=G.get(e);if(!l){H++;return}let a=e=>{e&&e.trigger()};if(A++,"clear"===t)l.forEach(a);else{let r=h(e),n=r&&S(i);if(r&&"length"===i){let e=Number(s);l.forEach((t,i)=>{("length"===i||i===B||!v(i)&&i>=e)&&a(t)})}else switch(void 0!==i&&a(l.get(i)),n&&a(l.get(B)),t){case"add":r?n&&a(l.get("length")):(a(l.get(z)),f(e)&&a(l.get(F)));break;case"delete":!r&&(a(l.get(z)),f(e)&&a(l.get(F)));break;case"set":f(e)&&a(l.get(z))}}O()}function Q(e){let t=eB(e);return t===e?t:(q(t,"iterate",B),ez(e)?t:t.map(eq))}function X(e){return q(e=eB(e),"iterate",B),e}let Z={__proto__:null,[Symbol.iterator](){return $(this,Symbol.iterator,eq)},concat(...e){return Q(this).concat(...e.map(e=>h(e)?Q(e):e))},entries(){return $(this,"entries",e=>(e[1]=eq(e[1]),e))},every(e,t){return et(this,"every",e,t,void 0,arguments)},filter(e,t){return et(this,"filter",e,t,e=>e.map(eq),arguments)},find(e,t){return et(this,"find",e,t,eq,arguments)},findIndex(e,t){return et(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return et(this,"findLast",e,t,eq,arguments)},findLastIndex(e,t){return et(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return et(this,"forEach",e,t,void 0,arguments)},includes(...e){return es(this,"includes",e)},indexOf(...e){return es(this,"indexOf",e)},join(e){return Q(this).join(e)},lastIndexOf(...e){return es(this,"lastIndexOf",e)},map(e,t){return et(this,"map",e,t,void 0,arguments)},pop(){return er(this,"pop")},push(...e){return er(this,"push",e)},reduce(e,...t){return ei(this,"reduce",e,t)},reduceRight(e,...t){return ei(this,"reduceRight",e,t)},shift(){return er(this,"shift")},some(e,t){return et(this,"some",e,t,void 0,arguments)},splice(...e){return er(this,"splice",e)},toReversed(){return Q(this).toReversed()},toSorted(e){return Q(this).toSorted(e)},toSpliced(...e){return Q(this).toSpliced(...e)},unshift(...e){return er(this,"unshift",e)},values(){return $(this,"values",eq)}};function $(e,t,i){let s=X(e),r=s[t]();return s===e||ez(e)||(r._next=r.next,r.next=()=>{let e=r._next();return e.value&&(e.value=i(e.value)),e}),r}let ee=Array.prototype;function et(e,t,i,s,r,n){let l=X(e),a=l!==e&&!ez(e),o=l[t];if(o!==ee[t]){let t=o.apply(e,n);return a?eq(t):t}let u=i;l!==e&&(a?u=function(t,s){return i.call(this,eq(t),s,e)}:i.length>2&&(u=function(t,s){return i.call(this,t,s,e)}));let c=o.call(l,u,s);return a&&r?r(c):c}function ei(e,t,i,s){let r=X(e),n=i;return r!==e&&(ez(e)?i.length>3&&(n=function(t,s,r){return i.call(this,t,s,r,e)}):n=function(t,s,r){return i.call(this,t,eq(s),r,e)}),r[t](n,...s)}function es(e,t,i){let s=eB(e);q(s,"iterate",B);let r=s[t](...i);return(-1===r||!1===r)&&eF(i[0])?(i[0]=eB(i[0]),s[t](...i)):r}function er(e,t,i=[]){V(),A++;let s=eB(e)[t].apply(e,i);return O(),K(),s}let en=/* @__PURE__ *//*! #__NO_SIDE_EFFECTS__ */function(e){let t=/* @__PURE__ */Object.create(null);for(let i of e.split(","))t[i]=1;return e=>e in t}("__proto__,__v_isRef,__isVue"),el=new Set(/* @__PURE__ */Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(v));function ea(e){v(e)||(e=String(e));let t=eB(this);return q(t,"has",e),t.hasOwnProperty(e)}class eo{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,i){let s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return i===(s?r?eK:eV:r?eN:eW).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;let n=h(e);if(!s){let e;if(n&&(e=Z[t]))return e;if("hasOwnProperty"===t)return ea}let l=Reflect.get(e,t,eQ(e)?e:i);return(v(t)?el.has(t):en(t))?l:(s||q(e,"get",t),r)?l:eQ(l)?n&&S(t)?l:l.value:g(l)?s?eH(l):eM(l):l}}class eu extends eo{constructor(e=!1){super(!1,e)}set(e,t,i,s){let r=e[t];if(!this._isShallow){let t=eG(r);if(ez(i)||eG(i)||(r=eB(r),i=eB(i)),!h(e)&&eQ(r)&&!eQ(i))return!t&&(r.value=i,!0)}let n=h(e)&&S(t)?Number(t)<e.length:c(e,t),l=Reflect.set(e,t,i,eQ(e)?e:s);return e===eB(s)&&(n?E(i,r)&&J(e,"set",t,i):J(e,"add",t,i)),l}deleteProperty(e,t){let i=c(e,t);e[t];let s=Reflect.deleteProperty(e,t);return s&&i&&J(e,"delete",t,void 0),s}has(e,t){let i=Reflect.has(e,t);return v(t)&&el.has(t)||q(e,"has",t),i}ownKeys(e){return q(e,"iterate",h(e)?"length":z),Reflect.ownKeys(e)}}class ec extends eo{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}let eh=/* @__PURE__ */new eu,ef=/* @__PURE__ */new ec,ep=/* @__PURE__ */new eu(!0),ed=/* @__PURE__ */new ec(!0),e_=e=>e,ev=e=>Reflect.getPrototypeOf(e);function eg(e,t,i=!1,s=!1){let r=eB(e=e.__v_raw),n=eB(t);i||(E(t,n)&&q(r,"get",t),q(r,"get",n));let{has:l}=ev(r),a=s?e_:i?eJ:eq;return l.call(r,t)?a(e.get(t)):l.call(r,n)?a(e.get(n)):void(e!==r&&e.get(t))}function ey(e,t=!1){let i=this.__v_raw,s=eB(i),r=eB(e);return t||(E(e,r)&&q(s,"has",e),q(s,"has",r)),e===r?i.has(e):i.has(e)||i.has(r)}function eR(e,t=!1){return e=e.__v_raw,t||q(eB(e),"iterate",z),Reflect.get(e,"size",e)}function eb(e,t=!1){t||ez(e)||eG(e)||(e=eB(e));let i=eB(this);return ev(i).has.call(i,e)||(i.add(e),J(i,"add",e,e)),this}function ew(e,t,i=!1){i||ez(t)||eG(t)||(t=eB(t));let s=eB(this),{has:r,get:n}=ev(s),l=r.call(s,e);l||(e=eB(e),l=r.call(s,e));let a=n.call(s,e);return s.set(e,t),l?E(t,a)&&J(s,"set",e,t):J(s,"add",e,t),this}function eS(e){let t=eB(this),{has:i,get:s}=ev(t),r=i.call(t,e);r||(e=eB(e),r=i.call(t,e)),s&&s.call(t,e);let n=t.delete(e);return r&&J(t,"delete",e,void 0),n}function eE(){let e=eB(this),t=0!==e.size,i=e.clear();return t&&J(e,"clear",void 0,void 0),i}function em(e,t){return function(i,s){let r=this,n=r.__v_raw,l=eB(n),a=t?e_:e?eJ:eq;return e||q(l,"iterate",z),n.forEach((e,t)=>i.call(s,a(e),a(t),r))}}function ex(e,t,i){return function(...s){let r=this.__v_raw,n=eB(r),l=f(n),a="entries"===e||e===Symbol.iterator&&l,o=r[e](...s),u=i?e_:t?eJ:eq;return t||q(n,"iterate","keys"===e&&l?F:z),{next(){let{value:e,done:t}=o.next();return t?{value:e,done:t}:{value:a?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function eT(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}let[ek,eA,eD,eO]=/* @__PURE__ */function(){let e={get(e){return eg(this,e)},get size(){return eR(this)},has:ey,add:eb,set:ew,delete:eS,clear:eE,forEach:em(!1,!1)},t={get(e){return eg(this,e,!1,!0)},get size(){return eR(this)},has:ey,add(e){return eb.call(this,e,!0)},set(e,t){return ew.call(this,e,t,!0)},delete:eS,clear:eE,forEach:em(!1,!0)},i={get(e){return eg(this,e,!0)},get size(){return eR(this,!0)},has(e){return ey.call(this,e,!0)},add:eT("add"),set:eT("set"),delete:eT("delete"),clear:eT("clear"),forEach:em(!0,!1)},s={get(e){return eg(this,e,!0,!0)},get size(){return eR(this,!0)},has(e){return ey.call(this,e,!0)},add:eT("add"),set:eT("set"),delete:eT("delete"),clear:eT("clear"),forEach:em(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=ex(r,!1,!1),i[r]=ex(r,!0,!1),t[r]=ex(r,!1,!0),s[r]=ex(r,!0,!0)}),[e,i,t,s]}();function eI(e,t){let i=t?e?eO:eD:e?eA:ek;return(t,s,r)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(c(i,s)&&s in t?i:t,s,r)}let eL={get:/* @__PURE__ */eI(!1,!1)},ej={get:/* @__PURE__ */eI(!1,!0)},eC={get:/* @__PURE__ */eI(!0,!1)},eP={get:/* @__PURE__ */eI(!0,!0)},eW=/* @__PURE__ */new WeakMap,eN=/* @__PURE__ */new WeakMap,eV=/* @__PURE__ */new WeakMap,eK=/* @__PURE__ */new WeakMap;function eM(e){return eG(e)?e:eU(e,!1,eh,eL,eW)}function eH(e){return eU(e,!0,ef,eC,eV)}function eU(e,t,i,s,r){if(!g(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let n=r.get(e);if(n)return n;let l=e.__v_skip||!Object.isExtensible(e)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(b(e));if(0===l)return e;let a=new Proxy(e,2===l?s:i);return r.set(e,a),a}function eY(e){return eG(e)?eY(e.__v_raw):!!(e&&e.__v_isReactive)}function eG(e){return!!(e&&e.__v_isReadonly)}function ez(e){return!!(e&&e.__v_isShallow)}function eF(e){return!!e&&!!e.__v_raw}function eB(e){let t=e&&e.__v_raw;return t?eB(t):e}let eq=e=>g(e)?eM(e):e,eJ=e=>g(e)?eH(e):e;function eQ(e){return!!e&&!0===e.__v_isRef}function eX(e){return eZ(e,!1)}function eZ(e,t){return eQ(e)?e:new e$(e,t)}class e${constructor(e,t){this.dep=new Y,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:eB(e),this._value=t?e:eq(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,i=this.__v_isShallow||ez(e)||eG(e);E(e=i?e:eB(e),t)&&(this._rawValue=e,this._value=i?e:eq(e),this.dep.trigger())}}function e0(e){return eQ(e)?e.value:e}let e1={get:(e,t,i)=>"__v_raw"===t?e:e0(Reflect.get(e,t,i)),set:(e,t,i,s)=>{let r=e[t];return eQ(r)&&!eQ(i)?(r.value=i,!0):Reflect.set(e,t,i,s)}};class e2{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Y,{get:i,set:s}=e(t.track.bind(t),t.trigger.bind(t));this._get=i,this._set=s}get value(){return this._value=this._get()}set value(e){this._set(e)}}class e4{constructor(e,t,i){this._object=e,this._key=t,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0}get value(){let e=this._object[this._key];return this._value=void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){let i=G.get(e);return i&&i.get(t)}(eB(this._object),this._key)}}class e3{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function e6(e,t,i){let s=e[t];return eQ(s)?s:new e4(e,t,i)}class e8{constructor(e,t,i){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Y(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=H-1,this.effect=this,this.__v_isReadonly=!t,this.isSSR=i}notify(){if(this.flags|=16,!(8&this.flags)&&i!==this)return D(this),!0}get value(){let e=this.dep.track();return C(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}let e5={},e7=/* @__PURE__ */new WeakMap;function e9(e,t=!1,i=r){if(i){let t=e7.get(i);t||e7.set(i,t=[]),t.push(e)}}function te(e,t=1/0,i){if(t<=0||!g(e)||e.__v_skip||(i=i||/* @__PURE__ */new Set).has(e))return e;if(i.add(e),t--,eQ(e))te(e.value,t,i);else if(h(e))for(let s=0;s<e.length;s++)te(e[s],t,i);else if(p(e)||f(e))e.forEach(e=>{te(e,t,i)});else if(w(e)){for(let s in e)te(e[s],t,i);for(let s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&te(e[s],t,i)}return e}return e.ARRAY_ITERATE_KEY=B,e.EffectFlags={ACTIVE:1,1:"ACTIVE",RUNNING:2,2:"RUNNING",TRACKING:4,4:"TRACKING",NOTIFIED:8,8:"NOTIFIED",DIRTY:16,16:"DIRTY",ALLOW_RECURSE:32,32:"ALLOW_RECURSE",PAUSED:64,64:"PAUSED"},e.EffectScope=x,e.ITERATE_KEY=z,e.MAP_KEY_ITERATE_KEY=F,e.ReactiveEffect=k,e.ReactiveFlags={SKIP:"__v_skip",IS_REACTIVE:"__v_isReactive",IS_READONLY:"__v_isReadonly",IS_SHALLOW:"__v_isShallow",RAW:"__v_raw",IS_REF:"__v_isRef"},e.TrackOpTypes={GET:"get",HAS:"has",ITERATE:"iterate"},e.TriggerOpTypes={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},e.WatchErrorCodes={WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP"},e.computed=function(e,t,i=!1){let s,r;return d(e)?s=e:(s=e.get,r=e.set),new e8(s,r,i)},e.customRef=function(e){return new e2(e)},e.effect=function(e,t){e.effect instanceof k&&(e=e.effect.fn);let i=new k(e);t&&a(i,t);try{i.run()}catch(e){throw i.stop(),e}let s=i.run.bind(i);return s.effect=i,s},e.effectScope=function(e){return new x(e)},e.enableTracking=function(){N.push(W),W=!0},e.getCurrentScope=function(){return t},e.getCurrentWatcher=function(){return r},e.isProxy=eF,e.isReactive=eY,e.isReadonly=eG,e.isRef=eQ,e.isShallow=ez,e.markRaw=function(e){return!c(e,"__v_skip")&&Object.isExtensible(e)&&m(e,"__v_skip",!0),e},e.onEffectCleanup=function(e,t=!1){i instanceof k&&(i.cleanup=e)},e.onScopeDispose=function(e,i=!1){t&&t.cleanups.push(e)},e.onWatcherCleanup=e9,e.pauseTracking=V,e.proxyRefs=function(e){return eY(e)?e:new Proxy(e,e1)},e.reactive=eM,e.reactiveReadArray=Q,e.readonly=eH,e.ref=eX,e.resetTracking=K,e.shallowReactive=function(e){return eU(e,!1,ep,ej,eN)},e.shallowReadArray=X,e.shallowReadonly=function(e){return eU(e,!0,ed,eP,eK)},e.shallowRef=function(e){return eZ(e,!0)},e.stop=function(e){e.effect.stop()},e.toRaw=eB,e.toReactive=eq,e.toReadonly=eJ,e.toRef=function(e,t,i){return eQ(e)?e:d(e)?new e3(e):g(e)&&arguments.length>1?e6(e,t,i):eX(e)},e.toRefs=function(e){let t=h(e)?Array(e.length):{};for(let i in e)t[i]=e6(e,i);return t},e.toValue=function(e){return d(e)?e():e0(e)},e.track=q,e.traverse=te,e.trigger=J,e.triggerRef=function(e){e.dep&&e.dep.trigger()},e.unref=e0,e.watch=function(e,i,s=n){let a,u,c,f;let{immediate:p,deep:_,once:v,scheduler:g,augmentJob:y,call:R}=s,b=e=>_?e:ez(e)||!1===_||0===_?te(e,1):te(e),w=!1,S=!1;if(eQ(e)?(u=()=>e.value,w=ez(e)):eY(e)?(u=()=>b(e),w=!0):h(e)?(S=!0,w=e.some(e=>eY(e)||ez(e)),u=()=>e.map(e=>eQ(e)?e.value:eY(e)?b(e):d(e)?R?R(e,2):e():void 0)):u=d(e)?i?R?()=>R(e,2):e:()=>{if(c){V();try{c()}finally{K()}}let t=r;r=a;try{return R?R(e,3,[f]):e(f)}finally{r=t}}:l,i&&_){let e=u,t=!0===_?1/0:_;u=()=>te(e(),t)}let m=t,x=()=>{a.stop(),m&&o(m.effects,a)};if(v&&i){let e=i;i=(...t)=>{e(...t),x()}}let T=S?Array(e.length).fill(e5):e5,A=e=>{if(1&a.flags&&(a.dirty||e)){if(i){let e=a.run();if(_||w||(S?e.some((e,t)=>E(e,T[t])):E(e,T))){c&&c();let t=r;r=a;try{let t=[e,T===e5?void 0:S&&T[0]===e5?[]:T,f];R?R(i,3,t):i(...t),T=e}finally{r=t}}}else a.run()}};return y&&y(A),(a=new k(u)).scheduler=g?()=>g(A,!1):A,f=e=>e9(e,!1,a),c=a.onStop=()=>{let e=e7.get(a);if(e){if(R)R(e,4);else for(let t of e)t();e7.delete(a)}},i?p?A(!0):T=a.run():g?g(A.bind(null,!0),!0):a.run(),x.pause=a.pause.bind(a),x.resume=a.resume.bind(a),x.stop=x,x},e}({});
{
"name": "@vue/reactivity",
"version": "3.5.8",
"version": "3.5.9",
"description": "@vue/reactivity",

@@ -53,4 +53,4 @@ "main": "index.js",

"dependencies": {
"@vue/shared": "3.5.8"
"@vue/shared": "3.5.9"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc