UNPKG

vue-next

Version:

## Status: Pre-Alpha.

2 lines (1 loc) 37.1 kB
var VueTestRuntime=function(e){"use strict";function n(e,n){const t=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)t[o[e]]=!0;return n?e=>!!t[e.toLowerCase()]:e=>!!t[e]}const t={},o=[],r=()=>{},l=()=>!1,s=e=>"o"===e[0]&&"n"===e[1],c=(e,n)=>{for(const t in n)e[t]=n[t];return e},i=Object.prototype.hasOwnProperty,u=(e,n)=>i.call(e,n),a=Array.isArray,f=e=>"function"==typeof e,d=e=>"string"==typeof e,p=e=>"symbol"==typeof e,h=e=>null!==e&&"object"==typeof e;function m(e){return h(e)&&f(e.then)&&f(e.catch)}const g=Object.prototype.toString,y=e=>g.call(e);const v=e=>"[object Object]"===y(e),b=e=>"key"===e||"ref"===e||e.startsWith("onVnode"),x=/-(\w)/g,S=e=>e.replace(x,(e,n)=>n?n.toUpperCase():""),C=/\B([A-Z])/g,k=e=>e.replace(C,"-$1").toLowerCase(),w=e=>e.charAt(0).toUpperCase()+e.slice(1),T=(e,n)=>e!==n&&(e==e||n==n);let E=!0;const N=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(p));function R(e){return function(n,t,o){const r=Reflect.get(n,t,o);return p(t)&&N.has(t)?r:Te(r)?r.value:(Se(n,"get",t),h(r)?e?ae(r):ue(r):r)}}function O(e,n,t,o){t=pe(t);const r=e[n];if(Te(r)&&!Te(t))return r.value=t,!0;const l=u(e,n),s=Reflect.set(e,n,t,o);return e===pe(o)&&(l?T(t,r)&&Ce(e,"set",n):Ce(e,"add",n)),s}function P(e,n){const t=u(e,n),o=(e[n],Reflect.deleteProperty(e,n));return o&&t&&Ce(e,"delete",n),o}function $(e,n){const t=Reflect.has(e,n);return Se(e,"has",n),t}function M(e){return Se(e,"iterate"),Reflect.ownKeys(e)}const V={get:R(!1),set:O,deleteProperty:P,has:$,ownKeys:M},A={get:R(!0),set:(e,n,t,o)=>!!E||O(e,n,t,o),deleteProperty:(e,n)=>!!E||P(e,n),has:$,ownKeys:M},F=e=>h(e)?ue(e):e,U=e=>h(e)?ae(e):e,_=e=>Reflect.getPrototypeOf(e);function j(e,n,t){return Se(e=pe(e),"get",n=pe(n)),t(_(e).get.call(e,n))}function L(e){const n=pe(this);return Se(n,"has",e=pe(e)),_(n).has.call(n,e)}function D(e){return Se(e=pe(e),"iterate"),Reflect.get(_(e),"size",e)}function B(e){e=pe(e);const n=pe(this),t=_(n),o=t.has.call(n,e),r=t.add.call(n,e);return o||Ce(n,"add",e),r}function W(e,n){n=pe(n);const t=pe(this),o=_(t),r=o.has.call(t,e),l=o.get.call(t,e),s=o.set.call(t,e,n);return r?T(n,l)&&Ce(t,"set",e):Ce(t,"add",e),s}function H(e){const n=pe(this),t=_(n),o=t.has.call(n,e),r=(t.get&&t.get.call(n,e),t.delete.call(n,e));return o&&Ce(n,"delete",e),r}function z(){const e=pe(this),n=0!==e.size,t=_(e).clear.call(e);return n&&Ce(e,"clear"),t}function I(e){return function(n,t){const o=this,r=pe(o),l=e?U:F;return Se(r,"iterate"),_(r).forEach.call(r,(function(e,t){return n.call(o,l(e),l(t),o)}),t)}}function K(e,n){return function(...t){const o=pe(this),r="entries"===e||e===Symbol.iterator&&o instanceof Map,l=_(o)[e].apply(o,t),s=n?U:F;return Se(o,"iterate"),{next(){const{value:e,done:n}=l.next();return n?{value:e,done:n}:{value:r?[s(e[0]),s(e[1])]:s(e),done:n}},[Symbol.iterator](){return this}}}}function Y(e,n){return function(...t){return E?"delete"!==n&&this:e.apply(this,t)}}const G={get(e){return j(this,e,F)},get size(){return D(this)},has:L,add:B,set:W,delete:H,clear:z,forEach:I(!1)},q={get(e){return j(this,e,U)},get size(){return D(this)},has:L,add:Y(B,"add"),set:Y(W,"set"),delete:Y(H,"delete"),clear:Y(z,"clear"),forEach:I(!0)};function J(e){return(n,t,o)=>Reflect.get(u(e,t)&&t in n?e:n,t,o)}["keys","values","entries",Symbol.iterator].forEach(e=>{G[e]=K(e,!1),q[e]=K(e,!0)});const X={get:J(G)},Z={get:J(q)},Q=new WeakMap,ee=new WeakMap,ne=new WeakMap,te=new WeakMap,oe=new WeakMap,re=new WeakSet,le=new WeakSet,se=new Set([Set,Map,WeakMap,WeakSet]),ce=n("Object,Array,Map,Set,WeakMap,WeakSet"),ie=e=>!e._isVue&&!e._isVNode&&ce(function(e){return y(e).slice(8,-1)}(e))&&!le.has(e);function ue(e){return oe.has(e)?e:re.has(e)?ae(e):fe(e,ee,ne,V,X)}function ae(e){return ne.has(e)&&(e=ne.get(e)),fe(e,te,oe,A,Z)}function fe(e,n,t,o,r){if(!h(e))return e;let l=n.get(e);if(void 0!==l)return l;if(t.has(e))return e;if(!ie(e))return e;const s=se.has(e.constructor)?r:o;return l=new Proxy(e,s),n.set(e,l),t.set(l,e),Q.has(e)||Q.set(e,new Map),l}function de(e){return ne.has(e)||oe.has(e)}function pe(e){return ne.get(e)||oe.get(e)||e}function he(e){return le.add(e),e}const me=[],ge=Symbol("iterate");function ye(e,n=t){(function(e){return null!=e&&!0===e._isEffect})(e)&&(e=e.raw);const o=function(e,n){const t=function(...n){return function(e,n,t){if(!e.active)return n(...t);if(!me.includes(e)){be(e);try{return me.push(e),n(...t)}finally{me.pop()}}}(t,e,n)};return t._isEffect=!0,t.active=!0,t.raw=e,t.scheduler=n.scheduler,t.onTrack=n.onTrack,t.onTrigger=n.onTrigger,t.onStop=n.onStop,t.computed=n.computed,t.deps=[],t}(e,n);return n.lazy||o(),o}function ve(e){e.active&&(be(e),e.onStop&&e.onStop(),e.active=!1)}function be(e){const{deps:n}=e;if(n.length){for(let t=0;t<n.length;t++)n[t].delete(e);n.length=0}}let xe=!0;function Se(e,n,t){if(!xe||0===me.length)return;const o=me[me.length-1];"iterate"===n&&(t=ge);let r=Q.get(e);void 0===r&&Q.set(e,r=new Map);let l=r.get(t);void 0===l&&r.set(t,l=new Set),l.has(o)||(l.add(o),o.deps.push(l))}function Ce(e,n,t,o){const r=Q.get(e);if(void 0===r)return;const l=new Set,s=new Set;if("clear"===n)r.forEach(e=>{ke(l,s,e)});else if(void 0!==t&&ke(l,s,r.get(t)),"add"===n||"delete"===n){const n=Array.isArray(e)?"length":ge;ke(l,s,r.get(n))}const c=e=>{!function(e,n,t,o,r){void 0!==e.scheduler?e.scheduler(e):e()}(e)};s.forEach(c),l.forEach(c)}function ke(e,n,t){void 0!==t&&t.forEach(t=>{t.computed?n.add(t):e.add(t)})}const we=e=>h(e)?ue(e):e;function Te(e){return!!e&&!0===e._isRef}function Ee(e,n){return{_isRef:!0,get value(){return e[n]},set value(t){e[n]=t}}}function Ne(e){let n,t;f(e)?(n=e,t=r):(n=e.get,t=e.set);let o,l=!0;const s=ye(n,{lazy:!0,computed:!0,scheduler:()=>{l=!0}});return{_isRef:!0,effect:s,get value(){return l&&(o=s(),l=!1),function(e){if(0===me.length)return;const n=me[me.length-1];for(let t=0;t<e.deps.length;t++){const o=e.deps[t];o.has(n)||(o.add(n),n.deps.push(o))}}(s),o},set value(e){t(e)}}}const Re=[];function Oe(e,...n){const t=Re.length?Re[Re.length-1].component:null,o=t&&t.appContext.config.warnHandler,r=function(){let e=Re[Re.length-1];if(!e)return[];const n=[];for(;e;){const t=n[0];t&&t.vnode===e?t.recurseCount++:n.push({vnode:e,recurseCount:0});const o=e.component.parent;e=o&&o.vnode}return n}();if(o)o(e+n.join(""),t&&t.renderProxy,Pe(r).join(""));else if(console.warn(`[Vue warn]: ${e}`,...n),("undefined"==typeof process||"test"!==process.env.NODE_ENV)&&r.length)if(r.length>1&&console.groupCollapsed){console.groupCollapsed("at",...$e(r[0]));const e=[];r.slice(1).forEach((n,t)=>{0!==t&&e.push("\n"),e.push(...$e(n,t+1))}),console.log(...e),console.groupEnd()}else console.log(...Pe(r))}function Pe(e){const n=[];return e.forEach((e,t)=>{const o=$e(e,t);0===t?n.push("at",...o):n.push("\n",...o)}),n}function $e({vnode:e,recurseCount:n},t=0){const o=n>0?`... (${n} recursive calls)`:"",r=(0===t?"":" ".repeat(2*t+1))+`<${function(e,n){const t=e.type;let o=f(t)?t.displayName:t.name;if(!o&&n){const e=n.match(/([^/\\]+)\.vue$/);e&&(o=e[1])}return o?Ve(o):"AnonymousComponent"}(e)}`,l=">"+o,s=null==e.component.parent?"(Root)":"";return e.props?[r,...Ae(e.props),l,s]:[r+l,s]}const Me=/(?:^|[-_])(\w)/g,Ve=e=>e.replace(Me,e=>e.toUpperCase()).replace(/[-_]/g,"");function Ae(e){const n=[];for(const t in e){const o=e[t];d(o)?n.push(`${t}=${JSON.stringify(o)}`):n.push(`${t}=`,String(pe(o)))}return n}function Fe(e,n,t,o){let r;try{r=o?e(...o):e()}catch(e){_e(e,n,t)}return r}function Ue(e,n,t,o){if(f(e)){const r=Fe(e,n,t,o);return null!=r&&!r._isVue&&m(r)&&r.catch(e=>{_e(e,n,t)}),r}for(let r=0;r<e.length;r++)Ue(e[r],n,t,o)}function _e(e,n,t){n&&n.vnode;if(n){let o=n.parent;const r=n.renderProxy,l=t;for(;o;){const n=o.ec;if(null!==n)for(let t=0;t<n.length;t++)if(n[t](e,r,l))return;o=o.parent}const s=n.appContext.config.errorHandler;if(s)return void Fe(s,null,8,[e,r,l])}!function(e,n,t){throw e}(e)}const je=[],Le=[],De=Promise.resolve();let Be=!1;function We(e){return e?De.then(e):De}function He(e){je.includes(e)||(je.push(e),Be||We(Ye))}function ze(e){a(e)?Le.push(...e):Le.push(e),Be||We(Ye)}const Ie=e=>[...new Set(e)];function Ke(){if(Le.length){const e=Ie(Le);Le.length=0;for(let n=0;n<e.length;n++)e[n]()}}function Ye(e){let n;for(Be=!0;n=je.shift();)Fe(n,null,10);Ke(),Be=!1,je.length&&Ye()}const Ge=Symbol(void 0),qe=Symbol(void 0),Je=Symbol(void 0),Xe=Symbol(void 0),Ze=Symbol(void 0),Qe=[];let en=null;function nn(e){Qe.push(en=e?null:[])}let tn=1;function on(e,n,t,r,l){tn--;const s=ln(e,n,t,r,l);return tn++,s.dynamicChildren=en||o,Qe.pop(),null!==(en=Qe[Qe.length-1]||null)&&en.push(s),s}function rn(e){return!!e&&!0===e._isVNode}function ln(e,n=null,t=null,o=0,r=null){if(null!==n){(de(n)||xt in n)&&(n=c({},n));let{class:e,style:t}=n;null==e||d(e)||(n.class=an(e)),null!=t&&(de(t)&&!a(t)&&(t=c({},t)),n.style=un(t))}const l=d(e)?1:h(e)?4:f(e)?2:0,s={_isVNode:!0,type:e,props:n,key:null!==n&&n.key||null,ref:null!==n&&n.ref||null,children:null,component:null,suspense:null,el:null,anchor:null,target:null,shapeFlag:l,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null};return function(e,n){let t=0;null==n?n=null:a(n)?t=16:"object"==typeof n?t=32:f(n)?(n={default:n},t=32):(n=d(n)?n:n+"",t=8);e.children=n,e.shapeFlag|=t}(s,t),tn>0&&null!==en&&(o>0||4&l||2&l)&&en.push(s),s}function sn(e,n){return{_isVNode:!0,type:e.type,props:n?e.props?dn(e.props,n):n:e.props,key:e.key,ref:e.ref,children:e.children,target:e.target,shapeFlag:e.shapeFlag,patchFlag:e.patchFlag,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,component:null,suspense:null,el:null,anchor:null}}function cn(e){return null==e?ln(Ze):a(e)?ln(Ge,null,e):"object"==typeof e?null===e.el?e:sn(e):ln(Xe,null,e+"")}function un(e){if(a(e)){const n={};for(let t=0;t<e.length;t++){const o=un(e[t]);if(o)for(const e in o)n[e]=o[e]}return n}if(h(e))return e}function an(e){let n="";if(d(e))n=e;else if(a(e))for(let t=0;t<e.length;t++)n+=an(e[t])+" ";else if(h(e))for(const t in e)e[t]&&(n+=t+" ");return n.trim()}const fn=/^on|^vnode/;function dn(...e){const n={};c(n,e[0]);for(let t=1;t<e.length;t++){const o=e[t];for(const e in o)if("class"===e)n.class=an([n.class,o.class]);else if("style"===e)n.style=un([n.style,o.style]);else if(fn.test(e)){const t=n[e];n[e]=t?[].concat(t,o[e]):o[e]}else n[e]=o[e]}return n}function pn(e,n,t){t&&(t[e]||(t[e]=[])).push((...o)=>{if(t.isUnmounted)return;xe=!1,yt(t);const r=Ue(n,t,e,o);return yt(null),xe=!0,r})}const hn=e=>(n,t=mt)=>pn(e,n,t),mn=hn("bm"),gn=hn("m"),yn=hn("bu"),vn=hn("u"),bn=hn("bum"),xn=hn("um"),Sn=hn("rtg"),Cn=hn("rtc"),kn=hn("ec");let wn=null;function Tn(e){const{type:n,vnode:o,renderProxy:r,props:l,slots:s,attrs:c,emit:i}=e;let u;wn=e;try{if(4&o.shapeFlag)u=cn(e.render.call(r));else{const e=n;u=cn(e.length>1?e(l,{attrs:c,slots:s,emit:i}):e(l,null))}null!=n.props&&!1!==n.inheritAttrs&&c!==t&&Object.keys(c).length&&(1&u.shapeFlag||6&u.shapeFlag)&&(u=sn(u,c))}catch(n){_e(n,e,1),u=ln(Ze)}return wn=null,u}function En(e,n){const t=Object.keys(n);if(t.length!==Object.keys(e).length)return!0;for(let o=0;o<t.length;o++){const r=t[o];if(n[r]!==e[r])return!0}return!1}function Nn(e,n,o){const r=null!=o,l=function(e){if(!e)return null;if(Rn.has(e))return Rn.get(e);const n={};if(Rn.set(e,n),a(e))for(let o=0;o<e.length;o++){const r=S(e[o]);"$"!==r[0]&&(n[r]=t)}else for(const t in e){const o=S(t);if("$"!==o[0]){const r=e[t],l=n[o]=a(r)||f(r)?{type:r}:r;if(null!=l){const e=$n(Boolean,l.type),n=$n(String,l.type);l[1]=e>-1,l[2]=e<n}}}return n}(o);if(!n&&!r)return;const s={};let c=void 0;const i=e.propsProxy,d=i?(e,n)=>{s[e]=n,i[e]=n}:(e,n)=>{s[e]=n};if(E=!1,null!=n)for(const e in n){if(b(e))continue;const t=S(e);r&&!u(l,t)?(c||(c={}))[e]=n[e]:d(t,n[e])}if(r)for(const e in l){let n=l[e];if(null==n)continue;const t=!u(s,e),o=u(n,"default"),r=s[e];if(o&&void 0===r){const t=n.default;d(e,f(t)?t():t)}n[1]&&(t&&!o?d(e,!1):!n[2]||""!==r&&r!==k(e)||d(e,!0))}else c=s;const{patchFlag:p}=e.vnode;if(null!==i&&(0===p||16&p)){const e=pe(i);for(const n in e)u(s,n)||delete i[n]}E=!0,e.props=s,e.attrs=l?c||t:e.props}const Rn=new WeakMap;function On(e){const n=e&&e.toString().match(/^\s*function (\w+)/);return n?n[1]:""}function Pn(e,n){return On(e)===On(n)}function $n(e,n){if(a(n)){for(let t=0,o=n.length;t<o;t++)if(Pn(n[t],e))return t}else if(h(n))return Pn(n,e)?0:-1;return-1}const Mn=e=>a(e)?e.map(cn):[cn(e)],Vn=(e,n)=>e=>Mn(n(e));function An(e,n){let t;if(32&e.vnode.shapeFlag){const e=n;if(e._compiled)t=n;else{t={};for(const n in e){const o=e[n];if(f(o))t[n]=Vn(n,o);else if(null!=o){const e=Mn(o);t[n]=()=>e}}}}else if(null!==n){const e=Mn(n);t={default:()=>e}}void 0!==t&&(e.slots=t)}const Fn=new WeakMap;function Un(e,n,o,r,l,s=t){let c=Fn.get(o);c||(c=new WeakMap,Fn.set(o,c)),f(o)&&(o={mounted:o,updated:o});for(const t in o){const i=o[t],u="onVnode"+t[0].toUpperCase()+t.slice(1),a=(e,t)=>{let o;null!=t&&(o=c.get(t),c.delete(t)),c.set(e,r),i(e.el,{instance:n.renderProxy,value:r,oldValue:o,arg:l,modifiers:s},e,t)},f=e[u];e[u]=f?[].concat(f,a):a}}function _n(e,n,t,o=null){Ue(e,n,7,[t,o])}function jn(){return{config:{devtools:!0,performance:!1,isNativeTag:l,isCustomElement:l,errorHandler:void 0,warnHandler:void 0},mixins:[],components:{},directives:{},provides:{}}}function Ln(e){return function(){const n=jn();let t=!1;const o={get config(){return n.config},set config(e){},use:e=>(f(e)?e(o):f(e.install)&&e.install(o),o),mixin:e=>(n.mixins.push(e),o),component:(e,t)=>t?(n.components[e]=t,o):n.components[e],directive:(e,t)=>t?(n.directives[e]=t,o):n.directives[e],mount(o,r,l){if(!t){const s=ln(o,l);return s.appContext=n,e(s,r),t=!0,s.component.renderProxy}},provide(e,t){n.provides[e]=t}};return o}}function Dn(e){const{shapeFlag:n,children:t}=e;if(n&wt.SLOTS_CHILDREN){const{default:e,fallback:n}=t;return{content:cn(f(e)?e():e),fallback:cn(f(n)?n():n)}}return{content:cn(t),fallback:cn(null)}}const Bn={scheduler:He};function Wn(e,n){return e.type===n.type&&e.key===n.key}function Hn(e,n){for(let t=0;t<e.length;t++)e[t](n)}function zn(e,n){null===n||n.isResolved?ze(e):a(e)?n.effects.push(...e):n.effects.push(e)}function In(e){const{insert:n,remove:r,patchProp:l,createElement:s,createText:c,createComment:i,setText:u,setElementText:a,parentNode:p,nextSibling:h,querySelector:g}=e;function y(e,o,r,h=null,O=null,F=null,U=!1,_=!1){null==e||Wn(e,o)||(h=V(e),$(e,O,F,!0),e=null);const{type:j,shapeFlag:L}=o;switch(j){case Xe:!function(e,t,o,r){if(null==e)n(t.el=c(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&u(n,t.children)}}(e,o,r,h);break;case Ze:v(e,o,r,h);break;case Ge:!function(e,t,o,r,l,s,c,u){const a=t.el=e?e.el:i(""),f=t.anchor=e?e.anchor:i("");null==e?(n(a,o,r),n(f,o,r),x(t.children,o,f,l,s,c,u)):R(e,t,o,f,l,s,c,u)}(e,o,r,h,O,F,U,_);break;case qe:!function(e,n,t,o,r,l,s,c){const i=n.props&&n.props.target,{patchFlag:u,shapeFlag:f,children:p}=n;if(null==e){const e=n.target=d(i)?g(i):i;null!=e&&(8&f?a(e,p):16&f&&x(p,e,null,r,l,s,c))}else{const o=n.target=e.target;if(1===u?a(o,p):n.dynamicChildren?S(e.dynamicChildren,n.dynamicChildren,t,r,l,s):c||R(e,n,o,null,r,l,s),i!==(e.props&&e.props.target)){const e=n.target=d(i)?g(i):null;if(null!=e)if(8&f)a(o,""),a(e,p);else if(16&f)for(let n=0;n<p.length;n++)P(p[n],e,null)}}v(e,n,t,o)}(e,o,r,h,O,F,U,_);break;case Je:!function(e,n,t,o,r,l,c,i){null==e?function(e,n,t,o,r,l,c){const i=s("div"),u=e.suspense=function(e,n,t,o,r,l,s,c){return{vnode:e,parent:n,parentComponent:t,isSVG:s,optimized:c,container:o,hiddenContainer:r,anchor:l,deps:0,subTree:null,fallbackTree:null,isResolved:!1,isUnmounted:!1,effects:[]}}(e,r,o,n,i,t,l,c),{content:a,fallback:f}=Dn(e);u.subTree=a,u.fallbackTree=f,y(null,a,i,null,o,u,l,c),u.deps>0?(y(null,f,n,t,o,null,l,c),e.el=f.el):k(u)}(n,t,o,r,l,c,i):function(e,n,t,o,r,l,s){const c=n.suspense=e.suspense;c.vnode=n;const{content:i,fallback:u}=Dn(n),a=c.subTree,f=c.fallbackTree;c.isResolved?(y(a,i,t,o,r,c,l,s),n.el=i.el):(y(a,i,c.hiddenContainer,null,r,c,l,s),c.deps>0&&(y(f,u,t,o,r,null,l,s),n.el=u.el));c.subTree=i,c.fallbackTree=u}(e,n,t,o,r,c,i)}(e,o,r,h,O,F,U,_);break;default:1&L?function(e,o,r,c,i,u,f,d){null==e?function(e,t,o,r,c,i,u){const f=e.type;i=i||"svg"===f;const d=e.el=s(f,i),{props:p,shapeFlag:h}=e;if(null!=p){for(const e in p)b(e)||l(d,e,p[e],null,i);null!=p.onVnodeBeforeMount&&_n(p.onVnodeBeforeMount,r,e)}8&h?a(d,e.children):16&h&&x(e.children,d,null,r,c,i,u||null!==e.dynamicChildren);n(d,t,o),null!=p&&null!=p.onVnodeMounted&&zn(()=>{_n(p.onVnodeMounted,r,e)},c)}(o,r,c,i,u,f,d):function(e,n,o,r,s,c){const i=n.el=e.el,{patchFlag:u,dynamicChildren:f}=n,d=e&&e.props||t,p=n.props||t;null!=p.onVnodeBeforeUpdate&&_n(p.onVnodeBeforeUpdate,o,n,e);if(u>0){if(16&u)C(i,n,d,p,o,r,s);else if(2&u&&d.class!==p.class&&l(i,"class",p.class,null,s),4&u&&l(i,"style",p.style,d.style,s),8&u){const t=n.dynamicProps;for(let n=0;n<t.length;n++){const c=t[n],u=d[c],a=p[c];u!==a&&l(i,c,a,u,s,e.children,o,r,M)}}if(1&u)return void(e.children!==n.children&&a(i,n.children))}else c||null!=f||C(i,n,d,p,o,r,s);null!=f?S(e.dynamicChildren,f,i,o,r,s):c||R(e,n,i,null,o,r,s);null!=p.onVnodeUpdated&&zn(()=>{_n(p.onVnodeUpdated,o,n,e)},r)}(e,o,i,u,f,d);null!==o.ref&&null!==i&&A(o.ref,e&&e.ref,i,o.el)}(e,o,r,h,O,F,U,_):6&L&&function(e,n,o,r,l,s,c,i){if(null==e)!function(e,n,o,r,l,s){const c=e.component=function(e,n){const o=(n?n.appContext:e.appContext)||ht,r={vnode:e,parent:n,appContext:o,type:e.type,root:null,next:null,subTree:null,update:null,render:null,renderProxy:null,propsProxy:null,setupContext:null,effects:null,provides:n?n.provides:Object.create(o.provides),accessCache:null,renderCache:null,renderContext:t,data:t,props:t,attrs:t,slots:t,refs:t,components:Object.create(o.components),directives:Object.create(o.directives),asyncDep:null,asyncResult:null,asyncResolved:!1,user:{},isUnmounted:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,emit:(e,...n)=>{const o=r.vnode.props||t,l=o[`on${e}`]||o[`on${w(e)}`];l&&Ue(l,r,6,n)}};return r.root=n?n.root:r,r}(e,r),i=e.type.props;Nn(c,e.props,i),An(c,e.children),4&e.shapeFlag&&function(e,n){const t=e.type;e.accessCache={},e.renderProxy=new Proxy(e,Xn);const o=e.propsProxy=ae(e.props),{setup:r}=t;if(r){const t=e.setupContext=r.length>1?function(e){return{attrs:new Proxy(e,St.attrs),slots:new Proxy(e,St.slots),emit:e.emit}}(e):null;mt=e,gt=n;const l=Fe(r,e,0,[o,t]);if(mt=null,gt=null,m(l))return void(e.asyncDep=l);vt(e,l,n)}else bt(e,n)}(c,l);if(c.asyncDep){if(!l)throw new Error("Async component without a suspense boundary!");l.isResolved&&He(()=>{!function(e){e.isResolved=!1;const{vnode:n,subTree:t,fallbackTree:o,parentComponent:r,container:l,hiddenContainer:s,isSVG:c,optimized:i}=e,u=V(t);P(t,s,null),y(null,o,l,u,r,null,c,i);const a=n.el=o.el;r&&r.subTree===n&&(r.vnode.el=a,N(r,a));const d=n.props&&n.props.onSuspense;f(d)&&d()}(l)}),l.deps++,c.asyncDep.catch(e=>{_e(e,c,0)}).then(e=>{c.isUnmounted||l.isUnmounted||function(e,n,t,o){t.deps--,e.asyncResolved=!0;const{vnode:r}=e;vt(e,n,t),T(e,t,r,p(e.subTree.el),V(e.subTree),o),N(e,r.el),0===t.deps&&k(t)}(c,e,l,s)});const t=c.subTree=ln(Ze);return v(null,t,n,o),void(e.el=t.el)}T(c,l,e,n,o,s)}(n,o,r,l,s,c);else{const t=n.component=e.component;if(function(e,n,t){const{props:o,children:r}=e,{props:l,children:s,patchFlag:c}=n;if(c>0){if(256&c)return!0;if(16&c)return En(o,l);if(8&c){const e=n.dynamicProps;for(let n=0;n<e.length;n++){const t=e[n];if(l[t]!==o[t])return!0}}}else if(!t)return null!=r||null!=s||o!==l&&(null===o?null!==l:null===l||En(o,l));return!1}(e,n,i)){if(t.asyncDep&&!t.asyncResolved)return void E(t,n);t.next=n,t.update()}else n.component=e.component,n.el=e.el}null!==n.ref&&null!==l&&A(n.ref,e&&e.ref,l,n.component.renderProxy)}(e,o,r,h,O,F,U,_)}}function v(e,t,o,r){null==e?n(t.el=i(t.children||""),o,r):t.el=e.el}function x(e,n,t,o,r,l,s,c=0){for(let i=c;i<e.length;i++){y(null,s?e[i]:e[i]=cn(e[i]),n,t,o,r,l,s)}}function S(e,n,t,o,r,l){for(let s=0;s<n.length;s++){const c=e[s];y(c,n[s],c.type===Ge?p(c.el):t,null,o,r,l,!0)}}function C(e,n,o,r,s,c,i){if(o!==r){for(const t in r){if(b(t))continue;const u=r[t],a=o[t];u!==a&&l(e,t,u,a,i,n.children,s,c,M)}if(o!==t)for(const t in o)b(t)||t in r||l(e,t,null,null,i,n.children,s,c,M)}}function k(e){const{vnode:n,subTree:t,fallbackTree:o,effects:r,parentComponent:l,container:s}=e;let{anchor:c}=e;o.el&&(c=V(o),$(o,l,e,!0)),P(t,s,c);const i=n.el=t.el;l&&l.subTree===n&&(l.vnode.el=i,N(l,i));let u=e.parent,a=!1;for(;u;){if(!u.isResolved){u.effects.push(...r),a=!0;break}u=u.parent}a||ze(r),e.isResolved=!0;const d=n.props&&n.props.onResolve;f(d)&&d()}function T(e,n,o,r,l,s){let c=!1;e.update=ye((function(){if(c){const{next:o}=e;null!==o&&E(e,o);const r=e.subTree,l=e.subTree=Tn(e);null!==e.bu&&Hn(e.bu),e.refs!==t&&(e.refs={}),y(r,l,p(r.el),V(r),e,n,s),e.vnode.el=l.el,null===o&&N(e,l.el),null!==e.u&&zn(e.u,n)}else{const t=e.subTree=Tn(e);null!==e.bm&&Hn(e.bm),y(null,t,r,l,e,n,s),o.el=t.el,null!==e.m&&zn(e.m,n),c=!0}}),Bn)}function E(e,n){n.component=e,e.vnode=n,e.next=null,Nn(e,n.props,n.type.props),An(e,n.children)}function N({vnode:e,parent:n},t){for(;n&&n.subTree===e;)(e=n.vnode).el=t,n=n.parent}function R(e,n,t,r,l,s,c,i=!1){const u=e&&e.children,f=e?e.shapeFlag:0,d=n.children,{patchFlag:p,shapeFlag:h}=n;if(-1===p&&(i=!1),p>0){if(64&p)return void O(u,d,t,r,l,s,c,i);if(128&p)return void function(e,n,t,r,l,s,c,i){n=n||o;const u=(e=e||o).length,a=n.length,f=Math.min(u,a);let d;for(d=0;d<f;d++){const o=i?n[d]:n[d]=cn(n[d]);y(e[d],o,t,null,l,s,c,i)}u>a?M(e,l,s,!0,f):x(n,t,r,l,s,c,i,f)}(u,d,t,r,l,s,c,i)}8&h?(16&f&&M(u,l,s),d!==u&&a(t,d)):16&f?16&h?O(u,d,t,r,l,s,c,i):M(u,l,s,!0):(8&f&&a(t,""),16&h&&x(d,t,r,l,s,c,i))}function O(e,n,t,r,l,s,c,i){let u=0;const a=n.length;let f=e.length-1,d=a-1;for(;u<=f&&u<=d;){const o=e[u],a=i?n[u]:n[u]=cn(n[u]);if(!Wn(o,a))break;y(o,a,t,r,l,s,c,i),u++}for(;u<=f&&u<=d;){const o=e[f],a=i?n[u]:n[d]=cn(n[d]);if(!Wn(o,a))break;y(o,a,t,r,l,s,c,i),f--,d--}if(u>f){if(u<=d){const e=d+1,o=e<a?n[e].el:r;for(;u<=d;)y(null,i?n[u]:n[u]=cn(n[u]),t,o,l,s,c),u++}}else if(u>d)for(;u<=f;)$(e[u],l,s,!0),u++;else{const p=u,h=u,m=new Map;for(u=h;u<=d;u++){const e=i?n[u]:n[u]=cn(n[u]);null!=e.key&&m.set(e.key,u)}let g,v=0;const b=d-h+1;let x=!1,S=0;const C=new Array(b);for(u=0;u<b;u++)C[u]=0;for(u=p;u<=f;u++){const o=e[u];if(v>=b){$(o,l,s,!0);continue}let r;if(null!=o.key)r=m.get(o.key);else for(g=h;g<=d;g++)if(0===C[g-h]&&Wn(o,n[g])){r=g;break}void 0===r?$(o,l,s,!0):(C[r-h]=u+1,r>=S?S=r:x=!0,y(o,n[r],t,null,l,s,c,i),v++)}const k=x?function(e){const n=e.slice(),t=[0];let o,r,l,s,c;const i=e.length;for(o=0;o<i;o++){const i=e[o];if(0!==i){if(r=t[t.length-1],e[r]<i){n[o]=r,t.push(o);continue}for(l=0,s=t.length-1;l<s;)e[t[c=(l+s)/2|0]]<i?l=c+1:s=c;i<e[t[l]]&&(l>0&&(n[o]=t[l-1]),t[l]=o)}}l=t.length,s=t[l-1];for(;l-- >0;)t[l]=s,s=n[s];return t}(C):o;for(g=k.length-1,u=b-1;u>=0;u--){const e=h+u,o=n[e],i=e+1<a?n[e+1].el:r;0===C[u]?y(null,o,t,i,l,s,c):x&&(g<0||u!==k[g]?P(o,t,i):g--)}}}function P(e,t,o){if(null===e.component){if(e.type===Je){const n=e.suspense;return P(n.isResolved?n.subTree:n.fallbackTree,t,o),void(n.container=t)}if(e.type===Ge){n(e.el,t,o);const r=e.children;for(let e=0;e<r.length;e++)P(r[e],t,o);n(e.anchor,t,o)}else n(e.el,t,o)}else P(e.component.subTree,t,o)}function $(e,n,t,o){const{props:l,ref:s,type:c,component:i,suspense:u,children:a,dynamicChildren:f,shapeFlag:d,anchor:p}=e;if(null!==s&&null!==n&&A(s,null,n,null),null!=i)return void function(e,n,t){const{bum:o,effects:r,update:l,subTree:s,um:c}=e;null!==o&&Hn(o);if(null!==r)for(let e=0;e<r.length;e++)ve(r[e]);null!==l&&(ve(l),$(s,e,n,t));null!==c&&zn(c,n);ze(()=>{e.isUnmounted=!0}),null===n||n.isResolved||n.isUnmounted||null===e.asyncDep||e.asyncResolved||(n.deps--,0===n.deps&&k(n))}(i,t,o);if(null!=u)return void function(e,n,t,o){e.isUnmounted=!0,$(e.subTree,n,t,o),e.isResolved||$(e.fallbackTree,n,t,o)}(u,n,t,o);null!=l&&null!=l.onVnodeBeforeUnmount&&_n(l.onVnodeBeforeUnmount,n,e);const h=c===Ge&&o;null!=f?M(f,n,t,h):16&d&&M(a,n,t,h),o&&(r(e.el),null!=p&&r(p)),null!=l&&null!=l.onVnodeUnmounted&&zn(()=>{_n(l.onVnodeUnmounted,n,e)},t)}function M(e,n,t,o,r=0){for(let l=r;l<e.length;l++)$(e[l],n,t,o)}function V({component:e,suspense:n,anchor:t,el:o}){return null!==e?V(e.subTree):null!==n?V(n.isResolved?n.subTree:n.fallbackTree):h(t||o)}function A(e,n,o,r){const l=o.refs===t?o.refs={}:o.refs,s=pe(o.renderContext);if(null!==n&&n!==e)if(d(n)){l[n]=null;const e=s[n];Te(e)&&(e.value=null)}else Te(n)&&(n.value=null);if(d(e)){const n=s[e];Te(n)&&(n.value=r),l[e]=r}else Te(e)?e.value=r:f(e)&&e(r,l)}const F=(e,n)=>{null==e?n._vnode&&$(n._vnode,null,null,!0):y(n._vnode||null,e,n),Ke(),n._vnode=e};return{render:F,createApp:Ln(F)}}const Kn=e=>e();function Yn(e,n,t){return f(n)?Gn(e,n,t):Gn(e,null,n)}function Gn(e,n,{lazy:o,deep:r,flush:l,onTrack:s,onTrigger:c}=t){const i=mt,u=gt;let f,d;if(f=a(e)?()=>e.map(e=>Te(e)?e.value:Fe(e,i,2)):Te(e)?()=>e.value:n?()=>Fe(e,i,2):()=>{if(!i||!i.isUnmounted)return d&&d(),Fe(e,i,3,[p])},r){const e=f;f=()=>(function e(n,t=new Set){if(!h(n)||t.has(n))return;t.add(n);if(a(n))for(let o=0;o<n.length;o++)e(n[o],t);else if(n instanceof Map)n.forEach((o,r)=>{e(n.get(r),t)});else if(n instanceof Set)n.forEach(n=>{e(n,t)});else for(const o in n)e(n[o],t);return n})(e())}const p=e=>{d=v.onStop=()=>{Fe(e,i,4)}};let m=a(e)?[]:void 0;const g=n?()=>{if(i&&i.isUnmounted)return;const e=v();(r||T(e,m))&&(d&&d(),Ue(n,i,3,[e,m,p]),m=e)}:void 0;let y;y="sync"===l?Kn:"pre"===l?e=>{i&&null==i.vnode.el?e():He(e)}:e=>{zn(e,u)};const v=ye(f,{lazy:!0,computed:!0,onTrack:s,onTrigger:c,scheduler:g?()=>y(g):y});return o?m=v():y(g||v),Ct(v),()=>{ve(v)}}function qn(e,n,t){const o=this.renderProxy,r=Yn(d(e)?()=>o[e]:e.bind(o),n.bind(o),t);return bn(r,this),r}const Jn={$data:"data",$props:"propsProxy",$attrs:"attrs",$slots:"slots",$refs:"refs",$parent:"parent",$root:"root",$emit:"emit",$options:"type"},Xn={get(e,n){const{renderContext:o,data:r,props:l,propsProxy:s,accessCache:c,type:i,user:a}=e,f=c[n];if(void 0!==f)switch(f){case 0:return r[n];case 1:return o[n];case 2:return s[n]}else{if(r!==t&&u(r,n))return c[n]=0,r[n];if(u(o,n))return c[n]=1,o[n];if(u(l,n))return null!=i.props&&(c[n]=2),s[n];if("$cache"===n)return e.renderCache||(e.renderCache=[]);if("$el"===n)return e.vnode.el;if(u(Jn,n))return e[Jn[n]]}switch(n){case"$forceUpdate":return e.update;case"$nextTick":return We;case"$watch":return qn.bind(e)}if(u(a,n))return a[n]},set(e,n,o){const{data:r,renderContext:l}=e;if(r!==t&&u(r,n))r[n]=o;else if(u(l,n))l[n]=o;else{if("$"===n[0]&&n.slice(1)in e)return!1;if(n in e.props)return!1;e.user[n]=o}return!0}};function Zn(e,n){if(mt){let t=mt.provides;const o=mt.parent&&mt.parent.provides;o===t&&(t=mt.provides=Object.create(o)),t[e]=n}else;}function Qn(e,n){if(mt){const t=mt.provides;if(e in t)return t[e];if(void 0!==n)return n}}function et(e,n,o=!1){const l=e.renderContext===t?e.renderContext=ue({}):e.renderContext,s=e.renderProxy,{mixins:i,extends:u,props:d,data:p,computed:m,methods:g,watch:y,provide:v,inject:b,components:x,directives:S,beforeMount:C,mounted:k,beforeUpdate:w,updated:T,beforeUnmount:E,unmounted:N,renderTracked:R,renderTriggered:O,errorCaptured:P}=n,$=e.appContext.mixins;if(o||(nt("beforeCreate",n,s,$),ot(e,$)),u&&et(e,u,!0),i&&ot(e,i),p){const n=f(p)?p.call(s):p;h(n)&&(e.data===t?e.data=ue(n):c(e.data,n))}if(m)for(const e in m){const n=m[e];if(f(n))l[e]=kt(n.bind(s));else{const{get:t,set:o}=n;f(t)&&(l[e]=kt({get:t.bind(s),set:f(o)?o.bind(s):r}))}}if(g)for(const e in g){const n=g[e];f(n)&&(l[e]=n.bind(s))}if(y)for(const e in y)rt(y[e],l,s,e);if(v){const e=f(v)?v.call(s):v;for(const n in e)Zn(n,e[n])}if(b)if(a(b))for(let e=0;e<b.length;e++){const n=b[e];l[n]=Qn(n)}else for(const e in b){const n=b[e];h(n)?l[e]=Qn(n.from,n.default):l[e]=Qn(n)}x&&c(e.components,x),S&&c(e.directives,S),o||nt("created",n,s,$),C&&mn(C.bind(s)),k&&gn(k.bind(s)),w&&yn(w.bind(s)),T&&vn(T.bind(s)),P&&kn(P.bind(s)),R&&Cn(R.bind(s)),O&&Sn(O.bind(s)),E&&bn(E.bind(s)),N&&xn(N.bind(s))}function nt(e,n,t,o){tt(e,o,t);const r=n.extends&&n.extends[e];r&&r.call(t);const l=n.mixins;l&&tt(e,l,t);const s=n[e];s&&s.call(t)}function tt(e,n,t){for(let o=0;o<n.length;o++){const r=n[o][e];r&&r.call(t)}}function ot(e,n){for(let t=0;t<n.length;t++)et(e,n[t],!0)}function rt(e,n,t,o){const r=()=>t[o];if(d(e)){const t=n[e];f(t)&&Yn(r,t)}else f(e)?Yn(r,e.bind(t)):h(e)&&(a(e)?e.forEach(e=>rt(e,n,t,o)):Yn(r,e.handler.bind(t),e))}const lt={[Symbol("")]:"Fragment",[Symbol("")]:"Portal",[Symbol("")]:"Suspense",[Symbol("")]:"openBlock",[Symbol("")]:"createBlock",[Symbol("")]:"createVNode",[Symbol("")]:"createCommentVNode",[Symbol("")]:"createTextVNode",[Symbol("")]:"resolveComponent",[Symbol("")]:"resolveDynamicComponent",[Symbol("")]:"resolveDirective",[Symbol("")]:"withDirectives",[Symbol("")]:"renderList",[Symbol("")]:"renderSlot",[Symbol("")]:"createSlots",[Symbol("")]:"toString",[Symbol("")]:"mergeProps",[Symbol("")]:"toHandlers",[Symbol("")]:"camelize",[Symbol("")]:"setBlockTracking"};const st=Symbol(""),ct=Symbol(""),it=Symbol(""),ut=Symbol(""),at=Symbol(""),ft=Symbol(""),dt=Symbol("");var pt;pt={[st]:"vModelRadio",[ct]:"vModelCheckbox",[it]:"vModelText",[ut]:"vModelSelect",[at]:"vModelDynamic",[ft]:"withModifiers",[dt]:"withKeys"},Object.getOwnPropertySymbols(pt).forEach(e=>{lt[e]=pt[e]});const ht=jn();let mt=null,gt=null;const yt=e=>{mt=e};function vt(e,n,t){f(n)?e.render=n:h(n)&&(e.renderContext=ue(n)),bt(e,t)}function bt(e,n){const o=e.type;e.render||(e.render=o.render||r),mt=e,gt=n,et(e,o),mt=null,gt=null,e.renderContext===t&&(e.renderContext=ue({}))}const xt=Symbol(),St={};function Ct(e){mt&&(mt.effects||(mt.effects=[])).push(e)}function kt(e){const n=Ne(e);return Ct(n.effect),n}["attrs","slots"].forEach(e=>{St[e]={get:(n,t)=>n[e][t],has:(n,t)=>t===xt||t in n[e],ownKeys:n=>Reflect.ownKeys(n[e]),getOwnPropertyDescriptor:(n,t)=>Reflect.getOwnPropertyDescriptor(n[e],t),set:()=>!1,deleteProperty:()=>!1}});const wt={ELEMENT:1,FUNCTIONAL_COMPONENT:2,STATEFUL_COMPONENT:4,TEXT_CHILDREN:8,ARRAY_CHILDREN:16,SLOTS_CHILDREN:32,COMPONENT:6};function Tt(e,n){const t=wn||mt;if(t){let o;const r=t[e];return r[n]||r[o=S(n)]||r[w(o)]}}let Et=0,Nt=[];function Rt(e){Nt.push(e)}function Ot(){Nt=[]}function Pt(e,n=!0){const t=e.parentNode;if(null!=t){n&&Rt({type:"remove",targetNode:e,parentNode:t});const o=t.children.indexOf(e);if(!(o>-1))throw console.error("target: ",e),console.error("parent: ",t),Error("target is not a childNode of parent");t.children.splice(o,1),e.parentNode=null}}const $t={insert:function(e,n,t){let o;if(null!=t&&-1===(o=n.children.indexOf(t)))throw console.error("ref: ",t),console.error("parent: ",n),new Error("ref is not a child of parent");Rt({type:"insert",targetNode:e,parentNode:n,refNode:t}),Pt(e,!1),-1===(o=t?n.children.indexOf(t):-1)?(n.children.push(e),e.parentNode=n):(n.children.splice(o,0,e),e.parentNode=n)},remove:Pt,createElement:function(e){const n={id:Et++,type:"element",tag:e,children:[],props:{},parentNode:null,eventListeners:null};return Rt({type:"create",nodeType:"element",targetNode:n,tag:e}),he(n),n},createText:function(e){const n={id:Et++,type:"text",text:e,parentNode:null};return Rt({type:"create",nodeType:"text",targetNode:n,text:e}),he(n),n},createComment:function(e){const n={id:Et++,type:"comment",text:e,parentNode:null};return Rt({type:"create",nodeType:"comment",targetNode:n,text:e}),he(n),n},setText:function(e,n){Rt({type:"setText",targetNode:e,text:n}),e.text=n},setElementText:function(e,n){Rt({type:"setElementText",targetNode:e,text:n}),e.children.forEach(e=>{e.parentNode=null}),e.children=n?[{id:Et++,type:"text",text:n,parentNode:e}]:[]},parentNode:function(e){return e.parentNode},nextSibling:function(e){const n=e.parentNode;if(!n)return null;const t=n.children.indexOf(e);return n.children[t+1]||null},querySelector:function(){throw new Error("querySelector not supported in test renderer.")}};function Mt(e,n=0,t=0){return"element"===e.type?function(e,n,t){const o=Object.keys(e.props).map(n=>{const t=e.props[n];return s(n)||null==t?"":`${n}=${JSON.stringify(t)}`}).filter(Boolean).join(" "),r=n?" ".repeat(n).repeat(t):"";return`${r}<${e.tag}${o?` ${o}`:""}>`+`${Vt(e,n,t)}`+`${r}</${e.tag}>`}(e,n,t):function(e,n,t){return(n?" ".repeat(n).repeat(t):"")+("comment"===e.type?`\x3c!--${e.text}--\x3e`:e.text)}(e,n,t)}function Vt(e,n=0,t=0){const o=n?"\n":"";return e.children.length?o+e.children.map(e=>Mt(e,n,t+1)).join(o)+o:""}const{render:At,createApp:Ft}=In({patchProp:function(e,n,t,o){if(Rt({type:"patch",targetNode:e,propKey:n,propPrevValue:o,propNextValue:t}),e.props[n]=t,s(n)){const o=n.slice(2).toLowerCase();(e.eventListeners||(e.eventListeners={}))[o]=t}},...$t});return e.Comment=Ze,e.Fragment=Ge,e.PatchFlags={TEXT:1,CLASS:2,STYLE:4,PROPS:8,NEED_PATCH:32,FULL_PROPS:16,KEYED_FRAGMENT:64,UNKEYED_FRAGMENT:128,DYNAMIC_SLOTS:256,BAIL:-1},e.Portal=qe,e.ShapeFlags=wt,e.Suspense=Je,e.Text=Xe,e.callWithAsyncErrorHandling=Ue,e.callWithErrorHandling=Fe,e.camelize=S,e.capitalize=w,e.cloneVNode=sn,e.computed=kt,e.createApp=Ft,e.createBlock=on,e.createCommentVNode=function(e="",n=!1){return n?on(Ze,null,e):ln(Ze,null,e)},e.createComponent=function(e){return f(e)?{setup:e}:e},e.createRenderer=In,e.createSlots=function(e,n){for(let t=0;t<n.length;t++){const o=n[t];if(a(o))for(let n=0;n<o.length;n++)e[o[n].name]=o[n].fn;else e[o.name]=o.fn}return e},e.createTextVNode=function(e=" ",n=0){return ln(Xe,null,e,n)},e.createVNode=ln,e.dumpOps=function(){const e=Nt.slice();return Ot(),e},e.effect=ye,e.getCurrentInstance=()=>mt,e.h=function(e,n,t){return 2===arguments.length?h(n)&&!a(n)?rn(n)?ln(e,null,[n]):ln(e,n):ln(e,null,n):(rn(t)&&(t=[t]),ln(e,n,t))},e.handleError=_e,e.inject=Qn,e.instanceWatch=qn,e.isReactive=de,e.isReadonly=function(e){return oe.has(e)},e.isRef=Te,e.logNodeOp=Rt,e.markNonReactive=he,e.markReadonly=function(e){return re.add(e),e},e.mergeProps=dn,e.mockWarn=function(){let e;expect.extend({toHaveBeenWarned(t){if(n.add(t),e.mock.calls.some(e=>e[0].indexOf(t)>-1))return{pass:!0,message:()=>`expected "${t}" not to have been warned.`};{const n=e.mock.calls.map(e=>e[0]).join("\n - ");return{pass:!1,message:()=>`expected "${t}" to have been warned.\n\nActual messages:\n\n - ${n}`}}},toHaveBeenWarnedLast(t){if(n.add(t),e.mock.calls[e.mock.calls.length-1][0].indexOf(t)>-1)return{pass:!0,message:()=>`expected "${t}" not to have been warned last.`};{const n=e.mock.calls.map(e=>e[0]).join("\n - ");return{pass:!1,message:()=>`expected "${t}" to have been warned last.\n\nActual messages:\n\n - ${n}`}}},toHaveBeenWarnedTimes(t,o){n.add(t);let r=0;return e.mock.calls.forEach(e=>{e[0].indexOf(t)>-1&&r++}),r===o?{pass:!0,message:()=>`expected "${t}" to have been warned ${o} times.`}:{pass:!1,message:()=>`expected "${t}" to have been warned ${o} times but got ${r}.`}}});const n=new Set;beforeEach(()=>{n.clear(),(e=jest.spyOn(console,"warn")).mockImplementation(()=>{})}),afterEach(()=>{const t=Array.from(n),o=e.mock.calls.map(e=>e[0]).filter(e=>!t.some(n=>e.indexOf(n)>-1));if(e.mockRestore(),o.length)throw o.forEach(e=>{console.warn(e)}),new Error("test case threw unexpected warnings.")})},e.nextTick=We,e.nodeOps=$t,e.onBeforeMount=mn,e.onBeforeUnmount=bn,e.onBeforeUpdate=yn,e.onErrorCaptured=kn,e.onMounted=gn,e.onRenderTracked=Cn,e.onRenderTriggered=Sn,e.onUnmounted=xn,e.onUpdated=vn,e.openBlock=nn,e.provide=Zn,e.reactive=ue,e.readonly=ae,e.recordEffect=Ct,e.ref=function(e){if(Te(e))return e;e=we(e);const n={_isRef:!0,get value(){return Se(n,"get",""),e},set value(t){e=we(t),Ce(n,"set","")}};return n},e.registerRuntimeCompiler=function(e){},e.render=At,e.renderList=function(e,n){let t;if(a(e)||d(e)){t=new Array(e.length);for(let o=0,r=e.length;o<r;o++)t[o]=n(e[o],o)}else if("number"==typeof e){t=new Array(e);for(let o=0;o<e;o++)t[o]=n(o+1,o)}else if(h(e))if(e[Symbol.iterator])t=Array.from(e,n);else{const o=Object.keys(e);t=new Array(o.length);for(let r=0,l=o.length;r<l;r++){const l=o[r];t[r]=n(e[l],l,r)}}return t},e.renderSlot=function(e,n,t={},o){const r=e[n];return nn(),on(Ge,{key:t.key},r?r(t):o||[],e._compiled?0:-1)},e.renderToString=function(e){const n=$t.createElement("div");return At(e,n),Vt(n)},e.resetOps=Ot,e.resolveComponent=function(e){return Tt("components",e)},e.resolveDirective=function(e){return Tt("directives",e)},e.resolveDynamicComponent=function(e){if(e)return d(e)?Tt("components",e):f(e)||h(e)?e:void 0},e.serialize=Mt,e.serializeInner=Vt,e.setBlockTracking=function(e){tn+=e},e.toHandlers=function(e){const n={};for(const t in e)n[`on${t}`]=e[t];return n},e.toRaw=pe,e.toRefs=function(e){const n={};for(const t in e)n[t]=Ee(e,t);return n},e.toString=function(e){return null==e?"":a(e)||v(e)&&e.toString===g?JSON.stringify(e,null,2):String(e)},e.triggerEvent=function(e,n,t=[]){const{eventListeners:o}=e;if(o){const e=o[n];if(e)if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n](...t);else e(...t)}},e.version="3.0.0-alpha.1",e.warn=Oe,e.watch=Yn,e.withDirectives=function(e,n){const t=wn;if(null!==t){e.props=e.props||{};for(let o=0;o<n.length;o++){const[r,l,s,c]=n[o];Un(e.props,t,r,l,s,c)}}return e},e}({});