From 72caaa93902a9f676760f6e949909f9c3b8b7a91 Mon Sep 17 00:00:00 2001 From: YokiiroBW Date: Sun, 5 Jul 2026 13:55:03 +0800 Subject: [PATCH] feat: add job filtering and detail panel --- frontend/shared/api/endpoints.ts | 1 + frontend/shared/types/job.ts | 4 + frontend/standalone-web/src/App.vue | 78 ++++++++++++++++++- .../{index-CduHkhQE.js => index-CcPvFarb.js} | 8 +- pages/imagestudio/index.html | 2 +- web/assets/index-BMrshMnb.css | 1 + web/assets/index-BTjymfnK.js | 17 ++++ web/assets/index-BUBaapAF.css | 1 - web/assets/index-DtDjEMov.js | 17 ---- web/index.html | 4 +- 10 files changed, 105 insertions(+), 28 deletions(-) rename pages/imagestudio/assets/{index-CduHkhQE.js => index-CcPvFarb.js} (84%) create mode 100644 web/assets/index-BMrshMnb.css create mode 100644 web/assets/index-BTjymfnK.js delete mode 100644 web/assets/index-BUBaapAF.css delete mode 100644 web/assets/index-DtDjEMov.js diff --git a/frontend/shared/api/endpoints.ts b/frontend/shared/api/endpoints.ts index 81f0669..4111489 100644 --- a/frontend/shared/api/endpoints.ts +++ b/frontend/shared/api/endpoints.ts @@ -21,6 +21,7 @@ export const endpoints = { imageUnselect: (imageId: string) => `images/${imageId}/unselect`, imageArchive: (imageId: string) => `images/${imageId}/archive`, jobs: "jobs", + job: (taskId: string) => `jobs/${taskId}`, jobCancel: (taskId: string) => `jobs/${taskId}/cancel`, jobRetry: (taskId: string) => `jobs/${taskId}/retry`, jobDeadLetterRetry: "jobs/dead-letter/retry", diff --git a/frontend/shared/types/job.ts b/frontend/shared/types/job.ts index 6ab7db7..80d803d 100644 --- a/frontend/shared/types/job.ts +++ b/frontend/shared/types/job.ts @@ -7,7 +7,11 @@ export interface GenerationJob { status: string model_route?: string | null progress: number + idempotency_key?: string | null + request?: Record + result?: Record error_message?: string | null + metadata?: Record created_at: string updated_at: string } diff --git a/frontend/standalone-web/src/App.vue b/frontend/standalone-web/src/App.vue index afd5428..8ec54a3 100644 --- a/frontend/standalone-web/src/App.vue +++ b/frontend/standalone-web/src/App.vue @@ -7,7 +7,7 @@ import type { DashboardSummary } from "../../shared/types/dashboard" import type { ApiDialect, CapabilityProfile, RenderPlanValidationResult } from "../../shared/types/discovery" import type { GenerationImage, NodeGenerateResult } from "../../shared/types/image" import type { DailyOutfitResult } from "../../shared/types/integration" -import type { JobListResult } from "../../shared/types/job" +import type { GenerationJob, JobListResult } from "../../shared/types/job" import type { LogBundle } from "../../shared/types/logs" import type { Material, MaterialCategory, MaterialListResult } from "../../shared/types/material" import type { CharacterProfile, ProfileListResult, QuickProfileDraftResult } from "../../shared/types/profile" @@ -127,6 +127,12 @@ const text = { retryDead: "\u91cd\u8bd5\u6b7b\u4fe1", retry: "\u91cd\u8bd5", cancel: "\u53d6\u6d88", + filter: "\u7b5b\u9009", + detail: "\u8be6\u60c5", + jobDetail: "\u4efb\u52a1\u8be6\u60c5", + allStatuses: "\u5168\u90e8\u72b6\u6001", + allProfiles: "\u5168\u90e8\u89d2\u8272", + allWorkflows: "\u5168\u90e8\u5de5\u4f5c\u6d41", emptyJobs: "\u6682\u65e0\u4efb\u52a1", dialects: "\u534f\u8bae\u65b9\u8a00", safeProbe: "\u5b89\u5168\u63a2\u6d4b", @@ -191,6 +197,7 @@ const selectedNodeId = ref("") const nodeImages = ref([]) const nodeGenerateResult = ref(null) const jobs = ref(null) +const selectedJob = ref(null) const settingsSchema = ref(null) const currentSettings = ref(null) const storage = ref(null) @@ -226,6 +233,11 @@ const nodeGenerateDraft = ref({ prompt: "", negative_prompt: "", }) +const jobFilters = ref({ + status: "", + profile_id: "", + workflow_id: "", +}) const materialDraft = ref({ display_name: "", image_uri: "", @@ -270,6 +282,7 @@ const confirmedMaterials = computed(() => (materials.value?.items ?? []).filter((item) => item.recognition_status === "confirmed"), ) const selectedNode = computed(() => workflowDetail.value?.nodes.find((node) => node.node_id === selectedNodeId.value) ?? null) +const taskStatuses = ["created", "queued", "running", "completed", "succeeded", "failed", "cancelled", "dead_letter"] const activeTitle = computed(() => { const titles: Record = { dashboard: text.dashboard, @@ -359,6 +372,16 @@ function settledValue(result: PromiseSettledResult): T[] { return result.status === "fulfilled" ? result.value : [] } +async function loadJobs() { + jobs.value = await getJson(endpoints.jobs, { + status: jobFilters.value.status || undefined, + profile_id: jobFilters.value.profile_id || undefined, + workflow_id: jobFilters.value.workflow_id || undefined, + page: 1, + page_size: 20, + }) +} + async function loadWardrobe(profileId?: string) { if (!profileId) { wardrobe.value = [] @@ -441,6 +464,17 @@ function cancelJob(taskId: string) { return runOperation(text.cancel, () => postJson(endpoints.jobCancel(taskId))) } +function loadJobDetail(taskId: string) { + return runOperation( + text.detail, + async () => { + selectedJob.value = await getJson(endpoints.job(taskId)) + return selectedJob.value + }, + false, + ) +} + function resetProfileDraft() { profileDraft.value = { name: "", @@ -1356,6 +1390,34 @@ function storageRootBytes(uriPrefix: string) { +
+ + + + +
  • @@ -1364,16 +1426,26 @@ function storageRootBytes(uriPrefix: string) {
    {{ job.status }} - - +
  • {{ text.emptyJobs }}
+
+
+

{{ text.jobDetail }}

+ {{ selectedJob.status }} +
+
{{ JSON.stringify(selectedJob, null, 2) }}
+
diff --git a/pages/imagestudio/assets/index-CduHkhQE.js b/pages/imagestudio/assets/index-CcPvFarb.js similarity index 84% rename from pages/imagestudio/assets/index-CduHkhQE.js rename to pages/imagestudio/assets/index-CcPvFarb.js index 4bf819f..9b6d5f6 100644 --- a/pages/imagestudio/assets/index-CduHkhQE.js +++ b/pages/imagestudio/assets/index-CcPvFarb.js @@ -2,16 +2,16 @@ var qr=Object.defineProperty;var kr=(e,t,s)=>t in e?qr(e,t,{enumerable:!0,config * @vue/shared v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Fs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const q={},nt=[],Re=()=>{},Ln=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zt=e=>e.startsWith("onUpdate:"),Q=Object.assign,$s=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Gr=Object.prototype.hasOwnProperty,L=(e,t)=>Gr.call(e,t),M=Array.isArray,rt=e=>Pt(e)==="[object Map]",Hn=e=>Pt(e)==="[object Set]",rn=e=>Pt(e)==="[object Date]",I=e=>typeof e=="function",Y=e=>typeof e=="string",Fe=e=>typeof e=="symbol",B=e=>e!==null&&typeof e=="object",Nn=e=>(B(e)||I(e))&&I(e.then)&&I(e.catch),Bn=Object.prototype.toString,Pt=e=>Bn.call(e),Jr=e=>Pt(e).slice(8,-1),Kn=e=>Pt(e)==="[object Object]",Ds=e=>Y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_t=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xt=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Yr=/-\w/g,be=Xt(e=>e.replace(Yr,t=>t.slice(1).toUpperCase())),zr=/\B([A-Z])/g,et=Xt(e=>e.replace(zr,"-$1").toLowerCase()),Un=Xt(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=Xt(e=>e?`on${Un(e)}`:""),Me=(e,t)=>!Object.is(e,t),cs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let on;const Zt=()=>on||(on=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function js(e){if(M(e)){const t={};for(let s=0;s{if(s){const n=s.split(Qr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ls(e){let t="";if(Y(e))t=e;else if(M(e))for(let s=0;s!!(e&&e.__v_isRef===!0),oe=e=>Y(e)?e:e==null?"":M(e)||B(e)&&(e.toString===Bn||!I(e.toString))?qn(e)?oe(e.value):JSON.stringify(e,kn,2):String(e),kn=(e,t)=>qn(t)?kn(e,t.value):rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[fs(n,i)+" =>"]=r,s),{})}:Hn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>fs(s))}:Fe(t)?fs(t):B(t)&&!M(t)&&!Kn(t)?String(t):t,fs=(e,t="")=>{var s;return Fe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**/function $s(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const q={},nt=[],Re=()=>{},Ln=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zt=e=>e.startsWith("onUpdate:"),Q=Object.assign,Fs=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Gr=Object.prototype.hasOwnProperty,L=(e,t)=>Gr.call(e,t),M=Array.isArray,rt=e=>Pt(e)==="[object Map]",Hn=e=>Pt(e)==="[object Set]",rn=e=>Pt(e)==="[object Date]",I=e=>typeof e=="function",Y=e=>typeof e=="string",$e=e=>typeof e=="symbol",B=e=>e!==null&&typeof e=="object",Nn=e=>(B(e)||I(e))&&I(e.then)&&I(e.catch),Bn=Object.prototype.toString,Pt=e=>Bn.call(e),Jr=e=>Pt(e).slice(8,-1),Kn=e=>Pt(e)==="[object Object]",Ds=e=>Y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_t=$s(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xt=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Yr=/-\w/g,be=Xt(e=>e.replace(Yr,t=>t.slice(1).toUpperCase())),zr=/\B([A-Z])/g,et=Xt(e=>e.replace(zr,"-$1").toLowerCase()),Un=Xt(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=Xt(e=>e?`on${Un(e)}`:""),Me=(e,t)=>!Object.is(e,t),cs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Xr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let on;const Zt=()=>on||(on=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function js(e){if(M(e)){const t={};for(let s=0;s{if(s){const n=s.split(Qr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ls(e){let t="";if(Y(e))t=e;else if(M(e))for(let s=0;s!!(e&&e.__v_isRef===!0),oe=e=>Y(e)?e:e==null?"":M(e)||B(e)&&(e.toString===Bn||!I(e.toString))?qn(e)?oe(e.value):JSON.stringify(e,kn,2):String(e),kn=(e,t)=>qn(t)?kn(e,t.value):rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[fs(n,i)+" =>"]=r,s),{})}:Hn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>fs(s))}:$e(t)?fs(t):B(t)&&!M(t)&&!Kn(t)?String(t):t,fs=(e,t="")=>{var s;return $e(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 Z;class ii{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Z&&(Z.active?(this.parent=Z,this.index=(Z.scopes||(Z.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;t0&&--this._on===0){if(Z===this)Z=this.prevScope;else{let t=Z;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;s0)return;if(yt){let t=yt;for(yt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;bt;){let t=bt;for(bt=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 zn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Ks(n),li(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ct)||(e.globalVersion=Ct,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,s=W,n=ye;W=e,ye=!0;try{zn(e);const r=e.fn(e._value);(t.version===0||Me(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{W=s,ye=n,Xn(e),e.flags&=-3}}function Ks(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Ks(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function li(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ye=!0;const Qn=[];function $e(){Qn.push(ye),ye=!1}function De(){const e=Qn.pop();ye=e===void 0?!0:e}function ln(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=W;W=void 0;try{t()}finally{W=s}}}let Ct=0;class ci{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 Us{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(!W||!ye||W===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==W)s=this.activeLink=new ci(W,this),W.deps?(s.prevDep=W.depsTail,W.depsTail.nextDep=s,W.depsTail=s):W.deps=W.depsTail=s,er(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=W.depsTail,s.nextDep=void 0,W.depsTail.nextDep=s,W.depsTail=s,W.deps===s&&(W.deps=n)}return s}trigger(t){this.version++,Ct++,this.notify(t)}notify(t){Ns();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Bs()}}}function er(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)er(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,Ze=Symbol(""),Ss=Symbol(""),Tt=Symbol("");function ee(e,t,s){if(ye&&W){let n=ws.get(e);n||ws.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Us),r.map=n,r.key=s),r.track()}}function Ne(e,t,s,n,r,i){const o=ws.get(e);if(!o){Ct++;return}const l=f=>{f&&f.trigger()};if(Ns(),t==="clear")o.forEach(l);else{const f=M(e),d=f&&Ds(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===Tt||!Fe(S)&&S>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Tt)),t){case"add":f?d&&l(o.get("length")):(l(o.get(Ze)),rt(e)&&l(o.get(Ss)));break;case"delete":f||(l(o.get(Ze)),rt(e)&&l(o.get(Ss)));break;case"set":rt(e)&&l(o.get(Ze));break}}Bs()}function tt(e){const t=j(e);return t===e?t:(ee(t,"iterate",Tt),pe(e)?t:t.map(ve))}function Qt(e){return ee(e=j(e),"iterate",Tt),e}function Ae(e,t){return Ke(e)?lt(Qe(e)?ve(t):t):ve(t)}const fi={__proto__:null,[Symbol.iterator](){return as(this,Symbol.iterator,e=>Ae(this,e))},concat(...e){return tt(this).concat(...e.map(t=>M(t)?tt(t):t))},entries(){return as(this,"entries",e=>(e[1]=Ae(this,e[1]),e))},every(e,t){return je(this,"every",e,t,void 0,arguments)},filter(e,t){return je(this,"filter",e,t,s=>s.map(n=>Ae(this,n)),arguments)},find(e,t){return je(this,"find",e,t,s=>Ae(this,s),arguments)},findIndex(e,t){return je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return je(this,"findLast",e,t,s=>Ae(this,s),arguments)},findLastIndex(e,t){return je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return je(this,"forEach",e,t,void 0,arguments)},includes(...e){return ds(this,"includes",e)},indexOf(...e){return ds(this,"indexOf",e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return ds(this,"lastIndexOf",e)},map(e,t){return je(this,"map",e,t,void 0,arguments)},pop(){return ht(this,"pop")},push(...e){return ht(this,"push",e)},reduce(e,...t){return cn(this,"reduce",e,t)},reduceRight(e,...t){return cn(this,"reduceRight",e,t)},shift(){return ht(this,"shift")},some(e,t){return je(this,"some",e,t,void 0,arguments)},splice(...e){return ht(this,"splice",e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return ht(this,"unshift",e)},values(){return as(this,"values",e=>Ae(this,e))}};function as(e,t,s){const n=Qt(e),r=n[t]();return n!==e&&!pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const ui=Array.prototype;function je(e,t,s,n,r,i){const o=Qt(e),l=o!==e&&!pe(e),f=o[t];if(f!==ui[t]){const p=f.apply(e,i);return l?ve(p):p}let d=s;o!==e&&(l?d=function(p,S){return s.call(this,Ae(e,p),S,e)}:s.length>2&&(d=function(p,S){return s.call(this,p,S,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function cn(e,t,s,n){const r=Qt(e),i=r!==e&&!pe(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Ae(e,d)),s.call(this,d,Ae(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=r[t](o,...n);return l?Ae(e,f):f}function ds(e,t,s){const n=j(e);ee(n,"iterate",Tt);const r=n[t](...s);return(r===-1||r===!1)&&ks(s[0])?(s[0]=j(s[0]),n[t](...s)):r}function ht(e,t,s=[]){$e(),Ns();const n=j(e)[t].apply(e,s);return Bs(),De(),n}const ai=Fs("__proto__,__v_isRef,__isVue"),tr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fe));function di(e){Fe(e)||(e=String(e));const t=j(this);return ee(t,"has",e),t.hasOwnProperty(e)}class sr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?wi:or:i?ir:rr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!r){let f;if(o&&(f=fi[s]))return f;if(s==="hasOwnProperty")return di}const l=Reflect.get(t,s,te(t)?t:n);if((Fe(s)?tr.has(s):ai(s))||(r||ee(t,"get",s),i))return l;if(te(l)){const f=o&&Ds(s)?l:l.value;return r&&B(f)?Ts(f):f}return B(l)?r?Ts(l):Ws(l):l}}class nr extends sr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=M(t)&&Ds(s);if(!this._isShallow){const d=Ke(i);if(!pe(n)&&!Ke(n)&&(i=j(i),n=j(n)),!o&&te(i)&&!te(n))return d||(i.value=n),!0}const l=o?Number(s)e,jt=e=>Reflect.getPrototypeOf(e);function _i(e,t,s){return function(...n){const r=this.__v_raw,i=j(r),o=rt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?Cs:t?lt:ve;return!t&&ee(i,"iterate",f?Ss:Ze),Q(Object.create(d),{next(){const{value:p,done:S}=d.next();return S?{value:p,done:S}:{value:l?[a(p[0]),a(p[1])]:a(p),done:S}}})}}function Lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const s={get(r){const i=this.__v_raw,o=j(i),l=j(r);e||(Me(r,l)&&ee(o,"get",r),ee(o,"get",l));const{has:f}=jt(o),d=t?Cs:e?lt:ve;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ee(j(r),"iterate",Ze),r.size},has(r){const i=this.__v_raw,o=j(i),l=j(r);return e||(Me(r,l)&&ee(o,"has",r),ee(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=j(l),d=t?Cs:e?lt:ve;return!e&&ee(f,"iterate",Ze),l.forEach((a,p)=>r.call(i,d(a),d(p),o))}};return Q(s,e?{add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear")}:{add(r){const i=j(this),o=jt(i),l=j(r),f=!t&&!pe(r)&&!Ke(r)?l:r;return o.has.call(i,f)||Me(r,f)&&o.has.call(i,r)||Me(l,f)&&o.has.call(i,l)||(i.add(f),Ne(i,"add",f,f)),this},set(r,i){!t&&!pe(i)&&!Ke(i)&&(i=j(i));const o=j(this),{has:l,get:f}=jt(o);let d=l.call(o,r);d||(r=j(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Me(i,a)&&Ne(o,"set",r,i):Ne(o,"add",r,i),this},delete(r){const i=j(this),{has:o,get:l}=jt(i);let f=o.call(i,r);f||(r=j(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&Ne(i,"delete",r,void 0),d},clear(){const r=j(this),i=r.size!==0,o=r.clear();return i&&Ne(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=_i(r,e,t)}),s}function Vs(e,t){const s=bi(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(L(s,r)&&r in n?s:n,r,i)}const yi={get:Vs(!1,!1)},vi={get:Vs(!1,!0)},xi={get:Vs(!0,!1)};const rr=new WeakMap,ir=new WeakMap,or=new WeakMap,wi=new WeakMap;function Si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ws(e){return Ke(e)?e:qs(e,!1,pi,yi,rr)}function Ci(e){return qs(e,!1,mi,vi,ir)}function Ts(e){return qs(e,!0,gi,xi,or)}function qs(e,t,s,n,r){if(!B(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=Si(Jr(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function Qe(e){return Ke(e)?Qe(e.__v_raw):!!(e&&e.__v_isReactive)}function Ke(e){return!!(e&&e.__v_isReadonly)}function pe(e){return!!(e&&e.__v_isShallow)}function ks(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Ti(e){return!L(e,"__v_skip")&&Object.isExtensible(e)&&Vn(e,"__v_skip",!0),e}const ve=e=>B(e)?Ws(e):e,lt=e=>B(e)?Ts(e):e;function te(e){return e?e.__v_isRef===!0:!1}function Ht(e){return Ei(e,!1)}function Ei(e,t){return te(e)?e:new Oi(e,t)}class Oi{constructor(t,s){this.dep=new Us,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:j(t),this._value=s?t:ve(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||pe(t)||Ke(t);t=n?t:j(t),Me(t,s)&&(this._rawValue=t,this._value=n?t:ve(t),this.dep.trigger())}}function Ai(e){return te(e)?e.value:e}const Pi={get:(e,t,s)=>t==="__v_raw"?e:Ai(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return te(r)&&!te(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function lr(e){return Qe(e)?e:new Proxy(e,Pi)}class Mi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Us(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ct-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&W!==this)return Yn(this,!0),!0}get value(){const t=this.dep.track();return Zn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ii(e,t,s=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new Mi(n,r,s)}const Nt={},Ut=new WeakMap;let Xe;function Ri(e,t=!1,s=Xe){if(s){let n=Ut.get(s);n||Ut.set(s,n=[]),n.push(e)}}function Fi(e,t,s=q){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=O=>r?O:pe(O)||r===!1||r===0?We(O,1):We(O);let a,p,S,C,D=!1,A=!1;if(te(e)?(p=()=>e.value,D=pe(e)):Qe(e)?(p=()=>d(e),D=!0):M(e)?(A=!0,D=e.some(O=>Qe(O)||pe(O)),p=()=>e.map(O=>{if(te(O))return O.value;if(Qe(O))return d(O);if(I(O))return f?f(O,2):O()})):I(e)?t?p=f?()=>f(e,2):e:p=()=>{if(S){$e();try{S()}finally{De()}}const O=Xe;Xe=a;try{return f?f(e,3,[C]):e(C)}finally{Xe=O}}:p=Re,t&&r){const O=p,J=r===!0?1/0:r;p=()=>We(O(),J)}const k=oi(),K=()=>{a.stop(),k&&k.active&&$s(k.effects,a)};if(i&&t){const O=t;t=(...J)=>{const ce=O(...J);return K(),ce}}let R=A?new Array(e.length).fill(Nt):Nt;const H=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const J=a.run();if(O||r||D||(A?J.some((ce,fe)=>Me(ce,R[fe])):Me(J,R))){S&&S();const ce=Xe;Xe=a;try{const fe=[J,R===Nt?void 0:A&&R[0]===Nt?[]:R,C];R=J,f?f(t,3,fe):t(...fe)}finally{Xe=ce}}}else a.run()};return l&&l(H),a=new Gn(p),a.scheduler=o?()=>o(H,!1):H,C=O=>Ri(O,!1,a),S=a.onStop=()=>{const O=Ut.get(a);if(O){if(f)f(O,4);else for(const J of O)J();Ut.delete(a)}},t?n?H(!0):R=a.run():o?o(H.bind(null,!0),!0):a.run(),K.pause=a.pause.bind(a),K.resume=a.resume.bind(a),K.stop=K,K}function We(e,t=1/0,s){if(t<=0||!B(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,te(e))We(e.value,t,s);else if(M(e))for(let n=0;n{We(n,t,s)});else if(Kn(e)){for(const n in e)We(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&We(e[n],t,s)}return e}/** +**/let Z;class ii{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Z&&(Z.active?(this.parent=Z,this.index=(Z.scopes||(Z.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;t0&&--this._on===0){if(Z===this)Z=this.prevScope;else{let t=Z;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;s0)return;if(yt){let t=yt;for(yt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;bt;){let t=bt;for(bt=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 zn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Ks(n),li(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Zn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Zn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ct)||(e.globalVersion=Ct,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!xs(e))))return;e.flags|=2;const t=e.dep,s=W,n=ye;W=e,ye=!0;try{zn(e);const r=e.fn(e._value);(t.version===0||Me(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{W=s,ye=n,Xn(e),e.flags&=-3}}function Ks(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let i=s.computed.deps;i;i=i.nextDep)Ks(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function li(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let ye=!0;const Qn=[];function Fe(){Qn.push(ye),ye=!1}function De(){const e=Qn.pop();ye=e===void 0?!0:e}function ln(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=W;W=void 0;try{t()}finally{W=s}}}let Ct=0;class ci{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 Us{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(!W||!ye||W===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==W)s=this.activeLink=new ci(W,this),W.deps?(s.prevDep=W.depsTail,W.depsTail.nextDep=s,W.depsTail=s):W.deps=W.depsTail=s,er(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=W.depsTail,s.nextDep=void 0,W.depsTail.nextDep=s,W.depsTail=s,W.deps===s&&(W.deps=n)}return s}trigger(t){this.version++,Ct++,this.notify(t)}notify(t){Ns();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Bs()}}}function er(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)er(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,Ze=Symbol(""),Ss=Symbol(""),Tt=Symbol("");function ee(e,t,s){if(ye&&W){let n=ws.get(e);n||ws.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Us),r.map=n,r.key=s),r.track()}}function Ne(e,t,s,n,r,i){const o=ws.get(e);if(!o){Ct++;return}const l=f=>{f&&f.trigger()};if(Ns(),t==="clear")o.forEach(l);else{const f=M(e),d=f&&Ds(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,S)=>{(S==="length"||S===Tt||!$e(S)&&S>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Tt)),t){case"add":f?d&&l(o.get("length")):(l(o.get(Ze)),rt(e)&&l(o.get(Ss)));break;case"delete":f||(l(o.get(Ze)),rt(e)&&l(o.get(Ss)));break;case"set":rt(e)&&l(o.get(Ze));break}}Bs()}function tt(e){const t=j(e);return t===e?t:(ee(t,"iterate",Tt),pe(e)?t:t.map(ve))}function Qt(e){return ee(e=j(e),"iterate",Tt),e}function Ae(e,t){return Ke(e)?lt(Qe(e)?ve(t):t):ve(t)}const fi={__proto__:null,[Symbol.iterator](){return as(this,Symbol.iterator,e=>Ae(this,e))},concat(...e){return tt(this).concat(...e.map(t=>M(t)?tt(t):t))},entries(){return as(this,"entries",e=>(e[1]=Ae(this,e[1]),e))},every(e,t){return je(this,"every",e,t,void 0,arguments)},filter(e,t){return je(this,"filter",e,t,s=>s.map(n=>Ae(this,n)),arguments)},find(e,t){return je(this,"find",e,t,s=>Ae(this,s),arguments)},findIndex(e,t){return je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return je(this,"findLast",e,t,s=>Ae(this,s),arguments)},findLastIndex(e,t){return je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return je(this,"forEach",e,t,void 0,arguments)},includes(...e){return ds(this,"includes",e)},indexOf(...e){return ds(this,"indexOf",e)},join(e){return tt(this).join(e)},lastIndexOf(...e){return ds(this,"lastIndexOf",e)},map(e,t){return je(this,"map",e,t,void 0,arguments)},pop(){return ht(this,"pop")},push(...e){return ht(this,"push",e)},reduce(e,...t){return cn(this,"reduce",e,t)},reduceRight(e,...t){return cn(this,"reduceRight",e,t)},shift(){return ht(this,"shift")},some(e,t){return je(this,"some",e,t,void 0,arguments)},splice(...e){return ht(this,"splice",e)},toReversed(){return tt(this).toReversed()},toSorted(e){return tt(this).toSorted(e)},toSpliced(...e){return tt(this).toSpliced(...e)},unshift(...e){return ht(this,"unshift",e)},values(){return as(this,"values",e=>Ae(this,e))}};function as(e,t,s){const n=Qt(e),r=n[t]();return n!==e&&!pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const ui=Array.prototype;function je(e,t,s,n,r,i){const o=Qt(e),l=o!==e&&!pe(e),f=o[t];if(f!==ui[t]){const p=f.apply(e,i);return l?ve(p):p}let d=s;o!==e&&(l?d=function(p,S){return s.call(this,Ae(e,p),S,e)}:s.length>2&&(d=function(p,S){return s.call(this,p,S,e)}));const a=f.call(o,d,n);return l&&r?r(a):a}function cn(e,t,s,n){const r=Qt(e),i=r!==e&&!pe(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Ae(e,d)),s.call(this,d,Ae(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=r[t](o,...n);return l?Ae(e,f):f}function ds(e,t,s){const n=j(e);ee(n,"iterate",Tt);const r=n[t](...s);return(r===-1||r===!1)&&ks(s[0])?(s[0]=j(s[0]),n[t](...s)):r}function ht(e,t,s=[]){Fe(),Ns();const n=j(e)[t].apply(e,s);return Bs(),De(),n}const ai=$s("__proto__,__v_isRef,__isVue"),tr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($e));function di(e){$e(e)||(e=String(e));const t=j(this);return ee(t,"has",e),t.hasOwnProperty(e)}class sr{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?wi:or:i?ir:rr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=M(t);if(!r){let f;if(o&&(f=fi[s]))return f;if(s==="hasOwnProperty")return di}const l=Reflect.get(t,s,te(t)?t:n);if(($e(s)?tr.has(s):ai(s))||(r||ee(t,"get",s),i))return l;if(te(l)){const f=o&&Ds(s)?l:l.value;return r&&B(f)?Ts(f):f}return B(l)?r?Ts(l):Ws(l):l}}class nr extends sr{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=M(t)&&Ds(s);if(!this._isShallow){const d=Ke(i);if(!pe(n)&&!Ke(n)&&(i=j(i),n=j(n)),!o&&te(i)&&!te(n))return d||(i.value=n),!0}const l=o?Number(s)e,jt=e=>Reflect.getPrototypeOf(e);function _i(e,t,s){return function(...n){const r=this.__v_raw,i=j(r),o=rt(i),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=r[e](...n),a=s?Cs:t?lt:ve;return!t&&ee(i,"iterate",f?Ss:Ze),Q(Object.create(d),{next(){const{value:p,done:S}=d.next();return S?{value:p,done:S}:{value:l?[a(p[0]),a(p[1])]:a(p),done:S}}})}}function Lt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bi(e,t){const s={get(r){const i=this.__v_raw,o=j(i),l=j(r);e||(Me(r,l)&&ee(o,"get",r),ee(o,"get",l));const{has:f}=jt(o),d=t?Cs:e?lt:ve;if(f.call(o,r))return d(i.get(r));if(f.call(o,l))return d(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ee(j(r),"iterate",Ze),r.size},has(r){const i=this.__v_raw,o=j(i),l=j(r);return e||(Me(r,l)&&ee(o,"has",r),ee(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,f=j(l),d=t?Cs:e?lt:ve;return!e&&ee(f,"iterate",Ze),l.forEach((a,p)=>r.call(i,d(a),d(p),o))}};return Q(s,e?{add:Lt("add"),set:Lt("set"),delete:Lt("delete"),clear:Lt("clear")}:{add(r){const i=j(this),o=jt(i),l=j(r),f=!t&&!pe(r)&&!Ke(r)?l:r;return o.has.call(i,f)||Me(r,f)&&o.has.call(i,r)||Me(l,f)&&o.has.call(i,l)||(i.add(f),Ne(i,"add",f,f)),this},set(r,i){!t&&!pe(i)&&!Ke(i)&&(i=j(i));const o=j(this),{has:l,get:f}=jt(o);let d=l.call(o,r);d||(r=j(r),d=l.call(o,r));const a=f.call(o,r);return o.set(r,i),d?Me(i,a)&&Ne(o,"set",r,i):Ne(o,"add",r,i),this},delete(r){const i=j(this),{has:o,get:l}=jt(i);let f=o.call(i,r);f||(r=j(r),f=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return f&&Ne(i,"delete",r,void 0),d},clear(){const r=j(this),i=r.size!==0,o=r.clear();return i&&Ne(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=_i(r,e,t)}),s}function Vs(e,t){const s=bi(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(L(s,r)&&r in n?s:n,r,i)}const yi={get:Vs(!1,!1)},vi={get:Vs(!1,!0)},xi={get:Vs(!0,!1)};const rr=new WeakMap,ir=new WeakMap,or=new WeakMap,wi=new WeakMap;function Si(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ws(e){return Ke(e)?e:qs(e,!1,pi,yi,rr)}function Ci(e){return qs(e,!1,mi,vi,ir)}function Ts(e){return qs(e,!0,gi,xi,or)}function qs(e,t,s,n,r){if(!B(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=Si(Jr(e));if(o===0)return e;const l=new Proxy(e,o===2?n:s);return r.set(e,l),l}function Qe(e){return Ke(e)?Qe(e.__v_raw):!!(e&&e.__v_isReactive)}function Ke(e){return!!(e&&e.__v_isReadonly)}function pe(e){return!!(e&&e.__v_isShallow)}function ks(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Ti(e){return!L(e,"__v_skip")&&Object.isExtensible(e)&&Vn(e,"__v_skip",!0),e}const ve=e=>B(e)?Ws(e):e,lt=e=>B(e)?Ts(e):e;function te(e){return e?e.__v_isRef===!0:!1}function Ht(e){return Ei(e,!1)}function Ei(e,t){return te(e)?e:new Oi(e,t)}class Oi{constructor(t,s){this.dep=new Us,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:j(t),this._value=s?t:ve(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||pe(t)||Ke(t);t=n?t:j(t),Me(t,s)&&(this._rawValue=t,this._value=n?t:ve(t),this.dep.trigger())}}function Ai(e){return te(e)?e.value:e}const Pi={get:(e,t,s)=>t==="__v_raw"?e:Ai(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return te(r)&&!te(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function lr(e){return Qe(e)?e:new Proxy(e,Pi)}class Mi{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Us(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ct-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&W!==this)return Yn(this,!0),!0}get value(){const t=this.dep.track();return Zn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ii(e,t,s=!1){let n,r;return I(e)?n=e:(n=e.get,r=e.set),new Mi(n,r,s)}const Nt={},Ut=new WeakMap;let Xe;function Ri(e,t=!1,s=Xe){if(s){let n=Ut.get(s);n||Ut.set(s,n=[]),n.push(e)}}function $i(e,t,s=q){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:f}=s,d=O=>r?O:pe(O)||r===!1||r===0?We(O,1):We(O);let a,p,S,C,D=!1,A=!1;if(te(e)?(p=()=>e.value,D=pe(e)):Qe(e)?(p=()=>d(e),D=!0):M(e)?(A=!0,D=e.some(O=>Qe(O)||pe(O)),p=()=>e.map(O=>{if(te(O))return O.value;if(Qe(O))return d(O);if(I(O))return f?f(O,2):O()})):I(e)?t?p=f?()=>f(e,2):e:p=()=>{if(S){Fe();try{S()}finally{De()}}const O=Xe;Xe=a;try{return f?f(e,3,[C]):e(C)}finally{Xe=O}}:p=Re,t&&r){const O=p,J=r===!0?1/0:r;p=()=>We(O(),J)}const k=oi(),K=()=>{a.stop(),k&&k.active&&Fs(k.effects,a)};if(i&&t){const O=t;t=(...J)=>{const ce=O(...J);return K(),ce}}let R=A?new Array(e.length).fill(Nt):Nt;const H=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const J=a.run();if(O||r||D||(A?J.some((ce,fe)=>Me(ce,R[fe])):Me(J,R))){S&&S();const ce=Xe;Xe=a;try{const fe=[J,R===Nt?void 0:A&&R[0]===Nt?[]:R,C];R=J,f?f(t,3,fe):t(...fe)}finally{Xe=ce}}}else a.run()};return l&&l(H),a=new Gn(p),a.scheduler=o?()=>o(H,!1):H,C=O=>Ri(O,!1,a),S=a.onStop=()=>{const O=Ut.get(a);if(O){if(f)f(O,4);else for(const J of O)J();Ut.delete(a)}},t?n?H(!0):R=a.run():o?o(H.bind(null,!0),!0):a.run(),K.pause=a.pause.bind(a),K.resume=a.resume.bind(a),K.stop=K,K}function We(e,t=1/0,s){if(t<=0||!B(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,te(e))We(e.value,t,s);else if(M(e))for(let n=0;n{We(n,t,s)});else if(Kn(e)){for(const n in e)We(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&We(e[n],t,s)}return e}/** * @vue/runtime-core v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Mt(e,t,s,n){try{return n?e(...n):e()}catch(r){es(r,t,s)}}function xe(e,t,s,n){if(I(e)){const r=Mt(e,t,s,n);return r&&Nn(r)&&r.catch(i=>{es(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i>>1,r=re[n],i=Et(r);i=Et(s)?re.push(e):re.splice(ji(t),0,e),e.flags|=1,fr()}}function fr(){Vt||(Vt=cr.then(ar))}function Li(e){M(e)?it.push(...e):Ve&&e.id===-1?Ve.splice(st+1,0,e):e.flags&1||(it.push(e),e.flags|=1),fr()}function fn(e,t,s=Oe+1){for(;sEt(s)-Et(n));if(it.length=0,Ve){Ve.push(...t);return}for(Ve=t,st=0;ste.id==null?e.flags&2?-1:1/0:e.id;function ar(e){try{for(Oe=0;Oe{n._d&&xn(-1);const i=Wt(t);let o;try{o=e(...r)}finally{Wt(i),n._d&&xn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ye(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o1)return s&&I(t)?t.call(n&&n.proxy):t}}const Bi=Symbol.for("v-scx"),Ki=()=>Bt(Bi);function hs(e,t,s){return hr(e,t,s)}function hr(e,t,s=q){const{immediate:n,deep:r,flush:i,once:o}=s,l=Q({},s),f=t&&n||!t&&i!=="post";let d;if(At){if(i==="sync"){const C=Ki();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=Re,C.resume=Re,C.pause=Re,C}}const a=ie;l.call=(C,D,A)=>xe(C,a,D,A);let p=!1;i==="post"?l.scheduler=C=>{le(C,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(C,D)=>{D?C():Gs(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const S=Fi(e,t,l);return At&&(d?d.push(S):f&&S()),S}function Ui(e,t,s){const n=this.proxy,r=Y(e)?e.includes(".")?pr(n,e):()=>n[e]:e.bind(n,n);let i;I(t)?i=t:(i=t.handler,s=t);const o=It(this),l=hr(r,i.bind(n),s);return o(),l}function pr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;re.__isTeleport,ps=Symbol("_leaveCb");function Js(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Js(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qi(e,t){return I(e)?Q({name:e.name},t,{setup:e}):e}function gr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function un(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const qt=new WeakMap;function vt(e,t,s,n,r=!1){if(M(e)){e.forEach((A,k)=>vt(A,t&&(M(t)?t[k]:t),s,n,r));return}if(xt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&vt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Xs(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===q?l.refs={}:l.refs,p=l.setupState,S=j(p),C=p===q?Ln:A=>un(a,A)?!1:L(S,A),D=(A,k)=>!(k&&un(a,k));if(d!=null&&d!==f){if(an(t),Y(d))a[d]=null,C(d)&&(p[d]=null);else if(te(d)){const A=t;D(d,A.k)&&(d.value=null),A.k&&(a[A.k]=null)}}if(I(f)){$e();try{Mt(f,l,12,[o,a])}finally{De()}}else{const A=Y(f),k=te(f);if(A||k){const K=()=>{if(e.f){const R=A?C(f)?p[f]:a[f]:D()||!e.k?f.value:a[e.k];if(r)M(R)&&$s(R,i);else if(M(R))R.includes(i)||R.push(i);else if(A)a[f]=[i],C(f)&&(p[f]=a[f]);else{const H=[i];D(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else A?(a[f]=o,C(f)&&(p[f]=o)):k&&(D(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const R=()=>{K(),qt.delete(e)};R.id=-1,qt.set(e,R),le(R,s)}else an(e),K()}}}function an(e){const t=qt.get(e);t&&(t.flags|=8,qt.delete(e))}Zt().requestIdleCallback;Zt().cancelIdleCallback;const xt=e=>!!e.type.__asyncLoader,mr=e=>e.type.__isKeepAlive;function ki(e,t){_r(e,"a",t)}function Gi(e,t){_r(e,"da",t)}function _r(e,t,s=ie){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ts(t,n,s),s){let r=s.parent;for(;r&&r.parent;)mr(r.parent.vnode)&&Ji(n,t,s,r),r=r.parent}}function Ji(e,t,s,n){const r=ts(t,e,n,!0);yr(()=>{$s(n[t],r)},s)}function ts(e,t,s=ie,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{$e();const l=It(s),f=xe(t,s,e,o);return l(),De(),f});return n?r.unshift(i):r.push(i),i}}const Ue=e=>(t,s=ie)=>{(!At||e==="sp")&&ts(e,(...n)=>t(...n),s)},Yi=Ue("bm"),br=Ue("m"),zi=Ue("bu"),Xi=Ue("u"),Zi=Ue("bum"),yr=Ue("um"),Qi=Ue("sp"),eo=Ue("rtg"),to=Ue("rtc");function so(e,t=ie){ts("ec",e,t)}const no=Symbol.for("v-ndc");function dn(e,t,s,n){let r;const i=s,o=M(e);if(o||Y(e)){const l=o&&Qe(e);let f=!1,d=!1;l&&(f=!pe(e),d=Ke(e),e=Qt(e)),r=new Array(e.length);for(let a=0,p=e.length;at(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,d=l.length;fe?Br(e)?Xs(e):Es(e.parent):null,wt=Q(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=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xr(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Di.bind(e.proxy)),$watch:e=>Ui.bind(e)}),gs=(e,t)=>e!==q&&!e.__isScriptSetup&&L(e,t),ro={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const S=o[t];if(S!==void 0)switch(S){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(gs(n,t))return o[t]=1,n[t];if(r!==q&&L(r,t))return o[t]=2,r[t];if(L(i,t))return o[t]=3,i[t];if(s!==q&&L(s,t))return o[t]=4,s[t];Os&&(o[t]=0)}}const d=wt[t];let a,p;if(d)return t==="$attrs"&&ee(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==q&&L(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,L(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return gs(r,t)?(r[t]=s,!0):n!==q&&L(n,t)?(n[t]=s,!0):L(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==q&&l[0]!=="$"&&L(e,l)||gs(t,l)||L(i,l)||L(n,l)||L(wt,l)||L(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:L(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function hn(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Os=!0;function io(e){const t=xr(e),s=e.proxy,n=e.ctx;Os=!1,t.beforeCreate&&pn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:S,beforeUpdate:C,updated:D,activated:A,deactivated:k,beforeDestroy:K,beforeUnmount:R,destroyed:H,unmounted:O,render:J,renderTracked:ce,renderTriggered:fe,errorCaptured:ge,serverPrefetch:de,expose:ke,inheritAttrs:ft,components:Rt,directives:Ft,filters:rs}=t;if(d&&oo(d,n,null),o)for(const G in o){const V=o[G];I(V)&&(n[G]=V.bind(s))}if(r){const G=r.call(s,s);B(G)&&(e.data=Ws(G))}if(Os=!0,i)for(const G in i){const V=i[G],Ge=I(V)?V.bind(s,s):I(V.get)?V.get.bind(s,s):Re,$t=!I(V)&&I(V.set)?V.set.bind(s):Re,Je=Is({get:Ge,set:$t});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>Je.value,set:we=>Je.value=we})}if(l)for(const G in l)vr(l[G],n,s,G);if(f){const G=I(f)?f.call(s):f;Reflect.ownKeys(G).forEach(V=>{Ni(V,G[V])})}a&&pn(a,e,"c");function se(G,V){M(V)?V.forEach(Ge=>G(Ge.bind(s))):V&&G(V.bind(s))}if(se(Yi,p),se(br,S),se(zi,C),se(Xi,D),se(ki,A),se(Gi,k),se(so,ge),se(to,ce),se(eo,fe),se(Zi,R),se(yr,O),se(Qi,de),M(ke))if(ke.length){const G=e.exposed||(e.exposed={});ke.forEach(V=>{Object.defineProperty(G,V,{get:()=>s[V],set:Ge=>s[V]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});J&&e.render===Re&&(e.render=J),ft!=null&&(e.inheritAttrs=ft),Rt&&(e.components=Rt),Ft&&(e.directives=Ft),de&&gr(e)}function oo(e,t,s=Re){M(e)&&(e=As(e));for(const n in e){const r=e[n];let i;B(r)?"default"in r?i=Bt(r.from||n,r.default,!0):i=Bt(r.from||n):i=Bt(r),te(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function pn(e,t,s){xe(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function vr(e,t,s,n){let r=n.includes(".")?pr(s,n):()=>s[n];if(Y(e)){const i=t[e];I(i)&&hs(r,i)}else if(I(e))hs(r,e.bind(s));else if(B(e))if(M(e))e.forEach(i=>vr(i,t,s,n));else{const i=I(e.handler)?e.handler.bind(s):t[e.handler];I(i)&&hs(r,i,e)}}function xr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>kt(f,d,o,!0)),kt(f,t,o)),B(t)&&i.set(t,f),f}function kt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&kt(e,i,s,!0),r&&r.forEach(o=>kt(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:gn,props:mn,emits:mn,methods:gt,computed:gt,beforeCreate:ne,created:ne,beforeMount:ne,mounted:ne,beforeUpdate:ne,updated:ne,beforeDestroy:ne,beforeUnmount:ne,destroyed:ne,unmounted:ne,activated:ne,deactivated:ne,errorCaptured:ne,serverPrefetch:ne,components:gt,directives:gt,watch:fo,provide:gn,inject:co};function gn(e,t){return t?e?function(){return Q(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function co(e,t){return gt(As(e),As(t))}function As(e){if(M(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${be(t)}Modifiers`]||e[`${et(t)}Modifiers`];function po(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||q;let r=s;const i=t.startsWith("update:"),o=i&&ho(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>Y(a)?a.trim():a)),o.number&&(r=s.map(Xr)));let l,f=n[l=ls(t)]||n[l=ls(be(t))];!f&&i&&(f=n[l=ls(et(t))]),f&&xe(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(d,e,6,r)}}const go=new WeakMap;function Sr(e,t,s=!1){const n=s?go:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!I(e)){const f=d=>{const a=Sr(d,t,!0);a&&(l=!0,Q(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(B(e)&&n.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):Q(o,i),B(e)&&n.set(e,o),o)}function ss(e,t){return!e||!Yt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),L(e,t[0].toLowerCase()+t.slice(1))||L(e,et(t))||L(e,t))}function _n(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:S,setupState:C,ctx:D,inheritAttrs:A}=e,k=Wt(e);let K,R;try{if(s.shapeFlag&4){const O=r||n,J=O;K=Pe(d.call(J,O,a,p,C,S,D)),R=l}else{const O=t;K=Pe(O.length>1?O(p,{attrs:l,slots:o,emit:f}):O(p,null)),R=t.props?l:mo(l)}}catch(O){St.length=0,es(O,e,1),K=Be(qe)}let H=K;if(R&&A!==!1){const O=Object.keys(R),{shapeFlag:J}=H;O.length&&J&7&&(i&&O.some(zt)&&(R=_o(R,i)),H=ct(H,R,!1,!0))}return s.dirs&&(H=ct(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition&&Js(H,s.transition),K=H,Wt(k),K}const mo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Yt(s))&&((t||(t={}))[s]=e[s]);return t},_o=(e,t)=>{const s={};for(const n in e)(!zt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function bo(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?bn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;pObject.create(Tr),Or=e=>Object.getPrototypeOf(e)===Tr;function vo(e,t,s,n=!1){const r={},i=Er();e.propsDefaults=Object.create(null),Ar(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Ci(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xo(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=j(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[S,C]=Pr(p,t,!0);Q(o,S),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return B(e)&&n.set(e,nt),nt;if(M(i))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",zs=e=>M(e)?e.map(Pe):[Pe(e)],So=(e,t,s)=>{if(t._n)return t;const n=Hi((...r)=>zs(t(...r)),s);return n._c=!1,n},Mr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Ys(r))continue;const i=e[r];if(I(i))t[r]=So(r,i,n);else if(i!=null){const o=zs(i);t[r]=()=>o}}},Ir=(e,t)=>{const s=zs(t);e.slots.default=()=>s},Rr=(e,t,s)=>{for(const n in t)(s||!Ys(n))&&(e[n]=t[n])},Co=(e,t,s)=>{const n=e.slots=Er();if(e.vnode.shapeFlag&32){const r=t._;r?(Rr(n,t,s),s&&Vn(n,"_",r,!0)):Mr(t,n)}else t&&Ir(e,t)},To=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=q;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Rr(r,t,s):(i=!t.$stable,Mr(t,r)),o=t}else t&&(Ir(e,t),o={default:1});if(i)for(const l in r)!Ys(l)&&o[l]==null&&delete r[l]},le=Mo;function Eo(e){return Oo(e)}function Oo(e,t){const s=Zt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:S,setScopeId:C=Re,insertStaticContent:D}=e,A=(c,u,h,b=null,_=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!pt(c,u)&&(b=Dt(c),we(c,_,g,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:m,ref:E,shapeFlag:w}=u;switch(m){case ns:k(c,u,h,b);break;case qe:K(c,u,h,b);break;case _s:c==null&&R(u,h,b,x);break;case _e:Rt(c,u,h,b,_,g,x,v,y);break;default:w&1?J(c,u,h,b,_,g,x,v,y):w&6?Ft(c,u,h,b,_,g,x,v,y):(w&64||w&128)&&m.process(c,u,h,b,_,g,x,v,y,at)}E!=null&&_?vt(E,c&&c.ref,g,u||c,!u):E==null&&c&&c.ref!=null&&vt(c.ref,null,g,c,!0)},k=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const _=u.el=c.el;u.children!==c.children&&d(_,u.children)}},K=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},R=(c,u,h,b)=>{[c.el,c.anchor]=D(c.children,u,h,b,c.el,c.anchor)},H=({el:c,anchor:u},h,b)=>{let _;for(;c&&c!==u;)_=S(c),n(c,h,b),c=_;n(u,h,b)},O=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=S(c),r(c),c=h;r(u)},J=(c,u,h,b,_,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ce(u,h,b,_,g,x,v,y);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),de(c,u,_,g,x,v,y)}finally{m&&m._endPatch()}}},ce=(c,u,h,b,_,g,x,v)=>{let y,m;const{props:E,shapeFlag:w,transition:T,dirs:P}=c;if(y=c.el=o(c.type,g,E&&E.is,E),w&8?a(y,c.children):w&16&&ge(c.children,y,null,b,_,ms(c,g),x,v),P&&Ye(c,null,b,"created"),fe(y,c,c.scopeId,x,b),E){for(const U in E)U!=="value"&&!_t(U)&&i(y,U,null,E[U],g,b);"value"in E&&i(y,"value",null,E.value,g),(m=E.onVnodeBeforeMount)&&Ee(m,b,c)}P&&Ye(c,null,b,"beforeMount");const $=Ao(_,T);$&&T.beforeEnter(y),n(y,u,h),((m=E&&E.onVnodeMounted)||$||P)&&le(()=>{try{m&&Ee(m,b,c),$&&T.enter(y),P&&Ye(c,null,b,"mounted")}finally{}},_)},fe=(c,u,h,b,_)=>{if(h&&C(c,h),b)for(let g=0;g{for(let m=y;m{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:m,dirs:E}=u;y|=c.patchFlag&16;const w=c.props||q,T=u.props||q;let P;if(h&&ze(h,!1),(P=T.onVnodeBeforeUpdate)&&Ee(P,h,u,c),E&&Ye(u,c,h,"beforeUpdate"),h&&ze(h,!0),m&&(!c.dynamicChildren||c.dynamicChildren.length!==m.length)&&(y=0,x=!1,m=null),(w.innerHTML&&T.innerHTML==null||w.textContent&&T.textContent==null)&&a(v,""),m?ke(c.dynamicChildren,m,v,h,b,ms(u,_),g):x||V(c,u,v,null,h,b,ms(u,_),g,!1),y>0){if(y&16)ft(v,w,T,h,_);else if(y&2&&w.class!==T.class&&i(v,"class",null,T.class,_),y&4&&i(v,"style",w.style,T.style,_),y&8){const $=u.dynamicProps;for(let U=0;U<$.length;U++){const N=$[U],z=w[N],X=T[N];(X!==z||N==="value")&&i(v,N,z,X,_,h)}}y&1&&c.children!==u.children&&a(v,u.children)}else!x&&m==null&&ft(v,w,T,h,_);((P=T.onVnodeUpdated)||E)&&le(()=>{P&&Ee(P,h,u,c),E&&Ye(u,c,h,"updated")},b)},ke=(c,u,h,b,_,g,x)=>{for(let v=0;v{if(u!==h){if(u!==q)for(const g in u)!_t(g)&&!(g in h)&&i(c,g,u[g],null,_,b);for(const g in h){if(_t(g))continue;const x=h[g],v=u[g];x!==v&&g!=="value"&&i(c,g,v,x,_,b)}"value"in h&&i(c,"value",u.value,h.value,_)}},Rt=(c,u,h,b,_,g,x,v,y)=>{const m=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),c==null?(n(m,h,b),n(E,h,b),ge(u.children||[],h,E,_,g,x,v,y)):w>0&&w&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(ke(c.dynamicChildren,T,h,_,g,x,v),(u.key!=null||_&&u===_.subTree)&&Fr(c,u,!0)):V(c,u,h,E,_,g,x,v,y)},Ft=(c,u,h,b,_,g,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?_.ctx.activate(u,h,b,x,y):rs(u,h,b,_,g,x,y):Zs(c,u,y)},rs=(c,u,h,b,_,g,x)=>{const v=c.component=No(c,b,_);if(mr(c)&&(v.ctx.renderer=at),Ko(v,!1,x),v.asyncDep){if(_&&_.registerDep(v,se,x),!c.el){const y=v.subTree=Be(qe);K(null,y,u,h),c.placeholder=y.el}}else se(v,c,u,h,_,g,x)},Zs=(c,u,h)=>{const b=u.component=c.component;if(bo(c,u,h))if(b.asyncDep&&!b.asyncResolved){G(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},se=(c,u,h,b,_,g,x)=>{const v=()=>{if(c.isMounted){let{next:w,bu:T,u:P,parent:$,vnode:U}=c;{const Ce=$r(c);if(Ce){w&&(w.el=U.el,G(c,w,x)),Ce.asyncDep.then(()=>{le(()=>{c.isUnmounted||m()},_)});return}}let N=w,z;ze(c,!1),w?(w.el=U.el,G(c,w,x)):w=U,T&&cs(T),(z=w.props&&w.props.onVnodeBeforeUpdate)&&Ee(z,$,w,U),ze(c,!0);const X=_n(c),Se=c.subTree;c.subTree=X,A(Se,X,p(Se.el),Dt(Se),c,_,g),w.el=X.el,N===null&&yo(c,X.el),P&&le(P,_),(z=w.props&&w.props.onVnodeUpdated)&&le(()=>Ee(z,$,w,U),_)}else{let w;const{el:T,props:P}=u,{bm:$,m:U,parent:N,root:z,type:X}=c,Se=xt(u);ze(c,!1),$&&cs($),!Se&&(w=P&&P.onVnodeBeforeMount)&&Ee(w,N,u),ze(c,!0);{z.ce&&z.ce._hasShadowRoot()&&z.ce._injectChildStyle(X,c.parent?c.parent.type:void 0);const Ce=c.subTree=_n(c);A(null,Ce,h,b,c,_,g),u.el=Ce.el}if(U&&le(U,_),!Se&&(w=P&&P.onVnodeMounted)){const Ce=u;le(()=>Ee(w,N,Ce),_)}(u.shapeFlag&256||N&&xt(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&le(c.a,_),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new Gn(v);c.scope.off();const m=c.update=y.run.bind(y),E=c.job=y.runIfDirty.bind(y);E.i=c,E.id=c.uid,y.scheduler=()=>Gs(E),ze(c,!0),m()},G=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,xo(c,u.props,b,h),To(c,u.children,h),$e(),fn(c),De()},V=(c,u,h,b,_,g,x,v,y=!1)=>{const m=c&&c.children,E=c?c.shapeFlag:0,w=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){$t(m,w,h,b,_,g,x,v,y);return}else if(T&256){Ge(m,w,h,b,_,g,x,v,y);return}}P&8?(E&16&&ut(m,_,g),w!==m&&a(h,w)):E&16?P&16?$t(m,w,h,b,_,g,x,v,y):ut(m,_,g,!0):(E&8&&a(h,""),P&16&&ge(w,h,b,_,g,x,v,y))},Ge=(c,u,h,b,_,g,x,v,y)=>{c=c||nt,u=u||nt;const m=c.length,E=u.length,w=Math.min(m,E);let T;for(T=0;TE?ut(c,_,g,!0,!1,w):ge(u,h,b,_,g,x,v,y,w)},$t=(c,u,h,b,_,g,x,v,y)=>{let m=0;const E=u.length;let w=c.length-1,T=E-1;for(;m<=w&&m<=T;){const P=c[m],$=u[m]=y?He(u[m]):Pe(u[m]);if(pt(P,$))A(P,$,h,null,_,g,x,v,y);else break;m++}for(;m<=w&&m<=T;){const P=c[w],$=u[T]=y?He(u[T]):Pe(u[T]);if(pt(P,$))A(P,$,h,null,_,g,x,v,y);else break;w--,T--}if(m>w){if(m<=T){const P=T+1,$=PT)for(;m<=w;)we(c[m],_,g,!0),m++;else{const P=m,$=m,U=new Map;for(m=$;m<=T;m++){const ue=u[m]=y?He(u[m]):Pe(u[m]);ue.key!=null&&U.set(ue.key,m)}let N,z=0;const X=T-$+1;let Se=!1,Ce=0;const dt=new Array(X);for(m=0;m=X){we(ue,_,g,!0);continue}let Te;if(ue.key!=null)Te=U.get(ue.key);else for(N=$;N<=T;N++)if(dt[N-$]===0&&pt(ue,u[N])){Te=N;break}Te===void 0?we(ue,_,g,!0):(dt[Te-$]=m+1,Te>=Ce?Ce=Te:Se=!0,A(ue,u[Te],h,null,_,g,x,v,y),z++)}const tn=Se?Po(dt):nt;for(N=tn.length-1,m=X-1;m>=0;m--){const ue=$+m,Te=u[ue],sn=u[ue+1],nn=ue+1{const{el:g,type:x,transition:v,children:y,shapeFlag:m}=c;if(m&6){Je(c.component.subTree,u,h,b);return}if(m&128){c.suspense.move(u,h,b);return}if(m&64){x.move(c,u,h,at);return}if(x===_e){n(g,u,h);for(let w=0;wv.enter(g),_));else{const{leave:w,delayLeave:T,afterLeave:P}=v,$=()=>{c.ctx.isUnmounted?r(g):n(g,u,h)},U=()=>{const N=g._isLeaving||!!g[ps];g._isLeaving&&g[ps](!0),v.persisted&&!N?$():w(g,()=>{$(),P&&P()})};T?T(g,$,U):U()}else n(g,u,h)},we=(c,u,h,b=!1,_=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:m,shapeFlag:E,patchFlag:w,dirs:T,cacheIndex:P,memo:$}=c;if(w===-2&&(_=!1),v!=null&&($e(),vt(v,null,h,c,!0),De()),P!=null&&(u.renderCache[P]=void 0),E&256){u.ctx.deactivate(c);return}const U=E&1&&T,N=!xt(c);let z;if(N&&(z=x&&x.onVnodeBeforeUnmount)&&Ee(z,u,c),E&6)Wr(c.component,h,b);else{if(E&128){c.suspense.unmount(h,b);return}U&&Ye(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,at,b):m&&!m.hasOnce&&(g!==_e||w>0&&w&64)?ut(m,u,h,!1,!0):(g===_e&&w&384||!_&&E&16)&&ut(y,u,h),b&&Qs(c)}const X=$!=null&&P==null;(N&&(z=x&&x.onVnodeUnmounted)||U||X)&&le(()=>{z&&Ee(z,u,c),U&&Ye(c,null,u,"unmounted"),X&&(c.el=null)},h)},Qs=c=>{const{type:u,el:h,anchor:b,transition:_}=c;if(u===_e){Vr(h,b);return}if(u===_s){O(c);return}const g=()=>{r(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:x,delayLeave:v}=_,y=()=>x(h,g);v?v(c.el,g,y):y()}else g()},Vr=(c,u)=>{let h;for(;c!==u;)h=S(c),r(c),c=h;r(u)},Wr=(c,u,h)=>{const{bum:b,scope:_,job:g,subTree:x,um:v,m:y,a:m}=c;vn(y),vn(m),b&&cs(b),_.stop(),g&&(g.flags|=8,we(x,c,u,h)),v&&le(v,u),le(()=>{c.isUnmounted=!0},u)},ut=(c,u,h,b=!1,_=!1,g=0)=>{for(let x=g;x{if(c.shapeFlag&6)return Dt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=S(c.anchor||c.el),h=u&&u[Vi];return h?S(h):u};let is=!1;const en=(c,u,h)=>{let b;c==null?u._vnode&&(we(u._vnode,null,null,!0),b=u._vnode.component):A(u._vnode||null,c,u,null,null,null,h),u._vnode=c,is||(is=!0,fn(b),ur(),is=!1)},at={p:A,um:we,m:Je,r:Qs,mt:rs,mc:ge,pc:V,pbc:ke,n:Dt,o:e};return{render:en,hydrate:void 0,createApp:ao(en)}}function ms({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 ze({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ao(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Fr(e,t,s=!1){const n=e.children,r=t.children;if(M(n)&&M(r))for(let i=0;i>1,e[s[l]]0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function $r(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:$r(t)}function vn(e){if(e)for(let t=0;te.__isSuspense;function Mo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Li(e)}const _e=Symbol.for("v-fgt"),ns=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),St=[];let ae=null;function he(e=!1){St.push(ae=e?null:[])}function Io(){St.pop(),ae=St[St.length-1]||null}let Ot=1;function xn(e,t=!1){Ot+=e,e<0&&ae&&t&&(ae.hasOnce=!0)}function Lr(e){return e.dynamicChildren=Ot>0?ae||nt:null,Io(),Ot>0&&ae&&ae.push(e),e}function me(e,t,s,n,r,i){return Lr(F(e,t,s,n,r,i,!0))}function Ro(e,t,s,n,r){return Lr(Be(e,t,s,n,r,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function pt(e,t){return e.type===t.type&&e.key===t.key}const Nr=({key:e})=>e??null,Kt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Y(e)||te(e)||I(e)?{i:Ie,r:e,k:t,f:!!s}:e:null);function F(e,t=null,s=null,n=0,r=null,i=e===_e?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nr(t),ref:t&&Kt(t),scopeId:dr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ie};return l?(Gt(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=Y(s)?8:16),Ot>0&&!o&&ae&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&ae.push(f),f}const Be=Fo;function Fo(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===no)&&(e=qe),Hr(e)){const l=ct(e,t,!0);return s&&Gt(l,s),Ot>0&&!i&&ae&&(l.shapeFlag&6?ae[ae.indexOf(e)]=l:ae.push(l)),l.patchFlag=-2,l}if(qo(e)&&(e=e.__vccOpts),t){t=$o(t);let{class:l,style:f}=t;l&&!Y(l)&&(t.class=Ls(l)),B(f)&&(ks(f)&&!M(f)&&(f=Q({},f)),t.style=js(f))}const o=Y(e)?1:jr(e)?128:Wi(e)?64:B(e)?4:I(e)?2:0;return F(e,t,s,n,r,o,i,!0)}function $o(e){return e?ks(e)||Or(e)?Q({},e):e:null}function ct(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?jo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Nr(d),ref:t&&t.ref?s&&i?M(i)?i.concat(Kt(t)):[i,Kt(t)]:Kt(t):i,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!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ct(e.ssContent),ssFallback:e.ssFallback&&ct(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Js(a,f.clone(a)),a}function Do(e=" ",t=0){return Be(ns,null,e,t)}function bs(e="",t=!1){return t?(he(),Ro(qe,null,e)):Be(qe,null,e)}function Pe(e){return e==null||typeof e=="boolean"?Be(qe):M(e)?Be(_e,null,e.slice()):Hr(e)?He(e):Be(ns,null,String(e))}function He(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ct(e)}function Gt(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Gt(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Or(t)?t._ctx=Ie:r===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(I(t)){if(n&65){Gt(e,{default:t});return}t={default:t,_ctx:Ie},s=32}else t=String(t),n&64?(s=16,t=[Do(t)]):s=8;e.children=t,e.shapeFlag|=s}function jo(...e){const t={};for(let s=0;sie||Ie;let Jt,Ms;{const e=Zt(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Jt=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),Ms=t("__VUE_SSR_SETTERS__",s=>At=s)}const It=e=>{const t=ie;return Jt(e),e.scope.on(),()=>{e.scope.off(),Jt(t)}},wn=()=>{ie&&ie.scope.off(),Jt(null)};function Br(e){return e.vnode.shapeFlag&4}let At=!1;function Ko(e,t=!1,s=!1){t&&Ms(t);const{props:n,children:r}=e.vnode,i=Br(e);vo(e,n,i,t),Co(e,r,s||t);const o=i?Uo(e,t):void 0;return t&&Ms(!1),o}function Uo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ro);const{setup:n}=s;if(n){$e();const r=e.setupContext=n.length>1?Wo(e):null,i=It(e),o=Mt(n,e,0,[e.props,r]),l=Nn(o);if(De(),i(),(l||e.sp)&&!xt(e)&&gr(e),l){if(o.then(wn,wn),t)return o.then(f=>{Sn(e,f)}).catch(f=>{es(f,e,0)});e.asyncDep=o}else Sn(e,o)}else Kr(e)}function Sn(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=lr(t)),Kr(e)}function Kr(e,t,s){const n=e.type;e.render||(e.render=n.render||Re);{const r=It(e);$e();try{io(e)}finally{De(),r()}}}const Vo={get(e,t){return ee(e,"get",""),e[t]}};function Wo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Vo),slots:e.slots,emit:e.emit,expose:t}}function Xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lr(Ti(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in wt)return wt[s](e)},has(t,s){return s in t||s in wt}})):e.proxy}function qo(e){return I(e)&&"__vccOpts"in e}const Is=(e,t)=>Ii(e,t,At),ko="3.5.39";/** +**/function Mt(e,t,s,n){try{return n?e(...n):e()}catch(r){es(r,t,s)}}function xe(e,t,s,n){if(I(e)){const r=Mt(e,t,s,n);return r&&Nn(r)&&r.catch(i=>{es(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i>>1,r=re[n],i=Et(r);i=Et(s)?re.push(e):re.splice(ji(t),0,e),e.flags|=1,fr()}}function fr(){Vt||(Vt=cr.then(ar))}function Li(e){M(e)?it.push(...e):Ve&&e.id===-1?Ve.splice(st+1,0,e):e.flags&1||(it.push(e),e.flags|=1),fr()}function fn(e,t,s=Oe+1){for(;sEt(s)-Et(n));if(it.length=0,Ve){Ve.push(...t);return}for(Ve=t,st=0;ste.id==null?e.flags&2?-1:1/0:e.id;function ar(e){try{for(Oe=0;Oe{n._d&&xn(-1);const i=Wt(t);let o;try{o=e(...r)}finally{Wt(i),n._d&&xn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ye(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o1)return s&&I(t)?t.call(n&&n.proxy):t}}const Bi=Symbol.for("v-scx"),Ki=()=>Bt(Bi);function hs(e,t,s){return hr(e,t,s)}function hr(e,t,s=q){const{immediate:n,deep:r,flush:i,once:o}=s,l=Q({},s),f=t&&n||!t&&i!=="post";let d;if(At){if(i==="sync"){const C=Ki();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=Re,C.resume=Re,C.pause=Re,C}}const a=ie;l.call=(C,D,A)=>xe(C,a,D,A);let p=!1;i==="post"?l.scheduler=C=>{le(C,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(C,D)=>{D?C():Gs(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const S=$i(e,t,l);return At&&(d?d.push(S):f&&S()),S}function Ui(e,t,s){const n=this.proxy,r=Y(e)?e.includes(".")?pr(n,e):()=>n[e]:e.bind(n,n);let i;I(t)?i=t:(i=t.handler,s=t);const o=It(this),l=hr(r,i.bind(n),s);return o(),l}function pr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;re.__isTeleport,ps=Symbol("_leaveCb");function Js(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Js(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qi(e,t){return I(e)?Q({name:e.name},t,{setup:e}):e}function gr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function un(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const qt=new WeakMap;function vt(e,t,s,n,r=!1){if(M(e)){e.forEach((A,k)=>vt(A,t&&(M(t)?t[k]:t),s,n,r));return}if(xt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&vt(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Xs(n.component):n.el,o=r?null:i,{i:l,r:f}=e,d=t&&t.r,a=l.refs===q?l.refs={}:l.refs,p=l.setupState,S=j(p),C=p===q?Ln:A=>un(a,A)?!1:L(S,A),D=(A,k)=>!(k&&un(a,k));if(d!=null&&d!==f){if(an(t),Y(d))a[d]=null,C(d)&&(p[d]=null);else if(te(d)){const A=t;D(d,A.k)&&(d.value=null),A.k&&(a[A.k]=null)}}if(I(f)){Fe();try{Mt(f,l,12,[o,a])}finally{De()}}else{const A=Y(f),k=te(f);if(A||k){const K=()=>{if(e.f){const R=A?C(f)?p[f]:a[f]:D()||!e.k?f.value:a[e.k];if(r)M(R)&&Fs(R,i);else if(M(R))R.includes(i)||R.push(i);else if(A)a[f]=[i],C(f)&&(p[f]=a[f]);else{const H=[i];D(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else A?(a[f]=o,C(f)&&(p[f]=o)):k&&(D(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const R=()=>{K(),qt.delete(e)};R.id=-1,qt.set(e,R),le(R,s)}else an(e),K()}}}function an(e){const t=qt.get(e);t&&(t.flags|=8,qt.delete(e))}Zt().requestIdleCallback;Zt().cancelIdleCallback;const xt=e=>!!e.type.__asyncLoader,mr=e=>e.type.__isKeepAlive;function ki(e,t){_r(e,"a",t)}function Gi(e,t){_r(e,"da",t)}function _r(e,t,s=ie){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ts(t,n,s),s){let r=s.parent;for(;r&&r.parent;)mr(r.parent.vnode)&&Ji(n,t,s,r),r=r.parent}}function Ji(e,t,s,n){const r=ts(t,e,n,!0);yr(()=>{Fs(n[t],r)},s)}function ts(e,t,s=ie,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Fe();const l=It(s),f=xe(t,s,e,o);return l(),De(),f});return n?r.unshift(i):r.push(i),i}}const Ue=e=>(t,s=ie)=>{(!At||e==="sp")&&ts(e,(...n)=>t(...n),s)},Yi=Ue("bm"),br=Ue("m"),zi=Ue("bu"),Xi=Ue("u"),Zi=Ue("bum"),yr=Ue("um"),Qi=Ue("sp"),eo=Ue("rtg"),to=Ue("rtc");function so(e,t=ie){ts("ec",e,t)}const no=Symbol.for("v-ndc");function dn(e,t,s,n){let r;const i=s,o=M(e);if(o||Y(e)){const l=o&&Qe(e);let f=!1,d=!1;l&&(f=!pe(e),d=Ke(e),e=Qt(e)),r=new Array(e.length);for(let a=0,p=e.length;at(l,f,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let f=0,d=l.length;fe?Br(e)?Xs(e):Es(e.parent):null,wt=Q(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=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xr(e),$forceUpdate:e=>e.f||(e.f=()=>{Gs(e.update)}),$nextTick:e=>e.n||(e.n=Di.bind(e.proxy)),$watch:e=>Ui.bind(e)}),gs=(e,t)=>e!==q&&!e.__isScriptSetup&&L(e,t),ro={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const S=o[t];if(S!==void 0)switch(S){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(gs(n,t))return o[t]=1,n[t];if(r!==q&&L(r,t))return o[t]=2,r[t];if(L(i,t))return o[t]=3,i[t];if(s!==q&&L(s,t))return o[t]=4,s[t];Os&&(o[t]=0)}}const d=wt[t];let a,p;if(d)return t==="$attrs"&&ee(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==q&&L(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,L(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return gs(r,t)?(r[t]=s,!0):n!==q&&L(n,t)?(n[t]=s,!0):L(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let f;return!!(s[l]||e!==q&&l[0]!=="$"&&L(e,l)||gs(t,l)||L(i,l)||L(n,l)||L(wt,l)||L(r.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:L(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function hn(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Os=!0;function io(e){const t=xr(e),s=e.proxy,n=e.ctx;Os=!1,t.beforeCreate&&pn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:S,beforeUpdate:C,updated:D,activated:A,deactivated:k,beforeDestroy:K,beforeUnmount:R,destroyed:H,unmounted:O,render:J,renderTracked:ce,renderTriggered:fe,errorCaptured:ge,serverPrefetch:de,expose:ke,inheritAttrs:ft,components:Rt,directives:$t,filters:rs}=t;if(d&&oo(d,n,null),o)for(const G in o){const V=o[G];I(V)&&(n[G]=V.bind(s))}if(r){const G=r.call(s,s);B(G)&&(e.data=Ws(G))}if(Os=!0,i)for(const G in i){const V=i[G],Ge=I(V)?V.bind(s,s):I(V.get)?V.get.bind(s,s):Re,Ft=!I(V)&&I(V.set)?V.set.bind(s):Re,Je=Is({get:Ge,set:Ft});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>Je.value,set:we=>Je.value=we})}if(l)for(const G in l)vr(l[G],n,s,G);if(f){const G=I(f)?f.call(s):f;Reflect.ownKeys(G).forEach(V=>{Ni(V,G[V])})}a&&pn(a,e,"c");function se(G,V){M(V)?V.forEach(Ge=>G(Ge.bind(s))):V&&G(V.bind(s))}if(se(Yi,p),se(br,S),se(zi,C),se(Xi,D),se(ki,A),se(Gi,k),se(so,ge),se(to,ce),se(eo,fe),se(Zi,R),se(yr,O),se(Qi,de),M(ke))if(ke.length){const G=e.exposed||(e.exposed={});ke.forEach(V=>{Object.defineProperty(G,V,{get:()=>s[V],set:Ge=>s[V]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});J&&e.render===Re&&(e.render=J),ft!=null&&(e.inheritAttrs=ft),Rt&&(e.components=Rt),$t&&(e.directives=$t),de&&gr(e)}function oo(e,t,s=Re){M(e)&&(e=As(e));for(const n in e){const r=e[n];let i;B(r)?"default"in r?i=Bt(r.from||n,r.default,!0):i=Bt(r.from||n):i=Bt(r),te(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function pn(e,t,s){xe(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function vr(e,t,s,n){let r=n.includes(".")?pr(s,n):()=>s[n];if(Y(e)){const i=t[e];I(i)&&hs(r,i)}else if(I(e))hs(r,e.bind(s));else if(B(e))if(M(e))e.forEach(i=>vr(i,t,s,n));else{const i=I(e.handler)?e.handler.bind(s):t[e.handler];I(i)&&hs(r,i,e)}}function xr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>kt(f,d,o,!0)),kt(f,t,o)),B(t)&&i.set(t,f),f}function kt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&kt(e,i,s,!0),r&&r.forEach(o=>kt(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:gn,props:mn,emits:mn,methods:gt,computed:gt,beforeCreate:ne,created:ne,beforeMount:ne,mounted:ne,beforeUpdate:ne,updated:ne,beforeDestroy:ne,beforeUnmount:ne,destroyed:ne,unmounted:ne,activated:ne,deactivated:ne,errorCaptured:ne,serverPrefetch:ne,components:gt,directives:gt,watch:fo,provide:gn,inject:co};function gn(e,t){return t?e?function(){return Q(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function co(e,t){return gt(As(e),As(t))}function As(e){if(M(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${be(t)}Modifiers`]||e[`${et(t)}Modifiers`];function po(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||q;let r=s;const i=t.startsWith("update:"),o=i&&ho(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>Y(a)?a.trim():a)),o.number&&(r=s.map(Xr)));let l,f=n[l=ls(t)]||n[l=ls(be(t))];!f&&i&&(f=n[l=ls(et(t))]),f&&xe(f,e,6,r);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xe(d,e,6,r)}}const go=new WeakMap;function Sr(e,t,s=!1){const n=s?go:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!I(e)){const f=d=>{const a=Sr(d,t,!0);a&&(l=!0,Q(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!i&&!l?(B(e)&&n.set(e,null),null):(M(i)?i.forEach(f=>o[f]=null):Q(o,i),B(e)&&n.set(e,o),o)}function ss(e,t){return!e||!Yt(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),L(e,t[0].toLowerCase()+t.slice(1))||L(e,et(t))||L(e,t))}function _n(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:S,setupState:C,ctx:D,inheritAttrs:A}=e,k=Wt(e);let K,R;try{if(s.shapeFlag&4){const O=r||n,J=O;K=Pe(d.call(J,O,a,p,C,S,D)),R=l}else{const O=t;K=Pe(O.length>1?O(p,{attrs:l,slots:o,emit:f}):O(p,null)),R=t.props?l:mo(l)}}catch(O){St.length=0,es(O,e,1),K=Be(qe)}let H=K;if(R&&A!==!1){const O=Object.keys(R),{shapeFlag:J}=H;O.length&&J&7&&(i&&O.some(zt)&&(R=_o(R,i)),H=ct(H,R,!1,!0))}return s.dirs&&(H=ct(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition&&Js(H,s.transition),K=H,Wt(k),K}const mo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Yt(s))&&((t||(t={}))[s]=e[s]);return t},_o=(e,t)=>{const s={};for(const n in e)(!zt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function bo(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:f}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?bn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;pObject.create(Tr),Or=e=>Object.getPrototypeOf(e)===Tr;function vo(e,t,s,n=!1){const r={},i=Er();e.propsDefaults=Object.create(null),Ar(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Ci(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function xo(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=j(r),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[S,C]=Pr(p,t,!0);Q(o,S),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!f)return B(e)&&n.set(e,nt),nt;if(M(i))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",zs=e=>M(e)?e.map(Pe):[Pe(e)],So=(e,t,s)=>{if(t._n)return t;const n=Hi((...r)=>zs(t(...r)),s);return n._c=!1,n},Mr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Ys(r))continue;const i=e[r];if(I(i))t[r]=So(r,i,n);else if(i!=null){const o=zs(i);t[r]=()=>o}}},Ir=(e,t)=>{const s=zs(t);e.slots.default=()=>s},Rr=(e,t,s)=>{for(const n in t)(s||!Ys(n))&&(e[n]=t[n])},Co=(e,t,s)=>{const n=e.slots=Er();if(e.vnode.shapeFlag&32){const r=t._;r?(Rr(n,t,s),s&&Vn(n,"_",r,!0)):Mr(t,n)}else t&&Ir(e,t)},To=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=q;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Rr(r,t,s):(i=!t.$stable,Mr(t,r)),o=t}else t&&(Ir(e,t),o={default:1});if(i)for(const l in r)!Ys(l)&&o[l]==null&&delete r[l]},le=Mo;function Eo(e){return Oo(e)}function Oo(e,t){const s=Zt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:S,setScopeId:C=Re,insertStaticContent:D}=e,A=(c,u,h,b=null,_=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!pt(c,u)&&(b=Dt(c),we(c,_,g,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:m,ref:E,shapeFlag:w}=u;switch(m){case ns:k(c,u,h,b);break;case qe:K(c,u,h,b);break;case _s:c==null&&R(u,h,b,x);break;case _e:Rt(c,u,h,b,_,g,x,v,y);break;default:w&1?J(c,u,h,b,_,g,x,v,y):w&6?$t(c,u,h,b,_,g,x,v,y):(w&64||w&128)&&m.process(c,u,h,b,_,g,x,v,y,at)}E!=null&&_?vt(E,c&&c.ref,g,u||c,!u):E==null&&c&&c.ref!=null&&vt(c.ref,null,g,c,!0)},k=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const _=u.el=c.el;u.children!==c.children&&d(_,u.children)}},K=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},R=(c,u,h,b)=>{[c.el,c.anchor]=D(c.children,u,h,b,c.el,c.anchor)},H=({el:c,anchor:u},h,b)=>{let _;for(;c&&c!==u;)_=S(c),n(c,h,b),c=_;n(u,h,b)},O=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=S(c),r(c),c=h;r(u)},J=(c,u,h,b,_,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ce(u,h,b,_,g,x,v,y);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),de(c,u,_,g,x,v,y)}finally{m&&m._endPatch()}}},ce=(c,u,h,b,_,g,x,v)=>{let y,m;const{props:E,shapeFlag:w,transition:T,dirs:P}=c;if(y=c.el=o(c.type,g,E&&E.is,E),w&8?a(y,c.children):w&16&&ge(c.children,y,null,b,_,ms(c,g),x,v),P&&Ye(c,null,b,"created"),fe(y,c,c.scopeId,x,b),E){for(const U in E)U!=="value"&&!_t(U)&&i(y,U,null,E[U],g,b);"value"in E&&i(y,"value",null,E.value,g),(m=E.onVnodeBeforeMount)&&Ee(m,b,c)}P&&Ye(c,null,b,"beforeMount");const F=Ao(_,T);F&&T.beforeEnter(y),n(y,u,h),((m=E&&E.onVnodeMounted)||F||P)&&le(()=>{try{m&&Ee(m,b,c),F&&T.enter(y),P&&Ye(c,null,b,"mounted")}finally{}},_)},fe=(c,u,h,b,_)=>{if(h&&C(c,h),b)for(let g=0;g{for(let m=y;m{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:m,dirs:E}=u;y|=c.patchFlag&16;const w=c.props||q,T=u.props||q;let P;if(h&&ze(h,!1),(P=T.onVnodeBeforeUpdate)&&Ee(P,h,u,c),E&&Ye(u,c,h,"beforeUpdate"),h&&ze(h,!0),m&&(!c.dynamicChildren||c.dynamicChildren.length!==m.length)&&(y=0,x=!1,m=null),(w.innerHTML&&T.innerHTML==null||w.textContent&&T.textContent==null)&&a(v,""),m?ke(c.dynamicChildren,m,v,h,b,ms(u,_),g):x||V(c,u,v,null,h,b,ms(u,_),g,!1),y>0){if(y&16)ft(v,w,T,h,_);else if(y&2&&w.class!==T.class&&i(v,"class",null,T.class,_),y&4&&i(v,"style",w.style,T.style,_),y&8){const F=u.dynamicProps;for(let U=0;U{P&&Ee(P,h,u,c),E&&Ye(u,c,h,"updated")},b)},ke=(c,u,h,b,_,g,x)=>{for(let v=0;v{if(u!==h){if(u!==q)for(const g in u)!_t(g)&&!(g in h)&&i(c,g,u[g],null,_,b);for(const g in h){if(_t(g))continue;const x=h[g],v=u[g];x!==v&&g!=="value"&&i(c,g,v,x,_,b)}"value"in h&&i(c,"value",u.value,h.value,_)}},Rt=(c,u,h,b,_,g,x,v,y)=>{const m=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),c==null?(n(m,h,b),n(E,h,b),ge(u.children||[],h,E,_,g,x,v,y)):w>0&&w&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(ke(c.dynamicChildren,T,h,_,g,x,v),(u.key!=null||_&&u===_.subTree)&&$r(c,u,!0)):V(c,u,h,E,_,g,x,v,y)},$t=(c,u,h,b,_,g,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?_.ctx.activate(u,h,b,x,y):rs(u,h,b,_,g,x,y):Zs(c,u,y)},rs=(c,u,h,b,_,g,x)=>{const v=c.component=No(c,b,_);if(mr(c)&&(v.ctx.renderer=at),Ko(v,!1,x),v.asyncDep){if(_&&_.registerDep(v,se,x),!c.el){const y=v.subTree=Be(qe);K(null,y,u,h),c.placeholder=y.el}}else se(v,c,u,h,_,g,x)},Zs=(c,u,h)=>{const b=u.component=c.component;if(bo(c,u,h))if(b.asyncDep&&!b.asyncResolved){G(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},se=(c,u,h,b,_,g,x)=>{const v=()=>{if(c.isMounted){let{next:w,bu:T,u:P,parent:F,vnode:U}=c;{const Ce=Fr(c);if(Ce){w&&(w.el=U.el,G(c,w,x)),Ce.asyncDep.then(()=>{le(()=>{c.isUnmounted||m()},_)});return}}let N=w,z;ze(c,!1),w?(w.el=U.el,G(c,w,x)):w=U,T&&cs(T),(z=w.props&&w.props.onVnodeBeforeUpdate)&&Ee(z,F,w,U),ze(c,!0);const X=_n(c),Se=c.subTree;c.subTree=X,A(Se,X,p(Se.el),Dt(Se),c,_,g),w.el=X.el,N===null&&yo(c,X.el),P&&le(P,_),(z=w.props&&w.props.onVnodeUpdated)&&le(()=>Ee(z,F,w,U),_)}else{let w;const{el:T,props:P}=u,{bm:F,m:U,parent:N,root:z,type:X}=c,Se=xt(u);ze(c,!1),F&&cs(F),!Se&&(w=P&&P.onVnodeBeforeMount)&&Ee(w,N,u),ze(c,!0);{z.ce&&z.ce._hasShadowRoot()&&z.ce._injectChildStyle(X,c.parent?c.parent.type:void 0);const Ce=c.subTree=_n(c);A(null,Ce,h,b,c,_,g),u.el=Ce.el}if(U&&le(U,_),!Se&&(w=P&&P.onVnodeMounted)){const Ce=u;le(()=>Ee(w,N,Ce),_)}(u.shapeFlag&256||N&&xt(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&le(c.a,_),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new Gn(v);c.scope.off();const m=c.update=y.run.bind(y),E=c.job=y.runIfDirty.bind(y);E.i=c,E.id=c.uid,y.scheduler=()=>Gs(E),ze(c,!0),m()},G=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,xo(c,u.props,b,h),To(c,u.children,h),Fe(),fn(c),De()},V=(c,u,h,b,_,g,x,v,y=!1)=>{const m=c&&c.children,E=c?c.shapeFlag:0,w=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){Ft(m,w,h,b,_,g,x,v,y);return}else if(T&256){Ge(m,w,h,b,_,g,x,v,y);return}}P&8?(E&16&&ut(m,_,g),w!==m&&a(h,w)):E&16?P&16?Ft(m,w,h,b,_,g,x,v,y):ut(m,_,g,!0):(E&8&&a(h,""),P&16&&ge(w,h,b,_,g,x,v,y))},Ge=(c,u,h,b,_,g,x,v,y)=>{c=c||nt,u=u||nt;const m=c.length,E=u.length,w=Math.min(m,E);let T;for(T=0;TE?ut(c,_,g,!0,!1,w):ge(u,h,b,_,g,x,v,y,w)},Ft=(c,u,h,b,_,g,x,v,y)=>{let m=0;const E=u.length;let w=c.length-1,T=E-1;for(;m<=w&&m<=T;){const P=c[m],F=u[m]=y?He(u[m]):Pe(u[m]);if(pt(P,F))A(P,F,h,null,_,g,x,v,y);else break;m++}for(;m<=w&&m<=T;){const P=c[w],F=u[T]=y?He(u[T]):Pe(u[T]);if(pt(P,F))A(P,F,h,null,_,g,x,v,y);else break;w--,T--}if(m>w){if(m<=T){const P=T+1,F=PT)for(;m<=w;)we(c[m],_,g,!0),m++;else{const P=m,F=m,U=new Map;for(m=F;m<=T;m++){const ue=u[m]=y?He(u[m]):Pe(u[m]);ue.key!=null&&U.set(ue.key,m)}let N,z=0;const X=T-F+1;let Se=!1,Ce=0;const dt=new Array(X);for(m=0;m=X){we(ue,_,g,!0);continue}let Te;if(ue.key!=null)Te=U.get(ue.key);else for(N=F;N<=T;N++)if(dt[N-F]===0&&pt(ue,u[N])){Te=N;break}Te===void 0?we(ue,_,g,!0):(dt[Te-F]=m+1,Te>=Ce?Ce=Te:Se=!0,A(ue,u[Te],h,null,_,g,x,v,y),z++)}const tn=Se?Po(dt):nt;for(N=tn.length-1,m=X-1;m>=0;m--){const ue=F+m,Te=u[ue],sn=u[ue+1],nn=ue+1{const{el:g,type:x,transition:v,children:y,shapeFlag:m}=c;if(m&6){Je(c.component.subTree,u,h,b);return}if(m&128){c.suspense.move(u,h,b);return}if(m&64){x.move(c,u,h,at);return}if(x===_e){n(g,u,h);for(let w=0;wv.enter(g),_));else{const{leave:w,delayLeave:T,afterLeave:P}=v,F=()=>{c.ctx.isUnmounted?r(g):n(g,u,h)},U=()=>{const N=g._isLeaving||!!g[ps];g._isLeaving&&g[ps](!0),v.persisted&&!N?F():w(g,()=>{F(),P&&P()})};T?T(g,F,U):U()}else n(g,u,h)},we=(c,u,h,b=!1,_=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:m,shapeFlag:E,patchFlag:w,dirs:T,cacheIndex:P,memo:F}=c;if(w===-2&&(_=!1),v!=null&&(Fe(),vt(v,null,h,c,!0),De()),P!=null&&(u.renderCache[P]=void 0),E&256){u.ctx.deactivate(c);return}const U=E&1&&T,N=!xt(c);let z;if(N&&(z=x&&x.onVnodeBeforeUnmount)&&Ee(z,u,c),E&6)Wr(c.component,h,b);else{if(E&128){c.suspense.unmount(h,b);return}U&&Ye(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,at,b):m&&!m.hasOnce&&(g!==_e||w>0&&w&64)?ut(m,u,h,!1,!0):(g===_e&&w&384||!_&&E&16)&&ut(y,u,h),b&&Qs(c)}const X=F!=null&&P==null;(N&&(z=x&&x.onVnodeUnmounted)||U||X)&&le(()=>{z&&Ee(z,u,c),U&&Ye(c,null,u,"unmounted"),X&&(c.el=null)},h)},Qs=c=>{const{type:u,el:h,anchor:b,transition:_}=c;if(u===_e){Vr(h,b);return}if(u===_s){O(c);return}const g=()=>{r(h),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(c.shapeFlag&1&&_&&!_.persisted){const{leave:x,delayLeave:v}=_,y=()=>x(h,g);v?v(c.el,g,y):y()}else g()},Vr=(c,u)=>{let h;for(;c!==u;)h=S(c),r(c),c=h;r(u)},Wr=(c,u,h)=>{const{bum:b,scope:_,job:g,subTree:x,um:v,m:y,a:m}=c;vn(y),vn(m),b&&cs(b),_.stop(),g&&(g.flags|=8,we(x,c,u,h)),v&&le(v,u),le(()=>{c.isUnmounted=!0},u)},ut=(c,u,h,b=!1,_=!1,g=0)=>{for(let x=g;x{if(c.shapeFlag&6)return Dt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=S(c.anchor||c.el),h=u&&u[Vi];return h?S(h):u};let is=!1;const en=(c,u,h)=>{let b;c==null?u._vnode&&(we(u._vnode,null,null,!0),b=u._vnode.component):A(u._vnode||null,c,u,null,null,null,h),u._vnode=c,is||(is=!0,fn(b),ur(),is=!1)},at={p:A,um:we,m:Je,r:Qs,mt:rs,mc:ge,pc:V,pbc:ke,n:Dt,o:e};return{render:en,hydrate:void 0,createApp:ao(en)}}function ms({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 ze({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ao(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function $r(e,t,s=!1){const n=e.children,r=t.children;if(M(n)&&M(r))for(let i=0;i>1,e[s[l]]0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Fr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fr(t)}function vn(e){if(e)for(let t=0;te.__isSuspense;function Mo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Li(e)}const _e=Symbol.for("v-fgt"),ns=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),St=[];let ae=null;function he(e=!1){St.push(ae=e?null:[])}function Io(){St.pop(),ae=St[St.length-1]||null}let Ot=1;function xn(e,t=!1){Ot+=e,e<0&&ae&&t&&(ae.hasOnce=!0)}function Lr(e){return e.dynamicChildren=Ot>0?ae||nt:null,Io(),Ot>0&&ae&&ae.push(e),e}function me(e,t,s,n,r,i){return Lr($(e,t,s,n,r,i,!0))}function Ro(e,t,s,n,r){return Lr(Be(e,t,s,n,r,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function pt(e,t){return e.type===t.type&&e.key===t.key}const Nr=({key:e})=>e??null,Kt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Y(e)||te(e)||I(e)?{i:Ie,r:e,k:t,f:!!s}:e:null);function $(e,t=null,s=null,n=0,r=null,i=e===_e?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nr(t),ref:t&&Kt(t),scopeId:dr,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ie};return l?(Gt(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=Y(s)?8:16),Ot>0&&!o&&ae&&(f.patchFlag>0||i&6)&&f.patchFlag!==32&&ae.push(f),f}const Be=$o;function $o(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===no)&&(e=qe),Hr(e)){const l=ct(e,t,!0);return s&&Gt(l,s),Ot>0&&!i&&ae&&(l.shapeFlag&6?ae[ae.indexOf(e)]=l:ae.push(l)),l.patchFlag=-2,l}if(qo(e)&&(e=e.__vccOpts),t){t=Fo(t);let{class:l,style:f}=t;l&&!Y(l)&&(t.class=Ls(l)),B(f)&&(ks(f)&&!M(f)&&(f=Q({},f)),t.style=js(f))}const o=Y(e)?1:jr(e)?128:Wi(e)?64:B(e)?4:I(e)?2:0;return $(e,t,s,n,r,o,i,!0)}function Fo(e){return e?ks(e)||Or(e)?Q({},e):e:null}function ct(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:f}=e,d=t?jo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Nr(d),ref:t&&t.ref?s&&i?M(i)?i.concat(Kt(t)):[i,Kt(t)]:Kt(t):i,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!==_e?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ct(e.ssContent),ssFallback:e.ssFallback&&ct(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Js(a,f.clone(a)),a}function Do(e=" ",t=0){return Be(ns,null,e,t)}function bs(e="",t=!1){return t?(he(),Ro(qe,null,e)):Be(qe,null,e)}function Pe(e){return e==null||typeof e=="boolean"?Be(qe):M(e)?Be(_e,null,e.slice()):Hr(e)?He(e):Be(ns,null,String(e))}function He(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ct(e)}function Gt(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),Gt(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Or(t)?t._ctx=Ie:r===3&&Ie&&(Ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(I(t)){if(n&65){Gt(e,{default:t});return}t={default:t,_ctx:Ie},s=32}else t=String(t),n&64?(s=16,t=[Do(t)]):s=8;e.children=t,e.shapeFlag|=s}function jo(...e){const t={};for(let s=0;sie||Ie;let Jt,Ms;{const e=Zt(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Jt=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),Ms=t("__VUE_SSR_SETTERS__",s=>At=s)}const It=e=>{const t=ie;return Jt(e),e.scope.on(),()=>{e.scope.off(),Jt(t)}},wn=()=>{ie&&ie.scope.off(),Jt(null)};function Br(e){return e.vnode.shapeFlag&4}let At=!1;function Ko(e,t=!1,s=!1){t&&Ms(t);const{props:n,children:r}=e.vnode,i=Br(e);vo(e,n,i,t),Co(e,r,s||t);const o=i?Uo(e,t):void 0;return t&&Ms(!1),o}function Uo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ro);const{setup:n}=s;if(n){Fe();const r=e.setupContext=n.length>1?Wo(e):null,i=It(e),o=Mt(n,e,0,[e.props,r]),l=Nn(o);if(De(),i(),(l||e.sp)&&!xt(e)&&gr(e),l){if(o.then(wn,wn),t)return o.then(f=>{Sn(e,f)}).catch(f=>{es(f,e,0)});e.asyncDep=o}else Sn(e,o)}else Kr(e)}function Sn(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=lr(t)),Kr(e)}function Kr(e,t,s){const n=e.type;e.render||(e.render=n.render||Re);{const r=It(e);Fe();try{io(e)}finally{De(),r()}}}const Vo={get(e,t){return ee(e,"get",""),e[t]}};function Wo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Vo),slots:e.slots,emit:e.emit,expose:t}}function Xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(lr(Ti(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in wt)return wt[s](e)},has(t,s){return s in t||s in wt}})):e.proxy}function qo(e){return I(e)&&"__vccOpts"in e}const Is=(e,t)=>Ii(e,t,At),ko="3.5.39";/** * @vue/runtime-dom v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Rs;const Cn=typeof window<"u"&&window.trustedTypes;if(Cn)try{Rs=Cn.createPolicy("vue",{createHTML:e=>e})}catch{}const Ur=Rs?e=>Rs.createHTML(e):e=>e,Go="http://www.w3.org/2000/svg",Jo="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,Tn=Le&&Le.createElement("template"),Yo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?Le.createElementNS(Go,e):t==="mathml"?Le.createElementNS(Jo,e):s?Le.createElement(e,{is:s}):Le.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Tn.innerHTML=Ur(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Tn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},zo=Symbol("_vtc");function Xo(e,t,s){const n=e[zo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const En=Symbol("_vod"),Zo=Symbol("_vsh"),Qo=Symbol(""),el=/(?:^|;)\s*display\s*:/;function tl(e,t,s){const n=e.style,r=Y(s);let i=!1;if(s&&!r){if(t)if(Y(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&mt(n,l,"")}else for(const o in t)s[o]==null&&mt(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?nl(e,o,!Y(t)&&t?t[o]:void 0,l)||mt(n,o,l):mt(n,o,"")}}else if(r){if(t!==s){const o=n[Qo];o&&(s+=";"+o),n.cssText=s,i=el.test(s)}}else t&&e.removeAttribute("style");En in e&&(e[En]=i?n.display:"",e[Zo]&&(n.display="none"))}const On=/\s*!important$/;function mt(e,t,s){if(M(s))s.forEach(n=>mt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=sl(e,t);On.test(s)?e.setProperty(et(n),s.replace(On,""),"important"):e[n]=s}}const An=["Webkit","Moz","ms"],ys={};function sl(e,t){const s=ys[t];if(s)return s;let n=be(t);if(n!=="filter"&&n in e)return ys[t]=n;n=Un(n);for(let r=0;rvs||(ul.then(()=>vs=0),vs=Date.now());function dl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(M(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const o=r.slice(),l=[n];for(let f=0;fe.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hl=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?Xo(e,n,o):t==="style"?tl(e,s,n):Yt(t)?zt(t)||ol(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pl(e,t,n,o))?(In(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Mn(e,t,n,o,i,t!=="value")):e._isVueCE&&(gl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Y(n)))?In(e,be(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Mn(e,t,n,o))};function pl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fn(t)&&I(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Fn(t)&&Y(s)?!1:t in e}function gl(e,t){const s=e._def.props;if(!s)return!1;const n=be(t);return Array.isArray(s)?s.some(r=>be(r)===n):Object.keys(s).some(r=>be(r)===n)}const ml=Q({patchProp:hl},Yo);let $n;function _l(){return $n||($n=Eo(ml))}const bl=((...e)=>{const t=_l().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=vl(n);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,yl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function yl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vl(e){return Y(e)?document.querySelector(e):e}const xl="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",Dn={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,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`,nodeGenerate:e=>`nodes/${e}/generate`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,nodeImages:e=>`nodes/${e}/images`,image:e=>`images/${e}`,imageSelect:e=>`images/${e}/select`,imageUnselect:e=>`images/${e}/unselect`,imageArchive:e=>`images/${e}/archive`,jobs:"jobs",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",storageStatus:"storage/status",mediaSign:"media/sign",materialCategories:"material-categories",materials:"materials",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialConfirm:e=>`materials/${e}/confirm`,wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItem:(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",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",webManifest:"web/manifest"};class wl extends Error{constructor(s,n,r={}){super(n);os(this,"code");os(this,"details");this.name="ApiClientError",this.code=s,this.details=r}}async function jn(e,t){return Sl(e,{method:"GET",query:t})}async function Sl(e,t={}){const n=await(await fetch(Cl(e,t.query),{method:t.method??"GET",headers:t.body===void 0?void 0:{"Content-Type":"application/json"},body:t.body===void 0?void 0:JSON.stringify(t.body)})).json();if(!n.ok)throw new wl(n.error_code,n.message,n.details);return n.data}function Cl(e,t){const s=e.replace(/^\/+/,""),n=new URL(`${xl}/${s}`,window.location.origin);for(const[r,i]of Object.entries(t??{}))i!==void 0&&n.searchParams.set(r,String(i));return`${n.pathname}${n.search}`}const Tl={class:"plugin-page-shell"},El={class:"topbar"},Ol={class:"actions"},Al=["data-state"],Pl=["href"],Ml={key:0,class:"notice"},Il={key:1,class:"notice"},Rl={key:2,class:"metrics","aria-label":"ImageStudio dashboard"},Fl={class:"activity"},$l={key:0,class:"empty"},Dl={key:0,class:"empty"},jl=qi({__name:"App",setup(e){const t=Ht(null),s=Ht(null),n=Ht(!0),r=Ht(""),i=Is(()=>{var d;return`${((d=t.value)==null?void 0:d.api_base)??""}/web`}),o=Is(()=>{var a;const d=(a=s.value)==null?void 0:a.queue;return d?d.pending+d.running+d.failed+d.dead_letter:0});br(l);async function l(){n.value=!0,r.value="";try{const[d,a]=await Promise.all([jn(Dn.uiBootstrap),jn(Dn.dashboardSummary)]);t.value=d,s.value=a}catch(d){r.value=d instanceof Error?d.message:"加载失败"}finally{n.value=!1}}function f(d=0){return d<1024?`${d} B`:d<1024*1024?`${(d/1024).toFixed(1)} KB`:d<1024*1024*1024?`${(d/1024/1024).toFixed(1)} MB`:`${(d/1024/1024/1024).toFixed(1)} GB`}return(d,a)=>{var p,S,C,D,A,k,K,R,H,O,J,ce,fe,ge;return he(),me("main",Tl,[F("header",El,[F("div",null,[F("h1",null,oe(((p=t.value)==null?void 0:p.display_name)??"ImageStudio"),1),F("p",null,oe(((S=t.value)==null?void 0:S.dashboard_user)??"AstrBot"),1)]),F("div",Ol,[F("span",{class:"status","data-state":((C=s.value)==null?void 0:C.plugin_status)??"loading"},oe(((D=s.value)==null?void 0:D.plugin_status)??"loading"),9,Al),F("button",{type:"button",onClick:l},"刷新"),t.value?(he(),me("a",{key:0,class:"primary",href:i.value,target:"_blank",rel:"noreferrer"},"工作台",8,Pl)):bs("",!0)])]),r.value?(he(),me("section",Ml,oe(r.value),1)):n.value?(he(),me("section",Il,"加载中")):(he(),me("section",Rl,[F("article",null,[a[0]||(a[0]=F("span",null,"角色",-1)),F("strong",null,oe(((A=s.value)==null?void 0:A.active_profiles)??0),1)]),F("article",null,[a[1]||(a[1]=F("span",null,"队列",-1)),F("strong",null,oe(o.value),1)]),F("article",null,[a[2]||(a[2]=F("span",null,"运行中",-1)),F("strong",null,oe(((k=s.value)==null?void 0:k.queue.running)??0),1)]),F("article",null,[a[3]||(a[3]=F("span",null,"失败",-1)),F("strong",null,oe(((K=s.value)==null?void 0:K.queue.failed)??0),1)]),F("article",null,[a[4]||(a[4]=F("span",null,"存储",-1)),F("strong",null,oe(f((R=s.value)==null?void 0:R.storage.total_bytes)),1)])])),F("section",Fl,[F("div",null,[a[5]||(a[5]=F("h2",null,"最近图片",-1)),F("ul",null,[(he(!0),me(_e,null,dn(((H=s.value)==null?void 0:H.recent_images)??[],de=>(he(),me("li",{key:String(de.image_id)},[F("span",null,oe(de.image_id),1),F("small",null,oe(de.created_at),1)]))),128)),(J=(O=s.value)==null?void 0:O.recent_images)!=null&&J.length?bs("",!0):(he(),me("li",$l,"暂无图片"))])]),F("div",null,[a[6]||(a[6]=F("h2",null,"任务",-1)),F("ul",null,[(he(!0),me(_e,null,dn(((ce=s.value)==null?void 0:ce.recent_jobs)??[],de=>(he(),me("li",{key:String(de.task_id)},[F("span",null,oe(de.task_id),1),F("small",null,oe(de.status),1)]))),128)),(ge=(fe=s.value)==null?void 0:fe.recent_jobs)!=null&&ge.length?bs("",!0):(he(),me("li",Dl,"暂无任务"))])])])])}}}),Ll=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},Hl=Ll(jl,[["__scopeId","data-v-7e06e9af"]]);bl(Hl).mount("#app"); +**/let Rs;const Cn=typeof window<"u"&&window.trustedTypes;if(Cn)try{Rs=Cn.createPolicy("vue",{createHTML:e=>e})}catch{}const Ur=Rs?e=>Rs.createHTML(e):e=>e,Go="http://www.w3.org/2000/svg",Jo="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,Tn=Le&&Le.createElement("template"),Yo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?Le.createElementNS(Go,e):t==="mathml"?Le.createElementNS(Jo,e):s?Le.createElement(e,{is:s}):Le.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Tn.innerHTML=Ur(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=Tn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},zo=Symbol("_vtc");function Xo(e,t,s){const n=e[zo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const En=Symbol("_vod"),Zo=Symbol("_vsh"),Qo=Symbol(""),el=/(?:^|;)\s*display\s*:/;function tl(e,t,s){const n=e.style,r=Y(s);let i=!1;if(s&&!r){if(t)if(Y(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&mt(n,l,"")}else for(const o in t)s[o]==null&&mt(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?nl(e,o,!Y(t)&&t?t[o]:void 0,l)||mt(n,o,l):mt(n,o,"")}}else if(r){if(t!==s){const o=n[Qo];o&&(s+=";"+o),n.cssText=s,i=el.test(s)}}else t&&e.removeAttribute("style");En in e&&(e[En]=i?n.display:"",e[Zo]&&(n.display="none"))}const On=/\s*!important$/;function mt(e,t,s){if(M(s))s.forEach(n=>mt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=sl(e,t);On.test(s)?e.setProperty(et(n),s.replace(On,""),"important"):e[n]=s}}const An=["Webkit","Moz","ms"],ys={};function sl(e,t){const s=ys[t];if(s)return s;let n=be(t);if(n!=="filter"&&n in e)return ys[t]=n;n=Un(n);for(let r=0;rvs||(ul.then(()=>vs=0),vs=Date.now());function dl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const r=s.value;if(M(r)){const i=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{i.call(n),n._stopped=!0};const o=r.slice(),l=[n];for(let f=0;fe.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,hl=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?Xo(e,n,o):t==="style"?tl(e,s,n):Yt(t)?zt(t)||ol(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pl(e,t,n,o))?(In(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Mn(e,t,n,o,i,t!=="value")):e._isVueCE&&(gl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Y(n)))?In(e,be(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Mn(e,t,n,o))};function pl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&$n(t)&&I(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return $n(t)&&Y(s)?!1:t in e}function gl(e,t){const s=e._def.props;if(!s)return!1;const n=be(t);return Array.isArray(s)?s.some(r=>be(r)===n):Object.keys(s).some(r=>be(r)===n)}const ml=Q({patchProp:hl},Yo);let Fn;function _l(){return Fn||(Fn=Eo(ml))}const bl=((...e)=>{const t=_l().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=vl(n);if(!r)return;const i=t._component;!I(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,yl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function yl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function vl(e){return Y(e)?document.querySelector(e):e}const xl="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",Dn={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,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`,nodeGenerate:e=>`nodes/${e}/generate`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,nodeImages:e=>`nodes/${e}/images`,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",storageStatus:"storage/status",mediaSign:"media/sign",materialCategories:"material-categories",materials:"materials",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialConfirm:e=>`materials/${e}/confirm`,wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItem:(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",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",webManifest:"web/manifest"};class wl extends Error{constructor(s,n,r={}){super(n);os(this,"code");os(this,"details");this.name="ApiClientError",this.code=s,this.details=r}}async function jn(e,t){return Sl(e,{method:"GET",query:t})}async function Sl(e,t={}){const n=await(await fetch(Cl(e,t.query),{method:t.method??"GET",headers:t.body===void 0?void 0:{"Content-Type":"application/json"},body:t.body===void 0?void 0:JSON.stringify(t.body)})).json();if(!n.ok)throw new wl(n.error_code,n.message,n.details);return n.data}function Cl(e,t){const s=e.replace(/^\/+/,""),n=new URL(`${xl}/${s}`,window.location.origin);for(const[r,i]of Object.entries(t??{}))i!==void 0&&n.searchParams.set(r,String(i));return`${n.pathname}${n.search}`}const Tl={class:"plugin-page-shell"},El={class:"topbar"},Ol={class:"actions"},Al=["data-state"],Pl=["href"],Ml={key:0,class:"notice"},Il={key:1,class:"notice"},Rl={key:2,class:"metrics","aria-label":"ImageStudio dashboard"},$l={class:"activity"},Fl={key:0,class:"empty"},Dl={key:0,class:"empty"},jl=qi({__name:"App",setup(e){const t=Ht(null),s=Ht(null),n=Ht(!0),r=Ht(""),i=Is(()=>{var d;return`${((d=t.value)==null?void 0:d.api_base)??""}/web`}),o=Is(()=>{var a;const d=(a=s.value)==null?void 0:a.queue;return d?d.pending+d.running+d.failed+d.dead_letter:0});br(l);async function l(){n.value=!0,r.value="";try{const[d,a]=await Promise.all([jn(Dn.uiBootstrap),jn(Dn.dashboardSummary)]);t.value=d,s.value=a}catch(d){r.value=d instanceof Error?d.message:"加载失败"}finally{n.value=!1}}function f(d=0){return d<1024?`${d} B`:d<1024*1024?`${(d/1024).toFixed(1)} KB`:d<1024*1024*1024?`${(d/1024/1024).toFixed(1)} MB`:`${(d/1024/1024/1024).toFixed(1)} GB`}return(d,a)=>{var p,S,C,D,A,k,K,R,H,O,J,ce,fe,ge;return he(),me("main",Tl,[$("header",El,[$("div",null,[$("h1",null,oe(((p=t.value)==null?void 0:p.display_name)??"ImageStudio"),1),$("p",null,oe(((S=t.value)==null?void 0:S.dashboard_user)??"AstrBot"),1)]),$("div",Ol,[$("span",{class:"status","data-state":((C=s.value)==null?void 0:C.plugin_status)??"loading"},oe(((D=s.value)==null?void 0:D.plugin_status)??"loading"),9,Al),$("button",{type:"button",onClick:l},"刷新"),t.value?(he(),me("a",{key:0,class:"primary",href:i.value,target:"_blank",rel:"noreferrer"},"工作台",8,Pl)):bs("",!0)])]),r.value?(he(),me("section",Ml,oe(r.value),1)):n.value?(he(),me("section",Il,"加载中")):(he(),me("section",Rl,[$("article",null,[a[0]||(a[0]=$("span",null,"角色",-1)),$("strong",null,oe(((A=s.value)==null?void 0:A.active_profiles)??0),1)]),$("article",null,[a[1]||(a[1]=$("span",null,"队列",-1)),$("strong",null,oe(o.value),1)]),$("article",null,[a[2]||(a[2]=$("span",null,"运行中",-1)),$("strong",null,oe(((k=s.value)==null?void 0:k.queue.running)??0),1)]),$("article",null,[a[3]||(a[3]=$("span",null,"失败",-1)),$("strong",null,oe(((K=s.value)==null?void 0:K.queue.failed)??0),1)]),$("article",null,[a[4]||(a[4]=$("span",null,"存储",-1)),$("strong",null,oe(f((R=s.value)==null?void 0:R.storage.total_bytes)),1)])])),$("section",$l,[$("div",null,[a[5]||(a[5]=$("h2",null,"最近图片",-1)),$("ul",null,[(he(!0),me(_e,null,dn(((H=s.value)==null?void 0:H.recent_images)??[],de=>(he(),me("li",{key:String(de.image_id)},[$("span",null,oe(de.image_id),1),$("small",null,oe(de.created_at),1)]))),128)),(J=(O=s.value)==null?void 0:O.recent_images)!=null&&J.length?bs("",!0):(he(),me("li",Fl,"暂无图片"))])]),$("div",null,[a[6]||(a[6]=$("h2",null,"任务",-1)),$("ul",null,[(he(!0),me(_e,null,dn(((ce=s.value)==null?void 0:ce.recent_jobs)??[],de=>(he(),me("li",{key:String(de.task_id)},[$("span",null,oe(de.task_id),1),$("small",null,oe(de.status),1)]))),128)),(ge=(fe=s.value)==null?void 0:fe.recent_jobs)!=null&&ge.length?bs("",!0):(he(),me("li",Dl,"暂无任务"))])])])])}}}),Ll=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},Hl=Ll(jl,[["__scopeId","data-v-7e06e9af"]]);bl(Hl).mount("#app"); diff --git a/pages/imagestudio/index.html b/pages/imagestudio/index.html index d120fd5..3736dff 100644 --- a/pages/imagestudio/index.html +++ b/pages/imagestudio/index.html @@ -1,3 +1,3 @@ - +
diff --git a/web/assets/index-BMrshMnb.css b/web/assets/index-BMrshMnb.css new file mode 100644 index 0000000..e8766c8 --- /dev/null +++ b/web/assets/index-BMrshMnb.css @@ -0,0 +1 @@ +.web-shell[data-v-61c36513]{box-sizing:border-box;display:grid;grid-template-columns:220px minmax(0,1fr) 260px;min-height:100vh;color:#1b2430;background:#f5f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sidebar[data-v-61c36513],.inspector[data-v-61c36513]{background:#fff}.sidebar[data-v-61c36513]{border-right:1px solid #d9e0e8;padding:20px}.inspector[data-v-61c36513]{border-left:1px solid #d9e0e8;padding:20px}.brand[data-v-61c36513]{display:grid;gap:4px;margin-bottom:24px}.brand strong[data-v-61c36513]{font-size:19px}.brand span[data-v-61c36513],p[data-v-61c36513],dt[data-v-61c36513],.empty[data-v-61c36513],small[data-v-61c36513]{color:#667085}nav[data-v-61c36513]{display:grid;gap:6px}button[data-v-61c36513]{min-height:36px;border:1px solid #c7d0da;border-radius:6px;color:#1b2430;background:#fff;font:inherit;text-align:center;cursor:pointer}button[data-v-61c36513]:disabled{cursor:wait;opacity:.62}nav button[data-v-61c36513]{border-color:transparent;background:transparent;text-align:left;padding:0 10px}button.active[data-v-61c36513]{border-color:#b8d8cf;color:#164f43;background:#e5f4ef}.workspace[data-v-61c36513]{min-width:0;padding:24px}.topbar[data-v-61c36513],.list-view header[data-v-61c36513],.toolbar[data-v-61c36513],.inline-actions[data-v-61c36513]{display:flex;gap:12px;align-items:center}.topbar[data-v-61c36513],.list-view header[data-v-61c36513]{justify-content:space-between}.actions[data-v-61c36513],.inline-actions[data-v-61c36513]{flex-wrap:wrap;justify-content:flex-end}.topbar button[data-v-61c36513],.toolbar button[data-v-61c36513],.list-view header button[data-v-61c36513],.inline-actions button[data-v-61c36513]{padding:0 14px}h1[data-v-61c36513],h2[data-v-61c36513],p[data-v-61c36513],dl[data-v-61c36513],dd[data-v-61c36513]{margin:0}h1[data-v-61c36513]{min-height:30px;font-size:26px}h2[data-v-61c36513]{font-size:15px}.notice[data-v-61c36513],article[data-v-61c36513],.list-view[data-v-61c36513],.editor-panel[data-v-61c36513],pre[data-v-61c36513]{border:1px solid #d9e0e8;border-radius:8px;background:#fff}.notice[data-v-61c36513]{margin-top:18px;padding:14px}.error[data-v-61c36513]{border-color:#f0b4b4;color:#8a1f1f;background:#fff7f7}.dashboard-grid[data-v-61c36513],.split-view[data-v-61c36513]{display:grid;gap:12px;margin-top:18px}.dashboard-grid[data-v-61c36513]{grid-template-columns:repeat(4,minmax(130px,1fr))}.split-view[data-v-61c36513]{grid-template-columns:repeat(2,minmax(0,1fr))}article[data-v-61c36513]{display:grid;gap:8px;padding:16px}article span[data-v-61c36513]{color:#667085;font-size:13px}article strong[data-v-61c36513]{font-size:24px}.list-view[data-v-61c36513],.logs-view[data-v-61c36513],.settings-view[data-v-61c36513]{margin-top:18px}.split-view .list-view[data-v-61c36513],.logs-view .list-view[data-v-61c36513]{margin-top:0}.list-view[data-v-61c36513]{padding:16px}.editor-panel[data-v-61c36513]{display:grid;gap:12px;margin-top:12px;padding:16px}.editor-panel header[data-v-61c36513]{display:flex;justify-content:space-between;gap:12px;min-width:0}textarea[data-v-61c36513]{box-sizing:border-box;width:100%;min-height:300px;resize:vertical;border:1px solid #c7d0da;border-radius:6px;padding:12px;color:#1b2430;background:#fbfcfd;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace}.form-grid[data-v-61c36513]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding:12px;border:1px solid #eef1f5;border-radius:8px;background:#fbfcfd}label[data-v-61c36513]{display:grid;gap:5px;min-width:0}label span[data-v-61c36513]{color:#667085;font-size:12px}.wide-field[data-v-61c36513]{grid-column:1 / -1}input[data-v-61c36513],select[data-v-61c36513]{box-sizing:border-box;width:100%;min-height:34px;border:1px solid #c7d0da;border-radius:6px;padding:0 10px;color:#1b2430;background:#fff;font:inherit}ul[data-v-61c36513]{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}li[data-v-61c36513]{display:flex;justify-content:space-between;gap:12px;min-width:0;padding:10px 0;border-top:1px solid #eef1f5}li[data-v-61c36513]:first-child{border-top:0}li>div[data-v-61c36513]{display:grid;gap:3px;min-width:0}li strong[data-v-61c36513],li span[data-v-61c36513],li small[data-v-61c36513]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge[data-v-61c36513]{align-self:center;max-width:180px;border-radius:999px;padding:4px 9px;color:#1f4d62;background:#e5f1f7;font-size:12px}.toolbar[data-v-61c36513]{justify-content:flex-start;margin:18px 0 12px}.settings-sections[data-v-61c36513]{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}pre[data-v-61c36513]{overflow:auto;max-height:420px;margin:12px 0 0;padding:14px;font-size:12px;line-height:1.5}dl[data-v-61c36513]{display:grid;gap:12px;margin:14px 0 24px}dl div[data-v-61c36513]{display:flex;justify-content:space-between}@media(max-width:1160px){.web-shell[data-v-61c36513]{grid-template-columns:190px minmax(0,1fr)}.inspector[data-v-61c36513]{display:none}}@media(max-width:820px){.web-shell[data-v-61c36513]{grid-template-columns:1fr}.sidebar[data-v-61c36513]{border-right:0;border-bottom:1px solid #d9e0e8}nav[data-v-61c36513]{grid-template-columns:repeat(4,minmax(0,1fr))}nav button[data-v-61c36513]{text-align:center}.dashboard-grid[data-v-61c36513],.split-view[data-v-61c36513],.settings-sections[data-v-61c36513]{grid-template-columns:1fr}.topbar[data-v-61c36513],.list-view header[data-v-61c36513]{align-items:flex-start;flex-direction:column}} diff --git a/web/assets/index-BTjymfnK.js b/web/assets/index-BTjymfnK.js new file mode 100644 index 0000000..2e14f7f --- /dev/null +++ b/web/assets/index-BTjymfnK.js @@ -0,0 +1,17 @@ +var fo=Object.defineProperty;var po=(e,t,n)=>t in e?fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var tl=(e,t,n)=>po(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))l(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&l(r)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function l(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();/** +* @vue/shared v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function kl(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ae={},Ft=[],st=()=>{},Ls=()=>!1,Vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bn=e=>e.startsWith("onUpdate:"),ke=Object.assign,Pl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ho=Object.prototype.hasOwnProperty,ne=(e,t)=>ho.call(e,t),j=Array.isArray,jt=e=>un(e)==="[object Map]",Nn=e=>un(e)==="[object Set]",ss=e=>un(e)==="[object Date]",N=e=>typeof e=="function",_e=e=>typeof e=="string",it=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Fs=e=>(oe(e)||N(e))&&N(e.then)&&N(e.catch),js=Object.prototype.toString,un=e=>js.call(e),go=e=>un(e).slice(8,-1),Vs=e=>un(e)==="[object Object]",El=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yt=kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Un=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},vo=/-\w/g,ze=Un(e=>e.replace(vo,t=>t.slice(1).toUpperCase())),_o=/\B([A-Z])/g,It=Un(e=>e.replace(_o,"-$1").toLowerCase()),Bs=Un(e=>e.charAt(0).toUpperCase()+e.slice(1)),nl=Un(e=>e?`on${Bs(e)}`:""),lt=(e,t)=>!Object.is(e,t),En=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:l,value:n})},Wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let is;const Hn=()=>is||(is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Tl(e){if(j(e)){const t={};for(let n=0;n{if(n){const l=n.split(yo);l.length>1&&(t[l[0].trim()]=l[1].trim())}}),t}function Kn(e){let t="";if(_e(e))t=e;else if(j(e))for(let n=0;ncn(n,t))}const Ws=e=>!!(e&&e.__v_isRef===!0),f=e=>_e(e)?e:e==null?"":j(e)||oe(e)&&(e.toString===js||!N(e.toString))?Ws(e)?f(e.value):JSON.stringify(e,Hs,2):String(e),Hs=(e,t)=>Ws(t)?Hs(e,t.value):jt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[l,s],i)=>(n[ll(l,i)+" =>"]=s,n),{})}:Nn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ll(n))}:it(t)?ll(t):oe(t)&&!j(t)&&!Vs(t)?String(t):t,ll=(e,t="")=>{var n;return it(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Se;class Po{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&&Se&&(Se.active?(this.parent=Se,this.index=(Se.scopes||(Se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0){if(Se===this)Se=this.prevScope;else{let t=Se;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 n,l;for(n=0,l=this.effects.length;n0)return;if(Xt){let t=Xt;for(Xt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Qt;){let t=Qt;for(Qt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(l){e||(e=l)}t=n}}if(e)throw e}function Gs(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zs(e){let t,n=e.depsTail,l=n;for(;l;){const s=l.prevDep;l.version===-1?(l===n&&(n=s),Il(l),To(l)):t=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=s}e.deps=t,e.depsTail=n}function hl(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ys(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ys(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ln)||(e.globalVersion=ln,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hl(e))))return;e.flags|=2;const t=e.dep,n=ue,l=Ye;ue=e,Ye=!0;try{Gs(e);const s=e.fn(e._value);(t.version===0||lt(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{ue=n,Ye=l,zs(e),e.flags&=-3}}function Il(e,t=!1){const{dep:n,prevSub:l,nextSub:s}=e;if(l&&(l.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=l,e.nextSub=void 0),n.subs===e&&(n.subs=l,!l&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Il(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function To(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ye=!0;const Qs=[];function ot(){Qs.push(Ye),Ye=!1}function rt(){const e=Qs.pop();Ye=e===void 0?!0:e}function os(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ue;ue=void 0;try{t()}finally{ue=n}}}let ln=0;class Oo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Al{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ue||!Ye||ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ue)n=this.activeLink=new Oo(ue,this),ue.deps?(n.prevDep=ue.depsTail,ue.depsTail.nextDep=n,ue.depsTail=n):ue.deps=ue.depsTail=n,Xs(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const l=n.nextDep;l.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=l),n.prevDep=ue.depsTail,n.nextDep=void 0,ue.depsTail.nextDep=n,ue.depsTail=n,ue.deps===n&&(ue.deps=l)}return n}trigger(t){this.version++,ln++,this.notify(t)}notify(t){Ol();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Dl()}}}function Xs(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let l=t.deps;l;l=l.nextDep)Xs(l)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const gl=new WeakMap,Ot=Symbol(""),vl=Symbol(""),sn=Symbol("");function Pe(e,t,n){if(Ye&&ue){let l=gl.get(e);l||gl.set(e,l=new Map);let s=l.get(n);s||(l.set(n,s=new Al),s.map=l,s.key=n),s.track()}}function pt(e,t,n,l,s,i){const r=gl.get(e);if(!r){ln++;return}const a=c=>{c&&c.trigger()};if(Ol(),t==="clear")r.forEach(a);else{const c=j(e),_=c&&El(n);if(c&&n==="length"){const g=Number(l);r.forEach((y,I)=>{(I==="length"||I===sn||!it(I)&&I>=g)&&a(y)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),_&&a(r.get(sn)),t){case"add":c?_&&a(r.get("length")):(a(r.get(Ot)),jt(e)&&a(r.get(vl)));break;case"delete":c||(a(r.get(Ot)),jt(e)&&a(r.get(vl)));break;case"set":jt(e)&&a(r.get(Ot));break}}Dl()}function Mt(e){const t=te(e);return t===e?t:(Pe(t,"iterate",sn),qe(e)?t:t.map(Qe))}function qn(e){return Pe(e=te(e),"iterate",sn),e}function tt(e,t){return vt(e)?Ut(Dt(e)?Qe(t):t):Qe(t)}const Do={__proto__:null,[Symbol.iterator](){return il(this,Symbol.iterator,e=>tt(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>j(t)?Mt(t):t))},entries(){return il(this,"entries",e=>(e[1]=tt(this,e[1]),e))},every(e,t){return ct(this,"every",e,t,void 0,arguments)},filter(e,t){return ct(this,"filter",e,t,n=>n.map(l=>tt(this,l)),arguments)},find(e,t){return ct(this,"find",e,t,n=>tt(this,n),arguments)},findIndex(e,t){return ct(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ct(this,"findLast",e,t,n=>tt(this,n),arguments)},findLastIndex(e,t){return ct(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ct(this,"forEach",e,t,void 0,arguments)},includes(...e){return ol(this,"includes",e)},indexOf(...e){return ol(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return ol(this,"lastIndexOf",e)},map(e,t){return ct(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return rs(this,"reduce",e,t)},reduceRight(e,...t){return rs(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return ct(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return il(this,"values",e=>tt(this,e))}};function il(e,t,n){const l=qn(e),s=l[t]();return l!==e&&!qe(e)&&(s._next=s.next,s.next=()=>{const i=s._next();return i.done||(i.value=n(i.value)),i}),s}const Io=Array.prototype;function ct(e,t,n,l,s,i){const r=qn(e),a=r!==e&&!qe(e),c=r[t];if(c!==Io[t]){const y=c.apply(e,i);return a?Qe(y):y}let _=n;r!==e&&(a?_=function(y,I){return n.call(this,tt(e,y),I,e)}:n.length>2&&(_=function(y,I){return n.call(this,y,I,e)}));const g=c.call(r,_,l);return a&&s?s(g):g}function rs(e,t,n,l){const s=qn(e),i=s!==e&&!qe(e);let r=n,a=!1;s!==e&&(i?(a=l.length===0,r=function(_,g,y){return a&&(a=!1,_=tt(e,_)),n.call(this,_,tt(e,g),y,e)}):n.length>3&&(r=function(_,g,y){return n.call(this,_,g,y,e)}));const c=s[t](r,...l);return a?tt(e,c):c}function ol(e,t,n){const l=te(e);Pe(l,"iterate",sn);const s=l[t](...n);return(s===-1||s===!1)&&Ll(n[0])?(n[0]=te(n[0]),l[t](...n)):s}function qt(e,t,n=[]){ot(),Ol();const l=te(e)[t].apply(e,n);return Dl(),rt(),l}const Ao=kl("__proto__,__v_isRef,__isVue"),Zs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(it));function Mo(e){it(e)||(e=String(e));const t=te(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class ei{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,l){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return i;if(n==="__v_raw")return l===(s?i?Wo:si:i?li:ni).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(l)?t:void 0;const r=j(t);if(!s){let c;if(r&&(c=Do[n]))return c;if(n==="hasOwnProperty")return Mo}const a=Reflect.get(t,n,Ee(t)?t:l);if((it(n)?Zs.has(n):Ao(n))||(s||Pe(t,"get",n),i))return a;if(Ee(a)){const c=r&&El(n)?a:a.value;return s&&oe(c)?ml(c):c}return oe(a)?s?ml(a):Rl(a):a}}class ti extends ei{constructor(t=!1){super(!1,t)}set(t,n,l,s){let i=t[n];const r=j(t)&&El(n);if(!this._isShallow){const _=vt(i);if(!qe(l)&&!vt(l)&&(i=te(i),l=te(l)),!r&&Ee(i)&&!Ee(l))return _||(i.value=l),!0}const a=r?Number(n)e,Sn=e=>Reflect.getPrototypeOf(e);function jo(e,t,n){return function(...l){const s=this.__v_raw,i=te(s),r=jt(i),a=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,_=s[e](...l),g=n?_l:t?Ut:Qe;return!t&&Pe(i,"iterate",c?vl:Ot),ke(Object.create(_),{next(){const{value:y,done:I}=_.next();return I?{value:y,done:I}:{value:a?[g(y[0]),g(y[1])]:g(y),done:I}}})}}function kn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vo(e,t){const n={get(s){const i=this.__v_raw,r=te(i),a=te(s);e||(lt(s,a)&&Pe(r,"get",s),Pe(r,"get",a));const{has:c}=Sn(r),_=t?_l:e?Ut:Qe;if(c.call(r,s))return _(i.get(s));if(c.call(r,a))return _(i.get(a));i!==r&&i.get(s)},get size(){const s=this.__v_raw;return!e&&Pe(te(s),"iterate",Ot),s.size},has(s){const i=this.__v_raw,r=te(i),a=te(s);return e||(lt(s,a)&&Pe(r,"has",s),Pe(r,"has",a)),s===a?i.has(s):i.has(s)||i.has(a)},forEach(s,i){const r=this,a=r.__v_raw,c=te(a),_=t?_l:e?Ut:Qe;return!e&&Pe(c,"iterate",Ot),a.forEach((g,y)=>s.call(i,_(g),_(y),r))}};return ke(n,e?{add:kn("add"),set:kn("set"),delete:kn("delete"),clear:kn("clear")}:{add(s){const i=te(this),r=Sn(i),a=te(s),c=!t&&!qe(s)&&!vt(s)?a:s;return r.has.call(i,c)||lt(s,c)&&r.has.call(i,s)||lt(a,c)&&r.has.call(i,a)||(i.add(c),pt(i,"add",c,c)),this},set(s,i){!t&&!qe(i)&&!vt(i)&&(i=te(i));const r=te(this),{has:a,get:c}=Sn(r);let _=a.call(r,s);_||(s=te(s),_=a.call(r,s));const g=c.call(r,s);return r.set(s,i),_?lt(i,g)&&pt(r,"set",s,i):pt(r,"add",s,i),this},delete(s){const i=te(this),{has:r,get:a}=Sn(i);let c=r.call(i,s);c||(s=te(s),c=r.call(i,s)),a&&a.call(i,s);const _=i.delete(s);return c&&pt(i,"delete",s,void 0),_},clear(){const s=te(this),i=s.size!==0,r=s.clear();return i&&pt(s,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=jo(s,e,t)}),n}function Ml(e,t){const n=Vo(e,t);return(l,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?l:Reflect.get(ne(n,s)&&s in l?n:l,s,i)}const Bo={get:Ml(!1,!1)},No={get:Ml(!1,!0)},Uo={get:Ml(!0,!1)};const ni=new WeakMap,li=new WeakMap,si=new WeakMap,Wo=new WeakMap;function Ho(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rl(e){return vt(e)?e:$l(e,!1,$o,Bo,ni)}function Ko(e){return $l(e,!1,Fo,No,li)}function ml(e){return $l(e,!0,Lo,Uo,si)}function $l(e,t,n,l,s){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=s.get(e);if(i)return i;const r=Ho(go(e));if(r===0)return e;const a=new Proxy(e,r===2?l:n);return s.set(e,a),a}function Dt(e){return vt(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function qe(e){return!!(e&&e.__v_isShallow)}function Ll(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function qo(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Ns(e,"__v_skip",!0),e}const Qe=e=>oe(e)?Rl(e):e,Ut=e=>oe(e)?ml(e):e;function Ee(e){return e?e.__v_isRef===!0:!1}function H(e){return Jo(e,!1)}function Jo(e,t){return Ee(e)?e:new Go(e,t)}class Go{constructor(t,n){this.dep=new Al,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:Qe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,l=this.__v_isShallow||qe(t)||vt(t);t=l?t:te(t),lt(t,n)&&(this._rawValue=t,this._value=l?t:Qe(t),this.dep.trigger())}}function zo(e){return Ee(e)?e.value:e}const Yo={get:(e,t,n)=>t==="__v_raw"?e:zo(Reflect.get(e,t,n)),set:(e,t,n,l)=>{const s=e[t];return Ee(s)&&!Ee(n)?(s.value=n,!0):Reflect.set(e,t,n,l)}};function ii(e){return Dt(e)?e:new Proxy(e,Yo)}class Qo{constructor(t,n,l){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Al(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ln-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=l}notify(){if(this.flags|=16,!(this.flags&8)&&ue!==this)return Js(this,!0),!0}get value(){const t=this.dep.track();return Ys(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Xo(e,t,n=!1){let l,s;return N(e)?l=e:(l=e.get,s=e.set),new Qo(l,s,n)}const Pn={},Dn=new WeakMap;let Et;function Zo(e,t=!1,n=Et){if(n){let l=Dn.get(n);l||Dn.set(n,l=[]),l.push(e)}}function er(e,t,n=ae){const{immediate:l,deep:s,once:i,scheduler:r,augmentJob:a,call:c}=n,_=L=>s?L:qe(L)||s===!1||s===0?ht(L,1):ht(L);let g,y,I,A,Y=!1,$=!1;if(Ee(e)?(y=()=>e.value,Y=qe(e)):Dt(e)?(y=()=>_(e),Y=!0):j(e)?($=!0,Y=e.some(L=>Dt(L)||qe(L)),y=()=>e.map(L=>{if(Ee(L))return L.value;if(Dt(L))return _(L);if(N(L))return c?c(L,2):L()})):N(e)?t?y=c?()=>c(e,2):e:y=()=>{if(I){ot();try{I()}finally{rt()}}const L=Et;Et=g;try{return c?c(e,3,[A]):e(A)}finally{Et=L}}:y=st,t&&s){const L=y,de=s===!0?1/0:s;y=()=>ht(L(),de)}const fe=Eo(),X=()=>{g.stop(),fe&&fe.active&&Pl(fe.effects,g)};if(i&&t){const L=t;t=(...de)=>{const Te=L(...de);return X(),Te}}let U=$?new Array(e.length).fill(Pn):Pn;const Z=L=>{if(!(!(g.flags&1)||!g.dirty&&!L))if(t){const de=g.run();if(L||s||Y||($?de.some((Te,re)=>lt(Te,U[re])):lt(de,U))){I&&I();const Te=Et;Et=g;try{const re=[de,U===Pn?void 0:$&&U[0]===Pn?[]:U,A];U=de,c?c(t,3,re):t(...re)}finally{Et=Te}}}else g.run()};return a&&a(Z),g=new Ks(y),g.scheduler=r?()=>r(Z,!1):Z,A=L=>Zo(L,!1,g),I=g.onStop=()=>{const L=Dn.get(g);if(L){if(c)c(L,4);else for(const de of L)de();Dn.delete(g)}},t?l?Z(!0):U=g.run():r?r(Z.bind(null,!0),!0):g.run(),X.pause=g.pause.bind(g),X.resume=g.resume.bind(g),X.stop=X,X}function ht(e,t=1/0,n){if(t<=0||!oe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ee(e))ht(e.value,t,n);else if(j(e))for(let l=0;l{ht(l,t,n)});else if(Vs(e)){for(const l in e)ht(e[l],t,n);for(const l of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,l)&&ht(e[l],t,n)}return e}/** +* @vue/runtime-core v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function fn(e,t,n,l){try{return l?e(...l):e()}catch(s){Jn(s,t,n)}}function Xe(e,t,n,l){if(N(e)){const s=fn(e,t,n,l);return s&&Fs(s)&&s.catch(i=>{Jn(i,t,n)}),s}if(j(e)){const s=[];for(let i=0;i>>1,s=Ae[l],i=on(s);i=on(n)?Ae.push(e):Ae.splice(nr(t),0,e),e.flags|=1,ai()}}function ai(){In||(In=oi.then(ci))}function lr(e){j(e)?Vt.push(...e):bt&&e.id===-1?bt.splice($t+1,0,e):e.flags&1||(Vt.push(e),e.flags|=1),ai()}function as(e,t,n=et+1){for(;non(n)-on(l));if(Vt.length=0,bt){bt.push(...t);return}for(bt=t,$t=0;$te.id==null?e.flags&2?-1:1/0:e.id;function ci(e){try{for(et=0;et{l._d&&ys(-1);const i=An(t);let r;try{r=e(...s)}finally{An(i),l._d&&ys(1)}return r};return l._n=!0,l._c=!0,l._d=!0,l}function J(e,t){if(Ke===null)return e;const n=Qn(Ke),l=e.dirs||(e.dirs=[]);for(let s=0;s1)return n&&N(t)?t.call(l&&l.proxy):t}}const or=Symbol.for("v-scx"),rr=()=>Tn(or);function rl(e,t,n){return di(e,t,n)}function di(e,t,n=ae){const{immediate:l,deep:s,flush:i,once:r}=n,a=ke({},n),c=t&&l||!t&&i!=="post";let _;if(an){if(i==="sync"){const A=rr();_=A.__watcherHandles||(A.__watcherHandles=[])}else if(!c){const A=()=>{};return A.stop=st,A.resume=st,A.pause=st,A}}const g=Me;a.call=(A,Y,$)=>Xe(A,g,Y,$);let y=!1;i==="post"?a.scheduler=A=>{$e(A,g&&g.suspense)}:i!=="sync"&&(y=!0,a.scheduler=(A,Y)=>{Y?A():Fl(A)}),a.augmentJob=A=>{t&&(A.flags|=4),y&&(A.flags|=2,g&&(A.id=g.uid,A.i=g))};const I=er(e,t,a);return an&&(_?_.push(I):c&&I()),I}function ar(e,t,n){const l=this.proxy,s=_e(e)?e.includes(".")?pi(l,e):()=>l[e]:e.bind(l,l);let i;N(t)?i=t:(i=t.handler,n=t);const r=dn(this),a=di(s,i.bind(l),n);return r(),a}function pi(e,t){const n=t.split(".");return()=>{let l=e;for(let s=0;se.__isTeleport,al=Symbol("_leaveCb");function jl(e,t){e.shapeFlag&6&&e.component?(e.transition=t,jl(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 fr(e,t){return N(e)?ke({name:e.name},t,{setup:e}):e}function hi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function us(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Mn=new WeakMap;function Zt(e,t,n,l,s=!1){if(j(e)){e.forEach(($,fe)=>Zt($,t&&(j(t)?t[fe]:t),n,l,s));return}if(en(l)&&!s){l.shapeFlag&512&&l.type.__asyncResolved&&l.component.subTree.component&&Zt(e,t,n,l.component.subTree);return}const i=l.shapeFlag&4?Qn(l.component):l.el,r=s?null:i,{i:a,r:c}=e,_=t&&t.r,g=a.refs===ae?a.refs={}:a.refs,y=a.setupState,I=te(y),A=y===ae?Ls:$=>us(g,$)?!1:ne(I,$),Y=($,fe)=>!(fe&&us(g,fe));if(_!=null&&_!==c){if(cs(t),_e(_))g[_]=null,A(_)&&(y[_]=null);else if(Ee(_)){const $=t;Y(_,$.k)&&(_.value=null),$.k&&(g[$.k]=null)}}if(N(c)){ot();try{fn(c,a,12,[r,g])}finally{rt()}}else{const $=_e(c),fe=Ee(c);if($||fe){const X=()=>{if(e.f){const U=$?A(c)?y[c]:g[c]:Y()||!e.k?c.value:g[e.k];if(s)j(U)&&Pl(U,i);else if(j(U))U.includes(i)||U.push(i);else if($)g[c]=[i],A(c)&&(y[c]=g[c]);else{const Z=[i];Y(c,e.k)&&(c.value=Z),e.k&&(g[e.k]=Z)}}else $?(g[c]=r,A(c)&&(y[c]=r)):fe&&(Y(c,e.k)&&(c.value=r),e.k&&(g[e.k]=r))};if(r){const U=()=>{X(),Mn.delete(e)};U.id=-1,Mn.set(e,U),$e(U,n)}else cs(e),X()}}}function cs(e){const t=Mn.get(e);t&&(t.flags|=8,Mn.delete(e))}Hn().requestIdleCallback;Hn().cancelIdleCallback;const en=e=>!!e.type.__asyncLoader,gi=e=>e.type.__isKeepAlive;function dr(e,t){vi(e,"a",t)}function pr(e,t){vi(e,"da",t)}function vi(e,t,n=Me){const l=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Gn(t,l,n),n){let s=n.parent;for(;s&&s.parent;)gi(s.parent.vnode)&&hr(l,t,n,s),s=s.parent}}function hr(e,t,n,l){const s=Gn(t,e,l,!0);mi(()=>{Pl(l[t],s)},n)}function Gn(e,t,n=Me,l=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{ot();const a=dn(n),c=Xe(t,n,e,r);return a(),rt(),c});return l?s.unshift(i):s.push(i),i}}const _t=e=>(t,n=Me)=>{(!an||e==="sp")&&Gn(e,(...l)=>t(...l),n)},gr=_t("bm"),_i=_t("m"),vr=_t("bu"),_r=_t("u"),mr=_t("bum"),mi=_t("um"),yr=_t("sp"),br=_t("rtg"),wr=_t("rtc");function xr(e,t=Me){Gn("ec",e,t)}const Cr=Symbol.for("v-ndc");function ve(e,t,n,l){let s;const i=n,r=j(e);if(r||_e(e)){const a=r&&Dt(e);let c=!1,_=!1;a&&(c=!qe(e),_=vt(e),e=qn(e)),s=new Array(e.length);for(let g=0,y=e.length;gt(a,c,void 0,i));else{const a=Object.keys(e);s=new Array(a.length);for(let c=0,_=a.length;c<_;c++){const g=a[c];s[c]=t(e[g],g,c,i)}}else s=[];return s}const yl=e=>e?Vi(e)?Qn(e):yl(e.parent):null,tn=ke(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=>yl(e.parent),$root:e=>yl(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>bi(e),$forceUpdate:e=>e.f||(e.f=()=>{Fl(e.update)}),$nextTick:e=>e.n||(e.n=ri.bind(e.proxy)),$watch:e=>ar.bind(e)}),ul=(e,t)=>e!==ae&&!e.__isScriptSetup&&ne(e,t),Sr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:l,data:s,props:i,accessCache:r,type:a,appContext:c}=e;if(t[0]!=="$"){const I=r[t];if(I!==void 0)switch(I){case 1:return l[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(ul(l,t))return r[t]=1,l[t];if(s!==ae&&ne(s,t))return r[t]=2,s[t];if(ne(i,t))return r[t]=3,i[t];if(n!==ae&&ne(n,t))return r[t]=4,n[t];bl&&(r[t]=0)}}const _=tn[t];let g,y;if(_)return t==="$attrs"&&Pe(e.attrs,"get",""),_(e);if((g=a.__cssModules)&&(g=g[t]))return g;if(n!==ae&&ne(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,ne(y,t))return y[t]},set({_:e},t,n){const{data:l,setupState:s,ctx:i}=e;return ul(s,t)?(s[t]=n,!0):l!==ae&&ne(l,t)?(l[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:l,appContext:s,props:i,type:r}},a){let c;return!!(n[a]||e!==ae&&a[0]!=="$"&&ne(e,a)||ul(t,a)||ne(i,a)||ne(l,a)||ne(tn,a)||ne(s.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function fs(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let bl=!0;function kr(e){const t=bi(e),n=e.proxy,l=e.ctx;bl=!1,t.beforeCreate&&ds(t.beforeCreate,e,"bc");const{data:s,computed:i,methods:r,watch:a,provide:c,inject:_,created:g,beforeMount:y,mounted:I,beforeUpdate:A,updated:Y,activated:$,deactivated:fe,beforeDestroy:X,beforeUnmount:U,destroyed:Z,unmounted:L,render:de,renderTracked:Te,renderTriggered:re,errorCaptured:Le,serverPrefetch:at,expose:Fe,inheritAttrs:Je,components:K,directives:Ge,filters:Ve}=t;if(_&&Pr(_,l,null),r)for(const W in r){const V=r[W];N(V)&&(l[W]=V.bind(n))}if(s){const W=s.call(n,n);oe(W)&&(e.data=Rl(W))}if(bl=!0,i)for(const W in i){const V=i[W],ye=N(V)?V.bind(n,n):N(V.get)?V.get.bind(n,n):st,ut=!N(V)&&N(V.set)?V.set.bind(n):st,be=yt({get:ye,set:ut});Object.defineProperty(l,W,{enumerable:!0,configurable:!0,get:()=>be.value,set:Oe=>be.value=Oe})}if(a)for(const W in a)yi(a[W],l,n,W);if(c){const W=N(c)?c.call(n):c;Reflect.ownKeys(W).forEach(V=>{ir(V,W[V])})}g&&ds(g,e,"c");function ce(W,V){j(V)?V.forEach(ye=>W(ye.bind(n))):V&&W(V.bind(n))}if(ce(gr,y),ce(_i,I),ce(vr,A),ce(_r,Y),ce(dr,$),ce(pr,fe),ce(xr,Le),ce(wr,Te),ce(br,re),ce(mr,U),ce(mi,L),ce(yr,at),j(Fe))if(Fe.length){const W=e.exposed||(e.exposed={});Fe.forEach(V=>{Object.defineProperty(W,V,{get:()=>n[V],set:ye=>n[V]=ye,enumerable:!0})})}else e.exposed||(e.exposed={});de&&e.render===st&&(e.render=de),Je!=null&&(e.inheritAttrs=Je),K&&(e.components=K),Ge&&(e.directives=Ge),at&&hi(e)}function Pr(e,t,n=st){j(e)&&(e=wl(e));for(const l in e){const s=e[l];let i;oe(s)?"default"in s?i=Tn(s.from||l,s.default,!0):i=Tn(s.from||l):i=Tn(s),Ee(i)?Object.defineProperty(t,l,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[l]=i}}function ds(e,t,n){Xe(j(e)?e.map(l=>l.bind(t.proxy)):e.bind(t.proxy),t,n)}function yi(e,t,n,l){let s=l.includes(".")?pi(n,l):()=>n[l];if(_e(e)){const i=t[e];N(i)&&rl(s,i)}else if(N(e))rl(s,e.bind(n));else if(oe(e))if(j(e))e.forEach(i=>yi(i,t,n,l));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&rl(s,i,e)}}function bi(e){const t=e.type,{mixins:n,extends:l}=t,{mixins:s,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,a=i.get(t);let c;return a?c=a:!s.length&&!n&&!l?c=t:(c={},s.length&&s.forEach(_=>Rn(c,_,r,!0)),Rn(c,t,r)),oe(t)&&i.set(t,c),c}function Rn(e,t,n,l=!1){const{mixins:s,extends:i}=t;i&&Rn(e,i,n,!0),s&&s.forEach(r=>Rn(e,r,n,!0));for(const r in t)if(!(l&&r==="expose")){const a=Er[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const Er={data:ps,props:hs,emits:hs,methods:Gt,computed:Gt,beforeCreate:Ie,created:Ie,beforeMount:Ie,mounted:Ie,beforeUpdate:Ie,updated:Ie,beforeDestroy:Ie,beforeUnmount:Ie,destroyed:Ie,unmounted:Ie,activated:Ie,deactivated:Ie,errorCaptured:Ie,serverPrefetch:Ie,components:Gt,directives:Gt,watch:Or,provide:ps,inject:Tr};function ps(e,t){return t?e?function(){return ke(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function Tr(e,t){return Gt(wl(e),wl(t))}function wl(e){if(j(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ze(t)}Modifiers`]||e[`${It(t)}Modifiers`];function Mr(e,t,...n){if(e.isUnmounted)return;const l=e.vnode.props||ae;let s=n;const i=t.startsWith("update:"),r=i&&Ar(l,t.slice(7));r&&(r.trim&&(s=n.map(g=>_e(g)?g.trim():g)),r.number&&(s=n.map(Wn)));let a,c=l[a=nl(t)]||l[a=nl(ze(t))];!c&&i&&(c=l[a=nl(It(t))]),c&&Xe(c,e,6,s);const _=l[a+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(_,e,6,s)}}const Rr=new WeakMap;function xi(e,t,n=!1){const l=n?Rr:t.emitsCache,s=l.get(e);if(s!==void 0)return s;const i=e.emits;let r={},a=!1;if(!N(e)){const c=_=>{const g=xi(_,t,!0);g&&(a=!0,ke(r,g))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(oe(e)&&l.set(e,null),null):(j(i)?i.forEach(c=>r[c]=null):ke(r,i),oe(e)&&l.set(e,r),r)}function zn(e,t){return!e||!Vn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,It(t))||ne(e,t))}function gs(e){const{type:t,vnode:n,proxy:l,withProxy:s,propsOptions:[i],slots:r,attrs:a,emit:c,render:_,renderCache:g,props:y,data:I,setupState:A,ctx:Y,inheritAttrs:$}=e,fe=An(e);let X,U;try{if(n.shapeFlag&4){const L=s||l,de=L;X=nt(_.call(de,L,g,y,A,I,Y)),U=a}else{const L=t;X=nt(L.length>1?L(y,{attrs:a,slots:r,emit:c}):L(y,null)),U=t.props?a:$r(a)}}catch(L){nn.length=0,Jn(L,e,1),X=gt(wt)}let Z=X;if(U&&$!==!1){const L=Object.keys(U),{shapeFlag:de}=Z;L.length&&de&7&&(i&&L.some(Bn)&&(U=Lr(U,i)),Z=Wt(Z,U,!1,!0))}return n.dirs&&(Z=Wt(Z,null,!1,!0),Z.dirs=Z.dirs?Z.dirs.concat(n.dirs):n.dirs),n.transition&&jl(Z,n.transition),X=Z,An(fe),X}const $r=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vn(n))&&((t||(t={}))[n]=e[n]);return t},Lr=(e,t)=>{const n={};for(const l in e)(!Bn(l)||!(l.slice(9)in t))&&(n[l]=e[l]);return n};function Fr(e,t,n){const{props:l,children:s,component:i}=e,{props:r,children:a,patchFlag:c}=t,_=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return l?vs(l,r,_):!!r;if(c&8){const g=t.dynamicProps;for(let y=0;yObject.create(Si),Pi=e=>Object.getPrototypeOf(e)===Si;function Vr(e,t,n,l=!1){const s={},i=ki();e.propsDefaults=Object.create(null),Ei(e,t,s,i);for(const r in e.propsOptions[0])r in s||(s[r]=void 0);n?e.props=l?s:Ko(s):e.type.props?e.props=s:e.props=i,e.attrs=i}function Br(e,t,n,l){const{props:s,attrs:i,vnode:{patchFlag:r}}=e,a=te(s),[c]=e.propsOptions;let _=!1;if((l||r>0)&&!(r&16)){if(r&8){const g=e.vnode.dynamicProps;for(let y=0;y{c=!0;const[I,A]=Ti(y,t,!0);ke(r,I),A&&a.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}if(!i&&!c)return oe(e)&&l.set(e,Ft),Ft;if(j(i))for(let g=0;ge==="_"||e==="_ctx"||e==="$stable",Bl=e=>j(e)?e.map(nt):[nt(e)],Ur=(e,t,n)=>{if(t._n)return t;const l=sr((...s)=>Bl(t(...s)),n);return l._c=!1,l},Oi=(e,t,n)=>{const l=e._ctx;for(const s in e){if(Vl(s))continue;const i=e[s];if(N(i))t[s]=Ur(s,i,l);else if(i!=null){const r=Bl(i);t[s]=()=>r}}},Di=(e,t)=>{const n=Bl(t);e.slots.default=()=>n},Ii=(e,t,n)=>{for(const l in t)(n||!Vl(l))&&(e[l]=t[l])},Wr=(e,t,n)=>{const l=e.slots=ki();if(e.vnode.shapeFlag&32){const s=t._;s?(Ii(l,t,n),n&&Ns(l,"_",s,!0)):Oi(t,l)}else t&&Di(e,t)},Hr=(e,t,n)=>{const{vnode:l,slots:s}=e;let i=!0,r=ae;if(l.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Ii(s,t,n):(i=!t.$stable,Oi(t,s)),r=t}else t&&(Di(e,t),r={default:1});if(i)for(const a in s)!Vl(a)&&r[a]==null&&delete s[a]},$e=zr;function Kr(e){return qr(e)}function qr(e,t){const n=Hn();n.__VUE__=!0;const{insert:l,remove:s,patchProp:i,createElement:r,createText:a,createComment:c,setText:_,setElementText:g,parentNode:y,nextSibling:I,setScopeId:A=st,insertStaticContent:Y}=e,$=(u,p,m,C=null,x=null,b=null,O=void 0,P=null,k=!!p.dynamicChildren)=>{if(u===p)return;u&&!Jt(u,p)&&(C=Re(u),Oe(u,x,b,!0),u=null),p.patchFlag===-2&&(k=!1,p.dynamicChildren=null);const{type:w,ref:R,shapeFlag:D}=p;switch(w){case Yn:fe(u,p,m,C);break;case wt:X(u,p,m,C);break;case fl:u==null&&U(p,m,C,O);break;case z:K(u,p,m,C,x,b,O,P,k);break;default:D&1?de(u,p,m,C,x,b,O,P,k):D&6?Ge(u,p,m,C,x,b,O,P,k):(D&64||D&128)&&w.process(u,p,m,C,x,b,O,P,k,xt)}R!=null&&x?Zt(R,u&&u.ref,b,p||u,!p):R==null&&u&&u.ref!=null&&Zt(u.ref,null,b,u,!0)},fe=(u,p,m,C)=>{if(u==null)l(p.el=a(p.children),m,C);else{const x=p.el=u.el;p.children!==u.children&&_(x,p.children)}},X=(u,p,m,C)=>{u==null?l(p.el=c(p.children||""),m,C):p.el=u.el},U=(u,p,m,C)=>{[u.el,u.anchor]=Y(u.children,p,m,C,u.el,u.anchor)},Z=({el:u,anchor:p},m,C)=>{let x;for(;u&&u!==p;)x=I(u),l(u,m,C),u=x;l(p,m,C)},L=({el:u,anchor:p})=>{let m;for(;u&&u!==p;)m=I(u),s(u),u=m;s(p)},de=(u,p,m,C,x,b,O,P,k)=>{if(p.type==="svg"?O="svg":p.type==="math"&&(O="mathml"),u==null)Te(p,m,C,x,b,O,P,k);else{const w=u.el&&u.el._isVueCE?u.el:null;try{w&&w._beginPatch(),at(u,p,x,b,O,P,k)}finally{w&&w._endPatch()}}},Te=(u,p,m,C,x,b,O,P)=>{let k,w;const{props:R,shapeFlag:D,transition:S,dirs:F}=u;if(k=u.el=r(u.type,b,R&&R.is,R),D&8?g(k,u.children):D&16&&Le(u.children,k,null,C,x,cl(u,b),O,P),F&&kt(u,null,C,"created"),re(k,u,u.scopeId,O,C),R){for(const le in R)le!=="value"&&!Yt(le)&&i(k,le,null,R[le],b,C);"value"in R&&i(k,"value",null,R.value,b),(w=R.onVnodeBeforeMount)&&Ze(w,C,u)}F&&kt(u,null,C,"beforeMount");const q=Jr(x,S);q&&S.beforeEnter(k),l(k,p,m),((w=R&&R.onVnodeMounted)||q||F)&&$e(()=>{try{w&&Ze(w,C,u),q&&S.enter(k),F&&kt(u,null,C,"mounted")}finally{}},x)},re=(u,p,m,C,x)=>{if(m&&A(u,m),C)for(let b=0;b{for(let w=k;w{const P=p.el=u.el;let{patchFlag:k,dynamicChildren:w,dirs:R}=p;k|=u.patchFlag&16;const D=u.props||ae,S=p.props||ae;let F;if(m&&Pt(m,!1),(F=S.onVnodeBeforeUpdate)&&Ze(F,m,p,u),R&&kt(p,u,m,"beforeUpdate"),m&&Pt(m,!0),w&&(!u.dynamicChildren||u.dynamicChildren.length!==w.length)&&(k=0,O=!1,w=null),(D.innerHTML&&S.innerHTML==null||D.textContent&&S.textContent==null)&&g(P,""),w?Fe(u.dynamicChildren,w,P,m,C,cl(p,x),b):O||V(u,p,P,null,m,C,cl(p,x),b,!1),k>0){if(k&16)Je(P,D,S,m,x);else if(k&2&&D.class!==S.class&&i(P,"class",null,S.class,x),k&4&&i(P,"style",D.style,S.style,x),k&8){const q=p.dynamicProps;for(let le=0;le{F&&Ze(F,m,p,u),R&&kt(p,u,m,"updated")},C)},Fe=(u,p,m,C,x,b,O)=>{for(let P=0;P{if(p!==m){if(p!==ae)for(const b in p)!Yt(b)&&!(b in m)&&i(u,b,p[b],null,x,C);for(const b in m){if(Yt(b))continue;const O=m[b],P=p[b];O!==P&&b!=="value"&&i(u,b,P,O,x,C)}"value"in m&&i(u,"value",p.value,m.value,x)}},K=(u,p,m,C,x,b,O,P,k)=>{const w=p.el=u?u.el:a(""),R=p.anchor=u?u.anchor:a("");let{patchFlag:D,dynamicChildren:S,slotScopeIds:F}=p;F&&(P=P?P.concat(F):F),u==null?(l(w,m,C),l(R,m,C),Le(p.children||[],m,R,x,b,O,P,k)):D>0&&D&64&&S&&u.dynamicChildren&&u.dynamicChildren.length===S.length?(Fe(u.dynamicChildren,S,m,x,b,O,P),(p.key!=null||x&&p===x.subTree)&&Ai(u,p,!0)):V(u,p,m,R,x,b,O,P,k)},Ge=(u,p,m,C,x,b,O,P,k)=>{p.slotScopeIds=P,u==null?p.shapeFlag&512?x.ctx.activate(p,m,C,O,k):Ve(p,m,C,x,b,O,k):Be(u,p,k)},Ve=(u,p,m,C,x,b,O)=>{const P=u.component=sa(u,C,x);if(gi(u)&&(P.ctx.renderer=xt),oa(P,!1,O),P.asyncDep){if(x&&x.registerDep(P,ce,O),!u.el){const k=P.subTree=gt(wt);X(null,k,p,m),u.placeholder=k.el}}else ce(P,u,p,m,x,b,O)},Be=(u,p,m)=>{const C=p.component=u.component;if(Fr(u,p,m))if(C.asyncDep&&!C.asyncResolved){W(C,p,m);return}else C.next=p,C.update();else p.el=u.el,C.vnode=p},ce=(u,p,m,C,x,b,O)=>{const P=()=>{if(u.isMounted){let{next:D,bu:S,u:F,parent:q,vnode:le}=u;{const We=Mi(u);if(We){D&&(D.el=le.el,W(u,D,O)),We.asyncDep.then(()=>{$e(()=>{u.isUnmounted||w()},x)});return}}let ee=D,ge;Pt(u,!1),D?(D.el=le.el,W(u,D,O)):D=le,S&&En(S),(ge=D.props&&D.props.onVnodeBeforeUpdate)&&Ze(ge,q,D,le),Pt(u,!0);const xe=gs(u),Ue=u.subTree;u.subTree=xe,$(Ue,xe,y(Ue.el),Re(Ue),u,x,b),D.el=xe.el,ee===null&&jr(u,xe.el),F&&$e(F,x),(ge=D.props&&D.props.onVnodeUpdated)&&$e(()=>Ze(ge,q,D,le),x)}else{let D;const{el:S,props:F}=p,{bm:q,m:le,parent:ee,root:ge,type:xe}=u,Ue=en(p);Pt(u,!1),q&&En(q),!Ue&&(D=F&&F.onVnodeBeforeMount)&&Ze(D,ee,p),Pt(u,!0);{ge.ce&&ge.ce._hasShadowRoot()&&ge.ce._injectChildStyle(xe,u.parent?u.parent.type:void 0);const We=u.subTree=gs(u);$(null,We,m,C,u,x,b),p.el=We.el}if(le&&$e(le,x),!Ue&&(D=F&&F.onVnodeMounted)){const We=p;$e(()=>Ze(D,ee,We),x)}(p.shapeFlag&256||ee&&en(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&$e(u.a,x),u.isMounted=!0,p=m=C=null}};u.scope.on();const k=u.effect=new Ks(P);u.scope.off();const w=u.update=k.run.bind(k),R=u.job=k.runIfDirty.bind(k);R.i=u,R.id=u.uid,k.scheduler=()=>Fl(R),Pt(u,!0),w()},W=(u,p,m)=>{p.component=u;const C=u.vnode.props;u.vnode=p,u.next=null,Br(u,p.props,C,m),Hr(u,p.children,m),ot(),as(u),rt()},V=(u,p,m,C,x,b,O,P,k=!1)=>{const w=u&&u.children,R=u?u.shapeFlag:0,D=p.children,{patchFlag:S,shapeFlag:F}=p;if(S>0){if(S&128){ut(w,D,m,C,x,b,O,P,k);return}else if(S&256){ye(w,D,m,C,x,b,O,P,k);return}}F&8?(R&16&&Ne(w,x,b),D!==w&&g(m,D)):R&16?F&16?ut(w,D,m,C,x,b,O,P,k):Ne(w,x,b,!0):(R&8&&g(m,""),F&16&&Le(D,m,C,x,b,O,P,k))},ye=(u,p,m,C,x,b,O,P,k)=>{u=u||Ft,p=p||Ft;const w=u.length,R=p.length,D=Math.min(w,R);let S;for(S=0;SR?Ne(u,x,b,!0,!1,D):Le(p,m,C,x,b,O,P,k,D)},ut=(u,p,m,C,x,b,O,P,k)=>{let w=0;const R=p.length;let D=u.length-1,S=R-1;for(;w<=D&&w<=S;){const F=u[w],q=p[w]=k?dt(p[w]):nt(p[w]);if(Jt(F,q))$(F,q,m,null,x,b,O,P,k);else break;w++}for(;w<=D&&w<=S;){const F=u[D],q=p[S]=k?dt(p[S]):nt(p[S]);if(Jt(F,q))$(F,q,m,null,x,b,O,P,k);else break;D--,S--}if(w>D){if(w<=S){const F=S+1,q=FS)for(;w<=D;)Oe(u[w],x,b,!0),w++;else{const F=w,q=w,le=new Map;for(w=q;w<=S;w++){const De=p[w]=k?dt(p[w]):nt(p[w]);De.key!=null&&le.set(De.key,w)}let ee,ge=0;const xe=S-q+1;let Ue=!1,We=0;const Ct=new Array(xe);for(w=0;w=xe){Oe(De,x,b,!0);continue}let He;if(De.key!=null)He=le.get(De.key);else for(ee=q;ee<=S;ee++)if(Ct[ee-q]===0&&Jt(De,p[ee])){He=ee;break}He===void 0?Oe(De,x,b,!0):(Ct[He-q]=w+1,He>=We?We=He:Ue=!0,$(De,p[He],m,null,x,b,O,P,k),ge++)}const hn=Ue?Gr(Ct):Ft;for(ee=hn.length-1,w=xe-1;w>=0;w--){const De=q+w,He=p[De],gn=p[De+1],vn=De+1{const{el:b,type:O,transition:P,children:k,shapeFlag:w}=u;if(w&6){be(u.component.subTree,p,m,C);return}if(w&128){u.suspense.move(p,m,C);return}if(w&64){O.move(u,p,m,xt);return}if(O===z){l(b,p,m);for(let D=0;DP.enter(b),x));else{const{leave:D,delayLeave:S,afterLeave:F}=P,q=()=>{u.ctx.isUnmounted?s(b):l(b,p,m)},le=()=>{const ee=b._isLeaving||!!b[al];b._isLeaving&&b[al](!0),P.persisted&&!ee?q():D(b,()=>{q(),F&&F()})};S?S(b,q,le):le()}else l(b,p,m)},Oe=(u,p,m,C=!1,x=!1)=>{const{type:b,props:O,ref:P,children:k,dynamicChildren:w,shapeFlag:R,patchFlag:D,dirs:S,cacheIndex:F,memo:q}=u;if(D===-2&&(x=!1),P!=null&&(ot(),Zt(P,null,m,u,!0),rt()),F!=null&&(p.renderCache[F]=void 0),R&256){p.ctx.deactivate(u);return}const le=R&1&&S,ee=!en(u);let ge;if(ee&&(ge=O&&O.onVnodeBeforeUnmount)&&Ze(ge,p,u),R&6)B(u.component,m,C);else{if(R&128){u.suspense.unmount(m,C);return}le&&kt(u,null,p,"beforeUnmount"),R&64?u.type.remove(u,p,m,xt,C):w&&!w.hasOnce&&(b!==z||D>0&&D&64)?Ne(w,p,m,!1,!0):(b===z&&D&384||!x&&R&16)&&Ne(k,p,m),C&&we(u)}const xe=q!=null&&F==null;(ee&&(ge=O&&O.onVnodeUnmounted)||le||xe)&&$e(()=>{ge&&Ze(ge,p,u),le&&kt(u,null,p,"unmounted"),xe&&(u.el=null)},m)},we=u=>{const{type:p,el:m,anchor:C,transition:x}=u;if(p===z){Ht(m,C);return}if(p===fl){L(u);return}const b=()=>{s(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:O,delayLeave:P}=x,k=()=>O(m,b);P?P(u.el,b,k):k()}else b()},Ht=(u,p)=>{let m;for(;u!==p;)m=I(u),s(u),u=m;s(p)},B=(u,p,m)=>{const{bum:C,scope:x,job:b,subTree:O,um:P,m:k,a:w}=u;ms(k),ms(w),C&&En(C),x.stop(),b&&(b.flags|=8,Oe(O,u,p,m)),P&&$e(P,p),$e(()=>{u.isUnmounted=!0},p)},Ne=(u,p,m,C=!1,x=!1,b=0)=>{for(let O=b;O{if(u.shapeFlag&6)return Re(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const p=I(u.anchor||u.el),m=p&&p[ur];return m?I(m):p};let At=!1;const pn=(u,p,m)=>{let C;u==null?p._vnode&&(Oe(p._vnode,null,null,!0),C=p._vnode.component):$(p._vnode||null,u,p,null,null,null,m),p._vnode=u,At||(At=!0,as(C),ui(),At=!1)},xt={p:$,um:Oe,m:be,r:we,mt:Ve,mc:Le,pc:V,pbc:Fe,n:Re,o:e};return{render:pn,hydrate:void 0,createApp:Ir(pn)}}function cl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Jr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ai(e,t,n=!1){const l=e.children,s=t.children;if(j(l)&&j(s))for(let i=0;i>1,e[n[a]]<_?i=a+1:r=a;_0&&(t[l]=n[i-1]),n[i]=l)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function Mi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mi(t)}function ms(e){if(e)for(let t=0;te.__isSuspense;function zr(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):lr(e)}const z=Symbol.for("v-fgt"),Yn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),fl=Symbol.for("v-stc"),nn=[];let je=null;function E(e=!1){nn.push(je=e?null:[])}function Yr(){nn.pop(),je=nn[nn.length-1]||null}let rn=1;function ys(e,t=!1){rn+=e,e<0&&je&&t&&(je.hasOnce=!0)}function Li(e){return e.dynamicChildren=rn>0?je||Ft:null,Yr(),rn>0&&je&&je.push(e),e}function T(e,t,n,l,s,i){return Li(o(e,t,n,l,s,i,!0))}function Qr(e,t,n,l,s){return Li(gt(e,t,n,l,s,!0))}function Fi(e){return e?e.__v_isVNode===!0:!1}function Jt(e,t){return e.type===t.type&&e.key===t.key}const ji=({key:e})=>e??null,On=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Ee(e)||N(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function o(e,t=null,n=null,l=0,s=null,i=e===z?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ji(t),ref:t&&On(t),scopeId:fi,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:l,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ke};return a?($n(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=_e(n)?8:16),rn>0&&!r&&je&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&je.push(c),c}const gt=Xr;function Xr(e,t=null,n=null,l=0,s=null,i=!1){if((!e||e===Cr)&&(e=wt),Fi(e)){const a=Wt(e,t,!0);return n&&$n(a,n),rn>0&&!i&&je&&(a.shapeFlag&6?je[je.indexOf(e)]=a:je.push(a)),a.patchFlag=-2,a}if(ca(e)&&(e=e.__vccOpts),t){t=Zr(t);let{class:a,style:c}=t;a&&!_e(a)&&(t.class=Kn(a)),oe(c)&&(Ll(c)&&!j(c)&&(c=ke({},c)),t.style=Tl(c))}const r=_e(e)?1:$i(e)?128:cr(e)?64:oe(e)?4:N(e)?2:0;return o(e,t,n,l,s,r,i,!0)}function Zr(e){return e?Ll(e)||Pi(e)?ke({},e):e:null}function Wt(e,t,n=!1,l=!1){const{props:s,ref:i,patchFlag:r,children:a,transition:c}=e,_=t?ta(s||{},t):s,g={__v_isVNode:!0,__v_skip:!0,type:e.type,props:_,key:_&&ji(_),ref:t&&t.ref?n&&i?j(i)?i.concat(On(t)):[i,On(t)]:On(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==z?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&l&&jl(g,c.clone(g)),g}function ea(e=" ",t=0){return gt(Yn,null,e,t)}function G(e="",t=!1){return t?(E(),Qr(wt,null,e)):gt(wt,null,e)}function nt(e){return e==null||typeof e=="boolean"?gt(wt):j(e)?gt(z,null,e.slice()):Fi(e)?dt(e):gt(Yn,null,String(e))}function dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Wt(e)}function $n(e,t){let n=0;const{shapeFlag:l}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(l&65){const s=t.default;s&&(s._c&&(s._d=!1),$n(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Pi(t)?t._ctx=Ke:s===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(l&65){$n(e,{default:t});return}t={default:t,_ctx:Ke},n=32}else t=String(t),l&64?(n=16,t=[ea(t)]):n=8;e.children=t,e.shapeFlag|=n}function ta(...e){const t={};for(let n=0;nMe||Ke;let Ln,Cl;{const e=Hn(),t=(n,l)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(l),i=>{s.length>1?s.forEach(r=>r(i)):s[0](i)}};Ln=t("__VUE_INSTANCE_SETTERS__",n=>Me=n),Cl=t("__VUE_SSR_SETTERS__",n=>an=n)}const dn=e=>{const t=Me;return Ln(e),e.scope.on(),()=>{e.scope.off(),Ln(t)}},bs=()=>{Me&&Me.scope.off(),Ln(null)};function Vi(e){return e.vnode.shapeFlag&4}let an=!1;function oa(e,t=!1,n=!1){t&&Cl(t);const{props:l,children:s}=e.vnode,i=Vi(e);Vr(e,l,i,t),Wr(e,s,n||t);const r=i?ra(e,t):void 0;return t&&Cl(!1),r}function ra(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Sr);const{setup:l}=n;if(l){ot();const s=e.setupContext=l.length>1?ua(e):null,i=dn(e),r=fn(l,e,0,[e.props,s]),a=Fs(r);if(rt(),i(),(a||e.sp)&&!en(e)&&hi(e),a){if(r.then(bs,bs),t)return r.then(c=>{ws(e,c)}).catch(c=>{Jn(c,e,0)});e.asyncDep=r}else ws(e,r)}else Bi(e)}function ws(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=ii(t)),Bi(e)}function Bi(e,t,n){const l=e.type;e.render||(e.render=l.render||st);{const s=dn(e);ot();try{kr(e)}finally{rt(),s()}}}const aa={get(e,t){return Pe(e,"get",""),e[t]}};function ua(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,aa),slots:e.slots,emit:e.emit,expose:t}}function Qn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ii(qo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in tn)return tn[n](e)},has(t,n){return n in t||n in tn}})):e.proxy}function ca(e){return N(e)&&"__vccOpts"in e}const yt=(e,t)=>Xo(e,t,an),fa="3.5.39";/** +* @vue/runtime-dom v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Sl;const xs=typeof window<"u"&&window.trustedTypes;if(xs)try{Sl=xs.createPolicy("vue",{createHTML:e=>e})}catch{}const Ni=Sl?e=>Sl.createHTML(e):e=>e,da="http://www.w3.org/2000/svg",pa="http://www.w3.org/1998/Math/MathML",ft=typeof document<"u"?document:null,Cs=ft&&ft.createElement("template"),ha={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,l)=>{const s=t==="svg"?ft.createElementNS(da,e):t==="mathml"?ft.createElementNS(pa,e):n?ft.createElement(e,{is:n}):ft.createElement(e);return e==="select"&&l&&l.multiple!=null&&s.setAttribute("multiple",l.multiple),s},createText:e=>ft.createTextNode(e),createComment:e=>ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,l,s,i){const r=n?n.previousSibling:t.lastChild;if(s&&(s===i||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===i||!(s=s.nextSibling)););else{Cs.innerHTML=Ni(l==="svg"?`${e}`:l==="mathml"?`${e}`:e);const a=Cs.content;if(l==="svg"||l==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ga=Symbol("_vtc");function va(e,t,n){const l=e[ga];l&&(t=(t?[t,...l]:[...l]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ss=Symbol("_vod"),_a=Symbol("_vsh"),ma=Symbol(""),ya=/(?:^|;)\s*display\s*:/;function ba(e,t,n){const l=e.style,s=_e(n);let i=!1;if(n&&!s){if(t)if(_e(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&zt(l,a,"")}else for(const r in t)n[r]==null&&zt(l,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?xa(e,r,!_e(t)&&t?t[r]:void 0,a)||zt(l,r,a):zt(l,r,"")}}else if(s){if(t!==n){const r=l[ma];r&&(n+=";"+r),l.cssText=n,i=ya.test(n)}}else t&&e.removeAttribute("style");Ss in e&&(e[Ss]=i?l.display:"",e[_a]&&(l.display="none"))}const ks=/\s*!important$/;function zt(e,t,n){if(j(n))n.forEach(l=>zt(e,t,l));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const l=wa(e,t);ks.test(n)?e.setProperty(It(l),n.replace(ks,""),"important"):e[l]=n}}const Ps=["Webkit","Moz","ms"],dl={};function wa(e,t){const n=dl[t];if(n)return n;let l=ze(t);if(l!=="filter"&&l in e)return dl[t]=l;l=Bs(l);for(let s=0;spl||(Ta.then(()=>pl=0),pl=Date.now());function Da(e,t){const n=l=>{if(!l._vts)l._vts=Date.now();else if(l._vts<=n.attached)return;const s=n.value;if(j(s)){const i=l.stopImmediatePropagation;l.stopImmediatePropagation=()=>{i.call(l),l._stopped=!0};const r=s.slice(),a=[l];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ia=(e,t,n,l,s,i)=>{const r=s==="svg";t==="class"?va(e,l,r):t==="style"?ba(e,n,l):Vn(t)?Bn(t)||Sa(e,t,n,l,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Aa(e,t,l,r))?(Os(e,t,l),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ts(e,t,l,r,i,t!=="value")):e._isVueCE&&(Ma(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_e(l)))?Os(e,ze(t),l,i,t):(t==="true-value"?e._trueValue=l:t==="false-value"&&(e._falseValue=l),Ts(e,t,l,r))};function Aa(e,t,n,l){if(l)return!!(t==="innerHTML"||t==="textContent"||t in e&&Is(t)&&N(n));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 s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Is(t)&&_e(n)?!1:t in e}function Ma(e,t){const n=e._def.props;if(!n)return!1;const l=ze(t);return Array.isArray(n)?n.some(s=>ze(s)===l):Object.keys(n).some(s=>ze(s)===l)}const Fn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>En(t,n):t};function Ra(e){e.target.composing=!0}function As(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Nt=Symbol("_assign");function Ms(e,t,n){return t&&(e=e.trim()),n&&(e=Wn(e)),e}const se={created(e,{modifiers:{lazy:t,trim:n,number:l}},s){e[Nt]=Fn(s);const i=l||s.props&&s.props.type==="number";Tt(e,t?"change":"input",r=>{r.target.composing||e[Nt](Ms(e.value,n,i))}),(n||i)&&Tt(e,"change",()=>{e.value=Ms(e.value,n,i)}),t||(Tt(e,"compositionstart",Ra),Tt(e,"compositionend",As),Tt(e,"change",As))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:l,trim:s,number:i}},r){if(e[Nt]=Fn(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Wn(e.value):e.value,c=t??"";if(a===c)return;const _=e.getRootNode();(_ instanceof Document||_ instanceof ShadowRoot)&&_.activeElement===e&&e.type!=="range"&&(l&&t===n||s&&e.value.trim()===c)||(e.value=c)}},Rt={deep:!0,created(e,{value:t,modifiers:{number:n}},l){const s=Nn(t);Tt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Wn(jn(r)):jn(r));e[Nt](e.multiple?s?new Set(i):i:i[0]),e._assigning=!0,ri(()=>{e._assigning=!1})}),e[Nt]=Fn(l)},mounted(e,{value:t}){Rs(e,t)},beforeUpdate(e,t,n){e[Nt]=Fn(n)},updated(e,{value:t}){e._assigning||Rs(e,t)}};function Rs(e,t){const n=e.multiple,l=j(t);if(!(n&&!l&&!Nn(t))){for(let s=0,i=e.options.length;sString(_)===String(a)):r.selected=ko(t,a)>-1}else r.selected=t.has(a);else if(cn(jn(r),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function jn(e){return"_value"in e?e._value:e.value}const $a=ke({patchProp:Ia},ha);let $s;function La(){return $s||($s=Kr($a))}const Fa=((...e)=>{const t=La().createApp(...e),{mount:n}=t;return t.mount=l=>{const s=Va(l);if(!s)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const r=n(s,!1,ja(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),r},t});function ja(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Va(e){return _e(e)?document.querySelector(e):e}const Ba="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",M={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,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`,nodeGenerate:e=>`nodes/${e}/generate`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,nodeImages:e=>`nodes/${e}/images`,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",storageStatus:"storage/status",mediaSign:"media/sign",materialCategories:"material-categories",materials:"materials",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialConfirm:e=>`materials/${e}/confirm`,wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItem:(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",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",webManifest:"web/manifest"};class Na extends Error{constructor(n,l,s={}){super(l);tl(this,"code");tl(this,"details");this.name="ApiClientError",this.code=n,this.details=s}}async function he(e,t){return Lt(e,{method:"GET",query:t})}async function ie(e,t){return Lt(e,{method:"POST",body:t})}async function Lt(e,t={}){const l=await(await fetch(Ua(e,t.query),{method:t.method??"GET",headers:t.body===void 0?void 0:{"Content-Type":"application/json"},body:t.body===void 0?void 0:JSON.stringify(t.body)})).json();if(!l.ok)throw new Na(l.error_code,l.message,l.details);return l.data}function Ua(e,t){const n=e.replace(/^\/+/,""),l=new URL(`${Ba}/${n}`,window.location.origin);for(const[s,i]of Object.entries(t??{}))i!==void 0&&l.searchParams.set(s,String(i));return`${l.pathname}${l.search}`}const Wa={class:"web-shell"},Ha={class:"sidebar"},Ka={class:"brand"},qa=["onClick"],Ja={class:"workspace"},Ga={class:"topbar"},za={class:"actions"},Ya=["disabled"],Qa={key:0,class:"notice error"},Xa={key:1,class:"notice"},Za={key:0,class:"dashboard-grid"},eu={key:1,class:"list-view"},tu={class:"form-grid"},nu={class:"wide-field"},lu=["disabled"],su=["disabled"],iu={key:0},ou={class:"inline-actions"},ru={class:"badge"},au=["disabled","onClick"],uu={key:0,class:"empty"},cu={key:2,class:"split-view"},fu={class:"list-view"},du={class:"form-grid"},pu=["disabled"],hu={class:"inline-actions"},gu={class:"badge"},vu=["disabled","onClick"],_u=["disabled","onClick"],mu=["disabled","onClick"],yu=["disabled","onClick"],bu={key:0,class:"empty"},wu={class:"list-view"},xu={class:"form-grid"},Cu={class:"wide-field"},Su=["disabled"],ku={class:"inline-actions"},Pu={class:"badge"},Eu=["disabled","onClick"],Tu={key:0,class:"empty"},Ou={class:"inline-actions"},Du={key:0,class:"badge"},Iu=["disabled","onClick"],Au=["disabled","onClick"],Mu=["disabled","onClick"],Ru=["disabled","onClick"],$u=["disabled","onClick"],Lu={key:0,class:"empty"},Fu={key:0},ju={key:1},Vu={key:3,class:"split-view"},Bu={class:"list-view"},Nu={key:0,class:"empty"},Uu={class:"list-view"},Wu={class:"inline-actions"},Hu=["disabled"],Ku={class:"form-grid"},qu={value:""},Ju=["value"],Gu=["disabled"],zu={class:"inline-actions"},Yu={class:"badge"},Qu=["disabled","onClick"],Xu=["disabled","onClick"],Zu=["disabled","onClick"],ec={key:0,class:"empty"},tc={key:0},nc={key:4,class:"list-view"},lc=["disabled"],sc={class:"form-grid"},ic={value:""},oc=["value"],rc=["disabled"],ac={class:"inline-actions"},uc=["disabled","onClick"],cc={key:0,class:"empty"},fc={key:0},dc={class:"form-grid"},pc=["disabled"],hc={key:1},gc={key:5,class:"list-view"},vc={class:"inline-actions"},_c=["disabled"],mc=["disabled"],yc={class:"form-grid"},bc={value:""},wc=["value"],xc={value:""},Cc=["value"],Sc={value:""},kc=["value"],Pc=["disabled"],Ec={class:"inline-actions"},Tc={class:"badge"},Oc=["onClick"],Dc=["onClick"],Ic=["disabled","onClick"],Ac={key:0,class:"empty"},Mc={key:0,class:"editor-panel"},Rc={key:6,class:"split-view"},$c={class:"list-view"},Lc=["disabled"],Fc={class:"form-grid"},jc=["disabled"],Vc={key:0},Bc={class:"list-view"},Nc={class:"inline-actions"},Uc={class:"badge"},Wc=["disabled","onClick"],Hc=["disabled","onClick"],Kc=["disabled","onClick"],qc={key:0,class:"empty"},Jc={key:7,class:"logs-view"},Gc={class:"split-view"},zc={class:"list-view"},Yc={key:0,class:"empty"},Qc={class:"list-view"},Xc={class:"badge"},Zc={key:0,class:"empty"},ef={class:"split-view"},tf={class:"list-view"},nf={key:0,class:"empty"},lf={class:"list-view"},sf={class:"badge"},of={key:0,class:"empty"},rf={class:"list-view"},af={key:0,class:"empty"},uf={key:8,class:"settings-view"},cf={class:"toolbar"},ff=["disabled"],df=["disabled"],pf=["disabled"],hf=["disabled"],gf=["disabled"],vf=["disabled"],_f={class:"settings-sections"},mf={class:"editor-panel"},yf={class:"split-view"},bf={class:"list-view"},wf={class:"list-view"},xf={class:"inspector"},Cf=fr({__name:"App",setup(e){const t={waiting:"等待操作",loading:"加载中...",loadFailed:"加载失败",refresh:"刷新",complete:"完成",failed:"失败",noProfile:"未选择角色",noTags:"无标签",noImage:"未绑定图片",create:"新建",quickDraft:"快速草稿",archive:"归档",start:"启动",generate:"生成",adopt:"采纳",select:"选择",unselect:"取选",recognize:"识别",confirm:"确认",name:"名称",identity:"身份",personality:"性格",hairColor:"发色",hairstyle:"发型",eyeColor:"眼色",description:"描述",basePrompt:"基础提示词",appearancePrompt:"外观提示词",stylePrompt:"风格提示词",negativePrompt:"反向提示词",imageUri:"图片 URI",tags:"标签",category:"分类",allCategories:"全部分类",materialCreated:"素材已创建",materialArchived:"素材已归档",importToWardrobe:"加入衣橱",delete:"删除",wardrobeCategory:"衣橱分类",season:"季节",style:"风格",selectMaterial:"选择素材",wardrobeImported:"衣橱条目已加入",wardrobeDeleted:"衣橱条目已删除",dailyOutfit:"每日穿搭",categories:"分类",mood:"心情",weather:"天气",keywords:"关键词",outfitGenerated:"每日穿搭已生成",dashboard:"运行概览",profiles:"角色",workflows:"工作流",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",logs:"日志审计",settings:"设置",profileList:"角色列表",profileCreated:"角色已创建",profileDeleted:"角色已删除",emptyProfiles:"暂无角色",workflowList:"工作流列表",workflowType:"工作流类型",workflowCreated:"工作流已创建",emptyWorkflows:"暂无工作流",nodes:"节点",images:"图片",emptyImages:"暂无图片",modelRoute:"模型路由",prompt:"提示词",generationQueued:"生成已入队",imageArchived:"图片已归档",imageDeleted:"图片已删除",currentBranch:"当前分支",materialCategories:"素材分类",materialItems:"素材条目",emptyCategories:"暂无分类",emptyMaterials:"暂无素材",pendingConfirm:"待确认",signFirstImage:"签名首图",noSignableMaterial:"没有可签名的素材图片",signMaterial:"签名素材",match:"匹配",matchWardrobe:"衣橱匹配",emptyWardrobe:"暂无衣橱条目",moveFailed:"失败转死信",retryDead:"重试死信",retry:"重试",cancel:"取消",filter:"筛选",detail:"详情",jobDetail:"任务详情",allStatuses:"全部状态",allProfiles:"全部角色",allWorkflows:"全部工作流",emptyJobs:"暂无任务",dialects:"协议方言",safeProbe:"安全探测",capabilityProfiles:"能力档案",renderPlan:"RenderPlan",validatePlan:"校验计划",provider:"Provider",model:"Model",requiredCapabilities:"所需能力",validationStatus:"校验状态",support:"支持",unsupported:"不支持",unconfirmed:"待确认",emptyCapabilities:"暂无能力档案",generationLogs:"生成日志",errorLogs:"错误",workflowLogs:"工作流",integrationLogs:"集成",auditLogs:"审计",emptyGenerationLogs:"暂无生成日志",emptyErrors:"暂无错误",emptyWorkflowLogs:"暂无工作流日志",emptyIntegrationLogs:"暂无集成日志",emptyAuditLogs:"暂无审计日志",noErrorDetail:"无错误详情",reload:"重载",validate:"校验",diff:"对比",save:"保存",reset:"重置",exportRedacted:"导出脱敏配置",exportSettings:"导出设置",exportDone:"导出设置完成,配置已脱敏",settingsEditor:"配置编辑",settingsDraftInvalid:"配置 JSON 格式无效",settingsSaved:"设置已保存",validationResult:"校验结果",diffResult:"变更对比",storage:"存储",running:"运行"},n=[{key:"dashboard",label:"概览"},{key:"profiles",label:t.profiles},{key:"workflows",label:t.workflows},{key:"materials",label:"素材"},{key:"wardrobe",label:"衣橱"},{key:"jobs",label:"队列"},{key:"discovery",label:"探测"},{key:"logs",label:"日志"},{key:"settings",label:t.settings}],l=H("dashboard"),s=H(null),i=H(null),r=H(null),a=H([]),c=H(null),_=H(""),g=H([]),y=H(null),I=H(null),A=H(null),Y=H(null),$=H(null),fe=H(null),X=H([]),U=H(null),Z=H([]),L=H([]),de=H([]),Te=H(null),re=H({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),Le=H(null),at=H(""),Fe=H(null),Je=H(null),K=H({name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""}),Ge=H(null),Ve=H({display_name:"",workflow_type:"single_image"}),Be=H({model_route:"",prompt:"",negative_prompt:""}),ce=H({status:"",profile_id:"",workflow_id:""}),W=H({display_name:"",image_uri:"",tags:"",category_id:""}),V=H({material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}),ye=H({categories:"top,bottom,dress,shoes,accessory",mood:"",weather:"",keywords:""}),ut=H(null),be=H({provider_id:"",model_id:"",required_capabilities:"text_to_image"}),Oe=H(null),we=H(""),Ht=H(!0),B=H(""),Ne=H(""),Re=yt(()=>{var v,h;return((h=(v=r.value)==null?void 0:v.items[0])==null?void 0:h.profile_id)??""}),At=yt(()=>{var v,h;return((h=(v=r.value)==null?void 0:v.items[0])==null?void 0:h.name)??t.noProfile}),pn=yt(()=>{var h;const v=(h=i.value)==null?void 0:h.queue;return v?v.pending+v.running+v.failed+v.dead_letter:0}),xt=yt(()=>{var v;return((v=U.value)==null?void 0:v.items.filter(h=>h.recognition_status!=="confirmed").length)??0}),Nl=yt(()=>{var v;return(((v=U.value)==null?void 0:v.items)??[]).filter(h=>h.recognition_status==="confirmed")}),u=yt(()=>{var v;return((v=c.value)==null?void 0:v.nodes.find(h=>h.node_id===_.value))??null}),p=["created","queued","running","completed","succeeded","failed","cancelled","dead_letter"],m=yt(()=>({dashboard:t.dashboard,profiles:t.profiles,workflows:t.workflows,materials:t.materials,wardrobe:t.wardrobe,jobs:t.jobs,discovery:t.discovery,logs:t.logs,settings:t.settings})[l.value]);_i(C);async function C(){var v,h;Ht.value=!0,Ne.value="";try{const[Q,pe,Ce,mt,mn,Kt,yn,bn,wn,xn,Cn]=await Promise.all([he(M.uiBootstrap),he(M.dashboardSummary),he(M.profiles,{page:1,page_size:20}),he(M.jobs,{page:1,page_size:20}),he(M.settingsSchema),he(M.settingsCurrent),he(M.storageStatus),he(M.materialCategories),he(M.materials,{page:1,page_size:24}),he(M.apiDiscoveryDialects),he(M.apiDiscoveryCapabilities)]);s.value=Q,i.value=pe,r.value=Ce,I.value=mt,Y.value=mn,$.value=Kt,_n(Kt.config),fe.value=yn,X.value=bn,U.value=wn,L.value=xn,de.value=Cn,await P((v=Ce.items[0])==null?void 0:v.profile_id),await k((h=Ce.items[0])==null?void 0:h.profile_id),await x()}catch(Q){Ne.value=Q instanceof Error?Q.message:t.loadFailed}finally{Ht.value=!1}}async function x(){const[v,h,Q,pe,Ce]=await Promise.allSettled([he(M.generationLogs,{limit:12}),he(M.workflowLogs,{limit:12}),he(M.errorLogs,{limit:12}),he(M.integrationLogs,{limit:12}),he(M.auditLogs,{limit:12})]);re.value={generation:b(v),workflows:b(h),errors:b(Q),integrations:b(pe),audit:b(Ce)}}function b(v){return v.status==="fulfilled"?v.value:[]}async function O(){I.value=await he(M.jobs,{status:ce.value.status||void 0,profile_id:ce.value.profile_id||void 0,workflow_id:ce.value.workflow_id||void 0,page:1,page_size:20})}async function P(v){if(!v){Z.value=[];return}Z.value=await he(M.wardrobe(v))}async function k(v){var pe,Ce;if(!v){a.value=[],c.value=null,_.value="",g.value=[];return}a.value=await he(M.profileWorkflows(v));const h=(pe=c.value)==null?void 0:pe.workflow.workflow_id,Q=a.value.some(mt=>mt.workflow_id===h)?h:(Ce=a.value[0])==null?void 0:Ce.workflow_id;Q?await w(Q):c.value=null}async function w(v){var Ce;const h=await he(M.workflow(v));c.value=h;const Q=_.value,pe=h.nodes.some(mt=>mt.node_id===Q)?Q:h.workflow.current_node_id||((Ce=h.nodes[0])==null?void 0:Ce.node_id);pe?await R(pe):(_.value="",g.value=[])}async function R(v){_.value=v,g.value=await he(M.nodeImages(v))}async function D(){var h;const v=(h=c.value)==null?void 0:h.workflow.workflow_id;v&&await w(v)}async function S(v,h,Q=!0){B.value=v,Ne.value="";try{const pe=await h();we.value=`${v}${t.complete}`,v===t.exportSettings&&(we.value=`${t.exportDone}: ${!!pe.redacted}`),Q&&await C()}catch(pe){Ne.value=pe instanceof Error?pe.message:`${v}${t.failed}`}finally{B.value=""}}function F(v){return S(t.retry,()=>ie(M.jobRetry(v)))}function q(v){return S(t.cancel,()=>ie(M.jobCancel(v)))}function le(v){return S(t.detail,async()=>(A.value=await he(M.job(v)),A.value),!1)}function ee(){K.value={name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""},Ge.value=null}function ge(){return S(t.quickDraft,async()=>(Ge.value=await ie(M.quickProfileDraft,{questionnaire:{name:K.value.name,identity:K.value.identity,personality:St(K.value.personality),hair_color:K.value.hair_color,hairstyle:K.value.hairstyle,eye_color:K.value.eye_color,style:K.value.style,clothing_keywords:St(K.value.clothing_keywords)}}),Ge.value),!1)}function xe(){var h;const v=(h=Ge.value)==null?void 0:h.profile_preview;return S(t.create,async()=>{const Q=await ie(M.profiles,{name:(v==null?void 0:v.name)||K.value.name,description:K.value.description,base_prompt:v==null?void 0:v.base_prompt,appearance_prompt:v==null?void 0:v.appearance_prompt,style_prompt:v==null?void 0:v.style_prompt,negative_prompt:v==null?void 0:v.negative_prompt});return ee(),we.value=t.profileCreated,Q})}function Ue(v){return S(t.delete,async()=>{const h=await Lt(M.profile(v),{method:"DELETE"});return we.value=t.profileDeleted,h})}function We(){const v=Re.value;return v?S(t.create,async()=>{const h=await ie(M.profileWorkflows(v),{display_name:Ve.value.display_name,workflow_type:Ve.value.workflow_type});return Ve.value.display_name="",c.value=h,we.value=t.workflowCreated,h}):Promise.resolve()}function Ct(v){return S(t.start,()=>ie(M.workflowStart(v)))}function hn(v){return S(t.cancel,()=>ie(M.workflowCancel(v)))}function De(v){return S(t.archive,()=>ie(M.workflowArchive(v)))}function He(){const v=_.value;return v?S(t.generate,async()=>(y.value=await ie(M.nodeGenerate(v),{model_route:Be.value.model_route||void 0,prompt:Be.value.prompt||void 0,negative_prompt:Be.value.negative_prompt||void 0}),await D(),we.value=t.generationQueued,y.value),!1):Promise.resolve()}function gn(v){const h=_.value;return h?S(t.select,async()=>{const Q=await ie(M.nodeSelectImage(h),{image_id:v});return await D(),Q},!1):Promise.resolve()}function vn(v){const h=_.value;return h?S(t.adopt,async()=>{var pe;const Q=await ie(M.nodeAdoptImage(h),{image_id:v,title:(pe=u.value)==null?void 0:pe.title});return await D(),Q},!1):Promise.resolve()}function Ui(v){return S(t.unselect,async()=>{const h=await ie(M.imageUnselect(v));return await D(),h},!1)}function Wi(v){return S(t.archive,async()=>{const h=await ie(M.imageArchive(v));return await D(),we.value=t.imageArchived,h},!1)}function Hi(v){return S(t.delete,async()=>{const h=await Lt(M.image(v),{method:"DELETE"});return await D(),we.value=t.imageDeleted,h},!1)}function Ki(){return S(t.moveFailed,()=>ie(M.jobDeadLetterMoveFailed,{limit:20}))}function qi(){return S(t.retryDead,()=>ie(M.jobDeadLetterRetry,{limit:20}))}function Ji(){var h;const v=((h=L.value[0])==null?void 0:h.dialect)??"unknown";return S(t.safeProbe,()=>ie(M.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:v,capabilities:{supports:["text_to_image"]}}))}function Gi(){return S(t.validatePlan,async()=>(Oe.value=await ie(M.apiDiscoveryValidateRenderPlan,{provider_id:be.value.provider_id,model_id:be.value.model_id,required_capabilities:St(be.value.required_capabilities)}),Oe.value),!1)}function Xn(v,h){return S(t.discovery,()=>ie(M.apiDiscoveryManualOverride,{provider_id:v.provider_id,model_id:v.model_id,dialect:v.dialect,status:h,capabilities:v.capabilities}))}function zi(){const v=Re.value;return v?S(t.matchWardrobe,async()=>(Te.value=await ie(M.wardrobeMatch(v),{tags:["daily"]}),Te.value),!1):Promise.resolve()}function Yi(){V.value={material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}}function Qi(){const v=Re.value;return v?S(t.importToWardrobe,async()=>{const h=await ie(M.wardrobeImportMaterial(v),{material_id:V.value.material_id,wardrobe_category:V.value.wardrobe_category,tags:St(V.value.tags),season:V.value.season||void 0,style:V.value.style||void 0});return Yi(),we.value=t.wardrobeImported,h}):Promise.resolve()}function Xi(v){const h=Re.value;return h?S(t.delete,async()=>{const Q=await Lt(M.wardrobeItem(h,v),{method:"DELETE"});return we.value=t.wardrobeDeleted,Q}):Promise.resolve()}function Zi(){const v=Re.value;return v?S(t.dailyOutfit,async()=>(ut.value=await ie(M.privateCompanionDailyOutfit,{profile_id:v,categories:St(ye.value.categories),mood:ye.value.mood,weather:ye.value.weather,keywords:St(ye.value.keywords),request_source:"astrbot_plugin_private_companion"}),we.value=t.outfitGenerated,ut.value),!1):Promise.resolve()}function eo(){return S(t.reload,async()=>{var h;const v=await ie(M.settingsReload);return $.value={config_path:((h=$.value)==null?void 0:h.config_path)??"***PATH***",config:v.config},_n(v.config),v},!1)}function to(){return S(t.exportSettings,()=>he(M.settingsExport),!1)}function _n(v=(h=>(h=$.value)==null?void 0:h.config)()??{}){at.value=JSON.stringify(v,null,2),Fe.value=null,Je.value=null}function Zn(){try{const v=JSON.parse(at.value);if(!v||Array.isArray(v)||typeof v!="object")throw new Error(t.settingsDraftInvalid);return v}catch(v){throw new Error(v instanceof Error?v.message:t.settingsDraftInvalid)}}function no(){return S(t.validate,async()=>(Fe.value=await ie(M.settingsValidate,{config:Zn()}),Fe.value),!1)}function lo(){return S(t.diff,async()=>(Je.value=await ie(M.settingsDiff,{config:Zn()}),Je.value),!1)}function so(){return S(t.save,async()=>{var h;const v=await ie(M.settingsSave,{config:Zn()});return $.value={config_path:((h=$.value)==null?void 0:h.config_path)??"***PATH***",config:v.config},_n(v.config),we.value=t.settingsSaved,v},!1)}function io(){var h,Q;const v=(Q=(h=U.value)==null?void 0:h.items.find(pe=>{var Ce;return(Ce=pe.image_uri)==null?void 0:Ce.startsWith("storage://")}))==null?void 0:Q.image_uri;return v?S(t.signMaterial,async()=>(Le.value=await he(M.mediaSign,{uri:v}),Le.value),!1):(we.value=t.noSignableMaterial,Promise.resolve())}function oo(){W.value={display_name:"",image_uri:"",tags:"",category_id:""}}function ro(){return S(t.create,async()=>{const v=await ie(M.materials,{display_name:W.value.display_name,image_uri:W.value.image_uri||void 0,thumbnail_uri:W.value.image_uri||void 0,category_id:W.value.category_id||void 0,tags:St(W.value.tags),recognition_status:W.value.image_uri?"pending_recognition":"pending_upload"});return oo(),we.value=t.materialCreated,v})}function ao(v){return S(t.recognize,()=>ie(M.materialRecognize(v)))}function uo(v){return S(t.confirm,()=>ie(M.materialConfirm(v.material_id),{display_name:v.display_name,prompt:v.prompt,negative_prompt:v.negative_prompt,tags:v.tags}))}function co(v){return S(t.archive,async()=>{const h=await Lt(M.material(v),{method:"DELETE"});return we.value=t.materialArchived,h})}function St(v){return v.split(",").map(h=>h.trim()).filter(Boolean)}function el(v=0){return v<1024?`${v} B`:v<1024*1024?`${(v/1024).toFixed(1)} KB`:v<1024*1024*1024?`${(v/1024/1024).toFixed(1)} MB`:`${(v/1024/1024/1024).toFixed(1)} GB`}function Ul(v){var h,Q;return((Q=(h=fe.value)==null?void 0:h.roots.find(pe=>pe.uri_prefix===v))==null?void 0:Q.bytes)??0}return(v,h)=>{var Q,pe,Ce,mt,mn,Kt,yn,bn,wn,xn,Cn,Wl,Hl,Kl,ql,Jl,Gl,zl,Yl,Ql,Xl,Zl,es,ts,ns,ls;return E(),T("main",Wa,[o("aside",Ha,[o("div",Ka,[o("strong",null,f(((Q=s.value)==null?void 0:Q.display_name)??"ImageStudio"),1),o("span",null,f(((pe=s.value)==null?void 0:pe.dashboard_user)??"AstrBot"),1)]),o("nav",null,[(E(),T(z,null,ve(n,d=>o("button",{key:d.key,type:"button",class:Kn({active:l.value===d.key}),onClick:me=>l.value=d.key},f(d.label),11,qa)),64))])]),o("section",Ja,[o("header",Ga,[o("div",null,[o("h1",null,f(m.value),1),o("p",null,f(((Ce=i.value)==null?void 0:Ce.plugin_status)??"loading")+" / "+f(we.value||t.waiting),1)]),o("div",za,[o("button",{type:"button",disabled:!!B.value,onClick:C},f(B.value||t.refresh),9,Ya)])]),Ne.value?(E(),T("section",Qa,f(Ne.value),1)):Ht.value?(E(),T("section",Xa,f(t.loading),1)):(E(),T(z,{key:2},[l.value==="dashboard"?(E(),T("section",Za,[o("article",null,[o("span",null,f(t.profiles),1),o("strong",null,f(((mt=i.value)==null?void 0:mt.active_profiles)??0),1)]),o("article",null,[o("span",null,f(t.jobs),1),o("strong",null,f(pn.value),1)]),o("article",null,[o("span",null,f(t.materials),1),o("strong",null,f(((mn=U.value)==null?void 0:mn.total)??0),1)]),o("article",null,[o("span",null,f(t.storage),1),o("strong",null,f(el(((Kt=fe.value)==null?void 0:Kt.total_bytes)??((yn=i.value)==null?void 0:yn.storage.total_bytes))),1)])])):G("",!0),l.value==="profiles"?(E(),T("section",eu,[o("header",null,[o("h2",null,f(t.profileList),1),o("span",null,f(((bn=r.value)==null?void 0:bn.total)??0),1)]),o("div",tu,[o("label",null,[o("span",null,f(t.name),1),J(o("input",{"onUpdate:modelValue":h[0]||(h[0]=d=>K.value.name=d),type:"text"},null,512),[[se,K.value.name]])]),o("label",null,[o("span",null,f(t.identity),1),J(o("input",{"onUpdate:modelValue":h[1]||(h[1]=d=>K.value.identity=d),type:"text"},null,512),[[se,K.value.identity]])]),o("label",null,[o("span",null,f(t.personality),1),J(o("input",{"onUpdate:modelValue":h[2]||(h[2]=d=>K.value.personality=d),type:"text",placeholder:"calm, brave"},null,512),[[se,K.value.personality]])]),o("label",null,[o("span",null,f(t.hairColor),1),J(o("input",{"onUpdate:modelValue":h[3]||(h[3]=d=>K.value.hair_color=d),type:"text"},null,512),[[se,K.value.hair_color]])]),o("label",null,[o("span",null,f(t.hairstyle),1),J(o("input",{"onUpdate:modelValue":h[4]||(h[4]=d=>K.value.hairstyle=d),type:"text"},null,512),[[se,K.value.hairstyle]])]),o("label",null,[o("span",null,f(t.eyeColor),1),J(o("input",{"onUpdate:modelValue":h[5]||(h[5]=d=>K.value.eye_color=d),type:"text"},null,512),[[se,K.value.eye_color]])]),o("label",null,[o("span",null,f(t.stylePrompt),1),J(o("input",{"onUpdate:modelValue":h[6]||(h[6]=d=>K.value.style=d),type:"text"},null,512),[[se,K.value.style]])]),o("label",null,[o("span",null,f(t.tags),1),J(o("input",{"onUpdate:modelValue":h[7]||(h[7]=d=>K.value.clothing_keywords=d),type:"text",placeholder:"white blouse, ribbon"},null,512),[[se,K.value.clothing_keywords]])]),o("label",nu,[o("span",null,f(t.description),1),J(o("input",{"onUpdate:modelValue":h[8]||(h[8]=d=>K.value.description=d),type:"text"},null,512),[[se,K.value.description]])]),o("button",{type:"button",disabled:!!B.value||!K.value.name,onClick:ge},f(t.quickDraft),9,lu),o("button",{type:"button",disabled:!!B.value||!K.value.name,onClick:xe},f(t.create),9,su)]),Ge.value?(E(),T("pre",iu,f(JSON.stringify(Ge.value,null,2)),1)):G("",!0),o("ul",null,[(E(!0),T(z,null,ve(((wn=r.value)==null?void 0:wn.items)??[],d=>(E(),T("li",{key:d.profile_id},[o("div",null,[o("strong",null,f(d.name),1),o("small",null,f(d.profile_id),1)]),o("div",ou,[o("span",ru,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>Ue(d.profile_id)},f(t.delete),9,au)])]))),128)),(xn=r.value)!=null&&xn.items.length?G("",!0):(E(),T("li",uu,f(t.emptyProfiles),1))])])):G("",!0),l.value==="workflows"?(E(),T("section",cu,[o("div",fu,[o("header",null,[o("h2",null,f(At.value),1),o("span",null,f(a.value.length),1)]),o("div",du,[o("label",null,[o("span",null,f(t.name),1),J(o("input",{"onUpdate:modelValue":h[9]||(h[9]=d=>Ve.value.display_name=d),type:"text"},null,512),[[se,Ve.value.display_name]])]),o("label",null,[o("span",null,f(t.workflowType),1),J(o("select",{"onUpdate:modelValue":h[10]||(h[10]=d=>Ve.value.workflow_type=d)},[...h[35]||(h[35]=[o("option",{value:"single_image"},"single_image",-1),o("option",{value:"character_gradual"},"character_gradual",-1),o("option",{value:"character_fast"},"character_fast",-1),o("option",{value:"quick_profile"},"quick_profile",-1)])],512),[[Rt,Ve.value.workflow_type]])]),o("button",{type:"button",disabled:!!B.value||!Re.value||!Ve.value.display_name,onClick:We},f(t.create),9,pu)]),o("ul",null,[(E(!0),T(z,null,ve(a.value,d=>(E(),T("li",{key:d.workflow_id},[o("div",null,[o("strong",null,f(d.display_name),1),o("small",null,f(d.workflow_type)+" / "+f(d.workflow_id),1)]),o("div",hu,[o("span",gu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>w(d.workflow_id)},f(t.nodes),9,vu),o("button",{type:"button",disabled:!!B.value,onClick:me=>Ct(d.workflow_id)},f(t.start),9,_u),o("button",{type:"button",disabled:!!B.value,onClick:me=>hn(d.workflow_id)},f(t.cancel),9,mu),o("button",{type:"button",disabled:!!B.value,onClick:me=>De(d.workflow_id)},f(t.archive),9,yu)])]))),128)),a.value.length?G("",!0):(E(),T("li",bu,f(t.emptyWorkflows),1))])]),o("div",wu,[o("header",null,[o("h2",null,f(t.nodes),1),o("span",null,f(((Cn=c.value)==null?void 0:Cn.workflow.current_branch)??"main"),1)]),o("div",xu,[o("label",null,[o("span",null,f(t.modelRoute),1),J(o("input",{"onUpdate:modelValue":h[11]||(h[11]=d=>Be.value.model_route=d),type:"text",placeholder:"image_low"},null,512),[[se,Be.value.model_route]])]),o("label",null,[o("span",null,f(t.prompt),1),J(o("input",{"onUpdate:modelValue":h[12]||(h[12]=d=>Be.value.prompt=d),type:"text"},null,512),[[se,Be.value.prompt]])]),o("label",Cu,[o("span",null,f(t.negativePrompt),1),J(o("input",{"onUpdate:modelValue":h[13]||(h[13]=d=>Be.value.negative_prompt=d),type:"text"},null,512),[[se,Be.value.negative_prompt]])]),o("button",{type:"button",disabled:!!B.value||!_.value,onClick:He},f(t.generate),9,Su)]),o("ul",null,[(E(!0),T(z,null,ve(((Wl=c.value)==null?void 0:Wl.nodes)??[],d=>(E(),T("li",{key:d.node_id},[o("div",null,[o("strong",null,f(d.title),1),o("small",null,f(d.node_key)+" / "+f(d.node_id),1)]),o("div",ku,[o("span",null,f(d.branch_name),1),o("span",Pu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>R(d.node_id)},f(t.images),9,Eu)])]))),128)),(Hl=c.value)!=null&&Hl.nodes.length?G("",!0):(E(),T("li",Tu,f(t.emptyWorkflows),1))]),o("ul",null,[(E(!0),T(z,null,ve(g.value,d=>(E(),T("li",{key:d.image_id},[o("div",null,[o("strong",null,f(d.image_id),1),o("small",null,f(d.thumbnail_uri??d.image_uri),1)]),o("div",Ou,[d.is_selected?(E(),T("span",Du,f(t.select),1)):G("",!0),o("button",{type:"button",disabled:!!B.value||d.is_selected||d.is_archived,onClick:me=>gn(d.image_id)},f(t.select),9,Iu),o("button",{type:"button",disabled:!!B.value||d.is_archived,onClick:me=>vn(d.image_id)},f(t.adopt),9,Au),o("button",{type:"button",disabled:!!B.value||!d.is_selected,onClick:me=>Ui(d.image_id)},f(t.unselect),9,Mu),o("button",{type:"button",disabled:!!B.value||d.is_archived,onClick:me=>Wi(d.image_id)},f(t.archive),9,Ru),o("button",{type:"button",disabled:!!B.value,onClick:me=>Hi(d.image_id)},f(t.delete),9,$u)])]))),128)),g.value.length?G("",!0):(E(),T("li",Lu,f(t.emptyImages),1))]),y.value?(E(),T("pre",Fu,f(JSON.stringify(y.value,null,2)),1)):G("",!0),c.value?(E(),T("pre",ju,f(JSON.stringify(c.value.workflow,null,2)),1)):G("",!0)])])):G("",!0),l.value==="materials"?(E(),T("section",Vu,[o("div",Bu,[o("header",null,[o("h2",null,f(t.materialCategories),1),o("span",null,f(X.value.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(X.value,d=>(E(),T("li",{key:d.category_id},[o("div",null,[o("strong",null,f(d.name),1),o("small",null,f(d.category_type),1)]),o("span",null,f(d.sort_order),1)]))),128)),X.value.length?G("",!0):(E(),T("li",Nu,f(t.emptyCategories),1))])]),o("div",Uu,[o("header",null,[o("h2",null,f(t.materialItems),1),o("div",Wu,[o("span",null,f(xt.value)+" "+f(t.pendingConfirm),1),o("button",{type:"button",disabled:!!B.value,onClick:io},f(t.signFirstImage),9,Hu)])]),o("div",Ku,[o("label",null,[o("span",null,f(t.name),1),J(o("input",{"onUpdate:modelValue":h[14]||(h[14]=d=>W.value.display_name=d),type:"text"},null,512),[[se,W.value.display_name]])]),o("label",null,[o("span",null,f(t.imageUri),1),J(o("input",{"onUpdate:modelValue":h[15]||(h[15]=d=>W.value.image_uri=d),type:"text",placeholder:"storage://materials/example.png"},null,512),[[se,W.value.image_uri]])]),o("label",null,[o("span",null,f(t.category),1),J(o("select",{"onUpdate:modelValue":h[16]||(h[16]=d=>W.value.category_id=d)},[o("option",qu,f(t.allCategories),1),(E(!0),T(z,null,ve(X.value,d=>(E(),T("option",{key:d.category_id,value:d.category_id},f(d.name),9,Ju))),128))],512),[[Rt,W.value.category_id]])]),o("label",null,[o("span",null,f(t.tags),1),J(o("input",{"onUpdate:modelValue":h[17]||(h[17]=d=>W.value.tags=d),type:"text",placeholder:"daily, top"},null,512),[[se,W.value.tags]])]),o("button",{type:"button",disabled:!!B.value||!W.value.display_name,onClick:ro},f(t.create),9,Gu)]),o("ul",null,[(E(!0),T(z,null,ve(((Kl=U.value)==null?void 0:Kl.items)??[],d=>(E(),T("li",{key:d.material_id},[o("div",null,[o("strong",null,f(d.display_name),1),o("small",null,f(d.image_uri??t.noImage),1)]),o("div",zu,[o("span",Yu,f(d.recognition_status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>ao(d.material_id)},f(t.recognize),9,Qu),o("button",{type:"button",disabled:!!B.value||d.recognition_status==="confirmed",onClick:me=>uo(d)},f(t.confirm),9,Xu),o("button",{type:"button",disabled:!!B.value,onClick:me=>co(d.material_id)},f(t.archive),9,Zu)])]))),128)),(ql=U.value)!=null&&ql.items.length?G("",!0):(E(),T("li",ec,f(t.emptyMaterials),1))]),Le.value?(E(),T("pre",tc,f(JSON.stringify(Le.value,null,2)),1)):G("",!0)])])):G("",!0),l.value==="wardrobe"?(E(),T("section",nc,[o("header",null,[o("h2",null,f(At.value),1),o("button",{type:"button",disabled:!Re.value||!!B.value,onClick:zi},f(t.match),9,lc)]),o("div",sc,[o("label",null,[o("span",null,f(t.selectMaterial),1),J(o("select",{"onUpdate:modelValue":h[18]||(h[18]=d=>V.value.material_id=d)},[o("option",ic,f(t.selectMaterial),1),(E(!0),T(z,null,ve(Nl.value,d=>(E(),T("option",{key:d.material_id,value:d.material_id},f(d.display_name),9,oc))),128))],512),[[Rt,V.value.material_id]])]),o("label",null,[o("span",null,f(t.wardrobeCategory),1),J(o("input",{"onUpdate:modelValue":h[19]||(h[19]=d=>V.value.wardrobe_category=d),type:"text"},null,512),[[se,V.value.wardrobe_category]])]),o("label",null,[o("span",null,f(t.tags),1),J(o("input",{"onUpdate:modelValue":h[20]||(h[20]=d=>V.value.tags=d),type:"text",placeholder:"daily, top"},null,512),[[se,V.value.tags]])]),o("label",null,[o("span",null,f(t.season),1),J(o("input",{"onUpdate:modelValue":h[21]||(h[21]=d=>V.value.season=d),type:"text"},null,512),[[se,V.value.season]])]),o("label",null,[o("span",null,f(t.style),1),J(o("input",{"onUpdate:modelValue":h[22]||(h[22]=d=>V.value.style=d),type:"text"},null,512),[[se,V.value.style]])]),o("button",{type:"button",disabled:!!B.value||!Re.value||!V.value.material_id||!V.value.wardrobe_category,onClick:Qi},f(t.importToWardrobe),9,rc)]),o("ul",null,[(E(!0),T(z,null,ve(Z.value,d=>(E(),T("li",{key:d.wardrobe_item_id},[o("div",null,[o("strong",null,f(d.wardrobe_category),1),o("small",null,f(d.material_id)+" / "+f(d.tags.join(", ")||t.noTags),1)]),o("div",ac,[o("span",null,f(d.usage_count),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>Xi(d.wardrobe_item_id)},f(t.delete),9,uc)])]))),128)),Z.value.length?G("",!0):(E(),T("li",cc,f(t.emptyWardrobe),1))]),Te.value?(E(),T("pre",fc,f(JSON.stringify(Te.value,null,2)),1)):G("",!0),o("div",dc,[o("label",null,[o("span",null,f(t.categories),1),J(o("input",{"onUpdate:modelValue":h[23]||(h[23]=d=>ye.value.categories=d),type:"text"},null,512),[[se,ye.value.categories]])]),o("label",null,[o("span",null,f(t.mood),1),J(o("input",{"onUpdate:modelValue":h[24]||(h[24]=d=>ye.value.mood=d),type:"text"},null,512),[[se,ye.value.mood]])]),o("label",null,[o("span",null,f(t.weather),1),J(o("input",{"onUpdate:modelValue":h[25]||(h[25]=d=>ye.value.weather=d),type:"text"},null,512),[[se,ye.value.weather]])]),o("label",null,[o("span",null,f(t.keywords),1),J(o("input",{"onUpdate:modelValue":h[26]||(h[26]=d=>ye.value.keywords=d),type:"text"},null,512),[[se,ye.value.keywords]])]),o("button",{type:"button",disabled:!!B.value||!Re.value,onClick:Zi},f(t.dailyOutfit),9,pc)]),ut.value?(E(),T("pre",hc,f(JSON.stringify(ut.value,null,2)),1)):G("",!0)])):G("",!0),l.value==="jobs"?(E(),T("section",gc,[o("header",null,[o("h2",null,f(t.jobs),1),o("div",vc,[o("button",{type:"button",disabled:!!B.value,onClick:Ki},f(t.moveFailed),9,_c),o("button",{type:"button",disabled:!!B.value,onClick:qi},f(t.retryDead),9,mc)])]),o("div",yc,[o("label",null,[h[36]||(h[36]=o("span",null,"Status",-1)),J(o("select",{"onUpdate:modelValue":h[27]||(h[27]=d=>ce.value.status=d)},[o("option",bc,f(t.allStatuses),1),(E(),T(z,null,ve(p,d=>o("option",{key:d,value:d},f(d),9,wc)),64))],512),[[Rt,ce.value.status]])]),o("label",null,[o("span",null,f(t.profiles),1),J(o("select",{"onUpdate:modelValue":h[28]||(h[28]=d=>ce.value.profile_id=d)},[o("option",xc,f(t.allProfiles),1),(E(!0),T(z,null,ve(((Jl=r.value)==null?void 0:Jl.items)??[],d=>(E(),T("option",{key:d.profile_id,value:d.profile_id},f(d.name),9,Cc))),128))],512),[[Rt,ce.value.profile_id]])]),o("label",null,[o("span",null,f(t.workflows),1),J(o("select",{"onUpdate:modelValue":h[29]||(h[29]=d=>ce.value.workflow_id=d)},[o("option",Sc,f(t.allWorkflows),1),(E(!0),T(z,null,ve(a.value,d=>(E(),T("option",{key:d.workflow_id,value:d.workflow_id},f(d.display_name),9,kc))),128))],512),[[Rt,ce.value.workflow_id]])]),o("button",{type:"button",disabled:!!B.value,onClick:O},f(t.filter),9,Pc)]),o("ul",null,[(E(!0),T(z,null,ve(((Gl=I.value)==null?void 0:Gl.items)??[],d=>(E(),T("li",{key:d.task_id},[o("div",null,[o("strong",null,f(d.task_id),1),o("small",null,f(d.task_type)+" / "+f(d.progress)+"%",1)]),o("div",Ec,[o("span",Tc,f(d.status),1),["failed","dead_letter","cancelled"].includes(d.status)?(E(),T("button",{key:0,type:"button",onClick:me=>F(d.task_id)},f(t.retry),9,Oc)):G("",!0),["completed","succeeded","cancelled"].includes(d.status)?G("",!0):(E(),T("button",{key:1,type:"button",onClick:me=>q(d.task_id)},f(t.cancel),9,Dc)),o("button",{type:"button",disabled:!!B.value,onClick:me=>le(d.task_id)},f(t.detail),9,Ic)])]))),128)),(zl=I.value)!=null&&zl.items.length?G("",!0):(E(),T("li",Ac,f(t.emptyJobs),1))]),A.value?(E(),T("section",Mc,[o("header",null,[o("h2",null,f(t.jobDetail),1),o("span",null,f(A.value.status),1)]),o("pre",null,f(JSON.stringify(A.value,null,2)),1)])):G("",!0)])):G("",!0),l.value==="discovery"?(E(),T("section",Rc,[o("div",$c,[o("header",null,[o("h2",null,f(t.dialects),1),o("button",{type:"button",disabled:!!B.value,onClick:Ji},f(t.safeProbe),9,Lc)]),o("ul",null,[(E(!0),T(z,null,ve(L.value,d=>(E(),T("li",{key:d.dialect},[o("div",null,[o("strong",null,f(d.label),1),o("small",null,f(d.capabilities.join(", ")||t.unconfirmed),1)]),o("span",null,f(d.dialect),1)]))),128))]),o("div",Fc,[o("label",null,[o("span",null,f(t.provider),1),J(o("input",{"onUpdate:modelValue":h[30]||(h[30]=d=>be.value.provider_id=d),type:"text",placeholder:"local-preview"},null,512),[[se,be.value.provider_id]])]),o("label",null,[o("span",null,f(t.model),1),J(o("input",{"onUpdate:modelValue":h[31]||(h[31]=d=>be.value.model_id=d),type:"text",placeholder:"metadata-only"},null,512),[[se,be.value.model_id]])]),o("label",null,[o("span",null,f(t.requiredCapabilities),1),J(o("input",{"onUpdate:modelValue":h[32]||(h[32]=d=>be.value.required_capabilities=d),type:"text",placeholder:"text_to_image"},null,512),[[se,be.value.required_capabilities]])]),o("button",{type:"button",disabled:!!B.value||!be.value.provider_id||!be.value.model_id,onClick:Gi},f(t.validatePlan),9,jc)]),Oe.value?(E(),T("pre",Vc,f(JSON.stringify(Oe.value,null,2)),1)):G("",!0)]),o("div",Bc,[o("header",null,[o("h2",null,f(t.capabilityProfiles),1),o("span",null,f(de.value.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(de.value,d=>(E(),T("li",{key:d.capability_profile_id},[o("div",null,[o("strong",null,f(d.provider_id)+" / "+f(d.model_id),1),o("small",null,f(d.dialect),1)]),o("div",Nc,[o("span",Uc,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>Xn(d,"confirmed_supported")},f(t.support),9,Wc),o("button",{type:"button",disabled:!!B.value,onClick:me=>Xn(d,"confirmed_unsupported")},f(t.unsupported),9,Hc),o("button",{type:"button",disabled:!!B.value,onClick:me=>Xn(d,"unconfirmed")},f(t.unconfirmed),9,Kc)])]))),128)),de.value.length?G("",!0):(E(),T("li",qc,f(t.emptyCapabilities),1))])])])):G("",!0),l.value==="logs"?(E(),T("section",Jc,[o("div",Gc,[o("div",zc,[o("header",null,[o("h2",null,f(t.generationLogs),1),o("span",null,f(re.value.generation.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(re.value.generation,d=>(E(),T("li",{key:d.task_id},[o("div",null,[o("strong",null,f(d.task_id),1),o("small",null,f(d.status)+" / "+f(d.progress)+"%",1)]),o("span",null,f(d.created_at),1)]))),128)),re.value.generation.length?G("",!0):(E(),T("li",Yc,f(t.emptyGenerationLogs),1))])]),o("div",Qc,[o("header",null,[o("h2",null,f(t.errorLogs),1),o("span",null,f(re.value.errors.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(re.value.errors,d=>(E(),T("li",{key:`${d.source}-${d.id}`},[o("div",null,[o("strong",null,f(d.source),1),o("small",null,f(d.error_message??t.noErrorDetail),1)]),o("span",Xc,f(d.status),1)]))),128)),re.value.errors.length?G("",!0):(E(),T("li",Zc,f(t.emptyErrors),1))])])]),o("div",ef,[o("div",tf,[o("header",null,[o("h2",null,f(t.workflowLogs),1),o("span",null,f(re.value.workflows.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(re.value.workflows,d=>(E(),T("li",{key:d.history_id},[o("div",null,[o("strong",null,f(d.action),1),o("small",null,f(d.title??d.workflow_id),1)]),o("span",null,f(d.branch_name??"main"),1)]))),128)),re.value.workflows.length?G("",!0):(E(),T("li",nf,f(t.emptyWorkflowLogs),1))])]),o("div",lf,[o("header",null,[o("h2",null,f(t.integrationLogs),1),o("span",null,f(re.value.integrations.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(re.value.integrations,d=>(E(),T("li",{key:d.integration_log_id},[o("div",null,[o("strong",null,f(d.integration_name),1),o("small",null,f(d.action),1)]),o("span",sf,f(d.status),1)]))),128)),re.value.integrations.length?G("",!0):(E(),T("li",of,f(t.emptyIntegrationLogs),1))])])]),o("div",rf,[o("header",null,[o("h2",null,f(t.auditLogs),1),o("span",null,f(re.value.audit.length),1)]),o("ul",null,[(E(!0),T(z,null,ve(re.value.audit,d=>(E(),T("li",{key:d.audit_id},[o("div",null,[o("strong",null,f(d.action),1),o("small",null,f(d.actor_type)+" / "+f(d.target_type)+" / "+f(d.target_id),1)]),o("span",null,f(d.created_at),1)]))),128)),re.value.audit.length?G("",!0):(E(),T("li",af,f(t.emptyAuditLogs),1))])])])):G("",!0),l.value==="settings"?(E(),T("section",uf,[o("div",cf,[o("button",{type:"button",disabled:!!B.value,onClick:eo},f(t.reload),9,ff),o("button",{type:"button",disabled:!!B.value,onClick:h[33]||(h[33]=d=>_n())},f(t.reset),9,df),o("button",{type:"button",disabled:!!B.value,onClick:no},f(t.validate),9,pf),o("button",{type:"button",disabled:!!B.value,onClick:lo},f(t.diff),9,hf),o("button",{type:"button",disabled:!!B.value,onClick:so},f(t.save),9,gf),o("button",{type:"button",disabled:!!B.value,onClick:to},f(t.exportRedacted),9,vf)]),o("div",_f,[(E(!0),T(z,null,ve(((Yl=Y.value)==null?void 0:Yl.sections)??[],d=>(E(),T("article",{key:d.key},[o("h2",null,f(d.title),1),o("span",null,f(d.fields.length),1)]))),128))]),o("section",mf,[o("header",null,[o("h2",null,f(t.settingsEditor),1),o("span",null,f(((Ql=$.value)==null?void 0:Ql.config_path)??"***PATH***"),1)]),J(o("textarea",{"onUpdate:modelValue":h[34]||(h[34]=d=>at.value=d),spellcheck:"false"},null,512),[[se,at.value]])]),o("div",yf,[o("div",bf,[o("header",null,[o("h2",null,f(t.validationResult),1),o("span",null,f(((Xl=Fe.value)==null?void 0:Xl.valid)??"-"),1)]),o("pre",null,f(JSON.stringify(Fe.value??{},null,2)),1)]),o("div",wf,[o("header",null,[o("h2",null,f(t.diffResult),1),o("span",null,f(((Zl=Je.value)==null?void 0:Zl.changes.length)??0),1)]),o("pre",null,f(JSON.stringify(Je.value??{},null,2)),1)])])])):G("",!0)],64))]),o("aside",xf,[o("h2",null,f(t.running),1),o("dl",null,[o("div",null,[h[37]||(h[37]=o("dt",null,"Pending",-1)),o("dd",null,f(((es=i.value)==null?void 0:es.queue.pending)??0),1)]),o("div",null,[h[38]||(h[38]=o("dt",null,"Running",-1)),o("dd",null,f(((ts=i.value)==null?void 0:ts.queue.running)??0),1)]),o("div",null,[h[39]||(h[39]=o("dt",null,"Failed",-1)),o("dd",null,f(((ns=i.value)==null?void 0:ns.queue.failed)??0),1)]),o("div",null,[h[40]||(h[40]=o("dt",null,"Dead",-1)),o("dd",null,f(((ls=i.value)==null?void 0:ls.queue.dead_letter)??0),1)])]),o("h2",null,f(t.storage),1),o("dl",null,[o("div",null,[h[41]||(h[41]=o("dt",null,"Images",-1)),o("dd",null,f(el(Ul("storage://images/"))),1)]),o("div",null,[h[42]||(h[42]=o("dt",null,"Materials",-1)),o("dd",null,f(el(Ul("storage://materials/"))),1)])])])])}}}),Sf=(e,t)=>{const n=e.__vccOpts||e;for(const[l,s]of t)n[l]=s;return n},kf=Sf(Cf,[["__scopeId","data-v-61c36513"]]);Fa(kf).mount("#app"); diff --git a/web/assets/index-BUBaapAF.css b/web/assets/index-BUBaapAF.css deleted file mode 100644 index 6384e88..0000000 --- a/web/assets/index-BUBaapAF.css +++ /dev/null @@ -1 +0,0 @@ -.web-shell[data-v-f6ebe303]{box-sizing:border-box;display:grid;grid-template-columns:220px minmax(0,1fr) 260px;min-height:100vh;color:#1b2430;background:#f5f6f8;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sidebar[data-v-f6ebe303],.inspector[data-v-f6ebe303]{background:#fff}.sidebar[data-v-f6ebe303]{border-right:1px solid #d9e0e8;padding:20px}.inspector[data-v-f6ebe303]{border-left:1px solid #d9e0e8;padding:20px}.brand[data-v-f6ebe303]{display:grid;gap:4px;margin-bottom:24px}.brand strong[data-v-f6ebe303]{font-size:19px}.brand span[data-v-f6ebe303],p[data-v-f6ebe303],dt[data-v-f6ebe303],.empty[data-v-f6ebe303],small[data-v-f6ebe303]{color:#667085}nav[data-v-f6ebe303]{display:grid;gap:6px}button[data-v-f6ebe303]{min-height:36px;border:1px solid #c7d0da;border-radius:6px;color:#1b2430;background:#fff;font:inherit;text-align:center;cursor:pointer}button[data-v-f6ebe303]:disabled{cursor:wait;opacity:.62}nav button[data-v-f6ebe303]{border-color:transparent;background:transparent;text-align:left;padding:0 10px}button.active[data-v-f6ebe303]{border-color:#b8d8cf;color:#164f43;background:#e5f4ef}.workspace[data-v-f6ebe303]{min-width:0;padding:24px}.topbar[data-v-f6ebe303],.list-view header[data-v-f6ebe303],.toolbar[data-v-f6ebe303],.inline-actions[data-v-f6ebe303]{display:flex;gap:12px;align-items:center}.topbar[data-v-f6ebe303],.list-view header[data-v-f6ebe303]{justify-content:space-between}.actions[data-v-f6ebe303],.inline-actions[data-v-f6ebe303]{flex-wrap:wrap;justify-content:flex-end}.topbar button[data-v-f6ebe303],.toolbar button[data-v-f6ebe303],.list-view header button[data-v-f6ebe303],.inline-actions button[data-v-f6ebe303]{padding:0 14px}h1[data-v-f6ebe303],h2[data-v-f6ebe303],p[data-v-f6ebe303],dl[data-v-f6ebe303],dd[data-v-f6ebe303]{margin:0}h1[data-v-f6ebe303]{min-height:30px;font-size:26px}h2[data-v-f6ebe303]{font-size:15px}.notice[data-v-f6ebe303],article[data-v-f6ebe303],.list-view[data-v-f6ebe303],.editor-panel[data-v-f6ebe303],pre[data-v-f6ebe303]{border:1px solid #d9e0e8;border-radius:8px;background:#fff}.notice[data-v-f6ebe303]{margin-top:18px;padding:14px}.error[data-v-f6ebe303]{border-color:#f0b4b4;color:#8a1f1f;background:#fff7f7}.dashboard-grid[data-v-f6ebe303],.split-view[data-v-f6ebe303]{display:grid;gap:12px;margin-top:18px}.dashboard-grid[data-v-f6ebe303]{grid-template-columns:repeat(4,minmax(130px,1fr))}.split-view[data-v-f6ebe303]{grid-template-columns:repeat(2,minmax(0,1fr))}article[data-v-f6ebe303]{display:grid;gap:8px;padding:16px}article span[data-v-f6ebe303]{color:#667085;font-size:13px}article strong[data-v-f6ebe303]{font-size:24px}.list-view[data-v-f6ebe303],.logs-view[data-v-f6ebe303],.settings-view[data-v-f6ebe303]{margin-top:18px}.split-view .list-view[data-v-f6ebe303],.logs-view .list-view[data-v-f6ebe303]{margin-top:0}.list-view[data-v-f6ebe303]{padding:16px}.editor-panel[data-v-f6ebe303]{display:grid;gap:12px;margin-top:12px;padding:16px}.editor-panel header[data-v-f6ebe303]{display:flex;justify-content:space-between;gap:12px;min-width:0}textarea[data-v-f6ebe303]{box-sizing:border-box;width:100%;min-height:300px;resize:vertical;border:1px solid #c7d0da;border-radius:6px;padding:12px;color:#1b2430;background:#fbfcfd;font:12px/1.5 ui-monospace,SFMono-Regular,Consolas,Liberation Mono,monospace}.form-grid[data-v-f6ebe303]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px;padding:12px;border:1px solid #eef1f5;border-radius:8px;background:#fbfcfd}label[data-v-f6ebe303]{display:grid;gap:5px;min-width:0}label span[data-v-f6ebe303]{color:#667085;font-size:12px}.wide-field[data-v-f6ebe303]{grid-column:1 / -1}input[data-v-f6ebe303],select[data-v-f6ebe303]{box-sizing:border-box;width:100%;min-height:34px;border:1px solid #c7d0da;border-radius:6px;padding:0 10px;color:#1b2430;background:#fff;font:inherit}ul[data-v-f6ebe303]{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}li[data-v-f6ebe303]{display:flex;justify-content:space-between;gap:12px;min-width:0;padding:10px 0;border-top:1px solid #eef1f5}li[data-v-f6ebe303]:first-child{border-top:0}li>div[data-v-f6ebe303]{display:grid;gap:3px;min-width:0}li strong[data-v-f6ebe303],li span[data-v-f6ebe303],li small[data-v-f6ebe303]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge[data-v-f6ebe303]{align-self:center;max-width:180px;border-radius:999px;padding:4px 9px;color:#1f4d62;background:#e5f1f7;font-size:12px}.toolbar[data-v-f6ebe303]{justify-content:flex-start;margin:18px 0 12px}.settings-sections[data-v-f6ebe303]{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}pre[data-v-f6ebe303]{overflow:auto;max-height:420px;margin:12px 0 0;padding:14px;font-size:12px;line-height:1.5}dl[data-v-f6ebe303]{display:grid;gap:12px;margin:14px 0 24px}dl div[data-v-f6ebe303]{display:flex;justify-content:space-between}@media(max-width:1160px){.web-shell[data-v-f6ebe303]{grid-template-columns:190px minmax(0,1fr)}.inspector[data-v-f6ebe303]{display:none}}@media(max-width:820px){.web-shell[data-v-f6ebe303]{grid-template-columns:1fr}.sidebar[data-v-f6ebe303]{border-right:0;border-bottom:1px solid #d9e0e8}nav[data-v-f6ebe303]{grid-template-columns:repeat(4,minmax(0,1fr))}nav button[data-v-f6ebe303]{text-align:center}.dashboard-grid[data-v-f6ebe303],.split-view[data-v-f6ebe303],.settings-sections[data-v-f6ebe303]{grid-template-columns:1fr}.topbar[data-v-f6ebe303],.list-view header[data-v-f6ebe303]{align-items:flex-start;flex-direction:column}} diff --git a/web/assets/index-DtDjEMov.js b/web/assets/index-DtDjEMov.js deleted file mode 100644 index 37d045c..0000000 --- a/web/assets/index-DtDjEMov.js +++ /dev/null @@ -1,17 +0,0 @@ -var io=Object.defineProperty;var oo=(e,t,n)=>t in e?io(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var es=(e,t,n)=>oo(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();/** -* @vue/shared v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function ks(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ue={},Lt=[],st=()=>{},$l=()=>!1,Vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Bn=e=>e.startsWith("onUpdate:"),ke=Object.assign,Ps=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ro=Object.prototype.hasOwnProperty,te=(e,t)=>ro.call(e,t),V=Array.isArray,Ft=e=>an(e)==="[object Map]",Nn=e=>an(e)==="[object Set]",sl=e=>an(e)==="[object Date]",N=e=>typeof e=="function",_e=e=>typeof e=="string",lt=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",Ll=e=>(re(e)||N(e))&&N(e.then)&&N(e.catch),Fl=Object.prototype.toString,an=e=>Fl.call(e),ao=e=>an(e).slice(8,-1),Vl=e=>an(e)==="[object Object]",Es=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,zt=ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},uo=/-\w/g,Je=jn(e=>e.replace(uo,t=>t.slice(1).toUpperCase())),co=/\B([A-Z])/g,It=jn(e=>e.replace(co,"-$1").toLowerCase()),Bl=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ts=jn(e=>e?`on${Bl(e)}`:""),nt=(e,t)=>!Object.is(e,t),Pn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Un=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ll;const Hn=()=>ll||(ll=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ts(e){if(V(e)){const t={};for(let n=0;n{if(n){const s=n.split(po);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Wn(e){let t="";if(_e(e))t=e;else if(V(e))for(let n=0;nun(n,t))}const Ul=e=>!!(e&&e.__v_isRef===!0),f=e=>_e(e)?e:e==null?"":V(e)||re(e)&&(e.toString===Fl||!N(e.toString))?Ul(e)?f(e.value):JSON.stringify(e,Hl,2):String(e),Hl=(e,t)=>Ul(t)?Hl(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,l],i)=>(n[ns(s,i)+" =>"]=l,n),{})}:Nn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:lt(t)?ns(t):re(t)&&!V(t)&&!Vl(t)?String(t):t,ns=(e,t="")=>{var n;return lt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Se;class bo{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&&Se&&(Se.active?(this.parent=Se,this.index=(Se.scopes||(Se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0&&--this._on===0){if(Se===this)Se=this.prevScope;else{let t=Se;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 n,s;for(n=0,s=this.effects.length;n0)return;if(Qt){let t=Qt;for(Qt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Yt;){let t=Yt;for(Yt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Jl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gl(e){let t,n=e.depsTail,s=n;for(;s;){const l=s.prevDep;s.version===-1?(s===n&&(n=l),Is(s),xo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=l}e.deps=t,e.depsTail=n}function hs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(zl(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function zl(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nn)||(e.globalVersion=nn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!hs(e))))return;e.flags|=2;const t=e.dep,n=fe,s=Ge;fe=e,Ge=!0;try{Jl(e);const l=e.fn(e._value);(t.version===0||nt(l,e._value))&&(e.flags|=128,e._value=l,t.version++)}catch(l){throw t.version++,l}finally{fe=n,Ge=s,Gl(e),e.flags&=-3}}function Is(e,t=!1){const{dep:n,prevSub:s,nextSub:l}=e;if(s&&(s.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Is(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ge=!0;const Yl=[];function it(){Yl.push(Ge),Ge=!1}function ot(){const e=Yl.pop();Ge=e===void 0?!0:e}function il(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let nn=0;class Co{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class As{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(!fe||!Ge||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new Co(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,Ql(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,nn++,this.notify(t)}notify(t){Os();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ds()}}}function Ql(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ql(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const gs=new WeakMap,Ot=Symbol(""),vs=Symbol(""),sn=Symbol("");function Pe(e,t,n){if(Ge&&fe){let s=gs.get(e);s||gs.set(e,s=new Map);let l=s.get(n);l||(s.set(n,l=new As),l.map=s,l.key=n),l.track()}}function ft(e,t,n,s,l,i){const r=gs.get(e);if(!r){nn++;return}const a=c=>{c&&c.trigger()};if(Os(),t==="clear")r.forEach(a);else{const c=V(e),_=c&&Es(n);if(c&&n==="length"){const h=Number(s);r.forEach((b,D)=>{(D==="length"||D===sn||!lt(D)&&D>=h)&&a(b)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),_&&a(r.get(sn)),t){case"add":c?_&&a(r.get("length")):(a(r.get(Ot)),Ft(e)&&a(r.get(vs)));break;case"delete":c||(a(r.get(Ot)),Ft(e)&&a(r.get(vs)));break;case"set":Ft(e)&&a(r.get(Ot));break}}Ds()}function Mt(e){const t=ee(e);return t===e?t:(Pe(t,"iterate",sn),We(e)?t:t.map(ze))}function Kn(e){return Pe(e=ee(e),"iterate",sn),e}function et(e,t){return ht(e)?jt(Dt(e)?ze(t):t):ze(t)}const So={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,e=>et(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>V(t)?Mt(t):t))},entries(){return ls(this,"entries",e=>(e[1]=et(this,e[1]),e))},every(e,t){return at(this,"every",e,t,void 0,arguments)},filter(e,t){return at(this,"filter",e,t,n=>n.map(s=>et(this,s)),arguments)},find(e,t){return at(this,"find",e,t,n=>et(this,n),arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,n=>et(this,n),arguments)},findLastIndex(e,t){return at(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return at(this,"forEach",e,t,void 0,arguments)},includes(...e){return is(this,"includes",e)},indexOf(...e){return is(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return is(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return Kt(this,"pop")},push(...e){return Kt(this,"push",e)},reduce(e,...t){return ol(this,"reduce",e,t)},reduceRight(e,...t){return ol(this,"reduceRight",e,t)},shift(){return Kt(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return Kt(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return Kt(this,"unshift",e)},values(){return ls(this,"values",e=>et(this,e))}};function ls(e,t,n){const s=Kn(e),l=s[t]();return s!==e&&!We(e)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=n(i.value)),i}),l}const ko=Array.prototype;function at(e,t,n,s,l,i){const r=Kn(e),a=r!==e&&!We(e),c=r[t];if(c!==ko[t]){const b=c.apply(e,i);return a?ze(b):b}let _=n;r!==e&&(a?_=function(b,D){return n.call(this,et(e,b),D,e)}:n.length>2&&(_=function(b,D){return n.call(this,b,D,e)}));const h=c.call(r,_,s);return a&&l?l(h):h}function ol(e,t,n,s){const l=Kn(e),i=l!==e&&!We(e);let r=n,a=!1;l!==e&&(i?(a=s.length===0,r=function(_,h,b){return a&&(a=!1,_=et(e,_)),n.call(this,_,et(e,h),b,e)}):n.length>3&&(r=function(_,h,b){return n.call(this,_,h,b,e)}));const c=l[t](r,...s);return a?et(e,c):c}function is(e,t,n){const s=ee(e);Pe(s,"iterate",sn);const l=s[t](...n);return(l===-1||l===!1)&&Ls(n[0])?(n[0]=ee(n[0]),s[t](...n)):l}function Kt(e,t,n=[]){it(),Os();const s=ee(e)[t].apply(e,n);return Ds(),ot(),s}const Po=ks("__proto__,__v_isRef,__isVue"),Xl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(lt));function Eo(e){lt(e)||(e=String(e));const t=ee(this);return Pe(t,"has",e),t.hasOwnProperty(e)}class Zl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const l=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(l?i?Fo:si:i?ni:ti).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=V(t);if(!l){let c;if(r&&(c=So[n]))return c;if(n==="hasOwnProperty")return Eo}const a=Reflect.get(t,n,Ee(t)?t:s);if((lt(n)?Xl.has(n):Po(n))||(l||Pe(t,"get",n),i))return a;if(Ee(a)){const c=r&&Es(n)?a:a.value;return l&&re(c)?ms(c):c}return re(a)?l?ms(a):Rs(a):a}}class ei extends Zl{constructor(t=!1){super(!1,t)}set(t,n,s,l){let i=t[n];const r=V(t)&&Es(n);if(!this._isShallow){const _=ht(i);if(!We(s)&&!ht(s)&&(i=ee(i),s=ee(s)),!r&&Ee(i)&&!Ee(s))return _||(i.value=s),!0}const a=r?Number(n)e,Cn=e=>Reflect.getPrototypeOf(e);function Ao(e,t,n){return function(...s){const l=this.__v_raw,i=ee(l),r=Ft(i),a=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,_=l[e](...s),h=n?_s:t?jt:ze;return!t&&Pe(i,"iterate",c?vs:Ot),ke(Object.create(_),{next(){const{value:b,done:D}=_.next();return D?{value:b,done:D}:{value:a?[h(b[0]),h(b[1])]:h(b),done:D}}})}}function Sn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Mo(e,t){const n={get(l){const i=this.__v_raw,r=ee(i),a=ee(l);e||(nt(l,a)&&Pe(r,"get",l),Pe(r,"get",a));const{has:c}=Cn(r),_=t?_s:e?jt:ze;if(c.call(r,l))return _(i.get(l));if(c.call(r,a))return _(i.get(a));i!==r&&i.get(l)},get size(){const l=this.__v_raw;return!e&&Pe(ee(l),"iterate",Ot),l.size},has(l){const i=this.__v_raw,r=ee(i),a=ee(l);return e||(nt(l,a)&&Pe(r,"has",l),Pe(r,"has",a)),l===a?i.has(l):i.has(l)||i.has(a)},forEach(l,i){const r=this,a=r.__v_raw,c=ee(a),_=t?_s:e?jt:ze;return!e&&Pe(c,"iterate",Ot),a.forEach((h,b)=>l.call(i,_(h),_(b),r))}};return ke(n,e?{add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear")}:{add(l){const i=ee(this),r=Cn(i),a=ee(l),c=!t&&!We(l)&&!ht(l)?a:l;return r.has.call(i,c)||nt(l,c)&&r.has.call(i,l)||nt(a,c)&&r.has.call(i,a)||(i.add(c),ft(i,"add",c,c)),this},set(l,i){!t&&!We(i)&&!ht(i)&&(i=ee(i));const r=ee(this),{has:a,get:c}=Cn(r);let _=a.call(r,l);_||(l=ee(l),_=a.call(r,l));const h=c.call(r,l);return r.set(l,i),_?nt(i,h)&&ft(r,"set",l,i):ft(r,"add",l,i),this},delete(l){const i=ee(this),{has:r,get:a}=Cn(i);let c=r.call(i,l);c||(l=ee(l),c=r.call(i,l)),a&&a.call(i,l);const _=i.delete(l);return c&&ft(i,"delete",l,void 0),_},clear(){const l=ee(this),i=l.size!==0,r=l.clear();return i&&ft(l,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=Ao(l,e,t)}),n}function Ms(e,t){const n=Mo(e,t);return(s,l,i)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?s:Reflect.get(te(n,l)&&l in s?n:s,l,i)}const Ro={get:Ms(!1,!1)},$o={get:Ms(!1,!0)},Lo={get:Ms(!0,!1)};const ti=new WeakMap,ni=new WeakMap,si=new WeakMap,Fo=new WeakMap;function Vo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rs(e){return ht(e)?e:$s(e,!1,Oo,Ro,ti)}function Bo(e){return $s(e,!1,Io,$o,ni)}function ms(e){return $s(e,!0,Do,Lo,si)}function $s(e,t,n,s,l){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=l.get(e);if(i)return i;const r=Vo(ao(e));if(r===0)return e;const a=new Proxy(e,r===2?s:n);return l.set(e,a),a}function Dt(e){return ht(e)?Dt(e.__v_raw):!!(e&&e.__v_isReactive)}function ht(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function No(e){return!te(e,"__v_skip")&&Object.isExtensible(e)&&Nl(e,"__v_skip",!0),e}const ze=e=>re(e)?Rs(e):e,jt=e=>re(e)?ms(e):e;function Ee(e){return e?e.__v_isRef===!0:!1}function j(e){return jo(e,!1)}function jo(e,t){return Ee(e)?e:new Uo(e,t)}class Uo{constructor(t,n){this.dep=new As,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ee(t),this._value=n?t:ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||We(t)||ht(t);t=s?t:ee(t),nt(t,n)&&(this._rawValue=t,this._value=s?t:ze(t),this.dep.trigger())}}function Ho(e){return Ee(e)?e.value:e}const Wo={get:(e,t,n)=>t==="__v_raw"?e:Ho(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const l=e[t];return Ee(l)&&!Ee(n)?(l.value=n,!0):Reflect.set(e,t,n,s)}};function li(e){return Dt(e)?e:new Proxy(e,Wo)}class Ko{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new As(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return ql(this,!0),!0}get value(){const t=this.dep.track();return zl(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function qo(e,t,n=!1){let s,l;return N(e)?s=e:(s=e.get,l=e.set),new Ko(s,l,n)}const kn={},On=new WeakMap;let Et;function Jo(e,t=!1,n=Et){if(n){let s=On.get(n);s||On.set(n,s=[]),s.push(e)}}function Go(e,t,n=ue){const{immediate:s,deep:l,once:i,scheduler:r,augmentJob:a,call:c}=n,_=$=>l?$:We($)||l===!1||l===0?dt($,1):dt($);let h,b,D,I,W=!1,F=!1;if(Ee(e)?(b=()=>e.value,W=We(e)):Dt(e)?(b=()=>_(e),W=!0):V(e)?(F=!0,W=e.some($=>Dt($)||We($)),b=()=>e.map($=>{if(Ee($))return $.value;if(Dt($))return _($);if(N($))return c?c($,2):$()})):N(e)?t?b=c?()=>c(e,2):e:b=()=>{if(D){it();try{D()}finally{ot()}}const $=Et;Et=h;try{return c?c(e,3,[I]):e(I)}finally{Et=$}}:b=st,t&&l){const $=b,de=l===!0?1/0:l;b=()=>dt($(),de)}const ce=wo(),z=()=>{h.stop(),ce&&ce.active&&Ps(ce.effects,h)};if(i&&t){const $=t;t=(...de)=>{const ae=$(...de);return z(),ae}}let U=F?new Array(e.length).fill(kn):kn;const ne=$=>{if(!(!(h.flags&1)||!h.dirty&&!$))if(t){const de=h.run();if($||l||W||(F?de.some((ae,Te)=>nt(ae,U[Te])):nt(de,U))){D&&D();const ae=Et;Et=h;try{const Te=[de,U===kn?void 0:F&&U[0]===kn?[]:U,I];U=de,c?c(t,3,Te):t(...Te)}finally{Et=ae}}}else h.run()};return a&&a(ne),h=new Wl(b),h.scheduler=r?()=>r(ne,!1):ne,I=$=>Jo($,!1,h),D=h.onStop=()=>{const $=On.get(h);if($){if(c)c($,4);else for(const de of $)de();On.delete(h)}},t?s?ne(!0):U=h.run():r?r(ne.bind(null,!0),!0):h.run(),z.pause=h.pause.bind(h),z.resume=h.resume.bind(h),z.stop=z,z}function dt(e,t=1/0,n){if(t<=0||!re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ee(e))dt(e.value,t,n);else if(V(e))for(let s=0;s{dt(s,t,n)});else if(Vl(e)){for(const s in e)dt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function cn(e,t,n,s){try{return s?e(...s):e()}catch(l){qn(l,t,n)}}function Ye(e,t,n,s){if(N(e)){const l=cn(e,t,n,s);return l&&Ll(l)&&l.catch(i=>{qn(i,t,n)}),l}if(V(e)){const l=[];for(let i=0;i>>1,l=Ie[s],i=ln(l);i=ln(n)?Ie.push(e):Ie.splice(Yo(t),0,e),e.flags|=1,ri()}}function ri(){Dn||(Dn=ii.then(ui))}function Qo(e){V(e)?Vt.push(...e):bt&&e.id===-1?bt.splice(Rt+1,0,e):e.flags&1||(Vt.push(e),e.flags|=1),ri()}function rl(e,t,n=Ze+1){for(;nln(n)-ln(s));if(Vt.length=0,bt){bt.push(...t);return}for(bt=t,Rt=0;Rte.id==null?e.flags&2?-1:1/0:e.id;function ui(e){try{for(Ze=0;Ze{s._d&&ml(-1);const i=In(t);let r;try{r=e(...l)}finally{In(i),s._d&&ml(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function X(e,t){if(He===null)return e;const n=Yn(He),s=e.dirs||(e.dirs=[]);for(let l=0;l1)return n&&N(t)?t.call(s&&s.proxy):t}}const er=Symbol.for("v-scx"),tr=()=>En(er);function os(e,t,n){return fi(e,t,n)}function fi(e,t,n=ue){const{immediate:s,deep:l,flush:i,once:r}=n,a=ke({},n),c=t&&s||!t&&i!=="post";let _;if(rn){if(i==="sync"){const I=tr();_=I.__watcherHandles||(I.__watcherHandles=[])}else if(!c){const I=()=>{};return I.stop=st,I.resume=st,I.pause=st,I}}const h=Ae;a.call=(I,W,F)=>Ye(I,h,W,F);let b=!1;i==="post"?a.scheduler=I=>{Re(I,h&&h.suspense)}:i!=="sync"&&(b=!0,a.scheduler=(I,W)=>{W?I():Fs(I)}),a.augmentJob=I=>{t&&(I.flags|=4),b&&(I.flags|=2,h&&(I.id=h.uid,I.i=h))};const D=Go(e,t,a);return rn&&(_?_.push(D):c&&D()),D}function nr(e,t,n){const s=this.proxy,l=_e(e)?e.includes(".")?di(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const r=fn(this),a=fi(l,i.bind(s),n);return r(),a}function di(e,t){const n=t.split(".");return()=>{let s=e;for(let l=0;le.__isTeleport,rs=Symbol("_leaveCb");function Vs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Vs(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 ir(e,t){return N(e)?ke({name:e.name},t,{setup:e}):e}function pi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function al(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const An=new WeakMap;function Xt(e,t,n,s,l=!1){if(V(e)){e.forEach((F,ce)=>Xt(F,t&&(V(t)?t[ce]:t),n,s,l));return}if(Zt(s)&&!l){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Xt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Yn(s.component):s.el,r=l?null:i,{i:a,r:c}=e,_=t&&t.r,h=a.refs===ue?a.refs={}:a.refs,b=a.setupState,D=ee(b),I=b===ue?$l:F=>al(h,F)?!1:te(D,F),W=(F,ce)=>!(ce&&al(h,ce));if(_!=null&&_!==c){if(ul(t),_e(_))h[_]=null,I(_)&&(b[_]=null);else if(Ee(_)){const F=t;W(_,F.k)&&(_.value=null),F.k&&(h[F.k]=null)}}if(N(c)){it();try{cn(c,a,12,[r,h])}finally{ot()}}else{const F=_e(c),ce=Ee(c);if(F||ce){const z=()=>{if(e.f){const U=F?I(c)?b[c]:h[c]:W()||!e.k?c.value:h[e.k];if(l)V(U)&&Ps(U,i);else if(V(U))U.includes(i)||U.push(i);else if(F)h[c]=[i],I(c)&&(b[c]=h[c]);else{const ne=[i];W(c,e.k)&&(c.value=ne),e.k&&(h[e.k]=ne)}}else F?(h[c]=r,I(c)&&(b[c]=r)):ce&&(W(c,e.k)&&(c.value=r),e.k&&(h[e.k]=r))};if(r){const U=()=>{z(),An.delete(e)};U.id=-1,An.set(e,U),Re(U,n)}else ul(e),z()}}}function ul(e){const t=An.get(e);t&&(t.flags|=8,An.delete(e))}Hn().requestIdleCallback;Hn().cancelIdleCallback;const Zt=e=>!!e.type.__asyncLoader,hi=e=>e.type.__isKeepAlive;function or(e,t){gi(e,"a",t)}function rr(e,t){gi(e,"da",t)}function gi(e,t,n=Ae){const s=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Jn(t,s,n),n){let l=n.parent;for(;l&&l.parent;)hi(l.parent.vnode)&&ar(s,t,n,l),l=l.parent}}function ar(e,t,n,s){const l=Jn(t,e,s,!0);_i(()=>{Ps(s[t],l)},n)}function Jn(e,t,n=Ae,s=!1){if(n){const l=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{it();const a=fn(n),c=Ye(t,n,e,r);return a(),ot(),c});return s?l.unshift(i):l.push(i),i}}const gt=e=>(t,n=Ae)=>{(!rn||e==="sp")&&Jn(e,(...s)=>t(...s),n)},ur=gt("bm"),vi=gt("m"),cr=gt("bu"),fr=gt("u"),dr=gt("bum"),_i=gt("um"),pr=gt("sp"),hr=gt("rtg"),gr=gt("rtc");function vr(e,t=Ae){Jn("ec",e,t)}const _r=Symbol.for("v-ndc");function xe(e,t,n,s){let l;const i=n,r=V(e);if(r||_e(e)){const a=r&&Dt(e);let c=!1,_=!1;a&&(c=!We(e),_=ht(e),e=Kn(e)),l=new Array(e.length);for(let h=0,b=e.length;ht(a,c,void 0,i));else{const a=Object.keys(e);l=new Array(a.length);for(let c=0,_=a.length;c<_;c++){const h=a[c];l[c]=t(e[h],h,c,i)}}else l=[];return l}const ys=e=>e?Vi(e)?Yn(e):ys(e.parent):null,en=ke(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=>ys(e.parent),$root:e=>ys(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>yi(e),$forceUpdate:e=>e.f||(e.f=()=>{Fs(e.update)}),$nextTick:e=>e.n||(e.n=oi.bind(e.proxy)),$watch:e=>nr.bind(e)}),as=(e,t)=>e!==ue&&!e.__isScriptSetup&&te(e,t),mr={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:l,props:i,accessCache:r,type:a,appContext:c}=e;if(t[0]!=="$"){const D=r[t];if(D!==void 0)switch(D){case 1:return s[t];case 2:return l[t];case 4:return n[t];case 3:return i[t]}else{if(as(s,t))return r[t]=1,s[t];if(l!==ue&&te(l,t))return r[t]=2,l[t];if(te(i,t))return r[t]=3,i[t];if(n!==ue&&te(n,t))return r[t]=4,n[t];bs&&(r[t]=0)}}const _=en[t];let h,b;if(_)return t==="$attrs"&&Pe(e.attrs,"get",""),_(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==ue&&te(n,t))return r[t]=4,n[t];if(b=c.config.globalProperties,te(b,t))return b[t]},set({_:e},t,n){const{data:s,setupState:l,ctx:i}=e;return as(l,t)?(l[t]=n,!0):s!==ue&&te(s,t)?(s[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:l,props:i,type:r}},a){let c;return!!(n[a]||e!==ue&&a[0]!=="$"&&te(e,a)||as(t,a)||te(i,a)||te(s,a)||te(en,a)||te(l.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function cl(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let bs=!0;function yr(e){const t=yi(e),n=e.proxy,s=e.ctx;bs=!1,t.beforeCreate&&fl(t.beforeCreate,e,"bc");const{data:l,computed:i,methods:r,watch:a,provide:c,inject:_,created:h,beforeMount:b,mounted:D,beforeUpdate:I,updated:W,activated:F,deactivated:ce,beforeDestroy:z,beforeUnmount:U,destroyed:ne,unmounted:$,render:de,renderTracked:ae,renderTriggered:Te,errorCaptured:$e,serverPrefetch:Qe,expose:Le,inheritAttrs:H,components:Ke,directives:Fe,filters:Ve}=t;if(_&&br(_,s,null),r)for(const K in r){const Y=r[K];N(Y)&&(s[K]=Y.bind(n))}if(l){const K=l.call(n,n);re(K)&&(e.data=Rs(K))}if(bs=!0,i)for(const K in i){const Y=i[K],be=N(Y)?Y.bind(n,n):N(Y.get)?Y.get.bind(n,n):st,rt=!N(Y)&&N(Y.set)?Y.set.bind(n):st,pe=yt({get:be,set:rt});Object.defineProperty(s,K,{enumerable:!0,configurable:!0,get:()=>pe.value,set:Me=>pe.value=Me})}if(a)for(const K in a)mi(a[K],s,n,K);if(c){const K=N(c)?c.call(n):c;Reflect.ownKeys(K).forEach(Y=>{Zo(Y,K[Y])})}h&&fl(h,e,"c");function J(K,Y){V(Y)?Y.forEach(be=>K(be.bind(n))):Y&&K(Y.bind(n))}if(J(ur,b),J(vi,D),J(cr,I),J(fr,W),J(or,F),J(rr,ce),J(vr,$e),J(gr,ae),J(hr,Te),J(dr,U),J(_i,$),J(pr,Qe),V(Le))if(Le.length){const K=e.exposed||(e.exposed={});Le.forEach(Y=>{Object.defineProperty(K,Y,{get:()=>n[Y],set:be=>n[Y]=be,enumerable:!0})})}else e.exposed||(e.exposed={});de&&e.render===st&&(e.render=de),H!=null&&(e.inheritAttrs=H),Ke&&(e.components=Ke),Fe&&(e.directives=Fe),Qe&&pi(e)}function br(e,t,n=st){V(e)&&(e=ws(e));for(const s in e){const l=e[s];let i;re(l)?"default"in l?i=En(l.from||s,l.default,!0):i=En(l.from||s):i=En(l),Ee(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function fl(e,t,n){Ye(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function mi(e,t,n,s){let l=s.includes(".")?di(n,s):()=>n[s];if(_e(e)){const i=t[e];N(i)&&os(l,i)}else if(N(e))os(l,e.bind(n));else if(re(e))if(V(e))e.forEach(i=>mi(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&os(l,i,e)}}function yi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:l,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,a=i.get(t);let c;return a?c=a:!l.length&&!n&&!s?c=t:(c={},l.length&&l.forEach(_=>Mn(c,_,r,!0)),Mn(c,t,r)),re(t)&&i.set(t,c),c}function Mn(e,t,n,s=!1){const{mixins:l,extends:i}=t;i&&Mn(e,i,n,!0),l&&l.forEach(r=>Mn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=wr[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const wr={data:dl,props:pl,emits:pl,methods:Jt,computed:Jt,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:Jt,directives:Jt,watch:Cr,provide:dl,inject:xr};function dl(e,t){return t?e?function(){return ke(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function xr(e,t){return Jt(ws(e),ws(t))}function ws(e){if(V(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Je(t)}Modifiers`]||e[`${It(t)}Modifiers`];function Er(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ue;let l=n;const i=t.startsWith("update:"),r=i&&Pr(s,t.slice(7));r&&(r.trim&&(l=n.map(h=>_e(h)?h.trim():h)),r.number&&(l=n.map(Un)));let a,c=s[a=ts(t)]||s[a=ts(Je(t))];!c&&i&&(c=s[a=ts(It(t))]),c&&Ye(c,e,6,l);const _=s[a+"Once"];if(_){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Ye(_,e,6,l)}}const Tr=new WeakMap;function wi(e,t,n=!1){const s=n?Tr:t.emitsCache,l=s.get(e);if(l!==void 0)return l;const i=e.emits;let r={},a=!1;if(!N(e)){const c=_=>{const h=wi(_,t,!0);h&&(a=!0,ke(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(re(e)&&s.set(e,null),null):(V(i)?i.forEach(c=>r[c]=null):ke(r,i),re(e)&&s.set(e,r),r)}function Gn(e,t){return!e||!Vn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,It(t))||te(e,t))}function hl(e){const{type:t,vnode:n,proxy:s,withProxy:l,propsOptions:[i],slots:r,attrs:a,emit:c,render:_,renderCache:h,props:b,data:D,setupState:I,ctx:W,inheritAttrs:F}=e,ce=In(e);let z,U;try{if(n.shapeFlag&4){const $=l||s,de=$;z=tt(_.call(de,$,h,b,I,D,W)),U=a}else{const $=t;z=tt($.length>1?$(b,{attrs:a,slots:r,emit:c}):$(b,null)),U=t.props?a:Or(a)}}catch($){tn.length=0,qn($,e,1),z=pt(wt)}let ne=z;if(U&&F!==!1){const $=Object.keys(U),{shapeFlag:de}=ne;$.length&&de&7&&(i&&$.some(Bn)&&(U=Dr(U,i)),ne=Ut(ne,U,!1,!0))}return n.dirs&&(ne=Ut(ne,null,!1,!0),ne.dirs=ne.dirs?ne.dirs.concat(n.dirs):n.dirs),n.transition&&Vs(ne,n.transition),z=ne,In(ce),z}const Or=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vn(n))&&((t||(t={}))[n]=e[n]);return t},Dr=(e,t)=>{const n={};for(const s in e)(!Bn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ir(e,t,n){const{props:s,children:l,component:i}=e,{props:r,children:a,patchFlag:c}=t,_=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?gl(s,r,_):!!r;if(c&8){const h=t.dynamicProps;for(let b=0;bObject.create(Ci),ki=e=>Object.getPrototypeOf(e)===Ci;function Mr(e,t,n,s=!1){const l={},i=Si();e.propsDefaults=Object.create(null),Pi(e,t,l,i);for(const r in e.propsOptions[0])r in l||(l[r]=void 0);n?e.props=s?l:Bo(l):e.type.props?e.props=l:e.props=i,e.attrs=i}function Rr(e,t,n,s){const{props:l,attrs:i,vnode:{patchFlag:r}}=e,a=ee(l),[c]=e.propsOptions;let _=!1;if((s||r>0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let b=0;b{c=!0;const[D,I]=Ei(b,t,!0);ke(r,D),I&&a.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return re(e)&&s.set(e,Lt),Lt;if(V(i))for(let h=0;he==="_"||e==="_ctx"||e==="$stable",Ns=e=>V(e)?e.map(tt):[tt(e)],Lr=(e,t,n)=>{if(t._n)return t;const s=Xo((...l)=>Ns(t(...l)),n);return s._c=!1,s},Ti=(e,t,n)=>{const s=e._ctx;for(const l in e){if(Bs(l))continue;const i=e[l];if(N(i))t[l]=Lr(l,i,s);else if(i!=null){const r=Ns(i);t[l]=()=>r}}},Oi=(e,t)=>{const n=Ns(t);e.slots.default=()=>n},Di=(e,t,n)=>{for(const s in t)(n||!Bs(s))&&(e[s]=t[s])},Fr=(e,t,n)=>{const s=e.slots=Si();if(e.vnode.shapeFlag&32){const l=t._;l?(Di(s,t,n),n&&Nl(s,"_",l,!0)):Ti(t,s)}else t&&Oi(e,t)},Vr=(e,t,n)=>{const{vnode:s,slots:l}=e;let i=!0,r=ue;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Di(l,t,n):(i=!t.$stable,Ti(t,l)),r=t}else t&&(Oi(e,t),r={default:1});if(i)for(const a in l)!Bs(a)&&r[a]==null&&delete l[a]},Re=Hr;function Br(e){return Nr(e)}function Nr(e,t){const n=Hn();n.__VUE__=!0;const{insert:s,remove:l,patchProp:i,createElement:r,createText:a,createComment:c,setText:_,setElementText:h,parentNode:b,nextSibling:D,setScopeId:I=st,insertStaticContent:W}=e,F=(u,p,m,S=null,C=null,w=null,P=void 0,k=null,y=!!p.dynamicChildren)=>{if(u===p)return;u&&!qt(u,p)&&(S=At(u),Me(u,C,w,!0),u=null),p.patchFlag===-2&&(y=!1,p.dynamicChildren=null);const{type:x,ref:R,shapeFlag:O}=p;switch(x){case zn:ce(u,p,m,S);break;case wt:z(u,p,m,S);break;case cs:u==null&&U(p,m,S,P);break;case le:Ke(u,p,m,S,C,w,P,k,y);break;default:O&1?de(u,p,m,S,C,w,P,k,y):O&6?Fe(u,p,m,S,C,w,P,k,y):(O&64||O&128)&&x.process(u,p,m,S,C,w,P,k,y,xt)}R!=null&&C?Xt(R,u&&u.ref,w,p||u,!p):R==null&&u&&u.ref!=null&&Xt(u.ref,null,w,u,!0)},ce=(u,p,m,S)=>{if(u==null)s(p.el=a(p.children),m,S);else{const C=p.el=u.el;p.children!==u.children&&_(C,p.children)}},z=(u,p,m,S)=>{u==null?s(p.el=c(p.children||""),m,S):p.el=u.el},U=(u,p,m,S)=>{[u.el,u.anchor]=W(u.children,p,m,S,u.el,u.anchor)},ne=({el:u,anchor:p},m,S)=>{let C;for(;u&&u!==p;)C=D(u),s(u,m,S),u=C;s(p,m,S)},$=({el:u,anchor:p})=>{let m;for(;u&&u!==p;)m=D(u),l(u),u=m;l(p)},de=(u,p,m,S,C,w,P,k,y)=>{if(p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),u==null)ae(p,m,S,C,w,P,k,y);else{const x=u.el&&u.el._isVueCE?u.el:null;try{x&&x._beginPatch(),Qe(u,p,C,w,P,k,y)}finally{x&&x._endPatch()}}},ae=(u,p,m,S,C,w,P,k)=>{let y,x;const{props:R,shapeFlag:O,transition:A,dirs:L}=u;if(y=u.el=r(u.type,w,R&&R.is,R),O&8?h(y,u.children):O&16&&$e(u.children,y,null,S,C,us(u,w),P,k),L&&kt(u,null,S,"created"),Te(y,u,u.scopeId,P,S),R){for(const se in R)se!=="value"&&!zt(se)&&i(y,se,null,R[se],w,S);"value"in R&&i(y,"value",null,R.value,w),(x=R.onVnodeBeforeMount)&&Xe(x,S,u)}L&&kt(u,null,S,"beforeMount");const q=jr(C,A);q&&A.beforeEnter(y),s(y,p,m),((x=R&&R.onVnodeMounted)||q||L)&&Re(()=>{try{x&&Xe(x,S,u),q&&A.enter(y),L&&kt(u,null,S,"mounted")}finally{}},C)},Te=(u,p,m,S,C)=>{if(m&&I(u,m),S)for(let w=0;w{for(let x=y;x{const k=p.el=u.el;let{patchFlag:y,dynamicChildren:x,dirs:R}=p;y|=u.patchFlag&16;const O=u.props||ue,A=p.props||ue;let L;if(m&&Pt(m,!1),(L=A.onVnodeBeforeUpdate)&&Xe(L,m,p,u),R&&kt(p,u,m,"beforeUpdate"),m&&Pt(m,!0),x&&(!u.dynamicChildren||u.dynamicChildren.length!==x.length)&&(y=0,P=!1,x=null),(O.innerHTML&&A.innerHTML==null||O.textContent&&A.textContent==null)&&h(k,""),x?Le(u.dynamicChildren,x,k,m,S,us(p,C),w):P||Y(u,p,k,null,m,S,us(p,C),w,!1),y>0){if(y&16)H(k,O,A,m,C);else if(y&2&&O.class!==A.class&&i(k,"class",null,A.class,C),y&4&&i(k,"style",O.style,A.style,C),y&8){const q=p.dynamicProps;for(let se=0;se{L&&Xe(L,m,p,u),R&&kt(p,u,m,"updated")},S)},Le=(u,p,m,S,C,w,P)=>{for(let k=0;k{if(p!==m){if(p!==ue)for(const w in p)!zt(w)&&!(w in m)&&i(u,w,p[w],null,C,S);for(const w in m){if(zt(w))continue;const P=m[w],k=p[w];P!==k&&w!=="value"&&i(u,w,k,P,C,S)}"value"in m&&i(u,"value",p.value,m.value,C)}},Ke=(u,p,m,S,C,w,P,k,y)=>{const x=p.el=u?u.el:a(""),R=p.anchor=u?u.anchor:a("");let{patchFlag:O,dynamicChildren:A,slotScopeIds:L}=p;L&&(k=k?k.concat(L):L),u==null?(s(x,m,S),s(R,m,S),$e(p.children||[],m,R,C,w,P,k,y)):O>0&&O&64&&A&&u.dynamicChildren&&u.dynamicChildren.length===A.length?(Le(u.dynamicChildren,A,m,C,w,P,k),(p.key!=null||C&&p===C.subTree)&&Ii(u,p,!0)):Y(u,p,m,R,C,w,P,k,y)},Fe=(u,p,m,S,C,w,P,k,y)=>{p.slotScopeIds=k,u==null?p.shapeFlag&512?C.ctx.activate(p,m,S,P,y):Ve(p,m,S,C,w,P,y):ye(u,p,y)},Ve=(u,p,m,S,C,w,P)=>{const k=u.component=Xr(u,S,C);if(hi(u)&&(k.ctx.renderer=xt),ea(k,!1,P),k.asyncDep){if(C&&C.registerDep(k,J,P),!u.el){const y=k.subTree=pt(wt);z(null,y,p,m),u.placeholder=y.el}}else J(k,u,p,m,C,w,P)},ye=(u,p,m)=>{const S=p.component=u.component;if(Ir(u,p,m))if(S.asyncDep&&!S.asyncResolved){K(S,p,m);return}else S.next=p,S.update();else p.el=u.el,S.vnode=p},J=(u,p,m,S,C,w,P)=>{const k=()=>{if(u.isMounted){let{next:O,bu:A,u:L,parent:q,vnode:se}=u;{const je=Ai(u);if(je){O&&(O.el=se.el,K(u,O,P)),je.asyncDep.then(()=>{Re(()=>{u.isUnmounted||x()},C)});return}}let Z=O,ge;Pt(u,!1),O?(O.el=se.el,K(u,O,P)):O=se,A&&Pn(A),(ge=O.props&&O.props.onVnodeBeforeUpdate)&&Xe(ge,q,O,se),Pt(u,!0);const we=hl(u),Ne=u.subTree;u.subTree=we,F(Ne,we,b(Ne.el),At(Ne),u,C,w),O.el=we.el,Z===null&&Ar(u,we.el),L&&Re(L,C),(ge=O.props&&O.props.onVnodeUpdated)&&Re(()=>Xe(ge,q,O,se),C)}else{let O;const{el:A,props:L}=p,{bm:q,m:se,parent:Z,root:ge,type:we}=u,Ne=Zt(p);Pt(u,!1),q&&Pn(q),!Ne&&(O=L&&L.onVnodeBeforeMount)&&Xe(O,Z,p),Pt(u,!0);{ge.ce&&ge.ce._hasShadowRoot()&&ge.ce._injectChildStyle(we,u.parent?u.parent.type:void 0);const je=u.subTree=hl(u);F(null,je,m,S,u,C,w),p.el=je.el}if(se&&Re(se,C),!Ne&&(O=L&&L.onVnodeMounted)){const je=p;Re(()=>Xe(O,Z,je),C)}(p.shapeFlag&256||Z&&Zt(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&Re(u.a,C),u.isMounted=!0,p=m=S=null}};u.scope.on();const y=u.effect=new Wl(k);u.scope.off();const x=u.update=y.run.bind(y),R=u.job=y.runIfDirty.bind(y);R.i=u,R.id=u.uid,y.scheduler=()=>Fs(R),Pt(u,!0),x()},K=(u,p,m)=>{p.component=u;const S=u.vnode.props;u.vnode=p,u.next=null,Rr(u,p.props,S,m),Vr(u,p.children,m),it(),rl(u),ot()},Y=(u,p,m,S,C,w,P,k,y=!1)=>{const x=u&&u.children,R=u?u.shapeFlag:0,O=p.children,{patchFlag:A,shapeFlag:L}=p;if(A>0){if(A&128){rt(x,O,m,S,C,w,P,k,y);return}else if(A&256){be(x,O,m,S,C,w,P,k,y);return}}L&8?(R&16&&_t(x,C,w),O!==x&&h(m,O)):R&16?L&16?rt(x,O,m,S,C,w,P,k,y):_t(x,C,w,!0):(R&8&&h(m,""),L&16&&$e(O,m,S,C,w,P,k,y))},be=(u,p,m,S,C,w,P,k,y)=>{u=u||Lt,p=p||Lt;const x=u.length,R=p.length,O=Math.min(x,R);let A;for(A=0;AR?_t(u,C,w,!0,!1,O):$e(p,m,S,C,w,P,k,y,O)},rt=(u,p,m,S,C,w,P,k,y)=>{let x=0;const R=p.length;let O=u.length-1,A=R-1;for(;x<=O&&x<=A;){const L=u[x],q=p[x]=y?ct(p[x]):tt(p[x]);if(qt(L,q))F(L,q,m,null,C,w,P,k,y);else break;x++}for(;x<=O&&x<=A;){const L=u[O],q=p[A]=y?ct(p[A]):tt(p[A]);if(qt(L,q))F(L,q,m,null,C,w,P,k,y);else break;O--,A--}if(x>O){if(x<=A){const L=A+1,q=LA)for(;x<=O;)Me(u[x],C,w,!0),x++;else{const L=x,q=x,se=new Map;for(x=q;x<=A;x++){const Oe=p[x]=y?ct(p[x]):tt(p[x]);Oe.key!=null&&se.set(Oe.key,x)}let Z,ge=0;const we=A-q+1;let Ne=!1,je=0;const Ct=new Array(we);for(x=0;x=we){Me(Oe,C,w,!0);continue}let Ue;if(Oe.key!=null)Ue=se.get(Oe.key);else for(Z=q;Z<=A;Z++)if(Ct[Z-q]===0&&qt(Oe,p[Z])){Ue=Z;break}Ue===void 0?Me(Oe,C,w,!0):(Ct[Ue-q]=x+1,Ue>=je?je=Ue:Ne=!0,F(Oe,p[Ue],m,null,C,w,P,k,y),ge++)}const pn=Ne?Ur(Ct):Lt;for(Z=pn.length-1,x=we-1;x>=0;x--){const Oe=q+x,Ue=p[Oe],hn=p[Oe+1],gn=Oe+1{const{el:w,type:P,transition:k,children:y,shapeFlag:x}=u;if(x&6){pe(u.component.subTree,p,m,S);return}if(x&128){u.suspense.move(p,m,S);return}if(x&64){P.move(u,p,m,xt);return}if(P===le){s(w,p,m);for(let O=0;Ok.enter(w),C));else{const{leave:O,delayLeave:A,afterLeave:L}=k,q=()=>{u.ctx.isUnmounted?l(w):s(w,p,m)},se=()=>{const Z=w._isLeaving||!!w[rs];w._isLeaving&&w[rs](!0),k.persisted&&!Z?q():O(w,()=>{q(),L&&L()})};A?A(w,q,se):se()}else s(w,p,m)},Me=(u,p,m,S=!1,C=!1)=>{const{type:w,props:P,ref:k,children:y,dynamicChildren:x,shapeFlag:R,patchFlag:O,dirs:A,cacheIndex:L,memo:q}=u;if(O===-2&&(C=!1),k!=null&&(it(),Xt(k,null,m,u,!0),ot()),L!=null&&(p.renderCache[L]=void 0),R&256){p.ctx.deactivate(u);return}const se=R&1&&A,Z=!Zt(u);let ge;if(Z&&(ge=P&&P.onVnodeBeforeUnmount)&&Xe(ge,p,u),R&6)qe(u.component,m,S);else{if(R&128){u.suspense.unmount(m,S);return}se&&kt(u,null,p,"beforeUnmount"),R&64?u.type.remove(u,p,m,xt,S):x&&!x.hasOnce&&(w!==le||O>0&&O&64)?_t(x,p,m,!1,!0):(w===le&&O&384||!C&&R&16)&&_t(y,p,m),S&&B(u)}const we=q!=null&&L==null;(Z&&(ge=P&&P.onVnodeUnmounted)||se||we)&&Re(()=>{ge&&Xe(ge,p,u),se&&kt(u,null,p,"unmounted"),we&&(u.el=null)},m)},B=u=>{const{type:p,el:m,anchor:S,transition:C}=u;if(p===le){vt(m,S);return}if(p===cs){$(u);return}const w=()=>{l(m),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(u.shapeFlag&1&&C&&!C.persisted){const{leave:P,delayLeave:k}=C,y=()=>P(m,w);k?k(u.el,w,y):y()}else w()},vt=(u,p)=>{let m;for(;u!==p;)m=D(u),l(u),u=m;l(p)},qe=(u,p,m)=>{const{bum:S,scope:C,job:w,subTree:P,um:k,m:y,a:x}=u;_l(y),_l(x),S&&Pn(S),C.stop(),w&&(w.flags|=8,Me(P,u,p,m)),k&&Re(k,p),Re(()=>{u.isUnmounted=!0},p)},_t=(u,p,m,S=!1,C=!1,w=0)=>{for(let P=w;P{if(u.shapeFlag&6)return At(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const p=D(u.anchor||u.el),m=p&&p[sr];return m?D(m):p};let Ht=!1;const dn=(u,p,m)=>{let S;u==null?p._vnode&&(Me(p._vnode,null,null,!0),S=p._vnode.component):F(p._vnode||null,u,p,null,null,null,m),p._vnode=u,Ht||(Ht=!0,rl(S),ai(),Ht=!1)},xt={p:F,um:Me,m:pe,r:B,mt:Ve,mc:$e,pc:Y,pbc:Le,n:At,o:e};return{render:dn,hydrate:void 0,createApp:kr(dn)}}function us({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function jr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ii(e,t,n=!1){const s=e.children,l=t.children;if(V(s)&&V(l))for(let i=0;i>1,e[n[a]]<_?i=a+1:r=a;_0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function Ai(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ai(t)}function _l(e){if(e)for(let t=0;te.__isSuspense;function Hr(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Qo(e)}const le=Symbol.for("v-fgt"),zn=Symbol.for("v-txt"),wt=Symbol.for("v-cmt"),cs=Symbol.for("v-stc"),tn=[];let Be=null;function E(e=!1){tn.push(Be=e?null:[])}function Wr(){tn.pop(),Be=tn[tn.length-1]||null}let on=1;function ml(e,t=!1){on+=e,e<0&&Be&&t&&(Be.hasOnce=!0)}function $i(e){return e.dynamicChildren=on>0?Be||Lt:null,Wr(),on>0&&Be&&Be.push(e),e}function T(e,t,n,s,l,i){return $i(o(e,t,n,s,l,i,!0))}function Kr(e,t,n,s,l){return $i(pt(e,t,n,s,l,!0))}function Li(e){return e?e.__v_isVNode===!0:!1}function qt(e,t){return e.type===t.type&&e.key===t.key}const Fi=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?_e(e)||Ee(e)||N(e)?{i:He,r:e,k:t,f:!!n}:e:null);function o(e,t=null,n=null,s=0,l=null,i=e===le?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fi(t),ref:t&&Tn(t),scopeId:ci,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:He};return a?(Rn(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=_e(n)?8:16),on>0&&!r&&Be&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Be.push(c),c}const pt=qr;function qr(e,t=null,n=null,s=0,l=null,i=!1){if((!e||e===_r)&&(e=wt),Li(e)){const a=Ut(e,t,!0);return n&&Rn(a,n),on>0&&!i&&Be&&(a.shapeFlag&6?Be[Be.indexOf(e)]=a:Be.push(a)),a.patchFlag=-2,a}if(la(e)&&(e=e.__vccOpts),t){t=Jr(t);let{class:a,style:c}=t;a&&!_e(a)&&(t.class=Wn(a)),re(c)&&(Ls(c)&&!V(c)&&(c=ke({},c)),t.style=Ts(c))}const r=_e(e)?1:Ri(e)?128:lr(e)?64:re(e)?4:N(e)?2:0;return o(e,t,n,s,l,r,i,!0)}function Jr(e){return e?Ls(e)||ki(e)?ke({},e):e:null}function Ut(e,t,n=!1,s=!1){const{props:l,ref:i,patchFlag:r,children:a,transition:c}=e,_=t?zr(l||{},t):l,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:_,key:_&&Fi(_),ref:t&&t.ref?n&&i?V(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==le?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ut(e.ssContent),ssFallback:e.ssFallback&&Ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Vs(h,c.clone(h)),h}function Gr(e=" ",t=0){return pt(zn,null,e,t)}function G(e="",t=!1){return t?(E(),Kr(wt,null,e)):pt(wt,null,e)}function tt(e){return e==null||typeof e=="boolean"?pt(wt):V(e)?pt(le,null,e.slice()):Li(e)?ct(e):pt(zn,null,String(e))}function ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ut(e)}function Rn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const l=t.default;l&&(l._c&&(l._d=!1),Rn(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!ki(t)?t._ctx=He:l===3&&He&&(He.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(s&65){Rn(e,{default:t});return}t={default:t,_ctx:He},n=32}else t=String(t),s&64?(n=16,t=[Gr(t)]):n=8;e.children=t,e.shapeFlag|=n}function zr(...e){const t={};for(let n=0;nAe||He;let $n,Cs;{const e=Hn(),t=(n,s)=>{let l;return(l=e[n])||(l=e[n]=[]),l.push(s),i=>{l.length>1?l.forEach(r=>r(i)):l[0](i)}};$n=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),Cs=t("__VUE_SSR_SETTERS__",n=>rn=n)}const fn=e=>{const t=Ae;return $n(e),e.scope.on(),()=>{e.scope.off(),$n(t)}},yl=()=>{Ae&&Ae.scope.off(),$n(null)};function Vi(e){return e.vnode.shapeFlag&4}let rn=!1;function ea(e,t=!1,n=!1){t&&Cs(t);const{props:s,children:l}=e.vnode,i=Vi(e);Mr(e,s,i,t),Fr(e,l,n||t);const r=i?ta(e,t):void 0;return t&&Cs(!1),r}function ta(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,mr);const{setup:s}=n;if(s){it();const l=e.setupContext=s.length>1?sa(e):null,i=fn(e),r=cn(s,e,0,[e.props,l]),a=Ll(r);if(ot(),i(),(a||e.sp)&&!Zt(e)&&pi(e),a){if(r.then(yl,yl),t)return r.then(c=>{bl(e,c)}).catch(c=>{qn(c,e,0)});e.asyncDep=r}else bl(e,r)}else Bi(e)}function bl(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=li(t)),Bi(e)}function Bi(e,t,n){const s=e.type;e.render||(e.render=s.render||st);{const l=fn(e);it();try{yr(e)}finally{ot(),l()}}}const na={get(e,t){return Pe(e,"get",""),e[t]}};function sa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,na),slots:e.slots,emit:e.emit,expose:t}}function Yn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(li(No(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in en)return en[n](e)},has(t,n){return n in t||n in en}})):e.proxy}function la(e){return N(e)&&"__vccOpts"in e}const yt=(e,t)=>qo(e,t,rn),ia="3.5.39";/** -* @vue/runtime-dom v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Ss;const wl=typeof window<"u"&&window.trustedTypes;if(wl)try{Ss=wl.createPolicy("vue",{createHTML:e=>e})}catch{}const Ni=Ss?e=>Ss.createHTML(e):e=>e,oa="http://www.w3.org/2000/svg",ra="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,xl=ut&&ut.createElement("template"),aa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const l=t==="svg"?ut.createElementNS(oa,e):t==="mathml"?ut.createElementNS(ra,e):n?ut.createElement(e,{is:n}):ut.createElement(e);return e==="select"&&s&&s.multiple!=null&&l.setAttribute("multiple",s.multiple),l},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,l,i){const r=n?n.previousSibling:t.lastChild;if(l&&(l===i||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===i||!(l=l.nextSibling)););else{xl.innerHTML=Ni(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const a=xl.content;if(s==="svg"||s==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ua=Symbol("_vtc");function ca(e,t,n){const s=e[ua];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Cl=Symbol("_vod"),fa=Symbol("_vsh"),da=Symbol(""),pa=/(?:^|;)\s*display\s*:/;function ha(e,t,n){const s=e.style,l=_e(n);let i=!1;if(n&&!l){if(t)if(_e(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&Gt(s,a,"")}else for(const r in t)n[r]==null&&Gt(s,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?va(e,r,!_e(t)&&t?t[r]:void 0,a)||Gt(s,r,a):Gt(s,r,"")}}else if(l){if(t!==n){const r=s[da];r&&(n+=";"+r),s.cssText=n,i=pa.test(n)}}else t&&e.removeAttribute("style");Cl in e&&(e[Cl]=i?s.display:"",e[fa]&&(s.display="none"))}const Sl=/\s*!important$/;function Gt(e,t,n){if(V(n))n.forEach(s=>Gt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ga(e,t);Sl.test(n)?e.setProperty(It(s),n.replace(Sl,""),"important"):e[s]=n}}const kl=["Webkit","Moz","ms"],fs={};function ga(e,t){const n=fs[t];if(n)return n;let s=Je(t);if(s!=="filter"&&s in e)return fs[t]=s;s=Bl(s);for(let l=0;lds||(xa.then(()=>ds=0),ds=Date.now());function Sa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const l=n.value;if(V(l)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const r=l.slice(),a=[s];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ka=(e,t,n,s,l,i)=>{const r=l==="svg";t==="class"?ca(e,s,r):t==="style"?ha(e,n,s):Vn(t)?Bn(t)||ma(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pa(e,t,s,r))?(Tl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&El(e,t,s,r,i,t!=="value")):e._isVueCE&&(Ea(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!_e(s)))?Tl(e,Je(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),El(e,t,s,r))};function Pa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dl(t)&&N(n));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 l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return Dl(t)&&_e(n)?!1:t in e}function Ea(e,t){const n=e._def.props;if(!n)return!1;const s=Je(t);return Array.isArray(n)?n.some(l=>Je(l)===s):Object.keys(n).some(l=>Je(l)===s)}const Ln=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Pn(t,n):t};function Ta(e){e.target.composing=!0}function Il(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Nt=Symbol("_assign");function Al(e,t,n){return t&&(e=e.trim()),n&&(e=Un(e)),e}const ie={created(e,{modifiers:{lazy:t,trim:n,number:s}},l){e[Nt]=Ln(l);const i=s||l.props&&l.props.type==="number";Tt(e,t?"change":"input",r=>{r.target.composing||e[Nt](Al(e.value,n,i))}),(n||i)&&Tt(e,"change",()=>{e.value=Al(e.value,n,i)}),t||(Tt(e,"compositionstart",Ta),Tt(e,"compositionend",Il),Tt(e,"change",Il))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:l,number:i}},r){if(e[Nt]=Ln(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Un(e.value):e.value,c=t??"";if(a===c)return;const _=e.getRootNode();(_ instanceof Document||_ instanceof ShadowRoot)&&_.activeElement===e&&e.type!=="range"&&(s&&t===n||l&&e.value.trim()===c)||(e.value=c)}},ps={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const l=Nn(t);Tt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Un(Fn(r)):Fn(r));e[Nt](e.multiple?l?new Set(i):i:i[0]),e._assigning=!0,oi(()=>{e._assigning=!1})}),e[Nt]=Ln(s)},mounted(e,{value:t}){Ml(e,t)},beforeUpdate(e,t,n){e[Nt]=Ln(n)},updated(e,{value:t}){e._assigning||Ml(e,t)}};function Ml(e,t){const n=e.multiple,s=V(t);if(!(n&&!s&&!Nn(t))){for(let l=0,i=e.options.length;lString(_)===String(a)):r.selected=yo(t,a)>-1}else r.selected=t.has(a);else if(un(Fn(r),t)){e.selectedIndex!==l&&(e.selectedIndex=l);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Fn(e){return"_value"in e?e._value:e.value}const Oa=ke({patchProp:ka},aa);let Rl;function Da(){return Rl||(Rl=Br(Oa))}const Ia=((...e)=>{const t=Da().createApp(...e),{mount:n}=t;return t.mount=s=>{const l=Ma(s);if(!l)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const r=n(l,!1,Aa(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t});function Aa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ma(e){return _e(e)?document.querySelector(e):e}const Ra="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",M={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,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`,nodeGenerate:e=>`nodes/${e}/generate`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,nodeImages:e=>`nodes/${e}/images`,image:e=>`images/${e}`,imageSelect:e=>`images/${e}/select`,imageUnselect:e=>`images/${e}/unselect`,imageArchive:e=>`images/${e}/archive`,jobs:"jobs",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",storageStatus:"storage/status",mediaSign:"media/sign",materialCategories:"material-categories",materials:"materials",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialConfirm:e=>`materials/${e}/confirm`,wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItem:(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",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",webManifest:"web/manifest"};class $a extends Error{constructor(n,s,l={}){super(s);es(this,"code");es(this,"details");this.name="ApiClientError",this.code=n,this.details=l}}async function ve(e,t){return $t(e,{method:"GET",query:t})}async function oe(e,t){return $t(e,{method:"POST",body:t})}async function $t(e,t={}){const s=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();if(!s.ok)throw new $a(s.error_code,s.message,s.details);return s.data}function La(e,t){const n=e.replace(/^\/+/,""),s=new URL(`${Ra}/${n}`,window.location.origin);for(const[l,i]of Object.entries(t??{}))i!==void 0&&s.searchParams.set(l,String(i));return`${s.pathname}${s.search}`}const Fa={class:"web-shell"},Va={class:"sidebar"},Ba={class:"brand"},Na=["onClick"],ja={class:"workspace"},Ua={class:"topbar"},Ha={class:"actions"},Wa=["disabled"],Ka={key:0,class:"notice error"},qa={key:1,class:"notice"},Ja={key:0,class:"dashboard-grid"},Ga={key:1,class:"list-view"},za={class:"form-grid"},Ya={class:"wide-field"},Qa=["disabled"],Xa=["disabled"],Za={key:0},eu={class:"inline-actions"},tu={class:"badge"},nu=["disabled","onClick"],su={key:0,class:"empty"},lu={key:2,class:"split-view"},iu={class:"list-view"},ou={class:"form-grid"},ru=["disabled"],au={class:"inline-actions"},uu={class:"badge"},cu=["disabled","onClick"],fu=["disabled","onClick"],du=["disabled","onClick"],pu=["disabled","onClick"],hu={key:0,class:"empty"},gu={class:"list-view"},vu={class:"form-grid"},_u={class:"wide-field"},mu=["disabled"],yu={class:"inline-actions"},bu={class:"badge"},wu=["disabled","onClick"],xu={key:0,class:"empty"},Cu={class:"inline-actions"},Su={key:0,class:"badge"},ku=["disabled","onClick"],Pu=["disabled","onClick"],Eu=["disabled","onClick"],Tu=["disabled","onClick"],Ou=["disabled","onClick"],Du={key:0,class:"empty"},Iu={key:0},Au={key:1},Mu={key:3,class:"split-view"},Ru={class:"list-view"},$u={key:0,class:"empty"},Lu={class:"list-view"},Fu={class:"inline-actions"},Vu=["disabled"],Bu={class:"form-grid"},Nu={value:""},ju=["value"],Uu=["disabled"],Hu={class:"inline-actions"},Wu={class:"badge"},Ku=["disabled","onClick"],qu=["disabled","onClick"],Ju=["disabled","onClick"],Gu={key:0,class:"empty"},zu={key:0},Yu={key:4,class:"list-view"},Qu=["disabled"],Xu={class:"form-grid"},Zu={value:""},ec=["value"],tc=["disabled"],nc={class:"inline-actions"},sc=["disabled","onClick"],lc={key:0,class:"empty"},ic={key:0},oc={class:"form-grid"},rc=["disabled"],ac={key:1},uc={key:5,class:"list-view"},cc={class:"inline-actions"},fc=["disabled"],dc=["disabled"],pc={class:"inline-actions"},hc={class:"badge"},gc=["onClick"],vc=["onClick"],_c={key:0,class:"empty"},mc={key:6,class:"split-view"},yc={class:"list-view"},bc=["disabled"],wc={class:"form-grid"},xc=["disabled"],Cc={key:0},Sc={class:"list-view"},kc={class:"inline-actions"},Pc={class:"badge"},Ec=["disabled","onClick"],Tc=["disabled","onClick"],Oc=["disabled","onClick"],Dc={key:0,class:"empty"},Ic={key:7,class:"logs-view"},Ac={class:"split-view"},Mc={class:"list-view"},Rc={key:0,class:"empty"},$c={class:"list-view"},Lc={class:"badge"},Fc={key:0,class:"empty"},Vc={class:"split-view"},Bc={class:"list-view"},Nc={key:0,class:"empty"},jc={class:"list-view"},Uc={class:"badge"},Hc={key:0,class:"empty"},Wc={class:"list-view"},Kc={key:0,class:"empty"},qc={key:8,class:"settings-view"},Jc={class:"toolbar"},Gc=["disabled"],zc=["disabled"],Yc=["disabled"],Qc=["disabled"],Xc=["disabled"],Zc=["disabled"],ef={class:"settings-sections"},tf={class:"editor-panel"},nf={class:"split-view"},sf={class:"list-view"},lf={class:"list-view"},of={class:"inspector"},rf=ir({__name:"App",setup(e){const t={waiting:"等待操作",loading:"加载中...",loadFailed:"加载失败",refresh:"刷新",complete:"完成",failed:"失败",noProfile:"未选择角色",noTags:"无标签",noImage:"未绑定图片",create:"新建",quickDraft:"快速草稿",archive:"归档",start:"启动",generate:"生成",adopt:"采纳",select:"选择",unselect:"取选",recognize:"识别",confirm:"确认",name:"名称",identity:"身份",personality:"性格",hairColor:"发色",hairstyle:"发型",eyeColor:"眼色",description:"描述",basePrompt:"基础提示词",appearancePrompt:"外观提示词",stylePrompt:"风格提示词",negativePrompt:"反向提示词",imageUri:"图片 URI",tags:"标签",category:"分类",allCategories:"全部分类",materialCreated:"素材已创建",materialArchived:"素材已归档",importToWardrobe:"加入衣橱",delete:"删除",wardrobeCategory:"衣橱分类",season:"季节",style:"风格",selectMaterial:"选择素材",wardrobeImported:"衣橱条目已加入",wardrobeDeleted:"衣橱条目已删除",dailyOutfit:"每日穿搭",categories:"分类",mood:"心情",weather:"天气",keywords:"关键词",outfitGenerated:"每日穿搭已生成",dashboard:"运行概览",profiles:"角色",workflows:"工作流",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",logs:"日志审计",settings:"设置",profileList:"角色列表",profileCreated:"角色已创建",profileDeleted:"角色已删除",emptyProfiles:"暂无角色",workflowList:"工作流列表",workflowType:"工作流类型",workflowCreated:"工作流已创建",emptyWorkflows:"暂无工作流",nodes:"节点",images:"图片",emptyImages:"暂无图片",modelRoute:"模型路由",prompt:"提示词",generationQueued:"生成已入队",imageArchived:"图片已归档",imageDeleted:"图片已删除",currentBranch:"当前分支",materialCategories:"素材分类",materialItems:"素材条目",emptyCategories:"暂无分类",emptyMaterials:"暂无素材",pendingConfirm:"待确认",signFirstImage:"签名首图",noSignableMaterial:"没有可签名的素材图片",signMaterial:"签名素材",match:"匹配",matchWardrobe:"衣橱匹配",emptyWardrobe:"暂无衣橱条目",moveFailed:"失败转死信",retryDead:"重试死信",retry:"重试",cancel:"取消",emptyJobs:"暂无任务",dialects:"协议方言",safeProbe:"安全探测",capabilityProfiles:"能力档案",renderPlan:"RenderPlan",validatePlan:"校验计划",provider:"Provider",model:"Model",requiredCapabilities:"所需能力",validationStatus:"校验状态",support:"支持",unsupported:"不支持",unconfirmed:"待确认",emptyCapabilities:"暂无能力档案",generationLogs:"生成日志",errorLogs:"错误",workflowLogs:"工作流",integrationLogs:"集成",auditLogs:"审计",emptyGenerationLogs:"暂无生成日志",emptyErrors:"暂无错误",emptyWorkflowLogs:"暂无工作流日志",emptyIntegrationLogs:"暂无集成日志",emptyAuditLogs:"暂无审计日志",noErrorDetail:"无错误详情",reload:"重载",validate:"校验",diff:"对比",save:"保存",reset:"重置",exportRedacted:"导出脱敏配置",exportSettings:"导出设置",exportDone:"导出设置完成,配置已脱敏",settingsEditor:"配置编辑",settingsDraftInvalid:"配置 JSON 格式无效",settingsSaved:"设置已保存",validationResult:"校验结果",diffResult:"变更对比",storage:"存储",running:"运行"},n=[{key:"dashboard",label:"概览"},{key:"profiles",label:t.profiles},{key:"workflows",label:t.workflows},{key:"materials",label:"素材"},{key:"wardrobe",label:"衣橱"},{key:"jobs",label:"队列"},{key:"discovery",label:"探测"},{key:"logs",label:"日志"},{key:"settings",label:t.settings}],s=j("dashboard"),l=j(null),i=j(null),r=j(null),a=j([]),c=j(null),_=j(""),h=j([]),b=j(null),D=j(null),I=j(null),W=j(null),F=j(null),ce=j([]),z=j(null),U=j([]),ne=j([]),$=j([]),de=j(null),ae=j({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),Te=j(null),$e=j(""),Qe=j(null),Le=j(null),H=j({name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""}),Ke=j(null),Fe=j({display_name:"",workflow_type:"single_image"}),Ve=j({model_route:"",prompt:"",negative_prompt:""}),ye=j({display_name:"",image_uri:"",tags:"",category_id:""}),J=j({material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}),K=j({categories:"top,bottom,dress,shoes,accessory",mood:"",weather:"",keywords:""}),Y=j(null),be=j({provider_id:"",model_id:"",required_capabilities:"text_to_image"}),rt=j(null),pe=j(""),Me=j(!0),B=j(""),vt=j(""),qe=yt(()=>{var v,g;return((g=(v=r.value)==null?void 0:v.items[0])==null?void 0:g.profile_id)??""}),_t=yt(()=>{var v,g;return((g=(v=r.value)==null?void 0:v.items[0])==null?void 0:g.name)??t.noProfile}),At=yt(()=>{var g;const v=(g=i.value)==null?void 0:g.queue;return v?v.pending+v.running+v.failed+v.dead_letter:0}),Ht=yt(()=>{var v;return((v=z.value)==null?void 0:v.items.filter(g=>g.recognition_status!=="confirmed").length)??0}),dn=yt(()=>{var v;return(((v=z.value)==null?void 0:v.items)??[]).filter(g=>g.recognition_status==="confirmed")}),xt=yt(()=>{var v;return((v=c.value)==null?void 0:v.nodes.find(g=>g.node_id===_.value))??null}),js=yt(()=>({dashboard:t.dashboard,profiles:t.profiles,workflows:t.workflows,materials:t.materials,wardrobe:t.wardrobe,jobs:t.jobs,discovery:t.discovery,logs:t.logs,settings:t.settings})[s.value]);vi(u);async function u(){var v,g;Me.value=!0,vt.value="";try{const[Q,he,Ce,mt,_n,Wt,mn,yn,bn,wn,xn]=await Promise.all([ve(M.uiBootstrap),ve(M.dashboardSummary),ve(M.profiles,{page:1,page_size:20}),ve(M.jobs,{page:1,page_size:20}),ve(M.settingsSchema),ve(M.settingsCurrent),ve(M.storageStatus),ve(M.materialCategories),ve(M.materials,{page:1,page_size:24}),ve(M.apiDiscoveryDialects),ve(M.apiDiscoveryCapabilities)]);l.value=Q,i.value=he,r.value=Ce,D.value=mt,I.value=_n,W.value=Wt,vn(Wt.config),F.value=mn,ce.value=yn,z.value=bn,ne.value=wn,$.value=xn,await S((v=Ce.items[0])==null?void 0:v.profile_id),await C((g=Ce.items[0])==null?void 0:g.profile_id),await p()}catch(Q){vt.value=Q instanceof Error?Q.message:t.loadFailed}finally{Me.value=!1}}async function p(){const[v,g,Q,he,Ce]=await Promise.allSettled([ve(M.generationLogs,{limit:12}),ve(M.workflowLogs,{limit:12}),ve(M.errorLogs,{limit:12}),ve(M.integrationLogs,{limit:12}),ve(M.auditLogs,{limit:12})]);ae.value={generation:m(v),workflows:m(g),errors:m(Q),integrations:m(he),audit:m(Ce)}}function m(v){return v.status==="fulfilled"?v.value:[]}async function S(v){if(!v){U.value=[];return}U.value=await ve(M.wardrobe(v))}async function C(v){var he,Ce;if(!v){a.value=[],c.value=null,_.value="",h.value=[];return}a.value=await ve(M.profileWorkflows(v));const g=(he=c.value)==null?void 0:he.workflow.workflow_id,Q=a.value.some(mt=>mt.workflow_id===g)?g:(Ce=a.value[0])==null?void 0:Ce.workflow_id;Q?await w(Q):c.value=null}async function w(v){var Ce;const g=await ve(M.workflow(v));c.value=g;const Q=_.value,he=g.nodes.some(mt=>mt.node_id===Q)?Q:g.workflow.current_node_id||((Ce=g.nodes[0])==null?void 0:Ce.node_id);he?await P(he):(_.value="",h.value=[])}async function P(v){_.value=v,h.value=await ve(M.nodeImages(v))}async function k(){var g;const v=(g=c.value)==null?void 0:g.workflow.workflow_id;v&&await w(v)}async function y(v,g,Q=!0){B.value=v,vt.value="";try{const he=await g();pe.value=`${v}${t.complete}`,v===t.exportSettings&&(pe.value=`${t.exportDone}: ${!!he.redacted}`),Q&&await u()}catch(he){vt.value=he instanceof Error?he.message:`${v}${t.failed}`}finally{B.value=""}}function x(v){return y(t.retry,()=>oe(M.jobRetry(v)))}function R(v){return y(t.cancel,()=>oe(M.jobCancel(v)))}function O(){H.value={name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""},Ke.value=null}function A(){return y(t.quickDraft,async()=>(Ke.value=await oe(M.quickProfileDraft,{questionnaire:{name:H.value.name,identity:H.value.identity,personality:St(H.value.personality),hair_color:H.value.hair_color,hairstyle:H.value.hairstyle,eye_color:H.value.eye_color,style:H.value.style,clothing_keywords:St(H.value.clothing_keywords)}}),Ke.value),!1)}function L(){var g;const v=(g=Ke.value)==null?void 0:g.profile_preview;return y(t.create,async()=>{const Q=await oe(M.profiles,{name:(v==null?void 0:v.name)||H.value.name,description:H.value.description,base_prompt:v==null?void 0:v.base_prompt,appearance_prompt:v==null?void 0:v.appearance_prompt,style_prompt:v==null?void 0:v.style_prompt,negative_prompt:v==null?void 0:v.negative_prompt});return O(),pe.value=t.profileCreated,Q})}function q(v){return y(t.delete,async()=>{const g=await $t(M.profile(v),{method:"DELETE"});return pe.value=t.profileDeleted,g})}function se(){const v=qe.value;return v?y(t.create,async()=>{const g=await oe(M.profileWorkflows(v),{display_name:Fe.value.display_name,workflow_type:Fe.value.workflow_type});return Fe.value.display_name="",c.value=g,pe.value=t.workflowCreated,g}):Promise.resolve()}function Z(v){return y(t.start,()=>oe(M.workflowStart(v)))}function ge(v){return y(t.cancel,()=>oe(M.workflowCancel(v)))}function we(v){return y(t.archive,()=>oe(M.workflowArchive(v)))}function Ne(){const v=_.value;return v?y(t.generate,async()=>(b.value=await oe(M.nodeGenerate(v),{model_route:Ve.value.model_route||void 0,prompt:Ve.value.prompt||void 0,negative_prompt:Ve.value.negative_prompt||void 0}),await k(),pe.value=t.generationQueued,b.value),!1):Promise.resolve()}function je(v){const g=_.value;return g?y(t.select,async()=>{const Q=await oe(M.nodeSelectImage(g),{image_id:v});return await k(),Q},!1):Promise.resolve()}function Ct(v){const g=_.value;return g?y(t.adopt,async()=>{var he;const Q=await oe(M.nodeAdoptImage(g),{image_id:v,title:(he=xt.value)==null?void 0:he.title});return await k(),Q},!1):Promise.resolve()}function pn(v){return y(t.unselect,async()=>{const g=await oe(M.imageUnselect(v));return await k(),g},!1)}function Oe(v){return y(t.archive,async()=>{const g=await oe(M.imageArchive(v));return await k(),pe.value=t.imageArchived,g},!1)}function Ue(v){return y(t.delete,async()=>{const g=await $t(M.image(v),{method:"DELETE"});return await k(),pe.value=t.imageDeleted,g},!1)}function hn(){return y(t.moveFailed,()=>oe(M.jobDeadLetterMoveFailed,{limit:20}))}function gn(){return y(t.retryDead,()=>oe(M.jobDeadLetterRetry,{limit:20}))}function ji(){var g;const v=((g=ne.value[0])==null?void 0:g.dialect)??"unknown";return y(t.safeProbe,()=>oe(M.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:v,capabilities:{supports:["text_to_image"]}}))}function Ui(){return y(t.validatePlan,async()=>(rt.value=await oe(M.apiDiscoveryValidateRenderPlan,{provider_id:be.value.provider_id,model_id:be.value.model_id,required_capabilities:St(be.value.required_capabilities)}),rt.value),!1)}function Qn(v,g){return y(t.discovery,()=>oe(M.apiDiscoveryManualOverride,{provider_id:v.provider_id,model_id:v.model_id,dialect:v.dialect,status:g,capabilities:v.capabilities}))}function Hi(){const v=qe.value;return v?y(t.matchWardrobe,async()=>(de.value=await oe(M.wardrobeMatch(v),{tags:["daily"]}),de.value),!1):Promise.resolve()}function Wi(){J.value={material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}}function Ki(){const v=qe.value;return v?y(t.importToWardrobe,async()=>{const g=await oe(M.wardrobeImportMaterial(v),{material_id:J.value.material_id,wardrobe_category:J.value.wardrobe_category,tags:St(J.value.tags),season:J.value.season||void 0,style:J.value.style||void 0});return Wi(),pe.value=t.wardrobeImported,g}):Promise.resolve()}function qi(v){const g=qe.value;return g?y(t.delete,async()=>{const Q=await $t(M.wardrobeItem(g,v),{method:"DELETE"});return pe.value=t.wardrobeDeleted,Q}):Promise.resolve()}function Ji(){const v=qe.value;return v?y(t.dailyOutfit,async()=>(Y.value=await oe(M.privateCompanionDailyOutfit,{profile_id:v,categories:St(K.value.categories),mood:K.value.mood,weather:K.value.weather,keywords:St(K.value.keywords),request_source:"astrbot_plugin_private_companion"}),pe.value=t.outfitGenerated,Y.value),!1):Promise.resolve()}function Gi(){return y(t.reload,async()=>{var g;const v=await oe(M.settingsReload);return W.value={config_path:((g=W.value)==null?void 0:g.config_path)??"***PATH***",config:v.config},vn(v.config),v},!1)}function zi(){return y(t.exportSettings,()=>ve(M.settingsExport),!1)}function vn(v=(g=>(g=W.value)==null?void 0:g.config)()??{}){$e.value=JSON.stringify(v,null,2),Qe.value=null,Le.value=null}function Xn(){try{const v=JSON.parse($e.value);if(!v||Array.isArray(v)||typeof v!="object")throw new Error(t.settingsDraftInvalid);return v}catch(v){throw new Error(v instanceof Error?v.message:t.settingsDraftInvalid)}}function Yi(){return y(t.validate,async()=>(Qe.value=await oe(M.settingsValidate,{config:Xn()}),Qe.value),!1)}function Qi(){return y(t.diff,async()=>(Le.value=await oe(M.settingsDiff,{config:Xn()}),Le.value),!1)}function Xi(){return y(t.save,async()=>{var g;const v=await oe(M.settingsSave,{config:Xn()});return W.value={config_path:((g=W.value)==null?void 0:g.config_path)??"***PATH***",config:v.config},vn(v.config),pe.value=t.settingsSaved,v},!1)}function Zi(){var g,Q;const v=(Q=(g=z.value)==null?void 0:g.items.find(he=>{var Ce;return(Ce=he.image_uri)==null?void 0:Ce.startsWith("storage://")}))==null?void 0:Q.image_uri;return v?y(t.signMaterial,async()=>(Te.value=await ve(M.mediaSign,{uri:v}),Te.value),!1):(pe.value=t.noSignableMaterial,Promise.resolve())}function eo(){ye.value={display_name:"",image_uri:"",tags:"",category_id:""}}function to(){return y(t.create,async()=>{const v=await oe(M.materials,{display_name:ye.value.display_name,image_uri:ye.value.image_uri||void 0,thumbnail_uri:ye.value.image_uri||void 0,category_id:ye.value.category_id||void 0,tags:St(ye.value.tags),recognition_status:ye.value.image_uri?"pending_recognition":"pending_upload"});return eo(),pe.value=t.materialCreated,v})}function no(v){return y(t.recognize,()=>oe(M.materialRecognize(v)))}function so(v){return y(t.confirm,()=>oe(M.materialConfirm(v.material_id),{display_name:v.display_name,prompt:v.prompt,negative_prompt:v.negative_prompt,tags:v.tags}))}function lo(v){return y(t.archive,async()=>{const g=await $t(M.material(v),{method:"DELETE"});return pe.value=t.materialArchived,g})}function St(v){return v.split(",").map(g=>g.trim()).filter(Boolean)}function Zn(v=0){return v<1024?`${v} B`:v<1024*1024?`${(v/1024).toFixed(1)} KB`:v<1024*1024*1024?`${(v/1024/1024).toFixed(1)} MB`:`${(v/1024/1024/1024).toFixed(1)} GB`}function Us(v){var g,Q;return((Q=(g=F.value)==null?void 0:g.roots.find(he=>he.uri_prefix===v))==null?void 0:Q.bytes)??0}return(v,g)=>{var Q,he,Ce,mt,_n,Wt,mn,yn,bn,wn,xn,Hs,Ws,Ks,qs,Js,Gs,zs,Ys,Qs,Xs,Zs,el,tl,nl;return E(),T("main",Fa,[o("aside",Va,[o("div",Ba,[o("strong",null,f(((Q=l.value)==null?void 0:Q.display_name)??"ImageStudio"),1),o("span",null,f(((he=l.value)==null?void 0:he.dashboard_user)??"AstrBot"),1)]),o("nav",null,[(E(),T(le,null,xe(n,d=>o("button",{key:d.key,type:"button",class:Wn({active:s.value===d.key}),onClick:me=>s.value=d.key},f(d.label),11,Na)),64))])]),o("section",ja,[o("header",Ua,[o("div",null,[o("h1",null,f(js.value),1),o("p",null,f(((Ce=i.value)==null?void 0:Ce.plugin_status)??"loading")+" / "+f(pe.value||t.waiting),1)]),o("div",Ha,[o("button",{type:"button",disabled:!!B.value,onClick:u},f(B.value||t.refresh),9,Wa)])]),vt.value?(E(),T("section",Ka,f(vt.value),1)):Me.value?(E(),T("section",qa,f(t.loading),1)):(E(),T(le,{key:2},[s.value==="dashboard"?(E(),T("section",Ja,[o("article",null,[o("span",null,f(t.profiles),1),o("strong",null,f(((mt=i.value)==null?void 0:mt.active_profiles)??0),1)]),o("article",null,[o("span",null,f(t.jobs),1),o("strong",null,f(At.value),1)]),o("article",null,[o("span",null,f(t.materials),1),o("strong",null,f(((_n=z.value)==null?void 0:_n.total)??0),1)]),o("article",null,[o("span",null,f(t.storage),1),o("strong",null,f(Zn(((Wt=F.value)==null?void 0:Wt.total_bytes)??((mn=i.value)==null?void 0:mn.storage.total_bytes))),1)])])):G("",!0),s.value==="profiles"?(E(),T("section",Ga,[o("header",null,[o("h2",null,f(t.profileList),1),o("span",null,f(((yn=r.value)==null?void 0:yn.total)??0),1)]),o("div",za,[o("label",null,[o("span",null,f(t.name),1),X(o("input",{"onUpdate:modelValue":g[0]||(g[0]=d=>H.value.name=d),type:"text"},null,512),[[ie,H.value.name]])]),o("label",null,[o("span",null,f(t.identity),1),X(o("input",{"onUpdate:modelValue":g[1]||(g[1]=d=>H.value.identity=d),type:"text"},null,512),[[ie,H.value.identity]])]),o("label",null,[o("span",null,f(t.personality),1),X(o("input",{"onUpdate:modelValue":g[2]||(g[2]=d=>H.value.personality=d),type:"text",placeholder:"calm, brave"},null,512),[[ie,H.value.personality]])]),o("label",null,[o("span",null,f(t.hairColor),1),X(o("input",{"onUpdate:modelValue":g[3]||(g[3]=d=>H.value.hair_color=d),type:"text"},null,512),[[ie,H.value.hair_color]])]),o("label",null,[o("span",null,f(t.hairstyle),1),X(o("input",{"onUpdate:modelValue":g[4]||(g[4]=d=>H.value.hairstyle=d),type:"text"},null,512),[[ie,H.value.hairstyle]])]),o("label",null,[o("span",null,f(t.eyeColor),1),X(o("input",{"onUpdate:modelValue":g[5]||(g[5]=d=>H.value.eye_color=d),type:"text"},null,512),[[ie,H.value.eye_color]])]),o("label",null,[o("span",null,f(t.stylePrompt),1),X(o("input",{"onUpdate:modelValue":g[6]||(g[6]=d=>H.value.style=d),type:"text"},null,512),[[ie,H.value.style]])]),o("label",null,[o("span",null,f(t.tags),1),X(o("input",{"onUpdate:modelValue":g[7]||(g[7]=d=>H.value.clothing_keywords=d),type:"text",placeholder:"white blouse, ribbon"},null,512),[[ie,H.value.clothing_keywords]])]),o("label",Ya,[o("span",null,f(t.description),1),X(o("input",{"onUpdate:modelValue":g[8]||(g[8]=d=>H.value.description=d),type:"text"},null,512),[[ie,H.value.description]])]),o("button",{type:"button",disabled:!!B.value||!H.value.name,onClick:A},f(t.quickDraft),9,Qa),o("button",{type:"button",disabled:!!B.value||!H.value.name,onClick:L},f(t.create),9,Xa)]),Ke.value?(E(),T("pre",Za,f(JSON.stringify(Ke.value,null,2)),1)):G("",!0),o("ul",null,[(E(!0),T(le,null,xe(((bn=r.value)==null?void 0:bn.items)??[],d=>(E(),T("li",{key:d.profile_id},[o("div",null,[o("strong",null,f(d.name),1),o("small",null,f(d.profile_id),1)]),o("div",eu,[o("span",tu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>q(d.profile_id)},f(t.delete),9,nu)])]))),128)),(wn=r.value)!=null&&wn.items.length?G("",!0):(E(),T("li",su,f(t.emptyProfiles),1))])])):G("",!0),s.value==="workflows"?(E(),T("section",lu,[o("div",iu,[o("header",null,[o("h2",null,f(_t.value),1),o("span",null,f(a.value.length),1)]),o("div",ou,[o("label",null,[o("span",null,f(t.name),1),X(o("input",{"onUpdate:modelValue":g[9]||(g[9]=d=>Fe.value.display_name=d),type:"text"},null,512),[[ie,Fe.value.display_name]])]),o("label",null,[o("span",null,f(t.workflowType),1),X(o("select",{"onUpdate:modelValue":g[10]||(g[10]=d=>Fe.value.workflow_type=d)},[...g[32]||(g[32]=[o("option",{value:"single_image"},"single_image",-1),o("option",{value:"character_gradual"},"character_gradual",-1),o("option",{value:"character_fast"},"character_fast",-1),o("option",{value:"quick_profile"},"quick_profile",-1)])],512),[[ps,Fe.value.workflow_type]])]),o("button",{type:"button",disabled:!!B.value||!qe.value||!Fe.value.display_name,onClick:se},f(t.create),9,ru)]),o("ul",null,[(E(!0),T(le,null,xe(a.value,d=>(E(),T("li",{key:d.workflow_id},[o("div",null,[o("strong",null,f(d.display_name),1),o("small",null,f(d.workflow_type)+" / "+f(d.workflow_id),1)]),o("div",au,[o("span",uu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>w(d.workflow_id)},f(t.nodes),9,cu),o("button",{type:"button",disabled:!!B.value,onClick:me=>Z(d.workflow_id)},f(t.start),9,fu),o("button",{type:"button",disabled:!!B.value,onClick:me=>ge(d.workflow_id)},f(t.cancel),9,du),o("button",{type:"button",disabled:!!B.value,onClick:me=>we(d.workflow_id)},f(t.archive),9,pu)])]))),128)),a.value.length?G("",!0):(E(),T("li",hu,f(t.emptyWorkflows),1))])]),o("div",gu,[o("header",null,[o("h2",null,f(t.nodes),1),o("span",null,f(((xn=c.value)==null?void 0:xn.workflow.current_branch)??"main"),1)]),o("div",vu,[o("label",null,[o("span",null,f(t.modelRoute),1),X(o("input",{"onUpdate:modelValue":g[11]||(g[11]=d=>Ve.value.model_route=d),type:"text",placeholder:"image_low"},null,512),[[ie,Ve.value.model_route]])]),o("label",null,[o("span",null,f(t.prompt),1),X(o("input",{"onUpdate:modelValue":g[12]||(g[12]=d=>Ve.value.prompt=d),type:"text"},null,512),[[ie,Ve.value.prompt]])]),o("label",_u,[o("span",null,f(t.negativePrompt),1),X(o("input",{"onUpdate:modelValue":g[13]||(g[13]=d=>Ve.value.negative_prompt=d),type:"text"},null,512),[[ie,Ve.value.negative_prompt]])]),o("button",{type:"button",disabled:!!B.value||!_.value,onClick:Ne},f(t.generate),9,mu)]),o("ul",null,[(E(!0),T(le,null,xe(((Hs=c.value)==null?void 0:Hs.nodes)??[],d=>(E(),T("li",{key:d.node_id},[o("div",null,[o("strong",null,f(d.title),1),o("small",null,f(d.node_key)+" / "+f(d.node_id),1)]),o("div",yu,[o("span",null,f(d.branch_name),1),o("span",bu,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>P(d.node_id)},f(t.images),9,wu)])]))),128)),(Ws=c.value)!=null&&Ws.nodes.length?G("",!0):(E(),T("li",xu,f(t.emptyWorkflows),1))]),o("ul",null,[(E(!0),T(le,null,xe(h.value,d=>(E(),T("li",{key:d.image_id},[o("div",null,[o("strong",null,f(d.image_id),1),o("small",null,f(d.thumbnail_uri??d.image_uri),1)]),o("div",Cu,[d.is_selected?(E(),T("span",Su,f(t.select),1)):G("",!0),o("button",{type:"button",disabled:!!B.value||d.is_selected||d.is_archived,onClick:me=>je(d.image_id)},f(t.select),9,ku),o("button",{type:"button",disabled:!!B.value||d.is_archived,onClick:me=>Ct(d.image_id)},f(t.adopt),9,Pu),o("button",{type:"button",disabled:!!B.value||!d.is_selected,onClick:me=>pn(d.image_id)},f(t.unselect),9,Eu),o("button",{type:"button",disabled:!!B.value||d.is_archived,onClick:me=>Oe(d.image_id)},f(t.archive),9,Tu),o("button",{type:"button",disabled:!!B.value,onClick:me=>Ue(d.image_id)},f(t.delete),9,Ou)])]))),128)),h.value.length?G("",!0):(E(),T("li",Du,f(t.emptyImages),1))]),b.value?(E(),T("pre",Iu,f(JSON.stringify(b.value,null,2)),1)):G("",!0),c.value?(E(),T("pre",Au,f(JSON.stringify(c.value.workflow,null,2)),1)):G("",!0)])])):G("",!0),s.value==="materials"?(E(),T("section",Mu,[o("div",Ru,[o("header",null,[o("h2",null,f(t.materialCategories),1),o("span",null,f(ce.value.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ce.value,d=>(E(),T("li",{key:d.category_id},[o("div",null,[o("strong",null,f(d.name),1),o("small",null,f(d.category_type),1)]),o("span",null,f(d.sort_order),1)]))),128)),ce.value.length?G("",!0):(E(),T("li",$u,f(t.emptyCategories),1))])]),o("div",Lu,[o("header",null,[o("h2",null,f(t.materialItems),1),o("div",Fu,[o("span",null,f(Ht.value)+" "+f(t.pendingConfirm),1),o("button",{type:"button",disabled:!!B.value,onClick:Zi},f(t.signFirstImage),9,Vu)])]),o("div",Bu,[o("label",null,[o("span",null,f(t.name),1),X(o("input",{"onUpdate:modelValue":g[14]||(g[14]=d=>ye.value.display_name=d),type:"text"},null,512),[[ie,ye.value.display_name]])]),o("label",null,[o("span",null,f(t.imageUri),1),X(o("input",{"onUpdate:modelValue":g[15]||(g[15]=d=>ye.value.image_uri=d),type:"text",placeholder:"storage://materials/example.png"},null,512),[[ie,ye.value.image_uri]])]),o("label",null,[o("span",null,f(t.category),1),X(o("select",{"onUpdate:modelValue":g[16]||(g[16]=d=>ye.value.category_id=d)},[o("option",Nu,f(t.allCategories),1),(E(!0),T(le,null,xe(ce.value,d=>(E(),T("option",{key:d.category_id,value:d.category_id},f(d.name),9,ju))),128))],512),[[ps,ye.value.category_id]])]),o("label",null,[o("span",null,f(t.tags),1),X(o("input",{"onUpdate:modelValue":g[17]||(g[17]=d=>ye.value.tags=d),type:"text",placeholder:"daily, top"},null,512),[[ie,ye.value.tags]])]),o("button",{type:"button",disabled:!!B.value||!ye.value.display_name,onClick:to},f(t.create),9,Uu)]),o("ul",null,[(E(!0),T(le,null,xe(((Ks=z.value)==null?void 0:Ks.items)??[],d=>(E(),T("li",{key:d.material_id},[o("div",null,[o("strong",null,f(d.display_name),1),o("small",null,f(d.image_uri??t.noImage),1)]),o("div",Hu,[o("span",Wu,f(d.recognition_status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>no(d.material_id)},f(t.recognize),9,Ku),o("button",{type:"button",disabled:!!B.value||d.recognition_status==="confirmed",onClick:me=>so(d)},f(t.confirm),9,qu),o("button",{type:"button",disabled:!!B.value,onClick:me=>lo(d.material_id)},f(t.archive),9,Ju)])]))),128)),(qs=z.value)!=null&&qs.items.length?G("",!0):(E(),T("li",Gu,f(t.emptyMaterials),1))]),Te.value?(E(),T("pre",zu,f(JSON.stringify(Te.value,null,2)),1)):G("",!0)])])):G("",!0),s.value==="wardrobe"?(E(),T("section",Yu,[o("header",null,[o("h2",null,f(_t.value),1),o("button",{type:"button",disabled:!qe.value||!!B.value,onClick:Hi},f(t.match),9,Qu)]),o("div",Xu,[o("label",null,[o("span",null,f(t.selectMaterial),1),X(o("select",{"onUpdate:modelValue":g[18]||(g[18]=d=>J.value.material_id=d)},[o("option",Zu,f(t.selectMaterial),1),(E(!0),T(le,null,xe(dn.value,d=>(E(),T("option",{key:d.material_id,value:d.material_id},f(d.display_name),9,ec))),128))],512),[[ps,J.value.material_id]])]),o("label",null,[o("span",null,f(t.wardrobeCategory),1),X(o("input",{"onUpdate:modelValue":g[19]||(g[19]=d=>J.value.wardrobe_category=d),type:"text"},null,512),[[ie,J.value.wardrobe_category]])]),o("label",null,[o("span",null,f(t.tags),1),X(o("input",{"onUpdate:modelValue":g[20]||(g[20]=d=>J.value.tags=d),type:"text",placeholder:"daily, top"},null,512),[[ie,J.value.tags]])]),o("label",null,[o("span",null,f(t.season),1),X(o("input",{"onUpdate:modelValue":g[21]||(g[21]=d=>J.value.season=d),type:"text"},null,512),[[ie,J.value.season]])]),o("label",null,[o("span",null,f(t.style),1),X(o("input",{"onUpdate:modelValue":g[22]||(g[22]=d=>J.value.style=d),type:"text"},null,512),[[ie,J.value.style]])]),o("button",{type:"button",disabled:!!B.value||!qe.value||!J.value.material_id||!J.value.wardrobe_category,onClick:Ki},f(t.importToWardrobe),9,tc)]),o("ul",null,[(E(!0),T(le,null,xe(U.value,d=>(E(),T("li",{key:d.wardrobe_item_id},[o("div",null,[o("strong",null,f(d.wardrobe_category),1),o("small",null,f(d.material_id)+" / "+f(d.tags.join(", ")||t.noTags),1)]),o("div",nc,[o("span",null,f(d.usage_count),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>qi(d.wardrobe_item_id)},f(t.delete),9,sc)])]))),128)),U.value.length?G("",!0):(E(),T("li",lc,f(t.emptyWardrobe),1))]),de.value?(E(),T("pre",ic,f(JSON.stringify(de.value,null,2)),1)):G("",!0),o("div",oc,[o("label",null,[o("span",null,f(t.categories),1),X(o("input",{"onUpdate:modelValue":g[23]||(g[23]=d=>K.value.categories=d),type:"text"},null,512),[[ie,K.value.categories]])]),o("label",null,[o("span",null,f(t.mood),1),X(o("input",{"onUpdate:modelValue":g[24]||(g[24]=d=>K.value.mood=d),type:"text"},null,512),[[ie,K.value.mood]])]),o("label",null,[o("span",null,f(t.weather),1),X(o("input",{"onUpdate:modelValue":g[25]||(g[25]=d=>K.value.weather=d),type:"text"},null,512),[[ie,K.value.weather]])]),o("label",null,[o("span",null,f(t.keywords),1),X(o("input",{"onUpdate:modelValue":g[26]||(g[26]=d=>K.value.keywords=d),type:"text"},null,512),[[ie,K.value.keywords]])]),o("button",{type:"button",disabled:!!B.value||!qe.value,onClick:Ji},f(t.dailyOutfit),9,rc)]),Y.value?(E(),T("pre",ac,f(JSON.stringify(Y.value,null,2)),1)):G("",!0)])):G("",!0),s.value==="jobs"?(E(),T("section",uc,[o("header",null,[o("h2",null,f(t.jobs),1),o("div",cc,[o("button",{type:"button",disabled:!!B.value,onClick:hn},f(t.moveFailed),9,fc),o("button",{type:"button",disabled:!!B.value,onClick:gn},f(t.retryDead),9,dc)])]),o("ul",null,[(E(!0),T(le,null,xe(((Js=D.value)==null?void 0:Js.items)??[],d=>(E(),T("li",{key:d.task_id},[o("div",null,[o("strong",null,f(d.task_id),1),o("small",null,f(d.task_type)+" / "+f(d.progress)+"%",1)]),o("div",pc,[o("span",hc,f(d.status),1),d.status==="failed"?(E(),T("button",{key:0,type:"button",onClick:me=>x(d.task_id)},f(t.retry),9,gc)):G("",!0),d.status==="pending"?(E(),T("button",{key:1,type:"button",onClick:me=>R(d.task_id)},f(t.cancel),9,vc)):G("",!0)])]))),128)),(Gs=D.value)!=null&&Gs.items.length?G("",!0):(E(),T("li",_c,f(t.emptyJobs),1))])])):G("",!0),s.value==="discovery"?(E(),T("section",mc,[o("div",yc,[o("header",null,[o("h2",null,f(t.dialects),1),o("button",{type:"button",disabled:!!B.value,onClick:ji},f(t.safeProbe),9,bc)]),o("ul",null,[(E(!0),T(le,null,xe(ne.value,d=>(E(),T("li",{key:d.dialect},[o("div",null,[o("strong",null,f(d.label),1),o("small",null,f(d.capabilities.join(", ")||t.unconfirmed),1)]),o("span",null,f(d.dialect),1)]))),128))]),o("div",wc,[o("label",null,[o("span",null,f(t.provider),1),X(o("input",{"onUpdate:modelValue":g[27]||(g[27]=d=>be.value.provider_id=d),type:"text",placeholder:"local-preview"},null,512),[[ie,be.value.provider_id]])]),o("label",null,[o("span",null,f(t.model),1),X(o("input",{"onUpdate:modelValue":g[28]||(g[28]=d=>be.value.model_id=d),type:"text",placeholder:"metadata-only"},null,512),[[ie,be.value.model_id]])]),o("label",null,[o("span",null,f(t.requiredCapabilities),1),X(o("input",{"onUpdate:modelValue":g[29]||(g[29]=d=>be.value.required_capabilities=d),type:"text",placeholder:"text_to_image"},null,512),[[ie,be.value.required_capabilities]])]),o("button",{type:"button",disabled:!!B.value||!be.value.provider_id||!be.value.model_id,onClick:Ui},f(t.validatePlan),9,xc)]),rt.value?(E(),T("pre",Cc,f(JSON.stringify(rt.value,null,2)),1)):G("",!0)]),o("div",Sc,[o("header",null,[o("h2",null,f(t.capabilityProfiles),1),o("span",null,f($.value.length),1)]),o("ul",null,[(E(!0),T(le,null,xe($.value,d=>(E(),T("li",{key:d.capability_profile_id},[o("div",null,[o("strong",null,f(d.provider_id)+" / "+f(d.model_id),1),o("small",null,f(d.dialect),1)]),o("div",kc,[o("span",Pc,f(d.status),1),o("button",{type:"button",disabled:!!B.value,onClick:me=>Qn(d,"confirmed_supported")},f(t.support),9,Ec),o("button",{type:"button",disabled:!!B.value,onClick:me=>Qn(d,"confirmed_unsupported")},f(t.unsupported),9,Tc),o("button",{type:"button",disabled:!!B.value,onClick:me=>Qn(d,"unconfirmed")},f(t.unconfirmed),9,Oc)])]))),128)),$.value.length?G("",!0):(E(),T("li",Dc,f(t.emptyCapabilities),1))])])])):G("",!0),s.value==="logs"?(E(),T("section",Ic,[o("div",Ac,[o("div",Mc,[o("header",null,[o("h2",null,f(t.generationLogs),1),o("span",null,f(ae.value.generation.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.generation,d=>(E(),T("li",{key:d.task_id},[o("div",null,[o("strong",null,f(d.task_id),1),o("small",null,f(d.status)+" / "+f(d.progress)+"%",1)]),o("span",null,f(d.created_at),1)]))),128)),ae.value.generation.length?G("",!0):(E(),T("li",Rc,f(t.emptyGenerationLogs),1))])]),o("div",$c,[o("header",null,[o("h2",null,f(t.errorLogs),1),o("span",null,f(ae.value.errors.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.errors,d=>(E(),T("li",{key:`${d.source}-${d.id}`},[o("div",null,[o("strong",null,f(d.source),1),o("small",null,f(d.error_message??t.noErrorDetail),1)]),o("span",Lc,f(d.status),1)]))),128)),ae.value.errors.length?G("",!0):(E(),T("li",Fc,f(t.emptyErrors),1))])])]),o("div",Vc,[o("div",Bc,[o("header",null,[o("h2",null,f(t.workflowLogs),1),o("span",null,f(ae.value.workflows.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.workflows,d=>(E(),T("li",{key:d.history_id},[o("div",null,[o("strong",null,f(d.action),1),o("small",null,f(d.title??d.workflow_id),1)]),o("span",null,f(d.branch_name??"main"),1)]))),128)),ae.value.workflows.length?G("",!0):(E(),T("li",Nc,f(t.emptyWorkflowLogs),1))])]),o("div",jc,[o("header",null,[o("h2",null,f(t.integrationLogs),1),o("span",null,f(ae.value.integrations.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.integrations,d=>(E(),T("li",{key:d.integration_log_id},[o("div",null,[o("strong",null,f(d.integration_name),1),o("small",null,f(d.action),1)]),o("span",Uc,f(d.status),1)]))),128)),ae.value.integrations.length?G("",!0):(E(),T("li",Hc,f(t.emptyIntegrationLogs),1))])])]),o("div",Wc,[o("header",null,[o("h2",null,f(t.auditLogs),1),o("span",null,f(ae.value.audit.length),1)]),o("ul",null,[(E(!0),T(le,null,xe(ae.value.audit,d=>(E(),T("li",{key:d.audit_id},[o("div",null,[o("strong",null,f(d.action),1),o("small",null,f(d.actor_type)+" / "+f(d.target_type)+" / "+f(d.target_id),1)]),o("span",null,f(d.created_at),1)]))),128)),ae.value.audit.length?G("",!0):(E(),T("li",Kc,f(t.emptyAuditLogs),1))])])])):G("",!0),s.value==="settings"?(E(),T("section",qc,[o("div",Jc,[o("button",{type:"button",disabled:!!B.value,onClick:Gi},f(t.reload),9,Gc),o("button",{type:"button",disabled:!!B.value,onClick:g[30]||(g[30]=d=>vn())},f(t.reset),9,zc),o("button",{type:"button",disabled:!!B.value,onClick:Yi},f(t.validate),9,Yc),o("button",{type:"button",disabled:!!B.value,onClick:Qi},f(t.diff),9,Qc),o("button",{type:"button",disabled:!!B.value,onClick:Xi},f(t.save),9,Xc),o("button",{type:"button",disabled:!!B.value,onClick:zi},f(t.exportRedacted),9,Zc)]),o("div",ef,[(E(!0),T(le,null,xe(((zs=I.value)==null?void 0:zs.sections)??[],d=>(E(),T("article",{key:d.key},[o("h2",null,f(d.title),1),o("span",null,f(d.fields.length),1)]))),128))]),o("section",tf,[o("header",null,[o("h2",null,f(t.settingsEditor),1),o("span",null,f(((Ys=W.value)==null?void 0:Ys.config_path)??"***PATH***"),1)]),X(o("textarea",{"onUpdate:modelValue":g[31]||(g[31]=d=>$e.value=d),spellcheck:"false"},null,512),[[ie,$e.value]])]),o("div",nf,[o("div",sf,[o("header",null,[o("h2",null,f(t.validationResult),1),o("span",null,f(((Qs=Qe.value)==null?void 0:Qs.valid)??"-"),1)]),o("pre",null,f(JSON.stringify(Qe.value??{},null,2)),1)]),o("div",lf,[o("header",null,[o("h2",null,f(t.diffResult),1),o("span",null,f(((Xs=Le.value)==null?void 0:Xs.changes.length)??0),1)]),o("pre",null,f(JSON.stringify(Le.value??{},null,2)),1)])])])):G("",!0)],64))]),o("aside",of,[o("h2",null,f(t.running),1),o("dl",null,[o("div",null,[g[33]||(g[33]=o("dt",null,"Pending",-1)),o("dd",null,f(((Zs=i.value)==null?void 0:Zs.queue.pending)??0),1)]),o("div",null,[g[34]||(g[34]=o("dt",null,"Running",-1)),o("dd",null,f(((el=i.value)==null?void 0:el.queue.running)??0),1)]),o("div",null,[g[35]||(g[35]=o("dt",null,"Failed",-1)),o("dd",null,f(((tl=i.value)==null?void 0:tl.queue.failed)??0),1)]),o("div",null,[g[36]||(g[36]=o("dt",null,"Dead",-1)),o("dd",null,f(((nl=i.value)==null?void 0:nl.queue.dead_letter)??0),1)])]),o("h2",null,f(t.storage),1),o("dl",null,[o("div",null,[g[37]||(g[37]=o("dt",null,"Images",-1)),o("dd",null,f(Zn(Us("storage://images/"))),1)]),o("div",null,[g[38]||(g[38]=o("dt",null,"Materials",-1)),o("dd",null,f(Zn(Us("storage://materials/"))),1)])])])])}}}),af=(e,t)=>{const n=e.__vccOpts||e;for(const[s,l]of t)n[s]=l;return n},uf=af(rf,[["__scopeId","data-v-f6ebe303"]]);Ia(uf).mount("#app"); diff --git a/web/index.html b/web/index.html index 90fd5f6..b9d2af5 100644 --- a/web/index.html +++ b/web/index.html @@ -1,3 +1,3 @@ - - + +