agendash 8.2.0 → 8.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();/**
2
+ * @vue/shared v3.5.28
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/function ho(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ge={},on=[],lt=()=>{},Or=()=>!1,Cs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),mo=e=>e.startsWith("onUpdate:"),xe=Object.assign,go=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ll=Object.prototype.hasOwnProperty,ae=(e,t)=>ll.call(e,t),Y=Array.isArray,rn=e=>Vn(e)==="[object Map]",hn=e=>Vn(e)==="[object Set]",Eo=e=>Vn(e)==="[object Date]",Q=e=>typeof e=="function",we=e=>typeof e=="string",at=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",Er=e=>(de(e)||Q(e))&&Q(e.then)&&Q(e.catch),Nr=Object.prototype.toString,Vn=e=>Nr.call(e),al=e=>Vn(e).slice(8,-1),Ar=e=>Vn(e)==="[object Object]",po=e=>we(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tn=ho(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$s=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ul=/-\w/g,It=$s(e=>e.replace(ul,t=>t.slice(1).toUpperCase())),cl=/\B([A-Z])/g,zt=$s(e=>e.replace(cl,"-$1").toLowerCase()),Rr=$s(e=>e.charAt(0).toUpperCase()+e.slice(1)),As=$s(e=>e?`on${Rr(e)}`:""),Ft=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Fr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ks=e=>{const t=parseFloat(e);return isNaN(t)?e:t},fl=e=>{const t=we(e)?Number(e):NaN;return isNaN(t)?e:t};let No;const Ss=()=>No||(No=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function be(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=we(s)?gl(s):be(s);if(o)for(const r in o)t[r]=o[r]}return t}else if(we(e)||de(e))return e}const dl=/;(?![^(]*\))/g,hl=/:([^]+)/,ml=/\/\*[^]*?\*\//g;function gl(e){const t={};return e.replace(ml,"").split(dl).forEach(n=>{if(n){const s=n.split(hl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function fe(e){let t="";if(we(e))t=e;else if(Y(e))for(let n=0;n<e.length;n++){const s=fe(e[n]);s&&(t+=s+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const pl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bl=ho(pl);function Ir(e){return!!e||e===""}function vl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=mn(e[s],t[s]);return n}function mn(e,t){if(e===t)return!0;let n=Eo(e),s=Eo(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=at(e),s=at(t),n||s)return e===t;if(n=Y(e),s=Y(t),n||s)return n&&s?vl(e,t):!1;if(n=de(e),s=de(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,r=Object.keys(t).length;if(o!==r)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!mn(e[i],t[i]))return!1}}return String(e)===String(t)}function bo(e,t){return e.findIndex(n=>mn(n,t))}const Lr=e=>!!(e&&e.__v_isRef===!0),D=e=>we(e)?e:e==null?"":Y(e)||de(e)&&(e.toString===Nr||!Q(e.toString))?Lr(e)?D(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>Lr(t)?Jr(e,t.value):rn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],r)=>(n[Rs(s,r)+" =>"]=o,n),{})}:hn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Rs(n))}:at(t)?Rs(t):de(t)&&!Y(t)&&!Ar(t)?String(t):t,Rs=(e,t="")=>{var n;return at(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.5.28
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let Fe;class yl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Fe,!t&&Fe&&(this.index=(Fe.scopes||(Fe.scopes=[])).push(this)-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=Fe;try{return Fe=this,t()}finally{Fe=n}}}on(){++this._on===1&&(this.prevScope=Fe,Fe=this)}off(){this._on>0&&--this._on===0&&(Fe=this.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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function _l(){return Fe}let pe;const Fs=new WeakSet;class Wr{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,Fe&&Fe.active&&Fe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Fs.has(this)&&(Fs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||qr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ao(this),Vr(this);const t=pe,n=Xe;pe=this,Xe=!0;try{return this.fn()}finally{Ur(this),pe=t,Xe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_o(t);this.deps=this.depsTail=void 0,Ao(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Fs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xs(this)&&this.run()}get dirty(){return Xs(this)}}let Hr=0,Mn,Dn;function qr(e,t=!1){if(e.flags|=8,t){e.next=Dn,Dn=e;return}e.next=Mn,Mn=e}function vo(){Hr++}function yo(){if(--Hr>0)return;if(Dn){let t=Dn;for(Dn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Mn;){let t=Mn;for(Mn=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 Vr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ur(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),_o(s),wl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function Xs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Rn)||(e.globalVersion=Rn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xs(e))))return;e.flags|=2;const t=e.dep,n=pe,s=Xe;pe=e,Xe=!0;try{Vr(e);const o=e.fn(e._value);(t.version===0||Ft(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{pe=n,Xe=s,Ur(e),e.flags&=-3}}function _o(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)_o(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function wl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Xe=!0;const Br=[];function yt(){Br.push(Xe),Xe=!1}function _t(){const e=Br.pop();Xe=e===void 0?!0:e}function Ao(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=pe;pe=void 0;try{t()}finally{pe=n}}}let Rn=0;class xl{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 wo{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(!pe||!Xe||pe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==pe)n=this.activeLink=new xl(pe,this),pe.deps?(n.prevDep=pe.depsTail,pe.depsTail.nextDep=n,pe.depsTail=n):pe.deps=pe.depsTail=n,Kr(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=pe.depsTail,n.nextDep=void 0,pe.depsTail.nextDep=n,pe.depsTail=n,pe.deps===n&&(pe.deps=s)}return n}trigger(t){this.version++,Rn++,this.notify(t)}notify(t){vo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{yo()}}}function Kr(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)Kr(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Qs=new WeakMap,Gt=Symbol(""),zs=Symbol(""),Fn=Symbol("");function De(e,t,n){if(Xe&&pe){let s=Qs.get(e);s||Qs.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new wo),o.map=s,o.key=n),o.track()}}function pt(e,t,n,s,o,r){const i=Qs.get(e);if(!i){Rn++;return}const l=a=>{a&&a.trigger()};if(vo(),t==="clear")i.forEach(l);else{const a=Y(e),c=a&&po(n);if(a&&n==="length"){const f=Number(s);i.forEach((m,p)=>{(p==="length"||p===Fn||!at(p)&&p>=f)&&l(m)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),c&&l(i.get(Fn)),t){case"add":a?c&&l(i.get("length")):(l(i.get(Gt)),rn(e)&&l(i.get(zs)));break;case"delete":a||(l(i.get(Gt)),rn(e)&&l(i.get(zs)));break;case"set":rn(e)&&l(i.get(Gt));break}}yo()}function Zt(e){const t=ie(e);return t===e?t:(De(t,"iterate",Fn),Ge(e)?t:t.map(Qe))}function js(e){return De(e=ie(e),"iterate",Fn),e}function Et(e,t){return wt(e)?cn(Xt(e)?Qe(t):t):Qe(t)}const Cl={__proto__:null,[Symbol.iterator](){return Is(this,Symbol.iterator,e=>Et(this,e))},concat(...e){return Zt(this).concat(...e.map(t=>Y(t)?Zt(t):t))},entries(){return Is(this,"entries",e=>(e[1]=Et(this,e[1]),e))},every(e,t){return dt(this,"every",e,t,void 0,arguments)},filter(e,t){return dt(this,"filter",e,t,n=>n.map(s=>Et(this,s)),arguments)},find(e,t){return dt(this,"find",e,t,n=>Et(this,n),arguments)},findIndex(e,t){return dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dt(this,"findLast",e,t,n=>Et(this,n),arguments)},findLastIndex(e,t){return dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ls(this,"includes",e)},indexOf(...e){return Ls(this,"indexOf",e)},join(e){return Zt(this).join(e)},lastIndexOf(...e){return Ls(this,"lastIndexOf",e)},map(e,t){return dt(this,"map",e,t,void 0,arguments)},pop(){return vn(this,"pop")},push(...e){return vn(this,"push",e)},reduce(e,...t){return Ro(this,"reduce",e,t)},reduceRight(e,...t){return Ro(this,"reduceRight",e,t)},shift(){return vn(this,"shift")},some(e,t){return dt(this,"some",e,t,void 0,arguments)},splice(...e){return vn(this,"splice",e)},toReversed(){return Zt(this).toReversed()},toSorted(e){return Zt(this).toSorted(e)},toSpliced(...e){return Zt(this).toSpliced(...e)},unshift(...e){return vn(this,"unshift",e)},values(){return Is(this,"values",e=>Et(this,e))}};function Is(e,t,n){const s=js(e),o=s[t]();return s!==e&&!Ge(e)&&(o._next=o.next,o.next=()=>{const r=o._next();return r.done||(r.value=n(r.value)),r}),o}const $l=Array.prototype;function dt(e,t,n,s,o,r){const i=js(e),l=i!==e&&!Ge(e),a=i[t];if(a!==$l[t]){const m=a.apply(e,r);return l?Qe(m):m}let c=n;i!==e&&(l?c=function(m,p){return n.call(this,Et(e,m),p,e)}:n.length>2&&(c=function(m,p){return n.call(this,m,p,e)}));const f=a.call(i,c,s);return l&&o?o(f):f}function Ro(e,t,n,s){const o=js(e);let r=n;return o!==e&&(Ge(e)?n.length>3&&(r=function(i,l,a){return n.call(this,i,l,a,e)}):r=function(i,l,a){return n.call(this,i,Et(e,l),a,e)}),o[t](r,...s)}function Ls(e,t,n){const s=ie(e);De(s,"iterate",Fn);const o=s[t](...n);return(o===-1||o===!1)&&ko(n[0])?(n[0]=ie(n[0]),s[t](...n)):o}function vn(e,t,n=[]){yt(),vo();const s=ie(e)[t].apply(e,n);return yo(),_t(),s}const kl=ho("__proto__,__v_isRef,__isVue"),Gr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(at));function Sl(e){at(e)||(e=String(e));const t=ie(this);return De(t,"has",e),t.hasOwnProperty(e)}class Xr{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(o?r?Rl:ei:r?Zr:zr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=Y(t);if(!o){let a;if(i&&(a=Cl[n]))return a;if(n==="hasOwnProperty")return Sl}const l=Reflect.get(t,n,Pe(t)?t:s);if((at(n)?Gr.has(n):kl(n))||(o||De(t,"get",n),r))return l;if(Pe(l)){const a=i&&po(n)?l:l.value;return o&&de(a)?eo(a):a}return de(l)?o?eo(l):Co(l):l}}class Qr extends Xr{constructor(t=!1){super(!1,t)}set(t,n,s,o){let r=t[n];const i=Y(t)&&po(n);if(!this._isShallow){const c=wt(r);if(!Ge(s)&&!wt(s)&&(r=ie(r),s=ie(s)),!i&&Pe(r)&&!Pe(s))return c||(r.value=s),!0}const l=i?Number(n)<t.length:ae(t,n),a=Reflect.set(t,n,s,Pe(t)?t:o);return t===ie(o)&&(l?Ft(s,r)&&pt(t,"set",n,s):pt(t,"add",n,s)),a}deleteProperty(t,n){const s=ae(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&s&&pt(t,"delete",n,void 0),o}has(t,n){const s=Reflect.has(t,n);return(!at(n)||!Gr.has(n))&&De(t,"has",n),s}ownKeys(t){return De(t,"iterate",Y(t)?"length":Gt),Reflect.ownKeys(t)}}class jl extends Xr{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Tl=new Qr,Ml=new jl,Dl=new Qr(!0);const Zs=e=>e,Gn=e=>Reflect.getPrototypeOf(e);function Pl(e,t,n){return function(...s){const o=this.__v_raw,r=ie(o),i=rn(r),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=o[e](...s),f=n?Zs:t?cn:Qe;return!t&&De(r,"iterate",a?zs:Gt),xe(Object.create(c),{next(){const{value:m,done:p}=c.next();return p?{value:m,done:p}:{value:l?[f(m[0]),f(m[1])]:f(m),done:p}}})}}function Xn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ol(e,t){const n={get(o){const r=this.__v_raw,i=ie(r),l=ie(o);e||(Ft(o,l)&&De(i,"get",o),De(i,"get",l));const{has:a}=Gn(i),c=t?Zs:e?cn:Qe;if(a.call(i,o))return c(r.get(o));if(a.call(i,l))return c(r.get(l));r!==i&&r.get(o)},get size(){const o=this.__v_raw;return!e&&De(ie(o),"iterate",Gt),o.size},has(o){const r=this.__v_raw,i=ie(r),l=ie(o);return e||(Ft(o,l)&&De(i,"has",o),De(i,"has",l)),o===l?r.has(o):r.has(o)||r.has(l)},forEach(o,r){const i=this,l=i.__v_raw,a=ie(l),c=t?Zs:e?cn:Qe;return!e&&De(a,"iterate",Gt),l.forEach((f,m)=>o.call(r,c(f),c(m),i))}};return xe(n,e?{add:Xn("add"),set:Xn("set"),delete:Xn("delete"),clear:Xn("clear")}:{add(o){!t&&!Ge(o)&&!wt(o)&&(o=ie(o));const r=ie(this);return Gn(r).has.call(r,o)||(r.add(o),pt(r,"add",o,o)),this},set(o,r){!t&&!Ge(r)&&!wt(r)&&(r=ie(r));const i=ie(this),{has:l,get:a}=Gn(i);let c=l.call(i,o);c||(o=ie(o),c=l.call(i,o));const f=a.call(i,o);return i.set(o,r),c?Ft(r,f)&&pt(i,"set",o,r):pt(i,"add",o,r),this},delete(o){const r=ie(this),{has:i,get:l}=Gn(r);let a=i.call(r,o);a||(o=ie(o),a=i.call(r,o)),l&&l.call(r,o);const c=r.delete(o);return a&&pt(r,"delete",o,void 0),c},clear(){const o=ie(this),r=o.size!==0,i=o.clear();return r&&pt(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Pl(o,e,t)}),n}function xo(e,t){const n=Ol(e,t);return(s,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(ae(n,o)&&o in s?n:s,o,r)}const El={get:xo(!1,!1)},Nl={get:xo(!1,!0)},Al={get:xo(!0,!1)};const zr=new WeakMap,Zr=new WeakMap,ei=new WeakMap,Rl=new WeakMap;function Fl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Il(e){return e.__v_skip||!Object.isExtensible(e)?0:Fl(al(e))}function Co(e){return wt(e)?e:$o(e,!1,Tl,El,zr)}function Ll(e){return $o(e,!1,Dl,Nl,Zr)}function eo(e){return $o(e,!0,Ml,Al,ei)}function $o(e,t,n,s,o){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=Il(e);if(r===0)return e;const i=o.get(e);if(i)return i;const l=new Proxy(e,r===2?s:n);return o.set(e,l),l}function Xt(e){return wt(e)?Xt(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function Ge(e){return!!(e&&e.__v_isShallow)}function ko(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Jl(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&Fr(e,"__v_skip",!0),e}const Qe=e=>de(e)?Co(e):e,cn=e=>de(e)?eo(e):e;function Pe(e){return e?e.__v_isRef===!0:!1}function H(e){return Wl(e,!1)}function Wl(e,t){return Pe(e)?e:new Hl(e,t)}class Hl{constructor(t,n){this.dep=new wo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:Qe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ge(t)||wt(t);t=s?t:ie(t),Ft(t,n)&&(this._rawValue=t,this._value=s?t:Qe(t),this.dep.trigger())}}function G(e){return Pe(e)?e.value:e}const ql={get:(e,t,n)=>t==="__v_raw"?e:G(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return Pe(o)&&!Pe(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function ti(e){return Xt(e)?e:new Proxy(e,ql)}class Vl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new wo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Rn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&pe!==this)return qr(this,!0),!0}get value(){const t=this.dep.track();return Yr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ul(e,t,n=!1){let s,o;return Q(e)?s=e:(s=e.get,o=e.set),new Vl(s,o,n)}const Qn={},hs=new WeakMap;let Bt;function Yl(e,t=!1,n=Bt){if(n){let s=hs.get(n);s||hs.set(n,s=[]),s.push(e)}}function Bl(e,t,n=ge){const{immediate:s,deep:o,once:r,scheduler:i,augmentJob:l,call:a}=n,c=b=>o?b:Ge(b)||o===!1||o===0?bt(b,1):bt(b);let f,m,p,g,v=!1,$=!1;if(Pe(e)?(m=()=>e.value,v=Ge(e)):Xt(e)?(m=()=>c(e),v=!0):Y(e)?($=!0,v=e.some(b=>Xt(b)||Ge(b)),m=()=>e.map(b=>{if(Pe(b))return b.value;if(Xt(b))return c(b);if(Q(b))return a?a(b,2):b()})):Q(e)?t?m=a?()=>a(e,2):e:m=()=>{if(p){yt();try{p()}finally{_t()}}const b=Bt;Bt=f;try{return a?a(e,3,[g]):e(g)}finally{Bt=b}}:m=lt,t&&o){const b=m,y=o===!0?1/0:o;m=()=>bt(b(),y)}const P=_l(),C=()=>{f.stop(),P&&P.active&&go(P.effects,f)};if(r&&t){const b=t;t=(...y)=>{b(...y),C()}}let N=$?new Array(e.length).fill(Qn):Qn;const M=b=>{if(!(!(f.flags&1)||!f.dirty&&!b))if(t){const y=f.run();if(o||v||($?y.some((A,U)=>Ft(A,N[U])):Ft(y,N))){p&&p();const A=Bt;Bt=f;try{const U=[y,N===Qn?void 0:$&&N[0]===Qn?[]:N,g];N=y,a?a(t,3,U):t(...U)}finally{Bt=A}}}else f.run()};return l&&l(M),f=new Wr(m),f.scheduler=i?()=>i(M,!1):M,g=b=>Yl(b,!1,f),p=f.onStop=()=>{const b=hs.get(f);if(b){if(a)a(b,4);else for(const y of b)y();hs.delete(f)}},t?s?M(!0):N=f.run():i?i(M.bind(null,!0),!0):f.run(),C.pause=f.pause.bind(f),C.resume=f.resume.bind(f),C.stop=C,C}function bt(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Pe(e))bt(e.value,t,n);else if(Y(e))for(let s=0;s<e.length;s++)bt(e[s],t,n);else if(hn(e)||rn(e))e.forEach(s=>{bt(s,t,n)});else if(Ar(e)){for(const s in e)bt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&bt(e[s],t,n)}return e}/**
10
+ * @vue/runtime-core v3.5.28
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function Un(e,t,n,s){try{return s?e(...s):e()}catch(o){Ts(o,t,n)}}function ze(e,t,n,s){if(Q(e)){const o=Un(e,t,n,s);return o&&Er(o)&&o.catch(r=>{Ts(r,t,n)}),o}if(Y(e)){const o=[];for(let r=0;r<e.length;r++)o.push(ze(e[r],t,n,s));return o}}function Ts(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ge;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const f=l.ec;if(f){for(let m=0;m<f.length;m++)if(f[m](e,a,c)===!1)return}l=l.parent}if(r){yt(),Un(r,null,10,[e,a,c]),_t();return}}Kl(e,n,o,s,i)}function Kl(e,t,n,s=!0,o=!1){if(o)throw e;console.error(e)}const Ae=[];let rt=-1;const ln=[];let Nt=null,nn=0;const ni=Promise.resolve();let ms=null;function si(e){const t=ms||ni;return e?t.then(this?e.bind(this):e):t}function Gl(e){let t=rt+1,n=Ae.length;for(;t<n;){const s=t+n>>>1,o=Ae[s],r=In(o);r<e||r===e&&o.flags&2?t=s+1:n=s}return t}function So(e){if(!(e.flags&1)){const t=In(e),n=Ae[Ae.length-1];!n||!(e.flags&2)&&t>=In(n)?Ae.push(e):Ae.splice(Gl(t),0,e),e.flags|=1,oi()}}function oi(){ms||(ms=ni.then(ii))}function Xl(e){Y(e)?ln.push(...e):Nt&&e.id===-1?Nt.splice(nn+1,0,e):e.flags&1||(ln.push(e),e.flags|=1),oi()}function Fo(e,t,n=rt+1){for(;n<Ae.length;n++){const s=Ae[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Ae.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ri(e){if(ln.length){const t=[...new Set(ln)].sort((n,s)=>In(n)-In(s));if(ln.length=0,Nt){Nt.push(...t);return}for(Nt=t,nn=0;nn<Nt.length;nn++){const n=Nt[nn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Nt=null,nn=0}}const In=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ii(e){try{for(rt=0;rt<Ae.length;rt++){const t=Ae[rt];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(;rt<Ae.length;rt++){const t=Ae[rt];t&&(t.flags&=-2)}rt=-1,Ae.length=0,ri(),ms=null,(Ae.length||ln.length)&&ii()}}let Ke=null,li=null;function gs(e){const t=Ke;return Ke=e,li=e&&e.type.__scopeId||null,t}function ai(e,t=Ke,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Qo(-1);const r=gs(t);let i;try{i=e(...o)}finally{gs(r),s._d&&Qo(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Ye(e,t){if(Ke===null)return e;const n=Os(Ke),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[r,i,l,a=ge]=t[o];r&&(Q(r)&&(r={mounted:r,updated:r}),r.deep&&bt(i),s.push({dir:r,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Vt(e,t,n,s){const o=e.dirs,r=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];r&&(l.oldValue=r[i].value);let a=l.dir[s];a&&(yt(),ze(a,n,8,[e.el,l,e,t]),_t())}}function Ql(e,t){if(Re){let n=Re.provides;const s=Re.parent&&Re.parent.provides;s===n&&(n=Re.provides=Object.create(s)),n[e]=t}}function ls(e,t,n=!1){const s=Li();if(s||un){let o=un?un._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Q(t)?t.call(s&&s.proxy):t}}const zl=Symbol.for("v-scx"),Zl=()=>ls(zl);function an(e,t,n){return ui(e,t,n)}function ui(e,t,n=ge){const{immediate:s,deep:o,flush:r,once:i}=n,l=xe({},n),a=t&&s||!t&&r!=="post";let c;if(Wn){if(r==="sync"){const g=Zl();c=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=lt,g.resume=lt,g.pause=lt,g}}const f=Re;l.call=(g,v,$)=>ze(g,f,v,$);let m=!1;r==="post"?l.scheduler=g=>{Me(g,f&&f.suspense)}:r!=="sync"&&(m=!0,l.scheduler=(g,v)=>{v?g():So(g)}),l.augmentJob=g=>{t&&(g.flags|=4),m&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const p=Bl(e,t,l);return Wn&&(c?c.push(p):a&&p()),p}function ea(e,t,n){const s=this.proxy,o=we(e)?e.includes(".")?ci(s,e):()=>s[e]:e.bind(s,s);let r;Q(t)?r=t:(r=t.handler,n=t);const i=Yn(this),l=ui(o,r.bind(s),n);return i(),l}function ci(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const fi=Symbol("_vte"),ta=e=>e.__isTeleport,Pn=e=>e&&(e.disabled||e.disabled===""),Io=e=>e&&(e.defer||e.defer===""),Lo=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jo=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,to=(e,t)=>{const n=e&&e.to;return we(n)?t?t(n):null:n},di={name:"Teleport",__isTeleport:!0,process(e,t,n,s,o,r,i,l,a,c){const{mc:f,pc:m,pbc:p,o:{insert:g,querySelector:v,createText:$,createComment:P}}=c,C=Pn(t.props);let{shapeFlag:N,children:M,dynamicChildren:b}=t;if(e==null){const y=t.el=$(""),A=t.anchor=$("");g(y,n,s),g(A,n,s);const U=(W,z)=>{N&16&&f(M,W,z,o,r,i,l,a)},Z=()=>{const W=t.target=to(t.props,v),z=no(W,t,$,g);W&&(i!=="svg"&&Lo(W)?i="svg":i!=="mathml"&&Jo(W)&&(i="mathml"),o&&o.isCE&&(o.ce._teleportTargets||(o.ce._teleportTargets=new Set)).add(W),C||(U(W,z),as(t,!1)))};C&&(U(n,A),as(t,!0)),Io(t.props)?(t.el.__isMounted=!1,Me(()=>{Z(),delete t.el.__isMounted},r)):Z()}else{if(Io(t.props)&&e.el.__isMounted===!1){Me(()=>{di.process(e,t,n,s,o,r,i,l,a,c)},r);return}t.el=e.el,t.targetStart=e.targetStart;const y=t.anchor=e.anchor,A=t.target=e.target,U=t.targetAnchor=e.targetAnchor,Z=Pn(e.props),W=Z?n:A,z=Z?y:U;if(i==="svg"||Lo(A)?i="svg":(i==="mathml"||Jo(A))&&(i="mathml"),b?(p(e.dynamicChildren,b,W,o,r,i,l),Mo(e,t,!0)):a||m(e,t,W,z,o,r,i,l,!1),C)Z?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):zn(t,n,y,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const oe=t.target=to(t.props,v);oe&&zn(t,oe,null,c,0)}else Z&&zn(t,A,U,c,1);as(t,C)}},remove(e,t,n,{um:s,o:{remove:o}},r){const{shapeFlag:i,children:l,anchor:a,targetStart:c,targetAnchor:f,target:m,props:p}=e;if(m&&(o(c),o(f)),r&&o(a),i&16){const g=r||!Pn(p);for(let v=0;v<l.length;v++){const $=l[v];s($,t,n,g,!!$.dynamicChildren)}}},move:zn,hydrate:na};function zn(e,t,n,{o:{insert:s},m:o},r=2){r===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:c,props:f}=e,m=r===2;if(m&&s(i,t,n),(!m||Pn(f))&&a&16)for(let p=0;p<c.length;p++)o(c[p],t,n,2);m&&s(l,t,n)}function na(e,t,n,s,o,r,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:c,createText:f}},m){function p(P,C){let N=C;for(;N;){if(N&&N.nodeType===8){if(N.data==="teleport start anchor")t.targetStart=N;else if(N.data==="teleport anchor"){t.targetAnchor=N,P._lpa=t.targetAnchor&&i(t.targetAnchor);break}}N=i(N)}}function g(P,C){C.anchor=m(i(P),C,l(P),n,s,o,r)}const v=t.target=to(t.props,a),$=Pn(t.props);if(v){const P=v._lpa||v.firstChild;t.shapeFlag&16&&($?(g(e,t),p(v,P),t.targetAnchor||no(v,t,f,c,l(e)===v?e:null)):(t.anchor=i(e),p(v,P),t.targetAnchor||no(v,t,f,c),m(P&&i(P),t,v,n,s,o,r))),as(t,$)}else $&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const hi=di;function as(e,t){const n=e.ctx;if(n&&n.ut){let s,o;for(t?(s=e.el,o=e.anchor):(s=e.targetStart,o=e.targetAnchor);s&&s!==o;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function no(e,t,n,s,o=null){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[fi]=i,e&&(s(r,e,o),s(i,e,o)),i}const Pt=Symbol("_leaveCb"),yn=Symbol("_enterCb");function sa(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $t(()=>{e.isMounted=!0}),yi(()=>{e.isUnmounting=!0}),e}const Ue=[Function,Array],oa={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue};function ra(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function so(e,t,n,s,o){const{appear:r,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:f,onEnterCancelled:m,onBeforeLeave:p,onLeave:g,onAfterLeave:v,onLeaveCancelled:$,onBeforeAppear:P,onAppear:C,onAfterAppear:N,onAppearCancelled:M}=t,b=String(e.key),y=ra(n,e),A=(W,z)=>{W&&ze(W,s,9,z)},U=(W,z)=>{const oe=z[1];A(W,z),Y(W)?W.every(L=>L.length<=1)&&oe():W.length<=1&&oe()},Z={mode:i,persisted:l,beforeEnter(W){let z=a;if(!n.isMounted)if(r)z=P||a;else return;W[Pt]&&W[Pt](!0);const oe=y[b];oe&&sn(e,oe)&&oe.el[Pt]&&oe.el[Pt](),A(z,[W])},enter(W){let z=c,oe=f,L=m;if(!n.isMounted)if(r)z=C||c,oe=N||f,L=M||m;else return;let le=!1;W[yn]=Oe=>{le||(le=!0,Oe?A(L,[W]):A(oe,[W]),Z.delayedLeave&&Z.delayedLeave(),W[yn]=void 0)};const ye=W[yn].bind(null,!1);z?U(z,[W,ye]):ye()},leave(W,z){const oe=String(e.key);if(W[yn]&&W[yn](!0),n.isUnmounting)return z();A(p,[W]);let L=!1;W[Pt]=ye=>{L||(L=!0,z(),ye?A($,[W]):A(v,[W]),W[Pt]=void 0,y[oe]===e&&delete y[oe])};const le=W[Pt].bind(null,!1);y[oe]=e,g?U(g,[W,le]):le()},clone(W){return so(W,t,n,s)}};return Z}function Ln(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ln(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function mi(e,t=!1,n){let s=[],o=0;for(let r=0;r<e.length;r++){let i=e[r];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:r);i.type===$e?(i.patchFlag&128&&o++,s=s.concat(mi(i.children,t,l))):(t||i.type!==xt)&&s.push(l!=null?Qt(i,{key:l}):i)}if(o>1)for(let r=0;r<s.length;r++)s[r].patchFlag=-2;return s}function ct(e,t){return Q(e)?xe({name:e.name},t,{setup:e}):e}function gi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Wo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ps=new WeakMap;function On(e,t,n,s,o=!1){if(Y(e)){e.forEach(($,P)=>On($,t&&(Y(t)?t[P]:t),n,s,o));return}if(En(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&On(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?Os(s.component):s.el,i=o?null:r,{i:l,r:a}=e,c=t&&t.r,f=l.refs===ge?l.refs={}:l.refs,m=l.setupState,p=ie(m),g=m===ge?Or:$=>Wo(f,$)?!1:ae(p,$),v=($,P)=>!(P&&Wo(f,P));if(c!=null&&c!==a){if(Ho(t),we(c))f[c]=null,g(c)&&(m[c]=null);else if(Pe(c)){const $=t;v(c,$.k)&&(c.value=null),$.k&&(f[$.k]=null)}}if(Q(a))Un(a,l,12,[i,f]);else{const $=we(a),P=Pe(a);if($||P){const C=()=>{if(e.f){const N=$?g(a)?m[a]:f[a]:v()||!e.k?a.value:f[e.k];if(o)Y(N)&&go(N,r);else if(Y(N))N.includes(r)||N.push(r);else if($)f[a]=[r],g(a)&&(m[a]=f[a]);else{const M=[r];v(a,e.k)&&(a.value=M),e.k&&(f[e.k]=M)}}else $?(f[a]=i,g(a)&&(m[a]=i)):P&&(v(a,e.k)&&(a.value=i),e.k&&(f[e.k]=i))};if(i){const N=()=>{C(),ps.delete(e)};N.id=-1,ps.set(e,N),Me(N,n)}else Ho(e),C()}}}function Ho(e){const t=ps.get(e);t&&(t.flags|=8,ps.delete(e))}Ss().requestIdleCallback;Ss().cancelIdleCallback;const En=e=>!!e.type.__asyncLoader,pi=e=>e.type.__isKeepAlive;function ia(e,t){bi(e,"a",t)}function la(e,t){bi(e,"da",t)}function bi(e,t,n=Re){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ms(t,s,n),n){let o=n.parent;for(;o&&o.parent;)pi(o.parent.vnode)&&aa(s,t,n,o),o=o.parent}}function aa(e,t,n,s){const o=Ms(t,e,s,!0);Jt(()=>{go(s[t],o)},n)}function Ms(e,t,n=Re,s=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...i)=>{yt();const l=Yn(n),a=ze(t,n,e,i);return l(),_t(),a});return s?o.unshift(r):o.push(r),r}}const Ct=e=>(t,n=Re)=>{(!Wn||e==="sp")&&Ms(e,(...s)=>t(...s),n)},ua=Ct("bm"),$t=Ct("m"),ca=Ct("bu"),vi=Ct("u"),yi=Ct("bum"),Jt=Ct("um"),fa=Ct("sp"),da=Ct("rtg"),ha=Ct("rtc");function ma(e,t=Re){Ms("ec",e,t)}const ga=Symbol.for("v-ndc");function Lt(e,t,n,s){let o;const r=n,i=Y(e);if(i||we(e)){const l=i&&Xt(e);let a=!1,c=!1;l&&(a=!Ge(e),c=wt(e),e=js(e)),o=new Array(e.length);for(let f=0,m=e.length;f<m;f++)o[f]=t(a?c?cn(Qe(e[f])):Qe(e[f]):e[f],f,void 0,r)}else if(typeof e=="number"){o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,r)}else if(de(e))if(e[Symbol.iterator])o=Array.from(e,(l,a)=>t(l,a,void 0,r));else{const l=Object.keys(e);o=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const f=l[a];o[a]=t(e[f],f,a,r)}}else o=[];return o}const oo=e=>e?Ji(e)?Os(e):oo(e.parent):null,Nn=xe(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=>oo(e.parent),$root:e=>oo(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wi(e),$forceUpdate:e=>e.f||(e.f=()=>{So(e.update)}),$nextTick:e=>e.n||(e.n=si.bind(e.proxy)),$watch:e=>ea.bind(e)}),Js=(e,t)=>e!==ge&&!e.__isScriptSetup&&ae(e,t),pa={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(Js(s,t))return i[t]=1,s[t];if(o!==ge&&ae(o,t))return i[t]=2,o[t];if(ae(r,t))return i[t]=3,r[t];if(n!==ge&&ae(n,t))return i[t]=4,n[t];ro&&(i[t]=0)}}const c=Nn[t];let f,m;if(c)return t==="$attrs"&&De(e.attrs,"get",""),c(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ge&&ae(n,t))return i[t]=4,n[t];if(m=a.config.globalProperties,ae(m,t))return m[t]},set({_:e},t,n){const{data:s,setupState:o,ctx:r}=e;return Js(o,t)?(o[t]=n,!0):s!==ge&&ae(s,t)?(s[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:r,type:i}},l){let a;return!!(n[l]||e!==ge&&l[0]!=="$"&&ae(e,l)||Js(t,l)||ae(r,l)||ae(s,l)||ae(Nn,l)||ae(o.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qo(e){return Y(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ro=!0;function ba(e){const t=wi(e),n=e.proxy,s=e.ctx;ro=!1,t.beforeCreate&&Vo(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:i,watch:l,provide:a,inject:c,created:f,beforeMount:m,mounted:p,beforeUpdate:g,updated:v,activated:$,deactivated:P,beforeDestroy:C,beforeUnmount:N,destroyed:M,unmounted:b,render:y,renderTracked:A,renderTriggered:U,errorCaptured:Z,serverPrefetch:W,expose:z,inheritAttrs:oe,components:L,directives:le,filters:ye}=t;if(c&&va(c,s,null),i)for(const ue in i){const ne=i[ue];Q(ne)&&(s[ue]=ne.bind(n))}if(o){const ue=o.call(n,n);de(ue)&&(e.data=Co(ue))}if(ro=!0,r)for(const ue in r){const ne=r[ue],Ie=Q(ne)?ne.bind(n,n):Q(ne.get)?ne.get.bind(n,n):lt,tt=!Q(ne)&&Q(ne.set)?ne.set.bind(n):lt,Le=Ze({get:Ie,set:tt});Object.defineProperty(s,ue,{enumerable:!0,configurable:!0,get:()=>Le.value,set:Se=>Le.value=Se})}if(l)for(const ue in l)_i(l[ue],s,n,ue);if(a){const ue=Q(a)?a.call(n):a;Reflect.ownKeys(ue).forEach(ne=>{Ql(ne,ue[ne])})}f&&Vo(f,e,"c");function ve(ue,ne){Y(ne)?ne.forEach(Ie=>ue(Ie.bind(n))):ne&&ue(ne.bind(n))}if(ve(ua,m),ve($t,p),ve(ca,g),ve(vi,v),ve(ia,$),ve(la,P),ve(ma,Z),ve(ha,A),ve(da,U),ve(yi,N),ve(Jt,b),ve(fa,W),Y(z))if(z.length){const ue=e.exposed||(e.exposed={});z.forEach(ne=>{Object.defineProperty(ue,ne,{get:()=>n[ne],set:Ie=>n[ne]=Ie,enumerable:!0})})}else e.exposed||(e.exposed={});y&&e.render===lt&&(e.render=y),oe!=null&&(e.inheritAttrs=oe),L&&(e.components=L),le&&(e.directives=le),W&&gi(e)}function va(e,t,n=lt){Y(e)&&(e=io(e));for(const s in e){const o=e[s];let r;de(o)?"default"in o?r=ls(o.from||s,o.default,!0):r=ls(o.from||s):r=ls(o),Pe(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:i=>r.value=i}):t[s]=r}}function Vo(e,t,n){ze(Y(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function _i(e,t,n,s){let o=s.includes(".")?ci(n,s):()=>n[s];if(we(e)){const r=t[e];Q(r)&&an(o,r)}else if(Q(e))an(o,e.bind(n));else if(de(e))if(Y(e))e.forEach(r=>_i(r,t,n,s));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)&&an(o,r,e)}}function wi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=e.appContext,l=r.get(t);let a;return l?a=l:!o.length&&!n&&!s?a=t:(a={},o.length&&o.forEach(c=>bs(a,c,i,!0)),bs(a,t,i)),de(t)&&r.set(t,a),a}function bs(e,t,n,s=!1){const{mixins:o,extends:r}=t;r&&bs(e,r,n,!0),o&&o.forEach(i=>bs(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=ya[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const ya={data:Uo,props:Yo,emits:Yo,methods:Sn,computed:Sn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:Sn,directives:Sn,watch:wa,provide:Uo,inject:_a};function Uo(e,t){return t?e?function(){return xe(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function _a(e,t){return Sn(io(e),io(t))}function io(e){if(Y(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ne(e,t){return e?[...new Set([].concat(e,t))]:t}function Sn(e,t){return e?xe(Object.create(null),e,t):t}function Yo(e,t){return e?Y(e)&&Y(t)?[...new Set([...e,...t])]:xe(Object.create(null),qo(e),qo(t??{})):t}function wa(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const s in t)n[s]=Ne(e[s],t[s]);return n}function xi(){return{app:null,config:{isNativeTag:Or,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 xa=0;function Ca(e,t){return function(s,o=null){Q(s)||(s=xe({},s)),o!=null&&!de(o)&&(o=null);const r=xi(),i=new WeakSet,l=[];let a=!1;const c=r.app={_uid:xa++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:eu,get config(){return r.config},set config(f){},use(f,...m){return i.has(f)||(f&&Q(f.install)?(i.add(f),f.install(c,...m)):Q(f)&&(i.add(f),f(c,...m))),c},mixin(f){return r.mixins.includes(f)||r.mixins.push(f),c},component(f,m){return m?(r.components[f]=m,c):r.components[f]},directive(f,m){return m?(r.directives[f]=m,c):r.directives[f]},mount(f,m,p){if(!a){const g=c._ceVNode||se(s,o);return g.appContext=r,p===!0?p="svg":p===!1&&(p=void 0),e(g,f,p),a=!0,c._container=f,f.__vue_app__=c,Os(g.component)}},onUnmount(f){l.push(f)},unmount(){a&&(ze(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(f,m){return r.provides[f]=m,c},runWithContext(f){const m=un;un=c;try{return f()}finally{un=m}}};return c}}let un=null;const $a=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${It(t)}Modifiers`]||e[`${zt(t)}Modifiers`];function ka(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ge;let o=n;const r=t.startsWith("update:"),i=r&&$a(s,t.slice(7));i&&(i.trim&&(o=n.map(f=>we(f)?f.trim():f)),i.number&&(o=n.map(ks)));let l,a=s[l=As(t)]||s[l=As(It(t))];!a&&r&&(a=s[l=As(zt(t))]),a&&ze(a,e,6,o);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ze(c,e,6,o)}}const Sa=new WeakMap;function Ci(e,t,n=!1){const s=n?Sa:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const r=e.emits;let i={},l=!1;if(!Q(e)){const a=c=>{const f=Ci(c,t,!0);f&&(l=!0,xe(i,f))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(de(e)&&s.set(e,null),null):(Y(r)?r.forEach(a=>i[a]=null):xe(i,r),de(e)&&s.set(e,i),i)}function Ds(e,t){return!e||!Cs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,zt(t))||ae(e,t))}function Bo(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[r],slots:i,attrs:l,emit:a,render:c,renderCache:f,props:m,data:p,setupState:g,ctx:v,inheritAttrs:$}=e,P=gs(e);let C,N;try{if(n.shapeFlag&4){const b=o||s,y=b;C=it(c.call(y,b,f,m,g,p,v)),N=l}else{const b=t;C=it(b.length>1?b(m,{attrs:l,slots:i,emit:a}):b(m,null)),N=t.props?l:ja(l)}}catch(b){An.length=0,Ts(b,e,1),C=se(xt)}let M=C;if(N&&$!==!1){const b=Object.keys(N),{shapeFlag:y}=M;b.length&&y&7&&(r&&b.some(mo)&&(N=Ta(N,r)),M=Qt(M,N,!1,!0))}return n.dirs&&(M=Qt(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&Ln(M,n.transition),C=M,gs(P),C}const ja=e=>{let t;for(const n in e)(n==="class"||n==="style"||Cs(n))&&((t||(t={}))[n]=e[n]);return t},Ta=(e,t)=>{const n={};for(const s in e)(!mo(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Ma(e,t,n){const{props:s,children:o,component:r}=e,{props:i,children:l,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Ko(s,i,c):!!i;if(a&8){const f=t.dynamicProps;for(let m=0;m<f.length;m++){const p=f[m];if($i(i,s,p)&&!Ds(c,p))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?Ko(s,i,c):!0:!!i;return!1}function Ko(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const r=s[o];if($i(t,e,r)&&!Ds(n,r))return!0}return!1}function $i(e,t,n){const s=e[n],o=t[n];return n==="style"&&de(s)&&de(o)?!mn(s,o):s!==o}function Da({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const ki={},Si=()=>Object.create(ki),ji=e=>Object.getPrototypeOf(e)===ki;function Pa(e,t,n,s=!1){const o={},r=Si();e.propsDefaults=Object.create(null),Ti(e,t,o,r);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=s?o:Ll(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function Oa(e,t,n,s){const{props:o,attrs:r,vnode:{patchFlag:i}}=e,l=ie(o),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const f=e.vnode.dynamicProps;for(let m=0;m<f.length;m++){let p=f[m];if(Ds(e.emitsOptions,p))continue;const g=t[p];if(a)if(ae(r,p))g!==r[p]&&(r[p]=g,c=!0);else{const v=It(p);o[v]=lo(a,l,v,g,e,!1)}else g!==r[p]&&(r[p]=g,c=!0)}}}else{Ti(e,t,o,r)&&(c=!0);let f;for(const m in l)(!t||!ae(t,m)&&((f=zt(m))===m||!ae(t,f)))&&(a?n&&(n[m]!==void 0||n[f]!==void 0)&&(o[m]=lo(a,l,m,void 0,e,!0)):delete o[m]);if(r!==l)for(const m in r)(!t||!ae(t,m))&&(delete r[m],c=!0)}c&&pt(e.attrs,"set","")}function Ti(e,t,n,s){const[o,r]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Tn(a))continue;const c=t[a];let f;o&&ae(o,f=It(a))?!r||!r.includes(f)?n[f]=c:(l||(l={}))[f]=c:Ds(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,i=!0)}if(r){const a=ie(n),c=l||ge;for(let f=0;f<r.length;f++){const m=r[f];n[m]=lo(o,a,m,c[m],e,!ae(c,m))}}return i}function lo(e,t,n,s,o,r){const i=e[n];if(i!=null){const l=ae(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&Q(a)){const{propsDefaults:c}=o;if(n in c)s=c[n];else{const f=Yn(o);s=c[n]=a.call(null,t),f()}}else s=a;o.ce&&o.ce._setProp(n,s)}i[0]&&(r&&!l?s=!1:i[1]&&(s===""||s===zt(n))&&(s=!0))}return s}const Ea=new WeakMap;function Mi(e,t,n=!1){const s=n?Ea:t.propsCache,o=s.get(e);if(o)return o;const r=e.props,i={},l=[];let a=!1;if(!Q(e)){const f=m=>{a=!0;const[p,g]=Mi(m,t,!0);xe(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!r&&!a)return de(e)&&s.set(e,on),on;if(Y(r))for(let f=0;f<r.length;f++){const m=It(r[f]);Go(m)&&(i[m]=ge)}else if(r)for(const f in r){const m=It(f);if(Go(m)){const p=r[f],g=i[m]=Y(p)||Q(p)?{type:p}:xe({},p),v=g.type;let $=!1,P=!0;if(Y(v))for(let C=0;C<v.length;++C){const N=v[C],M=Q(N)&&N.name;if(M==="Boolean"){$=!0;break}else M==="String"&&(P=!1)}else $=Q(v)&&v.name==="Boolean";g[0]=$,g[1]=P,($||ae(g,"default"))&&l.push(m)}}const c=[i,l];return de(e)&&s.set(e,c),c}function Go(e){return e[0]!=="$"&&!Tn(e)}const jo=e=>e==="_"||e==="_ctx"||e==="$stable",To=e=>Y(e)?e.map(it):[it(e)],Na=(e,t,n)=>{if(t._n)return t;const s=ai((...o)=>To(t(...o)),n);return s._c=!1,s},Di=(e,t,n)=>{const s=e._ctx;for(const o in e){if(jo(o))continue;const r=e[o];if(Q(r))t[o]=Na(o,r,s);else if(r!=null){const i=To(r);t[o]=()=>i}}},Pi=(e,t)=>{const n=To(t);e.slots.default=()=>n},Oi=(e,t,n)=>{for(const s in t)(n||!jo(s))&&(e[s]=t[s])},Aa=(e,t,n)=>{const s=e.slots=Si();if(e.vnode.shapeFlag&32){const o=t._;o?(Oi(s,t,n),n&&Fr(s,"_",o,!0)):Di(t,s)}else t&&Pi(e,t)},Ra=(e,t,n)=>{const{vnode:s,slots:o}=e;let r=!0,i=ge;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:Oi(o,t,n):(r=!t.$stable,Di(t,o)),i=t}else t&&(Pi(e,t),i={default:1});if(r)for(const l in o)!jo(l)&&i[l]==null&&delete o[l]},Me=Wa;function Fa(e){return Ia(e)}function Ia(e,t){const n=Ss();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:l,createComment:a,setText:c,setElementText:f,parentNode:m,nextSibling:p,setScopeId:g=lt,insertStaticContent:v}=e,$=(d,h,_,T=null,k=null,S=null,R=void 0,E=null,O=!!h.dynamicChildren)=>{if(d===h)return;d&&!sn(d,h)&&(T=ft(d),Se(d,k,S,!0),d=null),h.patchFlag===-2&&(O=!1,h.dynamicChildren=null);const{type:j,ref:V,shapeFlag:F}=h;switch(j){case Ps:P(d,h,_,T);break;case xt:C(d,h,_,T);break;case us:d==null&&N(h,_,T,R);break;case $e:L(d,h,_,T,k,S,R,E,O);break;default:F&1?y(d,h,_,T,k,S,R,E,O):F&6?le(d,h,_,T,k,S,R,E,O):(F&64||F&128)&&j.process(d,h,_,T,k,S,R,E,O,Ht)}V!=null&&k?On(V,d&&d.ref,S,h||d,!h):V==null&&d&&d.ref!=null&&On(d.ref,null,S,d,!0)},P=(d,h,_,T)=>{if(d==null)s(h.el=l(h.children),_,T);else{const k=h.el=d.el;h.children!==d.children&&c(k,h.children)}},C=(d,h,_,T)=>{d==null?s(h.el=a(h.children||""),_,T):h.el=d.el},N=(d,h,_,T)=>{[d.el,d.anchor]=v(d.children,h,_,T,d.el,d.anchor)},M=({el:d,anchor:h},_,T)=>{let k;for(;d&&d!==h;)k=p(d),s(d,_,T),d=k;s(h,_,T)},b=({el:d,anchor:h})=>{let _;for(;d&&d!==h;)_=p(d),o(d),d=_;o(h)},y=(d,h,_,T,k,S,R,E,O)=>{if(h.type==="svg"?R="svg":h.type==="math"&&(R="mathml"),d==null)A(h,_,T,k,S,R,E,O);else{const j=d.el&&d.el._isVueCE?d.el:null;try{j&&j._beginPatch(),W(d,h,k,S,R,E,O)}finally{j&&j._endPatch()}}},A=(d,h,_,T,k,S,R,E)=>{let O,j;const{props:V,shapeFlag:F,transition:q,dirs:B}=d;if(O=d.el=i(d.type,S,V&&V.is,V),F&8?f(O,d.children):F&16&&Z(d.children,O,null,T,k,Ws(d,S),R,E),B&&Vt(d,null,T,"created"),U(O,d,d.scopeId,R,T),V){for(const he in V)he!=="value"&&!Tn(he)&&r(O,he,null,V[he],S,T);"value"in V&&r(O,"value",null,V.value,S),(j=V.onVnodeBeforeMount)&&nt(j,T,d)}B&&Vt(d,null,T,"beforeMount");const ee=La(k,q);ee&&q.beforeEnter(O),s(O,h,_),((j=V&&V.onVnodeMounted)||ee||B)&&Me(()=>{j&&nt(j,T,d),ee&&q.enter(O),B&&Vt(d,null,T,"mounted")},k)},U=(d,h,_,T,k)=>{if(_&&g(d,_),T)for(let S=0;S<T.length;S++)g(d,T[S]);if(k){let S=k.subTree;if(h===S||Ai(S.type)&&(S.ssContent===h||S.ssFallback===h)){const R=k.vnode;U(d,R,R.scopeId,R.slotScopeIds,k.parent)}}},Z=(d,h,_,T,k,S,R,E,O=0)=>{for(let j=O;j<d.length;j++){const V=d[j]=E?gt(d[j]):it(d[j]);$(null,V,h,_,T,k,S,R,E)}},W=(d,h,_,T,k,S,R)=>{const E=h.el=d.el;let{patchFlag:O,dynamicChildren:j,dirs:V}=h;O|=d.patchFlag&16;const F=d.props||ge,q=h.props||ge;let B;if(_&&Ut(_,!1),(B=q.onVnodeBeforeUpdate)&&nt(B,_,h,d),V&&Vt(h,d,_,"beforeUpdate"),_&&Ut(_,!0),(F.innerHTML&&q.innerHTML==null||F.textContent&&q.textContent==null)&&f(E,""),j?z(d.dynamicChildren,j,E,_,T,Ws(h,k),S):R||ne(d,h,E,null,_,T,Ws(h,k),S,!1),O>0){if(O&16)oe(E,F,q,_,k);else if(O&2&&F.class!==q.class&&r(E,"class",null,q.class,k),O&4&&r(E,"style",F.style,q.style,k),O&8){const ee=h.dynamicProps;for(let he=0;he<ee.length;he++){const re=ee[he],je=F[re],Te=q[re];(Te!==je||re==="value")&&r(E,re,je,Te,k,_)}}O&1&&d.children!==h.children&&f(E,h.children)}else!R&&j==null&&oe(E,F,q,_,k);((B=q.onVnodeUpdated)||V)&&Me(()=>{B&&nt(B,_,h,d),V&&Vt(h,d,_,"updated")},T)},z=(d,h,_,T,k,S,R)=>{for(let E=0;E<h.length;E++){const O=d[E],j=h[E],V=O.el&&(O.type===$e||!sn(O,j)||O.shapeFlag&198)?m(O.el):_;$(O,j,V,null,T,k,S,R,!0)}},oe=(d,h,_,T,k)=>{if(h!==_){if(h!==ge)for(const S in h)!Tn(S)&&!(S in _)&&r(d,S,h[S],null,k,T);for(const S in _){if(Tn(S))continue;const R=_[S],E=h[S];R!==E&&S!=="value"&&r(d,S,E,R,k,T)}"value"in _&&r(d,"value",h.value,_.value,k)}},L=(d,h,_,T,k,S,R,E,O)=>{const j=h.el=d?d.el:l(""),V=h.anchor=d?d.anchor:l("");let{patchFlag:F,dynamicChildren:q,slotScopeIds:B}=h;B&&(E=E?E.concat(B):B),d==null?(s(j,_,T),s(V,_,T),Z(h.children||[],_,V,k,S,R,E,O)):F>0&&F&64&&q&&d.dynamicChildren&&d.dynamicChildren.length===q.length?(z(d.dynamicChildren,q,_,k,S,R,E),(h.key!=null||k&&h===k.subTree)&&Mo(d,h,!0)):ne(d,h,_,V,k,S,R,E,O)},le=(d,h,_,T,k,S,R,E,O)=>{h.slotScopeIds=E,d==null?h.shapeFlag&512?k.ctx.activate(h,_,T,R,O):ye(h,_,T,k,S,R,O):Oe(d,h,O)},ye=(d,h,_,T,k,S,R)=>{const E=d.component=Ka(d,T,k);if(pi(d)&&(E.ctx.renderer=Ht),Ga(E,!1,R),E.asyncDep){if(k&&k.registerDep(E,ve,R),!d.el){const O=E.subTree=se(xt);C(null,O,h,_),d.placeholder=O.el}}else ve(E,d,h,_,k,S,R)},Oe=(d,h,_)=>{const T=h.component=d.component;if(Ma(d,h,_))if(T.asyncDep&&!T.asyncResolved){ue(T,h,_);return}else T.next=h,T.update();else h.el=d.el,T.vnode=h},ve=(d,h,_,T,k,S,R)=>{const E=()=>{if(d.isMounted){let{next:F,bu:q,u:B,parent:ee,vnode:he}=d;{const Ve=Ei(d);if(Ve){F&&(F.el=he.el,ue(d,F,R)),Ve.asyncDep.then(()=>{Me(()=>{d.isUnmounted||j()},k)});return}}let re=F,je;Ut(d,!1),F?(F.el=he.el,ue(d,F,R)):F=he,q&&is(q),(je=F.props&&F.props.onVnodeBeforeUpdate)&&nt(je,ee,F,he),Ut(d,!0);const Te=Bo(d),qe=d.subTree;d.subTree=Te,$(qe,Te,m(qe.el),ft(qe),d,k,S),F.el=Te.el,re===null&&Da(d,Te.el),B&&Me(B,k),(je=F.props&&F.props.onVnodeUpdated)&&Me(()=>nt(je,ee,F,he),k)}else{let F;const{el:q,props:B}=h,{bm:ee,m:he,parent:re,root:je,type:Te}=d,qe=En(h);Ut(d,!1),ee&&is(ee),!qe&&(F=B&&B.onVnodeBeforeMount)&&nt(F,re,h),Ut(d,!0);{je.ce&&je.ce._hasShadowRoot()&&je.ce._injectChildStyle(Te);const Ve=d.subTree=Bo(d);$(null,Ve,_,T,d,k,S),h.el=Ve.el}if(he&&Me(he,k),!qe&&(F=B&&B.onVnodeMounted)){const Ve=h;Me(()=>nt(F,re,Ve),k)}(h.shapeFlag&256||re&&En(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&Me(d.a,k),d.isMounted=!0,h=_=T=null}};d.scope.on();const O=d.effect=new Wr(E);d.scope.off();const j=d.update=O.run.bind(O),V=d.job=O.runIfDirty.bind(O);V.i=d,V.id=d.uid,O.scheduler=()=>So(V),Ut(d,!0),j()},ue=(d,h,_)=>{h.component=d;const T=d.vnode.props;d.vnode=h,d.next=null,Oa(d,h.props,T,_),Ra(d,h.children,_),yt(),Fo(d),_t()},ne=(d,h,_,T,k,S,R,E,O=!1)=>{const j=d&&d.children,V=d?d.shapeFlag:0,F=h.children,{patchFlag:q,shapeFlag:B}=h;if(q>0){if(q&128){tt(j,F,_,T,k,S,R,E,O);return}else if(q&256){Ie(j,F,_,T,k,S,R,E,O);return}}B&8?(V&16&&He(j,k,S),F!==j&&f(_,F)):V&16?B&16?tt(j,F,_,T,k,S,R,E,O):He(j,k,S,!0):(V&8&&f(_,""),B&16&&Z(F,_,T,k,S,R,E,O))},Ie=(d,h,_,T,k,S,R,E,O)=>{d=d||on,h=h||on;const j=d.length,V=h.length,F=Math.min(j,V);let q;for(q=0;q<F;q++){const B=h[q]=O?gt(h[q]):it(h[q]);$(d[q],B,_,null,k,S,R,E,O)}j>V?He(d,k,S,!0,!1,F):Z(h,_,T,k,S,R,E,O,F)},tt=(d,h,_,T,k,S,R,E,O)=>{let j=0;const V=h.length;let F=d.length-1,q=V-1;for(;j<=F&&j<=q;){const B=d[j],ee=h[j]=O?gt(h[j]):it(h[j]);if(sn(B,ee))$(B,ee,_,null,k,S,R,E,O);else break;j++}for(;j<=F&&j<=q;){const B=d[F],ee=h[q]=O?gt(h[q]):it(h[q]);if(sn(B,ee))$(B,ee,_,null,k,S,R,E,O);else break;F--,q--}if(j>F){if(j<=q){const B=q+1,ee=B<V?h[B].el:T;for(;j<=q;)$(null,h[j]=O?gt(h[j]):it(h[j]),_,ee,k,S,R,E,O),j++}}else if(j>q)for(;j<=F;)Se(d[j],k,S,!0),j++;else{const B=j,ee=j,he=new Map;for(j=ee;j<=q;j++){const Ee=h[j]=O?gt(h[j]):it(h[j]);Ee.key!=null&&he.set(Ee.key,j)}let re,je=0;const Te=q-ee+1;let qe=!1,Ve=0;const qt=new Array(Te);for(j=0;j<Te;j++)qt[j]=0;for(j=B;j<=F;j++){const Ee=d[j];if(je>=Te){Se(Ee,k,S,!0);continue}let Je;if(Ee.key!=null)Je=he.get(Ee.key);else for(re=ee;re<=q;re++)if(qt[re-ee]===0&&sn(Ee,h[re])){Je=re;break}Je===void 0?Se(Ee,k,S,!0):(qt[Je-ee]=j+1,Je>=Ve?Ve=Je:qe=!0,$(Ee,h[Je],_,null,k,S,R,E,O),je++)}const Kn=qe?Ja(qt):on;for(re=Kn.length-1,j=Te-1;j>=0;j--){const Ee=ee+j,Je=h[Ee],pn=h[Ee+1],bn=Ee+1<V?pn.el||Ni(pn):T;qt[j]===0?$(null,Je,_,bn,k,S,R,E,O):qe&&(re<0||j!==Kn[re]?Le(Je,_,bn,2):re--)}}},Le=(d,h,_,T,k=null)=>{const{el:S,type:R,transition:E,children:O,shapeFlag:j}=d;if(j&6){Le(d.component.subTree,h,_,T);return}if(j&128){d.suspense.move(h,_,T);return}if(j&64){R.move(d,h,_,Ht);return}if(R===$e){s(S,h,_);for(let F=0;F<O.length;F++)Le(O[F],h,_,T);s(d.anchor,h,_);return}if(R===us){M(d,h,_);return}if(T!==2&&j&1&&E)if(T===0)E.beforeEnter(S),s(S,h,_),Me(()=>E.enter(S),k);else{const{leave:F,delayLeave:q,afterLeave:B}=E,ee=()=>{d.ctx.isUnmounted?o(S):s(S,h,_)},he=()=>{S._isLeaving&&S[Pt](!0),F(S,()=>{ee(),B&&B()})};q?q(S,ee,he):he()}else s(S,h,_)},Se=(d,h,_,T=!1,k=!1)=>{const{type:S,props:R,ref:E,children:O,dynamicChildren:j,shapeFlag:V,patchFlag:F,dirs:q,cacheIndex:B}=d;if(F===-2&&(k=!1),E!=null&&(yt(),On(E,null,_,d,!0),_t()),B!=null&&(h.renderCache[B]=void 0),V&256){h.ctx.deactivate(d);return}const ee=V&1&&q,he=!En(d);let re;if(he&&(re=R&&R.onVnodeBeforeUnmount)&&nt(re,h,d),V&6)X(d.component,_,T);else{if(V&128){d.suspense.unmount(_,T);return}ee&&Vt(d,null,h,"beforeUnmount"),V&64?d.type.remove(d,h,_,Ht,T):j&&!j.hasOnce&&(S!==$e||F>0&&F&64)?He(j,h,_,!1,!0):(S===$e&&F&384||!k&&V&16)&&He(O,h,_),T&&K(d)}(he&&(re=R&&R.onVnodeUnmounted)||ee)&&Me(()=>{re&&nt(re,h,d),ee&&Vt(d,null,h,"unmounted")},_)},K=d=>{const{type:h,el:_,anchor:T,transition:k}=d;if(h===$e){_e(_,T);return}if(h===us){b(d);return}const S=()=>{o(_),k&&!k.persisted&&k.afterLeave&&k.afterLeave()};if(d.shapeFlag&1&&k&&!k.persisted){const{leave:R,delayLeave:E}=k,O=()=>R(_,S);E?E(d.el,S,O):O()}else S()},_e=(d,h)=>{let _;for(;d!==h;)_=p(d),o(d),d=_;o(h)},X=(d,h,_)=>{const{bum:T,scope:k,job:S,subTree:R,um:E,m:O,a:j}=d;Xo(O),Xo(j),T&&is(T),k.stop(),S&&(S.flags|=8,Se(R,d,h,_)),E&&Me(E,h),Me(()=>{d.isUnmounted=!0},h)},He=(d,h,_,T=!1,k=!1,S=0)=>{for(let R=S;R<d.length;R++)Se(d[R],h,_,T,k)},ft=d=>{if(d.shapeFlag&6)return ft(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),_=h&&h[fi];return _?p(_):h};let Wt=!1;const St=(d,h,_)=>{let T;d==null?h._vnode&&(Se(h._vnode,null,null,!0),T=h._vnode.component):$(h._vnode||null,d,h,null,null,null,_),h._vnode=d,Wt||(Wt=!0,Fo(T),ri(),Wt=!1)},Ht={p:$,um:Se,m:Le,r:K,mt:ye,mc:Z,pc:ne,pbc:z,n:ft,o:e};return{render:St,hydrate:void 0,createApp:Ca(St)}}function Ws({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 Ut({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function La(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Mo(e,t,n=!1){const s=e.children,o=t.children;if(Y(s)&&Y(o))for(let r=0;r<s.length;r++){const i=s[r];let l=o[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[r]=gt(o[r]),l.el=i.el),!n&&l.patchFlag!==-2&&Mo(i,l)),l.type===Ps&&(l.patchFlag===-1&&(l=o[r]=gt(l)),l.el=i.el),l.type===xt&&!l.el&&(l.el=i.el)}}function Ja(e){const t=e.slice(),n=[0];let s,o,r,i,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(o=n[n.length-1],e[o]<c){t[s]=o,n.push(s);continue}for(r=0,i=n.length-1;r<i;)l=r+i>>1,e[n[l]]<c?r=l+1:i=l;c<e[n[r]]&&(r>0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=t[i];return n}function Ei(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ei(t)}function Xo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ni(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ni(t.subTree):null}const Ai=e=>e.__isSuspense;function Wa(e,t){t&&t.pendingBranch?Y(e)?t.effects.push(...e):t.effects.push(e):Xl(e)}const $e=Symbol.for("v-fgt"),Ps=Symbol.for("v-txt"),xt=Symbol.for("v-cmt"),us=Symbol.for("v-stc"),An=[];let We=null;function w(e=!1){An.push(We=e?null:[])}function Ha(){An.pop(),We=An[An.length-1]||null}let Jn=1;function Qo(e,t=!1){Jn+=e,e<0&&We&&t&&(We.hasOnce=!0)}function Ri(e){return e.dynamicChildren=Jn>0?We||on:null,Ha(),Jn>0&&We&&We.push(e),e}function x(e,t,n,s,o,r){return Ri(u(e,t,n,s,o,r,!0))}function vs(e,t,n,s,o){return Ri(se(e,t,n,s,o,!0))}function Fi(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const Ii=({key:e})=>e??null,cs=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?we(e)||Pe(e)||Q(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,s=0,o=null,r=e===$e?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ii(t),ref:t&&cs(t),scopeId:li,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ke};return l?(Do(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=we(n)?8:16),Jn>0&&!i&&We&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&We.push(a),a}const se=qa;function qa(e,t=null,n=null,s=0,o=null,r=!1){if((!e||e===ga)&&(e=xt),Fi(e)){const l=Qt(e,t,!0);return n&&Do(l,n),Jn>0&&!r&&We&&(l.shapeFlag&6?We[We.indexOf(e)]=l:We.push(l)),l.patchFlag=-2,l}if(Za(e)&&(e=e.__vccOpts),t){t=Va(t);let{class:l,style:a}=t;l&&!we(l)&&(t.class=fe(l)),de(a)&&(ko(a)&&!Y(a)&&(a=xe({},a)),t.style=be(a))}const i=we(e)?1:Ai(e)?128:ta(e)?64:de(e)?4:Q(e)?2:0;return u(e,t,n,s,o,i,r,!0)}function Va(e){return e?ko(e)||ji(e)?xe({},e):e:null}function Qt(e,t,n=!1,s=!1){const{props:o,ref:r,patchFlag:i,children:l,transition:a}=e,c=t?Ua(o||{},t):o,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ii(c),ref:t&&t.ref?n&&r?Y(r)?r.concat(cs(t)):[r,cs(t)]:cs(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==$e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Ln(f,a.clone(f)),f}function Be(e=" ",t=0){return se(Ps,null,e,t)}function zo(e,t){const n=se(us,null,e);return n.staticCount=t,n}function I(e="",t=!1){return t?(w(),vs(xt,null,e)):se(xt,null,e)}function it(e){return e==null||typeof e=="boolean"?se(xt):Y(e)?se($e,null,e.slice()):Fi(e)?gt(e):se(Ps,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function Do(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Y(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),Do(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ji(t)?t._ctx=Ke:o===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[Be(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ua(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=fe([t.class,s.class]));else if(o==="style")t.style=be([t.style,s.style]);else if(Cs(o)){const r=t[o],i=s[o];i&&r!==i&&!(Y(r)&&r.includes(i))&&(t[o]=r?[].concat(r,i):i)}else o!==""&&(t[o]=s[o])}return t}function nt(e,t,n,s=null){ze(e,t,7,[n,s])}const Ya=xi();let Ba=0;function Ka(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Ya,r={uid:Ba++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new yl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mi(s,o),emitsOptions:Ci(s,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:s.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,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 r.ctx={_:r},r.root=t?t.root:r,r.emit=ka.bind(null,r),e.ce&&e.ce(r),r}let Re=null;const Li=()=>Re||Ke;let ys,ao;{const e=Ss(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),r=>{o.length>1?o.forEach(i=>i(r)):o[0](r)}};ys=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),ao=t("__VUE_SSR_SETTERS__",n=>Wn=n)}const Yn=e=>{const t=Re;return ys(e),e.scope.on(),()=>{e.scope.off(),ys(t)}},Zo=()=>{Re&&Re.scope.off(),ys(null)};function Ji(e){return e.vnode.shapeFlag&4}let Wn=!1;function Ga(e,t=!1,n=!1){t&&ao(t);const{props:s,children:o}=e.vnode,r=Ji(e);Pa(e,s,r,t),Aa(e,o,n||t);const i=r?Xa(e,t):void 0;return t&&ao(!1),i}function Xa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,pa);const{setup:s}=n;if(s){yt();const o=e.setupContext=s.length>1?za(e):null,r=Yn(e),i=Un(s,e,0,[e.props,o]),l=Er(i);if(_t(),r(),(l||e.sp)&&!En(e)&&gi(e),l){if(i.then(Zo,Zo),t)return i.then(a=>{er(e,a)}).catch(a=>{Ts(a,e,0)});e.asyncDep=i}else er(e,i)}else Wi(e)}function er(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=ti(t)),Wi(e)}function Wi(e,t,n){const s=e.type;e.render||(e.render=s.render||lt);{const o=Yn(e);yt();try{ba(e)}finally{_t(),o()}}}const Qa={get(e,t){return De(e,"get",""),e[t]}};function za(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Qa),slots:e.slots,emit:e.emit,expose:t}}function Os(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ti(Jl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Nn)return Nn[n](e)},has(t,n){return n in t||n in Nn}})):e.proxy}function Za(e){return Q(e)&&"__vccOpts"in e}const Ze=(e,t)=>Ul(e,t,Wn),eu="3.5.28";/**
14
+ * @vue/runtime-dom v3.5.28
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/let uo;const tr=typeof window<"u"&&window.trustedTypes;if(tr)try{uo=tr.createPolicy("vue",{createHTML:e=>e})}catch{}const Hi=uo?e=>uo.createHTML(e):e=>e,tu="http://www.w3.org/2000/svg",nu="http://www.w3.org/1998/Math/MathML",mt=typeof document<"u"?document:null,nr=mt&&mt.createElement("template"),su={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 o=t==="svg"?mt.createElementNS(tu,e):t==="mathml"?mt.createElementNS(nu,e):n?mt.createElement(e,{is:n}):mt.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>mt.createTextNode(e),createComment:e=>mt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>mt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,r){const i=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{nr.innerHTML=Hi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=nr.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},jt="transition",_n="animation",fn=Symbol("_vtc"),qi={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},ou=xe({},oa,qi),Yt=(e,t=[])=>{Y(e)?e.forEach(n=>n(...t)):e&&e(...t)},sr=e=>e?Y(e)?e.some(t=>t.length>1):e.length>1:!1;function ru(e){const t={};for(const L in e)L in qi||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=i,appearToClass:f=l,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,v=iu(o),$=v&&v[0],P=v&&v[1],{onBeforeEnter:C,onEnter:N,onEnterCancelled:M,onLeave:b,onLeaveCancelled:y,onBeforeAppear:A=C,onAppear:U=N,onAppearCancelled:Z=M}=t,W=(L,le,ye,Oe)=>{L._enterCancelled=Oe,Ot(L,le?f:l),Ot(L,le?c:i),ye&&ye()},z=(L,le)=>{L._isLeaving=!1,Ot(L,m),Ot(L,g),Ot(L,p),le&&le()},oe=L=>(le,ye)=>{const Oe=L?U:N,ve=()=>W(le,L,ye);Yt(Oe,[le,ve]),or(()=>{Ot(le,L?a:r),ot(le,L?f:l),sr(Oe)||rr(le,s,$,ve)})};return xe(t,{onBeforeEnter(L){Yt(C,[L]),ot(L,r),ot(L,i)},onBeforeAppear(L){Yt(A,[L]),ot(L,a),ot(L,c)},onEnter:oe(!1),onAppear:oe(!0),onLeave(L,le){L._isLeaving=!0;const ye=()=>z(L,le);ot(L,m),L._enterCancelled?(ot(L,p),co(L)):(co(L),ot(L,p)),or(()=>{L._isLeaving&&(Ot(L,m),ot(L,g),sr(b)||rr(L,s,P,ye))}),Yt(b,[L,ye])},onEnterCancelled(L){W(L,!1,void 0,!0),Yt(M,[L])},onAppearCancelled(L){W(L,!0,void 0,!0),Yt(Z,[L])},onLeaveCancelled(L){z(L),Yt(y,[L])}})}function iu(e){if(e==null)return null;if(de(e))return[Hs(e.enter),Hs(e.leave)];{const t=Hs(e);return[t,t]}}function Hs(e){return fl(e)}function ot(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[fn]||(e[fn]=new Set)).add(t)}function Ot(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[fn];n&&(n.delete(t),n.size||(e[fn]=void 0))}function or(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let lu=0;function rr(e,t,n,s){const o=e._endId=++lu,r=()=>{o===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:i,timeout:l,propCount:a}=Vi(e,t);if(!i)return s();const c=i+"end";let f=0;const m=()=>{e.removeEventListener(c,p),r()},p=g=>{g.target===e&&++f>=a&&m()};setTimeout(()=>{f<a&&m()},l+1),e.addEventListener(c,p)}function Vi(e,t){const n=window.getComputedStyle(e),s=v=>(n[v]||"").split(", "),o=s(`${jt}Delay`),r=s(`${jt}Duration`),i=ir(o,r),l=s(`${_n}Delay`),a=s(`${_n}Duration`),c=ir(l,a);let f=null,m=0,p=0;t===jt?i>0&&(f=jt,m=i,p=r.length):t===_n?c>0&&(f=_n,m=c,p=a.length):(m=Math.max(i,c),f=m>0?i>c?jt:_n:null,p=f?f===jt?r.length:a.length:0);const g=f===jt&&/\b(?:transform|all)(?:,|$)/.test(s(`${jt}Property`).toString());return{type:f,timeout:m,propCount:p,hasTransform:g}}function ir(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>lr(n)+lr(e[s])))}function lr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function co(e){return(e?e.ownerDocument:document).body.offsetHeight}function au(e,t,n){const s=e[fn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ar=Symbol("_vod"),uu=Symbol("_vsh"),cu=Symbol(""),fu=/(?:^|;)\s*display\s*:/;function du(e,t,n){const s=e.style,o=we(n);let r=!1;if(n&&!o){if(t)if(we(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&fs(s,l,"")}else for(const i in t)n[i]==null&&fs(s,i,"");for(const i in n)i==="display"&&(r=!0),fs(s,i,n[i])}else if(o){if(t!==n){const i=s[cu];i&&(n+=";"+i),s.cssText=n,r=fu.test(n)}}else t&&e.removeAttribute("style");ar in e&&(e[ar]=r?s.display:"",e[uu]&&(s.display="none"))}const ur=/\s*!important$/;function fs(e,t,n){if(Y(n))n.forEach(s=>fs(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hu(e,t);ur.test(n)?e.setProperty(zt(s),n.replace(ur,""),"important"):e[s]=n}}const cr=["Webkit","Moz","ms"],qs={};function hu(e,t){const n=qs[t];if(n)return n;let s=It(t);if(s!=="filter"&&s in e)return qs[t]=s;s=Rr(s);for(let o=0;o<cr.length;o++){const r=cr[o]+s;if(r in e)return qs[t]=r}return t}const fr="http://www.w3.org/1999/xlink";function dr(e,t,n,s,o,r=bl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(fr,t.slice(6,t.length)):e.setAttributeNS(fr,t,n):n==null||r&&!Ir(n)?e.removeAttribute(t):e.setAttribute(t,r?"":at(n)?String(n):n)}function hr(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Hi(n):n);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Ir(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function At(e,t,n,s){e.addEventListener(t,n,s)}function mu(e,t,n,s){e.removeEventListener(t,n,s)}const mr=Symbol("_vei");function gu(e,t,n,s,o=null){const r=e[mr]||(e[mr]={}),i=r[t];if(s&&i)i.value=s;else{const[l,a]=pu(t);if(s){const c=r[t]=yu(s,o);At(e,l,c,a)}else i&&(mu(e,l,i,a),r[t]=void 0)}}const gr=/(?:Once|Passive|Capture)$/;function pu(e){let t;if(gr.test(e)){t={};let s;for(;s=e.match(gr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):zt(e.slice(2)),t]}let Vs=0;const bu=Promise.resolve(),vu=()=>Vs||(bu.then(()=>Vs=0),Vs=Date.now());function yu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;ze(_u(s,n.value),t,5,[s])};return n.value=e,n.attached=vu(),n}function _u(e,t){if(Y(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const pr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wu=(e,t,n,s,o,r)=>{const i=o==="svg";t==="class"?au(e,s,i):t==="style"?du(e,n,s):Cs(t)?mo(t)||gu(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xu(e,t,s,i))?(hr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&dr(e,t,s,i,r,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!we(s))?hr(e,It(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),dr(e,t,s,i))};function xu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&pr(t)&&Q(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return pr(t)&&we(n)?!1:t in e}const Ui=new WeakMap,Yi=new WeakMap,_s=Symbol("_moveCb"),br=Symbol("_enterCb"),Cu=e=>(delete e.props.mode,e),$u=Cu({name:"TransitionGroup",props:xe({},ou,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Li(),s=sa();let o,r;return vi(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Mu(o[0].el,n.vnode.el,i)){o=[];return}o.forEach(Su),o.forEach(ju);const l=o.filter(Tu);co(n.vnode.el),l.forEach(a=>{const c=a.el,f=c.style;ot(c,i),f.transform=f.webkitTransform=f.transitionDuration="";const m=c[_s]=p=>{p&&p.target!==c||(!p||p.propertyName.endsWith("transform"))&&(c.removeEventListener("transitionend",m),c[_s]=null,Ot(c,i))};c.addEventListener("transitionend",m)}),o=[]}),()=>{const i=ie(e),l=ru(i);let a=i.tag||$e;if(o=[],r)for(let c=0;c<r.length;c++){const f=r[c];f.el&&f.el instanceof Element&&(o.push(f),Ln(f,so(f,l,s,n)),Ui.set(f,Bi(f.el)))}r=t.default?mi(t.default()):[];for(let c=0;c<r.length;c++){const f=r[c];f.key!=null&&Ln(f,so(f,l,s,n))}return se(a,null,r)}}}),ku=$u;function Su(e){const t=e.el;t[_s]&&t[_s](),t[br]&&t[br]()}function ju(e){Yi.set(e,Bi(e.el))}function Tu(e){const t=Ui.get(e),n=Yi.get(e),s=t.left-n.left,o=t.top-n.top;if(s||o){const r=e.el,i=r.style,l=r.getBoundingClientRect();let a=1,c=1;return r.offsetWidth&&(a=l.width/r.offsetWidth),r.offsetHeight&&(c=l.height/r.offsetHeight),(!Number.isFinite(a)||a===0)&&(a=1),(!Number.isFinite(c)||c===0)&&(c=1),Math.abs(a-1)<.01&&(a=1),Math.abs(c-1)<.01&&(c=1),i.transform=i.webkitTransform=`translate(${s/a}px,${o/c}px)`,i.transitionDuration="0s",e}}function Bi(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function Mu(e,t,n){const s=e.cloneNode(),o=e[fn];o&&o.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:i}=Vi(s);return r.removeChild(s),i}const dn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Y(t)?n=>is(t,n):t};function Du(e){e.target.composing=!0}function vr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vt=Symbol("_assign");function yr(e,t,n){return t&&(e=e.trim()),n&&(e=ks(e)),e}const Rt={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[vt]=dn(o);const r=s||o.props&&o.props.type==="number";At(e,t?"change":"input",i=>{i.target.composing||e[vt](yr(e.value,n,r))}),(n||r)&&At(e,"change",()=>{e.value=yr(e.value,n,r)}),t||(At(e,"compositionstart",Du),At(e,"compositionend",vr),At(e,"change",vr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:r}},i){if(e[vt]=dn(i),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?ks(e.value):e.value,a=t??"";l!==a&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===a)||(e.value=a))}},Pu={deep:!0,created(e,t,n){e[vt]=dn(n),At(e,"change",()=>{const s=e._modelValue,o=Hn(e),r=e.checked,i=e[vt];if(Y(s)){const l=bo(s,o),a=l!==-1;if(r&&!a)i(s.concat(o));else if(!r&&a){const c=[...s];c.splice(l,1),i(c)}}else if(hn(s)){const l=new Set(s);r?l.add(o):l.delete(o),i(l)}else i(Ki(e,r))})},mounted:_r,beforeUpdate(e,t,n){e[vt]=dn(n),_r(e,t,n)}};function _r(e,{value:t,oldValue:n},s){e._modelValue=t;let o;if(Y(t))o=bo(t,s.props.value)>-1;else if(hn(t))o=t.has(s.props.value);else{if(t===n)return;o=mn(t,Ki(e,!0))}e.checked!==o&&(e.checked=o)}const fo={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const o=hn(t);At(e,"change",()=>{const r=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ks(Hn(i)):Hn(i));e[vt](e.multiple?o?new Set(r):r:r[0]),e._assigning=!0,si(()=>{e._assigning=!1})}),e[vt]=dn(s)},mounted(e,{value:t}){wr(e,t)},beforeUpdate(e,t,n){e[vt]=dn(n)},updated(e,{value:t}){e._assigning||wr(e,t)}};function wr(e,t){const n=e.multiple,s=Y(t);if(!(n&&!s&&!hn(t))){for(let o=0,r=e.options.length;o<r;o++){const i=e.options[o],l=Hn(i);if(n)if(s){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(c=>String(c)===String(l)):i.selected=bo(t,l)>-1}else i.selected=t.has(l);else if(mn(Hn(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Hn(e){return"_value"in e?e._value:e.value}function Ki(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Ou=["ctrl","shift","alt","meta"],Eu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Ou.some(n=>e[`${n}Key`]&&!t.includes(n))},ke=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...r)=>{for(let i=0;i<t.length;i++){const l=Eu[t[i]];if(l&&l(o,t))return}return e(o,...r)}))},Nu=xe({patchProp:wu},su);let xr;function Au(){return xr||(xr=Fa(Nu))}const Ru=((...e)=>{const t=Au().createApp(...e),{mount:n}=t;return t.mount=s=>{const o=Iu(s);if(!o)return;const r=t._component;!Q(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Fu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t});function Fu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Iu(e){return we(e)?document.querySelector(e):e}const et="api";async function kt(e,t){const n=await fetch(e,{headers:{"Content-Type":"application/json",...t==null?void 0:t.headers},...t});if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);return n.json()}async function Lu(e={}){const t=new URLSearchParams;e.limit!==void 0&&t.set("limit",String(e.limit)),e.name&&t.set("job",e.name),e.skip!==void 0&&t.set("skip",String(e.skip)),e.property&&t.set("property",e.property),e.isObjectId==="true"&&t.set("isObjectId","true"),e.state&&t.set("state",e.state),e.search&&t.set("q",e.search);const n=`${et}?${t.toString()}`;return kt(n)}async function Ju(e){return kt(`${et}/jobs/requeue`,{method:"POST",body:JSON.stringify({jobIds:e})})}async function Wu(e){return kt(`${et}/jobs/retry`,{method:"POST",body:JSON.stringify({jobIds:e})})}async function Hu(e){return kt(`${et}/jobs/delete`,{method:"POST",body:JSON.stringify({jobIds:e})})}async function qu(e){return kt(`${et}/jobs/create`,{method:"POST",body:JSON.stringify(e)})}async function Vu(e){return kt(`${et}/jobs/pause`,{method:"POST",body:JSON.stringify({jobIds:e})})}async function Uu(e){return kt(`${et}/jobs/resume`,{method:"POST",body:JSON.stringify({jobIds:e})})}async function Gi(e=!1){const t=e?`${et}/stats?fullDetails=true`:`${et}/stats`;return kt(t)}async function Yu(e={}){const t=new URLSearchParams;e.jobId&&t.set("jobId",e.jobId),e.jobName&&t.set("jobName",e.jobName),e.level&&t.set("level",e.level),e.event&&t.set("event",e.event),e.from&&t.set("from",e.from),e.to&&t.set("to",e.to),e.limit!==void 0&&t.set("limit",String(e.limit)),e.offset!==void 0&&t.set("offset",String(e.offset)),e.sort&&t.set("sort",e.sort);const n=`${et}/logs?${t.toString()}`;return kt(n)}function Bu(e,t,n){const s=new EventSource(`${et}/events`);return s.onmessage=o=>{try{const r=JSON.parse(o.data);e(r)}catch{}},s.addEventListener("connected",()=>{n==null||n()}),s.onerror=o=>{t==null||t(o)},()=>{s.close()}}const Ku={class:"p-3 sidebar-container"},Gu={key:0,class:"sidebar-loading-indicator"},Xu={class:"stats-summary-header"},Qu={key:0,class:"spinner-border spinner-border-sm"},zu={key:0,class:"stats-summary-badges"},Zu={class:"stats-badge running"},ec={class:"stats-badge queued"},tc={class:"stats-badge locked"},nc={key:1,class:"text-center py-4 text-muted"},sc={key:2,class:"job-list"},oc=["onClick"],rc={key:0,class:"status-dots"},ic=["title"],lc=["title"],ac=["title"],uc=["title"],cc=["title"],fc=["title"],dc=["title"],hc={class:"job-total"},mc={key:0,class:"mini-progress mx-4 mb-1"},gc={key:1,class:"job-details"},pc=["onClick"],bc={class:"count"},vc=["onClick"],yc={class:"count"},_c=["onClick"],wc={class:"count"},xc=["onClick"],Cc={class:"count"},$c=["onClick"],kc={class:"count"},Sc=["onClick"],jc={class:"count"},Tc=["onClick"],Mc={class:"count"},Dc=["onClick"],Pc=ct({__name:"Sidebar",props:{overview:{},pageSize:{},loading:{type:Boolean},currentFilters:{},showingStats:{type:Boolean}},emits:["search","new-job","show-stats","show-job-logs"],setup(e,{emit:t}){const n=e,s=t,o=H(new Set(["All Jobs"])),r=H(null),i=H(!1);let l=null;async function a(){i.value=!0;try{r.value=await Gi(!1)}catch($){console.error("Failed to fetch stats:",$)}finally{i.value=!1}}$t(()=>{a(),l=setInterval(a,5e3)}),Jt(()=>{l&&clearInterval(l)});function c($){if(n.showingStats)return!1;const P=n.currentFilters.name||"";return $==="All Jobs"?P===""||P==="All Jobs":P===$}function f($,P){return c($)?(n.currentFilters.state||"")===P:!1}function m($){return o.value.has($)}function p($){const P=c($),C=!!n.currentFilters.state;P&&!C&&o.value.has($)?o.value.delete($):o.value.add($),s("search",$,"")}function g($,P=""){s("search",$,P)}function v($){return{scheduled:"#17a2b8",queued:"#4a6fa5",running:"#ffc107",completed:"#28a745",failed:"#dc3545",repeating:"#98c1d9",paused:"#6c757d"}[$]||"#6c757d"}return($,P)=>(w(),x("div",Ku,[e.loading&&e.overview.length>0?(w(),x("div",Gu,[...P[2]||(P[2]=[u("div",{class:"spinner-border spinner-border-sm"},null,-1)])])):I("",!0),u("button",{class:"btn btn-success btn-sm w-100 mb-3",onClick:P[0]||(P[0]=C=>$.$emit("new-job"))}," + New Job "),u("div",{class:fe(["stats-summary-card mb-3",{"stats-selected":e.showingStats}]),onClick:P[1]||(P[1]=C=>$.$emit("show-stats"))},[u("div",Xu,[P[3]||(P[3]=u("span",{class:"stats-summary-title"},"Agenda Status",-1)),i.value?(w(),x("span",Qu)):I("",!0)]),r.value?(w(),x("div",zu,[u("span",Zu,D(typeof r.value.runningJobs=="number"?r.value.runningJobs:r.value.runningJobs.length)+" running",1),u("span",ec,D(typeof r.value.queuedJobs=="number"?r.value.queuedJobs:r.value.queuedJobs.length)+" queued",1),u("span",tc,D(typeof r.value.lockedJobs=="number"?r.value.lockedJobs:r.value.lockedJobs.length)+" locked",1)])):I("",!0)],2),e.loading&&e.overview.length===0?(w(),x("div",nc,[...P[4]||(P[4]=[u("div",{class:"spinner-border spinner-border-sm mb-2"},null,-1),u("small",{class:"d-block"},"Loading...",-1)])])):I("",!0),e.overview.length>0?(w(),x("div",sc,[(w(!0),x($e,null,Lt(e.overview,C=>(w(),x("div",{key:C.displayName,class:"job-item mb-1"},[u("div",{class:fe(["job-header d-flex align-items-center",{"job-header-selected":c(C.displayName)&&!e.currentFilters.state}]),onClick:N=>p(C.displayName)},[u("span",{class:fe(["expand-icon",{rotated:m(C.displayName)}])},"►",2),u("span",{class:fe(["job-name flex-grow-1",{"job-name-selected":c(C.displayName)}])},D(C.displayName),3),m(C.displayName)?I("",!0):(w(),x("span",rc,[C.scheduled?(w(),x("span",{key:0,class:"status-dot",style:be({backgroundColor:v("scheduled")}),title:`${C.scheduled} scheduled`},null,12,ic)):I("",!0),C.queued?(w(),x("span",{key:1,class:"status-dot",style:be({backgroundColor:v("queued")}),title:`${C.queued} queued`},null,12,lc)):I("",!0),C.running?(w(),x("span",{key:2,class:"status-dot",style:be({backgroundColor:v("running")}),title:`${C.running} running`},null,12,ac)):I("",!0),C.completed?(w(),x("span",{key:3,class:"status-dot",style:be({backgroundColor:v("completed")}),title:`${C.completed} completed`},null,12,uc)):I("",!0),C.failed?(w(),x("span",{key:4,class:"status-dot",style:be({backgroundColor:v("failed")}),title:`${C.failed} failed`},null,12,cc)):I("",!0),C.repeating?(w(),x("span",{key:5,class:"status-dot",style:be({backgroundColor:v("repeating")}),title:`${C.repeating} repeating`},null,12,fc)):I("",!0),C.paused?(w(),x("span",{key:6,class:"status-dot",style:be({backgroundColor:v("paused")}),title:`${C.paused} paused`},null,12,dc)):I("",!0)])),u("span",hc,D(C.total),1)],10,oc),m(C.displayName)?(w(),x("div",mc,[C.scheduled?(w(),x("div",{key:0,class:"mini-bar",style:be({flex:C.scheduled,backgroundColor:v("scheduled")})},null,4)):I("",!0),C.queued?(w(),x("div",{key:1,class:"mini-bar",style:be({flex:C.queued,backgroundColor:v("queued")})},null,4)):I("",!0),C.running?(w(),x("div",{key:2,class:"mini-bar",style:be({flex:C.running,backgroundColor:v("running")})},null,4)):I("",!0),C.completed?(w(),x("div",{key:3,class:"mini-bar",style:be({flex:C.completed,backgroundColor:v("completed")})},null,4)):I("",!0),C.failed?(w(),x("div",{key:4,class:"mini-bar",style:be({flex:C.failed,backgroundColor:v("failed")})},null,4)):I("",!0),C.paused?(w(),x("div",{key:5,class:"mini-bar",style:be({flex:C.paused,backgroundColor:v("paused")})},null,4)):I("",!0)])):I("",!0),m(C.displayName)?(w(),x("div",gc,[u("div",{class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"scheduled")}]),onClick:N=>g(C.displayName,"scheduled")},[u("span",{class:"dot",style:be({backgroundColor:v("scheduled")})},null,4),P[5]||(P[5]=u("span",{class:"label"},"Scheduled",-1)),u("span",bc,D(C.scheduled),1)],10,pc),u("div",{class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"queued")}]),onClick:N=>g(C.displayName,"queued")},[u("span",{class:"dot",style:be({backgroundColor:v("queued")})},null,4),P[6]||(P[6]=u("span",{class:"label"},"Queued",-1)),u("span",yc,D(C.queued),1)],10,vc),u("div",{class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"running")}]),onClick:N=>g(C.displayName,"running")},[u("span",{class:"dot",style:be({backgroundColor:v("running")})},null,4),P[7]||(P[7]=u("span",{class:"label"},"Running",-1)),u("span",wc,D(C.running),1)],10,_c),u("div",{class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"completed")}]),onClick:N=>g(C.displayName,"completed")},[u("span",{class:"dot",style:be({backgroundColor:v("completed")})},null,4),P[8]||(P[8]=u("span",{class:"label"},"Completed",-1)),u("span",Cc,D(C.completed),1)],10,xc),u("div",{class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"failed")}]),onClick:N=>g(C.displayName,"failed")},[u("span",{class:"dot",style:be({backgroundColor:v("failed")})},null,4),P[9]||(P[9]=u("span",{class:"label"},"Failed",-1)),u("span",kc,D(C.failed),1)],10,$c),u("div",{class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"repeating")}]),onClick:N=>g(C.displayName,"repeating")},[u("span",{class:"dot",style:be({backgroundColor:v("repeating")})},null,4),P[10]||(P[10]=u("span",{class:"label"},"Repeating",-1)),u("span",jc,D(C.repeating),1)],10,Sc),C.paused?(w(),x("div",{key:0,class:fe(["detail-row",{"detail-row-selected":f(C.displayName,"paused")}]),onClick:N=>g(C.displayName,"paused")},[u("span",{class:"dot",style:be({backgroundColor:v("paused")})},null,4),P[11]||(P[11]=u("span",{class:"label"},"Paused",-1)),u("span",Mc,D(C.paused),1)],10,Tc)):I("",!0),C.displayName!=="All Jobs"?(w(),x("div",{key:1,class:"detail-row logs-row",onClick:ke(N=>$.$emit("show-job-logs",C.displayName),["stop"])},[...P[12]||(P[12]=[u("span",{class:"logs-icon"},"📜",-1),u("span",{class:"label"},"Logs",-1)])],8,Dc)):I("",!0)])):I("",!0)]))),128))])):I("",!0)]))}}),gn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,o]of t)n[s]=o;return n},Cr=gn(Pc,[["__scopeId","data-v-d096de3e"]]),Oc={class:"row"},Ec={class:"col-xs-12 col-md-6"},Nc={class:"input-group mt-2 mb-2"},Ac={class:"input-group mt-2 mb-2"},Rc={class:"input-group mt-2 mb-2"},Fc={class:"form-check mx-2 pt-2"},Ic={class:"col-xs-12 col-md-6"},Lc={class:"input-group mt-2 mb-2"},Jc={class:"input-group mt-2 mb-2"},Wc=["value"],Hc=ct({__name:"Topbar",props:{currentFilters:{}},emits:["search"],setup(e,{emit:t}){const n=e,s=t,o=H(""),r=H(""),i=H(""),l=H(!1),a=H(50),c=H("");an(()=>n.currentFilters,p=>{o.value=p.name||"",c.value=p.state||"",r.value=p.property||"",i.value=p.search||"",l.value=p.isObjectId||!1,a.value=p.limit||50},{immediate:!0});const f=[{text:"All",value:"",class:""},{text:"Scheduled",value:"scheduled",class:""},{text:"Queued",value:"queued",class:"text-primary"},{text:"Running",value:"running",class:"text-warning"},{text:"Completed",value:"completed",class:"text-success"},{text:"Failed",value:"failed",class:"text-danger"},{text:"Repeating",value:"repeating",class:"text-info"}];function m(){s("search",{name:o.value,search:i.value,property:r.value,limit:a.value,skip:0,state:c.value,isObjectId:l.value})}return(p,g)=>(w(),x("form",{onSubmit:ke(m,["prevent"])},[u("div",Oc,[u("div",Ec,[u("div",Nc,[g[6]||(g[6]=u("span",{class:"input-group-text"},"Name",-1)),Ye(u("input",{"onUpdate:modelValue":g[0]||(g[0]=v=>o.value=v),type:"text",class:"form-control",placeholder:"job name"},null,512),[[Rt,o.value]])]),u("div",Ac,[g[7]||(g[7]=u("span",{class:"input-group-text"},"Property",-1)),Ye(u("input",{"onUpdate:modelValue":g[1]||(g[1]=v=>r.value=v),type:"text",class:"form-control",placeholder:"data.color"},null,512),[[Rt,r.value]])]),u("div",Rc,[g[9]||(g[9]=u("span",{class:"input-group-text"},"Value",-1)),Ye(u("input",{"onUpdate:modelValue":g[2]||(g[2]=v=>i.value=v),class:"form-control",placeholder:"green"},null,512),[[Rt,i.value]]),u("div",Fc,[Ye(u("input",{id:"isObjectId","onUpdate:modelValue":g[3]||(g[3]=v=>l.value=v),type:"checkbox",class:"form-check-input"},null,512),[[Pu,l.value]]),g[8]||(g[8]=u("label",{class:"form-check-label",for:"isObjectId"},"Is ObjectId?",-1))])])]),u("div",Ic,[u("div",Lc,[g[10]||(g[10]=u("span",{class:"input-group-text"},"Page Size",-1)),Ye(u("input",{"onUpdate:modelValue":g[4]||(g[4]=v=>a.value=v),type:"number",class:"form-control"},null,512),[[Rt,a.value,void 0,{number:!0}]])]),u("div",Jc,[g[11]||(g[11]=u("span",{class:"input-group-text"},"State",-1)),Ye(u("select",{id:"selectStateInput","onUpdate:modelValue":g[5]||(g[5]=v=>c.value=v),class:"form-select"},[(w(),x($e,null,Lt(f,v=>u("option",{key:v.value,value:v.value,class:fe(v.class)},D(v.text),11,Wc)),64))],512),[[fo,c.value]])])])]),g[12]||(g[12]=u("div",{class:"row mb-3"},[u("div",{class:"col-xs-12 col-md-3 ms-auto text-end"},[u("button",{type:"submit",class:"d-none d-md-inline-block btn btn-success"},"Apply"),u("button",{type:"submit",class:"d-inline-block d-md-none btn btn-block w-100 btn-success"}," Apply ")])],-1))],32))}}),Xi=6048e5,qc=864e5,Qi=6e4,zi=36e5,Zn=43200,$r=1440,kr=Symbol.for("constructDateFrom");function ut(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&kr in e?e[kr](t):e instanceof Date?new e.constructor(t):new Date(t)}function Ce(e,t){return ut(t||e,e)}let Vc={};function Bn(){return Vc}function qn(e,t){var l,a,c,f;const n=Bn(),s=(t==null?void 0:t.weekStartsOn)??((a=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:a.weekStartsOn)??n.weekStartsOn??((f=(c=n.locale)==null?void 0:c.options)==null?void 0:f.weekStartsOn)??0,o=Ce(e,t==null?void 0:t.in),r=o.getDay(),i=(r<s?7:0)+r-s;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function ws(e,t){return qn(e,{...t,weekStartsOn:1})}function Zi(e,t){const n=Ce(e,t==null?void 0:t.in),s=n.getFullYear(),o=ut(n,0);o.setFullYear(s+1,0,4),o.setHours(0,0,0,0);const r=ws(o),i=ut(n,0);i.setFullYear(s,0,4),i.setHours(0,0,0,0);const l=ws(i);return n.getTime()>=r.getTime()?s+1:n.getTime()>=l.getTime()?s:s-1}function xs(e){const t=Ce(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Es(e,...t){const n=ut.bind(null,e||t.find(s=>typeof s=="object"));return t.map(n)}function Sr(e,t){const n=Ce(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Uc(e,t,n){const[s,o]=Es(n==null?void 0:n.in,e,t),r=Sr(s),i=Sr(o),l=+r-xs(r),a=+i-xs(i);return Math.round((l-a)/qc)}function Yc(e,t){const n=Zi(e,t),s=ut(e,0);return s.setFullYear(n,0,4),s.setHours(0,0,0,0),ws(s)}function ds(e,t){const n=+Ce(e)-+Ce(t);return n<0?-1:n>0?1:n}function Bc(e){return ut(e,Date.now())}function Kc(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Gc(e){return!(!Kc(e)&&typeof e!="number"||isNaN(+Ce(e)))}function Xc(e,t,n){const[s,o]=Es(n==null?void 0:n.in,e,t),r=s.getFullYear()-o.getFullYear(),i=s.getMonth()-o.getMonth();return r*12+i}function Qc(e){return t=>{const s=(e?Math[e]:Math.trunc)(t);return s===0?0:s}}function zc(e,t){return+Ce(e)-+Ce(t)}function Zc(e,t){const n=Ce(e,t==null?void 0:t.in);return n.setHours(23,59,59,999),n}function ef(e,t){const n=Ce(e,t==null?void 0:t.in),s=n.getMonth();return n.setFullYear(n.getFullYear(),s+1,0),n.setHours(23,59,59,999),n}function tf(e,t){const n=Ce(e,t==null?void 0:t.in);return+Zc(n,t)==+ef(n,t)}function nf(e,t,n){const[s,o,r]=Es(n==null?void 0:n.in,e,e,t),i=ds(o,r),l=Math.abs(Xc(o,r));if(l<1)return 0;o.getMonth()===1&&o.getDate()>27&&o.setDate(30),o.setMonth(o.getMonth()-i*l);let a=ds(o,r)===-i;tf(s)&&l===1&&ds(s,r)===1&&(a=!1);const c=i*(l-+a);return c===0?0:c}function sf(e,t,n){const s=zc(e,t)/1e3;return Qc(n==null?void 0:n.roundingMethod)(s)}function of(e,t){const n=Ce(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const rf={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},lf=(e,t,n)=>{let s;const o=rf[e];return typeof o=="string"?s=o:t===1?s=o.one:s=o.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};function Us(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const af={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},uf={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},cf={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},ff={date:Us({formats:af,defaultWidth:"full"}),time:Us({formats:uf,defaultWidth:"full"}),dateTime:Us({formats:cf,defaultWidth:"full"})},df={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},hf=(e,t,n,s)=>df[e];function wn(e){return(t,n)=>{const s=n!=null&&n.context?String(n.context):"standalone";let o;if(s==="formatting"&&e.formattingValues){const i=e.defaultFormattingWidth||e.defaultWidth,l=n!=null&&n.width?String(n.width):i;o=e.formattingValues[l]||e.formattingValues[i]}else{const i=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;o=e.values[l]||e.values[i]}const r=e.argumentCallback?e.argumentCallback(t):t;return o[r]}}const mf={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},gf={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},pf={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},bf={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},vf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},yf={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},_f=(e,t)=>{const n=Number(e),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},wf={ordinalNumber:_f,era:wn({values:mf,defaultWidth:"wide"}),quarter:wn({values:gf,defaultWidth:"wide",argumentCallback:e=>e-1}),month:wn({values:pf,defaultWidth:"wide"}),day:wn({values:bf,defaultWidth:"wide"}),dayPeriod:wn({values:vf,defaultWidth:"wide",formattingValues:yf,defaultFormattingWidth:"wide"})};function xn(e){return(t,n={})=>{const s=n.width,o=s&&e.matchPatterns[s]||e.matchPatterns[e.defaultMatchWidth],r=t.match(o);if(!r)return null;const i=r[0],l=s&&e.parsePatterns[s]||e.parsePatterns[e.defaultParseWidth],a=Array.isArray(l)?Cf(l,m=>m.test(i)):xf(l,m=>m.test(i));let c;c=e.valueCallback?e.valueCallback(a):a,c=n.valueCallback?n.valueCallback(c):c;const f=t.slice(i.length);return{value:c,rest:f}}}function xf(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function Cf(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function $f(e){return(t,n={})=>{const s=t.match(e.matchPattern);if(!s)return null;const o=s[0],r=t.match(e.parsePattern);if(!r)return null;let i=e.valueCallback?e.valueCallback(r[0]):r[0];i=n.valueCallback?n.valueCallback(i):i;const l=t.slice(o.length);return{value:i,rest:l}}}const kf=/^(\d+)(th|st|nd|rd)?/i,Sf=/\d+/i,jf={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Tf={any:[/^b/i,/^(a|c)/i]},Mf={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Df={any:[/1/i,/2/i,/3/i,/4/i]},Pf={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Of={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Ef={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Nf={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Af={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Rf={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Ff={ordinalNumber:$f({matchPattern:kf,parsePattern:Sf,valueCallback:e=>parseInt(e,10)}),era:xn({matchPatterns:jf,defaultMatchWidth:"wide",parsePatterns:Tf,defaultParseWidth:"any"}),quarter:xn({matchPatterns:Mf,defaultMatchWidth:"wide",parsePatterns:Df,defaultParseWidth:"any",valueCallback:e=>e+1}),month:xn({matchPatterns:Pf,defaultMatchWidth:"wide",parsePatterns:Of,defaultParseWidth:"any"}),day:xn({matchPatterns:Ef,defaultMatchWidth:"wide",parsePatterns:Nf,defaultParseWidth:"any"}),dayPeriod:xn({matchPatterns:Af,defaultMatchWidth:"any",parsePatterns:Rf,defaultParseWidth:"any"})},el={code:"en-US",formatDistance:lf,formatLong:ff,formatRelative:hf,localize:wf,match:Ff,options:{weekStartsOn:0,firstWeekContainsDate:1}};function If(e,t){const n=Ce(e,t==null?void 0:t.in);return Uc(n,of(n))+1}function Lf(e,t){const n=Ce(e,t==null?void 0:t.in),s=+ws(n)-+Yc(n);return Math.round(s/Xi)+1}function tl(e,t){var f,m,p,g;const n=Ce(e,t==null?void 0:t.in),s=n.getFullYear(),o=Bn(),r=(t==null?void 0:t.firstWeekContainsDate)??((m=(f=t==null?void 0:t.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??o.firstWeekContainsDate??((g=(p=o.locale)==null?void 0:p.options)==null?void 0:g.firstWeekContainsDate)??1,i=ut((t==null?void 0:t.in)||e,0);i.setFullYear(s+1,0,r),i.setHours(0,0,0,0);const l=qn(i,t),a=ut((t==null?void 0:t.in)||e,0);a.setFullYear(s,0,r),a.setHours(0,0,0,0);const c=qn(a,t);return+n>=+l?s+1:+n>=+c?s:s-1}function Jf(e,t){var l,a,c,f;const n=Bn(),s=(t==null?void 0:t.firstWeekContainsDate)??((a=(l=t==null?void 0:t.locale)==null?void 0:l.options)==null?void 0:a.firstWeekContainsDate)??n.firstWeekContainsDate??((f=(c=n.locale)==null?void 0:c.options)==null?void 0:f.firstWeekContainsDate)??1,o=tl(e,t),r=ut((t==null?void 0:t.in)||e,0);return r.setFullYear(o,0,s),r.setHours(0,0,0,0),qn(r,t)}function Wf(e,t){const n=Ce(e,t==null?void 0:t.in),s=+qn(n,t)-+Jf(n,t);return Math.round(s/Xi)+1}function ce(e,t){const n=e<0?"-":"",s=Math.abs(e).toString().padStart(t,"0");return n+s}const Tt={y(e,t){const n=e.getFullYear(),s=n>0?n:1-n;return ce(t==="yy"?s%100:s,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):ce(n+1,2)},d(e,t){return ce(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return ce(e.getHours()%12||12,t.length)},H(e,t){return ce(e.getHours(),t.length)},m(e,t){return ce(e.getMinutes(),t.length)},s(e,t){return ce(e.getSeconds(),t.length)},S(e,t){const n=t.length,s=e.getMilliseconds(),o=Math.trunc(s*Math.pow(10,n-3));return ce(o,t.length)}},en={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},jr={G:function(e,t,n){const s=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const s=e.getFullYear(),o=s>0?s:1-s;return n.ordinalNumber(o,{unit:"year"})}return Tt.y(e,t)},Y:function(e,t,n,s){const o=tl(e,s),r=o>0?o:1-o;if(t==="YY"){const i=r%100;return ce(i,2)}return t==="Yo"?n.ordinalNumber(r,{unit:"year"}):ce(r,t.length)},R:function(e,t){const n=Zi(e);return ce(n,t.length)},u:function(e,t){const n=e.getFullYear();return ce(n,t.length)},Q:function(e,t,n){const s=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(s);case"QQ":return ce(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(e,t,n){const s=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(s);case"qq":return ce(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(e,t,n){const s=e.getMonth();switch(t){case"M":case"MM":return Tt.M(e,t);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(e,t,n){const s=e.getMonth();switch(t){case"L":return String(s+1);case"LL":return ce(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(e,t,n,s){const o=Wf(e,s);return t==="wo"?n.ordinalNumber(o,{unit:"week"}):ce(o,t.length)},I:function(e,t,n){const s=Lf(e);return t==="Io"?n.ordinalNumber(s,{unit:"week"}):ce(s,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Tt.d(e,t)},D:function(e,t,n){const s=If(e);return t==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):ce(s,t.length)},E:function(e,t,n){const s=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});case"EEEE":default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(e,t,n,s){const o=e.getDay(),r=(o-s.weekStartsOn+8)%7||7;switch(t){case"e":return String(r);case"ee":return ce(r,2);case"eo":return n.ordinalNumber(r,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,s){const o=e.getDay(),r=(o-s.weekStartsOn+8)%7||7;switch(t){case"c":return String(r);case"cc":return ce(r,t.length);case"co":return n.ordinalNumber(r,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const s=e.getDay(),o=s===0?7:s;switch(t){case"i":return String(o);case"ii":return ce(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(e,t,n){const o=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(e,t,n){const s=e.getHours();let o;switch(s===12?o=en.noon:s===0?o=en.midnight:o=s/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const s=e.getHours();let o;switch(s>=17?o=en.evening:s>=12?o=en.afternoon:s>=4?o=en.morning:o=en.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let s=e.getHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return Tt.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Tt.H(e,t)},K:function(e,t,n){const s=e.getHours()%12;return t==="Ko"?n.ordinalNumber(s,{unit:"hour"}):ce(s,t.length)},k:function(e,t,n){let s=e.getHours();return s===0&&(s=24),t==="ko"?n.ordinalNumber(s,{unit:"hour"}):ce(s,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Tt.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Tt.s(e,t)},S:function(e,t){return Tt.S(e,t)},X:function(e,t,n){const s=e.getTimezoneOffset();if(s===0)return"Z";switch(t){case"X":return Mr(s);case"XXXX":case"XX":return Kt(s);case"XXXXX":case"XXX":default:return Kt(s,":")}},x:function(e,t,n){const s=e.getTimezoneOffset();switch(t){case"x":return Mr(s);case"xxxx":case"xx":return Kt(s);case"xxxxx":case"xxx":default:return Kt(s,":")}},O:function(e,t,n){const s=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+Tr(s,":");case"OOOO":default:return"GMT"+Kt(s,":")}},z:function(e,t,n){const s=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+Tr(s,":");case"zzzz":default:return"GMT"+Kt(s,":")}},t:function(e,t,n){const s=Math.trunc(+e/1e3);return ce(s,t.length)},T:function(e,t,n){return ce(+e,t.length)}};function Tr(e,t=""){const n=e>0?"-":"+",s=Math.abs(e),o=Math.trunc(s/60),r=s%60;return r===0?n+String(o):n+String(o)+t+ce(r,2)}function Mr(e,t){return e%60===0?(e>0?"-":"+")+ce(Math.abs(e)/60,2):Kt(e,t)}function Kt(e,t=""){const n=e>0?"-":"+",s=Math.abs(e),o=ce(Math.trunc(s/60),2),r=ce(s%60,2);return n+o+t+r}const Dr=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},nl=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Hf=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],s=n[1],o=n[2];if(!o)return Dr(e,t);let r;switch(s){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;case"PPPP":default:r=t.dateTime({width:"full"});break}return r.replace("{{date}}",Dr(s,t)).replace("{{time}}",nl(o,t))},qf={p:nl,P:Hf},Vf=/^D+$/,Uf=/^Y+$/,Yf=["D","DD","YY","YYYY"];function Bf(e){return Vf.test(e)}function Kf(e){return Uf.test(e)}function Gf(e,t,n){const s=Xf(e,t,n);if(console.warn(s),Yf.includes(e))throw new RangeError(s)}function Xf(e,t,n){const s=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${s} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const Qf=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,zf=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Zf=/^'([^]*?)'?$/,ed=/''/g,td=/[a-zA-Z]/;function nd(e,t,n){var f,m,p,g;const s=Bn(),o=s.locale??el,r=s.firstWeekContainsDate??((m=(f=s.locale)==null?void 0:f.options)==null?void 0:m.firstWeekContainsDate)??1,i=s.weekStartsOn??((g=(p=s.locale)==null?void 0:p.options)==null?void 0:g.weekStartsOn)??0,l=Ce(e,n==null?void 0:n.in);if(!Gc(l))throw new RangeError("Invalid time value");let a=t.match(zf).map(v=>{const $=v[0];if($==="p"||$==="P"){const P=qf[$];return P(v,o.formatLong)}return v}).join("").match(Qf).map(v=>{if(v==="''")return{isToken:!1,value:"'"};const $=v[0];if($==="'")return{isToken:!1,value:sd(v)};if(jr[$])return{isToken:!0,value:v};if($.match(td))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");return{isToken:!1,value:v}});o.localize.preprocessor&&(a=o.localize.preprocessor(l,a));const c={firstWeekContainsDate:r,weekStartsOn:i,locale:o};return a.map(v=>{if(!v.isToken)return v.value;const $=v.value;(Kf($)||Bf($))&&Gf($,t,String(e));const P=jr[$[0]];return P(l,$,o.localize,c)}).join("")}function sd(e){const t=e.match(Zf);return t?t[1].replace(ed,"'"):e}function od(e,t,n){const s=Bn(),o=(n==null?void 0:n.locale)??s.locale??el,r=2520,i=ds(e,t);if(isNaN(i))throw new RangeError("Invalid time value");const l=Object.assign({},n,{addSuffix:n==null?void 0:n.addSuffix,comparison:i}),[a,c]=Es(n==null?void 0:n.in,...i>0?[t,e]:[e,t]),f=sf(c,a),m=(xs(c)-xs(a))/1e3,p=Math.round((f-m)/60);let g;if(p<2)return n!=null&&n.includeSeconds?f<5?o.formatDistance("lessThanXSeconds",5,l):f<10?o.formatDistance("lessThanXSeconds",10,l):f<20?o.formatDistance("lessThanXSeconds",20,l):f<40?o.formatDistance("halfAMinute",0,l):f<60?o.formatDistance("lessThanXMinutes",1,l):o.formatDistance("xMinutes",1,l):p===0?o.formatDistance("lessThanXMinutes",1,l):o.formatDistance("xMinutes",p,l);if(p<45)return o.formatDistance("xMinutes",p,l);if(p<90)return o.formatDistance("aboutXHours",1,l);if(p<$r){const v=Math.round(p/60);return o.formatDistance("aboutXHours",v,l)}else{if(p<r)return o.formatDistance("xDays",1,l);if(p<Zn){const v=Math.round(p/$r);return o.formatDistance("xDays",v,l)}else if(p<Zn*2)return g=Math.round(p/Zn),o.formatDistance("aboutXMonths",g,l)}if(g=nf(c,a),g<12){const v=Math.round(p/Zn);return o.formatDistance("xMonths",v,l)}else{const v=g%12,$=Math.trunc(g/12);return v<3?o.formatDistance("aboutXYears",$,l):v<9?o.formatDistance("overXYears",$,l):o.formatDistance("almostXYears",$+1,l)}}function rd(e,t){return od(e,Bc(e),t)}function Po(e,t){const n=()=>ut(t==null?void 0:t.in,NaN),o=ud(e);let r;if(o.date){const c=cd(o.date,2);r=fd(c.restDateString,c.year)}if(!r||isNaN(+r))return n();const i=+r;let l=0,a;if(o.time&&(l=dd(o.time),isNaN(l)))return n();if(o.timezone){if(a=hd(o.timezone),isNaN(a))return n()}else{const c=new Date(i+l),f=Ce(0,t==null?void 0:t.in);return f.setFullYear(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),f.setHours(c.getUTCHours(),c.getUTCMinutes(),c.getUTCSeconds(),c.getUTCMilliseconds()),f}return Ce(i+l+a,t==null?void 0:t.in)}const es={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},id=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,ld=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,ad=/^([+-])(\d{2})(?::?(\d{2}))?$/;function ud(e){const t={},n=e.split(es.dateTimeDelimiter);let s;if(n.length>2)return t;if(/:/.test(n[0])?s=n[0]:(t.date=n[0],s=n[1],es.timeZoneDelimiter.test(t.date)&&(t.date=e.split(es.timeZoneDelimiter)[0],s=e.substr(t.date.length,e.length))),s){const o=es.timezone.exec(s);o?(t.time=s.replace(o[1],""),t.timezone=o[1]):t.time=s}return t}function cd(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),s=e.match(n);if(!s)return{year:NaN,restDateString:""};const o=s[1]?parseInt(s[1]):null,r=s[2]?parseInt(s[2]):null;return{year:r===null?o:r*100,restDateString:e.slice((s[1]||s[2]).length)}}function fd(e,t){if(t===null)return new Date(NaN);const n=e.match(id);if(!n)return new Date(NaN);const s=!!n[4],o=Cn(n[1]),r=Cn(n[2])-1,i=Cn(n[3]),l=Cn(n[4]),a=Cn(n[5])-1;if(s)return vd(t,l,a)?md(t,l,a):new Date(NaN);{const c=new Date(0);return!pd(t,r,i)||!bd(t,o)?new Date(NaN):(c.setUTCFullYear(t,r,Math.max(o,i)),c)}}function Cn(e){return e?parseInt(e):1}function dd(e){const t=e.match(ld);if(!t)return NaN;const n=Ys(t[1]),s=Ys(t[2]),o=Ys(t[3]);return yd(n,s,o)?n*zi+s*Qi+o*1e3:NaN}function Ys(e){return e&&parseFloat(e.replace(",","."))||0}function hd(e){if(e==="Z")return 0;const t=e.match(ad);if(!t)return 0;const n=t[1]==="+"?-1:1,s=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return _d(s,o)?n*(s*zi+o*Qi):NaN}function md(e,t,n){const s=new Date(0);s.setUTCFullYear(e,0,4);const o=s.getUTCDay()||7,r=(t-1)*7+n+1-o;return s.setUTCDate(s.getUTCDate()+r),s}const gd=[31,null,31,30,31,30,31,31,30,31,30,31];function sl(e){return e%400===0||e%4===0&&e%100!==0}function pd(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(gd[t]||(sl(e)?29:28))}function bd(e,t){return t>=1&&t<=(sl(e)?366:365)}function vd(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function yd(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function _d(e,t){return t>=0&&t<=59}function jn(e){if(!e)return"";const t=typeof e=="string"?Po(e):e;return isNaN(t.getTime())?"":rd(t,{addSuffix:!0})}function $n(e){if(!e)return"";const t=typeof e=="string"?Po(e):e;return isNaN(t.getTime())?"":nd(t,"dd-MM-yyyy HH:mm:ss")}function ts(e){if(!e)return"";const t=typeof e=="string"?Po(e):e;return isNaN(t.getTime())?"":t.toISOString()}const wd={class:"d-flex justify-content-end mb-2 flex-wrap gap-2"},xd={class:"me-2 align-self-center"},Cd=["disabled"],$d=["disabled"],kd=["disabled"],Sd=["disabled"],jd=["disabled"],Td={class:"table-responsive"},Md={class:"table table-striped"},Dd={class:"table-dark"},Pd=["checked"],Od={key:0,class:"sort-icon"},Ed={key:0,class:"sort-icon"},Nd={key:0,class:"sort-icon"},Ad={key:0,class:"sort-icon"},Rd={key:0},Fd={key:1},Id={colspan:"8",scope:"row"},Ld={class:"text-center py-5 text-muted"},Jd={key:0},Wd={key:1},Hd={key:2},qd={width:"10",class:"mult-select"},Vd=["checked","onChange"],Ud={scope:"row",class:"job-name"},Yd={key:0,class:"pill-own bg-secondary pill-without-icon"},Bd={key:1,class:"pill-own bg-info"},Kd={key:2,class:"pill-own bg-info pill-without-icon"},Gd={key:3,class:"pill-own bg-success pill-without-icon"},Xd={key:4,class:"pill-own bg-primary pill-without-icon"},Qd={key:5,class:"pill-own bg-danger pill-without-icon"},zd=["title"],Zd={key:7,class:"pill-own bg-warning pill-without-icon"},eh={key:8,class:"progress mt-1",style:{height:"4px","min-width":"60px"}},th=["aria-valuenow"],nh={key:9,class:"fail-reason-text mt-1"},sh=["onClick"],oh=["title","onClick"],rh=["title","onClick"],ih=["title","onClick"],lh=["title","onClick"],ah={class:"job-actions"},uh=["onClick"],ch=["onClick"],fh=["onClick"],dh=["onClick"],hh=["onClick"],mh=["onClick"],gh={class:"row mt-3"},ph={class:"col d-flex justify-content-center"},bh={"aria-label":"Page navigation"},vh={class:"pagination"},yh={class:"row"},_h={class:"col d-flex justify-content-center"},wh=ct({__name:"JobList",props:{jobs:{},pageSize:{},pageNumber:{},totalPages:{},loading:{type:Boolean},filterDisplay:{}},emits:["show-job-detail","confirm-delete","confirm-requeue","confirm-retry","confirm-pause","confirm-resume","confirm-delete-multi","confirm-requeue-multi","confirm-retry-multi","confirm-pause-multi","confirm-resume-multi","page-next","page-prev"],setup(e,{emit:t}){const n=e,s=t,o=H([]),r=H("name"),i=H("asc");an(()=>n.jobs,()=>{o.value=[]});const l=Ze(()=>{const M=[...n.jobs].sort((b,y)=>{let A,U;r.value==="name"?(A=(b.job.name||"").toLowerCase(),U=(y.job.name||"").toLowerCase()):(A=b.job[r.value]?new Date(b.job[r.value]).getTime():0,U=y.job[r.value]?new Date(y.job[r.value]).getTime():0);const Z=i.value==="desc"?-1:1;return A<U?-1*Z:A>U?1*Z:0});return[...M.filter(b=>b.repeating),...M.filter(b=>!b.repeating)]});function a(M){M===r.value?i.value=i.value==="asc"?"desc":"asc":(r.value=M,i.value="asc")}function c(M){const b=M.job._id,y=o.value.indexOf(b);y===-1?o.value.push(b):o.value.splice(y,1)}function f(){o.value.length===n.jobs.length?o.value=[]:o.value=n.jobs.map(M=>M.job._id)}function m(M){return o.value.includes(M.job._id)}function p(){s("confirm-requeue-multi",[...o.value])}const g=Ze(()=>o.value.filter(M=>{const b=n.jobs.find(y=>y.job._id===M);return b&&b.failed&&!b.job.nextRunAt}));function v(){s("confirm-retry-multi",[...g.value])}function $(){s("confirm-delete-multi",[...o.value])}function P(){s("confirm-pause-multi",[...o.value])}function C(){s("confirm-resume-multi",[...o.value])}function N(M){return r.value!==M?"":i.value==="asc"?"▲":"▼"}return(M,b)=>(w(),x("div",null,[u("div",wd,[u("span",xd,D(o.value.length)+" jobs selected",1),u("button",{disabled:!o.value.length,class:"btn btn-primary",title:"Requeue list of selected jobs (creates new jobs)",onClick:p}," Multiple Requeue ",8,Cd),u("button",{disabled:!g.value.length,class:"btn btn-outline-primary",title:"Retry list of selected failed jobs (reruns existing jobs)",onClick:v}," Multiple Retry ",8,$d),u("button",{disabled:!o.value.length,class:"btn btn-secondary",title:"Pause list of selected jobs",onClick:P}," Multiple Pause ",8,kd),u("button",{disabled:!o.value.length,class:"btn btn-success",title:"Resume list of selected jobs",onClick:C}," Multiple Resume ",8,Sd),u("button",{disabled:!o.value.length,class:"btn btn-danger",title:"Delete list of selected jobs",onClick:$}," Multiple Delete ",8,jd)]),u("div",Td,[u("table",Md,[u("thead",Dd,[u("tr",null,[u("th",{scope:"col",onClick:f},[u("input",{type:"checkbox",checked:o.value.length===e.jobs.length&&e.jobs.length>0},null,8,Pd)]),b[10]||(b[10]=u("th",{scope:"col"},"Status",-1)),u("th",{scope:"col",onClick:b[0]||(b[0]=y=>a("name"))},[b[6]||(b[6]=Be(" Name ",-1)),r.value==="name"?(w(),x("span",Od,D(N("name")),1)):I("",!0)]),u("th",{scope:"col",onClick:b[1]||(b[1]=y=>a("lastRunAt"))},[b[7]||(b[7]=Be(" Last run started ",-1)),r.value==="lastRunAt"?(w(),x("span",Ed,D(N("lastRunAt")),1)):I("",!0)]),u("th",{scope:"col",onClick:b[2]||(b[2]=y=>a("nextRunAt"))},[b[8]||(b[8]=Be(" Next run starts ",-1)),r.value==="nextRunAt"?(w(),x("span",Nd,D(N("nextRunAt")),1)):I("",!0)]),u("th",{scope:"col",onClick:b[3]||(b[3]=y=>a("lastFinishedAt"))},[b[9]||(b[9]=Be(" Last finished ",-1)),r.value==="lastFinishedAt"?(w(),x("span",Ad,D(N("lastFinishedAt")),1)):I("",!0)]),b[11]||(b[11]=u("th",{scope:"col"},"Locked",-1)),b[12]||(b[12]=u("th",{scope:"col"},"Actions",-1))])]),e.loading?(w(),x("tbody",Rd,[...b[13]||(b[13]=[u("tr",null,[u("td",{colspan:"8",scope:"row"},[u("div",{class:"col-12 my-5 ms-auto text-center"},[u("div",{class:"text-center my-5 py-5"},[u("div",{class:"spinner-border",role:"status"},[u("span",{class:"visually-hidden"},"Loading...")]),u("div",null,[u("span",null,"Loading Jobs...")])])])])],-1)])])):e.jobs.length===0?(w(),x("tbody",Fd,[u("tr",null,[u("td",Id,[u("div",Ld,[b[16]||(b[16]=u("div",{class:"mb-2",style:{"font-size":"2rem"}},"🔍",-1)),e.filterDisplay?(w(),x("div",Jd,[b[14]||(b[14]=u("strong",null,"No jobs found",-1)),Be(' for filter "'+D(e.filterDisplay)+'" ',1)])):(w(),x("div",Wd,[...b[15]||(b[15]=[u("strong",null,"No jobs found",-1)])])),b[17]||(b[17]=u("small",{class:"d-block mt-2"},"Try adjusting your filter criteria",-1))])])])])):(w(),x("tbody",Hd,[(w(!0),x($e,null,Lt(l.value,y=>(w(),x("tr",{key:y.job._id},[u("td",qd,[u("input",{type:"checkbox",checked:m(y),onChange:A=>c(y)},null,40,Vd)]),u("td",Ud,[y.paused?(w(),x("span",Yd,[...b[18]||(b[18]=[u("span",null,"Paused",-1)])])):I("",!0),y.repeating?(w(),x("span",Bd,[u("span",null,D(y.job.repeatInterval),1)])):I("",!0),y.scheduled?(w(),x("span",Kd,[...b[19]||(b[19]=[u("span",null,"Scheduled",-1)])])):I("",!0),y.completed?(w(),x("span",Gd,[...b[20]||(b[20]=[u("span",null,"Completed",-1)])])):I("",!0),y.queued?(w(),x("span",Xd,[...b[21]||(b[21]=[u("span",null,"Queued",-1)])])):I("",!0),y.failed?(w(),x("span",Qd,[...b[22]||(b[22]=[u("span",null,"Failed",-1)])])):I("",!0),y.job.failCount?(w(),x("span",{key:6,class:"pill-own bg-danger pill-without-icon",title:y.job.failReason},[u("span",null,D(y.job.failCount)+" "+D(y.job.failCount===1?"error":"errors"),1)],8,zd)):I("",!0),y.running?(w(),x("span",Zd,[...b[23]||(b[23]=[u("span",null,"Running",-1)])])):I("",!0),y.running&&y.job.progress!=null?(w(),x("div",eh,[u("div",{class:"progress-bar progress-bar-striped progress-bar-animated",role:"progressbar",style:be({width:y.job.progress+"%"}),"aria-valuenow":y.job.progress,"aria-valuemin":"0","aria-valuemax":"100"},null,12,th)])):I("",!0),y.failed&&y.job.failReason?(w(),x("div",nh,D(y.job.failReason),1)):I("",!0)]),u("td",{class:"job-name",onClick:A=>c(y)},D(y.job.name),9,sh),u("td",{class:"job-lastRunAt",title:G(ts)(y.job.lastRunAt),onClick:A=>c(y)},D(G(jn)(y.job.lastRunAt)),9,oh),u("td",{class:"job-nextRunAt",title:G(ts)(y.job.nextRunAt),onClick:A=>c(y)},D(G(jn)(y.job.nextRunAt)),9,rh),u("td",{class:"job-finishedAt",title:G(ts)(y.job.lastFinishedAt),onClick:A=>c(y)},D(G(jn)(y.job.lastFinishedAt)),9,ih),u("td",{class:"job-lockedAt",title:G(ts)(y.job.lockedAt),onClick:A=>c(y)},D(G(jn)(y.job.lockedAt)),9,lh),u("td",ah,[u("span",{class:"action-btn text-primary",title:"Requeue (create new job)",onClick:A=>M.$emit("confirm-requeue",y)},"↻",8,uh),y.failed&&!y.job.nextRunAt?(w(),x("span",{key:0,class:"action-btn text-info",title:"Retry (rerun existing job)",onClick:A=>M.$emit("confirm-retry",y)},"↺",8,ch)):I("",!0),y.paused?(w(),x("span",{key:1,class:"action-btn text-success",title:"Resume job",onClick:A=>M.$emit("confirm-resume",y)},"▶",8,fh)):(w(),x("span",{key:2,class:"action-btn text-secondary",title:"Pause job",onClick:A=>M.$emit("confirm-pause",y)},"⏸",8,dh)),u("span",{class:"action-btn text-success",title:"Job Data",onClick:A=>M.$emit("show-job-detail",y)},"👁",8,hh),u("span",{class:"action-btn text-danger",title:"Delete permanently",onClick:A=>M.$emit("confirm-delete",y)},"🗑",8,mh)])]))),128))]))])]),u("div",gh,[u("div",ph,[u("nav",bh,[u("ul",vh,[u("li",{class:fe(["page-item",{disabled:e.pageNumber===1}])},[u("a",{class:"page-link",href:"#",onClick:b[4]||(b[4]=ke(y=>M.$emit("page-prev"),["prevent"]))},"Previous")],2),u("li",{class:fe(["page-item",{disabled:e.pageNumber>=e.totalPages}])},[u("a",{class:"page-link",href:"#",onClick:b[5]||(b[5]=ke(y=>M.$emit("page-next"),["prevent"]))},"Next")],2)])])])]),u("div",yh,[u("div",_h,"Page: "+D(e.pageNumber)+" / "+D(e.totalPages),1)])]))}}),xh={class:"job-logs"},Ch={key:0,class:"logs-disabled"},$h={key:1},kh={class:"logs-filters"},Sh={class:"text-muted small"},jh={key:0,class:"text-center py-3"},Th={key:1,class:"text-center py-3"},Mh={key:2,class:"logs-table-wrapper"},Dh={class:"logs-table"},Ph={key:0},Oh=["title"],Eh={key:0,class:"col-job"},Nh={class:"col-message"},Ah={key:0,class:"error-detail"},Rh={class:"col-duration"},Fh={key:0},Ih={key:3,class:"logs-pagination"},Lh=["disabled"],Jh={class:"text-muted small"},Wh=["disabled"],Hh=ct({__name:"JobLogs",props:{jobId:{},jobName:{}},setup(e){const t=e,n=H([]),s=H(0),o=H(null),r=H(!1),i=H(0),l=H(50),a=H(""),c=H(""),f=Ze(()=>Math.ceil(s.value/l.value)||1),m=Ze(()=>Math.floor(i.value/l.value)+1);async function p(){r.value=!0;try{const N={limit:l.value,offset:i.value,sort:"desc"};t.jobId&&(N.jobId=t.jobId),t.jobName&&(N.jobName=t.jobName),a.value&&(N.level=a.value),c.value&&(N.event=c.value);const M=await Yu(N);n.value=M.entries,s.value=M.total,o.value=M.loggingEnabled}catch{n.value=[],s.value=0}finally{r.value=!1}}function g(){m.value<f.value&&(i.value+=l.value,p())}function v(){i.value>0&&(i.value=Math.max(0,i.value-l.value),p())}function $(){i.value=0,p()}function P(N){switch(N){case"error":return"badge-error";case"warn":return"badge-warn";case"info":return"badge-info";case"debug":return"badge-debug";default:return""}}function C(N){switch(N){case"start":return"badge-event-start";case"success":return"badge-event-success";case"complete":return"badge-event-complete";case"fail":return"badge-event-fail";case"retry":return"badge-event-retry";case"retry:exhausted":return"badge-event-fail";case"locked":return"badge-event-locked";case"expired":return"badge-event-warn";default:return""}}return an([()=>t.jobId,()=>t.jobName],()=>{i.value=0,p()}),$t(()=>{p()}),(N,M)=>(w(),x("div",xh,[o.value===!1?(w(),x("div",Ch,[...M[2]||(M[2]=[u("p",null,"Logging is not enabled.",-1),u("p",{class:"text-muted small"},[Be(" Enable persistent logging by setting "),u("code",null,"logging: true"),Be(" in your Agenda config. ")],-1)])])):(w(),x("div",$h,[u("div",kh,[Ye(u("select",{"onUpdate:modelValue":M[0]||(M[0]=b=>a.value=b),class:"form-select form-select-sm",onChange:$},[...M[3]||(M[3]=[zo('<option value="" data-v-711d12b3>All Levels</option><option value="info" data-v-711d12b3>Info</option><option value="warn" data-v-711d12b3>Warn</option><option value="error" data-v-711d12b3>Error</option><option value="debug" data-v-711d12b3>Debug</option>',5)])],544),[[fo,a.value]]),Ye(u("select",{"onUpdate:modelValue":M[1]||(M[1]=b=>c.value=b),class:"form-select form-select-sm",onChange:$},[...M[4]||(M[4]=[zo('<option value="" data-v-711d12b3>All Events</option><option value="start" data-v-711d12b3>Start</option><option value="success" data-v-711d12b3>Success</option><option value="fail" data-v-711d12b3>Fail</option><option value="complete" data-v-711d12b3>Complete</option><option value="retry" data-v-711d12b3>Retry</option><option value="retry:exhausted" data-v-711d12b3>Retry Exhausted</option><option value="locked" data-v-711d12b3>Locked</option><option value="expired" data-v-711d12b3>Expired</option>',9)])],544),[[fo,c.value]]),u("span",Sh,D(s.value)+" entries",1)]),r.value?(w(),x("div",jh,[...M[5]||(M[5]=[u("span",{class:"text-muted"},"Loading logs...",-1)])])):n.value.length===0?(w(),x("div",Th,[...M[6]||(M[6]=[u("span",{class:"text-muted"},"No log entries found.",-1)])])):(w(),x("div",Mh,[u("table",Dh,[u("thead",null,[u("tr",null,[M[7]||(M[7]=u("th",null,"Time",-1)),M[8]||(M[8]=u("th",null,"Level",-1)),M[9]||(M[9]=u("th",null,"Event",-1)),e.jobName?I("",!0):(w(),x("th",Ph,"Job")),M[10]||(M[10]=u("th",null,"Message",-1)),M[11]||(M[11]=u("th",null,"Duration",-1))])]),u("tbody",null,[(w(!0),x($e,null,Lt(n.value,b=>(w(),x("tr",{key:b._id,class:fe({"row-error":b.level==="error","row-warn":b.level==="warn"})},[u("td",{class:"col-time",title:b.timestamp},D(G(jn)(b.timestamp)),9,Oh),u("td",null,[u("span",{class:fe(["badge",P(b.level)])},D(b.level),3)]),u("td",null,[u("span",{class:fe(["badge",C(b.event)])},D(b.event),3)]),e.jobName?I("",!0):(w(),x("td",Eh,D(b.jobName),1)),u("td",Nh,[Be(D(b.message)+" ",1),b.error?(w(),x("div",Ah,D(b.error),1)):I("",!0)]),u("td",Rh,[b.duration!=null?(w(),x("span",Fh,D(b.duration)+"ms",1)):I("",!0)])],2))),128))])])])),f.value>1?(w(),x("div",Ih,[u("button",{class:"btn btn-sm btn-outline",disabled:m.value<=1,onClick:v},"Prev",8,Lh),u("span",Jh,"Page "+D(m.value)+" of "+D(f.value),1),u("button",{class:"btn btn-sm btn-outline",disabled:m.value>=f.value,onClick:g},"Next",8,Wh)])):I("",!0)]))]))}}),Oo=gn(Hh,[["__scopeId","data-v-711d12b3"]]),qh={class:"modal-header"},Vh={class:"modal-title"},Uh={class:"tab-nav"},Yh={class:"modal-body"},Bh={key:0},Kh={key:0,class:"alert alert-secondary mb-3"},Gh={class:"mb-3"},Xh={class:"row"},Qh={class:"col-6"},zh={class:"col-6"},Zh={class:"mb-3"},em={class:"row"},tm={class:"col-6"},nm={class:"col-6"},sm={key:1,class:"mb-3"},om={key:0,class:"text-muted ms-2"},rm={class:"mb-3"},im={class:"row"},lm={class:"col-6"},am={class:"col-6"},um={key:0,class:"progress-container"},cm={class:"progress",style:{height:"20px"}},fm=["aria-valuenow"],dm={key:1},hm={class:"mb-3"},mm={class:"json-editor"},gm={key:2,class:"alert alert-danger mb-0"},pm={class:"row"},bm={class:"col-6"},vm={class:"col-6"},ym={key:0},_m={class:"fail-reason-detail mb-0"},wm={key:1},xm={key:2},Cm={class:"json-editor json-editor-large"},$m={class:"modal-footer"},km={class:"text-muted me-auto"},Sm=ct({__name:"JobDetail",props:{job:{}},emits:["close"],setup(e,{emit:t}){const n=e,s=t;function o(a){a.key==="Escape"&&(a.preventDefault(),s("close"))}$t(()=>{document.addEventListener("keydown",o)}),Jt(()=>{document.removeEventListener("keydown",o)});const r=H("details"),i=Ze(()=>{try{return JSON.stringify(n.job.job.data,null,2)}catch{return String(n.job.job.data)}}),l=Ze(()=>{try{return JSON.stringify(n.job,null,2)}catch{return String(n.job)}});return(a,c)=>(w(),x("div",null,[u("div",qh,[u("h5",Vh,D(e.job.job.name),1),u("button",{type:"button",class:"btn-close",onClick:c[0]||(c[0]=f=>a.$emit("close"))})]),u("div",Uh,[u("button",{class:fe(["tab-btn",{active:r.value==="details"}]),onClick:c[1]||(c[1]=f=>r.value="details")}," Details ",2),u("button",{class:fe(["tab-btn",{active:r.value==="logs"}]),onClick:c[2]||(c[2]=f=>r.value="logs")}," Logs ",2),u("button",{class:fe(["tab-btn",{active:r.value==="raw"}]),onClick:c[3]||(c[3]=f=>r.value="raw")}," Raw Data ",2)]),u("div",Yh,[r.value==="details"?(w(),x("div",Bh,[e.job.paused?(w(),x("div",Kh,[...c[5]||(c[5]=[u("strong",null,"Status: Paused",-1),u("div",{class:"small"},"This job is paused and will not run until resumed.",-1)])])):I("",!0),u("div",Gh,[u("div",Xh,[u("div",Qh,[c[6]||(c[6]=u("small",{class:"text-muted d-block"},"Next run",-1)),u("strong",null,D(G($n)(e.job.job.nextRunAt)||"Not scheduled"),1)]),u("div",zh,[c[7]||(c[7]=u("small",{class:"text-muted d-block"},"Last run",-1)),u("strong",null,D(G($n)(e.job.job.lastRunAt)||"Never"),1)])])]),u("div",Zh,[u("div",em,[u("div",tm,[c[8]||(c[8]=u("small",{class:"text-muted d-block"},"Last finished",-1)),u("strong",null,D(G($n)(e.job.job.lastFinishedAt)||"Never"),1)]),u("div",nm,[c[9]||(c[9]=u("small",{class:"text-muted d-block"},"Locked at",-1)),u("strong",null,D(G($n)(e.job.job.lockedAt)||"Not locked"),1)])])]),e.job.job.repeatInterval?(w(),x("div",sm,[c[10]||(c[10]=u("small",{class:"text-muted d-block"},"Repeat Interval",-1)),u("strong",null,D(e.job.job.repeatInterval),1),e.job.job.repeatTimezone?(w(),x("span",om,"("+D(e.job.job.repeatTimezone)+")",1)):I("",!0)])):I("",!0),u("div",rm,[u("div",im,[u("div",lm,[c[11]||(c[11]=u("small",{class:"text-muted d-block"},"Priority",-1)),u("strong",null,D(e.job.job.priority??0),1)]),u("div",am,[c[12]||(c[12]=u("small",{class:"text-muted d-block"},"Progress",-1)),e.job.job.progress!=null?(w(),x("div",um,[u("div",cm,[u("div",{class:fe(["progress-bar",{"progress-bar-striped progress-bar-animated":e.job.running}]),role:"progressbar",style:be({width:e.job.job.progress+"%"}),"aria-valuenow":e.job.job.progress,"aria-valuemin":"0","aria-valuemax":"100"},D(e.job.job.progress)+"% ",15,fm)])])):(w(),x("strong",dm,"Not set"))])])]),u("div",hm,[c[13]||(c[13]=u("small",{class:"text-muted d-block mb-1"},"Job Data",-1)),u("pre",mm,D(i.value),1)]),e.job.failed||e.job.job.failCount?(w(),x("div",gm,[u("div",pm,[u("div",bm,[c[14]||(c[14]=u("small",{class:"d-block"},"Fail Count",-1)),u("strong",null,D(e.job.job.failCount),1)]),u("div",vm,[c[15]||(c[15]=u("small",{class:"d-block"},"Failed At",-1)),u("strong",null,D(G($n)(e.job.job.failedAt)),1)])]),e.job.job.failReason?(w(),x("div",ym,[c[16]||(c[16]=u("hr",{class:"my-2"},null,-1)),c[17]||(c[17]=u("small",{class:"d-block"},"Reason",-1)),u("pre",_m,D(e.job.job.failReason),1)])):I("",!0)])):I("",!0)])):r.value==="logs"?(w(),x("div",wm,[se(Oo,{"job-id":e.job.job._id,"job-name":e.job.job.name},null,8,["job-id","job-name"])])):r.value==="raw"?(w(),x("div",xm,[c[18]||(c[18]=u("small",{class:"text-muted d-block mb-2"},"Complete job object (for debugging)",-1)),u("pre",Cm,D(l.value),1)])):I("",!0)]),u("div",$m,[u("small",km,"ID: "+D(e.job.job._id),1),u("button",{type:"button",class:"btn btn-secondary",onClick:c[4]||(c[4]=f=>a.$emit("close"))},"Close")])]))}}),jm=gn(Sm,[["__scopeId","data-v-e4998249"]]),Tm={class:"modal-body"},Mm={class:"mb-3"},Dm={class:"mb-3"},Pm={class:"mb-3"},Om={class:"mb-3"},Em={key:0,class:"text-danger"},Nm={class:"modal-footer"},Am=["disabled"],Rm=ct({__name:"NewJob",emits:["close","create"],setup(e,{emit:t}){const n=t;function s(p){p.key==="Escape"&&(p.preventDefault(),m())}$t(()=>{document.addEventListener("keydown",s)}),Jt(()=>{document.removeEventListener("keydown",s)});const o=H(""),r=H(""),i=H(""),l=H("{}"),a=H("");function c(){o.value="",r.value="",i.value="",l.value="{}",a.value=""}function f(){let p;try{p=JSON.parse(l.value),a.value=""}catch(g){a.value=g instanceof Error?g.message:"Invalid JSON";return}n("create",o.value,r.value,i.value,p),c()}function m(){c(),n("close")}return(p,g)=>(w(),x("div",null,[u("div",{class:"modal-header"},[g[4]||(g[4]=u("h5",{class:"modal-title"},"Create Job",-1)),u("button",{type:"button",class:"btn-close",onClick:m})]),u("div",Tm,[u("form",{onSubmit:ke(f,["prevent"])},[u("div",Mm,[g[5]||(g[5]=u("label",{for:"jobname",class:"form-label"},[Be("Job Name "),u("span",{class:"text-danger"},"*")],-1)),Ye(u("input",{id:"jobname","onUpdate:modelValue":g[0]||(g[0]=v=>o.value=v),type:"text",class:"form-control",placeholder:"e.g., send-email",required:""},null,512),[[Rt,o.value]])]),u("div",Dm,[g[6]||(g[6]=u("label",{for:"jobSchedule",class:"form-label"},"Schedule (when to run)",-1)),Ye(u("input",{id:"jobSchedule","onUpdate:modelValue":g[1]||(g[1]=v=>r.value=v),type:"text",class:"form-control",placeholder:"e.g., in 5 minutes"},null,512),[[Rt,r.value]]),g[7]||(g[7]=u("small",{class:"text-muted"},'Human interval: "in 5 minutes", "tomorrow at 9am"',-1))]),u("div",Pm,[g[8]||(g[8]=u("label",{for:"jobRepeatEvery",class:"form-label"},"Repeat Every",-1)),Ye(u("input",{id:"jobRepeatEvery","onUpdate:modelValue":g[2]||(g[2]=v=>i.value=v),type:"text",class:"form-control",placeholder:"e.g., 1 hour"},null,512),[[Rt,i.value]]),g[9]||(g[9]=u("small",{class:"text-muted"},'Interval: "1 hour", "5 minutes", or cron: "0 * * * *"',-1))]),u("div",Om,[g[10]||(g[10]=u("label",{for:"jobData",class:"form-label"},"Job Data (JSON)",-1)),Ye(u("textarea",{id:"jobData","onUpdate:modelValue":g[3]||(g[3]=v=>l.value=v),class:"form-control json-textarea",rows:"4",placeholder:'{"key": "value"}'},null,512),[[Rt,l.value]]),a.value?(w(),x("small",Em,D(a.value),1)):I("",!0)])],32)]),u("div",Nm,[u("button",{type:"button",class:"btn btn-secondary",onClick:m},"Cancel"),u("button",{type:"button",class:"btn btn-primary",disabled:!o.value,onClick:f}," Create Job ",8,Am)])]))}}),Fm={class:"modal-header"},Im={class:"modal-title"},Lm=["disabled"],Jm={class:"modal-body"},Wm={class:"mb-3"},Hm={key:0,class:"bg-light rounded p-3 mb-3"},qm={class:"text-muted"},Vm={key:0},Um={key:1},Ym={class:"text-muted d-block mb-1"},Bm={class:"json-editor json-editor-compact"},Km={class:"modal-footer"},Gm=["disabled"],Xm=["disabled"],Qm={key:0,class:"spinner-border spinner-border-sm me-1"},zm=ct({__name:"ConfirmDialog",props:{title:{},message:{},details:{},confirmText:{},confirmClass:{},loading:{type:Boolean}},emits:["confirm","cancel"],setup(e,{emit:t}){const n=e,s=t;function o(l){n.loading||(l.key==="Enter"?(l.preventDefault(),s("confirm")):l.key==="Escape"&&(l.preventDefault(),s("cancel")))}$t(()=>{document.addEventListener("keydown",o)}),Jt(()=>{document.removeEventListener("keydown",o)});const r=Ze(()=>{var l;return((l=n.details)==null?void 0:l.filter(a=>a.type!=="json"))??[]}),i=Ze(()=>{var l;return((l=n.details)==null?void 0:l.filter(a=>a.type==="json"))??[]});return(l,a)=>(w(),x("div",null,[u("div",Fm,[u("h5",Im,D(e.title),1),u("button",{type:"button",class:"btn-close",disabled:e.loading,onClick:a[0]||(a[0]=c=>l.$emit("cancel"))},null,8,Lm)]),u("div",Jm,[u("p",Wm,D(e.message),1),r.value.length?(w(),x("div",Hm,[(w(!0),x($e,null,Lt(r.value,c=>(w(),x("div",{key:c.label,class:"d-flex justify-content-between mb-1"},[u("span",qm,D(c.label)+":",1),c.type==="code"?(w(),x("code",Vm,D(c.value),1)):(w(),x("span",Um,D(c.value),1))]))),128))])):I("",!0),(w(!0),x($e,null,Lt(i.value,c=>(w(),x("div",{key:c.label},[u("small",Ym,D(c.label),1),u("pre",Bm,D(c.value),1)]))),128))]),u("div",Km,[u("button",{type:"button",class:"btn btn-secondary",disabled:e.loading,onClick:a[1]||(a[1]=c=>l.$emit("cancel"))},"Cancel",8,Gm),u("button",{type:"button",class:fe(["btn",e.confirmClass||"btn-primary"]),disabled:e.loading,onClick:a[2]||(a[2]=c=>l.$emit("confirm"))},[e.loading?(w(),x("span",Qm)):I("",!0),Be(" "+D(e.confirmText||"Confirm"),1)],10,Xm)])]))}}),st=gn(zm,[["__scopeId","data-v-6fa5a122"]]),ns=H([]);let Zm=0;function ol(){function e(r,i="success",l=3e3){const a=Zm++,c={id:a,message:r,type:i};ns.value.push(c),setTimeout(()=>{t(a)},l)}function t(r){const i=ns.value.findIndex(l=>l.id===r);i!==-1&&ns.value.splice(i,1)}function n(r){e(r,"success")}function s(r){e(r,"error")}function o(r){e(r,"info")}return{toasts:ns,show:e,remove:t,success:n,error:s,info:o}}const eg={class:"toast-container"},tg={class:"flex-grow-1"},ng=["onClick"],sg=ct({__name:"Toast",setup(e){const{toasts:t,remove:n}=ol();return(s,o)=>(w(),vs(hi,{to:"body"},[u("div",eg,[se(ku,{name:"toast"},{default:ai(()=>[(w(!0),x($e,null,Lt(G(t),r=>(w(),x("div",{key:r.id,class:fe(["toast-item",{"toast-success":r.type==="success","toast-error":r.type==="error","toast-info":r.type==="info"}])},[u("span",tg,D(r.message),1),u("button",{type:"button",class:"btn-close btn-close-sm",onClick:i=>G(n)(r.id)},null,8,ng)],2))),128))]),_:1})])]))}}),og=gn(sg,[["__scopeId","data-v-f853b4ff"]]),rg={class:"stats-panel"},ig={key:0,class:"stats-loading-full"},lg={key:1,class:"alert alert-danger"},ag={key:2,class:"stats-content"},ug={class:"stats-section"},cg={class:"stats-grid"},fg={class:"stat-item"},dg={class:"stat-value"},hg={class:"stat-item"},mg={class:"stat-value"},gg={class:"stat-item"},pg={class:"stat-item"},bg={class:"stat-value"},vg={class:"stat-item"},yg={class:"stat-value"},_g={class:"stat-item"},wg={class:"stat-value"},xg={class:"stat-item"},Cg={class:"stat-value"},$g={class:"stat-item"},kg={class:"stat-value"},Sg={class:"stats-section"},jg={class:"stats-grid"},Tg={class:"stat-item"},Mg={class:"stat-value stat-running"},Dg={class:"stat-item"},Pg={class:"stat-value stat-queued"},Og={class:"stat-item"},Eg={class:"stat-value stat-locked"},Ng={class:"stat-item"},Ag={class:"stat-value"},Rg={key:0,class:"stats-section"},Fg={class:"job-status-list"},Ig={class:"job-status-name"},Lg={class:"job-status-badges"},Jg={class:"stat-badge running"},Wg={class:"stat-badge locked"},Hg={key:0,class:"stat-badge config"},qg={class:"stats-section"},Vg=ct({__name:"StatsPanel",setup(e){const t=H(null),n=H(!1),s=H(null);let o=null;async function r(){n.value=!0,s.value=null;try{t.value=await Gi(!0)}catch(l){s.value="Failed to load stats",console.error("Failed to fetch stats:",l)}finally{n.value=!1}}function i(l){return typeof l=="number"?`${l}ms`:l}return $t(()=>{r(),o=setInterval(r,5e3)}),Jt(()=>{o&&clearInterval(o)}),(l,a)=>{var c,f,m;return w(),x("div",rg,[n.value&&!t.value?(w(),x("div",ig,[...a[0]||(a[0]=[u("div",{class:"spinner-border"},null,-1),u("span",null,"Loading stats...",-1)])])):s.value?(w(),x("div",lg,D(s.value),1)):t.value?(w(),x("div",ag,[u("div",ug,[a[9]||(a[9]=u("div",{class:"stats-section-title"},"Configuration",-1)),u("div",cg,[u("div",fg,[a[1]||(a[1]=u("span",{class:"stat-label"},"Version",-1)),u("span",dg,D(t.value.version),1)]),u("div",hg,[a[2]||(a[2]=u("span",{class:"stat-label"},"Backend",-1)),u("span",mg,D(((c=t.value.backend)==null?void 0:c.name)||"unknown"),1)]),u("div",gg,[a[3]||(a[3]=u("span",{class:"stat-label"},"Notifications",-1)),u("span",{class:fe(["stat-value",{"stat-enabled":(f=t.value.backend)==null?void 0:f.hasNotificationChannel}])},D((m=t.value.backend)!=null&&m.hasNotificationChannel?"enabled":"polling"),3)]),u("div",pg,[a[4]||(a[4]=u("span",{class:"stat-label"},"Queue Name",-1)),u("span",bg,D(t.value.queueName||"default"),1)]),u("div",vg,[a[5]||(a[5]=u("span",{class:"stat-label"},"Process Every",-1)),u("span",yg,D(i(t.value.config.processEvery)),1)]),u("div",_g,[a[6]||(a[6]=u("span",{class:"stat-label"},"Max Concurrency",-1)),u("span",wg,D(t.value.config.maxConcurrency),1)]),u("div",xg,[a[7]||(a[7]=u("span",{class:"stat-label"},"Lock Limit",-1)),u("span",Cg,D(t.value.config.totalLockLimit||"unlimited"),1)]),u("div",$g,[a[8]||(a[8]=u("span",{class:"stat-label"},"Jobs Ready to Run",-1)),u("span",kg,D(t.value.totalQueueSizeDB),1)])])]),u("div",Sg,[a[14]||(a[14]=u("div",{class:"stats-section-title"},"Live Status",-1)),u("div",jg,[u("div",Tg,[a[10]||(a[10]=u("span",{class:"stat-label"},"Running Jobs",-1)),u("span",Mg,D(typeof t.value.runningJobs=="number"?t.value.runningJobs:t.value.runningJobs.length),1)]),u("div",Dg,[a[11]||(a[11]=u("span",{class:"stat-label"},"Queued Jobs",-1)),u("span",Pg,D(typeof t.value.queuedJobs=="number"?t.value.queuedJobs:t.value.queuedJobs.length),1)]),u("div",Og,[a[12]||(a[12]=u("span",{class:"stat-label"},"Locked Jobs",-1)),u("span",Eg,D(typeof t.value.lockedJobs=="number"?t.value.lockedJobs:t.value.lockedJobs.length),1)]),u("div",Ng,[a[13]||(a[13]=u("span",{class:"stat-label"},"Local Queue Processing",-1)),u("span",Ag,D(t.value.internal.localQueueProcessing),1)])])]),t.value.jobStatus&&Object.keys(t.value.jobStatus).length>0?(w(),x("div",Rg,[a[15]||(a[15]=u("div",{class:"stats-section-title"},"Per-Job Status",-1)),u("div",Fg,[(w(!0),x($e,null,Lt(t.value.jobStatus,(p,g)=>(w(),x("div",{key:g,class:"job-status-item"},[u("span",Ig,D(g),1),u("div",Lg,[u("span",Jg,D(p.running)+" running",1),u("span",Wg,D(p.locked)+" locked",1),p.config.concurrency?(w(),x("span",Hg,"concurrency: "+D(p.config.concurrency),1)):I("",!0)])]))),128))])])):I("",!0),u("div",qg,[a[16]||(a[16]=u("div",{class:"stats-section-title"},"Recent Job Logs",-1)),se(Oo)])])):I("",!0)])}}}),Ug=gn(Vg,[["__scopeId","data-v-832459f8"]]),Mt=H([]),Bs=H([]),ss=H(!1),Ks=H(!1),Gs=H(0),Pr=H(0),Dt=H(1),os=H(50),ht=H({}),rs=H(!1);let kn=null,tn=null;function Yg(){const{success:e,error:t}=ol(),n=Ze(()=>[...Bs.value].sort((y,A)=>{const U=y.displayName.toLowerCase(),Z=A.displayName.toLowerCase();return U==="all jobs"?-1:Z==="all jobs"?1:U.localeCompare(Z)})),s=Ze(()=>{const y=[];return ht.value.name&&y.push(ht.value.name),ht.value.state&&y.push(ht.value.state),y.length>0?y.join(" / "):"All Jobs"});async function o(y={}){ss.value=!0,tn&&clearTimeout(tn),tn=setTimeout(()=>{ss.value&&(Ks.value=!0)},200);const A={...ht.value,...y};ht.value=A;try{const U=await Lu({name:A.name,search:A.search,property:A.property,isObjectId:A.isObjectId?"true":void 0,state:A.state,skip:A.skip,limit:A.limit||os.value});Mt.value=U.jobs,Bs.value=U.overview,Gs.value=U.totalPages,Pr.value=U.total}catch(U){console.error("Failed to fetch jobs:",U),Mt.value=[],t("Failed to fetch jobs")}finally{ss.value=!1,Ks.value=!1,tn&&(clearTimeout(tn),tn=null)}}async function r(y){try{await Ju(y),e("Jobs requeued successfully"),await o()}catch(A){console.error("Failed to requeue jobs:",A),t("Failed to requeue jobs")}}async function i(y){try{await Wu(y),e("Jobs retried successfully"),await o()}catch(A){console.error("Failed to retry jobs:",A),t("Failed to retry jobs")}}async function l(y){try{await Hu(y),e("Jobs deleted successfully"),await o()}catch(A){console.error("Failed to delete jobs:",A),t("Failed to delete jobs")}}async function a(y){try{await Vu(y),e("Jobs paused successfully"),await o()}catch(A){console.error("Failed to pause jobs:",A),t("Failed to pause jobs")}}async function c(y){try{await Uu(y),e("Jobs resumed successfully"),await o()}catch(A){console.error("Failed to resume jobs:",A),t("Failed to resume jobs")}}async function f(y,A,U,Z){try{await qu({jobName:y,jobSchedule:A,jobRepeatEvery:U,jobData:Z}),e("Job created successfully"),await o()}catch(W){console.error("Failed to create job:",W),t("Failed to create job")}}function m(y){Dt.value=y;const A=(y-1)*os.value;o({...ht.value,skip:A})}function p(){Dt.value<Gs.value&&m(Dt.value+1)}function g(){Dt.value>1&&m(Dt.value-1)}function v(y){os.value=y,Dt.value=1,o({...ht.value,skip:0,limit:y})}function $(y){Dt.value=1,o({...y,skip:0})}function P(y){const A=Mt.value.findIndex(U=>U.job._id===y.jobId);if(y.type==="progress"){if(A!==-1&&y.progress!==void 0){const U=Mt.value[A];Mt.value[A]={...U,job:{...U.job,progress:y.progress}}}}else if(y.type==="start"){if(A!==-1){const U=Mt.value[A];Mt.value[A]={...U,running:!0,job:{...U.job,progress:0}}}}else["success","fail","complete"].includes(y.type)&&N()}let C=null;function N(){C&&clearTimeout(C),C=setTimeout(()=>{o(),C=null},500)}function M(){kn||(kn=Bu(P,y=>{console.error("SSE connection error:",y),rs.value=!1},()=>{rs.value=!0}))}function b(){kn&&(kn(),kn=null,rs.value=!1)}return{jobs:Mt,overview:Bs,sortedOverview:n,loading:ss,showLoading:Ks,totalPages:Gs,total:Pr,currentPage:Dt,pageSize:os,currentFilters:ht,currentFilterDisplay:s,realTimeConnected:rs,fetchJobs:o,requeueJobs:r,retryJobs:i,deleteJobs:l,pauseJobs:a,resumeJobs:c,createJob:f,setPage:m,nextPage:p,prevPage:g,setPageSize:v,search:$,startRealTimeUpdates:M,stopRealTimeUpdates:b}}const Bg={class:"app-wrapper"},Kg={class:"navbar navbar-custom navbar-dark sticky-top px-3 py-2"},Gg={class:"d-flex align-items-center gap-3"},Xg={key:0,class:"d-none d-md-flex align-items-center gap-1 text-success",title:"Real-time updates active"},Qg={class:"d-none d-md-flex align-items-center gap-2 text-white-50"},zg=["disabled"],Zg={key:0,class:"spinner-border spinner-border-sm"},ep={key:1},tp={class:"d-flex flex-grow-1",style:{"min-height":"0"}},np={class:"sidebar d-none d-md-block"},sp={class:"flex-grow-1 p-4"},op={class:"d-md-none d-flex justify-content-end mb-3"},rp=["disabled"],ip={key:0,class:"spinner-border spinner-border-sm me-1"},lp={key:1,class:"me-1"},ap={key:0},up={key:1},cp={class:"mb-4"},fp={key:2},dp={class:"current-filter-display mb-3"},hp={class:"filter-badge"},mp={class:"modal-container",style:{width:"600px"}},gp={class:"modal-container",style:{width:"500px"}},pp={class:"modal-container",style:{width:"400px"}},bp={class:"modal-container",style:{width:"400px"}},vp={class:"modal-container",style:{width:"400px"}},yp={class:"modal-container",style:{width:"400px"}},_p={class:"modal-container",style:{width:"400px"}},wp={class:"modal-container",style:{width:"400px"}},xp={class:"modal-container",style:{width:"400px"}},Cp={class:"modal-container",style:{width:"400px"}},$p={class:"modal-container",style:{width:"400px"}},kp={class:"modal-container",style:{width:"400px"}},Sp=ct({__name:"App",setup(e){const{jobs:t,sortedOverview:n,loading:s,showLoading:o,totalPages:r,currentPage:i,pageSize:l,currentFilters:a,currentFilterDisplay:c,realTimeConnected:f,fetchJobs:m,requeueJobs:p,retryJobs:g,deleteJobs:v,pauseJobs:$,resumeJobs:P,createJob:C,nextPage:N,prevPage:M,search:b,startRealTimeUpdates:y,stopRealTimeUpdates:A}=Yg(),U=H(!1),Z=H(30),W=H(30);let z=null;const oe=H(!1),L=H(!1),le=H(!1),ye=H(!1),Oe=H(!1),ve=H(!1),ue=H(!1),ne=H(!1),Ie=H(!1),tt=H(!1),Le=H(!1),Se=H(!1),K=H(null),_e=H([]),X=H(!1),He=H(!1),ft=H(!1),Wt=H("");function St(te){try{return JSON.stringify(te,null,2)}catch{return String(te)}}function Ht(){z&&clearInterval(z),W.value=Z.value,z=setInterval(()=>{W.value--,W.value<=0&&(m(),W.value=Z.value)},1e3)}function Ns(){m(),W.value=Z.value}function d(){U.value=!0}function h(){U.value=!1}function _(te){K.value=te,oe.value=!0}function T(te){K.value=te,le.value=!0}function k(te){K.value=te,ye.value=!0}function S(te){K.value=te,Oe.value=!0}function R(te){_e.value=te,ne.value=!0}function E(te){_e.value=te,Ie.value=!0}function O(te){_e.value=te,tt.value=!0}function j(te){K.value=te,ve.value=!0}function V(te){K.value=te,ue.value=!0}function F(te){_e.value=te,Le.value=!0}function q(te){_e.value=te,Se.value=!0}async function B(){if(K.value){X.value=!0;try{await v([K.value.job._id])}finally{X.value=!1}}le.value=!1}async function ee(){if(K.value){X.value=!0;try{await p([K.value.job._id])}finally{X.value=!1}}ye.value=!1}async function he(){if(K.value){X.value=!0;try{await g([K.value.job._id])}finally{X.value=!1}}Oe.value=!1}async function re(){X.value=!0;try{await v(_e.value)}finally{X.value=!1}ne.value=!1,_e.value=[]}async function je(){X.value=!0;try{await p(_e.value)}finally{X.value=!1}Ie.value=!1,_e.value=[]}async function Te(){X.value=!0;try{await g(_e.value)}finally{X.value=!1}tt.value=!1,_e.value=[]}async function qe(){if(K.value){X.value=!0;try{await $([K.value.job._id])}finally{X.value=!1}}ve.value=!1}async function Ve(){if(K.value){X.value=!0;try{await P([K.value.job._id])}finally{X.value=!1}}ue.value=!1}async function qt(){X.value=!0;try{await $(_e.value)}finally{X.value=!1}Le.value=!1,_e.value=[]}async function Kn(){X.value=!0;try{await P(_e.value)}finally{X.value=!1}Se.value=!1,_e.value=[]}function Ee(te){b(te),h(),W.value=Z.value}function Je(te,J){He.value=!1,ft.value=!1,b({name:te==="All Jobs"?"":te,state:J,skip:0}),h(),W.value=Z.value}function pn(){He.value=!0,ft.value=!1,a.value={},h()}function bn(te){Wt.value=te,ft.value=!0,He.value=!1,a.value={},h()}async function rl(te,J,me,il){await C(te,J||void 0,me||void 0,il),L.value=!1}return $t(()=>{m(),Ht(),y()}),Jt(()=>{z&&clearInterval(z),A()}),(te,J)=>(w(),x("div",Bg,[u("nav",Kg,[J[27]||(J[27]=u("span",{class:"navbar-brand mb-0"},"Agendash",-1)),u("div",Gg,[G(f)?(w(),x("div",Xg,[...J[26]||(J[26]=[u("span",{class:"realtime-dot"},null,-1),u("small",null,"Live",-1)])])):I("",!0),u("div",Qg,[u("button",{class:"btn btn-sm btn-outline-light",disabled:G(s),title:"Refresh now",onClick:Ns},[G(s)?(w(),x("span",Zg)):(w(),x("span",ep,"↻"))],8,zg),u("small",null,D(W.value)+"s",1)]),u("button",{class:"mobile-menu-btn d-md-none",onClick:d},"☰")])]),u("div",{class:fe(["sidebar-mobile",{open:U.value}])},[u("button",{class:"sidebar-mobile-close",onClick:h},"×"),U.value?(w(),vs(Cr,{key:0,overview:G(n),"page-size":G(l),loading:G(s),"current-filters":G(a),"showing-stats":He.value,onSearch:Je,onNewJob:J[0]||(J[0]=me=>L.value=!0),onShowStats:pn,onShowJobLogs:bn},null,8,["overview","page-size","loading","current-filters","showing-stats"])):I("",!0)],2),u("div",tp,[u("aside",np,[se(Cr,{overview:G(n),"page-size":G(l),loading:G(s),"current-filters":G(a),"showing-stats":He.value,onSearch:Je,onNewJob:J[1]||(J[1]=me=>L.value=!0),onShowStats:pn,onShowJobLogs:bn},null,8,["overview","page-size","loading","current-filters","showing-stats"])]),u("main",sp,[u("div",op,[u("button",{class:"btn btn-sm btn-outline-secondary",disabled:G(s),onClick:Ns},[G(s)?(w(),x("span",ip)):(w(),x("span",lp,"↻")),Be(" Refresh ("+D(W.value)+"s) ",1)],8,rp)]),He.value?(w(),x("div",ap,[J[28]||(J[28]=u("h4",{class:"mb-4"},"Agenda Status",-1)),se(Ug)])):ft.value?(w(),x("div",up,[u("h4",cp,"Logs: "+D(Wt.value),1),se(Oo,{"job-name":Wt.value},null,8,["job-name"])])):(w(),x("div",fp,[u("div",dp,[J[29]||(J[29]=u("span",{class:"text-muted"},"Showing:",-1)),u("span",hp,D(G(a).name||"All Jobs"),1),G(a).state?(w(),x("span",{key:0,class:fe(["filter-state-badge",`state-${G(a).state}`])},D(G(a).state),3)):I("",!0)]),se(Hc,{"current-filters":G(a),onSearch:Ee},null,8,["current-filters"]),se(wh,{jobs:G(t),"page-size":G(l),"page-number":G(i),"total-pages":G(r),loading:G(o),"filter-display":G(c),onShowJobDetail:_,onConfirmDelete:T,onConfirmRequeue:k,onConfirmRetry:S,onConfirmPause:j,onConfirmResume:V,onConfirmDeleteMulti:R,onConfirmRequeueMulti:E,onConfirmRetryMulti:O,onConfirmPauseMulti:F,onConfirmResumeMulti:q,onPageNext:G(N),onPagePrev:G(M)},null,8,["jobs","page-size","page-number","total-pages","loading","filter-display","onPageNext","onPagePrev"])]))])]),(w(),vs(hi,{to:"body"},[oe.value&&K.value?(w(),x("div",{key:0,class:"modal-overlay",onClick:J[3]||(J[3]=ke(me=>oe.value=!1,["self"]))},[u("div",mp,[se(jm,{job:K.value,onClose:J[2]||(J[2]=me=>oe.value=!1)},null,8,["job"])])])):I("",!0),L.value?(w(),x("div",{key:1,class:"modal-overlay",onClick:J[5]||(J[5]=ke(me=>L.value=!1,["self"]))},[u("div",gp,[se(Rm,{onClose:J[4]||(J[4]=me=>L.value=!1),onCreate:rl})])])):I("",!0),le.value&&K.value?(w(),x("div",{key:2,class:"modal-overlay",onClick:J[7]||(J[7]=ke(me=>!X.value&&(le.value=!1),["self"]))},[u("div",pp,[se(st,{title:"Delete Job",message:`Delete job '${K.value.job.name}'?`,details:[{label:"ID",value:K.value.job._id,type:"code"},{label:"Name",value:K.value.job.name},{label:"Data",value:St(K.value.job.data),type:"json"}],"confirm-text":"Delete","confirm-class":"btn-danger",loading:X.value,onConfirm:B,onCancel:J[6]||(J[6]=me=>le.value=!1)},null,8,["message","details","loading"])])])):I("",!0),ye.value&&K.value?(w(),x("div",{key:3,class:"modal-overlay",onClick:J[9]||(J[9]=ke(me=>!X.value&&(ye.value=!1),["self"]))},[u("div",bp,[se(st,{title:"Requeue Job",message:`Requeue job '${K.value.job.name}'?`,details:[{label:"ID",value:K.value.job._id,type:"code"},{label:"Name",value:K.value.job.name},{label:"Data",value:St(K.value.job.data),type:"json"}],"confirm-text":"Requeue","confirm-class":"btn-primary",loading:X.value,onConfirm:ee,onCancel:J[8]||(J[8]=me=>ye.value=!1)},null,8,["message","details","loading"])])])):I("",!0),Oe.value&&K.value?(w(),x("div",{key:4,class:"modal-overlay",onClick:J[11]||(J[11]=ke(me=>!X.value&&(Oe.value=!1),["self"]))},[u("div",vp,[se(st,{title:"Retry Job",message:`Retry job '${K.value.job.name}'? This will rerun the existing job immediately.`,details:[{label:"ID",value:K.value.job._id,type:"code"},{label:"Name",value:K.value.job.name},{label:"Data",value:St(K.value.job.data),type:"json"}],"confirm-text":"Retry","confirm-class":"btn-info",loading:X.value,onConfirm:he,onCancel:J[10]||(J[10]=me=>Oe.value=!1)},null,8,["message","details","loading"])])])):I("",!0),ne.value?(w(),x("div",{key:5,class:"modal-overlay",onClick:J[13]||(J[13]=ke(me=>!X.value&&(ne.value=!1),["self"]))},[u("div",yp,[se(st,{title:"Delete Multiple Jobs",message:`Delete ${_e.value.length} selected jobs?`,"confirm-text":"Delete All","confirm-class":"btn-danger",loading:X.value,onConfirm:re,onCancel:J[12]||(J[12]=me=>ne.value=!1)},null,8,["message","loading"])])])):I("",!0),Ie.value?(w(),x("div",{key:6,class:"modal-overlay",onClick:J[15]||(J[15]=ke(me=>!X.value&&(Ie.value=!1),["self"]))},[u("div",_p,[se(st,{title:"Requeue Multiple Jobs",message:`Requeue ${_e.value.length} selected jobs?`,"confirm-text":"Requeue All","confirm-class":"btn-primary",loading:X.value,onConfirm:je,onCancel:J[14]||(J[14]=me=>Ie.value=!1)},null,8,["message","loading"])])])):I("",!0),tt.value?(w(),x("div",{key:7,class:"modal-overlay",onClick:J[17]||(J[17]=ke(me=>!X.value&&(tt.value=!1),["self"]))},[u("div",wp,[se(st,{title:"Retry Multiple Jobs",message:`Retry ${_e.value.length} selected jobs? This will rerun existing jobs immediately.`,"confirm-text":"Retry All","confirm-class":"btn-info",loading:X.value,onConfirm:Te,onCancel:J[16]||(J[16]=me=>tt.value=!1)},null,8,["message","loading"])])])):I("",!0),ve.value&&K.value?(w(),x("div",{key:8,class:"modal-overlay",onClick:J[19]||(J[19]=ke(me=>!X.value&&(ve.value=!1),["self"]))},[u("div",xp,[se(st,{title:"Pause Job",message:`Pause job '${K.value.job.name}'?`,details:[{label:"ID",value:K.value.job._id,type:"code"},{label:"Name",value:K.value.job.name},{label:"Data",value:St(K.value.job.data),type:"json"}],"confirm-text":"Pause","confirm-class":"btn-secondary",loading:X.value,onConfirm:qe,onCancel:J[18]||(J[18]=me=>ve.value=!1)},null,8,["message","details","loading"])])])):I("",!0),ue.value&&K.value?(w(),x("div",{key:9,class:"modal-overlay",onClick:J[21]||(J[21]=ke(me=>!X.value&&(ue.value=!1),["self"]))},[u("div",Cp,[se(st,{title:"Resume Job",message:`Resume job '${K.value.job.name}'?`,details:[{label:"ID",value:K.value.job._id,type:"code"},{label:"Name",value:K.value.job.name},{label:"Data",value:St(K.value.job.data),type:"json"}],"confirm-text":"Resume","confirm-class":"btn-success",loading:X.value,onConfirm:Ve,onCancel:J[20]||(J[20]=me=>ue.value=!1)},null,8,["message","details","loading"])])])):I("",!0),Le.value?(w(),x("div",{key:10,class:"modal-overlay",onClick:J[23]||(J[23]=ke(me=>!X.value&&(Le.value=!1),["self"]))},[u("div",$p,[se(st,{title:"Pause Multiple Jobs",message:`Pause ${_e.value.length} selected jobs?`,"confirm-text":"Pause All","confirm-class":"btn-secondary",loading:X.value,onConfirm:qt,onCancel:J[22]||(J[22]=me=>Le.value=!1)},null,8,["message","loading"])])])):I("",!0),Se.value?(w(),x("div",{key:11,class:"modal-overlay",onClick:J[25]||(J[25]=ke(me=>!X.value&&(Se.value=!1),["self"]))},[u("div",kp,[se(st,{title:"Resume Multiple Jobs",message:`Resume ${_e.value.length} selected jobs?`,"confirm-text":"Resume All","confirm-class":"btn-success",loading:X.value,onConfirm:Kn,onCancel:J[24]||(J[24]=me=>Se.value=!1)},null,8,["message","loading"])])])):I("",!0)])),se(og)]))}}),jp=Ru(Sp);jp.mount("#app");
package/public/index.html CHANGED
@@ -4,8 +4,8 @@
4
4
  <meta charset="UTF-8" />
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
6
  <title>Agendash</title>
7
- <script type="module" crossorigin src="./assets/index-CO_FUfoI.js"></script>
8
- <link rel="stylesheet" crossorigin href="./assets/index-CnW8feUW.css">
7
+ <script type="module" crossorigin src="./assets/index-wwBGUjg-.js"></script>
8
+ <link rel="stylesheet" crossorigin href="./assets/index-oNlZIpi4.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="app"></div>