From 7e63fa31bfb85d1011ccff83c17aeb9410f4ce10 Mon Sep 17 00:00:00 2001 From: YokiiroBW Date: Sun, 5 Jul 2026 13:51:10 +0800 Subject: [PATCH] feat: add node image workbench actions --- frontend/shared/api/endpoints.ts | 8 + frontend/shared/types/image.ts | 29 +++ frontend/standalone-web/src/App.vue | 200 +++++++++++++++++- .../{index-b8CM27h2.js => index-CduHkhQE.js} | 8 +- pages/imagestudio/index.html | 2 +- web/assets/index-BUBaapAF.css | 1 + web/assets/index-BoTUhgnW.css | 1 - web/assets/index-DnBfG3sU.js | 17 -- web/assets/index-DtDjEMov.js | 17 ++ web/index.html | 4 +- 10 files changed, 261 insertions(+), 26 deletions(-) create mode 100644 frontend/shared/types/image.ts rename pages/imagestudio/assets/{index-b8CM27h2.js => index-CduHkhQE.js} (53%) create mode 100644 web/assets/index-BUBaapAF.css delete mode 100644 web/assets/index-BoTUhgnW.css delete mode 100644 web/assets/index-DnBfG3sU.js create mode 100644 web/assets/index-DtDjEMov.js diff --git a/frontend/shared/api/endpoints.ts b/frontend/shared/api/endpoints.ts index b61365a..81f0669 100644 --- a/frontend/shared/api/endpoints.ts +++ b/frontend/shared/api/endpoints.ts @@ -12,6 +12,14 @@ export const endpoints = { workflowCancel: (workflowId: string) => `workflows/${workflowId}/cancel`, workflowArchive: (workflowId: string) => `workflows/${workflowId}/archive`, workflowNodes: (workflowId: string) => `workflows/${workflowId}/nodes`, + nodeGenerate: (nodeId: string) => `nodes/${nodeId}/generate`, + nodeSelectImage: (nodeId: string) => `nodes/${nodeId}/select-image`, + nodeAdoptImage: (nodeId: string) => `nodes/${nodeId}/adopt-image`, + nodeImages: (nodeId: string) => `nodes/${nodeId}/images`, + image: (imageId: string) => `images/${imageId}`, + imageSelect: (imageId: string) => `images/${imageId}/select`, + imageUnselect: (imageId: string) => `images/${imageId}/unselect`, + imageArchive: (imageId: string) => `images/${imageId}/archive`, jobs: "jobs", jobCancel: (taskId: string) => `jobs/${taskId}/cancel`, jobRetry: (taskId: string) => `jobs/${taskId}/retry`, diff --git a/frontend/shared/types/image.ts b/frontend/shared/types/image.ts new file mode 100644 index 0000000..30f80df --- /dev/null +++ b/frontend/shared/types/image.ts @@ -0,0 +1,29 @@ +export interface GenerationImage { + image_id: string + profile_id?: string | null + workflow_id?: string | null + node_id?: string | null + task_id?: string | null + batch_id?: string | null + version_tag?: string | null + image_uri: string + thumbnail_uri?: string | null + positive_prompt?: string | null + negative_prompt?: string | null + model_used?: string | null + model_route?: string | null + seed?: number | null + width?: number | null + height?: number | null + is_selected: boolean + is_archived: boolean + metadata: Record + created_at: string +} + +export interface NodeGenerateResult { + task_id?: string | null + request_id: string + node_status: string + queue_placeholder?: boolean +} diff --git a/frontend/standalone-web/src/App.vue b/frontend/standalone-web/src/App.vue index 2faf7b1..afd5428 100644 --- a/frontend/standalone-web/src/App.vue +++ b/frontend/standalone-web/src/App.vue @@ -5,6 +5,7 @@ import { getJson, postJson, request } from "../../shared/api/client" import type { UiBootstrap } from "../../shared/types/bootstrap" 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 { LogBundle } from "../../shared/types/logs" @@ -48,6 +49,10 @@ const text = { quickDraft: "\u5feb\u901f\u8349\u7a3f", archive: "\u5f52\u6863", start: "\u542f\u52a8", + generate: "\u751f\u6210", + adopt: "\u91c7\u7eb3", + select: "\u9009\u62e9", + unselect: "\u53d6\u9009", recognize: "\u8bc6\u522b", confirm: "\u786e\u8ba4", name: "\u540d\u79f0", @@ -99,6 +104,13 @@ const text = { workflowCreated: "\u5de5\u4f5c\u6d41\u5df2\u521b\u5efa", emptyWorkflows: "\u6682\u65e0\u5de5\u4f5c\u6d41", nodes: "\u8282\u70b9", + images: "\u56fe\u7247", + emptyImages: "\u6682\u65e0\u56fe\u7247", + modelRoute: "\u6a21\u578b\u8def\u7531", + prompt: "\u63d0\u793a\u8bcd", + generationQueued: "\u751f\u6210\u5df2\u5165\u961f", + imageArchived: "\u56fe\u7247\u5df2\u5f52\u6863", + imageDeleted: "\u56fe\u7247\u5df2\u5220\u9664", currentBranch: "\u5f53\u524d\u5206\u652f", materialCategories: "\u7d20\u6750\u5206\u7c7b", materialItems: "\u7d20\u6750\u6761\u76ee", @@ -175,6 +187,9 @@ const dashboard = ref(null) const profiles = ref(null) const workflows = ref([]) const workflowDetail = ref(null) +const selectedNodeId = ref("") +const nodeImages = ref([]) +const nodeGenerateResult = ref(null) const jobs = ref(null) const settingsSchema = ref(null) const currentSettings = ref(null) @@ -206,6 +221,11 @@ const workflowDraft = ref({ display_name: "", workflow_type: "single_image", }) +const nodeGenerateDraft = ref({ + model_route: "", + prompt: "", + negative_prompt: "", +}) const materialDraft = ref({ display_name: "", image_uri: "", @@ -249,6 +269,7 @@ const pendingRecognition = computed( 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 activeTitle = computed(() => { const titles: Record = { dashboard: text.dashboard, @@ -350,6 +371,8 @@ async function loadWorkflows(profileId?: string) { if (!profileId) { workflows.value = [] workflowDetail.value = null + selectedNodeId.value = "" + nodeImages.value = [] return } workflows.value = await getJson(endpoints.profileWorkflows(profileId)) @@ -365,7 +388,30 @@ async function loadWorkflows(profileId?: string) { } async function loadWorkflowDetail(workflowId: string) { - workflowDetail.value = await getJson(endpoints.workflow(workflowId)) + const detail = await getJson(endpoints.workflow(workflowId)) + workflowDetail.value = detail + const retainedNodeId = selectedNodeId.value + const nodeId = detail.nodes.some((node) => node.node_id === retainedNodeId) + ? retainedNodeId + : detail.workflow.current_node_id || detail.nodes[0]?.node_id + if (nodeId) { + await loadNodeImages(nodeId) + } else { + selectedNodeId.value = "" + nodeImages.value = [] + } +} + +async function loadNodeImages(nodeId: string) { + selectedNodeId.value = nodeId + nodeImages.value = await getJson(endpoints.nodeImages(nodeId)) +} + +async function refreshSelectedWorkflow() { + const workflowId = workflowDetail.value?.workflow.workflow_id + if (workflowId) { + await loadWorkflowDetail(workflowId) + } } async function runOperation(label: string, action: () => Promise, refresh = true) { @@ -493,6 +539,94 @@ function archiveWorkflow(workflowId: string) { return runOperation(text.archive, () => postJson(endpoints.workflowArchive(workflowId))) } +function generateSelectedNode() { + const nodeId = selectedNodeId.value + if (!nodeId) return Promise.resolve() + return runOperation( + text.generate, + async () => { + nodeGenerateResult.value = await postJson(endpoints.nodeGenerate(nodeId), { + model_route: nodeGenerateDraft.value.model_route || undefined, + prompt: nodeGenerateDraft.value.prompt || undefined, + negative_prompt: nodeGenerateDraft.value.negative_prompt || undefined, + }) + await refreshSelectedWorkflow() + lastOperation.value = text.generationQueued + return nodeGenerateResult.value + }, + false, + ) +} + +function selectNodeImage(imageId: string) { + const nodeId = selectedNodeId.value + if (!nodeId) return Promise.resolve() + return runOperation( + text.select, + async () => { + const image = await postJson(endpoints.nodeSelectImage(nodeId), { image_id: imageId }) + await refreshSelectedWorkflow() + return image + }, + false, + ) +} + +function adoptNodeImage(imageId: string) { + const nodeId = selectedNodeId.value + if (!nodeId) return Promise.resolve() + return runOperation( + text.adopt, + async () => { + const history = await postJson>(endpoints.nodeAdoptImage(nodeId), { + image_id: imageId, + title: selectedNode.value?.title, + }) + await refreshSelectedWorkflow() + return history + }, + false, + ) +} + +function unselectImage(imageId: string) { + return runOperation( + text.unselect, + async () => { + const image = await postJson(endpoints.imageUnselect(imageId)) + await refreshSelectedWorkflow() + return image + }, + false, + ) +} + +function archiveImage(imageId: string) { + return runOperation( + text.archive, + async () => { + const image = await postJson(endpoints.imageArchive(imageId)) + await refreshSelectedWorkflow() + lastOperation.value = text.imageArchived + return image + }, + false, + ) +} + +function deleteImage(imageId: string) { + return runOperation( + text.delete, + async () => { + const image = await request(endpoints.image(imageId), { method: "DELETE" }) + await refreshSelectedWorkflow() + lastOperation.value = text.imageDeleted + return image + }, + false, + ) +} + function moveFailedJobs() { return runOperation(text.moveFailed, () => postJson(endpoints.jobDeadLetterMoveFailed, { limit: 20 })) } @@ -966,6 +1100,23 @@ function storageRootBytes(uriPrefix: string) {

{{ text.nodes }}

{{ workflowDetail?.workflow.current_branch ?? "main" }} +
+ + + + +
  • @@ -975,10 +1126,57 @@ function storageRootBytes(uriPrefix: string) {
    {{ node.branch_name }} {{ node.status }} +
  • {{ text.emptyWorkflows }}
+
    +
  • +
    + {{ image.image_id }} + {{ image.thumbnail_uri ?? image.image_uri }} +
    +
    + {{ text.select }} + + + + + +
    +
  • +
  • {{ text.emptyImages }}
  • +
+
{{ JSON.stringify(nodeGenerateResult, null, 2) }}
{{ JSON.stringify(workflowDetail.workflow, null, 2) }}
diff --git a/pages/imagestudio/assets/index-b8CM27h2.js b/pages/imagestudio/assets/index-CduHkhQE.js similarity index 53% rename from pages/imagestudio/assets/index-b8CM27h2.js rename to pages/imagestudio/assets/index-CduHkhQE.js index a6fc2c2..4bf819f 100644 --- a/pages/imagestudio/assets/index-b8CM27h2.js +++ b/pages/imagestudio/assets/index-CduHkhQE.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=[],Ie=()=>{},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,Ds=(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]",R=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)||R(e))&&R(e.then)&&R(e.catch),Bn=Object.prototype.toString,Pt=e=>Bn.call(e),Jr=e=>Pt(e).slice(8,-1),Kn=e=>Pt(e)==="[object Object]",$s=e=>Y(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,mt=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),fs=(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||!R(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[cs(n,i)+" =>"]=r,s),{})}:Hn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>cs(s))}:Fe(t)?cs(t):B(t)&&!M(t)&&!Kn(t)?String(t):t,cs=(e,t="")=>{var s;return Fe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**/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};/** * @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 De(){Qn.push(ye),ye=!1}function $e(){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 fi{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class 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 fi(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=c=>{c&&c.trigger()};if(Ns(),t==="clear")o.forEach(l);else{const c=M(e),d=c&&$s(s);if(c&&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":c?d&&l(o.get("length")):(l(o.get(Ze)),rt(e)&&l(o.get(Ss)));break;case"delete":c||(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 ci={__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 fn(this,"reduce",e,t)},reduceRight(e,...t){return fn(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),c=o[t];if(c!==ui[t]){const p=c.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=c.call(o,d,n);return l&&r?r(a):a}function fn(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 c=r[t](o,...n);return l?Ae(e,c):c}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=[]){De(),Ns();const n=j(e)[t].apply(e,s);return Bs(),$e(),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 c;if(o&&(c=ci[s]))return c;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 c=o&&$s(s)?l:l.value;return r&&B(c)?Ts(c):c}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)&&$s(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 mi(e,t,s){return function(...n){const r=this.__v_raw,i=j(r),o=rt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=r[e](...n),a=s?Cs:t?lt:ve;return!t&&ee(i,"iterate",c?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:c}=jt(o),d=t?Cs:e?lt:ve;if(c.call(o,r))return d(i.get(r));if(c.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,c=j(l),d=t?Cs:e?lt:ve;return!e&&ee(c,"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),c=!t&&!pe(r)&&!Ke(r)?l:r;return o.has.call(i,c)||Me(r,c)&&o.has.call(i,r)||Me(l,c)&&o.has.call(i,l)||(i.add(c),Ne(i,"add",c,c)),this},set(r,i){!t&&!pe(i)&&!Ke(i)&&(i=j(i));const o=j(this),{has:l,get:c}=jt(o);let d=l.call(o,r);d||(r=j(r),d=l.call(o,r));const a=c.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 c=o.call(i,r);c||(r=j(r),c=o.call(i,r)),l&&l.call(i,r);const d=i.delete(r);return c&&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]=mi(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,_i,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 Ri(e,t,s=!1){let n,r;return R(e)?n=e:(n=e.get,r=e.set),new Mi(n,r,s)}const Nt={},Ut=new WeakMap;let Xe;function Ii(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:c}=s,d=O=>r?O:pe(O)||r===!1||r===0?We(O,1):We(O);let a,p,S,C,$=!1,A=!1;if(te(e)?(p=()=>e.value,$=pe(e)):Qe(e)?(p=()=>d(e),$=!0):M(e)?(A=!0,$=e.some(O=>Qe(O)||pe(O)),p=()=>e.map(O=>{if(te(O))return O.value;if(Qe(O))return d(O);if(R(O))return c?c(O,2):O()})):R(e)?t?p=c?()=>c(e,2):e:p=()=>{if(S){De();try{S()}finally{$e()}}const O=Xe;Xe=a;try{return c?c(e,3,[C]):e(C)}finally{Xe=O}}:p=Ie,t&&r){const O=p,J=r===!0?1/0:r;p=()=>We(O(),J)}const k=oi(),K=()=>{a.stop(),k&&k.active&&Ds(k.effects,a)};if(i&&t){const O=t;t=(...J)=>{const fe=O(...J);return K(),fe}}let I=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||$||(A?J.some((fe,ce)=>Me(fe,I[ce])):Me(J,I))){S&&S();const fe=Xe;Xe=a;try{const ce=[J,I===Nt?void 0:A&&I[0]===Nt?[]:I,C];I=J,c?c(t,3,ce):t(...ce)}finally{Xe=fe}}}else a.run()};return l&&l(H),a=new Gn(p),a.scheduler=o?()=>o(H,!1):H,C=O=>Ii(O,!1,a),S=a.onStop=()=>{const O=Ut.get(a);if(O){if(c)c(O,4);else for(const J of O)J();Ut.delete(a)}},t?n?H(!0):I=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 $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}/** * @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(R(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,cr()}}function cr(){Vt||(Vt=fr.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),cr()}function cn(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&&R(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),c=t&&n||!t&&i!=="post";let d;if(At){if(i==="sync"){const C=Ki();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!c){const C=()=>{};return C.stop=Ie,C.resume=Ie,C.pause=Ie,C}}const a=ie;l.call=(C,$,A)=>xe(C,a,$,A);let p=!1;i==="post"?l.scheduler=C=>{le(C,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(C,$)=>{$?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):c&&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;R(t)?i=t:(i=t.handler,s=t);const o=Rt(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 R(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:c}=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),$=(A,k)=>!(k&&un(a,k));if(d!=null&&d!==c){if(an(t),Y(d))a[d]=null,C(d)&&(p[d]=null);else if(te(d)){const A=t;$(d,A.k)&&(d.value=null),A.k&&(a[A.k]=null)}}if(R(c)){De();try{Mt(c,l,12,[o,a])}finally{$e()}}else{const A=Y(c),k=te(c);if(A||k){const K=()=>{if(e.f){const I=A?C(c)?p[c]:a[c]:$()||!e.k?c.value:a[e.k];if(r)M(I)&&Ds(I,i);else if(M(I))I.includes(i)||I.push(i);else if(A)a[c]=[i],C(c)&&(p[c]=a[c]);else{const H=[i];$(c,e.k)&&(c.value=H),e.k&&(a[e.k]=H)}}else A?(a[c]=o,C(c)&&(p[c]=o)):k&&($(c,e.k)&&(c.value=o),e.k&&(a[e.k]=o))};if(o){const I=()=>{K(),qt.delete(e)};I.id=-1,qt.set(e,I),le(I,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,_r=e=>e.type.__isKeepAlive;function ki(e,t){mr(e,"a",t)}function Gi(e,t){mr(e,"da",t)}function mr(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;)_r(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(()=>{Ds(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)=>{De();const l=Rt(s),c=xe(t,s,e,o);return l(),$e(),c});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 c=!1,d=!1;l&&(c=!pe(e),d=Ke(e),e=Qt(e)),r=new Array(e.length);for(let a=0,p=e.length;at(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,d=l.length;ce?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=$i.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:c}=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=c.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 c;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)||(c=o.__cssModules)&&c[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:c,inject:d,created:a,beforeMount:p,mounted:S,beforeUpdate:C,updated:$,activated:A,deactivated:k,beforeDestroy:K,beforeUnmount:I,destroyed:H,unmounted:O,render:J,renderTracked:fe,renderTriggered:ce,errorCaptured:ge,serverPrefetch:de,expose:ke,inheritAttrs:ct,components:It,directives:Ft,filters:rs}=t;if(d&&oo(d,n,null),o)for(const G in o){const V=o[G];R(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=R(V)?V.bind(s,s):R(V.get)?V.get.bind(s,s):Ie,Dt=!R(V)&&R(V.set)?V.set.bind(s):Ie,Je=Rs({get:Ge,set:Dt});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(c){const G=R(c)?c.call(s):c;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,$),se(ki,A),se(Gi,k),se(so,ge),se(to,fe),se(eo,ce),se(Zi,I),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===Ie&&(e.render=J),ct!=null&&(e.inheritAttrs=ct),It&&(e.components=It),Ft&&(e.directives=Ft),de&&gr(e)}function oo(e,t,s=Ie){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];R(i)&&hs(r,i)}else if(R(e))hs(r,e.bind(s));else if(B(e))if(M(e))e.forEach(i=>vr(i,t,s,n));else{const i=R(e.handler)?e.handler.bind(s):t[e.handler];R(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 c;return l?c=l:!r.length&&!s&&!n?c=t:(c={},r.length&&r.forEach(d=>kt(c,d,o,!0)),kt(c,t,o)),B(t)&&i.set(t,c),c}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:_n,emits:_n,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:co,provide:gn,inject:fo};function gn(e,t){return t?e?function(){return Q(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function fo(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,c=n[l=ls(t)]||n[l=ls(be(t))];!c&&i&&(c=n[l=ls(et(t))]),c&&xe(c,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(!R(e)){const c=d=>{const a=Sr(d,t,!0);a&&(l=!0,Q(o,a))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(B(e)&&n.set(e,null),null):(M(i)?i.forEach(c=>o[c]=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 mn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:d,renderCache:a,props:p,data:S,setupState:C,ctx:$,inheritAttrs:A}=e,k=Wt(e);let K,I;try{if(s.shapeFlag&4){const O=r||n,J=O;K=Pe(d.call(J,O,a,p,C,S,$)),I=l}else{const O=t;K=Pe(O.length>1?O(p,{attrs:l,slots:o,emit:c}):O(p,null)),I=t.props?l:_o(l)}}catch(O){St.length=0,es(O,e,1),K=Be(qe)}let H=K;if(I&&A!==!1){const O=Object.keys(I),{shapeFlag:J}=H;O.length&&J&7&&(i&&O.some(zt)&&(I=mo(I,i)),H=ft(H,I,!1,!0))}return s.dirs&&(H=ft(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 _o=e=>{let t;for(const s in e)(s==="class"||s==="style"||Yt(s))&&((t||(t={}))[s]=e[s]);return t},mo=(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:c}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?bn(n,o,d):!!o;if(c&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),[c]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{c=!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&&!c)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(R(i))t[r]=So(r,i,n);else if(i!=null){const o=zs(i);t[r]=()=>o}}},Rr=(e,t)=>{const s=zs(t);e.slots.default=()=>s},Ir=(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?(Ir(n,t,s),s&&Vn(n,"_",r,!0)):Mr(t,n)}else t&&Rr(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:Ir(r,t,s):(i=!t.$stable,Mr(t,r)),o=t}else t&&(Rr(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:c,setText:d,setElementText:a,parentNode:p,nextSibling:S,setScopeId:C=Ie,insertStaticContent:$}=e,A=(f,u,h,b=null,m=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(f===u)return;f&&!pt(f,u)&&(b=$t(f),we(f,m,g,!0),f=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:E,shapeFlag:w}=u;switch(_){case ns:k(f,u,h,b);break;case qe:K(f,u,h,b);break;case ms:f==null&&I(u,h,b,x);break;case me:It(f,u,h,b,m,g,x,v,y);break;default:w&1?J(f,u,h,b,m,g,x,v,y):w&6?Ft(f,u,h,b,m,g,x,v,y):(w&64||w&128)&&_.process(f,u,h,b,m,g,x,v,y,at)}E!=null&&m?vt(E,f&&f.ref,g,u||f,!u):E==null&&f&&f.ref!=null&&vt(f.ref,null,g,f,!0)},k=(f,u,h,b)=>{if(f==null)n(u.el=l(u.children),h,b);else{const m=u.el=f.el;u.children!==f.children&&d(m,u.children)}},K=(f,u,h,b)=>{f==null?n(u.el=c(u.children||""),h,b):u.el=f.el},I=(f,u,h,b)=>{[f.el,f.anchor]=$(f.children,u,h,b,f.el,f.anchor)},H=({el:f,anchor:u},h,b)=>{let m;for(;f&&f!==u;)m=S(f),n(f,h,b),f=m;n(u,h,b)},O=({el:f,anchor:u})=>{let h;for(;f&&f!==u;)h=S(f),r(f),f=h;r(u)},J=(f,u,h,b,m,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),f==null)fe(u,h,b,m,g,x,v,y);else{const _=f.el&&f.el._isVueCE?f.el:null;try{_&&_._beginPatch(),de(f,u,m,g,x,v,y)}finally{_&&_._endPatch()}}},fe=(f,u,h,b,m,g,x,v)=>{let y,_;const{props:E,shapeFlag:w,transition:T,dirs:P}=f;if(y=f.el=o(f.type,g,E&&E.is,E),w&8?a(y,f.children):w&16&&ge(f.children,y,null,b,m,_s(f,g),x,v),P&&Ye(f,null,b,"created"),ce(y,f,f.scopeId,x,b),E){for(const U in E)U!=="value"&&!mt(U)&&i(y,U,null,E[U],g,b);"value"in E&&i(y,"value",null,E.value,g),(_=E.onVnodeBeforeMount)&&Ee(_,b,f)}P&&Ye(f,null,b,"beforeMount");const D=Ao(m,T);D&&T.beforeEnter(y),n(y,u,h),((_=E&&E.onVnodeMounted)||D||P)&&le(()=>{try{_&&Ee(_,b,f),D&&T.enter(y),P&&Ye(f,null,b,"mounted")}finally{}},m)},ce=(f,u,h,b,m)=>{if(h&&C(f,h),b)for(let g=0;g{for(let _=y;_{const v=u.el=f.el;let{patchFlag:y,dynamicChildren:_,dirs:E}=u;y|=f.patchFlag&16;const w=f.props||q,T=u.props||q;let P;if(h&&ze(h,!1),(P=T.onVnodeBeforeUpdate)&&Ee(P,h,u,f),E&&Ye(u,f,h,"beforeUpdate"),h&&ze(h,!0),_&&(!f.dynamicChildren||f.dynamicChildren.length!==_.length)&&(y=0,x=!1,_=null),(w.innerHTML&&T.innerHTML==null||w.textContent&&T.textContent==null)&&a(v,""),_?ke(f.dynamicChildren,_,v,h,b,_s(u,m),g):x||V(f,u,v,null,h,b,_s(u,m),g,!1),y>0){if(y&16)ct(v,w,T,h,m);else if(y&2&&w.class!==T.class&&i(v,"class",null,T.class,m),y&4&&i(v,"style",w.style,T.style,m),y&8){const D=u.dynamicProps;for(let U=0;U{P&&Ee(P,h,u,f),E&&Ye(u,f,h,"updated")},b)},ke=(f,u,h,b,m,g,x)=>{for(let v=0;v{if(u!==h){if(u!==q)for(const g in u)!mt(g)&&!(g in h)&&i(f,g,u[g],null,m,b);for(const g in h){if(mt(g))continue;const x=h[g],v=u[g];x!==v&&g!=="value"&&i(f,g,v,x,m,b)}"value"in h&&i(f,"value",u.value,h.value,m)}},It=(f,u,h,b,m,g,x,v,y)=>{const _=u.el=f?f.el:l(""),E=u.anchor=f?f.anchor:l("");let{patchFlag:w,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),f==null?(n(_,h,b),n(E,h,b),ge(u.children||[],h,E,m,g,x,v,y)):w>0&&w&64&&T&&f.dynamicChildren&&f.dynamicChildren.length===T.length?(ke(f.dynamicChildren,T,h,m,g,x,v),(u.key!=null||m&&u===m.subTree)&&Fr(f,u,!0)):V(f,u,h,E,m,g,x,v,y)},Ft=(f,u,h,b,m,g,x,v,y)=>{u.slotScopeIds=v,f==null?u.shapeFlag&512?m.ctx.activate(u,h,b,x,y):rs(u,h,b,m,g,x,y):Zs(f,u,y)},rs=(f,u,h,b,m,g,x)=>{const v=f.component=No(f,b,m);if(_r(f)&&(v.ctx.renderer=at),Ko(v,!1,x),v.asyncDep){if(m&&m.registerDep(v,se,x),!f.el){const y=v.subTree=Be(qe);K(null,y,u,h),f.placeholder=y.el}}else se(v,f,u,h,m,g,x)},Zs=(f,u,h)=>{const b=u.component=f.component;if(bo(f,u,h))if(b.asyncDep&&!b.asyncResolved){G(b,u,h);return}else b.next=u,b.update();else u.el=f.el,b.vnode=u},se=(f,u,h,b,m,g,x)=>{const v=()=>{if(f.isMounted){let{next:w,bu:T,u:P,parent:D,vnode:U}=f;{const Ce=Dr(f);if(Ce){w&&(w.el=U.el,G(f,w,x)),Ce.asyncDep.then(()=>{le(()=>{f.isUnmounted||_()},m)});return}}let N=w,z;ze(f,!1),w?(w.el=U.el,G(f,w,x)):w=U,T&&fs(T),(z=w.props&&w.props.onVnodeBeforeUpdate)&&Ee(z,D,w,U),ze(f,!0);const X=mn(f),Se=f.subTree;f.subTree=X,A(Se,X,p(Se.el),$t(Se),f,m,g),w.el=X.el,N===null&&yo(f,X.el),P&&le(P,m),(z=w.props&&w.props.onVnodeUpdated)&&le(()=>Ee(z,D,w,U),m)}else{let w;const{el:T,props:P}=u,{bm:D,m:U,parent:N,root:z,type:X}=f,Se=xt(u);ze(f,!1),D&&fs(D),!Se&&(w=P&&P.onVnodeBeforeMount)&&Ee(w,N,u),ze(f,!0);{z.ce&&z.ce._hasShadowRoot()&&z.ce._injectChildStyle(X,f.parent?f.parent.type:void 0);const Ce=f.subTree=mn(f);A(null,Ce,h,b,f,m,g),u.el=Ce.el}if(U&&le(U,m),!Se&&(w=P&&P.onVnodeMounted)){const Ce=u;le(()=>Ee(w,N,Ce),m)}(u.shapeFlag&256||N&&xt(N.vnode)&&N.vnode.shapeFlag&256)&&f.a&&le(f.a,m),f.isMounted=!0,u=h=b=null}};f.scope.on();const y=f.effect=new Gn(v);f.scope.off();const _=f.update=y.run.bind(y),E=f.job=y.runIfDirty.bind(y);E.i=f,E.id=f.uid,y.scheduler=()=>Gs(E),ze(f,!0),_()},G=(f,u,h)=>{u.component=f;const b=f.vnode.props;f.vnode=u,f.next=null,xo(f,u.props,b,h),To(f,u.children,h),De(),cn(f),$e()},V=(f,u,h,b,m,g,x,v,y=!1)=>{const _=f&&f.children,E=f?f.shapeFlag:0,w=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){Dt(_,w,h,b,m,g,x,v,y);return}else if(T&256){Ge(_,w,h,b,m,g,x,v,y);return}}P&8?(E&16&&ut(_,m,g),w!==_&&a(h,w)):E&16?P&16?Dt(_,w,h,b,m,g,x,v,y):ut(_,m,g,!0):(E&8&&a(h,""),P&16&&ge(w,h,b,m,g,x,v,y))},Ge=(f,u,h,b,m,g,x,v,y)=>{f=f||nt,u=u||nt;const _=f.length,E=u.length,w=Math.min(_,E);let T;for(T=0;TE?ut(f,m,g,!0,!1,w):ge(u,h,b,m,g,x,v,y,w)},Dt=(f,u,h,b,m,g,x,v,y)=>{let _=0;const E=u.length;let w=f.length-1,T=E-1;for(;_<=w&&_<=T;){const P=f[_],D=u[_]=y?He(u[_]):Pe(u[_]);if(pt(P,D))A(P,D,h,null,m,g,x,v,y);else break;_++}for(;_<=w&&_<=T;){const P=f[w],D=u[T]=y?He(u[T]):Pe(u[T]);if(pt(P,D))A(P,D,h,null,m,g,x,v,y);else break;w--,T--}if(_>w){if(_<=T){const P=T+1,D=PT)for(;_<=w;)we(f[_],m,g,!0),_++;else{const P=_,D=_,U=new Map;for(_=D;_<=T;_++){const ue=u[_]=y?He(u[_]):Pe(u[_]);ue.key!=null&&U.set(ue.key,_)}let N,z=0;const X=T-D+1;let Se=!1,Ce=0;const dt=new Array(X);for(_=0;_=X){we(ue,m,g,!0);continue}let Te;if(ue.key!=null)Te=U.get(ue.key);else for(N=D;N<=T;N++)if(dt[N-D]===0&&pt(ue,u[N])){Te=N;break}Te===void 0?we(ue,m,g,!0):(dt[Te-D]=_+1,Te>=Ce?Ce=Te:Se=!0,A(ue,u[Te],h,null,m,g,x,v,y),z++)}const tn=Se?Po(dt):nt;for(N=tn.length-1,_=X-1;_>=0;_--){const ue=D+_,Te=u[ue],sn=u[ue+1],nn=ue+1{const{el:g,type:x,transition:v,children:y,shapeFlag:_}=f;if(_&6){Je(f.component.subTree,u,h,b);return}if(_&128){f.suspense.move(u,h,b);return}if(_&64){x.move(f,u,h,at);return}if(x===me){n(g,u,h);for(let w=0;wv.enter(g),m));else{const{leave:w,delayLeave:T,afterLeave:P}=v,D=()=>{f.ctx.isUnmounted?r(g):n(g,u,h)},U=()=>{const N=g._isLeaving||!!g[ps];g._isLeaving&&g[ps](!0),v.persisted&&!N?D():w(g,()=>{D(),P&&P()})};T?T(g,D,U):U()}else n(g,u,h)},we=(f,u,h,b=!1,m=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:_,shapeFlag:E,patchFlag:w,dirs:T,cacheIndex:P,memo:D}=f;if(w===-2&&(m=!1),v!=null&&(De(),vt(v,null,h,f,!0),$e()),P!=null&&(u.renderCache[P]=void 0),E&256){u.ctx.deactivate(f);return}const U=E&1&&T,N=!xt(f);let z;if(N&&(z=x&&x.onVnodeBeforeUnmount)&&Ee(z,u,f),E&6)Wr(f.component,h,b);else{if(E&128){f.suspense.unmount(h,b);return}U&&Ye(f,null,u,"beforeUnmount"),E&64?f.type.remove(f,u,h,at,b):_&&!_.hasOnce&&(g!==me||w>0&&w&64)?ut(_,u,h,!1,!0):(g===me&&w&384||!m&&E&16)&&ut(y,u,h),b&&Qs(f)}const X=D!=null&&P==null;(N&&(z=x&&x.onVnodeUnmounted)||U||X)&&le(()=>{z&&Ee(z,u,f),U&&Ye(f,null,u,"unmounted"),X&&(f.el=null)},h)},Qs=f=>{const{type:u,el:h,anchor:b,transition:m}=f;if(u===me){Vr(h,b);return}if(u===ms){O(f);return}const g=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:v}=m,y=()=>x(h,g);v?v(f.el,g,y):y()}else g()},Vr=(f,u)=>{let h;for(;f!==u;)h=S(f),r(f),f=h;r(u)},Wr=(f,u,h)=>{const{bum:b,scope:m,job:g,subTree:x,um:v,m:y,a:_}=f;vn(y),vn(_),b&&fs(b),m.stop(),g&&(g.flags|=8,we(x,f,u,h)),v&&le(v,u),le(()=>{f.isUnmounted=!0},u)},ut=(f,u,h,b=!1,m=!1,g=0)=>{for(let x=g;x{if(f.shapeFlag&6)return $t(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=S(f.anchor||f.el),h=u&&u[Vi];return h?S(h):u};let is=!1;const en=(f,u,h)=>{let b;f==null?u._vnode&&(we(u._vnode,null,null,!0),b=u._vnode.component):A(u._vnode||null,f,u,null,null,null,h),u._vnode=f,is||(is=!0,cn(b),ur(),is=!1)},at={p:A,um:we,m:Je,r:Qs,mt:rs,mc:ge,pc:V,pbc:ke,n:$t,o:e};return{render:en,hydrate:void 0,createApp:ao(en)}}function _s({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 Dr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Dr(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 me=Symbol.for("v-fgt"),ns=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),ms=Symbol.for("v-stc"),St=[];let ae=null;function he(e=!1){St.push(ae=e?null:[])}function Ro(){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,Ro(),Ot>0&&ae&&ae.push(e),e}function _e(e,t,s,n,r,i){return Lr(F(e,t,s,n,r,i,!0))}function Io(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)||R(e)?{i:Re,r:e,k:t,f:!!s}:e:null);function F(e,t=null,s=null,n=0,r=null,i=e===me?0:1,o=!1,l=!1){const c={__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:Re};return l?(Gt(c,s),i&128&&e.normalize(c)):s&&(c.shapeFlag|=Y(s)?8:16),Ot>0&&!o&&ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&ae.push(c),c}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=ft(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=Do(t);let{class:l,style:c}=t;l&&!Y(l)&&(t.class=Ls(l)),B(c)&&(ks(c)&&!M(c)&&(c=Q({},c)),t.style=js(c))}const o=Y(e)?1:jr(e)?128:Wi(e)?64:B(e)?4:R(e)?2:0;return F(e,t,s,n,r,o,i,!0)}function Do(e){return e?ks(e)||Or(e)?Q({},e):e:null}function ft(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=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!==me?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Js(a,c.clone(a)),a}function $o(e=" ",t=0){return Be(ns,null,e,t)}function bs(e="",t=!1){return t?(he(),Io(qe,null,e)):Be(qe,null,e)}function Pe(e){return e==null||typeof e=="boolean"?Be(qe):M(e)?Be(me,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:ft(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=Re:r===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(R(t)){if(n&65){Gt(e,{default:t});return}t={default:t,_ctx:Re},s=32}else t=String(t),n&64?(s=16,t=[$o(t)]):s=8;e.children=t,e.shapeFlag|=s}function jo(...e){const t={};for(let s=0;sie||Re;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 Rt=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){De();const r=e.setupContext=n.length>1?Wo(e):null,i=Rt(e),o=Mt(n,e,0,[e.props,r]),l=Nn(o);if($e(),i(),(l||e.sp)&&!xt(e)&&gr(e),l){if(o.then(wn,wn),t)return o.then(c=>{Sn(e,c)}).catch(c=>{es(c,e,0)});e.asyncDep=o}else Sn(e,o)}else Kr(e)}function Sn(e,t,s){R(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||Ie);{const r=Rt(e);De();try{io(e)}finally{$e(),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 R(e)&&"__vccOpts"in e}const Rs=(e,t)=>Ri(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=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";/** * @vue/runtime-dom v3.5.39 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Is;const Cn=typeof window<"u"&&window.trustedTypes;if(Cn)try{Is=Cn.createPolicy("vue",{createHTML:e=>e})}catch{}const Ur=Is?e=>Is.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 c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}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&&_t(n,l,"")}else for(const o in t)s[o]==null&&_t(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)||_t(n,o,l):_t(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 _t(e,t,s){if(M(s))s.forEach(n=>_t(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 c=0;ce.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))?(Rn(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)))?Rn(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)&&R(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 _l=Q({patchProp:hl},Yo);let Dn;function ml(){return Dn||(Dn=Eo(_l))}const bl=((...e)=>{const t=ml().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=vl(n);if(!r)return;const i=t._component;!R(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",$n={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`,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"},Rl={key:1,class:"notice"},Il={key:2,class:"metrics","aria-label":"ImageStudio dashboard"},Fl={class:"activity"},Dl={key:0,class:"empty"},$l={key:0,class:"empty"},jl=qi({__name:"App",setup(e){const t=Ht(null),s=Ht(null),n=Ht(!0),r=Ht(""),i=Rs(()=>{var d;return`${((d=t.value)==null?void 0:d.api_base)??""}/web`}),o=Rs(()=>{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($n.uiBootstrap),jn($n.dashboardSummary)]);t.value=d,s.value=a}catch(d){r.value=d instanceof Error?d.message:"加载失败"}finally{n.value=!1}}function c(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,$,A,k,K,I,H,O,J,fe,ce,ge;return he(),_e("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((($=s.value)==null?void 0:$.plugin_status)??"loading"),9,Al),F("button",{type:"button",onClick:l},"刷新"),t.value?(he(),_e("a",{key:0,class:"primary",href:i.value,target:"_blank",rel:"noreferrer"},"工作台",8,Pl)):bs("",!0)])]),r.value?(he(),_e("section",Ml,oe(r.value),1)):n.value?(he(),_e("section",Rl,"加载中")):(he(),_e("section",Il,[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(c((I=s.value)==null?void 0:I.storage.total_bytes)),1)])])),F("section",Fl,[F("div",null,[a[5]||(a[5]=F("h2",null,"最近图片",-1)),F("ul",null,[(he(!0),_e(me,null,dn(((H=s.value)==null?void 0:H.recent_images)??[],de=>(he(),_e("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(),_e("li",Dl,"暂无图片"))])]),F("div",null,[a[6]||(a[6]=F("h2",null,"任务",-1)),F("ul",null,[(he(!0),_e(me,null,dn(((fe=s.value)==null?void 0:fe.recent_jobs)??[],de=>(he(),_e("li",{key:String(de.task_id)},[F("span",null,oe(de.task_id),1),F("small",null,oe(de.status),1)]))),128)),(ge=(ce=s.value)==null?void 0:ce.recent_jobs)!=null&&ge.length?bs("",!0):(he(),_e("li",$l,"暂无任务"))])])])])}}}),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&&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"); diff --git a/pages/imagestudio/index.html b/pages/imagestudio/index.html index b14547d..d120fd5 100644 --- a/pages/imagestudio/index.html +++ b/pages/imagestudio/index.html @@ -1,3 +1,3 @@ - +
diff --git a/web/assets/index-BUBaapAF.css b/web/assets/index-BUBaapAF.css new file mode 100644 index 0000000..6384e88 --- /dev/null +++ b/web/assets/index-BUBaapAF.css @@ -0,0 +1 @@ +.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-BoTUhgnW.css b/web/assets/index-BoTUhgnW.css deleted file mode 100644 index 2c9ff93..0000000 --- a/web/assets/index-BoTUhgnW.css +++ /dev/null @@ -1 +0,0 @@ -.web-shell[data-v-7bc7fcf4]{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-7bc7fcf4],.inspector[data-v-7bc7fcf4]{background:#fff}.sidebar[data-v-7bc7fcf4]{border-right:1px solid #d9e0e8;padding:20px}.inspector[data-v-7bc7fcf4]{border-left:1px solid #d9e0e8;padding:20px}.brand[data-v-7bc7fcf4]{display:grid;gap:4px;margin-bottom:24px}.brand strong[data-v-7bc7fcf4]{font-size:19px}.brand span[data-v-7bc7fcf4],p[data-v-7bc7fcf4],dt[data-v-7bc7fcf4],.empty[data-v-7bc7fcf4],small[data-v-7bc7fcf4]{color:#667085}nav[data-v-7bc7fcf4]{display:grid;gap:6px}button[data-v-7bc7fcf4]{min-height:36px;border:1px solid #c7d0da;border-radius:6px;color:#1b2430;background:#fff;font:inherit;text-align:center;cursor:pointer}button[data-v-7bc7fcf4]:disabled{cursor:wait;opacity:.62}nav button[data-v-7bc7fcf4]{border-color:transparent;background:transparent;text-align:left;padding:0 10px}button.active[data-v-7bc7fcf4]{border-color:#b8d8cf;color:#164f43;background:#e5f4ef}.workspace[data-v-7bc7fcf4]{min-width:0;padding:24px}.topbar[data-v-7bc7fcf4],.list-view header[data-v-7bc7fcf4],.toolbar[data-v-7bc7fcf4],.inline-actions[data-v-7bc7fcf4]{display:flex;gap:12px;align-items:center}.topbar[data-v-7bc7fcf4],.list-view header[data-v-7bc7fcf4]{justify-content:space-between}.actions[data-v-7bc7fcf4],.inline-actions[data-v-7bc7fcf4]{flex-wrap:wrap;justify-content:flex-end}.topbar button[data-v-7bc7fcf4],.toolbar button[data-v-7bc7fcf4],.list-view header button[data-v-7bc7fcf4],.inline-actions button[data-v-7bc7fcf4]{padding:0 14px}h1[data-v-7bc7fcf4],h2[data-v-7bc7fcf4],p[data-v-7bc7fcf4],dl[data-v-7bc7fcf4],dd[data-v-7bc7fcf4]{margin:0}h1[data-v-7bc7fcf4]{min-height:30px;font-size:26px}h2[data-v-7bc7fcf4]{font-size:15px}.notice[data-v-7bc7fcf4],article[data-v-7bc7fcf4],.list-view[data-v-7bc7fcf4],.editor-panel[data-v-7bc7fcf4],pre[data-v-7bc7fcf4]{border:1px solid #d9e0e8;border-radius:8px;background:#fff}.notice[data-v-7bc7fcf4]{margin-top:18px;padding:14px}.error[data-v-7bc7fcf4]{border-color:#f0b4b4;color:#8a1f1f;background:#fff7f7}.dashboard-grid[data-v-7bc7fcf4],.split-view[data-v-7bc7fcf4]{display:grid;gap:12px;margin-top:18px}.dashboard-grid[data-v-7bc7fcf4]{grid-template-columns:repeat(4,minmax(130px,1fr))}.split-view[data-v-7bc7fcf4]{grid-template-columns:repeat(2,minmax(0,1fr))}article[data-v-7bc7fcf4]{display:grid;gap:8px;padding:16px}article span[data-v-7bc7fcf4]{color:#667085;font-size:13px}article strong[data-v-7bc7fcf4]{font-size:24px}.list-view[data-v-7bc7fcf4],.logs-view[data-v-7bc7fcf4],.settings-view[data-v-7bc7fcf4]{margin-top:18px}.split-view .list-view[data-v-7bc7fcf4],.logs-view .list-view[data-v-7bc7fcf4]{margin-top:0}.list-view[data-v-7bc7fcf4]{padding:16px}.editor-panel[data-v-7bc7fcf4]{display:grid;gap:12px;margin-top:12px;padding:16px}.editor-panel header[data-v-7bc7fcf4]{display:flex;justify-content:space-between;gap:12px;min-width:0}textarea[data-v-7bc7fcf4]{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-7bc7fcf4]{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-7bc7fcf4]{display:grid;gap:5px;min-width:0}label span[data-v-7bc7fcf4]{color:#667085;font-size:12px}.wide-field[data-v-7bc7fcf4]{grid-column:1 / -1}input[data-v-7bc7fcf4],select[data-v-7bc7fcf4]{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-7bc7fcf4]{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}li[data-v-7bc7fcf4]{display:flex;justify-content:space-between;gap:12px;min-width:0;padding:10px 0;border-top:1px solid #eef1f5}li[data-v-7bc7fcf4]:first-child{border-top:0}li>div[data-v-7bc7fcf4]{display:grid;gap:3px;min-width:0}li strong[data-v-7bc7fcf4],li span[data-v-7bc7fcf4],li small[data-v-7bc7fcf4]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge[data-v-7bc7fcf4]{align-self:center;max-width:180px;border-radius:999px;padding:4px 9px;color:#1f4d62;background:#e5f1f7;font-size:12px}.toolbar[data-v-7bc7fcf4]{justify-content:flex-start;margin:18px 0 12px}.settings-sections[data-v-7bc7fcf4]{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}pre[data-v-7bc7fcf4]{overflow:auto;max-height:420px;margin:12px 0 0;padding:14px;font-size:12px;line-height:1.5}dl[data-v-7bc7fcf4]{display:grid;gap:12px;margin:14px 0 24px}dl div[data-v-7bc7fcf4]{display:flex;justify-content:space-between}@media(max-width:1160px){.web-shell[data-v-7bc7fcf4]{grid-template-columns:190px minmax(0,1fr)}.inspector[data-v-7bc7fcf4]{display:none}}@media(max-width:820px){.web-shell[data-v-7bc7fcf4]{grid-template-columns:1fr}.sidebar[data-v-7bc7fcf4]{border-right:0;border-bottom:1px solid #d9e0e8}nav[data-v-7bc7fcf4]{grid-template-columns:repeat(4,minmax(0,1fr))}nav button[data-v-7bc7fcf4]{text-align:center}.dashboard-grid[data-v-7bc7fcf4],.split-view[data-v-7bc7fcf4],.settings-sections[data-v-7bc7fcf4]{grid-template-columns:1fr}.topbar[data-v-7bc7fcf4],.list-view header[data-v-7bc7fcf4]{align-items:flex-start;flex-direction:column}} diff --git a/web/assets/index-DnBfG3sU.js b/web/assets/index-DnBfG3sU.js deleted file mode 100644 index 268dcf5..0000000 --- a/web/assets/index-DnBfG3sU.js +++ /dev/null @@ -1,17 +0,0 @@ -var qi=Object.defineProperty;var Ji=(e,t,n)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xn=(e,t,n)=>Ji(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 xs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Rt=[],tt=()=>{},Ml=()=>!1,$n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ln=e=>e.startsWith("onUpdate:"),Ce=Object.assign,Cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gi=Object.prototype.hasOwnProperty,Q=(e,t)=>Gi.call(e,t),j=Array.isArray,$t=e=>rn(e)==="[object Map]",Fn=e=>rn(e)==="[object Set]",el=e=>rn(e)==="[object Date]",N=e=>typeof e=="function",he=e=>typeof e=="string",nt=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Il=e=>(se(e)||N(e))&&N(e.then)&&N(e.catch),Rl=Object.prototype.toString,rn=e=>Rl.call(e),zi=e=>rn(e).slice(8,-1),$l=e=>rn(e)==="[object Object]",Ss=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=xs(",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)))},Yi=/-\w/g,qe=jn(e=>e.replace(Yi,t=>t.slice(1).toUpperCase())),Xi=/\B([A-Z])/g,Ot=jn(e=>e.replace(Xi,"-$1").toLowerCase()),Ll=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qn=jn(e=>e?`on${Ll(e)}`:""),et=(e,t)=>!Object.is(e,t),Cn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Vn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let tl;const Bn=()=>tl||(tl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ks(e){if(j(e)){const t={};for(let n=0;n{if(n){const s=n.split(Zi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Nn(e){let t="";if(he(e))t=e;else if(j(e))for(let n=0;nan(n,t))}const Vl=e=>!!(e&&e.__v_isRef===!0),d=e=>he(e)?e:e==null?"":j(e)||se(e)&&(e.toString===Rl||!N(e.toString))?Vl(e)?d(e.value):JSON.stringify(e,Bl,2):String(e),Bl=(e,t)=>Vl(t)?Bl(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,l],i)=>(n[Zn(s,i)+" =>"]=l,n),{})}:Fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Zn(n))}:nt(t)?Zn(t):se(t)&&!j(t)&&!$l(t)?String(t):t,Zn=(e,t="")=>{var n;return nt(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 xe;class oo{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&&xe&&(xe.active?(this.parent=xe,this.index=(xe.scopes||(xe.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(xe===this)xe=this.prevScope;else{let t=xe;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(zt){let t=zt;for(zt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gt;){let t=Gt;for(Gt=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 Wl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Kl(e){let t,n=e.depsTail,s=n;for(;s;){const l=s.prevDep;s.version===-1?(s===n&&(n=l),Ts(s),ao(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=l}e.deps=t,e.depsTail=n}function fs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ql(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ql(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===tn)||(e.globalVersion=tn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fs(e))))return;e.flags|=2;const t=e.dep,n=ie,s=Je;ie=e,Je=!0;try{Wl(e);const l=e.fn(e._value);(t.version===0||et(l,e._value))&&(e.flags|=128,e._value=l,t.version++)}catch(l){throw t.version++,l}finally{ie=n,Je=s,Kl(e),e.flags&=-3}}function Ts(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)Ts(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ao(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Je=!0;const Jl=[];function st(){Jl.push(Je),Je=!1}function lt(){const e=Jl.pop();Je=e===void 0?!0:e}function nl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let tn=0;class uo{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 Os{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(!ie||!Je||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new uo(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,Gl(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=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,tn++,this.notify(t)}notify(t){Ps();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Es()}}}function Gl(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)Gl(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ds=new WeakMap,Et=Symbol(""),ps=Symbol(""),nn=Symbol("");function Ee(e,t,n){if(Je&&ie){let s=ds.get(e);s||ds.set(e,s=new Map);let l=s.get(n);l||(s.set(n,l=new Os),l.map=s,l.key=n),l.track()}}function at(e,t,n,s,l,i){const r=ds.get(e);if(!r){tn++;return}const a=c=>{c&&c.trigger()};if(Ps(),t==="clear")r.forEach(a);else{const c=j(e),g=c&&Ss(n);if(c&&n==="length"){const h=Number(s);r.forEach((y,D)=>{(D==="length"||D===nn||!nt(D)&&D>=h)&&a(y)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),g&&a(r.get(nn)),t){case"add":c?g&&a(r.get("length")):(a(r.get(Et)),$t(e)&&a(r.get(ps)));break;case"delete":c||(a(r.get(Et)),$t(e)&&a(r.get(ps)));break;case"set":$t(e)&&a(r.get(Et));break}}Es()}function Mt(e){const t=X(e);return t===e?t:(Ee(t,"iterate",nn),He(e)?t:t.map(Ge))}function Un(e){return Ee(e=X(e),"iterate",nn),e}function Qe(e,t){return ft(e)?Vt(Tt(e)?Ge(t):t):Ge(t)}const co={__proto__:null,[Symbol.iterator](){return ts(this,Symbol.iterator,e=>Qe(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>j(t)?Mt(t):t))},entries(){return ts(this,"entries",e=>(e[1]=Qe(this,e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,n=>n.map(s=>Qe(this,s)),arguments)},find(e,t){return it(this,"find",e,t,n=>Qe(this,n),arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,n=>Qe(this,n),arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return ns(this,"includes",e)},indexOf(...e){return ns(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return ns(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return Ht(this,"pop")},push(...e){return Ht(this,"push",e)},reduce(e,...t){return sl(this,"reduce",e,t)},reduceRight(e,...t){return sl(this,"reduceRight",e,t)},shift(){return Ht(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return Ht(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 Ht(this,"unshift",e)},values(){return ts(this,"values",e=>Qe(this,e))}};function ts(e,t,n){const s=Un(e),l=s[t]();return s!==e&&!He(e)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=n(i.value)),i}),l}const fo=Array.prototype;function it(e,t,n,s,l,i){const r=Un(e),a=r!==e&&!He(e),c=r[t];if(c!==fo[t]){const y=c.apply(e,i);return a?Ge(y):y}let g=n;r!==e&&(a?g=function(y,D){return n.call(this,Qe(e,y),D,e)}:n.length>2&&(g=function(y,D){return n.call(this,y,D,e)}));const h=c.call(r,g,s);return a&&l?l(h):h}function sl(e,t,n,s){const l=Un(e),i=l!==e&&!He(e);let r=n,a=!1;l!==e&&(i?(a=s.length===0,r=function(g,h,y){return a&&(a=!1,g=Qe(e,g)),n.call(this,g,Qe(e,h),y,e)}):n.length>3&&(r=function(g,h,y){return n.call(this,g,h,y,e)}));const c=l[t](r,...s);return a?Qe(e,c):c}function ns(e,t,n){const s=X(e);Ee(s,"iterate",nn);const l=s[t](...n);return(l===-1||l===!1)&&Is(n[0])?(n[0]=X(n[0]),s[t](...n)):l}function Ht(e,t,n=[]){st(),Ps();const s=X(e)[t].apply(e,n);return Es(),lt(),s}const po=xs("__proto__,__v_isRef,__isVue"),zl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt));function ho(e){nt(e)||(e=String(e));const t=X(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class Yl{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?So:ei:i?Zl:Ql).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=j(t);if(!l){let c;if(r&&(c=co[n]))return c;if(n==="hasOwnProperty")return ho}const a=Reflect.get(t,n,Te(t)?t:s);if((nt(n)?zl.has(n):po(n))||(l||Ee(t,"get",n),i))return a;if(Te(a)){const c=r&&Ss(n)?a:a.value;return l&&se(c)?gs(c):c}return se(a)?l?gs(a):As(a):a}}class Xl extends Yl{constructor(t=!1){super(!1,t)}set(t,n,s,l){let i=t[n];const r=j(t)&&Ss(n);if(!this._isShallow){const g=ft(i);if(!He(s)&&!ft(s)&&(i=X(i),s=X(s)),!r&&Te(i)&&!Te(s))return g||(i.value=s),!0}const a=r?Number(n)e,bn=e=>Reflect.getPrototypeOf(e);function yo(e,t,n){return function(...s){const l=this.__v_raw,i=X(l),r=$t(i),a=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,g=l[e](...s),h=n?hs:t?Vt:Ge;return!t&&Ee(i,"iterate",c?ps:Et),Ce(Object.create(g),{next(){const{value:y,done:D}=g.next();return D?{value:y,done:D}:{value:a?[h(y[0]),h(y[1])]:h(y),done:D}}})}}function wn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bo(e,t){const n={get(l){const i=this.__v_raw,r=X(i),a=X(l);e||(et(l,a)&&Ee(r,"get",l),Ee(r,"get",a));const{has:c}=bn(r),g=t?hs:e?Vt:Ge;if(c.call(r,l))return g(i.get(l));if(c.call(r,a))return g(i.get(a));i!==r&&i.get(l)},get size(){const l=this.__v_raw;return!e&&Ee(X(l),"iterate",Et),l.size},has(l){const i=this.__v_raw,r=X(i),a=X(l);return e||(et(l,a)&&Ee(r,"has",l),Ee(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=X(a),g=t?hs:e?Vt:Ge;return!e&&Ee(c,"iterate",Et),a.forEach((h,y)=>l.call(i,g(h),g(y),r))}};return Ce(n,e?{add:wn("add"),set:wn("set"),delete:wn("delete"),clear:wn("clear")}:{add(l){const i=X(this),r=bn(i),a=X(l),c=!t&&!He(l)&&!ft(l)?a:l;return r.has.call(i,c)||et(l,c)&&r.has.call(i,l)||et(a,c)&&r.has.call(i,a)||(i.add(c),at(i,"add",c,c)),this},set(l,i){!t&&!He(i)&&!ft(i)&&(i=X(i));const r=X(this),{has:a,get:c}=bn(r);let g=a.call(r,l);g||(l=X(l),g=a.call(r,l));const h=c.call(r,l);return r.set(l,i),g?et(i,h)&&at(r,"set",l,i):at(r,"add",l,i),this},delete(l){const i=X(this),{has:r,get:a}=bn(i);let c=r.call(i,l);c||(l=X(l),c=r.call(i,l)),a&&a.call(i,l);const g=i.delete(l);return c&&at(i,"delete",l,void 0),g},clear(){const l=X(this),i=l.size!==0,r=l.clear();return i&&at(l,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=yo(l,e,t)}),n}function Ds(e,t){const n=bo(e,t);return(s,l,i)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?s:Reflect.get(Q(n,l)&&l in s?n:s,l,i)}const wo={get:Ds(!1,!1)},xo={get:Ds(!1,!0)},Co={get:Ds(!0,!1)};const Ql=new WeakMap,Zl=new WeakMap,ei=new WeakMap,So=new WeakMap;function ko(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function As(e){return ft(e)?e:Ms(e,!1,_o,wo,Ql)}function Po(e){return Ms(e,!1,mo,xo,Zl)}function gs(e){return Ms(e,!0,vo,Co,ei)}function Ms(e,t,n,s,l){if(!se(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=ko(zi(e));if(r===0)return e;const a=new Proxy(e,r===2?s:n);return l.set(e,a),a}function Tt(e){return ft(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Eo(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&Fl(e,"__v_skip",!0),e}const Ge=e=>se(e)?As(e):e,Vt=e=>se(e)?gs(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function J(e){return To(e,!1)}function To(e,t){return Te(e)?e:new Oo(e,t)}class Oo{constructor(t,n){this.dep=new Os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:Ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||He(t)||ft(t);t=s?t:X(t),et(t,n)&&(this._rawValue=t,this._value=s?t:Ge(t),this.dep.trigger())}}function Do(e){return Te(e)?e.value:e}const Ao={get:(e,t,n)=>t==="__v_raw"?e:Do(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const l=e[t];return Te(l)&&!Te(n)?(l.value=n,!0):Reflect.set(e,t,n,s)}};function ti(e){return Tt(e)?e:new Proxy(e,Ao)}class Mo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Hl(this,!0),!0}get value(){const t=this.dep.track();return ql(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Io(e,t,n=!1){let s,l;return N(e)?s=e:(s=e.get,l=e.set),new Mo(s,l,n)}const xn={},Pn=new WeakMap;let St;function Ro(e,t=!1,n=St){if(n){let s=Pn.get(n);s||Pn.set(n,s=[]),s.push(e)}}function $o(e,t,n=le){const{immediate:s,deep:l,once:i,scheduler:r,augmentJob:a,call:c}=n,g=R=>l?R:He(R)||l===!1||l===0?ut(R,1):ut(R);let h,y,D,A,K=!1,$=!1;if(Te(e)?(y=()=>e.value,K=He(e)):Tt(e)?(y=()=>g(e),K=!0):j(e)?($=!0,K=e.some(R=>Tt(R)||He(R)),y=()=>e.map(R=>{if(Te(R))return R.value;if(Tt(R))return g(R);if(N(R))return c?c(R,2):R()})):N(e)?t?y=c?()=>c(e,2):e:y=()=>{if(D){st();try{D()}finally{lt()}}const R=St;St=h;try{return c?c(e,3,[A]):e(A)}finally{St=R}}:y=tt,t&&l){const R=y,ae=l===!0?1/0:l;y=()=>ut(R(),ae)}const re=ro(),Z=()=>{h.stop(),re&&re.active&&Cs(re.effects,h)};if(i&&t){const R=t;t=(...ae)=>{const Se=R(...ae);return Z(),Se}}let H=$?new Array(e.length).fill(xn):xn;const V=R=>{if(!(!(h.flags&1)||!h.dirty&&!R))if(t){const ae=h.run();if(R||l||K||($?ae.some((Se,ke)=>et(Se,H[ke])):et(ae,H))){D&&D();const Se=St;St=h;try{const ke=[ae,H===xn?void 0:$&&H[0]===xn?[]:H,A];H=ae,c?c(t,3,ke):t(...ke)}finally{St=Se}}}else h.run()};return a&&a(V),h=new Nl(y),h.scheduler=r?()=>r(V,!1):V,A=R=>Ro(R,!1,h),D=h.onStop=()=>{const R=Pn.get(h);if(R){if(c)c(R,4);else for(const ae of R)ae();Pn.delete(h)}},t?s?V(!0):H=h.run():r?r(V.bind(null,!0),!0):h.run(),Z.pause=h.pause.bind(h),Z.resume=h.resume.bind(h),Z.stop=Z,Z}function ut(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))ut(e.value,t,n);else if(j(e))for(let s=0;s{ut(s,t,n)});else if($l(e)){for(const s in e)ut(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ut(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function un(e,t,n,s){try{return s?e(...s):e()}catch(l){Hn(l,t,n)}}function ze(e,t,n,s){if(N(e)){const l=un(e,t,n,s);return l&&Il(l)&&l.catch(i=>{Hn(i,t,n)}),l}if(j(e)){const l=[];for(let i=0;i>>1,l=Me[s],i=sn(l);i=sn(n)?Me.push(e):Me.splice(Fo(t),0,e),e.flags|=1,li()}}function li(){En||(En=ni.then(oi))}function jo(e){j(e)?Lt.push(...e):_t&&e.id===-1?_t.splice(It+1,0,e):e.flags&1||(Lt.push(e),e.flags|=1),li()}function ll(e,t,n=Xe+1){for(;nsn(n)-sn(s));if(Lt.length=0,_t){_t.push(...t);return}for(_t=t,It=0;It<_t.length;It++){const n=_t[It];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_t=null,It=0}}const sn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function oi(e){try{for(Xe=0;Xe{s._d&&gl(-1);const i=Tn(t);let r;try{r=e(...l)}finally{Tn(i),s._d&&gl(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function te(e,t){if(Ue===null)return e;const n=Jn(Ue),s=e.dirs||(e.dirs=[]);for(let l=0;l1)return n&&N(t)?t.call(s&&s.proxy):t}}const No=Symbol.for("v-scx"),Uo=()=>Sn(No);function ss(e,t,n){return ai(e,t,n)}function ai(e,t,n=le){const{immediate:s,deep:l,flush:i,once:r}=n,a=Ce({},n),c=t&&s||!t&&i!=="post";let g;if(on){if(i==="sync"){const A=Uo();g=A.__watcherHandles||(A.__watcherHandles=[])}else if(!c){const A=()=>{};return A.stop=tt,A.resume=tt,A.pause=tt,A}}const h=Ie;a.call=(A,K,$)=>ze(A,h,K,$);let y=!1;i==="post"?a.scheduler=A=>{Fe(A,h&&h.suspense)}:i!=="sync"&&(y=!0,a.scheduler=(A,K)=>{K?A():Rs(A)}),a.augmentJob=A=>{t&&(A.flags|=4),y&&(A.flags|=2,h&&(A.id=h.uid,A.i=h))};const D=$o(e,t,a);return on&&(g?g.push(D):c&&D()),D}function Ho(e,t,n){const s=this.proxy,l=he(e)?e.includes(".")?ui(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const r=cn(this),a=ai(l,i.bind(s),n);return r(),a}function ui(e,t){const n=t.split(".");return()=>{let s=e;for(let l=0;le.__isTeleport,ls=Symbol("_leaveCb");function $s(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$s(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 qo(e,t){return N(e)?Ce({name:e.name},t,{setup:e}):e}function ci(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function il(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const On=new WeakMap;function Yt(e,t,n,s,l=!1){if(j(e)){e.forEach(($,re)=>Yt($,t&&(j(t)?t[re]:t),n,s,l));return}if(Xt(s)&&!l){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Yt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Jn(s.component):s.el,r=l?null:i,{i:a,r:c}=e,g=t&&t.r,h=a.refs===le?a.refs={}:a.refs,y=a.setupState,D=X(y),A=y===le?Ml:$=>il(h,$)?!1:Q(D,$),K=($,re)=>!(re&&il(h,re));if(g!=null&&g!==c){if(ol(t),he(g))h[g]=null,A(g)&&(y[g]=null);else if(Te(g)){const $=t;K(g,$.k)&&(g.value=null),$.k&&(h[$.k]=null)}}if(N(c)){st();try{un(c,a,12,[r,h])}finally{lt()}}else{const $=he(c),re=Te(c);if($||re){const Z=()=>{if(e.f){const H=$?A(c)?y[c]:h[c]:K()||!e.k?c.value:h[e.k];if(l)j(H)&&Cs(H,i);else if(j(H))H.includes(i)||H.push(i);else if($)h[c]=[i],A(c)&&(y[c]=h[c]);else{const V=[i];K(c,e.k)&&(c.value=V),e.k&&(h[e.k]=V)}}else $?(h[c]=r,A(c)&&(y[c]=r)):re&&(K(c,e.k)&&(c.value=r),e.k&&(h[e.k]=r))};if(r){const H=()=>{Z(),On.delete(e)};H.id=-1,On.set(e,H),Fe(H,n)}else ol(e),Z()}}}function ol(e){const t=On.get(e);t&&(t.flags|=8,On.delete(e))}Bn().requestIdleCallback;Bn().cancelIdleCallback;const Xt=e=>!!e.type.__asyncLoader,fi=e=>e.type.__isKeepAlive;function Jo(e,t){di(e,"a",t)}function Go(e,t){di(e,"da",t)}function di(e,t,n=Ie){const s=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Wn(t,s,n),n){let l=n.parent;for(;l&&l.parent;)fi(l.parent.vnode)&&zo(s,t,n,l),l=l.parent}}function zo(e,t,n,s){const l=Wn(t,e,s,!0);hi(()=>{Cs(s[t],l)},n)}function Wn(e,t,n=Ie,s=!1){if(n){const l=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{st();const a=cn(n),c=ze(t,n,e,r);return a(),lt(),c});return s?l.unshift(i):l.push(i),i}}const dt=e=>(t,n=Ie)=>{(!on||e==="sp")&&Wn(e,(...s)=>t(...s),n)},Yo=dt("bm"),pi=dt("m"),Xo=dt("bu"),Qo=dt("u"),Zo=dt("bum"),hi=dt("um"),er=dt("sp"),tr=dt("rtg"),nr=dt("rtc");function sr(e,t=Ie){Wn("ec",e,t)}const lr=Symbol.for("v-ndc");function ye(e,t,n,s){let l;const i=n,r=j(e);if(r||he(e)){const a=r&&Tt(e);let c=!1,g=!1;a&&(c=!He(e),g=ft(e),e=Un(e)),l=new Array(e.length);for(let h=0,y=e.length;ht(a,c,void 0,i));else{const a=Object.keys(e);l=new Array(a.length);for(let c=0,g=a.length;ce?$i(e)?Jn(e):_s(e.parent):null,Qt=Ce(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=>_s(e.parent),$root:e=>_s(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_i(e),$forceUpdate:e=>e.f||(e.f=()=>{Rs(e.update)}),$nextTick:e=>e.n||(e.n=si.bind(e.proxy)),$watch:e=>Ho.bind(e)}),is=(e,t)=>e!==le&&!e.__isScriptSetup&&Q(e,t),ir={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(is(s,t))return r[t]=1,s[t];if(l!==le&&Q(l,t))return r[t]=2,l[t];if(Q(i,t))return r[t]=3,i[t];if(n!==le&&Q(n,t))return r[t]=4,n[t];vs&&(r[t]=0)}}const g=Qt[t];let h,y;if(g)return t==="$attrs"&&Ee(e.attrs,"get",""),g(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==le&&Q(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,Q(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:l,ctx:i}=e;return is(l,t)?(l[t]=n,!0):s!==le&&Q(s,t)?(s[t]=n,!0):Q(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!==le&&a[0]!=="$"&&Q(e,a)||is(t,a)||Q(i,a)||Q(s,a)||Q(Qt,a)||Q(l.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rl(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vs=!0;function or(e){const t=_i(e),n=e.proxy,s=e.ctx;vs=!1,t.beforeCreate&&al(t.beforeCreate,e,"bc");const{data:l,computed:i,methods:r,watch:a,provide:c,inject:g,created:h,beforeMount:y,mounted:D,beforeUpdate:A,updated:K,activated:$,deactivated:re,beforeDestroy:Z,beforeUnmount:H,destroyed:V,unmounted:R,render:ae,renderTracked:Se,renderTriggered:ke,errorCaptured:U,serverPrefetch:We,expose:Pe,inheritAttrs:de,components:ce,directives:be,filters:pt}=t;if(g&&rr(g,s,null),r)for(const W in r){const z=r[W];N(z)&&(s[W]=z.bind(n))}if(l){const W=l.call(n,n);se(W)&&(e.data=As(W))}if(vs=!0,i)for(const W in i){const z=i[W],B=N(z)?z.bind(n,n):N(z.get)?z.get.bind(n,n):tt,Ke=!N(z)&&N(z.set)?z.set.bind(n):tt,we=kt({get:B,set:Ke});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>we.value,set:je=>we.value=je})}if(a)for(const W in a)gi(a[W],s,n,W);if(c){const W=N(c)?c.call(n):c;Reflect.ownKeys(W).forEach(z=>{Bo(z,W[z])})}h&&al(h,e,"c");function _e(W,z){j(z)?z.forEach(B=>W(B.bind(n))):z&&W(z.bind(n))}if(_e(Yo,y),_e(pi,D),_e(Xo,A),_e(Qo,K),_e(Jo,$),_e(Go,re),_e(sr,U),_e(nr,Se),_e(tr,ke),_e(Zo,H),_e(hi,R),_e(er,We),j(Pe))if(Pe.length){const W=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(W,z,{get:()=>n[z],set:B=>n[z]=B,enumerable:!0})})}else e.exposed||(e.exposed={});ae&&e.render===tt&&(e.render=ae),de!=null&&(e.inheritAttrs=de),ce&&(e.components=ce),be&&(e.directives=be),We&&ci(e)}function rr(e,t,n=tt){j(e)&&(e=ms(e));for(const s in e){const l=e[s];let i;se(l)?"default"in l?i=Sn(l.from||s,l.default,!0):i=Sn(l.from||s):i=Sn(l),Te(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function al(e,t,n){ze(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gi(e,t,n,s){let l=s.includes(".")?ui(n,s):()=>n[s];if(he(e)){const i=t[e];N(i)&&ss(l,i)}else if(N(e))ss(l,e.bind(n));else if(se(e))if(j(e))e.forEach(i=>gi(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&ss(l,i,e)}}function _i(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(g=>Dn(c,g,r,!0)),Dn(c,t,r)),se(t)&&i.set(t,c),c}function Dn(e,t,n,s=!1){const{mixins:l,extends:i}=t;i&&Dn(e,i,n,!0),l&&l.forEach(r=>Dn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=ar[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const ar={data:ul,props:cl,emits:cl,methods:Kt,computed:Kt,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Kt,directives:Kt,watch:cr,provide:ul,inject:ur};function ul(e,t){return t?e?function(){return Ce(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function ur(e,t){return Kt(ms(e),ms(t))}function ms(e){if(j(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qe(t)}Modifiers`]||e[`${Ot(t)}Modifiers`];function hr(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let l=n;const i=t.startsWith("update:"),r=i&&pr(s,t.slice(7));r&&(r.trim&&(l=n.map(h=>he(h)?h.trim():h)),r.number&&(l=n.map(Vn)));let a,c=s[a=Qn(t)]||s[a=Qn(qe(t))];!c&&i&&(c=s[a=Qn(Ot(t))]),c&&ze(c,e,6,l);const g=s[a+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ze(g,e,6,l)}}const gr=new WeakMap;function mi(e,t,n=!1){const s=n?gr: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=g=>{const h=mi(g,t,!0);h&&(a=!0,Ce(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(se(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>r[c]=null):Ce(r,i),se(e)&&s.set(e,r),r)}function Kn(e,t){return!e||!$n(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,Ot(t))||Q(e,t))}function fl(e){const{type:t,vnode:n,proxy:s,withProxy:l,propsOptions:[i],slots:r,attrs:a,emit:c,render:g,renderCache:h,props:y,data:D,setupState:A,ctx:K,inheritAttrs:$}=e,re=Tn(e);let Z,H;try{if(n.shapeFlag&4){const R=l||s,ae=R;Z=Ze(g.call(ae,R,h,y,A,D,K)),H=a}else{const R=t;Z=Ze(R.length>1?R(y,{attrs:a,slots:r,emit:c}):R(y,null)),H=t.props?a:_r(a)}}catch(R){Zt.length=0,Hn(R,e,1),Z=ct(vt)}let V=Z;if(H&&$!==!1){const R=Object.keys(H),{shapeFlag:ae}=V;R.length&&ae&7&&(i&&R.some(Ln)&&(H=vr(H,i)),V=Bt(V,H,!1,!0))}return n.dirs&&(V=Bt(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition&&$s(V,n.transition),Z=V,Tn(re),Z}const _r=e=>{let t;for(const n in e)(n==="class"||n==="style"||$n(n))&&((t||(t={}))[n]=e[n]);return t},vr=(e,t)=>{const n={};for(const s in e)(!Ln(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function mr(e,t,n){const{props:s,children:l,component:i}=e,{props:r,children:a,patchFlag:c}=t,g=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?dl(s,r,g):!!r;if(c&8){const h=t.dynamicProps;for(let y=0;yObject.create(bi),xi=e=>Object.getPrototypeOf(e)===bi;function br(e,t,n,s=!1){const l={},i=wi();e.propsDefaults=Object.create(null),Ci(e,t,l,i);for(const r in e.propsOptions[0])r in l||(l[r]=void 0);n?e.props=s?l:Po(l):e.type.props?e.props=l:e.props=i,e.attrs=i}function wr(e,t,n,s){const{props:l,attrs:i,vnode:{patchFlag:r}}=e,a=X(l),[c]=e.propsOptions;let g=!1;if((s||r>0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let y=0;y{c=!0;const[D,A]=Si(y,t,!0);Ce(r,D),A&&a.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return se(e)&&s.set(e,Rt),Rt;if(j(i))for(let h=0;he==="_"||e==="_ctx"||e==="$stable",Fs=e=>j(e)?e.map(Ze):[Ze(e)],Cr=(e,t,n)=>{if(t._n)return t;const s=Vo((...l)=>Fs(t(...l)),n);return s._c=!1,s},ki=(e,t,n)=>{const s=e._ctx;for(const l in e){if(Ls(l))continue;const i=e[l];if(N(i))t[l]=Cr(l,i,s);else if(i!=null){const r=Fs(i);t[l]=()=>r}}},Pi=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},Ei=(e,t,n)=>{for(const s in t)(n||!Ls(s))&&(e[s]=t[s])},Sr=(e,t,n)=>{const s=e.slots=wi();if(e.vnode.shapeFlag&32){const l=t._;l?(Ei(s,t,n),n&&Fl(s,"_",l,!0)):ki(t,s)}else t&&Pi(e,t)},kr=(e,t,n)=>{const{vnode:s,slots:l}=e;let i=!0,r=le;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Ei(l,t,n):(i=!t.$stable,ki(t,l)),r=t}else t&&(Pi(e,t),r={default:1});if(i)for(const a in l)!Ls(a)&&r[a]==null&&delete l[a]},Fe=Dr;function Pr(e){return Er(e)}function Er(e,t){const n=Bn();n.__VUE__=!0;const{insert:s,remove:l,patchProp:i,createElement:r,createText:a,createComment:c,setText:g,setElementText:h,parentNode:y,nextSibling:D,setScopeId:A=tt,insertStaticContent:K}=e,$=(u,f,m,C=null,x=null,b=null,P=void 0,k=null,S=!!f.dynamicChildren)=>{if(u===f)return;u&&!Wt(u,f)&&(C=ht(u),je(u,x,b,!0),u=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:w,ref:I,shapeFlag:E}=f;switch(w){case qn:re(u,f,m,C);break;case vt:Z(u,f,m,C);break;case rs:u==null&&H(f,m,C,P);break;case ne:ce(u,f,m,C,x,b,P,k,S);break;default:E&1?ae(u,f,m,C,x,b,P,k,S):E&6?be(u,f,m,C,x,b,P,k,S):(E&64||E&128)&&w.process(u,f,m,C,x,b,P,k,S,yt)}I!=null&&x?Yt(I,u&&u.ref,b,f||u,!f):I==null&&u&&u.ref!=null&&Yt(u.ref,null,b,u,!0)},re=(u,f,m,C)=>{if(u==null)s(f.el=a(f.children),m,C);else{const x=f.el=u.el;f.children!==u.children&&g(x,f.children)}},Z=(u,f,m,C)=>{u==null?s(f.el=c(f.children||""),m,C):f.el=u.el},H=(u,f,m,C)=>{[u.el,u.anchor]=K(u.children,f,m,C,u.el,u.anchor)},V=({el:u,anchor:f},m,C)=>{let x;for(;u&&u!==f;)x=D(u),s(u,m,C),u=x;s(f,m,C)},R=({el:u,anchor:f})=>{let m;for(;u&&u!==f;)m=D(u),l(u),u=m;l(f)},ae=(u,f,m,C,x,b,P,k,S)=>{if(f.type==="svg"?P="svg":f.type==="math"&&(P="mathml"),u==null)Se(f,m,C,x,b,P,k,S);else{const w=u.el&&u.el._isVueCE?u.el:null;try{w&&w._beginPatch(),We(u,f,x,b,P,k,S)}finally{w&&w._endPatch()}}},Se=(u,f,m,C,x,b,P,k)=>{let S,w;const{props:I,shapeFlag:E,transition:M,dirs:L}=u;if(S=u.el=r(u.type,b,I&&I.is,I),E&8?h(S,u.children):E&16&&U(u.children,S,null,C,x,os(u,b),P,k),L&&xt(u,null,C,"created"),ke(S,u,u.scopeId,P,C),I){for(const ee in I)ee!=="value"&&!Jt(ee)&&i(S,ee,null,I[ee],b,C);"value"in I&&i(S,"value",null,I.value,b),(w=I.onVnodeBeforeMount)&&Ye(w,C,u)}L&&xt(u,null,C,"beforeMount");const q=Tr(x,M);q&&M.beforeEnter(S),s(S,f,m),((w=I&&I.onVnodeMounted)||q||L)&&Fe(()=>{try{w&&Ye(w,C,u),q&&M.enter(S),L&&xt(u,null,C,"mounted")}finally{}},x)},ke=(u,f,m,C,x)=>{if(m&&A(u,m),C)for(let b=0;b{for(let w=S;w{const k=f.el=u.el;let{patchFlag:S,dynamicChildren:w,dirs:I}=f;S|=u.patchFlag&16;const E=u.props||le,M=f.props||le;let L;if(m&&Ct(m,!1),(L=M.onVnodeBeforeUpdate)&&Ye(L,m,f,u),I&&xt(f,u,m,"beforeUpdate"),m&&Ct(m,!0),w&&(!u.dynamicChildren||u.dynamicChildren.length!==w.length)&&(S=0,P=!1,w=null),(E.innerHTML&&M.innerHTML==null||E.textContent&&M.textContent==null)&&h(k,""),w?Pe(u.dynamicChildren,w,k,m,C,os(f,x),b):P||z(u,f,k,null,m,C,os(f,x),b,!1),S>0){if(S&16)de(k,E,M,m,x);else if(S&2&&E.class!==M.class&&i(k,"class",null,M.class,x),S&4&&i(k,"style",E.style,M.style,x),S&8){const q=f.dynamicProps;for(let ee=0;ee{L&&Ye(L,m,f,u),I&&xt(f,u,m,"updated")},C)},Pe=(u,f,m,C,x,b,P)=>{for(let k=0;k{if(f!==m){if(f!==le)for(const b in f)!Jt(b)&&!(b in m)&&i(u,b,f[b],null,x,C);for(const b in m){if(Jt(b))continue;const P=m[b],k=f[b];P!==k&&b!=="value"&&i(u,b,k,P,x,C)}"value"in m&&i(u,"value",f.value,m.value,x)}},ce=(u,f,m,C,x,b,P,k,S)=>{const w=f.el=u?u.el:a(""),I=f.anchor=u?u.anchor:a("");let{patchFlag:E,dynamicChildren:M,slotScopeIds:L}=f;L&&(k=k?k.concat(L):L),u==null?(s(w,m,C),s(I,m,C),U(f.children||[],m,I,x,b,P,k,S)):E>0&&E&64&&M&&u.dynamicChildren&&u.dynamicChildren.length===M.length?(Pe(u.dynamicChildren,M,m,x,b,P,k),(f.key!=null||x&&f===x.subTree)&&Ti(u,f,!0)):z(u,f,m,I,x,b,P,k,S)},be=(u,f,m,C,x,b,P,k,S)=>{f.slotScopeIds=k,u==null?f.shapeFlag&512?x.ctx.activate(f,m,C,P,S):pt(f,m,C,x,b,P,S):Re(u,f,S)},pt=(u,f,m,C,x,b,P)=>{const k=u.component=Vr(u,C,x);if(fi(u)&&(k.ctx.renderer=yt),Nr(k,!1,P),k.asyncDep){if(x&&x.registerDep(k,_e,P),!u.el){const S=k.subTree=ct(vt);Z(null,S,f,m),u.placeholder=S.el}}else _e(k,u,f,m,x,b,P)},Re=(u,f,m)=>{const C=f.component=u.component;if(mr(u,f,m))if(C.asyncDep&&!C.asyncResolved){W(C,f,m);return}else C.next=f,C.update();else f.el=u.el,C.vnode=f},_e=(u,f,m,C,x,b,P)=>{const k=()=>{if(u.isMounted){let{next:E,bu:M,u:L,parent:q,vnode:ee}=u;{const Ne=Oi(u);if(Ne){E&&(E.el=ee.el,W(u,E,P)),Ne.asyncDep.then(()=>{Fe(()=>{u.isUnmounted||w()},x)});return}}let G=E,pe;Ct(u,!1),E?(E.el=ee.el,W(u,E,P)):E=ee,M&&Cn(M),(pe=E.props&&E.props.onVnodeBeforeUpdate)&&Ye(pe,q,E,ee),Ct(u,!0);const ve=fl(u),Be=u.subTree;u.subTree=ve,$(Be,ve,y(Be.el),ht(Be),u,x,b),E.el=ve.el,G===null&&yr(u,ve.el),L&&Fe(L,x),(pe=E.props&&E.props.onVnodeUpdated)&&Fe(()=>Ye(pe,q,E,ee),x)}else{let E;const{el:M,props:L}=f,{bm:q,m:ee,parent:G,root:pe,type:ve}=u,Be=Xt(f);Ct(u,!1),q&&Cn(q),!Be&&(E=L&&L.onVnodeBeforeMount)&&Ye(E,G,f),Ct(u,!0);{pe.ce&&pe.ce._hasShadowRoot()&&pe.ce._injectChildStyle(ve,u.parent?u.parent.type:void 0);const Ne=u.subTree=fl(u);$(null,Ne,m,C,u,x,b),f.el=Ne.el}if(ee&&Fe(ee,x),!Be&&(E=L&&L.onVnodeMounted)){const Ne=f;Fe(()=>Ye(E,G,Ne),x)}(f.shapeFlag&256||G&&Xt(G.vnode)&&G.vnode.shapeFlag&256)&&u.a&&Fe(u.a,x),u.isMounted=!0,f=m=C=null}};u.scope.on();const S=u.effect=new Nl(k);u.scope.off();const w=u.update=S.run.bind(S),I=u.job=S.runIfDirty.bind(S);I.i=u,I.id=u.uid,S.scheduler=()=>Rs(I),Ct(u,!0),w()},W=(u,f,m)=>{f.component=u;const C=u.vnode.props;u.vnode=f,u.next=null,wr(u,f.props,C,m),kr(u,f.children,m),st(),ll(u),lt()},z=(u,f,m,C,x,b,P,k,S=!1)=>{const w=u&&u.children,I=u?u.shapeFlag:0,E=f.children,{patchFlag:M,shapeFlag:L}=f;if(M>0){if(M&128){Ke(w,E,m,C,x,b,P,k,S);return}else if(M&256){B(w,E,m,C,x,b,P,k,S);return}}L&8?(I&16&&mt(w,x,b),E!==w&&h(m,E)):I&16?L&16?Ke(w,E,m,C,x,b,P,k,S):mt(w,x,b,!0):(I&8&&h(m,""),L&16&&U(E,m,C,x,b,P,k,S))},B=(u,f,m,C,x,b,P,k,S)=>{u=u||Rt,f=f||Rt;const w=u.length,I=f.length,E=Math.min(w,I);let M;for(M=0;MI?mt(u,x,b,!0,!1,E):U(f,m,C,x,b,P,k,S,E)},Ke=(u,f,m,C,x,b,P,k,S)=>{let w=0;const I=f.length;let E=u.length-1,M=I-1;for(;w<=E&&w<=M;){const L=u[w],q=f[w]=S?rt(f[w]):Ze(f[w]);if(Wt(L,q))$(L,q,m,null,x,b,P,k,S);else break;w++}for(;w<=E&&w<=M;){const L=u[E],q=f[M]=S?rt(f[M]):Ze(f[M]);if(Wt(L,q))$(L,q,m,null,x,b,P,k,S);else break;E--,M--}if(w>E){if(w<=M){const L=M+1,q=LM)for(;w<=E;)je(u[w],x,b,!0),w++;else{const L=w,q=w,ee=new Map;for(w=q;w<=M;w++){const Oe=f[w]=S?rt(f[w]):Ze(f[w]);Oe.key!=null&&ee.set(Oe.key,w)}let G,pe=0;const ve=M-q+1;let Be=!1,Ne=0;const bt=new Array(ve);for(w=0;w=ve){je(Oe,x,b,!0);continue}let De;if(Oe.key!=null)De=ee.get(Oe.key);else for(G=q;G<=M;G++)if(bt[G-q]===0&&Wt(Oe,f[G])){De=G;break}De===void 0?je(Oe,x,b,!0):(bt[De-q]=w+1,De>=Ne?Ne=De:Be=!0,$(Oe,f[De],m,null,x,b,P,k,S),pe++)}const dn=Be?Or(bt):Rt;for(G=dn.length-1,w=ve-1;w>=0;w--){const Oe=q+w,De=f[Oe],Dt=f[Oe+1],pn=Oe+1{const{el:b,type:P,transition:k,children:S,shapeFlag:w}=u;if(w&6){we(u.component.subTree,f,m,C);return}if(w&128){u.suspense.move(f,m,C);return}if(w&64){P.move(u,f,m,yt);return}if(P===ne){s(b,f,m);for(let E=0;Ek.enter(b),x));else{const{leave:E,delayLeave:M,afterLeave:L}=k,q=()=>{u.ctx.isUnmounted?l(b):s(b,f,m)},ee=()=>{const G=b._isLeaving||!!b[ls];b._isLeaving&&b[ls](!0),k.persisted&&!G?q():E(b,()=>{q(),L&&L()})};M?M(b,q,ee):ee()}else s(b,f,m)},je=(u,f,m,C=!1,x=!1)=>{const{type:b,props:P,ref:k,children:S,dynamicChildren:w,shapeFlag:I,patchFlag:E,dirs:M,cacheIndex:L,memo:q}=u;if(E===-2&&(x=!1),k!=null&&(st(),Yt(k,null,m,u,!0),lt()),L!=null&&(f.renderCache[L]=void 0),I&256){f.ctx.deactivate(u);return}const ee=I&1&&M,G=!Xt(u);let pe;if(G&&(pe=P&&P.onVnodeBeforeUnmount)&&Ye(pe,f,u),I&6)zn(u.component,m,C);else{if(I&128){u.suspense.unmount(m,C);return}ee&&xt(u,null,f,"beforeUnmount"),I&64?u.type.remove(u,f,m,yt,C):w&&!w.hasOnce&&(b!==ne||E>0&&E&64)?mt(w,f,m,!1,!0):(b===ne&&E&384||!x&&I&16)&&mt(S,f,m),C&&fn(u)}const ve=q!=null&&L==null;(G&&(pe=P&&P.onVnodeUnmounted)||ee||ve)&&Fe(()=>{pe&&Ye(pe,f,u),ee&&xt(u,null,f,"unmounted"),ve&&(u.el=null)},m)},fn=u=>{const{type:f,el:m,anchor:C,transition:x}=u;if(f===ne){Gn(m,C);return}if(f===rs){R(u);return}const b=()=>{l(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:P,delayLeave:k}=x,S=()=>P(m,b);k?k(u.el,b,S):S()}else b()},Gn=(u,f)=>{let m;for(;u!==f;)m=D(u),l(u),u=m;l(f)},zn=(u,f,m)=>{const{bum:C,scope:x,job:b,subTree:P,um:k,m:S,a:w}=u;hl(S),hl(w),C&&Cn(C),x.stop(),b&&(b.flags|=8,je(P,u,f,m)),k&&Fe(k,f),Fe(()=>{u.isUnmounted=!0},f)},mt=(u,f,m,C=!1,x=!1,b=0)=>{for(let P=b;P{if(u.shapeFlag&6)return ht(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=D(u.anchor||u.el),m=f&&f[Wo];return m?D(m):f};let Nt=!1;const gt=(u,f,m)=>{let C;u==null?f._vnode&&(je(f._vnode,null,null,!0),C=f._vnode.component):$(f._vnode||null,u,f,null,null,null,m),f._vnode=u,Nt||(Nt=!0,ll(C),ii(),Nt=!1)},yt={p:$,um:je,m:we,r:fn,mt:pt,mc:U,pc:z,pbc:Pe,n:ht,o:e};return{render:gt,hydrate:void 0,createApp:dr(gt)}}function os({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 Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ti(e,t,n=!1){const s=e.children,l=t.children;if(j(s)&&j(l))for(let i=0;i>1,e[n[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 Oi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oi(t)}function hl(e){if(e)for(let t=0;te.__isSuspense;function Dr(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):jo(e)}const ne=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),rs=Symbol.for("v-stc"),Zt=[];let Ve=null;function T(e=!1){Zt.push(Ve=e?null:[])}function Ar(){Zt.pop(),Ve=Zt[Zt.length-1]||null}let ln=1;function gl(e,t=!1){ln+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function Mi(e){return e.dynamicChildren=ln>0?Ve||Rt:null,Ar(),ln>0&&Ve&&Ve.push(e),e}function O(e,t,n,s,l,i){return Mi(o(e,t,n,s,l,i,!0))}function Mr(e,t,n,s,l){return Mi(ct(e,t,n,s,l,!0))}function Ii(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Ri=({key:e})=>e??null,kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||Te(e)||N(e)?{i:Ue,r:e,k:t,f:!!n}:e:null);function o(e,t=null,n=null,s=0,l=null,i=e===ne?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ri(t),ref:t&&kn(t),scopeId:ri,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:Ue};return a?(An(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=he(n)?8:16),ln>0&&!r&&Ve&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ve.push(c),c}const ct=Ir;function Ir(e,t=null,n=null,s=0,l=null,i=!1){if((!e||e===lr)&&(e=vt),Ii(e)){const a=Bt(e,t,!0);return n&&An(a,n),ln>0&&!i&&Ve&&(a.shapeFlag&6?Ve[Ve.indexOf(e)]=a:Ve.push(a)),a.patchFlag=-2,a}if(Kr(e)&&(e=e.__vccOpts),t){t=Rr(t);let{class:a,style:c}=t;a&&!he(a)&&(t.class=Nn(a)),se(c)&&(Is(c)&&!j(c)&&(c=Ce({},c)),t.style=ks(c))}const r=he(e)?1:Ai(e)?128:Ko(e)?64:se(e)?4:N(e)?2:0;return o(e,t,n,s,l,r,i,!0)}function Rr(e){return e?Is(e)||xi(e)?Ce({},e):e:null}function Bt(e,t,n=!1,s=!1){const{props:l,ref:i,patchFlag:r,children:a,transition:c}=e,g=t?Lr(l||{},t):l,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&Ri(g),ref:t&&t.ref?n&&i?j(i)?i.concat(kn(t)):[i,kn(t)]:kn(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!==ne?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&&Bt(e.ssContent),ssFallback:e.ssFallback&&Bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&$s(h,c.clone(h)),h}function $r(e=" ",t=0){return ct(qn,null,e,t)}function Y(e="",t=!1){return t?(T(),Mr(vt,null,e)):ct(vt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?ct(vt):j(e)?ct(ne,null,e.slice()):Ii(e)?rt(e):ct(qn,null,String(e))}function rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bt(e)}function An(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const l=t.default;l&&(l._c&&(l._d=!1),An(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!xi(t)?t._ctx=Ue:l===3&&Ue&&(Ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(s&65){An(e,{default:t});return}t={default:t,_ctx:Ue},n=32}else t=String(t),s&64?(n=16,t=[$r(t)]):n=8;e.children=t,e.shapeFlag|=n}function Lr(...e){const t={};for(let n=0;nIe||Ue;let Mn,bs;{const e=Bn(),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)}};Mn=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),bs=t("__VUE_SSR_SETTERS__",n=>on=n)}const cn=e=>{const t=Ie;return Mn(e),e.scope.on(),()=>{e.scope.off(),Mn(t)}},_l=()=>{Ie&&Ie.scope.off(),Mn(null)};function $i(e){return e.vnode.shapeFlag&4}let on=!1;function Nr(e,t=!1,n=!1){t&&bs(t);const{props:s,children:l}=e.vnode,i=$i(e);br(e,s,i,t),Sr(e,l,n||t);const r=i?Ur(e,t):void 0;return t&&bs(!1),r}function Ur(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ir);const{setup:s}=n;if(s){st();const l=e.setupContext=s.length>1?Wr(e):null,i=cn(e),r=un(s,e,0,[e.props,l]),a=Il(r);if(lt(),i(),(a||e.sp)&&!Xt(e)&&ci(e),a){if(r.then(_l,_l),t)return r.then(c=>{vl(e,c)}).catch(c=>{Hn(c,e,0)});e.asyncDep=r}else vl(e,r)}else Li(e)}function vl(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=ti(t)),Li(e)}function Li(e,t,n){const s=e.type;e.render||(e.render=s.render||tt);{const l=cn(e);st();try{or(e)}finally{lt(),l()}}}const Hr={get(e,t){return Ee(e,"get",""),e[t]}};function Wr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Hr),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ti(Eo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qt)return Qt[n](e)},has(t,n){return n in t||n in Qt}})):e.proxy}function Kr(e){return N(e)&&"__vccOpts"in e}const kt=(e,t)=>Io(e,t,on),qr="3.5.39";/** -* @vue/runtime-dom v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let ws;const ml=typeof window<"u"&&window.trustedTypes;if(ml)try{ws=ml.createPolicy("vue",{createHTML:e=>e})}catch{}const Fi=ws?e=>ws.createHTML(e):e=>e,Jr="http://www.w3.org/2000/svg",Gr="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,yl=ot&&ot.createElement("template"),zr={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"?ot.createElementNS(Jr,e):t==="mathml"?ot.createElementNS(Gr,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&s&&s.multiple!=null&&l.setAttribute("multiple",s.multiple),l},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.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{yl.innerHTML=Fi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const a=yl.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]}},Yr=Symbol("_vtc");function Xr(e,t,n){const s=e[Yr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const bl=Symbol("_vod"),Qr=Symbol("_vsh"),Zr=Symbol(""),ea=/(?:^|;)\s*display\s*:/;function ta(e,t,n){const s=e.style,l=he(n);let i=!1;if(n&&!l){if(t)if(he(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&qt(s,a,"")}else for(const r in t)n[r]==null&&qt(s,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?sa(e,r,!he(t)&&t?t[r]:void 0,a)||qt(s,r,a):qt(s,r,"")}}else if(l){if(t!==n){const r=s[Zr];r&&(n+=";"+r),s.cssText=n,i=ea.test(n)}}else t&&e.removeAttribute("style");bl in e&&(e[bl]=i?s.display:"",e[Qr]&&(s.display="none"))}const wl=/\s*!important$/;function qt(e,t,n){if(j(n))n.forEach(s=>qt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=na(e,t);wl.test(n)?e.setProperty(Ot(s),n.replace(wl,""),"important"):e[s]=n}}const xl=["Webkit","Moz","ms"],as={};function na(e,t){const n=as[t];if(n)return n;let s=qe(t);if(s!=="filter"&&s in e)return as[t]=s;s=Ll(s);for(let l=0;lus||(ua.then(()=>us=0),us=Date.now());function fa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const l=n.value;if(j(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,da=(e,t,n,s,l,i)=>{const r=l==="svg";t==="class"?Xr(e,s,r):t==="style"?ta(e,n,s):$n(t)?Ln(t)||ia(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pa(e,t,s,r))?(kl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Sl(e,t,s,r,i,t!=="value")):e._isVueCE&&(ha(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!he(s)))?kl(e,qe(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Sl(e,t,s,r))};function pa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&El(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 El(t)&&he(n)?!1:t in e}function ha(e,t){const n=e._def.props;if(!n)return!1;const s=qe(t);return Array.isArray(n)?n.some(l=>qe(l)===s):Object.keys(n).some(l=>qe(l)===s)}const In=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Cn(t,n):t};function ga(e){e.target.composing=!0}function Tl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jt=Symbol("_assign");function Ol(e,t,n){return t&&(e=e.trim()),n&&(e=Vn(e)),e}const oe={created(e,{modifiers:{lazy:t,trim:n,number:s}},l){e[jt]=In(l);const i=s||l.props&&l.props.type==="number";Pt(e,t?"change":"input",r=>{r.target.composing||e[jt](Ol(e.value,n,i))}),(n||i)&&Pt(e,"change",()=>{e.value=Ol(e.value,n,i)}),t||(Pt(e,"compositionstart",ga),Pt(e,"compositionend",Tl),Pt(e,"change",Tl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:l,number:i}},r){if(e[jt]=In(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Vn(e.value):e.value,c=t??"";if(a===c)return;const g=e.getRootNode();(g instanceof Document||g instanceof ShadowRoot)&&g.activeElement===e&&e.type!=="range"&&(s&&t===n||l&&e.value.trim()===c)||(e.value=c)}},cs={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const l=Fn(t);Pt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Vn(Rn(r)):Rn(r));e[jt](e.multiple?l?new Set(i):i:i[0]),e._assigning=!0,si(()=>{e._assigning=!1})}),e[jt]=In(s)},mounted(e,{value:t}){Dl(e,t)},beforeUpdate(e,t,n){e[jt]=In(n)},updated(e,{value:t}){e._assigning||Dl(e,t)}};function Dl(e,t){const n=e.multiple,s=j(t);if(!(n&&!s&&!Fn(t))){for(let l=0,i=e.options.length;lString(g)===String(a)):r.selected=io(t,a)>-1}else r.selected=t.has(a);else if(an(Rn(r),t)){e.selectedIndex!==l&&(e.selectedIndex=l);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rn(e){return"_value"in e?e._value:e.value}const _a=Ce({patchProp:da},zr);let Al;function va(){return Al||(Al=Pr(_a))}const ma=((...e)=>{const t=va().createApp(...e),{mount:n}=t;return t.mount=s=>{const l=ba(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,ya(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t});function ya(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ba(e){return he(e)?document.querySelector(e):e}const wa="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",F={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`,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 xa extends Error{constructor(n,s,l={}){super(s);Xn(this,"code");Xn(this,"details");this.name="ApiClientError",this.code=n,this.details=l}}async function ge(e,t){return en(e,{method:"GET",query:t})}async function fe(e,t){return en(e,{method:"POST",body:t})}async function en(e,t={}){const s=await(await fetch(Ca(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 xa(s.error_code,s.message,s.details);return s.data}function Ca(e,t){const n=e.replace(/^\/+/,""),s=new URL(`${wa}/${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 Sa={class:"web-shell"},ka={class:"sidebar"},Pa={class:"brand"},Ea=["onClick"],Ta={class:"workspace"},Oa={class:"topbar"},Da={class:"actions"},Aa=["disabled"],Ma={key:0,class:"notice error"},Ia={key:1,class:"notice"},Ra={key:0,class:"dashboard-grid"},$a={key:1,class:"list-view"},La={class:"form-grid"},Fa={class:"wide-field"},ja=["disabled"],Va=["disabled"],Ba={key:0},Na={class:"inline-actions"},Ua={class:"badge"},Ha=["disabled","onClick"],Wa={key:0,class:"empty"},Ka={key:2,class:"split-view"},qa={class:"list-view"},Ja={class:"form-grid"},Ga=["disabled"],za={class:"inline-actions"},Ya={class:"badge"},Xa=["disabled","onClick"],Qa=["disabled","onClick"],Za=["disabled","onClick"],eu=["disabled","onClick"],tu={key:0,class:"empty"},nu={class:"list-view"},su={class:"inline-actions"},lu={class:"badge"},iu={key:0,class:"empty"},ou={key:0},ru={key:3,class:"split-view"},au={class:"list-view"},uu={key:0,class:"empty"},cu={class:"list-view"},fu={class:"inline-actions"},du=["disabled"],pu={class:"form-grid"},hu={value:""},gu=["value"],_u=["disabled"],vu={class:"inline-actions"},mu={class:"badge"},yu=["disabled","onClick"],bu=["disabled","onClick"],wu=["disabled","onClick"],xu={key:0,class:"empty"},Cu={key:0},Su={key:4,class:"list-view"},ku=["disabled"],Pu={class:"form-grid"},Eu={value:""},Tu=["value"],Ou=["disabled"],Du={class:"inline-actions"},Au=["disabled","onClick"],Mu={key:0,class:"empty"},Iu={key:0},Ru={class:"form-grid"},$u=["disabled"],Lu={key:1},Fu={key:5,class:"list-view"},ju={class:"inline-actions"},Vu=["disabled"],Bu=["disabled"],Nu={class:"inline-actions"},Uu={class:"badge"},Hu=["onClick"],Wu=["onClick"],Ku={key:0,class:"empty"},qu={key:6,class:"split-view"},Ju={class:"list-view"},Gu=["disabled"],zu={class:"form-grid"},Yu=["disabled"],Xu={key:0},Qu={class:"list-view"},Zu={class:"inline-actions"},ec={class:"badge"},tc=["disabled","onClick"],nc=["disabled","onClick"],sc=["disabled","onClick"],lc={key:0,class:"empty"},ic={key:7,class:"logs-view"},oc={class:"split-view"},rc={class:"list-view"},ac={key:0,class:"empty"},uc={class:"list-view"},cc={class:"badge"},fc={key:0,class:"empty"},dc={class:"split-view"},pc={class:"list-view"},hc={key:0,class:"empty"},gc={class:"list-view"},_c={class:"badge"},vc={key:0,class:"empty"},mc={class:"list-view"},yc={key:0,class:"empty"},bc={key:8,class:"settings-view"},wc={class:"toolbar"},xc=["disabled"],Cc=["disabled"],Sc=["disabled"],kc=["disabled"],Pc=["disabled"],Ec=["disabled"],Tc={class:"settings-sections"},Oc={class:"editor-panel"},Dc={class:"split-view"},Ac={class:"list-view"},Mc={class:"list-view"},Ic={class:"inspector"},Rc=qo({__name:"App",setup(e){const t={waiting:"等待操作",loading:"加载中...",loadFailed:"加载失败",refresh:"刷新",complete:"完成",failed:"失败",noProfile:"未选择角色",noTags:"无标签",noImage:"未绑定图片",create:"新建",quickDraft:"快速草稿",archive:"归档",start:"启动",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:"节点",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),g=J(null),h=J(null),y=J(null),D=J(null),A=J([]),K=J(null),$=J([]),re=J([]),Z=J([]),H=J(null),V=J({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),R=J(null),ae=J(""),Se=J(null),ke=J(null),U=J({name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""}),We=J(null),Pe=J({display_name:"",workflow_type:"single_image"}),de=J({display_name:"",image_uri:"",tags:"",category_id:""}),ce=J({material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}),be=J({categories:"top,bottom,dress,shoes,accessory",mood:"",weather:"",keywords:""}),pt=J(null),Re=J({provider_id:"",model_id:"",required_capabilities:"text_to_image"}),_e=J(null),W=J(""),z=J(!0),B=J(""),Ke=J(""),we=kt(()=>{var _,v;return((v=(_=r.value)==null?void 0:_.items[0])==null?void 0:v.profile_id)??""}),je=kt(()=>{var _,v;return((v=(_=r.value)==null?void 0:_.items[0])==null?void 0:v.name)??t.noProfile}),fn=kt(()=>{var v;const _=(v=i.value)==null?void 0:v.queue;return _?_.pending+_.running+_.failed+_.dead_letter:0}),Gn=kt(()=>{var _;return((_=K.value)==null?void 0:_.items.filter(v=>v.recognition_status!=="confirmed").length)??0}),zn=kt(()=>{var _;return(((_=K.value)==null?void 0:_.items)??[]).filter(v=>v.recognition_status==="confirmed")}),mt=kt(()=>({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]);pi(ht);async function ht(){var _,v;z.value=!0,Ke.value="";try{const[ue,me,$e,At,hn,Ut,gn,_n,vn,mn,yn]=await Promise.all([ge(F.uiBootstrap),ge(F.dashboardSummary),ge(F.profiles,{page:1,page_size:20}),ge(F.jobs,{page:1,page_size:20}),ge(F.settingsSchema),ge(F.settingsCurrent),ge(F.storageStatus),ge(F.materialCategories),ge(F.materials,{page:1,page_size:24}),ge(F.apiDiscoveryDialects),ge(F.apiDiscoveryCapabilities)]);l.value=ue,i.value=me,r.value=$e,g.value=At,h.value=hn,y.value=Ut,De(Ut.config),D.value=gn,A.value=_n,K.value=vn,re.value=mn,Z.value=yn,await yt((_=$e.items[0])==null?void 0:_.profile_id),await js((v=$e.items[0])==null?void 0:v.profile_id),await Nt()}catch(ue){Ke.value=ue instanceof Error?ue.message:t.loadFailed}finally{z.value=!1}}async function Nt(){const[_,v,ue,me,$e]=await Promise.allSettled([ge(F.generationLogs,{limit:12}),ge(F.workflowLogs,{limit:12}),ge(F.errorLogs,{limit:12}),ge(F.integrationLogs,{limit:12}),ge(F.auditLogs,{limit:12})]);V.value={generation:gt(_),workflows:gt(v),errors:gt(ue),integrations:gt(me),audit:gt($e)}}function gt(_){return _.status==="fulfilled"?_.value:[]}async function yt(_){if(!_){$.value=[];return}$.value=await ge(F.wardrobe(_))}async function js(_){var me,$e;if(!_){a.value=[],c.value=null;return}a.value=await ge(F.profileWorkflows(_));const v=(me=c.value)==null?void 0:me.workflow.workflow_id,ue=a.value.some(At=>At.workflow_id===v)?v:($e=a.value[0])==null?void 0:$e.workflow_id;ue?await u(ue):c.value=null}async function u(_){c.value=await ge(F.workflow(_))}async function f(_,v,ue=!0){B.value=_,Ke.value="";try{const me=await v();W.value=`${_}${t.complete}`,_===t.exportSettings&&(W.value=`${t.exportDone}: ${!!me.redacted}`),ue&&await ht()}catch(me){Ke.value=me instanceof Error?me.message:`${_}${t.failed}`}finally{B.value=""}}function m(_){return f(t.retry,()=>fe(F.jobRetry(_)))}function C(_){return f(t.cancel,()=>fe(F.jobCancel(_)))}function x(){U.value={name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""},We.value=null}function b(){return f(t.quickDraft,async()=>(We.value=await fe(F.quickProfileDraft,{questionnaire:{name:U.value.name,identity:U.value.identity,personality:wt(U.value.personality),hair_color:U.value.hair_color,hairstyle:U.value.hairstyle,eye_color:U.value.eye_color,style:U.value.style,clothing_keywords:wt(U.value.clothing_keywords)}}),We.value),!1)}function P(){var v;const _=(v=We.value)==null?void 0:v.profile_preview;return f(t.create,async()=>{const ue=await fe(F.profiles,{name:(_==null?void 0:_.name)||U.value.name,description:U.value.description,base_prompt:_==null?void 0:_.base_prompt,appearance_prompt:_==null?void 0:_.appearance_prompt,style_prompt:_==null?void 0:_.style_prompt,negative_prompt:_==null?void 0:_.negative_prompt});return x(),W.value=t.profileCreated,ue})}function k(_){return f(t.delete,async()=>{const v=await en(F.profile(_),{method:"DELETE"});return W.value=t.profileDeleted,v})}function S(){const _=we.value;return _?f(t.create,async()=>{const v=await fe(F.profileWorkflows(_),{display_name:Pe.value.display_name,workflow_type:Pe.value.workflow_type});return Pe.value.display_name="",c.value=v,W.value=t.workflowCreated,v}):Promise.resolve()}function w(_){return f(t.start,()=>fe(F.workflowStart(_)))}function I(_){return f(t.cancel,()=>fe(F.workflowCancel(_)))}function E(_){return f(t.archive,()=>fe(F.workflowArchive(_)))}function M(){return f(t.moveFailed,()=>fe(F.jobDeadLetterMoveFailed,{limit:20}))}function L(){return f(t.retryDead,()=>fe(F.jobDeadLetterRetry,{limit:20}))}function q(){var v;const _=((v=re.value[0])==null?void 0:v.dialect)??"unknown";return f(t.safeProbe,()=>fe(F.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:_,capabilities:{supports:["text_to_image"]}}))}function ee(){return f(t.validatePlan,async()=>(_e.value=await fe(F.apiDiscoveryValidateRenderPlan,{provider_id:Re.value.provider_id,model_id:Re.value.model_id,required_capabilities:wt(Re.value.required_capabilities)}),_e.value),!1)}function G(_,v){return f(t.discovery,()=>fe(F.apiDiscoveryManualOverride,{provider_id:_.provider_id,model_id:_.model_id,dialect:_.dialect,status:v,capabilities:_.capabilities}))}function pe(){const _=we.value;return _?f(t.matchWardrobe,async()=>(H.value=await fe(F.wardrobeMatch(_),{tags:["daily"]}),H.value),!1):Promise.resolve()}function ve(){ce.value={material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}}function Be(){const _=we.value;return _?f(t.importToWardrobe,async()=>{const v=await fe(F.wardrobeImportMaterial(_),{material_id:ce.value.material_id,wardrobe_category:ce.value.wardrobe_category,tags:wt(ce.value.tags),season:ce.value.season||void 0,style:ce.value.style||void 0});return ve(),W.value=t.wardrobeImported,v}):Promise.resolve()}function Ne(_){const v=we.value;return v?f(t.delete,async()=>{const ue=await en(F.wardrobeItem(v,_),{method:"DELETE"});return W.value=t.wardrobeDeleted,ue}):Promise.resolve()}function bt(){const _=we.value;return _?f(t.dailyOutfit,async()=>(pt.value=await fe(F.privateCompanionDailyOutfit,{profile_id:_,categories:wt(be.value.categories),mood:be.value.mood,weather:be.value.weather,keywords:wt(be.value.keywords),request_source:"astrbot_plugin_private_companion"}),W.value=t.outfitGenerated,pt.value),!1):Promise.resolve()}function dn(){return f(t.reload,async()=>{var v;const _=await fe(F.settingsReload);return y.value={config_path:((v=y.value)==null?void 0:v.config_path)??"***PATH***",config:_.config},De(_.config),_},!1)}function Oe(){return f(t.exportSettings,()=>ge(F.settingsExport),!1)}function De(_=(v=>(v=y.value)==null?void 0:v.config)()??{}){ae.value=JSON.stringify(_,null,2),Se.value=null,ke.value=null}function Dt(){try{const _=JSON.parse(ae.value);if(!_||Array.isArray(_)||typeof _!="object")throw new Error(t.settingsDraftInvalid);return _}catch(_){throw new Error(_ instanceof Error?_.message:t.settingsDraftInvalid)}}function pn(){return f(t.validate,async()=>(Se.value=await fe(F.settingsValidate,{config:Dt()}),Se.value),!1)}function ji(){return f(t.diff,async()=>(ke.value=await fe(F.settingsDiff,{config:Dt()}),ke.value),!1)}function Vi(){return f(t.save,async()=>{var v;const _=await fe(F.settingsSave,{config:Dt()});return y.value={config_path:((v=y.value)==null?void 0:v.config_path)??"***PATH***",config:_.config},De(_.config),W.value=t.settingsSaved,_},!1)}function Bi(){var v,ue;const _=(ue=(v=K.value)==null?void 0:v.items.find(me=>{var $e;return($e=me.image_uri)==null?void 0:$e.startsWith("storage://")}))==null?void 0:ue.image_uri;return _?f(t.signMaterial,async()=>(R.value=await ge(F.mediaSign,{uri:_}),R.value),!1):(W.value=t.noSignableMaterial,Promise.resolve())}function Ni(){de.value={display_name:"",image_uri:"",tags:"",category_id:""}}function Ui(){return f(t.create,async()=>{const _=await fe(F.materials,{display_name:de.value.display_name,image_uri:de.value.image_uri||void 0,thumbnail_uri:de.value.image_uri||void 0,category_id:de.value.category_id||void 0,tags:wt(de.value.tags),recognition_status:de.value.image_uri?"pending_recognition":"pending_upload"});return Ni(),W.value=t.materialCreated,_})}function Hi(_){return f(t.recognize,()=>fe(F.materialRecognize(_)))}function Wi(_){return f(t.confirm,()=>fe(F.materialConfirm(_.material_id),{display_name:_.display_name,prompt:_.prompt,negative_prompt:_.negative_prompt,tags:_.tags}))}function Ki(_){return f(t.archive,async()=>{const v=await en(F.material(_),{method:"DELETE"});return W.value=t.materialArchived,v})}function wt(_){return _.split(",").map(v=>v.trim()).filter(Boolean)}function Yn(_=0){return _<1024?`${_} B`:_<1024*1024?`${(_/1024).toFixed(1)} KB`:_<1024*1024*1024?`${(_/1024/1024).toFixed(1)} MB`:`${(_/1024/1024/1024).toFixed(1)} GB`}function Vs(_){var v,ue;return((ue=(v=D.value)==null?void 0:v.roots.find(me=>me.uri_prefix===_))==null?void 0:ue.bytes)??0}return(_,v)=>{var ue,me,$e,At,hn,Ut,gn,_n,vn,mn,yn,Bs,Ns,Us,Hs,Ws,Ks,qs,Js,Gs,zs,Ys,Xs,Qs,Zs;return T(),O("main",Sa,[o("aside",ka,[o("div",Pa,[o("strong",null,d(((ue=l.value)==null?void 0:ue.display_name)??"ImageStudio"),1),o("span",null,d(((me=l.value)==null?void 0:me.dashboard_user)??"AstrBot"),1)]),o("nav",null,[(T(),O(ne,null,ye(n,p=>o("button",{key:p.key,type:"button",class:Nn({active:s.value===p.key}),onClick:Le=>s.value=p.key},d(p.label),11,Ea)),64))])]),o("section",Ta,[o("header",Oa,[o("div",null,[o("h1",null,d(mt.value),1),o("p",null,d((($e=i.value)==null?void 0:$e.plugin_status)??"loading")+" / "+d(W.value||t.waiting),1)]),o("div",Da,[o("button",{type:"button",disabled:!!B.value,onClick:ht},d(B.value||t.refresh),9,Aa)])]),Ke.value?(T(),O("section",Ma,d(Ke.value),1)):z.value?(T(),O("section",Ia,d(t.loading),1)):(T(),O(ne,{key:2},[s.value==="dashboard"?(T(),O("section",Ra,[o("article",null,[o("span",null,d(t.profiles),1),o("strong",null,d(((At=i.value)==null?void 0:At.active_profiles)??0),1)]),o("article",null,[o("span",null,d(t.jobs),1),o("strong",null,d(fn.value),1)]),o("article",null,[o("span",null,d(t.materials),1),o("strong",null,d(((hn=K.value)==null?void 0:hn.total)??0),1)]),o("article",null,[o("span",null,d(t.storage),1),o("strong",null,d(Yn(((Ut=D.value)==null?void 0:Ut.total_bytes)??((gn=i.value)==null?void 0:gn.storage.total_bytes))),1)])])):Y("",!0),s.value==="profiles"?(T(),O("section",$a,[o("header",null,[o("h2",null,d(t.profileList),1),o("span",null,d(((_n=r.value)==null?void 0:_n.total)??0),1)]),o("div",La,[o("label",null,[o("span",null,d(t.name),1),te(o("input",{"onUpdate:modelValue":v[0]||(v[0]=p=>U.value.name=p),type:"text"},null,512),[[oe,U.value.name]])]),o("label",null,[o("span",null,d(t.identity),1),te(o("input",{"onUpdate:modelValue":v[1]||(v[1]=p=>U.value.identity=p),type:"text"},null,512),[[oe,U.value.identity]])]),o("label",null,[o("span",null,d(t.personality),1),te(o("input",{"onUpdate:modelValue":v[2]||(v[2]=p=>U.value.personality=p),type:"text",placeholder:"calm, brave"},null,512),[[oe,U.value.personality]])]),o("label",null,[o("span",null,d(t.hairColor),1),te(o("input",{"onUpdate:modelValue":v[3]||(v[3]=p=>U.value.hair_color=p),type:"text"},null,512),[[oe,U.value.hair_color]])]),o("label",null,[o("span",null,d(t.hairstyle),1),te(o("input",{"onUpdate:modelValue":v[4]||(v[4]=p=>U.value.hairstyle=p),type:"text"},null,512),[[oe,U.value.hairstyle]])]),o("label",null,[o("span",null,d(t.eyeColor),1),te(o("input",{"onUpdate:modelValue":v[5]||(v[5]=p=>U.value.eye_color=p),type:"text"},null,512),[[oe,U.value.eye_color]])]),o("label",null,[o("span",null,d(t.stylePrompt),1),te(o("input",{"onUpdate:modelValue":v[6]||(v[6]=p=>U.value.style=p),type:"text"},null,512),[[oe,U.value.style]])]),o("label",null,[o("span",null,d(t.tags),1),te(o("input",{"onUpdate:modelValue":v[7]||(v[7]=p=>U.value.clothing_keywords=p),type:"text",placeholder:"white blouse, ribbon"},null,512),[[oe,U.value.clothing_keywords]])]),o("label",Fa,[o("span",null,d(t.description),1),te(o("input",{"onUpdate:modelValue":v[8]||(v[8]=p=>U.value.description=p),type:"text"},null,512),[[oe,U.value.description]])]),o("button",{type:"button",disabled:!!B.value||!U.value.name,onClick:b},d(t.quickDraft),9,ja),o("button",{type:"button",disabled:!!B.value||!U.value.name,onClick:P},d(t.create),9,Va)]),We.value?(T(),O("pre",Ba,d(JSON.stringify(We.value,null,2)),1)):Y("",!0),o("ul",null,[(T(!0),O(ne,null,ye(((vn=r.value)==null?void 0:vn.items)??[],p=>(T(),O("li",{key:p.profile_id},[o("div",null,[o("strong",null,d(p.name),1),o("small",null,d(p.profile_id),1)]),o("div",Na,[o("span",Ua,d(p.status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>k(p.profile_id)},d(t.delete),9,Ha)])]))),128)),(mn=r.value)!=null&&mn.items.length?Y("",!0):(T(),O("li",Wa,d(t.emptyProfiles),1))])])):Y("",!0),s.value==="workflows"?(T(),O("section",Ka,[o("div",qa,[o("header",null,[o("h2",null,d(je.value),1),o("span",null,d(a.value.length),1)]),o("div",Ja,[o("label",null,[o("span",null,d(t.name),1),te(o("input",{"onUpdate:modelValue":v[9]||(v[9]=p=>Pe.value.display_name=p),type:"text"},null,512),[[oe,Pe.value.display_name]])]),o("label",null,[o("span",null,d(t.workflowType),1),te(o("select",{"onUpdate:modelValue":v[10]||(v[10]=p=>Pe.value.workflow_type=p)},[...v[29]||(v[29]=[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),[[cs,Pe.value.workflow_type]])]),o("button",{type:"button",disabled:!!B.value||!we.value||!Pe.value.display_name,onClick:S},d(t.create),9,Ga)]),o("ul",null,[(T(!0),O(ne,null,ye(a.value,p=>(T(),O("li",{key:p.workflow_id},[o("div",null,[o("strong",null,d(p.display_name),1),o("small",null,d(p.workflow_type)+" / "+d(p.workflow_id),1)]),o("div",za,[o("span",Ya,d(p.status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>u(p.workflow_id)},d(t.nodes),9,Xa),o("button",{type:"button",disabled:!!B.value,onClick:Le=>w(p.workflow_id)},d(t.start),9,Qa),o("button",{type:"button",disabled:!!B.value,onClick:Le=>I(p.workflow_id)},d(t.cancel),9,Za),o("button",{type:"button",disabled:!!B.value,onClick:Le=>E(p.workflow_id)},d(t.archive),9,eu)])]))),128)),a.value.length?Y("",!0):(T(),O("li",tu,d(t.emptyWorkflows),1))])]),o("div",nu,[o("header",null,[o("h2",null,d(t.nodes),1),o("span",null,d(((yn=c.value)==null?void 0:yn.workflow.current_branch)??"main"),1)]),o("ul",null,[(T(!0),O(ne,null,ye(((Bs=c.value)==null?void 0:Bs.nodes)??[],p=>(T(),O("li",{key:p.node_id},[o("div",null,[o("strong",null,d(p.title),1),o("small",null,d(p.node_key)+" / "+d(p.node_id),1)]),o("div",su,[o("span",null,d(p.branch_name),1),o("span",lu,d(p.status),1)])]))),128)),(Ns=c.value)!=null&&Ns.nodes.length?Y("",!0):(T(),O("li",iu,d(t.emptyWorkflows),1))]),c.value?(T(),O("pre",ou,d(JSON.stringify(c.value.workflow,null,2)),1)):Y("",!0)])])):Y("",!0),s.value==="materials"?(T(),O("section",ru,[o("div",au,[o("header",null,[o("h2",null,d(t.materialCategories),1),o("span",null,d(A.value.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(A.value,p=>(T(),O("li",{key:p.category_id},[o("div",null,[o("strong",null,d(p.name),1),o("small",null,d(p.category_type),1)]),o("span",null,d(p.sort_order),1)]))),128)),A.value.length?Y("",!0):(T(),O("li",uu,d(t.emptyCategories),1))])]),o("div",cu,[o("header",null,[o("h2",null,d(t.materialItems),1),o("div",fu,[o("span",null,d(Gn.value)+" "+d(t.pendingConfirm),1),o("button",{type:"button",disabled:!!B.value,onClick:Bi},d(t.signFirstImage),9,du)])]),o("div",pu,[o("label",null,[o("span",null,d(t.name),1),te(o("input",{"onUpdate:modelValue":v[11]||(v[11]=p=>de.value.display_name=p),type:"text"},null,512),[[oe,de.value.display_name]])]),o("label",null,[o("span",null,d(t.imageUri),1),te(o("input",{"onUpdate:modelValue":v[12]||(v[12]=p=>de.value.image_uri=p),type:"text",placeholder:"storage://materials/example.png"},null,512),[[oe,de.value.image_uri]])]),o("label",null,[o("span",null,d(t.category),1),te(o("select",{"onUpdate:modelValue":v[13]||(v[13]=p=>de.value.category_id=p)},[o("option",hu,d(t.allCategories),1),(T(!0),O(ne,null,ye(A.value,p=>(T(),O("option",{key:p.category_id,value:p.category_id},d(p.name),9,gu))),128))],512),[[cs,de.value.category_id]])]),o("label",null,[o("span",null,d(t.tags),1),te(o("input",{"onUpdate:modelValue":v[14]||(v[14]=p=>de.value.tags=p),type:"text",placeholder:"daily, top"},null,512),[[oe,de.value.tags]])]),o("button",{type:"button",disabled:!!B.value||!de.value.display_name,onClick:Ui},d(t.create),9,_u)]),o("ul",null,[(T(!0),O(ne,null,ye(((Us=K.value)==null?void 0:Us.items)??[],p=>(T(),O("li",{key:p.material_id},[o("div",null,[o("strong",null,d(p.display_name),1),o("small",null,d(p.image_uri??t.noImage),1)]),o("div",vu,[o("span",mu,d(p.recognition_status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>Hi(p.material_id)},d(t.recognize),9,yu),o("button",{type:"button",disabled:!!B.value||p.recognition_status==="confirmed",onClick:Le=>Wi(p)},d(t.confirm),9,bu),o("button",{type:"button",disabled:!!B.value,onClick:Le=>Ki(p.material_id)},d(t.archive),9,wu)])]))),128)),(Hs=K.value)!=null&&Hs.items.length?Y("",!0):(T(),O("li",xu,d(t.emptyMaterials),1))]),R.value?(T(),O("pre",Cu,d(JSON.stringify(R.value,null,2)),1)):Y("",!0)])])):Y("",!0),s.value==="wardrobe"?(T(),O("section",Su,[o("header",null,[o("h2",null,d(je.value),1),o("button",{type:"button",disabled:!we.value||!!B.value,onClick:pe},d(t.match),9,ku)]),o("div",Pu,[o("label",null,[o("span",null,d(t.selectMaterial),1),te(o("select",{"onUpdate:modelValue":v[15]||(v[15]=p=>ce.value.material_id=p)},[o("option",Eu,d(t.selectMaterial),1),(T(!0),O(ne,null,ye(zn.value,p=>(T(),O("option",{key:p.material_id,value:p.material_id},d(p.display_name),9,Tu))),128))],512),[[cs,ce.value.material_id]])]),o("label",null,[o("span",null,d(t.wardrobeCategory),1),te(o("input",{"onUpdate:modelValue":v[16]||(v[16]=p=>ce.value.wardrobe_category=p),type:"text"},null,512),[[oe,ce.value.wardrobe_category]])]),o("label",null,[o("span",null,d(t.tags),1),te(o("input",{"onUpdate:modelValue":v[17]||(v[17]=p=>ce.value.tags=p),type:"text",placeholder:"daily, top"},null,512),[[oe,ce.value.tags]])]),o("label",null,[o("span",null,d(t.season),1),te(o("input",{"onUpdate:modelValue":v[18]||(v[18]=p=>ce.value.season=p),type:"text"},null,512),[[oe,ce.value.season]])]),o("label",null,[o("span",null,d(t.style),1),te(o("input",{"onUpdate:modelValue":v[19]||(v[19]=p=>ce.value.style=p),type:"text"},null,512),[[oe,ce.value.style]])]),o("button",{type:"button",disabled:!!B.value||!we.value||!ce.value.material_id||!ce.value.wardrobe_category,onClick:Be},d(t.importToWardrobe),9,Ou)]),o("ul",null,[(T(!0),O(ne,null,ye($.value,p=>(T(),O("li",{key:p.wardrobe_item_id},[o("div",null,[o("strong",null,d(p.wardrobe_category),1),o("small",null,d(p.material_id)+" / "+d(p.tags.join(", ")||t.noTags),1)]),o("div",Du,[o("span",null,d(p.usage_count),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>Ne(p.wardrobe_item_id)},d(t.delete),9,Au)])]))),128)),$.value.length?Y("",!0):(T(),O("li",Mu,d(t.emptyWardrobe),1))]),H.value?(T(),O("pre",Iu,d(JSON.stringify(H.value,null,2)),1)):Y("",!0),o("div",Ru,[o("label",null,[o("span",null,d(t.categories),1),te(o("input",{"onUpdate:modelValue":v[20]||(v[20]=p=>be.value.categories=p),type:"text"},null,512),[[oe,be.value.categories]])]),o("label",null,[o("span",null,d(t.mood),1),te(o("input",{"onUpdate:modelValue":v[21]||(v[21]=p=>be.value.mood=p),type:"text"},null,512),[[oe,be.value.mood]])]),o("label",null,[o("span",null,d(t.weather),1),te(o("input",{"onUpdate:modelValue":v[22]||(v[22]=p=>be.value.weather=p),type:"text"},null,512),[[oe,be.value.weather]])]),o("label",null,[o("span",null,d(t.keywords),1),te(o("input",{"onUpdate:modelValue":v[23]||(v[23]=p=>be.value.keywords=p),type:"text"},null,512),[[oe,be.value.keywords]])]),o("button",{type:"button",disabled:!!B.value||!we.value,onClick:bt},d(t.dailyOutfit),9,$u)]),pt.value?(T(),O("pre",Lu,d(JSON.stringify(pt.value,null,2)),1)):Y("",!0)])):Y("",!0),s.value==="jobs"?(T(),O("section",Fu,[o("header",null,[o("h2",null,d(t.jobs),1),o("div",ju,[o("button",{type:"button",disabled:!!B.value,onClick:M},d(t.moveFailed),9,Vu),o("button",{type:"button",disabled:!!B.value,onClick:L},d(t.retryDead),9,Bu)])]),o("ul",null,[(T(!0),O(ne,null,ye(((Ws=g.value)==null?void 0:Ws.items)??[],p=>(T(),O("li",{key:p.task_id},[o("div",null,[o("strong",null,d(p.task_id),1),o("small",null,d(p.task_type)+" / "+d(p.progress)+"%",1)]),o("div",Nu,[o("span",Uu,d(p.status),1),p.status==="failed"?(T(),O("button",{key:0,type:"button",onClick:Le=>m(p.task_id)},d(t.retry),9,Hu)):Y("",!0),p.status==="pending"?(T(),O("button",{key:1,type:"button",onClick:Le=>C(p.task_id)},d(t.cancel),9,Wu)):Y("",!0)])]))),128)),(Ks=g.value)!=null&&Ks.items.length?Y("",!0):(T(),O("li",Ku,d(t.emptyJobs),1))])])):Y("",!0),s.value==="discovery"?(T(),O("section",qu,[o("div",Ju,[o("header",null,[o("h2",null,d(t.dialects),1),o("button",{type:"button",disabled:!!B.value,onClick:q},d(t.safeProbe),9,Gu)]),o("ul",null,[(T(!0),O(ne,null,ye(re.value,p=>(T(),O("li",{key:p.dialect},[o("div",null,[o("strong",null,d(p.label),1),o("small",null,d(p.capabilities.join(", ")||t.unconfirmed),1)]),o("span",null,d(p.dialect),1)]))),128))]),o("div",zu,[o("label",null,[o("span",null,d(t.provider),1),te(o("input",{"onUpdate:modelValue":v[24]||(v[24]=p=>Re.value.provider_id=p),type:"text",placeholder:"local-preview"},null,512),[[oe,Re.value.provider_id]])]),o("label",null,[o("span",null,d(t.model),1),te(o("input",{"onUpdate:modelValue":v[25]||(v[25]=p=>Re.value.model_id=p),type:"text",placeholder:"metadata-only"},null,512),[[oe,Re.value.model_id]])]),o("label",null,[o("span",null,d(t.requiredCapabilities),1),te(o("input",{"onUpdate:modelValue":v[26]||(v[26]=p=>Re.value.required_capabilities=p),type:"text",placeholder:"text_to_image"},null,512),[[oe,Re.value.required_capabilities]])]),o("button",{type:"button",disabled:!!B.value||!Re.value.provider_id||!Re.value.model_id,onClick:ee},d(t.validatePlan),9,Yu)]),_e.value?(T(),O("pre",Xu,d(JSON.stringify(_e.value,null,2)),1)):Y("",!0)]),o("div",Qu,[o("header",null,[o("h2",null,d(t.capabilityProfiles),1),o("span",null,d(Z.value.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(Z.value,p=>(T(),O("li",{key:p.capability_profile_id},[o("div",null,[o("strong",null,d(p.provider_id)+" / "+d(p.model_id),1),o("small",null,d(p.dialect),1)]),o("div",Zu,[o("span",ec,d(p.status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>G(p,"confirmed_supported")},d(t.support),9,tc),o("button",{type:"button",disabled:!!B.value,onClick:Le=>G(p,"confirmed_unsupported")},d(t.unsupported),9,nc),o("button",{type:"button",disabled:!!B.value,onClick:Le=>G(p,"unconfirmed")},d(t.unconfirmed),9,sc)])]))),128)),Z.value.length?Y("",!0):(T(),O("li",lc,d(t.emptyCapabilities),1))])])])):Y("",!0),s.value==="logs"?(T(),O("section",ic,[o("div",oc,[o("div",rc,[o("header",null,[o("h2",null,d(t.generationLogs),1),o("span",null,d(V.value.generation.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.generation,p=>(T(),O("li",{key:p.task_id},[o("div",null,[o("strong",null,d(p.task_id),1),o("small",null,d(p.status)+" / "+d(p.progress)+"%",1)]),o("span",null,d(p.created_at),1)]))),128)),V.value.generation.length?Y("",!0):(T(),O("li",ac,d(t.emptyGenerationLogs),1))])]),o("div",uc,[o("header",null,[o("h2",null,d(t.errorLogs),1),o("span",null,d(V.value.errors.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.errors,p=>(T(),O("li",{key:`${p.source}-${p.id}`},[o("div",null,[o("strong",null,d(p.source),1),o("small",null,d(p.error_message??t.noErrorDetail),1)]),o("span",cc,d(p.status),1)]))),128)),V.value.errors.length?Y("",!0):(T(),O("li",fc,d(t.emptyErrors),1))])])]),o("div",dc,[o("div",pc,[o("header",null,[o("h2",null,d(t.workflowLogs),1),o("span",null,d(V.value.workflows.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.workflows,p=>(T(),O("li",{key:p.history_id},[o("div",null,[o("strong",null,d(p.action),1),o("small",null,d(p.title??p.workflow_id),1)]),o("span",null,d(p.branch_name??"main"),1)]))),128)),V.value.workflows.length?Y("",!0):(T(),O("li",hc,d(t.emptyWorkflowLogs),1))])]),o("div",gc,[o("header",null,[o("h2",null,d(t.integrationLogs),1),o("span",null,d(V.value.integrations.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.integrations,p=>(T(),O("li",{key:p.integration_log_id},[o("div",null,[o("strong",null,d(p.integration_name),1),o("small",null,d(p.action),1)]),o("span",_c,d(p.status),1)]))),128)),V.value.integrations.length?Y("",!0):(T(),O("li",vc,d(t.emptyIntegrationLogs),1))])])]),o("div",mc,[o("header",null,[o("h2",null,d(t.auditLogs),1),o("span",null,d(V.value.audit.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.audit,p=>(T(),O("li",{key:p.audit_id},[o("div",null,[o("strong",null,d(p.action),1),o("small",null,d(p.actor_type)+" / "+d(p.target_type)+" / "+d(p.target_id),1)]),o("span",null,d(p.created_at),1)]))),128)),V.value.audit.length?Y("",!0):(T(),O("li",yc,d(t.emptyAuditLogs),1))])])])):Y("",!0),s.value==="settings"?(T(),O("section",bc,[o("div",wc,[o("button",{type:"button",disabled:!!B.value,onClick:dn},d(t.reload),9,xc),o("button",{type:"button",disabled:!!B.value,onClick:v[27]||(v[27]=p=>De())},d(t.reset),9,Cc),o("button",{type:"button",disabled:!!B.value,onClick:pn},d(t.validate),9,Sc),o("button",{type:"button",disabled:!!B.value,onClick:ji},d(t.diff),9,kc),o("button",{type:"button",disabled:!!B.value,onClick:Vi},d(t.save),9,Pc),o("button",{type:"button",disabled:!!B.value,onClick:Oe},d(t.exportRedacted),9,Ec)]),o("div",Tc,[(T(!0),O(ne,null,ye(((qs=h.value)==null?void 0:qs.sections)??[],p=>(T(),O("article",{key:p.key},[o("h2",null,d(p.title),1),o("span",null,d(p.fields.length),1)]))),128))]),o("section",Oc,[o("header",null,[o("h2",null,d(t.settingsEditor),1),o("span",null,d(((Js=y.value)==null?void 0:Js.config_path)??"***PATH***"),1)]),te(o("textarea",{"onUpdate:modelValue":v[28]||(v[28]=p=>ae.value=p),spellcheck:"false"},null,512),[[oe,ae.value]])]),o("div",Dc,[o("div",Ac,[o("header",null,[o("h2",null,d(t.validationResult),1),o("span",null,d(((Gs=Se.value)==null?void 0:Gs.valid)??"-"),1)]),o("pre",null,d(JSON.stringify(Se.value??{},null,2)),1)]),o("div",Mc,[o("header",null,[o("h2",null,d(t.diffResult),1),o("span",null,d(((zs=ke.value)==null?void 0:zs.changes.length)??0),1)]),o("pre",null,d(JSON.stringify(ke.value??{},null,2)),1)])])])):Y("",!0)],64))]),o("aside",Ic,[o("h2",null,d(t.running),1),o("dl",null,[o("div",null,[v[30]||(v[30]=o("dt",null,"Pending",-1)),o("dd",null,d(((Ys=i.value)==null?void 0:Ys.queue.pending)??0),1)]),o("div",null,[v[31]||(v[31]=o("dt",null,"Running",-1)),o("dd",null,d(((Xs=i.value)==null?void 0:Xs.queue.running)??0),1)]),o("div",null,[v[32]||(v[32]=o("dt",null,"Failed",-1)),o("dd",null,d(((Qs=i.value)==null?void 0:Qs.queue.failed)??0),1)]),o("div",null,[v[33]||(v[33]=o("dt",null,"Dead",-1)),o("dd",null,d(((Zs=i.value)==null?void 0:Zs.queue.dead_letter)??0),1)])]),o("h2",null,d(t.storage),1),o("dl",null,[o("div",null,[v[34]||(v[34]=o("dt",null,"Images",-1)),o("dd",null,d(Yn(Vs("storage://images/"))),1)]),o("div",null,[v[35]||(v[35]=o("dt",null,"Materials",-1)),o("dd",null,d(Yn(Vs("storage://materials/"))),1)])])])])}}}),$c=(e,t)=>{const n=e.__vccOpts||e;for(const[s,l]of t)n[s]=l;return n},Lc=$c(Rc,[["__scopeId","data-v-7bc7fcf4"]]);ma(Lc).mount("#app"); diff --git a/web/assets/index-DtDjEMov.js b/web/assets/index-DtDjEMov.js new file mode 100644 index 0000000..37d045c --- /dev/null +++ b/web/assets/index-DtDjEMov.js @@ -0,0 +1,17 @@ +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 29cd2bd..90fd5f6 100644 --- a/web/index.html +++ b/web/index.html @@ -1,3 +1,3 @@ - - + +