17 行
67 KiB
JavaScript
17 行
67 KiB
JavaScript
var qr=Object.defineProperty;var Gr=(e,t,s)=>t in e?qr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var as=(e,t,s)=>Gr(e,typeof t!="symbol"?t+"":t,s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
|
|
* @vue/shared v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Hs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},dt=[],Fe=()=>{},$n=()=>!1,ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),ss=e=>e.startsWith("onUpdate:"),se=Object.assign,Ns=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Jr=Object.prototype.hasOwnProperty,L=(e,t)=>Jr.call(e,t),I=Array.isArray,ht=e=>Nt(e)==="[object Map]",Hn=e=>Nt(e)==="[object Set]",on=e=>Nt(e)==="[object Date]",D=e=>typeof e=="function",z=e=>typeof e=="string",De=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",Nn=e=>(U(e)||D(e))&&D(e.then)&&D(e.catch),Ln=Object.prototype.toString,Nt=e=>Ln.call(e),kr=e=>Nt(e).slice(8,-1),Bn=e=>Nt(e)==="[object Object]",Ls=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Et=Hs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ns=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Yr=/-\w/g,me=ns(e=>e.replace(Yr,t=>t.slice(1).toUpperCase())),zr=/\B([A-Z])/g,ot=ns(e=>e.replace(zr,"-$1").toLowerCase()),Kn=ns(e=>e.charAt(0).toUpperCase()+e.slice(1)),ds=ns(e=>e?`on${Kn(e)}`:""),Re=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Un=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let fn;const rs=()=>fn||(fn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Bs(e){if(I(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=z(n)?ti(n):Bs(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(z(e)||U(e))return e}const Zr=/;(?![^(]*\))/g,Qr=/:([^]+)/,ei=/\/\*[^]*?\*\//g;function ti(e){const t={};return e.replace(ei,"").split(Zr).forEach(s=>{if(s){const n=s.split(Qr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function rt(e){let t="";if(z(e))t=e;else if(I(e))for(let s=0;s<e.length;s++){const n=rt(e[s]);n&&(t+=n+" ")}else if(U(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const si="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ni=Hs(si);function Vn(e){return!!e||e===""}function ri(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Ks(e[n],t[n]);return s}function Ks(e,t){if(e===t)return!0;let s=on(e),n=on(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=De(e),n=De(t),s||n)return e===t;if(s=I(e),n=I(t),s||n)return s&&n?ri(e,t):!1;if(s=U(e),n=U(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const l in e){const o=e.hasOwnProperty(l),c=t.hasOwnProperty(l);if(o&&!c||!o&&c||!Ks(e[l],t[l]))return!1}}return String(e)===String(t)}const Wn=e=>!!(e&&e.__v_isRef===!0),Y=e=>z(e)?e:e==null?"":I(e)||U(e)&&(e.toString===Ln||!D(e.toString))?Wn(e)?Y(e.value):JSON.stringify(e,qn,2):String(e),qn=(e,t)=>Wn(t)?qn(e,t.value):ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[ps(n,i)+" =>"]=r,s),{})}:Hn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>ps(s))}:De(t)?ps(t):U(t)&&!I(t)&&!Bn(t)?String(t):t,ps=(e,t="")=>{var s;return De(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
* @vue/reactivity v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let te;class ii{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&te&&(te.active?(this.parent=te,this.index=(te.scopes||(te.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=te;try{return te=this,t()}finally{te=s}}}on(){++this._on===1&&(this.prevScope=te,te=this)}off(){if(this._on>0&&--this._on===0){if(te===this)te=this.prevScope;else{let t=te;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function li(){return te}let q;const gs=new WeakSet;class Gn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,te&&(te.active?te.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,gs.has(this)&&(gs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||kn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cn(this),Yn(this);const t=q,s=be;q=this,be=!0;try{return this.fn()}finally{zn(this),q=t,be=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ws(t);this.deps=this.depsTail=void 0,cn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?gs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Es(this)&&this.run()}get dirty(){return Es(this)}}let Jn=0,Ot,At;function kn(e,t=!1){if(e.flags|=8,t){e.next=At,At=e;return}e.next=Ot,Ot=e}function Us(){Jn++}function Vs(){if(--Jn>0)return;if(At){let t=At;for(At=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Ot;){let t=Ot;for(Ot=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Yn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Ws(n),oi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function Es(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Xn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Xn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ft)||(e.globalVersion=Ft,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Es(e))))return;e.flags|=2;const t=e.dep,s=q,n=be;q=e,be=!0;try{Yn(e);const r=e.fn(e._value);(t.version===0||Re(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{q=s,be=n,zn(e),e.flags&=-3}}function Ws(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Ws(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function oi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let be=!0;const Zn=[];function je(){Zn.push(be),be=!1}function $e(){const e=Zn.pop();be=e===void 0?!0:e}function cn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=q;q=void 0;try{t()}finally{q=s}}}let Ft=0;class fi{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!q||!be||q===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==q)s=this.activeLink=new fi(q,this),q.deps?(s.prevDep=q.depsTail,q.depsTail.nextDep=s,q.depsTail=s):q.deps=q.depsTail=s,Qn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=q.depsTail,s.nextDep=void 0,q.depsTail.nextDep=s,q.depsTail=s,q.deps===s&&(q.deps=n)}return s}trigger(t){this.version++,Ft++,this.notify(t)}notify(t){Us();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Vs()}}}function Qn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Qn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Os=new WeakMap,it=Symbol(""),As=Symbol(""),Dt=Symbol("");function re(e,t,s){if(be&&q){let n=Os.get(e);n||Os.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new qs),r.map=n,r.key=s),r.track()}}function Be(e,t,s,n,r,i){const l=Os.get(e);if(!l){Ft++;return}const o=c=>{c&&c.trigger()};if(Us(),t==="clear")l.forEach(o);else{const c=I(e),d=c&&Ls(s);if(c&&s==="length"){const a=Number(n);l.forEach((p,C)=>{(C==="length"||C===Dt||!De(C)&&C>=a)&&o(p)})}else switch((s!==void 0||l.has(void 0))&&o(l.get(s)),d&&o(l.get(Dt)),t){case"add":c?d&&o(l.get("length")):(o(l.get(it)),ht(e)&&o(l.get(As)));break;case"delete":c||(o(l.get(it)),ht(e)&&o(l.get(As)));break;case"set":ht(e)&&o(l.get(it));break}}Vs()}function ct(e){const t=N(e);return t===e?t:(re(t,"iterate",Dt),ge(e)?t:t.map(ve))}function is(e){return re(e=N(e),"iterate",Dt),e}function Pe(e,t){return Ue(e)?_t(lt(e)?ve(t):t):ve(t)}const ci={__proto__:null,[Symbol.iterator](){return _s(this,Symbol.iterator,e=>Pe(this,e))},concat(...e){return ct(this).concat(...e.map(t=>I(t)?ct(t):t))},entries(){return _s(this,"entries",e=>(e[1]=Pe(this,e[1]),e))},every(e,t){return He(this,"every",e,t,void 0,arguments)},filter(e,t){return He(this,"filter",e,t,s=>s.map(n=>Pe(this,n)),arguments)},find(e,t){return He(this,"find",e,t,s=>Pe(this,s),arguments)},findIndex(e,t){return He(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return He(this,"findLast",e,t,s=>Pe(this,s),arguments)},findLastIndex(e,t){return He(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return He(this,"forEach",e,t,void 0,arguments)},includes(...e){return ms(this,"includes",e)},indexOf(...e){return ms(this,"indexOf",e)},join(e){return ct(this).join(e)},lastIndexOf(...e){return ms(this,"lastIndexOf",e)},map(e,t){return He(this,"map",e,t,void 0,arguments)},pop(){return St(this,"pop")},push(...e){return St(this,"push",e)},reduce(e,...t){return un(this,"reduce",e,t)},reduceRight(e,...t){return un(this,"reduceRight",e,t)},shift(){return St(this,"shift")},some(e,t){return He(this,"some",e,t,void 0,arguments)},splice(...e){return St(this,"splice",e)},toReversed(){return ct(this).toReversed()},toSorted(e){return ct(this).toSorted(e)},toSpliced(...e){return ct(this).toSpliced(...e)},unshift(...e){return St(this,"unshift",e)},values(){return _s(this,"values",e=>Pe(this,e))}};function _s(e,t,s){const n=is(e),r=n[t]();return n!==e&&!ge(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const ui=Array.prototype;function He(e,t,s,n,r,i){const l=is(e),o=l!==e&&!ge(e),c=l[t];if(c!==ui[t]){const p=c.apply(e,i);return o?ve(p):p}let d=s;l!==e&&(o?d=function(p,C){return s.call(this,Pe(e,p),C,e)}:s.length>2&&(d=function(p,C){return s.call(this,p,C,e)}));const a=c.call(l,d,n);return o&&r?r(a):a}function un(e,t,s,n){const r=is(e),i=r!==e&&!ge(e);let l=s,o=!1;r!==e&&(i?(o=n.length===0,l=function(d,a,p){return o&&(o=!1,d=Pe(e,d)),s.call(this,d,Pe(e,a),p,e)}):s.length>3&&(l=function(d,a,p){return s.call(this,d,a,p,e)}));const c=r[t](l,...n);return o?Pe(e,c):c}function ms(e,t,s){const n=N(e);re(n,"iterate",Dt);const r=n[t](...s);return(r===-1||r===!1)&&Ys(s[0])?(s[0]=N(s[0]),n[t](...s)):r}function St(e,t,s=[]){je(),Us();const n=N(e)[t].apply(e,s);return Vs(),$e(),n}const ai=Hs("__proto__,__v_isRef,__isVue"),er=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(De));function di(e){De(e)||(e=String(e));const t=N(this);return re(t,"has",e),t.hasOwnProperty(e)}class tr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Si:ir:i?rr:nr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=I(t);if(!r){let c;if(l&&(c=ci[s]))return c;if(s==="hasOwnProperty")return di}const o=Reflect.get(t,s,ie(t)?t:n);if((De(s)?er.has(s):ai(s))||(r||re(t,"get",s),i))return o;if(ie(o)){const c=l&&Ls(s)?o:o.value;return r&&U(c)?Ms(c):c}return U(o)?r?Ms(o):Js(o):o}}class sr extends tr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const l=I(t)&&Ls(s);if(!this._isShallow){const d=Ue(i);if(!ge(n)&&!Ue(n)&&(i=N(i),n=N(n)),!l&&ie(i)&&!ie(n))return d||(i.value=n),!0}const o=l?Number(s)<t.length:L(t,s),c=Reflect.set(t,s,n,ie(t)?t:r);return t===N(r)&&c&&(o?Re(n,i)&&Be(t,"set",s,n):Be(t,"add",s,n)),c}deleteProperty(t,s){const n=L(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&Be(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!De(s)||!er.has(s))&&re(t,"has",s),n}ownKeys(t){return re(t,"iterate",I(t)?"length":it),Reflect.ownKeys(t)}}class hi extends tr{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const pi=new sr,gi=new hi,_i=new sr(!0);const Ps=e=>e,Vt=e=>Reflect.getPrototypeOf(e);function mi(e,t,s){return function(...n){const r=this.__v_raw,i=N(r),l=ht(i),o=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,d=r[e](...n),a=s?Ps:t?_t:ve;return!t&&re(i,"iterate",c?As:it),se(Object.create(d),{next(){const{value:p,done:C}=d.next();return C?{value:p,done:C}:{value:o?[a(p[0]),a(p[1])]:a(p),done:C}}})}}function Wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const s={get(r){const i=this.__v_raw,l=N(i),o=N(r);e||(Re(r,o)&&re(l,"get",r),re(l,"get",o));const{has:c}=Vt(l),d=t?Ps:e?_t:ve;if(c.call(l,r))return d(i.get(r));if(c.call(l,o))return d(i.get(o));i!==l&&i.get(r)},get size(){const r=this.__v_raw;return!e&&re(N(r),"iterate",it),r.size},has(r){const i=this.__v_raw,l=N(i),o=N(r);return e||(Re(r,o)&&re(l,"has",r),re(l,"has",o)),r===o?i.has(r):i.has(r)||i.has(o)},forEach(r,i){const l=this,o=l.__v_raw,c=N(o),d=t?Ps:e?_t:ve;return!e&&re(c,"iterate",it),o.forEach((a,p)=>r.call(i,d(a),d(p),l))}};return se(s,e?{add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear")}:{add(r){const i=N(this),l=Vt(i),o=N(r),c=!t&&!ge(r)&&!Ue(r)?o:r;return l.has.call(i,c)||Re(r,c)&&l.has.call(i,r)||Re(o,c)&&l.has.call(i,o)||(i.add(c),Be(i,"add",c,c)),this},set(r,i){!t&&!ge(i)&&!Ue(i)&&(i=N(i));const l=N(this),{has:o,get:c}=Vt(l);let d=o.call(l,r);d||(r=N(r),d=o.call(l,r));const a=c.call(l,r);return l.set(r,i),d?Re(i,a)&&Be(l,"set",r,i):Be(l,"add",r,i),this},delete(r){const i=N(this),{has:l,get:o}=Vt(i);let c=l.call(i,r);c||(r=N(r),c=l.call(i,r)),o&&o.call(i,r);const d=i.delete(r);return c&&Be(i,"delete",r,void 0),d},clear(){const r=N(this),i=r.size!==0,l=r.clear();return i&&Be(r,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=mi(r,e,t)}),s}function Gs(e,t){const s=bi(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(L(s,r)&&r in n?s:n,r,i)}const vi={get:Gs(!1,!1)},yi={get:Gs(!1,!0)},xi={get:Gs(!0,!1)};const nr=new WeakMap,rr=new WeakMap,ir=new WeakMap,Si=new WeakMap;function wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Js(e){return Ue(e)?e:ks(e,!1,pi,vi,nr)}function Ci(e){return ks(e,!1,_i,yi,rr)}function Ms(e){return ks(e,!0,gi,xi,ir)}function ks(e,t,s,n,r){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const l=wi(kr(e));if(l===0)return e;const o=new Proxy(e,l===2?n:s);return r.set(e,o),o}function lt(e){return Ue(e)?lt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ue(e){return!!(e&&e.__v_isReadonly)}function ge(e){return!!(e&&e.__v_isShallow)}function Ys(e){return e?!!e.__v_raw:!1}function N(e){const t=e&&e.__v_raw;return t?N(t):e}function Ti(e){return!L(e,"__v_skip")&&Object.isExtensible(e)&&Un(e,"__v_skip",!0),e}const ve=e=>U(e)?Js(e):e,_t=e=>U(e)?Ms(e):e;function ie(e){return e?e.__v_isRef===!0:!1}function Ee(e){return Ei(e,!1)}function Ei(e,t){return ie(e)?e:new Oi(e,t)}class Oi{constructor(t,s){this.dep=new qs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:N(t),this._value=s?t:ve(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ge(t)||Ue(t);t=n?t:N(t),Re(t,s)&&(this._rawValue=t,this._value=n?t:ve(t),this.dep.trigger())}}function Ai(e){return ie(e)?e.value:e}const Pi={get:(e,t,s)=>t==="__v_raw"?e:Ai(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ie(r)&&!ie(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function lr(e){return lt(e)?e:new Proxy(e,Pi)}class Mi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new qs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ft-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&q!==this)return kn(this,!0),!0}get value(){const t=this.dep.track();return Xn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ri(e,t,s=!1){let n,r;return D(e)?n=e:(n=e.get,r=e.set),new Mi(n,r,s)}const qt={},kt=new WeakMap;let nt;function Ii(e,t=!1,s=nt){if(s){let n=kt.get(s);n||kt.set(s,n=[]),n.push(e)}}function Fi(e,t,s=G){const{immediate:n,deep:r,once:i,scheduler:l,augmentJob:o,call:c}=s,d=A=>r?A:ge(A)||r===!1||r===0?Ge(A,1):Ge(A);let a,p,C,E,M=!1,x=!1;if(ie(e)?(p=()=>e.value,M=ge(e)):lt(e)?(p=()=>d(e),M=!0):I(e)?(x=!0,M=e.some(A=>lt(A)||ge(A)),p=()=>e.map(A=>{if(ie(A))return A.value;if(lt(A))return d(A);if(D(A))return c?c(A,2):A()})):D(e)?t?p=c?()=>c(e,2):e:p=()=>{if(C){je();try{C()}finally{$e()}}const A=nt;nt=a;try{return c?c(e,3,[E]):e(E)}finally{nt=A}}:p=Fe,t&&r){const A=p,k=r===!0?1/0:r;p=()=>Ge(A(),k)}const J=li(),B=()=>{a.stop(),J&&J.active&&Ns(J.effects,a)};if(i&&t){const A=t;t=(...k)=>{const ue=A(...k);return B(),ue}}let j=x?new Array(e.length).fill(qt):qt;const H=A=>{if(!(!(a.flags&1)||!a.dirty&&!A))if(t){const k=a.run();if(A||r||M||(x?k.some((ue,ae)=>Re(ue,j[ae])):Re(k,j))){C&&C();const ue=nt;nt=a;try{const ae=[k,j===qt?void 0:x&&j[0]===qt?[]:j,E];j=k,c?c(t,3,ae):t(...ae)}finally{nt=ue}}}else a.run()};return o&&o(H),a=new Gn(p),a.scheduler=l?()=>l(H,!1):H,E=A=>Ii(A,!1,a),C=a.onStop=()=>{const A=kt.get(a);if(A){if(c)c(A,4);else for(const k of A)k();kt.delete(a)}},t?n?H(!0):j=a.run():l?l(H.bind(null,!0),!0):a.run(),B.pause=a.pause.bind(a),B.resume=a.resume.bind(a),B.stop=B,B}function Ge(e,t=1/0,s){if(t<=0||!U(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ie(e))Ge(e.value,t,s);else if(I(e))for(let n=0;n<e.length;n++)Ge(e[n],t,s);else if(Hn(e)||ht(e))e.forEach(n=>{Ge(n,t,s)});else if(Bn(e)){for(const n in e)Ge(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ge(e[n],t,s)}return e}/**
|
|
* @vue/runtime-core v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Lt(e,t,s,n){try{return n?e(...n):e()}catch(r){ls(r,t,s)}}function ye(e,t,s,n){if(D(e)){const r=Lt(e,t,s,n);return r&&Nn(r)&&r.catch(i=>{ls(i,t,s)}),r}if(I(e)){const r=[];for(let i=0;i<e.length;i++)r.push(ye(e[i],t,s,n));return r}}function ls(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||G;if(t){let o=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;o;){const a=o.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,c,d)===!1)return}o=o.parent}if(i){je(),Lt(i,null,10,[e,c,d]),$e();return}}Di(e,s,r,n,l)}function Di(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const oe=[];let Ae=-1;const pt=[];let qe=null,at=0;const or=Promise.resolve();let Yt=null;function ji(e){const t=Yt||or;return e?t.then(this?e.bind(this):e):t}function $i(e){let t=Ae+1,s=oe.length;for(;t<s;){const n=t+s>>>1,r=oe[n],i=jt(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function zs(e){if(!(e.flags&1)){const t=jt(e),s=oe[oe.length-1];!s||!(e.flags&2)&&t>=jt(s)?oe.push(e):oe.splice($i(t),0,e),e.flags|=1,fr()}}function fr(){Yt||(Yt=or.then(ur))}function Hi(e){I(e)?pt.push(...e):qe&&e.id===-1?qe.splice(at+1,0,e):e.flags&1||(pt.push(e),e.flags|=1),fr()}function an(e,t,s=Ae+1){for(;s<oe.length;s++){const n=oe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;oe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function cr(e){if(pt.length){const t=[...new Set(pt)].sort((s,n)=>jt(s)-jt(n));if(pt.length=0,qe){qe.push(...t);return}for(qe=t,at=0;at<qe.length;at++){const s=qe[at];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}qe=null,at=0}}const jt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ur(e){try{for(Ae=0;Ae<oe.length;Ae++){const t=oe[Ae];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Lt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ae<oe.length;Ae++){const t=oe[Ae];t&&(t.flags&=-2)}Ae=-1,oe.length=0,cr(),Yt=null,(oe.length||pt.length)&&ur()}}let Ie=null,ar=null;function zt(e){const t=Ie;return Ie=e,ar=e&&e.type.__scopeId||null,t}function Ni(e,t=Ie,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Sn(-1);const i=zt(t);let l;try{l=e(...r)}finally{zt(i),n._d&&Sn(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function Qe(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let l=0;l<r.length;l++){const o=r[l];i&&(o.oldValue=i[l].value);let c=o.dir[n];c&&(je(),ye(c,s,8,[e.el,o,e,t]),$e())}}function Li(e,t){if(fe){let s=fe.provides;const n=fe.parent&&fe.parent.provides;n===s&&(s=fe.provides=Object.create(n)),s[e]=t}}function Gt(e,t,s=!1){const n=Ll();if(n||gt){let r=gt?gt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&D(t)?t.call(n&&n.proxy):t}}const Bi=Symbol.for("v-scx"),Ki=()=>Gt(Bi);function bs(e,t,s){return dr(e,t,s)}function dr(e,t,s=G){const{immediate:n,deep:r,flush:i,once:l}=s,o=se({},s),c=t&&n||!t&&i!=="post";let d;if(Ht){if(i==="sync"){const E=Ki();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!c){const E=()=>{};return E.stop=Fe,E.resume=Fe,E.pause=Fe,E}}const a=fe;o.call=(E,M,x)=>ye(E,a,M,x);let p=!1;i==="post"?o.scheduler=E=>{ce(E,a&&a.suspense)}:i!=="sync"&&(p=!0,o.scheduler=(E,M)=>{M?E():zs(E)}),o.augmentJob=E=>{t&&(E.flags|=4),p&&(E.flags|=2,a&&(E.id=a.uid,E.i=a))};const C=Fi(e,t,o);return Ht&&(d?d.push(C):c&&C()),C}function Ui(e,t,s){const n=this.proxy,r=z(e)?e.includes(".")?hr(n,e):()=>n[e]:e.bind(n,n);let i;D(t)?i=t:(i=t.handler,s=t);const l=Bt(this),o=dr(r,i.bind(n),s);return l(),o}function hr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const Vi=Symbol("_vte"),Wi=e=>e.__isTeleport,vs=Symbol("_leaveCb");function Xs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qi(e,t){return D(e)?se({name:e.name},t,{setup:e}):e}function pr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function dn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Xt=new WeakMap;function Pt(e,t,s,n,r=!1){if(I(e)){e.forEach((x,J)=>Pt(x,t&&(I(t)?t[J]:t),s,n,r));return}if(Mt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Pt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?en(n.component):n.el,l=r?null:i,{i:o,r:c}=e,d=t&&t.r,a=o.refs===G?o.refs={}:o.refs,p=o.setupState,C=N(p),E=p===G?$n:x=>dn(a,x)?!1:L(C,x),M=(x,J)=>!(J&&dn(a,J));if(d!=null&&d!==c){if(hn(t),z(d))a[d]=null,E(d)&&(p[d]=null);else if(ie(d)){const x=t;M(d,x.k)&&(d.value=null),x.k&&(a[x.k]=null)}}if(D(c)){je();try{Lt(c,o,12,[l,a])}finally{$e()}}else{const x=z(c),J=ie(c);if(x||J){const B=()=>{if(e.f){const j=x?E(c)?p[c]:a[c]:M()||!e.k?c.value:a[e.k];if(r)I(j)&&Ns(j,i);else if(I(j))j.includes(i)||j.push(i);else if(x)a[c]=[i],E(c)&&(p[c]=a[c]);else{const H=[i];M(c,e.k)&&(c.value=H),e.k&&(a[e.k]=H)}}else x?(a[c]=l,E(c)&&(p[c]=l)):J&&(M(c,e.k)&&(c.value=l),e.k&&(a[e.k]=l))};if(l){const j=()=>{B(),Xt.delete(e)};j.id=-1,Xt.set(e,j),ce(j,s)}else hn(e),B()}}}function hn(e){const t=Xt.get(e);t&&(t.flags|=8,Xt.delete(e))}rs().requestIdleCallback;rs().cancelIdleCallback;const Mt=e=>!!e.type.__asyncLoader,gr=e=>e.type.__isKeepAlive;function Gi(e,t){_r(e,"a",t)}function Ji(e,t){_r(e,"da",t)}function _r(e,t,s=fe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(os(t,n,s),s){let r=s.parent;for(;r&&r.parent;)gr(r.parent.vnode)&&ki(n,t,s,r),r=r.parent}}function ki(e,t,s,n){const r=os(t,e,n,!0);br(()=>{Ns(n[t],r)},s)}function os(e,t,s=fe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...l)=>{je();const o=Bt(s),c=ye(t,s,e,l);return o(),$e(),c});return n?r.unshift(i):r.push(i),i}}const Ve=e=>(t,s=fe)=>{(!Ht||e==="sp")&&os(e,(...n)=>t(...n),s)},Yi=Ve("bm"),mr=Ve("m"),zi=Ve("bu"),Xi=Ve("u"),Zi=Ve("bum"),br=Ve("um"),Qi=Ve("sp"),el=Ve("rtg"),tl=Ve("rtc");function sl(e,t=fe){os("ec",e,t)}const nl=Symbol.for("v-ndc");function ys(e,t,s,n){let r;const i=s,l=I(e);if(l||z(e)){const o=l&<(e);let c=!1,d=!1;o&&(c=!ge(e),d=Ue(e),e=is(e)),r=new Array(e.length);for(let a=0,p=e.length;a<p;a++)r[a]=t(c?d?_t(ve(e[a])):ve(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i)}else if(U(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,d=o.length;c<d;c++){const a=o[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}const Rs=e=>e?Lr(e)?en(e):Rs(e.parent):null,Rt=se(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=>Rs(e.parent),$root:e=>Rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yr(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=ji.bind(e.proxy)),$watch:e=>Ui.bind(e)}),xs=(e,t)=>e!==G&&!e.__isScriptSetup&&L(e,t),rl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:l,type:o,appContext:c}=e;if(t[0]!=="$"){const C=l[t];if(C!==void 0)switch(C){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(xs(n,t))return l[t]=1,n[t];if(r!==G&&L(r,t))return l[t]=2,r[t];if(L(i,t))return l[t]=3,i[t];if(s!==G&&L(s,t))return l[t]=4,s[t];Is&&(l[t]=0)}}const d=Rt[t];let a,p;if(d)return t==="$attrs"&&re(e.attrs,"get",""),d(e);if((a=o.__cssModules)&&(a=a[t]))return a;if(s!==G&&L(s,t))return l[t]=4,s[t];if(p=c.config.globalProperties,L(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return xs(r,t)?(r[t]=s,!0):n!==G&&L(n,t)?(n[t]=s,!0):L(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:l}},o){let c;return!!(s[o]||e!==G&&o[0]!=="$"&&L(e,o)||xs(t,o)||L(i,o)||L(n,o)||L(Rt,o)||L(r.config.globalProperties,o)||(c=l.__cssModules)&&c[o])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:L(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function pn(e){return I(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Is=!0;function il(e){const t=yr(e),s=e.proxy,n=e.ctx;Is=!1,t.beforeCreate&&gn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:o,provide:c,inject:d,created:a,beforeMount:p,mounted:C,beforeUpdate:E,updated:M,activated:x,deactivated:J,beforeDestroy:B,beforeUnmount:j,destroyed:H,unmounted:A,render:k,renderTracked:ue,renderTriggered:ae,errorCaptured:_e,serverPrefetch:ke,expose:xe,inheritAttrs:We,components:Ye,directives:ze,filters:ft}=t;if(d&&ll(d,n,null),l)for(const W in l){const F=l[W];D(F)&&(n[W]=F.bind(s))}if(r){const W=r.call(s,s);U(W)&&(e.data=Js(W))}if(Is=!0,i)for(const W in i){const F=i[W],Xe=D(F)?F.bind(s,s):D(F.get)?F.get.bind(s,s):Fe,Kt=!D(F)&&D(F.set)?F.set.bind(s):Fe,Ze=Kr({get:Xe,set:Kt});Object.defineProperty(n,W,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:Se=>Ze.value=Se})}if(o)for(const W in o)vr(o[W],n,s,W);if(c){const W=D(c)?c.call(s):c;Reflect.ownKeys(W).forEach(F=>{Li(F,W[F])})}a&&gn(a,e,"c");function Z(W,F){I(F)?F.forEach(Xe=>W(Xe.bind(s))):F&&W(F.bind(s))}if(Z(Yi,p),Z(mr,C),Z(zi,E),Z(Xi,M),Z(Gi,x),Z(Ji,J),Z(sl,_e),Z(tl,ue),Z(el,ae),Z(Zi,j),Z(br,A),Z(Qi,ke),I(xe))if(xe.length){const W=e.exposed||(e.exposed={});xe.forEach(F=>{Object.defineProperty(W,F,{get:()=>s[F],set:Xe=>s[F]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});k&&e.render===Fe&&(e.render=k),We!=null&&(e.inheritAttrs=We),Ye&&(e.components=Ye),ze&&(e.directives=ze),ke&&pr(e)}function ll(e,t,s=Fe){I(e)&&(e=Fs(e));for(const n in e){const r=e[n];let i;U(r)?"default"in r?i=Gt(r.from||n,r.default,!0):i=Gt(r.from||n):i=Gt(r),ie(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[n]=i}}function gn(e,t,s){ye(I(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function vr(e,t,s,n){let r=n.includes(".")?hr(s,n):()=>s[n];if(z(e)){const i=t[e];D(i)&&bs(r,i)}else if(D(e))bs(r,e.bind(s));else if(U(e))if(I(e))e.forEach(i=>vr(i,t,s,n));else{const i=D(e.handler)?e.handler.bind(s):t[e.handler];D(i)&&bs(r,i,e)}}function yr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,o=i.get(t);let c;return o?c=o:!r.length&&!s&&!n?c=t:(c={},r.length&&r.forEach(d=>Zt(c,d,l,!0)),Zt(c,t,l)),U(t)&&i.set(t,c),c}function Zt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Zt(e,i,s,!0),r&&r.forEach(l=>Zt(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const o=ol[l]||s&&s[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const ol={data:_n,props:mn,emits:mn,methods:Ct,computed:Ct,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:Ct,directives:Ct,watch:cl,provide:_n,inject:fl};function _n(e,t){return t?e?function(){return se(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function fl(e,t){return Ct(Fs(e),Fs(t))}function Fs(e){if(I(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function Ct(e,t){return e?se(Object.create(null),e,t):t}function mn(e,t){return e?I(e)&&I(t)?[...new Set([...e,...t])]:se(Object.create(null),pn(e),pn(t??{})):t}function cl(e,t){if(!e)return t;if(!t)return e;const s=se(Object.create(null),e);for(const n in t)s[n]=le(e[n],t[n]);return s}function xr(){return{app:null,config:{isNativeTag:$n,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let ul=0;function al(e,t){return function(n,r=null){D(n)||(n=se({},n)),r!=null&&!U(r)&&(r=null);const i=xr(),l=new WeakSet,o=[];let c=!1;const d=i.app={_uid:ul++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ql,get config(){return i.config},set config(a){},use(a,...p){return l.has(a)||(a&&D(a.install)?(l.add(a),a.install(d,...p)):D(a)&&(l.add(a),a(d,...p))),d},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),d},component(a,p){return p?(i.components[a]=p,d):i.components[a]},directive(a,p){return p?(i.directives[a]=p,d):i.directives[a]},mount(a,p,C){if(!c){const E=d._ceVNode||Ke(n,r);return E.appContext=i,C===!0?C="svg":C===!1&&(C=void 0),e(E,a,C),c=!0,d._container=a,a.__vue_app__=d,en(E.component)}},onUnmount(a){o.push(a)},unmount(){c&&(ye(o,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return i.provides[a]=p,d},runWithContext(a){const p=gt;gt=d;try{return a()}finally{gt=p}}};return d}}let gt=null;const dl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${me(t)}Modifiers`]||e[`${ot(t)}Modifiers`];function hl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||G;let r=s;const i=t.startsWith("update:"),l=i&&dl(n,t.slice(7));l&&(l.trim&&(r=s.map(a=>z(a)?a.trim():a)),l.number&&(r=s.map(Xr)));let o,c=n[o=ds(t)]||n[o=ds(me(t))];!c&&i&&(c=n[o=ds(ot(t))]),c&&ye(c,e,6,r);const d=n[o+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,ye(d,e,6,r)}}const pl=new WeakMap;function Sr(e,t,s=!1){const n=s?pl:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let l={},o=!1;if(!D(e)){const c=d=>{const a=Sr(d,t,!0);a&&(o=!0,se(l,a))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!o?(U(e)&&n.set(e,null),null):(I(i)?i.forEach(c=>l[c]=null):se(l,i),U(e)&&n.set(e,l),l)}function fs(e,t){return!e||!ts(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),L(e,t[0].toLowerCase()+t.slice(1))||L(e,ot(t))||L(e,t))}function bn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:l,attrs:o,emit:c,render:d,renderCache:a,props:p,data:C,setupState:E,ctx:M,inheritAttrs:x}=e,J=zt(e);let B,j;try{if(s.shapeFlag&4){const A=r||n,k=A;B=Me(d.call(k,A,a,p,E,C,M)),j=o}else{const A=t;B=Me(A.length>1?A(p,{attrs:o,slots:l,emit:c}):A(p,null)),j=t.props?o:gl(o)}}catch(A){It.length=0,ls(A,e,1),B=Ke(Je)}let H=B;if(j&&x!==!1){const A=Object.keys(j),{shapeFlag:k}=H;A.length&&k&7&&(i&&A.some(ss)&&(j=_l(j,i)),H=mt(H,j,!1,!0))}return s.dirs&&(H=mt(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition&&Xs(H,s.transition),B=H,zt(J),B}const gl=e=>{let t;for(const s in e)(s==="class"||s==="style"||ts(s))&&((t||(t={}))[s]=e[s]);return t},_l=(e,t)=>{const s={};for(const n in e)(!ss(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function ml(e,t,s){const{props:n,children:r,component:i}=e,{props:l,children:o,patchFlag:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?vn(n,l,d):!!l;if(c&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const C=a[p];if(wr(l,n,C)&&!fs(d,C))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:n===l?!1:n?l?vn(n,l,d):!0:!!l;return!1}function vn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const i=n[r];if(wr(t,e,i)&&!fs(s,i))return!0}return!1}function wr(e,t,s){const n=e[s],r=t[s];return s==="style"&&U(n)&&U(r)?!Ks(n,r):n!==r}function bl({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Cr={},Tr=()=>Object.create(Cr),Er=e=>Object.getPrototypeOf(e)===Cr;function vl(e,t,s,n=!1){const r={},i=Tr();e.propsDefaults=Object.create(null),Or(e,t,r,i);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);s?e.props=n?r:Ci(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function yl(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:l}}=e,o=N(r),[c]=e.propsOptions;let d=!1;if((n||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let C=a[p];if(fs(e.emitsOptions,C))continue;const E=t[C];if(c)if(L(i,C))E!==i[C]&&(i[C]=E,d=!0);else{const M=me(C);r[M]=Ds(c,o,M,E,e,!1)}else E!==i[C]&&(i[C]=E,d=!0)}}}else{Or(e,t,r,i)&&(d=!0);let a;for(const p in o)(!t||!L(t,p)&&((a=ot(p))===p||!L(t,a)))&&(c?s&&(s[p]!==void 0||s[a]!==void 0)&&(r[p]=Ds(c,o,p,void 0,e,!0)):delete r[p]);if(i!==o)for(const p in i)(!t||!L(t,p))&&(delete i[p],d=!0)}d&&Be(e.attrs,"set","")}function Or(e,t,s,n){const[r,i]=e.propsOptions;let l=!1,o;if(t)for(let c in t){if(Et(c))continue;const d=t[c];let a;r&&L(r,a=me(c))?!i||!i.includes(a)?s[a]=d:(o||(o={}))[a]=d:fs(e.emitsOptions,c)||(!(c in n)||d!==n[c])&&(n[c]=d,l=!0)}if(i){const c=N(s),d=o||G;for(let a=0;a<i.length;a++){const p=i[a];s[p]=Ds(r,c,p,d[p],e,!L(d,p))}}return l}function Ds(e,t,s,n,r,i){const l=e[s];if(l!=null){const o=L(l,"default");if(o&&n===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&D(c)){const{propsDefaults:d}=r;if(s in d)n=d[s];else{const a=Bt(r);n=d[s]=c.call(null,t),a()}}else n=c;r.ce&&r.ce._setProp(s,n)}l[0]&&(i&&!o?n=!1:l[1]&&(n===""||n===ot(s))&&(n=!0))}return n}const xl=new WeakMap;function Ar(e,t,s=!1){const n=s?xl:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,l={},o=[];let c=!1;if(!D(e)){const a=p=>{c=!0;const[C,E]=Ar(p,t,!0);se(l,C),E&&o.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return U(e)&&n.set(e,dt),dt;if(I(i))for(let a=0;a<i.length;a++){const p=me(i[a]);yn(p)&&(l[p]=G)}else if(i)for(const a in i){const p=me(a);if(yn(p)){const C=i[a],E=l[p]=I(C)||D(C)?{type:C}:se({},C),M=E.type;let x=!1,J=!0;if(I(M))for(let B=0;B<M.length;++B){const j=M[B],H=D(j)&&j.name;if(H==="Boolean"){x=!0;break}else H==="String"&&(J=!1)}else x=D(M)&&M.name==="Boolean";E[0]=x,E[1]=J,(x||L(E,"default"))&&o.push(p)}}const d=[l,o];return U(e)&&n.set(e,d),d}function yn(e){return e[0]!=="$"&&!Et(e)}const Zs=e=>e==="_"||e==="_ctx"||e==="$stable",Qs=e=>I(e)?e.map(Me):[Me(e)],Sl=(e,t,s)=>{if(t._n)return t;const n=Ni((...r)=>Qs(t(...r)),s);return n._c=!1,n},Pr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Zs(r))continue;const i=e[r];if(D(i))t[r]=Sl(r,i,n);else if(i!=null){const l=Qs(i);t[r]=()=>l}}},Mr=(e,t)=>{const s=Qs(t);e.slots.default=()=>s},Rr=(e,t,s)=>{for(const n in t)(s||!Zs(n))&&(e[n]=t[n])},wl=(e,t,s)=>{const n=e.slots=Tr();if(e.vnode.shapeFlag&32){const r=t._;r?(Rr(n,t,s),s&&Un(n,"_",r,!0)):Pr(t,n)}else t&&Mr(e,t)},Cl=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,l=G;if(n.shapeFlag&32){const o=t._;o?s&&o===1?i=!1:Rr(r,t,s):(i=!t.$stable,Pr(t,r)),l=t}else t&&(Mr(e,t),l={default:1});if(i)for(const o in r)!Zs(o)&&l[o]==null&&delete r[o]},ce=Pl;function Tl(e){return El(e)}function El(e,t){const s=rs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:l,createText:o,createComment:c,setText:d,setElementText:a,parentNode:p,nextSibling:C,setScopeId:E=Fe,insertStaticContent:M}=e,x=(f,u,h,b=null,m=null,g=null,S=void 0,y=null,v=!!u.dynamicChildren)=>{if(f===u)return;f&&!wt(f,u)&&(b=Ut(f),Se(f,m,g,!0),f=null),u.patchFlag===-2&&(v=!1,u.dynamicChildren=null);const{type:_,ref:P,shapeFlag:w}=u;switch(_){case cs:J(f,u,h,b);break;case Je:B(f,u,h,b);break;case ws:f==null&&j(u,h,b,S);break;case he:Ye(f,u,h,b,m,g,S,y,v);break;default:w&1?k(f,u,h,b,m,g,S,y,v):w&6?ze(f,u,h,b,m,g,S,y,v):(w&64||w&128)&&_.process(f,u,h,b,m,g,S,y,v,yt)}P!=null&&m?Pt(P,f&&f.ref,g,u||f,!u):P==null&&f&&f.ref!=null&&Pt(f.ref,null,g,f,!0)},J=(f,u,h,b)=>{if(f==null)n(u.el=o(u.children),h,b);else{const m=u.el=f.el;u.children!==f.children&&d(m,u.children)}},B=(f,u,h,b)=>{f==null?n(u.el=c(u.children||""),h,b):u.el=f.el},j=(f,u,h,b)=>{[f.el,f.anchor]=M(f.children,u,h,b,f.el,f.anchor)},H=({el:f,anchor:u},h,b)=>{let m;for(;f&&f!==u;)m=C(f),n(f,h,b),f=m;n(u,h,b)},A=({el:f,anchor:u})=>{let h;for(;f&&f!==u;)h=C(f),r(f),f=h;r(u)},k=(f,u,h,b,m,g,S,y,v)=>{if(u.type==="svg"?S="svg":u.type==="math"&&(S="mathml"),f==null)ue(u,h,b,m,g,S,y,v);else{const _=f.el&&f.el._isVueCE?f.el:null;try{_&&_._beginPatch(),ke(f,u,m,g,S,y,v)}finally{_&&_._endPatch()}}},ue=(f,u,h,b,m,g,S,y)=>{let v,_;const{props:P,shapeFlag:w,transition:O,dirs:R}=f;if(v=f.el=l(f.type,g,P&&P.is,P),w&8?a(v,f.children):w&16&&_e(f.children,v,null,b,m,Ss(f,g),S,y),R&&Qe(f,null,b,"created"),ae(v,f,f.scopeId,S,b),P){for(const V in P)V!=="value"&&!Et(V)&&i(v,V,null,P[V],g,b);"value"in P&&i(v,"value",null,P.value,g),(_=P.onVnodeBeforeMount)&&Oe(_,b,f)}R&&Qe(f,null,b,"beforeMount");const $=Ol(m,O);$&&O.beforeEnter(v),n(v,u,h),((_=P&&P.onVnodeMounted)||$||R)&&ce(()=>{try{_&&Oe(_,b,f),$&&O.enter(v),R&&Qe(f,null,b,"mounted")}finally{}},m)},ae=(f,u,h,b,m)=>{if(h&&E(f,h),b)for(let g=0;g<b.length;g++)E(f,b[g]);if(m){let g=m.subTree;if(u===g||jr(g.type)&&(g.ssContent===u||g.ssFallback===u)){const S=m.vnode;ae(f,S,S.scopeId,S.slotScopeIds,m.parent)}}},_e=(f,u,h,b,m,g,S,y,v=0)=>{for(let _=v;_<f.length;_++){const P=f[_]=y?Le(f[_]):Me(f[_]);x(null,P,u,h,b,m,g,S,y)}},ke=(f,u,h,b,m,g,S)=>{const y=u.el=f.el;let{patchFlag:v,dynamicChildren:_,dirs:P}=u;v|=f.patchFlag&16;const w=f.props||G,O=u.props||G;let R;if(h&&et(h,!1),(R=O.onVnodeBeforeUpdate)&&Oe(R,h,u,f),P&&Qe(u,f,h,"beforeUpdate"),h&&et(h,!0),_&&(!f.dynamicChildren||f.dynamicChildren.length!==_.length)&&(v=0,S=!1,_=null),(w.innerHTML&&O.innerHTML==null||w.textContent&&O.textContent==null)&&a(y,""),_?xe(f.dynamicChildren,_,y,h,b,Ss(u,m),g):S||F(f,u,y,null,h,b,Ss(u,m),g,!1),v>0){if(v&16)We(y,w,O,h,m);else if(v&2&&w.class!==O.class&&i(y,"class",null,O.class,m),v&4&&i(y,"style",w.style,O.style,m),v&8){const $=u.dynamicProps;for(let V=0;V<$.length;V++){const K=$[V],X=w[K],Q=O[K];(Q!==X||K==="value")&&i(y,K,X,Q,m,h)}}v&1&&f.children!==u.children&&a(y,u.children)}else!S&&_==null&&We(y,w,O,h,m);((R=O.onVnodeUpdated)||P)&&ce(()=>{R&&Oe(R,h,u,f),P&&Qe(u,f,h,"updated")},b)},xe=(f,u,h,b,m,g,S)=>{for(let y=0;y<u.length;y++){const v=f[y],_=u[y],P=v.el&&(v.type===he||!wt(v,_)||v.shapeFlag&198)?p(v.el):h;x(v,_,P,null,b,m,g,S,!0)}},We=(f,u,h,b,m)=>{if(u!==h){if(u!==G)for(const g in u)!Et(g)&&!(g in h)&&i(f,g,u[g],null,m,b);for(const g in h){if(Et(g))continue;const S=h[g],y=u[g];S!==y&&g!=="value"&&i(f,g,y,S,m,b)}"value"in h&&i(f,"value",u.value,h.value,m)}},Ye=(f,u,h,b,m,g,S,y,v)=>{const _=u.el=f?f.el:o(""),P=u.anchor=f?f.anchor:o("");let{patchFlag:w,dynamicChildren:O,slotScopeIds:R}=u;R&&(y=y?y.concat(R):R),f==null?(n(_,h,b),n(P,h,b),_e(u.children||[],h,P,m,g,S,y,v)):w>0&&w&64&&O&&f.dynamicChildren&&f.dynamicChildren.length===O.length?(xe(f.dynamicChildren,O,h,m,g,S,y),(u.key!=null||m&&u===m.subTree)&&Ir(f,u,!0)):F(f,u,h,P,m,g,S,y,v)},ze=(f,u,h,b,m,g,S,y,v)=>{u.slotScopeIds=y,f==null?u.shapeFlag&512?m.ctx.activate(u,h,b,S,v):ft(u,h,b,m,g,S,v):bt(f,u,v)},ft=(f,u,h,b,m,g,S)=>{const y=f.component=Nl(f,b,m);if(gr(f)&&(y.ctx.renderer=yt),Bl(y,!1,S),y.asyncDep){if(m&&m.registerDep(y,Z,S),!f.el){const v=y.subTree=Ke(Je);B(null,v,u,h),f.placeholder=v.el}}else Z(y,f,u,h,m,g,S)},bt=(f,u,h)=>{const b=u.component=f.component;if(ml(f,u,h))if(b.asyncDep&&!b.asyncResolved){W(b,u,h);return}else b.next=u,b.update();else u.el=f.el,b.vnode=u},Z=(f,u,h,b,m,g,S)=>{const y=()=>{if(f.isMounted){let{next:w,bu:O,u:R,parent:$,vnode:V}=f;{const Ce=Fr(f);if(Ce){w&&(w.el=V.el,W(f,w,S)),Ce.asyncDep.then(()=>{ce(()=>{f.isUnmounted||_()},m)});return}}let K=w,X;et(f,!1),w?(w.el=V.el,W(f,w,S)):w=V,O&&hs(O),(X=w.props&&w.props.onVnodeBeforeUpdate)&&Oe(X,$,w,V),et(f,!0);const Q=bn(f),we=f.subTree;f.subTree=Q,x(we,Q,p(we.el),Ut(we),f,m,g),w.el=Q.el,K===null&&bl(f,Q.el),R&&ce(R,m),(X=w.props&&w.props.onVnodeUpdated)&&ce(()=>Oe(X,$,w,V),m)}else{let w;const{el:O,props:R}=u,{bm:$,m:V,parent:K,root:X,type:Q}=f,we=Mt(u);et(f,!1),$&&hs($),!we&&(w=R&&R.onVnodeBeforeMount)&&Oe(w,K,u),et(f,!0);{X.ce&&X.ce._hasShadowRoot()&&X.ce._injectChildStyle(Q,f.parent?f.parent.type:void 0);const Ce=f.subTree=bn(f);x(null,Ce,h,b,f,m,g),u.el=Ce.el}if(V&&ce(V,m),!we&&(w=R&&R.onVnodeMounted)){const Ce=u;ce(()=>Oe(w,K,Ce),m)}(u.shapeFlag&256||K&&Mt(K.vnode)&&K.vnode.shapeFlag&256)&&f.a&&ce(f.a,m),f.isMounted=!0,u=h=b=null}};f.scope.on();const v=f.effect=new Gn(y);f.scope.off();const _=f.update=v.run.bind(v),P=f.job=v.runIfDirty.bind(v);P.i=f,P.id=f.uid,v.scheduler=()=>zs(P),et(f,!0),_()},W=(f,u,h)=>{u.component=f;const b=f.vnode.props;f.vnode=u,f.next=null,yl(f,u.props,b,h),Cl(f,u.children,h),je(),an(f),$e()},F=(f,u,h,b,m,g,S,y,v=!1)=>{const _=f&&f.children,P=f?f.shapeFlag:0,w=u.children,{patchFlag:O,shapeFlag:R}=u;if(O>0){if(O&128){Kt(_,w,h,b,m,g,S,y,v);return}else if(O&256){Xe(_,w,h,b,m,g,S,y,v);return}}R&8?(P&16&&vt(_,m,g),w!==_&&a(h,w)):P&16?R&16?Kt(_,w,h,b,m,g,S,y,v):vt(_,m,g,!0):(P&8&&a(h,""),R&16&&_e(w,h,b,m,g,S,y,v))},Xe=(f,u,h,b,m,g,S,y,v)=>{f=f||dt,u=u||dt;const _=f.length,P=u.length,w=Math.min(_,P);let O;for(O=0;O<w;O++){const R=u[O]=v?Le(u[O]):Me(u[O]);x(f[O],R,h,null,m,g,S,y,v)}_>P?vt(f,m,g,!0,!1,w):_e(u,h,b,m,g,S,y,v,w)},Kt=(f,u,h,b,m,g,S,y,v)=>{let _=0;const P=u.length;let w=f.length-1,O=P-1;for(;_<=w&&_<=O;){const R=f[_],$=u[_]=v?Le(u[_]):Me(u[_]);if(wt(R,$))x(R,$,h,null,m,g,S,y,v);else break;_++}for(;_<=w&&_<=O;){const R=f[w],$=u[O]=v?Le(u[O]):Me(u[O]);if(wt(R,$))x(R,$,h,null,m,g,S,y,v);else break;w--,O--}if(_>w){if(_<=O){const R=O+1,$=R<P?u[R].el:b;for(;_<=O;)x(null,u[_]=v?Le(u[_]):Me(u[_]),h,$,m,g,S,y,v),_++}}else if(_>O)for(;_<=w;)Se(f[_],m,g,!0),_++;else{const R=_,$=_,V=new Map;for(_=$;_<=O;_++){const de=u[_]=v?Le(u[_]):Me(u[_]);de.key!=null&&V.set(de.key,_)}let K,X=0;const Q=O-$+1;let we=!1,Ce=0;const xt=new Array(Q);for(_=0;_<Q;_++)xt[_]=0;for(_=R;_<=w;_++){const de=f[_];if(X>=Q){Se(de,m,g,!0);continue}let Te;if(de.key!=null)Te=V.get(de.key);else for(K=$;K<=O;K++)if(xt[K-$]===0&&wt(de,u[K])){Te=K;break}Te===void 0?Se(de,m,g,!0):(xt[Te-$]=_+1,Te>=Ce?Ce=Te:we=!0,x(de,u[Te],h,null,m,g,S,y,v),X++)}const nn=we?Al(xt):dt;for(K=nn.length-1,_=Q-1;_>=0;_--){const de=$+_,Te=u[de],rn=u[de+1],ln=de+1<P?rn.el||Dr(rn):b;xt[_]===0?x(null,Te,h,ln,m,g,S,y,v):we&&(K<0||_!==nn[K]?Ze(Te,h,ln,2):K--)}}},Ze=(f,u,h,b,m=null)=>{const{el:g,type:S,transition:y,children:v,shapeFlag:_}=f;if(_&6){Ze(f.component.subTree,u,h,b);return}if(_&128){f.suspense.move(u,h,b);return}if(_&64){S.move(f,u,h,yt);return}if(S===he){n(g,u,h);for(let w=0;w<v.length;w++)Ze(v[w],u,h,b);n(f.anchor,u,h);return}if(S===ws){H(f,u,h);return}if(b!==2&&_&1&&y)if(b===0)y.persisted&&!g[vs]?n(g,u,h):(y.beforeEnter(g),n(g,u,h),ce(()=>y.enter(g),m));else{const{leave:w,delayLeave:O,afterLeave:R}=y,$=()=>{f.ctx.isUnmounted?r(g):n(g,u,h)},V=()=>{const K=g._isLeaving||!!g[vs];g._isLeaving&&g[vs](!0),y.persisted&&!K?$():w(g,()=>{$(),R&&R()})};O?O(g,$,V):V()}else n(g,u,h)},Se=(f,u,h,b=!1,m=!1)=>{const{type:g,props:S,ref:y,children:v,dynamicChildren:_,shapeFlag:P,patchFlag:w,dirs:O,cacheIndex:R,memo:$}=f;if(w===-2&&(m=!1),y!=null&&(je(),Pt(y,null,h,f,!0),$e()),R!=null&&(u.renderCache[R]=void 0),P&256){u.ctx.deactivate(f);return}const V=P&1&&O,K=!Mt(f);let X;if(K&&(X=S&&S.onVnodeBeforeUnmount)&&Oe(X,u,f),P&6)Wr(f.component,h,b);else{if(P&128){f.suspense.unmount(h,b);return}V&&Qe(f,null,u,"beforeUnmount"),P&64?f.type.remove(f,u,h,yt,b):_&&!_.hasOnce&&(g!==he||w>0&&w&64)?vt(_,u,h,!1,!0):(g===he&&w&384||!m&&P&16)&&vt(v,u,h),b&&tn(f)}const Q=$!=null&&R==null;(K&&(X=S&&S.onVnodeUnmounted)||V||Q)&&ce(()=>{X&&Oe(X,u,f),V&&Qe(f,null,u,"unmounted"),Q&&(f.el=null)},h)},tn=f=>{const{type:u,el:h,anchor:b,transition:m}=f;if(u===he){Vr(h,b);return}if(u===ws){A(f);return}const g=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:S,delayLeave:y}=m,v=()=>S(h,g);y?y(f.el,g,v):v()}else g()},Vr=(f,u)=>{let h;for(;f!==u;)h=C(f),r(f),f=h;r(u)},Wr=(f,u,h)=>{const{bum:b,scope:m,job:g,subTree:S,um:y,m:v,a:_}=f;xn(v),xn(_),b&&hs(b),m.stop(),g&&(g.flags|=8,Se(S,f,u,h)),y&&ce(y,u),ce(()=>{f.isUnmounted=!0},u)},vt=(f,u,h,b=!1,m=!1,g=0)=>{for(let S=g;S<f.length;S++)Se(f[S],u,h,b,m)},Ut=f=>{if(f.shapeFlag&6)return Ut(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=C(f.anchor||f.el),h=u&&u[Vi];return h?C(h):u};let us=!1;const sn=(f,u,h)=>{let b;f==null?u._vnode&&(Se(u._vnode,null,null,!0),b=u._vnode.component):x(u._vnode||null,f,u,null,null,null,h),u._vnode=f,us||(us=!0,an(b),cr(),us=!1)},yt={p:x,um:Se,m:Ze,r:tn,mt:ft,mc:_e,pc:F,pbc:xe,n:Ut,o:e};return{render:sn,hydrate:void 0,createApp:al(sn)}}function Ss({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function et({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ol(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ir(e,t,s=!1){const n=e.children,r=t.children;if(I(n)&&I(r))for(let i=0;i<n.length;i++){const l=n[i];let o=r[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[i]=Le(r[i]),o.el=l.el),!s&&o.patchFlag!==-2&&Ir(l,o)),o.type===cs&&(o.patchFlag===-1&&(o=r[i]=Le(o)),o.el=l.el),o.type===Je&&!o.el&&(o.el=l.el)}}function Al(e){const t=e.slice(),s=[0];let n,r,i,l,o;const c=e.length;for(n=0;n<c;n++){const d=e[n];if(d!==0){if(r=s[s.length-1],e[r]<d){t[n]=r,s.push(n);continue}for(i=0,l=s.length-1;i<l;)o=i+l>>1,e[s[o]]<d?i=o+1:l=o;d<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,l=s[i-1];i-- >0;)s[i]=l,l=t[l];return s}function Fr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fr(t)}function xn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Dr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Dr(t.subTree):null}const jr=e=>e.__isSuspense;function Pl(e,t){t&&t.pendingBranch?I(e)?t.effects.push(...e):t.effects.push(e):Hi(e)}const he=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),Je=Symbol.for("v-cmt"),ws=Symbol.for("v-stc"),It=[];let pe=null;function ee(e=!1){It.push(pe=e?null:[])}function Ml(){It.pop(),pe=It[It.length-1]||null}let $t=1;function Sn(e,t=!1){$t+=e,e<0&&pe&&t&&(pe.hasOnce=!0)}function $r(e){return e.dynamicChildren=$t>0?pe||dt:null,Ml(),$t>0&&pe&&pe.push(e),e}function ne(e,t,s,n,r,i){return $r(T(e,t,s,n,r,i,!0))}function Rl(e,t,s,n,r){return $r(Ke(e,t,s,n,r,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function wt(e,t){return e.type===t.type&&e.key===t.key}const Nr=({key:e})=>e??null,Jt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||ie(e)||D(e)?{i:Ie,r:e,k:t,f:!!s}:e:null);function T(e,t=null,s=null,n=0,r=null,i=e===he?0:1,l=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nr(t),ref:t&&Jt(t),scopeId:ar,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ie};return o?(Qt(c,s),i&128&&e.normalize(c)):s&&(c.shapeFlag|=z(s)?8:16),$t>0&&!l&&pe&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&pe.push(c),c}const Ke=Il;function Il(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===nl)&&(e=Je),Hr(e)){const o=mt(e,t,!0);return s&&Qt(o,s),$t>0&&!i&&pe&&(o.shapeFlag&6?pe[pe.indexOf(e)]=o:pe.push(o)),o.patchFlag=-2,o}if(Wl(e)&&(e=e.__vccOpts),t){t=Fl(t);let{class:o,style:c}=t;o&&!z(o)&&(t.class=rt(o)),U(c)&&(Ys(c)&&!I(c)&&(c=se({},c)),t.style=Bs(c))}const l=z(e)?1:jr(e)?128:Wi(e)?64:U(e)?4:D(e)?2:0;return T(e,t,s,n,r,l,i,!0)}function Fl(e){return e?Ys(e)||Er(e)?se({},e):e:null}function mt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:l,children:o,transition:c}=e,d=t?jl(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Nr(d),ref:t&&t.ref?s&&i?I(i)?i.concat(Jt(t)):[i,Jt(t)]:Jt(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Xs(a,c.clone(a)),a}function Dl(e=" ",t=0){return Ke(cs,null,e,t)}function ut(e="",t=!1){return t?(ee(),Rl(Je,null,e)):Ke(Je,null,e)}function Me(e){return e==null||typeof e=="boolean"?Ke(Je):I(e)?Ke(he,null,e.slice()):Hr(e)?Le(e):Ke(cs,null,String(e))}function Le(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function Qt(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(I(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Qt(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Er(t)?t._ctx=Ie:r===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(D(t)){if(n&65){Qt(e,{default:t});return}t={default:t,_ctx:Ie},s=32}else t=String(t),n&64?(s=16,t=[Dl(t)]):s=8;e.children=t,e.shapeFlag|=s}function jl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=rt([t.class,n.class]));else if(r==="style")t.style=Bs([t.style,n.style]);else if(ts(r)){const i=t[r],l=n[r];l&&i!==l&&!(I(i)&&i.includes(l))?t[r]=i?[].concat(i,l):l:l==null&&i==null&&!ss(r)&&(t[r]=l)}else r!==""&&(t[r]=n[r])}return t}function Oe(e,t,s,n=null){ye(e,t,7,[s,n])}const $l=xr();let Hl=0;function Nl(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||$l,i={uid:Hl++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ii(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ar(n,r),emitsOptions:Sr(n,r),emit:null,emitted:null,propsDefaults:G,inheritAttrs:n.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=hl.bind(null,i),e.ce&&e.ce(i),i}let fe=null;const Ll=()=>fe||Ie;let es,js;{const e=rs(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(l=>l(i)):r[0](i)}};es=t("__VUE_INSTANCE_SETTERS__",s=>fe=s),js=t("__VUE_SSR_SETTERS__",s=>Ht=s)}const Bt=e=>{const t=fe;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},wn=()=>{fe&&fe.scope.off(),es(null)};function Lr(e){return e.vnode.shapeFlag&4}let Ht=!1;function Bl(e,t=!1,s=!1){t&&js(t);const{props:n,children:r}=e.vnode,i=Lr(e);vl(e,n,i,t),wl(e,r,s||t);const l=i?Kl(e,t):void 0;return t&&js(!1),l}function Kl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,rl);const{setup:n}=s;if(n){je();const r=e.setupContext=n.length>1?Vl(e):null,i=Bt(e),l=Lt(n,e,0,[e.props,r]),o=Nn(l);if($e(),i(),(o||e.sp)&&!Mt(e)&&pr(e),o){if(l.then(wn,wn),t)return l.then(c=>{Cn(e,c)}).catch(c=>{ls(c,e,0)});e.asyncDep=l}else Cn(e,l)}else Br(e)}function Cn(e,t,s){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=lr(t)),Br(e)}function Br(e,t,s){const n=e.type;e.render||(e.render=n.render||Fe);{const r=Bt(e);je();try{il(e)}finally{$e(),r()}}}const Ul={get(e,t){return re(e,"get",""),e[t]}};function Vl(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Ul),slots:e.slots,emit:e.emit,expose:t}}function en(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lr(Ti(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Rt)return Rt[s](e)},has(t,s){return s in t||s in Rt}})):e.proxy}function Wl(e){return D(e)&&"__vccOpts"in e}const Kr=(e,t)=>Ri(e,t,Ht),ql="3.5.39";/**
|
|
* @vue/runtime-dom v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let $s;const Tn=typeof window<"u"&&window.trustedTypes;if(Tn)try{$s=Tn.createPolicy("vue",{createHTML:e=>e})}catch{}const Ur=$s?e=>$s.createHTML(e):e=>e,Gl="http://www.w3.org/2000/svg",Jl="http://www.w3.org/1998/Math/MathML",Ne=typeof document<"u"?document:null,En=Ne&&Ne.createElement("template"),kl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?Ne.createElementNS(Gl,e):t==="mathml"?Ne.createElementNS(Jl,e):s?Ne.createElement(e,{is:s}):Ne.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Ne.createTextNode(e),createComment:e=>Ne.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ne.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const l=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{En.innerHTML=Ur(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const o=En.content;if(n==="svg"||n==="mathml"){const c=o.firstChild;for(;c.firstChild;)o.appendChild(c.firstChild);o.removeChild(c)}t.insertBefore(o,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Yl=Symbol("_vtc");function zl(e,t,s){const n=e[Yl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const On=Symbol("_vod"),Xl=Symbol("_vsh"),Zl=Symbol(""),Ql=/(?:^|;)\s*display\s*:/;function eo(e,t,s){const n=e.style,r=z(s);let i=!1;if(s&&!r){if(t)if(z(t))for(const l of t.split(";")){const o=l.slice(0,l.indexOf(":")).trim();s[o]==null&&Tt(n,o,"")}else for(const l in t)s[l]==null&&Tt(n,l,"");for(const l in s){l==="display"&&(i=!0);const o=s[l];o!=null?so(e,l,!z(t)&&t?t[l]:void 0,o)||Tt(n,l,o):Tt(n,l,"")}}else if(r){if(t!==s){const l=n[Zl];l&&(s+=";"+l),n.cssText=s,i=Ql.test(s)}}else t&&e.removeAttribute("style");On in e&&(e[On]=i?n.display:"",e[Xl]&&(n.display="none"))}const An=/\s*!important$/;function Tt(e,t,s){if(I(s))s.forEach(n=>Tt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=to(e,t);An.test(s)?e.setProperty(ot(n),s.replace(An,""),"important"):e[n]=s}}const Pn=["Webkit","Moz","ms"],Cs={};function to(e,t){const s=Cs[t];if(s)return s;let n=me(t);if(n!=="filter"&&n in e)return Cs[t]=n;n=Kn(n);for(let r=0;r<Pn.length;r++){const i=Pn[r]+n;if(i in e)return Cs[t]=i}return t}function so(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&z(n)&&s===n}const Mn="http://www.w3.org/1999/xlink";function Rn(e,t,s,n,r,i=ni(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Mn,t.slice(6,t.length)):e.setAttributeNS(Mn,t,s):s==null||i&&!Vn(s)?e.removeAttribute(t):e.setAttribute(t,i?"":De(s)?String(s):s)}function In(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?Ur(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(o!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let l=!1;if(s===""||s==null){const o=typeof e[t];o==="boolean"?s=Vn(s):s==null&&o==="string"?(s="",l=!0):o==="number"&&(s=0,l=!0)}try{e[t]=s}catch{}l&&e.removeAttribute(r||t)}function no(e,t,s,n){e.addEventListener(t,s,n)}function ro(e,t,s,n){e.removeEventListener(t,s,n)}const Fn=Symbol("_vei");function io(e,t,s,n,r=null){const i=e[Fn]||(e[Fn]={}),l=i[t];if(n&&l)l.value=n;else{const[o,c]=fo(t);if(n){const d=i[t]=ao(n,r);no(e,o,d,c)}else l&&(ro(e,o,l,c),i[t]=void 0)}}const lo=/(Once|Passive|Capture)$/,oo=/^on:?(?:Once|Passive|Capture)$/;function fo(e){let t,s;for(;(s=e.match(lo))&&!oo.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):ot(e.slice(2)),t]}let Ts=0;const co=Promise.resolve(),uo=()=>Ts||(co.then(()=>Ts=0),Ts=Date.now());function ao(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(I(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const l=r.slice(),o=[n];for(let c=0;c<l.length&&!n._stopped;c++){const d=l[c];d&&ye(d,t,5,o)}}else ye(r,t,5,[n])};return s.value=e,s.attached=uo(),s}const Dn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ho=(e,t,s,n,r,i)=>{const l=r==="svg";t==="class"?zl(e,n,l):t==="style"?eo(e,s,n):ts(t)?ss(t)||io(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):po(e,t,n,l))?(In(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Rn(e,t,n,l,i,t!=="value")):e._isVueCE&&(go(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!z(n)))?In(e,me(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Rn(e,t,n,l))};function po(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dn(t)&&D(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Dn(t)&&z(s)?!1:t in e}function go(e,t){const s=e._def.props;if(!s)return!1;const n=me(t);return Array.isArray(s)?s.some(r=>me(r)===n):Object.keys(s).some(r=>me(r)===n)}const _o=se({patchProp:ho},kl);let jn;function mo(){return jn||(jn=Tl(_o))}const bo=((...e)=>{const t=mo().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=yo(n);if(!r)return;const i=t._component;!D(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const l=s(r,!1,vo(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),l},t});function vo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yo(e){return z(e)?document.querySelector(e):e}const xo="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",tt={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",quickProfileDraft:"profiles/quick-draft",jobs:"jobs",settingsSchema:"settings/schema",settingsCurrent:"settings/current",storageStatus:"storage/status",mediaSign:"media/sign",webManifest:"web/manifest"};class So extends Error{constructor(s,n,r={}){super(n);as(this,"code");as(this,"details");this.name="ApiClientError",this.code=s,this.details=r}}async function st(e,t){return wo(e,{method:"GET",query:t})}async function wo(e,t={}){const n=await(await fetch(Co(e,t.query),{method:t.method??"GET",headers:t.body===void 0?void 0:{"Content-Type":"application/json"},body:t.body===void 0?void 0:JSON.stringify(t.body)})).json();if(!n.ok)throw new So(n.error_code,n.message,n.details);return n.data}function Co(e,t){const s=e.replace(/^\/+/,""),n=new URL(`${xo}/${s}`,window.location.origin);for(const[r,i]of Object.entries(t??{}))i!==void 0&&n.searchParams.set(r,String(i));return`${n.pathname}${n.search}`}const To={class:"web-shell"},Eo={class:"sidebar"},Oo={class:"brand"},Ao={class:"workspace"},Po={class:"topbar"},Mo={key:0,class:"notice"},Ro={key:1,class:"notice"},Io={key:0,class:"dashboard-grid"},Fo={key:1,class:"list-view"},Do={key:0,class:"empty"},jo={key:2,class:"list-view"},$o={key:0,class:"empty"},Ho={key:3,class:"settings-view"},No={class:"settings-sections"},Lo={class:"inspector"},Bo=qi({__name:"App",setup(e){const t=Ee("dashboard"),s=Ee(null),n=Ee(null),r=Ee(null),i=Ee(null),l=Ee(null),o=Ee(null),c=Ee(null),d=Ee(!0),a=Ee(""),p=Kr(()=>{var x;const M=(x=n.value)==null?void 0:x.queue;return M?M.pending+M.running+M.failed+M.dead_letter:0});mr(C);async function C(){d.value=!0,a.value="";try{const[M,x,J,B,j,H,A]=await Promise.all([st(tt.uiBootstrap),st(tt.dashboardSummary),st(tt.profiles,{page:1,page_size:20}),st(tt.jobs,{page:1,page_size:20}),st(tt.settingsSchema),st(tt.settingsCurrent),st(tt.storageStatus)]);s.value=M,n.value=x,r.value=J,i.value=B,l.value=j,o.value=H,c.value=A}catch(M){a.value=M instanceof Error?M.message:"加载失败"}finally{d.value=!1}}function E(M=0){return M<1024?`${M} B`:M<1024*1024?`${(M/1024).toFixed(1)} KB`:M<1024*1024*1024?`${(M/1024/1024).toFixed(1)} MB`:`${(M/1024/1024/1024).toFixed(1)} GB`}return(M,x)=>{var J,B,j,H,A,k,ue,ae,_e,ke,xe,We,Ye,ze,ft,bt,Z,W;return ee(),ne("main",To,[T("aside",Eo,[T("div",Oo,[T("strong",null,Y(((J=s.value)==null?void 0:J.display_name)??"ImageStudio"),1),T("span",null,Y(((B=s.value)==null?void 0:B.dashboard_user)??"AstrBot"),1)]),T("nav",null,[T("button",{type:"button",class:rt({active:t.value==="dashboard"}),onClick:x[0]||(x[0]=F=>t.value="dashboard")}," 概览 ",2),T("button",{type:"button",class:rt({active:t.value==="profiles"}),onClick:x[1]||(x[1]=F=>t.value="profiles")}," 角色 ",2),T("button",{type:"button",class:rt({active:t.value==="jobs"}),onClick:x[2]||(x[2]=F=>t.value="jobs")}," 队列 ",2),T("button",{type:"button",class:rt({active:t.value==="settings"}),onClick:x[3]||(x[3]=F=>t.value="settings")}," 设置 ",2)])]),T("section",Ao,[T("header",Po,[T("div",null,[T("h1",null,Y(t.value==="dashboard"?"ImageStudio":""),1),T("p",null,Y(((j=n.value)==null?void 0:j.plugin_status)??"loading"),1)]),T("button",{type:"button",onClick:C},"刷新")]),a.value?(ee(),ne("section",Mo,Y(a.value),1)):d.value?(ee(),ne("section",Ro,"加载中")):(ee(),ne(he,{key:2},[t.value==="dashboard"?(ee(),ne("section",Io,[T("article",null,[x[4]||(x[4]=T("span",null,"角色",-1)),T("strong",null,Y(((H=n.value)==null?void 0:H.active_profiles)??0),1)]),T("article",null,[x[5]||(x[5]=T("span",null,"队列",-1)),T("strong",null,Y(p.value),1)]),T("article",null,[x[6]||(x[6]=T("span",null,"存储",-1)),T("strong",null,Y(E(((A=c.value)==null?void 0:A.total_bytes)??((k=n.value)==null?void 0:k.storage.total_bytes))),1)]),T("article",null,[x[7]||(x[7]=T("span",null,"图片",-1)),T("strong",null,Y(((ue=n.value)==null?void 0:ue.recent_images.length)??0),1)])])):ut("",!0),t.value==="profiles"?(ee(),ne("section",Fo,[T("header",null,[x[8]||(x[8]=T("h2",null,"角色",-1)),T("span",null,Y(((ae=r.value)==null?void 0:ae.total)??0),1)]),T("ul",null,[(ee(!0),ne(he,null,ys(((_e=r.value)==null?void 0:_e.items)??[],F=>(ee(),ne("li",{key:F.profile_id},[T("strong",null,Y(F.name),1),T("span",null,Y(F.status),1)]))),128)),(ke=r.value)!=null&&ke.items.length?ut("",!0):(ee(),ne("li",Do,"暂无角色"))])])):ut("",!0),t.value==="jobs"?(ee(),ne("section",jo,[T("header",null,[x[9]||(x[9]=T("h2",null,"队列",-1)),T("span",null,Y(((xe=i.value)==null?void 0:xe.total)??0),1)]),T("ul",null,[(ee(!0),ne(he,null,ys(((We=i.value)==null?void 0:We.items)??[],F=>(ee(),ne("li",{key:F.task_id},[T("strong",null,Y(F.task_id),1),T("span",null,Y(F.status),1)]))),128)),(Ye=i.value)!=null&&Ye.items.length?ut("",!0):(ee(),ne("li",$o,"暂无任务"))])])):ut("",!0),t.value==="settings"?(ee(),ne("section",Ho,[T("div",No,[(ee(!0),ne(he,null,ys(((ze=l.value)==null?void 0:ze.sections)??[],F=>(ee(),ne("article",{key:F.key},[T("h2",null,Y(F.title),1),T("span",null,Y(F.fields.length),1)]))),128))]),T("pre",null,Y(JSON.stringify(((ft=o.value)==null?void 0:ft.config)??{},null,2)),1)])):ut("",!0)],64))]),T("aside",Lo,[x[13]||(x[13]=T("h2",null,"运行",-1)),T("dl",null,[T("div",null,[x[10]||(x[10]=T("dt",null,"Pending",-1)),T("dd",null,Y(((bt=n.value)==null?void 0:bt.queue.pending)??0),1)]),T("div",null,[x[11]||(x[11]=T("dt",null,"Running",-1)),T("dd",null,Y(((Z=n.value)==null?void 0:Z.queue.running)??0),1)]),T("div",null,[x[12]||(x[12]=T("dt",null,"Failed",-1)),T("dd",null,Y(((W=n.value)==null?void 0:W.queue.failed)??0),1)])])])])}}}),Ko=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},Uo=Ko(Bo,[["__scopeId","data-v-34b16aee"]]);bo(Uo).mount("#app");
|