(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();function pr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const se={},tn=[],gt=()=>{},Fo=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ds=e=>e.startsWith("onUpdate:"),Ae=Object.assign,mr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Tl=Object.prototype.hasOwnProperty,oe=(e,t)=>Tl.call(e,t),K=Array.isArray,nn=e=>Dn(e)==="[object Map]",Ho=e=>Dn(e)==="[object Set]",jr=e=>Dn(e)==="[object Date]",z=e=>typeof e=="function",_e=e=>typeof e=="string",et=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",Bo=e=>(ae(e)||z(e))&&z(e.then)&&z(e.catch),Uo=Object.prototype.toString,Dn=e=>Uo.call(e),Ol=e=>Dn(e).slice(8,-1),qo=e=>Dn(e)==="[object Object]",hs=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_n=pr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ps=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Pl=/-\w/g,je=ps(e=>e.replace(Pl,t=>t.slice(1).toUpperCase())),Ml=/\B([A-Z])/g,Ht=ps(e=>e.replace(Ml,"-$1").toLowerCase()),ms=ps(e=>e.charAt(0).toUpperCase()+e.slice(1)),As=ps(e=>e?`on${ms(e)}`:""),Me=(e,t)=>!Object.is(e,t),Gn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ko=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},gr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Fr;const gs=()=>Fr||(Fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _t(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=_e(s)?Ll(s):_t(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(_e(e)||ae(e))return e}const Nl=/;(?![^(]*\))/g,Il=/:([^]+)/,$l=/\/\*[^]*?\*\//g;function Ll(e){const t={};return e.replace($l,"").split(Nl).forEach(n=>{if(n){const s=n.split(Il);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function we(e){let t="";if(_e(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const s=we(e[n]);s&&(t+=s+" ")}else if(ae(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Dl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vl=pr(Dl);function Wo(e){return!!e||e===""}function jl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=vr(e[s],t[s]);return n}function vr(e,t){if(e===t)return!0;let n=jr(e),s=jr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=et(e),s=et(t),n||s)return e===t;if(n=K(e),s=K(t),n||s)return n&&s?jl(e,t):!1;if(n=ae(e),s=ae(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!vr(e[i],t[i]))return!1}}return String(e)===String(t)}const zo=e=>!!(e&&e.__v_isRef===!0),J=e=>_e(e)?e:e==null?"":K(e)||ae(e)&&(e.toString===Uo||!z(e.toString))?zo(e)?J(e.value):JSON.stringify(e,Go,2):String(e),Go=(e,t)=>zo(t)?Go(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ts(s,o)+" =>"]=r,n),{})}:Ho(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ts(n))}:et(t)?Ts(t):ae(t)&&!K(t)&&!qo(t)?String(t):t,Ts=(e,t="")=>{var n;return et(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ke;class Jo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&ke&&(ke.active?(this.parent=ke,this.index=(ke.scopes||(ke.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=ke;try{return ke=this,t()}finally{ke=n}}}on(){++this._on===1&&(this.prevScope=ke,ke=this)}off(){if(this._on>0&&--this._on===0){if(ke===this)ke=this.prevScope;else{let t=ke;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Yo(e){return new Jo(e)}function Qo(){return ke}function Fl(e,t=!1){ke&&ke.cleanups.push(e)}let pe;const Os=new WeakSet;class Xo{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,ke&&(ke.active?ke.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Os.has(this)&&(Os.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ei(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Hr(this),ti(this);const t=pe,n=ot;pe=this,ot=!0;try{return this.fn()}finally{ni(this),pe=t,ot=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)xr(t);this.deps=this.depsTail=void 0,Hr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Os.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){zs(this)&&this.run()}get dirty(){return zs(this)}}let Zo=0,bn,xn;function ei(e,t=!1){if(e.flags|=8,t){e.next=xn,xn=e;return}e.next=bn,bn=e}function _r(){Zo++}function br(){if(--Zo>0)return;if(xn){let t=xn;for(xn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;bn;){let t=bn;for(bn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ni(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),xr(s),Hl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function zs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rn)||(e.globalVersion=Rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!zs(e))))return;e.flags|=2;const t=e.dep,n=pe,s=ot;pe=e,ot=!0;try{ti(e);const r=e.fn(e._value);(t.version===0||Me(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{pe=n,ot=s,ni(e),e.flags&=-3}}function xr(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)xr(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Hl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ot=!0;const ri=[];function Tt(){ri.push(ot),ot=!1}function Ot(){const e=ri.pop();ot=e===void 0?!0:e}function Hr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let Rn=0;class Bl{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class vs{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(!pe||!ot||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new Bl(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,oi(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=s)}return n}trigger(t){this.version++,Rn++,this.notify(t)}notify(t){_r();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{br()}}}function oi(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)oi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const es=new WeakMap,Wt=Symbol(""),Gs=Symbol(""),An=Symbol("");function De(e,t,n){if(ot&&pe){let s=es.get(e);s||es.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new vs),r.map=s,r.key=n),r.track()}}function Ct(e,t,n,s,r,o){const i=es.get(e);if(!i){Rn++;return}const l=c=>{c&&c.trigger()};if(_r(),t==="clear")i.forEach(l);else{const c=K(e),a=c&&hs(n);if(c&&n==="length"){const u=Number(s);i.forEach((d,p)=>{(p==="length"||p===An||!et(p)&&p>=u)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),a&&l(i.get(An)),t){case"add":c?a&&l(i.get("length")):(l(i.get(Wt)),nn(e)&&l(i.get(Gs)));break;case"delete":c||(l(i.get(Wt)),nn(e)&&l(i.get(Gs)));break;case"set":nn(e)&&l(i.get(Wt));break}}br()}function Ul(e,t){const n=es.get(e);return n&&n.get(t)}function Jt(e){const t=ne(e);return t===e?t:(De(t,"iterate",An),Xe(e)?t:t.map(it))}function _s(e){return De(e=ne(e),"iterate",An),e}function pt(e,t){return Pt(e)?ln(Rt(e)?it(t):t):it(t)}const ql={__proto__:null,[Symbol.iterator](){return Ps(this,Symbol.iterator,e=>pt(this,e))},concat(...e){return Jt(this).concat(...e.map(t=>K(t)?Jt(t):t))},entries(){return Ps(this,"entries",e=>(e[1]=pt(this,e[1]),e))},every(e,t){return yt(this,"every",e,t,void 0,arguments)},filter(e,t){return yt(this,"filter",e,t,n=>n.map(s=>pt(this,s)),arguments)},find(e,t){return yt(this,"find",e,t,n=>pt(this,n),arguments)},findIndex(e,t){return yt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yt(this,"findLast",e,t,n=>pt(this,n),arguments)},findLastIndex(e,t){return yt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ms(this,"includes",e)},indexOf(...e){return Ms(this,"indexOf",e)},join(e){return Jt(this).join(e)},lastIndexOf(...e){return Ms(this,"lastIndexOf",e)},map(e,t){return yt(this,"map",e,t,void 0,arguments)},pop(){return dn(this,"pop")},push(...e){return dn(this,"push",e)},reduce(e,...t){return Br(this,"reduce",e,t)},reduceRight(e,...t){return Br(this,"reduceRight",e,t)},shift(){return dn(this,"shift")},some(e,t){return yt(this,"some",e,t,void 0,arguments)},splice(...e){return dn(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 dn(this,"unshift",e)},values(){return Ps(this,"values",e=>pt(this,e))}};function Ps(e,t,n){const s=_s(e),r=s[t]();return s!==e&&!Xe(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Kl=Array.prototype;function yt(e,t,n,s,r,o){const i=_s(e),l=i!==e&&!Xe(e),c=i[t];if(c!==Kl[t]){const d=c.apply(e,o);return l?it(d):d}let a=n;i!==e&&(l?a=function(d,p){return n.call(this,pt(e,d),p,e)}:n.length>2&&(a=function(d,p){return n.call(this,d,p,e)}));const u=c.call(i,a,s);return l&&r?r(u):u}function Br(e,t,n,s){const r=_s(e),o=r!==e&&!Xe(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(a,u,d){return l&&(l=!1,a=pt(e,a)),n.call(this,a,pt(e,u),d,e)}):n.length>3&&(i=function(a,u,d){return n.call(this,a,u,d,e)}));const c=r[t](i,...s);return l?pt(e,c):c}function Ms(e,t,n){const s=ne(e);De(s,"iterate",An);const r=s[t](...n);return(r===-1||r===!1)&&bs(n[0])?(n[0]=ne(n[0]),s[t](...n)):r}function dn(e,t,n=[]){Tt(),_r();const s=ne(e)[t].apply(e,n);return br(),Ot(),s}const Wl=pr("__proto__,__v_isRef,__isVue"),ii=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function zl(e){et(e)||(e=String(e));const t=ne(this);return De(t,"has",e),t.hasOwnProperty(e)}class li{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?sc:fi:o?ui:ai).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=K(t);if(!r){let c;if(i&&(c=ql[n]))return c;if(n==="hasOwnProperty")return zl}const l=Reflect.get(t,n,ye(t)?t:s);if((et(n)?ii.has(n):Wl(n))||(r||De(t,"get",n),o))return l;if(ye(l)){const c=i&&hs(n)?l:l.value;return r&&ae(c)?Ys(c):c}return ae(l)?r?Ys(l):Vn(l):l}}class ci extends li{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=K(t)&&hs(n);if(!this._isShallow){const a=Pt(o);if(!Xe(s)&&!Pt(s)&&(o=ne(o),s=ne(s)),!i&&ye(o)&&!ye(s))return a||(o.value=s),!0}const l=i?Number(n)<t.length:oe(t,n),c=Reflect.set(t,n,s,ye(t)?t:r);return t===ne(r)&&c&&(l?Me(s,o)&&Ct(t,"set",n,s):Ct(t,"add",n,s)),c}deleteProperty(t,n){const s=oe(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ct(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!et(n)||!ii.has(n))&&De(t,"has",n),s}ownKeys(t){return De(t,"iterate",K(t)?"length":Wt),Reflect.ownKeys(t)}}class Gl extends li{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Jl=new ci,Yl=new Gl,Ql=new ci(!0);const Js=e=>e,Bn=e=>Reflect.getPrototypeOf(e);function Xl(e,t,n){return function(...s){const r=this.__v_raw,o=ne(r),i=nn(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,a=r[e](...s),u=n?Js:t?ln:it;return!t&&De(o,"iterate",c?Gs:Wt),Ae(Object.create(a),{next(){const{value:d,done:p}=a.next();return p?{value:d,done:p}:{value:l?[u(d[0]),u(d[1])]:u(d),done:p}}})}}function Un(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zl(e,t){const n={get(r){const o=this.__v_raw,i=ne(o),l=ne(r);e||(Me(r,l)&&De(i,"get",r),De(i,"get",l));const{has:c}=Bn(i),a=t?Js:e?ln:it;if(c.call(i,r))return a(o.get(r));if(c.call(i,l))return a(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&De(ne(r),"iterate",Wt),r.size},has(r){const o=this.__v_raw,i=ne(o),l=ne(r);return e||(Me(r,l)&&De(i,"has",r),De(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=ne(l),a=t?Js:e?ln:it;return!e&&De(c,"iterate",Wt),l.forEach((u,d)=>r.call(o,a(u),a(d),i))}};return Ae(n,e?{add:Un("add"),set:Un("set"),delete:Un("delete"),clear:Un("clear")}:{add(r){const o=ne(this),i=Bn(o),l=ne(r),c=!t&&!Xe(r)&&!Pt(r)?l:r;return i.has.call(o,c)||Me(r,c)&&i.has.call(o,r)||Me(l,c)&&i.has.call(o,l)||(o.add(c),Ct(o,"add",c,c)),this},set(r,o){!t&&!Xe(o)&&!Pt(o)&&(o=ne(o));const i=ne(this),{has:l,get:c}=Bn(i);let a=l.call(i,r);a||(r=ne(r),a=l.call(i,r));const u=c.call(i,r);return i.set(r,o),a?Me(o,u)&&Ct(i,"set",r,o):Ct(i,"add",r,o),this},delete(r){const o=ne(this),{has:i,get:l}=Bn(o);let c=i.call(o,r);c||(r=ne(r),c=i.call(o,r)),l&&l.call(o,r);const a=o.delete(r);return c&&Ct(o,"delete",r,void 0),a},clear(){const r=ne(this),o=r.size!==0,i=r.clear();return o&&Ct(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Xl(r,e,t)}),n}function yr(e,t){const n=Zl(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(oe(n,r)&&r in s?n:s,r,o)}const ec={get:yr(!1,!1)},tc={get:yr(!1,!0)},nc={get:yr(!0,!1)};const ai=new WeakMap,ui=new WeakMap,fi=new WeakMap,sc=new WeakMap;function rc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vn(e){return Pt(e)?e:wr(e,!1,Jl,ec,ai)}function di(e){return wr(e,!1,Ql,tc,ui)}function Ys(e){return wr(e,!0,Yl,nc,fi)}function wr(e,t,n,s,r){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=rc(Ol(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Rt(e){return Pt(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function Xe(e){return!!(e&&e.__v_isShallow)}function bs(e){return e?!!e.__v_raw:!1}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function Sr(e){return!oe(e,"__v_skip")&&Object.isExtensible(e)&&Ko(e,"__v_skip",!0),e}const it=e=>ae(e)?Vn(e):e,ln=e=>ae(e)?Ys(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function ve(e){return hi(e,!1)}function oc(e){return hi(e,!0)}function hi(e,t){return ye(e)?e:new ic(e,t)}class ic{constructor(t,n){this.dep=new vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ne(t),this._value=n?t:it(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Xe(t)||Pt(t);t=s?t:ne(t),Me(t,n)&&(this._rawValue=t,this._value=s?t:it(t),this.dep.trigger())}}function b(e){return ye(e)?e.value:e}const lc={get:(e,t,n)=>t==="__v_raw"?e:b(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ye(r)&&!ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function pi(e){return Rt(e)?e:new Proxy(e,lc)}class cc{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new vs,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function ac(e){return new cc(e)}function uc(e){const t=K(e)?new Array(e.length):{};for(const n in e)t[n]=dc(e,n);return t}class fc{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=et(n)?n:String(n),this._raw=ne(t);let r=!0,o=t;if(!K(t)||et(this._key)||!hs(this._key))do r=!bs(o)||Xe(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=b(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ye(this._raw[this._key])){const n=this._object[this._key];if(ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Ul(this._raw,this._key)}}function dc(e,t,n){return new fc(e,t,n)}class hc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return ei(this,!0),!0}get value(){const t=this.dep.track();return si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function pc(e,t,n=!1){let s,r;return z(e)?s=e:(s=e.get,r=e.set),new hc(s,r,n)}const qn={},ts=new WeakMap;let qt;function mc(e,t=!1,n=qt){if(n){let s=ts.get(n);s||ts.set(n,s=[]),s.push(e)}}function gc(e,t,n=se){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,a=$=>r?$:Xe($)||r===!1||r===0?kt($,1):kt($);let u,d,p,g,R=!1,E=!1;if(ye(e)?(d=()=>e.value,R=Xe(e)):Rt(e)?(d=()=>a(e),R=!0):K(e)?(E=!0,R=e.some($=>Rt($)||Xe($)),d=()=>e.map($=>{if(ye($))return $.value;if(Rt($))return a($);if(z($))return c?c($,2):$()})):z(e)?t?d=c?()=>c(e,2):e:d=()=>{if(p){Tt();try{p()}finally{Ot()}}const $=qt;qt=u;try{return c?c(e,3,[g]):e(g)}finally{qt=$}}:d=gt,t&&r){const $=d,Y=r===!0?1/0:r;d=()=>kt($(),Y)}const F=Qo(),H=()=>{u.stop(),F&&F.active&&mr(F.effects,u)};if(o&&t){const $=t;t=(...Y)=>{const be=$(...Y);return H(),be}}let M=E?new Array(e.length).fill(qn):qn;const V=$=>{if(!(!(u.flags&1)||!u.dirty&&!$))if(t){const Y=u.run();if($||r||R||(E?Y.some((be,re)=>Me(be,M[re])):Me(Y,M))){p&&p();const be=qt;qt=u;try{const re=[Y,M===qn?void 0:E&&M[0]===qn?[]:M,g];M=Y,c?c(t,3,re):t(...re)}finally{qt=be}}}else u.run()};return l&&l(V),u=new Xo(d),u.scheduler=i?()=>i(V,!1):V,g=$=>mc($,!1,u),p=u.onStop=()=>{const $=ts.get(u);if($){if(c)c($,4);else for(const Y of $)Y();ts.delete(u)}},t?s?V(!0):M=u.run():i?i(V.bind(null,!0),!0):u.run(),H.pause=u.pause.bind(u),H.resume=u.resume.bind(u),H.stop=H,H}function kt(e,t=1/0,n){if(t<=0||!ae(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))kt(e.value,t,n);else if(K(e))for(let s=0;s<e.length;s++)kt(e[s],t,n);else if(Ho(e)||nn(e))e.forEach(s=>{kt(s,t,n)});else if(qo(e)){for(const s in e)kt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&kt(e[s],t,n)}return e}function jn(e,t,n,s){try{return s?e(...s):e()}catch(r){xs(r,t,n)}}function lt(e,t,n,s){if(z(e)){const r=jn(e,t,n,s);return r&&Bo(r)&&r.catch(o=>{xs(o,t,n)}),r}if(K(e)){const r=[];for(let o=0;o<e.length;o++)r.push(lt(e[o],t,n,s));return r}}function xs(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||se;if(t){let l=t.parent;const c=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](e,c,a)===!1)return}l=l.parent}if(o){Tt(),jn(o,null,10,[e,c,a]),Ot();return}}vc(e,n,r,s,i)}function vc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const qe=[];let ht=-1;const sn=[];let Dt=null,Xt=0;const mi=Promise.resolve();let ns=null;function Er(e){const t=ns||mi;return e?t.then(this?e.bind(this):e):t}function _c(e){let t=ht+1,n=qe.length;for(;t<n;){const s=t+n>>>1,r=qe[s],o=Tn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Cr(e){if(!(e.flags&1)){const t=Tn(e),n=qe[qe.length-1];!n||!(e.flags&2)&&t>=Tn(n)?qe.push(e):qe.splice(_c(t),0,e),e.flags|=1,gi()}}function gi(){ns||(ns=mi.then(_i))}function bc(e){if(!K(e))Dt&&e.id===-1?Dt.splice(Xt+1,0,e):e.flags&1||(sn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)sn.push(e[t]);gi()}function Ur(e,t,n=ht+1){for(;n<qe.length;n++){const s=qe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;qe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function vi(e){if(sn.length){const t=[...new Set(sn)].sort((n,s)=>Tn(n)-Tn(s));if(sn.length=0,Dt){for(let n=0;n<t.length;n++)Dt.push(t[n]);return}for(Dt=t,Xt=0;Xt<Dt.length;Xt++){const n=Dt[Xt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Dt=null,Xt=0}}const Tn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function _i(e){try{for(ht=0;ht<qe.length;ht++){const t=qe[ht];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),jn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ht<qe.length;ht++){const t=qe[ht];t&&(t.flags&=-2)}ht=-1,qe.length=0,vi(),ns=null,(qe.length||sn.length)&&_i()}}let Ne=null,bi=null;function ss(e){const t=Ne;return Ne=e,bi=e&&e.type.__scopeId||null,t}function Fe(e,t=Ne,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ls(-1);const o=ss(t),i=At.length;let l;try{l=e(...r)}finally{for(let c=At.length;c>i;c--)Pr();ss(o),s._d&&ls(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function xi(e,t){if(Ne===null)return e;const n=Cs(Ne),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=se]=t[r];o&&(z(o)&&(o={mounted:o,updated:o}),o.deep&&kt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Bt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let c=l.dir[s];c&&(Tt(),lt(c,n,8,[e.el,l,e,t]),Ot())}}function Jn(e,t){if(Ve){let n=Ve.provides;const s=Ve.parent&&Ve.parent.provides;s===n&&(n=Ve.provides=Object.create(s)),n[e]=t}}function Ze(e,t,n=!1){const s=Mr();if(s||zt){let r=zt?zt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&z(t)?t.call(s&&s.proxy):t}}function xc(){return!!(Mr()||zt)}const yc=Symbol.for("v-scx"),wc=()=>Ze(yc);function Sc(e,t){return kr(e,null,{flush:"sync"})}function jt(e,t,n){return kr(e,t,n)}function kr(e,t,n=se){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ae({},n),c=t&&s||!t&&o!=="post";let a;if(Nn){if(o==="sync"){const g=wc();a=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=gt,g.resume=gt,g.pause=gt,g}}const u=Ve;l.call=(g,R,E)=>lt(g,u,R,E);let d=!1;o==="post"?l.scheduler=g=>{Ge(g,u&&u.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,R)=>{R?g():Cr(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,u&&(g.id=u.uid,g.i=u))};const p=gc(e,t,l);return Nn&&(a?a.push(p):c&&p()),p}function Ec(e,t,n){const s=this.proxy,r=_e(e)?e.includes(".")?yi(s,e):()=>s[e]:e.bind(s,s);let o;z(t)?o=t:(o=t.handler,n=t);const i=Fn(this),l=kr(r,o.bind(s),n);return i(),l}function yi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Cc=Symbol("_vte"),ys=e=>e.__isTeleport,Ns=Symbol("_leaveCb");function kc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==bt){t=n;break}}return t}function wi(e){if(!Ar(e))return ys(e.type)&&e.children?kc(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&z(n.default))return n.default()}}function Rr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;Rr(ys(n.type)&&wi(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function fe(e,t){return z(e)?Ae({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function qr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const rs=new WeakMap;function yn(e,t,n,s,r=!1){if(K(e)){e.forEach((E,F)=>yn(E,t&&(K(t)?t[F]:t),n,s,r));return}if(rn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&yn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Cs(s.component):s.el,i=r?null:o,{i:l,r:c}=e,a=t&&t.r,u=l.refs===se?l.refs={}:l.refs,d=l.setupState,p=ne(d),g=d===se?Fo:E=>qr(u,E)?!1:oe(p,E),R=(E,F)=>!(F&&qr(u,F));if(a!=null&&a!==c){if(Kr(t),_e(a))u[a]=null,g(a)&&(d[a]=null);else if(ye(a)){const E=t;R(a,E.k)&&(a.value=null),E.k&&(u[E.k]=null)}}if(z(c))jn(c,l,12,[i,u]);else{const E=_e(c),F=ye(c);if(E||F){const H=()=>{if(e.f){const M=E?g(c)?d[c]:u[c]:R()||!e.k?c.value:u[e.k];if(r)K(M)&&mr(M,o);else if(K(M))M.includes(o)||M.push(o);else if(E)u[c]=[o],g(c)&&(d[c]=u[c]);else{const V=[o];R(c,e.k)&&(c.value=V),e.k&&(u[e.k]=V)}}else E?(u[c]=i,g(c)&&(d[c]=i)):F&&(R(c,e.k)&&(c.value=i),e.k&&(u[e.k]=i))};if(i){const M=()=>{H(),rs.delete(e)};M.id=-1,rs.set(e,M),Ge(M,n)}else Kr(e),H()}}}function Kr(e){const t=rs.get(e);t&&(t.flags|=8,rs.delete(e))}gs().requestIdleCallback;gs().cancelIdleCallback;const rn=e=>!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function Rc(e,t){Ei(e,"a",t)}function Ac(e,t){Ei(e,"da",t)}function Ei(e,t,n=Ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ws(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ar(r.parent.vnode)&&Tc(s,t,n,r),r=r.parent}}function Tc(e,t,n,s){const r=ws(t,e,s,!0);Ri(()=>{mr(s[t],r)},n)}function ws(e,t,n=Ve,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Tt();const l=Fn(n),c=lt(t,n,e,i);return l(),Ot(),c});return s?r.unshift(o):r.push(o),o}}const Mt=e=>(t,n=Ve)=>{(!Nn||e==="sp")&&ws(e,(...s)=>t(...s),n)},Oc=Mt("bm"),Ci=Mt("m"),Pc=Mt("bu"),Mc=Mt("u"),ki=Mt("bum"),Ri=Mt("um"),Nc=Mt("sp"),Ic=Mt("rtg"),$c=Mt("rtc");function Lc(e,t=Ve){ws("ec",e,t)}const Ai="components";function Dc(e,t){return Oi(Ai,e,!0,t)||e}const Ti=Symbol.for("v-ndc");function Vc(e){return _e(e)?Oi(Ai,e,!1)||e:e||Ti}function Oi(e,t,n=!0,s=!1){const r=Ne||Ve;if(r){const o=r.type;{const l=wa(o,!1);if(l&&(l===t||l===je(t)||l===ms(je(t))))return o}const i=Wr(r[e]||o[e],t)||Wr(r.appContext[e],t);return!i&&s?o:i}}function Wr(e,t){return e&&(e[t]||e[je(t)]||e[ms(je(t))])}function Ie(e,t,n,s){let r;const o=n,i=K(e);if(i||_e(e)){const l=i&&Rt(e);let c=!1,a=!1;l&&(c=!Xe(e),a=Pt(e),e=_s(e)),r=new Array(e.length);for(let u=0,d=e.length;u<d;u++)r[u]=t(c?a?ln(it(e[u])):it(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(ae(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,a=l.length;c<a;c++){const u=l[c];r[c]=t(e[u],u,c,o)}}else r=[];return r}function Qs(e,t,n,s,r,o){if(n==null&&(n={}),Ne.ce||Ne.parent&&rn(Ne.parent)&&Ne.parent.ce){const a=n,u=Object.keys(a).length>0;return t!=="default"&&(a.name=t),w(),ce(ie,null,[L("slot",a,s&&s())],u?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=At.length;w();let c;try{const a=i&&Pi(i(n)),u=n.key||o||a&&a.key;c=ce(ie,{key:(u&&!et(u)?u:`_${t}`)+(!a&&s?"_fb":"")},a||(s?s():[]),a&&e._===1?64:-2)}catch(a){for(let u=At.length;u>l;u--)Pr();throw a}finally{i&&i._c&&(i._d=!0)}return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Pi(e){return e.some(t=>Pn(t)?!(t.type===bt||t.type===ie&&!Pi(t.children)):!0)?e:null}const Xs=e=>e?Xi(e)?Cs(e):Xs(e.parent):null,wn=Ae(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=>Xs(e.parent),$root:e=>Xs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ni(e),$forceUpdate:e=>e.f||(e.f=()=>{Cr(e.update)}),$nextTick:e=>e.n||(e.n=Er.bind(e.proxy)),$watch:e=>Ec.bind(e)}),Is=(e,t)=>e!==se&&!e.__isScriptSetup&&oe(e,t),jc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Is(s,t))return i[t]=1,s[t];if(r!==se&&oe(r,t))return i[t]=2,r[t];if(oe(o,t))return i[t]=3,o[t];if(n!==se&&oe(n,t))return i[t]=4,n[t];Zs&&(i[t]=0)}}const a=wn[t];let u,d;if(a)return t==="$attrs"&&De(e.attrs,"get",""),a(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==se&&oe(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,oe(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Is(r,t)?(r[t]=n,!0):s!==se&&oe(s,t)?(s[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let c;return!!(n[l]||e!==se&&l[0]!=="$"&&oe(e,l)||Is(t,l)||oe(o,l)||oe(s,l)||oe(wn,l)||oe(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function os(e){return K(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Fc(e,t){return!e||!t?e||t:K(e)&&K(t)?e.concat(t):Ae({},os(e),os(t))}let Zs=!0;function Hc(e){const t=Ni(e),n=e.proxy,s=e.ctx;Zs=!1,t.beforeCreate&&zr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:a,created:u,beforeMount:d,mounted:p,beforeUpdate:g,updated:R,activated:E,deactivated:F,beforeDestroy:H,beforeUnmount:M,destroyed:V,unmounted:$,render:Y,renderTracked:be,renderTriggered:re,errorCaptured:Q,serverPrefetch:X,expose:me,inheritAttrs:Te,components:He,directives:$e,filters:xt}=t;if(a&&Bc(a,s,null),i)for(const G in i){const te=i[G];z(te)&&(s[G]=te.bind(n))}if(r){const G=r.call(n,n);ae(G)&&(e.data=Vn(G))}if(Zs=!0,o)for(const G in o){const te=o[G],rt=z(te)?te.bind(n,n):z(te.get)?te.get.bind(n,n):gt,Oe=!z(te)&&z(te.set)?te.set.bind(n):gt,tt=D({get:rt,set:Oe});Object.defineProperty(s,G,{enumerable:!0,configurable:!0,get:()=>tt.value,set:Le=>tt.value=Le})}if(l)for(const G in l)Mi(l[G],s,n,G);if(c){const G=z(c)?c.call(n):c;Reflect.ownKeys(G).forEach(te=>{Jn(te,G[te])})}u&&zr(u,e,"c");function he(G,te){K(te)?te.forEach(rt=>G(rt.bind(n))):te&&G(te.bind(n))}if(he(Oc,d),he(Ci,p),he(Pc,g),he(Mc,R),he(Rc,E),he(Ac,F),he(Lc,Q),he($c,be),he(Ic,re),he(ki,M),he(Ri,$),he(Nc,X),K(me))if(me.length){const G=e.exposed||(e.exposed={});me.forEach(te=>{Object.defineProperty(G,te,{get:()=>n[te],set:rt=>n[te]=rt,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===gt&&(e.render=Y),Te!=null&&(e.inheritAttrs=Te),He&&(e.components=He),$e&&(e.directives=$e),X&&Si(e)}function Bc(e,t,n=gt){K(e)&&(e=er(e));for(const s in e){const r=e[s];let o;ae(r)?"default"in r?o=Ze(r.from||s,r.default,!0):o=Ze(r.from||s):o=Ze(r),ye(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function zr(e,t,n){lt(K(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Mi(e,t,n,s){let r=s.includes(".")?yi(n,s):()=>n[s];if(_e(e)){const o=t[e];z(o)&&jt(r,o)}else if(z(e))jt(r,e.bind(n));else if(ae(e))if(K(e))e.forEach(o=>Mi(o,t,n,s));else{const o=z(e.handler)?e.handler.bind(n):t[e.handler];z(o)&&jt(r,o,e)}}function Ni(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(a=>is(c,a,i,!0)),is(c,t,i)),ae(t)&&o.set(t,c),c}function is(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&is(e,o,n,!0),r&&r.forEach(i=>is(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=Uc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Uc={data:Gr,props:Jr,emits:Jr,methods:gn,computed:gn,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:gn,directives:gn,watch:Kc,provide:Gr,inject:qc};function Gr(e,t){return t?e?function(){return Ae(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function qc(e,t){return gn(er(e),er(t))}function er(e){if(K(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Be(e,t){return e?[...new Set([].concat(e,t))]:t}function gn(e,t){return e?Ae(Object.create(null),e,t):t}function Jr(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:Ae(Object.create(null),os(e),os(t??{})):t}function Kc(e,t){if(!e)return t;if(!t)return e;const n=Ae(Object.create(null),e);for(const s in t)n[s]=Be(e[s],t[s]);return n}function Ii(){return{app:null,config:{isNativeTag:Fo,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 Wc=0;function zc(e,t){return function(s,r=null){z(s)||(s=Ae({},s)),r!=null&&!ae(r)&&(r=null);const o=Ii(),i=new WeakSet,l=[];let c=!1;const a=o.app={_uid:Wc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Ea,get config(){return o.config},set config(u){},use(u,...d){return i.has(u)||(u&&z(u.install)?(i.add(u),u.install(a,...d)):z(u)&&(i.add(u),u(a,...d))),a},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),a},component(u,d){return d?(o.components[u]=d,a):o.components[u]},directive(u,d){return d?(o.directives[u]=d,a):o.directives[u]},mount(u,d,p){if(!c){const g=a._ceVNode||L(s,r);return g.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(g,u,p),c=!0,a._container=u,u.__vue_app__=a,Cs(g.component)}},onUnmount(u){l.push(u)},unmount(){c&&(lt(l,a._instance,16),e(null,a._container),delete a._container.__vue_app__)},provide(u,d){return o.provides[u]=d,a},runWithContext(u){const d=zt;zt=a;try{return u()}finally{zt=d}}};return a}}let zt=null;function Gc(e,t,n=se){const s=Mr(),r=je(t),o=Ht(t),i=$i(e,r),l=ac((c,a)=>{let u,d=se,p;return Sc(()=>{const g=e[r];Me(u,g)&&(u=g,a())}),{get(){return c(),n.get?n.get(u):u},set(g){const R=n.set?n.set(g):g;if(!Me(R,u)&&!(d!==se&&Me(g,d)))return;const E=s.vnode.props,F=!!(E&&(t in E||r in E||o in E)&&(`onUpdate:${t}`in E||`onUpdate:${r}`in E||`onUpdate:${o}`in E));F||(u=g,a()),s.emit(`update:${t}`,R),Me(g,d)&&(Me(g,R)&&!Me(R,p)||F&&d!==se&&!Me(R,u))&&a(),d=g,p=R}}});return l[Symbol.iterator]=()=>{let c=0;return{next(){return c<2?{value:c++?i||se:l,done:!1}:{done:!0}}}},l}const $i=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${je(t)}Modifiers`]||e[`${Ht(t)}Modifiers`];function Jc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||se;let r=n;const o=t.startsWith("update:"),i=o&&$i(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>_e(u)?u.trim():u)),i.number&&(r=n.map(gr)));let l,c=s[l=As(t)]||s[l=As(je(t))];!c&&o&&(c=s[l=As(Ht(t))]),c&<(c,e,6,r);const a=s[l+"Once"];if(a){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,lt(a,e,6,r)}}const Yc=new WeakMap;function Li(e,t,n=!1){const s=n?Yc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!z(e)){const c=a=>{const u=Li(a,t,!0);u&&(l=!0,Ae(i,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(ae(e)&&s.set(e,null),null):(K(o)?o.forEach(c=>i[c]=null):Ae(i,o),ae(e)&&s.set(e,i),i)}function Ss(e,t){return!e||!fs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,Ht(t))||oe(e,t))}function Yr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:a,renderCache:u,props:d,data:p,setupState:g,ctx:R,inheritAttrs:E}=e,F=ss(e);let H,M;try{if(n.shapeFlag&4){const $=r||s,Y=$;H=mt(a.call(Y,$,u,d,g,p,R)),M=l}else{const $=t;H=mt($.length>1?$(d,{attrs:l,slots:i,emit:c}):$(d,null)),M=t.props?l:Qc(l)}}catch($){At.length=0,xs($,e,1),H=L(bt)}let V=H;if(M&&E!==!1){const $=Object.keys(M),{shapeFlag:Y}=V;$.length&&Y&7&&(o&&$.some(ds)&&(M=Xc(M,o)),V=cn(V,M,!1,!0))}if(n.dirs&&(V=cn(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition){const $=ys(V.type)&&wi(V)||V;Rr($,n.transition)}return H=V,ss(F),H}const Qc=e=>{let t;for(const n in e)(n==="class"||n==="style"||fs(n))&&((t||(t={}))[n]=e[n]);return t},Xc=(e,t)=>{const n={};for(const s in e)(!ds(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Zc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,a=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Qr(s,i,a):!!i;if(c&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const p=u[d];if(Di(i,s,p)&&!Ss(a,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Qr(s,i,a):!0:!!i;return!1}function Qr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(Di(t,e,o)&&!Ss(n,o))return!0}return!1}function Di(e,t,n){const s=e[n],r=t[n];return n==="style"&&ae(s)&&ae(r)?!vr(s,r):s!==r}function ea({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Vi={},ji=()=>Object.create(Vi),Fi=e=>Object.getPrototypeOf(e)===Vi;function ta(e,t,n,s=!1){const r={},o=ji();e.propsDefaults=Object.create(null),Hi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:di(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function na(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ne(r),[c]=e.propsOptions;let a=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let d=0;d<u.length;d++){let p=u[d];if(Ss(e.emitsOptions,p))continue;const g=t[p];if(c)if(oe(o,p))g!==o[p]&&(o[p]=g,a=!0);else{const R=je(p);r[R]=tr(c,l,R,g,e,!1)}else g!==o[p]&&(o[p]=g,a=!0)}}}else{Hi(e,t,r,o)&&(a=!0);let u;for(const d in l)(!t||!oe(t,d)&&((u=Ht(d))===d||!oe(t,u)))&&(c?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=tr(c,l,d,void 0,e,!0)):delete r[d]);if(o!==l)for(const d in o)(!t||!oe(t,d))&&(delete o[d],a=!0)}a&&Ct(e.attrs,"set","")}function Hi(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(_n(c))continue;const a=t[c];let u;r&&oe(r,u=je(c))?!o||!o.includes(u)?n[u]=a:(l||(l={}))[u]=a:Ss(e.emitsOptions,c)||(!(c in s)||a!==s[c])&&(s[c]=a,i=!0)}if(o){const c=ne(n),a=l||se;for(let u=0;u<o.length;u++){const d=o[u];n[d]=tr(r,c,d,a[d],e,!oe(a,d))}}return i}function tr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=oe(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&z(c)){const{propsDefaults:a}=r;if(n in a)s=a[n];else{const u=Fn(r);s=a[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Ht(n))&&(s=!0))}return s}const sa=new WeakMap;function Bi(e,t,n=!1){const s=n?sa:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!z(e)){const u=d=>{c=!0;const[p,g]=Bi(d,t,!0);Ae(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return ae(e)&&s.set(e,tn),tn;if(K(o))for(let u=0;u<o.length;u++){const d=je(o[u]);Xr(d)&&(i[d]=se)}else if(o)for(const u in o){const d=je(u);if(Xr(d)){const p=o[u],g=i[d]=K(p)||z(p)?{type:p}:Ae({},p),R=g.type;let E=!1,F=!0;if(K(R))for(let H=0;H<R.length;++H){const M=R[H],V=z(M)&&M.name;if(V==="Boolean"){E=!0;break}else V==="String"&&(F=!1)}else E=z(R)&&R.name==="Boolean";g[0]=E,g[1]=F,(E||oe(g,"default"))&&l.push(d)}}const a=[i,l];return ae(e)&&s.set(e,a),a}function Xr(e){return e[0]!=="$"&&!_n(e)}const Tr=e=>e==="_"||e==="_ctx"||e==="$stable",Or=e=>K(e)?e.map(mt):[mt(e)],ra=(e,t,n)=>{if(t._n)return t;const s=Fe((...r)=>Or(t(...r)),n);return s._c=!1,s},Ui=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Tr(r))continue;const o=e[r];if(z(o))t[r]=ra(r,o,s);else if(o!=null){const i=Or(o);t[r]=()=>i}}},qi=(e,t)=>{const n=Or(t);e.slots.default=()=>n},Ki=(e,t,n)=>{for(const s in t)(n||!Tr(s))&&(e[s]=t[s])},oa=(e,t,n)=>{const s=e.slots=ji();if(e.vnode.shapeFlag&32){const r=t._;r?(Ki(s,t,n),n&&Ko(s,"_",r,!0)):Ui(t,s)}else t&&qi(e,t)},ia=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=se;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ki(r,t,n):(o=!t.$stable,Ui(t,r)),i=t}else t&&(qi(e,t),i={default:1});if(o)for(const l in r)!Tr(l)&&i[l]==null&&delete r[l]},Ge=fa;function la(e){return ca(e)}function ca(e,t){const n=gs();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:a,setElementText:u,parentNode:d,nextSibling:p,setScopeId:g=gt,insertStaticContent:R}=e,E=(f,h,m,x=null,y=null,_=null,P=void 0,A=null,k=!!h.dynamicChildren)=>{if(f===h)return;f&&!hn(f,h)&&(x=v(f),Le(f,y,_,!0),f=null),h.patchFlag===-2&&(k=!1,h.dynamicChildren=null);const{type:S,ref:q,shapeFlag:N}=h;switch(S){case Es:F(f,h,m,x);break;case bt:H(f,h,m,x);break;case Ls:f==null&&M(h,m,x,P);break;case ie:He(f,h,m,x,y,_,P,A,k);break;default:N&1?Y(f,h,m,x,y,_,P,A,k):N&6?$e(f,h,m,x,y,_,P,A,k):(N&64||N&128)&&S.process(f,h,m,x,y,_,P,A,k,B)}q!=null&&y?yn(q,f&&f.ref,_,h||f,!h):q==null&&f&&f.ref!=null&&yn(f.ref,null,_,f,!0)},F=(f,h,m,x)=>{if(f==null)s(h.el=l(h.children),m,x);else{const y=h.el=f.el;h.children!==f.children&&a(y,h.children)}},H=(f,h,m,x)=>{f==null?s(h.el=c(h.children||""),m,x):h.el=f.el},M=(f,h,m,x)=>{[f.el,f.anchor]=R(f.children,h,m,x,f.el,f.anchor)},V=({el:f,anchor:h},m,x)=>{let y;for(;f&&f!==h;)y=p(f),s(f,m,x),f=y;s(h,m,x)},$=({el:f,anchor:h})=>{let m;for(;f&&f!==h;)m=p(f),r(f),f=m;r(h)},Y=(f,h,m,x,y,_,P,A,k)=>{if(h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),f==null)be(h,m,x,y,_,P,A,k);else{const S=f.el&&f.el._isVueCE?f.el:null;try{S&&S._beginPatch(),X(f,h,y,_,P,A,k)}finally{S&&S._endPatch()}}},be=(f,h,m,x,y,_,P,A)=>{let k,S;const{props:q,shapeFlag:N,transition:U,dirs:W}=f;if(k=f.el=i(f.type,_,q&&q.is,q),N&8?u(k,f.children):N&16&&Q(f.children,k,null,x,y,$s(f,_),P,A),W&&Bt(f,null,x,"created"),re(k,f,f.scopeId,P,x),q){for(const de in q)de!=="value"&&!_n(de)&&o(k,de,null,q[de],_,x);"value"in q&&o(k,"value",null,q.value,_),(S=q.onVnodeBeforeMount)&&dt(S,x,f)}W&&Bt(f,null,x,"beforeMount");const ee=aa(y,U);ee&&U.beforeEnter(k),s(k,h,m),((S=q&&q.onVnodeMounted)||ee||W)&&Ge(()=>{S&&dt(S,x,f),ee&&U.enter(k),W&&Bt(f,null,x,"mounted")},y)},re=(f,h,m,x,y)=>{if(m&&g(f,m),x)for(let _=0;_<x.length;_++)g(f,x[_]);if(y){let _=y.subTree;if(h===_||Ji(_.type)&&(_.ssContent===h||_.ssFallback===h)){const P=y.vnode;re(f,P,P.scopeId,P.slotScopeIds,y.parent)}}},Q=(f,h,m,x,y,_,P,A,k=0)=>{for(let S=k;S<f.length;S++){const q=f[S]=A?Et(f[S]):mt(f[S]);E(null,q,h,m,x,y,_,P,A)}},X=(f,h,m,x,y,_,P)=>{const A=h.el=f.el;let{patchFlag:k,dynamicChildren:S,dirs:q}=h;k|=f.patchFlag&16;const N=f.props||se,U=h.props||se;let W;if(m&&Ut(m,!1),(W=U.onVnodeBeforeUpdate)&&dt(W,m,h,f),q&&Bt(h,f,m,"beforeUpdate"),m&&Ut(m,!0),S&&(!f.dynamicChildren||f.dynamicChildren.length!==S.length)&&(k=0,P=!1,S=null),(N.innerHTML&&U.innerHTML==null||N.textContent&&U.textContent==null)&&u(A,""),S?me(f.dynamicChildren,S,A,m,x,$s(h,y),_):P||te(f,h,A,null,m,x,$s(h,y),_,!1),k>0){if(k&16)Te(A,N,U,m,y);else if(k&2&&N.class!==U.class&&o(A,"class",null,U.class,y),k&4&&o(A,"style",N.style,U.style,y),k&8){const ee=h.dynamicProps;for(let de=0;de<ee.length;de++){const ue=ee[de],Se=N[ue],Pe=U[ue];(Pe!==Se||ue==="value")&&o(A,ue,Se,Pe,y,m)}}k&1&&f.children!==h.children&&u(A,h.children)}else!P&&S==null&&Te(A,N,U,m,y);((W=U.onVnodeUpdated)||q)&&Ge(()=>{W&&dt(W,m,h,f),q&&Bt(h,f,m,"updated")},x)},me=(f,h,m,x,y,_,P)=>{for(let A=0;A<h.length;A++){const k=f[A],S=h[A],q=k.el&&(k.type===ie||!hn(k,S)||k.shapeFlag&198)?d(k.el):m;E(k,S,q,null,x,y,_,P,!0)}},Te=(f,h,m,x,y)=>{if(h!==m){if(h!==se)for(const _ in h)!_n(_)&&!(_ in m)&&o(f,_,h[_],null,y,x);for(const _ in m){if(_n(_))continue;const P=m[_],A=h[_];P!==A&&_!=="value"&&o(f,_,A,P,y,x)}"value"in m&&o(f,"value",h.value,m.value,y)}},He=(f,h,m,x,y,_,P,A,k)=>{const S=h.el=f?f.el:l(""),q=h.anchor=f?f.anchor:l("");let{patchFlag:N,dynamicChildren:U,slotScopeIds:W}=h;W&&(A=A?A.concat(W):W),f==null?(s(S,m,x),s(q,m,x),Q(h.children||[],m,q,y,_,P,A,k)):N>0&&N&64&&U&&f.dynamicChildren&&f.dynamicChildren.length===U.length?(me(f.dynamicChildren,U,m,y,_,P,A),(h.key!=null||y&&h===y.subTree)&&Wi(f,h,!0)):te(f,h,m,q,y,_,P,A,k)},$e=(f,h,m,x,y,_,P,A,k)=>{h.slotScopeIds=A,f==null?h.shapeFlag&512?y.ctx.activate(h,m,x,P,k):xt(h,m,x,y,_,P,k):st(f,h,k)},xt=(f,h,m,x,y,_,P)=>{const A=f.component=va(f,x,y);if(Ar(f)&&(A.ctx.renderer=B),_a(A,!1,P),A.asyncDep){if(y&&y.registerDep(A,he,P),!f.el){const k=A.subTree=L(bt);H(null,k,h,m),f.placeholder=k.el}}else he(A,f,h,m,y,_,P)},st=(f,h,m)=>{const x=h.component=f.component;if(Zc(f,h,m))if(x.asyncDep&&!x.asyncResolved){G(x,h,m);return}else x.next=h,x.update();else h.el=f.el,x.vnode=h},he=(f,h,m,x,y,_,P)=>{const A=()=>{if(f.isMounted){let{next:N,bu:U,u:W,parent:ee,vnode:de}=f;{const ut=zi(f);if(ut){N&&(N.el=de.el,G(f,N,P)),ut.asyncDep.then(()=>{Ge(()=>{f.isUnmounted||S()},y)});return}}let ue=N,Se;Ut(f,!1),N?(N.el=de.el,G(f,N,P)):N=de,U&&Gn(U),(Se=N.props&&N.props.onVnodeBeforeUpdate)&&dt(Se,ee,N,de),Ut(f,!0);const Pe=Yr(f),at=f.subTree;f.subTree=Pe,E(at,Pe,d(at.el),v(at),f,y,_),N.el=Pe.el,ue===null&&ea(f,Pe.el),W&&Ge(W,y),(Se=N.props&&N.props.onVnodeUpdated)&&Ge(()=>dt(Se,ee,N,de),y)}else{let N;const{el:U,props:W}=h,{bm:ee,m:de,parent:ue,root:Se,type:Pe}=f,at=rn(h);Ut(f,!1),ee&&Gn(ee),!at&&(N=W&&W.onVnodeBeforeMount)&&dt(N,ue,h),Ut(f,!0);{Se.ce&&Se.ce._hasShadowRoot()&&Se.ce._injectChildStyle(Pe,f.parent?f.parent.type:void 0);const ut=f.subTree=Yr(f);E(null,ut,m,x,f,y,_),h.el=ut.el}if(de&&Ge(de,y),!at&&(N=W&&W.onVnodeMounted)){const ut=h;Ge(()=>dt(N,ue,ut),y)}(h.shapeFlag&256||ue&&rn(ue.vnode)&&ue.vnode.shapeFlag&256)&&f.a&&Ge(f.a,y),f.isMounted=!0,h=m=x=null}};f.scope.on();const k=f.effect=new Xo(A);f.scope.off();const S=f.update=k.run.bind(k),q=f.job=k.runIfDirty.bind(k);q.i=f,q.id=f.uid,k.scheduler=()=>Cr(q),Ut(f,!0),S()},G=(f,h,m)=>{h.component=f;const x=f.vnode.props;f.vnode=h,f.next=null,na(f,h.props,x,m),ia(f,h.children,m),Tt(),Ur(f),Ot()},te=(f,h,m,x,y,_,P,A,k=!1)=>{const S=f&&f.children,q=f?f.shapeFlag:0,N=h.children,{patchFlag:U,shapeFlag:W}=h;if(U>0){if(U&128){Oe(S,N,m,x,y,_,P,A,k);return}else if(U&256){rt(S,N,m,x,y,_,P,A,k);return}}W&8?(q&16&&le(S,y,_),N!==S&&u(m,N)):q&16?W&16?Oe(S,N,m,x,y,_,P,A,k):le(S,y,_,!0):(q&8&&u(m,""),W&16&&Q(N,m,x,y,_,P,A,k))},rt=(f,h,m,x,y,_,P,A,k)=>{f=f||tn,h=h||tn;const S=f.length,q=h.length,N=Math.min(S,q);let U;for(U=0;U<N;U++){const W=h[U]=k?Et(h[U]):mt(h[U]);E(f[U],W,m,null,y,_,P,A,k)}S>q?le(f,y,_,!0,!1,N):Q(h,m,x,y,_,P,A,k,N)},Oe=(f,h,m,x,y,_,P,A,k)=>{let S=0;const q=h.length;let N=f.length-1,U=q-1;for(;S<=N&&S<=U;){const W=f[S],ee=h[S]=k?Et(h[S]):mt(h[S]);if(hn(W,ee))E(W,ee,m,null,y,_,P,A,k);else break;S++}for(;S<=N&&S<=U;){const W=f[N],ee=h[U]=k?Et(h[U]):mt(h[U]);if(hn(W,ee))E(W,ee,m,null,y,_,P,A,k);else break;N--,U--}if(S>N){if(S<=U){const W=U+1,ee=W<q?h[W].el:x;for(;S<=U;)E(null,h[S]=k?Et(h[S]):mt(h[S]),m,ee,y,_,P,A,k),S++}}else if(S>U)for(;S<=N;)Le(f[S],y,_,!0),S++;else{const W=S,ee=S,de=new Map;for(S=ee;S<=U;S++){const Ye=h[S]=k?Et(h[S]):mt(h[S]);Ye.key!=null&&de.set(Ye.key,S)}let ue,Se=0;const Pe=U-ee+1;let at=!1,ut=0;const fn=new Array(Pe);for(S=0;S<Pe;S++)fn[S]=0;for(S=W;S<=N;S++){const Ye=f[S];if(Se>=Pe){Le(Ye,y,_,!0);continue}let ft;if(Ye.key!=null)ft=de.get(Ye.key);else for(ue=ee;ue<=U;ue++)if(fn[ue-ee]===0&&hn(Ye,h[ue])){ft=ue;break}ft===void 0?Le(Ye,y,_,!0):(fn[ft-ee]=S+1,ft>=ut?ut=ft:at=!0,E(Ye,h[ft],m,null,y,_,P,A,k),Se++)}const Lr=at?ua(fn):tn;for(ue=Lr.length-1,S=Pe-1;S>=0;S--){const Ye=ee+S,ft=h[Ye],Dr=h[Ye+1],Vr=Ye+1<q?Dr.el||Gi(Dr):x;fn[S]===0?E(null,ft,m,Vr,y,_,P,A,k):at&&(ue<0||S!==Lr[ue]?tt(ft,m,Vr,2):ue--)}}},tt=(f,h,m,x,y=null)=>{const{el:_,type:P,transition:A,children:k,shapeFlag:S}=f;if(S&6){tt(f.component.subTree,h,m,x);return}if(S&128){f.suspense.move(h,m,x);return}if(S&64){P.move(f,h,m,B);return}if(P===ie){s(_,h,m);for(let N=0;N<k.length;N++)tt(k[N],h,m,x);s(f.anchor,h,m);return}if(P===Ls){V(f,h,m);return}if(x!==2&&S&1&&A)if(x===0)A.persisted&&!_[Ns]?s(_,h,m):(A.beforeEnter(_),s(_,h,m),Ge(()=>A.enter(_),y));else{const{leave:N,delayLeave:U,afterLeave:W}=A,ee=()=>{f.ctx.isUnmounted?r(_):s(_,h,m)},de=()=>{const ue=_._isLeaving||!!_[Ns];_._isLeaving&&_[Ns](!0),A.persisted&&!ue?ee():N(_,()=>{ee(),W&&W()})};U?U(_,ee,de):de()}else s(_,h,m)},Le=(f,h,m,x=!1,y=!1)=>{const{type:_,props:P,ref:A,children:k,dynamicChildren:S,shapeFlag:q,patchFlag:N,dirs:U,cacheIndex:W,memo:ee}=f;if(N===-2&&(y=!1),A!=null&&(Tt(),yn(A,null,m,f,!0),Ot()),W!=null&&(h.renderCache[W]=void 0),q&256){h.ctx.deactivate(f);return}const de=q&1&&U,ue=!rn(f);let Se;if(ue&&(Se=P&&P.onVnodeBeforeUnmount)&&dt(Se,h,f),q&6)j(f.component,m,x);else{if(q&128){f.suspense.unmount(m,x);return}de&&Bt(f,null,h,"beforeUnmount"),q&64?f.type.remove(f,h,m,B,x):S&&!S.hasOnce&&(_!==ie||N>0&&N&64)?le(S,h,m,!1,!0):(_===ie&&N&384||!y&&q&16)&&le(k,h,m),x&&Nt(f)}const Pe=ee!=null&&W==null;(ue&&(Se=P&&P.onVnodeUnmounted)||de||Pe)&&Ge(()=>{Se&&dt(Se,h,f),de&&Bt(f,null,h,"unmounted"),Pe&&(f.el=null)},m)},Nt=f=>{const{type:h,el:m,anchor:x,transition:y}=f;if(h===ie){It(m,x);return}if(h===Ls){$(f);return}const _=()=>{r(m),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:P,delayLeave:A}=y,k=()=>P(m,_);A?A(f.el,_,k):k()}else _()},It=(f,h)=>{let m;for(;f!==h;)m=p(f),r(f),f=m;r(h)},j=(f,h,m)=>{const{bum:x,scope:y,job:_,subTree:P,um:A,m:k,a:S}=f;Zr(k),Zr(S),x&&Gn(x),y.stop(),_&&(_.flags|=8,Le(P,f,h,m)),A&&Ge(A,h),Ge(()=>{f.isUnmounted=!0},h)},le=(f,h,m,x=!1,y=!1,_=0)=>{for(let P=_;P<f.length;P++)Le(f[P],h,m,x,y)},v=f=>{if(f.shapeFlag&6)return v(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const h=p(f.anchor||f.el),m=h&&h[Cc];return m?p(m):h};let I=!1;const O=(f,h,m)=>{let x;f==null?h._vnode&&(Le(h._vnode,null,null,!0),x=h._vnode.component):E(h._vnode||null,f,h,null,null,null,m),h._vnode=f,I||(I=!0,Ur(x),vi(),I=!1)},B={p:E,um:Le,m:tt,r:Nt,mt:xt,mc:Q,pc:te,pbc:me,n:v,o:e};return{render:O,hydrate:void 0,createApp:zc(O)}}function $s({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ut({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function aa(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Wi(e,t,n=!1){const s=e.children,r=t.children;if(K(s)&&K(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Et(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&Wi(i,l)),l.type===Es&&(l.patchFlag===-1&&(l=r[o]=Et(l)),l.el=i.el),l.type===bt&&!l.el&&(l.el=i.el)}}function ua(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;s++){const a=e[s];if(a!==0){if(r=n[n.length-1],e[r]<a){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<a?o=l+1:i=l;a<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zi(t)}function Zr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Gi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Gi(t.subTree):null}const Ji=e=>e.__isSuspense;function fa(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):bc(e)}const ie=Symbol.for("v-fgt"),Es=Symbol.for("v-txt"),bt=Symbol.for("v-cmt"),Ls=Symbol.for("v-stc"),At=[];let Qe=null;function w(e=!1){At.push(Qe=e?null:[])}function Pr(){At.pop(),Qe=At[At.length-1]||null}let On=1;function ls(e,t=!1){On+=e,e<0&&Qe&&t&&(Qe.hasOnce=!0)}function Yi(e){return e.dynamicChildren=On>0?Qe||tn:null,Pr(),On>0&&Qe&&Qe.push(e),e}function T(e,t,n,s,r,o){return Yi(C(e,t,n,s,r,o,!0))}function ce(e,t,n,s,r){return Yi(L(e,t,n,s,r,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function hn(e,t){return e.type===t.type&&e.key===t.key}const Qi=({key:e})=>e??null,Yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||ye(e)||z(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function C(e,t=null,n=null,s=0,r=null,o=e===ie?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Qi(t),ref:t&&Yn(t),scopeId:bi,slotScopeIds:null,children:n,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ne};return l?(cs(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=_e(n)?8:16),On>0&&!i&&Qe&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Qe.push(c),c}const L=da;function da(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ti)&&(e=bt),Pn(e)){const l=cn(e,t,!0);return n&&cs(l,n),On>0&&!o&&Qe&&(l.shapeFlag&6?Qe[Qe.indexOf(e)]=l:Qe.push(l)),l.patchFlag=-2,l}if(Sa(e)&&(e=e.__vccOpts),t){t=ha(t);let{class:l,style:c}=t;l&&!_e(l)&&(t.class=we(l)),ae(c)&&(bs(c)&&!K(c)&&(c=Ae({},c)),t.style=_t(c))}const i=_e(e)?1:Ji(e)?128:ys(e)?64:ae(e)?4:z(e)?2:0;return C(e,t,n,s,r,i,o,!0)}function ha(e){return e?bs(e)||Fi(e)?Ae({},e):e:null}function cn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,a=t?pa(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Qi(a),ref:t&&t.ref?n&&o?K(o)?o.concat(Yn(t)):[o,Yn(t)]:Yn(t):o,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!==ie?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Rr(u,c.clone(u)),u}function Gt(e=" ",t=0){return L(Es,null,e,t)}function Ee(e="",t=!1){return t?(w(),ce(bt,null,e)):L(bt,null,e)}function mt(e){return e==null||typeof e=="boolean"?L(bt):K(e)?L(ie,null,e.slice()):Pn(e)?Et(e):L(Es,null,String(e))}function Et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function cs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(K(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),cs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Fi(t)?t._ctx=Ne:r===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(z(t)){if(s&65){cs(e,{default:t});return}t={default:t,_ctx:Ne},n=32}else t=String(t),s&64?(n=16,t=[Gt(t)]):n=8;e.children=t,e.shapeFlag|=n}function pa(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=we([t.class,s.class]));else if(r==="style")t.style=_t([t.style,s.style]);else if(fs(r)){const o=t[r],i=s[r];i&&o!==i&&!(K(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!ds(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function dt(e,t,n,s=null){lt(e,t,7,[n,s])}const ma=Ii();let ga=0;function va(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||ma,o={uid:ga++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Jo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Bi(s,r),emitsOptions:Li(s,r),emit:null,emitted:null,propsDefaults:se,inheritAttrs:s.inheritAttrs,ctx:se,data:se,props:se,attrs:se,slots:se,refs:se,setupState:se,setupContext:null,suspense:n,suspenseId:n?n.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 o.ctx={_:o},o.root=t?t.root:o,o.emit=Jc.bind(null,o),e.ce&&e.ce(o),o}let Ve=null;const Mr=()=>Ve||Ne;let as,Mn;{const e=gs(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};as=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Mn=t("__VUE_SSR_SETTERS__",n=>Nn=n)}const Fn=e=>{const t=Ve;return as(e),e.scope.on(),()=>{e.scope.off(),as(t)}},eo=()=>{Ve&&Ve.scope.off(),as(null)};function Xi(e){return e.vnode.shapeFlag&4}let Nn=!1;function _a(e,t=!1,n=!1){t&&Mn(t);const{props:s,children:r}=e.vnode,o=Xi(e);ta(e,s,o,t),oa(e,r,n||t);const i=o?ba(e,t):void 0;return t&&Mn(!1),i}function ba(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jc);const{setup:s}=n;if(s){Tt();const r=e.setupContext=s.length>1?ya(e):null,o=Fn(e),i=jn(s,e,0,[e.props,r]),l=Bo(i);if(Ot(),o(),(l||e.sp)&&!rn(e)&&Si(e),l){if(i.then(eo,eo),t)return i.then(c=>{Mn(!0);try{to(e,c,t)}finally{Mn(!1)}}).catch(c=>{xs(c,e,0)});e.asyncDep=i}else to(e,i)}else Zi(e)}function to(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=pi(t)),Zi(e)}function Zi(e,t,n){const s=e.type;e.render||(e.render=s.render||gt);{const r=Fn(e);Tt();try{Hc(e)}finally{Ot(),r()}}}const xa={get(e,t){return De(e,"get",""),e[t]}};function ya(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,xa),slots:e.slots,emit:e.emit,expose:t}}function Cs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(pi(Sr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wn)return wn[n](e)},has(t,n){return n in t||n in wn}})):e.proxy}function wa(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Sa(e){return z(e)&&"__vccOpts"in e}const D=(e,t)=>pc(e,t,Nn);function In(e,t,n){try{ls(-1);const s=arguments.length;return s===2?ae(t)&&!K(t)?Pn(t)?L(e,null,[t]):L(e,t):L(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Pn(n)&&(n=[n]),L(e,t,n))}finally{ls(1)}}const Ea="3.5.41";let nr;const no=typeof window<"u"&&window.trustedTypes;if(no)try{nr=no.createPolicy("vue",{createHTML:e=>e})}catch{}const el=nr?e=>nr.createHTML(e):e=>e,Ca="http://www.w3.org/2000/svg",ka="http://www.w3.org/1998/Math/MathML",St=typeof document<"u"?document:null,so=St&&St.createElement("template"),Ra={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?St.createElementNS(Ca,e):t==="mathml"?St.createElementNS(ka,e):n?St.createElement(e,{is:n}):St.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{so.innerHTML=el(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=so.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Aa=Symbol("_vtc");function Ta(e,t,n){const s=e[Aa];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const us=Symbol("_vod"),tl=Symbol("_vsh"),Oa={name:"show",beforeMount(e,{value:t},{transition:n}){e[us]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):pn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),pn(e,!0),s.enter(e)):s.leave(e,()=>{pn(e,!1)}):pn(e,t))},beforeUnmount(e,{value:t}){pn(e,t)}};function pn(e,t){e.style.display=t?e[us]:"none",e[tl]=!t}const Pa=Symbol(""),Ma=/(?:^|;)\s*display\s*:/;function Na(e,t,n){const s=e.style,r=_e(n);let o=!1;if(n&&!r){if(t)if(_e(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&vn(s,l,"")}else for(const i in t)n[i]==null&&vn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?$a(e,i,!_e(t)&&t?t[i]:void 0,l)||vn(s,i,l):vn(s,i,"")}}else if(r){if(t!==n){const i=s[Pa];i&&(n+=";"+i),s.cssText=n,o=Ma.test(n)}}else t&&e.removeAttribute("style");us in e&&(e[us]=o?s.display:"",e[tl]&&(s.display="none"))}const ro=/\s*!important$/;function vn(e,t,n){if(K(n))n.forEach(s=>vn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Ia(e,t);ro.test(n)?e.setProperty(Ht(s),n.replace(ro,""),"important"):e[s]=n}}const oo=["Webkit","Moz","ms"],Ds={};function Ia(e,t){const n=Ds[t];if(n)return n;let s=je(t);if(s!=="filter"&&s in e)return Ds[t]=s;s=ms(s);for(let r=0;r<oo.length;r++){const o=oo[r]+s;if(o in e)return Ds[t]=o}return t}function $a(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&_e(s)&&n===s}const io="http://www.w3.org/1999/xlink";function lo(e,t,n,s,r,o=Vl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(io,t.slice(6,t.length)):e.setAttributeNS(io,t,n):n==null||o&&!Wo(n)?e.removeAttribute(t):e.setAttribute(t,o?"":et(n)?String(n):n)}function co(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?el(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Wo(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Zt(e,t,n,s){e.addEventListener(t,n,s)}function La(e,t,n,s){e.removeEventListener(t,n,s)}const ao=Symbol("_vei");function Da(e,t,n,s,r=null){const o=e[ao]||(e[ao]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=Fa(t);if(s){const a=o[t]=Ua(s,r);Zt(e,l,a,c)}else i&&(La(e,l,i,c),o[t]=void 0)}}const Va=/(Once|Passive|Capture)$/,ja=/^on:?(?:Once|Passive|Capture)$/;function Fa(e){let t,n;for(;(n=e.match(Va))&&!ja.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ht(e.slice(2)),t]}let Vs=0;const Ha=Promise.resolve(),Ba=()=>Vs||(Ha.then(()=>Vs=0),Vs=Date.now());function Ua(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(K(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let c=0;c<i.length&&!s._stopped;c++){const a=i[c];a&<(a,t,5,l)}}else lt(r,t,5,[s])};return n.value=e,n.attached=Ba(),n}const uo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qa=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ta(e,s,i):t==="style"?Na(e,n,s):fs(t)?ds(t)||Da(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ka(e,t,s,i))?(co(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&lo(e,t,s,i,o,t!=="value")):e._isVueCE&&(Wa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_e(s)))?co(e,je(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),lo(e,t,s,i))};function Ka(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&uo(t)&&z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return uo(t)&&_e(n)?!1:t in e}function Wa(e,t){const n=e._def.props;if(!n)return!1;const s=je(t);return Array.isArray(n)?n.some(r=>je(r)===s):Object.keys(n).some(r=>je(r)===s)}const fo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?n=>Gn(t,n):t};function za(e){e.target.composing=!0}function ho(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Kn=Symbol("_assign"),Wn=Symbol("_initialValue");function js(e,t,n){return t&&(e=e.trim()),n&&(e=gr(e)),e}const Ga={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e.parentNode&&(e.type==="text"?e[Wn]=e.defaultValue.replace(/[\r\n]/g,""):e.type==="textarea"&&(e[Wn]=e.defaultValue.replace(/\r\n?/g,`
`))),e[Kn]=fo(r);const o=s||r.props&&r.props.type==="number";Zt(e,t?"change":"input",i=>{i.target.composing||e[Kn](js(e.value,n,o))}),(n||o)&&Zt(e,"change",()=>{e.value=js(e.value,n,o)}),t||(Zt(e,"compositionstart",za),Zt(e,"compositionend",ho),Zt(e,"change",ho))},mounted(e,{value:t,modifiers:{trim:n,number:s}}){const r=t??"",o=e[Wn];delete e[Wn],o!==void 0&&(e.type==="text"||e.type==="textarea")&&e.value!==o?e[Kn](js(e.value,n,s)):e.value=r},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Kn]=fo(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?gr(e.value):e.value,c=t??"";if(l===c)return;const a=e.getRootNode();(a instanceof Document||a instanceof ShadowRoot)&&a.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},Ja=["ctrl","shift","alt","meta"],Ya={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)=>Ja.some(n=>e[`${n}Key`]&&!t.includes(n))},nl=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=Ya[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},Qa=Ae({patchProp:qa},Ra);let po;function Xa(){return po||(po=la(Qa))}const Za=((...e)=>{const t=Xa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=tu(s);if(!r)return;const o=t._component;!z(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,eu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function eu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function tu(e){return _e(e)?document.querySelector(e):e}let sl;const ks=e=>sl=e,rl=Symbol();function sr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Sn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Sn||(Sn={}));function nu(){const e=Yo(!0),t=e.run(()=>ve({}));let n=[],s=[];const r=Sr({install(o){ks(r),r._a=o,o.provide(rl,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ol=()=>{};function mo(e,t,n,s=ol){e.add(t);const r=()=>{e.delete(t)&&s()};return!n&&Qo()&&Fl(r),r}function Yt(e,...t){e.forEach(n=>{n(...t)})}const su=e=>e(),go=Symbol(),Fs=Symbol();function rr(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];sr(r)&&sr(s)&&e.hasOwnProperty(n)&&!ye(s)&&!Rt(s)?e[n]=rr(r,s):e[n]=s}return e}const ru=Symbol();function ou(e){return!sr(e)||!Object.prototype.hasOwnProperty.call(e,ru)}const{assign:Lt}=Object;function iu(e){return!!(ye(e)&&e.effect)}function lu(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let c;function a(){l||(n.state.value[e]=r?r():{});const u=uc(n.state.value[e]);return Lt(u,o,Object.keys(i||{}).reduce((d,p)=>(d[p]=Sr(D(()=>{ks(n);const g=n._s.get(e);return i[p].call(g,g)})),d),{}))}return c=il(e,a,t,n,s,!0),c}function il(e,t,n={},s,r,o){let i;const l=Lt({actions:{}},n),c={deep:!0};let a,u,d=new Set,p=new Set,g;const R=s.state.value[e];!o&&!R&&(s.state.value[e]={});let E;function F(Q){let X;a=u=!1,typeof Q=="function"?(Q(s.state.value[e]),X={type:Sn.patchFunction,storeId:e,events:g}):(rr(s.state.value[e],Q),X={type:Sn.patchObject,payload:Q,storeId:e,events:g});const me=E=Symbol();Er().then(()=>{E===me&&(a=!0)}),u=!0,Yt(d,X,s.state.value[e])}const H=o?function(){const{state:X}=n,me=X?X():{};this.$patch(Te=>{Lt(Te,me)})}:ol;function M(){i.stop(),d.clear(),p.clear(),s._s.delete(e)}const V=(Q,X="")=>{if(go in Q)return Q[Fs]=X,Q;const me=function(){ks(s);const Te=Array.from(arguments),He=new Set,$e=new Set;function xt(G){He.add(G)}function st(G){$e.add(G)}Yt(p,{args:Te,name:me[Fs],store:Y,after:xt,onError:st});let he;try{he=Q.apply(this&&this.$id===e?this:Y,Te)}catch(G){throw Yt($e,G),G}return he instanceof Promise?he.then(G=>(Yt(He,G),G)).catch(G=>(Yt($e,G),Promise.reject(G))):(Yt(He,he),he)};return me[go]=!0,me[Fs]=X,me},$={_p:s,$id:e,$onAction:mo.bind(null,p),$patch:F,$reset:H,$subscribe(Q,X={}){const me=mo(d,Q,X.detached,()=>Te()),Te=i.run(()=>jt(()=>s.state.value[e],He=>{(X.flush==="sync"?u:a)&&Q({storeId:e,type:Sn.direct,events:g},He)},Lt({},c,X)));return me},$dispose:M},Y=Vn($);s._s.set(e,Y);const re=(s._a&&s._a.runWithContext||su)(()=>s._e.run(()=>(i=Yo()).run(()=>t({action:V}))));for(const Q in re){const X=re[Q];if(ye(X)&&!iu(X)||Rt(X))o||(R&&ou(X)&&(ye(X)?X.value=R[Q]:rr(X,R[Q])),s.state.value[e][Q]=X);else if(typeof X=="function"){const me=V(X,Q);re[Q]=me,l.actions[Q]=X}}return Lt(Y,re),Lt(ne(Y),re),Object.defineProperty(Y,"$state",{get:()=>s.state.value[e],set:Q=>{F(X=>{Lt(X,Q)})}}),s._p.forEach(Q=>{Lt(Y,i.run(()=>Q({store:Y,app:s._a,pinia:s,options:l})))}),R&&o&&n.hydrate&&n.hydrate(Y.$state,R),a=!0,u=!0,Y}function cu(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(i,l){const c=xc();return i=i||(c?Ze(rl,null):null),i&&ks(i),i=sl,i._s.has(e)||(r?il(e,t,s,i):lu(e,s,i)),i._s.get(e)}return o.$id=e,o}const en=typeof document<"u";function ll(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function au(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ll(e.default)}const ge=Object.assign;function Hs(e,t){const n={};for(const s in t){const r=t[s];n[s]=ct(r)?r.map(e):e(r)}return n}const En=()=>{},ct=Array.isArray;function vo(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const cl=/#/g,uu=/&/g,fu=/\//g,du=/=/g,hu=/\?/g,al=/\+/g,pu=/%5B/g,mu=/%5D/g,ul=/%5E/g,gu=/%60/g,fl=/%7B/g,vu=/%7C/g,dl=/%7D/g,_u=/%20/g;function Nr(e){return e==null?"":encodeURI(""+e).replace(vu,"|").replace(pu,"[").replace(mu,"]")}function bu(e){return Nr(e).replace(fl,"{").replace(dl,"}").replace(ul,"^")}function or(e){return Nr(e).replace(al,"%2B").replace(_u,"+").replace(cl,"%23").replace(uu,"%26").replace(gu,"`").replace(fl,"{").replace(dl,"}").replace(ul,"^")}function xu(e){return or(e).replace(du,"%3D")}function yu(e){return Nr(e).replace(cl,"%23").replace(hu,"%3F")}function wu(e){return yu(e).replace(fu,"%2F")}function $n(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Su=/\/$/,Eu=e=>e.replace(Su,"");function Bs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Au(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:$n(i)}}function Cu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function ku(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&an(t.matched[s],n.matched[r])&&hl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function an(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ru(e[n],t[n]))return!1;return!0}function Ru(e,t){return ct(e)?_o(e,t):ct(t)?_o(t,e):e?.valueOf()===t?.valueOf()}function _o(e,t){return ct(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Au(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const $t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let ir=(function(e){return e.pop="pop",e.push="push",e})({}),bo=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});const Us="";function Tu(e){if(!e)if(en){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Eu(e)}const Ou=/^[^#]+#/;function Pu(e,t){return e.replace(Ou,"#")+t}function Mu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Nu=()=>({left:window.scrollX,top:window.scrollY});function Iu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Mu(r,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 xo(e,t){return(history.state?history.state.position-t:-1)+e}const lr=new Map;function $u(e,t){lr.set(e,t)}function Lu(e){const t=lr.get(e);return lr.delete(e),t}function Du(e){return typeof e=="string"||e&&typeof e=="object"}function pl(e){return typeof e=="string"||typeof e=="symbol"}let xe=(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 ml=Symbol("");xe.MATCHER_NOT_FOUND+"",xe.NAVIGATION_GUARD_REDIRECT+"",xe.NAVIGATION_ABORTED+"",xe.NAVIGATION_CANCELLED+"",xe.NAVIGATION_DUPLICATED+"";function un(e,t){return ge(new Error,{type:e,[ml]:!0},t)}function wt(e,t){return e instanceof Error&&ml in e&&(t==null||!!(e.type&t))}const Vu=["params","query","hash"];function ju(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Vu)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Fu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(al," "),o=r.indexOf("="),i=$n(o<0?r:r.slice(0,o)),l=o<0?null:$n(r.slice(o+1));if(i in t){let c=t[i];ct(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function yo(e){let t="";for(let n in e){const s=e[n];if(n=xu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(ct(s)?s.map(r=>r&&or(r)):[s&&or(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Hu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ct(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Bu=Symbol(""),wo=Symbol(""),Rs=Symbol(""),Ir=Symbol(""),cr=Symbol("");function mn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const a=p=>{p===!1?c(un(xe.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):Du(p)?c(un(xe.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},u=o(()=>e.call(s&&s.instances[r],t,n,a));let d=Promise.resolve(u);e.length<3&&(d=d.then(a)),d.catch(p=>c(p))})}function qs(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(ll(c)){const a=(c.__vccOpts||c)[t];a&&o.push(Vt(a,n,s,i,l,r))}else{let a=c();o.push(()=>a.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=au(u)?u.default:u;i.mods[l]=u,i.components[l]=d;const p=(d.__vccOpts||d)[t];return p&&Vt(p,n,s,i,l,r)()}))}}return o}function Uu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(a=>an(a,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(a=>an(a,c))||r.push(c))}return[n,s,r]}function qu(e=""){let t=[],n=[[Us,{}]],s=0;e=Tu(e);function r(l,c={}){s++,s!==n.length&&n.splice(s),n.push([l,c])}function o(l,c,{direction:a,delta:u}){const d={direction:a,delta:u,type:ir.pop};for(const p of t)p(l,c,d)}const i={location:Us,state:{},base:e,createHref:Pu.bind(null,e),replace(l,c){n.splice(s--,1),r(l,c)},push(l,c){r(l,c)},listen(l){return t.push(l),()=>{const c=t.indexOf(l);c>-1&&t.splice(c,1)}},destroy(){t=[],n=[[Us,{}]],s=0},go(l,c=!0){const a=this.location,u=l<0?bo.back:bo.forward;s=Math.max(0,Math.min(s+l,n.length-1)),c&&o(this.location,a,{direction:u,delta:l})}};return Object.defineProperty(i,"location",{enumerable:!0,get:()=>n[s][0]}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>n[s][1]}),i}let Kt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ce=(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})(Ce||{});const Ku={type:Kt.Static,value:""},Wu=/[a-zA-Z0-9_]/;function zu(e){if(!e)return[[]];if(e==="/")return[[Ku]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${a}": ${g}`)}let n=Ce.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,a="",u="";function d(){a&&(n===Ce.Static?o.push({type:Kt.Static,value:a}):n===Ce.Param||n===Ce.ParamRegExp||n===Ce.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${a}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Kt.Param,value:a,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),a="")}function p(){a+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==Ce.ParamRegExp){s=n,n=Ce.EscapeNext;continue}switch(n){case Ce.Static:c==="/"?(a&&d(),i()):c===":"?(d(),n=Ce.Param):p();break;case Ce.EscapeNext:p(),n=s;break;case Ce.Param:c==="("?n=Ce.ParamRegExp:Wu.test(c)?p():(d(),n=Ce.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case Ce.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=Ce.ParamRegExpEnd:u+=c;break;case Ce.ParamRegExpEnd:d(),n=Ce.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===Ce.ParamRegExp&&t(`Unfinished custom RegExp for param "${a}"`),d(),i(),r}const So="[^/]+?",Gu={sensitive:!1,strict:!1,start:!0,end:!0};var Ue=(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})(Ue||{});const Ju=/[.+*?^${}()[\]/\\]/g;function Yu(e,t){const n=ge({},Gu,t),s=[];let r=n.start?"^":"";const o=[];for(const a of e){const u=a.length?[]:[Ue.Root];n.strict&&!a.length&&(r+="/");for(let d=0;d<a.length;d++){const p=a[d];let g=Ue.Segment+(n.sensitive?Ue.BonusCaseSensitive:0);if(p.type===Kt.Static)d||(r+="/"),r+=p.value.replace(Ju,"\\$&"),g+=Ue.Static;else if(p.type===Kt.Param){const{value:R,repeatable:E,optional:F,regexp:H}=p;o.push({name:R,repeatable:E,optional:F});const M=H||So;if(M!==So){g+=Ue.BonusCustomRegExp;try{`${M}`}catch($){throw new Error(`Invalid custom RegExp for param "${R}" (${M}): `+$.message)}}let V=E?`((?:${M})(?:/(?:${M}))*)`:`(${M})`;d||(V=F&&a.length<2?`(?:/${V})`:"/"+V),F&&(V+="?"),r+=V,g+=Ue.Dynamic,F&&(g+=Ue.BonusOptional),E&&(g+=Ue.BonusRepeatable),M===".*"&&(g+=Ue.BonusWildcard)}u.push(g)}s.push(u)}if(n.strict&&n.end){const a=s.length-1;s[a][s[a].length-1]+=Ue.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(a){const u=a.match(i),d={};if(!u)return null;for(let p=1;p<u.length;p++){const g=u[p]||"",R=o[p-1];d[R.name]=g&&R.repeatable?g.split("/"):g}return d}function c(a){let u="",d=!1;for(const p of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const g of p)if(g.type===Kt.Static)u+=g.value;else if(g.type===Kt.Param){const{value:R,repeatable:E,optional:F}=g,H=R in a?a[R]:"";if(ct(H)&&!E)throw new Error(`Provided param "${R}" is an array but it is not repeatable (* or + modifiers)`);const M=ct(H)?H.join("/"):H;if(!M)if(F)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${R}"`);u+=M}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:c}}function Qu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ue.Static+Ue.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ue.Static+Ue.Segment?1:-1:0}function gl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Qu(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Eo(s))return 1;if(Eo(r))return-1}return r.length-s.length}function Eo(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Xu={strict:!1,end:!0,sensitive:!1};function Zu(e,t,n){const s=Yu(zu(e.path),n),r=ge(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ef(e,t){const n=[],s=new Map;t=vo(Xu,t);function r(d){return s.get(d)}function o(d,p,g){const R=!g,E=ko(d);E.aliasOf=g&&g.record;const F=vo(t,d),H=[E];if("alias"in d){const $=typeof d.alias=="string"?[d.alias]:d.alias;for(const Y of $)H.push(ko(ge({},E,{components:g?g.record.components:E.components,path:Y,aliasOf:g?g.record:E})))}let M,V;for(const $ of H){const{path:Y}=$;if(p&&Y[0]!=="/"){const be=p.record.path,re=be[be.length-1]==="/"?"":"/";$.path=p.record.path+(Y&&re+Y)}if(M=Zu($,p,F),g?g.alias.push(M):(V=V||M,V!==M&&V.alias.push(M),R&&d.name&&!Ro(M)&&i(d.name)),vl(M)&&c(M),E.children){const be=E.children;for(let re=0;re<be.length;re++)o(be[re],M,g&&g.children[re])}g=g||M}return V?()=>{i(V)}:En}function i(d){if(pl(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const p=sf(d,n);n.splice(p,0,d),d.record.name&&!Ro(d)&&s.set(d.record.name,d)}function a(d,p){let g,R={},E,F;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw un(xe.MATCHER_NOT_FOUND,{location:d});F=g.record.name,R=ge(Co(p.params,g.keys.filter(V=>!V.optional).concat(g.parent?g.parent.keys.filter(V=>V.optional):[]).map(V=>V.name)),d.params&&Co(d.params,g.keys.map(V=>V.name))),E=g.stringify(R)}else if(d.path!=null)E=d.path,g=n.find(V=>V.re.test(E)),g&&(R=g.parse(E),F=g.record.name);else{if(g=p.name?s.get(p.name):n.find(V=>V.re.test(p.path)),!g)throw un(xe.MATCHER_NOT_FOUND,{location:d,currentLocation:p});F=g.record.name,R=ge({},p.params,d.params),E=g.stringify(R)}const H=[];let M=g;for(;M;)H.unshift(M.record),M=M.parent;return{name:F,path:E,params:R,matched:H,meta:nf(H)}}e.forEach(d=>o(d));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:a,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Co(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ko(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:tf(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 tf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Ro(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function nf(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function sf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;gl(e,t[o])<0?s=o:n=o+1}const r=rf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function rf(e){let t=e;for(;t=t.parent;)if(vl(t)&&gl(e,t)===0)return t}function vl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Ao(e){const t=Ze(Rs),n=Ze(Ir),s=D(()=>{const c=b(e.to);return t.resolve(c)}),r=D(()=>{const{matched:c}=s.value,{length:a}=c,u=c[a-1],d=n.matched;if(!u||!d.length)return-1;const p=d.findIndex(an.bind(null,u));if(p>-1)return p;const g=To(c[a-2]);return a>1&&To(u)===g&&d[d.length-1].path!==g?d.findIndex(an.bind(null,c[a-2])):p}),o=D(()=>r.value>-1&&uf(n.params,s.value.params)),i=D(()=>r.value>-1&&r.value===n.matched.length-1&&hl(n.params,s.value.params));function l(c={}){if(af(c)){const a=t[b(e.replace)?"replace":"push"](b(e.to)).catch(En);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>a),a}return Promise.resolve()}return{route:s,href:D(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function of(e){return e.length===1?e[0]:e}const lf=fe({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:Ao,setup(e,{slots:t}){const n=Vn(Ao(e)),{options:s}=Ze(Rs),r=D(()=>({[Oo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Oo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&of(t.default(n));return e.custom?o:In("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),cf=lf;function af(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 uf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ct(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function To(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Oo=(e,t,n)=>e??t??n,ff=fe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ze(cr),r=D(()=>e.route||s.value),o=Ze(wo,0),i=D(()=>{let a=b(o);const{matched:u}=r.value;let d;for(;(d=u[a])&&!d.components;)a++;return a}),l=D(()=>r.value.matched[i.value]);Jn(wo,D(()=>i.value+1)),Jn(Bu,l),Jn(cr,r);const c=ve();return jt(()=>[c.value,l.value,e.name],([a,u,d],[p,g,R])=>{u&&(u.instances[d]=a,g&&g!==u&&a&&a===p&&(u.leaveGuards.size||(u.leaveGuards=g.leaveGuards),u.updateGuards.size||(u.updateGuards=g.updateGuards))),a&&u&&(!g||!an(u,g)||!p)&&(u.enterCallbacks[d]||[]).forEach(E=>E(a))},{flush:"post"}),()=>{const a=r.value,u=e.name,d=l.value,p=d&&d.components[u];if(!p)return Po(n.default,{Component:p,route:a});const g=d.props[u],R=g?g===!0?a.params:typeof g=="function"?g(a):g:null,F=In(p,ge({},R,t,{onVnodeUnmounted:H=>{H.component.isUnmounted&&(d.instances[u]=null)},ref:c}));return Po(n.default,{Component:F,route:a})||F}}});function Po(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const df=ff;function hf(e){const t=ef(e.routes,e),n=e.parseQuery||Fu,s=e.stringifyQuery||yo,r=e.history,o=mn(),i=mn(),l=mn(),c=oc($t);let a=$t;en&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Hs.bind(null,v=>""+v),d=Hs.bind(null,wu),p=Hs.bind(null,$n);function g(v,I){let O,B;return pl(v)?(O=t.getRecordMatcher(v),B=I):B=v,t.addRoute(B,O)}function R(v){const I=t.getRecordMatcher(v);I&&t.removeRoute(I)}function E(){return t.getRoutes().map(v=>v.record)}function F(v){return!!t.getRecordMatcher(v)}function H(v,I){if(I=ge({},I||c.value),typeof v=="string"){const m=Bs(n,v,I.path),x=t.resolve({path:m.path},I),y=r.createHref(m.fullPath);return ge(m,x,{params:p(x.params),hash:$n(m.hash),redirectedFrom:void 0,href:y})}let O;if(v.path!=null)O=ge({},v,{path:Bs(n,v.path,I.path).path});else{const m=ge({},v.params);for(const x in m)m[x]==null&&delete m[x];O=ge({},v,{params:d(m)}),I.params=d(I.params)}const B=t.resolve(O,I),Z=v.hash||"";B.params=u(p(B.params));const f=Cu(s,ge({},v,{hash:bu(Z),path:B.path})),h=r.createHref(f);return ge({fullPath:f,hash:Z,query:s===yo?Hu(v.query):v.query||{}},B,{redirectedFrom:void 0,href:h})}function M(v){return typeof v=="string"?Bs(n,v,c.value.path):ge({},v)}function V(v,I){if(a!==v)return un(xe.NAVIGATION_CANCELLED,{from:I,to:v})}function $(v){return re(v)}function Y(v){return $(ge(M(v),{replace:!0}))}function be(v,I){const O=v.matched[v.matched.length-1];if(O&&O.redirect){const{redirect:B}=O;let Z=typeof B=="function"?B(v,I):B;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=M(Z):{path:Z},Z.params={}),ge({query:v.query,hash:v.hash,params:Z.path!=null?{}:v.params},Z)}}function re(v,I){const O=a=H(v),B=c.value,Z=v.state,f=v.force,h=v.replace===!0,m=be(O,B);if(m)return re(ge(M(m),{state:typeof m=="object"?ge({},Z,m.state):Z,force:f,replace:h}),I||O);const x=O;x.redirectedFrom=I;let y;return!f&&ku(s,B,O)&&(y=un(xe.NAVIGATION_DUPLICATED,{to:x,from:B}),tt(B,B,!0,!1)),(y?Promise.resolve(y):me(x,B)).catch(_=>wt(_)?wt(_,xe.NAVIGATION_GUARD_REDIRECT)?_:Oe(_):te(_,x,B)).then(_=>{if(_){if(wt(_,xe.NAVIGATION_GUARD_REDIRECT))return re(ge({replace:h},M(_.to),{state:typeof _.to=="object"?ge({},Z,_.to.state):Z,force:f}),I||x)}else _=He(x,B,!0,h,Z);return Te(x,B,_),_})}function Q(v,I){const O=V(v,I);return O?Promise.reject(O):Promise.resolve()}function X(v){const I=It.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(v):v()}function me(v,I){let O;const[B,Z,f]=Uu(v,I);O=qs(B.reverse(),"beforeRouteLeave",v,I);for(const m of B)m.leaveGuards.forEach(x=>{O.push(Vt(x,v,I))});const h=Q.bind(null,v,I);return O.push(h),le(O).then(()=>{O=[];for(const m of o.list())O.push(Vt(m,v,I));return O.push(h),le(O)}).then(()=>{O=qs(Z,"beforeRouteUpdate",v,I);for(const m of Z)m.updateGuards.forEach(x=>{O.push(Vt(x,v,I))});return O.push(h),le(O)}).then(()=>{O=[];for(const m of f)if(m.beforeEnter)if(ct(m.beforeEnter))for(const x of m.beforeEnter)O.push(Vt(x,v,I));else O.push(Vt(m.beforeEnter,v,I));return O.push(h),le(O)}).then(()=>(v.matched.forEach(m=>m.enterCallbacks={}),O=qs(f,"beforeRouteEnter",v,I,X),O.push(h),le(O))).then(()=>{O=[];for(const m of i.list())O.push(Vt(m,v,I));return O.push(h),le(O)}).catch(m=>wt(m,xe.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function Te(v,I,O){l.list().forEach(B=>X(()=>B(v,I,O)))}function He(v,I,O,B,Z){const f=V(v,I);if(f)return f;const h=I===$t,m=en?history.state:{};O&&(B||h?r.replace(v.fullPath,ge({scroll:h&&m&&m.scroll},Z)):r.push(v.fullPath,Z)),c.value=v,tt(v,I,O,h),Oe()}let $e;function xt(){$e||($e=r.listen((v,I,O)=>{if(!j.listening)return;const B=H(v),Z=be(B,j.currentRoute.value);if(Z){re(ge(Z,{replace:!0,force:!0}),B).catch(En);return}a=B;const f=c.value;en&&$u(xo(f.fullPath,O.delta),Nu()),me(B,f).catch(h=>wt(h,xe.NAVIGATION_ABORTED|xe.NAVIGATION_CANCELLED)?h:wt(h,xe.NAVIGATION_GUARD_REDIRECT)?(re(ge(M(h.to),{force:!0}),B).then(m=>{wt(m,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===ir.pop&&r.go(-1,!1)}).catch(En),Promise.reject()):(O.delta&&r.go(-O.delta,!1),te(h,B,f))).then(h=>{h=h||He(B,f,!1),h&&(O.delta&&!wt(h,xe.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===ir.pop&&wt(h,xe.NAVIGATION_ABORTED|xe.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),Te(B,f,h)}).catch(En)}))}let st=mn(),he=mn(),G;function te(v,I,O){Oe(v);const B=he.list();return B.length?B.forEach(Z=>Z(v,I,O)):console.error(v),Promise.reject(v)}function rt(){return G&&c.value!==$t?Promise.resolve():new Promise((v,I)=>{st.add([v,I])})}function Oe(v){return G||(G=!v,xt(),st.list().forEach(([I,O])=>v?O(v):I()),st.reset()),v}function tt(v,I,O,B){const{scrollBehavior:Z}=e;if(!en||!Z)return Promise.resolve();const f=!O&&Lu(xo(v.fullPath,0))||(B||!O)&&history.state&&history.state.scroll||null;return Er().then(()=>Z(v,I,f)).then(h=>h&&Iu(h)).catch(h=>te(h,v,I))}const Le=v=>r.go(v);let Nt;const It=new Set,j={currentRoute:c,listening:!0,addRoute:g,removeRoute:R,clearRoutes:t.clearRoutes,hasRoute:F,getRoutes:E,resolve:H,options:e,push:$,replace:Y,go:Le,back:()=>Le(-1),forward:()=>Le(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:he.add,isReady:rt,install(v){v.component("RouterLink",cf),v.component("RouterView",df),v.config.globalProperties.$router=j,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>b(c)}),en&&!Nt&&c.value===$t&&(Nt=!0,$(r.location).catch(B=>{}));const I={};for(const B in $t)Object.defineProperty(I,B,{get:()=>c.value[B],enumerable:!0});v.provide(Rs,j),v.provide(Ir,di(I)),v.provide(cr,c);const O=v.unmount;It.add(v),v.unmount=function(){It.delete(v),It.size<1&&(a=$t,$e&&$e(),$e=null,c.value=$t,Nt=!1,G=!1),O()}}};function le(v){return v.reduce((I,O)=>I.then(()=>X(O)),Promise.resolve())}return j}function _l(){return Ze(Rs)}function pf(e){return Ze(Ir)}const Mo=e=>e==="";const mf=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();const No=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();const gf=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase());const vf=e=>{const t=gf(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Qt={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const _f=Symbol("lucide-icons");function bf(){return Ze(_f,{})}const xf=({name:e,iconNode:t,"icon-node":n,absoluteStrokeWidth:s,"absolute-stroke-width":r,strokeWidth:o,"stroke-width":i,size:l,color:c,...a},{slots:u})=>{const{size:d,color:p,strokeWidth:g=2,absoluteStrokeWidth:R=!1,class:E=""}=bf(),F=D(()=>{const H=Mo(s)||Mo(r)||s===!0||r===!0||R===!0,M=o||i||g||Qt["stroke-width"];return H?Number(M)*24/Number(l??d??Qt.width):M});return In("svg",{...Qt,...a,width:l??d??Qt.width,height:l??d??Qt.height,stroke:c??p??Qt.stroke,"stroke-width":F.value,class:mf("lucide",E,...e?[`lucide-${No(vf(e))}-icon`,`lucide-${No(e)}`]:["lucide-icon"])},[...(t??n??[]).map(H=>In(...H)),...u.default?[u.default()]:[]])};const Re=(e,t)=>(n,{slots:s,attrs:r})=>In(xf,{...r,...n,iconNode:t,name:e},s.default?{default:s.default}:void 0);const yf=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],ar=Re("activity",yf);const wf=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Sf=Re("check",wf);const Ef=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]],Ks=Re("clock",Ef);const Cf=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],kf=Re("copy",Cf);const Rf=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],on=Re("database",Rf);const Af=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],Tf=Re("external-link",Af);const Of=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],ur=Re("file-braces",Of);const Pf=[["path",{d:"M10 16h.01",key:"1bzywj"}],["path",{d:"M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"18tbho"}],["path",{d:"M21.946 12.013H2.054",key:"zqlbp7"}],["path",{d:"M6 16h.01",key:"1pmjb7"}]],Qn=Re("hard-drive",Pf);const Mf=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],Nf=Re("inbox",Mf);const If=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Xn=Re("key-round",If);const $f=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],bl=Re("list-tree",$f);const Lf=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Zn=Re("mail",Lf);const Df=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],Vf=Re("maximize-2",Df);const jf=[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]],Ff=Re("minimize-2",jf);const Hf=[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]],Cn=Re("network",Hf);const Bf=[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]],fr=Re("scroll-text",Bf);const Uf=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],qf=Re("search",Uf);const Kf=[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]],kn=Re("server",Kf);const Wf=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],xl=Re("triangle-alert",Wf),Ft=fe({__name:"Icon",props:{icon:{},size:{},stroke:{},class:{}},setup(e){return(t,n)=>(w(),ce(Vc(e.icon),{size:e.size??14,"stroke-width":e.stroke??2,class:we(["shrink-0",t.$props.class])},null,8,["size","stroke-width","class"]))}}),zf={key:1,class:"text-[10px] uppercase tracking-wider text-[var(--dt-faint)]"},Je=fe({__name:"Chip",props:{label:{},value:{},icon:{},tone:{},active:{type:Boolean},compact:{type:Boolean}},emits:["click"],setup(e){return(t,n)=>(w(),T("button",{type:"button",class:we(["inline-flex min-h-[var(--dt-touch)] items-center gap-1.5 border border-solid px-2.5 text-left transition-colors",[e.compact?"rounded-[4px] py-1":"rounded-[var(--dt-radius)] py-1.5",e.active?"border-[var(--dt-accent)] bg-[var(--dt-accent-dim)]":"border-[var(--dt-border)] bg-[var(--dt-surface)] hover:border-[var(--dt-border-strong)] hover:bg-[var(--dt-surface-2)]"]]),style:_t({borderLeftWidth:"3px",borderLeftColor:e.tone==="ok"?"var(--dt-ok)":e.tone==="warn"?"var(--dt-warn)":e.tone==="err"?"var(--dt-err)":e.tone==="info"?"var(--dt-info)":"var(--dt-border-strong)"}),onClick:n[0]||(n[0]=s=>t.$emit("click",s))},[e.icon?(w(),ce(Ft,{key:0,icon:e.icon,size:13,class:"text-[var(--dt-muted)]"},null,8,["icon"])):Ee("",!0),e.label?(w(),T("span",zf,J(e.label),1)):Ee("",!0),C("span",{class:we(["dt-mono text-[12px] font-medium",{"text-[var(--dt-text)]":!e.tone||e.tone==="default","text-[var(--dt-ok)]":e.tone==="ok","text-[var(--dt-warn)]":e.tone==="warn","text-[var(--dt-err)]":e.tone==="err","text-[var(--dt-info)]":e.tone==="info"}])},J(e.value),3)],6))}}),Gf=["width","height","viewBox"],Jf=["d","stroke"],yl=fe({__name:"Sparkline",props:{values:{},width:{default:96},height:{default:22},stroke:{default:"var(--dt-accent)"}},setup(e){const t=e,n=D(()=>{const s=t.values.length?t.values:[0],r=Math.max(...s,1),o=Math.min(...s,0),i=Math.max(r-o,1e-6),l=s.length,c=t.width,a=t.height,u=2;return s.map((d,p)=>{const g=l===1?c/2:p/(l-1)*(c-u*2)+u,R=a-u-(d-o)/i*(a-u*2);return`${p===0?"M":"L"}${g.toFixed(1)},${R.toFixed(1)}`}).join(" ")});return(s,r)=>(w(),T("svg",{width:e.width,height:e.height,viewBox:`0 0 ${e.width} ${e.height}`,class:"block overflow-visible","aria-hidden":"true"},[C("path",{class:"dt-spark-path",d:n.value,fill:"none",stroke:e.stroke,"stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,8,Jf)],8,Gf))}});async function Io(e,t){if(!t)return null;const n=await fetch(`${e}/requests/${encodeURIComponent(t)}`);return n.ok?await n.json():null}async function $o(e){const t=await fetch(`${e}/requests`);return t.ok?await t.json():[]}async function Yf(e){const t=await fetch(`${e}/config`);return t.ok?t.json():{}}async function Qf(e){const t=await fetch(`${e}/logs`);return t.ok?await t.json():[]}const wl="sova.devtools.v2",Sl="sova.devtools.spark",El="sova.devtools.panelH",Xf="sova.devtools",Zf="sova-dt-panel-h",Lo={open:!1,tab:"request"};function Cl(){try{const e=sessionStorage.getItem(wl);if(!e)return{...Lo};const t=JSON.parse(e);return{open:!!t.open,tab:t.tab||"request"}}catch{return{...Lo}}}function ed(e){try{sessionStorage.setItem(wl,JSON.stringify(e))}catch{}}function td(e){const t={...Cl(),...e};return ed(t),t}function kl(){try{const e=sessionStorage.getItem(Sl);if(!e)return[];const t=JSON.parse(e);return Array.isArray(t)?t.filter(n=>typeof n=="number").slice(-40):[]}catch{return[]}}function dr(e){const t=[...kl(),e].slice(-40);try{sessionStorage.setItem(Sl,JSON.stringify(t))}catch{}return t}function nd(){try{const e=Number(sessionStorage.getItem(El));if(Number.isFinite(e)&&e>=220&&e<=800)return e}catch{}return 420}function sd(e){try{sessionStorage.setItem(El,String(Math.round(e)))}catch{}}function vt(e){return e>=500?"err":e>=400?"warn":"ok"}function nt(e){return e==null||Number.isNaN(e)?"—":`${e.toFixed(1)}ms`}function Ws(e){return e?.length?e.reduce((t,n)=>t+(n.duration_ms??0),0):0}const Do="sova.devtools.fs";function rd(){const t=document.getElementById("sova-devtools")?.dataset??{},n=t.statusClass||"ok",r=new URLSearchParams(location.search).get("embed")==="1"||window!==window.top,o=t.shell==="1"||location.pathname.startsWith("/_devtools/app")||t.playground==="1";return{snap:t.snap||"",status:Number(t.status||0),statusClass:n==="warn"||n==="err"?n:"ok",ms:Number(t.ms||0),sql:Number(t.sql||0),errors:Number(t.errors||0),api:t.api||"/_devtools",events:t.events||"/_devtools/events",shell:o,embed:r}}function od(e,t,n,s){t.value={...t.value,snap:e.snap,status:e.status,statusClass:e.statusClass,ms:e.ms,sql:e.sql,errors:e.errors},e.snap&&(n.value=e.snap),e.ms>0&&(s.value=dr(e.ms))}const ze=cu("devtools",()=>{const e=Cl(),t=ve(rd()),n=ve(document.getElementById("sova-devtools")?.dataset.playground==="1"),s=ve(t.value.embed||n.value?!0:e.open||t.value.shell),r=ve(e.tab),o=ve(t.value.snap),i=ve(null),l=ve([]),c=ve([]),a=ve(null),u=ve(!1),d=ve(null),p=ve(kl()),g=ve(nd()),R=ve((()=>{try{return sessionStorage.getItem(Do)==="1"}catch{return!1}})()),E=D(()=>t.value.api),F=D(()=>t.value.embed),H=D(()=>t.value.shell),M=D(()=>n.value),V=D(()=>Ws(i.value?.queries)),$=D(()=>Ws(i.value?.http)),Y=D(()=>Ws(i.value?.cache)),be=D(()=>i.value?.logs.filter(j=>String(j.level).toUpperCase().includes("ERROR")).length??0),re=D(()=>{let j=0,le=0,v=0;for(const I of l.value.slice(0,50)){const O=vt(I.status);O==="ok"?j++:O==="warn"?le++:v++}return{ok:j,warn:le,err:v}}),Q=D(()=>{const j=l.value.slice(0,40).map(le=>le.duration_ms).reverse();return j.length?j:p.value}),X=D(()=>{const j=i.value;return{request:0,timeline:l.value.length,db:j?.queries.length??0,cache:j?.cache?.length??0,logs:j?.logs.length||c.value.length,http:j?.http.length??0,mail:j?.mail.length??0,jobs:j?.jobs.length??0,auth:j?.auth?.session_keys?.length??0,config:0}}),me=D(()=>R.value?Math.max(320,window.innerHeight-40):g.value);function Te(){n.value||td({open:s.value,tab:r.value})}jt([s,r],Te);function He(j){const le=Math.min(800,Math.max(220,j));if(g.value=le,sd(le),F.value&&window.parent!==window)try{window.parent.postMessage({type:Zf,height:le},"*")}catch{}}function $e(){R.value=!R.value;try{sessionStorage.setItem(Do,R.value?"1":"0")}catch{}}function xt(){F.value||n.value||(s.value=!s.value,s.value&&Oe())}function st(){F.value||n.value||(s.value=!1)}function he(j){r.value=j,Oe()}function G(j){o.value=j,r.value="request",Oe()}function te(j){l.value=[j,...l.value].slice(0,100),p.value=dr(j.duration_ms)}function rt(j){l.value=j.timeline,i.value=j.current,o.value=j.current.id,c.value=j.logs,a.value=j.config,t.value={...t.value,snap:j.current.id,status:j.current.status,statusClass:vt(j.current.status),ms:j.current.duration_ms,sql:j.current.queries.length,errors:j.current.logs.filter(le=>String(le.level).toUpperCase().includes("ERROR")).length},p.value=j.timeline.map(le=>le.duration_ms).reverse(),u.value=!1}async function Oe(){if(!n.value&&!(!s.value&&!F.value)){u.value=!0,d.value=null;try{if(r.value==="timeline")l.value=await $o(E.value);else if(r.value==="config")a.value=await Yf(E.value);else if(r.value==="logs"&&!o.value)c.value=await Qf(E.value);else if(o.value)i.value=await Io(E.value,o.value);else{const j=await $o(E.value);l.value=j,j[0]&&(o.value=j[0].id,i.value=await Io(E.value,j[0].id))}}catch(j){d.value=j instanceof Error?j.message:String(j)}finally{u.value=!1}}}function tt(){if(!n.value)try{new BroadcastChannel(Xf).addEventListener("message",le=>{const v=le.data;!v||typeof v!="object"||(v.type==="page"?(od(v,t,o,p),(s.value||F.value)&&Oe()):v.type==="ui"&&!F.value&&(s.value=v.open,v.tab&&(r.value=v.tab),s.value&&Oe()))})}catch{}}function Le(){if(!n.value)try{new EventSource(t.value.events).addEventListener("request.finished",le=>{try{const v=JSON.parse(le.data);v.meta&&(te(v.meta),(s.value||F.value)&&r.value==="timeline"&&Oe())}catch{}})}catch{}}function Nt(j){j.key==="Escape"&&st()}function It(){t.value.ms>0&&!p.value.length&&(p.value=dr(t.value.ms)),tt(),Le(),window.addEventListener("keydown",Nt),n.value||Oe()}return{mount:t,open:s,tab:r,snapId:o,current:i,timeline:l,globalLogs:c,config:a,loading:u,error:d,spark:p,sparkFromTimeline:Q,panelH:g,effectivePanelH:me,fullscreen:R,isEmbed:F,isShell:H,isPlayground:M,sqlTotalMs:V,httpTotalMs:$,cacheTotalMs:Y,logErrorCount:be,statusBuckets:re,tabBadges:X,toggle:xt,close:st,setTab:he,openSnap:G,refresh:Oe,setPanelH:He,toggleFullscreen:$e,loadMock:rt,boot:It}}),id={class:"fixed inset-x-0 bottom-0 z-[var(--dt-z)] flex h-[var(--dt-bar-h)] select-none items-stretch gap-1.5 border-t border-[var(--dt-border-strong)] bg-[var(--dt-bg)] px-2 py-1 text-[var(--dt-text)]",role:"toolbar","aria-label":"Sova DevTools"},ld={class:"dt-scroll flex min-w-0 flex-1 items-center gap-1.5 overflow-x-auto"},cd={class:"ml-1 hidden items-center sm:flex"},ad=["title"],ud="/_devtools/app",fd=fe({__name:"Toolbar",setup(e){const t=ze(),n=D(()=>{const i=t.mount;return i.status?vt(i.status):i.statusClass});function s(){t.toggle()}function r(i){i.stopPropagation(),window.open(ud,"_blank","noopener,noreferrer")}function o(i){i.stopPropagation(),t.toggleFullscreen()}return(i,l)=>(w(),T("div",id,[C("button",{type:"button",class:"inline-flex min-h-[var(--dt-touch)] shrink-0 cursor-pointer items-center rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-surface)] px-2.5 text-[13px] font-bold tracking-wide text-[var(--dt-accent)] hover:border-[var(--dt-border-strong)]",title:"Toggle panel",onClick:s}," Sova "),C("div",ld,[L(Je,{label:"status",value:String(b(t).mount.status||"—"),tone:n.value,compact:"",onClick:s},null,8,["value","tone"]),L(Je,{label:"time",value:b(t).mount.ms.toFixed(1)+"ms",compact:"",onClick:s},null,8,["value"]),L(Je,{label:"sql",value:String(b(t).mount.sql),icon:b(on),tone:"info",compact:"",onClick:s},null,8,["value","icon"]),L(Je,{label:"err",value:String(b(t).mount.errors),icon:b(xl),tone:b(t).mount.errors?"err":"default",compact:"",onClick:s},null,8,["value","icon","tone"]),C("div",cd,[L(yl,{values:b(t).sparkFromTimeline,width:72,height:16},null,8,["values"])])]),b(t).isShell?Ee("",!0):(w(),T("button",{key:0,type:"button",class:"hidden min-h-[var(--dt-touch)] cursor-pointer items-center gap-1 rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-surface)] px-2 text-[11px] text-[var(--dt-muted)] hover:text-[var(--dt-text)] sm:inline-flex",title:"Open in new tab",onClick:r},[L(Ft,{icon:b(Tf),size:12},null,8,["icon"]),l[0]||(l[0]=Gt(" Tab ",-1))])),C("button",{type:"button",class:"inline-flex min-h-[var(--dt-touch)] cursor-pointer items-center rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-surface)] px-2 text-[var(--dt-muted)] hover:text-[var(--dt-text)]",title:b(t).fullscreen?"Exit fullscreen":"Fullscreen panel",onClick:o},[L(Ft,{icon:b(t).fullscreen?b(Ff):b(Vf),size:14},null,8,["icon"])],8,ad)]))}}),$r=[{id:"request",label:"Request",icon:ar},{id:"timeline",label:"Timeline",icon:bl},{id:"db",label:"DB",icon:on},{id:"cache",label:"Cache",icon:kn},{id:"logs",label:"Logs",icon:fr},{id:"http",label:"HTTP",icon:Cn},{id:"mail",label:"Mail",icon:Zn},{id:"jobs",label:"Jobs",icon:Qn},{id:"auth",label:"Auth",icon:Xn},{id:"config",label:"Config",icon:ur}],dd={class:"dt-scroll flex shrink-0 items-stretch gap-0 overflow-x-auto scroll-smooth border-b border-[var(--dt-border)] bg-[var(--dt-surface)] px-1 snap-x",role:"tablist","aria-label":"DevTools tabs"},hd=["aria-selected","onClick"],pd={class:"whitespace-nowrap"},md=fe({__name:"TabNav",setup(e){const t=ze(),n=_l();function s(r){t.setTab(r),n.push({name:r})}return(r,o)=>(w(),T("nav",dd,[(w(!0),T(ie,null,Ie(b($r),i=>(w(),T("button",{key:i.id,type:"button",role:"tab","aria-selected":b(t).tab===i.id,class:we(["relative inline-flex min-h-[var(--dt-touch)] snap-start cursor-pointer items-center gap-1.5 border-0 border-b-2 bg-transparent px-3 text-[12px] transition-colors",b(t).tab===i.id?"border-[var(--dt-accent)] text-[var(--dt-text)]":"border-transparent text-[var(--dt-muted)] hover:text-[var(--dt-text)]"]),onClick:nl(l=>s(i.id),["stop"])},[L(Ft,{icon:i.icon,size:13,class:we(b(t).tab===i.id?"text-[var(--dt-accent)]":"text-current")},null,8,["icon","class"]),C("span",pd,J(i.label),1),b(t).tabBadges[i.id]?(w(),T("span",{key:0,class:we(["dt-mono rounded px-1 text-[10px]",b(t).tab===i.id?"bg-[var(--dt-accent-dim)] text-[var(--dt-accent)]":"bg-[var(--dt-surface-2)] text-[var(--dt-faint)]"])},J(b(t).tabBadges[i.id]),3)):Ee("",!0)],10,hd))),128))]))}}),gd={class:"flex flex-col gap-2 p-1"},vd=fe({__name:"Skeleton",props:{rows:{default:4},cols:{default:1}},setup(e){return(t,n)=>(w(),T("div",gd,[(w(!0),T(ie,null,Ie(e.rows,s=>(w(),T("div",{key:s,class:"grid gap-2",style:_t({gridTemplateColumns:`repeat(${e.cols}, minmax(0, 1fr))`})},[(w(!0),T(ie,null,Ie(e.cols,r=>(w(),T("div",{key:r,class:"h-7 animate-pulse rounded-[var(--dt-radius)] bg-[var(--dt-surface-2)]"}))),128))],4))),128))]))}}),_d={class:"flex min-h-[var(--dt-touch)] items-center gap-2 rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-bg)] px-2.5 focus-within:border-[var(--dt-accent)]"},bd=["placeholder"],Hn=fe({__name:"SearchField",props:Fc({placeholder:{}},{modelValue:{default:""},modelModifiers:{}}),emits:["update:modelValue"],setup(e){const t=Gc(e,"modelValue");return(n,s)=>(w(),T("label",_d,[L(Ft,{icon:b(qf),size:14,class:"text-[var(--dt-faint)]"},null,8,["icon"]),xi(C("input",{"onUpdate:modelValue":s[0]||(s[0]=r=>t.value=r),type:"search",class:"min-w-0 flex-1 border-0 bg-transparent py-2 text-[12px] text-[var(--dt-text)] outline-none placeholder:text-[var(--dt-faint)]",placeholder:e.placeholder||"Filter…"},null,8,bd),[[Ga,t.value]])]))}}),xd={class:"flex h-full flex-col"},yd={class:"shrink-0 border-b border-[var(--dt-border)] p-2"},wd={class:"dt-scroll flex-1 overflow-auto",role:"listbox","aria-label":"Requests"},Sd={key:0,class:"m-0 p-4 text-center text-[11px] text-[var(--dt-faint)]"},Ed=["aria-selected","onClick"],Cd={class:"flex items-center gap-2"},kd={class:"dt-mono text-[10px] text-[var(--dt-accent)]"},Rd={class:"dt-mono ml-auto text-[10px] text-[var(--dt-muted)]"},Ad=["title"],Td={class:"h-0.5 overflow-hidden rounded-sm bg-[var(--dt-bg)]"},Od=fe({__name:"RequestList",setup(e){const t=ze(),n=ve(""),s=D(()=>Math.max(...t.timeline.map(o=>o.duration_ms),1)),r=D(()=>{const o=n.value.trim().toLowerCase();return o?t.timeline.filter(i=>i.path.toLowerCase().includes(o)||i.method.toLowerCase().includes(o)||String(i.status).includes(o)||i.id.toLowerCase().includes(o)):t.timeline});return(o,i)=>(w(),T("div",xd,[C("div",yd,[L(Hn,{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=l=>n.value=l),placeholder:"Filter requests…"},null,8,["modelValue"])]),C("div",wd,[r.value.length?Ee("",!0):(w(),T("p",Sd," No requests ")),(w(!0),T(ie,null,Ie(r.value,l=>(w(),T("button",{key:l.id,type:"button",role:"option","aria-selected":b(t).snapId===l.id,class:we(["flex w-full min-h-[var(--dt-touch)] cursor-pointer flex-col gap-1 border-0 border-b border-[var(--dt-border)] border-l-[3px] bg-transparent px-2.5 py-2 text-left transition-colors",b(t).snapId===l.id?"border-l-[var(--dt-accent)] bg-[var(--dt-accent-dim)]":"border-l-transparent hover:bg-[var(--dt-surface-2)]"]),onClick:c=>b(t).openSnap(l.id)},[C("div",Cd,[C("span",{class:we(["dt-mono text-[11px] font-semibold",{"text-[var(--dt-ok)]":b(vt)(l.status)==="ok","text-[var(--dt-warn)]":b(vt)(l.status)==="warn","text-[var(--dt-err)]":b(vt)(l.status)==="err"}])},J(l.status),3),C("span",kd,J(l.method),1),C("span",Rd,J(l.duration_ms.toFixed(0))+"ms",1)]),C("div",{class:"truncate text-[11px] text-[var(--dt-text)]",title:l.path},J(l.path),9,Ad),C("div",Td,[C("div",{class:"h-full rounded-sm bg-[var(--dt-accent)] opacity-70",style:_t({width:Math.min(100,l.duration_ms/s.value*100)+"%"})},null,4)])],10,Ed))),128))])]))}}),Pd={class:"m-0 overflow-hidden rounded-[var(--dt-radius)] border border-[var(--dt-border)]"},Md={class:"border-r border-[var(--dt-border)] bg-[var(--dt-surface-2)] px-3 py-2 text-[11px] text-[var(--dt-faint)]"},Nd=["title"],Id={class:"min-w-0 flex-1 truncate"},$d=["onClick"],Ln=fe({__name:"DefList",props:{items:{}},setup(e){async function t(n){try{await navigator.clipboard.writeText(n)}catch{}}return(n,s)=>(w(),T("dl",Pd,[(w(!0),T(ie,null,Ie(e.items,(r,o)=>(w(),T("div",{key:o,class:"grid grid-cols-[7.5rem_1fr] border-b border-[var(--dt-border)] last:border-b-0 sm:grid-cols-[9rem_1fr]"},[C("dt",Md,J(r.label),1),C("dd",{class:we(["m-0 flex min-w-0 items-center gap-2 px-3 py-2 text-[12px]",r.mono!==!1?"dt-mono":""]),title:r.value},[C("span",Id,J(r.value),1),C("button",{type:"button",class:"shrink-0 cursor-pointer rounded border border-[var(--dt-border)] bg-[var(--dt-bg)] px-1.5 py-0.5 text-[10px] text-[var(--dt-muted)] hover:text-[var(--dt-text)]",title:"Copy",onClick:i=>t(r.value)}," copy ",8,$d)],10,Nd)]))),128))]))}}),Ld={class:"flex flex-col items-center justify-center gap-2 px-4 py-10 text-center"},Dd={class:"flex h-10 w-10 items-center justify-center rounded-full border border-[var(--dt-border)] bg-[var(--dt-surface)] text-[var(--dt-faint)]"},Vd={class:"m-0 text-[13px] font-medium text-[var(--dt-muted)]"},jd={key:0,class:"m-0 max-w-sm text-[11px] text-[var(--dt-faint)]"},We=fe({__name:"EmptyState",props:{title:{},hint:{},icon:{}},setup(e){const t=e,n=D(()=>t.icon??Nf);return(s,r)=>(w(),T("div",Ld,[C("div",Dd,[L(Ft,{icon:n.value,size:18},null,8,["icon"])]),C("p",Vd,J(e.title),1),e.hint?(w(),T("p",jd,J(e.hint),1)):Ee("",!0)]))}}),Fd={key:0,class:"flex min-h-9 items-center gap-2 border-b border-[var(--dt-border)] bg-[var(--dt-surface-2)] px-3 py-2"},Hd={key:1,class:"m-0 text-[12px] font-semibold tracking-wide"},Bd={key:2,class:"text-[11px] text-[var(--dt-faint)]"},Ud={class:"ml-auto flex items-center gap-2"},qd={class:"p-3"},Ke=fe({__name:"Pane",props:{title:{},icon:{},hint:{},tone:{}},setup(e){return(t,n)=>(w(),T("section",{class:we(["overflow-hidden rounded-[var(--dt-radius)] border bg-[var(--dt-surface)]",{"border-[var(--dt-border)]":!e.tone||e.tone==="default","border-[var(--dt-warn)]":e.tone==="warn","border-[var(--dt-err)]":e.tone==="err"}])},[e.title||t.$slots.actions?(w(),T("header",Fd,[e.icon?(w(),ce(Ft,{key:0,icon:e.icon,size:14,class:"text-[var(--dt-accent)]"},null,8,["icon"])):Ee("",!0),e.title?(w(),T("h3",Hd,J(e.title),1)):Ee("",!0),e.hint?(w(),T("span",Bd,J(e.hint),1)):Ee("",!0),C("div",Ud,[Qs(t.$slots,"actions")])])):Ee("",!0),C("div",qd,[Qs(t.$slots,"default")])],2))}}),Kd={class:"flex flex-col gap-2"},Wd={class:"flex items-baseline justify-between"},zd={class:"dt-mono text-[12px] text-[var(--dt-text)]"},Gd={class:"relative h-3 overflow-hidden rounded-sm border border-[var(--dt-border)] bg-[var(--dt-bg)]"},Jd=["title"],Yd={class:"flex flex-wrap gap-x-4 gap-y-1"},Qd={class:"dt-mono text-[var(--dt-text)]"},Xd=fe({__name:"Waterfall",props:{totalMs:{},segments:{}},setup(e){const t=e,n=D(()=>{const s=Math.max(t.totalMs,.001);let r=0;return t.segments.map(o=>{const i=Math.max(o.ms,0),l=r/s*100,c=Math.min(i/s*100,100-l);return r+=i,{...o,ms:i,left:l,width:c}})});return(s,r)=>(w(),T("div",Kd,[C("div",Wd,[r[0]||(r[0]=C("span",{class:"text-[11px] text-[var(--dt-muted)]"},"Request waterfall",-1)),C("span",zd,J(e.totalMs.toFixed(1))+"ms total",1)]),C("div",Gd,[(w(!0),T(ie,null,Ie(n.value,(o,i)=>(w(),T("div",{key:i,class:"absolute top-0 h-full",style:_t({left:o.left+"%",width:Math.max(o.width,o.ms>0?.4:0)+"%",background:o.color||"var(--dt-accent)"}),title:`${o.label}: ${o.ms.toFixed(1)}ms`},null,12,Jd))),128))]),C("div",Yd,[(w(!0),T(ie,null,Ie(n.value,(o,i)=>(w(),T("div",{key:"l"+i,class:"flex items-center gap-1.5 text-[11px] text-[var(--dt-muted)]"},[C("span",{class:"inline-block h-2 w-2 rounded-sm",style:_t({background:o.color||"var(--dt-accent)"})},null,4),C("span",null,J(o.label),1),C("span",Qd,J(o.ms.toFixed(1))+"ms",1)]))),128))])]))}}),Zd={key:1,class:"flex flex-col gap-3"},eh={class:"mb-3 flex flex-wrap gap-2"},th={class:"grid grid-cols-2 gap-2 lg:grid-cols-5"},nh=fe({__name:"RequestView",setup(e){const t=ze(),n=D(()=>t.current),s=D(()=>n.value?vt(n.value.status):"ok"),r=D(()=>n.value?Math.max(0,n.value.duration_ms-t.sqlTotalMs-t.httpTotalMs-t.cacheTotalMs):0),o=D(()=>[{label:"SQL",ms:t.sqlTotalMs,color:"var(--dt-info)"},{label:"HTTP",ms:t.httpTotalMs,color:"var(--dt-warn)"},{label:"Cache",ms:t.cacheTotalMs,color:"var(--dt-ok)"},{label:"App / other",ms:r.value,color:"var(--dt-accent)"}]),i=D(()=>{if(!n.value)return[];const c=n.value.route,a=n.value.rate_limit;return[{label:"request_id",value:n.value.request_id},{label:"snap_id",value:n.value.id},{label:"path",value:n.value.path},{label:"route",value:c?.pattern||c?.path||"—"},{label:"locale",value:n.value.locale||"—"},{label:"csrf",value:n.value.csrf==null?"—":n.value.csrf?"present":"missing"},{label:"encoding",value:n.value.encoding||"—"},{label:"rate_limit",value:a?`${a.remaining??"?"}/${a.limit??"?"}${a.reset!=null?` reset=${a.reset}`:""}`:"—"},{label:"at_ms",value:String(n.value.at_ms)}]}),l=D(()=>(n.value?.route?.captures??[]).map(([a,u])=>({label:a,value:u})));return(c,a)=>n.value?(w(),T("div",Zd,[L(Ke,{title:"Overview",icon:b(ar)},{default:Fe(()=>[C("div",eh,[L(Je,{value:n.value.method,tone:"info",label:"method"},null,8,["value"]),L(Je,{value:String(n.value.status),tone:s.value,label:"status"},null,8,["value","tone"]),L(Je,{value:b(nt)(n.value.duration_ms),label:"duration",icon:b(Ks)},null,8,["value","icon"])]),L(Ln,{items:i.value},null,8,["items"])]),_:1},8,["icon"]),l.value.length?(w(),ce(Ke,{key:0,title:"Route captures",hint:"MatchedRoute"},{default:Fe(()=>[L(Ln,{items:l.value},null,8,["items"])]),_:1})):Ee("",!0),C("div",th,[L(Je,{class:"!flex w-full justify-start",label:"duration",value:b(nt)(n.value.duration_ms),icon:b(Ks),tone:n.value.duration_ms>500?"warn":"default"},null,8,["value","icon","tone"]),L(Je,{class:"!flex w-full justify-start",label:"sql",value:`${n.value.queries.length} · ${b(nt)(b(t).sqlTotalMs)}`,icon:b(on),tone:"info"},null,8,["value","icon"]),L(Je,{class:"!flex w-full justify-start",label:"cache",value:`${(n.value.cache??[]).length} · ${b(nt)(b(t).cacheTotalMs)}`,icon:b(kn)},null,8,["value","icon"]),L(Je,{class:"!flex w-full justify-start",label:"http",value:`${n.value.http.length} · ${b(nt)(b(t).httpTotalMs)}`,icon:b(Cn)},null,8,["value","icon"]),L(Je,{class:"!flex w-full justify-start",label:"errors",value:String(b(t).logErrorCount),icon:b(xl),tone:b(t).logErrorCount?"err":"ok"},null,8,["value","icon","tone"])]),L(Ke,{title:"Timing waterfall",icon:b(Ks),hint:"measured spans"},{default:Fe(()=>[L(Xd,{"total-ms":n.value.duration_ms,segments:o.value},null,8,["total-ms","segments"])]),_:1},8,["icon"])])):(w(),ce(We,{key:0,title:"No request selected",hint:"Pick a request from the list on the left.",icon:b(ar)},null,8,["icon"]))}}),sh={class:"flex items-center gap-3"},rh=["width","height"],oh=["cx","cy","r"],ih=["cx","cy","r","stroke","stroke-dasharray","stroke-dashoffset"],lh=["x","y"],ch={class:"flex flex-col gap-1 text-[11px] text-[var(--dt-muted)]"},ah={class:"flex items-center gap-1.5"},uh={class:"dt-mono text-[var(--dt-text)]"},fh={class:"flex items-center gap-1.5"},dh={class:"dt-mono text-[var(--dt-text)]"},hh={class:"flex items-center gap-1.5"},ph={class:"dt-mono text-[var(--dt-text)]"},mh=fe({__name:"StatusDonut",props:{ok:{},warn:{},err:{},size:{default:72}},setup(e){const t=e,n=D(()=>Math.max(t.ok+t.warn+t.err,0)),s=D(()=>t.size/2-4),r=D(()=>t.size/2),o=D(()=>2*Math.PI*s.value),i=D(()=>{const l=n.value||1;let c=0;const a=(u,d)=>{const p=u/l*o.value,g=c;return c+=p,{color:d,dash:`${p} ${o.value-p}`,offset:-g}};return[a(t.ok,"var(--dt-ok)"),a(t.warn,"var(--dt-warn)"),a(t.err,"var(--dt-err)")]});return(l,c)=>(w(),T("div",sh,[(w(),T("svg",{width:e.size,height:e.size,class:"shrink-0","aria-hidden":"true"},[C("circle",{cx:r.value,cy:r.value,r:s.value,fill:"none",stroke:"var(--dt-border)","stroke-width":"6"},null,8,oh),(w(!0),T(ie,null,Ie(i.value,(a,u)=>(w(),T("circle",{key:u,cx:r.value,cy:r.value,r:s.value,fill:"none",stroke:a.color,"stroke-width":"6","stroke-linecap":"butt","stroke-dasharray":a.dash,"stroke-dashoffset":a.offset,"transform-origin":"center",style:_t({transform:"rotate(-90deg)",transformOrigin:`${r.value}px ${r.value}px`})},null,12,ih))),128)),C("text",{x:r.value,y:r.value,"text-anchor":"middle","dominant-baseline":"central",class:"dt-mono",fill:"var(--dt-text)","font-size":"12","font-weight":"500"},J(n.value),9,lh)],8,rh)),C("div",ch,[C("div",ah,[c[0]||(c[0]=C("span",{class:"h-2 w-2 rounded-sm bg-[var(--dt-ok)]"},null,-1)),c[1]||(c[1]=Gt(" 2xx ",-1)),C("span",uh,J(e.ok),1)]),C("div",fh,[c[2]||(c[2]=C("span",{class:"h-2 w-2 rounded-sm bg-[var(--dt-warn)]"},null,-1)),c[3]||(c[3]=Gt(" 4xx ",-1)),C("span",dh,J(e.warn),1)]),C("div",hh,[c[4]||(c[4]=C("span",{class:"h-2 w-2 rounded-sm bg-[var(--dt-err)]"},null,-1)),c[5]||(c[5]=Gt(" 5xx ",-1)),C("span",ph,J(e.err),1)])])]))}}),gh={class:"flex flex-col gap-3"},vh={class:"grid gap-3 sm:grid-cols-2"},_h={class:"flex items-center gap-3"},bh={class:"text-[11px] text-[var(--dt-faint)]"},xh=fe({__name:"TimelineView",setup(e){const t=ze();return(n,s)=>(w(),T("div",gh,[C("div",vh,[L(Ke,{title:"Latency sparkline",icon:b(bl),hint:"recent"},{default:Fe(()=>[C("div",_h,[L(yl,{values:b(t).sparkFromTimeline,width:200,height:40},null,8,["values"]),C("span",bh,J(b(t).timeline.length)+" samples",1)])]),_:1},8,["icon"]),L(Ke,{title:"Status mix",hint:"last 50"},{default:Fe(()=>[L(mh,{ok:b(t).statusBuckets.ok,warn:b(t).statusBuckets.warn,err:b(t).statusBuckets.err},null,8,["ok","warn","err"])]),_:1})]),L(Ke,{title:"Hint"},{default:Fe(()=>[...s[0]||(s[0]=[C("p",{class:"m-0 text-[12px] text-[var(--dt-muted)]"}," Use the request list on the left to open a snapshot. Live SSE updates appear there in the running app. ",-1)])]),_:1})]))}}),yh={class:"overflow-hidden rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-bg)]"},wh={class:"flex items-center gap-2 border-b border-[var(--dt-border)] bg-[var(--dt-surface-2)] px-3 py-1.5"},Sh={class:"text-[10px] uppercase tracking-wider text-[var(--dt-faint)]"},Eh={class:"dt-mono text-[10px] text-[var(--dt-faint)]"},Ch={class:"dt-scroll m-0 max-h-48 overflow-auto p-3 dt-mono text-[11px] leading-relaxed text-[var(--dt-muted)] whitespace-pre-wrap break-all"},Rl=fe({__name:"CodeBlock",props:{code:{},title:{default:"code"},language:{default:"text"}},setup(e){const t=e,n=ve(!1);async function s(){try{await navigator.clipboard.writeText(t.code),n.value=!0,setTimeout(()=>{n.value=!1},1200)}catch{}}return(r,o)=>(w(),T("div",yh,[C("div",wh,[C("span",Sh,J(e.title),1),C("span",Eh,J(e.language),1),C("button",{type:"button",class:"ml-auto inline-flex min-h-7 cursor-pointer items-center gap-1 rounded border border-[var(--dt-border)] bg-[var(--dt-surface)] px-2 text-[10px] text-[var(--dt-muted)] hover:text-[var(--dt-text)]",onClick:s},[L(Ft,{icon:n.value?b(Sf):b(kf),size:12},null,8,["icon"]),Gt(" "+J(n.value?"copied":"copy"),1)])]),C("pre",Ch,J(e.code),1)]))}});function hr(e){const t=e.replace(/\s+/g," ").trim().toLowerCase();let n=0;for(let s=0;s<t.length;s++)n=n*31+t.charCodeAt(s)|0;return String(n)}function kh(e){const t=new Map;for(const n of e){const s=hr(n);t.set(s,(t.get(s)||0)+1)}return t}const Vo=50,Rh={key:2,class:"flex flex-col gap-3"},Ah={class:"flex flex-col gap-3"},Th={class:"mb-2 flex flex-wrap items-center gap-2"},Oh={class:"dt-mono text-[11px] text-[var(--dt-text)]"},Ph={key:0,class:"rounded border border-[var(--dt-border)] px-1.5 text-[10px] text-[var(--dt-faint)]"},Mh={key:1,class:"rounded border border-[var(--dt-warn)] px-1.5 text-[10px] text-[var(--dt-warn)]"},Nh={key:2,class:"rounded border border-[var(--dt-err)] px-1.5 text-[10px] text-[var(--dt-err)]"},Ih=fe({__name:"DbView",setup(e){const t=ze(),n=ve(""),s=D(()=>t.current?.queries??[]),r=D(()=>kh(s.value.map(i=>i.sql))),o=D(()=>{const i=n.value.trim().toLowerCase();return i?s.value.filter(l=>l.sql.toLowerCase().includes(i)):s.value});return(i,l)=>b(t).current?s.value.length?(w(),T("div",Rh,[L(Hn,{modelValue:n.value,"onUpdate:modelValue":l[0]||(l[0]=c=>n.value=c),placeholder:"Filter SQL…"},null,8,["modelValue"]),L(Ke,{title:"Queries",icon:b(on),hint:`${o.value.length} · ${b(nt)(b(t).sqlTotalMs)}`},{default:Fe(()=>[C("div",Ah,[(w(!0),T(ie,null,Ie(o.value,(c,a)=>(w(),T("div",{key:a,class:we(["rounded-[var(--dt-radius)] border p-2",(c.duration_ms??0)>=b(Vo)?"border-[var(--dt-warn)]":"border-[var(--dt-border)]"])},[C("div",Th,[C("span",Oh,J(b(nt)(c.duration_ms)),1),c.rows!=null?(w(),T("span",Ph,J(c.rows)+" rows",1)):Ee("",!0),(c.duration_ms??0)>=b(Vo)?(w(),T("span",Mh,"slow")):Ee("",!0),(r.value.get(b(hr)(c.sql))||0)>1?(w(),T("span",Nh,"dup ×"+J(r.value.get(b(hr)(c.sql))),1)):Ee("",!0)]),L(Rl,{code:c.sql,title:"sql",language:"sql"},null,8,["code"])],2))),128))])]),_:1},8,["icon","hint"])])):(w(),ce(We,{key:1,title:"No SQL on this request",hint:"Queries appear when the DB plugin reports timings.",icon:b(on)},null,8,["icon"])):(w(),ce(We,{key:0,title:"No snapshot",hint:"Select a request first.",icon:b(on)},null,8,["icon"]))}}),$h={key:0,class:"m-0 text-[var(--dt-faint)]"},Lh={key:1,class:"overflow-auto rounded-[var(--dt-radius)] border border-[var(--dt-border)]"},Dh={class:"w-full border-collapse text-left"},Vh={class:"bg-[var(--dt-surface-2)]"},jh=["title","onDblclick"],Al=fe({__name:"DataTable",props:{headers:{},rows:{},monoCols:{}},setup(e){async function t(n){try{await navigator.clipboard.writeText(String(n??""))}catch{}}return(n,s)=>e.rows.length?(w(),T("div",Lh,[C("table",Dh,[C("thead",null,[C("tr",Vh,[(w(!0),T(ie,null,Ie(e.headers,r=>(w(),T("th",{key:r,class:"sticky top-0 px-2.5 py-1.5 text-[10px] font-semibold uppercase tracking-wider text-[var(--dt-faint)]"},J(r),1))),128))])]),C("tbody",null,[(w(!0),T(ie,null,Ie(e.rows,(r,o)=>(w(),T("tr",{key:o,class:we(["border-t border-[var(--dt-border)] transition-colors hover:bg-[var(--dt-surface)]",o%2===1?"bg-[color-mix(in_srgb,var(--dt-surface)_45%,transparent)]":""])},[(w(!0),T(ie,null,Ie(r,(i,l)=>(w(),T("td",{key:l,class:we(["max-w-[28rem] truncate px-2.5 py-1.5 align-top text-[12px]",e.monoCols?.includes(l)?"dt-mono text-[11px]":""]),title:String(i??""),onDblclick:c=>t(i)},[Qs(n.$slots,"cell",{cell:i,col:l,row:r},()=>[Gt(J(i),1)])],42,jh))),128))],2))),128))])])])):(w(),T("p",$h,"— empty —"))}}),Fh={key:2,class:"flex flex-col gap-3"},Hh=fe({__name:"CacheView",setup(e){const t=ze(),n=ve(""),s=D(()=>t.current?.cache??[]),r=D(()=>{const l=n.value.trim().toLowerCase();return l?s.value.filter(c=>c.op.toLowerCase().includes(l)||c.key.toLowerCase().includes(l)||c.backend.toLowerCase().includes(l)):s.value}),o=["op","backend","key","hit","bytes","ms","ok"],i=D(()=>r.value.map(l=>[l.op,l.backend,l.key,l.hit==null?"—":l.hit?"hit":"miss",l.bytes==null?"—":String(l.bytes),nt(l.duration_ms),l.ok==null?"—":l.ok?"ok":"err"]));return(l,c)=>b(t).current?s.value.length?(w(),T("div",Fh,[L(Hn,{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=a=>n.value=a),placeholder:"Filter op / key / backend…"},null,8,["modelValue"]),L(Ke,{title:"Cache & KV",icon:b(kn),hint:`${r.value.length} · ${b(nt)(b(t).cacheTotalMs)}`},{default:Fe(()=>[L(Al,{headers:o,rows:i.value,"mono-cols":[2]},null,8,["rows"])]),_:1},8,["icon","hint"])])):(w(),ce(We,{key:1,title:"No cache / KV ops",hint:"Store, Redis, and Cache calls appear when plugins emit sova.store / sova.redis traces.",icon:b(kn)},null,8,["icon"])):(w(),ce(We,{key:0,title:"No snapshot",hint:"Select a request first.",icon:b(kn)},null,8,["icon"]))}}),Bh={class:"flex flex-col gap-3"},Uh={class:"flex flex-col gap-2 sm:flex-row sm:items-center"},qh={class:"flex flex-wrap gap-1"},Kh=["onClick"],Wh={class:"flex flex-col gap-2"},zh={class:"flex flex-wrap items-center gap-2"},Gh={class:"dt-mono text-[10px] text-[var(--dt-faint)]"},Jh={key:0,class:"dt-mono ml-auto text-[10px] text-[var(--dt-faint)]"},Yh={class:"m-0 mt-1 text-[12px] text-[var(--dt-text)]"},Qh=fe({__name:"LogsView",setup(e){const t=ze(),n=ve(""),s=ve("all"),r=D(()=>{const l=t.current?.logs;return l?.length?l:t.globalLogs}),o=D(()=>{let l=r.value;s.value!=="all"&&(l=l.filter(a=>String(a.level).toLowerCase().includes(s.value)));const c=n.value.trim().toLowerCase();return c&&(l=l.filter(a=>a.message.toLowerCase().includes(c)||a.target.toLowerCase().includes(c))),l}),i=[{id:"all",label:"All"},{id:"error",label:"Error"},{id:"warn",label:"Warn"},{id:"info",label:"Info"},{id:"debug",label:"Debug"}];return(l,c)=>(w(),T("div",Bh,[C("div",Uh,[L(Hn,{modelValue:n.value,"onUpdate:modelValue":c[0]||(c[0]=a=>n.value=a),placeholder:"Filter logs…",class:"flex-1"},null,8,["modelValue"]),C("div",qh,[(w(),T(ie,null,Ie(i,a=>C("button",{key:a.id,type:"button",class:we(["min-h-8 cursor-pointer rounded border px-2 text-[10px] uppercase",s.value===a.id?"border-[var(--dt-accent)] bg-[var(--dt-accent-dim)] text-[var(--dt-accent)]":"border-[var(--dt-border)] text-[var(--dt-faint)]"]),onClick:u=>s.value=a.id},J(a.label),11,Kh)),64))])]),r.value.length?(w(),ce(Ke,{key:1,title:"Logs",icon:b(fr),hint:`${o.value.length} / ${r.value.length}`},{default:Fe(()=>[C("div",Wh,[(w(!0),T(ie,null,Ie(o.value,(a,u)=>(w(),T("div",{key:u,class:"rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-bg)] px-2.5 py-2"},[C("div",zh,[C("span",{class:we(["rounded border px-1.5 text-[10px] font-semibold uppercase",{"border-[var(--dt-err)] text-[var(--dt-err)]":String(a.level).toUpperCase().includes("ERROR"),"border-[var(--dt-warn)] text-[var(--dt-warn)]":String(a.level).toUpperCase().includes("WARN"),"border-[var(--dt-info)] text-[var(--dt-info)]":String(a.level).toUpperCase().includes("INFO"),"border-[var(--dt-border)] text-[var(--dt-muted)]":String(a.level).toUpperCase().includes("DEBUG")}])},J(a.level),3),C("span",Gh,J(a.target),1),a.at_ms!=null?(w(),T("span",Jh,J(a.at_ms),1)):Ee("",!0)]),C("p",Yh,J(a.message),1)]))),128))])]),_:1},8,["icon","hint"])):(w(),ce(We,{key:0,title:"No log lines",hint:"Tracing output appears here.",icon:b(fr)},null,8,["icon"]))]))}}),Xh={key:2,class:"flex flex-col gap-3"},Zh={class:"flex flex-col gap-2"},ep={class:"flex flex-wrap items-center gap-2"},tp={class:"dt-mono rounded border border-[var(--dt-border)] px-1.5 text-[10px] text-[var(--dt-accent)]"},np={class:"dt-mono ml-auto text-[11px] text-[var(--dt-muted)]"},sp=["title"],rp={key:0,class:"mt-1 rounded border border-[var(--dt-err)] px-2 py-1 text-[11px] text-[var(--dt-err)]"},op=fe({__name:"HttpView",setup(e){const t=ze(),n=ve(""),s=D(()=>t.current?.http??[]),r=D(()=>{const o=n.value.trim().toLowerCase();return o?s.value.filter(i=>i.url.toLowerCase().includes(o)||i.method.toLowerCase().includes(o)||String(i.status??"").includes(o)||(i.error||"").toLowerCase().includes(o)):s.value});return(o,i)=>b(t).current?s.value.length?(w(),T("div",Xh,[L(Hn,{modelValue:n.value,"onUpdate:modelValue":i[0]||(i[0]=l=>n.value=l),placeholder:"Filter HTTP…"},null,8,["modelValue"]),L(Ke,{title:"Outbound",icon:b(Cn),hint:`${r.value.length} · ${b(nt)(b(t).httpTotalMs)}`},{default:Fe(()=>[C("div",Zh,[(w(!0),T(ie,null,Ie(r.value,(l,c)=>(w(),T("div",{key:c,class:"rounded-[var(--dt-radius)] border border-[var(--dt-border)] bg-[var(--dt-bg)] p-2.5"},[C("div",ep,[C("span",tp,J(l.method),1),l.status!=null?(w(),T("span",{key:0,class:we(["dt-mono text-[11px]",{"text-[var(--dt-ok)]":b(vt)(l.status)==="ok","text-[var(--dt-warn)]":b(vt)(l.status)==="warn","text-[var(--dt-err)]":b(vt)(l.status)==="err"}])},J(l.status),3)):Ee("",!0),C("span",np,J(b(nt)(l.duration_ms)),1)]),C("div",{class:"mt-1 truncate text-[12px] text-[var(--dt-text)]",title:l.url},J(l.url),9,sp),l.error?(w(),T("div",rp,J(l.error),1)):Ee("",!0)]))),128))])]),_:1},8,["icon","hint"])])):(w(),ce(We,{key:1,title:"No outbound HTTP",hint:"Client calls for this request appear here.",icon:b(Cn)},null,8,["icon"])):(w(),ce(We,{key:0,title:"No snapshot",hint:"Select a request first.",icon:b(Cn)},null,8,["icon"]))}}),ip={key:2,class:"flex flex-col gap-3"},lp=fe({__name:"MailView",setup(e){const t=ze(),n=D(()=>t.current?.mail??[]);return(s,r)=>b(t).current?n.value.length?(w(),T("div",ip,[(w(!0),T(ie,null,Ie(n.value,(o,i)=>(w(),ce(Ke,{key:i,title:o.subject||"(no subject)",icon:b(Zn),hint:o.backend},{default:Fe(()=>[L(Ln,{items:[{label:"to",value:(o.to||[]).join(", ")||"—"},{label:"backend",value:o.backend},{label:"subject",value:o.subject,mono:!1}]},null,8,["items"])]),_:2},1032,["title","icon","hint"]))),128))])):(w(),ce(We,{key:1,title:"No mail recorded",hint:"Fake/SMTP sends on this request show up here.",icon:b(Zn)},null,8,["icon"])):(w(),ce(We,{key:0,title:"No snapshot",hint:"Select a request first.",icon:b(Zn)},null,8,["icon"]))}}),cp={key:2,class:"flex flex-col gap-3"},ap=fe({__name:"JobsView",setup(e){const t=ze(),n=D(()=>t.current?.jobs??[]),s=["name","status","detail","ms"],r=D(()=>n.value.map(o=>[o.name,o.status,o.detail||"—",nt(o.duration_ms)]));return(o,i)=>b(t).current?n.value.length?(w(),T("div",cp,[L(Ke,{title:"Jobs",icon:b(Qn),hint:`${n.value.length}`},{default:Fe(()=>[L(Al,{headers:s,rows:r.value,"mono-cols":[2]},null,8,["rows"])]),_:1},8,["icon","hint"])])):(w(),ce(We,{key:1,title:"No jobs",hint:"Task enqueue / worker events (sova.tasks) for this request.",icon:b(Qn)},null,8,["icon"])):(w(),ce(We,{key:0,title:"No snapshot",hint:"Select a request first.",icon:b(Qn)},null,8,["icon"]))}}),up={key:1,class:"flex flex-col gap-3"},fp=fe({__name:"AuthView",setup(e){const t=ze(),n=D(()=>t.current?.auth??null),s=D(()=>(n.value?.session_keys??[]).map(([o,i])=>({label:o,value:i}))),r=D(()=>(n.value?.roles??[]).join(", ")||"—");return(o,i)=>b(t).current?(w(),T("div",up,[L(Ke,{title:"Identity",icon:b(Xn)},{default:Fe(()=>[L(Ln,{items:[{label:"session",value:n.value?.session_id||"—"},{label:"user",value:n.value?.user_id||"—"},{label:"email",value:n.value?.email||"—"},{label:"roles",value:r.value}]},null,8,["items"])]),_:1},8,["icon"]),s.value.length?(w(),ce(Ke,{key:1,title:"Session keys",hint:"redacted values"},{default:Fe(()=>[L(Ln,{items:s.value},null,8,["items"])]),_:1})):(w(),ce(We,{key:0,title:"No session keys",hint:"Session bag empty or redacted.",icon:b(Xn)},null,8,["icon"]))])):(w(),ce(We,{key:0,title:"No snapshot",hint:"Select a request first.",icon:b(Xn)},null,8,["icon"]))}}),dp={key:1,class:"flex flex-col gap-3"},hp={class:"mb-3 flex flex-wrap gap-2"},pp={key:0,class:"text-[12px] text-[var(--dt-faint)]"},mp=fe({__name:"ConfigView",setup(e){const t=ze(),n=D(()=>t.config),s=D(()=>n.value?.profile??"—"),r=D(()=>n.value?.features??[]),o=D(()=>JSON.stringify(t.config??{},null,2));return(i,l)=>b(t).config==null&&!b(t).isPlayground?(w(),ce(We,{key:0,title:"No config payload",hint:"Hub config endpoint returned empty.",icon:b(ur)},null,8,["icon"])):(w(),T("div",dp,[L(Ke,{title:"Runtime",icon:b(ur),hint:s.value},{default:Fe(()=>[C("div",hp,[L(Je,{label:"profile",value:s.value,tone:"info"},null,8,["value"]),(w(!0),T(ie,null,Ie(r.value,c=>(w(),ce(Je,{key:c,label:"feature",value:c,tone:"ok"},null,8,["value"]))),128)),r.value.length?Ee("",!0):(w(),T("span",pp,"no optional DevTools features compiled in"))]),L(Rl,{code:o.value,title:"config",language:"json"},null,8,["code"])]),_:1},8,["icon","hint"])]))}});$r.map(e=>({id:e.id,label:e.label}));const gp=[{path:"/",redirect:"/request"},{path:"/request",name:"request",component:nh},{path:"/timeline",name:"timeline",component:xh},{path:"/db",name:"db",component:Ih},{path:"/cache",name:"cache",component:Hh},{path:"/logs",name:"logs",component:Qh},{path:"/http",name:"http",component:op},{path:"/mail",name:"mail",component:lp},{path:"/jobs",name:"jobs",component:ap},{path:"/auth",name:"auth",component:fp},{path:"/config",name:"config",component:mp}],zn=hf({history:qu(),routes:gp});function vp(e){return typeof e=="string"&&$r.some(t=>t.id===e)}const _p={class:"flex min-h-0 flex-1 flex-col md:flex-row"},bp={class:"dt-scroll max-h-[40%] shrink-0 overflow-auto border-b border-[var(--dt-border)] md:max-h-none md:w-[min(32%,280px)] md:border-b-0 md:border-r"},xp={class:"dt-scroll min-h-0 min-w-0 flex-1 overflow-auto p-3"},yp={key:1,class:"rounded-[var(--dt-radius)] border border-[var(--dt-err)] bg-[var(--dt-surface)] p-3 text-[var(--dt-err)]"},wp=fe({__name:"App",setup(e){const t=ze(),n=pf(),s=_l(),r=ve(!1);let o=0,i=0;jt(()=>n.name,p=>{vp(p)&&t.tab!==p&&t.setTab(p)},{immediate:!0}),jt(()=>t.tab,p=>{n.name!==p&&s.push({name:p})});const l=D(()=>t.isEmbed||t.isPlayground?{height:"100%",maxHeight:"100%"}:{height:`${t.effectivePanelH}px`,maxHeight:"90dvh"}),c=D(()=>!t.fullscreen&&!t.isPlayground);function a(p){t.fullscreen||(r.value=!0,o=p.clientY,i=t.panelH,window.addEventListener("pointermove",u),window.addEventListener("pointerup",d))}function u(p){r.value&&t.setPanelH(i+(o-p.clientY))}function d(){r.value=!1,window.removeEventListener("pointermove",u),window.removeEventListener("pointerup",d)}return Ci(()=>{t.isEmbed&&t.setPanelH(t.panelH)}),ki(()=>{window.removeEventListener("pointermove",u),window.removeEventListener("pointerup",d)}),(p,g)=>{const R=Dc("RouterView");return w(),T(ie,null,[b(t).isEmbed?Ee("",!0):(w(),ce(fd,{key:0})),xi(C("div",{class:we(["dt-panel-enter flex flex-col border-t border-[var(--dt-border-strong)] bg-[var(--dt-bg)] text-[var(--dt-text)]",b(t).isEmbed||b(t).isPlayground?"h-full min-h-0":"fixed inset-x-0 bottom-[var(--dt-bar-h)] z-[var(--dt-z)]"]),style:_t(l.value)},[c.value?(w(),T("div",{key:0,class:"group flex h-2.5 shrink-0 cursor-ns-resize items-center justify-center",title:"Drag to resize",onPointerdown:nl(a,["prevent"])},[C("span",{class:we(["h-0.5 w-12 rounded-full bg-[var(--dt-border-strong)] transition-colors group-hover:bg-[var(--dt-accent)]",r.value?"!bg-[var(--dt-accent)]":""])},null,2)],32)):Ee("",!0),L(md),C("div",_p,[C("aside",bp,[L(Od)]),C("main",xp,[b(t).loading?(w(),ce(vd,{key:0,rows:5,cols:2})):b(t).error?(w(),T("div",yp,J(b(t).error),1)):(w(),ce(R,{key:2}))])])],6),[[Oa,b(t).open||b(t).isEmbed||b(t).isPlayground]])],64)}}}),jo=document.getElementById("sova-devtools");if(jo){const e=Za(wp);e.use(nu()),e.use(zn),e.mount(jo);const t=ze();zn.isReady().then(()=>{t.tab&&zn.currentRoute.value.name!==t.tab&&zn.replace({name:t.tab}),t.boot()})}