17 行
99 KiB
JavaScript
17 行
99 KiB
JavaScript
var qi=Object.defineProperty;var Ji=(e,t,n)=>t in e?qi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Xn=(e,t,n)=>Ji(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))s(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&s(r)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();/**
|
|
* @vue/shared v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function xs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Rt=[],tt=()=>{},Ml=()=>!1,$n=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ln=e=>e.startsWith("onUpdate:"),Ce=Object.assign,Cs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gi=Object.prototype.hasOwnProperty,Q=(e,t)=>Gi.call(e,t),j=Array.isArray,$t=e=>rn(e)==="[object Map]",Fn=e=>rn(e)==="[object Set]",el=e=>rn(e)==="[object Date]",N=e=>typeof e=="function",he=e=>typeof e=="string",nt=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Il=e=>(se(e)||N(e))&&N(e.then)&&N(e.catch),Rl=Object.prototype.toString,rn=e=>Rl.call(e),zi=e=>rn(e).slice(8,-1),$l=e=>rn(e)==="[object Object]",Ss=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=xs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),jn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Yi=/-\w/g,qe=jn(e=>e.replace(Yi,t=>t.slice(1).toUpperCase())),Xi=/\B([A-Z])/g,Ot=jn(e=>e.replace(Xi,"-$1").toLowerCase()),Ll=jn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qn=jn(e=>e?`on${Ll(e)}`:""),et=(e,t)=>!Object.is(e,t),Cn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Fl=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Vn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let tl;const Bn=()=>tl||(tl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ks(e){if(j(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],l=he(s)?to(s):ks(s);if(l)for(const i in l)t[i]=l[i]}return t}else if(he(e)||se(e))return e}const Qi=/;(?![^(]*\))/g,Zi=/:([^]+)/,eo=/\/\*[^]*?\*\//g;function to(e){const t={};return e.replace(eo,"").split(Qi).forEach(n=>{if(n){const s=n.split(Zi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Nn(e){let t="";if(he(e))t=e;else if(j(e))for(let n=0;n<e.length;n++){const s=Nn(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const no="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",so=xs(no);function jl(e){return!!e||e===""}function lo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=an(e[s],t[s]);return n}function an(e,t){if(e===t)return!0;let n=el(e),s=el(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=nt(e),s=nt(t),n||s)return e===t;if(n=j(e),s=j(t),n||s)return n&&s?lo(e,t):!1;if(n=se(e),s=se(t),n||s){if(!n||!s)return!1;const l=Object.keys(e).length,i=Object.keys(t).length;if(l!==i)return!1;for(const r in e){const a=e.hasOwnProperty(r),c=t.hasOwnProperty(r);if(a&&!c||!a&&c||!an(e[r],t[r]))return!1}}return String(e)===String(t)}function io(e,t){return e.findIndex(n=>an(n,t))}const Vl=e=>!!(e&&e.__v_isRef===!0),d=e=>he(e)?e:e==null?"":j(e)||se(e)&&(e.toString===Rl||!N(e.toString))?Vl(e)?d(e.value):JSON.stringify(e,Bl,2):String(e),Bl=(e,t)=>Vl(t)?Bl(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,l],i)=>(n[Zn(s,i)+" =>"]=l,n),{})}:Fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Zn(n))}:nt(t)?Zn(t):se(t)&&!j(t)&&!$l(t)?String(t):t,Zn=(e,t="")=>{var n;return nt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let xe;class oo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&xe&&(xe.active?(this.parent=xe,this.index=(xe.scopes||(xe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;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=xe;try{return xe=this,t()}finally{xe=n}}}on(){++this._on===1&&(this.prevScope=xe,xe=this)}off(){if(this._on>0&&--this._on===0){if(xe===this)xe=this.prevScope;else{let t=xe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const l=this.parent.scopes.pop();l&&l!==this&&(this.parent.scopes[this.index]=l,l.index=this.index)}this.parent=void 0}}}function ro(){return xe}let ie;const es=new WeakSet;class Nl{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,xe&&(xe.active?xe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,es.has(this)&&(es.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Hl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,nl(this),Wl(this);const t=ie,n=Je;ie=this,Je=!0;try{return this.fn()}finally{Kl(this),ie=t,Je=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ts(t);this.deps=this.depsTail=void 0,nl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?es.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){fs(this)&&this.run()}get dirty(){return fs(this)}}let Ul=0,Gt,zt;function Hl(e,t=!1){if(e.flags|=8,t){e.next=zt,zt=e;return}e.next=Gt,Gt=e}function Ps(){Ul++}function Es(){if(--Ul>0)return;if(zt){let t=zt;for(zt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Gt;){let t=Gt;for(Gt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Wl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Kl(e){let t,n=e.depsTail,s=n;for(;s;){const l=s.prevDep;s.version===-1?(s===n&&(n=l),Ts(s),ao(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=l}e.deps=t,e.depsTail=n}function fs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ql(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ql(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===tn)||(e.globalVersion=tn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!fs(e))))return;e.flags|=2;const t=e.dep,n=ie,s=Je;ie=e,Je=!0;try{Wl(e);const l=e.fn(e._value);(t.version===0||et(l,e._value))&&(e.flags|=128,e._value=l,t.version++)}catch(l){throw t.version++,l}finally{ie=n,Je=s,Kl(e),e.flags&=-3}}function Ts(e,t=!1){const{dep:n,prevSub:s,nextSub:l}=e;if(s&&(s.nextSub=l,e.prevSub=void 0),l&&(l.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ts(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ao(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Je=!0;const Jl=[];function st(){Jl.push(Je),Je=!1}function lt(){const e=Jl.pop();Je=e===void 0?!0:e}function nl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let tn=0;class uo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Os{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ie||!Je||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new uo(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,Gl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,tn++,this.notify(t)}notify(t){Ps();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Es()}}}function Gl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Gl(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ds=new WeakMap,Et=Symbol(""),ps=Symbol(""),nn=Symbol("");function Ee(e,t,n){if(Je&&ie){let s=ds.get(e);s||ds.set(e,s=new Map);let l=s.get(n);l||(s.set(n,l=new Os),l.map=s,l.key=n),l.track()}}function at(e,t,n,s,l,i){const r=ds.get(e);if(!r){tn++;return}const a=c=>{c&&c.trigger()};if(Ps(),t==="clear")r.forEach(a);else{const c=j(e),g=c&&Ss(n);if(c&&n==="length"){const h=Number(s);r.forEach((y,D)=>{(D==="length"||D===nn||!nt(D)&&D>=h)&&a(y)})}else switch((n!==void 0||r.has(void 0))&&a(r.get(n)),g&&a(r.get(nn)),t){case"add":c?g&&a(r.get("length")):(a(r.get(Et)),$t(e)&&a(r.get(ps)));break;case"delete":c||(a(r.get(Et)),$t(e)&&a(r.get(ps)));break;case"set":$t(e)&&a(r.get(Et));break}}Es()}function Mt(e){const t=X(e);return t===e?t:(Ee(t,"iterate",nn),He(e)?t:t.map(Ge))}function Un(e){return Ee(e=X(e),"iterate",nn),e}function Qe(e,t){return ft(e)?Vt(Tt(e)?Ge(t):t):Ge(t)}const co={__proto__:null,[Symbol.iterator](){return ts(this,Symbol.iterator,e=>Qe(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>j(t)?Mt(t):t))},entries(){return ts(this,"entries",e=>(e[1]=Qe(this,e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,n=>n.map(s=>Qe(this,s)),arguments)},find(e,t){return it(this,"find",e,t,n=>Qe(this,n),arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,n=>Qe(this,n),arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return ns(this,"includes",e)},indexOf(...e){return ns(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return ns(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return Ht(this,"pop")},push(...e){return Ht(this,"push",e)},reduce(e,...t){return sl(this,"reduce",e,t)},reduceRight(e,...t){return sl(this,"reduceRight",e,t)},shift(){return Ht(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return Ht(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return Ht(this,"unshift",e)},values(){return ts(this,"values",e=>Qe(this,e))}};function ts(e,t,n){const s=Un(e),l=s[t]();return s!==e&&!He(e)&&(l._next=l.next,l.next=()=>{const i=l._next();return i.done||(i.value=n(i.value)),i}),l}const fo=Array.prototype;function it(e,t,n,s,l,i){const r=Un(e),a=r!==e&&!He(e),c=r[t];if(c!==fo[t]){const y=c.apply(e,i);return a?Ge(y):y}let g=n;r!==e&&(a?g=function(y,D){return n.call(this,Qe(e,y),D,e)}:n.length>2&&(g=function(y,D){return n.call(this,y,D,e)}));const h=c.call(r,g,s);return a&&l?l(h):h}function sl(e,t,n,s){const l=Un(e),i=l!==e&&!He(e);let r=n,a=!1;l!==e&&(i?(a=s.length===0,r=function(g,h,y){return a&&(a=!1,g=Qe(e,g)),n.call(this,g,Qe(e,h),y,e)}):n.length>3&&(r=function(g,h,y){return n.call(this,g,h,y,e)}));const c=l[t](r,...s);return a?Qe(e,c):c}function ns(e,t,n){const s=X(e);Ee(s,"iterate",nn);const l=s[t](...n);return(l===-1||l===!1)&&Is(n[0])?(n[0]=X(n[0]),s[t](...n)):l}function Ht(e,t,n=[]){st(),Ps();const s=X(e)[t].apply(e,n);return Es(),lt(),s}const po=xs("__proto__,__v_isRef,__isVue"),zl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nt));function ho(e){nt(e)||(e=String(e));const t=X(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class Yl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const l=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!l;if(n==="__v_isReadonly")return l;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(l?i?So:ei:i?Zl:Ql).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=j(t);if(!l){let c;if(r&&(c=co[n]))return c;if(n==="hasOwnProperty")return ho}const a=Reflect.get(t,n,Te(t)?t:s);if((nt(n)?zl.has(n):po(n))||(l||Ee(t,"get",n),i))return a;if(Te(a)){const c=r&&Ss(n)?a:a.value;return l&&se(c)?gs(c):c}return se(a)?l?gs(a):As(a):a}}class Xl extends Yl{constructor(t=!1){super(!1,t)}set(t,n,s,l){let i=t[n];const r=j(t)&&Ss(n);if(!this._isShallow){const g=ft(i);if(!He(s)&&!ft(s)&&(i=X(i),s=X(s)),!r&&Te(i)&&!Te(s))return g||(i.value=s),!0}const a=r?Number(n)<t.length:Q(t,n),c=Reflect.set(t,n,s,Te(t)?t:l);return t===X(l)&&c&&(a?et(s,i)&&at(t,"set",n,s):at(t,"add",n,s)),c}deleteProperty(t,n){const s=Q(t,n);t[n];const l=Reflect.deleteProperty(t,n);return l&&s&&at(t,"delete",n,void 0),l}has(t,n){const s=Reflect.has(t,n);return(!nt(n)||!zl.has(n))&&Ee(t,"has",n),s}ownKeys(t){return Ee(t,"iterate",j(t)?"length":Et),Reflect.ownKeys(t)}}class go extends Yl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const _o=new Xl,vo=new go,mo=new Xl(!0);const hs=e=>e,bn=e=>Reflect.getPrototypeOf(e);function yo(e,t,n){return function(...s){const l=this.__v_raw,i=X(l),r=$t(i),a=e==="entries"||e===Symbol.iterator&&r,c=e==="keys"&&r,g=l[e](...s),h=n?hs:t?Vt:Ge;return!t&&Ee(i,"iterate",c?ps:Et),Ce(Object.create(g),{next(){const{value:y,done:D}=g.next();return D?{value:y,done:D}:{value:a?[h(y[0]),h(y[1])]:h(y),done:D}}})}}function wn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function bo(e,t){const n={get(l){const i=this.__v_raw,r=X(i),a=X(l);e||(et(l,a)&&Ee(r,"get",l),Ee(r,"get",a));const{has:c}=bn(r),g=t?hs:e?Vt:Ge;if(c.call(r,l))return g(i.get(l));if(c.call(r,a))return g(i.get(a));i!==r&&i.get(l)},get size(){const l=this.__v_raw;return!e&&Ee(X(l),"iterate",Et),l.size},has(l){const i=this.__v_raw,r=X(i),a=X(l);return e||(et(l,a)&&Ee(r,"has",l),Ee(r,"has",a)),l===a?i.has(l):i.has(l)||i.has(a)},forEach(l,i){const r=this,a=r.__v_raw,c=X(a),g=t?hs:e?Vt:Ge;return!e&&Ee(c,"iterate",Et),a.forEach((h,y)=>l.call(i,g(h),g(y),r))}};return Ce(n,e?{add:wn("add"),set:wn("set"),delete:wn("delete"),clear:wn("clear")}:{add(l){const i=X(this),r=bn(i),a=X(l),c=!t&&!He(l)&&!ft(l)?a:l;return r.has.call(i,c)||et(l,c)&&r.has.call(i,l)||et(a,c)&&r.has.call(i,a)||(i.add(c),at(i,"add",c,c)),this},set(l,i){!t&&!He(i)&&!ft(i)&&(i=X(i));const r=X(this),{has:a,get:c}=bn(r);let g=a.call(r,l);g||(l=X(l),g=a.call(r,l));const h=c.call(r,l);return r.set(l,i),g?et(i,h)&&at(r,"set",l,i):at(r,"add",l,i),this},delete(l){const i=X(this),{has:r,get:a}=bn(i);let c=r.call(i,l);c||(l=X(l),c=r.call(i,l)),a&&a.call(i,l);const g=i.delete(l);return c&&at(i,"delete",l,void 0),g},clear(){const l=X(this),i=l.size!==0,r=l.clear();return i&&at(l,"clear",void 0,void 0),r}}),["keys","values","entries",Symbol.iterator].forEach(l=>{n[l]=yo(l,e,t)}),n}function Ds(e,t){const n=bo(e,t);return(s,l,i)=>l==="__v_isReactive"?!e:l==="__v_isReadonly"?e:l==="__v_raw"?s:Reflect.get(Q(n,l)&&l in s?n:s,l,i)}const wo={get:Ds(!1,!1)},xo={get:Ds(!1,!0)},Co={get:Ds(!0,!1)};const Ql=new WeakMap,Zl=new WeakMap,ei=new WeakMap,So=new WeakMap;function ko(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function As(e){return ft(e)?e:Ms(e,!1,_o,wo,Ql)}function Po(e){return Ms(e,!1,mo,xo,Zl)}function gs(e){return Ms(e,!0,vo,Co,ei)}function Ms(e,t,n,s,l){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=l.get(e);if(i)return i;const r=ko(zi(e));if(r===0)return e;const a=new Proxy(e,r===2?s:n);return l.set(e,a),a}function Tt(e){return ft(e)?Tt(e.__v_raw):!!(e&&e.__v_isReactive)}function ft(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function Is(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function Eo(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&Fl(e,"__v_skip",!0),e}const Ge=e=>se(e)?As(e):e,Vt=e=>se(e)?gs(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function J(e){return To(e,!1)}function To(e,t){return Te(e)?e:new Oo(e,t)}class Oo{constructor(t,n){this.dep=new Os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:Ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||He(t)||ft(t);t=s?t:X(t),et(t,n)&&(this._rawValue=t,this._value=s?t:Ge(t),this.dep.trigger())}}function Do(e){return Te(e)?e.value:e}const Ao={get:(e,t,n)=>t==="__v_raw"?e:Do(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const l=e[t];return Te(l)&&!Te(n)?(l.value=n,!0):Reflect.set(e,t,n,s)}};function ti(e){return Tt(e)?e:new Proxy(e,Ao)}class Mo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=tn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Hl(this,!0),!0}get value(){const t=this.dep.track();return ql(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Io(e,t,n=!1){let s,l;return N(e)?s=e:(s=e.get,l=e.set),new Mo(s,l,n)}const xn={},Pn=new WeakMap;let St;function Ro(e,t=!1,n=St){if(n){let s=Pn.get(n);s||Pn.set(n,s=[]),s.push(e)}}function $o(e,t,n=le){const{immediate:s,deep:l,once:i,scheduler:r,augmentJob:a,call:c}=n,g=R=>l?R:He(R)||l===!1||l===0?ut(R,1):ut(R);let h,y,D,A,K=!1,$=!1;if(Te(e)?(y=()=>e.value,K=He(e)):Tt(e)?(y=()=>g(e),K=!0):j(e)?($=!0,K=e.some(R=>Tt(R)||He(R)),y=()=>e.map(R=>{if(Te(R))return R.value;if(Tt(R))return g(R);if(N(R))return c?c(R,2):R()})):N(e)?t?y=c?()=>c(e,2):e:y=()=>{if(D){st();try{D()}finally{lt()}}const R=St;St=h;try{return c?c(e,3,[A]):e(A)}finally{St=R}}:y=tt,t&&l){const R=y,ae=l===!0?1/0:l;y=()=>ut(R(),ae)}const re=ro(),Z=()=>{h.stop(),re&&re.active&&Cs(re.effects,h)};if(i&&t){const R=t;t=(...ae)=>{const Se=R(...ae);return Z(),Se}}let H=$?new Array(e.length).fill(xn):xn;const V=R=>{if(!(!(h.flags&1)||!h.dirty&&!R))if(t){const ae=h.run();if(R||l||K||($?ae.some((Se,ke)=>et(Se,H[ke])):et(ae,H))){D&&D();const Se=St;St=h;try{const ke=[ae,H===xn?void 0:$&&H[0]===xn?[]:H,A];H=ae,c?c(t,3,ke):t(...ke)}finally{St=Se}}}else h.run()};return a&&a(V),h=new Nl(y),h.scheduler=r?()=>r(V,!1):V,A=R=>Ro(R,!1,h),D=h.onStop=()=>{const R=Pn.get(h);if(R){if(c)c(R,4);else for(const ae of R)ae();Pn.delete(h)}},t?s?V(!0):H=h.run():r?r(V.bind(null,!0),!0):h.run(),Z.pause=h.pause.bind(h),Z.resume=h.resume.bind(h),Z.stop=Z,Z}function ut(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))ut(e.value,t,n);else if(j(e))for(let s=0;s<e.length;s++)ut(e[s],t,n);else if(Fn(e)||$t(e))e.forEach(s=>{ut(s,t,n)});else if($l(e)){for(const s in e)ut(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ut(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function un(e,t,n,s){try{return s?e(...s):e()}catch(l){Hn(l,t,n)}}function ze(e,t,n,s){if(N(e)){const l=un(e,t,n,s);return l&&Il(l)&&l.catch(i=>{Hn(i,t,n)}),l}if(j(e)){const l=[];for(let i=0;i<e.length;i++)l.push(ze(e[i],t,n,s));return l}}function Hn(e,t,n,s=!0){const l=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||le;if(t){let a=t.parent;const c=t.proxy,g=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const h=a.ec;if(h){for(let y=0;y<h.length;y++)if(h[y](e,c,g)===!1)return}a=a.parent}if(i){st(),un(i,null,10,[e,c,g]),lt();return}}Lo(e,n,l,s,r)}function Lo(e,t,n,s=!0,l=!1){if(l)throw e;console.error(e)}const Me=[];let Xe=-1;const Lt=[];let _t=null,It=0;const ni=Promise.resolve();let En=null;function si(e){const t=En||ni;return e?t.then(this?e.bind(this):e):t}function Fo(e){let t=Xe+1,n=Me.length;for(;t<n;){const s=t+n>>>1,l=Me[s],i=sn(l);i<e||i===e&&l.flags&2?t=s+1:n=s}return t}function Rs(e){if(!(e.flags&1)){const t=sn(e),n=Me[Me.length-1];!n||!(e.flags&2)&&t>=sn(n)?Me.push(e):Me.splice(Fo(t),0,e),e.flags|=1,li()}}function li(){En||(En=ni.then(oi))}function jo(e){j(e)?Lt.push(...e):_t&&e.id===-1?_t.splice(It+1,0,e):e.flags&1||(Lt.push(e),e.flags|=1),li()}function ll(e,t,n=Xe+1){for(;n<Me.length;n++){const s=Me[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Me.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ii(e){if(Lt.length){const t=[...new Set(Lt)].sort((n,s)=>sn(n)-sn(s));if(Lt.length=0,_t){_t.push(...t);return}for(_t=t,It=0;It<_t.length;It++){const n=_t[It];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_t=null,It=0}}const sn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function oi(e){try{for(Xe=0;Xe<Me.length;Xe++){const t=Me[Xe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),un(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Xe<Me.length;Xe++){const t=Me[Xe];t&&(t.flags&=-2)}Xe=-1,Me.length=0,ii(),En=null,(Me.length||Lt.length)&&oi()}}let Ue=null,ri=null;function Tn(e){const t=Ue;return Ue=e,ri=e&&e.type.__scopeId||null,t}function Vo(e,t=Ue,n){if(!t||e._n)return e;const s=(...l)=>{s._d&&gl(-1);const i=Tn(t);let r;try{r=e(...l)}finally{Tn(i),s._d&&gl(1)}return r};return s._n=!0,s._c=!0,s._d=!0,s}function te(e,t){if(Ue===null)return e;const n=Jn(Ue),s=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[i,r,a,c=le]=t[l];i&&(N(i)&&(i={mounted:i,updated:i}),i.deep&&ut(r),s.push({dir:i,instance:n,value:r,oldValue:void 0,arg:a,modifiers:c}))}return e}function xt(e,t,n,s){const l=e.dirs,i=t&&t.dirs;for(let r=0;r<l.length;r++){const a=l[r];i&&(a.oldValue=i[r].value);let c=a.dir[s];c&&(st(),ze(c,n,8,[e.el,a,e,t]),lt())}}function Bo(e,t){if(Ie){let n=Ie.provides;const s=Ie.parent&&Ie.parent.provides;s===n&&(n=Ie.provides=Object.create(s)),n[e]=t}}function Sn(e,t,n=!1){const s=Br();if(s||Ft){let l=Ft?Ft._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(l&&e in l)return l[e];if(arguments.length>1)return n&&N(t)?t.call(s&&s.proxy):t}}const No=Symbol.for("v-scx"),Uo=()=>Sn(No);function ss(e,t,n){return ai(e,t,n)}function ai(e,t,n=le){const{immediate:s,deep:l,flush:i,once:r}=n,a=Ce({},n),c=t&&s||!t&&i!=="post";let g;if(on){if(i==="sync"){const A=Uo();g=A.__watcherHandles||(A.__watcherHandles=[])}else if(!c){const A=()=>{};return A.stop=tt,A.resume=tt,A.pause=tt,A}}const h=Ie;a.call=(A,K,$)=>ze(A,h,K,$);let y=!1;i==="post"?a.scheduler=A=>{Fe(A,h&&h.suspense)}:i!=="sync"&&(y=!0,a.scheduler=(A,K)=>{K?A():Rs(A)}),a.augmentJob=A=>{t&&(A.flags|=4),y&&(A.flags|=2,h&&(A.id=h.uid,A.i=h))};const D=$o(e,t,a);return on&&(g?g.push(D):c&&D()),D}function Ho(e,t,n){const s=this.proxy,l=he(e)?e.includes(".")?ui(s,e):()=>s[e]:e.bind(s,s);let i;N(t)?i=t:(i=t.handler,n=t);const r=cn(this),a=ai(l,i.bind(s),n);return r(),a}function ui(e,t){const n=t.split(".");return()=>{let s=e;for(let l=0;l<n.length&&s;l++)s=s[n[l]];return s}}const Wo=Symbol("_vte"),Ko=e=>e.__isTeleport,ls=Symbol("_leaveCb");function $s(e,t){e.shapeFlag&6&&e.component?(e.transition=t,$s(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qo(e,t){return N(e)?Ce({name:e.name},t,{setup:e}):e}function ci(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function il(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const On=new WeakMap;function Yt(e,t,n,s,l=!1){if(j(e)){e.forEach(($,re)=>Yt($,t&&(j(t)?t[re]:t),n,s,l));return}if(Xt(s)&&!l){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Yt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Jn(s.component):s.el,r=l?null:i,{i:a,r:c}=e,g=t&&t.r,h=a.refs===le?a.refs={}:a.refs,y=a.setupState,D=X(y),A=y===le?Ml:$=>il(h,$)?!1:Q(D,$),K=($,re)=>!(re&&il(h,re));if(g!=null&&g!==c){if(ol(t),he(g))h[g]=null,A(g)&&(y[g]=null);else if(Te(g)){const $=t;K(g,$.k)&&(g.value=null),$.k&&(h[$.k]=null)}}if(N(c)){st();try{un(c,a,12,[r,h])}finally{lt()}}else{const $=he(c),re=Te(c);if($||re){const Z=()=>{if(e.f){const H=$?A(c)?y[c]:h[c]:K()||!e.k?c.value:h[e.k];if(l)j(H)&&Cs(H,i);else if(j(H))H.includes(i)||H.push(i);else if($)h[c]=[i],A(c)&&(y[c]=h[c]);else{const V=[i];K(c,e.k)&&(c.value=V),e.k&&(h[e.k]=V)}}else $?(h[c]=r,A(c)&&(y[c]=r)):re&&(K(c,e.k)&&(c.value=r),e.k&&(h[e.k]=r))};if(r){const H=()=>{Z(),On.delete(e)};H.id=-1,On.set(e,H),Fe(H,n)}else ol(e),Z()}}}function ol(e){const t=On.get(e);t&&(t.flags|=8,On.delete(e))}Bn().requestIdleCallback;Bn().cancelIdleCallback;const Xt=e=>!!e.type.__asyncLoader,fi=e=>e.type.__isKeepAlive;function Jo(e,t){di(e,"a",t)}function Go(e,t){di(e,"da",t)}function di(e,t,n=Ie){const s=e.__wdc||(e.__wdc=()=>{let l=n;for(;l;){if(l.isDeactivated)return;l=l.parent}return e()});if(Wn(t,s,n),n){let l=n.parent;for(;l&&l.parent;)fi(l.parent.vnode)&&zo(s,t,n,l),l=l.parent}}function zo(e,t,n,s){const l=Wn(t,e,s,!0);hi(()=>{Cs(s[t],l)},n)}function Wn(e,t,n=Ie,s=!1){if(n){const l=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{st();const a=cn(n),c=ze(t,n,e,r);return a(),lt(),c});return s?l.unshift(i):l.push(i),i}}const dt=e=>(t,n=Ie)=>{(!on||e==="sp")&&Wn(e,(...s)=>t(...s),n)},Yo=dt("bm"),pi=dt("m"),Xo=dt("bu"),Qo=dt("u"),Zo=dt("bum"),hi=dt("um"),er=dt("sp"),tr=dt("rtg"),nr=dt("rtc");function sr(e,t=Ie){Wn("ec",e,t)}const lr=Symbol.for("v-ndc");function ye(e,t,n,s){let l;const i=n,r=j(e);if(r||he(e)){const a=r&&Tt(e);let c=!1,g=!1;a&&(c=!He(e),g=ft(e),e=Un(e)),l=new Array(e.length);for(let h=0,y=e.length;h<y;h++)l[h]=t(c?g?Vt(Ge(e[h])):Ge(e[h]):e[h],h,void 0,i)}else if(typeof e=="number"){l=new Array(e);for(let a=0;a<e;a++)l[a]=t(a+1,a,void 0,i)}else if(se(e))if(e[Symbol.iterator])l=Array.from(e,(a,c)=>t(a,c,void 0,i));else{const a=Object.keys(e);l=new Array(a.length);for(let c=0,g=a.length;c<g;c++){const h=a[c];l[c]=t(e[h],h,c,i)}}else l=[];return l}const _s=e=>e?$i(e)?Jn(e):_s(e.parent):null,Qt=Ce(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>_s(e.parent),$root:e=>_s(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_i(e),$forceUpdate:e=>e.f||(e.f=()=>{Rs(e.update)}),$nextTick:e=>e.n||(e.n=si.bind(e.proxy)),$watch:e=>Ho.bind(e)}),is=(e,t)=>e!==le&&!e.__isScriptSetup&&Q(e,t),ir={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:l,props:i,accessCache:r,type:a,appContext:c}=e;if(t[0]!=="$"){const D=r[t];if(D!==void 0)switch(D){case 1:return s[t];case 2:return l[t];case 4:return n[t];case 3:return i[t]}else{if(is(s,t))return r[t]=1,s[t];if(l!==le&&Q(l,t))return r[t]=2,l[t];if(Q(i,t))return r[t]=3,i[t];if(n!==le&&Q(n,t))return r[t]=4,n[t];vs&&(r[t]=0)}}const g=Qt[t];let h,y;if(g)return t==="$attrs"&&Ee(e.attrs,"get",""),g(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==le&&Q(n,t))return r[t]=4,n[t];if(y=c.config.globalProperties,Q(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:l,ctx:i}=e;return is(l,t)?(l[t]=n,!0):s!==le&&Q(s,t)?(s[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:l,props:i,type:r}},a){let c;return!!(n[a]||e!==le&&a[0]!=="$"&&Q(e,a)||is(t,a)||Q(i,a)||Q(s,a)||Q(Qt,a)||Q(l.config.globalProperties,a)||(c=r.__cssModules)&&c[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function rl(e){return j(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vs=!0;function or(e){const t=_i(e),n=e.proxy,s=e.ctx;vs=!1,t.beforeCreate&&al(t.beforeCreate,e,"bc");const{data:l,computed:i,methods:r,watch:a,provide:c,inject:g,created:h,beforeMount:y,mounted:D,beforeUpdate:A,updated:K,activated:$,deactivated:re,beforeDestroy:Z,beforeUnmount:H,destroyed:V,unmounted:R,render:ae,renderTracked:Se,renderTriggered:ke,errorCaptured:U,serverPrefetch:We,expose:Pe,inheritAttrs:de,components:ce,directives:be,filters:pt}=t;if(g&&rr(g,s,null),r)for(const W in r){const z=r[W];N(z)&&(s[W]=z.bind(n))}if(l){const W=l.call(n,n);se(W)&&(e.data=As(W))}if(vs=!0,i)for(const W in i){const z=i[W],B=N(z)?z.bind(n,n):N(z.get)?z.get.bind(n,n):tt,Ke=!N(z)&&N(z.set)?z.set.bind(n):tt,we=kt({get:B,set:Ke});Object.defineProperty(s,W,{enumerable:!0,configurable:!0,get:()=>we.value,set:je=>we.value=je})}if(a)for(const W in a)gi(a[W],s,n,W);if(c){const W=N(c)?c.call(n):c;Reflect.ownKeys(W).forEach(z=>{Bo(z,W[z])})}h&&al(h,e,"c");function _e(W,z){j(z)?z.forEach(B=>W(B.bind(n))):z&&W(z.bind(n))}if(_e(Yo,y),_e(pi,D),_e(Xo,A),_e(Qo,K),_e(Jo,$),_e(Go,re),_e(sr,U),_e(nr,Se),_e(tr,ke),_e(Zo,H),_e(hi,R),_e(er,We),j(Pe))if(Pe.length){const W=e.exposed||(e.exposed={});Pe.forEach(z=>{Object.defineProperty(W,z,{get:()=>n[z],set:B=>n[z]=B,enumerable:!0})})}else e.exposed||(e.exposed={});ae&&e.render===tt&&(e.render=ae),de!=null&&(e.inheritAttrs=de),ce&&(e.components=ce),be&&(e.directives=be),We&&ci(e)}function rr(e,t,n=tt){j(e)&&(e=ms(e));for(const s in e){const l=e[s];let i;se(l)?"default"in l?i=Sn(l.from||s,l.default,!0):i=Sn(l.from||s):i=Sn(l),Te(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i}}function al(e,t,n){ze(j(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function gi(e,t,n,s){let l=s.includes(".")?ui(n,s):()=>n[s];if(he(e)){const i=t[e];N(i)&&ss(l,i)}else if(N(e))ss(l,e.bind(n));else if(se(e))if(j(e))e.forEach(i=>gi(i,t,n,s));else{const i=N(e.handler)?e.handler.bind(n):t[e.handler];N(i)&&ss(l,i,e)}}function _i(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:l,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,a=i.get(t);let c;return a?c=a:!l.length&&!n&&!s?c=t:(c={},l.length&&l.forEach(g=>Dn(c,g,r,!0)),Dn(c,t,r)),se(t)&&i.set(t,c),c}function Dn(e,t,n,s=!1){const{mixins:l,extends:i}=t;i&&Dn(e,i,n,!0),l&&l.forEach(r=>Dn(e,r,n,!0));for(const r in t)if(!(s&&r==="expose")){const a=ar[r]||n&&n[r];e[r]=a?a(e[r],t[r]):t[r]}return e}const ar={data:ul,props:cl,emits:cl,methods:Kt,computed:Kt,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Kt,directives:Kt,watch:cr,provide:ul,inject:ur};function ul(e,t){return t?e?function(){return Ce(N(e)?e.call(this,this):e,N(t)?t.call(this,this):t)}:t:e}function ur(e,t){return Kt(ms(e),ms(t))}function ms(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function Kt(e,t){return e?Ce(Object.create(null),e,t):t}function cl(e,t){return e?j(e)&&j(t)?[...new Set([...e,...t])]:Ce(Object.create(null),rl(e),rl(t??{})):t}function cr(e,t){if(!e)return t;if(!t)return e;const n=Ce(Object.create(null),e);for(const s in t)n[s]=Ae(e[s],t[s]);return n}function vi(){return{app:null,config:{isNativeTag:Ml,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 fr=0;function dr(e,t){return function(s,l=null){N(s)||(s=Ce({},s)),l!=null&&!se(l)&&(l=null);const i=vi(),r=new WeakSet,a=[];let c=!1;const g=i.app={_uid:fr++,_component:s,_props:l,_container:null,_context:i,_instance:null,version:qr,get config(){return i.config},set config(h){},use(h,...y){return r.has(h)||(h&&N(h.install)?(r.add(h),h.install(g,...y)):N(h)&&(r.add(h),h(g,...y))),g},mixin(h){return i.mixins.includes(h)||i.mixins.push(h),g},component(h,y){return y?(i.components[h]=y,g):i.components[h]},directive(h,y){return y?(i.directives[h]=y,g):i.directives[h]},mount(h,y,D){if(!c){const A=g._ceVNode||ct(s,l);return A.appContext=i,D===!0?D="svg":D===!1&&(D=void 0),e(A,h,D),c=!0,g._container=h,h.__vue_app__=g,Jn(A.component)}},onUnmount(h){a.push(h)},unmount(){c&&(ze(a,g._instance,16),e(null,g._container),delete g._container.__vue_app__)},provide(h,y){return i.provides[h]=y,g},runWithContext(h){const y=Ft;Ft=g;try{return h()}finally{Ft=y}}};return g}}let Ft=null;const pr=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${qe(t)}Modifiers`]||e[`${Ot(t)}Modifiers`];function hr(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let l=n;const i=t.startsWith("update:"),r=i&&pr(s,t.slice(7));r&&(r.trim&&(l=n.map(h=>he(h)?h.trim():h)),r.number&&(l=n.map(Vn)));let a,c=s[a=Qn(t)]||s[a=Qn(qe(t))];!c&&i&&(c=s[a=Qn(Ot(t))]),c&&ze(c,e,6,l);const g=s[a+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,ze(g,e,6,l)}}const gr=new WeakMap;function mi(e,t,n=!1){const s=n?gr:t.emitsCache,l=s.get(e);if(l!==void 0)return l;const i=e.emits;let r={},a=!1;if(!N(e)){const c=g=>{const h=mi(g,t,!0);h&&(a=!0,Ce(r,h))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!a?(se(e)&&s.set(e,null),null):(j(i)?i.forEach(c=>r[c]=null):Ce(r,i),se(e)&&s.set(e,r),r)}function Kn(e,t){return!e||!$n(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,Ot(t))||Q(e,t))}function fl(e){const{type:t,vnode:n,proxy:s,withProxy:l,propsOptions:[i],slots:r,attrs:a,emit:c,render:g,renderCache:h,props:y,data:D,setupState:A,ctx:K,inheritAttrs:$}=e,re=Tn(e);let Z,H;try{if(n.shapeFlag&4){const R=l||s,ae=R;Z=Ze(g.call(ae,R,h,y,A,D,K)),H=a}else{const R=t;Z=Ze(R.length>1?R(y,{attrs:a,slots:r,emit:c}):R(y,null)),H=t.props?a:_r(a)}}catch(R){Zt.length=0,Hn(R,e,1),Z=ct(vt)}let V=Z;if(H&&$!==!1){const R=Object.keys(H),{shapeFlag:ae}=V;R.length&&ae&7&&(i&&R.some(Ln)&&(H=vr(H,i)),V=Bt(V,H,!1,!0))}return n.dirs&&(V=Bt(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition&&$s(V,n.transition),Z=V,Tn(re),Z}const _r=e=>{let t;for(const n in e)(n==="class"||n==="style"||$n(n))&&((t||(t={}))[n]=e[n]);return t},vr=(e,t)=>{const n={};for(const s in e)(!Ln(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function mr(e,t,n){const{props:s,children:l,component:i}=e,{props:r,children:a,patchFlag:c}=t,g=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?dl(s,r,g):!!r;if(c&8){const h=t.dynamicProps;for(let y=0;y<h.length;y++){const D=h[y];if(yi(r,s,D)&&!Kn(g,D))return!0}}}else return(l||a)&&(!a||!a.$stable)?!0:s===r?!1:s?r?dl(s,r,g):!0:!!r;return!1}function dl(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let l=0;l<s.length;l++){const i=s[l];if(yi(t,e,i)&&!Kn(n,i))return!0}return!1}function yi(e,t,n){const s=e[n],l=t[n];return n==="style"&&se(s)&&se(l)?!an(s,l):s!==l}function yr({vnode:e,parent:t,suspense:n},s){for(;t;){const l=t.subTree;if(l.suspense&&l.suspense.activeBranch===e&&(l.suspense.vnode.el=l.el=s,e=l),l===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const bi={},wi=()=>Object.create(bi),xi=e=>Object.getPrototypeOf(e)===bi;function br(e,t,n,s=!1){const l={},i=wi();e.propsDefaults=Object.create(null),Ci(e,t,l,i);for(const r in e.propsOptions[0])r in l||(l[r]=void 0);n?e.props=s?l:Po(l):e.type.props?e.props=l:e.props=i,e.attrs=i}function wr(e,t,n,s){const{props:l,attrs:i,vnode:{patchFlag:r}}=e,a=X(l),[c]=e.propsOptions;let g=!1;if((s||r>0)&&!(r&16)){if(r&8){const h=e.vnode.dynamicProps;for(let y=0;y<h.length;y++){let D=h[y];if(Kn(e.emitsOptions,D))continue;const A=t[D];if(c)if(Q(i,D))A!==i[D]&&(i[D]=A,g=!0);else{const K=qe(D);l[K]=ys(c,a,K,A,e,!1)}else A!==i[D]&&(i[D]=A,g=!0)}}}else{Ci(e,t,l,i)&&(g=!0);let h;for(const y in a)(!t||!Q(t,y)&&((h=Ot(y))===y||!Q(t,h)))&&(c?n&&(n[y]!==void 0||n[h]!==void 0)&&(l[y]=ys(c,a,y,void 0,e,!0)):delete l[y]);if(i!==a)for(const y in i)(!t||!Q(t,y))&&(delete i[y],g=!0)}g&&at(e.attrs,"set","")}function Ci(e,t,n,s){const[l,i]=e.propsOptions;let r=!1,a;if(t)for(let c in t){if(Jt(c))continue;const g=t[c];let h;l&&Q(l,h=qe(c))?!i||!i.includes(h)?n[h]=g:(a||(a={}))[h]=g:Kn(e.emitsOptions,c)||(!(c in s)||g!==s[c])&&(s[c]=g,r=!0)}if(i){const c=X(n),g=a||le;for(let h=0;h<i.length;h++){const y=i[h];n[y]=ys(l,c,y,g[y],e,!Q(g,y))}}return r}function ys(e,t,n,s,l,i){const r=e[n];if(r!=null){const a=Q(r,"default");if(a&&s===void 0){const c=r.default;if(r.type!==Function&&!r.skipFactory&&N(c)){const{propsDefaults:g}=l;if(n in g)s=g[n];else{const h=cn(l);s=g[n]=c.call(null,t),h()}}else s=c;l.ce&&l.ce._setProp(n,s)}r[0]&&(i&&!a?s=!1:r[1]&&(s===""||s===Ot(n))&&(s=!0))}return s}const xr=new WeakMap;function Si(e,t,n=!1){const s=n?xr:t.propsCache,l=s.get(e);if(l)return l;const i=e.props,r={},a=[];let c=!1;if(!N(e)){const h=y=>{c=!0;const[D,A]=Si(y,t,!0);Ce(r,D),A&&a.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!i&&!c)return se(e)&&s.set(e,Rt),Rt;if(j(i))for(let h=0;h<i.length;h++){const y=qe(i[h]);pl(y)&&(r[y]=le)}else if(i)for(const h in i){const y=qe(h);if(pl(y)){const D=i[h],A=r[y]=j(D)||N(D)?{type:D}:Ce({},D),K=A.type;let $=!1,re=!0;if(j(K))for(let Z=0;Z<K.length;++Z){const H=K[Z],V=N(H)&&H.name;if(V==="Boolean"){$=!0;break}else V==="String"&&(re=!1)}else $=N(K)&&K.name==="Boolean";A[0]=$,A[1]=re,($||Q(A,"default"))&&a.push(y)}}const g=[r,a];return se(e)&&s.set(e,g),g}function pl(e){return e[0]!=="$"&&!Jt(e)}const Ls=e=>e==="_"||e==="_ctx"||e==="$stable",Fs=e=>j(e)?e.map(Ze):[Ze(e)],Cr=(e,t,n)=>{if(t._n)return t;const s=Vo((...l)=>Fs(t(...l)),n);return s._c=!1,s},ki=(e,t,n)=>{const s=e._ctx;for(const l in e){if(Ls(l))continue;const i=e[l];if(N(i))t[l]=Cr(l,i,s);else if(i!=null){const r=Fs(i);t[l]=()=>r}}},Pi=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},Ei=(e,t,n)=>{for(const s in t)(n||!Ls(s))&&(e[s]=t[s])},Sr=(e,t,n)=>{const s=e.slots=wi();if(e.vnode.shapeFlag&32){const l=t._;l?(Ei(s,t,n),n&&Fl(s,"_",l,!0)):ki(t,s)}else t&&Pi(e,t)},kr=(e,t,n)=>{const{vnode:s,slots:l}=e;let i=!0,r=le;if(s.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Ei(l,t,n):(i=!t.$stable,ki(t,l)),r=t}else t&&(Pi(e,t),r={default:1});if(i)for(const a in l)!Ls(a)&&r[a]==null&&delete l[a]},Fe=Dr;function Pr(e){return Er(e)}function Er(e,t){const n=Bn();n.__VUE__=!0;const{insert:s,remove:l,patchProp:i,createElement:r,createText:a,createComment:c,setText:g,setElementText:h,parentNode:y,nextSibling:D,setScopeId:A=tt,insertStaticContent:K}=e,$=(u,f,m,C=null,x=null,b=null,P=void 0,k=null,S=!!f.dynamicChildren)=>{if(u===f)return;u&&!Wt(u,f)&&(C=ht(u),je(u,x,b,!0),u=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:w,ref:I,shapeFlag:E}=f;switch(w){case qn:re(u,f,m,C);break;case vt:Z(u,f,m,C);break;case rs:u==null&&H(f,m,C,P);break;case ne:ce(u,f,m,C,x,b,P,k,S);break;default:E&1?ae(u,f,m,C,x,b,P,k,S):E&6?be(u,f,m,C,x,b,P,k,S):(E&64||E&128)&&w.process(u,f,m,C,x,b,P,k,S,yt)}I!=null&&x?Yt(I,u&&u.ref,b,f||u,!f):I==null&&u&&u.ref!=null&&Yt(u.ref,null,b,u,!0)},re=(u,f,m,C)=>{if(u==null)s(f.el=a(f.children),m,C);else{const x=f.el=u.el;f.children!==u.children&&g(x,f.children)}},Z=(u,f,m,C)=>{u==null?s(f.el=c(f.children||""),m,C):f.el=u.el},H=(u,f,m,C)=>{[u.el,u.anchor]=K(u.children,f,m,C,u.el,u.anchor)},V=({el:u,anchor:f},m,C)=>{let x;for(;u&&u!==f;)x=D(u),s(u,m,C),u=x;s(f,m,C)},R=({el:u,anchor:f})=>{let m;for(;u&&u!==f;)m=D(u),l(u),u=m;l(f)},ae=(u,f,m,C,x,b,P,k,S)=>{if(f.type==="svg"?P="svg":f.type==="math"&&(P="mathml"),u==null)Se(f,m,C,x,b,P,k,S);else{const w=u.el&&u.el._isVueCE?u.el:null;try{w&&w._beginPatch(),We(u,f,x,b,P,k,S)}finally{w&&w._endPatch()}}},Se=(u,f,m,C,x,b,P,k)=>{let S,w;const{props:I,shapeFlag:E,transition:M,dirs:L}=u;if(S=u.el=r(u.type,b,I&&I.is,I),E&8?h(S,u.children):E&16&&U(u.children,S,null,C,x,os(u,b),P,k),L&&xt(u,null,C,"created"),ke(S,u,u.scopeId,P,C),I){for(const ee in I)ee!=="value"&&!Jt(ee)&&i(S,ee,null,I[ee],b,C);"value"in I&&i(S,"value",null,I.value,b),(w=I.onVnodeBeforeMount)&&Ye(w,C,u)}L&&xt(u,null,C,"beforeMount");const q=Tr(x,M);q&&M.beforeEnter(S),s(S,f,m),((w=I&&I.onVnodeMounted)||q||L)&&Fe(()=>{try{w&&Ye(w,C,u),q&&M.enter(S),L&&xt(u,null,C,"mounted")}finally{}},x)},ke=(u,f,m,C,x)=>{if(m&&A(u,m),C)for(let b=0;b<C.length;b++)A(u,C[b]);if(x){let b=x.subTree;if(f===b||Ai(b.type)&&(b.ssContent===f||b.ssFallback===f)){const P=x.vnode;ke(u,P,P.scopeId,P.slotScopeIds,x.parent)}}},U=(u,f,m,C,x,b,P,k,S=0)=>{for(let w=S;w<u.length;w++){const I=u[w]=k?rt(u[w]):Ze(u[w]);$(null,I,f,m,C,x,b,P,k)}},We=(u,f,m,C,x,b,P)=>{const k=f.el=u.el;let{patchFlag:S,dynamicChildren:w,dirs:I}=f;S|=u.patchFlag&16;const E=u.props||le,M=f.props||le;let L;if(m&&Ct(m,!1),(L=M.onVnodeBeforeUpdate)&&Ye(L,m,f,u),I&&xt(f,u,m,"beforeUpdate"),m&&Ct(m,!0),w&&(!u.dynamicChildren||u.dynamicChildren.length!==w.length)&&(S=0,P=!1,w=null),(E.innerHTML&&M.innerHTML==null||E.textContent&&M.textContent==null)&&h(k,""),w?Pe(u.dynamicChildren,w,k,m,C,os(f,x),b):P||z(u,f,k,null,m,C,os(f,x),b,!1),S>0){if(S&16)de(k,E,M,m,x);else if(S&2&&E.class!==M.class&&i(k,"class",null,M.class,x),S&4&&i(k,"style",E.style,M.style,x),S&8){const q=f.dynamicProps;for(let ee=0;ee<q.length;ee++){const G=q[ee],pe=E[G],ve=M[G];(ve!==pe||G==="value")&&i(k,G,pe,ve,x,m)}}S&1&&u.children!==f.children&&h(k,f.children)}else!P&&w==null&&de(k,E,M,m,x);((L=M.onVnodeUpdated)||I)&&Fe(()=>{L&&Ye(L,m,f,u),I&&xt(f,u,m,"updated")},C)},Pe=(u,f,m,C,x,b,P)=>{for(let k=0;k<f.length;k++){const S=u[k],w=f[k],I=S.el&&(S.type===ne||!Wt(S,w)||S.shapeFlag&198)?y(S.el):m;$(S,w,I,null,C,x,b,P,!0)}},de=(u,f,m,C,x)=>{if(f!==m){if(f!==le)for(const b in f)!Jt(b)&&!(b in m)&&i(u,b,f[b],null,x,C);for(const b in m){if(Jt(b))continue;const P=m[b],k=f[b];P!==k&&b!=="value"&&i(u,b,k,P,x,C)}"value"in m&&i(u,"value",f.value,m.value,x)}},ce=(u,f,m,C,x,b,P,k,S)=>{const w=f.el=u?u.el:a(""),I=f.anchor=u?u.anchor:a("");let{patchFlag:E,dynamicChildren:M,slotScopeIds:L}=f;L&&(k=k?k.concat(L):L),u==null?(s(w,m,C),s(I,m,C),U(f.children||[],m,I,x,b,P,k,S)):E>0&&E&64&&M&&u.dynamicChildren&&u.dynamicChildren.length===M.length?(Pe(u.dynamicChildren,M,m,x,b,P,k),(f.key!=null||x&&f===x.subTree)&&Ti(u,f,!0)):z(u,f,m,I,x,b,P,k,S)},be=(u,f,m,C,x,b,P,k,S)=>{f.slotScopeIds=k,u==null?f.shapeFlag&512?x.ctx.activate(f,m,C,P,S):pt(f,m,C,x,b,P,S):Re(u,f,S)},pt=(u,f,m,C,x,b,P)=>{const k=u.component=Vr(u,C,x);if(fi(u)&&(k.ctx.renderer=yt),Nr(k,!1,P),k.asyncDep){if(x&&x.registerDep(k,_e,P),!u.el){const S=k.subTree=ct(vt);Z(null,S,f,m),u.placeholder=S.el}}else _e(k,u,f,m,x,b,P)},Re=(u,f,m)=>{const C=f.component=u.component;if(mr(u,f,m))if(C.asyncDep&&!C.asyncResolved){W(C,f,m);return}else C.next=f,C.update();else f.el=u.el,C.vnode=f},_e=(u,f,m,C,x,b,P)=>{const k=()=>{if(u.isMounted){let{next:E,bu:M,u:L,parent:q,vnode:ee}=u;{const Ne=Oi(u);if(Ne){E&&(E.el=ee.el,W(u,E,P)),Ne.asyncDep.then(()=>{Fe(()=>{u.isUnmounted||w()},x)});return}}let G=E,pe;Ct(u,!1),E?(E.el=ee.el,W(u,E,P)):E=ee,M&&Cn(M),(pe=E.props&&E.props.onVnodeBeforeUpdate)&&Ye(pe,q,E,ee),Ct(u,!0);const ve=fl(u),Be=u.subTree;u.subTree=ve,$(Be,ve,y(Be.el),ht(Be),u,x,b),E.el=ve.el,G===null&&yr(u,ve.el),L&&Fe(L,x),(pe=E.props&&E.props.onVnodeUpdated)&&Fe(()=>Ye(pe,q,E,ee),x)}else{let E;const{el:M,props:L}=f,{bm:q,m:ee,parent:G,root:pe,type:ve}=u,Be=Xt(f);Ct(u,!1),q&&Cn(q),!Be&&(E=L&&L.onVnodeBeforeMount)&&Ye(E,G,f),Ct(u,!0);{pe.ce&&pe.ce._hasShadowRoot()&&pe.ce._injectChildStyle(ve,u.parent?u.parent.type:void 0);const Ne=u.subTree=fl(u);$(null,Ne,m,C,u,x,b),f.el=Ne.el}if(ee&&Fe(ee,x),!Be&&(E=L&&L.onVnodeMounted)){const Ne=f;Fe(()=>Ye(E,G,Ne),x)}(f.shapeFlag&256||G&&Xt(G.vnode)&&G.vnode.shapeFlag&256)&&u.a&&Fe(u.a,x),u.isMounted=!0,f=m=C=null}};u.scope.on();const S=u.effect=new Nl(k);u.scope.off();const w=u.update=S.run.bind(S),I=u.job=S.runIfDirty.bind(S);I.i=u,I.id=u.uid,S.scheduler=()=>Rs(I),Ct(u,!0),w()},W=(u,f,m)=>{f.component=u;const C=u.vnode.props;u.vnode=f,u.next=null,wr(u,f.props,C,m),kr(u,f.children,m),st(),ll(u),lt()},z=(u,f,m,C,x,b,P,k,S=!1)=>{const w=u&&u.children,I=u?u.shapeFlag:0,E=f.children,{patchFlag:M,shapeFlag:L}=f;if(M>0){if(M&128){Ke(w,E,m,C,x,b,P,k,S);return}else if(M&256){B(w,E,m,C,x,b,P,k,S);return}}L&8?(I&16&&mt(w,x,b),E!==w&&h(m,E)):I&16?L&16?Ke(w,E,m,C,x,b,P,k,S):mt(w,x,b,!0):(I&8&&h(m,""),L&16&&U(E,m,C,x,b,P,k,S))},B=(u,f,m,C,x,b,P,k,S)=>{u=u||Rt,f=f||Rt;const w=u.length,I=f.length,E=Math.min(w,I);let M;for(M=0;M<E;M++){const L=f[M]=S?rt(f[M]):Ze(f[M]);$(u[M],L,m,null,x,b,P,k,S)}w>I?mt(u,x,b,!0,!1,E):U(f,m,C,x,b,P,k,S,E)},Ke=(u,f,m,C,x,b,P,k,S)=>{let w=0;const I=f.length;let E=u.length-1,M=I-1;for(;w<=E&&w<=M;){const L=u[w],q=f[w]=S?rt(f[w]):Ze(f[w]);if(Wt(L,q))$(L,q,m,null,x,b,P,k,S);else break;w++}for(;w<=E&&w<=M;){const L=u[E],q=f[M]=S?rt(f[M]):Ze(f[M]);if(Wt(L,q))$(L,q,m,null,x,b,P,k,S);else break;E--,M--}if(w>E){if(w<=M){const L=M+1,q=L<I?f[L].el:C;for(;w<=M;)$(null,f[w]=S?rt(f[w]):Ze(f[w]),m,q,x,b,P,k,S),w++}}else if(w>M)for(;w<=E;)je(u[w],x,b,!0),w++;else{const L=w,q=w,ee=new Map;for(w=q;w<=M;w++){const Oe=f[w]=S?rt(f[w]):Ze(f[w]);Oe.key!=null&&ee.set(Oe.key,w)}let G,pe=0;const ve=M-q+1;let Be=!1,Ne=0;const bt=new Array(ve);for(w=0;w<ve;w++)bt[w]=0;for(w=L;w<=E;w++){const Oe=u[w];if(pe>=ve){je(Oe,x,b,!0);continue}let De;if(Oe.key!=null)De=ee.get(Oe.key);else for(G=q;G<=M;G++)if(bt[G-q]===0&&Wt(Oe,f[G])){De=G;break}De===void 0?je(Oe,x,b,!0):(bt[De-q]=w+1,De>=Ne?Ne=De:Be=!0,$(Oe,f[De],m,null,x,b,P,k,S),pe++)}const dn=Be?Or(bt):Rt;for(G=dn.length-1,w=ve-1;w>=0;w--){const Oe=q+w,De=f[Oe],Dt=f[Oe+1],pn=Oe+1<I?Dt.el||Di(Dt):C;bt[w]===0?$(null,De,m,pn,x,b,P,k,S):Be&&(G<0||w!==dn[G]?we(De,m,pn,2):G--)}}},we=(u,f,m,C,x=null)=>{const{el:b,type:P,transition:k,children:S,shapeFlag:w}=u;if(w&6){we(u.component.subTree,f,m,C);return}if(w&128){u.suspense.move(f,m,C);return}if(w&64){P.move(u,f,m,yt);return}if(P===ne){s(b,f,m);for(let E=0;E<S.length;E++)we(S[E],f,m,C);s(u.anchor,f,m);return}if(P===rs){V(u,f,m);return}if(C!==2&&w&1&&k)if(C===0)k.persisted&&!b[ls]?s(b,f,m):(k.beforeEnter(b),s(b,f,m),Fe(()=>k.enter(b),x));else{const{leave:E,delayLeave:M,afterLeave:L}=k,q=()=>{u.ctx.isUnmounted?l(b):s(b,f,m)},ee=()=>{const G=b._isLeaving||!!b[ls];b._isLeaving&&b[ls](!0),k.persisted&&!G?q():E(b,()=>{q(),L&&L()})};M?M(b,q,ee):ee()}else s(b,f,m)},je=(u,f,m,C=!1,x=!1)=>{const{type:b,props:P,ref:k,children:S,dynamicChildren:w,shapeFlag:I,patchFlag:E,dirs:M,cacheIndex:L,memo:q}=u;if(E===-2&&(x=!1),k!=null&&(st(),Yt(k,null,m,u,!0),lt()),L!=null&&(f.renderCache[L]=void 0),I&256){f.ctx.deactivate(u);return}const ee=I&1&&M,G=!Xt(u);let pe;if(G&&(pe=P&&P.onVnodeBeforeUnmount)&&Ye(pe,f,u),I&6)zn(u.component,m,C);else{if(I&128){u.suspense.unmount(m,C);return}ee&&xt(u,null,f,"beforeUnmount"),I&64?u.type.remove(u,f,m,yt,C):w&&!w.hasOnce&&(b!==ne||E>0&&E&64)?mt(w,f,m,!1,!0):(b===ne&&E&384||!x&&I&16)&&mt(S,f,m),C&&fn(u)}const ve=q!=null&&L==null;(G&&(pe=P&&P.onVnodeUnmounted)||ee||ve)&&Fe(()=>{pe&&Ye(pe,f,u),ee&&xt(u,null,f,"unmounted"),ve&&(u.el=null)},m)},fn=u=>{const{type:f,el:m,anchor:C,transition:x}=u;if(f===ne){Gn(m,C);return}if(f===rs){R(u);return}const b=()=>{l(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:P,delayLeave:k}=x,S=()=>P(m,b);k?k(u.el,b,S):S()}else b()},Gn=(u,f)=>{let m;for(;u!==f;)m=D(u),l(u),u=m;l(f)},zn=(u,f,m)=>{const{bum:C,scope:x,job:b,subTree:P,um:k,m:S,a:w}=u;hl(S),hl(w),C&&Cn(C),x.stop(),b&&(b.flags|=8,je(P,u,f,m)),k&&Fe(k,f),Fe(()=>{u.isUnmounted=!0},f)},mt=(u,f,m,C=!1,x=!1,b=0)=>{for(let P=b;P<u.length;P++)je(u[P],f,m,C,x)},ht=u=>{if(u.shapeFlag&6)return ht(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=D(u.anchor||u.el),m=f&&f[Wo];return m?D(m):f};let Nt=!1;const gt=(u,f,m)=>{let C;u==null?f._vnode&&(je(f._vnode,null,null,!0),C=f._vnode.component):$(f._vnode||null,u,f,null,null,null,m),f._vnode=u,Nt||(Nt=!0,ll(C),ii(),Nt=!1)},yt={p:$,um:je,m:we,r:fn,mt:pt,mc:U,pc:z,pbc:Pe,n:ht,o:e};return{render:gt,hydrate:void 0,createApp:dr(gt)}}function os({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Tr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ti(e,t,n=!1){const s=e.children,l=t.children;if(j(s)&&j(l))for(let i=0;i<s.length;i++){const r=s[i];let a=l[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=l[i]=rt(l[i]),a.el=r.el),!n&&a.patchFlag!==-2&&Ti(r,a)),a.type===qn&&(a.patchFlag===-1&&(a=l[i]=rt(a)),a.el=r.el),a.type===vt&&!a.el&&(a.el=r.el)}}function Or(e){const t=e.slice(),n=[0];let s,l,i,r,a;const c=e.length;for(s=0;s<c;s++){const g=e[s];if(g!==0){if(l=n[n.length-1],e[l]<g){t[s]=l,n.push(s);continue}for(i=0,r=n.length-1;i<r;)a=i+r>>1,e[n[a]]<g?i=a+1:r=a;g<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function Oi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oi(t)}function hl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Di(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Di(t.subTree):null}const Ai=e=>e.__isSuspense;function Dr(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):jo(e)}const ne=Symbol.for("v-fgt"),qn=Symbol.for("v-txt"),vt=Symbol.for("v-cmt"),rs=Symbol.for("v-stc"),Zt=[];let Ve=null;function T(e=!1){Zt.push(Ve=e?null:[])}function Ar(){Zt.pop(),Ve=Zt[Zt.length-1]||null}let ln=1;function gl(e,t=!1){ln+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function Mi(e){return e.dynamicChildren=ln>0?Ve||Rt:null,Ar(),ln>0&&Ve&&Ve.push(e),e}function O(e,t,n,s,l,i){return Mi(o(e,t,n,s,l,i,!0))}function Mr(e,t,n,s,l){return Mi(ct(e,t,n,s,l,!0))}function Ii(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Ri=({key:e})=>e??null,kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||Te(e)||N(e)?{i:Ue,r:e,k:t,f:!!n}:e:null);function o(e,t=null,n=null,s=0,l=null,i=e===ne?0:1,r=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ri(t),ref:t&&kn(t),scopeId:ri,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:l,dynamicChildren:null,appContext:null,ctx:Ue};return a?(An(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=he(n)?8:16),ln>0&&!r&&Ve&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ve.push(c),c}const ct=Ir;function Ir(e,t=null,n=null,s=0,l=null,i=!1){if((!e||e===lr)&&(e=vt),Ii(e)){const a=Bt(e,t,!0);return n&&An(a,n),ln>0&&!i&&Ve&&(a.shapeFlag&6?Ve[Ve.indexOf(e)]=a:Ve.push(a)),a.patchFlag=-2,a}if(Kr(e)&&(e=e.__vccOpts),t){t=Rr(t);let{class:a,style:c}=t;a&&!he(a)&&(t.class=Nn(a)),se(c)&&(Is(c)&&!j(c)&&(c=Ce({},c)),t.style=ks(c))}const r=he(e)?1:Ai(e)?128:Ko(e)?64:se(e)?4:N(e)?2:0;return o(e,t,n,s,l,r,i,!0)}function Rr(e){return e?Is(e)||xi(e)?Ce({},e):e:null}function Bt(e,t,n=!1,s=!1){const{props:l,ref:i,patchFlag:r,children:a,transition:c}=e,g=t?Lr(l||{},t):l,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:g,key:g&&Ri(g),ref:t&&t.ref?n&&i?j(i)?i.concat(kn(t)):[i,kn(t)]:kn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ne?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Bt(e.ssContent),ssFallback:e.ssFallback&&Bt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&$s(h,c.clone(h)),h}function $r(e=" ",t=0){return ct(qn,null,e,t)}function Y(e="",t=!1){return t?(T(),Mr(vt,null,e)):ct(vt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?ct(vt):j(e)?ct(ne,null,e.slice()):Ii(e)?rt(e):ct(qn,null,String(e))}function rt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Bt(e)}function An(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(j(t))n=16;else if(typeof t=="object")if(s&65){const l=t.default;l&&(l._c&&(l._d=!1),An(e,l()),l._c&&(l._d=!0));return}else{n=32;const l=t._;!l&&!xi(t)?t._ctx=Ue:l===3&&Ue&&(Ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(N(t)){if(s&65){An(e,{default:t});return}t={default:t,_ctx:Ue},n=32}else t=String(t),s&64?(n=16,t=[$r(t)]):n=8;e.children=t,e.shapeFlag|=n}function Lr(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const l in s)if(l==="class")t.class!==s.class&&(t.class=Nn([t.class,s.class]));else if(l==="style")t.style=ks([t.style,s.style]);else if($n(l)){const i=t[l],r=s[l];r&&i!==r&&!(j(i)&&i.includes(r))?t[l]=i?[].concat(i,r):r:r==null&&i==null&&!Ln(l)&&(t[l]=r)}else l!==""&&(t[l]=s[l])}return t}function Ye(e,t,n,s=null){ze(e,t,7,[n,s])}const Fr=vi();let jr=0;function Vr(e,t,n){const s=e.type,l=(t?t.appContext:e.appContext)||Fr,i={uid:jr++,vnode:e,type:s,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new oo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Si(s,l),emitsOptions:mi(s,l),emit:null,emitted:null,propsDefaults:le,inheritAttrs:s.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=hr.bind(null,i),e.ce&&e.ce(i),i}let Ie=null;const Br=()=>Ie||Ue;let Mn,bs;{const e=Bn(),t=(n,s)=>{let l;return(l=e[n])||(l=e[n]=[]),l.push(s),i=>{l.length>1?l.forEach(r=>r(i)):l[0](i)}};Mn=t("__VUE_INSTANCE_SETTERS__",n=>Ie=n),bs=t("__VUE_SSR_SETTERS__",n=>on=n)}const cn=e=>{const t=Ie;return Mn(e),e.scope.on(),()=>{e.scope.off(),Mn(t)}},_l=()=>{Ie&&Ie.scope.off(),Mn(null)};function $i(e){return e.vnode.shapeFlag&4}let on=!1;function Nr(e,t=!1,n=!1){t&&bs(t);const{props:s,children:l}=e.vnode,i=$i(e);br(e,s,i,t),Sr(e,l,n||t);const r=i?Ur(e,t):void 0;return t&&bs(!1),r}function Ur(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ir);const{setup:s}=n;if(s){st();const l=e.setupContext=s.length>1?Wr(e):null,i=cn(e),r=un(s,e,0,[e.props,l]),a=Il(r);if(lt(),i(),(a||e.sp)&&!Xt(e)&&ci(e),a){if(r.then(_l,_l),t)return r.then(c=>{vl(e,c)}).catch(c=>{Hn(c,e,0)});e.asyncDep=r}else vl(e,r)}else Li(e)}function vl(e,t,n){N(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=ti(t)),Li(e)}function Li(e,t,n){const s=e.type;e.render||(e.render=s.render||tt);{const l=cn(e);st();try{or(e)}finally{lt(),l()}}}const Hr={get(e,t){return Ee(e,"get",""),e[t]}};function Wr(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Hr),slots:e.slots,emit:e.emit,expose:t}}function Jn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ti(Eo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Qt)return Qt[n](e)},has(t,n){return n in t||n in Qt}})):e.proxy}function Kr(e){return N(e)&&"__vccOpts"in e}const kt=(e,t)=>Io(e,t,on),qr="3.5.39";/**
|
|
* @vue/runtime-dom v3.5.39
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ws;const ml=typeof window<"u"&&window.trustedTypes;if(ml)try{ws=ml.createPolicy("vue",{createHTML:e=>e})}catch{}const Fi=ws?e=>ws.createHTML(e):e=>e,Jr="http://www.w3.org/2000/svg",Gr="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,yl=ot&&ot.createElement("template"),zr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const l=t==="svg"?ot.createElementNS(Jr,e):t==="mathml"?ot.createElementNS(Gr,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&s&&s.multiple!=null&&l.setAttribute("multiple",s.multiple),l},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,l,i){const r=n?n.previousSibling:t.lastChild;if(l&&(l===i||l.nextSibling))for(;t.insertBefore(l.cloneNode(!0),n),!(l===i||!(l=l.nextSibling)););else{yl.innerHTML=Fi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const a=yl.content;if(s==="svg"||s==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Yr=Symbol("_vtc");function Xr(e,t,n){const s=e[Yr];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const bl=Symbol("_vod"),Qr=Symbol("_vsh"),Zr=Symbol(""),ea=/(?:^|;)\s*display\s*:/;function ta(e,t,n){const s=e.style,l=he(n);let i=!1;if(n&&!l){if(t)if(he(t))for(const r of t.split(";")){const a=r.slice(0,r.indexOf(":")).trim();n[a]==null&&qt(s,a,"")}else for(const r in t)n[r]==null&&qt(s,r,"");for(const r in n){r==="display"&&(i=!0);const a=n[r];a!=null?sa(e,r,!he(t)&&t?t[r]:void 0,a)||qt(s,r,a):qt(s,r,"")}}else if(l){if(t!==n){const r=s[Zr];r&&(n+=";"+r),s.cssText=n,i=ea.test(n)}}else t&&e.removeAttribute("style");bl in e&&(e[bl]=i?s.display:"",e[Qr]&&(s.display="none"))}const wl=/\s*!important$/;function qt(e,t,n){if(j(n))n.forEach(s=>qt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=na(e,t);wl.test(n)?e.setProperty(Ot(s),n.replace(wl,""),"important"):e[s]=n}}const xl=["Webkit","Moz","ms"],as={};function na(e,t){const n=as[t];if(n)return n;let s=qe(t);if(s!=="filter"&&s in e)return as[t]=s;s=Ll(s);for(let l=0;l<xl.length;l++){const i=xl[l]+s;if(i in e)return as[t]=i}return t}function sa(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&he(s)&&n===s}const Cl="http://www.w3.org/1999/xlink";function Sl(e,t,n,s,l,i=so(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Cl,t.slice(6,t.length)):e.setAttributeNS(Cl,t,n):n==null||i&&!jl(n)?e.removeAttribute(t):e.setAttribute(t,i?"":nt(n)?String(n):n)}function kl(e,t,n,s,l){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Fi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(a!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=jl(n):n==null&&a==="string"?(n="",r=!0):a==="number"&&(n=0,r=!0)}try{e[t]=n}catch{}r&&e.removeAttribute(l||t)}function Pt(e,t,n,s){e.addEventListener(t,n,s)}function la(e,t,n,s){e.removeEventListener(t,n,s)}const Pl=Symbol("_vei");function ia(e,t,n,s,l=null){const i=e[Pl]||(e[Pl]={}),r=i[t];if(s&&r)r.value=s;else{const[a,c]=aa(t);if(s){const g=i[t]=fa(s,l);Pt(e,a,g,c)}else r&&(la(e,a,r,c),i[t]=void 0)}}const oa=/(Once|Passive|Capture)$/,ra=/^on:?(?:Once|Passive|Capture)$/;function aa(e){let t,n;for(;(n=e.match(oa))&&!ra.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):Ot(e.slice(2)),t]}let us=0;const ua=Promise.resolve(),ca=()=>us||(ua.then(()=>us=0),us=Date.now());function fa(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const l=n.value;if(j(l)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const r=l.slice(),a=[s];for(let c=0;c<r.length&&!s._stopped;c++){const g=r[c];g&&ze(g,t,5,a)}}else ze(l,t,5,[s])};return n.value=e,n.attached=ca(),n}const El=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,da=(e,t,n,s,l,i)=>{const r=l==="svg";t==="class"?Xr(e,s,r):t==="style"?ta(e,n,s):$n(t)?Ln(t)||ia(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):pa(e,t,s,r))?(kl(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Sl(e,t,s,r,i,t!=="value")):e._isVueCE&&(ha(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!he(s)))?kl(e,qe(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Sl(e,t,s,r))};function pa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&El(t)&&N(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const l=e.tagName;if(l==="IMG"||l==="VIDEO"||l==="CANVAS"||l==="SOURCE")return!1}return El(t)&&he(n)?!1:t in e}function ha(e,t){const n=e._def.props;if(!n)return!1;const s=qe(t);return Array.isArray(n)?n.some(l=>qe(l)===s):Object.keys(n).some(l=>qe(l)===s)}const In=e=>{const t=e.props["onUpdate:modelValue"]||!1;return j(t)?n=>Cn(t,n):t};function ga(e){e.target.composing=!0}function Tl(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const jt=Symbol("_assign");function Ol(e,t,n){return t&&(e=e.trim()),n&&(e=Vn(e)),e}const oe={created(e,{modifiers:{lazy:t,trim:n,number:s}},l){e[jt]=In(l);const i=s||l.props&&l.props.type==="number";Pt(e,t?"change":"input",r=>{r.target.composing||e[jt](Ol(e.value,n,i))}),(n||i)&&Pt(e,"change",()=>{e.value=Ol(e.value,n,i)}),t||(Pt(e,"compositionstart",ga),Pt(e,"compositionend",Tl),Pt(e,"change",Tl))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:l,number:i}},r){if(e[jt]=In(r),e.composing)return;const a=(i||e.type==="number")&&!/^0\d/.test(e.value)?Vn(e.value):e.value,c=t??"";if(a===c)return;const g=e.getRootNode();(g instanceof Document||g instanceof ShadowRoot)&&g.activeElement===e&&e.type!=="range"&&(s&&t===n||l&&e.value.trim()===c)||(e.value=c)}},cs={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const l=Fn(t);Pt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,r=>r.selected).map(r=>n?Vn(Rn(r)):Rn(r));e[jt](e.multiple?l?new Set(i):i:i[0]),e._assigning=!0,si(()=>{e._assigning=!1})}),e[jt]=In(s)},mounted(e,{value:t}){Dl(e,t)},beforeUpdate(e,t,n){e[jt]=In(n)},updated(e,{value:t}){e._assigning||Dl(e,t)}};function Dl(e,t){const n=e.multiple,s=j(t);if(!(n&&!s&&!Fn(t))){for(let l=0,i=e.options.length;l<i;l++){const r=e.options[l],a=Rn(r);if(n)if(s){const c=typeof a;c==="string"||c==="number"?r.selected=t.some(g=>String(g)===String(a)):r.selected=io(t,a)>-1}else r.selected=t.has(a);else if(an(Rn(r),t)){e.selectedIndex!==l&&(e.selectedIndex=l);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rn(e){return"_value"in e?e._value:e.value}const _a=Ce({patchProp:da},zr);let Al;function va(){return Al||(Al=Pr(_a))}const ma=((...e)=>{const t=va().createApp(...e),{mount:n}=t;return t.mount=s=>{const l=ba(s);if(!l)return;const i=t._component;!N(i)&&!i.render&&!i.template&&(i.template=l.innerHTML),l.nodeType===1&&(l.textContent="");const r=n(l,!1,ya(l));return l instanceof Element&&(l.removeAttribute("v-cloak"),l.setAttribute("data-v-app","")),r},t});function ya(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ba(e){return he(e)?document.querySelector(e):e}const wa="/api/v1/plugins/extensions/astrbot_plugin_imagestudio",F={uiBootstrap:"ui/bootstrap",dashboardSummary:"dashboard/summary",profiles:"profiles",profile:e=>`profiles/${e}`,quickProfileDraft:"profiles/quick-draft",profileWorkflows:e=>`profiles/${e}/workflows`,workflow:e=>`workflows/${e}`,workflowStart:e=>`workflows/${e}/start`,workflowCancel:e=>`workflows/${e}/cancel`,workflowArchive:e=>`workflows/${e}/archive`,workflowNodes:e=>`workflows/${e}/nodes`,jobs:"jobs",jobCancel:e=>`jobs/${e}/cancel`,jobRetry:e=>`jobs/${e}/retry`,jobDeadLetterRetry:"jobs/dead-letter/retry",jobDeadLetterMoveFailed:"jobs/dead-letter/move-failed",settingsSchema:"settings/schema",settingsCurrent:"settings/current",settingsValidate:"settings/validate",settingsDiff:"settings/diff",settingsSave:"settings/save",settingsReload:"settings/reload",settingsExport:"settings/export",storageStatus:"storage/status",mediaSign:"media/sign",materialCategories:"material-categories",materials:"materials",material:e=>`materials/${e}`,materialRecognize:e=>`materials/${e}/recognize`,materialConfirm:e=>`materials/${e}/confirm`,wardrobe:e=>`profiles/${e}/wardrobe`,wardrobeImportMaterial:e=>`profiles/${e}/wardrobe/import-material`,wardrobeItem:(e,t)=>`profiles/${e}/wardrobe/${t}`,wardrobeMatch:e=>`profiles/${e}/wardrobe/match`,privateCompanionDailyOutfit:"integrations/private-companion/daily-outfit",integrationEventLogs:"integrations/logs",apiDiscoveryDialects:"api-discovery/dialects",apiDiscoveryProbeModel:"api-discovery/probe-model",apiDiscoveryCapabilities:"api-discovery/capabilities",apiDiscoveryManualOverride:"api-discovery/manual-override",apiDiscoveryValidateRenderPlan:"api-discovery/validate-render-plan",generationLogs:"logs/generation",workflowLogs:"logs/workflows",errorLogs:"logs/errors",integrationLogs:"logs/integrations",auditLogs:"security/audit-logs",webManifest:"web/manifest"};class xa extends Error{constructor(n,s,l={}){super(s);Xn(this,"code");Xn(this,"details");this.name="ApiClientError",this.code=n,this.details=l}}async function ge(e,t){return en(e,{method:"GET",query:t})}async function fe(e,t){return en(e,{method:"POST",body:t})}async function en(e,t={}){const s=await(await fetch(Ca(e,t.query),{method:t.method??"GET",headers:t.body===void 0?void 0:{"Content-Type":"application/json"},body:t.body===void 0?void 0:JSON.stringify(t.body)})).json();if(!s.ok)throw new xa(s.error_code,s.message,s.details);return s.data}function Ca(e,t){const n=e.replace(/^\/+/,""),s=new URL(`${wa}/${n}`,window.location.origin);for(const[l,i]of Object.entries(t??{}))i!==void 0&&s.searchParams.set(l,String(i));return`${s.pathname}${s.search}`}const Sa={class:"web-shell"},ka={class:"sidebar"},Pa={class:"brand"},Ea=["onClick"],Ta={class:"workspace"},Oa={class:"topbar"},Da={class:"actions"},Aa=["disabled"],Ma={key:0,class:"notice error"},Ia={key:1,class:"notice"},Ra={key:0,class:"dashboard-grid"},$a={key:1,class:"list-view"},La={class:"form-grid"},Fa={class:"wide-field"},ja=["disabled"],Va=["disabled"],Ba={key:0},Na={class:"inline-actions"},Ua={class:"badge"},Ha=["disabled","onClick"],Wa={key:0,class:"empty"},Ka={key:2,class:"split-view"},qa={class:"list-view"},Ja={class:"form-grid"},Ga=["disabled"],za={class:"inline-actions"},Ya={class:"badge"},Xa=["disabled","onClick"],Qa=["disabled","onClick"],Za=["disabled","onClick"],eu=["disabled","onClick"],tu={key:0,class:"empty"},nu={class:"list-view"},su={class:"inline-actions"},lu={class:"badge"},iu={key:0,class:"empty"},ou={key:0},ru={key:3,class:"split-view"},au={class:"list-view"},uu={key:0,class:"empty"},cu={class:"list-view"},fu={class:"inline-actions"},du=["disabled"],pu={class:"form-grid"},hu={value:""},gu=["value"],_u=["disabled"],vu={class:"inline-actions"},mu={class:"badge"},yu=["disabled","onClick"],bu=["disabled","onClick"],wu=["disabled","onClick"],xu={key:0,class:"empty"},Cu={key:0},Su={key:4,class:"list-view"},ku=["disabled"],Pu={class:"form-grid"},Eu={value:""},Tu=["value"],Ou=["disabled"],Du={class:"inline-actions"},Au=["disabled","onClick"],Mu={key:0,class:"empty"},Iu={key:0},Ru={class:"form-grid"},$u=["disabled"],Lu={key:1},Fu={key:5,class:"list-view"},ju={class:"inline-actions"},Vu=["disabled"],Bu=["disabled"],Nu={class:"inline-actions"},Uu={class:"badge"},Hu=["onClick"],Wu=["onClick"],Ku={key:0,class:"empty"},qu={key:6,class:"split-view"},Ju={class:"list-view"},Gu=["disabled"],zu={class:"form-grid"},Yu=["disabled"],Xu={key:0},Qu={class:"list-view"},Zu={class:"inline-actions"},ec={class:"badge"},tc=["disabled","onClick"],nc=["disabled","onClick"],sc=["disabled","onClick"],lc={key:0,class:"empty"},ic={key:7,class:"logs-view"},oc={class:"split-view"},rc={class:"list-view"},ac={key:0,class:"empty"},uc={class:"list-view"},cc={class:"badge"},fc={key:0,class:"empty"},dc={class:"split-view"},pc={class:"list-view"},hc={key:0,class:"empty"},gc={class:"list-view"},_c={class:"badge"},vc={key:0,class:"empty"},mc={class:"list-view"},yc={key:0,class:"empty"},bc={key:8,class:"settings-view"},wc={class:"toolbar"},xc=["disabled"],Cc=["disabled"],Sc=["disabled"],kc=["disabled"],Pc=["disabled"],Ec=["disabled"],Tc={class:"settings-sections"},Oc={class:"editor-panel"},Dc={class:"split-view"},Ac={class:"list-view"},Mc={class:"list-view"},Ic={class:"inspector"},Rc=qo({__name:"App",setup(e){const t={waiting:"等待操作",loading:"加载中...",loadFailed:"加载失败",refresh:"刷新",complete:"完成",failed:"失败",noProfile:"未选择角色",noTags:"无标签",noImage:"未绑定图片",create:"新建",quickDraft:"快速草稿",archive:"归档",start:"启动",recognize:"识别",confirm:"确认",name:"名称",identity:"身份",personality:"性格",hairColor:"发色",hairstyle:"发型",eyeColor:"眼色",description:"描述",basePrompt:"基础提示词",appearancePrompt:"外观提示词",stylePrompt:"风格提示词",negativePrompt:"反向提示词",imageUri:"图片 URI",tags:"标签",category:"分类",allCategories:"全部分类",materialCreated:"素材已创建",materialArchived:"素材已归档",importToWardrobe:"加入衣橱",delete:"删除",wardrobeCategory:"衣橱分类",season:"季节",style:"风格",selectMaterial:"选择素材",wardrobeImported:"衣橱条目已加入",wardrobeDeleted:"衣橱条目已删除",dailyOutfit:"每日穿搭",categories:"分类",mood:"心情",weather:"天气",keywords:"关键词",outfitGenerated:"每日穿搭已生成",dashboard:"运行概览",profiles:"角色",workflows:"工作流",materials:"素材库",wardrobe:"角色衣橱",jobs:"任务队列",discovery:"能力探测",logs:"日志审计",settings:"设置",profileList:"角色列表",profileCreated:"角色已创建",profileDeleted:"角色已删除",emptyProfiles:"暂无角色",workflowList:"工作流列表",workflowType:"工作流类型",workflowCreated:"工作流已创建",emptyWorkflows:"暂无工作流",nodes:"节点",currentBranch:"当前分支",materialCategories:"素材分类",materialItems:"素材条目",emptyCategories:"暂无分类",emptyMaterials:"暂无素材",pendingConfirm:"待确认",signFirstImage:"签名首图",noSignableMaterial:"没有可签名的素材图片",signMaterial:"签名素材",match:"匹配",matchWardrobe:"衣橱匹配",emptyWardrobe:"暂无衣橱条目",moveFailed:"失败转死信",retryDead:"重试死信",retry:"重试",cancel:"取消",emptyJobs:"暂无任务",dialects:"协议方言",safeProbe:"安全探测",capabilityProfiles:"能力档案",renderPlan:"RenderPlan",validatePlan:"校验计划",provider:"Provider",model:"Model",requiredCapabilities:"所需能力",validationStatus:"校验状态",support:"支持",unsupported:"不支持",unconfirmed:"待确认",emptyCapabilities:"暂无能力档案",generationLogs:"生成日志",errorLogs:"错误",workflowLogs:"工作流",integrationLogs:"集成",auditLogs:"审计",emptyGenerationLogs:"暂无生成日志",emptyErrors:"暂无错误",emptyWorkflowLogs:"暂无工作流日志",emptyIntegrationLogs:"暂无集成日志",emptyAuditLogs:"暂无审计日志",noErrorDetail:"无错误详情",reload:"重载",validate:"校验",diff:"对比",save:"保存",reset:"重置",exportRedacted:"导出脱敏配置",exportSettings:"导出设置",exportDone:"导出设置完成,配置已脱敏",settingsEditor:"配置编辑",settingsDraftInvalid:"配置 JSON 格式无效",settingsSaved:"设置已保存",validationResult:"校验结果",diffResult:"变更对比",storage:"存储",running:"运行"},n=[{key:"dashboard",label:"概览"},{key:"profiles",label:t.profiles},{key:"workflows",label:t.workflows},{key:"materials",label:"素材"},{key:"wardrobe",label:"衣橱"},{key:"jobs",label:"队列"},{key:"discovery",label:"探测"},{key:"logs",label:"日志"},{key:"settings",label:t.settings}],s=J("dashboard"),l=J(null),i=J(null),r=J(null),a=J([]),c=J(null),g=J(null),h=J(null),y=J(null),D=J(null),A=J([]),K=J(null),$=J([]),re=J([]),Z=J([]),H=J(null),V=J({generation:[],workflows:[],errors:[],integrations:[],audit:[]}),R=J(null),ae=J(""),Se=J(null),ke=J(null),U=J({name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""}),We=J(null),Pe=J({display_name:"",workflow_type:"single_image"}),de=J({display_name:"",image_uri:"",tags:"",category_id:""}),ce=J({material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}),be=J({categories:"top,bottom,dress,shoes,accessory",mood:"",weather:"",keywords:""}),pt=J(null),Re=J({provider_id:"",model_id:"",required_capabilities:"text_to_image"}),_e=J(null),W=J(""),z=J(!0),B=J(""),Ke=J(""),we=kt(()=>{var _,v;return((v=(_=r.value)==null?void 0:_.items[0])==null?void 0:v.profile_id)??""}),je=kt(()=>{var _,v;return((v=(_=r.value)==null?void 0:_.items[0])==null?void 0:v.name)??t.noProfile}),fn=kt(()=>{var v;const _=(v=i.value)==null?void 0:v.queue;return _?_.pending+_.running+_.failed+_.dead_letter:0}),Gn=kt(()=>{var _;return((_=K.value)==null?void 0:_.items.filter(v=>v.recognition_status!=="confirmed").length)??0}),zn=kt(()=>{var _;return(((_=K.value)==null?void 0:_.items)??[]).filter(v=>v.recognition_status==="confirmed")}),mt=kt(()=>({dashboard:t.dashboard,profiles:t.profiles,workflows:t.workflows,materials:t.materials,wardrobe:t.wardrobe,jobs:t.jobs,discovery:t.discovery,logs:t.logs,settings:t.settings})[s.value]);pi(ht);async function ht(){var _,v;z.value=!0,Ke.value="";try{const[ue,me,$e,At,hn,Ut,gn,_n,vn,mn,yn]=await Promise.all([ge(F.uiBootstrap),ge(F.dashboardSummary),ge(F.profiles,{page:1,page_size:20}),ge(F.jobs,{page:1,page_size:20}),ge(F.settingsSchema),ge(F.settingsCurrent),ge(F.storageStatus),ge(F.materialCategories),ge(F.materials,{page:1,page_size:24}),ge(F.apiDiscoveryDialects),ge(F.apiDiscoveryCapabilities)]);l.value=ue,i.value=me,r.value=$e,g.value=At,h.value=hn,y.value=Ut,De(Ut.config),D.value=gn,A.value=_n,K.value=vn,re.value=mn,Z.value=yn,await yt((_=$e.items[0])==null?void 0:_.profile_id),await js((v=$e.items[0])==null?void 0:v.profile_id),await Nt()}catch(ue){Ke.value=ue instanceof Error?ue.message:t.loadFailed}finally{z.value=!1}}async function Nt(){const[_,v,ue,me,$e]=await Promise.allSettled([ge(F.generationLogs,{limit:12}),ge(F.workflowLogs,{limit:12}),ge(F.errorLogs,{limit:12}),ge(F.integrationLogs,{limit:12}),ge(F.auditLogs,{limit:12})]);V.value={generation:gt(_),workflows:gt(v),errors:gt(ue),integrations:gt(me),audit:gt($e)}}function gt(_){return _.status==="fulfilled"?_.value:[]}async function yt(_){if(!_){$.value=[];return}$.value=await ge(F.wardrobe(_))}async function js(_){var me,$e;if(!_){a.value=[],c.value=null;return}a.value=await ge(F.profileWorkflows(_));const v=(me=c.value)==null?void 0:me.workflow.workflow_id,ue=a.value.some(At=>At.workflow_id===v)?v:($e=a.value[0])==null?void 0:$e.workflow_id;ue?await u(ue):c.value=null}async function u(_){c.value=await ge(F.workflow(_))}async function f(_,v,ue=!0){B.value=_,Ke.value="";try{const me=await v();W.value=`${_}${t.complete}`,_===t.exportSettings&&(W.value=`${t.exportDone}: ${!!me.redacted}`),ue&&await ht()}catch(me){Ke.value=me instanceof Error?me.message:`${_}${t.failed}`}finally{B.value=""}}function m(_){return f(t.retry,()=>fe(F.jobRetry(_)))}function C(_){return f(t.cancel,()=>fe(F.jobCancel(_)))}function x(){U.value={name:"",identity:"",personality:"",hair_color:"",hairstyle:"",eye_color:"",style:"",clothing_keywords:"",description:""},We.value=null}function b(){return f(t.quickDraft,async()=>(We.value=await fe(F.quickProfileDraft,{questionnaire:{name:U.value.name,identity:U.value.identity,personality:wt(U.value.personality),hair_color:U.value.hair_color,hairstyle:U.value.hairstyle,eye_color:U.value.eye_color,style:U.value.style,clothing_keywords:wt(U.value.clothing_keywords)}}),We.value),!1)}function P(){var v;const _=(v=We.value)==null?void 0:v.profile_preview;return f(t.create,async()=>{const ue=await fe(F.profiles,{name:(_==null?void 0:_.name)||U.value.name,description:U.value.description,base_prompt:_==null?void 0:_.base_prompt,appearance_prompt:_==null?void 0:_.appearance_prompt,style_prompt:_==null?void 0:_.style_prompt,negative_prompt:_==null?void 0:_.negative_prompt});return x(),W.value=t.profileCreated,ue})}function k(_){return f(t.delete,async()=>{const v=await en(F.profile(_),{method:"DELETE"});return W.value=t.profileDeleted,v})}function S(){const _=we.value;return _?f(t.create,async()=>{const v=await fe(F.profileWorkflows(_),{display_name:Pe.value.display_name,workflow_type:Pe.value.workflow_type});return Pe.value.display_name="",c.value=v,W.value=t.workflowCreated,v}):Promise.resolve()}function w(_){return f(t.start,()=>fe(F.workflowStart(_)))}function I(_){return f(t.cancel,()=>fe(F.workflowCancel(_)))}function E(_){return f(t.archive,()=>fe(F.workflowArchive(_)))}function M(){return f(t.moveFailed,()=>fe(F.jobDeadLetterMoveFailed,{limit:20}))}function L(){return f(t.retryDead,()=>fe(F.jobDeadLetterRetry,{limit:20}))}function q(){var v;const _=((v=re.value[0])==null?void 0:v.dialect)??"unknown";return f(t.safeProbe,()=>fe(F.apiDiscoveryProbeModel,{provider_id:"local-preview",model_id:"metadata-only",dialect:_,capabilities:{supports:["text_to_image"]}}))}function ee(){return f(t.validatePlan,async()=>(_e.value=await fe(F.apiDiscoveryValidateRenderPlan,{provider_id:Re.value.provider_id,model_id:Re.value.model_id,required_capabilities:wt(Re.value.required_capabilities)}),_e.value),!1)}function G(_,v){return f(t.discovery,()=>fe(F.apiDiscoveryManualOverride,{provider_id:_.provider_id,model_id:_.model_id,dialect:_.dialect,status:v,capabilities:_.capabilities}))}function pe(){const _=we.value;return _?f(t.matchWardrobe,async()=>(H.value=await fe(F.wardrobeMatch(_),{tags:["daily"]}),H.value),!1):Promise.resolve()}function ve(){ce.value={material_id:"",wardrobe_category:"top",tags:"",season:"",style:""}}function Be(){const _=we.value;return _?f(t.importToWardrobe,async()=>{const v=await fe(F.wardrobeImportMaterial(_),{material_id:ce.value.material_id,wardrobe_category:ce.value.wardrobe_category,tags:wt(ce.value.tags),season:ce.value.season||void 0,style:ce.value.style||void 0});return ve(),W.value=t.wardrobeImported,v}):Promise.resolve()}function Ne(_){const v=we.value;return v?f(t.delete,async()=>{const ue=await en(F.wardrobeItem(v,_),{method:"DELETE"});return W.value=t.wardrobeDeleted,ue}):Promise.resolve()}function bt(){const _=we.value;return _?f(t.dailyOutfit,async()=>(pt.value=await fe(F.privateCompanionDailyOutfit,{profile_id:_,categories:wt(be.value.categories),mood:be.value.mood,weather:be.value.weather,keywords:wt(be.value.keywords),request_source:"astrbot_plugin_private_companion"}),W.value=t.outfitGenerated,pt.value),!1):Promise.resolve()}function dn(){return f(t.reload,async()=>{var v;const _=await fe(F.settingsReload);return y.value={config_path:((v=y.value)==null?void 0:v.config_path)??"***PATH***",config:_.config},De(_.config),_},!1)}function Oe(){return f(t.exportSettings,()=>ge(F.settingsExport),!1)}function De(_=(v=>(v=y.value)==null?void 0:v.config)()??{}){ae.value=JSON.stringify(_,null,2),Se.value=null,ke.value=null}function Dt(){try{const _=JSON.parse(ae.value);if(!_||Array.isArray(_)||typeof _!="object")throw new Error(t.settingsDraftInvalid);return _}catch(_){throw new Error(_ instanceof Error?_.message:t.settingsDraftInvalid)}}function pn(){return f(t.validate,async()=>(Se.value=await fe(F.settingsValidate,{config:Dt()}),Se.value),!1)}function ji(){return f(t.diff,async()=>(ke.value=await fe(F.settingsDiff,{config:Dt()}),ke.value),!1)}function Vi(){return f(t.save,async()=>{var v;const _=await fe(F.settingsSave,{config:Dt()});return y.value={config_path:((v=y.value)==null?void 0:v.config_path)??"***PATH***",config:_.config},De(_.config),W.value=t.settingsSaved,_},!1)}function Bi(){var v,ue;const _=(ue=(v=K.value)==null?void 0:v.items.find(me=>{var $e;return($e=me.image_uri)==null?void 0:$e.startsWith("storage://")}))==null?void 0:ue.image_uri;return _?f(t.signMaterial,async()=>(R.value=await ge(F.mediaSign,{uri:_}),R.value),!1):(W.value=t.noSignableMaterial,Promise.resolve())}function Ni(){de.value={display_name:"",image_uri:"",tags:"",category_id:""}}function Ui(){return f(t.create,async()=>{const _=await fe(F.materials,{display_name:de.value.display_name,image_uri:de.value.image_uri||void 0,thumbnail_uri:de.value.image_uri||void 0,category_id:de.value.category_id||void 0,tags:wt(de.value.tags),recognition_status:de.value.image_uri?"pending_recognition":"pending_upload"});return Ni(),W.value=t.materialCreated,_})}function Hi(_){return f(t.recognize,()=>fe(F.materialRecognize(_)))}function Wi(_){return f(t.confirm,()=>fe(F.materialConfirm(_.material_id),{display_name:_.display_name,prompt:_.prompt,negative_prompt:_.negative_prompt,tags:_.tags}))}function Ki(_){return f(t.archive,async()=>{const v=await en(F.material(_),{method:"DELETE"});return W.value=t.materialArchived,v})}function wt(_){return _.split(",").map(v=>v.trim()).filter(Boolean)}function Yn(_=0){return _<1024?`${_} B`:_<1024*1024?`${(_/1024).toFixed(1)} KB`:_<1024*1024*1024?`${(_/1024/1024).toFixed(1)} MB`:`${(_/1024/1024/1024).toFixed(1)} GB`}function Vs(_){var v,ue;return((ue=(v=D.value)==null?void 0:v.roots.find(me=>me.uri_prefix===_))==null?void 0:ue.bytes)??0}return(_,v)=>{var ue,me,$e,At,hn,Ut,gn,_n,vn,mn,yn,Bs,Ns,Us,Hs,Ws,Ks,qs,Js,Gs,zs,Ys,Xs,Qs,Zs;return T(),O("main",Sa,[o("aside",ka,[o("div",Pa,[o("strong",null,d(((ue=l.value)==null?void 0:ue.display_name)??"ImageStudio"),1),o("span",null,d(((me=l.value)==null?void 0:me.dashboard_user)??"AstrBot"),1)]),o("nav",null,[(T(),O(ne,null,ye(n,p=>o("button",{key:p.key,type:"button",class:Nn({active:s.value===p.key}),onClick:Le=>s.value=p.key},d(p.label),11,Ea)),64))])]),o("section",Ta,[o("header",Oa,[o("div",null,[o("h1",null,d(mt.value),1),o("p",null,d((($e=i.value)==null?void 0:$e.plugin_status)??"loading")+" / "+d(W.value||t.waiting),1)]),o("div",Da,[o("button",{type:"button",disabled:!!B.value,onClick:ht},d(B.value||t.refresh),9,Aa)])]),Ke.value?(T(),O("section",Ma,d(Ke.value),1)):z.value?(T(),O("section",Ia,d(t.loading),1)):(T(),O(ne,{key:2},[s.value==="dashboard"?(T(),O("section",Ra,[o("article",null,[o("span",null,d(t.profiles),1),o("strong",null,d(((At=i.value)==null?void 0:At.active_profiles)??0),1)]),o("article",null,[o("span",null,d(t.jobs),1),o("strong",null,d(fn.value),1)]),o("article",null,[o("span",null,d(t.materials),1),o("strong",null,d(((hn=K.value)==null?void 0:hn.total)??0),1)]),o("article",null,[o("span",null,d(t.storage),1),o("strong",null,d(Yn(((Ut=D.value)==null?void 0:Ut.total_bytes)??((gn=i.value)==null?void 0:gn.storage.total_bytes))),1)])])):Y("",!0),s.value==="profiles"?(T(),O("section",$a,[o("header",null,[o("h2",null,d(t.profileList),1),o("span",null,d(((_n=r.value)==null?void 0:_n.total)??0),1)]),o("div",La,[o("label",null,[o("span",null,d(t.name),1),te(o("input",{"onUpdate:modelValue":v[0]||(v[0]=p=>U.value.name=p),type:"text"},null,512),[[oe,U.value.name]])]),o("label",null,[o("span",null,d(t.identity),1),te(o("input",{"onUpdate:modelValue":v[1]||(v[1]=p=>U.value.identity=p),type:"text"},null,512),[[oe,U.value.identity]])]),o("label",null,[o("span",null,d(t.personality),1),te(o("input",{"onUpdate:modelValue":v[2]||(v[2]=p=>U.value.personality=p),type:"text",placeholder:"calm, brave"},null,512),[[oe,U.value.personality]])]),o("label",null,[o("span",null,d(t.hairColor),1),te(o("input",{"onUpdate:modelValue":v[3]||(v[3]=p=>U.value.hair_color=p),type:"text"},null,512),[[oe,U.value.hair_color]])]),o("label",null,[o("span",null,d(t.hairstyle),1),te(o("input",{"onUpdate:modelValue":v[4]||(v[4]=p=>U.value.hairstyle=p),type:"text"},null,512),[[oe,U.value.hairstyle]])]),o("label",null,[o("span",null,d(t.eyeColor),1),te(o("input",{"onUpdate:modelValue":v[5]||(v[5]=p=>U.value.eye_color=p),type:"text"},null,512),[[oe,U.value.eye_color]])]),o("label",null,[o("span",null,d(t.stylePrompt),1),te(o("input",{"onUpdate:modelValue":v[6]||(v[6]=p=>U.value.style=p),type:"text"},null,512),[[oe,U.value.style]])]),o("label",null,[o("span",null,d(t.tags),1),te(o("input",{"onUpdate:modelValue":v[7]||(v[7]=p=>U.value.clothing_keywords=p),type:"text",placeholder:"white blouse, ribbon"},null,512),[[oe,U.value.clothing_keywords]])]),o("label",Fa,[o("span",null,d(t.description),1),te(o("input",{"onUpdate:modelValue":v[8]||(v[8]=p=>U.value.description=p),type:"text"},null,512),[[oe,U.value.description]])]),o("button",{type:"button",disabled:!!B.value||!U.value.name,onClick:b},d(t.quickDraft),9,ja),o("button",{type:"button",disabled:!!B.value||!U.value.name,onClick:P},d(t.create),9,Va)]),We.value?(T(),O("pre",Ba,d(JSON.stringify(We.value,null,2)),1)):Y("",!0),o("ul",null,[(T(!0),O(ne,null,ye(((vn=r.value)==null?void 0:vn.items)??[],p=>(T(),O("li",{key:p.profile_id},[o("div",null,[o("strong",null,d(p.name),1),o("small",null,d(p.profile_id),1)]),o("div",Na,[o("span",Ua,d(p.status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>k(p.profile_id)},d(t.delete),9,Ha)])]))),128)),(mn=r.value)!=null&&mn.items.length?Y("",!0):(T(),O("li",Wa,d(t.emptyProfiles),1))])])):Y("",!0),s.value==="workflows"?(T(),O("section",Ka,[o("div",qa,[o("header",null,[o("h2",null,d(je.value),1),o("span",null,d(a.value.length),1)]),o("div",Ja,[o("label",null,[o("span",null,d(t.name),1),te(o("input",{"onUpdate:modelValue":v[9]||(v[9]=p=>Pe.value.display_name=p),type:"text"},null,512),[[oe,Pe.value.display_name]])]),o("label",null,[o("span",null,d(t.workflowType),1),te(o("select",{"onUpdate:modelValue":v[10]||(v[10]=p=>Pe.value.workflow_type=p)},[...v[29]||(v[29]=[o("option",{value:"single_image"},"single_image",-1),o("option",{value:"character_gradual"},"character_gradual",-1),o("option",{value:"character_fast"},"character_fast",-1),o("option",{value:"quick_profile"},"quick_profile",-1)])],512),[[cs,Pe.value.workflow_type]])]),o("button",{type:"button",disabled:!!B.value||!we.value||!Pe.value.display_name,onClick:S},d(t.create),9,Ga)]),o("ul",null,[(T(!0),O(ne,null,ye(a.value,p=>(T(),O("li",{key:p.workflow_id},[o("div",null,[o("strong",null,d(p.display_name),1),o("small",null,d(p.workflow_type)+" / "+d(p.workflow_id),1)]),o("div",za,[o("span",Ya,d(p.status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>u(p.workflow_id)},d(t.nodes),9,Xa),o("button",{type:"button",disabled:!!B.value,onClick:Le=>w(p.workflow_id)},d(t.start),9,Qa),o("button",{type:"button",disabled:!!B.value,onClick:Le=>I(p.workflow_id)},d(t.cancel),9,Za),o("button",{type:"button",disabled:!!B.value,onClick:Le=>E(p.workflow_id)},d(t.archive),9,eu)])]))),128)),a.value.length?Y("",!0):(T(),O("li",tu,d(t.emptyWorkflows),1))])]),o("div",nu,[o("header",null,[o("h2",null,d(t.nodes),1),o("span",null,d(((yn=c.value)==null?void 0:yn.workflow.current_branch)??"main"),1)]),o("ul",null,[(T(!0),O(ne,null,ye(((Bs=c.value)==null?void 0:Bs.nodes)??[],p=>(T(),O("li",{key:p.node_id},[o("div",null,[o("strong",null,d(p.title),1),o("small",null,d(p.node_key)+" / "+d(p.node_id),1)]),o("div",su,[o("span",null,d(p.branch_name),1),o("span",lu,d(p.status),1)])]))),128)),(Ns=c.value)!=null&&Ns.nodes.length?Y("",!0):(T(),O("li",iu,d(t.emptyWorkflows),1))]),c.value?(T(),O("pre",ou,d(JSON.stringify(c.value.workflow,null,2)),1)):Y("",!0)])])):Y("",!0),s.value==="materials"?(T(),O("section",ru,[o("div",au,[o("header",null,[o("h2",null,d(t.materialCategories),1),o("span",null,d(A.value.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(A.value,p=>(T(),O("li",{key:p.category_id},[o("div",null,[o("strong",null,d(p.name),1),o("small",null,d(p.category_type),1)]),o("span",null,d(p.sort_order),1)]))),128)),A.value.length?Y("",!0):(T(),O("li",uu,d(t.emptyCategories),1))])]),o("div",cu,[o("header",null,[o("h2",null,d(t.materialItems),1),o("div",fu,[o("span",null,d(Gn.value)+" "+d(t.pendingConfirm),1),o("button",{type:"button",disabled:!!B.value,onClick:Bi},d(t.signFirstImage),9,du)])]),o("div",pu,[o("label",null,[o("span",null,d(t.name),1),te(o("input",{"onUpdate:modelValue":v[11]||(v[11]=p=>de.value.display_name=p),type:"text"},null,512),[[oe,de.value.display_name]])]),o("label",null,[o("span",null,d(t.imageUri),1),te(o("input",{"onUpdate:modelValue":v[12]||(v[12]=p=>de.value.image_uri=p),type:"text",placeholder:"storage://materials/example.png"},null,512),[[oe,de.value.image_uri]])]),o("label",null,[o("span",null,d(t.category),1),te(o("select",{"onUpdate:modelValue":v[13]||(v[13]=p=>de.value.category_id=p)},[o("option",hu,d(t.allCategories),1),(T(!0),O(ne,null,ye(A.value,p=>(T(),O("option",{key:p.category_id,value:p.category_id},d(p.name),9,gu))),128))],512),[[cs,de.value.category_id]])]),o("label",null,[o("span",null,d(t.tags),1),te(o("input",{"onUpdate:modelValue":v[14]||(v[14]=p=>de.value.tags=p),type:"text",placeholder:"daily, top"},null,512),[[oe,de.value.tags]])]),o("button",{type:"button",disabled:!!B.value||!de.value.display_name,onClick:Ui},d(t.create),9,_u)]),o("ul",null,[(T(!0),O(ne,null,ye(((Us=K.value)==null?void 0:Us.items)??[],p=>(T(),O("li",{key:p.material_id},[o("div",null,[o("strong",null,d(p.display_name),1),o("small",null,d(p.image_uri??t.noImage),1)]),o("div",vu,[o("span",mu,d(p.recognition_status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>Hi(p.material_id)},d(t.recognize),9,yu),o("button",{type:"button",disabled:!!B.value||p.recognition_status==="confirmed",onClick:Le=>Wi(p)},d(t.confirm),9,bu),o("button",{type:"button",disabled:!!B.value,onClick:Le=>Ki(p.material_id)},d(t.archive),9,wu)])]))),128)),(Hs=K.value)!=null&&Hs.items.length?Y("",!0):(T(),O("li",xu,d(t.emptyMaterials),1))]),R.value?(T(),O("pre",Cu,d(JSON.stringify(R.value,null,2)),1)):Y("",!0)])])):Y("",!0),s.value==="wardrobe"?(T(),O("section",Su,[o("header",null,[o("h2",null,d(je.value),1),o("button",{type:"button",disabled:!we.value||!!B.value,onClick:pe},d(t.match),9,ku)]),o("div",Pu,[o("label",null,[o("span",null,d(t.selectMaterial),1),te(o("select",{"onUpdate:modelValue":v[15]||(v[15]=p=>ce.value.material_id=p)},[o("option",Eu,d(t.selectMaterial),1),(T(!0),O(ne,null,ye(zn.value,p=>(T(),O("option",{key:p.material_id,value:p.material_id},d(p.display_name),9,Tu))),128))],512),[[cs,ce.value.material_id]])]),o("label",null,[o("span",null,d(t.wardrobeCategory),1),te(o("input",{"onUpdate:modelValue":v[16]||(v[16]=p=>ce.value.wardrobe_category=p),type:"text"},null,512),[[oe,ce.value.wardrobe_category]])]),o("label",null,[o("span",null,d(t.tags),1),te(o("input",{"onUpdate:modelValue":v[17]||(v[17]=p=>ce.value.tags=p),type:"text",placeholder:"daily, top"},null,512),[[oe,ce.value.tags]])]),o("label",null,[o("span",null,d(t.season),1),te(o("input",{"onUpdate:modelValue":v[18]||(v[18]=p=>ce.value.season=p),type:"text"},null,512),[[oe,ce.value.season]])]),o("label",null,[o("span",null,d(t.style),1),te(o("input",{"onUpdate:modelValue":v[19]||(v[19]=p=>ce.value.style=p),type:"text"},null,512),[[oe,ce.value.style]])]),o("button",{type:"button",disabled:!!B.value||!we.value||!ce.value.material_id||!ce.value.wardrobe_category,onClick:Be},d(t.importToWardrobe),9,Ou)]),o("ul",null,[(T(!0),O(ne,null,ye($.value,p=>(T(),O("li",{key:p.wardrobe_item_id},[o("div",null,[o("strong",null,d(p.wardrobe_category),1),o("small",null,d(p.material_id)+" / "+d(p.tags.join(", ")||t.noTags),1)]),o("div",Du,[o("span",null,d(p.usage_count),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>Ne(p.wardrobe_item_id)},d(t.delete),9,Au)])]))),128)),$.value.length?Y("",!0):(T(),O("li",Mu,d(t.emptyWardrobe),1))]),H.value?(T(),O("pre",Iu,d(JSON.stringify(H.value,null,2)),1)):Y("",!0),o("div",Ru,[o("label",null,[o("span",null,d(t.categories),1),te(o("input",{"onUpdate:modelValue":v[20]||(v[20]=p=>be.value.categories=p),type:"text"},null,512),[[oe,be.value.categories]])]),o("label",null,[o("span",null,d(t.mood),1),te(o("input",{"onUpdate:modelValue":v[21]||(v[21]=p=>be.value.mood=p),type:"text"},null,512),[[oe,be.value.mood]])]),o("label",null,[o("span",null,d(t.weather),1),te(o("input",{"onUpdate:modelValue":v[22]||(v[22]=p=>be.value.weather=p),type:"text"},null,512),[[oe,be.value.weather]])]),o("label",null,[o("span",null,d(t.keywords),1),te(o("input",{"onUpdate:modelValue":v[23]||(v[23]=p=>be.value.keywords=p),type:"text"},null,512),[[oe,be.value.keywords]])]),o("button",{type:"button",disabled:!!B.value||!we.value,onClick:bt},d(t.dailyOutfit),9,$u)]),pt.value?(T(),O("pre",Lu,d(JSON.stringify(pt.value,null,2)),1)):Y("",!0)])):Y("",!0),s.value==="jobs"?(T(),O("section",Fu,[o("header",null,[o("h2",null,d(t.jobs),1),o("div",ju,[o("button",{type:"button",disabled:!!B.value,onClick:M},d(t.moveFailed),9,Vu),o("button",{type:"button",disabled:!!B.value,onClick:L},d(t.retryDead),9,Bu)])]),o("ul",null,[(T(!0),O(ne,null,ye(((Ws=g.value)==null?void 0:Ws.items)??[],p=>(T(),O("li",{key:p.task_id},[o("div",null,[o("strong",null,d(p.task_id),1),o("small",null,d(p.task_type)+" / "+d(p.progress)+"%",1)]),o("div",Nu,[o("span",Uu,d(p.status),1),p.status==="failed"?(T(),O("button",{key:0,type:"button",onClick:Le=>m(p.task_id)},d(t.retry),9,Hu)):Y("",!0),p.status==="pending"?(T(),O("button",{key:1,type:"button",onClick:Le=>C(p.task_id)},d(t.cancel),9,Wu)):Y("",!0)])]))),128)),(Ks=g.value)!=null&&Ks.items.length?Y("",!0):(T(),O("li",Ku,d(t.emptyJobs),1))])])):Y("",!0),s.value==="discovery"?(T(),O("section",qu,[o("div",Ju,[o("header",null,[o("h2",null,d(t.dialects),1),o("button",{type:"button",disabled:!!B.value,onClick:q},d(t.safeProbe),9,Gu)]),o("ul",null,[(T(!0),O(ne,null,ye(re.value,p=>(T(),O("li",{key:p.dialect},[o("div",null,[o("strong",null,d(p.label),1),o("small",null,d(p.capabilities.join(", ")||t.unconfirmed),1)]),o("span",null,d(p.dialect),1)]))),128))]),o("div",zu,[o("label",null,[o("span",null,d(t.provider),1),te(o("input",{"onUpdate:modelValue":v[24]||(v[24]=p=>Re.value.provider_id=p),type:"text",placeholder:"local-preview"},null,512),[[oe,Re.value.provider_id]])]),o("label",null,[o("span",null,d(t.model),1),te(o("input",{"onUpdate:modelValue":v[25]||(v[25]=p=>Re.value.model_id=p),type:"text",placeholder:"metadata-only"},null,512),[[oe,Re.value.model_id]])]),o("label",null,[o("span",null,d(t.requiredCapabilities),1),te(o("input",{"onUpdate:modelValue":v[26]||(v[26]=p=>Re.value.required_capabilities=p),type:"text",placeholder:"text_to_image"},null,512),[[oe,Re.value.required_capabilities]])]),o("button",{type:"button",disabled:!!B.value||!Re.value.provider_id||!Re.value.model_id,onClick:ee},d(t.validatePlan),9,Yu)]),_e.value?(T(),O("pre",Xu,d(JSON.stringify(_e.value,null,2)),1)):Y("",!0)]),o("div",Qu,[o("header",null,[o("h2",null,d(t.capabilityProfiles),1),o("span",null,d(Z.value.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(Z.value,p=>(T(),O("li",{key:p.capability_profile_id},[o("div",null,[o("strong",null,d(p.provider_id)+" / "+d(p.model_id),1),o("small",null,d(p.dialect),1)]),o("div",Zu,[o("span",ec,d(p.status),1),o("button",{type:"button",disabled:!!B.value,onClick:Le=>G(p,"confirmed_supported")},d(t.support),9,tc),o("button",{type:"button",disabled:!!B.value,onClick:Le=>G(p,"confirmed_unsupported")},d(t.unsupported),9,nc),o("button",{type:"button",disabled:!!B.value,onClick:Le=>G(p,"unconfirmed")},d(t.unconfirmed),9,sc)])]))),128)),Z.value.length?Y("",!0):(T(),O("li",lc,d(t.emptyCapabilities),1))])])])):Y("",!0),s.value==="logs"?(T(),O("section",ic,[o("div",oc,[o("div",rc,[o("header",null,[o("h2",null,d(t.generationLogs),1),o("span",null,d(V.value.generation.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.generation,p=>(T(),O("li",{key:p.task_id},[o("div",null,[o("strong",null,d(p.task_id),1),o("small",null,d(p.status)+" / "+d(p.progress)+"%",1)]),o("span",null,d(p.created_at),1)]))),128)),V.value.generation.length?Y("",!0):(T(),O("li",ac,d(t.emptyGenerationLogs),1))])]),o("div",uc,[o("header",null,[o("h2",null,d(t.errorLogs),1),o("span",null,d(V.value.errors.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.errors,p=>(T(),O("li",{key:`${p.source}-${p.id}`},[o("div",null,[o("strong",null,d(p.source),1),o("small",null,d(p.error_message??t.noErrorDetail),1)]),o("span",cc,d(p.status),1)]))),128)),V.value.errors.length?Y("",!0):(T(),O("li",fc,d(t.emptyErrors),1))])])]),o("div",dc,[o("div",pc,[o("header",null,[o("h2",null,d(t.workflowLogs),1),o("span",null,d(V.value.workflows.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.workflows,p=>(T(),O("li",{key:p.history_id},[o("div",null,[o("strong",null,d(p.action),1),o("small",null,d(p.title??p.workflow_id),1)]),o("span",null,d(p.branch_name??"main"),1)]))),128)),V.value.workflows.length?Y("",!0):(T(),O("li",hc,d(t.emptyWorkflowLogs),1))])]),o("div",gc,[o("header",null,[o("h2",null,d(t.integrationLogs),1),o("span",null,d(V.value.integrations.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.integrations,p=>(T(),O("li",{key:p.integration_log_id},[o("div",null,[o("strong",null,d(p.integration_name),1),o("small",null,d(p.action),1)]),o("span",_c,d(p.status),1)]))),128)),V.value.integrations.length?Y("",!0):(T(),O("li",vc,d(t.emptyIntegrationLogs),1))])])]),o("div",mc,[o("header",null,[o("h2",null,d(t.auditLogs),1),o("span",null,d(V.value.audit.length),1)]),o("ul",null,[(T(!0),O(ne,null,ye(V.value.audit,p=>(T(),O("li",{key:p.audit_id},[o("div",null,[o("strong",null,d(p.action),1),o("small",null,d(p.actor_type)+" / "+d(p.target_type)+" / "+d(p.target_id),1)]),o("span",null,d(p.created_at),1)]))),128)),V.value.audit.length?Y("",!0):(T(),O("li",yc,d(t.emptyAuditLogs),1))])])])):Y("",!0),s.value==="settings"?(T(),O("section",bc,[o("div",wc,[o("button",{type:"button",disabled:!!B.value,onClick:dn},d(t.reload),9,xc),o("button",{type:"button",disabled:!!B.value,onClick:v[27]||(v[27]=p=>De())},d(t.reset),9,Cc),o("button",{type:"button",disabled:!!B.value,onClick:pn},d(t.validate),9,Sc),o("button",{type:"button",disabled:!!B.value,onClick:ji},d(t.diff),9,kc),o("button",{type:"button",disabled:!!B.value,onClick:Vi},d(t.save),9,Pc),o("button",{type:"button",disabled:!!B.value,onClick:Oe},d(t.exportRedacted),9,Ec)]),o("div",Tc,[(T(!0),O(ne,null,ye(((qs=h.value)==null?void 0:qs.sections)??[],p=>(T(),O("article",{key:p.key},[o("h2",null,d(p.title),1),o("span",null,d(p.fields.length),1)]))),128))]),o("section",Oc,[o("header",null,[o("h2",null,d(t.settingsEditor),1),o("span",null,d(((Js=y.value)==null?void 0:Js.config_path)??"***PATH***"),1)]),te(o("textarea",{"onUpdate:modelValue":v[28]||(v[28]=p=>ae.value=p),spellcheck:"false"},null,512),[[oe,ae.value]])]),o("div",Dc,[o("div",Ac,[o("header",null,[o("h2",null,d(t.validationResult),1),o("span",null,d(((Gs=Se.value)==null?void 0:Gs.valid)??"-"),1)]),o("pre",null,d(JSON.stringify(Se.value??{},null,2)),1)]),o("div",Mc,[o("header",null,[o("h2",null,d(t.diffResult),1),o("span",null,d(((zs=ke.value)==null?void 0:zs.changes.length)??0),1)]),o("pre",null,d(JSON.stringify(ke.value??{},null,2)),1)])])])):Y("",!0)],64))]),o("aside",Ic,[o("h2",null,d(t.running),1),o("dl",null,[o("div",null,[v[30]||(v[30]=o("dt",null,"Pending",-1)),o("dd",null,d(((Ys=i.value)==null?void 0:Ys.queue.pending)??0),1)]),o("div",null,[v[31]||(v[31]=o("dt",null,"Running",-1)),o("dd",null,d(((Xs=i.value)==null?void 0:Xs.queue.running)??0),1)]),o("div",null,[v[32]||(v[32]=o("dt",null,"Failed",-1)),o("dd",null,d(((Qs=i.value)==null?void 0:Qs.queue.failed)??0),1)]),o("div",null,[v[33]||(v[33]=o("dt",null,"Dead",-1)),o("dd",null,d(((Zs=i.value)==null?void 0:Zs.queue.dead_letter)??0),1)])]),o("h2",null,d(t.storage),1),o("dl",null,[o("div",null,[v[34]||(v[34]=o("dt",null,"Images",-1)),o("dd",null,d(Yn(Vs("storage://images/"))),1)]),o("div",null,[v[35]||(v[35]=o("dt",null,"Materials",-1)),o("dd",null,d(Yn(Vs("storage://materials/"))),1)])])])])}}}),$c=(e,t)=>{const n=e.__vccOpts||e;for(const[s,l]of t)n[s]=l;return n},Lc=$c(Rc,[["__scopeId","data-v-7bc7fcf4"]]);ma(Lc).mount("#app");
|