@peterbud/nuxt-query 1.10.0 → 1.12.0

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/README.md CHANGED
@@ -122,6 +122,30 @@ export default defineNuxtPlugin({
122
122
  })
123
123
  ```
124
124
 
125
+ ## SSR And Payloads
126
+
127
+ Await server queries with `onServerPrefetch(suspense)` or `await queryClient.prefetchQuery()`. The module dehydrates the query cache after rendering and hydrates it in the browser before components mount. Queries that finish after rendering are not guaranteed to be included.
128
+
129
+ Each server request gets its own QueryClient. Custom clients supplied through `nuxt-query:configure` must also be created per request.
130
+
131
+ Nuxt handles payload transport and prefetching. For routes with extracted payloads, the module also hydrates the destination cache on successful navigation. With `experimental.payloadExtraction`:
132
+
133
+ - `'client'`: initial data is inline; navigation uses extracted payloads.
134
+ - `true`: both initial visits and navigation use extracted payloads.
135
+ - `false`: initial SSR data is inline; navigation fetches queries normally.
136
+
137
+ ### Cache And Privacy
138
+
139
+ TanStack handles cache merging and freshness: older payload data does not overwrite newer browser data, and stale queries can refetch. Set `staleTime` as needed; it is independent of Nitro's SWR/ISR response lifetime.
140
+
141
+ Use `defaultOptions.dehydrate` on a custom QueryClient to filter or transform dehydrated data. Nuxt handles payload serialization; the module does not make arbitrary classes or functions serializable.
142
+
143
+ **Only cache public routes with shared SWR/ISR.** Per-request QueryClients do not protect user-specific data in cached HTML or payloads. Dehydration filters exclude data from the payload, not from rendered HTML.
144
+
145
+ ### Compatibility
146
+
147
+ The SSR/browser suite targets Nuxt 4.5.2 and TanStack Query 5, covering payload extraction, hydration, cache behavior, request isolation, and opted-in SSR streaming. Older Nuxt versions and deployment-specific ISR adapters are not covered by these tests.
148
+
125
149
  ## Nuxt DevTools Integration
126
150
 
127
151
  Nuxt Query integrates with Nuxt DevTools to provide a dedicated tab for Vue Query, where you can inspect the state of your queries, view their cache, and properties, initiate refetch or remove certain queries and more.
@@ -153,6 +177,9 @@ Also, you can inspect your mutation cache using the same DevTools in a convenien
153
177
  # Run ESLint
154
178
  npm run lint
155
179
 
180
+ # Install Chromium for the Nuxt browser tests
181
+ pnpm exec playwright-core install chromium
182
+
156
183
  # Run Vitest
157
184
  npm run test
158
185
  npm run test:watch
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-query-client/_nuxt/CrtzxPo3.js"}}</script><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.DioeeqK_.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CrtzxPo3.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Dgp62Tmb.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/El7xeapg.js"><script type="module" src="/__nuxt-query-client/_nuxt/CrtzxPo3.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-500.BOfIh7Q3.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CWXSD_Q6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Be5AXvKQ.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"f23d3952-85df-42dd-8419-8a92b040db9d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1786188887764,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-query-client/_nuxt/D3s4F5NC.js"}}</script><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.t6UGJsHm.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/D3s4F5NC.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/ypdB4fQ9.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/BRoeZOof.js"><script type="module" src="/__nuxt-query-client/_nuxt/D3s4F5NC.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-404.CDJYGr_a.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CAPnRtB7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Dz3udKGL.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-500.DTmKEDpI.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/n_uK3fv1.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"93a4c44c-277a-4dc6-9207-68edff9316c5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1791108933303,false]</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-query-client/_nuxt/CrtzxPo3.js"}}</script><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.DioeeqK_.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CrtzxPo3.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Dgp62Tmb.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/El7xeapg.js"><script type="module" src="/__nuxt-query-client/_nuxt/CrtzxPo3.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-500.BOfIh7Q3.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CWXSD_Q6.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Be5AXvKQ.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"f23d3952-85df-42dd-8419-8a92b040db9d",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1786188887764,false]</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1"><script type="importmap">{"imports":{"#entry":"/__nuxt-query-client/_nuxt/D3s4F5NC.js"}}</script><link rel="stylesheet" href="/__nuxt-query-client/_nuxt/entry.t6UGJsHm.css" crossorigin><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/D3s4F5NC.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/ypdB4fQ9.js"><link rel="modulepreload" as="script" crossorigin href="/__nuxt-query-client/_nuxt/BRoeZOof.js"><script type="module" src="/__nuxt-query-client/_nuxt/D3s4F5NC.js" crossorigin></script><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-404.CDJYGr_a.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/CAPnRtB7.js"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/Dz3udKGL.js"><link rel="prefetch" as="style" crossorigin href="/__nuxt-query-client/_nuxt/error-500.DTmKEDpI.css"><link rel="prefetch" as="script" crossorigin href="/__nuxt-query-client/_nuxt/n_uK3fv1.js"></head><body><div id="__nuxt"></div><div id="teleports"></div><script>window.__NUXT__={};window.__NUXT__.config={public:{},app:{baseURL:"/__nuxt-query-client",buildId:"93a4c44c-277a-4dc6-9207-68edff9316c5",buildAssetsDir:"/_nuxt/",cdnURL:""}}</script><script type="application/json" data-nuxt-data="nuxt-app" data-ssr="false" id="__NUXT_DATA__">[{"prerenderedAt":1,"serverRendered":2},1791108933303,false]</script></body></html>
@@ -0,0 +1,3 @@
1
+ function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>S(e)===`[object Map]`,p=e=>S(e)===`[object Set]`,m=e=>S(e)===`[object Date]`,h=e=>S(e)===`[object RegExp]`,g=e=>typeof e==`function`,_=e=>typeof e==`string`,v=e=>typeof e==`symbol`,y=e=>typeof e==`object`&&!!e,b=e=>(y(e)||g(e))&&g(e.then)&&g(e.catch),x=Object.prototype.toString,S=e=>x.call(e),C=e=>S(e).slice(8,-1),w=e=>S(e)===`[object Object]`,T=e=>_(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,E=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),D=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ee=/-\w/g,O=D(e=>e.replace(ee,e=>e.slice(1).toUpperCase())),te=/\B([A-Z])/g,ne=D(e=>e.replace(te,`-$1`).toLowerCase()),re=D(e=>e.charAt(0).toUpperCase()+e.slice(1)),ie=D(e=>e?`on${re(e)}`:``),k=(e,t)=>!Object.is(e,t),A=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ae=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},oe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},se=e=>{let t=_(e)?Number(e):NaN;return isNaN(t)?e:t},ce,le=()=>ce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function ue(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=_(r)?me(r):ue(r);if(i)for(let e in i)t[e]=i[e]}return t}if(_(e)||y(e))return e}var de=/;(?![^(]*\))/g,fe=/:([^]+)/,pe=/"(?:[^"\\]|\\[^])*"|'(?:[^'\\]|\\[^])*'|\\[^]|\/\*[^]*?\*\//g;function me(e){let t={};return e.replace(pe,e=>e.startsWith(`/*`)?``:e).split(de).forEach(e=>{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t=``;if(_(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=he(e[n]);r&&(t+=r+` `)}else if(y(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}function ge(e){if(!e)return null;let{class:t,style:n}=e;return t&&!_(t)&&(e.class=he(t)),n&&(e.style=ue(n)),e}var _e=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,ve=e(_e);_e+``;function ye(e){return!!e||e===``}function be(e,t,n){if(e.length!==t.length)return!1;let r=!0;for(let i=0;r&&i<e.length;i++)r=we(e[i],t[i],n);return r}function xe(e,t,n){if(e.size!==t.size)return!1;let r=Array.from(t),i=new Uint8Array(r.length);for(let t of e){let e=-1;for(let a=0;a<r.length;a++)if(!i[a]&&we(t,r[a],n)){e=a;break}if(e<0)return!1;i[e]=1}return!0}function Se(e,t,n){let r=f(e),i=f(t);if(r||i||(r=p(e),i=p(t),r||i))return r&&i?xe(e,t,n):!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(let r in e){let i=e.hasOwnProperty(r),a=t.hasOwnProperty(r);if(i&&!a||!i&&a||!we(e[r],t[r],n))return!1}return String(e)===String(t)}function Ce(e,t,n,r){n||=[new Map,new Map];let[i,a]=n;if(i.has(e)||a.has(t))return i.get(e)===t&&a.get(t)===e;i.set(e,t),a.set(t,e);let o=r(e,t,n);return i.delete(e),a.delete(t),o}function we(e,t,n){if(e===t)return!0;let r=m(e),i=m(t);return r||i?r&&i?e.getTime()===t.getTime():!1:(r=v(e),i=v(t),r||i?e===t:(r=d(e),i=d(t),r||i?r&&i?Ce(e,t,n,be):!1:(r=y(e),i=y(t),r||i?!r||!i?!1:Ce(e,t,n,Se):String(e)===String(t))))}var Te=e=>!!(e&&e.__v_isRef===!0),Ee=e=>_(e)?e:e==null?``:d(e)||y(e)&&(e.toString===x||!g(e.toString))?Te(e)?Ee(e.value):JSON.stringify(e,De,2):String(e),De=(e,t)=>Te(t)?De(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Oe(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Oe(e))}:v(t)?Oe(t):y(t)&&!d(t)&&!w(t)?String(t):t,Oe=(e,t=``)=>v(e)?`Symbol(${e.description??t})`:e,j,ke=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&j&&(j.active?(this.parent=j,this.index=(j.scopes||(j.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes){let n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}let n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){let t=j;try{return j=this,e()}finally{j=t}}}on(){++this._on===1&&(this.prevScope=j,j=this)}off(){if(this._on>0&&--this._on===0){if(j===this)j=this.prevScope;else{let e=j;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){let e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Ae(e){return new ke(e)}function je(){return j}var M,Me=new WeakSet,Ne=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,j&&(j.active?j.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Me.has(this)&&(Me.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Le(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Xe(this),Be(this);let e=M,t=Ke;M=this,Ke=!0;try{return this.fn()}finally{Ve(this),M=e,Ke=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)We(e);this.deps=this.depsTail=void 0,Xe(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Me.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){He(this)&&this.run()}get dirty(){return He(this)}},Pe=0,Fe,Ie;function Le(e,t=!1){if(e.flags|=8,t){e.next=Ie,Ie=e;return}e.next=Fe,Fe=e}function Re(){Pe++}function ze(){if(--Pe>0)return;if(Ie){let e=Ie;for(Ie=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Fe;){let t=Fe;for(Fe=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Be(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ve(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),We(r),Ge(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function He(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ue(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ue(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ze)||(e.globalVersion=Ze,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!He(e))))return;e.flags|=2;let t=e.dep,n=M,r=Ke;M=e,Ke=!0;try{Be(e);let n=e.fn(e._value);(t.version===0||k(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{M=n,Ke=r,Ve(e),e.flags&=-3}}function We(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)We(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ge(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Ke=!0,qe=[];function Je(){qe.push(Ke),Ke=!1}function Ye(){let e=qe.pop();Ke=e===void 0||e}function Xe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=M;M=void 0;try{t()}finally{M=e}}}var Ze=0,Qe=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},$e=class{constructor(e){this.computed=e,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(e){if(!M||!Ke||M===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==M)t=this.activeLink=new Qe(M,this),M.deps?(t.prevDep=M.depsTail,M.depsTail.nextDep=t,M.depsTail=t):M.deps=M.depsTail=t,et(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=M.depsTail,t.nextDep=void 0,M.depsTail.nextDep=t,M.depsTail=t,M.deps===t&&(M.deps=e)}return t}trigger(e){this.version++,Ze++,this.notify(e)}notify(e){Re();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ze()}}};function et(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)et(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var tt=new WeakMap,nt=Symbol(``),rt=Symbol(``),it=Symbol(``);function N(e,t,n){if(Ke&&M){let t=tt.get(e);t||tt.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new $e),r.map=t,r.key=n),r.track()}}function at(e,t,n,r,i,a){let o=tt.get(e);if(!o){Ze++;return}let s=e=>{e&&e.trigger()};if(Re(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&T(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===it||!v(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(it)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(nt)),f(e)&&s(o.get(rt)));break;case`delete`:i||(s(o.get(nt)),f(e)&&s(o.get(rt)));break;case`set`:f(e)&&s(o.get(nt))}}ze()}function ot(e,t){let n=tt.get(e);return n&&n.get(t)}function st(e){let t=I(e);return t===e||(N(t,`iterate`,it),F(e))?t:P(e)?Wt(e)?t.map(e=>qt(L(e))):t.map(qt):t.map(L)}function ct(e){return N(e=I(e),`iterate`,it),e}function lt(e,t){return P(e)?qt(Wt(e)?L(t):t):L(t)}var ut={__proto__:null,[Symbol.iterator](){return dt(this,Symbol.iterator,e=>lt(this,e))},concat(...e){return st(this).concat(...e.map(e=>d(e)?st(e):e))},entries(){return dt(this,`entries`,e=>(e[1]=lt(this,e[1]),e))},every(e,t){return pt(this,`every`,e,t,void 0,arguments)},filter(e,t){return pt(this,`filter`,e,t,e=>e.map(e=>lt(this,e)),arguments)},find(e,t){return pt(this,`find`,e,t,e=>lt(this,e),arguments)},findIndex(e,t){return pt(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return pt(this,`findLast`,e,t,e=>lt(this,e),arguments)},findLastIndex(e,t){return pt(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return pt(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ht(this,`includes`,e)},indexOf(...e){return ht(this,`indexOf`,e)},join(e){return st(this).join(e)},lastIndexOf(...e){return ht(this,`lastIndexOf`,e)},map(e,t){return pt(this,`map`,e,t,void 0,arguments)},pop(){return gt(this,`pop`)},push(...e){return gt(this,`push`,e)},reduce(e,...t){return mt(this,`reduce`,e,t)},reduceRight(e,...t){return mt(this,`reduceRight`,e,t)},shift(){return gt(this,`shift`)},some(e,t){return pt(this,`some`,e,t,void 0,arguments)},splice(...e){return gt(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 gt(this,`unshift`,e)},values(){return dt(this,`values`,e=>lt(this,e))}};function dt(e,t,n){let r=ct(e),i=r[t]();return r!==e&&!F(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var ft=Array.prototype;function pt(e,t,n,r,i,a){let o=ct(e),s=o!==e&&!F(e),c=o[t];if(c!==ft[t]){let t=c.apply(e,a);return s?L(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,lt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function mt(e,t,n,r){let i=ct(e),a=i!==e&&!F(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=lt(e,t)),n.call(this,t,lt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?lt(e,c):c}function ht(e,t,n){let r=I(e);N(r,`iterate`,it);let i=r[t](...n);return(i===-1||i===!1)&&Gt(n[0])?(n[0]=I(n[0]),r[t](...n)):i}function gt(e,t,n=[]){Je(),Re();let r=I(e)[t].apply(e,n);return ze(),Ye(),r}var _t=e(`__proto__,__v_isRef,__isVue`),vt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(v));function yt(e){v(e)||(e=String(e));let t=I(this);return N(t,`has`,e),t.hasOwnProperty(e)}var bt=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Rt:Lt:i?It:Ft).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=ut[t]))return e;if(t===`hasOwnProperty`)return yt}let o=Reflect.get(e,t,R(e)?e:n);if((v(t)?vt.has(t):_t(t))||(r||N(e,`get`,t),i))return o;if(R(o)){let e=a&&T(t)?o:o.value;return r&&y(e)?Ht(e):e}return y(o)?r?Ht(o):Bt(o):o}},xt=class extends bt{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&T(t);if(!this._isShallow){let e=P(i);if(!F(n)&&!P(n)&&(i=I(i),n=I(n)),!a&&R(i)&&!R(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,R(e)?e:r);return e===I(r)&&s&&(o?k(n,i)&&at(e,`set`,t,n,i):at(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&at(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!v(t)||!vt.has(t))&&N(e,`has`,t),n}ownKeys(e){return N(e,`iterate`,d(e)?`length`:nt),Reflect.ownKeys(e)}},St=class extends bt{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},Ct=new xt,wt=new St,Tt=new xt(!0),Et=e=>e,Dt=e=>Reflect.getPrototypeOf(e);function Ot(e,t,n){return function(...r){let i=this.__v_raw,a=I(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Et:t?qt:L;return!t&&N(a,`iterate`,l?rt:nt),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function kt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function At(e,t){let n={get(n){let r=this.__v_raw,i=I(r),a=I(n);e||(k(n,a)&&N(i,`get`,n),N(i,`get`,a));let{has:o}=Dt(i),s=t?Et:e?qt:L;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&N(I(t),`iterate`,nt),t.size},has(t){let n=this.__v_raw,r=I(n),i=I(t);return e||(k(t,i)&&N(r,`has`,t),N(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=I(a),s=t?Et:e?qt:L;return!e&&N(o,`iterate`,nt),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:kt(`add`),set:kt(`set`),delete:kt(`delete`),clear:kt(`clear`)}:{add(e){let n=I(this),r=Dt(n),i=I(e),a=!t&&!F(e)&&!P(e)?i:e;return r.has.call(n,a)||k(e,a)&&r.has.call(n,e)||k(i,a)&&r.has.call(n,i)||(n.add(a),at(n,`add`,a,a)),this},set(e,n){!t&&!F(n)&&!P(n)&&(n=I(n));let r=I(this),{has:i,get:a}=Dt(r),o=i.call(r,e);o||=(e=I(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?k(n,s)&&at(r,`set`,e,n,s):at(r,`add`,e,n),this},delete(e){let t=I(this),{has:n,get:r}=Dt(t),i=n.call(t,e);i||=(e=I(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&at(t,`delete`,e,void 0,a),o},clear(){let e=I(this),t=e.size!==0,n=e.clear();return t&&at(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Ot(r,e,t)}),n}function jt(e,t){let n=At(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var Mt={get:jt(!1,!1)},Nt={get:jt(!1,!0)},Pt={get:jt(!0,!1)},Ft=new WeakMap,It=new WeakMap,Lt=new WeakMap,Rt=new WeakMap;function zt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Bt(e){return P(e)?e:Ut(e,!1,Ct,Mt,Ft)}function Vt(e){return Ut(e,!1,Tt,Nt,It)}function Ht(e){return Ut(e,!0,wt,Pt,Lt)}function Ut(e,t,n,r,i){if(!y(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=zt(C(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Wt(e){return P(e)?Wt(e.__v_raw):!!(e&&e.__v_isReactive)}function P(e){return!!(e&&e.__v_isReadonly)}function F(e){return!!(e&&e.__v_isShallow)}function Gt(e){return e?!!e.__v_raw:!1}function I(e){let t=e&&e.__v_raw;return t?I(t):e}function Kt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&ae(e,`__v_skip`,!0),e}var L=e=>y(e)?Bt(e):e,qt=e=>y(e)?Ht(e):e;function R(e){return e?e.__v_isRef===!0:!1}function Jt(e){return Xt(e,!1)}function Yt(e){return Xt(e,!0)}function Xt(e,t){return R(e)?e:new Zt(e,t)}var Zt=class{constructor(e,t){this.dep=new $e,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:I(e),this._value=t?e:L(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||F(e)||P(e);e=n?e:I(e),k(e,t)&&(this._rawValue=e,this._value=n?e:L(e),this.dep.trigger())}};function Qt(e){e.dep&&e.dep.trigger()}function $t(e){return R(e)?e.value:e}function en(e){return g(e)?e():$t(e)}var tn={get:(e,t,n)=>t===`__v_raw`?e:$t(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return R(i)&&!R(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function nn(e){return Wt(e)?e:new Proxy(e,tn)}var rn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=v(t)?t:String(t),this._raw=I(e);let r=!0,i=e;if(!d(e)||v(this._key)||!T(this._key))do r=!Gt(i)||F(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=$t(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&R(this._raw[this._key])){let t=this._object[this._key];if(R(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return ot(this._raw,this._key)}},an=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function on(e,t,n){return R(e)?e:g(e)?new an(e):y(e)&&arguments.length>1?sn(e,t,n):Jt(e)}function sn(e,t,n){return new rn(e,t,n)}var cn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new $e(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ze-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&M!==this)return Le(this,!0),!0}get value(){let e=this.dep.track();return Ue(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function ln(e,t,n=!1){let r,i;return g(e)?r=e:(r=e.get,i=e.set),new cn(r,i,n)}var un={},dn=new WeakMap,fn=void 0;function pn(e,t=!1,n=fn){if(n){let t=dn.get(n);t||dn.set(n,t=[]),t.push(e)}}function mn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:F(e)||o===!1||o===0?hn(e,1):hn(e),m,h,_,v,y=!1,b=!1;if(R(e)?(h=()=>e.value,y=F(e)):Wt(e)?(h=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Wt(e)||F(e)),h=()=>e.map(e=>{if(R(e))return e.value;if(Wt(e))return p(e);if(g(e))return f?f(e,2):e()})):h=g(e)?n?f?()=>f(e,2):e:()=>{if(_){Je();try{_()}finally{Ye()}}let t=fn;fn=m;try{return f?f(e,3,[v]):e(v)}finally{fn=t}}:r,n&&o){let e=h,t=o===!0?1/0:o;h=()=>hn(e(),t)}let x=je(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(un):un,w=e=>{if(m.flags&1&&(m.dirty||e)){if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>k(e,C[t])):k(t,C))){_&&_();let e=fn;fn=m;try{let e=[t,C===un?void 0:b&&C[0]===un?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{fn=e}}}else m.run()}};return u&&u(w),m=new Ne(h),m.scheduler=l?()=>l(w,!1):w,v=e=>pn(e,!1,m),_=m.onStop=()=>{let e=dn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();dn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function hn(e,t=1/0,n){if(t<=0||!y(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,R(e))hn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)hn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{hn(e,t,n)});else if(w(e)){for(let r in e)hn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&hn(e[r],t,n)}return e}function gn(e,t,n,r){try{return r?e(...r):e()}catch(e){_n(e,t,n)}}function z(e,t,n,r){if(g(e)){let i=gn(e,t,n,r);return i&&b(i)&&i.catch(e=>{_n(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(z(e[a],t,n,r));return i}}function _n(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Je(),gn(o,null,10,[e,i,a]),Ye();return}}vn(e,r,a,i,s)}function vn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var B=[],yn=-1,bn=[],xn=null,Sn=0,Cn=Promise.resolve(),wn=null;function Tn(e){let t=wn||Cn;return e?t.then(this?e.bind(this):e):t}function En(e){let t=yn+1,n=B.length;for(;t<n;){let r=t+n>>>1,i=B[r],a=Mn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function Dn(e){if(!(e.flags&1)){let t=Mn(e),n=B[B.length-1];!n||!(e.flags&2)&&t>=Mn(n)?B.push(e):B.splice(En(t),0,e),e.flags|=1,On()}}function On(){wn||=Cn.then(Nn)}function kn(e){if(!d(e))xn&&e.id===-1?xn.splice(Sn+1,0,e):e.flags&1||(bn.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)bn.push(e[t]);On()}function An(e,t,n=yn+1){for(;n<B.length;n++){let t=B[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;B.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function jn(e){if(bn.length){let e=[...new Set(bn)].sort((e,t)=>Mn(e)-Mn(t));if(bn.length=0,xn){for(let t=0;t<e.length;t++)xn.push(e[t]);return}for(xn=e,Sn=0;Sn<xn.length;Sn++){let e=xn[Sn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}xn=null,Sn=0}}var Mn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Nn(e){try{for(yn=0;yn<B.length;yn++){let e=B[yn];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),gn(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;yn<B.length;yn++){let e=B[yn];e&&(e.flags&=-2)}yn=-1,B.length=0,jn(e),wn=null,(B.length||bn.length)&&Nn(e)}}var V=null,Pn=null;function Fn(e){let t=V;return V=e,Pn=e&&e.type.__scopeId||null,t}function In(e,t=V,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ga(-1);let i=Fn(t),a=Va.length,o;try{o=e(...n)}finally{for(let e=Va.length;e>a;e--)Ua();Fn(i),r._d&&Ga(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function Ln(e,n){if(V===null)return e;let r=wo(V),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(g(a)&&(a={mounted:a,updated:a}),a.deep&&hn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function Rn(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Je(),z(c,n,8,[e.el,s,e,t]),Ye())}}function zn(e,t){if($){let n=$.provides,r=$.parent&&$.parent.provides;r===n&&(n=$.provides=Object.create(r)),n[e]=t}}function Bn(e,t,n=!1){let r=uo();if(r||Li){let i=Li?Li._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&g(t)?t.call(r&&r.proxy):t}}function Vn(){return!!(uo()||Li)}var Hn=Symbol.for(`v-scx`),Un=()=>Bn(Hn);function Wn(e,t){return Kn(e,null,t)}function Gn(e,t,n){return Kn(e,t,n)}function Kn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(_o){if(c===`sync`){let e=Un();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=$;u.call=(e,t,n)=>z(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{G(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():Dn(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=mn(e,n,u);return _o&&(f?f.push(h):d&&h()),h}function qn(e,t,n){let r=this.proxy,i=_(e)?e.includes(`.`)?Jn(r,e):()=>r[e]:e.bind(r,r),a;g(t)?a=t:(a=t.handler,n=t);let o=mo(this),s=Kn(i,a.bind(r),n);return o(),s}function Jn(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Yn=Symbol(`_vte`),Xn=e=>e.__isTeleport,H=Symbol(`_leaveCb`),Zn=Symbol(`_enterCb`);function Qn(){let e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Jr(()=>{e.isMounted=!0}),Zr(()=>{e.isUnmounting=!0}),e}var U=[Function,Array],$n={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:U,onEnter:U,onAfterEnter:U,onEnterCancelled:U,onBeforeLeave:U,onLeave:U,onAfterLeave:U,onLeaveCancelled:U,onBeforeAppear:U,onAppear:U,onAfterAppear:U,onAppearCancelled:U},er=e=>{let t=e.subTree;return t.component?er(t.component):t},tr={name:`BaseTransition`,props:$n,setup(e,{slots:t}){let n=uo(),r=Qn();return()=>{let i=t.default&&lr(t.default(),!0),a=i&&i.length?nr(i):n.subTree?ro():void 0;if(!a)return;let o=I(e),{mode:s}=o;if(r.isLeaving)return or(a);let c=sr(a);if(!c)return or(a);let l=ar(c,o,r,n,e=>l=e);c.type!==q&&cr(c,l);let u=n.subTree&&sr(n.subTree);if(u&&u.type!==q&&!Y(u,c)&&er(n).type!==q){let e=ar(u,o,r,n);if(cr(u,e),s===`out-in`&&c.type!==q)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},or(a);s===`in-out`&&c.type!==q?e.delayLeave=(e,t,n)=>{let i=ir(r,u);i[String(u.key)]=u,e[H]=()=>{t(),e[H]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function nr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==q){t=n;break}}return t}var rr=tr;function ir(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ar(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=ir(n,e),C=(e,t)=>{e&&z(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted){if(a)r=_||c;else return}t[H]&&t[H](!0);let i=S[x];i&&Y(e,i)&&i.el[H]&&i.el[H](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted){if(a)r=v||l,i=y||u,o=b||f;else return}let s=!1;t[Zn]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[Zn]=void 0)};let c=t[Zn].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[Zn]&&t[Zn](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[H]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[H]=void 0,S[i]===e&&delete S[i])};let o=t[H].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=ar(e,t,n,r,i);return i&&i(a),a}};return T}function or(e){if(Ir(e))return e=to(e),e.children=null,e}function sr(e){if(!Ir(e))return Xn(e.type)&&e.children?nr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&g(n.default))return n.default()}}function cr(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;let n=e.component.subTree;cr(Xn(n.type)&&sr(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function lr(e,t=!1,n){let r=[],i=0;for(let a=0;a<e.length;a++){let o=e[a],s=n==null?o.key:String(n)+String(o.key==null?a:o.key);o.type===K?(o.patchFlag&128&&i++,r=r.concat(lr(o.children,t,s))):(t||o.type!==q)&&r.push(s==null?o:to(o,{key:s}))}if(i>1)for(let e=0;e<r.length;e++)r[e].patchFlag=-2;return r}function ur(e,t){return g(e)?s({name:e.name},t,{setup:e}):e}function dr(e){e.ids=[e.ids[0]+e.ids[2]+++`-`,0,0]}function fr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var pr=new WeakMap;function mr(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>mr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Nr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&mr(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?wo(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,h=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=I(v),b=v===t?i:e=>!fr(h,e)&&u(y,e),x=(e,t)=>!(t&&fr(h,t));if(m!=null&&m!==p){if(hr(n),_(m))h[m]=null,b(m)&&(v[m]=null);else if(R(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(h[e.k]=null)}}if(g(p))gn(p,f,12,[l,h]);else{let t=_(p),n=R(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:h[p]:x(p)||!e.k?p.value:h[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)h[p]=[s],b(p)&&(v[p]=h[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(h[e.k]=t)}}else t?(h[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(h[e.k]=l))};if(l){let t=()=>{i(),pr.delete(e)};t.id=-1,pr.set(e,t),G(t,r)}else hr(e),i()}}}function hr(e){let t=pr.get(e);t&&(t.flags|=8,pr.delete(e))}var gr=!1,_r=()=>{gr||=(console.error(`Hydration completed but contains mismatches.`),!0)},vr=e=>e.namespaceURI.includes(`svg`)&&e.tagName!==`foreignObject`,yr=e=>e.namespaceURI.includes(`MathML`),br=e=>{if(e.nodeType===1){if(vr(e))return`svg`;if(yr(e))return`mathml`}},xr=e=>e.nodeType===8;function Sr(e){let{mt:t,p:n,o:{patchProp:r,createText:i,nextSibling:o,parentNode:s,remove:c,insert:l,createComment:u}}=e,d=(e,t)=>{if(!t.hasChildNodes()){n(null,e,t),jn(),t._vnode=e;return}f(t.firstChild,e,null,null,null),jn(),t._vnode=e},f=(n,r,a,c,u,d=!1)=>{d||=!!r.dynamicChildren;let b=xr(n)&&n.data===`[`,x=()=>g(n,r,a,c,u,b),{type:S,ref:C,shapeFlag:w,patchFlag:T}=r,E=n.nodeType;r.el=n,T===-2&&(d=!1,r.dynamicChildren=null);let D=null;switch(S){case za:E===3?(n.data!==r.children&&(_r(),n.data=r.children),D=o(n)):r.children===``?(l(r.el=i(``),s(n),n),D=n):D=x();break;case q:y(n)?(D=o(n),v(r.el=n.content.firstChild,n,a)):D=E!==8||b?x():o(n);break;case Ba:if(b&&(n=o(n),E=n.nodeType),E===1||E===3){D=n;let e=!r.children.length;for(let t=0;t<r.staticCount;t++)e&&(r.children+=D.nodeType===1?D.outerHTML:D.data),t===r.staticCount-1&&(r.anchor=D),D=o(D);return b?o(D):D}x();break;case K:D=b?h(n,r,a,c,u,d):x();break;default:if(w&1)D=(E!==1||r.type.toLowerCase()!==n.tagName.toLowerCase())&&!y(n)?x():p(n,r,a,c,u,d);else if(w&6){r.slotScopeIds=u;let e=s(n);if(D=b?_(n):xr(n)&&n.data===`teleport start`?_(n,n.data,`teleport end`):o(n),t(r,e,null,a,c,br(e),d),(Nr(r)||r.component.asyncDep)&&!r.component.subTree){let t;b?(t=X(Ba),t.anchor=D?D.previousSibling:e.lastChild):t=n.nodeType===3?no(``):X(n.nodeType===8?q:`div`),t.el=n,r.component.subTree=t}}else w&64?D=E===8?r.type.hydrate(n,r,a,c,u,d,e,m):x():w&128&&(D=r.type.hydrate(n,r,a,c,br(s(n)),u,d,e,f))}return C!=null&&mr(C,null,c,r),D},p=(e,t,n,i,o,s)=>{s||=!!t.dynamicChildren;let{type:l,dynamicProps:u,props:d,patchFlag:f,shapeFlag:p,dirs:h,transition:g}=t,_=l===`input`||l===`option`,b=!!u;if(_||b||f!==-1){h&&Rn(t,null,n,`created`);let l=!1;if(y(e)){l=ba(null,g)&&n&&n.vnode.props&&n.vnode.props.appear;let r=e.content.firstChild;if(l){let e=r.getAttribute(`class`);e&&(r.$cls=e),g.beforeEnter(r)}v(r,e,n),t.el=e=r}if(p&16&&!(d&&(d.innerHTML||d.textContent))){let r=m(e.firstChild,t,e,n,i,o,s);for(r&&!Dr(e,1)&&_r();r;){let e=r;r=r.nextSibling,c(e)}}else if(p&8){let n=t.children;n[0]===`
2
+ `&&(e.tagName===`PRE`||e.tagName===`TEXTAREA`)&&(n=n.slice(1));let{textContent:r}=e;r!==n&&r!==n.replace(/\r\n|\r/g,`
3
+ `)&&(Dr(e,0)||_r(),e.textContent=t.children)}if(d){if(_||b||!s||f&48){let t=e.tagName.includes(`-`),i=e.namespaceURI.includes(`svg`)?`svg`:e.namespaceURI.includes(`MathML`)?`mathml`:void 0;for(let o in d)if(_&&(o.endsWith(`value`)||o===`indeterminate`)||a(o)&&!E(o)||o[0]===`.`||t&&!E(o)||u&&u.includes(o)){if(wr(e,o,d[o]))continue;r(e,o,null,d[o],i,n)}}else if(d.onClick)r(e,`onClick`,null,d.onClick,void 0,n);else if(f&4&&Wt(d.style))for(let e in d.style)d.style[e]}let x;(x=d&&d.onVnodeBeforeMount)&&Q(x,n,t),h&&Rn(t,null,n,`beforeMount`),((x=d&&d.onVnodeMounted)||h||l)&&Ia(()=>{x&&Q(x,n,t),l&&g.enter(e),h&&Rn(t,null,n,`mounted`)},i)}return e.nextSibling},m=(e,t,r,a,s,c,u)=>{u||=!!t.dynamicChildren;let d=t.children,p=d.length,m=!1;for(let t=0;t<p;t++){let h=u?d[t]:d[t]=Z(d[t]),g=h.type===za;e?(g&&!u&&t+1<p&&Z(d[t+1]).type===za&&(l(i(e.data.slice(h.children.length)),r,o(e)),e.data=h.children),e=f(e,h,a,s,c,u)):g&&!h.children?l(h.el=i(``),r):(m||(m=!0,Dr(r,1)||_r()),n(null,h,r,null,a,s,br(r),c))}return e},h=(e,t,n,r,i,a)=>{let{slotScopeIds:c}=t;c&&(i=i?i.concat(c):c);let d=s(e),f=m(o(e),t,d,n,r,i,a);return f&&xr(f)&&f.data===`]`?o(t.anchor=f):(_r(),l(t.anchor=u(`]`),d,f),f)},g=(e,t,r,i,a,l)=>{if(kr(e,t)||_r(),t.el=null,l){let t=_(e);for(;;){let n=o(e);if(n&&n!==t)c(n);else break}}let u=o(e),d=s(e);return c(e),n(null,t,d,u,r,i,br(d),a),r&&(r.vnode.el=t.el,Xi(r,t.el)),u},_=(e,t=`[`,n=`]`)=>{let r=0;for(;e;)if(e=o(e),e&&xr(e)&&(e.data===t&&r++,e.data===n)){if(r===0)return o(e);r--}return e},v=(e,t,n)=>{let r=t.parentNode;r&&r.replaceChild(e,t);let i=n;for(;i;)i.vnode.el===t&&(i.vnode.el=i.subTree.el=e),i=i.parent},y=e=>e.nodeType===1&&e.tagName===`TEMPLATE`;return[d,f]}var Cr=new Set([`src`,`srcset`,`href`,`poster`]);function wr(e,t,n){return Cr.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}var Tr=`data-allow-mismatch`,Er={0:`text`,1:`children`,2:`class`,3:`style`,4:`attribute`};function Dr(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Tr);)e=e.parentElement;return Or(e&&e.getAttribute(Tr),t)}function Or(e,t){if(e==null)return!1;if(e===``)return!0;{let n=e.split(`,`);return t===0&&n.includes(`children`)?!0:n.includes(Er[t])}}function kr(e,t){return Dr(e.parentElement,1)||Ar(e)||jr(t)}function Ar(e){return e.nodeType===1&&Or(e.getAttribute(Tr),1)}function jr({props:e}){let t=e&&e[Tr];return typeof t==`string`&&Or(t,1)}le().requestIdleCallback,le().cancelIdleCallback;function Mr(e,t){if(xr(e)&&e.data===`[`){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(xr(r)){if(r.data===`]`){if(--n===0)break}else r.data===`[`&&n++}r=r.nextSibling}}else t(e)}var Nr=e=>!!e.type.__asyncLoader;function Pr(e){g(e)&&(e={loader:e});let{loader:t,loadingComponent:n,errorComponent:r,delay:i=200,hydrate:a,timeout:o,suspensible:s=!0,onError:c}=e,l=null,u,d=0,f=()=>(d++,l=null,p()),p=()=>{let e;return l||(e=l=t().catch(e=>{if(e=e instanceof Error?e:Error(String(e)),c)return new Promise((t,n)=>{c(e,()=>t(f()),()=>n(e),d+1)});throw e}).then(t=>e!==l&&l?l:(t&&(t.__esModule||t[Symbol.toStringTag]===`Module`)&&(t=t.default),u=t,t)))};return ur({name:`AsyncComponentWrapper`,__asyncLoader:p,__asyncHydrate(e,t,n){let r=e.isConnected,i=!1;(t.bu||=[]).push(()=>i=!0);let o=()=>{i||!e.parentNode||r&&!e.isConnected||n()},s=a?()=>{let n=a(o,t=>Mr(e,t));n&&(t.bum||=[]).push(n)}:o;u?s():p().then(()=>!t.isUnmounted&&s())},get __asyncResolved(){return u},setup(){let e=$;if(dr(e),u)return()=>Fr(u,e);let t=t=>{l=null,_n(t,e,13,!r)};if(s&&e.suspense||_o)return p().then(t=>()=>Fr(t,e)).catch(e=>(t(e),()=>r?X(r,{error:e}):null));let a=Jt(!1),c=Jt(),d=Jt(!!i),f,m;return Qr(()=>{f!=null&&clearTimeout(f),m!=null&&clearTimeout(m)}),i&&(m=setTimeout(()=>{e.isUnmounted||(d.value=!1)},i)),o!=null&&(f=setTimeout(()=>{if(!e.isUnmounted&&!a.value&&!c.value){let e=Error(`Async component timed out after ${o}ms.`);t(e),c.value=e}},o)),p().then(()=>{e.isUnmounted||(a.value=!0,e.parent&&Ir(e.parent.vnode)&&e.parent.update())}).catch(n=>{if(e.isUnmounted){l=null;return}t(n),c.value=n}),()=>{if(a.value&&u)return Fr(u,e);if(c.value&&r)return X(r,{error:c.value});if(n&&!d.value)return Fr(n,e)}}})}function Fr(e,t){let{ref:n,props:r,children:i,ce:a}=t.vnode,o=X(e,r,i);return o.ref=n,o.ce=a,delete t.vnode.ce,o}var Ir=e=>e.type.__isKeepAlive,Lr={name:`KeepAlive`,__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){let n=uo(),r=n.ctx;if(!r.renderer)return()=>{let e=t.default&&t.default();return e&&e.length===1?e[0]:e};let i=new Map,a=new Set,o=null,s=n.suspense,{renderer:{p:c,m:l,um:u,o:{createElement:d}}}=r,f=d(`div`);r.activate=(e,t,n,r,i)=>{let a=e.component;l(e,t,n,0,s),c(a.vnode,e,t,n,a,s,r,e.slotScopeIds,i),G(()=>{a.isDeactivated=!1,a.a&&A(a.a);let t=e.props&&e.props.onVnodeMounted;t&&Q(t,a.parent,e)},s)},r.deactivate=e=>{let t=e.component;wa(t.m),wa(t.a),l(e,f,null,1,s),G(()=>{t.da&&A(t.da);let n=e.props&&e.props.onVnodeUnmounted;n&&Q(n,t.parent,e),t.isDeactivated=!0},s)};function p(e){Ur(e),u(e,n,s,!0)}function m(e){i.forEach((t,n)=>{let r=To(Nr(t)?t.type.__asyncResolved||{}:t.type);r&&!e(r)&&h(n)})}function h(e){let t=i.get(e);t&&(!o||!Y(t,o))?p(t):o&&Ur(o),i.delete(e),a.delete(e)}Gn(()=>[e.include,e.exclude],([e,t])=>{e&&m(t=>Rr(e,t)),t&&m(e=>!Rr(t,e))},{flush:`post`,deep:!0});let g=null,_=()=>{g!=null&&(Ea(n.subTree.type)?G(()=>{let e=Wr(n.subTree);e.component&&i.set(g,e)},n.subTree.suspense):i.set(g,Wr(n.subTree)))};return Jr(_),Xr(_),Zr(()=>{i.forEach(e=>{let{subTree:t,suspense:r}=n,i=Wr(t);if(e.type===i.type&&e.key===i.key){Ur(i);let e=i.component.da;e&&G(e,r);return}p(e)})}),()=>{if(g=null,!t.default)return o=null;let n=t.default(),r=n[0];if(n.length>1)return o=null,n;if(!Ya(r)||!(r.shapeFlag&4)&&!(r.shapeFlag&128))return o=null,r;let s=Wr(r);if(s.type===q)return o=null,s;let c=s.type,l=To(Nr(s)?s.type.__asyncResolved||{}:c),{include:u,exclude:d,max:f}=e;if(u&&(!l||!Rr(u,l))||d&&l&&Rr(d,l))return s.shapeFlag&=-257,o=s,r;let p=s.key==null?c:s.key,m=i.get(p);return s.el&&(s=to(s),r.shapeFlag&128&&(r.ssContent=s)),g=p,m?(s.el=m.el,s.component=m.component,s.transition&&cr(s,s.transition),s.shapeFlag|=512,a.delete(p),a.add(p)):(a.add(p),f&&a.size>parseInt(f,10)&&h(a.values().next().value)),s.shapeFlag|=256,o=s,Ea(r.type)?r:s}}};function Rr(e,t){return d(e)?e.some(e=>Rr(e,t)):_(e)?e.split(`,`).includes(t):h(e)?(e.lastIndex=0,e.test(t)):!1}function zr(e,t){Vr(e,`a`,t)}function Br(e,t){Vr(e,`da`,t)}function Vr(e,t,n=$){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Gr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Ir(e.parent.vnode)&&Hr(r,t,n,e),e=e.parent}}function Hr(e,t,n,r){let i=Gr(t,e,r,!0);Qr(()=>{c(r[t],i)},n)}function Ur(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Wr(e){return e.shapeFlag&128?e.ssContent:e}function Gr(e,t,n=$,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Je();let i=mo(n),a=z(t,n,e,r);return i(),Ye(),a};return r?i.unshift(a):i.push(a),a}}var Kr=e=>(t,n=$)=>{(!_o||e===`sp`)&&Gr(e,(...e)=>t(...e),n)},qr=Kr(`bm`),Jr=Kr(`m`),Yr=Kr(`bu`),Xr=Kr(`u`),Zr=Kr(`bum`),Qr=Kr(`um`),$r=Kr(`sp`),ei=Kr(`rtg`),ti=Kr(`rtc`);function ni(e,t=$){Gr(`ec`,e,t)}var ri=`components`;function ii(e,t){return si(ri,e,!0,t)||e}var ai=Symbol.for(`v-ndc`);function oi(e){return _(e)?si(ri,e,!1)||e:e||ai}function si(e,t,n=!0,r=!1){let i=V||$;if(i){let n=i.type;if(e===ri){let e=To(n,!1);if(e&&(e===t||e===O(t)||e===re(O(t))))return n}let a=ci(i[e]||n[e],t)||ci(i.appContext[e],t);return!a&&r?n:a}}function ci(e,t){return e&&(e[t]||e[O(t)]||e[re(O(t))])}function li(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||_(e)){let n=o&&Wt(e),r=!1,s=!1;n&&(r=!F(e),s=P(e),e=ct(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?qt(L(e[n])):L(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(y(e)){if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}}else i=[];return n&&(n[r]=i),i}function ui(e,t,n,r,i,a){if(n??={},V.ce||V.parent&&Nr(V.parent)&&V.parent.ce){let e=a!=null&&n.key==null?s({},n,{key:a}):n,i=Object.keys(e).length>0;return t!=="default"&&(e.name=t),Ha(),Ja(K,null,[X(`slot`,e,r&&r())],i?-2:64)}let o=e[t];o&&o._c&&(o._d=!1);let c=Va.length;Ha();let l;try{let i=o&&di(o(n)),s=n.key||a||i&&i.key;l=Ja(K,{key:(s&&!v(s)?s:`_${t}`)+(!i&&r?`_fb`:``)},i||(r?r():[]),i&&e._===1?64:-2)}catch(e){for(let e=Va.length;e>c;e--)Ua();throw e}finally{o&&o._c&&(o._d=!0)}return!i&&l.scopeId&&(l.slotScopeIds=[l.scopeId+`-s`]),l}function di(e){return e.some(e=>!Ya(e)||!(e.type===q||e.type===K&&!di(e.children)))?e:null}var fi=e=>e?go(e)?wo(e):fi(e.parent):null,pi=s(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=>fi(e.parent),$root:e=>fi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ti(e),$forceUpdate:e=>e.f||=()=>{Dn(e.update)},$nextTick:e=>e.n||=Tn.bind(e.proxy),$watch:e=>qn.bind(e)}),mi=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),hi={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(mi(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else bi&&(s[n]=0)}let d=pi[n],f,p;if(d)return n===`$attrs`&&N(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return mi(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||mi(n,c)||u(o,c)||u(i,c)||u(pi,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function gi(){return vi(`useSlots`).slots}function _i(){return vi(`useAttrs`).attrs}function vi(e){let t=uo();return t.setupContext||=Co(t)}function yi(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}var bi=!0;function xi(e){let t=Ti(e),n=e.proxy,i=e.ctx;bi=!1,t.beforeCreate&&Ci(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:h,updated:_,activated:v,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:E,renderTriggered:D,errorCaptured:ee,serverPrefetch:O,expose:te,inheritAttrs:ne,components:re,directives:ie,filters:k}=t;if(u&&Si(u,i,null),s)for(let e in s){let t=s[e];g(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);y(t)&&(e.data=Bt(t))}if(bi=!0,o)for(let e in o){let t=o[e],a=Do({get:g(t)?t.bind(n,n):g(t.get)?t.get.bind(n,n):r,set:!g(t)&&g(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)wi(c[e],i,n,e);if(l){let e=g(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{zn(t,e[t])})}f&&Ci(f,e,`c`);function A(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(A(qr,p),A(Jr,m),A(Yr,h),A(Xr,_),A(zr,v),A(Br,b),A(ni,ee),A(ti,E),A(ei,D),A(Zr,S),A(Qr,w),A($r,O),d(te)){if(te.length){let t=e.exposed||={};te.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={}}T&&e.render===r&&(e.render=T),ne!=null&&(e.inheritAttrs=ne),re&&(e.components=re),ie&&(e.directives=ie),O&&dr(e)}function Si(e,t,n=r){d(e)&&(e=Ai(e));for(let n in e){let r=e[n],i;i=y(r)?`default`in r?Bn(r.from||n,r.default,!0):Bn(r.from||n):Bn(r),R(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function Ci(e,t,n){z(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function wi(e,t,n,r){let i=r.includes(`.`)?Jn(n,r):()=>n[r];if(_(e)){let n=t[e];g(n)&&Gn(i,n)}else if(g(e))Gn(i,e.bind(n));else if(y(e)){if(d(e))e.forEach(e=>wi(e,t,n,r));else{let r=g(e.handler)?e.handler.bind(n):t[e.handler];g(r)&&Gn(i,r,e)}}}function Ti(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>Ei(c,e,o,!0)),Ei(c,t,o)),y(t)&&a.set(t,c),c}function Ei(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&Ei(e,a,n,!0),i&&i.forEach(t=>Ei(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Di[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Di={data:Oi,props:Mi,emits:Mi,methods:ji,computed:ji,beforeCreate:W,created:W,beforeMount:W,mounted:W,beforeUpdate:W,updated:W,beforeDestroy:W,beforeUnmount:W,destroyed:W,unmounted:W,activated:W,deactivated:W,errorCaptured:W,serverPrefetch:W,components:ji,directives:ji,watch:Ni,provide:Oi,inject:ki};function Oi(e,t){return t?e?function(){return s(g(e)?e.call(this,this):e,g(t)?t.call(this,this):t)}:t:e}function ki(e,t){return ji(Ai(e),Ai(t))}function Ai(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function W(e,t){return e?[...new Set([].concat(e,t))]:t}function ji(e,t){return e?s(Object.create(null),e,t):t}function Mi(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),yi(e),yi(t??{})):t}function Ni(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=W(e[r],t[r]);return n}function Pi(){return{app:null,config:{isNativeTag:i,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}}var Fi=0;function Ii(e,t){return function(n,r=null){g(n)||(n=s({},n)),r!=null&&!y(r)&&(r=null);let i=Pi(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Fi++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ko,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&g(e.install)?(a.add(e),e.install(l,...t)):g(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||X(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,wo(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(z(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Li;Li=l;try{return e()}finally{Li=t}}};return l}}var Li=null,Ri=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${O(t)}Modifiers`]||e[`${ne(t)}Modifiers`];function zi(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Ri(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>_(e)?e.trim():e)),s.number&&(a=a.map(oe)));let c,l=i[c=ie(n)]||i[c=ie(O(n))];!l&&o&&(l=i[c=ie(ne(n))]),l&&z(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,z(u,e,6,a)}}var Bi=new WeakMap;function Vi(e,t,n=!1){let r=n?Bi:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!g(e)){let r=e=>{let n=Vi(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(y(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),y(e)&&r.set(e,o),o)}function Hi(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,ne(t))||u(e,t))}function Ui(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Fn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Z(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Z(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Gi(c)}}catch(t){Va.length=0,_n(t,e,1),v=X(q)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Ki(y,a)),b=to(b,y,!1,!0))}return n.dirs&&(b=to(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&cr(Xn(b.type)&&sr(b)||b,n.transition),v=b,Fn(_),v}function Wi(e,t=!0){let n;for(let t=0;t<e.length;t++){let r=e[t];if(Ya(r)){if(r.type!==q||r.children===`v-if`){if(n)return;n=r}}else return}return n}var Gi=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Ki=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function qi(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Ji(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Yi(o,r,n)&&!Hi(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?!o||Ji(r,o,l):!!o;return!1}function Ji(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Yi(t,e,a)&&!Hi(n,a))return!0}return!1}function Yi(e,t,n){let r=e[n],i=t[n];return n===`style`&&y(r)&&y(i)?!we(r,i):r!==i}function Xi({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Zi={},Qi=()=>Object.create(Zi),$i=e=>Object.getPrototypeOf(e)===Zi;function ea(e,t,n,r=!1){let i={},a=Qi();e.propsDefaults=Object.create(null),na(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);e.props=n?r?i:Vt(i):e.type.props?i:a,e.attrs=a}function ta(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=I(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Hi(e.emitsOptions,o))continue;let d=t[o];if(c){if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=O(o);i[t]=ra(c,s,t,d,e,!1)}}else d!==a[o]&&(a[o]=d,l=!0)}}}else{na(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=ne(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=ra(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&at(e.attrs,`set`,``)}function na(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(E(t))continue;let l=n[t],d;a&&u(a,d=O(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Hi(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=I(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=ra(a,n,s,i[s],e,!u(i,s))}}return s}function ra(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&g(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=mo(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===ne(n))&&(r=!0))}return r}var ia=new WeakMap;function aa(e,r,i=!1){let a=i?ia:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!g(e)){let t=e=>{p=!0;let[t,n]=aa(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return y(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=O(c[e]);oa(n)&&(l[n]=t)}else if(c)for(let e in c){let t=O(e);if(oa(t)){let n=c[e],r=l[t]=d(n)||g(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=g(t)&&t.name;if(n===`Boolean`){a=!0;break}n===`String`&&(o=!1)}else a=g(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return y(e)&&a.set(e,m),m}function oa(e){return e[0]!==`$`&&!E(e)}var sa=e=>e===`_`||e===`_ctx`||e===`$stable`,ca=e=>d(e)?e.map(Z):[Z(e)],la=(e,t,n)=>{if(t._n)return t;let r=In((...e)=>ca(t(...e)),n);return r._c=!1,r},ua=(e,t,n)=>{let r=e._ctx;for(let n in e){if(sa(n))continue;let i=e[n];if(g(i))t[n]=la(n,i,r);else if(i!=null){let e=ca(i);t[n]=()=>e}}},da=(e,t)=>{let n=ca(t);e.slots.default=()=>n},fa=(e,t,n)=>{for(let r in t)(n||!sa(r))&&(e[r]=t[r])},pa=(e,t,n)=>{let r=e.slots=Qi();if(e.vnode.shapeFlag&32){let e=t._;e?(fa(r,t,n),n&&ae(r,`_`,e,!0)):ua(t,r)}else t&&da(e,t)},ma=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:fa(a,n,r):(o=!n.$stable,ua(n,a)),s=n}else n&&(da(e,n),s={default:1});if(o)for(let e in a)!sa(e)&&s[e]==null&&delete a[e]},G=Ia;function ha(e){return _a(e)}function ga(e){return _a(e,Sr)}function _a(e,i){let a=le();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,r,i=null,a=null,o=null,s=void 0,c=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Y(e,t)&&(i=ve(e),pe(e,a,o,!0),e=null),t.patchFlag===-2&&(l=!1,t.dynamicChildren=null),t.dynamicChildren&&e&&e.dynamicChildren&&e.dynamicChildren.hasOnce&&(t.dynamicChildren===n&&(t.dynamicChildren=[]),t.dynamicChildren.hasOnce=!0);let{type:u,ref:d,shapeFlag:f}=t;switch(u){case za:y(e,t,r,i);break;case q:b(e,t,r,i);break;case Ba:e??x(t,r,i,s);break;case K:re(e,t,r,i,a,o,s,c,l);break;default:f&1?w(e,t,r,i,a,o,s,c,l):f&6?ie(e,t,r,i,a,o,s,c,l):(f&64||f&128)&&u.process(e,t,r,i,a,o,s,c,l,xe)}d!=null&&a?mr(d,e&&e.ref,o,t||e,!t):d==null&&e&&e.ref!=null&&mr(e.ref,null,o,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)T(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),O(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},T=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&ee(e.children,d,null,r,i,va(e,a),s,u),_&&Rn(e,null,r,`created`),D(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!E(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Q(f,r,e)}_&&Rn(e,null,r,`beforeMount`);let v=ba(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&G(()=>{try{f&&Q(f,r,e),v&&g.enter(d),_&&Rn(e,null,r,`mounted`)}finally{}},i)},D=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Ea(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;D(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},ee=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++){let c=e[l]=s?io(e[l]):Z(e[l]);v(null,c,t,n,r,i,a,o,s)}},O=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&ya(r,!1),(g=h.onVnodeBeforeUpdate)&&Q(g,r,n,e),f&&Rn(n,e,r,`beforeUpdate`),r&&ya(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?te(e.dynamicChildren,d,l,r,i,va(n,a),o):s||ce(e,n,l,null,r,i,va(n,a),o,!1),u>0){if(u&16)ne(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else!s&&d==null&&ne(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&G(()=>{g&&Q(g,r,n,e),f&&Rn(n,e,r,`updated`)},i)},te=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s],u=c.el&&(c.type===K||!Y(c,l)||c.shapeFlag&198)?m(c.el):n;v(c,l,u,null,r,i,a,o,!0)}},ne=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!E(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(E(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},re=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),ee(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(te(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&xa(e,t,!0)):ce(e,t,n,f,i,a,s,c,l)},ie=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):k(t,n,r,i,a,o,c):ae(e,t,c)},k=(e,t,n,r,i,a,o)=>{let s=e.component=lo(e,r,i);if(Ir(e)&&(s.ctx.renderer=xe),vo(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,oe,o),!e.el){let r=s.subTree=X(q);b(null,r,t,n),e.placeholder=r.el}}else oe(s,e,t,n,i,a,o)},ae=(e,t,n)=>{let r=t.component=e.component;if(qi(e,t,n)){if(r.asyncDep&&!r.asyncResolved){t.el=e.el,se(r,t,n);return}r.next=t,r.update()}else t.el=e.el,r.vnode=t},oe=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=Ca(e);if(n){t&&(t.el=c.el,se(e,t,o)),n.asyncDep.then(()=>{G(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;ya(e,!1),t?(t.el=c.el,se(e,t,o)):t=c,n&&A(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Q(d,s,t,c),ya(e,!0);let f=Ui(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ve(p),e,i,a),t.el=f.el,u===null&&Xi(e,f.el),r&&G(r,i),(d=t.props&&t.props.onVnodeUpdated)&&G(()=>Q(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Nr(t);if(ya(e,!1),l&&A(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Q(o,d,t),ya(e,!0),s&&Ce){let t=()=>{e.subTree=Ui(e),Ce(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Ui(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&G(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;G(()=>Q(o,d,e),i)}(t.shapeFlag&256||d&&Nr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&G(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ne(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>Dn(u),ya(e,!0),l()},se=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,ta(e,t.props,r,n),ma(e,t.children,n),Je(),An(e),Ye()},ce=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){de(l,d,n,r,i,a,o,s,c);return}if(f&256){ue(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&_e(l,i,a),d!==l&&p(n,d)):u&16?m&16?de(l,d,n,r,i,a,o,s,c):_e(l,i,a,!0):(u&8&&p(n,``),m&16&&ee(d,n,r,i,a,o,s,c))},ue=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p=0;for(;p<f;p++){let n=t[p]=l?io(t[p]):Z(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?_e(e,a,o,!0,!1,f):ee(t,r,i,a,o,s,c,l,f)},de=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?io(t[u]):Z(t[u]);if(Y(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?io(t[p]):Z(t[p]);if(Y(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?io(t[u]):Z(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)pe(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?io(t[u]):Z(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){pe(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Y(n,t[_])){i=_;break}i===void 0?pe(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?Sa(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||Ta(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?fe(n,r,p,2):_--)}}},fe=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){fe(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,xe);return}if(c===K){o(a,t,n);for(let e=0;e<u.length;e++)fe(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Ba){S(e,t,n);return}if(r!==2&&d&1&&l){if(r===0)l.persisted&&!a[H]?o(a,t,n):(l.beforeEnter(a),o(a,t,n),G(()=>l.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[H];a._isLeaving&&a[H](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}}else o(a,t,n)},pe=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if((d===-2||l&&l.hasOnce)&&(i=!1),s!=null&&(Je(),mr(s,null,n,e,!0),Ye()),p!=null&&(!e.ctx||e.ctx===t)&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Nr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Q(_,t,e),u&6)ge(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&Rn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,xe,r):l&&!l.hasOnce&&(a!==K||d>0&&d&64)?_e(l,t,n,!1,!0):(a===K&&d&384||!i&&u&16)&&_e(c,t,n),r&&me(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&G(()=>{_&&Q(_,t,e),h&&Rn(e,null,t,`unmounted`),v&&(e.el=null)},n)},me=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===K){he(n,r);return}if(t===Ba){C(e),i&&!i.persisted&&i.afterLeave&&i.afterLeave();return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},he=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},ge=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;wa(c),wa(l),r&&A(r),i.stop(),a?(a.flags|=8,pe(o,e,t,n)):e.vnode.el&&o&&(o.transition=e.vnode.transition,pe(o,e,t,n)),s&&G(s,t),G(()=>{e.isUnmounted=!0},t)},_e=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)pe(e[o],t,n,r,i)},ve=e=>{if(e.shapeFlag&6)return ve(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Yn];return n?h(n):t},ye=!1,be=(e,t,n)=>{let r;e==null?t._vnode&&(pe(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,ye||=(ye=!0,An(r),jn(),!1)},xe={p:v,um:pe,m:fe,r:me,mt:k,mc:ee,pc:ce,pbc:te,n:ve,o:e},Se,Ce;return i&&([Se,Ce]=i(xe)),{render:be,hydrate:Se,createApp:Ii(be,Se)}}function va({type:e,props:t},n){return n===`svg`&&e===`foreignObject`||n===`mathml`&&e===`annotation-xml`&&t&&t.encoding&&t.encoding.includes(`html`)?void 0:n}function ya({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ba(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xa(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=io(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&xa(t,a)),a.type===za&&(a.patchFlag===-1&&(a=i[e]=io(a)),a.el=t.el),a.type===q&&!a.el&&(a.el=t.el)}}function Sa(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function Ca(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ca(t)}function wa(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ta(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?Ta(t.subTree):null}var Ea=e=>e.__isSuspense,Da=0,Oa={name:`Suspense`,__isSuspense:!0,process(e,t,n,r,i,a,o,s,c,l){if(e==null)Aa(t,n,r,i,a,o,s,c,l);else{if(a&&a.deps>0&&!e.suspense.isInFallback&&!a.isHydrating){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}ja(e,t,n,r,i,o,s,c,l)}},hydrate:Na,normalize:Pa};function ka(e,t){let n=e.props&&e.props[t];g(n)&&n()}function Aa(e,t,n,r,i,a,o,s,c){let{p:l,o:{createElement:u}}=c,d=u(`div`),f=e.suspense=Ma(e,i,r,t,d,n,a,o,s,c);l(null,f.pendingBranch=e.ssContent,d,null,r,f,a,o),f.deps>0?(ka(e,`onPending`),ka(e,`onFallback`),l(null,e.ssFallback,t,n,r,null,a,o),La(f,e.ssFallback)):f.resolve(!1,!0)}function ja(e,t,n,r,i,a,o,s,{p:c,um:l,o:{createElement:u}}){let d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;let f=t.ssContent,p=t.ssFallback,{activeBranch:m,pendingBranch:h,isInFallback:g,isHydrating:_}=d;if(h)d.pendingBranch=f,Y(h,f)?(d.deps++,c(h,f,_?n:d.hiddenContainer,null,i,d,a,o,s),d.deps--,d.deps<=0?d.resolve():g&&!_&&!d.isFallbackMountPending&&(c(m,p,n,r,i,null,a,o,s),La(d,p))):(d.pendingId=Da++,_?(d.isHydrating=!1,d.activeBranch=h):l(h,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=u(`div`),g?(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0?d.resolve():d.isFallbackMountPending||(c(m,p,n,r,i,null,a,o,s),La(d,p))):m&&Y(m,f)?(c(m,f,n,r,i,d,a,o,s),d.resolve(!0)):(c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0&&d.resolve()));else if(m&&Y(m,f))c(m,f,n,r,i,d,a,o,s),La(d,f);else if(ka(t,`onPending`),d.pendingBranch=f,d.pendingId=f.shapeFlag&512?f.component.suspenseId:Da++,c(null,f,d.hiddenContainer,null,i,d,a,o,s),d.deps<=0)d.resolve();else{let{timeout:e,pendingId:t}=d;e>0?setTimeout(()=>{d.pendingId===t&&d.fallback(p)},e):e===0&&d.fallback(p)}}function Ma(e,t,n,r,i,a,o,s,c,l,u=!1){let{p:d,m:f,um:p,n:m,o:{parentNode:h,remove:g}}=l,_,v=Ra(e);v&&t&&t.pendingBranch&&(_=t.pendingId,t.deps++);let y=e.props?se(e.props.timeout):void 0,b=a,x={vnode:e,parent:t,parentComponent:n,namespace:o,container:r,hiddenContainer:i,deps:0,pendingId:Da++,timeout:typeof y==`number`?y:-1,activeBranch:null,isFallbackMountPending:!1,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(e=!1,n=!1){let{vnode:r,activeBranch:i,pendingBranch:o,pendingId:s,effects:c,parentComponent:l,container:u,isInFallback:d}=x,g=!1;if(x.isHydrating)x.isHydrating=!1;else if(!e){g=i&&o.transition&&o.transition.mode===`out-in`;let e=!1;g&&(i.transition.afterLeave=()=>{s===x.pendingId&&(f(o,u,a===b&&!e?m(i):a,0),kn(c),d&&r.ssFallback&&(r.ssFallback.el=null))}),i&&!x.isFallbackMountPending&&(h(i.el)===u&&(a=m(i),e=!0),p(i,l,x,!0),!g&&d&&r.ssFallback&&G(()=>r.ssFallback.el=null,x)),g||f(o,u,a,0)}x.isFallbackMountPending=!1,La(x,o),x.pendingBranch=null,x.isInFallback=!1;let y=x.parent,S=!1;for(;y;){if(y.pendingBranch){for(let e=0;e<c.length;e++)y.effects.push(c[e]);S=!0;break}y=y.parent}!S&&!g&&kn(c),x.effects=[],v&&t&&t.pendingBranch&&_===t.pendingId&&(_=void 0,t.deps--,t.deps===0&&!n&&t.resolve()),ka(r,`onResolve`)},fallback(e){if(!x.pendingBranch)return;let{vnode:t,activeBranch:n,parentComponent:r,container:i,namespace:a}=x;ka(t,`onFallback`);let o=m(n),l=()=>{if(x.isFallbackMountPending=!1,!x.isInFallback)return;let e=x.vnode.ssFallback;d(null,e,i,o,r,null,a,s,c),La(x,e)},u=e.transition&&e.transition.mode===`out-in`;u&&(x.isFallbackMountPending=!0,n.transition.afterLeave=l),x.isInFallback=!0,p(n,r,null,!0),u||l()},move(e,t,n){x.activeBranch&&f(x.activeBranch,e,t,n),x.container=e},next(){return x.activeBranch&&m(x.activeBranch)},registerDep(e,t,n){let r=!!x.pendingBranch;r&&x.deps++;let i=e.vnode.el;e.asyncDep.catch(t=>{_n(t,e,0)}).then(a=>{if(e.isUnmounted||x.isUnmounted||x.pendingId!==e.suspenseId)return;if(ho(),i&&!e.scope.active){r&&--x.deps===0&&x.resolve();return}e.asyncResolved=!0;let{vnode:s}=e;bo(e,a,!1),i&&(s.el=i);let c=!i&&e.subTree.el;t(e,s,h(i||e.subTree.el),i?null:m(e.subTree),x,o,n),c&&(s.placeholder=null,g(c)),Xi(e,s.el),r&&--x.deps===0&&x.resolve()})},unmount(e,t){x.isUnmounted=!0,x.activeBranch&&p(x.activeBranch,n,e,t),x.pendingBranch&&p(x.pendingBranch,n,e,t)}};return x}function Na(e,t,n,r,i,a,o,s,c){let l=t.suspense=Ma(t,r,n,e.parentNode,document.createElement(`div`),null,i,a,o,s,!0),u=c(e,l.pendingBranch=t.ssContent,n,l,a,o);return l.deps===0&&l.resolve(!1,!0),u}function Pa(e){let{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Fa(r?n.default:n),e.ssFallback=r?Fa(n.fallback):X(q)}function Fa(e){let t;if(g(e)){let n=Wa&&e._c;n&&(e._d=!1,Ha()),e=e(),n&&(e._d=!0,t=J,Ua())}return d(e)&&(e=Wi(e)),e=Z(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(t=>t!==e)),e}function Ia(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):kn(e)}function La(e,t){e.activeBranch=t;let{vnode:n,parentComponent:r}=e,i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;n.el=i,r&&r.subTree===n&&(r.vnode.el=i,Xi(r,i))}function Ra(e){let t=e.props&&e.props.suspensible;return t!=null&&t!==!1}var K=Symbol.for(`v-fgt`),za=Symbol.for(`v-txt`),q=Symbol.for(`v-cmt`),Ba=Symbol.for(`v-stc`),Va=[],J=null;function Ha(e=!1){Va.push(J=e?null:[])}function Ua(){Va.pop(),J=Va[Va.length-1]||null}var Wa=1;function Ga(e,t=!1){Wa+=e,e<0&&J&&t&&(J.hasOnce=!0)}function Ka(e){return e.dynamicChildren=Wa>0?J||n:null,Ua(),Wa>0&&J&&J.push(e),e}function qa(e,t,n,r,i,a){return Ka(Qa(e,t,n,r,i,a,!0))}function Ja(e,t,n,r,i){return Ka(X(e,t,n,r,i,!0))}function Ya(e){return e?e.__v_isVNode===!0:!1}function Y(e,t){return e.type===t.type&&e.key===t.key}var Xa=({key:e})=>e??null,Za=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:_(e)||R(e)||g(e)?{i:V,r:e,k:t,f:!!n}:e);function Qa(e,t=null,n=null,r=0,i=null,a=e===K?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xa(t),ref:t&&Za(t),scopeId:Pn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:V};return s?(ao(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=_(n)?8:16),Wa>0&&!o&&J&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&J.push(c),c}var X=$a;function $a(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===ai)&&(e=q),Ya(e)){let r=to(e,t,!0);return n&&ao(r,n),Wa>0&&!a&&J&&(r.shapeFlag&6?J[J.indexOf(e)]=r:J.push(r)),r.patchFlag=-2,r}if(Eo(e)&&(e=e.__vccOpts),t){t=eo(t);let{class:e,style:n}=t;e&&!_(e)&&(t.class=he(e)),y(n)&&(Gt(n)&&!d(n)&&(n=s({},n)),t.style=ue(n))}let o=_(e)?1:Ea(e)?128:Xn(e)?64:y(e)?4:g(e)?2:0;return Qa(e,t,n,r,i,o,a,!0)}function eo(e){return e?Gt(e)||$i(e)?s({},e):e:null}function to(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?oo(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Xa(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Za(t)):[a,Za(t)]:Za(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==K?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&to(e.ssContent),ssFallback:e.ssFallback&&to(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce,cacheIndex:e.cacheIndex};return c&&r&&cr(u,c.clone(u)),u}function no(e=` `,t=0){return X(za,null,e,t)}function ro(e=``,t=!1){return t?(Ha(),Ja(q,null,e)):X(q,null,e)}function Z(e){return e==null||typeof e==`boolean`?X(q):d(e)?X(K,null,e.slice()):Ya(e)?io(e):X(za,null,String(e))}function io(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:to(e)}function ao(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`){if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),ao(e,n()),n._c&&(n._d=!0));return}{n=32;let r=t._;!r&&!$i(t)?t._ctx=V:r===3&&V&&(V.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}}else if(g(t)){if(r&65){ao(e,{default:t});return}t={default:t,_ctx:V},n=32}else t=String(t),r&64?(n=16,t=[no(t)]):n=8;e.children=t,e.shapeFlag|=n}function oo(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=he([t.class,r.class]));else if(e===`style`)t.style=ue([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Q(e,t,n,r=null){z(e,t,7,[n,r])}var so=Pi(),co=0;function lo(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||so,o={uid:co++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ke(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:aa(i,a),emitsOptions:Vi(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=n?n.root:o,o.emit=zi.bind(null,o),e.ce&&e.ce(o),o}var $=null,uo=()=>$||V,fo,po;{let e=le(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};fo=t(`__VUE_INSTANCE_SETTERS__`,e=>$=e),po=t(`__VUE_SSR_SETTERS__`,e=>_o=e)}var mo=e=>{let t=$;return fo(e),e.scope.on(),()=>{e.scope.off(),fo(t)}},ho=()=>{$&&$.scope.off(),fo(null)};function go(e){return e.vnode.shapeFlag&4}var _o=!1;function vo(e,t=!1,n=!1){t&&po(t);let{props:r,children:i}=e.vnode,a=go(e);ea(e,r,a,t),pa(e,i,n||t);let o=a?yo(e,t):void 0;return t&&po(!1),o}function yo(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,hi);let{setup:r}=n;if(r){Je();let n=e.setupContext=r.length>1?Co(e):null,i=mo(e),a=gn(r,e,0,[e.props,n]),o=b(a);if(Ye(),i(),(o||e.sp)&&!Nr(e)&&dr(e),o){if(a.then(ho,ho),t)return a.then(n=>{po(!0);try{bo(e,n,t)}finally{po(!1)}}).catch(t=>{_n(t,e,0)});e.asyncDep=a}else bo(e,a,t)}else xo(e,t)}function bo(e,t,n){g(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:y(t)&&(e.setupState=nn(t)),xo(e,n)}function xo(e,t,n){let i=e.type;e.render||=i.render||r;{let t=mo(e);Je();try{xi(e)}finally{Ye(),t()}}}var So={get(e,t){return N(e,`get`,``),e[t]}};function Co(e){return{attrs:new Proxy(e.attrs,So),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function wo(e){return e.exposed?e.exposeProxy||=new Proxy(nn(Kt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in pi)return pi[n](e)},has(e,t){return t in e||t in pi}}):e.proxy}function To(e,t=!0){return g(e)?e.displayName||e.name:e.name||t&&e.__name}function Eo(e){return g(e)&&`__vccOpts`in e}var Do=(e,t)=>ln(e,t,_o);function Oo(e,t,n){try{Ga(-1);let r=arguments.length;return r===2?y(t)&&!d(t)?Ya(t)?X(e,null,[t]):X(e,t):X(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ya(n)&&(n=[n]),X(e,t,n))}finally{Ga(1)}}var ko=`3.5.43`;export{en as $,Jr as A,Wn as B,Ya as C,Zr as D,zr as E,ii as F,P as G,Ln as H,oi as I,Jt as J,R as K,_i as L,zn as M,li as N,Br as O,ui as P,on as Q,gi as R,Bn as S,Tn as T,Ae as U,In as V,je as W,Yt as X,Vt as Y,I as Z,ur as _,he as _t,Oa as a,ne as at,Oo as b,Ee as bt,Qa as c,d as ct,qa as d,y as dt,Qt as et,ga as f,a as ft,Pr as g,oe as gt,X as h,v as ht,Lr as i,s as it,Ha as j,ni as k,Ja as l,g as lt,no as m,_ as mt,$n as n,O as nt,z as o,ye as ot,ha as p,ve as pt,Bt as q,K as r,re as rt,Do as s,A as st,rr as t,$t as tt,ro as u,o as ut,uo as v,ge as vt,oo as w,Vn as x,se as xt,eo as y,ue as yt,Gn as z};
@@ -1 +1 @@
1
- import{A as e,B as t,D as n,F as r,H as i,I as a,J as o,L as s,M as c,N as l,P as u,R as d,S as f,T as p,V as m,X as h,Z as g,_,_t as v,b as y,bt as b,c as x,d as S,et as C,h as w,j as T,l as E,m as D,r as O,s as k,tt as A,u as j,v as M,w as ee,yt as N,z as P}from"./El7xeapg.js";import{n as F,r as I}from"#entry";var te=Object.assign(_({inheritAttrs:!1,__name:`AppButton`,props:{size:{default:`default`},active:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1}},setup(e){let t=s(),n=k(()=>[`inline-flex items-center gap-2 rounded border transition-colors disabled:cursor-not-allowed disabled:op50`,e.size===`small`?`min-h-8 px-2 text-xs`:`min-h-9 px-3 text-sm`,e.iconOnly?`justify-center px-2`:`justify-center`,e.active?`nq-button-active`:`nq-button`,t.class]);return(e,r)=>(T(),S(`button`,ee(A(t),{type:`button`,class:n.value}),[u(e.$slots,`icon`),u(e.$slots,`default`)],16))}}),{__name:`AppButton`}),L={fetching:0,paused:1,stale:2,fresh:3,inactive:4},R={Loading:0,Success:1,Error:2,Paused:3,Idle:4};function z(e,t){return e.localeCompare(t)}function B(e,t){return e-t}function V(e,t){return t===`desc`?-e:e}function H(e){return e.queryKey?.toString().toLowerCase()||``}function U(e){return e.options.mutationKey?.toString().toLowerCase()||``}function W(e,t,n){return e.map((e,t)=>({query:e,index:t})).sort((e,r)=>{let i=e.query,a=r.query,o;if(t===`status`){let e=G(i),t=G(a);o=B(L[e]??2**53-1,L[t]??2**53-1)}else o=t===`key`?z(H(i),H(a)):B(i.state.dataUpdatedAt||0,a.state.dataUpdatedAt||0);return o===0?(o=z(i.queryHash,a.queryHash),o===0?B(e.index,r.index):o):V(o,n)}).map(e=>e.query)}function ne(e,t,n){return e.map((e,t)=>({mutation:e,index:t})).sort((e,r)=>{let i=e.mutation,a=r.mutation,o;if(t===`status`){let e=q(i),t=q(a);o=B(R[e]??2**53-1,R[t]??2**53-1)}else o=t===`key`?z(U(i),U(a)):B(i.state.submittedAt||0,a.state.submittedAt||0);return o===0?(o=B(i.mutationId,a.mutationId),o===0?B(e.index,r.index):o):V(o,n)}).map(e=>e.mutation)}function G(e){return e.state.fetchStatus===`fetching`?`fetching`:e.observers.length<1?`inactive`:e.state.fetchStatus===`paused`?`paused`:g(e)?.isStale()?`stale`:`fresh`}function K(e){return e.state.fetchStatus===`fetching`?`blue`:e.observers.length<1?`gray`:e.state.fetchStatus===`paused`?`purple`:g(e)?.isStale()?`orange`:`green`}function q(e){let{status:t}=e.state;return e.state.isPaused?`Paused`:t===`error`?`Error`:t===`pending`?`Loading`:t===`success`?`Success`:`Idle`}function J(e){let{status:t}=e.state;return e.state.isPaused?`purple`:t===`error`?`red`:t===`pending`?`yellow`:t===`success`?`green`:`gray`}var re={class:`flex flex-wrap gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},Y={class:`op75`},ie={class:`font-mono`,style:{color:`var(--nq-text-muted)`}},ae=Object.assign(_({__name:`QueryCacheSummary`,props:{queries:{}},setup(e){let t=e,n=[{key:`fetching`,label:`Fetching`},{key:`stale`,label:`Stale`},{key:`fresh`,label:`Fresh`},{key:`inactive`,label:`Inactive`},{key:`paused`,label:`Paused`}],r={fetching:`blue`,inactive:`gray`,paused:`purple`,stale:`orange`,fresh:`green`},i=k(()=>t.queries.reduce((e,t)=>{let n=G(t);return e[n]+=1,e},{fetching:0,inactive:0,paused:0,stale:0,fresh:0}));function a(e){let n=t.queries.find(t=>G(t)===e);return n?K(n):r[e]}return(e,t)=>(T(),S(`div`,re,[(T(),S(O,null,l(n,e=>x(`div`,{key:e.key,class:`inline-flex items-center gap-2 rounded px-2 py-2 text-xs`,style:{"background-color":`var(--nq-surface-muted)`}},[x(`span`,{style:N({width:`0.75em`,height:`0.75em`,"border-radius":`2px`,"background-color":a(e.key)})},null,4),x(`span`,Y,b(e.label),1),x(`span`,ie,b(i.value[e.key]),1)])),64))]))}}),{__name:`QueryCacheSummary`}),oe={class:`flex flex-wrap gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},X={class:`op75`},Z={class:`font-mono`,style:{color:`var(--nq-text-muted)`}},se=Object.assign(_({__name:`MutationCacheSummary`,props:{mutations:{}},setup(e){let t=e,n=[{key:`Loading`,label:`Loading`},{key:`Success`,label:`Success`},{key:`Error`,label:`Error`},{key:`Paused`,label:`Paused`},{key:`Idle`,label:`Idle`}],r={Paused:`purple`,Error:`red`,Loading:`yellow`,Success:`green`,Idle:`gray`},i=k(()=>t.mutations.reduce((e,t)=>{let n=q(t);return e[n]+=1,e},{Paused:0,Error:0,Loading:0,Success:0,Idle:0}));function a(e){let n=t.mutations.find(t=>q(t)===e);return n?J(n):r[e]}return(e,t)=>(T(),S(`div`,oe,[(T(),S(O,null,l(n,e=>x(`div`,{key:e.key,class:`inline-flex items-center gap-2 rounded px-2 py-1 text-xs`,style:{"background-color":`var(--nq-surface-muted)`}},[x(`span`,{style:N({width:`0.75em`,height:`0.75em`,"border-radius":`2px`,"background-color":a(e.key)})},null,4),x(`span`,X,b(e.label),1),x(`span`,Z,b(i.value[e.key]),1)])),64))]))}}),{__name:`MutationCacheSummary`}),ce={class:`grid gap-2 p-2 b-b-1`,style:{"border-color":`var(--nq-border-strong)`}},le={class:`grid items-center gap-2 grid-cols-[minmax(7em,1fr)_auto]`},ue={class:`flex min-w-16 items-center gap-2 rounded pl-2`,style:{border:`1px solid var(--nq-border-strong)`,"background-color":`var(--nq-surface-muted)`}},de={class:`grid items-center gap-2 grid-cols-[auto_auto_auto]`},fe=[`value`],pe={class:`text-sm`},me={op50:``},he=Object.assign(_({__name:`FilterSortControls`,props:{search:{},totalCount:{},itemLabel:{},sortField:{},sortDirection:{}},emits:[`update:search`,`update:sortField`,`update:sortDirection`],setup(e,{emit:t}){let n=e,r=t,a=k({get:()=>n.search,set:e=>r(`update:search`,e)});function o(){r(`update:sortDirection`,n.sortDirection===`asc`?`desc`:`asc`)}return(t,n)=>{let s=te;return T(),S(`div`,ce,[x(`div`,le,[x(`div`,ue,[n[2]||=x(`span`,{class:`i-carbon-search h-4 w-4 shrink-0 op50`},null,-1),i(x(`input`,{"onUpdate:modelValue":n[0]||=e=>a.value=e,type:`text`,class:`block min-w-0 flex-1 appearance-none border-0 bg-transparent px-0 py-2 text-sm outline-none`,placeholder:`Search...`,"aria-label":`Search`},null,512),[[F,a.value]])]),x(`div`,de,[n[4]||=x(`label`,{class:`text-xs op75`,for:`sort-field`},` Sort `,-1),x(`select`,{id:`sort-field`,class:`rounded px-2 text-xs min-w-16 h-8`,value:e.sortField,onChange:n[1]||=e=>r(`update:sortField`,e.target.value)},[...n[3]||=[x(`option`,{value:`status`},` Status `,-1),x(`option`,{value:`key`},` Key `,-1),x(`option`,{value:`date`},` Date/Time `,-1)]],40,fe),w(s,{size:`small`,class:`w-auto`,title:e.sortDirection===`asc`?`Ascending`:`Descending`,onClick:o},{default:m(()=>[D(b(e.sortDirection===`asc`?`ASC`:`DESC`),1)]),_:1},8,[`title`])])]),x(`div`,pe,[x(`span`,me,b(e.totalCount)+` `+b(e.itemLabel)+` in total`,1)])])}}}),{__name:`FilterSortControls`}),ge={class:`grid gap-2 px-2 py-0.5 cursor-pointer truncate max-w-full nq-list-item`,style:{"grid-template-columns":`1em 1fr auto auto auto`}},_e={class:`truncate`},ve={class:`text-right`},ye={class:`text-right`},be={class:`text-right`},xe=Object.assign(_({__name:`QueryListItem`,props:{item:{},index:{}},setup(e){return(t,n)=>(T(),S(`div`,ge,[x(`div`,{style:N({width:`1em`,height:`1em`,"border-radius":`10%`,"align-self":`center`,"background-color":(`getQueryBackgroundColor`in t?t.getQueryBackgroundColor:A(K))(e.item)})},null,4),x(`div`,_e,b(e.item.queryKey),1),x(`div`,ve,[x(`div`,{class:v({"i-carbon-play-outline-filled text-green":e.item.state.fetchStatus===`fetching`,"i-carbon-pause-outline-filled text-gray":e.item.state.fetchStatus===`paused`,"i-carbon-navaid-helipad text-blue":e.item.state.fetchStatus===`idle`})},null,2)]),x(`div`,ye,[x(`div`,{class:v({"i-carbon-checkmark-filled text-green":e.item.state.status===`success`,"i-carbon-error-filled text-red":e.item.state.status===`error`,"i-carbon-help-filled text-gray":e.item.state.status===`pending`})},null,2)]),x(`div`,be,[x(`div`,{class:v({"i-carbon-view-off-filled text-gray":e.item.observers.length===0,"i-carbon-view-filled text-blue":e.item.observers.length!==0})},null,2)])]))}}),{__name:`QueryListItem`}),Se={class:`nq-section-block border rounded overflow-hidden`},Ce={class:`nq-section-block-header flex items-center gap-2 px-3 py-2 border-b`},we={class:`truncate`},Te={key:0,class:`flex items-center gap-2`},Ee=Object.assign(_({__name:`AppSectionBlock`,props:{icon:{},text:{},open:{type:Boolean,default:!0},padding:{type:Boolean,default:!1}},setup(e){let t=o(e.open);P(()=>e.open,e=>{t.value=e});let n=k(()=>e.padding?`px-2 py-2`:``);function r(){t.value=!t.value}return(a,o)=>(T(),S(`section`,Se,[x(`div`,Ce,[x(`button`,{type:`button`,class:`flex min-w-0 flex-1 items-center gap-2 text-left text-lg font-medium nq-text-strong`,onClick:r},[e.icon?(T(),S(`span`,{key:0,class:v([e.icon,`shrink-0 op75`])},null,2)):j(``,!0),x(`span`,we,b(e.text),1),x(`span`,{class:v([t.value?`i-carbon-chevron-down`:`i-carbon-chevron-right`,`ml-auto shrink-0 op60`])},null,2)]),a.$slots.actions?(T(),S(`div`,Te,[u(a.$slots,`actions`)])):j(``,!0)]),i(x(`div`,{class:v(n.value)},[u(a.$slots,`default`)],2),[[I,t.value]])]))}}),{__name:`AppSectionBlock`}),De=Object.assign({inheritAttrs:!1},{__name:`splitpanes`,props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1},keyboardStep:{type:Number,default:5}},emits:[`ready`,`resize`,`resized`,`pane-click`,`pane-maximize`,`pane-add`,`pane-remove`,`splitter-click`,`splitter-dblclick`,`direction-changed`],setup(t,{emit:r}){let i=r,l=t,u=s(),f=d(),m=o([]),h=k(()=>m.value.reduce((e,t)=>(e[~~t.id]=t)&&e,{})),g=k(()=>m.value.length),_=o(null),v=o(!1),b=o({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),x=o({splitter:null,timeoutId:null}),S=k(()=>({[`splitpanes splitpanes--${l.horizontal?`horizontal`:`vertical`}`]:!0,"splitpanes--dragging":b.value.dragging,"splitpanes--ready":v.value})),C=()=>{document.addEventListener(`mousemove`,O,{passive:!1}),document.addEventListener(`mouseup`,A),`ontouchstart`in window&&(document.addEventListener(`touchmove`,O,{passive:!1}),document.addEventListener(`touchend`,A))},w=()=>{document.removeEventListener(`mousemove`,O,{passive:!1}),document.removeEventListener(`mouseup`,A),`ontouchstart`in window&&(document.removeEventListener(`touchmove`,O,{passive:!1}),document.removeEventListener(`touchend`,A))},D=(e,t)=>{let n=e.target.closest(`.splitpanes__splitter`);if(n){let{left:t,top:r}=n.getBoundingClientRect(),{clientX:i,clientY:a}=`ontouchstart`in window&&e.touches?e.touches[0]:e;b.value.cursorOffset=l.horizontal?a-r:i-t}C(),b.value.mouseDown=!0,b.value.activeSplitter=t,document.documentElement.style.cursor=l.horizontal?`row-resize`:`col-resize`},O=e=>{b.value.mouseDown&&(e.preventDefault(),b.value.dragging||(window.getSelection()?.removeAllRanges(),b.value.dragging=!0),requestAnimationFrame(()=>{te(F(e)),Z(`resize`,{event:e},!0)}))},A=e=>{b.value.dragging&&(window.getSelection()?.removeAllRanges(),Z(`resized`,{event:e},!0)),b.value.mouseDown=!1,b.value.activeSplitter=null,setTimeout(()=>{b.value.dragging=!1,w(),document.documentElement.style.cursor=``},100)},j=(e,t)=>{`ontouchstart`in window&&(e.preventDefault(),x.value.splitter===t?(clearTimeout(x.value.timeoutId),x.value.timeoutId=null,M(e,t),x.value.splitter=null):(x.value.splitter=t,x.value.timeoutId=setTimeout(()=>x.value.splitter=null,500))),b.value.dragging||Z(`splitter-click`,{event:e,index:t},!0)},M=(e,t)=>{if(Z(`splitter-dblclick`,{event:e,index:t},!0),l.maximizePanes){let n=0;m.value=m.value.map((e,r)=>(e.size=r===t?e.max:e.min,r!==t&&(n+=e.min),e)),m.value[t].size-=n,Z(`pane-maximize`,{event:e,index:t,pane:m.value[t]}),Z(`resized`,{event:e,index:t},!0)}},ee=(e,t)=>{if(!l.keyboardStep)return;let n=l.horizontal?e.key===`ArrowDown`:e.key===`ArrowRight`,r=l.horizontal?e.key===`ArrowUp`:e.key===`ArrowLeft`;if(!n&&!r)return;e.preventDefault(),b.value.activeSplitter=t;let i=(n?1:-1)*(l.rtl&&!l.horizontal?-1:1),a=z(t)+m.value[t].size;L(Math.min(Math.max(a+i*l.keyboardStep,0),100)),Z(`resize`,{event:e},!0),Z(`resized`,{event:e},!0),b.value.activeSplitter=null},N=(e,t)=>{let n=h.value[t];n&&Z(`pane-click`,{event:e,index:n.index,pane:n})},F=e=>{let t=_.value.getBoundingClientRect(),{clientX:n,clientY:r}=`ontouchstart`in window&&e.touches?e.touches[0]:e;return{x:n-(l.horizontal?0:b.value.cursorOffset)-t.left,y:r-(l.horizontal?b.value.cursorOffset:0)-t.top}},I=e=>{e=e[l.horizontal?`y`:`x`];let t=_.value[l.horizontal?`clientHeight`:`clientWidth`];return l.rtl&&!l.horizontal&&(e=t-e),e*100/t},te=e=>{L(I(e))},L=e=>{let t=b.value.activeSplitter;if(t===null||t>=m.value.length-1)return;let n={prevPanesSize:z(t),nextPanesSize:B(t),prevReachedMinPanes:0,nextReachedMinPanes:0},r=0+(l.pushOtherPanes?0:n.prevPanesSize),i=100-(l.pushOtherPanes?0:n.nextPanesSize);e=Math.max(Math.min(e,i),r);let a=[t,t+1],o=m.value[a[0]]||null,s=m.value[a[1]]||null,c=o!==null&&o.max<100&&e>=o.max+n.prevPanesSize,u=s!==null&&s.max<100&&e<=100-(s.max+B(t+1));if(c||u){c?(o.size=o.max,s.size=Math.min(Math.max(100-o.max-n.prevPanesSize-n.nextPanesSize,s.min),s.max)):(o.size=Math.min(Math.max(100-s.max-n.prevPanesSize-B(t+1),o.min),o.max),s.size=s.max);return}if(l.pushOtherPanes){let t=R(n,e);if(!t)return;({sums:n,panesToResize:a}=t),o=m.value[a[0]]||null,s=m.value[a[1]]||null}o!==null&&(o.size=Math.min(Math.max(e-n.prevPanesSize-n.prevReachedMinPanes,o.min),o.max)),s!==null&&(s.size=Math.min(Math.max(100-e-n.nextPanesSize-n.nextReachedMinPanes,s.min),s.max))},R=(e,t)=>{let n=b.value.activeSplitter,r=[n,n+1];if(t<e.prevPanesSize+m.value[r[0]].min){if(r[0]=V(n).index,e.prevReachedMinPanes=0,r[0]<n&&m.value.forEach((t,i)=>{i>r[0]&&i<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),r[0]===void 0)return e.prevReachedMinPanes=0,m.value[0].size=m.value[0].min,m.value.forEach((t,r)=>{r>0&&r<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),m.value[r[1]].size=100-e.prevReachedMinPanes-m.value[0].min-e.prevPanesSize-e.nextPanesSize,null;e.prevPanesSize=z(r[0])}return t>100-e.nextPanesSize-m.value[r[1]].min&&(r[1]=H(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&m.value.forEach((t,i)=>{i>n&&i<r[1]&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),e.nextPanesSize=r[1]===void 0?0:B(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,m.value.forEach((t,r)=>{r>=n+1&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),r[0]!==void 0&&(m.value[r[0]].size=100-e.prevPanesSize-B(r[0]-1)),null):{sums:e,panesToResize:r}},z=e=>m.value.reduce((t,n,r)=>t+(r<e?n.size:0),0),B=e=>m.value.reduce((t,n,r)=>t+(r>e+1?n.size:0),0),V=e=>[...m.value].reverse().find(t=>t.index<e&&t.size>t.min)||{},H=e=>m.value.find(t=>t.index>e+1&&t.size>t.min)||{},U=()=>{let e=Array.from(_.value?.children||[]);for(let t of e){let e=t.classList.contains(`splitpanes__pane`),n=t.classList.contains(`splitpanes__splitter`);!e&&!n&&(t.remove(),console.warn(`Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.`))}},W=(e,t,n=!1)=>{let r=e-1,i=document.createElement(`div`);i.classList.add(`splitpanes__splitter`),n||(i.onmousedown=e=>D(e,r),typeof window<`u`&&`ontouchstart`in window&&(i.ontouchstart=e=>D(e,r)),i.onclick=e=>j(e,r+1),l.keyboardStep&&(i.setAttribute(`tabindex`,`0`),i.setAttribute(`role`,`separator`),i.setAttribute(`aria-orientation`,l.horizontal?`horizontal`:`vertical`),i.onkeydown=e=>ee(e,r))),i.ondblclick=e=>M(e,r+1),t.parentNode.insertBefore(i,t)},ne=e=>{e.onmousedown=null,e.onclick=null,e.ondblclick=null,e.onkeydown=null,e.remove()},G=()=>{let e=Array.from(_.value?.children||[]);for(let t of e)t.className.includes(`splitpanes__splitter`)&&ne(t);let t=0;for(let n of e)n.className.includes(`splitpanes__pane`)&&(!t&&l.firstSplitter?W(t,n,!0):t&&W(t,n),t++)},K=({uid:e,...t})=>{let n=h.value[e];for(let[e,r]of Object.entries(t))n[e]=r},q=!1,J=e=>{let t=-1;Array.from(_.value?.children||[]).some(n=>(n.className.includes(`splitpanes__pane`)&&t++,n.isSameNode(e.el))),m.value.splice(t,0,{...e,index:t}),m.value.forEach((e,t)=>e.index=t),v.value&&!q&&(q=!0,p(()=>{G(),Y({addedPane:m.value[t]}),Z(`pane-add`,{pane:m.value[t]}),q=!1}))},re=e=>{let t=m.value.findIndex(t=>t.id===e);m.value[t].el=null;let n=m.value.splice(t,1)[0];m.value.forEach((e,t)=>e.index=t),p(()=>{G(),Z(`pane-remove`,{pane:n}),Y({removedPane:{...n,index:t}})})},Y=(e={})=>{!e.addedPane&&!e.removedPane?ae():m.value.some(e=>e.givenSize!==null||e.min||e.max<100)?oe(e):ie(),v.value&&Z(`resized`)},ie=()=>{let e=100/g.value,t=100,n=[],r=[];for(let i of m.value)i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&r.push(i.id);Math.abs(t)>.1&&X(t,n,r)},ae=()=>{let e=100,t=[],n=[],r=0;for(let i of m.value)e-=i.size,i.givenSize!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id);let i=100;if(e>.1){for(let t of m.value)t.givenSize===null&&(t.size=Math.max(Math.min(e/(g.value-r),t.max),t.min)),i-=t.size;i>.1&&X(i,t,n)}},oe=({addedPane:e,removedPane:t}={})=>{let n=m.value.reduce((e,t)=>e+(t.givenSize===null?0:t.givenSize),0),r=m.value.filter(e=>e.givenSize===null).length,i=r>0?(100-n)/r:0,a=0,o=[],s=[];for(let e of m.value)a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);if(!(Math.abs(a)<.1)){a=100;for(let e of m.value)e.givenSize===null&&(e.size=Math.max(Math.min(i,e.max),e.min)),a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);Math.abs(a)>.1&&X(a,o,s)}},X=(e,t,n)=>{let r;r=e>0?e/(g.value-t.length):e/(g.value-n.length),m.value.forEach((i,a)=>{if(e>0&&!t.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}else if(!n.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}}),Math.abs(e)>.1&&v.value&&console.warn(`Splitpanes: Could not resize panes correctly due to their constraints.`)},Z=(e,t=void 0,n=!1)=>{let r=t?.index??b.value.activeSplitter??null;i(e,{...t,...r!==null&&{index:r},...n&&r!==null&&{prevPane:m.value[r-+!!l.firstSplitter],nextPane:m.value[r+ +!l.firstSplitter]},panes:m.value.map(e=>({min:e.min,max:e.max,size:e.size}))})};P(()=>l.firstSplitter,()=>G()),P(()=>l.horizontal,e=>p(()=>{i(`direction-changed`,{horizontal:e,panes:m.value.map(e=>({min:e.min,max:e.max,size:e.size}))})})),e(()=>{U(),G(),Y(),Z(`ready`),v.value=!0}),n(()=>v.value=!1);let se=()=>{let{class:e,...t}=u;return y(`div`,{ref:_,class:[S.value,e],...t},f.default?.())};return c(`panes`,m),c(`indexedPanes`,h),c(`horizontal`,k(()=>l.horizontal)),c(`requestUpdate`,K),c(`onPaneAdd`,J),c(`onPaneRemove`,re),c(`onPaneClick`,N),(e,t)=>(T(),E(a(se)))}}),Oe={__name:`pane`,props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(t){let r=t,i=f(`requestUpdate`),a=f(`onPaneAdd`),s=f(`horizontal`),c=f(`onPaneRemove`),l=f(`onPaneClick`),d=M()?.uid,p=f(`indexedPanes`),m=k(()=>p.value[d]),h=o(null),g=k(()=>{let e=isNaN(r.size)||r.size===void 0?0:parseFloat(r.size);return Math.max(Math.min(e,v.value),_.value)}),_=k(()=>{let e=parseFloat(r.minSize);return isNaN(e)?0:e}),v=k(()=>{let e=parseFloat(r.maxSize);return isNaN(e)?100:e}),y=k(()=>{let e=m.value?.size??(r.size===void 0?void 0:g.value);return e===void 0?``:`${s.value?`height`:`width`}: ${e}%`});return P(()=>g.value,e=>i({uid:d,size:e})),P(()=>_.value,e=>i({uid:d,min:e})),P(()=>v.value,e=>i({uid:d,max:e})),e(()=>{a({id:d,el:h.value,min:_.value,max:v.value,givenSize:r.size===void 0?null:g.value,size:g.value})}),n(()=>c(d)),(e,t)=>(T(),S(`div`,{ref_key:`paneEl`,ref:h,class:`splitpanes__pane`,onClick:t[0]||=t=>A(l)(t,e._.uid),style:N(y.value)},[u(e.$slots,`default`)],4))}},ke=Object.assign(_({__name:`AppSplitPane`,props:{storageKey:{},leftSize:{default:35},rightSize:{default:65},leftMinSize:{default:20},rightMinSize:{default:25}},setup(t){let n=o(t.leftSize),r=o(t.rightSize),i=o(!1);function a(e){let[t,i]=e;!t||!i||(n.value=t.size,r.value=i.size)}function s(){!t.storageKey||typeof window>`u`||localStorage.setItem(t.storageKey,JSON.stringify([n.value,r.value]))}function c(e){i.value||a(e.panes)}function l(e){a(e.panes),s()}return e(()=>{if(!t.storageKey||typeof window>`u`)return;let e=localStorage.getItem(t.storageKey);if(e)try{let t=JSON.parse(e);Array.isArray(t)&&t.length===2&&t.every(e=>typeof e==`number`&&Number.isFinite(e))&&(n.value=t[0],r.value=t[1],i.value=!0)}catch{localStorage.removeItem(t.storageKey)}}),(e,i)=>(T(),E(A(De),{class:`h-full app-split-pane`,onReady:c,onResized:l},{default:m(()=>[w(A(Oe),{size:n.value,"min-size":t.leftMinSize},{default:m(()=>[u(e.$slots,`left`)]),_:3},8,[`size`,`min-size`]),w(A(Oe),{size:r.value,"min-size":t.rightMinSize},{default:m(()=>[u(e.$slots,`right`)]),_:3},8,[`size`,`min-size`])]),_:3}))}}),{__name:`AppSplitPane`}),Ae=Object.assign(_({__name:`MutationListItem`,props:{item:{}},emits:[`click`],setup(e){return(t,n)=>(T(),S(`div`,{class:`grid gap-2 px-2 py-1.5 cursor-pointer truncate max-w-full nq-list-item`,style:{"grid-template-columns":`1em 1fr`},onClick:n[0]||=e=>t.$emit(`click`)},[x(`div`,{style:N({width:`1em`,height:`1em`,"border-radius":`10%`,"align-self":`center`,"background-color":(`getMutationBackgroundColor`in t?t.getMutationBackgroundColor:A(J))(e.item)})},null,4),x(`div`,null,b(e.item.options.mutationKey||`No mutation key provided`),1)]))}}),{__name:`MutationListItem`}),Q,$=[];function je(e){if($.push(e),!(typeof window>`u`))return window.__NUXT_DEVTOOLS__&&$.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&$.forEach(t=>t(e))},get(){return Q.value},configurable:!0}),()=>{$.splice($.indexOf(e),1)}}function Me(){Q||(Q=h(),je(t));function e(){Q&&C(Q)}function t(t){Q.value=t,t.host&&t.host.hooks.hook(`host:update:reactivity`,e)}return Q}var Ne={class:`h-full flex flex-col`},Pe={class:`flex gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},Fe={class:`grid gap-3 p-2`},Ie={key:0,class:`w-full`},Le={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Re={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},ze={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Be={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Ve={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},He={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Ue={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},We={key:1},Ge={class:`grid gap-3 p-2`},Ke={key:0,class:`w-full`},qe={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Je={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Ye={key:1},Xe=_({__name:`vue-query`,setup(e){let i=o(`query`),a=o(``),s=o([]),c=o(null),u=o([]),d=o(null),f=o(``),p=o(`key`),h=o(`asc`),_=o(`key`),v=o(`asc`),y=Me(),C=k(()=>y.value?.host?.nuxt.vueApp.config.globalProperties?.$queryClient),j=k(()=>C.value?.getQueryCache()),M=k(()=>C.value?.getMutationCache()),ee=k(()=>W(s.value?a.value?s.value.filter(e=>e.queryKey.toString().toLowerCase().includes(a.value.toLowerCase())):s.value:[],p.value,h.value)),P=k(()=>ne(u.value?f.value?u.value.filter(e=>e.options.mutationKey?.toString().toLowerCase().includes(f.value.toLowerCase())):u.value:[],_.value,v.value));function F(e){switch(e.type){case`observerResultsUpdated`:case`observerAdded`:case`observerRemoved`:case`updated`:{let t=s.value.find(t=>t.queryHash===e.query.queryHash);t&&(t.state={...e.query.state});break}case`added`:s.value.push(e.query);break;case`removed`:{let t=s.value.findIndex(t=>t.queryHash===e.query.queryHash);t!==-1&&s.value.splice(t,1),c.value?.queryHash===e.query.queryHash&&(c.value=null);break}}}function I(e){switch(e.type){case`added`:u.value.push(e.mutation);break;case`removed`:{let t=u.value.findIndex(t=>t.mutationId===e.mutation.mutationId);t!==-1&&u.value.splice(t,1),d.value?.mutationId===e.mutation.mutationId&&(d.value=null);break}case`updated`:{let t=u.value.find(t=>t.mutationId===e.mutation.mutationId);t&&(t.state={...e.mutation.state});break}}}t(()=>{if(!j.value)return;j.value.getAll().forEach(e=>{s.value.push(e)});let e=j.value.subscribe(F);n(()=>{s.value=[],j.value?.clear(),e()})}),t(()=>{if(!M.value)return;M.value.getAll().forEach(e=>{u.value.push(e)});let e=M.value.subscribe(I);n(()=>{u.value=[],M.value?.clear(),e()})});function L(e){c.value=g(e)}function R(e){d.value=g(e)}function z(e){return Object.entries(e.options).reduce((e,[t,n])=>(typeof n==`function`||t===`queryKey`||t===`queryHash`||t===`meta`||t.startsWith(`_`)||(e[t]=n),e),{})}function B(e){if(e.state.error)e.reset(),e.fetch();else{let t=Error(`Unknown error from devtools`),n=e.options;e.setState({status:`error`,error:t,fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:n}})}}function V(e){let t=e.state,n=e.state.fetchMeta?e.state.fetchMeta.__previousQueryOptions:null;e.cancel({silent:!0}),e.setState({...t,fetchStatus:`idle`,fetchMeta:null}),n&&e.fetch(n)}function H(e){if(e.state.data===void 0)V(e);else{if(!e)return;let t=e.options;e.fetch({...t,queryFn:()=>new Promise(()=>{}),gcTime:-1}),e.setState({data:void 0,status:`pending`,fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:t}})}}return(e,t)=>{let n=te,o=ae,y=se,C=he,k=xe,j=Ee,M=r(`VueJsonPretty`),F=ke,I=Ae;return T(),S(`div`,Ne,[x(`div`,Pe,[w(n,{active:A(i)===`query`,onClick:t[0]||=e=>i.value=`query`},{default:m(()=>[...t[13]||=[D(` Query Cache `,-1)]]),_:1},8,[`active`]),w(n,{active:A(i)===`mutation`,onClick:t[1]||=e=>i.value=`mutation`},{default:m(()=>[...t[14]||=[D(` Mutation Cache `,-1)]]),_:1},8,[`active`])]),A(i)===`query`?(T(),E(o,{key:0,queries:A(s)},null,8,[`queries`])):(T(),E(y,{key:1,mutations:A(u)},null,8,[`mutations`])),A(i)===`query`?(T(),E(F,{key:2,"storage-key":`tab-vue-query`},{left:m(()=>[w(C,{search:A(a),"item-label":`queries`,"total-count":A(s)?.length||0,"sort-field":A(p),"sort-direction":A(h),"onUpdate:search":t[2]||=e=>a.value=e,"onUpdate:sortField":t[3]||=e=>p.value=e,"onUpdate:sortDirection":t[4]||=e=>h.value=e},null,8,[`search`,`total-count`,`sort-field`,`sort-direction`]),(T(!0),S(O,null,l(A(ee),e=>(T(),E(k,{key:e.queryHash,item:e,onClick:t=>L(e)},null,8,[`item`,`onClick`]))),128))]),right:m(()=>[x(`div`,Fe,[A(c)?(T(),S(`div`,Ie,[w(j,{icon:`i-carbon-query`,text:`Query Overview`},{actions:m(()=>[w(n,{title:`Refetch`,"aria-label":`Refetch`,class:`self-start`,"icon-only":``,disabled:A(c).state.fetchStatus===`fetching`,onClick:t[5]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.fetch()},{icon:m(()=>[(T(),S(`svg`,Le,[...t[15]||=[x(`path`,{fill:`currentColor`,d:`m29.508 22.255l-2.078-3.74l-1.748.97l2.078 3.742a1.85 1.85 0 0 1-.023 1.853c-.34.576-.941.92-1.61.92H18.83l2.58-2.59L20 22l-5 5l5 5l1.41-1.41L18.83 28h7.298a3.83 3.83 0 0 0 3.332-1.906a3.83 3.83 0 0 0 .048-3.84zM5.873 26a1.85 1.85 0 0 1-1.61-.92a1.85 1.85 0 0 1-.022-1.853l4.11-7.4l1.049 3.52l1.912-.567L9.303 12l-6.78 2.008l.567 1.912l3.493-1.03l-4.09 7.365a3.83 3.83 0 0 0 .047 3.84A3.83 3.83 0 0 0 5.873 28H12v-2zM25.51 9.654l-1.048 3.519L19.35 3.97C18.664 2.737 17.412 2 16 2s-2.665.737-3.35 1.971L9.57 9.515l1.749.97l3.08-5.543C14.725 4.352 15.324 4 16 4s1.274.353 1.602.942l5.092 9.167l-3.494-1.03l-.566 1.913L25.414 17l2.008-6.78z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:`Invalidate`,"aria-label":`Invalidate`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[6]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.invalidate()},{icon:m(()=>[(T(),S(`svg`,Re,[...t[16]||=[x(`path`,{fill:`currentColor`,d:`M12 12h2v12h-2zm6 0h2v12h-2z`},null,-1),x(`path`,{fill:`currentColor`,d:`M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:`Reset`,"aria-label":`Reset`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[7]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.reset()},{icon:m(()=>[(T(),S(`svg`,ze,[...t[17]||=[x(`path`,{fill:`currentColor`,d:`M26 18A10 10 0 1 1 16 8h6.182l-3.584 3.585L20 13l6-6l-6-6l-1.402 1.414L22.185 6H16a12 12 0 1 0 12 12Z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:A(c).state.status===`pending`?`Restore Loading`:`Trigger Loading`,"aria-label":A(c).state.status===`pending`?`Restore Loading`:`Trigger Loading`,class:`self-start`,"icon-only":``,onClick:t[8]||=t=>H((`toRaw`in e?e.toRaw:A(g))(A(c)))},{icon:m(()=>[(T(),S(`svg`,Be,[...t[18]||=[x(`path`,{fill:`currentColor`,d:`M15 19h2v2h-2zm0 4h2v2h-2z`},null,-1),x(`path`,{fill:`currentColor`,d:`M23 11.67V4h3V2H6v2h3v7.67a2 2 0 0 0 .4 1.2L11.75 16L9.4 19.13a2 2 0 0 0-.4 1.2V28H6v2h20v-2h-3v-7.67a2 2 0 0 0-.4-1.2L20.25 16l2.35-3.13a2 2 0 0 0 .4-1.2M21 4v7H11V4Zm0 16.33V28H11v-7.67L14.25 16L12 13h8l-2.25 3Z`},null,-1)]]))]),_:1},8,[`title`,`aria-label`]),w(n,{title:A(c).state.status===`error`?`Restore Error`:`Trigger Error`,"aria-label":A(c).state.status===`error`?`Restore Error`:`Trigger Error`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[9]||=t=>B((`toRaw`in e?e.toRaw:A(g))(A(c)))},{icon:m(()=>[(T(),S(`svg`,Ve,[...t[19]||=[x(`path`,{fill:`currentColor`,d:`M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12`},null,-1),x(`path`,{fill:`currentColor`,d:`M15 8h2v11h-2zm1 14a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 22`},null,-1)]]))]),_:1},8,[`title`,`aria-label`,`disabled`])]),default:m(()=>[x(`div`,He,[t[20]||=x(`div`,null,[x(`strong`,null,`Query Key:`)],-1),x(`div`,null,b(A(c)?.queryKey),1),t[21]||=x(`div`,null,[x(`strong`,null,`Observers:`)],-1),x(`div`,null,b(A(c).observers.length),1),t[22]||=x(`div`,null,[x(`strong`,null,`Overall status:`)],-1),x(`div`,null,[x(`span`,{class:`rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5`,style:N({"background-color":`${A(K)(A(c))}`})},b(A(G)(A(c))),5)]),t[23]||=x(`div`,null,[x(`strong`,null,`Last Updated:`)],-1),x(`div`,null,b(new Date(A(c).state.dataUpdatedAt).toLocaleString()),1)])]),_:1}),w(j,{icon:`i-carbon-cube`,text:`Data Explorer`,padding:!0,open:!1},{default:m(()=>[w(M,{data:A(c).state.data,deep:2,virtual:!0,height:150},null,8,[`data`])]),_:1}),w(j,{icon:`i-carbon-query-queue`,text:`Query Details`},{default:m(()=>[x(`div`,Ue,[t[24]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,b(A(c).state.status),1),t[25]||=x(`div`,null,[x(`strong`,null,`Fetch Status:`)],-1),x(`div`,null,b(A(c).state.fetchStatus),1),t[26]||=x(`div`,null,[x(`strong`,null,`Invalidated:`)],-1),x(`div`,null,b(A(c).state.isInvalidated),1),t[27]||=x(`div`,null,[x(`strong`,null,`Update Count:`)],-1),x(`div`,null,b(A(c).state.dataUpdateCount),1),t[28]||=x(`div`,null,[x(`strong`,null,`Active:`)],-1),x(`div`,null,b(A(c).observers.length===0?`Inactive`:`Active`),1),t[29]||=x(`div`,null,[x(`strong`,null,`IsStale:`)],-1),x(`div`,null,b((`toRaw`in e?e.toRaw:A(g))(A(c))?.isStale()),1),t[30]||=x(`div`,null,[x(`strong`,null,`Disabled:`)],-1),x(`div`,null,b((`toRaw`in e?e.toRaw:A(g))(A(c))?.isDisabled()),1),t[31]||=x(`div`,null,[x(`strong`,null,`GCTime:`)],-1),x(`div`,null,b(A(c).gcTime),1),t[32]||=x(`div`,null,[x(`strong`,null,`Options:`)],-1),w(M,{data:z(A(c)),deep:2,virtual:!0,height:150},null,8,[`data`]),t[33]||=x(`div`,null,[x(`strong`,null,`Meta:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(c))?.meta,deep:2,virtual:!0,height:150},null,8,[`data`])])]),_:1})])):(T(),S(`div`,We,[...t[34]||=[x(`span`,{class:`op75`},`Select a query`,-1)]]))])]),_:1})):(T(),E(F,{key:3,"storage-key":`tab-vue-mutation`},{left:m(()=>[w(C,{search:A(f),"item-label":`mutations`,"total-count":A(u)?.length||0,"sort-field":A(_),"sort-direction":A(v),"onUpdate:search":t[10]||=e=>f.value=e,"onUpdate:sortField":t[11]||=e=>_.value=e,"onUpdate:sortDirection":t[12]||=e=>v.value=e},null,8,[`search`,`total-count`,`sort-field`,`sort-direction`]),(T(!0),S(O,null,l(A(P),e=>(T(),E(I,{key:e.mutationId,item:e,onClick:t=>R(e)},null,8,[`item`,`onClick`]))),128))]),right:m(()=>[x(`div`,Ge,[A(d)?(T(),S(`div`,Ke,[w(j,{icon:`i-carbon-status-change`,text:`Mutation Overview`},{default:m(()=>[x(`div`,qe,[t[35]||=x(`div`,null,[x(`strong`,null,`Mutation Key:`)],-1),x(`div`,null,b(A(d)?.options.mutationKey),1),t[36]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,[x(`span`,{class:`rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5`,style:N({"background-color":`${A(J)(A(d))}`})},b(A(q)(A(d))),5)]),t[37]||=x(`div`,null,[x(`strong`,null,`Submitted:`)],-1),x(`div`,null,b(new Date(A(d).state.submittedAt).toLocaleString()),1)])]),_:1}),w(j,{icon:`i-carbon-cube`,text:`Data Explorer`,padding:!0,open:!1},{default:m(()=>[w(M,{data:A(d).state.data,deep:2,virtual:!0,height:150},null,8,[`data`])]),_:1}),w(j,{icon:`i-carbon-query-queue`,text:`Mutation Details`},{default:m(()=>[x(`div`,Je,[t[38]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,b(A(d).state.status),1),t[39]||=x(`div`,null,[x(`strong`,null,`Mutation Id:`)],-1),x(`div`,null,b(A(d).mutationId),1),t[40]||=x(`div`,null,[x(`strong`,null,`IsPaused:`)],-1),x(`div`,null,b(A(d).state.isPaused),1),t[41]||=x(`div`,null,[x(`strong`,null,`Failure Count:`)],-1),x(`div`,null,b(A(d).state.failureCount),1),t[42]||=x(`div`,null,[x(`strong`,null,`Failure Reason:`)],-1),x(`div`,null,b(A(d).state.failureReason),1),t[43]||=x(`div`,null,[x(`strong`,null,`GCTime:`)],-1),x(`div`,null,b(A(d).gcTime),1),t[44]||=x(`div`,null,[x(`strong`,null,`Variables:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(d))?.state?.variables,deep:2,virtual:!0,height:150},null,8,[`data`]),t[45]||=x(`div`,null,[x(`strong`,null,`Meta:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(d))?.meta,deep:2,virtual:!0,height:150},null,8,[`data`])])]),_:1})])):(T(),S(`div`,Ye,[...t[46]||=[x(`span`,{class:`op75`},`Select a mutation`,-1)]]))])]),_:1}))])}}});export{Xe as default};
1
+ import{A as e,B as t,D as n,F as r,H as i,I as a,J as o,L as s,M as c,N as l,P as u,R as d,S as f,T as p,V as m,X as h,Z as g,_,_t as v,b as y,bt as b,c as x,d as S,et as C,h as w,j as T,l as E,m as D,r as O,s as k,tt as A,u as j,v as M,w as ee,yt as N,z as P}from"./BRoeZOof.js";import{n as F,r as I}from"#entry";var te=Object.assign(_({inheritAttrs:!1,__name:`AppButton`,props:{size:{default:`default`},active:{type:Boolean,default:!1},iconOnly:{type:Boolean,default:!1}},setup(e){let t=s(),n=k(()=>[`inline-flex items-center gap-2 rounded border transition-colors disabled:cursor-not-allowed disabled:op50`,e.size===`small`?`min-h-8 px-2 text-xs`:`min-h-9 px-3 text-sm`,e.iconOnly?`justify-center px-2`:`justify-center`,e.active?`nq-button-active`:`nq-button`,t.class]);return(e,r)=>(T(),S(`button`,ee(A(t),{type:`button`,class:n.value}),[u(e.$slots,`icon`),u(e.$slots,`default`)],16))}}),{__name:`AppButton`}),L={fetching:0,paused:1,stale:2,fresh:3,inactive:4},R={Loading:0,Success:1,Error:2,Paused:3,Idle:4};function z(e,t){return e.localeCompare(t)}function B(e,t){return e-t}function V(e,t){return t===`desc`?-e:e}function H(e){return e.queryKey?.toString().toLowerCase()||``}function U(e){return e.options.mutationKey?.toString().toLowerCase()||``}function W(e,t,n){return e.map((e,t)=>({query:e,index:t})).sort((e,r)=>{let i=e.query,a=r.query,o;if(t===`status`){let e=G(i),t=G(a);o=B(L[e]??2**53-1,L[t]??2**53-1)}else o=t===`key`?z(H(i),H(a)):B(i.state.dataUpdatedAt||0,a.state.dataUpdatedAt||0);return o===0?(o=z(i.queryHash,a.queryHash),o===0?B(e.index,r.index):o):V(o,n)}).map(e=>e.query)}function ne(e,t,n){return e.map((e,t)=>({mutation:e,index:t})).sort((e,r)=>{let i=e.mutation,a=r.mutation,o;if(t===`status`){let e=q(i),t=q(a);o=B(R[e]??2**53-1,R[t]??2**53-1)}else o=t===`key`?z(U(i),U(a)):B(i.state.submittedAt||0,a.state.submittedAt||0);return o===0?(o=B(i.mutationId,a.mutationId),o===0?B(e.index,r.index):o):V(o,n)}).map(e=>e.mutation)}function G(e){return e.state.fetchStatus===`fetching`?`fetching`:e.observers.length<1?`inactive`:e.state.fetchStatus===`paused`?`paused`:g(e)?.isStale()?`stale`:`fresh`}function K(e){return e.state.fetchStatus===`fetching`?`blue`:e.observers.length<1?`gray`:e.state.fetchStatus===`paused`?`purple`:g(e)?.isStale()?`orange`:`green`}function q(e){let{status:t}=e.state;return e.state.isPaused?`Paused`:t===`error`?`Error`:t===`pending`?`Loading`:t===`success`?`Success`:`Idle`}function J(e){let{status:t}=e.state;return e.state.isPaused?`purple`:t===`error`?`red`:t===`pending`?`yellow`:t===`success`?`green`:`gray`}var re={class:`flex flex-wrap gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},Y={class:`op75`},ie={class:`font-mono`,style:{color:`var(--nq-text-muted)`}},ae=Object.assign(_({__name:`QueryCacheSummary`,props:{queries:{}},setup(e){let t=e,n=[{key:`fetching`,label:`Fetching`},{key:`stale`,label:`Stale`},{key:`fresh`,label:`Fresh`},{key:`inactive`,label:`Inactive`},{key:`paused`,label:`Paused`}],r={fetching:`blue`,inactive:`gray`,paused:`purple`,stale:`orange`,fresh:`green`},i=k(()=>t.queries.reduce((e,t)=>{let n=G(t);return e[n]+=1,e},{fetching:0,inactive:0,paused:0,stale:0,fresh:0}));function a(e){let n=t.queries.find(t=>G(t)===e);return n?K(n):r[e]}return(e,t)=>(T(),S(`div`,re,[(T(),S(O,null,l(n,e=>x(`div`,{key:e.key,class:`inline-flex items-center gap-2 rounded px-2 py-2 text-xs`,style:{"background-color":`var(--nq-surface-muted)`}},[x(`span`,{style:N({width:`0.75em`,height:`0.75em`,"border-radius":`2px`,"background-color":a(e.key)})},null,4),x(`span`,Y,b(e.label),1),x(`span`,ie,b(i.value[e.key]),1)])),64))]))}}),{__name:`QueryCacheSummary`}),oe={class:`flex flex-wrap gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},X={class:`op75`},Z={class:`font-mono`,style:{color:`var(--nq-text-muted)`}},se=Object.assign(_({__name:`MutationCacheSummary`,props:{mutations:{}},setup(e){let t=e,n=[{key:`Loading`,label:`Loading`},{key:`Success`,label:`Success`},{key:`Error`,label:`Error`},{key:`Paused`,label:`Paused`},{key:`Idle`,label:`Idle`}],r={Paused:`purple`,Error:`red`,Loading:`yellow`,Success:`green`,Idle:`gray`},i=k(()=>t.mutations.reduce((e,t)=>{let n=q(t);return e[n]+=1,e},{Paused:0,Error:0,Loading:0,Success:0,Idle:0}));function a(e){let n=t.mutations.find(t=>q(t)===e);return n?J(n):r[e]}return(e,t)=>(T(),S(`div`,oe,[(T(),S(O,null,l(n,e=>x(`div`,{key:e.key,class:`inline-flex items-center gap-2 rounded px-2 py-1 text-xs`,style:{"background-color":`var(--nq-surface-muted)`}},[x(`span`,{style:N({width:`0.75em`,height:`0.75em`,"border-radius":`2px`,"background-color":a(e.key)})},null,4),x(`span`,X,b(e.label),1),x(`span`,Z,b(i.value[e.key]),1)])),64))]))}}),{__name:`MutationCacheSummary`}),ce={class:`grid gap-2 p-2 b-b-1`,style:{"border-color":`var(--nq-border-strong)`}},le={class:`grid items-center gap-2 grid-cols-[minmax(7em,1fr)_auto]`},ue={class:`flex min-w-16 items-center gap-2 rounded pl-2`,style:{border:`1px solid var(--nq-border-strong)`,"background-color":`var(--nq-surface-muted)`}},de={class:`grid items-center gap-2 grid-cols-[auto_auto_auto]`},fe=[`value`],pe={class:`text-sm`},me={op50:``},he=Object.assign(_({__name:`FilterSortControls`,props:{search:{},totalCount:{},itemLabel:{},sortField:{},sortDirection:{}},emits:[`update:search`,`update:sortField`,`update:sortDirection`],setup(e,{emit:t}){let n=e,r=t,a=k({get:()=>n.search,set:e=>r(`update:search`,e)});function o(){r(`update:sortDirection`,n.sortDirection===`asc`?`desc`:`asc`)}return(t,n)=>{let s=te;return T(),S(`div`,ce,[x(`div`,le,[x(`div`,ue,[n[2]||=x(`span`,{class:`i-carbon-search h-4 w-4 shrink-0 op50`},null,-1),i(x(`input`,{"onUpdate:modelValue":n[0]||=e=>a.value=e,type:`text`,class:`block min-w-0 flex-1 appearance-none border-0 bg-transparent px-0 py-2 text-sm outline-none`,placeholder:`Search...`,"aria-label":`Search`},null,512),[[F,a.value]])]),x(`div`,de,[n[4]||=x(`label`,{class:`text-xs op75`,for:`sort-field`},` Sort `,-1),x(`select`,{id:`sort-field`,class:`rounded px-2 text-xs min-w-16 h-8`,value:e.sortField,onChange:n[1]||=e=>r(`update:sortField`,e.target.value)},[...n[3]||=[x(`option`,{value:`status`},` Status `,-1),x(`option`,{value:`key`},` Key `,-1),x(`option`,{value:`date`},` Date/Time `,-1)]],40,fe),w(s,{size:`small`,class:`w-auto`,title:e.sortDirection===`asc`?`Ascending`:`Descending`,onClick:o},{default:m(()=>[D(b(e.sortDirection===`asc`?`ASC`:`DESC`),1)]),_:1},8,[`title`])])]),x(`div`,pe,[x(`span`,me,b(e.totalCount)+` `+b(e.itemLabel)+` in total`,1)])])}}}),{__name:`FilterSortControls`}),ge={class:`grid gap-2 px-2 py-0.5 cursor-pointer truncate max-w-full nq-list-item`,style:{"grid-template-columns":`1em 1fr auto auto auto`}},_e={class:`truncate`},ve={class:`text-right`},ye={class:`text-right`},be={class:`text-right`},xe=Object.assign(_({__name:`QueryListItem`,props:{item:{},index:{}},setup(e){return(t,n)=>(T(),S(`div`,ge,[x(`div`,{style:N({width:`1em`,height:`1em`,"border-radius":`10%`,"align-self":`center`,"background-color":(`getQueryBackgroundColor`in t?t.getQueryBackgroundColor:A(K))(e.item)})},null,4),x(`div`,_e,b(e.item.queryKey),1),x(`div`,ve,[x(`div`,{class:v({"i-carbon-play-outline-filled text-green":e.item.state.fetchStatus===`fetching`,"i-carbon-pause-outline-filled text-gray":e.item.state.fetchStatus===`paused`,"i-carbon-navaid-helipad text-blue":e.item.state.fetchStatus===`idle`})},null,2)]),x(`div`,ye,[x(`div`,{class:v({"i-carbon-checkmark-filled text-green":e.item.state.status===`success`,"i-carbon-error-filled text-red":e.item.state.status===`error`,"i-carbon-help-filled text-gray":e.item.state.status===`pending`})},null,2)]),x(`div`,be,[x(`div`,{class:v({"i-carbon-view-off-filled text-gray":e.item.observers.length===0,"i-carbon-view-filled text-blue":e.item.observers.length!==0})},null,2)])]))}}),{__name:`QueryListItem`}),Se={class:`nq-section-block border rounded overflow-hidden`},Ce={class:`nq-section-block-header flex items-center gap-2 px-3 py-2 border-b`},we={class:`truncate`},Te={key:0,class:`flex items-center gap-2`},Ee=Object.assign(_({__name:`AppSectionBlock`,props:{icon:{},text:{},open:{type:Boolean,default:!0},padding:{type:Boolean,default:!1}},setup(e){let t=o(e.open);P(()=>e.open,e=>{t.value=e});let n=k(()=>e.padding?`px-2 py-2`:``);function r(){t.value=!t.value}return(a,o)=>(T(),S(`section`,Se,[x(`div`,Ce,[x(`button`,{type:`button`,class:`flex min-w-0 flex-1 items-center gap-2 text-left text-lg font-medium nq-text-strong`,onClick:r},[e.icon?(T(),S(`span`,{key:0,class:v([e.icon,`shrink-0 op75`])},null,2)):j(``,!0),x(`span`,we,b(e.text),1),x(`span`,{class:v([t.value?`i-carbon-chevron-down`:`i-carbon-chevron-right`,`ml-auto shrink-0 op60`])},null,2)]),a.$slots.actions?(T(),S(`div`,Te,[u(a.$slots,`actions`)])):j(``,!0)]),i(x(`div`,{class:v(n.value)},[u(a.$slots,`default`)],2),[[I,t.value]])]))}}),{__name:`AppSectionBlock`}),De=Object.assign({inheritAttrs:!1},{__name:`splitpanes`,props:{horizontal:{type:Boolean,default:!1},pushOtherPanes:{type:Boolean,default:!0},maximizePanes:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean,default:!1},keyboardStep:{type:Number,default:5}},emits:[`ready`,`resize`,`resized`,`pane-click`,`pane-maximize`,`pane-add`,`pane-remove`,`splitter-click`,`splitter-dblclick`,`direction-changed`],setup(t,{emit:r}){let i=r,l=t,u=s(),f=d(),m=o([]),h=k(()=>m.value.reduce((e,t)=>(e[~~t.id]=t)&&e,{})),g=k(()=>m.value.length),_=o(null),v=o(!1),b=o({mouseDown:!1,dragging:!1,activeSplitter:null,cursorOffset:0}),x=o({splitter:null,timeoutId:null}),S=k(()=>({[`splitpanes splitpanes--${l.horizontal?`horizontal`:`vertical`}`]:!0,"splitpanes--dragging":b.value.dragging,"splitpanes--ready":v.value})),C=()=>{document.addEventListener(`mousemove`,O,{passive:!1}),document.addEventListener(`mouseup`,A),`ontouchstart`in window&&(document.addEventListener(`touchmove`,O,{passive:!1}),document.addEventListener(`touchend`,A))},w=()=>{document.removeEventListener(`mousemove`,O,{passive:!1}),document.removeEventListener(`mouseup`,A),`ontouchstart`in window&&(document.removeEventListener(`touchmove`,O,{passive:!1}),document.removeEventListener(`touchend`,A))},D=(e,t)=>{let n=e.target.closest(`.splitpanes__splitter`);if(n){let{left:t,top:r}=n.getBoundingClientRect(),{clientX:i,clientY:a}=`ontouchstart`in window&&e.touches?e.touches[0]:e;b.value.cursorOffset=l.horizontal?a-r:i-t}C(),b.value.mouseDown=!0,b.value.activeSplitter=t,document.documentElement.style.cursor=l.horizontal?`row-resize`:`col-resize`},O=e=>{b.value.mouseDown&&(e.preventDefault(),b.value.dragging||(window.getSelection()?.removeAllRanges(),b.value.dragging=!0),requestAnimationFrame(()=>{te(F(e)),Z(`resize`,{event:e},!0)}))},A=e=>{b.value.dragging&&(window.getSelection()?.removeAllRanges(),Z(`resized`,{event:e},!0)),b.value.mouseDown=!1,b.value.activeSplitter=null,setTimeout(()=>{b.value.dragging=!1,w(),document.documentElement.style.cursor=``},100)},j=(e,t)=>{`ontouchstart`in window&&(e.preventDefault(),x.value.splitter===t?(clearTimeout(x.value.timeoutId),x.value.timeoutId=null,M(e,t),x.value.splitter=null):(x.value.splitter=t,x.value.timeoutId=setTimeout(()=>x.value.splitter=null,500))),b.value.dragging||Z(`splitter-click`,{event:e,index:t},!0)},M=(e,t)=>{if(Z(`splitter-dblclick`,{event:e,index:t},!0),l.maximizePanes){let n=0;m.value=m.value.map((e,r)=>(e.size=r===t?e.max:e.min,r!==t&&(n+=e.min),e)),m.value[t].size-=n,Z(`pane-maximize`,{event:e,index:t,pane:m.value[t]}),Z(`resized`,{event:e,index:t},!0)}},ee=(e,t)=>{if(!l.keyboardStep)return;let n=l.horizontal?e.key===`ArrowDown`:e.key===`ArrowRight`,r=l.horizontal?e.key===`ArrowUp`:e.key===`ArrowLeft`;if(!n&&!r)return;e.preventDefault(),b.value.activeSplitter=t;let i=(n?1:-1)*(l.rtl&&!l.horizontal?-1:1),a=z(t)+m.value[t].size;L(Math.min(Math.max(a+i*l.keyboardStep,0),100)),Z(`resize`,{event:e},!0),Z(`resized`,{event:e},!0),b.value.activeSplitter=null},N=(e,t)=>{let n=h.value[t];n&&Z(`pane-click`,{event:e,index:n.index,pane:n})},F=e=>{let t=_.value.getBoundingClientRect(),{clientX:n,clientY:r}=`ontouchstart`in window&&e.touches?e.touches[0]:e;return{x:n-(l.horizontal?0:b.value.cursorOffset)-t.left,y:r-(l.horizontal?b.value.cursorOffset:0)-t.top}},I=e=>{e=e[l.horizontal?`y`:`x`];let t=_.value[l.horizontal?`clientHeight`:`clientWidth`];return l.rtl&&!l.horizontal&&(e=t-e),e*100/t},te=e=>{L(I(e))},L=e=>{let t=b.value.activeSplitter;if(t===null||t>=m.value.length-1)return;let n={prevPanesSize:z(t),nextPanesSize:B(t),prevReachedMinPanes:0,nextReachedMinPanes:0},r=0+(l.pushOtherPanes?0:n.prevPanesSize),i=100-(l.pushOtherPanes?0:n.nextPanesSize);e=Math.max(Math.min(e,i),r);let a=[t,t+1],o=m.value[a[0]]||null,s=m.value[a[1]]||null,c=o!==null&&o.max<100&&e>=o.max+n.prevPanesSize,u=s!==null&&s.max<100&&e<=100-(s.max+B(t+1));if(c||u){c?(o.size=o.max,s.size=Math.min(Math.max(100-o.max-n.prevPanesSize-n.nextPanesSize,s.min),s.max)):(o.size=Math.min(Math.max(100-s.max-n.prevPanesSize-B(t+1),o.min),o.max),s.size=s.max);return}if(l.pushOtherPanes){let t=R(n,e);if(!t)return;({sums:n,panesToResize:a}=t),o=m.value[a[0]]||null,s=m.value[a[1]]||null}o!==null&&(o.size=Math.min(Math.max(e-n.prevPanesSize-n.prevReachedMinPanes,o.min),o.max)),s!==null&&(s.size=Math.min(Math.max(100-e-n.nextPanesSize-n.nextReachedMinPanes,s.min),s.max))},R=(e,t)=>{let n=b.value.activeSplitter,r=[n,n+1];if(t<e.prevPanesSize+m.value[r[0]].min){if(r[0]=V(n).index,e.prevReachedMinPanes=0,r[0]<n&&m.value.forEach((t,i)=>{i>r[0]&&i<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),r[0]===void 0)return e.prevReachedMinPanes=0,m.value[0].size=m.value[0].min,m.value.forEach((t,r)=>{r>0&&r<=n&&(t.size=t.min,e.prevReachedMinPanes+=t.min)}),m.value[r[1]].size=100-e.prevReachedMinPanes-m.value[0].min-e.prevPanesSize-e.nextPanesSize,null;e.prevPanesSize=z(r[0])}return t>100-e.nextPanesSize-m.value[r[1]].min&&(r[1]=H(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&m.value.forEach((t,i)=>{i>n&&i<r[1]&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),e.nextPanesSize=r[1]===void 0?0:B(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,m.value.forEach((t,r)=>{r>=n+1&&(t.size=t.min,e.nextReachedMinPanes+=t.min)}),r[0]!==void 0&&(m.value[r[0]].size=100-e.prevPanesSize-B(r[0]-1)),null):{sums:e,panesToResize:r}},z=e=>m.value.reduce((t,n,r)=>t+(r<e?n.size:0),0),B=e=>m.value.reduce((t,n,r)=>t+(r>e+1?n.size:0),0),V=e=>[...m.value].reverse().find(t=>t.index<e&&t.size>t.min)||{},H=e=>m.value.find(t=>t.index>e+1&&t.size>t.min)||{},U=()=>{let e=Array.from(_.value?.children||[]);for(let t of e){let e=t.classList.contains(`splitpanes__pane`),n=t.classList.contains(`splitpanes__splitter`);!e&&!n&&(t.remove(),console.warn(`Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed.`))}},W=(e,t,n=!1)=>{let r=e-1,i=document.createElement(`div`);i.classList.add(`splitpanes__splitter`),n||(i.onmousedown=e=>D(e,r),typeof window<`u`&&`ontouchstart`in window&&(i.ontouchstart=e=>D(e,r)),i.onclick=e=>j(e,r+1),l.keyboardStep&&(i.setAttribute(`tabindex`,`0`),i.setAttribute(`role`,`separator`),i.setAttribute(`aria-orientation`,l.horizontal?`horizontal`:`vertical`),i.onkeydown=e=>ee(e,r))),i.ondblclick=e=>M(e,r+1),t.parentNode.insertBefore(i,t)},ne=e=>{e.onmousedown=null,e.onclick=null,e.ondblclick=null,e.onkeydown=null,e.remove()},G=()=>{let e=Array.from(_.value?.children||[]);for(let t of e)t.className.includes(`splitpanes__splitter`)&&ne(t);let t=0;for(let n of e)n.className.includes(`splitpanes__pane`)&&(!t&&l.firstSplitter?W(t,n,!0):t&&W(t,n),t++)},K=({uid:e,...t})=>{let n=h.value[e];for(let[e,r]of Object.entries(t))n[e]=r},q=!1,J=e=>{let t=-1;Array.from(_.value?.children||[]).some(n=>(n.className.includes(`splitpanes__pane`)&&t++,n.isSameNode(e.el))),m.value.splice(t,0,{...e,index:t}),m.value.forEach((e,t)=>e.index=t),v.value&&!q&&(q=!0,p(()=>{G(),Y({addedPane:m.value[t]}),Z(`pane-add`,{pane:m.value[t]}),q=!1}))},re=e=>{let t=m.value.findIndex(t=>t.id===e);m.value[t].el=null;let n=m.value.splice(t,1)[0];m.value.forEach((e,t)=>e.index=t),p(()=>{G(),Z(`pane-remove`,{pane:n}),Y({removedPane:{...n,index:t}})})},Y=(e={})=>{!e.addedPane&&!e.removedPane?ae():m.value.some(e=>e.givenSize!==null||e.min||e.max<100)?oe(e):ie(),v.value&&Z(`resized`)},ie=()=>{let e=100/g.value,t=100,n=[],r=[];for(let i of m.value)i.size=Math.max(Math.min(e,i.max),i.min),t-=i.size,i.size>=i.max&&n.push(i.id),i.size<=i.min&&r.push(i.id);Math.abs(t)>.1&&X(t,n,r)},ae=()=>{let e=100,t=[],n=[],r=0;for(let i of m.value)e-=i.size,i.givenSize!==null&&r++,i.size>=i.max&&t.push(i.id),i.size<=i.min&&n.push(i.id);let i=100;if(e>.1){for(let t of m.value)t.givenSize===null&&(t.size=Math.max(Math.min(e/(g.value-r),t.max),t.min)),i-=t.size;i>.1&&X(i,t,n)}},oe=({addedPane:e,removedPane:t}={})=>{let n=m.value.reduce((e,t)=>e+(t.givenSize===null?0:t.givenSize),0),r=m.value.filter(e=>e.givenSize===null).length,i=r>0?(100-n)/r:0,a=0,o=[],s=[];for(let e of m.value)a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);if(!(Math.abs(a)<.1)){a=100;for(let e of m.value)e.givenSize===null&&(e.size=Math.max(Math.min(i,e.max),e.min)),a-=e.size,e.size>=e.max&&o.push(e.id),e.size<=e.min&&s.push(e.id);Math.abs(a)>.1&&X(a,o,s)}},X=(e,t,n)=>{let r;r=e>0?e/(g.value-t.length):e/(g.value-n.length),m.value.forEach((i,a)=>{if(e>0&&!t.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}else if(!n.includes(i.id)){let t=Math.max(Math.min(i.size+r,i.max),i.min),n=t-i.size;e-=n,i.size=t}}),Math.abs(e)>.1&&v.value&&console.warn(`Splitpanes: Could not resize panes correctly due to their constraints.`)},Z=(e,t=void 0,n=!1)=>{let r=t?.index??b.value.activeSplitter??null;i(e,{...t,...r!==null&&{index:r},...n&&r!==null&&{prevPane:m.value[r-+!!l.firstSplitter],nextPane:m.value[r+ +!l.firstSplitter]},panes:m.value.map(e=>({min:e.min,max:e.max,size:e.size}))})};P(()=>l.firstSplitter,()=>G()),P(()=>l.horizontal,e=>p(()=>{i(`direction-changed`,{horizontal:e,panes:m.value.map(e=>({min:e.min,max:e.max,size:e.size}))})})),e(()=>{U(),G(),Y(),Z(`ready`),v.value=!0}),n(()=>v.value=!1);let se=()=>{let{class:e,...t}=u;return y(`div`,{ref:_,class:[S.value,e],...t},f.default?.())};return c(`panes`,m),c(`indexedPanes`,h),c(`horizontal`,k(()=>l.horizontal)),c(`requestUpdate`,K),c(`onPaneAdd`,J),c(`onPaneRemove`,re),c(`onPaneClick`,N),(e,t)=>(T(),E(a(se)))}}),Oe={__name:`pane`,props:{size:{type:[Number,String]},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},setup(t){let r=t,i=f(`requestUpdate`),a=f(`onPaneAdd`),s=f(`horizontal`),c=f(`onPaneRemove`),l=f(`onPaneClick`),d=M()?.uid,p=f(`indexedPanes`),m=k(()=>p.value[d]),h=o(null),g=k(()=>{let e=isNaN(r.size)||r.size===void 0?0:parseFloat(r.size);return Math.max(Math.min(e,v.value),_.value)}),_=k(()=>{let e=parseFloat(r.minSize);return isNaN(e)?0:e}),v=k(()=>{let e=parseFloat(r.maxSize);return isNaN(e)?100:e}),y=k(()=>{let e=m.value?.size??(r.size===void 0?void 0:g.value);return e===void 0?``:`${s.value?`height`:`width`}: ${e}%`});return P(()=>g.value,e=>i({uid:d,size:e})),P(()=>_.value,e=>i({uid:d,min:e})),P(()=>v.value,e=>i({uid:d,max:e})),e(()=>{a({id:d,el:h.value,min:_.value,max:v.value,givenSize:r.size===void 0?null:g.value,size:g.value})}),n(()=>c(d)),(e,t)=>(T(),S(`div`,{ref_key:`paneEl`,ref:h,class:`splitpanes__pane`,onClick:t[0]||=t=>A(l)(t,e._.uid),style:N(y.value)},[u(e.$slots,`default`)],4))}},ke=Object.assign(_({__name:`AppSplitPane`,props:{storageKey:{},leftSize:{default:35},rightSize:{default:65},leftMinSize:{default:20},rightMinSize:{default:25}},setup(t){let n=o(t.leftSize),r=o(t.rightSize),i=o(!1);function a(e){let[t,i]=e;t&&i&&(n.value=t.size,r.value=i.size)}function s(){t.storageKey&&typeof window<`u`&&localStorage.setItem(t.storageKey,JSON.stringify([n.value,r.value]))}function c(e){i.value||a(e.panes)}function l(e){a(e.panes),s()}return e(()=>{if(!t.storageKey||typeof window>`u`)return;let e=localStorage.getItem(t.storageKey);if(e)try{let t=JSON.parse(e);Array.isArray(t)&&t.length===2&&t.every(e=>typeof e==`number`&&Number.isFinite(e))&&(n.value=t[0],r.value=t[1],i.value=!0)}catch{localStorage.removeItem(t.storageKey)}}),(e,i)=>(T(),E(A(De),{class:`h-full app-split-pane`,onReady:c,onResized:l},{default:m(()=>[w(A(Oe),{size:n.value,"min-size":t.leftMinSize},{default:m(()=>[u(e.$slots,`left`)]),_:3},8,[`size`,`min-size`]),w(A(Oe),{size:r.value,"min-size":t.rightMinSize},{default:m(()=>[u(e.$slots,`right`)]),_:3},8,[`size`,`min-size`])]),_:3}))}}),{__name:`AppSplitPane`}),Ae=Object.assign(_({__name:`MutationListItem`,props:{item:{}},emits:[`click`],setup(e){return(t,n)=>(T(),S(`div`,{class:`grid gap-2 px-2 py-1.5 cursor-pointer truncate max-w-full nq-list-item`,style:{"grid-template-columns":`1em 1fr`},onClick:n[0]||=e=>t.$emit(`click`)},[x(`div`,{style:N({width:`1em`,height:`1em`,"border-radius":`10%`,"align-self":`center`,"background-color":(`getMutationBackgroundColor`in t?t.getMutationBackgroundColor:A(J))(e.item)})},null,4),x(`div`,null,b(e.item.options.mutationKey||`No mutation key provided`),1)]))}}),{__name:`MutationListItem`}),Q,$=[];function je(e){if($.push(e),typeof window<`u`)return window.__NUXT_DEVTOOLS__&&$.forEach(e=>e(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(e){e&&$.forEach(t=>t(e))},get(){return Q.value},configurable:!0}),()=>{$.splice($.indexOf(e),1)}}function Me(){Q||(Q=h(),je(t));function e(){Q&&C(Q)}function t(t){Q.value=t,t.host&&t.host.hooks.hook(`host:update:reactivity`,e)}return Q}var Ne={class:`h-full flex flex-col`},Pe={class:`flex gap-2 p-2`,style:{"border-bottom":`1px solid var(--nq-border-strong)`}},Fe={class:`grid gap-3 p-2`},Ie={key:0,class:`w-full`},Le={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Re={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},ze={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Be={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},Ve={xmlns:`http://www.w3.org/2000/svg`,width:`32`,height:`32`,viewBox:`0 0 32 32`,style:{display:`block`,width:`24px`,"min-width":`24px`,height:`24px`,flex:`none`}},He={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Ue={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},We={key:1},Ge={class:`grid gap-3 p-2`},Ke={key:0,class:`w-full`},qe={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Je={class:`grid grid-cols-[auto_1fr] gap-1 px-2 py-2`},Ye={key:1},Xe=_({__name:`vue-query`,setup(e){let i=o(`query`),a=o(``),s=o([]),c=o(null),u=o([]),d=o(null),f=o(``),p=o(`key`),h=o(`asc`),_=o(`key`),v=o(`asc`),y=Me(),C=k(()=>y.value?.host?.nuxt.vueApp.config.globalProperties?.$queryClient),j=k(()=>C.value?.getQueryCache()),M=k(()=>C.value?.getMutationCache()),ee=k(()=>W(s.value?a.value?s.value.filter(e=>e.queryKey.toString().toLowerCase().includes(a.value.toLowerCase())):s.value:[],p.value,h.value)),P=k(()=>ne(u.value?f.value?u.value.filter(e=>e.options.mutationKey?.toString().toLowerCase().includes(f.value.toLowerCase())):u.value:[],_.value,v.value));function F(e){switch(e.type){case`observerResultsUpdated`:case`observerAdded`:case`observerRemoved`:case`updated`:{let t=s.value.find(t=>t.queryHash===e.query.queryHash);t&&(t.state={...e.query.state});break}case`added`:s.value.push(e.query);break;case`removed`:{let t=s.value.findIndex(t=>t.queryHash===e.query.queryHash);t!==-1&&s.value.splice(t,1),c.value?.queryHash===e.query.queryHash&&(c.value=null);break}}}function I(e){switch(e.type){case`added`:u.value.push(e.mutation);break;case`removed`:{let t=u.value.findIndex(t=>t.mutationId===e.mutation.mutationId);t!==-1&&u.value.splice(t,1),d.value?.mutationId===e.mutation.mutationId&&(d.value=null);break}case`updated`:{let t=u.value.find(t=>t.mutationId===e.mutation.mutationId);t&&(t.state={...e.mutation.state});break}}}t(()=>{if(!j.value)return;j.value.getAll().forEach(e=>{s.value.push(e)});let e=j.value.subscribe(F);n(()=>{s.value=[],j.value?.clear(),e()})}),t(()=>{if(!M.value)return;M.value.getAll().forEach(e=>{u.value.push(e)});let e=M.value.subscribe(I);n(()=>{u.value=[],M.value?.clear(),e()})});function L(e){c.value=g(e)}function R(e){d.value=g(e)}function z(e){return Object.entries(e.options).reduce((e,[t,n])=>(typeof n==`function`||t===`queryKey`||t===`queryHash`||t===`meta`||t.startsWith(`_`)||(e[t]=n),e),{})}function B(e){if(e.state.error)e.reset(),e.fetch();else{let t=Error(`Unknown error from devtools`),n=e.options;e.setState({status:`error`,error:t,fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:n}})}}function V(e){let t=e.state,n=e.state.fetchMeta?e.state.fetchMeta.__previousQueryOptions:null;e.cancel({silent:!0}),e.setState({...t,fetchStatus:`idle`,fetchMeta:null}),n&&e.fetch(n)}function H(e){if(e.state.data===void 0)V(e);else{if(!e)return;let t=e.options;e.fetch({...t,queryFn:()=>new Promise(()=>{}),gcTime:-1}),e.setState({data:void 0,status:`pending`,fetchMeta:{...e.state.fetchMeta,__previousQueryOptions:t}})}}return(e,t)=>{let n=te,o=ae,y=se,C=he,k=xe,j=Ee,M=r(`VueJsonPretty`),F=ke,I=Ae;return T(),S(`div`,Ne,[x(`div`,Pe,[w(n,{active:A(i)===`query`,onClick:t[0]||=e=>i.value=`query`},{default:m(()=>[...t[13]||=[D(` Query Cache `,-1)]]),_:1},8,[`active`]),w(n,{active:A(i)===`mutation`,onClick:t[1]||=e=>i.value=`mutation`},{default:m(()=>[...t[14]||=[D(` Mutation Cache `,-1)]]),_:1},8,[`active`])]),A(i)===`query`?(T(),E(o,{key:0,queries:A(s)},null,8,[`queries`])):(T(),E(y,{key:1,mutations:A(u)},null,8,[`mutations`])),A(i)===`query`?(T(),E(F,{key:2,"storage-key":`tab-vue-query`},{left:m(()=>[w(C,{search:A(a),"item-label":`queries`,"total-count":A(s)?.length||0,"sort-field":A(p),"sort-direction":A(h),"onUpdate:search":t[2]||=e=>a.value=e,"onUpdate:sortField":t[3]||=e=>p.value=e,"onUpdate:sortDirection":t[4]||=e=>h.value=e},null,8,[`search`,`total-count`,`sort-field`,`sort-direction`]),(T(!0),S(O,null,l(A(ee),e=>(T(),E(k,{key:e.queryHash,item:e,onClick:t=>L(e)},null,8,[`item`,`onClick`]))),128))]),right:m(()=>[x(`div`,Fe,[A(c)?(T(),S(`div`,Ie,[w(j,{icon:`i-carbon-query`,text:`Query Overview`},{actions:m(()=>[w(n,{title:`Refetch`,"aria-label":`Refetch`,class:`self-start`,"icon-only":``,disabled:A(c).state.fetchStatus===`fetching`,onClick:t[5]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.fetch()},{icon:m(()=>[(T(),S(`svg`,Le,[...t[15]||=[x(`path`,{fill:`currentColor`,d:`m29.508 22.255l-2.078-3.74l-1.748.97l2.078 3.742a1.85 1.85 0 0 1-.023 1.853c-.34.576-.941.92-1.61.92H18.83l2.58-2.59L20 22l-5 5l5 5l1.41-1.41L18.83 28h7.298a3.83 3.83 0 0 0 3.332-1.906a3.83 3.83 0 0 0 .048-3.84zM5.873 26a1.85 1.85 0 0 1-1.61-.92a1.85 1.85 0 0 1-.022-1.853l4.11-7.4l1.049 3.52l1.912-.567L9.303 12l-6.78 2.008l.567 1.912l3.493-1.03l-4.09 7.365a3.83 3.83 0 0 0 .047 3.84A3.83 3.83 0 0 0 5.873 28H12v-2zM25.51 9.654l-1.048 3.519L19.35 3.97C18.664 2.737 17.412 2 16 2s-2.665.737-3.35 1.971L9.57 9.515l1.749.97l3.08-5.543C14.725 4.352 15.324 4 16 4s1.274.353 1.602.942l5.092 9.167l-3.494-1.03l-.566 1.913L25.414 17l2.008-6.78z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:`Invalidate`,"aria-label":`Invalidate`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[6]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.invalidate()},{icon:m(()=>[(T(),S(`svg`,Re,[...t[16]||=[x(`path`,{fill:`currentColor`,d:`M12 12h2v12h-2zm6 0h2v12h-2z`},null,-1),x(`path`,{fill:`currentColor`,d:`M4 6v2h2v20a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h2V6zm4 22V8h16v20zm4-26h8v2h-8z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:`Reset`,"aria-label":`Reset`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[7]||=t=>(`toRaw`in e?e.toRaw:A(g))(A(c))?.reset()},{icon:m(()=>[(T(),S(`svg`,ze,[...t[17]||=[x(`path`,{fill:`currentColor`,d:`M26 18A10 10 0 1 1 16 8h6.182l-3.584 3.585L20 13l6-6l-6-6l-1.402 1.414L22.185 6H16a12 12 0 1 0 12 12Z`},null,-1)]]))]),_:1},8,[`disabled`]),w(n,{title:A(c).state.status===`pending`?`Restore Loading`:`Trigger Loading`,"aria-label":A(c).state.status===`pending`?`Restore Loading`:`Trigger Loading`,class:`self-start`,"icon-only":``,onClick:t[8]||=t=>H((`toRaw`in e?e.toRaw:A(g))(A(c)))},{icon:m(()=>[(T(),S(`svg`,Be,[...t[18]||=[x(`path`,{fill:`currentColor`,d:`M15 19h2v2h-2zm0 4h2v2h-2z`},null,-1),x(`path`,{fill:`currentColor`,d:`M23 11.67V4h3V2H6v2h3v7.67a2 2 0 0 0 .4 1.2L11.75 16L9.4 19.13a2 2 0 0 0-.4 1.2V28H6v2h20v-2h-3v-7.67a2 2 0 0 0-.4-1.2L20.25 16l2.35-3.13a2 2 0 0 0 .4-1.2M21 4v7H11V4Zm0 16.33V28H11v-7.67L14.25 16L12 13h8l-2.25 3Z`},null,-1)]]))]),_:1},8,[`title`,`aria-label`]),w(n,{title:A(c).state.status===`error`?`Restore Error`:`Trigger Error`,"aria-label":A(c).state.status===`error`?`Restore Error`:`Trigger Error`,class:`self-start`,"icon-only":``,disabled:A(c).state.status===`pending`,onClick:t[9]||=t=>B((`toRaw`in e?e.toRaw:A(g))(A(c)))},{icon:m(()=>[(T(),S(`svg`,Ve,[...t[19]||=[x(`path`,{fill:`currentColor`,d:`M16 2a14 14 0 1 0 14 14A14 14 0 0 0 16 2m0 26a12 12 0 1 1 12-12a12 12 0 0 1-12 12`},null,-1),x(`path`,{fill:`currentColor`,d:`M15 8h2v11h-2zm1 14a1.5 1.5 0 1 0 1.5 1.5A1.5 1.5 0 0 0 16 22`},null,-1)]]))]),_:1},8,[`title`,`aria-label`,`disabled`])]),default:m(()=>[x(`div`,He,[t[20]||=x(`div`,null,[x(`strong`,null,`Query Key:`)],-1),x(`div`,null,b(A(c)?.queryKey),1),t[21]||=x(`div`,null,[x(`strong`,null,`Observers:`)],-1),x(`div`,null,b(A(c).observers.length),1),t[22]||=x(`div`,null,[x(`strong`,null,`Overall status:`)],-1),x(`div`,null,[x(`span`,{class:`rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5`,style:N({"background-color":`${A(K)(A(c))}`})},b(A(G)(A(c))),5)]),t[23]||=x(`div`,null,[x(`strong`,null,`Last Updated:`)],-1),x(`div`,null,b(new Date(A(c).state.dataUpdatedAt).toLocaleString()),1)])]),_:1}),w(j,{icon:`i-carbon-cube`,text:`Data Explorer`,padding:!0,open:!1},{default:m(()=>[w(M,{data:A(c).state.data,deep:2,virtual:!0,height:150},null,8,[`data`])]),_:1}),w(j,{icon:`i-carbon-query-queue`,text:`Query Details`},{default:m(()=>[x(`div`,Ue,[t[24]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,b(A(c).state.status),1),t[25]||=x(`div`,null,[x(`strong`,null,`Fetch Status:`)],-1),x(`div`,null,b(A(c).state.fetchStatus),1),t[26]||=x(`div`,null,[x(`strong`,null,`Invalidated:`)],-1),x(`div`,null,b(A(c).state.isInvalidated),1),t[27]||=x(`div`,null,[x(`strong`,null,`Update Count:`)],-1),x(`div`,null,b(A(c).state.dataUpdateCount),1),t[28]||=x(`div`,null,[x(`strong`,null,`Active:`)],-1),x(`div`,null,b(A(c).observers.length===0?`Inactive`:`Active`),1),t[29]||=x(`div`,null,[x(`strong`,null,`IsStale:`)],-1),x(`div`,null,b((`toRaw`in e?e.toRaw:A(g))(A(c))?.isStale()),1),t[30]||=x(`div`,null,[x(`strong`,null,`Disabled:`)],-1),x(`div`,null,b((`toRaw`in e?e.toRaw:A(g))(A(c))?.isDisabled()),1),t[31]||=x(`div`,null,[x(`strong`,null,`GCTime:`)],-1),x(`div`,null,b(A(c).gcTime),1),t[32]||=x(`div`,null,[x(`strong`,null,`Options:`)],-1),w(M,{data:z(A(c)),deep:2,virtual:!0,height:150},null,8,[`data`]),t[33]||=x(`div`,null,[x(`strong`,null,`Meta:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(c))?.meta,deep:2,virtual:!0,height:150},null,8,[`data`])])]),_:1})])):(T(),S(`div`,We,[...t[34]||=[x(`span`,{class:`op75`},`Select a query`,-1)]]))])]),_:1})):(T(),E(F,{key:3,"storage-key":`tab-vue-mutation`},{left:m(()=>[w(C,{search:A(f),"item-label":`mutations`,"total-count":A(u)?.length||0,"sort-field":A(_),"sort-direction":A(v),"onUpdate:search":t[10]||=e=>f.value=e,"onUpdate:sortField":t[11]||=e=>_.value=e,"onUpdate:sortDirection":t[12]||=e=>v.value=e},null,8,[`search`,`total-count`,`sort-field`,`sort-direction`]),(T(!0),S(O,null,l(A(P),e=>(T(),E(I,{key:e.mutationId,item:e,onClick:t=>R(e)},null,8,[`item`,`onClick`]))),128))]),right:m(()=>[x(`div`,Ge,[A(d)?(T(),S(`div`,Ke,[w(j,{icon:`i-carbon-status-change`,text:`Mutation Overview`},{default:m(()=>[x(`div`,qe,[t[35]||=x(`div`,null,[x(`strong`,null,`Mutation Key:`)],-1),x(`div`,null,b(A(d)?.options.mutationKey),1),t[36]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,[x(`span`,{class:`rounded whitespace-nowrap select-none mx-0.5 px-1.5 py-0.5`,style:N({"background-color":`${A(J)(A(d))}`})},b(A(q)(A(d))),5)]),t[37]||=x(`div`,null,[x(`strong`,null,`Submitted:`)],-1),x(`div`,null,b(new Date(A(d).state.submittedAt).toLocaleString()),1)])]),_:1}),w(j,{icon:`i-carbon-cube`,text:`Data Explorer`,padding:!0,open:!1},{default:m(()=>[w(M,{data:A(d).state.data,deep:2,virtual:!0,height:150},null,8,[`data`])]),_:1}),w(j,{icon:`i-carbon-query-queue`,text:`Mutation Details`},{default:m(()=>[x(`div`,Je,[t[38]||=x(`div`,null,[x(`strong`,null,`Status:`)],-1),x(`div`,null,b(A(d).state.status),1),t[39]||=x(`div`,null,[x(`strong`,null,`Mutation Id:`)],-1),x(`div`,null,b(A(d).mutationId),1),t[40]||=x(`div`,null,[x(`strong`,null,`IsPaused:`)],-1),x(`div`,null,b(A(d).state.isPaused),1),t[41]||=x(`div`,null,[x(`strong`,null,`Failure Count:`)],-1),x(`div`,null,b(A(d).state.failureCount),1),t[42]||=x(`div`,null,[x(`strong`,null,`Failure Reason:`)],-1),x(`div`,null,b(A(d).state.failureReason),1),t[43]||=x(`div`,null,[x(`strong`,null,`GCTime:`)],-1),x(`div`,null,b(A(d).gcTime),1),t[44]||=x(`div`,null,[x(`strong`,null,`Variables:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(d))?.state?.variables,deep:2,virtual:!0,height:150},null,8,[`data`]),t[45]||=x(`div`,null,[x(`strong`,null,`Meta:`)],-1),w(M,{data:(`toRaw`in e?e.toRaw:A(g))(A(d))?.meta,deep:2,virtual:!0,height:150},null,8,[`data`])])]),_:1})])):(T(),S(`div`,Ye,[...t[46]||=[x(`span`,{class:`op75`},`Select a mutation`,-1)]]))])]),_:1}))])}}});export{Xe as default};
@@ -1 +1 @@
1
- import{t as e}from"./Dgp62Tmb.js";import{V as t,bt as n,c as r,d as i,h as a,j as o,m as s}from"./El7xeapg.js";import{t as c}from"./Be5AXvKQ.js";import{t as l}from"#entry";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=e({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(e){let g=e;return c({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){let e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(let e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(let t of e)if("childList"===t.type)for(let e of t.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;let r=function(e){let r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),r.credentials="use-credentials"===e.crossOrigin?"include":"anonymous"===e.crossOrigin?"omit":"same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(c,g)=>{let _=l;return o(),i(`div`,u,[r(`div`,d,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(e.status)},null,8,f),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(e.statusText)},null,8,p),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(e.description)},null,8,m),r(`div`,h,[a(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:t(()=>[s(n(e.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-31a8f624`]]);export{g as default};
1
+ import{t as e}from"./ypdB4fQ9.js";import{V as t,bt as n,c as r,d as i,h as a,j as o,m as s}from"./BRoeZOof.js";import{t as c}from"./Dz3udKGL.js";import{t as l}from"#entry";var u={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},d={class:`max-w-520px text-center`},f=[`textContent`],p=[`textContent`],m=[`textContent`],h={class:`flex items-center justify-center w-full`},g=e({__name:`error-404`,props:{appName:{type:String,default:`Nuxt`},status:{type:Number,default:404},statusText:{type:String,default:`Page not found`},description:{type:String,default:`Sorry, the page you are looking for could not be found.`},backHome:{type:String,default:`Go back home`}},setup(e){let g=e;return c({title:`${g.status} - ${g.statusText} | ${g.appName}`,script:[{innerHTML:`!function(){let e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(let e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(let t of e)if("childList"===t.type)for(let e of t.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;let r=function(e){let r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),r.credentials="use-credentials"===e.crossOrigin?"include":"anonymous"===e.crossOrigin?"omit":"same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{box-sizing:border-box;border-style:solid;border-width:0;border-color:var(--un-default-border-color,#e5e7eb)}:after,:before{--un-content:""}html{-webkit-text-size-adjust:100%;tab-size:4;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;line-height:1.5}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 #0000;--un-ring-shadow:0 0 #0000;--un-shadow-inset: ;--un-shadow:0 0 #0000;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:#93c5fd80;--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(c,g)=>{let _=l;return o(),i(`div`,u,[r(`div`,d,[r(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:n(e.status)},null,8,f),r(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:n(e.statusText)},null,8,p),r(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:n(e.description)},null,8,m),r(`div`,h,[a(_,{to:`/`,class:`font-medium hover:text-[#00DC82] text-sm underline underline-offset-3`},{default:t(()=>[s(n(e.backHome),1)]),_:1})])])])}}},[[`__scopeId`,`data-v-7b0992ea`]]);export{g as default};