Files
CtrlCash/web/assets/index-_Uo-jrdC.js
2025-10-29 22:21:53 -03:00

26 lines
139 KiB
JavaScript

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function s(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(o){if(o.ep)return;o.ep=!0;const r=s(o);fetch(o.href,r)}})();/**
* @vue/shared v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Dn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const de={},Ut=[],st=()=>{},tr=()=>!1,Gs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Mn=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Vn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},_i=Object.prototype.hasOwnProperty,ae=(e,t)=>_i.call(e,t),G=Array.isArray,Ht=e=>xs(e)==="[object Map]",Ks=e=>xs(e)==="[object Set]",io=e=>xs(e)==="[object Date]",J=e=>typeof e=="function",_e=e=>typeof e=="string",nt=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",sr=e=>(fe(e)||J(e))&&J(e.then)&&J(e.catch),nr=Object.prototype.toString,xs=e=>nr.call(e),xi=e=>xs(e).slice(8,-1),or=e=>xs(e)==="[object Object]",jn=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rs=Dn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ws=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},wi=/-\w/g,qe=Ws(e=>e.replace(wi,t=>t.slice(1).toUpperCase())),Ci=/\B([A-Z])/g,kt=Ws(e=>e.replace(Ci,"-$1").toLowerCase()),Js=Ws(e=>e.charAt(0).toUpperCase()+e.slice(1)),ln=Ws(e=>e?`on${Js(e)}`:""),Ct=(e,t)=>!Object.is(e,t),Os=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},rr=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Ds=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let lo;const zs=()=>lo||(lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wt(e){if(G(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=_e(n)?Ri(n):Wt(n);if(o)for(const r in o)t[r]=o[r]}return t}else if(_e(e)||fe(e))return e}const Si=/;(?![^(]*\))/g,Ei=/:([^]+)/,Ai=/\/\*[^]*?\*\//g;function Ri(e){const t={};return e.replace(Ai,"").split(Si).forEach(s=>{if(s){const n=s.split(Ei);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ge(e){let t="";if(_e(e))t=e;else if(G(e))for(let s=0;s<e.length;s++){const n=ge(e[s]);n&&(t+=n+" ")}else if(fe(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ti="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Oi=Dn(Ti);function ir(e){return!!e||e===""}function Pi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Jt(e[n],t[n]);return s}function Jt(e,t){if(e===t)return!0;let s=io(e),n=io(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=nt(e),n=nt(t),s||n)return e===t;if(s=G(e),n=G(t),s||n)return s&&n?Pi(e,t):!1;if(s=fe(e),n=fe(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Jt(e[i],t[i]))return!1}}return String(e)===String(t)}function Ii(e,t){return e.findIndex(s=>Jt(s,t))}const lr=e=>!!(e&&e.__v_isRef===!0),Y=e=>_e(e)?e:e==null?"":G(e)||fe(e)&&(e.toString===nr||!J(e.toString))?lr(e)?Y(e.value):JSON.stringify(e,ar,2):String(e),ar=(e,t)=>lr(t)?ar(e,t.value):Ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],r)=>(s[an(n,r)+" =>"]=o,s),{})}:Ks(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>an(s))}:nt(t)?an(t):fe(t)&&!G(t)&&!or(t)?String(t):t,an=(e,t="")=>{var s;return nt(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
* @vue/reactivity v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Me;class Ni{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Me;try{return Me=this,t()}finally{Me=s}}}on(){++this._on===1&&(this.prevScope=Me,Me=this)}off(){this._on>0&&--this._on===0&&(Me=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ki(){return Me}let me;const cn=new WeakSet;class cr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Me&&Me.active&&Me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,cn.has(this)&&(cn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||dr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ao(this),fr(this);const t=me,s=Ke;me=this,Ke=!0;try{return this.fn()}finally{pr(this),me=t,Ke=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Un(t);this.deps=this.depsTail=void 0,ao(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?cn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){_n(this)&&this.run()}get dirty(){return _n(this)}}let ur=0,is,ls;function dr(e,t=!1){if(e.flags|=8,t){e.next=ls,ls=e;return}e.next=is,is=e}function Fn(){ur++}function Ln(){if(--ur>0)return;if(ls){let t=ls;for(ls=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;is;){let t=is;for(is=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function fr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pr(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),Un(n),$i(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function _n(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(mr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function mr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ms)||(e.globalVersion=ms,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!_n(e))))return;e.flags|=2;const t=e.dep,s=me,n=Ke;me=e,Ke=!0;try{fr(e);const o=e.fn(e._value);(t.version===0||Ct(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{me=s,Ke=n,pr(e),e.flags&=-3}}function Un(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Un(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function $i(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ke=!0;const hr=[];function mt(){hr.push(Ke),Ke=!1}function ht(){const e=hr.pop();Ke=e===void 0?!0:e}function ao(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=me;me=void 0;try{t()}finally{me=s}}}let ms=0;class Di{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!me||!Ke||me===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==me)s=this.activeLink=new Di(me,this),me.deps?(s.prevDep=me.depsTail,me.depsTail.nextDep=s,me.depsTail=s):me.deps=me.depsTail=s,gr(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=me.depsTail,s.nextDep=void 0,me.depsTail.nextDep=s,me.depsTail=s,me.deps===s&&(me.deps=n)}return s}trigger(t){this.version++,ms++,this.notify(t)}notify(t){Fn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ln()}}}function gr(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)gr(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const xn=new WeakMap,Nt=Symbol(""),wn=Symbol(""),hs=Symbol("");function Ae(e,t,s){if(Ke&&me){let n=xn.get(e);n||xn.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Hn),o.map=n,o.key=s),o.track()}}function ut(e,t,s,n,o,r){const i=xn.get(e);if(!i){ms++;return}const l=a=>{a&&a.trigger()};if(Fn(),t==="clear")i.forEach(l);else{const a=G(e),u=a&&jn(s);if(a&&s==="length"){const d=Number(n);i.forEach((p,g)=>{(g==="length"||g===hs||!nt(g)&&g>=d)&&l(p)})}else switch((s!==void 0||i.has(void 0))&&l(i.get(s)),u&&l(i.get(hs)),t){case"add":a?u&&l(i.get("length")):(l(i.get(Nt)),Ht(e)&&l(i.get(wn)));break;case"delete":a||(l(i.get(Nt)),Ht(e)&&l(i.get(wn)));break;case"set":Ht(e)&&l(i.get(Nt));break}}Ln()}function jt(e){const t=le(e);return t===e?t:(Ae(t,"iterate",hs),Be(e)?t:t.map(Se))}function Xs(e){return Ae(e=le(e),"iterate",hs),e}const Mi={__proto__:null,[Symbol.iterator](){return un(this,Symbol.iterator,Se)},concat(...e){return jt(this).concat(...e.map(t=>G(t)?jt(t):t))},entries(){return un(this,"entries",e=>(e[1]=Se(e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,s=>s.map(Se),arguments)},find(e,t){return it(this,"find",e,t,Se,arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,Se,arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return dn(this,"includes",e)},indexOf(...e){return dn(this,"indexOf",e)},join(e){return jt(this).join(e)},lastIndexOf(...e){return dn(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return ts(this,"pop")},push(...e){return ts(this,"push",e)},reduce(e,...t){return co(this,"reduce",e,t)},reduceRight(e,...t){return co(this,"reduceRight",e,t)},shift(){return ts(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return ts(this,"splice",e)},toReversed(){return jt(this).toReversed()},toSorted(e){return jt(this).toSorted(e)},toSpliced(...e){return jt(this).toSpliced(...e)},unshift(...e){return ts(this,"unshift",e)},values(){return un(this,"values",Se)}};function un(e,t,s){const n=Xs(e),o=n[t]();return n!==e&&!Be(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=s(r.value)),r}),o}const Vi=Array.prototype;function it(e,t,s,n,o,r){const i=Xs(e),l=i!==e&&!Be(e),a=i[t];if(a!==Vi[t]){const p=a.apply(e,r);return l?Se(p):p}let u=s;i!==e&&(l?u=function(p,g){return s.call(this,Se(p),g,e)}:s.length>2&&(u=function(p,g){return s.call(this,p,g,e)}));const d=a.call(i,u,n);return l&&o?o(d):d}function co(e,t,s,n){const o=Xs(e);let r=s;return o!==e&&(Be(e)?s.length>3&&(r=function(i,l,a){return s.call(this,i,l,a,e)}):r=function(i,l,a){return s.call(this,i,Se(l),a,e)}),o[t](r,...n)}function dn(e,t,s){const n=le(e);Ae(n,"iterate",hs);const o=n[t](...s);return(o===-1||o===!1)&&Gn(s[0])?(s[0]=le(s[0]),n[t](...s)):o}function ts(e,t,s=[]){mt(),Fn();const n=le(e)[t].apply(e,s);return Ln(),ht(),n}const ji=Dn("__proto__,__v_isRef,__isVue"),vr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt));function Fi(e){nt(e)||(e=String(e));const t=le(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class br{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(o?r?zi:wr:r?xr:_r).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=G(t);if(!o){let a;if(i&&(a=Mi[s]))return a;if(s==="hasOwnProperty")return Fi}const l=Reflect.get(t,s,Te(t)?t:n);if((nt(s)?vr.has(s):ji(s))||(o||Ae(t,"get",s),r))return l;if(Te(l)){const a=i&&jn(s)?l:l.value;return o&&fe(a)?Sn(a):a}return fe(l)?o?Sn(l):Qs(l):l}}class yr extends br{constructor(t=!1){super(!1,t)}set(t,s,n,o){let r=t[s];if(!this._isShallow){const a=St(r);if(!Be(n)&&!St(n)&&(r=le(r),n=le(n)),!G(t)&&Te(r)&&!Te(n))return a||(r.value=n),!0}const i=G(t)&&jn(s)?Number(s)<t.length:ae(t,s),l=Reflect.set(t,s,n,Te(t)?t:o);return t===le(o)&&(i?Ct(n,r)&&ut(t,"set",s,n):ut(t,"add",s,n)),l}deleteProperty(t,s){const n=ae(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&&ut(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!nt(s)||!vr.has(s))&&Ae(t,"has",s),n}ownKeys(t){return Ae(t,"iterate",G(t)?"length":Nt),Reflect.ownKeys(t)}}class Li extends br{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Ui=new yr,Hi=new Li,Bi=new yr(!0);const Cn=e=>e,As=e=>Reflect.getPrototypeOf(e);function qi(e,t,s){return function(...n){const o=this.__v_raw,r=le(o),i=Ht(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=o[e](...n),d=s?Cn:t?Ms:Se;return!t&&Ae(r,"iterate",a?wn:Nt),{next(){const{value:p,done:g}=u.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function Rs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Gi(e,t){const s={get(o){const r=this.__v_raw,i=le(r),l=le(o);e||(Ct(o,l)&&Ae(i,"get",o),Ae(i,"get",l));const{has:a}=As(i),u=t?Cn:e?Ms:Se;if(a.call(i,o))return u(r.get(o));if(a.call(i,l))return u(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&Ae(le(o),"iterate",Nt),o.size},has(o){const r=this.__v_raw,i=le(r),l=le(o);return e||(Ct(o,l)&&Ae(i,"has",o),Ae(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,a=le(l),u=t?Cn:e?Ms:Se;return!e&&Ae(a,"iterate",Nt),l.forEach((d,p)=>o.call(r,u(d),u(p),i))}};return Oe(s,e?{add:Rs("add"),set:Rs("set"),delete:Rs("delete"),clear:Rs("clear")}:{add(o){!t&&!Be(o)&&!St(o)&&(o=le(o));const r=le(this);return As(r).has.call(r,o)||(r.add(o),ut(r,"add",o,o)),this},set(o,r){!t&&!Be(r)&&!St(r)&&(r=le(r));const i=le(this),{has:l,get:a}=As(i);let u=l.call(i,o);u||(o=le(o),u=l.call(i,o));const d=a.call(i,o);return i.set(o,r),u?Ct(r,d)&&ut(i,"set",o,r):ut(i,"add",o,r),this},delete(o){const r=le(this),{has:i,get:l}=As(r);let a=i.call(r,o);a||(o=le(o),a=i.call(r,o)),l&&l.call(r,o);const u=r.delete(o);return a&&ut(r,"delete",o,void 0),u},clear(){const o=le(this),r=o.size!==0,i=o.clear();return r&&ut(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=qi(o,e,t)}),s}function Bn(e,t){const s=Gi(e,t);return(n,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ae(s,o)&&o in n?s:n,o,r)}const Ki={get:Bn(!1,!1)},Wi={get:Bn(!1,!0)},Ji={get:Bn(!0,!1)};const _r=new WeakMap,xr=new WeakMap,wr=new WeakMap,zi=new WeakMap;function Xi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qi(e){return e.__v_skip||!Object.isExtensible(e)?0:Xi(xi(e))}function Qs(e){return St(e)?e:qn(e,!1,Ui,Ki,_r)}function Cr(e){return qn(e,!1,Bi,Wi,xr)}function Sn(e){return qn(e,!0,Hi,Ji,wr)}function qn(e,t,s,n,o){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Qi(e);if(r===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,r===2?n:s);return o.set(e,l),l}function Bt(e){return St(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function St(e){return!!(e&&e.__v_isReadonly)}function Be(e){return!!(e&&e.__v_isShallow)}function Gn(e){return e?!!e.__v_raw:!1}function le(e){const t=e&&e.__v_raw;return t?le(t):e}function Yi(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&rr(e,"__v_skip",!0),e}const Se=e=>fe(e)?Qs(e):e,Ms=e=>fe(e)?Sn(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function Q(e){return Sr(e,!1)}function Zi(e){return Sr(e,!0)}function Sr(e,t){return Te(e)?e:new el(e,t)}class el{constructor(t,s){this.dep=new Hn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:le(t),this._value=s?t:Se(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Be(t)||St(t);t=n?t:le(t),Ct(t,s)&&(this._rawValue=t,this._value=n?t:Se(t),this.dep.trigger())}}function ft(e){return Te(e)?e.value:e}const tl={get:(e,t,s)=>t==="__v_raw"?e:ft(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return Te(o)&&!Te(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function Er(e){return Bt(e)?e:new Proxy(e,tl)}class sl{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Hn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&me!==this)return dr(this,!0),!0}get value(){const t=this.dep.track();return mr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function nl(e,t,s=!1){let n,o;return J(e)?n=e:(n=e.get,o=e.set),new sl(n,o,s)}const Ts={},Vs=new WeakMap;let Pt;function ol(e,t=!1,s=Pt){if(s){let n=Vs.get(s);n||Vs.set(s,n=[]),n.push(e)}}function rl(e,t,s=de){const{immediate:n,deep:o,once:r,scheduler:i,augmentJob:l,call:a}=s,u=V=>o?V:Be(V)||o===!1||o===0?dt(V,1):dt(V);let d,p,g,v,E=!1,x=!1;if(Te(e)?(p=()=>e.value,E=Be(e)):Bt(e)?(p=()=>u(e),E=!0):G(e)?(x=!0,E=e.some(V=>Bt(V)||Be(V)),p=()=>e.map(V=>{if(Te(V))return V.value;if(Bt(V))return u(V);if(J(V))return a?a(V,2):V()})):J(e)?t?p=a?()=>a(e,2):e:p=()=>{if(g){mt();try{g()}finally{ht()}}const V=Pt;Pt=d;try{return a?a(e,3,[v]):e(v)}finally{Pt=V}}:p=st,t&&o){const V=p,se=o===!0?1/0:o;p=()=>dt(V(),se)}const $=ki(),O=()=>{d.stop(),$&&$.active&&Vn($.effects,d)};if(r&&t){const V=t;t=(...se)=>{V(...se),O()}}let I=x?new Array(e.length).fill(Ts):Ts;const L=V=>{if(!(!(d.flags&1)||!d.dirty&&!V))if(t){const se=d.run();if(o||E||(x?se.some((K,S)=>Ct(K,I[S])):Ct(se,I))){g&&g();const K=Pt;Pt=d;try{const S=[se,I===Ts?void 0:x&&I[0]===Ts?[]:I,v];I=se,a?a(t,3,S):t(...S)}finally{Pt=K}}}else d.run()};return l&&l(L),d=new cr(p),d.scheduler=i?()=>i(L,!1):L,v=V=>ol(V,!1,d),g=d.onStop=()=>{const V=Vs.get(d);if(V){if(a)a(V,4);else for(const se of V)se();Vs.delete(d)}},t?n?L(!0):I=d.run():i?i(L.bind(null,!0),!0):d.run(),O.pause=d.pause.bind(d),O.resume=d.resume.bind(d),O.stop=O,O}function dt(e,t=1/0,s){if(t<=0||!fe(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Te(e))dt(e.value,t,s);else if(G(e))for(let n=0;n<e.length;n++)dt(e[n],t,s);else if(Ks(e)||Ht(e))e.forEach(n=>{dt(n,t,s)});else if(or(e)){for(const n in e)dt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&dt(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ws(e,t,s,n){try{return n?e(...n):e()}catch(o){Ys(o,t,s)}}function ot(e,t,s,n){if(J(e)){const o=ws(e,t,s,n);return o&&sr(o)&&o.catch(r=>{Ys(r,t,s)}),o}if(G(e)){const o=[];for(let r=0;r<e.length;r++)o.push(ot(e[r],t,s,n));return o}}function Ys(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||de;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const d=l.ec;if(d){for(let p=0;p<d.length;p++)if(d[p](e,a,u)===!1)return}l=l.parent}if(r){mt(),ws(r,null,10,[e,a,u]),ht();return}}il(e,s,o,n,i)}function il(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const Ne=[];let et=-1;const qt=[];let yt=null,Ft=0;const Ar=Promise.resolve();let js=null;function Kn(e){const t=js||Ar;return e?t.then(this?e.bind(this):e):t}function ll(e){let t=et+1,s=Ne.length;for(;t<s;){const n=t+s>>>1,o=Ne[n],r=gs(o);r<e||r===e&&o.flags&2?t=n+1:s=n}return t}function Wn(e){if(!(e.flags&1)){const t=gs(e),s=Ne[Ne.length-1];!s||!(e.flags&2)&&t>=gs(s)?Ne.push(e):Ne.splice(ll(t),0,e),e.flags|=1,Rr()}}function Rr(){js||(js=Ar.then(Or))}function al(e){G(e)?qt.push(...e):yt&&e.id===-1?yt.splice(Ft+1,0,e):e.flags&1||(qt.push(e),e.flags|=1),Rr()}function uo(e,t,s=et+1){for(;s<Ne.length;s++){const n=Ne[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Ne.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Tr(e){if(qt.length){const t=[...new Set(qt)].sort((s,n)=>gs(s)-gs(n));if(qt.length=0,yt){yt.push(...t);return}for(yt=t,Ft=0;Ft<yt.length;Ft++){const s=yt[Ft];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}yt=null,Ft=0}}const gs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Or(e){try{for(et=0;et<Ne.length;et++){const t=Ne[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ws(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;et<Ne.length;et++){const t=Ne[et];t&&(t.flags&=-2)}et=-1,Ne.length=0,Tr(),js=null,(Ne.length||qt.length)&&Or()}}let Le=null,Pr=null;function Fs(e){const t=Le;return Le=e,Pr=e&&e.type.__scopeId||null,t}function Ee(e,t=Le,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&Hs(-1);const r=Fs(t);let i;try{i=e(...o)}finally{Fs(r),n._d&&Hs(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function he(e,t){if(Le===null)return e;const s=nn(Le),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,l,a=de]=t[o];r&&(J(r)&&(r={mounted:r,updated:r}),r.deep&&dt(i),n.push({dir:r,instance:s,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Tt(e,t,s,n){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let a=l.dir[n];a&&(mt(),ot(a,s,8,[e.el,l,e,t]),ht())}}const cl=Symbol("_vte"),ul=e=>e.__isTeleport,dl=Symbol("_leaveCb");function Jn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Jn(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 Ir(e,t){return J(e)?Oe({name:e.name},t,{setup:e}):e}function Nr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ls=new WeakMap;function as(e,t,s,n,o=!1){if(G(e)){e.forEach((E,x)=>as(E,t&&(G(t)?t[x]:t),s,n,o));return}if(cs(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&as(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?nn(n.component):n.el,i=o?null:r,{i:l,r:a}=e,u=t&&t.r,d=l.refs===de?l.refs={}:l.refs,p=l.setupState,g=le(p),v=p===de?tr:E=>ae(g,E);if(u!=null&&u!==a){if(fo(t),_e(u))d[u]=null,v(u)&&(p[u]=null);else if(Te(u)){u.value=null;const E=t;E.k&&(d[E.k]=null)}}if(J(a))ws(a,l,12,[i,d]);else{const E=_e(a),x=Te(a);if(E||x){const $=()=>{if(e.f){const O=E?v(a)?p[a]:d[a]:a.value;if(o)G(O)&&Vn(O,r);else if(G(O))O.includes(r)||O.push(r);else if(E)d[a]=[r],v(a)&&(p[a]=d[a]);else{const I=[r];a.value=I,e.k&&(d[e.k]=I)}}else E?(d[a]=i,v(a)&&(p[a]=i)):x&&(a.value=i,e.k&&(d[e.k]=i))};if(i){const O=()=>{$(),Ls.delete(e)};O.id=-1,Ls.set(e,O),Fe(O,s)}else fo(e),$()}}}function fo(e){const t=Ls.get(e);t&&(t.flags|=8,Ls.delete(e))}zs().requestIdleCallback;zs().cancelIdleCallback;const cs=e=>!!e.type.__asyncLoader,kr=e=>e.type.__isKeepAlive;function fl(e,t){$r(e,"a",t)}function pl(e,t){$r(e,"da",t)}function $r(e,t,s=Re){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Zs(t,n,s),s){let o=s.parent;for(;o&&o.parent;)kr(o.parent.vnode)&&ml(n,t,s,o),o=o.parent}}function ml(e,t,s,n){const o=Zs(t,e,n,!0);Dr(()=>{Vn(n[t],o)},s)}function Zs(e,t,s=Re,n=!1){if(s){const o=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...i)=>{mt();const l=Ss(s),a=ot(t,s,e,i);return l(),ht(),a});return n?o.unshift(r):o.push(r),r}}const gt=e=>(t,s=Re)=>{(!bs||e==="sp")&&Zs(e,(...n)=>t(...n),s)},hl=gt("bm"),Cs=gt("m"),gl=gt("bu"),vl=gt("u"),bl=gt("bum"),Dr=gt("um"),yl=gt("sp"),_l=gt("rtg"),xl=gt("rtc");function wl(e,t=Re){Zs("ec",e,t)}const Cl="components";function $t(e,t){return El(Cl,e,!0,t)||e}const Sl=Symbol.for("v-ndc");function El(e,t,s=!0,n=!1){const o=Le||Re;if(o){const r=o.type;{const l=pa(r,!1);if(l&&(l===t||l===qe(t)||l===Js(qe(t))))return r}const i=po(o[e]||r[e],t)||po(o.appContext[e],t);return!i&&n?r:i}}function po(e,t){return e&&(e[t]||e[qe(t)]||e[Js(qe(t))])}function Gt(e,t,s,n){let o;const r=s,i=G(e);if(i||_e(e)){const l=i&&Bt(e);let a=!1,u=!1;l&&(a=!Be(e),u=St(e),e=Xs(e)),o=new Array(e.length);for(let d=0,p=e.length;d<p;d++)o[d]=t(a?u?Ms(Se(e[d])):Se(e[d]):e[d],d,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,r)}else if(fe(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const d=l[a];o[a]=t(e[d],d,a,r)}}else o=[];return o}const En=e=>e?si(e)?nn(e):En(e.parent):null,us=Oe(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=>En(e.parent),$root:e=>En(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{Wn(e.update)}),$nextTick:e=>e.n||(e.n=Kn.bind(e.proxy)),$watch:e=>Kl.bind(e)}),fn=(e,t)=>e!==de&&!e.__isScriptSetup&&ae(e,t),Al={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:r,accessCache:i,type:l,appContext:a}=e;let u;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return r[t]}else{if(fn(n,t))return i[t]=1,n[t];if(o!==de&&ae(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&ae(u,t))return i[t]=3,r[t];if(s!==de&&ae(s,t))return i[t]=4,s[t];An&&(i[t]=0)}}const d=us[t];let p,g;if(d)return t==="$attrs"&&Ae(e.attrs,"get",""),d(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(s!==de&&ae(s,t))return i[t]=4,s[t];if(g=a.config.globalProperties,ae(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:r}=e;return fn(o,t)?(o[t]=s,!0):n!==de&&ae(n,t)?(n[t]=s,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,propsOptions:r,type:i}},l){let a,u;return!!(s[l]||e!==de&&l[0]!=="$"&&ae(e,l)||fn(t,l)||(a=r[0])&&ae(a,l)||ae(n,l)||ae(us,l)||ae(o.config.globalProperties,l)||(u=i.__cssModules)&&u[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:ae(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function mo(e){return G(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let An=!0;function Rl(e){const t=Vr(e),s=e.proxy,n=e.ctx;An=!1,t.beforeCreate&&ho(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:u,created:d,beforeMount:p,mounted:g,beforeUpdate:v,updated:E,activated:x,deactivated:$,beforeDestroy:O,beforeUnmount:I,destroyed:L,unmounted:V,render:se,renderTracked:K,renderTriggered:S,errorCaptured:D,serverPrefetch:oe,expose:ne,inheritAttrs:X,components:b,directives:j,filters:At}=t;if(u&&Tl(u,n,null),i)for(const ue in i){const re=i[ue];J(re)&&(n[ue]=re.bind(s))}if(o){const ue=o.call(s,s);fe(ue)&&(e.data=Qs(ue))}if(An=!0,r)for(const ue in r){const re=r[ue],rt=J(re)?re.bind(s,s):J(re.get)?re.get.bind(s,s):st,vt=!J(re)&&J(re.set)?re.set.bind(s):st,ze=Ve({get:rt,set:vt});Object.defineProperty(n,ue,{enumerable:!0,configurable:!0,get:()=>ze.value,set:ke=>ze.value=ke})}if(l)for(const ue in l)Mr(l[ue],n,s,ue);if(a){const ue=J(a)?a.call(s):a;Reflect.ownKeys(ue).forEach(re=>{Ps(re,ue[re])})}d&&ho(d,e,"c");function we(ue,re){G(re)?re.forEach(rt=>ue(rt.bind(s))):re&&ue(re.bind(s))}if(we(hl,p),we(Cs,g),we(gl,v),we(vl,E),we(fl,x),we(pl,$),we(wl,D),we(xl,K),we(_l,S),we(bl,I),we(Dr,V),we(yl,oe),G(ne))if(ne.length){const ue=e.exposed||(e.exposed={});ne.forEach(re=>{Object.defineProperty(ue,re,{get:()=>s[re],set:rt=>s[re]=rt,enumerable:!0})})}else e.exposed||(e.exposed={});se&&e.render===st&&(e.render=se),X!=null&&(e.inheritAttrs=X),b&&(e.components=b),j&&(e.directives=j),oe&&Nr(e)}function Tl(e,t,s=st){G(e)&&(e=Rn(e));for(const n in e){const o=e[n];let r;fe(o)?"default"in o?r=We(o.from||n,o.default,!0):r=We(o.from||n):r=We(o),Te(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[n]=r}}function ho(e,t,s){ot(G(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Mr(e,t,s,n){let o=n.includes(".")?Xr(s,n):()=>s[n];if(_e(e)){const r=t[e];J(r)&&ds(o,r)}else if(J(e))ds(o,e.bind(s));else if(fe(e))if(G(e))e.forEach(r=>Mr(r,t,s,n));else{const r=J(e.handler)?e.handler.bind(s):t[e.handler];J(r)&&ds(o,r,e)}}function Vr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!s&&!n?a=t:(a={},o.length&&o.forEach(u=>Us(a,u,i,!0)),Us(a,t,i)),fe(t)&&r.set(t,a),a}function Us(e,t,s,n=!1){const{mixins:o,extends:r}=t;r&&Us(e,r,s,!0),o&&o.forEach(i=>Us(e,i,s,!0));for(const i in t)if(!(n&&i==="expose")){const l=Ol[i]||s&&s[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Ol={data:go,props:vo,emits:vo,methods:os,computed:os,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:os,directives:os,watch:Il,provide:go,inject:Pl};function go(e,t){return t?e?function(){return Oe(J(e)?e.call(this,this):e,J(t)?t.call(this,this):t)}:t:e}function Pl(e,t){return os(Rn(e),Rn(t))}function Rn(e){if(G(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function os(e,t){return e?Oe(Object.create(null),e,t):t}function vo(e,t){return e?G(e)&&G(t)?[...new Set([...e,...t])]:Oe(Object.create(null),mo(e),mo(t??{})):t}function Il(e,t){if(!e)return t;if(!t)return e;const s=Oe(Object.create(null),e);for(const n in t)s[n]=Pe(e[n],t[n]);return s}function jr(){return{app:null,config:{isNativeTag:tr,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Nl=0;function kl(e,t){return function(n,o=null){J(n)||(n=Oe({},n)),o!=null&&!fe(o)&&(o=null);const r=jr(),i=new WeakSet,l=[];let a=!1;const u=r.app={_uid:Nl++,_component:n,_props:o,_container:null,_context:r,_instance:null,version:ha,get config(){return r.config},set config(d){},use(d,...p){return i.has(d)||(d&&J(d.install)?(i.add(d),d.install(u,...p)):J(d)&&(i.add(d),d(u,...p))),u},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),u},component(d,p){return p?(r.components[d]=p,u):r.components[d]},directive(d,p){return p?(r.directives[d]=p,u):r.directives[d]},mount(d,p,g){if(!a){const v=u._ceVNode||z(n,o);return v.appContext=r,g===!0?g="svg":g===!1&&(g=void 0),e(v,d,g),a=!0,u._container=d,d.__vue_app__=u,nn(v.component)}},onUnmount(d){l.push(d)},unmount(){a&&(ot(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(d,p){return r.provides[d]=p,u},runWithContext(d){const p=Kt;Kt=u;try{return d()}finally{Kt=p}}};return u}}let Kt=null;function Ps(e,t){if(Re){let s=Re.provides;const n=Re.parent&&Re.parent.provides;n===s&&(s=Re.provides=Object.create(n)),s[e]=t}}function We(e,t,s=!1){const n=aa();if(n||Kt){let o=Kt?Kt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&J(t)?t.call(n&&n.proxy):t}}const Fr={},Lr=()=>Object.create(Fr),Ur=e=>Object.getPrototypeOf(e)===Fr;function $l(e,t,s,n=!1){const o={},r=Lr();e.propsDefaults=Object.create(null),Hr(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);s?e.props=n?o:Cr(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Dl(e,t,s,n){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=le(o),[a]=e.propsOptions;let u=!1;if((n||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let p=0;p<d.length;p++){let g=d[p];if(en(e.emitsOptions,g))continue;const v=t[g];if(a)if(ae(r,g))v!==r[g]&&(r[g]=v,u=!0);else{const E=qe(g);o[E]=Tn(a,l,E,v,e,!1)}else v!==r[g]&&(r[g]=v,u=!0)}}}else{Hr(e,t,o,r)&&(u=!0);let d;for(const p in l)(!t||!ae(t,p)&&((d=kt(p))===p||!ae(t,d)))&&(a?s&&(s[p]!==void 0||s[d]!==void 0)&&(o[p]=Tn(a,l,p,void 0,e,!0)):delete o[p]);if(r!==l)for(const p in r)(!t||!ae(t,p))&&(delete r[p],u=!0)}u&&ut(e.attrs,"set","")}function Hr(e,t,s,n){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(rs(a))continue;const u=t[a];let d;o&&ae(o,d=qe(a))?!r||!r.includes(d)?s[d]=u:(l||(l={}))[d]=u:en(e.emitsOptions,a)||(!(a in n)||u!==n[a])&&(n[a]=u,i=!0)}if(r){const a=le(s),u=l||de;for(let d=0;d<r.length;d++){const p=r[d];s[p]=Tn(o,a,p,u[p],e,!ae(u,p))}}return i}function Tn(e,t,s,n,o,r){const i=e[s];if(i!=null){const l=ae(i,"default");if(l&&n===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&J(a)){const{propsDefaults:u}=o;if(s in u)n=u[s];else{const d=Ss(o);n=u[s]=a.call(null,t),d()}}else n=a;o.ce&&o.ce._setProp(s,n)}i[0]&&(r&&!l?n=!1:i[1]&&(n===""||n===kt(s))&&(n=!0))}return n}const Ml=new WeakMap;function Br(e,t,s=!1){const n=s?Ml:t.propsCache,o=n.get(e);if(o)return o;const r=e.props,i={},l=[];let a=!1;if(!J(e)){const d=p=>{a=!0;const[g,v]=Br(p,t,!0);Oe(i,g),v&&l.push(...v)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!a)return fe(e)&&n.set(e,Ut),Ut;if(G(r))for(let d=0;d<r.length;d++){const p=qe(r[d]);bo(p)&&(i[p]=de)}else if(r)for(const d in r){const p=qe(d);if(bo(p)){const g=r[d],v=i[p]=G(g)||J(g)?{type:g}:Oe({},g),E=v.type;let x=!1,$=!0;if(G(E))for(let O=0;O<E.length;++O){const I=E[O],L=J(I)&&I.name;if(L==="Boolean"){x=!0;break}else L==="String"&&($=!1)}else x=J(E)&&E.name==="Boolean";v[0]=x,v[1]=$,(x||ae(v,"default"))&&l.push(p)}}const u=[i,l];return fe(e)&&n.set(e,u),u}function bo(e){return e[0]!=="$"&&!rs(e)}const zn=e=>e==="_"||e==="_ctx"||e==="$stable",Xn=e=>G(e)?e.map(tt):[tt(e)],Vl=(e,t,s)=>{if(t._n)return t;const n=Ee((...o)=>Xn(t(...o)),s);return n._c=!1,n},qr=(e,t,s)=>{const n=e._ctx;for(const o in e){if(zn(o))continue;const r=e[o];if(J(r))t[o]=Vl(o,r,n);else if(r!=null){const i=Xn(r);t[o]=()=>i}}},Gr=(e,t)=>{const s=Xn(t);e.slots.default=()=>s},Kr=(e,t,s)=>{for(const n in t)(s||!zn(n))&&(e[n]=t[n])},jl=(e,t,s)=>{const n=e.slots=Lr();if(e.vnode.shapeFlag&32){const o=t._;o?(Kr(n,t,s),s&&rr(n,"_",o,!0)):qr(t,n)}else t&&Gr(e,t)},Fl=(e,t,s)=>{const{vnode:n,slots:o}=e;let r=!0,i=de;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Kr(o,t,s):(r=!t.$stable,qr(t,o)),i=t}else t&&(Gr(e,t),i={default:1});if(r)for(const l in o)!zn(l)&&i[l]==null&&delete o[l]},Fe=ea;function Ll(e){return Ul(e)}function Ul(e,t){const s=zs();s.__VUE__=!0;const{insert:n,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:u,setElementText:d,parentNode:p,nextSibling:g,setScopeId:v=st,insertStaticContent:E}=e,x=(f,m,h,_=null,C=null,y=null,P=void 0,T=null,R=!!m.dynamicChildren)=>{if(f===m)return;f&&!ss(f,m)&&(_=w(f),ke(f,C,y,!0),f=null),m.patchFlag===-2&&(R=!1,m.dynamicChildren=null);const{type:A,ref:q,shapeFlag:k}=m;switch(A){case tn:$(f,m,h,_);break;case Et:O(f,m,h,_);break;case Is:f==null&&I(m,h,_,P);break;case Ce:b(f,m,h,_,C,y,P,T,R);break;default:k&1?se(f,m,h,_,C,y,P,T,R):k&6?j(f,m,h,_,C,y,P,T,R):(k&64||k&128)&&A.process(f,m,h,_,C,y,P,T,R,H)}q!=null&&C?as(q,f&&f.ref,y,m||f,!m):q==null&&f&&f.ref!=null&&as(f.ref,null,y,f,!0)},$=(f,m,h,_)=>{if(f==null)n(m.el=l(m.children),h,_);else{const C=m.el=f.el;m.children!==f.children&&u(C,m.children)}},O=(f,m,h,_)=>{f==null?n(m.el=a(m.children||""),h,_):m.el=f.el},I=(f,m,h,_)=>{[f.el,f.anchor]=E(f.children,m,h,_,f.el,f.anchor)},L=({el:f,anchor:m},h,_)=>{let C;for(;f&&f!==m;)C=g(f),n(f,h,_),f=C;n(m,h,_)},V=({el:f,anchor:m})=>{let h;for(;f&&f!==m;)h=g(f),o(f),f=h;o(m)},se=(f,m,h,_,C,y,P,T,R)=>{m.type==="svg"?P="svg":m.type==="math"&&(P="mathml"),f==null?K(m,h,_,C,y,P,T,R):oe(f,m,C,y,P,T,R)},K=(f,m,h,_,C,y,P,T)=>{let R,A;const{props:q,shapeFlag:k,transition:B,dirs:W}=f;if(R=f.el=i(f.type,y,q&&q.is,q),k&8?d(R,f.children):k&16&&D(f.children,R,null,_,C,pn(f,y),P,T),W&&Tt(f,null,_,"created"),S(R,f,f.scopeId,P,_),q){for(const pe in q)pe!=="value"&&!rs(pe)&&r(R,pe,null,q[pe],y,_);"value"in q&&r(R,"value",null,q.value,y),(A=q.onVnodeBeforeMount)&&Ze(A,_,f)}W&&Tt(f,null,_,"beforeMount");const te=Hl(C,B);te&&B.beforeEnter(R),n(R,m,h),((A=q&&q.onVnodeMounted)||te||W)&&Fe(()=>{A&&Ze(A,_,f),te&&B.enter(R),W&&Tt(f,null,_,"mounted")},C)},S=(f,m,h,_,C)=>{if(h&&v(f,h),_)for(let y=0;y<_.length;y++)v(f,_[y]);if(C){let y=C.subTree;if(m===y||Yr(y.type)&&(y.ssContent===m||y.ssFallback===m)){const P=C.vnode;S(f,P,P.scopeId,P.slotScopeIds,C.parent)}}},D=(f,m,h,_,C,y,P,T,R=0)=>{for(let A=R;A<f.length;A++){const q=f[A]=T?_t(f[A]):tt(f[A]);x(null,q,m,h,_,C,y,P,T)}},oe=(f,m,h,_,C,y,P)=>{const T=m.el=f.el;let{patchFlag:R,dynamicChildren:A,dirs:q}=m;R|=f.patchFlag&16;const k=f.props||de,B=m.props||de;let W;if(h&&Ot(h,!1),(W=B.onVnodeBeforeUpdate)&&Ze(W,h,m,f),q&&Tt(m,f,h,"beforeUpdate"),h&&Ot(h,!0),(k.innerHTML&&B.innerHTML==null||k.textContent&&B.textContent==null)&&d(T,""),A?ne(f.dynamicChildren,A,T,h,_,pn(m,C),y):P||re(f,m,T,null,h,_,pn(m,C),y,!1),R>0){if(R&16)X(T,k,B,h,C);else if(R&2&&k.class!==B.class&&r(T,"class",null,B.class,C),R&4&&r(T,"style",k.style,B.style,C),R&8){const te=m.dynamicProps;for(let pe=0;pe<te.length;pe++){const ce=te[pe],$e=k[ce],De=B[ce];(De!==$e||ce==="value")&&r(T,ce,$e,De,C,h)}}R&1&&f.children!==m.children&&d(T,m.children)}else!P&&A==null&&X(T,k,B,h,C);((W=B.onVnodeUpdated)||q)&&Fe(()=>{W&&Ze(W,h,m,f),q&&Tt(m,f,h,"updated")},_)},ne=(f,m,h,_,C,y,P)=>{for(let T=0;T<m.length;T++){const R=f[T],A=m[T],q=R.el&&(R.type===Ce||!ss(R,A)||R.shapeFlag&198)?p(R.el):h;x(R,A,q,null,_,C,y,P,!0)}},X=(f,m,h,_,C)=>{if(m!==h){if(m!==de)for(const y in m)!rs(y)&&!(y in h)&&r(f,y,m[y],null,C,_);for(const y in h){if(rs(y))continue;const P=h[y],T=m[y];P!==T&&y!=="value"&&r(f,y,T,P,C,_)}"value"in h&&r(f,"value",m.value,h.value,C)}},b=(f,m,h,_,C,y,P,T,R)=>{const A=m.el=f?f.el:l(""),q=m.anchor=f?f.anchor:l("");let{patchFlag:k,dynamicChildren:B,slotScopeIds:W}=m;W&&(T=T?T.concat(W):W),f==null?(n(A,h,_),n(q,h,_),D(m.children||[],h,q,C,y,P,T,R)):k>0&&k&64&&B&&f.dynamicChildren?(ne(f.dynamicChildren,B,h,C,y,P,T),(m.key!=null||C&&m===C.subTree)&&Wr(f,m,!0)):re(f,m,h,q,C,y,P,T,R)},j=(f,m,h,_,C,y,P,T,R)=>{m.slotScopeIds=T,f==null?m.shapeFlag&512?C.ctx.activate(m,h,_,P,R):At(m,h,_,C,y,P,R):Dt(f,m,R)},At=(f,m,h,_,C,y,P)=>{const T=f.component=la(f,_,C);if(kr(f)&&(T.ctx.renderer=H),ca(T,!1,P),T.asyncDep){if(C&&C.registerDep(T,we,P),!f.el){const R=T.subTree=z(Et);O(null,R,m,h),f.placeholder=R.el}}else we(T,f,m,h,C,y,P)},Dt=(f,m,h)=>{const _=m.component=f.component;if(Yl(f,m,h))if(_.asyncDep&&!_.asyncResolved){ue(_,m,h);return}else _.next=m,_.update();else m.el=f.el,_.vnode=m},we=(f,m,h,_,C,y,P)=>{const T=()=>{if(f.isMounted){let{next:k,bu:B,u:W,parent:te,vnode:pe}=f;{const Qe=Jr(f);if(Qe){k&&(k.el=pe.el,ue(f,k,P)),Qe.asyncDep.then(()=>{f.isUnmounted||T()});return}}let ce=k,$e;Ot(f,!1),k?(k.el=pe.el,ue(f,k,P)):k=pe,B&&Os(B),($e=k.props&&k.props.onVnodeBeforeUpdate)&&Ze($e,te,k,pe),Ot(f,!0);const De=_o(f),Xe=f.subTree;f.subTree=De,x(Xe,De,p(Xe.el),w(Xe),f,C,y),k.el=De.el,ce===null&&Zl(f,De.el),W&&Fe(W,C),($e=k.props&&k.props.onVnodeUpdated)&&Fe(()=>Ze($e,te,k,pe),C)}else{let k;const{el:B,props:W}=m,{bm:te,m:pe,parent:ce,root:$e,type:De}=f,Xe=cs(m);Ot(f,!1),te&&Os(te),!Xe&&(k=W&&W.onVnodeBeforeMount)&&Ze(k,ce,m),Ot(f,!0);{$e.ce&&$e.ce._def.shadowRoot!==!1&&$e.ce._injectChildStyle(De);const Qe=f.subTree=_o(f);x(null,Qe,h,_,f,C,y),m.el=Qe.el}if(pe&&Fe(pe,C),!Xe&&(k=W&&W.onVnodeMounted)){const Qe=m;Fe(()=>Ze(k,ce,Qe),C)}(m.shapeFlag&256||ce&&cs(ce.vnode)&&ce.vnode.shapeFlag&256)&&f.a&&Fe(f.a,C),f.isMounted=!0,m=h=_=null}};f.scope.on();const R=f.effect=new cr(T);f.scope.off();const A=f.update=R.run.bind(R),q=f.job=R.runIfDirty.bind(R);q.i=f,q.id=f.uid,R.scheduler=()=>Wn(q),Ot(f,!0),A()},ue=(f,m,h)=>{m.component=f;const _=f.vnode.props;f.vnode=m,f.next=null,Dl(f,m.props,_,h),Fl(f,m.children,h),mt(),uo(f),ht()},re=(f,m,h,_,C,y,P,T,R=!1)=>{const A=f&&f.children,q=f?f.shapeFlag:0,k=m.children,{patchFlag:B,shapeFlag:W}=m;if(B>0){if(B&128){vt(A,k,h,_,C,y,P,T,R);return}else if(B&256){rt(A,k,h,_,C,y,P,T,R);return}}W&8?(q&16&&He(A,C,y),k!==A&&d(h,k)):q&16?W&16?vt(A,k,h,_,C,y,P,T,R):He(A,C,y,!0):(q&8&&d(h,""),W&16&&D(k,h,_,C,y,P,T,R))},rt=(f,m,h,_,C,y,P,T,R)=>{f=f||Ut,m=m||Ut;const A=f.length,q=m.length,k=Math.min(A,q);let B;for(B=0;B<k;B++){const W=m[B]=R?_t(m[B]):tt(m[B]);x(f[B],W,h,null,C,y,P,T,R)}A>q?He(f,C,y,!0,!1,k):D(m,h,_,C,y,P,T,R,k)},vt=(f,m,h,_,C,y,P,T,R)=>{let A=0;const q=m.length;let k=f.length-1,B=q-1;for(;A<=k&&A<=B;){const W=f[A],te=m[A]=R?_t(m[A]):tt(m[A]);if(ss(W,te))x(W,te,h,null,C,y,P,T,R);else break;A++}for(;A<=k&&A<=B;){const W=f[k],te=m[B]=R?_t(m[B]):tt(m[B]);if(ss(W,te))x(W,te,h,null,C,y,P,T,R);else break;k--,B--}if(A>k){if(A<=B){const W=B+1,te=W<q?m[W].el:_;for(;A<=B;)x(null,m[A]=R?_t(m[A]):tt(m[A]),h,te,C,y,P,T,R),A++}}else if(A>B)for(;A<=k;)ke(f[A],C,y,!0),A++;else{const W=A,te=A,pe=new Map;for(A=te;A<=B;A++){const je=m[A]=R?_t(m[A]):tt(m[A]);je.key!=null&&pe.set(je.key,A)}let ce,$e=0;const De=B-te+1;let Xe=!1,Qe=0;const es=new Array(De);for(A=0;A<De;A++)es[A]=0;for(A=W;A<=k;A++){const je=f[A];if($e>=De){ke(je,C,y,!0);continue}let Ye;if(je.key!=null)Ye=pe.get(je.key);else for(ce=te;ce<=B;ce++)if(es[ce-te]===0&&ss(je,m[ce])){Ye=ce;break}Ye===void 0?ke(je,C,y,!0):(es[Ye-te]=A+1,Ye>=Qe?Qe=Ye:Xe=!0,x(je,m[Ye],h,null,C,y,P,T,R),$e++)}const no=Xe?Bl(es):Ut;for(ce=no.length-1,A=De-1;A>=0;A--){const je=te+A,Ye=m[je],oo=m[je+1],ro=je+1<q?oo.el||oo.placeholder:_;es[A]===0?x(null,Ye,h,ro,C,y,P,T,R):Xe&&(ce<0||A!==no[ce]?ze(Ye,h,ro,2):ce--)}}},ze=(f,m,h,_,C=null)=>{const{el:y,type:P,transition:T,children:R,shapeFlag:A}=f;if(A&6){ze(f.component.subTree,m,h,_);return}if(A&128){f.suspense.move(m,h,_);return}if(A&64){P.move(f,m,h,H);return}if(P===Ce){n(y,m,h);for(let k=0;k<R.length;k++)ze(R[k],m,h,_);n(f.anchor,m,h);return}if(P===Is){L(f,m,h);return}if(_!==2&&A&1&&T)if(_===0)T.beforeEnter(y),n(y,m,h),Fe(()=>T.enter(y),C);else{const{leave:k,delayLeave:B,afterLeave:W}=T,te=()=>{f.ctx.isUnmounted?o(y):n(y,m,h)},pe=()=>{y._isLeaving&&y[dl](!0),k(y,()=>{te(),W&&W()})};B?B(y,te,pe):pe()}else n(y,m,h)},ke=(f,m,h,_=!1,C=!1)=>{const{type:y,props:P,ref:T,children:R,dynamicChildren:A,shapeFlag:q,patchFlag:k,dirs:B,cacheIndex:W}=f;if(k===-2&&(C=!1),T!=null&&(mt(),as(T,null,h,f,!0),ht()),W!=null&&(m.renderCache[W]=void 0),q&256){m.ctx.deactivate(f);return}const te=q&1&&B,pe=!cs(f);let ce;if(pe&&(ce=P&&P.onVnodeBeforeUnmount)&&Ze(ce,m,f),q&6)Rt(f.component,h,_);else{if(q&128){f.suspense.unmount(h,_);return}te&&Tt(f,null,m,"beforeUnmount"),q&64?f.type.remove(f,m,h,H,_):A&&!A.hasOnce&&(y!==Ce||k>0&&k&64)?He(A,m,h,!1,!0):(y===Ce&&k&384||!C&&q&16)&&He(R,m,h),_&&Mt(f)}(pe&&(ce=P&&P.onVnodeUnmounted)||te)&&Fe(()=>{ce&&Ze(ce,m,f),te&&Tt(f,null,m,"unmounted")},h)},Mt=f=>{const{type:m,el:h,anchor:_,transition:C}=f;if(m===Ce){Vt(h,_);return}if(m===Is){V(f);return}const y=()=>{o(h),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(f.shapeFlag&1&&C&&!C.persisted){const{leave:P,delayLeave:T}=C,R=()=>P(h,y);T?T(f.el,y,R):R()}else y()},Vt=(f,m)=>{let h;for(;f!==m;)h=g(f),o(f),f=h;o(m)},Rt=(f,m,h)=>{const{bum:_,scope:C,job:y,subTree:P,um:T,m:R,a:A}=f;yo(R),yo(A),_&&Os(_),C.stop(),y&&(y.flags|=8,ke(P,f,m,h)),T&&Fe(T,m),Fe(()=>{f.isUnmounted=!0},m)},He=(f,m,h,_=!1,C=!1,y=0)=>{for(let P=y;P<f.length;P++)ke(f[P],m,h,_,C)},w=f=>{if(f.shapeFlag&6)return w(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const m=g(f.anchor||f.el),h=m&&m[cl];return h?g(h):m};let M=!1;const N=(f,m,h)=>{f==null?m._vnode&&ke(m._vnode,null,null,!0):x(m._vnode||null,f,m,null,null,null,h),m._vnode=f,M||(M=!0,uo(),Tr(),M=!1)},H={p:x,um:ke,m:ze,r:Mt,mt:At,mc:D,pc:re,pbc:ne,n:w,o:e};return{render:N,hydrate:void 0,createApp:kl(N)}}function pn({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ot({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wr(e,t,s=!1){const n=e.children,o=t.children;if(G(n)&&G(o))for(let r=0;r<n.length;r++){const i=n[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=_t(o[r]),l.el=i.el),!s&&l.patchFlag!==-2&&Wr(i,l)),l.type===tn&&l.patchFlag!==-1&&(l.el=i.el),l.type===Et&&!l.el&&(l.el=i.el)}}function Bl(e){const t=e.slice(),s=[0];let n,o,r,i,l;const a=e.length;for(n=0;n<a;n++){const u=e[n];if(u!==0){if(o=s[s.length-1],e[o]<u){t[n]=o,s.push(n);continue}for(r=0,i=s.length-1;r<i;)l=r+i>>1,e[s[l]]<u?r=l+1:i=l;u<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,i=s[r-1];r-- >0;)s[r]=i,i=t[i];return s}function Jr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Jr(t)}function yo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ql=Symbol.for("v-scx"),Gl=()=>We(ql);function ds(e,t,s){return zr(e,t,s)}function zr(e,t,s=de){const{immediate:n,deep:o,flush:r,once:i}=s,l=Oe({},s),a=t&&n||!t&&r!=="post";let u;if(bs){if(r==="sync"){const v=Gl();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!a){const v=()=>{};return v.stop=st,v.resume=st,v.pause=st,v}}const d=Re;l.call=(v,E,x)=>ot(v,d,E,x);let p=!1;r==="post"?l.scheduler=v=>{Fe(v,d&&d.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(v,E)=>{E?v():Wn(v)}),l.augmentJob=v=>{t&&(v.flags|=4),p&&(v.flags|=2,d&&(v.id=d.uid,v.i=d))};const g=rl(e,t,l);return bs&&(u?u.push(g):a&&g()),g}function Kl(e,t,s){const n=this.proxy,o=_e(e)?e.includes(".")?Xr(n,e):()=>n[e]:e.bind(n,n);let r;J(t)?r=t:(r=t.handler,s=t);const i=Ss(this),l=zr(o,r.bind(n),s);return i(),l}function Xr(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const Wl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qe(t)}Modifiers`]||e[`${kt(t)}Modifiers`];function Jl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||de;let o=s;const r=t.startsWith("update:"),i=r&&Wl(n,t.slice(7));i&&(i.trim&&(o=s.map(d=>_e(d)?d.trim():d)),i.number&&(o=s.map(Ds)));let l,a=n[l=ln(t)]||n[l=ln(qe(t))];!a&&r&&(a=n[l=ln(kt(t))]),a&&ot(a,e,6,o);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ot(u,e,6,o)}}const zl=new WeakMap;function Qr(e,t,s=!1){const n=s?zl:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!J(e)){const a=u=>{const d=Qr(u,t,!0);d&&(l=!0,Oe(i,d))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(fe(e)&&n.set(e,null),null):(G(r)?r.forEach(a=>i[a]=null):Oe(i,r),fe(e)&&n.set(e,i),i)}function en(e,t){return!e||!Gs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,kt(t))||ae(e,t))}function _o(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:a,render:u,renderCache:d,props:p,data:g,setupState:v,ctx:E,inheritAttrs:x}=e,$=Fs(e);let O,I;try{if(s.shapeFlag&4){const V=o||n,se=V;O=tt(u.call(se,V,d,p,v,g,E)),I=l}else{const V=t;O=tt(V.length>1?V(p,{attrs:l,slots:i,emit:a}):V(p,null)),I=t.props?l:Xl(l)}}catch(V){fs.length=0,Ys(V,e,1),O=z(Et)}let L=O;if(I&&x!==!1){const V=Object.keys(I),{shapeFlag:se}=L;V.length&&se&7&&(r&&V.some(Mn)&&(I=Ql(I,r)),L=zt(L,I,!1,!0))}return s.dirs&&(L=zt(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(s.dirs):s.dirs),s.transition&&Jn(L,s.transition),O=L,Fs($),O}const Xl=e=>{let t;for(const s in e)(s==="class"||s==="style"||Gs(s))&&((t||(t={}))[s]=e[s]);return t},Ql=(e,t)=>{const s={};for(const n in e)(!Mn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Yl(e,t,s){const{props:n,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?xo(n,i,u):!!i;if(a&8){const d=t.dynamicProps;for(let p=0;p<d.length;p++){const g=d[p];if(i[g]!==n[g]&&!en(u,g))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:n===i?!1:n?i?xo(n,i,u):!0:!!i;return!1}function xo(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const r=n[o];if(t[r]!==e[r]&&!en(s,r))return!0}return!1}function Zl({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Yr=e=>e.__isSuspense;function ea(e,t){t&&t.pendingBranch?G(e)?t.effects.push(...e):t.effects.push(e):al(e)}const Ce=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),Is=Symbol.for("v-stc"),fs=[];let Ue=null;function F(e=!1){fs.push(Ue=e?null:[])}function ta(){fs.pop(),Ue=fs[fs.length-1]||null}let vs=1;function Hs(e,t=!1){vs+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function Zr(e){return e.dynamicChildren=vs>0?Ue||Ut:null,ta(),vs>0&&Ue&&Ue.push(e),e}function U(e,t,s,n,o,r){return Zr(c(e,t,s,n,o,r,!0))}function ei(e,t,s,n,o){return Zr(z(e,t,s,n,o,!0))}function Bs(e){return e?e.__v_isVNode===!0:!1}function ss(e,t){return e.type===t.type&&e.key===t.key}const ti=({key:e})=>e??null,Ns=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Te(e)||J(e)?{i:Le,r:e,k:t,f:!!s}:e:null);function c(e,t=null,s=null,n=0,o=null,r=e===Ce?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ti(t),ref:t&&Ns(t),scopeId:Pr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Le};return l?(Qn(a,s),r&128&&e.normalize(a)):s&&(a.shapeFlag|=_e(s)?8:16),vs>0&&!i&&Ue&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Ue.push(a),a}const z=sa;function sa(e,t=null,s=null,n=0,o=null,r=!1){if((!e||e===Sl)&&(e=Et),Bs(e)){const l=zt(e,t,!0);return s&&Qn(l,s),vs>0&&!r&&Ue&&(l.shapeFlag&6?Ue[Ue.indexOf(e)]=l:Ue.push(l)),l.patchFlag=-2,l}if(ma(e)&&(e=e.__vccOpts),t){t=na(t);let{class:l,style:a}=t;l&&!_e(l)&&(t.class=ge(l)),fe(a)&&(Gn(a)&&!G(a)&&(a=Oe({},a)),t.style=Wt(a))}const i=_e(e)?1:Yr(e)?128:ul(e)?64:fe(e)?4:J(e)?2:0;return c(e,t,s,n,o,i,r,!0)}function na(e){return e?Gn(e)||Ur(e)?Oe({},e):e:null}function zt(e,t,s=!1,n=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:a}=e,u=t?oa(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&ti(u),ref:t&&t.ref?s&&r?G(r)?r.concat(Ns(t)):[r,Ns(t)]:Ns(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&zt(e.ssContent),ssFallback:e.ssFallback&&zt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&Jn(d,a.clone(d)),d}function Z(e=" ",t=0){return z(tn,null,e,t)}function sn(e,t){const s=z(Is,null,e);return s.staticCount=t,s}function ve(e="",t=!1){return t?(F(),ei(Et,null,e)):z(Et,null,e)}function tt(e){return e==null||typeof e=="boolean"?z(Et):G(e)?z(Ce,null,e.slice()):Bs(e)?_t(e):z(tn,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zt(e)}function Qn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(G(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Qn(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Ur(t)?t._ctx=Le:o===3&&Le&&(Le.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else J(t)?(t={default:t,_ctx:Le},s=32):(t=String(t),n&64?(s=16,t=[Z(t)]):s=8);e.children=t,e.shapeFlag|=s}function oa(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=ge([t.class,n.class]));else if(o==="style")t.style=Wt([t.style,n.style]);else if(Gs(o)){const r=t[o],i=n[o];i&&r!==i&&!(G(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=n[o])}return t}function Ze(e,t,s,n=null){ot(e,t,7,[s,n])}const ra=jr();let ia=0;function la(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||ra,r={uid:ia++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ni(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Br(n,o),emitsOptions:Qr(n,o),emit:null,emitted:null,propsDefaults:de,inheritAttrs:n.inheritAttrs,ctx:de,data:de,props:de,attrs:de,slots:de,refs:de,setupState:de,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Jl.bind(null,r),e.ce&&e.ce(r),r}let Re=null;const aa=()=>Re||Le;let qs,On;{const e=zs(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};qs=t("__VUE_INSTANCE_SETTERS__",s=>Re=s),On=t("__VUE_SSR_SETTERS__",s=>bs=s)}const Ss=e=>{const t=Re;return qs(e),e.scope.on(),()=>{e.scope.off(),qs(t)}},wo=()=>{Re&&Re.scope.off(),qs(null)};function si(e){return e.vnode.shapeFlag&4}let bs=!1;function ca(e,t=!1,s=!1){t&&On(t);const{props:n,children:o}=e.vnode,r=si(e);$l(e,n,r,t),jl(e,o,s||t);const i=r?ua(e,t):void 0;return t&&On(!1),i}function ua(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Al);const{setup:n}=s;if(n){mt();const o=e.setupContext=n.length>1?fa(e):null,r=Ss(e),i=ws(n,e,0,[e.props,o]),l=sr(i);if(ht(),r(),(l||e.sp)&&!cs(e)&&Nr(e),l){if(i.then(wo,wo),t)return i.then(a=>{Co(e,a)}).catch(a=>{Ys(a,e,0)});e.asyncDep=i}else Co(e,i)}else ni(e)}function Co(e,t,s){J(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Er(t)),ni(e)}function ni(e,t,s){const n=e.type;e.render||(e.render=n.render||st);{const o=Ss(e);mt();try{Rl(e)}finally{ht(),o()}}}const da={get(e,t){return Ae(e,"get",""),e[t]}};function fa(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,da),slots:e.slots,emit:e.emit,expose:t}}function nn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Er(Yi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in us)return us[s](e)},has(t,s){return s in t||s in us}})):e.proxy}function pa(e,t=!0){return J(e)?e.displayName||e.name:e.name||t&&e.__name}function ma(e){return J(e)&&"__vccOpts"in e}const Ve=(e,t)=>nl(e,t,bs);function oi(e,t,s){try{Hs(-1);const n=arguments.length;return n===2?fe(t)&&!G(t)?Bs(t)?z(e,null,[t]):z(e,t):z(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Bs(s)&&(s=[s]),z(e,t,s))}finally{Hs(1)}}const ha="3.5.22";/**
* @vue/runtime-dom v3.5.22
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Pn;const So=typeof window<"u"&&window.trustedTypes;if(So)try{Pn=So.createPolicy("vue",{createHTML:e=>e})}catch{}const ri=Pn?e=>Pn.createHTML(e):e=>e,ga="http://www.w3.org/2000/svg",va="http://www.w3.org/1998/Math/MathML",at=typeof document<"u"?document:null,Eo=at&&at.createElement("template"),ba={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?at.createElementNS(ga,e):t==="mathml"?at.createElementNS(va,e):s?at.createElement(e,{is:s}):at.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>at.createTextNode(e),createComment:e=>at.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>at.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,r){const i=s?s.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===r||!(o=o.nextSibling)););else{Eo.innerHTML=ri(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Eo.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},ya=Symbol("_vtc");function _a(e,t,s){const n=e[ya];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Ao=Symbol("_vod"),xa=Symbol("_vsh"),wa=Symbol(""),Ca=/(?:^|;)\s*display\s*:/;function Sa(e,t,s){const n=e.style,o=_e(s);let r=!1;if(s&&!o){if(t)if(_e(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();s[l]==null&&ks(n,l,"")}else for(const i in t)s[i]==null&&ks(n,i,"");for(const i in s)i==="display"&&(r=!0),ks(n,i,s[i])}else if(o){if(t!==s){const i=n[wa];i&&(s+=";"+i),n.cssText=s,r=Ca.test(s)}}else t&&e.removeAttribute("style");Ao in e&&(e[Ao]=r?n.display:"",e[xa]&&(n.display="none"))}const Ro=/\s*!important$/;function ks(e,t,s){if(G(s))s.forEach(n=>ks(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Ea(e,t);Ro.test(s)?e.setProperty(kt(n),s.replace(Ro,""),"important"):e[n]=s}}const To=["Webkit","Moz","ms"],mn={};function Ea(e,t){const s=mn[t];if(s)return s;let n=qe(t);if(n!=="filter"&&n in e)return mn[t]=n;n=Js(n);for(let o=0;o<To.length;o++){const r=To[o]+n;if(r in e)return mn[t]=r}return t}const Oo="http://www.w3.org/1999/xlink";function Po(e,t,s,n,o,r=Oi(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Oo,t.slice(6,t.length)):e.setAttributeNS(Oo,t,s):s==null||r&&!ir(s)?e.removeAttribute(t):e.setAttribute(t,r?"":nt(s)?String(s):s)}function Io(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?ri(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=s==null?e.type==="checkbox"?"on":"":String(s);(l!==a||!("_value"in e))&&(e.value=a),s==null&&e.removeAttribute(t),e._value=s;return}let i=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=ir(s):s==null&&l==="string"?(s="",i=!0):l==="number"&&(s=0,i=!0)}try{e[t]=s}catch{}i&&e.removeAttribute(o||t)}function wt(e,t,s,n){e.addEventListener(t,s,n)}function Aa(e,t,s,n){e.removeEventListener(t,s,n)}const No=Symbol("_vei");function Ra(e,t,s,n,o=null){const r=e[No]||(e[No]={}),i=r[t];if(n&&i)i.value=n;else{const[l,a]=Ta(t);if(n){const u=r[t]=Ia(n,o);wt(e,l,u,a)}else i&&(Aa(e,l,i,a),r[t]=void 0)}}const ko=/(?:Once|Passive|Capture)$/;function Ta(e){let t;if(ko.test(e)){t={};let n;for(;n=e.match(ko);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):kt(e.slice(2)),t]}let hn=0;const Oa=Promise.resolve(),Pa=()=>hn||(Oa.then(()=>hn=0),hn=Date.now());function Ia(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;ot(Na(n,s.value),t,5,[n])};return s.value=e,s.attached=Pa(),s}function Na(e,t){if(G(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const $o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ka=(e,t,s,n,o,r)=>{const i=o==="svg";t==="class"?_a(e,n,i):t==="style"?Sa(e,s,n):Gs(t)?Mn(t)||Ra(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$a(e,t,n,i))?(Io(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Po(e,t,n,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!_e(n))?Io(e,qe(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Po(e,t,n,i))};function $a(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&$o(t)&&J(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return $o(t)&&_e(s)?!1:t in e}const Xt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return G(t)?s=>Os(t,s):t};function Da(e){e.target.composing=!0}function Do(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const pt=Symbol("_assign"),ye={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[pt]=Xt(o);const r=n||o.props&&o.props.type==="number";wt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;s&&(l=l.trim()),r&&(l=Ds(l)),e[pt](l)}),s&&wt(e,"change",()=>{e.value=e.value.trim()}),t||(wt(e,"compositionstart",Da),wt(e,"compositionend",Do),wt(e,"change",Do))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:r}},i){if(e[pt]=Xt(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Ds(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===a)||(e.value=a))}},Mo={created(e,{value:t},s){e.checked=Jt(t,s.props.value),e[pt]=Xt(s),wt(e,"change",()=>{e[pt](ys(e))})},beforeUpdate(e,{value:t,oldValue:s},n){e[pt]=Xt(n),t!==s&&(e.checked=Jt(t,n.props.value))}},$s={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=Ks(t);wt(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>s?Ds(ys(i)):ys(i));e[pt](e.multiple?o?new Set(r):r:r[0]),e._assigning=!0,Kn(()=>{e._assigning=!1})}),e[pt]=Xt(n)},mounted(e,{value:t}){Vo(e,t)},beforeUpdate(e,t,s){e[pt]=Xt(s)},updated(e,{value:t}){e._assigning||Vo(e,t)}};function Vo(e,t){const s=e.multiple,n=G(t);if(!(s&&!n&&!Ks(t))){for(let o=0,r=e.options.length;o<r;o++){const i=e.options[o],l=ys(i);if(s)if(n){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(u=>String(u)===String(l)):i.selected=Ii(t,l)>-1}else i.selected=t.has(l);else if(Jt(ys(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ys(e){return"_value"in e?e._value:e.value}const Ma=["ctrl","shift","alt","meta"],Va={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)=>Ma.some(s=>e[`${s}Key`]&&!t.includes(s))},ct=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...r)=>{for(let i=0;i<t.length;i++){const l=Va[t[i]];if(l&&l(o,t))return}return e(o,...r)}))},ja=Oe({patchProp:ka},ba);let jo;function Fa(){return jo||(jo=Ll(ja))}const La=((...e)=>{const t=Fa().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Ha(n);if(!o)return;const r=t._component;!J(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=s(o,!1,Ua(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function Ua(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ha(e){return _e(e)?document.querySelector(e):e}const Ge=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},Ba={};function qa(e,t){const s=$t("RouterView");return F(),ei(s)}const Ga=Ge(Ba,[["render",qa]]);/*!
* vue-router v4.6.3
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/const Lt=typeof document<"u";function ii(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ka(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ii(e.default)}const ie=Object.assign;function gn(e,t){const s={};for(const n in t){const o=t[n];s[n]=Je(o)?o.map(e):e(o)}return s}const ps=()=>{},Je=Array.isArray;function Fo(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}const li=/#/g,Wa=/&/g,Ja=/\//g,za=/=/g,Xa=/\?/g,ai=/\+/g,Qa=/%5B/g,Ya=/%5D/g,ci=/%5E/g,Za=/%60/g,ui=/%7B/g,ec=/%7C/g,di=/%7D/g,tc=/%20/g;function Yn(e){return e==null?"":encodeURI(""+e).replace(ec,"|").replace(Qa,"[").replace(Ya,"]")}function sc(e){return Yn(e).replace(ui,"{").replace(di,"}").replace(ci,"^")}function In(e){return Yn(e).replace(ai,"%2B").replace(tc,"+").replace(li,"%23").replace(Wa,"%26").replace(Za,"`").replace(ui,"{").replace(di,"}").replace(ci,"^")}function nc(e){return In(e).replace(za,"%3D")}function oc(e){return Yn(e).replace(li,"%23").replace(Xa,"%3F")}function rc(e){return oc(e).replace(Ja,"%2F")}function _s(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const ic=/\/$/,lc=e=>e.replace(ic,"");function vn(e,t,s="/"){let n,o={},r="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(n=t.slice(0,a),r=t.slice(a,l>0?l:t.length),o=e(r.slice(1))),l>=0&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=dc(n??t,s),{fullPath:n+r+i,path:n,query:o,hash:_s(i)}}function ac(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Lo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cc(e,t,s){const n=t.matched.length-1,o=s.matched.length-1;return n>-1&&n===o&&Qt(t.matched[n],s.matched[o])&&fi(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function fi(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!uc(e[s],t[s]))return!1;return!0}function uc(e,t){return Je(e)?Uo(e,t):Je(t)?Uo(t,e):e===t}function Uo(e,t){return Je(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function dc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let r=s.length-1,i,l;for(i=0;i<n.length;i++)if(l=n[i],l!==".")if(l==="..")r>1&&r--;else break;return s.slice(0,r).join("/")+"/"+n.slice(i).join("/")}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Nn=(function(e){return e.pop="pop",e.push="push",e})({}),bn=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function fc(e){if(!e)if(Lt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lc(e)}const pc=/^[^#]+#/;function mc(e,t){return e.replace(pc,"#")+t}function hc(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const on=()=>({left:window.scrollX,top:window.scrollY});function gc(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),o=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!o)return;t=hc(o,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 Ho(e,t){return(history.state?history.state.position-t:-1)+e}const kn=new Map;function vc(e,t){kn.set(e,t)}function bc(e){const t=kn.get(e);return kn.delete(e),t}function yc(e){return typeof e=="string"||e&&typeof e=="object"}function pi(e){return typeof e=="string"||typeof e=="symbol"}let be=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const mi=Symbol("");be.MATCHER_NOT_FOUND+"",be.NAVIGATION_GUARD_REDIRECT+"",be.NAVIGATION_ABORTED+"",be.NAVIGATION_CANCELLED+"",be.NAVIGATION_DUPLICATED+"";function Yt(e,t){return ie(new Error,{type:e,[mi]:!0},t)}function lt(e,t){return e instanceof Error&&mi in e&&(t==null||!!(e.type&t))}const _c=["params","query","hash"];function xc(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const s of _c)s in e&&(t[s]=e[s]);return JSON.stringify(t,null,2)}function wc(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let n=0;n<s.length;++n){const o=s[n].replace(ai," "),r=o.indexOf("="),i=_s(r<0?o:o.slice(0,r)),l=r<0?null:_s(o.slice(r+1));if(i in t){let a=t[i];Je(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function Bo(e){let t="";for(let s in e){const n=e[s];if(s=nc(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(Je(n)?n.map(o=>o&&In(o)):[n&&In(n)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+s,o!=null&&(t+="="+o))})}return t}function Cc(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=Je(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Sc=Symbol(""),qo=Symbol(""),rn=Symbol(""),Zn=Symbol(""),$n=Symbol("");function ns(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function xt(e,t,s,n,o,r=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,a)=>{const u=g=>{g===!1?a(Yt(be.NAVIGATION_ABORTED,{from:s,to:t})):g instanceof Error?a(g):yc(g)?a(Yt(be.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(i&&n.enterCallbacks[o]===i&&typeof g=="function"&&i.push(g),l())},d=r(()=>e.call(n&&n.instances[o],t,s,u));let p=Promise.resolve(d);e.length<3&&(p=p.then(u)),p.catch(g=>a(g))})}function yn(e,t,s,n,o=r=>r()){const r=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ii(a)){const u=(a.__vccOpts||a)[t];u&&r.push(xt(u,s,n,i,l,o))}else{let u=a();r.push(()=>u.then(d=>{if(!d)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const p=Ka(d)?d.default:d;i.mods[l]=d,i.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&xt(g,s,n,i,l,o)()}))}}return r}function Ec(e,t){const s=[],n=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let i=0;i<r;i++){const l=t.matched[i];l&&(e.matched.find(u=>Qt(u,l))?n.push(l):s.push(l));const a=e.matched[i];a&&(t.matched.find(u=>Qt(u,a))||o.push(a))}return[s,n,o]}/*!
* vue-router v4.6.3
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let Ac=()=>location.protocol+"//"+location.host;function hi(e,t){const{pathname:s,search:n,hash:o}=t,r=e.indexOf("#");if(r>-1){let i=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),Lo(l,"")}return Lo(s,e)+n+o}function Rc(e,t,s,n){let o=[],r=[],i=null;const l=({state:g})=>{const v=hi(e,location),E=s.value,x=t.value;let $=0;if(g){if(s.value=v,t.value=g,i&&i===E){i=null;return}$=x?g.position-x.position:0}else n(v);o.forEach(O=>{O(s.value,E,{delta:$,type:Nn.pop,direction:$?$>0?bn.forward:bn.back:bn.unknown})})};function a(){i=s.value}function u(g){o.push(g);const v=()=>{const E=o.indexOf(g);E>-1&&o.splice(E,1)};return r.push(v),v}function d(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(ie({},g.state,{scroll:on()}),"")}}function p(){for(const g of r)g();r=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",d),document.removeEventListener("visibilitychange",d)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",d),document.addEventListener("visibilitychange",d),{pauseListeners:a,listen:u,destroy:p}}function Go(e,t,s,n=!1,o=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:o?on():null}}function Tc(e){const{history:t,location:s}=window,n={value:hi(e,s)},o={value:t.state};o.value||r(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(a,u,d){const p=e.indexOf("#"),g=p>-1?(s.host&&document.querySelector("base")?e:e.slice(p))+a:Ac()+e+a;try{t[d?"replaceState":"pushState"](u,"",g),o.value=u}catch(v){console.error(v),s[d?"replace":"assign"](g)}}function i(a,u){r(a,ie({},t.state,Go(o.value.back,a,o.value.forward,!0),u,{position:o.value.position}),!0),n.value=a}function l(a,u){const d=ie({},o.value,t.state,{forward:a,scroll:on()});r(d.current,d,!0),r(a,ie({},Go(n.value,a,null),{position:d.position+1},u),!1),n.value=a}return{location:n,state:o,push:l,replace:i}}function Oc(e){e=fc(e);const t=Tc(e),s=Rc(e,t.state,t.location,t.replace);function n(r,i=!0){i||s.pauseListeners(),history.go(r)}const o=ie({location:"",base:e,go:n,createHref:mc.bind(null,e)},t,s);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}let It=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var xe=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(xe||{});const Pc={type:It.Static,value:""},Ic=/[a-zA-Z0-9_]/;function Nc(e){if(!e)return[[]];if(e==="/")return[[Pc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${s})/"${u}": ${v}`)}let s=xe.Static,n=s;const o=[];let r;function i(){r&&o.push(r),r=[]}let l=0,a,u="",d="";function p(){u&&(s===xe.Static?r.push({type:It.Static,value:u}):s===xe.Param||s===xe.ParamRegExp||s===xe.ParamRegExpEnd?(r.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:It.Param,value:u,regexp:d,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function g(){u+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&s!==xe.ParamRegExp){n=s,s=xe.EscapeNext;continue}switch(s){case xe.Static:a==="/"?(u&&p(),i()):a===":"?(p(),s=xe.Param):g();break;case xe.EscapeNext:g(),s=n;break;case xe.Param:a==="("?s=xe.ParamRegExp:Ic.test(a)?g():(p(),s=xe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case xe.ParamRegExp:a===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+a:s=xe.ParamRegExpEnd:d+=a;break;case xe.ParamRegExpEnd:p(),s=xe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,d="";break;default:t("Unknown state");break}}return s===xe.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),p(),i(),o}const Ko="[^/]+?",kc={sensitive:!1,strict:!1,start:!0,end:!0};var Ie=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ie||{});const $c=/[.+*?^${}()[\]/\\]/g;function Dc(e,t){const s=ie({},kc,t),n=[];let o=s.start?"^":"";const r=[];for(const u of e){const d=u.length?[]:[Ie.Root];s.strict&&!u.length&&(o+="/");for(let p=0;p<u.length;p++){const g=u[p];let v=Ie.Segment+(s.sensitive?Ie.BonusCaseSensitive:0);if(g.type===It.Static)p||(o+="/"),o+=g.value.replace($c,"\\$&"),v+=Ie.Static;else if(g.type===It.Param){const{value:E,repeatable:x,optional:$,regexp:O}=g;r.push({name:E,repeatable:x,optional:$});const I=O||Ko;if(I!==Ko){v+=Ie.BonusCustomRegExp;try{`${I}`}catch(V){throw new Error(`Invalid custom RegExp for param "${E}" (${I}): `+V.message)}}let L=x?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;p||(L=$&&u.length<2?`(?:/${L})`:"/"+L),$&&(L+="?"),o+=L,v+=Ie.Dynamic,$&&(v+=Ie.BonusOptional),x&&(v+=Ie.BonusRepeatable),I===".*"&&(v+=Ie.BonusWildcard)}d.push(v)}n.push(d)}if(s.strict&&s.end){const u=n.length-1;n[u][n[u].length-1]+=Ie.BonusStrict}s.strict||(o+="/?"),s.end?o+="$":s.strict&&!o.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,s.sensitive?"":"i");function l(u){const d=u.match(i),p={};if(!d)return null;for(let g=1;g<d.length;g++){const v=d[g]||"",E=r[g-1];p[E.name]=v&&E.repeatable?v.split("/"):v}return p}function a(u){let d="",p=!1;for(const g of e){(!p||!d.endsWith("/"))&&(d+="/"),p=!1;for(const v of g)if(v.type===It.Static)d+=v.value;else if(v.type===It.Param){const{value:E,repeatable:x,optional:$}=v,O=E in u?u[E]:"";if(Je(O)&&!x)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const I=Je(O)?O.join("/"):O;if(!I)if($)g.length<2&&(d.endsWith("/")?d=d.slice(0,-1):p=!0);else throw new Error(`Missing required param "${E}"`);d+=I}}return d||"/"}return{re:i,score:n,keys:r,parse:l,stringify:a}}function Mc(e,t){let s=0;for(;s<e.length&&s<t.length;){const n=t[s]-e[s];if(n)return n;s++}return e.length<t.length?e.length===1&&e[0]===Ie.Static+Ie.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ie.Static+Ie.Segment?1:-1:0}function gi(e,t){let s=0;const n=e.score,o=t.score;for(;s<n.length&&s<o.length;){const r=Mc(n[s],o[s]);if(r)return r;s++}if(Math.abs(o.length-n.length)===1){if(Wo(n))return 1;if(Wo(o))return-1}return o.length-n.length}function Wo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Vc={strict:!1,end:!0,sensitive:!1};function jc(e,t,s){const n=Dc(Nc(e.path),s),o=ie(n,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Fc(e,t){const s=[],n=new Map;t=Fo(Vc,t);function o(p){return n.get(p)}function r(p,g,v){const E=!v,x=zo(p);x.aliasOf=v&&v.record;const $=Fo(t,p),O=[x];if("alias"in p){const V=typeof p.alias=="string"?[p.alias]:p.alias;for(const se of V)O.push(zo(ie({},x,{components:v?v.record.components:x.components,path:se,aliasOf:v?v.record:x})))}let I,L;for(const V of O){const{path:se}=V;if(g&&se[0]!=="/"){const K=g.record.path,S=K[K.length-1]==="/"?"":"/";V.path=g.record.path+(se&&S+se)}if(I=jc(V,g,$),v?v.alias.push(I):(L=L||I,L!==I&&L.alias.push(I),E&&p.name&&!Xo(I)&&i(p.name)),vi(I)&&a(I),x.children){const K=x.children;for(let S=0;S<K.length;S++)r(K[S],I,v&&v.children[S])}v=v||I}return L?()=>{i(L)}:ps}function i(p){if(pi(p)){const g=n.get(p);g&&(n.delete(p),s.splice(s.indexOf(g),1),g.children.forEach(i),g.alias.forEach(i))}else{const g=s.indexOf(p);g>-1&&(s.splice(g,1),p.record.name&&n.delete(p.record.name),p.children.forEach(i),p.alias.forEach(i))}}function l(){return s}function a(p){const g=Hc(p,s);s.splice(g,0,p),p.record.name&&!Xo(p)&&n.set(p.record.name,p)}function u(p,g){let v,E={},x,$;if("name"in p&&p.name){if(v=n.get(p.name),!v)throw Yt(be.MATCHER_NOT_FOUND,{location:p});$=v.record.name,E=ie(Jo(g.params,v.keys.filter(L=>!L.optional).concat(v.parent?v.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),p.params&&Jo(p.params,v.keys.map(L=>L.name))),x=v.stringify(E)}else if(p.path!=null)x=p.path,v=s.find(L=>L.re.test(x)),v&&(E=v.parse(x),$=v.record.name);else{if(v=g.name?n.get(g.name):s.find(L=>L.re.test(g.path)),!v)throw Yt(be.MATCHER_NOT_FOUND,{location:p,currentLocation:g});$=v.record.name,E=ie({},g.params,p.params),x=v.stringify(E)}const O=[];let I=v;for(;I;)O.unshift(I.record),I=I.parent;return{name:$,path:x,params:E,matched:O,meta:Uc(O)}}e.forEach(p=>r(p));function d(){s.length=0,n.clear()}return{addRoute:r,resolve:u,removeRoute:i,clearRoutes:d,getRoutes:l,getRecordMatcher:o}}function Jo(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function zo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Lc(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Lc(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="object"?s[n]:s;return t}function Xo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Uc(e){return e.reduce((t,s)=>ie(t,s.meta),{})}function Hc(e,t){let s=0,n=t.length;for(;s!==n;){const r=s+n>>1;gi(e,t[r])<0?n=r:s=r+1}const o=Bc(e);return o&&(n=t.lastIndexOf(o,n-1)),n}function Bc(e){let t=e;for(;t=t.parent;)if(vi(t)&&gi(e,t)===0)return t}function vi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Qo(e){const t=We(rn),s=We(Zn),n=Ve(()=>{const a=ft(e.to);return t.resolve(a)}),o=Ve(()=>{const{matched:a}=n.value,{length:u}=a,d=a[u-1],p=s.matched;if(!d||!p.length)return-1;const g=p.findIndex(Qt.bind(null,d));if(g>-1)return g;const v=Yo(a[u-2]);return u>1&&Yo(d)===v&&p[p.length-1].path!==v?p.findIndex(Qt.bind(null,a[u-2])):g}),r=Ve(()=>o.value>-1&&Jc(s.params,n.value.params)),i=Ve(()=>o.value>-1&&o.value===s.matched.length-1&&fi(s.params,n.value.params));function l(a={}){if(Wc(a)){const u=t[ft(e.replace)?"replace":"push"](ft(e.to)).catch(ps);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:n,href:Ve(()=>n.value.href),isActive:r,isExactActive:i,navigate:l}}function qc(e){return e.length===1?e[0]:e}const Gc=Ir({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"},viewTransition:Boolean},useLink:Qo,setup(e,{slots:t}){const s=Qs(Qo(e)),{options:n}=We(rn),o=Ve(()=>({[Zo(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Zo(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const r=t.default&&qc(t.default(s));return e.custom?r:oi("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:o.value},r)}}}),Kc=Gc;function Wc(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 Jc(e,t){for(const s in t){const n=t[s],o=e[s];if(typeof n=="string"){if(n!==o)return!1}else if(!Je(o)||o.length!==n.length||n.some((r,i)=>r!==o[i]))return!1}return!0}function Yo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Zo=(e,t,s)=>e??t??s,zc=Ir({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=We($n),o=Ve(()=>e.route||n.value),r=We(qo,0),i=Ve(()=>{let u=ft(r);const{matched:d}=o.value;let p;for(;(p=d[u])&&!p.components;)u++;return u}),l=Ve(()=>o.value.matched[i.value]);Ps(qo,Ve(()=>i.value+1)),Ps(Sc,l),Ps($n,o);const a=Q();return ds(()=>[a.value,l.value,e.name],([u,d,p],[g,v,E])=>{d&&(d.instances[p]=u,v&&v!==d&&u&&u===g&&(d.leaveGuards.size||(d.leaveGuards=v.leaveGuards),d.updateGuards.size||(d.updateGuards=v.updateGuards))),u&&d&&(!v||!Qt(d,v)||!g)&&(d.enterCallbacks[p]||[]).forEach(x=>x(u))},{flush:"post"}),()=>{const u=o.value,d=e.name,p=l.value,g=p&&p.components[d];if(!g)return er(s.default,{Component:g,route:u});const v=p.props[d],E=v?v===!0?u.params:typeof v=="function"?v(u):v:null,$=oi(g,ie({},E,t,{onVnodeUnmounted:O=>{O.component.isUnmounted&&(p.instances[d]=null)},ref:a}));return er(s.default,{Component:$,route:u})||$}}});function er(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const Xc=zc;function Qc(e){const t=Fc(e.routes,e),s=e.parseQuery||wc,n=e.stringifyQuery||Bo,o=e.history,r=ns(),i=ns(),l=ns(),a=Zi(bt);let u=bt;Lt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=gn.bind(null,w=>""+w),p=gn.bind(null,rc),g=gn.bind(null,_s);function v(w,M){let N,H;return pi(w)?(N=t.getRecordMatcher(w),H=M):H=w,t.addRoute(H,N)}function E(w){const M=t.getRecordMatcher(w);M&&t.removeRoute(M)}function x(){return t.getRoutes().map(w=>w.record)}function $(w){return!!t.getRecordMatcher(w)}function O(w,M){if(M=ie({},M||a.value),typeof w=="string"){const h=vn(s,w,M.path),_=t.resolve({path:h.path},M),C=o.createHref(h.fullPath);return ie(h,_,{params:g(_.params),hash:_s(h.hash),redirectedFrom:void 0,href:C})}let N;if(w.path!=null)N=ie({},w,{path:vn(s,w.path,M.path).path});else{const h=ie({},w.params);for(const _ in h)h[_]==null&&delete h[_];N=ie({},w,{params:p(h)}),M.params=p(M.params)}const H=t.resolve(N,M),ee=w.hash||"";H.params=d(g(H.params));const f=ac(n,ie({},w,{hash:sc(ee),path:H.path})),m=o.createHref(f);return ie({fullPath:f,hash:ee,query:n===Bo?Cc(w.query):w.query||{}},H,{redirectedFrom:void 0,href:m})}function I(w){return typeof w=="string"?vn(s,w,a.value.path):ie({},w)}function L(w,M){if(u!==w)return Yt(be.NAVIGATION_CANCELLED,{from:M,to:w})}function V(w){return S(w)}function se(w){return V(ie(I(w),{replace:!0}))}function K(w,M){const N=w.matched[w.matched.length-1];if(N&&N.redirect){const{redirect:H}=N;let ee=typeof H=="function"?H(w,M):H;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=I(ee):{path:ee},ee.params={}),ie({query:w.query,hash:w.hash,params:ee.path!=null?{}:w.params},ee)}}function S(w,M){const N=u=O(w),H=a.value,ee=w.state,f=w.force,m=w.replace===!0,h=K(N,H);if(h)return S(ie(I(h),{state:typeof h=="object"?ie({},ee,h.state):ee,force:f,replace:m}),M||N);const _=N;_.redirectedFrom=M;let C;return!f&&cc(n,H,N)&&(C=Yt(be.NAVIGATION_DUPLICATED,{to:_,from:H}),ze(H,H,!0,!1)),(C?Promise.resolve(C):ne(_,H)).catch(y=>lt(y)?lt(y,be.NAVIGATION_GUARD_REDIRECT)?y:vt(y):re(y,_,H)).then(y=>{if(y){if(lt(y,be.NAVIGATION_GUARD_REDIRECT))return S(ie({replace:m},I(y.to),{state:typeof y.to=="object"?ie({},ee,y.to.state):ee,force:f}),M||_)}else y=b(_,H,!0,m,ee);return X(_,H,y),y})}function D(w,M){const N=L(w,M);return N?Promise.reject(N):Promise.resolve()}function oe(w){const M=Vt.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(w):w()}function ne(w,M){let N;const[H,ee,f]=Ec(w,M);N=yn(H.reverse(),"beforeRouteLeave",w,M);for(const h of H)h.leaveGuards.forEach(_=>{N.push(xt(_,w,M))});const m=D.bind(null,w,M);return N.push(m),He(N).then(()=>{N=[];for(const h of r.list())N.push(xt(h,w,M));return N.push(m),He(N)}).then(()=>{N=yn(ee,"beforeRouteUpdate",w,M);for(const h of ee)h.updateGuards.forEach(_=>{N.push(xt(_,w,M))});return N.push(m),He(N)}).then(()=>{N=[];for(const h of f)if(h.beforeEnter)if(Je(h.beforeEnter))for(const _ of h.beforeEnter)N.push(xt(_,w,M));else N.push(xt(h.beforeEnter,w,M));return N.push(m),He(N)}).then(()=>(w.matched.forEach(h=>h.enterCallbacks={}),N=yn(f,"beforeRouteEnter",w,M,oe),N.push(m),He(N))).then(()=>{N=[];for(const h of i.list())N.push(xt(h,w,M));return N.push(m),He(N)}).catch(h=>lt(h,be.NAVIGATION_CANCELLED)?h:Promise.reject(h))}function X(w,M,N){l.list().forEach(H=>oe(()=>H(w,M,N)))}function b(w,M,N,H,ee){const f=L(w,M);if(f)return f;const m=M===bt,h=Lt?history.state:{};N&&(H||m?o.replace(w.fullPath,ie({scroll:m&&h&&h.scroll},ee)):o.push(w.fullPath,ee)),a.value=w,ze(w,M,N,m),vt()}let j;function At(){j||(j=o.listen((w,M,N)=>{if(!Rt.listening)return;const H=O(w),ee=K(H,Rt.currentRoute.value);if(ee){S(ie(ee,{replace:!0,force:!0}),H).catch(ps);return}u=H;const f=a.value;Lt&&vc(Ho(f.fullPath,N.delta),on()),ne(H,f).catch(m=>lt(m,be.NAVIGATION_ABORTED|be.NAVIGATION_CANCELLED)?m:lt(m,be.NAVIGATION_GUARD_REDIRECT)?(S(ie(I(m.to),{force:!0}),H).then(h=>{lt(h,be.NAVIGATION_ABORTED|be.NAVIGATION_DUPLICATED)&&!N.delta&&N.type===Nn.pop&&o.go(-1,!1)}).catch(ps),Promise.reject()):(N.delta&&o.go(-N.delta,!1),re(m,H,f))).then(m=>{m=m||b(H,f,!1),m&&(N.delta&&!lt(m,be.NAVIGATION_CANCELLED)?o.go(-N.delta,!1):N.type===Nn.pop&&lt(m,be.NAVIGATION_ABORTED|be.NAVIGATION_DUPLICATED)&&o.go(-1,!1)),X(H,f,m)}).catch(ps)}))}let Dt=ns(),we=ns(),ue;function re(w,M,N){vt(w);const H=we.list();return H.length?H.forEach(ee=>ee(w,M,N)):console.error(w),Promise.reject(w)}function rt(){return ue&&a.value!==bt?Promise.resolve():new Promise((w,M)=>{Dt.add([w,M])})}function vt(w){return ue||(ue=!w,At(),Dt.list().forEach(([M,N])=>w?N(w):M()),Dt.reset()),w}function ze(w,M,N,H){const{scrollBehavior:ee}=e;if(!Lt||!ee)return Promise.resolve();const f=!N&&bc(Ho(w.fullPath,0))||(H||!N)&&history.state&&history.state.scroll||null;return Kn().then(()=>ee(w,M,f)).then(m=>m&&gc(m)).catch(m=>re(m,w,M))}const ke=w=>o.go(w);let Mt;const Vt=new Set,Rt={currentRoute:a,listening:!0,addRoute:v,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:$,getRoutes:x,resolve:O,options:e,push:V,replace:se,go:ke,back:()=>ke(-1),forward:()=>ke(1),beforeEach:r.add,beforeResolve:i.add,afterEach:l.add,onError:we.add,isReady:rt,install(w){w.component("RouterLink",Kc),w.component("RouterView",Xc),w.config.globalProperties.$router=Rt,Object.defineProperty(w.config.globalProperties,"$route",{enumerable:!0,get:()=>ft(a)}),Lt&&!Mt&&a.value===bt&&(Mt=!0,V(o.location).catch(H=>{}));const M={};for(const H in bt)Object.defineProperty(M,H,{get:()=>a.value[H],enumerable:!0});w.provide(rn,Rt),w.provide(Zn,Cr(M)),w.provide($n,a);const N=w.unmount;Vt.add(w),w.unmount=function(){Vt.delete(w),Vt.size<1&&(u=bt,j&&j(),j=null,a.value=bt,Mt=!1,ue=!1),N()}}};function He(w){return w.reduce((M,N)=>M.then(()=>oe(N)),Promise.resolve())}return Rt}function Zt(){return We(rn)}function Yc(e){return We(Zn)}const Zc="/assets/Hero-C0gOcyj1.png",eo="/assets/CtrlCash-white-CJM1Egrh.png",eu={},tu={class:"container-fluid"},su={class:"collapse navbar-collapse",id:"navbarNav"},nu={class:"navbar-nav ms-auto align-items-center"};function ou(e,t,s,n,o,r){const i=$t("router-link");return F(),U("header",null,[c("nav",{class:ge(["navbar navbar-expand-lg px-3",["bg-especial","navbar-dark"]])},[c("div",tu,[z(i,{class:"navbar-brand p-0",to:"/"},{default:Ee(()=>[...t[0]||(t[0]=[c("img",{src:eo,alt:"CtrlCash Logo",width:"140",height:"40"},null,-1)])]),_:1}),t[5]||(t[5]=c("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarNav","aria-controls":"navbarNav","aria-expanded":"false","aria-label":"Toggle navigation"},[c("span",{class:"navbar-toggler-icon"})],-1)),c("div",su,[c("div",nu,[z(i,{to:"/about",class:"nav-link"},{default:Ee(()=>[...t[1]||(t[1]=[Z("Sobre nós",-1)])]),_:1}),z(i,{to:"/help",class:"nav-link me-3"},{default:Ee(()=>[...t[2]||(t[2]=[Z("Ajuda",-1)])]),_:1}),z(i,{to:"/cadastro",class:"btn btn-success me-2"},{default:Ee(()=>[...t[3]||(t[3]=[Z("Abrir Conta",-1)])]),_:1}),z(i,{to:"/login",class:"btn btn-light text-primary"},{default:Ee(()=>[...t[4]||(t[4]=[Z("Login",-1)])]),_:1})])])])])])}const Es=Ge(eu,[["render",ou],["__scopeId","data-v-b6bce1a4"]]),ru={},iu={class:"bg-dark-footer text-white pt-5 pb-3"},lu={class:"container"},au={class:"row g-4"},cu={class:"col-md-2 col-6"},uu={class:"list-unstyled"},du={class:"mb-2"},fu={class:"mb-2"},pu={class:"mb-2"};function mu(e,t){const s=$t("router-link");return F(),U("footer",iu,[c("div",lu,[c("div",au,[t[4]||(t[4]=c("div",{class:"col-md-4 col-12"},[c("img",{src:eo,alt:"CtrlCash Logo",width:"120",height:"35",class:"mb-3"}),c("p",{class:"text-secondary-footer mt-2"}," Seu dinheiro. Seu controle total. "),c("p",{class:"text-secondary-footer small"}," Um projeto acadêmico de finanças inovadoras. ")],-1)),c("div",cu,[t[3]||(t[3]=c("h5",{class:"fw-bold text-white-footer mb-3"},"Navegue",-1)),c("ul",uu,[c("li",du,[z(s,{to:"/",class:"text-secondary-footer text-decoration-none"},{default:Ee(()=>[...t[0]||(t[0]=[Z("Início",-1)])]),_:1})]),c("li",fu,[z(s,{to:"/about",class:"text-secondary-footer text-decoration-none"},{default:Ee(()=>[...t[1]||(t[1]=[Z("Sobre Nós",-1)])]),_:1})]),c("li",pu,[z(s,{to:"/help",class:"text-secondary-footer text-decoration-none"},{default:Ee(()=>[...t[2]||(t[2]=[Z("Ajuda",-1)])]),_:1})])])]),t[5]||(t[5]=sn('<div class="col-md-3 col-6" data-v-7ea2c5b6><h5 class="fw-bold text-white-footer mb-3" data-v-7ea2c5b6>Projeto</h5><ul class="list-unstyled" data-v-7ea2c5b6><li class="mb-2" data-v-7ea2c5b6><a href="https://github.com/Caio1w/CtrlCash" target="_blank" class="text-secondary-footer text-decoration-none" data-v-7ea2c5b6>Repósitorio GitHub</a></li><li class="mb-2" data-v-7ea2c5b6><a href="/termos" class="text-secondary-footer text-decoration-none" data-v-7ea2c5b6>Termos de Uso</a></li><li class="mb-2" data-v-7ea2c5b6><a href="/privacidade" class="text-secondary-footer text-decoration-none" data-v-7ea2c5b6>Política de Privacidade</a></li><li class="mb-2" data-v-7ea2c5b6><a href="/equipe" class="text-secondary-footer text-decoration-none" data-v-7ea2c5b6>Equipe de Desenvolvimento</a></li></ul></div><div class="col-md-3 col-12" data-v-7ea2c5b6><h5 class="fw-bold text-white-footer mb-3" data-v-7ea2c5b6>Contato</h5><p class="text-secondary-footer mb-1" data-v-7ea2c5b6>E-mail: contato@ctrlcash.com</p><p class="text-secondary-footer" data-v-7ea2c5b6>Telefone: (XX) XXXX-XXXX</p></div>',2))]),t[6]||(t[6]=c("hr",{class:"my-4 border-secondary-footer"},null,-1)),t[7]||(t[7]=c("div",{class:"text-center"},[c("p",{class:"text-secondary-footer small mb-0"}," © 2025 CtrlCash - Todos os direitos reservados. Protótipo desenvolvido para fins acadêmicos. ")],-1))])])}const to=Ge(ru,[["render",mu],["__scopeId","data-v-7ea2c5b6"]]),hu={class:"main-no-gap"},gu={class:"bg-especial"},vu={class:"container p-3 row align-items-center m-auto"},bu={class:"col-md-6 col-12 py-5"},yu={__name:"HomeView",setup(e){return(t,s)=>{const n=$t("router-link");return F(),U(Ce,null,[z(Es),c("main",hu,[c("div",gu,[c("section",vu,[c("div",bu,[s[2]||(s[2]=c("h1",{class:"text-white display-10 text fw-bold text-break"},[Z("Seu dinheiro. "),c("br"),Z(" Seu controle total.")],-1)),s[3]||(s[3]=c("p",{class:"text-secondary fs-5"},"Organize, invista e alcance seus objetivos financeiros com segurança e facilidade. ",-1)),z(n,{to:"/register",class:"btn btn-success btn-lg mt-3 fw-bold me-3"},{default:Ee(()=>[...s[0]||(s[0]=[Z("Abra sua conta",-1)])]),_:1}),z(n,{to:"/features",class:"btn btn-outline-light btn-lg mt-3"},{default:Ee(()=>[...s[1]||(s[1]=[Z("Conheça os recursos",-1)])]),_:1})]),s[4]||(s[4]=c("div",{class:"col-md-6 col-12 d-flex justify-content-center py-5"},[c("img",{src:Zc,alt:"Ilustração de controle financeiro do CtrlCash",class:"img-fluid"})],-1))])]),s[5]||(s[5]=sn('<section class="container py-5" data-v-ab903d66><div class="row text-center mb-5" data-v-ab903d66><div class="col-lg-8 mx-auto" data-v-ab903d66><h2 class="fw-bold display-6 text-primary-dark" data-v-ab903d66>Concentre-se no que importa. Nós cuidamos do resto.</h2><p class="lead text-secondary-feature mt-3" data-v-ab903d66>Descubra as funcionalidades que dão o controle total da sua vida financeira na palma da sua mão.</p></div></div><div class="row g-5" data-v-ab903d66><div class="col-lg-4 col-md-6 col-12" data-v-ab903d66><div class="d-flex align-items-start" data-v-ab903d66><i class="bi bi-pie-chart-fill display-5 me-5 text-success-feature flex-shrink-0" data-v-ab903d66></i><div data-v-ab903d66><h4 class="fw-bold mb-1 text-dark-feature" data-v-ab903d66>Orçamento Inteligente</h4><p class="text-secondary-feature" data-v-ab903d66>Crie orçamentos por categoria, receba alertas e visualize seus gastos em tempo real, evitando surpresas no fim do mês.</p></div></div></div><div class="col-lg-4 col-md-6 col-12" data-v-ab903d66><div class="d-flex align-items-start" data-v-ab903d66><i class="bi bi-rocket-takeoff-fill display-5 me-4 text-success-feature flex-shrink-0" data-v-ab903d66></i><div data-v-ab903d66><h4 class="fw-bold mb-1 text-dark-feature" data-v-ab903d66>Metas e Investimentos</h4><p class="text-secondary-feature" data-v-ab903d66>Defina seus objetivos (viagem, casa, carro) e o CtrlCash te ajuda a poupar, investir e acompanhar seu progresso.</p></div></div></div><div class="col-lg-4 col-md-6 col-12" data-v-ab903d66><div class="d-flex align-items-start" data-v-ab903d66><i class="bi bi-lightning-charge-fill display-5 me-4 text-success-feature flex-shrink-0" data-v-ab903d66></i><div data-v-ab903d66><h4 class="fw-bold mb-1 text-dark-feature" data-v-ab903d66>PIX e Pagamentos Rápidos</h4><p class="text-secondary-feature" data-v-ab903d66>Envie e receba dinheiro em segundos. Pague contas e boletos com agilidade, tudo em um só lugar.</p></div></div></div><div class="col-lg-4 col-md-6 col-12" data-v-ab903d66><div class="d-flex align-items-start" data-v-ab903d66><i class="bi bi-clock-history display-5 me-4 text-success-feature flex-shrink-0" data-v-ab903d66></i><div data-v-ab903d66><h4 class="fw-bold mb-1 text-dark-feature" data-v-ab903d66>Histórico Automático</h4><p class="text-secondary-feature" data-v-ab903d66>Chega de planilhas. O app registra todas as transações, categoriza e gera relatórios visuais inteligentes para você.</p></div></div></div><div class="col-lg-4 col-md-6 col-12" data-v-ab903d66><div class="d-flex align-items-start" data-v-ab903d66><i class="bi bi-lock-fill display-5 me-4 text-success-feature flex-shrink-0" data-v-ab903d66></i><div data-v-ab903d66><h4 class="fw-bold mb-1 text-dark-feature" data-v-ab903d66>Segurança e Alertas</h4><p class="text-secondary-feature" data-v-ab903d66>Monitoramento 24h e notificações em tempo real. Sua segurança é prioridade máxima com tecnologia de ponta.</p></div></div></div><div class="col-lg-4 col-md-6 col-12" data-v-ab903d66><div class="d-flex align-items-start" data-v-ab903d66><i class="bi bi-credit-card-2-front-fill display-5 me-4 text-success-feature flex-shrink-0" data-v-ab903d66></i><div data-v-ab903d66><h4 class="fw-bold mb-1 text-dark-feature" data-v-ab903d66>Central de Cartões</h4><p class="text-secondary-feature" data-v-ab903d66>Controle seus limites, bloqueie e desbloqueie cartões virtuais e físicos diretamente pelo app, com total autonomia.</p></div></div></div></div></section>',1))]),z(to)],64)}}},_u=Ge(yu,[["__scopeId","data-v-ab903d66"]]),xu={class:"navbar navbar-expand-lg navbar-dark bg-primary-dark shadow-lg sticky-top"},wu={class:"container-fluid max-w-7xl mx-auto px-4"},Cu={class:"collapse navbar-collapse",id:"navbarNav"},Su={class:"navbar-nav me-auto mb-2 mb-lg-0"},Eu={class:"nav-item"},Au={class:"nav-item"},Ru={class:"nav-item"},Tu={class:"d-flex align-items-center ms-auto"},Ou={class:"btn btn-link text-white me-3 p-0",title:"Notificações"},Pu={class:"bi bi-bell-fill fs-5 position-relative"},Iu={key:0,class:"position-absolute top-0 start-100 translate-middle p-1 bg-danger border border-light rounded-circle"},Nu={class:"d-flex align-items-center me-3"},ku=["src","alt"],$u={class:"ms-2 d-none d-md-inline text-sm text-white"},Du={__name:"HeaderApp",setup(e){const t=Zt(),s=Yc(),n=Q("Usuário"),o=Q("https://placehold.co/36x36/1A3B5E/FFFFFF?text=U"),r=Q(0),i=()=>{try{const a=localStorage.getItem("user");if(a){const u=JSON.parse(a);if(n.value=u.name||"Usuário",u.name){const d=u.name.split(" ").map(p=>p[0]).join("").toUpperCase().substring(0,2);o.value=`https://placehold.co/36x36/1A3B5E/FFFFFF?text=${d}`}}}catch(a){console.error("Erro ao carregar dados do usuário:",a)}},l=()=>{console.log("Usuário desconectado. Redirecionando para o login."),localStorage.removeItem("user"),localStorage.removeItem("isAuthenticated"),localStorage.removeItem("token"),t.push("/login")};return ds(s,()=>{i()}),Cs(()=>{i();const a=localStorage.getItem("isAuthenticated"),u=localStorage.getItem("user");(!a||!u)&&t.push("/login")}),(a,u)=>{const d=$t("router-link");return F(),U("nav",xu,[c("div",wu,[z(d,{to:"/dashboard",class:"navbar-brand d-flex align-items-center me-4"},{default:Ee(()=>[...u[0]||(u[0]=[c("img",{src:eo,alt:"CtrlCash Logo",width:"120",class:"d-inline-block logo-align"},null,-1)])]),_:1}),u[6]||(u[6]=c("button",{class:"navbar-toggler",type:"button","data-bs-toggle":"collapse","data-bs-target":"#navbarNav","aria-controls":"navbarNav","aria-expanded":"false","aria-label":"Toggle navigation"},[c("span",{class:"navbar-toggler-icon"})],-1)),c("div",Cu,[c("ul",Su,[c("li",Eu,[z(d,{to:"/dashboard",class:ge(["nav-link",ft(s).path==="/dashboard"?"active fw-bold text-white":"text-white-50","hover-success-feature"])},{default:Ee(()=>[...u[1]||(u[1]=[Z("Dashboard",-1)])]),_:1},8,["class"])]),c("li",Au,[z(d,{to:"/transacoes",class:ge(["nav-link",ft(s).path==="/transacoes"?"active fw-bold text-white":"text-white-50","hover-success-feature"])},{default:Ee(()=>[...u[2]||(u[2]=[Z("Transações",-1)])]),_:1},8,["class"])]),c("li",Ru,[z(d,{to:"/configuracoes",class:ge(["nav-link",ft(s).path==="/configuracoes"?"active fw-bold text-white":"text-white-50","hover-success-feature"])},{default:Ee(()=>[...u[3]||(u[3]=[Z("Configurações",-1)])]),_:1},8,["class"])])]),c("div",Tu,[c("button",Ou,[c("i",Pu,[r.value>0?(F(),U("span",Iu,[c("small",null,Y(r.value>9?"9+":r.value),1)])):ve("",!0)])]),c("div",Nu,[c("img",{class:"rounded-circle border border-white",src:o.value,alt:`Avatar de ${n.value}`,style:{width:"36px",height:"36px","object-fit":"cover"}},null,8,ku),c("span",$u,Y(n.value),1)]),c("button",{onClick:l,class:"btn btn-outline-light btn-sm d-none d-md-inline-flex align-items-center",title:"Sair"},[...u[4]||(u[4]=[c("i",{class:"bi bi-box-arrow-right me-1"},null,-1),Z(" Sair ",-1)])]),c("div",{class:"d-md-none"},[c("button",{onClick:l,class:"btn btn-outline-light btn-sm w-100 mt-2 d-flex align-items-center justify-content-center"},[...u[5]||(u[5]=[c("i",{class:"bi bi-box-arrow-right me-2"},null,-1),Z(" Sair ",-1)])])])])])])])}}},so=Ge(Du,[["__scopeId","data-v-cb189098"]]),Mu={class:"dashboard-page bg-light min-vh-100"},Vu={class:"container-fluid py-4 max-w-7xl mx-auto px-4"},ju={class:"row g-4 mb-5"},Fu={class:"col-lg-4 col-md-6 col-sm-12"},Lu={class:"card shadow-sm border-0 h-100 p-3"},Uu={class:"card-body"},Hu={class:"d-flex justify-content-between align-items-center"},Bu={class:"card-text fs-3 fw-bold text-primary-dark"},qu={class:"col-lg-4 col-md-6 col-sm-12"},Gu={class:"card shadow-sm border-0 h-100 p-3"},Ku={class:"card-body"},Wu={class:"d-flex justify-content-between align-items-center"},Ju={class:"card-text fs-3 fw-bold text-success-feature"},zu={class:"text-muted"},Xu={class:"col-lg-4 col-md-12 col-sm-12"},Qu={class:"card shadow-sm border-0 h-100 p-3"},Yu={class:"card-body"},Zu={class:"d-flex justify-content-between align-items-center"},ed={class:"card-text fs-3 fw-bold text-danger"},td={class:"text-muted"},sd={class:"row g-4"},nd={class:"col-lg-8"},od={class:"card shadow-sm border-0 h-100 p-4"},rd={class:"d-flex justify-content-between align-items-center mb-3"},id={class:"btn-group btn-group-sm"},ld={key:0,class:"chart-container rounded-3 text-center"},ad=["src"],cd={key:1,class:"matplotlib-placeholder bg-light-subtle rounded-3 border border-dashed p-5 text-center d-flex flex-column align-items-center justify-content-center",style:{"min-height":"400px"}},ud={key:0,class:"spinner-border text-primary-dark mb-3",role:"status"},dd={class:"text-primary-dark opacity-50 mb-0"},fd={class:"col-lg-4"},pd={class:"card shadow-sm border-0 h-100 p-4"},md={key:0,class:"text-center py-4"},hd={key:1,class:"list-group list-group-flush"},gd={class:"transaction-info"},vd={class:"fw-medium"},bd={class:"text-muted"},yd={key:0,class:"list-group-item text-center text-muted py-4"},_d={class:"list-group-item text-center pt-3 border-0"},xd={__name:"UserDashboardView",setup(e){const t=Zt(),s=Q({total_income:0,total_expenses:0,balance:0,recent_transactions:[]}),n=Q(""),o=Q("monthly"),r=Q(!1),i=Q(!1),l=async()=>{i.value=!0;try{const E=JSON.parse(localStorage.getItem("user"));if(!E){t.push("/login");return}const x=await fetch(`/api/dashboard/summary?user_id=${E.id}`);if(x.ok){const $=await x.json();s.value=$}}catch(E){console.error("Erro ao carregar dashboard:",E)}finally{i.value=!1}},a=async(E="monthly")=>{r.value=!0,o.value=E;try{const x=JSON.parse(localStorage.getItem("user")),$=await fetch(`/api/dashboard/chart?user_id=${x.id}&type=${E}`);if($.ok){const O=await $.json();n.value=O.chart}}catch(x){console.error("Erro ao carregar gráfico:",x)}finally{r.value=!1}},u=E=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(E||0),d=E=>{if(!E)return"-";if(E.match(/^\d{4}-\d{2}-\d{2}$/)){const[x,$,O]=E.split("-");return`${O.padStart(2,"0")}/${$.padStart(2,"0")}/${x}`}return E},p=()=>{const E=s.value.balance;return E>0?"Saldo positivo":E<0?"Saldo negativo":"Saldo zerado"},g=()=>{const E=s.value.total_income;if(E===0)return"Sem receitas este mês";const $=E/5e3*100;return`Meta: ${Math.min($,100).toFixed(0)}%`},v=()=>{const $=2500-s.value.total_expenses;return $>=0?`Limite restante: ${u($)}`:`Excedido: ${u(Math.abs($))}`};return Cs(()=>{l(),setTimeout(()=>a("monthly"),500)}),(E,x)=>{const $=$t("router-link");return F(),U("div",Mu,[z(so),c("div",Vu,[x[14]||(x[14]=c("h1",{class:"h3 fw-bold text-primary-dark mb-4"},"Visão Geral",-1)),c("div",ju,[c("div",Fu,[c("div",Lu,[c("div",Uu,[x[3]||(x[3]=c("h5",{class:"card-title text-muted mb-3"},"Saldo Total",-1)),c("div",Hu,[c("p",Bu,Y(u(s.value.balance)),1),x[2]||(x[2]=c("i",{class:"bi bi-wallet2 fs-2 text-primary-dark opacity-75"},null,-1))]),c("small",{class:ge([s.value.balance>=0?"text-success-feature":"text-danger","fw-medium"])},Y(p()),3)])])]),c("div",qu,[c("div",Gu,[c("div",Ku,[x[5]||(x[5]=c("h5",{class:"card-title text-muted mb-3"},"Receitas do Mês",-1)),c("div",Wu,[c("p",Ju,Y(u(s.value.total_income)),1),x[4]||(x[4]=c("i",{class:"bi bi-arrow-up-circle-fill fs-2 text-success-feature opacity-75"},null,-1))]),c("small",zu,Y(g()),1)])])]),c("div",Xu,[c("div",Qu,[c("div",Yu,[x[7]||(x[7]=c("h5",{class:"card-title text-muted mb-3"},"Despesas do Mês",-1)),c("div",Zu,[c("p",ed,Y(u(s.value.total_expenses)),1),x[6]||(x[6]=c("i",{class:"bi bi-arrow-down-circle-fill fs-2 text-danger opacity-75"},null,-1))]),c("small",td,Y(v()),1)])])])]),c("div",sd,[c("div",nd,[c("div",od,[c("div",rd,[x[8]||(x[8]=c("h4",{class:"fw-bold text-primary-dark mb-0"},"Evolução Financeira",-1)),c("div",id,[c("button",{onClick:x[0]||(x[0]=O=>a("monthly")),class:ge(["btn btn-outline-primary",{active:o.value==="monthly"}])}," Mensal ",2),c("button",{onClick:x[1]||(x[1]=O=>a("categories")),class:ge(["btn btn-outline-primary",{active:o.value==="categories"}])}," Categorias ",2)])]),n.value?(F(),U("div",ld,[c("img",{src:n.value,alt:"Gráfico Financeiro",class:"img-fluid rounded",style:{"max-height":"400px"}},null,8,ad)])):(F(),U("div",cd,[r.value?(F(),U("div",ud)):ve("",!0),x[9]||(x[9]=c("i",{class:"bi bi-bar-chart-fill fs-1 text-primary-dark opacity-25 mb-2"},null,-1)),c("p",dd,Y(r.value?"Carregando visualização...":"Selecione um tipo de gráfico"),1)]))])]),c("div",fd,[c("div",pd,[x[13]||(x[13]=c("h4",{class:"fw-bold text-primary-dark mb-3"},"Atividade Recente",-1)),i.value?(F(),U("div",md,[...x[10]||(x[10]=[c("div",{class:"spinner-border text-primary-dark",role:"status"},null,-1)])])):(F(),U("ul",hd,[(F(!0),U(Ce,null,Gt(s.value.recent_transactions,O=>(F(),U("li",{key:O.id,class:"list-group-item d-flex justify-content-between align-items-center"},[c("div",gd,[c("div",vd,Y(O.description),1),c("small",bd,Y(d(O.date))+" • "+Y(O.category),1)]),c("span",{class:ge(O.type==="income"?"badge bg-success-feature":"badge bg-danger")},Y(O.type==="income"?"+":"-")+Y(u(O.amount)),3)]))),128)),s.value.recent_transactions&&s.value.recent_transactions.length===0?(F(),U("li",yd,[...x[11]||(x[11]=[c("i",{class:"bi bi-receipt fs-4 opacity-50 d-block mb-2"},null,-1),Z(" Nenhuma transação recente ",-1)])])):ve("",!0),c("li",_d,[z($,{to:"/transacoes",class:"btn btn-link btn-sm text-primary-dark fw-medium"},{default:Ee(()=>[...x[12]||(x[12]=[Z(" Ver todas as transações ",-1)])]),_:1})])]))])])])])])}}},wd=Ge(xd,[["__scopeId","data-v-e51a257a"]]),bi="/assets/CtrlCash-blue-DUaQbcwD.png",Cd={class:"login-container d-flex align-items-center justify-content-center min-vh-100 p-3"},Sd={class:"login-card p-5 shadow-lg rounded-4 bg-white"},Ed={class:"mb-3"},Ad={class:"input-group"},Rd={class:"mb-4"},Td={class:"input-group"},Od={key:0,class:"alert alert-danger"},Pd=["disabled"],Id={key:0,class:"spinner-border spinner-border-sm me-2"},Nd={__name:"LoginView",setup(e){const t=Zt(),s=Q(!1),n=Q(""),o=Q({email:"",password:""}),r=async()=>{s.value=!0,n.value="";try{const i=await fetch("/api/auth/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(o.value)}),l=await i.json();i.ok?(localStorage.setItem("user",JSON.stringify(l.user)),localStorage.setItem("isAuthenticated","true"),t.push("/dashboard")):n.value=l.error||"Erro ao fazer login"}catch(i){console.error("Erro:",i),n.value="Erro de conexão com o servidor"}finally{s.value=!1}};return(i,l)=>(F(),U(Ce,null,[z(Es),c("div",Cd,[c("div",Sd,[l[7]||(l[7]=c("div",{class:"text-center mb-4"},[c("img",{src:bi,alt:"CtrlCash Logo",width:"150",class:"mb-3"}),c("h2",{class:"fw-bold text-primary-dark"},"Login"),c("p",{class:"text-secondary-dark"},"Insira seus dados para continuar o controle.")],-1)),c("form",{onSubmit:ct(r,["prevent"])},[c("div",Ed,[l[3]||(l[3]=c("label",{for:"email",class:"form-label fw-medium text-primary-dark"},"E-mail",-1)),c("div",Ad,[l[2]||(l[2]=c("span",{class:"input-group-text"},[c("i",{class:"bi bi-envelope-fill"})],-1)),he(c("input",{type:"email",class:"form-control",id:"email","onUpdate:modelValue":l[0]||(l[0]=a=>o.value.email=a),required:"",placeholder:"seu.email@exemplo.com"},null,512),[[ye,o.value.email]])])]),c("div",Rd,[l[5]||(l[5]=c("label",{for:"password",class:"form-label fw-medium text-primary-dark"},"Senha",-1)),c("div",Td,[l[4]||(l[4]=c("span",{class:"input-group-text"},[c("i",{class:"bi bi-lock-fill"})],-1)),he(c("input",{type:"password",class:"form-control",id:"password","onUpdate:modelValue":l[1]||(l[1]=a=>o.value.password=a),required:"",placeholder:"********"},null,512),[[ye,o.value.password]])]),l[6]||(l[6]=c("div",{class:"text-end mt-2"},null,-1))]),n.value?(F(),U("div",Od,Y(n.value),1)):ve("",!0),c("button",{type:"submit",class:"btn btn-primary-feature w-100 fw-bold py-2 shadow-sm",disabled:s.value},[s.value?(F(),U("span",Id)):ve("",!0),Z(" "+Y(s.value?"Entrando...":"Acessar Minha Conta"),1)],8,Pd)],32)])])],64))}},kd=Ge(Nd,[["__scopeId","data-v-4211987f"]]),$d={class:"cadastro-container d-flex align-items-center justify-content-center min-vh-100 p-3"},Dd={class:"cadastro-card p-5 shadow-lg rounded-4 bg-white"},Md={class:"mb-3"},Vd={class:"input-group"},jd={class:"mb-3"},Fd={class:"input-group"},Ld={class:"mb-3"},Ud={class:"input-group"},Hd={class:"mb-4"},Bd={class:"input-group"},qd={key:0,class:"alert alert-danger"},Gd={key:1,class:"alert alert-success"},Kd=["disabled"],Wd={key:0,class:"spinner-border spinner-border-sm me-2"},Jd={__name:"CadastroView",setup(e){const t=Zt(),s=Q(!1),n=Q(""),o=Q(""),r=Q({name:"",email:"",password:""}),i=Q(""),l=async()=>{if(s.value=!0,n.value="",o.value="",r.value.password!==i.value){n.value="As senhas não coincidem!",s.value=!1;return}if(r.value.password.length<6){n.value="A senha deve ter pelo menos 6 caracteres",s.value=!1;return}try{const a=await fetch("/api/auth/register",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(r.value)}),u=await a.json();a.ok?(o.value="Cadastro realizado com sucesso! Redirecionando...",setTimeout(()=>{localStorage.setItem("user",JSON.stringify(u.user)),localStorage.setItem("isAuthenticated","true"),t.push("/dashboard")},2e3)):n.value=u.error||"Erro ao cadastrar"}catch(a){console.error("Erro:",a),n.value="Erro de conexão com o servidor"}finally{s.value=!1}};return(a,u)=>(F(),U(Ce,null,[z(Es),c("div",$d,[c("div",Dd,[u[12]||(u[12]=c("div",{class:"text-center mb-4"},[c("img",{src:bi,alt:"CtrlCash Logo",width:"150",class:"mb-3"}),c("h2",{class:"fw-bold text-primary-dark"},"Abra Sua Conta"),c("p",{class:"text-secondary-dark"},"Preencha os campos para iniciar seu controle financeiro.")],-1)),c("form",{onSubmit:ct(l,["prevent"])},[c("div",Md,[u[5]||(u[5]=c("label",{for:"nome",class:"form-label fw-medium text-primary-dark"},"Nome Completo",-1)),c("div",Vd,[u[4]||(u[4]=c("span",{class:"input-group-text"},[c("i",{class:"bi bi-person-fill"})],-1)),he(c("input",{type:"text",class:"form-control",id:"nome","onUpdate:modelValue":u[0]||(u[0]=d=>r.value.name=d),required:"",placeholder:"Seu nome"},null,512),[[ye,r.value.name]])])]),c("div",jd,[u[7]||(u[7]=c("label",{for:"email",class:"form-label fw-medium text-primary-dark"},"E-mail",-1)),c("div",Fd,[u[6]||(u[6]=c("span",{class:"input-group-text"},[c("i",{class:"bi bi-envelope-fill"})],-1)),he(c("input",{type:"email",class:"form-control",id:"email","onUpdate:modelValue":u[1]||(u[1]=d=>r.value.email=d),required:"",placeholder:"seu.email@exemplo.com"},null,512),[[ye,r.value.email]])])]),c("div",Ld,[u[9]||(u[9]=c("label",{for:"password",class:"form-label fw-medium text-primary-dark"},"Crie Sua Senha",-1)),c("div",Ud,[u[8]||(u[8]=c("span",{class:"input-group-text"},[c("i",{class:"bi bi-lock-fill"})],-1)),he(c("input",{type:"password",class:"form-control",id:"password","onUpdate:modelValue":u[2]||(u[2]=d=>r.value.password=d),required:"",placeholder:"Mínimo 6 caracteres"},null,512),[[ye,r.value.password]])])]),c("div",Hd,[u[11]||(u[11]=c("label",{for:"confirmPassword",class:"form-label fw-medium text-primary-dark"},"Confirmar Senha",-1)),c("div",Bd,[u[10]||(u[10]=c("span",{class:"input-group-text"},[c("i",{class:"bi bi-lock-fill"})],-1)),he(c("input",{type:"password",class:"form-control",id:"confirmPassword","onUpdate:modelValue":u[3]||(u[3]=d=>i.value=d),required:"",placeholder:"Repita a senha"},null,512),[[ye,i.value]])])]),n.value?(F(),U("div",qd,Y(n.value),1)):ve("",!0),o.value?(F(),U("div",Gd,Y(o.value),1)):ve("",!0),c("button",{type:"submit",class:"btn btn-primary-feature w-100 fw-bold py-2 shadow-sm",disabled:s.value},[s.value?(F(),U("span",Wd)):ve("",!0),Z(" "+Y(s.value?"Cadastrando...":"Criar Minha Conta CtrlCash"),1)],8,Kd)],32)])])],64))}},zd=Ge(Jd,[["__scopeId","data-v-4c8cc0c5"]]),Xd={class:"transacoes-page bg-light min-vh-100"},Qd={class:"container-fluid py-4 max-w-7xl mx-auto px-4"},Yd={class:"card shadow-sm border-0 mb-4 p-3"},Zd={class:"row g-3 align-items-center"},ef={class:"col-md-3"},tf={class:"col-md-4"},sf=["value"],nf={class:"col-md-5"},of={class:"input-group"},rf={class:"card shadow-sm border-0"},lf={class:"card-body p-0"},af={key:0,class:"text-center py-5"},cf={key:1,class:"table-responsive"},uf={class:"table table-hover mb-0"},df={class:"text-center"},ff={class:"text-center"},pf=["onClick"],mf={key:0},hf={key:0,class:"card-footer bg-white text-center"},gf={class:"text-muted"},vf={key:0,class:"modal-overlay"},bf={class:"modal-container"},yf={class:"modal-content"},_f={class:"modal-body"},xf={class:"mb-3"},wf={class:"btn-group w-100",role:"group"},Cf={class:"mb-3"},Sf={class:"row"},Ef={class:"col-md-6 mb-3"},Af={class:"col-md-6 mb-3"},Rf={class:"mb-3"},Tf=["value"],Of={class:"modal-footer"},Pf=["disabled"],If={key:0,class:"spinner-border spinner-border-sm me-2"},Nf={__name:"TransacoesView",setup(e){const t=Zt(),s=Q([]),n=Q([]),o=Q(!1),r=Q(!1),i=Q(!1),l=Q({type:"",category:"",startDate:"",endDate:""}),a=Q({type:"expense",description:"",amount:"",category:"",date:new Date().toISOString().split("T")[0]}),u=Q(null),d=Ve(()=>n.value.filter(K=>K.type===a.value.type)),p=async()=>{o.value=!0;try{const K=JSON.parse(localStorage.getItem("user"));if(!K){t.push("/login");return}const S=await fetch(`/api/transactions?user_id=${K.id}`),D=await S.json();if(S.ok){let oe=D.transactions;l.value.type&&(oe=oe.filter(ne=>ne.type===l.value.type)),l.value.category&&(oe=oe.filter(ne=>ne.category===l.value.category)),l.value.startDate&&(oe=oe.filter(ne=>ne.date>=l.value.startDate)),l.value.endDate&&(oe=oe.filter(ne=>ne.date<=l.value.endDate)),s.value=oe}}catch(K){console.error("Erro ao carregar transações:",K),I("Erro ao carregar transações","error")}finally{o.value=!1}},g=async()=>{try{const K=JSON.parse(localStorage.getItem("user")),S=await fetch(`/api/categories?user_id=${K.id}`),D=await S.json();S.ok&&(n.value=D.categories)}catch(K){console.error("Erro ao carregar categorias:",K)}},v=async()=>{if(r.value=!0,u.value=null,!a.value.description.trim()){I("Descrição é obrigatória","error"),r.value=!1;return}if(!a.value.amount||parseFloat(a.value.amount)<=0){I("Valor deve ser maior que zero","error"),r.value=!1;return}if(!a.value.category){I("Selecione uma categoria","error"),r.value=!1;return}try{const S={user_id:JSON.parse(localStorage.getItem("user")).id,amount:parseFloat(a.value.amount),description:a.value.description.trim(),category:a.value.category,type:a.value.type,date:a.value.date},D=await fetch("/api/transactions",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(S)}),oe=await D.json();D.ok?(I("Transação salva com sucesso!","success"),$(),p()):I(oe.error||"Erro ao salvar transação","error")}catch(K){console.error("Erro:",K),I("Erro de conexão com o servidor","error")}finally{r.value=!1}},E=async K=>{if(confirm("Tem certeza que deseja excluir esta transação?"))try{const S=JSON.parse(localStorage.getItem("user")),D=await fetch(`/api/transactions/${K}?user_id=${S.id}`,{method:"DELETE"});if(D.ok)I("Transação excluída com sucesso!","success"),p();else{const oe=await D.json();I(oe.error||"Erro ao excluir transação","error")}}catch(S){console.error("Erro:",S),I("Erro de conexão com o servidor","error")}},x=()=>{i.value=!0,O(),u.value=null},$=()=>{i.value=!1,O(),u.value=null},O=()=>{a.value={type:"expense",description:"",amount:"",category:"",date:new Date().toISOString().split("T")[0]}},I=(K,S)=>{u.value={text:K,type:S},setTimeout(()=>{u.value=null},5e3)},L=K=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(K||0),V=K=>{if(!K)return"-";if(K.match(/^\d{4}-\d{2}-\d{2}$/)){const[S,D,oe]=K.split("-");return`${oe.padStart(2,"0")}/${D.padStart(2,"0")}/${S}`}return K},se=K=>{const S=n.value.find(D=>D.name===K);return S?S.color:"#6c757d"};return Cs(()=>{p(),g()}),(K,S)=>(F(),U("div",Xd,[z(so),c("div",Qd,[c("div",{class:"d-flex justify-content-between align-items-center mb-4"},[S[11]||(S[11]=c("h1",{class:"h3 fw-bold text-primary-dark"},"Minhas Transações",-1)),c("button",{type:"button",class:"btn btn-success-feature fw-bold shadow-sm d-flex align-items-center",onClick:x},[...S[10]||(S[10]=[c("i",{class:"bi bi-plus-circle-fill me-2"},null,-1),Z(" Nova Transação ",-1)])])]),c("div",Yd,[c("div",Zd,[c("div",ef,[S[13]||(S[13]=c("label",{for:"filtroTipo",class:"form-label small text-muted"},"Tipo",-1)),he(c("select",{id:"filtroTipo","onUpdate:modelValue":S[0]||(S[0]=D=>l.value.type=D),class:"form-select",onChange:p},[...S[12]||(S[12]=[c("option",{value:""},"Todos",-1),c("option",{value:"income"},"Receitas",-1),c("option",{value:"expense"},"Despesas",-1)])],544),[[$s,l.value.type]])]),c("div",tf,[S[15]||(S[15]=c("label",{for:"filtroCategoria",class:"form-label small text-muted"},"Categoria",-1)),he(c("select",{id:"filtroCategoria","onUpdate:modelValue":S[1]||(S[1]=D=>l.value.category=D),class:"form-select",onChange:p},[S[14]||(S[14]=c("option",{value:""},"Todas as categorias",-1)),(F(!0),U(Ce,null,Gt(n.value,D=>(F(),U("option",{key:D.id,value:D.name},Y(D.name),9,sf))),128))],544),[[$s,l.value.category]])]),c("div",nf,[S[17]||(S[17]=c("label",{for:"filtroPeriodo",class:"form-label small text-muted"},"Período",-1)),c("div",of,[he(c("input",{type:"date","onUpdate:modelValue":S[2]||(S[2]=D=>l.value.startDate=D),class:"form-control",onChange:p},null,544),[[ye,l.value.startDate]]),S[16]||(S[16]=c("span",{class:"input-group-text"},"a",-1)),he(c("input",{type:"date","onUpdate:modelValue":S[3]||(S[3]=D=>l.value.endDate=D),class:"form-control",onChange:p},null,544),[[ye,l.value.endDate]])])])])]),c("div",rf,[c("div",lf,[o.value?(F(),U("div",af,[...S[18]||(S[18]=[c("div",{class:"spinner-border text-primary-dark",role:"status"},[c("span",{class:"visually-hidden"},"Carregando...")],-1),c("p",{class:"text-muted mt-2"},"Carregando transações...",-1)])])):(F(),U("div",cf,[c("table",uf,[S[21]||(S[21]=c("thead",{class:"bg-light"},[c("tr",null,[c("th",{scope:"col",class:"text-primary-dark fw-bold"},"Descrição"),c("th",{scope:"col",class:"text-primary-dark fw-bold"},"Categoria"),c("th",{scope:"col",class:"text-primary-dark fw-bold text-center"},"Tipo"),c("th",{scope:"col",class:"text-primary-dark fw-bold text-end"},"Valor"),c("th",{scope:"col",class:"text-primary-dark fw-bold"},"Data"),c("th",{scope:"col",class:"text-primary-dark fw-bold text-center"},"Ações")])],-1)),c("tbody",null,[(F(!0),U(Ce,null,Gt(s.value,D=>(F(),U("tr",{key:D.id},[c("td",null,Y(D.description),1),c("td",null,[c("span",{class:"badge",style:Wt({backgroundColor:se(D.category),color:"white"})},Y(D.category),5)]),c("td",df,[c("span",{class:ge(["badge",D.type==="income"?"bg-success-feature":"bg-danger"])},[c("i",{class:ge(D.type==="income"?"bi bi-arrow-up":"bi bi-arrow-down")},null,2),Z(" "+Y(D.type==="income"?"Receita":"Despesa"),1)],2)]),c("td",{class:ge(["text-end fw-bold",D.type==="income"?"text-success-feature":"text-danger"])},Y(L(D.amount)),3),c("td",null,Y(V(D.date)),1),c("td",ff,[c("button",{class:"btn btn-sm btn-outline-danger",title:"Excluir transação",onClick:oe=>E(D.id)},[...S[19]||(S[19]=[c("i",{class:"bi bi-trash"},null,-1)])],8,pf)])]))),128)),s.value.length===0&&!o.value?(F(),U("tr",mf,[...S[20]||(S[20]=[c("td",{colspan:"6",class:"text-center py-5 text-muted"},[c("i",{class:"bi bi-receipt fs-1 opacity-50 d-block mb-2"}),Z(" Nenhuma transação encontrada "),c("br"),c("small",null,'Clique em "Nova Transação" para adicionar sua primeira transação')],-1)])])):ve("",!0)])])]))]),s.value.length>0?(F(),U("div",hf,[c("small",gf,"Exibindo "+Y(s.value.length)+" transações",1)])):ve("",!0)])]),i.value?(F(),U("div",vf,[c("div",bf,[c("div",yf,[c("div",{class:"modal-header bg-primary-dark text-white"},[S[22]||(S[22]=c("h5",{class:"modal-title fw-bold"}," Adicionar Nova Transação ",-1)),c("button",{type:"button",class:"btn-close btn-close-white",onClick:$})]),c("div",_f,[c("form",{onSubmit:ct(v,["prevent"])},[c("div",xf,[S[23]||(S[23]=c("label",{class:"form-label fw-medium text-primary-dark"},"Tipo",-1)),c("div",wf,[he(c("input",{type:"radio",class:"btn-check","onUpdate:modelValue":S[4]||(S[4]=D=>a.value.type=D),id:"tipoReceita",value:"income"},null,512),[[Mo,a.value.type]]),c("label",{class:ge(["btn btn-outline-success-feature fw-bold",{active:a.value.type==="income"}]),for:"tipoReceita"}," Receita ",2),he(c("input",{type:"radio",class:"btn-check","onUpdate:modelValue":S[5]||(S[5]=D=>a.value.type=D),id:"tipoDespesa",value:"expense"},null,512),[[Mo,a.value.type]]),c("label",{class:ge(["btn btn-outline-danger fw-bold",{active:a.value.type==="expense"}]),for:"tipoDespesa"}," Despesa ",2)])]),c("div",Cf,[S[24]||(S[24]=c("label",{for:"descricao",class:"form-label fw-medium text-primary-dark"},"Descrição",-1)),he(c("input",{type:"text",class:"form-control",id:"descricao","onUpdate:modelValue":S[6]||(S[6]=D=>a.value.description=D),placeholder:"Ex: Salário, Aluguel, Supermercado",required:""},null,512),[[ye,a.value.description]])]),c("div",Sf,[c("div",Ef,[S[25]||(S[25]=c("label",{for:"valor",class:"form-label fw-medium text-primary-dark"},"Valor (R$)",-1)),he(c("input",{type:"number",step:"0.01",min:"0.01",class:"form-control",id:"valor","onUpdate:modelValue":S[7]||(S[7]=D=>a.value.amount=D),placeholder:"0.00",required:""},null,512),[[ye,a.value.amount]])]),c("div",Af,[S[26]||(S[26]=c("label",{for:"data",class:"form-label fw-medium text-primary-dark"},"Data",-1)),he(c("input",{type:"date",class:"form-control",id:"data","onUpdate:modelValue":S[8]||(S[8]=D=>a.value.date=D),required:""},null,512),[[ye,a.value.date]])])]),c("div",Rf,[S[28]||(S[28]=c("label",{for:"categoria",class:"form-label fw-medium text-primary-dark"},"Categoria",-1)),he(c("select",{id:"categoria",class:"form-select","onUpdate:modelValue":S[9]||(S[9]=D=>a.value.category=D),required:""},[S[27]||(S[27]=c("option",{value:""},"Selecione uma categoria...",-1)),(F(!0),U(Ce,null,Gt(d.value,D=>(F(),U("option",{key:D.id,value:D.name},Y(D.name),9,Tf))),128))],512),[[$s,a.value.category]])]),u.value?(F(),U("div",{key:0,class:ge(["alert",u.value.type==="success"?"alert-success":"alert-danger"])},Y(u.value.text),3)):ve("",!0)],32)]),c("div",Of,[c("button",{type:"button",class:"btn btn-secondary",onClick:$},"Cancelar"),c("button",{type:"button",class:"btn btn-primary-dark-feature fw-bold",onClick:v,disabled:r.value},[r.value?(F(),U("span",If)):ve("",!0),Z(" "+Y(r.value?"Salvando...":"Salvar Transação"),1)],8,Pf)])])])])):ve("",!0)]))}},kf=Ge(Nf,[["__scopeId","data-v-be477c64"]]),$f={class:"config-page bg-light min-vh-100"},Df={class:"container-fluid py-4 max-w-7xl mx-auto px-4"},Mf={class:"row g-4"},Vf={class:"col-lg-3"},jf={class:"list-group shadow-sm border-0 rounded-3"},Ff={class:"col-lg-9"},Lf={class:"card shadow-sm border-0 p-4 h-100"},Uf={key:0},Hf={class:"row"},Bf={class:"col-md-6 mb-3"},qf={class:"col-md-6 mb-3"},Gf={class:"row"},Kf={class:"col-md-6 mb-3"},Wf={class:"col-md-6 mb-3"},Jf=["disabled"],zf={key:0,class:"spinner-border spinner-border-sm me-2"},Xf={key:1},Qf={class:"d-flex justify-content-between align-items-center mb-3"},Yf={key:0,class:"text-center py-4"},Zf={key:1,class:"row"},ep={class:"col-md-6"},tp={class:"list-group mb-4"},sp={class:"d-flex align-items-center"},np={class:"col-md-6"},op={class:"list-group"},rp={class:"d-flex align-items-center"},ip={key:2},lp={class:"mb-3"},ap={class:"mb-3"},cp={class:"mb-3"},up=["disabled"],dp={key:0,class:"spinner-border spinner-border-sm me-2"},fp={class:"modal-dialog modal-dialog-centered"},pp={class:"modal-content"},mp={class:"modal-body"},hp={class:"mb-3"},gp={class:"mb-3"},vp={class:"mb-3"},bp={class:"d-flex align-items-center"},yp={class:"modal-footer"},_p=["disabled"],xp={key:0,class:"spinner-border spinner-border-sm me-2"},wp={__name:"ConfiguracoesView",setup(e){const t=Zt(),s=Q("perfil"),n=Q(!1),o=Q(!1),r=Q(!1),i=Q(!1),l=Q(!1),a=Q({name:"",email:"",profile:{monthly_income_goal:5e3,monthly_expense_limit:2500,currency:"BRL"}}),u=Q([]),d=Q({name:"",email:"",profile:{monthly_income_goal:5e3,monthly_expense_limit:2500,currency:"BRL"}}),p=Q({currentPassword:"",newPassword:"",confirmPassword:""}),g=Q({name:"",type:"expense",color:"#6c757d"}),v=Q(null),E=Q(null),x=Q(null),$=Q(null),O=Ve(()=>u.value.filter(X=>X.type==="income")),I=Ve(()=>u.value.filter(X=>X.type==="expense")),L=X=>{s.value=X},V=async()=>{try{const X=JSON.parse(localStorage.getItem("user"));if(!X){t.push("/login");return}const b=await fetch(`/api/user/profile?user_id=${X.id}`);if(b.ok){const j=await b.json();a.value=j.user,d.value={...j.user},localStorage.setItem("user",JSON.stringify(j.user))}}catch(X){console.error("Erro ao carregar perfil:",X),ne(v,"Erro ao carregar perfil","error")}},se=async()=>{n.value=!0;try{const X=JSON.parse(localStorage.getItem("user")),b=await fetch(`/api/categories?user_id=${X.id}`),j=await b.json();b.ok&&(u.value=j.categories)}catch(X){console.error("Erro ao carregar categorias:",X),ne(x,"Erro ao carregar categorias","error")}finally{n.value=!1}},K=async()=>{o.value=!0,v.value=null;try{const X=JSON.parse(localStorage.getItem("user")),b=await fetch("/api/user/profile",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({user_id:X.id,name:d.value.name,email:d.value.email,profile:d.value.profile})}),j=await b.json();if(b.ok){const At={...X,name:j.user.name,email:j.user.email,profile:j.user.profile};localStorage.setItem("user",JSON.stringify(At)),ne(v,"Perfil atualizado com sucesso!","success")}else ne(v,j.error||"Erro ao atualizar perfil","error")}catch(X){console.error("Erro:",X),ne(v,"Erro de conexão com o servidor","error")}finally{o.value=!1}},S=async()=>{if(r.value=!0,E.value=null,p.value.newPassword!==p.value.confirmPassword){ne(E,"As senhas não coincidem","error"),r.value=!1;return}if(p.value.newPassword.length<6){ne(E,"A senha deve ter pelo menos 6 caracteres","error"),r.value=!1;return}try{const X=JSON.parse(localStorage.getItem("user")),b=await fetch("/api/user/change-password",{method:"PUT",headers:{"Content-Type":"application/json"},body:JSON.stringify({user_id:X.id,current_password:p.value.currentPassword,new_password:p.value.newPassword})}),j=await b.json();b.ok?(ne(E,"Senha alterada com sucesso!","success"),p.value={currentPassword:"",newPassword:"",confirmPassword:""}):ne(E,j.error||"Erro ao alterar senha","error")}catch(X){console.error("Erro:",X),ne(E,"Erro de conexão com o servidor","error")}finally{r.value=!1}},D=async()=>{i.value=!0,$.value=null;try{const X=JSON.parse(localStorage.getItem("user")),b=await fetch("/api/categories",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({user_id:X.id,name:g.value.name,type:g.value.type,color:g.value.color})}),j=await b.json();b.ok?(ne($,"Categoria adicionada com sucesso!","success"),oe(),se()):ne($,j.error||"Erro ao adicionar categoria","error")}catch(X){console.error("Erro:",X),ne($,"Erro de conexão com o servidor","error")}finally{i.value=!1}},oe=()=>{l.value=!1,g.value={name:"",type:"expense",color:"#6c757d"},$.value=null},ne=(X,b,j)=>{X.value={text:b,type:j},setTimeout(()=>{X.value=null},5e3)};return Cs(()=>{V(),se()}),(X,b)=>(F(),U("div",$f,[z(so),c("div",Df,[b[37]||(b[37]=c("h1",{class:"h3 fw-bold text-primary-dark mb-4"},"Configurações e Gestão da Conta",-1)),c("div",Mf,[c("div",Vf,[c("div",jf,[c("a",{href:"#",onClick:b[0]||(b[0]=ct(j=>L("perfil"),["prevent"])),class:ge(["list-group-item list-group-item-action",{"active-feature":s.value==="perfil"}])},[...b[14]||(b[14]=[c("i",{class:"bi bi-person-circle me-2"},null,-1),Z(" Perfil e Dados Pessoais ",-1)])],2),c("a",{href:"#",onClick:b[1]||(b[1]=ct(j=>L("categorias"),["prevent"])),class:ge(["list-group-item list-group-item-action",{"active-feature":s.value==="categorias"}])},[...b[15]||(b[15]=[c("i",{class:"bi bi-tags-fill me-2"},null,-1),Z(" Gestão de Categorias ",-1)])],2),c("a",{href:"#",onClick:b[2]||(b[2]=ct(j=>L("seguranca"),["prevent"])),class:ge(["list-group-item list-group-item-action",{"active-feature":s.value==="seguranca"}])},[...b[16]||(b[16]=[c("i",{class:"bi bi-lock-fill me-2"},null,-1),Z(" Segurança e Senha ",-1)])],2)])]),c("div",Ff,[c("div",Lf,[s.value==="perfil"?(F(),U("div",Uf,[b[21]||(b[21]=c("h2",{class:"h4 fw-bold text-primary-dark mb-3"},"Meu Perfil",-1)),b[22]||(b[22]=c("p",{class:"text-muted"},"Gerencie seu nome, e-mail e outras informações de contato.",-1)),c("form",{onSubmit:ct(K,["prevent"])},[c("div",Hf,[c("div",Bf,[b[17]||(b[17]=c("label",{class:"form-label fw-medium"},"Nome Completo",-1)),he(c("input",{type:"text",class:"form-control","onUpdate:modelValue":b[3]||(b[3]=j=>d.value.name=j),required:""},null,512),[[ye,d.value.name]])]),c("div",qf,[b[18]||(b[18]=c("label",{class:"form-label fw-medium"},"E-mail",-1)),he(c("input",{type:"email",class:"form-control","onUpdate:modelValue":b[4]||(b[4]=j=>d.value.email=j),required:""},null,512),[[ye,d.value.email]])])]),c("div",Gf,[c("div",Kf,[b[19]||(b[19]=c("label",{class:"form-label fw-medium"},"Meta de Receita Mensal (R$)",-1)),he(c("input",{type:"number",class:"form-control","onUpdate:modelValue":b[5]||(b[5]=j=>d.value.profile.monthly_income_goal=j),step:"0.01",min:"0"},null,512),[[ye,d.value.profile.monthly_income_goal]])]),c("div",Wf,[b[20]||(b[20]=c("label",{class:"form-label fw-medium"},"Limite de Despesas Mensal (R$)",-1)),he(c("input",{type:"number",class:"form-control","onUpdate:modelValue":b[6]||(b[6]=j=>d.value.profile.monthly_expense_limit=j),step:"0.01",min:"0"},null,512),[[ye,d.value.profile.monthly_expense_limit]])])]),v.value?(F(),U("div",{key:0,class:ge(["alert",v.value.type==="success"?"alert-success":"alert-danger"])},Y(v.value.text),3)):ve("",!0),c("button",{class:"btn btn-primary-feature mt-2",disabled:o.value},[o.value?(F(),U("span",zf)):ve("",!0),Z(" "+Y(o.value?"Salvando...":"Salvar Alterações"),1)],8,Jf)],32)])):ve("",!0),s.value==="categorias"?(F(),U("div",Xf,[c("div",Qf,[b[24]||(b[24]=c("h2",{class:"h4 fw-bold text-primary-dark mb-0"},"Categorias Financeiras",-1)),c("button",{class:"btn btn-success-feature",onClick:b[7]||(b[7]=j=>l.value=!0)},[...b[23]||(b[23]=[c("i",{class:"bi bi-plus-circle me-2"},null,-1),Z(" Nova Categoria ",-1)])])]),b[30]||(b[30]=c("p",{class:"text-muted"},"Crie, edite ou remova categorias de receitas e despesas.",-1)),n.value?(F(),U("div",Yf,[...b[25]||(b[25]=[c("div",{class:"spinner-border text-primary-dark",role:"status"},null,-1),c("p",{class:"text-muted mt-2"},"Carregando categorias...",-1)])])):(F(),U("div",Zf,[c("div",ep,[b[27]||(b[27]=c("h5",{class:"fw-bold text-success mb-3"},"📈 Receitas",-1)),c("div",tp,[(F(!0),U(Ce,null,Gt(O.value,j=>(F(),U("div",{key:j.id,class:"list-group-item d-flex justify-content-between align-items-center"},[c("div",sp,[c("span",{class:"badge me-2",style:Wt({backgroundColor:j.color,width:"15px",height:"15px",display:"inline-block"})},null,4),Z(" "+Y(j.name),1)]),b[26]||(b[26]=c("span",{class:"badge bg-success"},"Receita",-1))]))),128))])]),c("div",np,[b[29]||(b[29]=c("h5",{class:"fw-bold text-danger mb-3"},"📉 Despesas",-1)),c("div",op,[(F(!0),U(Ce,null,Gt(I.value,j=>(F(),U("div",{key:j.id,class:"list-group-item d-flex justify-content-between align-items-center"},[c("div",rp,[c("span",{class:"badge me-2",style:Wt({backgroundColor:j.color,width:"15px",height:"15px",display:"inline-block"})},null,4),Z(" "+Y(j.name),1)]),b[28]||(b[28]=c("span",{class:"badge bg-danger"},"Despesa",-1))]))),128))])])])),x.value?(F(),U("div",{key:2,class:ge(["alert",x.value.type==="success"?"alert-success":"alert-danger"])},Y(x.value.text),3)):ve("",!0)])):ve("",!0),s.value==="seguranca"?(F(),U("div",ip,[b[35]||(b[35]=c("h2",{class:"h4 fw-bold text-primary-dark mb-3"},"Segurança da Conta",-1)),b[36]||(b[36]=c("p",{class:"text-muted"},"Altere sua senha para manter sua conta segura.",-1)),c("form",{onSubmit:ct(S,["prevent"])},[c("div",lp,[b[31]||(b[31]=c("label",{class:"form-label fw-medium"},"Senha Atual",-1)),he(c("input",{type:"password",class:"form-control","onUpdate:modelValue":b[8]||(b[8]=j=>p.value.currentPassword=j),required:""},null,512),[[ye,p.value.currentPassword]])]),c("div",ap,[b[32]||(b[32]=c("label",{class:"form-label fw-medium"},"Nova Senha",-1)),he(c("input",{type:"password",class:"form-control","onUpdate:modelValue":b[9]||(b[9]=j=>p.value.newPassword=j),required:"",minlength:"6"},null,512),[[ye,p.value.newPassword]]),b[33]||(b[33]=c("small",{class:"text-muted"},"Mínimo 6 caracteres",-1))]),c("div",cp,[b[34]||(b[34]=c("label",{class:"form-label fw-medium"},"Confirmar Nova Senha",-1)),he(c("input",{type:"password",class:"form-control","onUpdate:modelValue":b[10]||(b[10]=j=>p.value.confirmPassword=j),required:""},null,512),[[ye,p.value.confirmPassword]])]),E.value?(F(),U("div",{key:0,class:ge(["alert",E.value.type==="success"?"alert-success":"alert-danger"])},Y(E.value.text),3)):ve("",!0),c("button",{class:"btn btn-warning text-white mt-2",disabled:r.value},[r.value?(F(),U("span",dp)):ve("",!0),Z(" "+Y(r.value?"Alterando...":"Alterar Senha"),1)],8,up)],32)])):ve("",!0)])])])]),l.value?(F(),U("div",{key:0,class:ge(["modal fade",{"show d-block":l.value}]),tabindex:"-1"},[c("div",fp,[c("div",pp,[c("div",{class:"modal-header bg-primary-dark text-white"},[b[38]||(b[38]=c("h5",{class:"modal-title fw-bold"},"Nova Categoria",-1)),c("button",{type:"button",class:"btn-close btn-close-white",onClick:oe})]),c("div",mp,[c("form",{onSubmit:ct(D,["prevent"])},[c("div",hp,[b[39]||(b[39]=c("label",{class:"form-label fw-medium"},"Nome da Categoria",-1)),he(c("input",{type:"text",class:"form-control","onUpdate:modelValue":b[11]||(b[11]=j=>g.value.name=j),placeholder:"Ex: Investimentos, Lazer, Educação...",required:""},null,512),[[ye,g.value.name]])]),c("div",gp,[b[41]||(b[41]=c("label",{class:"form-label fw-medium"},"Tipo",-1)),he(c("select",{"onUpdate:modelValue":b[12]||(b[12]=j=>g.value.type=j),class:"form-select",required:""},[...b[40]||(b[40]=[c("option",{value:"income"},"Receita",-1),c("option",{value:"expense"},"Despesa",-1)])],512),[[$s,g.value.type]])]),c("div",vp,[b[43]||(b[43]=c("label",{class:"form-label fw-medium"},"Cor",-1)),c("div",bp,[he(c("input",{type:"color",class:"form-control form-control-color","onUpdate:modelValue":b[13]||(b[13]=j=>g.value.color=j),required:""},null,512),[[ye,g.value.color]]),b[42]||(b[42]=c("span",{class:"ms-2 small text-muted"},"Escolha uma cor para identificar",-1))])]),$.value?(F(),U("div",{key:0,class:ge(["alert",$.value.type==="success"?"alert-success":"alert-danger"])},Y($.value.text),3)):ve("",!0)],32)]),c("div",yp,[c("button",{type:"button",class:"btn btn-secondary",onClick:oe},"Cancelar"),c("button",{type:"button",class:"btn btn-primary-dark-feature fw-bold",onClick:D,disabled:i.value},[i.value?(F(),U("span",xp)):ve("",!0),Z(" "+Y(i.value?"Adicionando...":"Adicionar Categoria"),1)],8,_p)])])]),c("div",{class:"modal-backdrop fade show",onClick:oe})],2)):ve("",!0)]))}},Cp=Ge(wp,[["__scopeId","data-v-c3d65fed"]]),Sp={class:"sobre-nos-page bg-light min-vh-100"},Ep={class:"container-fluid py-5 max-w-7xl mx-auto px-4"},Ap={class:"row g-5 align-items-center"},Rp={class:"col-lg-6"},Tp={__name:"SobreNosView",setup(e){return(t,s)=>{const n=$t("router-link");return F(),U("div",Sp,[z(Es),c("div",Ep,[c("div",Ap,[c("div",Rp,[s[1]||(s[1]=c("h1",{class:"display-5 fw-bold text-primary-dark mb-4"},[Z(" Nossa Missão: "),c("span",{class:"text-success-feature"},"Empoderar"),Z(" Suas Finanças. ")],-1)),s[2]||(s[2]=c("p",{class:"lead text-muted"}," O CtrlCash nasceu da necessidade de simplificar a gestão financeira pessoal. Acreditamos que controlar suas finanças não deve ser um fardo, mas uma ferramenta para alcançar seus objetivos. ",-1)),s[3]||(s[3]=c("p",{class:"text-muted"}," Nosso sistema oferece uma visão clara e organizada de onde seu dinheiro está indo, permitindo que você tome decisões informadas. Não se trata apenas de registrar gastos, mas de planejar o futuro. ",-1)),z(n,{to:"/cadastro",class:"btn btn-lg btn-success-feature shadow-lg mt-4"},{default:Ee(()=>[...s[0]||(s[0]=[Z(" Comece a Controlar Sua Vida Financeira Hoje ",-1)])]),_:1})]),s[4]||(s[4]=sn('<div class="col-lg-6 d-none d-lg-block" data-v-ce95d114><div class="p-5 bg-white shadow-lg rounded-5 text-center border" data-v-ce95d114><i class="bi bi-wallet2 display-1 text-primary-dark mb-3" data-v-ce95d114></i><h3 class="fw-bold text-primary-dark" data-v-ce95d114>Controle Financeiro Descomplicado</h3><p class="text-muted" data-v-ce95d114>A plataforma ideal para quem busca clareza e inteligência nos gastos diários.</p><i class="bi bi-graph-up display-4 text-success-feature mt-3" data-v-ce95d114></i></div></div>',1))])]),z(to)])}}},Op=Ge(Tp,[["__scopeId","data-v-ce95d114"]]),Pp={class:"ajuda-page bg-light min-vh-100"},Ip={__name:"AjudaView",setup(e){return(t,s)=>(F(),U("div",Pp,[z(Es),s[0]||(s[0]=sn('<div class="container-fluid py-5 max-w-7xl mx-auto px-4" data-v-eacca1cc><h1 class="display-5 fw-bold text-primary-dark mb-4 text-center" data-v-eacca1cc>Central de Ajuda e FAQ</h1><p class="text-center text-muted mb-5" data-v-eacca1cc>Encontre respostas rápidas para suas dúvidas mais comuns ou envie seu feedback.</p><div class="row justify-content-center" data-v-eacca1cc><div class="col-lg-10" data-v-eacca1cc><div class="accordion" id="faqAccordion" data-v-eacca1cc><div class="accordion-item shadow-sm mb-3 rounded-3" data-v-eacca1cc><h2 class="accordion-header" id="headingOne" data-v-eacca1cc><button class="accordion-button fw-bold text-primary-dark" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne" data-v-eacca1cc> Como faço para registrar uma nova transação? </button></h2><div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#faqAccordion" data-v-eacca1cc><div class="accordion-body text-muted small" data-v-eacca1cc> No seu Dashboard, clique em &quot;Transações&quot; na barra de navegação. Na View de Transações, use o botão &quot;Nova Transação&quot; (verde) para adicionar Receitas ou Despesas. Certifique-se de categorizar corretamente para as análises futuras. </div></div></div><div class="accordion-item shadow-sm mb-3 rounded-3" data-v-eacca1cc><h2 class="accordion-header" id="headingThree" data-v-eacca1cc><button class="accordion-button collapsed fw-bold text-primary-dark" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree" data-v-eacca1cc> Posso adicionar minhas próprias categorias? </button></h2><div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#faqAccordion" data-v-eacca1cc><div class="accordion-body text-muted small" data-v-eacca1cc> Sim! Vá para a View &quot;Configurações&quot; e selecione a aba &quot;Gestão de Categorias&quot;. Lá você pode criar, editar ou remover categorias personalizadas para se adequar ao seu estilo de vida financeiro. </div></div></div></div></div></div></div>',1)),z(to)]))}},Np=Ge(Ip,[["__scopeId","data-v-eacca1cc"]]),kp=Qc({history:Oc("/"),routes:[{path:"/",name:"home",component:_u},{path:"/dashboard",name:"dashboard",component:wd},{path:"/login",name:"login",component:kd},{path:"/cadastro",name:"cadastro",component:zd},{path:"/transacoes",name:"transacoes",component:kf},{path:"/configuracoes",name:"configuracoes",component:Cp},{path:"/about",name:"about",component:Op},{path:"/help",name:"help",component:Np}]}),yi=La(Ga);yi.use(kp);yi.mount("#app");