nuxt-devtools-observatory 0.1.7 → 0.1.8
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-CVI-arV5.js +17 -0
- package/client/dist/assets/{index-mu192QeW.css → index-RdqCF5ft.css} +1 -1
- package/client/dist/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +34 -78
- package/dist/runtime/composables/composable-registry.js +10 -4
- package/dist/runtime/composables/fetch-registry.d.ts +16 -2
- package/dist/runtime/composables/fetch-registry.js +50 -120
- package/dist/runtime/composables/provide-inject-registry.d.ts +4 -0
- package/dist/runtime/composables/provide-inject-registry.js +4 -0
- package/dist/runtime/composables/render-registry.d.ts +1 -2
- package/dist/runtime/composables/render-registry.js +24 -57
- package/dist/runtime/plugin.js +49 -21
- package/package.json +1 -1
- package/client/dist/assets/index-CgZM5MBX.js +0 -17
- package/dist/nitro/fetch-capture.d.mts +0 -3
- package/dist/nitro/fetch-capture.mjs +0 -16
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=s(o);fetch(o.href,i)}})();/**
|
|
2
|
+
* @vue/shared v3.5.30
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function hn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ne={},It=[],Ge=()=>{},$o=()=>!1,Es=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vn=e=>e.startsWith("onUpdate:"),he=Object.assign,gn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},qi=Object.prototype.hasOwnProperty,ee=(e,t)=>qi.call(e,t),U=Array.isArray,Ft=e=>is(e)==="[object Map]",So=e=>is(e)==="[object Set]",Nn=e=>is(e)==="[object Date]",z=e=>typeof e=="function",fe=e=>typeof e=="string",Je=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",To=e=>(te(e)||z(e))&&z(e.then)&&z(e.catch),ko=Object.prototype.toString,is=e=>ko.call(e),Gi=e=>is(e).slice(8,-1),Eo=e=>is(e)==="[object Object]",mn=e=>fe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wt=hn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ms=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Ji=/-\w/g,Pe=Ms(e=>e.replace(Ji,t=>t.slice(1).toUpperCase())),Yi=/\B([A-Z])/g,$t=Ms(e=>e.replace(Yi,"-$1").toLowerCase()),Mo=Ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bs=Ms(e=>e?`on${Mo(e)}`:""),qe=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Ao=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},_n=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xi=e=>{const t=fe(e)?Number(e):NaN;return isNaN(t)?e:t};let jn;const As=()=>jn||(jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ve(e){if(U(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],o=fe(n)?tl(n):ve(n);if(o)for(const i in o)t[i]=o[i]}return t}else if(fe(e)||te(e))return e}const Zi=/;(?![^(]*\))/g,Qi=/:([^]+)/,el=/\/\*[^]*?\*\//g;function tl(e){const t={};return e.replace(el,"").split(Zi).forEach(s=>{if(s){const n=s.split(Qi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function X(e){let t="";if(fe(e))t=e;else if(U(e))for(let s=0;s<e.length;s++){const n=X(e[s]);n&&(t+=n+" ")}else if(te(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const sl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",nl=hn(sl);function Oo(e){return!!e||e===""}function ol(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=bn(e[n],t[n]);return s}function bn(e,t){if(e===t)return!0;let s=Nn(e),n=Nn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Je(e),n=Je(t),s||n)return e===t;if(s=U(e),n=U(t),s||n)return s&&n?ol(e,t):!1;if(s=te(e),n=te(t),s||n){if(!s||!n)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const l in e){const r=e.hasOwnProperty(l),a=t.hasOwnProperty(l);if(r&&!a||!r&&a||!bn(e[l],t[l]))return!1}}return String(e)===String(t)}const Io=e=>!!(e&&e.__v_isRef===!0),M=e=>fe(e)?e:e==null?"":U(e)||te(e)&&(e.toString===ko||!z(e.toString))?Io(e)?M(e.value):JSON.stringify(e,Fo,2):String(e),Fo=(e,t)=>Io(t)?Fo(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,o],i)=>(s[Us(n,i)+" =>"]=o,s),{})}:So(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Us(s))}:Je(t)?Us(t):te(t)&&!U(t)&&!Eo(t)?String(t):t,Us=(e,t="")=>{var s;return Je(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 Ee;class il{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=Ee,!t&&Ee&&(this.index=(Ee.scopes||(Ee.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=Ee;try{return Ee=this,t()}finally{Ee=s}}}on(){++this._on===1&&(this.prevScope=Ee,Ee=this)}off(){this._on>0&&--this._on===0&&(Ee=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function ll(){return Ee}let re;const Vs=new WeakSet;class Po{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,Ee&&Ee.active&&Ee.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Vs.has(this)&&(Vs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ro(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Dn(this),No(this);const t=re,s=Le;re=this,Le=!0;try{return this.fn()}finally{jo(this),re=t,Le=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)wn(t);this.deps=this.depsTail=void 0,Dn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Vs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){en(this)&&this.run()}get dirty(){return en(this)}}let Lo=0,zt,qt;function Ro(e,t=!1){if(e.flags|=8,t){e.next=qt,qt=e;return}e.next=zt,zt=e}function yn(){Lo++}function xn(){if(--Lo>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 No(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function jo(e){let t,s=e.depsTail,n=s;for(;n;){const o=n.prevDep;n.version===-1?(n===s&&(s=o),wn(n),rl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=o}e.deps=t,e.depsTail=s}function en(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Do(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Do(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Zt)||(e.globalVersion=Zt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!en(e))))return;e.flags|=2;const t=e.dep,s=re,n=Le;re=e,Le=!0;try{No(e);const o=e.fn(e._value);(t.version===0||qe(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{re=s,Le=n,jo(e),e.flags&=-3}}function wn(e,t=!1){const{dep:s,prevSub:n,nextSub:o}=e;if(n&&(n.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)wn(i,!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 Le=!0;const Ho=[];function nt(){Ho.push(Le),Le=!1}function ot(){const e=Ho.pop();Le=e===void 0?!0:e}function Dn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=re;re=void 0;try{t()}finally{re=s}}}let Zt=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 Cn{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(!re||!Le||re===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==re)s=this.activeLink=new al(re,this),re.deps?(s.prevDep=re.depsTail,re.depsTail.nextDep=s,re.depsTail=s):re.deps=re.depsTail=s,Bo(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=re.depsTail,s.nextDep=void 0,re.depsTail.nextDep=s,re.depsTail=s,re.deps===s&&(re.deps=n)}return s}trigger(t){this.version++,Zt++,this.notify(t)}notify(t){yn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{xn()}}}function Bo(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)Bo(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const tn=new WeakMap,yt=Symbol(""),sn=Symbol(""),Qt=Symbol("");function ge(e,t,s){if(Le&&re){let n=tn.get(e);n||tn.set(e,n=new Map);let o=n.get(s);o||(n.set(s,o=new Cn),o.map=n,o.key=s),o.track()}}function tt(e,t,s,n,o,i){const l=tn.get(e);if(!l){Zt++;return}const r=a=>{a&&a.trigger()};if(yn(),t==="clear")l.forEach(r);else{const a=U(e),h=a&&mn(s);if(a&&s==="length"){const u=Number(n);l.forEach((p,_)=>{(_==="length"||_===Qt||!Je(_)&&_>=u)&&r(p)})}else switch((s!==void 0||l.has(void 0))&&r(l.get(s)),h&&r(l.get(Qt)),t){case"add":a?h&&r(l.get("length")):(r(l.get(yt)),Ft(e)&&r(l.get(sn)));break;case"delete":a||(r(l.get(yt)),Ft(e)&&r(l.get(sn)));break;case"set":Ft(e)&&r(l.get(yt));break}}xn()}function St(e){const t=Q(e);return t===e?t:(ge(t,"iterate",Qt),Fe(e)?t:t.map(Re))}function Os(e){return ge(e=Q(e),"iterate",Qt),e}function We(e,t){return it(e)?Rt(xt(e)?Re(t):t):Re(t)}const cl={__proto__:null,[Symbol.iterator](){return Ks(this,Symbol.iterator,e=>We(this,e))},concat(...e){return St(this).concat(...e.map(t=>U(t)?St(t):t))},entries(){return Ks(this,"entries",e=>(e[1]=We(this,e[1]),e))},every(e,t){return Xe(this,"every",e,t,void 0,arguments)},filter(e,t){return Xe(this,"filter",e,t,s=>s.map(n=>We(this,n)),arguments)},find(e,t){return Xe(this,"find",e,t,s=>We(this,s),arguments)},findIndex(e,t){return Xe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xe(this,"findLast",e,t,s=>We(this,s),arguments)},findLastIndex(e,t){return Xe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ws(this,"includes",e)},indexOf(...e){return Ws(this,"indexOf",e)},join(e){return St(this).join(e)},lastIndexOf(...e){return Ws(this,"lastIndexOf",e)},map(e,t){return Xe(this,"map",e,t,void 0,arguments)},pop(){return Bt(this,"pop")},push(...e){return Bt(this,"push",e)},reduce(e,...t){return Hn(this,"reduce",e,t)},reduceRight(e,...t){return Hn(this,"reduceRight",e,t)},shift(){return Bt(this,"shift")},some(e,t){return Xe(this,"some",e,t,void 0,arguments)},splice(...e){return Bt(this,"splice",e)},toReversed(){return St(this).toReversed()},toSorted(e){return St(this).toSorted(e)},toSpliced(...e){return St(this).toSpliced(...e)},unshift(...e){return Bt(this,"unshift",e)},values(){return Ks(this,"values",e=>We(this,e))}};function Ks(e,t,s){const n=Os(e),o=n[t]();return n!==e&&!Fe(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=s(i.value)),i}),o}const ul=Array.prototype;function Xe(e,t,s,n,o,i){const l=Os(e),r=l!==e&&!Fe(e),a=l[t];if(a!==ul[t]){const p=a.apply(e,i);return r?Re(p):p}let h=s;l!==e&&(r?h=function(p,_){return s.call(this,We(e,p),_,e)}:s.length>2&&(h=function(p,_){return s.call(this,p,_,e)}));const u=a.call(l,h,n);return r&&o?o(u):u}function Hn(e,t,s,n){const o=Os(e),i=o!==e&&!Fe(e);let l=s,r=!1;o!==e&&(i?(r=n.length===0,l=function(h,u,p){return r&&(r=!1,h=We(e,h)),s.call(this,h,We(e,u),p,e)}):s.length>3&&(l=function(h,u,p){return s.call(this,h,u,p,e)}));const a=o[t](l,...n);return r?We(e,a):a}function Ws(e,t,s){const n=Q(e);ge(n,"iterate",Qt);const o=n[t](...s);return(o===-1||o===!1)&&kn(s[0])?(s[0]=Q(s[0]),n[t](...s)):o}function Bt(e,t,s=[]){nt(),yn();const n=Q(e)[t].apply(e,s);return xn(),ot(),n}const fl=hn("__proto__,__v_isRef,__isVue"),Uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function dl(e){Je(e)||(e=String(e));const t=Q(this);return ge(t,"has",e),t.hasOwnProperty(e)}class Vo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!o;if(s==="__v_isReadonly")return o;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(o?i?wl:qo:i?zo:Wo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=U(t);if(!o){let a;if(l&&(a=cl[s]))return a;if(s==="hasOwnProperty")return dl}const r=Reflect.get(t,s,me(t)?t:n);if((Je(s)?Uo.has(s):fl(s))||(o||ge(t,"get",s),i))return r;if(me(r)){const a=l&&mn(s)?r:r.value;return o&&te(a)?on(a):a}return te(r)?o?on(r):Sn(r):r}}class Ko extends Vo{constructor(t=!1){super(!1,t)}set(t,s,n,o){let i=t[s];const l=U(t)&&mn(s);if(!this._isShallow){const h=it(i);if(!Fe(n)&&!it(n)&&(i=Q(i),n=Q(n)),!l&&me(i)&&!me(n))return h||(i.value=n),!0}const r=l?Number(s)<t.length:ee(t,s),a=Reflect.set(t,s,n,me(t)?t:o);return t===Q(o)&&(r?qe(n,i)&&tt(t,"set",s,n):tt(t,"add",s,n)),a}deleteProperty(t,s){const n=ee(t,s);t[s];const o=Reflect.deleteProperty(t,s);return o&&n&&tt(t,"delete",s,void 0),o}has(t,s){const n=Reflect.has(t,s);return(!Je(s)||!Uo.has(s))&&ge(t,"has",s),n}ownKeys(t){return ge(t,"iterate",U(t)?"length":yt),Reflect.ownKeys(t)}}class pl extends Vo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const hl=new Ko,vl=new pl,gl=new Ko(!0);const nn=e=>e,fs=e=>Reflect.getPrototypeOf(e);function ml(e,t,s){return function(...n){const o=this.__v_raw,i=Q(o),l=Ft(i),r=e==="entries"||e===Symbol.iterator&&l,a=e==="keys"&&l,h=o[e](...n),u=s?nn:t?Rt:Re;return!t&&ge(i,"iterate",a?sn:yt),he(Object.create(h),{next(){const{value:p,done:_}=h.next();return _?{value:p,done:_}:{value:r?[u(p[0]),u(p[1])]:u(p),done:_}}})}}function ds(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _l(e,t){const s={get(o){const i=this.__v_raw,l=Q(i),r=Q(o);e||(qe(o,r)&&ge(l,"get",o),ge(l,"get",r));const{has:a}=fs(l),h=t?nn:e?Rt:Re;if(a.call(l,o))return h(i.get(o));if(a.call(l,r))return h(i.get(r));i!==l&&i.get(o)},get size(){const o=this.__v_raw;return!e&&ge(Q(o),"iterate",yt),o.size},has(o){const i=this.__v_raw,l=Q(i),r=Q(o);return e||(qe(o,r)&&ge(l,"has",o),ge(l,"has",r)),o===r?i.has(o):i.has(o)||i.has(r)},forEach(o,i){const l=this,r=l.__v_raw,a=Q(r),h=t?nn:e?Rt:Re;return!e&&ge(a,"iterate",yt),r.forEach((u,p)=>o.call(i,h(u),h(p),l))}};return he(s,e?{add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear")}:{add(o){const i=Q(this),l=fs(i),r=Q(o),a=!t&&!Fe(o)&&!it(o)?r:o;return l.has.call(i,a)||qe(o,a)&&l.has.call(i,o)||qe(r,a)&&l.has.call(i,r)||(i.add(a),tt(i,"add",a,a)),this},set(o,i){!t&&!Fe(i)&&!it(i)&&(i=Q(i));const l=Q(this),{has:r,get:a}=fs(l);let h=r.call(l,o);h||(o=Q(o),h=r.call(l,o));const u=a.call(l,o);return l.set(o,i),h?qe(i,u)&&tt(l,"set",o,i):tt(l,"add",o,i),this},delete(o){const i=Q(this),{has:l,get:r}=fs(i);let a=l.call(i,o);a||(o=Q(o),a=l.call(i,o)),r&&r.call(i,o);const h=i.delete(o);return a&&tt(i,"delete",o,void 0),h},clear(){const o=Q(this),i=o.size!==0,l=o.clear();return i&&tt(o,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(o=>{s[o]=ml(o,e,t)}),s}function $n(e,t){const s=_l(e,t);return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(ee(s,o)&&o in n?s:n,o,i)}const bl={get:$n(!1,!1)},yl={get:$n(!1,!0)},xl={get:$n(!0,!1)};const Wo=new WeakMap,zo=new WeakMap,qo=new WeakMap,wl=new WeakMap;function Cl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function $l(e){return e.__v_skip||!Object.isExtensible(e)?0:Cl(Gi(e))}function Sn(e){return it(e)?e:Tn(e,!1,hl,bl,Wo)}function Sl(e){return Tn(e,!1,gl,yl,zo)}function on(e){return Tn(e,!0,vl,xl,qo)}function Tn(e,t,s,n,o){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=$l(e);if(i===0)return e;const l=o.get(e);if(l)return l;const r=new Proxy(e,i===2?n:s);return o.set(e,r),r}function xt(e){return it(e)?xt(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Fe(e){return!!(e&&e.__v_isShallow)}function kn(e){return e?!!e.__v_raw:!1}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Tl(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&Ao(e,"__v_skip",!0),e}const Re=e=>te(e)?Sn(e):e,Rt=e=>te(e)?on(e):e;function me(e){return e?e.__v_isRef===!0:!1}function ue(e){return kl(e,!1)}function kl(e,t){return me(e)?e:new El(e,t)}class El{constructor(t,s){this.dep=new Cn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:Q(t),this._value=s?t:Re(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Fe(t)||it(t);t=n?t:Q(t),qe(t,s)&&(this._rawValue=t,this._value=n?t:Re(t),this.dep.trigger())}}function wt(e){return me(e)?e.value:e}const Ml={get:(e,t,s)=>t==="__v_raw"?e:wt(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const o=e[t];return me(o)&&!me(s)?(o.value=s,!0):Reflect.set(e,t,s,n)}};function Go(e){return xt(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 Cn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Zt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return Ro(this,!0),!0}get value(){const t=this.dep.track();return Do(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,o;return z(e)?n=e:(n=e.get,o=e.set),new Al(n,o,s)}const ps={},bs=new WeakMap;let gt;function Il(e,t=!1,s=gt){if(s){let n=bs.get(s);n||bs.set(s,n=[]),n.push(e)}}function Fl(e,t,s=ne){const{immediate:n,deep:o,once:i,scheduler:l,augmentJob:r,call:a}=s,h=g=>o?g:Fe(g)||o===!1||o===0?st(g,1):st(g);let u,p,_,m,y=!1,x=!1;if(me(e)?(p=()=>e.value,y=Fe(e)):xt(e)?(p=()=>h(e),y=!0):U(e)?(x=!0,y=e.some(g=>xt(g)||Fe(g)),p=()=>e.map(g=>{if(me(g))return g.value;if(xt(g))return h(g);if(z(g))return a?a(g,2):g()})):z(e)?t?p=a?()=>a(e,2):e:p=()=>{if(_){nt();try{_()}finally{ot()}}const g=gt;gt=u;try{return a?a(e,3,[m]):e(m)}finally{gt=g}}:p=Ge,t&&o){const g=p,T=o===!0?1/0:o;p=()=>st(g(),T)}const A=ll(),E=()=>{u.stop(),A&&A.active&&gn(A.effects,u)};if(i&&t){const g=t;t=(...T)=>{g(...T),E()}}let v=x?new Array(e.length).fill(ps):ps;const k=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const T=u.run();if(o||y||(x?T.some((I,K)=>qe(I,v[K])):qe(T,v))){_&&_();const I=gt;gt=u;try{const K=[T,v===ps?void 0:x&&v[0]===ps?[]:v,m];v=T,a?a(t,3,K):t(...K)}finally{gt=I}}}else u.run()};return r&&r(k),u=new Po(p),u.scheduler=l?()=>l(k,!1):k,m=g=>Il(g,!1,u),_=u.onStop=()=>{const g=bs.get(u);if(g){if(a)a(g,4);else for(const T of g)T();bs.delete(u)}},t?n?k(!0):v=u.run():l?l(k.bind(null,!0),!0):u.run(),E.pause=u.pause.bind(u),E.resume=u.resume.bind(u),E.stop=E,E}function st(e,t=1/0,s){if(t<=0||!te(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,me(e))st(e.value,t,s);else if(U(e))for(let n=0;n<e.length;n++)st(e[n],t,s);else if(So(e)||Ft(e))e.forEach(n=>{st(n,t,s)});else if(Eo(e)){for(const n in e)st(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&st(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 ls(e,t,s,n){try{return n?e(...n):e()}catch(o){Is(o,t,s)}}function Ne(e,t,s,n){if(z(e)){const o=ls(e,t,s,n);return o&&To(o)&&o.catch(i=>{Is(i,t,s)}),o}if(U(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ne(e[i],t,s,n));return o}}function Is(e,t,s,n=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||ne;if(t){let r=t.parent;const a=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${s}`;for(;r;){const u=r.ec;if(u){for(let p=0;p<u.length;p++)if(u[p](e,a,h)===!1)return}r=r.parent}if(i){nt(),ls(i,null,10,[e,a,h]),ot();return}}Pl(e,s,o,n,l)}function Pl(e,t,s,n=!0,o=!1){if(o)throw e;console.error(e)}const be=[];let Ve=-1;const Pt=[];let at=null,At=0;const Jo=Promise.resolve();let ys=null;function Ll(e){const t=ys||Jo;return e?t.then(this?e.bind(this):e):t}function Rl(e){let t=Ve+1,s=be.length;for(;t<s;){const n=t+s>>>1,o=be[n],i=es(o);i<e||i===e&&o.flags&2?t=n+1:s=n}return t}function En(e){if(!(e.flags&1)){const t=es(e),s=be[be.length-1];!s||!(e.flags&2)&&t>=es(s)?be.push(e):be.splice(Rl(t),0,e),e.flags|=1,Yo()}}function Yo(){ys||(ys=Jo.then(Zo))}function Nl(e){U(e)?Pt.push(...e):at&&e.id===-1?at.splice(At+1,0,e):e.flags&1||(Pt.push(e),e.flags|=1),Yo()}function Bn(e,t,s=Ve+1){for(;s<be.length;s++){const n=be[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;be.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Xo(e){if(Pt.length){const t=[...new Set(Pt)].sort((s,n)=>es(s)-es(n));if(Pt.length=0,at){at.push(...t);return}for(at=t,At=0;At<at.length;At++){const s=at[At];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}at=null,At=0}}const es=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zo(e){try{for(Ve=0;Ve<be.length;Ve++){const t=be[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ls(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<be.length;Ve++){const t=be[Ve];t&&(t.flags&=-2)}Ve=-1,be.length=0,Xo(),ys=null,(be.length||Pt.length)&&Zo()}}let Ie=null,Qo=null;function xs(e){const t=Ie;return Ie=e,Qo=e&&e.type.__scopeId||null,t}function ei(e,t=Ie,s){if(!t||e._n)return e;const n=(...o)=>{n._d&&$s(-1);const i=xs(t);let l;try{l=e(...o)}finally{xs(i),n._d&&$s(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Fs(e,t){if(Ie===null)return e;const s=js(Ie),n=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,l,r,a=ne]=t[o];i&&(z(i)&&(i={mounted:i,updated:i}),i.deep&&st(l),n.push({dir:i,instance:s,value:l,oldValue:void 0,arg:r,modifiers:a}))}return e}function dt(e,t,s,n){const o=e.dirs,i=t&&t.dirs;for(let l=0;l<o.length;l++){const r=o[l];i&&(r.oldValue=i[l].value);let a=r.dir[n];a&&(nt(),Ne(a,s,8,[e.el,r,e,t]),ot())}}function jl(e,t){if(we){let s=we.provides;const n=we.parent&&we.parent.provides;n===s&&(s=we.provides=Object.create(n)),s[e]=t}}function vs(e,t,s=!1){const n=Pi();if(n||Lt){let o=Lt?Lt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return s&&z(t)?t.call(n&&n.proxy):t}}const Dl=Symbol.for("v-scx"),Hl=()=>vs(Dl);function zs(e,t,s){return ti(e,t,s)}function ti(e,t,s=ne){const{immediate:n,deep:o,flush:i,once:l}=s,r=he({},s),a=t&&n||!t&&i!=="post";let h;if(ns){if(i==="sync"){const m=Hl();h=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=Ge,m.resume=Ge,m.pause=Ge,m}}const u=we;r.call=(m,y,x)=>Ne(m,u,y,x);let p=!1;i==="post"?r.scheduler=m=>{ke(m,u&&u.suspense)}:i!=="sync"&&(p=!0,r.scheduler=(m,y)=>{y?m():En(m)}),r.augmentJob=m=>{t&&(m.flags|=4),p&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const _=Fl(e,t,r);return ns&&(h?h.push(_):a&&_()),_}function Bl(e,t,s){const n=this.proxy,o=fe(e)?e.includes(".")?si(n,e):()=>n[e]:e.bind(n,n);let i;z(t)?i=t:(i=t.handler,s=t);const l=rs(this),r=ti(o,i.bind(n),s);return l(),r}function si(e,t){const s=t.split(".");return()=>{let n=e;for(let o=0;o<s.length&&n;o++)n=n[s[o]];return n}}const Ul=Symbol("_vte"),ni=e=>e.__isTeleport,Ke=Symbol("_leaveCb"),Ut=Symbol("_enterCb");function Vl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fi(()=>{e.isMounted=!0}),di(()=>{e.isUnmounting=!0}),e}const Oe=[Function,Array],oi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Oe,onEnter:Oe,onAfterEnter:Oe,onEnterCancelled:Oe,onBeforeLeave:Oe,onLeave:Oe,onAfterLeave:Oe,onLeaveCancelled:Oe,onBeforeAppear:Oe,onAppear:Oe,onAfterAppear:Oe,onAppearCancelled:Oe},ii=e=>{const t=e.subTree;return t.component?ii(t.component):t},Kl={name:"BaseTransition",props:oi,setup(e,{slots:t}){const s=Pi(),n=Vl();return()=>{const o=t.default&&ai(t.default(),!0);if(!o||!o.length)return;const i=li(o),l=Q(e),{mode:r}=l;if(n.isLeaving)return qs(i);const a=Un(i);if(!a)return qs(i);let h=ln(a,l,n,s,p=>h=p);a.type!==xe&&ts(a,h);let u=s.subTree&&Un(s.subTree);if(u&&u.type!==xe&&!bt(u,a)&&ii(s).type!==xe){let p=ln(u,l,n,s);if(ts(u,p),r==="out-in"&&a.type!==xe)return n.isLeaving=!0,p.afterLeave=()=>{n.isLeaving=!1,s.job.flags&8||s.update(),delete p.afterLeave,u=void 0},qs(i);r==="in-out"&&a.type!==xe?p.delayLeave=(_,m,y)=>{const x=ri(n,u);x[String(u.key)]=u,_[Ke]=()=>{m(),_[Ke]=void 0,delete h.delayedLeave,u=void 0},h.delayedLeave=()=>{y(),delete h.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function li(e){let t=e[0];if(e.length>1){for(const s of e)if(s.type!==xe){t=s;break}}return t}const Wl=Kl;function ri(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 ln(e,t,s,n,o){const{appear:i,mode:l,persisted:r=!1,onBeforeEnter:a,onEnter:h,onAfterEnter:u,onEnterCancelled:p,onBeforeLeave:_,onLeave:m,onAfterLeave:y,onLeaveCancelled:x,onBeforeAppear:A,onAppear:E,onAfterAppear:v,onAppearCancelled:k}=t,g=String(e.key),T=ri(s,e),I=(B,G)=>{B&&Ne(B,n,9,G)},K=(B,G)=>{const V=G[1];I(B,G),U(B)?B.every(R=>R.length<=1)&&V():B.length<=1&&V()},q={mode:l,persisted:r,beforeEnter(B){let G=a;if(!s.isMounted)if(i)G=A||a;else return;B[Ke]&&B[Ke](!0);const V=T[g];V&&bt(e,V)&&V.el[Ke]&&V.el[Ke](),I(G,[B])},enter(B){if(T[g]===e)return;let G=h,V=u,R=p;if(!s.isMounted)if(i)G=E||h,V=v||u,R=k||p;else return;let J=!1;B[Ut]=$e=>{J||(J=!0,$e?I(R,[B]):I(V,[B]),q.delayedLeave&&q.delayedLeave(),B[Ut]=void 0)};const ie=B[Ut].bind(null,!1);G?K(G,[B,ie]):ie()},leave(B,G){const V=String(e.key);if(B[Ut]&&B[Ut](!0),s.isUnmounting)return G();I(_,[B]);let R=!1;B[Ke]=ie=>{R||(R=!0,G(),ie?I(x,[B]):I(y,[B]),B[Ke]=void 0,T[V]===e&&delete T[V])};const J=B[Ke].bind(null,!1);T[V]=e,m?K(m,[B,J]):J()},clone(B){const G=ln(B,t,s,n,o);return o&&o(G),G}};return q}function qs(e){if(Ps(e))return e=ut(e),e.children=null,e}function Un(e){if(!Ps(e))return ni(e.type)&&e.children?li(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&&z(s.default))return s.default()}}function ts(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ts(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 ai(e,t=!1,s){let n=[],o=0;for(let i=0;i<e.length;i++){let l=e[i];const r=s==null?l.key:String(s)+String(l.key!=null?l.key:i);l.type===oe?(l.patchFlag&128&&o++,n=n.concat(ai(l.children,t,r))):(t||l.type!==xe)&&n.push(r!=null?ut(l,{key:r}):l)}if(o>1)for(let i=0;i<n.length;i++)n[i].patchFlag=-2;return n}function Ct(e,t){return z(e)?he({name:e.name},t,{setup:e}):e}function ci(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Vn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ws=new WeakMap;function Gt(e,t,s,n,o=!1){if(U(e)){e.forEach((x,A)=>Gt(x,t&&(U(t)?t[A]:t),s,n,o));return}if(Jt(n)&&!o){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Gt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?js(n.component):n.el,l=o?null:i,{i:r,r:a}=e,h=t&&t.r,u=r.refs===ne?r.refs={}:r.refs,p=r.setupState,_=Q(p),m=p===ne?$o:x=>Vn(u,x)?!1:ee(_,x),y=(x,A)=>!(A&&Vn(u,A));if(h!=null&&h!==a){if(Kn(t),fe(h))u[h]=null,m(h)&&(p[h]=null);else if(me(h)){const x=t;y(h,x.k)&&(h.value=null),x.k&&(u[x.k]=null)}}if(z(a))ls(a,r,12,[l,u]);else{const x=fe(a),A=me(a);if(x||A){const E=()=>{if(e.f){const v=x?m(a)?p[a]:u[a]:y()||!e.k?a.value:u[e.k];if(o)U(v)&&gn(v,i);else if(U(v))v.includes(i)||v.push(i);else if(x)u[a]=[i],m(a)&&(p[a]=u[a]);else{const k=[i];y(a,e.k)&&(a.value=k),e.k&&(u[e.k]=k)}}else x?(u[a]=l,m(a)&&(p[a]=l)):A&&(y(a,e.k)&&(a.value=l),e.k&&(u[e.k]=l))};if(l){const v=()=>{E(),ws.delete(e)};v.id=-1,ws.set(e,v),ke(v,s)}else Kn(e),E()}}}function Kn(e){const t=ws.get(e);t&&(t.flags|=8,ws.delete(e))}As().requestIdleCallback;As().cancelIdleCallback;const Jt=e=>!!e.type.__asyncLoader,Ps=e=>e.type.__isKeepAlive;function zl(e,t){ui(e,"a",t)}function ql(e,t){ui(e,"da",t)}function ui(e,t,s=we){const n=e.__wdc||(e.__wdc=()=>{let o=s;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ls(t,n,s),s){let o=s.parent;for(;o&&o.parent;)Ps(o.parent.vnode)&&Gl(n,t,s,o),o=o.parent}}function Gl(e,t,s,n){const o=Ls(t,e,n,!0);pi(()=>{gn(n[t],o)},s)}function Ls(e,t,s=we,n=!1){if(s){const o=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...l)=>{nt();const r=rs(s),a=Ne(t,s,e,l);return r(),ot(),a});return n?o.unshift(i):o.push(i),i}}const lt=e=>(t,s=we)=>{(!ns||e==="sp")&&Ls(e,(...n)=>t(...n),s)},Jl=lt("bm"),fi=lt("m"),Yl=lt("bu"),Xl=lt("u"),di=lt("bum"),pi=lt("um"),Zl=lt("sp"),Ql=lt("rtg"),er=lt("rtc");function tr(e,t=we){Ls("ec",e,t)}const sr=Symbol.for("v-ndc");function ye(e,t,s,n){let o;const i=s,l=U(e);if(l||fe(e)){const r=l&&xt(e);let a=!1,h=!1;r&&(a=!Fe(e),h=it(e),e=Os(e)),o=new Array(e.length);for(let u=0,p=e.length;u<p;u++)o[u]=t(a?h?Rt(Re(e[u])):Re(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let r=0;r<e;r++)o[r]=t(r+1,r,void 0,i)}else if(te(e))if(e[Symbol.iterator])o=Array.from(e,(r,a)=>t(r,a,void 0,i));else{const r=Object.keys(e);o=new Array(r.length);for(let a=0,h=r.length;a<h;a++){const u=r[a];o[a]=t(e[u],u,a,i)}}else o=[];return o}const rn=e=>e?Li(e)?js(e):rn(e.parent):null,Yt=he(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=>rn(e.parent),$root:e=>rn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vi(e),$forceUpdate:e=>e.f||(e.f=()=>{En(e.update)}),$nextTick:e=>e.n||(e.n=Ll.bind(e.proxy)),$watch:e=>Bl.bind(e)}),Gs=(e,t)=>e!==ne&&!e.__isScriptSetup&&ee(e,t),nr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:o,props:i,accessCache:l,type:r,appContext:a}=e;if(t[0]!=="$"){const _=l[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return o[t];case 4:return s[t];case 3:return i[t]}else{if(Gs(n,t))return l[t]=1,n[t];if(o!==ne&&ee(o,t))return l[t]=2,o[t];if(ee(i,t))return l[t]=3,i[t];if(s!==ne&&ee(s,t))return l[t]=4,s[t];an&&(l[t]=0)}}const h=Yt[t];let u,p;if(h)return t==="$attrs"&&ge(e.attrs,"get",""),h(e);if((u=r.__cssModules)&&(u=u[t]))return u;if(s!==ne&&ee(s,t))return l[t]=4,s[t];if(p=a.config.globalProperties,ee(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:o,ctx:i}=e;return Gs(o,t)?(o[t]=s,!0):n!==ne&&ee(n,t)?(n[t]=s,!0):ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:o,props:i,type:l}},r){let a;return!!(s[r]||e!==ne&&r[0]!=="$"&&ee(e,r)||Gs(t,r)||ee(i,r)||ee(n,r)||ee(Yt,r)||ee(o.config.globalProperties,r)||(a=l.__cssModules)&&a[r])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:ee(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Wn(e){return U(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let an=!0;function or(e){const t=vi(e),s=e.proxy,n=e.ctx;an=!1,t.beforeCreate&&zn(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:l,watch:r,provide:a,inject:h,created:u,beforeMount:p,mounted:_,beforeUpdate:m,updated:y,activated:x,deactivated:A,beforeDestroy:E,beforeUnmount:v,destroyed:k,unmounted:g,render:T,renderTracked:I,renderTriggered:K,errorCaptured:q,serverPrefetch:B,expose:G,inheritAttrs:V,components:R,directives:J,filters:ie}=t;if(h&&ir(h,n,null),l)for(const ce in l){const Z=l[ce];z(Z)&&(n[ce]=Z.bind(s))}if(o){const ce=o.call(s,s);te(ce)&&(e.data=Sn(ce))}if(an=!0,i)for(const ce in i){const Z=i[ce],Ye=z(Z)?Z.bind(s,s):z(Z.get)?Z.get.bind(s,s):Ge,cs=!z(Z)&&z(Z.set)?Z.set.bind(s):Ge,ft=ae({get:Ye,set:cs});Object.defineProperty(n,ce,{enumerable:!0,configurable:!0,get:()=>ft.value,set:je=>ft.value=je})}if(r)for(const ce in r)hi(r[ce],n,s,ce);if(a){const ce=z(a)?a.call(s):a;Reflect.ownKeys(ce).forEach(Z=>{jl(Z,ce[Z])})}u&&zn(u,e,"c");function de(ce,Z){U(Z)?Z.forEach(Ye=>ce(Ye.bind(s))):Z&&ce(Z.bind(s))}if(de(Jl,p),de(fi,_),de(Yl,m),de(Xl,y),de(zl,x),de(ql,A),de(tr,q),de(er,I),de(Ql,K),de(di,v),de(pi,g),de(Zl,B),U(G))if(G.length){const ce=e.exposed||(e.exposed={});G.forEach(Z=>{Object.defineProperty(ce,Z,{get:()=>s[Z],set:Ye=>s[Z]=Ye,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===Ge&&(e.render=T),V!=null&&(e.inheritAttrs=V),R&&(e.components=R),J&&(e.directives=J),B&&ci(e)}function ir(e,t,s=Ge){U(e)&&(e=cn(e));for(const n in e){const o=e[n];let i;te(o)?"default"in o?i=vs(o.from||n,o.default,!0):i=vs(o.from||n):i=vs(o),me(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[n]=i}}function zn(e,t,s){Ne(U(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function hi(e,t,s,n){let o=n.includes(".")?si(s,n):()=>s[n];if(fe(e)){const i=t[e];z(i)&&zs(o,i)}else if(z(e))zs(o,e.bind(s));else if(te(e))if(U(e))e.forEach(i=>hi(i,t,s,n));else{const i=z(e.handler)?e.handler.bind(s):t[e.handler];z(i)&&zs(o,i,e)}}function vi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,r=i.get(t);let a;return r?a=r:!o.length&&!s&&!n?a=t:(a={},o.length&&o.forEach(h=>Cs(a,h,l,!0)),Cs(a,t,l)),te(t)&&i.set(t,a),a}function Cs(e,t,s,n=!1){const{mixins:o,extends:i}=t;i&&Cs(e,i,s,!0),o&&o.forEach(l=>Cs(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:qn,props:Gn,emits:Gn,methods:Kt,computed:Kt,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:Kt,directives:Kt,watch:ar,provide:qn,inject:rr};function qn(e,t){return t?e?function(){return he(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function rr(e,t){return Kt(cn(e),cn(t))}function cn(e){if(U(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function _e(e,t){return e?[...new Set([].concat(e,t))]:t}function Kt(e,t){return e?he(Object.create(null),e,t):t}function Gn(e,t){return e?U(e)&&U(t)?[...new Set([...e,...t])]:he(Object.create(null),Wn(e),Wn(t??{})):t}function ar(e,t){if(!e)return t;if(!t)return e;const s=he(Object.create(null),e);for(const n in t)s[n]=_e(e[n],t[n]);return s}function gi(){return{app:null,config:{isNativeTag:$o,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,o=null){z(n)||(n=he({},n)),o!=null&&!te(o)&&(o=null);const i=gi(),l=new WeakSet,r=[];let a=!1;const h=i.app={_uid:cr++,_component:n,_props:o,_container:null,_context:i,_instance:null,version:Br,get config(){return i.config},set config(u){},use(u,...p){return l.has(u)||(u&&z(u.install)?(l.add(u),u.install(h,...p)):z(u)&&(l.add(u),u(h,...p))),h},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),h},component(u,p){return p?(i.components[u]=p,h):i.components[u]},directive(u,p){return p?(i.directives[u]=p,h):i.directives[u]},mount(u,p,_){if(!a){const m=h._ceVNode||Ce(n,o);return m.appContext=i,_===!0?_="svg":_===!1&&(_=void 0),e(m,u,_),a=!0,h._container=u,u.__vue_app__=h,js(m.component)}},onUnmount(u){r.push(u)},unmount(){a&&(Ne(r,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(u,p){return i.provides[u]=p,h},runWithContext(u){const p=Lt;Lt=h;try{return u()}finally{Lt=p}}};return h}}let Lt=null;const fr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pe(t)}Modifiers`]||e[`${$t(t)}Modifiers`];function dr(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ne;let o=s;const i=t.startsWith("update:"),l=i&&fr(n,t.slice(7));l&&(l.trim&&(o=s.map(u=>fe(u)?u.trim():u)),l.number&&(o=s.map(_n)));let r,a=n[r=Bs(t)]||n[r=Bs(Pe(t))];!a&&i&&(a=n[r=Bs($t(t))]),a&&Ne(a,e,6,o);const h=n[r+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Ne(h,e,6,o)}}const pr=new WeakMap;function mi(e,t,s=!1){const n=s?pr:t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let l={},r=!1;if(!z(e)){const a=h=>{const u=mi(h,t,!0);u&&(r=!0,he(l,u))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!r?(te(e)&&n.set(e,null),null):(U(i)?i.forEach(a=>l[a]=null):he(l,i),te(e)&&n.set(e,l),l)}function Rs(e,t){return!e||!Es(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,$t(t))||ee(e,t))}function Jn(e){const{type:t,vnode:s,proxy:n,withProxy:o,propsOptions:[i],slots:l,attrs:r,emit:a,render:h,renderCache:u,props:p,data:_,setupState:m,ctx:y,inheritAttrs:x}=e,A=xs(e);let E,v;try{if(s.shapeFlag&4){const g=o||n,T=g;E=ze(h.call(T,g,u,p,m,_,y)),v=r}else{const g=t;E=ze(g.length>1?g(p,{attrs:r,slots:l,emit:a}):g(p,null)),v=t.props?r:hr(r)}}catch(g){Xt.length=0,Is(g,e,1),E=Ce(xe)}let k=E;if(v&&x!==!1){const g=Object.keys(v),{shapeFlag:T}=k;g.length&&T&7&&(i&&g.some(vn)&&(v=vr(v,i)),k=ut(k,v,!1,!0))}return s.dirs&&(k=ut(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(s.dirs):s.dirs),s.transition&&ts(k,s.transition),E=k,xs(A),E}const hr=e=>{let t;for(const s in e)(s==="class"||s==="style"||Es(s))&&((t||(t={}))[s]=e[s]);return t},vr=(e,t)=>{const s={};for(const n in e)(!vn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function gr(e,t,s){const{props:n,children:o,component:i}=e,{props:l,children:r,patchFlag:a}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Yn(n,l,h):!!l;if(a&8){const u=t.dynamicProps;for(let p=0;p<u.length;p++){const _=u[p];if(_i(l,n,_)&&!Rs(h,_))return!0}}}else return(o||r)&&(!r||!r.$stable)?!0:n===l?!1:n?l?Yn(n,l,h):!0:!!l;return!1}function Yn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let o=0;o<n.length;o++){const i=n[o];if(_i(t,e,i)&&!Rs(s,i))return!0}return!1}function _i(e,t,s){const n=e[s],o=t[s];return s==="style"&&te(n)&&te(o)?!bn(n,o):n!==o}function mr({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 bi={},yi=()=>Object.create(bi),xi=e=>Object.getPrototypeOf(e)===bi;function _r(e,t,s,n=!1){const o={},i=yi();e.propsDefaults=Object.create(null),wi(e,t,o,i);for(const l in e.propsOptions[0])l in o||(o[l]=void 0);s?e.props=n?o:Sl(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function br(e,t,s,n){const{props:o,attrs:i,vnode:{patchFlag:l}}=e,r=Q(o),[a]=e.propsOptions;let h=!1;if((n||l>0)&&!(l&16)){if(l&8){const u=e.vnode.dynamicProps;for(let p=0;p<u.length;p++){let _=u[p];if(Rs(e.emitsOptions,_))continue;const m=t[_];if(a)if(ee(i,_))m!==i[_]&&(i[_]=m,h=!0);else{const y=Pe(_);o[y]=un(a,r,y,m,e,!1)}else m!==i[_]&&(i[_]=m,h=!0)}}}else{wi(e,t,o,i)&&(h=!0);let u;for(const p in r)(!t||!ee(t,p)&&((u=$t(p))===p||!ee(t,u)))&&(a?s&&(s[p]!==void 0||s[u]!==void 0)&&(o[p]=un(a,r,p,void 0,e,!0)):delete o[p]);if(i!==r)for(const p in i)(!t||!ee(t,p))&&(delete i[p],h=!0)}h&&tt(e.attrs,"set","")}function wi(e,t,s,n){const[o,i]=e.propsOptions;let l=!1,r;if(t)for(let a in t){if(Wt(a))continue;const h=t[a];let u;o&&ee(o,u=Pe(a))?!i||!i.includes(u)?s[u]=h:(r||(r={}))[u]=h:Rs(e.emitsOptions,a)||(!(a in n)||h!==n[a])&&(n[a]=h,l=!0)}if(i){const a=Q(s),h=r||ne;for(let u=0;u<i.length;u++){const p=i[u];s[p]=un(o,a,p,h[p],e,!ee(h,p))}}return l}function un(e,t,s,n,o,i){const l=e[s];if(l!=null){const r=ee(l,"default");if(r&&n===void 0){const a=l.default;if(l.type!==Function&&!l.skipFactory&&z(a)){const{propsDefaults:h}=o;if(s in h)n=h[s];else{const u=rs(o);n=h[s]=a.call(null,t),u()}}else n=a;o.ce&&o.ce._setProp(s,n)}l[0]&&(i&&!r?n=!1:l[1]&&(n===""||n===$t(s))&&(n=!0))}return n}const yr=new WeakMap;function Ci(e,t,s=!1){const n=s?yr:t.propsCache,o=n.get(e);if(o)return o;const i=e.props,l={},r=[];let a=!1;if(!z(e)){const u=p=>{a=!0;const[_,m]=Ci(p,t,!0);he(l,_),m&&r.push(...m)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return te(e)&&n.set(e,It),It;if(U(i))for(let u=0;u<i.length;u++){const p=Pe(i[u]);Xn(p)&&(l[p]=ne)}else if(i)for(const u in i){const p=Pe(u);if(Xn(p)){const _=i[u],m=l[p]=U(_)||z(_)?{type:_}:he({},_),y=m.type;let x=!1,A=!0;if(U(y))for(let E=0;E<y.length;++E){const v=y[E],k=z(v)&&v.name;if(k==="Boolean"){x=!0;break}else k==="String"&&(A=!1)}else x=z(y)&&y.name==="Boolean";m[0]=x,m[1]=A,(x||ee(m,"default"))&&r.push(p)}}const h=[l,r];return te(e)&&n.set(e,h),h}function Xn(e){return e[0]!=="$"&&!Wt(e)}const Mn=e=>e==="_"||e==="_ctx"||e==="$stable",An=e=>U(e)?e.map(ze):[ze(e)],xr=(e,t,s)=>{if(t._n)return t;const n=ei((...o)=>An(t(...o)),s);return n._c=!1,n},$i=(e,t,s)=>{const n=e._ctx;for(const o in e){if(Mn(o))continue;const i=e[o];if(z(i))t[o]=xr(o,i,n);else if(i!=null){const l=An(i);t[o]=()=>l}}},Si=(e,t)=>{const s=An(t);e.slots.default=()=>s},Ti=(e,t,s)=>{for(const n in t)(s||!Mn(n))&&(e[n]=t[n])},wr=(e,t,s)=>{const n=e.slots=yi();if(e.vnode.shapeFlag&32){const o=t._;o?(Ti(n,t,s),s&&Ao(n,"_",o,!0)):$i(t,n)}else t&&Si(e,t)},Cr=(e,t,s)=>{const{vnode:n,slots:o}=e;let i=!0,l=ne;if(n.shapeFlag&32){const r=t._;r?s&&r===1?i=!1:Ti(o,t,s):(i=!t.$stable,$i(t,o)),l=t}else t&&(Si(e,t),l={default:1});if(i)for(const r in o)!Mn(r)&&l[r]==null&&delete o[r]},ke=Er;function $r(e){return Sr(e)}function Sr(e,t){const s=As();s.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:l,createText:r,createComment:a,setText:h,setElementText:u,parentNode:p,nextSibling:_,setScopeId:m=Ge,insertStaticContent:y}=e,x=(f,d,b,S=null,w=null,C=null,P=void 0,F=null,O=!!d.dynamicChildren)=>{if(f===d)return;f&&!bt(f,d)&&(S=us(f),je(f,w,C,!0),f=null),d.patchFlag===-2&&(O=!1,d.dynamicChildren=null);const{type:$,ref:H,shapeFlag:N}=d;switch($){case Ns:A(f,d,b,S);break;case xe:E(f,d,b,S);break;case gs:f==null&&v(d,b,S,P);break;case oe:R(f,d,b,S,w,C,P,F,O);break;default:N&1?T(f,d,b,S,w,C,P,F,O):N&6?J(f,d,b,S,w,C,P,F,O):(N&64||N&128)&&$.process(f,d,b,S,w,C,P,F,O,Dt)}H!=null&&w?Gt(H,f&&f.ref,C,d||f,!d):H==null&&f&&f.ref!=null&&Gt(f.ref,null,C,f,!0)},A=(f,d,b,S)=>{if(f==null)n(d.el=r(d.children),b,S);else{const w=d.el=f.el;d.children!==f.children&&h(w,d.children)}},E=(f,d,b,S)=>{f==null?n(d.el=a(d.children||""),b,S):d.el=f.el},v=(f,d,b,S)=>{[f.el,f.anchor]=y(f.children,d,b,S,f.el,f.anchor)},k=({el:f,anchor:d},b,S)=>{let w;for(;f&&f!==d;)w=_(f),n(f,b,S),f=w;n(d,b,S)},g=({el:f,anchor:d})=>{let b;for(;f&&f!==d;)b=_(f),o(f),f=b;o(d)},T=(f,d,b,S,w,C,P,F,O)=>{if(d.type==="svg"?P="svg":d.type==="math"&&(P="mathml"),f==null)I(d,b,S,w,C,P,F,O);else{const $=f.el&&f.el._isVueCE?f.el:null;try{$&&$._beginPatch(),B(f,d,w,C,P,F,O)}finally{$&&$._endPatch()}}},I=(f,d,b,S,w,C,P,F)=>{let O,$;const{props:H,shapeFlag:N,transition:D,dirs:W}=f;if(O=f.el=l(f.type,C,H&&H.is,H),N&8?u(O,f.children):N&16&&q(f.children,O,null,S,w,Js(f,C),P,F),W&&dt(f,null,S,"created"),K(O,f,f.scopeId,P,S),H){for(const le in H)le!=="value"&&!Wt(le)&&i(O,le,null,H[le],C,S);"value"in H&&i(O,"value",null,H.value,C),($=H.onVnodeBeforeMount)&&Ue($,S,f)}W&&dt(f,null,S,"beforeMount");const Y=Tr(w,D);Y&&D.beforeEnter(O),n(O,d,b),(($=H&&H.onVnodeMounted)||Y||W)&&ke(()=>{$&&Ue($,S,f),Y&&D.enter(O),W&&dt(f,null,S,"mounted")},w)},K=(f,d,b,S,w)=>{if(b&&m(f,b),S)for(let C=0;C<S.length;C++)m(f,S[C]);if(w){let C=w.subTree;if(d===C||Ai(C.type)&&(C.ssContent===d||C.ssFallback===d)){const P=w.vnode;K(f,P,P.scopeId,P.slotScopeIds,w.parent)}}},q=(f,d,b,S,w,C,P,F,O=0)=>{for(let $=O;$<f.length;$++){const H=f[$]=F?et(f[$]):ze(f[$]);x(null,H,d,b,S,w,C,P,F)}},B=(f,d,b,S,w,C,P)=>{const F=d.el=f.el;let{patchFlag:O,dynamicChildren:$,dirs:H}=d;O|=f.patchFlag&16;const N=f.props||ne,D=d.props||ne;let W;if(b&&pt(b,!1),(W=D.onVnodeBeforeUpdate)&&Ue(W,b,d,f),H&&dt(d,f,b,"beforeUpdate"),b&&pt(b,!0),(N.innerHTML&&D.innerHTML==null||N.textContent&&D.textContent==null)&&u(F,""),$?G(f.dynamicChildren,$,F,b,S,Js(d,w),C):P||Z(f,d,F,null,b,S,Js(d,w),C,!1),O>0){if(O&16)V(F,N,D,b,w);else if(O&2&&N.class!==D.class&&i(F,"class",null,D.class,w),O&4&&i(F,"style",N.style,D.style,w),O&8){const Y=d.dynamicProps;for(let le=0;le<Y.length;le++){const se=Y[le],Se=N[se],Te=D[se];(Te!==Se||se==="value")&&i(F,se,Se,Te,w,b)}}O&1&&f.children!==d.children&&u(F,d.children)}else!P&&$==null&&V(F,N,D,b,w);((W=D.onVnodeUpdated)||H)&&ke(()=>{W&&Ue(W,b,d,f),H&&dt(d,f,b,"updated")},S)},G=(f,d,b,S,w,C,P)=>{for(let F=0;F<d.length;F++){const O=f[F],$=d[F],H=O.el&&(O.type===oe||!bt(O,$)||O.shapeFlag&198)?p(O.el):b;x(O,$,H,null,S,w,C,P,!0)}},V=(f,d,b,S,w)=>{if(d!==b){if(d!==ne)for(const C in d)!Wt(C)&&!(C in b)&&i(f,C,d[C],null,w,S);for(const C in b){if(Wt(C))continue;const P=b[C],F=d[C];P!==F&&C!=="value"&&i(f,C,F,P,w,S)}"value"in b&&i(f,"value",d.value,b.value,w)}},R=(f,d,b,S,w,C,P,F,O)=>{const $=d.el=f?f.el:r(""),H=d.anchor=f?f.anchor:r("");let{patchFlag:N,dynamicChildren:D,slotScopeIds:W}=d;W&&(F=F?F.concat(W):W),f==null?(n($,b,S),n(H,b,S),q(d.children||[],b,H,w,C,P,F,O)):N>0&&N&64&&D&&f.dynamicChildren&&f.dynamicChildren.length===D.length?(G(f.dynamicChildren,D,b,w,C,P,F),(d.key!=null||w&&d===w.subTree)&&ki(f,d,!0)):Z(f,d,b,H,w,C,P,F,O)},J=(f,d,b,S,w,C,P,F,O)=>{d.slotScopeIds=F,f==null?d.shapeFlag&512?w.ctx.activate(d,b,S,P,O):ie(d,b,S,w,C,P,O):$e(f,d,O)},ie=(f,d,b,S,w,C,P)=>{const F=f.component=Lr(f,S,w);if(Ps(f)&&(F.ctx.renderer=Dt),Rr(F,!1,P),F.asyncDep){if(w&&w.registerDep(F,de,P),!f.el){const O=F.subTree=Ce(xe);E(null,O,d,b),f.placeholder=O.el}}else de(F,f,d,b,w,C,P)},$e=(f,d,b)=>{const S=d.component=f.component;if(gr(f,d,b))if(S.asyncDep&&!S.asyncResolved){ce(S,d,b);return}else S.next=d,S.update();else d.el=f.el,S.vnode=d},de=(f,d,b,S,w,C,P)=>{const F=()=>{if(f.isMounted){let{next:N,bu:D,u:W,parent:Y,vnode:le}=f;{const He=Ei(f);if(He){N&&(N.el=le.el,ce(f,N,P)),He.asyncDep.then(()=>{ke(()=>{f.isUnmounted||$()},w)});return}}let se=N,Se;pt(f,!1),N?(N.el=le.el,ce(f,N,P)):N=le,D&&hs(D),(Se=N.props&&N.props.onVnodeBeforeUpdate)&&Ue(Se,Y,N,le),pt(f,!0);const Te=Jn(f),De=f.subTree;f.subTree=Te,x(De,Te,p(De.el),us(De),f,w,C),N.el=Te.el,se===null&&mr(f,Te.el),W&&ke(W,w),(Se=N.props&&N.props.onVnodeUpdated)&&ke(()=>Ue(Se,Y,N,le),w)}else{let N;const{el:D,props:W}=d,{bm:Y,m:le,parent:se,root:Se,type:Te}=f,De=Jt(d);pt(f,!1),Y&&hs(Y),!De&&(N=W&&W.onVnodeBeforeMount)&&Ue(N,se,d),pt(f,!0);{Se.ce&&Se.ce._hasShadowRoot()&&Se.ce._injectChildStyle(Te,f.parent?f.parent.type:void 0);const He=f.subTree=Jn(f);x(null,He,b,S,f,w,C),d.el=He.el}if(le&&ke(le,w),!De&&(N=W&&W.onVnodeMounted)){const He=d;ke(()=>Ue(N,se,He),w)}(d.shapeFlag&256||se&&Jt(se.vnode)&&se.vnode.shapeFlag&256)&&f.a&&ke(f.a,w),f.isMounted=!0,d=b=S=null}};f.scope.on();const O=f.effect=new Po(F);f.scope.off();const $=f.update=O.run.bind(O),H=f.job=O.runIfDirty.bind(O);H.i=f,H.id=f.uid,O.scheduler=()=>En(H),pt(f,!0),$()},ce=(f,d,b)=>{d.component=f;const S=f.vnode.props;f.vnode=d,f.next=null,br(f,d.props,S,b),Cr(f,d.children,b),nt(),Bn(f),ot()},Z=(f,d,b,S,w,C,P,F,O=!1)=>{const $=f&&f.children,H=f?f.shapeFlag:0,N=d.children,{patchFlag:D,shapeFlag:W}=d;if(D>0){if(D&128){cs($,N,b,S,w,C,P,F,O);return}else if(D&256){Ye($,N,b,S,w,C,P,F,O);return}}W&8?(H&16&&jt($,w,C),N!==$&&u(b,N)):H&16?W&16?cs($,N,b,S,w,C,P,F,O):jt($,w,C,!0):(H&8&&u(b,""),W&16&&q(N,b,S,w,C,P,F,O))},Ye=(f,d,b,S,w,C,P,F,O)=>{f=f||It,d=d||It;const $=f.length,H=d.length,N=Math.min($,H);let D;for(D=0;D<N;D++){const W=d[D]=O?et(d[D]):ze(d[D]);x(f[D],W,b,null,w,C,P,F,O)}$>H?jt(f,w,C,!0,!1,N):q(d,b,S,w,C,P,F,O,N)},cs=(f,d,b,S,w,C,P,F,O)=>{let $=0;const H=d.length;let N=f.length-1,D=H-1;for(;$<=N&&$<=D;){const W=f[$],Y=d[$]=O?et(d[$]):ze(d[$]);if(bt(W,Y))x(W,Y,b,null,w,C,P,F,O);else break;$++}for(;$<=N&&$<=D;){const W=f[N],Y=d[D]=O?et(d[D]):ze(d[D]);if(bt(W,Y))x(W,Y,b,null,w,C,P,F,O);else break;N--,D--}if($>N){if($<=D){const W=D+1,Y=W<H?d[W].el:S;for(;$<=D;)x(null,d[$]=O?et(d[$]):ze(d[$]),b,Y,w,C,P,F,O),$++}}else if($>D)for(;$<=N;)je(f[$],w,C,!0),$++;else{const W=$,Y=$,le=new Map;for($=Y;$<=D;$++){const Me=d[$]=O?et(d[$]):ze(d[$]);Me.key!=null&&le.set(Me.key,$)}let se,Se=0;const Te=D-Y+1;let De=!1,He=0;const Ht=new Array(Te);for($=0;$<Te;$++)Ht[$]=0;for($=W;$<=N;$++){const Me=f[$];if(Se>=Te){je(Me,w,C,!0);continue}let Be;if(Me.key!=null)Be=le.get(Me.key);else for(se=Y;se<=D;se++)if(Ht[se-Y]===0&&bt(Me,d[se])){Be=se;break}Be===void 0?je(Me,w,C,!0):(Ht[Be-Y]=$+1,Be>=He?He=Be:De=!0,x(Me,d[Be],b,null,w,C,P,F,O),Se++)}const Pn=De?kr(Ht):It;for(se=Pn.length-1,$=Te-1;$>=0;$--){const Me=Y+$,Be=d[Me],Ln=d[Me+1],Rn=Me+1<H?Ln.el||Mi(Ln):S;Ht[$]===0?x(null,Be,b,Rn,w,C,P,F,O):De&&(se<0||$!==Pn[se]?ft(Be,b,Rn,2):se--)}}},ft=(f,d,b,S,w=null)=>{const{el:C,type:P,transition:F,children:O,shapeFlag:$}=f;if($&6){ft(f.component.subTree,d,b,S);return}if($&128){f.suspense.move(d,b,S);return}if($&64){P.move(f,d,b,Dt);return}if(P===oe){n(C,d,b);for(let N=0;N<O.length;N++)ft(O[N],d,b,S);n(f.anchor,d,b);return}if(P===gs){k(f,d,b);return}if(S!==2&&$&1&&F)if(S===0)F.beforeEnter(C),n(C,d,b),ke(()=>F.enter(C),w);else{const{leave:N,delayLeave:D,afterLeave:W}=F,Y=()=>{f.ctx.isUnmounted?o(C):n(C,d,b)},le=()=>{C._isLeaving&&C[Ke](!0),N(C,()=>{Y(),W&&W()})};D?D(C,Y,le):le()}else n(C,d,b)},je=(f,d,b,S=!1,w=!1)=>{const{type:C,props:P,ref:F,children:O,dynamicChildren:$,shapeFlag:H,patchFlag:N,dirs:D,cacheIndex:W}=f;if(N===-2&&(w=!1),F!=null&&(nt(),Gt(F,null,b,f,!0),ot()),W!=null&&(d.renderCache[W]=void 0),H&256){d.ctx.deactivate(f);return}const Y=H&1&&D,le=!Jt(f);let se;if(le&&(se=P&&P.onVnodeBeforeUnmount)&&Ue(se,d,f),H&6)zi(f.component,b,S);else{if(H&128){f.suspense.unmount(b,S);return}Y&&dt(f,null,d,"beforeUnmount"),H&64?f.type.remove(f,d,b,Dt,S):$&&!$.hasOnce&&(C!==oe||N>0&&N&64)?jt($,d,b,!1,!0):(C===oe&&N&384||!w&&H&16)&&jt(O,d,b),S&&In(f)}(le&&(se=P&&P.onVnodeUnmounted)||Y)&&ke(()=>{se&&Ue(se,d,f),Y&&dt(f,null,d,"unmounted")},b)},In=f=>{const{type:d,el:b,anchor:S,transition:w}=f;if(d===oe){Wi(b,S);return}if(d===gs){g(f);return}const C=()=>{o(b),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:P,delayLeave:F}=w,O=()=>P(b,C);F?F(f.el,C,O):O()}else C()},Wi=(f,d)=>{let b;for(;f!==d;)b=_(f),o(f),f=b;o(d)},zi=(f,d,b)=>{const{bum:S,scope:w,job:C,subTree:P,um:F,m:O,a:$}=f;Zn(O),Zn($),S&&hs(S),w.stop(),C&&(C.flags|=8,je(P,f,d,b)),F&&ke(F,d),ke(()=>{f.isUnmounted=!0},d)},jt=(f,d,b,S=!1,w=!1,C=0)=>{for(let P=C;P<f.length;P++)je(f[P],d,b,S,w)},us=f=>{if(f.shapeFlag&6)return us(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const d=_(f.anchor||f.el),b=d&&d[Ul];return b?_(b):d};let Hs=!1;const Fn=(f,d,b)=>{let S;f==null?d._vnode&&(je(d._vnode,null,null,!0),S=d._vnode.component):x(d._vnode||null,f,d,null,null,null,b),d._vnode=f,Hs||(Hs=!0,Bn(S),Xo(),Hs=!1)},Dt={p:x,um:je,m:ft,r:In,mt:ie,mc:q,pc:Z,pbc:G,n:us,o:e};return{render:Fn,hydrate:void 0,createApp:ur(Fn)}}function Js({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 pt({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 ki(e,t,s=!1){const n=e.children,o=t.children;if(U(n)&&U(o))for(let i=0;i<n.length;i++){const l=n[i];let r=o[i];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=o[i]=et(o[i]),r.el=l.el),!s&&r.patchFlag!==-2&&ki(l,r)),r.type===Ns&&(r.patchFlag===-1&&(r=o[i]=et(r)),r.el=l.el),r.type===xe&&!r.el&&(r.el=l.el)}}function kr(e){const t=e.slice(),s=[0];let n,o,i,l,r;const a=e.length;for(n=0;n<a;n++){const h=e[n];if(h!==0){if(o=s[s.length-1],e[o]<h){t[n]=o,s.push(n);continue}for(i=0,l=s.length-1;i<l;)r=i+l>>1,e[s[r]]<h?i=r+1:l=r;h<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,l=s[i-1];i-- >0;)s[i]=l,l=t[l];return s}function Ei(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ei(t)}function Zn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mi(t.subTree):null}const Ai=e=>e.__isSuspense;function Er(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):Nl(e)}const oe=Symbol.for("v-fgt"),Ns=Symbol.for("v-txt"),xe=Symbol.for("v-cmt"),gs=Symbol.for("v-stc"),Xt=[];let Ae=null;function L(e=!1){Xt.push(Ae=e?null:[])}function Mr(){Xt.pop(),Ae=Xt[Xt.length-1]||null}let ss=1;function $s(e,t=!1){ss+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function Oi(e){return e.dynamicChildren=ss>0?Ae||It:null,Mr(),ss>0&&Ae&&Ae.push(e),e}function j(e,t,s,n,o,i){return Oi(c(e,t,s,n,o,i,!0))}function _t(e,t,s,n,o){return Oi(Ce(e,t,s,n,o,!0))}function Ss(e){return e?e.__v_isVNode===!0:!1}function bt(e,t){return e.type===t.type&&e.key===t.key}const Ii=({key:e})=>e??null,ms=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?fe(e)||me(e)||z(e)?{i:Ie,r:e,k:t,f:!!s}:e:null);function c(e,t=null,s=null,n=0,o=null,i=e===oe?0:1,l=!1,r=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ii(t),ref:t&&ms(t),scopeId:Qo,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:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ie};return r?(On(a,s),i&128&&e.normalize(a)):s&&(a.shapeFlag|=fe(s)?8:16),ss>0&&!l&&Ae&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Ae.push(a),a}const Ce=Ar;function Ar(e,t=null,s=null,n=0,o=null,i=!1){if((!e||e===sr)&&(e=xe),Ss(e)){const r=ut(e,t,!0);return s&&On(r,s),ss>0&&!i&&Ae&&(r.shapeFlag&6?Ae[Ae.indexOf(e)]=r:Ae.push(r)),r.patchFlag=-2,r}if(Hr(e)&&(e=e.__vccOpts),t){t=Or(t);let{class:r,style:a}=t;r&&!fe(r)&&(t.class=X(r)),te(a)&&(kn(a)&&!U(a)&&(a=he({},a)),t.style=ve(a))}const l=fe(e)?1:Ai(e)?128:ni(e)?64:te(e)?4:z(e)?2:0;return c(e,t,s,n,o,l,i,!0)}function Or(e){return e?kn(e)||xi(e)?he({},e):e:null}function ut(e,t,s=!1,n=!1){const{props:o,ref:i,patchFlag:l,children:r,transition:a}=e,h=t?Ir(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ii(h),ref:t&&t.ref?s&&i?U(i)?i.concat(ms(t)):[i,ms(t)]:ms(t):i,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!==oe?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&n&&ts(u,a.clone(u)),u}function ct(e=" ",t=0){return Ce(Ns,null,e,t)}function Fi(e,t){const s=Ce(gs,null,e);return s.staticCount=t,s}function pe(e="",t=!1){return t?(L(),_t(xe,null,e)):Ce(xe,null,e)}function ze(e){return e==null||typeof e=="boolean"?Ce(xe):U(e)?Ce(oe,null,e.slice()):Ss(e)?et(e):Ce(Ns,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function On(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(U(t))s=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),On(e,o()),o._c&&(o._d=!0));return}else{s=32;const o=t._;!o&&!xi(t)?t._ctx=Ie:o===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else z(t)?(t={default:t,_ctx:Ie},s=32):(t=String(t),n&64?(s=16,t=[ct(t)]):s=8);e.children=t,e.shapeFlag|=s}function Ir(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const o in n)if(o==="class")t.class!==n.class&&(t.class=X([t.class,n.class]));else if(o==="style")t.style=ve([t.style,n.style]);else if(Es(o)){const i=t[o],l=n[o];l&&i!==l&&!(U(i)&&i.includes(l))&&(t[o]=i?[].concat(i,l):l)}else o!==""&&(t[o]=n[o])}return t}function Ue(e,t,s,n=null){Ne(e,t,7,[s,n])}const Fr=gi();let Pr=0;function Lr(e,t,s){const n=e.type,o=(t?t.appContext:e.appContext)||Fr,i={uid:Pr++,vnode:e,type:n,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new il(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ci(n,o),emitsOptions:mi(n,o),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:n.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=dr.bind(null,i),e.ce&&e.ce(i),i}let we=null;const Pi=()=>we||Ie;let Ts,fn;{const e=As(),t=(s,n)=>{let o;return(o=e[s])||(o=e[s]=[]),o.push(n),i=>{o.length>1?o.forEach(l=>l(i)):o[0](i)}};Ts=t("__VUE_INSTANCE_SETTERS__",s=>we=s),fn=t("__VUE_SSR_SETTERS__",s=>ns=s)}const rs=e=>{const t=we;return Ts(e),e.scope.on(),()=>{e.scope.off(),Ts(t)}},Qn=()=>{we&&we.scope.off(),Ts(null)};function Li(e){return e.vnode.shapeFlag&4}let ns=!1;function Rr(e,t=!1,s=!1){t&&fn(t);const{props:n,children:o}=e.vnode,i=Li(e);_r(e,n,i,t),wr(e,o,s||t);const l=i?Nr(e,t):void 0;return t&&fn(!1),l}function Nr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nr);const{setup:n}=s;if(n){nt();const o=e.setupContext=n.length>1?Dr(e):null,i=rs(e),l=ls(n,e,0,[e.props,o]),r=To(l);if(ot(),i(),(r||e.sp)&&!Jt(e)&&ci(e),r){if(l.then(Qn,Qn),t)return l.then(a=>{eo(e,a)}).catch(a=>{Is(a,e,0)});e.asyncDep=l}else eo(e,l)}else Ri(e)}function eo(e,t,s){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=Go(t)),Ri(e)}function Ri(e,t,s){const n=e.type;e.render||(e.render=n.render||Ge);{const o=rs(e);nt();try{or(e)}finally{ot(),o()}}}const jr={get(e,t){return ge(e,"get",""),e[t]}};function Dr(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,jr),slots:e.slots,emit:e.emit,expose:t}}function js(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Go(Tl(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Yt)return Yt[s](e)},has(t,s){return s in t||s in Yt}})):e.proxy}function Hr(e){return z(e)&&"__vccOpts"in e}const ae=(e,t)=>Ol(e,t,ns);function mt(e,t,s){try{$s(-1);const n=arguments.length;return n===2?te(t)&&!U(t)?Ss(t)?Ce(e,null,[t]):Ce(e,t):Ce(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ss(s)&&(s=[s]),Ce(e,t,s))}finally{$s(1)}}const Br="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 dn;const to=typeof window<"u"&&window.trustedTypes;if(to)try{dn=to.createPolicy("vue",{createHTML:e=>e})}catch{}const Ni=dn?e=>dn.createHTML(e):e=>e,Ur="http://www.w3.org/2000/svg",Vr="http://www.w3.org/1998/Math/MathML",Qe=typeof document<"u"?document:null,so=Qe&&Qe.createElement("template"),Kr={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const o=t==="svg"?Qe.createElementNS(Ur,e):t==="mathml"?Qe.createElementNS(Vr,e):s?Qe.createElement(e,{is:s}):Qe.createElement(e);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Qe.createTextNode(e),createComment:e=>Qe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Qe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,o,i){const l=s?s.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),s),!(o===i||!(o=o.nextSibling)););else{so.innerHTML=Ni(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const r=so.content;if(n==="svg"||n==="mathml"){const a=r.firstChild;for(;a.firstChild;)r.appendChild(a.firstChild);r.removeChild(a)}t.insertBefore(r,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},rt="transition",Vt="animation",os=Symbol("_vtc"),ji={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},Wr=he({},oi,ji),zr=e=>(e.displayName="Transition",e.props=Wr,e),qr=zr((e,{slots:t})=>mt(Wl,Gr(e),t)),ht=(e,t=[])=>{U(e)?e.forEach(s=>s(...t)):e&&e(...t)},no=e=>e?U(e)?e.some(t=>t.length>1):e.length>1:!1;function Gr(e){const t={};for(const R in e)R in ji||(t[R]=e[R]);if(e.css===!1)return t;const{name:s="v",type:n,duration:o,enterFromClass:i=`${s}-enter-from`,enterActiveClass:l=`${s}-enter-active`,enterToClass:r=`${s}-enter-to`,appearFromClass:a=i,appearActiveClass:h=l,appearToClass:u=r,leaveFromClass:p=`${s}-leave-from`,leaveActiveClass:_=`${s}-leave-active`,leaveToClass:m=`${s}-leave-to`}=e,y=Jr(o),x=y&&y[0],A=y&&y[1],{onBeforeEnter:E,onEnter:v,onEnterCancelled:k,onLeave:g,onLeaveCancelled:T,onBeforeAppear:I=E,onAppear:K=v,onAppearCancelled:q=k}=t,B=(R,J,ie,$e)=>{R._enterCancelled=$e,vt(R,J?u:r),vt(R,J?h:l),ie&&ie()},G=(R,J)=>{R._isLeaving=!1,vt(R,p),vt(R,m),vt(R,_),J&&J()},V=R=>(J,ie)=>{const $e=R?K:v,de=()=>B(J,R,ie);ht($e,[J,de]),oo(()=>{vt(J,R?a:i),Ze(J,R?u:r),no($e)||io(J,n,x,de)})};return he(t,{onBeforeEnter(R){ht(E,[R]),Ze(R,i),Ze(R,l)},onBeforeAppear(R){ht(I,[R]),Ze(R,a),Ze(R,h)},onEnter:V(!1),onAppear:V(!0),onLeave(R,J){R._isLeaving=!0;const ie=()=>G(R,J);Ze(R,p),R._enterCancelled?(Ze(R,_),ao(R)):(ao(R),Ze(R,_)),oo(()=>{R._isLeaving&&(vt(R,p),Ze(R,m),no(g)||io(R,n,A,ie))}),ht(g,[R,ie])},onEnterCancelled(R){B(R,!1,void 0,!0),ht(k,[R])},onAppearCancelled(R){B(R,!0,void 0,!0),ht(q,[R])},onLeaveCancelled(R){G(R),ht(T,[R])}})}function Jr(e){if(e==null)return null;if(te(e))return[Ys(e.enter),Ys(e.leave)];{const t=Ys(e);return[t,t]}}function Ys(e){return Xi(e)}function Ze(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.add(s)),(e[os]||(e[os]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const s=e[os];s&&(s.delete(t),s.size||(e[os]=void 0))}function oo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Yr=0;function io(e,t,s,n){const o=e._endId=++Yr,i=()=>{o===e._endId&&n()};if(s!=null)return setTimeout(i,s);const{type:l,timeout:r,propCount:a}=Xr(e,t);if(!l)return n();const h=l+"end";let u=0;const p=()=>{e.removeEventListener(h,_),i()},_=m=>{m.target===e&&++u>=a&&p()};setTimeout(()=>{u<a&&p()},r+1),e.addEventListener(h,_)}function Xr(e,t){const s=window.getComputedStyle(e),n=y=>(s[y]||"").split(", "),o=n(`${rt}Delay`),i=n(`${rt}Duration`),l=lo(o,i),r=n(`${Vt}Delay`),a=n(`${Vt}Duration`),h=lo(r,a);let u=null,p=0,_=0;t===rt?l>0&&(u=rt,p=l,_=i.length):t===Vt?h>0&&(u=Vt,p=h,_=a.length):(p=Math.max(l,h),u=p>0?l>h?rt:Vt:null,_=u?u===rt?i.length:a.length:0);const m=u===rt&&/\b(?:transform|all)(?:,|$)/.test(n(`${rt}Property`).toString());return{type:u,timeout:p,propCount:_,hasTransform:m}}function lo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((s,n)=>ro(s)+ro(e[n])))}function ro(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ao(e){return(e?e.ownerDocument:document).body.offsetHeight}function Zr(e,t,s){const n=e[os];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const co=Symbol("_vod"),Qr=Symbol("_vsh"),ea=Symbol(""),ta=/(?:^|;)\s*display\s*:/;function sa(e,t,s){const n=e.style,o=fe(s);let i=!1;if(s&&!o){if(t)if(fe(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"&&(i=!0),_s(n,l,s[l])}else if(o){if(t!==s){const l=n[ea];l&&(s+=";"+l),n.cssText=s,i=ta.test(s)}}else t&&e.removeAttribute("style");co in e&&(e[co]=i?n.display:"",e[Qr]&&(n.display="none"))}const uo=/\s*!important$/;function _s(e,t,s){if(U(s))s.forEach(n=>_s(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=na(e,t);uo.test(s)?e.setProperty($t(n),s.replace(uo,""),"important"):e[n]=s}}const fo=["Webkit","Moz","ms"],Xs={};function na(e,t){const s=Xs[t];if(s)return s;let n=Pe(t);if(n!=="filter"&&n in e)return Xs[t]=n;n=Mo(n);for(let o=0;o<fo.length;o++){const i=fo[o]+n;if(i in e)return Xs[t]=i}return t}const po="http://www.w3.org/1999/xlink";function ho(e,t,s,n,o,i=nl(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(po,t.slice(6,t.length)):e.setAttributeNS(po,t,s):s==null||i&&!Oo(s)?e.removeAttribute(t):e.setAttribute(t,i?"":Je(s)?String(s):s)}function vo(e,t,s,n,o){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ni(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const r=i==="OPTION"?e.getAttribute("value")||"":e.value,a=s==null?e.type==="checkbox"?"on":"":String(s);(r!==a||!("_value"in e))&&(e.value=a),s==null&&e.removeAttribute(t),e._value=s;return}let l=!1;if(s===""||s==null){const r=typeof e[t];r==="boolean"?s=Oo(s):s==null&&r==="string"?(s="",l=!0):r==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(o||t)}function Ot(e,t,s,n){e.addEventListener(t,s,n)}function oa(e,t,s,n){e.removeEventListener(t,s,n)}const go=Symbol("_vei");function ia(e,t,s,n,o=null){const i=e[go]||(e[go]={}),l=i[t];if(n&&l)l.value=n;else{const[r,a]=la(t);if(n){const h=i[t]=ca(n,o);Ot(e,r,h,a)}else l&&(oa(e,r,l,a),i[t]=void 0)}}const mo=/(?:Once|Passive|Capture)$/;function la(e){let t;if(mo.test(e)){t={};let n;for(;n=e.match(mo);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$t(e.slice(2)),t]}let Zs=0;const ra=Promise.resolve(),aa=()=>Zs||(ra.then(()=>Zs=0),Zs=Date.now());function ca(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ne(ua(n,s.value),t,5,[n])};return s.value=e,s.attached=aa(),s}function ua(e,t){if(U(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const _o=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fa=(e,t,s,n,o,i)=>{const l=o==="svg";t==="class"?Zr(e,n,l):t==="style"?sa(e,s,n):Es(t)?vn(t)||ia(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):da(e,t,n,l))?(vo(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ho(e,t,n,l,i,t!=="value")):e._isVueCE&&(pa(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!fe(n)))?vo(e,Pe(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ho(e,t,n,l))};function da(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&_o(t)&&z(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return _o(t)&&fe(s)?!1:t in e}function pa(e,t){const s=e._def.props;if(!s)return!1;const n=Pe(t);return Array.isArray(s)?s.some(o=>Pe(o)===n):Object.keys(s).some(o=>Pe(o)===n)}const bo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?s=>hs(t,s):t};function ha(e){e.target.composing=!0}function yo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qs=Symbol("_assign");function xo(e,t,s){return t&&(e=e.trim()),s&&(e=_n(e)),e}const Ds={created(e,{modifiers:{lazy:t,trim:s,number:n}},o){e[Qs]=bo(o);const i=n||o.props&&o.props.type==="number";Ot(e,t?"change":"input",l=>{l.target.composing||e[Qs](xo(e.value,s,i))}),(s||i)&&Ot(e,"change",()=>{e.value=xo(e.value,s,i)}),t||(Ot(e,"compositionstart",ha),Ot(e,"compositionend",yo),Ot(e,"change",yo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:o,number:i}},l){if(e[Qs]=bo(l),e.composing)return;const r=(i||e.type==="number")&&!/^0\d/.test(e.value)?_n(e.value):e.value,a=t??"";r!==a&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||o&&e.value.trim()===a)||(e.value=a))}},va=["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)=>va.some(s=>e[`${s}Key`]&&!t.includes(s))},ma=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((o,...i)=>{for(let l=0;l<t.length;l++){const r=ga[t[l]];if(r&&r(o,t))return}return e(o,...i)}))},_a=he({patchProp:fa},Kr);let wo;function ba(){return wo||(wo=$r(_a))}const ya=((...e)=>{const t=ba().createApp(...e),{mount:s}=t;return t.mount=n=>{const o=wa(n);if(!o)return;const i=t._component;!z(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const l=s(o,!1,xa(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),l},t});function xa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wa(e){return fe(e)?document.querySelector(e):e}const Ca=500,Di=ue([]),Hi=ue({provides:[],injects:[]}),Bi=ue([]),Ui=ue([]),Vi=ue([]),Ki=ue(!1);let Co=!1,ks="*";function Tt(e){return e?e.map(t=>({...t})):[]}function $a(){if(typeof document>"u"||!document.referrer)return"*";try{return new URL(document.referrer).origin}catch{return"*"}}function pn(){var e;(e=window.top)==null||e.postMessage({type:"observatory:request"},ks)}function Sa(e){var s;if(((s=e.data)==null?void 0:s.type)!=="observatory:snapshot"||ks!=="*"&&e.origin!==ks)return;const t=e.data.data;Di.value=Tt(t.fetch),Hi.value=t.provideInject?{provides:Tt(t.provideInject.provides),injects:Tt(t.provideInject.injects)}:{provides:[],injects:[]},Bi.value=Tt(t.composables),Ui.value=Tt(t.renders),Vi.value=Tt(t.transitions),Ki.value=!0}function Ta(){Co||typeof window>"u"||(Co=!0,ks=$a(),window.addEventListener("message",Sa),window.setInterval(pn,Ca),pn())}function as(){return Ta(),{fetch:Di,provideInject:Hi,composables:Bi,renders:Ui,transitions:Vi,connected:Ki,refresh:pn}}const ka={class:"view"},Ea={class:"stats-row"},Ma={class:"stat-card"},Aa={class:"stat-val"},Oa={class:"stat-card"},Ia={class:"stat-val",style:{color:"var(--teal)"}},Fa={class:"stat-card"},Pa={class:"stat-val",style:{color:"var(--amber)"}},La={class:"stat-card"},Ra={class:"stat-val",style:{color:"var(--red)"}},Na={class:"toolbar"},ja={class:"split"},Da={class:"table-wrap"},Ha={class:"data-table"},Ba=["onClick"],Ua={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},Va=["title"],Ka={class:"muted text-sm"},Wa={class:"mono text-sm"},za={style:{height:"4px",background:"var(--bg2)","border-radius":"2px",overflow:"hidden"}},qa={key:0},Ga={colspan:"7",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},Ja={key:0,class:"detail-panel"},Ya={class:"detail-header"},Xa={class:"mono bold",style:{"font-size":"12px"}},Za={class:"flex gap-2"},Qa={class:"meta-grid"},ec={class:"muted text-sm"},tc={class:"mono text-sm",style:{"word-break":"break-all"}},sc={class:"payload-box"},nc={class:"mono text-sm muted"},oc={key:1,class:"detail-empty"},ic={class:"waterfall"},lc={class:"mono muted text-sm",style:{width:"140px",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap","flex-shrink":"0"}},rc={class:"wf-track"},ac={class:"mono muted text-sm",style:{width:"44px","text-align":"right","flex-shrink":"0"}},cc=Ct({__name:"FetchDashboard",setup(e){const{fetch:t,connected:s}=as(),n=ue("all"),o=ue(""),i=ue(null),l=ae(()=>{const v=[...t.value].sort((g,T)=>g.startTime-T.startTime),k=Math.min(...v.map(g=>g.startTime),0);return v.map(g=>({...g,startOffset:Math.max(0,Math.round(g.startTime-k))}))}),r=ae(()=>l.value.find(v=>v.id===i.value)??null),a=ae(()=>({ok:l.value.filter(v=>v.status==="ok").length,pending:l.value.filter(v=>v.status==="pending").length,error:l.value.filter(v=>v.status==="error").length})),h=ae(()=>l.value.filter(v=>{if(n.value!=="all"&&v.status!==n.value)return!1;const k=o.value.toLowerCase();return!(k&&!v.key.toLowerCase().includes(k)&&!v.url.toLowerCase().includes(k))})),u=ae(()=>{if(!r.value)return[];const v=r.value;return[["url",v.url],["status",v.status],["origin",v.origin],["duration",v.ms!=null?`${v.ms}ms`:"—"],["size",v.size?E(v.size):"—"],["cached",v.cached?"yes":"no"]]}),p=ae(()=>{if(!r.value)return"";const v=r.value.payload;if(v===void 0)return"(no payload captured yet)";try{return JSON.stringify(v,null,2)}catch{return String(v)}});function _(v){return{ok:"badge-ok",error:"badge-err",pending:"badge-warn",cached:"badge-gray"}[v]??"badge-gray"}function m(v){return{ok:"var(--teal)",error:"var(--red)",pending:"var(--amber)",cached:"var(--border)"}[v]??"var(--border)"}function y(v){const k=Math.max(...l.value.filter(g=>g.ms).map(g=>g.ms),1);return v.ms!=null?Math.max(4,Math.round(v.ms/k*100)):4}function x(v){const k=Math.max(...l.value.map(g=>g.startOffset+(g.ms??0)),1);return Math.round(v.startOffset/k*100)}function A(v){const k=Math.max(...l.value.map(g=>g.startOffset+(g.ms??0)),1);return v.ms!=null?Math.round(v.ms/k*100):2}function E(v){return v<1024?`${v}B`:`${(v/1024).toFixed(1)}KB`}return(v,k)=>(L(),j("div",ka,[c("div",Ea,[c("div",Ma,[k[6]||(k[6]=c("div",{class:"stat-label"},"total",-1)),c("div",Aa,M(l.value.length),1)]),c("div",Oa,[k[7]||(k[7]=c("div",{class:"stat-label"},"success",-1)),c("div",Ia,M(a.value.ok),1)]),c("div",Fa,[k[8]||(k[8]=c("div",{class:"stat-label"},"pending",-1)),c("div",Pa,M(a.value.pending),1)]),c("div",La,[k[9]||(k[9]=c("div",{class:"stat-label"},"error",-1)),c("div",Ra,M(a.value.error),1)])]),c("div",Na,[c("button",{class:X({active:n.value==="all"}),onClick:k[0]||(k[0]=g=>n.value="all")},"all",2),c("button",{class:X({"danger-active":n.value==="error"}),onClick:k[1]||(k[1]=g=>n.value="error")},"errors",2),c("button",{class:X({active:n.value==="pending"}),onClick:k[2]||(k[2]=g=>n.value="pending")},"pending",2),c("button",{class:X({active:n.value==="cached"}),onClick:k[3]||(k[3]=g=>n.value="cached")},"cached",2),Fs(c("input",{"onUpdate:modelValue":k[4]||(k[4]=g=>o.value=g),type:"search",placeholder:"search key or url…",style:{"max-width":"240px","margin-left":"auto"}},null,512),[[Ds,o.value]])]),c("div",ja,[c("div",Da,[c("table",Ha,[k[10]||(k[10]=c("thead",null,[c("tr",null,[c("th",null,"key"),c("th",null,"url"),c("th",null,"status"),c("th",null,"origin"),c("th",null,"size"),c("th",null,"time"),c("th",{style:{"min-width":"80px"}},"bar")])],-1)),c("tbody",null,[(L(!0),j(oe,null,ye(h.value,g=>{var T;return L(),j("tr",{key:g.id,class:X({selected:((T=r.value)==null?void 0:T.id)===g.id}),onClick:I=>i.value=g.id},[c("td",null,[c("span",Ua,M(g.key),1)]),c("td",null,[c("span",{class:"mono",style:{"font-size":"11px","max-width":"200px",display:"block",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},title:g.url},M(g.url),9,Va)]),c("td",null,[c("span",{class:X(["badge",_(g.status)])},M(g.status),3)]),c("td",null,[c("span",{class:X(["badge",g.origin==="ssr"?"badge-info":"badge-gray"])},M(g.origin),3)]),c("td",Ka,M(g.size?E(g.size):"—"),1),c("td",Wa,M(g.ms!=null?`${g.ms}ms`:"—"),1),c("td",null,[c("div",za,[c("div",{style:ve({width:`${y(g)}%`,background:m(g.status),height:"100%",borderRadius:"2px"})},null,4)])])],10,Ba)}),128)),h.value.length?pe("",!0):(L(),j("tr",qa,[c("td",Ga,M(wt(s)?"No fetches recorded yet.":"Waiting for connection to the Nuxt app…"),1)]))])])]),r.value?(L(),j("div",Ja,[c("div",Ya,[c("span",Xa,M(r.value.key),1),c("div",Za,[c("button",{onClick:k[5]||(k[5]=g=>i.value=null)},"×")])]),c("div",Qa,[(L(!0),j(oe,null,ye(u.value,([g,T])=>(L(),j(oe,{key:g},[c("span",ec,M(g),1),c("span",tc,M(T),1)],64))),128))]),k[11]||(k[11]=c("div",{class:"section-label"},"payload",-1)),c("pre",sc,M(p.value),1),k[12]||(k[12]=c("div",{class:"section-label",style:{"margin-top":"10px"}},"source",-1)),c("div",nc,M(r.value.file)+":"+M(r.value.line),1)])):(L(),j("div",oc,"select a call to inspect"))]),c("div",ic,[k[13]||(k[13]=c("div",{class:"section-label",style:{"margin-bottom":"6px"}},"waterfall",-1)),(L(!0),j(oe,null,ye(l.value,g=>(L(),j("div",{key:g.id,class:"wf-row"},[c("span",lc,M(g.key),1),c("div",rc,[c("div",{class:"wf-bar",style:ve({left:`${x(g)}%`,width:`${Math.max(2,A(g))}%`,background:m(g.status)})},null,4)]),c("span",ac,M(g.ms!=null?`${g.ms}ms`:"—"),1)]))),128))])]))}}),Nt=(e,t)=>{const s=e.__vccOpts||e;for(const[n,o]of t)s[n]=o;return s},uc=Nt(cc,[["__scopeId","data-v-1d89284f"]]),fc={class:"view"},dc={class:"toolbar"},pc=["onClick"],hc={class:"split"},vc={class:"graph-area"},gc=["width","height","viewBox"],mc=["d"],_c=["onClick"],bc={class:"mono node-label"},yc={key:0,class:"badge badge-ok badge-xs"},xc={key:1,class:"badge badge-err badge-xs"},wc={key:0,class:"detail-panel"},Cc={class:"detail-header"},$c={class:"mono bold",style:{"font-size":"12px"}},Sc={key:0},Tc={class:"section-label"},kc={class:"mono text-sm",style:{"min-width":"100px",color:"var(--text2)"}},Ec={class:"mono text-sm muted",style:{flex:"1",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},Mc={class:"section-label"},Ac={class:"mono text-sm",style:{"min-width":"100px"}},Oc={key:0,class:"badge badge-ok"},Ic={key:1,class:"badge badge-err"},Fc={class:"mono muted text-sm",style:{"margin-left":"auto"}},Pc={key:2,class:"muted text-sm",style:{"margin-top":"8px"}},Lc={key:1,class:"detail-empty"},kt=140,Et=32,Rc=72,Mt=18,Nc=Ct({__name:"ProvideInjectGraph",setup(e){const{provideInject:t,connected:s}=as();function n(A){return A.injects.some(E=>!E.ok)?"var(--red)":A.type==="both"?"var(--blue)":A.type==="provider"?"var(--teal)":"var(--text3)"}function o(A,E){return E==="all"?!0:E==="warn"?A.injects.some(v=>!v.ok):A.provides.some(v=>v.key===E)||A.injects.some(v=>v.key===E)}function i(A){return A.children.length===0?1:A.children.reduce((E,v)=>E+i(v),0)}function l(A){if(typeof A=="string")return A;try{return JSON.stringify(A)}catch{return String(A)}}function r(A){return String(A.componentUid)}const a=ae(()=>{const A=new Map,E=new Map;function v(g){const T=r(g),I=A.get(T);if(I)return I;const K={id:T,label:g.componentFile,type:"consumer",provides:[],injects:[],children:[]};return A.set(T,K),E.set(T,g.parentUid!==void 0?String(g.parentUid):null),K}for(const g of t.value.provides)v(g).provides.push({key:g.key,val:l(g.valueSnapshot),reactive:g.isReactive});for(const g of t.value.injects)v(g).injects.push({key:g.key,from:g.resolvedFromFile??null,ok:g.resolved});for(const g of A.values())g.injects.some(T=>!T.ok)?g.type="error":g.provides.length&&g.injects.length?g.type="both":g.provides.length?g.type="provider":g.type="consumer";const k=[];for(const[g,T]of A.entries()){const I=E.get(g),K=I?A.get(I):void 0;K?K.children.push(T):k.push(T)}return k}),h=ue("all"),u=ue(null),p=ae(()=>{const A=new Set;function E(v){v.forEach(k=>{k.provides.forEach(g=>A.add(g.key)),k.injects.forEach(g=>A.add(g.key)),E(k.children)})}return E(a.value),[...A]}),_=ae(()=>{const A=[],E=Mt;function v(g,T,I,K){const B=i(g)*(kt+Mt)-Mt;A.push({data:g,parentId:K,x:Math.round(I+B/2),y:Math.round(E+T*(Et+Rc)+Et/2)});let G=I;for(const V of g.children){const R=i(V);v(V,T+1,G,g.id),G+=R*(kt+Mt)}}let k=E;for(const g of a.value){const T=i(g);v(g,0,k,null),k+=T*(kt+Mt)+Mt*2}return A}),m=ae(()=>_.value.reduce((A,E)=>Math.max(A,E.x+kt/2+20),400)),y=ae(()=>_.value.reduce((A,E)=>Math.max(A,E.y+Et/2+20),200)),x=ae(()=>{const A=new Map(_.value.map(E=>[E.data.id,E]));return _.value.filter(E=>E.parentId!==null).map(E=>{const v=A.get(E.parentId);return{id:`${v.data.id}--${E.data.id}`,x1:v.x,y1:v.y+Et/2,x2:E.x,y2:E.y-Et/2}})});return(A,E)=>(L(),j("div",fc,[c("div",dc,[c("button",{class:X({active:h.value==="all"}),onClick:E[0]||(E[0]=v=>h.value="all")},"all keys",2),(L(!0),j(oe,null,ye(p.value,v=>(L(),j("button",{key:v,style:{"font-family":"var(--mono)"},class:X({active:h.value===v}),onClick:k=>h.value=v},M(v),11,pc))),128)),c("button",{style:{"margin-left":"auto"},class:X({"danger-active":h.value==="warn"}),onClick:E[1]||(E[1]=v=>h.value="warn")}," warnings only ",2)]),c("div",hc,[c("div",vc,[E[3]||(E[3]=Fi('<div class="legend" data-v-5c305554><span class="dot" style="background:var(--teal);" data-v-5c305554></span><span data-v-5c305554>provides</span><span class="dot" style="background:var(--blue);" data-v-5c305554></span><span data-v-5c305554>both</span><span class="dot" style="background:var(--text3);" data-v-5c305554></span><span data-v-5c305554>injects</span><span class="dot" style="background:var(--red);" data-v-5c305554></span><span data-v-5c305554>missing provider</span></div>',1)),c("div",{class:"canvas-wrap",style:ve({width:`${m.value}px`,height:`${y.value}px`})},[(L(),j("svg",{class:"edges-svg",width:m.value,height:y.value,viewBox:`0 0 ${m.value} ${y.value}`},[(L(!0),j(oe,null,ye(x.value,v=>(L(),j("path",{key:v.id,d:`M ${v.x1},${v.y1} C ${v.x1},${(v.y1+v.y2)/2} ${v.x2},${(v.y1+v.y2)/2} ${v.x2},${v.y2}`,class:"edge",fill:"none"},null,8,mc))),128))],8,gc)),(L(!0),j(oe,null,ye(_.value,v=>{var k;return L(),j("div",{key:v.data.id,class:X(["graph-node",{"is-selected":((k=u.value)==null?void 0:k.id)===v.data.id,"is-dimmed":!o(v.data,h.value)}]),style:ve({left:`${v.x-kt/2}px`,top:`${v.y-Et/2}px`,width:`${kt}px`,"--node-color":n(v.data)}),onClick:g=>u.value=v.data},[c("span",{class:"node-dot",style:ve({background:n(v.data)})},null,4),c("span",bc,M(v.data.label),1),v.data.provides.length?(L(),j("span",yc,"+"+M(v.data.provides.length),1)):pe("",!0),v.data.injects.some(g=>!g.ok)?(L(),j("span",xc,"!")):pe("",!0)],14,_c)}),128))],4)]),u.value?(L(),j("div",wc,[c("div",Cc,[c("span",$c,M(u.value.label),1),c("button",{onClick:E[2]||(E[2]=v=>u.value=null)},"×")]),u.value.provides.length?(L(),j("div",Sc,[c("div",Tc,"provides ("+M(u.value.provides.length)+")",1),(L(!0),j(oe,null,ye(u.value.provides,v=>(L(),j("div",{key:v.key,class:"provide-row"},[c("span",kc,M(v.key),1),c("span",Ec,M(v.val),1),c("span",{class:X(["badge",v.reactive?"badge-ok":"badge-gray"])},M(v.reactive?"reactive":"static"),3)]))),128))])):pe("",!0),u.value.injects.length?(L(),j("div",{key:1,style:ve({marginTop:u.value.provides.length?"10px":"0"})},[c("div",Mc,"injects ("+M(u.value.injects.length)+")",1),(L(!0),j(oe,null,ye(u.value.injects,v=>(L(),j("div",{key:v.key,class:X(["inject-row",{"inject-miss":!v.ok}])},[c("span",Ac,M(v.key),1),v.ok?(L(),j("span",Oc,"resolved")):(L(),j("span",Ic,"no provider")),c("span",Fc,M(v.from??"undefined"),1)],2))),128))],4)):pe("",!0),!u.value.provides.length&&!u.value.injects.length?(L(),j("div",Pc," no provide/inject in this component ")):pe("",!0)])):(L(),j("div",Lc,M(wt(s)?"Click a node to inspect.":"Waiting for connection to the Nuxt app…"),1))])]))}}),jc=Nt(Nc,[["__scopeId","data-v-5c305554"]]),Dc={class:"view"},Hc={class:"stats-row"},Bc={class:"stat-card"},Uc={class:"stat-val"},Vc={class:"stat-card"},Kc={class:"stat-val",style:{color:"var(--teal)"}},Wc={class:"stat-card"},zc={class:"stat-val",style:{color:"var(--red)"}},qc={class:"stat-card"},Gc={class:"stat-val"},Jc={class:"toolbar"},Yc={class:"list"},Xc=["onClick"],Zc={class:"comp-header"},Qc={class:"mono bold",style:{"font-size":"12px"}},eu={class:"muted text-sm",style:{"margin-left":"4px"}},tu={class:"comp-meta"},su={key:0,class:"muted text-sm"},nu={key:1,class:"badge badge-warn"},ou={key:2,class:"badge badge-warn"},iu={key:3,class:"badge badge-err"},lu={key:4,class:"badge badge-ok"},ru={key:5,class:"badge badge-gray"},au={key:0,class:"leak-banner"},cu={class:"mono text-sm",style:{"min-width":"90px",color:"var(--text2)"}},uu={class:"mono text-sm muted",style:{flex:"1",overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"}},fu={class:"badge badge-info text-xs"},du={class:"muted text-sm",style:{"min-width":"110px"}},pu={key:0,class:"muted text-sm",style:{padding:"16px 0"}},hu=Ct({__name:"ComposableTracker",setup(e){const{composables:t,connected:s}=as(),n=ae(()=>{const u=new Map;for(const p of t.value){const _=`${p.name}::${p.componentFile}`,m=u.get(_)??[];m.push(p),u.set(_,m)}return[...u.entries()].map(([p,_])=>{const m=[..._].sort((x,A)=>A.line-x.line)[0],y=[...new Set(_.map(x=>x.leakReason).filter(Boolean))];return{id:p,name:m.name,component:m.componentFile,instances:_.length,status:_.some(x=>x.status==="mounted")?"mounted":"unmounted",leak:_.some(x=>x.leak),leakReason:y.join(" · ")||void 0,refs:Object.entries(m.refs).map(([x,A])=>({key:x,type:A.type,val:typeof A.value=="string"?A.value:JSON.stringify(A.value)})),watchers:_.reduce((x,A)=>x+A.watcherCount,0),intervals:_.reduce((x,A)=>x+A.intervalCount,0),lifecycle:{onMounted:_.some(x=>x.lifecycle.hasOnMounted),onUnmounted:_.some(x=>x.lifecycle.hasOnUnmounted),watchersCleaned:_.every(x=>x.lifecycle.watchersCleaned),intervalsCleaned:_.every(x=>x.lifecycle.intervalsCleaned)}}})}),o=ue("all"),i=ue(""),l=ue(null),r=ae(()=>({mounted:n.value.filter(u=>u.status==="mounted").length,leaks:n.value.filter(u=>u.leak).length})),a=ae(()=>n.value.filter(u=>{if(o.value==="leak"&&!u.leak||o.value==="unmounted"&&u.status!=="unmounted")return!1;const p=i.value.toLowerCase();return!(p&&!u.name.toLowerCase().includes(p)&&!u.component.toLowerCase().includes(p))}));function h(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,p)=>(L(),j("div",Dc,[c("div",Hc,[c("div",Bc,[p[5]||(p[5]=c("div",{class:"stat-label"},"total",-1)),c("div",Uc,M(n.value.length),1)]),c("div",Vc,[p[6]||(p[6]=c("div",{class:"stat-label"},"mounted",-1)),c("div",Kc,M(r.value.mounted),1)]),c("div",Wc,[p[7]||(p[7]=c("div",{class:"stat-label"},"leaks",-1)),c("div",zc,M(r.value.leaks),1)]),c("div",qc,[p[8]||(p[8]=c("div",{class:"stat-label"},"instances",-1)),c("div",Gc,M(n.value.reduce((_,m)=>_+m.instances,0)),1)])]),c("div",Jc,[c("button",{class:X({active:o.value==="all"}),onClick:p[0]||(p[0]=_=>o.value="all")},"all",2),c("button",{class:X({"danger-active":o.value==="leak"}),onClick:p[1]||(p[1]=_=>o.value="leak")},"leaks only",2),c("button",{class:X({active:o.value==="unmounted"}),onClick:p[2]||(p[2]=_=>o.value="unmounted")},"unmounted",2),Fs(c("input",{"onUpdate:modelValue":p[3]||(p[3]=_=>i.value=_),type:"search",placeholder:"search composable or component…",style:{"max-width":"220px","margin-left":"auto"}},null,512),[[Ds,i.value]])]),c("div",Yc,[(L(!0),j(oe,null,ye(a.value,_=>(L(),j("div",{key:_.id,class:X(["comp-card",{leak:_.leak,expanded:l.value===_.id}]),onClick:m=>l.value=l.value===_.id?null:_.id},[c("div",Zc,[c("span",Qc,M(_.name),1),c("span",eu,M(_.component),1),c("div",tu,[_.instances>1?(L(),j("span",su,M(_.instances)+"×",1)):pe("",!0),_.watchers>0&&!_.leak?(L(),j("span",nu,M(_.watchers)+" watcher"+M(_.watchers>1?"s":""),1)):pe("",!0),_.intervals>0&&!_.leak?(L(),j("span",ou,M(_.intervals)+" interval"+M(_.intervals>1?"s":""),1)):pe("",!0),_.leak?(L(),j("span",iu,"leak detected")):_.status==="mounted"?(L(),j("span",lu,"mounted")):(L(),j("span",ru,"unmounted"))])]),l.value===_.id?(L(),j("div",{key:0,class:"comp-detail",onClick:p[4]||(p[4]=ma(()=>{},["stop"]))},[_.leak?(L(),j("div",au,M(_.leakReason),1)):pe("",!0),p[9]||(p[9]=c("div",{class:"section-label"},"reactive state",-1)),(L(!0),j(oe,null,ye(_.refs,m=>(L(),j("div",{key:m.key,class:"ref-row"},[c("span",cu,M(m.key),1),c("span",uu,M(m.val),1),c("span",fu,M(m.type),1)]))),128)),p[10]||(p[10]=c("div",{class:"section-label",style:{"margin-top":"8px"}},"lifecycle",-1)),(L(!0),j(oe,null,ye(h(_),m=>(L(),j("div",{key:m.label,class:"lc-row"},[c("span",{class:"lc-dot",style:ve({background:m.ok?"var(--teal)":"var(--red)"})},null,4),c("span",du,M(m.label),1),c("span",{class:"text-sm",style:ve({color:m.ok?"var(--teal)":"var(--red)"})},M(m.status),5)]))),128))])):pe("",!0)],10,Xc))),128)),a.value.length?pe("",!0):(L(),j("div",pu,M(wt(s)?"No composables recorded yet.":"Waiting for connection to the Nuxt app…"),1))])]))}}),vu=Nt(hu,[["__scopeId","data-v-c57fcb14"]]),gu={class:"view"},mu={class:"controls"},_u={class:"mode-group"},bu={class:"threshold-group"},yu={class:"mono text-sm"},xu={class:"stats-row"},wu={class:"stat-card"},Cu={class:"stat-val"},$u={class:"stat-card"},Su={class:"stat-val"},Tu={class:"stat-card"},ku={class:"stat-val",style:{color:"var(--red)"}},Eu={class:"stat-card"},Mu={class:"stat-val"},Au={class:"split"},Ou={class:"page-frame"},Iu={key:0,class:"detail-empty",style:{height:"180px","margin-top":"12px"}},Fu={class:"sidebar"},Pu={class:"detail-header"},Lu={class:"mono bold",style:{"font-size":"12px"}},Ru={class:"meta-grid"},Nu={class:"mono text-sm"},ju={class:"mono text-sm"},Du={class:"mono text-sm muted"},Hu={key:0,class:"muted text-sm"},Bu={key:1,class:"detail-empty"},Uu=Ct({__name:"RenderHeatmap",setup(e){const t=Ct({name:"ComponentBlock",props:{node:Object,mode:String,threshold:Number,hotOnly:Boolean,selected:String},emits:["select"],setup(T,{emit:I}){function K(V){return T.mode==="count"?V.renders:V.avgMs}function q(){let V=1;function R(J){J.forEach(ie=>{const $e=K(ie);$e>V&&(V=$e),R(ie.children)})}return R([T.node]),Math.max(V,T.mode==="count"?40:20)}function B(V,R){const J=Math.min(V/R,1);return J<.25?{bg:"#EAF3DE",text:"#27500A",border:"#97C459"}:J<.55?{bg:"#FAEEDA",text:"#633806",border:"#EF9F27"}:J<.8?{bg:"#FAECE7",text:"#712B13",border:"#D85A30"}:{bg:"#FCEBEB",text:"#791F1F",border:"#E24B4A"}}function G(V){return(T.mode==="count"?V.renders:V.avgMs)>=T.threshold}return()=>{const V=T.node;if(T.hotOnly&&!G(V)&&!V.children.some(Z=>(T.mode==="count"?Z.renders:Z.avgMs)>=T.threshold))return null;const R=q(),J=K(V),ie=B(J,R),$e=T.selected===V.id,de=T.mode==="count"?"renders":"ms avg",ce=T.mode==="count"?String(J):`${J.toFixed(1)}ms`;return mt("div",{style:{background:ie.bg,border:$e?`2px solid ${ie.border}`:`1px solid ${ie.border}`,borderRadius:"6px",padding:"6px 9px",marginBottom:"5px",cursor:"pointer"},onClick:()=>I("select",V)},[mt("div",{style:{display:"flex",alignItems:"center",gap:"6px"}},[mt("span",{style:{fontFamily:"var(--mono)",fontSize:"11px",fontWeight:"500",color:ie.text}},V.label),mt("span",{style:{fontFamily:"var(--mono)",fontSize:"10px",color:ie.text,opacity:"0.7",marginLeft:"auto"}},`${ce} ${de}`)]),V.children.length?mt("div",{style:{marginLeft:"10px",borderLeft:`1.5px solid ${ie.border}40`,paddingLeft:"8px",marginTop:"5px"}},V.children.map(Z=>mt(t,{node:Z,mode:T.mode,threshold:T.threshold,hotOnly:T.hotOnly,selected:T.selected,onSelect:Ye=>I("select",Ye)}))):null])}}}),{renders:s,connected:n}=as(),o=ue("count"),i=ue(5),l=ue(!1),r=ue(!1),a=ue(null),h=ue([]);function u(T){return`${T.type}: ${T.key}`}function p(T){const I=new Map;for(const q of T)I.set(String(q.uid),{id:String(q.uid),label:q.file.split("/").pop()??q.name,file:q.file,renders:q.renders,avgMs:q.avgMs,triggers:q.triggers.map(u),children:[]});const K=[];for(const q of T){const B=I.get(String(q.uid));if(!B)continue;const G=q.parentUid!==void 0?I.get(String(q.parentUid)):void 0;G?G.children.push(B):K.push(B)}return K}const _=ae(()=>p(s.value)),m=ae(()=>r.value?h.value:_.value),y=ae(()=>{const T=[];function I(K){K.forEach(q=>{T.push(q),I(q.children)})}return I(m.value),T}),x=ae(()=>y.value.find(T=>T.id===a.value)??null),A=ae(()=>y.value.reduce((T,I)=>T+I.renders,0)),E=ae(()=>y.value.filter(T=>k(T)).length),v=ae(()=>{const T=y.value.filter(I=>I.avgMs>0);return T.length?(T.reduce((I,K)=>I+K.avgMs,0)/T.length).toFixed(1):"0.0"});function k(T){return(o.value==="count"?T.renders:T.avgMs)>=i.value}function g(){if(r.value){r.value=!1,h.value=[];return}h.value=JSON.parse(JSON.stringify(_.value)),r.value=!0}return(T,I)=>(L(),j("div",gu,[c("div",mu,[c("div",_u,[c("button",{class:X({active:o.value==="count"}),onClick:I[0]||(I[0]=K=>o.value="count")},"render count",2),c("button",{class:X({active:o.value==="time"}),onClick:I[1]||(I[1]=K=>o.value="time")},"render time",2)]),c("div",bu,[I[6]||(I[6]=c("span",{class:"muted text-sm"},"threshold",-1)),Fs(c("input",{"onUpdate:modelValue":I[2]||(I[2]=K=>i.value=K),type:"range",min:"1",max:"30",step:"1",style:{width:"90px"}},null,512),[[Ds,i.value,void 0,{number:!0}]]),c("span",yu,M(i.value)+"+",1)]),c("button",{class:X({active:l.value}),onClick:I[3]||(I[3]=K=>l.value=!l.value)},"hot only",2),c("button",{class:X({active:r.value}),style:{"margin-left":"auto"},onClick:g},M(r.value?"unfreeze":"freeze snapshot"),3)]),c("div",xu,[c("div",wu,[I[7]||(I[7]=c("div",{class:"stat-label"},"components",-1)),c("div",Cu,M(y.value.length),1)]),c("div",$u,[I[8]||(I[8]=c("div",{class:"stat-label"},"total renders",-1)),c("div",Su,M(A.value),1)]),c("div",Tu,[I[9]||(I[9]=c("div",{class:"stat-label"},"hot",-1)),c("div",ku,M(E.value),1)]),c("div",Eu,[I[10]||(I[10]=c("div",{class:"stat-label"},"avg time",-1)),c("div",Mu,M(v.value)+"ms",1)])]),c("div",Au,[c("div",Ou,[I[11]||(I[11]=Fi('<div class="legend" data-v-44976d4a><div class="swatch-row" data-v-44976d4a><span class="swatch" style="background:#eaf3de;" data-v-44976d4a></span><span class="swatch" style="background:#97c459;" data-v-44976d4a></span><span class="swatch" style="background:#ef9f27;" data-v-44976d4a></span><span class="swatch" style="background:#e24b4a;" data-v-44976d4a></span></div><span class="muted text-sm" data-v-44976d4a>cool → hot</span></div>',1)),(L(!0),j(oe,null,ye(m.value,K=>{var q;return L(),_t(wt(t),{key:K.id,node:K,mode:o.value,threshold:i.value,"hot-only":l.value,selected:(q=x.value)==null?void 0:q.id,onSelect:I[4]||(I[4]=B=>a.value=B.id)},null,8,["node","mode","threshold","hot-only","selected"])}),128)),m.value.length?pe("",!0):(L(),j("div",Iu,M(wt(n)?"No render activity recorded yet.":"Waiting for connection to the Nuxt app…"),1))]),c("div",Fu,[x.value?(L(),j(oe,{key:0},[c("div",Pu,[c("span",Lu,M(x.value.label),1),c("button",{onClick:I[5]||(I[5]=K=>a.value=null)},"×")]),c("div",Ru,[I[12]||(I[12]=c("span",{class:"muted text-sm"},"renders",-1)),c("span",Nu,M(x.value.renders),1),I[13]||(I[13]=c("span",{class:"muted text-sm"},"avg time",-1)),c("span",ju,M(x.value.avgMs.toFixed(1))+"ms",1),I[14]||(I[14]=c("span",{class:"muted text-sm"},"hot?",-1)),c("span",{class:"text-sm",style:ve({color:k(x.value)?"var(--red)":"var(--teal)"})},M(k(x.value)?"yes":"no"),5),I[15]||(I[15]=c("span",{class:"muted text-sm"},"file",-1)),c("span",Du,M(x.value.file),1)]),I[16]||(I[16]=c("div",{class:"section-label"},"triggers",-1)),(L(!0),j(oe,null,ye(x.value.triggers,K=>(L(),j("div",{key:K,class:"trigger-item mono text-sm"},M(K),1))),128)),x.value.triggers.length?pe("",!0):(L(),j("div",Hu,"no triggers recorded"))],64)):(L(),j("div",Bu,"click a component to inspect"))])])]))}}),Vu=Nt(Uu,[["__scopeId","data-v-44976d4a"]]),Ku={class:"timeline-root"},Wu={class:"stats-row"},zu={class:"stat-card"},qu={class:"stat-val"},Gu={class:"stat-card"},Ju={class:"stat-val",style:{color:"var(--purple)"}},Yu={class:"stat-card"},Xu={class:"stat-val",style:{color:"var(--red)"}},Zu={class:"stat-card"},Qu={class:"stat-val"},ef={class:"toolbar"},tf={class:"filter-group"},sf={class:"content-area"},nf={class:"data-table"},of=["onClick"],lf={class:"mono",style:{"font-size":"11px","font-weight":"500"}},rf={class:"mono",style:{"font-size":"11px",color:"var(--text2)"}},af={class:"muted",style:{"font-size":"11px"}},cf={class:"bar-cell"},uf={class:"bar-track"},ff={key:0},df={colspan:"6",style:{"text-align":"center",color:"var(--text3)",padding:"24px"}},pf={key:0,class:"detail-panel"},hf={class:"panel-header"},vf={class:"panel-title"},gf={class:"panel-section"},mf={class:"panel-row"},_f={class:"panel-row"},bf={class:"panel-row"},yf={class:"panel-val mono"},xf={key:0,class:"panel-row"},wf={class:"panel-val mono"},Cf={class:"panel-section"},$f={class:"panel-row"},Sf={class:"panel-val mono"},Tf={class:"panel-row"},kf={class:"panel-val mono"},Ef={class:"panel-row"},Mf={class:"panel-val mono",style:{"font-weight":"500"}},Af={class:"panel-section"},Of={class:"panel-row"},If={class:"panel-row"},Ff={key:0,class:"cancel-notice"},Pf={key:1,class:"active-notice"},Lf=Ct({__name:"TransitionTimeline",setup(e){const{transitions:t,connected:s}=as(),n=ue("all"),o=ue(""),i=ue(null),l=ae(()=>{let m=t.value;if(o.value){const y=o.value.toLowerCase();m=m.filter(x=>x.transitionName.toLowerCase().includes(y)||x.parentComponent.toLowerCase().includes(y))}return n.value==="cancelled"?m=m.filter(y=>y.cancelled||y.phase==="interrupted"):n.value==="active"?m=m.filter(y=>y.phase==="entering"||y.phase==="leaving"):n.value==="completed"&&(m=m.filter(y=>y.phase==="entered"||y.phase==="left")),m}),r=ae(()=>({total:t.value.length,active:t.value.filter(m=>m.phase==="entering"||m.phase==="leaving").length,cancelled:t.value.filter(m=>m.cancelled||m.phase==="interrupted").length,avgMs:(()=>{const m=t.value.filter(y=>y.durationMs!==void 0);return m.length?Math.round(m.reduce((y,x)=>y+(x.durationMs??0),0)/m.length):0})()})),a=ae(()=>{const m=l.value;if(!m.length)return[];const y=Math.min(...m.map(E=>E.startTime)),x=Math.max(...m.map(E=>E.endTime??E.startTime+400)),A=Math.max(x-y,1);return m.map(E=>({left:(E.startTime-y)/A*100,width:((E.endTime??E.startTime+80)-E.startTime)/A*100}))});function h(m){return m==="entering"||m==="leaving"?"#7f77dd":m==="entered"?"#1d9e75":m==="left"?"#378add":m==="enter-cancelled"||m==="leave-cancelled"?"#e24b4a":m==="interrupted"?"#e09a3a":"#888"}function u(m){return m==="entering"||m==="leaving"?"badge-purple":m==="entered"||m==="left"?"badge-ok":m.includes("cancelled")?"badge-err":m==="interrupted"?"badge-warn":"badge-gray"}function p(m){return m.appear?"✦ appear":m.direction==="enter"?"→ enter":"← leave"}function _(m){return m.appear?"var(--amber)":m.direction==="enter"?"var(--teal)":"var(--blue)"}return(m,y)=>(L(),j("div",Ku,[c("div",Wu,[c("div",zu,[c("div",qu,M(r.value.total),1),y[6]||(y[6]=c("div",{class:"stat-label"},"total",-1))]),c("div",Gu,[c("div",Ju,M(r.value.active),1),y[7]||(y[7]=c("div",{class:"stat-label"},"active",-1))]),c("div",Yu,[c("div",Xu,M(r.value.cancelled),1),y[8]||(y[8]=c("div",{class:"stat-label"},"cancelled",-1))]),c("div",Zu,[c("div",Qu,[ct(M(r.value.avgMs)+" ",1),y[9]||(y[9]=c("span",{class:"stat-unit"},"ms",-1))]),y[10]||(y[10]=c("div",{class:"stat-label"},"avg duration",-1))])]),c("div",ef,[Fs(c("input",{"onUpdate:modelValue":y[0]||(y[0]=x=>o.value=x),type:"search",placeholder:"filter by name or component…",class:"search-input"},null,512),[[Ds,o.value]]),c("div",tf,[c("button",{class:X({active:n.value==="all"}),onClick:y[1]||(y[1]=x=>n.value="all")},"All",2),c("button",{class:X({active:n.value==="active"}),onClick:y[2]||(y[2]=x=>n.value="active")},"Active",2),c("button",{class:X({active:n.value==="completed"}),onClick:y[3]||(y[3]=x=>n.value="completed")},"Completed",2),c("button",{class:X({active:n.value==="cancelled","danger-active":n.value==="cancelled"}),onClick:y[4]||(y[4]=x=>n.value="cancelled")}," Cancelled ",2)])]),c("div",sf,[c("div",{class:X(["table-pane",{"has-panel":i.value}])},[c("table",nf,[y[11]||(y[11]=c("thead",null,[c("tr",null,[c("th",{style:{width:"110px"}},"NAME"),c("th",{style:{width:"80px"}},"DIR"),c("th",{style:{width:"90px"}},"PHASE"),c("th",{style:{width:"70px"}},"DURATION"),c("th",null,"COMPONENT"),c("th",null,"TIMELINE")])],-1)),c("tbody",null,[(L(!0),j(oe,null,ye(l.value,(x,A)=>{var E,v,k;return L(),j("tr",{key:x.id,class:X({selected:((E=i.value)==null?void 0:E.id)===x.id}),onClick:g=>{var T;return i.value=((T=i.value)==null?void 0:T.id)===x.id?null:x}},[c("td",null,[c("span",lf,M(x.transitionName),1)]),c("td",null,[c("span",{class:"mono",style:ve([{"font-size":"11px"},{color:_(x)}])},M(p(x)),5)]),c("td",null,[c("span",{class:X(["badge",u(x.phase)])},M(x.phase),3)]),c("td",rf,M(x.durationMs!==void 0?x.durationMs+"ms":"—"),1),c("td",af,M(x.parentComponent),1),c("td",cf,[c("div",uf,[c("div",{class:"bar-fill",style:ve({left:((v=a.value[A])==null?void 0:v.left)+"%",width:Math.max(((k=a.value[A])==null?void 0:k.width)??1,1)+"%",background:h(x.phase),opacity:x.phase==="entering"||x.phase==="leaving"?"0.55":"1"})},null,4)])])],10,of)}),128)),l.value.length?pe("",!0):(L(),j("tr",ff,[c("td",df,M(wt(s)?"No transitions recorded yet — trigger one on the page.":"Waiting for connection to the Nuxt app…"),1)]))])])],2),Ce(qr,{name:"panel-slide"},{default:ei(()=>[i.value?(L(),j("aside",pf,[c("div",hf,[c("span",vf,M(i.value.transitionName),1),c("button",{class:"close-btn",onClick:y[5]||(y[5]=x=>i.value=null)},"✕")]),c("div",gf,[c("div",mf,[y[12]||(y[12]=c("span",{class:"panel-key"},"Direction",-1)),c("span",{class:"panel-val",style:ve({color:_(i.value)})},M(p(i.value)),5)]),c("div",_f,[y[13]||(y[13]=c("span",{class:"panel-key"},"Phase",-1)),c("span",{class:X(["badge",u(i.value.phase)])},M(i.value.phase),3)]),c("div",bf,[y[14]||(y[14]=c("span",{class:"panel-key"},"Component",-1)),c("span",yf,M(i.value.parentComponent),1)]),i.value.mode?(L(),j("div",xf,[y[15]||(y[15]=c("span",{class:"panel-key"},"Mode",-1)),c("span",wf,M(i.value.mode),1)])):pe("",!0)]),c("div",Cf,[y[19]||(y[19]=c("div",{class:"panel-section-title"},"Timing",-1)),c("div",$f,[y[16]||(y[16]=c("span",{class:"panel-key"},"Start",-1)),c("span",Sf,M(i.value.startTime.toFixed(2))+"ms",1)]),c("div",Tf,[y[17]||(y[17]=c("span",{class:"panel-key"},"End",-1)),c("span",kf,M(i.value.endTime!==void 0?i.value.endTime.toFixed(2)+"ms":"—"),1)]),c("div",Ef,[y[18]||(y[18]=c("span",{class:"panel-key"},"Duration",-1)),c("span",Mf,M(i.value.durationMs!==void 0?i.value.durationMs+"ms":i.value.phase==="interrupted"?"interrupted":"in progress"),1)])]),c("div",Af,[y[22]||(y[22]=c("div",{class:"panel-section-title"},"Flags",-1)),c("div",Of,[y[20]||(y[20]=c("span",{class:"panel-key"},"Appear",-1)),c("span",{class:"panel-val",style:ve({color:i.value.appear?"var(--amber)":"var(--text3)"})},M(i.value.appear?"yes":"no"),5)]),c("div",If,[y[21]||(y[21]=c("span",{class:"panel-key"},"Cancelled",-1)),c("span",{class:"panel-val",style:ve({color:i.value.cancelled?"var(--red)":"var(--text3)"})},M(i.value.cancelled?"yes":"no"),5)])]),i.value.cancelled?(L(),j("div",Ff,[...y[23]||(y[23]=[ct(" This transition was cancelled mid-flight. The element may be stuck in a partial animation state if the interruption was not handled with ",-1),c("code",null,"onEnterCancelled",-1),ct(" / ",-1),c("code",null,"onLeaveCancelled",-1),ct(" . ",-1)])])):pe("",!0),i.value.phase==="entering"||i.value.phase==="leaving"?(L(),j("div",Pf,[...y[24]||(y[24]=[ct(" Transition is currently in progress. If it stays in this state longer than expected, the ",-1),c("code",null,"done()",-1),ct(" callback may not be getting called (JS-mode transition stall). ",-1)])])):pe("",!0)])):pe("",!0)]),_:1})])]))}}),Rf=Nt(Lf,[["__scopeId","data-v-312e5bf3"]]),Nf={id:"app-root"},jf={class:"tabbar"},Df=["onClick"],Hf={class:"tab-icon"},Bf={class:"tab-content"},Uf=Ct({__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=ue(t[s]??"fetch"),o=[{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(i,l)=>(L(),j("div",Nf,[c("nav",jf,[l[0]||(l[0]=c("div",{class:"tabbar-brand"},"observatory",-1)),(L(),j(oe,null,ye(o,r=>c("button",{key:r.id,class:X(["tab-btn",{active:n.value===r.id}]),onClick:a=>n.value=r.id},[c("span",Hf,M(r.icon),1),ct(" "+M(r.label),1)],10,Df)),64))]),c("main",Bf,[n.value==="fetch"?(L(),_t(uc,{key:0})):n.value==="provide"?(L(),_t(jc,{key:1})):n.value==="composable"?(L(),_t(vu,{key:2})):n.value==="heatmap"?(L(),_t(Vu,{key:3})):n.value==="transitions"?(L(),_t(Rf,{key:4})):pe("",!0)])]))}}),Vf=Nt(Uf,[["__scopeId","data-v-08e3ddb5"]]);ya(Vf).mount("#app");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.view[data-v-c38ca5f3]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-c38ca5f3]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-c38ca5f3]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-c38ca5f3]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.table-wrap[data-v-c38ca5f3]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg)}.detail-panel[data-v-c38ca5f3]{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-c38ca5f3]{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-c38ca5f3]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-c38ca5f3]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:11px}.section-label[data-v-c38ca5f3]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px}.payload-box[data-v-c38ca5f3]{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-c38ca5f3]{flex-shrink:0;background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px}.wf-row[data-v-c38ca5f3]{display:flex;align-items:center;gap:8px;margin-bottom:4px}.wf-track[data-v-c38ca5f3]{flex:1;position:relative;height:8px;background:var(--bg2);border-radius:2px;overflow:hidden}.wf-bar[data-v-c38ca5f3]{position:absolute;top:0;height:100%;border-radius:2px;opacity:.8}.view[data-v-17641d0b]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.toolbar[data-v-17641d0b]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-17641d0b]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.graph-area[data-v-17641d0b]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-17641d0b]{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--text2);margin-bottom:12px}.dot[data-v-17641d0b]{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px}.canvas-wrap[data-v-17641d0b]{position:relative}.edges-svg[data-v-17641d0b]{position:absolute;top:0;left:0;pointer-events:none}.edge[data-v-17641d0b]{stroke:var(--border);stroke-width:1.5}.graph-node[data-v-17641d0b]{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-17641d0b]:hover{border-color:var(--text3)}.graph-node.is-selected[data-v-17641d0b]{border-color:var(--node-color);background:color-mix(in srgb,var(--node-color) 8%,transparent)}.graph-node.is-dimmed[data-v-17641d0b]{opacity:.2;pointer-events:none}.node-dot[data-v-17641d0b]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.node-label[data-v-17641d0b]{font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis}.badge-xs[data-v-17641d0b]{font-size:9px;padding:1px 4px}.detail-panel[data-v-17641d0b]{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}.detail-empty[data-v-17641d0b]{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}.detail-header[data-v-17641d0b]{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.section-label[data-v-17641d0b]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin:8px 0 5px}.provide-row[data-v-17641d0b],.inject-row[data-v-17641d0b]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.inject-miss[data-v-17641d0b]{background:#e24b4a14}.view[data-v-b900d9db]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-b900d9db]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-b900d9db]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.list[data-v-b900d9db]{flex:1;overflow:auto;display:flex;flex-direction:column;gap:6px}.comp-card[data-v-b900d9db]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer}.comp-card[data-v-b900d9db]:hover{border-color:var(--text3)}.comp-card.leak[data-v-b900d9db]{border-left:2px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0}.comp-card.expanded[data-v-b900d9db]{border-color:var(--purple)}.comp-header[data-v-b900d9db]{display:flex;align-items:center;gap:8px;padding:9px 13px}.comp-meta[data-v-b900d9db]{display:flex;align-items:center;gap:6px;margin-left:auto}.comp-detail[data-v-b900d9db]{border-top:.5px solid var(--border);padding:10px 13px}.leak-banner[data-v-b900d9db]{background:#e24b4a1a;border-radius:var(--radius);padding:7px 10px;font-size:12px;color:var(--red);margin-bottom:8px}.section-label[data-v-b900d9db]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-bottom:5px}.ref-row[data-v-b900d9db]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.lc-row[data-v-b900d9db]{display:flex;align-items:center;gap:8px;padding:4px 0}.lc-dot[data-v-b900d9db]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.view[data-v-8a793d48]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.controls[data-v-8a793d48]{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.mode-group[data-v-8a793d48]{display:flex;gap:2px}.threshold-group[data-v-8a793d48]{display:flex;align-items:center;gap:6px}.stats-row[data-v-8a793d48]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.split[data-v-8a793d48]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.page-frame[data-v-8a793d48]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-8a793d48]{display:flex;align-items:center;gap:8px;margin-bottom:10px}.swatch-row[data-v-8a793d48]{display:flex;gap:2px}.swatch[data-v-8a793d48]{width:16px;height:8px;border-radius:2px}.sidebar[data-v-8a793d48]{width:260px;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:6px}.detail-empty[data-v-8a793d48]{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text3);font-size:12px}.detail-header[data-v-8a793d48]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-8a793d48]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.section-label[data-v-8a793d48]{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-8a793d48]{background:var(--bg2);border-radius:var(--radius);padding:4px 8px;margin-bottom:3px;color:var(--text2)}.timeline-root[data-v-312e5bf3]{display:flex;flex-direction:column;height:100%;overflow:hidden}.stats-row[data-v-312e5bf3]{display:flex;gap:10px;padding:12px 14px 0;flex-shrink:0}.stat-card[data-v-312e5bf3]{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-312e5bf3]{font-size:20px;font-weight:600;font-family:var(--mono);line-height:1.1}.stat-unit[data-v-312e5bf3]{font-size:12px;opacity:.6;margin-left:1px}.stat-label[data-v-312e5bf3]{font-size:10px;color:var(--text3);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}.toolbar[data-v-312e5bf3]{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-shrink:0;border-bottom:.5px solid var(--border)}.search-input[data-v-312e5bf3]{flex:1;max-width:260px}.filter-group[data-v-312e5bf3]{display:flex;gap:4px}.content-area[data-v-312e5bf3]{display:flex;flex:1;overflow:hidden;min-height:0}.table-pane[data-v-312e5bf3]{flex:1;overflow:hidden auto;min-width:0}.bar-cell[data-v-312e5bf3]{width:200px;padding:4px 8px}.bar-track[data-v-312e5bf3]{position:relative;height:8px;background:var(--bg2);border-radius:4px;overflow:hidden}.bar-fill[data-v-312e5bf3]{position:absolute;top:0;height:100%;min-width:3px;border-radius:4px;transition:width .15s}.detail-panel[data-v-312e5bf3]{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-312e5bf3]{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-312e5bf3]{font-family:var(--mono);font-size:13px;font-weight:500}.close-btn[data-v-312e5bf3]{border:none;background:transparent;color:var(--text3);font-size:11px;padding:2px 6px;cursor:pointer}.panel-section[data-v-312e5bf3]{padding:10px 14px 6px;border-bottom:.5px solid var(--border)}.panel-section-title[data-v-312e5bf3]{font-size:10px;font-weight:500;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.panel-row[data-v-312e5bf3]{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 0;font-size:12px}.panel-key[data-v-312e5bf3]{color:var(--text3);flex-shrink:0}.panel-val[data-v-312e5bf3]{color:var(--text);text-align:right;word-break:break-all}.cancel-notice[data-v-312e5bf3],.active-notice[data-v-312e5bf3]{margin:10px 14px 0;font-size:11px;line-height:1.6;padding:8px 10px;border-radius:var(--radius)}.cancel-notice[data-v-312e5bf3]{background:#e24b4a1a;color:var(--red);border:.5px solid rgb(226 75 74 / 30%)}.active-notice[data-v-312e5bf3]{background:#7f77dd1a;color:var(--purple);border:.5px solid rgb(127 119 221 / 30%)}code[data-v-312e5bf3]{font-family:var(--mono);font-size:10px;background:#00000026;padding:1px 4px;border-radius:3px}.panel-slide-enter-active[data-v-312e5bf3],.panel-slide-leave-active[data-v-312e5bf3]{transition:transform .18s ease,opacity .18s ease}.panel-slide-enter-from[data-v-312e5bf3],.panel-slide-leave-to[data-v-312e5bf3]{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}
|
|
1
|
+
.view[data-v-1d89284f]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-1d89284f]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-1d89284f]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-1d89284f]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.table-wrap[data-v-1d89284f]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg)}.detail-panel[data-v-1d89284f]{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-1d89284f]{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-1d89284f]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-1d89284f]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:11px}.section-label[data-v-1d89284f]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-top:6px}.payload-box[data-v-1d89284f]{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-1d89284f]{flex-shrink:0;background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);padding:10px 12px}.wf-row[data-v-1d89284f]{display:flex;align-items:center;gap:8px;margin-bottom:4px}.wf-track[data-v-1d89284f]{flex:1;position:relative;height:8px;background:var(--bg2);border-radius:2px;overflow:hidden}.wf-bar[data-v-1d89284f]{position:absolute;top:0;height:100%;border-radius:2px;opacity:.8}.view[data-v-5c305554]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.toolbar[data-v-5c305554]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.split[data-v-5c305554]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.graph-area[data-v-5c305554]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-5c305554]{display:flex;align-items:center;gap:12px;font-size:11px;color:var(--text2);margin-bottom:12px}.dot[data-v-5c305554]{width:8px;height:8px;border-radius:50%;display:inline-block;margin-right:2px}.canvas-wrap[data-v-5c305554]{position:relative}.edges-svg[data-v-5c305554]{position:absolute;top:0;left:0;pointer-events:none}.edge[data-v-5c305554]{stroke:var(--border);stroke-width:1.5}.graph-node[data-v-5c305554]{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-5c305554]:hover{border-color:var(--text3)}.graph-node.is-selected[data-v-5c305554]{border-color:var(--node-color);background:color-mix(in srgb,var(--node-color) 8%,transparent)}.graph-node.is-dimmed[data-v-5c305554]{opacity:.2;pointer-events:none}.node-dot[data-v-5c305554]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.node-label[data-v-5c305554]{font-size:11px;flex:1;overflow:hidden;text-overflow:ellipsis}.badge-xs[data-v-5c305554]{font-size:9px;padding:1px 4px}.detail-panel[data-v-5c305554]{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}.detail-empty[data-v-5c305554]{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}.detail-header[data-v-5c305554]{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.section-label[data-v-5c305554]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin:8px 0 5px}.provide-row[data-v-5c305554],.inject-row[data-v-5c305554]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.inject-miss[data-v-5c305554]{background:#e24b4a14}.view[data-v-c57fcb14]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.stats-row[data-v-c57fcb14]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.toolbar[data-v-c57fcb14]{display:flex;align-items:center;gap:6px;flex-shrink:0;flex-wrap:wrap}.list[data-v-c57fcb14]{flex:1;overflow:auto;display:flex;flex-direction:column;gap:6px}.comp-card[data-v-c57fcb14]{background:var(--bg3);border:.5px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;cursor:pointer}.comp-card[data-v-c57fcb14]:hover{border-color:var(--text3)}.comp-card.leak[data-v-c57fcb14]{border-left:2px solid var(--red);border-radius:0 var(--radius-lg) var(--radius-lg) 0}.comp-card.expanded[data-v-c57fcb14]{border-color:var(--purple)}.comp-header[data-v-c57fcb14]{display:flex;align-items:center;gap:8px;padding:9px 13px}.comp-meta[data-v-c57fcb14]{display:flex;align-items:center;gap:6px;margin-left:auto}.comp-detail[data-v-c57fcb14]{border-top:.5px solid var(--border);padding:10px 13px}.leak-banner[data-v-c57fcb14]{background:#e24b4a1a;border-radius:var(--radius);padding:7px 10px;font-size:12px;color:var(--red);margin-bottom:8px}.section-label[data-v-c57fcb14]{font-size:10px;font-weight:500;text-transform:uppercase;letter-spacing:.4px;color:var(--text3);margin-bottom:5px}.ref-row[data-v-c57fcb14]{display:flex;align-items:center;gap:8px;padding:5px 8px;background:var(--bg2);border-radius:var(--radius);margin-bottom:3px}.lc-row[data-v-c57fcb14]{display:flex;align-items:center;gap:8px;padding:4px 0}.lc-dot[data-v-c57fcb14]{width:7px;height:7px;border-radius:50%;flex-shrink:0}.view[data-v-44976d4a]{display:flex;flex-direction:column;height:100%;overflow:hidden;padding:12px;gap:10px}.controls[data-v-44976d4a]{display:flex;align-items:center;gap:8px;flex-shrink:0;flex-wrap:wrap}.mode-group[data-v-44976d4a]{display:flex;gap:2px}.threshold-group[data-v-44976d4a]{display:flex;align-items:center;gap:6px}.stats-row[data-v-44976d4a]{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;flex-shrink:0}.split[data-v-44976d4a]{display:flex;gap:12px;flex:1;overflow:hidden;min-height:0}.page-frame[data-v-44976d4a]{flex:1;overflow:auto;border:.5px solid var(--border);border-radius:var(--radius-lg);padding:12px;background:var(--bg3)}.legend[data-v-44976d4a]{display:flex;align-items:center;gap:8px;margin-bottom:10px}.swatch-row[data-v-44976d4a]{display:flex;gap:2px}.swatch[data-v-44976d4a]{width:16px;height:8px;border-radius:2px}.sidebar[data-v-44976d4a]{width:260px;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:6px}.detail-empty[data-v-44976d4a]{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text3);font-size:12px}.detail-header[data-v-44976d4a]{display:flex;align-items:center;justify-content:space-between}.meta-grid[data-v-44976d4a]{display:grid;grid-template-columns:auto 1fr;gap:4px 12px}.section-label[data-v-44976d4a]{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-44976d4a]{background:var(--bg2);border-radius:var(--radius);padding:4px 8px;margin-bottom:3px;color:var(--text2)}.timeline-root[data-v-312e5bf3]{display:flex;flex-direction:column;height:100%;overflow:hidden}.stats-row[data-v-312e5bf3]{display:flex;gap:10px;padding:12px 14px 0;flex-shrink:0}.stat-card[data-v-312e5bf3]{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-312e5bf3]{font-size:20px;font-weight:600;font-family:var(--mono);line-height:1.1}.stat-unit[data-v-312e5bf3]{font-size:12px;opacity:.6;margin-left:1px}.stat-label[data-v-312e5bf3]{font-size:10px;color:var(--text3);margin-top:2px;text-transform:uppercase;letter-spacing:.4px}.toolbar[data-v-312e5bf3]{display:flex;align-items:center;gap:8px;padding:10px 14px;flex-shrink:0;border-bottom:.5px solid var(--border)}.search-input[data-v-312e5bf3]{flex:1;max-width:260px}.filter-group[data-v-312e5bf3]{display:flex;gap:4px}.content-area[data-v-312e5bf3]{display:flex;flex:1;overflow:hidden;min-height:0}.table-pane[data-v-312e5bf3]{flex:1;overflow:hidden auto;min-width:0}.bar-cell[data-v-312e5bf3]{width:200px;padding:4px 8px}.bar-track[data-v-312e5bf3]{position:relative;height:8px;background:var(--bg2);border-radius:4px;overflow:hidden}.bar-fill[data-v-312e5bf3]{position:absolute;top:0;height:100%;min-width:3px;border-radius:4px;transition:width .15s}.detail-panel[data-v-312e5bf3]{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-312e5bf3]{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-312e5bf3]{font-family:var(--mono);font-size:13px;font-weight:500}.close-btn[data-v-312e5bf3]{border:none;background:transparent;color:var(--text3);font-size:11px;padding:2px 6px;cursor:pointer}.panel-section[data-v-312e5bf3]{padding:10px 14px 6px;border-bottom:.5px solid var(--border)}.panel-section-title[data-v-312e5bf3]{font-size:10px;font-weight:500;color:var(--text3);text-transform:uppercase;letter-spacing:.4px;margin-bottom:8px}.panel-row[data-v-312e5bf3]{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:3px 0;font-size:12px}.panel-key[data-v-312e5bf3]{color:var(--text3);flex-shrink:0}.panel-val[data-v-312e5bf3]{color:var(--text);text-align:right;word-break:break-all}.cancel-notice[data-v-312e5bf3],.active-notice[data-v-312e5bf3]{margin:10px 14px 0;font-size:11px;line-height:1.6;padding:8px 10px;border-radius:var(--radius)}.cancel-notice[data-v-312e5bf3]{background:#e24b4a1a;color:var(--red);border:.5px solid rgb(226 75 74 / 30%)}.active-notice[data-v-312e5bf3]{background:#7f77dd1a;color:var(--purple);border:.5px solid rgb(127 119 221 / 30%)}code[data-v-312e5bf3]{font-family:var(--mono);font-size:10px;background:#00000026;padding:1px 4px;border-radius:3px}.panel-slide-enter-active[data-v-312e5bf3],.panel-slide-leave-active[data-v-312e5bf3]{transition:transform .18s ease,opacity .18s ease}.panel-slide-enter-from[data-v-312e5bf3],.panel-slide-leave-to[data-v-312e5bf3]{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-CVI-arV5.js"></script>
|
|
42
|
+
<link rel="stylesheet" crossorigin href="/assets/index-RdqCF5ft.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
|
45
45
|
<div id="app"></div>
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -4,9 +4,7 @@ import _traverse from '@babel/traverse';
|
|
|
4
4
|
import _generate from '@babel/generator';
|
|
5
5
|
import * as t from '@babel/types';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
const generate$2 = _generate.default ?? _generate;
|
|
9
|
-
function extractScriptBlock$2(code) {
|
|
7
|
+
function extractScriptBlock(code) {
|
|
10
8
|
const openTagRE = /<script(\s[^>]*)?>/i;
|
|
11
9
|
const openMatch = openTagRE.exec(code);
|
|
12
10
|
if (!openMatch) {
|
|
@@ -19,6 +17,9 @@ function extractScriptBlock$2(code) {
|
|
|
19
17
|
}
|
|
20
18
|
return { content: code.slice(start, end), start, end };
|
|
21
19
|
}
|
|
20
|
+
|
|
21
|
+
const traverse$2 = _traverse.default ?? _traverse;
|
|
22
|
+
const generate$2 = _generate.default ?? _generate;
|
|
22
23
|
const FETCH_FNS = /* @__PURE__ */ new Set(["useFetch", "useAsyncData", "useLazyFetch", "useLazyAsyncData"]);
|
|
23
24
|
function fetchInstrumentPlugin() {
|
|
24
25
|
return {
|
|
@@ -35,7 +36,7 @@ function fetchInstrumentPlugin() {
|
|
|
35
36
|
let scriptCode = code;
|
|
36
37
|
let scriptStart = 0;
|
|
37
38
|
if (isVue) {
|
|
38
|
-
const block = extractScriptBlock
|
|
39
|
+
const block = extractScriptBlock(code);
|
|
39
40
|
if (!block) {
|
|
40
41
|
return null;
|
|
41
42
|
}
|
|
@@ -54,9 +55,6 @@ function fetchInstrumentPlugin() {
|
|
|
54
55
|
const hasImport = scriptCode.includes("__devFetch");
|
|
55
56
|
traverse$2(ast, {
|
|
56
57
|
CallExpression(path) {
|
|
57
|
-
if (path.node.__observatoryTransformed) {
|
|
58
|
-
return;
|
|
59
|
-
}
|
|
60
58
|
const callee = path.node.callee;
|
|
61
59
|
if (!t.isIdentifier(callee)) {
|
|
62
60
|
return;
|
|
@@ -102,51 +100,33 @@ function fetchInstrumentPlugin() {
|
|
|
102
100
|
]);
|
|
103
101
|
if (originalName === "useAsyncData" || originalName === "useLazyAsyncData") {
|
|
104
102
|
if (handlerArg) {
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
t.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
t.memberExpression(t.identifier("process"), t.identifier("dev")),
|
|
111
|
-
t.memberExpression(t.identifier("process"), t.identifier("client"))
|
|
112
|
-
),
|
|
113
|
-
t.callExpression(
|
|
114
|
-
t.callExpression(
|
|
115
|
-
t.identifier("__devFetch"),
|
|
116
|
-
[handlerArg, keyArg ?? t.stringLiteral(key), meta]
|
|
117
|
-
),
|
|
118
|
-
[t.spreadElement(t.identifier("args"))]
|
|
119
|
-
),
|
|
120
|
-
t.callExpression(
|
|
121
|
-
handlerArg,
|
|
122
|
-
[t.spreadElement(t.identifier("args"))]
|
|
123
|
-
)
|
|
124
|
-
)
|
|
125
|
-
);
|
|
126
|
-
wrappedHandlerFn.__observatoryTransformed = true;
|
|
127
|
-
let newCall;
|
|
103
|
+
const wrappedHandler = t.callExpression(t.identifier("__devFetch"), [
|
|
104
|
+
handlerArg,
|
|
105
|
+
keyArg ?? t.stringLiteral(key),
|
|
106
|
+
meta
|
|
107
|
+
]);
|
|
128
108
|
if (keyArg) {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
109
|
+
path.replaceWith(
|
|
110
|
+
t.callExpression(t.identifier(originalName), [
|
|
111
|
+
keyArg,
|
|
112
|
+
wrappedHandler,
|
|
113
|
+
optsArg ?? t.objectExpression([])
|
|
114
|
+
])
|
|
115
|
+
);
|
|
134
116
|
} else {
|
|
135
|
-
|
|
117
|
+
path.replaceWith(t.callExpression(t.identifier(originalName), [wrappedHandler]));
|
|
136
118
|
}
|
|
137
|
-
newCall.__observatoryTransformed = true;
|
|
138
|
-
path.replaceWith(newCall);
|
|
139
119
|
modified = true;
|
|
140
120
|
}
|
|
141
121
|
} else {
|
|
142
|
-
|
|
143
|
-
t.identifier(
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
122
|
+
path.replaceWith(
|
|
123
|
+
t.callExpression(t.identifier("__devFetch"), [
|
|
124
|
+
t.identifier(originalName),
|
|
125
|
+
keyArg ?? t.stringLiteral(""),
|
|
126
|
+
optsArg ?? t.objectExpression([]),
|
|
127
|
+
meta
|
|
128
|
+
])
|
|
129
|
+
);
|
|
150
130
|
modified = true;
|
|
151
131
|
}
|
|
152
132
|
}
|
|
@@ -177,26 +157,13 @@ function fetchInstrumentPlugin() {
|
|
|
177
157
|
|
|
178
158
|
const traverse$1 = _traverse.default ?? _traverse;
|
|
179
159
|
const generate$1 = _generate.default ?? _generate;
|
|
180
|
-
function extractScriptBlock$1(code) {
|
|
181
|
-
const openTagRE = /<script(\s[^>]*)?>/i;
|
|
182
|
-
const openMatch = openTagRE.exec(code);
|
|
183
|
-
if (!openMatch) {
|
|
184
|
-
return null;
|
|
185
|
-
}
|
|
186
|
-
const start = openMatch.index + openMatch[0].length;
|
|
187
|
-
const end = code.indexOf("<\/script>", start);
|
|
188
|
-
if (end === -1) {
|
|
189
|
-
return null;
|
|
190
|
-
}
|
|
191
|
-
return { content: code.slice(start, end), start, end };
|
|
192
|
-
}
|
|
193
160
|
function provideInjectPlugin() {
|
|
194
161
|
return {
|
|
195
162
|
name: "vite-plugin-observatory-provide-inject",
|
|
196
163
|
enforce: "pre",
|
|
197
164
|
transform(code, id) {
|
|
198
165
|
const isVue = id.endsWith(".vue");
|
|
199
|
-
if (!isVue && !id.endsWith(".ts")) {
|
|
166
|
+
if (!isVue && !id.endsWith(".ts") && !id.endsWith(".js")) {
|
|
200
167
|
return;
|
|
201
168
|
}
|
|
202
169
|
if (id.includes("node_modules") || id.includes("composable-registry") || id.includes("provide-inject-registry") || id.includes("fetch-registry")) {
|
|
@@ -205,7 +172,7 @@ function provideInjectPlugin() {
|
|
|
205
172
|
let scriptCode = code;
|
|
206
173
|
let scriptStart = 0;
|
|
207
174
|
if (isVue) {
|
|
208
|
-
const block = extractScriptBlock
|
|
175
|
+
const block = extractScriptBlock(code);
|
|
209
176
|
if (!block) {
|
|
210
177
|
return null;
|
|
211
178
|
}
|
|
@@ -272,19 +239,6 @@ function provideInjectPlugin() {
|
|
|
272
239
|
|
|
273
240
|
const traverse = _traverse.default ?? _traverse;
|
|
274
241
|
const generate = _generate.default ?? _generate;
|
|
275
|
-
function extractScriptBlock(code) {
|
|
276
|
-
const openTagRE = /<script(\s[^>]*)?>/i;
|
|
277
|
-
const openMatch = openTagRE.exec(code);
|
|
278
|
-
if (!openMatch) {
|
|
279
|
-
return null;
|
|
280
|
-
}
|
|
281
|
-
const start = openMatch.index + openMatch[0].length;
|
|
282
|
-
const end = code.indexOf("<\/script>", start);
|
|
283
|
-
if (end === -1) {
|
|
284
|
-
return null;
|
|
285
|
-
}
|
|
286
|
-
return { content: code.slice(start, end), start, end };
|
|
287
|
-
}
|
|
288
242
|
const COMPOSABLE_RE = /\buse[A-Z]/;
|
|
289
243
|
const SKIP_LIST = /* @__PURE__ */ new Set([
|
|
290
244
|
"useFetch",
|
|
@@ -309,7 +263,7 @@ function composableTrackerPlugin() {
|
|
|
309
263
|
enforce: "pre",
|
|
310
264
|
transform(code, id) {
|
|
311
265
|
const isVue = id.endsWith(".vue");
|
|
312
|
-
if (!isVue && !id.endsWith(".ts")) {
|
|
266
|
+
if (!isVue && !id.endsWith(".ts") && !id.endsWith(".js")) {
|
|
313
267
|
return;
|
|
314
268
|
}
|
|
315
269
|
if (id.includes("node_modules") || id.includes("composable-registry") || id.includes("provide-inject-registry") || id.includes("fetch-registry")) {
|
|
@@ -557,6 +511,7 @@ const module$1 = defineNuxtModule({
|
|
|
557
511
|
});
|
|
558
512
|
}
|
|
559
513
|
const CLIENT_PORT = 4949;
|
|
514
|
+
const clientOrigin = `http://localhost:${CLIENT_PORT}`;
|
|
560
515
|
nuxt.hook("vite:serverCreated", async (_viteServer, env) => {
|
|
561
516
|
if (!env.isClient) {
|
|
562
517
|
return;
|
|
@@ -566,7 +521,7 @@ const module$1 = defineNuxtModule({
|
|
|
566
521
|
const inner = await createServer({
|
|
567
522
|
root: resolver.resolve("../client"),
|
|
568
523
|
base: "/",
|
|
569
|
-
server: { port: CLIENT_PORT, strictPort:
|
|
524
|
+
server: { port: CLIENT_PORT, strictPort: true, cors: true },
|
|
570
525
|
appType: "spa",
|
|
571
526
|
configFile: false,
|
|
572
527
|
plugins: [vue()],
|
|
@@ -575,7 +530,7 @@ const module$1 = defineNuxtModule({
|
|
|
575
530
|
await inner.listen();
|
|
576
531
|
nuxt.hook("close", () => inner.close());
|
|
577
532
|
});
|
|
578
|
-
const base =
|
|
533
|
+
const base = clientOrigin;
|
|
579
534
|
nuxt.hook("devtools:customTabs", (tabs) => {
|
|
580
535
|
if (options.fetchDashboard) {
|
|
581
536
|
tabs.push({
|
|
@@ -619,7 +574,8 @@ const module$1 = defineNuxtModule({
|
|
|
619
574
|
}
|
|
620
575
|
});
|
|
621
576
|
nuxt.options.runtimeConfig.public.observatory = {
|
|
622
|
-
heatmapThreshold: options.heatmapThreshold ?? 5
|
|
577
|
+
heatmapThreshold: options.heatmapThreshold ?? 5,
|
|
578
|
+
clientOrigin
|
|
623
579
|
};
|
|
624
580
|
}
|
|
625
581
|
});
|