nuxt-devtools-observatory 0.1.10 → 0.1.11
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--Igqz_EM.js +17 -0
- package/client/dist/assets/index-BoC4M4Nb.css +1 -0
- package/client/dist/index.html +2 -2
- package/client/src/stores/observatory.ts +11 -1
- package/client/src/views/RenderHeatmap.vue +118 -49
- package/dist/module.json +1 -1
- package/dist/runtime/composables/render-registry.d.ts +3 -0
- package/dist/runtime/composables/render-registry.js +65 -24
- package/dist/runtime/plugin.js +5 -0
- package/package.json +1 -1
- package/client/dist/assets/index-BBp7Dvrp.css +0 -1
- package/client/dist/assets/index-mEAMrJUv.js +0 -17
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=s(i);fetch(i.href,o)}})();/**
|
|
2
|
+
* @vue/shared v3.5.30
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function _n(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ae={},Nt=[],Qe=()=>{},Ti=()=>!1,Ps=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bn=e=>e.startsWith("onUpdate:"),ge=Object.assign,yn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},qo=Object.prototype.hasOwnProperty,te=(e,t)=>qo.call(e,t),B=Array.isArray,jt=e=>fs(e)==="[object Map]",ki=e=>fs(e)==="[object Set]",Hn=e=>fs(e)==="[object Date]",q=e=>typeof e=="function",he=e=>typeof e=="string",et=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",Ei=e=>(ne(e)||q(e))&&q(e.then)&&q(e.catch),Mi=Object.prototype.toString,fs=e=>Mi.call(e),Go=e=>fs(e).slice(8,-1),Ai=e=>fs(e)==="[object Object]",xn=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Xt=_n(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Jo=/-\w/g,Ve=Rs(e=>e.replace(Jo,t=>t.slice(1).toUpperCase())),Yo=/\B([A-Z])/g,Mt=Rs(e=>e.replace(Yo,"-$1").toLowerCase()),Oi=Rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),zs=Rs(e=>e?`on${Oi(e)}`:""),Ze=(e,t)=>!Object.is(e,t),bs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Ii=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xo=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let Vn;const Fs=()=>Vn||(Vn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $e(e){if(B(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=he(n)?tl(n):$e(n);if(i)for(const o in i)t[o]=i[o]}return t}else if(he(e)||ne(e))return e}const Zo=/;(?![^(]*\))/g,Qo=/:([^]+)/,el=/\/\*[^]*?\*\//g;function tl(e){const t={};return e.replace(el,"").split(Zo).forEach(s=>{if(s){const n=s.split(Qo);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Y(e){let t="";if(he(e))t=e;else if(B(e))for(let s=0;s<e.length;s++){const n=Y(e[s]);n&&(t+=n+" ")}else if(ne(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const sl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nl=_n(sl);function Pi(e){return!!e||e===""}function il(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=$n(e[n],t[n]);return s}function $n(e,t){if(e===t)return!0;let s=Hn(e),n=Hn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=et(e),n=et(t),s||n)return e===t;if(s=B(e),n=B(t),s||n)return s&&n?il(e,t):!1;if(s=ne(e),n=ne(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const l in e){const r=e.hasOwnProperty(l),c=t.hasOwnProperty(l);if(r&&!c||!r&&c||!$n(e[l],t[l]))return!1}}return String(e)===String(t)}const Ri=e=>!!(e&&e.__v_isRef===!0),A=e=>he(e)?e:e==null?"":B(e)||ne(e)&&(e.toString===Mi||!q(e.toString))?Ri(e)?A(e.value):JSON.stringify(e,Fi,2):String(e),Fi=(e,t)=>Ri(t)?Fi(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],o)=>(s[qs(n,o)+" =>"]=i,s),{})}:ki(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>qs(s))}:et(t)?qs(t):ne(t)&&!B(t)&&!Ai(t)?String(t):t,qs=(e,t="")=>{var s;return et(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 Re;class ol{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=Re,!t&&Re&&(this.index=(Re.scopes||(Re.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=Re;try{return Re=this,t()}finally{Re=s}}}on(){++this._on===1&&(this.prevScope=Re,Re=this)}off(){this._on>0&&--this._on===0&&(Re=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 i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function ll(){return Re}let ue;const Gs=new WeakSet;class Li{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,Re&&Re.active&&Re.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Gs.has(this)&&(Gs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ji(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Un(this),Di(this);const t=ue,s=Ue;ue=this,Ue=!0;try{return this.fn()}finally{Hi(this),ue=t,Ue=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Tn(t);this.deps=this.depsTail=void 0,Un(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Gs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){on(this)&&this.run()}get dirty(){return on(this)}}let Ni=0,Zt,Qt;function ji(e,t=!1){if(e.flags|=8,t){e.next=Qt,Qt=e;return}e.next=Zt,Zt=e}function Cn(){Ni++}function Sn(){if(--Ni>0)return;if(Qt){let t=Qt;for(Qt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Zt;){let t=Zt;for(Zt=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 Di(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Hi(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Tn(n),rl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function on(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Vi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Vi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===is)||(e.globalVersion=is,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!on(e))))return;e.flags|=2;const t=e.dep,s=ue,n=Ue;ue=e,Ue=!0;try{Di(e);const i=e.fn(e._value);(t.version===0||Ze(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ue=s,Ue=n,Hi(e),e.flags&=-3}}function Tn(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)Tn(o,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function rl(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ue=!0;const Ui=[];function rt(){Ui.push(Ue),Ue=!1}function at(){const e=Ui.pop();Ue=e===void 0?!0:e}function Un(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=ue;ue=void 0;try{t()}finally{ue=s}}}let is=0;class al{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 kn{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(!ue||!Ue||ue===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==ue)s=this.activeLink=new al(ue,this),ue.deps?(s.prevDep=ue.depsTail,ue.depsTail.nextDep=s,ue.depsTail=s):ue.deps=ue.depsTail=s,Bi(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=ue.depsTail,s.nextDep=void 0,ue.depsTail.nextDep=s,ue.depsTail=s,ue.deps===s&&(ue.deps=n)}return s}trigger(t){this.version++,is++,this.notify(t)}notify(t){Cn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Sn()}}}function Bi(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)Bi(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ln=new WeakMap,Tt=Symbol(""),rn=Symbol(""),os=Symbol("");function we(e,t,s){if(Ue&&ue){let n=ln.get(e);n||ln.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new kn),i.map=n,i.key=s),i.track()}}function ot(e,t,s,n,i,o){const l=ln.get(e);if(!l){is++;return}const r=c=>{c&&c.trigger()};if(Cn(),t==="clear")l.forEach(r);else{const c=B(e),m=c&&xn(s);if(c&&s==="length"){const u=Number(n);l.forEach((v,y)=>{(y==="length"||y===os||!et(y)&&y>=u)&&r(v)})}else switch((s!==void 0||l.has(void 0))&&r(l.get(s)),m&&r(l.get(os)),t){case"add":c?m&&r(l.get("length")):(r(l.get(Tt)),jt(e)&&r(l.get(rn)));break;case"delete":c||(r(l.get(Tt)),jt(e)&&r(l.get(rn)));break;case"set":jt(e)&&r(l.get(Tt));break}}Sn()}function Ot(e){const t=ee(e);return t===e?t:(we(t,"iterate",os),He(e)?t:t.map(Be))}function Ls(e){return we(e=ee(e),"iterate",os),e}function Ye(e,t){return ct(e)?Vt(kt(e)?Be(t):t):Be(t)}const cl={__proto__:null,[Symbol.iterator](){return Js(this,Symbol.iterator,e=>Ye(this,e))},concat(...e){return Ot(this).concat(...e.map(t=>B(t)?Ot(t):t))},entries(){return Js(this,"entries",e=>(e[1]=Ye(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,s=>s.map(n=>Ye(this,n)),arguments)},find(e,t){return tt(this,"find",e,t,s=>Ye(this,s),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,s=>Ye(this,s),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ys(this,"includes",e)},indexOf(...e){return Ys(this,"indexOf",e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return Ys(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return zt(this,"pop")},push(...e){return zt(this,"push",e)},reduce(e,...t){return Bn(this,"reduce",e,t)},reduceRight(e,...t){return Bn(this,"reduceRight",e,t)},shift(){return zt(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return zt(this,"splice",e)},toReversed(){return Ot(this).toReversed()},toSorted(e){return Ot(this).toSorted(e)},toSpliced(...e){return Ot(this).toSpliced(...e)},unshift(...e){return zt(this,"unshift",e)},values(){return Js(this,"values",e=>Ye(this,e))}};function Js(e,t,s){const n=Ls(e),i=n[t]();return n!==e&&!He(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.done||(o.value=s(o.value)),o}),i}const ul=Array.prototype;function tt(e,t,s,n,i,o){const l=Ls(e),r=l!==e&&!He(e),c=l[t];if(c!==ul[t]){const v=c.apply(e,o);return r?Be(v):v}let m=s;l!==e&&(r?m=function(v,y){return s.call(this,Ye(e,v),y,e)}:s.length>2&&(m=function(v,y){return s.call(this,v,y,e)}));const u=c.call(l,m,n);return r&&i?i(u):u}function Bn(e,t,s,n){const i=Ls(e),o=i!==e&&!He(e);let l=s,r=!1;i!==e&&(o?(r=n.length===0,l=function(m,u,v){return r&&(r=!1,m=Ye(e,m)),s.call(this,m,Ye(e,u),v,e)}):s.length>3&&(l=function(m,u,v){return s.call(this,m,u,v,e)}));const c=i[t](l,...n);return r?Ye(e,c):c}function Ys(e,t,s){const n=ee(e);we(n,"iterate",os);const i=n[t](...s);return(i===-1||i===!1)&&On(s[0])?(s[0]=ee(s[0]),n[t](...s)):i}function zt(e,t,s=[]){rt(),Cn();const n=ee(e)[t].apply(e,s);return Sn(),at(),n}const fl=_n("__proto__,__v_isRef,__isVue"),Ki=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(et));function dl(e){et(e)||(e=String(e));const t=ee(this);return we(t,"has",e),t.hasOwnProperty(e)}class Wi{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?wl:Ji:o?Gi:qi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=B(t);if(!i){let c;if(l&&(c=cl[s]))return c;if(s==="hasOwnProperty")return dl}const r=Reflect.get(t,s,Se(t)?t:n);if((et(s)?Ki.has(s):fl(s))||(i||we(t,"get",s),o))return r;if(Se(r)){const c=l&&xn(s)?r:r.value;return i&&ne(c)?cn(c):c}return ne(r)?i?cn(r):Mn(r):r}}class zi extends Wi{constructor(t=!1){super(!1,t)}set(t,s,n,i){let o=t[s];const l=B(t)&&xn(s);if(!this._isShallow){const m=ct(o);if(!He(n)&&!ct(n)&&(o=ee(o),n=ee(n)),!l&&Se(o)&&!Se(n))return m||(o.value=n),!0}const r=l?Number(s)<t.length:te(t,s),c=Reflect.set(t,s,n,Se(t)?t:i);return t===ee(i)&&(r?Ze(n,o)&&ot(t,"set",s,n):ot(t,"add",s,n)),c}deleteProperty(t,s){const n=te(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&ot(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!et(s)||!Ki.has(s))&&we(t,"has",s),n}ownKeys(t){return we(t,"iterate",B(t)?"length":Tt),Reflect.ownKeys(t)}}class pl extends Wi{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const hl=new zi,vl=new pl,ml=new zi(!0);const an=e=>e,ms=e=>Reflect.getPrototypeOf(e);function gl(e,t,s){return function(...n){const i=this.__v_raw,o=ee(i),l=jt(o),r=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,m=i[e](...n),u=s?an:t?Vt:Be;return!t&&we(o,"iterate",c?rn:Tt),ge(Object.create(m),{next(){const{value:v,done:y}=m.next();return y?{value:v,done:y}:{value:r?[u(v[0]),u(v[1])]:u(v),done:y}}})}}function gs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _l(e,t){const s={get(i){const o=this.__v_raw,l=ee(o),r=ee(i);e||(Ze(i,r)&&we(l,"get",i),we(l,"get",r));const{has:c}=ms(l),m=t?an:e?Vt:Be;if(c.call(l,i))return m(o.get(i));if(c.call(l,r))return m(o.get(r));o!==l&&o.get(i)},get size(){const i=this.__v_raw;return!e&&we(ee(i),"iterate",Tt),i.size},has(i){const o=this.__v_raw,l=ee(o),r=ee(i);return e||(Ze(i,r)&&we(l,"has",i),we(l,"has",r)),i===r?o.has(i):o.has(i)||o.has(r)},forEach(i,o){const l=this,r=l.__v_raw,c=ee(r),m=t?an:e?Vt:Be;return!e&&we(c,"iterate",Tt),r.forEach((u,v)=>i.call(o,m(u),m(v),l))}};return ge(s,e?{add:gs("add"),set:gs("set"),delete:gs("delete"),clear:gs("clear")}:{add(i){const o=ee(this),l=ms(o),r=ee(i),c=!t&&!He(i)&&!ct(i)?r:i;return l.has.call(o,c)||Ze(i,c)&&l.has.call(o,i)||Ze(r,c)&&l.has.call(o,r)||(o.add(c),ot(o,"add",c,c)),this},set(i,o){!t&&!He(o)&&!ct(o)&&(o=ee(o));const l=ee(this),{has:r,get:c}=ms(l);let m=r.call(l,i);m||(i=ee(i),m=r.call(l,i));const u=c.call(l,i);return l.set(i,o),m?Ze(o,u)&&ot(l,"set",i,o):ot(l,"add",i,o),this},delete(i){const o=ee(this),{has:l,get:r}=ms(o);let c=l.call(o,i);c||(i=ee(i),c=l.call(o,i)),r&&r.call(o,i);const m=o.delete(i);return c&&ot(o,"delete",i,void 0),m},clear(){const i=ee(this),o=i.size!==0,l=i.clear();return o&&ot(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=gl(i,e,t)}),s}function En(e,t){const s=_l(e,t);return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(te(s,i)&&i in n?s:n,i,o)}const bl={get:En(!1,!1)},yl={get:En(!1,!0)},xl={get:En(!0,!1)};const qi=new WeakMap,Gi=new WeakMap,Ji=new WeakMap,wl=new WeakMap;function $l(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:$l(Go(e))}function Mn(e){return ct(e)?e:An(e,!1,hl,bl,qi)}function Sl(e){return An(e,!1,ml,yl,Gi)}function cn(e){return An(e,!0,vl,xl,Ji)}function An(e,t,s,n,i){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Cl(e);if(o===0)return e;const l=i.get(e);if(l)return l;const r=new Proxy(e,o===2?n:s);return i.set(e,r),r}function kt(e){return ct(e)?kt(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function On(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function Tl(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&Ii(e,"__v_skip",!0),e}const Be=e=>ne(e)?Mn(e):e,Vt=e=>ne(e)?cn(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function se(e){return kl(e,!1)}function kl(e,t){return Se(e)?e:new El(e,t)}class El{constructor(t,s){this.dep=new kn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:ee(t),this._value=s?t:Be(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||He(t)||ct(t);t=n?t:ee(t),Ze(t,s)&&(this._rawValue=t,this._value=n?t:Be(t),this.dep.trigger())}}function vt(e){return Se(e)?e.value:e}const Ml={get:(e,t,s)=>t==="__v_raw"?e:vt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return Se(i)&&!Se(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Yi(e){return kt(e)?e:new Proxy(e,Ml)}class Al{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new kn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=is-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return ji(this,!0),!0}get value(){const t=this.dep.track();return Vi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ol(e,t,s=!1){let n,i;return q(e)?n=e:(n=e.get,i=e.set),new Al(n,i,s)}const _s={},Cs=new WeakMap;let $t;function Il(e,t=!1,s=$t){if(s){let n=Cs.get(s);n||Cs.set(s,n=[]),n.push(e)}}function Pl(e,t,s=ae){const{immediate:n,deep:i,once:o,scheduler:l,augmentJob:r,call:c}=s,m=k=>i?k:He(k)||i===!1||i===0?lt(k,1):lt(k);let u,v,y,_,w=!1,x=!1;if(Se(e)?(v=()=>e.value,w=He(e)):kt(e)?(v=()=>m(e),w=!0):B(e)?(x=!0,w=e.some(k=>kt(k)||He(k)),v=()=>e.map(k=>{if(Se(k))return k.value;if(kt(k))return m(k);if(q(k))return c?c(k,2):k()})):q(e)?t?v=c?()=>c(e,2):e:v=()=>{if(y){rt();try{y()}finally{at()}}const k=$t;$t=u;try{return c?c(e,3,[_]):e(_)}finally{$t=k}}:v=Qe,t&&i){const k=v,I=i===!0?1/0:i;v=()=>lt(k(),I)}const H=ll(),V=()=>{u.stop(),H&&H.active&&yn(H.effects,u)};if(o&&t){const k=t;t=(...I)=>{k(...I),V()}}let K=x?new Array(e.length).fill(_s):_s;const P=k=>{if(!(!(u.flags&1)||!u.dirty&&!k))if(t){const I=u.run();if(i||w||(x?I.some((X,ve)=>Ze(X,K[ve])):Ze(I,K))){y&&y();const X=$t;$t=u;try{const ve=[I,K===_s?void 0:x&&K[0]===_s?[]:K,_];K=I,c?c(t,3,ve):t(...ve)}finally{$t=X}}}else u.run()};return r&&r(P),u=new Li(v),u.scheduler=l?()=>l(P,!1):P,_=k=>Il(k,!1,u),y=u.onStop=()=>{const k=Cs.get(u);if(k){if(c)c(k,4);else for(const I of k)I();Cs.delete(u)}},t?n?P(!0):K=u.run():l?l(P.bind(null,!0),!0):u.run(),V.pause=u.pause.bind(u),V.resume=u.resume.bind(u),V.stop=V,V}function lt(e,t=1/0,s){if(t<=0||!ne(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,Se(e))lt(e.value,t,s);else if(B(e))for(let n=0;n<e.length;n++)lt(e[n],t,s);else if(ki(e)||jt(e))e.forEach(n=>{lt(n,t,s)});else if(Ai(e)){for(const n in e)lt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&<(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 ds(e,t,s,n){try{return n?e(...n):e()}catch(i){Ns(i,t,s)}}function Ke(e,t,s,n){if(q(e)){const i=ds(e,t,s,n);return i&&Ei(i)&&i.catch(o=>{Ns(o,t,s)}),i}if(B(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Ke(e[o],t,s,n));return i}}function Ns(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||ae;if(t){let r=t.parent;const c=t.proxy,m=`https://vuejs.org/error-reference/#runtime-${s}`;for(;r;){const u=r.ec;if(u){for(let v=0;v<u.length;v++)if(u[v](e,c,m)===!1)return}r=r.parent}if(o){rt(),ds(o,null,10,[e,c,m]),at();return}}Rl(e,s,i,n,l)}function Rl(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const ke=[];let Ge=-1;const Dt=[];let dt=null,Ft=0;const Xi=Promise.resolve();let Ss=null;function Fl(e){const t=Ss||Xi;return e?t.then(this?e.bind(this):e):t}function Ll(e){let t=Ge+1,s=ke.length;for(;t<s;){const n=t+s>>>1,i=ke[n],o=ls(i);o<e||o===e&&i.flags&2?t=n+1:s=n}return t}function In(e){if(!(e.flags&1)){const t=ls(e),s=ke[ke.length-1];!s||!(e.flags&2)&&t>=ls(s)?ke.push(e):ke.splice(Ll(t),0,e),e.flags|=1,Zi()}}function Zi(){Ss||(Ss=Xi.then(eo))}function Nl(e){B(e)?Dt.push(...e):dt&&e.id===-1?dt.splice(Ft+1,0,e):e.flags&1||(Dt.push(e),e.flags|=1),Zi()}function Kn(e,t,s=Ge+1){for(;s<ke.length;s++){const n=ke[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ke.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Qi(e){if(Dt.length){const t=[...new Set(Dt)].sort((s,n)=>ls(s)-ls(n));if(Dt.length=0,dt){dt.push(...t);return}for(dt=t,Ft=0;Ft<dt.length;Ft++){const s=dt[Ft];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}dt=null,Ft=0}}const ls=e=>e.id==null?e.flags&2?-1:1/0:e.id;function eo(e){try{for(Ge=0;Ge<ke.length;Ge++){const t=ke[Ge];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ds(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ge<ke.length;Ge++){const t=ke[Ge];t&&(t.flags&=-2)}Ge=-1,ke.length=0,Qi(),Ss=null,(ke.length||Dt.length)&&eo()}}let De=null,to=null;function Ts(e){const t=De;return De=e,to=e&&e.type.__scopeId||null,t}function so(e,t=De,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Ms(-1);const o=Ts(t);let l;try{l=e(...i)}finally{Ts(o),n._d&&Ms(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function js(e,t){if(De===null)return e;const s=Bs(De),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,l,r,c=ae]=t[i];o&&(q(o)&&(o={mounted:o,updated:o}),o.deep&<(l),n.push({dir:o,instance:s,value:l,oldValue:void 0,arg:r,modifiers:c}))}return e}function bt(e,t,s,n){const i=e.dirs,o=t&&t.dirs;for(let l=0;l<i.length;l++){const r=i[l];o&&(r.oldValue=o[l].value);let c=r.dir[n];c&&(rt(),Ke(c,s,8,[e.el,r,e,t]),at())}}function jl(e,t){if(Me){let s=Me.provides;const n=Me.parent&&Me.parent.provides;n===s&&(s=Me.provides=Object.create(n)),s[e]=t}}function ys(e,t,s=!1){const n=Lo();if(n||Ht){let i=Ht?Ht._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&q(t)?t.call(n&&n.proxy):t}}const Dl=Symbol.for("v-scx"),Hl=()=>ys(Dl);function ht(e,t,s){return no(e,t,s)}function no(e,t,s=ae){const{immediate:n,deep:i,flush:o,once:l}=s,r=ge({},s),c=t&&n||!t&&o!=="post";let m;if(cs){if(o==="sync"){const _=Hl();m=_.__watcherHandles||(_.__watcherHandles=[])}else if(!c){const _=()=>{};return _.stop=Qe,_.resume=Qe,_.pause=Qe,_}}const u=Me;r.call=(_,w,x)=>Ke(_,u,w,x);let v=!1;o==="post"?r.scheduler=_=>{Pe(_,u&&u.suspense)}:o!=="sync"&&(v=!0,r.scheduler=(_,w)=>{w?_():In(_)}),r.augmentJob=_=>{t&&(_.flags|=4),v&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const y=Pl(e,t,r);return cs&&(m?m.push(y):c&&y()),y}function Vl(e,t,s){const n=this.proxy,i=he(e)?e.includes(".")?io(n,e):()=>n[e]:e.bind(n,n);let o;q(t)?o=t:(o=t.handler,s=t);const l=ps(this),r=no(i,o.bind(n),s);return l(),r}function io(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const Ul=Symbol("_vte"),oo=e=>e.__isTeleport,Je=Symbol("_leaveCb"),qt=Symbol("_enterCb");function Bl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ho(()=>{e.isMounted=!0}),vo(()=>{e.isUnmounting=!0}),e}const je=[Function,Array],lo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},ro=e=>{const t=e.subTree;return t.component?ro(t.component):t},Kl={name:"BaseTransition",props:lo,setup(e,{slots:t}){const s=Lo(),n=Bl();return()=>{const i=t.default&&uo(t.default(),!0);if(!i||!i.length)return;const o=ao(i),l=ee(e),{mode:r}=l;if(n.isLeaving)return Xs(o);const c=Wn(o);if(!c)return Xs(o);let m=un(c,l,n,s,v=>m=v);c.type!==Ee&&rs(c,m);let u=s.subTree&&Wn(s.subTree);if(u&&u.type!==Ee&&!St(u,c)&&ro(s).type!==Ee){let v=un(u,l,n,s);if(rs(u,v),r==="out-in"&&c.type!==Ee)return n.isLeaving=!0,v.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete v.afterLeave,u=void 0},Xs(o);r==="in-out"&&c.type!==Ee?v.delayLeave=(y,_,w)=>{const x=co(n,u);x[String(u.key)]=u,y[Je]=()=>{_(),y[Je]=void 0,delete m.delayedLeave,u=void 0},m.delayedLeave=()=>{w(),delete m.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function ao(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==Ee){t=s;break}}return t}const Wl=Kl;function co(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 un(e,t,s,n,i){const{appear:o,mode:l,persisted:r=!1,onBeforeEnter:c,onEnter:m,onAfterEnter:u,onEnterCancelled:v,onBeforeLeave:y,onLeave:_,onAfterLeave:w,onLeaveCancelled:x,onBeforeAppear:H,onAppear:V,onAfterAppear:K,onAppearCancelled:P}=t,k=String(e.key),I=co(s,e),X=(M,S)=>{M&&Ke(M,n,9,S)},ve=(M,S)=>{const U=S[1];X(M,S),B(M)?M.every(T=>T.length<=1)&&U():M.length<=1&&U()},R={mode:l,persisted:r,beforeEnter(M){let S=c;if(!s.isMounted)if(o)S=H||c;else return;M[Je]&&M[Je](!0);const U=I[k];U&&St(e,U)&&U.el[Je]&&U.el[Je](),X(S,[M])},enter(M){if(I[k]===e)return;let S=m,U=u,T=v;if(!s.isMounted)if(o)S=V||m,U=K||u,T=P||v;else return;let z=!1;M[qt]=me=>{z||(z=!0,me?X(T,[M]):X(U,[M]),R.delayedLeave&&R.delayedLeave(),M[qt]=void 0)};const ie=M[qt].bind(null,!1);S?ve(S,[M,ie]):ie()},leave(M,S){const U=String(e.key);if(M[qt]&&M[qt](!0),s.isUnmounting)return S();X(y,[M]);let T=!1;M[Je]=ie=>{T||(T=!0,S(),ie?X(x,[M]):X(w,[M]),M[Je]=void 0,I[U]===e&&delete I[U])};const z=M[Je].bind(null,!1);I[U]=e,_?ve(_,[M,z]):z()},clone(M){const S=un(M,t,s,n,i);return i&&i(S),S}};return R}function Xs(e){if(Ds(e))return e=mt(e),e.children=null,e}function Wn(e){if(!Ds(e))return oo(e.type)&&e.children?ao(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&&q(s.default))return s.default()}}function rs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rs(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 uo(e,t=!1,s){let n=[],i=0;for(let o=0;o<e.length;o++){let l=e[o];const r=s==null?l.key:String(s)+String(l.key!=null?l.key:o);l.type===le?(l.patchFlag&128&&i++,n=n.concat(uo(l.children,t,r))):(t||l.type!==Ee)&&n.push(r!=null?mt(l,{key:r}):l)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}function Et(e,t){return q(e)?ge({name:e.name},t,{setup:e}):e}function fo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function zn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ks=new WeakMap;function es(e,t,s,n,i=!1){if(B(e)){e.forEach((x,H)=>es(x,t&&(B(t)?t[H]:t),s,n,i));return}if(ts(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&es(e,t,s,n.component.subTree);return}const o=n.shapeFlag&4?Bs(n.component):n.el,l=i?null:o,{i:r,r:c}=e,m=t&&t.r,u=r.refs===ae?r.refs={}:r.refs,v=r.setupState,y=ee(v),_=v===ae?Ti:x=>zn(u,x)?!1:te(y,x),w=(x,H)=>!(H&&zn(u,H));if(m!=null&&m!==c){if(qn(t),he(m))u[m]=null,_(m)&&(v[m]=null);else if(Se(m)){const x=t;w(m,x.k)&&(m.value=null),x.k&&(u[x.k]=null)}}if(q(c))ds(c,r,12,[l,u]);else{const x=he(c),H=Se(c);if(x||H){const V=()=>{if(e.f){const K=x?_(c)?v[c]:u[c]:w()||!e.k?c.value:u[e.k];if(i)B(K)&&yn(K,o);else if(B(K))K.includes(o)||K.push(o);else if(x)u[c]=[o],_(c)&&(v[c]=u[c]);else{const P=[o];w(c,e.k)&&(c.value=P),e.k&&(u[e.k]=P)}}else x?(u[c]=l,_(c)&&(v[c]=l)):H&&(w(c,e.k)&&(c.value=l),e.k&&(u[e.k]=l))};if(l){const K=()=>{V(),ks.delete(e)};K.id=-1,ks.set(e,K),Pe(K,s)}else qn(e),V()}}}function qn(e){const t=ks.get(e);t&&(t.flags|=8,ks.delete(e))}Fs().requestIdleCallback;Fs().cancelIdleCallback;const ts=e=>!!e.type.__asyncLoader,Ds=e=>e.type.__isKeepAlive;function zl(e,t){po(e,"a",t)}function ql(e,t){po(e,"da",t)}function po(e,t,s=Me){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Hs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Ds(i.parent.vnode)&&Gl(n,t,s,i),i=i.parent}}function Gl(e,t,s,n){const i=Hs(t,e,n,!0);mo(()=>{yn(n[t],i)},s)}function Hs(e,t,s=Me,n=!1){if(s){const i=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...l)=>{rt();const r=ps(s),c=Ke(t,s,e,l);return r(),at(),c});return n?i.unshift(o):i.push(o),o}}const ut=e=>(t,s=Me)=>{(!cs||e==="sp")&&Hs(e,(...n)=>t(...n),s)},Jl=ut("bm"),ho=ut("m"),Yl=ut("bu"),Xl=ut("u"),vo=ut("bum"),mo=ut("um"),Zl=ut("sp"),Ql=ut("rtg"),er=ut("rtc");function tr(e,t=Me){Hs("ec",e,t)}const sr=Symbol.for("v-ndc");function Ce(e,t,s,n){let i;const o=s,l=B(e);if(l||he(e)){const r=l&&kt(e);let c=!1,m=!1;r&&(c=!He(e),m=ct(e),e=Ls(e)),i=new Array(e.length);for(let u=0,v=e.length;u<v;u++)i[u]=t(c?m?Vt(Be(e[u])):Be(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){i=new Array(e);for(let r=0;r<e;r++)i[r]=t(r+1,r,void 0,o)}else if(ne(e))if(e[Symbol.iterator])i=Array.from(e,(r,c)=>t(r,c,void 0,o));else{const r=Object.keys(e);i=new Array(r.length);for(let c=0,m=r.length;c<m;c++){const u=r[c];i[c]=t(e[u],u,c,o)}}else i=[];return i}const fn=e=>e?No(e)?Bs(e):fn(e.parent):null,ss=ge(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=>fn(e.parent),$root:e=>fn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_o(e),$forceUpdate:e=>e.f||(e.f=()=>{In(e.update)}),$nextTick:e=>e.n||(e.n=Fl.bind(e.proxy)),$watch:e=>Vl.bind(e)}),Zs=(e,t)=>e!==ae&&!e.__isScriptSetup&&te(e,t),nr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:l,type:r,appContext:c}=e;if(t[0]!=="$"){const y=l[t];if(y!==void 0)switch(y){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return o[t]}else{if(Zs(n,t))return l[t]=1,n[t];if(i!==ae&&te(i,t))return l[t]=2,i[t];if(te(o,t))return l[t]=3,o[t];if(s!==ae&&te(s,t))return l[t]=4,s[t];dn&&(l[t]=0)}}const m=ss[t];let u,v;if(m)return t==="$attrs"&&we(e.attrs,"get",""),m(e);if((u=r.__cssModules)&&(u=u[t]))return u;if(s!==ae&&te(s,t))return l[t]=4,s[t];if(v=c.config.globalProperties,te(v,t))return v[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:o}=e;return Zs(i,t)?(i[t]=s,!0):n!==ae&&te(n,t)?(n[t]=s,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:o,type:l}},r){let c;return!!(s[r]||e!==ae&&r[0]!=="$"&&te(e,r)||Zs(t,r)||te(o,r)||te(n,r)||te(ss,r)||te(i.config.globalProperties,r)||(c=l.__cssModules)&&c[r])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:te(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Gn(e){return B(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let dn=!0;function ir(e){const t=_o(e),s=e.proxy,n=e.ctx;dn=!1,t.beforeCreate&&Jn(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:l,watch:r,provide:c,inject:m,created:u,beforeMount:v,mounted:y,beforeUpdate:_,updated:w,activated:x,deactivated:H,beforeDestroy:V,beforeUnmount:K,destroyed:P,unmounted:k,render:I,renderTracked:X,renderTriggered:ve,errorCaptured:R,serverPrefetch:M,expose:S,inheritAttrs:U,components:T,directives:z,filters:ie}=t;if(m&&or(m,n,null),l)for(const re in l){const J=l[re];q(J)&&(n[re]=J.bind(s))}if(i){const re=i.call(s,s);ne(re)&&(e.data=Mn(re))}if(dn=!0,o)for(const re in o){const J=o[re],xe=q(J)?J.bind(s,s):q(J.get)?J.get.bind(s,s):Qe,_e=!q(J)&&q(J.set)?J.set.bind(s):Qe,We=Z({get:xe,set:_e});Object.defineProperty(n,re,{enumerable:!0,configurable:!0,get:()=>We.value,set:Fe=>We.value=Fe})}if(r)for(const re in r)go(r[re],n,s,re);if(c){const re=q(c)?c.call(s):c;Reflect.ownKeys(re).forEach(J=>{jl(J,re[J])})}u&&Jn(u,e,"c");function ce(re,J){B(J)?J.forEach(xe=>re(xe.bind(s))):J&&re(J.bind(s))}if(ce(Jl,v),ce(ho,y),ce(Yl,_),ce(Xl,w),ce(zl,x),ce(ql,H),ce(tr,R),ce(er,X),ce(Ql,ve),ce(vo,K),ce(mo,k),ce(Zl,M),B(S))if(S.length){const re=e.exposed||(e.exposed={});S.forEach(J=>{Object.defineProperty(re,J,{get:()=>s[J],set:xe=>s[J]=xe,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Qe&&(e.render=I),U!=null&&(e.inheritAttrs=U),T&&(e.components=T),z&&(e.directives=z),M&&fo(e)}function or(e,t,s=Qe){B(e)&&(e=pn(e));for(const n in e){const i=e[n];let o;ne(i)?"default"in i?o=ys(i.from||n,i.default,!0):o=ys(i.from||n):o=ys(i),Se(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:l=>o.value=l}):t[n]=o}}function Jn(e,t,s){Ke(B(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function go(e,t,s,n){let i=n.includes(".")?io(s,n):()=>s[n];if(he(e)){const o=t[e];q(o)&&ht(i,o)}else if(q(e))ht(i,e.bind(s));else if(ne(e))if(B(e))e.forEach(o=>go(o,t,s,n));else{const o=q(e.handler)?e.handler.bind(s):t[e.handler];q(o)&&ht(i,o,e)}}function _o(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,r=o.get(t);let c;return r?c=r:!i.length&&!s&&!n?c=t:(c={},i.length&&i.forEach(m=>Es(c,m,l,!0)),Es(c,t,l)),ne(t)&&o.set(t,c),c}function Es(e,t,s,n=!1){const{mixins:i,extends:o}=t;o&&Es(e,o,s,!0),i&&i.forEach(l=>Es(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const r=lr[l]||s&&s[l];e[l]=r?r(e[l],t[l]):t[l]}return e}const lr={data:Yn,props:Xn,emits:Xn,methods:Yt,computed:Yt,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:Yt,directives:Yt,watch:ar,provide:Yn,inject:rr};function Yn(e,t){return t?e?function(){return ge(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function rr(e,t){return Yt(pn(e),pn(t))}function pn(e){if(B(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Te(e,t){return e?[...new Set([].concat(e,t))]:t}function Yt(e,t){return e?ge(Object.create(null),e,t):t}function Xn(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ge(Object.create(null),Gn(e),Gn(t??{})):t}function ar(e,t){if(!e)return t;if(!t)return e;const s=ge(Object.create(null),e);for(const n in t)s[n]=Te(e[n],t[n]);return s}function bo(){return{app:null,config:{isNativeTag:Ti,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 ur(e,t){return function(n,i=null){q(n)||(n=ge({},n)),i!=null&&!ne(i)&&(i=null);const o=bo(),l=new WeakSet,r=[];let c=!1;const m=o.app={_uid:cr++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:Ur,get config(){return o.config},set config(u){},use(u,...v){return l.has(u)||(u&&q(u.install)?(l.add(u),u.install(m,...v)):q(u)&&(l.add(u),u(m,...v))),m},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),m},component(u,v){return v?(o.components[u]=v,m):o.components[u]},directive(u,v){return v?(o.directives[u]=v,m):o.directives[u]},mount(u,v,y){if(!c){const _=m._ceVNode||Ae(n,i);return _.appContext=o,y===!0?y="svg":y===!1&&(y=void 0),e(_,u,y),c=!0,m._container=u,u.__vue_app__=m,Bs(_.component)}},onUnmount(u){r.push(u)},unmount(){c&&(Ke(r,m._instance,16),e(null,m._container),delete m._container.__vue_app__)},provide(u,v){return o.provides[u]=v,m},runWithContext(u){const v=Ht;Ht=m;try{return u()}finally{Ht=v}}};return m}}let Ht=null;const fr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ve(t)}Modifiers`]||e[`${Mt(t)}Modifiers`];function dr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ae;let i=s;const o=t.startsWith("update:"),l=o&&fr(n,t.slice(7));l&&(l.trim&&(i=s.map(u=>he(u)?u.trim():u)),l.number&&(i=s.map(wn)));let r,c=n[r=zs(t)]||n[r=zs(Ve(t))];!c&&o&&(c=n[r=zs(Mt(t))]),c&&Ke(c,e,6,i);const m=n[r+"Once"];if(m){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Ke(m,e,6,i)}}const pr=new WeakMap;function yo(e,t,s=!1){const n=s?pr:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let l={},r=!1;if(!q(e)){const c=m=>{const u=yo(m,t,!0);u&&(r=!0,ge(l,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!r?(ne(e)&&n.set(e,null),null):(B(o)?o.forEach(c=>l[c]=null):ge(l,o),ne(e)&&n.set(e,l),l)}function Vs(e,t){return!e||!Ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Mt(t))||te(e,t))}function Zn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:l,attrs:r,emit:c,render:m,renderCache:u,props:v,data:y,setupState:_,ctx:w,inheritAttrs:x}=e,H=Ts(e);let V,K;try{if(s.shapeFlag&4){const k=i||n,I=k;V=Xe(m.call(I,k,u,v,_,y,w)),K=r}else{const k=t;V=Xe(k.length>1?k(v,{attrs:r,slots:l,emit:c}):k(v,null)),K=t.props?r:hr(r)}}catch(k){ns.length=0,Ns(k,e,1),V=Ae(Ee)}let P=V;if(K&&x!==!1){const k=Object.keys(K),{shapeFlag:I}=P;k.length&&I&7&&(o&&k.some(bn)&&(K=vr(K,o)),P=mt(P,K,!1,!0))}return s.dirs&&(P=mt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&rs(P,s.transition),V=P,Ts(H),V}const hr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ps(s))&&((t||(t={}))[s]=e[s]);return t},vr=(e,t)=>{const s={};for(const n in e)(!bn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function mr(e,t,s){const{props:n,children:i,component:o}=e,{props:l,children:r,patchFlag:c}=t,m=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Qn(n,l,m):!!l;if(c&8){const u=t.dynamicProps;for(let v=0;v<u.length;v++){const y=u[v];if(xo(l,n,y)&&!Vs(m,y))return!0}}}else return(i||r)&&(!r||!r.$stable)?!0:n===l?!1:n?l?Qn(n,l,m):!0:!!l;return!1}function Qn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(xo(t,e,o)&&!Vs(s,o))return!0}return!1}function xo(e,t,s){const n=e[s],i=t[s];return s==="style"&&ne(n)&&ne(i)?!$n(n,i):n!==i}function gr({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 wo={},$o=()=>Object.create(wo),Co=e=>Object.getPrototypeOf(e)===wo;function _r(e,t,s,n=!1){const i={},o=$o();e.propsDefaults=Object.create(null),So(e,t,i,o);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:Sl(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function br(e,t,s,n){const{props:i,attrs:o,vnode:{patchFlag:l}}=e,r=ee(i),[c]=e.propsOptions;let m=!1;if((n||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let v=0;v<u.length;v++){let y=u[v];if(Vs(e.emitsOptions,y))continue;const _=t[y];if(c)if(te(o,y))_!==o[y]&&(o[y]=_,m=!0);else{const w=Ve(y);i[w]=hn(c,r,w,_,e,!1)}else _!==o[y]&&(o[y]=_,m=!0)}}}else{So(e,t,i,o)&&(m=!0);let u;for(const v in r)(!t||!te(t,v)&&((u=Mt(v))===v||!te(t,u)))&&(c?s&&(s[v]!==void 0||s[u]!==void 0)&&(i[v]=hn(c,r,v,void 0,e,!0)):delete i[v]);if(o!==r)for(const v in o)(!t||!te(t,v))&&(delete o[v],m=!0)}m&&ot(e.attrs,"set","")}function So(e,t,s,n){const[i,o]=e.propsOptions;let l=!1,r;if(t)for(let c in t){if(Xt(c))continue;const m=t[c];let u;i&&te(i,u=Ve(c))?!o||!o.includes(u)?s[u]=m:(r||(r={}))[u]=m:Vs(e.emitsOptions,c)||(!(c in n)||m!==n[c])&&(n[c]=m,l=!0)}if(o){const c=ee(s),m=r||ae;for(let u=0;u<o.length;u++){const v=o[u];s[v]=hn(i,c,v,m[v],e,!te(m,v))}}return l}function hn(e,t,s,n,i,o){const l=e[s];if(l!=null){const r=te(l,"default");if(r&&n===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&q(c)){const{propsDefaults:m}=i;if(s in m)n=m[s];else{const u=ps(i);n=m[s]=c.call(null,t),u()}}else n=c;i.ce&&i.ce._setProp(s,n)}l[0]&&(o&&!r?n=!1:l[1]&&(n===""||n===Mt(s))&&(n=!0))}return n}const yr=new WeakMap;function To(e,t,s=!1){const n=s?yr:t.propsCache,i=n.get(e);if(i)return i;const o=e.props,l={},r=[];let c=!1;if(!q(e)){const u=v=>{c=!0;const[y,_]=To(v,t,!0);ge(l,y),_&&r.push(..._)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return ne(e)&&n.set(e,Nt),Nt;if(B(o))for(let u=0;u<o.length;u++){const v=Ve(o[u]);ei(v)&&(l[v]=ae)}else if(o)for(const u in o){const v=Ve(u);if(ei(v)){const y=o[u],_=l[v]=B(y)||q(y)?{type:y}:ge({},y),w=_.type;let x=!1,H=!0;if(B(w))for(let V=0;V<w.length;++V){const K=w[V],P=q(K)&&K.name;if(P==="Boolean"){x=!0;break}else P==="String"&&(H=!1)}else x=q(w)&&w.name==="Boolean";_[0]=x,_[1]=H,(x||te(_,"default"))&&r.push(v)}}const m=[l,r];return ne(e)&&n.set(e,m),m}function ei(e){return e[0]!=="$"&&!Xt(e)}const Pn=e=>e==="_"||e==="_ctx"||e==="$stable",Rn=e=>B(e)?e.map(Xe):[Xe(e)],xr=(e,t,s)=>{if(t._n)return t;const n=so((...i)=>Rn(t(...i)),s);return n._c=!1,n},ko=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Pn(i))continue;const o=e[i];if(q(o))t[i]=xr(i,o,n);else if(o!=null){const l=Rn(o);t[i]=()=>l}}},Eo=(e,t)=>{const s=Rn(t);e.slots.default=()=>s},Mo=(e,t,s)=>{for(const n in t)(s||!Pn(n))&&(e[n]=t[n])},wr=(e,t,s)=>{const n=e.slots=$o();if(e.vnode.shapeFlag&32){const i=t._;i?(Mo(n,t,s),s&&Ii(n,"_",i,!0)):ko(t,n)}else t&&Eo(e,t)},$r=(e,t,s)=>{const{vnode:n,slots:i}=e;let o=!0,l=ae;if(n.shapeFlag&32){const r=t._;r?s&&r===1?o=!1:Mo(i,t,s):(o=!t.$stable,ko(t,i)),l=t}else t&&(Eo(e,t),l={default:1});if(o)for(const r in i)!Pn(r)&&l[r]==null&&delete i[r]},Pe=Er;function Cr(e){return Sr(e)}function Sr(e,t){const s=Fs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:l,createText:r,createComment:c,setText:m,setElementText:u,parentNode:v,nextSibling:y,setScopeId:_=Qe,insertStaticContent:w}=e,x=(p,h,$,O=null,f=null,d=null,b=void 0,E=null,C=!!h.dynamicChildren)=>{if(p===h)return;p&&!St(p,h)&&(O=At(p),Fe(p,f,d,!0),p=null),h.patchFlag===-2&&(C=!1,h.dynamicChildren=null);const{type:g,ref:j,shapeFlag:L}=h;switch(g){case Us:H(p,h,$,O);break;case Ee:V(p,h,$,O);break;case xs:p==null&&K(h,$,O,b);break;case le:T(p,h,$,O,f,d,b,E,C);break;default:L&1?I(p,h,$,O,f,d,b,E,C):L&6?z(p,h,$,O,f,d,b,E,C):(L&64||L&128)&&g.process(p,h,$,O,f,d,b,E,C,_t)}j!=null&&f?es(j,p&&p.ref,d,h||p,!h):j==null&&p&&p.ref!=null&&es(p.ref,null,d,p,!0)},H=(p,h,$,O)=>{if(p==null)n(h.el=r(h.children),$,O);else{const f=h.el=p.el;h.children!==p.children&&m(f,h.children)}},V=(p,h,$,O)=>{p==null?n(h.el=c(h.children||""),$,O):h.el=p.el},K=(p,h,$,O)=>{[p.el,p.anchor]=w(p.children,h,$,O,p.el,p.anchor)},P=({el:p,anchor:h},$,O)=>{let f;for(;p&&p!==h;)f=y(p),n(p,$,O),p=f;n(h,$,O)},k=({el:p,anchor:h})=>{let $;for(;p&&p!==h;)$=y(p),i(p),p=$;i(h)},I=(p,h,$,O,f,d,b,E,C)=>{if(h.type==="svg"?b="svg":h.type==="math"&&(b="mathml"),p==null)X(h,$,O,f,d,b,E,C);else{const g=p.el&&p.el._isVueCE?p.el:null;try{g&&g._beginPatch(),M(p,h,f,d,b,E,C)}finally{g&&g._endPatch()}}},X=(p,h,$,O,f,d,b,E)=>{let C,g;const{props:j,shapeFlag:L,transition:D,dirs:W}=p;if(C=p.el=l(p.type,d,j&&j.is,j),L&8?u(C,p.children):L&16&&R(p.children,C,null,O,f,Qs(p,d),b,E),W&&bt(p,null,O,"created"),ve(C,p,p.scopeId,b,O),j){for(const oe in j)oe!=="value"&&!Xt(oe)&&o(C,oe,null,j[oe],d,O);"value"in j&&o(C,"value",null,j.value,d),(g=j.onVnodeBeforeMount)&&qe(g,O,p)}W&&bt(p,null,O,"beforeMount");const G=Tr(f,D);G&&D.beforeEnter(C),n(C,h,$),((g=j&&j.onVnodeMounted)||G||W)&&Pe(()=>{g&&qe(g,O,p),G&&D.enter(C),W&&bt(p,null,O,"mounted")},f)},ve=(p,h,$,O,f)=>{if($&&_(p,$),O)for(let d=0;d<O.length;d++)_(p,O[d]);if(f){let d=f.subTree;if(h===d||Po(d.type)&&(d.ssContent===h||d.ssFallback===h)){const b=f.vnode;ve(p,b,b.scopeId,b.slotScopeIds,f.parent)}}},R=(p,h,$,O,f,d,b,E,C=0)=>{for(let g=C;g<p.length;g++){const j=p[g]=E?it(p[g]):Xe(p[g]);x(null,j,h,$,O,f,d,b,E)}},M=(p,h,$,O,f,d,b)=>{const E=h.el=p.el;let{patchFlag:C,dynamicChildren:g,dirs:j}=h;C|=p.patchFlag&16;const L=p.props||ae,D=h.props||ae;let W;if($&&yt($,!1),(W=D.onVnodeBeforeUpdate)&&qe(W,$,h,p),j&&bt(h,p,$,"beforeUpdate"),$&&yt($,!0),(L.innerHTML&&D.innerHTML==null||L.textContent&&D.textContent==null)&&u(E,""),g?S(p.dynamicChildren,g,E,$,O,Qs(h,f),d):b||J(p,h,E,null,$,O,Qs(h,f),d,!1),C>0){if(C&16)U(E,L,D,$,f);else if(C&2&&L.class!==D.class&&o(E,"class",null,D.class,f),C&4&&o(E,"style",L.style,D.style,f),C&8){const G=h.dynamicProps;for(let oe=0;oe<G.length;oe++){const Q=G[oe],be=L[Q],ye=D[Q];(ye!==be||Q==="value")&&o(E,Q,be,ye,f,$)}}C&1&&p.children!==h.children&&u(E,h.children)}else!b&&g==null&&U(E,L,D,$,f);((W=D.onVnodeUpdated)||j)&&Pe(()=>{W&&qe(W,$,h,p),j&&bt(h,p,$,"updated")},O)},S=(p,h,$,O,f,d,b)=>{for(let E=0;E<h.length;E++){const C=p[E],g=h[E],j=C.el&&(C.type===le||!St(C,g)||C.shapeFlag&198)?v(C.el):$;x(C,g,j,null,O,f,d,b,!0)}},U=(p,h,$,O,f)=>{if(h!==$){if(h!==ae)for(const d in h)!Xt(d)&&!(d in $)&&o(p,d,h[d],null,f,O);for(const d in $){if(Xt(d))continue;const b=$[d],E=h[d];b!==E&&d!=="value"&&o(p,d,E,b,f,O)}"value"in $&&o(p,"value",h.value,$.value,f)}},T=(p,h,$,O,f,d,b,E,C)=>{const g=h.el=p?p.el:r(""),j=h.anchor=p?p.anchor:r("");let{patchFlag:L,dynamicChildren:D,slotScopeIds:W}=h;W&&(E=E?E.concat(W):W),p==null?(n(g,$,O),n(j,$,O),R(h.children||[],$,j,f,d,b,E,C)):L>0&&L&64&&D&&p.dynamicChildren&&p.dynamicChildren.length===D.length?(S(p.dynamicChildren,D,$,f,d,b,E),(h.key!=null||f&&h===f.subTree)&&Ao(p,h,!0)):J(p,h,$,j,f,d,b,E,C)},z=(p,h,$,O,f,d,b,E,C)=>{h.slotScopeIds=E,p==null?h.shapeFlag&512?f.ctx.activate(h,$,O,b,C):ie(h,$,O,f,d,b,C):me(p,h,C)},ie=(p,h,$,O,f,d,b)=>{const E=p.component=Lr(p,O,f);if(Ds(p)&&(E.ctx.renderer=_t),Nr(E,!1,b),E.asyncDep){if(f&&f.registerDep(E,ce,b),!p.el){const C=E.subTree=Ae(Ee);V(null,C,h,$),p.placeholder=C.el}}else ce(E,p,h,$,f,d,b)},me=(p,h,$)=>{const O=h.component=p.component;if(mr(p,h,$))if(O.asyncDep&&!O.asyncResolved){re(O,h,$);return}else O.next=h,O.update();else h.el=p.el,O.vnode=h},ce=(p,h,$,O,f,d,b)=>{const E=()=>{if(p.isMounted){let{next:L,bu:D,u:W,parent:G,vnode:oe}=p;{const Oe=Oo(p);if(Oe){L&&(L.el=oe.el,re(p,L,b)),Oe.asyncDep.then(()=>{Pe(()=>{p.isUnmounted||g()},f)});return}}let Q=L,be;yt(p,!1),L?(L.el=oe.el,re(p,L,b)):L=oe,D&&bs(D),(be=L.props&&L.props.onVnodeBeforeUpdate)&&qe(be,G,L,oe),yt(p,!0);const ye=Zn(p),de=p.subTree;p.subTree=ye,x(de,ye,v(de.el),At(de),p,f,d),L.el=ye.el,Q===null&&gr(p,ye.el),W&&Pe(W,f),(be=L.props&&L.props.onVnodeUpdated)&&Pe(()=>qe(be,G,L,oe),f)}else{let L;const{el:D,props:W}=h,{bm:G,m:oe,parent:Q,root:be,type:ye}=p,de=ts(h);yt(p,!1),G&&bs(G),!de&&(L=W&&W.onVnodeBeforeMount)&&qe(L,Q,h),yt(p,!0);{be.ce&&be.ce._hasShadowRoot()&&be.ce._injectChildStyle(ye,p.parent?p.parent.type:void 0);const Oe=p.subTree=Zn(p);x(null,Oe,$,O,p,f,d),h.el=Oe.el}if(oe&&Pe(oe,f),!de&&(L=W&&W.onVnodeMounted)){const Oe=h;Pe(()=>qe(L,Q,Oe),f)}(h.shapeFlag&256||Q&&ts(Q.vnode)&&Q.vnode.shapeFlag&256)&&p.a&&Pe(p.a,f),p.isMounted=!0,h=$=O=null}};p.scope.on();const C=p.effect=new Li(E);p.scope.off();const g=p.update=C.run.bind(C),j=p.job=C.runIfDirty.bind(C);j.i=p,j.id=p.uid,C.scheduler=()=>In(j),yt(p,!0),g()},re=(p,h,$)=>{h.component=p;const O=p.vnode.props;p.vnode=h,p.next=null,br(p,h.props,O,$),$r(p,h.children,$),rt(),Kn(p),at()},J=(p,h,$,O,f,d,b,E,C=!1)=>{const g=p&&p.children,j=p?p.shapeFlag:0,L=h.children,{patchFlag:D,shapeFlag:W}=h;if(D>0){if(D&128){_e(g,L,$,O,f,d,b,E,C);return}else if(D&256){xe(g,L,$,O,f,d,b,E,C);return}}W&8?(j&16&>(g,f,d),L!==g&&u($,L)):j&16?W&16?_e(g,L,$,O,f,d,b,E,C):gt(g,f,d,!0):(j&8&&u($,""),W&16&&R(L,$,O,f,d,b,E,C))},xe=(p,h,$,O,f,d,b,E,C)=>{p=p||Nt,h=h||Nt;const g=p.length,j=h.length,L=Math.min(g,j);let D;for(D=0;D<L;D++){const W=h[D]=C?it(h[D]):Xe(h[D]);x(p[D],W,$,null,f,d,b,E,C)}g>j?gt(p,f,d,!0,!1,L):R(h,$,O,f,d,b,E,C,L)},_e=(p,h,$,O,f,d,b,E,C)=>{let g=0;const j=h.length;let L=p.length-1,D=j-1;for(;g<=L&&g<=D;){const W=p[g],G=h[g]=C?it(h[g]):Xe(h[g]);if(St(W,G))x(W,G,$,null,f,d,b,E,C);else break;g++}for(;g<=L&&g<=D;){const W=p[L],G=h[D]=C?it(h[D]):Xe(h[D]);if(St(W,G))x(W,G,$,null,f,d,b,E,C);else break;L--,D--}if(g>L){if(g<=D){const W=D+1,G=W<j?h[W].el:O;for(;g<=D;)x(null,h[g]=C?it(h[g]):Xe(h[g]),$,G,f,d,b,E,C),g++}}else if(g>D)for(;g<=L;)Fe(p[g],f,d,!0),g++;else{const W=g,G=g,oe=new Map;for(g=G;g<=D;g++){const Le=h[g]=C?it(h[g]):Xe(h[g]);Le.key!=null&&oe.set(Le.key,g)}let Q,be=0;const ye=D-G+1;let de=!1,Oe=0;const Wt=new Array(ye);for(g=0;g<ye;g++)Wt[g]=0;for(g=W;g<=L;g++){const Le=p[g];if(be>=ye){Fe(Le,f,d,!0);continue}let ze;if(Le.key!=null)ze=oe.get(Le.key);else for(Q=G;Q<=D;Q++)if(Wt[Q-G]===0&&St(Le,h[Q])){ze=Q;break}ze===void 0?Fe(Le,f,d,!0):(Wt[ze-G]=g+1,ze>=Oe?Oe=ze:de=!0,x(Le,h[ze],$,null,f,d,b,E,C),be++)}const Nn=de?kr(Wt):Nt;for(Q=Nn.length-1,g=ye-1;g>=0;g--){const Le=G+g,ze=h[Le],jn=h[Le+1],Dn=Le+1<j?jn.el||Io(jn):O;Wt[g]===0?x(null,ze,$,Dn,f,d,b,E,C):de&&(Q<0||g!==Nn[Q]?We(ze,$,Dn,2):Q--)}}},We=(p,h,$,O,f=null)=>{const{el:d,type:b,transition:E,children:C,shapeFlag:g}=p;if(g&6){We(p.component.subTree,h,$,O);return}if(g&128){p.suspense.move(h,$,O);return}if(g&64){b.move(p,h,$,_t);return}if(b===le){n(d,h,$);for(let L=0;L<C.length;L++)We(C[L],h,$,O);n(p.anchor,h,$);return}if(b===xs){P(p,h,$);return}if(O!==2&&g&1&&E)if(O===0)E.beforeEnter(d),n(d,h,$),Pe(()=>E.enter(d),f);else{const{leave:L,delayLeave:D,afterLeave:W}=E,G=()=>{p.ctx.isUnmounted?i(d):n(d,h,$)},oe=()=>{d._isLeaving&&d[Je](!0),L(d,()=>{G(),W&&W()})};D?D(d,G,oe):oe()}else n(d,h,$)},Fe=(p,h,$,O=!1,f=!1)=>{const{type:d,props:b,ref:E,children:C,dynamicChildren:g,shapeFlag:j,patchFlag:L,dirs:D,cacheIndex:W}=p;if(L===-2&&(f=!1),E!=null&&(rt(),es(E,null,$,p,!0),at()),W!=null&&(h.renderCache[W]=void 0),j&256){h.ctx.deactivate(p);return}const G=j&1&&D,oe=!ts(p);let Q;if(oe&&(Q=b&&b.onVnodeBeforeUnmount)&&qe(Q,h,p),j&6)Ws(p.component,$,O);else{if(j&128){p.suspense.unmount($,O);return}G&&bt(p,null,h,"beforeUnmount"),j&64?p.type.remove(p,h,$,_t,O):g&&!g.hasOnce&&(d!==le||L>0&&L&64)?gt(g,h,$,!1,!0):(d===le&&L&384||!f&&j&16)&>(C,h,$),O&&Bt(p)}(oe&&(Q=b&&b.onVnodeUnmounted)||G)&&Pe(()=>{Q&&qe(Q,h,p),G&&bt(p,null,h,"unmounted")},$)},Bt=p=>{const{type:h,el:$,anchor:O,transition:f}=p;if(h===le){pe($,O);return}if(h===xs){k(p);return}const d=()=>{i($),f&&!f.persisted&&f.afterLeave&&f.afterLeave()};if(p.shapeFlag&1&&f&&!f.persisted){const{leave:b,delayLeave:E}=f,C=()=>b($,d);E?E(p.el,d,C):C()}else d()},pe=(p,h)=>{let $;for(;p!==h;)$=y(p),i(p),p=$;i(h)},Ws=(p,h,$)=>{const{bum:O,scope:f,job:d,subTree:b,um:E,m:C,a:g}=p;ti(C),ti(g),O&&bs(O),f.stop(),d&&(d.flags|=8,Fe(b,p,h,$)),E&&Pe(E,h),Pe(()=>{p.isUnmounted=!0},h)},gt=(p,h,$,O=!1,f=!1,d=0)=>{for(let b=d;b<p.length;b++)Fe(p[b],h,$,O,f)},At=p=>{if(p.shapeFlag&6)return At(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const h=y(p.anchor||p.el),$=h&&h[Ul];return $?y($):h};let Kt=!1;const vs=(p,h,$)=>{let O;p==null?h._vnode&&(Fe(h._vnode,null,null,!0),O=h._vnode.component):x(h._vnode||null,p,h,null,null,null,$),h._vnode=p,Kt||(Kt=!0,Kn(O),Qi(),Kt=!1)},_t={p:x,um:Fe,m:We,r:Bt,mt:ie,mc:R,pc:J,pbc:S,n:At,o:e};return{render:vs,hydrate:void 0,createApp:ur(vs)}}function Qs({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 yt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ao(e,t,s=!1){const n=e.children,i=t.children;if(B(n)&&B(i))for(let o=0;o<n.length;o++){const l=n[o];let r=i[o];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=i[o]=it(i[o]),r.el=l.el),!s&&r.patchFlag!==-2&&Ao(l,r)),r.type===Us&&(r.patchFlag===-1&&(r=i[o]=it(r)),r.el=l.el),r.type===Ee&&!r.el&&(r.el=l.el)}}function kr(e){const t=e.slice(),s=[0];let n,i,o,l,r;const c=e.length;for(n=0;n<c;n++){const m=e[n];if(m!==0){if(i=s[s.length-1],e[i]<m){t[n]=i,s.push(n);continue}for(o=0,l=s.length-1;o<l;)r=o+l>>1,e[s[r]]<m?o=r+1:l=r;m<e[s[o]]&&(o>0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,l=s[o-1];o-- >0;)s[o]=l,l=t[l];return s}function Oo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oo(t)}function ti(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Io(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Io(t.subTree):null}const Po=e=>e.__isSuspense;function Er(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Nl(e)}const le=Symbol.for("v-fgt"),Us=Symbol.for("v-txt"),Ee=Symbol.for("v-cmt"),xs=Symbol.for("v-stc"),ns=[];let Ne=null;function F(e=!1){ns.push(Ne=e?null:[])}function Mr(){ns.pop(),Ne=ns[ns.length-1]||null}let as=1;function Ms(e,t=!1){as+=e,e<0&&Ne&&t&&(Ne.hasOnce=!0)}function Ro(e){return e.dynamicChildren=as>0?Ne||Nt:null,Mr(),as>0&&Ne&&Ne.push(e),e}function N(e,t,s,n,i,o){return Ro(a(e,t,s,n,i,o,!0))}function Ct(e,t,s,n,i){return Ro(Ae(e,t,s,n,i,!0))}function As(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const Fo=({key:e})=>e??null,ws=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||Se(e)||q(e)?{i:De,r:e,k:t,f:!!s}:e:null);function a(e,t=null,s=null,n=0,i=null,o=e===le?0:1,l=!1,r=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fo(t),ref:t&&ws(t),scopeId:to,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:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:De};return r?(Fn(c,s),o&128&&e.normalize(c)):s&&(c.shapeFlag|=he(s)?8:16),as>0&&!l&&Ne&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ne.push(c),c}const Ae=Ar;function Ar(e,t=null,s=null,n=0,i=null,o=!1){if((!e||e===sr)&&(e=Ee),As(e)){const r=mt(e,t,!0);return s&&Fn(r,s),as>0&&!o&&Ne&&(r.shapeFlag&6?Ne[Ne.indexOf(e)]=r:Ne.push(r)),r.patchFlag=-2,r}if(Vr(e)&&(e=e.__vccOpts),t){t=Or(t);let{class:r,style:c}=t;r&&!he(r)&&(t.class=Y(r)),ne(c)&&(On(c)&&!B(c)&&(c=ge({},c)),t.style=$e(c))}const l=he(e)?1:Po(e)?128:oo(e)?64:ne(e)?4:q(e)?2:0;return a(e,t,s,n,i,l,o,!0)}function Or(e){return e?On(e)||Co(e)?ge({},e):e:null}function mt(e,t,s=!1,n=!1){const{props:i,ref:o,patchFlag:l,children:r,transition:c}=e,m=t?Pr(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:m,key:m&&Fo(m),ref:t&&t.ref?s&&o?B(o)?o.concat(ws(t)):[o,ws(t)]:ws(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==le?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&rs(u,c.clone(u)),u}function pt(e=" ",t=0){return Ae(Us,null,e,t)}function Ir(e,t){const s=Ae(xs,null,e);return s.staticCount=t,s}function fe(e="",t=!1){return t?(F(),Ct(Ee,null,e)):Ae(Ee,null,e)}function Xe(e){return e==null||typeof e=="boolean"?Ae(Ee):B(e)?Ae(le,null,e.slice()):As(e)?it(e):Ae(Us,null,String(e))}function it(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function Fn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(B(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Fn(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Co(t)?t._ctx=De:i===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:De},s=32):(t=String(t),n&64?(s=16,t=[pt(t)]):s=8);e.children=t,e.shapeFlag|=s}function Pr(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Y([t.class,n.class]));else if(i==="style")t.style=$e([t.style,n.style]);else if(Ps(i)){const o=t[i],l=n[i];l&&o!==l&&!(B(o)&&o.includes(l))&&(t[i]=o?[].concat(o,l):l)}else i!==""&&(t[i]=n[i])}return t}function qe(e,t,s,n=null){Ke(e,t,7,[s,n])}const Rr=bo();let Fr=0;function Lr(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Rr,o={uid:Fr++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ol(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:To(n,i),emitsOptions:yo(n,i),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:n.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=dr.bind(null,o),e.ce&&e.ce(o),o}let Me=null;const Lo=()=>Me||De;let Os,vn;{const e=Fs(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),o=>{i.length>1?i.forEach(l=>l(o)):i[0](o)}};Os=t("__VUE_INSTANCE_SETTERS__",s=>Me=s),vn=t("__VUE_SSR_SETTERS__",s=>cs=s)}const ps=e=>{const t=Me;return Os(e),e.scope.on(),()=>{e.scope.off(),Os(t)}},si=()=>{Me&&Me.scope.off(),Os(null)};function No(e){return e.vnode.shapeFlag&4}let cs=!1;function Nr(e,t=!1,s=!1){t&&vn(t);const{props:n,children:i}=e.vnode,o=No(e);_r(e,n,o,t),wr(e,i,s||t);const l=o?jr(e,t):void 0;return t&&vn(!1),l}function jr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nr);const{setup:n}=s;if(n){rt();const i=e.setupContext=n.length>1?Hr(e):null,o=ps(e),l=ds(n,e,0,[e.props,i]),r=Ei(l);if(at(),o(),(r||e.sp)&&!ts(e)&&fo(e),r){if(l.then(si,si),t)return l.then(c=>{ni(e,c)}).catch(c=>{Ns(c,e,0)});e.asyncDep=l}else ni(e,l)}else jo(e)}function ni(e,t,s){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=Yi(t)),jo(e)}function jo(e,t,s){const n=e.type;e.render||(e.render=n.render||Qe);{const i=ps(e);rt();try{ir(e)}finally{at(),i()}}}const Dr={get(e,t){return we(e,"get",""),e[t]}};function Hr(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Dr),slots:e.slots,emit:e.emit,expose:t}}function Bs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yi(Tl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in ss)return ss[s](e)},has(t,s){return s in t||s in ss}})):e.proxy}function Vr(e){return q(e)&&"__vccOpts"in e}const Z=(e,t)=>Ol(e,t,cs);function Ie(e,t,s){try{Ms(-1);const n=arguments.length;return n===2?ne(t)&&!B(t)?As(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&As(s)&&(s=[s]),Ae(e,t,s))}finally{Ms(1)}}const Ur="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 mn;const ii=typeof window<"u"&&window.trustedTypes;if(ii)try{mn=ii.createPolicy("vue",{createHTML:e=>e})}catch{}const Do=mn?e=>mn.createHTML(e):e=>e,Br="http://www.w3.org/2000/svg",Kr="http://www.w3.org/1998/Math/MathML",nt=typeof document<"u"?document:null,oi=nt&&nt.createElement("template"),Wr={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 i=t==="svg"?nt.createElementNS(Br,e):t==="mathml"?nt.createElementNS(Kr,e):s?nt.createElement(e,{is:s}):nt.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>nt.createTextNode(e),createComment:e=>nt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>nt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,o){const l=s?s.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{oi.innerHTML=Do(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const r=oi.content;if(n==="svg"||n==="mathml"){const c=r.firstChild;for(;c.firstChild;)r.appendChild(c.firstChild);r.removeChild(c)}t.insertBefore(r,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},ft="transition",Gt="animation",us=Symbol("_vtc"),Ho={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},zr=ge({},lo,Ho),qr=e=>(e.displayName="Transition",e.props=zr,e),Gr=qr((e,{slots:t})=>Ie(Wl,Jr(e),t)),xt=(e,t=[])=>{B(e)?e.forEach(s=>s(...t)):e&&e(...t)},li=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Jr(e){const t={};for(const T in e)T in Ho||(t[T]=e[T]);if(e.css===!1)return t;const{name:s="v",type:n,duration:i,enterFromClass:o=`${s}-enter-from`,enterActiveClass:l=`${s}-enter-active`,enterToClass:r=`${s}-enter-to`,appearFromClass:c=o,appearActiveClass:m=l,appearToClass:u=r,leaveFromClass:v=`${s}-leave-from`,leaveActiveClass:y=`${s}-leave-active`,leaveToClass:_=`${s}-leave-to`}=e,w=Yr(i),x=w&&w[0],H=w&&w[1],{onBeforeEnter:V,onEnter:K,onEnterCancelled:P,onLeave:k,onLeaveCancelled:I,onBeforeAppear:X=V,onAppear:ve=K,onAppearCancelled:R=P}=t,M=(T,z,ie,me)=>{T._enterCancelled=me,wt(T,z?u:r),wt(T,z?m:l),ie&&ie()},S=(T,z)=>{T._isLeaving=!1,wt(T,v),wt(T,_),wt(T,y),z&&z()},U=T=>(z,ie)=>{const me=T?ve:K,ce=()=>M(z,T,ie);xt(me,[z,ce]),ri(()=>{wt(z,T?c:o),st(z,T?u:r),li(me)||ai(z,n,x,ce)})};return ge(t,{onBeforeEnter(T){xt(V,[T]),st(T,o),st(T,l)},onBeforeAppear(T){xt(X,[T]),st(T,c),st(T,m)},onEnter:U(!1),onAppear:U(!0),onLeave(T,z){T._isLeaving=!0;const ie=()=>S(T,z);st(T,v),T._enterCancelled?(st(T,y),fi(T)):(fi(T),st(T,y)),ri(()=>{T._isLeaving&&(wt(T,v),st(T,_),li(k)||ai(T,n,H,ie))}),xt(k,[T,ie])},onEnterCancelled(T){M(T,!1,void 0,!0),xt(P,[T])},onAppearCancelled(T){M(T,!0,void 0,!0),xt(R,[T])},onLeaveCancelled(T){S(T),xt(I,[T])}})}function Yr(e){if(e==null)return null;if(ne(e))return[en(e.enter),en(e.leave)];{const t=en(e);return[t,t]}}function en(e){return Xo(e)}function st(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[us]||(e[us]=new Set)).add(t)}function wt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[us];s&&(s.delete(t),s.size||(e[us]=void 0))}function ri(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Xr=0;function ai(e,t,s,n){const i=e._endId=++Xr,o=()=>{i===e._endId&&n()};if(s!=null)return setTimeout(o,s);const{type:l,timeout:r,propCount:c}=Zr(e,t);if(!l)return n();const m=l+"end";let u=0;const v=()=>{e.removeEventListener(m,y),o()},y=_=>{_.target===e&&++u>=c&&v()};setTimeout(()=>{u<c&&v()},r+1),e.addEventListener(m,y)}function Zr(e,t){const s=window.getComputedStyle(e),n=w=>(s[w]||"").split(", "),i=n(`${ft}Delay`),o=n(`${ft}Duration`),l=ci(i,o),r=n(`${Gt}Delay`),c=n(`${Gt}Duration`),m=ci(r,c);let u=null,v=0,y=0;t===ft?l>0&&(u=ft,v=l,y=o.length):t===Gt?m>0&&(u=Gt,v=m,y=c.length):(v=Math.max(l,m),u=v>0?l>m?ft:Gt:null,y=u?u===ft?o.length:c.length:0);const _=u===ft&&/\b(?:transform|all)(?:,|$)/.test(n(`${ft}Property`).toString());return{type:u,timeout:v,propCount:y,hasTransform:_}}function ci(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>ui(s)+ui(e[n])))}function ui(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fi(e){return(e?e.ownerDocument:document).body.offsetHeight}function Qr(e,t,s){const n=e[us];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const di=Symbol("_vod"),ea=Symbol("_vsh"),ta=Symbol(""),sa=/(?:^|;)\s*display\s*:/;function na(e,t,s){const n=e.style,i=he(s);let o=!1;if(s&&!i){if(t)if(he(t))for(const l of t.split(";")){const r=l.slice(0,l.indexOf(":")).trim();s[r]==null&&$s(n,r,"")}else for(const l in t)s[l]==null&&$s(n,l,"");for(const l in s)l==="display"&&(o=!0),$s(n,l,s[l])}else if(i){if(t!==s){const l=n[ta];l&&(s+=";"+l),n.cssText=s,o=sa.test(s)}}else t&&e.removeAttribute("style");di in e&&(e[di]=o?n.display:"",e[ea]&&(n.display="none"))}const pi=/\s*!important$/;function $s(e,t,s){if(B(s))s.forEach(n=>$s(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ia(e,t);pi.test(s)?e.setProperty(Mt(n),s.replace(pi,""),"important"):e[n]=s}}const hi=["Webkit","Moz","ms"],tn={};function ia(e,t){const s=tn[t];if(s)return s;let n=Ve(t);if(n!=="filter"&&n in e)return tn[t]=n;n=Oi(n);for(let i=0;i<hi.length;i++){const o=hi[i]+n;if(o in e)return tn[t]=o}return t}const vi="http://www.w3.org/1999/xlink";function mi(e,t,s,n,i,o=nl(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(vi,t.slice(6,t.length)):e.setAttributeNS(vi,t,s):s==null||o&&!Pi(s)?e.removeAttribute(t):e.setAttribute(t,o?"":et(s)?String(s):s)}function gi(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Do(s):s);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const r=o==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(r!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let l=!1;if(s===""||s==null){const r=typeof e[t];r==="boolean"?s=Pi(s):s==null&&r==="string"?(s="",l=!0):r==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(i||t)}function Lt(e,t,s,n){e.addEventListener(t,s,n)}function oa(e,t,s,n){e.removeEventListener(t,s,n)}const _i=Symbol("_vei");function la(e,t,s,n,i=null){const o=e[_i]||(e[_i]={}),l=o[t];if(n&&l)l.value=n;else{const[r,c]=ra(t);if(n){const m=o[t]=ua(n,i);Lt(e,r,m,c)}else l&&(oa(e,r,l,c),o[t]=void 0)}}const bi=/(?:Once|Passive|Capture)$/;function ra(e){let t;if(bi.test(e)){t={};let n;for(;n=e.match(bi);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Mt(e.slice(2)),t]}let sn=0;const aa=Promise.resolve(),ca=()=>sn||(aa.then(()=>sn=0),sn=Date.now());function ua(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ke(fa(n,s.value),t,5,[n])};return s.value=e,s.attached=ca(),s}function fa(e,t){if(B(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const yi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,s,n,i,o)=>{const l=i==="svg";t==="class"?Qr(e,n,l):t==="style"?na(e,s,n):Ps(t)?bn(t)||la(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pa(e,t,n,l))?(gi(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&mi(e,t,n,l,o,t!=="value")):e._isVueCE&&(ha(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!he(n)))?gi(e,Ve(t),n,o,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),mi(e,t,n,l))};function pa(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&yi(t)&&q(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return yi(t)&&he(s)?!1:t in e}function ha(e,t){const s=e._def.props;if(!s)return!1;const n=Ve(t);return Array.isArray(s)?s.some(i=>Ve(i)===n):Object.keys(s).some(i=>Ve(i)===n)}const xi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return B(t)?s=>bs(t,s):t};function va(e){e.target.composing=!0}function wi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const nn=Symbol("_assign");function $i(e,t,s){return t&&(e=e.trim()),s&&(e=wn(e)),e}const Ks={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[nn]=xi(i);const o=n||i.props&&i.props.type==="number";Lt(e,t?"change":"input",l=>{l.target.composing||e[nn]($i(e.value,s,o))}),(s||o)&&Lt(e,"change",()=>{e.value=$i(e.value,s,o)}),t||(Lt(e,"compositionstart",va),Lt(e,"compositionend",wi),Lt(e,"change",wi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:o}},l){if(e[nn]=xi(l),e.composing)return;const r=(o||e.type==="number")&&!/^0\d/.test(e.value)?wn(e.value):e.value,c=t??"";r!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===c)||(e.value=c))}},ma=["ctrl","shift","alt","meta"],ga={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ma.some(s=>e[`${s}Key`]&&!t.includes(s))},_a=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((i,...o)=>{for(let l=0;l<t.length;l++){const r=ga[t[l]];if(r&&r(i,t))return}return e(i,...o)}))},ba=ge({patchProp:da},Wr);let Ci;function ya(){return Ci||(Ci=Cr(ba))}const xa=((...e)=>{const t=ya().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=$a(n);if(!i)return;const o=t._component;!q(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=s(i,!1,wa(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t});function wa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function $a(e){return he(e)?document.querySelector(e):e}const Ca=500,Vo=se([]),Uo=se({provides:[],injects:[]}),Bo=se([]),Ko=se([]),Wo=se([]),zo=se(!1);let Si=!1,Is="*";function Jt(e){return e?e.map(t=>({...t})):[]}function Sa(e){return e?e.map(t=>({...t,navigationRenders:Number.isFinite(t.navigationRenders)?t.navigationRenders:0})):[]}function Ta(){if(typeof document>"u"||!document.referrer)return"*";try{return new URL(document.referrer).origin}catch{return"*"}}function gn(){var e;(e=window.top)==null||e.postMessage({type:"observatory:request"},Is)}function ka(e){var s;if(((s=e.data)==null?void 0:s.type)!=="observatory:snapshot"||Is!=="*"&&e.origin!==Is)return;const t=e.data.data;Vo.value=Jt(t.fetch),Uo.value=t.provideInject?{provides:Jt(t.provideInject.provides),injects:Jt(t.provideInject.injects)}:{provides:[],injects:[]},Bo.value=Jt(t.composables),Ko.value=Sa(t.renders),Wo.value=Jt(t.transitions),zo.value=!0}function Ea(){Si||typeof window>"u"||(Si=!0,Is=Ta(),window.addEventListener("message",ka),window.setInterval(gn,Ca),gn())}function hs(){return Ea(),{fetch:Vo,provideInject:Uo,composables:Bo,renders:Ko,transitions:Wo,connected:zo,refresh:gn}}const Ma={class:"view"},Aa={class:"stats-row"},Oa={class:"stat-card"},Ia={class:"stat-val"},Pa={class:"stat-card"},Ra={class:"stat-val",style:{color:"var(--teal)"}},Fa={class:"stat-card"},La={class:"stat-val",style:{color:"var(--amber)"}},Na={class:"stat-card"},ja={class:"stat-val",style:{color:"var(--red)"}},Da={class:"toolbar"},Ha={class:"split"},Va={class:"table-wrap"},Ua={class:"data-table"},Ba=["onClick"],Ka={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},Wa=["title"],za={class:"muted text-sm"},qa={class:"mono text-sm"},Ga={style:{height:"4px",background:"var(--bg2)","border-radius":"2px",overflow:"hidden"}},Ja={key:0},Ya={colspan:"7",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},Xa={key:0,class:"detail-panel"},Za={class:"detail-header"},Qa={class:"mono bold",style:{"font-size":"12px"}},ec={class:"flex gap-2"},tc={class:"meta-grid"},sc={class:"muted text-sm"},nc={class:"mono text-sm",style:{"word-break":"break-all"}},ic={class:"payload-box"},oc={class:"mono text-sm muted"},lc={key:1,class:"detail-empty"},rc={class:"waterfall"},ac={class:"waterfall-header"},cc={key:0,class:"waterfall-body"},uc={class:"mono muted text-sm",style:{width:"140px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","flex-shrink":"0"}},fc={class:"wf-track"},dc={class:"mono muted text-sm",style:{width:"44px","text-align":"right","flex-shrink":"0"}},pc=Et({__name:"FetchDashboard",setup(e){const{fetch:t,connected:s}=hs(),n=se("all"),i=se(""),o=se(null),l=se(!0),r=Z(()=>{const P=[...t.value].sort((I,X)=>I.startTime-X.startTime),k=Math.min(...P.map(I=>I.startTime),0);return P.map(I=>({...I,startOffset:Math.max(0,Math.round(I.startTime-k))}))}),c=Z(()=>r.value.find(P=>P.id===o.value)??null),m=Z(()=>({ok:r.value.filter(P=>P.status==="ok").length,pending:r.value.filter(P=>P.status==="pending").length,error:r.value.filter(P=>P.status==="error").length})),u=Z(()=>r.value.filter(P=>{if(n.value!=="all"&&P.status!==n.value)return!1;const k=i.value.toLowerCase();return!(k&&!P.key.toLowerCase().includes(k)&&!P.url.toLowerCase().includes(k))})),v=Z(()=>{if(!c.value)return[];const P=c.value;return[["url",P.url],["status",P.status],["origin",P.origin],["duration",P.ms!=null?`${P.ms}ms`:"—"],["size",P.size?K(P.size):"—"],["cached",P.cached?"yes":"no"]]}),y=Z(()=>{if(!c.value)return"";const P=c.value.payload;if(P===void 0)return"(no payload captured yet)";try{return JSON.stringify(P,null,2)}catch{return String(P)}});function _(P){return{ok:"badge-ok",error:"badge-err",pending:"badge-warn",cached:"badge-gray"}[P]??"badge-gray"}function w(P){return{ok:"var(--teal)",error:"var(--red)",pending:"var(--amber)",cached:"var(--border)"}[P]??"var(--border)"}function x(P){const k=Math.max(...r.value.filter(I=>I.ms).map(I=>I.ms),1);return P.ms!=null?Math.max(4,Math.round(P.ms/k*100)):4}function H(P){const k=Math.max(...r.value.map(I=>I.startOffset+(I.ms??0)),1);return Math.round(P.startOffset/k*100)}function V(P){const k=Math.max(...r.value.map(I=>I.startOffset+(I.ms??0)),1);return P.ms!=null?Math.round(P.ms/k*100):2}function K(P){return P<1024?`${P}B`:`${(P/1024).toFixed(1)}KB`}return(P,k)=>(F(),N("div",Ma,[a("div",Aa,[a("div",Oa,[k[7]||(k[7]=a("div",{class:"stat-label"},"total",-1)),a("div",Ia,A(r.value.length),1)]),a("div",Pa,[k[8]||(k[8]=a("div",{class:"stat-label"},"success",-1)),a("div",Ra,A(m.value.ok),1)]),a("div",Fa,[k[9]||(k[9]=a("div",{class:"stat-label"},"pending",-1)),a("div",La,A(m.value.pending),1)]),a("div",Na,[k[10]||(k[10]=a("div",{class:"stat-label"},"error",-1)),a("div",ja,A(m.value.error),1)])]),a("div",Da,[a("button",{class:Y({active:n.value==="all"}),onClick:k[0]||(k[0]=I=>n.value="all")},"all",2),a("button",{class:Y({"danger-active":n.value==="error"}),onClick:k[1]||(k[1]=I=>n.value="error")},"errors",2),a("button",{class:Y({active:n.value==="pending"}),onClick:k[2]||(k[2]=I=>n.value="pending")},"pending",2),a("button",{class:Y({active:n.value==="cached"}),onClick:k[3]||(k[3]=I=>n.value="cached")},"cached",2),js(a("input",{"onUpdate:modelValue":k[4]||(k[4]=I=>i.value=I),type:"search",placeholder:"search key or url…",style:{"max-width":"240px","margin-left":"auto"}},null,512),[[Ks,i.value]])]),a("div",Ha,[a("div",Va,[a("table",Ua,[k[11]||(k[11]=a("thead",null,[a("tr",null,[a("th",null,"key"),a("th",null,"url"),a("th",null,"status"),a("th",null,"origin"),a("th",null,"size"),a("th",null,"time"),a("th",{style:{"min-width":"80px"}},"bar")])],-1)),a("tbody",null,[(F(!0),N(le,null,Ce(u.value,I=>{var X;return F(),N("tr",{key:I.id,class:Y({selected:((X=c.value)==null?void 0:X.id)===I.id}),onClick:ve=>o.value=I.id},[a("td",null,[a("span",Ka,A(I.key),1)]),a("td",null,[a("span",{class:"mono",style:{"font-size":"11px","max-width":"200px",display:"block",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},title:I.url},A(I.url),9,Wa)]),a("td",null,[a("span",{class:Y(["badge",_(I.status)])},A(I.status),3)]),a("td",null,[a("span",{class:Y(["badge",I.origin==="ssr"?"badge-info":"badge-gray"])},A(I.origin),3)]),a("td",za,A(I.size?K(I.size):"—"),1),a("td",qa,A(I.ms!=null?`${I.ms}ms`:"—"),1),a("td",null,[a("div",Ga,[a("div",{style:$e({width:`${x(I)}%`,background:w(I.status),height:"100%",borderRadius:"2px"})},null,4)])])],10,Ba)}),128)),u.value.length?fe("",!0):(F(),N("tr",Ja,[a("td",Ya,A(vt(s)?"No fetches recorded yet.":"Waiting for connection to the Nuxt app…"),1)]))])])]),c.value?(F(),N("div",Xa,[a("div",Za,[a("span",Qa,A(c.value.key),1),a("div",ec,[a("button",{onClick:k[5]||(k[5]=I=>o.value=null)},"×")])]),a("div",tc,[(F(!0),N(le,null,Ce(v.value,([I,X])=>(F(),N(le,{key:I},[a("span",sc,A(I),1),a("span",nc,A(X),1)],64))),128))]),k[12]||(k[12]=a("div",{class:"section-label"},"payload",-1)),a("pre",ic,A(y.value),1),k[13]||(k[13]=a("div",{class:"section-label",style:{"margin-top":"10px"}},"source",-1)),a("div",oc,A(c.value.file)+":"+A(c.value.line),1)])):(F(),N("div",lc,"select a call to inspect"))]),a("div",rc,[a("div",ac,[k[14]||(k[14]=a("div",{class:"section-label",style:{"margin-top":"0","margin-bottom":"0"}},"waterfall",-1)),a("button",{class:Y({active:l.value}),onClick:k[6]||(k[6]=I=>l.value=!l.value)},A(l.value?"hide":"show"),3)]),l.value?(F(),N("div",cc,[(F(!0),N(le,null,Ce(r.value,I=>(F(),N("div",{key:I.id,class:"wf-row"},[a("span",uc,A(I.key),1),a("div",fc,[a("div",{class:"wf-bar",style:$e({left:`${H(I)}%`,width:`${Math.max(2,V(I))}%`,background:w(I.status)})},null,4)]),a("span",dc,A(I.ms!=null?`${I.ms}ms`:"—"),1)]))),128))])):fe("",!0)])]))}}),Ut=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},hc=Ut(pc,[["__scopeId","data-v-8c1465c0"]]),vc={class:"view"},mc={class:"toolbar"},gc=["onClick"],_c={class:"split"},bc={class:"graph-area"},yc={key:0,class:"canvas-stage"},xc=["width","height","viewBox"],wc=["d"],$c=["onClick"],Cc={class:"mono node-label"},Sc={key:0,class:"badge badge-ok badge-xs"},Tc={key:1,class:"badge badge-err badge-xs"},kc={key:1,class:"graph-empty"},Ec={key:0,class:"detail-panel"},Mc={class:"detail-header"},Ac={class:"mono bold",style:{"font-size":"12px"}},Oc={key:0,class:"detail-section"},Ic={class:"section-label"},Pc={class:"detail-list"},Rc={class:"row-main"},Fc={class:"mono text-sm row-key"},Lc=["title"],Nc=["onClick"],jc={key:0,class:"value-box"},Dc={class:"section-label"},Hc={class:"detail-list"},Vc={class:"mono text-sm row-key"},Uc={key:0,class:"badge badge-ok"},Bc={key:1,class:"badge badge-err"},Kc=["title"],Wc={key:2,class:"muted text-sm",style:{"margin-top":"8px"}},zc={key:1,class:"detail-empty"},It=140,Pt=32,qc=72,Rt=18,Gc=Et({__name:"ProvideInjectGraph",setup(e){const{provideInject:t,connected:s}=hs();function n(R){return R.injects.some(M=>!M.ok)?"var(--red)":R.type==="both"?"var(--blue)":R.type==="provider"?"var(--teal)":"var(--text3)"}function i(R,M){return M==="all"?!0:M==="warn"?R.injects.some(S=>!S.ok):R.provides.some(S=>S.key===M)||R.injects.some(S=>S.key===M)}function o(R){return R.children.length===0?1:R.children.reduce((M,S)=>M+o(S),0)}function l(R){if(typeof R=="string")return R;try{return JSON.stringify(R)}catch{return String(R)}}function r(R){return typeof R=="object"&&R!==null}function c(R){if(R===null)return"null";if(Array.isArray(R))return`Array(${R.length})`;if(typeof R=="object"){const M=Object.keys(R);return M.length?`{ ${M.join(", ")} }`:"{}"}return l(R)}function m(R){if(!r(R))return l(R);try{return JSON.stringify(R,null,2)}catch{return l(R)}}function u(R,M,S){return`${R}:${M}:${S}`}function v(R){return R.split("/").pop()??R}function y(R){return String(R.componentUid)}const _=Z(()=>{const R=new Map,M=new Map;function S(T){const z=y(T),ie=R.get(z);if(ie)return ie;const me={id:z,label:v(T.componentFile),type:"consumer",provides:[],injects:[],children:[]};return R.set(z,me),M.set(z,T.parentUid!==void 0?String(T.parentUid):null),me}for(const T of t.value.provides)S(T).provides.push({key:T.key,val:c(T.valueSnapshot),raw:T.valueSnapshot,reactive:T.isReactive,complex:r(T.valueSnapshot)});for(const T of t.value.injects)S(T).injects.push({key:T.key,from:T.resolvedFromFile??null,ok:T.resolved});for(const T of R.values())T.injects.some(z=>!z.ok)?T.type="error":T.provides.length&&T.injects.length?T.type="both":T.provides.length?T.type="provider":T.type="consumer";const U=[];for(const[T,z]of R.entries()){const ie=M.get(T),me=ie?R.get(ie):void 0;me?me.children.push(z):U.push(z)}return U}),w=se("all"),x=se(null),H=se(new Set);ht(x,()=>{H.value=new Set});function V(R){const M=new Set(H.value);M.has(R)?M.delete(R):M.add(R),H.value=M}const K=Z(()=>{const R=new Set;function M(S){S.forEach(U=>{U.provides.forEach(T=>R.add(T.key)),U.injects.forEach(T=>R.add(T.key)),M(U.children)})}return M(_.value),[...R]}),P=Z(()=>{function R(M){const S=M.children.map(R).filter(Boolean);return!i(M,w.value)&&!S.length?null:{...M,children:S}}return _.value.map(R).filter(Boolean)});ht([P,x],([R,M])=>{if(!M)return;const S=new Set;function U(T){T.forEach(z=>{S.add(z.id),U(z.children)})}U(R),S.has(M.id)||(x.value=null)});const k=Z(()=>{const R=[],M=Rt;function S(T,z,ie,me){const re=o(T)*(It+Rt)-Rt;R.push({data:T,parentId:me,x:Math.round(ie+re/2),y:Math.round(M+z*(Pt+qc)+Pt/2)});let J=ie;for(const xe of T.children){const _e=o(xe);S(xe,z+1,J,T.id),J+=_e*(It+Rt)}}let U=M;for(const T of P.value){const z=o(T);S(T,0,U,null),U+=z*(It+Rt)+Rt*2}return R}),I=Z(()=>k.value.reduce((R,M)=>Math.max(R,M.x+It/2+20),520)),X=Z(()=>k.value.reduce((R,M)=>Math.max(R,M.y+Pt/2+20),200)),ve=Z(()=>{const R=new Map(k.value.map(M=>[M.data.id,M]));return k.value.filter(M=>M.parentId!==null).map(M=>{const S=R.get(M.parentId);return{id:`${S.data.id}--${M.data.id}`,x1:S.x,y1:S.y+Pt/2,x2:M.x,y2:M.y-Pt/2}})});return(R,M)=>(F(),N("div",vc,[a("div",mc,[a("button",{class:Y({active:w.value==="all"}),onClick:M[0]||(M[0]=S=>w.value="all")},"all keys",2),(F(!0),N(le,null,Ce(K.value,S=>(F(),N("button",{key:S,style:{"font-family":"var(--mono)"},class:Y({active:w.value===S}),onClick:U=>w.value=S},A(S),11,gc))),128)),a("button",{style:{"margin-left":"auto"},class:Y({"danger-active":w.value==="warn"}),onClick:M[1]||(M[1]=S=>w.value="warn")}," warnings only ",2)]),a("div",_c,[a("div",bc,[M[3]||(M[3]=Ir('<div class="legend" data-v-5ed3965a><span class="dot" style="background:var(--teal);" data-v-5ed3965a></span><span data-v-5ed3965a>provides</span><span class="dot" style="background:var(--blue);" data-v-5ed3965a></span><span data-v-5ed3965a>both</span><span class="dot" style="background:var(--text3);" data-v-5ed3965a></span><span data-v-5ed3965a>injects</span><span class="dot" style="background:var(--red);" data-v-5ed3965a></span><span data-v-5ed3965a>missing provider</span></div>',1)),k.value.length?(F(),N("div",yc,[a("div",{class:"canvas-wrap",style:$e({width:`${I.value}px`,height:`${X.value}px`})},[(F(),N("svg",{class:"edges-svg",width:I.value,height:X.value,viewBox:`0 0 ${I.value} ${X.value}`},[(F(!0),N(le,null,Ce(ve.value,S=>(F(),N("path",{key:S.id,d:`M ${S.x1},${S.y1} C ${S.x1},${(S.y1+S.y2)/2} ${S.x2},${(S.y1+S.y2)/2} ${S.x2},${S.y2}`,class:"edge",fill:"none"},null,8,wc))),128))],8,xc)),(F(!0),N(le,null,Ce(k.value,S=>{var U;return F(),N("div",{key:S.data.id,class:Y(["graph-node",{"is-selected":((U=x.value)==null?void 0:U.id)===S.data.id}]),style:$e({left:`${S.x-It/2}px`,top:`${S.y-Pt/2}px`,width:`${It}px`,"--node-color":n(S.data)}),onClick:T=>x.value=S.data},[a("span",{class:"node-dot",style:$e({background:n(S.data)})},null,4),a("span",Cc,A(S.data.label),1),S.data.provides.length?(F(),N("span",Sc,"+"+A(S.data.provides.length),1)):fe("",!0),S.data.injects.some(T=>!T.ok)?(F(),N("span",Tc,"!")):fe("",!0)],14,$c)}),128))],4)])):(F(),N("div",kc,A(vt(s)?"No components match the current provide/inject filter.":"Waiting for connection to the Nuxt app…"),1))]),x.value?(F(),N("div",Ec,[a("div",Mc,[a("span",Ac,A(x.value.label),1),a("button",{onClick:M[2]||(M[2]=S=>x.value=null)},"×")]),x.value.provides.length?(F(),N("div",Oc,[a("div",Ic,"provides ("+A(x.value.provides.length)+")",1),a("div",Pc,[(F(!0),N(le,null,Ce(x.value.provides,(S,U)=>(F(),N("div",{key:u(x.value.id,S.key,U),class:"provide-row"},[a("div",Rc,[a("span",Fc,A(S.key),1),a("span",{class:"mono text-sm muted row-value-preview",title:S.val},A(S.val),9,Lc),a("span",{class:Y(["badge",S.reactive?"badge-ok":"badge-gray"])},A(S.reactive?"reactive":"static"),3),S.complex?(F(),N("button",{key:0,class:"row-toggle mono",onClick:T=>V(u(x.value.id,S.key,U))},A(H.value.has(u(x.value.id,S.key,U))?"hide":"view"),9,Nc)):fe("",!0)]),S.complex&&H.value.has(u(x.value.id,S.key,U))?(F(),N("pre",jc,A(m(S.raw)),1)):fe("",!0)]))),128))])])):fe("",!0),x.value.injects.length?(F(),N("div",{key:1,class:"detail-section",style:$e({marginTop:x.value.provides.length?"10px":"0"})},[a("div",Dc,"injects ("+A(x.value.injects.length)+")",1),a("div",Hc,[(F(!0),N(le,null,Ce(x.value.injects,S=>(F(),N("div",{key:S.key,class:Y(["inject-row",{"inject-miss":!S.ok}])},[a("span",Vc,A(S.key),1),S.ok?(F(),N("span",Uc,"resolved")):(F(),N("span",Bc,"no provider")),a("span",{class:"mono muted text-sm row-from",title:S.from??"undefined"},A(S.from??"undefined"),9,Kc)],2))),128))])],4)):fe("",!0),!x.value.provides.length&&!x.value.injects.length?(F(),N("div",Wc," no provide/inject in this component ")):fe("",!0)])):(F(),N("div",zc,A(vt(s)?"Click a node to inspect.":"Waiting for connection to the Nuxt app…"),1))])]))}}),Jc=Ut(Gc,[["__scopeId","data-v-5ed3965a"]]),Yc={class:"view"},Xc={class:"stats-row"},Zc={class:"stat-card"},Qc={class:"stat-val"},eu={class:"stat-card"},tu={class:"stat-val",style:{color:"var(--teal)"}},su={class:"stat-card"},nu={class:"stat-val",style:{color:"var(--red)"}},iu={class:"stat-card"},ou={class:"stat-val"},lu={class:"toolbar"},ru={class:"list"},au=["onClick"],cu={class:"comp-header"},uu={class:"mono bold",style:{"font-size":"12px"}},fu={class:"muted text-sm",style:{"margin-left":"4px"}},du={class:"comp-meta"},pu={key:0,class:"muted text-sm"},hu={key:1,class:"badge badge-warn"},vu={key:2,class:"badge badge-warn"},mu={key:3,class:"badge badge-err"},gu={key:4,class:"badge badge-ok"},_u={key:5,class:"badge badge-gray"},bu={key:0,class:"leak-banner"},yu={class:"mono text-sm",style:{"min-width":"90px",color:"var(--text2)"}},xu={class:"mono text-sm muted",style:{flex:"1",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},wu={class:"badge badge-info text-xs"},$u={class:"muted text-sm",style:{"min-width":"110px"}},Cu={key:0,class:"muted text-sm",style:{padding:"16px 0"}},Su=Et({__name:"ComposableTracker",setup(e){const{composables:t,connected:s}=hs(),n=Z(()=>{const u=new Map;for(const v of t.value){const y=`${v.name}::${v.componentFile}`,_=u.get(y)??[];_.push(v),u.set(y,_)}return[...u.entries()].map(([v,y])=>{const _=[...y].sort((x,H)=>H.line-x.line)[0],w=[...new Set(y.map(x=>x.leakReason).filter(Boolean))];return{id:v,name:_.name,component:_.componentFile,instances:y.length,status:y.some(x=>x.status==="mounted")?"mounted":"unmounted",leak:y.some(x=>x.leak),leakReason:w.join(" · ")||void 0,refs:Object.entries(_.refs).map(([x,H])=>({key:x,type:H.type,val:typeof H.value=="string"?H.value:JSON.stringify(H.value)})),watchers:y.reduce((x,H)=>x+H.watcherCount,0),intervals:y.reduce((x,H)=>x+H.intervalCount,0),lifecycle:{onMounted:y.some(x=>x.lifecycle.hasOnMounted),onUnmounted:y.some(x=>x.lifecycle.hasOnUnmounted),watchersCleaned:y.every(x=>x.lifecycle.watchersCleaned),intervalsCleaned:y.every(x=>x.lifecycle.intervalsCleaned)}}})}),i=se("all"),o=se(""),l=se(null),r=Z(()=>({mounted:n.value.filter(u=>u.status==="mounted").length,leaks:n.value.filter(u=>u.leak).length})),c=Z(()=>n.value.filter(u=>{if(i.value==="leak"&&!u.leak||i.value==="unmounted"&&u.status!=="unmounted")return!1;const v=o.value.toLowerCase();return!(v&&!u.name.toLowerCase().includes(v)&&!u.component.toLowerCase().includes(v))}));function m(u){return[{label:"onMounted",ok:u.lifecycle.onMounted,status:u.lifecycle.onMounted?"registered":"not used"},{label:"onUnmounted",ok:u.lifecycle.onUnmounted,status:u.lifecycle.onUnmounted?"registered":"missing"},{label:"watchers cleaned",ok:u.lifecycle.watchersCleaned,status:u.lifecycle.watchersCleaned?"all stopped":"NOT stopped"},{label:"intervals cleared",ok:u.lifecycle.intervalsCleaned,status:u.lifecycle.intervalsCleaned?"all cleared":"NOT cleared"}]}return(u,v)=>(F(),N("div",Yc,[a("div",Xc,[a("div",Zc,[v[5]||(v[5]=a("div",{class:"stat-label"},"total",-1)),a("div",Qc,A(n.value.length),1)]),a("div",eu,[v[6]||(v[6]=a("div",{class:"stat-label"},"mounted",-1)),a("div",tu,A(r.value.mounted),1)]),a("div",su,[v[7]||(v[7]=a("div",{class:"stat-label"},"leaks",-1)),a("div",nu,A(r.value.leaks),1)]),a("div",iu,[v[8]||(v[8]=a("div",{class:"stat-label"},"instances",-1)),a("div",ou,A(n.value.reduce((y,_)=>y+_.instances,0)),1)])]),a("div",lu,[a("button",{class:Y({active:i.value==="all"}),onClick:v[0]||(v[0]=y=>i.value="all")},"all",2),a("button",{class:Y({"danger-active":i.value==="leak"}),onClick:v[1]||(v[1]=y=>i.value="leak")},"leaks only",2),a("button",{class:Y({active:i.value==="unmounted"}),onClick:v[2]||(v[2]=y=>i.value="unmounted")},"unmounted",2),js(a("input",{"onUpdate:modelValue":v[3]||(v[3]=y=>o.value=y),type:"search",placeholder:"search composable or component…",style:{"max-width":"220px","margin-left":"auto"}},null,512),[[Ks,o.value]])]),a("div",ru,[(F(!0),N(le,null,Ce(c.value,y=>(F(),N("div",{key:y.id,class:Y(["comp-card",{leak:y.leak,expanded:l.value===y.id}]),onClick:_=>l.value=l.value===y.id?null:y.id},[a("div",cu,[a("span",uu,A(y.name),1),a("span",fu,A(y.component),1),a("div",du,[y.instances>1?(F(),N("span",pu,A(y.instances)+"×",1)):fe("",!0),y.watchers>0&&!y.leak?(F(),N("span",hu,A(y.watchers)+" watcher"+A(y.watchers>1?"s":""),1)):fe("",!0),y.intervals>0&&!y.leak?(F(),N("span",vu,A(y.intervals)+" interval"+A(y.intervals>1?"s":""),1)):fe("",!0),y.leak?(F(),N("span",mu,"leak detected")):y.status==="mounted"?(F(),N("span",gu,"mounted")):(F(),N("span",_u,"unmounted"))])]),l.value===y.id?(F(),N("div",{key:0,class:"comp-detail",onClick:v[4]||(v[4]=_a(()=>{},["stop"]))},[y.leak?(F(),N("div",bu,A(y.leakReason),1)):fe("",!0),v[9]||(v[9]=a("div",{class:"section-label"},"reactive state",-1)),(F(!0),N(le,null,Ce(y.refs,_=>(F(),N("div",{key:_.key,class:"ref-row"},[a("span",yu,A(_.key),1),a("span",xu,A(_.val),1),a("span",wu,A(_.type),1)]))),128)),v[10]||(v[10]=a("div",{class:"section-label",style:{"margin-top":"8px"}},"lifecycle",-1)),(F(!0),N(le,null,Ce(m(y),_=>(F(),N("div",{key:_.label,class:"lc-row"},[a("span",{class:"lc-dot",style:$e({background:_.ok?"var(--teal)":"var(--red)"})},null,4),a("span",$u,A(_.label),1),a("span",{class:"text-sm",style:$e({color:_.ok?"var(--teal)":"var(--red)"})},A(_.status),5)]))),128))])):fe("",!0)],10,au))),128)),c.value.length?fe("",!0):(F(),N("div",Cu,A(vt(s)?"No composables recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]))}}),Tu=Ut(Su,[["__scopeId","data-v-56844e6e"]]),ku={class:"view"},Eu={class:"controls"},Mu={class:"mode-group"},Au={class:"threshold-group"},Ou={class:"mono text-sm"},Iu={class:"stats-row"},Pu={class:"stat-card"},Ru={class:"stat-val"},Fu={class:"stat-card"},Lu={class:"stat-val"},Nu={class:"stat-sub mono"},ju={class:"stat-card"},Du={class:"stat-val",style:{color:"var(--red)"}},Hu={class:"stat-card"},Vu={class:"stat-val"},Uu={class:"inspector"},Bu={class:"roots-panel"},Ku=["onClick"],Wu={class:"root-copy"},zu={class:"root-label mono"},qu={class:"root-sub muted mono"},Gu={class:"root-meta mono"},Ju={key:0,class:"detail-empty"},Yu={class:"tree-panel"},Xu={class:"tree-toolbar"},Zu=["value"],Qu={class:"tree-frame"},ef={class:"tree-canvas"},tf={key:0,class:"detail-empty"},sf={class:"detail-panel"},nf={class:"detail-header"},of={class:"mono bold",style:{"font-size":"12px"}},lf={class:"detail-pill-row"},rf={class:"detail-pill mono"},af={key:0,class:"detail-pill mono nav"},cf={class:"detail-pill mono"},uf={class:"meta-grid"},ff={class:"mono text-sm"},df={class:"mono text-sm"},pf={class:"mono text-sm muted"},hf={class:"mono text-sm"},vf={class:"mono text-sm"},mf={class:"mono text-sm"},gf={class:"meta-grid"},_f={class:"mono text-sm"},bf={class:"mono text-sm"},yf={class:"mono text-sm"},xf={class:"mono text-sm"},wf={key:0,class:"muted text-sm"},$f={key:1,class:"detail-empty"},Cf=Et({__name:"RenderHeatmap",setup(e){const t=Et({name:"TreeNode",props:{node:Object,mode:String,threshold:Number,selected:String,expandedIds:Object},emits:["select","toggle"],setup(f,{emit:d}){function b(g){return f.mode==="count"?g.renders:g.avgMs}function E(g){return b(g)>=f.threshold}function C(g){return{selected:f.selected===g.id,hot:E(g)}}return()=>{var Q,be,ye;const g=f.node,j=((Q=f.expandedIds)==null?void 0:Q.has(g.id))??!1,L=g.children.length>0,D=f.mode==="count"?`${g.renders}`:`${g.avgMs.toFixed(1)}ms`,W=f.mode==="count"?"renders":"avg",G=[],oe=(be=g.element)==null?void 0:be.toLowerCase();if(g.element&&g.element!==g.label&&!["div","span","p"].includes(oe??"")&&G.push(g.element),g.file!=="unknown"){const de=((ye=g.file.split("/").pop())==null?void 0:ye.replace(/\.vue$/i,""))??g.file;de!==g.label&&!G.includes(de)&&G.push(de)}return Ie("div",{class:"tree-node"},[Ie("div",{class:["tree-row",C(g)],style:{"--tree-depth":String(g.depth)},onClick:de=>{de.stopPropagation(),d("select",g)}},[Ie("span",{class:"tree-rail","aria-hidden":"true"}),Ie("button",{class:["tree-toggle",{empty:!L}],disabled:!L,onClick:de=>{de.stopPropagation(),L&&d("toggle",g.id)}},L?j?"⌄":"›":""),Ie("div",{class:"tree-copy"},[Ie("span",{class:"tree-name mono",title:g.label},g.label),G.length?Ie("div",{class:"tree-badges"},G.slice(0,1).map(de=>Ie("span",{class:"tree-badge mono",title:de},de))):null]),Ie("div",{class:"tree-metrics mono"},[g.navigationRenders?Ie("span",{class:"tree-nav-pill"},`${g.navigationRenders} nav`):null,Ie("span",{class:"tree-metric-pill"},`${D} ${W}`)])]),j&&L?Ie("div",{class:"tree-children"},g.children.map(de=>Ie(t,{node:de,mode:f.mode,threshold:f.threshold,selected:f.selected,expandedIds:f.expandedIds,onSelect:Oe=>d("select",Oe),onToggle:Oe=>d("toggle",Oe)}))):null])}}}),{renders:s,connected:n}=hs(),i=se("count"),o=se(5),l=se(!1),r=se(!1),c=se(""),m=se(null),u=se(null),v=se(new Set),y=se([]),_=se(!1);function w(f){var b;if(f.name&&f.name!=="unknown"&&!/^Component#\d+$/.test(f.name))return f.name;if(f.element)return f.element;const d=(b=f.file.split("/").pop())==null?void 0:b.replace(/\.vue$/i,"");return d&&d!=="unknown"?d:f.name&&f.name!=="unknown"?f.name:`Component#${f.uid}`}function x(f){return`${f.type}: ${f.key}`}function H(f){const d=new Map;for(const C of f)d.set(String(C.uid),{id:String(C.uid),label:w(C),file:C.file,element:C.element,depth:0,path:[],renders:C.renders,navigationRenders:Number.isFinite(C.navigationRenders)?C.navigationRenders:0,avgMs:C.avgMs,triggers:C.triggers.map(x),children:[],parentId:C.parentUid!==void 0?String(C.parentUid):void 0});const b=[];for(const C of f){const g=d.get(String(C.uid));if(!g)continue;const j=C.parentUid!==void 0?d.get(String(C.parentUid)):void 0;j?(g.parentLabel=j.label,j.children.push(g)):b.push(g)}function E(C,g=[],j=0){C.depth=j,C.path=[...g,C.label],C.children.forEach(L=>E(L,C.path,j+1))}return b.forEach(C=>E(C)),b}function V(f){const d=[];function b(E){d.push(E),E.children.forEach(b)}return f.forEach(b),d}function K(f){return 1+f.children.reduce((d,b)=>d+K(b),0)}function P(f,d=new Set){return d.add(f.id),f.children.forEach(b=>P(b,d)),d}function k(f,d,b=[]){const E=[...b,f.id];if(f.id===d)return E;for(const C of f.children){const g=k(C,d,E);if(g)return g}return null}function I(f){if(M(f))return f;for(const d of f.children){const b=I(d);if(b)return b}return null}function X(f){return f?new Set([f.id]):new Set}function ve(f,d){const b=X(f);if(!f||!d)return b;function E(C){const g=C.children.some(L=>E(L)),j=S(C,d);return g&&b.add(C.id),j||g}return E(f),b}function R(f){return i.value==="count"?f.renders:f.avgMs}function M(f){return R(f)>=o.value}function S(f,d){if(!d)return!0;const b=d.toLowerCase();return f.label.toLowerCase().includes(b)||f.file.toLowerCase().includes(b)||f.path.some(E=>E.toLowerCase().includes(b))||f.triggers.some(E=>E.toLowerCase().includes(b))}function U(f,d){return d?S(f,d)||f.children.some(b=>U(b,d)):!0}function T(f){return M(f)||f.children.some(d=>T(d))}function z(f,d){const b=U(f,d),E=!l.value||T(f);return b&&E}function ie(f,d){const b=f.children.map(g=>ie(g,d)).filter(g=>g!==null),E=!d||S(f,d)||b.length>0,C=!l.value||M(f)||b.length>0;return!E||!C?null:{...f,children:b}}const me=Z(()=>r.value?y.value:s.value),ce=Z(()=>H(me.value)),re=Z(()=>new Map(ce.value.map(f=>[f.id,f]))),J=Z(()=>V(ce.value)),xe=Z(()=>{const f=c.value.trim();return ce.value.filter(d=>z(d,f))}),_e=Z(()=>u.value?xe.value.find(f=>f.id===u.value)??re.value.get(u.value)??null:xe.value[0]??ce.value[0]??null),We=Z(()=>{const f=c.value.trim();return _e.value?ie(_e.value,f):null}),Fe=Z(()=>We.value?[We.value]:[]),Bt=Z(()=>xe.value.map((f,d)=>({id:f.id,label:`App ${d+1}`,meta:`${K(f)} nodes`,root:f}))),pe=Z(()=>J.value.find(f=>f.id===m.value)??null),Ws=Z(()=>J.value.reduce((f,d)=>f+d.renders,0)),gt=Z(()=>J.value.reduce((f,d)=>f+(Number.isFinite(d.navigationRenders)?d.navigationRenders:0),0)),At=Z(()=>J.value.filter(f=>M(f)).length),Kt=Z(()=>{const f=J.value.filter(d=>d.avgMs>0);return f.length?(f.reduce((d,b)=>d+b.avgMs,0)/f.length).toFixed(1):"0.0"});ht(ce,f=>{if(!f.length){u.value=null,m.value=null,v.value=new Set,_.value=!1;return}const d=new Set(f.map(C=>C.id));(!u.value||!d.has(u.value))&&(u.value=f[0].id),m.value&&!J.value.some(C=>C.id===m.value)&&(m.value=null);const b=new Set(J.value.map(C=>C.id)),E=new Set([...v.value].filter(C=>b.has(C)));if(!_.value){v.value=X(_e.value),_.value=!0;return}!c.value.trim()&&m.value&&_e.value&&(k(_e.value,m.value)??[]).forEach(g=>E.add(g)),v.value=E},{immediate:!0}),ht(c,f=>{if(!_e.value)return;const d=f.trim();if(d){v.value=ve(_e.value,d);return}if(m.value){const b=k(_e.value,m.value);v.value=b?new Set(b):X(_e.value);return}v.value=X(_e.value)}),ht([l,o,i,xe],()=>{if(!l.value)return;const f=xe.value[0]??null;if(!f){m.value=null;return}const d=I(f);if(!d){m.value=null;return}u.value=f.id,m.value!==d.id&&(m.value=d.id),v.value=new Set(k(f,d.id)??[f.id])});function vs(f){m.value=f.id;const d=ce.value.find(b=>P(b).has(f.id));d&&(u.value=d.id,v.value=new Set(k(d,f.id)??[d.id]))}function _t(f){const d=new Set(v.value);d.has(f)?d.delete(f):d.add(f),v.value=d}function Ln(f){u.value=f.id,v.value=X(f),_.value=!0}function p(f){const d=f.target;c.value=(d==null?void 0:d.value)??""}function h(){if(r.value){r.value=!1,y.value=[];return}y.value=JSON.parse(JSON.stringify(s.value)),r.value=!0}function $(f){var d;return((d=f.split("/").pop())==null?void 0:d.replace(/\.vue$/i,""))??f}function O(f){return f.path.join(" / ")}return(f,d)=>(F(),N("div",ku,[a("div",Eu,[a("div",Mu,[a("button",{class:Y({active:i.value==="count"}),onClick:d[0]||(d[0]=b=>i.value="count")},"render count",2),a("button",{class:Y({active:i.value==="time"}),onClick:d[1]||(d[1]=b=>i.value="time")},"render time",2)]),a("div",Au,[d[5]||(d[5]=a("span",{class:"muted text-sm"},"threshold",-1)),js(a("input",{"onUpdate:modelValue":d[2]||(d[2]=b=>o.value=b),type:"range",min:"1",max:"30",step:"1",style:{width:"90px"}},null,512),[[Ks,o.value,void 0,{number:!0}]]),a("span",Ou,A(o.value)+"+",1)]),a("button",{class:Y({active:l.value}),onClick:d[3]||(d[3]=b=>l.value=!l.value)},"hot only",2),a("button",{class:Y({active:r.value}),style:{"margin-left":"auto"},onClick:h},A(r.value?"unfreeze":"freeze snapshot"),3)]),a("div",Iu,[a("div",Pu,[d[6]||(d[6]=a("div",{class:"stat-label"},"components",-1)),a("div",Ru,A(J.value.length),1)]),a("div",Fu,[d[7]||(d[7]=a("div",{class:"stat-label"},"total renders",-1)),a("div",Lu,A(Ws.value),1),a("div",Nu,A(gt.value)+" nav",1)]),a("div",ju,[d[8]||(d[8]=a("div",{class:"stat-label"},"hot",-1)),a("div",Du,A(At.value),1)]),a("div",Hu,[d[9]||(d[9]=a("div",{class:"stat-label"},"avg time",-1)),a("div",Vu,A(Kt.value)+"ms",1)])]),a("div",Uu,[a("aside",Bu,[d[10]||(d[10]=a("div",{class:"panel-title"},"apps",-1)),(F(!0),N(le,null,Ce(Bt.value,b=>(F(),N("button",{key:b.id,class:Y(["root-item",{active:u.value===b.id}]),onClick:E=>Ln(b.root)},[a("div",Wu,[a("span",zu,A(b.label),1),a("span",qu,A(b.root.label),1)]),a("span",Gu,A(b.meta),1)],10,Ku))),128)),Bt.value.length?fe("",!0):(F(),N("div",Ju,"no apps match"))]),a("section",Yu,[a("div",Xu,[a("input",{value:c.value,class:"search-input mono",placeholder:"Find components...",onInput:p},null,40,Zu)]),a("div",Qu,[a("div",ef,[(F(!0),N(le,null,Ce(Fe.value,b=>{var E;return F(),Ct(vt(t),{key:b.id,node:b,mode:i.value,threshold:o.value,selected:(E=pe.value)==null?void 0:E.id,"expanded-ids":v.value,onSelect:vs,onToggle:_t},null,8,["node","mode","threshold","selected","expanded-ids"])}),128))]),Fe.value.length?fe("",!0):(F(),N("div",tf,A(vt(n)?"No render activity recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]),a("aside",sf,[pe.value?(F(),N(le,{key:0},[a("div",nf,[a("span",of,A(pe.value.label),1),a("button",{onClick:d[4]||(d[4]=b=>m.value=null)},"×")]),a("div",lf,[a("span",rf,A(pe.value.renders)+" renders",1),pe.value.navigationRenders?(F(),N("span",af,A(pe.value.navigationRenders)+" nav",1)):fe("",!0),a("span",cf,A(pe.value.avgMs.toFixed(1))+"ms avg",1),a("span",{class:Y(["detail-pill mono",{hot:M(pe.value)}])},A(M(pe.value)?"hot":"cool"),3)]),d[21]||(d[21]=a("div",{class:"section-label"},"identity",-1)),a("div",uf,[d[11]||(d[11]=a("span",{class:"muted text-sm"},"label",-1)),a("span",ff,A(pe.value.label),1),d[12]||(d[12]=a("span",{class:"muted text-sm"},"path",-1)),a("span",df,A(O(pe.value)),1),d[13]||(d[13]=a("span",{class:"muted text-sm"},"file",-1)),a("span",pf,A(pe.value.file),1),d[14]||(d[14]=a("span",{class:"muted text-sm"},"file name",-1)),a("span",hf,A($(pe.value.file)),1),d[15]||(d[15]=a("span",{class:"muted text-sm"},"parent",-1)),a("span",vf,A(pe.value.parentLabel??"none"),1),d[16]||(d[16]=a("span",{class:"muted text-sm"},"children",-1)),a("span",mf,A(pe.value.children.length),1)]),d[22]||(d[22]=a("div",{class:"section-label"},"rendering",-1)),a("div",gf,[d[17]||(d[17]=a("span",{class:"muted text-sm"},"mode value",-1)),a("span",_f,A(i.value==="count"?pe.value.renders:`${pe.value.avgMs.toFixed(1)}ms`),1),d[18]||(d[18]=a("span",{class:"muted text-sm"},"navigation renders",-1)),a("span",bf,A(pe.value.navigationRenders),1),d[19]||(d[19]=a("span",{class:"muted text-sm"},"threshold",-1)),a("span",yf,A(o.value),1),d[20]||(d[20]=a("span",{class:"muted text-sm"},"selected mode",-1)),a("span",xf,A(i.value==="count"?"render count":"render time"),1)]),d[23]||(d[23]=a("div",{class:"section-label"},"triggers",-1)),(F(!0),N(le,null,Ce(pe.value.triggers,b=>(F(),N("div",{key:b,class:"trigger-item mono text-sm"},A(b),1))),128)),pe.value.triggers.length?fe("",!0):(F(),N("div",wf,"no triggers recorded"))],64)):(F(),N("div",$f,"click a component to inspect"))])])]))}}),Sf=Ut(Cf,[["__scopeId","data-v-0e0b02cb"]]),Tf={class:"timeline-root"},kf={class:"stats-row"},Ef={class:"stat-card"},Mf={class:"stat-val"},Af={class:"stat-card"},Of={class:"stat-val",style:{color:"var(--purple)"}},If={class:"stat-card"},Pf={class:"stat-val",style:{color:"var(--red)"}},Rf={class:"stat-card"},Ff={class:"stat-val"},Lf={class:"toolbar"},Nf={class:"filter-group"},jf={class:"content-area"},Df={class:"data-table"},Hf=["onClick"],Vf={class:"mono",style:{"font-size":"11px","font-weight":"500"}},Uf={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},Bf={class:"muted",style:{"font-size":"11px"}},Kf={class:"bar-cell"},Wf={class:"bar-track"},zf={key:0},qf={colspan:"6",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},Gf={key:0,class:"detail-panel"},Jf={class:"panel-header"},Yf={class:"panel-title"},Xf={class:"panel-section"},Zf={class:"panel-row"},Qf={class:"panel-row"},ed={class:"panel-row"},td={class:"panel-val mono"},sd={key:0,class:"panel-row"},nd={class:"panel-val mono"},id={class:"panel-section"},od={class:"panel-row"},ld={class:"panel-val mono"},rd={class:"panel-row"},ad={class:"panel-val mono"},cd={class:"panel-row"},ud={class:"panel-val mono",style:{"font-weight":"500"}},fd={class:"panel-section"},dd={class:"panel-row"},pd={class:"panel-row"},hd={key:0,class:"cancel-notice"},vd={key:1,class:"active-notice"},md=Et({__name:"TransitionTimeline",setup(e){const{transitions:t,connected:s}=hs(),n=se("all"),i=se(""),o=se(null),l=Z(()=>{let _=[...t.value];if(i.value){const w=i.value.toLowerCase();_=_.filter(x=>x.transitionName.toLowerCase().includes(w)||x.parentComponent.toLowerCase().includes(w))}return n.value==="cancelled"?_=_.filter(w=>w.cancelled||w.phase==="interrupted"):n.value==="active"?_=_.filter(w=>w.phase==="entering"||w.phase==="leaving"):n.value==="completed"&&(_=_.filter(w=>w.phase==="entered"||w.phase==="left")),_.sort((w,x)=>{const H=w.endTime??w.startTime;return(x.endTime??x.startTime)-H})}),r=Z(()=>({total:t.value.length,active:t.value.filter(_=>_.phase==="entering"||_.phase==="leaving").length,cancelled:t.value.filter(_=>_.cancelled||_.phase==="interrupted").length,avgMs:(()=>{const _=t.value.filter(w=>w.durationMs!==void 0);return _.length?Math.round(_.reduce((w,x)=>w+(x.durationMs??0),0)/_.length):0})()})),c=Z(()=>{const _=l.value;if(!_.length)return[];const w=Math.min(..._.map(V=>V.startTime)),x=Math.max(..._.map(V=>V.endTime??V.startTime+400)),H=Math.max(x-w,1);return _.map(V=>({left:(V.startTime-w)/H*100,width:((V.endTime??V.startTime+80)-V.startTime)/H*100}))});function m(_){return _==="entering"||_==="leaving"?"#7f77dd":_==="entered"?"#1d9e75":_==="left"?"#378add":_==="enter-cancelled"||_==="leave-cancelled"?"#e24b4a":_==="interrupted"?"#e09a3a":"#888"}function u(_){return _==="entering"||_==="leaving"?"badge-purple":_==="entered"||_==="left"?"badge-ok":_.includes("cancelled")?"badge-err":_==="interrupted"?"badge-warn":"badge-gray"}function v(_){return _.appear?"✦ appear":_.direction==="enter"?"→ enter":"← leave"}function y(_){return _.appear?"var(--amber)":_.direction==="enter"?"var(--teal)":"var(--blue)"}return(_,w)=>(F(),N("div",Tf,[a("div",kf,[a("div",Ef,[a("div",Mf,A(r.value.total),1),w[6]||(w[6]=a("div",{class:"stat-label"},"total",-1))]),a("div",Af,[a("div",Of,A(r.value.active),1),w[7]||(w[7]=a("div",{class:"stat-label"},"active",-1))]),a("div",If,[a("div",Pf,A(r.value.cancelled),1),w[8]||(w[8]=a("div",{class:"stat-label"},"cancelled",-1))]),a("div",Rf,[a("div",Ff,[pt(A(r.value.avgMs)+" ",1),w[9]||(w[9]=a("span",{class:"stat-unit"},"ms",-1))]),w[10]||(w[10]=a("div",{class:"stat-label"},"avg duration",-1))])]),a("div",Lf,[js(a("input",{"onUpdate:modelValue":w[0]||(w[0]=x=>i.value=x),type:"search",placeholder:"filter by name or component…",class:"search-input"},null,512),[[Ks,i.value]]),a("div",Nf,[a("button",{class:Y({active:n.value==="all"}),onClick:w[1]||(w[1]=x=>n.value="all")},"All",2),a("button",{class:Y({active:n.value==="active"}),onClick:w[2]||(w[2]=x=>n.value="active")},"Active",2),a("button",{class:Y({active:n.value==="completed"}),onClick:w[3]||(w[3]=x=>n.value="completed")},"Completed",2),a("button",{class:Y({active:n.value==="cancelled","danger-active":n.value==="cancelled"}),onClick:w[4]||(w[4]=x=>n.value="cancelled")}," Cancelled ",2)])]),a("div",jf,[a("div",{class:Y(["table-pane",{"has-panel":o.value}])},[a("table",Df,[w[11]||(w[11]=a("thead",null,[a("tr",null,[a("th",{style:{width:"110px"}},"NAME"),a("th",{style:{width:"80px"}},"DIR"),a("th",{style:{width:"90px"}},"PHASE"),a("th",{style:{width:"70px"}},"DURATION"),a("th",null,"COMPONENT"),a("th",null,"TIMELINE")])],-1)),a("tbody",null,[(F(!0),N(le,null,Ce(l.value,(x,H)=>{var V,K,P;return F(),N("tr",{key:x.id,class:Y({selected:((V=o.value)==null?void 0:V.id)===x.id}),onClick:k=>{var I;return o.value=((I=o.value)==null?void 0:I.id)===x.id?null:x}},[a("td",null,[a("span",Vf,A(x.transitionName),1)]),a("td",null,[a("span",{class:"mono",style:$e([{"font-size":"11px"},{color:y(x)}])},A(v(x)),5)]),a("td",null,[a("span",{class:Y(["badge",u(x.phase)])},A(x.phase),3)]),a("td",Uf,A(x.durationMs!==void 0?x.durationMs+"ms":"—"),1),a("td",Bf,A(x.parentComponent),1),a("td",Kf,[a("div",Wf,[a("div",{class:"bar-fill",style:$e({left:((K=c.value[H])==null?void 0:K.left)+"%",width:Math.max(((P=c.value[H])==null?void 0:P.width)??1,1)+"%",background:m(x.phase),opacity:x.phase==="entering"||x.phase==="leaving"?"0.55":"1"})},null,4)])])],10,Hf)}),128)),l.value.length?fe("",!0):(F(),N("tr",zf,[a("td",qf,A(vt(s)?"No transitions recorded yet — trigger one on the page.":"Waiting for connection to the Nuxt app…"),1)]))])])],2),Ae(Gr,{name:"panel-slide"},{default:so(()=>[o.value?(F(),N("aside",Gf,[a("div",Jf,[a("span",Yf,A(o.value.transitionName),1),a("button",{class:"close-btn",onClick:w[5]||(w[5]=x=>o.value=null)},"✕")]),a("div",Xf,[a("div",Zf,[w[12]||(w[12]=a("span",{class:"panel-key"},"Direction",-1)),a("span",{class:"panel-val",style:$e({color:y(o.value)})},A(v(o.value)),5)]),a("div",Qf,[w[13]||(w[13]=a("span",{class:"panel-key"},"Phase",-1)),a("span",{class:Y(["badge",u(o.value.phase)])},A(o.value.phase),3)]),a("div",ed,[w[14]||(w[14]=a("span",{class:"panel-key"},"Component",-1)),a("span",td,A(o.value.parentComponent),1)]),o.value.mode?(F(),N("div",sd,[w[15]||(w[15]=a("span",{class:"panel-key"},"Mode",-1)),a("span",nd,A(o.value.mode),1)])):fe("",!0)]),a("div",id,[w[19]||(w[19]=a("div",{class:"panel-section-title"},"Timing",-1)),a("div",od,[w[16]||(w[16]=a("span",{class:"panel-key"},"Start",-1)),a("span",ld,A(o.value.startTime.toFixed(2))+"ms",1)]),a("div",rd,[w[17]||(w[17]=a("span",{class:"panel-key"},"End",-1)),a("span",ad,A(o.value.endTime!==void 0?o.value.endTime.toFixed(2)+"ms":"—"),1)]),a("div",cd,[w[18]||(w[18]=a("span",{class:"panel-key"},"Duration",-1)),a("span",ud,A(o.value.durationMs!==void 0?o.value.durationMs+"ms":o.value.phase==="interrupted"?"interrupted":"in progress"),1)])]),a("div",fd,[w[22]||(w[22]=a("div",{class:"panel-section-title"},"Flags",-1)),a("div",dd,[w[20]||(w[20]=a("span",{class:"panel-key"},"Appear",-1)),a("span",{class:"panel-val",style:$e({color:o.value.appear?"var(--amber)":"var(--text3)"})},A(o.value.appear?"yes":"no"),5)]),a("div",pd,[w[21]||(w[21]=a("span",{class:"panel-key"},"Cancelled",-1)),a("span",{class:"panel-val",style:$e({color:o.value.cancelled?"var(--red)":"var(--text3)"})},A(o.value.cancelled?"yes":"no"),5)])]),o.value.cancelled?(F(),N("div",hd,[...w[23]||(w[23]=[pt(" This transition was cancelled mid-flight. The element may be stuck in a partial animation state if the interruption was not handled with ",-1),a("code",null,"onEnterCancelled",-1),pt(" / ",-1),a("code",null,"onLeaveCancelled",-1),pt(" . ",-1)])])):fe("",!0),o.value.phase==="entering"||o.value.phase==="leaving"?(F(),N("div",vd,[...w[24]||(w[24]=[pt(" Transition is currently in progress. If it stays in this state longer than expected, the ",-1),a("code",null,"done()",-1),pt(" callback may not be getting called (JS-mode transition stall). ",-1)])])):fe("",!0)])):fe("",!0)]),_:1})])]))}}),gd=Ut(md,[["__scopeId","data-v-e629b6b5"]]),_d={id:"app-root"},bd={class:"tabbar"},yd=["onClick"],xd={class:"tab-icon"},wd={class:"tab-content"},$d=Et({__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=se(t[s]??"fetch"),i=[{id:"fetch",label:"useFetch",icon:"⬡"},{id:"provide",label:"provide/inject",icon:"⬡"},{id:"composable",label:"Composables",icon:"⬡"},{id:"heatmap",label:"Heatmap",icon:"⬡"},{id:"transitions",label:"Transitions",icon:"⬡"}];return(o,l)=>(F(),N("div",_d,[a("nav",bd,[l[0]||(l[0]=a("div",{class:"tabbar-brand"},"observatory",-1)),(F(),N(le,null,Ce(i,r=>a("button",{key:r.id,class:Y(["tab-btn",{active:n.value===r.id}]),onClick:c=>n.value=r.id},[a("span",xd,A(r.icon),1),pt(" "+A(r.label),1)],10,yd)),64))]),a("main",wd,[n.value==="fetch"?(F(),Ct(hc,{key:0})):n.value==="provide"?(F(),Ct(Jc,{key:1})):n.value==="composable"?(F(),Ct(Tu,{key:2})):n.value==="heatmap"?(F(),Ct(Sf,{key:3})):n.value==="transitions"?(F(),Ct(gd,{key:4})):fe("",!0)])]))}}),Cd=Ut($d,[["__scopeId","data-v-08e3ddb5"]]);xa(Cd).mount("#app");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.view[data-v-8c1465c0]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-8c1465c0]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-8c1465c0]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-8c1465c0]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.table-wrap[data-v-8c1465c0]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg)}.detail-panel[data-v-8c1465c0]{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-8c1465c0]{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-8c1465c0]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-8c1465c0]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:11px}.section-label[data-v-8c1465c0]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px}.payload-box[data-v-8c1465c0]{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-8c1465c0]{flex-shrink:0;background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px}.waterfall-header[data-v-8c1465c0]{display:flex;align-items:center;justify-content:space-between;gap:8px}.waterfall-body[data-v-8c1465c0]{margin-top:6px}.wf-row[data-v-8c1465c0]{display:flex;align-items:center;gap:8px;margin-bottom:4px}.wf-track[data-v-8c1465c0]{flex:1;position:relative;height:8px;background:var(--bg2);border-radius:2px;overflow:hidden}.wf-bar[data-v-8c1465c0]{position:absolute;top:0;height:100%;border-radius:2px;opacity:.8}.view[data-v-5ed3965a]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.toolbar[data-v-5ed3965a]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-5ed3965a]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.graph-area[data-v-5ed3965a]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-5ed3965a]{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--text2);margin-bottom:12px}.canvas-stage[data-v-5ed3965a]{display:flex;justify-content:center;align-items:flex-start;min-width:100%}.dot[data-v-5ed3965a]{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px}.canvas-wrap[data-v-5ed3965a]{position:relative}.edges-svg[data-v-5ed3965a]{position:absolute;top:0;left:0;pointer-events:none}.edge[data-v-5ed3965a]{stroke:var(--border);stroke-width:1.5}.graph-node[data-v-5ed3965a]{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-5ed3965a]:hover{border-color:var(--text3)}.graph-node.is-selected[data-v-5ed3965a]{border-color:var(--node-color);background:color-mix(in srgb,var(--node-color) 8%,transparent)}.node-dot[data-v-5ed3965a]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.node-label[data-v-5ed3965a]{font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis}.badge-xs[data-v-5ed3965a]{font-size:9px;padding:1px 4px}.detail-panel[data-v-5ed3965a]{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-5ed3965a]{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-5ed3965a]{display:flex;align-items:center;justify-content:center;min-height:180px;color:var(--text3);font-size:12px}.detail-header[data-v-5ed3965a]{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.section-label[data-v-5ed3965a]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin:8px 0 5px}.detail-section[data-v-5ed3965a]{display:flex;flex-direction:column;min-height:0}.detail-list[data-v-5ed3965a]{display:flex;flex-direction:column;gap:3px;overflow:auto;max-height:220px;padding-right:2px}.provide-row[data-v-5ed3965a]{display:flex;flex-direction:column;gap:6px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-main[data-v-5ed3965a]{display:flex;align-items:center;gap:8px;min-width:0}.row-key[data-v-5ed3965a]{min-width:100px;color:var(--text2);flex-shrink:0}.row-value-preview[data-v-5ed3965a]{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row-toggle[data-v-5ed3965a]{padding:2px 8px;font-size:10px}.value-box[data-v-5ed3965a]{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-5ed3965a]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.row-from[data-v-5ed3965a]{margin-left:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.inject-miss[data-v-5ed3965a]{background:#e24b4a14}.view[data-v-56844e6e]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-56844e6e]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-56844e6e]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.list[data-v-56844e6e]{flex:1;overflow:auto;display:flex;flex-direction:column;gap:6px;min-height:0}.comp-card[data-v-56844e6e]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer;flex-shrink:0}.comp-card[data-v-56844e6e]:hover{border-color:var(--text3)}.comp-card.leak[data-v-56844e6e]{border-left:2px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0}.comp-card.expanded[data-v-56844e6e]{border-color:var(--purple)}.comp-header[data-v-56844e6e]{display:flex;align-items:center;gap:8px;padding:9px 13px;min-height:44px}.comp-meta[data-v-56844e6e]{display:flex;align-items:center;gap:6px;margin-left:auto}.comp-detail[data-v-56844e6e]{border-top:.5px solid var(--border);padding:10px 13px}.leak-banner[data-v-56844e6e]{background:#e24b4a1a;border-radius:var(--radius);padding:7px 10px;font-size:12px;color:var(--red);margin-bottom:8px}.section-label[data-v-56844e6e]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-bottom:5px}.ref-row[data-v-56844e6e]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.lc-row[data-v-56844e6e]{display:flex;align-items:center;gap:8px;padding:4px 0}.lc-dot[data-v-56844e6e]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.view[data-v-0e0b02cb]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.controls[data-v-0e0b02cb]{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.mode-group[data-v-0e0b02cb]{display:flex;gap:2px}.threshold-group[data-v-0e0b02cb]{display:flex;align-items:center;gap:6px}.stats-row[data-v-0e0b02cb]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.stat-sub[data-v-0e0b02cb]{margin-top:4px;font-size:11px;color:var(--text3)}.inspector[data-v-0e0b02cb]{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-0e0b02cb],.tree-panel[data-v-0e0b02cb],.detail-panel[data-v-0e0b02cb]{border:.5px solid var(--border);border-radius:var(--radius-lg);background:var(--bg3);min-height:0}.roots-panel[data-v-0e0b02cb],.detail-panel[data-v-0e0b02cb]{display:flex;flex-direction:column;overflow:auto;padding:12px;gap:8px}.panel-title[data-v-0e0b02cb]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3)}.root-item[data-v-0e0b02cb]{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-0e0b02cb]{border-color:var(--teal);background:color-mix(in srgb,var(--teal) 16%,var(--bg2))}.root-label[data-v-0e0b02cb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.root-copy[data-v-0e0b02cb]{display:flex;flex-direction:column;min-width:0}.root-sub[data-v-0e0b02cb]{font-size:11px}.root-meta[data-v-0e0b02cb]{color:var(--text3);font-size:11px}.tree-panel[data-v-0e0b02cb]{display:flex;flex-direction:column;overflow:hidden}.tree-toolbar[data-v-0e0b02cb]{padding:12px;border-bottom:.5px solid var(--border)}.search-input[data-v-0e0b02cb]{width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg2);color:var(--text)}.tree-frame[data-v-0e0b02cb]{flex:1;min-height:0;overflow:auto;padding:12px}[data-v-0e0b02cb] .tree-canvas{display:inline-block;min-width:100%;width:max-content}[data-v-0e0b02cb] .tree-node{margin-bottom:4px}[data-v-0e0b02cb] .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-0e0b02cb] .tree-row:hover{background:var(--bg2)}[data-v-0e0b02cb] .tree-row.selected{background:color-mix(in srgb,var(--teal) 12%,var(--bg2));border-color:var(--teal)}[data-v-0e0b02cb] .tree-row.hot{box-shadow:inset 2px 0 0 var(--red)}[data-v-0e0b02cb] .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-0e0b02cb] .tree-toggle:disabled{cursor:default}[data-v-0e0b02cb] .tree-toggle.empty{opacity:0}[data-v-0e0b02cb] .tree-rail{display:block;width:2px;height:14px;border-radius:999px;background:color-mix(in srgb,var(--border) 75%,transparent)}[data-v-0e0b02cb] .tree-copy{display:flex;align-items:center;min-width:0;gap:6px;overflow:hidden}[data-v-0e0b02cb] .tree-name{font-size:12px;color:var(--text);min-width:0;overflow:hidden;text-overflow:ellipsis}[data-v-0e0b02cb] .tree-badges{display:flex;gap:6px;flex-shrink:0;overflow:hidden}[data-v-0e0b02cb] .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-0e0b02cb] .tree-metrics{display:flex;align-items:center;min-width:92px;justify-content:flex-end;flex-shrink:0;gap:6px}[data-v-0e0b02cb] .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-0e0b02cb] .tree-nav-pill{display:inline-flex;align-items:center;justify-content:center;min-width:54px;padding:2px 8px;border:1px solid color-mix(in srgb,var(--purple) 55%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--purple) 10%,var(--bg2));font-size:10px;color:color-mix(in srgb,var(--purple) 70%,white)}[data-v-0e0b02cb] .tree-children{margin-left:7px;padding-left:11px;border-left:1px solid color-mix(in srgb,var(--border) 72%,transparent)}.detail-empty[data-v-0e0b02cb]{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text3);font-size:12px}.detail-header[data-v-0e0b02cb]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-0e0b02cb]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.detail-pill-row[data-v-0e0b02cb]{display:flex;flex-wrap:wrap;gap:6px}.detail-pill[data-v-0e0b02cb]{border:1px solid var(--border);border-radius:999px;padding:4px 8px;background:var(--bg2);font-size:11px}.detail-pill.hot[data-v-0e0b02cb]{border-color:color-mix(in srgb,var(--red) 50%,var(--border));color:var(--red)}.detail-pill.nav[data-v-0e0b02cb]{border-color:color-mix(in srgb,var(--purple) 55%,var(--border));color:color-mix(in srgb,var(--purple) 70%,white)}.section-label[data-v-0e0b02cb]{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-0e0b02cb]{background:var(--bg2);border-radius:var(--radius);padding:4px 8px;margin-bottom:3px;color:var(--text2)}@media(max-width:1180px){.inspector[data-v-0e0b02cb]{grid-template-columns:minmax(200px,240px) minmax(0,1fr)}.detail-panel[data-v-0e0b02cb]{grid-column:1 / -1;max-height:220px}}.timeline-root[data-v-e629b6b5]{display:flex;flex-direction:column;height:100%;overflow:hidden}.stats-row[data-v-e629b6b5]{display:flex;gap:10px;padding:12px 14px 0;flex-shrink:0}.stat-card[data-v-e629b6b5]{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-e629b6b5]{font-size:20px;font-weight:600;font-family:var(--mono);line-height:1.1}.stat-unit[data-v-e629b6b5]{font-size:12px;opacity:.6;margin-left:1px}.stat-label[data-v-e629b6b5]{font-size:10px;color:var(--text3);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}.toolbar[data-v-e629b6b5]{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-shrink:0;border-bottom:.5px solid var(--border)}.search-input[data-v-e629b6b5]{flex:1;max-width:260px}.filter-group[data-v-e629b6b5]{display:flex;gap:4px}.content-area[data-v-e629b6b5]{display:flex;flex:1;overflow:hidden;min-height:0}.table-pane[data-v-e629b6b5]{flex:1;overflow:hidden auto;min-width:0}.bar-cell[data-v-e629b6b5]{width:200px;padding:4px 8px}.bar-track[data-v-e629b6b5]{position:relative;height:8px;background:var(--bg2);border-radius:4px;overflow:hidden}.bar-fill[data-v-e629b6b5]{position:absolute;top:0;height:100%;min-width:3px;border-radius:4px;transition:width .15s}.detail-panel[data-v-e629b6b5]{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-e629b6b5]{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-e629b6b5]{font-family:var(--mono);font-size:13px;font-weight:500}.close-btn[data-v-e629b6b5]{border:none;background:transparent;color:var(--text3);font-size:11px;padding:2px 6px;cursor:pointer}.panel-section[data-v-e629b6b5]{padding:10px 14px 6px;border-bottom:.5px solid var(--border)}.panel-section-title[data-v-e629b6b5]{font-size:10px;font-weight:500;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.panel-row[data-v-e629b6b5]{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 0;font-size:12px}.panel-key[data-v-e629b6b5]{color:var(--text3);flex-shrink:0}.panel-val[data-v-e629b6b5]{color:var(--text);text-align:right;word-break:break-all}.cancel-notice[data-v-e629b6b5],.active-notice[data-v-e629b6b5]{margin:10px 14px 0;font-size:11px;line-height:1.6;padding:8px 10px;border-radius:var(--radius)}.cancel-notice[data-v-e629b6b5]{background:#e24b4a1a;color:var(--red);border:.5px solid rgb(226 75 74 / 30%)}.active-notice[data-v-e629b6b5]{background:#7f77dd1a;color:var(--purple);border:.5px solid rgb(127 119 221 / 30%)}code[data-v-e629b6b5]{font-family:var(--mono);font-size:10px;background:#00000026;padding:1px 4px;border-radius:3px}.panel-slide-enter-active[data-v-e629b6b5],.panel-slide-leave-active[data-v-e629b6b5]{transition:transform .18s ease,opacity .18s ease}.panel-slide-enter-from[data-v-e629b6b5],.panel-slide-leave-to[data-v-e629b6b5]{transform:translate(12px);opacity:0}#app-root[data-v-08e3ddb5]{display:flex;flex-direction:column;height:100vh;overflow:hidden}.tabbar[data-v-08e3ddb5]{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-08e3ddb5]{font-size:11px;font-weight:500;color:var(--purple);letter-spacing:.5px;margin-right:12px;padding-bottom:8px}.tab-btn[data-v-08e3ddb5]{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-08e3ddb5]:hover{color:var(--text);background:transparent}.tab-btn.active[data-v-08e3ddb5]{color:var(--purple);border-bottom-color:var(--purple)}.tab-icon[data-v-08e3ddb5]{font-size:10px;opacity:.6}.tab-content[data-v-08e3ddb5]{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--Igqz_EM.js"></script>
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BoC4M4Nb.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="app"></div>
|
|
@@ -76,6 +76,7 @@ export interface RenderEntry {
|
|
|
76
76
|
file: string
|
|
77
77
|
element?: string
|
|
78
78
|
renders: number
|
|
79
|
+
navigationRenders: number
|
|
79
80
|
totalMs: number
|
|
80
81
|
avgMs: number
|
|
81
82
|
triggers: Array<{ key: string; type: string; timestamp: number }>
|
|
@@ -120,6 +121,15 @@ function cloneArray<T>(value: T[] | undefined): T[] {
|
|
|
120
121
|
return value ? value.map((item) => ({ ...item })) : []
|
|
121
122
|
}
|
|
122
123
|
|
|
124
|
+
function normalizeRenderEntries(value: RenderEntry[] | undefined): RenderEntry[] {
|
|
125
|
+
return value
|
|
126
|
+
? value.map((item) => ({
|
|
127
|
+
...item,
|
|
128
|
+
navigationRenders: Number.isFinite(item.navigationRenders) ? item.navigationRenders : 0,
|
|
129
|
+
}))
|
|
130
|
+
: []
|
|
131
|
+
}
|
|
132
|
+
|
|
123
133
|
function getParentOrigin() {
|
|
124
134
|
if (typeof document === 'undefined' || !document.referrer) {
|
|
125
135
|
return '*'
|
|
@@ -154,7 +164,7 @@ function onMessage(event: MessageEvent) {
|
|
|
154
164
|
}
|
|
155
165
|
: { provides: [], injects: [] }
|
|
156
166
|
composables.value = cloneArray(data.composables)
|
|
157
|
-
renders.value =
|
|
167
|
+
renders.value = normalizeRenderEntries(data.renders)
|
|
158
168
|
transitions.value = cloneArray(data.transitions)
|
|
159
169
|
connected.value = true
|
|
160
170
|
}
|