astrbot_plugin_imagestudio/web/assets/index-DKLXPqVI.js

17 行
92 KiB
JavaScript

var Sr=Object.defineProperty;var Cr=(e,t,s)=>t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var Ls=(e,t,s)=>Cr(e,typeof t!="symbol"?t+"":t,s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/**
* @vue/shared v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function dn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const Z={},Pt=[],Ge=()=>{},di=()=>!1,Ts=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),As=e=>e.startsWith("onUpdate:"),he=Object.assign,pn=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Tr=Object.prototype.hasOwnProperty,J=(e,t)=>Tr.call(e,t),L=Array.isArray,Ot=e=>ts(e)==="[object Map]",pi=e=>ts(e)==="[object Set]",Mn=e=>ts(e)==="[object Date]",j=e=>typeof e=="function",oe=e=>typeof e=="string",Je=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",hi=e=>(X(e)||j(e))&&j(e.then)&&j(e.catch),gi=Object.prototype.toString,ts=e=>gi.call(e),Ar=e=>ts(e).slice(8,-1),mi=e=>ts(e)==="[object Object]",hn=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=dn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$s=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},$r=/-\w/g,Ne=$s(e=>e.replace($r,t=>t.slice(1).toUpperCase())),Er=/\B([A-Z])/g,ft=$s(e=>e.replace(Er,"-$1").toLowerCase()),vi=$s(e=>e.charAt(0).toUpperCase()+e.slice(1)),js=$s(e=>e?`on${vi(e)}`:""),We=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},yi=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Rn;const Es=()=>Rn||(Rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xt(e){if(L(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=oe(n)?Ir(n):xt(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(oe(e)||X(e))return e}const kr=/;(?![^(]*\))/g,Pr=/:([^]+)/,Or=/\/\*[^]*?\*\//g;function Ir(e){const t={};return e.replace(Or,"").split(kr).forEach(s=>{if(s){const n=s.split(Pr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ae(e){let t="";if(oe(e))t=e;else if(L(e))for(let s=0;s<e.length;s++){const n=Ae(e[s]);n&&(t+=n+" ")}else if(X(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Mr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rr=dn(Mr);function _i(e){return!!e||e===""}function Nr(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=mn(e[n],t[n]);return s}function mn(e,t){if(e===t)return!0;let s=Mn(e),n=Mn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Je(e),n=Je(t),s||n)return e===t;if(s=L(e),n=L(t),s||n)return s&&n?Nr(e,t):!1;if(s=X(e),n=X(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),u=t.hasOwnProperty(o);if(l&&!u||!l&&u||!mn(e[o],t[o]))return!1}}return String(e)===String(t)}const bi=e=>!!(e&&e.__v_isRef===!0),N=e=>oe(e)?e:e==null?"":L(e)||X(e)&&(e.toString===gi||!j(e.toString))?bi(e)?N(e.value):JSON.stringify(e,wi,2):String(e),wi=(e,t)=>bi(t)?wi(e,t.value):Ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[Hs(n,r)+" =>"]=i,s),{})}:pi(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Hs(s))}:Je(t)?Hs(t):X(t)&&!L(t)&&!mi(t)?String(t):t,Hs=(e,t="")=>{var s;return Je(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 pe;class Fr{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&&pe&&(pe.active?(this.parent=pe,this.index=(pe.scopes||(pe.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=pe;try{return pe=this,t()}finally{pe=s}}}on(){++this._on===1&&(this.prevScope=pe,pe=this)}off(){if(this._on>0&&--this._on===0){if(pe===this)pe=this.prevScope;else{let t=pe;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 i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Dr(){return pe}let te;const qs=new WeakSet;class xi{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,pe&&(pe.active?pe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qs.has(this)&&(qs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ci(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Nn(this),Ti(this);const t=te,s=Fe;te=this,Fe=!0;try{return this.fn()}finally{Ai(this),te=t,Fe=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_n(t);this.deps=this.depsTail=void 0,Nn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Zs(this)&&this.run()}get dirty(){return Zs(this)}}let Si=0,Vt,Bt;function Ci(e,t=!1){if(e.flags|=8,t){e.next=Bt,Bt=e;return}e.next=Vt,Vt=e}function vn(){Si++}function yn(){if(--Si>0)return;if(Bt){let t=Bt;for(Bt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Vt;){let t=Vt;for(Vt=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 Ti(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ai(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),_n(n),Lr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Zs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&($i(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function $i(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Yt)||(e.globalVersion=Yt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Zs(e))))return;e.flags|=2;const t=e.dep,s=te,n=Fe;te=e,Fe=!0;try{Ti(e);const i=e.fn(e._value);(t.version===0||We(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{te=s,Fe=n,Ai(e),e.flags&=-3}}function _n(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)_n(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Lr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Fe=!0;const Ei=[];function ze(){Ei.push(Fe),Fe=!1}function Ye(){const e=Ei.pop();Fe=e===void 0?!0:e}function Nn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=te;te=void 0;try{t()}finally{te=s}}}let Yt=0;class jr{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 bn{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(!te||!Fe||te===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==te)s=this.activeLink=new jr(te,this),te.deps?(s.prevDep=te.depsTail,te.depsTail.nextDep=s,te.depsTail=s):te.deps=te.depsTail=s,ki(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=te.depsTail,s.nextDep=void 0,te.depsTail.nextDep=s,te.depsTail=s,te.deps===s&&(te.deps=n)}return s}trigger(t){this.version++,Yt++,this.notify(t)}notify(t){vn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{yn()}}}function ki(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)ki(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const en=new WeakMap,St=Symbol(""),tn=Symbol(""),Qt=Symbol("");function ye(e,t,s){if(Fe&&te){let n=en.get(e);n||en.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new bn),i.map=n,i.key=s),i.track()}}function nt(e,t,s,n,i,r){const o=en.get(e);if(!o){Yt++;return}const l=u=>{u&&u.trigger()};if(vn(),t==="clear")o.forEach(l);else{const u=L(e),g=u&&hn(s);if(u&&s==="length"){const d=Number(n);o.forEach((y,A)=>{(A==="length"||A===Qt||!Je(A)&&A>=d)&&l(y)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),g&&l(o.get(Qt)),t){case"add":u?g&&l(o.get("length")):(l(o.get(St)),Ot(e)&&l(o.get(tn)));break;case"delete":u||(l(o.get(St)),Ot(e)&&l(o.get(tn)));break;case"set":Ot(e)&&l(o.get(St));break}}yn()}function $t(e){const t=G(e);return t===e?t:(ye(t,"iterate",Qt),Me(e)?t:t.map(De))}function ks(e){return ye(e=G(e),"iterate",Qt),e}function Ve(e,t){return ot(e)?Rt(Ct(e)?De(t):t):De(t)}const Hr={__proto__:null,[Symbol.iterator](){return Ks(this,Symbol.iterator,e=>Ve(this,e))},concat(...e){return $t(this).concat(...e.map(t=>L(t)?$t(t):t))},entries(){return Ks(this,"entries",e=>(e[1]=Ve(this,e[1]),e))},every(e,t){return Ze(this,"every",e,t,void 0,arguments)},filter(e,t){return Ze(this,"filter",e,t,s=>s.map(n=>Ve(this,n)),arguments)},find(e,t){return Ze(this,"find",e,t,s=>Ve(this,s),arguments)},findIndex(e,t){return Ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ze(this,"findLast",e,t,s=>Ve(this,s),arguments)},findLastIndex(e,t){return Ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return Us(this,"includes",e)},indexOf(...e){return Us(this,"indexOf",e)},join(e){return $t(this).join(e)},lastIndexOf(...e){return Us(this,"lastIndexOf",e)},map(e,t){return Ze(this,"map",e,t,void 0,arguments)},pop(){return Dt(this,"pop")},push(...e){return Dt(this,"push",e)},reduce(e,...t){return Fn(this,"reduce",e,t)},reduceRight(e,...t){return Fn(this,"reduceRight",e,t)},shift(){return Dt(this,"shift")},some(e,t){return Ze(this,"some",e,t,void 0,arguments)},splice(...e){return Dt(this,"splice",e)},toReversed(){return $t(this).toReversed()},toSorted(e){return $t(this).toSorted(e)},toSpliced(...e){return $t(this).toSpliced(...e)},unshift(...e){return Dt(this,"unshift",e)},values(){return Ks(this,"values",e=>Ve(this,e))}};function Ks(e,t,s){const n=ks(e),i=n[t]();return n!==e&&!Me(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const qr=Array.prototype;function Ze(e,t,s,n,i,r){const o=ks(e),l=o!==e&&!Me(e),u=o[t];if(u!==qr[t]){const y=u.apply(e,r);return l?De(y):y}let g=s;o!==e&&(l?g=function(y,A){return s.call(this,Ve(e,y),A,e)}:s.length>2&&(g=function(y,A){return s.call(this,y,A,e)}));const d=u.call(o,g,n);return l&&i?i(d):d}function Fn(e,t,s,n){const i=ks(e),r=i!==e&&!Me(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(g,d,y){return l&&(l=!1,g=Ve(e,g)),s.call(this,g,Ve(e,d),y,e)}):s.length>3&&(o=function(g,d,y){return s.call(this,g,d,y,e)}));const u=i[t](o,...n);return l?Ve(e,u):u}function Us(e,t,s){const n=G(e);ye(n,"iterate",Qt);const i=n[t](...s);return(i===-1||i===!1)&&Cn(s[0])?(s[0]=G(s[0]),n[t](...s)):i}function Dt(e,t,s=[]){ze(),vn();const n=G(e)[t].apply(e,s);return yn(),Ye(),n}const Kr=dn("__proto__,__v_isRef,__isVue"),Pi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Je));function Ur(e){Je(e)||(e=String(e));const t=G(this);return ye(t,"has",e),t.hasOwnProperty(e)}class Oi{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Zr:Ni:r?Ri:Mi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=L(t);if(!i){let u;if(o&&(u=Hr[s]))return u;if(s==="hasOwnProperty")return Ur}const l=Reflect.get(t,s,_e(t)?t:n);if((Je(s)?Pi.has(s):Kr(s))||(i||ye(t,"get",s),r))return l;if(_e(l)){const u=o&&hn(s)?l:l.value;return i&&X(u)?nn(u):u}return X(l)?i?nn(l):xn(l):l}}class Ii extends Oi{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=L(t)&&hn(s);if(!this._isShallow){const g=ot(r);if(!Me(n)&&!ot(n)&&(r=G(r),n=G(n)),!o&&_e(r)&&!_e(n))return g||(r.value=n),!0}const l=o?Number(s)<t.length:J(t,s),u=Reflect.set(t,s,n,_e(t)?t:i);return t===G(i)&&u&&(l?We(n,r)&&nt(t,"set",s,n):nt(t,"add",s,n)),u}deleteProperty(t,s){const n=J(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&nt(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Je(s)||!Pi.has(s))&&ye(t,"has",s),n}ownKeys(t){return ye(t,"iterate",L(t)?"length":St),Reflect.ownKeys(t)}}class Vr extends Oi{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Br=new Ii,Wr=new Vr,Gr=new Ii(!0);const sn=e=>e,fs=e=>Reflect.getPrototypeOf(e);function Jr(e,t,s){return function(...n){const i=this.__v_raw,r=G(i),o=Ot(r),l=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,g=i[e](...n),d=s?sn:t?Rt:De;return!t&&ye(r,"iterate",u?tn:St),he(Object.create(g),{next(){const{value:y,done:A}=g.next();return A?{value:y,done:A}:{value:l?[d(y[0]),d(y[1])]:d(y),done:A}}})}}function ds(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function zr(e,t){const s={get(i){const r=this.__v_raw,o=G(r),l=G(i);e||(We(i,l)&&ye(o,"get",i),ye(o,"get",l));const{has:u}=fs(o),g=t?sn:e?Rt:De;if(u.call(o,i))return g(r.get(i));if(u.call(o,l))return g(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ye(G(i),"iterate",St),i.size},has(i){const r=this.__v_raw,o=G(r),l=G(i);return e||(We(i,l)&&ye(o,"has",i),ye(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,u=G(l),g=t?sn:e?Rt:De;return!e&&ye(u,"iterate",St),l.forEach((d,y)=>i.call(r,g(d),g(y),o))}};return he(s,e?{add:ds("add"),set:ds("set"),delete:ds("delete"),clear:ds("clear")}:{add(i){const r=G(this),o=fs(r),l=G(i),u=!t&&!Me(i)&&!ot(i)?l:i;return o.has.call(r,u)||We(i,u)&&o.has.call(r,i)||We(l,u)&&o.has.call(r,l)||(r.add(u),nt(r,"add",u,u)),this},set(i,r){!t&&!Me(r)&&!ot(r)&&(r=G(r));const o=G(this),{has:l,get:u}=fs(o);let g=l.call(o,i);g||(i=G(i),g=l.call(o,i));const d=u.call(o,i);return o.set(i,r),g?We(r,d)&&nt(o,"set",i,r):nt(o,"add",i,r),this},delete(i){const r=G(this),{has:o,get:l}=fs(r);let u=o.call(r,i);u||(i=G(i),u=o.call(r,i)),l&&l.call(r,i);const g=r.delete(i);return u&&nt(r,"delete",i,void 0),g},clear(){const i=G(this),r=i.size!==0,o=i.clear();return r&&nt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=Jr(i,e,t)}),s}function wn(e,t){const s=zr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(J(s,i)&&i in n?s:n,i,r)}const Yr={get:wn(!1,!1)},Qr={get:wn(!1,!0)},Xr={get:wn(!0,!1)};const Mi=new WeakMap,Ri=new WeakMap,Ni=new WeakMap,Zr=new WeakMap;function eo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function xn(e){return ot(e)?e:Sn(e,!1,Br,Yr,Mi)}function to(e){return Sn(e,!1,Gr,Qr,Ri)}function nn(e){return Sn(e,!0,Wr,Xr,Ni)}function Sn(e,t,s,n,i){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const o=eo(Ar(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return i.set(e,l),l}function Ct(e){return ot(e)?Ct(e.__v_raw):!!(e&&e.__v_isReactive)}function ot(e){return!!(e&&e.__v_isReadonly)}function Me(e){return!!(e&&e.__v_isShallow)}function Cn(e){return e?!!e.__v_raw:!1}function G(e){const t=e&&e.__v_raw;return t?G(t):e}function so(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&yi(e,"__v_skip",!0),e}const De=e=>X(e)?xn(e):e,Rt=e=>X(e)?nn(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function re(e){return no(e,!1)}function no(e,t){return _e(e)?e:new io(e,t)}class io{constructor(t,s){this.dep=new bn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:G(t),this._value=s?t:De(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Me(t)||ot(t);t=n?t:G(t),We(t,s)&&(this._rawValue=t,this._value=n?t:De(t),this.dep.trigger())}}function ro(e){return _e(e)?e.value:e}const oo={get:(e,t,s)=>t==="__v_raw"?e:ro(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return _e(i)&&!_e(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function Fi(e){return Ct(e)?e:new Proxy(e,oo)}class lo{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new bn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Yt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return Ci(this,!0),!0}get value(){const t=this.dep.track();return $i(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function ao(e,t,s=!1){let n,i;return j(e)?n=e:(n=e.get,i=e.set),new lo(n,i,s)}const ps={},ys=new WeakMap;let wt;function uo(e,t=!1,s=wt){if(s){let n=ys.get(s);n||ys.set(s,n=[]),n.push(e)}}function co(e,t,s=Z){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:u}=s,g=M=>i?M:Me(M)||i===!1||i===0?it(M,1):it(M);let d,y,A,E,H=!1,F=!1;if(_e(e)?(y=()=>e.value,H=Me(e)):Ct(e)?(y=()=>g(e),H=!0):L(e)?(F=!0,H=e.some(M=>Ct(M)||Me(M)),y=()=>e.map(M=>{if(_e(M))return M.value;if(Ct(M))return g(M);if(j(M))return u?u(M,2):M()})):j(e)?t?y=u?()=>u(e,2):e:y=()=>{if(A){ze();try{A()}finally{Ye()}}const M=wt;wt=d;try{return u?u(e,3,[E]):e(E)}finally{wt=M}}:y=Ge,t&&i){const M=y,ee=i===!0?1/0:i;y=()=>it(M(),ee)}const ne=Dr(),z=()=>{d.stop(),ne&&ne.active&&pn(ne.effects,d)};if(r&&t){const M=t;t=(...ee)=>{const Ce=M(...ee);return z(),Ce}}let D=F?new Array(e.length).fill(ps):ps;const V=M=>{if(!(!(d.flags&1)||!d.dirty&&!M))if(t){const ee=d.run();if(M||i||H||(F?ee.some((Ce,ue)=>We(Ce,D[ue])):We(ee,D))){A&&A();const Ce=wt;wt=d;try{const ue=[ee,D===ps?void 0:F&&D[0]===ps?[]:D,E];D=ee,u?u(t,3,ue):t(...ue)}finally{wt=Ce}}}else d.run()};return l&&l(V),d=new xi(y),d.scheduler=o?()=>o(V,!1):V,E=M=>uo(M,!1,d),A=d.onStop=()=>{const M=ys.get(d);if(M){if(u)u(M,4);else for(const ee of M)ee();ys.delete(d)}},t?n?V(!0):D=d.run():o?o(V.bind(null,!0),!0):d.run(),z.pause=d.pause.bind(d),z.resume=d.resume.bind(d),z.stop=z,z}function it(e,t=1/0,s){if(t<=0||!X(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,_e(e))it(e.value,t,s);else if(L(e))for(let n=0;n<e.length;n++)it(e[n],t,s);else if(pi(e)||Ot(e))e.forEach(n=>{it(n,t,s)});else if(mi(e)){for(const n in e)it(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&it(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ss(e,t,s,n){try{return n?e(...n):e()}catch(i){Ps(i,t,s)}}function Le(e,t,s,n){if(j(e)){const i=ss(e,t,s,n);return i&&hi(i)&&i.catch(r=>{Ps(r,t,s)}),i}if(L(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Le(e[r],t,s,n));return i}}function Ps(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||Z;if(t){let l=t.parent;const u=t.proxy,g=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const d=l.ec;if(d){for(let y=0;y<d.length;y++)if(d[y](e,u,g)===!1)return}l=l.parent}if(r){ze(),ss(r,null,10,[e,u,g]),Ye();return}}fo(e,s,i,n,o)}function fo(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const xe=[];let Ue=-1;const It=[];let ut=null,Et=0;const Di=Promise.resolve();let _s=null;function Li(e){const t=_s||Di;return e?t.then(this?e.bind(this):e):t}function po(e){let t=Ue+1,s=xe.length;for(;t<s;){const n=t+s>>>1,i=xe[n],r=Xt(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function Tn(e){if(!(e.flags&1)){const t=Xt(e),s=xe[xe.length-1];!s||!(e.flags&2)&&t>=Xt(s)?xe.push(e):xe.splice(po(t),0,e),e.flags|=1,ji()}}function ji(){_s||(_s=Di.then(qi))}function ho(e){L(e)?It.push(...e):ut&&e.id===-1?ut.splice(Et+1,0,e):e.flags&1||(It.push(e),e.flags|=1),ji()}function Dn(e,t,s=Ue+1){for(;s<xe.length;s++){const n=xe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;xe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Hi(e){if(It.length){const t=[...new Set(It)].sort((s,n)=>Xt(s)-Xt(n));if(It.length=0,ut){ut.push(...t);return}for(ut=t,Et=0;Et<ut.length;Et++){const s=ut[Et];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ut=null,Et=0}}const Xt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function qi(e){try{for(Ue=0;Ue<xe.length;Ue++){const t=xe[Ue];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ss(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ue<xe.length;Ue++){const t=xe[Ue];t&&(t.flags&=-2)}Ue=-1,xe.length=0,Hi(),_s=null,(xe.length||It.length)&&qi()}}let Ie=null,Ki=null;function bs(e){const t=Ie;return Ie=e,Ki=e&&e.type.__scopeId||null,t}function go(e,t=Ie,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&Jn(-1);const r=bs(t);let o;try{o=e(...i)}finally{bs(r),n._d&&Jn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Vs(e,t){if(Ie===null)return e;const s=Rs(Ie),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,u=Z]=t[i];r&&(j(r)&&(r={mounted:r,updated:r}),r.deep&&it(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:u}))}return e}function _t(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let u=l.dir[n];u&&(ze(),Le(u,s,8,[e.el,l,e,t]),Ye())}}function mo(e,t){if(Se){let s=Se.provides;const n=Se.parent&&Se.parent.provides;n===s&&(s=Se.provides=Object.create(n)),s[e]=t}}function gs(e,t,s=!1){const n=gl();if(n||Mt){let i=Mt?Mt._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&j(t)?t.call(n&&n.proxy):t}}const vo=Symbol.for("v-scx"),yo=()=>gs(vo);function ms(e,t,s){return Ui(e,t,s)}function Ui(e,t,s=Z){const{immediate:n,deep:i,flush:r,once:o}=s,l=he({},s),u=t&&n||!t&&r!=="post";let g;if(es){if(r==="sync"){const E=yo();g=E.__watcherHandles||(E.__watcherHandles=[])}else if(!u){const E=()=>{};return E.stop=Ge,E.resume=Ge,E.pause=Ge,E}}const d=Se;l.call=(E,H,F)=>Le(E,d,H,F);let y=!1;r==="post"?l.scheduler=E=>{Te(E,d&&d.suspense)}:r!=="sync"&&(y=!0,l.scheduler=(E,H)=>{H?E():Tn(E)}),l.augmentJob=E=>{t&&(E.flags|=4),y&&(E.flags|=2,d&&(E.id=d.uid,E.i=d))};const A=co(e,t,l);return es&&(g?g.push(A):u&&A()),A}function _o(e,t,s){const n=this.proxy,i=oe(e)?e.includes(".")?Vi(n,e):()=>n[e]:e.bind(n,n);let r;j(t)?r=t:(r=t.handler,s=t);const o=ns(this),l=Ui(i,r.bind(n),s);return o(),l}function Vi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const bo=Symbol("_vte"),wo=e=>e.__isTeleport,Bs=Symbol("_leaveCb");function An(e,t){e.shapeFlag&6&&e.component?(e.transition=t,An(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 xo(e,t){return j(e)?he({name:e.name},t,{setup:e}):e}function Bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ln(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ws=new WeakMap;function Wt(e,t,s,n,i=!1){if(L(e)){e.forEach((F,ne)=>Wt(F,t&&(L(t)?t[ne]:t),s,n,i));return}if(Gt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Wt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?Rs(n.component):n.el,o=i?null:r,{i:l,r:u}=e,g=t&&t.r,d=l.refs===Z?l.refs={}:l.refs,y=l.setupState,A=G(y),E=y===Z?di:F=>Ln(d,F)?!1:J(A,F),H=(F,ne)=>!(ne&&Ln(d,ne));if(g!=null&&g!==u){if(jn(t),oe(g))d[g]=null,E(g)&&(y[g]=null);else if(_e(g)){const F=t;H(g,F.k)&&(g.value=null),F.k&&(d[F.k]=null)}}if(j(u)){ze();try{ss(u,l,12,[o,d])}finally{Ye()}}else{const F=oe(u),ne=_e(u);if(F||ne){const z=()=>{if(e.f){const D=F?E(u)?y[u]:d[u]:H()||!e.k?u.value:d[e.k];if(i)L(D)&&pn(D,r);else if(L(D))D.includes(r)||D.push(r);else if(F)d[u]=[r],E(u)&&(y[u]=d[u]);else{const V=[r];H(u,e.k)&&(u.value=V),e.k&&(d[e.k]=V)}}else F?(d[u]=o,E(u)&&(y[u]=o)):ne&&(H(u,e.k)&&(u.value=o),e.k&&(d[e.k]=o))};if(o){const D=()=>{z(),ws.delete(e)};D.id=-1,ws.set(e,D),Te(D,s)}else jn(e),z()}}}function jn(e){const t=ws.get(e);t&&(t.flags|=8,ws.delete(e))}Es().requestIdleCallback;Es().cancelIdleCallback;const Gt=e=>!!e.type.__asyncLoader,Wi=e=>e.type.__isKeepAlive;function So(e,t){Gi(e,"a",t)}function Co(e,t){Gi(e,"da",t)}function Gi(e,t,s=Se){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Os(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Wi(i.parent.vnode)&&To(n,t,s,i),i=i.parent}}function To(e,t,s,n){const i=Os(t,e,n,!0);zi(()=>{pn(n[t],i)},s)}function Os(e,t,s=Se,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{ze();const l=ns(s),u=Le(t,s,e,o);return l(),Ye(),u});return n?i.unshift(r):i.push(r),r}}const lt=e=>(t,s=Se)=>{(!es||e==="sp")&&Os(e,(...n)=>t(...n),s)},Ao=lt("bm"),Ji=lt("m"),$o=lt("bu"),Eo=lt("u"),ko=lt("bum"),zi=lt("um"),Po=lt("sp"),Oo=lt("rtg"),Io=lt("rtc");function Mo(e,t=Se){Os("ec",e,t)}const Ro=Symbol.for("v-ndc");function ve(e,t,s,n){let i;const r=s,o=L(e);if(o||oe(e)){const l=o&&Ct(e);let u=!1,g=!1;l&&(u=!Me(e),g=ot(e),e=ks(e)),i=new Array(e.length);for(let d=0,y=e.length;d<y;d++)i[d]=t(u?g?Rt(De(e[d])):De(e[d]):e[d],d,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(X(e))if(e[Symbol.iterator])i=Array.from(e,(l,u)=>t(l,u,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let u=0,g=l.length;u<g;u++){const d=l[u];i[u]=t(e[d],d,u,r)}}else i=[];return i}const rn=e=>e?mr(e)?Rs(e):rn(e.parent):null,Jt=he(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>rn(e.parent),$root:e=>rn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qi(e),$forceUpdate:e=>e.f||(e.f=()=>{Tn(e.update)}),$nextTick:e=>e.n||(e.n=Li.bind(e.proxy)),$watch:e=>_o.bind(e)}),Ws=(e,t)=>e!==Z&&!e.__isScriptSetup&&J(e,t),No={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:u}=e;if(t[0]!=="$"){const A=o[t];if(A!==void 0)switch(A){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Ws(n,t))return o[t]=1,n[t];if(i!==Z&&J(i,t))return o[t]=2,i[t];if(J(r,t))return o[t]=3,r[t];if(s!==Z&&J(s,t))return o[t]=4,s[t];on&&(o[t]=0)}}const g=Jt[t];let d,y;if(g)return t==="$attrs"&&ye(e.attrs,"get",""),g(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(s!==Z&&J(s,t))return o[t]=4,s[t];if(y=u.config.globalProperties,J(y,t))return y[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Ws(i,t)?(i[t]=s,!0):n!==Z&&J(n,t)?(n[t]=s,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let u;return!!(s[l]||e!==Z&&l[0]!=="$"&&J(e,l)||Ws(t,l)||J(r,l)||J(n,l)||J(Jt,l)||J(i.config.globalProperties,l)||(u=o.__cssModules)&&u[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:J(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Hn(e){return L(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let on=!0;function Fo(e){const t=Qi(e),s=e.proxy,n=e.ctx;on=!1,t.beforeCreate&&qn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:u,inject:g,created:d,beforeMount:y,mounted:A,beforeUpdate:E,updated:H,activated:F,deactivated:ne,beforeDestroy:z,beforeUnmount:D,destroyed:V,unmounted:M,render:ee,renderTracked:Ce,renderTriggered:ue,errorCaptured:$e,serverPrefetch:je,expose:Re,inheritAttrs:ge,components:dt,directives:Tt,filters:pt}=t;if(g&&Do(g,n,null),o)for(const Q in o){const Y=o[Q];j(Y)&&(n[Q]=Y.bind(s))}if(i){const Q=i.call(s,s);X(Q)&&(e.data=xn(Q))}if(on=!0,r)for(const Q in r){const Y=r[Q],Qe=j(Y)?Y.bind(s,s):j(Y.get)?Y.get.bind(s,s):Ge,At=!j(Y)&&j(Y.set)?Y.set.bind(s):Ge,qe=ce({get:Qe,set:At});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>qe.value,set:Ee=>qe.value=Ee})}if(l)for(const Q in l)Yi(l[Q],n,s,Q);if(u){const Q=j(u)?u.call(s):u;Reflect.ownKeys(Q).forEach(Y=>{mo(Y,Q[Y])})}d&&qn(d,e,"c");function fe(Q,Y){L(Y)?Y.forEach(Qe=>Q(Qe.bind(s))):Y&&Q(Y.bind(s))}if(fe(Ao,y),fe(Ji,A),fe($o,E),fe(Eo,H),fe(So,F),fe(Co,ne),fe(Mo,$e),fe(Io,Ce),fe(Oo,ue),fe(ko,D),fe(zi,M),fe(Po,je),L(Re))if(Re.length){const Q=e.exposed||(e.exposed={});Re.forEach(Y=>{Object.defineProperty(Q,Y,{get:()=>s[Y],set:Qe=>s[Y]=Qe,enumerable:!0})})}else e.exposed||(e.exposed={});ee&&e.render===Ge&&(e.render=ee),ge!=null&&(e.inheritAttrs=ge),dt&&(e.components=dt),Tt&&(e.directives=Tt),je&&Bi(e)}function Do(e,t,s=Ge){L(e)&&(e=ln(e));for(const n in e){const i=e[n];let r;X(i)?"default"in i?r=gs(i.from||n,i.default,!0):r=gs(i.from||n):r=gs(i),_e(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function qn(e,t,s){Le(L(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Yi(e,t,s,n){let i=n.includes(".")?Vi(s,n):()=>s[n];if(oe(e)){const r=t[e];j(r)&&ms(i,r)}else if(j(e))ms(i,e.bind(s));else if(X(e))if(L(e))e.forEach(r=>Yi(r,t,s,n));else{const r=j(e.handler)?e.handler.bind(s):t[e.handler];j(r)&&ms(i,r,e)}}function Qi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let u;return l?u=l:!i.length&&!s&&!n?u=t:(u={},i.length&&i.forEach(g=>xs(u,g,o,!0)),xs(u,t,o)),X(t)&&r.set(t,u),u}function xs(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&xs(e,r,s,!0),i&&i.forEach(o=>xs(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=Lo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Lo={data:Kn,props:Un,emits:Un,methods:qt,computed:qt,beforeCreate:we,created:we,beforeMount:we,mounted:we,beforeUpdate:we,updated:we,beforeDestroy:we,beforeUnmount:we,destroyed:we,unmounted:we,activated:we,deactivated:we,errorCaptured:we,serverPrefetch:we,components:qt,directives:qt,watch:Ho,provide:Kn,inject:jo};function Kn(e,t){return t?e?function(){return he(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function jo(e,t){return qt(ln(e),ln(t))}function ln(e){if(L(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function we(e,t){return e?[...new Set([].concat(e,t))]:t}function qt(e,t){return e?he(Object.create(null),e,t):t}function Un(e,t){return e?L(e)&&L(t)?[...new Set([...e,...t])]:he(Object.create(null),Hn(e),Hn(t??{})):t}function Ho(e,t){if(!e)return t;if(!t)return e;const s=he(Object.create(null),e);for(const n in t)s[n]=we(e[n],t[n]);return s}function Xi(){return{app:null,config:{isNativeTag:di,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 qo=0;function Ko(e,t){return function(n,i=null){j(n)||(n=he({},n)),i!=null&&!X(i)&&(i=null);const r=Xi(),o=new WeakSet,l=[];let u=!1;const g=r.app={_uid:qo++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:wl,get config(){return r.config},set config(d){},use(d,...y){return o.has(d)||(d&&j(d.install)?(o.add(d),d.install(g,...y)):j(d)&&(o.add(d),d(g,...y))),g},mixin(d){return r.mixins.includes(d)||r.mixins.push(d),g},component(d,y){return y?(r.components[d]=y,g):r.components[d]},directive(d,y){return y?(r.directives[d]=y,g):r.directives[d]},mount(d,y,A){if(!u){const E=g._ceVNode||rt(n,i);return E.appContext=r,A===!0?A="svg":A===!1&&(A=void 0),e(E,d,A),u=!0,g._container=d,d.__vue_app__=g,Rs(E.component)}},onUnmount(d){l.push(d)},unmount(){u&&(Le(l,g._instance,16),e(null,g._container),delete g._container.__vue_app__)},provide(d,y){return r.provides[d]=y,g},runWithContext(d){const y=Mt;Mt=g;try{return d()}finally{Mt=y}}};return g}}let Mt=null;const Uo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${ft(t)}Modifiers`];function Vo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Z;let i=s;const r=t.startsWith("update:"),o=r&&Uo(n,t.slice(7));o&&(o.trim&&(i=s.map(d=>oe(d)?d.trim():d)),o.number&&(i=s.map(gn)));let l,u=n[l=js(t)]||n[l=js(Ne(t))];!u&&r&&(u=n[l=js(ft(t))]),u&&Le(u,e,6,i);const g=n[l+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Le(g,e,6,i)}}const Bo=new WeakMap;function Zi(e,t,s=!1){const n=s?Bo:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!j(e)){const u=g=>{const d=Zi(g,t,!0);d&&(l=!0,he(o,d))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!l?(X(e)&&n.set(e,null),null):(L(r)?r.forEach(u=>o[u]=null):he(o,r),X(e)&&n.set(e,o),o)}function Is(e,t){return!e||!Ts(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,ft(t))||J(e,t))}function Vn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:u,render:g,renderCache:d,props:y,data:A,setupState:E,ctx:H,inheritAttrs:F}=e,ne=bs(e);let z,D;try{if(s.shapeFlag&4){const M=i||n,ee=M;z=Be(g.call(ee,M,d,y,E,A,H)),D=l}else{const M=t;z=Be(M.length>1?M(y,{attrs:l,slots:o,emit:u}):M(y,null)),D=t.props?l:Wo(l)}}catch(M){zt.length=0,Ps(M,e,1),z=rt(ct)}let V=z;if(D&&F!==!1){const M=Object.keys(D),{shapeFlag:ee}=V;M.length&&ee&7&&(r&&M.some(As)&&(D=Go(D,r)),V=Nt(V,D,!1,!0))}return s.dirs&&(V=Nt(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(s.dirs):s.dirs),s.transition&&An(V,s.transition),z=V,bs(ne),z}const Wo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Ts(s))&&((t||(t={}))[s]=e[s]);return t},Go=(e,t)=>{const s={};for(const n in e)(!As(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Jo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:u}=t,g=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?Bn(n,o,g):!!o;if(u&8){const d=t.dynamicProps;for(let y=0;y<d.length;y++){const A=d[y];if(er(o,n,A)&&!Is(g,A))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Bn(n,o,g):!0:!!o;return!1}function Bn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(er(t,e,r)&&!Is(s,r))return!0}return!1}function er(e,t,s){const n=e[s],i=t[s];return s==="style"&&X(n)&&X(i)?!mn(n,i):n!==i}function zo({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const tr={},sr=()=>Object.create(tr),nr=e=>Object.getPrototypeOf(e)===tr;function Yo(e,t,s,n=!1){const i={},r=sr();e.propsDefaults=Object.create(null),ir(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:to(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Qo(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=G(i),[u]=e.propsOptions;let g=!1;if((n||o>0)&&!(o&16)){if(o&8){const d=e.vnode.dynamicProps;for(let y=0;y<d.length;y++){let A=d[y];if(Is(e.emitsOptions,A))continue;const E=t[A];if(u)if(J(r,A))E!==r[A]&&(r[A]=E,g=!0);else{const H=Ne(A);i[H]=an(u,l,H,E,e,!1)}else E!==r[A]&&(r[A]=E,g=!0)}}}else{ir(e,t,i,r)&&(g=!0);let d;for(const y in l)(!t||!J(t,y)&&((d=ft(y))===y||!J(t,d)))&&(u?s&&(s[y]!==void 0||s[d]!==void 0)&&(i[y]=an(u,l,y,void 0,e,!0)):delete i[y]);if(r!==l)for(const y in r)(!t||!J(t,y))&&(delete r[y],g=!0)}g&&nt(e.attrs,"set","")}function ir(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let u in t){if(Ut(u))continue;const g=t[u];let d;i&&J(i,d=Ne(u))?!r||!r.includes(d)?s[d]=g:(l||(l={}))[d]=g:Is(e.emitsOptions,u)||(!(u in n)||g!==n[u])&&(n[u]=g,o=!0)}if(r){const u=G(s),g=l||Z;for(let d=0;d<r.length;d++){const y=r[d];s[y]=an(i,u,y,g[y],e,!J(g,y))}}return o}function an(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=J(o,"default");if(l&&n===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&j(u)){const{propsDefaults:g}=i;if(s in g)n=g[s];else{const d=ns(i);n=g[s]=u.call(null,t),d()}}else n=u;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===ft(s))&&(n=!0))}return n}const Xo=new WeakMap;function rr(e,t,s=!1){const n=s?Xo:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let u=!1;if(!j(e)){const d=y=>{u=!0;const[A,E]=rr(y,t,!0);he(o,A),E&&l.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!r&&!u)return X(e)&&n.set(e,Pt),Pt;if(L(r))for(let d=0;d<r.length;d++){const y=Ne(r[d]);Wn(y)&&(o[y]=Z)}else if(r)for(const d in r){const y=Ne(d);if(Wn(y)){const A=r[d],E=o[y]=L(A)||j(A)?{type:A}:he({},A),H=E.type;let F=!1,ne=!0;if(L(H))for(let z=0;z<H.length;++z){const D=H[z],V=j(D)&&D.name;if(V==="Boolean"){F=!0;break}else V==="String"&&(ne=!1)}else F=j(H)&&H.name==="Boolean";E[0]=F,E[1]=ne,(F||J(E,"default"))&&l.push(y)}}const g=[o,l];return X(e)&&n.set(e,g),g}function Wn(e){return e[0]!=="$"&&!Ut(e)}const $n=e=>e==="_"||e==="_ctx"||e==="$stable",En=e=>L(e)?e.map(Be):[Be(e)],Zo=(e,t,s)=>{if(t._n)return t;const n=go((...i)=>En(t(...i)),s);return n._c=!1,n},or=(e,t,s)=>{const n=e._ctx;for(const i in e){if($n(i))continue;const r=e[i];if(j(r))t[i]=Zo(i,r,n);else if(r!=null){const o=En(r);t[i]=()=>o}}},lr=(e,t)=>{const s=En(t);e.slots.default=()=>s},ar=(e,t,s)=>{for(const n in t)(s||!$n(n))&&(e[n]=t[n])},el=(e,t,s)=>{const n=e.slots=sr();if(e.vnode.shapeFlag&32){const i=t._;i?(ar(n,t,s),s&&yi(n,"_",i,!0)):or(t,n)}else t&&lr(e,t)},tl=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=Z;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:ar(i,t,s):(r=!t.$stable,or(t,i)),o=t}else t&&(lr(e,t),o={default:1});if(r)for(const l in i)!$n(l)&&o[l]==null&&delete i[l]},Te=ol;function sl(e){return nl(e)}function nl(e,t){const s=Es();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:u,setText:g,setElementText:d,parentNode:y,nextSibling:A,setScopeId:E=Ge,insertStaticContent:H}=e,F=(a,f,m,x=null,_=null,b=null,T=void 0,C=null,S=!!f.dynamicChildren)=>{if(a===f)return;a&&!Lt(a,f)&&(x=gt(a),Ee(a,_,b,!0),a=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:w,ref:I,shapeFlag:$}=f;switch(w){case Ms:ne(a,f,m,x);break;case ct:z(a,f,m,x);break;case Js:a==null&&D(f,m,x,T);break;case se:dt(a,f,m,x,_,b,T,C,S);break;default:$&1?ee(a,f,m,x,_,b,T,C,S):$&6?Tt(a,f,m,x,_,b,T,C,S):($&64||$&128)&&w.process(a,f,m,x,_,b,T,C,S,vt)}I!=null&&_?Wt(I,a&&a.ref,b,f||a,!f):I==null&&a&&a.ref!=null&&Wt(a.ref,null,b,a,!0)},ne=(a,f,m,x)=>{if(a==null)n(f.el=l(f.children),m,x);else{const _=f.el=a.el;f.children!==a.children&&g(_,f.children)}},z=(a,f,m,x)=>{a==null?n(f.el=u(f.children||""),m,x):f.el=a.el},D=(a,f,m,x)=>{[a.el,a.anchor]=H(a.children,f,m,x,a.el,a.anchor)},V=({el:a,anchor:f},m,x)=>{let _;for(;a&&a!==f;)_=A(a),n(a,m,x),a=_;n(f,m,x)},M=({el:a,anchor:f})=>{let m;for(;a&&a!==f;)m=A(a),i(a),a=m;i(f)},ee=(a,f,m,x,_,b,T,C,S)=>{if(f.type==="svg"?T="svg":f.type==="math"&&(T="mathml"),a==null)Ce(f,m,x,_,b,T,C,S);else{const w=a.el&&a.el._isVueCE?a.el:null;try{w&&w._beginPatch(),je(a,f,_,b,T,C,S)}finally{w&&w._endPatch()}}},Ce=(a,f,m,x,_,b,T,C)=>{let S,w;const{props:I,shapeFlag:$,transition:k,dirs:R}=a;if(S=a.el=o(a.type,b,I&&I.is,I),$&8?d(S,a.children):$&16&&$e(a.children,S,null,x,_,Gs(a,b),T,C),R&&_t(a,null,x,"created"),ue(S,a,a.scopeId,T,x),I){for(const B in I)B!=="value"&&!Ut(B)&&r(S,B,null,I[B],b,x);"value"in I&&r(S,"value",null,I.value,b),(w=I.onVnodeBeforeMount)&&Ke(w,x,a)}R&&_t(a,null,x,"beforeMount");const U=il(_,k);U&&k.beforeEnter(S),n(S,f,m),((w=I&&I.onVnodeMounted)||U||R)&&Te(()=>{try{w&&Ke(w,x,a),U&&k.enter(S),R&&_t(a,null,x,"mounted")}finally{}},_)},ue=(a,f,m,x,_)=>{if(m&&E(a,m),x)for(let b=0;b<x.length;b++)E(a,x[b]);if(_){let b=_.subTree;if(f===b||dr(b.type)&&(b.ssContent===f||b.ssFallback===f)){const T=_.vnode;ue(a,T,T.scopeId,T.slotScopeIds,_.parent)}}},$e=(a,f,m,x,_,b,T,C,S=0)=>{for(let w=S;w<a.length;w++){const I=a[w]=C?st(a[w]):Be(a[w]);F(null,I,f,m,x,_,b,T,C)}},je=(a,f,m,x,_,b,T)=>{const C=f.el=a.el;let{patchFlag:S,dynamicChildren:w,dirs:I}=f;S|=a.patchFlag&16;const $=a.props||Z,k=f.props||Z;let R;if(m&&bt(m,!1),(R=k.onVnodeBeforeUpdate)&&Ke(R,m,f,a),I&&_t(f,a,m,"beforeUpdate"),m&&bt(m,!0),w&&(!a.dynamicChildren||a.dynamicChildren.length!==w.length)&&(S=0,T=!1,w=null),($.innerHTML&&k.innerHTML==null||$.textContent&&k.textContent==null)&&d(C,""),w?Re(a.dynamicChildren,w,C,m,x,Gs(f,_),b):T||Y(a,f,C,null,m,x,Gs(f,_),b,!1),S>0){if(S&16)ge(C,$,k,m,_);else if(S&2&&$.class!==k.class&&r(C,"class",null,k.class,_),S&4&&r(C,"style",$.style,k.style,_),S&8){const U=f.dynamicProps;for(let B=0;B<U.length;B++){const W=U[B],ie=$[W],le=k[W];(le!==ie||W==="value")&&r(C,W,ie,le,_,m)}}S&1&&a.children!==f.children&&d(C,f.children)}else!T&&w==null&&ge(C,$,k,m,_);((R=k.onVnodeUpdated)||I)&&Te(()=>{R&&Ke(R,m,f,a),I&&_t(f,a,m,"updated")},x)},Re=(a,f,m,x,_,b,T)=>{for(let C=0;C<f.length;C++){const S=a[C],w=f[C],I=S.el&&(S.type===se||!Lt(S,w)||S.shapeFlag&198)?y(S.el):m;F(S,w,I,null,x,_,b,T,!0)}},ge=(a,f,m,x,_)=>{if(f!==m){if(f!==Z)for(const b in f)!Ut(b)&&!(b in m)&&r(a,b,f[b],null,_,x);for(const b in m){if(Ut(b))continue;const T=m[b],C=f[b];T!==C&&b!=="value"&&r(a,b,C,T,_,x)}"value"in m&&r(a,"value",f.value,m.value,_)}},dt=(a,f,m,x,_,b,T,C,S)=>{const w=f.el=a?a.el:l(""),I=f.anchor=a?a.anchor:l("");let{patchFlag:$,dynamicChildren:k,slotScopeIds:R}=f;R&&(C=C?C.concat(R):R),a==null?(n(w,m,x),n(I,m,x),$e(f.children||[],m,I,_,b,T,C,S)):$>0&&$&64&&k&&a.dynamicChildren&&a.dynamicChildren.length===k.length?(Re(a.dynamicChildren,k,m,_,b,T,C),(f.key!=null||_&&f===_.subTree)&&ur(a,f,!0)):Y(a,f,m,I,_,b,T,C,S)},Tt=(a,f,m,x,_,b,T,C,S)=>{f.slotScopeIds=C,a==null?f.shapeFlag&512?_.ctx.activate(f,m,x,T,S):pt(f,m,x,_,b,T,S):He(a,f,S)},pt=(a,f,m,x,_,b,T)=>{const C=a.component=hl(a,x,_);if(Wi(a)&&(C.ctx.renderer=vt),ml(C,!1,T),C.asyncDep){if(_&&_.registerDep(C,fe,T),!a.el){const S=C.subTree=rt(ct);z(null,S,f,m),a.placeholder=S.el}}else fe(C,a,f,m,_,b,T)},He=(a,f,m)=>{const x=f.component=a.component;if(Jo(a,f,m))if(x.asyncDep&&!x.asyncResolved){Q(x,f,m);return}else x.next=f,x.update();else f.el=a.el,x.vnode=f},fe=(a,f,m,x,_,b,T)=>{const C=()=>{if(a.isMounted){let{next:$,bu:k,u:R,parent:U,vnode:B}=a;{const de=cr(a);if(de){$&&($.el=B.el,Q(a,$,T)),de.asyncDep.then(()=>{Te(()=>{a.isUnmounted||w()},_)});return}}let W=$,ie;bt(a,!1),$?($.el=B.el,Q(a,$,T)):$=B,k&&hs(k),(ie=$.props&&$.props.onVnodeBeforeUpdate)&&Ke(ie,U,$,B),bt(a,!0);const le=Vn(a),Pe=a.subTree;a.subTree=le,F(Pe,le,y(Pe.el),gt(Pe),a,_,b),$.el=le.el,W===null&&zo(a,le.el),R&&Te(R,_),(ie=$.props&&$.props.onVnodeUpdated)&&Te(()=>Ke(ie,U,$,B),_)}else{let $;const{el:k,props:R}=f,{bm:U,m:B,parent:W,root:ie,type:le}=a,Pe=Gt(f);bt(a,!1),U&&hs(U),!Pe&&($=R&&R.onVnodeBeforeMount)&&Ke($,W,f),bt(a,!0);{ie.ce&&ie.ce._hasShadowRoot()&&ie.ce._injectChildStyle(le,a.parent?a.parent.type:void 0);const de=a.subTree=Vn(a);F(null,de,m,x,a,_,b),f.el=de.el}if(B&&Te(B,_),!Pe&&($=R&&R.onVnodeMounted)){const de=f;Te(()=>Ke($,W,de),_)}(f.shapeFlag&256||W&&Gt(W.vnode)&&W.vnode.shapeFlag&256)&&a.a&&Te(a.a,_),a.isMounted=!0,f=m=x=null}};a.scope.on();const S=a.effect=new xi(C);a.scope.off();const w=a.update=S.run.bind(S),I=a.job=S.runIfDirty.bind(S);I.i=a,I.id=a.uid,S.scheduler=()=>Tn(I),bt(a,!0),w()},Q=(a,f,m)=>{f.component=a;const x=a.vnode.props;a.vnode=f,a.next=null,Qo(a,f.props,x,m),tl(a,f.children,m),ze(),Dn(a),Ye()},Y=(a,f,m,x,_,b,T,C,S=!1)=>{const w=a&&a.children,I=a?a.shapeFlag:0,$=f.children,{patchFlag:k,shapeFlag:R}=f;if(k>0){if(k&128){At(w,$,m,x,_,b,T,C,S);return}else if(k&256){Qe(w,$,m,x,_,b,T,C,S);return}}R&8?(I&16&&Xe(w,_,b),$!==w&&d(m,$)):I&16?R&16?At(w,$,m,x,_,b,T,C,S):Xe(w,_,b,!0):(I&8&&d(m,""),R&16&&$e($,m,x,_,b,T,C,S))},Qe=(a,f,m,x,_,b,T,C,S)=>{a=a||Pt,f=f||Pt;const w=a.length,I=f.length,$=Math.min(w,I);let k;for(k=0;k<$;k++){const R=f[k]=S?st(f[k]):Be(f[k]);F(a[k],R,m,null,_,b,T,C,S)}w>I?Xe(a,_,b,!0,!1,$):$e(f,m,x,_,b,T,C,S,$)},At=(a,f,m,x,_,b,T,C,S)=>{let w=0;const I=f.length;let $=a.length-1,k=I-1;for(;w<=$&&w<=k;){const R=a[w],U=f[w]=S?st(f[w]):Be(f[w]);if(Lt(R,U))F(R,U,m,null,_,b,T,C,S);else break;w++}for(;w<=$&&w<=k;){const R=a[$],U=f[k]=S?st(f[k]):Be(f[k]);if(Lt(R,U))F(R,U,m,null,_,b,T,C,S);else break;$--,k--}if(w>$){if(w<=k){const R=k+1,U=R<I?f[R].el:x;for(;w<=k;)F(null,f[w]=S?st(f[w]):Be(f[w]),m,U,_,b,T,C,S),w++}}else if(w>k)for(;w<=$;)Ee(a[w],_,b,!0),w++;else{const R=w,U=w,B=new Map;for(w=U;w<=k;w++){const me=f[w]=S?st(f[w]):Be(f[w]);me.key!=null&&B.set(me.key,w)}let W,ie=0;const le=k-U+1;let Pe=!1,de=0;const yt=new Array(le);for(w=0;w<le;w++)yt[w]=0;for(w=R;w<=$;w++){const me=a[w];if(ie>=le){Ee(me,_,b,!0);continue}let Oe;if(me.key!=null)Oe=B.get(me.key);else for(W=U;W<=k;W++)if(yt[W-U]===0&&Lt(me,f[W])){Oe=W;break}Oe===void 0?Ee(me,_,b,!0):(yt[Oe-U]=w+1,Oe>=de?de=Oe:Pe=!0,F(me,f[Oe],m,null,_,b,T,C,S),ie++)}const Ft=Pe?rl(yt):Pt;for(W=Ft.length-1,w=le-1;w>=0;w--){const me=U+w,Oe=f[me],ls=f[me+1],as=me+1<I?ls.el||fr(ls):x;yt[w]===0?F(null,Oe,m,as,_,b,T,C,S):Pe&&(W<0||w!==Ft[W]?qe(Oe,m,as,2):W--)}}},qe=(a,f,m,x,_=null)=>{const{el:b,type:T,transition:C,children:S,shapeFlag:w}=a;if(w&6){qe(a.component.subTree,f,m,x);return}if(w&128){a.suspense.move(f,m,x);return}if(w&64){T.move(a,f,m,vt);return}if(T===se){n(b,f,m);for(let $=0;$<S.length;$++)qe(S[$],f,m,x);n(a.anchor,f,m);return}if(T===Js){V(a,f,m);return}if(x!==2&&w&1&&C)if(x===0)C.persisted&&!b[Bs]?n(b,f,m):(C.beforeEnter(b),n(b,f,m),Te(()=>C.enter(b),_));else{const{leave:$,delayLeave:k,afterLeave:R}=C,U=()=>{a.ctx.isUnmounted?i(b):n(b,f,m)},B=()=>{const W=b._isLeaving||!!b[Bs];b._isLeaving&&b[Bs](!0),C.persisted&&!W?U():$(b,()=>{U(),R&&R()})};k?k(b,U,B):B()}else n(b,f,m)},Ee=(a,f,m,x=!1,_=!1)=>{const{type:b,props:T,ref:C,children:S,dynamicChildren:w,shapeFlag:I,patchFlag:$,dirs:k,cacheIndex:R,memo:U}=a;if($===-2&&(_=!1),C!=null&&(ze(),Wt(C,null,m,a,!0),Ye()),R!=null&&(f.renderCache[R]=void 0),I&256){f.ctx.deactivate(a);return}const B=I&1&&k,W=!Gt(a);let ie;if(W&&(ie=T&&T.onVnodeBeforeUnmount)&&Ke(ie,f,a),I&6)rs(a.component,m,x);else{if(I&128){a.suspense.unmount(m,x);return}B&&_t(a,null,f,"beforeUnmount"),I&64?a.type.remove(a,f,m,vt,x):w&&!w.hasOnce&&(b!==se||$>0&&$&64)?Xe(w,f,m,!1,!0):(b===se&&$&384||!_&&I&16)&&Xe(S,f,m),x&&is(a)}const le=U!=null&&R==null;(W&&(ie=T&&T.onVnodeUnmounted)||B||le)&&Te(()=>{ie&&Ke(ie,f,a),B&&_t(a,null,f,"unmounted"),le&&(a.el=null)},m)},is=a=>{const{type:f,el:m,anchor:x,transition:_}=a;if(f===se){ht(m,x);return}if(f===Js){M(a);return}const b=()=>{i(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(a.shapeFlag&1&&_&&!_.persisted){const{leave:T,delayLeave:C}=_,S=()=>T(m,b);C?C(a.el,b,S):S()}else b()},ht=(a,f)=>{let m;for(;a!==f;)m=A(a),i(a),a=m;i(f)},rs=(a,f,m)=>{const{bum:x,scope:_,job:b,subTree:T,um:C,m:S,a:w}=a;Gn(S),Gn(w),x&&hs(x),_.stop(),b&&(b.flags|=8,Ee(T,a,f,m)),C&&Te(C,f),Te(()=>{a.isUnmounted=!0},f)},Xe=(a,f,m,x=!1,_=!1,b=0)=>{for(let T=b;T<a.length;T++)Ee(a[T],f,m,x,_)},gt=a=>{if(a.shapeFlag&6)return gt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const f=A(a.anchor||a.el),m=f&&f[bo];return m?A(m):f};let mt=!1;const os=(a,f,m)=>{let x;a==null?f._vnode&&(Ee(f._vnode,null,null,!0),x=f._vnode.component):F(f._vnode||null,a,f,null,null,null,m),f._vnode=a,mt||(mt=!0,Dn(x),Hi(),mt=!1)},vt={p:F,um:Ee,m:qe,r:is,mt:pt,mc:$e,pc:Y,pbc:Re,n:gt,o:e};return{render:os,hydrate:void 0,createApp:Ko(os)}}function Gs({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 bt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function il(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ur(e,t,s=!1){const n=e.children,i=t.children;if(L(n)&&L(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=st(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&ur(o,l)),l.type===Ms&&(l.patchFlag===-1&&(l=i[r]=st(l)),l.el=o.el),l.type===ct&&!l.el&&(l.el=o.el)}}function rl(e){const t=e.slice(),s=[0];let n,i,r,o,l;const u=e.length;for(n=0;n<u;n++){const g=e[n];if(g!==0){if(i=s[s.length-1],e[i]<g){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<g?r=l+1:o=l;g<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function cr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:cr(t)}function Gn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function fr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?fr(t.subTree):null}const dr=e=>e.__isSuspense;function ol(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):ho(e)}const se=Symbol.for("v-fgt"),Ms=Symbol.for("v-txt"),ct=Symbol.for("v-cmt"),Js=Symbol.for("v-stc"),zt=[];let ke=null;function P(e=!1){zt.push(ke=e?null:[])}function ll(){zt.pop(),ke=zt[zt.length-1]||null}let Zt=1;function Jn(e,t=!1){Zt+=e,e<0&&ke&&t&&(ke.hasOnce=!0)}function pr(e){return e.dynamicChildren=Zt>0?ke||Pt:null,ll(),Zt>0&&ke&&ke.push(e),e}function O(e,t,s,n,i,r){return pr(p(e,t,s,n,i,r,!0))}function al(e,t,s,n,i){return pr(rt(e,t,s,n,i,!0))}function hr(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const gr=({key:e})=>e??null,vs=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||_e(e)||j(e)?{i:Ie,r:e,k:t,f:!!s}:e:null);function p(e,t=null,s=null,n=0,i=null,r=e===se?0:1,o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&gr(t),ref:t&&vs(t),scopeId:Ki,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:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ie};return l?(Ss(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=oe(s)?8:16),Zt>0&&!o&&ke&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&ke.push(u),u}const rt=ul;function ul(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===Ro)&&(e=ct),hr(e)){const l=Nt(e,t,!0);return s&&Ss(l,s),Zt>0&&!r&&ke&&(l.shapeFlag&6?ke[ke.indexOf(e)]=l:ke.push(l)),l.patchFlag=-2,l}if(bl(e)&&(e=e.__vccOpts),t){t=cl(t);let{class:l,style:u}=t;l&&!oe(l)&&(t.class=Ae(l)),X(u)&&(Cn(u)&&!L(u)&&(u=he({},u)),t.style=xt(u))}const o=oe(e)?1:dr(e)?128:wo(e)?64:X(e)?4:j(e)?2:0;return p(e,t,s,n,i,o,r,!0)}function cl(e){return e?Cn(e)||nr(e)?he({},e):e:null}function Nt(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:u}=e,g=t?fl(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&gr(g),ref:t&&t.ref?s&&r?L(r)?r.concat(vs(t)):[r,vs(t)]:vs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Nt(e.ssContent),ssFallback:e.ssFallback&&Nt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&An(d,u.clone(d)),d}function un(e=" ",t=0){return rt(Ms,null,e,t)}function et(e="",t=!1){return t?(P(),al(ct,null,e)):rt(ct,null,e)}function Be(e){return e==null||typeof e=="boolean"?rt(ct):L(e)?rt(se,null,e.slice()):hr(e)?st(e):rt(Ms,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Nt(e)}function Ss(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(L(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Ss(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!nr(t)?t._ctx=Ie:i===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(j(t)){if(n&65){Ss(e,{default:t});return}t={default:t,_ctx:Ie},s=32}else t=String(t),n&64?(s=16,t=[un(t)]):s=8;e.children=t,e.shapeFlag|=s}function fl(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Ae([t.class,n.class]));else if(i==="style")t.style=xt([t.style,n.style]);else if(Ts(i)){const r=t[i],o=n[i];o&&r!==o&&!(L(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!As(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function Ke(e,t,s,n=null){Le(e,t,7,[s,n])}const dl=Xi();let pl=0;function hl(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||dl,r={uid:pl++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Fr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:rr(n,i),emitsOptions:Zi(n,i),emit:null,emitted:null,propsDefaults:Z,inheritAttrs:n.inheritAttrs,ctx:Z,data:Z,props:Z,attrs:Z,slots:Z,refs:Z,setupState:Z,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=Vo.bind(null,r),e.ce&&e.ce(r),r}let Se=null;const gl=()=>Se||Ie;let Cs,cn;{const e=Es(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Cs=t("__VUE_INSTANCE_SETTERS__",s=>Se=s),cn=t("__VUE_SSR_SETTERS__",s=>es=s)}const ns=e=>{const t=Se;return Cs(e),e.scope.on(),()=>{e.scope.off(),Cs(t)}},zn=()=>{Se&&Se.scope.off(),Cs(null)};function mr(e){return e.vnode.shapeFlag&4}let es=!1;function ml(e,t=!1,s=!1){t&&cn(t);const{props:n,children:i}=e.vnode,r=mr(e);Yo(e,n,r,t),el(e,i,s||t);const o=r?vl(e,t):void 0;return t&&cn(!1),o}function vl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,No);const{setup:n}=s;if(n){ze();const i=e.setupContext=n.length>1?_l(e):null,r=ns(e),o=ss(n,e,0,[e.props,i]),l=hi(o);if(Ye(),r(),(l||e.sp)&&!Gt(e)&&Bi(e),l){if(o.then(zn,zn),t)return o.then(u=>{Yn(e,u)}).catch(u=>{Ps(u,e,0)});e.asyncDep=o}else Yn(e,o)}else vr(e)}function Yn(e,t,s){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=Fi(t)),vr(e)}function vr(e,t,s){const n=e.type;e.render||(e.render=n.render||Ge);{const i=ns(e);ze();try{Fo(e)}finally{Ye(),i()}}}const yl={get(e,t){return ye(e,"get",""),e[t]}};function _l(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,yl),slots:e.slots,emit:e.emit,expose:t}}function Rs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Fi(so(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Jt)return Jt[s](e)},has(t,s){return s in t||s in Jt}})):e.proxy}function bl(e){return j(e)&&"__vccOpts"in e}const ce=(e,t)=>ao(e,t,es),wl="3.5.39";/**
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let fn;const Qn=typeof window<"u"&&window.trustedTypes;if(Qn)try{fn=Qn.createPolicy("vue",{createHTML:e=>e})}catch{}const yr=fn?e=>fn.createHTML(e):e=>e,xl="http://www.w3.org/2000/svg",Sl="http://www.w3.org/1998/Math/MathML",tt=typeof document<"u"?document:null,Xn=tt&&tt.createElement("template"),Cl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?tt.createElementNS(xl,e):t==="mathml"?tt.createElementNS(Sl,e):s?tt.createElement(e,{is:s}):tt.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>tt.createTextNode(e),createComment:e=>tt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>tt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Xn.innerHTML=yr(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Xn.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Tl=Symbol("_vtc");function Al(e,t,s){const n=e[Tl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Zn=Symbol("_vod"),$l=Symbol("_vsh"),El=Symbol(""),kl=/(?:^|;)\s*display\s*:/;function Pl(e,t,s){const n=e.style,i=oe(s);let r=!1;if(s&&!i){if(t)if(oe(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Kt(n,l,"")}else for(const o in t)s[o]==null&&Kt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?Il(e,o,!oe(t)&&t?t[o]:void 0,l)||Kt(n,o,l):Kt(n,o,"")}}else if(i){if(t!==s){const o=n[El];o&&(s+=";"+o),n.cssText=s,r=kl.test(s)}}else t&&e.removeAttribute("style");Zn in e&&(e[Zn]=r?n.display:"",e[$l]&&(n.display="none"))}const ei=/\s*!important$/;function Kt(e,t,s){if(L(s))s.forEach(n=>Kt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Ol(e,t);ei.test(s)?e.setProperty(ft(n),s.replace(ei,""),"important"):e[n]=s}}const ti=["Webkit","Moz","ms"],zs={};function Ol(e,t){const s=zs[t];if(s)return s;let n=Ne(t);if(n!=="filter"&&n in e)return zs[t]=n;n=vi(n);for(let i=0;i<ti.length;i++){const r=ti[i]+n;if(r in e)return zs[t]=r}return t}function Il(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&oe(n)&&s===n}const si="http://www.w3.org/1999/xlink";function ni(e,t,s,n,i,r=Rr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(si,t.slice(6,t.length)):e.setAttributeNS(si,t,s):s==null||r&&!_i(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Je(s)?String(s):s)}function ii(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?yr(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,u=s==null?e.type==="checkbox"?"on":"":String(s);(l!==u||!("_value"in e))&&(e.value=u),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=_i(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function kt(e,t,s,n){e.addEventListener(t,s,n)}function Ml(e,t,s,n){e.removeEventListener(t,s,n)}const ri=Symbol("_vei");function Rl(e,t,s,n,i=null){const r=e[ri]||(e[ri]={}),o=r[t];if(n&&o)o.value=n;else{const[l,u]=Dl(t);if(n){const g=r[t]=Hl(n,i);kt(e,l,g,u)}else o&&(Ml(e,l,o,u),r[t]=void 0)}}const Nl=/(Once|Passive|Capture)$/,Fl=/^on:?(?:Once|Passive|Capture)$/;function Dl(e){let t,s;for(;(s=e.match(Nl))&&!Fl.test(e);)t||(t={}),e=e.slice(0,e.length-s[1].length),t[s[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):ft(e.slice(2)),t]}let Ys=0;const Ll=Promise.resolve(),jl=()=>Ys||(Ll.then(()=>Ys=0),Ys=Date.now());function Hl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(L(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const o=i.slice(),l=[n];for(let u=0;u<o.length&&!n._stopped;u++){const g=o[u];g&&Le(g,t,5,l)}}else Le(i,t,5,[n])};return s.value=e,s.attached=jl(),s}const oi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ql=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?Al(e,n,o):t==="style"?Pl(e,s,n):Ts(t)?As(t)||Rl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kl(e,t,n,o))?(ii(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ni(e,t,n,o,r,t!=="value")):e._isVueCE&&(Ul(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!oe(n)))?ii(e,Ne(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),ni(e,t,n,o))};function Kl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&oi(t)&&j(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return oi(t)&&oe(s)?!1:t in e}function Ul(e,t){const s=e._def.props;if(!s)return!1;const n=Ne(t);return Array.isArray(s)?s.some(i=>Ne(i)===n):Object.keys(s).some(i=>Ne(i)===n)}const li=e=>{const t=e.props["onUpdate:modelValue"]||!1;return L(t)?s=>hs(t,s):t};function Vl(e){e.target.composing=!0}function ai(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qs=Symbol("_assign");function ui(e,t,s){return t&&(e=e.trim()),s&&(e=gn(e)),e}const Xs={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Qs]=li(i);const r=n||i.props&&i.props.type==="number";kt(e,t?"change":"input",o=>{o.target.composing||e[Qs](ui(e.value,s,r))}),(s||r)&&kt(e,"change",()=>{e.value=ui(e.value,s,r)}),t||(kt(e,"compositionstart",Vl),kt(e,"compositionend",ai),kt(e,"change",ai))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[Qs]=li(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?gn(e.value):e.value,u=t??"";if(l===u)return;const g=e.getRootNode();(g instanceof Document||g instanceof ShadowRoot)&&g.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===u)||(e.value=u)}},Bl=["ctrl","shift","alt","meta"],Wl={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Bl.some(s=>e[`${s}Key`]&&!t.includes(s))},Gl=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((i,...r)=>{for(let o=0;o<t.length;o++){const l=Wl[t[o]];if(l&&l(i,t))return}return e(i,...r)}))},Jl={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zl=(e,t)=>{const s=e._withKeys||(e._withKeys={}),n=t.join(".");return s[n]||(s[n]=(i=>{if(!("key"in i))return;const r=ft(i.key);if(t.some(o=>o===r||Jl[o]===r))return e(i)}))},Yl=he({patchProp:ql},Cl);let ci;function Ql(){return ci||(ci=sl(Yl))}const Xl=((...e)=>{const t=Ql().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=ea(n);if(!i)return;const r=t._component;!j(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Zl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Zl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ea(e){return oe(e)?document.querySelector(e):e}const ta="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",jt={uiBootstrap:"ui/bootstrap",uiActions:"ui/actions",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,profileArchive:e=>`profiles/${e}/archive`,quickProfileDraft:"profiles/quick-draft",profileWorkflows:e=>`profiles/${e}/workflows`,workflow:e=>`workflows/${e}`,workflowStart:e=>`workflows/${e}/start`,workflowCancel:e=>`workflows/${e}/cancel`,workflowArchive:e=>`workflows/${e}/archive`,workflowNodes:e=>`workflows/${e}/nodes`,workflowBranches:e=>`workflows/${e}/branches`,workflowSwitchBranch:e=>`workflows/${e}/switch-branch`,workflowHistory:e=>`workflows/${e}/history`,node:e=>`nodes/${e}`,nodeGenerate:e=>`nodes/${e}/generate`,nodeRetry:e=>`nodes/${e}/retry`,nodeComplete:e=>`nodes/${e}/complete`,nodeMarkCompleted:e=>`nodes/${e}/mark-completed`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,reviewPolicy:"review/policy",reviewPolicyValidate:"review/policy/validate",reviewPolicySave:"review/policy/save",nodeReview:e=>`nodes/${e}/review`,nodeImages:e=>`nodes/${e}/images`,workflowReview:e=>`workflows/${e}/review`,image:e=>`images/${e}`,imageSelect:e=>`images/${e}/select`,imageUnselect:e=>`images/${e}/unselect`,imageArchive:e=>`images/${e}/archive`,jobs:"jobs",job:e=>`jobs/${e}`,jobCancel:e=>`jobs/${e}/cancel`,jobRetry:e=>`jobs/${e}/retry`,jobDeadLetterRetry:"jobs/dead-letter/retry",jobDeadLetterMoveFailed:"jobs/dead-letter/move-failed",settingsSchema:"settings/schema",settingsCurrent:"settings/current",settingsValidate:"settings/validate",settingsDiff:"settings/diff",settingsSave:"settings/save",settingsReload:"settings/reload",settingsExport:"settings/export",settingsImport:"settings/import",settingsSnapshots:"settings/snapshots",settingsSnapshot:e=>`settings/snapshots/${e}`,settingsRollback:"settings/rollback",storageStatus:"storage/status",storageMigrate:"storage/migrate",mediaSign:"media/sign",materialCategories:"material-categories",materialCategory:e=>`material-categories/${e}`,materials:"materials",materialUpload:"materials/upload",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialReRecognize:e=>`materials/${e}/re-recognize`,materialConfirm:e=>`materials/${e}/confirm`,assetImportPack:"assets/import-pack",wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItems:e=>`profiles/${e}/wardrobe/items`,wardrobeItem:(e,t)=>`profiles/${e}/wardrobe/items/${t}`,wardrobeLegacyItem:(e,t)=>`profiles/${e}/wardrobe/${t}`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,privateCompanionDailyOutfit:"integrations/private-companion/daily-outfit",integrationEventLogs:"integrations/logs",apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeProvider:"api-discovery/probe-provider",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",apiDiscoveryValidateRenderPlan:"api-discovery/validate-render-plan",generationLogs:"logs/generation",workflowLogs:"logs/workflows",errorLogs:"logs/errors",integrationLogs:"logs/integrations",auditLogs:"security/audit-logs",eventStream:"events/stream",webManifest:"web/manifest"};class sa extends Error{constructor(s,n,i={}){super(n);Ls(this,"code");Ls(this,"details");this.name="ApiClientError",this.code=s,this.details=i}}async function Ht(e,t){return na(e,{method:"GET",query:t})}async function na(e,t={}){const s=await ia(e,t);if(s!==void 0)return fi(s);const i=await(await fetch(la(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();return fi(i)}async function ia(e,t){const s=window.AstrBotPluginPage;if(!s)return;const n=t.method??"GET";if(typeof s.ready=="function"&&await s.ready(),n==="GET"&&typeof s.apiGet=="function")return s.apiGet(e,oa(t.query));if(n==="POST"&&typeof s.apiPost=="function")return s.apiPost(e,t.body)}function fi(e){if(!ra(e))return e;if(!e.ok)throw new sa(e.error_code,e.message,e.details);return e.data}function ra(e){return!!(e&&typeof e=="object"&&"ok"in e)}function oa(e){if(!e)return;const t={};for(const[s,n]of Object.entries(e))n!==void 0&&(t[s]=n);return t}function la(e,t){const s=e.replace(/^\/+/,""),n=new URL(`${ta}/${s}`,window.location.origin);for(const[i,r]of Object.entries(t??{}))r!==void 0&&n.searchParams.set(i,String(r));return`${n.pathname}${n.search}`}const aa=["data-theme"],ua={class:"rail","aria-label":"ImageStudio navigation"},ca={class:"brand"},fa={class:"icon-nav"},da=["title","onClick"],pa={class:"nav-glyph","aria-hidden":"true"},ha={class:"workbench"},ga={class:"topbar"},ma={class:"active-heading"},va={class:"search-box"},ya={key:0,class:"search-results"},_a=["onMousedown"],ba={key:0},wa={class:"top-actions"},xa=["title"],Sa={class:"notification-wrap"},Ca={key:0},Ta={class:"notification-popover"},Aa={key:0},$a=["disabled"],Ea={key:0,class:"palette-panel"},ka=["onClick"],Pa={key:1,class:"notification-panel"},Oa={class:"filter-tabs"},Ia=["onClick"],Ma={class:"notification-list"},Ra=["src"],Na={key:1},Fa=["onClick"],Da={key:0,class:"empty-row"},La={class:"overview-strip","data-module":"overview"},ja={class:"welcome-copy"},Ha={class:"dashboard-layout"},qa={class:"main-column"},Ka={class:"panel queue-panel","data-module":"queue"},Ua=["disabled"],Va={key:0,class:"state-card bad"},Ba={key:1,class:"skeleton-list"},Wa={key:2,class:"queue-list"},Ga={class:"queue-main"},Ja={class:"progress-track"},za={key:3,class:"empty-state"},Ya={class:"panel images-panel","data-module":"images"},Qa={key:0,class:"state-card bad"},Xa={key:1,class:"image-grid"},Za={key:2,class:"image-grid"},eu={class:"thumb"},tu=["src","alt"],su={key:1},nu={key:3,class:"empty-state"},iu={class:"panel suggestions-panel","data-module":"suggestions"},ru={key:0,class:"suggestion-grid"},ou=["onClick"],lu={key:1,class:"empty-state calm"},au={class:"monitor-column","data-module":"monitor"},uu={class:"panel monitor-panel"},cu={key:0,class:"state-card bad"},fu={class:"metric-stack"},du={class:"panel compact-panel","data-module":"settings"},pu={class:"panel compact-panel","data-module":"logs"},hu={key:0,class:"state-card bad"},gu={key:1,class:"log-list"},mu={key:0,class:"empty-row"},vu=xo({__name:"App",setup(e){const t=[{key:"overview",label:"概览",icon:"□",module:"overview"},{key:"generate",label:"生成",icon:"+",module:"suggestions"},{key:"queue",label:"队列",icon:"≡",module:"queue"},{key:"gallery",label:"图库",icon:"▧",module:"images"},{key:"profiles",label:"角色",icon:"◇",module:"suggestions"},{key:"materials",label:"素材",icon:"◫",module:"images"},{key:"settings",label:"设置",icon:"◎",module:"settings"},{key:"logs",label:"日志",icon:"!",module:"logs"}],s=[{title:"生成图片",description:"进入生成流程入口",keywords:["生成","图片","prompt","生图"],nav:"generate",module:"suggestions"},{title:"查看队列",description:"检查等待、运行和失败任务",keywords:["队列","任务","等待","失败","重试"],nav:"queue",module:"queue"},{title:"最近图片",description:"查看最新生成结果",keywords:["最近","图片","图库","缩略图"],nav:"gallery",module:"images"},{title:"模型设置",description:"检查模型站点和调用配置",keywords:["模型","provider","配置","站点"],nav:"settings",module:"settings"},{title:"数据库设置",description:"检查存储和数据库连接",keywords:["数据库","存储","sqlite","postgres"],nav:"settings",module:"settings"},{title:"日志审计",description:"查看错误、生成和系统事件",keywords:["日志","错误","审计","事件"],nav:"logs",module:"logs"},{title:"今日成本",description:"检查生成调用和成本提醒",keywords:["成本","费用","调用","统计"],nav:"overview",module:"monitor"},{title:"素材库",description:"查看素材和衣橱相关入口",keywords:["素材","衣橱","角色","材料"],nav:"materials",module:"images"}],n=[{name:"星图紫绿",primary:"#7668e8",accent:"#27c6a4"},{name:"极光蓝杏",primary:"#3978d4",accent:"#f2a65a"},{name:"松石胭红",primary:"#1f9c8a",accent:"#e35d7a"},{name:"墨绿金盏",primary:"#2c7a5b",accent:"#d8a31f"}],i=re(null),r=re(null),o=re(null),l=re([]),u=re([]),g=re(vt()),d=re(""),y=re(!1),A=re("dark"),E=re(n[0].primary),H=re(n[0].accent),F=re(!1),ne=re(!1),z=re("all"),D=re([]),V=re([]),M=re(!1),ee=re(!1),Ce=re(!1),ue=re(""),$e=re(""),je=re(""),Re=re(""),ge={theme:"imagestudio.navigation.theme",primary:"imagestudio.navigation.primary",accent:"imagestudio.navigation.accent",readNotifications:"imagestudio.navigation.readNotifications",dismissedNotifications:"imagestudio.navigation.dismissedNotifications"},dt=ce(()=>M.value||ee.value||Ce.value),Tt=ce(()=>t.find(c=>c.key===g.value)??t[0]),pt=ce(()=>{var h;const c=(h=r.value)==null?void 0:h.queue;return c?c.pending+c.running+c.failed+c.dead_letter:0}),He=ce(()=>{var h;return((h=o.value)!=null&&h.items.length?o.value.items:fe.value).slice(0,6)}),fe=ce(()=>{var c;return((c=r.value)==null?void 0:c.recent_jobs.map(br).filter(wr))??[]}),Q=ce(()=>{var c;return((c=r.value)==null?void 0:c.recent_images.slice(0,8))??[]}),Y=ce(()=>He.value.filter(c=>["failed","dead_letter","cancelled"].includes(de(c.status)))),Qe=ce(()=>He.value.filter(c=>["running","queued","created","pending"].includes(de(c.status)))),At=ce(()=>({"--primary":E.value,"--accent":H.value,"--primary-soft":us(E.value,.18),"--primary-strong":us(E.value,.34),"--accent-soft":us(H.value,.18),"--accent-strong":us(H.value,.38)})),qe=ce(()=>{var h,q,ae,K,be,v,at,In;const c=((h=r.value)==null?void 0:h.plugin_status)??"stopped";return[{label:"服务状态",value:R(c),hint:ue.value?"连接异常":"Dashboard summary",state:c==="running"?"good":c==="degraded"?"warn":"bad"},{label:"队列压力",value:String(pt.value),hint:`等待 ${((q=r.value)==null?void 0:q.queue.pending)??0} / 失败 ${((ae=r.value)==null?void 0:ae.queue.failed)??0}`,state:pt.value>20?"warn":"good"},{label:"运行任务",value:String(((K=r.value)==null?void 0:K.queue.running)??Qe.value.length),hint:"当前 Worker 负载",state:(((be=r.value)==null?void 0:be.queue.running)??0)>0?"good":"idle"},{label:"今日调用",value:String(((v=r.value)==null?void 0:v.today_generation_count)??0),hint:"生成请求统计",state:"good"},{label:"今日成本",value:"未接入",hint:"等待成本接口回填",state:"idle"},{label:"存储占用",value:Ft(((at=r.value)==null?void 0:at.storage.total_bytes)??0),hint:`图片 ${Ft(((In=r.value)==null?void 0:In.storage.images_bytes)??0)}`,state:"good"}]}),Ee=ce(()=>{const c=d.value.trim().toLowerCase();return c?s.filter(h=>[h.title,h.description,...h.keywords].join(" ").toLowerCase().includes(c)).slice(0,6):s.slice(0,5)}),is=ce(()=>y.value||!!d.value.trim()),ht=ce(()=>{var h,q,ae;const c=[];for(const K of He.value){const be=de(K.status);["completed","succeeded"].includes(be)&&c.push({id:`job-completed-${K.task_id}`,type:"completed",title:"生图任务已完成",detail:B(K),createdAt:K.updated_at||K.created_at}),["failed","dead_letter","cancelled"].includes(be)&&c.push({id:`job-failed-${K.task_id}`,type:"failed",title:"任务需要处理",detail:K.error_message||B(K),createdAt:K.updated_at||K.created_at})}for(const K of l.value){const be=de(K.status);["completed","succeeded"].includes(be)&&c.push({id:`generation-completed-${K.task_id}`,type:"completed",title:"生成日志已完成",detail:`${K.task_id} / ${K.progress}%`,createdAt:K.updated_at||K.created_at})}for(const K of u.value.slice(0,6))c.push({id:`error-${K.source}-${K.id}`,type:"failed",title:K.source||"错误日志",detail:K.error_message||K.status,createdAt:K.created_at});return(((h=r.value)==null?void 0:h.queue.dead_letter)??0)>0&&c.push({id:"queue-dead-letter",type:"warning",title:"死信队列有待处理任务",detail:`${((q=r.value)==null?void 0:q.queue.dead_letter)??0} 个任务等待重试或归档`,createdAt:Re.value}),((ae=r.value)==null?void 0:ae.plugin_status)==="degraded"&&c.push({id:"system-degraded",type:"system",title:"服务处于降级状态",detail:"部分接口可能暂时不可用",createdAt:Re.value}),xr(c).filter(K=>!V.value.includes(K.id)).sort((K,be)=>Fs(be.createdAt)-Fs(K.createdAt)).slice(0,12)}),rs=ce(()=>ht.value.filter(c=>z.value==="all"||c.type===z.value)),Xe=ce(()=>ht.value.filter(c=>!D.value.includes(c.id)).length),gt=ce(()=>ht.value.slice(0,3)),mt=ce(()=>{var h,q,ae,K,be,v;const c=[];return(Y.value.length||(((h=r.value)==null?void 0:h.queue.failed)??0)>0||(((q=r.value)==null?void 0:q.queue.dead_letter)??0)>0)&&c.push({id:"retry-failed",tone:"retry",title:"处理失败任务",detail:`${Y.value.length||((ae=r.value)==null?void 0:ae.queue.failed)||0} 条任务可能需要重试或查看错误原因`,action:"查看队列",nav:"queue",module:"queue"}),u.value.length&&c.push({id:"read-errors",tone:"confirm",title:"确认最新错误",detail:((K=u.value[0])==null?void 0:K.error_message)||"错误日志已有新条目",action:"打开日志",nav:"logs",module:"logs"}),(((be=r.value)==null?void 0:be.today_generation_count)??0)>40&&c.push({id:"cost-watch",tone:"cost",title:"今日调用偏高",detail:"建议检查模型路由和批量生成成本",action:"查看监控",nav:"overview",module:"monitor"}),(v=i.value)!=null&&v.feature_flags.api_discovery||c.push({id:"config-discovery",tone:"config",title:"能力探测未开启",detail:"模型能力确认后,生成流程会更稳",action:"检查设置",nav:"settings",module:"settings"}),!He.value.length&&!ue.value&&c.push({id:"continue-flow",tone:"flow",title:"队列空闲",detail:"可以开始新的角色图或素材生成",action:"进入生成",nav:"generate",module:"suggestions"}),c.slice(0,4)}),os=ce(()=>{var c,h,q,ae;return[{label:"Pending",value:((c=r.value)==null?void 0:c.queue.pending)??0},{label:"Running",value:((h=r.value)==null?void 0:h.queue.running)??0},{label:"Failed",value:((q=r.value)==null?void 0:q.queue.failed)??0},{label:"Dead",value:((ae=r.value)==null?void 0:ae.queue.dead_letter)??0}]});Ji(()=>{ls(),Ns()}),ms([A,E,H,D,V],as,{deep:!0});function vt(){const c=new URLSearchParams(window.location.search).get("view");return t.some(h=>h.key===c)?c:"overview"}async function Ns(){await Promise.all([a(),f(),m(),x()]),Re.value=new Date().toISOString()}async function a(){try{i.value=await Ht(jt.uiBootstrap)}catch{i.value=null}}async function f(){M.value=!0,ue.value="";try{r.value=await Ht(jt.dashboardSummary)}catch(c){ue.value=Ds(c)}finally{M.value=!1}}async function m(){ee.value=!0,$e.value="";try{o.value=await Ht(jt.jobs,{page:1,page_size:12})}catch(c){$e.value=Ds(c)}finally{ee.value=!1}}async function x(){Ce.value=!0,je.value="";try{const[c,h]=await Promise.all([Ht(jt.generationLogs,{limit:12}),Ht(jt.errorLogs,{limit:12})]);l.value=c,u.value=h}catch(c){je.value=Ds(c)}finally{Ce.value=!1}}function _(c,h=(q=>(q=t.find(ae=>ae.key===c))==null?void 0:q.module)()??"overview"){g.value=c;const ae=new URL(window.location.href);ae.searchParams.set("view",c),window.history.replaceState({},"",`${ae.pathname}${ae.search}`),Li(()=>T(h))}function b(c){d.value=c.title,y.value=!1,_(c.nav,c.module)}function T(c){var h;(h=document.querySelector(`[data-module="${c}"]`))==null||h.scrollIntoView({block:"start",behavior:"smooth"})}function C(){A.value=A.value==="dark"?"light":"dark"}function S(c){E.value=c.primary,H.value=c.accent}function w(c){D.value.includes(c)||(D.value=[...D.value,c])}function I(){D.value=On([...D.value,...ht.value.map(c=>c.id)])}function $(){const c=ht.value.filter(h=>D.value.includes(h.id)).map(h=>h.id);V.value=On([...V.value,...c])}function k(c){_(c.nav,c.module)}function R(c){return{running:"运行中",degraded:"降级",stopped:"已停止",loading:"加载中",created:"已创建",pending:"等待中",queued:"排队中",completed:"已完成",succeeded:"已成功",failed:"失败",cancelled:"已取消",dead_letter:"死信"}[de(c)]??c}function U(c){return{all:"全部",completed:"完成",failed:"失败",warning:"警告",system:"系统"}[c]}function B(c){const h=Pn(c.metadata,"title"),q=Pn(c.request,"prompt");return h||q||`${c.task_type||"generation"} / ${le(c.task_id)}`}function W(c){return c.node_id||c.workflow_id||c.profile_id||le(c.image_id)}function ie(c){return c.thumbnail_url||c.image_url||""}function le(c){return c.length>10?`${c.slice(0,6)}...${c.slice(-4)}`:c}function Pe(c){const h=Number(c.progress);return Number.isFinite(h)?Math.max(0,Math.min(100,h)):0}function de(c){return String(c||"").trim().toLowerCase()}function yt(c){const h=de(c);return["failed","dead_letter","cancelled"].includes(h)?"is-bad":["running","queued","created","pending"].includes(h)?"is-warn":["completed","succeeded"].includes(h)?"is-good":"is-idle"}function Ft(c){return c<1024?`${c} B`:c<1024*1024?`${(c/1024).toFixed(1)} KB`:c<1024*1024*1024?`${(c/1024/1024).toFixed(1)} MB`:`${(c/1024/1024/1024).toFixed(1)} GB`}function me(c){if(!c)return"-";const h=new Date(c);return Number.isNaN(h.getTime())?c:new Intl.DateTimeFormat("zh-CN",{month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(h)}function Oe(c){const h=Fs(c.created_at);if(!h)return"-";const q=Math.max(0,Math.round((Date.now()-h)/6e4));return q<1?"刚刚":q<60?`${q} 分钟`:`${Math.round(q/60)} 小时`}function ls(){const c=localStorage.getItem(ge.theme);(c==="light"||c==="dark")&&(A.value=c),E.value=localStorage.getItem(ge.primary)||E.value,H.value=localStorage.getItem(ge.accent)||H.value,D.value=kn(localStorage.getItem(ge.readNotifications)),V.value=kn(localStorage.getItem(ge.dismissedNotifications))}function as(){localStorage.setItem(ge.theme,A.value),localStorage.setItem(ge.primary,E.value),localStorage.setItem(ge.accent,H.value),localStorage.setItem(ge.readNotifications,JSON.stringify(D.value)),localStorage.setItem(ge.dismissedNotifications,JSON.stringify(V.value))}function kn(c){if(!c)return[];try{const h=JSON.parse(c);return Array.isArray(h)?h.filter(q=>typeof q=="string"):[]}catch{return[]}}function us(c,h){const q=_r(c);return q?`rgba(${q.r}, ${q.g}, ${q.b}, ${h})`:`rgba(118, 104, 232, ${h})`}function _r(c){const h=c.replace("#","");return/^[0-9a-fA-F]{6}$/.test(h)?{r:Number.parseInt(h.slice(0,2),16),g:Number.parseInt(h.slice(2,4),16),b:Number.parseInt(h.slice(4,6),16)}:null}function Pn(c,h){const q=c==null?void 0:c[h];return typeof q=="string"?q:""}function br(c){return!cs(c)||typeof c.task_id!="string"?null:{task_id:c.task_id,task_type:typeof c.task_type=="string"?c.task_type:"generation",status:typeof c.status=="string"?c.status:"created",progress:typeof c.progress=="number"?c.progress:0,created_at:typeof c.created_at=="string"?c.created_at:"",updated_at:typeof c.updated_at=="string"?c.updated_at:"",profile_id:typeof c.profile_id=="string"?c.profile_id:null,workflow_id:typeof c.workflow_id=="string"?c.workflow_id:null,node_id:typeof c.node_id=="string"?c.node_id:null,model_route:typeof c.model_route=="string"?c.model_route:null,idempotency_key:typeof c.idempotency_key=="string"?c.idempotency_key:null,request:cs(c.request)?c.request:void 0,result:cs(c.result)?c.result:void 0,metadata:cs(c.metadata)?c.metadata:void 0,error_message:typeof c.error_message=="string"?c.error_message:null}}function wr(c){return!!c}function cs(c){return!!(c&&typeof c=="object"&&!Array.isArray(c))}function xr(c){const h=new Set;return c.filter(q=>h.has(q.id)?!1:(h.add(q.id),!0))}function On(c){return Array.from(new Set(c))}function Fs(c){const h=Date.parse(c);return Number.isFinite(h)?h:0}function Ds(c){return c instanceof Error?c.message.includes("Unexpected token")?"接口暂不可用或返回格式不正确":c.message||"加载失败":"加载失败"}return(c,h)=>{var q,ae,K,be;return P(),O("main",{class:"navigation-shell","data-theme":A.value,style:xt(At.value)},[p("aside",ua,[p("div",ca,[h[13]||(h[13]=p("span",{class:"brand-mark"},"IS",-1)),p("div",null,[h[12]||(h[12]=p("strong",null,"ImageStudio",-1)),p("small",null,N(((q=i.value)==null?void 0:q.plugin_version)??"v3"),1)])]),p("nav",fa,[(P(),O(se,null,ve(t,v=>p("button",{key:v.key,type:"button",class:Ae({active:g.value===v.key}),title:v.label,onClick:at=>_(v.key,v.module)},[p("span",pa,N(v.icon),1),p("span",null,N(v.label),1)],10,da)),64))])]),p("section",ha,[p("header",ga,[p("div",ma,[p("span",null,N(Tt.value.label),1),p("h1",null,N(((ae=i.value)==null?void 0:ae.display_name)??"ImageStudio 星图导航"),1)]),p("div",va,[h[14]||(h[14]=p("span",{"aria-hidden":"true"},"⌕",-1)),Vs(p("input",{"onUpdate:modelValue":h[0]||(h[0]=v=>d.value=v),type:"search",placeholder:"搜索生成、队列、图库、设置",onFocus:h[1]||(h[1]=v=>y.value=!0),onKeydown:h[2]||(h[2]=zl(v=>y.value=!1,["escape"]))},null,544),[[Xs,d.value]]),is.value?(P(),O("div",ya,[(P(!0),O(se,null,ve(Ee.value,v=>(P(),O("button",{key:v.title,type:"button",onMousedown:Gl(at=>b(v),["prevent"])},[p("strong",null,N(v.title),1),p("small",null,N(v.description),1)],40,_a))),128)),Ee.value.length?et("",!0):(P(),O("p",ba,"没有匹配结果"))])):et("",!0)]),p("div",wa,[p("button",{type:"button",class:"theme-switch",title:A.value==="dark"?"切换日间":"切换夜间",onClick:C},[p("span",{class:Ae({active:A.value==="light"})},"日",2),p("span",{class:Ae({active:A.value==="dark"})},"夜",2)],8,xa),p("div",Sa,[p("button",{type:"button",class:"icon-button",title:"通知",onClick:h[3]||(h[3]=v=>ne.value=!ne.value)},[h[15]||(h[15]=p("span",{"aria-hidden":"true"},"!",-1)),Xe.value?(P(),O("b",Ca,N(Xe.value),1)):et("",!0)]),p("div",Ta,[h[16]||(h[16]=p("strong",null,"通知概览",-1)),p("ul",null,[(P(!0),O(se,null,ve(gt.value,v=>(P(),O("li",{key:v.id},[p("span",{class:Ae(["dot",v.type])},null,2),p("span",null,N(v.title),1)]))),128)),gt.value.length?et("",!0):(P(),O("li",Aa,"暂无通知"))])])]),p("button",{type:"button",class:"icon-button",title:"调色盘",onClick:h[4]||(h[4]=v=>F.value=!F.value)},[...h[17]||(h[17]=[p("span",{"aria-hidden":"true"},"◎",-1)])]),p("button",{type:"button",class:"refresh-button",disabled:dt.value,onClick:Ns},N(dt.value?"同步中":"刷新"),9,$a)])]),F.value?(P(),O("section",Ea,[p("div",null,[(P(),O(se,null,ve(n,v=>p("button",{key:v.name,type:"button",onClick:at=>S(v)},[p("span",{class:"swatch",style:xt({background:v.primary})},null,4),p("span",{class:"swatch",style:xt({background:v.accent})},null,4),un(" "+N(v.name),1)],8,ka)),64))]),p("label",null,[h[18]||(h[18]=p("span",null,"主色",-1)),Vs(p("input",{"onUpdate:modelValue":h[5]||(h[5]=v=>E.value=v),type:"color"},null,512),[[Xs,E.value]])]),p("label",null,[h[19]||(h[19]=p("span",null,"副色",-1)),Vs(p("input",{"onUpdate:modelValue":h[6]||(h[6]=v=>H.value=v),type:"color"},null,512),[[Xs,H.value]])])])):et("",!0),ne.value?(P(),O("section",Pa,[p("header",null,[p("div",null,[h[20]||(h[20]=p("span",null,"消息中心",-1)),p("h2",null,N(Xe.value)+" 条未读",1)]),p("div",{class:"inline-actions"},[p("button",{type:"button",onClick:I},"全部已读"),p("button",{type:"button",onClick:$},"清空已读")])]),p("div",Oa,[(P(),O(se,null,ve(["all","completed","failed","warning","system"],v=>p("button",{key:v,type:"button",class:Ae({active:z.value===v}),onClick:at=>z.value=v},N(U(v)),11,Ia)),64))]),p("ul",Ma,[(P(!0),O(se,null,ve(rs.value,v=>(P(),O("li",{key:v.id,class:Ae({unread:!D.value.includes(v.id)})},[p("div",{class:Ae(["notification-thumb",v.type])},[v.thumbnailUrl?(P(),O("img",{key:0,src:v.thumbnailUrl,alt:""},null,8,Ra)):(P(),O("span",Na,N(U(v.type).slice(0,1)),1))],2),p("div",null,[p("strong",null,N(v.title),1),p("small",null,N(v.detail),1),p("time",null,N(me(v.createdAt)),1)]),p("button",{type:"button",onClick:at=>w(v.id)},N(D.value.includes(v.id)?"已读":"标记"),9,Fa)],2))),128)),rs.value.length?et("",!0):(P(),O("li",Da,"暂无通知"))])])):et("",!0),p("section",La,[p("div",ja,[p("span",null,N(((K=i.value)==null?void 0:K.dashboard_user)??"AstrBot"),1),h[21]||(h[21]=p("h2",null,"星图导航工作台",-1)),h[22]||(h[22]=p("p",null,"生成、队列、图库和运行监控都在同一屏聚合。",-1))]),p("button",{type:"button",class:"quick-create",onClick:h[7]||(h[7]=v=>_("generate","suggestions"))},[...h[23]||(h[23]=[p("span",{"aria-hidden":"true"},"+",-1),un(" 新建生成 ",-1)])]),(P(!0),O(se,null,ve(qe.value.slice(0,3),v=>(P(),O("article",{key:v.label,class:Ae(["signal-card",v.state])},[p("span",null,N(v.label),1),p("strong",null,N(v.value),1),p("small",null,N(v.hint),1)],2))),128))]),p("section",Ha,[p("div",qa,[p("section",Ka,[p("header",null,[p("div",null,[h[24]||(h[24]=p("span",null,"当前队列",-1)),p("h2",null,N(pt.value)+" 个任务",1)]),p("button",{type:"button",disabled:ee.value,onClick:m},N(ee.value?"加载中":"更新"),9,Ua)]),$e.value?(P(),O("div",Va,[h[25]||(h[25]=p("strong",null,"队列加载失败",-1)),p("span",null,N($e.value),1),p("button",{type:"button",onClick:m},"重试")])):ee.value&&!He.value.length?(P(),O("div",Ba,[(P(),O(se,null,ve(3,v=>p("span",{key:v})),64))])):He.value.length?(P(),O("ul",Wa,[(P(!0),O(se,null,ve(He.value,v=>(P(),O("li",{key:v.task_id},[p("div",Ga,[p("strong",null,N(B(v)),1),p("small",null,N(v.model_route||"未指定模型")+" / 等待 "+N(Oe(v)),1),p("div",Ja,[p("span",{style:xt({width:`${Pe(v)}%`})},null,4)])]),p("span",{class:Ae(["status-pill",yt(v.status)])},N(R(v.status)),3),h[26]||(h[26]=p("div",{class:"row-actions","aria-label":"任务操作"},[p("button",{type:"button",title:"查看详情"},"□"),p("button",{type:"button",title:"重试任务"},"↻")],-1))]))),128))])):(P(),O("div",za,[...h[27]||(h[27]=[p("strong",null,"队列暂时空闲",-1),p("span",null,"新的生成任务会在这里显示进度、模型和等待时间。",-1)])]))]),p("section",Ya,[p("header",null,[p("div",null,[h[28]||(h[28]=p("span",null,"最近图片",-1)),p("h2",null,N(Q.value.length)+" 张结果",1)]),p("button",{type:"button",onClick:h[8]||(h[8]=v=>_("gallery","images"))},"图库")]),ue.value?(P(),O("div",Qa,[h[29]||(h[29]=p("strong",null,"图片摘要不可用",-1)),p("span",null,N(ue.value),1)])):M.value&&!Q.value.length?(P(),O("div",Xa,[(P(),O(se,null,ve(4,v=>p("span",{key:v,class:"image-skeleton"})),64))])):Q.value.length?(P(),O("div",Za,[(P(!0),O(se,null,ve(Q.value,v=>(P(),O("article",{key:v.image_id,class:"image-card"},[p("div",eu,[ie(v)?(P(),O("img",{key:0,src:ie(v),alt:W(v)},null,8,tu)):(P(),O("span",su,"IMG"))]),p("strong",null,N(W(v)),1),p("small",null,N(me(v.created_at)),1),h[30]||(h[30]=p("div",null,[p("span",{class:"status-pill is-good"},"完成"),p("button",{type:"button",title:"预览"},"□"),p("button",{type:"button",title:"再次生成"},"↻")],-1))]))),128))])):(P(),O("div",nu,[...h[31]||(h[31]=[p("strong",null,"暂无最近图片",-1),p("span",null,"完成的生成结果会以稳定缩略图比例出现在这里。",-1)])]))]),p("section",iu,[p("header",null,[p("div",null,[h[32]||(h[32]=p("span",null,"智能工作建议",-1)),p("h2",null,N(mt.value.length?"可继续处理":"当前平稳"),1)])]),mt.value.length?(P(),O("div",ru,[(P(!0),O(se,null,ve(mt.value,v=>(P(),O("button",{key:v.id,type:"button",class:Ae(["suggestion-card",v.tone]),onClick:at=>k(v)},[p("span",null,N(v.action),1),p("strong",null,N(v.title),1),p("small",null,N(v.detail),1)],10,ou))),128))])):(P(),O("div",lu,[...h[33]||(h[33]=[p("strong",null,"没有需要立即处理的建议",-1),p("span",null,"失败、待确认、成本提醒和可继续流程会自动浮到这里。",-1)])]))])]),p("aside",au,[p("section",uu,[p("header",null,[p("div",null,[h[34]||(h[34]=p("span",null,"性能监控",-1)),p("h2",null,N(R(((be=r.value)==null?void 0:be.plugin_status)??"loading")),1)])]),ue.value?(P(),O("div",cu,[h[35]||(h[35]=p("strong",null,"监控加载失败",-1)),p("span",null,N(ue.value),1),p("button",{type:"button",onClick:f},"重试")])):et("",!0),p("div",fu,[(P(!0),O(se,null,ve(qe.value,v=>(P(),O("article",{key:v.label,class:Ae(["metric-card",v.state])},[p("span",null,N(v.label),1),p("strong",null,N(v.value),1),p("small",null,N(v.hint),1)],2))),128))]),p("dl",null,[(P(!0),O(se,null,ve(os.value,v=>(P(),O("div",{key:v.label},[p("dt",null,N(v.label),1),p("dd",null,N(v.value),1)]))),128))])]),p("section",du,[h[36]||(h[36]=p("header",null,[p("div",null,[p("span",null,"配置入口"),p("h2",null,"模型与存储")])],-1)),p("button",{type:"button",onClick:h[9]||(h[9]=v=>_("settings","settings"))},"模型设置"),p("button",{type:"button",onClick:h[10]||(h[10]=v=>_("settings","settings"))},"数据库设置"),p("button",{type:"button",onClick:h[11]||(h[11]=v=>_("materials","images"))},"素材库")]),p("section",pu,[p("header",null,[p("div",null,[h[37]||(h[37]=p("span",null,"日志",-1)),p("h2",null,N(je.value?"需要重试":`${l.value.length+u.value.length} 条`),1)]),p("button",{type:"button",onClick:x},"刷新")]),je.value?(P(),O("div",hu,[h[38]||(h[38]=p("strong",null,"日志加载失败",-1)),p("span",null,N(je.value),1)])):(P(),O("ul",gu,[(P(!0),O(se,null,ve(u.value.slice(0,3),v=>(P(),O("li",{key:`${v.source}-${v.id}`},[h[39]||(h[39]=p("span",{class:"dot failed"},null,-1)),p("span",null,N(v.error_message||v.source),1)]))),128)),(P(!0),O(se,null,ve(l.value.slice(0,Math.max(0,3-u.value.length)),v=>(P(),O("li",{key:v.task_id},[h[40]||(h[40]=p("span",{class:"dot completed"},null,-1)),p("span",null,N(v.task_id)+" / "+N(R(v.status)),1)]))),128)),!u.value.length&&!l.value.length?(P(),O("li",mu,"暂无日志")):et("",!0)]))])])])])],12,aa)}}}),yu=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},_u=yu(vu,[["__scopeId","data-v-b2e35172"]]);Xl(_u).mount("#app");