MyWorkTime/dist/assets/index-2e6a5b77.js
2025-07-28 01:04:18 +08:00

18 lines
114 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
* @vue/shared v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function ws(t){const e=Object.create(null);for(const s of t.split(","))e[s]=1;return s=>s in e}const it={},Fe=[],Kt=()=>{},ri=()=>!1,Nn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ds=t=>t.startsWith("onUpdate:"),wt=Object.assign,ks=(t,e)=>{const s=t.indexOf(e);s>-1&&t.splice(s,1)},ii=Object.prototype.hasOwnProperty,nt=(t,e)=>ii.call(t,e),N=Array.isArray,Re=t=>cn(t)==="[object Map]",Hn=t=>cn(t)==="[object Set]",Zs=t=>cn(t)==="[object Date]",K=t=>typeof t=="function",pt=t=>typeof t=="string",Gt=t=>typeof t=="symbol",ft=t=>t!==null&&typeof t=="object",Mo=t=>(ft(t)||K(t))&&K(t.then)&&K(t.catch),jo=Object.prototype.toString,cn=t=>jo.call(t),li=t=>cn(t).slice(8,-1),Po=t=>cn(t)==="[object Object]",xs=t=>pt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Ge=ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vn=t=>{const e=Object.create(null);return s=>e[s]||(e[s]=t(s))},ai=/-(\w)/g,fe=Vn(t=>t.replace(ai,(e,s)=>s?s.toUpperCase():"")),ci=/\B([A-Z])/g,ge=Vn(t=>t.replace(ci,"-$1").toLowerCase()),Io=Vn(t=>t.charAt(0).toUpperCase()+t.slice(1)),$n=Vn(t=>t?`on${Io(t)}`:""),de=(t,e)=>!Object.is(t,e),kn=(t,...e)=>{for(let s=0;s<t.length;s++)t[s](...e)},us=(t,e,s,n=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:s})},An=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Xs;const Un=()=>Xs||(Xs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pt(t){if(N(t)){const e={};for(let s=0;s<t.length;s++){const n=t[s],r=pt(n)?hi(n):Pt(n);if(r)for(const i in r)e[i]=r[i]}return e}else if(pt(t)||ft(t))return t}const ui=/;(?![^(]*\))/g,di=/:([^]+)/,fi=/\/\*[^]*?\*\//g;function hi(t){const e={};return t.replace(fi,"").split(ui).forEach(s=>{if(s){const n=s.split(di);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function W(t){let e="";if(pt(t))e=t;else if(N(t))for(let s=0;s<t.length;s++){const n=W(t[s]);n&&(e+=n+" ")}else if(ft(t))for(const s in t)t[s]&&(e+=s+" ");return e.trim()}const pi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",gi=ws(pi);function Fo(t){return!!t||t===""}function mi(t,e){if(t.length!==e.length)return!1;let s=!0;for(let n=0;s&&n<t.length;n++)s=Kn(t[n],e[n]);return s}function Kn(t,e){if(t===e)return!0;let s=Zs(t),n=Zs(e);if(s||n)return s&&n?t.getTime()===e.getTime():!1;if(s=Gt(t),n=Gt(e),s||n)return t===e;if(s=N(t),n=N(e),s||n)return s&&n?mi(t,e):!1;if(s=ft(t),n=ft(e),s||n){if(!s||!n)return!1;const r=Object.keys(t).length,i=Object.keys(e).length;if(r!==i)return!1;for(const o in t){const l=t.hasOwnProperty(o),d=e.hasOwnProperty(o);if(l&&!d||!l&&d||!Kn(t[o],e[o]))return!1}}return String(t)===String(e)}function vi(t,e){return t.findIndex(s=>Kn(s,e))}const Ro=t=>!!(t&&t.__v_isRef===!0),C=t=>pt(t)?t:t==null?"":N(t)||ft(t)&&(t.toString===jo||!K(t.toString))?Ro(t)?C(t.value):JSON.stringify(t,qo,2):String(t),qo=(t,e)=>Ro(e)?qo(t,e.value):Re(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((s,[n,r],i)=>(s[ts(n,i)+" =>"]=r,s),{})}:Hn(e)?{[`Set(${e.size})`]:[...e.values()].map(s=>ts(s))}:Gt(e)?ts(e):ft(e)&&!N(e)&&!Po(e)?String(e):e,ts=(t,e="")=>{var s;return Gt(t)?`Symbol(${(s=t.description)!=null?s:e})`:t};/**
* @vue/reactivity v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let kt;class yi{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=kt,!e&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].pause();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,s;if(this.scopes)for(e=0,s=this.scopes.length;e<s;e++)this.scopes[e].resume();for(e=0,s=this.effects.length;e<s;e++)this.effects[e].resume()}}run(e){if(this._active){const s=kt;try{return kt=this,e()}finally{kt=s}}}on(){++this._on===1&&(this.prevScope=kt,kt=this)}off(){this._on>0&&--this._on===0&&(kt=this.prevScope,this.prevScope=void 0)}stop(e){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&&!e){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Lo(){return kt}function _i(t,e=!1){kt&&kt.cleanups.push(t)}let at;const es=new WeakSet;class No{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,kt&&kt.active&&kt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,es.has(this)&&(es.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Vo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$s(this),Uo(this);const e=at,s=Wt;at=this,Wt=!0;try{return this.fn()}finally{Ko(this),at=e,Wt=s,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Os(e);this.deps=this.depsTail=void 0,$s(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?es.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ds(this)&&this.run()}get dirty(){return ds(this)}}let Ho=0,Ye,Ze;function Vo(t,e=!1){if(t.flags|=8,e){t.next=Ze,Ze=t;return}t.next=Ye,Ye=t}function Cs(){Ho++}function Ss(){if(--Ho>0)return;if(Ze){let e=Ze;for(Ze=void 0;e;){const s=e.next;e.next=void 0,e.flags&=-9,e=s}}let t;for(;Ye;){let e=Ye;for(Ye=void 0;e;){const s=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=s}}if(t)throw t}function Uo(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Ko(t){let e,s=t.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Os(n),bi(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}t.deps=e,t.depsTail=s}function ds(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Wo(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Wo(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===sn)||(t.globalVersion=sn,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ds(t))))return;t.flags|=2;const e=t.dep,s=at,n=Wt;at=t,Wt=!0;try{Uo(t);const r=t.fn(t._value);(e.version===0||de(r,t._value))&&(t.flags|=128,t._value=r,e.version++)}catch(r){throw e.version++,r}finally{at=s,Wt=n,Ko(t),t.flags&=-3}}function Os(t,e=!1){const{dep:s,prevSub:n,nextSub:r}=t;if(n&&(n.nextSub=r,t.prevSub=void 0),r&&(r.prevSub=n,t.nextSub=void 0),s.subs===t&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Os(i,!0)}!e&&!--s.sc&&s.map&&s.map.delete(s.key)}function bi(t){const{prevDep:e,nextDep:s}=t;e&&(e.nextDep=s,t.prevDep=void 0),s&&(s.prevDep=e,t.nextDep=void 0)}let Wt=!0;const Bo=[];function oe(){Bo.push(Wt),Wt=!1}function re(){const t=Bo.pop();Wt=t===void 0?!0:t}function $s(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const s=at;at=void 0;try{e()}finally{at=s}}}let sn=0;class Ti{constructor(e,s){this.sub=e,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class As{constructor(e){this.computed=e,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(e){if(!at||!Wt||at===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==at)s=this.activeLink=new Ti(at,this),at.deps?(s.prevDep=at.depsTail,at.depsTail.nextDep=s,at.depsTail=s):at.deps=at.depsTail=s,zo(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=at.depsTail,s.nextDep=void 0,at.depsTail.nextDep=s,at.depsTail=s,at.deps===s&&(at.deps=n)}return s}trigger(e){this.version++,sn++,this.notify(e)}notify(e){Cs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ss()}}}function zo(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)zo(n)}const s=t.dep.subs;s!==t&&(t.prevSub=s,s&&(s.nextSub=t)),t.dep.subs=t}}const fs=new WeakMap,Ce=Symbol(""),hs=Symbol(""),on=Symbol("");function xt(t,e,s){if(Wt&&at){let n=fs.get(t);n||fs.set(t,n=new Map);let r=n.get(s);r||(n.set(s,r=new As),r.map=n,r.key=s),r.track()}}function ne(t,e,s,n,r,i){const o=fs.get(t);if(!o){sn++;return}const l=d=>{d&&d.trigger()};if(Cs(),e==="clear")o.forEach(l);else{const d=N(t),m=d&&xs(s);if(d&&s==="length"){const p=Number(n);o.forEach((y,E)=>{(E==="length"||E===on||!Gt(E)&&E>=p)&&l(y)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),m&&l(o.get(on)),e){case"add":d?m&&l(o.get("length")):(l(o.get(Ce)),Re(t)&&l(o.get(hs)));break;case"delete":d||(l(o.get(Ce)),Re(t)&&l(o.get(hs)));break;case"set":Re(t)&&l(o.get(Ce));break}}Ss()}function je(t){const e=et(t);return e===t?e:(xt(e,"iterate",on),Vt(t)?e:e.map(Tt))}function Wn(t){return xt(t=et(t),"iterate",on),t}const wi={__proto__:null,[Symbol.iterator](){return ns(this,Symbol.iterator,Tt)},concat(...t){return je(this).concat(...t.map(e=>N(e)?je(e):e))},entries(){return ns(this,"entries",t=>(t[1]=Tt(t[1]),t))},every(t,e){return te(this,"every",t,e,void 0,arguments)},filter(t,e){return te(this,"filter",t,e,s=>s.map(Tt),arguments)},find(t,e){return te(this,"find",t,e,Tt,arguments)},findIndex(t,e){return te(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return te(this,"findLast",t,e,Tt,arguments)},findLastIndex(t,e){return te(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return te(this,"forEach",t,e,void 0,arguments)},includes(...t){return ss(this,"includes",t)},indexOf(...t){return ss(this,"indexOf",t)},join(t){return je(this).join(t)},lastIndexOf(...t){return ss(this,"lastIndexOf",t)},map(t,e){return te(this,"map",t,e,void 0,arguments)},pop(){return Be(this,"pop")},push(...t){return Be(this,"push",t)},reduce(t,...e){return to(this,"reduce",t,e)},reduceRight(t,...e){return to(this,"reduceRight",t,e)},shift(){return Be(this,"shift")},some(t,e){return te(this,"some",t,e,void 0,arguments)},splice(...t){return Be(this,"splice",t)},toReversed(){return je(this).toReversed()},toSorted(t){return je(this).toSorted(t)},toSpliced(...t){return je(this).toSpliced(...t)},unshift(...t){return Be(this,"unshift",t)},values(){return ns(this,"values",Tt)}};function ns(t,e,s){const n=Wn(t),r=n[e]();return n!==t&&!Vt(t)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=s(i.value)),i}),r}const Di=Array.prototype;function te(t,e,s,n,r,i){const o=Wn(t),l=o!==t&&!Vt(t),d=o[e];if(d!==Di[e]){const y=d.apply(t,i);return l?Tt(y):y}let m=s;o!==t&&(l?m=function(y,E){return s.call(this,Tt(y),E,t)}:s.length>2&&(m=function(y,E){return s.call(this,y,E,t)}));const p=d.call(o,m,n);return l&&r?r(p):p}function to(t,e,s,n){const r=Wn(t);let i=s;return r!==t&&(Vt(t)?s.length>3&&(i=function(o,l,d){return s.call(this,o,l,d,t)}):i=function(o,l,d){return s.call(this,o,Tt(l),d,t)}),r[e](i,...n)}function ss(t,e,s){const n=et(t);xt(n,"iterate",on);const r=n[e](...s);return(r===-1||r===!1)&&Is(s[0])?(s[0]=et(s[0]),n[e](...s)):r}function Be(t,e,s=[]){oe(),Cs();const n=et(t)[e].apply(t,s);return Ss(),re(),n}const ki=ws("__proto__,__v_isRef,__isVue"),Jo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Gt));function xi(t){Gt(t)||(t=String(t));const e=et(this);return xt(e,"has",t),e.hasOwnProperty(t)}class Qo{constructor(e=!1,s=!1){this._isReadonly=e,this._isShallow=s}get(e,s,n){if(s==="__v_skip")return e.__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?Fi:Xo:i?Zo:Yo).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=N(e);if(!r){let d;if(o&&(d=wi[s]))return d;if(s==="hasOwnProperty")return xi}const l=Reflect.get(e,s,Ct(e)?e:n);return(Gt(s)?Jo.has(s):ki(s))||(r||xt(e,"get",s),i)?l:Ct(l)?o&&xs(s)?l:l.value:ft(l)?r?js(l):Ms(l):l}}class Go extends Qo{constructor(e=!1){super(!1,e)}set(e,s,n,r){let i=e[s];if(!this._isShallow){const d=he(i);if(!Vt(n)&&!he(n)&&(i=et(i),n=et(n)),!N(e)&&Ct(i)&&!Ct(n))return d?!1:(i.value=n,!0)}const o=N(e)&&xs(s)?Number(s)<e.length:nt(e,s),l=Reflect.set(e,s,n,Ct(e)?e:r);return e===et(r)&&(o?de(n,i)&&ne(e,"set",s,n):ne(e,"add",s,n)),l}deleteProperty(e,s){const n=nt(e,s);e[s];const r=Reflect.deleteProperty(e,s);return r&&n&&ne(e,"delete",s,void 0),r}has(e,s){const n=Reflect.has(e,s);return(!Gt(s)||!Jo.has(s))&&xt(e,"has",s),n}ownKeys(e){return xt(e,"iterate",N(e)?"length":Ce),Reflect.ownKeys(e)}}class Ci extends Qo{constructor(e=!1){super(!0,e)}set(e,s){return!0}deleteProperty(e,s){return!0}}const Si=new Go,Oi=new Ci,Ai=new Go(!0);const ps=t=>t,yn=t=>Reflect.getPrototypeOf(t);function Ei(t,e,s){return function(...n){const r=this.__v_raw,i=et(r),o=Re(i),l=t==="entries"||t===Symbol.iterator&&o,d=t==="keys"&&o,m=r[t](...n),p=s?ps:e?En:Tt;return!e&&xt(i,"iterate",d?hs:Ce),{next(){const{value:y,done:E}=m.next();return E?{value:y,done:E}:{value:l?[p(y[0]),p(y[1])]:p(y),done:E}},[Symbol.iterator](){return this}}}}function _n(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Mi(t,e){const s={get(r){const i=this.__v_raw,o=et(i),l=et(r);t||(de(r,l)&&xt(o,"get",r),xt(o,"get",l));const{has:d}=yn(o),m=e?ps:t?En:Tt;if(d.call(o,r))return m(i.get(r));if(d.call(o,l))return m(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!t&&xt(et(r),"iterate",Ce),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=et(i),l=et(r);return t||(de(r,l)&&xt(o,"has",r),xt(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,d=et(l),m=e?ps:t?En:Tt;return!t&&xt(d,"iterate",Ce),l.forEach((p,y)=>r.call(i,m(p),m(y),o))}};return wt(s,t?{add:_n("add"),set:_n("set"),delete:_n("delete"),clear:_n("clear")}:{add(r){!e&&!Vt(r)&&!he(r)&&(r=et(r));const i=et(this);return yn(i).has.call(i,r)||(i.add(r),ne(i,"add",r,r)),this},set(r,i){!e&&!Vt(i)&&!he(i)&&(i=et(i));const o=et(this),{has:l,get:d}=yn(o);let m=l.call(o,r);m||(r=et(r),m=l.call(o,r));const p=d.call(o,r);return o.set(r,i),m?de(i,p)&&ne(o,"set",r,i):ne(o,"add",r,i),this},delete(r){const i=et(this),{has:o,get:l}=yn(i);let d=o.call(i,r);d||(r=et(r),d=o.call(i,r)),l&&l.call(i,r);const m=i.delete(r);return d&&ne(i,"delete",r,void 0),m},clear(){const r=et(this),i=r.size!==0,o=r.clear();return i&&ne(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Ei(r,t,e)}),s}function Es(t,e){const s=Mi(t,e);return(n,r,i)=>r==="__v_isReactive"?!t:r==="__v_isReadonly"?t:r==="__v_raw"?n:Reflect.get(nt(s,r)&&r in n?s:n,r,i)}const ji={get:Es(!1,!1)},Pi={get:Es(!1,!0)},Ii={get:Es(!0,!1)};const Yo=new WeakMap,Zo=new WeakMap,Xo=new WeakMap,Fi=new WeakMap;function Ri(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qi(t){return t.__v_skip||!Object.isExtensible(t)?0:Ri(li(t))}function Ms(t){return he(t)?t:Ps(t,!1,Si,ji,Yo)}function Li(t){return Ps(t,!1,Ai,Pi,Zo)}function js(t){return Ps(t,!0,Oi,Ii,Xo)}function Ps(t,e,s,n,r){if(!ft(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=qi(t);if(i===0)return t;const o=r.get(t);if(o)return o;const l=new Proxy(t,i===2?n:s);return r.set(t,l),l}function qe(t){return he(t)?qe(t.__v_raw):!!(t&&t.__v_isReactive)}function he(t){return!!(t&&t.__v_isReadonly)}function Vt(t){return!!(t&&t.__v_isShallow)}function Is(t){return t?!!t.__v_raw:!1}function et(t){const e=t&&t.__v_raw;return e?et(e):t}function Ni(t){return!nt(t,"__v_skip")&&Object.isExtensible(t)&&us(t,"__v_skip",!0),t}const Tt=t=>ft(t)?Ms(t):t,En=t=>ft(t)?js(t):t;function Ct(t){return t?t.__v_isRef===!0:!1}function tt(t){return $o(t,!1)}function Hi(t){return $o(t,!0)}function $o(t,e){return Ct(t)?t:new Vi(t,e)}class Vi{constructor(e,s){this.dep=new As,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?e:et(e),this._value=s?e:Tt(e),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(e){const s=this._rawValue,n=this.__v_isShallow||Vt(e)||he(e);e=n?e:et(e),de(e,s)&&(this._rawValue=e,this._value=n?e:Tt(e),this.dep.trigger())}}function tr(t){return Ct(t)?t.value:t}const Ui={get:(t,e,s)=>e==="__v_raw"?t:tr(Reflect.get(t,e,s)),set:(t,e,s,n)=>{const r=t[e];return Ct(r)&&!Ct(s)?(r.value=s,!0):Reflect.set(t,e,s,n)}};function er(t){return qe(t)?t:new Proxy(t,Ui)}class Ki{constructor(e,s,n){this.fn=e,this.setter=s,this._value=void 0,this.dep=new As(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=sn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&at!==this)return Vo(this,!0),!0}get value(){const e=this.dep.track();return Wo(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Wi(t,e,s=!1){let n,r;return K(t)?n=t:(n=t.get,r=t.set),new Ki(n,r,s)}const bn={},Mn=new WeakMap;let ke;function Bi(t,e=!1,s=ke){if(s){let n=Mn.get(s);n||Mn.set(s,n=[]),n.push(t)}}function zi(t,e,s=it){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:d}=s,m=R=>r?R:Vt(R)||r===!1||r===0?se(R,1):se(R);let p,y,E,P,U=!1,H=!1;if(Ct(t)?(y=()=>t.value,U=Vt(t)):qe(t)?(y=()=>m(t),U=!0):N(t)?(H=!0,U=t.some(R=>qe(R)||Vt(R)),y=()=>t.map(R=>{if(Ct(R))return R.value;if(qe(R))return m(R);if(K(R))return d?d(R,2):R()})):K(t)?e?y=d?()=>d(t,2):t:y=()=>{if(E){oe();try{E()}finally{re()}}const R=ke;ke=p;try{return d?d(t,3,[P]):t(P)}finally{ke=R}}:y=Kt,e&&r){const R=y,lt=r===!0?1/0:r;y=()=>se(R(),lt)}const st=Lo(),G=()=>{p.stop(),st&&st.active&&ks(st.effects,p)};if(i&&e){const R=e;e=(...lt)=>{R(...lt),G()}}let Y=H?new Array(t.length).fill(bn):bn;const X=R=>{if(!(!(p.flags&1)||!p.dirty&&!R))if(e){const lt=p.run();if(r||U||(H?lt.some((It,vt)=>de(It,Y[vt])):de(lt,Y))){E&&E();const It=ke;ke=p;try{const vt=[lt,Y===bn?void 0:H&&Y[0]===bn?[]:Y,P];Y=lt,d?d(e,3,vt):e(...vt)}finally{ke=It}}}else p.run()};return l&&l(X),p=new No(y),p.scheduler=o?()=>o(X,!1):X,P=R=>Bi(R,!1,p),E=p.onStop=()=>{const R=Mn.get(p);if(R){if(d)d(R,4);else for(const lt of R)lt();Mn.delete(p)}},e?n?X(!0):Y=p.run():o?o(X.bind(null,!0),!0):p.run(),G.pause=p.pause.bind(p),G.resume=p.resume.bind(p),G.stop=G,G}function se(t,e=1/0,s){if(e<=0||!ft(t)||t.__v_skip||(s=s||new Set,s.has(t)))return t;if(s.add(t),e--,Ct(t))se(t.value,e,s);else if(N(t))for(let n=0;n<t.length;n++)se(t[n],e,s);else if(Hn(t)||Re(t))t.forEach(n=>{se(n,e,s)});else if(Po(t)){for(const n in t)se(t[n],e,s);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&se(t[n],e,s)}return t}/**
* @vue/runtime-core v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function un(t,e,s,n){try{return n?t(...n):t()}catch(r){Bn(r,e,s)}}function Yt(t,e,s,n){if(K(t)){const r=un(t,e,s,n);return r&&Mo(r)&&r.catch(i=>{Bn(i,e,s)}),r}if(N(t)){const r=[];for(let i=0;i<t.length;i++)r.push(Yt(t[i],e,s,n));return r}}function Bn(t,e,s,n=!0){const r=e?e.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=e&&e.appContext.config||it;if(e){let l=e.parent;const d=e.proxy,m=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const p=l.ec;if(p){for(let y=0;y<p.length;y++)if(p[y](t,d,m)===!1)return}l=l.parent}if(i){oe(),un(i,null,10,[t,d,m]),re();return}}Ji(t,s,r,n,o)}function Ji(t,e,s,n=!0,r=!1){if(r)throw t;console.error(t)}const Mt=[];let zt=-1;const Le=[];let ce=null,Ie=0;const nr=Promise.resolve();let jn=null;function Se(t){const e=jn||nr;return t?e.then(this?t.bind(this):t):e}function Qi(t){let e=zt+1,s=Mt.length;for(;e<s;){const n=e+s>>>1,r=Mt[n],i=rn(r);i<t||i===t&&r.flags&2?e=n+1:s=n}return e}function Fs(t){if(!(t.flags&1)){const e=rn(t),s=Mt[Mt.length-1];!s||!(t.flags&2)&&e>=rn(s)?Mt.push(t):Mt.splice(Qi(e),0,t),t.flags|=1,sr()}}function sr(){jn||(jn=nr.then(rr))}function Gi(t){N(t)?Le.push(...t):ce&&t.id===-1?ce.splice(Ie+1,0,t):t.flags&1||(Le.push(t),t.flags|=1),sr()}function eo(t,e,s=zt+1){for(;s<Mt.length;s++){const n=Mt[s];if(n&&n.flags&2){if(t&&n.id!==t.uid)continue;Mt.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function or(t){if(Le.length){const e=[...new Set(Le)].sort((s,n)=>rn(s)-rn(n));if(Le.length=0,ce){ce.push(...e);return}for(ce=e,Ie=0;Ie<ce.length;Ie++){const s=ce[Ie];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ce=null,Ie=0}}const rn=t=>t.id==null?t.flags&2?-1:1/0:t.id;function rr(t){const e=Kt;try{for(zt=0;zt<Mt.length;zt++){const s=Mt[zt];s&&!(s.flags&8)&&(s.flags&4&&(s.flags&=-2),un(s,s.i,s.i?15:14),s.flags&4||(s.flags&=-2))}}finally{for(;zt<Mt.length;zt++){const s=Mt[zt];s&&(s.flags&=-2)}zt=-1,Mt.length=0,or(),jn=null,(Mt.length||Le.length)&&rr()}}let Ht=null,ir=null;function Pn(t){const e=Ht;return Ht=t,ir=t&&t.type.__scopeId||null,e}function Yi(t,e=Ht,s){if(!e||t._n)return t;const n=(...r)=>{n._d&&co(-1);const i=Pn(e);let o;try{o=t(...r)}finally{Pn(i),n._d&&co(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ut(t,e){if(Ht===null)return t;const s=Gn(Ht),n=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[i,o,l,d=it]=e[r];i&&(K(i)&&(i={mounted:i,updated:i}),i.deep&&se(o),n.push({dir:i,instance:s,value:o,oldValue:void 0,arg:l,modifiers:d}))}return t}function we(t,e,s,n){const r=t.dirs,i=e&&e.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let d=l.dir[n];d&&(oe(),Yt(d,s,8,[t.el,l,t,e]),re())}}const Zi=Symbol("_vte"),Xi=t=>t.__isTeleport;function Rs(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Rs(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function lr(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function Xe(t,e,s,n,r=!1){if(N(t)){t.forEach((U,H)=>Xe(U,e&&(N(e)?e[H]:e),s,n,r));return}if($e(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Xe(t,e,s,n.component.subTree);return}const i=n.shapeFlag&4?Gn(n.component):n.el,o=r?null:i,{i:l,r:d}=t,m=e&&e.r,p=l.refs===it?l.refs={}:l.refs,y=l.setupState,E=et(y),P=y===it?()=>!1:U=>nt(E,U);if(m!=null&&m!==d&&(pt(m)?(p[m]=null,P(m)&&(y[m]=null)):Ct(m)&&(m.value=null)),K(d))un(d,l,12,[o,p]);else{const U=pt(d),H=Ct(d);if(U||H){const st=()=>{if(t.f){const G=U?P(d)?y[d]:p[d]:d.value;r?N(G)&&ks(G,i):N(G)?G.includes(i)||G.push(i):U?(p[d]=[i],P(d)&&(y[d]=p[d])):(d.value=[i],t.k&&(p[t.k]=d.value))}else U?(p[d]=o,P(d)&&(y[d]=o)):H&&(d.value=o,t.k&&(p[t.k]=o))};o?(st.id=-1,Rt(st,s)):st()}}}Un().requestIdleCallback;Un().cancelIdleCallback;const $e=t=>!!t.type.__asyncLoader,ar=t=>t.type.__isKeepAlive;function $i(t,e){cr(t,"a",e)}function tl(t,e){cr(t,"da",e)}function cr(t,e,s=jt){const n=t.__wdc||(t.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return t()});if(zn(e,n,s),s){let r=s.parent;for(;r&&r.parent;)ar(r.parent.vnode)&&el(n,e,s,r),r=r.parent}}function el(t,e,s,n){const r=zn(e,t,n,!0);Ls(()=>{ks(n[e],r)},s)}function zn(t,e,s=jt,n=!1){if(s){const r=s[t]||(s[t]=[]),i=e.__weh||(e.__weh=(...o)=>{oe();const l=dn(s),d=Yt(e,s,t,o);return l(),re(),d});return n?r.unshift(i):r.push(i),i}}const ie=t=>(e,s=jt)=>{(!an||t==="sp")&&zn(t,(...n)=>e(...n),s)},nl=ie("bm"),qs=ie("m"),sl=ie("bu"),ol=ie("u"),rl=ie("bum"),Ls=ie("um"),il=ie("sp"),ll=ie("rtg"),al=ie("rtc");function cl(t,e=jt){zn("ec",t,e)}const ul=Symbol.for("v-ndc");function dt(t,e,s,n){let r;const i=s&&s[n],o=N(t);if(o||pt(t)){const l=o&&qe(t);let d=!1,m=!1;l&&(d=!Vt(t),m=he(t),t=Wn(t)),r=new Array(t.length);for(let p=0,y=t.length;p<y;p++)r[p]=e(d?m?En(Tt(t[p])):Tt(t[p]):t[p],p,void 0,i&&i[p])}else if(typeof t=="number"){r=new Array(t);for(let l=0;l<t;l++)r[l]=e(l+1,l,void 0,i&&i[l])}else if(ft(t))if(t[Symbol.iterator])r=Array.from(t,(l,d)=>e(l,d,void 0,i&&i[d]));else{const l=Object.keys(t);r=new Array(l.length);for(let d=0,m=l.length;d<m;d++){const p=l[d];r[d]=e(t[p],p,d,i&&i[d])}}else r=[];return s&&(s[n]=r),r}const gs=t=>t?Er(t)?Gn(t):gs(t.parent):null,tn=wt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>gs(t.parent),$root:t=>gs(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Ns(t),$forceUpdate:t=>t.f||(t.f=()=>{Fs(t.update)}),$nextTick:t=>t.n||(t.n=Se.bind(t.proxy)),$watch:t=>jl.bind(t)}),os=(t,e)=>t!==it&&!t.__isScriptSetup&&nt(t,e),dl={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:d}=t;let m;if(e[0]!=="$"){const P=o[e];if(P!==void 0)switch(P){case 1:return n[e];case 2:return r[e];case 4:return s[e];case 3:return i[e]}else{if(os(n,e))return o[e]=1,n[e];if(r!==it&&nt(r,e))return o[e]=2,r[e];if((m=t.propsOptions[0])&&nt(m,e))return o[e]=3,i[e];if(s!==it&&nt(s,e))return o[e]=4,s[e];ms&&(o[e]=0)}}const p=tn[e];let y,E;if(p)return e==="$attrs"&&xt(t.attrs,"get",""),p(t);if((y=l.__cssModules)&&(y=y[e]))return y;if(s!==it&&nt(s,e))return o[e]=4,s[e];if(E=d.config.globalProperties,nt(E,e))return E[e]},set({_:t},e,s){const{data:n,setupState:r,ctx:i}=t;return os(r,e)?(r[e]=s,!0):n!==it&&nt(n,e)?(n[e]=s,!0):nt(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=s,!0)},has({_:{data:t,setupState:e,accessCache:s,ctx:n,appContext:r,propsOptions:i}},o){let l;return!!s[o]||t!==it&&nt(t,o)||os(e,o)||(l=i[0])&&nt(l,o)||nt(n,o)||nt(tn,o)||nt(r.config.globalProperties,o)},defineProperty(t,e,s){return s.get!=null?t._.accessCache[e]=0:nt(s,"value")&&this.set(t,e,s.value,null),Reflect.defineProperty(t,e,s)}};function no(t){return N(t)?t.reduce((e,s)=>(e[s]=null,e),{}):t}let ms=!0;function fl(t){const e=Ns(t),s=t.proxy,n=t.ctx;ms=!1,e.beforeCreate&&so(e.beforeCreate,t,"bc");const{data:r,computed:i,methods:o,watch:l,provide:d,inject:m,created:p,beforeMount:y,mounted:E,beforeUpdate:P,updated:U,activated:H,deactivated:st,beforeDestroy:G,beforeUnmount:Y,destroyed:X,unmounted:R,render:lt,renderTracked:It,renderTriggered:vt,errorCaptured:ht,serverPrefetch:le,expose:V,inheritAttrs:Z,components:yt,directives:Zt,filters:me}=e;if(m&&hl(m,n,null),o)for(const ct in o){const ot=o[ct];K(ot)&&(n[ct]=ot.bind(s))}if(r){const ct=r.call(s,s);ft(ct)&&(t.data=Ms(ct))}if(ms=!0,i)for(const ct in i){const ot=i[ct],Xt=K(ot)?ot.bind(s,s):K(ot.get)?ot.get.bind(s,s):Kt,Oe=!K(ot)&&K(ot.set)?ot.set.bind(s):Kt,$t=mt({get:Xt,set:Oe});Object.defineProperty(n,ct,{enumerable:!0,configurable:!0,get:()=>$t.value,set:Lt=>$t.value=Lt})}if(l)for(const ct in l)ur(l[ct],n,s,ct);if(d){const ct=K(d)?d.call(s):d;Reflect.ownKeys(ct).forEach(ot=>{_l(ot,ct[ot])})}p&&so(p,t,"c");function _t(ct,ot){N(ot)?ot.forEach(Xt=>ct(Xt.bind(s))):ot&&ct(ot.bind(s))}if(_t(nl,y),_t(qs,E),_t(sl,P),_t(ol,U),_t($i,H),_t(tl,st),_t(cl,ht),_t(al,It),_t(ll,vt),_t(rl,Y),_t(Ls,R),_t(il,le),N(V))if(V.length){const ct=t.exposed||(t.exposed={});V.forEach(ot=>{Object.defineProperty(ct,ot,{get:()=>s[ot],set:Xt=>s[ot]=Xt,enumerable:!0})})}else t.exposed||(t.exposed={});lt&&t.render===Kt&&(t.render=lt),Z!=null&&(t.inheritAttrs=Z),yt&&(t.components=yt),Zt&&(t.directives=Zt),le&&lr(t)}function hl(t,e,s=Kt){N(t)&&(t=vs(t));for(const n in t){const r=t[n];let i;ft(r)?"default"in r?i=xn(r.from||n,r.default,!0):i=xn(r.from||n):i=xn(r),Ct(i)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):e[n]=i}}function so(t,e,s){Yt(N(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,s)}function ur(t,e,s,n){let r=n.includes(".")?Dr(s,n):()=>s[n];if(pt(t)){const i=e[t];K(i)&&en(r,i)}else if(K(t))en(r,t.bind(s));else if(ft(t))if(N(t))t.forEach(i=>ur(i,e,s,n));else{const i=K(t.handler)?t.handler.bind(s):e[t.handler];K(i)&&en(r,i,t)}}function Ns(t){const e=t.type,{mixins:s,extends:n}=e,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=t.appContext,l=i.get(e);let d;return l?d=l:!r.length&&!s&&!n?d=e:(d={},r.length&&r.forEach(m=>In(d,m,o,!0)),In(d,e,o)),ft(e)&&i.set(e,d),d}function In(t,e,s,n=!1){const{mixins:r,extends:i}=e;i&&In(t,i,s,!0),r&&r.forEach(o=>In(t,o,s,!0));for(const o in e)if(!(n&&o==="expose")){const l=pl[o]||s&&s[o];t[o]=l?l(t[o],e[o]):e[o]}return t}const pl={data:oo,props:ro,emits:ro,methods:Qe,computed:Qe,beforeCreate:Et,created:Et,beforeMount:Et,mounted:Et,beforeUpdate:Et,updated:Et,beforeDestroy:Et,beforeUnmount:Et,destroyed:Et,unmounted:Et,activated:Et,deactivated:Et,errorCaptured:Et,serverPrefetch:Et,components:Qe,directives:Qe,watch:ml,provide:oo,inject:gl};function oo(t,e){return e?t?function(){return wt(K(t)?t.call(this,this):t,K(e)?e.call(this,this):e)}:e:t}function gl(t,e){return Qe(vs(t),vs(e))}function vs(t){if(N(t)){const e={};for(let s=0;s<t.length;s++)e[t[s]]=t[s];return e}return t}function Et(t,e){return t?[...new Set([].concat(t,e))]:e}function Qe(t,e){return t?wt(Object.create(null),t,e):e}function ro(t,e){return t?N(t)&&N(e)?[...new Set([...t,...e])]:wt(Object.create(null),no(t),no(e??{})):e}function ml(t,e){if(!t)return e;if(!e)return t;const s=wt(Object.create(null),t);for(const n in e)s[n]=Et(t[n],e[n]);return s}function dr(){return{app:null,config:{isNativeTag:ri,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let vl=0;function yl(t,e){return function(n,r=null){K(n)||(n=wt({},n)),r!=null&&!ft(r)&&(r=null);const i=dr(),o=new WeakSet,l=[];let d=!1;const m=i.app={_uid:vl++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:$l,get config(){return i.config},set config(p){},use(p,...y){return o.has(p)||(p&&K(p.install)?(o.add(p),p.install(m,...y)):K(p)&&(o.add(p),p(m,...y))),m},mixin(p){return i.mixins.includes(p)||i.mixins.push(p),m},component(p,y){return y?(i.components[p]=y,m):i.components[p]},directive(p,y){return y?(i.directives[p]=y,m):i.directives[p]},mount(p,y,E){if(!d){const P=m._ceVNode||Qt(n,r);return P.appContext=i,E===!0?E="svg":E===!1&&(E=void 0),y&&e?e(P,p):t(P,p,E),d=!0,m._container=p,p.__vue_app__=m,Gn(P.component)}},onUnmount(p){l.push(p)},unmount(){d&&(Yt(l,m._instance,16),t(null,m._container),delete m._container.__vue_app__)},provide(p,y){return i.provides[p]=y,m},runWithContext(p){const y=Ne;Ne=m;try{return p()}finally{Ne=y}}};return m}}let Ne=null;function _l(t,e){if(jt){let s=jt.provides;const n=jt.parent&&jt.parent.provides;n===s&&(s=jt.provides=Object.create(n)),s[t]=e}}function xn(t,e,s=!1){const n=Ar();if(n||Ne){let r=Ne?Ne._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&t in r)return r[t];if(arguments.length>1)return s&&K(e)?e.call(n&&n.proxy):e}}const fr={},hr=()=>Object.create(fr),pr=t=>Object.getPrototypeOf(t)===fr;function bl(t,e,s,n=!1){const r={},i=hr();t.propsDefaults=Object.create(null),gr(t,e,r,i);for(const o in t.propsOptions[0])o in r||(r[o]=void 0);s?t.props=n?r:Li(r):t.type.props?t.props=r:t.props=i,t.attrs=i}function Tl(t,e,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=t,l=et(r),[d]=t.propsOptions;let m=!1;if((n||o>0)&&!(o&16)){if(o&8){const p=t.vnode.dynamicProps;for(let y=0;y<p.length;y++){let E=p[y];if(Jn(t.emitsOptions,E))continue;const P=e[E];if(d)if(nt(i,E))P!==i[E]&&(i[E]=P,m=!0);else{const U=fe(E);r[U]=ys(d,l,U,P,t,!1)}else P!==i[E]&&(i[E]=P,m=!0)}}}else{gr(t,e,r,i)&&(m=!0);let p;for(const y in l)(!e||!nt(e,y)&&((p=ge(y))===y||!nt(e,p)))&&(d?s&&(s[y]!==void 0||s[p]!==void 0)&&(r[y]=ys(d,l,y,void 0,t,!0)):delete r[y]);if(i!==l)for(const y in i)(!e||!nt(e,y))&&(delete i[y],m=!0)}m&&ne(t.attrs,"set","")}function gr(t,e,s,n){const[r,i]=t.propsOptions;let o=!1,l;if(e)for(let d in e){if(Ge(d))continue;const m=e[d];let p;r&&nt(r,p=fe(d))?!i||!i.includes(p)?s[p]=m:(l||(l={}))[p]=m:Jn(t.emitsOptions,d)||(!(d in n)||m!==n[d])&&(n[d]=m,o=!0)}if(i){const d=et(s),m=l||it;for(let p=0;p<i.length;p++){const y=i[p];s[y]=ys(r,d,y,m[y],t,!nt(m,y))}}return o}function ys(t,e,s,n,r,i){const o=t[s];if(o!=null){const l=nt(o,"default");if(l&&n===void 0){const d=o.default;if(o.type!==Function&&!o.skipFactory&&K(d)){const{propsDefaults:m}=r;if(s in m)n=m[s];else{const p=dn(r);n=m[s]=d.call(null,e),p()}}else n=d;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===ge(s))&&(n=!0))}return n}const wl=new WeakMap;function mr(t,e,s=!1){const n=s?wl:e.propsCache,r=n.get(t);if(r)return r;const i=t.props,o={},l=[];let d=!1;if(!K(t)){const p=y=>{d=!0;const[E,P]=mr(y,e,!0);wt(o,E),P&&l.push(...P)};!s&&e.mixins.length&&e.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}if(!i&&!d)return ft(t)&&n.set(t,Fe),Fe;if(N(i))for(let p=0;p<i.length;p++){const y=fe(i[p]);io(y)&&(o[y]=it)}else if(i)for(const p in i){const y=fe(p);if(io(y)){const E=i[p],P=o[y]=N(E)||K(E)?{type:E}:wt({},E),U=P.type;let H=!1,st=!0;if(N(U))for(let G=0;G<U.length;++G){const Y=U[G],X=K(Y)&&Y.name;if(X==="Boolean"){H=!0;break}else X==="String"&&(st=!1)}else H=K(U)&&U.name==="Boolean";P[0]=H,P[1]=st,(H||nt(P,"default"))&&l.push(y)}}const m=[o,l];return ft(t)&&n.set(t,m),m}function io(t){return t[0]!=="$"&&!Ge(t)}const Hs=t=>t==="_"||t==="__"||t==="_ctx"||t==="$stable",Vs=t=>N(t)?t.map(Jt):[Jt(t)],Dl=(t,e,s)=>{if(e._n)return e;const n=Yi((...r)=>Vs(e(...r)),s);return n._c=!1,n},vr=(t,e,s)=>{const n=t._ctx;for(const r in t){if(Hs(r))continue;const i=t[r];if(K(i))e[r]=Dl(r,i,n);else if(i!=null){const o=Vs(i);e[r]=()=>o}}},yr=(t,e)=>{const s=Vs(e);t.slots.default=()=>s},_r=(t,e,s)=>{for(const n in e)(s||!Hs(n))&&(t[n]=e[n])},kl=(t,e,s)=>{const n=t.slots=hr();if(t.vnode.shapeFlag&32){const r=e.__;r&&us(n,"__",r,!0);const i=e._;i?(_r(n,e,s),s&&us(n,"_",i,!0)):vr(e,n)}else e&&yr(t,e)},xl=(t,e,s)=>{const{vnode:n,slots:r}=t;let i=!0,o=it;if(n.shapeFlag&32){const l=e._;l?s&&l===1?i=!1:_r(r,e,s):(i=!e.$stable,vr(e,r)),o=e}else e&&(yr(t,e),o={default:1});if(i)for(const l in r)!Hs(l)&&o[l]==null&&delete r[l]},Rt=Nl;function Cl(t){return Sl(t)}function Sl(t,e){const s=Un();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:d,setText:m,setElementText:p,parentNode:y,nextSibling:E,setScopeId:P=Kt,insertStaticContent:U}=t,H=(c,f,v,w=null,_=null,b=null,M=void 0,A=null,O=!!f.dynamicChildren)=>{if(c===f)return;c&&!ze(c,f)&&(w=Ae(c),Lt(c,_,b,!0),c=null),f.patchFlag===-2&&(O=!1,f.dynamicChildren=null);const{type:D,ref:F,shapeFlag:j}=f;switch(D){case Qn:st(c,f,v,w);break;case pe:G(c,f,v,w);break;case Cn:c==null&&Y(f,v,w,M);break;case Q:yt(c,f,v,w,_,b,M,A,O);break;default:j&1?lt(c,f,v,w,_,b,M,A,O):j&6?Zt(c,f,v,w,_,b,M,A,O):(j&64||j&128)&&D.process(c,f,v,w,_,b,M,A,O,ae)}F!=null&&_?Xe(F,c&&c.ref,b,f||c,!f):F==null&&c&&c.ref!=null&&Xe(c.ref,null,b,c,!0)},st=(c,f,v,w)=>{if(c==null)n(f.el=l(f.children),v,w);else{const _=f.el=c.el;f.children!==c.children&&m(_,f.children)}},G=(c,f,v,w)=>{c==null?n(f.el=d(f.children||""),v,w):f.el=c.el},Y=(c,f,v,w)=>{[c.el,c.anchor]=U(c.children,f,v,w,c.el,c.anchor)},X=({el:c,anchor:f},v,w)=>{let _;for(;c&&c!==f;)_=E(c),n(c,v,w),c=_;n(f,v,w)},R=({el:c,anchor:f})=>{let v;for(;c&&c!==f;)v=E(c),r(c),c=v;r(f)},lt=(c,f,v,w,_,b,M,A,O)=>{f.type==="svg"?M="svg":f.type==="math"&&(M="mathml"),c==null?It(f,v,w,_,b,M,A,O):le(c,f,_,b,M,A,O)},It=(c,f,v,w,_,b,M,A)=>{let O,D;const{props:F,shapeFlag:j,transition:I,dirs:L}=c;if(O=c.el=o(c.type,b,F&&F.is,F),j&8?p(O,c.children):j&16&&ht(c.children,O,null,w,_,rs(c,b),M,A),L&&we(c,null,w,"created"),vt(O,c,c.scopeId,M,w),F){for(const rt in F)rt!=="value"&&!Ge(rt)&&i(O,rt,null,F[rt],b,w);"value"in F&&i(O,"value",null,F.value,b),(D=F.onVnodeBeforeMount)&&Bt(D,w,c)}L&&we(c,null,w,"beforeMount");const B=Ol(_,I);B&&I.beforeEnter(O),n(O,f,v),((D=F&&F.onVnodeMounted)||B||L)&&Rt(()=>{D&&Bt(D,w,c),B&&I.enter(O),L&&we(c,null,w,"mounted")},_)},vt=(c,f,v,w,_)=>{if(v&&P(c,v),w)for(let b=0;b<w.length;b++)P(c,w[b]);if(_){let b=_.subTree;if(f===b||xr(b.type)&&(b.ssContent===f||b.ssFallback===f)){const M=_.vnode;vt(c,M,M.scopeId,M.slotScopeIds,_.parent)}}},ht=(c,f,v,w,_,b,M,A,O=0)=>{for(let D=O;D<c.length;D++){const F=c[D]=A?ue(c[D]):Jt(c[D]);H(null,F,f,v,w,_,b,M,A)}},le=(c,f,v,w,_,b,M)=>{const A=f.el=c.el;let{patchFlag:O,dynamicChildren:D,dirs:F}=f;O|=c.patchFlag&16;const j=c.props||it,I=f.props||it;let L;if(v&&De(v,!1),(L=I.onVnodeBeforeUpdate)&&Bt(L,v,f,c),F&&we(f,c,v,"beforeUpdate"),v&&De(v,!0),(j.innerHTML&&I.innerHTML==null||j.textContent&&I.textContent==null)&&p(A,""),D?V(c.dynamicChildren,D,A,v,w,rs(f,_),b):M||ot(c,f,A,null,v,w,rs(f,_),b,!1),O>0){if(O&16)Z(A,j,I,v,_);else if(O&2&&j.class!==I.class&&i(A,"class",null,I.class,_),O&4&&i(A,"style",j.style,I.style,_),O&8){const B=f.dynamicProps;for(let rt=0;rt<B.length;rt++){const $=B[rt],bt=j[$],gt=I[$];(gt!==bt||$==="value")&&i(A,$,bt,gt,_,v)}}O&1&&c.children!==f.children&&p(A,f.children)}else!M&&D==null&&Z(A,j,I,v,_);((L=I.onVnodeUpdated)||F)&&Rt(()=>{L&&Bt(L,v,f,c),F&&we(f,c,v,"updated")},w)},V=(c,f,v,w,_,b,M)=>{for(let A=0;A<f.length;A++){const O=c[A],D=f[A],F=O.el&&(O.type===Q||!ze(O,D)||O.shapeFlag&198)?y(O.el):v;H(O,D,F,null,w,_,b,M,!0)}},Z=(c,f,v,w,_)=>{if(f!==v){if(f!==it)for(const b in f)!Ge(b)&&!(b in v)&&i(c,b,f[b],null,_,w);for(const b in v){if(Ge(b))continue;const M=v[b],A=f[b];M!==A&&b!=="value"&&i(c,b,A,M,_,w)}"value"in v&&i(c,"value",f.value,v.value,_)}},yt=(c,f,v,w,_,b,M,A,O)=>{const D=f.el=c?c.el:l(""),F=f.anchor=c?c.anchor:l("");let{patchFlag:j,dynamicChildren:I,slotScopeIds:L}=f;L&&(A=A?A.concat(L):L),c==null?(n(D,v,w),n(F,v,w),ht(f.children||[],v,F,_,b,M,A,O)):j>0&&j&64&&I&&c.dynamicChildren?(V(c.dynamicChildren,I,v,_,b,M,A),(f.key!=null||_&&f===_.subTree)&&br(c,f,!0)):ot(c,f,v,F,_,b,M,A,O)},Zt=(c,f,v,w,_,b,M,A,O)=>{f.slotScopeIds=A,c==null?f.shapeFlag&512?_.ctx.activate(f,v,w,M,O):me(f,v,w,_,b,M,O):ve(c,f,O)},me=(c,f,v,w,_,b,M)=>{const A=c.component=Jl(c,w,_);if(ar(c)&&(A.ctx.renderer=ae),Ql(A,!1,M),A.asyncDep){if(_&&_.registerDep(A,_t,M),!c.el){const O=A.subTree=Qt(pe);G(null,O,f,v),c.placeholder=O.el}}else _t(A,c,f,v,_,b,M)},ve=(c,f,v)=>{const w=f.component=c.component;if(ql(c,f,v))if(w.asyncDep&&!w.asyncResolved){ct(w,f,v);return}else w.next=f,w.update();else f.el=c.el,w.vnode=f},_t=(c,f,v,w,_,b,M)=>{const A=()=>{if(c.isMounted){let{next:j,bu:I,u:L,parent:B,vnode:rt}=c;{const St=Tr(c);if(St){j&&(j.el=rt.el,ct(c,j,M)),St.asyncDep.then(()=>{c.isUnmounted||A()});return}}let $=j,bt;De(c,!1),j?(j.el=rt.el,ct(c,j,M)):j=rt,I&&kn(I),(bt=j.props&&j.props.onVnodeBeforeUpdate)&&Bt(bt,B,j,rt),De(c,!0);const gt=is(c),Ft=c.subTree;c.subTree=gt,H(Ft,gt,y(Ft.el),Ae(Ft),c,_,b),j.el=gt.el,$===null&&Ll(c,gt.el),L&&Rt(L,_),(bt=j.props&&j.props.onVnodeUpdated)&&Rt(()=>Bt(bt,B,j,rt),_)}else{let j;const{el:I,props:L}=f,{bm:B,m:rt,parent:$,root:bt,type:gt}=c,Ft=$e(f);if(De(c,!1),B&&kn(B),!Ft&&(j=L&&L.onVnodeBeforeMount)&&Bt(j,$,f),De(c,!0),I&&Ee){const St=()=>{c.subTree=is(c),Ee(I,c.subTree,c,_,null)};Ft&&gt.__asyncHydrate?gt.__asyncHydrate(I,c,St):St()}else{bt.ce&&bt.ce._def.shadowRoot!==!1&&bt.ce._injectChildStyle(gt);const St=c.subTree=is(c);H(null,St,v,w,c,_,b),f.el=St.el}if(rt&&Rt(rt,_),!Ft&&(j=L&&L.onVnodeMounted)){const St=f;Rt(()=>Bt(j,$,St),_)}(f.shapeFlag&256||$&&$e($.vnode)&&$.vnode.shapeFlag&256)&&c.a&&Rt(c.a,_),c.isMounted=!0,f=v=w=null}};c.scope.on();const O=c.effect=new No(A);c.scope.off();const D=c.update=O.run.bind(O),F=c.job=O.runIfDirty.bind(O);F.i=c,F.id=c.uid,O.scheduler=()=>Fs(F),De(c,!0),D()},ct=(c,f,v)=>{f.component=c;const w=c.vnode.props;c.vnode=f,c.next=null,Tl(c,f.props,w,v),xl(c,f.children,v),oe(),eo(c),re()},ot=(c,f,v,w,_,b,M,A,O=!1)=>{const D=c&&c.children,F=c?c.shapeFlag:0,j=f.children,{patchFlag:I,shapeFlag:L}=f;if(I>0){if(I&128){Oe(D,j,v,w,_,b,M,A,O);return}else if(I&256){Xt(D,j,v,w,_,b,M,A,O);return}}L&8?(F&16&&ye(D,_,b),j!==D&&p(v,j)):F&16?L&16?Oe(D,j,v,w,_,b,M,A,O):ye(D,_,b,!0):(F&8&&p(v,""),L&16&&ht(j,v,w,_,b,M,A,O))},Xt=(c,f,v,w,_,b,M,A,O)=>{c=c||Fe,f=f||Fe;const D=c.length,F=f.length,j=Math.min(D,F);let I;for(I=0;I<j;I++){const L=f[I]=O?ue(f[I]):Jt(f[I]);H(c[I],L,v,null,_,b,M,A,O)}D>F?ye(c,_,b,!0,!1,j):ht(f,v,w,_,b,M,A,O,j)},Oe=(c,f,v,w,_,b,M,A,O)=>{let D=0;const F=f.length;let j=c.length-1,I=F-1;for(;D<=j&&D<=I;){const L=c[D],B=f[D]=O?ue(f[D]):Jt(f[D]);if(ze(L,B))H(L,B,v,null,_,b,M,A,O);else break;D++}for(;D<=j&&D<=I;){const L=c[j],B=f[I]=O?ue(f[I]):Jt(f[I]);if(ze(L,B))H(L,B,v,null,_,b,M,A,O);else break;j--,I--}if(D>j){if(D<=I){const L=I+1,B=L<F?f[L].el:w;for(;D<=I;)H(null,f[D]=O?ue(f[D]):Jt(f[D]),v,B,_,b,M,A,O),D++}}else if(D>I)for(;D<=j;)Lt(c[D],_,b,!0),D++;else{const L=D,B=D,rt=new Map;for(D=B;D<=I;D++){const Ot=f[D]=O?ue(f[D]):Jt(f[D]);Ot.key!=null&&rt.set(Ot.key,D)}let $,bt=0;const gt=I-B+1;let Ft=!1,St=0;const be=new Array(gt);for(D=0;D<gt;D++)be[D]=0;for(D=L;D<=j;D++){const Ot=c[D];if(bt>=gt){Lt(Ot,_,b,!0);continue}let Nt;if(Ot.key!=null)Nt=rt.get(Ot.key);else for($=B;$<=I;$++)if(be[$-B]===0&&ze(Ot,f[$])){Nt=$;break}Nt===void 0?Lt(Ot,_,b,!0):(be[Nt-B]=D+1,Nt>=St?St=Nt:Ft=!0,H(Ot,f[Nt],v,null,_,b,M,A,O),bt++)}const Te=Ft?Al(be):Fe;for($=Te.length-1,D=gt-1;D>=0;D--){const Ot=B+D,Nt=f[Ot],pn=f[Ot+1],Ke=Ot+1<F?pn.el||pn.placeholder:w;be[D]===0?H(null,Nt,v,Ke,_,b,M,A,O):Ft&&($<0||D!==Te[$]?$t(Nt,v,Ke,2):$--)}}},$t=(c,f,v,w,_=null)=>{const{el:b,type:M,transition:A,children:O,shapeFlag:D}=c;if(D&6){$t(c.component.subTree,f,v,w);return}if(D&128){c.suspense.move(f,v,w);return}if(D&64){M.move(c,f,v,ae);return}if(M===Q){n(b,f,v);for(let j=0;j<O.length;j++)$t(O[j],f,v,w);n(c.anchor,f,v);return}if(M===Cn){X(c,f,v);return}if(w!==2&&D&1&&A)if(w===0)A.beforeEnter(b),n(b,f,v),Rt(()=>A.enter(b),_);else{const{leave:j,delayLeave:I,afterLeave:L}=A,B=()=>{c.ctx.isUnmounted?r(b):n(b,f,v)},rt=()=>{j(b,()=>{B(),L&&L()})};I?I(b,B,rt):rt()}else n(b,f,v)},Lt=(c,f,v,w=!1,_=!1)=>{const{type:b,props:M,ref:A,children:O,dynamicChildren:D,shapeFlag:F,patchFlag:j,dirs:I,cacheIndex:L}=c;if(j===-2&&(_=!1),A!=null&&(oe(),Xe(A,null,v,c,!0),re()),L!=null&&(f.renderCache[L]=void 0),F&256){f.ctx.deactivate(c);return}const B=F&1&&I,rt=!$e(c);let $;if(rt&&($=M&&M.onVnodeBeforeUnmount)&&Bt($,f,c),F&6)Zn(c.component,v,w);else{if(F&128){c.suspense.unmount(v,w);return}B&&we(c,null,f,"beforeUnmount"),F&64?c.type.remove(c,f,v,ae,w):D&&!D.hasOnce&&(b!==Q||j>0&&j&64)?ye(D,f,v,!1,!0):(b===Q&&j&384||!_&&F&16)&&ye(O,f,v),w&&fn(c)}(rt&&($=M&&M.onVnodeUnmounted)||B)&&Rt(()=>{$&&Bt($,f,c),B&&we(c,null,f,"unmounted")},v)},fn=c=>{const{type:f,el:v,anchor:w,transition:_}=c;if(f===Q){Yn(v,w);return}if(f===Cn){R(c);return}const b=()=>{r(v),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:M,delayLeave:A}=_,O=()=>M(v,b);A?A(c.el,b,O):O()}else b()},Yn=(c,f)=>{let v;for(;c!==f;)v=E(c),r(c),c=v;r(f)},Zn=(c,f,v)=>{const{bum:w,scope:_,job:b,subTree:M,um:A,m:O,a:D,parent:F,slots:{__:j}}=c;lo(O),lo(D),w&&kn(w),F&&N(j)&&j.forEach(I=>{F.renderCache[I]=void 0}),_.stop(),b&&(b.flags|=8,Lt(M,c,f,v)),A&&Rt(A,f),Rt(()=>{c.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},ye=(c,f,v,w=!1,_=!1,b=0)=>{for(let M=b;M<c.length;M++)Lt(c[M],f,v,w,_)},Ae=c=>{if(c.shapeFlag&6)return Ae(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=E(c.anchor||c.el),v=f&&f[Zi];return v?E(v):f};let Ue=!1;const hn=(c,f,v)=>{c==null?f._vnode&&Lt(f._vnode,null,null,!0):H(f._vnode||null,c,f,null,null,null,v),f._vnode=c,Ue||(Ue=!0,eo(),or(),Ue=!1)},ae={p:H,um:Lt,m:$t,r:fn,mt:me,mc:ht,pc:ot,pbc:V,n:Ae,o:t};let _e,Ee;return e&&([_e,Ee]=e(ae)),{render:hn,hydrate:_e,createApp:yl(hn,_e)}}function rs({type:t,props:e},s){return s==="svg"&&t==="foreignObject"||s==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:s}function De({effect:t,job:e},s){s?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Ol(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function br(t,e,s=!1){const n=t.children,r=e.children;if(N(n)&&N(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=ue(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&br(o,l)),l.type===Qn&&(l.el=o.el),l.type===pe&&!l.el&&(l.el=o.el)}}function Al(t){const e=t.slice(),s=[0];let n,r,i,o,l;const d=t.length;for(n=0;n<d;n++){const m=t[n];if(m!==0){if(r=s[s.length-1],t[r]<m){e[n]=r,s.push(n);continue}for(i=0,o=s.length-1;i<o;)l=i+o>>1,t[s[l]]<m?i=l+1:o=l;m<t[s[i]]&&(i>0&&(e[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=e[o];return s}function Tr(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Tr(e)}function lo(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const El=Symbol.for("v-scx"),Ml=()=>xn(El);function en(t,e,s){return wr(t,e,s)}function wr(t,e,s=it){const{immediate:n,deep:r,flush:i,once:o}=s,l=wt({},s),d=e&&n||!e&&i!=="post";let m;if(an){if(i==="sync"){const P=Ml();m=P.__watcherHandles||(P.__watcherHandles=[])}else if(!d){const P=()=>{};return P.stop=Kt,P.resume=Kt,P.pause=Kt,P}}const p=jt;l.call=(P,U,H)=>Yt(P,p,U,H);let y=!1;i==="post"?l.scheduler=P=>{Rt(P,p&&p.suspense)}:i!=="sync"&&(y=!0,l.scheduler=(P,U)=>{U?P():Fs(P)}),l.augmentJob=P=>{e&&(P.flags|=4),y&&(P.flags|=2,p&&(P.id=p.uid,P.i=p))};const E=zi(t,e,l);return an&&(m?m.push(E):d&&E()),E}function jl(t,e,s){const n=this.proxy,r=pt(t)?t.includes(".")?Dr(n,t):()=>n[t]:t.bind(n,n);let i;K(e)?i=e:(i=e.handler,s=e);const o=dn(this),l=wr(r,i.bind(n),s);return o(),l}function Dr(t,e){const s=e.split(".");return()=>{let n=t;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Pl=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${fe(e)}Modifiers`]||t[`${ge(e)}Modifiers`];function Il(t,e,...s){if(t.isUnmounted)return;const n=t.vnode.props||it;let r=s;const i=e.startsWith("update:"),o=i&&Pl(n,e.slice(7));o&&(o.trim&&(r=s.map(p=>pt(p)?p.trim():p)),o.number&&(r=s.map(An)));let l,d=n[l=$n(e)]||n[l=$n(fe(e))];!d&&i&&(d=n[l=$n(ge(e))]),d&&Yt(d,t,6,r);const m=n[l+"Once"];if(m){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,Yt(m,t,6,r)}}function kr(t,e,s=!1){const n=e.emitsCache,r=n.get(t);if(r!==void 0)return r;const i=t.emits;let o={},l=!1;if(!K(t)){const d=m=>{const p=kr(m,e,!0);p&&(l=!0,wt(o,p))};!s&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}return!i&&!l?(ft(t)&&n.set(t,null),null):(N(i)?i.forEach(d=>o[d]=null):wt(o,i),ft(t)&&n.set(t,o),o)}function Jn(t,e){return!t||!Nn(e)?!1:(e=e.slice(2).replace(/Once$/,""),nt(t,e[0].toLowerCase()+e.slice(1))||nt(t,ge(e))||nt(t,e))}function is(t){const{type:e,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:d,render:m,renderCache:p,props:y,data:E,setupState:P,ctx:U,inheritAttrs:H}=t,st=Pn(t);let G,Y;try{if(s.shapeFlag&4){const R=r||n,lt=R;G=Jt(m.call(lt,R,p,y,P,E,U)),Y=l}else{const R=e;G=Jt(R.length>1?R(y,{attrs:l,slots:o,emit:d}):R(y,null)),Y=e.props?l:Fl(l)}}catch(R){nn.length=0,Bn(R,t,1),G=Qt(pe)}let X=G;if(Y&&H!==!1){const R=Object.keys(Y),{shapeFlag:lt}=X;R.length&&lt&7&&(i&&R.some(Ds)&&(Y=Rl(Y,i)),X=Ve(X,Y,!1,!0))}return s.dirs&&(X=Ve(X,null,!1,!0),X.dirs=X.dirs?X.dirs.concat(s.dirs):s.dirs),s.transition&&Rs(X,s.transition),G=X,Pn(st),G}const Fl=t=>{let e;for(const s in t)(s==="class"||s==="style"||Nn(s))&&((e||(e={}))[s]=t[s]);return e},Rl=(t,e)=>{const s={};for(const n in t)(!Ds(n)||!(n.slice(9)in e))&&(s[n]=t[n]);return s};function ql(t,e,s){const{props:n,children:r,component:i}=t,{props:o,children:l,patchFlag:d}=e,m=i.emitsOptions;if(e.dirs||e.transition)return!0;if(s&&d>=0){if(d&1024)return!0;if(d&16)return n?ao(n,o,m):!!o;if(d&8){const p=e.dynamicProps;for(let y=0;y<p.length;y++){const E=p[y];if(o[E]!==n[E]&&!Jn(m,E))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?ao(n,o,m):!0:!!o;return!1}function ao(t,e,s){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(e[i]!==t[i]&&!Jn(s,i))return!0}return!1}function Ll({vnode:t,parent:e},s){for(;e;){const n=e.subTree;if(n.suspense&&n.suspense.activeBranch===t&&(n.el=t.el),n===t)(t=e.vnode).el=s,e=e.parent;else break}}const xr=t=>t.__isSuspense;function Nl(t,e){e&&e.pendingBranch?N(t)?e.effects.push(...t):e.effects.push(t):Gi(t)}const Q=Symbol.for("v-fgt"),Qn=Symbol.for("v-txt"),pe=Symbol.for("v-cmt"),Cn=Symbol.for("v-stc"),nn=[];let qt=null;function k(t=!1){nn.push(qt=t?null:[])}function Hl(){nn.pop(),qt=nn[nn.length-1]||null}let ln=1;function co(t,e=!1){ln+=t,t<0&&qt&&e&&(qt.hasOnce=!0)}function Cr(t){return t.dynamicChildren=ln>0?qt||Fe:null,Hl(),ln>0&&qt&&qt.push(t),t}function x(t,e,s,n,r,i){return Cr(a(t,e,s,n,r,i,!0))}function Vl(t,e,s,n,r){return Cr(Qt(t,e,s,n,r,!0))}function Sr(t){return t?t.__v_isVNode===!0:!1}function ze(t,e){return t.type===e.type&&t.key===e.key}const Or=({key:t})=>t??null,Sn=({ref:t,ref_key:e,ref_for:s})=>(typeof t=="number"&&(t=""+t),t!=null?pt(t)||Ct(t)||K(t)?{i:Ht,r:t,k:e,f:!!s}:t:null);function a(t,e=null,s=null,n=0,r=null,i=t===Q?0:1,o=!1,l=!1){const d={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Or(e),ref:e&&Sn(e),scopeId:ir,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:Ht};return l?(Us(d,s),i&128&&t.normalize(d)):s&&(d.shapeFlag|=pt(s)?8:16),ln>0&&!o&&qt&&(d.patchFlag>0||i&6)&&d.patchFlag!==32&&qt.push(d),d}const Qt=Ul;function Ul(t,e=null,s=null,n=0,r=null,i=!1){if((!t||t===ul)&&(t=pe),Sr(t)){const l=Ve(t,e,!0);return s&&Us(l,s),ln>0&&!i&&qt&&(l.shapeFlag&6?qt[qt.indexOf(t)]=l:qt.push(l)),l.patchFlag=-2,l}if(Xl(t)&&(t=t.__vccOpts),e){e=Kl(e);let{class:l,style:d}=e;l&&!pt(l)&&(e.class=W(l)),ft(d)&&(Is(d)&&!N(d)&&(d=wt({},d)),e.style=Pt(d))}const o=pt(t)?1:xr(t)?128:Xi(t)?64:ft(t)?4:K(t)?2:0;return a(t,e,s,n,r,o,i,!0)}function Kl(t){return t?Is(t)||pr(t)?wt({},t):t:null}function Ve(t,e,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:d}=t,m=e?Wl(r||{},e):r,p={__v_isVNode:!0,__v_skip:!0,type:t.type,props:m,key:m&&Or(m),ref:e&&e.ref?s&&i?N(i)?i.concat(Sn(e)):[i,Sn(e)]:Sn(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Q?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:d,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Ve(t.ssContent),ssFallback:t.ssFallback&&Ve(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return d&&n&&Rs(p,d.clone(p)),p}function _s(t=" ",e=0){return Qt(Qn,null,t,e)}function uo(t,e){const s=Qt(Cn,null,t);return s.staticCount=e,s}function J(t="",e=!1){return e?(k(),Vl(pe,null,t)):Qt(pe,null,t)}function Jt(t){return t==null||typeof t=="boolean"?Qt(pe):N(t)?Qt(Q,null,t.slice()):Sr(t)?ue(t):Qt(Qn,null,String(t))}function ue(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Ve(t)}function Us(t,e){let s=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(N(e))s=16;else if(typeof e=="object")if(n&65){const r=e.default;r&&(r._c&&(r._d=!1),Us(t,r()),r._c&&(r._d=!0));return}else{s=32;const r=e._;!r&&!pr(e)?e._ctx=Ht:r===3&&Ht&&(Ht.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else K(e)?(e={default:e,_ctx:Ht},s=32):(e=String(e),n&64?(s=16,e=[_s(e)]):s=8);t.children=e,t.shapeFlag|=s}function Wl(...t){const e={};for(let s=0;s<t.length;s++){const n=t[s];for(const r in n)if(r==="class")e.class!==n.class&&(e.class=W([e.class,n.class]));else if(r==="style")e.style=Pt([e.style,n.style]);else if(Nn(r)){const i=e[r],o=n[r];o&&i!==o&&!(N(i)&&i.includes(o))&&(e[r]=i?[].concat(i,o):o)}else r!==""&&(e[r]=n[r])}return e}function Bt(t,e,s,n=null){Yt(t,e,7,[s,n])}const Bl=dr();let zl=0;function Jl(t,e,s){const n=t.type,r=(e?e.appContext:t.appContext)||Bl,i={uid:zl++,vnode:t,type:n,parent:e,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(r.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mr(n,r),emitsOptions:kr(n,r),emit:null,emitted:null,propsDefaults:it,inheritAttrs:n.inheritAttrs,ctx:it,data:it,props:it,attrs:it,slots:it,refs:it,setupState:it,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=e?e.root:i,i.emit=Il.bind(null,i),t.ce&&t.ce(i),i}let jt=null;const Ar=()=>jt||Ht;let Fn,bs;{const t=Un(),e=(s,n)=>{let r;return(r=t[s])||(r=t[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Fn=e("__VUE_INSTANCE_SETTERS__",s=>jt=s),bs=e("__VUE_SSR_SETTERS__",s=>an=s)}const dn=t=>{const e=jt;return Fn(t),t.scope.on(),()=>{t.scope.off(),Fn(e)}},fo=()=>{jt&&jt.scope.off(),Fn(null)};function Er(t){return t.vnode.shapeFlag&4}let an=!1;function Ql(t,e=!1,s=!1){e&&bs(e);const{props:n,children:r}=t.vnode,i=Er(t);bl(t,n,i,e),kl(t,r,s||e);const o=i?Gl(t,e):void 0;return e&&bs(!1),o}function Gl(t,e){const s=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,dl);const{setup:n}=s;if(n){oe();const r=t.setupContext=n.length>1?Zl(t):null,i=dn(t),o=un(n,t,0,[t.props,r]),l=Mo(o);if(re(),i(),(l||t.sp)&&!$e(t)&&lr(t),l){if(o.then(fo,fo),e)return o.then(d=>{ho(t,d,e)}).catch(d=>{Bn(d,t,0)});t.asyncDep=o}else ho(t,o,e)}else Mr(t,e)}function ho(t,e,s){K(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ft(e)&&(t.setupState=er(e)),Mr(t,s)}let po;function Mr(t,e,s){const n=t.type;if(!t.render){if(!e&&po&&!n.render){const r=n.template||Ns(t).template;if(r){const{isCustomElement:i,compilerOptions:o}=t.appContext.config,{delimiters:l,compilerOptions:d}=n,m=wt(wt({isCustomElement:i,delimiters:l},o),d);n.render=po(r,m)}}t.render=n.render||Kt}{const r=dn(t);oe();try{fl(t)}finally{re(),r()}}}const Yl={get(t,e){return xt(t,"get",""),t[e]}};function Zl(t){const e=s=>{t.exposed=s||{}};return{attrs:new Proxy(t.attrs,Yl),slots:t.slots,emit:t.emit,expose:e}}function Gn(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(er(Ni(t.exposed)),{get(e,s){if(s in e)return e[s];if(s in tn)return tn[s](t)},has(e,s){return s in e||s in tn}})):t.proxy}function Xl(t){return K(t)&&"__vccOpts"in t}const mt=(t,e)=>Wi(t,e,an),$l="3.5.18";/**
* @vue/runtime-dom v3.5.18
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ts;const go=typeof window<"u"&&window.trustedTypes;if(go)try{Ts=go.createPolicy("vue",{createHTML:t=>t})}catch{}const jr=Ts?t=>Ts.createHTML(t):t=>t,ta="http://www.w3.org/2000/svg",ea="http://www.w3.org/1998/Math/MathML",ee=typeof document<"u"?document:null,mo=ee&&ee.createElement("template"),na={insert:(t,e,s)=>{e.insertBefore(t,s||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,s,n)=>{const r=e==="svg"?ee.createElementNS(ta,t):e==="mathml"?ee.createElementNS(ea,t):s?ee.createElement(t,{is:s}):ee.createElement(t);return t==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:t=>ee.createTextNode(t),createComment:t=>ee.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ee.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,s,n,r,i){const o=s?s.previousSibling:e.lastChild;if(r&&(r===i||r.nextSibling))for(;e.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{mo.innerHTML=jr(n==="svg"?`<svg>${t}</svg>`:n==="mathml"?`<math>${t}</math>`:t);const l=mo.content;if(n==="svg"||n==="mathml"){const d=l.firstChild;for(;d.firstChild;)l.appendChild(d.firstChild);l.removeChild(d)}e.insertBefore(l,s)}return[o?o.nextSibling:e.firstChild,s?s.previousSibling:e.lastChild]}},sa=Symbol("_vtc");function oa(t,e,s){const n=t[sa];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):s?t.setAttribute("class",e):t.className=e}const vo=Symbol("_vod"),ra=Symbol("_vsh"),ia=Symbol(""),la=/(^|;)\s*display\s*:/;function aa(t,e,s){const n=t.style,r=pt(s);let i=!1;if(s&&!r){if(e)if(pt(e))for(const o of e.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&On(n,l,"")}else for(const o in e)s[o]==null&&On(n,o,"");for(const o in s)o==="display"&&(i=!0),On(n,o,s[o])}else if(r){if(e!==s){const o=n[ia];o&&(s+=";"+o),n.cssText=s,i=la.test(s)}}else e&&t.removeAttribute("style");vo in t&&(t[vo]=i?n.display:"",t[ra]&&(n.display="none"))}const yo=/\s*!important$/;function On(t,e,s){if(N(s))s.forEach(n=>On(t,e,n));else if(s==null&&(s=""),e.startsWith("--"))t.setProperty(e,s);else{const n=ca(t,e);yo.test(s)?t.setProperty(ge(n),s.replace(yo,""),"important"):t[n]=s}}const _o=["Webkit","Moz","ms"],ls={};function ca(t,e){const s=ls[e];if(s)return s;let n=fe(e);if(n!=="filter"&&n in t)return ls[e]=n;n=Io(n);for(let r=0;r<_o.length;r++){const i=_o[r]+n;if(i in t)return ls[e]=i}return e}const bo="http://www.w3.org/1999/xlink";function To(t,e,s,n,r,i=gi(e)){n&&e.startsWith("xlink:")?s==null?t.removeAttributeNS(bo,e.slice(6,e.length)):t.setAttributeNS(bo,e,s):s==null||i&&!Fo(s)?t.removeAttribute(e):t.setAttribute(e,i?"":Gt(s)?String(s):s)}function wo(t,e,s,n,r){if(e==="innerHTML"||e==="textContent"){s!=null&&(t[e]=e==="innerHTML"?jr(s):s);return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?t.getAttribute("value")||"":t.value,d=s==null?t.type==="checkbox"?"on":"":String(s);(l!==d||!("_value"in t))&&(t.value=d),s==null&&t.removeAttribute(e),t._value=s;return}let o=!1;if(s===""||s==null){const l=typeof t[e];l==="boolean"?s=Fo(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{t[e]=s}catch{}o&&t.removeAttribute(r||e)}function xe(t,e,s,n){t.addEventListener(e,s,n)}function ua(t,e,s,n){t.removeEventListener(e,s,n)}const Do=Symbol("_vei");function da(t,e,s,n,r=null){const i=t[Do]||(t[Do]={}),o=i[e];if(n&&o)o.value=n;else{const[l,d]=fa(e);if(n){const m=i[e]=ga(n,r);xe(t,l,m,d)}else o&&(ua(t,l,o,d),i[e]=void 0)}}const ko=/(?:Once|Passive|Capture)$/;function fa(t){let e;if(ko.test(t)){e={};let n;for(;n=t.match(ko);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ge(t.slice(2)),e]}let as=0;const ha=Promise.resolve(),pa=()=>as||(ha.then(()=>as=0),as=Date.now());function ga(t,e){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Yt(ma(n,s.value),e,5,[n])};return s.value=t,s.attached=pa(),s}function ma(t,e){if(N(e)){const s=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{s.call(t),t._stopped=!0},e.map(n=>r=>!r._stopped&&n&&n(r))}else return e}const xo=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,va=(t,e,s,n,r,i)=>{const o=r==="svg";e==="class"?oa(t,n,o):e==="style"?aa(t,s,n):Nn(e)?Ds(e)||da(t,e,s,n,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ya(t,e,n,o))?(wo(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&To(t,e,n,o,i,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!pt(n))?wo(t,fe(e),n,i,e):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),To(t,e,n,o))};function ya(t,e,s,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&xo(e)&&K(s));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const r=t.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return xo(e)&&pt(s)?!1:e in t}const Rn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return N(e)?s=>kn(e,s):e};function _a(t){t.target.composing=!0}function Co(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const He=Symbol("_assign"),Je={created(t,{modifiers:{lazy:e,trim:s,number:n}},r){t[He]=Rn(r);const i=n||r.props&&r.props.type==="number";xe(t,e?"change":"input",o=>{if(o.target.composing)return;let l=t.value;s&&(l=l.trim()),i&&(l=An(l)),t[He](l)}),s&&xe(t,"change",()=>{t.value=t.value.trim()}),e||(xe(t,"compositionstart",_a),xe(t,"compositionend",Co),xe(t,"change",Co))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(t[He]=Rn(o),t.composing)return;const l=(i||t.type==="number")&&!/^0\d/.test(t.value)?An(t.value):t.value,d=e??"";l!==d&&(document.activeElement===t&&t.type!=="range"&&(n&&e===s||r&&t.value.trim()===d)||(t.value=d))}},Pe={deep:!0,created(t,{value:e,modifiers:{number:s}},n){const r=Hn(e);xe(t,"change",()=>{const i=Array.prototype.filter.call(t.options,o=>o.selected).map(o=>s?An(qn(o)):qn(o));t[He](t.multiple?r?new Set(i):i:i[0]),t._assigning=!0,Se(()=>{t._assigning=!1})}),t[He]=Rn(n)},mounted(t,{value:e}){So(t,e)},beforeUpdate(t,e,s){t[He]=Rn(s)},updated(t,{value:e}){t._assigning||So(t,e)}};function So(t,e){const s=t.multiple,n=N(e);if(!(s&&!n&&!Hn(e))){for(let r=0,i=t.options.length;r<i;r++){const o=t.options[r],l=qn(o);if(s)if(n){const d=typeof l;d==="string"||d==="number"?o.selected=e.some(m=>String(m)===String(l)):o.selected=vi(e,l)>-1}else o.selected=e.has(l);else if(Kn(qn(o),e)){t.selectedIndex!==r&&(t.selectedIndex=r);return}}!s&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function qn(t){return"_value"in t?t._value:t.value}const ba=["ctrl","shift","alt","meta"],Ta={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ba.some(s=>t[`${s}Key`]&&!e.includes(s))},At=(t,e)=>{const s=t._withMods||(t._withMods={}),n=e.join(".");return s[n]||(s[n]=(r,...i)=>{for(let o=0;o<e.length;o++){const l=Ta[e[o]];if(l&&l(r,e))return}return t(r,...i)})},wa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Tn=(t,e)=>{const s=t._withKeys||(t._withKeys={}),n=e.join(".");return s[n]||(s[n]=r=>{if(!("key"in r))return;const i=ge(r.key);if(e.some(o=>o===i||wa[o]===i))return t(r)})},Da=wt({patchProp:va},na);let Oo;function ka(){return Oo||(Oo=Cl(Da))}const xa=(...t)=>{const e=ka().createApp(...t),{mount:s}=e;return e.mount=n=>{const r=Sa(n);if(!r)return;const i=e._component;!K(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Ca(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},e};function Ca(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Sa(t){return pt(t)?document.querySelector(t):t}function Oa(t){return Lo()?(_i(t),!0):!1}function Ks(t){return typeof t=="function"?t():tr(t)}const Aa=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ea=Object.prototype.toString,Ma=t=>Ea.call(t)==="[object Object]",ja=()=>{};function Pa(t,e){function s(...n){return new Promise((r,i)=>{Promise.resolve(t(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})).then(r).catch(i)})}return s}const Pr=t=>t();function Ia(t=Pr){const e=tt(!0);function s(){e.value=!1}function n(){e.value=!0}const r=(...i)=>{e.value&&t(...i)};return{isActive:js(e),pause:s,resume:n,eventFilter:r}}function Fa(t){return t||Ar()}function Ra(t,e,s={}){const{eventFilter:n=Pr,...r}=s;return en(t,Pa(n,e),r)}function qa(t,e,s={}){const{eventFilter:n,...r}=s,{eventFilter:i,pause:o,resume:l,isActive:d}=Ia(n);return{stop:Ra(t,e,{...r,eventFilter:i}),pause:o,resume:l,isActive:d}}function La(t,e=!0,s){Fa()?qs(t,s):e?t():Se(t)}function Na(t){var e;const s=Ks(t);return(e=s==null?void 0:s.$el)!=null?e:s}const Ln=Aa?window:void 0;function Ao(...t){let e,s,n,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,n,r]=t,e=Ln):[e,s,n,r]=t,!e)return ja;Array.isArray(s)||(s=[s]),Array.isArray(n)||(n=[n]);const i=[],o=()=>{i.forEach(p=>p()),i.length=0},l=(p,y,E,P)=>(p.addEventListener(y,E,P),()=>p.removeEventListener(y,E,P)),d=en(()=>[Na(e),Ks(r)],([p,y])=>{if(o(),!p)return;const E=Ma(y)?{...y}:y;i.push(...s.flatMap(P=>n.map(U=>l(p,P,U,E))))},{immediate:!0,flush:"post"}),m=()=>{d(),o()};return Oa(m),m}const wn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Dn="__vueuse_ssr_handlers__",Ha=Va();function Va(){return Dn in wn||(wn[Dn]=wn[Dn]||{}),wn[Dn]}function Ua(t,e){return Ha[t]||e}function Ka(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const Wa={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},Eo="vueuse-storage";function Ba(t,e,s,n={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:d=!0,mergeDefaults:m=!1,shallow:p,window:y=Ln,eventFilter:E,onError:P=V=>{console.error(V)},initOnMounted:U}=n,H=(p?Hi:tt)(typeof e=="function"?e():e);if(!s)try{s=Ua("getDefaultStorage",()=>{var V;return(V=Ln)==null?void 0:V.localStorage})()}catch(V){P(V)}if(!s)return H;const st=Ks(e),G=Ka(st),Y=(r=n.serializer)!=null?r:Wa[G],{pause:X,resume:R}=qa(H,()=>It(H.value),{flush:i,deep:o,eventFilter:E});y&&l&&La(()=>{Ao(y,"storage",ht),Ao(y,Eo,le),U&&ht()}),U||ht();function lt(V,Z){y&&y.dispatchEvent(new CustomEvent(Eo,{detail:{key:t,oldValue:V,newValue:Z,storageArea:s}}))}function It(V){try{const Z=s.getItem(t);if(V==null)lt(Z,null),s.removeItem(t);else{const yt=Y.write(V);Z!==yt&&(s.setItem(t,yt),lt(Z,yt))}}catch(Z){P(Z)}}function vt(V){const Z=V?V.newValue:s.getItem(t);if(Z==null)return d&&st!=null&&s.setItem(t,Y.write(st)),st;if(!V&&m){const yt=Y.read(Z);return typeof m=="function"?m(yt,st):G==="object"&&!Array.isArray(yt)?{...st,...yt}:yt}else return typeof Z!="string"?Z:Y.read(Z)}function ht(V){if(!(V&&V.storageArea!==s)){if(V&&V.key==null){H.value=st;return}if(!(V&&V.key!==t)){X();try{(V==null?void 0:V.newValue)!==Y.write(H.value)&&(H.value=vt(V))}catch(Z){P(Z)}finally{V?Se(R):R()}}}}function le(V){ht(V.detail)}return H}function cs(t,e,s={}){const{window:n=Ln}=s;return Ba(t,e,n==null?void 0:n.localStorage,s)}const za=(t,e)=>{const s=t.__vccOpts||t;for(const[n,r]of e)s[n]=r;return s},Ja={name:"App",setup(){const t=cs("todo-tasks",[]),e=cs("todo-projects",[]),s=cs("todo-initialized",!1),n=tt(""),r=tt(!1),i=tt(null),o=tt("idle"),l=tt(null),d=(u,h="info")=>{l.value={message:u,type:h,timestamp:Date.now()},setTimeout(()=>{l.value=null},3e3)},m=tt(""),p=tt(""),y=tt("development"),E=tt("medium"),P=tt("medium"),U=tt("medium"),H=tt(""),st=tt(""),G=tt("all"),Y=tt(""),X=tt(""),R=tt("tasks"),lt=tt(null),It=tt(!1),vt=tt(""),ht=tt(null),le=tt(null),V=tt("day"),Z=tt(new Date),yt=tt(null),Zt=tt(new Date),me=tt(!0),ve=tt("day"),_t=[{label:"今日",value:"day"},{label:"本周",value:"week"},{label:"本月",value:"month"},{label:"本年",value:"year"}],ct=[{label:"全部",value:"all"},{label:"待完成",value:"pending"},{label:"已完成",value:"completed"}],ot=mt(()=>t.value.length),Xt=mt(()=>t.value.filter(u=>u.completed).length),Oe=mt(()=>t.value.filter(u=>!u.completed).length),$t=mt(()=>{const h=new Date().toLocaleDateString("en-CA");return t.value.filter(g=>g.startTime?new Date(g.startTime).toLocaleDateString("en-CA")===h:!1).length}),Lt=mt(()=>{const h=new Date().toLocaleDateString("en-CA"),g=t.value.filter(S=>S.startTime?new Date(S.startTime).toLocaleDateString("en-CA")===h:!1),T={};return g.forEach(S=>{T[S.projectId]||(T[S.projectId]=0),T[S.projectId]++}),Object.entries(T).map(([S,q])=>({projectId:S,count:q}))}),fn=mt(()=>{const h=new Date().toLocaleDateString("en-CA"),g=t.value.filter(S=>S.startTime?new Date(S.startTime).toLocaleDateString("en-CA")===h:!1),T={};return g.forEach(S=>{T[S.type]||(T[S.type]=0),T[S.type]++}),Object.entries(T).map(([S,q])=>({type:S,count:q}))}),Yn=mt(()=>{const h=new Date().toLocaleDateString("en-CA"),g=t.value.filter(q=>q.startTime?new Date(q.startTime).toLocaleDateString("en-CA")===h:!1);let T=0;return g.forEach(q=>{if(q.startTime&&q.endTime){const z=new Date(q.startTime),Dt=(new Date(q.endTime)-z)/(1e3*60*60);T+=Dt}}),t.value.filter(q=>q.timerDuration?new Date(q.createdAt).toISOString().split("T")[0]===h:!1).forEach(q=>{if(q.timerDuration){const z=q.timerDuration/3600;T+=z}}),T.toFixed(1)}),Zn=mt(()=>{const h=new Date().toLocaleDateString("en-CA"),T=t.value.filter(ut=>ut.startTime?new Date(ut.startTime).toLocaleDateString("en-CA")===h:!1).filter(ut=>ut.startTime&&ut.endTime),S=t.value.filter(ut=>ut.timerDuration?new Date(ut.createdAt).toLocaleDateString("en-CA")===h:!1),q=[...T,...S];if(q.length===0)return"0.0";let z=0;return T.forEach(ut=>{const Dt=new Date(ut.startTime),We=(new Date(ut.endTime)-Dt)/(1e3*60*60);z+=We}),S.forEach(ut=>{if(ut.timerDuration){const Dt=ut.timerDuration/3600;z+=Dt}}),(z/q.length).toFixed(1)}),ye=()=>{const u={tasks:t.value,projects:e.value,exportDate:new Date().toISOString(),version:"1.0.0"},h=new Blob([JSON.stringify(u,null,2)],{type:"application/json"}),g=URL.createObjectURL(h),T=document.createElement("a");T.href=g,T.download=`worktime-data-${new Date().toISOString().split("T")[0]}.json`,document.body.appendChild(T),T.click(),document.body.removeChild(T),URL.revokeObjectURL(g)},Ae=()=>{le.value.click()},Ue=u=>{const h=u.target.files[0];if(!h)return;const g=new FileReader;g.onload=T=>{try{const S=JSON.parse(T.target.result);S.tasks&&S.projects?confirm("导入数据将覆盖当前所有数据,确定要继续吗?")&&(t.value=S.tasks,e.value=S.projects,s.value=!0,alert("数据导入成功!")):alert("文件格式不正确,请选择正确的数据文件。")}catch{alert("文件读取失败,请检查文件格式。")}},g.readAsText(h),u.target.value=""},hn=()=>{confirm("确定要清空所有数据吗?此操作不可恢复!")&&(t.value=[],e.value=[],s.value=!1,localStorage.removeItem("todo-tasks"),localStorage.removeItem("todo-projects"),localStorage.removeItem("todo-initialized"),X.value="",R.value="tasks",alert("数据已完全清空!页面将重新加载以应用更改。"),setTimeout(()=>{window.location.reload()},1e3))},ae=()=>{confirm("确定要清除所有默认数据吗?这将删除所有项目和任务,但保留应用设置。")&&(t.value=[],e.value=[],localStorage.removeItem("todo-tasks"),localStorage.removeItem("todo-projects"),X.value="",R.value="tasks",alert("默认数据已清除!现在您可以创建自己的项目了。"))},_e=async()=>{try{if((await fetch(`${n.value}/api/health`)).ok)return r.value=!0,!0}catch(u){console.log("服务器连接失败:",u)}return r.value=!1,!1},Ee=async()=>{if(!r.value)return alert("服务器未连接,无法同步数据"),!1;o.value="syncing";try{const u=await fetch(`${n.value}/api/data`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({tasks:t.value,projects:e.value})});if(u.ok){const h=await u.json();return i.value=h.lastUpdated,o.value="success",setTimeout(()=>{o.value="idle"},2e3),!0}else throw new Error("同步失败")}catch(u){return console.error("同步到服务器失败:",u),o.value="error",setTimeout(()=>{o.value="idle"},3e3),!1}},c=async()=>{if(!r.value)return alert("服务器未连接,无法同步数据"),!1;o.value="syncing";try{const u=await fetch(`${n.value}/api/data`);if(u.ok){const h=await u.json();return t.value=h.tasks||[],e.value=h.projects||[],i.value=h.lastUpdated,o.value="success",setTimeout(()=>{o.value="idle"},2e3),!0}else throw new Error("获取数据失败")}catch(u){return console.error("从服务器同步失败:",u),o.value="error",setTimeout(()=>{o.value="idle"},3e3),!1}},f=async()=>{if(await _e())try{const h=await fetch(`${n.value}/api/last-updated`);if(h.ok){const{lastUpdated:g}=await h.json();g!==i.value?await c():await Ee()}}catch(h){console.error("自动同步失败:",h)}},v=mt(()=>{let u=t.value;switch(X.value&&(u=u.filter(h=>h.projectId===X.value)),G.value){case"completed":u=u.filter(h=>h.completed);break;case"pending":u=u.filter(h=>!h.completed);break}return Y.value&&(u=u.filter(h=>h.type===Y.value)),u}),w=()=>{if(m.value.trim()&&p.value){const u={id:Date.now(),text:m.value.trim(),projectId:p.value,type:y.value,completed:!1,priority:E.value,importance:P.value,urgency:U.value,startTime:H.value||null,endTime:st.value||null,timerRunning:!1,timerStartTime:null,timerDuration:null,createdAt:new Date,editing:!1};t.value.unshift(u),m.value="",p.value="",y.value="development",E.value="medium",P.value="medium",U.value="medium",H.value="",st.value=""}},_=()=>{if(vt.value.trim()){const u={id:Date.now().toString(),name:vt.value.trim(),createdAt:new Date};e.value.push(u),vt.value="",It.value=!1,e.value.length===1&&(X.value=u.id)}},b=u=>{const h=e.value.find(g=>g.id===u);return h?h.name:"未知项目"},M=u=>t.value.filter(h=>h.projectId===u).length,A=u=>{const h=t.value.find(g=>g.id===u);h&&(h.completed=!h.completed)},O=u=>{const h=t.value.findIndex(g=>g.id===u);h>-1&&t.value.splice(h,1)},D=u=>{u.editing=!0,lt.value=u,Se(()=>{const h=document.querySelector(".edit-input");h&&(h.focus(),h.select())})},F=u=>{u.text.trim()&&(u.editing=!1,lt.value=null)},j=u=>{u.editing=!1,lt.value=null},I=u=>({high:"高",medium:"中",low:"低"})[u]||"中",L=u=>({requirement:"需求分析",documentation:"文档编写",development:"开发代码",testing:"测试",operation:"运维",other:"其他"})[u]||"其他",B=u=>{const h=new Date,g=new Date(u),T=Math.abs(h-g),S=Math.ceil(T/(1e3*60*60*24));return S===1?"今天":S===2?"昨天":S<=7?`${S-1}天前`:g.toLocaleDateString("zh-CN")},rt=u=>new Date(u).toLocaleString("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),$=(u,h)=>{const g=new Date(u),S=(new Date(h)-g)/(1e3*60*60);if(S<1)return`${Math.round(S*60)}分钟`;if(S<24)return`${S.toFixed(1)}小时`;{const q=Math.floor(S/24),z=S%24;return`${q}${z.toFixed(1)}小时`}},bt=u=>{if(u<60)return`${u}`;if(u<3600){const h=Math.floor(u/60),g=u%60;return`${h}${g}`}else{const h=Math.floor(u/3600),g=Math.floor(u%3600/60);return`${h}小时${g}`}},gt=u=>{if(!u)return"0秒";const h=zs(u);return bt(h)},Ft=mt(()=>{const u=Z.value;switch(V.value){case"day":return u.toLocaleDateString("zh-CN",{year:"numeric",month:"long",day:"numeric",weekday:"long"});case"week":const h=new Date(u);h.setDate(u.getDate()-u.getDay());const g=new Date(h);return g.setDate(h.getDate()+6),`${h.toLocaleDateString("zh-CN",{month:"long",day:"numeric"})} - ${g.toLocaleDateString("zh-CN",{month:"long",day:"numeric"})}`;case"month":return u.toLocaleDateString("zh-CN",{year:"numeric",month:"long"});default:return u.toLocaleDateString("zh-CN")}}),St=mt(()=>{const u=Z.value,h=new Date(u);h.setDate(u.getDate()-u.getDay());const g=[];for(let T=0;T<7;T++){const S=new Date(h);S.setDate(h.getDate()+T),g.push({date:S,name:["周日","周一","周二","周三","周四","周五","周六"][T]})}return g}),be=mt(()=>{const u=Z.value,h=u.getFullYear(),g=u.getMonth(),T=new Date(h,g,1),S=new Date(T),q=T.getDay();S.setDate(T.getDate()-q);const z=[];for(let ut=0;ut<42;ut++){const Dt=new Date(S);Dt.setDate(S.getDate()+ut),z.push({date:Dt,dayNumber:Dt.getDate(),isCurrentMonth:Dt.getMonth()===g})}return z}),Te=mt(()=>{const h=Z.value.toLocaleDateString("en-CA");return t.value.filter(g=>g.startTime?new Date(g.startTime).toLocaleDateString("en-CA")===h:!1)}),Ot=mt(()=>Te.value.filter(u=>u.completed)),Nt=mt(()=>{let u=0;return Te.value.forEach(h=>{if(h.startTime&&h.endTime){const g=new Date(h.startTime),T=new Date(h.endTime);u+=(T-g)/(1e3*60*60)}else h.timerDuration&&(u+=h.timerDuration/3600)}),u.toFixed(1)}),pn=u=>{u.timerRunning?Ws(u):Ke(u)},Ke=u=>{u.timerRunning=!0,u.timerStartTime=new Date().toISOString(),ht.value||(ht.value=setInterval(()=>{t.value=[...t.value]},1e3))},Ws=u=>{u.timerRunning=!1;const h=new Date,g=new Date(u.timerStartTime),T=Math.floor((h-g)/1e3);u.timerDuration=(u.timerDuration||0)+T;const S=!u.startTime,q=!u.endTime;u.startTime||(u.startTime=u.timerStartTime),u.endTime||(u.endTime=h.toISOString()),u.timerStartTime=null,(S||q)&&d(`已自动为任务"${u.text}"补充时间信息`,"success"),t.value.filter(ut=>ut.timerRunning).length===0&&ht.value&&(clearInterval(ht.value),ht.value=null)},Bs=()=>{t.value.filter(h=>h.timerRunning&&h.timerStartTime).length>0&&(ht.value||(ht.value=setInterval(()=>{t.value=[...t.value]},1e3)))},zs=u=>{if(!u.timerRunning||!u.timerStartTime)return u.timerDuration||0;const h=new Date,g=new Date(u.timerStartTime),T=Math.floor((h-g)/1e3);return(u.timerDuration||0)+T},Ir=()=>{const u=new Date(Z.value);switch(V.value){case"day":u.setDate(u.getDate()-1);break;case"week":u.setDate(u.getDate()-7);break;case"month":u.setMonth(u.getMonth()-1);break}Z.value=u},Fr=()=>{const u=new Date(Z.value);switch(V.value){case"day":u.setDate(u.getDate()+1);break;case"week":u.setDate(u.getDate()+7);break;case"month":u.setMonth(u.getMonth()+1);break}Z.value=u},Rr=u=>Te.value.filter(h=>h.startTime?new Date(h.startTime).getHours()===u:!1),qr=(u,h)=>{const g=u.toLocaleDateString("en-CA");return t.value.filter(T=>{if(T.startTime){const S=new Date(T.startTime).toLocaleDateString("en-CA"),q=new Date(T.startTime).getHours();return S===g&&q===h}return!1})},Js=u=>{const h=u.toLocaleDateString("en-CA");return t.value.filter(g=>g.startTime?new Date(g.startTime).toLocaleDateString("en-CA")===h:!1)},Lr=u=>Js(u).length,Nr=u=>{const h=new Date;return u.toDateString()===h.toDateString()},Hr=u=>u.toLocaleDateString("zh-CN",{month:"2-digit",day:"2-digit"}),Vr=u=>new Date(u).toLocaleTimeString("zh-CN",{hour:"2-digit",minute:"2-digit"}),Ur=mt(()=>{const u=Zt.value,h=u.getHours(),g=u.getMinutes();return h+g/60}),Kr=u=>{const h=Zt.value.getHours();return u===h},Wr=mt(()=>{const u={q1:[],q2:[],q3:[],q4:[]};return t.value.forEach(h=>{const g=h.importance||"medium",T=h.urgency||"medium";g==="high"&&T==="high"?u.q1.push(h):g==="high"&&T==="low"?u.q2.push(h):g==="low"&&T==="high"?u.q3.push(h):u.q4.push(h)}),u}),Br=u=>({q1:"重要且紧急",q2:"重要不紧急",q3:"不重要但紧急",q4:"不重要不紧急"})[u]||"",zr=u=>({q1:"立即处理",q2:"计划安排",q3:"委托他人",q4:"删除或延迟"})[u]||"",Jr=u=>({q1:"#ff4757",q2:"#2ed573",q3:"#ffa502",q4:"#747d8c"})[u]||"#747d8c",Qr=()=>{const u=gn(),h=u.length,g=u.filter(q=>q.completed).length,T=Gr(u),S=h>0?Math.round(g/h*100):0;return{totalTasks:h,completedTasks:g,totalHours:T.toFixed(1),completionRate:S}},gn=()=>{const u=new Date,h=ve.value;return t.value.filter(g=>{if(!g.startTime)return!1;const T=new Date(g.startTime),S=T.toLocaleDateString("en-CA");switch(h){case"day":return S===u.toLocaleDateString("en-CA");case"week":const q=new Date(u);q.setDate(u.getDate()-u.getDay());const z=new Date(q);return z.setDate(q.getDate()+6),T>=q&&T<=z;case"month":return T.getMonth()===u.getMonth()&&T.getFullYear()===u.getFullYear();case"year":return T.getFullYear()===u.getFullYear();default:return!1}})},Gr=u=>{let h=0;return u.forEach(g=>{if(g.startTime&&g.endTime){const T=new Date(g.startTime),S=new Date(g.endTime);h+=(S-T)/(1e3*60*60)}else g.timerDuration&&(h+=g.timerDuration/3600)}),h},Yr=()=>{const u=gn(),h={};u.forEach(q=>{const z=b(q.projectId);h[z]=(h[z]||0)+1});const g=Object.values(h).reduce((q,z)=>q+z,0),T=["#667eea","#f093fb","#f5576c","#4facfe","#00f2fe","#43e97b"];let S=0;return Object.entries(h).map(([q,z],ut)=>{const Dt=g>0?Math.round(z/g*100):0,Me=z/g*360,We=`${Me/360*502.4} ${502.4}`,Xn=-S*502.4/360;return S+=Me,{name:q,count:z,percentage:Dt,color:T[ut%T.length],dashArray:We,dashOffset:Xn}})},Zr=()=>{const u=gn(),h={};u.forEach(q=>{const z=L(q.type);h[z]=(h[z]||0)+1});const g=Object.values(h).reduce((q,z)=>q+z,0),T=["#ff6b6b","#4ecdc4","#45b7d1","#96ceb4","#ffeaa7","#dda0dd"];let S=0;return Object.entries(h).map(([q,z],ut)=>{const Dt=g>0?Math.round(z/g*100):0,Me=z/g*360,We=`${Me/360*502.4} ${502.4}`,Xn=-S*502.4/360;return S+=Me,{name:q,count:z,percentage:Dt,color:T[ut%T.length],dashArray:We,dashOffset:Xn}})},Qs=()=>{const u=ve.value,h=[];switch(u){case"day":for(let g=0;g<24;g++){const S=180-mn(g)*15;h.push({x:g/23*760+20,y:Math.max(S,20)})}break;case"week":for(let g=0;g<7;g++){const S=180-vn(g)*10;h.push({x:g/6*760+20,y:Math.max(S,20)})}break;case"month":for(let g=0;g<30;g++){const S=180-vn(g)*8;h.push({x:g/29*760+20,y:Math.max(S,20)})}break;case"year":for(let g=0;g<12;g++){const S=180-Gs(g)*15;h.push({x:g/11*760+20,y:Math.max(S,20)})}break}return h},Xr=()=>{const u=Qs();if(u.length===0)return"";let h=`M ${u[0].x} ${u[0].y}`;for(let g=1;g<u.length;g++)h+=` L ${u[g].x} ${u[g].y}`;return h+=` L ${u[u.length-1].x} 180 L ${u[0].x} 180 Z`,h},$r=()=>{const u=ve.value,h=[];switch(u){case"day":for(let g=0;g<24;g++){const T=mn(g),S=Math.max(T*10,5);h.push({x:g/24*760+20,y:180-S,width:25,height:S,value:T,color:T>0?"#667eea":"#e2e8f0"})}break;case"week":for(let g=0;g<7;g++){const T=vn(g),S=Math.max(T*8,5);h.push({x:g/7*760+20,y:180-S,width:80,height:S,value:T,color:T>0?"#667eea":"#e2e8f0"})}break;case"month":for(let g=0;g<30;g++){const T=vn(g),S=Math.max(T*6,5);h.push({x:g/30*760+20,y:180-S,width:20,height:S,value:T,color:T>0?"#667eea":"#e2e8f0"})}break;case"year":for(let g=0;g<12;g++){const T=Gs(g),S=Math.max(T*10,5);h.push({x:g/12*760+20,y:180-S,width:50,height:S,value:T,color:T>0?"#667eea":"#e2e8f0"})}break}return h},mn=u=>gn().filter(g=>g.startTime?new Date(g.startTime).getHours()===u:!1).length,ti=u=>{const h=mn(u);return h===0?"#f7fafc":h<=2?"#4facfe":h<=4?"#667eea":"#f093fb"},vn=u=>{const h=new Date,g=new Date(h);return g.setDate(h.getDate()-u),t.value.filter(T=>{if(T.startTime){const S=new Date(T.startTime).toLocaleDateString("en-CA"),q=g.toLocaleDateString("en-CA");return S===q}return!1}).length},Gs=u=>{const h=new Date,g=new Date(h.getFullYear(),h.getMonth()-u,1);return t.value.filter(T=>{if(T.startTime){const S=new Date(T.startTime);return S.getMonth()===g.getMonth()&&S.getFullYear()===g.getFullYear()}return!1}).length},ei=u=>{Z.value=u,V.value="day"},Ys=()=>{Se(()=>{const u=Zt.value.getHours(),h=document.querySelector(`[data-hour="${u}"]`);h&&h.scrollIntoView({behavior:"smooth",block:"center"})})},ni=u=>{yt.value=u},si=u=>{yt.value=null,R.value="tasks";const h=t.value.findIndex(g=>g.id===u.id);h!==-1&&(t.value[h].editing=!0,Se(()=>{const g=document.querySelector(".edit-input");g&&g.focus()}))},oi=()=>{me.value=!me.value};return qs(async()=>{s.value||(s.value=!0),Bs(),await _e(),r.value&&await f(),setInterval(async()=>{r.value&&await f()},5*60*1e3),setInterval(()=>{Zt.value=new Date},60*1e3),V.value==="day"&&setTimeout(Ys,500)}),Ls(()=>{ht.value&&(clearInterval(ht.value),ht.value=null)}),{tasks:t,projects:e,newTask:m,newTaskProject:p,newTaskType:y,newTaskPriority:E,newTaskImportance:P,newTaskUrgency:U,newTaskStartTime:H,newTaskEndTime:st,currentFilter:G,currentTypeFilter:Y,currentProject:X,currentMenu:R,showAddProject:It,newProjectName:vt,filters:ct,totalTasks:ot,completedTasks:Xt,pendingTasks:Oe,todayTasks:$t,projectDistribution:Lt,typeDistribution:fn,totalWorkHours:Yn,averageTaskHours:Zn,filteredTasks:v,addTask:w,addProject:_,toggleTask:A,deleteTask:O,editTask:D,saveEdit:F,cancelEdit:j,toggleTimer:pn,startTimer:Ke,stopTimer:Ws,restoreTimerState:Bs,getCurrentTimerDuration:zs,notification:l,showNotification:d,exportData:ye,importData:Ae,clearData:hn,clearDefaultData:ae,handleFileImport:Ue,getPriorityText:I,getTypeText:L,getProjectName:b,getProjectTaskCount:M,formatDate:B,formatDateTime:rt,calculateDuration:$,formatDuration:bt,formatTimer:gt,calendarView:V,selectedDate:Z,selectedTask:yt,calendarTitle:Ft,weekDays:St,monthDays:be,dayTasks:Te,completedDayTasks:Ot,dayWorkHours:Nt,previousPeriod:Ir,nextPeriod:Fr,getTasksForHour:Rr,getTasksForDayAndHour:qr,getTasksForDay:Js,getDayTaskCount:Lr,isToday:Nr,formatDayDate:Hr,formatTime:Vr,currentTimeLine:Ur,isCurrentTimeLine:Kr,selectDate:ei,selectTask:ni,editTaskFromCalendar:si,scrollToCurrentTime:Ys,quadrantTasks:Wr,getQuadrantTitle:Br,getQuadrantDescription:zr,getQuadrantColor:Jr,currentTimeDimension:ve,timeDimensions:_t,getOverviewData:Qr,getProjectChartData:Yr,getTypeChartData:Zr,getTrendData:Qs,getTrendPath:Xr,getTimeDistributionData:$r,getHourTaskCount:mn,getHourColor:ti,isFullscreen:me,toggleFullscreen:oi,serverUrl:n,isOnline:r,lastServerUpdate:i,syncStatus:o,checkServerConnection:_e,syncToServer:Ee,syncFromServer:c,autoSync:f}}},Qa={class:"header"},Ga={class:"header-content"},Ya={class:"header-right"},Za={class:"notification-content"},Xa={class:"notification-icon"},$a={class:"notification-message"},tc={class:"stats"},ec={class:"stat-item"},nc={class:"stat-number"},sc={class:"stat-item"},oc={class:"stat-number"},rc={class:"stat-item"},ic={class:"stat-number"},lc={class:"stat-item"},ac={class:"stat-number"},cc={class:"menu-nav"},uc={key:1,class:"menu-content"},dc={class:"project-section"},fc={class:"project-header"},hc={class:"project-list"},pc=["onClick"],gc={class:"project-name"},mc={class:"project-count"},vc={class:"modal-actions"},yc={class:"input-group"},_c=["value"],bc={class:"filters"},Tc=["onClick"],wc={key:1,class:"todo-list"},Dc=["onClick"],kc={class:"todo-content"},xc={class:"todo-text"},Cc={key:0},Sc=["onUpdate:modelValue","onBlur","onKeyup"],Oc={class:"todo-meta"},Ac={class:"todo-time"},Ec={key:0},Mc={key:1},jc={key:0,class:"todo-duration"},Pc={key:1,class:"todo-timer"},Ic={key:0,class:"timer-running"},Fc={key:1,class:"timer-stopped"},Rc={class:"todo-actions"},qc=["onClick","title"],Lc=["onClick"],Nc=["onClick"],Hc={key:2,class:"empty-state"},Vc={key:0},Uc={key:1},Kc={key:2},Wc={key:2,class:"menu-content"},Bc={class:"work-analysis"},zc={class:"analysis-header"},Jc={class:"time-dimension-selector"},Qc=["onClick"],Gc={class:"overview-section"},Yc={class:"overview-grid"},Zc={class:"overview-card"},Xc={class:"overview-content"},$c={class:"overview-number"},tu={class:"overview-card"},eu={class:"overview-content"},nu={class:"overview-number"},su={class:"overview-card"},ou={class:"overview-content"},ru={class:"overview-number"},iu={class:"overview-card"},lu={class:"overview-content"},au={class:"overview-number"},cu={class:"charts-section"},uu={class:"charts-grid"},du={class:"chart-card"},fu={class:"chart-header"},hu={class:"chart-legend"},pu={class:"legend-label"},gu={class:"legend-value"},mu={class:"pie-chart"},vu={width:"200",height:"200",viewBox:"0 0 200 200"},yu=["stroke","stroke-dasharray","stroke-dashoffset"],_u={class:"chart-card"},bu={class:"chart-header"},Tu={class:"chart-legend"},wu={class:"legend-label"},Du={class:"legend-value"},ku={class:"pie-chart"},xu={width:"200",height:"200",viewBox:"0 0 200 200"},Cu=["stroke","stroke-dasharray","stroke-dashoffset"],Su={class:"chart-card full-width"},Ou={class:"line-chart"},Au={width:"100%",height:"200",viewBox:"0 0 800 200"},Eu=["cx","cy"],Mu=["x1","y1","x2","y2"],ju=["d"],Pu={class:"chart-card full-width"},Iu={class:"bar-chart"},Fu={width:"100%",height:"200",viewBox:"0 0 800 200"},Ru=["x","y","width","height","fill"],qu=["x","y"],Lu={class:"chart-card full-width"},Nu={class:"time-blocks"},Hu={class:"time-label"},Vu={key:0,class:"task-count"},Uu={key:3,class:"menu-content"},Ku={class:"quadrant-container"},Wu={class:"quadrant-grid"},Bu={class:"quadrant-count"},zu={class:"quadrant-description"},Ju={class:"quadrant-tasks"},Qu=["onClick"],Gu=["onClick"],Yu={key:0,class:"checkmark"},Zu={class:"task-content"},Xu={class:"task-text"},$u={class:"task-meta"},td={class:"task-project"},ed={class:"task-type"},nd={class:"task-actions"},sd=["onClick"],od=["onClick"],rd={key:0,class:"empty-quadrant"},id={class:"quadrant-count"},ld={class:"quadrant-description"},ad={class:"quadrant-tasks"},cd=["onClick"],ud=["onClick"],dd={key:0,class:"checkmark"},fd={class:"task-content"},hd={class:"task-text"},pd={class:"task-meta"},gd={class:"task-project"},md={class:"task-type"},vd={class:"task-actions"},yd=["onClick"],_d=["onClick"],bd={key:0,class:"empty-quadrant"},Td={class:"quadrant-count"},wd={class:"quadrant-description"},Dd={class:"quadrant-tasks"},kd=["onClick"],xd=["onClick"],Cd={key:0,class:"checkmark"},Sd={class:"task-content"},Od={class:"task-text"},Ad={class:"task-meta"},Ed={class:"task-project"},Md={class:"task-type"},jd={class:"task-actions"},Pd=["onClick"],Id=["onClick"],Fd={key:0,class:"empty-quadrant"},Rd={class:"quadrant-count"},qd={class:"quadrant-description"},Ld={class:"quadrant-tasks"},Nd=["onClick"],Hd=["onClick"],Vd={key:0,class:"checkmark"},Ud={class:"task-content"},Kd={class:"task-text"},Wd={class:"task-meta"},Bd={class:"task-project"},zd={class:"task-type"},Jd={class:"task-actions"},Qd=["onClick"],Gd=["onClick"],Yd={key:0,class:"empty-quadrant"},Zd={key:4,class:"menu-content"},Xd={class:"calendar-container"},$d={class:"calendar-nav"},tf={class:"calendar-title"},ef={class:"calendar-actions"},nf={class:"calendar-views"},sf={key:0,class:"day-view"},of={class:"day-header"},rf={class:"day-stats"},lf={class:"stat"},af={class:"stat"},cf={class:"stat"},uf={class:"day-timeline"},df=["data-hour"],ff={class:"time-label"},hf={class:"time-content"},pf=["onClick"],gf={class:"task-time"},mf={class:"task-text"},vf={class:"task-meta"},yf={class:"task-project"},_f={class:"task-type"},bf={key:1,class:"week-view"},Tf={class:"week-grid"},wf={class:"week-header"},Df={class:"day-name"},kf={class:"day-date"},xf={class:"day-task-count"},Cf={class:"week-body"},Sf=["data-hour"],Of={class:"time-label"},Af=["onClick"],Ef={class:"task-time"},Mf={class:"task-text"},jf={key:2,class:"month-view"},Pf={class:"month-grid"},If={class:"month-header"},Ff={class:"month-body"},Rf=["onClick"],qf={class:"day-number"},Lf={class:"day-tasks"},Nf=["onClick"],Hf={key:0,class:"more-tasks"},Vf={class:"task-details"},Uf={class:"detail-item"},Kf={class:"detail-item"},Wf={class:"detail-item"},Bf={class:"detail-item"},zf={key:0,class:"detail-item"},Jf={key:1,class:"detail-item"},Qf={key:2,class:"detail-item"},Gf={key:3,class:"detail-item"},Yf={class:"detail-item"},Zf={class:"modal-actions"},Xf={key:5,class:"menu-content"},$f={class:"data-management"},th={class:"sync-status"},eh={class:"sync-info"},nh={key:0,class:"last-update"},sh={class:"sync-actions"},oh=["disabled"],rh=["disabled"],ih={class:"data-actions"};function lh(t,e,s,n,r,i){return k(),x("div",{class:W(["container",{fullscreen:n.isFullscreen}])},[a("div",Qa,[a("div",Ga,[e[43]||(e[43]=a("div",{class:"header-left"},[a("h1",null,"📝 滴答清单"),a("p",null,"高效管理您的任务,提升工作效率")],-1)),a("div",Ya,[a("button",{onClick:e[0]||(e[0]=(...o)=>n.toggleFullscreen&&n.toggleFullscreen(...o)),class:"btn btn-secondary fullscreen-btn"},C(n.isFullscreen?"🔄 退出全屏":"⛶ 全屏"),1)])])]),n.notification?(k(),x("div",{key:0,class:W(["notification",n.notification.type])},[a("div",Za,[a("span",Xa,C(n.notification.type==="success"?"✅":n.notification.type==="error"?"❌":""),1),a("span",$a,C(n.notification.message),1)])],2)):J("",!0),a("div",tc,[a("div",ec,[a("div",nc,C(n.totalTasks),1),e[44]||(e[44]=a("div",{class:"stat-label"},"总任务",-1))]),a("div",sc,[a("div",oc,C(n.completedTasks),1),e[45]||(e[45]=a("div",{class:"stat-label"},"已完成",-1))]),a("div",rc,[a("div",ic,C(n.pendingTasks),1),e[46]||(e[46]=a("div",{class:"stat-label"},"待完成",-1))]),a("div",lc,[a("div",ac,C(n.todayTasks),1),e[47]||(e[47]=a("div",{class:"stat-label"},"今日任务",-1))])]),a("div",cc,[a("button",{onClick:e[1]||(e[1]=o=>n.currentMenu="tasks"),class:W(["menu-btn",{active:n.currentMenu==="tasks"}])}," 📝 任务管理 ",2),a("button",{onClick:e[2]||(e[2]=o=>n.currentMenu="quadrant"),class:W(["menu-btn",{active:n.currentMenu==="quadrant"}])}," 🎯 四象限 ",2),a("button",{onClick:e[3]||(e[3]=o=>n.currentMenu="calendar"),class:W(["menu-btn",{active:n.currentMenu==="calendar"}])}," 📅 日历看板 ",2),a("button",{onClick:e[4]||(e[4]=o=>n.currentMenu="analysis"),class:W(["menu-btn",{active:n.currentMenu==="analysis"}])}," 📊 工作分析 ",2),a("button",{onClick:e[5]||(e[5]=o=>n.currentMenu="data"),class:W(["menu-btn",{active:n.currentMenu==="data"}])}," 💾 数据管理 ",2)]),n.currentMenu==="tasks"?(k(),x("div",uc,[a("div",dc,[a("div",fc,[e[49]||(e[49]=a("h3",null,"📁 项目管理",-1)),a("button",{onClick:e[6]||(e[6]=o=>n.showAddProject=!0),class:"btn btn-secondary"},e[48]||(e[48]=[a("span",null,"",-1),_s(" 新建项目 ",-1)]))]),a("div",hc,[(k(!0),x(Q,null,dt(n.projects,o=>(k(),x("button",{key:o.id,onClick:l=>n.currentProject=o.id,class:W(["project-item",{active:n.currentProject===o.id}])},[a("span",gc,C(o.name),1),a("span",mc,"("+C(n.getProjectTaskCount(o.id))+")",1)],10,pc))),128))])]),n.showAddProject?(k(),x("div",{key:0,class:"modal-overlay",onClick:e[12]||(e[12]=o=>n.showAddProject=!1)},[a("div",{class:"modal",onClick:e[11]||(e[11]=At(()=>{},["stop"]))},[e[50]||(e[50]=a("h3",null,"新建项目",-1)),Ut(a("input",{"onUpdate:modelValue":e[7]||(e[7]=o=>n.newProjectName=o),onKeyup:e[8]||(e[8]=Tn((...o)=>n.addProject&&n.addProject(...o),["enter"])),placeholder:"输入项目名称...",class:"modal-input"},null,544),[[Je,n.newProjectName]]),a("div",vc,[a("button",{onClick:e[9]||(e[9]=o=>n.showAddProject=!1),class:"btn btn-secondary"},"取消"),a("button",{onClick:e[10]||(e[10]=(...o)=>n.addProject&&n.addProject(...o)),class:"btn btn-primary"},"创建")])])])):J("",!0),a("div",yc,[Ut(a("input",{"onUpdate:modelValue":e[13]||(e[13]=o=>n.newTask=o),onKeyup:e[14]||(e[14]=Tn((...o)=>n.addTask&&n.addTask(...o),["enter"])),placeholder:"输入新任务...",type:"text"},null,544),[[Je,n.newTask]]),Ut(a("select",{"onUpdate:modelValue":e[15]||(e[15]=o=>n.newTaskProject=o),class:"btn btn-secondary"},[e[51]||(e[51]=a("option",{value:""},"📁 选择项目",-1)),(k(!0),x(Q,null,dt(n.projects,o=>(k(),x("option",{key:o.id,value:o.id}," 📁 "+C(o.name),9,_c))),128))],512),[[Pe,n.newTaskProject]]),Ut(a("select",{"onUpdate:modelValue":e[16]||(e[16]=o=>n.newTaskType=o),class:"btn btn-secondary"},e[52]||(e[52]=[uo('<option value="requirement" data-v-a88cc1f2>需求分析</option><option value="documentation" data-v-a88cc1f2>文档编写</option><option value="development" data-v-a88cc1f2>开发代码</option><option value="testing" data-v-a88cc1f2>测试</option><option value="operation" data-v-a88cc1f2>运维</option><option value="other" data-v-a88cc1f2>其他</option>',6)]),512),[[Pe,n.newTaskType]]),Ut(a("select",{"onUpdate:modelValue":e[17]||(e[17]=o=>n.newTaskPriority=o),class:"btn btn-secondary"},e[53]||(e[53]=[a("option",{value:"low"},"低优先级",-1),a("option",{value:"medium"},"中优先级",-1),a("option",{value:"high"},"高优先级",-1)]),512),[[Pe,n.newTaskPriority]]),Ut(a("select",{"onUpdate:modelValue":e[18]||(e[18]=o=>n.newTaskImportance=o),class:"btn btn-secondary"},e[54]||(e[54]=[a("option",{value:"low"},"低重要性",-1),a("option",{value:"medium"},"中重要性",-1),a("option",{value:"high"},"高重要性",-1)]),512),[[Pe,n.newTaskImportance]]),Ut(a("select",{"onUpdate:modelValue":e[19]||(e[19]=o=>n.newTaskUrgency=o),class:"btn btn-secondary"},e[55]||(e[55]=[a("option",{value:"low"},"低紧急性",-1),a("option",{value:"medium"},"中紧急性",-1),a("option",{value:"high"},"高紧急性",-1)]),512),[[Pe,n.newTaskUrgency]]),Ut(a("input",{"onUpdate:modelValue":e[20]||(e[20]=o=>n.newTaskStartTime=o),type:"datetime-local",class:"btn btn-secondary",style:{"min-width":"180px"}},null,512),[[Je,n.newTaskStartTime]]),Ut(a("input",{"onUpdate:modelValue":e[21]||(e[21]=o=>n.newTaskEndTime=o),type:"datetime-local",class:"btn btn-secondary",style:{"min-width":"180px"}},null,512),[[Je,n.newTaskEndTime]]),a("button",{onClick:e[22]||(e[22]=(...o)=>n.addTask&&n.addTask(...o)),class:"btn btn-primary"},e[56]||(e[56]=[a("span",null,"",-1),_s(" 添加 ",-1)]))]),a("div",bc,[(k(!0),x(Q,null,dt(n.filters,o=>(k(),x("button",{key:o.value,onClick:l=>n.currentFilter=o.value,class:W(["filter-btn",{active:n.currentFilter===o.value}])},C(o.label),11,Tc))),128)),Ut(a("select",{"onUpdate:modelValue":e[23]||(e[23]=o=>n.currentTypeFilter=o),class:"filter-btn",style:{"min-width":"120px"}},e[57]||(e[57]=[uo('<option value="" data-v-a88cc1f2>所有类型</option><option value="requirement" data-v-a88cc1f2>需求分析</option><option value="documentation" data-v-a88cc1f2>文档编写</option><option value="development" data-v-a88cc1f2>开发代码</option><option value="testing" data-v-a88cc1f2>测试</option><option value="operation" data-v-a88cc1f2>运维</option><option value="other" data-v-a88cc1f2>其他</option>',7)]),512),[[Pe,n.currentTypeFilter]]),a("button",{onClick:e[24]||(e[24]=o=>n.currentProject=""),class:W(["filter-btn",{active:n.currentProject===""}])}," 所有项目 ",2)]),n.filteredTasks.length>0?(k(),x("div",wc,[(k(!0),x(Q,null,dt(n.filteredTasks,o=>(k(),x("div",{key:o.id,class:W(["todo-item",{completed:o.completed}])},[a("div",{class:W(["todo-checkbox",{checked:o.completed}]),onClick:l=>n.toggleTask(o.id)},null,10,Dc),a("div",kc,[a("div",xc,[o.editing?Ut((k(),x("input",{key:1,"onUpdate:modelValue":l=>o.text=l,onBlur:l=>n.saveEdit(o),onKeyup:[Tn(l=>n.saveEdit(o),["enter"]),Tn(l=>n.cancelEdit(o),["esc"])],ref_for:!0,ref:"editInput",class:"edit-input"},null,40,Sc)),[[Je,o.text]]):(k(),x("span",Cc,C(o.text),1))]),a("div",Oc,[a("span",{class:W(["todo-project",`project-${o.projectId}`])},C(n.getProjectName(o.projectId)),3),a("span",{class:W(["todo-type",`type-${o.type}`])},C(n.getTypeText(o.type)),3),a("span",{class:W(["todo-priority",`priority-${o.priority}`])},C(n.getPriorityText(o.priority)),3),a("span",Ac,[o.startTime?(k(),x("span",Ec,"🕐 "+C(n.formatDateTime(o.startTime)),1)):J("",!0),o.endTime?(k(),x("span",Mc," - "+C(n.formatDateTime(o.endTime)),1)):J("",!0)]),o.startTime&&o.endTime?(k(),x("span",jc," ⏱️ "+C(n.calculateDuration(o.startTime,o.endTime)),1)):J("",!0),o.timerRunning||o.timerDuration?(k(),x("span",Pc,[o.timerRunning?(k(),x("span",Ic," ⏱️ "+C(n.formatTimer(o)),1)):o.timerDuration?(k(),x("span",Fc," ⏱️ "+C(n.formatDuration(o.timerDuration)),1)):J("",!0)])):J("",!0)])]),a("div",Rc,[!o.startTime||!o.endTime?(k(),x("button",{key:0,onClick:l=>n.toggleTimer(o),class:W(["btn-icon",o.timerRunning?"btn-stop":"btn-start"]),title:o.timerRunning?"停止计时":"开始计时"},C(o.timerRunning?"⏹️":"▶️"),11,qc)):J("",!0),a("button",{onClick:l=>n.editTask(o),class:"btn-icon btn-edit",title:"编辑任务"}," ✏️ ",8,Lc),a("button",{onClick:l=>n.deleteTask(o.id),class:"btn-icon btn-delete",title:"删除任务"}," 🗑️ ",8,Nc)])],2))),128))])):(k(),x("div",Hc,[e[58]||(e[58]=a("h3",null,"🎉 太棒了!",-1)),n.currentFilter==="all"?(k(),x("p",Vc," 您还没有任何任务。开始添加您的第一个任务吧! ")):n.currentFilter==="completed"?(k(),x("p",Uc," 还没有完成的任务。继续加油! ")):n.currentFilter==="pending"?(k(),x("p",Kc," 所有任务都已完成!您真是太棒了! ")):J("",!0)]))])):J("",!0),n.currentMenu==="analysis"?(k(),x("div",Wc,[a("div",Bc,[a("div",zc,[e[59]||(e[59]=a("h3",null,"📊 工作分析",-1)),a("div",Jc,[(k(!0),x(Q,null,dt(n.timeDimensions,o=>(k(),x("button",{key:o.value,onClick:l=>n.currentTimeDimension=o.value,class:W(["dimension-btn",{active:n.currentTimeDimension===o.value}])},C(o.label),11,Qc))),128))])]),a("div",Gc,[a("div",Yc,[a("div",Zc,[e[61]||(e[61]=a("div",{class:"overview-icon"},"📝",-1)),a("div",Xc,[a("div",$c,C(n.getOverviewData().totalTasks),1),e[60]||(e[60]=a("div",{class:"overview-label"},"总任务数",-1))])]),a("div",tu,[e[63]||(e[63]=a("div",{class:"overview-icon"},"✅",-1)),a("div",eu,[a("div",nu,C(n.getOverviewData().completedTasks),1),e[62]||(e[62]=a("div",{class:"overview-label"},"已完成",-1))])]),a("div",su,[e[65]||(e[65]=a("div",{class:"overview-icon"},"⏱️",-1)),a("div",ou,[a("div",ru,C(n.getOverviewData().totalHours)+"h",1),e[64]||(e[64]=a("div",{class:"overview-label"},"工作时长",-1))])]),a("div",iu,[e[67]||(e[67]=a("div",{class:"overview-icon"},"📈",-1)),a("div",lu,[a("div",au,C(n.getOverviewData().completionRate)+"%",1),e[66]||(e[66]=a("div",{class:"overview-label"},"完成率",-1))])])])]),a("div",cu,[a("div",uu,[a("div",du,[a("div",fu,[e[68]||(e[68]=a("h4",null,"📊 项目占比",-1)),a("div",hu,[(k(!0),x(Q,null,dt(n.getProjectChartData(),o=>(k(),x("div",{key:o.name,class:"legend-item"},[a("div",{class:"legend-color",style:Pt({backgroundColor:o.color})},null,4),a("span",pu,C(o.name),1),a("span",gu,C(o.percentage)+"%",1)]))),128))])]),a("div",mu,[(k(),x("svg",vu,[e[69]||(e[69]=a("circle",{cx:"100",cy:"100",r:"80",fill:"none",stroke:"#e2e8f0","stroke-width":"20"},null,-1)),(k(!0),x(Q,null,dt(n.getProjectChartData(),(o,l)=>(k(),x("g",{key:o.name},[a("circle",{cx:"100",cy:"100",r:"80",fill:"none",stroke:o.color,"stroke-width":"20","stroke-dasharray":o.dashArray,"stroke-dashoffset":o.dashOffset,transform:"rotate(-90 100 100)"},null,8,yu)]))),128))]))])]),a("div",_u,[a("div",bu,[e[70]||(e[70]=a("h4",null,"📊 类型占比",-1)),a("div",Tu,[(k(!0),x(Q,null,dt(n.getTypeChartData(),o=>(k(),x("div",{key:o.name,class:"legend-item"},[a("div",{class:"legend-color",style:Pt({backgroundColor:o.color})},null,4),a("span",wu,C(o.name),1),a("span",Du,C(o.percentage)+"%",1)]))),128))])]),a("div",ku,[(k(),x("svg",xu,[e[71]||(e[71]=a("circle",{cx:"100",cy:"100",r:"80",fill:"none",stroke:"#e2e8f0","stroke-width":"20"},null,-1)),(k(!0),x(Q,null,dt(n.getTypeChartData(),(o,l)=>(k(),x("g",{key:o.name},[a("circle",{cx:"100",cy:"100",r:"80",fill:"none",stroke:o.color,"stroke-width":"20","stroke-dasharray":o.dashArray,"stroke-dashoffset":o.dashOffset,transform:"rotate(-90 100 100)"},null,8,Cu)]))),128))]))])]),a("div",Su,[e[73]||(e[73]=a("div",{class:"chart-header"},[a("h4",null,"📈 活动趋势")],-1)),a("div",Ou,[(k(),x("svg",Au,[e[72]||(e[72]=a("defs",null,[a("linearGradient",{id:"lineGradient",x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[a("stop",{offset:"0%",style:{"stop-color":"#667eea","stop-opacity":"0.8"}}),a("stop",{offset:"100%",style:{"stop-color":"#667eea","stop-opacity":"0.1"}})])],-1)),(k(!0),x(Q,null,dt(n.getTrendData(),(o,l)=>(k(),x("g",{key:l},[a("circle",{cx:o.x,cy:o.y,r:"4",fill:"#667eea",class:"trend-point"},null,8,Eu),l>0?(k(),x("line",{key:0,x1:n.getTrendData()[l-1].x,y1:n.getTrendData()[l-1].y,x2:o.x,y2:o.y,stroke:"#667eea","stroke-width":"2"},null,8,Mu)):J("",!0)]))),128)),a("path",{d:n.getTrendPath(),fill:"url(#lineGradient)",opacity:"0.3"},null,8,ju)]))])]),a("div",Pu,[e[74]||(e[74]=a("div",{class:"chart-header"},[a("h4",null,"⏰ 时间分布")],-1)),a("div",Iu,[(k(),x("svg",Fu,[(k(!0),x(Q,null,dt(n.getTimeDistributionData(),(o,l)=>(k(),x("g",{key:l},[a("rect",{x:o.x,y:o.y,width:o.width,height:o.height,fill:o.color,rx:"2",class:"bar-item"},null,8,Ru),a("text",{x:o.x+o.width/2,y:o.y-5,"text-anchor":"middle","font-size":"12",fill:"#4a5568"},C(o.value),9,qu)]))),128))]))])]),a("div",Lu,[e[75]||(e[75]=a("div",{class:"chart-header"},[a("h4",null,"🕐 今日时间块")],-1)),a("div",Nu,[(k(),x(Q,null,dt(24,o=>a("div",{key:o,class:W(["time-block",{"has-task":n.getHourTaskCount(o-1)>0}]),style:Pt({backgroundColor:n.getHourTaskCount(o-1)>0?n.getHourColor(o-1):"#f7fafc",opacity:n.getHourTaskCount(o-1)>0?.8:.3})},[a("div",Hu,C((o-1).toString().padStart(2,"0"))+":00",1),n.getHourTaskCount(o-1)>0?(k(),x("div",Vu,C(n.getHourTaskCount(o-1))+"个任务 ",1)):J("",!0)],6)),64))])])])])])])):J("",!0),n.currentMenu==="quadrant"?(k(),x("div",Uu,[a("div",Ku,[e[76]||(e[76]=a("div",{class:"quadrant-header"},[a("h3",null,"🎯 四象限任务管理"),a("p",null,"按照重要性和紧急性对任务进行分类,提高工作效率")],-1)),a("div",Wu,[a("div",{class:"quadrant",style:Pt({borderColor:n.getQuadrantColor("q1")})},[a("div",{class:"quadrant-header",style:Pt({backgroundColor:n.getQuadrantColor("q1")})},[a("h4",null,C(n.getQuadrantTitle("q1")),1),a("span",Bu,C(n.quadrantTasks.q1.length)+"个任务",1)],4),a("div",zu,C(n.getQuadrantDescription("q1")),1),a("div",Ju,[(k(!0),x(Q,null,dt(n.quadrantTasks.q1,o=>(k(),x("div",{key:o.id,class:W(["quadrant-task",{completed:o.completed}]),onClick:l=>n.selectTask(o)},[a("div",{class:"task-checkbox",onClick:At(l=>n.toggleTask(o.id),["stop"])},[o.completed?(k(),x("span",Yu,"✓")):J("",!0)],8,Gu),a("div",Zu,[a("div",Xu,C(o.text),1),a("div",$u,[a("span",td,C(n.getProjectName(o.projectId)),1),a("span",ed,C(n.getTypeText(o.type)),1)])]),a("div",nd,[a("button",{onClick:At(l=>n.editTask(o),["stop"]),class:"btn-icon btn-edit"},"✏️",8,sd),a("button",{onClick:At(l=>n.deleteTask(o.id),["stop"]),class:"btn-icon btn-delete"},"🗑️",8,od)])],10,Qu))),128)),n.quadrantTasks.q1.length===0?(k(),x("div",rd," 暂无任务 ")):J("",!0)])],4),a("div",{class:"quadrant",style:Pt({borderColor:n.getQuadrantColor("q2")})},[a("div",{class:"quadrant-header",style:Pt({backgroundColor:n.getQuadrantColor("q2")})},[a("h4",null,C(n.getQuadrantTitle("q2")),1),a("span",id,C(n.quadrantTasks.q2.length)+"个任务",1)],4),a("div",ld,C(n.getQuadrantDescription("q2")),1),a("div",ad,[(k(!0),x(Q,null,dt(n.quadrantTasks.q2,o=>(k(),x("div",{key:o.id,class:W(["quadrant-task",{completed:o.completed}]),onClick:l=>n.selectTask(o)},[a("div",{class:"task-checkbox",onClick:At(l=>n.toggleTask(o.id),["stop"])},[o.completed?(k(),x("span",dd,"✓")):J("",!0)],8,ud),a("div",fd,[a("div",hd,C(o.text),1),a("div",pd,[a("span",gd,C(n.getProjectName(o.projectId)),1),a("span",md,C(n.getTypeText(o.type)),1)])]),a("div",vd,[a("button",{onClick:At(l=>n.editTask(o),["stop"]),class:"btn-icon btn-edit"},"✏️",8,yd),a("button",{onClick:At(l=>n.deleteTask(o.id),["stop"]),class:"btn-icon btn-delete"},"🗑️",8,_d)])],10,cd))),128)),n.quadrantTasks.q2.length===0?(k(),x("div",bd," 暂无任务 ")):J("",!0)])],4),a("div",{class:"quadrant",style:Pt({borderColor:n.getQuadrantColor("q3")})},[a("div",{class:"quadrant-header",style:Pt({backgroundColor:n.getQuadrantColor("q3")})},[a("h4",null,C(n.getQuadrantTitle("q3")),1),a("span",Td,C(n.quadrantTasks.q3.length)+"个任务",1)],4),a("div",wd,C(n.getQuadrantDescription("q3")),1),a("div",Dd,[(k(!0),x(Q,null,dt(n.quadrantTasks.q3,o=>(k(),x("div",{key:o.id,class:W(["quadrant-task",{completed:o.completed}]),onClick:l=>n.selectTask(o)},[a("div",{class:"task-checkbox",onClick:At(l=>n.toggleTask(o.id),["stop"])},[o.completed?(k(),x("span",Cd,"✓")):J("",!0)],8,xd),a("div",Sd,[a("div",Od,C(o.text),1),a("div",Ad,[a("span",Ed,C(n.getProjectName(o.projectId)),1),a("span",Md,C(n.getTypeText(o.type)),1)])]),a("div",jd,[a("button",{onClick:At(l=>n.editTask(o),["stop"]),class:"btn-icon btn-edit"},"✏️",8,Pd),a("button",{onClick:At(l=>n.deleteTask(o.id),["stop"]),class:"btn-icon btn-delete"},"🗑️",8,Id)])],10,kd))),128)),n.quadrantTasks.q3.length===0?(k(),x("div",Fd," 暂无任务 ")):J("",!0)])],4),a("div",{class:"quadrant",style:Pt({borderColor:n.getQuadrantColor("q4")})},[a("div",{class:"quadrant-header",style:Pt({backgroundColor:n.getQuadrantColor("q4")})},[a("h4",null,C(n.getQuadrantTitle("q4")),1),a("span",Rd,C(n.quadrantTasks.q4.length)+"个任务",1)],4),a("div",qd,C(n.getQuadrantDescription("q4")),1),a("div",Ld,[(k(!0),x(Q,null,dt(n.quadrantTasks.q4,o=>(k(),x("div",{key:o.id,class:W(["quadrant-task",{completed:o.completed}]),onClick:l=>n.selectTask(o)},[a("div",{class:"task-checkbox",onClick:At(l=>n.toggleTask(o.id),["stop"])},[o.completed?(k(),x("span",Vd,"✓")):J("",!0)],8,Hd),a("div",Ud,[a("div",Kd,C(o.text),1),a("div",Wd,[a("span",Bd,C(n.getProjectName(o.projectId)),1),a("span",zd,C(n.getTypeText(o.type)),1)])]),a("div",Jd,[a("button",{onClick:At(l=>n.editTask(o),["stop"]),class:"btn-icon btn-edit"},"✏️",8,Qd),a("button",{onClick:At(l=>n.deleteTask(o.id),["stop"]),class:"btn-icon btn-delete"},"🗑️",8,Gd)])],10,Nd))),128)),n.quadrantTasks.q4.length===0?(k(),x("div",Yd," 暂无任务 ")):J("",!0)])],4)])])])):J("",!0),n.currentMenu==="calendar"?(k(),x("div",Zd,[a("div",Xd,[a("div",$d,[a("button",{onClick:e[25]||(e[25]=(...o)=>n.previousPeriod&&n.previousPeriod(...o)),class:"btn btn-secondary"}," ◀️ 上期 "),a("h3",tf,C(n.calendarTitle),1),a("div",ef,[a("button",{onClick:e[26]||(e[26]=(...o)=>n.scrollToCurrentTime&&n.scrollToCurrentTime(...o)),class:"btn btn-secondary current-time-btn",title:"滚动到当前时间"}," 🕐 当前时间 "),a("button",{onClick:e[27]||(e[27]=(...o)=>n.nextPeriod&&n.nextPeriod(...o)),class:"btn btn-secondary"}," 下期 ▶️ ")])]),a("div",nf,[a("button",{onClick:e[28]||(e[28]=()=>{n.calendarView="day",t.setTimeout(n.scrollToCurrentTime,100)}),class:W(["view-btn",{active:n.calendarView==="day"}])}," 日视图 ",2),a("button",{onClick:e[29]||(e[29]=()=>{n.calendarView="week",t.setTimeout(n.scrollToCurrentTime,100)}),class:W(["view-btn",{active:n.calendarView==="week"}])}," 周视图 ",2),a("button",{onClick:e[30]||(e[30]=o=>n.calendarView="month"),class:W(["view-btn",{active:n.calendarView==="month"}])}," 月视图 ",2)]),n.calendarView==="day"?(k(),x("div",sf,[a("div",of,[a("h4",null,C(n.formatDate(n.selectedDate)),1),a("div",rf,[a("span",lf,"任务: "+C(n.dayTasks.length),1),a("span",af,"已完成: "+C(n.completedDayTasks.length),1),a("span",cf,"工作时长: "+C(n.dayWorkHours)+"小时",1)])]),a("div",uf,[(k(),x(Q,null,dt(24,o=>a("div",{key:o,class:W(["time-slot",{"current-time":n.isCurrentTimeLine(o-1)}]),"data-hour":o-1},[a("div",ff,C((o-1).toString().padStart(2,"0"))+":00",1),a("div",hf,[(k(!0),x(Q,null,dt(n.getTasksForHour(o-1),l=>(k(),x("div",{key:l.id,class:W(["timeline-task",{completed:l.completed}]),onClick:d=>n.selectTask(l)},[a("div",gf,C(n.formatTime(l.startTime)),1),a("div",mf,C(l.text),1),a("div",vf,[a("span",yf,C(n.getProjectName(l.projectId)),1),a("span",_f,C(n.getTypeText(l.type)),1)])],10,pf))),128))])],10,df)),64))])])):J("",!0),n.calendarView==="week"?(k(),x("div",bf,[a("div",Tf,[a("div",wf,[e[77]||(e[77]=a("div",{class:"time-column"},"时间",-1)),(k(!0),x(Q,null,dt(n.weekDays,o=>(k(),x("div",{key:o.date,class:W(["day-column",{today:n.isToday(o.date)}])},[a("div",Df,C(o.name),1),a("div",kf,C(n.formatDayDate(o.date)),1),a("div",xf,C(n.getDayTaskCount(o.date))+"个任务",1)],2))),128))]),a("div",Cf,[(k(),x(Q,null,dt(24,o=>a("div",{key:o,class:W(["time-row",{"current-time":n.isCurrentTimeLine(o-1)}]),"data-hour":o-1},[a("div",Of,C((o-1).toString().padStart(2,"0"))+":00",1),(k(!0),x(Q,null,dt(n.weekDays,l=>(k(),x("div",{key:l.date,class:"day-cell"},[(k(!0),x(Q,null,dt(n.getTasksForDayAndHour(l.date,o-1),d=>(k(),x("div",{key:d.id,class:W(["week-task",{completed:d.completed}]),onClick:m=>n.selectTask(d)},[a("div",Ef,C(n.formatTime(d.startTime)),1),a("div",Mf,C(d.text),1)],10,Af))),128))]))),128))],10,Sf)),64))])])])):J("",!0),n.calendarView==="month"?(k(),x("div",jf,[a("div",Pf,[a("div",If,[(k(),x(Q,null,dt(["日","一","二","三","四","五","六"],o=>a("div",{key:o,class:"day-name"},C(o),1)),64))]),a("div",Ff,[(k(!0),x(Q,null,dt(n.monthDays,o=>(k(),x("div",{key:o.date,class:W(["month-day",{"other-month":!o.isCurrentMonth,today:n.isToday(o.date),"has-tasks":n.getDayTaskCount(o.date)>0}]),onClick:l=>n.selectDate(o.date)},[a("div",qf,C(o.dayNumber),1),a("div",Lf,[(k(!0),x(Q,null,dt(n.getTasksForDay(o.date).slice(0,3),l=>(k(),x("div",{key:l.id,class:W(["month-task",{completed:l.completed}]),onClick:At(d=>n.selectTask(l),["stop"])},C(l.text),11,Nf))),128)),n.getDayTaskCount(o.date)>3?(k(),x("div",Hf," +"+C(n.getDayTaskCount(o.date)-3)+"个 ",1)):J("",!0)])],10,Rf))),128))])])])):J("",!0),n.selectedTask?(k(),x("div",{key:3,class:"modal-overlay",onClick:e[34]||(e[34]=o=>n.selectedTask=null)},[a("div",{class:"modal task-modal",onClick:e[33]||(e[33]=At(()=>{},["stop"]))},[e[87]||(e[87]=a("h3",null,"任务详情",-1)),a("div",Vf,[a("div",Uf,[e[78]||(e[78]=a("label",null,"任务内容:",-1)),a("span",null,C(n.selectedTask.text),1)]),a("div",Kf,[e[79]||(e[79]=a("label",null,"所属项目:",-1)),a("span",null,C(n.getProjectName(n.selectedTask.projectId)),1)]),a("div",Wf,[e[80]||(e[80]=a("label",null,"任务类型:",-1)),a("span",null,C(n.getTypeText(n.selectedTask.type)),1)]),a("div",Bf,[e[81]||(e[81]=a("label",null,"优先级:",-1)),a("span",null,C(n.getPriorityText(n.selectedTask.priority)),1)]),n.selectedTask.startTime?(k(),x("div",zf,[e[82]||(e[82]=a("label",null,"开始时间:",-1)),a("span",null,C(n.formatDateTime(n.selectedTask.startTime)),1)])):J("",!0),n.selectedTask.endTime?(k(),x("div",Jf,[e[83]||(e[83]=a("label",null,"结束时间:",-1)),a("span",null,C(n.formatDateTime(n.selectedTask.endTime)),1)])):J("",!0),n.selectedTask.startTime&&n.selectedTask.endTime?(k(),x("div",Qf,[e[84]||(e[84]=a("label",null,"工作时长:",-1)),a("span",null,C(n.calculateDuration(n.selectedTask.startTime,n.selectedTask.endTime)),1)])):J("",!0),n.selectedTask.timerDuration?(k(),x("div",Gf,[e[85]||(e[85]=a("label",null,"计时时长:",-1)),a("span",null,C(n.formatDuration(n.selectedTask.timerDuration)),1)])):J("",!0),a("div",Yf,[e[86]||(e[86]=a("label",null,"状态:",-1)),a("span",{class:W({completed:n.selectedTask.completed})},C(n.selectedTask.completed?"已完成":"进行中"),3)])]),a("div",Zf,[a("button",{onClick:e[31]||(e[31]=o=>n.selectedTask=null),class:"btn btn-secondary"},"关闭"),a("button",{onClick:e[32]||(e[32]=o=>n.editTaskFromCalendar(n.selectedTask)),class:"btn btn-primary"},"编辑")])])])):J("",!0)])])):J("",!0),n.currentMenu==="data"?(k(),x("div",Xf,[a("div",$f,[e[88]||(e[88]=a("h3",null,"💾 数据管理",-1)),a("div",th,[a("div",eh,[a("span",{class:W(["sync-indicator",{online:n.isOnline,offline:!n.isOnline}])},C(n.isOnline?"🟢 服务器在线":"🔴 服务器离线"),3),n.lastServerUpdate?(k(),x("span",nh," 最后同步: "+C(n.formatDateTime(n.lastServerUpdate)),1)):J("",!0)]),a("div",sh,[a("button",{onClick:e[35]||(e[35]=(...o)=>n.checkServerConnection&&n.checkServerConnection(...o)),class:"btn btn-secondary"}," 🔄 检查连接 "),a("button",{onClick:e[36]||(e[36]=(...o)=>n.syncToServer&&n.syncToServer(...o)),disabled:!n.isOnline||n.syncStatus==="syncing",class:"btn btn-primary"},C(n.syncStatus==="syncing"?"⏳ 同步中...":"📤 同步到服务器"),9,oh),a("button",{onClick:e[37]||(e[37]=(...o)=>n.syncFromServer&&n.syncFromServer(...o)),disabled:!n.isOnline||n.syncStatus==="syncing",class:"btn btn-primary"},C(n.syncStatus==="syncing"?"⏳ 同步中...":"📥 从服务器同步"),9,rh)])]),a("div",ih,[a("button",{onClick:e[38]||(e[38]=(...o)=>n.exportData&&n.exportData(...o)),class:"btn btn-secondary"}," 📤 导出数据 "),a("button",{onClick:e[39]||(e[39]=(...o)=>n.importData&&n.importData(...o)),class:"btn btn-secondary"}," 📥 导入数据 "),a("button",{onClick:e[40]||(e[40]=(...o)=>n.clearData&&n.clearData(...o)),class:"btn btn-secondary"}," 🗑️ 清空数据 "),a("button",{onClick:e[41]||(e[41]=(...o)=>n.clearDefaultData&&n.clearDefaultData(...o)),class:"btn btn-secondary"}," 🧹 清除默认数据 "),a("input",{ref:"fileInput",type:"file",accept:".json",onChange:e[42]||(e[42]=(...o)=>n.handleFileImport&&n.handleFileImport(...o)),style:{display:"none"}},null,544)])])])):J("",!0)],2)}const ah=za(Ja,[["render",lh],["__scopeId","data-v-a88cc1f2"]]);xa(ah).mount("#app");