MyWorkTime/dist/assets/index-6a0a008e.js

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