easyuseexcel 1.0.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 evildoerNo1
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # EasyUseExcel - 基于Vue 3的Excel处理工具
2
+
3
+ 这是一个基于Vue 3和TypeScript开发的Excel处理前端应用,使用Vite构建。
4
+
5
+ ## 功能特性
6
+ - 读取和显示Excel文件内容
7
+ - 支持.xlsx格式文件
8
+ - 使用xlsx.js库处理Excel文件
9
+
10
+ ## 安装与使用
11
+ 1. 克隆项目
12
+ ```bash
13
+ git clone https://github.com/yourusername/easyUseExcel.git
14
+ ```
15
+ 2. 安装依赖
16
+ ```bash
17
+ cd easyUseExcel
18
+ npm install
19
+ ```
20
+ 3. 启动开发服务器
21
+ ```bash
22
+ npm run dev
23
+ ```
24
+ 4. 构建生产版本
25
+ ```bash
26
+ npm run build
27
+ ```
28
+
29
+ ## 技术栈
30
+ - Vue 3
31
+ - TypeScript
32
+ - Vite
33
+ - xlsx.js
34
+
35
+ ## 项目结构
36
+ ```
37
+ ├── public/ # 静态资源
38
+ ├── src/ # 源代码
39
+ │ ├── assets/ # 资源文件
40
+ │ ├── components/ # Vue组件
41
+ │ ├── App.vue # 主组件
42
+ │ └── main.ts # 入口文件
43
+ ├── package.json # 项目配置
44
+ └── vite.config.ts # Vite配置
45
+ ```
46
+
47
+ ## 许可证
48
+ MIT
@@ -0,0 +1 @@
1
+ :root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.excel-table[data-v-295236bd]{overflow:auto}table[data-v-295236bd]{border-collapse:collapse;width:100%}th[data-v-295236bd],td[data-v-295236bd]{border:1px solid #ddd;padding:8px;text-align:left}th[data-v-295236bd]{background-color:#f2f2f2}.cell-text-left[data-v-295236bd]{text-align:left}.cell-text-center[data-v-295236bd]{text-align:center}.cell-text-right[data-v-295236bd]{text-align:right}.cell-bold[data-v-295236bd]{font-weight:700}.cell-italic[data-v-295236bd]{font-style:italic}.cell-underline[data-v-295236bd]{text-decoration:underline}.logo[data-v-53d3c6a9]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-53d3c6a9]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-53d3c6a9]:hover{filter:drop-shadow(0 0 2em #42b883aa)}
@@ -0,0 +1,20 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/**
2
+ * @vue/shared v3.5.13
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **//*! #__NO_SIDE_EFFECTS__ */function makeMap(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const EMPTY_OBJ={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),isModelListener=e=>e.startsWith("onUpdate:"),extend=Object.assign,remove=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},hasOwnProperty$1=Object.prototype.hasOwnProperty,hasOwn=(e,t)=>hasOwnProperty$1.call(e,t),isArray=Array.isArray,isMap=e=>toTypeString(e)==="[object Map]",isSet=e=>toTypeString(e)==="[object Set]",isFunction=e=>typeof e=="function",isString=e=>typeof e=="string",isSymbol=e=>typeof e=="symbol",isObject=e=>e!==null&&typeof e=="object",isPromise=e=>(isObject(e)||isFunction(e))&&isFunction(e.then)&&isFunction(e.catch),objectToString=Object.prototype.toString,toTypeString=e=>objectToString.call(e),toRawType=e=>toTypeString(e).slice(8,-1),isPlainObject=e=>toTypeString(e)==="[object Object]",isIntegerKey=e=>isString(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},camelizeRE=/-(\w)/g,camelize=cacheStringFunction(e=>e.replace(camelizeRE,(t,n)=>n?n.toUpperCase():"")),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(e=>e.replace(hyphenateRE,"-$1").toLowerCase()),capitalize=cacheStringFunction(e=>e.charAt(0).toUpperCase()+e.slice(1)),toHandlerKey=cacheStringFunction(e=>e?`on${capitalize(e)}`:""),hasChanged=(e,t)=>!Object.is(e,t),invokeArrayFns=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},def=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},looseToNumber=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle(e){if(isArray(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=isString(r)?parseStringStyle(r):normalizeStyle(r);if(s)for(const i in s)t[i]=s[i]}return t}else if(isString(e)||isObject(e))return e}const listDelimiterRE=/;(?![^(]*\))/g,propertyDelimiterRE=/:([^]+)/,styleCommentRE=/\/\*[^]*?\*\//g;function parseStringStyle(e){const t={};return e.replace(styleCommentRE,"").split(listDelimiterRE).forEach(n=>{if(n){const r=n.split(propertyDelimiterRE);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function normalizeClass(e){let t="";if(isString(e))t=e;else if(isArray(e))for(let n=0;n<e.length;n++){const r=normalizeClass(e[n]);r&&(t+=r+" ")}else if(isObject(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const specialBooleanAttrs="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",isSpecialBooleanAttr=makeMap(specialBooleanAttrs);function includeBooleanAttr(e){return!!e||e===""}const isRef$1=e=>!!(e&&e.__v_isRef===!0),toDisplayString=e=>isString(e)?e:e==null?"":isArray(e)||isObject(e)&&(e.toString===objectToString||!isFunction(e.toString))?isRef$1(e)?toDisplayString(e.value):JSON.stringify(e,replacer,2):String(e),replacer=(e,t)=>isRef$1(t)?replacer(e,t.value):isMap(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[stringifySymbol(r,i)+" =>"]=s,n),{})}:isSet(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>stringifySymbol(n))}:isSymbol(t)?stringifySymbol(t):isObject(t)&&!isArray(t)&&!isPlainObject(t)?String(t):t,stringifySymbol=(e,t="")=>{var n;return isSymbol(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.5.13
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=activeEffectScope;try{return activeEffectScope=this,t()}finally{activeEffectScope=n}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function getCurrentScope(){return activeEffectScope}let activeSub;const pausedQueueEffects=new WeakSet;class ReactiveEffect{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,activeEffectScope&&activeEffectScope.active&&activeEffectScope.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,pausedQueueEffects.has(this)&&(pausedQueueEffects.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||batch(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cleanupEffect(this),prepareDeps(this);const t=activeSub,n=shouldTrack;activeSub=this,shouldTrack=!0;try{return this.fn()}finally{cleanupDeps(this),activeSub=t,shouldTrack=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)removeSub(t);this.deps=this.depsTail=void 0,cleanupEffect(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?pausedQueueEffects.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){isDirty(this)&&this.run()}get dirty(){return isDirty(this)}}let batchDepth=0,batchedSub,batchedComputed;function batch(e,t=!1){if(e.flags|=8,t){e.next=batchedComputed,batchedComputed=e;return}e.next=batchedSub,batchedSub=e}function startBatch(){batchDepth++}function endBatch(){if(--batchDepth>0)return;if(batchedComputed){let t=batchedComputed;for(batchedComputed=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;batchedSub;){let t=batchedSub;for(batchedSub=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function prepareDeps(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),removeSub(r),removeDep(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function isDirty(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function refreshComputed(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===globalVersion))return;e.globalVersion=globalVersion;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!isDirty(e)){e.flags&=-3;return}const n=activeSub,r=shouldTrack;activeSub=e,shouldTrack=!0;try{prepareDeps(e);const s=e.fn(e._value);(t.version===0||hasChanged(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{activeSub=n,shouldTrack=r,cleanupDeps(e),e.flags&=-3}}function removeSub(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)removeSub(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function removeDep(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const e=trackStack.pop();shouldTrack=e===void 0?!0:e}function cleanupEffect(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=activeSub;activeSub=void 0;try{t()}finally{activeSub=n}}}let globalVersion=0;class Link{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Dep{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}track(t){if(!activeSub||!shouldTrack||activeSub===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==activeSub)n=this.activeLink=new Link(activeSub,this),activeSub.deps?(n.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=n,activeSub.depsTail=n):activeSub.deps=activeSub.depsTail=n,addSub(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=activeSub.depsTail,n.nextDep=void 0,activeSub.depsTail.nextDep=n,activeSub.depsTail=n,activeSub.deps===n&&(activeSub.deps=r)}return n}trigger(t){this.version++,globalVersion++,this.notify(t)}notify(t){startBatch();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{endBatch()}}}function addSub(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)addSub(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(e,t,n){if(shouldTrack&&activeSub){let r=targetMap.get(e);r||targetMap.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new Dep),s.map=r,s.key=n),s.track()}}function trigger(e,t,n,r,s,i){const o=targetMap.get(e);if(!o){globalVersion++;return}const l=a=>{a&&a.trigger()};if(startBatch(),t==="clear")o.forEach(l);else{const a=isArray(e),d=a&&isIntegerKey(n);if(a&&n==="length"){const f=Number(r);o.forEach((g,A)=>{(A==="length"||A===ARRAY_ITERATE_KEY||!isSymbol(A)&&A>=f)&&l(g)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),d&&l(o.get(ARRAY_ITERATE_KEY)),t){case"add":a?d&&l(o.get("length")):(l(o.get(ITERATE_KEY)),isMap(e)&&l(o.get(MAP_KEY_ITERATE_KEY)));break;case"delete":a||(l(o.get(ITERATE_KEY)),isMap(e)&&l(o.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap(e)&&l(o.get(ITERATE_KEY));break}}endBatch()}function reactiveReadArray(e){const t=toRaw(e);return t===e?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(e)?t:t.map(toReactive))}function shallowReadArray(e){return track(e=toRaw(e),"iterate",ARRAY_ITERATE_KEY),e}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator(this,Symbol.iterator,toReactive)},concat(...e){return reactiveReadArray(this).concat(...e.map(t=>isArray(t)?reactiveReadArray(t):t))},entries(){return iterator(this,"entries",e=>(e[1]=toReactive(e[1]),e))},every(e,t){return apply(this,"every",e,t,void 0,arguments)},filter(e,t){return apply(this,"filter",e,t,n=>n.map(toReactive),arguments)},find(e,t){return apply(this,"find",e,t,toReactive,arguments)},findIndex(e,t){return apply(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return apply(this,"findLast",e,t,toReactive,arguments)},findLastIndex(e,t){return apply(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return apply(this,"forEach",e,t,void 0,arguments)},includes(...e){return searchProxy(this,"includes",e)},indexOf(...e){return searchProxy(this,"indexOf",e)},join(e){return reactiveReadArray(this).join(e)},lastIndexOf(...e){return searchProxy(this,"lastIndexOf",e)},map(e,t){return apply(this,"map",e,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...e){return noTracking(this,"push",e)},reduce(e,...t){return reduce(this,"reduce",e,t)},reduceRight(e,...t){return reduce(this,"reduceRight",e,t)},shift(){return noTracking(this,"shift")},some(e,t){return apply(this,"some",e,t,void 0,arguments)},splice(...e){return noTracking(this,"splice",e)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(e){return reactiveReadArray(this).toSorted(e)},toSpliced(...e){return reactiveReadArray(this).toSpliced(...e)},unshift(...e){return noTracking(this,"unshift",e)},values(){return iterator(this,"values",toReactive)}};function iterator(e,t,n){const r=shallowReadArray(e),s=r[t]();return r!==e&&!isShallow(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.value&&(i.value=n(i.value)),i}),s}const arrayProto=Array.prototype;function apply(e,t,n,r,s,i){const o=shallowReadArray(e),l=o!==e&&!isShallow(e),a=o[t];if(a!==arrayProto[t]){const g=a.apply(e,i);return l?toReactive(g):g}let d=n;o!==e&&(l?d=function(g,A){return n.call(this,toReactive(g),A,e)}:n.length>2&&(d=function(g,A){return n.call(this,g,A,e)}));const f=a.call(o,d,r);return l&&s?s(f):f}function reduce(e,t,n,r){const s=shallowReadArray(e);let i=n;return s!==e&&(isShallow(e)?n.length>3&&(i=function(o,l,a){return n.call(this,o,l,a,e)}):i=function(o,l,a){return n.call(this,o,toReactive(l),a,e)}),s[t](i,...r)}function searchProxy(e,t,n){const r=toRaw(e);track(r,"iterate",ARRAY_ITERATE_KEY);const s=r[t](...n);return(s===-1||s===!1)&&isProxy(n[0])?(n[0]=toRaw(n[0]),r[t](...n)):s}function noTracking(e,t,n=[]){pauseTracking(),startBatch();const r=toRaw(e)[t].apply(e,n);return endBatch(),resetTracking(),r}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(isSymbol));function hasOwnProperty(e){isSymbol(e)||(e=String(e));const t=toRaw(this);return track(t,"has",e),t.hasOwnProperty(e)}class BaseReactiveHandler{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?shallowReadonlyMap:readonlyMap:i?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=isArray(t);if(!s){let a;if(o&&(a=arrayInstrumentations[n]))return a;if(n==="hasOwnProperty")return hasOwnProperty}const l=Reflect.get(t,n,isRef(t)?t:r);return(isSymbol(n)?builtInSymbols.has(n):isNonTrackableKeys(n))||(s||track(t,"get",n),i)?l:isRef(l)?o&&isIntegerKey(n)?l:l.value:isObject(l)?s?readonly(l):reactive(l):l}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const a=isReadonly(i);if(!isShallow(r)&&!isReadonly(r)&&(i=toRaw(i),r=toRaw(r)),!isArray(t)&&isRef(i)&&!isRef(r))return a?!1:(i.value=r,!0)}const o=isArray(t)&&isIntegerKey(n)?Number(n)<t.length:hasOwn(t,n),l=Reflect.set(t,n,r,isRef(t)?t:s);return t===toRaw(s)&&(o?hasChanged(r,i)&&trigger(t,"set",n,r):trigger(t,"add",n,r)),l}deleteProperty(t,n){const r=hasOwn(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&trigger(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!isSymbol(n)||!builtInSymbols.has(n))&&track(t,"has",n),r}ownKeys(t){return track(t,"iterate",isArray(t)?"length":ITERATE_KEY),Reflect.ownKeys(t)}}class ReadonlyReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const mutableHandlers=new MutableReactiveHandler,readonlyHandlers=new ReadonlyReactiveHandler,shallowReactiveHandlers=new MutableReactiveHandler(!0),shallowReadonlyHandlers=new ReadonlyReactiveHandler(!0),toShallow=e=>e,getProto=e=>Reflect.getPrototypeOf(e);function createIterableMethod(e,t,n){return function(...r){const s=this.__v_raw,i=toRaw(s),o=isMap(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,d=s[e](...r),f=n?toShallow:t?toReadonly:toReactive;return!t&&track(i,"iterate",a?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:g,done:A}=d.next();return A?{value:g,done:A}:{value:l?[f(g[0]),f(g[1])]:f(g),done:A}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function createInstrumentations(e,t){const n={get(s){const i=this.__v_raw,o=toRaw(i),l=toRaw(s);e||(hasChanged(s,l)&&track(o,"get",s),track(o,"get",l));const{has:a}=getProto(o),d=t?toShallow:e?toReadonly:toReactive;if(a.call(o,s))return d(i.get(s));if(a.call(o,l))return d(i.get(l));i!==o&&i.get(s)},get size(){const s=this.__v_raw;return!e&&track(toRaw(s),"iterate",ITERATE_KEY),Reflect.get(s,"size",s)},has(s){const i=this.__v_raw,o=toRaw(i),l=toRaw(s);return e||(hasChanged(s,l)&&track(o,"has",s),track(o,"has",l)),s===l?i.has(s):i.has(s)||i.has(l)},forEach(s,i){const o=this,l=o.__v_raw,a=toRaw(l),d=t?toShallow:e?toReadonly:toReactive;return!e&&track(a,"iterate",ITERATE_KEY),l.forEach((f,g)=>s.call(i,d(f),d(g),o))}};return extend(n,e?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(s){!t&&!isShallow(s)&&!isReadonly(s)&&(s=toRaw(s));const i=toRaw(this);return getProto(i).has.call(i,s)||(i.add(s),trigger(i,"add",s,s)),this},set(s,i){!t&&!isShallow(i)&&!isReadonly(i)&&(i=toRaw(i));const o=toRaw(this),{has:l,get:a}=getProto(o);let d=l.call(o,s);d||(s=toRaw(s),d=l.call(o,s));const f=a.call(o,s);return o.set(s,i),d?hasChanged(i,f)&&trigger(o,"set",s,i):trigger(o,"add",s,i),this},delete(s){const i=toRaw(this),{has:o,get:l}=getProto(i);let a=o.call(i,s);a||(s=toRaw(s),a=o.call(i,s)),l&&l.call(i,s);const d=i.delete(s);return a&&trigger(i,"delete",s,void 0),d},clear(){const s=toRaw(this),i=s.size!==0,o=s.clear();return i&&trigger(s,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=createIterableMethod(s,e,t)}),n}function createInstrumentationGetter(e,t){const n=createInstrumentations(e,t);return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(hasOwn(n,s)&&s in r?n:r,s,i)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(e){return e.__v_skip||!Object.isExtensible(e)?0:targetTypeMap(toRawType(e))}function reactive(e){return isReadonly(e)?e:createReactiveObject(e,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(e){return createReactiveObject(e,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(e){return createReactiveObject(e,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(e){return createReactiveObject(e,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(e,t,n,r,s){if(!isObject(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=getTargetType(e);if(o===0)return e;const l=new Proxy(e,o===2?r:n);return s.set(e,l),l}function isReactive(e){return isReadonly(e)?isReactive(e.__v_raw):!!(e&&e.__v_isReactive)}function isReadonly(e){return!!(e&&e.__v_isReadonly)}function isShallow(e){return!!(e&&e.__v_isShallow)}function isProxy(e){return e?!!e.__v_raw:!1}function toRaw(e){const t=e&&e.__v_raw;return t?toRaw(t):e}function markRaw(e){return!hasOwn(e,"__v_skip")&&Object.isExtensible(e)&&def(e,"__v_skip",!0),e}const toReactive=e=>isObject(e)?reactive(e):e,toReadonly=e=>isObject(e)?readonly(e):e;function isRef(e){return e?e.__v_isRef===!0:!1}function unref(e){return isRef(e)?e.value:e}const shallowUnwrapHandlers={get:(e,t,n)=>t==="__v_raw"?e:unref(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return isRef(s)&&!isRef(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function proxyRefs(e){return isReactive(e)?e:new Proxy(e,shallowUnwrapHandlers)}class ComputedRefImpl{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const t=this.dep.track();return refreshComputed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function computed$1(e,t,n=!1){let r,s;return isFunction(e)?r=e:(r=e.get,s=e.set),new ComputedRefImpl(r,s,n)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(e,t=!1,n=activeWatcher){if(n){let r=cleanupMap.get(n);r||cleanupMap.set(n,r=[]),r.push(e)}}function watch$1(e,t,n=EMPTY_OBJ){const{immediate:r,deep:s,once:i,scheduler:o,augmentJob:l,call:a}=n,d=P=>s?P:isShallow(P)||s===!1||s===0?traverse(P,1):traverse(P);let f,g,A,T,F=!1,I=!1;if(isRef(e)?(g=()=>e.value,F=isShallow(e)):isReactive(e)?(g=()=>d(e),F=!0):isArray(e)?(I=!0,F=e.some(P=>isReactive(P)||isShallow(P)),g=()=>e.map(P=>{if(isRef(P))return P.value;if(isReactive(P))return d(P);if(isFunction(P))return a?a(P,2):P()})):isFunction(e)?t?g=a?()=>a(e,2):e:g=()=>{if(A){pauseTracking();try{A()}finally{resetTracking()}}const P=activeWatcher;activeWatcher=f;try{return a?a(e,3,[T]):e(T)}finally{activeWatcher=P}}:g=NOOP,t&&s){const P=g,D=s===!0?1/0:s;g=()=>traverse(P(),D)}const L=getCurrentScope(),k=()=>{f.stop(),L&&L.active&&remove(L.effects,f)};if(i&&t){const P=t;t=(...D)=>{P(...D),k()}}let j=I?new Array(e.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const V=P=>{if(!(!(f.flags&1)||!f.dirty&&!P))if(t){const D=f.run();if(s||F||(I?D.some((Q,z)=>hasChanged(Q,j[z])):hasChanged(D,j))){A&&A();const Q=activeWatcher;activeWatcher=f;try{const z=[D,j===INITIAL_WATCHER_VALUE?void 0:I&&j[0]===INITIAL_WATCHER_VALUE?[]:j,T];a?a(t,3,z):t(...z),j=D}finally{activeWatcher=Q}}}else f.run()};return l&&l(V),f=new ReactiveEffect(g),f.scheduler=o?()=>o(V,!1):V,T=P=>onWatcherCleanup(P,!1,f),A=f.onStop=()=>{const P=cleanupMap.get(f);if(P){if(a)a(P,4);else for(const D of P)D();cleanupMap.delete(f)}},t?r?V(!0):j=f.run():o?o(V.bind(null,!0),!0):f.run(),k.pause=f.pause.bind(f),k.resume=f.resume.bind(f),k.stop=k,k}function traverse(e,t=1/0,n){if(t<=0||!isObject(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,isRef(e))traverse(e.value,t,n);else if(isArray(e))for(let r=0;r<e.length;r++)traverse(e[r],t,n);else if(isSet(e)||isMap(e))e.forEach(r=>{traverse(r,t,n)});else if(isPlainObject(e)){for(const r in e)traverse(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&traverse(e[r],t,n)}return e}/**
10
+ * @vue/runtime-core v3.5.13
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/const stack=[];let isWarning=!1;function warn$1(e,...t){if(isWarning)return;isWarning=!0,pauseTracking();const n=stack.length?stack[stack.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=getComponentTrace();if(r)callWithErrorHandling(r,n,11,[e+t.map(i=>{var o,l;return(l=(o=i.toString)==null?void 0:o.call(i))!=null?l:JSON.stringify(i)}).join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${formatComponentName(n,i.type)}>`).join(`
14
+ `),s]);else{const i=[`[Vue warn]: ${e}`,...t];s.length&&i.push(`
15
+ `,...formatTrace(s)),console.warn(...i)}resetTracking(),isWarning=!1}function getComponentTrace(){let e=stack[stack.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function formatTrace(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
16
+ `],...formatTraceEntry(n))}),t}function formatTraceEntry({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${formatComponentName(e.component,e.type,r)}`,i=">"+n;return e.props?[s,...formatProps(e.props),i]:[s+i]}function formatProps(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...formatProp(r,e[r]))}),n.length>3&&t.push(" ..."),t}function formatProp(e,t,n){return isString(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:isRef(t)?(t=formatProp(e,toRaw(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):isFunction(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),n?t:[`${e}=`,t])}function callWithErrorHandling(e,t,n,r){try{return r?e(...r):e()}catch(s){handleError(s,t,n)}}function callWithAsyncErrorHandling(e,t,n,r){if(isFunction(e)){const s=callWithErrorHandling(e,t,n,r);return s&&isPromise(s)&&s.catch(i=>{handleError(i,t,n)}),s}if(isArray(e)){const s=[];for(let i=0;i<e.length;i++)s.push(callWithAsyncErrorHandling(e[i],t,n,r));return s}}function handleError(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||EMPTY_OBJ;if(t){let l=t.parent;const a=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let g=0;g<f.length;g++)if(f[g](e,a,d)===!1)return}l=l.parent}if(i){pauseTracking(),callWithErrorHandling(i,null,10,[e,a,d]),resetTracking();return}}logError(e,n,s,r,o)}function logError(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const queue=[];let flushIndex=-1;const pendingPostFlushCbs=[];let activePostFlushCbs=null,postFlushIndex=0;const resolvedPromise=Promise.resolve();let currentFlushPromise=null;function nextTick(e){const t=currentFlushPromise||resolvedPromise;return e?t.then(this?e.bind(this):e):t}function findInsertionIndex(e){let t=flushIndex+1,n=queue.length;for(;t<n;){const r=t+n>>>1,s=queue[r],i=getId(s);i<e||i===e&&s.flags&2?t=r+1:n=r}return t}function queueJob(e){if(!(e.flags&1)){const t=getId(e),n=queue[queue.length-1];!n||!(e.flags&2)&&t>=getId(n)?queue.push(e):queue.splice(findInsertionIndex(t),0,e),e.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(e){isArray(e)?pendingPostFlushCbs.push(...e):activePostFlushCbs&&e.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,e):e.flags&1||(pendingPostFlushCbs.push(e),e.flags|=1),queueFlush()}function flushPreFlushCbs(e,t,n=flushIndex+1){for(;n<queue.length;n++){const r=queue[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;queue.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function flushPostFlushCbs(e){if(pendingPostFlushCbs.length){const t=[...new Set(pendingPostFlushCbs)].sort((n,r)=>getId(n)-getId(r));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndex<activePostFlushCbs.length;postFlushIndex++){const n=activePostFlushCbs[postFlushIndex];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}activePostFlushCbs=null,postFlushIndex=0}}const getId=e=>e.id==null?e.flags&2?-1:1/0:e.id;function flushJobs(e){try{for(flushIndex=0;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),callWithErrorHandling(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;flushIndex<queue.length;flushIndex++){const t=queue[flushIndex];t&&(t.flags&=-2)}flushIndex=-1,queue.length=0,flushPostFlushCbs(),currentFlushPromise=null,(queue.length||pendingPostFlushCbs.length)&&flushJobs()}}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(e){const t=currentRenderingInstance;return currentRenderingInstance=e,currentScopeId=e&&e.type.__scopeId||null,t}function withCtx(e,t=currentRenderingInstance,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&setBlockTracking(-1);const i=setCurrentRenderingInstance(t);let o;try{o=e(...s)}finally{setCurrentRenderingInstance(i),r._d&&setBlockTracking(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function invokeDirectiveHook(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o<s.length;o++){const l=s[o];i&&(l.oldValue=i[o].value);let a=l.dir[r];a&&(pauseTracking(),callWithAsyncErrorHandling(a,n,8,[e.el,l,e,t]),resetTracking())}}const TeleportEndKey=Symbol("_vte"),isTeleport=e=>e.__isTeleport;function setTransitionHooks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,setTransitionHooks(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function defineComponent(e,t){return isFunction(e)?extend({name:e.name},t,{setup:e}):e}function markAsyncBoundary(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function setRef(e,t,n,r,s=!1){if(isArray(e)){e.forEach((F,I)=>setRef(F,t&&(isArray(t)?t[I]:t),n,r,s));return}if(isAsyncWrapper(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&setRef(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?getComponentPublicInstance(r.component):r.el,o=s?null:i,{i:l,r:a}=e,d=t&&t.r,f=l.refs===EMPTY_OBJ?l.refs={}:l.refs,g=l.setupState,A=toRaw(g),T=g===EMPTY_OBJ?()=>!1:F=>hasOwn(A,F);if(d!=null&&d!==a&&(isString(d)?(f[d]=null,T(d)&&(g[d]=null)):isRef(d)&&(d.value=null)),isFunction(a))callWithErrorHandling(a,l,12,[o,f]);else{const F=isString(a),I=isRef(a);if(F||I){const L=()=>{if(e.f){const k=F?T(a)?g[a]:f[a]:a.value;s?isArray(k)&&remove(k,i):isArray(k)?k.includes(i)||k.push(i):F?(f[a]=[i],T(a)&&(g[a]=f[a])):(a.value=[i],e.k&&(f[e.k]=a.value))}else F?(f[a]=o,T(a)&&(g[a]=o)):I&&(a.value=o,e.k&&(f[e.k]=o))};o?(L.id=-1,queuePostRenderEffect(L,n)):L()}}}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;const isAsyncWrapper=e=>!!e.type.__asyncLoader,isKeepAlive=e=>e.type.__isKeepAlive;function onActivated(e,t){registerKeepAliveHook(e,"a",t)}function onDeactivated(e,t){registerKeepAliveHook(e,"da",t)}function registerKeepAliveHook(e,t,n=currentInstance){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(injectHook(t,r,n),n){let s=n.parent;for(;s&&s.parent;)isKeepAlive(s.parent.vnode)&&injectToKeepAliveRoot(r,t,n,s),s=s.parent}}function injectToKeepAliveRoot(e,t,n,r){const s=injectHook(t,e,r,!0);onUnmounted(()=>{remove(r[t],s)},n)}function injectHook(e,t,n=currentInstance,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{pauseTracking();const l=setCurrentInstance(n),a=callWithAsyncErrorHandling(t,n,e,o);return l(),resetTracking(),a});return r?s.unshift(i):s.push(i),i}}const createHook=e=>(t,n=currentInstance)=>{(!isInSSRComponentSetup||e==="sp")&&injectHook(e,(...r)=>t(...r),n)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(e,t=currentInstance){injectHook("ec",e,t)}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function renderList(e,t,n,r){let s;const i=n,o=isArray(e);if(o||isString(e)){const l=o&&isReactive(e);let a=!1;l&&(a=!isShallow(e),e=shallowReadArray(e)),s=new Array(e.length);for(let d=0,f=e.length;d<f;d++)s[d]=t(a?toReactive(e[d]):e[d],d,void 0,i)}else if(typeof e=="number"){s=new Array(e);for(let l=0;l<e;l++)s[l]=t(l+1,l,void 0,i)}else if(isObject(e))if(e[Symbol.iterator])s=Array.from(e,(l,a)=>t(l,a,void 0,i));else{const l=Object.keys(e);s=new Array(l.length);for(let a=0,d=l.length;a<d;a++){const f=l[a];s[a]=t(e[f],f,a,i)}}else s=[];return s}const getPublicInstance=e=>e?isStatefulComponent(e)?getComponentPublicInstance(e):getPublicInstance(e.parent):null,publicPropertiesMap=extend(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=>getPublicInstance(e.parent),$root:e=>getPublicInstance(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>resolveMergedOptions(e),$forceUpdate:e=>e.f||(e.f=()=>{queueJob(e.update)}),$nextTick:e=>e.n||(e.n=nextTick.bind(e.proxy)),$watch:e=>instanceWatch.bind(e)}),hasSetupBinding=(e,t)=>e!==EMPTY_OBJ&&!e.__isScriptSetup&&hasOwn(e,t),PublicInstanceProxyHandlers={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:l,appContext:a}=e;let d;if(t[0]!=="$"){const T=o[t];if(T!==void 0)switch(T){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(hasSetupBinding(r,t))return o[t]=1,r[t];if(s!==EMPTY_OBJ&&hasOwn(s,t))return o[t]=2,s[t];if((d=e.propsOptions[0])&&hasOwn(d,t))return o[t]=3,i[t];if(n!==EMPTY_OBJ&&hasOwn(n,t))return o[t]=4,n[t];shouldCacheAccess&&(o[t]=0)}}const f=publicPropertiesMap[t];let g,A;if(f)return t==="$attrs"&&track(e.attrs,"get",""),f(e);if((g=l.__cssModules)&&(g=g[t]))return g;if(n!==EMPTY_OBJ&&hasOwn(n,t))return o[t]=4,n[t];if(A=a.config.globalProperties,hasOwn(A,t))return A[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return hasSetupBinding(s,t)?(s[t]=n,!0):r!==EMPTY_OBJ&&hasOwn(r,t)?(r[t]=n,!0):hasOwn(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let l;return!!n[o]||e!==EMPTY_OBJ&&hasOwn(e,o)||hasSetupBinding(t,o)||(l=i[0])&&hasOwn(l,o)||hasOwn(r,o)||hasOwn(publicPropertiesMap,o)||hasOwn(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:hasOwn(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function normalizePropsOrEmits(e){return isArray(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let shouldCacheAccess=!0;function applyOptions(e){const t=resolveMergedOptions(e),n=e.proxy,r=e.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:l,provide:a,inject:d,created:f,beforeMount:g,mounted:A,beforeUpdate:T,updated:F,activated:I,deactivated:L,beforeDestroy:k,beforeUnmount:j,destroyed:V,unmounted:P,render:D,renderTracked:Q,renderTriggered:z,errorCaptured:Z,serverPrefetch:oe,expose:X,inheritAttrs:ne,components:le,directives:ce,filters:fe}=t;if(d&&resolveInjections(d,r,null),o)for(const B in o){const N=o[B];isFunction(N)&&(r[B]=N.bind(n))}if(s){const B=s.call(n,n);isObject(B)&&(e.data=reactive(B))}if(shouldCacheAccess=!0,i)for(const B in i){const N=i[B],ee=isFunction(N)?N.bind(n,n):isFunction(N.get)?N.get.bind(n,n):NOOP,ae=!isFunction(N)&&isFunction(N.set)?N.set.bind(n):NOOP,te=computed({get:ee,set:ae});Object.defineProperty(r,B,{enumerable:!0,configurable:!0,get:()=>te.value,set:U=>te.value=U})}if(l)for(const B in l)createWatcher(l[B],r,n,B);if(a){const B=isFunction(a)?a.call(n):a;Reflect.ownKeys(B).forEach(N=>{provide(N,B[N])})}f&&callHook(f,e,"c");function K(B,N){isArray(N)?N.forEach(ee=>B(ee.bind(n))):N&&B(N.bind(n))}if(K(onBeforeMount,g),K(onMounted,A),K(onBeforeUpdate,T),K(onUpdated,F),K(onActivated,I),K(onDeactivated,L),K(onErrorCaptured,Z),K(onRenderTracked,Q),K(onRenderTriggered,z),K(onBeforeUnmount,j),K(onUnmounted,P),K(onServerPrefetch,oe),isArray(X))if(X.length){const B=e.exposed||(e.exposed={});X.forEach(N=>{Object.defineProperty(B,N,{get:()=>n[N],set:ee=>n[N]=ee})})}else e.exposed||(e.exposed={});D&&e.render===NOOP&&(e.render=D),ne!=null&&(e.inheritAttrs=ne),le&&(e.components=le),ce&&(e.directives=ce),oe&&markAsyncBoundary(e)}function resolveInjections(e,t,n=NOOP){isArray(e)&&(e=normalizeInject(e));for(const r in e){const s=e[r];let i;isObject(s)?"default"in s?i=inject(s.from||r,s.default,!0):i=inject(s.from||r):i=inject(s),isRef(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function callHook(e,t,n){callWithAsyncErrorHandling(isArray(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function createWatcher(e,t,n,r){let s=r.includes(".")?createPathGetter(n,r):()=>n[r];if(isString(e)){const i=t[e];isFunction(i)&&watch(s,i)}else if(isFunction(e))watch(s,e.bind(n));else if(isObject(e))if(isArray(e))e.forEach(i=>createWatcher(i,t,n,r));else{const i=isFunction(e.handler)?e.handler.bind(n):t[e.handler];isFunction(i)&&watch(s,i,e)}}function resolveMergedOptions(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(d=>mergeOptions(a,d,o,!0)),mergeOptions(a,t,o)),isObject(t)&&i.set(t,a),a}function mergeOptions(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&mergeOptions(e,i,n,!0),s&&s.forEach(o=>mergeOptions(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const l=internalOptionMergeStrats[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(e,t){return t?e?function(){return extend(isFunction(e)?e.call(this,this):e,isFunction(t)?t.call(this,this):t)}:t:e}function mergeInject(e,t){return mergeObjectOptions(normalizeInject(e),normalizeInject(t))}function normalizeInject(e){if(isArray(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mergeAsArray(e,t){return e?[...new Set([].concat(e,t))]:t}function mergeObjectOptions(e,t){return e?extend(Object.create(null),e,t):t}function mergeEmitsOrPropsOptions(e,t){return e?isArray(e)&&isArray(t)?[...new Set([...e,...t])]:extend(Object.create(null),normalizePropsOrEmits(e),normalizePropsOrEmits(t??{})):t}function mergeWatchOptions(e,t){if(!e)return t;if(!t)return e;const n=extend(Object.create(null),e);for(const r in t)n[r]=mergeAsArray(e[r],t[r]);return n}function createAppContext(){return{app:null,config:{isNativeTag:NO,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 uid$1=0;function createAppAPI(e,t){return function(r,s=null){isFunction(r)||(r=extend({},r)),s!=null&&!isObject(s)&&(s=null);const i=createAppContext(),o=new WeakSet,l=[];let a=!1;const d=i.app={_uid:uid$1++,_component:r,_props:s,_container:null,_context:i,_instance:null,version,get config(){return i.config},set config(f){},use(f,...g){return o.has(f)||(f&&isFunction(f.install)?(o.add(f),f.install(d,...g)):isFunction(f)&&(o.add(f),f(d,...g))),d},mixin(f){return i.mixins.includes(f)||i.mixins.push(f),d},component(f,g){return g?(i.components[f]=g,d):i.components[f]},directive(f,g){return g?(i.directives[f]=g,d):i.directives[f]},mount(f,g,A){if(!a){const T=d._ceVNode||createVNode(r,s);return T.appContext=i,A===!0?A="svg":A===!1&&(A=void 0),e(T,f,A),a=!0,d._container=f,f.__vue_app__=d,getComponentPublicInstance(T.component)}},onUnmount(f){l.push(f)},unmount(){a&&(callWithAsyncErrorHandling(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(f,g){return i.provides[f]=g,d},runWithContext(f){const g=currentApp;currentApp=d;try{return f()}finally{currentApp=g}}};return d}}let currentApp=null;function provide(e,t){if(currentInstance){let n=currentInstance.provides;const r=currentInstance.parent&&currentInstance.parent.provides;r===n&&(n=currentInstance.provides=Object.create(r)),n[e]=t}}function inject(e,t,n=!1){const r=currentInstance||currentRenderingInstance;if(r||currentApp){const s=currentApp?currentApp._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&isFunction(t)?t.call(r&&r.proxy):t}}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=e=>Object.getPrototypeOf(e)===internalObjectProto;function initProps(e,t,n,r=!1){const s={},i=createInternalObject();e.propsDefaults=Object.create(null),setFullProps(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:shallowReactive(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function updateProps(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,l=toRaw(s),[a]=e.propsOptions;let d=!1;if((r||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let g=0;g<f.length;g++){let A=f[g];if(isEmitListener(e.emitsOptions,A))continue;const T=t[A];if(a)if(hasOwn(i,A))T!==i[A]&&(i[A]=T,d=!0);else{const F=camelize(A);s[F]=resolvePropValue(a,l,F,T,e,!1)}else T!==i[A]&&(i[A]=T,d=!0)}}}else{setFullProps(e,t,s,i)&&(d=!0);let f;for(const g in l)(!t||!hasOwn(t,g)&&((f=hyphenate(g))===g||!hasOwn(t,f)))&&(a?n&&(n[g]!==void 0||n[f]!==void 0)&&(s[g]=resolvePropValue(a,l,g,void 0,e,!0)):delete s[g]);if(i!==l)for(const g in i)(!t||!hasOwn(t,g))&&(delete i[g],d=!0)}d&&trigger(e.attrs,"set","")}function setFullProps(e,t,n,r){const[s,i]=e.propsOptions;let o=!1,l;if(t)for(let a in t){if(isReservedProp(a))continue;const d=t[a];let f;s&&hasOwn(s,f=camelize(a))?!i||!i.includes(f)?n[f]=d:(l||(l={}))[f]=d:isEmitListener(e.emitsOptions,a)||(!(a in r)||d!==r[a])&&(r[a]=d,o=!0)}if(i){const a=toRaw(n),d=l||EMPTY_OBJ;for(let f=0;f<i.length;f++){const g=i[f];n[g]=resolvePropValue(s,a,g,d[g],e,!hasOwn(d,g))}}return o}function resolvePropValue(e,t,n,r,s,i){const o=e[n];if(o!=null){const l=hasOwn(o,"default");if(l&&r===void 0){const a=o.default;if(o.type!==Function&&!o.skipFactory&&isFunction(a)){const{propsDefaults:d}=s;if(n in d)r=d[n];else{const f=setCurrentInstance(s);r=d[n]=a.call(null,t),f()}}else r=a;s.ce&&s.ce._setProp(n,r)}o[0]&&(i&&!l?r=!1:o[1]&&(r===""||r===hyphenate(n))&&(r=!0))}return r}const mixinPropsCache=new WeakMap;function normalizePropsOptions(e,t,n=!1){const r=n?mixinPropsCache:t.propsCache,s=r.get(e);if(s)return s;const i=e.props,o={},l=[];let a=!1;if(!isFunction(e)){const f=g=>{a=!0;const[A,T]=normalizePropsOptions(g,t,!0);extend(o,A),T&&l.push(...T)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!a)return isObject(e)&&r.set(e,EMPTY_ARR),EMPTY_ARR;if(isArray(i))for(let f=0;f<i.length;f++){const g=camelize(i[f]);validatePropName(g)&&(o[g]=EMPTY_OBJ)}else if(i)for(const f in i){const g=camelize(f);if(validatePropName(g)){const A=i[f],T=o[g]=isArray(A)||isFunction(A)?{type:A}:extend({},A),F=T.type;let I=!1,L=!0;if(isArray(F))for(let k=0;k<F.length;++k){const j=F[k],V=isFunction(j)&&j.name;if(V==="Boolean"){I=!0;break}else V==="String"&&(L=!1)}else I=isFunction(F)&&F.name==="Boolean";T[0]=I,T[1]=L,(I||hasOwn(T,"default"))&&l.push(g)}}const d=[o,l];return isObject(e)&&r.set(e,d),d}function validatePropName(e){return e[0]!=="$"&&!isReservedProp(e)}const isInternalKey=e=>e[0]==="_"||e==="$stable",normalizeSlotValue=e=>isArray(e)?e.map(normalizeVNode):[normalizeVNode(e)],normalizeSlot=(e,t,n)=>{if(t._n)return t;const r=withCtx((...s)=>normalizeSlotValue(t(...s)),n);return r._c=!1,r},normalizeObjectSlots=(e,t,n)=>{const r=e._ctx;for(const s in e){if(isInternalKey(s))continue;const i=e[s];if(isFunction(i))t[s]=normalizeSlot(s,i,r);else if(i!=null){const o=normalizeSlotValue(i);t[s]=()=>o}}},normalizeVNodeSlots=(e,t)=>{const n=normalizeSlotValue(t);e.slots.default=()=>n},assignSlots=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},initSlots=(e,t,n)=>{const r=e.slots=createInternalObject();if(e.vnode.shapeFlag&32){const s=t._;s?(assignSlots(r,t,n),n&&def(r,"_",s,!0)):normalizeObjectSlots(t,r)}else t&&normalizeVNodeSlots(e,t)},updateSlots=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=EMPTY_OBJ;if(r.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:assignSlots(s,t,n):(i=!t.$stable,normalizeObjectSlots(t,s)),o=t}else t&&(normalizeVNodeSlots(e,t),o={default:1});if(i)for(const l in s)!isInternalKey(l)&&o[l]==null&&delete s[l]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(e){return baseCreateRenderer(e)}function baseCreateRenderer(e,t){const n=getGlobalThis();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:l,createComment:a,setText:d,setElementText:f,parentNode:g,nextSibling:A,setScopeId:T=NOOP,insertStaticContent:F}=e,I=(c,u,h,b=null,m=null,y=null,R=void 0,S=null,v=!!u.dynamicChildren)=>{if(c===u)return;c&&!isSameVNodeType(c,u)&&(b=ue(c),U(c,m,y,!0),c=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:_,ref:C,shapeFlag:E}=u;switch(_){case Text:L(c,u,h,b);break;case Comment:k(c,u,h,b);break;case Static:c==null&&j(u,h,b,R);break;case Fragment:le(c,u,h,b,m,y,R,S,v);break;default:E&1?D(c,u,h,b,m,y,R,S,v):E&6?ce(c,u,h,b,m,y,R,S,v):(E&64||E&128)&&_.process(c,u,h,b,m,y,R,S,v,se)}C!=null&&m&&setRef(C,c&&c.ref,y,u||c,!u)},L=(c,u,h,b)=>{if(c==null)r(u.el=l(u.children),h,b);else{const m=u.el=c.el;u.children!==c.children&&d(m,u.children)}},k=(c,u,h,b)=>{c==null?r(u.el=a(u.children||""),h,b):u.el=c.el},j=(c,u,h,b)=>{[c.el,c.anchor]=F(c.children,u,h,b,c.el,c.anchor)},V=({el:c,anchor:u},h,b)=>{let m;for(;c&&c!==u;)m=A(c),r(c,h,b),c=m;r(u,h,b)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=A(c),s(c),c=h;s(u)},D=(c,u,h,b,m,y,R,S,v)=>{u.type==="svg"?R="svg":u.type==="math"&&(R="mathml"),c==null?Q(u,h,b,m,y,R,S,v):oe(c,u,m,y,R,S,v)},Q=(c,u,h,b,m,y,R,S)=>{let v,_;const{props:C,shapeFlag:E,transition:O,dirs:w}=c;if(v=c.el=o(c.type,y,C&&C.is,C),E&8?f(v,c.children):E&16&&Z(c.children,v,null,b,m,resolveChildrenNamespace(c,y),R,S),w&&invokeDirectiveHook(c,null,b,"created"),z(v,c,c.scopeId,R,b),C){for(const H in C)H!=="value"&&!isReservedProp(H)&&i(v,H,null,C[H],y,b);"value"in C&&i(v,"value",null,C.value,y),(_=C.onVnodeBeforeMount)&&invokeVNodeHook(_,b,c)}w&&invokeDirectiveHook(c,null,b,"beforeMount");const x=needTransition(m,O);x&&O.beforeEnter(v),r(v,u,h),((_=C&&C.onVnodeMounted)||x||w)&&queuePostRenderEffect(()=>{_&&invokeVNodeHook(_,b,c),x&&O.enter(v),w&&invokeDirectiveHook(c,null,b,"mounted")},m)},z=(c,u,h,b,m)=>{if(h&&T(c,h),b)for(let y=0;y<b.length;y++)T(c,b[y]);if(m){let y=m.subTree;if(u===y||isSuspense(y.type)&&(y.ssContent===u||y.ssFallback===u)){const R=m.vnode;z(c,R,R.scopeId,R.slotScopeIds,m.parent)}}},Z=(c,u,h,b,m,y,R,S,v=0)=>{for(let _=v;_<c.length;_++){const C=c[_]=S?cloneIfMounted(c[_]):normalizeVNode(c[_]);I(null,C,u,h,b,m,y,R,S)}},oe=(c,u,h,b,m,y,R)=>{const S=u.el=c.el;let{patchFlag:v,dynamicChildren:_,dirs:C}=u;v|=c.patchFlag&16;const E=c.props||EMPTY_OBJ,O=u.props||EMPTY_OBJ;let w;if(h&&toggleRecurse(h,!1),(w=O.onVnodeBeforeUpdate)&&invokeVNodeHook(w,h,u,c),C&&invokeDirectiveHook(u,c,h,"beforeUpdate"),h&&toggleRecurse(h,!0),(E.innerHTML&&O.innerHTML==null||E.textContent&&O.textContent==null)&&f(S,""),_?X(c.dynamicChildren,_,S,h,b,resolveChildrenNamespace(u,m),y):R||N(c,u,S,null,h,b,resolveChildrenNamespace(u,m),y,!1),v>0){if(v&16)ne(S,E,O,h,m);else if(v&2&&E.class!==O.class&&i(S,"class",null,O.class,m),v&4&&i(S,"style",E.style,O.style,m),v&8){const x=u.dynamicProps;for(let H=0;H<x.length;H++){const M=x[H],$=E[M],W=O[M];(W!==$||M==="value")&&i(S,M,$,W,m,h)}}v&1&&c.children!==u.children&&f(S,u.children)}else!R&&_==null&&ne(S,E,O,h,m);((w=O.onVnodeUpdated)||C)&&queuePostRenderEffect(()=>{w&&invokeVNodeHook(w,h,u,c),C&&invokeDirectiveHook(u,c,h,"updated")},b)},X=(c,u,h,b,m,y,R)=>{for(let S=0;S<u.length;S++){const v=c[S],_=u[S],C=v.el&&(v.type===Fragment||!isSameVNodeType(v,_)||v.shapeFlag&70)?g(v.el):h;I(v,_,C,null,b,m,y,R,!0)}},ne=(c,u,h,b,m)=>{if(u!==h){if(u!==EMPTY_OBJ)for(const y in u)!isReservedProp(y)&&!(y in h)&&i(c,y,u[y],null,m,b);for(const y in h){if(isReservedProp(y))continue;const R=h[y],S=u[y];R!==S&&y!=="value"&&i(c,y,S,R,m,b)}"value"in h&&i(c,"value",u.value,h.value,m)}},le=(c,u,h,b,m,y,R,S,v)=>{const _=u.el=c?c.el:l(""),C=u.anchor=c?c.anchor:l("");let{patchFlag:E,dynamicChildren:O,slotScopeIds:w}=u;w&&(S=S?S.concat(w):w),c==null?(r(_,h,b),r(C,h,b),Z(u.children||[],h,C,m,y,R,S,v)):E>0&&E&64&&O&&c.dynamicChildren?(X(c.dynamicChildren,O,h,m,y,R,S),(u.key!=null||m&&u===m.subTree)&&traverseStaticChildren(c,u,!0)):N(c,u,h,C,m,y,R,S,v)},ce=(c,u,h,b,m,y,R,S,v)=>{u.slotScopeIds=S,c==null?u.shapeFlag&512?m.ctx.activate(u,h,b,R,v):fe(u,h,b,m,y,R,v):he(c,u,v)},fe=(c,u,h,b,m,y,R)=>{const S=c.component=createComponentInstance(c,b,m);if(isKeepAlive(c)&&(S.ctx.renderer=se),setupComponent(S,!1,R),S.asyncDep){if(m&&m.registerDep(S,K,R),!c.el){const v=S.subTree=createVNode(Comment);k(null,v,u,h)}}else K(S,c,u,h,m,y,R)},he=(c,u,h)=>{const b=u.component=c.component;if(shouldUpdateComponent(c,u,h))if(b.asyncDep&&!b.asyncResolved){B(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},K=(c,u,h,b,m,y,R)=>{const S=()=>{if(c.isMounted){let{next:E,bu:O,u:w,parent:x,vnode:H}=c;{const J=locateNonHydratedAsyncRoot(c);if(J){E&&(E.el=H.el,B(c,E,R)),J.asyncDep.then(()=>{c.isUnmounted||S()});return}}let M=E,$;toggleRecurse(c,!1),E?(E.el=H.el,B(c,E,R)):E=H,O&&invokeArrayFns(O),($=E.props&&E.props.onVnodeBeforeUpdate)&&invokeVNodeHook($,x,E,H),toggleRecurse(c,!0);const W=renderComponentRoot(c),q=c.subTree;c.subTree=W,I(q,W,g(q.el),ue(q),c,m,y),E.el=W.el,M===null&&updateHOCHostEl(c,W.el),w&&queuePostRenderEffect(w,m),($=E.props&&E.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook($,x,E,H),m)}else{let E;const{el:O,props:w}=u,{bm:x,m:H,parent:M,root:$,type:W}=c,q=isAsyncWrapper(u);toggleRecurse(c,!1),x&&invokeArrayFns(x),!q&&(E=w&&w.onVnodeBeforeMount)&&invokeVNodeHook(E,M,u),toggleRecurse(c,!0);{$.ce&&$.ce._injectChildStyle(W);const J=c.subTree=renderComponentRoot(c);I(null,J,h,b,c,m,y),u.el=J.el}if(H&&queuePostRenderEffect(H,m),!q&&(E=w&&w.onVnodeMounted)){const J=u;queuePostRenderEffect(()=>invokeVNodeHook(E,M,J),m)}(u.shapeFlag&256||M&&isAsyncWrapper(M.vnode)&&M.vnode.shapeFlag&256)&&c.a&&queuePostRenderEffect(c.a,m),c.isMounted=!0,u=h=b=null}};c.scope.on();const v=c.effect=new ReactiveEffect(S);c.scope.off();const _=c.update=v.run.bind(v),C=c.job=v.runIfDirty.bind(v);C.i=c,C.id=c.uid,v.scheduler=()=>queueJob(C),toggleRecurse(c,!0),_()},B=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,updateProps(c,u.props,b,h),updateSlots(c,u.children,h),pauseTracking(),flushPreFlushCbs(c),resetTracking()},N=(c,u,h,b,m,y,R,S,v=!1)=>{const _=c&&c.children,C=c?c.shapeFlag:0,E=u.children,{patchFlag:O,shapeFlag:w}=u;if(O>0){if(O&128){ae(_,E,h,b,m,y,R,S,v);return}else if(O&256){ee(_,E,h,b,m,y,R,S,v);return}}w&8?(C&16&&re(_,m,y),E!==_&&f(h,E)):C&16?w&16?ae(_,E,h,b,m,y,R,S,v):re(_,m,y,!0):(C&8&&f(h,""),w&16&&Z(E,h,b,m,y,R,S,v))},ee=(c,u,h,b,m,y,R,S,v)=>{c=c||EMPTY_ARR,u=u||EMPTY_ARR;const _=c.length,C=u.length,E=Math.min(_,C);let O;for(O=0;O<E;O++){const w=u[O]=v?cloneIfMounted(u[O]):normalizeVNode(u[O]);I(c[O],w,h,null,m,y,R,S,v)}_>C?re(c,m,y,!0,!1,E):Z(u,h,b,m,y,R,S,v,E)},ae=(c,u,h,b,m,y,R,S,v)=>{let _=0;const C=u.length;let E=c.length-1,O=C-1;for(;_<=E&&_<=O;){const w=c[_],x=u[_]=v?cloneIfMounted(u[_]):normalizeVNode(u[_]);if(isSameVNodeType(w,x))I(w,x,h,null,m,y,R,S,v);else break;_++}for(;_<=E&&_<=O;){const w=c[E],x=u[O]=v?cloneIfMounted(u[O]):normalizeVNode(u[O]);if(isSameVNodeType(w,x))I(w,x,h,null,m,y,R,S,v);else break;E--,O--}if(_>E){if(_<=O){const w=O+1,x=w<C?u[w].el:b;for(;_<=O;)I(null,u[_]=v?cloneIfMounted(u[_]):normalizeVNode(u[_]),h,x,m,y,R,S,v),_++}}else if(_>O)for(;_<=E;)U(c[_],m,y,!0),_++;else{const w=_,x=_,H=new Map;for(_=x;_<=O;_++){const Y=u[_]=v?cloneIfMounted(u[_]):normalizeVNode(u[_]);Y.key!=null&&H.set(Y.key,_)}let M,$=0;const W=O-x+1;let q=!1,J=0;const ie=new Array(W);for(_=0;_<W;_++)ie[_]=0;for(_=w;_<=E;_++){const Y=c[_];if($>=W){U(Y,m,y,!0);continue}let G;if(Y.key!=null)G=H.get(Y.key);else for(M=x;M<=O;M++)if(ie[M-x]===0&&isSameVNodeType(Y,u[M])){G=M;break}G===void 0?U(Y,m,y,!0):(ie[G-x]=_+1,G>=J?J=G:q=!0,I(Y,u[G],h,null,m,y,R,S,v),$++)}const me=q?getSequence(ie):EMPTY_ARR;for(M=me.length-1,_=W-1;_>=0;_--){const Y=x+_,G=u[Y],ye=Y+1<C?u[Y+1].el:b;ie[_]===0?I(null,G,h,ye,m,y,R,S,v):q&&(M<0||_!==me[M]?te(G,h,ye,2):M--)}}},te=(c,u,h,b,m=null)=>{const{el:y,type:R,transition:S,children:v,shapeFlag:_}=c;if(_&6){te(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){R.move(c,u,h,se);return}if(R===Fragment){r(y,u,h);for(let E=0;E<v.length;E++)te(v[E],u,h,b);r(c.anchor,u,h);return}if(R===Static){V(c,u,h);return}if(b!==2&&_&1&&S)if(b===0)S.beforeEnter(y),r(y,u,h),queuePostRenderEffect(()=>S.enter(y),m);else{const{leave:E,delayLeave:O,afterLeave:w}=S,x=()=>r(y,u,h),H=()=>{E(y,()=>{x(),w&&w()})};O?O(y,x,H):H()}else r(y,u,h)},U=(c,u,h,b=!1,m=!1)=>{const{type:y,props:R,ref:S,children:v,dynamicChildren:_,shapeFlag:C,patchFlag:E,dirs:O,cacheIndex:w}=c;if(E===-2&&(m=!1),S!=null&&setRef(S,null,h,c,!0),w!=null&&(u.renderCache[w]=void 0),C&256){u.ctx.deactivate(c);return}const x=C&1&&O,H=!isAsyncWrapper(c);let M;if(H&&(M=R&&R.onVnodeBeforeUnmount)&&invokeVNodeHook(M,u,c),C&6)_e(c.component,h,b);else{if(C&128){c.suspense.unmount(h,b);return}x&&invokeDirectiveHook(c,null,u,"beforeUnmount"),C&64?c.type.remove(c,u,h,se,b):_&&!_.hasOnce&&(y!==Fragment||E>0&&E&64)?re(_,u,h,!1,!0):(y===Fragment&&E&384||!m&&C&16)&&re(v,u,h),b&&pe(c)}(H&&(M=R&&R.onVnodeUnmounted)||x)&&queuePostRenderEffect(()=>{M&&invokeVNodeHook(M,u,c),x&&invokeDirectiveHook(c,null,u,"unmounted")},h)},pe=c=>{const{type:u,el:h,anchor:b,transition:m}=c;if(u===Fragment){be(h,b);return}if(u===Static){P(c);return}const y=()=>{s(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:R,delayLeave:S}=m,v=()=>R(h,y);S?S(c.el,y,v):v()}else y()},be=(c,u)=>{let h;for(;c!==u;)h=A(c),s(c),c=h;s(u)},_e=(c,u,h)=>{const{bum:b,scope:m,job:y,subTree:R,um:S,m:v,a:_}=c;invalidateMount(v),invalidateMount(_),b&&invokeArrayFns(b),m.stop(),y&&(y.flags|=8,U(R,c,u,h)),S&&queuePostRenderEffect(S,u),queuePostRenderEffect(()=>{c.isUnmounted=!0},u),u&&u.pendingBranch&&!u.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===u.pendingId&&(u.deps--,u.deps===0&&u.resolve())},re=(c,u,h,b=!1,m=!1,y=0)=>{for(let R=y;R<c.length;R++)U(c[R],u,h,b,m)},ue=c=>{if(c.shapeFlag&6)return ue(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=A(c.anchor||c.el),h=u&&u[TeleportEndKey];return h?A(h):u};let de=!1;const ge=(c,u,h)=>{c==null?u._vnode&&U(u._vnode,null,null,!0):I(u._vnode||null,c,u,null,null,null,h),u._vnode=c,de||(de=!0,flushPreFlushCbs(),flushPostFlushCbs(),de=!1)},se={p:I,um:U,m:te,r:pe,mt:fe,mc:Z,pc:N,pbc:X,n:ue,o:e};return{render:ge,hydrate:void 0,createApp:createAppAPI(ge)}}function resolveChildrenNamespace({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function toggleRecurse({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function needTransition(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(e,t,n=!1){const r=e.children,s=t.children;if(isArray(r)&&isArray(s))for(let i=0;i<r.length;i++){const o=r[i];let l=s[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=s[i]=cloneIfMounted(s[i]),l.el=o.el),!n&&l.patchFlag!==-2&&traverseStaticChildren(o,l)),l.type===Text&&(l.el=o.el)}}function getSequence(e){const t=e.slice(),n=[0];let r,s,i,o,l;const a=e.length;for(r=0;r<a;r++){const d=e[r];if(d!==0){if(s=n[n.length-1],e[s]<d){t[r]=s,n.push(r);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<d?i=l+1:o=l;d<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function locateNonHydratedAsyncRoot(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watch(e,t,n){return doWatch(e,t,n)}function doWatch(e,t,n=EMPTY_OBJ){const{immediate:r,deep:s,flush:i,once:o}=n,l=extend({},n),a=t&&r||!t&&i!=="post";let d;if(isInSSRComponentSetup){if(i==="sync"){const T=useSSRContext();d=T.__watcherHandles||(T.__watcherHandles=[])}else if(!a){const T=()=>{};return T.stop=NOOP,T.resume=NOOP,T.pause=NOOP,T}}const f=currentInstance;l.call=(T,F,I)=>callWithAsyncErrorHandling(T,f,F,I);let g=!1;i==="post"?l.scheduler=T=>{queuePostRenderEffect(T,f&&f.suspense)}:i!=="sync"&&(g=!0,l.scheduler=(T,F)=>{F?T():queueJob(T)}),l.augmentJob=T=>{t&&(T.flags|=4),g&&(T.flags|=2,f&&(T.id=f.uid,T.i=f))};const A=watch$1(e,t,l);return isInSSRComponentSetup&&(d?d.push(A):a&&A()),A}function instanceWatch(e,t,n){const r=this.proxy,s=isString(e)?e.includes(".")?createPathGetter(r,e):()=>r[e]:e.bind(r,r);let i;isFunction(t)?i=t:(i=t.handler,n=t);const o=setCurrentInstance(this),l=doWatch(s,i.bind(r),n);return o(),l}function createPathGetter(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const getModelModifiers=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${camelize(t)}Modifiers`]||e[`${hyphenate(t)}Modifiers`];function emit(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||EMPTY_OBJ;let s=n;const i=t.startsWith("update:"),o=i&&getModelModifiers(r,t.slice(7));o&&(o.trim&&(s=n.map(f=>isString(f)?f.trim():f)),o.number&&(s=n.map(looseToNumber)));let l,a=r[l=toHandlerKey(t)]||r[l=toHandlerKey(camelize(t))];!a&&i&&(a=r[l=toHandlerKey(hyphenate(t))]),a&&callWithAsyncErrorHandling(a,e,6,s);const d=r[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,callWithAsyncErrorHandling(d,e,6,s)}}function normalizeEmitsOptions(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},l=!1;if(!isFunction(e)){const a=d=>{const f=normalizeEmitsOptions(d,t,!0);f&&(l=!0,extend(o,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(isObject(e)&&r.set(e,null),null):(isArray(i)?i.forEach(a=>o[a]=null):extend(o,i),isObject(e)&&r.set(e,o),o)}function isEmitListener(e,t){return!e||!isOn(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn(e,t[0].toLowerCase()+t.slice(1))||hasOwn(e,hyphenate(t))||hasOwn(e,t))}function markAttrsAccessed(){}function renderComponentRoot(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[i],slots:o,attrs:l,emit:a,render:d,renderCache:f,props:g,data:A,setupState:T,ctx:F,inheritAttrs:I}=e,L=setCurrentRenderingInstance(e);let k,j;try{if(n.shapeFlag&4){const P=s||r,D=P;k=normalizeVNode(d.call(D,P,f,g,T,A,F)),j=l}else{const P=t;k=normalizeVNode(P.length>1?P(g,{attrs:l,slots:o,emit:a}):P(g,null)),j=t.props?l:getFunctionalFallthrough(l)}}catch(P){blockStack.length=0,handleError(P,e,1),k=createVNode(Comment)}let V=k;if(j&&I!==!1){const P=Object.keys(j),{shapeFlag:D}=V;P.length&&D&7&&(i&&P.some(isModelListener)&&(j=filterModelListeners(j,i)),V=cloneVNode(V,j,!1,!0))}return n.dirs&&(V=cloneVNode(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition&&setTransitionHooks(V,n.transition),k=V,setCurrentRenderingInstance(L),k}const getFunctionalFallthrough=e=>{let t;for(const n in e)(n==="class"||n==="style"||isOn(n))&&((t||(t={}))[n]=e[n]);return t},filterModelListeners=(e,t)=>{const n={};for(const r in e)(!isModelListener(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function shouldUpdateComponent(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:l,patchFlag:a}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?hasPropsChanged(r,o,d):!!o;if(a&8){const f=t.dynamicProps;for(let g=0;g<f.length;g++){const A=f[g];if(o[A]!==r[A]&&!isEmitListener(d,A))return!0}}}else return(s||l)&&(!l||!l.$stable)?!0:r===o?!1:r?o?hasPropsChanged(r,o,d):!0:!!o;return!1}function hasPropsChanged(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const i=r[s];if(t[i]!==e[i]&&!isEmitListener(n,i))return!0}return!1}function updateHOCHostEl({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const isSuspense=e=>e.__isSuspense;function queueEffectWithSuspense(e,t){t&&t.pendingBranch?isArray(e)?t.effects.push(...e):t.effects.push(e):queuePostFlushCb(e)}const Fragment=Symbol.for("v-fgt"),Text=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(e=!1){blockStack.push(currentBlock=e?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(e,t=!1){isBlockTreeEnabled+=e,e<0&&currentBlock&&t&&(currentBlock.hasOnce=!0)}function setupBlock(e){return e.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&&currentBlock&&currentBlock.push(e),e}function createElementBlock(e,t,n,r,s,i){return setupBlock(createBaseVNode(e,t,n,r,s,i,!0))}function createBlock(e,t,n,r,s){return setupBlock(createVNode(e,t,n,r,s,!0))}function isVNode(e){return e?e.__v_isVNode===!0:!1}function isSameVNodeType(e,t){return e.type===t.type&&e.key===t.key}const normalizeKey=({key:e})=>e??null,normalizeRef=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?isString(e)||isRef(e)||isFunction(e)?{i:currentRenderingInstance,r:e,k:t,f:!!n}:e:null);function createBaseVNode(e,t=null,n=null,r=0,s=null,i=e===Fragment?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:n,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return l?(normalizeChildren(a,n),i&128&&e.normalize(a)):n&&(a.shapeFlag|=isString(n)?8:16),isBlockTreeEnabled>0&&!o&&currentBlock&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&currentBlock.push(a),a}const createVNode=_createVNode;function _createVNode(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===NULL_DYNAMIC_COMPONENT)&&(e=Comment),isVNode(e)){const l=cloneVNode(e,t,!0);return n&&normalizeChildren(l,n),isBlockTreeEnabled>0&&!i&&currentBlock&&(l.shapeFlag&6?currentBlock[currentBlock.indexOf(e)]=l:currentBlock.push(l)),l.patchFlag=-2,l}if(isClassComponent(e)&&(e=e.__vccOpts),t){t=guardReactiveProps(t);let{class:l,style:a}=t;l&&!isString(l)&&(t.class=normalizeClass(l)),isObject(a)&&(isProxy(a)&&!isArray(a)&&(a=extend({},a)),t.style=normalizeStyle(a))}const o=isString(e)?1:isSuspense(e)?128:isTeleport(e)?64:isObject(e)?4:isFunction(e)?2:0;return createBaseVNode(e,t,n,r,s,o,i,!0)}function guardReactiveProps(e){return e?isProxy(e)||isInternalObject(e)?extend({},e):e:null}function cloneVNode(e,t,n=!1,r=!1){const{props:s,ref:i,patchFlag:o,children:l,transition:a}=e,d=t?mergeProps(s||{},t):s,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&normalizeKey(d),ref:t&&t.ref?n&&i?isArray(i)?i.concat(normalizeRef(t)):[i,normalizeRef(t)]:normalizeRef(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Fragment?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cloneVNode(e.ssContent),ssFallback:e.ssFallback&&cloneVNode(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&setTransitionHooks(f,a.clone(f)),f}function createTextVNode(e=" ",t=0){return createVNode(Text,null,e,t)}function normalizeVNode(e){return e==null||typeof e=="boolean"?createVNode(Comment):isArray(e)?createVNode(Fragment,null,e.slice()):isVNode(e)?cloneIfMounted(e):createVNode(Text,null,String(e))}function cloneIfMounted(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cloneVNode(e)}function normalizeChildren(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(isArray(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),normalizeChildren(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!isInternalObject(t)?t._ctx=currentRenderingInstance:s===3&&currentRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else isFunction(t)?(t={default:t,_ctx:currentRenderingInstance},n=32):(t=String(t),r&64?(n=16,t=[createTextVNode(t)]):n=8);e.children=t,e.shapeFlag|=n}function mergeProps(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=normalizeClass([t.class,r.class]));else if(s==="style")t.style=normalizeStyle([t.style,r.style]);else if(isOn(s)){const i=t[s],o=r[s];o&&i!==o&&!(isArray(i)&&i.includes(o))&&(t[s]=i?[].concat(i,o):o)}else s!==""&&(t[s]=r[s])}return t}function invokeVNodeHook(e,t,n,r=null){callWithAsyncErrorHandling(e,t,7,[n,r])}const emptyAppContext=createAppContext();let uid=0;function createComponentInstance(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||emptyAppContext,i={uid:uid++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new EffectScope(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:normalizePropsOptions(r,s),emitsOptions:normalizeEmitsOptions(r,s),emit:null,emitted:null,propsDefaults:EMPTY_OBJ,inheritAttrs:r.inheritAttrs,ctx:EMPTY_OBJ,data:EMPTY_OBJ,props:EMPTY_OBJ,attrs:EMPTY_OBJ,slots:EMPTY_OBJ,refs:EMPTY_OBJ,setupState:EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=emit.bind(null,i),e.ce&&e.ce(i),i}let currentInstance=null,internalSetCurrentInstance,setInSSRSetupState;{const e=getGlobalThis(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",n=>currentInstance=n),setInSSRSetupState=t("__VUE_SSR_SETTERS__",n=>isInSSRComponentSetup=n)}const setCurrentInstance=e=>{const t=currentInstance;return internalSetCurrentInstance(e),e.scope.on(),()=>{e.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&&currentInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(e){return e.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(e,t=!1,n=!1){t&&setInSSRSetupState(t);const{props:r,children:s}=e.vnode,i=isStatefulComponent(e);initProps(e,r,i,t),initSlots(e,s,n);const o=i?setupStatefulComponent(e,t):void 0;return t&&setInSSRSetupState(!1),o}function setupStatefulComponent(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,PublicInstanceProxyHandlers);const{setup:r}=n;if(r){pauseTracking();const s=e.setupContext=r.length>1?createSetupContext(e):null,i=setCurrentInstance(e),o=callWithErrorHandling(r,e,0,[e.props,s]),l=isPromise(o);if(resetTracking(),i(),(l||e.sp)&&!isAsyncWrapper(e)&&markAsyncBoundary(e),l){if(o.then(unsetCurrentInstance,unsetCurrentInstance),t)return o.then(a=>{handleSetupResult(e,a)}).catch(a=>{handleError(a,e,0)});e.asyncDep=o}else handleSetupResult(e,o)}else finishComponentSetup(e)}function handleSetupResult(e,t,n){isFunction(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:isObject(t)&&(e.setupState=proxyRefs(t)),finishComponentSetup(e)}function finishComponentSetup(e,t,n){const r=e.type;e.render||(e.render=r.render||NOOP);{const s=setCurrentInstance(e);pauseTracking();try{applyOptions(e)}finally{resetTracking(),s()}}}const attrsProxyHandlers={get(e,t){return track(e,"get",""),e[t]}};function createSetupContext(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,attrsProxyHandlers),slots:e.slots,emit:e.emit,expose:t}}function getComponentPublicInstance(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(proxyRefs(markRaw(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in publicPropertiesMap)return publicPropertiesMap[n](e)},has(t,n){return n in t||n in publicPropertiesMap}})):e.proxy}const classifyRE=/(?:^|[-_])(\w)/g,classify=e=>e.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(e,t=!0){return isFunction(e)?e.displayName||e.name:e.name||t&&e.__name}function formatComponentName(e,t,n=!1){let r=getComponentName(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=i=>{for(const o in i)if(i[o]===t)return o};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?classify(r):n?"App":"Anonymous"}function isClassComponent(e){return isFunction(e)&&"__vccOpts"in e}const computed=(e,t)=>computed$1(e,t,isInSSRComponentSetup),version="3.5.13";/**
17
+ * @vue/runtime-dom v3.5.13
18
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
+ * @license MIT
20
+ **/let policy;const tt=typeof window<"u"&&window.trustedTypes;if(tt)try{policy=tt.createPolicy("vue",{createHTML:e=>e})}catch{}const unsafeToTrustedHTML=policy?e=>policy.createHTML(e):e=>e,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?doc.createElementNS(svgNS,e):t==="mathml"?doc.createElementNS(mathmlNS,e):n?doc.createElement(e,{is:n}):doc.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>doc.createTextNode(e),createComment:e=>doc.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>doc.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const l=templateContainer.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},vtcKey=Symbol("_vtc");function patchClass(e,t,n){const r=e[vtcKey];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),CSS_VAR_TEXT=Symbol(""),displayRE=/(^|;)\s*display\s*:/;function patchStyle(e,t,n){const r=e.style,s=isString(n);let i=!1;if(n&&!s){if(t)if(isString(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&setStyle(r,l,"")}else for(const o in t)n[o]==null&&setStyle(r,o,"");for(const o in n)o==="display"&&(i=!0),setStyle(r,o,n[o])}else if(s){if(t!==n){const o=r[CSS_VAR_TEXT];o&&(n+=";"+o),r.cssText=n,i=displayRE.test(n)}}else t&&e.removeAttribute("style");vShowOriginalDisplay in e&&(e[vShowOriginalDisplay]=i?r.display:"",e[vShowHidden]&&(r.display="none"))}const importantRE=/\s*!important$/;function setStyle(e,t,n){if(isArray(n))n.forEach(r=>setStyle(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=autoPrefix(e,t);importantRE.test(n)?e.setProperty(hyphenate(r),n.replace(importantRE,""),"important"):e[r]=n}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(e,t){const n=prefixCache[t];if(n)return n;let r=camelize(t);if(r!=="filter"&&r in e)return prefixCache[t]=r;r=capitalize(r);for(let s=0;s<prefixes.length;s++){const i=prefixes[s]+r;if(i in e)return prefixCache[t]=i}return t}const xlinkNS="http://www.w3.org/1999/xlink";function patchAttr(e,t,n,r,s,i=isSpecialBooleanAttr(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(xlinkNS,t.slice(6,t.length)):e.setAttributeNS(xlinkNS,t,n):n==null||i&&!includeBooleanAttr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":isSymbol(n)?String(n):n)}function patchDOMProp(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?unsafeToTrustedHTML(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=includeBooleanAttr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(s||t)}function addEventListener(e,t,n,r){e.addEventListener(t,n,r)}function removeEventListener(e,t,n,r){e.removeEventListener(t,n,r)}const veiKey=Symbol("_vei");function patchEvent(e,t,n,r,s=null){const i=e[veiKey]||(e[veiKey]={}),o=i[t];if(r&&o)o.value=r;else{const[l,a]=parseName(t);if(r){const d=i[t]=createInvoker(r,s);addEventListener(e,l,d,a)}else o&&(removeEventListener(e,l,o,a),i[t]=void 0)}}const optionsModifierRE=/(?:Once|Passive|Capture)$/;function parseName(e){let t;if(optionsModifierRE.test(e)){t={};let r;for(;r=e.match(optionsModifierRE);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):hyphenate(e.slice(2)),t]}let cachedNow=0;const p=Promise.resolve(),getNow=()=>cachedNow||(p.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(r,n.value),t,5,[r])};return n.value=e,n.attached=getNow(),n}function patchStopImmediatePropagation(e,t){if(isArray(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const isNativeOn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,patchProp=(e,t,n,r,s,i)=>{const o=s==="svg";t==="class"?patchClass(e,r,o):t==="style"?patchStyle(e,n,r):isOn(t)?isModelListener(t)||patchEvent(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(e,t,r,o))?(patchDOMProp(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&patchAttr(e,t,r,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!isString(r))?patchDOMProp(e,camelize(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),patchAttr(e,t,r,o))};function shouldSetAsProp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&isNativeOn(t)&&isFunction(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return isNativeOn(t)&&isString(n)?!1:t in e}const keyNames={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},withKeys=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const i=hyphenate(s.key);if(t.some(o=>o===i||keyNames[o]===i))return e(s)})},rendererOptions=extend({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const createApp=(...e)=>{const t=ensureRenderer().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=normalizeContainer(r);if(!s)return;const i=t._component;!isFunction(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const o=n(s,!1,resolveRootNamespace(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function resolveRootNamespace(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function normalizeContainer(e){return isString(e)?document.querySelector(e):e}const scriptRel="modulepreload",assetsURL=function(e){return"/"+e},seen={},__vitePreload=function(t,n,r){let s=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));s=Promise.allSettled(n.map(a=>{if(a=assetsURL(a),a in seen)return;seen[a]=!0;const d=a.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${f}`))return;const g=document.createElement("link");if(g.rel=d?"stylesheet":scriptRel,d||(g.as="script"),g.crossOrigin="",g.href=a,l&&g.setAttribute("nonce",l),document.head.appendChild(g),d)return new Promise((A,T)=>{g.addEventListener("load",A),g.addEventListener("error",()=>T(new Error(`Unable to preload CSS for ${a}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return s.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})},_sfc_main$1=defineComponent({name:"ExcelTable",props:{initialData:{type:Array,default:()=>[]},columns:{type:Array,default:()=>[]}},setup(props){const data=reactive(props.initialData),editing=reactive({row:null,col:null}),cellStyles=reactive({}),getCellStyle=(e,t)=>{const n=`${e}-${t}`;return cellStyles[n]||{}},setCellStyle=(e,t,n)=>{const r=`${e}-${t}`;cellStyles[r]={...cellStyles[r]||{},...n}},editCell=(e,t)=>{editing.row=e,editing.col=t},calculateFormula=formula=>{try{return eval(formula.replace(/[^0-9+\-*\/()%.]/g,""))}catch(e){return formula}},handleBlur=(e,t)=>{typeof data[e][t]=="string"&&data[e][t].startsWith("=")&&(data[e][t]=calculateFormula(data[e][t])),editing.row=null,editing.col=null},handleEnter=(e,t)=>{typeof data[e][t]=="string"&&data[e][t].startsWith("=")&&(data[e][t]=calculateFormula(data[e][t])),editing.row=null,editing.col=null},getData=()=>JSON.parse(JSON.stringify(data)),exportToExcel=()=>{__vitePreload(()=>import("./xlsx-DkH2s96g.js"),[]).then(e=>{const t=e.utils.aoa_to_sheet([props.columns,...data]),n=e.utils.book_new();e.utils.book_append_sheet(n,t,"Sheet1"),e.writeFile(n,"export.xlsx")})};return{data,editing,editCell,getData,getCellStyle,setCellStyle,handleBlur,handleEnter,exportToExcel}}}),_export_sfc=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},_hoisted_1={class:"excel-table"},_hoisted_2=["onClick"],_hoisted_3=["value","onInput","onBlur","onKeyup"],_hoisted_4={key:1};function _sfc_render(e,t,n,r,s,i){return openBlock(),createElementBlock("div",_hoisted_1,[createBaseVNode("button",{onClick:t[0]||(t[0]=(...o)=>e.exportToExcel&&e.exportToExcel(...o)),class:"export-button"},"导出Excel"),createBaseVNode("table",null,[createBaseVNode("thead",null,[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.columns,(o,l)=>(openBlock(),createElementBlock("th",{key:l},toDisplayString(o),1))),128))])]),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(e.data,(o,l)=>(openBlock(),createElementBlock("tr",{key:l},[(openBlock(!0),createElementBlock(Fragment,null,renderList(o,(a,d)=>(openBlock(),createElementBlock("td",{key:d,onClick:f=>e.editCell(l,d),style:normalizeStyle(e.getCellStyle(l,d)),class:normalizeClass([e.getCellStyle(l,d).textAlign==="left"?"cell-text-left":"",e.getCellStyle(l,d).textAlign==="center"?"cell-text-center":"",e.getCellStyle(l,d).textAlign==="right"?"cell-text-right":"",e.getCellStyle(l,d).fontWeight==="bold"?"cell-bold":"",e.getCellStyle(l,d).fontStyle==="italic"?"cell-italic":"",e.getCellStyle(l,d).textDecoration==="underline"?"cell-underline":""])},[e.editing.row===l&&e.editing.col===d?(openBlock(),createElementBlock("input",{key:0,value:e.data[l][d],onInput:f=>e.data[l][d]=f.target.value,onBlur:f=>e.handleBlur(l,d),onKeyup:withKeys(f=>e.handleEnter(l,d),["enter"]),autofocus:""},null,40,_hoisted_3)):(openBlock(),createElementBlock("span",_hoisted_4,toDisplayString(a),1))],14,_hoisted_2))),128))]))),128))])])])}const ExcelTable=_export_sfc(_sfc_main$1,[["render",_sfc_render],["__scopeId","data-v-295236bd"]]),_sfc_main=defineComponent({__name:"App",setup(e){const t=["姓名","年龄","城市","部门","入职日期","薪资","公式计算"],n=[["张三",25,"北京","技术部","2020-05-15",15e3,"=B2*1.2"],["李四",30,"上海","市场部","2018-11-20",2e4,"=SUM(F2:F6)"],["王五",28,"广州","人事部","2019-07-10",18e3,"=AVERAGE(B2:B6)"],["赵六",35,"深圳","财务部","2017-03-05",25e3,"=F4*0.8"],["钱七",27,"杭州","研发部","2021-02-15",16e3,"=F5+1000"],["测试1",40,"成都","测试部","2016-01-01",3e4,"=F2+F3"],["测试2",22,"重庆","测试部","2022-06-01",12e3,"=B7*1000"],["测试3",45,"西安","测试部","2015-09-01",35e3,"=F8*1.5"]];return(r,s)=>(openBlock(),createBlock(ExcelTable,{columns:t,"initial-data":n}))}}),App=_export_sfc(_sfc_main,[["__scopeId","data-v-53d3c6a9"]]);createApp(App).mount("#app");