@univerjs/ui-adapter-vue3 0.9.1 → 0.9.2-nightly.202507111607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1,17 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const it=require("@univerjs/core"),Bs=require("@univerjs/ui");/**
2
- * @vue/shared v3.5.17
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function bs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const V={},lt=[],ve=()=>{},vr=()=>!1,Lt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vs=e=>e.startsWith("onUpdate:"),te=Object.assign,xs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},xr=Object.prototype.hasOwnProperty,D=(e,t)=>xr.call(e,t),A=Array.isArray,ft=e=>$t(e)==="[object Map]",yr=e=>$t(e)==="[object Set]",I=e=>typeof e=="function",J=e=>typeof e=="string",Qe=e=>typeof e=="symbol",q=e=>e!==null&&typeof e=="object",yn=e=>(q(e)||I(e))&&I(e.then)&&I(e.catch),wr=Object.prototype.toString,$t=e=>wr.call(e),Sr=e=>$t(e).slice(8,-1),Tr=e=>$t(e)==="[object Object]",ys=e=>J(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ct=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Er=/-(\w)/g,je=Vt(e=>e.replace(Er,(t,s)=>s?s.toUpperCase():"")),Cr=/\B([A-Z])/g,Be=Vt(e=>e.replace(Cr,"-$1").toLowerCase()),wn=Vt(e=>e.charAt(0).toUpperCase()+e.slice(1)),zt=Vt(e=>e?`on${wn(e)}`:""),Ke=(e,t)=>!Object.is(e,t),Xt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},os=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Pr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let qs;const Kt=()=>qs||(qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ws(e){if(A(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=J(n)?Rr(n):ws(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(J(e)||q(e))return e}const Or=/;(?![^(]*\))/g,Ar=/:([^]+)/,Ir=/\/\*[^]*?\*\//g;function Rr(e){const t={};return e.replace(Ir,"").split(Or).forEach(s=>{if(s){const n=s.split(Ar);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ss(e){let t="";if(J(e))t=e;else if(A(e))for(let s=0;s<e.length;s++){const n=Ss(e[s]);n&&(t+=n+" ")}else if(q(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Mr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Fr=bs(Mr);function Sn(e){return!!e||e===""}/**
6
- * @vue/reactivity v3.5.17
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let re;class Dr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=re,!t&&re&&(this.index=(re.scopes||(re.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=re;try{return re=this,t()}finally{re=s}}}on(){++this._on===1&&(this.prevScope=re,re=this)}off(){this._on>0&&--this._on===0&&(re=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function jr(){return re}let $;const Zt=new WeakSet;class Tn{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,re&&re.active&&re.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Zt.has(this)&&(Zt.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Cn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Gs(this),Pn(this);const t=$,s=ce;$=this,ce=!0;try{return this.fn()}finally{On(this),$=t,ce=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Cs(t);this.deps=this.depsTail=void 0,Gs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Zt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ls(this)&&this.run()}get dirty(){return ls(this)}}let En=0,ut,at;function Cn(e,t=!1){if(e.flags|=8,t){e.next=at,at=e;return}e.next=ut,ut=e}function Ts(){En++}function Es(){if(--En>0)return;if(at){let t=at;for(at=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;ut;){let t=ut;for(ut=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Pn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function On(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Cs(n),Hr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function ls(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(An(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function An(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===_t)||(e.globalVersion=_t,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ls(e))))return;e.flags|=2;const t=e.dep,s=$,n=ce;$=e,ce=!0;try{Pn(e);const r=e.fn(e._value);(t.version===0||Ke(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{$=s,ce=n,On(e),e.flags&=-3}}function Cs(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Cs(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Hr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ce=!0;const In=[];function Ce(){In.push(ce),ce=!1}function Pe(){const e=In.pop();ce=e===void 0?!0:e}function Gs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=$;$=void 0;try{t()}finally{$=s}}}let _t=0;class Nr{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Rn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!$||!ce||$===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==$)s=this.activeLink=new Nr($,this),$.deps?(s.prevDep=$.depsTail,$.depsTail.nextDep=s,$.depsTail=s):$.deps=$.depsTail=s,Mn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=$.depsTail,s.nextDep=void 0,$.depsTail.nextDep=s,$.depsTail=s,$.deps===s&&($.deps=n)}return s}trigger(t){this.version++,_t++,this.notify(t)}notify(t){Ts();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Es()}}}function Mn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Mn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const fs=new WeakMap,We=Symbol(""),cs=Symbol(""),mt=Symbol("");function z(e,t,s){if(ce&&$){let n=fs.get(e);n||fs.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Rn),r.map=n,r.key=s),r.track()}}function Ee(e,t,s,n,r,i){const o=fs.get(e);if(!o){_t++;return}const f=u=>{u&&u.trigger()};if(Ts(),t==="clear")o.forEach(f);else{const u=A(e),h=u&&ys(s);if(u&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===mt||!Qe(S)&&S>=a)&&f(p)})}else switch((s!==void 0||o.has(void 0))&&f(o.get(s)),h&&f(o.get(mt)),t){case"add":u?h&&f(o.get("length")):(f(o.get(We)),ft(e)&&f(o.get(cs)));break;case"delete":u||(f(o.get(We)),ft(e)&&f(o.get(cs)));break;case"set":ft(e)&&f(o.get(We));break}}Es()}function qe(e){const t=H(e);return t===e?t:(z(t,"iterate",mt),xe(e)?t:t.map(le))}function Ps(e){return z(e=H(e),"iterate",mt),e}const Ur={__proto__:null,[Symbol.iterator](){return Qt(this,Symbol.iterator,le)},concat(...e){return qe(this).concat(...e.map(t=>A(t)?qe(t):t))},entries(){return Qt(this,"entries",e=>(e[1]=le(e[1]),e))},every(e,t){return we(this,"every",e,t,void 0,arguments)},filter(e,t){return we(this,"filter",e,t,s=>s.map(le),arguments)},find(e,t){return we(this,"find",e,t,le,arguments)},findIndex(e,t){return we(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return we(this,"findLast",e,t,le,arguments)},findLastIndex(e,t){return we(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return we(this,"forEach",e,t,void 0,arguments)},includes(...e){return kt(this,"includes",e)},indexOf(...e){return kt(this,"indexOf",e)},join(e){return qe(this).join(e)},lastIndexOf(...e){return kt(this,"lastIndexOf",e)},map(e,t){return we(this,"map",e,t,void 0,arguments)},pop(){return nt(this,"pop")},push(...e){return nt(this,"push",e)},reduce(e,...t){return Js(this,"reduce",e,t)},reduceRight(e,...t){return Js(this,"reduceRight",e,t)},shift(){return nt(this,"shift")},some(e,t){return we(this,"some",e,t,void 0,arguments)},splice(...e){return nt(this,"splice",e)},toReversed(){return qe(this).toReversed()},toSorted(e){return qe(this).toSorted(e)},toSpliced(...e){return qe(this).toSpliced(...e)},unshift(...e){return nt(this,"unshift",e)},values(){return Qt(this,"values",le)}};function Qt(e,t,s){const n=Ps(e),r=n[t]();return n!==e&&!xe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=s(i.value)),i}),r}const Lr=Array.prototype;function we(e,t,s,n,r,i){const o=Ps(e),f=o!==e&&!xe(e),u=o[t];if(u!==Lr[t]){const p=u.apply(e,i);return f?le(p):p}let h=s;o!==e&&(f?h=function(p,S){return s.call(this,le(p),S,e)}:s.length>2&&(h=function(p,S){return s.call(this,p,S,e)}));const a=u.call(o,h,n);return f&&r?r(a):a}function Js(e,t,s,n){const r=Ps(e);let i=s;return r!==e&&(xe(e)?s.length>3&&(i=function(o,f,u){return s.call(this,o,f,u,e)}):i=function(o,f,u){return s.call(this,o,le(f),u,e)}),r[t](i,...n)}function kt(e,t,s){const n=H(e);z(n,"iterate",mt);const r=n[t](...s);return(r===-1||r===!1)&&Rs(s[0])?(s[0]=H(s[0]),n[t](...s)):r}function nt(e,t,s=[]){Ce(),Ts();const n=H(e)[t].apply(e,s);return Es(),Pe(),n}const $r=bs("__proto__,__v_isRef,__isVue"),Fn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Qe));function Vr(e){Qe(e)||(e=String(e));const t=H(this);return z(t,"has",e),t.hasOwnProperty(e)}class Dn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Zr:Un:i?Nn:Hn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=A(t);if(!r){let u;if(o&&(u=Ur[s]))return u;if(s==="hasOwnProperty")return Vr}const f=Reflect.get(t,s,ee(t)?t:n);return(Qe(s)?Fn.has(s):$r(s))||(r||z(t,"get",s),i)?f:ee(f)?o&&ys(s)?f:f.value:q(f)?r?Ln(f):As(f):f}}class jn extends Dn{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];if(!this._isShallow){const u=ze(i);if(!xe(n)&&!ze(n)&&(i=H(i),n=H(n)),!A(t)&&ee(i)&&!ee(n))return u?!1:(i.value=n,!0)}const o=A(t)&&ys(s)?Number(s)<t.length:D(t,s),f=Reflect.set(t,s,n,ee(t)?t:r);return t===H(r)&&(o?Ke(n,i)&&Ee(t,"set",s,n):Ee(t,"add",s,n)),f}deleteProperty(t,s){const n=D(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&Ee(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!Qe(s)||!Fn.has(s))&&z(t,"has",s),n}ownKeys(t){return z(t,"iterate",A(t)?"length":We),Reflect.ownKeys(t)}}class Kr extends Dn{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Wr=new jn,Br=new Kr,qr=new jn(!0);const us=e=>e,Pt=e=>Reflect.getPrototypeOf(e);function Gr(e,t,s){return function(...n){const r=this.__v_raw,i=H(r),o=ft(i),f=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,h=r[e](...n),a=s?us:t?as:le;return!t&&z(i,"iterate",u?cs:We),{next(){const{value:p,done:S}=h.next();return S?{value:p,done:S}:{value:f?[a(p[0]),a(p[1])]:a(p),done:S}},[Symbol.iterator](){return this}}}}function Ot(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Jr(e,t){const s={get(r){const i=this.__v_raw,o=H(i),f=H(r);e||(Ke(r,f)&&z(o,"get",r),z(o,"get",f));const{has:u}=Pt(o),h=t?us:e?as:le;if(u.call(o,r))return h(i.get(r));if(u.call(o,f))return h(i.get(f));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&z(H(r),"iterate",We),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=H(i),f=H(r);return e||(Ke(r,f)&&z(o,"has",r),z(o,"has",f)),r===f?i.has(r):i.has(r)||i.has(f)},forEach(r,i){const o=this,f=o.__v_raw,u=H(f),h=t?us:e?as:le;return!e&&z(u,"iterate",We),f.forEach((a,p)=>r.call(i,h(a),h(p),o))}};return te(s,e?{add:Ot("add"),set:Ot("set"),delete:Ot("delete"),clear:Ot("clear")}:{add(r){!t&&!xe(r)&&!ze(r)&&(r=H(r));const i=H(this);return Pt(i).has.call(i,r)||(i.add(r),Ee(i,"add",r,r)),this},set(r,i){!t&&!xe(i)&&!ze(i)&&(i=H(i));const o=H(this),{has:f,get:u}=Pt(o);let h=f.call(o,r);h||(r=H(r),h=f.call(o,r));const a=u.call(o,r);return o.set(r,i),h?Ke(i,a)&&Ee(o,"set",r,i):Ee(o,"add",r,i),this},delete(r){const i=H(this),{has:o,get:f}=Pt(i);let u=o.call(i,r);u||(r=H(r),u=o.call(i,r)),f&&f.call(i,r);const h=i.delete(r);return u&&Ee(i,"delete",r,void 0),h},clear(){const r=H(this),i=r.size!==0,o=r.clear();return i&&Ee(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Gr(r,e,t)}),s}function Os(e,t){const s=Jr(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(D(s,r)&&r in n?s:n,r,i)}const Yr={get:Os(!1,!1)},zr={get:Os(!1,!0)},Xr={get:Os(!0,!1)};const Hn=new WeakMap,Nn=new WeakMap,Un=new WeakMap,Zr=new WeakMap;function Qr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kr(e){return e.__v_skip||!Object.isExtensible(e)?0:Qr(Sr(e))}function As(e){return ze(e)?e:Is(e,!1,Wr,Yr,Hn)}function ei(e){return Is(e,!1,qr,zr,Nn)}function Ln(e){return Is(e,!0,Br,Xr,Un)}function Is(e,t,s,n,r){if(!q(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=kr(e);if(i===0)return e;const o=r.get(e);if(o)return o;const f=new Proxy(e,i===2?n:s);return r.set(e,f),f}function dt(e){return ze(e)?dt(e.__v_raw):!!(e&&e.__v_isReactive)}function ze(e){return!!(e&&e.__v_isReadonly)}function xe(e){return!!(e&&e.__v_isShallow)}function Rs(e){return e?!!e.__v_raw:!1}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function ti(e){return!D(e,"__v_skip")&&Object.isExtensible(e)&&os(e,"__v_skip",!0),e}const le=e=>q(e)?As(e):e,as=e=>q(e)?Ln(e):e;function ee(e){return e?e.__v_isRef===!0:!1}function si(e){return ee(e)?e.value:e}const ni={get:(e,t,s)=>t==="__v_raw"?e:si(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ee(r)&&!ee(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function $n(e){return dt(e)?e:new Proxy(e,ni)}class ri{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Rn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_t-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&$!==this)return Cn(this,!0),!0}get value(){const t=this.dep.track();return An(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ii(e,t,s=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new ri(n,r,s)}const At={},Ft=new WeakMap;let Ve;function oi(e,t=!1,s=Ve){if(s){let n=Ft.get(s);n||Ft.set(s,n=[]),n.push(e)}}function li(e,t,s=V){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:f,call:u}=s,h=P=>r?P:xe(P)||r===!1||r===0?Fe(P,1):Fe(P);let a,p,S,T,F=!1,M=!1;if(ee(e)?(p=()=>e.value,F=xe(e)):dt(e)?(p=()=>h(e),F=!0):A(e)?(M=!0,F=e.some(P=>dt(P)||xe(P)),p=()=>e.map(P=>{if(ee(P))return P.value;if(dt(P))return h(P);if(I(P))return u?u(P,2):P()})):I(e)?t?p=u?()=>u(e,2):e:p=()=>{if(S){Ce();try{S()}finally{Pe()}}const P=Ve;Ve=a;try{return u?u(e,3,[T]):e(T)}finally{Ve=P}}:p=ve,t&&r){const P=p,G=r===!0?1/0:r;p=()=>Fe(P(),G)}const Y=jr(),N=()=>{a.stop(),Y&&Y.active&&xs(Y.effects,a)};if(i&&t){const P=t;t=(...G)=>{P(...G),N()}}let W=M?new Array(e.length).fill(At):At;const B=P=>{if(!(!(a.flags&1)||!a.dirty&&!P))if(t){const G=a.run();if(r||F||(M?G.some((Ae,ue)=>Ke(Ae,W[ue])):Ke(G,W))){S&&S();const Ae=Ve;Ve=a;try{const ue=[G,W===At?void 0:M&&W[0]===At?[]:W,T];W=G,u?u(t,3,ue):t(...ue)}finally{Ve=Ae}}}else a.run()};return f&&f(B),a=new Tn(p),a.scheduler=o?()=>o(B,!1):B,T=P=>oi(P,!1,a),S=a.onStop=()=>{const P=Ft.get(a);if(P){if(u)u(P,4);else for(const G of P)G();Ft.delete(a)}},t?n?B(!0):W=a.run():o?o(B.bind(null,!0),!0):a.run(),N.pause=a.pause.bind(a),N.resume=a.resume.bind(a),N.stop=N,N}function Fe(e,t=1/0,s){if(t<=0||!q(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,ee(e))Fe(e.value,t,s);else if(A(e))for(let n=0;n<e.length;n++)Fe(e[n],t,s);else if(yr(e)||ft(e))e.forEach(n=>{Fe(n,t,s)});else if(Tr(e)){for(const n in e)Fe(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Fe(e[n],t,s)}return e}/**
10
- * @vue/runtime-core v3.5.17
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function xt(e,t,s,n){try{return n?e(...n):e()}catch(r){Wt(r,t,s)}}function ye(e,t,s,n){if(I(e)){const r=xt(e,t,s,n);return r&&yn(r)&&r.catch(i=>{Wt(i,t,s)}),r}if(A(e)){const r=[];for(let i=0;i<e.length;i++)r.push(ye(e[i],t,s,n));return r}}function Wt(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||V;if(t){let f=t.parent;const u=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;f;){const a=f.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,u,h)===!1)return}f=f.parent}if(i){Ce(),xt(i,null,10,[e,u,h]),Pe();return}}fi(e,s,r,n,o)}function fi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const Q=[];let _e=-1;const Je=[];let Re=null,Ge=0;const Vn=Promise.resolve();let Dt=null;function ci(e){const t=Dt||Vn;return e?t.then(this?e.bind(this):e):t}function ui(e){let t=_e+1,s=Q.length;for(;t<s;){const n=t+s>>>1,r=Q[n],i=bt(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function Ms(e){if(!(e.flags&1)){const t=bt(e),s=Q[Q.length-1];!s||!(e.flags&2)&&t>=bt(s)?Q.push(e):Q.splice(ui(t),0,e),e.flags|=1,Kn()}}function Kn(){Dt||(Dt=Vn.then(Bn))}function ai(e){A(e)?Je.push(...e):Re&&e.id===-1?Re.splice(Ge+1,0,e):e.flags&1||(Je.push(e),e.flags|=1),Kn()}function Ys(e,t,s=_e+1){for(;s<Q.length;s++){const n=Q[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Q.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Wn(e){if(Je.length){const t=[...new Set(Je)].sort((s,n)=>bt(s)-bt(n));if(Je.length=0,Re){Re.push(...t);return}for(Re=t,Ge=0;Ge<Re.length;Ge++){const s=Re[Ge];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Re=null,Ge=0}}const bt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Bn(e){try{for(_e=0;_e<Q.length;_e++){const t=Q[_e];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;_e<Q.length;_e++){const t=Q[_e];t&&(t.flags&=-2)}_e=-1,Q.length=0,Wn(),Dt=null,(Q.length||Je.length)&&Bn()}}let be=null,qn=null;function jt(e){const t=be;return be=e,qn=e&&e.type.__scopeId||null,t}function di(e,t=be,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&nn(-1);const i=jt(t);let o;try{o=e(...r)}finally{jt(i),n._d&&nn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Le(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const f=r[o];i&&(f.oldValue=i[o].value);let u=f.dir[n];u&&(Ce(),ye(u,s,8,[e.el,f,e,t]),Pe())}}const hi=Symbol("_vte"),pi=e=>e.__isTeleport;function Fs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Fs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Gn(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ht(e,t,s,n,r=!1){if(A(e)){e.forEach((F,M)=>ht(F,t&&(A(t)?t[M]:t),s,n,r));return}if(pt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ht(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Us(n.component):n.el,o=r?null:i,{i:f,r:u}=e,h=t&&t.r,a=f.refs===V?f.refs={}:f.refs,p=f.setupState,S=H(p),T=p===V?()=>!1:F=>D(S,F);if(h!=null&&h!==u&&(J(h)?(a[h]=null,T(h)&&(p[h]=null)):ee(h)&&(h.value=null)),I(u))xt(u,f,12,[o,a]);else{const F=J(u),M=ee(u);if(F||M){const Y=()=>{if(e.f){const N=F?T(u)?p[u]:a[u]:u.value;r?A(N)&&xs(N,i):A(N)?N.includes(i)||N.push(i):F?(a[u]=[i],T(u)&&(p[u]=a[u])):(u.value=[i],e.k&&(a[e.k]=u.value))}else F?(a[u]=o,T(u)&&(p[u]=o)):M&&(u.value=o,e.k&&(a[e.k]=o))};o?(Y.id=-1,oe(Y,s)):Y()}}}Kt().requestIdleCallback;Kt().cancelIdleCallback;const pt=e=>!!e.type.__asyncLoader,Jn=e=>e.type.__isKeepAlive;function gi(e,t){Yn(e,"a",t)}function _i(e,t){Yn(e,"da",t)}function Yn(e,t,s=k){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Bt(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Jn(r.parent.vnode)&&mi(n,t,s,r),r=r.parent}}function mi(e,t,s,n){const r=Bt(t,e,n,!0);zn(()=>{xs(n[t],r)},s)}function Bt(e,t,s=k,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ce();const f=yt(s),u=ye(t,s,e,o);return f(),Pe(),u});return n?r.unshift(i):r.push(i),i}}const Oe=e=>(t,s=k)=>{(!vt||e==="sp")&&Bt(e,(...n)=>t(...n),s)},bi=Oe("bm"),vi=Oe("m"),xi=Oe("bu"),yi=Oe("u"),wi=Oe("bum"),zn=Oe("um"),Si=Oe("sp"),Ti=Oe("rtg"),Ei=Oe("rtc");function Ci(e,t=k){Bt("ec",e,t)}const Pi=Symbol.for("v-ndc"),ds=e=>e?pr(e)?Us(e):ds(e.parent):null,gt=te(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ds(e.parent),$root:e=>ds(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Zn(e),$forceUpdate:e=>e.f||(e.f=()=>{Ms(e.update)}),$nextTick:e=>e.n||(e.n=ci.bind(e.proxy)),$watch:e=>zi.bind(e)}),es=(e,t)=>e!==V&&!e.__isScriptSetup&&D(e,t),Oi={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:f,appContext:u}=e;let h;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(es(n,t))return o[t]=1,n[t];if(r!==V&&D(r,t))return o[t]=2,r[t];if((h=e.propsOptions[0])&&D(h,t))return o[t]=3,i[t];if(s!==V&&D(s,t))return o[t]=4,s[t];hs&&(o[t]=0)}}const a=gt[t];let p,S;if(a)return t==="$attrs"&&z(e.attrs,"get",""),a(e);if((p=f.__cssModules)&&(p=p[t]))return p;if(s!==V&&D(s,t))return o[t]=4,s[t];if(S=u.config.globalProperties,D(S,t))return S[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return es(r,t)?(r[t]=s,!0):n!==V&&D(n,t)?(n[t]=s,!0):D(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let f;return!!s[o]||e!==V&&D(e,o)||es(t,o)||(f=i[0])&&D(f,o)||D(n,o)||D(gt,o)||D(r.config.globalProperties,o)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:D(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function zs(e){return A(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let hs=!0;function Ai(e){const t=Zn(e),s=e.proxy,n=e.ctx;hs=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:f,provide:u,inject:h,created:a,beforeMount:p,mounted:S,beforeUpdate:T,updated:F,activated:M,deactivated:Y,beforeDestroy:N,beforeUnmount:W,destroyed:B,unmounted:P,render:G,renderTracked:Ae,renderTriggered:ue,errorCaptured:Ie,serverPrefetch:wt,expose:He,inheritAttrs:ke,components:St,directives:Tt,filters:Jt}=t;if(h&&Ii(h,n,null),o)for(const K in o){const U=o[K];I(U)&&(n[K]=U.bind(s))}if(r){const K=r.call(s,s);q(K)&&(e.data=As(K))}if(hs=!0,i)for(const K in i){const U=i[K],Ne=I(U)?U.bind(s,s):I(U.get)?U.get.bind(s,s):ve,Et=!I(U)&&I(U.set)?U.set.bind(s):ve,Ue=mo({get:Ne,set:Et});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:ae=>Ue.value=ae})}if(f)for(const K in f)Xn(f[K],n,s,K);if(u){const K=I(u)?u.call(s):u;Reflect.ownKeys(K).forEach(U=>{Hi(U,K[U])})}a&&Xs(a,e,"c");function X(K,U){A(U)?U.forEach(Ne=>K(Ne.bind(s))):U&&K(U.bind(s))}if(X(bi,p),X(vi,S),X(xi,T),X(yi,F),X(gi,M),X(_i,Y),X(Ci,Ie),X(Ei,Ae),X(Ti,ue),X(wi,W),X(zn,P),X(Si,wt),A(He))if(He.length){const K=e.exposed||(e.exposed={});He.forEach(U=>{Object.defineProperty(K,U,{get:()=>s[U],set:Ne=>s[U]=Ne})})}else e.exposed||(e.exposed={});G&&e.render===ve&&(e.render=G),ke!=null&&(e.inheritAttrs=ke),St&&(e.components=St),Tt&&(e.directives=Tt),wt&&Gn(e)}function Ii(e,t,s=ve){A(e)&&(e=ps(e));for(const n in e){const r=e[n];let i;q(r)?"default"in r?i=It(r.from||n,r.default,!0):i=It(r.from||n):i=It(r),ee(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function Xs(e,t,s){ye(A(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Xn(e,t,s,n){let r=n.includes(".")?ur(s,n):()=>s[n];if(J(e)){const i=t[e];I(i)&&ss(r,i)}else if(I(e))ss(r,e.bind(s));else if(q(e))if(A(e))e.forEach(i=>Xn(i,t,s,n));else{const i=I(e.handler)?e.handler.bind(s):t[e.handler];I(i)&&ss(r,i,e)}}function Zn(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,f=i.get(t);let u;return f?u=f:!r.length&&!s&&!n?u=t:(u={},r.length&&r.forEach(h=>Ht(u,h,o,!0)),Ht(u,t,o)),q(t)&&i.set(t,u),u}function Ht(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Ht(e,i,s,!0),r&&r.forEach(o=>Ht(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const f=Ri[o]||s&&s[o];e[o]=f?f(e[o],t[o]):t[o]}return e}const Ri={data:Zs,props:Qs,emits:Qs,methods:ot,computed:ot,beforeCreate:Z,created:Z,beforeMount:Z,mounted:Z,beforeUpdate:Z,updated:Z,beforeDestroy:Z,beforeUnmount:Z,destroyed:Z,unmounted:Z,activated:Z,deactivated:Z,errorCaptured:Z,serverPrefetch:Z,components:ot,directives:ot,watch:Fi,provide:Zs,inject:Mi};function Zs(e,t){return t?e?function(){return te(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Mi(e,t){return ot(ps(e),ps(t))}function ps(e){if(A(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Z(e,t){return e?[...new Set([].concat(e,t))]:t}function ot(e,t){return e?te(Object.create(null),e,t):t}function Qs(e,t){return e?A(e)&&A(t)?[...new Set([...e,...t])]:te(Object.create(null),zs(e),zs(t!=null?t:{})):t}function Fi(e,t){if(!e)return t;if(!t)return e;const s=te(Object.create(null),e);for(const n in t)s[n]=Z(e[n],t[n]);return s}function Qn(){return{app:null,config:{isNativeTag:vr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Di=0;function ji(e,t){return function(n,r=null){I(n)||(n=te({},n)),r!=null&&!q(r)&&(r=null);const i=Qn(),o=new WeakSet,f=[];let u=!1;const h=i.app={_uid:Di++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:vo,get config(){return i.config},set config(a){},use(a,...p){return o.has(a)||(a&&I(a.install)?(o.add(a),a.install(h,...p)):I(a)&&(o.add(a),a(h,...p))),h},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),h},component(a,p){return p?(i.components[a]=p,h):i.components[a]},directive(a,p){return p?(i.directives[a]=p,h):i.directives[a]},mount(a,p,S){if(!u){const T=h._ceVNode||fe(n,r);return T.appContext=i,S===!0?S="svg":S===!1&&(S=void 0),e(T,a,S),u=!0,h._container=a,a.__vue_app__=h,Us(T.component)}},onUnmount(a){f.push(a)},unmount(){u&&(ye(f,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(a,p){return i.provides[a]=p,h},runWithContext(a){const p=Ye;Ye=h;try{return a()}finally{Ye=p}}};return h}}let Ye=null;function Hi(e,t){if(k){let s=k.provides;const n=k.parent&&k.parent.provides;n===s&&(s=k.provides=Object.create(n)),s[e]=t}}function It(e,t,s=!1){const n=k||be;if(n||Ye){let r=Ye?Ye._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&I(t)?t.call(n&&n.proxy):t}}const kn={},er=()=>Object.create(kn),tr=e=>Object.getPrototypeOf(e)===kn;function Ni(e,t,s,n=!1){const r={},i=er();e.propsDefaults=Object.create(null),sr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:ei(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ui(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,f=H(r),[u]=e.propsOptions;let h=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let S=a[p];if(qt(e.emitsOptions,S))continue;const T=t[S];if(u)if(D(i,S))T!==i[S]&&(i[S]=T,h=!0);else{const F=je(S);r[F]=gs(u,f,F,T,e,!1)}else T!==i[S]&&(i[S]=T,h=!0)}}}else{sr(e,t,r,i)&&(h=!0);let a;for(const p in f)(!t||!D(t,p)&&((a=Be(p))===p||!D(t,a)))&&(u?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=gs(u,f,p,void 0,e,!0)):delete r[p]);if(i!==f)for(const p in i)(!t||!D(t,p))&&(delete i[p],h=!0)}h&&Ee(e.attrs,"set","")}function sr(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,f;if(t)for(let u in t){if(ct(u))continue;const h=t[u];let a;r&&D(r,a=je(u))?!i||!i.includes(a)?s[a]=h:(f||(f={}))[a]=h:qt(e.emitsOptions,u)||(!(u in n)||h!==n[u])&&(n[u]=h,o=!0)}if(i){const u=H(s),h=f||V;for(let a=0;a<i.length;a++){const p=i[a];s[p]=gs(r,u,p,h[p],e,!D(h,p))}}return o}function gs(e,t,s,n,r,i){const o=e[s];if(o!=null){const f=D(o,"default");if(f&&n===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&I(u)){const{propsDefaults:h}=r;if(s in h)n=h[s];else{const a=yt(r);n=h[s]=u.call(null,t),a()}}else n=u;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!f?n=!1:o[1]&&(n===""||n===Be(s))&&(n=!0))}return n}const Li=new WeakMap;function nr(e,t,s=!1){const n=s?Li:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},f=[];let u=!1;if(!I(e)){const a=p=>{u=!0;const[S,T]=nr(p,t,!0);te(o,S),T&&f.push(...T)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!u)return q(e)&&n.set(e,lt),lt;if(A(i))for(let a=0;a<i.length;a++){const p=je(i[a]);ks(p)&&(o[p]=V)}else if(i)for(const a in i){const p=je(a);if(ks(p)){const S=i[a],T=o[p]=A(S)||I(S)?{type:S}:te({},S),F=T.type;let M=!1,Y=!0;if(A(F))for(let N=0;N<F.length;++N){const W=F[N],B=I(W)&&W.name;if(B==="Boolean"){M=!0;break}else B==="String"&&(Y=!1)}else M=I(F)&&F.name==="Boolean";T[0]=M,T[1]=Y,(M||D(T,"default"))&&f.push(p)}}const h=[o,f];return q(e)&&n.set(e,h),h}function ks(e){return e[0]!=="$"&&!ct(e)}const Ds=e=>e[0]==="_"||e==="$stable",js=e=>A(e)?e.map(me):[me(e)],$i=(e,t,s)=>{if(t._n)return t;const n=di((...r)=>js(t(...r)),s);return n._c=!1,n},rr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Ds(r))continue;const i=e[r];if(I(i))t[r]=$i(r,i,n);else if(i!=null){const o=js(i);t[r]=()=>o}}},ir=(e,t)=>{const s=js(t);e.slots.default=()=>s},or=(e,t,s)=>{for(const n in t)(s||!Ds(n))&&(e[n]=t[n])},Vi=(e,t,s)=>{const n=e.slots=er();if(e.vnode.shapeFlag&32){const r=t.__;r&&os(n,"__",r,!0);const i=t._;i?(or(n,t,s),s&&os(n,"_",i,!0)):rr(t,n)}else t&&ir(e,t)},Ki=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=V;if(n.shapeFlag&32){const f=t._;f?s&&f===1?i=!1:or(r,t,s):(i=!t.$stable,rr(t,r)),o=t}else t&&(ir(e,t),o={default:1});if(i)for(const f in r)!Ds(f)&&o[f]==null&&delete r[f]},oe=so;function Wi(e){return Bi(e)}function Bi(e,t){const s=Kt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:f,createComment:u,setText:h,setElementText:a,parentNode:p,nextSibling:S,setScopeId:T=ve,insertStaticContent:F}=e,M=(l,c,d,m=null,g=null,_=null,y=void 0,x=null,v=!!c.dynamicChildren)=>{if(l===c)return;l&&!rt(l,c)&&(m=Ct(l),ae(l,g,_,!0),l=null),c.patchFlag===-2&&(v=!1,c.dynamicChildren=null);const{type:b,ref:C,shapeFlag:w}=c;switch(b){case Gt:Y(l,c,d,m);break;case Xe:N(l,c,d,m);break;case ns:l==null&&W(c,d,m,y);break;case Te:St(l,c,d,m,g,_,y,x,v);break;default:w&1?G(l,c,d,m,g,_,y,x,v):w&6?Tt(l,c,d,m,g,_,y,x,v):(w&64||w&128)&&b.process(l,c,d,m,g,_,y,x,v,tt)}C!=null&&g?ht(C,l&&l.ref,_,c||l,!c):C==null&&l&&l.ref!=null&&ht(l.ref,null,_,l,!0)},Y=(l,c,d,m)=>{if(l==null)n(c.el=f(c.children),d,m);else{const g=c.el=l.el;c.children!==l.children&&h(g,c.children)}},N=(l,c,d,m)=>{l==null?n(c.el=u(c.children||""),d,m):c.el=l.el},W=(l,c,d,m)=>{[l.el,l.anchor]=F(l.children,c,d,m,l.el,l.anchor)},B=({el:l,anchor:c},d,m)=>{let g;for(;l&&l!==c;)g=S(l),n(l,d,m),l=g;n(c,d,m)},P=({el:l,anchor:c})=>{let d;for(;l&&l!==c;)d=S(l),r(l),l=d;r(c)},G=(l,c,d,m,g,_,y,x,v)=>{c.type==="svg"?y="svg":c.type==="math"&&(y="mathml"),l==null?Ae(c,d,m,g,_,y,x,v):wt(l,c,g,_,y,x,v)},Ae=(l,c,d,m,g,_,y,x)=>{let v,b;const{props:C,shapeFlag:w,transition:E,dirs:O}=l;if(v=l.el=o(l.type,_,C&&C.is,C),w&8?a(v,l.children):w&16&&Ie(l.children,v,null,m,g,ts(l,_),y,x),O&&Le(l,null,m,"created"),ue(v,l,l.scopeId,y,m),C){for(const L in C)L!=="value"&&!ct(L)&&i(v,L,null,C[L],_,m);"value"in C&&i(v,"value",null,C.value,_),(b=C.onVnodeBeforeMount)&&ge(b,m,l)}O&&Le(l,null,m,"beforeMount");const R=qi(g,E);R&&E.beforeEnter(v),n(v,c,d),((b=C&&C.onVnodeMounted)||R||O)&&oe(()=>{b&&ge(b,m,l),R&&E.enter(v),O&&Le(l,null,m,"mounted")},g)},ue=(l,c,d,m,g)=>{if(d&&T(l,d),m)for(let _=0;_<m.length;_++)T(l,m[_]);if(g){let _=g.subTree;if(c===_||dr(_.type)&&(_.ssContent===c||_.ssFallback===c)){const y=g.vnode;ue(l,y,y.scopeId,y.slotScopeIds,g.parent)}}},Ie=(l,c,d,m,g,_,y,x,v=0)=>{for(let b=v;b<l.length;b++){const C=l[b]=x?Me(l[b]):me(l[b]);M(null,C,c,d,m,g,_,y,x)}},wt=(l,c,d,m,g,_,y)=>{const x=c.el=l.el;let{patchFlag:v,dynamicChildren:b,dirs:C}=c;v|=l.patchFlag&16;const w=l.props||V,E=c.props||V;let O;if(d&&$e(d,!1),(O=E.onVnodeBeforeUpdate)&&ge(O,d,c,l),C&&Le(c,l,d,"beforeUpdate"),d&&$e(d,!0),(w.innerHTML&&E.innerHTML==null||w.textContent&&E.textContent==null)&&a(x,""),b?He(l.dynamicChildren,b,x,d,m,ts(c,g),_):y||U(l,c,x,null,d,m,ts(c,g),_,!1),v>0){if(v&16)ke(x,w,E,d,g);else if(v&2&&w.class!==E.class&&i(x,"class",null,E.class,g),v&4&&i(x,"style",w.style,E.style,g),v&8){const R=c.dynamicProps;for(let L=0;L<R.length;L++){const j=R[L],se=w[j],ne=E[j];(ne!==se||j==="value")&&i(x,j,se,ne,g,d)}}v&1&&l.children!==c.children&&a(x,c.children)}else!y&&b==null&&ke(x,w,E,d,g);((O=E.onVnodeUpdated)||C)&&oe(()=>{O&&ge(O,d,c,l),C&&Le(c,l,d,"updated")},m)},He=(l,c,d,m,g,_,y)=>{for(let x=0;x<c.length;x++){const v=l[x],b=c[x],C=v.el&&(v.type===Te||!rt(v,b)||v.shapeFlag&198)?p(v.el):d;M(v,b,C,null,m,g,_,y,!0)}},ke=(l,c,d,m,g)=>{if(c!==d){if(c!==V)for(const _ in c)!ct(_)&&!(_ in d)&&i(l,_,c[_],null,g,m);for(const _ in d){if(ct(_))continue;const y=d[_],x=c[_];y!==x&&_!=="value"&&i(l,_,x,y,g,m)}"value"in d&&i(l,"value",c.value,d.value,g)}},St=(l,c,d,m,g,_,y,x,v)=>{const b=c.el=l?l.el:f(""),C=c.anchor=l?l.anchor:f("");let{patchFlag:w,dynamicChildren:E,slotScopeIds:O}=c;O&&(x=x?x.concat(O):O),l==null?(n(b,d,m),n(C,d,m),Ie(c.children||[],d,C,g,_,y,x,v)):w>0&&w&64&&E&&l.dynamicChildren?(He(l.dynamicChildren,E,d,g,_,y,x),(c.key!=null||g&&c===g.subTree)&&lr(l,c,!0)):U(l,c,d,C,g,_,y,x,v)},Tt=(l,c,d,m,g,_,y,x,v)=>{c.slotScopeIds=x,l==null?c.shapeFlag&512?g.ctx.activate(c,d,m,y,v):Jt(c,d,m,g,_,y,v):Ls(l,c,v)},Jt=(l,c,d,m,g,_,y)=>{const x=l.component=uo(l,m,g);if(Jn(l)&&(x.ctx.renderer=tt),ao(x,!1,y),x.asyncDep){if(g&&g.registerDep(x,X,y),!l.el){const v=x.subTree=fe(Xe);N(null,v,c,d)}}else X(x,l,c,d,g,_,y)},Ls=(l,c,d)=>{const m=c.component=l.component;if(eo(l,c,d))if(m.asyncDep&&!m.asyncResolved){K(m,c,d);return}else m.next=c,m.update();else c.el=l.el,m.vnode=c},X=(l,c,d,m,g,_,y)=>{const x=()=>{if(l.isMounted){let{next:w,bu:E,u:O,parent:R,vnode:L}=l;{const he=fr(l);if(he){w&&(w.el=L.el,K(l,w,y)),he.asyncDep.then(()=>{l.isUnmounted||x()});return}}let j=w,se;$e(l,!1),w?(w.el=L.el,K(l,w,y)):w=L,E&&Xt(E),(se=w.props&&w.props.onVnodeBeforeUpdate)&&ge(se,R,w,L),$e(l,!0);const ne=tn(l),de=l.subTree;l.subTree=ne,M(de,ne,p(de.el),Ct(de),l,g,_),w.el=ne.el,j===null&&to(l,ne.el),O&&oe(O,g),(se=w.props&&w.props.onVnodeUpdated)&&oe(()=>ge(se,R,w,L),g)}else{let w;const{el:E,props:O}=c,{bm:R,m:L,parent:j,root:se,type:ne}=l,de=pt(c);$e(l,!1),R&&Xt(R),!de&&(w=O&&O.onVnodeBeforeMount)&&ge(w,j,c),$e(l,!0);{se.ce&&se.ce._def.shadowRoot!==!1&&se.ce._injectChildStyle(ne);const he=l.subTree=tn(l);M(null,he,d,m,l,g,_),c.el=he.el}if(L&&oe(L,g),!de&&(w=O&&O.onVnodeMounted)){const he=c;oe(()=>ge(w,j,he),g)}(c.shapeFlag&256||j&&pt(j.vnode)&&j.vnode.shapeFlag&256)&&l.a&&oe(l.a,g),l.isMounted=!0,c=d=m=null}};l.scope.on();const v=l.effect=new Tn(x);l.scope.off();const b=l.update=v.run.bind(v),C=l.job=v.runIfDirty.bind(v);C.i=l,C.id=l.uid,v.scheduler=()=>Ms(C),$e(l,!0),b()},K=(l,c,d)=>{c.component=l;const m=l.vnode.props;l.vnode=c,l.next=null,Ui(l,c.props,m,d),Ki(l,c.children,d),Ce(),Ys(l),Pe()},U=(l,c,d,m,g,_,y,x,v=!1)=>{const b=l&&l.children,C=l?l.shapeFlag:0,w=c.children,{patchFlag:E,shapeFlag:O}=c;if(E>0){if(E&128){Et(b,w,d,m,g,_,y,x,v);return}else if(E&256){Ne(b,w,d,m,g,_,y,x,v);return}}O&8?(C&16&&et(b,g,_),w!==b&&a(d,w)):C&16?O&16?Et(b,w,d,m,g,_,y,x,v):et(b,g,_,!0):(C&8&&a(d,""),O&16&&Ie(w,d,m,g,_,y,x,v))},Ne=(l,c,d,m,g,_,y,x,v)=>{l=l||lt,c=c||lt;const b=l.length,C=c.length,w=Math.min(b,C);let E;for(E=0;E<w;E++){const O=c[E]=v?Me(c[E]):me(c[E]);M(l[E],O,d,null,g,_,y,x,v)}b>C?et(l,g,_,!0,!1,w):Ie(c,d,m,g,_,y,x,v,w)},Et=(l,c,d,m,g,_,y,x,v)=>{let b=0;const C=c.length;let w=l.length-1,E=C-1;for(;b<=w&&b<=E;){const O=l[b],R=c[b]=v?Me(c[b]):me(c[b]);if(rt(O,R))M(O,R,d,null,g,_,y,x,v);else break;b++}for(;b<=w&&b<=E;){const O=l[w],R=c[E]=v?Me(c[E]):me(c[E]);if(rt(O,R))M(O,R,d,null,g,_,y,x,v);else break;w--,E--}if(b>w){if(b<=E){const O=E+1,R=O<C?c[O].el:m;for(;b<=E;)M(null,c[b]=v?Me(c[b]):me(c[b]),d,R,g,_,y,x,v),b++}}else if(b>E)for(;b<=w;)ae(l[b],g,_,!0),b++;else{const O=b,R=b,L=new Map;for(b=R;b<=E;b++){const ie=c[b]=v?Me(c[b]):me(c[b]);ie.key!=null&&L.set(ie.key,b)}let j,se=0;const ne=E-R+1;let de=!1,he=0;const st=new Array(ne);for(b=0;b<ne;b++)st[b]=0;for(b=O;b<=w;b++){const ie=l[b];if(se>=ne){ae(ie,g,_,!0);continue}let pe;if(ie.key!=null)pe=L.get(ie.key);else for(j=R;j<=E;j++)if(st[j-R]===0&&rt(ie,c[j])){pe=j;break}pe===void 0?ae(ie,g,_,!0):(st[pe-R]=b+1,pe>=he?he=pe:de=!0,M(ie,c[pe],d,null,g,_,y,x,v),se++)}const Ks=de?Gi(st):lt;for(j=Ks.length-1,b=ne-1;b>=0;b--){const ie=R+b,pe=c[ie],Ws=ie+1<C?c[ie+1].el:m;st[b]===0?M(null,pe,d,Ws,g,_,y,x,v):de&&(j<0||b!==Ks[j]?Ue(pe,d,Ws,2):j--)}}},Ue=(l,c,d,m,g=null)=>{const{el:_,type:y,transition:x,children:v,shapeFlag:b}=l;if(b&6){Ue(l.component.subTree,c,d,m);return}if(b&128){l.suspense.move(c,d,m);return}if(b&64){y.move(l,c,d,tt);return}if(y===Te){n(_,c,d);for(let w=0;w<v.length;w++)Ue(v[w],c,d,m);n(l.anchor,c,d);return}if(y===ns){B(l,c,d);return}if(m!==2&&b&1&&x)if(m===0)x.beforeEnter(_),n(_,c,d),oe(()=>x.enter(_),g);else{const{leave:w,delayLeave:E,afterLeave:O}=x,R=()=>{l.ctx.isUnmounted?r(_):n(_,c,d)},L=()=>{w(_,()=>{R(),O&&O()})};E?E(_,R,L):L()}else n(_,c,d)},ae=(l,c,d,m=!1,g=!1)=>{const{type:_,props:y,ref:x,children:v,dynamicChildren:b,shapeFlag:C,patchFlag:w,dirs:E,cacheIndex:O}=l;if(w===-2&&(g=!1),x!=null&&(Ce(),ht(x,null,d,l,!0),Pe()),O!=null&&(c.renderCache[O]=void 0),C&256){c.ctx.deactivate(l);return}const R=C&1&&E,L=!pt(l);let j;if(L&&(j=y&&y.onVnodeBeforeUnmount)&&ge(j,c,l),C&6)br(l.component,d,m);else{if(C&128){l.suspense.unmount(d,m);return}R&&Le(l,null,c,"beforeUnmount"),C&64?l.type.remove(l,c,d,tt,m):b&&!b.hasOnce&&(_!==Te||w>0&&w&64)?et(b,c,d,!1,!0):(_===Te&&w&384||!g&&C&16)&&et(v,c,d),m&&$s(l)}(L&&(j=y&&y.onVnodeUnmounted)||R)&&oe(()=>{j&&ge(j,c,l),R&&Le(l,null,c,"unmounted")},d)},$s=l=>{const{type:c,el:d,anchor:m,transition:g}=l;if(c===Te){mr(d,m);return}if(c===ns){P(l);return}const _=()=>{r(d),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(l.shapeFlag&1&&g&&!g.persisted){const{leave:y,delayLeave:x}=g,v=()=>y(d,_);x?x(l.el,_,v):v()}else _()},mr=(l,c)=>{let d;for(;l!==c;)d=S(l),r(l),l=d;r(c)},br=(l,c,d)=>{const{bum:m,scope:g,job:_,subTree:y,um:x,m:v,a:b,parent:C,slots:{__:w}}=l;en(v),en(b),m&&Xt(m),C&&A(w)&&w.forEach(E=>{C.renderCache[E]=void 0}),g.stop(),_&&(_.flags|=8,ae(y,l,c,d)),x&&oe(x,c),oe(()=>{l.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},et=(l,c,d,m=!1,g=!1,_=0)=>{for(let y=_;y<l.length;y++)ae(l[y],c,d,m,g)},Ct=l=>{if(l.shapeFlag&6)return Ct(l.component.subTree);if(l.shapeFlag&128)return l.suspense.next();const c=S(l.anchor||l.el),d=c&&c[hi];return d?S(d):c};let Yt=!1;const Vs=(l,c,d)=>{l==null?c._vnode&&ae(c._vnode,null,null,!0):M(c._vnode||null,l,c,null,null,null,d),c._vnode=l,Yt||(Yt=!0,Ys(),Wn(),Yt=!1)},tt={p:M,um:ae,m:Ue,r:$s,mt:Jt,mc:Ie,pc:U,pbc:He,n:Ct,o:e};return{render:Vs,hydrate:void 0,createApp:ji(Vs)}}function ts({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function $e({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function qi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lr(e,t,s=!1){const n=e.children,r=t.children;if(A(n)&&A(r))for(let i=0;i<n.length;i++){const o=n[i];let f=r[i];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=r[i]=Me(r[i]),f.el=o.el),!s&&f.patchFlag!==-2&&lr(o,f)),f.type===Gt&&(f.el=o.el),f.type===Xe&&!f.el&&(f.el=o.el)}}function Gi(e){const t=e.slice(),s=[0];let n,r,i,o,f;const u=e.length;for(n=0;n<u;n++){const h=e[n];if(h!==0){if(r=s[s.length-1],e[r]<h){t[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)f=i+o>>1,e[s[f]]<h?i=f+1:o=f;h<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function fr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:fr(t)}function en(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Ji=Symbol.for("v-scx"),Yi=()=>It(Ji);function ss(e,t,s){return cr(e,t,s)}function cr(e,t,s=V){const{immediate:n,deep:r,flush:i,once:o}=s,f=te({},s),u=t&&n||!t&&i!=="post";let h;if(vt){if(i==="sync"){const T=Yi();h=T.__watcherHandles||(T.__watcherHandles=[])}else if(!u){const T=()=>{};return T.stop=ve,T.resume=ve,T.pause=ve,T}}const a=k;f.call=(T,F,M)=>ye(T,a,F,M);let p=!1;i==="post"?f.scheduler=T=>{oe(T,a&&a.suspense)}:i!=="sync"&&(p=!0,f.scheduler=(T,F)=>{F?T():Ms(T)}),f.augmentJob=T=>{t&&(T.flags|=4),p&&(T.flags|=2,a&&(T.id=a.uid,T.i=a))};const S=li(e,t,f);return vt&&(h?h.push(S):u&&S()),S}function zi(e,t,s){const n=this.proxy,r=J(e)?e.includes(".")?ur(n,e):()=>n[e]:e.bind(n,n);let i;I(t)?i=t:(i=t.handler,s=t);const o=yt(this),f=cr(r,i.bind(n),s);return o(),f}function ur(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Xi=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${je(t)}Modifiers`]||e[`${Be(t)}Modifiers`];function Zi(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||V;let r=s;const i=t.startsWith("update:"),o=i&&Xi(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>J(a)?a.trim():a)),o.number&&(r=s.map(Pr)));let f,u=n[f=zt(t)]||n[f=zt(je(t))];!u&&i&&(u=n[f=zt(Be(t))]),u&&ye(u,e,6,r);const h=n[f+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,ye(h,e,6,r)}}function ar(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},f=!1;if(!I(e)){const u=h=>{const a=ar(h,t,!0);a&&(f=!0,te(o,a))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!f?(q(e)&&n.set(e,null),null):(A(i)?i.forEach(u=>o[u]=null):te(o,i),q(e)&&n.set(e,o),o)}function qt(e,t){return!e||!Lt(t)?!1:(t=t.slice(2).replace(/Once$/,""),D(e,t[0].toLowerCase()+t.slice(1))||D(e,Be(t))||D(e,t))}function tn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:f,emit:u,render:h,renderCache:a,props:p,data:S,setupState:T,ctx:F,inheritAttrs:M}=e,Y=jt(e);let N,W;try{if(s.shapeFlag&4){const P=r||n,G=P;N=me(h.call(G,P,a,p,T,S,F)),W=f}else{const P=t;N=me(P.length>1?P(p,{attrs:f,slots:o,emit:u}):P(p,null)),W=t.props?f:Qi(f)}}catch(P){Wt(P,e,1),N=fe(Xe)}let B=N;if(W&&M!==!1){const P=Object.keys(W),{shapeFlag:G}=B;P.length&&G&7&&(i&&P.some(vs)&&(W=ki(W,i)),B=Ze(B,W,!1,!0))}return s.dirs&&(B=Ze(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition&&Fs(B,s.transition),N=B,jt(Y),N}const Qi=e=>{let t;for(const s in e)(s==="class"||s==="style"||Lt(s))&&((t||(t={}))[s]=e[s]);return t},ki=(e,t)=>{const s={};for(const n in e)(!vs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function eo(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:f,patchFlag:u}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?sn(n,o,h):!!o;if(u&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const S=a[p];if(o[S]!==n[S]&&!qt(h,S))return!0}}}else return(r||f)&&(!f||!f.$stable)?!0:n===o?!1:n?o?sn(n,o,h):!0:!!o;return!1}function sn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(t[i]!==e[i]&&!qt(s,i))return!0}return!1}function to({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const dr=e=>e.__isSuspense;function so(e,t){t&&t.pendingBranch?A(e)?t.effects.push(...e):t.effects.push(e):ai(e)}const Te=Symbol.for("v-fgt"),Gt=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),ns=Symbol.for("v-stc");let De=null,Hs=1;function nn(e,t=!1){Hs+=e,e<0&&De&&t&&(De.hasOnce=!0)}function Nt(e){return e?e.__v_isVNode===!0:!1}function rt(e,t){return e.type===t.type&&e.key===t.key}const hr=({key:e})=>e!=null?e:null,Rt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?J(e)||ee(e)||I(e)?{i:be,r:e,k:t,f:!!s}:e:null);function no(e,t=null,s=null,n=0,r=null,i=e===Te?0:1,o=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hr(t),ref:t&&Rt(t),scopeId:qn,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:be};return f?(Ns(u,s),i&128&&e.normalize(u)):s&&(u.shapeFlag|=J(s)?8:16),Hs>0&&!o&&De&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&De.push(u),u}const fe=ro;function ro(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===Pi)&&(e=Xe),Nt(e)){const f=Ze(e,t,!0);return s&&Ns(f,s),Hs>0&&!i&&De&&(f.shapeFlag&6?De[De.indexOf(e)]=f:De.push(f)),f.patchFlag=-2,f}if(_o(e)&&(e=e.__vccOpts),t){t=io(t);let{class:f,style:u}=t;f&&!J(f)&&(t.class=Ss(f)),q(u)&&(Rs(u)&&!A(u)&&(u=te({},u)),t.style=ws(u))}const o=J(e)?1:dr(e)?128:pi(e)?64:q(e)?4:I(e)?2:0;return no(e,t,s,n,r,o,i,!0)}function io(e){return e?Rs(e)||tr(e)?te({},e):e:null}function Ze(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:f,transition:u}=e,h=t?lo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&hr(h),ref:t&&t.ref?s&&i?A(i)?i.concat(Rt(t)):[i,Rt(t)]:Rt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:f,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ze(e.ssContent),ssFallback:e.ssFallback&&Ze(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&Fs(a,u.clone(a)),a}function oo(e=" ",t=0){return fe(Gt,null,e,t)}function me(e){return e==null||typeof e=="boolean"?fe(Xe):A(e)?fe(Te,null,e.slice()):Nt(e)?Me(e):fe(Gt,null,String(e))}function Me(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ze(e)}function Ns(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(A(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Ns(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!tr(t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:be},s=32):(t=String(t),n&64?(s=16,t=[oo(t)]):s=8);e.children=t,e.shapeFlag|=s}function lo(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=Ss([t.class,n.class]));else if(r==="style")t.style=ws([t.style,n.style]);else if(Lt(r)){const i=t[r],o=n[r];o&&i!==o&&!(A(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=n[r])}return t}function ge(e,t,s,n=null){ye(e,t,7,[s,n])}const fo=Qn();let co=0;function uo(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||fo,i={uid:co++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Dr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:nr(n,r),emitsOptions:ar(n,r),emit:null,emitted:null,propsDefaults:V,inheritAttrs:n.inheritAttrs,ctx:V,data:V,props:V,attrs:V,slots:V,refs:V,setupState:V,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=Zi.bind(null,i),e.ce&&e.ce(i),i}let k=null,Ut,_s;{const e=Kt(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Ut=t("__VUE_INSTANCE_SETTERS__",s=>k=s),_s=t("__VUE_SSR_SETTERS__",s=>vt=s)}const yt=e=>{const t=k;return Ut(e),e.scope.on(),()=>{e.scope.off(),Ut(t)}},rn=()=>{k&&k.scope.off(),Ut(null)};function pr(e){return e.vnode.shapeFlag&4}let vt=!1;function ao(e,t=!1,s=!1){t&&_s(t);const{props:n,children:r}=e.vnode,i=pr(e);Ni(e,n,i,t),Vi(e,r,s||t);const o=i?ho(e,t):void 0;return t&&_s(!1),o}function ho(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Oi);const{setup:n}=s;if(n){Ce();const r=e.setupContext=n.length>1?go(e):null,i=yt(e),o=xt(n,e,0,[e.props,r]),f=yn(o);if(Pe(),i(),(f||e.sp)&&!pt(e)&&Gn(e),f){if(o.then(rn,rn),t)return o.then(u=>{on(e,u)}).catch(u=>{Wt(u,e,0)});e.asyncDep=o}else on(e,o)}else gr(e)}function on(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:q(t)&&(e.setupState=$n(t)),gr(e)}function gr(e,t,s){const n=e.type;e.render||(e.render=n.render||ve);{const r=yt(e);Ce();try{Ai(e)}finally{Pe(),r()}}}const po={get(e,t){return z(e,"get",""),e[t]}};function go(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,po),slots:e.slots,emit:e.emit,expose:t}}function Us(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($n(ti(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in gt)return gt[s](e)},has(t,s){return s in t||s in gt}})):e.proxy}function _o(e){return I(e)&&"__vccOpts"in e}const mo=(e,t)=>ii(e,t,vt);function bo(e,t,s){const n=arguments.length;return n===2?q(t)&&!A(t)?Nt(t)?fe(e,null,[t]):fe(e,t):fe(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Nt(s)&&(s=[s]),fe(e,t,s))}const vo="3.5.17";/**
14
- * @vue/runtime-dom v3.5.17
15
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
- * @license MIT
17
- **/let ms;const ln=typeof window<"u"&&window.trustedTypes;if(ln)try{ms=ln.createPolicy("vue",{createHTML:e=>e})}catch{}const _r=ms?e=>ms.createHTML(e):e=>e,xo="http://www.w3.org/2000/svg",yo="http://www.w3.org/1998/Math/MathML",Se=typeof document<"u"?document:null,fn=Se&&Se.createElement("template"),wo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?Se.createElementNS(xo,e):t==="mathml"?Se.createElementNS(yo,e):s?Se.createElement(e,{is:s}):Se.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Se.createTextNode(e),createComment:e=>Se.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Se.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{fn.innerHTML=_r(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const f=fn.content;if(n==="svg"||n==="mathml"){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},So=Symbol("_vtc");function To(e,t,s){const n=e[So];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const cn=Symbol("_vod"),Eo=Symbol("_vsh"),Co=Symbol(""),Po=/(^|;)\s*display\s*:/;function Oo(e,t,s){const n=e.style,r=J(s);let i=!1;if(s&&!r){if(t)if(J(t))for(const o of t.split(";")){const f=o.slice(0,o.indexOf(":")).trim();s[f]==null&&Mt(n,f,"")}else for(const o in t)s[o]==null&&Mt(n,o,"");for(const o in s)o==="display"&&(i=!0),Mt(n,o,s[o])}else if(r){if(t!==s){const o=n[Co];o&&(s+=";"+o),n.cssText=s,i=Po.test(s)}}else t&&e.removeAttribute("style");cn in e&&(e[cn]=i?n.display:"",e[Eo]&&(n.display="none"))}const un=/\s*!important$/;function Mt(e,t,s){if(A(s))s.forEach(n=>Mt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Ao(e,t);un.test(s)?e.setProperty(Be(n),s.replace(un,""),"important"):e[n]=s}}const an=["Webkit","Moz","ms"],rs={};function Ao(e,t){const s=rs[t];if(s)return s;let n=je(t);if(n!=="filter"&&n in e)return rs[t]=n;n=wn(n);for(let r=0;r<an.length;r++){const i=an[r]+n;if(i in e)return rs[t]=i}return t}const dn="http://www.w3.org/1999/xlink";function hn(e,t,s,n,r,i=Fr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(dn,t.slice(6,t.length)):e.setAttributeNS(dn,t,s):s==null||i&&!Sn(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Qe(s)?String(s):s)}function pn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?_r(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const f=i==="OPTION"?e.getAttribute("value")||"":e.value,u=s==null?e.type==="checkbox"?"on":"":String(s);(f!==u||!("_value"in e))&&(e.value=u),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const f=typeof e[t];f==="boolean"?s=Sn(s):s==null&&f==="string"?(s="",o=!0):f==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function Io(e,t,s,n){e.addEventListener(t,s,n)}function Ro(e,t,s,n){e.removeEventListener(t,s,n)}const gn=Symbol("_vei");function Mo(e,t,s,n,r=null){const i=e[gn]||(e[gn]={}),o=i[t];if(n&&o)o.value=n;else{const[f,u]=Fo(t);if(n){const h=i[t]=Ho(n,r);Io(e,f,h,u)}else o&&(Ro(e,f,o,u),i[t]=void 0)}}const _n=/(?:Once|Passive|Capture)$/;function Fo(e){let t;if(_n.test(e)){t={};let n;for(;n=e.match(_n);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Be(e.slice(2)),t]}let is=0;const Do=Promise.resolve(),jo=()=>is||(Do.then(()=>is=0),is=Date.now());function Ho(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ye(No(n,s.value),t,5,[n])};return s.value=e,s.attached=jo(),s}function No(e,t){if(A(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Uo=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?To(e,n,o):t==="style"?Oo(e,s,n):Lt(t)?vs(t)||Mo(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Lo(e,t,n,o))?(pn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hn(e,t,n,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!J(n))?pn(e,je(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),hn(e,t,n,o))};function Lo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&mn(t)&&I(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return mn(t)&&J(s)?!1:t in e}const $o=te({patchProp:Uo},wo);let bn;function Vo(){return bn||(bn=Wi($o))}const vn=(...e)=>{Vo().render(...e)};var Ko=Object.defineProperty,Wo=Object.getOwnPropertyDescriptor,Bo=(e,t,s)=>t in e?Ko(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s,qo=(e,t,s,n)=>{for(var r=n>1?void 0:n?Wo(t,s):t,i=e.length-1,o;i>=0;i--)(o=e[i])&&(r=o(r)||r);return r},xn=(e,t)=>(s,n)=>t(s,n,e),Go=(e,t,s)=>Bo(e,t+"",s);exports.UniverVue3AdapterPlugin=class extends it.Plugin{constructor(t={},s,n){super(),this._config=t,this._injector=s,this._componentManager=n}onStarting(){const{createElement:t,useEffect:s,useRef:n}=this._componentManager.reactUtils;this._componentManager.setHandler("vue3",r=>i=>t(Jo,{component:r,props:Object.keys(i).reduce((o,f)=>(f!=="key"&&(o[f]=i[f]),o),{}),reactUtils:{createElement:t,useEffect:s,useRef:n}}))}};Go(exports.UniverVue3AdapterPlugin,"pluginName","UNIVER_UI_ADAPTER_VUE3_PLUGIN");exports.UniverVue3AdapterPlugin=qo([it.DependentOn(Bs.UniverUIPlugin),xn(1,it.Inject(it.Injector)),xn(2,it.Inject(Bs.ComponentManager))],exports.UniverVue3AdapterPlugin);function Jo(e){const{component:t,props:s,reactUtils:n}=e,{createElement:r,useEffect:i,useRef:o}=n,f=o(null);return i(()=>{if(!f.current)return;const u=bo(t,s);return vn(u,f.current),()=>{f.current&&vn(null,f.current)}},[s]),r("div",{ref:f})}
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("@univerjs/core"),l=require("@univerjs/ui"),s=require("vue");var d=Object.defineProperty,f=Object.getOwnPropertyDescriptor,g=(n,e,r)=>e in n?d(n,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):n[e]=r,v=(n,e,r,t)=>{for(var i=t>1?void 0:t?f(e,r):e,c=n.length-1,o;c>=0;c--)(o=n[c])&&(i=o(i)||i);return i},p=(n,e)=>(r,t)=>e(r,t,n),P=(n,e,r)=>g(n,e+"",r);exports.UniverVue3AdapterPlugin=class extends a.Plugin{constructor(e={},r,t){super(),this._config=e,this._injector=r,this._componentManager=t}onStarting(){const{createElement:e,useEffect:r,useRef:t}=this._componentManager.reactUtils;this._componentManager.setHandler("vue3",i=>c=>e(m,{component:i,props:Object.keys(c).reduce((o,u)=>(u!=="key"&&(o[u]=c[u]),o),{}),reactUtils:{createElement:e,useEffect:r,useRef:t}}))}};P(exports.UniverVue3AdapterPlugin,"pluginName","UNIVER_UI_ADAPTER_VUE3_PLUGIN");exports.UniverVue3AdapterPlugin=v([a.DependentOn(l.UniverUIPlugin),p(1,a.Inject(a.Injector)),p(2,a.Inject(l.ComponentManager))],exports.UniverVue3AdapterPlugin);function m(n){const{component:e,props:r,reactUtils:t}=n,{createElement:i,useEffect:c,useRef:o}=t,u=o(null);return c(()=>{if(!u.current)return;const _=s.h(e,r);return s.render(_,u.current),()=>{u.current&&s.render(null,u.current)}},[r]),i("div",{ref:u})}