diff --git a/assets/JetBrainsMono-ExtraBold-27PHazCc.woff2 b/assets/JetBrainsMono-ExtraBold-Dbs8drMJ.woff2 similarity index 100% rename from assets/JetBrainsMono-ExtraBold-27PHazCc.woff2 rename to assets/JetBrainsMono-ExtraBold-Dbs8drMJ.woff2 diff --git a/assets/JetBrainsMono-ExtraLight-zdImaEaY.woff2 b/assets/JetBrainsMono-ExtraLight-DN0iZoRp.woff2 similarity index 100% rename from assets/JetBrainsMono-ExtraLight-zdImaEaY.woff2 rename to assets/JetBrainsMono-ExtraLight-DN0iZoRp.woff2 diff --git a/assets/JetBrainsMono-Regular-bE6RZ4Zl.woff2 b/assets/JetBrainsMono-Regular-BsTpFnhm.woff2 similarity index 100% rename from assets/JetBrainsMono-Regular-bE6RZ4Zl.woff2 rename to assets/JetBrainsMono-Regular-BsTpFnhm.woff2 diff --git a/assets/index-CO_JPH2I.css b/assets/index-CO_JPH2I.css new file mode 100644 index 0000000..1369153 --- /dev/null +++ b/assets/index-CO_JPH2I.css @@ -0,0 +1 @@ +@font-face{font-family:JetBrains Mono;font-weight:200;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraLight-DN0iZoRp.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:400;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-Regular-BsTpFnhm.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:800;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraBold-Dbs8drMJ.woff2) format("woff2")}:root{scrollbar-color:rgba(0,0,0,.1) transparent;scrollbar-width:5px}body *::-webkit-scrollbar{width:5px}body *::-webkit-scrollbar-thumb{border-radius:5px;background:#0000001a}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.-bottom-4{bottom:-1rem}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.right-0{right:0}.top-0{top:0}.top-5{top:1.25rem}.top-\[52px\]{top:52px}.top-\[calc\(100\%\+10px\)\]{top:calc(100% + 10px)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[39\]{z-index:39}.z-\[50\]{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\[110\%\]{height:110%}.h-full{height:100%}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-full{width:100%}.max-w-96{max-width:24rem}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-center{transform-origin:center}.-rotate-12{--tw-rotate: -12deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.\!items-end{align-items:flex-end!important}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.\!rounded-2xl{border-radius:1rem!important}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.\!rounded-r-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.\!rounded-t-none{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity))!important}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.\!bg-red-500{--tw-bg-opacity: 1 !important;background-color:rgb(239 68 68 / var(--tw-bg-opacity))!important}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!p-0{padding:0!important}.p-5{padding:1.25rem}.\!py-0{padding-top:0!important;padding-bottom:0!important}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.\!pb-1{padding-bottom:.25rem!important}.pb-16{padding-bottom:4rem}.pr-14{padding-right:3.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-body{font-family:JetBrains Mono,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[background-color\]{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[border-color\]{transition-property:border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:mb-12:last-child{margin-bottom:3rem}.hover\:border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:\!bg-red-600:hover{--tw-bg-opacity: 1 !important;background-color:rgb(220 38 38 / var(--tw-bg-opacity))!important}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:bg-slate-300:disabled{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.peer\/radio:checked~.peer-checked\/radio\:bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.peer\/radio:checked~.peer-checked\/radio\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}.lg\:hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.lg\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}.logo-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#85ffbd,#0093e9 46%,#00dbde);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.logo-sub-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#00dbde,#0093e9 46%,#85ffbd);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.gradient-animation[data-v-241fb166]{animation:gradient-241fb166 15s ease-in-out infinite}@keyframes gradient-241fb166{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#85ffbd,#00dbde 46%,#0093e9);background-repeat:no-repeat;transition:background-size .5s ease-in-out}.progress-bar_overfilled .progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#ff9191,#ff9191 46%,red)}.progress-bar_total[data-v-ae6b84b5]{justify-content:flex-start}.progress-bar_total .progress-bar__background[data-v-ae6b84b5]{background-image:none}.router-link-exact-active svg[data-v-1faae66e]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.v-enter-active[data-v-fa1e793c],.v-leave-active[data-v-fa1e793c]{transition:opacity .5s ease}.v-enter-from[data-v-fa1e793c],.v-leave-to[data-v-fa1e793c]{opacity:0}.v-enter-active[data-v-6e7c46d9],.v-leave-active[data-v-6e7c46d9]{transition:opacity .5s ease}.v-enter-from[data-v-6e7c46d9],.v-leave-to[data-v-6e7c46d9]{opacity:0}.current-day[data-v-fcd1190c]{scroll-margin-top:52px}.v-enter-active[data-v-fcd1190c],.v-leave-active[data-v-fcd1190c]{transform:translateY(0);transition:all .5s ease}.v-enter-from[data-v-fcd1190c],.v-leave-to[data-v-fcd1190c]{transform:translateY(100%);opacity:0} diff --git a/assets/index-DbXqNdXC.js b/assets/index-DbXqNdXC.js new file mode 100644 index 0000000..9df58b4 --- /dev/null +++ b/assets/index-DbXqNdXC.js @@ -0,0 +1,28 @@ +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/** +* @vue/shared v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function xs(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const me={},on=[],We=()=>{},ll=()=>!1,_r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Es=e=>e.startsWith("onUpdate:"),_e=Object.assign,Ss=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},cl=Object.prototype.hasOwnProperty,re=(e,t)=>cl.call(e,t),Y=Array.isArray,an=e=>wr(e)==="[object Map]",Eo=e=>wr(e)==="[object Set]",J=e=>typeof e=="function",be=e=>typeof e=="string",mn=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",So=e=>(fe(e)||J(e))&&J(e.then)&&J(e.catch),Co=Object.prototype.toString,wr=e=>Co.call(e),ul=e=>wr(e).slice(8,-1),Oo=e=>wr(e)==="[object Object]",Cs=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Cn=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fl=/-(\w)/g,un=xr(e=>e.replace(fl,(t,n)=>n?n.toUpperCase():"")),dl=/\B([A-Z])/g,gn=xr(e=>e.replace(dl,"-$1").toLowerCase()),To=xr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Lr=xr(e=>e?`on${To(e)}`:""),Pt=(e,t)=>!Object.is(e,t),jr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},hl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},pl=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let ii;const Mo=()=>ii||(ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Er(e){if(Y(e)){const t={};for(let n=0;n{if(n){const r=n.split(gl);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function rt(e){let t="";if(be(e))t=e;else if(Y(e))for(let n=0;nbe(e)?e:e==null?"":Y(e)||fe(e)&&(e.toString===Co||!J(e.toString))?JSON.stringify(e,$o,2):String(e),$o=(e,t)=>t&&t.__v_isRef?$o(e,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Br(r,i)+" =>"]=s,n),{})}:Eo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Br(n))}:mn(t)?Br(t):fe(t)&&!Y(t)&&!Oo(t)?String(t):t,Br=(e,t="")=>{var n;return mn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Be;class Ao{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Be,!t&&Be&&(this.index=(Be.scopes||(Be.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Be;try{return Be=this,t()}finally{Be=n}}}on(){Be=this}off(){Be=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Kt()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Tt,n=Wt;try{return Tt=!0,Wt=this,this._runnings++,oi(this),this.fn()}finally{ai(this),this._runnings--,Wt=n,Tt=t}}stop(){var t;this.active&&(oi(this),ai(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function xl(e){return e.value}function oi(e){e._trackId++,e._depsLength=0}function ai(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},cr=new WeakMap,Ut=Symbol(""),ts=Symbol("");function Le(e,t,n){if(Tt&&Wt){let r=cr.get(e);r||cr.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Lo(()=>r.delete(n))),Io(Wt,s)}}function ut(e,t,n,r,s,i){const o=cr.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&Y(e)){const l=Number(r);o.forEach((u,c)=>{(c==="length"||!mn(c)&&c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":Y(e)?Cs(n)&&a.push(o.get("length")):(a.push(o.get(Ut)),an(e)&&a.push(o.get(ts)));break;case"delete":Y(e)||(a.push(o.get(Ut)),an(e)&&a.push(o.get(ts)));break;case"set":an(e)&&a.push(o.get(Ut));break}Ms();for(const l of a)l&&No(l,4);ks()}function El(e,t){var n;return(n=cr.get(e))==null?void 0:n.get(t)}const Sl=xs("__proto__,__v_isRef,__isVue"),jo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(mn)),li=Cl();function Cl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ee(this);for(let i=0,o=this.length;i{e[t]=function(...n){Yt(),Ms();const r=ee(this)[t].apply(this,n);return ks(),Kt(),r}}),e}function Ol(e){const t=ee(this);return Le(t,"has",e),t.hasOwnProperty(e)}class Bo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?jl:Uo:i?Wo:Vo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=Y(t);if(!s){if(o&&re(li,n))return Reflect.get(li,n,r);if(n==="hasOwnProperty")return Ol}const a=Reflect.get(t,n,r);return(mn(n)?jo.has(n):Sl(n))||(s||Le(t,"get",n),i)?a:ge(a)?o&&Cs(n)?a:a.value:fe(a)?s?Ps(a):qt(a):a}}class Ho extends Bo{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._isShallow){const l=fn(i);if(!ur(r)&&!fn(r)&&(i=ee(i),r=ee(r)),!Y(t)&&ge(i)&&!ge(r))return l?!1:(i.value=r,!0)}const o=Y(t)&&Cs(n)?Number(n)e,Sr=e=>Reflect.getPrototypeOf(e);function zn(e,t,n=!1,r=!1){e=e.__v_raw;const s=ee(e),i=ee(t);n||(Pt(t,i)&&Le(s,"get",t),Le(s,"get",i));const{has:o}=Sr(s),a=r?$s:n?Ds:Pn;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function Yn(e,t=!1){const n=this.__v_raw,r=ee(n),s=ee(e);return t||(Pt(e,s)&&Le(r,"has",e),Le(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Kn(e,t=!1){return e=e.__v_raw,!t&&Le(ee(e),"iterate",Ut),Reflect.get(e,"size",e)}function ci(e){e=ee(e);const t=ee(this);return Sr(t).has.call(t,e)||(t.add(e),ut(t,"add",e,e)),this}function ui(e,t){t=ee(t);const n=ee(this),{has:r,get:s}=Sr(n);let i=r.call(n,e);i||(e=ee(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?Pt(t,o)&&ut(n,"set",e,t):ut(n,"add",e,t),this}function fi(e){const t=ee(this),{has:n,get:r}=Sr(t);let s=n.call(t,e);s||(e=ee(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&ut(t,"delete",e,void 0),i}function di(){const e=ee(this),t=e.size!==0,n=e.clear();return t&&ut(e,"clear",void 0,void 0),n}function Gn(e,t){return function(r,s){const i=this,o=i.__v_raw,a=ee(o),l=t?$s:e?Ds:Pn;return!e&&Le(a,"iterate",Ut),o.forEach((u,c)=>r.call(s,l(u),l(c),i))}}function Qn(e,t,n){return function(...r){const s=this.__v_raw,i=ee(s),o=an(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,u=s[e](...r),c=n?$s:t?Ds:Pn;return!t&&Le(i,"iterate",l?ts:Ut),{next(){const{value:d,done:p}=u.next();return p?{value:d,done:p}:{value:a?[c(d[0]),c(d[1])]:c(d),done:p}},[Symbol.iterator](){return this}}}}function mt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Al(){const e={get(i){return zn(this,i)},get size(){return Kn(this)},has:Yn,add:ci,set:ui,delete:fi,clear:di,forEach:Gn(!1,!1)},t={get(i){return zn(this,i,!1,!0)},get size(){return Kn(this)},has:Yn,add:ci,set:ui,delete:fi,clear:di,forEach:Gn(!1,!0)},n={get(i){return zn(this,i,!0)},get size(){return Kn(this,!0)},has(i){return Yn.call(this,i,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:Gn(!0,!1)},r={get(i){return zn(this,i,!0,!0)},get size(){return Kn(this,!0)},has(i){return Yn.call(this,i,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:Gn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Qn(i,!1,!1),n[i]=Qn(i,!0,!1),t[i]=Qn(i,!1,!0),r[i]=Qn(i,!0,!0)}),[e,n,t,r]}const[Pl,Fl,Dl,Rl]=Al();function As(e,t){const n=t?e?Rl:Dl:e?Fl:Pl;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,i)}const Il={get:As(!1,!1)},Nl={get:As(!1,!0)},Ll={get:As(!0,!1)},Vo=new WeakMap,Wo=new WeakMap,Uo=new WeakMap,jl=new WeakMap;function Bl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hl(e){return e.__v_skip||!Object.isExtensible(e)?0:Bl(ul(e))}function qt(e){return fn(e)?e:Fs(e,!1,Ml,Il,Vo)}function qo(e){return Fs(e,!1,$l,Nl,Wo)}function Ps(e){return Fs(e,!0,kl,Ll,Uo)}function Fs(e,t,n,r,s){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Hl(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function ft(e){return fn(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function ur(e){return!!(e&&e.__v_isShallow)}function zo(e){return ft(e)||fn(e)}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function Cr(e){return Object.isExtensible(e)&&lr(e,"__v_skip",!0),e}const Pn=e=>fe(e)?qt(e):e,Ds=e=>fe(e)?Ps(e):e;class Yo{constructor(t,n,r,s){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ts(()=>t(this._value),()=>rr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ee(this);return(!t._cacheable||t.effect.dirty)&&Pt(t._value,t._value=t.effect.run())&&rr(t,4),Ko(t),t.effect._dirtyLevel>=2&&rr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Vl(e,t,n=!1){let r,s;const i=J(e);return i?(r=e,s=We):(r=e.get,s=e.set),new Yo(r,s,i||!s,n)}function Ko(e){var t;Tt&&Wt&&(e=ee(e),Io(Wt,(t=e.dep)!=null?t:e.dep=Lo(()=>e.dep=void 0,e instanceof Yo?e:void 0)))}function rr(e,t=4,n){e=ee(e);const r=e.dep;r&&No(r,t)}function ge(e){return!!(e&&e.__v_isRef===!0)}function it(e){return Qo(e,!1)}function Go(e){return Qo(e,!0)}function Qo(e,t){return ge(e)?e:new Wl(e,t)}class Wl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ee(t),this._value=n?t:Pn(t)}get value(){return Ko(this),this._value}set value(t){const n=this.__v_isShallow||ur(t)||fn(t);t=n?t:ee(t),Pt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Pn(t),rr(this,4))}}function X(e){return ge(e)?e.value:e}const Ul={get:(e,t,n)=>X(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return ge(s)&&!ge(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Xo(e){return ft(e)?e:new Proxy(e,Ul)}function ql(e){const t=Y(e)?new Array(e.length):{};for(const n in e)t[n]=Jo(e,n);return t}class zl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return El(ee(this._object),this._key)}}class Yl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Kl(e,t,n){return ge(e)?e:J(e)?new Yl(e):fe(e)&&arguments.length>1?Jo(e,t,n):it(e)}function Jo(e,t,n){const r=e[t];return ge(r)?r:new zl(e,t,n)}/** +* @vue/runtime-core v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Mt(e,t,n,r){try{return r?e(...r):e()}catch(s){Or(s,t,n)}}function Ue(e,t,n,r){if(J(e)){const i=Mt(e,t,n,r);return i&&So(i)&&i.catch(o=>{Or(o,t,n)}),i}const s=[];for(let i=0;i>>1,s=Te[r],i=Dn(s);int&&Te.splice(t,1)}function Jl(e){Y(e)?ln.push(...e):(!xt||!xt.includes(e,e.allowRecurse?Bt+1:Bt))&&ln.push(e),ea()}function hi(e,t,n=Fn?nt+1:0){for(;nDn(n)-Dn(r));if(ln.length=0,xt){xt.push(...t);return}for(xt=t,Bt=0;Bte.id==null?1/0:e.id,Zl=(e,t)=>{const n=Dn(e)-Dn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function na(e){ns=!1,Fn=!0,Te.sort(Zl);try{for(nt=0;ntbe(m)?m.trim():m)),d&&(s=n.map(hl))}let a,l=r[a=Lr(t)]||r[a=Lr(un(t))];!l&&i&&(l=r[a=Lr(gn(t))]),l&&Ue(l,e,6,s);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ue(u,e,6,s)}}function ra(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!J(e)){const l=u=>{const c=ra(u,t,!0);c&&(a=!0,_e(o,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(fe(e)&&r.set(e,null),null):(Y(i)?i.forEach(l=>o[l]=null):_e(o,i),fe(e)&&r.set(e,o),o)}function Tr(e,t){return!e||!_r(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,gn(t))||re(e,t))}let Me=null,Mr=null;function fr(e){const t=Me;return Me=e,Mr=e&&e.type.__scopeId||null,t}function tc(e){Mr=e}function nc(){Mr=null}function de(e,t=Me,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Si(-1);const i=fr(t);let o;try{o=e(...s)}finally{fr(i),r._d&&Si(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Hr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:u,render:c,renderCache:d,data:p,setupState:m,ctx:b,inheritAttrs:x}=e;let $,k;const C=fr(e);try{if(n.shapeFlag&4){const H=s||r,V=H;$=tt(c.call(V,H,d,i,m,p,b)),k=l}else{const H=t;$=tt(H.length>1?H(i,{attrs:l,slots:a,emit:u}):H(i,null)),k=t.props?l:rc(l)}}catch(H){Mn.length=0,Or(H,e,1),$=Q(qe)}let D=$;if(k&&x!==!1){const H=Object.keys(k),{shapeFlag:V}=D;H.length&&V&7&&(o&&H.some(Es)&&(k=sc(k,o)),D=Ft(D,k))}return n.dirs&&(D=Ft(D),D.dirs=D.dirs?D.dirs.concat(n.dirs):n.dirs),n.transition&&(D.transition=n.transition),$=D,fr(C),$}const rc=e=>{let t;for(const n in e)(n==="class"||n==="style"||_r(n))&&((t||(t={}))[n]=e[n]);return t},sc=(e,t)=>{const n={};for(const r in e)(!Es(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ic(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?pi(r,o,u):!!o;if(l&8){const c=t.dynamicProps;for(let d=0;de.__isSuspense;function cc(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Jl(e)}const uc=Symbol.for("v-scx"),fc=()=>Ke(uc),Xn={};function kt(e,t,n){return sa(e,t,n)}function sa(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:a}=me){if(t&&i){const j=t;t=(...K)=>{j(...K),V()}}const l=Se,u=j=>r===!0?j:rn(j,r===!1?1:void 0);let c,d=!1,p=!1;if(ge(e)?(c=()=>e.value,d=ur(e)):ft(e)?(c=()=>u(e),d=!0):Y(e)?(p=!0,d=e.some(j=>ft(j)||ur(j)),c=()=>e.map(j=>{if(ge(j))return j.value;if(ft(j))return u(j);if(J(j))return Mt(j,l,2)})):J(e)?t?c=()=>Mt(e,l,2):c=()=>(m&&m(),Ue(e,l,3,[b])):c=We,t&&r){const j=c;c=()=>rn(j())}let m,b=j=>{m=D.onStop=()=>{Mt(j,l,4),m=D.onStop=void 0}},x;if(Fr)if(b=We,t?n&&Ue(t,l,3,[c(),p?[]:void 0,b]):c(),s==="sync"){const j=fc();x=j.__watcherHandles||(j.__watcherHandles=[])}else return We;let $=p?new Array(e.length).fill(Xn):Xn;const k=()=>{if(!(!D.active||!D.dirty))if(t){const j=D.run();(r||d||(p?j.some((K,A)=>Pt(K,$[A])):Pt(j,$)))&&(m&&m(),Ue(t,l,3,[j,$===Xn?void 0:p&&$[0]===Xn?[]:$,b]),$=j)}else D.run()};k.allowRecurse=!!t;let C;s==="sync"?C=k:s==="post"?C=()=>Re(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),C=()=>Is(k));const D=new Ts(c,We,C),H=Os(),V=()=>{D.stop(),H&&Ss(H.effects,D)};return t?n?k():$=D.run():s==="post"?Re(D.run.bind(D),l&&l.suspense):D.run(),x&&x.push(V),V}function dc(e,t,n){const r=this.proxy,s=be(e)?e.includes(".")?ia(r,e):()=>r[e]:e.bind(r,r);let i;J(t)?i=t:(i=t.handler,n=t);const o=Vn(this),a=sa(s,i.bind(r),n);return o(),a}function ia(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),ge(e))rn(e.value,t,n,r);else if(Y(e))for(let s=0;s{rn(s,t,n,r)});else if(Oo(e))for(const s in e)rn(e[s],t,n,r);return e}function Rt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o{e.isMounted=!0}),Ns(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],oa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},pc={name:"BaseTransition",props:oa,setup(e,{slots:t}){const n=Sa(),r=hc();return()=>{const s=t.default&&la(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const p of s)if(p.type!==qe){i=p;break}}const o=ee(e),{mode:a}=o;if(r.isLeaving)return Vr(i);const l=mi(i);if(!l)return Vr(i);const u=rs(l,o,r,n);ss(l,u);const c=n.subTree,d=c&&mi(c);if(d&&d.type!==qe&&!Ht(l,d)){const p=rs(d,o,r,n);if(ss(d,p),a==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Vr(i);a==="in-out"&&l.type!==qe&&(p.delayLeave=(m,b,x)=>{const $=aa(r,d);$[String(d.key)]=d,m[Et]=()=>{b(),m[Et]=void 0,delete u.delayedLeave},u.delayedLeave=x})}return i}}},mc=pc;function aa(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function rs(e,t,n,r){const{appear:s,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:d,onLeave:p,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:x,onAppear:$,onAfterAppear:k,onAppearCancelled:C}=t,D=String(e.key),H=aa(n,e),V=(A,L)=>{A&&Ue(A,r,9,L)},j=(A,L)=>{const O=L[1];V(A,L),Y(A)?A.every(N=>N.length<=1)&&O():A.length<=1&&O()},K={mode:i,persisted:o,beforeEnter(A){let L=a;if(!n.isMounted)if(s)L=x||a;else return;A[Et]&&A[Et](!0);const O=H[D];O&&Ht(e,O)&&O.el[Et]&&O.el[Et](),V(L,[A])},enter(A){let L=l,O=u,N=c;if(!n.isMounted)if(s)L=$||l,O=k||u,N=C||c;else return;let T=!1;const te=A[Jn]=ye=>{T||(T=!0,ye?V(N,[A]):V(O,[A]),K.delayedLeave&&K.delayedLeave(),A[Jn]=void 0)};L?j(L,[A,te]):te()},leave(A,L){const O=String(e.key);if(A[Jn]&&A[Jn](!0),n.isUnmounting)return L();V(d,[A]);let N=!1;const T=A[Et]=te=>{N||(N=!0,L(),te?V(b,[A]):V(m,[A]),A[Et]=void 0,H[O]===e&&delete H[O])};H[O]=e,p?j(p,[A,T]):T()},clone(A){return rs(A,t,n,r)}};return K}function Vr(e){if(kr(e))return e=Ft(e),e.children=null,e}function mi(e){return kr(e)?e.children?e.children[0]:void 0:e}function ss(e,t){e.shapeFlag&6&&e.component?ss(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function la(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,kr=e=>e.type.__isKeepAlive;function gc(e,t){ca(e,"a",t)}function yc(e,t){ca(e,"da",t)}function ca(e,t,n=Se){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if($r(t,r,n),n){let s=n.parent;for(;s&&s.parent;)kr(s.parent.vnode)&&bc(r,t,n,s),s=s.parent}}function bc(e,t,n,r){const s=$r(t,e,r,!0);fa(()=>{Ss(r[t],s)},n)}function $r(e,t,n=Se,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Yt();const a=Vn(n),l=Ue(t,n,e,o);return a(),Kt(),l});return r?s.unshift(i):s.push(i),i}}const ht=e=>(t,n=Se)=>(!Fr||e==="sp")&&$r(e,(...r)=>t(...r),n),ua=ht("bm"),Hn=ht("m"),vc=ht("bu"),_c=ht("u"),Ns=ht("bum"),fa=ht("um"),wc=ht("sp"),xc=ht("rtg"),Ec=ht("rtc");function Sc(e,t=Se){$r("ec",e,t)}function En(e,t,n,r){let s;const i=n&&n[r];if(Y(e)||be(e)){s=new Array(e.length);for(let o=0,a=e.length;ot(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;ahr(t)?!(t.type===qe||t.type===ve&&!da(t.children)):!0)?e:null}const is=e=>e?Ca(e)?Vs(e)||e.proxy:is(e.parent):null,Tn=_e(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=>is(e.parent),$root:e=>is(e.root),$emit:e=>e.emit,$options:e=>Ls(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Is(e.update)}),$nextTick:e=>e.n||(e.n=yn.bind(e.proxy)),$watch:e=>dc.bind(e)}),Wr=(e,t)=>e!==me&&!e.__isScriptSetup&&re(e,t),Cc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const m=o[t];if(m!==void 0)switch(m){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Wr(r,t))return o[t]=1,r[t];if(s!==me&&re(s,t))return o[t]=2,s[t];if((u=e.propsOptions[0])&&re(u,t))return o[t]=3,i[t];if(n!==me&&re(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const c=Tn[t];let d,p;if(c)return t==="$attrs"&&Le(e,"get",t),c(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==me&&re(n,t))return o[t]=4,n[t];if(p=l.config.globalProperties,re(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Wr(s,t)?(s[t]=n,!0):r!==me&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==me&&re(e,o)||Wr(t,o)||(a=i[0])&&re(a,o)||re(r,o)||re(Tn,o)||re(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gi(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function Oc(e){const t=Ls(e),n=e.proxy,r=e.ctx;os=!1,t.beforeCreate&&yi(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:u,created:c,beforeMount:d,mounted:p,beforeUpdate:m,updated:b,activated:x,deactivated:$,beforeDestroy:k,beforeUnmount:C,destroyed:D,unmounted:H,render:V,renderTracked:j,renderTriggered:K,errorCaptured:A,serverPrefetch:L,expose:O,inheritAttrs:N,components:T,directives:te,filters:ye}=t;if(u&&Tc(u,r,null),o)for(const ce in o){const ie=o[ce];J(ie)&&(r[ce]=ie.bind(n))}if(s){const ce=s.call(n,n);fe(ce)&&(e.data=qt(ce))}if(os=!0,i)for(const ce in i){const ie=i[ce],ot=J(ie)?ie.bind(n,n):J(ie.get)?ie.get.bind(n,n):We,pt=!J(ie)&&J(ie.set)?ie.set.bind(n):We,Qe=Ne({get:ot,set:pt});Object.defineProperty(r,ce,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Fe=>Qe.value=Fe})}if(a)for(const ce in a)ha(a[ce],r,n,ce);if(l){const ce=J(l)?l.call(n):l;Reflect.ownKeys(ce).forEach(ie=>{sr(ie,ce[ie])})}c&&yi(c,e,"c");function ne(ce,ie){Y(ie)?ie.forEach(ot=>ce(ot.bind(n))):ie&&ce(ie.bind(n))}if(ne(ua,d),ne(Hn,p),ne(vc,m),ne(_c,b),ne(gc,x),ne(yc,$),ne(Sc,A),ne(Ec,j),ne(xc,K),ne(Ns,C),ne(fa,H),ne(wc,L),Y(O))if(O.length){const ce=e.exposed||(e.exposed={});O.forEach(ie=>{Object.defineProperty(ce,ie,{get:()=>n[ie],set:ot=>n[ie]=ot})})}else e.exposed||(e.exposed={});V&&e.render===We&&(e.render=V),N!=null&&(e.inheritAttrs=N),T&&(e.components=T),te&&(e.directives=te)}function Tc(e,t,n=We){Y(e)&&(e=as(e));for(const r in e){const s=e[r];let i;fe(s)?"default"in s?i=Ke(s.from||r,s.default,!0):i=Ke(s.from||r):i=Ke(s),ge(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function yi(e,t,n){Ue(Y(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ha(e,t,n,r){const s=r.includes(".")?ia(n,r):()=>n[r];if(be(e)){const i=t[e];J(i)&&kt(s,i)}else if(J(e))kt(s,e.bind(n));else if(fe(e))if(Y(e))e.forEach(i=>ha(i,t,n,r));else{const i=J(e.handler)?e.handler.bind(n):t[e.handler];J(i)&&kt(s,i,e)}}function Ls(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(u=>dr(l,u,o,!0)),dr(l,t,o)),fe(t)&&i.set(t,l),l}function dr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&dr(e,i,n,!0),s&&s.forEach(o=>dr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Mc[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Mc={data:bi,props:vi,emits:vi,methods:Sn,computed:Sn,beforeCreate:$e,created:$e,beforeMount:$e,mounted:$e,beforeUpdate:$e,updated:$e,beforeDestroy:$e,beforeUnmount:$e,destroyed:$e,unmounted:$e,activated:$e,deactivated:$e,errorCaptured:$e,serverPrefetch:$e,components:Sn,directives:Sn,watch:$c,provide:bi,inject:kc};function bi(e,t){return t?e?function(){return _e(J(e)?e.call(this,this):e,J(t)?t.call(this,this):t)}:t:e}function kc(e,t){return Sn(as(e),as(t))}function as(e){if(Y(e)){const t={};for(let n=0;n1)return n&&J(t)?t.call(r&&r.proxy):t}}function Fc(){return!!(Se||Me||cn)}function Dc(e,t,n,r=!1){const s={},i={};lr(i,Pr,1),e.propsDefaults=Object.create(null),ma(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:qo(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Rc(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=ee(s),[l]=e.propsOptions;let u=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,m]=ga(d,t,!0);_e(o,p),m&&a.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return fe(e)&&r.set(e,on),on;if(Y(i))for(let c=0;c-1,m[1]=x<0||b-1||re(m,"default"))&&a.push(d)}}}const u=[o,a];return fe(e)&&r.set(e,u),u}function _i(e){return e[0]!=="$"&&!Cn(e)}function wi(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function xi(e,t){return wi(e)===wi(t)}function Ei(e,t){return Y(t)?t.findIndex(n=>xi(n,e)):J(t)&&xi(t,e)?0:-1}const ya=e=>e[0]==="_"||e==="$stable",js=e=>Y(e)?e.map(tt):[tt(e)],Ic=(e,t,n)=>{if(t._n)return t;const r=de((...s)=>js(t(...s)),n);return r._c=!1,r},ba=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ya(s))continue;const i=e[s];if(J(i))t[s]=Ic(s,i,r);else if(i!=null){const o=js(i);t[s]=()=>o}}},va=(e,t)=>{const n=js(t);e.slots.default=()=>n},Nc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ee(t),lr(t,"_",n)):ba(t,e.slots={})}else e.slots={},t&&va(e,t);lr(e.slots,Pr,1)},Lc=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=me;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(_e(s,t),!n&&a===1&&delete s._):(i=!t.$stable,ba(t,s)),o=t}else t&&(va(e,t),o={default:1});if(i)for(const a in s)!ya(a)&&o[a]==null&&delete s[a]};function cs(e,t,n,r,s=!1){if(Y(e)){e.forEach((p,m)=>cs(p,t&&(Y(t)?t[m]:t),n,r,s));return}if(On(r)&&!s)return;const i=r.shapeFlag&4?Vs(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,u=t&&t.r,c=a.refs===me?a.refs={}:a.refs,d=a.setupState;if(u!=null&&u!==l&&(be(u)?(c[u]=null,re(d,u)&&(d[u]=null)):ge(u)&&(u.value=null)),J(l))Mt(l,a,12,[o,c]);else{const p=be(l),m=ge(l);if(p||m){const b=()=>{if(e.f){const x=p?re(d,l)?d[l]:c[l]:l.value;s?Y(x)&&Ss(x,i):Y(x)?x.includes(i)||x.push(i):p?(c[l]=[i],re(d,l)&&(d[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else p?(c[l]=o,re(d,l)&&(d[l]=o)):m&&(l.value=o,e.k&&(c[e.k]=o))};o?(b.id=-1,Re(b,n)):b()}}}const Re=cc;function jc(e){return Bc(e)}function Bc(e,t){const n=Mo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:u,setElementText:c,parentNode:d,nextSibling:p,setScopeId:m=We,insertStaticContent:b}=e,x=(f,h,g,_=null,y=null,S=null,F=void 0,E=null,M=!!h.dynamicChildren)=>{if(f===h)return;f&&!Ht(f,h)&&(_=v(f),Fe(f,y,S,!0),f=null),h.patchFlag===-2&&(M=!1,h.dynamicChildren=null);const{type:w,ref:I,shapeFlag:U}=h;switch(w){case Ar:$(f,h,g,_);break;case qe:k(f,h,g,_);break;case ir:f==null&&C(h,g,_,F);break;case ve:T(f,h,g,_,y,S,F,E,M);break;default:U&1?V(f,h,g,_,y,S,F,E,M):U&6?te(f,h,g,_,y,S,F,E,M):(U&64||U&128)&&w.process(f,h,g,_,y,S,F,E,M,B)}I!=null&&y&&cs(I,f&&f.ref,S,h||f,!h)},$=(f,h,g,_)=>{if(f==null)r(h.el=a(h.children),g,_);else{const y=h.el=f.el;h.children!==f.children&&u(y,h.children)}},k=(f,h,g,_)=>{f==null?r(h.el=l(h.children||""),g,_):h.el=f.el},C=(f,h,g,_)=>{[f.el,f.anchor]=b(f.children,h,g,_,f.el,f.anchor)},D=({el:f,anchor:h},g,_)=>{let y;for(;f&&f!==h;)y=p(f),r(f,g,_),f=y;r(h,g,_)},H=({el:f,anchor:h})=>{let g;for(;f&&f!==h;)g=p(f),s(f),f=g;s(h)},V=(f,h,g,_,y,S,F,E,M)=>{h.type==="svg"?F="svg":h.type==="math"&&(F="mathml"),f==null?j(h,g,_,y,S,F,E,M):L(f,h,y,S,F,E,M)},j=(f,h,g,_,y,S,F,E)=>{let M,w;const{props:I,shapeFlag:U,transition:W,dirs:G}=f;if(M=f.el=o(f.type,S,I&&I.is,I),U&8?c(M,f.children):U&16&&A(f.children,M,null,_,y,Ur(f,S),F,E),G&&Rt(f,null,_,"created"),K(M,f,f.scopeId,F,_),I){for(const ue in I)ue!=="value"&&!Cn(ue)&&i(M,ue,null,I[ue],S,f.children,_,y,Oe);"value"in I&&i(M,"value",null,I.value,S),(w=I.onVnodeBeforeMount)&&Je(w,_,f)}G&&Rt(f,null,_,"beforeMount");const Z=Hc(y,W);Z&&W.beforeEnter(M),r(M,h,g),((w=I&&I.onVnodeMounted)||Z||G)&&Re(()=>{w&&Je(w,_,f),Z&&W.enter(M),G&&Rt(f,null,_,"mounted")},y)},K=(f,h,g,_,y)=>{if(g&&m(f,g),_)for(let S=0;S<_.length;S++)m(f,_[S]);if(y){let S=y.subTree;if(h===S){const F=y.vnode;K(f,F,F.scopeId,F.slotScopeIds,y.parent)}}},A=(f,h,g,_,y,S,F,E,M=0)=>{for(let w=M;w{const E=h.el=f.el;let{patchFlag:M,dynamicChildren:w,dirs:I}=h;M|=f.patchFlag&16;const U=f.props||me,W=h.props||me;let G;if(g&&It(g,!1),(G=W.onVnodeBeforeUpdate)&&Je(G,g,h,f),I&&Rt(h,f,g,"beforeUpdate"),g&&It(g,!0),w?O(f.dynamicChildren,w,E,g,_,Ur(h,y),S):F||ie(f,h,E,null,g,_,Ur(h,y),S,!1),M>0){if(M&16)N(E,h,U,W,g,_,y);else if(M&2&&U.class!==W.class&&i(E,"class",null,W.class,y),M&4&&i(E,"style",U.style,W.style,y),M&8){const Z=h.dynamicProps;for(let ue=0;ue{G&&Je(G,g,h,f),I&&Rt(h,f,g,"updated")},_)},O=(f,h,g,_,y,S,F)=>{for(let E=0;E{if(g!==_){if(g!==me)for(const E in g)!Cn(E)&&!(E in _)&&i(f,E,g[E],null,F,h.children,y,S,Oe);for(const E in _){if(Cn(E))continue;const M=_[E],w=g[E];M!==w&&E!=="value"&&i(f,E,w,M,F,h.children,y,S,Oe)}"value"in _&&i(f,"value",g.value,_.value,F)}},T=(f,h,g,_,y,S,F,E,M)=>{const w=h.el=f?f.el:a(""),I=h.anchor=f?f.anchor:a("");let{patchFlag:U,dynamicChildren:W,slotScopeIds:G}=h;G&&(E=E?E.concat(G):G),f==null?(r(w,g,_),r(I,g,_),A(h.children||[],g,I,y,S,F,E,M)):U>0&&U&64&&W&&f.dynamicChildren?(O(f.dynamicChildren,W,g,y,S,F,E),(h.key!=null||y&&h===y.subTree)&&_a(f,h,!0)):ie(f,h,g,I,y,S,F,E,M)},te=(f,h,g,_,y,S,F,E,M)=>{h.slotScopeIds=E,f==null?h.shapeFlag&512?y.ctx.activate(h,g,_,F,M):ye(h,g,_,y,S,F,M):ke(f,h,M)},ye=(f,h,g,_,y,S,F)=>{const E=f.component=Xc(f,_,y);if(kr(f)&&(E.ctx.renderer=B),Jc(E),E.asyncDep){if(y&&y.registerDep(E,ne),!f.el){const M=E.subTree=Q(qe);k(null,M,h,g)}}else ne(E,f,h,g,y,S,F)},ke=(f,h,g)=>{const _=h.component=f.component;if(ic(f,h,g))if(_.asyncDep&&!_.asyncResolved){ce(_,h,g);return}else _.next=h,Xl(_.update),_.effect.dirty=!0,_.update();else h.el=f.el,_.vnode=h},ne=(f,h,g,_,y,S,F)=>{const E=()=>{if(f.isMounted){let{next:I,bu:U,u:W,parent:G,vnode:Z}=f;{const Jt=wa(f);if(Jt){I&&(I.el=Z.el,ce(f,I,F)),Jt.asyncDep.then(()=>{f.isUnmounted||E()});return}}let ue=I,pe;It(f,!1),I?(I.el=Z.el,ce(f,I,F)):I=Z,U&&jr(U),(pe=I.props&&I.props.onVnodeBeforeUpdate)&&Je(pe,G,I,Z),It(f,!0);const xe=Hr(f),ze=f.subTree;f.subTree=xe,x(ze,xe,d(ze.el),v(ze),f,y,S),I.el=xe.el,ue===null&&oc(f,xe.el),W&&Re(W,y),(pe=I.props&&I.props.onVnodeUpdated)&&Re(()=>Je(pe,G,I,Z),y)}else{let I;const{el:U,props:W}=h,{bm:G,m:Z,parent:ue}=f,pe=On(h);if(It(f,!1),G&&jr(G),!pe&&(I=W&&W.onVnodeBeforeMount)&&Je(I,ue,h),It(f,!0),U&&he){const xe=()=>{f.subTree=Hr(f),he(U,f.subTree,f,y,null)};pe?h.type.__asyncLoader().then(()=>!f.isUnmounted&&xe()):xe()}else{const xe=f.subTree=Hr(f);x(null,xe,g,_,f,y,S),h.el=xe.el}if(Z&&Re(Z,y),!pe&&(I=W&&W.onVnodeMounted)){const xe=h;Re(()=>Je(I,ue,xe),y)}(h.shapeFlag&256||ue&&On(ue.vnode)&&ue.vnode.shapeFlag&256)&&f.a&&Re(f.a,y),f.isMounted=!0,h=g=_=null}},M=f.effect=new Ts(E,We,()=>Is(w),f.scope),w=f.update=()=>{M.dirty&&M.run()};w.id=f.uid,It(f,!0),w()},ce=(f,h,g)=>{h.component=f;const _=f.vnode.props;f.vnode=h,f.next=null,Rc(f,h.props,_,g),Lc(f,h.children,g),Yt(),hi(f),Kt()},ie=(f,h,g,_,y,S,F,E,M=!1)=>{const w=f&&f.children,I=f?f.shapeFlag:0,U=h.children,{patchFlag:W,shapeFlag:G}=h;if(W>0){if(W&128){pt(w,U,g,_,y,S,F,E,M);return}else if(W&256){ot(w,U,g,_,y,S,F,E,M);return}}G&8?(I&16&&Oe(w,y,S),U!==w&&c(g,U)):I&16?G&16?pt(w,U,g,_,y,S,F,E,M):Oe(w,y,S,!0):(I&8&&c(g,""),G&16&&A(U,g,_,y,S,F,E,M))},ot=(f,h,g,_,y,S,F,E,M)=>{f=f||on,h=h||on;const w=f.length,I=h.length,U=Math.min(w,I);let W;for(W=0;WI?Oe(f,y,S,!0,!1,U):A(h,g,_,y,S,F,E,M,U)},pt=(f,h,g,_,y,S,F,E,M)=>{let w=0;const I=h.length;let U=f.length-1,W=I-1;for(;w<=U&&w<=W;){const G=f[w],Z=h[w]=M?St(h[w]):tt(h[w]);if(Ht(G,Z))x(G,Z,g,null,y,S,F,E,M);else break;w++}for(;w<=U&&w<=W;){const G=f[U],Z=h[W]=M?St(h[W]):tt(h[W]);if(Ht(G,Z))x(G,Z,g,null,y,S,F,E,M);else break;U--,W--}if(w>U){if(w<=W){const G=W+1,Z=GW)for(;w<=U;)Fe(f[w],y,S,!0),w++;else{const G=w,Z=w,ue=new Map;for(w=Z;w<=W;w++){const je=h[w]=M?St(h[w]):tt(h[w]);je.key!=null&&ue.set(je.key,w)}let pe,xe=0;const ze=W-Z+1;let Jt=!1,ni=0;const bn=new Array(ze);for(w=0;w=ze){Fe(je,y,S,!0);continue}let Xe;if(je.key!=null)Xe=ue.get(je.key);else for(pe=Z;pe<=W;pe++)if(bn[pe-Z]===0&&Ht(je,h[pe])){Xe=pe;break}Xe===void 0?Fe(je,y,S,!0):(bn[Xe-Z]=w+1,Xe>=ni?ni=Xe:Jt=!0,x(je,h[Xe],g,null,y,S,F,E,M),xe++)}const ri=Jt?Vc(bn):on;for(pe=ri.length-1,w=ze-1;w>=0;w--){const je=Z+w,Xe=h[je],si=je+1{const{el:S,type:F,transition:E,children:M,shapeFlag:w}=f;if(w&6){Qe(f.component.subTree,h,g,_);return}if(w&128){f.suspense.move(h,g,_);return}if(w&64){F.move(f,h,g,B);return}if(F===ve){r(S,h,g);for(let U=0;UE.enter(S),y);else{const{leave:U,delayLeave:W,afterLeave:G}=E,Z=()=>r(S,h,g),ue=()=>{U(S,()=>{Z(),G&&G()})};W?W(S,Z,ue):ue()}else r(S,h,g)},Fe=(f,h,g,_=!1,y=!1)=>{const{type:S,props:F,ref:E,children:M,dynamicChildren:w,shapeFlag:I,patchFlag:U,dirs:W}=f;if(E!=null&&cs(E,null,g,f,!0),I&256){h.ctx.deactivate(f);return}const G=I&1&&W,Z=!On(f);let ue;if(Z&&(ue=F&&F.onVnodeBeforeUnmount)&&Je(ue,h,f),I&6)qn(f.component,g,_);else{if(I&128){f.suspense.unmount(g,_);return}G&&Rt(f,null,h,"beforeUnmount"),I&64?f.type.remove(f,h,g,y,B,_):w&&(S!==ve||U>0&&U&64)?Oe(w,h,g,!1,!0):(S===ve&&U&384||!y&&I&16)&&Oe(M,h,g),_&&Qt(f)}(Z&&(ue=F&&F.onVnodeUnmounted)||G)&&Re(()=>{ue&&Je(ue,h,f),G&&Rt(f,null,h,"unmounted")},g)},Qt=f=>{const{type:h,el:g,anchor:_,transition:y}=f;if(h===ve){Xt(g,_);return}if(h===ir){H(f);return}const S=()=>{s(g),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:F,delayLeave:E}=y,M=()=>F(g,S);E?E(f.el,S,M):M()}else S()},Xt=(f,h)=>{let g;for(;f!==h;)g=p(f),s(f),f=g;s(h)},qn=(f,h,g)=>{const{bum:_,scope:y,update:S,subTree:F,um:E}=f;_&&jr(_),y.stop(),S&&(S.active=!1,Fe(F,f,h,g)),E&&Re(E,h),Re(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Oe=(f,h,g,_=!1,y=!1,S=0)=>{for(let F=S;Ff.shapeFlag&6?v(f.component.subTree):f.shapeFlag&128?f.suspense.next():p(f.anchor||f.el);let R=!1;const P=(f,h,g)=>{f==null?h._vnode&&Fe(h._vnode,null,null,!0):x(h._vnode||null,f,h,null,null,null,g),R||(R=!0,hi(),ta(),R=!1),h._vnode=f},B={p:x,um:Fe,m:Qe,r:Qt,mt:ye,mc:A,pc:ie,pbc:O,n:v,o:e};let oe,he;return t&&([oe,he]=t(B)),{render:P,hydrate:oe,createApp:Pc(P,oe)}}function Ur({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Hc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _a(e,t,n=!1){const r=e.children,s=t.children;if(Y(r)&&Y(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function wa(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:wa(t)}const Wc=e=>e.__isTeleport,ve=Symbol.for("v-fgt"),Ar=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),ir=Symbol.for("v-stc"),Mn=[];let Ye=null;function q(e=!1){Mn.push(Ye=e?null:[])}function Uc(){Mn.pop(),Ye=Mn[Mn.length-1]||null}let Rn=1;function Si(e){Rn+=e}function xa(e){return e.dynamicChildren=Rn>0?Ye||on:null,Uc(),Rn>0&&Ye&&Ye.push(e),e}function se(e,t,n,r,s,i){return xa(z(e,t,n,r,s,i,!0))}function Pe(e,t,n,r,s){return xa(Q(e,t,n,r,s,!0))}function hr(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Pr="__vInternal",Ea=({key:e})=>e??null,or=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||ge(e)||J(e)?{i:Me,r:e,k:t,f:!!n}:e:null);function z(e,t=null,n=null,r=0,s=null,i=e===ve?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ea(t),ref:t&&or(t),scopeId:Mr,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Me};return a?(Hs(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=be(n)?8:16),Rn>0&&!o&&Ye&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ye.push(l),l}const Q=qc;function qc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===ac)&&(e=qe),hr(e)){const a=Ft(e,t,!0);return n&&Hs(a,n),Rn>0&&!i&&Ye&&(a.shapeFlag&6?Ye[Ye.indexOf(e)]=a:Ye.push(a)),a.patchFlag|=-2,a}if(nu(e)&&(e=e.__vccOpts),t){t=zc(t);let{class:a,style:l}=t;a&&!be(a)&&(t.class=rt(a)),fe(l)&&(zo(l)&&!Y(l)&&(l=_e({},l)),t.style=Er(l))}const o=be(e)?1:lc(e)?128:Wc(e)?64:fe(e)?4:J(e)?2:0;return z(e,t,n,r,s,o,i,!0)}function zc(e){return e?zo(e)||Pr in e?_e({},e):e:null}function Ft(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?Kc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Ea(a),ref:t&&t.ref?n&&s?Y(s)?s.concat(or(t)):[s,or(t)]:or(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?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&&Ft(e.ssContent),ssFallback:e.ssFallback&&Ft(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Bs(e=" ",t=0){return Q(Ar,null,e,t)}function Yc(e,t){const n=Q(ir,null,e);return n.staticCount=t,n}function st(e="",t=!1){return t?(q(),Pe(qe,null,e)):Q(qe,null,e)}function tt(e){return e==null||typeof e=="boolean"?Q(qe):Y(e)?Q(ve,null,e.slice()):typeof e=="object"?St(e):Q(Ar,null,String(e))}function St(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ft(e)}function Hs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Hs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Pr in t)?t._ctx=Me:s===3&&Me&&(Me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else J(t)?(t={default:t,_ctx:Me},n=32):(t=String(t),r&64?(n=16,t=[Bs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Kc(...e){const t={};for(let n=0;nSe||Me;let pr,us;{const e=Mo(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};pr=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),us=t("__VUE_SSR_SETTERS__",n=>Fr=n)}const Vn=e=>{const t=Se;return pr(e),e.scope.on(),()=>{e.scope.off(),pr(t)}},Ci=()=>{Se&&Se.scope.off(),pr(null)};function Ca(e){return e.vnode.shapeFlag&4}let Fr=!1;function Jc(e,t=!1){t&&us(t);const{props:n,children:r}=e.vnode,s=Ca(e);Dc(e,n,s,t),Nc(e,r);const i=s?Zc(e,t):void 0;return t&&us(!1),i}function Zc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Cr(new Proxy(e.ctx,Cc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?tu(e):null,i=Vn(e);Yt();const o=Mt(r,e,0,[e.props,s]);if(Kt(),i(),So(o)){if(o.then(Ci,Ci),t)return o.then(a=>{Oi(e,a,t)}).catch(a=>{Or(a,e,0)});e.asyncDep=o}else Oi(e,o,t)}else Oa(e,t)}function Oi(e,t,n){J(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Xo(t)),Oa(e,n)}let Ti;function Oa(e,t,n){const r=e.type;if(!e.render){if(!t&&Ti&&!r.render){const s=r.template||Ls(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=_e(_e({isCustomElement:i,delimiters:a},o),l);r.render=Ti(s,u)}}e.render=r.render||We}{const s=Vn(e);Yt();try{Oc(e)}finally{Kt(),s()}}}function eu(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Le(e,"get","$attrs"),t[n]}}))}function tu(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return eu(e)},slots:e.slots,emit:e.emit,expose:t}}function Vs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Xo(Cr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Tn)return Tn[n](e)},has(t,n){return n in t||n in Tn}}))}function nu(e){return J(e)&&"__vccOpts"in e}const Ne=(e,t)=>Vl(e,t,Fr);function Ws(e,t,n){const r=arguments.length;return r===2?fe(t)&&!Y(t)?hr(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&hr(n)&&(n=[n]),Q(e,t,n))}const ru="3.4.21";/** +* @vue/runtime-dom v3.4.21 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const su="http://www.w3.org/2000/svg",iu="http://www.w3.org/1998/Math/MathML",Ct=typeof document<"u"?document:null,Mi=Ct&&Ct.createElement("template"),ou={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ct.createElementNS(su,e):t==="mathml"?Ct.createElementNS(iu,e):Ct.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ct.createTextNode(e),createComment:e=>Ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Mi.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Mi.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gt="transition",vn="animation",In=Symbol("_vtc"),dn=(e,{slots:t})=>Ws(mc,au(e),t);dn.displayName="Transition";const Ta={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};dn.props=_e({},oa,Ta);const Nt=(e,t=[])=>{Y(e)?e.forEach(n=>n(...t)):e&&e(...t)},ki=e=>e?Y(e)?e.some(t=>t.length>1):e.length>1:!1;function au(e){const t={};for(const T in e)T in Ta||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=o,appearToClass:c=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,b=lu(s),x=b&&b[0],$=b&&b[1],{onBeforeEnter:k,onEnter:C,onEnterCancelled:D,onLeave:H,onLeaveCancelled:V,onBeforeAppear:j=k,onAppear:K=C,onAppearCancelled:A=D}=t,L=(T,te,ye)=>{Lt(T,te?c:a),Lt(T,te?u:o),ye&&ye()},O=(T,te)=>{T._isLeaving=!1,Lt(T,d),Lt(T,m),Lt(T,p),te&&te()},N=T=>(te,ye)=>{const ke=T?K:C,ne=()=>L(te,T,ye);Nt(ke,[te,ne]),$i(()=>{Lt(te,T?l:i),yt(te,T?c:a),ki(ke)||Ai(te,r,x,ne)})};return _e(t,{onBeforeEnter(T){Nt(k,[T]),yt(T,i),yt(T,o)},onBeforeAppear(T){Nt(j,[T]),yt(T,l),yt(T,u)},onEnter:N(!1),onAppear:N(!0),onLeave(T,te){T._isLeaving=!0;const ye=()=>O(T,te);yt(T,d),fu(),yt(T,p),$i(()=>{T._isLeaving&&(Lt(T,d),yt(T,m),ki(H)||Ai(T,r,$,ye))}),Nt(H,[T,ye])},onEnterCancelled(T){L(T,!1),Nt(D,[T])},onAppearCancelled(T){L(T,!0),Nt(A,[T])},onLeaveCancelled(T){O(T),Nt(V,[T])}})}function lu(e){if(e==null)return null;if(fe(e))return[qr(e.enter),qr(e.leave)];{const t=qr(e);return[t,t]}}function qr(e){return pl(e)}function yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[In]||(e[In]=new Set)).add(t)}function Lt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[In];n&&(n.delete(t),n.size||(e[In]=void 0))}function $i(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let cu=0;function Ai(e,t,n,r){const s=e._endId=++cu,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=uu(e,t);if(!o)return r();const u=o+"end";let c=0;const d=()=>{e.removeEventListener(u,p),i()},p=m=>{m.target===e&&++c>=l&&d()};setTimeout(()=>{c(n[b]||"").split(", "),s=r(`${gt}Delay`),i=r(`${gt}Duration`),o=Pi(s,i),a=r(`${vn}Delay`),l=r(`${vn}Duration`),u=Pi(a,l);let c=null,d=0,p=0;t===gt?o>0&&(c=gt,d=o,p=i.length):t===vn?u>0&&(c=vn,d=u,p=l.length):(d=Math.max(o,u),c=d>0?o>u?gt:vn:null,p=c?c===gt?i.length:l.length:0);const m=c===gt&&/\b(transform|all)(,|$)/.test(r(`${gt}Property`).toString());return{type:c,timeout:d,propCount:p,hasTransform:m}}function Pi(e,t){for(;e.lengthFi(n)+Fi(e[r])))}function Fi(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fu(){return document.body.offsetHeight}function du(e,t,n){const r=e[In];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Di=Symbol("_vod"),hu=Symbol("_vsh"),pu=Symbol(""),mu=/(^|;)\s*display\s*:/;function gu(e,t,n){const r=e.style,s=be(n);let i=!1;if(n&&!s){if(t)if(be(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&ar(r,a,"")}else for(const o in t)n[o]==null&&ar(r,o,"");for(const o in n)o==="display"&&(i=!0),ar(r,o,n[o])}else if(s){if(t!==n){const o=r[pu];o&&(n+=";"+o),r.cssText=n,i=mu.test(n)}}else t&&e.removeAttribute("style");Di in e&&(e[Di]=i?r.display:"",e[hu]&&(r.display="none"))}const Ri=/\s*!important$/;function ar(e,t,n){if(Y(n))n.forEach(r=>ar(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yu(e,t);Ri.test(n)?e.setProperty(gn(r),n.replace(Ri,""),"important"):e[r]=n}}const Ii=["Webkit","Moz","ms"],zr={};function yu(e,t){const n=zr[t];if(n)return n;let r=un(t);if(r!=="filter"&&r in e)return zr[t]=r;r=To(r);for(let s=0;sYr||(Su.then(()=>Yr=0),Yr=Date.now());function Ou(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ue(Tu(r,n.value),t,5,[r])};return n.value=e,n.attached=Cu(),n}function Tu(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Bi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Mu=(e,t,n,r,s,i,o,a,l)=>{const u=s==="svg";t==="class"?du(e,r,u):t==="style"?gu(e,n,r):_r(t)?Es(t)||xu(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ku(e,t,r,u))?vu(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bu(e,t,r,u))};function ku(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bi(t)&&J(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Bi(t)&&be(n)?!1:t in e}const $u=["ctrl","shift","alt","meta"],Au={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)=>$u.some(n=>e[`${n}Key`]&&!t.includes(n))},Pu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const t=Du().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Nu(r);if(!s)return;const i=t._component;!J(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,Iu(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Iu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Nu(e){return be(e)?document.querySelector(e):e}var Lu=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Ma;const Dr=e=>Ma=e,ka=Symbol();function fs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var kn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(kn||(kn={}));function ju(){const e=Po(!0),t=e.run(()=>it({}));let n=[],r=[];const s=Cr({install(i){Dr(s),s._a=i,i.provide(ka,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!Lu?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const $a=()=>{};function Vi(e,t,n,r=$a){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Os()&&Fo(s),s}function Zt(e,...t){e.slice().forEach(n=>{n(...t)})}const Bu=e=>e();function ds(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];fs(s)&&fs(r)&&e.hasOwnProperty(n)&&!ge(r)&&!ft(r)?e[n]=ds(s,r):e[n]=r}return e}const Hu=Symbol();function Vu(e){return!fs(e)||!e.hasOwnProperty(Hu)}const{assign:_t}=Object;function Wu(e){return!!(ge(e)&&e.effect)}function Uu(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=s?s():{});const c=ql(n.state.value[e]);return _t(c,i,Object.keys(o||{}).reduce((d,p)=>(d[p]=Cr(Ne(()=>{Dr(n);const m=n._s.get(e);return o[p].call(m,m)})),d),{}))}return l=Aa(e,u,t,n,r,!0),l}function Aa(e,t,n={},r,s,i){let o;const a=_t({actions:{}},n),l={deep:!0};let u,c,d=[],p=[],m;const b=r.state.value[e];!i&&!b&&(r.state.value[e]={}),it({});let x;function $(A){let L;u=c=!1,typeof A=="function"?(A(r.state.value[e]),L={type:kn.patchFunction,storeId:e,events:m}):(ds(r.state.value[e],A),L={type:kn.patchObject,payload:A,storeId:e,events:m});const O=x=Symbol();yn().then(()=>{x===O&&(u=!0)}),c=!0,Zt(d,L,r.state.value[e])}const k=i?function(){const{state:L}=n,O=L?L():{};this.$patch(N=>{_t(N,O)})}:$a;function C(){o.stop(),d=[],p=[],r._s.delete(e)}function D(A,L){return function(){Dr(r);const O=Array.from(arguments),N=[],T=[];function te(ne){N.push(ne)}function ye(ne){T.push(ne)}Zt(p,{args:O,name:A,store:V,after:te,onError:ye});let ke;try{ke=L.apply(this&&this.$id===e?this:V,O)}catch(ne){throw Zt(T,ne),ne}return ke instanceof Promise?ke.then(ne=>(Zt(N,ne),ne)).catch(ne=>(Zt(T,ne),Promise.reject(ne))):(Zt(N,ke),ke)}}const H={_p:r,$id:e,$onAction:Vi.bind(null,p),$patch:$,$reset:k,$subscribe(A,L={}){const O=Vi(d,A,L.detached,()=>N()),N=o.run(()=>kt(()=>r.state.value[e],T=>{(L.flush==="sync"?c:u)&&A({storeId:e,type:kn.direct,events:m},T)},_t({},l,L)));return O},$dispose:C},V=qt(H);r._s.set(e,V);const K=(r._a&&r._a.runWithContext||Bu)(()=>r._e.run(()=>(o=Po()).run(t)));for(const A in K){const L=K[A];if(ge(L)&&!Wu(L)||ft(L))i||(b&&Vu(L)&&(ge(L)?L.value=b[A]:ds(L,b[A])),r.state.value[e][A]=L);else if(typeof L=="function"){const O=D(A,L);K[A]=O,a.actions[A]=L}}return _t(V,K),_t(ee(V),K),Object.defineProperty(V,"$state",{get:()=>r.state.value[e],set:A=>{$(L=>{_t(L,A)})}}),r._p.forEach(A=>{_t(V,o.run(()=>A({store:V,app:r._a,pinia:r,options:a})))}),b&&i&&n.hydrate&&n.hydrate(V.$state,b),u=!0,c=!0,V}function Rr(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function o(a,l){const u=Fc();return a=a||(u?Ke(ka,null):null),a&&Dr(a),a=Ma,a._s.has(r)||(i?Aa(r,t,s,a):Uu(r,s,a)),a._s.get(r)}return o.$id=r,o}function Ve(e){{e=ee(e);const t={};for(const n in e){const r=e[n];(ge(r)||ft(r))&&(t[n]=Kl(e,n))}return t}}/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const nn=typeof document<"u";function qu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const le=Object.assign;function Kr(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ge(s)?s.map(e):e(s)}return n}const $n=()=>{},Ge=Array.isArray,Pa=/#/g,zu=/&/g,Yu=/\//g,Ku=/=/g,Gu=/\?/g,Fa=/\+/g,Qu=/%5B/g,Xu=/%5D/g,Da=/%5E/g,Ju=/%60/g,Ra=/%7B/g,Zu=/%7C/g,Ia=/%7D/g,ef=/%20/g;function Us(e){return encodeURI(""+e).replace(Zu,"|").replace(Qu,"[").replace(Xu,"]")}function tf(e){return Us(e).replace(Ra,"{").replace(Ia,"}").replace(Da,"^")}function hs(e){return Us(e).replace(Fa,"%2B").replace(ef,"+").replace(Pa,"%23").replace(zu,"%26").replace(Ju,"`").replace(Ra,"{").replace(Ia,"}").replace(Da,"^")}function nf(e){return hs(e).replace(Ku,"%3D")}function rf(e){return Us(e).replace(Pa,"%23").replace(Gu,"%3F")}function sf(e){return e==null?"":rf(e).replace(Yu,"%2F")}function Nn(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const of=/\/$/,af=e=>e.replace(of,"");function Gr(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=ff(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:Nn(o)}}function lf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Wi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cf(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&hn(t.matched[r],n.matched[s])&&Na(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function hn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Na(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!uf(e[n],t[n]))return!1;return!0}function uf(e,t){return Ge(e)?Ui(e,t):Ge(t)?Ui(t,e):e===t}function Ui(e,t){return Ge(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ff(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o).join("/")}var Ln;(function(e){e.pop="pop",e.push="push"})(Ln||(Ln={}));var An;(function(e){e.back="back",e.forward="forward",e.unknown=""})(An||(An={}));function df(e){if(!e)if(nn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),af(e)}const hf=/^[^#]+#/;function pf(e,t){return e.replace(hf,"#")+t}function mf(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Ir=()=>({left:window.scrollX,top:window.scrollY});function gf(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=mf(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qi(e,t){return(history.state?history.state.position-t:-1)+e}const ps=new Map;function yf(e,t){ps.set(e,t)}function bf(e){const t=ps.get(e);return ps.delete(e),t}let vf=()=>location.protocol+"//"+location.host;function La(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Wi(l,"")}return Wi(n,e)+r+s}function _f(e,t,n,r){let s=[],i=[],o=null;const a=({state:p})=>{const m=La(e,location),b=n.value,x=t.value;let $=0;if(p){if(n.value=m,t.value=p,o&&o===b){o=null;return}$=x?p.position-x.position:0}else r(m);s.forEach(k=>{k(n.value,b,{delta:$,type:Ln.pop,direction:$?$>0?An.forward:An.back:An.unknown})})};function l(){o=n.value}function u(p){s.push(p);const m=()=>{const b=s.indexOf(p);b>-1&&s.splice(b,1)};return i.push(m),m}function c(){const{history:p}=window;p.state&&p.replaceState(le({},p.state,{scroll:Ir()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function zi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Ir():null}}function wf(e){const{history:t,location:n}=window,r={value:La(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:vf()+e+l;try{t[c?"replaceState":"pushState"](u,"",p),s.value=u}catch(m){console.error(m),n[c?"replace":"assign"](p)}}function o(l,u){const c=le({},t.state,zi(s.value.back,l,s.value.forward,!0),u,{position:s.value.position});i(l,c,!0),r.value=l}function a(l,u){const c=le({},s.value,t.state,{forward:l,scroll:Ir()});i(c.current,c,!0);const d=le({},zi(r.value,l,null),{position:c.position+1},u);i(l,d,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function xf(e){e=df(e);const t=wf(e),n=_f(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=le({location:"",base:e,go:r,createHref:pf.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Ef(e){return typeof e=="string"||e&&typeof e=="object"}function ja(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ba=Symbol("");var Yi;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Yi||(Yi={}));function pn(e,t){return le(new Error,{type:e,[Ba]:!0},t)}function at(e,t){return e instanceof Error&&Ba in e&&(t==null||!!(e.type&t))}const Ki="[^/]+?",Sf={sensitive:!1,strict:!1,start:!0,end:!0},Cf=/[.+*?^${}()[\]/\\]/g;function Of(e,t){const n=le({},Sf,t),r=[];let s=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function Mf(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const kf={type:0,value:""},$f=/[a-zA-Z0-9_]/;function Af(e){if(!e)return[[]];if(e==="/")return[[kf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${u}": ${m}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,u="",c="";function d(){u&&(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=l}for(;a{o(C)}:$n}function o(c){if(ja(c)){const d=r.get(c);d&&(r.delete(c),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(c);d>-1&&(n.splice(d,1),c.record.name&&r.delete(c.record.name),c.children.forEach(o),c.alias.forEach(o))}}function a(){return n}function l(c){let d=0;for(;d=0&&(c.record.path!==n[d].record.path||!Ha(c,n[d]));)d++;n.splice(d,0,c),c.record.name&&!Xi(c)&&r.set(c.record.name,c)}function u(c,d){let p,m={},b,x;if("name"in c&&c.name){if(p=r.get(c.name),!p)throw pn(1,{location:c});x=p.record.name,m=le(Qi(d.params,p.keys.filter(C=>!C.optional).concat(p.parent?p.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),c.params&&Qi(c.params,p.keys.map(C=>C.name))),b=p.stringify(m)}else if(c.path!=null)b=c.path,p=n.find(C=>C.re.test(b)),p&&(m=p.parse(b),x=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw pn(1,{location:c,currentLocation:d});x=p.record.name,m=le({},d.params,c.params),b=p.stringify(m)}const $=[];let k=p;for(;k;)$.unshift(k.record),k=k.parent;return{name:x,path:b,params:m,matched:$,meta:If($)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function Qi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Df(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Rf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Rf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Xi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function If(e){return e.reduce((t,n)=>le(t,n.meta),{})}function Ji(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ha(e,t){return t.children.some(n=>n===e||Ha(e,n))}function Nf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&hs(i)):[r&&hs(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Lf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ge(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const jf=Symbol(""),eo=Symbol(""),qs=Symbol(""),zs=Symbol(""),ms=Symbol("");function _n(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ot(e,t,n,r,s,i=o=>o()){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,l)=>{const u=p=>{p===!1?l(pn(4,{from:n,to:t})):p instanceof Error?l(p):Ef(p)?l(pn(2,{from:t,to:p})):(o&&r.enterCallbacks[s]===o&&typeof p=="function"&&o.push(p),a())},c=i(()=>e.call(r&&r.instances[s],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(p=>l(p))})}function Qr(e,t,n,r,s=i=>i()){const i=[];for(const o of e)for(const a in o.components){let l=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(Bf(l)){const c=(l.__vccOpts||l)[t];c&&i.push(Ot(c,n,r,o,a,s))}else{let u=l();i.push(()=>u.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const d=qu(c)?c.default:c;o.components[a]=d;const m=(d.__vccOpts||d)[t];return m&&Ot(m,n,r,o,a,s)()}))}}return i}function Bf(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function to(e){const t=Ke(qs),n=Ke(zs),r=Ne(()=>t.resolve(X(e.to))),s=Ne(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(hn.bind(null,c));if(p>-1)return p;const m=no(l[u-2]);return u>1&&no(c)===m&&d[d.length-1].path!==m?d.findIndex(hn.bind(null,l[u-2])):p}),i=Ne(()=>s.value>-1&&Wf(n.params,r.value.params)),o=Ne(()=>s.value>-1&&s.value===n.matched.length-1&&Na(n.params,r.value.params));function a(l={}){return Vf(l)?t[X(e.replace)?"replace":"push"](X(e.to)).catch($n):Promise.resolve()}return{route:r,href:Ne(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const Hf=we({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:to,setup(e,{slots:t}){const n=qt(to(e)),{options:r}=Ke(qs),s=Ne(()=>({[ro(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ro(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Ws("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),gs=Hf;function Vf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Wf(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Ge(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function no(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ro=(e,t,n)=>e??t??n,Uf=we({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ke(ms),s=Ne(()=>e.route||r.value),i=Ke(eo,0),o=Ne(()=>{let u=X(i);const{matched:c}=s.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),a=Ne(()=>s.value.matched[o.value]);sr(eo,Ne(()=>o.value+1)),sr(jf,a),sr(ms,s);const l=it();return kt(()=>[l.value,a.value,e.name],([u,c,d],[p,m,b])=>{c&&(c.instances[d]=u,m&&m!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),u&&c&&(!m||!hn(c,m)||!p)&&(c.enterCallbacks[d]||[]).forEach(x=>x(u))},{flush:"post"}),()=>{const u=s.value,c=e.name,d=a.value,p=d&&d.components[c];if(!p)return so(n.default,{Component:p,route:u});const m=d.props[c],b=m?m===!0?u.params:typeof m=="function"?m(u):m:null,$=Ws(p,le({},b,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(d.instances[c]=null)},ref:l}));return so(n.default,{Component:$,route:u})||$}}});function so(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Va=Uf;function qf(e){const t=Ff(e.routes,e),n=e.parseQuery||Nf,r=e.stringifyQuery||Zi,s=e.history,i=_n(),o=_n(),a=_n(),l=Go(bt);let u=bt;nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Kr.bind(null,v=>""+v),d=Kr.bind(null,sf),p=Kr.bind(null,Nn);function m(v,R){let P,B;return ja(v)?(P=t.getRecordMatcher(v),B=R):B=v,t.addRoute(B,P)}function b(v){const R=t.getRecordMatcher(v);R&&t.removeRoute(R)}function x(){return t.getRoutes().map(v=>v.record)}function $(v){return!!t.getRecordMatcher(v)}function k(v,R){if(R=le({},R||l.value),typeof v=="string"){const h=Gr(n,v,R.path),g=t.resolve({path:h.path},R),_=s.createHref(h.fullPath);return le(h,g,{params:p(g.params),hash:Nn(h.hash),redirectedFrom:void 0,href:_})}let P;if(v.path!=null)P=le({},v,{path:Gr(n,v.path,R.path).path});else{const h=le({},v.params);for(const g in h)h[g]==null&&delete h[g];P=le({},v,{params:d(h)}),R.params=d(R.params)}const B=t.resolve(P,R),oe=v.hash||"";B.params=c(p(B.params));const he=lf(r,le({},v,{hash:tf(oe),path:B.path})),f=s.createHref(he);return le({fullPath:he,hash:oe,query:r===Zi?Lf(v.query):v.query||{}},B,{redirectedFrom:void 0,href:f})}function C(v){return typeof v=="string"?Gr(n,v,l.value.path):le({},v)}function D(v,R){if(u!==v)return pn(8,{from:R,to:v})}function H(v){return K(v)}function V(v){return H(le(C(v),{replace:!0}))}function j(v){const R=v.matched[v.matched.length-1];if(R&&R.redirect){const{redirect:P}=R;let B=typeof P=="function"?P(v):P;return typeof B=="string"&&(B=B.includes("?")||B.includes("#")?B=C(B):{path:B},B.params={}),le({query:v.query,hash:v.hash,params:B.path!=null?{}:v.params},B)}}function K(v,R){const P=u=k(v),B=l.value,oe=v.state,he=v.force,f=v.replace===!0,h=j(P);if(h)return K(le(C(h),{state:typeof h=="object"?le({},oe,h.state):oe,force:he,replace:f}),R||P);const g=P;g.redirectedFrom=R;let _;return!he&&cf(r,B,P)&&(_=pn(16,{to:g,from:B}),Qe(B,B,!0,!1)),(_?Promise.resolve(_):O(g,B)).catch(y=>at(y)?at(y,2)?y:pt(y):ie(y,g,B)).then(y=>{if(y){if(at(y,2))return K(le({replace:f},C(y.to),{state:typeof y.to=="object"?le({},oe,y.to.state):oe,force:he}),R||g)}else y=T(g,B,!0,f,oe);return N(g,B,y),y})}function A(v,R){const P=D(v,R);return P?Promise.reject(P):Promise.resolve()}function L(v){const R=Xt.values().next().value;return R&&typeof R.runWithContext=="function"?R.runWithContext(v):v()}function O(v,R){let P;const[B,oe,he]=zf(v,R);P=Qr(B.reverse(),"beforeRouteLeave",v,R);for(const h of B)h.leaveGuards.forEach(g=>{P.push(Ot(g,v,R))});const f=A.bind(null,v,R);return P.push(f),Oe(P).then(()=>{P=[];for(const h of i.list())P.push(Ot(h,v,R));return P.push(f),Oe(P)}).then(()=>{P=Qr(oe,"beforeRouteUpdate",v,R);for(const h of oe)h.updateGuards.forEach(g=>{P.push(Ot(g,v,R))});return P.push(f),Oe(P)}).then(()=>{P=[];for(const h of he)if(h.beforeEnter)if(Ge(h.beforeEnter))for(const g of h.beforeEnter)P.push(Ot(g,v,R));else P.push(Ot(h.beforeEnter,v,R));return P.push(f),Oe(P)}).then(()=>(v.matched.forEach(h=>h.enterCallbacks={}),P=Qr(he,"beforeRouteEnter",v,R,L),P.push(f),Oe(P))).then(()=>{P=[];for(const h of o.list())P.push(Ot(h,v,R));return P.push(f),Oe(P)}).catch(h=>at(h,8)?h:Promise.reject(h))}function N(v,R,P){a.list().forEach(B=>L(()=>B(v,R,P)))}function T(v,R,P,B,oe){const he=D(v,R);if(he)return he;const f=R===bt,h=nn?history.state:{};P&&(B||f?s.replace(v.fullPath,le({scroll:f&&h&&h.scroll},oe)):s.push(v.fullPath,oe)),l.value=v,Qe(v,R,P,f),pt()}let te;function ye(){te||(te=s.listen((v,R,P)=>{if(!qn.listening)return;const B=k(v),oe=j(B);if(oe){K(le(oe,{replace:!0}),B).catch($n);return}u=B;const he=l.value;nn&&yf(qi(he.fullPath,P.delta),Ir()),O(B,he).catch(f=>at(f,12)?f:at(f,2)?(K(f.to,B).then(h=>{at(h,20)&&!P.delta&&P.type===Ln.pop&&s.go(-1,!1)}).catch($n),Promise.reject()):(P.delta&&s.go(-P.delta,!1),ie(f,B,he))).then(f=>{f=f||T(B,he,!1),f&&(P.delta&&!at(f,8)?s.go(-P.delta,!1):P.type===Ln.pop&&at(f,20)&&s.go(-1,!1)),N(B,he,f)}).catch($n)}))}let ke=_n(),ne=_n(),ce;function ie(v,R,P){pt(v);const B=ne.list();return B.length?B.forEach(oe=>oe(v,R,P)):console.error(v),Promise.reject(v)}function ot(){return ce&&l.value!==bt?Promise.resolve():new Promise((v,R)=>{ke.add([v,R])})}function pt(v){return ce||(ce=!v,ye(),ke.list().forEach(([R,P])=>v?P(v):R()),ke.reset()),v}function Qe(v,R,P,B){const{scrollBehavior:oe}=e;if(!nn||!oe)return Promise.resolve();const he=!P&&bf(qi(v.fullPath,0))||(B||!P)&&history.state&&history.state.scroll||null;return yn().then(()=>oe(v,R,he)).then(f=>f&&gf(f)).catch(f=>ie(f,v,R))}const Fe=v=>s.go(v);let Qt;const Xt=new Set,qn={currentRoute:l,listening:!0,addRoute:m,removeRoute:b,hasRoute:$,getRoutes:x,resolve:k,options:e,push:H,replace:V,go:Fe,back:()=>Fe(-1),forward:()=>Fe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:ne.add,isReady:ot,install(v){const R=this;v.component("RouterLink",gs),v.component("RouterView",Va),v.config.globalProperties.$router=R,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>X(l)}),nn&&!Qt&&l.value===bt&&(Qt=!0,H(s.location).catch(oe=>{}));const P={};for(const oe in bt)Object.defineProperty(P,oe,{get:()=>l.value[oe],enumerable:!0});v.provide(qs,R),v.provide(zs,qo(P)),v.provide(ms,l);const B=v.unmount;Xt.add(v),v.unmount=function(){Xt.delete(v),Xt.size<1&&(u=bt,te&&te(),te=null,l.value=bt,Qt=!1,ce=!1),B()}}};function Oe(v){return v.reduce((R,P)=>R.then(()=>L(P)),Promise.resolve())}return qn}function zf(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;ohn(u,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(u=>hn(u,l))||s.push(l))}return[n,r,s]}function Yf(){return Ke(zs)}function Kf(e){return Os()?(Fo(e),!0):!1}function Ys(e){return typeof e=="function"?e():X(e)}const Gf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qf=Object.prototype.toString,Xf=e=>Qf.call(e)==="[object Object]",Jf=()=>{};function Zf(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const Wa=e=>e();function ed(e=Wa){const t=it(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Ps(t),pause:n,resume:r,eventFilter:s}}function td(e){return e||Sa()}function nd(e,t,n={}){const{eventFilter:r=Wa,...s}=n;return kt(e,Zf(r,t),s)}function rd(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:a,isActive:l}=ed(r);return{stop:nd(e,t,{...s,eventFilter:i}),pause:o,resume:a,isActive:l}}function sd(e,t=!0,n){td()?Hn(e,n):t?e():yn(e)}function id(e){var t;const n=Ys(e);return(t=n==null?void 0:n.$el)!=null?t:n}const mr=Gf?window:void 0;function io(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=mr):[t,n,r,s]=e,!t)return Jf;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(c=>c()),i.length=0},a=(c,d,p,m)=>(c.addEventListener(d,p,m),()=>c.removeEventListener(d,p,m)),l=kt(()=>[id(t),Ys(s)],([c,d])=>{if(o(),!c)return;const p=Xf(d)?{...d}:d;i.push(...n.flatMap(m=>r.map(b=>a(c,m,b,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),o()};return Kf(u),u}const Zn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},er="__vueuse_ssr_handlers__",od=ad();function ad(){return er in Zn||(Zn[er]=Zn[er]||{}),Zn[er]}function ld(e,t){return od[e]||t}function cd(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const ud={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},oo="vueuse-storage";function fd(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:u=!1,shallow:c,window:d=mr,eventFilter:p,onError:m=O=>{console.error(O)},initOnMounted:b}=r,x=(c?Go:it)(typeof t=="function"?t():t);if(!n)try{n=ld("getDefaultStorage",()=>{var O;return(O=mr)==null?void 0:O.localStorage})()}catch(O){m(O)}if(!n)return x;const $=Ys(t),k=cd($),C=(s=r.serializer)!=null?s:ud[k],{pause:D,resume:H}=rd(x,()=>j(x.value),{flush:i,deep:o,eventFilter:p});d&&a&&sd(()=>{io(d,"storage",A),io(d,oo,L),b&&A()}),b||A();function V(O,N){d&&d.dispatchEvent(new CustomEvent(oo,{detail:{key:e,oldValue:O,newValue:N,storageArea:n}}))}function j(O){try{const N=n.getItem(e);if(O==null)V(N,null),n.removeItem(e);else{const T=C.write(O);N!==T&&(n.setItem(e,T),V(N,T))}}catch(N){m(N)}}function K(O){const N=O?O.newValue:n.getItem(e);if(N==null)return l&&$!=null&&n.setItem(e,C.write($)),$;if(!O&&u){const T=C.read(N);return typeof u=="function"?u(T,$):k==="object"&&!Array.isArray(T)?{...$,...T}:T}else return typeof N!="string"?N:C.read(N)}function A(O){if(!(O&&O.storageArea!==n)){if(O&&O.key==null){x.value=$;return}if(!(O&&O.key!==e)){D();try{(O==null?void 0:O.newValue)!==C.write(x.value)&&(x.value=K(O))}catch(N){m(N)}finally{O?yn(H):H()}}}}function L(O){A(O.detail)}return x}function gr(e,t,n={}){const{window:r=mr}=n;return fd(e,t,r==null?void 0:r.localStorage,n)}const Ks=Rr("common",{state:()=>({lastCalendarUpdateDate:gr("budget.it:lastUpdateDate",""),isAddExpenseInputVisible:!1}),actions:{setLastUpdateDate(e){this.lastCalendarUpdateDate=e},showAddExpenseInput(){this.isAddExpenseInputVisible=!0},hideAddExpenseInput(){this.isAddExpenseInputVisible=!1}}});function Ce(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function zt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Ua=6048e5,dd=864e5;let hd={};function Nr(){return hd}function jn(e,t){var a,l,u,c;const n=Nr(),r=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.weekStartsOn)??0,s=Ce(e),i=s.getDay(),o=(i=s.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function ao(e){const t=Ce(e);return t.setHours(0,0,0,0),t}function lo(e){const t=Ce(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function pd(e,t){const n=ao(e),r=ao(t),s=+n-lo(n),i=+r-lo(r);return Math.round((s-i)/dd)}function md(e){const t=qa(e),n=zt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),yr(n)}function gd(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function yd(e){if(!gd(e)&&typeof e!="number")return!1;const t=Ce(e);return!isNaN(Number(t))}function bd(e){const t=Ce(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function vd(e,t){const n=Ce(e.start),r=Ce(e.end);let s=+n>+r;const i=s?+n:+r,o=s?r:n;o.setHours(0,0,0,0);let a=(t==null?void 0:t.step)??1;if(!a)return[];a<0&&(a=-a,s=!s);const l=[];for(;+o<=i;)l.push(Ce(o)),o.setDate(o.getDate()+a),o.setHours(0,0,0,0);return s?l.reverse():l}function _d(e){const t=Ce(e);return t.setDate(1),t.setHours(0,0,0,0),t}function wd(e){const t=Ce(e),n=zt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const xd={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},Ed=(e,t,n)=>{let r;const s=xd[e];return typeof s=="string"?r=s:t===1?r=s.one:r=s.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Xr(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const Sd={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},Cd={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},Od={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Td={date:Xr({formats:Sd,defaultWidth:"full"}),time:Xr({formats:Cd,defaultWidth:"full"}),dateTime:Xr({formats:Od,defaultWidth:"full"})},Md={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},kd=(e,t,n,r)=>Md[e];function wn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;s=e.formattingValues[a]||e.formattingValues[o]}else{const o=e.defaultWidth,a=n!=null&&n.width?String(n.width):e.defaultWidth;s=e.values[a]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return s[i]}}const $d={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Ad={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Pd={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Fd={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Dd={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Rd={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Id=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Nd={ordinalNumber:Id,era:wn({values:$d,defaultWidth:"wide"}),quarter:wn({values:Ad,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wn({values:Pd,defaultWidth:"wide"}),day:wn({values:Fd,defaultWidth:"wide"}),dayPeriod:wn({values:Dd,defaultWidth:"wide",formattingValues:Rd,defaultFormattingWidth:"wide"})};function xn(e){return(t,n={})=>{const r=n.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(s);if(!i)return null;const o=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?jd(a,d=>d.test(o)):Ld(a,d=>d.test(o));let u;u=e.valueCallback?e.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const c=t.slice(o.length);return{value:u,rest:c}}}function Ld(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function jd(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const s=r[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const a=t.slice(s.length);return{value:o,rest:a}}}const Hd=/^(\d+)(th|st|nd|rd)?/i,Vd=/\d+/i,Wd={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Ud={any:[/^b/i,/^(a|c)/i]},qd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},zd={any:[/1/i,/2/i,/3/i,/4/i]},Yd={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Kd={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Gd={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Qd={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Xd={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Jd={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Zd={ordinalNumber:Bd({matchPattern:Hd,parsePattern:Vd,valueCallback:e=>parseInt(e,10)}),era:xn({matchPatterns:Wd,defaultMatchWidth:"wide",parsePatterns:Ud,defaultParseWidth:"any"}),quarter:xn({matchPatterns:qd,defaultMatchWidth:"wide",parsePatterns:zd,defaultParseWidth:"any",valueCallback:e=>e+1}),month:xn({matchPatterns:Yd,defaultMatchWidth:"wide",parsePatterns:Kd,defaultParseWidth:"any"}),day:xn({matchPatterns:Gd,defaultMatchWidth:"wide",parsePatterns:Qd,defaultParseWidth:"any"}),dayPeriod:xn({matchPatterns:Xd,defaultMatchWidth:"any",parsePatterns:Jd,defaultParseWidth:"any"})},eh={code:"en-US",formatDistance:Ed,formatLong:Td,formatRelative:kd,localize:Nd,match:Zd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function th(e){const t=Ce(e);return pd(t,wd(t))+1}function nh(e){const t=Ce(e),n=+yr(t)-+md(t);return Math.round(n/Ua)+1}function za(e,t){var c,d,p,m;const n=Ce(e),r=n.getFullYear(),s=Nr(),i=(t==null?void 0:t.firstWeekContainsDate)??((d=(c=t==null?void 0:t.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??s.firstWeekContainsDate??((m=(p=s.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,o=zt(e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);const a=jn(o,t),l=zt(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const u=jn(l,t);return n.getTime()>=a.getTime()?r+1:n.getTime()>=u.getTime()?r:r-1}function rh(e,t){var a,l,u,c;const n=Nr(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((c=(u=n.locale)==null?void 0:u.options)==null?void 0:c.firstWeekContainsDate)??1,s=za(e,t),i=zt(e,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),jn(i,t)}function sh(e,t){const n=Ce(e),r=+jn(n,t)-+rh(n,t);return Math.round(r/Ua)+1}function ae(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const vt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ae(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ae(n+1,2)},d(e,t){return ae(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ae(e.getHours()%12||12,t.length)},H(e,t){return ae(e.getHours(),t.length)},m(e,t){return ae(e.getMinutes(),t.length)},s(e,t){return ae(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),s=Math.trunc(r*Math.pow(10,n-3));return ae(s,t.length)}},en={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},co={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return vt.y(e,t)},Y:function(e,t,n,r){const s=za(e,r),i=s>0?s:1-s;if(t==="YY"){const o=i%100;return ae(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):ae(i,t.length)},R:function(e,t){const n=qa(e);return ae(n,t.length)},u:function(e,t){const n=e.getFullYear();return ae(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ae(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ae(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return vt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ae(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const s=sh(e,r);return t==="wo"?n.ordinalNumber(s,{unit:"week"}):ae(s,t.length)},I:function(e,t,n){const r=nh(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ae(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):vt.d(e,t)},D:function(e,t,n){const r=th(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ae(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ae(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ae(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),s=r===0?7:r;switch(t){case"i":return String(s);case"ii":return ae(s,t.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let s;switch(r===12?s=en.noon:r===0?s=en.midnight:s=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let s;switch(r>=17?s=en.evening:r>=12?s=en.afternoon:r>=4?s=en.morning:s=en.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return vt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):vt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ae(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ae(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):vt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):vt.s(e,t)},S:function(e,t){return vt.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(r===0)return"Z";switch(t){case"X":return fo(r);case"XXXX":case"XX":return jt(r);case"XXXXX":case"XXX":default:return jt(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return fo(r);case"xxxx":case"xx":return jt(r);case"xxxxx":case"xxx":default:return jt(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+uo(r,":");case"OOOO":default:return"GMT"+jt(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+uo(r,":");case"zzzz":default:return"GMT"+jt(r,":")}},t:function(e,t,n){const r=Math.trunc(e.getTime()/1e3);return ae(r,t.length)},T:function(e,t,n){const r=e.getTime();return ae(r,t.length)}};function uo(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=Math.trunc(r/60),i=r%60;return i===0?n+String(s):n+String(s)+t+ae(i,2)}function fo(e,t){return e%60===0?(e>0?"-":"+")+ae(Math.abs(e)/60,2):jt(e,t)}function jt(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=ae(Math.trunc(r/60),2),i=ae(r%60,2);return n+s+t+i}const ho=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ya=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},ih=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return ho(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",ho(r,t)).replace("{{time}}",Ya(s,t))},oh={p:Ya,P:ih},ah=/^D+$/,lh=/^Y+$/,ch=["D","DD","YY","YYYY"];function uh(e){return ah.test(e)}function fh(e){return lh.test(e)}function dh(e,t,n){const r=hh(e,t,n);if(console.warn(r),ch.includes(e))throw new RangeError(r)}function hh(e,t,n){const r=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const ph=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,mh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,gh=/^'([^]*?)'?$/,yh=/''/g,bh=/[a-zA-Z]/;function Ze(e,t,n){var c,d,p,m,b,x,$,k;const r=Nr(),s=(n==null?void 0:n.locale)??r.locale??eh,i=(n==null?void 0:n.firstWeekContainsDate)??((d=(c=n==null?void 0:n.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((m=(p=r.locale)==null?void 0:p.options)==null?void 0:m.firstWeekContainsDate)??1,o=(n==null?void 0:n.weekStartsOn)??((x=(b=n==null?void 0:n.locale)==null?void 0:b.options)==null?void 0:x.weekStartsOn)??r.weekStartsOn??((k=($=r.locale)==null?void 0:$.options)==null?void 0:k.weekStartsOn)??0,a=Ce(e);if(!yd(a))throw new RangeError("Invalid time value");let l=t.match(mh).map(C=>{const D=C[0];if(D==="p"||D==="P"){const H=oh[D];return H(C,s.formatLong)}return C}).join("").match(ph).map(C=>{if(C==="''")return{isToken:!1,value:"'"};const D=C[0];if(D==="'")return{isToken:!1,value:vh(C)};if(co[D])return{isToken:!0,value:C};if(D.match(bh))throw new RangeError("Format string contains an unescaped latin alphabet character `"+D+"`");return{isToken:!1,value:C}});s.localize.preprocessor&&(l=s.localize.preprocessor(a,l));const u={firstWeekContainsDate:i,weekStartsOn:o,locale:s};return l.map(C=>{if(!C.isToken)return C.value;const D=C.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&fh(D)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&uh(D))&&dh(D,t,String(e));const H=co[D[0]];return H(a,D,s.localize,u)}).join("")}function vh(e){const t=e.match(gh);return t?t[1].replace(yh,"'"):e}function _h(e){return+Ce(e){const r=_d(n.monthString),s=bd(n.monthString),o=vd({start:r,end:s}).map(a=>({id:Ze(a,"ddMMyyyy"),monthId:n.id,number:Ze(a,"d"),name:Ze(a,"EEEE"),isCurrent:Ze(a,"d_MMMM")===Ze(new Date,"d_MMMM"),isPast:_h(a)&&Ze(a,"d_MMMM")!==Ze(new Date,"d_MMMM")}));t.push(...o)}),t.reverse()}function wh(){const e=new Date,t={hour:"numeric",minute:"numeric"};return new Intl.DateTimeFormat("ru",t).format(e)}const Vt=Rr("calendar",{state:()=>({months:[],days:[],shouldGenerateNextMonth:!1}),getters:{getDaysByMonthId:e=>t=>e.days.filter(n=>n.monthId===t),getCurrentMonth:e=>e.months.find(t=>t.isCurrent),getCurrentDay:e=>e.days.find(t=>t.isCurrent)},actions:{initCalendar(){const e=po(5),t=mo(e),n=Number(t[t.length-25].id),r=Number(Ze(new Date,"ddMMyyyy"));this.shouldGenerateNextMonth=r>n;const s=this.shouldGenerateNextMonth?po(0,1):[],i=this.shouldGenerateNextMonth?mo(s):[];this.months=[...s,...e],this.days=[...i,...t]}}});let tr;const xh=new Uint8Array(16);function Eh(){if(!tr&&(tr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!tr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return tr(xh)}const Ee=[];for(let e=0;e<256;++e)Ee.push((e+256).toString(16).slice(1));function Sh(e,t=0){return Ee[e[t+0]]+Ee[e[t+1]]+Ee[e[t+2]]+Ee[e[t+3]]+"-"+Ee[e[t+4]]+Ee[e[t+5]]+"-"+Ee[e[t+6]]+Ee[e[t+7]]+"-"+Ee[e[t+8]]+Ee[e[t+9]]+"-"+Ee[e[t+10]]+Ee[e[t+11]]+Ee[e[t+12]]+Ee[e[t+13]]+Ee[e[t+14]]+Ee[e[t+15]]}const Ch=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),go={randomUUID:Ch};function Oh(e,t,n){if(go.randomUUID&&!t&&!e)return go.randomUUID();e=e||{};const r=e.random||(e.rng||Eh)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let s=0;s<16;++s)t[n+s]=r[s];return t}return Sh(r)}const Gs=Rr("expenses",{state:()=>({expenses:gr("budget.it:expenses",{})}),getters:{getMonthlyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.monthId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)},getDailyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.dayId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)}},actions:{initExpensesObject(){const{shouldGenerateNextMonth:e}=Ve(Vt());(e||!this.expenses||Object.keys(this.expenses).length===0)&&this.createExpensesByDayObject(),this.checkAndCleanupExpensesByDayObject()},createExpensesByDayObject(){const{days:e}=Ve(Vt());e.value.forEach(t=>{this.expenses[t.id]||(this.expenses[t.id]={items:[]})})},addExpense(e){var s,i;const{getCurrentDay:t}=Ve(Vt()),{getActiveCurrency:n}=Ve(Wn()),r={id:Oh(),value:e,currency:n.value.name,createdAt:wh(),monthId:((s=t.value)==null?void 0:s.monthId)||"",dayId:((i=t.value)==null?void 0:i.id)||""};this.expenses[r.dayId].items.push(r)},removeExpense(e,t){this.expenses[t].items=this.expenses[t].items.filter(n=>n.id!==e)},checkAndCleanupExpensesByDayObject(){const{months:e}=Ve(Vt()),t=e.value.map(n=>n.id);for(const n in this.expenses)t.includes(n.substring(2))||delete this.expenses[n]}}}),Wn=Rr("settings",{state:()=>({currencies:gr("budget.it:currencies",[{name:"$",isActive:!0,isDefault:!0},{name:"€",isActive:!1,isDefault:!0},{name:"₽",isActive:!1,isDefault:!0},{name:"฿",isActive:!1,isDefault:!0},{name:"¥",isActive:!1,isDefault:!0}]),dailyBudget:gr("budget.it:daily",500)}),getters:{getActiveCurrency(e){return e.currencies.filter(t=>t.isActive)[0]}},actions:{setActiveCurrency(e){this.currencies=this.currencies.map(t=>(t.isActive=t.name===e,t))},setDailyBudget(e){this.dailyBudget=e},addNewCurrency(e){this.currencies.push({name:e,isActive:!1,isDefault:!1})},deleteCurrency(e){this.currencies=this.currencies.filter(t=>t.name!==e)}}}),Th="data:image/svg+xml,%3csvg%20width='98'%20height='96'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%2324292f'/%3e%3c/svg%3e",Mh="0.6.7-beta",Ka=e=>(tc("data-v-241fb166"),e=e(),nc(),e),kh={class:"sticky top-0 w-full bg-white z-[100]"},$h={class:"container mx-auto px-5 py-3 flex items-center justify-between select-none"},Ah={class:"flex items-center"},Ph={href:"/budget.it/",class:"flex items-baseline font-bold"},Fh=Ka(()=>z("div",{class:"logo-gradient gradient-animation text-lg lg:text-2xl"},"budget.it",-1)),Dh={class:"logo-sub-gradient gradient-animation text-xs ml-2 bottom-0"},Rh=Ka(()=>z("a",{href:"https://github.com/begprod/budget.it",target:"_blank",class:"select-none"},[z("img",{src:Th,class:"w-7 opacity-80 hover:opacity-100 transition-all duration-300",width:"40",height:"40",alt:"budget.it github"})],-1)),Ih=we({__name:"BaseHeader",setup(e){return(t,n)=>(q(),se("header",kh,[z("div",$h,[z("div",Ah,[z("a",Ph,[Fh,z("sub",Dh," v"+Ae(X(Mh)),1)])]),Rh])]))}}),Dt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Nh=Dt(Ih,[["__scopeId","data-v-241fb166"]]),Lh={},jh={class:"w-full bg-white select-none"},Bh=Yc('',1),Hh=[Bh];function Vh(e,t){return q(),se("footer",jh,Hh)}const Wh=Dt(Lh,[["render",Vh]]);function Uh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"})])}function qh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function zh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function Yh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function Kh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})])}function Gh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function Qh(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function Ga(e,t){return q(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[z("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}const Xh=["type","title","disabled"],Bn=we({__name:"BaseButton",props:{type:{default:"button"},title:{},isDisabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t,r=()=>{n("click")};return(s,i)=>(q(),se("button",{class:"flex items-center justify-center px-3 py-2 w-full text-sm text-sky-400 bg-white border border-slate-300 rounded-xl focus:outline-none lg:hover:bg-sky-500 lg:hover:text-white disabled:opacity-50 disabled:bg-slate-300 transition-[background-color]",type:s.type,title:s.title,disabled:s.isDisabled,onClick:r},[$t(s.$slots,"leftIcon"),$t(s.$slots,"text"),$t(s.$slots,"rightIcon")],8,Xh))}}),Jh={class:"text-slate-700 font-bold opacity-60 select-none"},Zh=we({__name:"BaseProgressBar",props:{label:{},percentage:{},showTotal:{type:Boolean}},setup(e){const t=e,n=Ne(()=>({"progress-bar_overfilled":t.percentage>=100,"progress-bar_total":t.showTotal}));return(r,s)=>(q(),se("div",{class:rt(["progress-bar relative flex items-center justify-center h-6 text-xs lg:text-sm text-slate-700 bg-white rounded-md overflow-hidden",n.value])},[z("div",{class:"progress-bar__background absolute top-0 left-0 w-full h-full",style:Er({"background-size":`${r.percentage}%`})},null,4),z("span",Jh,Ae(r.label),1)],2))}}),ep=Dt(Zh,[["__scopeId","data-v-ae6b84b5"]]),tp=we({__name:"BaseAddExpenseButton",setup(e){const t=Ks(),n=Wn(),r=Vt(),s=Gs(),{showAddExpenseInput:i}=t,{getCurrentMonth:o,getDaysByMonthId:a}=r,{getMonthlyExpenses:l}=s,{dailyBudget:u}=Ve(n),c=()=>{i(),yn(()=>{const m=document.getElementById("expense-input");m==null||m.focus()})},d=m=>{if(m===void 0)return 0;const b=l(m);return b>a(m).length*u.value?100:b/(a(m).length*u.value)*100},p=m=>m===void 0?"":`${l(m)} / ${a(m).length*u.value}`;return(m,b)=>{var x,$,k;return q(),se(ve,null,[Q(Bn,{class:"mb-2 shadow-md",onClick:c},{text:de(()=>[Bs(" Add expense ")]),rightIcon:de(()=>[Q(X(Uh),{class:"w-5 h-5 ml-2"})]),_:1}),Q(ep,{class:"mb-2 shadow-md",label:`${(x=X(o))==null?void 0:x.name} – ${p(($=X(o))==null?void 0:$.id)}`,percentage:d((k=X(o))==null?void 0:k.id)},null,8,["label","percentage"])],64)}}}),np={class:"fixed right-0 bottom-0 left-0 w-full z-[100]"},rp={key:0,class:"container mx-auto px-5"},sp={class:"px-6 py-5 bg-white border-t border-slate-200"},ip={class:"max-w-96 flex justify-around mx-auto"},op=we({__name:"BaseMenuBar",setup(e){const t=Yf();return(n,r)=>(q(),se("div",np,[X(t).name==="home"?(q(),se("div",rp,[Q(tp)])):st("",!0),z("div",sp,[z("div",ip,[Q(X(gs),{to:"/"},{default:de(()=>[Q(X(Yh),{class:"w-6 h-6 text-slate-400"})]),_:1}),Q(X(gs),{to:"/settings"},{default:de(()=>[Q(X(zh),{class:"w-6 h-6 text-slate-400"})]),_:1})])])]))}}),ap=Dt(op,[["__scopeId","data-v-1faae66e"]]),lp={class:"container flex flex-col mx-auto px-5 pb-16 z-10"},cp={class:"grow"},Qs=we({__name:"BaseLayout",setup(e){return(t,n)=>(q(),se(ve,null,[Q(Nh),z("main",lp,[z("div",cp,[$t(t.$slots,"default")]),Q(Wh)]),Q(ap)],64))}});function Gt(e){this._maxSize=e,this.clear()}Gt.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Gt.prototype.get=function(e){return this._values[e]};Gt.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var up=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Qa=/^\d+$/,fp=/^\d/,dp=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,hp=/^\s*(['"]?)(.*?)(\1)\s*$/,Xs=512,yo=new Gt(Xs),bo=new Gt(Xs),vo=new Gt(Xs),Xa={Cache:Gt,split:ys,normalizePath:Jr,setter:function(e){var t=Jr(e);return bo.get(e)||bo.set(e,function(r,s){for(var i=0,o=t.length,a=r;i"",Cp=/^Symbol\((.*)\)(.*)$/;function Op(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function _o(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return Op(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return Sp.call(e).replace(Cp,"Symbol($1)");const r=wp.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+xp.call(e)+"]":r==="RegExp"?Ep.call(e):null}function At(e,t){let n=_o(e,t);return n!==null?n:JSON.stringify(e,function(r,s){let i=_o(this[r],t);return i!==null?i:s},2)}function el(e){return e==null?[]:[].concat(e)}let tl,nl,rl,Tp=/\$\{\s*(\w+)\s*\}/g;tl=Symbol.toStringTag;class wo{constructor(t,n,r,s){this.name=void 0,this.message=void 0,this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=void 0,this.inner=void 0,this[tl]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=s,this.errors=[],this.inner=[],el(t).forEach(i=>{if(Ie.isError(i)){this.errors.push(...i.errors);const o=i.inner.length?i.inner:[i];this.inner.push(...o)}else this.errors.push(i)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0]}}nl=Symbol.hasInstance;rl=Symbol.toStringTag;class Ie extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(Tp,(s,i)=>At(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,s,i){const o=new wo(t,n,r,s);if(i)return o;super(),this.value=void 0,this.path=void 0,this.type=void 0,this.params=void 0,this.errors=[],this.inner=[],this[rl]="Error",this.name=o.name,this.message=o.message,this.type=o.type,this.value=o.value,this.path=o.path,this.errors=o.errors,this.inner=o.inner,Error.captureStackTrace&&Error.captureStackTrace(this,Ie)}static[nl](t){return wo[Symbol.hasInstance](t)||super[Symbol.hasInstance](t)}}let et={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const s=r!=null&&r!==n?` (cast from the value \`${At(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${At(n,!0)}\``+s:`${e} must match the configured type. The validated value was: \`${At(n,!0)}\``+s}},De={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",datetime:"${path} must be a valid ISO date-time",datetime_precision:"${path} must be a valid ISO date-time with a sub-second precision of exactly ${precision} digits",datetime_offset:'${path} must be a valid ISO date-time with UTC "Z" timezone',trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},wt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},bs={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Mp={isValue:"${path} field must be ${value}"},kp={noUnknown:"${path} field has unspecified keys: ${unknown}"},$p={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},Ap={notType:e=>{const{path:t,value:n,spec:r}=e,s=r.types.length;if(Array.isArray(n)){if(n.lengths)return`${t} tuple value has too many items, expected a length of ${s} but got ${n.length} for value: \`${At(n,!0)}\``}return Ie.formatError(et.notType,e)}};Object.assign(Object.create(null),{mixed:et,string:De,number:wt,date:bs,object:kp,array:$p,boolean:Mp,tuple:Ap});const sl=e=>e&&e.__isYupSchema__;class br{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:s,otherwise:i}=n,o=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new br(t,(a,l)=>{var u;let c=o(...a)?s:i;return(u=c==null?void 0:c(l))!=null?u:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),s=this.fn(r,t,n);if(s===void 0||s===t)return t;if(!sl(s))throw new TypeError("conditions must return a schema object");return s.resolve(n)}}const nr={context:"$",value:"."};class Un{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===nr.context,this.isValue=this.key[0]===nr.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?nr.context:this.isValue?nr.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&Xa.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let s=this.isContext?r:this.isValue?t:n;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Un.prototype.__isYupRef=!0;const ct=e=>e==null;function tn(e){function t({value:n,path:r="",options:s,originalValue:i,schema:o},a,l){const{name:u,test:c,params:d,message:p,skipAbsent:m}=e;let{parent:b,context:x,abortEarly:$=o.spec.abortEarly,disableStackTrace:k=o.spec.disableStackTrace}=s;function C(N){return Un.isRef(N)?N.getValue(n,b,x):N}function D(N={}){const T=Object.assign({value:n,originalValue:i,label:o.spec.label,path:N.path||r,spec:o.spec,disableStackTrace:N.disableStackTrace||k},d,N.params);for(const ye of Object.keys(T))T[ye]=C(T[ye]);const te=new Ie(Ie.formatError(N.message||p,T),n,T.path,N.type||u,T.disableStackTrace);return te.params=T,te}const H=$?a:l;let V={path:r,parent:b,type:u,from:s.from,createError:D,resolve:C,options:s,originalValue:i,schema:o};const j=N=>{Ie.isError(N)?H(N):N?l(null):H(D())},K=N=>{Ie.isError(N)?H(N):a(N)};if(m&&ct(n))return j(!0);let L;try{var O;if(L=c.call(V,n,V),typeof((O=L)==null?void 0:O.then)=="function"){if(s.sync)throw new Error(`Validation test of type: "${V.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(L).then(j,K)}}catch(N){K(N);return}j(L)}return t.OPTIONS=e,t}function Pp(e,t,n,r=n){let s,i,o;return t?(Xa.forEach(t,(a,l,u)=>{let c=l?a.slice(1,a.length-1):a;e=e.resolve({context:r,parent:s,value:n});let d=e.type==="tuple",p=u?parseInt(c,10):0;if(e.innerType||d){if(d&&!u)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);s=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e.type}")`);s=n,n=n&&n[c],e=e.fields[c]}i=c,o=l?"["+a+"]":"."+a}),{schema:e,parent:s,parentPath:i}):{parent:s,parentPath:t,schema:e}}class vr extends Set{describe(){const t=[];for(const n of this.values())t.push(Un.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new vr(this.values())}merge(t,n){const r=this.clone();return t.forEach(s=>r.add(s)),n.forEach(s=>r.delete(s)),r}}function sn(e,t=new Map){if(sl(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(et.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=sn(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const s=Object.assign({},n.spec,r.spec);return r.spec=s,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(o=>{i.test(o.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((s,i)=>i.resolve(s,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,s,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(s=t.recursive)!=null?s:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),s=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(s&&ct(i))return i;let o=At(t),a=At(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". + +attempted value: ${o} +`+(a!==o?`result of cast: ${a}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((s,i)=>i.call(this,s,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,s){let{path:i,originalValue:o=t,strict:a=this.spec.strict}=n,l=t;a||(l=this._cast(l,Object.assign({assert:!1},n)));let u=[];for(let c of Object.values(this.internalTests))c&&u.push(c);this.runTests({path:i,value:l,originalValue:o,options:n,tests:u},r,c=>{if(c.length)return s(c,l);this.runTests({path:i,value:l,originalValue:o,options:n,tests:this.tests},r,s)})}runTests(t,n,r){let s=!1,{tests:i,value:o,originalValue:a,path:l,options:u}=t,c=x=>{s||(s=!0,n(x,o))},d=x=>{s||(s=!0,r(x,o))},p=i.length,m=[];if(!p)return d([]);let b={value:o,originalValue:a,path:l,options:u,schema:this};for(let x=0;xthis.resolve(c)._validate(u,c,p,m)}validate(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return new Promise((o,a)=>s._validate(t,n,(l,u)=>{Ie.isError(l)&&(l.value=u),a(l)},(l,u)=>{l.length?a(new Ie(l,u,void 0,void 0,i)):o(u)}))}validateSync(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i,o=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},n,{sync:!0}),(a,l)=>{throw Ie.isError(a)&&(a.value=l),a},(a,l)=>{if(a.length)throw new Ie(a,t,void 0,void 0,o);i=l}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Ie.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Ie.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):sn(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=tn({message:n,name:"nullable",test(s){return s===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=tn({message:n,name:"optionality",test(s){return s===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=et.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=et.notNull){return this.nullability(!1,t)}required(t=et.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=et.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),s=tn(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(o=>!(o.OPTIONS.name===n.name&&(i||o.OPTIONS.test===s.OPTIONS.test))),r.tests.push(s),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),s=el(t).map(i=>new Un(i));return s.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new br(s,n):br.fromOptions(s,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=tn({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=et.oneOf){let r=this.clone();return t.forEach(s=>{r._whitelist.add(s),r._blacklist.delete(s)}),r.internalTests.whiteList=tn({message:n,name:"oneOf",skipAbsent:!0,test(s){let i=this.schema._whitelist,o=i.resolveAll(this.resolve);return o.includes(s)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:o}})}}),r}notOneOf(t,n=et.notOneOf){let r=this.clone();return t.forEach(s=>{r._blacklist.add(s),r._whitelist.delete(s)}),r.internalTests.blacklist=tn({message:n,name:"notOneOf",test(s){let i=this.schema._blacklist,o=i.resolveAll(this.resolve);return o.includes(s)?this.createError({params:{values:Array.from(i).join(", "),resolved:o}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:s,optional:i,nullable:o}=n.spec;return{meta:s,label:r,optional:i,nullable:o,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,u,c)=>c.findIndex(d=>d.name===l.name)===u)}}}dt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])dt.prototype[`${e}At`]=function(t,n,r={}){const{parent:s,parentPath:i,schema:o}=Pp(this,t,n,r.context);return o[e](s&&s[i],Object.assign({},r,{parent:s,path:t}))};for(const e of["equals","is"])dt.prototype[e]=dt.prototype.oneOf;for(const e of["not","nope"])dt.prototype[e]=dt.prototype.notOneOf;const Fp=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function Dp(e){const t=vs(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;if(t.z===void 0&&t.plusMinus===void 0)return new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond).valueOf();let n=0;return t.z!=="Z"&&t.plusMinus!==void 0&&(n=t.hourOffset*60+t.minuteOffset,t.plusMinus==="+"&&(n=0-n)),Date.UTC(t.year,t.month,t.day,t.hour,t.minute+n,t.second,t.millisecond)}function vs(e){var t,n;const r=Fp.exec(e);return r?{year:lt(r[1]),month:lt(r[2],1)-1,day:lt(r[3],1),hour:lt(r[4]),minute:lt(r[5]),second:lt(r[6]),millisecond:r[7]?lt(r[7].substring(0,3)):0,precision:(t=(n=r[7])==null?void 0:n.length)!=null?t:void 0,z:r[8]||void 0,plusMinus:r[9]||void 0,hourOffset:lt(r[10]),minuteOffset:lt(r[11])}:null}function lt(e,t=0){return Number(e)||t}let Rp=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Ip=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Np=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Lp="^\\d{4}-\\d{2}-\\d{2}",jp="\\d{2}:\\d{2}:\\d{2}",Bp="(([+-]\\d{2}(:?\\d{2})?)|Z)",Hp=new RegExp(`${Lp}T${jp}(\\.\\d+)?${Bp}$`),Vp=e=>ct(e)||e===e.trim(),Wp={}.toString();function il(){return new ol}class ol extends dt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const s=t!=null&&t.toString?t.toString():t;return s===Wp?t:s})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||et.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=De.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=De.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=De.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,s,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:s,name:i}=n:s=n),this.test({name:i||"matches",message:s||De.matches,params:{regex:t},skipAbsent:!0,test:o=>o===""&&r||o.search(t)!==-1})}email(t=De.email){return this.matches(Rp,{name:"email",message:t,excludeEmptyString:!0})}url(t=De.url){return this.matches(Ip,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=De.uuid){return this.matches(Np,{name:"uuid",message:t,excludeEmptyString:!1})}datetime(t){let n="",r,s;return t&&(typeof t=="object"?{message:n="",allowOffset:r=!1,precision:s=void 0}=t:n=t),this.matches(Hp,{name:"datetime",message:n||De.datetime,excludeEmptyString:!0}).test({name:"datetime_offset",message:n||De.datetime_offset,params:{allowOffset:r},skipAbsent:!0,test:i=>{if(!i||r)return!0;const o=vs(i);return o?!!o.z:!1}}).test({name:"datetime_precision",message:n||De.datetime_precision,params:{precision:s},skipAbsent:!0,test:i=>{if(!i||s==null)return!0;const o=vs(i);return o?o.precision===s:!1}})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=De.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:Vp})}lowercase(t=De.lowercase){return this.transform(n=>ct(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>ct(n)||n===n.toLowerCase()})}uppercase(t=De.uppercase){return this.transform(n=>ct(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>ct(n)||n===n.toUpperCase()})}}il.prototype=ol.prototype;let Up=e=>e!=+e;function Zs(){return new al}class al extends dt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!Up(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let s=t;if(typeof s=="string"){if(s=s.replace(/\s/g,""),s==="")return NaN;s=+s}return r.isType(s)||s===null?s:parseFloat(s)})})}min(t,n=wt.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=wt.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=wt.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return rthis.resolve(t)}})}positive(t=wt.positive){return this.moreThan(0,t)}negative(t=wt.negative){return this.lessThan(0,t)}integer(t=wt.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>ct(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(s=>ct(s)?s:Math[t](s))}}Zs.prototype=al.prototype;let qp=new Date(""),zp=e=>Object.prototype.toString.call(e)==="[object Date]";class ei extends dt{constructor(){super({type:"date",check(t){return zp(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=Dp(t),isNaN(t)?ei.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Un.isRef(t))r=t;else{let s=this.cast(t);if(!this._typeCheck(s))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(t,n=bs.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s>=this.resolve(r)}})}max(t,n=bs.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s<=this.resolve(r)}})}}ei.INVALID_DATE=qp;const Yp={},Kp={class:"flex flex-col text-slate-700"};function Gp(e,t){return q(),se("div",Kp,[$t(e.$slots,"title"),$t(e.$slots,"content")])}const xo=Dt(Yp,[["render",Gp]]),Qp={class:"flex items-center justify-center h-16 text-xs lg:text-base text-slate-500 select-none"},Xp=we({__name:"BaseEmptyListMessage",props:{message:{}},setup(e){return(t,n)=>(q(),se("div",Qp,[Q(X(Qh),{class:"mr-2 w-6 h-6"}),z("span",null,Ae(t.message),1)]))}}),Jp={class:"text-xs text-slate-500 select-none"},Zp={class:"relative flex items-center select-none cursor-pointer"},em={class:"ml-1"},tm=we({__name:"BaseExpense",props:{value:{},currency:{},createdAt:{}},emits:["click","delete"],setup(e,{emit:t}){const n=t,r=it(null),s=it(!1);Hn(()=>{document.addEventListener("click",a=>{!r.value||r.value.contains(a.target)||(s.value=!1)}),document.addEventListener("keydown",a=>{a.key==="Escape"&&(s.value=!1)}),document.addEventListener("scroll",()=>{s.value=!1})}),Ns(()=>{document.removeEventListener("click",()=>{s.value=!1}),document.removeEventListener("keydown",()=>{s.value=!1}),document.removeEventListener("scroll",()=>{s.value=!1})});const i=()=>{s.value=!s.value},o=()=>{n("click")};return(a,l)=>(q(),se("div",{class:rt(["relative flex flex-col items-center",{"z-[50]":s.value}])},[z("div",Jp,Ae(a.createdAt),1),z("div",Zp,[z("div",{ref_key:"expense",ref:r,class:"relative flex items-center py-1 px-3 text-sm lg:text-base bg-white border border-sky-400 rounded-2xl hover:shadow-md transition-shadow duration-300 z-[39]",onClick:i},[z("div",null,Ae(a.value),1),z("div",em,Ae(a.currency),1)],512),Q(dn,null,{default:de(()=>[s.value?(q(),Pe(Bn,{key:0,class:"absolute top-5 h-[110%] !items-end !p-0 !pb-1 !rounded-2xl !rounded-t-none !bg-red-500 hover:!bg-red-600",onClick:o},{text:de(()=>[Q(X(Ga),{class:"w-4 h-4 text-white"})]),_:1})):st("",!0)]),_:1})])],2))}}),nm=Dt(tm,[["__scopeId","data-v-fa1e793c"]]),rm={class:"absolute top-0 right-0"},_s=we({__name:"BaseFormBar",emits:["submit"],setup(e,{emit:t}){const n=t,r=()=>{n("submit")};return(s,i)=>(q(),se("form",{class:"relative",onSubmit:Pu(r,["prevent"])},[$t(s.$slots,"input"),z("div",rm,[$t(s.$slots,"button")])],32))}}),sm={class:"relative w-full"},im=["id","type","placeholder","value","autocomplete"],om={key:0,class:"absolute left-3 -bottom-4 w-full text-xs text-rose-500"},am={key:0,class:"absolute left-3 -bottom-4 w-full text-xs text-green-500"},lm=we({__name:"BaseInput",props:{modelValue:{},id:{},type:{},placeholder:{},autocomplete:{},isError:{type:Boolean},errorMessage:{},isSuccess:{type:Boolean},successMessage:{}},emits:["update:modelValue","onBlur"],setup(e,{emit:t}){const n=t,r=i=>{n("update:modelValue",i.target.value)},s=()=>{n("onBlur")};return(i,o)=>(q(),se("div",sm,[z("input",{id:i.id,type:i.type,placeholder:i.placeholder,value:i.modelValue,autocomplete:i.autocomplete,class:rt([i.isError?"!border-red-500 !focus:border-red-500":"","w-full px-3 py-2 pr-14 text-sm border border-slate-300 rounded-xl hover:border-slate-400 focus:outline-none focus:border-slate-400 transition-[border-color] select-none"]),onInput:r,onBlur:s},null,42,im),Q(dn,null,{default:de(()=>[i.isError&&i.errorMessage?(q(),se("span",om,Ae(i.errorMessage),1)):st("",!0)]),_:1}),Q(dn,null,{default:de(()=>[i.isSuccess&&i.successMessage?(q(),se("span",am,Ae(i.successMessage),1)):st("",!0)]),_:1})]))}}),ws=Dt(lm,[["__scopeId","data-v-6e7c46d9"]]),cm={class:"mb-5 py-5 text-xl font-bold border-t border-b"},um={class:"grid gap-3"},fm={class:"flex"},dm={class:"flex flex-col"},hm={class:"flex items-center text-sm lg:text-base"},pm={key:0,class:"shrink-0 w-2 h-2 ml-2 rounded-full bg-green-500 select-none animate-pulse"},mm={key:0,class:"flex items-center w-full"},gm=we({__name:"BaseExpensesList",setup(e){const t=Ks(),n=Wn(),r=Vt(),s=Gs(),{isAddExpenseInputVisible:i}=Ve(t),{months:o}=Ve(r),{expenses:a}=Ve(s),{hideAddExpenseInput:l}=t,{getDaysByMonthId:u}=r,{getMonthlyExpenses:c,getDailyExpenses:d,addExpense:p,removeExpense:m}=s,{getActiveCurrency:b,dailyBudget:x}=Ve(n),$=it(""),k=it(!1),C=Zs().integer().required().min(1),D=H=>{try{C.validateSync(H),p(H),$.value="",k.value=!1}catch{k.value=!0}};return(H,V)=>(q(!0),se(ve,null,En(X(o),j=>(q(),Pe(xo,{key:j.id},{title:de(()=>[z("div",cm,Ae(j.name)+" / "+Ae(X(c)(j.id)),1)]),content:de(()=>[z("div",um,[(q(!0),se(ve,null,En(X(u)(j.id),K=>(q(),Pe(xo,{key:K.id,class:"relative last:mb-12"},{title:de(()=>[z("div",{class:rt(["sticky top-[52px] flex flex-col items-start py-1 bg-white font-bold select-none z-40",{"current-day":K.isCurrent}])},[z("div",fm,[z("div",dm,[z("div",hm,[Bs(Ae(K.number)+" "+Ae(K.name)+" ",1),K.isCurrent?(q(),se("div",pm)):st("",!0)])])]),z("div",{class:rt(["text-xs lg:text-sm",{"text-emerald-500":X(d)(K.id)<=X(x),"text-rose-500":X(d)(K.id)>X(x),hidden:X(d)(K.id)===0}])},Ae(X(d)(K.id))+" / "+Ae(X(x)),3)],2)]),content:de(()=>[(q(!0),se(ve,null,En(X(a)[K.id],(A,L)=>(q(),se("div",{key:L,class:"flex flex-wrap gap-2"},[(q(!0),se(ve,null,En(A,O=>(q(),Pe(nm,{key:O.id,createdAt:O.createdAt,value:O.value,currency:O.currency,class:rt({"opacity-30":!K.isCurrent}),onClick:N=>X(m)(O.id,K.id)},null,8,["createdAt","value","currency","class","onClick"]))),128)),X(a)[K.id].items.length?st("",!0):(q(),se("div",mm,[Q(Xp,{message:"No expenses for this day"})])),Q(dn,null,{default:de(()=>[K.isCurrent&&X(i)?(q(),Pe(_s,{key:0,onSubmit:V[1]||(V[1]=O=>D($.value)),class:"!absolute top-[calc(100%+10px)] w-full rounded-xl shadow-md mb-6 z-50"},{input:de(()=>[Q(ws,{id:"expense-input",modelValue:$.value,"onUpdate:modelValue":V[0]||(V[0]=O=>$.value=O),type:"number",inputmode:"numeric",placeholder:`Enter expense (${X(b).name})`,"has-error":k.value,onOnBlur:X(l)},null,8,["modelValue","placeholder","has-error","onOnBlur"])]),_:1})):st("",!0)]),_:2},1024)]))),128))]),_:2},1024))),128))])]),_:2},1024))),128))}}),ym=Dt(gm,[["__scopeId","data-v-fcd1190c"]]),bm=we({__name:"HomeView",setup(e){const t=Ks(),n=Vt(),r=Gs(),{lastCalendarUpdateDate:s}=Ve(t),{setLastUpdateDate:i}=t,{initCalendar:o}=n,{initExpensesObject:a}=r;ua(()=>{const c=new Date().toLocaleDateString();i(c),o(),a(),window.addEventListener("focus",u)}),Hn(()=>{l()});const l=()=>{const c=document.getElementsByClassName("current-day")[0];c&&c.scrollIntoView({block:"start"})},u=()=>{if(!s.value)return;const c=new Date().toLocaleDateString();c!==s.value&&(i(c),o(),a())};return(c,d)=>(q(),Pe(Qs,null,{default:de(()=>[Q(ym)]),_:1}))}}),vm=z("h1",null,"Stats dashboard",-1),_m=we({__name:"DashboardView",setup(e){return(t,n)=>(q(),Pe(Qs,null,{default:de(()=>[vm]),_:1}))}}),wm=["id","name","value","checked"],xm=["for"],Em=we({__name:"BaseRadioButton",props:{id:{},name:{},label:{},value:{},checked:{type:Boolean},additionalClasses:{}},emits:["change"],setup(e,{emit:t}){const n=t,r=s=>{n("change",s.target.value)};return(s,i)=>(q(),se("div",null,[z("input",{id:s.id,name:s.name,value:s.value,checked:s.checked,type:"radio",class:"hidden peer/radio",onChange:r},null,40,wm),z("label",{for:s.id,class:rt([s.additionalClasses,"block px-3 py-1 text-sm text-slate-400 border border-slate-300 rounded-2xl peer-checked/radio:text-white peer-checked/radio:bg-sky-400 select-none cursor-pointer hover:border-slate-400 hover:text-slate-500 transition-all"])},Ae(s.label),11,xm)]))}}),Sm={class:"flex items-center"},Cm=we({__name:"BaseCurrencyGroupItem",props:{id:{},name:{},label:{},value:{},isSelected:{type:Boolean},isDefault:{type:Boolean}},setup(e){const t=e,n=Wn(),{setActiveCurrency:r,deleteCurrency:s}=n,i=Ne(()=>({"!rounded-r-2xl":t.isDefault,"border-r-0":!t.isDefault}));return(o,a)=>(q(),se("div",Sm,[Q(Em,{id:o.id,name:o.name,label:o.label,value:o.value,checked:o.isSelected,"additional-classes":[i.value,"max-w-30","rounded-r-none","overflow-hidden","whitespace-nowrap","text-ellipsis"],onChange:a[0]||(a[0]=l=>X(r)(o.id))},null,8,["id","name","label","value","checked","additional-classes"]),o.isDefault?st("",!0):(q(),Pe(Bn,{key:0,class:"grow-0 !py-0 h-full rounded-l-none",title:"delete currency",onClick:a[1]||(a[1]=l=>X(s)(o.id)),"is-disabled":o.isSelected},{text:de(()=>[o.isSelected?st("",!0):(q(),Pe(X(Ga),{key:0,class:"w-4 h-4"})),o.isSelected?(q(),Pe(X(Kh),{key:1,class:"w-4 h-4 text-slate-950"})):st("",!0)]),_:1},8,["is-disabled"]))]))}}),Om=z("div",{class:"mb-7 pt-4 text-2xl text-slate-700 font-bold select-none"},"Settings",-1),Tm={class:"mb-10"},Mm=z("div",{class:"mb-3 text-slate-500 select-none"},"Daily budget",-1),km={class:"mb-2"},$m=z("div",{class:"mb-3 text-slate-500 select-none"},"Default currency",-1),Am={class:"flex flex-wrap gap-1 mb-3"},Pm=we({__name:"SettingsView",setup(e){const t=Wn(),{setDailyBudget:n,addNewCurrency:r,dailyBudget:s}=t,{currencies:i}=Ve(t),o=qt({value:s,isError:!1,errorMessage:"Enter an integer greater than 9",isSuccess:!1,successMessage:"Daily budget updated"}),a=qt({value:"",isError:!1,errorMessage:"Currency already exists"}),l=Zs().integer().required().min(10),u=il().required().min(1).max(10);kt(a,()=>{a.value.length===0&&(a.isError=!1)});const c=p=>{try{l.validateSync(p),n(p),o.isSuccess=!0,o.value=p,o.isError=!1,setTimeout(()=>{o.isSuccess=!1},3e3)}catch{o.isError=!0,o.isSuccess=!1}},d=p=>{if(i.value.some(m=>m.name===p)){a.isError=!0;return}try{u.validateSync(p),r(p),a.value="",a.isError=!1}catch{a.isError=!0}};return(p,m)=>(q(),Pe(Qs,null,{default:de(()=>[Om,z("div",Tm,[Mm,Q(_s,{onSubmit:m[1]||(m[1]=b=>c(o.value))},{input:de(()=>[Q(ws,{id:"daily-input",modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=b=>o.value=b),type:"number",inputmode:"numeric",placeholder:"Set daily budget",autocomplete:"off","is-error":o.isError,"error-message":o.errorMessage,"is-success":o.isSuccess,"success-message":o.successMessage},null,8,["modelValue","is-error","error-message","is-success","success-message"])]),button:de(()=>[Q(Bn,{type:"submit"},{text:de(()=>[Q(X(qh),{class:"w-5 h-5"})]),_:1})]),_:1})]),z("div",km,[$m,z("div",Am,[(q(!0),se(ve,null,En(X(i),b=>(q(),Pe(Cm,{key:b.name,id:b.name,label:b.name,value:b.name,"is-selected":b.isActive,"is-default":b.isDefault,name:"currencies"},null,8,["id","label","value","is-selected","is-default"]))),128))])]),Q(_s,{class:"mb-10",onSubmit:m[3]||(m[3]=b=>d(a.value))},{input:de(()=>[Q(ws,{id:"currency-input",modelValue:a.value,"onUpdate:modelValue":m[2]||(m[2]=b=>a.value=b),type:"text",placeholder:"Add new currency",autocomplete:"off","is-error":a.isError,"error-message":a.errorMessage},null,8,["modelValue","is-error","error-message"])]),button:de(()=>[Q(Bn,{type:"submit"},{text:de(()=>[Q(X(Gh),{class:"w-5 h-5"})]),_:1})]),_:1})]),_:1}))}}),Fm=qf({history:xf("/budget.it/"),routes:[{path:"/",name:"home",component:bm},{path:"/dashboard",name:"dashboard",component:_m},{path:"/settings",name:"settings",component:Pm}]}),Dm=we({__name:"App",setup(e){return(t,n)=>(q(),Pe(X(Va)))}}),ti=Ru(Dm);ti.use(ju());ti.use(Fm);ti.mount("#app"); diff --git a/assets/index-GAZ-w_Br.js b/assets/index-GAZ-w_Br.js deleted file mode 100644 index c3e4906..0000000 --- a/assets/index-GAZ-w_Br.js +++ /dev/null @@ -1,12 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();function _s(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const pe={},an=[],He=()=>{},nl=()=>!1,yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ws=e=>e.startsWith("onUpdate:"),be=Object.assign,xs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},rl=Object.prototype.hasOwnProperty,re=(e,t)=>rl.call(e,t),q=Array.isArray,ln=e=>br(e)==="[object Map]",vo=e=>br(e)==="[object Set]",X=e=>typeof e=="function",ye=e=>typeof e=="string",gn=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",_o=e=>(fe(e)||X(e))&&X(e.then)&&X(e.catch),wo=Object.prototype.toString,br=e=>wo.call(e),sl=e=>br(e).slice(8,-1),xo=e=>br(e)==="[object Object]",Es=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nr=_s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),vr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},il=/-(\w)/g,un=vr(e=>e.replace(il,(t,n)=>n?n.toUpperCase():"")),ol=/\B([A-Z])/g,yn=vr(e=>e.replace(ol,"-$1").toLowerCase()),Eo=vr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Rr=vr(e=>e?`on${Eo(e)}`:""),$t=(e,t)=>!Object.is(e,t),Ir=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},al=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ll=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let si;const So=()=>si||(si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _r(e){if(q(e)){const t={};for(let n=0;n{if(n){const r=n.split(ul);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function nt(e){let t="";if(ye(e))t=e;else if(q(e))for(let n=0;nye(e)?e:e==null?"":q(e)||fe(e)&&(e.toString===wo||!X(e.toString))?JSON.stringify(e,Oo,2):String(e),Oo=(e,t)=>t&&t.__v_isRef?Oo(e,t.value):ln(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],i)=>(n[Nr(r,i)+" =>"]=s,n),{})}:vo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Nr(n))}:gn(t)?Nr(t):fe(t)&&!q(t)&&!xo(t)?String(t):t,Nr=(e,t="")=>{var n;return gn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let je;class To{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=je,!t&&je&&(this.index=(je.scopes||(je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=je;try{return je=this,t()}finally{je=n}}}on(){je=this}off(){je=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n=2))break;Gt(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Tt,n=Wt;try{return Tt=!0,Wt=this,this._runnings++,ii(this),this.fn()}finally{oi(this),this._runnings--,Wt=n,Tt=t}}stop(){var t;this.active&&(ii(this),oi(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function gl(e){return e.value}function ii(e){e._trackId++,e._depsLength=0}function oi(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},ar=new WeakMap,Ut=Symbol(""),Jr=Symbol("");function Ie(e,t,n){if(Tt&&Wt){let r=ar.get(e);r||ar.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Fo(()=>r.delete(n))),$o(Wt,s)}}function ut(e,t,n,r,s,i){const o=ar.get(e);if(!o)return;let a=[];if(t==="clear")a=[...o.values()];else if(n==="length"&&q(e)){const l=Number(r);o.forEach((c,u)=>{(u==="length"||!gn(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(o.get(n)),t){case"add":q(e)?Es(n)&&a.push(o.get("length")):(a.push(o.get(Ut)),ln(e)&&a.push(o.get(Jr)));break;case"delete":q(e)||(a.push(o.get(Ut)),ln(e)&&a.push(o.get(Jr)));break;case"set":ln(e)&&a.push(o.get(Ut));break}Os();for(const l of a)l&&Do(l,3);Ts()}function yl(e,t){var n;return(n=ar.get(e))==null?void 0:n.get(t)}const bl=_s("__proto__,__v_isRef,__isVue"),Ro=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(gn)),ai=vl();function vl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=te(this);for(let i=0,o=this.length;i{e[t]=function(...n){Kt(),Os();const r=te(this)[t].apply(this,n);return Ts(),Gt(),r}}),e}function _l(e){const t=te(this);return Ie(t,"has",e),t.hasOwnProperty(e)}class Io{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(s?i?Dl:Bo:i?Lo:jo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=q(t);if(!s){if(o&&re(ai,n))return Reflect.get(ai,n,r);if(n==="hasOwnProperty")return _l}const a=Reflect.get(t,n,r);return(gn(n)?Ro.has(n):bl(n))||(s||Ie(t,"get",n),i)?a:me(a)?o&&Es(n)?a:a.value:fe(a)?s?Ps(a):Yt(a):a}}class No extends Io{constructor(t=!1){super(!1,t)}set(t,n,r,s){let i=t[n];if(!this._shallow){const l=fn(i);if(!sn(r)&&!fn(r)&&(i=te(i),r=te(r)),!q(t)&&me(i)&&!me(r))return l?!1:(i.value=r,!0)}const o=q(t)&&Es(n)?Number(n)e,wr=e=>Reflect.getPrototypeOf(e);function qn(e,t,n=!1,r=!1){e=e.__v_raw;const s=te(e),i=te(t);n||($t(t,i)&&Ie(s,"get",t),Ie(s,"get",i));const{has:o}=wr(s),a=r?Ms:n?$s:$n;if(o.call(s,t))return a(e.get(t));if(o.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function Yn(e,t=!1){const n=this.__v_raw,r=te(n),s=te(e);return t||($t(e,s)&&Ie(r,"has",e),Ie(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function zn(e,t=!1){return e=e.__v_raw,!t&&Ie(te(e),"iterate",Ut),Reflect.get(e,"size",e)}function li(e){e=te(e);const t=te(this);return wr(t).has.call(t,e)||(t.add(e),ut(t,"add",e,e)),this}function ci(e,t){t=te(t);const n=te(this),{has:r,get:s}=wr(n);let i=r.call(n,e);i||(e=te(e),i=r.call(n,e));const o=s.call(n,e);return n.set(e,t),i?$t(t,o)&&ut(n,"set",e,t):ut(n,"add",e,t),this}function ui(e){const t=te(this),{has:n,get:r}=wr(t);let s=n.call(t,e);s||(e=te(e),s=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return s&&ut(t,"delete",e,void 0),i}function fi(){const e=te(this),t=e.size!==0,n=e.clear();return t&&ut(e,"clear",void 0,void 0),n}function Kn(e,t){return function(r,s){const i=this,o=i.__v_raw,a=te(o),l=t?Ms:e?$s:$n;return!e&&Ie(a,"iterate",Ut),o.forEach((c,u)=>r.call(s,l(c),l(u),i))}}function Gn(e,t,n){return function(...r){const s=this.__v_raw,i=te(s),o=ln(i),a=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,c=s[e](...r),u=n?Ms:t?$s:$n;return!t&&Ie(i,"iterate",l?Jr:Ut),{next(){const{value:d,done:p}=c.next();return p?{value:d,done:p}:{value:a?[u(d[0]),u(d[1])]:u(d),done:p}},[Symbol.iterator](){return this}}}}function mt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Cl(){const e={get(i){return qn(this,i)},get size(){return zn(this)},has:Yn,add:li,set:ci,delete:ui,clear:fi,forEach:Kn(!1,!1)},t={get(i){return qn(this,i,!1,!0)},get size(){return zn(this)},has:Yn,add:li,set:ci,delete:ui,clear:fi,forEach:Kn(!1,!0)},n={get(i){return qn(this,i,!0)},get size(){return zn(this,!0)},has(i){return Yn.call(this,i,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:Kn(!0,!1)},r={get(i){return qn(this,i,!0,!0)},get size(){return zn(this,!0)},has(i){return Yn.call(this,i,!0)},add:mt("add"),set:mt("set"),delete:mt("delete"),clear:mt("clear"),forEach:Kn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Gn(i,!1,!1),n[i]=Gn(i,!0,!1),t[i]=Gn(i,!1,!0),r[i]=Gn(i,!0,!0)}),[e,n,t,r]}const[Ol,Tl,Ml,Al]=Cl();function As(e,t){const n=t?e?Al:Ml:e?Tl:Ol;return(r,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(re(n,s)&&s in r?n:r,s,i)}const Pl={get:As(!1,!1)},kl={get:As(!1,!0)},$l={get:As(!0,!1)},jo=new WeakMap,Lo=new WeakMap,Bo=new WeakMap,Dl=new WeakMap;function Fl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rl(e){return e.__v_skip||!Object.isExtensible(e)?0:Fl(sl(e))}function Yt(e){return fn(e)?e:ks(e,!1,xl,Pl,jo)}function Ho(e){return ks(e,!1,Sl,kl,Lo)}function Ps(e){return ks(e,!0,El,$l,Bo)}function ks(e,t,n,r,s){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const o=Rl(e);if(o===0)return e;const a=new Proxy(e,o===2?r:n);return s.set(e,a),a}function ft(e){return fn(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function fn(e){return!!(e&&e.__v_isReadonly)}function sn(e){return!!(e&&e.__v_isShallow)}function Vo(e){return ft(e)||fn(e)}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function xr(e){return or(e,"__v_skip",!0),e}const $n=e=>fe(e)?Yt(e):e,$s=e=>fe(e)?Ps(e):e;class Wo{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Cs(()=>t(this._value),()=>Zr(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=te(this);return Uo(t),(!t._cacheable||t.effect.dirty)&&$t(t._value,t._value=t.effect.run())&&Zr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Il(e,t,n=!1){let r,s;const i=X(e);return i?(r=e,s=He):(r=e.get,s=e.set),new Wo(r,s,i||!s,n)}function Uo(e){Tt&&Wt&&(e=te(e),$o(Wt,e.dep||(e.dep=Fo(()=>e.dep=void 0,e instanceof Wo?e:void 0))))}function Zr(e,t=3,n){e=te(e);const r=e.dep;r&&Do(r,t)}function me(e){return!!(e&&e.__v_isRef===!0)}function st(e){return Yo(e,!1)}function qo(e){return Yo(e,!0)}function Yo(e,t){return me(e)?e:new Nl(e,t)}class Nl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:te(t),this._value=n?t:$n(t)}get value(){return Uo(this),this._value}set value(t){const n=this.__v_isShallow||sn(t)||fn(t);t=n?t:te(t),$t(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:$n(t),Zr(this,3))}}function G(e){return me(e)?e.value:e}const jl={get:(e,t,n)=>G(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return me(s)&&!me(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function zo(e){return ft(e)?e:new Proxy(e,jl)}function Ll(e){const t=q(e)?new Array(e.length):{};for(const n in e)t[n]=Ko(e,n);return t}class Bl{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return yl(te(this._object),this._key)}}class Hl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Vl(e,t,n){return me(e)?e:X(e)?new Hl(e):fe(e)&&arguments.length>1?Ko(e,t,n):st(e)}function Ko(e,t,n){const r=e[t];return me(r)?r:new Bl(e,t,n)}function Mt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(i){Er(i,t,n)}return s}function Ve(e,t,n,r){if(X(e)){const i=Mt(e,t,n,r);return i&&_o(i)&&i.catch(o=>{Er(o,t,n)}),i}const s=[];for(let i=0;i>>1,s=Oe[r],i=Fn(s);itt&&Oe.splice(t,1)}function Yl(e){q(e)?cn.push(...e):(!lt||!lt.includes(e,e.allowRecurse?Bt+1:Bt))&&cn.push(e),Qo()}function di(e,t,n=Dn?tt+1:0){for(;nFn(n)-Fn(r)),Bt=0;Bte.id==null?1/0:e.id,zl=(e,t)=>{const n=Fn(e)-Fn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Jo(e){es=!1,Dn=!0,Oe.sort(zl);try{for(tt=0;ttye(g)?g.trim():g)),d&&(s=n.map(al))}let a,l=r[a=Rr(t)]||r[a=Rr(un(t))];!l&&i&&(l=r[a=Rr(yn(t))]),l&&Ve(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ve(c,e,6,s)}}function Zo(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const i=e.emits;let o={},a=!1;if(!X(e)){const l=c=>{const u=Zo(c,t,!0);u&&(a=!0,be(o,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(fe(e)&&r.set(e,null),null):(q(i)?i.forEach(l=>o[l]=null):be(o,i),fe(e)&&r.set(e,o),o)}function Sr(e,t){return!e||!yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),re(e,t[0].toLowerCase()+t.slice(1))||re(e,yn(t))||re(e,t))}let Te=null,Cr=null;function lr(e){const t=Te;return Te=e,Cr=e&&e.type.__scopeId||null,t}function Gl(e){Cr=e}function Ql(){Cr=null}function de(e,t=Te,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Ei(-1);const i=lr(t);let o;try{o=e(...s)}finally{lr(i),r._d&&Ei(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function jr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:i,propsOptions:[o],slots:a,attrs:l,emit:c,render:u,renderCache:d,data:p,setupState:g,ctx:y,inheritAttrs:w}=e;let P,T;const C=lr(e);try{if(n.shapeFlag&4){const L=s||r,k=L;P=et(u.call(k,L,d,i,g,p,y)),T=l}else{const L=t;P=et(L.length>1?L(i,{attrs:l,slots:a,emit:c}):L(i,null)),T=t.props?l:Xl(l)}}catch(L){Mn.length=0,Er(L,e,1),P=Q(We)}let F=P;if(T&&w!==!1){const L=Object.keys(T),{shapeFlag:k}=F;L.length&&k&7&&(o&&L.some(ws)&&(T=Jl(T,o)),F=Dt(F,T))}return n.dirs&&(F=Dt(F),F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&(F.transition=n.transition),P=F,lr(C),P}const Xl=e=>{let t;for(const n in e)(n==="class"||n==="style"||yr(n))&&((t||(t={}))[n]=e[n]);return t},Jl=(e,t)=>{const n={};for(const r in e)(!ws(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Zl(e,t,n){const{props:r,children:s,component:i}=e,{props:o,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?hi(r,o,c):!!o;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function rc(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Yl(e)}const sc=Symbol.for("v-scx"),ic=()=>ze(sc),Qn={};function At(e,t,n){return ea(e,t,n)}function ea(e,t,{immediate:n,deep:r,flush:s,once:i,onTrack:o,onTrigger:a}=pe){var l;if(t&&i){const k=t;t=(...ee)=>{k(...ee),L()}}const c=Ss()===((l=xe)==null?void 0:l.scope)?xe:null;let u,d=!1,p=!1;if(me(e)?(u=()=>e.value,d=sn(e)):ft(e)?(u=sn(e)||r===!1?()=>Ot(e,1):()=>Ot(e),d=!0):q(e)?(p=!0,d=e.some(k=>ft(k)||sn(k)),u=()=>e.map(k=>{if(me(k))return k.value;if(ft(k))return Ot(k,sn(k)||r===!1?1:void 0);if(X(k))return Mt(k,c,2)})):X(e)?t?u=()=>Mt(e,c,2):u=()=>{if(!(c&&c.isUnmounted))return g&&g(),Ve(e,c,3,[y])}:u=He,t&&r){const k=u;u=()=>Ot(k())}let g,y=k=>{g=F.onStop=()=>{Mt(k,c,4),g=F.onStop=void 0}},w;if(Pr)if(y=He,t?n&&Ve(t,c,3,[u(),p?[]:void 0,y]):u(),s==="sync"){const k=ic();w=k.__watcherHandles||(k.__watcherHandles=[])}else return He;let P=p?new Array(e.length).fill(Qn):Qn;const T=()=>{if(!(!F.active||!F.dirty))if(t){const k=F.run();(r||d||(p?k.some((ee,z)=>$t(ee,P[z])):$t(k,P)))&&(g&&g(),Ve(t,c,3,[k,P===Qn?void 0:p&&P[0]===Qn?[]:P,y]),P=k)}else F.run()};T.allowRecurse=!!t;let C;s==="sync"?C=T:s==="post"?C=()=>De(T,c&&c.suspense):(T.pre=!0,c&&(T.id=c.uid),C=()=>Fs(T));const F=new Cs(u,He,C),L=()=>{F.stop(),c&&c.scope&&xs(c.scope.effects,F)};return t?n?T():P=F.run():s==="post"?De(F.run.bind(F),c&&c.suspense):F.run(),w&&w.push(L),L}function oc(e,t,n){const r=this.proxy,s=ye(e)?e.includes(".")?ta(r,e):()=>r[e]:e.bind(r,r);let i;X(t)?i=t:(i=t.handler,n=t);const o=xe;dn(this);const a=ea(s,i.bind(r),n);return o?dn(o):qt(),a}function ta(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),me(e))Ot(e.value,t,n,r);else if(q(e))for(let s=0;s{Ot(s,t,n,r)});else if(xo(e))for(const s in e)Ot(e[s],t,n,r);return e}function Rt(e,t,n,r){const s=e.dirs,i=t&&t.dirs;for(let o=0;o{e.isMounted=!0}),Rs(()=>{e.isUnmounting=!0}),e}const Le=[Function,Array],na={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Le,onEnter:Le,onAfterEnter:Le,onEnterCancelled:Le,onBeforeLeave:Le,onLeave:Le,onAfterLeave:Le,onLeaveCancelled:Le,onBeforeAppear:Le,onAppear:Le,onAfterAppear:Le,onAppearCancelled:Le},lc={name:"BaseTransition",props:na,setup(e,{slots:t}){const n=_a(),r=ac();let s;return()=>{const i=t.default&&sa(t.default(),!0);if(!i||!i.length)return;let o=i[0];if(i.length>1){for(const w of i)if(w.type!==We){o=w;break}}const a=te(e),{mode:l}=a;if(r.isLeaving)return Lr(o);const c=pi(o);if(!c)return Lr(o);const u=ts(c,a,r,n);ns(c,u);const d=n.subTree,p=d&&pi(d);let g=!1;const{getTransitionKey:y}=c.type;if(y){const w=y();s===void 0?s=w:w!==s&&(s=w,g=!0)}if(p&&p.type!==We&&(!Ht(c,p)||g)){const w=ts(p,a,r,n);if(ns(p,w),l==="out-in")return r.isLeaving=!0,w.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Lr(o);l==="in-out"&&c.type!==We&&(w.delayLeave=(P,T,C)=>{const F=ra(r,p);F[String(p.key)]=p,P[xt]=()=>{T(),P[xt]=void 0,delete u.delayedLeave},u.delayedLeave=C})}return o}}},cc=lc;function ra(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ts(e,t,n,r){const{appear:s,mode:i,persisted:o=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:g,onLeaveCancelled:y,onBeforeAppear:w,onAppear:P,onAfterAppear:T,onAppearCancelled:C}=t,F=String(e.key),L=ra(n,e),k=($,S)=>{$&&Ve($,r,9,S)},ee=($,S)=>{const N=S[1];k($,S),q($)?$.every(B=>B.length<=1)&&N():$.length<=1&&N()},z={mode:i,persisted:o,beforeEnter($){let S=a;if(!n.isMounted)if(s)S=w||a;else return;$[xt]&&$[xt](!0);const N=L[F];N&&Ht(e,N)&&N.el[xt]&&N.el[xt](),k(S,[$])},enter($){let S=l,N=c,B=u;if(!n.isMounted)if(s)S=P||l,N=T||c,B=C||u;else return;let R=!1;const J=$[Xn]=ge=>{R||(R=!0,ge?k(B,[$]):k(N,[$]),z.delayedLeave&&z.delayedLeave(),$[Xn]=void 0)};S?ee(S,[$,J]):J()},leave($,S){const N=String(e.key);if($[Xn]&&$[Xn](!0),n.isUnmounting)return S();k(d,[$]);let B=!1;const R=$[xt]=J=>{B||(B=!0,S(),J?k(y,[$]):k(g,[$]),$[xt]=void 0,L[N]===e&&delete L[N])};L[N]=e,p?ee(p,[$,R]):R()},clone($){return ts($,t,n,r)}};return z}function Lr(e){if(Or(e))return e=Dt(e),e.children=null,e}function pi(e){return Or(e)?e.children?e.children[0]:void 0:e}function ns(e,t){e.shapeFlag&6&&e.component?ns(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function sa(e,t=!1,n){let r=[],s=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Or=e=>e.type.__isKeepAlive;function uc(e,t){ia(e,"a",t)}function fc(e,t){ia(e,"da",t)}function ia(e,t,n=xe){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Tr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Or(s.parent.vnode)&&dc(r,t,n,s),s=s.parent}}function dc(e,t,n,r){const s=Tr(t,e,r,!0);aa(()=>{xs(r[t],s)},n)}function Tr(e,t,n=xe,r=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Kt(),dn(n);const a=Ve(t,n,e,o);return qt(),Gt(),a});return r?s.unshift(i):s.push(i),i}}const ht=e=>(t,n=xe)=>(!Pr||e==="sp")&&Tr(e,(...r)=>t(...r),n),oa=ht("bm"),Hn=ht("m"),hc=ht("bu"),pc=ht("u"),Rs=ht("bum"),aa=ht("um"),mc=ht("sp"),gc=ht("rtg"),yc=ht("rtc");function bc(e,t=xe){Tr("ec",e,t)}function Sn(e,t,n,r){let s;const i=n&&n[r];if(q(e)||ye(e)){s=new Array(e.length);for(let o=0,a=e.length;ot(o,a,void 0,i&&i[a]));else{const o=Object.keys(e);s=new Array(o.length);for(let a=0,l=o.length;aur(t)?!(t.type===We||t.type===we&&!la(t.children)):!0)?e:null}const rs=e=>e?wa(e)?Hs(e)||e.proxy:rs(e.parent):null,Tn=be(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=>rs(e.parent),$root:e=>rs(e.root),$emit:e=>e.emit,$options:e=>Is(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Fs(e.update)}),$nextTick:e=>e.n||(e.n=bn.bind(e.proxy)),$watch:e=>oc.bind(e)}),Br=(e,t)=>e!==pe&&!e.__isScriptSetup&&re(e,t),vc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:i,accessCache:o,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(Br(r,t))return o[t]=1,r[t];if(s!==pe&&re(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&re(c,t))return o[t]=3,i[t];if(n!==pe&&re(n,t))return o[t]=4,n[t];ss&&(o[t]=0)}}const u=Tn[t];let d,p;if(u)return t==="$attrs"&&Ie(e,"get",t),u(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==pe&&re(n,t))return o[t]=4,n[t];if(p=l.config.globalProperties,re(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:i}=e;return Br(s,t)?(s[t]=n,!0):r!==pe&&re(r,t)?(r[t]=n,!0):re(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:i}},o){let a;return!!n[o]||e!==pe&&re(e,o)||Br(t,o)||(a=i[0])&&re(a,o)||re(r,o)||re(Tn,o)||re(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:re(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function mi(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ss=!0;function _c(e){const t=Is(e),n=e.proxy,r=e.ctx;ss=!1,t.beforeCreate&&gi(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:o,watch:a,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:g,updated:y,activated:w,deactivated:P,beforeDestroy:T,beforeUnmount:C,destroyed:F,unmounted:L,render:k,renderTracked:ee,renderTriggered:z,errorCaptured:$,serverPrefetch:S,expose:N,inheritAttrs:B,components:R,directives:J,filters:ge}=t;if(c&&wc(c,r,null),o)for(const ce in o){const ie=o[ce];X(ie)&&(r[ce]=ie.bind(n))}if(s){const ce=s.call(n,n);fe(ce)&&(e.data=Yt(ce))}if(ss=!0,i)for(const ce in i){const ie=i[ce],it=X(ie)?ie.bind(n,n):X(ie.get)?ie.get.bind(n,n):He,pt=!X(ie)&&X(ie.set)?ie.set.bind(n):He,Ge=Re({get:it,set:pt});Object.defineProperty(r,ce,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:$e=>Ge.value=$e})}if(a)for(const ce in a)ca(a[ce],r,n,ce);if(l){const ce=X(l)?l.call(n):l;Reflect.ownKeys(ce).forEach(ie=>{rr(ie,ce[ie])})}u&&gi(u,e,"c");function ne(ce,ie){q(ie)?ie.forEach(it=>ce(it.bind(n))):ie&&ce(ie.bind(n))}if(ne(oa,d),ne(Hn,p),ne(hc,g),ne(pc,y),ne(uc,w),ne(fc,P),ne(bc,$),ne(yc,ee),ne(gc,z),ne(Rs,C),ne(aa,L),ne(mc,S),q(N))if(N.length){const ce=e.exposed||(e.exposed={});N.forEach(ie=>{Object.defineProperty(ce,ie,{get:()=>n[ie],set:it=>n[ie]=it})})}else e.exposed||(e.exposed={});k&&e.render===He&&(e.render=k),B!=null&&(e.inheritAttrs=B),R&&(e.components=R),J&&(e.directives=J)}function wc(e,t,n=He){q(e)&&(e=is(e));for(const r in e){const s=e[r];let i;fe(s)?"default"in s?i=ze(s.from||r,s.default,!0):i=ze(s.from||r):i=ze(s),me(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[r]=i}}function gi(e,t,n){Ve(q(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function ca(e,t,n,r){const s=r.includes(".")?ta(n,r):()=>n[r];if(ye(e)){const i=t[e];X(i)&&At(s,i)}else if(X(e))At(s,e.bind(n));else if(fe(e))if(q(e))e.forEach(i=>ca(i,t,n,r));else{const i=X(e.handler)?e.handler.bind(n):t[e.handler];X(i)&&At(s,i,e)}}function Is(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,a=i.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>cr(l,c,o,!0)),cr(l,t,o)),fe(t)&&i.set(t,l),l}function cr(e,t,n,r=!1){const{mixins:s,extends:i}=t;i&&cr(e,i,n,!0),s&&s.forEach(o=>cr(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=xc[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const xc={data:yi,props:bi,emits:bi,methods:Cn,computed:Cn,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Cn,directives:Cn,watch:Sc,provide:yi,inject:Ec};function yi(e,t){return t?e?function(){return be(X(e)?e.call(this,this):e,X(t)?t.call(this,this):t)}:t:e}function Ec(e,t){return Cn(is(e),is(t))}function is(e){if(q(e)){const t={};for(let n=0;n1)return n&&X(t)?t.call(r&&r.proxy):t}}function Tc(){return!!(xe||Te||Rn)}function Mc(e,t,n,r=!1){const s={},i={};or(i,Ar,1),e.propsDefaults=Object.create(null),fa(e,t,s,i);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=r?s:Ho(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Ac(e,t,n,r){const{props:s,attrs:i,vnode:{patchFlag:o}}=e,a=te(s),[l]=e.propsOptions;let c=!1;if((r||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[p,g]=da(d,t,!0);be(o,p),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return fe(e)&&r.set(e,an),an;if(q(i))for(let u=0;u-1,g[1]=w<0||y-1||re(g,"default"))&&a.push(d)}}}const c=[o,a];return fe(e)&&r.set(e,c),c}function vi(e){return e[0]!=="$"}function _i(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function wi(e,t){return _i(e)===_i(t)}function xi(e,t){return q(t)?t.findIndex(n=>wi(n,e)):X(t)&&wi(t,e)?0:-1}const ha=e=>e[0]==="_"||e==="$stable",Ns=e=>q(e)?e.map(et):[et(e)],Pc=(e,t,n)=>{if(t._n)return t;const r=de((...s)=>Ns(t(...s)),n);return r._c=!1,r},pa=(e,t,n)=>{const r=e._ctx;for(const s in e){if(ha(s))continue;const i=e[s];if(X(i))t[s]=Pc(s,i,r);else if(i!=null){const o=Ns(i);t[s]=()=>o}}},ma=(e,t)=>{const n=Ns(t);e.slots.default=()=>n},kc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=te(t),or(t,"_",n)):pa(t,e.slots={})}else e.slots={},t&&ma(e,t);or(e.slots,Ar,1)},$c=(e,t,n)=>{const{vnode:r,slots:s}=e;let i=!0,o=pe;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:(be(s,t),!n&&a===1&&delete s._):(i=!t.$stable,pa(t,s)),o=t}else t&&(ma(e,t),o={default:1});if(i)for(const a in s)!ha(a)&&o[a]==null&&delete s[a]};function as(e,t,n,r,s=!1){if(q(e)){e.forEach((p,g)=>as(p,t&&(q(t)?t[g]:t),n,r,s));return}if(On(r)&&!s)return;const i=r.shapeFlag&4?Hs(r.component)||r.component.proxy:r.el,o=s?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===pe?a.refs={}:a.refs,d=a.setupState;if(c!=null&&c!==l&&(ye(c)?(u[c]=null,re(d,c)&&(d[c]=null)):me(c)&&(c.value=null)),X(l))Mt(l,a,12,[o,u]);else{const p=ye(l),g=me(l);if(p||g){const y=()=>{if(e.f){const w=p?re(d,l)?d[l]:u[l]:l.value;s?q(w)&&xs(w,i):q(w)?w.includes(i)||w.push(i):p?(u[l]=[i],re(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else p?(u[l]=o,re(d,l)&&(d[l]=o)):g&&(l.value=o,e.k&&(u[e.k]=o))};o?(y.id=-1,De(y,n)):y()}}}const De=rc;function Dc(e){return Fc(e)}function Fc(e,t){const n=So();n.__VUE__=!0;const{insert:r,remove:s,patchProp:i,createElement:o,createText:a,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:p,setScopeId:g=He,insertStaticContent:y}=e,w=(f,h,m,b=null,_=null,x=null,D=void 0,O=null,M=!!h.dynamicChildren)=>{if(f===h)return;f&&!Ht(f,h)&&(b=v(f),$e(f,_,x,!0),f=null),h.patchFlag===-2&&(M=!1,h.dynamicChildren=null);const{type:E,ref:I,shapeFlag:W}=h;switch(E){case Mr:P(f,h,m,b);break;case We:T(f,h,m,b);break;case sr:f==null&&C(h,m,b,D);break;case we:R(f,h,m,b,_,x,D,O,M);break;default:W&1?k(f,h,m,b,_,x,D,O,M):W&6?J(f,h,m,b,_,x,D,O,M):(W&64||W&128)&&E.process(f,h,m,b,_,x,D,O,M,A)}I!=null&&_&&as(I,f&&f.ref,x,h||f,!h)},P=(f,h,m,b)=>{if(f==null)r(h.el=a(h.children),m,b);else{const _=h.el=f.el;h.children!==f.children&&c(_,h.children)}},T=(f,h,m,b)=>{f==null?r(h.el=l(h.children||""),m,b):h.el=f.el},C=(f,h,m,b)=>{[f.el,f.anchor]=y(f.children,h,m,b,f.el,f.anchor)},F=({el:f,anchor:h},m,b)=>{let _;for(;f&&f!==h;)_=p(f),r(f,m,b),f=_;r(h,m,b)},L=({el:f,anchor:h})=>{let m;for(;f&&f!==h;)m=p(f),s(f),f=m;s(h)},k=(f,h,m,b,_,x,D,O,M)=>{h.type==="svg"?D="svg":h.type==="math"&&(D="mathml"),f==null?ee(h,m,b,_,x,D,O,M):S(f,h,_,x,D,O,M)},ee=(f,h,m,b,_,x,D,O)=>{let M,E;const{props:I,shapeFlag:W,transition:V,dirs:K}=f;if(M=f.el=o(f.type,x,I&&I.is,I),W&8?u(M,f.children):W&16&&$(f.children,M,null,b,_,Hr(f,x),D,O),K&&Rt(f,null,b,"created"),z(M,f,f.scopeId,D,b),I){for(const ue in I)ue!=="value"&&!nr(ue)&&i(M,ue,null,I[ue],x,f.children,b,_,Ce);"value"in I&&i(M,"value",null,I.value,x),(E=I.onVnodeBeforeMount)&&Xe(E,b,f)}K&&Rt(f,null,b,"beforeMount");const Z=Rc(_,V);Z&&V.beforeEnter(M),r(M,h,m),((E=I&&I.onVnodeMounted)||Z||K)&&De(()=>{E&&Xe(E,b,f),Z&&V.enter(M),K&&Rt(f,null,b,"mounted")},_)},z=(f,h,m,b,_)=>{if(m&&g(f,m),b)for(let x=0;x{for(let E=M;E{const O=h.el=f.el;let{patchFlag:M,dynamicChildren:E,dirs:I}=h;M|=f.patchFlag&16;const W=f.props||pe,V=h.props||pe;let K;if(m&&It(m,!1),(K=V.onVnodeBeforeUpdate)&&Xe(K,m,h,f),I&&Rt(h,f,m,"beforeUpdate"),m&&It(m,!0),E?N(f.dynamicChildren,E,O,m,b,Hr(h,_),x):D||ie(f,h,O,null,m,b,Hr(h,_),x,!1),M>0){if(M&16)B(O,h,W,V,m,b,_);else if(M&2&&W.class!==V.class&&i(O,"class",null,V.class,_),M&4&&i(O,"style",W.style,V.style,_),M&8){const Z=h.dynamicProps;for(let ue=0;ue{K&&Xe(K,m,h,f),I&&Rt(h,f,m,"updated")},b)},N=(f,h,m,b,_,x,D)=>{for(let O=0;O{if(m!==b){if(m!==pe)for(const O in m)!nr(O)&&!(O in b)&&i(f,O,m[O],null,D,h.children,_,x,Ce);for(const O in b){if(nr(O))continue;const M=b[O],E=m[O];M!==E&&O!=="value"&&i(f,O,E,M,D,h.children,_,x,Ce)}"value"in b&&i(f,"value",m.value,b.value,D)}},R=(f,h,m,b,_,x,D,O,M)=>{const E=h.el=f?f.el:a(""),I=h.anchor=f?f.anchor:a("");let{patchFlag:W,dynamicChildren:V,slotScopeIds:K}=h;K&&(O=O?O.concat(K):K),f==null?(r(E,m,b),r(I,m,b),$(h.children,m,I,_,x,D,O,M)):W>0&&W&64&&V&&f.dynamicChildren?(N(f.dynamicChildren,V,m,_,x,D,O),(h.key!=null||_&&h===_.subTree)&&ga(f,h,!0)):ie(f,h,m,I,_,x,D,O,M)},J=(f,h,m,b,_,x,D,O,M)=>{h.slotScopeIds=O,f==null?h.shapeFlag&512?_.ctx.activate(h,m,b,D,M):ge(h,m,b,_,x,D,M):ve(f,h,M)},ge=(f,h,m,b,_,x,D)=>{const O=f.component=qc(f,b,_);if(Or(f)&&(O.ctx.renderer=A),Yc(O),O.asyncDep){if(_&&_.registerDep(O,ne),!f.el){const M=O.subTree=Q(We);T(null,M,h,m)}}else ne(O,f,h,m,_,x,D)},ve=(f,h,m)=>{const b=h.component=f.component;if(Zl(f,h,m))if(b.asyncDep&&!b.asyncResolved){ce(b,h,m);return}else b.next=h,ql(b.update),b.effect.dirty=!0,b.update();else h.el=f.el,b.vnode=h},ne=(f,h,m,b,_,x,D)=>{const O=()=>{if(f.isMounted){let{next:I,bu:W,u:V,parent:K,vnode:Z}=f;{const Zt=ya(f);if(Zt){I&&(I.el=Z.el,ce(f,I,D)),Zt.asyncDep.then(()=>{f.isUnmounted||O()});return}}let ue=I,he;It(f,!1),I?(I.el=Z.el,ce(f,I,D)):I=Z,W&&Ir(W),(he=I.props&&I.props.onVnodeBeforeUpdate)&&Xe(he,K,I,Z),It(f,!0);const _e=jr(f),Ue=f.subTree;f.subTree=_e,w(Ue,_e,d(Ue.el),v(Ue),f,_,x),I.el=_e.el,ue===null&&ec(f,_e.el),V&&De(V,_),(he=I.props&&I.props.onVnodeUpdated)&&De(()=>Xe(he,K,I,Z),_)}else{let I;const{el:W,props:V}=h,{bm:K,m:Z,parent:ue}=f,he=On(h);if(It(f,!1),K&&Ir(K),!he&&(I=V&&V.onVnodeBeforeMount)&&Xe(I,ue,h),It(f,!0),W&&oe){const _e=()=>{f.subTree=jr(f),oe(W,f.subTree,f,_,null)};he?h.type.__asyncLoader().then(()=>!f.isUnmounted&&_e()):_e()}else{const _e=f.subTree=jr(f);w(null,_e,m,b,f,_,x),h.el=_e.el}if(Z&&De(Z,_),!he&&(I=V&&V.onVnodeMounted)){const _e=h;De(()=>Xe(I,ue,_e),_)}(h.shapeFlag&256||ue&&On(ue.vnode)&&ue.vnode.shapeFlag&256)&&f.a&&De(f.a,_),f.isMounted=!0,h=m=b=null}},M=f.effect=new Cs(O,He,()=>Fs(E),f.scope),E=f.update=()=>{M.dirty&&M.run()};E.id=f.uid,It(f,!0),E()},ce=(f,h,m)=>{h.component=f;const b=f.vnode.props;f.vnode=h,f.next=null,Ac(f,h.props,b,m),$c(f,h.children,m),Kt(),di(f),Gt()},ie=(f,h,m,b,_,x,D,O,M=!1)=>{const E=f&&f.children,I=f?f.shapeFlag:0,W=h.children,{patchFlag:V,shapeFlag:K}=h;if(V>0){if(V&128){pt(E,W,m,b,_,x,D,O,M);return}else if(V&256){it(E,W,m,b,_,x,D,O,M);return}}K&8?(I&16&&Ce(E,_,x),W!==E&&u(m,W)):I&16?K&16?pt(E,W,m,b,_,x,D,O,M):Ce(E,_,x,!0):(I&8&&u(m,""),K&16&&$(W,m,b,_,x,D,O,M))},it=(f,h,m,b,_,x,D,O,M)=>{f=f||an,h=h||an;const E=f.length,I=h.length,W=Math.min(E,I);let V;for(V=0;VI?Ce(f,_,x,!0,!1,W):$(h,m,b,_,x,D,O,M,W)},pt=(f,h,m,b,_,x,D,O,M)=>{let E=0;const I=h.length;let W=f.length-1,V=I-1;for(;E<=W&&E<=V;){const K=f[E],Z=h[E]=M?Et(h[E]):et(h[E]);if(Ht(K,Z))w(K,Z,m,null,_,x,D,O,M);else break;E++}for(;E<=W&&E<=V;){const K=f[W],Z=h[V]=M?Et(h[V]):et(h[V]);if(Ht(K,Z))w(K,Z,m,null,_,x,D,O,M);else break;W--,V--}if(E>W){if(E<=V){const K=V+1,Z=KV)for(;E<=W;)$e(f[E],_,x,!0),E++;else{const K=E,Z=E,ue=new Map;for(E=Z;E<=V;E++){const Ne=h[E]=M?Et(h[E]):et(h[E]);Ne.key!=null&&ue.set(Ne.key,E)}let he,_e=0;const Ue=V-Z+1;let Zt=!1,ti=0;const vn=new Array(Ue);for(E=0;E=Ue){$e(Ne,_,x,!0);continue}let Qe;if(Ne.key!=null)Qe=ue.get(Ne.key);else for(he=Z;he<=V;he++)if(vn[he-Z]===0&&Ht(Ne,h[he])){Qe=he;break}Qe===void 0?$e(Ne,_,x,!0):(vn[Qe-Z]=E+1,Qe>=ti?ti=Qe:Zt=!0,w(Ne,h[Qe],m,null,_,x,D,O,M),_e++)}const ni=Zt?Ic(vn):an;for(he=ni.length-1,E=Ue-1;E>=0;E--){const Ne=Z+E,Qe=h[Ne],ri=Ne+1{const{el:x,type:D,transition:O,children:M,shapeFlag:E}=f;if(E&6){Ge(f.component.subTree,h,m,b);return}if(E&128){f.suspense.move(h,m,b);return}if(E&64){D.move(f,h,m,A);return}if(D===we){r(x,h,m);for(let W=0;WO.enter(x),_);else{const{leave:W,delayLeave:V,afterLeave:K}=O,Z=()=>r(x,h,m),ue=()=>{W(x,()=>{Z(),K&&K()})};V?V(x,Z,ue):ue()}else r(x,h,m)},$e=(f,h,m,b=!1,_=!1)=>{const{type:x,props:D,ref:O,children:M,dynamicChildren:E,shapeFlag:I,patchFlag:W,dirs:V}=f;if(O!=null&&as(O,null,m,f,!0),I&256){h.ctx.deactivate(f);return}const K=I&1&&V,Z=!On(f);let ue;if(Z&&(ue=D&&D.onVnodeBeforeUnmount)&&Xe(ue,h,f),I&6)Un(f.component,m,b);else{if(I&128){f.suspense.unmount(m,b);return}K&&Rt(f,null,h,"beforeUnmount"),I&64?f.type.remove(f,h,m,_,A,b):E&&(x!==we||W>0&&W&64)?Ce(E,h,m,!1,!0):(x===we&&W&384||!_&&I&16)&&Ce(M,h,m),b&&Xt(f)}(Z&&(ue=D&&D.onVnodeUnmounted)||K)&&De(()=>{ue&&Xe(ue,h,f),K&&Rt(f,null,h,"unmounted")},m)},Xt=f=>{const{type:h,el:m,anchor:b,transition:_}=f;if(h===we){Jt(m,b);return}if(h===sr){L(f);return}const x=()=>{s(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(f.shapeFlag&1&&_&&!_.persisted){const{leave:D,delayLeave:O}=_,M=()=>D(m,x);O?O(f.el,x,M):M()}else x()},Jt=(f,h)=>{let m;for(;f!==h;)m=p(f),s(f),f=m;s(h)},Un=(f,h,m)=>{const{bum:b,scope:_,update:x,subTree:D,um:O}=f;b&&Ir(b),_.stop(),x&&(x.active=!1,$e(D,f,h,m)),O&&De(O,h),De(()=>{f.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},Ce=(f,h,m,b=!1,_=!1,x=0)=>{for(let D=x;Df.shapeFlag&6?v(f.component.subTree):f.shapeFlag&128?f.suspense.next():p(f.anchor||f.el),j=(f,h,m)=>{f==null?h._vnode&&$e(h._vnode,null,null,!0):w(h._vnode||null,f,h,null,null,null,m),di(),Xo(),h._vnode=f},A={p:w,um:$e,m:Ge,r:Xt,mt:ge,mc:$,pc:ie,pbc:N,n:v,o:e};let H,oe;return t&&([H,oe]=t(A)),{render:j,hydrate:H,createApp:Oc(j,H)}}function Hr({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function It({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Rc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ga(e,t,n=!1){const r=e.children,s=t.children;if(q(r)&&q(s))for(let i=0;i>1,e[n[a]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ya(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ya(t)}const Nc=e=>e.__isTeleport,we=Symbol.for("v-fgt"),Mr=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),sr=Symbol.for("v-stc"),Mn=[];let Ye=null;function Y(e=!1){Mn.push(Ye=e?null:[])}function jc(){Mn.pop(),Ye=Mn[Mn.length-1]||null}let In=1;function Ei(e){In+=e}function ba(e){return e.dynamicChildren=In>0?Ye||an:null,jc(),In>0&&Ye&&Ye.push(e),e}function se(e,t,n,r,s,i){return ba(U(e,t,n,r,s,i,!0))}function ke(e,t,n,r,s){return ba(Q(e,t,n,r,s,!0))}function ur(e){return e?e.__v_isVNode===!0:!1}function Ht(e,t){return e.type===t.type&&e.key===t.key}const Ar="__vInternal",va=({key:e})=>e??null,ir=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||me(e)||X(e)?{i:Te,r:e,k:t,f:!!n}:e:null);function U(e,t=null,n=null,r=0,s=null,i=e===we?0:1,o=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&va(t),ref:t&&ir(t),scopeId:Cr,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:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Te};return a?(Ls(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ye(n)?8:16),In>0&&!o&&Ye&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ye.push(l),l}const Q=Lc;function Lc(e,t=null,n=null,r=0,s=null,i=!1){if((!e||e===tc)&&(e=We),ur(e)){const a=Dt(e,t,!0);return n&&Ls(a,n),In>0&&!i&&Ye&&(a.shapeFlag&6?Ye[Ye.indexOf(e)]=a:Ye.push(a)),a.patchFlag|=-2,a}if(Qc(e)&&(e=e.__vccOpts),t){t=Bc(t);let{class:a,style:l}=t;a&&!ye(a)&&(t.class=nt(a)),fe(l)&&(Vo(l)&&!q(l)&&(l=be({},l)),t.style=_r(l))}const o=ye(e)?1:nc(e)?128:Nc(e)?64:fe(e)?4:X(e)?2:0;return U(e,t,n,r,s,o,i,!0)}function Bc(e){return e?Vo(e)||Ar in e?be({},e):e:null}function Dt(e,t,n=!1){const{props:r,ref:s,patchFlag:i,children:o}=e,a=t?Vc(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&va(a),ref:t&&t.ref?n&&s?q(s)?s.concat(ir(t)):[s,ir(t)]:ir(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?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&&Dt(e.ssContent),ssFallback:e.ssFallback&&Dt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function js(e=" ",t=0){return Q(Mr,null,e,t)}function Hc(e,t){const n=Q(sr,null,e);return n.staticCount=t,n}function rt(e="",t=!1){return t?(Y(),ke(We,null,e)):Q(We,null,e)}function et(e){return e==null||typeof e=="boolean"?Q(We):q(e)?Q(we,null,e.slice()):typeof e=="object"?Et(e):Q(Mr,null,String(e))}function Et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Dt(e)}function Ls(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ls(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Ar in t)?t._ctx=Te:s===3&&Te&&(Te.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else X(t)?(t={default:t,_ctx:Te},n=32):(t=String(t),r&64?(n=16,t=[js(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vc(...e){const t={};for(let n=0;nxe||Te;let Bs,ls;{const e=So(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),i=>{s.length>1?s.forEach(o=>o(i)):s[0](i)}};Bs=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),ls=t("__VUE_SSR_SETTERS__",n=>Pr=n)}const dn=e=>{Bs(e),e.scope.on()},qt=()=>{xe&&xe.scope.off(),Bs(null)};function wa(e){return e.vnode.shapeFlag&4}let Pr=!1;function Yc(e,t=!1){t&&ls(t);const{props:n,children:r}=e.vnode,s=wa(e);Mc(e,n,s,t),kc(e,r);const i=s?zc(e,t):void 0;return t&&ls(!1),i}function zc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=xr(new Proxy(e.ctx,vc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?Gc(e):null;dn(e),Kt();const i=Mt(r,e,0,[e.props,s]);if(Gt(),qt(),_o(i)){if(i.then(qt,qt),t)return i.then(o=>{Si(e,o,t)}).catch(o=>{Er(o,e,0)});e.asyncDep=i}else Si(e,i,t)}else xa(e,t)}function Si(e,t,n){X(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=zo(t)),xa(e,n)}let Ci;function xa(e,t,n){const r=e.type;if(!e.render){if(!t&&Ci&&!r.render){const s=r.template||Is(e).template;if(s){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=be(be({isCustomElement:i,delimiters:a},o),l);r.render=Ci(s,c)}}e.render=r.render||He}{dn(e),Kt();try{_c(e)}finally{Gt(),qt()}}}function Kc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ie(e,"get","$attrs"),t[n]}}))}function Gc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Kc(e)},slots:e.slots,emit:e.emit,expose:t}}function Hs(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zo(xr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Tn)return Tn[n](e)},has(t,n){return n in t||n in Tn}}))}function Qc(e){return X(e)&&"__vccOpts"in e}const Re=(e,t)=>Il(e,t,Pr);function Vs(e,t,n){const r=arguments.length;return r===2?fe(t)&&!q(t)?ur(t)?Q(e,null,[t]):Q(e,t):Q(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ur(n)&&(n=[n]),Q(e,t,n))}const Xc="3.4.3",Jc="http://www.w3.org/2000/svg",Zc="http://www.w3.org/1998/Math/MathML",St=typeof document<"u"?document:null,Oi=St&&St.createElement("template"),eu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?St.createElementNS(Jc,e):t==="mathml"?St.createElementNS(Zc,e):St.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,i){const o=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Oi.innerHTML=r==="svg"?`${e}`:r==="mathml"?`${e}`:e;const a=Oi.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},gt="transition",_n="animation",Nn=Symbol("_vtc"),hn=(e,{slots:t})=>Vs(cc,tu(e),t);hn.displayName="Transition";const Ea={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};hn.props=be({},na,Ea);const Nt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ti=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function tu(e){const t={};for(const R in e)R in Ea||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=o,appearToClass:u=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,y=nu(s),w=y&&y[0],P=y&&y[1],{onBeforeEnter:T,onEnter:C,onEnterCancelled:F,onLeave:L,onLeaveCancelled:k,onBeforeAppear:ee=T,onAppear:z=C,onAppearCancelled:$=F}=t,S=(R,J,ge)=>{jt(R,J?u:a),jt(R,J?c:o),ge&&ge()},N=(R,J)=>{R._isLeaving=!1,jt(R,d),jt(R,g),jt(R,p),J&&J()},B=R=>(J,ge)=>{const ve=R?z:C,ne=()=>S(J,R,ge);Nt(ve,[J,ne]),Mi(()=>{jt(J,R?l:i),yt(J,R?u:a),Ti(ve)||Ai(J,r,w,ne)})};return be(t,{onBeforeEnter(R){Nt(T,[R]),yt(R,i),yt(R,o)},onBeforeAppear(R){Nt(ee,[R]),yt(R,l),yt(R,c)},onEnter:B(!1),onAppear:B(!0),onLeave(R,J){R._isLeaving=!0;const ge=()=>N(R,J);yt(R,d),iu(),yt(R,p),Mi(()=>{R._isLeaving&&(jt(R,d),yt(R,g),Ti(L)||Ai(R,r,P,ge))}),Nt(L,[R,ge])},onEnterCancelled(R){S(R,!1),Nt(F,[R])},onAppearCancelled(R){S(R,!0),Nt($,[R])},onLeaveCancelled(R){N(R),Nt(k,[R])}})}function nu(e){if(e==null)return null;if(fe(e))return[Vr(e.enter),Vr(e.leave)];{const t=Vr(e);return[t,t]}}function Vr(e){return ll(e)}function yt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Nn]||(e[Nn]=new Set)).add(t)}function jt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Nn];n&&(n.delete(t),n.size||(e[Nn]=void 0))}function Mi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let ru=0;function Ai(e,t,n,r){const s=e._endId=++ru,i=()=>{s===e._endId&&r()};if(n)return setTimeout(i,n);const{type:o,timeout:a,propCount:l}=su(e,t);if(!o)return r();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=g=>{g.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[y]||"").split(", "),s=r(`${gt}Delay`),i=r(`${gt}Duration`),o=Pi(s,i),a=r(`${_n}Delay`),l=r(`${_n}Duration`),c=Pi(a,l);let u=null,d=0,p=0;t===gt?o>0&&(u=gt,d=o,p=i.length):t===_n?c>0&&(u=_n,d=c,p=l.length):(d=Math.max(o,c),u=d>0?o>c?gt:_n:null,p=u?u===gt?i.length:l.length:0);const g=u===gt&&/\b(transform|all)(,|$)/.test(r(`${gt}Property`).toString());return{type:u,timeout:d,propCount:p,hasTransform:g}}function Pi(e,t){for(;e.lengthki(n)+ki(e[r])))}function ki(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function iu(){return document.body.offsetHeight}function ou(e,t,n){const r=e[Nn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const au=Symbol("_vod"),lu=Symbol("");function cu(e,t,n){const r=e.style,s=ye(n);if(n&&!s){if(t&&!ye(t))for(const i in t)n[i]==null&&cs(r,i,"");for(const i in n)cs(r,i,n[i])}else{const i=r.display;if(s){if(t!==n){const o=r[lu];o&&(n+=";"+o),r.cssText=n}}else t&&e.removeAttribute("style");au in e&&(r.display=i)}}const $i=/\s*!important$/;function cs(e,t,n){if(q(n))n.forEach(r=>cs(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=uu(e,t);$i.test(n)?e.setProperty(yn(r),n.replace($i,""),"important"):e[r]=n}}const Di=["Webkit","Moz","ms"],Wr={};function uu(e,t){const n=Wr[t];if(n)return n;let r=un(t);if(r!=="filter"&&r in e)return Wr[t]=r;r=Eo(r);for(let s=0;sUr||(yu.then(()=>Ur=0),Ur=Date.now());function vu(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ve(_u(r,n.value),t,5,[r])};return n.value=e,n.attached=bu(),n}function _u(e,t){if(q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Ni=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wu=(e,t,n,r,s,i,o,a,l)=>{const c=s==="svg";t==="class"?ou(e,r,c):t==="style"?cu(e,n,r):yr(t)?ws(t)||mu(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xu(e,t,r,c))?du(e,t,r,i,o,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),fu(e,t,r,c))};function xu(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ni(t)&&X(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ni(t)&&ye(n)?!1:t in e}const Eu=["ctrl","shift","alt","meta"],Su={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)=>Eu.some(n=>e[`${n}Key`]&&!t.includes(n))},Cu=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...i)=>{for(let o=0;o{const t=Tu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Pu(r);if(!s)return;const i=t._component;!X(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,Au(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t};function Au(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Pu(e){return ye(e)?document.querySelector(e):e}var ku=!1;/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let Sa;const kr=e=>Sa=e,Ca=Symbol();function us(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var An;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(An||(An={}));function $u(){const e=Mo(!0),t=e.run(()=>st({}));let n=[],r=[];const s=xr({install(i){kr(s),s._a=i,i.provide(Ca,s),i.config.globalProperties.$pinia=s,r.forEach(o=>n.push(o)),r=[]},use(i){return!this._a&&!ku?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return s}const Oa=()=>{};function Li(e,t,n,r=Oa){e.push(t);const s=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&Ss()&&Ao(s),s}function en(e,...t){e.slice().forEach(n=>{n(...t)})}const Du=e=>e();function fs(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,r)=>e.set(r,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],s=e[n];us(s)&&us(r)&&e.hasOwnProperty(n)&&!me(r)&&!ft(r)?e[n]=fs(s,r):e[n]=r}return e}const Fu=Symbol();function Ru(e){return!us(e)||!e.hasOwnProperty(Fu)}const{assign:_t}=Object;function Iu(e){return!!(me(e)&&e.effect)}function Nu(e,t,n,r){const{state:s,actions:i,getters:o}=t,a=n.state.value[e];let l;function c(){a||(n.state.value[e]=s?s():{});const u=Ll(n.state.value[e]);return _t(u,i,Object.keys(o||{}).reduce((d,p)=>(d[p]=xr(Re(()=>{kr(n);const g=n._s.get(e);return o[p].call(g,g)})),d),{}))}return l=Ta(e,c,t,n,r,!0),l}function Ta(e,t,n={},r,s,i){let o;const a=_t({actions:{}},n),l={deep:!0};let c,u,d=[],p=[],g;const y=r.state.value[e];!i&&!y&&(r.state.value[e]={}),st({});let w;function P($){let S;c=u=!1,typeof $=="function"?($(r.state.value[e]),S={type:An.patchFunction,storeId:e,events:g}):(fs(r.state.value[e],$),S={type:An.patchObject,payload:$,storeId:e,events:g});const N=w=Symbol();bn().then(()=>{w===N&&(c=!0)}),u=!0,en(d,S,r.state.value[e])}const T=i?function(){const{state:S}=n,N=S?S():{};this.$patch(B=>{_t(B,N)})}:Oa;function C(){o.stop(),d=[],p=[],r._s.delete(e)}function F($,S){return function(){kr(r);const N=Array.from(arguments),B=[],R=[];function J(ne){B.push(ne)}function ge(ne){R.push(ne)}en(p,{args:N,name:$,store:k,after:J,onError:ge});let ve;try{ve=S.apply(this&&this.$id===e?this:k,N)}catch(ne){throw en(R,ne),ne}return ve instanceof Promise?ve.then(ne=>(en(B,ne),ne)).catch(ne=>(en(R,ne),Promise.reject(ne))):(en(B,ve),ve)}}const L={_p:r,$id:e,$onAction:Li.bind(null,p),$patch:P,$reset:T,$subscribe($,S={}){const N=Li(d,$,S.detached,()=>B()),B=o.run(()=>At(()=>r.state.value[e],R=>{(S.flush==="sync"?u:c)&&$({storeId:e,type:An.direct,events:g},R)},_t({},l,S)));return N},$dispose:C},k=Yt(L);r._s.set(e,k);const z=(r._a&&r._a.runWithContext||Du)(()=>r._e.run(()=>(o=Mo()).run(t)));for(const $ in z){const S=z[$];if(me(S)&&!Iu(S)||ft(S))i||(y&&Ru(S)&&(me(S)?S.value=y[$]:fs(S,y[$])),r.state.value[e][$]=S);else if(typeof S=="function"){const N=F($,S);z[$]=N,a.actions[$]=S}}return _t(k,z),_t(te(k),z),Object.defineProperty(k,"$state",{get:()=>r.state.value[e],set:$=>{P(S=>{_t(S,$)})}}),r._p.forEach($=>{_t(k,o.run(()=>$({store:k,app:r._a,pinia:r,options:a})))}),y&&i&&n.hydrate&&n.hydrate(k.$state,y),c=!0,u=!0,k}function $r(e,t,n){let r,s;const i=typeof t=="function";typeof e=="string"?(r=e,s=i?n:t):(s=e,r=e.id);function o(a,l){const c=Tc();return a=a||(c?ze(Ca,null):null),a&&kr(a),a=Sa,a._s.has(r)||(i?Ta(r,t,s,a):Nu(r,s,a)),a._s.get(r)}return o.$id=r,o}function Be(e){{e=te(e);const t={};for(const n in e){const r=e[n];(me(r)||ft(r))&&(t[n]=Vl(e,n))}return t}}/*! - * vue-router v4.2.5 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */const rn=typeof window<"u";function ju(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const le=Object.assign;function qr(e,t){const n={};for(const r in t){const s=t[r];n[r]=Ke(s)?s.map(e):e(s)}return n}const Pn=()=>{},Ke=Array.isArray,Lu=/\/$/,Bu=e=>e.replace(Lu,"");function Yr(e,t,n="/"){let r,s={},i="",o="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,a>-1?a:t.length),s=e(i)),a>-1&&(r=r||t.slice(0,a),o=t.slice(a,t.length)),r=Uu(r??t,n),{fullPath:r+(i&&"?")+i+o,path:r,query:s,hash:o}}function Hu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Bi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Vu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&pn(t.matched[r],n.matched[s])&&Ma(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ma(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Wu(e[n],t[n]))return!1;return!0}function Wu(e,t){return Ke(e)?Hi(e,t):Ke(t)?Hi(t,e):e===t}function Hi(e,t){return Ke(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Uu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let i=n.length-1,o,a;for(o=0;o1&&i--;else break;return n.slice(0,i).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var jn;(function(e){e.pop="pop",e.push="push"})(jn||(jn={}));var kn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(kn||(kn={}));function qu(e){if(!e)if(rn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bu(e)}const Yu=/^[^#]+#/;function zu(e,t){return e.replace(Yu,"#")+t}function Ku(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Dr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Gu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Ku(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Vi(e,t){return(history.state?history.state.position-t:-1)+e}const ds=new Map;function Qu(e,t){ds.set(e,t)}function Xu(e){const t=ds.get(e);return ds.delete(e),t}let Ju=()=>location.protocol+"//"+location.host;function Aa(e,t){const{pathname:n,search:r,hash:s}=t,i=e.indexOf("#");if(i>-1){let a=s.includes(e.slice(i))?e.slice(i).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),Bi(l,"")}return Bi(n,e)+r+s}function Zu(e,t,n,r){let s=[],i=[],o=null;const a=({state:p})=>{const g=Aa(e,location),y=n.value,w=t.value;let P=0;if(p){if(n.value=g,t.value=p,o&&o===y){o=null;return}P=w?p.position-w.position:0}else r(g);s.forEach(T=>{T(n.value,y,{delta:P,type:jn.pop,direction:P?P>0?kn.forward:kn.back:kn.unknown})})};function l(){o=n.value}function c(p){s.push(p);const g=()=>{const y=s.indexOf(p);y>-1&&s.splice(y,1)};return i.push(g),g}function u(){const{history:p}=window;p.state&&p.replaceState(le({},p.state,{scroll:Dr()}),"")}function d(){for(const p of i)p();i=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Wi(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Dr():null}}function ef(e){const{history:t,location:n}=window,r={value:Aa(e,n)},s={value:t.state};s.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Ju()+e+l;try{t[u?"replaceState":"pushState"](c,"",p),s.value=c}catch(g){console.error(g),n[u?"replace":"assign"](p)}}function o(l,c){const u=le({},t.state,Wi(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});i(l,u,!0),r.value=l}function a(l,c){const u=le({},s.value,t.state,{forward:l,scroll:Dr()});i(u.current,u,!0);const d=le({},Wi(r.value,l,null),{position:u.position+1},c);i(l,d,!1),r.value=l}return{location:r,state:s,push:a,replace:o}}function tf(e){e=qu(e);const t=ef(e),n=Zu(e,t.state,t.location,t.replace);function r(i,o=!0){o||n.pauseListeners(),history.go(i)}const s=le({location:"",base:e,go:r,createHref:zu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function nf(e){return typeof e=="string"||e&&typeof e=="object"}function Pa(e){return typeof e=="string"||typeof e=="symbol"}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ka=Symbol("");var Ui;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ui||(Ui={}));function mn(e,t){return le(new Error,{type:e,[ka]:!0},t)}function ot(e,t){return e instanceof Error&&ka in e&&(t==null||!!(e.type&t))}const qi="[^/]+?",rf={sensitive:!1,strict:!1,start:!0,end:!0},sf=/[.+*?^${}()[\]/\\]/g;function of(e,t){const n=le({},rf,t),r=[];let s=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;dt.length?t.length===1&&t[0]===80?1:-1:0}function lf(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const cf={type:0,value:""},uf=/[a-zA-Z0-9_]/;function ff(e){if(!e)return[[]];if(e==="/")return[[cf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${c}": ${g}`)}let n=0,r=n;const s=[];let i;function o(){i&&s.push(i),i=[]}let a=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function p(){c+=l}for(;a{o(C)}:Pn}function o(u){if(Pa(u)){const d=r.get(u);d&&(r.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(o),d.alias.forEach(o))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&r.delete(u.record.name),u.children.forEach(o),u.alias.forEach(o))}}function a(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!$a(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!Ki(u)&&r.set(u.record.name,u)}function c(u,d){let p,g={},y,w;if("name"in u&&u.name){if(p=r.get(u.name),!p)throw mn(1,{location:u});w=p.record.name,g=le(zi(d.params,p.keys.filter(C=>!C.optional).map(C=>C.name)),u.params&&zi(u.params,p.keys.map(C=>C.name))),y=p.stringify(g)}else if("path"in u)y=u.path,p=n.find(C=>C.re.test(y)),p&&(g=p.parse(y),w=p.record.name);else{if(p=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!p)throw mn(1,{location:u,currentLocation:d});w=p.record.name,g=le({},d.params,u.params),y=p.stringify(g)}const P=[];let T=p;for(;T;)P.unshift(T.record),T=T.parent;return{name:w,path:y,params:g,matched:P,meta:gf(P)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function zi(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:mf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function mf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Ki(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function gf(e){return e.reduce((t,n)=>le(t,n.meta),{})}function Gi(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function $a(e,t){return t.children.some(n=>n===e||$a(e,n))}const Da=/#/g,yf=/&/g,bf=/\//g,vf=/=/g,_f=/\?/g,Fa=/\+/g,wf=/%5B/g,xf=/%5D/g,Ra=/%5E/g,Ef=/%60/g,Ia=/%7B/g,Sf=/%7C/g,Na=/%7D/g,Cf=/%20/g;function Ws(e){return encodeURI(""+e).replace(Sf,"|").replace(wf,"[").replace(xf,"]")}function Of(e){return Ws(e).replace(Ia,"{").replace(Na,"}").replace(Ra,"^")}function hs(e){return Ws(e).replace(Fa,"%2B").replace(Cf,"+").replace(Da,"%23").replace(yf,"%26").replace(Ef,"`").replace(Ia,"{").replace(Na,"}").replace(Ra,"^")}function Tf(e){return hs(e).replace(vf,"%3D")}function Mf(e){return Ws(e).replace(Da,"%23").replace(_f,"%3F")}function Af(e){return e==null?"":Mf(e).replace(bf,"%2F")}function fr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Pf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;si&&hs(i)):[r&&hs(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function kf(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Ke(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const $f=Symbol(""),Xi=Symbol(""),Us=Symbol(""),qs=Symbol(""),ps=Symbol("");function wn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ct(e,t,n,r,s){const i=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const l=d=>{d===!1?a(mn(4,{from:n,to:t})):d instanceof Error?a(d):nf(d)?a(mn(2,{from:t,to:d})):(i&&r.enterCallbacks[s]===i&&typeof d=="function"&&i.push(d),o())},c=e.call(r&&r.instances[s],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>a(d))})}function zr(e,t,n,r){const s=[];for(const i of e)for(const o in i.components){let a=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(Df(a)){const c=(a.__vccOpts||a)[t];c&&s.push(Ct(c,n,r,i,o))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const u=ju(c)?c.default:c;i.components[o]=u;const p=(u.__vccOpts||u)[t];return p&&Ct(p,n,r,i,o)()}))}}return s}function Df(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ji(e){const t=ze(Us),n=ze(qs),r=Re(()=>t.resolve(G(e.to))),s=Re(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(pn.bind(null,u));if(p>-1)return p;const g=Zi(l[c-2]);return c>1&&Zi(u)===g&&d[d.length-1].path!==g?d.findIndex(pn.bind(null,l[c-2])):p}),i=Re(()=>s.value>-1&&If(n.params,r.value.params)),o=Re(()=>s.value>-1&&s.value===n.matched.length-1&&Ma(n.params,r.value.params));function a(l={}){return Rf(l)?t[G(e.replace)?"replace":"push"](G(e.to)).catch(Pn):Promise.resolve()}return{route:r,href:Re(()=>r.value.href),isActive:i,isExactActive:o,navigate:a}}const Ff=Ee({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ji,setup(e,{slots:t}){const n=Yt(Ji(e)),{options:r}=ze(Us),s=Re(()=>({[eo(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[eo(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Vs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},i)}}}),ms=Ff;function Rf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function If(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Ke(s)||s.length!==r.length||r.some((i,o)=>i!==s[o]))return!1}return!0}function Zi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const eo=(e,t,n)=>e??t??n,Nf=Ee({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=ze(ps),s=Re(()=>e.route||r.value),i=ze(Xi,0),o=Re(()=>{let c=G(i);const{matched:u}=s.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),a=Re(()=>s.value.matched[o.value]);rr(Xi,Re(()=>o.value+1)),rr($f,a),rr(ps,s);const l=st();return At(()=>[l.value,a.value,e.name],([c,u,d],[p,g,y])=>{u&&(u.instances[d]=c,g&&g!==u&&c&&c===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),c&&u&&(!g||!pn(u,g)||!p)&&(u.enterCallbacks[d]||[]).forEach(w=>w(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,d=a.value,p=d&&d.components[u];if(!p)return to(n.default,{Component:p,route:c});const g=d.props[u],y=g?g===!0?c.params:typeof g=="function"?g(c):g:null,P=Vs(p,le({},y,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return to(n.default,{Component:P,route:c})||P}}});function to(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ja=Nf;function jf(e){const t=hf(e.routes,e),n=e.parseQuery||Pf,r=e.stringifyQuery||Qi,s=e.history,i=wn(),o=wn(),a=wn(),l=qo(bt);let c=bt;rn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=qr.bind(null,v=>""+v),d=qr.bind(null,Af),p=qr.bind(null,fr);function g(v,j){let A,H;return Pa(v)?(A=t.getRecordMatcher(v),H=j):H=v,t.addRoute(H,A)}function y(v){const j=t.getRecordMatcher(v);j&&t.removeRoute(j)}function w(){return t.getRoutes().map(v=>v.record)}function P(v){return!!t.getRecordMatcher(v)}function T(v,j){if(j=le({},j||l.value),typeof v=="string"){const m=Yr(n,v,j.path),b=t.resolve({path:m.path},j),_=s.createHref(m.fullPath);return le(m,b,{params:p(b.params),hash:fr(m.hash),redirectedFrom:void 0,href:_})}let A;if("path"in v)A=le({},v,{path:Yr(n,v.path,j.path).path});else{const m=le({},v.params);for(const b in m)m[b]==null&&delete m[b];A=le({},v,{params:d(m)}),j.params=d(j.params)}const H=t.resolve(A,j),oe=v.hash||"";H.params=u(p(H.params));const f=Hu(r,le({},v,{hash:Of(oe),path:H.path})),h=s.createHref(f);return le({fullPath:f,hash:oe,query:r===Qi?kf(v.query):v.query||{}},H,{redirectedFrom:void 0,href:h})}function C(v){return typeof v=="string"?Yr(n,v,l.value.path):le({},v)}function F(v,j){if(c!==v)return mn(8,{from:j,to:v})}function L(v){return z(v)}function k(v){return L(le(C(v),{replace:!0}))}function ee(v){const j=v.matched[v.matched.length-1];if(j&&j.redirect){const{redirect:A}=j;let H=typeof A=="function"?A(v):A;return typeof H=="string"&&(H=H.includes("?")||H.includes("#")?H=C(H):{path:H},H.params={}),le({query:v.query,hash:v.hash,params:"path"in H?{}:v.params},H)}}function z(v,j){const A=c=T(v),H=l.value,oe=v.state,f=v.force,h=v.replace===!0,m=ee(A);if(m)return z(le(C(m),{state:typeof m=="object"?le({},oe,m.state):oe,force:f,replace:h}),j||A);const b=A;b.redirectedFrom=j;let _;return!f&&Vu(r,H,A)&&(_=mn(16,{to:b,from:H}),Ge(H,H,!0,!1)),(_?Promise.resolve(_):N(b,H)).catch(x=>ot(x)?ot(x,2)?x:pt(x):ie(x,b,H)).then(x=>{if(x){if(ot(x,2))return z(le({replace:h},C(x.to),{state:typeof x.to=="object"?le({},oe,x.to.state):oe,force:f}),j||b)}else x=R(b,H,!0,h,oe);return B(b,H,x),x})}function $(v,j){const A=F(v,j);return A?Promise.reject(A):Promise.resolve()}function S(v){const j=Jt.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(v):v()}function N(v,j){let A;const[H,oe,f]=Lf(v,j);A=zr(H.reverse(),"beforeRouteLeave",v,j);for(const m of H)m.leaveGuards.forEach(b=>{A.push(Ct(b,v,j))});const h=$.bind(null,v,j);return A.push(h),Ce(A).then(()=>{A=[];for(const m of i.list())A.push(Ct(m,v,j));return A.push(h),Ce(A)}).then(()=>{A=zr(oe,"beforeRouteUpdate",v,j);for(const m of oe)m.updateGuards.forEach(b=>{A.push(Ct(b,v,j))});return A.push(h),Ce(A)}).then(()=>{A=[];for(const m of f)if(m.beforeEnter)if(Ke(m.beforeEnter))for(const b of m.beforeEnter)A.push(Ct(b,v,j));else A.push(Ct(m.beforeEnter,v,j));return A.push(h),Ce(A)}).then(()=>(v.matched.forEach(m=>m.enterCallbacks={}),A=zr(f,"beforeRouteEnter",v,j),A.push(h),Ce(A))).then(()=>{A=[];for(const m of o.list())A.push(Ct(m,v,j));return A.push(h),Ce(A)}).catch(m=>ot(m,8)?m:Promise.reject(m))}function B(v,j,A){a.list().forEach(H=>S(()=>H(v,j,A)))}function R(v,j,A,H,oe){const f=F(v,j);if(f)return f;const h=j===bt,m=rn?history.state:{};A&&(H||h?s.replace(v.fullPath,le({scroll:h&&m&&m.scroll},oe)):s.push(v.fullPath,oe)),l.value=v,Ge(v,j,A,h),pt()}let J;function ge(){J||(J=s.listen((v,j,A)=>{if(!Un.listening)return;const H=T(v),oe=ee(H);if(oe){z(le(oe,{replace:!0}),H).catch(Pn);return}c=H;const f=l.value;rn&&Qu(Vi(f.fullPath,A.delta),Dr()),N(H,f).catch(h=>ot(h,12)?h:ot(h,2)?(z(h.to,H).then(m=>{ot(m,20)&&!A.delta&&A.type===jn.pop&&s.go(-1,!1)}).catch(Pn),Promise.reject()):(A.delta&&s.go(-A.delta,!1),ie(h,H,f))).then(h=>{h=h||R(H,f,!1),h&&(A.delta&&!ot(h,8)?s.go(-A.delta,!1):A.type===jn.pop&&ot(h,20)&&s.go(-1,!1)),B(H,f,h)}).catch(Pn)}))}let ve=wn(),ne=wn(),ce;function ie(v,j,A){pt(v);const H=ne.list();return H.length?H.forEach(oe=>oe(v,j,A)):console.error(v),Promise.reject(v)}function it(){return ce&&l.value!==bt?Promise.resolve():new Promise((v,j)=>{ve.add([v,j])})}function pt(v){return ce||(ce=!v,ge(),ve.list().forEach(([j,A])=>v?A(v):j()),ve.reset()),v}function Ge(v,j,A,H){const{scrollBehavior:oe}=e;if(!rn||!oe)return Promise.resolve();const f=!A&&Xu(Vi(v.fullPath,0))||(H||!A)&&history.state&&history.state.scroll||null;return bn().then(()=>oe(v,j,f)).then(h=>h&&Gu(h)).catch(h=>ie(h,v,j))}const $e=v=>s.go(v);let Xt;const Jt=new Set,Un={currentRoute:l,listening:!0,addRoute:g,removeRoute:y,hasRoute:P,getRoutes:w,resolve:T,options:e,push:L,replace:k,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:i.add,beforeResolve:o.add,afterEach:a.add,onError:ne.add,isReady:it,install(v){const j=this;v.component("RouterLink",ms),v.component("RouterView",ja),v.config.globalProperties.$router=j,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>G(l)}),rn&&!Xt&&l.value===bt&&(Xt=!0,L(s.location).catch(oe=>{}));const A={};for(const oe in bt)Object.defineProperty(A,oe,{get:()=>l.value[oe],enumerable:!0});v.provide(Us,j),v.provide(qs,Ho(A)),v.provide(ps,l);const H=v.unmount;Jt.add(v),v.unmount=function(){Jt.delete(v),Jt.size<1&&(c=bt,J&&J(),J=null,l.value=bt,Xt=!1,ce=!1),H()}}};function Ce(v){return v.reduce((j,A)=>j.then(()=>S(A)),Promise.resolve())}return Un}function Lf(e,t){const n=[],r=[],s=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;opn(c,a))?r.push(a):n.push(a));const l=e.matched[o];l&&(t.matched.find(c=>pn(c,l))||s.push(l))}return[n,r,s]}function Bf(){return ze(qs)}function Hf(e){return Ss()?(Ao(e),!0):!1}function Ys(e){return typeof e=="function"?e():G(e)}const Vf=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Wf=Object.prototype.toString,Uf=e=>Wf.call(e)==="[object Object]",qf=()=>{};function Yf(e,t){function n(...r){return new Promise((s,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(i)})}return n}const La=e=>e();function zf(e=La){const t=st(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...i)=>{t.value&&e(...i)};return{isActive:Ps(t),pause:n,resume:r,eventFilter:s}}function Kf(e){return e||_a()}function Gf(e,t,n={}){const{eventFilter:r=La,...s}=n;return At(e,Yf(r,t),s)}function Qf(e,t,n={}){const{eventFilter:r,...s}=n,{eventFilter:i,pause:o,resume:a,isActive:l}=zf(r);return{stop:Gf(e,t,{...s,eventFilter:i}),pause:o,resume:a,isActive:l}}function Xf(e,t=!0,n){Kf()?Hn(e,n):t?e():bn(e)}function Jf(e){var t;const n=Ys(e);return(t=n==null?void 0:n.$el)!=null?t:n}const dr=Vf?window:void 0;function no(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=dr):[t,n,r,s]=e,!t)return qf;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],o=()=>{i.forEach(u=>u()),i.length=0},a=(u,d,p,g)=>(u.addEventListener(d,p,g),()=>u.removeEventListener(d,p,g)),l=At(()=>[Jf(t),Ys(s)],([u,d])=>{if(o(),!u)return;const p=Uf(d)?{...d}:d;i.push(...n.flatMap(g=>r.map(y=>a(u,g,y,p))))},{immediate:!0,flush:"post"}),c=()=>{l(),o()};return Hf(c),c}const Jn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zn="__vueuse_ssr_handlers__",Zf=ed();function ed(){return Zn in Jn||(Jn[Zn]=Jn[Zn]||{}),Jn[Zn]}function td(e,t){return Zf[e]||t}function nd(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const rd={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},ro="vueuse-storage";function sd(e,t,n,r={}){var s;const{flush:i="pre",deep:o=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=dr,eventFilter:p,onError:g=S=>{console.error(S)},initOnMounted:y}=r,w=(u?qo:st)(typeof t=="function"?t():t);if(!n)try{n=td("getDefaultStorage",()=>{var S;return(S=dr)==null?void 0:S.localStorage})()}catch(S){g(S)}if(!n)return w;const P=Ys(t),T=nd(P),C=(s=r.serializer)!=null?s:rd[T],{pause:F,resume:L}=Qf(w,()=>k(w.value),{flush:i,deep:o,eventFilter:p});return d&&a&&Xf(()=>{no(d,"storage",$),no(d,ro,z),y&&$()}),y||$(),w;function k(S){try{if(S==null)n.removeItem(e);else{const N=C.write(S),B=n.getItem(e);B!==N&&(n.setItem(e,N),d&&d.dispatchEvent(new CustomEvent(ro,{detail:{key:e,oldValue:B,newValue:N,storageArea:n}})))}}catch(N){g(N)}}function ee(S){const N=S?S.newValue:n.getItem(e);if(N==null)return l&&P!=null&&n.setItem(e,C.write(P)),P;if(!S&&c){const B=C.read(N);return typeof c=="function"?c(B,P):T==="object"&&!Array.isArray(B)?{...P,...B}:B}else return typeof N!="string"?N:C.read(N)}function z(S){$(S.detail)}function $(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){w.value=P;return}if(!(S&&S.key!==e)){F();try{(S==null?void 0:S.newValue)!==C.write(w.value)&&(w.value=ee(S))}catch(N){g(N)}finally{S?bn(L):L()}}}}}function hr(e,t,n={}){const{window:r=dr}=n;return sd(e,t,r==null?void 0:r.localStorage,n)}const zs=$r("common",{state:()=>({lastCalendarUpdateDate:hr("budget.it:lastUpdateDate",""),isAddExpenseInputVisible:!1}),actions:{setLastUpdateDate(e){this.lastCalendarUpdateDate=e},showAddExpenseInput(){this.isAddExpenseInputVisible=!0},hideAddExpenseInput(){this.isAddExpenseInputVisible=!1}}});function Me(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function zt(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}const Ba=6048e5,id=864e5;let od={};function Fr(){return od}function Ln(e,t){var a,l,c,u;const n=Fr(),r=(t==null?void 0:t.weekStartsOn)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,s=Me(e),i=s.getDay(),o=(i=s.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function so(e){const t=Me(e);return t.setHours(0,0,0,0),t}function io(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function ad(e,t){const n=so(e),r=so(t),s=n.getTime()-io(n),i=r.getTime()-io(r);return Math.round((s-i)/id)}function ld(e){const t=Ha(e),n=zt(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),pr(n)}function cd(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function ud(e){if(!cd(e)&&typeof e!="number")return!1;const t=Me(e);return!isNaN(Number(t))}function fd(e){const t=Me(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function dd(e,t){const n=Me(e.start),r=Me(e.end);let s=+n>+r;const i=s?+n:+r,o=s?r:n;o.setHours(0,0,0,0);let a=(t==null?void 0:t.step)??1;if(!a)return[];a<0&&(a=-a,s=!s);const l=[];for(;+o<=i;)l.push(Me(o)),o.setDate(o.getDate()+a),o.setHours(0,0,0,0);return s?l.reverse():l}function hd(e){const t=Me(e);return t.setDate(1),t.setHours(0,0,0,0),t}function pd(e){const t=Me(e),n=zt(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}const md={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},gd=(e,t,n)=>{let r;const s=md[e];return typeof s=="string"?r=s:t===1?r=s.one:r=s.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function Kr(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const yd={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},bd={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vd={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},_d={date:Kr({formats:yd,defaultWidth:"full"}),time:Kr({formats:bd,defaultWidth:"full"}),dateTime:Kr({formats:vd,defaultWidth:"full"})},wd={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},xd=(e,t,n,r)=>wd[e];function xn(e){return(t,n)=>{const r=n!=null&&n.context?String(n.context):"standalone";let s;if(r==="formatting"&&e.formattingValues){const o=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):o;s=e.formattingValues[a]||e.formattingValues[o]}else{const o=e.defaultWidth,a=n!=null&&n.width?String(n.width):e.defaultWidth;s=e.values[a]||e.values[o]}const i=e.argumentCallback?e.argumentCallback(t):t;return s[i]}}const Ed={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Sd={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Cd={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Od={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Td={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Md={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Ad=(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Pd={ordinalNumber:Ad,era:xn({values:Ed,defaultWidth:"wide"}),quarter:xn({values:Sd,defaultWidth:"wide",argumentCallback:e=>e-1}),month:xn({values:Cd,defaultWidth:"wide"}),day:xn({values:Od,defaultWidth:"wide"}),dayPeriod:xn({values:Td,defaultWidth:"wide",formattingValues:Md,defaultFormattingWidth:"wide"})};function En(e){return(t,n={})=>{const r=n.width,s=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(s);if(!i)return null;const o=i[0],a=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(a)?$d(a,d=>d.test(o)):kd(a,d=>d.test(o));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(o.length);return{value:c,rest:u}}}function kd(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function $d(e,t){for(let n=0;n{const r=t.match(e.matchPattern);if(!r)return null;const s=r[0],i=t.match(e.parsePattern);if(!i)return null;let o=e.valueCallback?e.valueCallback(i[0]):i[0];o=n.valueCallback?n.valueCallback(o):o;const a=t.slice(s.length);return{value:o,rest:a}}}const Fd=/^(\d+)(th|st|nd|rd)?/i,Rd=/\d+/i,Id={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Nd={any:[/^b/i,/^(a|c)/i]},jd={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Ld={any:[/1/i,/2/i,/3/i,/4/i]},Bd={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Hd={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vd={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Wd={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Ud={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qd={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Yd={ordinalNumber:Dd({matchPattern:Fd,parsePattern:Rd,valueCallback:e=>parseInt(e,10)}),era:En({matchPatterns:Id,defaultMatchWidth:"wide",parsePatterns:Nd,defaultParseWidth:"any"}),quarter:En({matchPatterns:jd,defaultMatchWidth:"wide",parsePatterns:Ld,defaultParseWidth:"any",valueCallback:e=>e+1}),month:En({matchPatterns:Bd,defaultMatchWidth:"wide",parsePatterns:Hd,defaultParseWidth:"any"}),day:En({matchPatterns:Vd,defaultMatchWidth:"wide",parsePatterns:Wd,defaultParseWidth:"any"}),dayPeriod:En({matchPatterns:Ud,defaultMatchWidth:"any",parsePatterns:qd,defaultParseWidth:"any"})},zd={code:"en-US",formatDistance:gd,formatLong:_d,formatRelative:xd,localize:Pd,match:Yd,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Kd(e){const t=Me(e);return ad(t,pd(t))+1}function Gd(e){const t=Me(e),n=pr(t).getTime()-ld(t).getTime();return Math.round(n/Ba)+1}function Va(e,t){var u,d,p,g;const n=Me(e),r=n.getFullYear(),s=Fr(),i=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??s.firstWeekContainsDate??((g=(p=s.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,o=zt(e,0);o.setFullYear(r+1,0,i),o.setHours(0,0,0,0);const a=Ln(o,t),l=zt(e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const c=Ln(l,t);return n.getTime()>=a.getTime()?r+1:n.getTime()>=c.getTime()?r:r-1}function Qd(e,t){var a,l,c,u;const n=Fr(),r=(t==null?void 0:t.firstWeekContainsDate)??((l=(a=t==null?void 0:t.locale)==null?void 0:a.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,s=Va(e,t),i=zt(e,0);return i.setFullYear(s,0,r),i.setHours(0,0,0,0),Ln(i,t)}function Xd(e,t){const n=Me(e),r=Ln(n,t).getTime()-Qd(n,t).getTime();return Math.round(r/Ba)+1}function ae(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}const vt={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return ae(t==="yy"?r%100:r,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ae(n+1,2)},d(e,t){return ae(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ae(e.getHours()%12||12,t.length)},H(e,t){return ae(e.getHours(),t.length)},m(e,t){return ae(e.getMinutes(),t.length)},s(e,t){return ae(e.getSeconds(),t.length)},S(e,t){const n=t.length,r=e.getMilliseconds(),s=Math.floor(r*Math.pow(10,n-3));return ae(s,t.length)}},tn={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Jd={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const r=e.getFullYear(),s=r>0?r:1-r;return n.ordinalNumber(s,{unit:"year"})}return vt.y(e,t)},Y:function(e,t,n,r){const s=Va(e,r),i=s>0?s:1-s;if(t==="YY"){const o=i%100;return ae(o,2)}return t==="Yo"?n.ordinalNumber(i,{unit:"year"}):ae(i,t.length)},R:function(e,t){const n=Ha(e);return ae(n,t.length)},u:function(e,t){const n=e.getFullYear();return ae(n,t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return ae(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return ae(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return vt.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return ae(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const s=Xd(e,r);return t==="wo"?n.ordinalNumber(s,{unit:"week"}):ae(s,t.length)},I:function(e,t,n){const r=Gd(e);return t==="Io"?n.ordinalNumber(r,{unit:"week"}):ae(r,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):vt.d(e,t)},D:function(e,t,n){const r=Kd(e);return t==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):ae(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return ae(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(s,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(s,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(s,{width:"short",context:"formatting"});case"eeee":default:return n.day(s,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const s=e.getDay(),i=(s-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return ae(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(s,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(s,{width:"narrow",context:"standalone"});case"cccccc":return n.day(s,{width:"short",context:"standalone"});case"cccc":default:return n.day(s,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),s=r===0?7:r;switch(t){case"i":return String(s);case"ii":return ae(s,t.length);case"io":return n.ordinalNumber(s,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const s=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let s;switch(r===12?s=tn.noon:r===0?s=tn.midnight:s=r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let s;switch(r>=17?s=tn.evening:r>=12?s=tn.afternoon:r>=4?s=tn.morning:s=tn.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(s,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(s,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(s,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let r=e.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return vt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):vt.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return t==="Ko"?n.ordinalNumber(r,{unit:"hour"}):ae(r,t.length)},k:function(e,t,n){let r=e.getHours();return r===0&&(r=24),t==="ko"?n.ordinalNumber(r,{unit:"hour"}):ae(r,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):vt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):vt.s(e,t)},S:function(e,t){return vt.S(e,t)},X:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return ao(i);case"XXXX":case"XX":return Lt(i);case"XXXXX":case"XXX":default:return Lt(i,":")}},x:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return ao(i);case"xxxx":case"xx":return Lt(i);case"xxxxx":case"xxx":default:return Lt(i,":")}},O:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+oo(i,":");case"OOOO":default:return"GMT"+Lt(i,":")}},z:function(e,t,n,r){const i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+oo(i,":");case"zzzz":default:return"GMT"+Lt(i,":")}},t:function(e,t,n,r){const s=r._originalDate||e,i=Math.floor(s.getTime()/1e3);return ae(i,t.length)},T:function(e,t,n,r){const i=(r._originalDate||e).getTime();return ae(i,t.length)}};function oo(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=Math.floor(r/60),i=r%60;return i===0?n+String(s):n+String(s)+t+ae(i,2)}function ao(e,t){return e%60===0?(e>0?"-":"+")+ae(Math.abs(e)/60,2):Lt(e,t)}function Lt(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),s=ae(Math.floor(r/60),2),i=ae(r%60,2);return n+s+t+i}const lo=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Wa=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Zd=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return lo(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;case"PPPP":default:i=t.dateTime({width:"full"});break}return i.replace("{{date}}",lo(r,t)).replace("{{time}}",Wa(s,t))},eh={p:Wa,P:Zd},th=["D","DD"],nh=["YY","YYYY"];function rh(e){return th.indexOf(e)!==-1}function sh(e){return nh.indexOf(e)!==-1}function co(e,t,n){if(e==="YYYY")throw new RangeError(`Use \`yyyy\` instead of \`YYYY\` (in \`${t}\`) for formatting years to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="YY")throw new RangeError(`Use \`yy\` instead of \`YY\` (in \`${t}\`) for formatting years to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="D")throw new RangeError(`Use \`d\` instead of \`D\` (in \`${t}\`) for formatting days of the month to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`);if(e==="DD")throw new RangeError(`Use \`dd\` instead of \`DD\` (in \`${t}\`) for formatting days of the month to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`)}const ih=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,oh=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ah=/^'([^]*?)'?$/,lh=/''/g,ch=/[a-zA-Z]/;function Je(e,t,n){var u,d,p,g,y,w,P,T;const r=Fr(),s=(n==null?void 0:n.locale)??r.locale??zd,i=(n==null?void 0:n.firstWeekContainsDate)??((d=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((g=(p=r.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,o=(n==null?void 0:n.weekStartsOn)??((w=(y=n==null?void 0:n.locale)==null?void 0:y.options)==null?void 0:w.weekStartsOn)??r.weekStartsOn??((T=(P=r.locale)==null?void 0:P.options)==null?void 0:T.weekStartsOn)??0,a=Me(e);if(!ud(a))throw new RangeError("Invalid time value");const l={firstWeekContainsDate:i,weekStartsOn:o,locale:s,_originalDate:a};return t.match(oh).map(function(C){const F=C[0];if(F==="p"||F==="P"){const L=eh[F];return L(C,s.formatLong)}return C}).join("").match(ih).map(function(C){if(C==="''")return"'";const F=C[0];if(F==="'")return uh(C);const L=Jd[F];if(L)return!(n!=null&&n.useAdditionalWeekYearTokens)&&sh(C)&&co(C,t,String(e)),!(n!=null&&n.useAdditionalDayOfYearTokens)&&rh(C)&&co(C,t,String(e)),L(a,C,s.localize,l);if(F.match(ch))throw new RangeError("Format string contains an unescaped latin alphabet character `"+F+"`");return C}).join("")}function uh(e){const t=e.match(ah);return t?t[1].replace(lh,"'"):e}function fh(e){return+Me(e){const r=hd(n.monthString),s=fd(n.monthString),o=dd({start:r,end:s}).map(a=>({id:Je(a,"ddMMyyyy"),monthId:n.id,number:Je(a,"d"),name:Je(a,"EEEE"),isCurrent:Je(a,"d_MMMM")===Je(new Date,"d_MMMM"),isPast:fh(a)&&Je(a,"d_MMMM")!==Je(new Date,"d_MMMM")}));t.push(...o)}),t.reverse()}function dh(){const e=new Date,t={hour:"numeric",minute:"numeric"};return new Intl.DateTimeFormat("ru",t).format(e)}const Vt=$r("calendar",{state:()=>({months:[],days:[],shouldGenerateNextMonth:!1}),getters:{getDaysByMonthId:e=>t=>e.days.filter(n=>n.monthId===t),getCurrentMonth:e=>e.months.find(t=>t.isCurrent),getCurrentDay:e=>e.days.find(t=>t.isCurrent)},actions:{initCalendar(){const e=uo(5),t=fo(e),n=Number(t[t.length-25].id),r=Number(Je(new Date,"ddMMyyyy"));this.shouldGenerateNextMonth=r>n;const s=this.shouldGenerateNextMonth?uo(0,1):[],i=this.shouldGenerateNextMonth?fo(s):[];this.months=[...s,...e],this.days=[...i,...t]}}});let er;const hh=new Uint8Array(16);function ph(){if(!er&&(er=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!er))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return er(hh)}const Se=[];for(let e=0;e<256;++e)Se.push((e+256).toString(16).slice(1));function mh(e,t=0){return Se[e[t+0]]+Se[e[t+1]]+Se[e[t+2]]+Se[e[t+3]]+"-"+Se[e[t+4]]+Se[e[t+5]]+"-"+Se[e[t+6]]+Se[e[t+7]]+"-"+Se[e[t+8]]+Se[e[t+9]]+"-"+Se[e[t+10]]+Se[e[t+11]]+Se[e[t+12]]+Se[e[t+13]]+Se[e[t+14]]+Se[e[t+15]]}const gh=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),ho={randomUUID:gh};function yh(e,t,n){if(ho.randomUUID&&!t&&!e)return ho.randomUUID();e=e||{};const r=e.random||(e.rng||ph)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){n=n||0;for(let s=0;s<16;++s)t[n+s]=r[s];return t}return mh(r)}const Ks=$r("expenses",{state:()=>({expenses:hr("budget.it:expenses",{})}),getters:{getMonthlyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.monthId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)},getDailyExpenses:e=>t=>{const n=[];return Object.keys(e.expenses).forEach(s=>{if(!e.expenses[s].items.length)return;const i=e.expenses[s].items.filter(o=>o.dayId===t);return n.push(...i)}),n.reduce((s,i)=>s+Number(i.value),0)}},actions:{initExpensesObject(){const{shouldGenerateNextMonth:e}=Be(Vt());(e||!this.expenses||Object.keys(this.expenses).length===0)&&this.createExpensesByDayObject(),this.checkAndCleanupExpensesByDayObject()},createExpensesByDayObject(){const{days:e}=Be(Vt());e.value.forEach(t=>{this.expenses[t.id]||(this.expenses[t.id]={items:[]})})},addExpense(e){var s,i;const{getCurrentDay:t}=Be(Vt()),{getActiveCurrency:n}=Be(Vn()),r={id:yh(),value:e,currency:n.value.name,createdAt:dh(),monthId:((s=t.value)==null?void 0:s.monthId)||"",dayId:((i=t.value)==null?void 0:i.id)||""};this.expenses[r.dayId].items.push(r)},removeExpense(e,t){this.expenses[t].items=this.expenses[t].items.filter(n=>n.id!==e)},checkAndCleanupExpensesByDayObject(){const{months:e}=Be(Vt()),t=e.value.map(n=>n.id);for(const n in this.expenses)t.includes(n.substring(2))||delete this.expenses[n]}}}),Vn=$r("settings",{state:()=>({currencies:hr("budget.it:currencies",[{name:"$",isActive:!0,isDefault:!0},{name:"€",isActive:!1,isDefault:!0},{name:"₽",isActive:!1,isDefault:!0},{name:"฿",isActive:!1,isDefault:!0},{name:"¥",isActive:!1,isDefault:!0}]),dailyBudget:hr("budget.it:daily",500)}),getters:{getActiveCurrency(e){return e.currencies.filter(t=>t.isActive)[0]}},actions:{setActiveCurrency(e){this.currencies=this.currencies.map(t=>(t.isActive=t.name===e,t))},setDailyBudget(e){this.dailyBudget=e},addNewCurrency(e){this.currencies.push({name:e,isActive:!1,isDefault:!1})},deleteCurrency(e){this.currencies=this.currencies.filter(t=>t.name!==e)}}}),bh="data:image/svg+xml,%3csvg%20width='98'%20height='96'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%2324292f'/%3e%3c/svg%3e",vh="0.6.6-beta",Ua=e=>(Gl("data-v-241fb166"),e=e(),Ql(),e),_h={class:"sticky top-0 w-full bg-white z-[100]"},wh={class:"container mx-auto px-5 py-3 flex items-center justify-between select-none"},xh={class:"flex items-center"},Eh={href:"/budget.it/",class:"flex items-baseline font-bold"},Sh=Ua(()=>U("div",{class:"logo-gradient gradient-animation text-lg lg:text-2xl"},"budget.it",-1)),Ch={class:"logo-sub-gradient gradient-animation text-xs ml-2 bottom-0"},Oh=Ua(()=>U("a",{href:"https://github.com/begprod/budget.it",target:"_blank",class:"select-none"},[U("img",{src:bh,class:"w-7 opacity-80 hover:opacity-100 transition-all duration-300",width:"40",height:"40",alt:"budget.it github"})],-1)),Th=Ee({__name:"BaseHeader",setup(e){return(t,n)=>(Y(),se("header",_h,[U("div",wh,[U("div",xh,[U("a",Eh,[Sh,U("sub",Ch," v"+Pe(G(vh)),1)])]),Oh])]))}}),Ft=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Mh=Ft(Th,[["__scopeId","data-v-241fb166"]]),Ah={},Ph={class:"w-full bg-white select-none"},kh=Hc('',1),$h=[kh];function Dh(e,t){return Y(),se("footer",Ph,$h)}const Fh=Ft(Ah,[["render",Dh]]);function Rh(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M2.25 18.75a60.07 60.07 0 0 1 15.797 2.101c.727.198 1.453-.342 1.453-1.096V18.75M3.75 4.5v.75A.75.75 0 0 1 3 6h-.75m0 0v-.375c0-.621.504-1.125 1.125-1.125H20.25M2.25 6v9m18-10.5v.75c0 .414.336.75.75.75h.75m-1.5-1.5h.375c.621 0 1.125.504 1.125 1.125v9.75c0 .621-.504 1.125-1.125 1.125h-.375m1.5-1.5H21a.75.75 0 0 0-.75.75v.75m0 0H3.75m0 0h-.375a1.125 1.125 0 0 1-1.125-1.125V15m1.5 1.5v-.75A.75.75 0 0 0 3 15h-.75M15 10.5a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm3 0h.008v.008H18V10.5Zm-12 0h.008v.008H6V10.5Z"})])}function Ih(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function Nh(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"})])}function jh(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m2.25 12 8.954-8.955c.44-.439 1.152-.439 1.591 0L21.75 12M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})])}function Lh(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M16.5 10.5V6.75a4.5 4.5 0 1 0-9 0v3.75m-.75 11.25h10.5a2.25 2.25 0 0 0 2.25-2.25v-6.75a2.25 2.25 0 0 0-2.25-2.25H6.75a2.25 2.25 0 0 0-2.25 2.25v6.75a2.25 2.25 0 0 0 2.25 2.25Z"})])}function Bh(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 4.5v15m7.5-7.5h-15"})])}function Hh(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m9.75 9.75 4.5 4.5m0-4.5-4.5 4.5M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"})])}function qa(e,t){return Y(),se("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[U("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18 18 6M6 6l12 12"})])}const Vh=["type","title","disabled"],Bn=Ee({__name:"BaseButton",props:{type:{default:"button"},title:{},isDisabled:{type:Boolean}},emits:["click"],setup(e,{emit:t}){const n=t,r=()=>{n("click")};return(s,i)=>(Y(),se("button",{class:"flex items-center justify-center px-3 py-2 w-full text-sm text-sky-400 bg-white border border-slate-300 rounded-xl focus:outline-none lg:hover:bg-sky-500 lg:hover:text-white disabled:opacity-50 disabled:bg-slate-300 transition-[background-color]",type:s.type,title:s.title,disabled:s.isDisabled,onClick:r},[Pt(s.$slots,"leftIcon"),Pt(s.$slots,"text"),Pt(s.$slots,"rightIcon")],8,Vh))}}),Wh={class:"text-slate-700 font-bold opacity-60 select-none"},Uh=Ee({__name:"BaseProgressBar",props:{label:{},percentage:{},showTotal:{type:Boolean}},setup(e){const t=e,n=Re(()=>({"progress-bar_overfilled":t.percentage>=100,"progress-bar_total":t.showTotal}));return(r,s)=>(Y(),se("div",{class:nt(["progress-bar relative flex items-center justify-center h-6 text-xs lg:text-sm text-slate-700 bg-white rounded-md overflow-hidden",n.value])},[U("div",{class:"progress-bar__background absolute top-0 left-0 w-full h-full",style:_r({"background-size":`${r.percentage}%`})},null,4),U("span",Wh,Pe(r.label),1)],2))}}),qh=Ft(Uh,[["__scopeId","data-v-ae6b84b5"]]),Yh={class:"fixed right-0 bottom-0 left-0 w-full z-[100]"},zh={key:0,class:"container mx-auto px-5"},Kh={class:"px-6 py-5 bg-white border-t border-slate-200"},Gh={class:"max-w-96 flex justify-around mx-auto"},Qh=Ee({__name:"BaseMenuBar",setup(e){const t=Bf(),n=zs(),r=Vn(),s=Vt(),i=Ks(),{showAddExpenseInput:o}=n,{getCurrentMonth:a,getDaysByMonthId:l}=s,{getMonthlyExpenses:c}=i,{dailyBudget:u}=Be(r),d=()=>{o(),bn(()=>{const y=document.getElementById("expense-input");y==null||y.focus()})},p=y=>{if(y===void 0)return 0;const w=c(y);return w>l(y).length*u.value?100:w/(l(y).length*u.value)*100},g=y=>y===void 0?"":`${c(y)} / ${l(y).length*u.value}`;return(y,w)=>{var P,T,C;return Y(),se("div",Yh,[G(t).name==="home"?(Y(),se("div",zh,[Q(Bn,{class:"mb-2 shadow-md",onClick:d},{text:de(()=>[js(" Add expense ")]),rightIcon:de(()=>[Q(G(Rh),{class:"w-5 h-5 ml-2"})]),_:1}),Q(qh,{class:"mb-2 shadow-md",label:`${(P=G(a))==null?void 0:P.name} – ${g((T=G(a))==null?void 0:T.id)}`,percentage:p((C=G(a))==null?void 0:C.id)},null,8,["label","percentage"])])):rt("",!0),U("div",Kh,[U("div",Gh,[Q(G(ms),{to:"/"},{default:de(()=>[Q(G(jh),{class:"w-6 h-6 text-slate-400"})]),_:1}),Q(G(ms),{to:"/settings"},{default:de(()=>[Q(G(Nh),{class:"w-6 h-6 text-slate-400"})]),_:1})])])])}}}),Xh=Ft(Qh,[["__scopeId","data-v-cd98e6ca"]]),Jh={class:"container flex flex-col mx-auto px-5 pb-16 z-10"},Zh={class:"grow"},Gs=Ee({__name:"BaseLayout",setup(e){return(t,n)=>(Y(),se(we,null,[Q(Mh),U("main",Jh,[U("div",Zh,[Pt(t.$slots,"default")]),Q(Fh)]),Q(Xh)],64))}});function Qt(e){this._maxSize=e,this.clear()}Qt.prototype.clear=function(){this._size=0,this._values=Object.create(null)};Qt.prototype.get=function(e){return this._values[e]};Qt.prototype.set=function(e,t){return this._size>=this._maxSize&&this.clear(),e in this._values||this._size++,this._values[e]=t};var ep=/[^.^\]^[]+|(?=\[\]|\.\.)/g,Ya=/^\d+$/,tp=/^\d/,np=/[~`!#$%\^&*+=\-\[\]\\';,/{}|\\":<>\?]/g,rp=/^\s*(['"]?)(.*?)(\1)\s*$/,Qs=512,po=new Qt(Qs),mo=new Qt(Qs),go=new Qt(Qs),za={Cache:Qt,split:gs,normalizePath:Gr,setter:function(e){var t=Gr(e);return mo.get(e)||mo.set(e,function(r,s){for(var i=0,o=t.length,a=r;i"",mp=/^Symbol\((.*)\)(.*)$/;function gp(e){return e!=+e?"NaN":e===0&&1/e<0?"-0":""+e}function yo(e,t=!1){if(e==null||e===!0||e===!1)return""+e;const n=typeof e;if(n==="number")return gp(e);if(n==="string")return t?`"${e}"`:e;if(n==="function")return"[Function "+(e.name||"anonymous")+"]";if(n==="symbol")return pp.call(e).replace(mp,"Symbol($1)");const r=fp.call(e).slice(8,-1);return r==="Date"?isNaN(e.getTime())?""+e:e.toISOString(e):r==="Error"||e instanceof Error?"["+dp.call(e)+"]":r==="RegExp"?hp.call(e):null}function kt(e,t){let n=yo(e,t);return n!==null?n:JSON.stringify(e,function(r,s){let i=yo(this[r],t);return i!==null?i:s},2)}function Qa(e){return e==null?[]:[].concat(e)}let Xa,yp=/\$\{\s*(\w+)\s*\}/g;Xa=Symbol.toStringTag;class Fe extends Error{static formatError(t,n){const r=n.label||n.path||"this";return r!==n.path&&(n=Object.assign({},n,{path:r})),typeof t=="string"?t.replace(yp,(s,i)=>kt(n[i])):typeof t=="function"?t(n):t}static isError(t){return t&&t.name==="ValidationError"}constructor(t,n,r,s,i){super(),this.value=void 0,this.path=void 0,this.type=void 0,this.errors=void 0,this.params=void 0,this.inner=void 0,this[Xa]="Error",this.name="ValidationError",this.value=n,this.path=r,this.type=s,this.errors=[],this.inner=[],Qa(t).forEach(o=>{if(Fe.isError(o)){this.errors.push(...o.errors);const a=o.inner.length?o.inner:[o];this.inner.push(...a)}else this.errors.push(o)}),this.message=this.errors.length>1?`${this.errors.length} errors occurred`:this.errors[0],!i&&Error.captureStackTrace&&Error.captureStackTrace(this,Fe)}}let Ze={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:({path:e,type:t,value:n,originalValue:r})=>{const s=r!=null&&r!==n?` (cast from the value \`${kt(r,!0)}\`).`:".";return t!=="mixed"?`${e} must be a \`${t}\` type, but the final value was: \`${kt(n,!0)}\``+s:`${e} must match the configured type. The validated value was: \`${kt(n,!0)}\``+s}},qe={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},wt={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},ys={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},bp={isValue:"${path} field must be ${value}"},vp={noUnknown:"${path} field has unspecified keys: ${unknown}"},_p={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},wp={notType:e=>{const{path:t,value:n,spec:r}=e,s=r.types.length;if(Array.isArray(n)){if(n.lengths)return`${t} tuple value has too many items, expected a length of ${s} but got ${n.length} for value: \`${kt(n,!0)}\``}return Fe.formatError(Ze.notType,e)}};Object.assign(Object.create(null),{mixed:Ze,string:qe,number:wt,date:ys,object:vp,array:_p,boolean:bp,tuple:wp});const Ja=e=>e&&e.__isYupSchema__;class mr{static fromOptions(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");let{is:r,then:s,otherwise:i}=n,o=typeof r=="function"?r:(...a)=>a.every(l=>l===r);return new mr(t,(a,l)=>{var c;let u=o(...a)?s:i;return(c=u==null?void 0:u(l))!=null?c:l})}constructor(t,n){this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}resolve(t,n){let r=this.refs.map(i=>i.getValue(n==null?void 0:n.value,n==null?void 0:n.parent,n==null?void 0:n.context)),s=this.fn(r,t,n);if(s===void 0||s===t)return t;if(!Ja(s))throw new TypeError("conditions must return a schema object");return s.resolve(n)}}const tr={context:"$",value:"."};class Wn{constructor(t,n={}){if(this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,typeof t!="string")throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),t==="")throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===tr.context,this.isValue=this.key[0]===tr.value,this.isSibling=!this.isContext&&!this.isValue;let r=this.isContext?tr.context:this.isValue?tr.value:"";this.path=this.key.slice(r.length),this.getter=this.path&&za.getter(this.path,!0),this.map=n.map}getValue(t,n,r){let s=this.isContext?r:this.isValue?t:n;return this.getter&&(s=this.getter(s||{})),this.map&&(s=this.map(s)),s}cast(t,n){return this.getValue(t,n==null?void 0:n.parent,n==null?void 0:n.context)}resolve(){return this}describe(){return{type:"ref",key:this.key}}toString(){return`Ref(${this.key})`}static isRef(t){return t&&t.__isYupRef}}Wn.prototype.__isYupRef=!0;const ct=e=>e==null;function nn(e){function t({value:n,path:r="",options:s,originalValue:i,schema:o},a,l){const{name:c,test:u,params:d,message:p,skipAbsent:g}=e;let{parent:y,context:w,abortEarly:P=o.spec.abortEarly,disableStackTrace:T=o.spec.disableStackTrace}=s;function C(B){return Wn.isRef(B)?B.getValue(n,y,w):B}function F(B={}){var R;const J=Object.assign({value:n,originalValue:i,label:o.spec.label,path:B.path||r,spec:o.spec},d,B.params);for(const ve of Object.keys(J))J[ve]=C(J[ve]);const ge=new Fe(Fe.formatError(B.message||p,J),n,J.path,B.type||c,(R=B.disableStackTrace)!=null?R:T);return ge.params=J,ge}const L=P?a:l;let k={path:r,parent:y,type:c,from:s.from,createError:F,resolve:C,options:s,originalValue:i,schema:o};const ee=B=>{Fe.isError(B)?L(B):B?l(null):L(F())},z=B=>{Fe.isError(B)?L(B):a(B)};if(g&&ct(n))return ee(!0);let S;try{var N;if(S=u.call(k,n,k),typeof((N=S)==null?void 0:N.then)=="function"){if(s.sync)throw new Error(`Validation test of type: "${k.type}" returned a Promise during a synchronous validate. This test will finish after the validate call has returned`);return Promise.resolve(S).then(ee,z)}}catch(B){z(B);return}ee(S)}return t.OPTIONS=e,t}function xp(e,t,n,r=n){let s,i,o;return t?(za.forEach(t,(a,l,c)=>{let u=l?a.slice(1,a.length-1):a;e=e.resolve({context:r,parent:s,value:n});let d=e.type==="tuple",p=c?parseInt(u,10):0;if(e.innerType||d){if(d&&!c)throw new Error(`Yup.reach cannot implicitly index into a tuple type. the path part "${o}" must contain an index to the tuple element, e.g. "${o}[0]"`);if(n&&p>=n.length)throw new Error(`Yup.reach cannot resolve an array item at index: ${a}, in the path: ${t}. because there is no value at that index. `);s=n,n=n&&n[p],e=d?e.spec.types[p]:e.innerType}if(!c){if(!e.fields||!e.fields[u])throw new Error(`The schema does not contain the path: ${t}. (failed at: ${o} which is a type: "${e.type}")`);s=n,n=n&&n[u],e=e.fields[u]}i=u,o=l?"["+a+"]":"."+a}),{schema:e,parent:s,parentPath:i}):{parent:s,parentPath:t,schema:e}}class gr extends Set{describe(){const t=[];for(const n of this.values())t.push(Wn.isRef(n)?n.describe():n);return t}resolveAll(t){let n=[];for(const r of this.values())n.push(t(r));return n}clone(){return new gr(this.values())}merge(t,n){const r=this.clone();return t.forEach(s=>r.add(s)),n.forEach(s=>r.delete(s)),r}}function on(e,t=new Map){if(Ja(e)||!e||typeof e!="object")return e;if(t.has(e))return t.get(e);let n;if(e instanceof Date)n=new Date(e.getTime()),t.set(e,n);else if(e instanceof RegExp)n=new RegExp(e),t.set(e,n);else if(Array.isArray(e)){n=new Array(e.length),t.set(e,n);for(let r=0;r{this.typeError(Ze.notType)}),this.type=t.type,this._typeCheck=t.check,this.spec=Object.assign({strip:!1,strict:!1,abortEarly:!0,recursive:!0,disableStackTrace:!1,nullable:!1,optional:!0,coerce:!0},t==null?void 0:t.spec),this.withMutation(n=>{n.nonNullable()})}get _type(){return this.type}clone(t){if(this._mutate)return t&&Object.assign(this.spec,t),this;const n=Object.create(Object.getPrototypeOf(this));return n.type=this.type,n._typeCheck=this._typeCheck,n._whitelist=this._whitelist.clone(),n._blacklist=this._blacklist.clone(),n.internalTests=Object.assign({},this.internalTests),n.exclusiveTests=Object.assign({},this.exclusiveTests),n.deps=[...this.deps],n.conditions=[...this.conditions],n.tests=[...this.tests],n.transforms=[...this.transforms],n.spec=on(Object.assign({},this.spec,t)),n}label(t){let n=this.clone();return n.spec.label=t,n}meta(...t){if(t.length===0)return this.spec.meta;let n=this.clone();return n.spec.meta=Object.assign(n.spec.meta||{},t[0]),n}withMutation(t){let n=this._mutate;this._mutate=!0;let r=t(this);return this._mutate=n,r}concat(t){if(!t||t===this)return this;if(t.type!==this.type&&this.type!=="mixed")throw new TypeError(`You cannot \`concat()\` schema's of different types: ${this.type} and ${t.type}`);let n=this,r=t.clone();const s=Object.assign({},n.spec,r.spec);return r.spec=s,r.internalTests=Object.assign({},n.internalTests,r.internalTests),r._whitelist=n._whitelist.merge(t._whitelist,t._blacklist),r._blacklist=n._blacklist.merge(t._blacklist,t._whitelist),r.tests=n.tests,r.exclusiveTests=n.exclusiveTests,r.withMutation(i=>{t.tests.forEach(o=>{i.test(o.OPTIONS)})}),r.transforms=[...n.transforms,...r.transforms],r}isType(t){return t==null?!!(this.spec.nullable&&t===null||this.spec.optional&&t===void 0):this._typeCheck(t)}resolve(t){let n=this;if(n.conditions.length){let r=n.conditions;n=n.clone(),n.conditions=[],n=r.reduce((s,i)=>i.resolve(s,t),n),n=n.resolve(t)}return n}resolveOptions(t){var n,r,s,i;return Object.assign({},t,{from:t.from||[],strict:(n=t.strict)!=null?n:this.spec.strict,abortEarly:(r=t.abortEarly)!=null?r:this.spec.abortEarly,recursive:(s=t.recursive)!=null?s:this.spec.recursive,disableStackTrace:(i=t.disableStackTrace)!=null?i:this.spec.disableStackTrace})}cast(t,n={}){let r=this.resolve(Object.assign({value:t},n)),s=n.assert==="ignore-optionality",i=r._cast(t,n);if(n.assert!==!1&&!r.isType(i)){if(s&&ct(i))return i;let o=kt(t),a=kt(i);throw new TypeError(`The value of ${n.path||"field"} could not be cast to a value that satisfies the schema type: "${r.type}". - -attempted value: ${o} -`+(a!==o?`result of cast: ${a}`:""))}return i}_cast(t,n){let r=t===void 0?t:this.transforms.reduce((s,i)=>i.call(this,s,t,this),t);return r===void 0&&(r=this.getDefault(n)),r}_validate(t,n={},r,s){let{path:i,originalValue:o=t,strict:a=this.spec.strict}=n,l=t;a||(l=this._cast(l,Object.assign({assert:!1},n)));let c=[];for(let u of Object.values(this.internalTests))u&&c.push(u);this.runTests({path:i,value:l,originalValue:o,options:n,tests:c},r,u=>{if(u.length)return s(u,l);this.runTests({path:i,value:l,originalValue:o,options:n,tests:this.tests},r,s)})}runTests(t,n,r){let s=!1,{tests:i,value:o,originalValue:a,path:l,options:c}=t,u=w=>{s||(s=!0,n(w,o))},d=w=>{s||(s=!0,r(w,o))},p=i.length,g=[];if(!p)return d([]);let y={value:o,originalValue:a,path:l,options:c,schema:this};for(let w=0;wthis.resolve(u)._validate(c,u,p,g)}validate(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return new Promise((o,a)=>s._validate(t,n,(l,c)=>{Fe.isError(l)&&(l.value=c),a(l)},(l,c)=>{l.length?a(new Fe(l,c,void 0,void 0,i)):o(c)}))}validateSync(t,n){var r;let s=this.resolve(Object.assign({},n,{value:t})),i,o=(r=n==null?void 0:n.disableStackTrace)!=null?r:s.spec.disableStackTrace;return s._validate(t,Object.assign({},n,{sync:!0}),(a,l)=>{throw Fe.isError(a)&&(a.value=l),a},(a,l)=>{if(a.length)throw new Fe(a,t,void 0,void 0,o);i=l}),i}isValid(t,n){return this.validate(t,n).then(()=>!0,r=>{if(Fe.isError(r))return!1;throw r})}isValidSync(t,n){try{return this.validateSync(t,n),!0}catch(r){if(Fe.isError(r))return!1;throw r}}_getDefault(t){let n=this.spec.default;return n==null?n:typeof n=="function"?n.call(this,t):on(n)}getDefault(t){return this.resolve(t||{})._getDefault(t)}default(t){return arguments.length===0?this._getDefault():this.clone({default:t})}strict(t=!0){return this.clone({strict:t})}nullability(t,n){const r=this.clone({nullable:t});return r.internalTests.nullable=nn({message:n,name:"nullable",test(s){return s===null?this.schema.spec.nullable:!0}}),r}optionality(t,n){const r=this.clone({optional:t});return r.internalTests.optionality=nn({message:n,name:"optionality",test(s){return s===void 0?this.schema.spec.optional:!0}}),r}optional(){return this.optionality(!0)}defined(t=Ze.defined){return this.optionality(!1,t)}nullable(){return this.nullability(!0)}nonNullable(t=Ze.notNull){return this.nullability(!1,t)}required(t=Ze.required){return this.clone().withMutation(n=>n.nonNullable(t).defined(t))}notRequired(){return this.clone().withMutation(t=>t.nullable().optional())}transform(t){let n=this.clone();return n.transforms.push(t),n}test(...t){let n;if(t.length===1?typeof t[0]=="function"?n={test:t[0]}:n=t[0]:t.length===2?n={name:t[0],test:t[1]}:n={name:t[0],message:t[1],test:t[2]},n.message===void 0&&(n.message=Ze.default),typeof n.test!="function")throw new TypeError("`test` is a required parameters");let r=this.clone(),s=nn(n),i=n.exclusive||n.name&&r.exclusiveTests[n.name]===!0;if(n.exclusive&&!n.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return n.name&&(r.exclusiveTests[n.name]=!!n.exclusive),r.tests=r.tests.filter(o=>!(o.OPTIONS.name===n.name&&(i||o.OPTIONS.test===s.OPTIONS.test))),r.tests.push(s),r}when(t,n){!Array.isArray(t)&&typeof t!="string"&&(n=t,t=".");let r=this.clone(),s=Qa(t).map(i=>new Wn(i));return s.forEach(i=>{i.isSibling&&r.deps.push(i.key)}),r.conditions.push(typeof n=="function"?new mr(s,n):mr.fromOptions(s,n)),r}typeError(t){let n=this.clone();return n.internalTests.typeError=nn({message:t,name:"typeError",skipAbsent:!0,test(r){return this.schema._typeCheck(r)?!0:this.createError({params:{type:this.schema.type}})}}),n}oneOf(t,n=Ze.oneOf){let r=this.clone();return t.forEach(s=>{r._whitelist.add(s),r._blacklist.delete(s)}),r.internalTests.whiteList=nn({message:n,name:"oneOf",skipAbsent:!0,test(s){let i=this.schema._whitelist,o=i.resolveAll(this.resolve);return o.includes(s)?!0:this.createError({params:{values:Array.from(i).join(", "),resolved:o}})}}),r}notOneOf(t,n=Ze.notOneOf){let r=this.clone();return t.forEach(s=>{r._blacklist.add(s),r._whitelist.delete(s)}),r.internalTests.blacklist=nn({message:n,name:"notOneOf",test(s){let i=this.schema._blacklist,o=i.resolveAll(this.resolve);return o.includes(s)?this.createError({params:{values:Array.from(i).join(", "),resolved:o}}):!0}}),r}strip(t=!0){let n=this.clone();return n.spec.strip=t,n}describe(t){const n=(t?this.resolve(t):this).clone(),{label:r,meta:s,optional:i,nullable:o}=n.spec;return{meta:s,label:r,optional:i,nullable:o,default:n.getDefault(t),type:n.type,oneOf:n._whitelist.describe(),notOneOf:n._blacklist.describe(),tests:n.tests.map(l=>({name:l.OPTIONS.name,params:l.OPTIONS.params})).filter((l,c,u)=>u.findIndex(d=>d.name===l.name)===c)}}}dt.prototype.__isYupSchema__=!0;for(const e of["validate","validateSync"])dt.prototype[`${e}At`]=function(t,n,r={}){const{parent:s,parentPath:i,schema:o}=xp(this,t,n,r.context);return o[e](s&&s[i],Object.assign({},r,{parent:s,path:t}))};for(const e of["equals","is"])dt.prototype[e]=dt.prototype.oneOf;for(const e of["not","nope"])dt.prototype[e]=dt.prototype.notOneOf;let Ep=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,Sp=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,Cp=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,Op=e=>ct(e)||e===e.trim(),Tp={}.toString();function Za(){return new el}class el extends dt{constructor(){super({type:"string",check(t){return t instanceof String&&(t=t.valueOf()),typeof t=="string"}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce||r.isType(t)||Array.isArray(t))return t;const s=t!=null&&t.toString?t.toString():t;return s===Tp?t:s})})}required(t){return super.required(t).withMutation(n=>n.test({message:t||Ze.required,name:"required",skipAbsent:!0,test:r=>!!r.length}))}notRequired(){return super.notRequired().withMutation(t=>(t.tests=t.tests.filter(n=>n.OPTIONS.name!=="required"),t))}length(t,n=qe.length){return this.test({message:n,name:"length",exclusive:!0,params:{length:t},skipAbsent:!0,test(r){return r.length===this.resolve(t)}})}min(t,n=qe.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r.length>=this.resolve(t)}})}max(t,n=qe.max){return this.test({name:"max",exclusive:!0,message:n,params:{max:t},skipAbsent:!0,test(r){return r.length<=this.resolve(t)}})}matches(t,n){let r=!1,s,i;return n&&(typeof n=="object"?{excludeEmptyString:r=!1,message:s,name:i}=n:s=n),this.test({name:i||"matches",message:s||qe.matches,params:{regex:t},skipAbsent:!0,test:o=>o===""&&r||o.search(t)!==-1})}email(t=qe.email){return this.matches(Ep,{name:"email",message:t,excludeEmptyString:!0})}url(t=qe.url){return this.matches(Sp,{name:"url",message:t,excludeEmptyString:!0})}uuid(t=qe.uuid){return this.matches(Cp,{name:"uuid",message:t,excludeEmptyString:!1})}ensure(){return this.default("").transform(t=>t===null?"":t)}trim(t=qe.trim){return this.transform(n=>n!=null?n.trim():n).test({message:t,name:"trim",test:Op})}lowercase(t=qe.lowercase){return this.transform(n=>ct(n)?n:n.toLowerCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>ct(n)||n===n.toLowerCase()})}uppercase(t=qe.uppercase){return this.transform(n=>ct(n)?n:n.toUpperCase()).test({message:t,name:"string_case",exclusive:!0,skipAbsent:!0,test:n=>ct(n)||n===n.toUpperCase()})}}Za.prototype=el.prototype;let Mp=e=>e!=+e;function Js(){return new tl}class tl extends dt{constructor(){super({type:"number",check(t){return t instanceof Number&&(t=t.valueOf()),typeof t=="number"&&!Mp(t)}}),this.withMutation(()=>{this.transform((t,n,r)=>{if(!r.spec.coerce)return t;let s=t;if(typeof s=="string"){if(s=s.replace(/\s/g,""),s==="")return NaN;s=+s}return r.isType(s)||s===null?s:parseFloat(s)})})}min(t,n=wt.min){return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(r){return r>=this.resolve(t)}})}max(t,n=wt.max){return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(r){return r<=this.resolve(t)}})}lessThan(t,n=wt.lessThan){return this.test({message:n,name:"max",exclusive:!0,params:{less:t},skipAbsent:!0,test(r){return rthis.resolve(t)}})}positive(t=wt.positive){return this.moreThan(0,t)}negative(t=wt.negative){return this.lessThan(0,t)}integer(t=wt.integer){return this.test({name:"integer",message:t,skipAbsent:!0,test:n=>Number.isInteger(n)})}truncate(){return this.transform(t=>ct(t)?t:t|0)}round(t){var n;let r=["ceil","floor","round","trunc"];if(t=((n=t)==null?void 0:n.toLowerCase())||"round",t==="trunc")return this.truncate();if(r.indexOf(t.toLowerCase())===-1)throw new TypeError("Only valid options for round() are: "+r.join(", "));return this.transform(s=>ct(s)?s:Math[t](s))}}Js.prototype=tl.prototype;const Ap=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function at(e,t=0){return Number(e)||t}function Pp(e){const t=Ap.exec(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;const n={year:at(t[1]),month:at(t[2],1)-1,day:at(t[3],1),hour:at(t[4]),minute:at(t[5]),second:at(t[6]),millisecond:t[7]?at(t[7].substring(0,3)):0,z:t[8]||void 0,plusMinus:t[9]||void 0,hourOffset:at(t[10]),minuteOffset:at(t[11])};if(n.z===void 0&&n.plusMinus===void 0)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();let r=0;return n.z!=="Z"&&n.plusMinus!==void 0&&(r=n.hourOffset*60+n.minuteOffset,n.plusMinus==="+"&&(r=0-r)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+r,n.second,n.millisecond)}let kp=new Date(""),$p=e=>Object.prototype.toString.call(e)==="[object Date]";class Zs extends dt{constructor(){super({type:"date",check(t){return $p(t)&&!isNaN(t.getTime())}}),this.withMutation(()=>{this.transform((t,n,r)=>!r.spec.coerce||r.isType(t)||t===null?t:(t=Pp(t),isNaN(t)?Zs.INVALID_DATE:new Date(t)))})}prepareParam(t,n){let r;if(Wn.isRef(t))r=t;else{let s=this.cast(t);if(!this._typeCheck(s))throw new TypeError(`\`${n}\` must be a Date or a value that can be \`cast()\` to a Date`);r=s}return r}min(t,n=ys.min){let r=this.prepareParam(t,"min");return this.test({message:n,name:"min",exclusive:!0,params:{min:t},skipAbsent:!0,test(s){return s>=this.resolve(r)}})}max(t,n=ys.max){let r=this.prepareParam(t,"max");return this.test({message:n,name:"max",exclusive:!0,params:{max:t},skipAbsent:!0,test(s){return s<=this.resolve(r)}})}}Zs.INVALID_DATE=kp;const Dp={},Fp={class:"flex flex-col text-slate-700"};function Rp(e,t){return Y(),se("div",Fp,[Pt(e.$slots,"title"),Pt(e.$slots,"content")])}const bo=Ft(Dp,[["render",Rp]]),Ip={class:"flex items-center justify-center h-16 text-xs lg:text-base text-slate-500 select-none"},Np=Ee({__name:"BaseEmptyListMessage",props:{message:{}},setup(e){return(t,n)=>(Y(),se("div",Ip,[Q(G(Hh),{class:"mr-2 w-6 h-6"}),U("span",null,Pe(t.message),1)]))}}),jp={class:"text-xs text-slate-500 select-none"},Lp={class:"relative flex items-center select-none cursor-pointer"},Bp={class:"ml-1"},Hp=Ee({__name:"BaseExpense",props:{value:{},currency:{},createdAt:{}},emits:["click","delete"],setup(e,{emit:t}){const n=t,r=st(null),s=st(!1);Hn(()=>{document.addEventListener("click",a=>{!r.value||r.value.contains(a.target)||(s.value=!1)}),document.addEventListener("keydown",a=>{a.key==="Escape"&&(s.value=!1)}),document.addEventListener("scroll",()=>{s.value=!1})}),Rs(()=>{document.removeEventListener("click",()=>{s.value=!1}),document.removeEventListener("keydown",()=>{s.value=!1}),document.removeEventListener("scroll",()=>{s.value=!1})});const i=()=>{s.value=!s.value},o=()=>{n("click")};return(a,l)=>(Y(),se("div",{class:nt(["relative flex flex-col items-center",{"z-[50]":s.value}])},[U("div",jp,Pe(a.createdAt),1),U("div",Lp,[U("div",{ref_key:"expense",ref:r,class:"relative flex items-center py-1 px-3 text-sm lg:text-base bg-white border border-sky-400 rounded-2xl hover:shadow-md transition-shadow duration-300 z-[39]",onClick:i},[U("div",null,Pe(a.value),1),U("div",Bp,Pe(a.currency),1)],512),Q(hn,null,{default:de(()=>[s.value?(Y(),ke(Bn,{key:0,class:"absolute top-5 h-[110%] !items-end !p-0 !pb-1 !rounded-2xl !rounded-t-none !bg-red-500 hover:!bg-red-600",onClick:o},{text:de(()=>[Q(G(qa),{class:"w-4 h-4 text-white"})]),_:1})):rt("",!0)]),_:1})])],2))}}),Vp=Ft(Hp,[["__scopeId","data-v-fa1e793c"]]),Wp={class:"absolute top-0 right-0"},bs=Ee({__name:"BaseFormBar",emits:["submit"],setup(e,{emit:t}){const n=t,r=()=>{n("submit")};return(s,i)=>(Y(),se("form",{class:"relative",onSubmit:Cu(r,["prevent"])},[Pt(s.$slots,"input"),U("div",Wp,[Pt(s.$slots,"button")])],32))}}),Up={class:"relative w-full"},qp=["id","type","placeholder","value","autocomplete"],Yp={key:0,class:"absolute left-3 -bottom-4 w-full text-xs text-rose-500"},zp={key:0,class:"absolute left-3 -bottom-4 w-full text-xs text-green-500"},Kp=Ee({__name:"BaseInput",props:{modelValue:{},id:{},type:{},placeholder:{},autocomplete:{},isError:{type:Boolean},errorMessage:{},isSuccess:{type:Boolean},successMessage:{}},emits:["update:modelValue","onBlur"],setup(e,{emit:t}){const n=t,r=i=>{n("update:modelValue",i.target.value)},s=()=>{n("onBlur")};return(i,o)=>(Y(),se("div",Up,[U("input",{id:i.id,type:i.type,placeholder:i.placeholder,value:i.modelValue,autocomplete:i.autocomplete,class:nt([i.isError?"!border-red-500 !focus:border-red-500":"","w-full px-3 py-2 pr-14 text-sm border border-slate-300 rounded-xl hover:border-slate-400 focus:outline-none focus:border-slate-400 transition-[border-color] select-none"]),onInput:r,onBlur:s},null,42,qp),Q(hn,null,{default:de(()=>[i.isError&&i.errorMessage?(Y(),se("span",Yp,Pe(i.errorMessage),1)):rt("",!0)]),_:1}),Q(hn,null,{default:de(()=>[i.isSuccess&&i.successMessage?(Y(),se("span",zp,Pe(i.successMessage),1)):rt("",!0)]),_:1})]))}}),vs=Ft(Kp,[["__scopeId","data-v-ba2bbe90"]]),Gp={class:"mb-5 py-5 text-xl font-bold border-t border-b"},Qp={class:"grid gap-3"},Xp={class:"flex"},Jp={class:"flex flex-col"},Zp={class:"flex items-center text-sm lg:text-base"},em={key:0,class:"shrink-0 w-2 h-2 ml-2 rounded-full bg-green-500 select-none animate-pulse"},tm={key:0,class:"flex items-center w-full"},nm=Ee({__name:"BaseExpensesList",setup(e){const t=zs(),n=Vn(),r=Vt(),s=Ks(),{isAddExpenseInputVisible:i}=Be(t),{months:o}=Be(r),{expenses:a}=Be(s),{hideAddExpenseInput:l}=t,{getDaysByMonthId:c}=r,{getMonthlyExpenses:u,getDailyExpenses:d,addExpense:p,removeExpense:g}=s,{getActiveCurrency:y,dailyBudget:w}=Be(n),P=st(""),T=st(!1),C=Js().integer().required().min(1),F=L=>{try{C.validateSync(L),p(L),P.value="",T.value=!1}catch{T.value=!0}};return(L,k)=>(Y(!0),se(we,null,Sn(G(o),ee=>(Y(),ke(bo,{key:ee.id},{title:de(()=>[U("div",Gp,Pe(ee.name)+" / "+Pe(G(u)(ee.id)),1)]),content:de(()=>[U("div",Qp,[(Y(!0),se(we,null,Sn(G(c)(ee.id),z=>(Y(),ke(bo,{key:z.id,class:"relative last:mb-12"},{title:de(()=>[U("div",{class:nt(["sticky top-[52px] flex flex-col items-start py-1 bg-white font-bold select-none z-40",{"current-day":z.isCurrent}])},[U("div",Xp,[U("div",Jp,[U("div",Zp,[js(Pe(z.number)+" "+Pe(z.name)+" ",1),z.isCurrent?(Y(),se("div",em)):rt("",!0)])])]),U("div",{class:nt(["text-xs lg:text-sm",{"text-emerald-500":G(d)(z.id)<=G(w),"text-rose-500":G(d)(z.id)>G(w),hidden:G(d)(z.id)===0}])},Pe(G(d)(z.id))+" / "+Pe(G(w)),3)],2)]),content:de(()=>[(Y(!0),se(we,null,Sn(G(a)[z.id],($,S)=>(Y(),se("div",{key:S,class:"flex flex-wrap gap-2"},[(Y(!0),se(we,null,Sn($,N=>(Y(),ke(Vp,{key:N.id,createdAt:N.createdAt,value:N.value,currency:N.currency,class:nt({"opacity-30":!z.isCurrent}),onClick:B=>G(g)(N.id,z.id)},null,8,["createdAt","value","currency","class","onClick"]))),128)),G(a)[z.id].items.length?rt("",!0):(Y(),se("div",tm,[Q(Np,{message:"No expenses for this day"})])),Q(hn,null,{default:de(()=>[z.isCurrent&&G(i)?(Y(),ke(bs,{key:0,onSubmit:k[1]||(k[1]=N=>F(P.value)),class:"!absolute top-[calc(100%+10px)] w-full rounded-xl shadow-md mb-6 z-50"},{input:de(()=>[Q(vs,{id:"expense-input",modelValue:P.value,"onUpdate:modelValue":k[0]||(k[0]=N=>P.value=N),type:"number",inputmode:"numeric",placeholder:`Enter expense (${G(y).name})`,"has-error":T.value,onOnBlur:G(l)},null,8,["modelValue","placeholder","has-error","onOnBlur"])]),_:1})):rt("",!0)]),_:2},1024)]))),128))]),_:2},1024))),128))])]),_:2},1024))),128))}}),rm=Ft(nm,[["__scopeId","data-v-fcd1190c"]]),sm=Ee({__name:"HomeView",setup(e){const t=zs(),n=Vt(),r=Ks(),{lastCalendarUpdateDate:s}=Be(t),{setLastUpdateDate:i}=t,{initCalendar:o}=n,{initExpensesObject:a}=r;oa(()=>{const u=new Date().toLocaleDateString();i(u),o(),a(),window.addEventListener("focus",c)}),Hn(()=>{l()});const l=()=>{const u=document.getElementsByClassName("current-day")[0];u&&u.scrollIntoView({block:"start"})},c=()=>{if(!s.value)return;const u=new Date().toLocaleDateString();u!==s.value&&(i(u),o(),a())};return(u,d)=>(Y(),ke(Gs,null,{default:de(()=>[Q(rm)]),_:1}))}}),im=U("h1",null,"Stats dashboard",-1),om=Ee({__name:"DashboardView",setup(e){return(t,n)=>(Y(),ke(Gs,null,{default:de(()=>[im]),_:1}))}}),am=["id","name","value","checked"],lm=["for"],cm=Ee({__name:"BaseRadioButton",props:{id:{},name:{},label:{},value:{},checked:{type:Boolean},additionalClasses:{}},emits:["change"],setup(e,{emit:t}){const n=t,r=s=>{n("change",s.target.value)};return(s,i)=>(Y(),se("div",null,[U("input",{id:s.id,name:s.name,value:s.value,checked:s.checked,type:"radio",class:"hidden peer/radio",onChange:r},null,40,am),U("label",{for:s.id,class:nt([s.additionalClasses,"block px-3 py-1 text-sm text-slate-400 border border-slate-300 rounded-2xl peer-checked/radio:text-white peer-checked/radio:bg-sky-400 select-none cursor-pointer hover:border-slate-400 hover:text-slate-500 transition-all"])},Pe(s.label),11,lm)]))}}),um={class:"flex items-center"},fm=Ee({__name:"BaseCurrencyGroupItem",props:{id:{},name:{},label:{},value:{},isSelected:{type:Boolean},isDefault:{type:Boolean}},setup(e){const t=e,n=Vn(),{setActiveCurrency:r,deleteCurrency:s}=n,i=Re(()=>({"!rounded-r-2xl":t.isDefault,"border-r-0":!t.isDefault}));return(o,a)=>(Y(),se("div",um,[Q(cm,{id:o.id,name:o.name,label:o.label,value:o.value,checked:o.isSelected,"additional-classes":[i.value,"max-w-30","rounded-r-none","overflow-hidden","whitespace-nowrap","text-ellipsis"],onChange:a[0]||(a[0]=l=>G(r)(o.id))},null,8,["id","name","label","value","checked","additional-classes"]),o.isDefault?rt("",!0):(Y(),ke(Bn,{key:0,class:"grow-0 !py-0 h-full rounded-l-none",title:"delete currency",onClick:a[1]||(a[1]=l=>G(s)(o.id)),"is-disabled":o.isSelected},{text:de(()=>[o.isSelected?rt("",!0):(Y(),ke(G(qa),{key:0,class:"w-4 h-4"})),o.isSelected?(Y(),ke(G(Lh),{key:1,class:"w-4 h-4 text-slate-950"})):rt("",!0)]),_:1},8,["is-disabled"]))]))}}),dm=U("div",{class:"mb-7 pt-4 text-2xl text-slate-700 font-bold select-none"},"Settings",-1),hm={class:"mb-10"},pm=U("div",{class:"mb-3 text-slate-500 select-none"},"Daily budget",-1),mm={class:"mb-2"},gm=U("div",{class:"mb-3 text-slate-500 select-none"},"Default currency",-1),ym={class:"flex flex-wrap gap-1 mb-3"},bm=Ee({__name:"SettingsView",setup(e){const t=Vn(),{setDailyBudget:n,addNewCurrency:r,dailyBudget:s}=t,{currencies:i}=Be(t),o=Yt({value:s,isError:!1,errorMessage:"Enter an integer greater than 9",isSuccess:!1,successMessage:"Daily budget updated"}),a=Yt({value:"",isError:!1,errorMessage:"Currency already exists"}),l=Js().integer().required().min(10),c=Za().required().min(1).max(10);At(a,()=>{a.value.length===0&&(a.isError=!1)});const u=p=>{try{l.validateSync(p),n(p),o.isSuccess=!0,o.value=p,o.isError=!1,setTimeout(()=>{o.isSuccess=!1},3e3)}catch{o.isError=!0,o.isSuccess=!1}},d=p=>{if(i.value.some(g=>g.name===p)){a.isError=!0;return}try{c.validateSync(p),r(p),a.value="",a.isError=!1}catch{a.isError=!0}};return(p,g)=>(Y(),ke(Gs,null,{default:de(()=>[dm,U("div",hm,[pm,Q(bs,{onSubmit:g[1]||(g[1]=y=>u(o.value))},{input:de(()=>[Q(vs,{id:"daily-input",modelValue:o.value,"onUpdate:modelValue":g[0]||(g[0]=y=>o.value=y),type:"number",inputmode:"numeric",placeholder:"Set daily budget",autocomplete:"off","is-error":o.isError,"error-message":o.errorMessage,"is-success":o.isSuccess,"success-message":o.successMessage},null,8,["modelValue","is-error","error-message","is-success","success-message"])]),button:de(()=>[Q(Bn,{type:"submit"},{text:de(()=>[Q(G(Ih),{class:"w-5 h-5"})]),_:1})]),_:1})]),U("div",mm,[gm,U("div",ym,[(Y(!0),se(we,null,Sn(G(i),y=>(Y(),ke(fm,{key:y.name,id:y.name,label:y.name,value:y.name,"is-selected":y.isActive,"is-default":y.isDefault,name:"currencies"},null,8,["id","label","value","is-selected","is-default"]))),128))])]),Q(bs,{class:"mb-10",onSubmit:g[3]||(g[3]=y=>d(a.value))},{input:de(()=>[Q(vs,{id:"currency-input",modelValue:a.value,"onUpdate:modelValue":g[2]||(g[2]=y=>a.value=y),type:"text",placeholder:"Add new currency",autocomplete:"off","is-error":a.isError,"error-message":a.errorMessage},null,8,["modelValue","is-error","error-message"])]),button:de(()=>[Q(Bn,{type:"submit"},{text:de(()=>[Q(G(Bh),{class:"w-5 h-5"})]),_:1})]),_:1})]),_:1}))}}),vm=jf({history:tf("/budget.it/"),routes:[{path:"/",name:"home",component:sm},{path:"/dashboard",name:"dashboard",component:om},{path:"/settings",name:"settings",component:bm}]}),_m=Ee({__name:"App",setup(e){return(t,n)=>(Y(),ke(G(ja)))}}),ei=Mu(_m);ei.use($u());ei.use(vm);ei.mount("#app"); diff --git a/assets/index-WlM86WFF.css b/assets/index-WlM86WFF.css deleted file mode 100644 index 6b750bf..0000000 --- a/assets/index-WlM86WFF.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:JetBrains Mono;font-weight:200;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraLight-zdImaEaY.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:400;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-Regular-bE6RZ4Zl.woff2) format("woff2")}@font-face{font-family:JetBrains Mono;font-weight:800;font-style:normal;font-display:swap;src:url(/budget.it/assets/JetBrainsMono-ExtraBold-27PHazCc.woff2) format("woff2")}:root{scrollbar-color:rgba(0,0,0,.1) transparent;scrollbar-width:5px}body *::-webkit-scrollbar{width:5px}body *::-webkit-scrollbar-thumb{border-radius:5px;background:#0000001a}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.fixed{position:fixed}.\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:-webkit-sticky;position:sticky}.-bottom-4{bottom:-1rem}.bottom-0{bottom:0}.left-0{left:0}.left-3{left:.75rem}.right-0{right:0}.top-0{top:0}.top-5{top:1.25rem}.top-\[52px\]{top:52px}.top-\[calc\(100\%\+10px\)\]{top:calc(100% + 10px)}.z-10{z-index:10}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[39\]{z-index:39}.z-\[50\]{z-index:50}.mx-auto{margin-left:auto;margin-right:auto}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-5{margin-bottom:1.25rem}.mb-6{margin-bottom:1.5rem}.mb-7{margin-bottom:1.75rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-2{margin-right:.5rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-16{height:4rem}.h-2{height:.5rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-\[110\%\]{height:110%}.h-full{height:100%}.w-2{width:.5rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-full{width:100%}.max-w-96{max-width:24rem}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.grow-0{flex-grow:0}.origin-center{transform-origin:center}.-rotate-12{--tw-rotate: -12deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.\!items-end{align-items:flex-end!important}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.\!rounded-2xl{border-radius:1rem!important}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.\!rounded-r-2xl{border-top-right-radius:1rem!important;border-bottom-right-radius:1rem!important}.\!rounded-t-none{border-top-left-radius:0!important;border-top-right-radius:0!important}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.\!border-red-500{--tw-border-opacity: 1 !important;border-color:rgb(239 68 68 / var(--tw-border-opacity))!important}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.\!bg-red-500{--tw-bg-opacity: 1 !important;background-color:rgb(239 68 68 / var(--tw-bg-opacity))!important}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.\!p-0{padding:0!important}.p-5{padding:1.25rem}.\!py-0{padding-top:0!important;padding-bottom:0!important}.px-3{padding-left:.75rem;padding-right:.75rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.\!pb-1{padding-bottom:.25rem!important}.pb-16{padding-bottom:4rem}.pr-14{padding-right:3.5rem}.pt-4{padding-top:1rem}.text-center{text-align:center}.font-body{font-family:JetBrains Mono,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.underline{text-decoration-line:underline}.opacity-30{opacity:.3}.opacity-60{opacity:.6}.opacity-80{opacity:.8}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[background-color\]{transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\[border-color\]{transition-property:border-color;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:mb-12:last-child{margin-bottom:3rem}.hover\:border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:\!bg-red-600:hover{--tw-bg-opacity: 1 !important;background-color:rgb(220 38 38 / var(--tw-bg-opacity))!important}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:opacity-100:hover{opacity:1}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-slate-400:focus{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.disabled\:bg-slate-300:disabled{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.disabled\:opacity-50:disabled{opacity:.5}.peer\/radio:checked~.peer-checked\/radio\:bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.peer\/radio:checked~.peer-checked\/radio\:text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}@media (min-width: 1024px){.lg\:text-2xl{font-size:1.5rem;line-height:2rem}.lg\:text-base{font-size:1rem;line-height:1.5rem}.lg\:text-sm{font-size:.875rem;line-height:1.25rem}.lg\:hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.lg\:hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}}.logo-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#85ffbd,#0093e9 46%,#00dbde);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.logo-sub-gradient[data-v-241fb166]{background-color:#0093e9;background-image:linear-gradient(43deg,#00dbde,#0093e9 46%,#85ffbd);background-size:400%;background-repeat:repeat;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;-moz-background-clip:text;-moz-text-fill-color:transparent}.gradient-animation[data-v-241fb166]{animation:gradient-241fb166 15s ease-in-out infinite}@keyframes gradient-241fb166{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}.progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#85ffbd,#00dbde 46%,#0093e9);background-repeat:no-repeat;transition:background-size .5s ease-in-out}.progress-bar_overfilled .progress-bar__background[data-v-ae6b84b5]{background-image:linear-gradient(43deg,#ff9191,#ff9191 46%,red)}.progress-bar_total[data-v-ae6b84b5]{justify-content:flex-start}.progress-bar_total .progress-bar__background[data-v-ae6b84b5]{background-image:none}.router-link-exact-active svg[data-v-cd98e6ca]{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.v-enter-active[data-v-fa1e793c],.v-leave-active[data-v-fa1e793c]{transition:opacity .5s ease}.v-enter-from[data-v-fa1e793c],.v-leave-to[data-v-fa1e793c]{opacity:0}.v-enter-active[data-v-ba2bbe90],.v-leave-active[data-v-ba2bbe90]{transition:opacity .5s ease}.v-enter-from[data-v-ba2bbe90],.v-leave-to[data-v-ba2bbe90]{opacity:0}.current-day[data-v-fcd1190c]{scroll-margin-top:52px}.v-enter-active[data-v-fcd1190c],.v-leave-active[data-v-fcd1190c]{transform:translateY(0);transition:all .5s ease}.v-enter-from[data-v-fcd1190c],.v-leave-to[data-v-fcd1190c]{transform:translateY(100%);opacity:0} diff --git a/index.html b/index.html index 733a5d4..638b795 100644 --- a/index.html +++ b/index.html @@ -21,8 +21,8 @@ budget.it - - + + diff --git a/sw.js b/sw.js index 2fb1aba..b01b9ed 100644 --- a/sw.js +++ b/sw.js @@ -1 +1 @@ -if(!self.define){let e,i={};const n=(n,r)=>(n=new URL(n+".js",r).href,i[n]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=i,document.head.appendChild(e)}else e=n,importScripts(n),i()})).then((()=>{let e=i[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(r,c)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(i[o])return;let d={};const s=e=>n(e,o),a={module:{uri:o},exports:d,require:s};i[o]=Promise.all(r.map((e=>a[e]||s(e)))).then((e=>(c(...e),d)))}}define(["./workbox-3e911b1d"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"assets/index-GAZ-w_Br.js",revision:null},{url:"assets/index-WlM86WFF.css",revision:null},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"index.html",revision:"9132bf49d3d1977a9020a747fd0d362e"},{url:"registerSW.js",revision:"7dced58172f49b3135ca8c5f24093785"},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"manifest.webmanifest",revision:"dd24719f337f89a329f31c3652d021f9"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))})); +if(!self.define){let e,i={};const n=(n,r)=>(n=new URL(n+".js",r).href,i[n]||new Promise((i=>{if("document"in self){const e=document.createElement("script");e.src=n,e.onload=i,document.head.appendChild(e)}else e=n,importScripts(n),i()})).then((()=>{let e=i[n];if(!e)throw new Error(`Module ${n} didn’t register its module`);return e})));self.define=(r,c)=>{const o=e||("document"in self?document.currentScript.src:"")||location.href;if(i[o])return;let d={};const s=e=>n(e,o),a={module:{uri:o},exports:d,require:s};i[o]=Promise.all(r.map((e=>a[e]||s(e)))).then((e=>(c(...e),d)))}}define(["./workbox-3e911b1d"],(function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"assets/index-CO_JPH2I.css",revision:null},{url:"assets/index-DbXqNdXC.js",revision:null},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"index.html",revision:"db50261aed90ff40fc0339746a2a0199"},{url:"registerSW.js",revision:"7dced58172f49b3135ca8c5f24093785"},{url:"favicon-16x16.png",revision:"681f895a8fadb1184e89a19624b1fffa"},{url:"favicon-32x32.png",revision:"6b24a855d49706d660e992dccbc7e8d2"},{url:"favicon.ico",revision:"8ad23162404c360a19e6ad06e2fb04dd"},{url:"android-chrome-144x144.png",revision:"b7c6c7e823f79bc3e94c22c22e00eb3a"},{url:"android-chrome-192x192.png",revision:"e184aea92814e775b433c35e90dcc8ce"},{url:"android-chrome-512x512.png",revision:"9540e0808cb7203ca3a4599149bb40c2"},{url:"apple-touch-icon.png",revision:"fc80872917524b0fe4b081816409bf05"},{url:"manifest.webmanifest",revision:"dd24719f337f89a329f31c3652d021f9"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}));