diff --git a/assets/index-5sV3ll6A.css b/assets/index-5sV3ll6A.css new file mode 100644 index 0000000..58c630e --- /dev/null +++ b/assets/index-5sV3ll6A.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Sora:wght@300;600;700&display=swap";:root{--vt-c-white: #ffffff;--vt-c-white-soft: #f8f8f8;--vt-c-white-mute: #f2f2f2;--vt-c-black: #181818;--vt-c-black-soft: #222222;--vt-c-black-mute: #282828;--vt-c-indigo: #2c3e50}*,*:before,*:after{box-sizing:border-box;padding:0;margin:0;font-family:Sora,sans-serif}body{min-height:100vh;min-width:100%;padding:3rem 0 0;display:flex;align-items:center;justify-content:flex-start;flex-direction:column;color:var(--vt-c-white-soft);background:var(--vt-c-black-soft);transition:color .5s,background-color .5s;background-image:url("data:image/svg+xml,%3csvg%20id='visual'%20viewBox='0%200%20960%20540'%20width='960'%20height='540'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20version='1.1'%3e%3crect%20x='0'%20y='0'%20width='960'%20height='540'%20fill='%23222222'%3e%3c/rect%3e%3cdefs%3e%3clinearGradient%20id='grad1_0'%20x1='43.8%25'%20y1='100%25'%20x2='100%25'%20y2='0%25'%3e%3cstop%20offset='14.444444444444446%25'%20stop-color='%23222222'%20stop-opacity='1'%3e%3c/stop%3e%3cstop%20offset='85.55555555555554%25'%20stop-color='%23222222'%20stop-opacity='1'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cdefs%3e%3clinearGradient%20id='grad2_0'%20x1='0%25'%20y1='100%25'%20x2='56.3%25'%20y2='0%25'%3e%3cstop%20offset='14.444444444444446%25'%20stop-color='%23222222'%20stop-opacity='1'%3e%3c/stop%3e%3cstop%20offset='85.55555555555554%25'%20stop-color='%23222222'%20stop-opacity='1'%3e%3c/stop%3e%3c/linearGradient%3e%3c/defs%3e%3cg%20transform='translate(960,%20540)'%3e%3cpath%20d='M-324%200C-276.4%20-25.2%20-228.8%20-50.4%20-218%20-90.3C-207.3%20-130.2%20-233.5%20-184.7%20-223.4%20-223.4C-213.4%20-262.2%20-167.3%20-285.2%20-124%20-299.3C-80.7%20-313.5%20-40.4%20-318.7%200%20-324L0%200Z'%20fill='%2347A992'%3e%3c/path%3e%3c/g%3e%3cg%20transform='translate(0,%200)'%3e%3cpath%20d='M324%200C318.7%2046.1%20313.3%2092.1%20286.4%20118.6C259.5%20145.2%20211%20152.2%20183.8%20183.8C156.7%20215.5%20151.1%20271.9%20124%20299.3C96.9%20326.8%2048.5%20325.4%200%20324L0%200Z'%20fill='%2347A992'%3e%3c/path%3e%3c/g%3e%3c/svg%3e");background-repeat:no-repeat;background-size:cover;-webkit-backdrop-filter:blur(100px);backdrop-filter:blur(100px);position:relative}:root{--vt-c-white: #ffffff;--vt-c-white-mute: #b4b4b4;--vt-c-white-line: #b4b4b42a;--vt-c-black: #181818;--vt-c-black-mute: #282828;--vt-c-green: #47A992}#app{max-width:55%;text-align:center}#header{display:flex;justify-content:center;align-items:center;flex-direction:column;margin:0 0 2rem}#main{position:relative}form{display:flex;justify-content:flex-start;align-items:center;flex-direction:row;gap:0 1rem;z-index:1}.title{color:var(--vt-c-green);font-size:2.5rem;margin:0 0 1rem;text-transform:uppercase}.text{color:var(--vt-c-white);font-size:1.1rem}.done{text-decoration:line-through}li{max-width:90%;min-height:270px;display:flex;justify-content:center;align-items:center;flex-direction:row;position:relative;color:var(--vt-c-white);font-size:1.3rem;padding:3rem 0;border-bottom:1px solid var(--vt-c-white-line)}li span{position:absolute;word-wrap:break-word;left:2.5rem;margin:0 1rem}li button{background-color:var(--vt-c-green);color:var(--vt-c-white);font-weight:600;position:absolute;right:0;height:2rem;width:2rem;border-radius:.2rem;border:none;outline:none;cursor:pointer;transition:transform .2s ease-in-out;box-shadow:#0000004d 0 5px 20px}li button:hover{transform:scale(1.1)}li input[type=checkbox]{accent-color:var(--vt-c-green);position:absolute;left:0;height:1.6rem;width:1.6rem;border:none;outline:none;box-shadow:#0000004d 0 5px 20px}ul{list-style:none;max-width:90%;margin:2rem 0 0}.textTodo{color:var(--vt-c-black-mute);border-radius:.5rem;outline:none;border:none;height:3.5rem;width:34rem;padding:0 1rem;box-shadow:#0000004d 0 5px 20px}.addTask{background-color:var(--vt-c-green);color:var(--vt-c-white);font-size:1.8rem;border-radius:.5rem;font-weight:600;border:none;height:3.5rem;width:5rem;cursor:pointer;z-index:2;box-shadow:#0000006d 0 5px 20px}.textTodo::placeholder{color:var(--vt-c-black-mute);opacity:.5}.hidden{background-color:var(--vt-c-green);color:var(--vt-c-white);font-size:1.1rem;border-radius:.5rem;font-weight:600;border:none;height:3.5rem;width:12rem;position:absolute;top:0;right:0;cursor:pointer;z-index:2;box-shadow:#0000006d 0 5px 20px}@media (min-width: 1000px){#app{max-width:60%}form{justify-content:center;flex-direction:row;gap:.9rem}ul{max-width:100%;margin:2rem 0 0}li{max-width:100%;border-bottom:1px solid var(--vt-c-white-mute)}li span{max-width:88%}li button{height:2.5rem;width:2.5rem;top:7.5rem;right:0}.textTodo{width:33rem}.addTask{width:8rem}.hidden{width:7rem;top:0;right:0}.title{color:var(--vt-c-green)}.text{width:90%}}@media (min-width: 899px) and (max-width: 999px){#app{max-width:90%}form{justify-content:center;flex-direction:row;gap:1rem}ul{max-width:100%;margin:2rem 0 0}li{max-width:100%;border-bottom:1px solid var(--vt-c-white)}li span{max-width:90%}li button{height:1.5rem;width:1.5rem;top:11rem;left:0}.textTodo{width:100%}.addTask{width:8rem}.hidden{width:6.35rem;top:4.5rem;right:0}.title{color:var(--vt-c-white)}.text{width:90%}}@media (min-width: 640px) and (max-width: 899px){#app{max-width:90%}form{justify-content:center;flex-direction:row;gap:1rem}ul{max-width:100%;margin:2rem 0 0}li{max-width:100%;border-bottom:1px solid var(--vt-c-white)}li span{max-width:90%}li button{height:1.5rem;width:1.5rem;top:11rem;left:0}.textTodo{width:100%}.addTask{width:8rem}.hidden{width:6.35rem;top:4.5rem;right:0}.title{color:var(--vt-c-white)}.text{width:90%}}@media (min-width: 430px) and (max-width: 639px){#app{max-width:90%}form{justify-content:center;flex-direction:column;gap:0}ul{max-width:100%;margin:2rem 0 0}li{max-width:100%;border-bottom:1px solid var(--vt-c-white)}li span{word-wrap:break-word;max-width:90%}li button{height:1.5rem;width:1.5rem;top:11rem;left:0}.textTodo{width:100%}.addTask{position:absolute;top:4.55rem;left:0;width:8rem}.hidden{width:8rem;top:4.5rem;right:0}.title{color:var(--vt-c-white)}.text{width:90%}}@media (max-width: 429px){#app{max-width:90%}form{flex-direction:column;gap:0}ul{max-width:100%}li{border-bottom:1px solid var(--vt-c-white)}li span{max-width:90%}li button{height:1.5rem;width:1.5rem;top:11rem;left:0}.textTodo{width:100%;scroll-snap-type:initial}.addTask{position:absolute;top:4.55rem;left:0;width:8rem}.hidden{width:8rem;top:4.5rem;right:0}.title{color:var(--vt-c-white)}.text{width:90%}} diff --git a/assets/index-F3CYMZf6.js b/assets/index-F3CYMZf6.js new file mode 100644 index 0000000..4399c00 --- /dev/null +++ b/assets/index-F3CYMZf6.js @@ -0,0 +1 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function On(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const L={},Je=[],be=()=>{},Or=()=>!1,Bt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pn=e=>e.startsWith("onUpdate:"),Q=Object.assign,An=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Pr=Object.prototype.hasOwnProperty,N=(e,t)=>Pr.call(e,t),O=Array.isArray,Ye=e=>yt(e)==="[object Map]",Wt=e=>yt(e)==="[object Set]",Zn=e=>yt(e)==="[object Date]",I=e=>typeof e=="function",z=e=>typeof e=="string",ke=e=>typeof e=="symbol",$=e=>e!==null&&typeof e=="object",Fs=e=>($(e)||I(e))&&I(e.then)&&I(e.catch),Rs=Object.prototype.toString,yt=e=>Rs.call(e),Ar=e=>yt(e).slice(8,-1),Ns=e=>yt(e)==="[object Object]",In=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=On(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ir=/-(\w)/g,Ge=Vt(e=>e.replace(Ir,(t,n)=>n?n.toUpperCase():"")),Mr=/\B([A-Z])/g,st=Vt(e=>e.replace(Mr,"-$1").toLowerCase()),Ss=Vt(e=>e.charAt(0).toUpperCase()+e.slice(1)),sn=Vt(e=>e?`on${Ss(e)}`:""),Be=(e,t)=>!Object.is(e,t),Rt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},hn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Qn;const pn=()=>Qn||(Qn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Mn(e){if(O(e)){const t={};for(let n=0;n{if(n){const s=n.split(Rr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ve(e){let t="";if(z(e))t=e;else if(O(e))for(let n=0;nqt(n,t))}const kn=e=>z(e)?e:e==null?"":O(e)||$(e)&&(e.toString===Rs||!I(e.toString))?JSON.stringify(e,Hs,2):String(e),Hs=(e,t)=>t&&t.__v_isRef?Hs(e,t.value):Ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:Wt(t)?{[`Set(${t.size})`]:[...t.values()]}:$(t)&&!O(t)&&!Ns(t)?String(t):t;let ie;class Ur{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ie,!t&&ie&&(this.index=(ie.scopes||(ie.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ie;try{return ie=this,t()}finally{ie=n}}}on(){ie=this}off(){ie=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Us=e=>(e.w&Ie)>0,Ds=e=>(e.n&Ie)>0,$r=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(g==="length"||!ke(g)&&g>=u)&&c.push(a)})}else switch(n!==void 0&&c.push(o.get(n)),t){case"add":O(e)?In(n)&&c.push(o.get("length")):(c.push(o.get(De)),Ye(e)&&c.push(o.get(_n)));break;case"delete":O(e)||(c.push(o.get(De)),Ye(e)&&c.push(o.get(_n)));break;case"set":Ye(e)&&c.push(o.get(De));break}if(c.length===1)c[0]&&bn(c[0]);else{const u=[];for(const a of c)a&&u.push(...a);bn(Fn(u))}}function bn(e,t){const n=O(e)?e:[...e];for(const s of n)s.computed&&es(s);for(const s of n)s.computed||es(s)}function es(e,t){(e!==oe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Wr=On("__proto__,__v_isRef,__isVue"),Bs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ke)),ts=Vr();function Vr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=S(this);for(let i=0,o=this.length;i{e[t]=function(...n){rt();const s=S(this)[t].apply(this,n);return it(),s}}),e}function qr(e){const t=S(this);return ne(t,"has",e),t.hasOwnProperty(e)}class Ws{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,s){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw"&&s===(r?i?ri:Js:i?zs:qs).get(t))return t;const o=O(t);if(!r){if(o&&N(ts,n))return Reflect.get(ts,n,s);if(n==="hasOwnProperty")return qr}const c=Reflect.get(t,n,s);return(ke(n)?Bs.has(n):Wr(n))||(r||ne(t,"get",n),i)?c:Z(c)?o&&In(n)?c:c.value:$(c)?r?Ys(c):jn(c):c}}class Vs extends Ws{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(et(i)&&Z(i)&&!Z(s))return!1;if(!this._shallow&&(!Ht(s)&&!et(s)&&(i=S(i),s=S(s)),!O(t)&&Z(i)&&!Z(s)))return i.value=s,!0;const o=O(t)&&In(n)?Number(n)e,zt=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n=!1,s=!1){e=e.__v_raw;const r=S(e),i=S(t);n||(Be(t,i)&&ne(r,"get",t),ne(r,"get",i));const{has:o}=zt(r),c=s?Nn:n?Hn:pt;if(o.call(r,t))return c(e.get(t));if(o.call(r,i))return c(e.get(i));e!==r&&e.get(t)}function Ot(e,t=!1){const n=this.__v_raw,s=S(n),r=S(e);return t||(Be(e,r)&&ne(s,"has",e),ne(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Pt(e,t=!1){return e=e.__v_raw,!t&&ne(S(e),"iterate",De),Reflect.get(e,"size",e)}function ns(e){e=S(e);const t=S(this);return zt(t).has.call(t,e)||(t.add(e),we(t,"add",e,e)),this}function ss(e,t){t=S(t);const n=S(this),{has:s,get:r}=zt(n);let i=s.call(n,e);i||(e=S(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?Be(t,o)&&we(n,"set",e,t):we(n,"add",e,t),this}function rs(e){const t=S(this),{has:n,get:s}=zt(t);let r=n.call(t,e);r||(e=S(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&we(t,"delete",e,void 0),i}function is(){const e=S(this),t=e.size!==0,n=e.clear();return t&&we(e,"clear",void 0,void 0),n}function At(e,t){return function(s,r){const i=this,o=i.__v_raw,c=S(o),u=t?Nn:e?Hn:pt;return!e&&ne(c,"iterate",De),o.forEach((a,g)=>s.call(r,u(a),u(g),i))}}function It(e,t,n){return function(...s){const r=this.__v_raw,i=S(r),o=Ye(i),c=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,a=r[e](...s),g=n?Nn:t?Hn:pt;return!t&&ne(i,"iterate",u?_n:De),{next(){const{value:y,done:w}=a.next();return w?{value:y,done:w}:{value:c?[g(y[0]),g(y[1])]:g(y),done:w}},[Symbol.iterator](){return this}}}}function Te(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zr(){const e={get(i){return Tt(this,i)},get size(){return Pt(this)},has:Ot,add:ns,set:ss,delete:rs,clear:is,forEach:At(!1,!1)},t={get(i){return Tt(this,i,!1,!0)},get size(){return Pt(this)},has:Ot,add:ns,set:ss,delete:rs,clear:is,forEach:At(!1,!0)},n={get(i){return Tt(this,i,!0)},get size(){return Pt(this,!0)},has(i){return Ot.call(this,i,!0)},add:Te("add"),set:Te("set"),delete:Te("delete"),clear:Te("clear"),forEach:At(!0,!1)},s={get(i){return Tt(this,i,!0,!0)},get size(){return Pt(this,!0)},has(i){return Ot.call(this,i,!0)},add:Te("add"),set:Te("set"),delete:Te("delete"),clear:Te("clear"),forEach:At(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=It(i,!1,!1),n[i]=It(i,!0,!1),t[i]=It(i,!1,!0),s[i]=It(i,!0,!0)}),[e,n,t,s]}const[Qr,kr,Gr,ei]=Zr();function Sn(e,t){const n=t?e?ei:Gr:e?kr:Qr;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(N(n,r)&&r in s?n:s,r,i)}const ti={get:Sn(!1,!1)},ni={get:Sn(!1,!0)},si={get:Sn(!0,!1)},qs=new WeakMap,zs=new WeakMap,Js=new WeakMap,ri=new WeakMap;function ii(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function oi(e){return e.__v_skip||!Object.isExtensible(e)?0:ii(Ar(e))}function jn(e){return et(e)?e:Kn(e,!1,Jr,ti,qs)}function li(e){return Kn(e,!1,Xr,ni,zs)}function Ys(e){return Kn(e,!0,Yr,si,Js)}function Kn(e,t,n,s,r){if(!$(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=oi(e);if(o===0)return e;const c=new Proxy(e,o===2?s:n);return r.set(e,c),c}function Xe(e){return et(e)?Xe(e.__v_raw):!!(e&&e.__v_isReactive)}function et(e){return!!(e&&e.__v_isReadonly)}function Ht(e){return!!(e&&e.__v_isShallow)}function Xs(e){return Xe(e)||et(e)}function S(e){const t=e&&e.__v_raw;return t?S(t):e}function Zs(e){return Kt(e,"__v_skip",!0),e}const pt=e=>$(e)?jn(e):e,Hn=e=>$(e)?Ys(e):e;function Qs(e){Pe&&oe&&(e=S(e),$s(e.dep||(e.dep=Fn())))}function ks(e,t){e=S(e);const n=e.dep;n&&bn(n)}function Z(e){return!!(e&&e.__v_isRef===!0)}function he(e){return ci(e,!1)}function ci(e,t){return Z(e)?e:new fi(e,t)}class fi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:S(t),this._value=n?t:pt(t)}get value(){return Qs(this),this._value}set value(t){const n=this.__v_isShallow||Ht(t)||et(t);t=n?t:S(t),Be(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:pt(t),ks(this))}}function ui(e){return Z(e)?e.value:e}const ai={get:(e,t,n)=>ui(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Z(r)&&!Z(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Gs(e){return Xe(e)?e:new Proxy(e,ai)}class di{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Rn(t,()=>{this._dirty||(this._dirty=!0,ks(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=S(this);return Qs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function hi(e,t,n=!1){let s,r;const i=I(e);return i?(s=e,r=be):(s=e.get,r=e.set),new di(s,r,i||!r,n)}function Ae(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Jt(i,t,n)}return r}function fe(e,t,n,s){if(I(e)){const i=Ae(e,t,n,s);return i&&Fs(i)&&i.catch(o=>{Jt(o,t,n)}),i}const r=[];for(let i=0;i>>1,r=Y[s],i=mt(r);i_e&&Y.splice(t,1)}function bi(e){O(e)?Ze.push(...e):(!ye||!ye.includes(e,e.allowRecurse?je+1:je))&&Ze.push(e),tr()}function os(e,t=gt?_e+1:0){for(;tmt(n)-mt(s)),je=0;jee.id==null?1/0:e.id,xi=(e,t)=>{const n=mt(e)-mt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function sr(e){xn=!1,gt=!0,Y.sort(xi);try{for(_e=0;_ez(A)?A.trim():A)),y&&(r=n.map(hn))}let c,u=s[c=sn(t)]||s[c=sn(Ge(t))];!u&&i&&(u=s[c=sn(st(t))]),u&&fe(u,e,6,r);const a=s[c+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,fe(a,e,6,r)}}function rr(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!I(e)){const u=a=>{const g=rr(a,t,!0);g&&(c=!0,Q(o,g))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!c?($(e)&&s.set(e,null),null):(O(i)?i.forEach(u=>o[u]=null):Q(o,i),$(e)&&s.set(e,o),o)}function Yt(e,t){return!e||!Bt(t)?!1:(t=t.slice(2).replace(/Once$/,""),N(e,t[0].toLowerCase()+t.slice(1))||N(e,st(t))||N(e,t))}let le=null,ir=null;function Ut(e){const t=le;return le=e,ir=e&&e.type.__scopeId||null,t}function vi(e,t=le,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&_s(-1);const i=Ut(t);let o;try{o=e(...r)}finally{Ut(i),s._d&&_s(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function rn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:c,attrs:u,emit:a,render:g,renderCache:y,data:w,setupState:A,ctx:B,inheritAttrs:M}=e;let D,K;const V=Ut(e);try{if(n.shapeFlag&4){const F=r||s,ue=F;D=me(g.call(ue,F,y,i,A,w,B)),K=u}else{const F=t;D=me(F.length>1?F(i,{attrs:u,slots:c,emit:a}):F(i,null)),K=t.props?u:wi(u)}}catch(F){ht.length=0,Jt(F,e,1),D=Le(_t)}let J=D;if(K&&M!==!1){const F=Object.keys(K),{shapeFlag:ue}=J;F.length&&ue&7&&(o&&F.some(Pn)&&(K=Ci(K,o)),J=tt(J,K))}return n.dirs&&(J=tt(J),J.dirs=J.dirs?J.dirs.concat(n.dirs):n.dirs),n.transition&&(J.transition=n.transition),D=J,Ut(V),D}const wi=e=>{let t;for(const n in e)(n==="class"||n==="style"||Bt(n))&&((t||(t={}))[n]=e[n]);return t},Ci=(e,t)=>{const n={};for(const s in e)(!Pn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ei(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:u}=t,a=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?ls(s,o,a):!!o;if(u&8){const g=t.dynamicProps;for(let y=0;ye.__isSuspense;function Ai(e,t){t&&t.pendingBranch?O(e)?t.effects.push(...e):t.effects.push(e):bi(e)}const Mt={};function on(e,t,n){return or(e,t,n)}function or(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=L){var c;const u=Lr()===((c=X)==null?void 0:c.scope)?X:null;let a,g=!1,y=!1;if(Z(e)?(a=()=>e.value,g=Ht(e)):Xe(e)?(a=()=>e,s=!0):O(e)?(y=!0,g=e.some(F=>Xe(F)||Ht(F)),a=()=>e.map(F=>{if(Z(F))return F.value;if(Xe(F))return Ue(F);if(I(F))return Ae(F,u,2)})):I(e)?t?a=()=>Ae(e,u,2):a=()=>{if(!(u&&u.isUnmounted))return w&&w(),fe(e,u,3,[A])}:a=be,t&&s){const F=a;a=()=>Ue(F())}let w,A=F=>{w=V.onStop=()=>{Ae(F,u,4),w=V.onStop=void 0}},B;if(xt)if(A=be,t?n&&fe(t,u,3,[a(),y?[]:void 0,A]):a(),r==="sync"){const F=To();B=F.__watcherHandles||(F.__watcherHandles=[])}else return be;let M=y?new Array(e.length).fill(Mt):Mt;const D=()=>{if(V.active)if(t){const F=V.run();(s||g||(y?F.some((ue,We)=>Be(ue,M[We])):Be(F,M)))&&(w&&w(),fe(t,u,3,[F,M===Mt?void 0:y&&M[0]===Mt?[]:M,A]),M=F)}else V.run()};D.allowRecurse=!!t;let K;r==="sync"?K=D:r==="post"?K=()=>te(D,u&&u.suspense):(D.pre=!0,u&&(D.id=u.uid),K=()=>Dn(D));const V=new Rn(a,K);t?n?D():M=V.run():r==="post"?te(V.run.bind(V),u&&u.suspense):V.run();const J=()=>{V.stop(),u&&u.scope&&An(u.scope.effects,V)};return B&&B.push(J),J}function Ii(e,t,n){const s=this.proxy,r=z(e)?e.includes(".")?lr(s,e):()=>s[e]:e.bind(s,s);let i;I(t)?i=t:(i=t.handler,n=t);const o=X;nt(this);const c=or(r,i.bind(s),n);return o?nt(o):$e(),c}function lr(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{Ue(n,t)});else if(Ns(e))for(const n in e)Ue(e[n],t);return e}function cs(e,t){const n=le;if(n===null)return e;const s=kt(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let i=0;i!!e.type.__asyncLoader,cr=e=>e.type.__isKeepAlive;function Mi(e,t){fr(e,"a",t)}function Fi(e,t){fr(e,"da",t)}function fr(e,t,n=X){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Xt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)cr(r.parent.vnode)&&Ri(s,t,n,r),r=r.parent}}function Ri(e,t,n,s){const r=Xt(t,e,s,!0);ur(()=>{An(s[t],r)},n)}function Xt(e,t,n=X,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;rt(),nt(n);const c=fe(t,n,e,o);return $e(),it(),c});return s?r.unshift(i):r.push(i),i}}const Ce=e=>(t,n=X)=>(!xt||e==="sp")&&Xt(e,(...s)=>t(...s),n),Ni=Ce("bm"),Si=Ce("m"),ji=Ce("bu"),Ki=Ce("u"),Hi=Ce("bum"),ur=Ce("um"),Ui=Ce("sp"),Di=Ce("rtg"),Li=Ce("rtc");function $i(e,t=X){Xt("ec",e,t)}function Bi(e,t,n,s){let r;const i=n&&n[s];if(O(e)||z(e)){r=new Array(e.length);for(let o=0,c=e.length;ot(o,c,void 0,i&&i[c]));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,u=o.length;ce?yr(e)?kt(e)||e.proxy:yn(e.parent):null,dt=Q(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>yn(e.parent),$root:e=>yn(e.root),$emit:e=>e.emit,$options:e=>Ln(e),$forceUpdate:e=>e.f||(e.f=()=>Dn(e.update)),$nextTick:e=>e.n||(e.n=gi.bind(e.proxy)),$watch:e=>Ii.bind(e)}),ln=(e,t)=>e!==L&&!e.__isScriptSetup&&N(e,t),Wi={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:u}=e;let a;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ln(s,t))return o[t]=1,s[t];if(r!==L&&N(r,t))return o[t]=2,r[t];if((a=e.propsOptions[0])&&N(a,t))return o[t]=3,i[t];if(n!==L&&N(n,t))return o[t]=4,n[t];vn&&(o[t]=0)}}const g=dt[t];let y,w;if(g)return t==="$attrs"&&ne(e,"get",t),g(e);if((y=c.__cssModules)&&(y=y[t]))return y;if(n!==L&&N(n,t))return o[t]=4,n[t];if(w=u.config.globalProperties,N(w,t))return w[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return ln(r,t)?(r[t]=n,!0):s!==L&&N(s,t)?(s[t]=n,!0):N(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let c;return!!n[o]||e!==L&&N(e,o)||ln(t,o)||(c=i[0])&&N(c,o)||N(s,o)||N(dt,o)||N(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:N(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function fs(e){return O(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vn=!0;function Vi(e){const t=Ln(e),n=e.proxy,s=e.ctx;vn=!1,t.beforeCreate&&us(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:u,inject:a,created:g,beforeMount:y,mounted:w,beforeUpdate:A,updated:B,activated:M,deactivated:D,beforeDestroy:K,beforeUnmount:V,destroyed:J,unmounted:F,render:ue,renderTracked:We,renderTriggered:ot,errorCaptured:Ee,serverPrefetch:Gt,expose:Me,inheritAttrs:lt,components:vt,directives:wt,filters:en}=t;if(a&&qi(a,s,null),o)for(const W in o){const H=o[W];I(H)&&(s[W]=H.bind(n))}if(r){const W=r.call(n,n);$(W)&&(e.data=jn(W))}if(vn=!0,i)for(const W in i){const H=i[W],Fe=I(H)?H.bind(n,n):I(H.get)?H.get.bind(n,n):be,Ct=!I(H)&&I(H.set)?H.set.bind(n):be,Re=wr({get:Fe,set:Ct});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>Re.value,set:ae=>Re.value=ae})}if(c)for(const W in c)ar(c[W],s,n,W);if(u){const W=I(u)?u.call(n):u;Reflect.ownKeys(W).forEach(H=>{Qi(H,W[H])})}g&&us(g,e,"c");function k(W,H){O(H)?H.forEach(Fe=>W(Fe.bind(n))):H&&W(H.bind(n))}if(k(Ni,y),k(Si,w),k(ji,A),k(Ki,B),k(Mi,M),k(Fi,D),k($i,Ee),k(Li,We),k(Di,ot),k(Hi,V),k(ur,F),k(Ui,Gt),O(Me))if(Me.length){const W=e.exposed||(e.exposed={});Me.forEach(H=>{Object.defineProperty(W,H,{get:()=>n[H],set:Fe=>n[H]=Fe})})}else e.exposed||(e.exposed={});ue&&e.render===be&&(e.render=ue),lt!=null&&(e.inheritAttrs=lt),vt&&(e.components=vt),wt&&(e.directives=wt)}function qi(e,t,n=be){O(e)&&(e=wn(e));for(const s in e){const r=e[s];let i;$(r)?"default"in r?i=St(r.from||s,r.default,!0):i=St(r.from||s):i=St(r),Z(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function us(e,t,n){fe(O(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ar(e,t,n,s){const r=s.includes(".")?lr(n,s):()=>n[s];if(z(e)){const i=t[e];I(i)&&on(r,i)}else if(I(e))on(r,e.bind(n));else if($(e))if(O(e))e.forEach(i=>ar(i,t,n,s));else{const i=I(e.handler)?e.handler.bind(n):t[e.handler];I(i)&&on(r,i,e)}}function Ln(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let u;return c?u=c:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(a=>Dt(u,a,o,!0)),Dt(u,t,o)),$(t)&&i.set(t,u),u}function Dt(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Dt(e,i,n,!0),r&&r.forEach(o=>Dt(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=zi[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const zi={data:as,props:ds,emits:ds,methods:at,computed:at,beforeCreate:G,created:G,beforeMount:G,mounted:G,beforeUpdate:G,updated:G,beforeDestroy:G,beforeUnmount:G,destroyed:G,unmounted:G,activated:G,deactivated:G,errorCaptured:G,serverPrefetch:G,components:at,directives:at,watch:Yi,provide:as,inject:Ji};function as(e,t){return t?e?function(){return Q(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function Ji(e,t){return at(wn(e),wn(t))}function wn(e){if(O(e)){const t={};for(let n=0;n1)return n&&I(t)?t.call(s&&s.proxy):t}}function ki(e,t,n,s=!1){const r={},i={};Kt(i,Qt,1),e.propsDefaults=Object.create(null),hr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:li(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Gi(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=S(r),[u]=e.propsOptions;let a=!1;if((s||o>0)&&!(o&16)){if(o&8){const g=e.vnode.dynamicProps;for(let y=0;y{u=!0;const[w,A]=pr(y,t,!0);Q(o,w),A&&c.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}if(!i&&!u)return $(e)&&s.set(e,Je),Je;if(O(i))for(let g=0;g-1,A[1]=M<0||B-1||N(A,"default"))&&c.push(y)}}}const a=[o,c];return $(e)&&s.set(e,a),a}function hs(e){return e[0]!=="$"}function ps(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function gs(e,t){return ps(e)===ps(t)}function ms(e,t){return O(t)?t.findIndex(n=>gs(n,e)):I(t)&&gs(t,e)?0:-1}const gr=e=>e[0]==="_"||e==="$stable",$n=e=>O(e)?e.map(me):[me(e)],eo=(e,t,n)=>{if(t._n)return t;const s=vi((...r)=>$n(t(...r)),n);return s._c=!1,s},mr=(e,t,n)=>{const s=e._ctx;for(const r in e){if(gr(r))continue;const i=e[r];if(I(i))t[r]=eo(r,i,s);else if(i!=null){const o=$n(i);t[r]=()=>o}}},_r=(e,t)=>{const n=$n(t);e.slots.default=()=>n},to=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=S(t),Kt(t,"_",n)):mr(t,e.slots={})}else e.slots={},t&&_r(e,t);Kt(e.slots,Qt,1)},no=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=L;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:(Q(r,t),!n&&c===1&&delete r._):(i=!t.$stable,mr(t,r)),o=t}else t&&(_r(e,t),o={default:1});if(i)for(const c in r)!gr(c)&&o[c]==null&&delete r[c]};function En(e,t,n,s,r=!1){if(O(e)){e.forEach((w,A)=>En(w,t&&(O(t)?t[A]:t),n,s,r));return}if(Nt(s)&&!r)return;const i=s.shapeFlag&4?kt(s.component)||s.component.proxy:s.el,o=r?null:i,{i:c,r:u}=e,a=t&&t.r,g=c.refs===L?c.refs={}:c.refs,y=c.setupState;if(a!=null&&a!==u&&(z(a)?(g[a]=null,N(y,a)&&(y[a]=null)):Z(a)&&(a.value=null)),I(u))Ae(u,c,12,[o,g]);else{const w=z(u),A=Z(u);if(w||A){const B=()=>{if(e.f){const M=w?N(y,u)?y[u]:g[u]:u.value;r?O(M)&&An(M,i):O(M)?M.includes(i)||M.push(i):w?(g[u]=[i],N(y,u)&&(y[u]=g[u])):(u.value=[i],e.k&&(g[e.k]=u.value))}else w?(g[u]=o,N(y,u)&&(y[u]=o)):A&&(u.value=o,e.k&&(g[e.k]=o))};o?(B.id=-1,te(B,n)):B()}}}const te=Ai;function so(e){return ro(e)}function ro(e,t){const n=pn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:u,setText:a,setElementText:g,parentNode:y,nextSibling:w,setScopeId:A=be,insertStaticContent:B}=e,M=(l,f,d,h=null,p=null,b=null,v=!1,_=null,x=!!f.dynamicChildren)=>{if(l===f)return;l&&!ft(l,f)&&(h=Et(l),ae(l,p,b,!0),l=null),f.patchFlag===-2&&(x=!1,f.dynamicChildren=null);const{type:m,ref:E,shapeFlag:C}=f;switch(m){case Zt:D(l,f,d,h);break;case _t:K(l,f,d,h);break;case cn:l==null&&V(f,d,h,v);break;case ge:vt(l,f,d,h,p,b,v,_,x);break;default:C&1?ue(l,f,d,h,p,b,v,_,x):C&6?wt(l,f,d,h,p,b,v,_,x):(C&64||C&128)&&m.process(l,f,d,h,p,b,v,_,x,Ve)}E!=null&&p&&En(E,l&&l.ref,b,f||l,!f)},D=(l,f,d,h)=>{if(l==null)s(f.el=c(f.children),d,h);else{const p=f.el=l.el;f.children!==l.children&&a(p,f.children)}},K=(l,f,d,h)=>{l==null?s(f.el=u(f.children||""),d,h):f.el=l.el},V=(l,f,d,h)=>{[l.el,l.anchor]=B(l.children,f,d,h,l.el,l.anchor)},J=({el:l,anchor:f},d,h)=>{let p;for(;l&&l!==f;)p=w(l),s(l,d,h),l=p;s(f,d,h)},F=({el:l,anchor:f})=>{let d;for(;l&&l!==f;)d=w(l),r(l),l=d;r(f)},ue=(l,f,d,h,p,b,v,_,x)=>{v=v||f.type==="svg",l==null?We(f,d,h,p,b,v,_,x):Gt(l,f,p,b,v,_,x)},We=(l,f,d,h,p,b,v,_)=>{let x,m;const{type:E,props:C,shapeFlag:T,transition:P,dirs:R}=l;if(x=l.el=o(l.type,b,C&&C.is,C),T&8?g(x,l.children):T&16&&Ee(l.children,x,null,h,p,b&&E!=="foreignObject",v,_),R&&Ne(l,null,h,"created"),ot(x,l,l.scopeId,v,h),C){for(const j in C)j!=="value"&&!Ft(j)&&i(x,j,null,C[j],b,l.children,h,p,xe);"value"in C&&i(x,"value",null,C.value),(m=C.onVnodeBeforeMount)&&pe(m,h,l)}R&&Ne(l,null,h,"beforeMount");const U=io(p,P);U&&P.beforeEnter(x),s(x,f,d),((m=C&&C.onVnodeMounted)||U||R)&&te(()=>{m&&pe(m,h,l),U&&P.enter(x),R&&Ne(l,null,h,"mounted")},p)},ot=(l,f,d,h,p)=>{if(d&&A(l,d),h)for(let b=0;b{for(let m=x;m{const _=f.el=l.el;let{patchFlag:x,dynamicChildren:m,dirs:E}=f;x|=l.patchFlag&16;const C=l.props||L,T=f.props||L;let P;d&&Se(d,!1),(P=T.onVnodeBeforeUpdate)&&pe(P,d,f,l),E&&Ne(f,l,d,"beforeUpdate"),d&&Se(d,!0);const R=p&&f.type!=="foreignObject";if(m?Me(l.dynamicChildren,m,_,d,h,R,b):v||H(l,f,_,null,d,h,R,b,!1),x>0){if(x&16)lt(_,f,C,T,d,h,p);else if(x&2&&C.class!==T.class&&i(_,"class",null,T.class,p),x&4&&i(_,"style",C.style,T.style,p),x&8){const U=f.dynamicProps;for(let j=0;j{P&&pe(P,d,f,l),E&&Ne(f,l,d,"updated")},h)},Me=(l,f,d,h,p,b,v)=>{for(let _=0;_{if(d!==h){if(d!==L)for(const _ in d)!Ft(_)&&!(_ in h)&&i(l,_,d[_],null,v,f.children,p,b,xe);for(const _ in h){if(Ft(_))continue;const x=h[_],m=d[_];x!==m&&_!=="value"&&i(l,_,m,x,v,f.children,p,b,xe)}"value"in h&&i(l,"value",d.value,h.value)}},vt=(l,f,d,h,p,b,v,_,x)=>{const m=f.el=l?l.el:c(""),E=f.anchor=l?l.anchor:c("");let{patchFlag:C,dynamicChildren:T,slotScopeIds:P}=f;P&&(_=_?_.concat(P):P),l==null?(s(m,d,h),s(E,d,h),Ee(f.children,d,E,p,b,v,_,x)):C>0&&C&64&&T&&l.dynamicChildren?(Me(l.dynamicChildren,T,d,p,b,v,_),(f.key!=null||p&&f===p.subTree)&&br(l,f,!0)):H(l,f,d,E,p,b,v,_,x)},wt=(l,f,d,h,p,b,v,_,x)=>{f.slotScopeIds=_,l==null?f.shapeFlag&512?p.ctx.activate(f,d,h,v,x):en(f,d,h,p,b,v,x):Vn(l,f,x)},en=(l,f,d,h,p,b,v)=>{const _=l.component=bo(l,h,p);if(cr(l)&&(_.ctx.renderer=Ve),xo(_),_.asyncDep){if(p&&p.registerDep(_,k),!l.el){const x=_.subTree=Le(_t);K(null,x,f,d)}return}k(_,l,f,d,p,b,v)},Vn=(l,f,d)=>{const h=f.component=l.component;if(Ei(l,f,d))if(h.asyncDep&&!h.asyncResolved){W(h,f,d);return}else h.next=f,_i(h.update),h.update();else f.el=l.el,h.vnode=f},k=(l,f,d,h,p,b,v)=>{const _=()=>{if(l.isMounted){let{next:E,bu:C,u:T,parent:P,vnode:R}=l,U=E,j;Se(l,!1),E?(E.el=R.el,W(l,E,v)):E=R,C&&Rt(C),(j=E.props&&E.props.onVnodeBeforeUpdate)&&pe(j,P,E,R),Se(l,!0);const q=rn(l),re=l.subTree;l.subTree=q,M(re,q,y(re.el),Et(re),l,p,b),E.el=q.el,U===null&&Ti(l,q.el),T&&te(T,p),(j=E.props&&E.props.onVnodeUpdated)&&te(()=>pe(j,P,E,R),p)}else{let E;const{el:C,props:T}=f,{bm:P,m:R,parent:U}=l,j=Nt(f);if(Se(l,!1),P&&Rt(P),!j&&(E=T&&T.onVnodeBeforeMount)&&pe(E,U,f),Se(l,!0),C&&nn){const q=()=>{l.subTree=rn(l),nn(C,l.subTree,l,p,null)};j?f.type.__asyncLoader().then(()=>!l.isUnmounted&&q()):q()}else{const q=l.subTree=rn(l);M(null,q,d,h,l,p,b),f.el=q.el}if(R&&te(R,p),!j&&(E=T&&T.onVnodeMounted)){const q=f;te(()=>pe(E,U,q),p)}(f.shapeFlag&256||U&&Nt(U.vnode)&&U.vnode.shapeFlag&256)&&l.a&&te(l.a,p),l.isMounted=!0,f=d=h=null}},x=l.effect=new Rn(_,()=>Dn(m),l.scope),m=l.update=()=>x.run();m.id=l.uid,Se(l,!0),m()},W=(l,f,d)=>{f.component=l;const h=l.vnode.props;l.vnode=f,l.next=null,Gi(l,f.props,h,d),no(l,f.children,d),rt(),os(),it()},H=(l,f,d,h,p,b,v,_,x=!1)=>{const m=l&&l.children,E=l?l.shapeFlag:0,C=f.children,{patchFlag:T,shapeFlag:P}=f;if(T>0){if(T&128){Ct(m,C,d,h,p,b,v,_,x);return}else if(T&256){Fe(m,C,d,h,p,b,v,_,x);return}}P&8?(E&16&&xe(m,p,b),C!==m&&g(d,C)):E&16?P&16?Ct(m,C,d,h,p,b,v,_,x):xe(m,p,b,!0):(E&8&&g(d,""),P&16&&Ee(C,d,h,p,b,v,_,x))},Fe=(l,f,d,h,p,b,v,_,x)=>{l=l||Je,f=f||Je;const m=l.length,E=f.length,C=Math.min(m,E);let T;for(T=0;TE?xe(l,p,b,!0,!1,C):Ee(f,d,h,p,b,v,_,x,C)},Ct=(l,f,d,h,p,b,v,_,x)=>{let m=0;const E=f.length;let C=l.length-1,T=E-1;for(;m<=C&&m<=T;){const P=l[m],R=f[m]=x?Oe(f[m]):me(f[m]);if(ft(P,R))M(P,R,d,null,p,b,v,_,x);else break;m++}for(;m<=C&&m<=T;){const P=l[C],R=f[T]=x?Oe(f[T]):me(f[T]);if(ft(P,R))M(P,R,d,null,p,b,v,_,x);else break;C--,T--}if(m>C){if(m<=T){const P=T+1,R=PT)for(;m<=C;)ae(l[m],p,b,!0),m++;else{const P=m,R=m,U=new Map;for(m=R;m<=T;m++){const se=f[m]=x?Oe(f[m]):me(f[m]);se.key!=null&&U.set(se.key,m)}let j,q=0;const re=T-R+1;let qe=!1,Jn=0;const ct=new Array(re);for(m=0;m=re){ae(se,p,b,!0);continue}let de;if(se.key!=null)de=U.get(se.key);else for(j=R;j<=T;j++)if(ct[j-R]===0&&ft(se,f[j])){de=j;break}de===void 0?ae(se,p,b,!0):(ct[de-R]=m+1,de>=Jn?Jn=de:qe=!0,M(se,f[de],d,null,p,b,v,_,x),q++)}const Yn=qe?oo(ct):Je;for(j=Yn.length-1,m=re-1;m>=0;m--){const se=R+m,de=f[se],Xn=se+1{const{el:b,type:v,transition:_,children:x,shapeFlag:m}=l;if(m&6){Re(l.component.subTree,f,d,h);return}if(m&128){l.suspense.move(f,d,h);return}if(m&64){v.move(l,f,d,Ve);return}if(v===ge){s(b,f,d);for(let C=0;C_.enter(b),p);else{const{leave:C,delayLeave:T,afterLeave:P}=_,R=()=>s(b,f,d),U=()=>{C(b,()=>{R(),P&&P()})};T?T(b,R,U):U()}else s(b,f,d)},ae=(l,f,d,h=!1,p=!1)=>{const{type:b,props:v,ref:_,children:x,dynamicChildren:m,shapeFlag:E,patchFlag:C,dirs:T}=l;if(_!=null&&En(_,null,d,l,!0),E&256){f.ctx.deactivate(l);return}const P=E&1&&T,R=!Nt(l);let U;if(R&&(U=v&&v.onVnodeBeforeUnmount)&&pe(U,f,l),E&6)Tr(l.component,d,h);else{if(E&128){l.suspense.unmount(d,h);return}P&&Ne(l,null,f,"beforeUnmount"),E&64?l.type.remove(l,f,d,p,Ve,h):m&&(b!==ge||C>0&&C&64)?xe(m,f,d,!1,!0):(b===ge&&C&384||!p&&E&16)&&xe(x,f,d),h&&qn(l)}(R&&(U=v&&v.onVnodeUnmounted)||P)&&te(()=>{U&&pe(U,f,l),P&&Ne(l,null,f,"unmounted")},d)},qn=l=>{const{type:f,el:d,anchor:h,transition:p}=l;if(f===ge){Er(d,h);return}if(f===cn){F(l);return}const b=()=>{r(d),p&&!p.persisted&&p.afterLeave&&p.afterLeave()};if(l.shapeFlag&1&&p&&!p.persisted){const{leave:v,delayLeave:_}=p,x=()=>v(d,b);_?_(l.el,b,x):x()}else b()},Er=(l,f)=>{let d;for(;l!==f;)d=w(l),r(l),l=d;r(f)},Tr=(l,f,d)=>{const{bum:h,scope:p,update:b,subTree:v,um:_}=l;h&&Rt(h),p.stop(),b&&(b.active=!1,ae(v,l,f,d)),_&&te(_,f),te(()=>{l.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},xe=(l,f,d,h=!1,p=!1,b=0)=>{for(let v=b;vl.shapeFlag&6?Et(l.component.subTree):l.shapeFlag&128?l.suspense.next():w(l.anchor||l.el),zn=(l,f,d)=>{l==null?f._vnode&&ae(f._vnode,null,null,!0):M(f._vnode||null,l,f,null,null,null,d),os(),nr(),f._vnode=l},Ve={p:M,um:ae,m:Re,r:qn,mt:en,mc:Ee,pc:H,pbc:Me,n:Et,o:e};let tn,nn;return t&&([tn,nn]=t(Ve)),{render:zn,hydrate:tn,createApp:Zi(zn,tn)}}function Se({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function io(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function br(e,t,n=!1){const s=e.children,r=t.children;if(O(s)&&O(r))for(let i=0;i>1,e[n[c]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}const lo=e=>e.__isTeleport,ge=Symbol.for("v-fgt"),Zt=Symbol.for("v-txt"),_t=Symbol.for("v-cmt"),cn=Symbol.for("v-stc"),ht=[];let ce=null;function fn(e=!1){ht.push(ce=e?null:[])}function co(){ht.pop(),ce=ht[ht.length-1]||null}let bt=1;function _s(e){bt+=e}function fo(e){return e.dynamicChildren=bt>0?ce||Je:null,co(),bt>0&&ce&&ce.push(e),e}function un(e,t,n,s,r,i){return fo(ee(e,t,n,s,r,i,!0))}function uo(e){return e?e.__v_isVNode===!0:!1}function ft(e,t){return e.type===t.type&&e.key===t.key}const Qt="__vInternal",xr=({key:e})=>e??null,jt=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||Z(e)||I(e)?{i:le,r:e,k:t,f:!!n}:e:null);function ee(e,t=null,n=null,s=0,r=null,i=e===ge?0:1,o=!1,c=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&xr(t),ref:t&&jt(t),scopeId:ir,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:le};return c?(Bn(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=z(n)?8:16),bt>0&&!o&&ce&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&ce.push(u),u}const Le=ao;function ao(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Oi)&&(e=_t),uo(e)){const c=tt(e,t,!0);return n&&Bn(c,n),bt>0&&!i&&ce&&(c.shapeFlag&6?ce[ce.indexOf(e)]=c:ce.push(c)),c.patchFlag|=-2,c}if(Co(e)&&(e=e.__vccOpts),t){t=ho(t);let{class:c,style:u}=t;c&&!z(c)&&(t.class=ve(c)),$(u)&&(Xs(u)&&!O(u)&&(u=Q({},u)),t.style=Mn(u))}const o=z(e)?1:Pi(e)?128:lo(e)?64:$(e)?4:I(e)?2:0;return ee(e,t,n,s,r,o,i,!0)}function ho(e){return e?Xs(e)||Qt in e?Q({},e):e:null}function tt(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,c=t?go(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&xr(c),ref:t&&t.ref?n&&r?O(r)?r.concat(jt(t)):[r,jt(t)]:jt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tt(e.ssContent),ssFallback:e.ssFallback&&tt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function po(e=" ",t=0){return Le(Zt,null,e,t)}function me(e){return e==null||typeof e=="boolean"?Le(_t):O(e)?Le(ge,null,e.slice()):typeof e=="object"?Oe(e):Le(Zt,null,String(e))}function Oe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tt(e)}function Bn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(O(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Bn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Qt in t)?t._ctx=le:r===3&&le&&(le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:le},n=32):(t=String(t),s&64?(n=16,t=[po(t)]):n=8);e.children=t,e.shapeFlag|=n}function go(...e){const t={};for(let n=0;nX=e),Wn=e=>{ze.length>1?ze.forEach(t=>t(e)):ze[0](e)};const nt=e=>{Wn(e),e.scope.on()},$e=()=>{X&&X.scope.off(),Wn(null)};function yr(e){return e.vnode.shapeFlag&4}let xt=!1;function xo(e,t=!1){xt=t;const{props:n,children:s}=e.vnode,r=yr(e);ki(e,n,r,t),to(e,s);const i=r?yo(e,t):void 0;return xt=!1,i}function yo(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Zs(new Proxy(e.ctx,Wi));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?wo(e):null;nt(e),rt();const i=Ae(s,e,0,[e.props,r]);if(it(),$e(),Fs(i)){if(i.then($e,$e),t)return i.then(o=>{xs(e,o,t)}).catch(o=>{Jt(o,e,0)});e.asyncDep=i}else xs(e,i,t)}else vr(e,t)}function xs(e,t,n){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$(t)&&(e.setupState=Gs(t)),vr(e,n)}let ys;function vr(e,t,n){const s=e.type;if(!e.render){if(!t&&ys&&!s.render){const r=s.template||Ln(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:c,compilerOptions:u}=s,a=Q(Q({isCustomElement:i,delimiters:c},o),u);s.render=ys(r,a)}}e.render=s.render||be}{nt(e),rt();try{Vi(e)}finally{it(),$e()}}}function vo(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ne(e,"get","$attrs"),t[n]}}))}function wo(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return vo(e)},slots:e.slots,emit:e.emit,expose:t}}function kt(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Gs(Zs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dt)return dt[n](e)},has(t,n){return n in t||n in dt}}))}function Co(e){return I(e)&&"__vccOpts"in e}const wr=(e,t)=>hi(e,t,xt),Eo=Symbol.for("v-scx"),To=()=>St(Eo),Oo="3.3.10",Po="http://www.w3.org/2000/svg",Ke=typeof document<"u"?document:null,vs=Ke&&Ke.createElement("template"),Ao={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?Ke.createElementNS(Po,e):Ke.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{vs.innerHTML=s?`${e}`:e;const c=vs.content;if(s){const u=c.firstChild;for(;u.firstChild;)c.appendChild(u.firstChild);c.removeChild(u)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Io=Symbol("_vtc");function Mo(e,t,n){const s=e[Io];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fo=Symbol("_vod");function Ro(e,t,n){const s=e.style,r=z(n);if(n&&!r){if(t&&!z(t))for(const i in t)n[i]==null&&Tn(s,i,"");for(const i in n)Tn(s,i,n[i])}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),Fo in e&&(s.display=i)}}const ws=/\s*!important$/;function Tn(e,t,n){if(O(n))n.forEach(s=>Tn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=No(e,t);ws.test(n)?e.setProperty(st(s),n.replace(ws,""),"important"):e[s]=n}}const Cs=["Webkit","Moz","ms"],an={};function No(e,t){const n=an[t];if(n)return n;let s=Ge(t);if(s!=="filter"&&s in e)return an[t]=s;s=Ss(s);for(let r=0;rdn||(Do.then(()=>dn=0),dn=Date.now());function $o(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;fe(Bo(s,n.value),t,5,[s])};return n.value=e,n.attached=Lo(),n}function Bo(e,t){if(O(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Ps=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wo=(e,t,n,s,r=!1,i,o,c,u)=>{t==="class"?Mo(e,s,r):t==="style"?Ro(e,n,s):Bt(t)?Pn(t)||Ho(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Vo(e,t,s,r))?jo(e,t,s,i,o,c,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),So(e,t,s,r))};function Vo(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ps(t)&&I(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;return!(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")}return Ps(t)&&z(n)?!1:t in e}const $t=e=>{const t=e.props["onUpdate:modelValue"]||!1;return O(t)?n=>Rt(t,n):t};function qo(e){e.target.composing=!0}function As(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qe=Symbol("_assign"),zo={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Qe]=$t(r);const i=s||r.props&&r.props.type==="number";He(e,t?"change":"input",o=>{if(o.target.composing)return;let c=e.value;n&&(c=c.trim()),i&&(c=hn(c)),e[Qe](c)}),n&&He(e,"change",()=>{e.value=e.value.trim()}),t||(He(e,"compositionstart",qo),He(e,"compositionend",As),He(e,"change",As))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},i){if(e[Qe]=$t(i),e.composing)return;const o=r||e.type==="number"?hn(e.value):e.value,c=t??"";o!==c&&(document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===c)||(e.value=c))}},Jo={deep:!0,created(e,t,n){e[Qe]=$t(n),He(e,"change",()=>{const s=e._modelValue,r=Yo(e),i=e.checked,o=e[Qe];if(O(s)){const c=Ks(s,r),u=c!==-1;if(i&&!u)o(s.concat(r));else if(!i&&u){const a=[...s];a.splice(c,1),o(a)}}else if(Wt(s)){const c=new Set(s);i?c.add(r):c.delete(r),o(c)}else o(Cr(e,i))})},mounted:Is,beforeUpdate(e,t,n){e[Qe]=$t(n),Is(e,t,n)}};function Is(e,{value:t,oldValue:n},s){e._modelValue=t,O(t)?e.checked=Ks(t,s.props.value)>-1:Wt(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=qt(t,Cr(e,!0)))}function Yo(e){return"_value"in e?e._value:e.value}function Cr(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Xo=["ctrl","shift","alt","meta"],Zo={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Xo.some(n=>e[`${n}Key`]&&!t.includes(n))},Qo=(e,t)=>e._withMods||(e._withMods=(n,...s)=>{for(let r=0;r{const t=Go().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=tl(s);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function tl(e){return z(e)?document.querySelector(e):e}const nl=["id"],sl=["id"],rl=["onUpdate:modelValue"],il=["onClick"],ol={__name:"App",setup(e){let t=0;const n=he("title"),s=he("text"),r=he("header"),i=he("main"),o=he("addTask"),c=he("textTodo"),u=he("hidden"),a=he(""),g=he(!1),y=he([]),w=wr(()=>g.value?y.value.filter(M=>!M.done):y.value);function A(){y.value.push({id:t++,text:a.value,done:!1}),a.value=""}function B(M){y.value=y.value.filter(D=>D!==M)}return(M,D)=>(fn(),un("main",null,[ee("section",{id:r.value},[ee("h1",{class:ve(n.value)},"To-do List",2),ee("p",{class:ve(s.value)}," I created a to-do list in Vue.js; it's my first time coding a program in Vue.js, and I feel very proud of myself. I hope you enjoy my project. ",2)],8,nl),ee("section",{id:i.value},[ee("form",{onSubmit:Qo(A,["prevent"])},[cs(ee("input",{"onUpdate:modelValue":D[0]||(D[0]=K=>a.value=K),class:ve(c.value),placeholder:"Write a task here"},null,2),[[zo,a.value]]),ee("button",{class:ve(o.value)},"+",2)],32),ee("ul",null,[(fn(!0),un(ge,null,Bi(w.value,K=>(fn(),un("li",{key:K.id},[cs(ee("input",{type:"checkbox","onUpdate:modelValue":V=>K.done=V},null,8,rl),[[Jo,K.done]]),ee("span",{class:ve({done:K.done})},kn(K.text),3),ee("button",{onClick:V=>B(K)},"X",8,il)]))),128))]),ee("button",{onClick:D[1]||(D[1]=K=>g.value=!g.value),class:ve(u.value)},kn(g.value?"Show":"Hidden"),3)],8,sl)]))}};el(ol).mount("#app"); diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..59e790c --- /dev/null +++ b/index.html @@ -0,0 +1,14 @@ + + + + + + + Vite App + + + + +
+ +