nuxt-devtools-observatory 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/dist/assets/index-B5GtSnq0.js +17 -0
- package/client/dist/assets/index-Ljohi1or.css +1 -0
- package/client/dist/index.html +2 -2
- package/client/src/views/ComposableTracker.vue +173 -19
- package/dist/module.json +1 -1
- package/package.json +4 -1
- package/client/dist/assets/index-BUdwtn9n.js +0 -17
- package/client/dist/assets/index-PBRECUGt.css +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(o){if(o.ep)return;o.ep=!0;const l=s(o);fetch(o.href,l)}})();/**
|
|
2
|
+
* @vue/shared v3.5.30
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function Pn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const me={},Wt=[],lt=()=>{},Vo=()=>!1,Ys=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nn=e=>e.startsWith("onUpdate:"),we=Object.assign,Fn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ai=Object.prototype.hasOwnProperty,pe=(e,t)=>ai.call(e,t),X=Array.isArray,zt=e=>Cs(e)==="[object Map]",Qs=e=>Cs(e)==="[object Set]",to=e=>Cs(e)==="[object Date]",le=e=>typeof e=="function",xe=e=>typeof e=="string",it=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",Uo=e=>(he(e)||le(e))&&le(e.then)&&le(e.catch),Bo=Object.prototype.toString,Cs=e=>Bo.call(e),ci=e=>Cs(e).slice(8,-1),Ko=e=>Cs(e)==="[object Object]",Rn=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,as=Pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},ui=/-\w/g,Ge=Xs(e=>e.replace(ui,t=>t.slice(1).toUpperCase())),di=/\B([A-Z])/g,Rt=Xs(e=>e.replace(di,"-$1").toLowerCase()),Wo=Xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=Xs(e=>e?`on${Wo(e)}`:""),ot=(e,t)=>!Object.is(e,t),Ls=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},zo=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Zs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},fi=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let so;const en=()=>so||(so=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ce(e){if(X(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=xe(n)?mi(n):Ce(n);if(o)for(const l in o)t[l]=o[l]}return t}else if(xe(e)||he(e))return e}const pi=/;(?![^(]*\))/g,hi=/:([^]+)/,vi=/\/\*[^]*?\*\//g;function mi(e){const t={};return e.replace(vi,"").split(pi).forEach(s=>{if(s){const n=s.split(hi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function oe(e){let t="";if(xe(e))t=e;else if(X(e))for(let s=0;s<e.length;s++){const n=oe(e[s]);n&&(t+=n+" ")}else if(he(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const gi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_i=Pn(gi);function Jo(e){return!!e||e===""}function bi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=ks(e[n],t[n]);return s}function ks(e,t){if(e===t)return!0;let s=to(e),n=to(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=it(e),n=it(t),s||n)return e===t;if(s=X(e),n=X(t),s||n)return s&&n?bi(e,t):!1;if(s=he(e),n=he(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,l=Object.keys(t).length;if(o!==l)return!1;for(const r in e){const a=e.hasOwnProperty(r),u=t.hasOwnProperty(r);if(a&&!u||!a&&u||!ks(e[r],t[r]))return!1}}return String(e)===String(t)}function yi(e,t){return e.findIndex(s=>ks(s,t))}const qo=e=>!!(e&&e.__v_isRef===!0),b=e=>xe(e)?e:e==null?"":X(e)||he(e)&&(e.toString===Bo||!le(e.toString))?qo(e)?b(e.value):JSON.stringify(e,Go,2):String(e),Go=(e,t)=>qo(t)?Go(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],l)=>(s[dn(n,l)+" =>"]=o,s),{})}:Qs(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>dn(s))}:it(t)?dn(t):he(t)&&!X(t)&&!Ko(t)?String(t):t,dn=(e,t="")=>{var s;return it(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.30
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let Ue;class xi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Ue;try{return Ue=this,t()}finally{Ue=s}}}on(){++this._on===1&&(this.prevScope=Ue,Ue=this)}off(){this._on>0&&--this._on===0&&(Ue=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function wi(){return Ue}let _e;const fn=new WeakSet;class Yo{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,Ue&&Ue.active&&Ue.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fn.has(this)&&(fn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,no(this),Zo(this);const t=_e,s=Ye;_e=this,Ye=!0;try{return this.fn()}finally{el(this),_e=t,Ye=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Dn(t);this.deps=this.depsTail=void 0,no(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xn(this)&&this.run()}get dirty(){return xn(this)}}let Qo=0,cs,us;function Xo(e,t=!1){if(e.flags|=8,t){e.next=us,us=e;return}e.next=cs,cs=e}function jn(){Qo++}function Hn(){if(--Qo>0)return;if(us){let t=us;for(us=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;cs;){let t=cs;for(cs=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Zo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function el(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),Dn(n),$i(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function xn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(tl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function tl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ms)||(e.globalVersion=ms,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xn(e))))return;e.flags|=2;const t=e.dep,s=_e,n=Ye;_e=e,Ye=!0;try{Zo(e);const o=e.fn(e._value);(t.version===0||ot(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{_e=s,Ye=n,el(e),e.flags&=-3}}function Dn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let l=s.computed.deps;l;l=l.nextDep)Dn(l,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function $i(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ye=!0;const sl=[];function ht(){sl.push(Ye),Ye=!1}function vt(){const e=sl.pop();Ye=e===void 0?!0:e}function no(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=_e;_e=void 0;try{t()}finally{_e=s}}}let ms=0;class Ci{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{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(!_e||!Ye||_e===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==_e)s=this.activeLink=new Ci(_e,this),_e.deps?(s.prevDep=_e.depsTail,_e.depsTail.nextDep=s,_e.depsTail=s):_e.deps=_e.depsTail=s,nl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=_e.depsTail,s.nextDep=void 0,_e.depsTail.nextDep=s,_e.depsTail=s,_e.deps===s&&(_e.deps=n)}return s}trigger(t){this.version++,ms++,this.notify(t)}notify(t){jn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Hn()}}}function nl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)nl(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const wn=new WeakMap,Lt=Symbol(""),$n=Symbol(""),gs=Symbol("");function Ee(e,t,s){if(Ye&&_e){let n=wn.get(e);n||wn.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Vn),o.map=n,o.key=s),o.track()}}function dt(e,t,s,n,o,l){const r=wn.get(e);if(!r){ms++;return}const a=u=>{u&&u.trigger()};if(jn(),t==="clear")r.forEach(a);else{const u=X(e),m=u&&Rn(s);if(u&&s==="length"){const d=Number(n);r.forEach((g,I)=>{(I==="length"||I===gs||!it(I)&&I>=d)&&a(g)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),m&&a(r.get(gs)),t){case"add":u?m&&a(r.get("length")):(a(r.get(Lt)),zt(e)&&a(r.get($n)));break;case"delete":u||(a(r.get(Lt)),zt(e)&&a(r.get($n)));break;case"set":zt(e)&&a(r.get(Lt));break}}Hn()}function Ht(e){const t=fe(e);return t===e?t:(Ee(t,"iterate",gs),qe(e)?t:t.map(Qe))}function tn(e){return Ee(e=fe(e),"iterate",gs),e}function st(e,t){return mt(e)?Yt(Pt(e)?Qe(t):t):Qe(t)}const ki={__proto__:null,[Symbol.iterator](){return pn(this,Symbol.iterator,e=>st(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>X(t)?Ht(t):t))},entries(){return pn(this,"entries",e=>(e[1]=st(this,e[1]),e))},every(e,t){return rt(this,"every",e,t,void 0,arguments)},filter(e,t){return rt(this,"filter",e,t,s=>s.map(n=>st(this,n)),arguments)},find(e,t){return rt(this,"find",e,t,s=>st(this,s),arguments)},findIndex(e,t){return rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return rt(this,"findLast",e,t,s=>st(this,s),arguments)},findLastIndex(e,t){return rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return hn(this,"includes",e)},indexOf(...e){return hn(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return hn(this,"lastIndexOf",e)},map(e,t){return rt(this,"map",e,t,void 0,arguments)},pop(){return ns(this,"pop")},push(...e){return ns(this,"push",e)},reduce(e,...t){return oo(this,"reduce",e,t)},reduceRight(e,...t){return oo(this,"reduceRight",e,t)},shift(){return ns(this,"shift")},some(e,t){return rt(this,"some",e,t,void 0,arguments)},splice(...e){return ns(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return ns(this,"unshift",e)},values(){return pn(this,"values",e=>st(this,e))}};function pn(e,t,s){const n=tn(e),o=n[t]();return n!==e&&!qe(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.done||(l.value=s(l.value)),l}),o}const Si=Array.prototype;function rt(e,t,s,n,o,l){const r=tn(e),a=r!==e&&!qe(e),u=r[t];if(u!==Si[t]){const g=u.apply(e,l);return a?Qe(g):g}let m=s;r!==e&&(a?m=function(g,I){return s.call(this,st(e,g),I,e)}:s.length>2&&(m=function(g,I){return s.call(this,g,I,e)}));const d=u.call(r,m,n);return a&&o?o(d):d}function oo(e,t,s,n){const o=tn(e),l=o!==e&&!qe(e);let r=s,a=!1;o!==e&&(l?(a=n.length===0,r=function(m,d,g){return a&&(a=!1,m=st(e,m)),s.call(this,m,st(e,d),g,e)}):s.length>3&&(r=function(m,d,g){return s.call(this,m,d,g,e)}));const u=o[t](r,...n);return a?st(e,u):u}function hn(e,t,s){const n=fe(e);Ee(n,"iterate",gs);const o=n[t](...s);return(o===-1||o===!1)&&Wn(s[0])?(s[0]=fe(s[0]),n[t](...s)):o}function ns(e,t,s=[]){ht(),jn();const n=fe(e)[t].apply(e,s);return Hn(),vt(),n}const Ti=Pn("__proto__,__v_isRef,__isVue"),ol=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function Ei(e){it(e)||(e=String(e));const t=fe(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class ll{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return l;if(s==="__v_raw")return n===(o?l?ji:cl:l?al:rl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=X(t);if(!o){let u;if(r&&(u=ki[s]))return u;if(s==="hasOwnProperty")return Ei}const a=Reflect.get(t,s,Oe(t)?t:n);if((it(s)?ol.has(s):Ti(s))||(o||Ee(t,"get",s),l))return a;if(Oe(a)){const u=r&&Rn(s)?a:a.value;return o&&he(u)?kn(u):u}return he(a)?o?kn(a):Bn(a):a}}class il extends ll{constructor(t=!1){super(!1,t)}set(t,s,n,o){let l=t[s];const r=X(t)&&Rn(s);if(!this._isShallow){const m=mt(l);if(!qe(n)&&!mt(n)&&(l=fe(l),n=fe(n)),!r&&Oe(l)&&!Oe(n))return m||(l.value=n),!0}const a=r?Number(s)<t.length:pe(t,s),u=Reflect.set(t,s,n,Oe(t)?t:o);return t===fe(o)&&(a?ot(n,l)&&dt(t,"set",s,n):dt(t,"add",s,n)),u}deleteProperty(t,s){const n=pe(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&&dt(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!it(s)||!ol.has(s))&&Ee(t,"has",s),n}ownKeys(t){return Ee(t,"iterate",X(t)?"length":Lt),Reflect.ownKeys(t)}}class Mi extends ll{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Oi=new il,Ai=new Mi,Ii=new il(!0);const Cn=e=>e,Os=e=>Reflect.getPrototypeOf(e);function Li(e,t,s){return function(...n){const o=this.__v_raw,l=fe(o),r=zt(l),a=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,m=o[e](...n),d=s?Cn:t?Yt:Qe;return!t&&Ee(l,"iterate",u?$n:Lt),we(Object.create(m),{next(){const{value:g,done:I}=m.next();return I?{value:g,done:I}:{value:a?[d(g[0]),d(g[1])]:d(g),done:I}}})}}function As(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pi(e,t){const s={get(o){const l=this.__v_raw,r=fe(l),a=fe(o);e||(ot(o,a)&&Ee(r,"get",o),Ee(r,"get",a));const{has:u}=Os(r),m=t?Cn:e?Yt:Qe;if(u.call(r,o))return m(l.get(o));if(u.call(r,a))return m(l.get(a));l!==r&&l.get(o)},get size(){const o=this.__v_raw;return!e&&Ee(fe(o),"iterate",Lt),o.size},has(o){const l=this.__v_raw,r=fe(l),a=fe(o);return e||(ot(o,a)&&Ee(r,"has",o),Ee(r,"has",a)),o===a?l.has(o):l.has(o)||l.has(a)},forEach(o,l){const r=this,a=r.__v_raw,u=fe(a),m=t?Cn:e?Yt:Qe;return!e&&Ee(u,"iterate",Lt),a.forEach((d,g)=>o.call(l,m(d),m(g),r))}};return we(s,e?{add:As("add"),set:As("set"),delete:As("delete"),clear:As("clear")}:{add(o){const l=fe(this),r=Os(l),a=fe(o),u=!t&&!qe(o)&&!mt(o)?a:o;return r.has.call(l,u)||ot(o,u)&&r.has.call(l,o)||ot(a,u)&&r.has.call(l,a)||(l.add(u),dt(l,"add",u,u)),this},set(o,l){!t&&!qe(l)&&!mt(l)&&(l=fe(l));const r=fe(this),{has:a,get:u}=Os(r);let m=a.call(r,o);m||(o=fe(o),m=a.call(r,o));const d=u.call(r,o);return r.set(o,l),m?ot(l,d)&&dt(r,"set",o,l):dt(r,"add",o,l),this},delete(o){const l=fe(this),{has:r,get:a}=Os(l);let u=r.call(l,o);u||(o=fe(o),u=r.call(l,o)),a&&a.call(l,o);const m=l.delete(o);return u&&dt(l,"delete",o,void 0),m},clear(){const o=fe(this),l=o.size!==0,r=o.clear();return l&&dt(o,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=Li(o,e,t)}),s}function Un(e,t){const s=Pi(e,t);return(n,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(pe(s,o)&&o in n?s:n,o,l)}const Ni={get:Un(!1,!1)},Fi={get:Un(!1,!0)},Ri={get:Un(!0,!1)};const rl=new WeakMap,al=new WeakMap,cl=new WeakMap,ji=new WeakMap;function Hi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Di(e){return e.__v_skip||!Object.isExtensible(e)?0:Hi(ci(e))}function Bn(e){return mt(e)?e:Kn(e,!1,Oi,Ni,rl)}function Vi(e){return Kn(e,!1,Ii,Fi,al)}function kn(e){return Kn(e,!0,Ai,Ri,cl)}function Kn(e,t,s,n,o){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=Di(e);if(l===0)return e;const r=o.get(e);if(r)return r;const a=new Proxy(e,l===2?n:s);return o.set(e,a),a}function Pt(e){return mt(e)?Pt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function qe(e){return!!(e&&e.__v_isShallow)}function Wn(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Ui(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&zo(e,"__v_skip",!0),e}const Qe=e=>he(e)?Bn(e):e,Yt=e=>he(e)?kn(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function ae(e){return Bi(e,!1)}function Bi(e,t){return Oe(e)?e:new Ki(e,t)}class Ki{constructor(t,s){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:fe(t),this._value=s?t:Qe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||qe(t)||mt(t);t=n?t:fe(t),ot(t,s)&&(this._rawValue=t,this._value=n?t:Qe(t),this.dep.trigger())}}function wt(e){return Oe(e)?e.value:e}const Wi={get:(e,t,s)=>t==="__v_raw"?e:wt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return Oe(o)&&!Oe(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function ul(e){return Pt(e)?e:new Proxy(e,Wi)}class zi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Xo(this,!0),!0}get value(){const t=this.dep.track();return tl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ji(e,t,s=!1){let n,o;return le(e)?n=e:(n=e.get,o=e.set),new zi(n,o,s)}const Is={},js=new WeakMap;let Mt;function qi(e,t=!1,s=Mt){if(s){let n=js.get(s);n||js.set(s,n=[]),n.push(e)}}function Gi(e,t,s=me){const{immediate:n,deep:o,once:l,scheduler:r,augmentJob:a,call:u}=s,m=E=>o?E:qe(E)||o===!1||o===0?ft(E,1):ft(E);let d,g,I,w,x=!1,L=!1;if(Oe(e)?(g=()=>e.value,x=qe(e)):Pt(e)?(g=()=>m(e),x=!0):X(e)?(L=!0,x=e.some(E=>Pt(E)||qe(E)),g=()=>e.map(E=>{if(Oe(E))return E.value;if(Pt(E))return m(E);if(le(E))return u?u(E,2):E()})):le(e)?t?g=u?()=>u(e,2):e:g=()=>{if(I){ht();try{I()}finally{vt()}}const E=Mt;Mt=d;try{return u?u(e,3,[w]):e(w)}finally{Mt=E}}:g=lt,t&&o){const E=g,j=o===!0?1/0:o;g=()=>ft(E(),j)}const z=wi(),G=()=>{d.stop(),z&&z.active&&Fn(z.effects,d)};if(l&&t){const E=t;t=(...j)=>{E(...j),G()}}let D=L?new Array(e.length).fill(Is):Is;const Z=E=>{if(!(!(d.flags&1)||!d.dirty&&!E))if(t){const j=d.run();if(o||x||(L?j.some((H,ie)=>ot(H,D[ie])):ot(j,D))){I&&I();const H=Mt;Mt=d;try{const ie=[j,D===Is?void 0:L&&D[0]===Is?[]:D,w];D=j,u?u(t,3,ie):t(...ie)}finally{Mt=H}}}else d.run()};return a&&a(Z),d=new Yo(g),d.scheduler=r?()=>r(Z,!1):Z,w=E=>qi(E,!1,d),I=d.onStop=()=>{const E=js.get(d);if(E){if(u)u(E,4);else for(const j of E)j();js.delete(d)}},t?n?Z(!0):D=d.run():r?r(Z.bind(null,!0),!0):d.run(),G.pause=d.pause.bind(d),G.resume=d.resume.bind(d),G.stop=G,G}function ft(e,t=1/0,s){if(t<=0||!he(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Oe(e))ft(e.value,t,s);else if(X(e))for(let n=0;n<e.length;n++)ft(e[n],t,s);else if(Qs(e)||zt(e))e.forEach(n=>{ft(n,t,s)});else if(Ko(e)){for(const n in e)ft(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ft(e[n],t,s)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.30
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Ss(e,t,s,n){try{return n?e(...n):e()}catch(o){sn(o,t,s)}}function Xe(e,t,s,n){if(le(e)){const o=Ss(e,t,s,n);return o&&Uo(o)&&o.catch(l=>{sn(l,t,s)}),o}if(X(e)){const o=[];for(let l=0;l<e.length;l++)o.push(Xe(e[l],t,s,n));return o}}function sn(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||me;if(t){let a=t.parent;const u=t.proxy,m=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const d=a.ec;if(d){for(let g=0;g<d.length;g++)if(d[g](e,u,m)===!1)return}a=a.parent}if(l){ht(),Ss(l,null,10,[e,u,m]),vt();return}}Yi(e,s,o,n,r)}function Yi(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const Ne=[];let et=-1;const Jt=[];let yt=null,Kt=0;const dl=Promise.resolve();let Hs=null;function fl(e){const t=Hs||dl;return e?t.then(this?e.bind(this):e):t}function Qi(e){let t=et+1,s=Ne.length;for(;t<s;){const n=t+s>>>1,o=Ne[n],l=_s(o);l<e||l===e&&o.flags&2?t=n+1:s=n}return t}function zn(e){if(!(e.flags&1)){const t=_s(e),s=Ne[Ne.length-1];!s||!(e.flags&2)&&t>=_s(s)?Ne.push(e):Ne.splice(Qi(t),0,e),e.flags|=1,pl()}}function pl(){Hs||(Hs=dl.then(vl))}function Xi(e){X(e)?Jt.push(...e):yt&&e.id===-1?yt.splice(Kt+1,0,e):e.flags&1||(Jt.push(e),e.flags|=1),pl()}function lo(e,t,s=et+1){for(;s<Ne.length;s++){const n=Ne[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Ne.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function hl(e){if(Jt.length){const t=[...new Set(Jt)].sort((s,n)=>_s(s)-_s(n));if(Jt.length=0,yt){yt.push(...t);return}for(yt=t,Kt=0;Kt<yt.length;Kt++){const s=yt[Kt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}yt=null,Kt=0}}const _s=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vl(e){try{for(et=0;et<Ne.length;et++){const t=Ne[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ss(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;et<Ne.length;et++){const t=Ne[et];t&&(t.flags&=-2)}et=-1,Ne.length=0,hl(),Hs=null,(Ne.length||Jt.length)&&vl()}}let Je=null,ml=null;function Ds(e){const t=Je;return Je=e,ml=e&&e.type.__scopeId||null,t}function Vs(e,t=Je,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&Ks(-1);const l=Ds(t);let r;try{r=e(...o)}finally{Ds(l),n._d&&Ks(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Nt(e,t){if(Je===null)return e;const s=an(Je),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[l,r,a,u=me]=t[o];l&&(le(l)&&(l={mounted:l,updated:l}),l.deep&&ft(r),n.push({dir:l,instance:s,value:r,oldValue:void 0,arg:a,modifiers:u}))}return e}function kt(e,t,s,n){const o=e.dirs,l=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];l&&(a.oldValue=l[r].value);let u=a.dir[n];u&&(ht(),Xe(u,s,8,[e.el,a,e,t]),vt())}}function Zi(e,t){if(Re){let s=Re.provides;const n=Re.parent&&Re.parent.provides;n===s&&(s=Re.provides=Object.create(n)),s[e]=t}}function Ps(e,t,s=!1){const n=ql();if(n||qt){let o=qt?qt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&le(t)?t.call(n&&n.proxy):t}}const er=Symbol.for("v-scx"),tr=()=>Ps(er);function xt(e,t,s){return gl(e,t,s)}function gl(e,t,s=me){const{immediate:n,deep:o,flush:l,once:r}=s,a=we({},s),u=t&&n||!t&&l!=="post";let m;if(xs){if(l==="sync"){const w=tr();m=w.__watcherHandles||(w.__watcherHandles=[])}else if(!u){const w=()=>{};return w.stop=lt,w.resume=lt,w.pause=lt,w}}const d=Re;a.call=(w,x,L)=>Xe(w,d,x,L);let g=!1;l==="post"?a.scheduler=w=>{Ve(w,d&&d.suspense)}:l!=="sync"&&(g=!0,a.scheduler=(w,x)=>{x?w():zn(w)}),a.augmentJob=w=>{t&&(w.flags|=4),g&&(w.flags|=2,d&&(w.id=d.uid,w.i=d))};const I=Gi(e,t,a);return xs&&(m?m.push(I):u&&I()),I}function sr(e,t,s){const n=this.proxy,o=xe(e)?e.includes(".")?_l(n,e):()=>n[e]:e.bind(n,n);let l;le(t)?l=t:(l=t.handler,s=t);const r=Ts(this),a=gl(o,l.bind(n),s);return r(),a}function _l(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const nr=Symbol("_vte"),bl=e=>e.__isTeleport,tt=Symbol("_leaveCb"),os=Symbol("_enterCb");function or(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tl(()=>{e.isMounted=!0}),El(()=>{e.isUnmounting=!0}),e}const ze=[Function,Array],yl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ze,onEnter:ze,onAfterEnter:ze,onEnterCancelled:ze,onBeforeLeave:ze,onLeave:ze,onAfterLeave:ze,onLeaveCancelled:ze,onBeforeAppear:ze,onAppear:ze,onAfterAppear:ze,onAppearCancelled:ze},xl=e=>{const t=e.subTree;return t.component?xl(t.component):t},lr={name:"BaseTransition",props:yl,setup(e,{slots:t}){const s=ql(),n=or();return()=>{const o=t.default&&Cl(t.default(),!0);if(!o||!o.length)return;const l=wl(o),r=fe(e),{mode:a}=r;if(n.isLeaving)return vn(l);const u=io(l);if(!u)return vn(l);let m=Sn(u,r,n,s,g=>m=g);u.type!==Fe&&bs(u,m);let d=s.subTree&&io(s.subTree);if(d&&d.type!==Fe&&!At(d,u)&&xl(s).type!==Fe){let g=Sn(d,r,n,s);if(bs(d,g),a==="out-in"&&u.type!==Fe)return n.isLeaving=!0,g.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete g.afterLeave,d=void 0},vn(l);a==="in-out"&&u.type!==Fe?g.delayLeave=(I,w,x)=>{const L=$l(n,d);L[String(d.key)]=d,I[tt]=()=>{w(),I[tt]=void 0,delete m.delayedLeave,d=void 0},m.delayedLeave=()=>{x(),delete m.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return l}}};function wl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Fe){t=s;break}}return t}const ir=lr;function $l(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function Sn(e,t,s,n,o){const{appear:l,mode:r,persisted:a=!1,onBeforeEnter:u,onEnter:m,onAfterEnter:d,onEnterCancelled:g,onBeforeLeave:I,onLeave:w,onAfterLeave:x,onLeaveCancelled:L,onBeforeAppear:z,onAppear:G,onAfterAppear:D,onAppearCancelled:Z}=t,E=String(e.key),j=$l(s,e),H=(J,re)=>{J&&Xe(J,n,9,re)},ie=(J,re)=>{const O=re[1];H(J,re),X(J)?J.every(y=>y.length<=1)&&O():J.length<=1&&O()},be={mode:r,persisted:a,beforeEnter(J){let re=u;if(!s.isMounted)if(l)re=z||u;else return;J[tt]&&J[tt](!0);const O=j[E];O&&At(e,O)&&O.el[tt]&&O.el[tt](),H(re,[J])},enter(J){if(j[E]===e)return;let re=m,O=d,y=g;if(!s.isMounted)if(l)re=G||m,O=D||d,y=Z||g;else return;let f=!1;J[os]=C=>{f||(f=!0,C?H(y,[J]):H(O,[J]),be.delayedLeave&&be.delayedLeave(),J[os]=void 0)};const _=J[os].bind(null,!1);re?ie(re,[J,_]):_()},leave(J,re){const O=String(e.key);if(J[os]&&J[os](!0),s.isUnmounting)return re();H(I,[J]);let y=!1;J[tt]=_=>{y||(y=!0,re(),_?H(L,[J]):H(x,[J]),J[tt]=void 0,j[O]===e&&delete j[O])};const f=J[tt].bind(null,!1);j[O]=e,w?ie(w,[J,f]):f()},clone(J){const re=Sn(J,t,s,n,o);return o&&o(re),re}};return be}function vn(e){if(nn(e))return e=$t(e),e.children=null,e}function io(e){if(!nn(e))return bl(e.type)&&e.children?wl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&le(s.default))return s.default()}}function bs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,bs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Cl(e,t=!1,s){let n=[],o=0;for(let l=0;l<e.length;l++){let r=e[l];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:l);r.type===ue?(r.patchFlag&128&&o++,n=n.concat(Cl(r.children,t,a))):(t||r.type!==Fe)&&n.push(a!=null?$t(r,{key:a}):r)}if(o>1)for(let l=0;l<n.length;l++)n[l].patchFlag=-2;return n}function Ft(e,t){return le(e)?we({name:e.name},t,{setup:e}):e}function kl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ro(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Us=new WeakMap;function ds(e,t,s,n,o=!1){if(X(e)){e.forEach((L,z)=>ds(L,t&&(X(t)?t[z]:t),s,n,o));return}if(fs(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ds(e,t,s,n.component.subTree);return}const l=n.shapeFlag&4?an(n.component):n.el,r=o?null:l,{i:a,r:u}=e,m=t&&t.r,d=a.refs===me?a.refs={}:a.refs,g=a.setupState,I=fe(g),w=g===me?Vo:L=>ro(d,L)?!1:pe(I,L),x=(L,z)=>!(z&&ro(d,z));if(m!=null&&m!==u){if(ao(t),xe(m))d[m]=null,w(m)&&(g[m]=null);else if(Oe(m)){const L=t;x(m,L.k)&&(m.value=null),L.k&&(d[L.k]=null)}}if(le(u))Ss(u,a,12,[r,d]);else{const L=xe(u),z=Oe(u);if(L||z){const G=()=>{if(e.f){const D=L?w(u)?g[u]:d[u]:x()||!e.k?u.value:d[e.k];if(o)X(D)&&Fn(D,l);else if(X(D))D.includes(l)||D.push(l);else if(L)d[u]=[l],w(u)&&(g[u]=d[u]);else{const Z=[l];x(u,e.k)&&(u.value=Z),e.k&&(d[e.k]=Z)}}else L?(d[u]=r,w(u)&&(g[u]=r)):z&&(x(u,e.k)&&(u.value=r),e.k&&(d[e.k]=r))};if(r){const D=()=>{G(),Us.delete(e)};D.id=-1,Us.set(e,D),Ve(D,s)}else ao(e),G()}}}function ao(e){const t=Us.get(e);t&&(t.flags|=8,Us.delete(e))}en().requestIdleCallback;en().cancelIdleCallback;const fs=e=>!!e.type.__asyncLoader,nn=e=>e.type.__isKeepAlive;function rr(e,t){Sl(e,"a",t)}function ar(e,t){Sl(e,"da",t)}function Sl(e,t,s=Re){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(on(t,n,s),s){let o=s.parent;for(;o&&o.parent;)nn(o.parent.vnode)&&cr(n,t,s,o),o=o.parent}}function cr(e,t,s,n){const o=on(t,e,n,!0);Jn(()=>{Fn(n[t],o)},s)}function on(e,t,s=Re,n=!1){if(s){const o=s[e]||(s[e]=[]),l=t.__weh||(t.__weh=(...r)=>{ht();const a=Ts(s),u=Xe(t,s,e,r);return a(),vt(),u});return n?o.unshift(l):o.push(l),l}}const gt=e=>(t,s=Re)=>{(!xs||e==="sp")&&on(e,(...n)=>t(...n),s)},ur=gt("bm"),Tl=gt("m"),dr=gt("bu"),fr=gt("u"),El=gt("bum"),Jn=gt("um"),pr=gt("sp"),hr=gt("rtg"),vr=gt("rtc");function mr(e,t=Re){on("ec",e,t)}const gr=Symbol.for("v-ndc");function ye(e,t,s,n){let o;const l=s,r=X(e);if(r||xe(e)){const a=r&&Pt(e);let u=!1,m=!1;a&&(u=!qe(e),m=mt(e),e=tn(e)),o=new Array(e.length);for(let d=0,g=e.length;d<g;d++)o[d]=t(u?m?Yt(Qe(e[d])):Qe(e[d]):e[d],d,void 0,l)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,l)}else if(he(e))if(e[Symbol.iterator])o=Array.from(e,(a,u)=>t(a,u,void 0,l));else{const a=Object.keys(e);o=new Array(a.length);for(let u=0,m=a.length;u<m;u++){const d=a[u];o[u]=t(e[d],d,u,l)}}else o=[];return o}const Tn=e=>e?Gl(e)?an(e):Tn(e.parent):null,ps=we(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=>Tn(e.parent),$root:e=>Tn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ol(e),$forceUpdate:e=>e.f||(e.f=()=>{zn(e.update)}),$nextTick:e=>e.n||(e.n=fl.bind(e.proxy)),$watch:e=>sr.bind(e)}),mn=(e,t)=>e!==me&&!e.__isScriptSetup&&pe(e,t),_r={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:l,accessCache:r,type:a,appContext:u}=e;if(t[0]!=="$"){const I=r[t];if(I!==void 0)switch(I){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return l[t]}else{if(mn(n,t))return r[t]=1,n[t];if(o!==me&&pe(o,t))return r[t]=2,o[t];if(pe(l,t))return r[t]=3,l[t];if(s!==me&&pe(s,t))return r[t]=4,s[t];En&&(r[t]=0)}}const m=ps[t];let d,g;if(m)return t==="$attrs"&&Ee(e.attrs,"get",""),m(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(s!==me&&pe(s,t))return r[t]=4,s[t];if(g=u.config.globalProperties,pe(g,t))return g[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:l}=e;return mn(o,t)?(o[t]=s,!0):n!==me&&pe(n,t)?(n[t]=s,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,props:l,type:r}},a){let u;return!!(s[a]||e!==me&&a[0]!=="$"&&pe(e,a)||mn(t,a)||pe(l,a)||pe(n,a)||pe(ps,a)||pe(o.config.globalProperties,a)||(u=r.__cssModules)&&u[a])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:pe(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function co(e){return X(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let En=!0;function br(e){const t=Ol(e),s=e.proxy,n=e.ctx;En=!1,t.beforeCreate&&uo(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:r,watch:a,provide:u,inject:m,created:d,beforeMount:g,mounted:I,beforeUpdate:w,updated:x,activated:L,deactivated:z,beforeDestroy:G,beforeUnmount:D,destroyed:Z,unmounted:E,render:j,renderTracked:H,renderTriggered:ie,errorCaptured:be,serverPrefetch:J,expose:re,inheritAttrs:O,components:y,directives:f,filters:_}=t;if(m&&yr(m,n,null),r)for(const k in r){const K=r[k];le(K)&&(n[k]=K.bind(s))}if(o){const k=o.call(s,s);he(k)&&(e.data=Bn(k))}if(En=!0,l)for(const k in l){const K=l[k],de=le(K)?K.bind(s,s):le(K.get)?K.get.bind(s,s):lt,ve=!le(K)&&le(K.set)?K.set.bind(s):lt,je=ce({get:de,set:ve});Object.defineProperty(n,k,{enumerable:!0,configurable:!0,get:()=>je.value,set:He=>je.value=He})}if(a)for(const k in a)Ml(a[k],n,s,k);if(u){const k=le(u)?u.call(s):u;Reflect.ownKeys(k).forEach(K=>{Zi(K,k[K])})}d&&uo(d,e,"c");function se(k,K){X(K)?K.forEach(de=>k(de.bind(s))):K&&k(K.bind(s))}if(se(ur,g),se(Tl,I),se(dr,w),se(fr,x),se(rr,L),se(ar,z),se(mr,be),se(vr,H),se(hr,ie),se(El,D),se(Jn,E),se(pr,J),X(re))if(re.length){const k=e.exposed||(e.exposed={});re.forEach(K=>{Object.defineProperty(k,K,{get:()=>s[K],set:de=>s[K]=de,enumerable:!0})})}else e.exposed||(e.exposed={});j&&e.render===lt&&(e.render=j),O!=null&&(e.inheritAttrs=O),y&&(e.components=y),f&&(e.directives=f),J&&kl(e)}function yr(e,t,s=lt){X(e)&&(e=Mn(e));for(const n in e){const o=e[n];let l;he(o)?"default"in o?l=Ps(o.from||n,o.default,!0):l=Ps(o.from||n):l=Ps(o),Oe(l)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:r=>l.value=r}):t[n]=l}}function uo(e,t,s){Xe(X(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ml(e,t,s,n){let o=n.includes(".")?_l(s,n):()=>s[n];if(xe(e)){const l=t[e];le(l)&&xt(o,l)}else if(le(e))xt(o,e.bind(s));else if(he(e))if(X(e))e.forEach(l=>Ml(l,t,s,n));else{const l=le(e.handler)?e.handler.bind(s):t[e.handler];le(l)&&xt(o,l,e)}}function Ol(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:r}}=e.appContext,a=l.get(t);let u;return a?u=a:!o.length&&!s&&!n?u=t:(u={},o.length&&o.forEach(m=>Bs(u,m,r,!0)),Bs(u,t,r)),he(t)&&l.set(t,u),u}function Bs(e,t,s,n=!1){const{mixins:o,extends:l}=t;l&&Bs(e,l,s,!0),o&&o.forEach(r=>Bs(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const a=xr[r]||s&&s[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const xr={data:fo,props:po,emits:po,methods:rs,computed:rs,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:rs,directives:rs,watch:$r,provide:fo,inject:wr};function fo(e,t){return t?e?function(){return we(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function wr(e,t){return rs(Mn(e),Mn(t))}function Mn(e){if(X(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function rs(e,t){return e?we(Object.create(null),e,t):t}function po(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:we(Object.create(null),co(e),co(t??{})):t}function $r(e,t){if(!e)return t;if(!t)return e;const s=we(Object.create(null),e);for(const n in t)s[n]=Pe(e[n],t[n]);return s}function Al(){return{app:null,config:{isNativeTag:Vo,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 Cr=0;function kr(e,t){return function(n,o=null){le(n)||(n=we({},n)),o!=null&&!he(o)&&(o=null);const l=Al(),r=new WeakSet,a=[];let u=!1;const m=l.app={_uid:Cr++,_component:n,_props:o,_container:null,_context:l,_instance:null,version:na,get config(){return l.config},set config(d){},use(d,...g){return r.has(d)||(d&&le(d.install)?(r.add(d),d.install(m,...g)):le(d)&&(r.add(d),d(m,...g))),m},mixin(d){return l.mixins.includes(d)||l.mixins.push(d),m},component(d,g){return g?(l.components[d]=g,m):l.components[d]},directive(d,g){return g?(l.directives[d]=g,m):l.directives[d]},mount(d,g,I){if(!u){const w=m._ceVNode||ke(n,o);return w.appContext=l,I===!0?I="svg":I===!1&&(I=void 0),e(w,d,I),u=!0,m._container=d,d.__vue_app__=m,an(w.component)}},onUnmount(d){a.push(d)},unmount(){u&&(Xe(a,m._instance,16),e(null,m._container),delete m._container.__vue_app__)},provide(d,g){return l.provides[d]=g,m},runWithContext(d){const g=qt;qt=m;try{return d()}finally{qt=g}}};return m}}let qt=null;const Sr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Tr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||me;let o=s;const l=t.startsWith("update:"),r=l&&Sr(n,t.slice(7));r&&(r.trim&&(o=s.map(d=>xe(d)?d.trim():d)),r.number&&(o=s.map(Zs)));let a,u=n[a=un(t)]||n[a=un(Ge(t))];!u&&l&&(u=n[a=un(Rt(t))]),u&&Xe(u,e,6,o);const m=n[a+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(m,e,6,o)}}const Er=new WeakMap;function Il(e,t,s=!1){const n=s?Er:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const l=e.emits;let r={},a=!1;if(!le(e)){const u=m=>{const d=Il(m,t,!0);d&&(a=!0,we(r,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!a?(he(e)&&n.set(e,null),null):(X(l)?l.forEach(u=>r[u]=null):we(r,l),he(e)&&n.set(e,r),r)}function ln(e,t){return!e||!Ys(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Rt(t))||pe(e,t))}function ho(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[l],slots:r,attrs:a,emit:u,render:m,renderCache:d,props:g,data:I,setupState:w,ctx:x,inheritAttrs:L}=e,z=Ds(e);let G,D;try{if(s.shapeFlag&4){const E=o||n,j=E;G=nt(m.call(j,E,d,g,w,I,x)),D=a}else{const E=t;G=nt(E.length>1?E(g,{attrs:a,slots:r,emit:u}):E(g,null)),D=t.props?a:Mr(a)}}catch(E){hs.length=0,sn(E,e,1),G=ke(Fe)}let Z=G;if(D&&L!==!1){const E=Object.keys(D),{shapeFlag:j}=Z;E.length&&j&7&&(l&&E.some(Nn)&&(D=Or(D,l)),Z=$t(Z,D,!1,!0))}return s.dirs&&(Z=$t(Z,null,!1,!0),Z.dirs=Z.dirs?Z.dirs.concat(s.dirs):s.dirs),s.transition&&bs(Z,s.transition),G=Z,Ds(z),G}const Mr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ys(s))&&((t||(t={}))[s]=e[s]);return t},Or=(e,t)=>{const s={};for(const n in e)(!Nn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Ar(e,t,s){const{props:n,children:o,component:l}=e,{props:r,children:a,patchFlag:u}=t,m=l.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?vo(n,r,m):!!r;if(u&8){const d=t.dynamicProps;for(let g=0;g<d.length;g++){const I=d[g];if(Ll(r,n,I)&&!ln(m,I))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?vo(n,r,m):!0:!!r;return!1}function vo(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const l=n[o];if(Ll(t,e,l)&&!ln(s,l))return!0}return!1}function Ll(e,t,s){const n=e[s],o=t[s];return s==="style"&&he(n)&&he(o)?!ks(n,o):n!==o}function Ir({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Pl={},Nl=()=>Object.create(Pl),Fl=e=>Object.getPrototypeOf(e)===Pl;function Lr(e,t,s,n=!1){const o={},l=Nl();e.propsDefaults=Object.create(null),Rl(e,t,o,l);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);s?e.props=n?o:Vi(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function Pr(e,t,s,n){const{props:o,attrs:l,vnode:{patchFlag:r}}=e,a=fe(o),[u]=e.propsOptions;let m=!1;if((n||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let g=0;g<d.length;g++){let I=d[g];if(ln(e.emitsOptions,I))continue;const w=t[I];if(u)if(pe(l,I))w!==l[I]&&(l[I]=w,m=!0);else{const x=Ge(I);o[x]=On(u,a,x,w,e,!1)}else w!==l[I]&&(l[I]=w,m=!0)}}}else{Rl(e,t,o,l)&&(m=!0);let d;for(const g in a)(!t||!pe(t,g)&&((d=Rt(g))===g||!pe(t,d)))&&(u?s&&(s[g]!==void 0||s[d]!==void 0)&&(o[g]=On(u,a,g,void 0,e,!0)):delete o[g]);if(l!==a)for(const g in l)(!t||!pe(t,g))&&(delete l[g],m=!0)}m&&dt(e.attrs,"set","")}function Rl(e,t,s,n){const[o,l]=e.propsOptions;let r=!1,a;if(t)for(let u in t){if(as(u))continue;const m=t[u];let d;o&&pe(o,d=Ge(u))?!l||!l.includes(d)?s[d]=m:(a||(a={}))[d]=m:ln(e.emitsOptions,u)||(!(u in n)||m!==n[u])&&(n[u]=m,r=!0)}if(l){const u=fe(s),m=a||me;for(let d=0;d<l.length;d++){const g=l[d];s[g]=On(o,u,g,m[g],e,!pe(m,g))}}return r}function On(e,t,s,n,o,l){const r=e[s];if(r!=null){const a=pe(r,"default");if(a&&n===void 0){const u=r.default;if(r.type!==Function&&!r.skipFactory&&le(u)){const{propsDefaults:m}=o;if(s in m)n=m[s];else{const d=Ts(o);n=m[s]=u.call(null,t),d()}}else n=u;o.ce&&o.ce._setProp(s,n)}r[0]&&(l&&!a?n=!1:r[1]&&(n===""||n===Rt(s))&&(n=!0))}return n}const Nr=new WeakMap;function jl(e,t,s=!1){const n=s?Nr:t.propsCache,o=n.get(e);if(o)return o;const l=e.props,r={},a=[];let u=!1;if(!le(e)){const d=g=>{u=!0;const[I,w]=jl(g,t,!0);we(r,I),w&&a.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!u)return he(e)&&n.set(e,Wt),Wt;if(X(l))for(let d=0;d<l.length;d++){const g=Ge(l[d]);mo(g)&&(r[g]=me)}else if(l)for(const d in l){const g=Ge(d);if(mo(g)){const I=l[d],w=r[g]=X(I)||le(I)?{type:I}:we({},I),x=w.type;let L=!1,z=!0;if(X(x))for(let G=0;G<x.length;++G){const D=x[G],Z=le(D)&&D.name;if(Z==="Boolean"){L=!0;break}else Z==="String"&&(z=!1)}else L=le(x)&&x.name==="Boolean";w[0]=L,w[1]=z,(L||pe(w,"default"))&&a.push(g)}}const m=[r,a];return he(e)&&n.set(e,m),m}function mo(e){return e[0]!=="$"&&!as(e)}const qn=e=>e==="_"||e==="_ctx"||e==="$stable",Gn=e=>X(e)?e.map(nt):[nt(e)],Fr=(e,t,s)=>{if(t._n)return t;const n=Vs((...o)=>Gn(t(...o)),s);return n._c=!1,n},Hl=(e,t,s)=>{const n=e._ctx;for(const o in e){if(qn(o))continue;const l=e[o];if(le(l))t[o]=Fr(o,l,n);else if(l!=null){const r=Gn(l);t[o]=()=>r}}},Dl=(e,t)=>{const s=Gn(t);e.slots.default=()=>s},Vl=(e,t,s)=>{for(const n in t)(s||!qn(n))&&(e[n]=t[n])},Rr=(e,t,s)=>{const n=e.slots=Nl();if(e.vnode.shapeFlag&32){const o=t._;o?(Vl(n,t,s),s&&zo(n,"_",o,!0)):Hl(t,n)}else t&&Dl(e,t)},jr=(e,t,s)=>{const{vnode:n,slots:o}=e;let l=!0,r=me;if(n.shapeFlag&32){const a=t._;a?s&&a===1?l=!1:Vl(o,t,s):(l=!t.$stable,Hl(t,o)),r=t}else t&&(Dl(e,t),r={default:1});if(l)for(const a in o)!qn(a)&&r[a]==null&&delete o[a]},Ve=Br;function Hr(e){return Dr(e)}function Dr(e,t){const s=en();s.__VUE__=!0;const{insert:n,remove:o,patchProp:l,createElement:r,createText:a,createComment:u,setText:m,setElementText:d,parentNode:g,nextSibling:I,setScopeId:w=lt,insertStaticContent:x}=e,L=(c,v,$,F=null,A=null,P=null,U=void 0,V=null,R=!!v.dynamicChildren)=>{if(c===v)return;c&&!At(c,v)&&(F=Ae(c),He(c,A,P,!0),c=null),v.patchFlag===-2&&(R=!1,v.dynamicChildren=null);const{type:N,ref:Q,shapeFlag:B}=v;switch(N){case rn:z(c,v,$,F);break;case Fe:G(c,v,$,F);break;case Ns:c==null&&D(v,$,F,U);break;case ue:y(c,v,$,F,A,P,U,V,R);break;default:B&1?j(c,v,$,F,A,P,U,V,R):B&6?f(c,v,$,F,A,P,U,V,R):(B&64||B&128)&&N.process(c,v,$,F,A,P,U,V,R,_t)}Q!=null&&A?ds(Q,c&&c.ref,P,v||c,!v):Q==null&&c&&c.ref!=null&&ds(c.ref,null,P,c,!0)},z=(c,v,$,F)=>{if(c==null)n(v.el=a(v.children),$,F);else{const A=v.el=c.el;v.children!==c.children&&m(A,v.children)}},G=(c,v,$,F)=>{c==null?n(v.el=u(v.children||""),$,F):v.el=c.el},D=(c,v,$,F)=>{[c.el,c.anchor]=x(c.children,v,$,F,c.el,c.anchor)},Z=({el:c,anchor:v},$,F)=>{let A;for(;c&&c!==v;)A=I(c),n(c,$,F),c=A;n(v,$,F)},E=({el:c,anchor:v})=>{let $;for(;c&&c!==v;)$=I(c),o(c),c=$;o(v)},j=(c,v,$,F,A,P,U,V,R)=>{if(v.type==="svg"?U="svg":v.type==="math"&&(U="mathml"),c==null)H(v,$,F,A,P,U,V,R);else{const N=c.el&&c.el._isVueCE?c.el:null;try{N&&N._beginPatch(),J(c,v,A,P,U,V,R)}finally{N&&N._endPatch()}}},H=(c,v,$,F,A,P,U,V)=>{let R,N;const{props:Q,shapeFlag:B,transition:Y,dirs:te}=c;if(R=c.el=r(c.type,P,Q&&Q.is,Q),B&8?d(R,c.children):B&16&&be(c.children,R,null,F,A,gn(c,P),U,V),te&&kt(c,null,F,"created"),ie(R,c,c.scopeId,U,F),Q){for(const h in Q)h!=="value"&&!as(h)&&l(R,h,null,Q[h],P,F);"value"in Q&&l(R,"value",null,Q.value,P),(N=Q.onVnodeBeforeMount)&&Ze(N,F,c)}te&&kt(c,null,F,"beforeMount");const p=Vr(A,Y);p&&Y.beforeEnter(R),n(R,v,$),((N=Q&&Q.onVnodeMounted)||p||te)&&Ve(()=>{N&&Ze(N,F,c),p&&Y.enter(R),te&&kt(c,null,F,"mounted")},A)},ie=(c,v,$,F,A)=>{if($&&w(c,$),F)for(let P=0;P<F.length;P++)w(c,F[P]);if(A){let P=A.subTree;if(v===P||Wl(P.type)&&(P.ssContent===v||P.ssFallback===v)){const U=A.vnode;ie(c,U,U.scopeId,U.slotScopeIds,A.parent)}}},be=(c,v,$,F,A,P,U,V,R=0)=>{for(let N=R;N<c.length;N++){const Q=c[N]=V?ut(c[N]):nt(c[N]);L(null,Q,v,$,F,A,P,U,V)}},J=(c,v,$,F,A,P,U)=>{const V=v.el=c.el;let{patchFlag:R,dynamicChildren:N,dirs:Q}=v;R|=c.patchFlag&16;const B=c.props||me,Y=v.props||me;let te;if($&&St($,!1),(te=Y.onVnodeBeforeUpdate)&&Ze(te,$,v,c),Q&&kt(v,c,$,"beforeUpdate"),$&&St($,!0),(B.innerHTML&&Y.innerHTML==null||B.textContent&&Y.textContent==null)&&d(V,""),N?re(c.dynamicChildren,N,V,$,F,gn(v,A),P):U||K(c,v,V,null,$,F,gn(v,A),P,!1),R>0){if(R&16)O(V,B,Y,$,A);else if(R&2&&B.class!==Y.class&&l(V,"class",null,Y.class,A),R&4&&l(V,"style",B.style,Y.style,A),R&8){const p=v.dynamicProps;for(let h=0;h<p.length;h++){const S=p[h],ee=B[S],q=Y[S];(q!==ee||S==="value")&&l(V,S,ee,q,A,$)}}R&1&&c.children!==v.children&&d(V,v.children)}else!U&&N==null&&O(V,B,Y,$,A);((te=Y.onVnodeUpdated)||Q)&&Ve(()=>{te&&Ze(te,$,v,c),Q&&kt(v,c,$,"updated")},F)},re=(c,v,$,F,A,P,U)=>{for(let V=0;V<v.length;V++){const R=c[V],N=v[V],Q=R.el&&(R.type===ue||!At(R,N)||R.shapeFlag&198)?g(R.el):$;L(R,N,Q,null,F,A,P,U,!0)}},O=(c,v,$,F,A)=>{if(v!==$){if(v!==me)for(const P in v)!as(P)&&!(P in $)&&l(c,P,v[P],null,A,F);for(const P in $){if(as(P))continue;const U=$[P],V=v[P];U!==V&&P!=="value"&&l(c,P,V,U,A,F)}"value"in $&&l(c,"value",v.value,$.value,A)}},y=(c,v,$,F,A,P,U,V,R)=>{const N=v.el=c?c.el:a(""),Q=v.anchor=c?c.anchor:a("");let{patchFlag:B,dynamicChildren:Y,slotScopeIds:te}=v;te&&(V=V?V.concat(te):te),c==null?(n(N,$,F),n(Q,$,F),be(v.children||[],$,Q,A,P,U,V,R)):B>0&&B&64&&Y&&c.dynamicChildren&&c.dynamicChildren.length===Y.length?(re(c.dynamicChildren,Y,$,A,P,U,V),(v.key!=null||A&&v===A.subTree)&&Ul(c,v,!0)):K(c,v,$,Q,A,P,U,V,R)},f=(c,v,$,F,A,P,U,V,R)=>{v.slotScopeIds=V,c==null?v.shapeFlag&512?A.ctx.activate(v,$,F,U,R):_(v,$,F,A,P,U,R):C(c,v,R)},_=(c,v,$,F,A,P,U)=>{const V=c.component=Qr(c,F,A);if(nn(c)&&(V.ctx.renderer=_t),Xr(V,!1,U),V.asyncDep){if(A&&A.registerDep(V,se,U),!c.el){const R=V.subTree=ke(Fe);G(null,R,v,$),c.placeholder=R.el}}else se(V,c,v,$,A,P,U)},C=(c,v,$)=>{const F=v.component=c.component;if(Ar(c,v,$))if(F.asyncDep&&!F.asyncResolved){k(F,v,$);return}else F.next=v,F.update();else v.el=c.el,F.vnode=v},se=(c,v,$,F,A,P,U)=>{const V=()=>{if(c.isMounted){let{next:B,bu:Y,u:te,parent:p,vnode:h}=c;{const ge=Bl(c);if(ge){B&&(B.el=h.el,k(c,B,U)),ge.asyncDep.then(()=>{Ve(()=>{c.isUnmounted||N()},A)});return}}let S=B,ee;St(c,!1),B?(B.el=h.el,k(c,B,U)):B=h,Y&&Ls(Y),(ee=B.props&&B.props.onVnodeBeforeUpdate)&&Ze(ee,p,B,h),St(c,!0);const q=ho(c),W=c.subTree;c.subTree=q,L(W,q,g(W.el),Ae(W),c,A,P),B.el=q.el,S===null&&Ir(c,q.el),te&&Ve(te,A),(ee=B.props&&B.props.onVnodeUpdated)&&Ve(()=>Ze(ee,p,B,h),A)}else{let B;const{el:Y,props:te}=v,{bm:p,m:h,parent:S,root:ee,type:q}=c,W=fs(v);St(c,!1),p&&Ls(p),!W&&(B=te&&te.onVnodeBeforeMount)&&Ze(B,S,v),St(c,!0);{ee.ce&&ee.ce._hasShadowRoot()&&ee.ce._injectChildStyle(q,c.parent?c.parent.type:void 0);const ge=c.subTree=ho(c);L(null,ge,$,F,c,A,P),v.el=ge.el}if(h&&Ve(h,A),!W&&(B=te&&te.onVnodeMounted)){const ge=v;Ve(()=>Ze(B,S,ge),A)}(v.shapeFlag&256||S&&fs(S.vnode)&&S.vnode.shapeFlag&256)&&c.a&&Ve(c.a,A),c.isMounted=!0,v=$=F=null}};c.scope.on();const R=c.effect=new Yo(V);c.scope.off();const N=c.update=R.run.bind(R),Q=c.job=R.runIfDirty.bind(R);Q.i=c,Q.id=c.uid,R.scheduler=()=>zn(Q),St(c,!0),N()},k=(c,v,$)=>{v.component=c;const F=c.vnode.props;c.vnode=v,c.next=null,Pr(c,v.props,F,$),jr(c,v.children,$),ht(),lo(c),vt()},K=(c,v,$,F,A,P,U,V,R=!1)=>{const N=c&&c.children,Q=c?c.shapeFlag:0,B=v.children,{patchFlag:Y,shapeFlag:te}=v;if(Y>0){if(Y&128){ve(N,B,$,F,A,P,U,V,R);return}else if(Y&256){de(N,B,$,F,A,P,U,V,R);return}}te&8?(Q&16&&Be(N,A,P),B!==N&&d($,B)):Q&16?te&16?ve(N,B,$,F,A,P,U,V,R):Be(N,A,P,!0):(Q&8&&d($,""),te&16&&be(B,$,F,A,P,U,V,R))},de=(c,v,$,F,A,P,U,V,R)=>{c=c||Wt,v=v||Wt;const N=c.length,Q=v.length,B=Math.min(N,Q);let Y;for(Y=0;Y<B;Y++){const te=v[Y]=R?ut(v[Y]):nt(v[Y]);L(c[Y],te,$,null,A,P,U,V,R)}N>Q?Be(c,A,P,!0,!1,B):be(v,$,F,A,P,U,V,R,B)},ve=(c,v,$,F,A,P,U,V,R)=>{let N=0;const Q=v.length;let B=c.length-1,Y=Q-1;for(;N<=B&&N<=Y;){const te=c[N],p=v[N]=R?ut(v[N]):nt(v[N]);if(At(te,p))L(te,p,$,null,A,P,U,V,R);else break;N++}for(;N<=B&&N<=Y;){const te=c[B],p=v[Y]=R?ut(v[Y]):nt(v[Y]);if(At(te,p))L(te,p,$,null,A,P,U,V,R);else break;B--,Y--}if(N>B){if(N<=Y){const te=Y+1,p=te<Q?v[te].el:F;for(;N<=Y;)L(null,v[N]=R?ut(v[N]):nt(v[N]),$,p,A,P,U,V,R),N++}}else if(N>Y)for(;N<=B;)He(c[N],A,P,!0),N++;else{const te=N,p=N,h=new Map;for(N=p;N<=Y;N++){const Le=v[N]=R?ut(v[N]):nt(v[N]);Le.key!=null&&h.set(Le.key,N)}let S,ee=0;const q=Y-p+1;let W=!1,ge=0;const Ie=new Array(q);for(N=0;N<q;N++)Ie[N]=0;for(N=te;N<=B;N++){const Le=c[N];if(ee>=q){He(Le,A,P,!0);continue}let Se;if(Le.key!=null)Se=h.get(Le.key);else for(S=p;S<=Y;S++)if(Ie[S-p]===0&&At(Le,v[S])){Se=S;break}Se===void 0?He(Le,A,P,!0):(Ie[Se-p]=N+1,Se>=ge?ge=Se:W=!0,L(Le,v[Se],$,null,A,P,U,V,R),ee++)}const Es=W?Ur(Ie):Wt;for(S=Es.length-1,N=q-1;N>=0;N--){const Le=p+N,Se=v[Le],Ms=v[Le+1],ss=Le+1<Q?Ms.el||Kl(Ms):F;Ie[N]===0?L(null,Se,$,ss,A,P,U,V,R):W&&(S<0||N!==Es[S]?je(Se,$,ss,2):S--)}}},je=(c,v,$,F,A=null)=>{const{el:P,type:U,transition:V,children:R,shapeFlag:N}=c;if(N&6){je(c.component.subTree,v,$,F);return}if(N&128){c.suspense.move(v,$,F);return}if(N&64){U.move(c,v,$,_t);return}if(U===ue){n(P,v,$);for(let B=0;B<R.length;B++)je(R[B],v,$,F);n(c.anchor,v,$);return}if(U===Ns){Z(c,v,$);return}if(F!==2&&N&1&&V)if(F===0)V.beforeEnter(P),n(P,v,$),Ve(()=>V.enter(P),A);else{const{leave:B,delayLeave:Y,afterLeave:te}=V,p=()=>{c.ctx.isUnmounted?o(P):n(P,v,$)},h=()=>{P._isLeaving&&P[tt](!0),B(P,()=>{p(),te&&te()})};Y?Y(P,p,h):h()}else n(P,v,$)},He=(c,v,$,F=!1,A=!1)=>{const{type:P,props:U,ref:V,children:R,dynamicChildren:N,shapeFlag:Q,patchFlag:B,dirs:Y,cacheIndex:te}=c;if(B===-2&&(A=!1),V!=null&&(ht(),ds(V,null,$,c,!0),vt()),te!=null&&(v.renderCache[te]=void 0),Q&256){v.ctx.deactivate(c);return}const p=Q&1&&Y,h=!fs(c);let S;if(h&&(S=U&&U.onVnodeBeforeUnmount)&&Ze(S,v,c),Q&6)$e(c.component,$,F);else{if(Q&128){c.suspense.unmount($,F);return}p&&kt(c,null,v,"beforeUnmount"),Q&64?c.type.remove(c,v,$,_t,F):N&&!N.hasOnce&&(P!==ue||B>0&&B&64)?Be(N,v,$,!1,!0):(P===ue&&B&384||!A&&Q&16)&&Be(R,v,$),F&&We(c)}(h&&(S=U&&U.onVnodeUnmounted)||p)&&Ve(()=>{S&&Ze(S,v,c),p&&kt(c,null,v,"unmounted")},$)},We=c=>{const{type:v,el:$,anchor:F,transition:A}=c;if(v===ue){Ct($,F);return}if(v===Ns){E(c);return}const P=()=>{o($),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(c.shapeFlag&1&&A&&!A.persisted){const{leave:U,delayLeave:V}=A,R=()=>U($,P);V?V(c.el,P,R):R()}else P()},Ct=(c,v)=>{let $;for(;c!==v;)$=I(c),o(c),c=$;o(v)},$e=(c,v,$)=>{const{bum:F,scope:A,job:P,subTree:U,um:V,m:R,a:N}=c;go(R),go(N),F&&Ls(F),A.stop(),P&&(P.flags|=8,He(U,c,v,$)),V&&Ve(V,v),Ve(()=>{c.isUnmounted=!0},v)},Be=(c,v,$,F=!1,A=!1,P=0)=>{for(let U=P;U<c.length;U++)He(c[U],v,$,F,A)},Ae=c=>{if(c.shapeFlag&6)return Ae(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const v=I(c.anchor||c.el),$=v&&v[nr];return $?I($):v};let jt=!1;const ts=(c,v,$)=>{let F;c==null?v._vnode&&(He(v._vnode,null,null,!0),F=v._vnode.component):L(v._vnode||null,c,v,null,null,null,$),v._vnode=c,jt||(jt=!0,lo(F),hl(),jt=!1)},_t={p:L,um:He,m:je,r:We,mt:_,mc:be,pc:K,pbc:re,n:Ae,o:e};return{render:ts,hydrate:void 0,createApp:kr(ts)}}function gn({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function St({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ul(e,t,s=!1){const n=e.children,o=t.children;if(X(n)&&X(o))for(let l=0;l<n.length;l++){const r=n[l];let a=o[l];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[l]=ut(o[l]),a.el=r.el),!s&&a.patchFlag!==-2&&Ul(r,a)),a.type===rn&&(a.patchFlag===-1&&(a=o[l]=ut(a)),a.el=r.el),a.type===Fe&&!a.el&&(a.el=r.el)}}function Ur(e){const t=e.slice(),s=[0];let n,o,l,r,a;const u=e.length;for(n=0;n<u;n++){const m=e[n];if(m!==0){if(o=s[s.length-1],e[o]<m){t[n]=o,s.push(n);continue}for(l=0,r=s.length-1;l<r;)a=l+r>>1,e[s[a]]<m?l=a+1:r=a;m<e[s[l]]&&(l>0&&(t[n]=s[l-1]),s[l]=n)}}for(l=s.length,r=s[l-1];l-- >0;)s[l]=r,r=t[r];return s}function Bl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bl(t)}function go(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Kl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Kl(t.subTree):null}const Wl=e=>e.__isSuspense;function Br(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):Xi(e)}const ue=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),Fe=Symbol.for("v-cmt"),Ns=Symbol.for("v-stc"),hs=[];let Ke=null;function T(e=!1){hs.push(Ke=e?null:[])}function Kr(){hs.pop(),Ke=hs[hs.length-1]||null}let ys=1;function Ks(e,t=!1){ys+=e,e<0&&Ke&&t&&(Ke.hasOnce=!0)}function zl(e){return e.dynamicChildren=ys>0?Ke||Wt:null,Kr(),ys>0&&Ke&&Ke.push(e),e}function M(e,t,s,n,o,l){return zl(i(e,t,s,n,o,l,!0))}function Ot(e,t,s,n,o){return zl(ke(e,t,s,n,o,!0))}function Ws(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const Jl=({key:e})=>e??null,Fs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Oe(e)||le(e)?{i:Je,r:e,k:t,f:!!s}:e:null);function i(e,t=null,s=null,n=0,o=null,l=e===ue?0:1,r=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Jl(t),ref:t&&Fs(t),scopeId:ml,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Je};return a?(Yn(u,s),l&128&&e.normalize(u)):s&&(u.shapeFlag|=xe(s)?8:16),ys>0&&!r&&Ke&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&Ke.push(u),u}const ke=Wr;function Wr(e,t=null,s=null,n=0,o=null,l=!1){if((!e||e===gr)&&(e=Fe),Ws(e)){const a=$t(e,t,!0);return s&&Yn(a,s),ys>0&&!l&&Ke&&(a.shapeFlag&6?Ke[Ke.indexOf(e)]=a:Ke.push(a)),a.patchFlag=-2,a}if(sa(e)&&(e=e.__vccOpts),t){t=zr(t);let{class:a,style:u}=t;a&&!xe(a)&&(t.class=oe(a)),he(u)&&(Wn(u)&&!X(u)&&(u=we({},u)),t.style=Ce(u))}const r=xe(e)?1:Wl(e)?128:bl(e)?64:he(e)?4:le(e)?2:0;return i(e,t,s,n,o,r,l,!0)}function zr(e){return e?Wn(e)||Fl(e)?we({},e):e:null}function $t(e,t,s=!1,n=!1){const{props:o,ref:l,patchFlag:r,children:a,transition:u}=e,m=t?qr(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:m,key:m&&Jl(m),ref:t&&t.ref?s&&l?X(l)?l.concat(Fs(t)):[l,Fs(t)]:Fs(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ue?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$t(e.ssContent),ssFallback:e.ssFallback&&$t(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&bs(d,u.clone(d)),d}function Me(e=" ",t=0){return ke(rn,null,e,t)}function Jr(e,t){const s=ke(Ns,null,e);return s.staticCount=t,s}function ne(e="",t=!1){return t?(T(),Ot(Fe,null,e)):ke(Fe,null,e)}function nt(e){return e==null||typeof e=="boolean"?ke(Fe):X(e)?ke(ue,null,e.slice()):Ws(e)?ut(e):ke(rn,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$t(e)}function Yn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(X(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Yn(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Fl(t)?t._ctx=Je:o===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:Je},s=32):(t=String(t),n&64?(s=16,t=[Me(t)]):s=8);e.children=t,e.shapeFlag|=s}function qr(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=oe([t.class,n.class]));else if(o==="style")t.style=Ce([t.style,n.style]);else if(Ys(o)){const l=t[o],r=n[o];r&&l!==r&&!(X(l)&&l.includes(r))&&(t[o]=l?[].concat(l,r):r)}else o!==""&&(t[o]=n[o])}return t}function Ze(e,t,s,n=null){Xe(e,t,7,[s,n])}const Gr=Al();let Yr=0;function Qr(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||Gr,l={uid:Yr++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:jl(n,o),emitsOptions:Il(n,o),emit:null,emitted:null,propsDefaults:me,inheritAttrs:n.inheritAttrs,ctx:me,data:me,props:me,attrs:me,slots:me,refs:me,setupState:me,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Tr.bind(null,l),e.ce&&e.ce(l),l}let Re=null;const ql=()=>Re||Je;let zs,An;{const e=en(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),l=>{o.length>1?o.forEach(r=>r(l)):o[0](l)}};zs=t("__VUE_INSTANCE_SETTERS__",s=>Re=s),An=t("__VUE_SSR_SETTERS__",s=>xs=s)}const Ts=e=>{const t=Re;return zs(e),e.scope.on(),()=>{e.scope.off(),zs(t)}},_o=()=>{Re&&Re.scope.off(),zs(null)};function Gl(e){return e.vnode.shapeFlag&4}let xs=!1;function Xr(e,t=!1,s=!1){t&&An(t);const{props:n,children:o}=e.vnode,l=Gl(e);Lr(e,n,l,t),Rr(e,o,s||t);const r=l?Zr(e,t):void 0;return t&&An(!1),r}function Zr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_r);const{setup:n}=s;if(n){ht();const o=e.setupContext=n.length>1?ta(e):null,l=Ts(e),r=Ss(n,e,0,[e.props,o]),a=Uo(r);if(vt(),l(),(a||e.sp)&&!fs(e)&&kl(e),a){if(r.then(_o,_o),t)return r.then(u=>{bo(e,u)}).catch(u=>{sn(u,e,0)});e.asyncDep=r}else bo(e,r)}else Yl(e)}function bo(e,t,s){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=ul(t)),Yl(e)}function Yl(e,t,s){const n=e.type;e.render||(e.render=n.render||lt);{const o=Ts(e);ht();try{br(e)}finally{vt(),o()}}}const ea={get(e,t){return Ee(e,"get",""),e[t]}};function ta(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ea),slots:e.slots,emit:e.emit,expose:t}}function an(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ul(Ui(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in ps)return ps[s](e)},has(t,s){return s in t||s in ps}})):e.proxy}function sa(e){return le(e)&&"__vccOpts"in e}const ce=(e,t)=>Ji(e,t,xs);function Te(e,t,s){try{Ks(-1);const n=arguments.length;return n===2?he(t)&&!X(t)?Ws(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ws(s)&&(s=[s]),ke(e,t,s))}finally{Ks(1)}}const na="3.5.30";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.30
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let In;const yo=typeof window<"u"&&window.trustedTypes;if(yo)try{In=yo.createPolicy("vue",{createHTML:e=>e})}catch{}const Ql=In?e=>In.createHTML(e):e=>e,oa="http://www.w3.org/2000/svg",la="http://www.w3.org/1998/Math/MathML",ct=typeof document<"u"?document:null,xo=ct&&ct.createElement("template"),ia={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?ct.createElementNS(oa,e):t==="mathml"?ct.createElementNS(la,e):s?ct.createElement(e,{is:s}):ct.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,l){const r=s?s.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===l||!(o=o.nextSibling)););else{xo.innerHTML=Ql(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=xo.content;if(n==="svg"||n==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},bt="transition",ls="animation",ws=Symbol("_vtc"),Xl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ra=we({},yl,Xl),aa=e=>(e.displayName="Transition",e.props=ra,e),Ln=aa((e,{slots:t})=>Te(ir,ca(e),t)),Tt=(e,t=[])=>{X(e)?e.forEach(s=>s(...t)):e&&e(...t)},wo=e=>e?X(e)?e.some(t=>t.length>1):e.length>1:!1;function ca(e){const t={};for(const y in e)y in Xl||(t[y]=e[y]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:l=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:u=l,appearActiveClass:m=r,appearToClass:d=a,leaveFromClass:g=`${s}-leave-from`,leaveActiveClass:I=`${s}-leave-active`,leaveToClass:w=`${s}-leave-to`}=e,x=ua(o),L=x&&x[0],z=x&&x[1],{onBeforeEnter:G,onEnter:D,onEnterCancelled:Z,onLeave:E,onLeaveCancelled:j,onBeforeAppear:H=G,onAppear:ie=D,onAppearCancelled:be=Z}=t,J=(y,f,_,C)=>{y._enterCancelled=C,Et(y,f?d:a),Et(y,f?m:r),_&&_()},re=(y,f)=>{y._isLeaving=!1,Et(y,g),Et(y,w),Et(y,I),f&&f()},O=y=>(f,_)=>{const C=y?ie:D,se=()=>J(f,y,_);Tt(C,[f,se]),$o(()=>{Et(f,y?u:l),at(f,y?d:a),wo(C)||Co(f,n,L,se)})};return we(t,{onBeforeEnter(y){Tt(G,[y]),at(y,l),at(y,r)},onBeforeAppear(y){Tt(H,[y]),at(y,u),at(y,m)},onEnter:O(!1),onAppear:O(!0),onLeave(y,f){y._isLeaving=!0;const _=()=>re(y,f);at(y,g),y._enterCancelled?(at(y,I),To(y)):(To(y),at(y,I)),$o(()=>{y._isLeaving&&(Et(y,g),at(y,w),wo(E)||Co(y,n,z,_))}),Tt(E,[y,_])},onEnterCancelled(y){J(y,!1,void 0,!0),Tt(Z,[y])},onAppearCancelled(y){J(y,!0,void 0,!0),Tt(be,[y])},onLeaveCancelled(y){re(y),Tt(j,[y])}})}function ua(e){if(e==null)return null;if(he(e))return[_n(e.enter),_n(e.leave)];{const t=_n(e);return[t,t]}}function _n(e){return fi(e)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[ws]||(e[ws]=new Set)).add(t)}function Et(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[ws];s&&(s.delete(t),s.size||(e[ws]=void 0))}function $o(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let da=0;function Co(e,t,s,n){const o=e._endId=++da,l=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(l,s);const{type:r,timeout:a,propCount:u}=fa(e,t);if(!r)return n();const m=r+"end";let d=0;const g=()=>{e.removeEventListener(m,I),l()},I=w=>{w.target===e&&++d>=u&&g()};setTimeout(()=>{d<u&&g()},a+1),e.addEventListener(m,I)}function fa(e,t){const s=window.getComputedStyle(e),n=x=>(s[x]||"").split(", "),o=n(`${bt}Delay`),l=n(`${bt}Duration`),r=ko(o,l),a=n(`${ls}Delay`),u=n(`${ls}Duration`),m=ko(a,u);let d=null,g=0,I=0;t===bt?r>0&&(d=bt,g=r,I=l.length):t===ls?m>0&&(d=ls,g=m,I=u.length):(g=Math.max(r,m),d=g>0?r>m?bt:ls:null,I=d?d===bt?l.length:u.length:0);const w=d===bt&&/\b(?:transform|all)(?:,|$)/.test(n(`${bt}Property`).toString());return{type:d,timeout:g,propCount:I,hasTransform:w}}function ko(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>So(s)+So(e[n])))}function So(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function To(e){return(e?e.ownerDocument:document).body.offsetHeight}function pa(e,t,s){const n=e[ws];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Eo=Symbol("_vod"),ha=Symbol("_vsh"),va=Symbol(""),ma=/(?:^|;)\s*display\s*:/;function ga(e,t,s){const n=e.style,o=xe(s);let l=!1;if(s&&!o){if(t)if(xe(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Rs(n,a,"")}else for(const r in t)s[r]==null&&Rs(n,r,"");for(const r in s)r==="display"&&(l=!0),Rs(n,r,s[r])}else if(o){if(t!==s){const r=n[va];r&&(s+=";"+r),n.cssText=s,l=ma.test(s)}}else t&&e.removeAttribute("style");Eo in e&&(e[Eo]=l?n.display:"",e[ha]&&(n.display="none"))}const Mo=/\s*!important$/;function Rs(e,t,s){if(X(s))s.forEach(n=>Rs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=_a(e,t);Mo.test(s)?e.setProperty(Rt(n),s.replace(Mo,""),"important"):e[n]=s}}const Oo=["Webkit","Moz","ms"],bn={};function _a(e,t){const s=bn[t];if(s)return s;let n=Ge(t);if(n!=="filter"&&n in e)return bn[t]=n;n=Wo(n);for(let o=0;o<Oo.length;o++){const l=Oo[o]+n;if(l in e)return bn[t]=l}return t}const Ao="http://www.w3.org/1999/xlink";function Io(e,t,s,n,o,l=_i(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Ao,t.slice(6,t.length)):e.setAttributeNS(Ao,t,s):s==null||l&&!Jo(s)?e.removeAttribute(t):e.setAttribute(t,l?"":it(s)?String(s):s)}function Lo(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ql(s):s);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const a=l==="OPTION"?e.getAttribute("value")||"":e.value,u=s==null?e.type==="checkbox"?"on":"":String(s);(a!==u||!("_value"in e))&&(e.value=u),s==null&&e.removeAttribute(t),e._value=s;return}let r=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=Jo(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{e[t]=s}catch{}r&&e.removeAttribute(o||t)}function It(e,t,s,n){e.addEventListener(t,s,n)}function ba(e,t,s,n){e.removeEventListener(t,s,n)}const Po=Symbol("_vei");function ya(e,t,s,n,o=null){const l=e[Po]||(e[Po]={}),r=l[t];if(n&&r)r.value=n;else{const[a,u]=xa(t);if(n){const m=l[t]=Ca(n,o);It(e,a,m,u)}else r&&(ba(e,a,r,u),l[t]=void 0)}}const No=/(?:Once|Passive|Capture)$/;function xa(e){let t;if(No.test(e)){t={};let n;for(;n=e.match(No);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let yn=0;const wa=Promise.resolve(),$a=()=>yn||(wa.then(()=>yn=0),yn=Date.now());function Ca(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Xe(ka(n,s.value),t,5,[n])};return s.value=e,s.attached=$a(),s}function ka(e,t){if(X(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Fo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sa=(e,t,s,n,o,l)=>{const r=o==="svg";t==="class"?pa(e,n,r):t==="style"?ga(e,s,n):Ys(t)?Nn(t)||ya(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ta(e,t,n,r))?(Lo(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,n,r,l,t!=="value")):e._isVueCE&&(Ea(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xe(n)))?Lo(e,Ge(t),n,l,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Io(e,t,n,r))};function Ta(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fo(t)&&le(s));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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Fo(t)&&xe(s)?!1:t in e}function Ea(e,t){const s=e._def.props;if(!s)return!1;const n=Ge(t);return Array.isArray(s)?s.some(o=>Ge(o)===n):Object.keys(s).some(o=>Ge(o)===n)}const Js=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?s=>Ls(t,s):t};function Ma(e){e.target.composing=!0}function Ro(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Gt=Symbol("_assign");function jo(e,t,s){return t&&(e=e.trim()),s&&(e=Zs(e)),e}const Qt={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[Gt]=Js(o);const l=n||o.props&&o.props.type==="number";It(e,t?"change":"input",r=>{r.target.composing||e[Gt](jo(e.value,s,l))}),(s||l)&&It(e,"change",()=>{e.value=jo(e.value,s,l)}),t||(It(e,"compositionstart",Ma),It(e,"compositionend",Ro),It(e,"change",Ro))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:l}},r){if(e[Gt]=Js(r),e.composing)return;const a=(l||e.type==="number")&&!/^0\d/.test(e.value)?Zs(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===u)||(e.value=u))}},Oa={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=Qs(t);It(e,"change",()=>{const l=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?Zs(qs(r)):qs(r));e[Gt](e.multiple?o?new Set(l):l:l[0]),e._assigning=!0,fl(()=>{e._assigning=!1})}),e[Gt]=Js(n)},mounted(e,{value:t}){Ho(e,t)},beforeUpdate(e,t,s){e[Gt]=Js(s)},updated(e,{value:t}){e._assigning||Ho(e,t)}};function Ho(e,t){const s=e.multiple,n=X(t);if(!(s&&!n&&!Qs(t))){for(let o=0,l=e.options.length;o<l;o++){const r=e.options[o],a=qs(r);if(s)if(n){const u=typeof a;u==="string"||u==="number"?r.selected=t.some(m=>String(m)===String(a)):r.selected=yi(t,a)>-1}else r.selected=t.has(a);else if(ks(qs(r),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function qs(e){return"_value"in e?e._value:e.value}const Aa=["ctrl","shift","alt","meta"],Ia={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)=>Aa.some(s=>e[`${s}Key`]&&!t.includes(s))},Dt=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...l)=>{for(let r=0;r<t.length;r++){const a=Ia[t[r]];if(a&&a(o,t))return}return e(o,...l)}))},La=we({patchProp:Sa},ia);let Do;function Pa(){return Do||(Do=Hr(La))}const Na=((...e)=>{const t=Pa().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Ra(n);if(!o)return;const l=t._component;!le(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,Fa(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t});function Fa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ra(e){return xe(e)?document.querySelector(e):e}const Zl=500,ei=ae([]),ti=ae({provides:[],injects:[]}),Qn=ae([]),si=ae([]),ni=ae([]),oi=ae(!1),li=ae({});let Gs=!1,Xt="*",pt=null;function is(e){return e?e.map(t=>({...t})):[]}function ja(e){return e?e.map(t=>({...t})):[]}function Ha(){if(typeof document>"u")return"";if(document.referrer)try{return new URL(document.referrer).origin}catch{}return""}function $s(){var e;Xt&&((e=window.top)==null||e.postMessage({type:"observatory:request"},Xt))}function ii(e){var s;if(((s=e.data)==null?void 0:s.type)!=="observatory:snapshot"||Xt&&e.origin!==Xt)return;const t=e.data.data;ei.value=is(t.fetch),ti.value=t.provideInject?{provides:is(t.provideInject.provides),injects:is(t.provideInject.injects)}:{provides:[],injects:[]},Qn.value=is(t.composables),si.value=ja(t.renders),ni.value=is(t.transitions),li.value=t.features||{},oi.value=!0}function ri(){document.visibilityState==="hidden"?pt!==null&&(window.clearInterval(pt),pt=null):pt===null&&Gs&&(pt=window.setInterval($s,Zl),$s())}function Da(){Gs||typeof window>"u"||(Gs=!0,Xt=Ha(),window.addEventListener("message",ii),document.addEventListener("visibilitychange",ri),pt=window.setInterval($s,Zl),$s())}function Va(){pt!==null&&(window.clearInterval(pt),pt=null),window.removeEventListener("message",ii),document.removeEventListener("visibilitychange",ri),Gs=!1}function vs(){return Xt}function Ua(){Qn.value=[]}function Zt(){return Da(),{fetch:ei,provideInject:ti,composables:Qn,renders:si,transitions:ni,features:li,connected:oi,refresh:$s,clearComposables:Ua}}const Ba={class:"view"},Ka={class:"stats-row"},Wa={class:"stat-card"},za={class:"stat-val"},Ja={class:"stat-card"},qa={class:"stat-val",style:{color:"var(--teal)"}},Ga={class:"stat-card"},Ya={class:"stat-val",style:{color:"var(--amber)"}},Qa={class:"stat-card"},Xa={class:"stat-val",style:{color:"var(--red)"}},Za={class:"toolbar"},ec={class:"split"},tc={class:"table-wrap"},sc={class:"data-table"},nc=["onClick"],oc={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},lc=["title"],ic={class:"muted text-sm"},rc={class:"mono text-sm"},ac={style:{height:"4px",background:"var(--bg2)","border-radius":"2px",overflow:"hidden"}},cc={key:0},uc={colspan:"7",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},dc={key:0,class:"detail-panel"},fc={class:"detail-header"},pc={class:"mono bold",style:{"font-size":"12px"}},hc={class:"flex gap-2"},vc={class:"meta-grid"},mc={class:"muted text-sm"},gc={class:"mono text-sm",style:{"word-break":"break-all"}},_c={class:"payload-box"},bc={class:"mono text-sm muted"},yc={key:1,class:"detail-empty"},xc={class:"waterfall"},wc={class:"waterfall-header"},$c={key:0,class:"waterfall-body"},Cc={class:"mono muted text-sm",style:{width:"140px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","flex-shrink":"0"}},kc={class:"wf-track"},Sc={class:"mono muted text-sm",style:{width:"44px","text-align":"right","flex-shrink":"0"}},Tc=Ft({__name:"FetchDashboard",setup(e){const{fetch:t,connected:s}=Zt(),n=ae("all"),o=ae(""),l=ae(null),r=ae(!0),a=ce(()=>{const E=[...t.value].sort((H,ie)=>H.startTime-ie.startTime),j=E.length>0?E[0].startTime:0;return E.map(H=>({...H,startOffset:Math.max(0,H.startTime-j)}))}),u=ce(()=>a.value.find(E=>E.id===l.value)??null),m=ce(()=>({ok:a.value.filter(E=>E.status==="ok"||E.status==="cached").length,pending:a.value.filter(E=>E.status==="pending").length,error:a.value.filter(E=>E.status==="error").length})),d=ce(()=>a.value.filter(E=>{if(n.value!=="all"&&E.status!==n.value)return!1;const j=o.value.toLowerCase();return!(j&&!E.key.toLowerCase().includes(j)&&!E.url.toLowerCase().includes(j))})),g=ce(()=>{if(!u.value)return[];const E=u.value;return[["url",E.url],["status",E.status],["origin",E.origin],["duration",E.ms!=null?`${E.ms}ms`:"—"],["size",E.size?Z(E.size):"—"],["cached",E.cached?"yes":"no"]]}),I=ce(()=>{if(!u.value)return"";const E=u.value.payload;if(E===void 0)return"(no payload captured yet)";try{return JSON.stringify(E,null,2)}catch{return String(E)}});function w(E){return{ok:"badge-ok",error:"badge-err",pending:"badge-warn",cached:"badge-gray"}[E]??"badge-gray"}function x(E){return{ok:"var(--teal)",error:"var(--red)",pending:"var(--amber)",cached:"var(--border)"}[E]??"var(--border)"}function L(E){const j=a.value.filter(ie=>ie.ms!=null).map(ie=>ie.ms),H=j.length>0?Math.max(...j,1):1;return E.ms!=null?Math.max(4,Math.round(E.ms/H*100)):4}function z(){const E=a.value.filter(H=>H.ms!=null);return E.length>0?Math.max(...E.map(H=>H.startOffset+H.ms),1):1}function G(E){const j=z();return Math.min(98,Math.round(E.startOffset/j*100))}function D(E){if(E.ms==null)return 2;const j=z(),H=G(E);return Math.min(100-H,Math.max(2,Math.round(E.ms/j*100)))}function Z(E){return E<1024?`${E}B`:`${(E/1024).toFixed(1)}KB`}return(E,j)=>(T(),M("div",Ba,[i("div",Ka,[i("div",Wa,[j[7]||(j[7]=i("div",{class:"stat-label"},"total",-1)),i("div",za,b(a.value.length),1)]),i("div",Ja,[j[8]||(j[8]=i("div",{class:"stat-label"},"success",-1)),i("div",qa,b(m.value.ok),1)]),i("div",Ga,[j[9]||(j[9]=i("div",{class:"stat-label"},"pending",-1)),i("div",Ya,b(m.value.pending),1)]),i("div",Qa,[j[10]||(j[10]=i("div",{class:"stat-label"},"error",-1)),i("div",Xa,b(m.value.error),1)])]),i("div",Za,[i("button",{class:oe({active:n.value==="all"}),onClick:j[0]||(j[0]=H=>n.value="all")},"all",2),i("button",{class:oe({"danger-active":n.value==="error"}),onClick:j[1]||(j[1]=H=>n.value="error")},"errors",2),i("button",{class:oe({active:n.value==="pending"}),onClick:j[2]||(j[2]=H=>n.value="pending")},"pending",2),i("button",{class:oe({active:n.value==="cached"}),onClick:j[3]||(j[3]=H=>n.value="cached")},"cached",2),Nt(i("input",{"onUpdate:modelValue":j[4]||(j[4]=H=>o.value=H),type:"search",placeholder:"search key or url…",style:{"max-width":"240px","margin-left":"auto"}},null,512),[[Qt,o.value]])]),i("div",ec,[i("div",tc,[i("table",sc,[j[11]||(j[11]=i("thead",null,[i("tr",null,[i("th",null,"key"),i("th",null,"url"),i("th",null,"status"),i("th",null,"origin"),i("th",null,"size"),i("th",null,"time"),i("th",{style:{"min-width":"80px"}},"bar")])],-1)),i("tbody",null,[(T(!0),M(ue,null,ye(d.value,H=>{var ie;return T(),M("tr",{key:H.id,class:oe({selected:((ie=u.value)==null?void 0:ie.id)===H.id}),onClick:be=>l.value=H.id},[i("td",null,[i("span",oc,b(H.key),1)]),i("td",null,[i("span",{class:"mono",style:{"font-size":"11px","max-width":"200px",display:"block",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},title:H.url},b(H.url),9,lc)]),i("td",null,[i("span",{class:oe(["badge",w(H.status)])},b(H.status),3)]),i("td",null,[i("span",{class:oe(["badge",H.origin==="ssr"?"badge-info":"badge-gray"])},b(H.origin),3)]),i("td",ic,b(H.size?Z(H.size):"—"),1),i("td",rc,b(H.ms!=null?`${H.ms}ms`:"—"),1),i("td",null,[i("div",ac,[i("div",{style:Ce({width:`${L(H)}%`,background:x(H.status),height:"100%",borderRadius:"2px"})},null,4)])])],10,nc)}),128)),d.value.length?ne("",!0):(T(),M("tr",cc,[i("td",uc,b(wt(s)?"No fetches recorded yet.":"Waiting for connection to the Nuxt app…"),1)]))])])]),u.value?(T(),M("div",dc,[i("div",fc,[i("span",pc,b(u.value.key),1),i("div",hc,[i("button",{onClick:j[5]||(j[5]=H=>l.value=null)},"×")])]),i("div",vc,[(T(!0),M(ue,null,ye(g.value,([H,ie])=>(T(),M(ue,{key:H},[i("span",mc,b(H),1),i("span",gc,b(ie),1)],64))),128))]),j[12]||(j[12]=i("div",{class:"section-label"},"payload",-1)),i("pre",_c,b(I.value),1),j[13]||(j[13]=i("div",{class:"section-label",style:{"margin-top":"10px"}},"source",-1)),i("div",bc,b(u.value.file)+":"+b(u.value.line),1)])):(T(),M("div",yc,"select a call to inspect"))]),i("div",xc,[i("div",wc,[j[14]||(j[14]=i("div",{class:"section-label",style:{"margin-top":"0","margin-bottom":"0"}},"waterfall",-1)),i("button",{class:oe({active:r.value}),onClick:j[6]||(j[6]=H=>r.value=!r.value)},b(r.value?"hide":"show"),3)]),r.value?(T(),M("div",$c,[(T(!0),M(ue,null,ye(a.value,H=>(T(),M("div",{key:H.id,class:"wf-row"},[i("span",Cc,b(H.key),1),i("div",kc,[i("div",{class:"wf-bar",style:Ce({left:`${G(H)}%`,width:`${Math.max(2,D(H))}%`,background:x(H.status)})},null,4)]),i("span",Sc,b(H.ms!=null?`${H.ms}ms`:"—"),1)]))),128))])):ne("",!0)])]))}}),es=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},Ec=es(Tc,[["__scopeId","data-v-4f9bcc52"]]),Mc={class:"view"},Oc={class:"toolbar"},Ac=["onClick"],Ic={class:"split"},Lc={class:"graph-area"},Pc={key:0,class:"canvas-stage"},Nc=["width","height","viewBox"],Fc=["d"],Rc=["onClick"],jc={class:"mono node-label"},Hc={key:0,class:"badge badge-ok badge-xs"},Dc={key:1,class:"badge badge-err badge-xs"},Vc={key:1,class:"graph-empty"},Uc={key:0,class:"detail-panel"},Bc={class:"detail-header"},Kc={class:"mono bold",style:{"font-size":"12px"}},Wc={key:0,class:"detail-section"},zc={class:"section-label"},Jc={class:"detail-list"},qc={class:"row-main"},Gc={class:"mono text-sm row-key"},Yc=["title"],Qc=["onClick"],Xc={key:0,class:"row-warning"},Zc={key:1,class:"row-consumers"},eu={key:0,class:"muted text-sm"},tu={key:2,class:"muted text-sm",style:{padding:"2px 0","font-size":"11px"}},su={key:3,class:"value-box"},nu={class:"section-label"},ou={class:"detail-list"},lu={class:"mono text-sm row-key"},iu={key:0,class:"badge badge-ok"},ru={key:1,class:"badge badge-err"},au=["title"],cu={key:2,class:"muted text-sm",style:{"margin-top":"8px"}},uu={key:1,class:"detail-empty"},Vt=140,Ut=32,du=72,Bt=18,fu=Ft({__name:"ProvideInjectGraph",setup(e){const{provideInject:t,connected:s}=Zt();function n(O){return O.injects.some(y=>!y.ok)?"var(--red)":O.type==="both"?"var(--blue)":O.type==="provider"?"var(--teal)":"var(--text3)"}function o(O,y){return y==="all"?!0:y==="warn"?O.injects.some(f=>!f.ok):y==="shadow"?O.provides.some(f=>f.isShadowing):O.provides.some(f=>f.key===y)||O.injects.some(f=>f.key===y)}function l(O,y){if(!y)return!0;const f=y.toLowerCase();return O.label.toLowerCase().includes(f)||O.componentName.toLowerCase().includes(f)||O.provides.some(_=>_.key.toLowerCase().includes(f))||O.injects.some(_=>_.key.toLowerCase().includes(f))}function r(O){let y=0;const f=[O];for(;f.length;){const _=f.pop();_.children.length===0?y++:f.push(..._.children)}return y}function a(O){if(typeof O=="string")return O;try{return JSON.stringify(O)}catch{return String(O)}}function u(O){return typeof O=="object"&&O!==null}function m(O){if(O===null)return"null";if(Array.isArray(O))return`Array(${O.length})`;if(typeof O=="object"){const y=Object.keys(O);return y.length?`{ ${y.join(", ")} }`:"{}"}return a(O)}function d(O){if(!u(O))return a(O);try{return JSON.stringify(O,null,2)}catch{return a(O)}}function g(O,y,f){return`${O}:${y}:${f}`}function I(O){return O.split("/").pop()??O}function w(O){var f;if(!O||O==="unknown")return;const y=vs();y&&((f=window.top)==null||f.postMessage({type:"observatory:open-in-editor",file:O},y))}function x(O){return String(O.componentUid)}const L=ce(()=>{const O=new Map,y=new Map;function f(k){const K=x(k),de=O.get(K);if(de)return de;const ve={id:K,label:I(k.componentFile),componentName:k.componentName??I(k.componentFile),componentFile:k.componentFile,type:"consumer",provides:[],injects:[],children:[]};return O.set(K,ve),y.set(K,k.parentUid!==void 0?String(k.parentUid):null),ve}const _=new Map;for(const k of t.value.injects){const K=_.get(k.key)??[];K.push(k),_.set(k.key,K)}const C=new Map;for(const k of t.value.provides)C.set(k.componentUid,k.componentName);for(const k of t.value.injects)C.set(k.componentUid,k.componentName);for(const k of t.value.provides){const K=f(k),de=_.get(k.key)??[];K.provides.push({key:k.key,val:m(k.valueSnapshot),raw:k.valueSnapshot,reactive:k.isReactive,complex:u(k.valueSnapshot),scope:k.scope??"component",isShadowing:k.isShadowing??!1,consumerUids:de.map(ve=>ve.componentUid),consumerNames:de.map(ve=>ve.componentName)})}for(const k of t.value.injects)f(k).injects.push({key:k.key,from:k.resolvedFromFile??null,fromName:k.resolvedFromUid!==void 0?C.get(k.resolvedFromUid)??null:null,ok:k.resolved});for(const k of O.values())k.injects.some(K=>!K.ok)?k.type="error":k.provides.length&&k.injects.length?k.type="both":k.provides.length?k.type="provider":k.type="consumer";const se=[];for(const[k,K]of O.entries()){const de=y.get(k),ve=de?O.get(de):void 0;ve?ve.children.push(K):se.push(K)}return se}),z=ae("all"),G=ae(""),D=ae(null),Z=ae(new Set);xt(D,()=>{Z.value=new Set});function E(O){const y=new Set(Z.value);y.has(O)?y.delete(O):y.add(O),Z.value=y}const j=ce(()=>{const O=new Set,y=[...L.value];for(;y.length;){const f=y.pop();f.provides.forEach(_=>O.add(_.key)),f.injects.forEach(_=>O.add(_.key)),y.push(...f.children)}return[...O]}),H=ce(()=>{function O(y){const f=[],_=[y];for(;_.length;){const se=_.pop();f.push(se);for(let k=se.children.length-1;k>=0;k--)_.push(se.children[k])}const C=new Map;for(let se=f.length-1;se>=0;se--){const k=f[se],K=k.children.map(ve=>C.get(ve)??null).filter(ve=>ve!==null);!(o(k,z.value)&&l(k,G.value))&&!K.length?C.set(k,null):C.set(k,{...k,children:K})}return C.get(y)??null}return L.value.map(O).filter(Boolean)});xt([H,D],([O,y])=>{if(!y)return;const f=new Set,_=[...O];for(;_.length;){const C=_.pop();f.add(C.id),_.push(...C.children)}f.has(y.id)||(D.value=null)});const ie=ce(()=>{const O=[],y=Bt;let f=y;for(const _ of H.value){const C=[{node:_,depth:0,slotLeft:f,parentId:null}];for(;C.length;){const{node:k,depth:K,slotLeft:de,parentId:ve}=C.pop(),He=r(k)*(Vt+Bt)-Bt;O.push({data:k,parentId:ve,x:Math.round(de+He/2),y:Math.round(y+K*(Ut+du)+Ut/2)});let We=de;const Ct=[];for(const $e of k.children){const Be=r($e);Ct.push({node:$e,depth:K+1,slotLeft:We,parentId:k.id}),We+=Be*(Vt+Bt)}for(let $e=Ct.length-1;$e>=0;$e--)C.push(Ct[$e])}const se=r(_);f+=se*(Vt+Bt)+Bt*2}return O}),be=ce(()=>ie.value.reduce((O,y)=>Math.max(O,y.x+Vt/2+20),520)),J=ce(()=>ie.value.reduce((O,y)=>Math.max(O,y.y+Ut/2+20),200)),re=ce(()=>{const O=new Map(ie.value.map(y=>[y.data.id,y]));return ie.value.filter(y=>y.parentId!==null).map(y=>{const f=O.get(y.parentId);return{id:`${f.data.id}--${y.data.id}`,x1:f.x,y1:f.y+Ut/2,x2:y.x,y2:y.y-Ut/2}})});return(O,y)=>(T(),M("div",Mc,[i("div",Oc,[i("button",{class:oe({active:z.value==="all"}),onClick:y[0]||(y[0]=f=>z.value="all")},"all keys",2),(T(!0),M(ue,null,ye(j.value,f=>(T(),M("button",{key:f,style:{"font-family":"var(--mono)"},class:oe({active:z.value===f}),onClick:_=>z.value=f},b(f),11,Ac))),128)),i("button",{style:{"margin-left":"auto"},class:oe({"danger-active":z.value==="shadow"}),onClick:y[1]||(y[1]=f=>z.value=z.value==="shadow"?"all":"shadow")}," shadowed ",2),i("button",{class:oe({"danger-active":z.value==="warn"}),onClick:y[2]||(y[2]=f=>z.value=z.value==="warn"?"all":"warn")}," warnings ",2),Nt(i("input",{"onUpdate:modelValue":y[3]||(y[3]=f=>G.value=f),type:"search",placeholder:"search component or key…",style:{"max-width":"200px"}},null,512),[[Qt,G.value]])]),i("div",Ic,[i("div",Lc,[y[6]||(y[6]=Jr('<div class="legend" data-v-0c07531b><span class="dot" style="background:var(--teal);" data-v-0c07531b></span><span data-v-0c07531b>provides</span><span class="dot" style="background:var(--blue);" data-v-0c07531b></span><span data-v-0c07531b>both</span><span class="dot" style="background:var(--text3);" data-v-0c07531b></span><span data-v-0c07531b>injects</span><span class="dot" style="background:var(--red);" data-v-0c07531b></span><span data-v-0c07531b>missing provider</span></div>',1)),ie.value.length?(T(),M("div",Pc,[i("div",{class:"canvas-wrap",style:Ce({width:`${be.value}px`,height:`${J.value}px`})},[(T(),M("svg",{class:"edges-svg",width:be.value,height:J.value,viewBox:`0 0 ${be.value} ${J.value}`},[(T(!0),M(ue,null,ye(re.value,f=>(T(),M("path",{key:f.id,d:`M ${f.x1},${f.y1} C ${f.x1},${(f.y1+f.y2)/2} ${f.x2},${(f.y1+f.y2)/2} ${f.x2},${f.y2}`,class:"edge",fill:"none"},null,8,Fc))),128))],8,Nc)),(T(!0),M(ue,null,ye(ie.value,f=>{var _;return T(),M("div",{key:f.data.id,class:oe(["graph-node",{"is-selected":((_=D.value)==null?void 0:_.id)===f.data.id}]),style:Ce({left:`${f.x-Vt/2}px`,top:`${f.y-Ut/2}px`,width:`${Vt}px`,"--node-color":n(f.data)}),onClick:C=>D.value=f.data},[i("span",{class:"node-dot",style:Ce({background:n(f.data)})},null,4),i("span",jc,b(f.data.label),1),f.data.provides.length?(T(),M("span",Hc," +"+b(f.data.provides.length),1)):ne("",!0),f.data.injects.some(C=>!C.ok)?(T(),M("span",Dc,"!")):ne("",!0)],14,Rc)}),128))],4)])):(T(),M("div",Vc,b(wt(s)?"No components match the current provide/inject filter.":"Waiting for connection to the Nuxt app…"),1))]),D.value?(T(),M("div",Uc,[i("div",Bc,[i("span",Kc,b(D.value.label),1),D.value.componentFile&&D.value.componentFile!=="unknown"?(T(),M("button",{key:0,class:"jump-btn",title:"Open in editor",onClick:y[4]||(y[4]=f=>w(D.value.componentFile))}," open ↗ ")):ne("",!0),i("button",{onClick:y[5]||(y[5]=f=>D.value=null)},"×")]),D.value.provides.length?(T(),M("div",Wc,[i("div",zc,"provides ("+b(D.value.provides.length)+")",1),i("div",Jc,[(T(!0),M(ue,null,ye(D.value.provides,(f,_)=>(T(),M("div",{key:g(D.value.id,f.key,_),class:"provide-row"},[i("div",qc,[i("span",Gc,b(f.key),1),i("span",{class:"mono text-sm muted row-value-preview",title:f.val},b(f.val),9,Yc),i("span",{class:oe(["badge scope-badge",`scope-${f.scope}`])},b(f.scope),3),i("span",{class:oe(["badge",f.reactive?"badge-ok":"badge-gray"])},b(f.reactive?"reactive":"static"),3),f.complex?(T(),M("button",{key:0,class:"row-toggle mono",onClick:C=>E(g(D.value.id,f.key,_))},b(Z.value.has(g(D.value.id,f.key,_))?"hide":"view"),9,Qc)):ne("",!0)]),f.isShadowing?(T(),M("div",Xc,"shadows a parent provide with the same key")):ne("",!0),f.consumerNames.length?(T(),M("div",Zc,[y[7]||(y[7]=i("span",{class:"muted text-sm"},"used by:",-1)),(T(!0),M(ue,null,ye(f.consumerNames,C=>(T(),M("span",{key:C,class:"consumer-chip mono"},b(C),1))),128)),f.consumerNames.length?ne("",!0):(T(),M("span",eu,"no consumers"))])):(T(),M("div",tu,"no consumers detected")),f.complex&&Z.value.has(g(D.value.id,f.key,_))?(T(),M("pre",su,b(d(f.raw)),1)):ne("",!0)]))),128))])])):ne("",!0),D.value.injects.length?(T(),M("div",{key:1,class:"detail-section",style:Ce({marginTop:D.value.provides.length?"10px":"0"})},[i("div",nu,"injects ("+b(D.value.injects.length)+")",1),i("div",ou,[(T(!0),M(ue,null,ye(D.value.injects,f=>(T(),M("div",{key:f.key,class:oe(["inject-row",{"inject-miss":!f.ok}])},[i("span",lu,b(f.key),1),f.ok?(T(),M("span",iu,"resolved")):(T(),M("span",ru,"no provider")),i("span",{class:oe(["mono text-sm row-from",f.fromName?"":"muted"]),title:f.from??"undefined"},b(f.fromName??f.from??"undefined"),11,au)],2))),128))])],4)):ne("",!0),!D.value.provides.length&&!D.value.injects.length?(T(),M("div",cu," no provide/inject in this component ")):ne("",!0)])):(T(),M("div",uu,b(wt(s)?"Click a node to inspect.":"Waiting for connection to the Nuxt app…"),1))])]))}}),pu=es(fu,[["__scopeId","data-v-0c07531b"]]),hu={class:"view"},vu={class:"stats-row"},mu={class:"stat-card"},gu={class:"stat-val"},_u={class:"stat-card"},bu={class:"stat-val",style:{color:"var(--teal)"}},yu={class:"stat-card"},xu={class:"stat-val",style:{color:"var(--red)"}},wu={class:"stat-card"},$u={class:"stat-val"},Cu={class:"toolbar"},ku={class:"list"},Su=["onClick"],Tu={class:"comp-header"},Eu={class:"comp-identity"},Mu={class:"comp-name mono"},Ou={class:"comp-file muted mono"},Au={class:"comp-meta"},Iu={key:0,class:"badge badge-warn"},Lu={key:1,class:"badge badge-warn"},Pu={key:2,class:"badge badge-err"},Nu={key:3,class:"badge badge-ok"},Fu={key:4,class:"badge badge-gray"},Ru={key:0,class:"refs-preview"},ju=["title"],Hu={class:"ref-chip-key"},Du={class:"ref-chip-val"},Vu={key:0,class:"ref-chip-shared-dot",title:"global"},Uu={key:0,class:"muted text-sm"},Bu={key:0,class:"leak-banner"},Ku={key:1,class:"global-banner"},Wu={key:2,class:"muted text-sm",style:{padding:"2px 0 6px"}},zu=["title","onClick"],Ju={class:"ref-row-actions"},qu=["title","onClick"],Gu={key:1,class:"badge badge-amber text-xs"},Yu=["onClick"],Qu={class:"section-label",style:{"margin-top":"10px"}},Xu={class:"muted",style:{"font-weight":"400","text-transform":"none","letter-spacing":"0"}},Zu={class:"history-list"},ed={class:"history-time mono muted"},td={class:"history-key mono"},sd={class:"history-val mono"},nd={key:0,class:"muted text-sm",style:{padding:"2px 0"}},od={class:"muted text-sm",style:{"min-width":"120px"}},ld={class:"lc-row"},id={class:"mono text-sm"},rd={class:"lc-row"},ad={class:"mono text-sm muted"},cd={class:"lc-row"},ud={class:"mono text-sm muted",style:{display:"flex","align-items":"center",gap:"6px"}},dd=["onClick"],fd={class:"lc-row"},pd={class:"mono text-sm muted"},hd={class:"lc-row"},vd={class:"mono text-sm"},md={class:"lc-row"},gd={class:"mono text-sm"},_d={key:0,class:"muted text-sm",style:{padding:"16px 0"}},bd={key:0,class:"lookup-panel"},yd={class:"lookup-header"},xd={class:"mono text-sm"},wd={class:"muted text-sm"},$d={key:0,class:"muted text-sm",style:{padding:"6px 0"}},Cd={class:"mono text-sm"},kd={class:"muted text-sm"},Sd={class:"muted text-sm",style:{"margin-left":"auto"}},Td={class:"edit-dialog"},Ed={class:"edit-dialog-header"},Md={class:"mono"},Od={key:0,class:"edit-error text-sm"},Ad={class:"edit-actions"},Id=Ft({__name:"ComposableTracker",setup(e){const{composables:t,connected:s,clearComposables:n}=Zt();function o(){var _;const f=vs();f&&(n(),(_=window.top)==null||_.postMessage({type:"observatory:clear-composables"},f))}function l(f){if(f===null)return"null";if(f===void 0)return"undefined";if(typeof f=="string")return`"${f}"`;if(typeof f=="object")try{const _=JSON.stringify(f);return _.length>80?_.slice(0,80)+"…":_}catch{return String(f)}return String(f)}function r(f){if(f===null)return"null";if(f===void 0)return"undefined";if(typeof f=="string")return`"${f}"`;if(typeof f=="object")try{return JSON.stringify(f,null,2)}catch{return String(f)}return String(f)}function a(f){return f.split("/").pop()??f}function u(f){var C;if(!f||f==="unknown")return;const _=vs();_&&((C=window.top)==null||C.postMessage({type:"observatory:open-in-editor",file:f},_))}const m=ae("all"),d=ae(""),g=ae(null),I=ce(()=>t.value),w=ce(()=>({mounted:I.value.filter(f=>f.status==="mounted").length,leaks:I.value.filter(f=>f.leak).length})),x=ce(()=>I.value.filter(f=>{if(m.value==="leak"&&!f.leak||m.value==="mounted"&&f.status!=="mounted"||m.value==="unmounted"&&f.status!=="unmounted")return!1;const _=d.value.toLowerCase();if(_){const C=f.name.toLowerCase().includes(_),se=f.componentFile.toLowerCase().includes(_),k=Object.keys(f.refs).some(de=>de.toLowerCase().includes(_)),K=Object.values(f.refs).some(de=>{try{return String(JSON.stringify(de.value)).toLowerCase().includes(_)}catch{return!1}});if(!C&&!se&&!k&&!K)return!1}return!0}));function L(f){return[{label:"onMounted",ok:f.lifecycle.hasOnMounted,status:f.lifecycle.hasOnMounted?"registered":"not used"},{label:"onUnmounted",ok:f.lifecycle.hasOnUnmounted,status:f.lifecycle.hasOnUnmounted?"registered":"missing"},{label:"watchers cleaned",ok:f.lifecycle.watchersCleaned,status:f.lifecycle.watchersCleaned?"all stopped":"NOT stopped"},{label:"intervals cleared",ok:f.lifecycle.intervalsCleaned,status:f.lifecycle.intervalsCleaned?"all cleared":"NOT cleared"}]}function z(f){return f==="computed"?"badge-info":f==="reactive"?"badge-purple":"badge-gray"}const G=ae(new Set);function D(f,_){return`${f}:${_}`}function Z(f){if(f==null||typeof f!="object")return!1;try{return JSON.stringify(f).length>60}catch{return!1}}function E(f,_){return G.value.has(D(f,_))}function j(f,_){const C=D(f,_),se=new Set(G.value);se.has(C)?se.delete(C):se.add(C),G.value=se}const H=ae(null),ie=ce(()=>{if(!H.value)return[];const f=H.value;return I.value.filter(_=>f in _.refs)});function be(f){H.value=H.value===f?null:f}const J=ae(null),re=ae("");function O(f,_,C){re.value="",J.value={id:f,key:_,rawValue:JSON.stringify(C,null,2)}}function y(){var C;if(!J.value)return;let f;try{f=JSON.parse(J.value.rawValue),re.value=""}catch(se){re.value=`Invalid JSON: ${se.message}`;return}const _=vs();_&&((C=window.top)==null||C.postMessage({type:"observatory:edit-composable",id:J.value.id,key:J.value.key,value:f},_),J.value=null)}return(f,_)=>(T(),M("div",hu,[i("div",vu,[i("div",mu,[_[11]||(_[11]=i("div",{class:"stat-label"},"total",-1)),i("div",gu,b(I.value.length),1)]),i("div",_u,[_[12]||(_[12]=i("div",{class:"stat-label"},"mounted",-1)),i("div",bu,b(w.value.mounted),1)]),i("div",yu,[_[13]||(_[13]=i("div",{class:"stat-label"},"leaks",-1)),i("div",xu,b(w.value.leaks),1)]),i("div",wu,[_[14]||(_[14]=i("div",{class:"stat-label"},"instances",-1)),i("div",$u,b(I.value.length),1)])]),i("div",Cu,[i("button",{class:oe({active:m.value==="all"}),onClick:_[0]||(_[0]=C=>m.value="all")},"all",2),i("button",{class:oe({active:m.value==="mounted"}),onClick:_[1]||(_[1]=C=>m.value="mounted")},"mounted",2),i("button",{class:oe({"danger-active":m.value==="leak"}),onClick:_[2]||(_[2]=C=>m.value="leak")},"leaks only",2),i("button",{class:oe({active:m.value==="unmounted"}),onClick:_[3]||(_[3]=C=>m.value="unmounted")},"unmounted",2),Nt(i("input",{"onUpdate:modelValue":_[4]||(_[4]=C=>d.value=C),type:"search",placeholder:"search name, file, or ref…",style:{"max-width":"220px","margin-left":"auto"}},null,512),[[Qt,d.value]]),i("button",{class:"clear-btn",title:"Clear session history",onClick:o},"clear")]),i("div",ku,[(T(!0),M(ue,null,ye(x.value,C=>{var se;return T(),M("div",{key:C.id,class:oe(["comp-card",{leak:C.leak,expanded:g.value===C.id}]),onClick:k=>g.value=g.value===C.id?null:C.id},[i("div",Tu,[i("div",Eu,[i("span",Mu,b(C.name),1),i("span",Ou,b(a(C.componentFile)),1)]),i("div",Au,[C.watcherCount>0&&!C.leak?(T(),M("span",Iu,b(C.watcherCount)+"w",1)):ne("",!0),C.intervalCount>0&&!C.leak?(T(),M("span",Lu,b(C.intervalCount)+"t",1)):ne("",!0),C.leak?(T(),M("span",Pu,"leak")):C.status==="mounted"?(T(),M("span",Nu,"mounted")):(T(),M("span",Fu,"unmounted"))])]),Object.keys(C.refs).length?(T(),M("div",Ru,[(T(!0),M(ue,null,ye(Object.entries(C.refs).slice(0,3),([k,K])=>{var de,ve,je;return T(),M("span",{key:k,class:oe(["ref-chip",{"ref-chip--reactive":K.type==="reactive","ref-chip--computed":K.type==="computed","ref-chip--shared":(de=C.sharedKeys)==null?void 0:de.includes(k)}]),title:(ve=C.sharedKeys)!=null&&ve.includes(k)?"shared global state":""},[i("span",Hu,b(k),1),i("span",Du,b(l(K.value)),1),(je=C.sharedKeys)!=null&&je.includes(k)?(T(),M("span",Vu)):ne("",!0)],10,ju)}),128)),Object.keys(C.refs).length>3?(T(),M("span",Uu," +"+b(Object.keys(C.refs).length-3)+" more ",1)):ne("",!0)])):ne("",!0),g.value===C.id?(T(),M("div",{key:1,class:"comp-detail",onClick:_[5]||(_[5]=Dt(()=>{},["stop"]))},[C.leak?(T(),M("div",Bu,b(C.leakReason),1)):ne("",!0),(se=C.sharedKeys)!=null&&se.length?(T(),M("div",Ku,[_[16]||(_[16]=i("span",{class:"global-dot"},null,-1)),i("span",null,[_[15]||(_[15]=i("strong",null,"global state",-1)),Me(" — "+b(C.sharedKeys.join(", "))+" "+b(C.sharedKeys.length===1?"is":"are")+" shared across all instances of "+b(C.name),1)])])):ne("",!0),_[24]||(_[24]=i("div",{class:"section-label"},"reactive state",-1)),Object.keys(C.refs).length?ne("",!0):(T(),M("div",Wu," no tracked state returned ")),(T(!0),M(ue,null,ye(Object.entries(C.refs),([k,K])=>{var de;return T(),M("div",{key:k,class:"ref-row"},[i("span",{class:"mono text-sm ref-key ref-key--clickable",title:`click to see all instances exposing '${k}'`,onClick:Dt(ve=>be(k),["stop"])},b(k),9,zu),i("span",{class:oe(["mono text-sm ref-val",{"ref-val--full":Z(K.value)&&E(C.id,k),"ref-val--collapsed":Z(K.value)&&!E(C.id,k)}])},b(Z(K.value)&&!E(C.id,k)?l(K.value):r(K.value)),3),i("div",Ju,[Z(K.value)?(T(),M("button",{key:0,class:"expand-btn",title:E(C.id,k)?"Collapse":"Expand",onClick:Dt(ve=>j(C.id,k),["stop"])},b(E(C.id,k)?"▲":"▼"),9,qu)):ne("",!0),i("span",{class:oe(["badge text-xs",z(K.type)])},b(K.type),3),(de=C.sharedKeys)!=null&&de.includes(k)?(T(),M("span",Gu,"global")):ne("",!0),K.type==="ref"?(T(),M("button",{key:2,class:"edit-btn",title:"Edit value",onClick:Dt(ve=>O(C.id,k,K.value),["stop"])}," edit ",8,Yu)):ne("",!0)])])}),128)),C.history&&C.history.length?(T(),M(ue,{key:3},[i("div",Qu,[_[17]||(_[17]=Me(" change history ",-1)),i("span",Xu," ("+b(C.history.length)+" events) ",1)]),i("div",Zu,[(T(!0),M(ue,null,ye([...C.history].reverse().slice(0,20),(k,K)=>(T(),M("div",{key:K,class:"history-row"},[i("span",ed,"+"+b((k.t/1e3).toFixed(2))+"s",1),i("span",td,b(k.key),1),i("span",sd,b(l(k.value)),1)]))),128)),C.history.length>20?(T(),M("div",nd," … "+b(C.history.length-20)+" earlier events ",1)):ne("",!0)])],64)):ne("",!0),_[25]||(_[25]=i("div",{class:"section-label",style:{"margin-top":"10px"}},"lifecycle",-1)),(T(!0),M(ue,null,ye(L(C),k=>(T(),M("div",{key:k.label,class:"lc-row"},[i("span",{class:"lc-dot",style:Ce({background:k.ok?"var(--teal)":"var(--red)"})},null,4),i("span",od,b(k.label),1),i("span",{class:"text-sm",style:Ce({color:k.ok?"var(--teal)":"var(--red)"})},b(k.status),5)]))),128)),_[26]||(_[26]=i("div",{class:"section-label",style:{"margin-top":"10px"}},"context",-1)),i("div",ld,[_[18]||(_[18]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"component",-1)),i("span",id,b(a(C.componentFile)),1)]),i("div",rd,[_[19]||(_[19]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"uid",-1)),i("span",ad,b(C.componentUid),1)]),i("div",cd,[_[20]||(_[20]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"defined in",-1)),i("span",ud,[Me(b(C.file)+":"+b(C.line)+" ",1),i("button",{class:"jump-btn",title:"Open in editor",onClick:Dt(k=>u(C.file),["stop"])},"open ↗",8,dd)])]),i("div",fd,[_[21]||(_[21]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"route",-1)),i("span",pd,b(C.route),1)]),i("div",hd,[_[22]||(_[22]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"watchers",-1)),i("span",vd,b(C.watcherCount),1)]),i("div",md,[_[23]||(_[23]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"intervals",-1)),i("span",gd,b(C.intervalCount),1)])])):ne("",!0)],10,Su)}),128)),x.value.length?ne("",!0):(T(),M("div",_d,b(wt(s)?"No composables recorded yet.":"Waiting for connection to the Nuxt app…"),1))]),ke(Ln,{name:"slide"},{default:Vs(()=>[H.value?(T(),M("div",bd,[i("div",yd,[i("span",xd,b(H.value),1),i("span",wd,"— "+b(ie.value.length)+" instance"+b(ie.value.length!==1?"s":""),1),i("button",{class:"clear-btn",style:{"margin-left":"auto"},onClick:_[6]||(_[6]=C=>H.value=null)},"✕")]),ie.value.length?ne("",!0):(T(),M("div",$d,"No mounted instances expose this key.")),(T(!0),M(ue,null,ye(ie.value,C=>(T(),M("div",{key:C.id,class:"lookup-row"},[i("span",Cd,b(C.name),1),i("span",kd,b(a(C.componentFile)),1),i("span",Sd,b(C.route),1)]))),128))])):ne("",!0)]),_:1}),ke(Ln,{name:"fade"},{default:Vs(()=>[J.value?(T(),M("div",{key:0,class:"edit-overlay",onClick:_[10]||(_[10]=Dt(C=>J.value=null,["self"]))},[i("div",Td,[i("div",Ed,[_[27]||(_[27]=Me(" edit ",-1)),i("span",Md,b(J.value.key),1),i("button",{class:"clear-btn",style:{"margin-left":"auto"},onClick:_[7]||(_[7]=C=>J.value=null)},"✕")]),_[28]||(_[28]=i("p",{class:"muted text-sm",style:{padding:"4px 0 8px"}},[Me(" Value applied immediately to the live ref. Only "),i("span",{class:"mono"},"ref"),Me(" values are writable. ")],-1)),Nt(i("textarea",{"onUpdate:modelValue":_[8]||(_[8]=C=>J.value.rawValue=C),class:"edit-textarea",rows:"6",spellcheck:"false"},null,512),[[Qt,J.value.rawValue]]),re.value?(T(),M("div",Od,b(re.value),1)):ne("",!0),i("div",Ad,[i("button",{onClick:y},"apply"),i("button",{class:"clear-btn",onClick:_[9]||(_[9]=C=>J.value=null)},"cancel")])])])):ne("",!0)]),_:1})]))}}),Ld=es(Id,[["__scopeId","data-v-de545ebb"]]),Pd={class:"view"},Nd={class:"controls"},Fd={class:"mode-group"},Rd={class:"threshold-group"},jd=["min","max","step"],Hd={class:"mono text-sm"},Dd=["value"],Vd={class:"stats-row"},Ud={class:"stat-card"},Bd={class:"stat-val"},Kd={class:"stat-card"},Wd={class:"stat-val"},zd={class:"stat-card"},Jd={class:"stat-val",style:{color:"var(--red)"}},qd={class:"stat-card"},Gd={class:"stat-val"},Yd={class:"inspector"},Qd={class:"roots-panel"},Xd=["onClick"],Zd={class:"root-copy"},ef={class:"root-label mono"},tf={class:"root-sub muted mono"},sf={class:"root-meta mono"},nf={key:0,class:"detail-empty"},of={class:"tree-panel"},lf={class:"tree-toolbar"},rf=["value"],af={class:"tree-frame"},cf={class:"tree-canvas"},uf={key:0,class:"detail-empty"},df={class:"detail-panel"},ff={class:"detail-header"},pf={class:"mono bold",style:{"font-size":"12px"}},hf={class:"detail-pill-row"},vf={class:"detail-pill mono"},mf={class:"detail-pill mono muted"},gf={key:0,class:"detail-pill mono"},_f={key:1,class:"detail-pill mono persistent"},bf={key:2,class:"detail-pill mono hydrated"},yf={class:"detail-pill mono"},xf={class:"meta-grid"},wf={class:"mono text-sm"},$f={class:"mono text-sm"},Cf={class:"mono text-sm muted",style:{display:"flex","align-items":"center",gap:"6px"}},kf={class:"mono text-sm"},Sf={class:"mono text-sm"},Tf={class:"mono text-sm"},Ef={class:"meta-grid"},Mf={class:"mono text-sm"},Of={class:"mono text-sm"},Af={class:"mono text-sm"},If={class:"mono text-sm"},Lf={class:"mono text-sm"},Pf={class:"mono text-sm"},Nf={class:"mono text-sm"},Ff={key:0,class:"muted text-sm"},Rf={class:"section-label",style:{"margin-top":"8px"}},jf={class:"muted",style:{"font-weight":"400","text-transform":"none","letter-spacing":"0"}},Hf={key:1,class:"muted text-sm"},Df={key:2,class:"timeline-list"},Vf={class:"timeline-time mono muted"},Uf={class:"timeline-dur mono"},Bf={key:0,class:"timeline-trigger mono muted"},Kf={class:"timeline-route mono muted",style:{"margin-left":"auto"}},Wf={key:0,class:"muted text-sm",style:{padding:"2px 0"}},zf={key:1,class:"detail-empty"},Jf=Ft({__name:"RenderHeatmap",setup(e){const t=Ft({name:"TreeNode",props:{node:Object,mode:String,threshold:Number,selected:String,expandedIds:Object},emits:["select","toggle"],setup(p,{emit:h}){function S(W){return p.mode==="count"?W.rerenders+W.mountCount:W.avgMs}function ee(W){return S(W)>=p.threshold}function q(W){return{selected:p.selected===W.id,hot:ee(W)}}return()=>{var ss,Zn,eo;const W=p.node,ge=((ss=p.expandedIds)==null?void 0:ss.has(W.id))??!1,Ie=W.children.length>0,Es=p.mode==="count"?`${W.rerenders+W.mountCount}`:`${W.avgMs.toFixed(1)}ms`,Le=p.mode==="count"?"renders":"avg",Se=[],Ms=(Zn=W.element)==null?void 0:Zn.toLowerCase();if(W.element&&W.element!==W.label&&!["div","span","p"].includes(Ms??"")&&Se.push(W.element),W.file!=="unknown"){const De=((eo=W.file.split("/").pop())==null?void 0:eo.replace(/\.vue$/i,""))??W.file;De!==W.label&&!Se.includes(De)&&Se.push(De)}return Te("div",{class:"tree-node"},[Te("div",{class:["tree-row",q(W)],style:{"--tree-depth":String(W.depth)},onClick:De=>{De.stopPropagation(),h("select",W)}},[Te("span",{class:"tree-rail","aria-hidden":"true"}),Te("button",{class:["tree-toggle",{empty:!Ie}],disabled:!Ie,onClick:De=>{De.stopPropagation(),Ie&&h("toggle",W.id)}},Ie?ge?"⌄":"›":""),Te("div",{class:"tree-copy"},[Te("span",{class:"tree-name mono",title:W.label},W.label),Se.length?Te("div",{class:"tree-badges"},Se.slice(0,1).map(De=>Te("span",{class:"tree-badge mono",title:De},De))):null]),Te("div",{class:"tree-metrics mono"},[W.isPersistent?Te("span",{class:"tree-persistent-pill",title:"Layout / persistent component — survives navigation"},"persistent"):null,W.isHydrationMount?Te("span",{class:"tree-hydration-pill",title:"First mount was SSR hydration — not a user-triggered render"},"hydrated"):null,Te("span",{class:"tree-metric-pill"},`${Es} ${Le}`),W.file&&W.file!=="unknown"?Te("button",{class:"tree-jump-btn",title:`Open ${W.file} in editor`,onClick:De=>{De.stopPropagation(),Q(W.file)}},"↗"):null])]),ge&&Ie?Te("div",{class:"tree-children"},W.children.map(De=>Te(t,{node:De,mode:p.mode,threshold:p.threshold,selected:p.selected,expandedIds:p.expandedIds,onSelect:cn=>h("select",cn),onToggle:cn=>h("toggle",cn)}))):null])}}}),{renders:s,connected:n}=Zt(),o=ae("count"),l=ae(""),r="3",a="1600",u=ae(Number(r)),m=ae(Number(a)),d=ce({get:()=>o.value==="count"?u.value:m.value,set:p=>{o.value==="count"?u.value=p:m.value=p}}),g=ae(!1),I=ae(!1),w=ae(""),x=ae(null),L=ae(null),z=ae(new Set),G=ae([]),D=ae(!1);function Z(p){var S;if(p.name&&p.name!=="unknown"&&!/^Component#\d+$/.test(p.name))return p.name;if(p.element)return p.element;const h=(S=p.file.split("/").pop())==null?void 0:S.replace(/\.vue$/i,"");return h&&h!=="unknown"?h:p.name&&p.name!=="unknown"?p.name:`Component#${p.uid}`}function E(p){return`${p.type}: ${p.key}`}function j(p){const h=new Map;for(const q of p)h.set(String(q.uid),{id:String(q.uid),label:Z(q),file:q.file,element:q.element,depth:0,path:[],rerenders:q.rerenders??0,mountCount:q.mountCount??1,avgMs:q.avgMs,triggers:q.triggers.map(E),timeline:q.timeline??[],children:[],parentId:q.parentUid!==void 0?String(q.parentUid):void 0,isPersistent:!!q.isPersistent,isHydrationMount:!!q.isHydrationMount,route:q.route??"/"});const S=[];for(const q of p){const W=h.get(String(q.uid));if(!W)continue;const ge=q.parentUid!==void 0?h.get(String(q.parentUid)):void 0;ge?(W.parentLabel=ge.label,ge.children.push(W)):S.push(W)}function ee(q,W=[],ge=0){q.depth=ge,q.path=[...W,q.label],q.children.forEach(Ie=>ee(Ie,q.path,ge+1))}return S.forEach(q=>ee(q)),S}function H(p){const h=[];function S(ee){h.push(ee),ee.children.forEach(S)}return p.forEach(S),h}function ie(p){return 1+p.children.reduce((h,S)=>h+ie(S),0)}function be(p,h=new Set){return h.add(p.id),p.children.forEach(S=>be(S,h)),h}function J(p,h,S=[]){const ee=[...S,p.id];if(p.id===h)return ee;for(const q of p.children){const W=J(q,h,ee);if(W)return W}return null}function re(p){if(_(p))return p;for(const h of p.children){const S=re(h);if(S)return S}return null}function O(p){if(!p)return new Set;const h=new Set;function S(ee){ee.children.length>0&&(h.add(ee.id),ee.children.forEach(S))}return S(p),h}function y(p,h){const S=O(p);if(!p||!h)return S;function ee(q){const W=q.children.some(Ie=>ee(Ie)),ge=C(q,h);return W&&S.add(q.id),ge||W}return ee(p),S}function f(p){return o.value==="count"?p.rerenders+p.mountCount:p.avgMs}function _(p){return f(p)>=d.value}function C(p,h){if(!h)return!0;const S=h.toLowerCase();return p.label.toLowerCase().includes(S)||p.file.toLowerCase().includes(S)||p.path.some(ee=>ee.toLowerCase().includes(S))||p.triggers.some(ee=>ee.toLowerCase().includes(S))}function se(p,h){return h?C(p,h)||p.children.some(S=>se(S,h)):!0}function k(p){return _(p)||p.children.some(h=>k(h))}function K(p){return!l.value||p.route===l.value?!0:p.timeline.some(h=>h.route===l.value)}function de(p){return K(p)||p.children.some(h=>de(h))}function ve(p,h){const S=se(p,h),ee=!g.value||k(p),q=!l.value||de(p);return S&&ee&&q}function je(p,h){const S=p.children.map(ge=>je(ge,h)).filter(ge=>ge!==null),ee=!h||C(p,h)||S.length>0,q=!g.value||_(p)||S.length>0,W=!l.value||K(p)||S.length>0;return!ee||!q||!W?null:{...p,children:S}}const He=ce(()=>I.value?G.value:s.value),We=ce(()=>j(He.value)),Ct=ce(()=>new Map(We.value.map(p=>[p.id,p]))),$e=ce(()=>H(We.value)),Be=ce(()=>{const p=w.value.trim();return We.value.filter(h=>ve(h,p))}),Ae=ce(()=>L.value?Be.value.find(p=>p.id===L.value)??Ct.value.get(L.value)??null:Be.value[0]??We.value[0]??null),jt=ce(()=>{const p=w.value.trim();return Ae.value?je(Ae.value,p):null}),ts=ce(()=>jt.value?[jt.value]:[]),_t=ce(()=>Be.value.map((p,h)=>({id:p.id,label:`App ${h+1}`,meta:`${ie(p)} nodes`,root:p}))),Xn=ce(()=>{const p=new Set;for(const h of $e.value){h.route&&p.add(h.route);for(const S of h.timeline)S.route&&p.add(S.route)}return[...p].sort()}),c=ce(()=>$e.value.find(p=>p.id===x.value)??null),v=ce(()=>$e.value.reduce((p,h)=>p+h.rerenders+h.mountCount,0)),$=ce(()=>$e.value.filter(p=>_(p)).length),F=ce(()=>{const p=$e.value.filter(h=>h.avgMs>0);return p.length?(p.reduce((h,S)=>h+S.avgMs,0)/p.length).toFixed(1):"0.0"});xt(We,p=>{if(!p.length){L.value=null,x.value=null,z.value=new Set,D.value=!1;return}const h=new Set(p.map(q=>q.id));(!L.value||!h.has(L.value))&&(L.value=p[0].id),x.value&&!$e.value.some(q=>q.id===x.value)&&(x.value=null);const S=new Set($e.value.map(q=>q.id)),ee=new Set([...z.value].filter(q=>S.has(q)));if(!D.value){z.value=O(Ae.value),D.value=!0;return}!w.value.trim()&&x.value&&Ae.value&&(J(Ae.value,x.value)??[]).forEach(W=>ee.add(W)),z.value=ee},{immediate:!0}),xt(w,p=>{if(!Ae.value)return;const h=p.trim();if(h){z.value=y(Ae.value,h);return}if(x.value){const S=J(Ae.value,x.value);z.value=S?new Set(S):O(Ae.value);return}z.value=O(Ae.value)}),xt([g,d,o,Be],()=>{if(!g.value)return;const p=Be.value[0]??null;if(!p){x.value=null;return}const h=re(p);if(!h){x.value=null;return}L.value=p.id,x.value!==h.id&&(x.value=h.id),z.value=new Set(J(p,h.id)??[p.id])});function A(p){x.value=p.id;const h=We.value.find(S=>be(S).has(p.id));h&&(L.value=h.id,z.value=new Set(J(h,p.id)??[h.id]))}function P(p){const h=new Set(z.value);h.has(p)?h.delete(p):h.add(p),z.value=h}function U(p){L.value=p.id,z.value=O(p),D.value=!0}function V(p){const h=p.target;w.value=(h==null?void 0:h.value)??""}function R(){if(I.value){I.value=!1,G.value=[];return}G.value=JSON.parse(JSON.stringify(s.value)),I.value=!0}function N(p){var h;return((h=p.split("/").pop())==null?void 0:h.replace(/\.vue$/i,""))??p}function Q(p){var S;if(!p||p==="unknown")return;const h=vs();h&&((S=window.top)==null||S.postMessage({type:"observatory:open-in-editor",file:p},h))}function B(p){return p.path.join(" / ")}function Y(p){return p<1?"<1ms":`${p.toFixed(1)}ms`}function te(p){return`+${(p/1e3).toFixed(2)}s`}return(p,h)=>(T(),M("div",Pd,[i("div",Nd,[i("div",Fd,[i("button",{class:oe({active:o.value==="count"}),onClick:h[0]||(h[0]=S=>o.value="count")},"render count",2),i("button",{class:oe({active:o.value==="time"}),onClick:h[1]||(h[1]=S=>o.value="time")},"render time",2)]),i("div",Rd,[h[7]||(h[7]=i("span",{class:"muted text-sm"},"threshold",-1)),Nt(i("input",{"onUpdate:modelValue":h[2]||(h[2]=S=>d.value=S),type:"range",min:o.value==="count"?2:4,max:o.value==="count"?20:100,step:o.value==="count"?1:4,style:{width:"90px"}},null,8,jd),[[Qt,d.value,void 0,{number:!0}]]),i("span",Hd,b(d.value)+b(o.value==="count"?"+ renders":"ms+"),1)]),i("button",{class:oe({active:g.value}),onClick:h[3]||(h[3]=S=>g.value=!g.value)},"hot only",2),Nt(i("select",{"onUpdate:modelValue":h[4]||(h[4]=S=>l.value=S),class:"route-select mono text-sm",title:"Filter by route"},[h[8]||(h[8]=i("option",{value:""},"all routes",-1)),(T(!0),M(ue,null,ye(Xn.value,S=>(T(),M("option",{key:S,value:S},b(S),9,Dd))),128))],512),[[Oa,l.value]]),i("button",{class:oe({active:I.value}),style:{"margin-left":"auto"},onClick:R},b(I.value?"unfreeze":"freeze snapshot"),3)]),i("div",Vd,[i("div",Ud,[h[9]||(h[9]=i("div",{class:"stat-label"},"components",-1)),i("div",Bd,b($e.value.length),1)]),i("div",Kd,[h[10]||(h[10]=i("div",{class:"stat-label"},"total renders",-1)),i("div",Wd,b(v.value),1)]),i("div",zd,[h[11]||(h[11]=i("div",{class:"stat-label"},"hot",-1)),i("div",Jd,b($.value),1)]),i("div",qd,[h[12]||(h[12]=i("div",{class:"stat-label"},"avg time",-1)),i("div",Gd,b(F.value)+"ms",1)])]),i("div",Yd,[i("aside",Qd,[h[13]||(h[13]=i("div",{class:"panel-title"},"apps",-1)),(T(!0),M(ue,null,ye(_t.value,S=>(T(),M("button",{key:S.id,class:oe(["root-item",{active:L.value===S.id}]),onClick:ee=>U(S.root)},[i("div",Zd,[i("span",ef,b(S.label),1),i("span",tf,b(S.root.label),1)]),i("span",sf,b(S.meta),1)],10,Xd))),128)),_t.value.length?ne("",!0):(T(),M("div",nf,"no apps match"))]),i("section",of,[i("div",lf,[i("input",{value:w.value,class:"search-input mono",placeholder:"Find components...",onInput:V},null,40,rf)]),i("div",af,[i("div",cf,[(T(!0),M(ue,null,ye(ts.value,S=>{var ee;return T(),Ot(wt(t),{key:S.id,node:S,mode:o.value,threshold:d.value,selected:(ee=c.value)==null?void 0:ee.id,"expanded-ids":z.value,onSelect:A,onToggle:P},null,8,["node","mode","threshold","selected","expanded-ids"])}),128))]),ts.value.length?ne("",!0):(T(),M("div",uf,b(wt(n)?"No render activity recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]),i("aside",df,[c.value?(T(),M(ue,{key:0},[i("div",ff,[i("span",pf,b(c.value.label),1),i("button",{onClick:h[5]||(h[5]=S=>x.value=null)},"×")]),i("div",hf,[i("span",vf,b(c.value.rerenders+c.value.mountCount)+" render"+b(c.value.rerenders+c.value.mountCount!==1?"s":""),1),i("span",mf,b(c.value.mountCount)+" mount"+b(c.value.mountCount!==1?"s":""),1),c.value.rerenders?(T(),M("span",gf,b(c.value.rerenders)+" re-render"+b(c.value.rerenders!==1?"s":""),1)):ne("",!0),c.value.isPersistent?(T(),M("span",_f,"persistent")):ne("",!0),c.value.isHydrationMount?(T(),M("span",bf,"hydrated")):ne("",!0),i("span",yf,b(c.value.avgMs.toFixed(1))+"ms avg",1),i("span",{class:oe(["detail-pill mono",{hot:_(c.value)}])},b(_(c.value)?"hot":"cool"),3)]),h[29]||(h[29]=i("div",{class:"section-label"},"identity",-1)),i("div",xf,[h[14]||(h[14]=i("span",{class:"muted text-sm"},"label",-1)),i("span",wf,b(c.value.label),1),h[15]||(h[15]=i("span",{class:"muted text-sm"},"path",-1)),i("span",$f,b(B(c.value)),1),h[16]||(h[16]=i("span",{class:"muted text-sm"},"file",-1)),i("span",Cf,[Me(b(c.value.file)+" ",1),c.value.file&&c.value.file!=="unknown"?(T(),M("button",{key:0,class:"jump-btn",title:"Open in editor",onClick:h[6]||(h[6]=S=>Q(c.value.file))}," open ↗ ")):ne("",!0)]),h[17]||(h[17]=i("span",{class:"muted text-sm"},"file name",-1)),i("span",kf,b(N(c.value.file)),1),h[18]||(h[18]=i("span",{class:"muted text-sm"},"parent",-1)),i("span",Sf,b(c.value.parentLabel??"none"),1),h[19]||(h[19]=i("span",{class:"muted text-sm"},"children",-1)),i("span",Tf,b(c.value.children.length),1)]),h[30]||(h[30]=i("div",{class:"section-label"},"rendering",-1)),i("div",Ef,[h[20]||(h[20]=i("span",{class:"muted text-sm"},"total renders",-1)),i("span",Mf,b(c.value.rerenders+c.value.mountCount),1),h[21]||(h[21]=i("span",{class:"muted text-sm"},"re-renders",-1)),i("span",Of,b(c.value.rerenders),1),h[22]||(h[22]=i("span",{class:"muted text-sm"},"mounts",-1)),i("span",Af,b(c.value.mountCount),1),h[23]||(h[23]=i("span",{class:"muted text-sm"},"persistent",-1)),i("span",{class:"mono text-sm",style:Ce({color:c.value.isPersistent?"var(--amber)":"inherit"})},b(c.value.isPersistent?"yes — survives navigation":"no"),5),h[24]||(h[24]=i("span",{class:"muted text-sm"},"hydration mount",-1)),i("span",If,b(c.value.isHydrationMount?"yes — SSR hydrated":"no"),1),h[25]||(h[25]=i("span",{class:"muted text-sm"},"avg render time",-1)),i("span",Lf,b(c.value.avgMs.toFixed(1))+"ms",1),h[26]||(h[26]=i("span",{class:"muted text-sm"},"threshold",-1)),i("span",Pf,b(d.value)+b(o.value==="count"?"+ renders":"ms+"),1),h[27]||(h[27]=i("span",{class:"muted text-sm"},"mode",-1)),i("span",Nf,b(o.value==="count"?"re-render count":"render time"),1)]),h[31]||(h[31]=i("div",{class:"section-label"},"triggers",-1)),(T(!0),M(ue,null,ye(c.value.triggers,S=>(T(),M("div",{key:S,class:"trigger-item mono text-sm"},b(S),1))),128)),c.value.triggers.length?ne("",!0):(T(),M("div",Ff,"no triggers recorded")),i("div",Rf,[h[28]||(h[28]=Me(" render timeline ",-1)),i("span",jf," ("+b(c.value.timeline.length)+") ",1)]),c.value.timeline.length?(T(),M("div",Df,[(T(!0),M(ue,null,ye([...c.value.timeline].reverse().slice(0,30),(S,ee)=>(T(),M("div",{key:ee,class:"timeline-row"},[i("span",{class:oe(["timeline-kind mono",S.kind])},b(S.kind),3),i("span",Vf,b(te(S.t)),1),i("span",Uf,b(Y(S.durationMs)),1),S.triggerKey?(T(),M("span",Bf,b(S.triggerKey),1)):ne("",!0),i("span",Kf,b(S.route),1)]))),128)),c.value.timeline.length>30?(T(),M("div",Wf," … "+b(c.value.timeline.length-30)+" earlier events ",1)):ne("",!0)])):(T(),M("div",Hf,"no timeline events yet"))],64)):(T(),M("div",zf,"click a component to inspect"))])])]))}}),qf=es(Jf,[["__scopeId","data-v-a5a04da1"]]),Gf={class:"timeline-root"},Yf={class:"stats-row"},Qf={class:"stat-card"},Xf={class:"stat-val"},Zf={class:"stat-card"},ep={class:"stat-val",style:{color:"var(--purple)"}},tp={class:"stat-card"},sp={class:"stat-val",style:{color:"var(--red)"}},np={class:"stat-card"},op={class:"stat-val"},lp={class:"toolbar"},ip={class:"filter-group"},rp={class:"content-area"},ap={class:"data-table"},cp=["onClick"],up={class:"mono",style:{"font-size":"11px","font-weight":"500"}},dp={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},fp={class:"muted",style:{"font-size":"11px"}},pp={class:"bar-cell"},hp={class:"bar-track"},vp={key:0},mp={colspan:"6",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},gp={key:0,class:"detail-panel"},_p={class:"panel-header"},bp={class:"panel-title"},yp={class:"panel-section"},xp={class:"panel-row"},wp={class:"panel-row"},$p={class:"panel-row"},Cp={class:"panel-val mono"},kp={key:0,class:"panel-row"},Sp={class:"panel-val mono"},Tp={class:"panel-section"},Ep={class:"panel-row"},Mp={class:"panel-val mono"},Op={class:"panel-row"},Ap={class:"panel-val mono"},Ip={class:"panel-row"},Lp={class:"panel-val mono",style:{"font-weight":"500"}},Pp={class:"panel-section"},Np={class:"panel-row"},Fp={class:"panel-row"},Rp={key:0,class:"cancel-notice"},jp={key:1,class:"active-notice"},Hp=Ft({__name:"TransitionTimeline",setup(e){const{transitions:t,connected:s}=Zt(),n=ae("all"),o=ae(""),l=ae(null),r=ce(()=>{let w=[...t.value];if(o.value){const x=o.value.toLowerCase();w=w.filter(L=>L.transitionName.toLowerCase().includes(x)||L.parentComponent.toLowerCase().includes(x))}return n.value==="cancelled"?w=w.filter(x=>x.cancelled||x.phase==="interrupted"):n.value==="active"?w=w.filter(x=>x.phase==="entering"||x.phase==="leaving"):n.value==="completed"&&(w=w.filter(x=>x.phase==="entered"||x.phase==="left")),w.sort((x,L)=>{const z=x.endTime??x.startTime;return(L.endTime??L.startTime)-z})}),a=ce(()=>({total:t.value.length,active:t.value.filter(w=>w.phase==="entering"||w.phase==="leaving").length,cancelled:t.value.filter(w=>w.cancelled||w.phase==="interrupted").length,avgMs:(()=>{const w=t.value.filter(x=>x.durationMs!==void 0);return w.length?Math.round(w.reduce((x,L)=>x+(L.durationMs??0),0)/w.length):0})()})),u=ce(()=>{const w=r.value;if(!w.length)return[];const x=w.reduce((G,D)=>Math.min(G,D.startTime),w[0].startTime),L=w.reduce((G,D)=>Math.max(G,D.endTime??D.startTime+400),0),z=Math.max(L-x,1);return w.map(G=>({left:(G.startTime-x)/z*100,width:((G.endTime??G.startTime+80)-G.startTime)/z*100}))});function m(w){return w==="entering"||w==="leaving"?"#7f77dd":w==="entered"?"#1d9e75":w==="left"?"#378add":w==="enter-cancelled"||w==="leave-cancelled"?"#e24b4a":w==="interrupted"?"#e09a3a":"#888"}function d(w){return w==="entering"||w==="leaving"?"badge-purple":w==="entered"||w==="left"?"badge-ok":w.includes("cancelled")?"badge-err":w==="interrupted"?"badge-warn":"badge-gray"}function g(w){return w.appear?"✦ appear":w.direction==="enter"?"→ enter":"← leave"}function I(w){return w.appear?"var(--amber)":w.direction==="enter"?"var(--teal)":"var(--blue)"}return(w,x)=>(T(),M("div",Gf,[i("div",Yf,[i("div",Qf,[i("div",Xf,b(a.value.total),1),x[6]||(x[6]=i("div",{class:"stat-label"},"total",-1))]),i("div",Zf,[i("div",ep,b(a.value.active),1),x[7]||(x[7]=i("div",{class:"stat-label"},"active",-1))]),i("div",tp,[i("div",sp,b(a.value.cancelled),1),x[8]||(x[8]=i("div",{class:"stat-label"},"cancelled",-1))]),i("div",np,[i("div",op,[Me(b(a.value.avgMs)+" ",1),x[9]||(x[9]=i("span",{class:"stat-unit"},"ms",-1))]),x[10]||(x[10]=i("div",{class:"stat-label"},"avg duration",-1))])]),i("div",lp,[Nt(i("input",{"onUpdate:modelValue":x[0]||(x[0]=L=>o.value=L),type:"search",placeholder:"filter by name or component…",class:"search-input"},null,512),[[Qt,o.value]]),i("div",ip,[i("button",{class:oe({active:n.value==="all"}),onClick:x[1]||(x[1]=L=>n.value="all")},"All",2),i("button",{class:oe({active:n.value==="active"}),onClick:x[2]||(x[2]=L=>n.value="active")},"Active",2),i("button",{class:oe({active:n.value==="completed"}),onClick:x[3]||(x[3]=L=>n.value="completed")},"Completed",2),i("button",{class:oe({active:n.value==="cancelled","danger-active":n.value==="cancelled"}),onClick:x[4]||(x[4]=L=>n.value="cancelled")}," Cancelled ",2)])]),i("div",rp,[i("div",{class:oe(["table-pane",{"has-panel":l.value}])},[i("table",ap,[x[11]||(x[11]=i("thead",null,[i("tr",null,[i("th",{style:{width:"110px"}},"NAME"),i("th",{style:{width:"80px"}},"DIR"),i("th",{style:{width:"90px"}},"PHASE"),i("th",{style:{width:"70px"}},"DURATION"),i("th",null,"COMPONENT"),i("th",null,"TIMELINE")])],-1)),i("tbody",null,[(T(!0),M(ue,null,ye(r.value,(L,z)=>{var G,D,Z;return T(),M("tr",{key:L.id,class:oe({selected:((G=l.value)==null?void 0:G.id)===L.id}),onClick:E=>{var j;return l.value=((j=l.value)==null?void 0:j.id)===L.id?null:L}},[i("td",null,[i("span",up,b(L.transitionName),1)]),i("td",null,[i("span",{class:"mono",style:Ce([{"font-size":"11px"},{color:I(L)}])},b(g(L)),5)]),i("td",null,[i("span",{class:oe(["badge",d(L.phase)])},b(L.phase),3)]),i("td",dp,b(L.durationMs!==void 0?L.durationMs+"ms":"—"),1),i("td",fp,b(L.parentComponent),1),i("td",pp,[i("div",hp,[i("div",{class:"bar-fill",style:Ce({left:((D=u.value[z])==null?void 0:D.left)+"%",width:Math.max(((Z=u.value[z])==null?void 0:Z.width)??1,1)+"%",background:m(L.phase),opacity:L.phase==="entering"||L.phase==="leaving"?"0.55":"1"})},null,4)])])],10,cp)}),128)),r.value.length?ne("",!0):(T(),M("tr",vp,[i("td",mp,b(wt(s)?"No transitions recorded yet — trigger one on the page.":"Waiting for connection to the Nuxt app…"),1)]))])])],2),ke(Ln,{name:"panel-slide"},{default:Vs(()=>[l.value?(T(),M("aside",gp,[i("div",_p,[i("span",bp,b(l.value.transitionName),1),i("button",{class:"close-btn",onClick:x[5]||(x[5]=L=>l.value=null)},"✕")]),i("div",yp,[i("div",xp,[x[12]||(x[12]=i("span",{class:"panel-key"},"Direction",-1)),i("span",{class:"panel-val",style:Ce({color:I(l.value)})},b(g(l.value)),5)]),i("div",wp,[x[13]||(x[13]=i("span",{class:"panel-key"},"Phase",-1)),i("span",{class:oe(["badge",d(l.value.phase)])},b(l.value.phase),3)]),i("div",$p,[x[14]||(x[14]=i("span",{class:"panel-key"},"Component",-1)),i("span",Cp,b(l.value.parentComponent),1)]),l.value.mode?(T(),M("div",kp,[x[15]||(x[15]=i("span",{class:"panel-key"},"Mode",-1)),i("span",Sp,b(l.value.mode),1)])):ne("",!0)]),i("div",Tp,[x[19]||(x[19]=i("div",{class:"panel-section-title"},"Timing",-1)),i("div",Ep,[x[16]||(x[16]=i("span",{class:"panel-key"},"Start",-1)),i("span",Mp,b(l.value.startTime.toFixed(2))+"ms",1)]),i("div",Op,[x[17]||(x[17]=i("span",{class:"panel-key"},"End",-1)),i("span",Ap,b(l.value.endTime!==void 0?l.value.endTime.toFixed(2)+"ms":"—"),1)]),i("div",Ip,[x[18]||(x[18]=i("span",{class:"panel-key"},"Duration",-1)),i("span",Lp,b(l.value.durationMs!==void 0?l.value.durationMs+"ms":l.value.phase==="interrupted"?"interrupted":"in progress"),1)])]),i("div",Pp,[x[22]||(x[22]=i("div",{class:"panel-section-title"},"Flags",-1)),i("div",Np,[x[20]||(x[20]=i("span",{class:"panel-key"},"Appear",-1)),i("span",{class:"panel-val",style:Ce({color:l.value.appear?"var(--amber)":"var(--text3)"})},b(l.value.appear?"yes":"no"),5)]),i("div",Fp,[x[21]||(x[21]=i("span",{class:"panel-key"},"Cancelled",-1)),i("span",{class:"panel-val",style:Ce({color:l.value.cancelled?"var(--red)":"var(--text3)"})},b(l.value.cancelled?"yes":"no"),5)])]),l.value.cancelled?(T(),M("div",Rp,[...x[23]||(x[23]=[Me(" This transition was cancelled mid-flight. The element may be stuck in a partial animation state if the interruption was not handled with ",-1),i("code",null,"onEnterCancelled",-1),Me(" / ",-1),i("code",null,"onLeaveCancelled",-1),Me(" . ",-1)])])):ne("",!0),l.value.phase==="entering"||l.value.phase==="leaving"?(T(),M("div",jp,[...x[24]||(x[24]=[Me(" Transition is currently in progress. If it stays in this state longer than expected, the ",-1),i("code",null,"done()",-1),Me(" callback may not be getting called (JS-mode transition stall). ",-1)])])):ne("",!0)])):ne("",!0)]),_:1})])]))}}),Dp=es(Hp,[["__scopeId","data-v-da869dac"]]),Vp={id:"app-root"},Up={class:"tabbar"},Bp=["onClick"],Kp={class:"tab-icon"},Wp={class:"tab-content"},zp=Ft({__name:"App",setup(e){const t={fetch:"fetch",provide:"provide",composables:"composable",heatmap:"heatmap",transitions:"transitions"},s=window.location.pathname.split("/").filter(Boolean).pop()??"",n=ae(t[s]??"fetch"),{features:o}=Zt();Jn(()=>{Va()});const l=ce(()=>{const r=o.value||{};return[r.fetchDashboard&&{id:"fetch",label:"useFetch",icon:"⬡"},r.provideInjectGraph&&{id:"provide",label:"provide/inject",icon:"⬡"},r.composableTracker&&{id:"composable",label:"Composables",icon:"⬡"},r.renderHeatmap&&{id:"heatmap",label:"Heatmap",icon:"⬡"},r.transitionTracker&&{id:"transitions",label:"Transitions",icon:"⬡"}].filter(a=>!!a)});return(r,a)=>(T(),M("div",Vp,[i("nav",Up,[a[0]||(a[0]=i("div",{class:"tabbar-brand"},"observatory",-1)),(T(!0),M(ue,null,ye(l.value,u=>(T(),M("button",{key:u.id,class:oe(["tab-btn",{active:n.value===u.id}]),onClick:m=>n.value=u.id},[i("span",Kp,b(u.icon),1),Me(" "+b(u.label),1)],10,Bp))),128))]),i("main",Wp,[n.value==="fetch"?(T(),Ot(Ec,{key:0})):n.value==="provide"?(T(),Ot(pu,{key:1})):n.value==="composable"?(T(),Ot(Ld,{key:2})):n.value==="heatmap"?(T(),Ot(qf,{key:3})):n.value==="transitions"?(T(),Ot(Dp,{key:4})):ne("",!0)])]))}}),Jp=es(zp,[["__scopeId","data-v-12fe13bc"]]);Na(Jp).mount("#app");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.view[data-v-4f9bcc52]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-4f9bcc52]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-4f9bcc52]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-4f9bcc52]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.table-wrap[data-v-4f9bcc52]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg)}.detail-panel[data-v-4f9bcc52]{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.detail-empty[data-v-4f9bcc52]{width:280px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--text3);font-size:12px;border:.5px dashed var(--border);border-radius:var(--radius-lg)}.detail-header[data-v-4f9bcc52]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-4f9bcc52]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:11px}.section-label[data-v-4f9bcc52]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px;min-height:fit-content}.payload-box[data-v-4f9bcc52]{font-family:var(--mono);font-size:11px;color:var(--text2);background:var(--bg2);border-radius:var(--radius);padding:8px 10px;overflow:auto;white-space:pre;max-height:160px}.waterfall[data-v-4f9bcc52]{flex-shrink:0;background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px}.waterfall-header[data-v-4f9bcc52]{display:flex;align-items:center;justify-content:space-between;gap:8px}.waterfall-body[data-v-4f9bcc52]{margin-top:6px}.wf-row[data-v-4f9bcc52]{display:flex;align-items:center;gap:8px;margin-bottom:4px}.wf-track[data-v-4f9bcc52]{flex:1;position:relative;height:8px;background:var(--bg2);border-radius:2px;overflow:hidden}.wf-bar[data-v-4f9bcc52]{position:absolute;top:0;height:100%;border-radius:2px;opacity:.8}.view[data-v-0c07531b]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.toolbar[data-v-0c07531b]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-0c07531b]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.graph-area[data-v-0c07531b]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-0c07531b]{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--text2);margin-bottom:12px}.canvas-stage[data-v-0c07531b]{display:flex;justify-content:center;align-items:flex-start;min-width:100%}.dot[data-v-0c07531b]{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px}.canvas-wrap[data-v-0c07531b]{position:relative}.edges-svg[data-v-0c07531b]{position:absolute;top:0;left:0;pointer-events:none}.edge[data-v-0c07531b]{stroke:var(--border);stroke-width:1.5}.graph-node[data-v-0c07531b]{position:absolute;display:flex;align-items:center;gap:7px;padding:0 10px;height:32px;border-radius:var(--radius);border:.5px solid var(--border);background:var(--bg3);cursor:pointer;transition:border-color .12s,background .12s;overflow:hidden;box-sizing:border-box;white-space:nowrap}.graph-node[data-v-0c07531b]:hover{border-color:var(--text3)}.graph-node.is-selected[data-v-0c07531b]{border-color:var(--node-color);background:color-mix(in srgb,var(--node-color) 8%,transparent)}.node-dot[data-v-0c07531b]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.node-label[data-v-0c07531b]{font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis}.badge-xs[data-v-0c07531b]{font-size:9px;padding:1px 4px}.detail-panel[data-v-0c07531b]{width:280px;flex-shrink:0;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3);display:flex;flex-direction:column;gap:4px;min-height:0}.detail-empty[data-v-0c07531b]{width:280px;display:flex;align-items:center;justify-content:center;color:var(--text3);font-size:12px;border:.5px dashed var(--border);border-radius:var(--radius-lg);flex-shrink:0}.graph-empty[data-v-0c07531b]{display:flex;align-items:center;justify-content:center;min-height:180px;color:var(--text3);font-size:12px}.detail-header[data-v-0c07531b]{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.section-label[data-v-0c07531b]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin:8px 0 5px}.detail-section[data-v-0c07531b]{display:flex;flex-direction:column;min-height:0}.detail-list[data-v-0c07531b]{display:flex;flex-direction:column;gap:3px;overflow:auto;max-height:220px;padding-right:2px}.provide-row[data-v-0c07531b]{display:flex;flex-direction:column;gap:4px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-warning[data-v-0c07531b]{font-size:11px;color:var(--amber);padding:2px 0}.row-consumers[data-v-0c07531b]{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:2px 0}.consumer-chip[data-v-0c07531b]{font-size:10px;padding:1px 6px;border-radius:4px;background:color-mix(in srgb,var(--blue) 10%,var(--bg3));border:.5px solid color-mix(in srgb,var(--blue) 30%,var(--border));color:var(--text2)}.scope-badge[data-v-0c07531b]{font-size:10px;padding:1px 6px;border-radius:4px}.scope-global[data-v-0c07531b]{background:color-mix(in srgb,var(--amber) 15%,transparent);border:.5px solid color-mix(in srgb,var(--amber) 40%,var(--border));color:color-mix(in srgb,var(--amber) 80%,var(--text))}.scope-layout[data-v-0c07531b]{background:color-mix(in srgb,var(--purple) 15%,transparent);border:.5px solid color-mix(in srgb,var(--purple) 40%,var(--border));color:color-mix(in srgb,var(--purple) 80%,var(--text))}.scope-component[data-v-0c07531b]{background:var(--bg3);border:.5px solid var(--border);color:var(--text3)}.row-main[data-v-0c07531b]{display:flex;align-items:center;gap:8px;min-width:0}.row-key[data-v-0c07531b]{min-width:100px;color:var(--text2);flex-shrink:0}.row-value-preview[data-v-0c07531b]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-toggle[data-v-0c07531b]{padding:2px 8px;font-size:10px}.value-box[data-v-0c07531b]{font-family:var(--mono);font-size:11px;color:var(--text2);background:#0000001a;border-radius:var(--radius);padding:8px 10px;white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:180px}.inject-row[data-v-0c07531b]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-from[data-v-0c07531b]{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inject-miss[data-v-0c07531b]{background:#e24b4a14}.jump-btn[data-v-0c07531b]{font-size:10px;padding:1px 6px;border:.5px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text3);cursor:pointer;flex-shrink:0;font-family:var(--mono)}.jump-btn[data-v-0c07531b]:hover{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,transparent)}.view[data-v-de545ebb]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-de545ebb]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-de545ebb]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.clear-btn[data-v-de545ebb]{color:var(--text3);border-color:var(--border);flex-shrink:0}.clear-btn[data-v-de545ebb]:hover{color:var(--red);border-color:var(--red);background:transparent}.list[data-v-de545ebb]{flex:1;overflow:auto;display:flex;flex-direction:column;gap:5px;min-height:0}.comp-card[data-v-de545ebb]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;flex-shrink:0}.comp-card[data-v-de545ebb]:hover{border-color:var(--text3)}.comp-card.leak[data-v-de545ebb]{border-left:2px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0}.comp-card.expanded[data-v-de545ebb]{border-color:var(--purple)}.comp-header[data-v-de545ebb]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:8px}.comp-identity[data-v-de545ebb]{display:flex;align-items:baseline;gap:6px;min-width:0;flex:1}.comp-name[data-v-de545ebb]{font-size:12px;font-weight:500;color:var(--text);flex-shrink:0}.comp-file[data-v-de545ebb]{font-size:11px;color:var(--text3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comp-meta[data-v-de545ebb]{display:flex;align-items:center;gap:5px;flex-shrink:0}.refs-preview[data-v-de545ebb]{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px 8px;align-items:center}.ref-chip[data-v-de545ebb]{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:4px;background:var(--bg2);border:.5px solid var(--border);font-size:11px;font-family:var(--mono);max-width:220px;overflow:hidden}.ref-chip--reactive[data-v-de545ebb]{border-color:color-mix(in srgb,var(--purple) 40%,var(--border));background:color-mix(in srgb,var(--purple) 8%,var(--bg2))}.ref-chip--computed[data-v-de545ebb]{border-color:color-mix(in srgb,var(--blue) 40%,var(--border));background:color-mix(in srgb,var(--blue) 8%,var(--bg2))}.ref-chip-key[data-v-de545ebb]{color:var(--text2);flex-shrink:0}.ref-chip-val[data-v-de545ebb]{color:var(--teal);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comp-detail[data-v-de545ebb]{padding:4px 12px 12px;border-top:.5px solid var(--border);display:flex;flex-direction:column;gap:3px}.leak-banner[data-v-de545ebb]{background:color-mix(in srgb,var(--red) 12%,transparent);border:.5px solid color-mix(in srgb,var(--red) 40%,var(--border));border-radius:var(--radius);padding:6px 10px;font-size:11px;color:var(--red);margin-bottom:6px;font-family:var(--mono)}.section-label[data-v-de545ebb]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px;margin-bottom:3px}.ref-row[data-v-de545ebb]{display:flex;align-items:flex-start;gap:8px;padding:3px 0}.ref-key[data-v-de545ebb]{min-width:90px;color:var(--text2);flex-shrink:0}.ref-val[data-v-de545ebb]{flex:1;color:var(--teal);min-width:0}.ref-val--collapsed[data-v-de545ebb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ref-val--full[data-v-de545ebb]{white-space:pre-wrap;word-break:break-all;line-height:1.5}.ref-row-actions[data-v-de545ebb]{display:flex;align-items:center;gap:4px;flex-shrink:0}.expand-btn[data-v-de545ebb]{font-size:9px;padding:1px 5px;border-radius:4px;border:.5px solid var(--border);background:var(--bg2);color:var(--text3);cursor:pointer;line-height:1.4;flex-shrink:0}.expand-btn[data-v-de545ebb]:hover{border-color:var(--text3);color:var(--text)}.lc-row[data-v-de545ebb]{display:flex;align-items:center;gap:8px;padding:2px 0}.lc-dot[data-v-de545ebb]{width:6px;height:6px;border-radius:50%;flex-shrink:0}.ref-chip--shared[data-v-de545ebb]{border-color:color-mix(in srgb,var(--amber) 50%,var(--border));background:color-mix(in srgb,var(--amber) 10%,var(--bg2))}.ref-chip-shared-dot[data-v-de545ebb]{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--amber);flex-shrink:0;margin-left:1px}.global-banner[data-v-de545ebb]{display:flex;align-items:flex-start;gap:8px;background:color-mix(in srgb,var(--amber) 10%,transparent);border:.5px solid color-mix(in srgb,var(--amber) 40%,var(--border));border-radius:var(--radius);padding:7px 10px;font-size:11px;color:var(--text2);margin-bottom:6px}.global-dot[data-v-de545ebb]{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--amber);flex-shrink:0;margin-top:3px}.badge-amber[data-v-de545ebb]{background:color-mix(in srgb,var(--amber) 15%,transparent);color:color-mix(in srgb,var(--amber) 80%,var(--text));border:.5px solid color-mix(in srgb,var(--amber) 40%,var(--border))}.history-list[data-v-de545ebb]{display:flex;flex-direction:column;gap:1px;background:var(--bg2);border-radius:var(--radius);padding:4px 8px;max-height:180px;overflow-y:auto}.history-row[data-v-de545ebb]{display:flex;align-items:center;gap:8px;padding:2px 0;font-size:11px;font-family:var(--mono);border-bottom:.5px solid var(--border)}.history-row[data-v-de545ebb]:last-child{border-bottom:none}.history-time[data-v-de545ebb]{min-width:52px;color:var(--text3);flex-shrink:0}.history-key[data-v-de545ebb]{min-width:80px;color:var(--text2);flex-shrink:0}.history-val[data-v-de545ebb]{color:var(--amber);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.stat-card[data-v-de545ebb]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 14px}.stat-label[data-v-de545ebb]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-bottom:4px}.stat-val[data-v-de545ebb]{font-size:22px;font-weight:500;line-height:1;color:var(--text)}.ref-key--clickable[data-v-de545ebb]{cursor:pointer;text-decoration:underline dotted var(--text3);text-underline-offset:2px}.ref-key--clickable[data-v-de545ebb]:hover{color:var(--purple);text-decoration-color:var(--purple)}.edit-btn[data-v-de545ebb]{font-size:10px;padding:1px 6px;border-radius:var(--radius);border:.5px solid var(--border);background:transparent;color:var(--text3);cursor:pointer;margin-left:auto;flex-shrink:0;font-family:var(--mono)}.edit-btn[data-v-de545ebb]:hover{border-color:var(--purple);color:var(--purple);background:color-mix(in srgb,var(--purple) 8%,transparent)}.lookup-panel[data-v-de545ebb]{flex-shrink:0;border:.5px solid var(--border);border-radius:var(--radius-lg);background:var(--bg3);overflow:hidden}.lookup-header[data-v-de545ebb]{display:flex;align-items:center;gap:6px;padding:7px 12px;border-bottom:.5px solid var(--border);background:var(--bg2)}.lookup-row[data-v-de545ebb]{display:flex;align-items:center;gap:8px;padding:5px 12px;border-bottom:.5px solid var(--border)}.lookup-row[data-v-de545ebb]:last-child{border-bottom:none}.edit-overlay[data-v-de545ebb]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center}.edit-dialog[data-v-de545ebb]{background:var(--bg1, var(--bg2));border:.5px solid var(--border);border-radius:var(--radius-lg);padding:14px 16px;width:380px;max-width:92vw;display:flex;flex-direction:column;gap:6px;box-shadow:0 8px 32px #0000004d}.edit-dialog-header[data-v-de545ebb]{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text2);margin-bottom:2px}.edit-textarea[data-v-de545ebb]{width:100%;font-family:var(--mono);font-size:12px;padding:8px 10px;background:var(--bg2);border:.5px solid var(--border);border-radius:var(--radius);color:var(--text);resize:vertical;outline:none}.edit-textarea[data-v-de545ebb]:focus{border-color:var(--purple)}.edit-error[data-v-de545ebb]{color:var(--red);font-family:var(--mono)}.edit-actions[data-v-de545ebb]{display:flex;gap:6px;padding-top:4px}.slide-enter-active[data-v-de545ebb],.slide-leave-active[data-v-de545ebb]{transition:opacity .15s,transform .15s}.slide-enter-from[data-v-de545ebb],.slide-leave-to[data-v-de545ebb]{opacity:0;transform:translateY(6px)}.fade-enter-active[data-v-de545ebb],.fade-leave-active[data-v-de545ebb]{transition:opacity .15s}.fade-enter-from[data-v-de545ebb],.fade-leave-to[data-v-de545ebb]{opacity:0}.jump-btn[data-v-de545ebb]{font-size:10px;padding:1px 6px;border:.5px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text3);cursor:pointer;flex-shrink:0;font-family:var(--mono)}.jump-btn[data-v-de545ebb]:hover{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,transparent)}.view[data-v-a5a04da1]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.controls[data-v-a5a04da1]{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.mode-group[data-v-a5a04da1]{display:flex;gap:2px}.threshold-group[data-v-a5a04da1]{display:flex;align-items:center;gap:6px}.stats-row[data-v-a5a04da1]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.stat-sub[data-v-a5a04da1]{margin-top:4px;font-size:11px;color:var(--text3)}.inspector[data-v-a5a04da1]{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(260px,320px);gap:12px;flex:1;min-height:0}.roots-panel[data-v-a5a04da1],.tree-panel[data-v-a5a04da1],.detail-panel[data-v-a5a04da1]{border:.5px solid var(--border);border-radius:var(--radius-lg);background:var(--bg3);min-height:0}.roots-panel[data-v-a5a04da1],.detail-panel[data-v-a5a04da1]{display:flex;flex-direction:column;overflow:auto;padding:12px;gap:8px}.panel-title[data-v-a5a04da1]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3)}.root-item[data-v-a5a04da1]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text);text-align:left}.root-item.active[data-v-a5a04da1]{border-color:var(--teal);background:color-mix(in srgb,var(--teal) 16%,var(--bg2))}.root-label[data-v-a5a04da1]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.root-copy[data-v-a5a04da1]{display:flex;flex-direction:column;min-width:0}.root-sub[data-v-a5a04da1]{font-size:11px}.root-meta[data-v-a5a04da1]{color:var(--text3);font-size:11px}.tree-panel[data-v-a5a04da1]{display:flex;flex-direction:column;overflow:hidden}.tree-toolbar[data-v-a5a04da1]{padding:12px;border-bottom:.5px solid var(--border)}.search-input[data-v-a5a04da1]{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text)}.tree-frame[data-v-a5a04da1]{flex:1;min-height:0;overflow:auto;padding:12px}[data-v-a5a04da1] .tree-canvas{display:inline-block;min-width:100%;width:max-content}[data-v-a5a04da1] .tree-node{margin-bottom:4px}[data-v-a5a04da1] .tree-row{display:grid;grid-template-columns:8px 18px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;width:100%;padding:4px 8px;padding-left:calc(8px + (var(--tree-depth, 0) * 16px));border:1px solid transparent;border-radius:var(--radius);cursor:pointer;white-space:nowrap}[data-v-a5a04da1] .tree-row:hover{background:var(--bg2)}[data-v-a5a04da1] .tree-row.selected{background:color-mix(in srgb,var(--teal) 12%,var(--bg2));border-color:var(--teal)}[data-v-a5a04da1] .tree-row.hot{box-shadow:inset 2px 0 0 var(--red)}[data-v-a5a04da1] .tree-toggle{width:16px;height:16px;border:none;background:transparent;color:var(--text3);padding:0;font-size:14px;display:inline-flex;align-items:center;justify-content:center}[data-v-a5a04da1] .tree-toggle:disabled{cursor:default}[data-v-a5a04da1] .tree-toggle.empty{opacity:0}[data-v-a5a04da1] .tree-rail{display:block;width:2px;height:14px;border-radius:999px;background:color-mix(in srgb,var(--border) 75%,transparent)}[data-v-a5a04da1] .tree-copy{display:flex;align-items:center;min-width:0;gap:6px;overflow:hidden}[data-v-a5a04da1] .tree-name{font-size:12px;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis}[data-v-a5a04da1] .tree-badges{display:flex;gap:6px;flex-shrink:0;overflow:hidden}[data-v-a5a04da1] .tree-badge{border:1px solid var(--border);border-radius:999px;padding:2px 7px;font-size:10px;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}[data-v-a5a04da1] .tree-metrics{display:flex;align-items:center;min-width:92px;justify-content:flex-end;flex-shrink:0;gap:6px}[data-v-a5a04da1] .tree-metric-pill{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:2px 8px;border:1px solid var(--border);border-radius:999px;background:var(--bg2);font-size:10px;color:var(--text3)}[data-v-a5a04da1] .tree-persistent-pill{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid color-mix(in srgb,var(--amber) 55%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--amber) 10%,var(--bg2));font-size:10px;color:color-mix(in srgb,var(--amber) 80%,var(--text))}[data-v-a5a04da1] .tree-hydration-pill{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid color-mix(in srgb,var(--teal) 55%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--teal) 10%,var(--bg2));font-size:10px;color:color-mix(in srgb,var(--teal) 80%,var(--text))}[data-v-a5a04da1] .tree-children{margin-left:7px;padding-left:11px;border-left:1px solid color-mix(in srgb,var(--border) 72%,transparent)}.detail-empty[data-v-a5a04da1]{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text3);font-size:12px}.detail-header[data-v-a5a04da1]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-a5a04da1]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.detail-pill-row[data-v-a5a04da1]{display:flex;flex-wrap:wrap;gap:6px}.detail-pill[data-v-a5a04da1]{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:var(--bg2);font-size:11px}.detail-pill.hot[data-v-a5a04da1]{border-color:color-mix(in srgb,var(--red) 50%,var(--border));color:var(--red)}.detail-pill.persistent[data-v-a5a04da1]{border-color:color-mix(in srgb,var(--amber) 55%,var(--border));color:color-mix(in srgb,var(--amber) 80%,var(--text))}.detail-pill.hydrated[data-v-a5a04da1]{border-color:color-mix(in srgb,var(--teal) 55%,var(--border));color:color-mix(in srgb,var(--teal) 80%,var(--text))}.detail-pill.muted[data-v-a5a04da1]{color:var(--text3);border-color:var(--border)}.section-label[data-v-a5a04da1]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:8px;margin-bottom:4px}.trigger-item[data-v-a5a04da1]{background:var(--bg2);border-radius:var(--radius);padding:4px 8px;margin-bottom:3px;color:var(--text2)}[data-v-a5a04da1] .tree-jump-btn{display:none;padding:0 4px;border:none;background:transparent;color:var(--text3);font-size:11px;cursor:pointer;line-height:1;flex-shrink:0}[data-v-a5a04da1] .tree-row:hover .tree-jump-btn,[data-v-a5a04da1] .tree-row.selected .tree-jump-btn{display:inline-flex}[data-v-a5a04da1] .tree-jump-btn:hover{color:var(--teal)}.jump-btn[data-v-a5a04da1]{font-size:10px;padding:1px 6px;border:.5px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text3);cursor:pointer;flex-shrink:0;font-family:var(--mono)}.jump-btn[data-v-a5a04da1]:hover{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,transparent)}.route-select[data-v-a5a04da1]{padding:3px 7px;border:.5px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text);font-size:11px;cursor:pointer;max-width:140px}.timeline-list[data-v-a5a04da1]{display:flex;flex-direction:column;gap:1px;background:var(--bg2);border-radius:var(--radius);padding:4px 8px;max-height:200px;overflow-y:auto;min-height:fit-content}.timeline-row[data-v-a5a04da1]{display:flex;align-items:center;gap:6px;padding:2px 0;font-size:11px;border-bottom:.5px solid var(--border);min-width:0;min-height:fit-content}.timeline-row[data-v-a5a04da1]:last-child{border-bottom:none}.timeline-kind[data-v-a5a04da1]{flex-shrink:0;font-size:10px;font-weight:500;min-width:40px}.timeline-kind.mount[data-v-a5a04da1]{color:var(--teal)}.timeline-kind.update[data-v-a5a04da1]{color:var(--amber)}.timeline-time[data-v-a5a04da1]{flex-shrink:0;min-width:52px;color:var(--text3)}.timeline-dur[data-v-a5a04da1]{flex-shrink:0;min-width:38px;color:var(--text2)}.timeline-trigger[data-v-a5a04da1]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text3);flex:1;min-width:0}.timeline-route[data-v-a5a04da1]{flex-shrink:0;color:var(--text3);font-size:10px}@media(max-width:1180px){.inspector[data-v-a5a04da1]{grid-template-columns:minmax(200px,240px) minmax(0,1fr)}.detail-panel[data-v-a5a04da1]{grid-column:1 / -1;max-height:220px}}.timeline-root[data-v-da869dac]{display:flex;flex-direction:column;height:100%;overflow:hidden}.stats-row[data-v-da869dac]{display:flex;gap:10px;padding:12px 14px 0;flex-shrink:0}.stat-card[data-v-da869dac]{background:var(--bg2);border:.5px solid var(--border);border-radius:var(--radius);padding:8px 14px;min-width:72px;text-align:center}.stat-val[data-v-da869dac]{font-size:20px;font-weight:600;font-family:var(--mono);line-height:1.1}.stat-unit[data-v-da869dac]{font-size:12px;opacity:.6;margin-left:1px}.stat-label[data-v-da869dac]{font-size:10px;color:var(--text3);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}.toolbar[data-v-da869dac]{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-shrink:0;border-bottom:.5px solid var(--border)}.search-input[data-v-da869dac]{flex:1;max-width:260px}.filter-group[data-v-da869dac]{display:flex;gap:4px}.content-area[data-v-da869dac]{display:flex;flex:1;overflow:hidden;min-height:0}.table-pane[data-v-da869dac]{flex:1;overflow:hidden auto;min-width:0}.bar-cell[data-v-da869dac]{width:200px;padding:4px 8px}.bar-track[data-v-da869dac]{position:relative;height:8px;background:var(--bg2);border-radius:4px;overflow:hidden}.bar-fill[data-v-da869dac]{position:absolute;top:0;height:100%;min-width:3px;border-radius:4px;transition:width .15s}.detail-panel[data-v-da869dac]{width:260px;flex-shrink:0;border-left:.5px solid var(--border);overflow-y:auto;background:var(--bg3);padding:0 0 16px}.panel-header[data-v-da869dac]{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 8px;border-bottom:.5px solid var(--border);position:sticky;top:0;background:var(--bg3);z-index:1}.panel-title[data-v-da869dac]{font-family:var(--mono);font-size:13px;font-weight:500}.close-btn[data-v-da869dac]{border:none;background:transparent;color:var(--text3);font-size:11px;padding:2px 6px;cursor:pointer}.panel-section[data-v-da869dac]{padding:10px 14px 6px;border-bottom:.5px solid var(--border)}.panel-section-title[data-v-da869dac]{font-size:10px;font-weight:500;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.panel-row[data-v-da869dac]{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 0;font-size:12px}.panel-key[data-v-da869dac]{color:var(--text3);flex-shrink:0}.panel-val[data-v-da869dac]{color:var(--text);text-align:right;word-break:break-all}.cancel-notice[data-v-da869dac],.active-notice[data-v-da869dac]{margin:10px 14px 0;font-size:11px;line-height:1.6;padding:8px 10px;border-radius:var(--radius)}.cancel-notice[data-v-da869dac]{background:#e24b4a1a;color:var(--red);border:.5px solid rgb(226 75 74 / 30%)}.active-notice[data-v-da869dac]{background:#7f77dd1a;color:var(--purple);border:.5px solid rgb(127 119 221 / 30%)}code[data-v-da869dac]{font-family:var(--mono);font-size:10px;background:#00000026;padding:1px 4px;border-radius:3px}.panel-slide-enter-active[data-v-da869dac],.panel-slide-leave-active[data-v-da869dac]{transition:transform .18s ease,opacity .18s ease}.panel-slide-enter-from[data-v-da869dac],.panel-slide-leave-to[data-v-da869dac]{transform:translate(12px);opacity:0}#app-root[data-v-12fe13bc]{display:flex;flex-direction:column;height:100vh;overflow:hidden}.tabbar[data-v-12fe13bc]{display:flex;align-items:center;gap:2px;padding:8px 12px 0;border-bottom:.5px solid var(--border);background:var(--bg3);flex-shrink:0}.tabbar-brand[data-v-12fe13bc]{font-size:11px;font-weight:500;color:var(--purple);letter-spacing:.5px;margin-right:12px;padding-bottom:8px}.tab-btn[data-v-12fe13bc]{border:none;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text3);font-size:12px;padding:6px 12px 8px;cursor:pointer;transition:color .12s,border-color .12s;display:flex;align-items:center;gap:5px}.tab-btn[data-v-12fe13bc]:hover{color:var(--text);background:transparent}.tab-btn.active[data-v-12fe13bc]{color:var(--purple);border-bottom-color:var(--purple)}.tab-icon[data-v-12fe13bc]{font-size:10px;opacity:.6}.tab-content[data-v-12fe13bc]{flex:1;overflow:hidden;display:flex;flex-direction:column}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:13px;line-height:1.5}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}button{font-family:var(--font);font-size:12px;cursor:pointer;border:.5px solid var(--border);background:transparent;color:var(--text2);padding:4px 10px;border-radius:var(--radius);transition:background .12s}button:hover{background:var(--bg2)}button:active{transform:scale(.98)}button.active{background:#7f77dd26;color:var(--purple);border-color:var(--purple)}button.danger-active{background:#e24b4a1f;color:var(--red);border-color:var(--red)}button.success-active{background:#1d9e751f;color:var(--teal);border-color:var(--teal)}input[type=text],input[type=search]{font-family:var(--font);font-size:12px;border:.5px solid var(--border);background:var(--bg2);color:var(--text);padding:5px 10px;border-radius:var(--radius);outline:none;width:100%}input[type=text]:focus,input[type=search]:focus{border-color:var(--purple);box-shadow:0 0 0 2px #7f77dd33}input[type=range]{accent-color:var(--purple);cursor:pointer}.mono{font-family:var(--mono)}.muted{color:var(--text3)}.text-sm{font-size:11px}.text-xs{font-size:10px}.bold{font-weight:500}.badge{display:inline-block;font-size:10px;font-weight:500;padding:2px 7px;border-radius:99px;white-space:nowrap}.badge-ok{background:#1d9e7526;color:var(--teal)}.badge-err{background:#e24b4a1f;color:var(--red)}.badge-warn{background:#ef9f2726;color:var(--amber)}.badge-info{background:#378add1f;color:var(--blue)}.badge-gray{background:var(--bg2);color:var(--text3);border:.5px solid var(--border)}.badge-purple{background:#7f77dd26;color:var(--purple)}.card{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px 14px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;font-size:10px;font-weight:500;color:var(--text3);padding:6px 8px;border-bottom:.5px solid var(--border);text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.data-table td{padding:8px;border-bottom:.5px solid var(--border);color:var(--text);vertical-align:middle}.data-table tr:hover td{background:var(--bg2);cursor:pointer}.data-table tr.selected td{background:#7f77dd14}.stat-card{background:var(--bg2);border-radius:var(--radius);padding:10px 12px}.stat-label{font-size:10px;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:3px}.stat-val{font-size:20px;font-weight:500}.flex{display:flex}.items-center{align-items:center}.gap-2{gap:8px}.gap-3{gap:12px}.flex-1{flex:1}.overflow-auto{overflow:auto}.p-3{padding:12px}.p-4{padding:16px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mt-2{margin-top:8px}
|
package/client/dist/index.html
CHANGED
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
body { font-family: var(--font); background: var(--bg); color: var(--text); font-size: 13px; }
|
|
39
39
|
#app { height: 100vh; display: flex; flex-direction: column; }
|
|
40
40
|
</style>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
42
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-B5GtSnq0.js"></script>
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-Ljohi1or.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="app"></div>
|
|
@@ -31,14 +31,50 @@ function formatVal(v: unknown): string {
|
|
|
31
31
|
return String(v)
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Full (non-truncated) formatter used in the expanded detail rows.
|
|
36
|
+
* @param {unknown} v - The value to format.
|
|
37
|
+
* @returns {string} Pretty-printed JSON or primitive string.
|
|
38
|
+
*/
|
|
39
|
+
function formatValFull(v: unknown): string {
|
|
40
|
+
if (v === null) {
|
|
41
|
+
return 'null'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
if (v === undefined) {
|
|
45
|
+
return 'undefined'
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (typeof v === 'string') {
|
|
49
|
+
return `"${v}"`
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
if (typeof v === 'object') {
|
|
53
|
+
try {
|
|
54
|
+
return JSON.stringify(v, null, 2)
|
|
55
|
+
} catch {
|
|
56
|
+
return String(v)
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return String(v)
|
|
61
|
+
}
|
|
62
|
+
|
|
34
63
|
function basename(file: string) {
|
|
35
64
|
return file.split('/').pop() ?? file
|
|
36
65
|
}
|
|
37
66
|
|
|
38
67
|
function openInEditor(file: string) {
|
|
39
|
-
if (!file || file === 'unknown')
|
|
68
|
+
if (!file || file === 'unknown') {
|
|
69
|
+
return
|
|
70
|
+
}
|
|
71
|
+
|
|
40
72
|
const origin = getObservatoryOrigin()
|
|
41
|
-
|
|
73
|
+
|
|
74
|
+
if (!origin) {
|
|
75
|
+
return
|
|
76
|
+
}
|
|
77
|
+
|
|
42
78
|
window.top?.postMessage({ type: 'observatory:open-in-editor', file }, origin)
|
|
43
79
|
}
|
|
44
80
|
|
|
@@ -55,10 +91,20 @@ const counts = computed(() => ({
|
|
|
55
91
|
|
|
56
92
|
const filtered = computed(() => {
|
|
57
93
|
return entries.value.filter((entry) => {
|
|
58
|
-
if (filter.value === 'leak' && !entry.leak)
|
|
59
|
-
|
|
60
|
-
|
|
94
|
+
if (filter.value === 'leak' && !entry.leak) {
|
|
95
|
+
return false
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
if (filter.value === 'mounted' && entry.status !== 'mounted') {
|
|
99
|
+
return false
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
if (filter.value === 'unmounted' && entry.status !== 'unmounted') {
|
|
103
|
+
return false
|
|
104
|
+
}
|
|
105
|
+
|
|
61
106
|
const q = search.value.toLowerCase()
|
|
107
|
+
|
|
62
108
|
if (q) {
|
|
63
109
|
const matchesName = entry.name.toLowerCase().includes(q)
|
|
64
110
|
const matchesFile = entry.componentFile.toLowerCase().includes(q)
|
|
@@ -70,8 +116,12 @@ const filtered = computed(() => {
|
|
|
70
116
|
return false
|
|
71
117
|
}
|
|
72
118
|
})
|
|
73
|
-
|
|
119
|
+
|
|
120
|
+
if (!matchesName && !matchesFile && !matchesRef && !matchesVal) {
|
|
121
|
+
return false
|
|
122
|
+
}
|
|
74
123
|
}
|
|
124
|
+
|
|
75
125
|
return true
|
|
76
126
|
})
|
|
77
127
|
})
|
|
@@ -102,19 +152,61 @@ function lifecycleRows(entry: RuntimeComposableEntry) {
|
|
|
102
152
|
}
|
|
103
153
|
|
|
104
154
|
function typeBadgeClass(type: string) {
|
|
105
|
-
if (type === 'computed')
|
|
106
|
-
|
|
155
|
+
if (type === 'computed') {
|
|
156
|
+
return 'badge-info'
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
if (type === 'reactive') {
|
|
160
|
+
return 'badge-purple'
|
|
161
|
+
}
|
|
162
|
+
|
|
107
163
|
return 'badge-gray'
|
|
108
164
|
}
|
|
109
165
|
|
|
166
|
+
// ── Collapsible ref values ──────────────────────────────────────────────
|
|
167
|
+
// Long values (objects/arrays) start collapsed inside the expanded card.
|
|
168
|
+
// Clicking the toggle chevron expands/collapses them inline.
|
|
169
|
+
|
|
170
|
+
/** Keys that are currently expanded: "<entryId>:<refKey>" */
|
|
171
|
+
const expandedRefs = ref<Set<string>>(new Set())
|
|
172
|
+
|
|
173
|
+
function refExpandKey(entryId: string, refKey: string) {
|
|
174
|
+
return `${entryId}:${refKey}`
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
function isLongValue(v: unknown): boolean {
|
|
178
|
+
if (v === null || v === undefined || typeof v !== 'object') return false
|
|
179
|
+
try {
|
|
180
|
+
return JSON.stringify(v).length > 60
|
|
181
|
+
} catch {
|
|
182
|
+
return false
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
function isRefExpanded(entryId: string, refKey: string): boolean {
|
|
187
|
+
return expandedRefs.value.has(refExpandKey(entryId, refKey))
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function toggleRefExpand(entryId: string, refKey: string) {
|
|
191
|
+
const key = refExpandKey(entryId, refKey)
|
|
192
|
+
const next = new Set(expandedRefs.value)
|
|
193
|
+
if (next.has(key)) next.delete(key)
|
|
194
|
+
else next.add(key)
|
|
195
|
+
expandedRefs.value = next
|
|
196
|
+
}
|
|
197
|
+
|
|
110
198
|
// ── Reverse lookup ────────────────────────────────────────────────────────
|
|
111
199
|
// Clicking a ref key shows every mounted instance that exposes the same key.
|
|
112
200
|
|
|
113
201
|
const lookupKey = ref<string | null>(null)
|
|
114
202
|
|
|
115
203
|
const lookupResults = computed(() => {
|
|
116
|
-
if (!lookupKey.value)
|
|
204
|
+
if (!lookupKey.value) {
|
|
205
|
+
return []
|
|
206
|
+
}
|
|
207
|
+
|
|
117
208
|
const key = lookupKey.value
|
|
209
|
+
|
|
118
210
|
return entries.value.filter((e) => key in e.refs)
|
|
119
211
|
})
|
|
120
212
|
|
|
@@ -144,7 +236,9 @@ function openEdit(id: string, key: string, currentValue: unknown) {
|
|
|
144
236
|
}
|
|
145
237
|
|
|
146
238
|
function applyEdit() {
|
|
147
|
-
if (!editTarget.value)
|
|
239
|
+
if (!editTarget.value) {
|
|
240
|
+
return
|
|
241
|
+
}
|
|
148
242
|
|
|
149
243
|
let parsed: unknown
|
|
150
244
|
|
|
@@ -157,7 +251,10 @@ function applyEdit() {
|
|
|
157
251
|
}
|
|
158
252
|
|
|
159
253
|
const origin = getObservatoryOrigin()
|
|
160
|
-
|
|
254
|
+
|
|
255
|
+
if (!origin) {
|
|
256
|
+
return
|
|
257
|
+
}
|
|
161
258
|
|
|
162
259
|
window.top?.postMessage(
|
|
163
260
|
{
|
|
@@ -273,12 +370,35 @@ function applyEdit() {
|
|
|
273
370
|
>
|
|
274
371
|
{{ k }}
|
|
275
372
|
</span>
|
|
276
|
-
<span
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
373
|
+
<span
|
|
374
|
+
class="mono text-sm ref-val"
|
|
375
|
+
:class="{
|
|
376
|
+
'ref-val--full': isLongValue(v.value) && isRefExpanded(entry.id, k),
|
|
377
|
+
'ref-val--collapsed': isLongValue(v.value) && !isRefExpanded(entry.id, k),
|
|
378
|
+
}"
|
|
379
|
+
>
|
|
380
|
+
{{ isLongValue(v.value) && !isRefExpanded(entry.id, k) ? formatVal(v.value) : formatValFull(v.value) }}
|
|
381
|
+
</span>
|
|
382
|
+
<div class="ref-row-actions">
|
|
383
|
+
<button
|
|
384
|
+
v-if="isLongValue(v.value)"
|
|
385
|
+
class="expand-btn"
|
|
386
|
+
:title="isRefExpanded(entry.id, k) ? 'Collapse' : 'Expand'"
|
|
387
|
+
@click.stop="toggleRefExpand(entry.id, k)"
|
|
388
|
+
>
|
|
389
|
+
{{ isRefExpanded(entry.id, k) ? '▲' : '▼' }}
|
|
390
|
+
</button>
|
|
391
|
+
<span class="badge text-xs" :class="typeBadgeClass(v.type)">{{ v.type }}</span>
|
|
392
|
+
<span v-if="entry.sharedKeys?.includes(k)" class="badge badge-amber text-xs">global</span>
|
|
393
|
+
<button
|
|
394
|
+
v-if="v.type === 'ref'"
|
|
395
|
+
class="edit-btn"
|
|
396
|
+
title="Edit value"
|
|
397
|
+
@click.stop="openEdit(entry.id, k, v.value)"
|
|
398
|
+
>
|
|
399
|
+
edit
|
|
400
|
+
</button>
|
|
401
|
+
</div>
|
|
282
402
|
</div>
|
|
283
403
|
|
|
284
404
|
<template v-if="entry.history && entry.history.length">
|
|
@@ -569,7 +689,7 @@ function applyEdit() {
|
|
|
569
689
|
|
|
570
690
|
.ref-row {
|
|
571
691
|
display: flex;
|
|
572
|
-
align-items:
|
|
692
|
+
align-items: flex-start;
|
|
573
693
|
gap: 8px;
|
|
574
694
|
padding: 3px 0;
|
|
575
695
|
}
|
|
@@ -582,10 +702,44 @@ function applyEdit() {
|
|
|
582
702
|
|
|
583
703
|
.ref-val {
|
|
584
704
|
flex: 1;
|
|
705
|
+
color: var(--teal);
|
|
706
|
+
min-width: 0;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
.ref-val--collapsed {
|
|
585
710
|
overflow: hidden;
|
|
586
711
|
text-overflow: ellipsis;
|
|
587
712
|
white-space: nowrap;
|
|
588
|
-
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
.ref-val--full {
|
|
716
|
+
white-space: pre-wrap;
|
|
717
|
+
word-break: break-all;
|
|
718
|
+
line-height: 1.5;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
.ref-row-actions {
|
|
722
|
+
display: flex;
|
|
723
|
+
align-items: center;
|
|
724
|
+
gap: 4px;
|
|
725
|
+
flex-shrink: 0;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.expand-btn {
|
|
729
|
+
font-size: 9px;
|
|
730
|
+
padding: 1px 5px;
|
|
731
|
+
border-radius: 4px;
|
|
732
|
+
border: 0.5px solid var(--border);
|
|
733
|
+
background: var(--bg2);
|
|
734
|
+
color: var(--text3);
|
|
735
|
+
cursor: pointer;
|
|
736
|
+
line-height: 1.4;
|
|
737
|
+
flex-shrink: 0;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.expand-btn:hover {
|
|
741
|
+
border-color: var(--text3);
|
|
742
|
+
color: var(--text);
|
|
589
743
|
}
|
|
590
744
|
|
|
591
745
|
.lc-row {
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuxt-devtools-observatory",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"description": "Nuxt DevTools: useFetch Dashboard, provide/inject Graph, Composable Tracker, Render Heatmap",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
"test:watch": "vitest",
|
|
46
46
|
"test:coverage": "vitest run --coverage",
|
|
47
47
|
"test:screenshots": "playwright test scripts/playwright/screenshot-trackers.spec.ts",
|
|
48
|
+
"test:e2e": "playwright test scripts/playwright/playground-pages.spec.ts",
|
|
48
49
|
"capture:screenshots": "node scripts/playwright/capture-observatory-screenshots.cjs"
|
|
49
50
|
},
|
|
50
51
|
"dependencies": {
|
|
@@ -59,6 +60,7 @@
|
|
|
59
60
|
"@nuxt/kit": "^3.0.0",
|
|
60
61
|
"@nuxt/module-builder": "^1.0.2",
|
|
61
62
|
"@nuxt/schema": "^3.0.0",
|
|
63
|
+
"@pinia/nuxt": "^0.11.3",
|
|
62
64
|
"@playwright/test": "^1.58.2",
|
|
63
65
|
"@types/babel__generator": "^7.27.0",
|
|
64
66
|
"@types/babel__traverse": "^7.28.0",
|
|
@@ -74,6 +76,7 @@
|
|
|
74
76
|
"globals": "^17.3.0",
|
|
75
77
|
"happy-dom": "^20.8.4",
|
|
76
78
|
"nuxt": "^3.0.0 || ^4.0.0",
|
|
79
|
+
"pinia": "^3.0.4",
|
|
77
80
|
"playwright": "^1.58.2",
|
|
78
81
|
"postcss-html": "^1.8.1",
|
|
79
82
|
"prettier": "^3.8.1",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(o){if(o.ep)return;o.ep=!0;const l=s(o);fetch(o.href,l)}})();/**
|
|
2
|
-
* @vue/shared v3.5.30
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function Pn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ve={},Kt=[],lt=()=>{},Vo=()=>!1,Ys=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Nn=e=>e.startsWith("onUpdate:"),we=Object.assign,Fn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ai=Object.prototype.hasOwnProperty,pe=(e,t)=>ai.call(e,t),ee=Array.isArray,Wt=e=>Cs(e)==="[object Map]",Qs=e=>Cs(e)==="[object Set]",to=e=>Cs(e)==="[object Date]",le=e=>typeof e=="function",xe=e=>typeof e=="string",it=e=>typeof e=="symbol",he=e=>e!==null&&typeof e=="object",Uo=e=>(he(e)||le(e))&&le(e.then)&&le(e.catch),Bo=Object.prototype.toString,Cs=e=>Bo.call(e),ci=e=>Cs(e).slice(8,-1),Ko=e=>Cs(e)==="[object Object]",Rn=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,as=Pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},ui=/-\w/g,Ge=Xs(e=>e.replace(ui,t=>t.slice(1).toUpperCase())),di=/\B([A-Z])/g,Rt=Xs(e=>e.replace(di,"-$1").toLowerCase()),Wo=Xs(e=>e.charAt(0).toUpperCase()+e.slice(1)),un=Xs(e=>e?`on${Wo(e)}`:""),ot=(e,t)=>!Object.is(e,t),Ls=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},zo=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Zs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},fi=e=>{const t=xe(e)?Number(e):NaN;return isNaN(t)?e:t};let so;const en=()=>so||(so=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ce(e){if(ee(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=xe(n)?mi(n):Ce(n);if(o)for(const l in o)t[l]=o[l]}return t}else if(xe(e)||he(e))return e}const pi=/;(?![^(]*\))/g,hi=/:([^]+)/,vi=/\/\*[^]*?\*\//g;function mi(e){const t={};return e.replace(vi,"").split(pi).forEach(s=>{if(s){const n=s.split(hi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function oe(e){let t="";if(xe(e))t=e;else if(ee(e))for(let s=0;s<e.length;s++){const n=oe(e[s]);n&&(t+=n+" ")}else if(he(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const gi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",_i=Pn(gi);function qo(e){return!!e||e===""}function bi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=ks(e[n],t[n]);return s}function ks(e,t){if(e===t)return!0;let s=to(e),n=to(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=it(e),n=it(t),s||n)return e===t;if(s=ee(e),n=ee(t),s||n)return s&&n?bi(e,t):!1;if(s=he(e),n=he(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,l=Object.keys(t).length;if(o!==l)return!1;for(const r in e){const a=e.hasOwnProperty(r),u=t.hasOwnProperty(r);if(a&&!u||!a&&u||!ks(e[r],t[r]))return!1}}return String(e)===String(t)}function yi(e,t){return e.findIndex(s=>ks(s,t))}const Jo=e=>!!(e&&e.__v_isRef===!0),_=e=>xe(e)?e:e==null?"":ee(e)||he(e)&&(e.toString===Bo||!le(e.toString))?Jo(e)?_(e.value):JSON.stringify(e,Go,2):String(e),Go=(e,t)=>Jo(t)?Go(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],l)=>(s[dn(n,l)+" =>"]=o,s),{})}:Qs(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>dn(s))}:it(t)?dn(t):he(t)&&!ee(t)&&!Ko(t)?String(t):t,dn=(e,t="")=>{var s;return it(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.30
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let Ve;class xi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ve,!t&&Ve&&(this.index=(Ve.scopes||(Ve.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Ve;try{return Ve=this,t()}finally{Ve=s}}}on(){++this._on===1&&(this.prevScope=Ve,Ve=this)}off(){this._on>0&&--this._on===0&&(Ve=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function wi(){return Ve}let ge;const fn=new WeakSet;class Yo{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,Ve&&Ve.active&&Ve.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,fn.has(this)&&(fn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,no(this),Zo(this);const t=ge,s=Ye;ge=this,Ye=!0;try{return this.fn()}finally{el(this),ge=t,Ye=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Dn(t);this.deps=this.depsTail=void 0,no(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?fn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){xn(this)&&this.run()}get dirty(){return xn(this)}}let Qo=0,cs,us;function Xo(e,t=!1){if(e.flags|=8,t){e.next=us,us=e;return}e.next=cs,cs=e}function jn(){Qo++}function Hn(){if(--Qo>0)return;if(us){let t=us;for(us=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;cs;){let t=cs;for(cs=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Zo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function el(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),Dn(n),$i(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function xn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(tl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function tl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ms)||(e.globalVersion=ms,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xn(e))))return;e.flags|=2;const t=e.dep,s=ge,n=Ye;ge=e,Ye=!0;try{Zo(e);const o=e.fn(e._value);(t.version===0||ot(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{ge=s,Ye=n,el(e),e.flags&=-3}}function Dn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let l=s.computed.deps;l;l=l.nextDep)Dn(l,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function $i(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ye=!0;const sl=[];function ht(){sl.push(Ye),Ye=!1}function vt(){const e=sl.pop();Ye=e===void 0?!0:e}function no(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ge;ge=void 0;try{t()}finally{ge=s}}}let ms=0;class Ci{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{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(!ge||!Ye||ge===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ge)s=this.activeLink=new Ci(ge,this),ge.deps?(s.prevDep=ge.depsTail,ge.depsTail.nextDep=s,ge.depsTail=s):ge.deps=ge.depsTail=s,nl(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=ge.depsTail,s.nextDep=void 0,ge.depsTail.nextDep=s,ge.depsTail=s,ge.deps===s&&(ge.deps=n)}return s}trigger(t){this.version++,ms++,this.notify(t)}notify(t){jn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Hn()}}}function nl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)nl(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const wn=new WeakMap,Lt=Symbol(""),$n=Symbol(""),gs=Symbol("");function Me(e,t,s){if(Ye&&ge){let n=wn.get(e);n||wn.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Vn),o.map=n,o.key=s),o.track()}}function dt(e,t,s,n,o,l){const r=wn.get(e);if(!r){ms++;return}const a=u=>{u&&u.trigger()};if(jn(),t==="clear")r.forEach(a);else{const u=ee(e),v=u&&Rn(s);if(u&&s==="length"){const d=Number(n);r.forEach((m,P)=>{(P==="length"||P===gs||!it(P)&&P>=d)&&a(m)})}else switch((s!==void 0||r.has(void 0))&&a(r.get(s)),v&&a(r.get(gs)),t){case"add":u?v&&a(r.get("length")):(a(r.get(Lt)),Wt(e)&&a(r.get($n)));break;case"delete":u||(a(r.get(Lt)),Wt(e)&&a(r.get($n)));break;case"set":Wt(e)&&a(r.get(Lt));break}}Hn()}function Ht(e){const t=fe(e);return t===e?t:(Me(t,"iterate",gs),qe(e)?t:t.map(Qe))}function tn(e){return Me(e=fe(e),"iterate",gs),e}function st(e,t){return mt(e)?Gt(Pt(e)?Qe(t):t):Qe(t)}const ki={__proto__:null,[Symbol.iterator](){return pn(this,Symbol.iterator,e=>st(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>ee(t)?Ht(t):t))},entries(){return pn(this,"entries",e=>(e[1]=st(this,e[1]),e))},every(e,t){return rt(this,"every",e,t,void 0,arguments)},filter(e,t){return rt(this,"filter",e,t,s=>s.map(n=>st(this,n)),arguments)},find(e,t){return rt(this,"find",e,t,s=>st(this,s),arguments)},findIndex(e,t){return rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return rt(this,"findLast",e,t,s=>st(this,s),arguments)},findLastIndex(e,t){return rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return hn(this,"includes",e)},indexOf(...e){return hn(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return hn(this,"lastIndexOf",e)},map(e,t){return rt(this,"map",e,t,void 0,arguments)},pop(){return ss(this,"pop")},push(...e){return ss(this,"push",e)},reduce(e,...t){return oo(this,"reduce",e,t)},reduceRight(e,...t){return oo(this,"reduceRight",e,t)},shift(){return ss(this,"shift")},some(e,t){return rt(this,"some",e,t,void 0,arguments)},splice(...e){return ss(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return ss(this,"unshift",e)},values(){return pn(this,"values",e=>st(this,e))}};function pn(e,t,s){const n=tn(e),o=n[t]();return n!==e&&!qe(e)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.done||(l.value=s(l.value)),l}),o}const Si=Array.prototype;function rt(e,t,s,n,o,l){const r=tn(e),a=r!==e&&!qe(e),u=r[t];if(u!==Si[t]){const m=u.apply(e,l);return a?Qe(m):m}let v=s;r!==e&&(a?v=function(m,P){return s.call(this,st(e,m),P,e)}:s.length>2&&(v=function(m,P){return s.call(this,m,P,e)}));const d=u.call(r,v,n);return a&&o?o(d):d}function oo(e,t,s,n){const o=tn(e),l=o!==e&&!qe(e);let r=s,a=!1;o!==e&&(l?(a=n.length===0,r=function(v,d,m){return a&&(a=!1,v=st(e,v)),s.call(this,v,st(e,d),m,e)}):s.length>3&&(r=function(v,d,m){return s.call(this,v,d,m,e)}));const u=o[t](r,...n);return a?st(e,u):u}function hn(e,t,s){const n=fe(e);Me(n,"iterate",gs);const o=n[t](...s);return(o===-1||o===!1)&&Wn(s[0])?(s[0]=fe(s[0]),n[t](...s)):o}function ss(e,t,s=[]){ht(),jn();const n=fe(e)[t].apply(e,s);return Hn(),vt(),n}const Ti=Pn("__proto__,__v_isRef,__isVue"),ol=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function Mi(e){it(e)||(e=String(e));const t=fe(this);return Me(t,"has",e),t.hasOwnProperty(e)}class ll{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,l=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return l;if(s==="__v_raw")return n===(o?l?ji:cl:l?al:rl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=ee(t);if(!o){let u;if(r&&(u=ki[s]))return u;if(s==="hasOwnProperty")return Mi}const a=Reflect.get(t,s,Oe(t)?t:n);if((it(s)?ol.has(s):Ti(s))||(o||Me(t,"get",s),l))return a;if(Oe(a)){const u=r&&Rn(s)?a:a.value;return o&&he(u)?kn(u):u}return he(a)?o?kn(a):Bn(a):a}}class il extends ll{constructor(t=!1){super(!1,t)}set(t,s,n,o){let l=t[s];const r=ee(t)&&Rn(s);if(!this._isShallow){const v=mt(l);if(!qe(n)&&!mt(n)&&(l=fe(l),n=fe(n)),!r&&Oe(l)&&!Oe(n))return v||(l.value=n),!0}const a=r?Number(s)<t.length:pe(t,s),u=Reflect.set(t,s,n,Oe(t)?t:o);return t===fe(o)&&(a?ot(n,l)&&dt(t,"set",s,n):dt(t,"add",s,n)),u}deleteProperty(t,s){const n=pe(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&&dt(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!it(s)||!ol.has(s))&&Me(t,"has",s),n}ownKeys(t){return Me(t,"iterate",ee(t)?"length":Lt),Reflect.ownKeys(t)}}class Ei extends ll{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Oi=new il,Ai=new Ei,Ii=new il(!0);const Cn=e=>e,Os=e=>Reflect.getPrototypeOf(e);function Li(e,t,s){return function(...n){const o=this.__v_raw,l=fe(o),r=Wt(l),a=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,v=o[e](...n),d=s?Cn:t?Gt:Qe;return!t&&Me(l,"iterate",u?$n:Lt),we(Object.create(v),{next(){const{value:m,done:P}=v.next();return P?{value:m,done:P}:{value:a?[d(m[0]),d(m[1])]:d(m),done:P}}})}}function As(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Pi(e,t){const s={get(o){const l=this.__v_raw,r=fe(l),a=fe(o);e||(ot(o,a)&&Me(r,"get",o),Me(r,"get",a));const{has:u}=Os(r),v=t?Cn:e?Gt:Qe;if(u.call(r,o))return v(l.get(o));if(u.call(r,a))return v(l.get(a));l!==r&&l.get(o)},get size(){const o=this.__v_raw;return!e&&Me(fe(o),"iterate",Lt),o.size},has(o){const l=this.__v_raw,r=fe(l),a=fe(o);return e||(ot(o,a)&&Me(r,"has",o),Me(r,"has",a)),o===a?l.has(o):l.has(o)||l.has(a)},forEach(o,l){const r=this,a=r.__v_raw,u=fe(a),v=t?Cn:e?Gt:Qe;return!e&&Me(u,"iterate",Lt),a.forEach((d,m)=>o.call(l,v(d),v(m),r))}};return we(s,e?{add:As("add"),set:As("set"),delete:As("delete"),clear:As("clear")}:{add(o){const l=fe(this),r=Os(l),a=fe(o),u=!t&&!qe(o)&&!mt(o)?a:o;return r.has.call(l,u)||ot(o,u)&&r.has.call(l,o)||ot(a,u)&&r.has.call(l,a)||(l.add(u),dt(l,"add",u,u)),this},set(o,l){!t&&!qe(l)&&!mt(l)&&(l=fe(l));const r=fe(this),{has:a,get:u}=Os(r);let v=a.call(r,o);v||(o=fe(o),v=a.call(r,o));const d=u.call(r,o);return r.set(o,l),v?ot(l,d)&&dt(r,"set",o,l):dt(r,"add",o,l),this},delete(o){const l=fe(this),{has:r,get:a}=Os(l);let u=r.call(l,o);u||(o=fe(o),u=r.call(l,o)),a&&a.call(l,o);const v=l.delete(o);return u&&dt(l,"delete",o,void 0),v},clear(){const o=fe(this),l=o.size!==0,r=o.clear();return l&&dt(o,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=Li(o,e,t)}),s}function Un(e,t){const s=Pi(e,t);return(n,o,l)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(pe(s,o)&&o in n?s:n,o,l)}const Ni={get:Un(!1,!1)},Fi={get:Un(!1,!0)},Ri={get:Un(!0,!1)};const rl=new WeakMap,al=new WeakMap,cl=new WeakMap,ji=new WeakMap;function Hi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Di(e){return e.__v_skip||!Object.isExtensible(e)?0:Hi(ci(e))}function Bn(e){return mt(e)?e:Kn(e,!1,Oi,Ni,rl)}function Vi(e){return Kn(e,!1,Ii,Fi,al)}function kn(e){return Kn(e,!0,Ai,Ri,cl)}function Kn(e,t,s,n,o){if(!he(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=Di(e);if(l===0)return e;const r=o.get(e);if(r)return r;const a=new Proxy(e,l===2?n:s);return o.set(e,a),a}function Pt(e){return mt(e)?Pt(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function qe(e){return!!(e&&e.__v_isShallow)}function Wn(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Ui(e){return!pe(e,"__v_skip")&&Object.isExtensible(e)&&zo(e,"__v_skip",!0),e}const Qe=e=>he(e)?Bn(e):e,Gt=e=>he(e)?kn(e):e;function Oe(e){return e?e.__v_isRef===!0:!1}function ce(e){return Bi(e,!1)}function Bi(e,t){return Oe(e)?e:new Ki(e,t)}class Ki{constructor(t,s){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:fe(t),this._value=s?t:Qe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||qe(t)||mt(t);t=n?t:fe(t),ot(t,s)&&(this._rawValue=t,this._value=n?t:Qe(t),this.dep.trigger())}}function wt(e){return Oe(e)?e.value:e}const Wi={get:(e,t,s)=>t==="__v_raw"?e:wt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return Oe(o)&&!Oe(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function ul(e){return Pt(e)?e:new Proxy(e,Wi)}class zi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ms-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ge!==this)return Xo(this,!0),!0}get value(){const t=this.dep.track();return tl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qi(e,t,s=!1){let n,o;return le(e)?n=e:(n=e.get,o=e.set),new zi(n,o,s)}const Is={},js=new WeakMap;let Et;function Ji(e,t=!1,s=Et){if(s){let n=js.get(s);n||js.set(s,n=[]),n.push(e)}}function Gi(e,t,s=ve){const{immediate:n,deep:o,once:l,scheduler:r,augmentJob:a,call:u}=s,v=T=>o?T:qe(T)||o===!1||o===0?ft(T,1):ft(T);let d,m,P,w,y=!1,A=!1;if(Oe(e)?(m=()=>e.value,y=qe(e)):Pt(e)?(m=()=>v(e),y=!0):ee(e)?(A=!0,y=e.some(T=>Pt(T)||qe(T)),m=()=>e.map(T=>{if(Oe(T))return T.value;if(Pt(T))return v(T);if(le(T))return u?u(T,2):T()})):le(e)?t?m=u?()=>u(e,2):e:m=()=>{if(P){ht();try{P()}finally{vt()}}const T=Et;Et=d;try{return u?u(e,3,[w]):e(w)}finally{Et=T}}:m=lt,t&&o){const T=m,H=o===!0?1/0:o;m=()=>ft(T(),H)}const W=wi(),G=()=>{d.stop(),W&&W.active&&Fn(W.effects,d)};if(l&&t){const T=t;t=(...H)=>{T(...H),G()}}let D=A?new Array(e.length).fill(Is):Is;const Y=T=>{if(!(!(d.flags&1)||!d.dirty&&!T))if(t){const H=d.run();if(o||y||(A?H.some((U,F)=>ot(U,D[F])):ot(H,D))){P&&P();const U=Et;Et=d;try{const F=[H,D===Is?void 0:A&&D[0]===Is?[]:D,w];D=H,u?u(t,3,F):t(...F)}finally{Et=U}}}else d.run()};return a&&a(Y),d=new Yo(m),d.scheduler=r?()=>r(Y,!1):Y,w=T=>Ji(T,!1,d),P=d.onStop=()=>{const T=js.get(d);if(T){if(u)u(T,4);else for(const H of T)H();js.delete(d)}},t?n?Y(!0):D=d.run():r?r(Y.bind(null,!0),!0):d.run(),G.pause=d.pause.bind(d),G.resume=d.resume.bind(d),G.stop=G,G}function ft(e,t=1/0,s){if(t<=0||!he(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Oe(e))ft(e.value,t,s);else if(ee(e))for(let n=0;n<e.length;n++)ft(e[n],t,s);else if(Qs(e)||Wt(e))e.forEach(n=>{ft(n,t,s)});else if(Ko(e)){for(const n in e)ft(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ft(e[n],t,s)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.30
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function Ss(e,t,s,n){try{return n?e(...n):e()}catch(o){sn(o,t,s)}}function Xe(e,t,s,n){if(le(e)){const o=Ss(e,t,s,n);return o&&Uo(o)&&o.catch(l=>{sn(l,t,s)}),o}if(ee(e)){const o=[];for(let l=0;l<e.length;l++)o.push(Xe(e[l],t,s,n));return o}}function sn(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||ve;if(t){let a=t.parent;const u=t.proxy,v=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const d=a.ec;if(d){for(let m=0;m<d.length;m++)if(d[m](e,u,v)===!1)return}a=a.parent}if(l){ht(),Ss(l,null,10,[e,u,v]),vt();return}}Yi(e,s,o,n,r)}function Yi(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const Ne=[];let et=-1;const zt=[];let yt=null,Bt=0;const dl=Promise.resolve();let Hs=null;function fl(e){const t=Hs||dl;return e?t.then(this?e.bind(this):e):t}function Qi(e){let t=et+1,s=Ne.length;for(;t<s;){const n=t+s>>>1,o=Ne[n],l=_s(o);l<e||l===e&&o.flags&2?t=n+1:s=n}return t}function zn(e){if(!(e.flags&1)){const t=_s(e),s=Ne[Ne.length-1];!s||!(e.flags&2)&&t>=_s(s)?Ne.push(e):Ne.splice(Qi(t),0,e),e.flags|=1,pl()}}function pl(){Hs||(Hs=dl.then(vl))}function Xi(e){ee(e)?zt.push(...e):yt&&e.id===-1?yt.splice(Bt+1,0,e):e.flags&1||(zt.push(e),e.flags|=1),pl()}function lo(e,t,s=et+1){for(;s<Ne.length;s++){const n=Ne[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Ne.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function hl(e){if(zt.length){const t=[...new Set(zt)].sort((s,n)=>_s(s)-_s(n));if(zt.length=0,yt){yt.push(...t);return}for(yt=t,Bt=0;Bt<yt.length;Bt++){const s=yt[Bt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}yt=null,Bt=0}}const _s=e=>e.id==null?e.flags&2?-1:1/0:e.id;function vl(e){try{for(et=0;et<Ne.length;et++){const t=Ne[et];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ss(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;et<Ne.length;et++){const t=Ne[et];t&&(t.flags&=-2)}et=-1,Ne.length=0,hl(),Hs=null,(Ne.length||zt.length)&&vl()}}let ze=null,ml=null;function Ds(e){const t=ze;return ze=e,ml=e&&e.type.__scopeId||null,t}function Vs(e,t=ze,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&Ks(-1);const l=Ds(t);let r;try{r=e(...o)}finally{Ds(l),n._d&&Ks(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function Nt(e,t){if(ze===null)return e;const s=an(ze),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[l,r,a,u=ve]=t[o];l&&(le(l)&&(l={mounted:l,updated:l}),l.deep&&ft(r),n.push({dir:l,instance:s,value:r,oldValue:void 0,arg:a,modifiers:u}))}return e}function kt(e,t,s,n){const o=e.dirs,l=t&&t.dirs;for(let r=0;r<o.length;r++){const a=o[r];l&&(a.oldValue=l[r].value);let u=a.dir[n];u&&(ht(),Xe(u,s,8,[e.el,a,e,t]),vt())}}function Zi(e,t){if(Re){let s=Re.provides;const n=Re.parent&&Re.parent.provides;n===s&&(s=Re.provides=Object.create(n)),s[e]=t}}function Ps(e,t,s=!1){const n=Jl();if(n||qt){let o=qt?qt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&le(t)?t.call(n&&n.proxy):t}}const er=Symbol.for("v-scx"),tr=()=>Ps(er);function xt(e,t,s){return gl(e,t,s)}function gl(e,t,s=ve){const{immediate:n,deep:o,flush:l,once:r}=s,a=we({},s),u=t&&n||!t&&l!=="post";let v;if(xs){if(l==="sync"){const w=tr();v=w.__watcherHandles||(w.__watcherHandles=[])}else if(!u){const w=()=>{};return w.stop=lt,w.resume=lt,w.pause=lt,w}}const d=Re;a.call=(w,y,A)=>Xe(w,d,y,A);let m=!1;l==="post"?a.scheduler=w=>{De(w,d&&d.suspense)}:l!=="sync"&&(m=!0,a.scheduler=(w,y)=>{y?w():zn(w)}),a.augmentJob=w=>{t&&(w.flags|=4),m&&(w.flags|=2,d&&(w.id=d.uid,w.i=d))};const P=Gi(e,t,a);return xs&&(v?v.push(P):u&&P()),P}function sr(e,t,s){const n=this.proxy,o=xe(e)?e.includes(".")?_l(n,e):()=>n[e]:e.bind(n,n);let l;le(t)?l=t:(l=t.handler,s=t);const r=Ts(this),a=gl(o,l.bind(n),s);return r(),a}function _l(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const nr=Symbol("_vte"),bl=e=>e.__isTeleport,tt=Symbol("_leaveCb"),ns=Symbol("_enterCb");function or(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Tl(()=>{e.isMounted=!0}),Ml(()=>{e.isUnmounting=!0}),e}const We=[Function,Array],yl={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:We,onEnter:We,onAfterEnter:We,onEnterCancelled:We,onBeforeLeave:We,onLeave:We,onAfterLeave:We,onLeaveCancelled:We,onBeforeAppear:We,onAppear:We,onAfterAppear:We,onAppearCancelled:We},xl=e=>{const t=e.subTree;return t.component?xl(t.component):t},lr={name:"BaseTransition",props:yl,setup(e,{slots:t}){const s=Jl(),n=or();return()=>{const o=t.default&&Cl(t.default(),!0);if(!o||!o.length)return;const l=wl(o),r=fe(e),{mode:a}=r;if(n.isLeaving)return vn(l);const u=io(l);if(!u)return vn(l);let v=Sn(u,r,n,s,m=>v=m);u.type!==Fe&&bs(u,v);let d=s.subTree&&io(s.subTree);if(d&&d.type!==Fe&&!At(d,u)&&xl(s).type!==Fe){let m=Sn(d,r,n,s);if(bs(d,m),a==="out-in"&&u.type!==Fe)return n.isLeaving=!0,m.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete m.afterLeave,d=void 0},vn(l);a==="in-out"&&u.type!==Fe?m.delayLeave=(P,w,y)=>{const A=$l(n,d);A[String(d.key)]=d,P[tt]=()=>{w(),P[tt]=void 0,delete v.delayedLeave,d=void 0},v.delayedLeave=()=>{y(),delete v.delayedLeave,d=void 0}}:d=void 0}else d&&(d=void 0);return l}}};function wl(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Fe){t=s;break}}return t}const ir=lr;function $l(e,t){const{leavingVNodes:s}=e;let n=s.get(t.type);return n||(n=Object.create(null),s.set(t.type,n)),n}function Sn(e,t,s,n,o){const{appear:l,mode:r,persisted:a=!1,onBeforeEnter:u,onEnter:v,onAfterEnter:d,onEnterCancelled:m,onBeforeLeave:P,onLeave:w,onAfterLeave:y,onLeaveCancelled:A,onBeforeAppear:W,onAppear:G,onAfterAppear:D,onAppearCancelled:Y}=t,T=String(e.key),H=$l(s,e),U=(C,ie)=>{C&&Xe(C,n,9,ie)},F=(C,ie)=>{const x=ie[1];U(C,ie),ee(C)?C.every(g=>g.length<=1)&&x():C.length<=1&&x()},E={mode:r,persisted:a,beforeEnter(C){let ie=u;if(!s.isMounted)if(l)ie=W||u;else return;C[tt]&&C[tt](!0);const x=H[T];x&&At(e,x)&&x.el[tt]&&x.el[tt](),U(ie,[C])},enter(C){if(H[T]===e)return;let ie=v,x=d,g=m;if(!s.isMounted)if(l)ie=G||v,x=D||d,g=Y||m;else return;let b=!1;C[ns]=re=>{b||(b=!0,re?U(g,[C]):U(x,[C]),E.delayedLeave&&E.delayedLeave(),C[ns]=void 0)};const q=C[ns].bind(null,!1);ie?F(ie,[C,q]):q()},leave(C,ie){const x=String(e.key);if(C[ns]&&C[ns](!0),s.isUnmounting)return ie();U(P,[C]);let g=!1;C[tt]=q=>{g||(g=!0,ie(),q?U(A,[C]):U(y,[C]),C[tt]=void 0,H[x]===e&&delete H[x])};const b=C[tt].bind(null,!1);H[x]=e,w?F(w,[C,b]):b()},clone(C){const ie=Sn(C,t,s,n,o);return o&&o(ie),ie}};return E}function vn(e){if(nn(e))return e=$t(e),e.children=null,e}function io(e){if(!nn(e))return bl(e.type)&&e.children?wl(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:s}=e;if(s){if(t&16)return s[0];if(t&32&&le(s.default))return s.default()}}function bs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,bs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Cl(e,t=!1,s){let n=[],o=0;for(let l=0;l<e.length;l++){let r=e[l];const a=s==null?r.key:String(s)+String(r.key!=null?r.key:l);r.type===ue?(r.patchFlag&128&&o++,n=n.concat(Cl(r.children,t,a))):(t||r.type!==Fe)&&n.push(a!=null?$t(r,{key:a}):r)}if(o>1)for(let l=0;l<n.length;l++)n[l].patchFlag=-2;return n}function Ft(e,t){return le(e)?we({name:e.name},t,{setup:e}):e}function kl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ro(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Us=new WeakMap;function ds(e,t,s,n,o=!1){if(ee(e)){e.forEach((A,W)=>ds(A,t&&(ee(t)?t[W]:t),s,n,o));return}if(fs(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&ds(e,t,s,n.component.subTree);return}const l=n.shapeFlag&4?an(n.component):n.el,r=o?null:l,{i:a,r:u}=e,v=t&&t.r,d=a.refs===ve?a.refs={}:a.refs,m=a.setupState,P=fe(m),w=m===ve?Vo:A=>ro(d,A)?!1:pe(P,A),y=(A,W)=>!(W&&ro(d,W));if(v!=null&&v!==u){if(ao(t),xe(v))d[v]=null,w(v)&&(m[v]=null);else if(Oe(v)){const A=t;y(v,A.k)&&(v.value=null),A.k&&(d[A.k]=null)}}if(le(u))Ss(u,a,12,[r,d]);else{const A=xe(u),W=Oe(u);if(A||W){const G=()=>{if(e.f){const D=A?w(u)?m[u]:d[u]:y()||!e.k?u.value:d[e.k];if(o)ee(D)&&Fn(D,l);else if(ee(D))D.includes(l)||D.push(l);else if(A)d[u]=[l],w(u)&&(m[u]=d[u]);else{const Y=[l];y(u,e.k)&&(u.value=Y),e.k&&(d[e.k]=Y)}}else A?(d[u]=r,w(u)&&(m[u]=r)):W&&(y(u,e.k)&&(u.value=r),e.k&&(d[e.k]=r))};if(r){const D=()=>{G(),Us.delete(e)};D.id=-1,Us.set(e,D),De(D,s)}else ao(e),G()}}}function ao(e){const t=Us.get(e);t&&(t.flags|=8,Us.delete(e))}en().requestIdleCallback;en().cancelIdleCallback;const fs=e=>!!e.type.__asyncLoader,nn=e=>e.type.__isKeepAlive;function rr(e,t){Sl(e,"a",t)}function ar(e,t){Sl(e,"da",t)}function Sl(e,t,s=Re){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(on(t,n,s),s){let o=s.parent;for(;o&&o.parent;)nn(o.parent.vnode)&&cr(n,t,s,o),o=o.parent}}function cr(e,t,s,n){const o=on(t,e,n,!0);qn(()=>{Fn(n[t],o)},s)}function on(e,t,s=Re,n=!1){if(s){const o=s[e]||(s[e]=[]),l=t.__weh||(t.__weh=(...r)=>{ht();const a=Ts(s),u=Xe(t,s,e,r);return a(),vt(),u});return n?o.unshift(l):o.push(l),l}}const gt=e=>(t,s=Re)=>{(!xs||e==="sp")&&on(e,(...n)=>t(...n),s)},ur=gt("bm"),Tl=gt("m"),dr=gt("bu"),fr=gt("u"),Ml=gt("bum"),qn=gt("um"),pr=gt("sp"),hr=gt("rtg"),vr=gt("rtc");function mr(e,t=Re){on("ec",e,t)}const gr=Symbol.for("v-ndc");function ye(e,t,s,n){let o;const l=s,r=ee(e);if(r||xe(e)){const a=r&&Pt(e);let u=!1,v=!1;a&&(u=!qe(e),v=mt(e),e=tn(e)),o=new Array(e.length);for(let d=0,m=e.length;d<m;d++)o[d]=t(u?v?Gt(Qe(e[d])):Qe(e[d]):e[d],d,void 0,l)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,l)}else if(he(e))if(e[Symbol.iterator])o=Array.from(e,(a,u)=>t(a,u,void 0,l));else{const a=Object.keys(e);o=new Array(a.length);for(let u=0,v=a.length;u<v;u++){const d=a[u];o[u]=t(e[d],d,u,l)}}else o=[];return o}const Tn=e=>e?Gl(e)?an(e):Tn(e.parent):null,ps=we(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=>Tn(e.parent),$root:e=>Tn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ol(e),$forceUpdate:e=>e.f||(e.f=()=>{zn(e.update)}),$nextTick:e=>e.n||(e.n=fl.bind(e.proxy)),$watch:e=>sr.bind(e)}),mn=(e,t)=>e!==ve&&!e.__isScriptSetup&&pe(e,t),_r={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:l,accessCache:r,type:a,appContext:u}=e;if(t[0]!=="$"){const P=r[t];if(P!==void 0)switch(P){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return l[t]}else{if(mn(n,t))return r[t]=1,n[t];if(o!==ve&&pe(o,t))return r[t]=2,o[t];if(pe(l,t))return r[t]=3,l[t];if(s!==ve&&pe(s,t))return r[t]=4,s[t];Mn&&(r[t]=0)}}const v=ps[t];let d,m;if(v)return t==="$attrs"&&Me(e.attrs,"get",""),v(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(s!==ve&&pe(s,t))return r[t]=4,s[t];if(m=u.config.globalProperties,pe(m,t))return m[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:l}=e;return mn(o,t)?(o[t]=s,!0):n!==ve&&pe(n,t)?(n[t]=s,!0):pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,props:l,type:r}},a){let u;return!!(s[a]||e!==ve&&a[0]!=="$"&&pe(e,a)||mn(t,a)||pe(l,a)||pe(n,a)||pe(ps,a)||pe(o.config.globalProperties,a)||(u=r.__cssModules)&&u[a])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:pe(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function co(e){return ee(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Mn=!0;function br(e){const t=Ol(e),s=e.proxy,n=e.ctx;Mn=!1,t.beforeCreate&&uo(t.beforeCreate,e,"bc");const{data:o,computed:l,methods:r,watch:a,provide:u,inject:v,created:d,beforeMount:m,mounted:P,beforeUpdate:w,updated:y,activated:A,deactivated:W,beforeDestroy:G,beforeUnmount:D,destroyed:Y,unmounted:T,render:H,renderTracked:U,renderTriggered:F,errorCaptured:E,serverPrefetch:C,expose:ie,inheritAttrs:x,components:g,directives:b,filters:q}=t;if(v&&yr(v,n,null),r)for(const R in r){const Z=r[R];le(Z)&&(n[R]=Z.bind(s))}if(o){const R=o.call(s,s);he(R)&&(e.data=Bn(R))}if(Mn=!0,l)for(const R in l){const Z=l[R],_e=le(Z)?Z.bind(s,s):le(Z.get)?Z.get.bind(s,s):lt,be=!le(Z)&&le(Z.set)?Z.set.bind(s):lt,Je=ae({get:_e,set:be});Object.defineProperty(n,R,{enumerable:!0,configurable:!0,get:()=>Je.value,set:je=>Je.value=je})}if(a)for(const R in a)El(a[R],n,s,R);if(u){const R=le(u)?u.call(s):u;Reflect.ownKeys(R).forEach(Z=>{Zi(Z,R[Z])})}d&&uo(d,e,"c");function de(R,Z){ee(Z)?Z.forEach(_e=>R(_e.bind(s))):Z&&R(Z.bind(s))}if(de(ur,m),de(Tl,P),de(dr,w),de(fr,y),de(rr,A),de(ar,W),de(mr,E),de(vr,U),de(hr,F),de(Ml,D),de(qn,T),de(pr,C),ee(ie))if(ie.length){const R=e.exposed||(e.exposed={});ie.forEach(Z=>{Object.defineProperty(R,Z,{get:()=>s[Z],set:_e=>s[Z]=_e,enumerable:!0})})}else e.exposed||(e.exposed={});H&&e.render===lt&&(e.render=H),x!=null&&(e.inheritAttrs=x),g&&(e.components=g),b&&(e.directives=b),C&&kl(e)}function yr(e,t,s=lt){ee(e)&&(e=En(e));for(const n in e){const o=e[n];let l;he(o)?"default"in o?l=Ps(o.from||n,o.default,!0):l=Ps(o.from||n):l=Ps(o),Oe(l)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:r=>l.value=r}):t[n]=l}}function uo(e,t,s){Xe(ee(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function El(e,t,s,n){let o=n.includes(".")?_l(s,n):()=>s[n];if(xe(e)){const l=t[e];le(l)&&xt(o,l)}else if(le(e))xt(o,e.bind(s));else if(he(e))if(ee(e))e.forEach(l=>El(l,t,s,n));else{const l=le(e.handler)?e.handler.bind(s):t[e.handler];le(l)&&xt(o,l,e)}}function Ol(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:l,config:{optionMergeStrategies:r}}=e.appContext,a=l.get(t);let u;return a?u=a:!o.length&&!s&&!n?u=t:(u={},o.length&&o.forEach(v=>Bs(u,v,r,!0)),Bs(u,t,r)),he(t)&&l.set(t,u),u}function Bs(e,t,s,n=!1){const{mixins:o,extends:l}=t;l&&Bs(e,l,s,!0),o&&o.forEach(r=>Bs(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const a=xr[r]||s&&s[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const xr={data:fo,props:po,emits:po,methods:rs,computed:rs,beforeCreate:Pe,created:Pe,beforeMount:Pe,mounted:Pe,beforeUpdate:Pe,updated:Pe,beforeDestroy:Pe,beforeUnmount:Pe,destroyed:Pe,unmounted:Pe,activated:Pe,deactivated:Pe,errorCaptured:Pe,serverPrefetch:Pe,components:rs,directives:rs,watch:$r,provide:fo,inject:wr};function fo(e,t){return t?e?function(){return we(le(e)?e.call(this,this):e,le(t)?t.call(this,this):t)}:t:e}function wr(e,t){return rs(En(e),En(t))}function En(e){if(ee(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Pe(e,t){return e?[...new Set([].concat(e,t))]:t}function rs(e,t){return e?we(Object.create(null),e,t):t}function po(e,t){return e?ee(e)&&ee(t)?[...new Set([...e,...t])]:we(Object.create(null),co(e),co(t??{})):t}function $r(e,t){if(!e)return t;if(!t)return e;const s=we(Object.create(null),e);for(const n in t)s[n]=Pe(e[n],t[n]);return s}function Al(){return{app:null,config:{isNativeTag:Vo,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 Cr=0;function kr(e,t){return function(n,o=null){le(n)||(n=we({},n)),o!=null&&!he(o)&&(o=null);const l=Al(),r=new WeakSet,a=[];let u=!1;const v=l.app={_uid:Cr++,_component:n,_props:o,_container:null,_context:l,_instance:null,version:na,get config(){return l.config},set config(d){},use(d,...m){return r.has(d)||(d&&le(d.install)?(r.add(d),d.install(v,...m)):le(d)&&(r.add(d),d(v,...m))),v},mixin(d){return l.mixins.includes(d)||l.mixins.push(d),v},component(d,m){return m?(l.components[d]=m,v):l.components[d]},directive(d,m){return m?(l.directives[d]=m,v):l.directives[d]},mount(d,m,P){if(!u){const w=v._ceVNode||ke(n,o);return w.appContext=l,P===!0?P="svg":P===!1&&(P=void 0),e(w,d,P),u=!0,v._container=d,d.__vue_app__=v,an(w.component)}},onUnmount(d){a.push(d)},unmount(){u&&(Xe(a,v._instance,16),e(null,v._container),delete v._container.__vue_app__)},provide(d,m){return l.provides[d]=m,v},runWithContext(d){const m=qt;qt=v;try{return d()}finally{qt=m}}};return v}}let qt=null;const Sr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ge(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function Tr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ve;let o=s;const l=t.startsWith("update:"),r=l&&Sr(n,t.slice(7));r&&(r.trim&&(o=s.map(d=>xe(d)?d.trim():d)),r.number&&(o=s.map(Zs)));let a,u=n[a=un(t)]||n[a=un(Ge(t))];!u&&l&&(u=n[a=un(Rt(t))]),u&&Xe(u,e,6,o);const v=n[a+"Once"];if(v){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(v,e,6,o)}}const Mr=new WeakMap;function Il(e,t,s=!1){const n=s?Mr:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const l=e.emits;let r={},a=!1;if(!le(e)){const u=v=>{const d=Il(v,t,!0);d&&(a=!0,we(r,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!a?(he(e)&&n.set(e,null),null):(ee(l)?l.forEach(u=>r[u]=null):we(r,l),he(e)&&n.set(e,r),r)}function ln(e,t){return!e||!Ys(t)?!1:(t=t.slice(2).replace(/Once$/,""),pe(e,t[0].toLowerCase()+t.slice(1))||pe(e,Rt(t))||pe(e,t))}function ho(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[l],slots:r,attrs:a,emit:u,render:v,renderCache:d,props:m,data:P,setupState:w,ctx:y,inheritAttrs:A}=e,W=Ds(e);let G,D;try{if(s.shapeFlag&4){const T=o||n,H=T;G=nt(v.call(H,T,d,m,w,P,y)),D=a}else{const T=t;G=nt(T.length>1?T(m,{attrs:a,slots:r,emit:u}):T(m,null)),D=t.props?a:Er(a)}}catch(T){hs.length=0,sn(T,e,1),G=ke(Fe)}let Y=G;if(D&&A!==!1){const T=Object.keys(D),{shapeFlag:H}=Y;T.length&&H&7&&(l&&T.some(Nn)&&(D=Or(D,l)),Y=$t(Y,D,!1,!0))}return s.dirs&&(Y=$t(Y,null,!1,!0),Y.dirs=Y.dirs?Y.dirs.concat(s.dirs):s.dirs),s.transition&&bs(Y,s.transition),G=Y,Ds(W),G}const Er=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ys(s))&&((t||(t={}))[s]=e[s]);return t},Or=(e,t)=>{const s={};for(const n in e)(!Nn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Ar(e,t,s){const{props:n,children:o,component:l}=e,{props:r,children:a,patchFlag:u}=t,v=l.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?vo(n,r,v):!!r;if(u&8){const d=t.dynamicProps;for(let m=0;m<d.length;m++){const P=d[m];if(Ll(r,n,P)&&!ln(v,P))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:n===r?!1:n?r?vo(n,r,v):!0:!!r;return!1}function vo(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const l=n[o];if(Ll(t,e,l)&&!ln(s,l))return!0}return!1}function Ll(e,t,s){const n=e[s],o=t[s];return s==="style"&&he(n)&&he(o)?!ks(n,o):n!==o}function Ir({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Pl={},Nl=()=>Object.create(Pl),Fl=e=>Object.getPrototypeOf(e)===Pl;function Lr(e,t,s,n=!1){const o={},l=Nl();e.propsDefaults=Object.create(null),Rl(e,t,o,l);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);s?e.props=n?o:Vi(o):e.type.props?e.props=o:e.props=l,e.attrs=l}function Pr(e,t,s,n){const{props:o,attrs:l,vnode:{patchFlag:r}}=e,a=fe(o),[u]=e.propsOptions;let v=!1;if((n||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let m=0;m<d.length;m++){let P=d[m];if(ln(e.emitsOptions,P))continue;const w=t[P];if(u)if(pe(l,P))w!==l[P]&&(l[P]=w,v=!0);else{const y=Ge(P);o[y]=On(u,a,y,w,e,!1)}else w!==l[P]&&(l[P]=w,v=!0)}}}else{Rl(e,t,o,l)&&(v=!0);let d;for(const m in a)(!t||!pe(t,m)&&((d=Rt(m))===m||!pe(t,d)))&&(u?s&&(s[m]!==void 0||s[d]!==void 0)&&(o[m]=On(u,a,m,void 0,e,!0)):delete o[m]);if(l!==a)for(const m in l)(!t||!pe(t,m))&&(delete l[m],v=!0)}v&&dt(e.attrs,"set","")}function Rl(e,t,s,n){const[o,l]=e.propsOptions;let r=!1,a;if(t)for(let u in t){if(as(u))continue;const v=t[u];let d;o&&pe(o,d=Ge(u))?!l||!l.includes(d)?s[d]=v:(a||(a={}))[d]=v:ln(e.emitsOptions,u)||(!(u in n)||v!==n[u])&&(n[u]=v,r=!0)}if(l){const u=fe(s),v=a||ve;for(let d=0;d<l.length;d++){const m=l[d];s[m]=On(o,u,m,v[m],e,!pe(v,m))}}return r}function On(e,t,s,n,o,l){const r=e[s];if(r!=null){const a=pe(r,"default");if(a&&n===void 0){const u=r.default;if(r.type!==Function&&!r.skipFactory&&le(u)){const{propsDefaults:v}=o;if(s in v)n=v[s];else{const d=Ts(o);n=v[s]=u.call(null,t),d()}}else n=u;o.ce&&o.ce._setProp(s,n)}r[0]&&(l&&!a?n=!1:r[1]&&(n===""||n===Rt(s))&&(n=!0))}return n}const Nr=new WeakMap;function jl(e,t,s=!1){const n=s?Nr:t.propsCache,o=n.get(e);if(o)return o;const l=e.props,r={},a=[];let u=!1;if(!le(e)){const d=m=>{u=!0;const[P,w]=jl(m,t,!0);we(r,P),w&&a.push(...w)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!u)return he(e)&&n.set(e,Kt),Kt;if(ee(l))for(let d=0;d<l.length;d++){const m=Ge(l[d]);mo(m)&&(r[m]=ve)}else if(l)for(const d in l){const m=Ge(d);if(mo(m)){const P=l[d],w=r[m]=ee(P)||le(P)?{type:P}:we({},P),y=w.type;let A=!1,W=!0;if(ee(y))for(let G=0;G<y.length;++G){const D=y[G],Y=le(D)&&D.name;if(Y==="Boolean"){A=!0;break}else Y==="String"&&(W=!1)}else A=le(y)&&y.name==="Boolean";w[0]=A,w[1]=W,(A||pe(w,"default"))&&a.push(m)}}const v=[r,a];return he(e)&&n.set(e,v),v}function mo(e){return e[0]!=="$"&&!as(e)}const Jn=e=>e==="_"||e==="_ctx"||e==="$stable",Gn=e=>ee(e)?e.map(nt):[nt(e)],Fr=(e,t,s)=>{if(t._n)return t;const n=Vs((...o)=>Gn(t(...o)),s);return n._c=!1,n},Hl=(e,t,s)=>{const n=e._ctx;for(const o in e){if(Jn(o))continue;const l=e[o];if(le(l))t[o]=Fr(o,l,n);else if(l!=null){const r=Gn(l);t[o]=()=>r}}},Dl=(e,t)=>{const s=Gn(t);e.slots.default=()=>s},Vl=(e,t,s)=>{for(const n in t)(s||!Jn(n))&&(e[n]=t[n])},Rr=(e,t,s)=>{const n=e.slots=Nl();if(e.vnode.shapeFlag&32){const o=t._;o?(Vl(n,t,s),s&&zo(n,"_",o,!0)):Hl(t,n)}else t&&Dl(e,t)},jr=(e,t,s)=>{const{vnode:n,slots:o}=e;let l=!0,r=ve;if(n.shapeFlag&32){const a=t._;a?s&&a===1?l=!1:Vl(o,t,s):(l=!t.$stable,Hl(t,o)),r=t}else t&&(Dl(e,t),r={default:1});if(l)for(const a in o)!Jn(a)&&r[a]==null&&delete o[a]},De=Br;function Hr(e){return Dr(e)}function Dr(e,t){const s=en();s.__VUE__=!0;const{insert:n,remove:o,patchProp:l,createElement:r,createText:a,createComment:u,setText:v,setElementText:d,parentNode:m,nextSibling:P,setScopeId:w=lt,insertStaticContent:y}=e,A=(c,h,$,N=null,O=null,I=null,B=void 0,V=null,j=!!h.dynamicChildren)=>{if(c===h)return;c&&!At(c,h)&&(N=Ae(c),je(c,O,I,!0),c=null),h.patchFlag===-2&&(j=!1,h.dynamicChildren=null);const{type:L,ref:X,shapeFlag:K}=h;switch(L){case rn:W(c,h,$,N);break;case Fe:G(c,h,$,N);break;case Ns:c==null&&D(h,$,N,B);break;case ue:g(c,h,$,N,O,I,B,V,j);break;default:K&1?H(c,h,$,N,O,I,B,V,j):K&6?b(c,h,$,N,O,I,B,V,j):(K&64||K&128)&&L.process(c,h,$,N,O,I,B,V,j,_t)}X!=null&&O?ds(X,c&&c.ref,I,h||c,!h):X==null&&c&&c.ref!=null&&ds(c.ref,null,I,c,!0)},W=(c,h,$,N)=>{if(c==null)n(h.el=a(h.children),$,N);else{const O=h.el=c.el;h.children!==c.children&&v(O,h.children)}},G=(c,h,$,N)=>{c==null?n(h.el=u(h.children||""),$,N):h.el=c.el},D=(c,h,$,N)=>{[c.el,c.anchor]=y(c.children,h,$,N,c.el,c.anchor)},Y=({el:c,anchor:h},$,N)=>{let O;for(;c&&c!==h;)O=P(c),n(c,$,N),c=O;n(h,$,N)},T=({el:c,anchor:h})=>{let $;for(;c&&c!==h;)$=P(c),o(c),c=$;o(h)},H=(c,h,$,N,O,I,B,V,j)=>{if(h.type==="svg"?B="svg":h.type==="math"&&(B="mathml"),c==null)U(h,$,N,O,I,B,V,j);else{const L=c.el&&c.el._isVueCE?c.el:null;try{L&&L._beginPatch(),C(c,h,O,I,B,V,j)}finally{L&&L._endPatch()}}},U=(c,h,$,N,O,I,B,V)=>{let j,L;const{props:X,shapeFlag:K,transition:Q,dirs:se}=c;if(j=c.el=r(c.type,I,X&&X.is,X),K&8?d(j,c.children):K&16&&E(c.children,j,null,N,O,gn(c,I),B,V),se&&kt(c,null,N,"created"),F(j,c,c.scopeId,B,N),X){for(const p in X)p!=="value"&&!as(p)&&l(j,p,null,X[p],I,N);"value"in X&&l(j,"value",null,X.value,I),(L=X.onVnodeBeforeMount)&&Ze(L,N,c)}se&&kt(c,null,N,"beforeMount");const f=Vr(O,Q);f&&Q.beforeEnter(j),n(j,h,$),((L=X&&X.onVnodeMounted)||f||se)&&De(()=>{L&&Ze(L,N,c),f&&Q.enter(j),se&&kt(c,null,N,"mounted")},O)},F=(c,h,$,N,O)=>{if($&&w(c,$),N)for(let I=0;I<N.length;I++)w(c,N[I]);if(O){let I=O.subTree;if(h===I||Wl(I.type)&&(I.ssContent===h||I.ssFallback===h)){const B=O.vnode;F(c,B,B.scopeId,B.slotScopeIds,O.parent)}}},E=(c,h,$,N,O,I,B,V,j=0)=>{for(let L=j;L<c.length;L++){const X=c[L]=V?ut(c[L]):nt(c[L]);A(null,X,h,$,N,O,I,B,V)}},C=(c,h,$,N,O,I,B)=>{const V=h.el=c.el;let{patchFlag:j,dynamicChildren:L,dirs:X}=h;j|=c.patchFlag&16;const K=c.props||ve,Q=h.props||ve;let se;if($&&St($,!1),(se=Q.onVnodeBeforeUpdate)&&Ze(se,$,h,c),X&&kt(h,c,$,"beforeUpdate"),$&&St($,!0),(K.innerHTML&&Q.innerHTML==null||K.textContent&&Q.textContent==null)&&d(V,""),L?ie(c.dynamicChildren,L,V,$,N,gn(h,O),I):B||Z(c,h,V,null,$,N,gn(h,O),I,!1),j>0){if(j&16)x(V,K,Q,$,O);else if(j&2&&K.class!==Q.class&&l(V,"class",null,Q.class,O),j&4&&l(V,"style",K.style,Q.style,O),j&8){const f=h.dynamicProps;for(let p=0;p<f.length;p++){const k=f[p],te=K[k],J=Q[k];(J!==te||k==="value")&&l(V,k,te,J,O,$)}}j&1&&c.children!==h.children&&d(V,h.children)}else!B&&L==null&&x(V,K,Q,$,O);((se=Q.onVnodeUpdated)||X)&&De(()=>{se&&Ze(se,$,h,c),X&&kt(h,c,$,"updated")},N)},ie=(c,h,$,N,O,I,B)=>{for(let V=0;V<h.length;V++){const j=c[V],L=h[V],X=j.el&&(j.type===ue||!At(j,L)||j.shapeFlag&198)?m(j.el):$;A(j,L,X,null,N,O,I,B,!0)}},x=(c,h,$,N,O)=>{if(h!==$){if(h!==ve)for(const I in h)!as(I)&&!(I in $)&&l(c,I,h[I],null,O,N);for(const I in $){if(as(I))continue;const B=$[I],V=h[I];B!==V&&I!=="value"&&l(c,I,V,B,O,N)}"value"in $&&l(c,"value",h.value,$.value,O)}},g=(c,h,$,N,O,I,B,V,j)=>{const L=h.el=c?c.el:a(""),X=h.anchor=c?c.anchor:a("");let{patchFlag:K,dynamicChildren:Q,slotScopeIds:se}=h;se&&(V=V?V.concat(se):se),c==null?(n(L,$,N),n(X,$,N),E(h.children||[],$,X,O,I,B,V,j)):K>0&&K&64&&Q&&c.dynamicChildren&&c.dynamicChildren.length===Q.length?(ie(c.dynamicChildren,Q,$,O,I,B,V),(h.key!=null||O&&h===O.subTree)&&Ul(c,h,!0)):Z(c,h,$,X,O,I,B,V,j)},b=(c,h,$,N,O,I,B,V,j)=>{h.slotScopeIds=V,c==null?h.shapeFlag&512?O.ctx.activate(h,$,N,B,j):q(h,$,N,O,I,B,j):re(c,h,j)},q=(c,h,$,N,O,I,B)=>{const V=c.component=Qr(c,N,O);if(nn(c)&&(V.ctx.renderer=_t),Xr(V,!1,B),V.asyncDep){if(O&&O.registerDep(V,de,B),!c.el){const j=V.subTree=ke(Fe);G(null,j,h,$),c.placeholder=j.el}}else de(V,c,h,$,O,I,B)},re=(c,h,$)=>{const N=h.component=c.component;if(Ar(c,h,$))if(N.asyncDep&&!N.asyncResolved){R(N,h,$);return}else N.next=h,N.update();else h.el=c.el,N.vnode=h},de=(c,h,$,N,O,I,B)=>{const V=()=>{if(c.isMounted){let{next:K,bu:Q,u:se,parent:f,vnode:p}=c;{const me=Bl(c);if(me){K&&(K.el=p.el,R(c,K,B)),me.asyncDep.then(()=>{De(()=>{c.isUnmounted||L()},O)});return}}let k=K,te;St(c,!1),K?(K.el=p.el,R(c,K,B)):K=p,Q&&Ls(Q),(te=K.props&&K.props.onVnodeBeforeUpdate)&&Ze(te,f,K,p),St(c,!0);const J=ho(c),z=c.subTree;c.subTree=J,A(z,J,m(z.el),Ae(z),c,O,I),K.el=J.el,k===null&&Ir(c,J.el),se&&De(se,O),(te=K.props&&K.props.onVnodeUpdated)&&De(()=>Ze(te,f,K,p),O)}else{let K;const{el:Q,props:se}=h,{bm:f,m:p,parent:k,root:te,type:J}=c,z=fs(h);St(c,!1),f&&Ls(f),!z&&(K=se&&se.onVnodeBeforeMount)&&Ze(K,k,h),St(c,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(J,c.parent?c.parent.type:void 0);const me=c.subTree=ho(c);A(null,me,$,N,c,O,I),h.el=me.el}if(p&&De(p,O),!z&&(K=se&&se.onVnodeMounted)){const me=h;De(()=>Ze(K,k,me),O)}(h.shapeFlag&256||k&&fs(k.vnode)&&k.vnode.shapeFlag&256)&&c.a&&De(c.a,O),c.isMounted=!0,h=$=N=null}};c.scope.on();const j=c.effect=new Yo(V);c.scope.off();const L=c.update=j.run.bind(j),X=c.job=j.runIfDirty.bind(j);X.i=c,X.id=c.uid,j.scheduler=()=>zn(X),St(c,!0),L()},R=(c,h,$)=>{h.component=c;const N=c.vnode.props;c.vnode=h,c.next=null,Pr(c,h.props,N,$),jr(c,h.children,$),ht(),lo(c),vt()},Z=(c,h,$,N,O,I,B,V,j=!1)=>{const L=c&&c.children,X=c?c.shapeFlag:0,K=h.children,{patchFlag:Q,shapeFlag:se}=h;if(Q>0){if(Q&128){be(L,K,$,N,O,I,B,V,j);return}else if(Q&256){_e(L,K,$,N,O,I,B,V,j);return}}se&8?(X&16&&Ue(L,O,I),K!==L&&d($,K)):X&16?se&16?be(L,K,$,N,O,I,B,V,j):Ue(L,O,I,!0):(X&8&&d($,""),se&16&&E(K,$,N,O,I,B,V,j))},_e=(c,h,$,N,O,I,B,V,j)=>{c=c||Kt,h=h||Kt;const L=c.length,X=h.length,K=Math.min(L,X);let Q;for(Q=0;Q<K;Q++){const se=h[Q]=j?ut(h[Q]):nt(h[Q]);A(c[Q],se,$,null,O,I,B,V,j)}L>X?Ue(c,O,I,!0,!1,K):E(h,$,N,O,I,B,V,j,K)},be=(c,h,$,N,O,I,B,V,j)=>{let L=0;const X=h.length;let K=c.length-1,Q=X-1;for(;L<=K&&L<=Q;){const se=c[L],f=h[L]=j?ut(h[L]):nt(h[L]);if(At(se,f))A(se,f,$,null,O,I,B,V,j);else break;L++}for(;L<=K&&L<=Q;){const se=c[K],f=h[Q]=j?ut(h[Q]):nt(h[Q]);if(At(se,f))A(se,f,$,null,O,I,B,V,j);else break;K--,Q--}if(L>K){if(L<=Q){const se=Q+1,f=se<X?h[se].el:N;for(;L<=Q;)A(null,h[L]=j?ut(h[L]):nt(h[L]),$,f,O,I,B,V,j),L++}}else if(L>Q)for(;L<=K;)je(c[L],O,I,!0),L++;else{const se=L,f=L,p=new Map;for(L=f;L<=Q;L++){const Le=h[L]=j?ut(h[L]):nt(h[L]);Le.key!=null&&p.set(Le.key,L)}let k,te=0;const J=Q-f+1;let z=!1,me=0;const Ie=new Array(J);for(L=0;L<J;L++)Ie[L]=0;for(L=se;L<=K;L++){const Le=c[L];if(te>=J){je(Le,O,I,!0);continue}let Se;if(Le.key!=null)Se=p.get(Le.key);else for(k=f;k<=Q;k++)if(Ie[k-f]===0&&At(Le,h[k])){Se=k;break}Se===void 0?je(Le,O,I,!0):(Ie[Se-f]=L+1,Se>=me?me=Se:z=!0,A(Le,h[Se],$,null,O,I,B,V,j),te++)}const Ms=z?Ur(Ie):Kt;for(k=Ms.length-1,L=J-1;L>=0;L--){const Le=f+L,Se=h[Le],Es=h[Le+1],ts=Le+1<X?Es.el||Kl(Es):N;Ie[L]===0?A(null,Se,$,ts,O,I,B,V,j):z&&(k<0||L!==Ms[k]?Je(Se,$,ts,2):k--)}}},Je=(c,h,$,N,O=null)=>{const{el:I,type:B,transition:V,children:j,shapeFlag:L}=c;if(L&6){Je(c.component.subTree,h,$,N);return}if(L&128){c.suspense.move(h,$,N);return}if(L&64){B.move(c,h,$,_t);return}if(B===ue){n(I,h,$);for(let K=0;K<j.length;K++)Je(j[K],h,$,N);n(c.anchor,h,$);return}if(B===Ns){Y(c,h,$);return}if(N!==2&&L&1&&V)if(N===0)V.beforeEnter(I),n(I,h,$),De(()=>V.enter(I),O);else{const{leave:K,delayLeave:Q,afterLeave:se}=V,f=()=>{c.ctx.isUnmounted?o(I):n(I,h,$)},p=()=>{I._isLeaving&&I[tt](!0),K(I,()=>{f(),se&&se()})};Q?Q(I,f,p):p()}else n(I,h,$)},je=(c,h,$,N=!1,O=!1)=>{const{type:I,props:B,ref:V,children:j,dynamicChildren:L,shapeFlag:X,patchFlag:K,dirs:Q,cacheIndex:se}=c;if(K===-2&&(O=!1),V!=null&&(ht(),ds(V,null,$,c,!0),vt()),se!=null&&(h.renderCache[se]=void 0),X&256){h.ctx.deactivate(c);return}const f=X&1&&Q,p=!fs(c);let k;if(p&&(k=B&&B.onVnodeBeforeUnmount)&&Ze(k,h,c),X&6)$e(c.component,$,N);else{if(X&128){c.suspense.unmount($,N);return}f&&kt(c,null,h,"beforeUnmount"),X&64?c.type.remove(c,h,$,_t,N):L&&!L.hasOnce&&(I!==ue||K>0&&K&64)?Ue(L,h,$,!1,!0):(I===ue&&K&384||!O&&X&16)&&Ue(j,h,$),N&&Ke(c)}(p&&(k=B&&B.onVnodeUnmounted)||f)&&De(()=>{k&&Ze(k,h,c),f&&kt(c,null,h,"unmounted")},$)},Ke=c=>{const{type:h,el:$,anchor:N,transition:O}=c;if(h===ue){Ct($,N);return}if(h===Ns){T(c);return}const I=()=>{o($),O&&!O.persisted&&O.afterLeave&&O.afterLeave()};if(c.shapeFlag&1&&O&&!O.persisted){const{leave:B,delayLeave:V}=O,j=()=>B($,I);V?V(c.el,I,j):j()}else I()},Ct=(c,h)=>{let $;for(;c!==h;)$=P(c),o(c),c=$;o(h)},$e=(c,h,$)=>{const{bum:N,scope:O,job:I,subTree:B,um:V,m:j,a:L}=c;go(j),go(L),N&&Ls(N),O.stop(),I&&(I.flags|=8,je(B,c,h,$)),V&&De(V,h),De(()=>{c.isUnmounted=!0},h)},Ue=(c,h,$,N=!1,O=!1,I=0)=>{for(let B=I;B<c.length;B++)je(c[B],h,$,N,O)},Ae=c=>{if(c.shapeFlag&6)return Ae(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const h=P(c.anchor||c.el),$=h&&h[nr];return $?P($):h};let jt=!1;const es=(c,h,$)=>{let N;c==null?h._vnode&&(je(h._vnode,null,null,!0),N=h._vnode.component):A(h._vnode||null,c,h,null,null,null,$),h._vnode=c,jt||(jt=!0,lo(N),hl(),jt=!1)},_t={p:A,um:je,m:Je,r:Ke,mt:q,mc:E,pc:Z,pbc:ie,n:Ae,o:e};return{render:es,hydrate:void 0,createApp:kr(es)}}function gn({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function St({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ul(e,t,s=!1){const n=e.children,o=t.children;if(ee(n)&&ee(o))for(let l=0;l<n.length;l++){const r=n[l];let a=o[l];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[l]=ut(o[l]),a.el=r.el),!s&&a.patchFlag!==-2&&Ul(r,a)),a.type===rn&&(a.patchFlag===-1&&(a=o[l]=ut(a)),a.el=r.el),a.type===Fe&&!a.el&&(a.el=r.el)}}function Ur(e){const t=e.slice(),s=[0];let n,o,l,r,a;const u=e.length;for(n=0;n<u;n++){const v=e[n];if(v!==0){if(o=s[s.length-1],e[o]<v){t[n]=o,s.push(n);continue}for(l=0,r=s.length-1;l<r;)a=l+r>>1,e[s[a]]<v?l=a+1:r=a;v<e[s[l]]&&(l>0&&(t[n]=s[l-1]),s[l]=n)}}for(l=s.length,r=s[l-1];l-- >0;)s[l]=r,r=t[r];return s}function Bl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Bl(t)}function go(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Kl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Kl(t.subTree):null}const Wl=e=>e.__isSuspense;function Br(e,t){t&&t.pendingBranch?ee(e)?t.effects.push(...e):t.effects.push(e):Xi(e)}const ue=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),Fe=Symbol.for("v-cmt"),Ns=Symbol.for("v-stc"),hs=[];let Be=null;function S(e=!1){hs.push(Be=e?null:[])}function Kr(){hs.pop(),Be=hs[hs.length-1]||null}let ys=1;function Ks(e,t=!1){ys+=e,e<0&&Be&&t&&(Be.hasOnce=!0)}function zl(e){return e.dynamicChildren=ys>0?Be||Kt:null,Kr(),ys>0&&Be&&Be.push(e),e}function M(e,t,s,n,o,l){return zl(i(e,t,s,n,o,l,!0))}function Ot(e,t,s,n,o){return zl(ke(e,t,s,n,o,!0))}function Ws(e){return e?e.__v_isVNode===!0:!1}function At(e,t){return e.type===t.type&&e.key===t.key}const ql=({key:e})=>e??null,Fs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Oe(e)||le(e)?{i:ze,r:e,k:t,f:!!s}:e:null);function i(e,t=null,s=null,n=0,o=null,l=e===ue?0:1,r=!1,a=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ql(t),ref:t&&Fs(t),scopeId:ml,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ze};return a?(Yn(u,s),l&128&&e.normalize(u)):s&&(u.shapeFlag|=xe(s)?8:16),ys>0&&!r&&Be&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&Be.push(u),u}const ke=Wr;function Wr(e,t=null,s=null,n=0,o=null,l=!1){if((!e||e===gr)&&(e=Fe),Ws(e)){const a=$t(e,t,!0);return s&&Yn(a,s),ys>0&&!l&&Be&&(a.shapeFlag&6?Be[Be.indexOf(e)]=a:Be.push(a)),a.patchFlag=-2,a}if(sa(e)&&(e=e.__vccOpts),t){t=zr(t);let{class:a,style:u}=t;a&&!xe(a)&&(t.class=oe(a)),he(u)&&(Wn(u)&&!ee(u)&&(u=we({},u)),t.style=Ce(u))}const r=xe(e)?1:Wl(e)?128:bl(e)?64:he(e)?4:le(e)?2:0;return i(e,t,s,n,o,r,l,!0)}function zr(e){return e?Wn(e)||Fl(e)?we({},e):e:null}function $t(e,t,s=!1,n=!1){const{props:o,ref:l,patchFlag:r,children:a,transition:u}=e,v=t?Jr(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:v,key:v&&ql(v),ref:t&&t.ref?s&&l?ee(l)?l.concat(Fs(t)):[l,Fs(t)]:Fs(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ue?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$t(e.ssContent),ssFallback:e.ssFallback&&$t(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&bs(d,u.clone(d)),d}function Ee(e=" ",t=0){return ke(rn,null,e,t)}function qr(e,t){const s=ke(Ns,null,e);return s.staticCount=t,s}function ne(e="",t=!1){return t?(S(),Ot(Fe,null,e)):ke(Fe,null,e)}function nt(e){return e==null||typeof e=="boolean"?ke(Fe):ee(e)?ke(ue,null,e.slice()):Ws(e)?ut(e):ke(rn,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$t(e)}function Yn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ee(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Yn(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!Fl(t)?t._ctx=ze:o===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else le(t)?(t={default:t,_ctx:ze},s=32):(t=String(t),n&64?(s=16,t=[Ee(t)]):s=8);e.children=t,e.shapeFlag|=s}function Jr(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=oe([t.class,n.class]));else if(o==="style")t.style=Ce([t.style,n.style]);else if(Ys(o)){const l=t[o],r=n[o];r&&l!==r&&!(ee(l)&&l.includes(r))&&(t[o]=l?[].concat(l,r):r)}else o!==""&&(t[o]=n[o])}return t}function Ze(e,t,s,n=null){Xe(e,t,7,[s,n])}const Gr=Al();let Yr=0;function Qr(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||Gr,l={uid:Yr++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:jl(n,o),emitsOptions:Il(n,o),emit:null,emitted:null,propsDefaults:ve,inheritAttrs:n.inheritAttrs,ctx:ve,data:ve,props:ve,attrs:ve,slots:ve,refs:ve,setupState:ve,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Tr.bind(null,l),e.ce&&e.ce(l),l}let Re=null;const Jl=()=>Re||ze;let zs,An;{const e=en(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),l=>{o.length>1?o.forEach(r=>r(l)):o[0](l)}};zs=t("__VUE_INSTANCE_SETTERS__",s=>Re=s),An=t("__VUE_SSR_SETTERS__",s=>xs=s)}const Ts=e=>{const t=Re;return zs(e),e.scope.on(),()=>{e.scope.off(),zs(t)}},_o=()=>{Re&&Re.scope.off(),zs(null)};function Gl(e){return e.vnode.shapeFlag&4}let xs=!1;function Xr(e,t=!1,s=!1){t&&An(t);const{props:n,children:o}=e.vnode,l=Gl(e);Lr(e,n,l,t),Rr(e,o,s||t);const r=l?Zr(e,t):void 0;return t&&An(!1),r}function Zr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_r);const{setup:n}=s;if(n){ht();const o=e.setupContext=n.length>1?ta(e):null,l=Ts(e),r=Ss(n,e,0,[e.props,o]),a=Uo(r);if(vt(),l(),(a||e.sp)&&!fs(e)&&kl(e),a){if(r.then(_o,_o),t)return r.then(u=>{bo(e,u)}).catch(u=>{sn(u,e,0)});e.asyncDep=r}else bo(e,r)}else Yl(e)}function bo(e,t,s){le(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:he(t)&&(e.setupState=ul(t)),Yl(e)}function Yl(e,t,s){const n=e.type;e.render||(e.render=n.render||lt);{const o=Ts(e);ht();try{br(e)}finally{vt(),o()}}}const ea={get(e,t){return Me(e,"get",""),e[t]}};function ta(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ea),slots:e.slots,emit:e.emit,expose:t}}function an(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ul(Ui(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in ps)return ps[s](e)},has(t,s){return s in t||s in ps}})):e.proxy}function sa(e){return le(e)&&"__vccOpts"in e}const ae=(e,t)=>qi(e,t,xs);function Te(e,t,s){try{Ks(-1);const n=arguments.length;return n===2?he(t)&&!ee(t)?Ws(t)?ke(e,null,[t]):ke(e,t):ke(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ws(s)&&(s=[s]),ke(e,t,s))}finally{Ks(1)}}const na="3.5.30";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.30
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let In;const yo=typeof window<"u"&&window.trustedTypes;if(yo)try{In=yo.createPolicy("vue",{createHTML:e=>e})}catch{}const Ql=In?e=>In.createHTML(e):e=>e,oa="http://www.w3.org/2000/svg",la="http://www.w3.org/1998/Math/MathML",ct=typeof document<"u"?document:null,xo=ct&&ct.createElement("template"),ia={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?ct.createElementNS(oa,e):t==="mathml"?ct.createElementNS(la,e):s?ct.createElement(e,{is:s}):ct.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,l){const r=s?s.previousSibling:t.lastChild;if(o&&(o===l||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===l||!(o=o.nextSibling)););else{xo.innerHTML=Ql(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=xo.content;if(n==="svg"||n==="mathml"){const u=a.firstChild;for(;u.firstChild;)a.appendChild(u.firstChild);a.removeChild(u)}t.insertBefore(a,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},bt="transition",os="animation",ws=Symbol("_vtc"),Xl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ra=we({},yl,Xl),aa=e=>(e.displayName="Transition",e.props=ra,e),Ln=aa((e,{slots:t})=>Te(ir,ca(e),t)),Tt=(e,t=[])=>{ee(e)?e.forEach(s=>s(...t)):e&&e(...t)},wo=e=>e?ee(e)?e.some(t=>t.length>1):e.length>1:!1;function ca(e){const t={};for(const g in e)g in Xl||(t[g]=e[g]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:l=`${s}-enter-from`,enterActiveClass:r=`${s}-enter-active`,enterToClass:a=`${s}-enter-to`,appearFromClass:u=l,appearActiveClass:v=r,appearToClass:d=a,leaveFromClass:m=`${s}-leave-from`,leaveActiveClass:P=`${s}-leave-active`,leaveToClass:w=`${s}-leave-to`}=e,y=ua(o),A=y&&y[0],W=y&&y[1],{onBeforeEnter:G,onEnter:D,onEnterCancelled:Y,onLeave:T,onLeaveCancelled:H,onBeforeAppear:U=G,onAppear:F=D,onAppearCancelled:E=Y}=t,C=(g,b,q,re)=>{g._enterCancelled=re,Mt(g,b?d:a),Mt(g,b?v:r),q&&q()},ie=(g,b)=>{g._isLeaving=!1,Mt(g,m),Mt(g,w),Mt(g,P),b&&b()},x=g=>(b,q)=>{const re=g?F:D,de=()=>C(b,g,q);Tt(re,[b,de]),$o(()=>{Mt(b,g?u:l),at(b,g?d:a),wo(re)||Co(b,n,A,de)})};return we(t,{onBeforeEnter(g){Tt(G,[g]),at(g,l),at(g,r)},onBeforeAppear(g){Tt(U,[g]),at(g,u),at(g,v)},onEnter:x(!1),onAppear:x(!0),onLeave(g,b){g._isLeaving=!0;const q=()=>ie(g,b);at(g,m),g._enterCancelled?(at(g,P),To(g)):(To(g),at(g,P)),$o(()=>{g._isLeaving&&(Mt(g,m),at(g,w),wo(T)||Co(g,n,W,q))}),Tt(T,[g,q])},onEnterCancelled(g){C(g,!1,void 0,!0),Tt(Y,[g])},onAppearCancelled(g){C(g,!0,void 0,!0),Tt(E,[g])},onLeaveCancelled(g){ie(g),Tt(H,[g])}})}function ua(e){if(e==null)return null;if(he(e))return[_n(e.enter),_n(e.leave)];{const t=_n(e);return[t,t]}}function _n(e){return fi(e)}function at(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[ws]||(e[ws]=new Set)).add(t)}function Mt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[ws];s&&(s.delete(t),s.size||(e[ws]=void 0))}function $o(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let da=0;function Co(e,t,s,n){const o=e._endId=++da,l=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(l,s);const{type:r,timeout:a,propCount:u}=fa(e,t);if(!r)return n();const v=r+"end";let d=0;const m=()=>{e.removeEventListener(v,P),l()},P=w=>{w.target===e&&++d>=u&&m()};setTimeout(()=>{d<u&&m()},a+1),e.addEventListener(v,P)}function fa(e,t){const s=window.getComputedStyle(e),n=y=>(s[y]||"").split(", "),o=n(`${bt}Delay`),l=n(`${bt}Duration`),r=ko(o,l),a=n(`${os}Delay`),u=n(`${os}Duration`),v=ko(a,u);let d=null,m=0,P=0;t===bt?r>0&&(d=bt,m=r,P=l.length):t===os?v>0&&(d=os,m=v,P=u.length):(m=Math.max(r,v),d=m>0?r>v?bt:os:null,P=d?d===bt?l.length:u.length:0);const w=d===bt&&/\b(?:transform|all)(?:,|$)/.test(n(`${bt}Property`).toString());return{type:d,timeout:m,propCount:P,hasTransform:w}}function ko(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>So(s)+So(e[n])))}function So(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function To(e){return(e?e.ownerDocument:document).body.offsetHeight}function pa(e,t,s){const n=e[ws];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Mo=Symbol("_vod"),ha=Symbol("_vsh"),va=Symbol(""),ma=/(?:^|;)\s*display\s*:/;function ga(e,t,s){const n=e.style,o=xe(s);let l=!1;if(s&&!o){if(t)if(xe(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();s[a]==null&&Rs(n,a,"")}else for(const r in t)s[r]==null&&Rs(n,r,"");for(const r in s)r==="display"&&(l=!0),Rs(n,r,s[r])}else if(o){if(t!==s){const r=n[va];r&&(s+=";"+r),n.cssText=s,l=ma.test(s)}}else t&&e.removeAttribute("style");Mo in e&&(e[Mo]=l?n.display:"",e[ha]&&(n.display="none"))}const Eo=/\s*!important$/;function Rs(e,t,s){if(ee(s))s.forEach(n=>Rs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=_a(e,t);Eo.test(s)?e.setProperty(Rt(n),s.replace(Eo,""),"important"):e[n]=s}}const Oo=["Webkit","Moz","ms"],bn={};function _a(e,t){const s=bn[t];if(s)return s;let n=Ge(t);if(n!=="filter"&&n in e)return bn[t]=n;n=Wo(n);for(let o=0;o<Oo.length;o++){const l=Oo[o]+n;if(l in e)return bn[t]=l}return t}const Ao="http://www.w3.org/1999/xlink";function Io(e,t,s,n,o,l=_i(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Ao,t.slice(6,t.length)):e.setAttributeNS(Ao,t,s):s==null||l&&!qo(s)?e.removeAttribute(t):e.setAttribute(t,l?"":it(s)?String(s):s)}function Lo(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ql(s):s);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const a=l==="OPTION"?e.getAttribute("value")||"":e.value,u=s==null?e.type==="checkbox"?"on":"":String(s);(a!==u||!("_value"in e))&&(e.value=u),s==null&&e.removeAttribute(t),e._value=s;return}let r=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=qo(s):s==null&&a==="string"?(s="",r=!0):a==="number"&&(s=0,r=!0)}try{e[t]=s}catch{}r&&e.removeAttribute(o||t)}function It(e,t,s,n){e.addEventListener(t,s,n)}function ba(e,t,s,n){e.removeEventListener(t,s,n)}const Po=Symbol("_vei");function ya(e,t,s,n,o=null){const l=e[Po]||(e[Po]={}),r=l[t];if(n&&r)r.value=n;else{const[a,u]=xa(t);if(n){const v=l[t]=Ca(n,o);It(e,a,v,u)}else r&&(ba(e,a,r,u),l[t]=void 0)}}const No=/(?:Once|Passive|Capture)$/;function xa(e){let t;if(No.test(e)){t={};let n;for(;n=e.match(No);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let yn=0;const wa=Promise.resolve(),$a=()=>yn||(wa.then(()=>yn=0),yn=Date.now());function Ca(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Xe(ka(n,s.value),t,5,[n])};return s.value=e,s.attached=$a(),s}function ka(e,t){if(ee(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Fo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sa=(e,t,s,n,o,l)=>{const r=o==="svg";t==="class"?pa(e,n,r):t==="style"?ga(e,s,n):Ys(t)?Nn(t)||ya(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ta(e,t,n,r))?(Lo(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Io(e,t,n,r,l,t!=="value")):e._isVueCE&&(Ma(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xe(n)))?Lo(e,Ge(t),n,l,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Io(e,t,n,r))};function Ta(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fo(t)&&le(s));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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Fo(t)&&xe(s)?!1:t in e}function Ma(e,t){const s=e._def.props;if(!s)return!1;const n=Ge(t);return Array.isArray(s)?s.some(o=>Ge(o)===n):Object.keys(s).some(o=>Ge(o)===n)}const qs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ee(t)?s=>Ls(t,s):t};function Ea(e){e.target.composing=!0}function Ro(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Jt=Symbol("_assign");function jo(e,t,s){return t&&(e=e.trim()),s&&(e=Zs(e)),e}const Yt={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[Jt]=qs(o);const l=n||o.props&&o.props.type==="number";It(e,t?"change":"input",r=>{r.target.composing||e[Jt](jo(e.value,s,l))}),(s||l)&&It(e,"change",()=>{e.value=jo(e.value,s,l)}),t||(It(e,"compositionstart",Ea),It(e,"compositionend",Ro),It(e,"change",Ro))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:l}},r){if(e[Jt]=qs(r),e.composing)return;const a=(l||e.type==="number")&&!/^0\d/.test(e.value)?Zs(e.value):e.value,u=t??"";a!==u&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===u)||(e.value=u))}},Oa={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const o=Qs(t);It(e,"change",()=>{const l=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>s?Zs(Js(r)):Js(r));e[Jt](e.multiple?o?new Set(l):l:l[0]),e._assigning=!0,fl(()=>{e._assigning=!1})}),e[Jt]=qs(n)},mounted(e,{value:t}){Ho(e,t)},beforeUpdate(e,t,s){e[Jt]=qs(s)},updated(e,{value:t}){e._assigning||Ho(e,t)}};function Ho(e,t){const s=e.multiple,n=ee(t);if(!(s&&!n&&!Qs(t))){for(let o=0,l=e.options.length;o<l;o++){const r=e.options[o],a=Js(r);if(s)if(n){const u=typeof a;u==="string"||u==="number"?r.selected=t.some(v=>String(v)===String(a)):r.selected=yi(t,a)>-1}else r.selected=t.has(a);else if(ks(Js(r),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Js(e){return"_value"in e?e._value:e.value}const Aa=["ctrl","shift","alt","meta"],Ia={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)=>Aa.some(s=>e[`${s}Key`]&&!t.includes(s))},ls=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...l)=>{for(let r=0;r<t.length;r++){const a=Ia[t[r]];if(a&&a(o,t))return}return e(o,...l)}))},La=we({patchProp:Sa},ia);let Do;function Pa(){return Do||(Do=Hr(La))}const Na=((...e)=>{const t=Pa().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=Ra(n);if(!o)return;const l=t._component;!le(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=s(o,!1,Fa(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t});function Fa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ra(e){return xe(e)?document.querySelector(e):e}const Zl=500,ei=ce([]),ti=ce({provides:[],injects:[]}),Qn=ce([]),si=ce([]),ni=ce([]),oi=ce(!1),li=ce({});let Gs=!1,Qt="*",pt=null;function is(e){return e?e.map(t=>({...t})):[]}function ja(e){return e?e.map(t=>({...t})):[]}function Ha(){if(typeof document>"u")return"";if(document.referrer)try{return new URL(document.referrer).origin}catch{}return""}function $s(){var e;Qt&&((e=window.top)==null||e.postMessage({type:"observatory:request"},Qt))}function ii(e){var s;if(((s=e.data)==null?void 0:s.type)!=="observatory:snapshot"||Qt&&e.origin!==Qt)return;const t=e.data.data;ei.value=is(t.fetch),ti.value=t.provideInject?{provides:is(t.provideInject.provides),injects:is(t.provideInject.injects)}:{provides:[],injects:[]},Qn.value=is(t.composables),si.value=ja(t.renders),ni.value=is(t.transitions),li.value=t.features||{},oi.value=!0}function ri(){document.visibilityState==="hidden"?pt!==null&&(window.clearInterval(pt),pt=null):pt===null&&Gs&&(pt=window.setInterval($s,Zl),$s())}function Da(){Gs||typeof window>"u"||(Gs=!0,Qt=Ha(),window.addEventListener("message",ii),document.addEventListener("visibilitychange",ri),pt=window.setInterval($s,Zl),$s())}function Va(){pt!==null&&(window.clearInterval(pt),pt=null),window.removeEventListener("message",ii),document.removeEventListener("visibilitychange",ri),Gs=!1}function vs(){return Qt}function Ua(){Qn.value=[]}function Xt(){return Da(),{fetch:ei,provideInject:ti,composables:Qn,renders:si,transitions:ni,features:li,connected:oi,refresh:$s,clearComposables:Ua}}const Ba={class:"view"},Ka={class:"stats-row"},Wa={class:"stat-card"},za={class:"stat-val"},qa={class:"stat-card"},Ja={class:"stat-val",style:{color:"var(--teal)"}},Ga={class:"stat-card"},Ya={class:"stat-val",style:{color:"var(--amber)"}},Qa={class:"stat-card"},Xa={class:"stat-val",style:{color:"var(--red)"}},Za={class:"toolbar"},ec={class:"split"},tc={class:"table-wrap"},sc={class:"data-table"},nc=["onClick"],oc={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},lc=["title"],ic={class:"muted text-sm"},rc={class:"mono text-sm"},ac={style:{height:"4px",background:"var(--bg2)","border-radius":"2px",overflow:"hidden"}},cc={key:0},uc={colspan:"7",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},dc={key:0,class:"detail-panel"},fc={class:"detail-header"},pc={class:"mono bold",style:{"font-size":"12px"}},hc={class:"flex gap-2"},vc={class:"meta-grid"},mc={class:"muted text-sm"},gc={class:"mono text-sm",style:{"word-break":"break-all"}},_c={class:"payload-box"},bc={class:"mono text-sm muted"},yc={key:1,class:"detail-empty"},xc={class:"waterfall"},wc={class:"waterfall-header"},$c={key:0,class:"waterfall-body"},Cc={class:"mono muted text-sm",style:{width:"140px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","flex-shrink":"0"}},kc={class:"wf-track"},Sc={class:"mono muted text-sm",style:{width:"44px","text-align":"right","flex-shrink":"0"}},Tc=Ft({__name:"FetchDashboard",setup(e){const{fetch:t,connected:s}=Xt(),n=ce("all"),o=ce(""),l=ce(null),r=ce(!0),a=ae(()=>{const T=[...t.value].sort((U,F)=>U.startTime-F.startTime),H=T.length>0?T[0].startTime:0;return T.map(U=>({...U,startOffset:Math.max(0,U.startTime-H)}))}),u=ae(()=>a.value.find(T=>T.id===l.value)??null),v=ae(()=>({ok:a.value.filter(T=>T.status==="ok"||T.status==="cached").length,pending:a.value.filter(T=>T.status==="pending").length,error:a.value.filter(T=>T.status==="error").length})),d=ae(()=>a.value.filter(T=>{if(n.value!=="all"&&T.status!==n.value)return!1;const H=o.value.toLowerCase();return!(H&&!T.key.toLowerCase().includes(H)&&!T.url.toLowerCase().includes(H))})),m=ae(()=>{if(!u.value)return[];const T=u.value;return[["url",T.url],["status",T.status],["origin",T.origin],["duration",T.ms!=null?`${T.ms}ms`:"—"],["size",T.size?Y(T.size):"—"],["cached",T.cached?"yes":"no"]]}),P=ae(()=>{if(!u.value)return"";const T=u.value.payload;if(T===void 0)return"(no payload captured yet)";try{return JSON.stringify(T,null,2)}catch{return String(T)}});function w(T){return{ok:"badge-ok",error:"badge-err",pending:"badge-warn",cached:"badge-gray"}[T]??"badge-gray"}function y(T){return{ok:"var(--teal)",error:"var(--red)",pending:"var(--amber)",cached:"var(--border)"}[T]??"var(--border)"}function A(T){const H=a.value.filter(F=>F.ms!=null).map(F=>F.ms),U=H.length>0?Math.max(...H,1):1;return T.ms!=null?Math.max(4,Math.round(T.ms/U*100)):4}function W(){const T=a.value.filter(U=>U.ms!=null);return T.length>0?Math.max(...T.map(U=>U.startOffset+U.ms),1):1}function G(T){const H=W();return Math.min(98,Math.round(T.startOffset/H*100))}function D(T){if(T.ms==null)return 2;const H=W(),U=G(T);return Math.min(100-U,Math.max(2,Math.round(T.ms/H*100)))}function Y(T){return T<1024?`${T}B`:`${(T/1024).toFixed(1)}KB`}return(T,H)=>(S(),M("div",Ba,[i("div",Ka,[i("div",Wa,[H[7]||(H[7]=i("div",{class:"stat-label"},"total",-1)),i("div",za,_(a.value.length),1)]),i("div",qa,[H[8]||(H[8]=i("div",{class:"stat-label"},"success",-1)),i("div",Ja,_(v.value.ok),1)]),i("div",Ga,[H[9]||(H[9]=i("div",{class:"stat-label"},"pending",-1)),i("div",Ya,_(v.value.pending),1)]),i("div",Qa,[H[10]||(H[10]=i("div",{class:"stat-label"},"error",-1)),i("div",Xa,_(v.value.error),1)])]),i("div",Za,[i("button",{class:oe({active:n.value==="all"}),onClick:H[0]||(H[0]=U=>n.value="all")},"all",2),i("button",{class:oe({"danger-active":n.value==="error"}),onClick:H[1]||(H[1]=U=>n.value="error")},"errors",2),i("button",{class:oe({active:n.value==="pending"}),onClick:H[2]||(H[2]=U=>n.value="pending")},"pending",2),i("button",{class:oe({active:n.value==="cached"}),onClick:H[3]||(H[3]=U=>n.value="cached")},"cached",2),Nt(i("input",{"onUpdate:modelValue":H[4]||(H[4]=U=>o.value=U),type:"search",placeholder:"search key or url…",style:{"max-width":"240px","margin-left":"auto"}},null,512),[[Yt,o.value]])]),i("div",ec,[i("div",tc,[i("table",sc,[H[11]||(H[11]=i("thead",null,[i("tr",null,[i("th",null,"key"),i("th",null,"url"),i("th",null,"status"),i("th",null,"origin"),i("th",null,"size"),i("th",null,"time"),i("th",{style:{"min-width":"80px"}},"bar")])],-1)),i("tbody",null,[(S(!0),M(ue,null,ye(d.value,U=>{var F;return S(),M("tr",{key:U.id,class:oe({selected:((F=u.value)==null?void 0:F.id)===U.id}),onClick:E=>l.value=U.id},[i("td",null,[i("span",oc,_(U.key),1)]),i("td",null,[i("span",{class:"mono",style:{"font-size":"11px","max-width":"200px",display:"block",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},title:U.url},_(U.url),9,lc)]),i("td",null,[i("span",{class:oe(["badge",w(U.status)])},_(U.status),3)]),i("td",null,[i("span",{class:oe(["badge",U.origin==="ssr"?"badge-info":"badge-gray"])},_(U.origin),3)]),i("td",ic,_(U.size?Y(U.size):"—"),1),i("td",rc,_(U.ms!=null?`${U.ms}ms`:"—"),1),i("td",null,[i("div",ac,[i("div",{style:Ce({width:`${A(U)}%`,background:y(U.status),height:"100%",borderRadius:"2px"})},null,4)])])],10,nc)}),128)),d.value.length?ne("",!0):(S(),M("tr",cc,[i("td",uc,_(wt(s)?"No fetches recorded yet.":"Waiting for connection to the Nuxt app…"),1)]))])])]),u.value?(S(),M("div",dc,[i("div",fc,[i("span",pc,_(u.value.key),1),i("div",hc,[i("button",{onClick:H[5]||(H[5]=U=>l.value=null)},"×")])]),i("div",vc,[(S(!0),M(ue,null,ye(m.value,([U,F])=>(S(),M(ue,{key:U},[i("span",mc,_(U),1),i("span",gc,_(F),1)],64))),128))]),H[12]||(H[12]=i("div",{class:"section-label"},"payload",-1)),i("pre",_c,_(P.value),1),H[13]||(H[13]=i("div",{class:"section-label",style:{"margin-top":"10px"}},"source",-1)),i("div",bc,_(u.value.file)+":"+_(u.value.line),1)])):(S(),M("div",yc,"select a call to inspect"))]),i("div",xc,[i("div",wc,[H[14]||(H[14]=i("div",{class:"section-label",style:{"margin-top":"0","margin-bottom":"0"}},"waterfall",-1)),i("button",{class:oe({active:r.value}),onClick:H[6]||(H[6]=U=>r.value=!r.value)},_(r.value?"hide":"show"),3)]),r.value?(S(),M("div",$c,[(S(!0),M(ue,null,ye(a.value,U=>(S(),M("div",{key:U.id,class:"wf-row"},[i("span",Cc,_(U.key),1),i("div",kc,[i("div",{class:"wf-bar",style:Ce({left:`${G(U)}%`,width:`${Math.max(2,D(U))}%`,background:y(U.status)})},null,4)]),i("span",Sc,_(U.ms!=null?`${U.ms}ms`:"—"),1)]))),128))])):ne("",!0)])]))}}),Zt=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},Mc=Zt(Tc,[["__scopeId","data-v-4f9bcc52"]]),Ec={class:"view"},Oc={class:"toolbar"},Ac=["onClick"],Ic={class:"split"},Lc={class:"graph-area"},Pc={key:0,class:"canvas-stage"},Nc=["width","height","viewBox"],Fc=["d"],Rc=["onClick"],jc={class:"mono node-label"},Hc={key:0,class:"badge badge-ok badge-xs"},Dc={key:1,class:"badge badge-err badge-xs"},Vc={key:1,class:"graph-empty"},Uc={key:0,class:"detail-panel"},Bc={class:"detail-header"},Kc={class:"mono bold",style:{"font-size":"12px"}},Wc={key:0,class:"detail-section"},zc={class:"section-label"},qc={class:"detail-list"},Jc={class:"row-main"},Gc={class:"mono text-sm row-key"},Yc=["title"],Qc=["onClick"],Xc={key:0,class:"row-warning"},Zc={key:1,class:"row-consumers"},eu={key:0,class:"muted text-sm"},tu={key:2,class:"muted text-sm",style:{padding:"2px 0","font-size":"11px"}},su={key:3,class:"value-box"},nu={class:"section-label"},ou={class:"detail-list"},lu={class:"mono text-sm row-key"},iu={key:0,class:"badge badge-ok"},ru={key:1,class:"badge badge-err"},au=["title"],cu={key:2,class:"muted text-sm",style:{"margin-top":"8px"}},uu={key:1,class:"detail-empty"},Dt=140,Vt=32,du=72,Ut=18,fu=Ft({__name:"ProvideInjectGraph",setup(e){const{provideInject:t,connected:s}=Xt();function n(x){return x.injects.some(g=>!g.ok)?"var(--red)":x.type==="both"?"var(--blue)":x.type==="provider"?"var(--teal)":"var(--text3)"}function o(x,g){return g==="all"?!0:g==="warn"?x.injects.some(b=>!b.ok):g==="shadow"?x.provides.some(b=>b.isShadowing):x.provides.some(b=>b.key===g)||x.injects.some(b=>b.key===g)}function l(x,g){if(!g)return!0;const b=g.toLowerCase();return x.label.toLowerCase().includes(b)||x.componentName.toLowerCase().includes(b)||x.provides.some(q=>q.key.toLowerCase().includes(b))||x.injects.some(q=>q.key.toLowerCase().includes(b))}function r(x){let g=0;const b=[x];for(;b.length;){const q=b.pop();q.children.length===0?g++:b.push(...q.children)}return g}function a(x){if(typeof x=="string")return x;try{return JSON.stringify(x)}catch{return String(x)}}function u(x){return typeof x=="object"&&x!==null}function v(x){if(x===null)return"null";if(Array.isArray(x))return`Array(${x.length})`;if(typeof x=="object"){const g=Object.keys(x);return g.length?`{ ${g.join(", ")} }`:"{}"}return a(x)}function d(x){if(!u(x))return a(x);try{return JSON.stringify(x,null,2)}catch{return a(x)}}function m(x,g,b){return`${x}:${g}:${b}`}function P(x){return x.split("/").pop()??x}function w(x){var b;if(!x||x==="unknown")return;const g=vs();g&&((b=window.top)==null||b.postMessage({type:"observatory:open-in-editor",file:x},g))}function y(x){return String(x.componentUid)}const A=ae(()=>{const x=new Map,g=new Map;function b(R){const Z=y(R),_e=x.get(Z);if(_e)return _e;const be={id:Z,label:P(R.componentFile),componentName:R.componentName??P(R.componentFile),componentFile:R.componentFile,type:"consumer",provides:[],injects:[],children:[]};return x.set(Z,be),g.set(Z,R.parentUid!==void 0?String(R.parentUid):null),be}const q=new Map;for(const R of t.value.injects){const Z=q.get(R.key)??[];Z.push(R),q.set(R.key,Z)}const re=new Map;for(const R of t.value.provides)re.set(R.componentUid,R.componentName);for(const R of t.value.injects)re.set(R.componentUid,R.componentName);for(const R of t.value.provides){const Z=b(R),_e=q.get(R.key)??[];Z.provides.push({key:R.key,val:v(R.valueSnapshot),raw:R.valueSnapshot,reactive:R.isReactive,complex:u(R.valueSnapshot),scope:R.scope??"component",isShadowing:R.isShadowing??!1,consumerUids:_e.map(be=>be.componentUid),consumerNames:_e.map(be=>be.componentName)})}for(const R of t.value.injects)b(R).injects.push({key:R.key,from:R.resolvedFromFile??null,fromName:R.resolvedFromUid!==void 0?re.get(R.resolvedFromUid)??null:null,ok:R.resolved});for(const R of x.values())R.injects.some(Z=>!Z.ok)?R.type="error":R.provides.length&&R.injects.length?R.type="both":R.provides.length?R.type="provider":R.type="consumer";const de=[];for(const[R,Z]of x.entries()){const _e=g.get(R),be=_e?x.get(_e):void 0;be?be.children.push(Z):de.push(Z)}return de}),W=ce("all"),G=ce(""),D=ce(null),Y=ce(new Set);xt(D,()=>{Y.value=new Set});function T(x){const g=new Set(Y.value);g.has(x)?g.delete(x):g.add(x),Y.value=g}const H=ae(()=>{const x=new Set,g=[...A.value];for(;g.length;){const b=g.pop();b.provides.forEach(q=>x.add(q.key)),b.injects.forEach(q=>x.add(q.key)),g.push(...b.children)}return[...x]}),U=ae(()=>{function x(g){const b=[],q=[g];for(;q.length;){const de=q.pop();b.push(de);for(let R=de.children.length-1;R>=0;R--)q.push(de.children[R])}const re=new Map;for(let de=b.length-1;de>=0;de--){const R=b[de],Z=R.children.map(be=>re.get(be)??null).filter(be=>be!==null);!(o(R,W.value)&&l(R,G.value))&&!Z.length?re.set(R,null):re.set(R,{...R,children:Z})}return re.get(g)??null}return A.value.map(x).filter(Boolean)});xt([U,D],([x,g])=>{if(!g)return;const b=new Set,q=[...x];for(;q.length;){const re=q.pop();b.add(re.id),q.push(...re.children)}b.has(g.id)||(D.value=null)});const F=ae(()=>{const x=[],g=Ut;let b=g;for(const q of U.value){const re=[{node:q,depth:0,slotLeft:b,parentId:null}];for(;re.length;){const{node:R,depth:Z,slotLeft:_e,parentId:be}=re.pop(),je=r(R)*(Dt+Ut)-Ut;x.push({data:R,parentId:be,x:Math.round(_e+je/2),y:Math.round(g+Z*(Vt+du)+Vt/2)});let Ke=_e;const Ct=[];for(const $e of R.children){const Ue=r($e);Ct.push({node:$e,depth:Z+1,slotLeft:Ke,parentId:R.id}),Ke+=Ue*(Dt+Ut)}for(let $e=Ct.length-1;$e>=0;$e--)re.push(Ct[$e])}const de=r(q);b+=de*(Dt+Ut)+Ut*2}return x}),E=ae(()=>F.value.reduce((x,g)=>Math.max(x,g.x+Dt/2+20),520)),C=ae(()=>F.value.reduce((x,g)=>Math.max(x,g.y+Vt/2+20),200)),ie=ae(()=>{const x=new Map(F.value.map(g=>[g.data.id,g]));return F.value.filter(g=>g.parentId!==null).map(g=>{const b=x.get(g.parentId);return{id:`${b.data.id}--${g.data.id}`,x1:b.x,y1:b.y+Vt/2,x2:g.x,y2:g.y-Vt/2}})});return(x,g)=>(S(),M("div",Ec,[i("div",Oc,[i("button",{class:oe({active:W.value==="all"}),onClick:g[0]||(g[0]=b=>W.value="all")},"all keys",2),(S(!0),M(ue,null,ye(H.value,b=>(S(),M("button",{key:b,style:{"font-family":"var(--mono)"},class:oe({active:W.value===b}),onClick:q=>W.value=b},_(b),11,Ac))),128)),i("button",{style:{"margin-left":"auto"},class:oe({"danger-active":W.value==="shadow"}),onClick:g[1]||(g[1]=b=>W.value=W.value==="shadow"?"all":"shadow")}," shadowed ",2),i("button",{class:oe({"danger-active":W.value==="warn"}),onClick:g[2]||(g[2]=b=>W.value=W.value==="warn"?"all":"warn")}," warnings ",2),Nt(i("input",{"onUpdate:modelValue":g[3]||(g[3]=b=>G.value=b),type:"search",placeholder:"search component or key…",style:{"max-width":"200px"}},null,512),[[Yt,G.value]])]),i("div",Ic,[i("div",Lc,[g[6]||(g[6]=qr('<div class="legend" data-v-0c07531b><span class="dot" style="background:var(--teal);" data-v-0c07531b></span><span data-v-0c07531b>provides</span><span class="dot" style="background:var(--blue);" data-v-0c07531b></span><span data-v-0c07531b>both</span><span class="dot" style="background:var(--text3);" data-v-0c07531b></span><span data-v-0c07531b>injects</span><span class="dot" style="background:var(--red);" data-v-0c07531b></span><span data-v-0c07531b>missing provider</span></div>',1)),F.value.length?(S(),M("div",Pc,[i("div",{class:"canvas-wrap",style:Ce({width:`${E.value}px`,height:`${C.value}px`})},[(S(),M("svg",{class:"edges-svg",width:E.value,height:C.value,viewBox:`0 0 ${E.value} ${C.value}`},[(S(!0),M(ue,null,ye(ie.value,b=>(S(),M("path",{key:b.id,d:`M ${b.x1},${b.y1} C ${b.x1},${(b.y1+b.y2)/2} ${b.x2},${(b.y1+b.y2)/2} ${b.x2},${b.y2}`,class:"edge",fill:"none"},null,8,Fc))),128))],8,Nc)),(S(!0),M(ue,null,ye(F.value,b=>{var q;return S(),M("div",{key:b.data.id,class:oe(["graph-node",{"is-selected":((q=D.value)==null?void 0:q.id)===b.data.id}]),style:Ce({left:`${b.x-Dt/2}px`,top:`${b.y-Vt/2}px`,width:`${Dt}px`,"--node-color":n(b.data)}),onClick:re=>D.value=b.data},[i("span",{class:"node-dot",style:Ce({background:n(b.data)})},null,4),i("span",jc,_(b.data.label),1),b.data.provides.length?(S(),M("span",Hc," +"+_(b.data.provides.length),1)):ne("",!0),b.data.injects.some(re=>!re.ok)?(S(),M("span",Dc,"!")):ne("",!0)],14,Rc)}),128))],4)])):(S(),M("div",Vc,_(wt(s)?"No components match the current provide/inject filter.":"Waiting for connection to the Nuxt app…"),1))]),D.value?(S(),M("div",Uc,[i("div",Bc,[i("span",Kc,_(D.value.label),1),D.value.componentFile&&D.value.componentFile!=="unknown"?(S(),M("button",{key:0,class:"jump-btn",title:"Open in editor",onClick:g[4]||(g[4]=b=>w(D.value.componentFile))}," open ↗ ")):ne("",!0),i("button",{onClick:g[5]||(g[5]=b=>D.value=null)},"×")]),D.value.provides.length?(S(),M("div",Wc,[i("div",zc,"provides ("+_(D.value.provides.length)+")",1),i("div",qc,[(S(!0),M(ue,null,ye(D.value.provides,(b,q)=>(S(),M("div",{key:m(D.value.id,b.key,q),class:"provide-row"},[i("div",Jc,[i("span",Gc,_(b.key),1),i("span",{class:"mono text-sm muted row-value-preview",title:b.val},_(b.val),9,Yc),i("span",{class:oe(["badge scope-badge",`scope-${b.scope}`])},_(b.scope),3),i("span",{class:oe(["badge",b.reactive?"badge-ok":"badge-gray"])},_(b.reactive?"reactive":"static"),3),b.complex?(S(),M("button",{key:0,class:"row-toggle mono",onClick:re=>T(m(D.value.id,b.key,q))},_(Y.value.has(m(D.value.id,b.key,q))?"hide":"view"),9,Qc)):ne("",!0)]),b.isShadowing?(S(),M("div",Xc,"shadows a parent provide with the same key")):ne("",!0),b.consumerNames.length?(S(),M("div",Zc,[g[7]||(g[7]=i("span",{class:"muted text-sm"},"used by:",-1)),(S(!0),M(ue,null,ye(b.consumerNames,re=>(S(),M("span",{key:re,class:"consumer-chip mono"},_(re),1))),128)),b.consumerNames.length?ne("",!0):(S(),M("span",eu,"no consumers"))])):(S(),M("div",tu,"no consumers detected")),b.complex&&Y.value.has(m(D.value.id,b.key,q))?(S(),M("pre",su,_(d(b.raw)),1)):ne("",!0)]))),128))])])):ne("",!0),D.value.injects.length?(S(),M("div",{key:1,class:"detail-section",style:Ce({marginTop:D.value.provides.length?"10px":"0"})},[i("div",nu,"injects ("+_(D.value.injects.length)+")",1),i("div",ou,[(S(!0),M(ue,null,ye(D.value.injects,b=>(S(),M("div",{key:b.key,class:oe(["inject-row",{"inject-miss":!b.ok}])},[i("span",lu,_(b.key),1),b.ok?(S(),M("span",iu,"resolved")):(S(),M("span",ru,"no provider")),i("span",{class:oe(["mono text-sm row-from",b.fromName?"":"muted"]),title:b.from??"undefined"},_(b.fromName??b.from??"undefined"),11,au)],2))),128))])],4)):ne("",!0),!D.value.provides.length&&!D.value.injects.length?(S(),M("div",cu," no provide/inject in this component ")):ne("",!0)])):(S(),M("div",uu,_(wt(s)?"Click a node to inspect.":"Waiting for connection to the Nuxt app…"),1))])]))}}),pu=Zt(fu,[["__scopeId","data-v-0c07531b"]]),hu={class:"view"},vu={class:"stats-row"},mu={class:"stat-card"},gu={class:"stat-val"},_u={class:"stat-card"},bu={class:"stat-val",style:{color:"var(--teal)"}},yu={class:"stat-card"},xu={class:"stat-val",style:{color:"var(--red)"}},wu={class:"stat-card"},$u={class:"stat-val"},Cu={class:"toolbar"},ku={class:"list"},Su=["onClick"],Tu={class:"comp-header"},Mu={class:"comp-identity"},Eu={class:"comp-name mono"},Ou={class:"comp-file muted mono"},Au={class:"comp-meta"},Iu={key:0,class:"badge badge-warn"},Lu={key:1,class:"badge badge-warn"},Pu={key:2,class:"badge badge-err"},Nu={key:3,class:"badge badge-ok"},Fu={key:4,class:"badge badge-gray"},Ru={key:0,class:"refs-preview"},ju=["title"],Hu={class:"ref-chip-key"},Du={class:"ref-chip-val"},Vu={key:0,class:"ref-chip-shared-dot",title:"global"},Uu={key:0,class:"muted text-sm"},Bu={key:0,class:"leak-banner"},Ku={key:1,class:"global-banner"},Wu={key:2,class:"muted text-sm",style:{padding:"2px 0 6px"}},zu=["title","onClick"],qu={class:"mono text-sm ref-val"},Ju={key:0,class:"badge badge-amber text-xs"},Gu=["onClick"],Yu={class:"section-label",style:{"margin-top":"10px"}},Qu={class:"muted",style:{"font-weight":"400","text-transform":"none","letter-spacing":"0"}},Xu={class:"history-list"},Zu={class:"history-time mono muted"},ed={class:"history-key mono"},td={class:"history-val mono"},sd={key:0,class:"muted text-sm",style:{padding:"2px 0"}},nd={class:"muted text-sm",style:{"min-width":"120px"}},od={class:"lc-row"},ld={class:"mono text-sm"},id={class:"lc-row"},rd={class:"mono text-sm muted"},ad={class:"lc-row"},cd={class:"mono text-sm muted",style:{display:"flex","align-items":"center",gap:"6px"}},ud=["onClick"],dd={class:"lc-row"},fd={class:"mono text-sm muted"},pd={class:"lc-row"},hd={class:"mono text-sm"},vd={class:"lc-row"},md={class:"mono text-sm"},gd={key:0,class:"muted text-sm",style:{padding:"16px 0"}},_d={key:0,class:"lookup-panel"},bd={class:"lookup-header"},yd={class:"mono text-sm"},xd={class:"muted text-sm"},wd={key:0,class:"muted text-sm",style:{padding:"6px 0"}},$d={class:"mono text-sm"},Cd={class:"muted text-sm"},kd={class:"muted text-sm",style:{"margin-left":"auto"}},Sd={class:"edit-dialog"},Td={class:"edit-dialog-header"},Md={class:"mono"},Ed={key:0,class:"edit-error text-sm"},Od={class:"edit-actions"},Ad=Ft({__name:"ComposableTracker",setup(e){const{composables:t,connected:s,clearComposables:n}=Xt();function o(){var E;const F=vs();F&&(n(),(E=window.top)==null||E.postMessage({type:"observatory:clear-composables"},F))}function l(F){if(F===null)return"null";if(F===void 0)return"undefined";if(typeof F=="string")return`"${F}"`;if(typeof F=="object")try{const E=JSON.stringify(F);return E.length>80?E.slice(0,80)+"…":E}catch{return String(F)}return String(F)}function r(F){return F.split("/").pop()??F}function a(F){var C;if(!F||F==="unknown")return;const E=vs();E&&((C=window.top)==null||C.postMessage({type:"observatory:open-in-editor",file:F},E))}const u=ce("all"),v=ce(""),d=ce(null),m=ae(()=>t.value),P=ae(()=>({mounted:m.value.filter(F=>F.status==="mounted").length,leaks:m.value.filter(F=>F.leak).length})),w=ae(()=>m.value.filter(F=>{if(u.value==="leak"&&!F.leak||u.value==="mounted"&&F.status!=="mounted"||u.value==="unmounted"&&F.status!=="unmounted")return!1;const E=v.value.toLowerCase();if(E){const C=F.name.toLowerCase().includes(E),ie=F.componentFile.toLowerCase().includes(E),x=Object.keys(F.refs).some(b=>b.toLowerCase().includes(E)),g=Object.values(F.refs).some(b=>{try{return String(JSON.stringify(b.value)).toLowerCase().includes(E)}catch{return!1}});if(!C&&!ie&&!x&&!g)return!1}return!0}));function y(F){return[{label:"onMounted",ok:F.lifecycle.hasOnMounted,status:F.lifecycle.hasOnMounted?"registered":"not used"},{label:"onUnmounted",ok:F.lifecycle.hasOnUnmounted,status:F.lifecycle.hasOnUnmounted?"registered":"missing"},{label:"watchers cleaned",ok:F.lifecycle.watchersCleaned,status:F.lifecycle.watchersCleaned?"all stopped":"NOT stopped"},{label:"intervals cleared",ok:F.lifecycle.intervalsCleaned,status:F.lifecycle.intervalsCleaned?"all cleared":"NOT cleared"}]}function A(F){return F==="computed"?"badge-info":F==="reactive"?"badge-purple":"badge-gray"}const W=ce(null),G=ae(()=>{if(!W.value)return[];const F=W.value;return m.value.filter(E=>F in E.refs)});function D(F){W.value=W.value===F?null:F}const Y=ce(null),T=ce("");function H(F,E,C){T.value="",Y.value={id:F,key:E,rawValue:JSON.stringify(C,null,2)}}function U(){var C;if(!Y.value)return;let F;try{F=JSON.parse(Y.value.rawValue),T.value=""}catch(ie){T.value=`Invalid JSON: ${ie.message}`;return}const E=vs();E&&((C=window.top)==null||C.postMessage({type:"observatory:edit-composable",id:Y.value.id,key:Y.value.key,value:F},E),Y.value=null)}return(F,E)=>(S(),M("div",hu,[i("div",vu,[i("div",mu,[E[11]||(E[11]=i("div",{class:"stat-label"},"total",-1)),i("div",gu,_(m.value.length),1)]),i("div",_u,[E[12]||(E[12]=i("div",{class:"stat-label"},"mounted",-1)),i("div",bu,_(P.value.mounted),1)]),i("div",yu,[E[13]||(E[13]=i("div",{class:"stat-label"},"leaks",-1)),i("div",xu,_(P.value.leaks),1)]),i("div",wu,[E[14]||(E[14]=i("div",{class:"stat-label"},"instances",-1)),i("div",$u,_(m.value.length),1)])]),i("div",Cu,[i("button",{class:oe({active:u.value==="all"}),onClick:E[0]||(E[0]=C=>u.value="all")},"all",2),i("button",{class:oe({active:u.value==="mounted"}),onClick:E[1]||(E[1]=C=>u.value="mounted")},"mounted",2),i("button",{class:oe({"danger-active":u.value==="leak"}),onClick:E[2]||(E[2]=C=>u.value="leak")},"leaks only",2),i("button",{class:oe({active:u.value==="unmounted"}),onClick:E[3]||(E[3]=C=>u.value="unmounted")},"unmounted",2),Nt(i("input",{"onUpdate:modelValue":E[4]||(E[4]=C=>v.value=C),type:"search",placeholder:"search name, file, or ref…",style:{"max-width":"220px","margin-left":"auto"}},null,512),[[Yt,v.value]]),i("button",{class:"clear-btn",title:"Clear session history",onClick:o},"clear")]),i("div",ku,[(S(!0),M(ue,null,ye(w.value,C=>{var ie;return S(),M("div",{key:C.id,class:oe(["comp-card",{leak:C.leak,expanded:d.value===C.id}]),onClick:x=>d.value=d.value===C.id?null:C.id},[i("div",Tu,[i("div",Mu,[i("span",Eu,_(C.name),1),i("span",Ou,_(r(C.componentFile)),1)]),i("div",Au,[C.watcherCount>0&&!C.leak?(S(),M("span",Iu,_(C.watcherCount)+"w",1)):ne("",!0),C.intervalCount>0&&!C.leak?(S(),M("span",Lu,_(C.intervalCount)+"t",1)):ne("",!0),C.leak?(S(),M("span",Pu,"leak")):C.status==="mounted"?(S(),M("span",Nu,"mounted")):(S(),M("span",Fu,"unmounted"))])]),Object.keys(C.refs).length?(S(),M("div",Ru,[(S(!0),M(ue,null,ye(Object.entries(C.refs).slice(0,3),([x,g])=>{var b,q,re;return S(),M("span",{key:x,class:oe(["ref-chip",{"ref-chip--reactive":g.type==="reactive","ref-chip--computed":g.type==="computed","ref-chip--shared":(b=C.sharedKeys)==null?void 0:b.includes(x)}]),title:(q=C.sharedKeys)!=null&&q.includes(x)?"shared global state":""},[i("span",Hu,_(x),1),i("span",Du,_(l(g.value)),1),(re=C.sharedKeys)!=null&&re.includes(x)?(S(),M("span",Vu)):ne("",!0)],10,ju)}),128)),Object.keys(C.refs).length>3?(S(),M("span",Uu," +"+_(Object.keys(C.refs).length-3)+" more ",1)):ne("",!0)])):ne("",!0),d.value===C.id?(S(),M("div",{key:1,class:"comp-detail",onClick:E[5]||(E[5]=ls(()=>{},["stop"]))},[C.leak?(S(),M("div",Bu,_(C.leakReason),1)):ne("",!0),(ie=C.sharedKeys)!=null&&ie.length?(S(),M("div",Ku,[E[16]||(E[16]=i("span",{class:"global-dot"},null,-1)),i("span",null,[E[15]||(E[15]=i("strong",null,"global state",-1)),Ee(" — "+_(C.sharedKeys.join(", "))+" "+_(C.sharedKeys.length===1?"is":"are")+" shared across all instances of "+_(C.name),1)])])):ne("",!0),E[24]||(E[24]=i("div",{class:"section-label"},"reactive state",-1)),Object.keys(C.refs).length?ne("",!0):(S(),M("div",Wu," no tracked state returned ")),(S(!0),M(ue,null,ye(Object.entries(C.refs),([x,g])=>{var b;return S(),M("div",{key:x,class:"ref-row"},[i("span",{class:"mono text-sm ref-key ref-key--clickable",title:`click to see all instances exposing '${x}'`,onClick:ls(q=>D(x),["stop"])},_(x),9,zu),i("span",qu,_(l(g.value)),1),i("span",{class:oe(["badge text-xs",A(g.type)])},_(g.type),3),(b=C.sharedKeys)!=null&&b.includes(x)?(S(),M("span",Ju,"global")):ne("",!0),g.type==="ref"?(S(),M("button",{key:1,class:"edit-btn",title:"Edit value",onClick:ls(q=>H(C.id,x,g.value),["stop"])}," edit ",8,Gu)):ne("",!0)])}),128)),C.history&&C.history.length?(S(),M(ue,{key:3},[i("div",Yu,[E[17]||(E[17]=Ee(" change history ",-1)),i("span",Qu," ("+_(C.history.length)+" events) ",1)]),i("div",Xu,[(S(!0),M(ue,null,ye([...C.history].reverse().slice(0,20),(x,g)=>(S(),M("div",{key:g,class:"history-row"},[i("span",Zu,"+"+_((x.t/1e3).toFixed(2))+"s",1),i("span",ed,_(x.key),1),i("span",td,_(l(x.value)),1)]))),128)),C.history.length>20?(S(),M("div",sd," … "+_(C.history.length-20)+" earlier events ",1)):ne("",!0)])],64)):ne("",!0),E[25]||(E[25]=i("div",{class:"section-label",style:{"margin-top":"10px"}},"lifecycle",-1)),(S(!0),M(ue,null,ye(y(C),x=>(S(),M("div",{key:x.label,class:"lc-row"},[i("span",{class:"lc-dot",style:Ce({background:x.ok?"var(--teal)":"var(--red)"})},null,4),i("span",nd,_(x.label),1),i("span",{class:"text-sm",style:Ce({color:x.ok?"var(--teal)":"var(--red)"})},_(x.status),5)]))),128)),E[26]||(E[26]=i("div",{class:"section-label",style:{"margin-top":"10px"}},"context",-1)),i("div",od,[E[18]||(E[18]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"component",-1)),i("span",ld,_(r(C.componentFile)),1)]),i("div",id,[E[19]||(E[19]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"uid",-1)),i("span",rd,_(C.componentUid),1)]),i("div",ad,[E[20]||(E[20]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"defined in",-1)),i("span",cd,[Ee(_(C.file)+":"+_(C.line)+" ",1),i("button",{class:"jump-btn",title:"Open in editor",onClick:ls(x=>a(C.file),["stop"])},"open ↗",8,ud)])]),i("div",dd,[E[21]||(E[21]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"route",-1)),i("span",fd,_(C.route),1)]),i("div",pd,[E[22]||(E[22]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"watchers",-1)),i("span",hd,_(C.watcherCount),1)]),i("div",vd,[E[23]||(E[23]=i("span",{class:"muted text-sm",style:{"min-width":"120px"}},"intervals",-1)),i("span",md,_(C.intervalCount),1)])])):ne("",!0)],10,Su)}),128)),w.value.length?ne("",!0):(S(),M("div",gd,_(wt(s)?"No composables recorded yet.":"Waiting for connection to the Nuxt app…"),1))]),ke(Ln,{name:"slide"},{default:Vs(()=>[W.value?(S(),M("div",_d,[i("div",bd,[i("span",yd,_(W.value),1),i("span",xd,"— "+_(G.value.length)+" instance"+_(G.value.length!==1?"s":""),1),i("button",{class:"clear-btn",style:{"margin-left":"auto"},onClick:E[6]||(E[6]=C=>W.value=null)},"✕")]),G.value.length?ne("",!0):(S(),M("div",wd,"No mounted instances expose this key.")),(S(!0),M(ue,null,ye(G.value,C=>(S(),M("div",{key:C.id,class:"lookup-row"},[i("span",$d,_(C.name),1),i("span",Cd,_(r(C.componentFile)),1),i("span",kd,_(C.route),1)]))),128))])):ne("",!0)]),_:1}),ke(Ln,{name:"fade"},{default:Vs(()=>[Y.value?(S(),M("div",{key:0,class:"edit-overlay",onClick:E[10]||(E[10]=ls(C=>Y.value=null,["self"]))},[i("div",Sd,[i("div",Td,[E[27]||(E[27]=Ee(" edit ",-1)),i("span",Md,_(Y.value.key),1),i("button",{class:"clear-btn",style:{"margin-left":"auto"},onClick:E[7]||(E[7]=C=>Y.value=null)},"✕")]),E[28]||(E[28]=i("p",{class:"muted text-sm",style:{padding:"4px 0 8px"}},[Ee(" Value applied immediately to the live ref. Only "),i("span",{class:"mono"},"ref"),Ee(" values are writable. ")],-1)),Nt(i("textarea",{"onUpdate:modelValue":E[8]||(E[8]=C=>Y.value.rawValue=C),class:"edit-textarea",rows:"6",spellcheck:"false"},null,512),[[Yt,Y.value.rawValue]]),T.value?(S(),M("div",Ed,_(T.value),1)):ne("",!0),i("div",Od,[i("button",{onClick:U},"apply"),i("button",{class:"clear-btn",onClick:E[9]||(E[9]=C=>Y.value=null)},"cancel")])])])):ne("",!0)]),_:1})]))}}),Id=Zt(Ad,[["__scopeId","data-v-bc3bc8e4"]]),Ld={class:"view"},Pd={class:"controls"},Nd={class:"mode-group"},Fd={class:"threshold-group"},Rd=["min","max","step"],jd={class:"mono text-sm"},Hd=["value"],Dd={class:"stats-row"},Vd={class:"stat-card"},Ud={class:"stat-val"},Bd={class:"stat-card"},Kd={class:"stat-val"},Wd={class:"stat-card"},zd={class:"stat-val",style:{color:"var(--red)"}},qd={class:"stat-card"},Jd={class:"stat-val"},Gd={class:"inspector"},Yd={class:"roots-panel"},Qd=["onClick"],Xd={class:"root-copy"},Zd={class:"root-label mono"},ef={class:"root-sub muted mono"},tf={class:"root-meta mono"},sf={key:0,class:"detail-empty"},nf={class:"tree-panel"},of={class:"tree-toolbar"},lf=["value"],rf={class:"tree-frame"},af={class:"tree-canvas"},cf={key:0,class:"detail-empty"},uf={class:"detail-panel"},df={class:"detail-header"},ff={class:"mono bold",style:{"font-size":"12px"}},pf={class:"detail-pill-row"},hf={class:"detail-pill mono"},vf={class:"detail-pill mono muted"},mf={key:0,class:"detail-pill mono"},gf={key:1,class:"detail-pill mono persistent"},_f={key:2,class:"detail-pill mono hydrated"},bf={class:"detail-pill mono"},yf={class:"meta-grid"},xf={class:"mono text-sm"},wf={class:"mono text-sm"},$f={class:"mono text-sm muted",style:{display:"flex","align-items":"center",gap:"6px"}},Cf={class:"mono text-sm"},kf={class:"mono text-sm"},Sf={class:"mono text-sm"},Tf={class:"meta-grid"},Mf={class:"mono text-sm"},Ef={class:"mono text-sm"},Of={class:"mono text-sm"},Af={class:"mono text-sm"},If={class:"mono text-sm"},Lf={class:"mono text-sm"},Pf={class:"mono text-sm"},Nf={key:0,class:"muted text-sm"},Ff={class:"section-label",style:{"margin-top":"8px"}},Rf={class:"muted",style:{"font-weight":"400","text-transform":"none","letter-spacing":"0"}},jf={key:1,class:"muted text-sm"},Hf={key:2,class:"timeline-list"},Df={class:"timeline-time mono muted"},Vf={class:"timeline-dur mono"},Uf={key:0,class:"timeline-trigger mono muted"},Bf={class:"timeline-route mono muted",style:{"margin-left":"auto"}},Kf={key:0,class:"muted text-sm",style:{padding:"2px 0"}},Wf={key:1,class:"detail-empty"},zf=Ft({__name:"RenderHeatmap",setup(e){const t=Ft({name:"TreeNode",props:{node:Object,mode:String,threshold:Number,selected:String,expandedIds:Object},emits:["select","toggle"],setup(f,{emit:p}){function k(z){return f.mode==="count"?z.rerenders+z.mountCount:z.avgMs}function te(z){return k(z)>=f.threshold}function J(z){return{selected:f.selected===z.id,hot:te(z)}}return()=>{var ts,Zn,eo;const z=f.node,me=((ts=f.expandedIds)==null?void 0:ts.has(z.id))??!1,Ie=z.children.length>0,Ms=f.mode==="count"?`${z.rerenders+z.mountCount}`:`${z.avgMs.toFixed(1)}ms`,Le=f.mode==="count"?"renders":"avg",Se=[],Es=(Zn=z.element)==null?void 0:Zn.toLowerCase();if(z.element&&z.element!==z.label&&!["div","span","p"].includes(Es??"")&&Se.push(z.element),z.file!=="unknown"){const He=((eo=z.file.split("/").pop())==null?void 0:eo.replace(/\.vue$/i,""))??z.file;He!==z.label&&!Se.includes(He)&&Se.push(He)}return Te("div",{class:"tree-node"},[Te("div",{class:["tree-row",J(z)],style:{"--tree-depth":String(z.depth)},onClick:He=>{He.stopPropagation(),p("select",z)}},[Te("span",{class:"tree-rail","aria-hidden":"true"}),Te("button",{class:["tree-toggle",{empty:!Ie}],disabled:!Ie,onClick:He=>{He.stopPropagation(),Ie&&p("toggle",z.id)}},Ie?me?"⌄":"›":""),Te("div",{class:"tree-copy"},[Te("span",{class:"tree-name mono",title:z.label},z.label),Se.length?Te("div",{class:"tree-badges"},Se.slice(0,1).map(He=>Te("span",{class:"tree-badge mono",title:He},He))):null]),Te("div",{class:"tree-metrics mono"},[z.isPersistent?Te("span",{class:"tree-persistent-pill",title:"Layout / persistent component — survives navigation"},"persistent"):null,z.isHydrationMount?Te("span",{class:"tree-hydration-pill",title:"First mount was SSR hydration — not a user-triggered render"},"hydrated"):null,Te("span",{class:"tree-metric-pill"},`${Ms} ${Le}`),z.file&&z.file!=="unknown"?Te("button",{class:"tree-jump-btn",title:`Open ${z.file} in editor`,onClick:He=>{He.stopPropagation(),X(z.file)}},"↗"):null])]),me&&Ie?Te("div",{class:"tree-children"},z.children.map(He=>Te(t,{node:He,mode:f.mode,threshold:f.threshold,selected:f.selected,expandedIds:f.expandedIds,onSelect:cn=>p("select",cn),onToggle:cn=>p("toggle",cn)}))):null])}}}),{renders:s,connected:n}=Xt(),o=ce("count"),l=ce(""),r="3",a="1600",u=ce(Number(r)),v=ce(Number(a)),d=ae({get:()=>o.value==="count"?u.value:v.value,set:f=>{o.value==="count"?u.value=f:v.value=f}}),m=ce(!1),P=ce(!1),w=ce(""),y=ce(null),A=ce(null),W=ce(new Set),G=ce([]),D=ce(!1);function Y(f){var k;if(f.name&&f.name!=="unknown"&&!/^Component#\d+$/.test(f.name))return f.name;if(f.element)return f.element;const p=(k=f.file.split("/").pop())==null?void 0:k.replace(/\.vue$/i,"");return p&&p!=="unknown"?p:f.name&&f.name!=="unknown"?f.name:`Component#${f.uid}`}function T(f){return`${f.type}: ${f.key}`}function H(f){const p=new Map;for(const J of f)p.set(String(J.uid),{id:String(J.uid),label:Y(J),file:J.file,element:J.element,depth:0,path:[],rerenders:J.rerenders??0,mountCount:J.mountCount??1,avgMs:J.avgMs,triggers:J.triggers.map(T),timeline:J.timeline??[],children:[],parentId:J.parentUid!==void 0?String(J.parentUid):void 0,isPersistent:!!J.isPersistent,isHydrationMount:!!J.isHydrationMount,route:J.route??"/"});const k=[];for(const J of f){const z=p.get(String(J.uid));if(!z)continue;const me=J.parentUid!==void 0?p.get(String(J.parentUid)):void 0;me?(z.parentLabel=me.label,me.children.push(z)):k.push(z)}function te(J,z=[],me=0){J.depth=me,J.path=[...z,J.label],J.children.forEach(Ie=>te(Ie,J.path,me+1))}return k.forEach(J=>te(J)),k}function U(f){const p=[];function k(te){p.push(te),te.children.forEach(k)}return f.forEach(k),p}function F(f){return 1+f.children.reduce((p,k)=>p+F(k),0)}function E(f,p=new Set){return p.add(f.id),f.children.forEach(k=>E(k,p)),p}function C(f,p,k=[]){const te=[...k,f.id];if(f.id===p)return te;for(const J of f.children){const z=C(J,p,te);if(z)return z}return null}function ie(f){if(q(f))return f;for(const p of f.children){const k=ie(p);if(k)return k}return null}function x(f){if(!f)return new Set;const p=new Set;function k(te){te.children.length>0&&(p.add(te.id),te.children.forEach(k))}return k(f),p}function g(f,p){const k=x(f);if(!f||!p)return k;function te(J){const z=J.children.some(Ie=>te(Ie)),me=re(J,p);return z&&k.add(J.id),me||z}return te(f),k}function b(f){return o.value==="count"?f.rerenders+f.mountCount:f.avgMs}function q(f){return b(f)>=d.value}function re(f,p){if(!p)return!0;const k=p.toLowerCase();return f.label.toLowerCase().includes(k)||f.file.toLowerCase().includes(k)||f.path.some(te=>te.toLowerCase().includes(k))||f.triggers.some(te=>te.toLowerCase().includes(k))}function de(f,p){return p?re(f,p)||f.children.some(k=>de(k,p)):!0}function R(f){return q(f)||f.children.some(p=>R(p))}function Z(f){return!l.value||f.route===l.value?!0:f.timeline.some(p=>p.route===l.value)}function _e(f){return Z(f)||f.children.some(p=>_e(p))}function be(f,p){const k=de(f,p),te=!m.value||R(f),J=!l.value||_e(f);return k&&te&&J}function Je(f,p){const k=f.children.map(me=>Je(me,p)).filter(me=>me!==null),te=!p||re(f,p)||k.length>0,J=!m.value||q(f)||k.length>0,z=!l.value||Z(f)||k.length>0;return!te||!J||!z?null:{...f,children:k}}const je=ae(()=>P.value?G.value:s.value),Ke=ae(()=>H(je.value)),Ct=ae(()=>new Map(Ke.value.map(f=>[f.id,f]))),$e=ae(()=>U(Ke.value)),Ue=ae(()=>{const f=w.value.trim();return Ke.value.filter(p=>be(p,f))}),Ae=ae(()=>A.value?Ue.value.find(f=>f.id===A.value)??Ct.value.get(A.value)??null:Ue.value[0]??Ke.value[0]??null),jt=ae(()=>{const f=w.value.trim();return Ae.value?Je(Ae.value,f):null}),es=ae(()=>jt.value?[jt.value]:[]),_t=ae(()=>Ue.value.map((f,p)=>({id:f.id,label:`App ${p+1}`,meta:`${F(f)} nodes`,root:f}))),Xn=ae(()=>{const f=new Set;for(const p of $e.value){p.route&&f.add(p.route);for(const k of p.timeline)k.route&&f.add(k.route)}return[...f].sort()}),c=ae(()=>$e.value.find(f=>f.id===y.value)??null),h=ae(()=>$e.value.reduce((f,p)=>f+p.rerenders+p.mountCount,0)),$=ae(()=>$e.value.filter(f=>q(f)).length),N=ae(()=>{const f=$e.value.filter(p=>p.avgMs>0);return f.length?(f.reduce((p,k)=>p+k.avgMs,0)/f.length).toFixed(1):"0.0"});xt(Ke,f=>{if(!f.length){A.value=null,y.value=null,W.value=new Set,D.value=!1;return}const p=new Set(f.map(J=>J.id));(!A.value||!p.has(A.value))&&(A.value=f[0].id),y.value&&!$e.value.some(J=>J.id===y.value)&&(y.value=null);const k=new Set($e.value.map(J=>J.id)),te=new Set([...W.value].filter(J=>k.has(J)));if(!D.value){W.value=x(Ae.value),D.value=!0;return}!w.value.trim()&&y.value&&Ae.value&&(C(Ae.value,y.value)??[]).forEach(z=>te.add(z)),W.value=te},{immediate:!0}),xt(w,f=>{if(!Ae.value)return;const p=f.trim();if(p){W.value=g(Ae.value,p);return}if(y.value){const k=C(Ae.value,y.value);W.value=k?new Set(k):x(Ae.value);return}W.value=x(Ae.value)}),xt([m,d,o,Ue],()=>{if(!m.value)return;const f=Ue.value[0]??null;if(!f){y.value=null;return}const p=ie(f);if(!p){y.value=null;return}A.value=f.id,y.value!==p.id&&(y.value=p.id),W.value=new Set(C(f,p.id)??[f.id])});function O(f){y.value=f.id;const p=Ke.value.find(k=>E(k).has(f.id));p&&(A.value=p.id,W.value=new Set(C(p,f.id)??[p.id]))}function I(f){const p=new Set(W.value);p.has(f)?p.delete(f):p.add(f),W.value=p}function B(f){A.value=f.id,W.value=x(f),D.value=!0}function V(f){const p=f.target;w.value=(p==null?void 0:p.value)??""}function j(){if(P.value){P.value=!1,G.value=[];return}G.value=JSON.parse(JSON.stringify(s.value)),P.value=!0}function L(f){var p;return((p=f.split("/").pop())==null?void 0:p.replace(/\.vue$/i,""))??f}function X(f){var k;if(!f||f==="unknown")return;const p=vs();p&&((k=window.top)==null||k.postMessage({type:"observatory:open-in-editor",file:f},p))}function K(f){return f.path.join(" / ")}function Q(f){return f<1?"<1ms":`${f.toFixed(1)}ms`}function se(f){return`+${(f/1e3).toFixed(2)}s`}return(f,p)=>(S(),M("div",Ld,[i("div",Pd,[i("div",Nd,[i("button",{class:oe({active:o.value==="count"}),onClick:p[0]||(p[0]=k=>o.value="count")},"render count",2),i("button",{class:oe({active:o.value==="time"}),onClick:p[1]||(p[1]=k=>o.value="time")},"render time",2)]),i("div",Fd,[p[7]||(p[7]=i("span",{class:"muted text-sm"},"threshold",-1)),Nt(i("input",{"onUpdate:modelValue":p[2]||(p[2]=k=>d.value=k),type:"range",min:o.value==="count"?2:4,max:o.value==="count"?20:100,step:o.value==="count"?1:4,style:{width:"90px"}},null,8,Rd),[[Yt,d.value,void 0,{number:!0}]]),i("span",jd,_(d.value)+_(o.value==="count"?"+ renders":"ms+"),1)]),i("button",{class:oe({active:m.value}),onClick:p[3]||(p[3]=k=>m.value=!m.value)},"hot only",2),Nt(i("select",{"onUpdate:modelValue":p[4]||(p[4]=k=>l.value=k),class:"route-select mono text-sm",title:"Filter by route"},[p[8]||(p[8]=i("option",{value:""},"all routes",-1)),(S(!0),M(ue,null,ye(Xn.value,k=>(S(),M("option",{key:k,value:k},_(k),9,Hd))),128))],512),[[Oa,l.value]]),i("button",{class:oe({active:P.value}),style:{"margin-left":"auto"},onClick:j},_(P.value?"unfreeze":"freeze snapshot"),3)]),i("div",Dd,[i("div",Vd,[p[9]||(p[9]=i("div",{class:"stat-label"},"components",-1)),i("div",Ud,_($e.value.length),1)]),i("div",Bd,[p[10]||(p[10]=i("div",{class:"stat-label"},"total renders",-1)),i("div",Kd,_(h.value),1)]),i("div",Wd,[p[11]||(p[11]=i("div",{class:"stat-label"},"hot",-1)),i("div",zd,_($.value),1)]),i("div",qd,[p[12]||(p[12]=i("div",{class:"stat-label"},"avg time",-1)),i("div",Jd,_(N.value)+"ms",1)])]),i("div",Gd,[i("aside",Yd,[p[13]||(p[13]=i("div",{class:"panel-title"},"apps",-1)),(S(!0),M(ue,null,ye(_t.value,k=>(S(),M("button",{key:k.id,class:oe(["root-item",{active:A.value===k.id}]),onClick:te=>B(k.root)},[i("div",Xd,[i("span",Zd,_(k.label),1),i("span",ef,_(k.root.label),1)]),i("span",tf,_(k.meta),1)],10,Qd))),128)),_t.value.length?ne("",!0):(S(),M("div",sf,"no apps match"))]),i("section",nf,[i("div",of,[i("input",{value:w.value,class:"search-input mono",placeholder:"Find components...",onInput:V},null,40,lf)]),i("div",rf,[i("div",af,[(S(!0),M(ue,null,ye(es.value,k=>{var te;return S(),Ot(wt(t),{key:k.id,node:k,mode:o.value,threshold:d.value,selected:(te=c.value)==null?void 0:te.id,"expanded-ids":W.value,onSelect:O,onToggle:I},null,8,["node","mode","threshold","selected","expanded-ids"])}),128))]),es.value.length?ne("",!0):(S(),M("div",cf,_(wt(n)?"No render activity recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]),i("aside",uf,[c.value?(S(),M(ue,{key:0},[i("div",df,[i("span",ff,_(c.value.label),1),i("button",{onClick:p[5]||(p[5]=k=>y.value=null)},"×")]),i("div",pf,[i("span",hf,_(c.value.rerenders+c.value.mountCount)+" render"+_(c.value.rerenders+c.value.mountCount!==1?"s":""),1),i("span",vf,_(c.value.mountCount)+" mount"+_(c.value.mountCount!==1?"s":""),1),c.value.rerenders?(S(),M("span",mf,_(c.value.rerenders)+" re-render"+_(c.value.rerenders!==1?"s":""),1)):ne("",!0),c.value.isPersistent?(S(),M("span",gf,"persistent")):ne("",!0),c.value.isHydrationMount?(S(),M("span",_f,"hydrated")):ne("",!0),i("span",bf,_(c.value.avgMs.toFixed(1))+"ms avg",1),i("span",{class:oe(["detail-pill mono",{hot:q(c.value)}])},_(q(c.value)?"hot":"cool"),3)]),p[29]||(p[29]=i("div",{class:"section-label"},"identity",-1)),i("div",yf,[p[14]||(p[14]=i("span",{class:"muted text-sm"},"label",-1)),i("span",xf,_(c.value.label),1),p[15]||(p[15]=i("span",{class:"muted text-sm"},"path",-1)),i("span",wf,_(K(c.value)),1),p[16]||(p[16]=i("span",{class:"muted text-sm"},"file",-1)),i("span",$f,[Ee(_(c.value.file)+" ",1),c.value.file&&c.value.file!=="unknown"?(S(),M("button",{key:0,class:"jump-btn",title:"Open in editor",onClick:p[6]||(p[6]=k=>X(c.value.file))}," open ↗ ")):ne("",!0)]),p[17]||(p[17]=i("span",{class:"muted text-sm"},"file name",-1)),i("span",Cf,_(L(c.value.file)),1),p[18]||(p[18]=i("span",{class:"muted text-sm"},"parent",-1)),i("span",kf,_(c.value.parentLabel??"none"),1),p[19]||(p[19]=i("span",{class:"muted text-sm"},"children",-1)),i("span",Sf,_(c.value.children.length),1)]),p[30]||(p[30]=i("div",{class:"section-label"},"rendering",-1)),i("div",Tf,[p[20]||(p[20]=i("span",{class:"muted text-sm"},"total renders",-1)),i("span",Mf,_(c.value.rerenders+c.value.mountCount),1),p[21]||(p[21]=i("span",{class:"muted text-sm"},"re-renders",-1)),i("span",Ef,_(c.value.rerenders),1),p[22]||(p[22]=i("span",{class:"muted text-sm"},"mounts",-1)),i("span",Of,_(c.value.mountCount),1),p[23]||(p[23]=i("span",{class:"muted text-sm"},"persistent",-1)),i("span",{class:"mono text-sm",style:Ce({color:c.value.isPersistent?"var(--amber)":"inherit"})},_(c.value.isPersistent?"yes — survives navigation":"no"),5),p[24]||(p[24]=i("span",{class:"muted text-sm"},"hydration mount",-1)),i("span",Af,_(c.value.isHydrationMount?"yes — SSR hydrated":"no"),1),p[25]||(p[25]=i("span",{class:"muted text-sm"},"avg render time",-1)),i("span",If,_(c.value.avgMs.toFixed(1))+"ms",1),p[26]||(p[26]=i("span",{class:"muted text-sm"},"threshold",-1)),i("span",Lf,_(d.value)+_(o.value==="count"?"+ renders":"ms+"),1),p[27]||(p[27]=i("span",{class:"muted text-sm"},"mode",-1)),i("span",Pf,_(o.value==="count"?"re-render count":"render time"),1)]),p[31]||(p[31]=i("div",{class:"section-label"},"triggers",-1)),(S(!0),M(ue,null,ye(c.value.triggers,k=>(S(),M("div",{key:k,class:"trigger-item mono text-sm"},_(k),1))),128)),c.value.triggers.length?ne("",!0):(S(),M("div",Nf,"no triggers recorded")),i("div",Ff,[p[28]||(p[28]=Ee(" render timeline ",-1)),i("span",Rf," ("+_(c.value.timeline.length)+") ",1)]),c.value.timeline.length?(S(),M("div",Hf,[(S(!0),M(ue,null,ye([...c.value.timeline].reverse().slice(0,30),(k,te)=>(S(),M("div",{key:te,class:"timeline-row"},[i("span",{class:oe(["timeline-kind mono",k.kind])},_(k.kind),3),i("span",Df,_(se(k.t)),1),i("span",Vf,_(Q(k.durationMs)),1),k.triggerKey?(S(),M("span",Uf,_(k.triggerKey),1)):ne("",!0),i("span",Bf,_(k.route),1)]))),128)),c.value.timeline.length>30?(S(),M("div",Kf," … "+_(c.value.timeline.length-30)+" earlier events ",1)):ne("",!0)])):(S(),M("div",jf,"no timeline events yet"))],64)):(S(),M("div",Wf,"click a component to inspect"))])])]))}}),qf=Zt(zf,[["__scopeId","data-v-a5a04da1"]]),Jf={class:"timeline-root"},Gf={class:"stats-row"},Yf={class:"stat-card"},Qf={class:"stat-val"},Xf={class:"stat-card"},Zf={class:"stat-val",style:{color:"var(--purple)"}},ep={class:"stat-card"},tp={class:"stat-val",style:{color:"var(--red)"}},sp={class:"stat-card"},np={class:"stat-val"},op={class:"toolbar"},lp={class:"filter-group"},ip={class:"content-area"},rp={class:"data-table"},ap=["onClick"],cp={class:"mono",style:{"font-size":"11px","font-weight":"500"}},up={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},dp={class:"muted",style:{"font-size":"11px"}},fp={class:"bar-cell"},pp={class:"bar-track"},hp={key:0},vp={colspan:"6",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},mp={key:0,class:"detail-panel"},gp={class:"panel-header"},_p={class:"panel-title"},bp={class:"panel-section"},yp={class:"panel-row"},xp={class:"panel-row"},wp={class:"panel-row"},$p={class:"panel-val mono"},Cp={key:0,class:"panel-row"},kp={class:"panel-val mono"},Sp={class:"panel-section"},Tp={class:"panel-row"},Mp={class:"panel-val mono"},Ep={class:"panel-row"},Op={class:"panel-val mono"},Ap={class:"panel-row"},Ip={class:"panel-val mono",style:{"font-weight":"500"}},Lp={class:"panel-section"},Pp={class:"panel-row"},Np={class:"panel-row"},Fp={key:0,class:"cancel-notice"},Rp={key:1,class:"active-notice"},jp=Ft({__name:"TransitionTimeline",setup(e){const{transitions:t,connected:s}=Xt(),n=ce("all"),o=ce(""),l=ce(null),r=ae(()=>{let w=[...t.value];if(o.value){const y=o.value.toLowerCase();w=w.filter(A=>A.transitionName.toLowerCase().includes(y)||A.parentComponent.toLowerCase().includes(y))}return n.value==="cancelled"?w=w.filter(y=>y.cancelled||y.phase==="interrupted"):n.value==="active"?w=w.filter(y=>y.phase==="entering"||y.phase==="leaving"):n.value==="completed"&&(w=w.filter(y=>y.phase==="entered"||y.phase==="left")),w.sort((y,A)=>{const W=y.endTime??y.startTime;return(A.endTime??A.startTime)-W})}),a=ae(()=>({total:t.value.length,active:t.value.filter(w=>w.phase==="entering"||w.phase==="leaving").length,cancelled:t.value.filter(w=>w.cancelled||w.phase==="interrupted").length,avgMs:(()=>{const w=t.value.filter(y=>y.durationMs!==void 0);return w.length?Math.round(w.reduce((y,A)=>y+(A.durationMs??0),0)/w.length):0})()})),u=ae(()=>{const w=r.value;if(!w.length)return[];const y=w.reduce((G,D)=>Math.min(G,D.startTime),w[0].startTime),A=w.reduce((G,D)=>Math.max(G,D.endTime??D.startTime+400),0),W=Math.max(A-y,1);return w.map(G=>({left:(G.startTime-y)/W*100,width:((G.endTime??G.startTime+80)-G.startTime)/W*100}))});function v(w){return w==="entering"||w==="leaving"?"#7f77dd":w==="entered"?"#1d9e75":w==="left"?"#378add":w==="enter-cancelled"||w==="leave-cancelled"?"#e24b4a":w==="interrupted"?"#e09a3a":"#888"}function d(w){return w==="entering"||w==="leaving"?"badge-purple":w==="entered"||w==="left"?"badge-ok":w.includes("cancelled")?"badge-err":w==="interrupted"?"badge-warn":"badge-gray"}function m(w){return w.appear?"✦ appear":w.direction==="enter"?"→ enter":"← leave"}function P(w){return w.appear?"var(--amber)":w.direction==="enter"?"var(--teal)":"var(--blue)"}return(w,y)=>(S(),M("div",Jf,[i("div",Gf,[i("div",Yf,[i("div",Qf,_(a.value.total),1),y[6]||(y[6]=i("div",{class:"stat-label"},"total",-1))]),i("div",Xf,[i("div",Zf,_(a.value.active),1),y[7]||(y[7]=i("div",{class:"stat-label"},"active",-1))]),i("div",ep,[i("div",tp,_(a.value.cancelled),1),y[8]||(y[8]=i("div",{class:"stat-label"},"cancelled",-1))]),i("div",sp,[i("div",np,[Ee(_(a.value.avgMs)+" ",1),y[9]||(y[9]=i("span",{class:"stat-unit"},"ms",-1))]),y[10]||(y[10]=i("div",{class:"stat-label"},"avg duration",-1))])]),i("div",op,[Nt(i("input",{"onUpdate:modelValue":y[0]||(y[0]=A=>o.value=A),type:"search",placeholder:"filter by name or component…",class:"search-input"},null,512),[[Yt,o.value]]),i("div",lp,[i("button",{class:oe({active:n.value==="all"}),onClick:y[1]||(y[1]=A=>n.value="all")},"All",2),i("button",{class:oe({active:n.value==="active"}),onClick:y[2]||(y[2]=A=>n.value="active")},"Active",2),i("button",{class:oe({active:n.value==="completed"}),onClick:y[3]||(y[3]=A=>n.value="completed")},"Completed",2),i("button",{class:oe({active:n.value==="cancelled","danger-active":n.value==="cancelled"}),onClick:y[4]||(y[4]=A=>n.value="cancelled")}," Cancelled ",2)])]),i("div",ip,[i("div",{class:oe(["table-pane",{"has-panel":l.value}])},[i("table",rp,[y[11]||(y[11]=i("thead",null,[i("tr",null,[i("th",{style:{width:"110px"}},"NAME"),i("th",{style:{width:"80px"}},"DIR"),i("th",{style:{width:"90px"}},"PHASE"),i("th",{style:{width:"70px"}},"DURATION"),i("th",null,"COMPONENT"),i("th",null,"TIMELINE")])],-1)),i("tbody",null,[(S(!0),M(ue,null,ye(r.value,(A,W)=>{var G,D,Y;return S(),M("tr",{key:A.id,class:oe({selected:((G=l.value)==null?void 0:G.id)===A.id}),onClick:T=>{var H;return l.value=((H=l.value)==null?void 0:H.id)===A.id?null:A}},[i("td",null,[i("span",cp,_(A.transitionName),1)]),i("td",null,[i("span",{class:"mono",style:Ce([{"font-size":"11px"},{color:P(A)}])},_(m(A)),5)]),i("td",null,[i("span",{class:oe(["badge",d(A.phase)])},_(A.phase),3)]),i("td",up,_(A.durationMs!==void 0?A.durationMs+"ms":"—"),1),i("td",dp,_(A.parentComponent),1),i("td",fp,[i("div",pp,[i("div",{class:"bar-fill",style:Ce({left:((D=u.value[W])==null?void 0:D.left)+"%",width:Math.max(((Y=u.value[W])==null?void 0:Y.width)??1,1)+"%",background:v(A.phase),opacity:A.phase==="entering"||A.phase==="leaving"?"0.55":"1"})},null,4)])])],10,ap)}),128)),r.value.length?ne("",!0):(S(),M("tr",hp,[i("td",vp,_(wt(s)?"No transitions recorded yet — trigger one on the page.":"Waiting for connection to the Nuxt app…"),1)]))])])],2),ke(Ln,{name:"panel-slide"},{default:Vs(()=>[l.value?(S(),M("aside",mp,[i("div",gp,[i("span",_p,_(l.value.transitionName),1),i("button",{class:"close-btn",onClick:y[5]||(y[5]=A=>l.value=null)},"✕")]),i("div",bp,[i("div",yp,[y[12]||(y[12]=i("span",{class:"panel-key"},"Direction",-1)),i("span",{class:"panel-val",style:Ce({color:P(l.value)})},_(m(l.value)),5)]),i("div",xp,[y[13]||(y[13]=i("span",{class:"panel-key"},"Phase",-1)),i("span",{class:oe(["badge",d(l.value.phase)])},_(l.value.phase),3)]),i("div",wp,[y[14]||(y[14]=i("span",{class:"panel-key"},"Component",-1)),i("span",$p,_(l.value.parentComponent),1)]),l.value.mode?(S(),M("div",Cp,[y[15]||(y[15]=i("span",{class:"panel-key"},"Mode",-1)),i("span",kp,_(l.value.mode),1)])):ne("",!0)]),i("div",Sp,[y[19]||(y[19]=i("div",{class:"panel-section-title"},"Timing",-1)),i("div",Tp,[y[16]||(y[16]=i("span",{class:"panel-key"},"Start",-1)),i("span",Mp,_(l.value.startTime.toFixed(2))+"ms",1)]),i("div",Ep,[y[17]||(y[17]=i("span",{class:"panel-key"},"End",-1)),i("span",Op,_(l.value.endTime!==void 0?l.value.endTime.toFixed(2)+"ms":"—"),1)]),i("div",Ap,[y[18]||(y[18]=i("span",{class:"panel-key"},"Duration",-1)),i("span",Ip,_(l.value.durationMs!==void 0?l.value.durationMs+"ms":l.value.phase==="interrupted"?"interrupted":"in progress"),1)])]),i("div",Lp,[y[22]||(y[22]=i("div",{class:"panel-section-title"},"Flags",-1)),i("div",Pp,[y[20]||(y[20]=i("span",{class:"panel-key"},"Appear",-1)),i("span",{class:"panel-val",style:Ce({color:l.value.appear?"var(--amber)":"var(--text3)"})},_(l.value.appear?"yes":"no"),5)]),i("div",Np,[y[21]||(y[21]=i("span",{class:"panel-key"},"Cancelled",-1)),i("span",{class:"panel-val",style:Ce({color:l.value.cancelled?"var(--red)":"var(--text3)"})},_(l.value.cancelled?"yes":"no"),5)])]),l.value.cancelled?(S(),M("div",Fp,[...y[23]||(y[23]=[Ee(" This transition was cancelled mid-flight. The element may be stuck in a partial animation state if the interruption was not handled with ",-1),i("code",null,"onEnterCancelled",-1),Ee(" / ",-1),i("code",null,"onLeaveCancelled",-1),Ee(" . ",-1)])])):ne("",!0),l.value.phase==="entering"||l.value.phase==="leaving"?(S(),M("div",Rp,[...y[24]||(y[24]=[Ee(" Transition is currently in progress. If it stays in this state longer than expected, the ",-1),i("code",null,"done()",-1),Ee(" callback may not be getting called (JS-mode transition stall). ",-1)])])):ne("",!0)])):ne("",!0)]),_:1})])]))}}),Hp=Zt(jp,[["__scopeId","data-v-da869dac"]]),Dp={id:"app-root"},Vp={class:"tabbar"},Up=["onClick"],Bp={class:"tab-icon"},Kp={class:"tab-content"},Wp=Ft({__name:"App",setup(e){const t={fetch:"fetch",provide:"provide",composables:"composable",heatmap:"heatmap",transitions:"transitions"},s=window.location.pathname.split("/").filter(Boolean).pop()??"",n=ce(t[s]??"fetch"),{features:o}=Xt();qn(()=>{Va()});const l=ae(()=>{const r=o.value||{};return[r.fetchDashboard&&{id:"fetch",label:"useFetch",icon:"⬡"},r.provideInjectGraph&&{id:"provide",label:"provide/inject",icon:"⬡"},r.composableTracker&&{id:"composable",label:"Composables",icon:"⬡"},r.renderHeatmap&&{id:"heatmap",label:"Heatmap",icon:"⬡"},r.transitionTracker&&{id:"transitions",label:"Transitions",icon:"⬡"}].filter(a=>!!a)});return(r,a)=>(S(),M("div",Dp,[i("nav",Vp,[a[0]||(a[0]=i("div",{class:"tabbar-brand"},"observatory",-1)),(S(!0),M(ue,null,ye(l.value,u=>(S(),M("button",{key:u.id,class:oe(["tab-btn",{active:n.value===u.id}]),onClick:v=>n.value=u.id},[i("span",Bp,_(u.icon),1),Ee(" "+_(u.label),1)],10,Up))),128))]),i("main",Kp,[n.value==="fetch"?(S(),Ot(Mc,{key:0})):n.value==="provide"?(S(),Ot(pu,{key:1})):n.value==="composable"?(S(),Ot(Id,{key:2})):n.value==="heatmap"?(S(),Ot(qf,{key:3})):n.value==="transitions"?(S(),Ot(Hp,{key:4})):ne("",!0)])]))}}),zp=Zt(Wp,[["__scopeId","data-v-12fe13bc"]]);Na(zp).mount("#app");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.view[data-v-4f9bcc52]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-4f9bcc52]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-4f9bcc52]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-4f9bcc52]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.table-wrap[data-v-4f9bcc52]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg)}.detail-panel[data-v-4f9bcc52]{width:280px;flex-shrink:0;display:flex;flex-direction:column;gap:8px;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.detail-empty[data-v-4f9bcc52]{width:280px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--text3);font-size:12px;border:.5px dashed var(--border);border-radius:var(--radius-lg)}.detail-header[data-v-4f9bcc52]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-4f9bcc52]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:11px}.section-label[data-v-4f9bcc52]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px;min-height:fit-content}.payload-box[data-v-4f9bcc52]{font-family:var(--mono);font-size:11px;color:var(--text2);background:var(--bg2);border-radius:var(--radius);padding:8px 10px;overflow:auto;white-space:pre;max-height:160px}.waterfall[data-v-4f9bcc52]{flex-shrink:0;background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px}.waterfall-header[data-v-4f9bcc52]{display:flex;align-items:center;justify-content:space-between;gap:8px}.waterfall-body[data-v-4f9bcc52]{margin-top:6px}.wf-row[data-v-4f9bcc52]{display:flex;align-items:center;gap:8px;margin-bottom:4px}.wf-track[data-v-4f9bcc52]{flex:1;position:relative;height:8px;background:var(--bg2);border-radius:2px;overflow:hidden}.wf-bar[data-v-4f9bcc52]{position:absolute;top:0;height:100%;border-radius:2px;opacity:.8}.view[data-v-0c07531b]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.toolbar[data-v-0c07531b]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-0c07531b]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.graph-area[data-v-0c07531b]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-0c07531b]{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--text2);margin-bottom:12px}.canvas-stage[data-v-0c07531b]{display:flex;justify-content:center;align-items:flex-start;min-width:100%}.dot[data-v-0c07531b]{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px}.canvas-wrap[data-v-0c07531b]{position:relative}.edges-svg[data-v-0c07531b]{position:absolute;top:0;left:0;pointer-events:none}.edge[data-v-0c07531b]{stroke:var(--border);stroke-width:1.5}.graph-node[data-v-0c07531b]{position:absolute;display:flex;align-items:center;gap:7px;padding:0 10px;height:32px;border-radius:var(--radius);border:.5px solid var(--border);background:var(--bg3);cursor:pointer;transition:border-color .12s,background .12s;overflow:hidden;box-sizing:border-box;white-space:nowrap}.graph-node[data-v-0c07531b]:hover{border-color:var(--text3)}.graph-node.is-selected[data-v-0c07531b]{border-color:var(--node-color);background:color-mix(in srgb,var(--node-color) 8%,transparent)}.node-dot[data-v-0c07531b]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.node-label[data-v-0c07531b]{font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis}.badge-xs[data-v-0c07531b]{font-size:9px;padding:1px 4px}.detail-panel[data-v-0c07531b]{width:280px;flex-shrink:0;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3);display:flex;flex-direction:column;gap:4px;min-height:0}.detail-empty[data-v-0c07531b]{width:280px;display:flex;align-items:center;justify-content:center;color:var(--text3);font-size:12px;border:.5px dashed var(--border);border-radius:var(--radius-lg);flex-shrink:0}.graph-empty[data-v-0c07531b]{display:flex;align-items:center;justify-content:center;min-height:180px;color:var(--text3);font-size:12px}.detail-header[data-v-0c07531b]{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.section-label[data-v-0c07531b]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin:8px 0 5px}.detail-section[data-v-0c07531b]{display:flex;flex-direction:column;min-height:0}.detail-list[data-v-0c07531b]{display:flex;flex-direction:column;gap:3px;overflow:auto;max-height:220px;padding-right:2px}.provide-row[data-v-0c07531b]{display:flex;flex-direction:column;gap:4px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-warning[data-v-0c07531b]{font-size:11px;color:var(--amber);padding:2px 0}.row-consumers[data-v-0c07531b]{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:2px 0}.consumer-chip[data-v-0c07531b]{font-size:10px;padding:1px 6px;border-radius:4px;background:color-mix(in srgb,var(--blue) 10%,var(--bg3));border:.5px solid color-mix(in srgb,var(--blue) 30%,var(--border));color:var(--text2)}.scope-badge[data-v-0c07531b]{font-size:10px;padding:1px 6px;border-radius:4px}.scope-global[data-v-0c07531b]{background:color-mix(in srgb,var(--amber) 15%,transparent);border:.5px solid color-mix(in srgb,var(--amber) 40%,var(--border));color:color-mix(in srgb,var(--amber) 80%,var(--text))}.scope-layout[data-v-0c07531b]{background:color-mix(in srgb,var(--purple) 15%,transparent);border:.5px solid color-mix(in srgb,var(--purple) 40%,var(--border));color:color-mix(in srgb,var(--purple) 80%,var(--text))}.scope-component[data-v-0c07531b]{background:var(--bg3);border:.5px solid var(--border);color:var(--text3)}.row-main[data-v-0c07531b]{display:flex;align-items:center;gap:8px;min-width:0}.row-key[data-v-0c07531b]{min-width:100px;color:var(--text2);flex-shrink:0}.row-value-preview[data-v-0c07531b]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-toggle[data-v-0c07531b]{padding:2px 8px;font-size:10px}.value-box[data-v-0c07531b]{font-family:var(--mono);font-size:11px;color:var(--text2);background:#0000001a;border-radius:var(--radius);padding:8px 10px;white-space:pre-wrap;word-break:break-word;overflow:auto;max-height:180px}.inject-row[data-v-0c07531b]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-from[data-v-0c07531b]{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inject-miss[data-v-0c07531b]{background:#e24b4a14}.jump-btn[data-v-0c07531b]{font-size:10px;padding:1px 6px;border:.5px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text3);cursor:pointer;flex-shrink:0;font-family:var(--mono)}.jump-btn[data-v-0c07531b]:hover{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,transparent)}.view[data-v-bc3bc8e4]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-bc3bc8e4]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-bc3bc8e4]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.clear-btn[data-v-bc3bc8e4]{color:var(--text3);border-color:var(--border);flex-shrink:0}.clear-btn[data-v-bc3bc8e4]:hover{color:var(--red);border-color:var(--red);background:transparent}.list[data-v-bc3bc8e4]{flex:1;overflow:auto;display:flex;flex-direction:column;gap:5px;min-height:0}.comp-card[data-v-bc3bc8e4]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;flex-shrink:0}.comp-card[data-v-bc3bc8e4]:hover{border-color:var(--text3)}.comp-card.leak[data-v-bc3bc8e4]{border-left:2px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0}.comp-card.expanded[data-v-bc3bc8e4]{border-color:var(--purple)}.comp-header[data-v-bc3bc8e4]{display:flex;align-items:center;justify-content:space-between;padding:8px 12px;gap:8px}.comp-identity[data-v-bc3bc8e4]{display:flex;align-items:baseline;gap:6px;min-width:0;flex:1}.comp-name[data-v-bc3bc8e4]{font-size:12px;font-weight:500;color:var(--text);flex-shrink:0}.comp-file[data-v-bc3bc8e4]{font-size:11px;color:var(--text3);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comp-meta[data-v-bc3bc8e4]{display:flex;align-items:center;gap:5px;flex-shrink:0}.refs-preview[data-v-bc3bc8e4]{display:flex;flex-wrap:wrap;gap:4px;padding:0 12px 8px;align-items:center}.ref-chip[data-v-bc3bc8e4]{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:4px;background:var(--bg2);border:.5px solid var(--border);font-size:11px;font-family:var(--mono);max-width:220px;overflow:hidden}.ref-chip--reactive[data-v-bc3bc8e4]{border-color:color-mix(in srgb,var(--purple) 40%,var(--border));background:color-mix(in srgb,var(--purple) 8%,var(--bg2))}.ref-chip--computed[data-v-bc3bc8e4]{border-color:color-mix(in srgb,var(--blue) 40%,var(--border));background:color-mix(in srgb,var(--blue) 8%,var(--bg2))}.ref-chip-key[data-v-bc3bc8e4]{color:var(--text2);flex-shrink:0}.ref-chip-val[data-v-bc3bc8e4]{color:var(--teal);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.comp-detail[data-v-bc3bc8e4]{padding:4px 12px 12px;border-top:.5px solid var(--border);display:flex;flex-direction:column;gap:3px}.leak-banner[data-v-bc3bc8e4]{background:color-mix(in srgb,var(--red) 12%,transparent);border:.5px solid color-mix(in srgb,var(--red) 40%,var(--border));border-radius:var(--radius);padding:6px 10px;font-size:11px;color:var(--red);margin-bottom:6px;font-family:var(--mono)}.section-label[data-v-bc3bc8e4]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px;margin-bottom:3px}.ref-row[data-v-bc3bc8e4]{display:flex;align-items:center;gap:8px;padding:3px 0}.ref-key[data-v-bc3bc8e4]{min-width:90px;color:var(--text2);flex-shrink:0}.ref-val[data-v-bc3bc8e4]{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--teal)}.lc-row[data-v-bc3bc8e4]{display:flex;align-items:center;gap:8px;padding:2px 0}.lc-dot[data-v-bc3bc8e4]{width:6px;height:6px;border-radius:50%;flex-shrink:0}.ref-chip--shared[data-v-bc3bc8e4]{border-color:color-mix(in srgb,var(--amber) 50%,var(--border));background:color-mix(in srgb,var(--amber) 10%,var(--bg2))}.ref-chip-shared-dot[data-v-bc3bc8e4]{display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--amber);flex-shrink:0;margin-left:1px}.global-banner[data-v-bc3bc8e4]{display:flex;align-items:flex-start;gap:8px;background:color-mix(in srgb,var(--amber) 10%,transparent);border:.5px solid color-mix(in srgb,var(--amber) 40%,var(--border));border-radius:var(--radius);padding:7px 10px;font-size:11px;color:var(--text2);margin-bottom:6px}.global-dot[data-v-bc3bc8e4]{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--amber);flex-shrink:0;margin-top:3px}.badge-amber[data-v-bc3bc8e4]{background:color-mix(in srgb,var(--amber) 15%,transparent);color:color-mix(in srgb,var(--amber) 80%,var(--text));border:.5px solid color-mix(in srgb,var(--amber) 40%,var(--border))}.history-list[data-v-bc3bc8e4]{display:flex;flex-direction:column;gap:1px;background:var(--bg2);border-radius:var(--radius);padding:4px 8px;max-height:180px;overflow-y:auto}.history-row[data-v-bc3bc8e4]{display:flex;align-items:center;gap:8px;padding:2px 0;font-size:11px;font-family:var(--mono);border-bottom:.5px solid var(--border)}.history-row[data-v-bc3bc8e4]:last-child{border-bottom:none}.history-time[data-v-bc3bc8e4]{min-width:52px;color:var(--text3);flex-shrink:0}.history-key[data-v-bc3bc8e4]{min-width:80px;color:var(--text2);flex-shrink:0}.history-val[data-v-bc3bc8e4]{color:var(--amber);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.stat-card[data-v-bc3bc8e4]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 14px}.stat-label[data-v-bc3bc8e4]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-bottom:4px}.stat-val[data-v-bc3bc8e4]{font-size:22px;font-weight:500;line-height:1;color:var(--text)}.ref-key--clickable[data-v-bc3bc8e4]{cursor:pointer;text-decoration:underline dotted var(--text3);text-underline-offset:2px}.ref-key--clickable[data-v-bc3bc8e4]:hover{color:var(--purple);text-decoration-color:var(--purple)}.edit-btn[data-v-bc3bc8e4]{font-size:10px;padding:1px 6px;border-radius:var(--radius);border:.5px solid var(--border);background:transparent;color:var(--text3);cursor:pointer;margin-left:auto;flex-shrink:0;font-family:var(--mono)}.edit-btn[data-v-bc3bc8e4]:hover{border-color:var(--purple);color:var(--purple);background:color-mix(in srgb,var(--purple) 8%,transparent)}.lookup-panel[data-v-bc3bc8e4]{flex-shrink:0;border:.5px solid var(--border);border-radius:var(--radius-lg);background:var(--bg3);overflow:hidden}.lookup-header[data-v-bc3bc8e4]{display:flex;align-items:center;gap:6px;padding:7px 12px;border-bottom:.5px solid var(--border);background:var(--bg2)}.lookup-row[data-v-bc3bc8e4]{display:flex;align-items:center;gap:8px;padding:5px 12px;border-bottom:.5px solid var(--border)}.lookup-row[data-v-bc3bc8e4]:last-child{border-bottom:none}.edit-overlay[data-v-bc3bc8e4]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;z-index:100;display:flex;align-items:center;justify-content:center}.edit-dialog[data-v-bc3bc8e4]{background:var(--bg1, var(--bg2));border:.5px solid var(--border);border-radius:var(--radius-lg);padding:14px 16px;width:380px;max-width:92vw;display:flex;flex-direction:column;gap:6px;box-shadow:0 8px 32px #0000004d}.edit-dialog-header[data-v-bc3bc8e4]{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--text2);margin-bottom:2px}.edit-textarea[data-v-bc3bc8e4]{width:100%;font-family:var(--mono);font-size:12px;padding:8px 10px;background:var(--bg2);border:.5px solid var(--border);border-radius:var(--radius);color:var(--text);resize:vertical;outline:none}.edit-textarea[data-v-bc3bc8e4]:focus{border-color:var(--purple)}.edit-error[data-v-bc3bc8e4]{color:var(--red);font-family:var(--mono)}.edit-actions[data-v-bc3bc8e4]{display:flex;gap:6px;padding-top:4px}.slide-enter-active[data-v-bc3bc8e4],.slide-leave-active[data-v-bc3bc8e4]{transition:opacity .15s,transform .15s}.slide-enter-from[data-v-bc3bc8e4],.slide-leave-to[data-v-bc3bc8e4]{opacity:0;transform:translateY(6px)}.fade-enter-active[data-v-bc3bc8e4],.fade-leave-active[data-v-bc3bc8e4]{transition:opacity .15s}.fade-enter-from[data-v-bc3bc8e4],.fade-leave-to[data-v-bc3bc8e4]{opacity:0}.jump-btn[data-v-bc3bc8e4]{font-size:10px;padding:1px 6px;border:.5px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text3);cursor:pointer;flex-shrink:0;font-family:var(--mono)}.jump-btn[data-v-bc3bc8e4]:hover{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,transparent)}.view[data-v-a5a04da1]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.controls[data-v-a5a04da1]{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.mode-group[data-v-a5a04da1]{display:flex;gap:2px}.threshold-group[data-v-a5a04da1]{display:flex;align-items:center;gap:6px}.stats-row[data-v-a5a04da1]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.stat-sub[data-v-a5a04da1]{margin-top:4px;font-size:11px;color:var(--text3)}.inspector[data-v-a5a04da1]{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(260px,320px);gap:12px;flex:1;min-height:0}.roots-panel[data-v-a5a04da1],.tree-panel[data-v-a5a04da1],.detail-panel[data-v-a5a04da1]{border:.5px solid var(--border);border-radius:var(--radius-lg);background:var(--bg3);min-height:0}.roots-panel[data-v-a5a04da1],.detail-panel[data-v-a5a04da1]{display:flex;flex-direction:column;overflow:auto;padding:12px;gap:8px}.panel-title[data-v-a5a04da1]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3)}.root-item[data-v-a5a04da1]{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text);text-align:left}.root-item.active[data-v-a5a04da1]{border-color:var(--teal);background:color-mix(in srgb,var(--teal) 16%,var(--bg2))}.root-label[data-v-a5a04da1]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.root-copy[data-v-a5a04da1]{display:flex;flex-direction:column;min-width:0}.root-sub[data-v-a5a04da1]{font-size:11px}.root-meta[data-v-a5a04da1]{color:var(--text3);font-size:11px}.tree-panel[data-v-a5a04da1]{display:flex;flex-direction:column;overflow:hidden}.tree-toolbar[data-v-a5a04da1]{padding:12px;border-bottom:.5px solid var(--border)}.search-input[data-v-a5a04da1]{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text)}.tree-frame[data-v-a5a04da1]{flex:1;min-height:0;overflow:auto;padding:12px}[data-v-a5a04da1] .tree-canvas{display:inline-block;min-width:100%;width:max-content}[data-v-a5a04da1] .tree-node{margin-bottom:4px}[data-v-a5a04da1] .tree-row{display:grid;grid-template-columns:8px 18px minmax(0,1fr) auto;align-items:center;gap:6px;min-width:0;width:100%;padding:4px 8px;padding-left:calc(8px + (var(--tree-depth, 0) * 16px));border:1px solid transparent;border-radius:var(--radius);cursor:pointer;white-space:nowrap}[data-v-a5a04da1] .tree-row:hover{background:var(--bg2)}[data-v-a5a04da1] .tree-row.selected{background:color-mix(in srgb,var(--teal) 12%,var(--bg2));border-color:var(--teal)}[data-v-a5a04da1] .tree-row.hot{box-shadow:inset 2px 0 0 var(--red)}[data-v-a5a04da1] .tree-toggle{width:16px;height:16px;border:none;background:transparent;color:var(--text3);padding:0;font-size:14px;display:inline-flex;align-items:center;justify-content:center}[data-v-a5a04da1] .tree-toggle:disabled{cursor:default}[data-v-a5a04da1] .tree-toggle.empty{opacity:0}[data-v-a5a04da1] .tree-rail{display:block;width:2px;height:14px;border-radius:999px;background:color-mix(in srgb,var(--border) 75%,transparent)}[data-v-a5a04da1] .tree-copy{display:flex;align-items:center;min-width:0;gap:6px;overflow:hidden}[data-v-a5a04da1] .tree-name{font-size:12px;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis}[data-v-a5a04da1] .tree-badges{display:flex;gap:6px;flex-shrink:0;overflow:hidden}[data-v-a5a04da1] .tree-badge{border:1px solid var(--border);border-radius:999px;padding:2px 7px;font-size:10px;color:var(--text3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:160px}[data-v-a5a04da1] .tree-metrics{display:flex;align-items:center;min-width:92px;justify-content:flex-end;flex-shrink:0;gap:6px}[data-v-a5a04da1] .tree-metric-pill{display:inline-flex;align-items:center;justify-content:center;min-width:78px;padding:2px 8px;border:1px solid var(--border);border-radius:999px;background:var(--bg2);font-size:10px;color:var(--text3)}[data-v-a5a04da1] .tree-persistent-pill{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid color-mix(in srgb,var(--amber) 55%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--amber) 10%,var(--bg2));font-size:10px;color:color-mix(in srgb,var(--amber) 80%,var(--text))}[data-v-a5a04da1] .tree-hydration-pill{display:inline-flex;align-items:center;padding:2px 8px;border:1px solid color-mix(in srgb,var(--teal) 55%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--teal) 10%,var(--bg2));font-size:10px;color:color-mix(in srgb,var(--teal) 80%,var(--text))}[data-v-a5a04da1] .tree-children{margin-left:7px;padding-left:11px;border-left:1px solid color-mix(in srgb,var(--border) 72%,transparent)}.detail-empty[data-v-a5a04da1]{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text3);font-size:12px}.detail-header[data-v-a5a04da1]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-a5a04da1]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.detail-pill-row[data-v-a5a04da1]{display:flex;flex-wrap:wrap;gap:6px}.detail-pill[data-v-a5a04da1]{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:var(--bg2);font-size:11px}.detail-pill.hot[data-v-a5a04da1]{border-color:color-mix(in srgb,var(--red) 50%,var(--border));color:var(--red)}.detail-pill.persistent[data-v-a5a04da1]{border-color:color-mix(in srgb,var(--amber) 55%,var(--border));color:color-mix(in srgb,var(--amber) 80%,var(--text))}.detail-pill.hydrated[data-v-a5a04da1]{border-color:color-mix(in srgb,var(--teal) 55%,var(--border));color:color-mix(in srgb,var(--teal) 80%,var(--text))}.detail-pill.muted[data-v-a5a04da1]{color:var(--text3);border-color:var(--border)}.section-label[data-v-a5a04da1]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:8px;margin-bottom:4px}.trigger-item[data-v-a5a04da1]{background:var(--bg2);border-radius:var(--radius);padding:4px 8px;margin-bottom:3px;color:var(--text2)}[data-v-a5a04da1] .tree-jump-btn{display:none;padding:0 4px;border:none;background:transparent;color:var(--text3);font-size:11px;cursor:pointer;line-height:1;flex-shrink:0}[data-v-a5a04da1] .tree-row:hover .tree-jump-btn,[data-v-a5a04da1] .tree-row.selected .tree-jump-btn{display:inline-flex}[data-v-a5a04da1] .tree-jump-btn:hover{color:var(--teal)}.jump-btn[data-v-a5a04da1]{font-size:10px;padding:1px 6px;border:.5px solid var(--border);border-radius:var(--radius);background:transparent;color:var(--text3);cursor:pointer;flex-shrink:0;font-family:var(--mono)}.jump-btn[data-v-a5a04da1]:hover{border-color:var(--teal);color:var(--teal);background:color-mix(in srgb,var(--teal) 8%,transparent)}.route-select[data-v-a5a04da1]{padding:3px 7px;border:.5px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text);font-size:11px;cursor:pointer;max-width:140px}.timeline-list[data-v-a5a04da1]{display:flex;flex-direction:column;gap:1px;background:var(--bg2);border-radius:var(--radius);padding:4px 8px;max-height:200px;overflow-y:auto;min-height:fit-content}.timeline-row[data-v-a5a04da1]{display:flex;align-items:center;gap:6px;padding:2px 0;font-size:11px;border-bottom:.5px solid var(--border);min-width:0;min-height:fit-content}.timeline-row[data-v-a5a04da1]:last-child{border-bottom:none}.timeline-kind[data-v-a5a04da1]{flex-shrink:0;font-size:10px;font-weight:500;min-width:40px}.timeline-kind.mount[data-v-a5a04da1]{color:var(--teal)}.timeline-kind.update[data-v-a5a04da1]{color:var(--amber)}.timeline-time[data-v-a5a04da1]{flex-shrink:0;min-width:52px;color:var(--text3)}.timeline-dur[data-v-a5a04da1]{flex-shrink:0;min-width:38px;color:var(--text2)}.timeline-trigger[data-v-a5a04da1]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--text3);flex:1;min-width:0}.timeline-route[data-v-a5a04da1]{flex-shrink:0;color:var(--text3);font-size:10px}@media(max-width:1180px){.inspector[data-v-a5a04da1]{grid-template-columns:minmax(200px,240px) minmax(0,1fr)}.detail-panel[data-v-a5a04da1]{grid-column:1 / -1;max-height:220px}}.timeline-root[data-v-da869dac]{display:flex;flex-direction:column;height:100%;overflow:hidden}.stats-row[data-v-da869dac]{display:flex;gap:10px;padding:12px 14px 0;flex-shrink:0}.stat-card[data-v-da869dac]{background:var(--bg2);border:.5px solid var(--border);border-radius:var(--radius);padding:8px 14px;min-width:72px;text-align:center}.stat-val[data-v-da869dac]{font-size:20px;font-weight:600;font-family:var(--mono);line-height:1.1}.stat-unit[data-v-da869dac]{font-size:12px;opacity:.6;margin-left:1px}.stat-label[data-v-da869dac]{font-size:10px;color:var(--text3);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}.toolbar[data-v-da869dac]{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-shrink:0;border-bottom:.5px solid var(--border)}.search-input[data-v-da869dac]{flex:1;max-width:260px}.filter-group[data-v-da869dac]{display:flex;gap:4px}.content-area[data-v-da869dac]{display:flex;flex:1;overflow:hidden;min-height:0}.table-pane[data-v-da869dac]{flex:1;overflow:hidden auto;min-width:0}.bar-cell[data-v-da869dac]{width:200px;padding:4px 8px}.bar-track[data-v-da869dac]{position:relative;height:8px;background:var(--bg2);border-radius:4px;overflow:hidden}.bar-fill[data-v-da869dac]{position:absolute;top:0;height:100%;min-width:3px;border-radius:4px;transition:width .15s}.detail-panel[data-v-da869dac]{width:260px;flex-shrink:0;border-left:.5px solid var(--border);overflow-y:auto;background:var(--bg3);padding:0 0 16px}.panel-header[data-v-da869dac]{display:flex;align-items:center;justify-content:space-between;padding:10px 14px 8px;border-bottom:.5px solid var(--border);position:sticky;top:0;background:var(--bg3);z-index:1}.panel-title[data-v-da869dac]{font-family:var(--mono);font-size:13px;font-weight:500}.close-btn[data-v-da869dac]{border:none;background:transparent;color:var(--text3);font-size:11px;padding:2px 6px;cursor:pointer}.panel-section[data-v-da869dac]{padding:10px 14px 6px;border-bottom:.5px solid var(--border)}.panel-section-title[data-v-da869dac]{font-size:10px;font-weight:500;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.panel-row[data-v-da869dac]{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 0;font-size:12px}.panel-key[data-v-da869dac]{color:var(--text3);flex-shrink:0}.panel-val[data-v-da869dac]{color:var(--text);text-align:right;word-break:break-all}.cancel-notice[data-v-da869dac],.active-notice[data-v-da869dac]{margin:10px 14px 0;font-size:11px;line-height:1.6;padding:8px 10px;border-radius:var(--radius)}.cancel-notice[data-v-da869dac]{background:#e24b4a1a;color:var(--red);border:.5px solid rgb(226 75 74 / 30%)}.active-notice[data-v-da869dac]{background:#7f77dd1a;color:var(--purple);border:.5px solid rgb(127 119 221 / 30%)}code[data-v-da869dac]{font-family:var(--mono);font-size:10px;background:#00000026;padding:1px 4px;border-radius:3px}.panel-slide-enter-active[data-v-da869dac],.panel-slide-leave-active[data-v-da869dac]{transition:transform .18s ease,opacity .18s ease}.panel-slide-enter-from[data-v-da869dac],.panel-slide-leave-to[data-v-da869dac]{transform:translate(12px);opacity:0}#app-root[data-v-12fe13bc]{display:flex;flex-direction:column;height:100vh;overflow:hidden}.tabbar[data-v-12fe13bc]{display:flex;align-items:center;gap:2px;padding:8px 12px 0;border-bottom:.5px solid var(--border);background:var(--bg3);flex-shrink:0}.tabbar-brand[data-v-12fe13bc]{font-size:11px;font-weight:500;color:var(--purple);letter-spacing:.5px;margin-right:12px;padding-bottom:8px}.tab-btn[data-v-12fe13bc]{border:none;border-bottom:2px solid transparent;border-radius:0;background:transparent;color:var(--text3);font-size:12px;padding:6px 12px 8px;cursor:pointer;transition:color .12s,border-color .12s;display:flex;align-items:center;gap:5px}.tab-btn[data-v-12fe13bc]:hover{color:var(--text);background:transparent}.tab-btn.active[data-v-12fe13bc]{color:var(--purple);border-bottom-color:var(--purple)}.tab-icon[data-v-12fe13bc]{font-size:10px;opacity:.6}.tab-content[data-v-12fe13bc]{flex:1;overflow:hidden;display:flex;flex-direction:column}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font);background:var(--bg);color:var(--text);font-size:13px;line-height:1.5}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}button{font-family:var(--font);font-size:12px;cursor:pointer;border:.5px solid var(--border);background:transparent;color:var(--text2);padding:4px 10px;border-radius:var(--radius);transition:background .12s}button:hover{background:var(--bg2)}button:active{transform:scale(.98)}button.active{background:#7f77dd26;color:var(--purple);border-color:var(--purple)}button.danger-active{background:#e24b4a1f;color:var(--red);border-color:var(--red)}button.success-active{background:#1d9e751f;color:var(--teal);border-color:var(--teal)}input[type=text],input[type=search]{font-family:var(--font);font-size:12px;border:.5px solid var(--border);background:var(--bg2);color:var(--text);padding:5px 10px;border-radius:var(--radius);outline:none;width:100%}input[type=text]:focus,input[type=search]:focus{border-color:var(--purple);box-shadow:0 0 0 2px #7f77dd33}input[type=range]{accent-color:var(--purple);cursor:pointer}.mono{font-family:var(--mono)}.muted{color:var(--text3)}.text-sm{font-size:11px}.text-xs{font-size:10px}.bold{font-weight:500}.badge{display:inline-block;font-size:10px;font-weight:500;padding:2px 7px;border-radius:99px;white-space:nowrap}.badge-ok{background:#1d9e7526;color:var(--teal)}.badge-err{background:#e24b4a1f;color:var(--red)}.badge-warn{background:#ef9f2726;color:var(--amber)}.badge-info{background:#378add1f;color:var(--blue)}.badge-gray{background:var(--bg2);color:var(--text3);border:.5px solid var(--border)}.badge-purple{background:#7f77dd26;color:var(--purple)}.card{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px 14px}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;font-size:10px;font-weight:500;color:var(--text3);padding:6px 8px;border-bottom:.5px solid var(--border);text-transform:uppercase;letter-spacing:.4px;white-space:nowrap}.data-table td{padding:8px;border-bottom:.5px solid var(--border);color:var(--text);vertical-align:middle}.data-table tr:hover td{background:var(--bg2);cursor:pointer}.data-table tr.selected td{background:#7f77dd14}.stat-card{background:var(--bg2);border-radius:var(--radius);padding:10px 12px}.stat-label{font-size:10px;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:3px}.stat-val{font-size:20px;font-weight:500}.flex{display:flex}.items-center{align-items:center}.gap-2{gap:8px}.gap-3{gap:12px}.flex-1{flex:1}.overflow-auto{overflow:auto}.p-3{padding:12px}.p-4{padding:16px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mt-2{margin-top:8px}
|