astrbot_plugin_imagestudio/web/assets/index-BQ7BbeZ6.js

17 行
140 KiB
JavaScript

var jr=Object.defineProperty;var Wr=(e,t,n)=>t in e?jr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var _n=(e,t,n)=>Wr(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))o(s);new MutationObserver(s=>{for(const a of s)if(a.type==="childList")for(const d of a.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&o(d)}).observe(document,{childList:!0,subtree:!0});function n(s){const a={};return s.integrity&&(a.integrity=s.integrity),s.referrerPolicy&&(a.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?a.credentials="include":s.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function o(s){if(s.ep)return;s.ep=!0;const a=n(s);fetch(s.href,a)}})();/**
* @vue/shared v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Fn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},qt=[],dt=()=>{},ds=()=>!1,Gl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Yl=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Nn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hr=Object.prototype.hasOwnProperty,ve=(e,t)=>Hr.call(e,t),q=Array.isArray,zt=e=>yl(e)==="[object Map]",Ql=e=>yl(e)==="[object Set]",Ao=e=>yl(e)==="[object Date]",Y=e=>typeof e=="function",xe=e=>typeof e=="string",ct=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",cs=e=>(ge(e)||Y(e))&&Y(e.then)&&Y(e.catch),fs=Object.prototype.toString,yl=e=>fs.call(e),Kr=e=>yl(e).slice(8,-1),ps=e=>yl(e)==="[object Object]",jn=e=>xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rl=Fn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xl=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Jr=/-\w/g,Qe=Xl(e=>e.replace(Jr,t=>t.slice(1).toUpperCase())),qr=/\B([A-Z])/g,Nt=Xl(e=>e.replace(qr,"-$1").toLowerCase()),vs=Xl(e=>e.charAt(0).toUpperCase()+e.slice(1)),hn=Xl(e=>e?`on${vs(e)}`:""),ut=(e,t)=>!Object.is(e,t),Vl=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},gs=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},Zl=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Uo;const en=()=>Uo||(Uo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wn(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],s=xe(o)?Qr(o):Wn(o);if(s)for(const a in s)t[a]=s[a]}return t}else if(xe(e)||ge(e))return e}const zr=/;(?![^(]*\))/g,Gr=/:([^]+)/,Yr=/\/\*[^]*?\*\//g;function Qr(e){const t={};return e.replace(Yr,"").split(zr).forEach(n=>{if(n){const o=n.split(Gr);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function tn(e){let t="";if(xe(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const o=tn(e[n]);o&&(t+=o+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Xr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zr=Fn(Xr);function _s(e){return!!e||e===""}function ea(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=bl(e[o],t[o]);return n}function bl(e,t){if(e===t)return!0;let n=Ao(e),o=Ao(t);if(n||o)return n&&o?e.getTime()===t.getTime():!1;if(n=ct(e),o=ct(t),n||o)return e===t;if(n=q(e),o=q(t),n||o)return n&&o?ea(e,t):!1;if(n=ge(e),o=ge(t),n||o){if(!n||!o)return!1;const s=Object.keys(e).length,a=Object.keys(t).length;if(s!==a)return!1;for(const d in e){const p=e.hasOwnProperty(d),v=t.hasOwnProperty(d);if(p&&!v||!p&&v||!bl(e[d],t[d]))return!1}}return String(e)===String(t)}function ta(e,t){return e.findIndex(n=>bl(n,t))}const hs=e=>!!(e&&e.__v_isRef===!0),r=e=>xe(e)?e:e==null?"":q(e)||ge(e)&&(e.toString===fs||!Y(e.toString))?hs(e)?r(e.value):JSON.stringify(e,ms,2):String(e),ms=(e,t)=>hs(t)?ms(e,t.value):zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s],a)=>(n[mn(o,a)+" =>"]=s,n),{})}:Ql(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>mn(n))}:ct(t)?mn(t):ge(t)&&!q(t)&&!ps(t)?String(t):t,mn=(e,t="")=>{var n;return ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ie;class la{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&&Ie&&(Ie.active?(this.parent=Ie,this.index=(Ie.scopes||(Ie.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ie;try{return Ie=this,t()}finally{Ie=n}}}on(){++this._on===1&&(this.prevScope=Ie,Ie=this)}off(){if(this._on>0&&--this._on===0){if(Ie===this)Ie=this.prevScope;else{let t=Ie;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,o;for(n=0,o=this.effects.length;n<o;n++)this.effects[n].stop();for(this.effects.length=0,n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function na(){return Ie}let he;const yn=new WeakSet;class ys{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ie&&(Ie.active?Ie.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,yn.has(this)&&(yn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ws(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Mo(this),ks(this);const t=he,n=Xe;he=this,Xe=!0;try{return this.fn()}finally{Cs(this),he=t,Xe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Jn(t);this.deps=this.depsTail=void 0,Mo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?yn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){En(this)&&this.run()}get dirty(){return En(this)}}let bs=0,al,ul;function ws(e,t=!1){if(e.flags|=8,t){e.next=ul,ul=e;return}e.next=al,al=e}function Hn(){bs++}function Kn(){if(--bs>0)return;if(ul){let t=ul;for(ul=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;al;){let t=al;for(al=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(o){e||(e=o)}t=n}}if(e)throw e}function ks(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Cs(e){let t,n=e.depsTail,o=n;for(;o;){const s=o.prevDep;o.version===-1?(o===n&&(n=s),Jn(o),oa(o)):t=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=s}e.deps=t,e.depsTail=n}function En(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(xs(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function xs(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===vl)||(e.globalVersion=vl,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!En(e))))return;e.flags|=2;const t=e.dep,n=he,o=Xe;he=e,Xe=!0;try{ks(e);const s=e.fn(e._value);(t.version===0||ut(s,e._value))&&(e.flags|=128,e._value=s,t.version++)}catch(s){throw t.version++,s}finally{he=n,Xe=o,Cs(e),e.flags&=-3}}function Jn(e,t=!1){const{dep:n,prevSub:o,nextSub:s}=e;if(o&&(o.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=o,e.nextSub=void 0),n.subs===e&&(n.subs=o,!o&&n.computed)){n.computed.flags&=-5;for(let a=n.computed.deps;a;a=a.nextDep)Jn(a,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function oa(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xe=!0;const Ss=[];function ft(){Ss.push(Xe),Xe=!1}function pt(){const e=Ss.pop();Xe=e===void 0?!0:e}function Mo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let vl=0;class sa{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class qn{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(!he||!Xe||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new sa(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Ps(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const o=n.nextDep;o.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=o),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=o)}return n}trigger(t){this.version++,vl++,this.notify(t)}notify(t){Hn();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Kn()}}}function Ps(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let o=t.deps;o;o=o.nextDep)Ps(o)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Tn=new WeakMap,Lt=Symbol(""),On=Symbol(""),gl=Symbol("");function Oe(e,t,n){if(Xe&&he){let o=Tn.get(e);o||Tn.set(e,o=new Map);let s=o.get(n);s||(o.set(n,s=new qn),s.map=o,s.key=n),s.track()}}function xt(e,t,n,o,s,a){const d=Tn.get(e);if(!d){vl++;return}const p=v=>{v&&v.trigger()};if(Hn(),t==="clear")d.forEach(p);else{const v=q(e),h=v&&jn(n);if(v&&n==="length"){const _=Number(o);d.forEach((w,R)=>{(R==="length"||R===gl||!ct(R)&&R>=_)&&p(w)})}else switch((n!==void 0||d.has(void 0))&&p(d.get(n)),h&&p(d.get(gl)),t){case"add":v?h&&p(d.get("length")):(p(d.get(Lt)),zt(e)&&p(d.get(On)));break;case"delete":v||(p(d.get(Lt)),zt(e)&&p(d.get(On)));break;case"set":zt(e)&&p(d.get(Lt));break}}Kn()}function Kt(e){const t=pe(e);return t===e?t:(Oe(t,"iterate",gl),ze(e)?t:t.map(Ze))}function ln(e){return Oe(e=pe(e),"iterate",gl),e}function rt(e,t){return Dt(e)?Xt(Ft(e)?Ze(t):t):Ze(t)}const ia={__proto__:null,[Symbol.iterator](){return bn(this,Symbol.iterator,e=>rt(this,e))},concat(...e){return Kt(this).concat(...e.map(t=>q(t)?Kt(t):t))},entries(){return bn(this,"entries",e=>(e[1]=rt(this,e[1]),e))},every(e,t){return yt(this,"every",e,t,void 0,arguments)},filter(e,t){return yt(this,"filter",e,t,n=>n.map(o=>rt(this,o)),arguments)},find(e,t){return yt(this,"find",e,t,n=>rt(this,n),arguments)},findIndex(e,t){return yt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return yt(this,"findLast",e,t,n=>rt(this,n),arguments)},findLastIndex(e,t){return yt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return yt(this,"forEach",e,t,void 0,arguments)},includes(...e){return wn(this,"includes",e)},indexOf(...e){return wn(this,"indexOf",e)},join(e){return Kt(this).join(e)},lastIndexOf(...e){return wn(this,"lastIndexOf",e)},map(e,t){return yt(this,"map",e,t,void 0,arguments)},pop(){return nl(this,"pop")},push(...e){return nl(this,"push",e)},reduce(e,...t){return Ro(this,"reduce",e,t)},reduceRight(e,...t){return Ro(this,"reduceRight",e,t)},shift(){return nl(this,"shift")},some(e,t){return yt(this,"some",e,t,void 0,arguments)},splice(...e){return nl(this,"splice",e)},toReversed(){return Kt(this).toReversed()},toSorted(e){return Kt(this).toSorted(e)},toSpliced(...e){return Kt(this).toSpliced(...e)},unshift(...e){return nl(this,"unshift",e)},values(){return bn(this,"values",e=>rt(this,e))}};function bn(e,t,n){const o=ln(e),s=o[t]();return o!==e&&!ze(e)&&(s._next=s.next,s.next=()=>{const a=s._next();return a.done||(a.value=n(a.value)),a}),s}const ra=Array.prototype;function yt(e,t,n,o,s,a){const d=ln(e),p=d!==e&&!ze(e),v=d[t];if(v!==ra[t]){const w=v.apply(e,a);return p?Ze(w):w}let h=n;d!==e&&(p?h=function(w,R){return n.call(this,rt(e,w),R,e)}:n.length>2&&(h=function(w,R){return n.call(this,w,R,e)}));const _=v.call(d,h,o);return p&&s?s(_):_}function Ro(e,t,n,o){const s=ln(e),a=s!==e&&!ze(e);let d=n,p=!1;s!==e&&(a?(p=o.length===0,d=function(h,_,w){return p&&(p=!1,h=rt(e,h)),n.call(this,h,rt(e,_),w,e)}):n.length>3&&(d=function(h,_,w){return n.call(this,h,_,w,e)}));const v=s[t](d,...o);return p?rt(e,v):v}function wn(e,t,n){const o=pe(e);Oe(o,"iterate",gl);const s=o[t](...n);return(s===-1||s===!1)&&Qn(n[0])?(n[0]=pe(n[0]),o[t](...n)):s}function nl(e,t,n=[]){ft(),Hn();const o=pe(e)[t].apply(e,n);return Kn(),pt(),o}const aa=Fn("__proto__,__v_isRef,__isVue"),Ds=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ct));function ua(e){ct(e)||(e=String(e));const t=pe(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class Is{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){if(n==="__v_skip")return t.__v_skip;const s=this._isReadonly,a=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return a;if(n==="__v_raw")return o===(s?a?ya:As:a?Os:Ts).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const d=q(t);if(!s){let v;if(d&&(v=ia[n]))return v;if(n==="hasOwnProperty")return ua}const p=Reflect.get(t,n,Ae(t)?t:o);if((ct(n)?Ds.has(n):aa(n))||(s||Oe(t,"get",n),a))return p;if(Ae(p)){const v=d&&jn(n)?p:p.value;return s&&ge(v)?Un(v):v}return ge(p)?s?Un(p):Gn(p):p}}class Es extends Is{constructor(t=!1){super(!1,t)}set(t,n,o,s){let a=t[n];const d=q(t)&&jn(n);if(!this._isShallow){const h=Dt(a);if(!ze(o)&&!Dt(o)&&(a=pe(a),o=pe(o)),!d&&Ae(a)&&!Ae(o))return h||(a.value=o),!0}const p=d?Number(n)<t.length:ve(t,n),v=Reflect.set(t,n,o,Ae(t)?t:s);return t===pe(s)&&v&&(p?ut(o,a)&&xt(t,"set",n,o):xt(t,"add",n,o)),v}deleteProperty(t,n){const o=ve(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&o&&xt(t,"delete",n,void 0),s}has(t,n){const o=Reflect.has(t,n);return(!ct(n)||!Ds.has(n))&&Oe(t,"has",n),o}ownKeys(t){return Oe(t,"iterate",q(t)?"length":Lt),Reflect.ownKeys(t)}}class da extends Is{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ca=new Es,fa=new da,pa=new Es(!0);const An=e=>e,Ml=e=>Reflect.getPrototypeOf(e);function va(e,t,n){return function(...o){const s=this.__v_raw,a=pe(s),d=zt(a),p=e==="entries"||e===Symbol.iterator&&d,v=e==="keys"&&d,h=s[e](...o),_=n?An:t?Xt:Ze;return!t&&Oe(a,"iterate",v?On:Lt),Ee(Object.create(h),{next(){const{value:w,done:R}=h.next();return R?{value:w,done:R}:{value:p?[_(w[0]),_(w[1])]:_(w),done:R}}})}}function Rl(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ga(e,t){const n={get(s){const a=this.__v_raw,d=pe(a),p=pe(s);e||(ut(s,p)&&Oe(d,"get",s),Oe(d,"get",p));const{has:v}=Ml(d),h=t?An:e?Xt:Ze;if(v.call(d,s))return h(a.get(s));if(v.call(d,p))return h(a.get(p));a!==d&&a.get(s)},get size(){const s=this.__v_raw;return!e&&Oe(pe(s),"iterate",Lt),s.size},has(s){const a=this.__v_raw,d=pe(a),p=pe(s);return e||(ut(s,p)&&Oe(d,"has",s),Oe(d,"has",p)),s===p?a.has(s):a.has(s)||a.has(p)},forEach(s,a){const d=this,p=d.__v_raw,v=pe(p),h=t?An:e?Xt:Ze;return!e&&Oe(v,"iterate",Lt),p.forEach((_,w)=>s.call(a,h(_),h(w),d))}};return Ee(n,e?{add:Rl("add"),set:Rl("set"),delete:Rl("delete"),clear:Rl("clear")}:{add(s){const a=pe(this),d=Ml(a),p=pe(s),v=!t&&!ze(s)&&!Dt(s)?p:s;return d.has.call(a,v)||ut(s,v)&&d.has.call(a,s)||ut(p,v)&&d.has.call(a,p)||(a.add(v),xt(a,"add",v,v)),this},set(s,a){!t&&!ze(a)&&!Dt(a)&&(a=pe(a));const d=pe(this),{has:p,get:v}=Ml(d);let h=p.call(d,s);h||(s=pe(s),h=p.call(d,s));const _=v.call(d,s);return d.set(s,a),h?ut(a,_)&&xt(d,"set",s,a):xt(d,"add",s,a),this},delete(s){const a=pe(this),{has:d,get:p}=Ml(a);let v=d.call(a,s);v||(s=pe(s),v=d.call(a,s)),p&&p.call(a,s);const h=a.delete(s);return v&&xt(a,"delete",s,void 0),h},clear(){const s=pe(this),a=s.size!==0,d=s.clear();return a&&xt(s,"clear",void 0,void 0),d}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=va(s,e,t)}),n}function zn(e,t){const n=ga(e,t);return(o,s,a)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(ve(n,s)&&s in o?n:o,s,a)}const _a={get:zn(!1,!1)},ha={get:zn(!1,!0)},ma={get:zn(!0,!1)};const Ts=new WeakMap,Os=new WeakMap,As=new WeakMap,ya=new WeakMap;function ba(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gn(e){return Dt(e)?e:Yn(e,!1,ca,_a,Ts)}function wa(e){return Yn(e,!1,pa,ha,Os)}function Un(e){return Yn(e,!0,fa,ma,As)}function Yn(e,t,n,o,s){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const a=s.get(e);if(a)return a;const d=ba(Kr(e));if(d===0)return e;const p=new Proxy(e,d===2?o:n);return s.set(e,p),p}function Ft(e){return Dt(e)?Ft(e.__v_raw):!!(e&&e.__v_isReactive)}function Dt(e){return!!(e&&e.__v_isReadonly)}function ze(e){return!!(e&&e.__v_isShallow)}function Qn(e){return e?!!e.__v_raw:!1}function pe(e){const t=e&&e.__v_raw;return t?pe(t):e}function ka(e){return!ve(e,"__v_skip")&&Object.isExtensible(e)&&gs(e,"__v_skip",!0),e}const Ze=e=>ge(e)?Gn(e):e,Xt=e=>ge(e)?Un(e):e;function Ae(e){return e?e.__v_isRef===!0:!1}function $(e){return Ca(e,!1)}function Ca(e,t){return Ae(e)?e:new xa(e,t)}class xa{constructor(t,n){this.dep=new qn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:pe(t),this._value=n?t:Ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,o=this.__v_isShallow||ze(t)||Dt(t);t=o?t:pe(t),ut(t,n)&&(this._rawValue=t,this._value=o?t:Ze(t),this.dep.trigger())}}function Sa(e){return Ae(e)?e.value:e}const Pa={get:(e,t,n)=>t==="__v_raw"?e:Sa(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return Ae(s)&&!Ae(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function Us(e){return Ft(e)?e:new Proxy(e,Pa)}class Da{constructor(t,n,o){this.fn=t,this.setter=n,this._value=void 0,this.dep=new qn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=vl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return ws(this,!0),!0}get value(){const t=this.dep.track();return xs(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ia(e,t,n=!1){let o,s;return Y(e)?o=e:(o=e.get,s=e.set),new Da(o,s,n)}const $l={},Fl=new WeakMap;let Vt;function Ea(e,t=!1,n=Vt){if(n){let o=Fl.get(n);o||Fl.set(n,o=[]),o.push(e)}}function Ta(e,t,n=_e){const{immediate:o,deep:s,once:a,scheduler:d,augmentJob:p,call:v}=n,h=j=>s?j:ze(j)||s===!1||s===0?St(j,1):St(j);let _,w,R,L,ne=!1,W=!1;if(Ae(e)?(w=()=>e.value,ne=ze(e)):Ft(e)?(w=()=>h(e),ne=!0):q(e)?(W=!0,ne=e.some(j=>Ft(j)||ze(j)),w=()=>e.map(j=>{if(Ae(j))return j.value;if(Ft(j))return h(j);if(Y(j))return v?v(j,2):j()})):Y(e)?t?w=v?()=>v(e,2):e:w=()=>{if(R){ft();try{R()}finally{pt()}}const j=Vt;Vt=_;try{return v?v(e,3,[L]):e(L)}finally{Vt=j}}:w=dt,t&&s){const j=w,we=s===!0?1/0:s;w=()=>St(j(),we)}const se=na(),ue=()=>{_.stop(),se&&se.active&&Nn(se.effects,_)};if(a&&t){const j=t;t=(...we)=>{const ke=j(...we);return ue(),ke}}let ee=W?new Array(e.length).fill($l):$l;const de=j=>{if(!(!(_.flags&1)||!_.dirty&&!j))if(t){const we=_.run();if(j||s||ne||(W?we.some((ke,Be)=>ut(ke,ee[Be])):ut(we,ee))){R&&R();const ke=Vt;Vt=_;try{const Be=[we,ee===$l?void 0:W&&ee[0]===$l?[]:ee,L];ee=we,v?v(t,3,Be):t(...Be)}finally{Vt=ke}}}else _.run()};return p&&p(de),_=new ys(w),_.scheduler=d?()=>d(de,!1):de,L=j=>Ea(j,!1,_),R=_.onStop=()=>{const j=Fl.get(_);if(j){if(v)v(j,4);else for(const we of j)we();Fl.delete(_)}},t?o?de(!0):ee=_.run():d?d(de.bind(null,!0),!0):_.run(),ue.pause=_.pause.bind(_),ue.resume=_.resume.bind(_),ue.stop=ue,ue}function St(e,t=1/0,n){if(t<=0||!ge(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Ae(e))St(e.value,t,n);else if(q(e))for(let o=0;o<e.length;o++)St(e[o],t,n);else if(Ql(e)||zt(e))e.forEach(o=>{St(o,t,n)});else if(ps(e)){for(const o in e)St(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&St(e[o],t,n)}return e}/**
* @vue/runtime-core v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function wl(e,t,n,o){try{return o?e(...o):e()}catch(s){nn(s,t,n)}}function et(e,t,n,o){if(Y(e)){const s=wl(e,t,n,o);return s&&cs(s)&&s.catch(a=>{nn(a,t,n)}),s}if(q(e)){const s=[];for(let a=0;a<e.length;a++)s.push(et(e[a],t,n,o));return s}}function nn(e,t,n,o=!0){const s=t?t.vnode:null,{errorHandler:a,throwUnhandledErrorInProduction:d}=t&&t.appContext.config||_e;if(t){let p=t.parent;const v=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;p;){const _=p.ec;if(_){for(let w=0;w<_.length;w++)if(_[w](e,v,h)===!1)return}p=p.parent}if(a){ft(),wl(a,null,10,[e,v,h]),pt();return}}Oa(e,n,s,o,d)}function Oa(e,t,n,o=!0,s=!1){if(s)throw e;console.error(e)}const $e=[];let st=-1;const Gt=[];let Tt=null,Jt=0;const Ms=Promise.resolve();let Nl=null;function Rs(e){const t=Nl||Ms;return e?t.then(this?e.bind(this):e):t}function Aa(e){let t=st+1,n=$e.length;for(;t<n;){const o=t+n>>>1,s=$e[o],a=_l(s);a<e||a===e&&s.flags&2?t=o+1:n=o}return t}function Xn(e){if(!(e.flags&1)){const t=_l(e),n=$e[$e.length-1];!n||!(e.flags&2)&&t>=_l(n)?$e.push(e):$e.splice(Aa(t),0,e),e.flags|=1,$s()}}function $s(){Nl||(Nl=Ms.then(Bs))}function Ua(e){q(e)?Gt.push(...e):Tt&&e.id===-1?Tt.splice(Jt+1,0,e):e.flags&1||(Gt.push(e),e.flags|=1),$s()}function $o(e,t,n=st+1){for(;n<$e.length;n++){const o=$e[n];if(o&&o.flags&2){if(e&&o.id!==e.uid)continue;$e.splice(n,1),n--,o.flags&4&&(o.flags&=-2),o(),o.flags&4||(o.flags&=-2)}}}function Vs(e){if(Gt.length){const t=[...new Set(Gt)].sort((n,o)=>_l(n)-_l(o));if(Gt.length=0,Tt){Tt.push(...t);return}for(Tt=t,Jt=0;Jt<Tt.length;Jt++){const n=Tt[Jt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Tt=null,Jt=0}}const _l=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Bs(e){try{for(st=0;st<$e.length;st++){const t=$e[st];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),wl(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;st<$e.length;st++){const t=$e[st];t&&(t.flags&=-2)}st=-1,$e.length=0,Vs(),Nl=null,($e.length||Gt.length)&&Bs()}}let qe=null,Ls=null;function jl(e){const t=qe;return qe=e,Ls=e&&e.type.__scopeId||null,t}function Ma(e,t=qe,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&qo(-1);const a=jl(t);let d;try{d=e(...s)}finally{jl(a),o._d&&qo(1)}return d};return o._n=!0,o._c=!0,o._d=!0,o}function O(e,t){if(qe===null)return e;const n=an(qe),o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[a,d,p,v=_e]=t[s];a&&(Y(a)&&(a={mounted:a,updated:a}),a.deep&&St(d),o.push({dir:a,instance:n,value:d,oldValue:void 0,arg:p,modifiers:v}))}return e}function Rt(e,t,n,o){const s=e.dirs,a=t&&t.dirs;for(let d=0;d<s.length;d++){const p=s[d];a&&(p.oldValue=a[d].value);let v=p.dir[o];v&&(ft(),et(v,n,8,[e.el,p,e,t]),pt())}}function Ra(e,t){if(Ve){let n=Ve.provides;const o=Ve.parent&&Ve.parent.provides;o===n&&(n=Ve.provides=Object.create(o)),n[e]=t}}function Bl(e,t,n=!1){const o=Ru();if(o||Yt){let s=Yt?Yt._context.provides:o?o.parent==null||o.ce?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Y(t)?t.call(o&&o.proxy):t}}const $a=Symbol.for("v-scx"),Va=()=>Bl($a);function kn(e,t,n){return Fs(e,t,n)}function Fs(e,t,n=_e){const{immediate:o,deep:s,flush:a,once:d}=n,p=Ee({},n),v=t&&o||!t&&a!=="post";let h;if(ml){if(a==="sync"){const L=Va();h=L.__watcherHandles||(L.__watcherHandles=[])}else if(!v){const L=()=>{};return L.stop=dt,L.resume=dt,L.pause=dt,L}}const _=Ve;p.call=(L,ne,W)=>et(L,_,ne,W);let w=!1;a==="post"?p.scheduler=L=>{Fe(L,_&&_.suspense)}:a!=="sync"&&(w=!0,p.scheduler=(L,ne)=>{ne?L():Xn(L)}),p.augmentJob=L=>{t&&(L.flags|=4),w&&(L.flags|=2,_&&(L.id=_.uid,L.i=_))};const R=Ta(e,t,p);return ml&&(h?h.push(R):v&&R()),R}function Ba(e,t,n){const o=this.proxy,s=xe(e)?e.includes(".")?Ns(o,e):()=>o[e]:e.bind(o,o);let a;Y(t)?a=t:(a=t.handler,n=t);const d=kl(this),p=Fs(s,a.bind(o),n);return d(),p}function Ns(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s<n.length&&o;s++)o=o[n[s]];return o}}const La=Symbol("_vte"),Fa=e=>e.__isTeleport,Cn=Symbol("_leaveCb");function Zn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Zn(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 Na(e,t){return Y(e)?Ee({name:e.name},t,{setup:e}):e}function js(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Vo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Wl=new WeakMap;function dl(e,t,n,o,s=!1){if(q(e)){e.forEach((W,se)=>dl(W,t&&(q(t)?t[se]:t),n,o,s));return}if(cl(o)&&!s){o.shapeFlag&512&&o.type.__asyncResolved&&o.component.subTree.component&&dl(e,t,n,o.component.subTree);return}const a=o.shapeFlag&4?an(o.component):o.el,d=s?null:a,{i:p,r:v}=e,h=t&&t.r,_=p.refs===_e?p.refs={}:p.refs,w=p.setupState,R=pe(w),L=w===_e?ds:W=>Vo(_,W)?!1:ve(R,W),ne=(W,se)=>!(se&&Vo(_,se));if(h!=null&&h!==v){if(Bo(t),xe(h))_[h]=null,L(h)&&(w[h]=null);else if(Ae(h)){const W=t;ne(h,W.k)&&(h.value=null),W.k&&(_[W.k]=null)}}if(Y(v)){ft();try{wl(v,p,12,[d,_])}finally{pt()}}else{const W=xe(v),se=Ae(v);if(W||se){const ue=()=>{if(e.f){const ee=W?L(v)?w[v]:_[v]:ne()||!e.k?v.value:_[e.k];if(s)q(ee)&&Nn(ee,a);else if(q(ee))ee.includes(a)||ee.push(a);else if(W)_[v]=[a],L(v)&&(w[v]=_[v]);else{const de=[a];ne(v,e.k)&&(v.value=de),e.k&&(_[e.k]=de)}}else W?(_[v]=d,L(v)&&(w[v]=d)):se&&(ne(v,e.k)&&(v.value=d),e.k&&(_[e.k]=d))};if(d){const ee=()=>{ue(),Wl.delete(e)};ee.id=-1,Wl.set(e,ee),Fe(ee,n)}else Bo(e),ue()}}}function Bo(e){const t=Wl.get(e);t&&(t.flags|=8,Wl.delete(e))}en().requestIdleCallback;en().cancelIdleCallback;const cl=e=>!!e.type.__asyncLoader,Ws=e=>e.type.__isKeepAlive;function ja(e,t){Hs(e,"a",t)}function Wa(e,t){Hs(e,"da",t)}function Hs(e,t,n=Ve){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(on(t,o,n),n){let s=n.parent;for(;s&&s.parent;)Ws(s.parent.vnode)&&Ha(o,t,n,s),s=s.parent}}function Ha(e,t,n,o){const s=on(t,e,o,!0);Js(()=>{Nn(o[t],s)},n)}function on(e,t,n=Ve,o=!1){if(n){const s=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...d)=>{ft();const p=kl(n),v=et(t,n,e,d);return p(),pt(),v});return o?s.unshift(a):s.push(a),a}}const It=e=>(t,n=Ve)=>{(!ml||e==="sp")&&on(e,(...o)=>t(...o),n)},Ka=It("bm"),Ks=It("m"),Ja=It("bu"),qa=It("u"),za=It("bum"),Js=It("um"),Ga=It("sp"),Ya=It("rtg"),Qa=It("rtc");function Xa(e,t=Ve){on("ec",e,t)}const Za=Symbol.for("v-ndc");function fe(e,t,n,o){let s;const a=n,d=q(e);if(d||xe(e)){const p=d&&Ft(e);let v=!1,h=!1;p&&(v=!ze(e),h=Dt(e),e=ln(e)),s=new Array(e.length);for(let _=0,w=e.length;_<w;_++)s[_]=t(v?h?Xt(Ze(e[_])):Ze(e[_]):e[_],_,void 0,a)}else if(typeof e=="number"){s=new Array(e);for(let p=0;p<e;p++)s[p]=t(p+1,p,void 0,a)}else if(ge(e))if(e[Symbol.iterator])s=Array.from(e,(p,v)=>t(p,v,void 0,a));else{const p=Object.keys(e);s=new Array(p.length);for(let v=0,h=p.length;v<h;v++){const _=p[v];s[v]=t(e[_],_,v,a)}}else s=[];return s}const Mn=e=>e?pi(e)?an(e):Mn(e.parent):null,fl=Ee(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=>Mn(e.parent),$root:e=>Mn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>zs(e),$forceUpdate:e=>e.f||(e.f=()=>{Xn(e.update)}),$nextTick:e=>e.n||(e.n=Rs.bind(e.proxy)),$watch:e=>Ba.bind(e)}),xn=(e,t)=>e!==_e&&!e.__isScriptSetup&&ve(e,t),eu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:s,props:a,accessCache:d,type:p,appContext:v}=e;if(t[0]!=="$"){const R=d[t];if(R!==void 0)switch(R){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return a[t]}else{if(xn(o,t))return d[t]=1,o[t];if(s!==_e&&ve(s,t))return d[t]=2,s[t];if(ve(a,t))return d[t]=3,a[t];if(n!==_e&&ve(n,t))return d[t]=4,n[t];Rn&&(d[t]=0)}}const h=fl[t];let _,w;if(h)return t==="$attrs"&&Oe(e.attrs,"get",""),h(e);if((_=p.__cssModules)&&(_=_[t]))return _;if(n!==_e&&ve(n,t))return d[t]=4,n[t];if(w=v.config.globalProperties,ve(w,t))return w[t]},set({_:e},t,n){const{data:o,setupState:s,ctx:a}=e;return xn(s,t)?(s[t]=n,!0):o!==_e&&ve(o,t)?(o[t]=n,!0):ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(a[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:s,props:a,type:d}},p){let v;return!!(n[p]||e!==_e&&p[0]!=="$"&&ve(e,p)||xn(t,p)||ve(a,p)||ve(o,p)||ve(fl,p)||ve(s.config.globalProperties,p)||(v=d.__cssModules)&&v[p])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Lo(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rn=!0;function tu(e){const t=zs(e),n=e.proxy,o=e.ctx;Rn=!1,t.beforeCreate&&Fo(t.beforeCreate,e,"bc");const{data:s,computed:a,methods:d,watch:p,provide:v,inject:h,created:_,beforeMount:w,mounted:R,beforeUpdate:L,updated:ne,activated:W,deactivated:se,beforeDestroy:ue,beforeUnmount:ee,destroyed:de,unmounted:j,render:we,renderTracked:ke,renderTriggered:Be,errorCaptured:Ue,serverPrefetch:Ne,expose:He,inheritAttrs:tt,components:vt,directives:gt,filters:me}=t;if(h&&lu(h,o,null),d)for(const ie in d){const te=d[ie];Y(te)&&(o[ie]=te.bind(n))}if(s){const ie=s.call(n,n);ge(ie)&&(e.data=Gn(ie))}if(Rn=!0,a)for(const ie in a){const te=a[ie],ye=Y(te)?te.bind(n,n):Y(te.get)?te.get.bind(n,n):dt,_t=!Y(te)&&Y(te.set)?te.set.bind(n):dt,je=wt({get:ye,set:_t});Object.defineProperty(o,ie,{enumerable:!0,configurable:!0,get:()=>je.value,set:Te=>je.value=Te})}if(p)for(const ie in p)qs(p[ie],o,n,ie);if(v){const ie=Y(v)?v.call(n):v;Reflect.ownKeys(ie).forEach(te=>{Ra(te,ie[te])})}_&&Fo(_,e,"c");function Ce(ie,te){q(te)?te.forEach(ye=>ie(ye.bind(n))):te&&ie(te.bind(n))}if(Ce(Ka,w),Ce(Ks,R),Ce(Ja,L),Ce(qa,ne),Ce(ja,W),Ce(Wa,se),Ce(Xa,Ue),Ce(Qa,ke),Ce(Ya,Be),Ce(za,ee),Ce(Js,j),Ce(Ga,Ne),q(He))if(He.length){const ie=e.exposed||(e.exposed={});He.forEach(te=>{Object.defineProperty(ie,te,{get:()=>n[te],set:ye=>n[te]=ye,enumerable:!0})})}else e.exposed||(e.exposed={});we&&e.render===dt&&(e.render=we),tt!=null&&(e.inheritAttrs=tt),vt&&(e.components=vt),gt&&(e.directives=gt),Ne&&js(e)}function lu(e,t,n=dt){q(e)&&(e=$n(e));for(const o in e){const s=e[o];let a;ge(s)?"default"in s?a=Bl(s.from||o,s.default,!0):a=Bl(s.from||o):a=Bl(s),Ae(a)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>a.value,set:d=>a.value=d}):t[o]=a}}function Fo(e,t,n){et(q(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function qs(e,t,n,o){let s=o.includes(".")?Ns(n,o):()=>n[o];if(xe(e)){const a=t[e];Y(a)&&kn(s,a)}else if(Y(e))kn(s,e.bind(n));else if(ge(e))if(q(e))e.forEach(a=>qs(a,t,n,o));else{const a=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(a)&&kn(s,a,e)}}function zs(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:s,optionsCache:a,config:{optionMergeStrategies:d}}=e.appContext,p=a.get(t);let v;return p?v=p:!s.length&&!n&&!o?v=t:(v={},s.length&&s.forEach(h=>Hl(v,h,d,!0)),Hl(v,t,d)),ge(t)&&a.set(t,v),v}function Hl(e,t,n,o=!1){const{mixins:s,extends:a}=t;a&&Hl(e,a,n,!0),s&&s.forEach(d=>Hl(e,d,n,!0));for(const d in t)if(!(o&&d==="expose")){const p=nu[d]||n&&n[d];e[d]=p?p(e[d],t[d]):t[d]}return e}const nu={data:No,props:jo,emits:jo,methods:sl,computed:sl,beforeCreate:Re,created:Re,beforeMount:Re,mounted:Re,beforeUpdate:Re,updated:Re,beforeDestroy:Re,beforeUnmount:Re,destroyed:Re,unmounted:Re,activated:Re,deactivated:Re,errorCaptured:Re,serverPrefetch:Re,components:sl,directives:sl,watch:su,provide:No,inject:ou};function No(e,t){return t?e?function(){return Ee(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function ou(e,t){return sl($n(e),$n(t))}function $n(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Re(e,t){return e?[...new Set([].concat(e,t))]:t}function sl(e,t){return e?Ee(Object.create(null),e,t):t}function jo(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Lo(e),Lo(t??{})):t}function su(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const o in t)n[o]=Re(e[o],t[o]);return n}function Gs(){return{app:null,config:{isNativeTag:ds,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let iu=0;function ru(e,t){return function(o,s=null){Y(o)||(o=Ee({},o)),s!=null&&!ge(s)&&(s=null);const a=Gs(),d=new WeakSet,p=[];let v=!1;const h=a.app={_uid:iu++,_component:o,_props:s,_container:null,_context:a,_instance:null,version:Nu,get config(){return a.config},set config(_){},use(_,...w){return d.has(_)||(_&&Y(_.install)?(d.add(_),_.install(h,...w)):Y(_)&&(d.add(_),_(h,...w))),h},mixin(_){return a.mixins.includes(_)||a.mixins.push(_),h},component(_,w){return w?(a.components[_]=w,h):a.components[_]},directive(_,w){return w?(a.directives[_]=w,h):a.directives[_]},mount(_,w,R){if(!v){const L=h._ceVNode||Pt(o,s);return L.appContext=a,R===!0?R="svg":R===!1&&(R=void 0),e(L,_,R),v=!0,h._container=_,_.__vue_app__=h,an(L.component)}},onUnmount(_){p.push(_)},unmount(){v&&(et(p,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(_,w){return a.provides[_]=w,h},runWithContext(_){const w=Yt;Yt=h;try{return _()}finally{Yt=w}}};return h}}let Yt=null;const au=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Qe(t)}Modifiers`]||e[`${Nt(t)}Modifiers`];function uu(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||_e;let s=n;const a=t.startsWith("update:"),d=a&&au(o,t.slice(7));d&&(d.trim&&(s=n.map(_=>xe(_)?_.trim():_)),d.number&&(s=n.map(Zl)));let p,v=o[p=hn(t)]||o[p=hn(Qe(t))];!v&&a&&(v=o[p=hn(Nt(t))]),v&&et(v,e,6,s);const h=o[p+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[p])return;e.emitted[p]=!0,et(h,e,6,s)}}const du=new WeakMap;function Ys(e,t,n=!1){const o=n?du:t.emitsCache,s=o.get(e);if(s!==void 0)return s;const a=e.emits;let d={},p=!1;if(!Y(e)){const v=h=>{const _=Ys(h,t,!0);_&&(p=!0,Ee(d,_))};!n&&t.mixins.length&&t.mixins.forEach(v),e.extends&&v(e.extends),e.mixins&&e.mixins.forEach(v)}return!a&&!p?(ge(e)&&o.set(e,null),null):(q(a)?a.forEach(v=>d[v]=null):Ee(d,a),ge(e)&&o.set(e,d),d)}function sn(e,t){return!e||!Gl(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,Nt(t))||ve(e,t))}function Wo(e){const{type:t,vnode:n,proxy:o,withProxy:s,propsOptions:[a],slots:d,attrs:p,emit:v,render:h,renderCache:_,props:w,data:R,setupState:L,ctx:ne,inheritAttrs:W}=e,se=jl(e);let ue,ee;try{if(n.shapeFlag&4){const j=s||o,we=j;ue=at(h.call(we,j,_,w,L,R,ne)),ee=p}else{const j=t;ue=at(j.length>1?j(w,{attrs:p,slots:d,emit:v}):j(w,null)),ee=t.props?p:cu(p)}}catch(j){pl.length=0,nn(j,e,1),ue=Pt(Ot)}let de=ue;if(ee&&W!==!1){const j=Object.keys(ee),{shapeFlag:we}=de;j.length&&we&7&&(a&&j.some(Yl)&&(ee=fu(ee,a)),de=Zt(de,ee,!1,!0))}return n.dirs&&(de=Zt(de,null,!1,!0),de.dirs=de.dirs?de.dirs.concat(n.dirs):n.dirs),n.transition&&Zn(de,n.transition),ue=de,jl(se),ue}const cu=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gl(n))&&((t||(t={}))[n]=e[n]);return t},fu=(e,t)=>{const n={};for(const o in e)(!Yl(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function pu(e,t,n){const{props:o,children:s,component:a}=e,{props:d,children:p,patchFlag:v}=t,h=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&v>=0){if(v&1024)return!0;if(v&16)return o?Ho(o,d,h):!!d;if(v&8){const _=t.dynamicProps;for(let w=0;w<_.length;w++){const R=_[w];if(Qs(d,o,R)&&!sn(h,R))return!0}}}else return(s||p)&&(!p||!p.$stable)?!0:o===d?!1:o?d?Ho(o,d,h):!0:!!d;return!1}function Ho(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let s=0;s<o.length;s++){const a=o[s];if(Qs(t,e,a)&&!sn(n,a))return!0}return!1}function Qs(e,t,n){const o=e[n],s=t[n];return n==="style"&&ge(o)&&ge(s)?!bl(o,s):o!==s}function vu({vnode:e,parent:t,suspense:n},o){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.suspense.vnode.el=s.el=o,e=s),s===e)(e=t.vnode).el=o,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=o)}const Xs={},Zs=()=>Object.create(Xs),ei=e=>Object.getPrototypeOf(e)===Xs;function gu(e,t,n,o=!1){const s={},a=Zs();e.propsDefaults=Object.create(null),ti(e,t,s,a);for(const d in e.propsOptions[0])d in s||(s[d]=void 0);n?e.props=o?s:wa(s):e.type.props?e.props=s:e.props=a,e.attrs=a}function _u(e,t,n,o){const{props:s,attrs:a,vnode:{patchFlag:d}}=e,p=pe(s),[v]=e.propsOptions;let h=!1;if((o||d>0)&&!(d&16)){if(d&8){const _=e.vnode.dynamicProps;for(let w=0;w<_.length;w++){let R=_[w];if(sn(e.emitsOptions,R))continue;const L=t[R];if(v)if(ve(a,R))L!==a[R]&&(a[R]=L,h=!0);else{const ne=Qe(R);s[ne]=Vn(v,p,ne,L,e,!1)}else L!==a[R]&&(a[R]=L,h=!0)}}}else{ti(e,t,s,a)&&(h=!0);let _;for(const w in p)(!t||!ve(t,w)&&((_=Nt(w))===w||!ve(t,_)))&&(v?n&&(n[w]!==void 0||n[_]!==void 0)&&(s[w]=Vn(v,p,w,void 0,e,!0)):delete s[w]);if(a!==p)for(const w in a)(!t||!ve(t,w))&&(delete a[w],h=!0)}h&&xt(e.attrs,"set","")}function ti(e,t,n,o){const[s,a]=e.propsOptions;let d=!1,p;if(t)for(let v in t){if(rl(v))continue;const h=t[v];let _;s&&ve(s,_=Qe(v))?!a||!a.includes(_)?n[_]=h:(p||(p={}))[_]=h:sn(e.emitsOptions,v)||(!(v in o)||h!==o[v])&&(o[v]=h,d=!0)}if(a){const v=pe(n),h=p||_e;for(let _=0;_<a.length;_++){const w=a[_];n[w]=Vn(s,v,w,h[w],e,!ve(h,w))}}return d}function Vn(e,t,n,o,s,a){const d=e[n];if(d!=null){const p=ve(d,"default");if(p&&o===void 0){const v=d.default;if(d.type!==Function&&!d.skipFactory&&Y(v)){const{propsDefaults:h}=s;if(n in h)o=h[n];else{const _=kl(s);o=h[n]=v.call(null,t),_()}}else o=v;s.ce&&s.ce._setProp(n,o)}d[0]&&(a&&!p?o=!1:d[1]&&(o===""||o===Nt(n))&&(o=!0))}return o}const hu=new WeakMap;function li(e,t,n=!1){const o=n?hu:t.propsCache,s=o.get(e);if(s)return s;const a=e.props,d={},p=[];let v=!1;if(!Y(e)){const _=w=>{v=!0;const[R,L]=li(w,t,!0);Ee(d,R),L&&p.push(...L)};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!a&&!v)return ge(e)&&o.set(e,qt),qt;if(q(a))for(let _=0;_<a.length;_++){const w=Qe(a[_]);Ko(w)&&(d[w]=_e)}else if(a)for(const _ in a){const w=Qe(_);if(Ko(w)){const R=a[_],L=d[w]=q(R)||Y(R)?{type:R}:Ee({},R),ne=L.type;let W=!1,se=!0;if(q(ne))for(let ue=0;ue<ne.length;++ue){const ee=ne[ue],de=Y(ee)&&ee.name;if(de==="Boolean"){W=!0;break}else de==="String"&&(se=!1)}else W=Y(ne)&&ne.name==="Boolean";L[0]=W,L[1]=se,(W||ve(L,"default"))&&p.push(w)}}const h=[d,p];return ge(e)&&o.set(e,h),h}function Ko(e){return e[0]!=="$"&&!rl(e)}const eo=e=>e==="_"||e==="_ctx"||e==="$stable",to=e=>q(e)?e.map(at):[at(e)],mu=(e,t,n)=>{if(t._n)return t;const o=Ma((...s)=>to(t(...s)),n);return o._c=!1,o},ni=(e,t,n)=>{const o=e._ctx;for(const s in e){if(eo(s))continue;const a=e[s];if(Y(a))t[s]=mu(s,a,o);else if(a!=null){const d=to(a);t[s]=()=>d}}},oi=(e,t)=>{const n=to(t);e.slots.default=()=>n},si=(e,t,n)=>{for(const o in t)(n||!eo(o))&&(e[o]=t[o])},yu=(e,t,n)=>{const o=e.slots=Zs();if(e.vnode.shapeFlag&32){const s=t._;s?(si(o,t,n),n&&gs(o,"_",s,!0)):ni(t,o)}else t&&oi(e,t)},bu=(e,t,n)=>{const{vnode:o,slots:s}=e;let a=!0,d=_e;if(o.shapeFlag&32){const p=t._;p?n&&p===1?a=!1:si(s,t,n):(a=!t.$stable,ni(t,s)),d=t}else t&&(oi(e,t),d={default:1});if(a)for(const p in s)!eo(p)&&d[p]==null&&delete s[p]},Fe=Su;function wu(e){return ku(e)}function ku(e,t){const n=en();n.__VUE__=!0;const{insert:o,remove:s,patchProp:a,createElement:d,createText:p,createComment:v,setText:h,setElementText:_,parentNode:w,nextSibling:R,setScopeId:L=dt,insertStaticContent:ne}=e,W=(f,g,m,S=null,k=null,x=null,A=void 0,D=null,E=!!g.dynamicChildren)=>{if(f===g)return;f&&!ol(f,g)&&(S=le(f),Te(f,k,x,!0),f=null),g.patchFlag===-2&&(E=!1,g.dynamicChildren=null);const{type:C,ref:U,shapeFlag:I}=g;switch(C){case rn:se(f,g,m,S);break;case Ot:ue(f,g,m,S);break;case Pn:f==null&&ee(g,m,S,A);break;case Z:vt(f,g,m,S,k,x,A,D,E);break;default:I&1?we(f,g,m,S,k,x,A,D,E):I&6?gt(f,g,m,S,k,x,A,D,E):(I&64||I&128)&&C.process(f,g,m,S,k,x,A,D,E,Le)}U!=null&&k?dl(U,f&&f.ref,x,g||f,!g):U==null&&f&&f.ref!=null&&dl(f.ref,null,x,f,!0)},se=(f,g,m,S)=>{if(f==null)o(g.el=p(g.children),m,S);else{const k=g.el=f.el;g.children!==f.children&&h(k,g.children)}},ue=(f,g,m,S)=>{f==null?o(g.el=v(g.children||""),m,S):g.el=f.el},ee=(f,g,m,S)=>{[f.el,f.anchor]=ne(f.children,g,m,S,f.el,f.anchor)},de=({el:f,anchor:g},m,S)=>{let k;for(;f&&f!==g;)k=R(f),o(f,m,S),f=k;o(g,m,S)},j=({el:f,anchor:g})=>{let m;for(;f&&f!==g;)m=R(f),s(f),f=m;s(g)},we=(f,g,m,S,k,x,A,D,E)=>{if(g.type==="svg"?A="svg":g.type==="math"&&(A="mathml"),f==null)ke(g,m,S,k,x,A,D,E);else{const C=f.el&&f.el._isVueCE?f.el:null;try{C&&C._beginPatch(),Ne(f,g,k,x,A,D,E)}finally{C&&C._endPatch()}}},ke=(f,g,m,S,k,x,A,D)=>{let E,C;const{props:U,shapeFlag:I,transition:V,dirs:N}=f;if(E=f.el=d(f.type,x,U&&U.is,U),I&8?_(E,f.children):I&16&&Ue(f.children,E,null,S,k,Sn(f,x),A,D),N&&Rt(f,null,S,"created"),Be(E,f,f.scopeId,A,S),U){for(const J in U)J!=="value"&&!rl(J)&&a(E,J,null,U[J],x,S);"value"in U&&a(E,"value",null,U.value,x),(C=U.onVnodeBeforeMount)&&ot(C,S,f)}N&&Rt(f,null,S,"beforeMount");const K=Cu(k,V);K&&V.beforeEnter(E),o(E,g,m),((C=U&&U.onVnodeMounted)||K||N)&&Fe(()=>{try{C&&ot(C,S,f),K&&V.enter(E),N&&Rt(f,null,S,"mounted")}finally{}},k)},Be=(f,g,m,S,k)=>{if(m&&L(f,m),S)for(let x=0;x<S.length;x++)L(f,S[x]);if(k){let x=k.subTree;if(g===x||ui(x.type)&&(x.ssContent===g||x.ssFallback===g)){const A=k.vnode;Be(f,A,A.scopeId,A.slotScopeIds,k.parent)}}},Ue=(f,g,m,S,k,x,A,D,E=0)=>{for(let C=E;C<f.length;C++){const U=f[C]=D?Ct(f[C]):at(f[C]);W(null,U,g,m,S,k,x,A,D)}},Ne=(f,g,m,S,k,x,A)=>{const D=g.el=f.el;let{patchFlag:E,dynamicChildren:C,dirs:U}=g;E|=f.patchFlag&16;const I=f.props||_e,V=g.props||_e;let N;if(m&&$t(m,!1),(N=V.onVnodeBeforeUpdate)&&ot(N,m,g,f),U&&Rt(g,f,m,"beforeUpdate"),m&&$t(m,!0),C&&(!f.dynamicChildren||f.dynamicChildren.length!==C.length)&&(E=0,A=!1,C=null),(I.innerHTML&&V.innerHTML==null||I.textContent&&V.textContent==null)&&_(D,""),C?He(f.dynamicChildren,C,D,m,S,Sn(g,k),x):A||te(f,g,D,null,m,S,Sn(g,k),x,!1),E>0){if(E&16)tt(D,I,V,m,k);else if(E&2&&I.class!==V.class&&a(D,"class",null,V.class,k),E&4&&a(D,"style",I.style,V.style,k),E&8){const K=g.dynamicProps;for(let J=0;J<K.length;J++){const Q=K[J],be=I[Q],re=V[Q];(re!==be||Q==="value")&&a(D,Q,be,re,k,m)}}E&1&&f.children!==g.children&&_(D,g.children)}else!A&&C==null&&tt(D,I,V,m,k);((N=V.onVnodeUpdated)||U)&&Fe(()=>{N&&ot(N,m,g,f),U&&Rt(g,f,m,"updated")},S)},He=(f,g,m,S,k,x,A)=>{for(let D=0;D<g.length;D++){const E=f[D],C=g[D],U=E.el&&(E.type===Z||!ol(E,C)||E.shapeFlag&198)?w(E.el):m;W(E,C,U,null,S,k,x,A,!0)}},tt=(f,g,m,S,k)=>{if(g!==m){if(g!==_e)for(const x in g)!rl(x)&&!(x in m)&&a(f,x,g[x],null,k,S);for(const x in m){if(rl(x))continue;const A=m[x],D=g[x];A!==D&&x!=="value"&&a(f,x,D,A,k,S)}"value"in m&&a(f,"value",g.value,m.value,k)}},vt=(f,g,m,S,k,x,A,D,E)=>{const C=g.el=f?f.el:p(""),U=g.anchor=f?f.anchor:p("");let{patchFlag:I,dynamicChildren:V,slotScopeIds:N}=g;N&&(D=D?D.concat(N):N),f==null?(o(C,m,S),o(U,m,S),Ue(g.children||[],m,U,k,x,A,D,E)):I>0&&I&64&&V&&f.dynamicChildren&&f.dynamicChildren.length===V.length?(He(f.dynamicChildren,V,m,k,x,A,D),(g.key!=null||k&&g===k.subTree)&&ii(f,g,!0)):te(f,g,m,U,k,x,A,D,E)},gt=(f,g,m,S,k,x,A,D,E)=>{g.slotScopeIds=D,f==null?g.shapeFlag&512?k.ctx.activate(g,m,S,A,E):me(g,m,S,k,x,A,E):lt(f,g,E)},me=(f,g,m,S,k,x,A)=>{const D=f.component=Mu(f,S,k);if(Ws(f)&&(D.ctx.renderer=Le),$u(D,!1,A),D.asyncDep){if(k&&k.registerDep(D,Ce,A),!f.el){const E=D.subTree=Pt(Ot);ue(null,E,g,m),f.placeholder=E.el}}else Ce(D,f,g,m,k,x,A)},lt=(f,g,m)=>{const S=g.component=f.component;if(pu(f,g,m))if(S.asyncDep&&!S.asyncResolved){ie(S,g,m);return}else S.next=g,S.update();else g.el=f.el,S.vnode=g},Ce=(f,g,m,S,k,x,A)=>{const D=()=>{if(f.isMounted){let{next:I,bu:V,u:N,parent:K,vnode:J}=f;{const G=ri(f);if(G){I&&(I.el=J.el,ie(f,I,A)),G.asyncDep.then(()=>{Fe(()=>{f.isUnmounted||C()},k)});return}}let Q=I,be;$t(f,!1),I?(I.el=J.el,ie(f,I,A)):I=J,V&&Vl(V),(be=I.props&&I.props.onVnodeBeforeUpdate)&&ot(be,K,I,J),$t(f,!0);const re=Wo(f),Me=f.subTree;f.subTree=re,W(Me,re,w(Me.el),le(Me),f,k,x),I.el=re.el,Q===null&&vu(f,re.el),N&&Fe(N,k),(be=I.props&&I.props.onVnodeUpdated)&&Fe(()=>ot(be,K,I,J),k)}else{let I;const{el:V,props:N}=g,{bm:K,m:J,parent:Q,root:be,type:re}=f,Me=cl(g);$t(f,!1),K&&Vl(K),!Me&&(I=N&&N.onVnodeBeforeMount)&&ot(I,Q,g),$t(f,!0);{be.ce&&be.ce._hasShadowRoot()&&be.ce._injectChildStyle(re,f.parent?f.parent.type:void 0);const G=f.subTree=Wo(f);W(null,G,m,S,f,k,x),g.el=G.el}if(J&&Fe(J,k),!Me&&(I=N&&N.onVnodeMounted)){const G=g;Fe(()=>ot(I,Q,G),k)}(g.shapeFlag&256||Q&&cl(Q.vnode)&&Q.vnode.shapeFlag&256)&&f.a&&Fe(f.a,k),f.isMounted=!0,g=m=S=null}};f.scope.on();const E=f.effect=new ys(D);f.scope.off();const C=f.update=E.run.bind(E),U=f.job=E.runIfDirty.bind(E);U.i=f,U.id=f.uid,E.scheduler=()=>Xn(U),$t(f,!0),C()},ie=(f,g,m)=>{g.component=f;const S=f.vnode.props;f.vnode=g,f.next=null,_u(f,g.props,S,m),bu(f,g.children,m),ft(),$o(f),pt()},te=(f,g,m,S,k,x,A,D,E=!1)=>{const C=f&&f.children,U=f?f.shapeFlag:0,I=g.children,{patchFlag:V,shapeFlag:N}=g;if(V>0){if(V&128){_t(C,I,m,S,k,x,A,D,E);return}else if(V&256){ye(C,I,m,S,k,x,A,D,E);return}}N&8?(U&16&&Ge(C,k,x),I!==C&&_(m,I)):U&16?N&16?_t(C,I,m,S,k,x,A,D,E):Ge(C,k,x,!0):(U&8&&_(m,""),N&16&&Ue(I,m,S,k,x,A,D,E))},ye=(f,g,m,S,k,x,A,D,E)=>{f=f||qt,g=g||qt;const C=f.length,U=g.length,I=Math.min(C,U);let V;for(V=0;V<I;V++){const N=g[V]=E?Ct(g[V]):at(g[V]);W(f[V],N,m,null,k,x,A,D,E)}C>U?Ge(f,k,x,!0,!1,I):Ue(g,m,S,k,x,A,D,E,I)},_t=(f,g,m,S,k,x,A,D,E)=>{let C=0;const U=g.length;let I=f.length-1,V=U-1;for(;C<=I&&C<=V;){const N=f[C],K=g[C]=E?Ct(g[C]):at(g[C]);if(ol(N,K))W(N,K,m,null,k,x,A,D,E);else break;C++}for(;C<=I&&C<=V;){const N=f[I],K=g[V]=E?Ct(g[V]):at(g[V]);if(ol(N,K))W(N,K,m,null,k,x,A,D,E);else break;I--,V--}if(C>I){if(C<=V){const N=V+1,K=N<U?g[N].el:S;for(;C<=V;)W(null,g[C]=E?Ct(g[C]):at(g[C]),m,K,k,x,A,D,E),C++}}else if(C>V)for(;C<=I;)Te(f[C],k,x,!0),C++;else{const N=C,K=C,J=new Map;for(C=K;C<=V;C++){const Se=g[C]=E?Ct(g[C]):at(g[C]);Se.key!=null&&J.set(Se.key,C)}let Q,be=0;const re=V-K+1;let Me=!1,G=0;const mt=new Array(re);for(C=0;C<re;C++)mt[C]=0;for(C=N;C<=I;C++){const Se=f[C];if(be>=re){Te(Se,k,x,!0);continue}let Pe;if(Se.key!=null)Pe=J.get(Se.key);else for(Q=K;Q<=V;Q++)if(mt[Q-K]===0&&ol(Se,g[Q])){Pe=Q;break}Pe===void 0?Te(Se,k,x,!0):(mt[Pe-K]=C+1,Pe>=G?G=Pe:Me=!0,W(Se,g[Pe],m,null,k,x,A,D,E),be++)}const T=Me?xu(mt):qt;for(Q=T.length-1,C=re-1;C>=0;C--){const Se=K+C,Pe=g[Se],el=g[Se+1],Cl=Se+1<U?el.el||ai(el):S;mt[C]===0?W(null,Pe,m,Cl,k,x,A,D,E):Me&&(Q<0||C!==T[Q]?je(Pe,m,Cl,2):Q--)}}},je=(f,g,m,S,k=null)=>{const{el:x,type:A,transition:D,children:E,shapeFlag:C}=f;if(C&6){je(f.component.subTree,g,m,S);return}if(C&128){f.suspense.move(g,m,S);return}if(C&64){A.move(f,g,m,Le);return}if(A===Z){o(x,g,m);for(let I=0;I<E.length;I++)je(E[I],g,m,S);o(f.anchor,g,m);return}if(A===Pn){de(f,g,m);return}if(S!==2&&C&1&&D)if(S===0)D.persisted&&!x[Cn]?o(x,g,m):(D.beforeEnter(x),o(x,g,m),Fe(()=>D.enter(x),k));else{const{leave:I,delayLeave:V,afterLeave:N}=D,K=()=>{f.ctx.isUnmounted?s(x):o(x,g,m)},J=()=>{const Q=x._isLeaving||!!x[Cn];x._isLeaving&&x[Cn](!0),D.persisted&&!Q?K():I(x,()=>{K(),N&&N()})};V?V(x,K,J):J()}else o(x,g,m)},Te=(f,g,m,S=!1,k=!1)=>{const{type:x,props:A,ref:D,children:E,dynamicChildren:C,shapeFlag:U,patchFlag:I,dirs:V,cacheIndex:N,memo:K}=f;if(I===-2&&(k=!1),D!=null&&(ft(),dl(D,null,m,f,!0),pt()),N!=null&&(g.renderCache[N]=void 0),U&256){g.ctx.deactivate(f);return}const J=U&1&&V,Q=!cl(f);let be;if(Q&&(be=A&&A.onVnodeBeforeUnmount)&&ot(be,g,f),U&6)Ut(f.component,m,S);else{if(U&128){f.suspense.unmount(m,S);return}J&&Rt(f,null,g,"beforeUnmount"),U&64?f.type.remove(f,g,m,Le,S):C&&!C.hasOnce&&(x!==Z||I>0&&I&64)?Ge(C,g,m,!1,!0):(x===Z&&I&384||!k&&U&16)&&Ge(E,g,m),S&&ht(f)}const re=K!=null&&N==null;(Q&&(be=A&&A.onVnodeUnmounted)||J||re)&&Fe(()=>{be&&ot(be,g,f),J&&Rt(f,null,g,"unmounted"),re&&(f.el=null)},m)},ht=f=>{const{type:g,el:m,anchor:S,transition:k}=f;if(g===Z){At(m,S);return}if(g===Pn){j(f);return}const x=()=>{s(m),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(f.shapeFlag&1&&k&&!k.persisted){const{leave:A,delayLeave:D}=k,E=()=>A(m,x);D?D(f.el,x,E):E()}else x()},At=(f,g)=>{let m;for(;f!==g;)m=R(f),s(f),f=m;s(g)},Ut=(f,g,m)=>{const{bum:S,scope:k,job:x,subTree:A,um:D,m:E,a:C}=f;Jo(E),Jo(C),S&&Vl(S),k.stop(),x&&(x.flags|=8,Te(A,f,g,m)),D&&Fe(D,g),Fe(()=>{f.isUnmounted=!0},g)},Ge=(f,g,m,S=!1,k=!1,x=0)=>{for(let A=x;A<f.length;A++)Te(f[A],g,m,S,k)},le=f=>{if(f.shapeFlag&6)return le(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const g=R(f.anchor||f.el),m=g&&g[La];return m?R(m):g};let nt=!1;const ce=(f,g,m)=>{let S;f==null?g._vnode&&(Te(g._vnode,null,null,!0),S=g._vnode.component):W(g._vnode||null,f,g,null,null,null,m),g._vnode=f,nt||(nt=!0,$o(S),Vs(),nt=!1)},Le={p:W,um:Te,m:je,r:ht,mt:me,mc:Ue,pc:te,pbc:He,n:le,o:e};return{render:ce,hydrate:void 0,createApp:ru(ce)}}function Sn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function $t({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Cu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ii(e,t,n=!1){const o=e.children,s=t.children;if(q(o)&&q(s))for(let a=0;a<o.length;a++){const d=o[a];let p=s[a];p.shapeFlag&1&&!p.dynamicChildren&&((p.patchFlag<=0||p.patchFlag===32)&&(p=s[a]=Ct(s[a]),p.el=d.el),!n&&p.patchFlag!==-2&&ii(d,p)),p.type===rn&&(p.patchFlag===-1&&(p=s[a]=Ct(p)),p.el=d.el),p.type===Ot&&!p.el&&(p.el=d.el)}}function xu(e){const t=e.slice(),n=[0];let o,s,a,d,p;const v=e.length;for(o=0;o<v;o++){const h=e[o];if(h!==0){if(s=n[n.length-1],e[s]<h){t[o]=s,n.push(o);continue}for(a=0,d=n.length-1;a<d;)p=a+d>>1,e[n[p]]<h?a=p+1:d=p;h<e[n[a]]&&(a>0&&(t[o]=n[a-1]),n[a]=o)}}for(a=n.length,d=n[a-1];a-- >0;)n[a]=d,d=t[d];return n}function ri(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ri(t)}function Jo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ai(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ai(t.subTree):null}const ui=e=>e.__isSuspense;function Su(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Ua(e)}const Z=Symbol.for("v-fgt"),rn=Symbol.for("v-txt"),Ot=Symbol.for("v-cmt"),Pn=Symbol.for("v-stc"),pl=[];let We=null;function y(e=!1){pl.push(We=e?null:[])}function Pu(){pl.pop(),We=pl[pl.length-1]||null}let hl=1;function qo(e,t=!1){hl+=e,e<0&&We&&t&&(We.hasOnce=!0)}function di(e){return e.dynamicChildren=hl>0?We||qt:null,Pu(),hl>0&&We&&We.push(e),e}function b(e,t,n,o,s,a){return di(l(e,t,n,o,s,a,!0))}function Du(e,t,n,o,s){return di(Pt(e,t,n,o,s,!0))}function ci(e){return e?e.__v_isVNode===!0:!1}function ol(e,t){return e.type===t.type&&e.key===t.key}const fi=({key:e})=>e??null,Ll=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?xe(e)||Ae(e)||Y(e)?{i:qe,r:e,k:t,f:!!n}:e:null);function l(e,t=null,n=null,o=0,s=null,a=e===Z?0:1,d=!1,p=!1){const v={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&fi(t),ref:t&&Ll(t),scopeId:Ls,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:qe};return p?(Kl(v,n),a&128&&e.normalize(v)):n&&(v.shapeFlag|=xe(n)?8:16),hl>0&&!d&&We&&(v.patchFlag>0||a&6)&&v.patchFlag!==32&&We.push(v),v}const Pt=Iu;function Iu(e,t=null,n=null,o=0,s=null,a=!1){if((!e||e===Za)&&(e=Ot),ci(e)){const p=Zt(e,t,!0);return n&&Kl(p,n),hl>0&&!a&&We&&(p.shapeFlag&6?We[We.indexOf(e)]=p:We.push(p)),p.patchFlag=-2,p}if(Fu(e)&&(e=e.__vccOpts),t){t=Eu(t);let{class:p,style:v}=t;p&&!xe(p)&&(t.class=tn(p)),ge(v)&&(Qn(v)&&!q(v)&&(v=Ee({},v)),t.style=Wn(v))}const d=xe(e)?1:ui(e)?128:Fa(e)?64:ge(e)?4:Y(e)?2:0;return l(e,t,n,o,s,d,a,!0)}function Eu(e){return e?Qn(e)||ei(e)?Ee({},e):e:null}function Zt(e,t,n=!1,o=!1){const{props:s,ref:a,patchFlag:d,children:p,transition:v}=e,h=t?Ou(s||{},t):s,_={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&fi(h),ref:t&&t.ref?n&&a?q(a)?a.concat(Ll(t)):[a,Ll(t)]:Ll(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:p,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Z?d===-1?16:d|16:d,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:v,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zt(e.ssContent),ssFallback:e.ssFallback&&Zt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return v&&o&&Zn(_,v.clone(_)),_}function Tu(e=" ",t=0){return Pt(rn,null,e,t)}function F(e="",t=!1){return t?(y(),Du(Ot,null,e)):Pt(Ot,null,e)}function at(e){return e==null||typeof e=="boolean"?Pt(Ot):q(e)?Pt(Z,null,e.slice()):ci(e)?Ct(e):Pt(rn,null,String(e))}function Ct(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Zt(e)}function Kl(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(o&65){const s=t.default;s&&(s._c&&(s._d=!1),Kl(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!ei(t)?t._ctx=qe:s===3&&qe&&(qe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(Y(t)){if(o&65){Kl(e,{default:t});return}t={default:t,_ctx:qe},n=32}else t=String(t),o&64?(n=16,t=[Tu(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ou(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const s in o)if(s==="class")t.class!==o.class&&(t.class=tn([t.class,o.class]));else if(s==="style")t.style=Wn([t.style,o.style]);else if(Gl(s)){const a=t[s],d=o[s];d&&a!==d&&!(q(a)&&a.includes(d))?t[s]=a?[].concat(a,d):d:d==null&&a==null&&!Yl(s)&&(t[s]=d)}else s!==""&&(t[s]=o[s])}return t}function ot(e,t,n,o=null){et(e,t,7,[n,o])}const Au=Gs();let Uu=0;function Mu(e,t,n){const o=e.type,s=(t?t.appContext:e.appContext)||Au,a={uid:Uu++,vnode:e,type:o,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new la(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:li(o,s),emitsOptions:Ys(o,s),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:o.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return a.ctx={_:a},a.root=t?t.root:a,a.emit=uu.bind(null,a),e.ce&&e.ce(a),a}let Ve=null;const Ru=()=>Ve||qe;let Jl,Bn;{const e=en(),t=(n,o)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(o),a=>{s.length>1?s.forEach(d=>d(a)):s[0](a)}};Jl=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Bn=t("__VUE_SSR_SETTERS__",n=>ml=n)}const kl=e=>{const t=Ve;return Jl(e),e.scope.on(),()=>{e.scope.off(),Jl(t)}},zo=()=>{Ve&&Ve.scope.off(),Jl(null)};function pi(e){return e.vnode.shapeFlag&4}let ml=!1;function $u(e,t=!1,n=!1){t&&Bn(t);const{props:o,children:s}=e.vnode,a=pi(e);gu(e,o,a,t),yu(e,s,n||t);const d=a?Vu(e,t):void 0;return t&&Bn(!1),d}function Vu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,eu);const{setup:o}=n;if(o){ft();const s=e.setupContext=o.length>1?Lu(e):null,a=kl(e),d=wl(o,e,0,[e.props,s]),p=cs(d);if(pt(),a(),(p||e.sp)&&!cl(e)&&js(e),p){if(d.then(zo,zo),t)return d.then(v=>{Go(e,v)}).catch(v=>{nn(v,e,0)});e.asyncDep=d}else Go(e,d)}else vi(e)}function Go(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Us(t)),vi(e)}function vi(e,t,n){const o=e.type;e.render||(e.render=o.render||dt);{const s=kl(e);ft();try{tu(e)}finally{pt(),s()}}}const Bu={get(e,t){return Oe(e,"get",""),e[t]}};function Lu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Bu),slots:e.slots,emit:e.emit,expose:t}}function an(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Us(ka(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fl)return fl[n](e)},has(t,n){return n in t||n in fl}})):e.proxy}function Fu(e){return Y(e)&&"__vccOpts"in e}const wt=(e,t)=>Ia(e,t,ml),Nu="3.5.39";/**
* @vue/runtime-dom v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Ln;const Yo=typeof window<"u"&&window.trustedTypes;if(Yo)try{Ln=Yo.createPolicy("vue",{createHTML:e=>e})}catch{}const gi=Ln?e=>Ln.createHTML(e):e=>e,ju="http://www.w3.org/2000/svg",Wu="http://www.w3.org/1998/Math/MathML",kt=typeof document<"u"?document:null,Qo=kt&&kt.createElement("template"),Hu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const s=t==="svg"?kt.createElementNS(ju,e):t==="mathml"?kt.createElementNS(Wu,e):n?kt.createElement(e,{is:n}):kt.createElement(e);return e==="select"&&o&&o.multiple!=null&&s.setAttribute("multiple",o.multiple),s},createText:e=>kt.createTextNode(e),createComment:e=>kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,s,a){const d=n?n.previousSibling:t.lastChild;if(s&&(s===a||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===a||!(s=s.nextSibling)););else{Qo.innerHTML=gi(o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e);const p=Qo.content;if(o==="svg"||o==="mathml"){const v=p.firstChild;for(;v.firstChild;)p.appendChild(v.firstChild);p.removeChild(v)}t.insertBefore(p,n)}return[d?d.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ku=Symbol("_vtc");function Ju(e,t,n){const o=e[Ku];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Xo=Symbol("_vod"),qu=Symbol("_vsh"),zu=Symbol(""),Gu=/(?:^|;)\s*display\s*:/;function Yu(e,t,n){const o=e.style,s=xe(n);let a=!1;if(n&&!s){if(t)if(xe(t))for(const d of t.split(";")){const p=d.slice(0,d.indexOf(":")).trim();n[p]==null&&il(o,p,"")}else for(const d in t)n[d]==null&&il(o,d,"");for(const d in n){d==="display"&&(a=!0);const p=n[d];p!=null?Xu(e,d,!xe(t)&&t?t[d]:void 0,p)||il(o,d,p):il(o,d,"")}}else if(s){if(t!==n){const d=o[zu];d&&(n+=";"+d),o.cssText=n,a=Gu.test(n)}}else t&&e.removeAttribute("style");Xo in e&&(e[Xo]=a?o.display:"",e[qu]&&(o.display="none"))}const Zo=/\s*!important$/;function il(e,t,n){if(q(n))n.forEach(o=>il(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=Qu(e,t);Zo.test(n)?e.setProperty(Nt(o),n.replace(Zo,""),"important"):e[o]=n}}const es=["Webkit","Moz","ms"],Dn={};function Qu(e,t){const n=Dn[t];if(n)return n;let o=Qe(t);if(o!=="filter"&&o in e)return Dn[t]=o;o=vs(o);for(let s=0;s<es.length;s++){const a=es[s]+o;if(a in e)return Dn[t]=a}return t}function Xu(e,t,n,o){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&xe(o)&&n===o}const ts="http://www.w3.org/1999/xlink";function ls(e,t,n,o,s,a=Zr(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ts,t.slice(6,t.length)):e.setAttributeNS(ts,t,n):n==null||a&&!_s(n)?e.removeAttribute(t):e.setAttribute(t,a?"":ct(n)?String(n):n)}function ns(e,t,n,o,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?gi(n):n);return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const p=a==="OPTION"?e.getAttribute("value")||"":e.value,v=n==null?e.type==="checkbox"?"on":"":String(n);(p!==v||!("_value"in e))&&(e.value=v),n==null&&e.removeAttribute(t),e._value=n;return}let d=!1;if(n===""||n==null){const p=typeof e[t];p==="boolean"?n=_s(n):n==null&&p==="string"?(n="",d=!0):p==="number"&&(n=0,d=!0)}try{e[t]=n}catch{}d&&e.removeAttribute(s||t)}function Bt(e,t,n,o){e.addEventListener(t,n,o)}function Zu(e,t,n,o){e.removeEventListener(t,n,o)}const os=Symbol("_vei");function ed(e,t,n,o,s=null){const a=e[os]||(e[os]={}),d=a[t];if(o&&d)d.value=o;else{const[p,v]=nd(t);if(o){const h=a[t]=id(o,s);Bt(e,p,h,v)}else d&&(Zu(e,p,d,v),a[t]=void 0)}}const td=/(Once|Passive|Capture)$/,ld=/^on:?(?:Once|Passive|Capture)$/;function nd(e){let t,n;for(;(n=e.match(td))&&!ld.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Nt(e.slice(2)),t]}let In=0;const od=Promise.resolve(),sd=()=>In||(od.then(()=>In=0),In=Date.now());function id(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;const s=n.value;if(q(s)){const a=o.stopImmediatePropagation;o.stopImmediatePropagation=()=>{a.call(o),o._stopped=!0};const d=s.slice(),p=[o];for(let v=0;v<d.length&&!o._stopped;v++){const h=d[v];h&&et(h,t,5,p)}}else et(s,t,5,[o])};return n.value=e,n.attached=sd(),n}const ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,rd=(e,t,n,o,s,a)=>{const d=s==="svg";t==="class"?Ju(e,o,d):t==="style"?Yu(e,n,o):Gl(t)?Yl(t)||ed(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ad(e,t,o,d))?(ns(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ls(e,t,o,d,a,t!=="value")):e._isVueCE&&(ud(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!xe(o)))?ns(e,Qe(t),o,a,t):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),ls(e,t,o,d))};function ad(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&ss(t)&&Y(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ss(t)&&xe(n)?!1:t in e}function ud(e,t){const n=e._def.props;if(!n)return!1;const o=Qe(t);return Array.isArray(n)?n.some(s=>Qe(s)===o):Object.keys(n).some(s=>Qe(s)===o)}const ql=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>Vl(t,n):t};function dd(e){e.target.composing=!0}function is(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qt=Symbol("_assign");function rs(e,t,n){return t&&(e=e.trim()),n&&(e=Zl(e)),e}const M={created(e,{modifiers:{lazy:t,trim:n,number:o}},s){e[Qt]=ql(s);const a=o||s.props&&s.props.type==="number";Bt(e,t?"change":"input",d=>{d.target.composing||e[Qt](rs(e.value,n,a))}),(n||a)&&Bt(e,"change",()=>{e.value=rs(e.value,n,a)}),t||(Bt(e,"compositionstart",dd),Bt(e,"compositionend",is),Bt(e,"change",is))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:s,number:a}},d){if(e[Qt]=ql(d),e.composing)return;const p=(a||e.type==="number")&&!/^0\d/.test(e.value)?Zl(e.value):e.value,v=t??"";if(p===v)return;const h=e.getRootNode();(h instanceof Document||h instanceof ShadowRoot)&&h.activeElement===e&&e.type!=="range"&&(o&&t===n||s&&e.value.trim()===v)||(e.value=v)}},bt={deep:!0,created(e,{value:t,modifiers:{number:n}},o){const s=Ql(t);Bt(e,"change",()=>{const a=Array.prototype.filter.call(e.options,d=>d.selected).map(d=>n?Zl(zl(d)):zl(d));e[Qt](e.multiple?s?new Set(a):a:a[0]),e._assigning=!0,Rs(()=>{e._assigning=!1})}),e[Qt]=ql(o)},mounted(e,{value:t}){as(e,t)},beforeUpdate(e,t,n){e[Qt]=ql(n)},updated(e,{value:t}){e._assigning||as(e,t)}};function as(e,t){const n=e.multiple,o=q(t);if(!(n&&!o&&!Ql(t))){for(let s=0,a=e.options.length;s<a;s++){const d=e.options[s],p=zl(d);if(n)if(o){const v=typeof p;v==="string"||v==="number"?d.selected=t.some(h=>String(h)===String(p)):d.selected=ta(t,p)>-1}else d.selected=t.has(p);else if(bl(zl(d),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function zl(e){return"_value"in e?e._value:e.value}const cd=Ee({patchProp:rd},Hu);let us;function fd(){return us||(us=wu(cd))}const pd=((...e)=>{const t=fd().createApp(...e),{mount:n}=t;return t.mount=o=>{const s=gd(o);if(!s)return;const a=t._component;!Y(a)&&!a.render&&!a.template&&(a.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const d=n(s,!1,vd(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),d},t});function vd(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function gd(e){return xe(e)?document.querySelector(e):e}const _d="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",P={uiBootstrap:"ui/bootstrap",uiActions:"ui/actions",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,profileArchive:e=>`profiles/${e}/archive`,quickProfileDraft:"profiles/quick-draft",profileWorkflows:e=>`profiles/${e}/workflows`,workflow:e=>`workflows/${e}`,workflowStart:e=>`workflows/${e}/start`,workflowCancel:e=>`workflows/${e}/cancel`,workflowArchive:e=>`workflows/${e}/archive`,workflowNodes:e=>`workflows/${e}/nodes`,workflowBranches:e=>`workflows/${e}/branches`,workflowSwitchBranch:e=>`workflows/${e}/switch-branch`,workflowHistory:e=>`workflows/${e}/history`,node:e=>`nodes/${e}`,nodeGenerate:e=>`nodes/${e}/generate`,nodeRetry:e=>`nodes/${e}/retry`,nodeComplete:e=>`nodes/${e}/complete`,nodeMarkCompleted:e=>`nodes/${e}/mark-completed`,nodeSelectImage:e=>`nodes/${e}/select-image`,nodeAdoptImage:e=>`nodes/${e}/adopt-image`,reviewPolicy:"review/policy",reviewPolicyValidate:"review/policy/validate",reviewPolicySave:"review/policy/save",nodeReview:e=>`nodes/${e}/review`,nodeImages:e=>`nodes/${e}/images`,workflowReview:e=>`workflows/${e}/review`,image:e=>`images/${e}`,imageSelect:e=>`images/${e}/select`,imageUnselect:e=>`images/${e}/unselect`,imageArchive:e=>`images/${e}/archive`,jobs:"jobs",job:e=>`jobs/${e}`,jobCancel:e=>`jobs/${e}/cancel`,jobRetry:e=>`jobs/${e}/retry`,jobDeadLetterRetry:"jobs/dead-letter/retry",jobDeadLetterMoveFailed:"jobs/dead-letter/move-failed",settingsSchema:"settings/schema",settingsCurrent:"settings/current",settingsValidate:"settings/validate",settingsDiff:"settings/diff",settingsSave:"settings/save",settingsReload:"settings/reload",settingsExport:"settings/export",settingsImport:"settings/import",settingsSnapshots:"settings/snapshots",settingsSnapshot:e=>`settings/snapshots/${e}`,settingsRollback:"settings/rollback",storageStatus:"storage/status",storageMigrate:"storage/migrate",mediaSign:"media/sign",materialCategories:"material-categories",materialCategory:e=>`material-categories/${e}`,materials:"materials",materialUpload:"materials/upload",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialReRecognize:e=>`materials/${e}/re-recognize`,materialConfirm:e=>`materials/${e}/confirm`,assetImportPack:"assets/import-pack",wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItems:e=>`profiles/${e}/wardrobe/items`,wardrobeItem:(e,t)=>`profiles/${e}/wardrobe/items/${t}`,wardrobeLegacyItem:(e,t)=>`profiles/${e}/wardrobe/${t}`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,privateCompanionDailyOutfit:"integrations/private-companion/daily-outfit",integrationEventLogs:"integrations/logs",apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeProvider:"api-discovery/probe-provider",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",apiDiscoveryValidateRenderPlan:"api-discovery/validate-render-plan",generationLogs:"logs/generation",workflowLogs:"logs/workflows",errorLogs:"logs/errors",integrationLogs:"logs/integrations",auditLogs:"security/audit-logs",eventStream:"events/stream",webManifest:"web/manifest"};class hd extends Error{constructor(n,o,s={}){super(o);_n(this,"code");_n(this,"details");this.name="ApiClientError",this.code=n,this.details=s}}async function X(e,t){return it(e,{method:"GET",query:t})}async function z(e,t){return it(e,{method:"POST",body:t})}async function it(e,t={}){const o=await(await fetch(md(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(!o.ok)throw new hd(o.error_code,o.message,o.details);return o.data}function md(e,t){const n=e.replace(/^\/+/,""),o=new URL(`${_d}/${n}`,window.location.origin);for(const[s,a]of Object.entries(t??{}))a!==void 0&&o.searchParams.set(s,String(a));return`${o.pathname}${o.search}`}const yd={class:"web-shell"},bd={class:"sidebar"},wd={class:"brand"},kd=["onClick"],Cd={class:"workspace"},xd={class:"topbar"},Sd={class:"actions"},Pd=["disabled"],Dd={key:0,class:"notice error"},Id={key:1,class:"notice"},Ed={key:0,class:"dashboard-grid"},Td={key:1,class:"list-view"},Od=["src","alt"],Ad={key:0,class:"empty"},Ud={key:2,class:"list-view"},Md={class:"form-grid"},Rd={class:"wide-field"},$d=["disabled"],Vd=["disabled"],Bd={key:0},Ld={key:1,class:"form-grid"},Fd={class:"wide-field"},Nd={class:"wide-field"},jd={class:"wide-field"},Wd={class:"wide-field"},Hd={class:"wide-field"},Kd=["disabled"],Jd=["disabled"],qd={class:"inline-actions"},zd={class:"badge"},Gd=["disabled","onClick"],Yd=["disabled","onClick"],Qd={key:0,class:"empty"},Xd={key:3,class:"split-view"},Zd={class:"list-view"},ec={class:"form-grid"},tc=["disabled"],lc={class:"inline-actions"},nc={class:"badge"},oc=["disabled","onClick"],sc=["disabled","onClick"],ic=["disabled","onClick"],rc=["disabled","onClick"],ac={key:0,class:"empty"},uc={key:0,class:"editor-panel"},dc={class:"form-grid"},cc=["disabled"],fc=["disabled","onClick"],pc={class:"list-view"},vc={class:"inline-actions"},gc=["disabled"],_c={class:"form-grid"},hc={class:"wide-field"},mc={class:"wide-field"},yc={class:"wide-field"},bc=["disabled"],wc=["disabled"],kc={class:"form-grid"},Cc={class:"wide-field"},xc=["disabled"],Sc=["disabled"],Pc={class:"inline-actions"},Dc={class:"badge"},Ic=["disabled","onClick"],Ec=["disabled","onClick"],Tc=["disabled","onClick"],Oc=["disabled","onClick"],Ac={key:0,class:"empty"},Uc=["src","alt"],Mc={class:"inline-actions"},Rc={key:0,class:"badge"},$c=["disabled","onClick"],Vc=["disabled","onClick"],Bc=["disabled","onClick"],Lc=["disabled","onClick"],Fc=["disabled","onClick"],Nc=["disabled","onClick"],jc={key:0,class:"empty"},Wc={key:0},Hc={key:1},Kc={class:"editor-panel"},Jc={key:0,class:"empty"},qc={key:2,class:"editor-panel"},zc={class:"editor-panel"},Gc={class:"inline-actions"},Yc=["disabled"],Qc=["disabled"],Xc=["disabled"],Zc={key:0},ef={key:1},tf={key:3},lf={key:4,class:"split-view"},nf={class:"list-view"},of={class:"form-grid"},sf=["disabled"],rf=["disabled"],af={class:"inline-actions"},uf=["disabled","onClick"],df=["disabled","onClick"],cf={key:0,class:"empty"},ff={class:"list-view"},pf={class:"inline-actions"},vf=["disabled"],gf={class:"form-grid"},_f={value:""},hf=["value"],mf=["disabled"],yf=["disabled"],bf=["src","alt"],wf={class:"inline-actions"},kf={class:"badge"},Cf=["disabled","onClick"],xf=["disabled","onClick"],Sf=["disabled","onClick"],Pf=["disabled","onClick"],Df={key:0,class:"empty"},If={class:"form-grid"},Ef={value:""},Tf=["value"],Of=["disabled"],Af=["disabled"],Uf={key:0},Mf={key:5,class:"list-view"},Rf=["disabled"],$f={class:"form-grid"},Vf={value:""},Bf=["value"],Lf=["disabled"],Ff={key:0,class:"selected-material-preview"},Nf=["src","alt"],jf=["src","alt"],Wf={class:"inline-actions"},Hf=["disabled","onClick"],Kf={key:0,class:"empty"},Jf={key:0},qf={class:"form-grid"},zf=["disabled"],Gf={key:1},Yf={key:6,class:"list-view"},Qf={class:"inline-actions"},Xf=["disabled"],Zf=["disabled"],ep={class:"form-grid"},tp={value:""},lp=["value"],np={value:""},op=["value"],sp={value:""},ip=["value"],rp=["disabled"],ap={class:"inline-actions"},up={class:"badge"},dp=["onClick"],cp=["onClick"],fp=["disabled","onClick"],pp={key:0,class:"empty"},vp={key:0,class:"editor-panel"},gp={key:7,class:"split-view"},_p={class:"list-view"},hp={class:"inline-actions"},mp=["disabled"],yp=["disabled"],bp={class:"form-grid"},wp=["disabled"],kp={key:0},Cp={class:"list-view"},xp={class:"inline-actions"},Sp={class:"badge"},Pp=["disabled","onClick"],Dp=["disabled","onClick"],Ip=["disabled","onClick"],Ep={key:0,class:"empty"},Tp={key:8,class:"logs-view"},Op={class:"split-view"},Ap={class:"list-view"},Up={class:"form-grid"},Mp={value:""},Rp=["value"],$p=["disabled"],Vp={key:0,class:"empty"},Bp={class:"list-view"},Lp={class:"form-grid"},Fp=["disabled"],Np={class:"badge"},jp={key:0,class:"empty"},Wp={class:"split-view"},Hp={class:"list-view"},Kp={class:"form-grid"},Jp=["disabled"],qp={key:0,class:"empty"},zp={class:"list-view"},Gp={class:"form-grid"},Yp=["disabled"],Qp={class:"badge"},Xp={key:0,class:"empty"},Zp={class:"list-view"},ev={class:"form-grid"},tv=["disabled"],lv={class:"badge"},nv={key:0,class:"empty"},ov={key:0},sv={class:"list-view"},iv={class:"form-grid"},rv=["disabled"],av={key:0,class:"empty"},uv={key:0},dv={class:"list-view"},cv={class:"form-grid"},fv=["disabled"],pv={key:0,class:"empty"},vv={key:9,class:"settings-view"},gv={class:"toolbar"},_v=["disabled"],hv=["disabled"],mv=["disabled"],yv=["disabled"],bv=["disabled"],wv=["disabled"],kv=["disabled"],Cv={class:"settings-sections"},xv={class:"editor-panel"},Sv={class:"editor-panel"},Pv=["disabled"],Dv={class:"editor-panel"},Iv={class:"inline-actions"},Ev=["disabled","onClick"],Tv=["disabled","onClick"],Ov={key:0,class:"editor-panel"},Av={class:"split-view"},Uv={class:"list-view"},Mv={class:"list-view"},Rv={key:1,class:"editor-panel"},$v={class:"inspector"},Vv={class:"inspector-form"},Bv=["disabled"],Lv=["disabled"],Fv={key:0},Nv={class:"inspector-form"},jv=["disabled"],Wv=["disabled"],Hv={key:1},Kv=Na({__name:"App",setup(e){const t={waiting:"等待操作",loading:"加载中...",loadFailed:"加载失败",refresh:"刷新",complete:"完成",failed:"失败",noProfile:"未选择角色",noTags:"无标签",noImage:"未绑定图片",create:"新建",quickDraft:"快速草稿",archive:"归档",start:"启动",generate:"生成",adopt:"采纳",select:"选择",unselect:"取选",recognize:"识别",reRecognize:"重新识别",confirm:"确认",edit:"编辑",update:"更新",name:"名称",identity:"身份",personality:"性格",hairColor:"发色",hairstyle:"发型",eyeColor:"眼色",description:"描述",basePrompt:"基础提示词",appearancePrompt:"外观提示词",stylePrompt:"风格提示词",negativePrompt:"反向提示词",imageUri:"图片 URI",tags:"标签",category:"分类",allCategories:"全部分类",materialCreated:"素材已创建",materialUpdated:"素材已更新",materialUploaded:"素材已登记上传",materialArchived:"素材已归档",upload:"上传登记",filename:"文件名",contentType:"Content-Type",importToWardrobe:"加入衣橱",delete:"删除",wardrobeCategory:"衣橱分类",season:"季节",style:"风格",selectMaterial:"选择素材",wardrobeImported:"衣橱条目已加入",wardrobeDeleted:"衣橱条目已删除",dailyOutfit:"每日穿搭",categories:"分类",mood:"心情",weather:"天气",keywords:"关键词",outfitGenerated:"每日穿搭已生成",dashboard:"运行概览",profiles:"角色",workflows:"工作流",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",logs:"日志审计",settings:"设置",profileList:"角色列表",profileCreated:"角色已创建",profileUpdated:"角色已更新",profileArchived:"角色已归档",emptyProfiles:"暂无角色",workflowList:"工作流列表",workflowType:"工作流类型",workflowCreated:"工作流已创建",emptyWorkflows:"暂无工作流",nodes:"节点",nodeKey:"NodeKey",nodeTitle:"节点标题",nodeType:"节点类型",status:"状态",nodeCreated:"节点已创建",nodeUpdated:"节点已更新",nodeQueued:"节点已重新入队",nodeCompleted:"节点已完成",images:"图片",branches:"分支",branchName:"分支名",switchBranch:"切换分支",history:"历史",review:"评审",reviewResult:"评审结果",reviewPolicy:"评审策略",loadPolicy:"加载策略",validatePolicy:"校验策略",policyDraftInvalid:"策略 JSON 格式无效",emptyImages:"暂无图片",emptyHistory:"暂无历史",modelRoute:"模型路由",idempotencyKey:"幂等键",prompt:"提示词",generationQueued:"生成已入队",branchCreated:"分支已创建",imageArchived:"图片已归档",imageDeleted:"图片已删除",currentBranch:"当前分支",materialCategories:"素材分类",categoryType:"分类类型",sortOrder:"排序",categoryCreated:"分类已创建",categoryUpdated:"分类已更新",categoryDeleted:"分类已删除",materialItems:"素材条目",emptyCategories:"暂无分类",emptyMaterials:"暂无素材",pendingConfirm:"待确认",signFirstImage:"签名首图",noSignableMaterial:"没有可签名的素材图片",signMaterial:"签名素材",match:"匹配",matchWardrobe:"衣橱匹配",emptyWardrobe:"暂无衣橱条目",moveFailed:"失败转死信",retryDead:"重试死信",retry:"重试",cancel:"取消",filter:"筛选",applyFilters:"应用筛选",detail:"详情",jobDetail:"任务详情",allStatuses:"全部状态",allProfiles:"全部角色",allWorkflows:"全部工作流",emptyJobs:"暂无任务",dialects:"协议方言",safeProbe:"安全探测",probeProvider:"探测 Provider",capabilityProfiles:"能力档案",renderPlan:"RenderPlan",validatePlan:"校验计划",provider:"Provider",model:"Model",requiredCapabilities:"所需能力",validationStatus:"校验状态",support:"支持",unsupported:"不支持",unconfirmed:"待确认",emptyCapabilities:"暂无能力档案",generationLogs:"生成日志",errorLogs:"错误",workflowLogs:"工作流",integrationLogs:"集成",integrationEvents:"集成事件",eventStream:"事件流",ssePreview:"SSE Preview",auditLogs:"审计",targetType:"TargetType",actor:"操作人",emptyGenerationLogs:"暂无生成日志",emptyErrors:"暂无错误",emptyWorkflowLogs:"暂无工作流日志",emptyIntegrationLogs:"暂无集成日志",emptyEvents:"暂无事件",emptyAuditLogs:"暂无审计日志",noErrorDetail:"无错误详情",reload:"重载",validate:"校验",diff:"对比",save:"保存",reset:"重置",exportRedacted:"导出脱敏配置",exportSettings:"导出设置",exportDone:"导出设置完成,配置已脱敏",importSettings:"导入设置",importDone:"设置已导入",importDraftInvalid:"导入 JSON 格式无效",snapshots:"配置快照",loadSnapshots:"加载快照",loadSnapshot:"查看快照",snapshotPreview:"快照预览",rollback:"回滚",rollbackDone:"配置已回滚",settingsEditor:"配置编辑",settingsDraftInvalid:"配置 JSON 格式无效",settingsSaved:"设置已保存",validationResult:"校验结果",diffResult:"变更对比",storage:"存储",recentImages:"最近图片",storageMigrate:"迁移预检",storageMigrateApply:"执行迁移",overwriteRisk:"覆盖风险",assetImportPack:"资产包预检",assetImportApply:"导入资产包",manifest:"清单",manifestErrors:"清单错误",valid:"有效",invalid:"无效",packageUri:"包 URI",sourceUri:"源 URI",targetUri:"目标 URI",fileCount:"文件数",dryRun:"DryRun",running:"运行",applied:"已应用",created:"已创建",updated:"已更新"},n=[{key:"dashboard",label:"概览"},{key:"profiles",label:t.profiles},{key:"workflows",label:t.workflows},{key:"materials",label:"素材"},{key:"wardrobe",label:"衣橱"},{key:"jobs",label:"队列"},{key:"discovery",label:"探测"},{key:"logs",label:"日志"},{key:"settings",label:t.settings}],o=n.map(c=>c.key),s=$(bi()),a=$(null),d=$(null),p=$(null),v=$([]),h=$(null),_=$([]),w=$([]),R=$(null),L=$(null),ne=$(null),W=$(""),se=$(""),ue=$([]),ee=$(null),de=$(null),j=$(null),we=$(null),ke=$(null),Be=$(null),Ue=$([]),Ne=$(null),He=$([]),tt=$([]),vt=$([]),gt=$(null),me=$({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),lt=$([]),Ce=$(null),ie=$(null),te=$(null),ye=$(null),_t=$(""),je=$(""),Te=$([]),ht=$(null),At=$(null),Ut=$(null),Ge=$(null),le=$({name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""}),nt=$(null),ce=$({profile_id:"",name:"",description:"",base_prompt:"",appearance_prompt:"",style_prompt:"",negative_prompt:"",default_model_route:""}),Le=$({display_name:"",workflow_type:"single_image"}),Mt=$({branch_name:""}),f=$({node_id:"",node_key:"",title:"",description:"",node_type:"generation",status:"pending",prompt:"",negative_prompt:"",model_route:""}),g=$({model_route:"",prompt:"",negative_prompt:"",idempotency_key:""}),m=$({status:"",profile_id:"",workflow_id:""}),S=$({status:"",profile_id:"",workflow_id:"",node_id:""}),k=$({workflow_id:"",action:"",node_id:"",branch_name:""}),x=$({source:"",status:""}),A=$({integration_name:"",action:"",status:""}),D=$({integration_name:"",action:"",status:""}),E=$({event_type:""}),C=$({action:"",target_type:"",actor_id:""}),U=$({material_id:"",display_name:"",image_uri:"",tags:"",category_id:"",prompt:"",negative_prompt:""}),I=$({display_name:"",filename:"",content_type:"image/png",image_uri:"",category_id:""}),V=$({source_uri:"storage://images/sample.bin",target_uri:"storage://archives/sample.bin"}),N=$({package_uri:"storage://materials/pack"}),K=$({category_id:"",name:"",category_type:"material",sort_order:0}),J=$({material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}),Q=$({categories:"top,bottom,dress,shoes,accessory",mood:"",weather:"",keywords:""}),be=$(null),re=$({provider_id:"",model_id:"",required_capabilities:"text_to_image"}),Me=$(null),G=$(""),mt=$(!0),T=$(""),Se=$(""),Pe=wt(()=>{var c,u;return((u=(c=p.value)==null?void 0:c.items[0])==null?void 0:u.profile_id)??""}),el=wt(()=>{var c,u;return((u=(c=p.value)==null?void 0:c.items[0])==null?void 0:u.name)??t.noProfile}),Cl=wt(()=>{var u;const c=(u=d.value)==null?void 0:u.queue;return c?c.pending+c.running+c.failed+c.dead_letter:0}),_i=wt(()=>{var c;return((c=Ne.value)==null?void 0:c.items.filter(u=>u.recognition_status!=="confirmed").length)??0}),hi=wt(()=>{var c;return(((c=Ne.value)==null?void 0:c.items)??[]).filter(u=>u.recognition_status==="confirmed")}),jt=wt(()=>xl(J.value.material_id)),mi=wt(()=>{var c;return((c=h.value)==null?void 0:c.nodes.find(u=>u.node_id===se.value))??null}),lo=["created","queued","running","completed","succeeded","failed","cancelled","dead_letter"],yi=wt(()=>({dashboard:t.dashboard,profiles:t.profiles,workflows:t.workflows,materials:t.materials,wardrobe:t.wardrobe,jobs:t.jobs,discovery:t.discovery,logs:t.logs,settings:t.settings})[s.value]);Ks(un);function bi(){const c=new URLSearchParams(window.location.search).get("view");return o.includes(c)?c:"dashboard"}function xl(c){var u;return((u=Ne.value)==null?void 0:u.items.find(H=>H.material_id===c))??null}function Sl(c){return(c==null?void 0:c.thumbnail_url)??(c==null?void 0:c.image_url)??""}async function un(){var c,u;mt.value=!0,Se.value="";try{const[H,ae,De,Je,Dl,ll,Il,El,Tl,Ol,Al,Ul]=await Promise.all([X(P.uiBootstrap),X(P.dashboardSummary),X(P.profiles,{page:1,page_size:20}),X(P.jobs,{page:1,page_size:20}),X(P.settingsSchema),X(P.settingsCurrent),X(P.storageStatus),X(P.materialCategories),X(P.materials,{page:1,page_size:24}),X(P.apiDiscoveryDialects),X(P.apiDiscoveryCapabilities),X(P.reviewPolicy)]);a.value=H,d.value=ae,p.value=De,de.value=Je,we.value=Dl,ke.value=ll,Ht(ll.config),Be.value=Il,Ue.value=El,Ne.value=Tl,tt.value=Ol,vt.value=Al,fn(Ul),await Ei((c=De.items[0])==null?void 0:c.profile_id),await Ti((u=De.items[0])==null?void 0:u.profile_id),await wi(),await no()}catch(H){Se.value=H instanceof Error?H.message:t.loadFailed}finally{mt.value=!1}}async function wi(){const[c,u,H,ae,De,Je]=await Promise.allSettled([X(P.generationLogs,Ye(S.value,12)),X(P.workflowLogs,Ye(k.value,12)),X(P.errorLogs,Ye(x.value,12)),X(P.integrationLogs,Ye(A.value,12)),X(P.integrationEventLogs,Ye(D.value,20)),X(P.auditLogs,{limit:12})]);me.value={generation:Wt(c),workflows:Wt(u),errors:Wt(H),integrations:Wt(ae),audit:Wt(Je)},lt.value=Wt(De)}async function ki(){me.value.generation=await X(P.generationLogs,Ye(S.value,20))}async function Ci(){me.value.workflows=await X(P.workflowLogs,Ye(k.value,20))}async function xi(){me.value.errors=await X(P.errorLogs,Ye(x.value,20))}async function Si(){me.value.integrations=await X(P.integrationLogs,Ye(A.value,20))}async function Pi(){lt.value=await X(P.integrationEventLogs,Ye(D.value,20))}async function no(){Ce.value=await X(P.eventStream,Ye(E.value,20))}async function Di(){me.value.audit=await X(P.auditLogs,{action:C.value.action||void 0,target_type:C.value.target_type||void 0,actor_id:C.value.actor_id||void 0,limit:20})}function Wt(c){return c.status==="fulfilled"?c.value:[]}function Ye(c,u){const H={limit:u};for(const[ae,De]of Object.entries(c)){const Je=De.trim();H[ae]=Je||void 0}return H}async function Ii(){de.value=await X(P.jobs,{status:m.value.status||void 0,profile_id:m.value.profile_id||void 0,workflow_id:m.value.workflow_id||void 0,page:1,page_size:20})}async function Ei(c){if(!c){He.value=[];return}He.value=await X(P.wardrobe(c))}async function Ti(c){var ae,De;if(!c){v.value=[],h.value=null,_.value=[],w.value=[],se.value="",ue.value=[];return}v.value=await X(P.profileWorkflows(c));const u=(ae=h.value)==null?void 0:ae.workflow.workflow_id,H=v.value.some(Je=>Je.workflow_id===u)?u:(De=v.value[0])==null?void 0:De.workflow_id;H?await dn(H):h.value=null}async function dn(c){var De;const u=await X(P.workflow(c));h.value=u;const H=se.value,ae=u.nodes.some(Je=>Je.node_id===H)?H:u.workflow.current_node_id||((De=u.nodes[0])==null?void 0:De.node_id);ae?await oo(ae):(se.value="",ue.value=[]),await Oi(c)}async function oo(c){se.value=c,ue.value=await X(P.nodeImages(c))}async function Oi(c){const[u,H]=await Promise.all([X(P.workflowBranches(c)),X(P.workflowHistory(c))]);_.value=u,w.value=H}async function Ke(){var u;const c=(u=h.value)==null?void 0:u.workflow.workflow_id;c&&await dn(c)}async function B(c,u,H=!0){T.value=c,Se.value="";try{const ae=await u();G.value=`${c}${t.complete}`,c===t.exportSettings&&(G.value=`${t.exportDone}: ${!!ae.redacted}`),H&&await un()}catch(ae){Se.value=ae instanceof Error?ae.message:`${c}${t.failed}`}finally{T.value=""}}function Ai(c){return B(t.retry,()=>z(P.jobRetry(c)))}function Ui(c){return B(t.cancel,()=>z(P.jobCancel(c)))}function Mi(c){return B(t.detail,async()=>(j.value=await X(P.job(c)),j.value),!1)}function Ri(){le.value={name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""},nt.value=null}function $i(){return B(t.quickDraft,async()=>(nt.value=await z(P.quickProfileDraft,{questionnaire:{name:le.value.name,identity:le.value.identity,personality:Et(le.value.personality),hair_color:le.value.hair_color,hairstyle:le.value.hairstyle,eye_color:le.value.eye_color,style:le.value.style,clothing_keywords:Et(le.value.clothing_keywords)}}),nt.value),!1)}function Vi(){var u;const c=(u=nt.value)==null?void 0:u.profile_preview;return B(t.create,async()=>{const H=await z(P.profiles,{name:(c==null?void 0:c.name)||le.value.name,description:le.value.description,base_prompt:c==null?void 0:c.base_prompt,appearance_prompt:c==null?void 0:c.appearance_prompt,style_prompt:c==null?void 0:c.style_prompt,negative_prompt:c==null?void 0:c.negative_prompt});return Ri(),G.value=t.profileCreated,H})}function Bi(c){return B(t.archive,async()=>{const u=await z(P.profileArchive(c));return G.value=t.profileArchived,u})}function so(){ce.value={profile_id:"",name:"",description:"",base_prompt:"",appearance_prompt:"",style_prompt:"",negative_prompt:"",default_model_route:""}}function Li(c){ce.value={profile_id:c.profile_id,name:c.name,description:c.description??"",base_prompt:c.base_prompt??"",appearance_prompt:c.appearance_prompt??"",style_prompt:c.style_prompt??"",negative_prompt:c.negative_prompt??"",default_model_route:c.default_model_route??""}}function Fi(){return ce.value.profile_id?B(t.update,async()=>{const c=await it(P.profile(ce.value.profile_id),{method:"PUT",body:{name:ce.value.name,description:ce.value.description||void 0,base_prompt:ce.value.base_prompt||void 0,appearance_prompt:ce.value.appearance_prompt||void 0,style_prompt:ce.value.style_prompt||void 0,negative_prompt:ce.value.negative_prompt||void 0,default_model_route:ce.value.default_model_route||void 0}});return so(),G.value=t.profileUpdated,c}):Promise.resolve()}function Ni(){const c=Pe.value;return c?B(t.create,async()=>{const u=await z(P.profileWorkflows(c),{display_name:Le.value.display_name,workflow_type:Le.value.workflow_type});return Le.value.display_name="",h.value=u,G.value=t.workflowCreated,u}):Promise.resolve()}function ji(c){return B(t.start,()=>z(P.workflowStart(c)))}function Wi(c){return B(t.cancel,()=>z(P.workflowCancel(c)))}function Hi(c){return B(t.archive,()=>z(P.workflowArchive(c)))}function Ki(){var u;const c=(u=h.value)==null?void 0:u.workflow;return!c||!Mt.value.branch_name?Promise.resolve():B(t.branches,async()=>{const H=await z(P.workflowBranches(c.workflow_id),{branch_name:Mt.value.branch_name,base_branch_name:c.current_branch,base_node_id:se.value||c.current_node_id,copy_nodes:!0});return Mt.value.branch_name="",await Ke(),G.value=t.branchCreated,H},!1)}function Ji(c){var H;const u=(H=h.value)==null?void 0:H.workflow.workflow_id;return u?B(t.switchBranch,async()=>{const ae=await z(P.workflowSwitchBranch(u),{branch_name:c});return await Ke(),ae},!1):Promise.resolve()}function cn(){f.value={node_id:"",node_key:"",title:"",description:"",node_type:"generation",status:"pending",prompt:"",negative_prompt:"",model_route:""}}function qi(c){f.value={node_id:c.node_id,node_key:c.node_key,title:c.title,description:c.description??"",node_type:c.node_type,status:c.status,prompt:c.prompt??"",negative_prompt:c.negative_prompt??"",model_route:c.model_route??""}}function zi(){var H;const c=(H=h.value)==null?void 0:H.workflow.workflow_id;if(!c||!f.value.node_key||!f.value.title)return Promise.resolve();const u={node_key:f.value.node_key,title:f.value.title,description:f.value.description||void 0,node_type:f.value.node_type||"generation",status:f.value.status||"pending",prompt:f.value.prompt||void 0,negative_prompt:f.value.negative_prompt||void 0,model_route:f.value.model_route||void 0};return f.value.node_id?B(t.update,async()=>{const ae=await it(P.node(f.value.node_id),{method:"PUT",body:u});return cn(),await Ke(),G.value=t.nodeUpdated,ae},!1):B(t.create,async()=>{const ae=await z(P.workflowNodes(c),u);return cn(),await Ke(),G.value=t.nodeCreated,ae},!1)}function Gi(){var u;const c=(u=h.value)==null?void 0:u.workflow.workflow_id;return c?B(t.review,async()=>(R.value=await X(P.workflowReview(c)),R.value),!1):Promise.resolve()}function Yi(){const c=se.value;return c?B(t.review,async()=>(R.value=await X(P.nodeReview(c)),R.value),!1):Promise.resolve()}function fn(c){L.value=c,W.value=JSON.stringify(c,null,2)}function Qi(){return B(t.loadPolicy,async()=>{const c=await X(P.reviewPolicy);return fn(c),c},!1)}function Xi(){let c;try{c=JSON.parse(W.value||"{}")}catch{return G.value=t.policyDraftInvalid,Promise.resolve()}return B(t.validatePolicy,async()=>(ne.value=await z(P.reviewPolicyValidate,c),ne.value),!1)}function Zi(){let c;try{c=JSON.parse(W.value||"{}")}catch{return G.value=t.policyDraftInvalid,Promise.resolve()}return B(t.save,async()=>{const u=await z(P.reviewPolicySave,c);return fn(u.policy),ne.value={valid:!0,policy:u.policy,errors:[]},u},!1)}function er(){const c=se.value;return c?B(t.generate,async()=>(ee.value=await z(P.nodeGenerate(c),{model_route:g.value.model_route||void 0,prompt:g.value.prompt||void 0,negative_prompt:g.value.negative_prompt||void 0,idempotency_key:g.value.idempotency_key||void 0}),await Ke(),G.value=t.generationQueued,ee.value),!1):Promise.resolve()}function tr(c){return B(t.retry,async()=>{const u=await z(P.nodeRetry(c));return await Ke(),G.value=t.nodeQueued,u},!1)}function lr(c){return B(t.complete,async()=>{const u=await z(P.nodeMarkCompleted(c));return await Ke(),G.value=t.nodeCompleted,u},!1)}function nr(c){const u=se.value;return u?B(t.select,async()=>{const H=await z(P.nodeSelectImage(u),{image_id:c});return await Ke(),H},!1):Promise.resolve()}function or(c){const u=se.value;return u?B(t.adopt,async()=>{var ae;const H=await z(P.nodeAdoptImage(u),{image_id:c,title:(ae=mi.value)==null?void 0:ae.title});return await Ke(),H},!1):Promise.resolve()}function sr(c){return B(t.unselect,async()=>{const u=await z(P.imageUnselect(c));return await Ke(),u},!1)}function ir(c){return B(t.archive,async()=>{const u=await z(P.imageArchive(c));return await Ke(),G.value=t.imageArchived,u},!1)}function rr(c){return B(t.delete,async()=>{const u=await it(P.image(c),{method:"DELETE"});return await Ke(),G.value=t.imageDeleted,u},!1)}function ar(){return B(t.moveFailed,()=>z(P.jobDeadLetterMoveFailed,{limit:20}))}function ur(){return B(t.retryDead,()=>z(P.jobDeadLetterRetry,{limit:20}))}function dr(){var u;const c=((u=tt.value[0])==null?void 0:u.dialect)??"unknown";return B(t.safeProbe,()=>z(P.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:c,capabilities:{supports:["text_to_image"]}}))}function cr(){var u;const c=((u=tt.value[0])==null?void 0:u.dialect)??"unknown";return B(t.probeProvider,()=>z(P.apiDiscoveryProbeProvider,{provider_id:re.value.provider_id||"local-preview",model_id:re.value.model_id||"metadata-only",dialect:c,capabilities:{supports:Et(re.value.required_capabilities)}}))}function fr(){return B(t.validatePlan,async()=>(Me.value=await z(P.apiDiscoveryValidateRenderPlan,{provider_id:re.value.provider_id,model_id:re.value.model_id,required_capabilities:Et(re.value.required_capabilities)}),Me.value),!1)}function pn(c,u){return B(t.discovery,()=>z(P.apiDiscoveryManualOverride,{provider_id:c.provider_id,model_id:c.model_id,dialect:c.dialect,status:u,capabilities:c.capabilities}))}function pr(){const c=Pe.value;return c?B(t.matchWardrobe,async()=>(gt.value=await z(P.wardrobeMatch(c),{tags:["daily"]}),gt.value),!1):Promise.resolve()}function vr(){J.value={material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}}function gr(){const c=Pe.value;return c?B(t.importToWardrobe,async()=>{const u=await z(P.wardrobeItems(c),{material_id:J.value.material_id,wardrobe_category:J.value.wardrobe_category,tags:Et(J.value.tags),season:J.value.season||void 0,style:J.value.style||void 0});return vr(),G.value=t.wardrobeImported,u}):Promise.resolve()}function _r(c){const u=Pe.value;return u?B(t.delete,async()=>{const H=await it(P.wardrobeItem(u,c),{method:"DELETE"});return G.value=t.wardrobeDeleted,H}):Promise.resolve()}function hr(){const c=Pe.value;return c?B(t.dailyOutfit,async()=>(be.value=await z(P.privateCompanionDailyOutfit,{profile_id:c,categories:Et(Q.value.categories),mood:Q.value.mood,weather:Q.value.weather,keywords:Et(Q.value.keywords),request_source:"astrbot_plugin_private_companion"}),G.value=t.outfitGenerated,be.value),!1):Promise.resolve()}function mr(){return B(t.reload,async()=>{var u;const c=await z(P.settingsReload);return ke.value={config_path:((u=ke.value)==null?void 0:u.config_path)??"***PATH***",config:c.config},Ht(c.config),c},!1)}function yr(){return B(t.exportSettings,async()=>(At.value=await X(P.settingsExport),At.value),!1)}function Ht(c=(u=>(u=ke.value)==null?void 0:u.config)()??{}){_t.value=JSON.stringify(c,null,2),Ut.value=null,Ge.value=null}function vn(){try{const c=JSON.parse(_t.value);if(!c||Array.isArray(c)||typeof c!="object")throw new Error(t.settingsDraftInvalid);return c}catch(c){throw new Error(c instanceof Error?c.message:t.settingsDraftInvalid)}}function br(){try{const c=JSON.parse(je.value);if(!c||Array.isArray(c)||typeof c!="object")throw new Error(t.importDraftInvalid);return c}catch(c){throw new Error(c instanceof Error?c.message:t.importDraftInvalid)}}function wr(){return B(t.validate,async()=>(Ut.value=await z(P.settingsValidate,{config:vn()}),Ut.value),!1)}function kr(){return B(t.diff,async()=>(Ge.value=await z(P.settingsDiff,{config:vn()}),Ge.value),!1)}function Cr(){return B(t.save,async()=>{var u;const c=await z(P.settingsSave,{config:vn()});return ke.value={config_path:((u=ke.value)==null?void 0:u.config_path)??"***PATH***",config:c.config},Ht(c.config),G.value=t.settingsSaved,c},!1)}function xr(){return B(t.importSettings,async()=>{var u;const c=await z(P.settingsImport,{config:br()});return ke.value={config_path:((u=ke.value)==null?void 0:u.config_path)??"***PATH***",config:c.config},Ht(c.config),je.value="",G.value=t.importDone,c},!1)}function io(){return B(t.loadSnapshots,async()=>(Te.value=await X(P.settingsSnapshots,{limit:20}),ht.value=Te.value[0]??null,Te.value),!1)}function Sr(c){return B(t.loadSnapshot,async()=>(ht.value=await X(P.settingsSnapshot(c)),ht.value),!1)}function Pr(c){return B(t.rollback,async()=>{var H;const u=await z(P.settingsRollback,{snapshot_id:c});return ke.value={config_path:((H=ke.value)==null?void 0:H.config_path)??"***PATH***",config:u.config},Ht(u.config),await io(),G.value=t.rollbackDone,u},!1)}function Dr(){var u,H;const c=(H=(u=Ne.value)==null?void 0:u.items.find(ae=>{var De;return(De=ae.image_uri)==null?void 0:De.startsWith("storage://")}))==null?void 0:H.image_uri;return c?B(t.signMaterial,async()=>(ie.value=await X(P.mediaSign,{uri:c}),ie.value),!1):(G.value=t.noSignableMaterial,Promise.resolve())}function Ir(c){return c!=null&&c.startsWith("storage://")?B(t.signMaterial,async()=>(ie.value=await X(P.mediaSign,{uri:c}),ie.value),!1):(G.value=t.noSignableMaterial,Promise.resolve())}function Pl(){K.value={category_id:"",name:"",category_type:"material",sort_order:0}}function Er(c){K.value={category_id:c.category_id,name:c.name,category_type:c.category_type,sort_order:c.sort_order}}function Tr(){const c={name:K.value.name,category_type:K.value.category_type,sort_order:Number(K.value.sort_order)||0};return K.value.category_id?B(t.update,async()=>{const u=await it(P.materialCategory(K.value.category_id),{method:"PUT",body:c});return Pl(),G.value=t.categoryUpdated,u}):B(t.create,async()=>{const u=await z(P.materialCategories,c);return Pl(),G.value=t.categoryCreated,u})}function Or(c){return B(t.delete,async()=>{const u=await it(P.materialCategory(c),{method:"DELETE"});return K.value.category_id===c&&Pl(),G.value=t.categoryDeleted,u})}function gn(){U.value={material_id:"",display_name:"",image_uri:"",tags:"",category_id:"",prompt:"",negative_prompt:""}}function Ar(){const c={display_name:U.value.display_name,image_uri:U.value.image_uri||void 0,thumbnail_uri:U.value.image_uri||void 0,category_id:U.value.category_id||void 0,tags:Et(U.value.tags),prompt:U.value.prompt||void 0,negative_prompt:U.value.negative_prompt||void 0,recognition_status:U.value.image_uri?"pending_recognition":"pending_upload"};return U.value.material_id?B(t.update,async()=>{const u=await it(P.material(U.value.material_id),{method:"PUT",body:c});return gn(),G.value=t.materialUpdated,u}):B(t.create,async()=>{const u=await z(P.materials,c);return gn(),G.value=t.materialCreated,u})}function Ur(c){U.value={material_id:c.material_id,display_name:c.display_name,image_uri:c.image_uri??"",tags:c.tags.join(", "),category_id:c.category_id??"",prompt:c.prompt??"",negative_prompt:c.negative_prompt??""}}function ro(){I.value={display_name:"",filename:"",content_type:"image/png",image_uri:"",category_id:""}}function Mr(){return B(t.upload,async()=>{const c=await z(P.materialUpload,{display_name:I.value.display_name||void 0,filename:I.value.filename||void 0,content_type:I.value.content_type||void 0,image_uri:I.value.image_uri,category_id:I.value.category_id||void 0});return ro(),G.value=t.materialUploaded,c})}function Rr(c){const u=c.recognition_status==="confirmed"?P.materialReRecognize(c.material_id):P.materialRecognize(c.material_id),H=c.recognition_status==="confirmed"?t.reRecognize:t.recognize;return B(H,()=>z(u))}function $r(c){return B(t.confirm,()=>z(P.materialConfirm(c.material_id),{display_name:c.display_name,prompt:c.prompt,negative_prompt:c.negative_prompt,tags:c.tags}))}function Vr(c){return B(t.archive,async()=>{const u=await it(P.material(c),{method:"DELETE"});return G.value=t.materialArchived,u})}function Et(c){return c.split(",").map(u=>u.trim()).filter(Boolean)}function tl(c=0){return c<1024?`${c} B`:c<1024*1024?`${(c/1024).toFixed(1)} KB`:c<1024*1024*1024?`${(c/1024/1024).toFixed(1)} MB`:`${(c/1024/1024/1024).toFixed(1)} GB`}function ao(c){var u,H;return((H=(u=Be.value)==null?void 0:u.roots.find(ae=>ae.uri_prefix===c))==null?void 0:H.bytes)??0}function Br(){return B(t.storageMigrate,async()=>(te.value=await z(P.storageMigrate,{source_uri:V.value.source_uri,target_uri:V.value.target_uri,dry_run:!0}),te.value),!1)}function Lr(){return B(t.storageMigrateApply,async()=>(te.value=await z(P.storageMigrate,{source_uri:V.value.source_uri,target_uri:V.value.target_uri,dry_run:!1}),te.value),!1)}function Fr(){return B(t.assetImportPack,async()=>(ye.value=await z(P.assetImportPack,{package_uri:N.value.package_uri,dry_run:!0}),ye.value),!1)}function Nr(){return B(t.assetImportApply,async()=>(ye.value=await z(P.assetImportPack,{package_uri:N.value.package_uri,dry_run:!1}),ye.value),!1)}return(c,u)=>{var H,ae,De,Je,Dl,ll,Il,El,Tl,Ol,Al,Ul,uo,co,fo,po,vo,go,_o,ho,mo,yo,bo,wo,ko,Co,xo,So,Po,Do,Io,Eo,To,Oo;return y(),b("main",yd,[l("aside",bd,[l("div",wd,[l("strong",null,r(((H=a.value)==null?void 0:H.display_name)??"ImageStudio"),1),l("span",null,r(((ae=a.value)==null?void 0:ae.dashboard_user)??"AstrBot"),1)]),l("nav",null,[(y(),b(Z,null,fe(n,i=>l("button",{key:i.key,type:"button",class:tn({active:s.value===i.key}),onClick:oe=>s.value=i.key},r(i.label),11,kd)),64))])]),l("section",Cd,[l("header",xd,[l("div",null,[l("h1",null,r(yi.value),1),l("p",null,r(((De=d.value)==null?void 0:De.plugin_status)??"loading")+" / "+r(G.value||t.waiting),1)]),l("div",Sd,[l("button",{type:"button",disabled:!!T.value,onClick:un},r(T.value||t.refresh),9,Pd)])]),Se.value?(y(),b("section",Dd,r(Se.value),1)):mt.value?(y(),b("section",Id,r(t.loading),1)):(y(),b(Z,{key:2},[s.value==="dashboard"?(y(),b("section",Ed,[l("article",null,[l("span",null,r(t.profiles),1),l("strong",null,r(((Je=d.value)==null?void 0:Je.active_profiles)??0),1)]),l("article",null,[l("span",null,r(t.jobs),1),l("strong",null,r(Cl.value),1)]),l("article",null,[l("span",null,r(t.materials),1),l("strong",null,r(((Dl=Ne.value)==null?void 0:Dl.total)??0),1)]),l("article",null,[l("span",null,r(t.storage),1),l("strong",null,r(tl(((ll=Be.value)==null?void 0:ll.total_bytes)??((Il=d.value)==null?void 0:Il.storage.total_bytes))),1)])])):F("",!0),s.value==="dashboard"?(y(),b("section",Td,[l("header",null,[l("h2",null,r(t.recentImages),1),l("span",null,r(((El=d.value)==null?void 0:El.recent_images.length)??0),1)]),l("ul",null,[(y(!0),b(Z,null,fe(((Tl=d.value)==null?void 0:Tl.recent_images)??[],i=>(y(),b("li",{key:i.image_id},[i.thumbnail_url||i.image_url?(y(),b("img",{key:0,class:"image-preview",src:i.thumbnail_url??i.image_url??"",alt:i.image_id,loading:"lazy"},null,8,Od)):F("",!0),l("div",null,[l("strong",null,r(i.image_id),1),l("small",null,r(i.thumbnail_uri??i.image_uri),1)]),l("span",null,r(i.created_at),1)]))),128)),(Ol=d.value)!=null&&Ol.recent_images.length?F("",!0):(y(),b("li",Ad,r(t.emptyImages),1))])])):F("",!0),s.value==="profiles"?(y(),b("section",Ud,[l("header",null,[l("h2",null,r(t.profileList),1),l("span",null,r(((Al=p.value)==null?void 0:Al.total)??0),1)]),l("div",Md,[l("label",null,[l("span",null,r(t.name),1),O(l("input",{"onUpdate:modelValue":u[0]||(u[0]=i=>le.value.name=i),type:"text"},null,512),[[M,le.value.name]])]),l("label",null,[l("span",null,r(t.identity),1),O(l("input",{"onUpdate:modelValue":u[1]||(u[1]=i=>le.value.identity=i),type:"text"},null,512),[[M,le.value.identity]])]),l("label",null,[l("span",null,r(t.personality),1),O(l("input",{"onUpdate:modelValue":u[2]||(u[2]=i=>le.value.personality=i),type:"text",placeholder:"calm, brave"},null,512),[[M,le.value.personality]])]),l("label",null,[l("span",null,r(t.hairColor),1),O(l("input",{"onUpdate:modelValue":u[3]||(u[3]=i=>le.value.hair_color=i),type:"text"},null,512),[[M,le.value.hair_color]])]),l("label",null,[l("span",null,r(t.hairstyle),1),O(l("input",{"onUpdate:modelValue":u[4]||(u[4]=i=>le.value.hairstyle=i),type:"text"},null,512),[[M,le.value.hairstyle]])]),l("label",null,[l("span",null,r(t.eyeColor),1),O(l("input",{"onUpdate:modelValue":u[5]||(u[5]=i=>le.value.eye_color=i),type:"text"},null,512),[[M,le.value.eye_color]])]),l("label",null,[l("span",null,r(t.stylePrompt),1),O(l("input",{"onUpdate:modelValue":u[6]||(u[6]=i=>le.value.style=i),type:"text"},null,512),[[M,le.value.style]])]),l("label",null,[l("span",null,r(t.tags),1),O(l("input",{"onUpdate:modelValue":u[7]||(u[7]=i=>le.value.clothing_keywords=i),type:"text",placeholder:"white blouse, ribbon"},null,512),[[M,le.value.clothing_keywords]])]),l("label",Rd,[l("span",null,r(t.description),1),O(l("input",{"onUpdate:modelValue":u[8]||(u[8]=i=>le.value.description=i),type:"text"},null,512),[[M,le.value.description]])]),l("button",{type:"button",disabled:!!T.value||!le.value.name,onClick:$i},r(t.quickDraft),9,$d),l("button",{type:"button",disabled:!!T.value||!le.value.name,onClick:Vi},r(t.create),9,Vd)]),nt.value?(y(),b("pre",Bd,r(JSON.stringify(nt.value,null,2)),1)):F("",!0),ce.value.profile_id?(y(),b("div",Ld,[l("label",null,[l("span",null,r(t.name),1),O(l("input",{"onUpdate:modelValue":u[9]||(u[9]=i=>ce.value.name=i),type:"text"},null,512),[[M,ce.value.name]])]),l("label",null,[l("span",null,r(t.provider),1),O(l("input",{"onUpdate:modelValue":u[10]||(u[10]=i=>ce.value.default_model_route=i),type:"text"},null,512),[[M,ce.value.default_model_route]])]),l("label",Fd,[l("span",null,r(t.description),1),O(l("input",{"onUpdate:modelValue":u[11]||(u[11]=i=>ce.value.description=i),type:"text"},null,512),[[M,ce.value.description]])]),l("label",Nd,[l("span",null,r(t.basePrompt),1),O(l("input",{"onUpdate:modelValue":u[12]||(u[12]=i=>ce.value.base_prompt=i),type:"text"},null,512),[[M,ce.value.base_prompt]])]),l("label",jd,[l("span",null,r(t.appearancePrompt),1),O(l("input",{"onUpdate:modelValue":u[13]||(u[13]=i=>ce.value.appearance_prompt=i),type:"text"},null,512),[[M,ce.value.appearance_prompt]])]),l("label",Wd,[l("span",null,r(t.stylePrompt),1),O(l("input",{"onUpdate:modelValue":u[14]||(u[14]=i=>ce.value.style_prompt=i),type:"text"},null,512),[[M,ce.value.style_prompt]])]),l("label",Hd,[l("span",null,r(t.negativePrompt),1),O(l("input",{"onUpdate:modelValue":u[15]||(u[15]=i=>ce.value.negative_prompt=i),type:"text"},null,512),[[M,ce.value.negative_prompt]])]),l("button",{type:"button",disabled:!!T.value||!ce.value.name,onClick:Fi},r(t.update),9,Kd),l("button",{type:"button",disabled:!!T.value,onClick:so},r(t.reset),9,Jd)])):F("",!0),l("ul",null,[(y(!0),b(Z,null,fe(((Ul=p.value)==null?void 0:Ul.items)??[],i=>(y(),b("li",{key:i.profile_id},[l("div",null,[l("strong",null,r(i.name),1),l("small",null,r(i.profile_id),1)]),l("div",qd,[l("span",zd,r(i.status),1),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Li(i)},r(t.edit),9,Gd),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Bi(i.profile_id)},r(t.archive),9,Yd)])]))),128)),(uo=p.value)!=null&&uo.items.length?F("",!0):(y(),b("li",Qd,r(t.emptyProfiles),1))])])):F("",!0),s.value==="workflows"?(y(),b("section",Xd,[l("div",Zd,[l("header",null,[l("h2",null,r(el.value),1),l("span",null,r(v.value.length),1)]),l("div",ec,[l("label",null,[l("span",null,r(t.name),1),O(l("input",{"onUpdate:modelValue":u[16]||(u[16]=i=>Le.value.display_name=i),type:"text"},null,512),[[M,Le.value.display_name]])]),l("label",null,[l("span",null,r(t.workflowType),1),O(l("select",{"onUpdate:modelValue":u[17]||(u[17]=i=>Le.value.workflow_type=i)},[...u[87]||(u[87]=[l("option",{value:"single_image"},"single_image",-1),l("option",{value:"character_gradual"},"character_gradual",-1),l("option",{value:"character_fast"},"character_fast",-1),l("option",{value:"quick_profile"},"quick_profile",-1)])],512),[[bt,Le.value.workflow_type]])]),l("button",{type:"button",disabled:!!T.value||!Pe.value||!Le.value.display_name,onClick:Ni},r(t.create),9,tc)]),l("ul",null,[(y(!0),b(Z,null,fe(v.value,i=>(y(),b("li",{key:i.workflow_id},[l("div",null,[l("strong",null,r(i.display_name),1),l("small",null,r(i.workflow_type)+" / "+r(i.workflow_id),1)]),l("div",lc,[l("span",nc,r(i.status),1),l("button",{type:"button",disabled:!!T.value,onClick:oe=>dn(i.workflow_id)},r(t.nodes),9,oc),l("button",{type:"button",disabled:!!T.value,onClick:oe=>ji(i.workflow_id)},r(t.start),9,sc),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Wi(i.workflow_id)},r(t.cancel),9,ic),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Hi(i.workflow_id)},r(t.archive),9,rc)])]))),128)),v.value.length?F("",!0):(y(),b("li",ac,r(t.emptyWorkflows),1))]),h.value?(y(),b("section",uc,[l("header",null,[l("h2",null,r(t.branches),1),l("span",null,r(_.value.length),1)]),l("div",dc,[l("label",null,[l("span",null,r(t.branchName),1),O(l("input",{"onUpdate:modelValue":u[18]||(u[18]=i=>Mt.value.branch_name=i),type:"text",placeholder:"alt_pose"},null,512),[[M,Mt.value.branch_name]])]),l("button",{type:"button",disabled:!!T.value||!Mt.value.branch_name,onClick:Ki},r(t.create),9,cc)]),l("ul",null,[(y(!0),b(Z,null,fe(_.value,i=>(y(),b("li",{key:i.branch_id},[l("div",null,[l("strong",null,r(i.branch_name),1),l("small",null,r(i.base_branch_name??"main")+" / "+r(i.status),1)]),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Ji(i.branch_name)},r(t.switchBranch),9,fc)]))),128))])])):F("",!0)]),l("div",pc,[l("header",null,[l("h2",null,r(t.nodes),1),l("div",vc,[l("span",null,r(((co=h.value)==null?void 0:co.workflow.current_branch)??"main"),1),l("button",{type:"button",disabled:!!T.value||!h.value,onClick:Gi},r(t.review),9,gc)])]),l("div",_c,[l("label",null,[l("span",null,r(t.nodeKey),1),O(l("input",{"onUpdate:modelValue":u[19]||(u[19]=i=>f.value.node_key=i),type:"text"},null,512),[[M,f.value.node_key]])]),l("label",null,[l("span",null,r(t.nodeTitle),1),O(l("input",{"onUpdate:modelValue":u[20]||(u[20]=i=>f.value.title=i),type:"text"},null,512),[[M,f.value.title]])]),l("label",null,[l("span",null,r(t.nodeType),1),O(l("input",{"onUpdate:modelValue":u[21]||(u[21]=i=>f.value.node_type=i),type:"text"},null,512),[[M,f.value.node_type]])]),l("label",null,[l("span",null,r(t.status),1),O(l("input",{"onUpdate:modelValue":u[22]||(u[22]=i=>f.value.status=i),type:"text"},null,512),[[M,f.value.status]])]),l("label",hc,[l("span",null,r(t.description),1),O(l("input",{"onUpdate:modelValue":u[23]||(u[23]=i=>f.value.description=i),type:"text"},null,512),[[M,f.value.description]])]),l("label",mc,[l("span",null,r(t.prompt),1),O(l("input",{"onUpdate:modelValue":u[24]||(u[24]=i=>f.value.prompt=i),type:"text"},null,512),[[M,f.value.prompt]])]),l("label",yc,[l("span",null,r(t.negativePrompt),1),O(l("input",{"onUpdate:modelValue":u[25]||(u[25]=i=>f.value.negative_prompt=i),type:"text"},null,512),[[M,f.value.negative_prompt]])]),l("label",null,[l("span",null,r(t.modelRoute),1),O(l("input",{"onUpdate:modelValue":u[26]||(u[26]=i=>f.value.model_route=i),type:"text"},null,512),[[M,f.value.model_route]])]),l("button",{type:"button",disabled:!!T.value||!f.value.node_key||!f.value.title,onClick:zi},r(f.value.node_id?t.update:t.create),9,bc),l("button",{type:"button",disabled:!!T.value,onClick:cn},r(t.reset),9,wc)]),l("div",kc,[l("label",null,[l("span",null,r(t.modelRoute),1),O(l("input",{"onUpdate:modelValue":u[27]||(u[27]=i=>g.value.model_route=i),type:"text",placeholder:"image_low"},null,512),[[M,g.value.model_route]])]),l("label",null,[l("span",null,r(t.idempotencyKey),1),O(l("input",{"onUpdate:modelValue":u[28]||(u[28]=i=>g.value.idempotency_key=i),type:"text",placeholder:"node-generate-001"},null,512),[[M,g.value.idempotency_key]])]),l("label",null,[l("span",null,r(t.prompt),1),O(l("input",{"onUpdate:modelValue":u[29]||(u[29]=i=>g.value.prompt=i),type:"text"},null,512),[[M,g.value.prompt]])]),l("label",Cc,[l("span",null,r(t.negativePrompt),1),O(l("input",{"onUpdate:modelValue":u[30]||(u[30]=i=>g.value.negative_prompt=i),type:"text"},null,512),[[M,g.value.negative_prompt]])]),l("button",{type:"button",disabled:!!T.value||!se.value,onClick:er},r(t.generate),9,xc),l("button",{type:"button",disabled:!!T.value||!se.value,onClick:Yi},r(t.review),9,Sc)]),l("ul",null,[(y(!0),b(Z,null,fe(((fo=h.value)==null?void 0:fo.nodes)??[],i=>(y(),b("li",{key:i.node_id},[l("div",null,[l("strong",null,r(i.title),1),l("small",null,r(i.node_key)+" / "+r(i.node_id),1)]),l("div",Pc,[l("span",null,r(i.branch_name),1),l("span",Dc,r(i.status),1),l("button",{type:"button",disabled:!!T.value,onClick:oe=>qi(i)},r(t.edit),9,Ic),l("button",{type:"button",disabled:!!T.value,onClick:oe=>tr(i.node_id)},r(t.retry),9,Ec),l("button",{type:"button",disabled:!!T.value,onClick:oe=>lr(i.node_id)},r(t.complete),9,Tc),l("button",{type:"button",disabled:!!T.value,onClick:oe=>oo(i.node_id)},r(t.images),9,Oc)])]))),128)),(po=h.value)!=null&&po.nodes.length?F("",!0):(y(),b("li",Ac,r(t.emptyWorkflows),1))]),l("ul",null,[(y(!0),b(Z,null,fe(ue.value,i=>(y(),b("li",{key:i.image_id},[i.thumbnail_url||i.image_url?(y(),b("img",{key:0,class:"image-preview",src:i.thumbnail_url??i.image_url??"",alt:i.image_id,loading:"lazy"},null,8,Uc)):F("",!0),l("div",null,[l("strong",null,r(i.image_id),1),l("small",null,r(i.thumbnail_uri??i.image_uri),1)]),l("div",Mc,[i.is_selected?(y(),b("span",Rc,r(t.select),1)):F("",!0),l("button",{type:"button",disabled:!!T.value||i.is_selected||i.is_archived,onClick:oe=>nr(i.image_id)},r(t.select),9,$c),l("button",{type:"button",disabled:!!T.value||i.is_archived,onClick:oe=>or(i.image_id)},r(t.adopt),9,Vc),l("button",{type:"button",disabled:!!T.value||!!(i.thumbnail_url||i.image_url)||!(i.thumbnail_uri??i.image_uri).startsWith("storage://"),onClick:oe=>Ir(i.thumbnail_uri??i.image_uri)},r(t.signMaterial),9,Bc),l("button",{type:"button",disabled:!!T.value||!i.is_selected,onClick:oe=>sr(i.image_id)},r(t.unselect),9,Lc),l("button",{type:"button",disabled:!!T.value||i.is_archived,onClick:oe=>ir(i.image_id)},r(t.archive),9,Fc),l("button",{type:"button",disabled:!!T.value,onClick:oe=>rr(i.image_id)},r(t.delete),9,Nc)])]))),128)),ue.value.length?F("",!0):(y(),b("li",jc,r(t.emptyImages),1))]),ie.value?(y(),b("pre",Wc,r(JSON.stringify(ie.value,null,2)),1)):F("",!0),ee.value?(y(),b("pre",Hc,r(JSON.stringify(ee.value,null,2)),1)):F("",!0),l("section",Kc,[l("header",null,[l("h2",null,r(t.history),1),l("span",null,r(w.value.length),1)]),l("ul",null,[(y(!0),b(Z,null,fe(w.value,i=>(y(),b("li",{key:i.history_id},[l("div",null,[l("strong",null,r(i.action),1),l("small",null,r(i.title??i.node_id??i.workflow_id),1)]),l("span",null,r(i.branch_name),1)]))),128)),w.value.length?F("",!0):(y(),b("li",Jc,r(t.emptyHistory),1))])]),R.value?(y(),b("section",qc,[l("header",null,[l("h2",null,r(t.reviewResult),1),l("span",null,r(R.value.passed?t.support:t.unsupported),1)]),l("pre",null,r(JSON.stringify(R.value,null,2)),1)])):F("",!0),l("section",zc,[l("header",null,[l("h2",null,r(t.reviewPolicy),1),l("div",Gc,[l("button",{type:"button",disabled:!!T.value,onClick:Qi},r(t.loadPolicy),9,Yc),l("button",{type:"button",disabled:!!T.value||!W.value,onClick:Xi},r(t.validatePolicy),9,Qc),l("button",{type:"button",disabled:!!T.value||!W.value,onClick:Zi},r(t.save),9,Xc)])]),O(l("textarea",{"onUpdate:modelValue":u[31]||(u[31]=i=>W.value=i),spellcheck:"false"},null,512),[[M,W.value]]),ne.value?(y(),b("pre",Zc,r(JSON.stringify(ne.value,null,2)),1)):L.value?(y(),b("pre",ef,r(JSON.stringify(L.value,null,2)),1)):F("",!0)]),h.value?(y(),b("pre",tf,r(JSON.stringify(h.value.workflow,null,2)),1)):F("",!0)])])):F("",!0),s.value==="materials"?(y(),b("section",lf,[l("div",nf,[l("header",null,[l("h2",null,r(t.materialCategories),1),l("span",null,r(Ue.value.length),1)]),l("div",of,[l("label",null,[l("span",null,r(t.name),1),O(l("input",{"onUpdate:modelValue":u[32]||(u[32]=i=>K.value.name=i),type:"text"},null,512),[[M,K.value.name]])]),l("label",null,[l("span",null,r(t.categoryType),1),O(l("input",{"onUpdate:modelValue":u[33]||(u[33]=i=>K.value.category_type=i),type:"text"},null,512),[[M,K.value.category_type]])]),l("label",null,[l("span",null,r(t.sortOrder),1),O(l("input",{"onUpdate:modelValue":u[34]||(u[34]=i=>K.value.sort_order=i),type:"number"},null,512),[[M,K.value.sort_order,void 0,{number:!0}]])]),l("button",{type:"button",disabled:!!T.value||!K.value.name,onClick:Tr},r(K.value.category_id?t.update:t.create),9,sf),l("button",{type:"button",disabled:!!T.value,onClick:Pl},r(t.reset),9,rf)]),l("ul",null,[(y(!0),b(Z,null,fe(Ue.value,i=>(y(),b("li",{key:i.category_id},[l("div",null,[l("strong",null,r(i.name),1),l("small",null,r(i.category_type),1)]),l("div",af,[l("span",null,r(i.sort_order),1),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Er(i)},r(t.edit),9,uf),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Or(i.category_id)},r(t.delete),9,df)])]))),128)),Ue.value.length?F("",!0):(y(),b("li",cf,r(t.emptyCategories),1))])]),l("div",ff,[l("header",null,[l("h2",null,r(t.materialItems),1),l("div",pf,[l("span",null,r(_i.value)+" "+r(t.pendingConfirm),1),l("button",{type:"button",disabled:!!T.value,onClick:Dr},r(t.signFirstImage),9,vf)])]),l("div",gf,[l("label",null,[l("span",null,r(t.name),1),O(l("input",{"onUpdate:modelValue":u[35]||(u[35]=i=>U.value.display_name=i),type:"text"},null,512),[[M,U.value.display_name]])]),l("label",null,[l("span",null,r(t.imageUri),1),O(l("input",{"onUpdate:modelValue":u[36]||(u[36]=i=>U.value.image_uri=i),type:"text",placeholder:"storage://materials/example.png"},null,512),[[M,U.value.image_uri]])]),l("label",null,[l("span",null,r(t.category),1),O(l("select",{"onUpdate:modelValue":u[37]||(u[37]=i=>U.value.category_id=i)},[l("option",_f,r(t.allCategories),1),(y(!0),b(Z,null,fe(Ue.value,i=>(y(),b("option",{key:i.category_id,value:i.category_id},r(i.name),9,hf))),128))],512),[[bt,U.value.category_id]])]),l("label",null,[l("span",null,r(t.tags),1),O(l("input",{"onUpdate:modelValue":u[38]||(u[38]=i=>U.value.tags=i),type:"text",placeholder:"daily, top"},null,512),[[M,U.value.tags]])]),l("label",null,[l("span",null,r(t.prompt),1),O(l("input",{"onUpdate:modelValue":u[39]||(u[39]=i=>U.value.prompt=i),type:"text"},null,512),[[M,U.value.prompt]])]),l("label",null,[l("span",null,r(t.negativePrompt),1),O(l("input",{"onUpdate:modelValue":u[40]||(u[40]=i=>U.value.negative_prompt=i),type:"text"},null,512),[[M,U.value.negative_prompt]])]),l("button",{type:"button",disabled:!!T.value||!U.value.display_name,onClick:Ar},r(U.value.material_id?t.update:t.create),9,mf),l("button",{type:"button",disabled:!!T.value,onClick:gn},r(t.reset),9,yf)]),l("ul",null,[(y(!0),b(Z,null,fe(((vo=Ne.value)==null?void 0:vo.items)??[],i=>(y(),b("li",{key:i.material_id},[i.thumbnail_url||i.image_url?(y(),b("img",{key:0,class:"image-preview",src:i.thumbnail_url??i.image_url??"",alt:i.display_name,loading:"lazy"},null,8,bf)):F("",!0),l("div",null,[l("strong",null,r(i.display_name),1),l("small",null,r(i.image_uri??t.noImage),1)]),l("div",wf,[l("span",kf,r(i.recognition_status),1),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Ur(i)},r(t.edit),9,Cf),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Rr(i)},r(i.recognition_status==="confirmed"?t.reRecognize:t.recognize),9,xf),l("button",{type:"button",disabled:!!T.value||i.recognition_status==="confirmed",onClick:oe=>$r(i)},r(t.confirm),9,Sf),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Vr(i.material_id)},r(t.archive),9,Pf)])]))),128)),(go=Ne.value)!=null&&go.items.length?F("",!0):(y(),b("li",Df,r(t.emptyMaterials),1))]),l("div",If,[l("label",null,[l("span",null,r(t.name),1),O(l("input",{"onUpdate:modelValue":u[41]||(u[41]=i=>I.value.display_name=i),type:"text"},null,512),[[M,I.value.display_name]])]),l("label",null,[l("span",null,r(t.filename),1),O(l("input",{"onUpdate:modelValue":u[42]||(u[42]=i=>I.value.filename=i),type:"text"},null,512),[[M,I.value.filename]])]),l("label",null,[l("span",null,r(t.contentType),1),O(l("input",{"onUpdate:modelValue":u[43]||(u[43]=i=>I.value.content_type=i),type:"text"},null,512),[[M,I.value.content_type]])]),l("label",null,[l("span",null,r(t.imageUri),1),O(l("input",{"onUpdate:modelValue":u[44]||(u[44]=i=>I.value.image_uri=i),type:"text",placeholder:"storage://materials/upload.png"},null,512),[[M,I.value.image_uri]])]),l("label",null,[l("span",null,r(t.category),1),O(l("select",{"onUpdate:modelValue":u[45]||(u[45]=i=>I.value.category_id=i)},[l("option",Ef,r(t.allCategories),1),(y(!0),b(Z,null,fe(Ue.value,i=>(y(),b("option",{key:i.category_id,value:i.category_id},r(i.name),9,Tf))),128))],512),[[bt,I.value.category_id]])]),l("button",{type:"button",disabled:!!T.value||!I.value.image_uri,onClick:Mr},r(t.upload),9,Of),l("button",{type:"button",disabled:!!T.value,onClick:ro},r(t.reset),9,Af)]),ie.value?(y(),b("pre",Uf,r(JSON.stringify(ie.value,null,2)),1)):F("",!0)])])):F("",!0),s.value==="wardrobe"?(y(),b("section",Mf,[l("header",null,[l("h2",null,r(el.value),1),l("button",{type:"button",disabled:!Pe.value||!!T.value,onClick:pr},r(t.match),9,Rf)]),l("div",$f,[l("label",null,[l("span",null,r(t.selectMaterial),1),O(l("select",{"onUpdate:modelValue":u[46]||(u[46]=i=>J.value.material_id=i)},[l("option",Vf,r(t.selectMaterial),1),(y(!0),b(Z,null,fe(hi.value,i=>(y(),b("option",{key:i.material_id,value:i.material_id},r(i.display_name),9,Bf))),128))],512),[[bt,J.value.material_id]])]),l("label",null,[l("span",null,r(t.wardrobeCategory),1),O(l("input",{"onUpdate:modelValue":u[47]||(u[47]=i=>J.value.wardrobe_category=i),type:"text"},null,512),[[M,J.value.wardrobe_category]])]),l("label",null,[l("span",null,r(t.tags),1),O(l("input",{"onUpdate:modelValue":u[48]||(u[48]=i=>J.value.tags=i),type:"text",placeholder:"daily, top"},null,512),[[M,J.value.tags]])]),l("label",null,[l("span",null,r(t.season),1),O(l("input",{"onUpdate:modelValue":u[49]||(u[49]=i=>J.value.season=i),type:"text"},null,512),[[M,J.value.season]])]),l("label",null,[l("span",null,r(t.style),1),O(l("input",{"onUpdate:modelValue":u[50]||(u[50]=i=>J.value.style=i),type:"text"},null,512),[[M,J.value.style]])]),l("button",{type:"button",disabled:!!T.value||!Pe.value||!J.value.material_id||!J.value.wardrobe_category,onClick:gr},r(t.importToWardrobe),9,Lf),jt.value?(y(),b("div",Ff,[Sl(jt.value)?(y(),b("img",{key:0,class:"image-preview",src:Sl(jt.value),alt:jt.value.display_name,loading:"lazy"},null,8,Nf)):F("",!0),l("div",null,[l("strong",null,r(jt.value.display_name),1),l("small",null,r(jt.value.image_uri??t.noImage),1)])])):F("",!0)]),l("ul",null,[(y(!0),b(Z,null,fe(He.value,i=>{var oe;return y(),b("li",{key:i.wardrobe_item_id},[Sl(xl(i.material_id))?(y(),b("img",{key:0,class:"image-preview",src:Sl(xl(i.material_id)),alt:((oe=xl(i.material_id))==null?void 0:oe.display_name)??i.material_id,loading:"lazy"},null,8,jf)):F("",!0),l("div",null,[l("strong",null,r(i.wardrobe_category),1),l("small",null,r(i.material_id)+" / "+r(i.tags.join(", ")||t.noTags),1)]),l("div",Wf,[l("span",null,r(i.usage_count),1),l("button",{type:"button",disabled:!!T.value,onClick:zv=>_r(i.wardrobe_item_id)},r(t.delete),9,Hf)])])}),128)),He.value.length?F("",!0):(y(),b("li",Kf,r(t.emptyWardrobe),1))]),gt.value?(y(),b("pre",Jf,r(JSON.stringify(gt.value,null,2)),1)):F("",!0),l("div",qf,[l("label",null,[l("span",null,r(t.categories),1),O(l("input",{"onUpdate:modelValue":u[51]||(u[51]=i=>Q.value.categories=i),type:"text"},null,512),[[M,Q.value.categories]])]),l("label",null,[l("span",null,r(t.mood),1),O(l("input",{"onUpdate:modelValue":u[52]||(u[52]=i=>Q.value.mood=i),type:"text"},null,512),[[M,Q.value.mood]])]),l("label",null,[l("span",null,r(t.weather),1),O(l("input",{"onUpdate:modelValue":u[53]||(u[53]=i=>Q.value.weather=i),type:"text"},null,512),[[M,Q.value.weather]])]),l("label",null,[l("span",null,r(t.keywords),1),O(l("input",{"onUpdate:modelValue":u[54]||(u[54]=i=>Q.value.keywords=i),type:"text"},null,512),[[M,Q.value.keywords]])]),l("button",{type:"button",disabled:!!T.value||!Pe.value,onClick:hr},r(t.dailyOutfit),9,zf)]),be.value?(y(),b("pre",Gf,r(JSON.stringify(be.value,null,2)),1)):F("",!0)])):F("",!0),s.value==="jobs"?(y(),b("section",Yf,[l("header",null,[l("h2",null,r(t.jobs),1),l("div",Qf,[l("button",{type:"button",disabled:!!T.value,onClick:ar},r(t.moveFailed),9,Xf),l("button",{type:"button",disabled:!!T.value,onClick:ur},r(t.retryDead),9,Zf)])]),l("div",ep,[l("label",null,[u[88]||(u[88]=l("span",null,"Status",-1)),O(l("select",{"onUpdate:modelValue":u[55]||(u[55]=i=>m.value.status=i)},[l("option",tp,r(t.allStatuses),1),(y(),b(Z,null,fe(lo,i=>l("option",{key:i,value:i},r(i),9,lp)),64))],512),[[bt,m.value.status]])]),l("label",null,[l("span",null,r(t.profiles),1),O(l("select",{"onUpdate:modelValue":u[56]||(u[56]=i=>m.value.profile_id=i)},[l("option",np,r(t.allProfiles),1),(y(!0),b(Z,null,fe(((_o=p.value)==null?void 0:_o.items)??[],i=>(y(),b("option",{key:i.profile_id,value:i.profile_id},r(i.name),9,op))),128))],512),[[bt,m.value.profile_id]])]),l("label",null,[l("span",null,r(t.workflows),1),O(l("select",{"onUpdate:modelValue":u[57]||(u[57]=i=>m.value.workflow_id=i)},[l("option",sp,r(t.allWorkflows),1),(y(!0),b(Z,null,fe(v.value,i=>(y(),b("option",{key:i.workflow_id,value:i.workflow_id},r(i.display_name),9,ip))),128))],512),[[bt,m.value.workflow_id]])]),l("button",{type:"button",disabled:!!T.value,onClick:Ii},r(t.filter),9,rp)]),l("ul",null,[(y(!0),b(Z,null,fe(((ho=de.value)==null?void 0:ho.items)??[],i=>(y(),b("li",{key:i.task_id},[l("div",null,[l("strong",null,r(i.task_id),1),l("small",null,r(i.task_type)+" / "+r(i.progress)+"%",1)]),l("div",ap,[l("span",up,r(i.status),1),["failed","dead_letter","cancelled"].includes(i.status)?(y(),b("button",{key:0,type:"button",onClick:oe=>Ai(i.task_id)},r(t.retry),9,dp)):F("",!0),["completed","succeeded","cancelled"].includes(i.status)?F("",!0):(y(),b("button",{key:1,type:"button",onClick:oe=>Ui(i.task_id)},r(t.cancel),9,cp)),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Mi(i.task_id)},r(t.detail),9,fp)])]))),128)),(mo=de.value)!=null&&mo.items.length?F("",!0):(y(),b("li",pp,r(t.emptyJobs),1))]),j.value?(y(),b("section",vp,[l("header",null,[l("h2",null,r(t.jobDetail),1),l("span",null,r(j.value.status),1)]),l("pre",null,r(JSON.stringify(j.value,null,2)),1)])):F("",!0)])):F("",!0),s.value==="discovery"?(y(),b("section",gp,[l("div",_p,[l("header",null,[l("h2",null,r(t.dialects),1),l("div",hp,[l("button",{type:"button",disabled:!!T.value,onClick:cr},r(t.probeProvider),9,mp),l("button",{type:"button",disabled:!!T.value,onClick:dr},r(t.safeProbe),9,yp)])]),l("ul",null,[(y(!0),b(Z,null,fe(tt.value,i=>(y(),b("li",{key:i.dialect},[l("div",null,[l("strong",null,r(i.label),1),l("small",null,r(i.capabilities.join(", ")||t.unconfirmed),1)]),l("span",null,r(i.dialect),1)]))),128))]),l("div",bp,[l("label",null,[l("span",null,r(t.provider),1),O(l("input",{"onUpdate:modelValue":u[58]||(u[58]=i=>re.value.provider_id=i),type:"text",placeholder:"local-preview"},null,512),[[M,re.value.provider_id]])]),l("label",null,[l("span",null,r(t.model),1),O(l("input",{"onUpdate:modelValue":u[59]||(u[59]=i=>re.value.model_id=i),type:"text",placeholder:"metadata-only"},null,512),[[M,re.value.model_id]])]),l("label",null,[l("span",null,r(t.requiredCapabilities),1),O(l("input",{"onUpdate:modelValue":u[60]||(u[60]=i=>re.value.required_capabilities=i),type:"text",placeholder:"text_to_image"},null,512),[[M,re.value.required_capabilities]])]),l("button",{type:"button",disabled:!!T.value||!re.value.provider_id||!re.value.model_id,onClick:fr},r(t.validatePlan),9,wp)]),Me.value?(y(),b("pre",kp,r(JSON.stringify(Me.value,null,2)),1)):F("",!0)]),l("div",Cp,[l("header",null,[l("h2",null,r(t.capabilityProfiles),1),l("span",null,r(vt.value.length),1)]),l("ul",null,[(y(!0),b(Z,null,fe(vt.value,i=>(y(),b("li",{key:i.capability_profile_id},[l("div",null,[l("strong",null,r(i.provider_id)+" / "+r(i.model_id),1),l("small",null,r(i.dialect),1)]),l("div",xp,[l("span",Sp,r(i.status),1),l("button",{type:"button",disabled:!!T.value,onClick:oe=>pn(i,"confirmed_supported")},r(t.support),9,Pp),l("button",{type:"button",disabled:!!T.value,onClick:oe=>pn(i,"confirmed_unsupported")},r(t.unsupported),9,Dp),l("button",{type:"button",disabled:!!T.value,onClick:oe=>pn(i,"unconfirmed")},r(t.unconfirmed),9,Ip)])]))),128)),vt.value.length?F("",!0):(y(),b("li",Ep,r(t.emptyCapabilities),1))])])])):F("",!0),s.value==="logs"?(y(),b("section",Tp,[l("div",Op,[l("div",Ap,[l("header",null,[l("h2",null,r(t.generationLogs),1),l("span",null,r(me.value.generation.length),1)]),l("div",Up,[l("label",null,[l("span",null,r(t.status),1),O(l("select",{"onUpdate:modelValue":u[61]||(u[61]=i=>S.value.status=i)},[l("option",Mp,r(t.allStatuses),1),(y(),b(Z,null,fe(lo,i=>l("option",{key:`gen-${i}`,value:i},r(i),9,Rp)),64))],512),[[bt,S.value.status]])]),l("label",null,[u[89]||(u[89]=l("span",null,"ProfileId",-1)),O(l("input",{"onUpdate:modelValue":u[62]||(u[62]=i=>S.value.profile_id=i),type:"text"},null,512),[[M,S.value.profile_id]])]),l("label",null,[u[90]||(u[90]=l("span",null,"WorkflowId",-1)),O(l("input",{"onUpdate:modelValue":u[63]||(u[63]=i=>S.value.workflow_id=i),type:"text"},null,512),[[M,S.value.workflow_id]])]),l("label",null,[u[91]||(u[91]=l("span",null,"NodeId",-1)),O(l("input",{"onUpdate:modelValue":u[64]||(u[64]=i=>S.value.node_id=i),type:"text"},null,512),[[M,S.value.node_id]])]),l("button",{type:"button",disabled:!!T.value,onClick:ki},r(t.applyFilters),9,$p)]),l("ul",null,[(y(!0),b(Z,null,fe(me.value.generation,i=>(y(),b("li",{key:i.task_id},[l("div",null,[l("strong",null,r(i.task_id),1),l("small",null,r(i.status)+" / "+r(i.progress)+"%",1)]),l("span",null,r(i.created_at),1)]))),128)),me.value.generation.length?F("",!0):(y(),b("li",Vp,r(t.emptyGenerationLogs),1))])]),l("div",Bp,[l("header",null,[l("h2",null,r(t.errorLogs),1),l("span",null,r(me.value.errors.length),1)]),l("div",Lp,[l("label",null,[u[93]||(u[93]=l("span",null,"Source",-1)),O(l("select",{"onUpdate:modelValue":u[65]||(u[65]=i=>x.value.source=i)},[...u[92]||(u[92]=[l("option",{value:""},"All",-1),l("option",{value:"generation_task"},"generation_task",-1),l("option",{value:"integration"},"integration",-1)])],512),[[bt,x.value.source]])]),l("label",null,[l("span",null,r(t.status),1),O(l("input",{"onUpdate:modelValue":u[66]||(u[66]=i=>x.value.status=i),type:"text"},null,512),[[M,x.value.status]])]),l("button",{type:"button",disabled:!!T.value,onClick:xi},r(t.applyFilters),9,Fp)]),l("ul",null,[(y(!0),b(Z,null,fe(me.value.errors,i=>(y(),b("li",{key:`${i.source}-${i.id}`},[l("div",null,[l("strong",null,r(i.source),1),l("small",null,r(i.error_message??t.noErrorDetail),1)]),l("span",Np,r(i.status),1)]))),128)),me.value.errors.length?F("",!0):(y(),b("li",jp,r(t.emptyErrors),1))])])]),l("div",Wp,[l("div",Hp,[l("header",null,[l("h2",null,r(t.workflowLogs),1),l("span",null,r(me.value.workflows.length),1)]),l("div",Kp,[l("label",null,[u[94]||(u[94]=l("span",null,"WorkflowId",-1)),O(l("input",{"onUpdate:modelValue":u[67]||(u[67]=i=>k.value.workflow_id=i),type:"text"},null,512),[[M,k.value.workflow_id]])]),l("label",null,[u[95]||(u[95]=l("span",null,"Action",-1)),O(l("input",{"onUpdate:modelValue":u[68]||(u[68]=i=>k.value.action=i),type:"text"},null,512),[[M,k.value.action]])]),l("label",null,[u[96]||(u[96]=l("span",null,"NodeId",-1)),O(l("input",{"onUpdate:modelValue":u[69]||(u[69]=i=>k.value.node_id=i),type:"text"},null,512),[[M,k.value.node_id]])]),l("label",null,[l("span",null,r(t.currentBranch),1),O(l("input",{"onUpdate:modelValue":u[70]||(u[70]=i=>k.value.branch_name=i),type:"text"},null,512),[[M,k.value.branch_name]])]),l("button",{type:"button",disabled:!!T.value,onClick:Ci},r(t.applyFilters),9,Jp)]),l("ul",null,[(y(!0),b(Z,null,fe(me.value.workflows,i=>(y(),b("li",{key:i.history_id},[l("div",null,[l("strong",null,r(i.action),1),l("small",null,r(i.title??i.workflow_id),1)]),l("span",null,r(i.branch_name??"main"),1)]))),128)),me.value.workflows.length?F("",!0):(y(),b("li",qp,r(t.emptyWorkflowLogs),1))])]),l("div",zp,[l("header",null,[l("h2",null,r(t.integrationLogs),1),l("span",null,r(me.value.integrations.length),1)]),l("div",Gp,[l("label",null,[u[97]||(u[97]=l("span",null,"Integration",-1)),O(l("input",{"onUpdate:modelValue":u[71]||(u[71]=i=>A.value.integration_name=i),type:"text"},null,512),[[M,A.value.integration_name]])]),l("label",null,[u[98]||(u[98]=l("span",null,"Action",-1)),O(l("input",{"onUpdate:modelValue":u[72]||(u[72]=i=>A.value.action=i),type:"text"},null,512),[[M,A.value.action]])]),l("label",null,[l("span",null,r(t.status),1),O(l("input",{"onUpdate:modelValue":u[73]||(u[73]=i=>A.value.status=i),type:"text"},null,512),[[M,A.value.status]])]),l("button",{type:"button",disabled:!!T.value,onClick:Si},r(t.applyFilters),9,Yp)]),l("ul",null,[(y(!0),b(Z,null,fe(me.value.integrations,i=>(y(),b("li",{key:i.integration_log_id},[l("div",null,[l("strong",null,r(i.integration_name),1),l("small",null,r(i.action),1)]),l("span",Qp,r(i.status),1)]))),128)),me.value.integrations.length?F("",!0):(y(),b("li",Xp,r(t.emptyIntegrationLogs),1))])])]),l("div",Zp,[l("header",null,[l("h2",null,r(t.integrationEvents),1),l("span",null,r(lt.value.length),1)]),l("div",ev,[l("label",null,[u[99]||(u[99]=l("span",null,"Integration",-1)),O(l("input",{"onUpdate:modelValue":u[74]||(u[74]=i=>D.value.integration_name=i),type:"text"},null,512),[[M,D.value.integration_name]])]),l("label",null,[u[100]||(u[100]=l("span",null,"Action",-1)),O(l("input",{"onUpdate:modelValue":u[75]||(u[75]=i=>D.value.action=i),type:"text"},null,512),[[M,D.value.action]])]),l("label",null,[l("span",null,r(t.status),1),O(l("input",{"onUpdate:modelValue":u[76]||(u[76]=i=>D.value.status=i),type:"text"},null,512),[[M,D.value.status]])]),l("button",{type:"button",disabled:!!T.value,onClick:Pi},r(t.applyFilters),9,tv)]),l("ul",null,[(y(!0),b(Z,null,fe(lt.value,i=>(y(),b("li",{key:`event-${i.integration_log_id}`},[l("div",null,[l("strong",null,r(i.integration_name),1),l("small",null,r(i.action)+" / "+r(i.created_at),1)]),l("span",lv,r(i.status),1)]))),128)),lt.value.length?F("",!0):(y(),b("li",nv,r(t.emptyIntegrationLogs),1))]),lt.value.length?(y(),b("pre",ov,r(JSON.stringify(lt.value[0],null,2)),1)):F("",!0)]),l("div",sv,[l("header",null,[l("h2",null,r(t.eventStream),1),l("span",null,r(((yo=Ce.value)==null?void 0:yo.count)??0),1)]),l("div",iv,[l("label",null,[u[101]||(u[101]=l("span",null,"EventType",-1)),O(l("input",{"onUpdate:modelValue":u[77]||(u[77]=i=>E.value.event_type=i),type:"text"},null,512),[[M,E.value.event_type]])]),l("button",{type:"button",disabled:!!T.value,onClick:no},r(t.applyFilters),9,rv)]),l("ul",null,[(y(!0),b(Z,null,fe(((bo=Ce.value)==null?void 0:bo.events)??[],i=>(y(),b("li",{key:i.event_id},[l("div",null,[l("strong",null,r(i.event_type),1),l("small",null,r(i.event_id)+" / "+r(i.created_at),1)]),l("span",null,r(Object.keys(i.data).length),1)]))),128)),(wo=Ce.value)!=null&&wo.events.length?F("",!0):(y(),b("li",av,r(t.emptyEvents),1))]),(ko=Ce.value)!=null&&ko.body?(y(),b("pre",uv,r(Ce.value.body),1)):F("",!0)]),l("div",dv,[l("header",null,[l("h2",null,r(t.auditLogs),1),l("span",null,r(me.value.audit.length),1)]),l("div",cv,[l("label",null,[u[102]||(u[102]=l("span",null,"Action",-1)),O(l("input",{"onUpdate:modelValue":u[78]||(u[78]=i=>C.value.action=i),type:"text"},null,512),[[M,C.value.action]])]),l("label",null,[l("span",null,r(t.targetType),1),O(l("input",{"onUpdate:modelValue":u[79]||(u[79]=i=>C.value.target_type=i),type:"text"},null,512),[[M,C.value.target_type]])]),l("label",null,[l("span",null,r(t.actor),1),O(l("input",{"onUpdate:modelValue":u[80]||(u[80]=i=>C.value.actor_id=i),type:"text"},null,512),[[M,C.value.actor_id]])]),l("button",{type:"button",disabled:!!T.value,onClick:Di},r(t.filter),9,fv)]),l("ul",null,[(y(!0),b(Z,null,fe(me.value.audit,i=>(y(),b("li",{key:i.audit_id},[l("div",null,[l("strong",null,r(i.action),1),l("small",null,r(i.actor_type)+" / "+r(i.target_type)+" / "+r(i.target_id),1)]),l("span",null,r(i.created_at),1)]))),128)),me.value.audit.length?F("",!0):(y(),b("li",pv,r(t.emptyAuditLogs),1))])])])):F("",!0),s.value==="settings"?(y(),b("section",vv,[l("div",gv,[l("button",{type:"button",disabled:!!T.value,onClick:mr},r(t.reload),9,_v),l("button",{type:"button",disabled:!!T.value,onClick:u[81]||(u[81]=i=>Ht())},r(t.reset),9,hv),l("button",{type:"button",disabled:!!T.value,onClick:wr},r(t.validate),9,mv),l("button",{type:"button",disabled:!!T.value,onClick:kr},r(t.diff),9,yv),l("button",{type:"button",disabled:!!T.value,onClick:Cr},r(t.save),9,bv),l("button",{type:"button",disabled:!!T.value,onClick:yr},r(t.exportRedacted),9,wv),l("button",{type:"button",disabled:!!T.value,onClick:io},r(t.loadSnapshots),9,kv)]),l("div",Cv,[(y(!0),b(Z,null,fe(((Co=we.value)==null?void 0:Co.sections)??[],i=>(y(),b("article",{key:i.key},[l("h2",null,r(i.title),1),l("span",null,r(i.fields.length),1)]))),128))]),l("section",xv,[l("header",null,[l("h2",null,r(t.settingsEditor),1),l("span",null,r(((xo=ke.value)==null?void 0:xo.config_path)??"***PATH***"),1)]),O(l("textarea",{"onUpdate:modelValue":u[82]||(u[82]=i=>_t.value=i),spellcheck:"false"},null,512),[[M,_t.value]])]),l("section",Sv,[l("header",null,[l("h2",null,r(t.importSettings),1),l("button",{type:"button",disabled:!!T.value||!je.value,onClick:xr},r(t.importSettings),9,Pv)]),O(l("textarea",{"onUpdate:modelValue":u[83]||(u[83]=i=>je.value=i),spellcheck:"false"},null,512),[[M,je.value]])]),l("section",Dv,[l("header",null,[l("h2",null,r(t.snapshots),1),l("span",null,r(Te.value.length),1)]),l("ul",null,[(y(!0),b(Z,null,fe(Te.value,i=>(y(),b("li",{key:i.snapshot_id},[l("div",null,[l("strong",null,r(i.reason),1),l("small",null,r(i.snapshot_id)+" / "+r(i.created_at),1)]),l("div",Iv,[l("button",{type:"button",disabled:!!T.value,onClick:oe=>Sr(i.snapshot_id)},r(t.loadSnapshot),9,Ev),l("button",{type:"button",disabled:!!T.value,onClick:oe=>Pr(i.snapshot_id)},r(t.rollback),9,Tv)])]))),128))])]),ht.value?(y(),b("section",Ov,[l("header",null,[l("h2",null,r(t.snapshotPreview),1),l("span",null,r(ht.value.snapshot_id),1)]),l("pre",null,r(JSON.stringify(ht.value.config,null,2)),1)])):F("",!0),l("div",Av,[l("div",Uv,[l("header",null,[l("h2",null,r(t.validationResult),1),l("span",null,r(((So=Ut.value)==null?void 0:So.valid)??"-"),1)]),l("pre",null,r(JSON.stringify(Ut.value??{},null,2)),1)]),l("div",Mv,[l("header",null,[l("h2",null,r(t.diffResult),1),l("span",null,r(((Po=Ge.value)==null?void 0:Po.changes.length)??0),1)]),l("pre",null,r(JSON.stringify(Ge.value??{},null,2)),1)])]),At.value?(y(),b("section",Rv,[l("header",null,[l("h2",null,r(t.exportSettings),1),l("span",null,r(At.value.redacted),1)]),l("pre",null,r(JSON.stringify(At.value.config,null,2)),1)])):F("",!0)])):F("",!0)],64))]),l("aside",$v,[l("h2",null,r(t.running),1),l("dl",null,[l("div",null,[u[103]||(u[103]=l("dt",null,"Pending",-1)),l("dd",null,r(((Do=d.value)==null?void 0:Do.queue.pending)??0),1)]),l("div",null,[u[104]||(u[104]=l("dt",null,"Running",-1)),l("dd",null,r(((Io=d.value)==null?void 0:Io.queue.running)??0),1)]),l("div",null,[u[105]||(u[105]=l("dt",null,"Failed",-1)),l("dd",null,r(((Eo=d.value)==null?void 0:Eo.queue.failed)??0),1)]),l("div",null,[u[106]||(u[106]=l("dt",null,"Dead",-1)),l("dd",null,r(((To=d.value)==null?void 0:To.queue.dead_letter)??0),1)])]),l("h2",null,r(t.storage),1),l("dl",null,[l("div",null,[u[107]||(u[107]=l("dt",null,"Images",-1)),l("dd",null,r(tl(ao("storage://images/"))),1)]),l("div",null,[u[108]||(u[108]=l("dt",null,"Materials",-1)),l("dd",null,r(tl(ao("storage://materials/"))),1)])]),l("h2",null,r(t.storageMigrate),1),l("div",Vv,[l("label",null,[l("span",null,r(t.sourceUri),1),O(l("input",{"onUpdate:modelValue":u[84]||(u[84]=i=>V.value.source_uri=i),type:"text"},null,512),[[M,V.value.source_uri]])]),l("label",null,[l("span",null,r(t.targetUri),1),O(l("input",{"onUpdate:modelValue":u[85]||(u[85]=i=>V.value.target_uri=i),type:"text"},null,512),[[M,V.value.target_uri]])]),l("button",{type:"button",disabled:!!T.value||!V.value.source_uri||!V.value.target_uri,onClick:Br},r(t.storageMigrate),9,Bv),l("button",{type:"button",disabled:!!T.value||!V.value.source_uri||!V.value.target_uri,onClick:Lr},r(t.storageMigrateApply),9,Lv)]),te.value?(y(),b("dl",Fv,[l("div",null,[l("dt",null,r(t.status),1),l("dd",null,r(te.value.status),1)]),l("div",null,[l("dt",null,r(t.fileCount),1),l("dd",null,r(te.value.files),1)]),l("div",null,[l("dt",null,r(t.storage),1),l("dd",null,r(tl(te.value.bytes)),1)]),l("div",null,[l("dt",null,r(t.dryRun),1),l("dd",null,r(te.value.dry_run),1)]),l("div",null,[l("dt",null,r(t.overwriteRisk),1),l("dd",null,r(te.value.will_overwrite?t.support:t.unsupported),1)])])):F("",!0),l("h2",null,r(t.assetImportPack),1),l("div",Nv,[l("label",null,[l("span",null,r(t.packageUri),1),O(l("input",{"onUpdate:modelValue":u[86]||(u[86]=i=>N.value.package_uri=i),type:"text"},null,512),[[M,N.value.package_uri]])]),l("button",{type:"button",disabled:!!T.value||!N.value.package_uri,onClick:Fr},r(t.assetImportPack),9,jv),l("button",{type:"button",disabled:!!T.value||!N.value.package_uri,onClick:Nr},r(t.assetImportApply),9,Wv)]),ye.value?(y(),b("dl",Hv,[l("div",null,[l("dt",null,r(t.fileCount),1),l("dd",null,r(ye.value.files),1)]),l("div",null,[l("dt",null,r(t.storage),1),l("dd",null,r(tl(ye.value.bytes)),1)]),l("div",null,[u[109]||(u[109]=l("dt",null,"Manifest",-1)),l("dd",null,r(ye.value.manifest.valid?t.valid:t.invalid),1)]),l("div",null,[l("dt",null,r(t.name),1),l("dd",null,r(ye.value.manifest.name??"-"),1)]),l("div",null,[l("dt",null,r(t.materials),1),l("dd",null,r(ye.value.manifest.materials),1)]),l("div",null,[l("dt",null,r(t.style),1),l("dd",null,r(ye.value.manifest.styles),1)]),l("div",null,[l("dt",null,r(t.manifestErrors),1),l("dd",null,r(((Oo=ye.value.manifest.errors[0])==null?void 0:Oo.code)??"0"),1)]),l("div",null,[l("dt",null,r(t.dryRun),1),l("dd",null,r(ye.value.dry_run),1)]),l("div",null,[l("dt",null,r(t.applied),1),l("dd",null,r(ye.value.applied.materials)+" / "+r(ye.value.applied.styles),1)]),l("div",null,[l("dt",null,r(t.created),1),l("dd",null,r(ye.value.applied.created),1)]),l("div",null,[l("dt",null,r(t.updated),1),l("dd",null,r(ye.value.applied.updated),1)])])):F("",!0)])])}}}),Jv=(e,t)=>{const n=e.__vccOpts||e;for(const[o,s]of t)n[o]=s;return n},qv=Jv(Kv,[["__scopeId","data-v-f7f069c0"]]);pd(qv).mount("#app");