diff --git a/frontend/shared/api/endpoints.ts b/frontend/shared/api/endpoints.ts index b4dfad6..12eaffd 100644 --- a/frontend/shared/api/endpoints.ts +++ b/frontend/shared/api/endpoints.ts @@ -27,5 +27,10 @@ export const endpoints = { apiDiscoveryProbeModel: "api-discovery/probe-model", apiDiscoveryCapabilities: "api-discovery/capabilities", apiDiscoveryManualOverride: "api-discovery/manual-override", + generationLogs: "logs/generation", + workflowLogs: "logs/workflows", + errorLogs: "logs/errors", + integrationLogs: "logs/integrations", + auditLogs: "security/audit-logs", webManifest: "web/manifest", } as const diff --git a/frontend/shared/types/logs.ts b/frontend/shared/types/logs.ts new file mode 100644 index 0000000..2375e1e --- /dev/null +++ b/frontend/shared/types/logs.ts @@ -0,0 +1,62 @@ +export interface GenerationLog { + task_id: string + profile_id?: string | null + workflow_id?: string | null + node_id?: string | null + status: string + progress: number + error_message?: string | null + created_at: string + updated_at: string +} + +export interface WorkflowLog { + history_id: string + profile_id: string + workflow_id: string + node_id?: string | null + image_id?: string | null + branch_name?: string | null + action: string + title?: string | null + created_at: string +} + +export interface ErrorLog { + source: string + id: string + status: string + error_message?: string | null + created_at: string +} + +export interface IntegrationLog { + integration_log_id: string + integration_name: string + action: string + status: string + error_message?: string | null + created_at: string +} + +export interface AuditLog { + audit_id: string + request_id: string + actor_type: string + actor_id: string + action: string + target_type: string + target_id: string + before_snapshot?: unknown + after_snapshot?: unknown + metadata?: unknown + created_at: string +} + +export interface LogBundle { + generation: GenerationLog[] + workflows: WorkflowLog[] + errors: ErrorLog[] + integrations: IntegrationLog[] + audit: AuditLog[] +} diff --git a/frontend/shared/types/storage.ts b/frontend/shared/types/storage.ts index 0b2b690..2fa0c1f 100644 --- a/frontend/shared/types/storage.ts +++ b/frontend/shared/types/storage.ts @@ -8,3 +8,12 @@ export interface StorageStatus { }> total_bytes: number } + +export interface MediaSignResult { + uri: string + token: string + expires_at: number + url: string + content_type: string + size_bytes: number +} diff --git a/frontend/standalone-web/src/App.vue b/frontend/standalone-web/src/App.vue index 33a4935..849cafb 100644 --- a/frontend/standalone-web/src/App.vue +++ b/frontend/standalone-web/src/App.vue @@ -6,6 +6,7 @@ import type { UiBootstrap } from "../../shared/types/bootstrap" import type { DashboardSummary } from "../../shared/types/dashboard" import type { ApiDialect, CapabilityProfile } from "../../shared/types/discovery" import type { JobListResult } from "../../shared/types/job" +import type { LogBundle } from "../../shared/types/logs" import type { MaterialCategory, MaterialListResult } from "../../shared/types/material" import type { ProfileListResult } from "../../shared/types/profile" import type { @@ -14,10 +15,10 @@ import type { ReloadSettingsResult, SettingsSchema, } from "../../shared/types/settings" -import type { StorageStatus } from "../../shared/types/storage" +import type { MediaSignResult, StorageStatus } from "../../shared/types/storage" import type { WardrobeItem, WardrobeMatchResult } from "../../shared/types/wardrobe" -type ViewKey = "dashboard" | "profiles" | "materials" | "wardrobe" | "jobs" | "discovery" | "settings" +type ViewKey = "dashboard" | "profiles" | "materials" | "wardrobe" | "jobs" | "discovery" | "logs" | "settings" const activeView = ref("dashboard") const bootstrap = ref(null) @@ -33,6 +34,8 @@ const wardrobe = ref([]) const dialects = ref([]) const capabilities = ref([]) const wardrobeMatch = ref(null) +const logs = ref({ generation: [], workflows: [], errors: [], integrations: [], audit: [] }) +const signedMedia = ref(null) const lastOperation = ref("") const loading = ref(true) const busy = ref("") @@ -55,6 +58,7 @@ const activeTitle = computed(() => { wardrobe: "角色衣橱", jobs: "任务队列", discovery: "能力探测", + logs: "日志审计", settings: "设置", } return titles[activeView.value] @@ -103,6 +107,7 @@ async function load() { dialects.value = dialectData capabilities.value = capabilityData await loadWardrobe(profileData.items[0]?.profile_id) + await loadLogs() } catch (err) { error.value = err instanceof Error ? err.message : "加载失败" } finally { @@ -110,6 +115,27 @@ async function load() { } } +async function loadLogs() { + const [generation, workflows, errors, integrations, audit] = await Promise.allSettled([ + getJson(endpoints.generationLogs, { limit: 12 }), + getJson(endpoints.workflowLogs, { limit: 12 }), + getJson(endpoints.errorLogs, { limit: 12 }), + getJson(endpoints.integrationLogs, { limit: 12 }), + getJson(endpoints.auditLogs, { limit: 12 }), + ]) + logs.value = { + generation: settledValue(generation), + workflows: settledValue(workflows), + errors: settledValue(errors), + integrations: settledValue(integrations), + audit: settledValue(audit), + } +} + +function settledValue(result: PromiseSettledResult): T[] { + return result.status === "fulfilled" ? result.value : [] +} + async function loadWardrobe(profileId?: string) { if (!profileId) { wardrobe.value = [] @@ -196,6 +222,22 @@ function exportSettings() { return runOperation("导出设置", () => getJson(endpoints.settingsExport), false) } +function signFirstMaterial() { + const uri = materials.value?.items.find((item) => item.image_uri?.startsWith("storage://"))?.image_uri + if (!uri) { + lastOperation.value = "没有可签名的素材图片" + return Promise.resolve() + } + return runOperation( + "签名素材", + async () => { + signedMedia.value = await getJson(endpoints.mediaSign, { uri }) + return signedMedia.value + }, + false, + ) +} + function formatBytes(value = 0) { if (value < 1024) return `${value} B` if (value < 1024 * 1024) return `${(value / 1024).toFixed(1)} KB` @@ -234,6 +276,9 @@ function storageRootBytes(uriPrefix: string) { + @@ -313,7 +358,10 @@ function storageRootBytes(uriPrefix: string) {

素材条目

- {{ pendingRecognition }} 待确认 +
+ {{ pendingRecognition }} 待确认 + +
  • @@ -325,6 +373,7 @@ function storageRootBytes(uriPrefix: string) {
  • 暂无素材
+
{{ JSON.stringify(signedMedia, null, 2) }}
@@ -406,6 +455,95 @@ function storageRootBytes(uriPrefix: string) { +
+
+
+
+

生成日志

+ {{ logs.generation.length }} +
+
    +
  • +
    + {{ item.task_id }} + {{ item.status }} · {{ item.progress }}% +
    + {{ item.created_at }} +
  • +
  • 暂无生成日志
  • +
+
+
+
+

错误

+ {{ logs.errors.length }} +
+
    +
  • +
    + {{ item.source }} + {{ item.error_message ?? "无错误详情" }} +
    + {{ item.status }} +
  • +
  • 暂无错误
  • +
+
+
+ +
+
+
+

工作流

+ {{ logs.workflows.length }} +
+
    +
  • +
    + {{ item.action }} + {{ item.title ?? item.workflow_id }} +
    + {{ item.branch_name ?? "main" }} +
  • +
  • 暂无工作流日志
  • +
+
+
+
+

集成

+ {{ logs.integrations.length }} +
+
    +
  • +
    + {{ item.integration_name }} + {{ item.action }} +
    + {{ item.status }} +
  • +
  • 暂无集成日志
  • +
+
+
+ +
+
+

审计

+ {{ logs.audit.length }} +
+
    +
  • +
    + {{ item.action }} + {{ item.actor_type }} / {{ item.target_type }} / {{ item.target_id }} +
    + {{ item.created_at }} +
  • +
  • 暂无审计日志
  • +
+
+
+
@@ -636,11 +774,13 @@ article strong { } .list-view, +.logs-view, .settings-view { margin-top: 18px; } -.split-view .list-view { +.split-view .list-view, +.logs-view .list-view { margin-top: 0; } diff --git a/pages/imagestudio/assets/index-C3__Rxat.js b/pages/imagestudio/assets/index-CLV-WhF9.js similarity index 85% rename from pages/imagestudio/assets/index-C3__Rxat.js rename to pages/imagestudio/assets/index-CLV-WhF9.js index 06e1f02..4c85961 100644 --- a/pages/imagestudio/assets/index-C3__Rxat.js +++ b/pages/imagestudio/assets/index-CLV-WhF9.js @@ -2,16 +2,16 @@ var qr=Object.defineProperty;var Gr=(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,zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Xt=e=>e.startsWith("onUpdate:"),Q=Object.assign,Ds=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Jr=Object.prototype.hasOwnProperty,L=(e,t)=>Jr.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",z=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),Yr=e=>Pt(e).slice(8,-1),Kn=e=>Pt(e)==="[object Object]",js=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,mt=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zt=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},zr=/-\w/g,be=Zt(e=>e.replace(zr,t=>t.slice(1).toUpperCase())),Xr=/\B([A-Z])/g,et=Zt(e=>e.replace(Xr,"-$1").toLowerCase()),Un=Zt(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=Zt(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})},Zr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let on;const kt=()=>on||(on=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $s(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(z(e))t=e;else if(M(e))for(let s=0;s!!(e&&e.__v_isRef===!0),oe=e=>z(e)?e:e==null?"":M(e)||B(e)&&(e.toString===Bn||!R(e.toString))?qn(e)?oe(e.value):JSON.stringify(e,Gn,2):String(e),Gn=(e,t)=>qn(t)?Gn(e,t.value):rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[fs(n,i)+" =>"]=r,s),{})}:Hn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>fs(s))}:Fe(t)?fs(t):B(t)&&!M(t)&&!Kn(t)?String(t):t,fs=(e,t="")=>{var s;return Fe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +**/function 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,zt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),kt=e=>e.startsWith("onUpdate:"),Q=Object.assign,Ds=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Jr=Object.prototype.hasOwnProperty,L=(e,t)=>Jr.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",z=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),Yr=e=>Pt(e).slice(8,-1),Kn=e=>Pt(e)==="[object Object]",js=e=>z(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)))},zr=/-\w/g,be=Xt(e=>e.replace(zr,t=>t.slice(1).toUpperCase())),kr=/\B([A-Z])/g,et=Xt(e=>e.replace(kr,"-$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 $s(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(z(e))t=e;else if(M(e))for(let s=0;s!!(e&&e.__v_isRef===!0),oe=e=>z(e)?e:e==null?"":M(e)||B(e)&&(e.toString===Bn||!R(e.toString))?qn(e)?oe(e.value):JSON.stringify(e,Gn,2):String(e),Gn=(e,t)=>qn(t)?Gn(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 k;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&&k&&(k.active?(this.parent=k,this.index=(k.scopes||(k.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(k===this)k=this.prevScope;else{let t=k;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 Xn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zn(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),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&&(kn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function kn(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{Xn(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,Zn(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 je(){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 Ss=new WeakMap,ke=Symbol(""),ws=Symbol(""),Tt=Symbol("");function ee(e,t,s){if(ye&&W){let n=Ss.get(e);n||Ss.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=Ss.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&&js(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===Tt||!Fe(w)&&w>=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(ke)),rt(e)&&l(o.get(ws)));break;case"delete":f||(l(o.get(ke)),rt(e)&&l(o.get(ws)));break;case"set":rt(e)&&l(o.get(ke));break}}Bs()}function tt(e){const t=$(e);return t===e?t:(ee(t,"iterate",Tt),pe(e)?t:t.map(ve))}function Qt(e){return ee(e=$(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 $e(this,"every",e,t,void 0,arguments)},filter(e,t){return $e(this,"filter",e,t,s=>s.map(n=>Ae(this,n)),arguments)},find(e,t){return $e(this,"find",e,t,s=>Ae(this,s),arguments)},findIndex(e,t){return $e(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $e(this,"findLast",e,t,s=>Ae(this,s),arguments)},findLastIndex(e,t){return $e(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $e(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 $e(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 $e(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 $e(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,w){return s.call(this,Ae(e,p),w,e)}:s.length>2&&(d=function(p,w){return s.call(this,p,w,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=$(e);ee(n,"iterate",Tt);const r=n[t](...s);return(r===-1||r===!1)&&Gs(s[0])?(s[0]=$(s[0]),n[t](...s)):r}function ht(e,t,s=[]){De(),Ns();const n=$(e)[t].apply(e,s);return Bs(),je(),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=$(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?Si: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&&js(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)&&js(s);if(!this._isShallow){const d=Ke(i);if(!pe(n)&&!Ke(n)&&(i=$(i),n=$(n)),!o&&te(i)&&!te(n))return d||(i.value=n),!0}const l=o?Number(s)e,$t=e=>Reflect.getPrototypeOf(e);function mi(e,t,s){return function(...n){const r=this.__v_raw,i=$(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?ws:ke),Q(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}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=$(i),l=$(r);e||(Me(r,l)&&ee(o,"get",r),ee(o,"get",l));const{has:f}=$t(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($(r),"iterate",ke),r.size},has(r){const i=this.__v_raw,o=$(i),l=$(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=$(l),d=t?Cs:e?lt:ve;return!e&&ee(f,"iterate",ke),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=$(this),o=$t(i),l=$(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=$(i));const o=$(this),{has:l,get:f}=$t(o);let d=l.call(o,r);d||(r=$(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=$(this),{has:o,get:l}=$t(i);let f=o.call(i,r);f||(r=$(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=$(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,Si=new WeakMap;function wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function 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=wi(Yr(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 Gs(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(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:$(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:$(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 zn(this,!0),!0}get value(){const t=this.dep.track();return kn(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 Ze;function Ii(e,t=!1,s=Ze){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,w,C,j=!1,A=!1;if(te(e)?(p=()=>e.value,j=pe(e)):Qe(e)?(p=()=>d(e),j=!0):M(e)?(A=!0,j=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 f?f(O,2):O()})):R(e)?t?p=f?()=>f(e,2):e:p=()=>{if(w){De();try{w()}finally{je()}}const O=Ze;Ze=a;try{return f?f(e,3,[C]):e(C)}finally{Ze=O}}:p=Ie,t&&r){const O=p,Y=r===!0?1/0:r;p=()=>We(O(),Y)}const G=oi(),K=()=>{a.stop(),G&&G.active&&Ds(G.effects,a)};if(i&&t){const O=t;t=(...Y)=>{const ce=O(...Y);return K(),ce}}let I=A?new Array(e.length).fill(Nt):Nt;const H=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const Y=a.run();if(O||r||j||(A?Y.some((ce,fe)=>Me(ce,I[fe])):Me(Y,I))){w&&w();const ce=Ze;Ze=a;try{const fe=[Y,I===Nt?void 0:A&&I[0]===Nt?[]:I,C];I=Y,f?f(t,3,fe):t(...fe)}finally{Ze=ce}}}else a.run()};return l&&l(H),a=new Jn(p),a.scheduler=o?()=>o(H,!1):H,C=O=>Ii(O,!1,a),w=a.onStop=()=>{const O=Ut.get(a);if(O){if(f)f(O,4);else for(const Y of O)Y();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 kn(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{kn(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 je(){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 Ss=new WeakMap,Ze=Symbol(""),ws=Symbol(""),Tt=Symbol("");function ee(e,t,s){if(ye&&W){let n=Ss.get(e);n||Ss.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=Ss.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&&js(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===Tt||!Fe(w)&&w>=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(ws)));break;case"delete":f||(l(o.get(Ze)),rt(e)&&l(o.get(ws)));break;case"set":rt(e)&&l(o.get(Ze));break}}Bs()}function tt(e){const t=$(e);return t===e?t:(ee(t,"iterate",Tt),pe(e)?t:t.map(ve))}function Qt(e){return ee(e=$(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 $e(this,"every",e,t,void 0,arguments)},filter(e,t){return $e(this,"filter",e,t,s=>s.map(n=>Ae(this,n)),arguments)},find(e,t){return $e(this,"find",e,t,s=>Ae(this,s),arguments)},findIndex(e,t){return $e(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return $e(this,"findLast",e,t,s=>Ae(this,s),arguments)},findLastIndex(e,t){return $e(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return $e(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 $e(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 $e(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 $e(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,w){return s.call(this,Ae(e,p),w,e)}:s.length>2&&(d=function(p,w){return s.call(this,p,w,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=$(e);ee(n,"iterate",Tt);const r=n[t](...s);return(r===-1||r===!1)&&Gs(s[0])?(s[0]=$(s[0]),n[t](...s)):r}function ht(e,t,s=[]){De(),Ns();const n=$(e)[t].apply(e,s);return Bs(),je(),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=$(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?Si: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&&js(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)&&js(s);if(!this._isShallow){const d=Ke(i);if(!pe(n)&&!Ke(n)&&(i=$(i),n=$(n)),!o&&te(i)&&!te(n))return d||(i.value=n),!0}const l=o?Number(s)e,$t=e=>Reflect.getPrototypeOf(e);function mi(e,t,s){return function(...n){const r=this.__v_raw,i=$(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?ws:Ze),Q(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}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=$(i),l=$(r);e||(Me(r,l)&&ee(o,"get",r),ee(o,"get",l));const{has:f}=$t(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($(r),"iterate",Ze),r.size},has(r){const i=this.__v_raw,o=$(i),l=$(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=$(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=$(this),o=$t(i),l=$(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=$(i));const o=$(this),{has:l,get:f}=$t(o);let d=l.call(o,r);d||(r=$(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=$(this),{has:o,get:l}=$t(i);let f=o.call(i,r);f||(r=$(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=$(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,Si=new WeakMap;function wi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function 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=wi(Yr(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 Gs(e){return e?!!e.__v_raw:!1}function $(e){const t=e&&e.__v_raw;return t?$(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:$(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:$(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 zn(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:f}=s,d=O=>r?O:pe(O)||r===!1||r===0?We(O,1):We(O);let a,p,w,C,j=!1,A=!1;if(te(e)?(p=()=>e.value,j=pe(e)):Qe(e)?(p=()=>d(e),j=!0):M(e)?(A=!0,j=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 f?f(O,2):O()})):R(e)?t?p=f?()=>f(e,2):e:p=()=>{if(w){De();try{w()}finally{je()}}const O=Xe;Xe=a;try{return f?f(e,3,[C]):e(C)}finally{Xe=O}}:p=Ie,t&&r){const O=p,Y=r===!0?1/0:r;p=()=>We(O(),Y)}const G=oi(),K=()=>{a.stop(),G&&G.active&&Ds(G.effects,a)};if(i&&t){const O=t;t=(...Y)=>{const ce=O(...Y);return K(),ce}}let I=A?new Array(e.length).fill(Nt):Nt;const H=O=>{if(!(!(a.flags&1)||!a.dirty&&!O))if(t){const Y=a.run();if(O||r||j||(A?Y.some((ce,fe)=>Me(ce,I[fe])):Me(Y,I))){w&&w();const ce=Xe;Xe=a;try{const fe=[Y,I===Nt?void 0:A&&I[0]===Nt?[]:I,C];I=Y,f?f(t,3,fe):t(...fe)}finally{Xe=ce}}}else a.run()};return l&&l(H),a=new Jn(p),a.scheduler=o?()=>o(H,!1):H,C=O=>Ii(O,!1,a),w=a.onStop=()=>{const O=Ut.get(a);if(O){if(f)f(O,4);else for(const Y of O)Y();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}/** * @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($i(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 ze(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),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=Ie,C.resume=Ie,C.pause=Ie,C}}const a=ie;l.call=(C,j,A)=>xe(C,a,j,A);let p=!1;i==="post"?l.scheduler=C=>{le(C,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(C,j)=>{j?C():Js(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Fi(e,t,l);return At&&(d?d.push(w):f&&w()),w}function Ui(e,t,s){const n=this.proxy,r=z(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 Ys(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ys(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,G)=>vt(A,t&&(M(t)?t[G]: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?Zs(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,w=$(p),C=p===q?Ln:A=>un(a,A)?!1:L(w,A),j=(A,G)=>!(G&&un(a,G));if(d!=null&&d!==f){if(an(t),z(d))a[d]=null,C(d)&&(p[d]=null);else if(te(d)){const A=t;j(d,A.k)&&(d.value=null),A.k&&(a[A.k]=null)}}if(R(f)){De();try{Mt(f,l,12,[o,a])}finally{je()}}else{const A=z(f),G=te(f);if(A||G){const K=()=>{if(e.f){const I=A?C(f)?p[f]:a[f]:j()||!e.k?f.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[f]=[i],C(f)&&(p[f]=a[f]);else{const H=[i];j(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else A?(a[f]=o,C(f)&&(p[f]=o)):G&&(j(f,e.k)&&(f.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))}kt().requestIdleCallback;kt().cancelIdleCallback;const xt=e=>!!e.type.__asyncLoader,_r=e=>e.type.__isKeepAlive;function Gi(e,t){mr(e,"a",t)}function Ji(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)&&Yi(n,t,s,r),r=r.parent}}function Yi(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),f=xe(t,s,e,o);return l(),je(),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)},zi=Ue("bm"),br=Ue("m"),Xi=Ue("bu"),Zi=Ue("u"),ki=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||z(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)?Zs(e):Es(e.parent):null,St=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=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=ji.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 w=o[t];if(w!==void 0)switch(w){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=St[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(St,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:w,beforeUpdate:C,updated:j,activated:A,deactivated:G,beforeDestroy:K,beforeUnmount:I,destroyed:H,unmounted:O,render:Y,renderTracked:ce,renderTriggered:fe,errorCaptured:ge,serverPrefetch:de,expose:Ge,inheritAttrs:ft,components:It,directives:Ft,filters:rs}=t;if(d&&oo(d,n,null),o)for(const J in o){const V=o[J];R(V)&&(n[J]=V.bind(s))}if(r){const J=r.call(s,s);B(J)&&(e.data=Ws(J))}if(Os=!0,i)for(const J in i){const V=i[J],Je=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,Ye=Rs({get:Je,set:Dt});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Se=>Ye.value=Se})}if(l)for(const J in l)vr(l[J],n,s,J);if(f){const J=R(f)?f.call(s):f;Reflect.ownKeys(J).forEach(V=>{Ni(V,J[V])})}a&&pn(a,e,"c");function se(J,V){M(V)?V.forEach(Je=>J(Je.bind(s))):V&&J(V.bind(s))}if(se(zi,p),se(br,w),se(Xi,C),se(Zi,j),se(Gi,A),se(Ji,G),se(so,ge),se(to,ce),se(eo,fe),se(ki,I),se(yr,O),se(Qi,de),M(Ge))if(Ge.length){const J=e.exposed||(e.exposed={});Ge.forEach(V=>{Object.defineProperty(J,V,{get:()=>s[V],set:Je=>s[V]=Je,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===Ie&&(e.render=Y),ft!=null&&(e.inheritAttrs=ft),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(z(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 f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>Gt(f,d,o,!0)),Gt(f,t,o)),B(t)&&i.set(t,f),f}function Gt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Gt(e,i,s,!0),r&&r.forEach(o=>Gt(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:fo,provide:gn,inject:co};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 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=>z(a)?a.trim():a)),o.number&&(r=s.map(Zr)));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 wr(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 f=d=>{const a=wr(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||!zt(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:f,render:d,renderCache:a,props:p,data:w,setupState:C,ctx:j,inheritAttrs:A}=e,G=Wt(e);let K,I;try{if(s.shapeFlag&4){const O=r||n,Y=O;K=Pe(d.call(Y,O,a,p,C,w,j)),I=l}else{const O=t;K=Pe(O.length>1?O(p,{attrs:l,slots:o,emit:f}):O(p,null)),I=t.props?l:_o(l)}}catch(O){wt.length=0,es(O,e,1),K=Be(qe)}let H=K;if(I&&A!==!1){const O=Object.keys(I),{shapeFlag:Y}=H;O.length&&Y&7&&(i&&O.some(Xt)&&(I=mo(I,i)),H=ct(H,I,!1,!0))}return s.dirs&&(H=ct(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition&&Ys(H,s.transition),K=H,Wt(G),K}const _o=e=>{let t;for(const s in e)(s==="class"||s==="style"||zt(s))&&((t||(t={}))[s]=e[s]);return t},mo=(e,t)=>{const s={};for(const n in e)(!Xt(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=$(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[w,C]=Pr(p,t,!0);Q(o,w),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",Xs=e=>M(e)?e.map(Pe):[Pe(e)],wo=(e,t,s)=>{if(t._n)return t;const n=Hi((...r)=>Xs(t(...r)),s);return n._c=!1,n},Mr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(zs(r))continue;const i=e[r];if(R(i))t[r]=wo(r,i,n);else if(i!=null){const o=Xs(i);t[r]=()=>o}}},Rr=(e,t)=>{const s=Xs(t);e.slots.default=()=>s},Ir=(e,t,s)=>{for(const n in t)(s||!zs(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)!zs(l)&&o[l]==null&&delete r[l]},le=Mo;function Eo(e){return Oo(e)}function Oo(e,t){const s=kt();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=Ie,insertStaticContent:j}=e,A=(c,u,h,b=null,m=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!pt(c,u)&&(b=jt(c),Se(c,m,g,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:E,shapeFlag:S}=u;switch(_){case ns:G(c,u,h,b);break;case qe:K(c,u,h,b);break;case ms:c==null&&I(u,h,b,x);break;case me:It(c,u,h,b,m,g,x,v,y);break;default:S&1?Y(c,u,h,b,m,g,x,v,y):S&6?Ft(c,u,h,b,m,g,x,v,y):(S&64||S&128)&&_.process(c,u,h,b,m,g,x,v,y,at)}E!=null&&m?vt(E,c&&c.ref,g,u||c,!u):E==null&&c&&c.ref!=null&&vt(c.ref,null,g,c,!0)},G=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const m=u.el=c.el;u.children!==c.children&&d(m,u.children)}},K=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},I=(c,u,h,b)=>{[c.el,c.anchor]=j(c.children,u,h,b,c.el,c.anchor)},H=({el:c,anchor:u},h,b)=>{let m;for(;c&&c!==u;)m=w(c),n(c,h,b),c=m;n(u,h,b)},O=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=w(c),r(c),c=h;r(u)},Y=(c,u,h,b,m,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ce(u,h,b,m,g,x,v,y);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),de(c,u,m,g,x,v,y)}finally{_&&_._endPatch()}}},ce=(c,u,h,b,m,g,x,v)=>{let y,_;const{props:E,shapeFlag:S,transition:T,dirs:P}=c;if(y=c.el=o(c.type,g,E&&E.is,E),S&8?a(y,c.children):S&16&&ge(c.children,y,null,b,m,_s(c,g),x,v),P&&ze(c,null,b,"created"),fe(y,c,c.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,c)}P&&ze(c,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,c),D&&T.enter(y),P&&ze(c,null,b,"mounted")}finally{}},m)},fe=(c,u,h,b,m)=>{if(h&&C(c,h),b)for(let g=0;g{for(let _=y;_{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:_,dirs:E}=u;y|=c.patchFlag&16;const S=c.props||q,T=u.props||q;let P;if(h&&Xe(h,!1),(P=T.onVnodeBeforeUpdate)&&Ee(P,h,u,c),E&&ze(u,c,h,"beforeUpdate"),h&&Xe(h,!0),_&&(!c.dynamicChildren||c.dynamicChildren.length!==_.length)&&(y=0,x=!1,_=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&a(v,""),_?Ge(c.dynamicChildren,_,v,h,b,_s(u,m),g):x||V(c,u,v,null,h,b,_s(u,m),g,!1),y>0){if(y&16)ft(v,S,T,h,m);else if(y&2&&S.class!==T.class&&i(v,"class",null,T.class,m),y&4&&i(v,"style",S.style,T.style,m),y&8){const D=u.dynamicProps;for(let U=0;U{P&&Ee(P,h,u,c),E&&ze(u,c,h,"updated")},b)},Ge=(c,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(c,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(c,g,v,x,m,b)}"value"in h&&i(c,"value",u.value,h.value,m)}},It=(c,u,h,b,m,g,x,v,y)=>{const _=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),c==null?(n(_,h,b),n(E,h,b),ge(u.children||[],h,E,m,g,x,v,y)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(Ge(c.dynamicChildren,T,h,m,g,x,v),(u.key!=null||m&&u===m.subTree)&&Fr(c,u,!0)):V(c,u,h,E,m,g,x,v,y)},Ft=(c,u,h,b,m,g,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?m.ctx.activate(u,h,b,x,y):rs(u,h,b,m,g,x,y):ks(c,u,y)},rs=(c,u,h,b,m,g,x)=>{const v=c.component=No(c,b,m);if(_r(c)&&(v.ctx.renderer=at),Ko(v,!1,x),v.asyncDep){if(m&&m.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,m,g,x)},ks=(c,u,h)=>{const b=u.component=c.component;if(bo(c,u,h))if(b.asyncDep&&!b.asyncResolved){J(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},se=(c,u,h,b,m,g,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:T,u:P,parent:D,vnode:U}=c;{const Ce=Dr(c);if(Ce){S&&(S.el=U.el,J(c,S,x)),Ce.asyncDep.then(()=>{le(()=>{c.isUnmounted||_()},m)});return}}let N=S,X;Xe(c,!1),S?(S.el=U.el,J(c,S,x)):S=U,T&&cs(T),(X=S.props&&S.props.onVnodeBeforeUpdate)&&Ee(X,D,S,U),Xe(c,!0);const Z=mn(c),we=c.subTree;c.subTree=Z,A(we,Z,p(we.el),jt(we),c,m,g),S.el=Z.el,N===null&&yo(c,Z.el),P&&le(P,m),(X=S.props&&S.props.onVnodeUpdated)&&le(()=>Ee(X,D,S,U),m)}else{let S;const{el:T,props:P}=u,{bm:D,m:U,parent:N,root:X,type:Z}=c,we=xt(u);Xe(c,!1),D&&cs(D),!we&&(S=P&&P.onVnodeBeforeMount)&&Ee(S,N,u),Xe(c,!0);{X.ce&&X.ce._hasShadowRoot()&&X.ce._injectChildStyle(Z,c.parent?c.parent.type:void 0);const Ce=c.subTree=mn(c);A(null,Ce,h,b,c,m,g),u.el=Ce.el}if(U&&le(U,m),!we&&(S=P&&P.onVnodeMounted)){const Ce=u;le(()=>Ee(S,N,Ce),m)}(u.shapeFlag&256||N&&xt(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&le(c.a,m),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new Jn(v);c.scope.off();const _=c.update=y.run.bind(y),E=c.job=y.runIfDirty.bind(y);E.i=c,E.id=c.uid,y.scheduler=()=>Js(E),Xe(c,!0),_()},J=(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),De(),fn(c),je()},V=(c,u,h,b,m,g,x,v,y=!1)=>{const _=c&&c.children,E=c?c.shapeFlag:0,S=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){Dt(_,S,h,b,m,g,x,v,y);return}else if(T&256){Je(_,S,h,b,m,g,x,v,y);return}}P&8?(E&16&&ut(_,m,g),S!==_&&a(h,S)):E&16?P&16?Dt(_,S,h,b,m,g,x,v,y):ut(_,m,g,!0):(E&8&&a(h,""),P&16&&ge(S,h,b,m,g,x,v,y))},Je=(c,u,h,b,m,g,x,v,y)=>{c=c||nt,u=u||nt;const _=c.length,E=u.length,S=Math.min(_,E);let T;for(T=0;TE?ut(c,m,g,!0,!1,S):ge(u,h,b,m,g,x,v,y,S)},Dt=(c,u,h,b,m,g,x,v,y)=>{let _=0;const E=u.length;let S=c.length-1,T=E-1;for(;_<=S&&_<=T;){const P=c[_],D=u[_]=y?He(u[_]):Pe(u[_]);if(pt(P,D))A(P,D,h,null,m,g,x,v,y);else break;_++}for(;_<=S&&_<=T;){const P=c[S],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;S--,T--}if(_>S){if(_<=T){const P=T+1,D=PT)for(;_<=S;)Se(c[_],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,X=0;const Z=T-D+1;let we=!1,Ce=0;const dt=new Array(Z);for(_=0;_=Z){Se(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?Se(ue,m,g,!0):(dt[Te-D]=_+1,Te>=Ce?Ce=Te:we=!0,A(ue,u[Te],h,null,m,g,x,v,y),X++)}const tn=we?Po(dt):nt;for(N=tn.length-1,_=Z-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:_}=c;if(_&6){Ye(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){x.move(c,u,h,at);return}if(x===me){n(g,u,h);for(let S=0;Sv.enter(g),m));else{const{leave:S,delayLeave:T,afterLeave:P}=v,D=()=>{c.ctx.isUnmounted?r(g):n(g,u,h)},U=()=>{const N=g._isLeaving||!!g[ps];g._isLeaving&&g[ps](!0),v.persisted&&!N?D():S(g,()=>{D(),P&&P()})};T?T(g,D,U):U()}else n(g,u,h)},Se=(c,u,h,b=!1,m=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:_,shapeFlag:E,patchFlag:S,dirs:T,cacheIndex:P,memo:D}=c;if(S===-2&&(m=!1),v!=null&&(De(),vt(v,null,h,c,!0),je()),P!=null&&(u.renderCache[P]=void 0),E&256){u.ctx.deactivate(c);return}const U=E&1&&T,N=!xt(c);let X;if(N&&(X=x&&x.onVnodeBeforeUnmount)&&Ee(X,u,c),E&6)Wr(c.component,h,b);else{if(E&128){c.suspense.unmount(h,b);return}U&&ze(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,at,b):_&&!_.hasOnce&&(g!==me||S>0&&S&64)?ut(_,u,h,!1,!0):(g===me&&S&384||!m&&E&16)&&ut(y,u,h),b&&Qs(c)}const Z=D!=null&&P==null;(N&&(X=x&&x.onVnodeUnmounted)||U||Z)&&le(()=>{X&&Ee(X,u,c),U&&ze(c,null,u,"unmounted"),Z&&(c.el=null)},h)},Qs=c=>{const{type:u,el:h,anchor:b,transition:m}=c;if(u===me){Vr(h,b);return}if(u===ms){O(c);return}const g=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:v}=m,y=()=>x(h,g);v?v(c.el,g,y):y()}else g()},Vr=(c,u)=>{let h;for(;c!==u;)h=w(c),r(c),c=h;r(u)},Wr=(c,u,h)=>{const{bum:b,scope:m,job:g,subTree:x,um:v,m:y,a:_}=c;vn(y),vn(_),b&&cs(b),m.stop(),g&&(g.flags|=8,Se(x,c,u,h)),v&&le(v,u),le(()=>{c.isUnmounted=!0},u)},ut=(c,u,h,b=!1,m=!1,g=0)=>{for(let x=g;x{if(c.shapeFlag&6)return jt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),h=u&&u[Vi];return h?w(h):u};let is=!1;const en=(c,u,h)=>{let b;c==null?u._vnode&&(Se(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:Se,m:Ye,r:Qs,mt:rs,mc:ge,pc:V,pbc:Ge,n:jt,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 Xe({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"),wt=[];let ae=null;function he(e=!1){wt.push(ae=e?null:[])}function Ro(){wt.pop(),ae=wt[wt.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?z(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 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:Re};return l?(Jt(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=z(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&&Jt(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:f}=t;l&&!z(l)&&(t.class=Ls(l)),B(f)&&(Gs(f)&&!M(f)&&(f=Q({},f)),t.style=$s(f))}const o=z(e)?1:$r(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?Gs(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?$o(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: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&&Ys(a,f.clone(a)),a}function jo(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:ct(e)}function Jt(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),Jt(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){Jt(e,{default:t});return}t={default:t,_ctx:Re},s=32}else t=String(t),n&64?(s=16,t=[jo(t)]):s=8;e.children=t,e.shapeFlag|=s}function $o(...e){const t={};for(let s=0;sie||Re;let Yt,Ms;{const e=kt(),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)}};Yt=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),Ms=t("__VUE_SSR_SETTERS__",s=>At=s)}const Rt=e=>{const t=ie;return Yt(e),e.scope.on(),()=>{e.scope.off(),Yt(t)}},Sn=()=>{ie&&ie.scope.off(),Yt(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(je(),i(),(l||e.sp)&&!xt(e)&&gr(e),l){if(o.then(Sn,Sn),t)return o.then(f=>{wn(e,f)}).catch(f=>{es(f,e,0)});e.asyncDep=o}else wn(e,o)}else Kr(e)}function wn(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{je(),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 Zs(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 St)return St[s](e)},has(t,s){return s in t||s in St}})):e.proxy}function qo(e){return R(e)&&"__vccOpts"in e}const Rs=(e,t)=>Ri(e,t,At),Go="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(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($i(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 ze(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),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=Ie,C.resume=Ie,C.pause=Ie,C}}const a=ie;l.call=(C,j,A)=>xe(C,a,j,A);let p=!1;i==="post"?l.scheduler=C=>{le(C,a&&a.suspense)}:i!=="sync"&&(p=!0,l.scheduler=(C,j)=>{j?C():Js(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Fi(e,t,l);return At&&(d?d.push(w):f&&w()),w}function Ui(e,t,s){const n=this.proxy,r=z(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 Ys(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ys(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,G)=>vt(A,t&&(M(t)?t[G]: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,w=$(p),C=p===q?Ln:A=>un(a,A)?!1:L(w,A),j=(A,G)=>!(G&&un(a,G));if(d!=null&&d!==f){if(an(t),z(d))a[d]=null,C(d)&&(p[d]=null);else if(te(d)){const A=t;j(d,A.k)&&(d.value=null),A.k&&(a[A.k]=null)}}if(R(f)){De();try{Mt(f,l,12,[o,a])}finally{je()}}else{const A=z(f),G=te(f);if(A||G){const K=()=>{if(e.f){const I=A?C(f)?p[f]:a[f]:j()||!e.k?f.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[f]=[i],C(f)&&(p[f]=a[f]);else{const H=[i];j(f,e.k)&&(f.value=H),e.k&&(a[e.k]=H)}}else A?(a[f]=o,C(f)&&(p[f]=o)):G&&(j(f,e.k)&&(f.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 Gi(e,t){mr(e,"a",t)}function Ji(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)&&Yi(n,t,s,r),r=r.parent}}function Yi(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),f=xe(t,s,e,o);return l(),je(),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)},zi=Ue("bm"),br=Ue("m"),ki=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||z(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,St=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=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=ji.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 w=o[t];if(w!==void 0)switch(w){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=St[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(St,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:w,beforeUpdate:C,updated:j,activated:A,deactivated:G,beforeDestroy:K,beforeUnmount:I,destroyed:H,unmounted:O,render:Y,renderTracked:ce,renderTriggered:fe,errorCaptured:ge,serverPrefetch:de,expose:Ge,inheritAttrs:ft,components:It,directives:Ft,filters:rs}=t;if(d&&oo(d,n,null),o)for(const J in o){const V=o[J];R(V)&&(n[J]=V.bind(s))}if(r){const J=r.call(s,s);B(J)&&(e.data=Ws(J))}if(Os=!0,i)for(const J in i){const V=i[J],Je=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,Ye=Rs({get:Je,set:Dt});Object.defineProperty(n,J,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Se=>Ye.value=Se})}if(l)for(const J in l)vr(l[J],n,s,J);if(f){const J=R(f)?f.call(s):f;Reflect.ownKeys(J).forEach(V=>{Ni(V,J[V])})}a&&pn(a,e,"c");function se(J,V){M(V)?V.forEach(Je=>J(Je.bind(s))):V&&J(V.bind(s))}if(se(zi,p),se(br,w),se(ki,C),se(Xi,j),se(Gi,A),se(Ji,G),se(so,ge),se(to,ce),se(eo,fe),se(Zi,I),se(yr,O),se(Qi,de),M(Ge))if(Ge.length){const J=e.exposed||(e.exposed={});Ge.forEach(V=>{Object.defineProperty(J,V,{get:()=>s[V],set:Je=>s[V]=Je,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===Ie&&(e.render=Y),ft!=null&&(e.inheritAttrs=ft),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(z(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 f;return l?f=l:!r.length&&!s&&!n?f=t:(f={},r.length&&r.forEach(d=>Gt(f,d,o,!0)),Gt(f,t,o)),B(t)&&i.set(t,f),f}function Gt(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&Gt(e,i,s,!0),r&&r.forEach(o=>Gt(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:fo,provide:gn,inject:co};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 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=>z(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 wr(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 f=d=>{const a=wr(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||!zt(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:f,render:d,renderCache:a,props:p,data:w,setupState:C,ctx:j,inheritAttrs:A}=e,G=Wt(e);let K,I;try{if(s.shapeFlag&4){const O=r||n,Y=O;K=Pe(d.call(Y,O,a,p,C,w,j)),I=l}else{const O=t;K=Pe(O.length>1?O(p,{attrs:l,slots:o,emit:f}):O(p,null)),I=t.props?l:_o(l)}}catch(O){wt.length=0,es(O,e,1),K=Be(qe)}let H=K;if(I&&A!==!1){const O=Object.keys(I),{shapeFlag:Y}=H;O.length&&Y&7&&(i&&O.some(kt)&&(I=mo(I,i)),H=ct(H,I,!1,!0))}return s.dirs&&(H=ct(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition&&Ys(H,s.transition),K=H,Wt(G),K}const _o=e=>{let t;for(const s in e)(s==="class"||s==="style"||zt(s))&&((t||(t={}))[s]=e[s]);return t},mo=(e,t)=>{const s={};for(const n in e)(!kt(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=$(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[w,C]=Pr(p,t,!0);Q(o,w),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",ks=e=>M(e)?e.map(Pe):[Pe(e)],wo=(e,t,s)=>{if(t._n)return t;const n=Hi((...r)=>ks(t(...r)),s);return n._c=!1,n},Mr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(zs(r))continue;const i=e[r];if(R(i))t[r]=wo(r,i,n);else if(i!=null){const o=ks(i);t[r]=()=>o}}},Rr=(e,t)=>{const s=ks(t);e.slots.default=()=>s},Ir=(e,t,s)=>{for(const n in t)(s||!zs(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)!zs(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:w,setScopeId:C=Ie,insertStaticContent:j}=e,A=(c,u,h,b=null,m=null,g=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!pt(c,u)&&(b=jt(c),Se(c,m,g,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:E,shapeFlag:S}=u;switch(_){case ns:G(c,u,h,b);break;case qe:K(c,u,h,b);break;case ms:c==null&&I(u,h,b,x);break;case me:It(c,u,h,b,m,g,x,v,y);break;default:S&1?Y(c,u,h,b,m,g,x,v,y):S&6?Ft(c,u,h,b,m,g,x,v,y):(S&64||S&128)&&_.process(c,u,h,b,m,g,x,v,y,at)}E!=null&&m?vt(E,c&&c.ref,g,u||c,!u):E==null&&c&&c.ref!=null&&vt(c.ref,null,g,c,!0)},G=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const m=u.el=c.el;u.children!==c.children&&d(m,u.children)}},K=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},I=(c,u,h,b)=>{[c.el,c.anchor]=j(c.children,u,h,b,c.el,c.anchor)},H=({el:c,anchor:u},h,b)=>{let m;for(;c&&c!==u;)m=w(c),n(c,h,b),c=m;n(u,h,b)},O=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=w(c),r(c),c=h;r(u)},Y=(c,u,h,b,m,g,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ce(u,h,b,m,g,x,v,y);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),de(c,u,m,g,x,v,y)}finally{_&&_._endPatch()}}},ce=(c,u,h,b,m,g,x,v)=>{let y,_;const{props:E,shapeFlag:S,transition:T,dirs:P}=c;if(y=c.el=o(c.type,g,E&&E.is,E),S&8?a(y,c.children):S&16&&ge(c.children,y,null,b,m,_s(c,g),x,v),P&&ze(c,null,b,"created"),fe(y,c,c.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,c)}P&&ze(c,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,c),D&&T.enter(y),P&&ze(c,null,b,"mounted")}finally{}},m)},fe=(c,u,h,b,m)=>{if(h&&C(c,h),b)for(let g=0;g{for(let _=y;_{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:_,dirs:E}=u;y|=c.patchFlag&16;const S=c.props||q,T=u.props||q;let P;if(h&&ke(h,!1),(P=T.onVnodeBeforeUpdate)&&Ee(P,h,u,c),E&&ze(u,c,h,"beforeUpdate"),h&&ke(h,!0),_&&(!c.dynamicChildren||c.dynamicChildren.length!==_.length)&&(y=0,x=!1,_=null),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&a(v,""),_?Ge(c.dynamicChildren,_,v,h,b,_s(u,m),g):x||V(c,u,v,null,h,b,_s(u,m),g,!1),y>0){if(y&16)ft(v,S,T,h,m);else if(y&2&&S.class!==T.class&&i(v,"class",null,T.class,m),y&4&&i(v,"style",S.style,T.style,m),y&8){const D=u.dynamicProps;for(let U=0;U{P&&Ee(P,h,u,c),E&&ze(u,c,h,"updated")},b)},Ge=(c,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(c,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(c,g,v,x,m,b)}"value"in h&&i(c,"value",u.value,h.value,m)}},It=(c,u,h,b,m,g,x,v,y)=>{const _=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:P}=u;P&&(v=v?v.concat(P):P),c==null?(n(_,h,b),n(E,h,b),ge(u.children||[],h,E,m,g,x,v,y)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(Ge(c.dynamicChildren,T,h,m,g,x,v),(u.key!=null||m&&u===m.subTree)&&Fr(c,u,!0)):V(c,u,h,E,m,g,x,v,y)},Ft=(c,u,h,b,m,g,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?m.ctx.activate(u,h,b,x,y):rs(u,h,b,m,g,x,y):Zs(c,u,y)},rs=(c,u,h,b,m,g,x)=>{const v=c.component=No(c,b,m);if(_r(c)&&(v.ctx.renderer=at),Ko(v,!1,x),v.asyncDep){if(m&&m.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,m,g,x)},Zs=(c,u,h)=>{const b=u.component=c.component;if(bo(c,u,h))if(b.asyncDep&&!b.asyncResolved){J(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},se=(c,u,h,b,m,g,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:T,u:P,parent:D,vnode:U}=c;{const Ce=Dr(c);if(Ce){S&&(S.el=U.el,J(c,S,x)),Ce.asyncDep.then(()=>{le(()=>{c.isUnmounted||_()},m)});return}}let N=S,k;ke(c,!1),S?(S.el=U.el,J(c,S,x)):S=U,T&&cs(T),(k=S.props&&S.props.onVnodeBeforeUpdate)&&Ee(k,D,S,U),ke(c,!0);const X=mn(c),we=c.subTree;c.subTree=X,A(we,X,p(we.el),jt(we),c,m,g),S.el=X.el,N===null&&yo(c,X.el),P&&le(P,m),(k=S.props&&S.props.onVnodeUpdated)&&le(()=>Ee(k,D,S,U),m)}else{let S;const{el:T,props:P}=u,{bm:D,m:U,parent:N,root:k,type:X}=c,we=xt(u);ke(c,!1),D&&cs(D),!we&&(S=P&&P.onVnodeBeforeMount)&&Ee(S,N,u),ke(c,!0);{k.ce&&k.ce._hasShadowRoot()&&k.ce._injectChildStyle(X,c.parent?c.parent.type:void 0);const Ce=c.subTree=mn(c);A(null,Ce,h,b,c,m,g),u.el=Ce.el}if(U&&le(U,m),!we&&(S=P&&P.onVnodeMounted)){const Ce=u;le(()=>Ee(S,N,Ce),m)}(u.shapeFlag&256||N&&xt(N.vnode)&&N.vnode.shapeFlag&256)&&c.a&&le(c.a,m),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new Jn(v);c.scope.off();const _=c.update=y.run.bind(y),E=c.job=y.runIfDirty.bind(y);E.i=c,E.id=c.uid,y.scheduler=()=>Js(E),ke(c,!0),_()},J=(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),De(),fn(c),je()},V=(c,u,h,b,m,g,x,v,y=!1)=>{const _=c&&c.children,E=c?c.shapeFlag:0,S=u.children,{patchFlag:T,shapeFlag:P}=u;if(T>0){if(T&128){Dt(_,S,h,b,m,g,x,v,y);return}else if(T&256){Je(_,S,h,b,m,g,x,v,y);return}}P&8?(E&16&&ut(_,m,g),S!==_&&a(h,S)):E&16?P&16?Dt(_,S,h,b,m,g,x,v,y):ut(_,m,g,!0):(E&8&&a(h,""),P&16&&ge(S,h,b,m,g,x,v,y))},Je=(c,u,h,b,m,g,x,v,y)=>{c=c||nt,u=u||nt;const _=c.length,E=u.length,S=Math.min(_,E);let T;for(T=0;TE?ut(c,m,g,!0,!1,S):ge(u,h,b,m,g,x,v,y,S)},Dt=(c,u,h,b,m,g,x,v,y)=>{let _=0;const E=u.length;let S=c.length-1,T=E-1;for(;_<=S&&_<=T;){const P=c[_],D=u[_]=y?He(u[_]):Pe(u[_]);if(pt(P,D))A(P,D,h,null,m,g,x,v,y);else break;_++}for(;_<=S&&_<=T;){const P=c[S],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;S--,T--}if(_>S){if(_<=T){const P=T+1,D=PT)for(;_<=S;)Se(c[_],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,k=0;const X=T-D+1;let we=!1,Ce=0;const dt=new Array(X);for(_=0;_=X){Se(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?Se(ue,m,g,!0):(dt[Te-D]=_+1,Te>=Ce?Ce=Te:we=!0,A(ue,u[Te],h,null,m,g,x,v,y),k++)}const tn=we?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:_}=c;if(_&6){Ye(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){x.move(c,u,h,at);return}if(x===me){n(g,u,h);for(let S=0;Sv.enter(g),m));else{const{leave:S,delayLeave:T,afterLeave:P}=v,D=()=>{c.ctx.isUnmounted?r(g):n(g,u,h)},U=()=>{const N=g._isLeaving||!!g[ps];g._isLeaving&&g[ps](!0),v.persisted&&!N?D():S(g,()=>{D(),P&&P()})};T?T(g,D,U):U()}else n(g,u,h)},Se=(c,u,h,b=!1,m=!1)=>{const{type:g,props:x,ref:v,children:y,dynamicChildren:_,shapeFlag:E,patchFlag:S,dirs:T,cacheIndex:P,memo:D}=c;if(S===-2&&(m=!1),v!=null&&(De(),vt(v,null,h,c,!0),je()),P!=null&&(u.renderCache[P]=void 0),E&256){u.ctx.deactivate(c);return}const U=E&1&&T,N=!xt(c);let k;if(N&&(k=x&&x.onVnodeBeforeUnmount)&&Ee(k,u,c),E&6)Wr(c.component,h,b);else{if(E&128){c.suspense.unmount(h,b);return}U&&ze(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,at,b):_&&!_.hasOnce&&(g!==me||S>0&&S&64)?ut(_,u,h,!1,!0):(g===me&&S&384||!m&&E&16)&&ut(y,u,h),b&&Qs(c)}const X=D!=null&&P==null;(N&&(k=x&&x.onVnodeUnmounted)||U||X)&&le(()=>{k&&Ee(k,u,c),U&&ze(c,null,u,"unmounted"),X&&(c.el=null)},h)},Qs=c=>{const{type:u,el:h,anchor:b,transition:m}=c;if(u===me){Vr(h,b);return}if(u===ms){O(c);return}const g=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:x,delayLeave:v}=m,y=()=>x(h,g);v?v(c.el,g,y):y()}else g()},Vr=(c,u)=>{let h;for(;c!==u;)h=w(c),r(c),c=h;r(u)},Wr=(c,u,h)=>{const{bum:b,scope:m,job:g,subTree:x,um:v,m:y,a:_}=c;vn(y),vn(_),b&&cs(b),m.stop(),g&&(g.flags|=8,Se(x,c,u,h)),v&&le(v,u),le(()=>{c.isUnmounted=!0},u)},ut=(c,u,h,b=!1,m=!1,g=0)=>{for(let x=g;x{if(c.shapeFlag&6)return jt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),h=u&&u[Vi];return h?w(h):u};let is=!1;const en=(c,u,h)=>{let b;c==null?u._vnode&&(Se(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:Se,m:Ye,r:Qs,mt:rs,mc:ge,pc:V,pbc:Ge,n:jt,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 ke({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"),wt=[];let ae=null;function he(e=!1){wt.push(ae=e?null:[])}function Ro(){wt.pop(),ae=wt[wt.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?z(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 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:Re};return l?(Jt(f,s),i&128&&e.normalize(f)):s&&(f.shapeFlag|=z(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&&Jt(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:f}=t;l&&!z(l)&&(t.class=Ls(l)),B(f)&&(Gs(f)&&!M(f)&&(f=Q({},f)),t.style=$s(f))}const o=z(e)?1:$r(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?Gs(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?$o(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: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&&Ys(a,f.clone(a)),a}function jo(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:ct(e)}function Jt(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),Jt(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){Jt(e,{default:t});return}t={default:t,_ctx:Re},s=32}else t=String(t),n&64?(s=16,t=[jo(t)]):s=8;e.children=t,e.shapeFlag|=s}function $o(...e){const t={};for(let s=0;sie||Re;let Yt,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)}};Yt=t("__VUE_INSTANCE_SETTERS__",s=>ie=s),Ms=t("__VUE_SSR_SETTERS__",s=>At=s)}const Rt=e=>{const t=ie;return Yt(e),e.scope.on(),()=>{e.scope.off(),Yt(t)}},Sn=()=>{ie&&ie.scope.off(),Yt(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(je(),i(),(l||e.sp)&&!xt(e)&&gr(e),l){if(o.then(Sn,Sn),t)return o.then(f=>{wn(e,f)}).catch(f=>{es(f,e,0)});e.asyncDep=o}else wn(e,o)}else Kr(e)}function wn(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{je(),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 St)return St[s](e)},has(t,s){return s in t||s in St}})):e.proxy}function qo(e){return R(e)&&"__vccOpts"in e}const Rs=(e,t)=>Ri(e,t,At),Go="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,Jo="http://www.w3.org/2000/svg",Yo="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,Tn=Le&&Le.createElement("template"),zo={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(Jo,e):t==="mathml"?Le.createElementNS(Yo,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]}},Xo=Symbol("_vtc");function Zo(e,t,s){const n=e[Xo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const En=Symbol("_vod"),ko=Symbol("_vsh"),Qo=Symbol(""),el=/(?:^|;)\s*display\s*:/;function tl(e,t,s){const n=e.style,r=z(s);let i=!1;if(s&&!r){if(t)if(z(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,!z(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[ko]&&(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 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"?Zo(e,n,o):t==="style"?tl(e,s,n):zt(t)?Xt(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)||!z(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)&&z(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},zo);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 z(e)?document.querySelector(e):e}const xl="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",jn={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",quickProfileDraft:"profiles/quick-draft",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",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`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",webManifest:"web/manifest"};class Sl 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 $n(e,t){return wl(e,{method:"GET",query:t})}async function wl(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 Sl(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"},jl={key:0,class:"empty"},$l=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([$n(jn.uiBootstrap),$n(jn.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,w,C,j,A,G,K,I,H,O,Y,ce,fe,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(((w=t.value)==null?void 0:w.dashboard_user)??"AstrBot"),1)]),F("div",Ol,[F("span",{class:"status","data-state":((C=s.value)==null?void 0:C.plugin_status)??"loading"},oe(((j=s.value)==null?void 0:j.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(((G=s.value)==null?void 0:G.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((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)),(Y=(O=s.value)==null?void 0:O.recent_images)!=null&&Y.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(((ce=s.value)==null?void 0:ce.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=(fe=s.value)==null?void 0:fe.recent_jobs)!=null&&ge.length?bs("",!0):(he(),_e("li",jl,"暂无任务"))])])])])}}}),Ll=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},Hl=Ll($l,[["__scopeId","data-v-7e06e9af"]]);bl(Hl).mount("#app"); +**/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,Jo="http://www.w3.org/2000/svg",Yo="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,Tn=Le&&Le.createElement("template"),zo={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(Jo,e):t==="mathml"?Le.createElementNS(Yo,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]}},ko=Symbol("_vtc");function Xo(e,t,s){const n=e[ko];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=z(s);let i=!1;if(s&&!r){if(t)if(z(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,!z(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 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):zt(t)?kt(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)||!z(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)&&z(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},zo);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 z(e)?document.querySelector(e):e}const xl="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",jn={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",quickProfileDraft:"profiles/quick-draft",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",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`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",generationLogs:"logs/generation",workflowLogs:"logs/workflows",errorLogs:"logs/errors",integrationLogs:"logs/integrations",auditLogs:"security/audit-logs",webManifest:"web/manifest"};class Sl 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 $n(e,t){return wl(e,{method:"GET",query:t})}async function wl(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 Sl(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"},jl={key:0,class:"empty"},$l=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([$n(jn.uiBootstrap),$n(jn.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,w,C,j,A,G,K,I,H,O,Y,ce,fe,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(((w=t.value)==null?void 0:w.dashboard_user)??"AstrBot"),1)]),F("div",Ol,[F("span",{class:"status","data-state":((C=s.value)==null?void 0:C.plugin_status)??"loading"},oe(((j=s.value)==null?void 0:j.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(((G=s.value)==null?void 0:G.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((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)),(Y=(O=s.value)==null?void 0:O.recent_images)!=null&&Y.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(((ce=s.value)==null?void 0:ce.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=(fe=s.value)==null?void 0:fe.recent_jobs)!=null&&ge.length?bs("",!0):(he(),_e("li",jl,"暂无任务"))])])])])}}}),Ll=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},Hl=Ll($l,[["__scopeId","data-v-7e06e9af"]]);bl(Hl).mount("#app"); diff --git a/pages/imagestudio/index.html b/pages/imagestudio/index.html index b1da3f9..cc8f371 100644 --- a/pages/imagestudio/index.html +++ b/pages/imagestudio/index.html @@ -1,3 +1,3 @@ - +
diff --git a/web/assets/index-B92QQGCh.css b/web/assets/index-B92QQGCh.css new file mode 100644 index 0000000..e70577d --- /dev/null +++ b/web/assets/index-B92QQGCh.css @@ -0,0 +1 @@ +.web-shell[data-v-0ef32593]{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-0ef32593],.inspector[data-v-0ef32593]{background:#fff}.sidebar[data-v-0ef32593]{border-right:1px solid #d9e0e8;padding:20px}.inspector[data-v-0ef32593]{border-left:1px solid #d9e0e8;padding:20px}.brand[data-v-0ef32593]{display:grid;gap:4px;margin-bottom:24px}.brand strong[data-v-0ef32593]{font-size:19px}.brand span[data-v-0ef32593],p[data-v-0ef32593],dt[data-v-0ef32593],.empty[data-v-0ef32593],small[data-v-0ef32593]{color:#667085}nav[data-v-0ef32593]{display:grid;gap:6px}button[data-v-0ef32593]{min-height:36px;border:1px solid #c7d0da;border-radius:6px;color:#1b2430;background:#fff;font:inherit;text-align:center;cursor:pointer}button[data-v-0ef32593]:disabled{cursor:wait;opacity:.62}nav button[data-v-0ef32593]{border-color:transparent;background:transparent;text-align:left;padding:0 10px}button.active[data-v-0ef32593]{border-color:#b8d8cf;color:#164f43;background:#e5f4ef}.workspace[data-v-0ef32593]{min-width:0;padding:24px}.topbar[data-v-0ef32593],.list-view header[data-v-0ef32593],.toolbar[data-v-0ef32593],.inline-actions[data-v-0ef32593]{display:flex;gap:12px;align-items:center}.topbar[data-v-0ef32593],.list-view header[data-v-0ef32593]{justify-content:space-between}.actions[data-v-0ef32593],.inline-actions[data-v-0ef32593]{flex-wrap:wrap;justify-content:flex-end}.topbar button[data-v-0ef32593],.toolbar button[data-v-0ef32593],.list-view header button[data-v-0ef32593],.inline-actions button[data-v-0ef32593]{padding:0 14px}h1[data-v-0ef32593],h2[data-v-0ef32593],p[data-v-0ef32593],dl[data-v-0ef32593],dd[data-v-0ef32593]{margin:0}h1[data-v-0ef32593]{min-height:30px;font-size:26px}h2[data-v-0ef32593]{font-size:15px}.notice[data-v-0ef32593],article[data-v-0ef32593],.list-view[data-v-0ef32593],pre[data-v-0ef32593]{border:1px solid #d9e0e8;border-radius:8px;background:#fff}.notice[data-v-0ef32593]{margin-top:18px;padding:14px}.error[data-v-0ef32593]{border-color:#f0b4b4;color:#8a1f1f;background:#fff7f7}.dashboard-grid[data-v-0ef32593],.split-view[data-v-0ef32593]{display:grid;gap:12px;margin-top:18px}.dashboard-grid[data-v-0ef32593]{grid-template-columns:repeat(4,minmax(130px,1fr))}.split-view[data-v-0ef32593]{grid-template-columns:repeat(2,minmax(0,1fr))}article[data-v-0ef32593]{display:grid;gap:8px;padding:16px}article span[data-v-0ef32593]{color:#667085;font-size:13px}article strong[data-v-0ef32593]{font-size:24px}.list-view[data-v-0ef32593],.logs-view[data-v-0ef32593],.settings-view[data-v-0ef32593]{margin-top:18px}.split-view .list-view[data-v-0ef32593],.logs-view .list-view[data-v-0ef32593]{margin-top:0}.list-view[data-v-0ef32593]{padding:16px}ul[data-v-0ef32593]{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}li[data-v-0ef32593]{display:flex;justify-content:space-between;gap:12px;min-width:0;padding:10px 0;border-top:1px solid #eef1f5}li[data-v-0ef32593]:first-child{border-top:0}li>div[data-v-0ef32593]{display:grid;gap:3px;min-width:0}li strong[data-v-0ef32593],li span[data-v-0ef32593],li small[data-v-0ef32593]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge[data-v-0ef32593]{align-self:center;max-width:180px;border-radius:999px;padding:4px 9px;color:#1f4d62;background:#e5f1f7;font-size:12px}.toolbar[data-v-0ef32593]{justify-content:flex-start;margin:18px 0 12px}.settings-sections[data-v-0ef32593]{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}pre[data-v-0ef32593]{overflow:auto;max-height:420px;margin:12px 0 0;padding:14px;font-size:12px;line-height:1.5}dl[data-v-0ef32593]{display:grid;gap:12px;margin:14px 0 24px}dl div[data-v-0ef32593]{display:flex;justify-content:space-between}@media(max-width:1160px){.web-shell[data-v-0ef32593]{grid-template-columns:190px minmax(0,1fr)}.inspector[data-v-0ef32593]{display:none}}@media(max-width:820px){.web-shell[data-v-0ef32593]{grid-template-columns:1fr}.sidebar[data-v-0ef32593]{border-right:0;border-bottom:1px solid #d9e0e8}nav[data-v-0ef32593]{grid-template-columns:repeat(4,minmax(0,1fr))}nav button[data-v-0ef32593]{text-align:center}.dashboard-grid[data-v-0ef32593],.split-view[data-v-0ef32593],.settings-sections[data-v-0ef32593]{grid-template-columns:1fr}.topbar[data-v-0ef32593],.list-view header[data-v-0ef32593]{align-items:flex-start;flex-direction:column}} diff --git a/web/assets/index-BCNEksZg.js b/web/assets/index-BCNEksZg.js new file mode 100644 index 0000000..44e2bcf --- /dev/null +++ b/web/assets/index-BCNEksZg.js @@ -0,0 +1,17 @@ +var Gi=Object.defineProperty;var zi=(e,t,s)=>t in e?Gi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var bs=(e,t,s)=>zi(e,typeof t!="symbol"?t+"":t,s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const r of l.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function s(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(i){if(i.ep)return;i.ep=!0;const l=s(i);fetch(i.href,l)}})();/** +* @vue/shared v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Vs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const X={},xt=[],We=()=>{},Bn=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),as=e=>e.startsWith("onUpdate:"),de=Object.assign,Ws=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Yi=Object.prototype.hasOwnProperty,W=(e,t)=>Yi.call(e,t),L=Array.isArray,wt=e=>qt(e)==="[object Map]",Kn=e=>qt(e)==="[object Set]",dn=e=>qt(e)==="[object Date]",N=e=>typeof e=="function",ie=e=>typeof e=="string",qe=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",Un=e=>(G(e)||N(e))&&N(e.then)&&N(e.catch),Vn=Object.prototype.toString,qt=e=>Vn.call(e),Xi=e=>qt(e).slice(8,-1),Wn=e=>qt(e)==="[object Object]",qs=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ds=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Zi=/-\w/g,Me=ds(e=>e.replace(Zi,t=>t.slice(1).toUpperCase())),Qi=/\B([A-Z])/g,pt=ds(e=>e.replace(Qi,"-$1").toLowerCase()),qn=ds(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=ds(e=>e?`on${qn(e)}`:""),Ue=(e,t)=>!Object.is(e,t),xs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},el=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let hn;const hs=()=>hn||(hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Js(e){if(L(e)){const t={};for(let s=0;s{if(s){const n=s.split(sl);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Pe(e){let t="";if(ie(e))t=e;else if(L(e))for(let s=0;s!!(e&&e.__v_isRef===!0),T=e=>ie(e)?e:e==null?"":L(e)||G(e)&&(e.toString===Vn||!N(e.toString))?zn(e)?T(e.value):JSON.stringify(e,Yn,2):String(e),Yn=(e,t)=>zn(t)?Yn(e,t.value):wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],l)=>(s[ws(n,l)+" =>"]=i,s),{})}:Kn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>ws(s))}:qe(t)?ws(t):G(t)&&!L(t)&&!Wn(t)?String(t):t,ws=(e,t="")=>{var s;return qe(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 ae;class ul{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&&ae&&(ae.active?(this.parent=ae,this.index=(ae.scopes||(ae.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(ae===this)ae=this.prevScope;else{let t=ae;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(jt){let t=jt;for(jt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;$t;){let t=$t;for($t=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 ei(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ti(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Xs(n),fl(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Ds(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Bt)||(e.globalVersion=Bt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ds(e))))return;e.flags|=2;const t=e.dep,s=Y,n=Re;Y=e,Re=!0;try{ei(e);const i=e.fn(e._value);(t.version===0||Ue(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Y=s,Re=n,ti(e),e.flags&=-3}}function Xs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let l=s.computed.deps;l;l=l.nextDep)Xs(l,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function fl(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Re=!0;const ni=[];function Je(){ni.push(Re),Re=!1}function Ge(){const e=ni.pop();Re=e===void 0?!0:e}function pn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=Y;Y=void 0;try{t()}finally{Y=s}}}let Bt=0;class al{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 Zs{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(!Y||!Re||Y===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Y)s=this.activeLink=new al(Y,this),Y.deps?(s.prevDep=Y.depsTail,Y.depsTail.nextDep=s,Y.depsTail=s):Y.deps=Y.depsTail=s,ii(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=Y.depsTail,s.nextDep=void 0,Y.depsTail.nextDep=s,Y.depsTail=s,Y.deps===s&&(Y.deps=n)}return s}trigger(t){this.version++,Bt++,this.notify(t)}notify(t){zs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ys()}}}function ii(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)ii(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Fs=new WeakMap,dt=Symbol(""),$s=Symbol(""),Kt=Symbol("");function he(e,t,s){if(Re&&Y){let n=Fs.get(e);n||Fs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Zs),i.map=n,i.key=s),i.track()}}function et(e,t,s,n,i,l){const r=Fs.get(e);if(!r){Bt++;return}const o=c=>{c&&c.trigger()};if(zs(),t==="clear")r.forEach(o);else{const c=L(e),h=c&&qs(s);if(c&&s==="length"){const d=Number(n);r.forEach((_,O)=>{(O==="length"||O===Kt||!qe(O)&&O>=d)&&o(_)})}else switch((s!==void 0||r.has(void 0))&&o(r.get(s)),h&&o(r.get(Kt)),t){case"add":c?h&&o(r.get("length")):(o(r.get(dt)),wt(e)&&o(r.get($s)));break;case"delete":c||(o(r.get(dt)),wt(e)&&o(r.get($s)));break;case"set":wt(e)&&o(r.get(dt));break}}Ys()}function mt(e){const t=V(e);return t===e?t:(he(t,"iterate",Kt),Oe(e)?t:t.map(Ie))}function ps(e){return he(e=V(e),"iterate",Kt),e}function Be(e,t){return st(e)?Tt(ht(e)?Ie(t):t):Ie(t)}const dl={__proto__:null,[Symbol.iterator](){return Cs(this,Symbol.iterator,e=>Be(this,e))},concat(...e){return mt(this).concat(...e.map(t=>L(t)?mt(t):t))},entries(){return Cs(this,"entries",e=>(e[1]=Be(this,e[1]),e))},every(e,t){return Xe(this,"every",e,t,void 0,arguments)},filter(e,t){return Xe(this,"filter",e,t,s=>s.map(n=>Be(this,n)),arguments)},find(e,t){return Xe(this,"find",e,t,s=>Be(this,s),arguments)},findIndex(e,t){return Xe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xe(this,"findLast",e,t,s=>Be(this,s),arguments)},findLastIndex(e,t){return Xe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ts(this,"includes",e)},indexOf(...e){return Ts(this,"indexOf",e)},join(e){return mt(this).join(e)},lastIndexOf(...e){return Ts(this,"lastIndexOf",e)},map(e,t){return Xe(this,"map",e,t,void 0,arguments)},pop(){return Mt(this,"pop")},push(...e){return Mt(this,"push",e)},reduce(e,...t){return gn(this,"reduce",e,t)},reduceRight(e,...t){return gn(this,"reduceRight",e,t)},shift(){return Mt(this,"shift")},some(e,t){return Xe(this,"some",e,t,void 0,arguments)},splice(...e){return Mt(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 Mt(this,"unshift",e)},values(){return Cs(this,"values",e=>Be(this,e))}};function Cs(e,t,s){const n=ps(e),i=n[t]();return n!==e&&!Oe(e)&&(i._next=i.next,i.next=()=>{const l=i._next();return l.done||(l.value=s(l.value)),l}),i}const hl=Array.prototype;function Xe(e,t,s,n,i,l){const r=ps(e),o=r!==e&&!Oe(e),c=r[t];if(c!==hl[t]){const _=c.apply(e,l);return o?Ie(_):_}let h=s;r!==e&&(o?h=function(_,O){return s.call(this,Be(e,_),O,e)}:s.length>2&&(h=function(_,O){return s.call(this,_,O,e)}));const d=c.call(r,h,n);return o&&i?i(d):d}function gn(e,t,s,n){const i=ps(e),l=i!==e&&!Oe(e);let r=s,o=!1;i!==e&&(l?(o=n.length===0,r=function(h,d,_){return o&&(o=!1,h=Be(e,h)),s.call(this,h,Be(e,d),_,e)}):s.length>3&&(r=function(h,d,_){return s.call(this,h,d,_,e)}));const c=i[t](r,...n);return o?Be(e,c):c}function Ts(e,t,s){const n=V(e);he(n,"iterate",Kt);const i=n[t](...s);return(i===-1||i===!1)&&sn(s[0])?(s[0]=V(s[0]),n[t](...s)):i}function Mt(e,t,s=[]){Je(),zs();const n=V(e)[t].apply(e,s);return Ys(),Ge(),n}const pl=Vs("__proto__,__v_isRef,__isVue"),li=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qe));function gl(e){qe(e)||(e=String(e));const t=V(this);return he(t,"has",e),t.hasOwnProperty(e)}class ri{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,l=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return l;if(s==="__v_raw")return n===(i?l?Tl:fi:l?ci:ui).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const r=L(t);if(!i){let c;if(r&&(c=dl[s]))return c;if(s==="hasOwnProperty")return gl}const o=Reflect.get(t,s,pe(t)?t:n);if((qe(s)?li.has(s):pl(s))||(i||he(t,"get",s),l))return o;if(pe(o)){const c=r&&qs(s)?o:o.value;return i&&G(c)?Ls(c):c}return G(o)?i?Ls(o):en(o):o}}class oi extends ri{constructor(t=!1){super(!1,t)}set(t,s,n,i){let l=t[s];const r=L(t)&&qs(s);if(!this._isShallow){const h=st(l);if(!Oe(n)&&!st(n)&&(l=V(l),n=V(n)),!r&&pe(l)&&!pe(n))return h||(l.value=n),!0}const o=r?Number(s)e,Zt=e=>Reflect.getPrototypeOf(e);function yl(e,t,s){return function(...n){const i=this.__v_raw,l=V(i),r=wt(l),o=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,h=i[e](...n),d=s?js:t?Tt:Ie;return!t&&he(l,"iterate",c?$s:dt),de(Object.create(h),{next(){const{value:_,done:O}=h.next();return O?{value:_,done:O}:{value:o?[d(_[0]),d(_[1])]:d(_),done:O}}})}}function Qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function xl(e,t){const s={get(i){const l=this.__v_raw,r=V(l),o=V(i);e||(Ue(i,o)&&he(r,"get",i),he(r,"get",o));const{has:c}=Zt(r),h=t?js:e?Tt:Ie;if(c.call(r,i))return h(l.get(i));if(c.call(r,o))return h(l.get(o));l!==r&&l.get(i)},get size(){const i=this.__v_raw;return!e&&he(V(i),"iterate",dt),i.size},has(i){const l=this.__v_raw,r=V(l),o=V(i);return e||(Ue(i,o)&&he(r,"has",i),he(r,"has",o)),i===o?l.has(i):l.has(i)||l.has(o)},forEach(i,l){const r=this,o=r.__v_raw,c=V(o),h=t?js:e?Tt:Ie;return!e&&he(c,"iterate",dt),o.forEach((d,_)=>i.call(l,h(d),h(_),r))}};return de(s,e?{add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear")}:{add(i){const l=V(this),r=Zt(l),o=V(i),c=!t&&!Oe(i)&&!st(i)?o:i;return r.has.call(l,c)||Ue(i,c)&&r.has.call(l,i)||Ue(o,c)&&r.has.call(l,o)||(l.add(c),et(l,"add",c,c)),this},set(i,l){!t&&!Oe(l)&&!st(l)&&(l=V(l));const r=V(this),{has:o,get:c}=Zt(r);let h=o.call(r,i);h||(i=V(i),h=o.call(r,i));const d=c.call(r,i);return r.set(i,l),h?Ue(l,d)&&et(r,"set",i,l):et(r,"add",i,l),this},delete(i){const l=V(this),{has:r,get:o}=Zt(l);let c=r.call(l,i);c||(i=V(i),c=r.call(l,i)),o&&o.call(l,i);const h=l.delete(i);return c&&et(l,"delete",i,void 0),h},clear(){const i=V(this),l=i.size!==0,r=i.clear();return l&&et(i,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=yl(i,e,t)}),s}function Qs(e,t){const s=xl(e,t);return(n,i,l)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(W(s,i)&&i in n?s:n,i,l)}const wl={get:Qs(!1,!1)},Sl={get:Qs(!1,!0)},Cl={get:Qs(!0,!1)};const ui=new WeakMap,ci=new WeakMap,fi=new WeakMap,Tl=new WeakMap;function El(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function en(e){return st(e)?e:tn(e,!1,vl,wl,ui)}function Ol(e){return tn(e,!1,bl,Sl,ci)}function Ls(e){return tn(e,!0,ml,Cl,fi)}function tn(e,t,s,n,i){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const l=i.get(e);if(l)return l;const r=El(Xi(e));if(r===0)return e;const o=new Proxy(e,r===2?n:s);return i.set(e,o),o}function ht(e){return st(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function st(e){return!!(e&&e.__v_isReadonly)}function Oe(e){return!!(e&&e.__v_isShallow)}function sn(e){return e?!!e.__v_raw:!1}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function Al(e){return!W(e,"__v_skip")&&Object.isExtensible(e)&&Jn(e,"__v_skip",!0),e}const Ie=e=>G(e)?en(e):e,Tt=e=>G(e)?Ls(e):e;function pe(e){return e?e.__v_isRef===!0:!1}function le(e){return Pl(e,!1)}function Pl(e,t){return pe(e)?e:new Ml(e,t)}class Ml{constructor(t,s){this.dep=new Zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:V(t),this._value=s?t:Ie(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Oe(t)||st(t);t=n?t:V(t),Ue(t,s)&&(this._rawValue=t,this._value=n?t:Ie(t),this.dep.trigger())}}function Rl(e){return pe(e)?e.value:e}const Il={get:(e,t,s)=>t==="__v_raw"?e:Rl(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return pe(i)&&!pe(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ai(e){return ht(e)?e:new Proxy(e,Il)}class Dl{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Bt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return Qn(this,!0),!0}get value(){const t=this.dep.track();return si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fl(e,t,s=!1){let n,i;return N(e)?n=e:(n=e.get,i=e.set),new Dl(n,i,s)}const es={},ns=new WeakMap;let at;function $l(e,t=!1,s=at){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(e)}}function jl(e,t,s=X){const{immediate:n,deep:i,once:l,scheduler:r,augmentJob:o,call:c}=s,h=D=>i?D:Oe(D)||i===!1||i===0?lt(D,1):lt(D);let d,_,O,M,K=!1,P=!1;if(pe(e)?(_=()=>e.value,K=Oe(e)):ht(e)?(_=()=>h(e),K=!0):L(e)?(P=!0,K=e.some(D=>ht(D)||Oe(D)),_=()=>e.map(D=>{if(pe(D))return D.value;if(ht(D))return h(D);if(N(D))return c?c(D,2):D()})):N(e)?t?_=c?()=>c(e,2):e:_=()=>{if(O){Je();try{O()}finally{Ge()}}const D=at;at=d;try{return c?c(e,3,[M]):e(M)}finally{at=D}}:_=We,t&&i){const D=_,se=i===!0?1/0:i;_=()=>lt(D(),se)}const Z=cl(),q=()=>{d.stop(),Z&&Z.active&&Ws(Z.effects,d)};if(l&&t){const D=t;t=(...se)=>{const Ce=D(...se);return q(),Ce}}let k=P?new Array(e.length).fill(es):es;const H=D=>{if(!(!(d.flags&1)||!d.dirty&&!D))if(t){const se=d.run();if(D||i||K||(P?se.some((Ce,Te)=>Ue(Ce,k[Te])):Ue(se,k))){O&&O();const Ce=at;at=d;try{const Te=[se,k===es?void 0:P&&k[0]===es?[]:k,M];k=se,c?c(t,3,Te):t(...Te)}finally{at=Ce}}}else d.run()};return o&&o(H),d=new Xn(_),d.scheduler=r?()=>r(H,!1):H,M=D=>$l(D,!1,d),O=d.onStop=()=>{const D=ns.get(d);if(D){if(c)c(D,4);else for(const se of D)se();ns.delete(d)}},t?n?H(!0):k=d.run():r?r(H.bind(null,!0),!0):d.run(),q.pause=d.pause.bind(d),q.resume=d.resume.bind(d),q.stop=q,q}function lt(e,t=1/0,s){if(t<=0||!G(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,pe(e))lt(e.value,t,s);else if(L(e))for(let n=0;n{lt(n,t,s)});else if(Wn(e)){for(const n in e)lt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&<(e[n],t,s)}return e}/** +* @vue/runtime-core v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Jt(e,t,s,n){try{return n?e(...n):e()}catch(i){gs(i,t,s)}}function De(e,t,s,n){if(N(e)){const i=Jt(e,t,s,n);return i&&Un(i)&&i.catch(l=>{gs(l,t,s)}),i}if(L(e)){const i=[];for(let l=0;l>>1,i=ve[n],l=Ut(i);l=Ut(s)?ve.push(e):ve.splice(Hl(t),0,e),e.flags|=1,hi()}}function hi(){is||(is=di.then(gi))}function kl(e){L(e)?St.push(...e):it&&e.id===-1?it.splice(bt+1,0,e):e.flags&1||(St.push(e),e.flags|=1),hi()}function _n(e,t,s=ke+1){for(;sUt(s)-Ut(n));if(St.length=0,it){it.push(...t);return}for(it=t,bt=0;bte.id==null?e.flags&2?-1:1/0:e.id;function gi(e){try{for(ke=0;ke{n._d&&On(-1);const l=ls(t);let r;try{r=e(...i)}finally{ls(l),n._d&&On(1)}return r};return n._n=!0,n._c=!0,n._d=!0,n}function ut(e,t,s,n){const i=e.dirs,l=t&&t.dirs;for(let r=0;r1)return s&&N(t)?t.call(n&&n.proxy):t}}const Ul=Symbol.for("v-scx"),Vl=()=>ts(Ul);function Es(e,t,s){return vi(e,t,s)}function vi(e,t,s=X){const{immediate:n,deep:i,flush:l,once:r}=s,o=de({},s),c=t&&n||!t&&l!=="post";let h;if(Wt){if(l==="sync"){const M=Vl();h=M.__watcherHandles||(M.__watcherHandles=[])}else if(!c){const M=()=>{};return M.stop=We,M.resume=We,M.pause=We,M}}const d=me;o.call=(M,K,P)=>De(M,d,K,P);let _=!1;l==="post"?o.scheduler=M=>{be(M,d&&d.suspense)}:l!=="sync"&&(_=!0,o.scheduler=(M,K)=>{K?M():nn(M)}),o.augmentJob=M=>{t&&(M.flags|=4),_&&(M.flags|=2,d&&(M.id=d.uid,M.i=d))};const O=jl(e,t,o);return Wt&&(h?h.push(O):c&&O()),O}function Wl(e,t,s){const n=this.proxy,i=ie(e)?e.includes(".")?mi(n,e):()=>n[e]:e.bind(n,n);let l;N(t)?l=t:(l=t.handler,s=t);const r=Gt(this),o=vi(i,l.bind(n),s);return r(),o}function mi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,Os=Symbol("_leaveCb");function ln(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ln(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 Gl(e,t){return N(e)?de({name:e.name},t,{setup:e}):e}function bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function vn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const rs=new WeakMap;function Lt(e,t,s,n,i=!1){if(L(e)){e.forEach((P,Z)=>Lt(P,t&&(L(t)?t[Z]:t),s,n,i));return}if(Nt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Lt(e,t,s,n.component.subTree);return}const l=n.shapeFlag&4?un(n.component):n.el,r=i?null:l,{i:o,r:c}=e,h=t&&t.r,d=o.refs===X?o.refs={}:o.refs,_=o.setupState,O=V(_),M=_===X?Bn:P=>vn(d,P)?!1:W(O,P),K=(P,Z)=>!(Z&&vn(d,Z));if(h!=null&&h!==c){if(mn(t),ie(h))d[h]=null,M(h)&&(_[h]=null);else if(pe(h)){const P=t;K(h,P.k)&&(h.value=null),P.k&&(d[P.k]=null)}}if(N(c)){Je();try{Jt(c,o,12,[r,d])}finally{Ge()}}else{const P=ie(c),Z=pe(c);if(P||Z){const q=()=>{if(e.f){const k=P?M(c)?_[c]:d[c]:K()||!e.k?c.value:d[e.k];if(i)L(k)&&Ws(k,l);else if(L(k))k.includes(l)||k.push(l);else if(P)d[c]=[l],M(c)&&(_[c]=d[c]);else{const H=[l];K(c,e.k)&&(c.value=H),e.k&&(d[e.k]=H)}}else P?(d[c]=r,M(c)&&(_[c]=r)):Z&&(K(c,e.k)&&(c.value=r),e.k&&(d[e.k]=r))};if(r){const k=()=>{q(),rs.delete(e)};k.id=-1,rs.set(e,k),be(k,s)}else mn(e),q()}}}function mn(e){const t=rs.get(e);t&&(t.flags|=8,rs.delete(e))}hs().requestIdleCallback;hs().cancelIdleCallback;const Nt=e=>!!e.type.__asyncLoader,yi=e=>e.type.__isKeepAlive;function zl(e,t){xi(e,"a",t)}function Yl(e,t){xi(e,"da",t)}function xi(e,t,s=me){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(_s(t,n,s),s){let i=s.parent;for(;i&&i.parent;)yi(i.parent.vnode)&&Xl(n,t,s,i),i=i.parent}}function Xl(e,t,s,n){const i=_s(t,e,n,!0);Si(()=>{Ws(n[t],i)},s)}function _s(e,t,s=me,n=!1){if(s){const i=s[e]||(s[e]=[]),l=t.__weh||(t.__weh=(...r)=>{Je();const o=Gt(s),c=De(t,s,e,r);return o(),Ge(),c});return n?i.unshift(l):i.push(l),l}}const nt=e=>(t,s=me)=>{(!Wt||e==="sp")&&_s(e,(...n)=>t(...n),s)},Zl=nt("bm"),wi=nt("m"),Ql=nt("bu"),er=nt("u"),tr=nt("bum"),Si=nt("um"),sr=nt("sp"),nr=nt("rtg"),ir=nt("rtc");function lr(e,t=me){_s("ec",e,t)}const rr=Symbol.for("v-ndc");function we(e,t,s,n){let i;const l=s,r=L(e);if(r||ie(e)){const o=r&&ht(e);let c=!1,h=!1;o&&(c=!Oe(e),h=st(e),e=ps(e)),i=new Array(e.length);for(let d=0,_=e.length;d<_;d++)i[d]=t(c?h?Tt(Ie(e[d])):Ie(e[d]):e[d],d,void 0,l)}else if(typeof e=="number"){i=new Array(e);for(let o=0;ot(o,c,void 0,l));else{const o=Object.keys(e);i=new Array(o.length);for(let c=0,h=o.length;ce?Vi(e)?un(e):Ns(e.parent):null,Ht=de(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=>Ns(e.parent),$root:e=>Ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ti(e),$forceUpdate:e=>e.f||(e.f=()=>{nn(e.update)}),$nextTick:e=>e.n||(e.n=Nl.bind(e.proxy)),$watch:e=>Wl.bind(e)}),As=(e,t)=>e!==X&&!e.__isScriptSetup&&W(e,t),or={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:l,accessCache:r,type:o,appContext:c}=e;if(t[0]!=="$"){const O=r[t];if(O!==void 0)switch(O){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return l[t]}else{if(As(n,t))return r[t]=1,n[t];if(i!==X&&W(i,t))return r[t]=2,i[t];if(W(l,t))return r[t]=3,l[t];if(s!==X&&W(s,t))return r[t]=4,s[t];Hs&&(r[t]=0)}}const h=Ht[t];let d,_;if(h)return t==="$attrs"&&he(e.attrs,"get",""),h(e);if((d=o.__cssModules)&&(d=d[t]))return d;if(s!==X&&W(s,t))return r[t]=4,s[t];if(_=c.config.globalProperties,W(_,t))return _[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:l}=e;return As(i,t)?(i[t]=s,!0):n!==X&&W(n,t)?(n[t]=s,!0):W(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:l,type:r}},o){let c;return!!(s[o]||e!==X&&o[0]!=="$"&&W(e,o)||As(t,o)||W(l,o)||W(n,o)||W(Ht,o)||W(i.config.globalProperties,o)||(c=r.__cssModules)&&c[o])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:W(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function bn(e){return L(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Hs=!0;function ur(e){const t=Ti(e),s=e.proxy,n=e.ctx;Hs=!1,t.beforeCreate&&yn(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:r,watch:o,provide:c,inject:h,created:d,beforeMount:_,mounted:O,beforeUpdate:M,updated:K,activated:P,deactivated:Z,beforeDestroy:q,beforeUnmount:k,destroyed:H,unmounted:D,render:se,renderTracked:Ce,renderTriggered:Te,errorCaptured:Fe,serverPrefetch:gt,expose:Ae,inheritAttrs:ot,components:$e,directives:_t,filters:ye}=t;if(h&&cr(h,n,null),r)for(const Q in r){const J=r[Q];N(J)&&(n[Q]=J.bind(s))}if(i){const Q=i.call(s,s);G(Q)&&(e.data=en(Q))}if(Hs=!0,l)for(const Q in l){const J=l[Q],ze=N(J)?J.bind(s,s):N(J.get)?J.get.bind(s,s):We,vt=!N(J)&&N(J.set)?J.set.bind(s):We,Ye=yt({get:ze,set:vt});Object.defineProperty(n,Q,{enumerable:!0,configurable:!0,get:()=>Ye.value,set:Ee=>Ye.value=Ee})}if(o)for(const Q in o)Ci(o[Q],n,s,Q);if(c){const Q=N(c)?c.call(s):c;Reflect.ownKeys(Q).forEach(J=>{Kl(J,Q[J])})}d&&yn(d,e,"c");function ce(Q,J){L(J)?J.forEach(ze=>Q(ze.bind(s))):J&&Q(J.bind(s))}if(ce(Zl,_),ce(wi,O),ce(Ql,M),ce(er,K),ce(zl,P),ce(Yl,Z),ce(lr,Fe),ce(ir,Ce),ce(nr,Te),ce(tr,k),ce(Si,D),ce(sr,gt),L(Ae))if(Ae.length){const Q=e.exposed||(e.exposed={});Ae.forEach(J=>{Object.defineProperty(Q,J,{get:()=>s[J],set:ze=>s[J]=ze,enumerable:!0})})}else e.exposed||(e.exposed={});se&&e.render===We&&(e.render=se),ot!=null&&(e.inheritAttrs=ot),$e&&(e.components=$e),_t&&(e.directives=_t),gt&&bi(e)}function cr(e,t,s=We){L(e)&&(e=ks(e));for(const n in e){const i=e[n];let l;G(i)?"default"in i?l=ts(i.from||n,i.default,!0):l=ts(i.from||n):l=ts(i),pe(l)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>l.value,set:r=>l.value=r}):t[n]=l}}function yn(e,t,s){De(L(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ci(e,t,s,n){let i=n.includes(".")?mi(s,n):()=>s[n];if(ie(e)){const l=t[e];N(l)&&Es(i,l)}else if(N(e))Es(i,e.bind(s));else if(G(e))if(L(e))e.forEach(l=>Ci(l,t,s,n));else{const l=N(e.handler)?e.handler.bind(s):t[e.handler];N(l)&&Es(i,l,e)}}function Ti(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:r}}=e.appContext,o=l.get(t);let c;return o?c=o:!i.length&&!s&&!n?c=t:(c={},i.length&&i.forEach(h=>os(c,h,r,!0)),os(c,t,r)),G(t)&&l.set(t,c),c}function os(e,t,s,n=!1){const{mixins:i,extends:l}=t;l&&os(e,l,s,!0),i&&i.forEach(r=>os(e,r,s,!0));for(const r in t)if(!(n&&r==="expose")){const o=fr[r]||s&&s[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const fr={data:xn,props:wn,emits:wn,methods:It,computed:It,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:It,directives:It,watch:dr,provide:xn,inject:ar};function xn(e,t){return t?e?function(){return de(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function ar(e,t){return It(ks(e),ks(t))}function ks(e){if(L(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Me(t)}Modifiers`]||e[`${pt(t)}Modifiers`];function _r(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||X;let i=s;const l=t.startsWith("update:"),r=l&&gr(n,t.slice(7));r&&(r.trim&&(i=s.map(d=>ie(d)?d.trim():d)),r.number&&(i=s.map(el)));let o,c=n[o=ys(t)]||n[o=ys(Me(t))];!c&&l&&(c=n[o=ys(pt(t))]),c&&De(c,e,6,i);const h=n[o+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,De(h,e,6,i)}}const vr=new WeakMap;function Oi(e,t,s=!1){const n=s?vr:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const l=e.emits;let r={},o=!1;if(!N(e)){const c=h=>{const d=Oi(h,t,!0);d&&(o=!0,de(r,d))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!l&&!o?(G(e)&&n.set(e,null),null):(L(l)?l.forEach(c=>r[c]=null):de(r,l),G(e)&&n.set(e,r),r)}function vs(e,t){return!e||!fs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),W(e,t[0].toLowerCase()+t.slice(1))||W(e,pt(t))||W(e,t))}function Sn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[l],slots:r,attrs:o,emit:c,render:h,renderCache:d,props:_,data:O,setupState:M,ctx:K,inheritAttrs:P}=e,Z=ls(e);let q,k;try{if(s.shapeFlag&4){const D=i||n,se=D;q=Ke(h.call(se,D,d,_,M,O,K)),k=o}else{const D=t;q=Ke(D.length>1?D(_,{attrs:o,slots:r,emit:c}):D(_,null)),k=t.props?o:mr(o)}}catch(D){kt.length=0,gs(D,e,1),q=tt(rt)}let H=q;if(k&&P!==!1){const D=Object.keys(k),{shapeFlag:se}=H;D.length&&se&7&&(l&&D.some(as)&&(k=br(k,l)),H=Et(H,k,!1,!0))}return s.dirs&&(H=Et(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(s.dirs):s.dirs),s.transition&&ln(H,s.transition),q=H,ls(Z),q}const mr=e=>{let t;for(const s in e)(s==="class"||s==="style"||fs(s))&&((t||(t={}))[s]=e[s]);return t},br=(e,t)=>{const s={};for(const n in e)(!as(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function yr(e,t,s){const{props:n,children:i,component:l}=e,{props:r,children:o,patchFlag:c}=t,h=l.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?Cn(n,r,h):!!r;if(c&8){const d=t.dynamicProps;for(let _=0;_Object.create(Pi),Ri=e=>Object.getPrototypeOf(e)===Pi;function wr(e,t,s,n=!1){const i={},l=Mi();e.propsDefaults=Object.create(null),Ii(e,t,i,l);for(const r in e.propsOptions[0])r in i||(i[r]=void 0);s?e.props=n?i:Ol(i):e.type.props?e.props=i:e.props=l,e.attrs=l}function Sr(e,t,s,n){const{props:i,attrs:l,vnode:{patchFlag:r}}=e,o=V(i),[c]=e.propsOptions;let h=!1;if((n||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let _=0;_{c=!0;const[O,M]=Di(_,t,!0);de(r,O),M&&o.push(...M)};!s&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!l&&!c)return G(e)&&n.set(e,xt),xt;if(L(l))for(let d=0;de==="_"||e==="_ctx"||e==="$stable",on=e=>L(e)?e.map(Ke):[Ke(e)],Tr=(e,t,s)=>{if(t._n)return t;const n=Bl((...i)=>on(t(...i)),s);return n._c=!1,n},Fi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(rn(i))continue;const l=e[i];if(N(l))t[i]=Tr(i,l,n);else if(l!=null){const r=on(l);t[i]=()=>r}}},$i=(e,t)=>{const s=on(t);e.slots.default=()=>s},ji=(e,t,s)=>{for(const n in t)(s||!rn(n))&&(e[n]=t[n])},Er=(e,t,s)=>{const n=e.slots=Mi();if(e.vnode.shapeFlag&32){const i=t._;i?(ji(n,t,s),s&&Jn(n,"_",i,!0)):Fi(t,n)}else t&&$i(e,t)},Or=(e,t,s)=>{const{vnode:n,slots:i}=e;let l=!0,r=X;if(n.shapeFlag&32){const o=t._;o?s&&o===1?l=!1:ji(i,t,s):(l=!t.$stable,Fi(t,i)),r=t}else t&&($i(e,t),r={default:1});if(l)for(const o in i)!rn(o)&&r[o]==null&&delete i[o]},be=Ir;function Ar(e){return Pr(e)}function Pr(e,t){const s=hs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:l,createElement:r,createText:o,createComment:c,setText:h,setElementText:d,parentNode:_,nextSibling:O,setScopeId:M=We,insertStaticContent:K}=e,P=(u,f,p,y=null,m=null,v=null,C=void 0,S=null,w=!!f.dynamicChildren)=>{if(u===f)return;u&&!Rt(u,f)&&(y=x(u),Ee(u,m,v,!0),u=null),f.patchFlag===-2&&(w=!1,f.dynamicChildren=null);const{type:b,ref:F,shapeFlag:E}=f;switch(b){case ms:Z(u,f,p,y);break;case rt:q(u,f,p,y);break;case Ms:u==null&&k(f,p,y,C);break;case te:$e(u,f,p,y,m,v,C,S,w);break;default:E&1?se(u,f,p,y,m,v,C,S,w):E&6?_t(u,f,p,y,m,v,C,S,w):(E&64||E&128)&&b.process(u,f,p,y,m,v,C,S,w,ge)}F!=null&&m?Lt(F,u&&u.ref,v,f||u,!f):F==null&&u&&u.ref!=null&&Lt(u.ref,null,v,u,!0)},Z=(u,f,p,y)=>{if(u==null)n(f.el=o(f.children),p,y);else{const m=f.el=u.el;f.children!==u.children&&h(m,f.children)}},q=(u,f,p,y)=>{u==null?n(f.el=c(f.children||""),p,y):f.el=u.el},k=(u,f,p,y)=>{[u.el,u.anchor]=K(u.children,f,p,y,u.el,u.anchor)},H=({el:u,anchor:f},p,y)=>{let m;for(;u&&u!==f;)m=O(u),n(u,p,y),u=m;n(f,p,y)},D=({el:u,anchor:f})=>{let p;for(;u&&u!==f;)p=O(u),i(u),u=p;i(f)},se=(u,f,p,y,m,v,C,S,w)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),u==null)Ce(f,p,y,m,v,C,S,w);else{const b=u.el&&u.el._isVueCE?u.el:null;try{b&&b._beginPatch(),gt(u,f,m,v,C,S,w)}finally{b&&b._endPatch()}}},Ce=(u,f,p,y,m,v,C,S)=>{let w,b;const{props:F,shapeFlag:E,transition:R,dirs:j}=u;if(w=u.el=r(u.type,v,F&&F.is,F),E&8?d(w,u.children):E&16&&Fe(u.children,w,null,y,m,Ps(u,v),C,S),j&&ut(u,null,y,"created"),Te(w,u,u.scopeId,C,y),F){for(const U in F)U!=="value"&&!Ft(U)&&l(w,U,null,F[U],v,y);"value"in F&&l(w,"value",null,F.value,v),(b=F.onVnodeBeforeMount)&&He(b,y,u)}j&&ut(u,null,y,"beforeMount");const B=Mr(m,R);B&&R.beforeEnter(w),n(w,f,p),((b=F&&F.onVnodeMounted)||B||j)&&be(()=>{try{b&&He(b,y,u),B&&R.enter(w),j&&ut(u,null,y,"mounted")}finally{}},m)},Te=(u,f,p,y,m)=>{if(p&&M(u,p),y)for(let v=0;v{for(let b=w;b{const S=f.el=u.el;let{patchFlag:w,dynamicChildren:b,dirs:F}=f;w|=u.patchFlag&16;const E=u.props||X,R=f.props||X;let j;if(p&&ct(p,!1),(j=R.onVnodeBeforeUpdate)&&He(j,p,f,u),F&&ut(f,u,p,"beforeUpdate"),p&&ct(p,!0),b&&(!u.dynamicChildren||u.dynamicChildren.length!==b.length)&&(w=0,C=!1,b=null),(E.innerHTML&&R.innerHTML==null||E.textContent&&R.textContent==null)&&d(S,""),b?Ae(u.dynamicChildren,b,S,p,y,Ps(f,m),v):C||J(u,f,S,null,p,y,Ps(f,m),v,!1),w>0){if(w&16)ot(S,E,R,p,m);else if(w&2&&E.class!==R.class&&l(S,"class",null,R.class,m),w&4&&l(S,"style",E.style,R.style,m),w&8){const B=f.dynamicProps;for(let U=0;U{j&&He(j,p,f,u),F&&ut(f,u,p,"updated")},y)},Ae=(u,f,p,y,m,v,C)=>{for(let S=0;S{if(f!==p){if(f!==X)for(const v in f)!Ft(v)&&!(v in p)&&l(u,v,f[v],null,m,y);for(const v in p){if(Ft(v))continue;const C=p[v],S=f[v];C!==S&&v!=="value"&&l(u,v,S,C,m,y)}"value"in p&&l(u,"value",f.value,p.value,m)}},$e=(u,f,p,y,m,v,C,S,w)=>{const b=f.el=u?u.el:o(""),F=f.anchor=u?u.anchor:o("");let{patchFlag:E,dynamicChildren:R,slotScopeIds:j}=f;j&&(S=S?S.concat(j):j),u==null?(n(b,p,y),n(F,p,y),Fe(f.children||[],p,F,m,v,C,S,w)):E>0&&E&64&&R&&u.dynamicChildren&&u.dynamicChildren.length===R.length?(Ae(u.dynamicChildren,R,p,m,v,C,S),(f.key!=null||m&&f===m.subTree)&&Li(u,f,!0)):J(u,f,p,F,m,v,C,S,w)},_t=(u,f,p,y,m,v,C,S,w)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?m.ctx.activate(f,p,y,C,w):ye(f,p,y,m,v,C,w):zt(u,f,w)},ye=(u,f,p,y,m,v,C)=>{const S=u.component=Br(u,y,m);if(yi(u)&&(S.ctx.renderer=ge),Ur(S,!1,C),S.asyncDep){if(m&&m.registerDep(S,ce,C),!u.el){const w=S.subTree=tt(rt);q(null,w,f,p),u.placeholder=w.el}}else ce(S,u,f,p,m,v,C)},zt=(u,f,p)=>{const y=f.component=u.component;if(yr(u,f,p))if(y.asyncDep&&!y.asyncResolved){Q(y,f,p);return}else y.next=f,y.update();else f.el=u.el,y.vnode=f},ce=(u,f,p,y,m,v,C)=>{const S=()=>{if(u.isMounted){let{next:E,bu:R,u:j,parent:B,vnode:U}=u;{const Le=Ni(u);if(Le){E&&(E.el=U.el,Q(u,E,C)),Le.asyncDep.then(()=>{be(()=>{u.isUnmounted||b()},m)});return}}let g=E,ne;ct(u,!1),E?(E.el=U.el,Q(u,E,C)):E=U,R&&xs(R),(ne=E.props&&E.props.onVnodeBeforeUpdate)&&He(ne,B,E,U),ct(u,!0);const fe=Sn(u),je=u.subTree;u.subTree=fe,P(je,fe,_(je.el),x(je),u,m,v),E.el=fe.el,g===null&&xr(u,fe.el),j&&be(j,m),(ne=E.props&&E.props.onVnodeUpdated)&&be(()=>He(ne,B,E,U),m)}else{let E;const{el:R,props:j}=f,{bm:B,m:U,parent:g,root:ne,type:fe}=u,je=Nt(f);ct(u,!1),B&&xs(B),!je&&(E=j&&j.onVnodeBeforeMount)&&He(E,g,f),ct(u,!0);{ne.ce&&ne.ce._hasShadowRoot()&&ne.ce._injectChildStyle(fe,u.parent?u.parent.type:void 0);const Le=u.subTree=Sn(u);P(null,Le,p,y,u,m,v),f.el=Le.el}if(U&&be(U,m),!je&&(E=j&&j.onVnodeMounted)){const Le=f;be(()=>He(E,g,Le),m)}(f.shapeFlag&256||g&&Nt(g.vnode)&&g.vnode.shapeFlag&256)&&u.a&&be(u.a,m),u.isMounted=!0,f=p=y=null}};u.scope.on();const w=u.effect=new Xn(S);u.scope.off();const b=u.update=w.run.bind(w),F=u.job=w.runIfDirty.bind(w);F.i=u,F.id=u.uid,w.scheduler=()=>nn(F),ct(u,!0),b()},Q=(u,f,p)=>{f.component=u;const y=u.vnode.props;u.vnode=f,u.next=null,Sr(u,f.props,y,p),Or(u,f.children,p),Je(),_n(u),Ge()},J=(u,f,p,y,m,v,C,S,w=!1)=>{const b=u&&u.children,F=u?u.shapeFlag:0,E=f.children,{patchFlag:R,shapeFlag:j}=f;if(R>0){if(R&128){vt(b,E,p,y,m,v,C,S,w);return}else if(R&256){ze(b,E,p,y,m,v,C,S,w);return}}j&8?(F&16&&A(b,m,v),E!==b&&d(p,E)):F&16?j&16?vt(b,E,p,y,m,v,C,S,w):A(b,m,v,!0):(F&8&&d(p,""),j&16&&Fe(E,p,y,m,v,C,S,w))},ze=(u,f,p,y,m,v,C,S,w)=>{u=u||xt,f=f||xt;const b=u.length,F=f.length,E=Math.min(b,F);let R;for(R=0;RF?A(u,m,v,!0,!1,E):Fe(f,p,y,m,v,C,S,w,E)},vt=(u,f,p,y,m,v,C,S,w)=>{let b=0;const F=f.length;let E=u.length-1,R=F-1;for(;b<=E&&b<=R;){const j=u[b],B=f[b]=w?Qe(f[b]):Ke(f[b]);if(Rt(j,B))P(j,B,p,null,m,v,C,S,w);else break;b++}for(;b<=E&&b<=R;){const j=u[E],B=f[R]=w?Qe(f[R]):Ke(f[R]);if(Rt(j,B))P(j,B,p,null,m,v,C,S,w);else break;E--,R--}if(b>E){if(b<=R){const j=R+1,B=jR)for(;b<=E;)Ee(u[b],m,v,!0),b++;else{const j=b,B=b,U=new Map;for(b=B;b<=R;b++){const xe=f[b]=w?Qe(f[b]):Ke(f[b]);xe.key!=null&&U.set(xe.key,b)}let g,ne=0;const fe=R-B+1;let je=!1,Le=0;const Pt=new Array(fe);for(b=0;b=fe){Ee(xe,m,v,!0);continue}let Ne;if(xe.key!=null)Ne=U.get(xe.key);else for(g=B;g<=R;g++)if(Pt[g-B]===0&&Rt(xe,f[g])){Ne=g;break}Ne===void 0?Ee(xe,m,v,!0):(Pt[Ne-B]=b+1,Ne>=Le?Le=Ne:je=!0,P(xe,f[Ne],p,null,m,v,C,S,w),ne++)}const cn=je?Rr(Pt):xt;for(g=cn.length-1,b=fe-1;b>=0;b--){const xe=B+b,Ne=f[xe],fn=f[xe+1],an=xe+1{const{el:v,type:C,transition:S,children:w,shapeFlag:b}=u;if(b&6){Ye(u.component.subTree,f,p,y);return}if(b&128){u.suspense.move(f,p,y);return}if(b&64){C.move(u,f,p,ge);return}if(C===te){n(v,f,p);for(let E=0;ES.enter(v),m));else{const{leave:E,delayLeave:R,afterLeave:j}=S,B=()=>{u.ctx.isUnmounted?i(v):n(v,f,p)},U=()=>{const g=v._isLeaving||!!v[Os];v._isLeaving&&v[Os](!0),S.persisted&&!g?B():E(v,()=>{B(),j&&j()})};R?R(v,B,U):U()}else n(v,f,p)},Ee=(u,f,p,y=!1,m=!1)=>{const{type:v,props:C,ref:S,children:w,dynamicChildren:b,shapeFlag:F,patchFlag:E,dirs:R,cacheIndex:j,memo:B}=u;if(E===-2&&(m=!1),S!=null&&(Je(),Lt(S,null,p,u,!0),Ge()),j!=null&&(f.renderCache[j]=void 0),F&256){f.ctx.deactivate(u);return}const U=F&1&&R,g=!Nt(u);let ne;if(g&&(ne=C&&C.onVnodeBeforeUnmount)&&He(ne,f,u),F&6)Xt(u.component,p,y);else{if(F&128){u.suspense.unmount(p,y);return}U&&ut(u,null,f,"beforeUnmount"),F&64?u.type.remove(u,f,p,ge,y):b&&!b.hasOnce&&(v!==te||E>0&&E&64)?A(b,f,p,!1,!0):(v===te&&E&384||!m&&F&16)&&A(w,f,p),y&&Yt(u)}const fe=B!=null&&j==null;(g&&(ne=C&&C.onVnodeUnmounted)||U||fe)&&be(()=>{ne&&He(ne,f,u),U&&ut(u,null,f,"unmounted"),fe&&(u.el=null)},p)},Yt=u=>{const{type:f,el:p,anchor:y,transition:m}=u;if(f===te){Ot(p,y);return}if(f===Ms){D(u);return}const v=()=>{i(p),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(u.shapeFlag&1&&m&&!m.persisted){const{leave:C,delayLeave:S}=m,w=()=>C(p,v);S?S(u.el,v,w):w()}else v()},Ot=(u,f)=>{let p;for(;u!==f;)p=O(u),i(u),u=p;i(f)},Xt=(u,f,p)=>{const{bum:y,scope:m,job:v,subTree:C,um:S,m:w,a:b}=u;En(w),En(b),y&&xs(y),m.stop(),v&&(v.flags|=8,Ee(C,u,f,p)),S&&be(S,f),be(()=>{u.isUnmounted=!0},f)},A=(u,f,p,y=!1,m=!1,v=0)=>{for(let C=v;C{if(u.shapeFlag&6)return x(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=O(u.anchor||u.el),p=f&&f[ql];return p?O(p):f};let ue=!1;const re=(u,f,p)=>{let y;u==null?f._vnode&&(Ee(f._vnode,null,null,!0),y=f._vnode.component):P(f._vnode||null,u,f,null,null,null,p),f._vnode=u,ue||(ue=!0,_n(y),pi(),ue=!1)},ge={p:P,um:Ee,m:Ye,r:Yt,mt:ye,mc:Fe,pc:J,pbc:Ae,n:x,o:e};return{render:re,hydrate:void 0,createApp:pr(re)}}function Ps({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 ct({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Mr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Li(e,t,s=!1){const n=e.children,i=t.children;if(L(n)&&L(i))for(let l=0;l>1,e[s[o]]0&&(t[n]=s[l-1]),s[l]=n)}}for(l=s.length,r=s[l-1];l-- >0;)s[l]=r,r=t[r];return s}function Ni(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ni(t)}function En(e){if(e)for(let t=0;te.__isSuspense;function Ir(e,t){t&&t.pendingBranch?L(e)?t.effects.push(...e):t.effects.push(e):kl(e)}const te=Symbol.for("v-fgt"),ms=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),Ms=Symbol.for("v-stc"),kt=[];let Se=null;function I(e=!1){kt.push(Se=e?null:[])}function Dr(){kt.pop(),Se=kt[kt.length-1]||null}let Vt=1;function On(e,t=!1){Vt+=e,e<0&&Se&&t&&(Se.hasOnce=!0)}function Bi(e){return e.dynamicChildren=Vt>0?Se||xt:null,Dr(),Vt>0&&Se&&Se.push(e),e}function $(e,t,s,n,i,l){return Bi(a(e,t,s,n,i,l,!0))}function Fr(e,t,s,n,i){return Bi(tt(e,t,s,n,i,!0))}function Ki(e){return e?e.__v_isVNode===!0:!1}function Rt(e,t){return e.type===t.type&&e.key===t.key}const Ui=({key:e})=>e??null,ss=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||pe(e)||N(e)?{i:Ve,r:e,k:t,f:!!s}:e:null);function a(e,t=null,s=null,n=0,i=null,l=e===te?0:1,r=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ui(t),ref:t&&ss(t),scopeId:_i,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:l,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ve};return o?(us(c,s),l&128&&e.normalize(c)):s&&(c.shapeFlag|=ie(s)?8:16),Vt>0&&!r&&Se&&(c.patchFlag>0||l&6)&&c.patchFlag!==32&&Se.push(c),c}const tt=$r;function $r(e,t=null,s=null,n=0,i=null,l=!1){if((!e||e===rr)&&(e=rt),Ki(e)){const o=Et(e,t,!0);return s&&us(o,s),Vt>0&&!l&&Se&&(o.shapeFlag&6?Se[Se.indexOf(e)]=o:Se.push(o)),o.patchFlag=-2,o}if(Jr(e)&&(e=e.__vccOpts),t){t=jr(t);let{class:o,style:c}=t;o&&!ie(o)&&(t.class=Pe(o)),G(c)&&(sn(c)&&!L(c)&&(c=de({},c)),t.style=Js(c))}const r=ie(e)?1:ki(e)?128:Jl(e)?64:G(e)?4:N(e)?2:0;return a(e,t,s,n,i,r,l,!0)}function jr(e){return e?sn(e)||Ri(e)?de({},e):e:null}function Et(e,t,s=!1,n=!1){const{props:i,ref:l,patchFlag:r,children:o,transition:c}=e,h=t?Nr(i||{},t):i,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ui(h),ref:t&&t.ref?s&&l?L(l)?l.concat(ss(t)):[l,ss(t)]:ss(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?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&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&ln(d,c.clone(d)),d}function Lr(e=" ",t=0){return tt(ms,null,e,t)}function ee(e="",t=!1){return t?(I(),Fr(rt,null,e)):tt(rt,null,e)}function Ke(e){return e==null||typeof e=="boolean"?tt(rt):L(e)?tt(te,null,e.slice()):Ki(e)?Qe(e):tt(ms,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function us(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(L(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),us(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ri(t)?t._ctx=Ve:i===3&&Ve&&(Ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(n&65){us(e,{default:t});return}t={default:t,_ctx:Ve},s=32}else t=String(t),n&64?(s=16,t=[Lr(t)]):s=8;e.children=t,e.shapeFlag|=s}function Nr(...e){const t={};for(let s=0;sme||Ve;let cs,Ks;{const e=hs(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),l=>{i.length>1?i.forEach(r=>r(l)):i[0](l)}};cs=t("__VUE_INSTANCE_SETTERS__",s=>me=s),Ks=t("__VUE_SSR_SETTERS__",s=>Wt=s)}const Gt=e=>{const t=me;return cs(e),e.scope.on(),()=>{e.scope.off(),cs(t)}},An=()=>{me&&me.scope.off(),cs(null)};function Vi(e){return e.vnode.shapeFlag&4}let Wt=!1;function Ur(e,t=!1,s=!1){t&&Ks(t);const{props:n,children:i}=e.vnode,l=Vi(e);wr(e,n,l,t),Er(e,i,s||t);const r=l?Vr(e,t):void 0;return t&&Ks(!1),r}function Vr(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,or);const{setup:n}=s;if(n){Je();const i=e.setupContext=n.length>1?qr(e):null,l=Gt(e),r=Jt(n,e,0,[e.props,i]),o=Un(r);if(Ge(),l(),(o||e.sp)&&!Nt(e)&&bi(e),o){if(r.then(An,An),t)return r.then(c=>{Pn(e,c)}).catch(c=>{gs(c,e,0)});e.asyncDep=r}else Pn(e,r)}else Wi(e)}function Pn(e,t,s){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=ai(t)),Wi(e)}function Wi(e,t,s){const n=e.type;e.render||(e.render=n.render||We);{const i=Gt(e);Je();try{ur(e)}finally{Ge(),i()}}}const Wr={get(e,t){return he(e,"get",""),e[t]}};function qr(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Wr),slots:e.slots,emit:e.emit,expose:t}}function un(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ai(Al(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ht)return Ht[s](e)},has(t,s){return s in t||s in Ht}})):e.proxy}function Jr(e){return N(e)&&"__vccOpts"in e}const yt=(e,t)=>Fl(e,t,Wt),Gr="3.5.39";/** +* @vue/runtime-dom v3.5.39 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Us;const Mn=typeof window<"u"&&window.trustedTypes;if(Mn)try{Us=Mn.createPolicy("vue",{createHTML:e=>e})}catch{}const qi=Us?e=>Us.createHTML(e):e=>e,zr="http://www.w3.org/2000/svg",Yr="http://www.w3.org/1998/Math/MathML",Ze=typeof document<"u"?document:null,Rn=Ze&&Ze.createElement("template"),Xr={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Ze.createElementNS(zr,e):t==="mathml"?Ze.createElementNS(Yr,e):s?Ze.createElement(e,{is:s}):Ze.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ze.createTextNode(e),createComment:e=>Ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,l){const r=s?s.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===l||!(i=i.nextSibling)););else{Rn.innerHTML=qi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const o=Rn.content;if(n==="svg"||n==="mathml"){const c=o.firstChild;for(;c.firstChild;)o.appendChild(c.firstChild);o.removeChild(c)}t.insertBefore(o,s)}return[r?r.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Zr=Symbol("_vtc");function Qr(e,t,s){const n=e[Zr];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),eo=Symbol("_vsh"),to=Symbol(""),so=/(?:^|;)\s*display\s*:/;function no(e,t,s){const n=e.style,i=ie(s);let l=!1;if(s&&!i){if(t)if(ie(t))for(const r of t.split(";")){const o=r.slice(0,r.indexOf(":")).trim();s[o]==null&&Dt(n,o,"")}else for(const r in t)s[r]==null&&Dt(n,r,"");for(const r in s){r==="display"&&(l=!0);const o=s[r];o!=null?lo(e,r,!ie(t)&&t?t[r]:void 0,o)||Dt(n,r,o):Dt(n,r,"")}}else if(i){if(t!==s){const r=n[to];r&&(s+=";"+r),n.cssText=s,l=so.test(s)}}else t&&e.removeAttribute("style");In in e&&(e[In]=l?n.display:"",e[eo]&&(n.display="none"))}const Dn=/\s*!important$/;function Dt(e,t,s){if(L(s))s.forEach(n=>Dt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=io(e,t);Dn.test(s)?e.setProperty(pt(n),s.replace(Dn,""),"important"):e[n]=s}}const Fn=["Webkit","Moz","ms"],Rs={};function io(e,t){const s=Rs[t];if(s)return s;let n=Me(t);if(n!=="filter"&&n in e)return Rs[t]=n;n=qn(n);for(let i=0;iIs||(ho.then(()=>Is=0),Is=Date.now());function go(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(L(i)){const l=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{l.call(n),n._stopped=!0};const r=i.slice(),o=[n];for(let c=0;ce.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_o=(e,t,s,n,i,l)=>{const r=i==="svg";t==="class"?Qr(e,n,r):t==="style"?no(e,s,n):fs(t)?as(t)||uo(e,t,s,n,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vo(e,t,n,r))?(Ln(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jn(e,t,n,r,l,t!=="value")):e._isVueCE&&(mo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ie(n)))?Ln(e,Me(t),n,l,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),jn(e,t,n,r))};function vo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hn(t)&&N(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Hn(t)&&ie(s)?!1:t in e}function mo(e,t){const s=e._def.props;if(!s)return!1;const n=Me(t);return Array.isArray(s)?s.some(i=>Me(i)===n):Object.keys(s).some(i=>Me(i)===n)}const bo=de({patchProp:_o},Xr);let kn;function yo(){return kn||(kn=Ar(bo))}const xo=((...e)=>{const t=yo().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=So(n);if(!i)return;const l=t._component;!N(l)&&!l.render&&!l.template&&(l.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const r=s(i,!1,wo(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),r},t});function wo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function So(e){return ie(e)?document.querySelector(e):e}const Co="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",z={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",quickProfileDraft:"profiles/quick-draft",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",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`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",generationLogs:"logs/generation",workflowLogs:"logs/workflows",errorLogs:"logs/errors",integrationLogs:"logs/integrations",auditLogs:"security/audit-logs",webManifest:"web/manifest"};class To extends Error{constructor(s,n,i={}){super(n);bs(this,"code");bs(this,"details");this.name="ApiClientError",this.code=s,this.details=i}}async function oe(e,t){return Ji(e,{method:"GET",query:t})}async function ft(e,t){return Ji(e,{method:"POST",body:t})}async function Ji(e,t={}){const n=await(await fetch(Eo(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 To(n.error_code,n.message,n.details);return n.data}function Eo(e,t){const s=e.replace(/^\/+/,""),n=new URL(`${Co}/${s}`,window.location.origin);for(const[i,l]of Object.entries(t??{}))l!==void 0&&n.searchParams.set(i,String(l));return`${n.pathname}${n.search}`}const Oo={class:"web-shell"},Ao={class:"sidebar"},Po={class:"brand"},Mo={class:"workspace"},Ro={class:"topbar"},Io={class:"actions"},Do=["disabled"],Fo={key:0,class:"notice error"},$o={key:1,class:"notice"},jo={key:0,class:"dashboard-grid"},Lo={key:1,class:"list-view"},No={class:"badge"},Ho={key:0,class:"empty"},ko={key:2,class:"split-view"},Bo={class:"list-view"},Ko={key:0,class:"empty"},Uo={class:"list-view"},Vo={class:"inline-actions"},Wo=["disabled"],qo={class:"badge"},Jo={key:0,class:"empty"},Go={key:0},zo={key:3,class:"list-view"},Yo=["disabled"],Xo={key:0,class:"empty"},Zo={key:0},Qo={key:4,class:"list-view"},eu={class:"inline-actions"},tu=["disabled"],su=["disabled"],nu={class:"inline-actions"},iu={class:"badge"},lu=["onClick"],ru=["onClick"],ou={key:0,class:"empty"},uu={key:5,class:"split-view"},cu={class:"list-view"},fu=["disabled"],au={class:"list-view"},du={class:"badge"},hu={key:0,class:"empty"},pu={key:6,class:"logs-view"},gu={class:"split-view"},_u={class:"list-view"},vu={key:0,class:"empty"},mu={class:"list-view"},bu={class:"badge"},yu={key:0,class:"empty"},xu={class:"split-view"},wu={class:"list-view"},Su={key:0,class:"empty"},Cu={class:"list-view"},Tu={class:"badge"},Eu={key:0,class:"empty"},Ou={class:"list-view"},Au={key:0,class:"empty"},Pu={key:7,class:"settings-view"},Mu={class:"toolbar"},Ru=["disabled"],Iu=["disabled"],Du={class:"settings-sections"},Fu={class:"inspector"},$u=Gl({__name:"App",setup(e){const t=le("dashboard"),s=le(null),n=le(null),i=le(null),l=le(null),r=le(null),o=le(null),c=le(null),h=le([]),d=le(null),_=le([]),O=le([]),M=le([]),K=le(null),P=le({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),Z=le(null),q=le(""),k=le(!0),H=le(""),D=le(""),se=yt(()=>{var A,x;return((x=(A=i.value)==null?void 0:A.items[0])==null?void 0:x.profile_id)??""}),Ce=yt(()=>{var A,x;return((x=(A=i.value)==null?void 0:A.items[0])==null?void 0:x.name)??"未选择角色"}),Te=yt(()=>{var x;const A=(x=n.value)==null?void 0:x.queue;return A?A.pending+A.running+A.failed+A.dead_letter:0}),Fe=yt(()=>{var A;return((A=d.value)==null?void 0:A.items.filter(x=>x.recognition_status!=="confirmed").length)??0}),gt=yt(()=>({dashboard:"运行概览",profiles:"角色",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",logs:"日志审计",settings:"设置"})[t.value]);wi(Ae);async function Ae(){var A;k.value=!0,D.value="";try{const[x,ue,re,ge,At,u,f,p,y,m,v]=await Promise.all([oe(z.uiBootstrap),oe(z.dashboardSummary),oe(z.profiles,{page:1,page_size:20}),oe(z.jobs,{page:1,page_size:20}),oe(z.settingsSchema),oe(z.settingsCurrent),oe(z.storageStatus),oe(z.materialCategories),oe(z.materials,{page:1,page_size:24}),oe(z.apiDiscoveryDialects),oe(z.apiDiscoveryCapabilities)]);s.value=x,n.value=ue,i.value=re,l.value=ge,r.value=At,o.value=u,c.value=f,h.value=p,d.value=y,O.value=m,M.value=v,await _t((A=re.items[0])==null?void 0:A.profile_id),await ot()}catch(x){D.value=x instanceof Error?x.message:"加载失败"}finally{k.value=!1}}async function ot(){const[A,x,ue,re,ge]=await Promise.allSettled([oe(z.generationLogs,{limit:12}),oe(z.workflowLogs,{limit:12}),oe(z.errorLogs,{limit:12}),oe(z.integrationLogs,{limit:12}),oe(z.auditLogs,{limit:12})]);P.value={generation:$e(A),workflows:$e(x),errors:$e(ue),integrations:$e(re),audit:$e(ge)}}function $e(A){return A.status==="fulfilled"?A.value:[]}async function _t(A){if(!A){_.value=[];return}_.value=await oe(z.wardrobe(A))}async function ye(A,x,ue=!0){H.value=A,D.value="";try{const re=await x();q.value=`${A}完成`,A==="导出设置"&&(q.value=`导出设置完成,配置已脱敏:${!!re.redacted}`),ue&&await Ae()}catch(re){D.value=re instanceof Error?re.message:`${A}失败`}finally{H.value=""}}function zt(A){return ye("重试任务",()=>ft(z.jobRetry(A)))}function ce(A){return ye("取消任务",()=>ft(z.jobCancel(A)))}function Q(){return ye("转入死信",()=>ft(z.jobDeadLetterMoveFailed,{limit:20}))}function J(){return ye("重试死信",()=>ft(z.jobDeadLetterRetry,{limit:20}))}function ze(){var x;const A=((x=O.value[0])==null?void 0:x.dialect)??"unknown";return ye("安全探测",()=>ft(z.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:A,capabilities:{supports:["text_to_image"]}}))}function vt(){const A=se.value;return A?ye("衣橱匹配",async()=>(K.value=await ft(z.wardrobeMatch(A),{tags:["daily"]}),K.value),!1):Promise.resolve()}function Ye(){return ye("重载设置",async()=>{var x;const A=await ft(z.settingsReload);return o.value={config_path:((x=o.value)==null?void 0:x.config_path)??"***PATH***",config:A.config},A},!1)}function Ee(){return ye("导出设置",()=>oe(z.settingsExport),!1)}function Yt(){var x,ue;const A=(ue=(x=d.value)==null?void 0:x.items.find(re=>{var ge;return(ge=re.image_uri)==null?void 0:ge.startsWith("storage://")}))==null?void 0:ue.image_uri;return A?ye("签名素材",async()=>(Z.value=await oe(z.mediaSign,{uri:A}),Z.value),!1):(q.value="没有可签名的素材图片",Promise.resolve())}function Ot(A=0){return A<1024?`${A} B`:A<1024*1024?`${(A/1024).toFixed(1)} KB`:A<1024*1024*1024?`${(A/1024/1024).toFixed(1)} MB`:`${(A/1024/1024/1024).toFixed(1)} GB`}function Xt(A){var x,ue;return((ue=(x=c.value)==null?void 0:x.roots.find(re=>re.uri_prefix===A))==null?void 0:ue.bytes)??0}return(A,x)=>{var ue,re,ge,At,u,f,p,y,m,v,C,S,w,b,F,E,R,j,B,U;return I(),$("main",Oo,[a("aside",Ao,[a("div",Po,[a("strong",null,T(((ue=s.value)==null?void 0:ue.display_name)??"ImageStudio"),1),a("span",null,T(((re=s.value)==null?void 0:re.dashboard_user)??"AstrBot"),1)]),a("nav",null,[a("button",{type:"button",class:Pe({active:t.value==="dashboard"}),onClick:x[0]||(x[0]=g=>t.value="dashboard")}," 概览 ",2),a("button",{type:"button",class:Pe({active:t.value==="profiles"}),onClick:x[1]||(x[1]=g=>t.value="profiles")}," 角色 ",2),a("button",{type:"button",class:Pe({active:t.value==="materials"}),onClick:x[2]||(x[2]=g=>t.value="materials")}," 素材 ",2),a("button",{type:"button",class:Pe({active:t.value==="wardrobe"}),onClick:x[3]||(x[3]=g=>t.value="wardrobe")}," 衣橱 ",2),a("button",{type:"button",class:Pe({active:t.value==="jobs"}),onClick:x[4]||(x[4]=g=>t.value="jobs")}," 队列 ",2),a("button",{type:"button",class:Pe({active:t.value==="discovery"}),onClick:x[5]||(x[5]=g=>t.value="discovery")}," 探测 ",2),a("button",{type:"button",class:Pe({active:t.value==="logs"}),onClick:x[6]||(x[6]=g=>t.value="logs")}," 日志 ",2),a("button",{type:"button",class:Pe({active:t.value==="settings"}),onClick:x[7]||(x[7]=g=>t.value="settings")}," 设置 ",2)])]),a("section",Mo,[a("header",Ro,[a("div",null,[a("h1",null,T(gt.value),1),a("p",null,T(((ge=n.value)==null?void 0:ge.plugin_status)??"loading")+" · "+T(q.value||"等待操作"),1)]),a("div",Io,[a("button",{type:"button",disabled:!!H.value,onClick:Ae},T(H.value||"刷新"),9,Do)])]),D.value?(I(),$("section",Fo,T(D.value),1)):k.value?(I(),$("section",$o,"加载中...")):(I(),$(te,{key:2},[t.value==="dashboard"?(I(),$("section",jo,[a("article",null,[x[8]||(x[8]=a("span",null,"角色",-1)),a("strong",null,T(((At=n.value)==null?void 0:At.active_profiles)??0),1)]),a("article",null,[x[9]||(x[9]=a("span",null,"队列",-1)),a("strong",null,T(Te.value),1)]),a("article",null,[x[10]||(x[10]=a("span",null,"素材",-1)),a("strong",null,T(((u=d.value)==null?void 0:u.total)??0),1)]),a("article",null,[x[11]||(x[11]=a("span",null,"存储",-1)),a("strong",null,T(Ot(((f=c.value)==null?void 0:f.total_bytes)??((p=n.value)==null?void 0:p.storage.total_bytes))),1)])])):ee("",!0),t.value==="profiles"?(I(),$("section",Lo,[a("header",null,[x[12]||(x[12]=a("h2",null,"角色列表",-1)),a("span",null,T(((y=i.value)==null?void 0:y.total)??0),1)]),a("ul",null,[(I(!0),$(te,null,we(((m=i.value)==null?void 0:m.items)??[],g=>(I(),$("li",{key:g.profile_id},[a("div",null,[a("strong",null,T(g.name),1),a("small",null,T(g.profile_id),1)]),a("span",No,T(g.status),1)]))),128)),(v=i.value)!=null&&v.items.length?ee("",!0):(I(),$("li",Ho,"暂无角色"))])])):ee("",!0),t.value==="materials"?(I(),$("section",ko,[a("div",Bo,[a("header",null,[x[13]||(x[13]=a("h2",null,"素材分类",-1)),a("span",null,T(h.value.length),1)]),a("ul",null,[(I(!0),$(te,null,we(h.value,g=>(I(),$("li",{key:g.category_id},[a("div",null,[a("strong",null,T(g.name),1),a("small",null,T(g.category_type),1)]),a("span",null,T(g.sort_order),1)]))),128)),h.value.length?ee("",!0):(I(),$("li",Ko,"暂无分类"))])]),a("div",Uo,[a("header",null,[x[14]||(x[14]=a("h2",null,"素材条目",-1)),a("div",Vo,[a("span",null,T(Fe.value)+" 待确认",1),a("button",{type:"button",disabled:!!H.value,onClick:Yt},"签名首图",8,Wo)])]),a("ul",null,[(I(!0),$(te,null,we(((C=d.value)==null?void 0:C.items)??[],g=>(I(),$("li",{key:g.material_id},[a("div",null,[a("strong",null,T(g.display_name),1),a("small",null,T(g.image_uri??"未绑定图片"),1)]),a("span",qo,T(g.recognition_status),1)]))),128)),(S=d.value)!=null&&S.items.length?ee("",!0):(I(),$("li",Jo,"暂无素材"))]),Z.value?(I(),$("pre",Go,T(JSON.stringify(Z.value,null,2)),1)):ee("",!0)])])):ee("",!0),t.value==="wardrobe"?(I(),$("section",zo,[a("header",null,[a("h2",null,T(Ce.value),1),a("button",{type:"button",disabled:!se.value||!!H.value,onClick:vt}," 匹配 ",8,Yo)]),a("ul",null,[(I(!0),$(te,null,we(_.value,g=>(I(),$("li",{key:g.wardrobe_item_id},[a("div",null,[a("strong",null,T(g.wardrobe_category),1),a("small",null,T(g.material_id)+" · "+T(g.tags.join(", ")||"无标签"),1)]),a("span",null,T(g.usage_count),1)]))),128)),_.value.length?ee("",!0):(I(),$("li",Xo,"暂无衣橱条目"))]),K.value?(I(),$("pre",Zo,T(JSON.stringify(K.value,null,2)),1)):ee("",!0)])):ee("",!0),t.value==="jobs"?(I(),$("section",Qo,[a("header",null,[x[15]||(x[15]=a("h2",null,"任务队列",-1)),a("div",eu,[a("button",{type:"button",disabled:!!H.value,onClick:Q},"失败转死信",8,tu),a("button",{type:"button",disabled:!!H.value,onClick:J},"重试死信",8,su)])]),a("ul",null,[(I(!0),$(te,null,we(((w=l.value)==null?void 0:w.items)??[],g=>(I(),$("li",{key:g.task_id},[a("div",null,[a("strong",null,T(g.task_id),1),a("small",null,T(g.task_type)+" · "+T(g.progress)+"%",1)]),a("div",nu,[a("span",iu,T(g.status),1),g.status==="failed"?(I(),$("button",{key:0,type:"button",onClick:ne=>zt(g.task_id)},"重试",8,lu)):ee("",!0),g.status==="pending"?(I(),$("button",{key:1,type:"button",onClick:ne=>ce(g.task_id)},"取消",8,ru)):ee("",!0)])]))),128)),(b=l.value)!=null&&b.items.length?ee("",!0):(I(),$("li",ou,"暂无任务"))])])):ee("",!0),t.value==="discovery"?(I(),$("section",uu,[a("div",cu,[a("header",null,[x[16]||(x[16]=a("h2",null,"协议方言",-1)),a("button",{type:"button",disabled:!!H.value,onClick:ze},"安全探测",8,fu)]),a("ul",null,[(I(!0),$(te,null,we(O.value,g=>(I(),$("li",{key:g.dialect},[a("div",null,[a("strong",null,T(g.label),1),a("small",null,T(g.capabilities.join(", ")||"待确认"),1)]),a("span",null,T(g.dialect),1)]))),128))])]),a("div",au,[a("header",null,[x[17]||(x[17]=a("h2",null,"能力档案",-1)),a("span",null,T(M.value.length),1)]),a("ul",null,[(I(!0),$(te,null,we(M.value,g=>(I(),$("li",{key:g.capability_profile_id},[a("div",null,[a("strong",null,T(g.provider_id)+" / "+T(g.model_id),1),a("small",null,T(g.dialect),1)]),a("span",du,T(g.status),1)]))),128)),M.value.length?ee("",!0):(I(),$("li",hu,"暂无能力档案"))])])])):ee("",!0),t.value==="logs"?(I(),$("section",pu,[a("div",gu,[a("div",_u,[a("header",null,[x[18]||(x[18]=a("h2",null,"生成日志",-1)),a("span",null,T(P.value.generation.length),1)]),a("ul",null,[(I(!0),$(te,null,we(P.value.generation,g=>(I(),$("li",{key:g.task_id},[a("div",null,[a("strong",null,T(g.task_id),1),a("small",null,T(g.status)+" · "+T(g.progress)+"%",1)]),a("span",null,T(g.created_at),1)]))),128)),P.value.generation.length?ee("",!0):(I(),$("li",vu,"暂无生成日志"))])]),a("div",mu,[a("header",null,[x[19]||(x[19]=a("h2",null,"错误",-1)),a("span",null,T(P.value.errors.length),1)]),a("ul",null,[(I(!0),$(te,null,we(P.value.errors,g=>(I(),$("li",{key:`${g.source}-${g.id}`},[a("div",null,[a("strong",null,T(g.source),1),a("small",null,T(g.error_message??"无错误详情"),1)]),a("span",bu,T(g.status),1)]))),128)),P.value.errors.length?ee("",!0):(I(),$("li",yu,"暂无错误"))])])]),a("div",xu,[a("div",wu,[a("header",null,[x[20]||(x[20]=a("h2",null,"工作流",-1)),a("span",null,T(P.value.workflows.length),1)]),a("ul",null,[(I(!0),$(te,null,we(P.value.workflows,g=>(I(),$("li",{key:g.history_id},[a("div",null,[a("strong",null,T(g.action),1),a("small",null,T(g.title??g.workflow_id),1)]),a("span",null,T(g.branch_name??"main"),1)]))),128)),P.value.workflows.length?ee("",!0):(I(),$("li",Su,"暂无工作流日志"))])]),a("div",Cu,[a("header",null,[x[21]||(x[21]=a("h2",null,"集成",-1)),a("span",null,T(P.value.integrations.length),1)]),a("ul",null,[(I(!0),$(te,null,we(P.value.integrations,g=>(I(),$("li",{key:g.integration_log_id},[a("div",null,[a("strong",null,T(g.integration_name),1),a("small",null,T(g.action),1)]),a("span",Tu,T(g.status),1)]))),128)),P.value.integrations.length?ee("",!0):(I(),$("li",Eu,"暂无集成日志"))])])]),a("div",Ou,[a("header",null,[x[22]||(x[22]=a("h2",null,"审计",-1)),a("span",null,T(P.value.audit.length),1)]),a("ul",null,[(I(!0),$(te,null,we(P.value.audit,g=>(I(),$("li",{key:g.audit_id},[a("div",null,[a("strong",null,T(g.action),1),a("small",null,T(g.actor_type)+" / "+T(g.target_type)+" / "+T(g.target_id),1)]),a("span",null,T(g.created_at),1)]))),128)),P.value.audit.length?ee("",!0):(I(),$("li",Au,"暂无审计日志"))])])])):ee("",!0),t.value==="settings"?(I(),$("section",Pu,[a("div",Mu,[a("button",{type:"button",disabled:!!H.value,onClick:Ye},"重载",8,Ru),a("button",{type:"button",disabled:!!H.value,onClick:Ee},"导出脱敏配置",8,Iu)]),a("div",Du,[(I(!0),$(te,null,we(((F=r.value)==null?void 0:F.sections)??[],g=>(I(),$("article",{key:g.key},[a("h2",null,T(g.title),1),a("span",null,T(g.fields.length)+" 项",1)]))),128))]),a("pre",null,T(JSON.stringify(((E=o.value)==null?void 0:E.config)??{},null,2)),1)])):ee("",!0)],64))]),a("aside",Fu,[x[29]||(x[29]=a("h2",null,"运行",-1)),a("dl",null,[a("div",null,[x[23]||(x[23]=a("dt",null,"Pending",-1)),a("dd",null,T(((R=n.value)==null?void 0:R.queue.pending)??0),1)]),a("div",null,[x[24]||(x[24]=a("dt",null,"Running",-1)),a("dd",null,T(((j=n.value)==null?void 0:j.queue.running)??0),1)]),a("div",null,[x[25]||(x[25]=a("dt",null,"Failed",-1)),a("dd",null,T(((B=n.value)==null?void 0:B.queue.failed)??0),1)]),a("div",null,[x[26]||(x[26]=a("dt",null,"Dead",-1)),a("dd",null,T(((U=n.value)==null?void 0:U.queue.dead_letter)??0),1)])]),x[30]||(x[30]=a("h2",null,"存储",-1)),a("dl",null,[a("div",null,[x[27]||(x[27]=a("dt",null,"Images",-1)),a("dd",null,T(Ot(Xt("storage://images/"))),1)]),a("div",null,[x[28]||(x[28]=a("dt",null,"Materials",-1)),a("dd",null,T(Ot(Xt("storage://materials/"))),1)])])])])}}}),ju=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Lu=ju($u,[["__scopeId","data-v-0ef32593"]]);xo(Lu).mount("#app"); diff --git a/web/assets/index-ByLkWMta.js b/web/assets/index-ByLkWMta.js deleted file mode 100644 index a8f6dd3..0000000 --- a/web/assets/index-ByLkWMta.js +++ /dev/null @@ -1,17 +0,0 @@ -var Gi=Object.defineProperty;var zi=(e,t,s)=>t in e?Gi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var vs=(e,t,s)=>zi(e,typeof t!="symbol"?t+"":t,s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const l of r.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&n(l)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/** -* @vue/shared v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function Ws(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const Y={},St=[],Ve=()=>{},Kn=()=>!1,fs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),as=e=>e.startsWith("onUpdate:"),ce=Object.assign,ks=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Yi=Object.prototype.hasOwnProperty,V=(e,t)=>Yi.call(e,t),F=Array.isArray,Ct=e=>Gt(e)==="[object Map]",Un=e=>Gt(e)==="[object Set]",dn=e=>Gt(e)==="[object Date]",$=e=>typeof e=="function",Q=e=>typeof e=="string",We=e=>typeof e=="symbol",J=e=>e!==null&&typeof e=="object",Vn=e=>(J(e)||$(e))&&$(e.then)&&$(e.catch),Wn=Object.prototype.toString,Gt=e=>Wn.call(e),Xi=e=>Gt(e).slice(8,-1),kn=e=>Gt(e)==="[object Object]",qs=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,jt=Ws(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ds=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},Zi=/-\w/g,Oe=ds(e=>e.replace(Zi,t=>t.slice(1).toUpperCase())),Qi=/\B([A-Z])/g,gt=ds(e=>e.replace(Qi,"-$1").toLowerCase()),qn=ds(e=>e.charAt(0).toUpperCase()+e.slice(1)),ys=ds(e=>e?`on${qn(e)}`:""),Ke=(e,t)=>!Object.is(e,t),xs=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},er=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let hn;const hs=()=>hn||(hn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Js(e){if(F(e)){const t={};for(let s=0;s{if(s){const n=s.split(sr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ne(e){let t="";if(Q(e))t=e;else if(F(e))for(let s=0;s!!(e&&e.__v_isRef===!0),M=e=>Q(e)?e:e==null?"":F(e)||J(e)&&(e.toString===Wn||!$(e.toString))?zn(e)?M(e.value):JSON.stringify(e,Yn,2):String(e),Yn=(e,t)=>zn(t)?Yn(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[ws(n,r)+" =>"]=i,s),{})}:Un(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>ws(s))}:We(t)?ws(t):J(t)&&!F(t)&&!kn(t)?String(t):t,ws=(e,t="")=>{var s;return We(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 oe;class cr{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&&oe&&(oe.active?(this.parent=oe,this.index=(oe.scopes||(oe.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(oe===this)oe=this.prevScope;else{let t=oe;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(Nt){let t=Nt;for(Nt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Lt;){let t=Lt;for(Lt=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 ei(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ti(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Xs(n),fr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Ds(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(si(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function si(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vt)||(e.globalVersion=Vt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ds(e))))return;e.flags|=2;const t=e.dep,s=z,n=Ae;z=e,Ae=!0;try{ei(e);const i=e.fn(e._value);(t.version===0||Ke(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{z=s,Ae=n,ti(e),e.flags&=-3}}function Xs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Xs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function fr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ae=!0;const ni=[];function ke(){ni.push(Ae),Ae=!1}function qe(){const e=ni.pop();Ae=e===void 0?!0:e}function pn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=z;z=void 0;try{t()}finally{z=s}}}let Vt=0;class ar{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 Zs{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(!z||!Ae||z===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==z)s=this.activeLink=new ar(z,this),z.deps?(s.prevDep=z.depsTail,z.depsTail.nextDep=s,z.depsTail=s):z.deps=z.depsTail=s,ii(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=z.depsTail,s.nextDep=void 0,z.depsTail.nextDep=s,z.depsTail=s,z.deps===s&&(z.deps=n)}return s}trigger(t){this.version++,Vt++,this.notify(t)}notify(t){zs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ys()}}}function ii(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)ii(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Fs=new WeakMap,ht=Symbol(""),$s=Symbol(""),Wt=Symbol("");function ae(e,t,s){if(Ae&&z){let n=Fs.get(e);n||Fs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Zs),i.map=n,i.key=s),i.track()}}function Xe(e,t,s,n,i,r){const l=Fs.get(e);if(!l){Vt++;return}const o=u=>{u&&u.trigger()};if(zs(),t==="clear")l.forEach(o);else{const u=F(e),d=u&&qs(s);if(u&&s==="length"){const a=Number(n);l.forEach((_,T)=>{(T==="length"||T===Wt||!We(T)&&T>=a)&&o(_)})}else switch((s!==void 0||l.has(void 0))&&o(l.get(s)),d&&o(l.get(Wt)),t){case"add":u?d&&o(l.get("length")):(o(l.get(ht)),Ct(e)&&o(l.get($s)));break;case"delete":u||(o(l.get(ht)),Ct(e)&&o(l.get($s)));break;case"set":Ct(e)&&o(l.get(ht));break}}Ys()}function yt(e){const t=U(e);return t===e?t:(ae(t,"iterate",Wt),Te(e)?t:t.map(Pe))}function ps(e){return ae(e=U(e),"iterate",Wt),e}function He(e,t){return Qe(e)?Ot(pt(e)?Pe(t):t):Pe(t)}const dr={__proto__:null,[Symbol.iterator](){return Cs(this,Symbol.iterator,e=>He(this,e))},concat(...e){return yt(this).concat(...e.map(t=>F(t)?yt(t):t))},entries(){return Cs(this,"entries",e=>(e[1]=He(this,e[1]),e))},every(e,t){return Ge(this,"every",e,t,void 0,arguments)},filter(e,t){return Ge(this,"filter",e,t,s=>s.map(n=>He(this,n)),arguments)},find(e,t){return Ge(this,"find",e,t,s=>He(this,s),arguments)},findIndex(e,t){return Ge(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ge(this,"findLast",e,t,s=>He(this,s),arguments)},findLastIndex(e,t){return Ge(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ge(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ts(this,"includes",e)},indexOf(...e){return Ts(this,"indexOf",e)},join(e){return yt(this).join(e)},lastIndexOf(...e){return Ts(this,"lastIndexOf",e)},map(e,t){return Ge(this,"map",e,t,void 0,arguments)},pop(){return It(this,"pop")},push(...e){return It(this,"push",e)},reduce(e,...t){return gn(this,"reduce",e,t)},reduceRight(e,...t){return gn(this,"reduceRight",e,t)},shift(){return It(this,"shift")},some(e,t){return Ge(this,"some",e,t,void 0,arguments)},splice(...e){return It(this,"splice",e)},toReversed(){return yt(this).toReversed()},toSorted(e){return yt(this).toSorted(e)},toSpliced(...e){return yt(this).toSpliced(...e)},unshift(...e){return It(this,"unshift",e)},values(){return Cs(this,"values",e=>He(this,e))}};function Cs(e,t,s){const n=ps(e),i=n[t]();return n!==e&&!Te(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const hr=Array.prototype;function Ge(e,t,s,n,i,r){const l=ps(e),o=l!==e&&!Te(e),u=l[t];if(u!==hr[t]){const _=u.apply(e,r);return o?Pe(_):_}let d=s;l!==e&&(o?d=function(_,T){return s.call(this,He(e,_),T,e)}:s.length>2&&(d=function(_,T){return s.call(this,_,T,e)}));const a=u.call(l,d,n);return o&&i?i(a):a}function gn(e,t,s,n){const i=ps(e),r=i!==e&&!Te(e);let l=s,o=!1;i!==e&&(r?(o=n.length===0,l=function(d,a,_){return o&&(o=!1,d=He(e,d)),s.call(this,d,He(e,a),_,e)}):s.length>3&&(l=function(d,a,_){return s.call(this,d,a,_,e)}));const u=i[t](l,...n);return o?He(e,u):u}function Ts(e,t,s){const n=U(e);ae(n,"iterate",Wt);const i=n[t](...s);return(i===-1||i===!1)&&sn(s[0])?(s[0]=U(s[0]),n[t](...s)):i}function It(e,t,s=[]){ke(),zs();const n=U(e)[t].apply(e,s);return Ys(),qe(),n}const pr=Ws("__proto__,__v_isRef,__isVue"),ri=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(We));function gr(e){We(e)||(e=String(e));const t=U(this);return ae(t,"has",e),t.hasOwnProperty(e)}class li{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?Tr:fi:r?ui:ci).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const l=F(t);if(!i){let u;if(l&&(u=dr[s]))return u;if(s==="hasOwnProperty")return gr}const o=Reflect.get(t,s,de(t)?t:n);if((We(s)?ri.has(s):pr(s))||(i||ae(t,"get",s),r))return o;if(de(o)){const u=l&&qs(s)?o:o.value;return i&&J(u)?Ls(u):u}return J(o)?i?Ls(o):en(o):o}}class oi extends li{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const l=F(t)&&qs(s);if(!this._isShallow){const d=Qe(r);if(!Te(n)&&!Qe(n)&&(r=U(r),n=U(n)),!l&&de(r)&&!de(n))return d||(r.value=n),!0}const o=l?Number(s)e,Zt=e=>Reflect.getPrototypeOf(e);function yr(e,t,s){return function(...n){const i=this.__v_raw,r=U(i),l=Ct(r),o=e==="entries"||e===Symbol.iterator&&l,u=e==="keys"&&l,d=i[e](...n),a=s?js:t?Ot:Pe;return!t&&ae(r,"iterate",u?$s:ht),ce(Object.create(d),{next(){const{value:_,done:T}=d.next();return T?{value:_,done:T}:{value:o?[a(_[0]),a(_[1])]:a(_),done:T}}})}}function Qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function xr(e,t){const s={get(i){const r=this.__v_raw,l=U(r),o=U(i);e||(Ke(i,o)&&ae(l,"get",i),ae(l,"get",o));const{has:u}=Zt(l),d=t?js:e?Ot:Pe;if(u.call(l,i))return d(r.get(i));if(u.call(l,o))return d(r.get(o));r!==l&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ae(U(i),"iterate",ht),i.size},has(i){const r=this.__v_raw,l=U(r),o=U(i);return e||(Ke(i,o)&&ae(l,"has",i),ae(l,"has",o)),i===o?r.has(i):r.has(i)||r.has(o)},forEach(i,r){const l=this,o=l.__v_raw,u=U(o),d=t?js:e?Ot:Pe;return!e&&ae(u,"iterate",ht),o.forEach((a,_)=>i.call(r,d(a),d(_),l))}};return ce(s,e?{add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear")}:{add(i){const r=U(this),l=Zt(r),o=U(i),u=!t&&!Te(i)&&!Qe(i)?o:i;return l.has.call(r,u)||Ke(i,u)&&l.has.call(r,i)||Ke(o,u)&&l.has.call(r,o)||(r.add(u),Xe(r,"add",u,u)),this},set(i,r){!t&&!Te(r)&&!Qe(r)&&(r=U(r));const l=U(this),{has:o,get:u}=Zt(l);let d=o.call(l,i);d||(i=U(i),d=o.call(l,i));const a=u.call(l,i);return l.set(i,r),d?Ke(r,a)&&Xe(l,"set",i,r):Xe(l,"add",i,r),this},delete(i){const r=U(this),{has:l,get:o}=Zt(r);let u=l.call(r,i);u||(i=U(i),u=l.call(r,i)),o&&o.call(r,i);const d=r.delete(i);return u&&Xe(r,"delete",i,void 0),d},clear(){const i=U(this),r=i.size!==0,l=i.clear();return r&&Xe(i,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=yr(i,e,t)}),s}function Qs(e,t){const s=xr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(V(s,i)&&i in n?s:n,i,r)}const wr={get:Qs(!1,!1)},Sr={get:Qs(!1,!0)},Cr={get:Qs(!0,!1)};const ci=new WeakMap,ui=new WeakMap,fi=new WeakMap,Tr=new WeakMap;function Er(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function en(e){return Qe(e)?e:tn(e,!1,mr,wr,ci)}function Or(e){return tn(e,!1,vr,Sr,ui)}function Ls(e){return tn(e,!0,br,Cr,fi)}function tn(e,t,s,n,i){if(!J(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const r=i.get(e);if(r)return r;const l=Er(Xi(e));if(l===0)return e;const o=new Proxy(e,l===2?n:s);return i.set(e,o),o}function pt(e){return Qe(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function Qe(e){return!!(e&&e.__v_isReadonly)}function Te(e){return!!(e&&e.__v_isShallow)}function sn(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function Ar(e){return!V(e,"__v_skip")&&Object.isExtensible(e)&&Jn(e,"__v_skip",!0),e}const Pe=e=>J(e)?en(e):e,Ot=e=>J(e)?Ls(e):e;function de(e){return e?e.__v_isRef===!0:!1}function ne(e){return Pr(e,!1)}function Pr(e,t){return de(e)?e:new Mr(e,t)}class Mr{constructor(t,s){this.dep=new Zs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:U(t),this._value=s?t:Pe(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||Te(t)||Qe(t);t=n?t:U(t),Ke(t,s)&&(this._rawValue=t,this._value=n?t:Pe(t),this.dep.trigger())}}function Rr(e){return de(e)?e.value:e}const Ir={get:(e,t,s)=>t==="__v_raw"?e:Rr(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return de(i)&&!de(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ai(e){return pt(e)?e:new Proxy(e,Ir)}class Dr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Zs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&z!==this)return Qn(this,!0),!0}get value(){const t=this.dep.track();return si(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Fr(e,t,s=!1){let n,i;return $(e)?n=e:(n=e.get,i=e.set),new Dr(n,i,s)}const es={},ns=new WeakMap;let dt;function $r(e,t=!1,s=dt){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(e)}}function jr(e,t,s=Y){const{immediate:n,deep:i,once:r,scheduler:l,augmentJob:o,call:u}=s,d=R=>i?R:Te(R)||i===!1||i===0?it(R,1):it(R);let a,_,T,E,B=!1,I=!1;if(de(e)?(_=()=>e.value,B=Te(e)):pt(e)?(_=()=>d(e),B=!0):F(e)?(I=!0,B=e.some(R=>pt(R)||Te(R)),_=()=>e.map(R=>{if(de(R))return R.value;if(pt(R))return d(R);if($(R))return u?u(R,2):R()})):$(e)?t?_=u?()=>u(e,2):e:_=()=>{if(T){ke();try{T()}finally{qe()}}const R=dt;dt=a;try{return u?u(e,3,[E]):e(E)}finally{dt=R}}:_=Ve,t&&i){const R=_,ee=i===!0?1/0:i;_=()=>it(R(),ee)}const Z=ur(),H=()=>{a.stop(),Z&&Z.active&&ks(Z.effects,a)};if(r&&t){const R=t;t=(...ee)=>{const xe=R(...ee);return H(),xe}}let j=I?new Array(e.length).fill(es):es;const W=R=>{if(!(!(a.flags&1)||!a.dirty&&!R))if(t){const ee=a.run();if(R||i||B||(I?ee.some((xe,we)=>Ke(xe,j[we])):Ke(ee,j))){T&&T();const xe=dt;dt=a;try{const we=[ee,j===es?void 0:I&&j[0]===es?[]:j,E];j=ee,u?u(t,3,we):t(...we)}finally{dt=xe}}}else a.run()};return o&&o(W),a=new Xn(_),a.scheduler=l?()=>l(W,!1):W,E=R=>$r(R,!1,a),T=a.onStop=()=>{const R=ns.get(a);if(R){if(u)u(R,4);else for(const ee of R)ee();ns.delete(a)}},t?n?W(!0):j=a.run():l?l(W.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function it(e,t=1/0,s){if(t<=0||!J(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,de(e))it(e.value,t,s);else if(F(e))for(let n=0;n{it(n,t,s)});else if(kn(e)){for(const n in e)it(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&it(e[n],t,s)}return e}/** -* @vue/runtime-core v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function zt(e,t,s,n){try{return n?e(...n):e()}catch(i){gs(i,t,s)}}function Me(e,t,s,n){if($(e)){const i=zt(e,t,s,n);return i&&Vn(i)&&i.catch(r=>{gs(r,t,s)}),i}if(F(e)){const i=[];for(let r=0;r>>1,i=pe[n],r=kt(i);r=kt(s)?pe.push(e):pe.splice(Hr(t),0,e),e.flags|=1,hi()}}function hi(){is||(is=di.then(gi))}function Br(e){F(e)?Tt.push(...e):nt&&e.id===-1?nt.splice(xt+1,0,e):e.flags&1||(Tt.push(e),e.flags|=1),hi()}function _n(e,t,s=Le+1){for(;skt(s)-kt(n));if(Tt.length=0,nt){nt.push(...t);return}for(nt=t,xt=0;xte.id==null?e.flags&2?-1:1/0:e.id;function gi(e){try{for(Le=0;Le{n._d&&On(-1);const r=rs(t);let l;try{l=e(...i)}finally{rs(r),n._d&&On(1)}return l};return n._n=!0,n._c=!0,n._d=!0,n}function ut(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let l=0;l1)return s&&$(t)?t.call(n&&n.proxy):t}}const Vr=Symbol.for("v-scx"),Wr=()=>ts(Vr);function Es(e,t,s){return mi(e,t,s)}function mi(e,t,s=Y){const{immediate:n,deep:i,flush:r,once:l}=s,o=ce({},s),u=t&&n||!t&&r!=="post";let d;if(Jt){if(r==="sync"){const E=Wr();d=E.__watcherHandles||(E.__watcherHandles=[])}else if(!u){const E=()=>{};return E.stop=Ve,E.resume=Ve,E.pause=Ve,E}}const a=ge;o.call=(E,B,I)=>Me(E,a,B,I);let _=!1;r==="post"?o.scheduler=E=>{me(E,a&&a.suspense)}:r!=="sync"&&(_=!0,o.scheduler=(E,B)=>{B?E():nn(E)}),o.augmentJob=E=>{t&&(E.flags|=4),_&&(E.flags|=2,a&&(E.id=a.uid,E.i=a))};const T=jr(e,t,o);return Jt&&(d?d.push(T):u&&T()),T}function kr(e,t,s){const n=this.proxy,i=Q(e)?e.includes(".")?bi(n,e):()=>n[e]:e.bind(n,n);let r;$(t)?r=t:(r=t.handler,s=t);const l=Yt(this),o=mi(i,r.bind(n),s);return l(),o}function bi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,Os=Symbol("_leaveCb");function rn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,rn(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 Gr(e,t){return $(e)?ce({name:e.name},t,{setup:e}):e}function vi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ls=new WeakMap;function Ht(e,t,s,n,i=!1){if(F(e)){e.forEach((I,Z)=>Ht(I,t&&(F(t)?t[Z]:t),s,n,i));return}if(Bt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ht(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?cn(n.component):n.el,l=i?null:r,{i:o,r:u}=e,d=t&&t.r,a=o.refs===Y?o.refs={}:o.refs,_=o.setupState,T=U(_),E=_===Y?Kn:I=>mn(a,I)?!1:V(T,I),B=(I,Z)=>!(Z&&mn(a,Z));if(d!=null&&d!==u){if(bn(t),Q(d))a[d]=null,E(d)&&(_[d]=null);else if(de(d)){const I=t;B(d,I.k)&&(d.value=null),I.k&&(a[I.k]=null)}}if($(u)){ke();try{zt(u,o,12,[l,a])}finally{qe()}}else{const I=Q(u),Z=de(u);if(I||Z){const H=()=>{if(e.f){const j=I?E(u)?_[u]:a[u]:B()||!e.k?u.value:a[e.k];if(i)F(j)&&ks(j,r);else if(F(j))j.includes(r)||j.push(r);else if(I)a[u]=[r],E(u)&&(_[u]=a[u]);else{const W=[r];B(u,e.k)&&(u.value=W),e.k&&(a[e.k]=W)}}else I?(a[u]=l,E(u)&&(_[u]=l)):Z&&(B(u,e.k)&&(u.value=l),e.k&&(a[e.k]=l))};if(l){const j=()=>{H(),ls.delete(e)};j.id=-1,ls.set(e,j),me(j,s)}else bn(e),H()}}}function bn(e){const t=ls.get(e);t&&(t.flags|=8,ls.delete(e))}hs().requestIdleCallback;hs().cancelIdleCallback;const Bt=e=>!!e.type.__asyncLoader,yi=e=>e.type.__isKeepAlive;function zr(e,t){xi(e,"a",t)}function Yr(e,t){xi(e,"da",t)}function xi(e,t,s=ge){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(_s(t,n,s),s){let i=s.parent;for(;i&&i.parent;)yi(i.parent.vnode)&&Xr(n,t,s,i),i=i.parent}}function Xr(e,t,s,n){const i=_s(t,e,n,!0);Si(()=>{ks(n[t],i)},s)}function _s(e,t,s=ge,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...l)=>{ke();const o=Yt(s),u=Me(t,s,e,l);return o(),qe(),u});return n?i.unshift(r):i.push(r),r}}const et=e=>(t,s=ge)=>{(!Jt||e==="sp")&&_s(e,(...n)=>t(...n),s)},Zr=et("bm"),wi=et("m"),Qr=et("bu"),el=et("u"),tl=et("bum"),Si=et("um"),sl=et("sp"),nl=et("rtg"),il=et("rtc");function rl(e,t=ge){_s("ec",e,t)}const ll=Symbol.for("v-ndc");function st(e,t,s,n){let i;const r=s,l=F(e);if(l||Q(e)){const o=l&&pt(e);let u=!1,d=!1;o&&(u=!Te(e),d=Qe(e),e=ps(e)),i=new Array(e.length);for(let a=0,_=e.length;a<_;a++)i[a]=t(u?d?Ot(Pe(e[a])):Pe(e[a]):e[a],a,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let o=0;ot(o,u,void 0,r));else{const o=Object.keys(e);i=new Array(o.length);for(let u=0,d=o.length;ue?Wi(e)?cn(e):Ns(e.parent):null,Kt=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=>Ns(e.parent),$root:e=>Ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ti(e),$forceUpdate:e=>e.f||(e.f=()=>{nn(e.update)}),$nextTick:e=>e.n||(e.n=Nr.bind(e.proxy)),$watch:e=>kr.bind(e)}),As=(e,t)=>e!==Y&&!e.__isScriptSetup&&V(e,t),ol={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:l,type:o,appContext:u}=e;if(t[0]!=="$"){const T=l[t];if(T!==void 0)switch(T){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(As(n,t))return l[t]=1,n[t];if(i!==Y&&V(i,t))return l[t]=2,i[t];if(V(r,t))return l[t]=3,r[t];if(s!==Y&&V(s,t))return l[t]=4,s[t];Hs&&(l[t]=0)}}const d=Kt[t];let a,_;if(d)return t==="$attrs"&&ae(e.attrs,"get",""),d(e);if((a=o.__cssModules)&&(a=a[t]))return a;if(s!==Y&&V(s,t))return l[t]=4,s[t];if(_=u.config.globalProperties,V(_,t))return _[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return As(i,t)?(i[t]=s,!0):n!==Y&&V(n,t)?(n[t]=s,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:l}},o){let u;return!!(s[o]||e!==Y&&o[0]!=="$"&&V(e,o)||As(t,o)||V(r,o)||V(n,o)||V(Kt,o)||V(i.config.globalProperties,o)||(u=l.__cssModules)&&u[o])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:V(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function vn(e){return F(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Hs=!0;function cl(e){const t=Ti(e),s=e.proxy,n=e.ctx;Hs=!1,t.beforeCreate&&yn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:l,watch:o,provide:u,inject:d,created:a,beforeMount:_,mounted:T,beforeUpdate:E,updated:B,activated:I,deactivated:Z,beforeDestroy:H,beforeUnmount:j,destroyed:W,unmounted:R,render:ee,renderTracked:xe,renderTriggered:we,errorCaptured:Se,serverPrefetch:_t,expose:ue,inheritAttrs:lt,components:mt,directives:bt,filters:Pt}=t;if(d&&ul(d,n,null),l)for(const X in l){const k=l[X];$(k)&&(n[X]=k.bind(s))}if(i){const X=i.call(s,s);J(X)&&(e.data=en(X))}if(Hs=!0,r)for(const X in r){const k=r[X],Ee=$(k)?k.bind(s,s):$(k.get)?k.get.bind(s,s):Ve,ot=!$(k)&&$(k.set)?k.set.bind(s):Ve,O=wt({get:Ee,set:ot});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>O.value,set:x=>O.value=x})}if(o)for(const X in o)Ci(o[X],n,s,X);if(u){const X=$(u)?u.call(s):u;Reflect.ownKeys(X).forEach(k=>{Ur(k,X[k])})}a&&yn(a,e,"c");function re(X,k){F(k)?k.forEach(Ee=>X(Ee.bind(s))):k&&X(k.bind(s))}if(re(Zr,_),re(wi,T),re(Qr,E),re(el,B),re(zr,I),re(Yr,Z),re(rl,Se),re(il,xe),re(nl,we),re(tl,j),re(Si,R),re(sl,_t),F(ue))if(ue.length){const X=e.exposed||(e.exposed={});ue.forEach(k=>{Object.defineProperty(X,k,{get:()=>s[k],set:Ee=>s[k]=Ee,enumerable:!0})})}else e.exposed||(e.exposed={});ee&&e.render===Ve&&(e.render=ee),lt!=null&&(e.inheritAttrs=lt),mt&&(e.components=mt),bt&&(e.directives=bt),_t&&vi(e)}function ul(e,t,s=Ve){F(e)&&(e=Bs(e));for(const n in e){const i=e[n];let r;J(i)?"default"in i?r=ts(i.from||n,i.default,!0):r=ts(i.from||n):r=ts(i),de(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:l=>r.value=l}):t[n]=r}}function yn(e,t,s){Me(F(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ci(e,t,s,n){let i=n.includes(".")?bi(s,n):()=>s[n];if(Q(e)){const r=t[e];$(r)&&Es(i,r)}else if($(e))Es(i,e.bind(s));else if(J(e))if(F(e))e.forEach(r=>Ci(r,t,s,n));else{const r=$(e.handler)?e.handler.bind(s):t[e.handler];$(r)&&Es(i,r,e)}}function Ti(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:l}}=e.appContext,o=r.get(t);let u;return o?u=o:!i.length&&!s&&!n?u=t:(u={},i.length&&i.forEach(d=>os(u,d,l,!0)),os(u,t,l)),J(t)&&r.set(t,u),u}function os(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&os(e,r,s,!0),i&&i.forEach(l=>os(e,l,s,!0));for(const l in t)if(!(n&&l==="expose")){const o=fl[l]||s&&s[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const fl={data:xn,props:wn,emits:wn,methods:Ft,computed:Ft,beforeCreate:he,created:he,beforeMount:he,mounted:he,beforeUpdate:he,updated:he,beforeDestroy:he,beforeUnmount:he,destroyed:he,unmounted:he,activated:he,deactivated:he,errorCaptured:he,serverPrefetch:he,components:Ft,directives:Ft,watch:dl,provide:xn,inject:al};function xn(e,t){return t?e?function(){return ce($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function al(e,t){return Ft(Bs(e),Bs(t))}function Bs(e){if(F(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${gt(t)}Modifiers`];function _l(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Y;let i=s;const r=t.startsWith("update:"),l=r&&gl(n,t.slice(7));l&&(l.trim&&(i=s.map(a=>Q(a)?a.trim():a)),l.number&&(i=s.map(er)));let o,u=n[o=ys(t)]||n[o=ys(Oe(t))];!u&&r&&(u=n[o=ys(gt(t))]),u&&Me(u,e,6,i);const d=n[o+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,Me(d,e,6,i)}}const ml=new WeakMap;function Oi(e,t,s=!1){const n=s?ml:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let l={},o=!1;if(!$(e)){const u=d=>{const a=Oi(d,t,!0);a&&(o=!0,ce(l,a))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!r&&!o?(J(e)&&n.set(e,null),null):(F(r)?r.forEach(u=>l[u]=null):ce(l,r),J(e)&&n.set(e,l),l)}function ms(e,t){return!e||!fs(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,gt(t))||V(e,t))}function Sn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:l,attrs:o,emit:u,render:d,renderCache:a,props:_,data:T,setupState:E,ctx:B,inheritAttrs:I}=e,Z=rs(e);let H,j;try{if(s.shapeFlag&4){const R=i||n,ee=R;H=Be(d.call(ee,R,a,_,E,T,B)),j=o}else{const R=t;H=Be(R.length>1?R(_,{attrs:o,slots:l,emit:u}):R(_,null)),j=t.props?o:bl(o)}}catch(R){Ut.length=0,gs(R,e,1),H=Ze(rt)}let W=H;if(j&&I!==!1){const R=Object.keys(j),{shapeFlag:ee}=W;R.length&&ee&7&&(r&&R.some(as)&&(j=vl(j,r)),W=At(W,j,!1,!0))}return s.dirs&&(W=At(W,null,!1,!0),W.dirs=W.dirs?W.dirs.concat(s.dirs):s.dirs),s.transition&&rn(W,s.transition),H=W,rs(Z),H}const bl=e=>{let t;for(const s in e)(s==="class"||s==="style"||fs(s))&&((t||(t={}))[s]=e[s]);return t},vl=(e,t)=>{const s={};for(const n in e)(!as(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function yl(e,t,s){const{props:n,children:i,component:r}=e,{props:l,children:o,patchFlag:u}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?Cn(n,l,d):!!l;if(u&8){const a=t.dynamicProps;for(let _=0;_Object.create(Pi),Ri=e=>Object.getPrototypeOf(e)===Pi;function wl(e,t,s,n=!1){const i={},r=Mi();e.propsDefaults=Object.create(null),Ii(e,t,i,r);for(const l in e.propsOptions[0])l in i||(i[l]=void 0);s?e.props=n?i:Or(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function Sl(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:l}}=e,o=U(i),[u]=e.propsOptions;let d=!1;if((n||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let _=0;_{u=!0;const[T,E]=Di(_,t,!0);ce(l,T),E&&o.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!u)return J(e)&&n.set(e,St),St;if(F(r))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",on=e=>F(e)?e.map(Be):[Be(e)],Tl=(e,t,s)=>{if(t._n)return t;const n=Kr((...i)=>on(t(...i)),s);return n._c=!1,n},Fi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(ln(i))continue;const r=e[i];if($(r))t[i]=Tl(i,r,n);else if(r!=null){const l=on(r);t[i]=()=>l}}},$i=(e,t)=>{const s=on(t);e.slots.default=()=>s},ji=(e,t,s)=>{for(const n in t)(s||!ln(n))&&(e[n]=t[n])},El=(e,t,s)=>{const n=e.slots=Mi();if(e.vnode.shapeFlag&32){const i=t._;i?(ji(n,t,s),s&&Jn(n,"_",i,!0)):Fi(t,n)}else t&&$i(e,t)},Ol=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,l=Y;if(n.shapeFlag&32){const o=t._;o?s&&o===1?r=!1:ji(i,t,s):(r=!t.$stable,Fi(t,i)),l=t}else t&&($i(e,t),l={default:1});if(r)for(const o in i)!ln(o)&&l[o]==null&&delete i[o]},me=Il;function Al(e){return Pl(e)}function Pl(e,t){const s=hs();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:l,createText:o,createComment:u,setText:d,setElementText:a,parentNode:_,nextSibling:T,setScopeId:E=Ve,insertStaticContent:B}=e,I=(c,f,h,y=null,v=null,m=null,C=void 0,S=null,w=!!f.dynamicChildren)=>{if(c===f)return;c&&!Dt(c,f)&&(y=Je(c),x(c,v,m,!0),c=null),f.patchFlag===-2&&(w=!1,f.dynamicChildren=null);const{type:b,ref:P,shapeFlag:g}=f;switch(b){case bs:Z(c,f,h,y);break;case rt:H(c,f,h,y);break;case Ms:c==null&&j(f,h,y,C);break;case ie:mt(c,f,h,y,v,m,C,S,w);break;default:g&1?ee(c,f,h,y,v,m,C,S,w):g&6?bt(c,f,h,y,v,m,C,S,w):(g&64||g&128)&&b.process(c,f,h,y,v,m,C,S,w,Ie)}P!=null&&v?Ht(P,c&&c.ref,m,f||c,!f):P==null&&c&&c.ref!=null&&Ht(c.ref,null,m,c,!0)},Z=(c,f,h,y)=>{if(c==null)n(f.el=o(f.children),h,y);else{const v=f.el=c.el;f.children!==c.children&&d(v,f.children)}},H=(c,f,h,y)=>{c==null?n(f.el=u(f.children||""),h,y):f.el=c.el},j=(c,f,h,y)=>{[c.el,c.anchor]=B(c.children,f,h,y,c.el,c.anchor)},W=({el:c,anchor:f},h,y)=>{let v;for(;c&&c!==f;)v=T(c),n(c,h,y),c=v;n(f,h,y)},R=({el:c,anchor:f})=>{let h;for(;c&&c!==f;)h=T(c),i(c),c=h;i(f)},ee=(c,f,h,y,v,m,C,S,w)=>{if(f.type==="svg"?C="svg":f.type==="math"&&(C="mathml"),c==null)xe(f,h,y,v,m,C,S,w);else{const b=c.el&&c.el._isVueCE?c.el:null;try{b&&b._beginPatch(),_t(c,f,v,m,C,S,w)}finally{b&&b._endPatch()}}},xe=(c,f,h,y,v,m,C,S)=>{let w,b;const{props:P,shapeFlag:g,transition:A,dirs:D}=c;if(w=c.el=l(c.type,m,P&&P.is,P),g&8?a(w,c.children):g&16&&Se(c.children,w,null,y,v,Ps(c,m),C,S),D&&ut(c,null,y,"created"),we(w,c,c.scopeId,C,y),P){for(const G in P)G!=="value"&&!jt(G)&&r(w,G,null,P[G],m,y);"value"in P&&r(w,"value",null,P.value,m),(b=P.onVnodeBeforeMount)&&je(b,y,c)}D&&ut(c,null,y,"beforeMount");const K=Ml(v,A);K&&A.beforeEnter(w),n(w,f,h),((b=P&&P.onVnodeMounted)||K||D)&&me(()=>{try{b&&je(b,y,c),K&&A.enter(w),D&&ut(c,null,y,"mounted")}finally{}},v)},we=(c,f,h,y,v)=>{if(h&&E(c,h),y)for(let m=0;m{for(let b=w;b{const S=f.el=c.el;let{patchFlag:w,dynamicChildren:b,dirs:P}=f;w|=c.patchFlag&16;const g=c.props||Y,A=f.props||Y;let D;if(h&&ft(h,!1),(D=A.onVnodeBeforeUpdate)&&je(D,h,f,c),P&&ut(f,c,h,"beforeUpdate"),h&&ft(h,!0),b&&(!c.dynamicChildren||c.dynamicChildren.length!==b.length)&&(w=0,C=!1,b=null),(g.innerHTML&&A.innerHTML==null||g.textContent&&A.textContent==null)&&a(S,""),b?ue(c.dynamicChildren,b,S,h,y,Ps(f,v),m):C||k(c,f,S,null,h,y,Ps(f,v),m,!1),w>0){if(w&16)lt(S,g,A,h,v);else if(w&2&&g.class!==A.class&&r(S,"class",null,A.class,v),w&4&&r(S,"style",g.style,A.style,v),w&8){const K=f.dynamicProps;for(let G=0;G{D&&je(D,h,f,c),P&&ut(f,c,h,"updated")},y)},ue=(c,f,h,y,v,m,C)=>{for(let S=0;S{if(f!==h){if(f!==Y)for(const m in f)!jt(m)&&!(m in h)&&r(c,m,f[m],null,v,y);for(const m in h){if(jt(m))continue;const C=h[m],S=f[m];C!==S&&m!=="value"&&r(c,m,S,C,v,y)}"value"in h&&r(c,"value",f.value,h.value,v)}},mt=(c,f,h,y,v,m,C,S,w)=>{const b=f.el=c?c.el:o(""),P=f.anchor=c?c.anchor:o("");let{patchFlag:g,dynamicChildren:A,slotScopeIds:D}=f;D&&(S=S?S.concat(D):D),c==null?(n(b,h,y),n(P,h,y),Se(f.children||[],h,P,v,m,C,S,w)):g>0&&g&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(ue(c.dynamicChildren,A,h,v,m,C,S),(f.key!=null||v&&f===v.subTree)&&Li(c,f,!0)):k(c,f,h,P,v,m,C,S,w)},bt=(c,f,h,y,v,m,C,S,w)=>{f.slotScopeIds=S,c==null?f.shapeFlag&512?v.ctx.activate(f,h,y,C,w):Pt(f,h,y,v,m,C,w):Xt(c,f,w)},Pt=(c,f,h,y,v,m,C)=>{const S=c.component=Kl(c,y,v);if(yi(c)&&(S.ctx.renderer=Ie),Vl(S,!1,C),S.asyncDep){if(v&&v.registerDep(S,re,C),!c.el){const w=S.subTree=Ze(rt);H(null,w,f,h),c.placeholder=w.el}}else re(S,c,f,h,v,m,C)},Xt=(c,f,h)=>{const y=f.component=c.component;if(yl(c,f,h))if(y.asyncDep&&!y.asyncResolved){X(y,f,h);return}else y.next=f,y.update();else f.el=c.el,y.vnode=f},re=(c,f,h,y,v,m,C)=>{const S=()=>{if(c.isMounted){let{next:g,bu:A,u:D,parent:K,vnode:G}=c;{const Fe=Ni(c);if(Fe){g&&(g.el=G.el,X(c,g,C)),Fe.asyncDep.then(()=>{me(()=>{c.isUnmounted||b()},v)});return}}let q=g,te;ft(c,!1),g?(g.el=G.el,X(c,g,C)):g=G,A&&xs(A),(te=g.props&&g.props.onVnodeBeforeUpdate)&&je(te,K,g,G),ft(c,!0);const le=Sn(c),De=c.subTree;c.subTree=le,I(De,le,_(De.el),Je(De),c,v,m),g.el=le.el,q===null&&xl(c,le.el),D&&me(D,v),(te=g.props&&g.props.onVnodeUpdated)&&me(()=>je(te,K,g,G),v)}else{let g;const{el:A,props:D}=f,{bm:K,m:G,parent:q,root:te,type:le}=c,De=Bt(f);ft(c,!1),K&&xs(K),!De&&(g=D&&D.onVnodeBeforeMount)&&je(g,q,f),ft(c,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(le,c.parent?c.parent.type:void 0);const Fe=c.subTree=Sn(c);I(null,Fe,h,y,c,v,m),f.el=Fe.el}if(G&&me(G,v),!De&&(g=D&&D.onVnodeMounted)){const Fe=f;me(()=>je(g,q,Fe),v)}(f.shapeFlag&256||q&&Bt(q.vnode)&&q.vnode.shapeFlag&256)&&c.a&&me(c.a,v),c.isMounted=!0,f=h=y=null}};c.scope.on();const w=c.effect=new Xn(S);c.scope.off();const b=c.update=w.run.bind(w),P=c.job=w.runIfDirty.bind(w);P.i=c,P.id=c.uid,w.scheduler=()=>nn(P),ft(c,!0),b()},X=(c,f,h)=>{f.component=c;const y=c.vnode.props;c.vnode=f,c.next=null,Sl(c,f.props,y,h),Ol(c,f.children,h),ke(),_n(c),qe()},k=(c,f,h,y,v,m,C,S,w=!1)=>{const b=c&&c.children,P=c?c.shapeFlag:0,g=f.children,{patchFlag:A,shapeFlag:D}=f;if(A>0){if(A&128){ot(b,g,h,y,v,m,C,S,w);return}else if(A&256){Ee(b,g,h,y,v,m,C,S,w);return}}D&8?(P&16&&Re(b,v,m),g!==b&&a(h,g)):P&16?D&16?ot(b,g,h,y,v,m,C,S,w):Re(b,v,m,!0):(P&8&&a(h,""),D&16&&Se(g,h,y,v,m,C,S,w))},Ee=(c,f,h,y,v,m,C,S,w)=>{c=c||St,f=f||St;const b=c.length,P=f.length,g=Math.min(b,P);let A;for(A=0;AP?Re(c,v,m,!0,!1,g):Se(f,h,y,v,m,C,S,w,g)},ot=(c,f,h,y,v,m,C,S,w)=>{let b=0;const P=f.length;let g=c.length-1,A=P-1;for(;b<=g&&b<=A;){const D=c[b],K=f[b]=w?Ye(f[b]):Be(f[b]);if(Dt(D,K))I(D,K,h,null,v,m,C,S,w);else break;b++}for(;b<=g&&b<=A;){const D=c[g],K=f[A]=w?Ye(f[A]):Be(f[A]);if(Dt(D,K))I(D,K,h,null,v,m,C,S,w);else break;g--,A--}if(b>g){if(b<=A){const D=A+1,K=DA)for(;b<=g;)x(c[b],v,m,!0),b++;else{const D=b,K=b,G=new Map;for(b=K;b<=A;b++){const be=f[b]=w?Ye(f[b]):Be(f[b]);be.key!=null&&G.set(be.key,b)}let q,te=0;const le=A-K+1;let De=!1,Fe=0;const Rt=new Array(le);for(b=0;b=le){x(be,v,m,!0);continue}let $e;if(be.key!=null)$e=G.get(be.key);else for(q=K;q<=A;q++)if(Rt[q-K]===0&&Dt(be,f[q])){$e=q;break}$e===void 0?x(be,v,m,!0):(Rt[$e-K]=b+1,$e>=Fe?Fe=$e:De=!0,I(be,f[$e],h,null,v,m,C,S,w),te++)}const un=De?Rl(Rt):St;for(q=un.length-1,b=le-1;b>=0;b--){const be=K+b,$e=f[be],fn=f[be+1],an=be+1{const{el:m,type:C,transition:S,children:w,shapeFlag:b}=c;if(b&6){O(c.component.subTree,f,h,y);return}if(b&128){c.suspense.move(f,h,y);return}if(b&64){C.move(c,f,h,Ie);return}if(C===ie){n(m,f,h);for(let g=0;gS.enter(m),v));else{const{leave:g,delayLeave:A,afterLeave:D}=S,K=()=>{c.ctx.isUnmounted?i(m):n(m,f,h)},G=()=>{const q=m._isLeaving||!!m[Os];m._isLeaving&&m[Os](!0),S.persisted&&!q?K():g(m,()=>{K(),D&&D()})};A?A(m,K,G):G()}else n(m,f,h)},x=(c,f,h,y=!1,v=!1)=>{const{type:m,props:C,ref:S,children:w,dynamicChildren:b,shapeFlag:P,patchFlag:g,dirs:A,cacheIndex:D,memo:K}=c;if(g===-2&&(v=!1),S!=null&&(ke(),Ht(S,null,h,c,!0),qe()),D!=null&&(f.renderCache[D]=void 0),P&256){f.ctx.deactivate(c);return}const G=P&1&&A,q=!Bt(c);let te;if(q&&(te=C&&C.onVnodeBeforeUnmount)&&je(te,f,c),P&6)vt(c.component,h,y);else{if(P&128){c.suspense.unmount(h,y);return}G&&ut(c,null,f,"beforeUnmount"),P&64?c.type.remove(c,f,h,Ie,y):b&&!b.hasOnce&&(m!==ie||g>0&&g&64)?Re(b,f,h,!1,!0):(m===ie&&g&384||!v&&P&16)&&Re(w,f,h),y&&Ce(c)}const le=K!=null&&D==null;(q&&(te=C&&C.onVnodeUnmounted)||G||le)&&me(()=>{te&&je(te,f,c),G&&ut(c,null,f,"unmounted"),le&&(c.el=null)},h)},Ce=c=>{const{type:f,el:h,anchor:y,transition:v}=c;if(f===ie){_e(h,y);return}if(f===Ms){R(c);return}const m=()=>{i(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:C,delayLeave:S}=v,w=()=>C(h,m);S?S(c.el,m,w):w()}else m()},_e=(c,f)=>{let h;for(;c!==f;)h=T(c),i(c),c=h;i(f)},vt=(c,f,h)=>{const{bum:y,scope:v,job:m,subTree:C,um:S,m:w,a:b}=c;En(w),En(b),y&&xs(y),v.stop(),m&&(m.flags|=8,x(C,c,f,h)),S&&me(S,f),me(()=>{c.isUnmounted=!0},f)},Re=(c,f,h,y=!1,v=!1,m=0)=>{for(let C=m;C{if(c.shapeFlag&6)return Je(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=T(c.anchor||c.el),h=f&&f[qr];return h?T(h):f};let tt=!1;const ct=(c,f,h)=>{let y;c==null?f._vnode&&(x(f._vnode,null,null,!0),y=f._vnode.component):I(f._vnode||null,c,f,null,null,null,h),f._vnode=c,tt||(tt=!0,_n(y),pi(),tt=!1)},Ie={p:I,um:x,m:O,r:Ce,mt:Pt,mc:Se,pc:k,pbc:ue,n:Je,o:e};return{render:ct,hydrate:void 0,createApp:pl(ct)}}function Ps({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 ft({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ml(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Li(e,t,s=!1){const n=e.children,i=t.children;if(F(n)&&F(i))for(let r=0;r>1,e[s[o]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,l=s[r-1];r-- >0;)s[r]=l,l=t[l];return s}function Ni(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ni(t)}function En(e){if(e)for(let t=0;te.__isSuspense;function Il(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Br(e)}const ie=Symbol.for("v-fgt"),bs=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),Ms=Symbol.for("v-stc"),Ut=[];let ye=null;function L(e=!1){Ut.push(ye=e?null:[])}function Dl(){Ut.pop(),ye=Ut[Ut.length-1]||null}let qt=1;function On(e,t=!1){qt+=e,e<0&&ye&&t&&(ye.hasOnce=!0)}function Ki(e){return e.dynamicChildren=qt>0?ye||St:null,Dl(),qt>0&&ye&&ye.push(e),e}function N(e,t,s,n,i,r){return Ki(p(e,t,s,n,i,r,!0))}function Fl(e,t,s,n,i){return Ki(Ze(e,t,s,n,i,!0))}function Ui(e){return e?e.__v_isVNode===!0:!1}function Dt(e,t){return e.type===t.type&&e.key===t.key}const Vi=({key:e})=>e??null,ss=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||de(e)||$(e)?{i:Ue,r:e,k:t,f:!!s}:e:null);function p(e,t=null,s=null,n=0,i=null,r=e===ie?0:1,l=!1,o=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vi(t),ref:t&&ss(t),scopeId:_i,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ue};return o?(cs(u,s),r&128&&e.normalize(u)):s&&(u.shapeFlag|=Q(s)?8:16),qt>0&&!l&&ye&&(u.patchFlag>0||r&6)&&u.patchFlag!==32&&ye.push(u),u}const Ze=$l;function $l(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===ll)&&(e=rt),Ui(e)){const o=At(e,t,!0);return s&&cs(o,s),qt>0&&!r&&ye&&(o.shapeFlag&6?ye[ye.indexOf(e)]=o:ye.push(o)),o.patchFlag=-2,o}if(Jl(e)&&(e=e.__vccOpts),t){t=jl(t);let{class:o,style:u}=t;o&&!Q(o)&&(t.class=Ne(o)),J(u)&&(sn(u)&&!F(u)&&(u=ce({},u)),t.style=Js(u))}const l=Q(e)?1:Bi(e)?128:Jr(e)?64:J(e)?4:$(e)?2:0;return p(e,t,s,n,i,l,r,!0)}function jl(e){return e?sn(e)||Ri(e)?ce({},e):e:null}function At(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:l,children:o,transition:u}=e,d=t?Nl(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Vi(d),ref:t&&t.ref?s&&r?F(r)?r.concat(ss(t)):[r,ss(t)]:ss(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ie?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&rn(a,u.clone(a)),a}function Ll(e=" ",t=0){return Ze(bs,null,e,t)}function fe(e="",t=!1){return t?(L(),Fl(rt,null,e)):Ze(rt,null,e)}function Be(e){return e==null||typeof e=="boolean"?Ze(rt):F(e)?Ze(ie,null,e.slice()):Ui(e)?Ye(e):Ze(bs,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function cs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(F(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),cs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Ri(t)?t._ctx=Ue:i===3&&Ue&&(Ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if($(t)){if(n&65){cs(e,{default:t});return}t={default:t,_ctx:Ue},s=32}else t=String(t),n&64?(s=16,t=[Ll(t)]):s=8;e.children=t,e.shapeFlag|=s}function Nl(...e){const t={};for(let s=0;sge||Ue;let us,Us;{const e=hs(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(l=>l(r)):i[0](r)}};us=t("__VUE_INSTANCE_SETTERS__",s=>ge=s),Us=t("__VUE_SSR_SETTERS__",s=>Jt=s)}const Yt=e=>{const t=ge;return us(e),e.scope.on(),()=>{e.scope.off(),us(t)}},An=()=>{ge&&ge.scope.off(),us(null)};function Wi(e){return e.vnode.shapeFlag&4}let Jt=!1;function Vl(e,t=!1,s=!1){t&&Us(t);const{props:n,children:i}=e.vnode,r=Wi(e);wl(e,n,r,t),El(e,i,s||t);const l=r?Wl(e,t):void 0;return t&&Us(!1),l}function Wl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ol);const{setup:n}=s;if(n){ke();const i=e.setupContext=n.length>1?ql(e):null,r=Yt(e),l=zt(n,e,0,[e.props,i]),o=Vn(l);if(qe(),r(),(o||e.sp)&&!Bt(e)&&vi(e),o){if(l.then(An,An),t)return l.then(u=>{Pn(e,u)}).catch(u=>{gs(u,e,0)});e.asyncDep=l}else Pn(e,l)}else ki(e)}function Pn(e,t,s){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:J(t)&&(e.setupState=ai(t)),ki(e)}function ki(e,t,s){const n=e.type;e.render||(e.render=n.render||Ve);{const i=Yt(e);ke();try{cl(e)}finally{qe(),i()}}}const kl={get(e,t){return ae(e,"get",""),e[t]}};function ql(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,kl),slots:e.slots,emit:e.emit,expose:t}}function cn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ai(Ar(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Kt)return Kt[s](e)},has(t,s){return s in t||s in Kt}})):e.proxy}function Jl(e){return $(e)&&"__vccOpts"in e}const wt=(e,t)=>Fr(e,t,Jt),Gl="3.5.39";/** -* @vue/runtime-dom v3.5.39 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Vs;const Mn=typeof window<"u"&&window.trustedTypes;if(Mn)try{Vs=Mn.createPolicy("vue",{createHTML:e=>e})}catch{}const qi=Vs?e=>Vs.createHTML(e):e=>e,zl="http://www.w3.org/2000/svg",Yl="http://www.w3.org/1998/Math/MathML",ze=typeof document<"u"?document:null,Rn=ze&&ze.createElement("template"),Xl={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?ze.createElementNS(zl,e):t==="mathml"?ze.createElementNS(Yl,e):s?ze.createElement(e,{is:s}):ze.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>ze.createTextNode(e),createComment:e=>ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const l=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Rn.innerHTML=qi(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const o=Rn.content;if(n==="svg"||n==="mathml"){const u=o.firstChild;for(;u.firstChild;)o.appendChild(u.firstChild);o.removeChild(u)}t.insertBefore(o,s)}return[l?l.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Zl=Symbol("_vtc");function Ql(e,t,s){const n=e[Zl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const In=Symbol("_vod"),eo=Symbol("_vsh"),to=Symbol(""),so=/(?:^|;)\s*display\s*:/;function no(e,t,s){const n=e.style,i=Q(s);let r=!1;if(s&&!i){if(t)if(Q(t))for(const l of t.split(";")){const o=l.slice(0,l.indexOf(":")).trim();s[o]==null&&$t(n,o,"")}else for(const l in t)s[l]==null&&$t(n,l,"");for(const l in s){l==="display"&&(r=!0);const o=s[l];o!=null?ro(e,l,!Q(t)&&t?t[l]:void 0,o)||$t(n,l,o):$t(n,l,"")}}else if(i){if(t!==s){const l=n[to];l&&(s+=";"+l),n.cssText=s,r=so.test(s)}}else t&&e.removeAttribute("style");In in e&&(e[In]=r?n.display:"",e[eo]&&(n.display="none"))}const Dn=/\s*!important$/;function $t(e,t,s){if(F(s))s.forEach(n=>$t(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=io(e,t);Dn.test(s)?e.setProperty(gt(n),s.replace(Dn,""),"important"):e[n]=s}}const Fn=["Webkit","Moz","ms"],Rs={};function io(e,t){const s=Rs[t];if(s)return s;let n=Oe(t);if(n!=="filter"&&n in e)return Rs[t]=n;n=qn(n);for(let i=0;iIs||(ho.then(()=>Is=0),Is=Date.now());function go(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;const i=s.value;if(F(i)){const r=n.stopImmediatePropagation;n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0};const l=i.slice(),o=[n];for(let u=0;ue.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,_o=(e,t,s,n,i,r)=>{const l=i==="svg";t==="class"?Ql(e,n,l):t==="style"?no(e,s,n):fs(t)?as(t)||co(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mo(e,t,n,l))?(Ln(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&jn(e,t,n,l,r,t!=="value")):e._isVueCE&&(bo(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(n)))?Ln(e,Oe(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),jn(e,t,n,l))};function mo(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hn(t)&&$(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Hn(t)&&Q(s)?!1:t in e}function bo(e,t){const s=e._def.props;if(!s)return!1;const n=Oe(t);return Array.isArray(s)?s.some(i=>Oe(i)===n):Object.keys(s).some(i=>Oe(i)===n)}const vo=ce({patchProp:_o},Xl);let Bn;function yo(){return Bn||(Bn=Al(vo))}const xo=((...e)=>{const t=yo().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=So(n);if(!i)return;const r=t._component;!$(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const l=s(i,!1,wo(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),l},t});function wo(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function So(e){return Q(e)?document.querySelector(e):e}const Co="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",se={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",quickProfileDraft:"profiles/quick-draft",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",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`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",webManifest:"web/manifest"};class To extends Error{constructor(s,n,i={}){super(n);vs(this,"code");vs(this,"details");this.name="ApiClientError",this.code=s,this.details=i}}async function ve(e,t){return Ji(e,{method:"GET",query:t})}async function at(e,t){return Ji(e,{method:"POST",body:t})}async function Ji(e,t={}){const n=await(await fetch(Eo(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 To(n.error_code,n.message,n.details);return n.data}function Eo(e,t){const s=e.replace(/^\/+/,""),n=new URL(`${Co}/${s}`,window.location.origin);for(const[i,r]of Object.entries(t??{}))r!==void 0&&n.searchParams.set(i,String(r));return`${n.pathname}${n.search}`}const Oo={class:"web-shell"},Ao={class:"sidebar"},Po={class:"brand"},Mo={class:"workspace"},Ro={class:"topbar"},Io={class:"actions"},Do=["disabled"],Fo={key:0,class:"notice error"},$o={key:1,class:"notice"},jo={key:0,class:"dashboard-grid"},Lo={key:1,class:"list-view"},No={class:"badge"},Ho={key:0,class:"empty"},Bo={key:2,class:"split-view"},Ko={class:"list-view"},Uo={key:0,class:"empty"},Vo={class:"list-view"},Wo={class:"badge"},ko={key:0,class:"empty"},qo={key:3,class:"list-view"},Jo=["disabled"],Go={key:0,class:"empty"},zo={key:0},Yo={key:4,class:"list-view"},Xo={class:"inline-actions"},Zo=["disabled"],Qo=["disabled"],ec={class:"inline-actions"},tc={class:"badge"},sc=["onClick"],nc=["onClick"],ic={key:0,class:"empty"},rc={key:5,class:"split-view"},lc={class:"list-view"},oc=["disabled"],cc={class:"list-view"},uc={class:"badge"},fc={key:0,class:"empty"},ac={key:6,class:"settings-view"},dc={class:"toolbar"},hc=["disabled"],pc=["disabled"],gc={class:"settings-sections"},_c={class:"inspector"},mc=Gr({__name:"App",setup(e){const t=ne("dashboard"),s=ne(null),n=ne(null),i=ne(null),r=ne(null),l=ne(null),o=ne(null),u=ne(null),d=ne([]),a=ne(null),_=ne([]),T=ne([]),E=ne([]),B=ne(null),I=ne(""),Z=ne(!0),H=ne(""),j=ne(""),W=wt(()=>{var O,x;return((x=(O=i.value)==null?void 0:O.items[0])==null?void 0:x.profile_id)??""}),R=wt(()=>{var O,x;return((x=(O=i.value)==null?void 0:O.items[0])==null?void 0:x.name)??"未选择角色"}),ee=wt(()=>{var x;const O=(x=n.value)==null?void 0:x.queue;return O?O.pending+O.running+O.failed+O.dead_letter:0}),xe=wt(()=>{var O;return((O=a.value)==null?void 0:O.items.filter(x=>x.recognition_status!=="confirmed").length)??0}),we=wt(()=>({dashboard:"运行概览",profiles:"角色",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",settings:"设置"})[t.value]);wi(Se);async function Se(){var O;Z.value=!0,j.value="";try{const[x,Ce,_e,vt,Re,Je,tt,ct,Ie,Mt,c]=await Promise.all([ve(se.uiBootstrap),ve(se.dashboardSummary),ve(se.profiles,{page:1,page_size:20}),ve(se.jobs,{page:1,page_size:20}),ve(se.settingsSchema),ve(se.settingsCurrent),ve(se.storageStatus),ve(se.materialCategories),ve(se.materials,{page:1,page_size:24}),ve(se.apiDiscoveryDialects),ve(se.apiDiscoveryCapabilities)]);s.value=x,n.value=Ce,i.value=_e,r.value=vt,l.value=Re,o.value=Je,u.value=tt,d.value=ct,a.value=Ie,T.value=Mt,E.value=c,await _t((O=_e.items[0])==null?void 0:O.profile_id)}catch(x){j.value=x instanceof Error?x.message:"加载失败"}finally{Z.value=!1}}async function _t(O){if(!O){_.value=[];return}_.value=await ve(se.wardrobe(O))}async function ue(O,x,Ce=!0){H.value=O,j.value="";try{const _e=await x();I.value=`${O}完成`,O==="导出设置"&&(I.value=`导出设置完成,配置已脱敏:${!!_e.redacted}`),Ce&&await Se()}catch(_e){j.value=_e instanceof Error?_e.message:`${O}失败`}finally{H.value=""}}function lt(O){return ue("重试任务",()=>at(se.jobRetry(O)))}function mt(O){return ue("取消任务",()=>at(se.jobCancel(O)))}function bt(){return ue("转入死信",()=>at(se.jobDeadLetterMoveFailed,{limit:20}))}function Pt(){return ue("重试死信",()=>at(se.jobDeadLetterRetry,{limit:20}))}function Xt(){var x;const O=((x=T.value[0])==null?void 0:x.dialect)??"unknown";return ue("安全探测",()=>at(se.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:O,capabilities:{supports:["text_to_image"]}}))}function re(){const O=W.value;return O?ue("衣橱匹配",async()=>(B.value=await at(se.wardrobeMatch(O),{tags:["daily"]}),B.value),!1):Promise.resolve()}function X(){return ue("重载设置",async()=>{var x;const O=await at(se.settingsReload);return o.value={config_path:((x=o.value)==null?void 0:x.config_path)??"***PATH***",config:O.config},O},!1)}function k(){return ue("导出设置",()=>ve(se.settingsExport),!1)}function Ee(O=0){return O<1024?`${O} B`:O<1024*1024?`${(O/1024).toFixed(1)} KB`:O<1024*1024*1024?`${(O/1024/1024).toFixed(1)} MB`:`${(O/1024/1024/1024).toFixed(1)} GB`}function ot(O){var x,Ce;return((Ce=(x=u.value)==null?void 0:x.roots.find(_e=>_e.uri_prefix===O))==null?void 0:Ce.bytes)??0}return(O,x)=>{var Ce,_e,vt,Re,Je,tt,ct,Ie,Mt,c,f,h,y,v,m,C,S,w,b,P;return L(),N("main",Oo,[p("aside",Ao,[p("div",Po,[p("strong",null,M(((Ce=s.value)==null?void 0:Ce.display_name)??"ImageStudio"),1),p("span",null,M(((_e=s.value)==null?void 0:_e.dashboard_user)??"AstrBot"),1)]),p("nav",null,[p("button",{type:"button",class:Ne({active:t.value==="dashboard"}),onClick:x[0]||(x[0]=g=>t.value="dashboard")}," 概览 ",2),p("button",{type:"button",class:Ne({active:t.value==="profiles"}),onClick:x[1]||(x[1]=g=>t.value="profiles")}," 角色 ",2),p("button",{type:"button",class:Ne({active:t.value==="materials"}),onClick:x[2]||(x[2]=g=>t.value="materials")}," 素材 ",2),p("button",{type:"button",class:Ne({active:t.value==="wardrobe"}),onClick:x[3]||(x[3]=g=>t.value="wardrobe")}," 衣橱 ",2),p("button",{type:"button",class:Ne({active:t.value==="jobs"}),onClick:x[4]||(x[4]=g=>t.value="jobs")}," 队列 ",2),p("button",{type:"button",class:Ne({active:t.value==="discovery"}),onClick:x[5]||(x[5]=g=>t.value="discovery")}," 探测 ",2),p("button",{type:"button",class:Ne({active:t.value==="settings"}),onClick:x[6]||(x[6]=g=>t.value="settings")}," 设置 ",2)])]),p("section",Mo,[p("header",Ro,[p("div",null,[p("h1",null,M(we.value),1),p("p",null,M(((vt=n.value)==null?void 0:vt.plugin_status)??"loading")+" · "+M(I.value||"等待操作"),1)]),p("div",Io,[p("button",{type:"button",disabled:!!H.value,onClick:Se},M(H.value||"刷新"),9,Do)])]),j.value?(L(),N("section",Fo,M(j.value),1)):Z.value?(L(),N("section",$o,"加载中...")):(L(),N(ie,{key:2},[t.value==="dashboard"?(L(),N("section",jo,[p("article",null,[x[7]||(x[7]=p("span",null,"角色",-1)),p("strong",null,M(((Re=n.value)==null?void 0:Re.active_profiles)??0),1)]),p("article",null,[x[8]||(x[8]=p("span",null,"队列",-1)),p("strong",null,M(ee.value),1)]),p("article",null,[x[9]||(x[9]=p("span",null,"素材",-1)),p("strong",null,M(((Je=a.value)==null?void 0:Je.total)??0),1)]),p("article",null,[x[10]||(x[10]=p("span",null,"存储",-1)),p("strong",null,M(Ee(((tt=u.value)==null?void 0:tt.total_bytes)??((ct=n.value)==null?void 0:ct.storage.total_bytes))),1)])])):fe("",!0),t.value==="profiles"?(L(),N("section",Lo,[p("header",null,[x[11]||(x[11]=p("h2",null,"角色列表",-1)),p("span",null,M(((Ie=i.value)==null?void 0:Ie.total)??0),1)]),p("ul",null,[(L(!0),N(ie,null,st(((Mt=i.value)==null?void 0:Mt.items)??[],g=>(L(),N("li",{key:g.profile_id},[p("div",null,[p("strong",null,M(g.name),1),p("small",null,M(g.profile_id),1)]),p("span",No,M(g.status),1)]))),128)),(c=i.value)!=null&&c.items.length?fe("",!0):(L(),N("li",Ho,"暂无角色"))])])):fe("",!0),t.value==="materials"?(L(),N("section",Bo,[p("div",Ko,[p("header",null,[x[12]||(x[12]=p("h2",null,"素材分类",-1)),p("span",null,M(d.value.length),1)]),p("ul",null,[(L(!0),N(ie,null,st(d.value,g=>(L(),N("li",{key:g.category_id},[p("div",null,[p("strong",null,M(g.name),1),p("small",null,M(g.category_type),1)]),p("span",null,M(g.sort_order),1)]))),128)),d.value.length?fe("",!0):(L(),N("li",Uo,"暂无分类"))])]),p("div",Vo,[p("header",null,[x[13]||(x[13]=p("h2",null,"素材条目",-1)),p("span",null,M(xe.value)+" 待确认",1)]),p("ul",null,[(L(!0),N(ie,null,st(((f=a.value)==null?void 0:f.items)??[],g=>(L(),N("li",{key:g.material_id},[p("div",null,[p("strong",null,M(g.display_name),1),p("small",null,M(g.image_uri??"未绑定图片"),1)]),p("span",Wo,M(g.recognition_status),1)]))),128)),(h=a.value)!=null&&h.items.length?fe("",!0):(L(),N("li",ko,"暂无素材"))])])])):fe("",!0),t.value==="wardrobe"?(L(),N("section",qo,[p("header",null,[p("h2",null,M(R.value),1),p("button",{type:"button",disabled:!W.value||!!H.value,onClick:re}," 匹配 ",8,Jo)]),p("ul",null,[(L(!0),N(ie,null,st(_.value,g=>(L(),N("li",{key:g.wardrobe_item_id},[p("div",null,[p("strong",null,M(g.wardrobe_category),1),p("small",null,M(g.material_id)+" · "+M(g.tags.join(", ")||"无标签"),1)]),p("span",null,M(g.usage_count),1)]))),128)),_.value.length?fe("",!0):(L(),N("li",Go,"暂无衣橱条目"))]),B.value?(L(),N("pre",zo,M(JSON.stringify(B.value,null,2)),1)):fe("",!0)])):fe("",!0),t.value==="jobs"?(L(),N("section",Yo,[p("header",null,[x[14]||(x[14]=p("h2",null,"任务队列",-1)),p("div",Xo,[p("button",{type:"button",disabled:!!H.value,onClick:bt},"失败转死信",8,Zo),p("button",{type:"button",disabled:!!H.value,onClick:Pt},"重试死信",8,Qo)])]),p("ul",null,[(L(!0),N(ie,null,st(((y=r.value)==null?void 0:y.items)??[],g=>(L(),N("li",{key:g.task_id},[p("div",null,[p("strong",null,M(g.task_id),1),p("small",null,M(g.task_type)+" · "+M(g.progress)+"%",1)]),p("div",ec,[p("span",tc,M(g.status),1),g.status==="failed"?(L(),N("button",{key:0,type:"button",onClick:A=>lt(g.task_id)},"重试",8,sc)):fe("",!0),g.status==="pending"?(L(),N("button",{key:1,type:"button",onClick:A=>mt(g.task_id)},"取消",8,nc)):fe("",!0)])]))),128)),(v=r.value)!=null&&v.items.length?fe("",!0):(L(),N("li",ic,"暂无任务"))])])):fe("",!0),t.value==="discovery"?(L(),N("section",rc,[p("div",lc,[p("header",null,[x[15]||(x[15]=p("h2",null,"协议方言",-1)),p("button",{type:"button",disabled:!!H.value,onClick:Xt},"安全探测",8,oc)]),p("ul",null,[(L(!0),N(ie,null,st(T.value,g=>(L(),N("li",{key:g.dialect},[p("div",null,[p("strong",null,M(g.label),1),p("small",null,M(g.capabilities.join(", ")||"待确认"),1)]),p("span",null,M(g.dialect),1)]))),128))])]),p("div",cc,[p("header",null,[x[16]||(x[16]=p("h2",null,"能力档案",-1)),p("span",null,M(E.value.length),1)]),p("ul",null,[(L(!0),N(ie,null,st(E.value,g=>(L(),N("li",{key:g.capability_profile_id},[p("div",null,[p("strong",null,M(g.provider_id)+" / "+M(g.model_id),1),p("small",null,M(g.dialect),1)]),p("span",uc,M(g.status),1)]))),128)),E.value.length?fe("",!0):(L(),N("li",fc,"暂无能力档案"))])])])):fe("",!0),t.value==="settings"?(L(),N("section",ac,[p("div",dc,[p("button",{type:"button",disabled:!!H.value,onClick:X},"重载",8,hc),p("button",{type:"button",disabled:!!H.value,onClick:k},"导出脱敏配置",8,pc)]),p("div",gc,[(L(!0),N(ie,null,st(((m=l.value)==null?void 0:m.sections)??[],g=>(L(),N("article",{key:g.key},[p("h2",null,M(g.title),1),p("span",null,M(g.fields.length)+" 项",1)]))),128))]),p("pre",null,M(JSON.stringify(((C=o.value)==null?void 0:C.config)??{},null,2)),1)])):fe("",!0)],64))]),p("aside",_c,[x[23]||(x[23]=p("h2",null,"运行",-1)),p("dl",null,[p("div",null,[x[17]||(x[17]=p("dt",null,"Pending",-1)),p("dd",null,M(((S=n.value)==null?void 0:S.queue.pending)??0),1)]),p("div",null,[x[18]||(x[18]=p("dt",null,"Running",-1)),p("dd",null,M(((w=n.value)==null?void 0:w.queue.running)??0),1)]),p("div",null,[x[19]||(x[19]=p("dt",null,"Failed",-1)),p("dd",null,M(((b=n.value)==null?void 0:b.queue.failed)??0),1)]),p("div",null,[x[20]||(x[20]=p("dt",null,"Dead",-1)),p("dd",null,M(((P=n.value)==null?void 0:P.queue.dead_letter)??0),1)])]),x[24]||(x[24]=p("h2",null,"存储",-1)),p("dl",null,[p("div",null,[x[21]||(x[21]=p("dt",null,"Images",-1)),p("dd",null,M(Ee(ot("storage://images/"))),1)]),p("div",null,[x[22]||(x[22]=p("dt",null,"Materials",-1)),p("dd",null,M(Ee(ot("storage://materials/"))),1)])])])])}}}),bc=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},vc=bc(mc,[["__scopeId","data-v-b270185f"]]);xo(vc).mount("#app"); diff --git a/web/assets/index-Ds4SgEOP.css b/web/assets/index-Ds4SgEOP.css deleted file mode 100644 index 843b1be..0000000 --- a/web/assets/index-Ds4SgEOP.css +++ /dev/null @@ -1 +0,0 @@ -.web-shell[data-v-b270185f]{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-b270185f],.inspector[data-v-b270185f]{background:#fff}.sidebar[data-v-b270185f]{border-right:1px solid #d9e0e8;padding:20px}.inspector[data-v-b270185f]{border-left:1px solid #d9e0e8;padding:20px}.brand[data-v-b270185f]{display:grid;gap:4px;margin-bottom:24px}.brand strong[data-v-b270185f]{font-size:19px}.brand span[data-v-b270185f],p[data-v-b270185f],dt[data-v-b270185f],.empty[data-v-b270185f],small[data-v-b270185f]{color:#667085}nav[data-v-b270185f]{display:grid;gap:6px}button[data-v-b270185f]{min-height:36px;border:1px solid #c7d0da;border-radius:6px;color:#1b2430;background:#fff;font:inherit;text-align:center;cursor:pointer}button[data-v-b270185f]:disabled{cursor:wait;opacity:.62}nav button[data-v-b270185f]{border-color:transparent;background:transparent;text-align:left;padding:0 10px}button.active[data-v-b270185f]{border-color:#b8d8cf;color:#164f43;background:#e5f4ef}.workspace[data-v-b270185f]{min-width:0;padding:24px}.topbar[data-v-b270185f],.list-view header[data-v-b270185f],.toolbar[data-v-b270185f],.inline-actions[data-v-b270185f]{display:flex;gap:12px;align-items:center}.topbar[data-v-b270185f],.list-view header[data-v-b270185f]{justify-content:space-between}.actions[data-v-b270185f],.inline-actions[data-v-b270185f]{flex-wrap:wrap;justify-content:flex-end}.topbar button[data-v-b270185f],.toolbar button[data-v-b270185f],.list-view header button[data-v-b270185f],.inline-actions button[data-v-b270185f]{padding:0 14px}h1[data-v-b270185f],h2[data-v-b270185f],p[data-v-b270185f],dl[data-v-b270185f],dd[data-v-b270185f]{margin:0}h1[data-v-b270185f]{min-height:30px;font-size:26px}h2[data-v-b270185f]{font-size:15px}.notice[data-v-b270185f],article[data-v-b270185f],.list-view[data-v-b270185f],pre[data-v-b270185f]{border:1px solid #d9e0e8;border-radius:8px;background:#fff}.notice[data-v-b270185f]{margin-top:18px;padding:14px}.error[data-v-b270185f]{border-color:#f0b4b4;color:#8a1f1f;background:#fff7f7}.dashboard-grid[data-v-b270185f],.split-view[data-v-b270185f]{display:grid;gap:12px;margin-top:18px}.dashboard-grid[data-v-b270185f]{grid-template-columns:repeat(4,minmax(130px,1fr))}.split-view[data-v-b270185f]{grid-template-columns:repeat(2,minmax(0,1fr))}article[data-v-b270185f]{display:grid;gap:8px;padding:16px}article span[data-v-b270185f]{color:#667085;font-size:13px}article strong[data-v-b270185f]{font-size:24px}.list-view[data-v-b270185f],.settings-view[data-v-b270185f]{margin-top:18px}.split-view .list-view[data-v-b270185f]{margin-top:0}.list-view[data-v-b270185f]{padding:16px}ul[data-v-b270185f]{display:grid;gap:10px;margin:14px 0 0;padding:0;list-style:none}li[data-v-b270185f]{display:flex;justify-content:space-between;gap:12px;min-width:0;padding:10px 0;border-top:1px solid #eef1f5}li[data-v-b270185f]:first-child{border-top:0}li>div[data-v-b270185f]{display:grid;gap:3px;min-width:0}li strong[data-v-b270185f],li span[data-v-b270185f],li small[data-v-b270185f]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.badge[data-v-b270185f]{align-self:center;max-width:180px;border-radius:999px;padding:4px 9px;color:#1f4d62;background:#e5f1f7;font-size:12px}.toolbar[data-v-b270185f]{justify-content:flex-start;margin:18px 0 12px}.settings-sections[data-v-b270185f]{display:grid;grid-template-columns:repeat(3,minmax(120px,1fr));gap:12px}pre[data-v-b270185f]{overflow:auto;max-height:420px;margin:12px 0 0;padding:14px;font-size:12px;line-height:1.5}dl[data-v-b270185f]{display:grid;gap:12px;margin:14px 0 24px}dl div[data-v-b270185f]{display:flex;justify-content:space-between}@media(max-width:1160px){.web-shell[data-v-b270185f]{grid-template-columns:190px minmax(0,1fr)}.inspector[data-v-b270185f]{display:none}}@media(max-width:820px){.web-shell[data-v-b270185f]{grid-template-columns:1fr}.sidebar[data-v-b270185f]{border-right:0;border-bottom:1px solid #d9e0e8}nav[data-v-b270185f]{grid-template-columns:repeat(4,minmax(0,1fr))}nav button[data-v-b270185f]{text-align:center}.dashboard-grid[data-v-b270185f],.split-view[data-v-b270185f],.settings-sections[data-v-b270185f]{grid-template-columns:1fr}.topbar[data-v-b270185f],.list-view header[data-v-b270185f]{align-items:flex-start;flex-direction:column}} diff --git a/web/index.html b/web/index.html index b651460..f2fcee7 100644 --- a/web/index.html +++ b/web/index.html @@ -1,3 +1,3 @@ - - + +