skillex 0.2.5 → 0.3.1
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.
- package/CHANGELOG.md +20 -0
- package/README.md +31 -1
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +51 -15
- package/dist/markdown.d.ts +7 -0
- package/dist/markdown.js +193 -0
- package/dist/ui.d.ts +10 -5
- package/dist/ui.js +7 -4
- package/dist/web-ui.d.ts +31 -0
- package/dist/web-ui.js +461 -0
- package/dist-ui/assets/CatalogPage-B_qic36n.js +1 -0
- package/dist-ui/assets/SkillDetailPage-BJ3onKk4.js +1 -0
- package/dist-ui/assets/index-DN-z--cR.js +25 -0
- package/dist-ui/assets/index-UBECch6X.css +1 -0
- package/dist-ui/index.html +16 -0
- package/package.json +15 -5
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
2
|
+
* @vue/shared v3.5.32
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function Ls(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Ut=[],st=()=>{},uo=()=>!1,Vn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Un=e=>e.startsWith("onUpdate:"),ge=Object.assign,ks=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Vi=Object.prototype.hasOwnProperty,ne=(e,t)=>Vi.call(e,t),V=Array.isArray,Kt=e=>_n(e)==="[object Map]",fo=e=>_n(e)==="[object Set]",ir=e=>_n(e)==="[object Date]",$=e=>typeof e=="function",de=e=>typeof e=="string",rt=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",po=e=>(se(e)||$(e))&&$(e.then)&&$(e.catch),ho=Object.prototype.toString,_n=e=>ho.call(e),Ui=e=>_n(e).slice(8,-1),go=e=>_n(e)==="[object Object]",Ds=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nn=Ls(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Kn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ki=/-\w/g,Pe=Kn(e=>e.replace(Ki,t=>t.slice(1).toUpperCase())),Gi=/\B([A-Z])/g,Dt=Kn(e=>e.replace(Gi,"-$1").toLowerCase()),Gn=Kn(e=>e.charAt(0).toUpperCase()+e.slice(1)),es=Kn(e=>e?`on${Gn(e)}`:""),nt=(e,t)=>!Object.is(e,t),Tn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},mo=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ms=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$i=e=>{const t=de(e)?Number(e):NaN;return isNaN(t)?e:t};let lr;const $n=()=>lr||(lr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=de(s)?Qi(s):Fs(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(de(e)||se(e))return e}const Wi=/;(?![^(]*\))/g,qi=/:([^]+)/,zi=/\/\*[^]*?\*\//g;function Qi(e){const t={};return e.replace(zi,"").split(Wi).forEach(n=>{if(n){const s=n.split(qi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function xt(e){let t="";if(de(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=xt(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ji="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Yi=Ls(Ji);function vo(e){return!!e||e===""}function Xi(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Bs(e[s],t[s]);return n}function Bs(e,t){if(e===t)return!0;let n=ir(e),s=ir(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=rt(e),s=rt(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?Xi(e,t):!1;if(n=se(e),s=se(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(l&&!c||!l&&c||!Bs(e[i],t[i]))return!1}}return String(e)===String(t)}const yo=e=>!!(e&&e.__v_isRef===!0),ve=e=>de(e)?e:e==null?"":V(e)||se(e)&&(e.toString===ho||!$(e.toString))?yo(e)?ve(e.value):JSON.stringify(e,bo,2):String(e),bo=(e,t)=>yo(t)?bo(e,t.value):Kt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ts(s,o)+" =>"]=r,n),{})}:fo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ts(n))}:rt(t)?ts(t):se(t)&&!V(t)&&!go(t)?String(t):t,ts=(e,t="")=>{var n;return rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.32
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let Le;class Zi{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=Le,!t&&Le&&(this.index=(Le.scopes||(Le.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=Le;try{return Le=this,t()}finally{Le=n}}}on(){++this._on===1&&(this.prevScope=Le,Le=this)}off(){this._on>0&&--this._on===0&&(Le=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 r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function el(){return Le}let ae;const ns=new WeakSet;class _o{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,Le&&Le.active&&Le.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ns.has(this)&&(ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||xo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cr(this),Eo(this);const t=ae,n=Ue;ae=this,Ue=!0;try{return this.fn()}finally{wo(this),ae=t,Ue=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vs(t);this.deps=this.depsTail=void 0,cr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ns.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){vs(this)&&this.run()}get dirty(){return vs(this)}}let So=0,sn,rn;function xo(e,t=!1){if(e.flags|=8,t){e.next=rn,rn=e;return}e.next=sn,sn=e}function Hs(){So++}function js(){if(--So>0)return;if(rn){let t=rn;for(rn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;sn;){let t=sn;for(sn=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 Eo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function wo(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Vs(s),tl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function vs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ao(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ao(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===dn)||(e.globalVersion=dn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!vs(e))))return;e.flags|=2;const t=e.dep,n=ae,s=Ue;ae=e,Ue=!0;try{Eo(e);const r=e.fn(e._value);(t.version===0||nt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ae=n,Ue=s,wo(e),e.flags&=-3}}function Vs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Vs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function tl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ue=!0;const Co=[];function pt(){Co.push(Ue),Ue=!1}function ht(){const e=Co.pop();Ue=e===void 0?!0:e}function cr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ae;ae=void 0;try{t()}finally{ae=n}}}let dn=0;class nl{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 Us{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!ae||!Ue||ae===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ae)n=this.activeLink=new nl(ae,this),ae.deps?(n.prevDep=ae.depsTail,ae.depsTail.nextDep=n,ae.depsTail=n):ae.deps=ae.depsTail=n,Ro(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=ae.depsTail,n.nextDep=void 0,ae.depsTail.nextDep=n,ae.depsTail=n,ae.deps===n&&(ae.deps=s)}return n}trigger(t){this.version++,dn++,this.notify(t)}notify(t){Hs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{js()}}}function Ro(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)Ro(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ys=new WeakMap,Lt=Symbol(""),bs=Symbol(""),pn=Symbol("");function xe(e,t,n){if(Ue&&ae){let s=ys.get(e);s||ys.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Us),r.map=s,r.key=n),r.track()}}function ft(e,t,n,s,r,o){const i=ys.get(e);if(!i){dn++;return}const l=c=>{c&&c.trigger()};if(Hs(),t==="clear")i.forEach(l);else{const c=V(e),f=c&&Ds(n);if(c&&n==="length"){const a=Number(s);i.forEach((d,h)=>{(h==="length"||h===pn||!rt(h)&&h>=a)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(pn)),t){case"add":c?f&&l(i.get("length")):(l(i.get(Lt)),Kt(e)&&l(i.get(bs)));break;case"delete":c||(l(i.get(Lt)),Kt(e)&&l(i.get(bs)));break;case"set":Kt(e)&&l(i.get(Lt));break}}js()}function Bt(e){const t=X(e);return t===e?t:(xe(t,"iterate",pn),Ve(e)?t:t.map(Ge))}function Wn(e){return xe(e=X(e),"iterate",pn),e}function et(e,t){return gt(e)?Wt(kt(e)?Ge(t):t):Ge(t)}const sl={__proto__:null,[Symbol.iterator](){return ss(this,Symbol.iterator,e=>et(this,e))},concat(...e){return Bt(this).concat(...e.map(t=>V(t)?Bt(t):t))},entries(){return ss(this,"entries",e=>(e[1]=et(this,e[1]),e))},every(e,t){return it(this,"every",e,t,void 0,arguments)},filter(e,t){return it(this,"filter",e,t,n=>n.map(s=>et(this,s)),arguments)},find(e,t){return it(this,"find",e,t,n=>et(this,n),arguments)},findIndex(e,t){return it(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return it(this,"findLast",e,t,n=>et(this,n),arguments)},findLastIndex(e,t){return it(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return it(this,"forEach",e,t,void 0,arguments)},includes(...e){return rs(this,"includes",e)},indexOf(...e){return rs(this,"indexOf",e)},join(e){return Bt(this).join(e)},lastIndexOf(...e){return rs(this,"lastIndexOf",e)},map(e,t){return it(this,"map",e,t,void 0,arguments)},pop(){return Jt(this,"pop")},push(...e){return Jt(this,"push",e)},reduce(e,...t){return ar(this,"reduce",e,t)},reduceRight(e,...t){return ar(this,"reduceRight",e,t)},shift(){return Jt(this,"shift")},some(e,t){return it(this,"some",e,t,void 0,arguments)},splice(...e){return Jt(this,"splice",e)},toReversed(){return Bt(this).toReversed()},toSorted(e){return Bt(this).toSorted(e)},toSpliced(...e){return Bt(this).toSpliced(...e)},unshift(...e){return Jt(this,"unshift",e)},values(){return ss(this,"values",e=>et(this,e))}};function ss(e,t,n){const s=Wn(e),r=s[t]();return s!==e&&!Ve(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const rl=Array.prototype;function it(e,t,n,s,r,o){const i=Wn(e),l=i!==e&&!Ve(e),c=i[t];if(c!==rl[t]){const d=c.apply(e,o);return l?Ge(d):d}let f=n;i!==e&&(l?f=function(d,h){return n.call(this,et(e,d),h,e)}:n.length>2&&(f=function(d,h){return n.call(this,d,h,e)}));const a=c.call(i,f,s);return l&&r?r(a):a}function ar(e,t,n,s){const r=Wn(e),o=r!==e&&!Ve(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(f,a,d){return l&&(l=!1,f=et(e,f)),n.call(this,f,et(e,a),d,e)}):n.length>3&&(i=function(f,a,d){return n.call(this,f,a,d,e)}));const c=r[t](i,...s);return l?et(e,c):c}function rs(e,t,n){const s=X(e);xe(s,"iterate",pn);const r=s[t](...n);return(r===-1||r===!1)&&$s(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function Jt(e,t,n=[]){pt(),Hs();const s=X(e)[t].apply(e,n);return js(),ht(),s}const ol=Ls("__proto__,__v_isRef,__isVue"),To=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function il(e){rt(e)||(e=String(e));const t=X(this);return xe(t,"has",e),t.hasOwnProperty(e)}class Oo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?ml:Lo:o?No:Io).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=V(t);if(!r){let c;if(i&&(c=sl[n]))return c;if(n==="hasOwnProperty")return il}const l=Reflect.get(t,n,we(t)?t:s);if((rt(n)?To.has(n):ol(n))||(r||xe(t,"get",n),o))return l;if(we(l)){const c=i&&Ds(n)?l:l.value;return r&&se(c)?Ss(c):c}return se(l)?r?Ss(l):Sn(l):l}}class Po extends Oo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=V(t)&&Ds(n);if(!this._isShallow){const f=gt(o);if(!Ve(s)&&!gt(s)&&(o=X(o),s=X(s)),!i&&we(o)&&!we(s))return f||(o.value=s),!0}const l=i?Number(n)<t.length:ne(t,n),c=Reflect.set(t,n,s,we(t)?t:r);return t===X(r)&&(l?nt(s,o)&&ft(t,"set",n,s):ft(t,"add",n,s)),c}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ft(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!rt(n)||!To.has(n))&&xe(t,"has",n),s}ownKeys(t){return xe(t,"iterate",V(t)?"length":Lt),Reflect.ownKeys(t)}}class ll extends Oo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const cl=new Po,al=new ll,ul=new Po(!0);const _s=e=>e,wn=e=>Reflect.getPrototypeOf(e);function fl(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=Kt(o),l=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,f=r[e](...s),a=n?_s:t?Wt:Ge;return!t&&xe(o,"iterate",c?bs:Lt),ge(Object.create(f),{next(){const{value:d,done:h}=f.next();return h?{value:d,done:h}:{value:l?[a(d[0]),a(d[1])]:a(d),done:h}}})}}function An(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dl(e,t){const n={get(r){const o=this.__v_raw,i=X(o),l=X(r);e||(nt(r,l)&&xe(i,"get",r),xe(i,"get",l));const{has:c}=wn(i),f=t?_s:e?Wt:Ge;if(c.call(i,r))return f(o.get(r));if(c.call(i,l))return f(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&xe(X(r),"iterate",Lt),r.size},has(r){const o=this.__v_raw,i=X(o),l=X(r);return e||(nt(r,l)&&xe(i,"has",r),xe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,c=X(l),f=t?_s:e?Wt:Ge;return!e&&xe(c,"iterate",Lt),l.forEach((a,d)=>r.call(o,f(a),f(d),i))}};return ge(n,e?{add:An("add"),set:An("set"),delete:An("delete"),clear:An("clear")}:{add(r){const o=X(this),i=wn(o),l=X(r),c=!t&&!Ve(r)&&!gt(r)?l:r;return i.has.call(o,c)||nt(r,c)&&i.has.call(o,r)||nt(l,c)&&i.has.call(o,l)||(o.add(c),ft(o,"add",c,c)),this},set(r,o){!t&&!Ve(o)&&!gt(o)&&(o=X(o));const i=X(this),{has:l,get:c}=wn(i);let f=l.call(i,r);f||(r=X(r),f=l.call(i,r));const a=c.call(i,r);return i.set(r,o),f?nt(o,a)&&ft(i,"set",r,o):ft(i,"add",r,o),this},delete(r){const o=X(this),{has:i,get:l}=wn(o);let c=i.call(o,r);c||(r=X(r),c=i.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return c&&ft(o,"delete",r,void 0),f},clear(){const r=X(this),o=r.size!==0,i=r.clear();return o&&ft(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=fl(r,e,t)}),n}function Ks(e,t){const n=dl(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,o)}const pl={get:Ks(!1,!1)},hl={get:Ks(!1,!0)},gl={get:Ks(!0,!1)};const Io=new WeakMap,No=new WeakMap,Lo=new WeakMap,ml=new WeakMap;function vl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yl(e){return e.__v_skip||!Object.isExtensible(e)?0:vl(Ui(e))}function Sn(e){return gt(e)?e:Gs(e,!1,cl,pl,Io)}function ko(e){return Gs(e,!1,ul,hl,No)}function Ss(e){return Gs(e,!0,al,gl,Lo)}function Gs(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=yl(e);if(o===0)return e;const i=r.get(e);if(i)return i;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function kt(e){return gt(e)?kt(e.__v_raw):!!(e&&e.__v_isReactive)}function gt(e){return!!(e&&e.__v_isReadonly)}function Ve(e){return!!(e&&e.__v_isShallow)}function $s(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function bl(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&mo(e,"__v_skip",!0),e}const Ge=e=>se(e)?Sn(e):e,Wt=e=>se(e)?Ss(e):e;function we(e){return e?e.__v_isRef===!0:!1}function On(e){return Do(e,!1)}function _l(e){return Do(e,!0)}function Do(e,t){return we(e)?e:new Sl(e,t)}class Sl{constructor(t,n){this.dep=new Us,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:Ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ve(t)||gt(t);t=s?t:X(t),nt(t,n)&&(this._rawValue=t,this._value=s?t:Ge(t),this.dep.trigger())}}function Y(e){return we(e)?e.value:e}const xl={get:(e,t,n)=>t==="__v_raw"?e:Y(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return we(r)&&!we(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Mo(e){return kt(e)?e:new Proxy(e,xl)}class El{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Us(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=dn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ae!==this)return xo(this,!0),!0}get value(){const t=this.dep.track();return Ao(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function wl(e,t,n=!1){let s,r;return $(e)?s=e:(s=e.get,r=e.set),new El(s,r,n)}const Cn={},Ln=new WeakMap;let Pt;function Al(e,t=!1,n=Pt){if(n){let s=Ln.get(n);s||Ln.set(n,s=[]),s.push(e)}}function Cl(e,t,n=ie){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:c}=n,f=T=>r?T:Ve(T)||r===!1||r===0?dt(T,1):dt(T);let a,d,h,g,v=!1,A=!1;if(we(e)?(d=()=>e.value,v=Ve(e)):kt(e)?(d=()=>f(e),v=!0):V(e)?(A=!0,v=e.some(T=>kt(T)||Ve(T)),d=()=>e.map(T=>{if(we(T))return T.value;if(kt(T))return f(T);if($(T))return c?c(T,2):T()})):$(e)?t?d=c?()=>c(e,2):e:d=()=>{if(h){pt();try{h()}finally{ht()}}const T=Pt;Pt=a;try{return c?c(e,3,[g]):e(g)}finally{Pt=T}}:d=st,t&&r){const T=d,H=r===!0?1/0:r;d=()=>dt(T(),H)}const M=el(),D=()=>{a.stop(),M&&M.active&&ks(M.effects,a)};if(o&&t){const T=t;t=(...H)=>{T(...H),D()}}let y=A?new Array(e.length).fill(Cn):Cn;const w=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const H=a.run();if(r||v||(A?H.some((W,Q)=>nt(W,y[Q])):nt(H,y))){h&&h();const W=Pt;Pt=a;try{const Q=[H,y===Cn?void 0:A&&y[0]===Cn?[]:y,g];y=H,c?c(t,3,Q):t(...Q)}finally{Pt=W}}}else a.run()};return l&&l(w),a=new _o(d),a.scheduler=i?()=>i(w,!1):w,g=T=>Al(T,!1,a),h=a.onStop=()=>{const T=Ln.get(a);if(T){if(c)c(T,4);else for(const H of T)H();Ln.delete(a)}},t?s?w(!0):y=a.run():i?i(w.bind(null,!0),!0):a.run(),D.pause=a.pause.bind(a),D.resume=a.resume.bind(a),D.stop=D,D}function dt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,we(e))dt(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)dt(e[s],t,n);else if(fo(e)||Kt(e))e.forEach(s=>{dt(s,t,n)});else if(go(e)){for(const s in e)dt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&dt(e[s],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.32
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function xn(e,t,n,s){try{return s?e(...s):e()}catch(r){qn(r,t,n)}}function $e(e,t,n,s){if($(e)){const r=xn(e,t,n,s);return r&&po(r)&&r.catch(o=>{qn(o,t,n)}),r}if(V(e)){const r=[];for(let o=0;o<e.length;o++)r.push($e(e[o],t,n,s));return r}}function qn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ie;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,c,f)===!1)return}l=l.parent}if(o){pt(),xn(o,null,10,[e,c,f]),ht();return}}Rl(e,n,r,s,i)}function Rl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Re=[];let Xe=-1;const Gt=[];let _t=null,Ht=0;const Fo=Promise.resolve();let kn=null;function Bo(e){const t=kn||Fo;return e?t.then(this?e.bind(this):e):t}function Tl(e){let t=Xe+1,n=Re.length;for(;t<n;){const s=t+n>>>1,r=Re[s],o=hn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Ws(e){if(!(e.flags&1)){const t=hn(e),n=Re[Re.length-1];!n||!(e.flags&2)&&t>=hn(n)?Re.push(e):Re.splice(Tl(t),0,e),e.flags|=1,Ho()}}function Ho(){kn||(kn=Fo.then(Vo))}function Ol(e){V(e)?Gt.push(...e):_t&&e.id===-1?_t.splice(Ht+1,0,e):e.flags&1||(Gt.push(e),e.flags|=1),Ho()}function ur(e,t,n=Xe+1){for(;n<Re.length;n++){const s=Re[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Re.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function jo(e){if(Gt.length){const t=[...new Set(Gt)].sort((n,s)=>hn(n)-hn(s));if(Gt.length=0,_t){_t.push(...t);return}for(_t=t,Ht=0;Ht<_t.length;Ht++){const n=_t[Ht];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}_t=null,Ht=0}}const hn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vo(e){try{for(Xe=0;Xe<Re.length;Xe++){const t=Re[Xe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),xn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Xe<Re.length;Xe++){const t=Re[Xe];t&&(t.flags&=-2)}Xe=-1,Re.length=0,jo(),kn=null,(Re.length||Gt.length)&&Vo()}}let Fe=null,Uo=null;function Dn(e){const t=Fe;return Fe=e,Uo=e&&e.type.__scopeId||null,t}function Ko(e,t=Fe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Bn(-1);const o=Dn(t);let i;try{i=e(...r)}finally{Dn(o),s._d&&Bn(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Pl(e,t){if(Fe===null)return e;const n=Xn(Fe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,c=ie]=t[r];o&&($(o)&&(o={mounted:o,updated:o}),o.deep&&dt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function At(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let c=l.dir[s];c&&(pt(),$e(c,n,8,[e.el,l,e,t]),ht())}}function Pn(e,t){if(Ee){let n=Ee.provides;const s=Ee.parent&&Ee.parent.provides;s===n&&(n=Ee.provides=Object.create(s)),n[e]=t}}function Ke(e,t,n=!1){const s=Si();if(s||$t){let r=$t?$t._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t}}const Il=Symbol.for("v-scx"),Nl=()=>Ke(Il);function on(e,t,n){return Go(e,t,n)}function Go(e,t,n=ie){const{immediate:s,deep:r,flush:o,once:i}=n,l=ge({},n),c=t&&s||!t&&o!=="post";let f;if(vn){if(o==="sync"){const g=Nl();f=g.__watcherHandles||(g.__watcherHandles=[])}else if(!c){const g=()=>{};return g.stop=st,g.resume=st,g.pause=st,g}}const a=Ee;l.call=(g,v,A)=>$e(g,a,v,A);let d=!1;o==="post"?l.scheduler=g=>{Ne(g,a&&a.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(g,v)=>{v?g():Ws(g)}),l.augmentJob=g=>{t&&(g.flags|=4),d&&(g.flags|=2,a&&(g.id=a.uid,g.i=a))};const h=Cl(e,t,l);return vn&&(f?f.push(h):c&&h()),h}function Ll(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?$o(s,e):()=>s[e]:e.bind(s,s);let o;$(t)?o=t:(o=t.handler,n=t);const i=En(this),l=Go(r,o.bind(s),n);return i(),l}function $o(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const kl=Symbol("_vte"),Wo=e=>e.__isTeleport,Ze=Symbol("_leaveCb"),Yt=Symbol("_enterCb");function Dl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return zs(()=>{e.isMounted=!0}),ei(()=>{e.isUnmounting=!0}),e}const je=[Function,Array],qo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},zo=e=>{const t=e.subTree;return t.component?zo(t.component):t},Ml={name:"BaseTransition",props:qo,setup(e,{slots:t}){const n=Si(),s=Dl();return()=>{const r=t.default&&Yo(t.default(),!0);if(!r||!r.length)return;const o=Qo(r),i=X(e),{mode:l}=i;if(s.isLeaving)return os(o);const c=fr(o);if(!c)return os(o);let f=xs(c,i,s,n,d=>f=d);c.type!==Te&&gn(c,f);let a=n.subTree&&fr(n.subTree);if(a&&a.type!==Te&&!It(a,c)&&zo(n).type!==Te){let d=xs(a,i,s,n);if(gn(a,d),l==="out-in"&&c.type!==Te)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,a=void 0},os(o);l==="in-out"&&c.type!==Te?d.delayLeave=(h,g,v)=>{const A=Jo(s,a);A[String(a.key)]=a,h[Ze]=()=>{g(),h[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{v(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return o}}};function Qo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Te){t=n;break}}return t}const Fl=Ml;function Jo(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 xs(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:d,onBeforeLeave:h,onLeave:g,onAfterLeave:v,onLeaveCancelled:A,onBeforeAppear:M,onAppear:D,onAfterAppear:y,onAppearCancelled:w}=t,T=String(e.key),H=Jo(n,e),W=(G,J)=>{G&&$e(G,s,9,J)},Q=(G,J)=>{const le=J[1];W(G,J),V(G)?G.every(L=>L.length<=1)&&le():G.length<=1&&le()},U={mode:i,persisted:l,beforeEnter(G){let J=c;if(!n.isMounted)if(o)J=M||c;else return;G[Ze]&&G[Ze](!0);const le=H[T];le&&It(e,le)&&le.el[Ze]&&le.el[Ze](),W(J,[G])},enter(G){if(H[T]===e)return;let J=f,le=a,L=d;if(!n.isMounted)if(o)J=D||f,le=y||a,L=w||d;else return;let Z=!1;G[Yt]=De=>{Z||(Z=!0,De?W(L,[G]):W(le,[G]),U.delayedLeave&&U.delayedLeave(),G[Yt]=void 0)};const me=G[Yt].bind(null,!1);J?Q(J,[G,me]):me()},leave(G,J){const le=String(e.key);if(G[Yt]&&G[Yt](!0),n.isUnmounting)return J();W(h,[G]);let L=!1;G[Ze]=me=>{L||(L=!0,J(),me?W(A,[G]):W(v,[G]),G[Ze]=void 0,H[le]===e&&delete H[le])};const Z=G[Ze].bind(null,!1);H[le]=e,g?Q(g,[G,Z]):Z()},clone(G){const J=xs(G,t,n,s,r);return r&&r(J),J}};return U}function os(e){if(zn(e))return e=Et(e),e.children=null,e}function fr(e){if(!zn(e))return Wo(e.type)&&e.children?Qo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&$(n.default))return n.default()}}function gn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,gn(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 Yo(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===ke?(i.patchFlag&128&&r++,s=s.concat(Yo(i.children,t,l))):(t||i.type!==Te)&&s.push(l!=null?Et(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function qs(e,t){return $(e)?ge({name:e.name},t,{setup:e}):e}function Xo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function dr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Mn=new WeakMap;function ln(e,t,n,s,r=!1){if(V(e)){e.forEach((A,M)=>ln(A,t&&(V(t)?t[M]:t),n,s,r));return}if(cn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ln(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Xn(s.component):s.el,i=r?null:o,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ie?l.refs={}:l.refs,d=l.setupState,h=X(d),g=d===ie?uo:A=>dr(a,A)?!1:ne(h,A),v=(A,M)=>!(M&&dr(a,M));if(f!=null&&f!==c){if(pr(t),de(f))a[f]=null,g(f)&&(d[f]=null);else if(we(f)){const A=t;v(f,A.k)&&(f.value=null),A.k&&(a[A.k]=null)}}if($(c))xn(c,l,12,[i,a]);else{const A=de(c),M=we(c);if(A||M){const D=()=>{if(e.f){const y=A?g(c)?d[c]:a[c]:v()||!e.k?c.value:a[e.k];if(r)V(y)&&ks(y,o);else if(V(y))y.includes(o)||y.push(o);else if(A)a[c]=[o],g(c)&&(d[c]=a[c]);else{const w=[o];v(c,e.k)&&(c.value=w),e.k&&(a[e.k]=w)}}else A?(a[c]=i,g(c)&&(d[c]=i)):M&&(v(c,e.k)&&(c.value=i),e.k&&(a[e.k]=i))};if(i){const y=()=>{D(),Mn.delete(e)};y.id=-1,Mn.set(e,y),Ne(y,n)}else pr(e),D()}}}function pr(e){const t=Mn.get(e);t&&(t.flags|=8,Mn.delete(e))}$n().requestIdleCallback;$n().cancelIdleCallback;const cn=e=>!!e.type.__asyncLoader,zn=e=>e.type.__isKeepAlive;function Bl(e,t){Zo(e,"a",t)}function Hl(e,t){Zo(e,"da",t)}function Zo(e,t,n=Ee){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)zn(r.parent.vnode)&&jl(s,t,n,r),r=r.parent}}function jl(e,t,n,s){const r=Qn(t,e,s,!0);ti(()=>{ks(s[t],r)},n)}function Qn(e,t,n=Ee,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{pt();const l=En(n),c=$e(t,n,e,i);return l(),ht(),c});return s?r.unshift(o):r.push(o),o}}const mt=e=>(t,n=Ee)=>{(!vn||e==="sp")&&Qn(e,(...s)=>t(...s),n)},Vl=mt("bm"),zs=mt("m"),Ul=mt("bu"),Kl=mt("u"),ei=mt("bum"),ti=mt("um"),Gl=mt("sp"),$l=mt("rtg"),Wl=mt("rtc");function ql(e,t=Ee){Qn("ec",e,t)}const zl="components";function Ql(e,t){return Yl(zl,e,!0,t)||e}const Jl=Symbol.for("v-ndc");function Yl(e,t,n=!0,s=!1){const r=Fe||Ee;if(r){const o=r.type;{const l=Mc(o,!1);if(l&&(l===t||l===Pe(t)||l===Gn(Pe(t))))return o}const i=hr(r[e]||o[e],t)||hr(r.appContext[e],t);return!i&&s?o:i}}function hr(e,t){return e&&(e[t]||e[Pe(t)]||e[Gn(Pe(t))])}function Rn(e,t,n,s){let r;const o=n,i=V(e);if(i||de(e)){const l=i&&kt(e);let c=!1,f=!1;l&&(c=!Ve(e),f=gt(e),e=Wn(e)),r=new Array(e.length);for(let a=0,d=e.length;a<d;a++)r[a]=t(c?f?Wt(Ge(e[a])):Ge(e[a]):e[a],a,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];r[c]=t(e[a],a,c,o)}}else r=[];return r}const Es=e=>e?xi(e)?Xn(e):Es(e.parent):null,an=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>si(e),$forceUpdate:e=>e.f||(e.f=()=>{Ws(e.update)}),$nextTick:e=>e.n||(e.n=Bo.bind(e.proxy)),$watch:e=>Ll.bind(e)}),is=(e,t)=>e!==ie&&!e.__isScriptSetup&&ne(e,t),Xl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:c}=e;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(is(s,t))return i[t]=1,s[t];if(r!==ie&&ne(r,t))return i[t]=2,r[t];if(ne(o,t))return i[t]=3,o[t];if(n!==ie&&ne(n,t))return i[t]=4,n[t];ws&&(i[t]=0)}}const f=an[t];let a,d;if(f)return t==="$attrs"&&xe(e.attrs,"get",""),f(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(n!==ie&&ne(n,t))return i[t]=4,n[t];if(d=c.config.globalProperties,ne(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return is(r,t)?(r[t]=n,!0):s!==ie&&ne(s,t)?(s[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let c;return!!(n[l]||e!==ie&&l[0]!=="$"&&ne(e,l)||is(t,l)||ne(o,l)||ne(s,l)||ne(an,l)||ne(r.config.globalProperties,l)||(c=i.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gr(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ws=!0;function Zl(e){const t=si(e),n=e.proxy,s=e.ctx;ws=!1,t.beforeCreate&&mr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:c,inject:f,created:a,beforeMount:d,mounted:h,beforeUpdate:g,updated:v,activated:A,deactivated:M,beforeDestroy:D,beforeUnmount:y,destroyed:w,unmounted:T,render:H,renderTracked:W,renderTriggered:Q,errorCaptured:U,serverPrefetch:G,expose:J,inheritAttrs:le,components:L,directives:Z,filters:me}=t;if(f&&ec(f,s,null),i)for(const re in i){const ee=i[re];$(ee)&&(s[re]=ee.bind(n))}if(r){const re=r.call(n,n);se(re)&&(e.data=Sn(re))}if(ws=!0,o)for(const re in o){const ee=o[re],ot=$(ee)?ee.bind(n,n):$(ee.get)?ee.get.bind(n,n):st,vt=!$(ee)&&$(ee.set)?ee.set.bind(n):st,qe=be({get:ot,set:vt});Object.defineProperty(s,re,{enumerable:!0,configurable:!0,get:()=>qe.value,set:Ie=>qe.value=Ie})}if(l)for(const re in l)ni(l[re],s,n,re);if(c){const re=$(c)?c.call(n):c;Reflect.ownKeys(re).forEach(ee=>{Pn(ee,re[ee])})}a&&mr(a,e,"c");function fe(re,ee){V(ee)?ee.forEach(ot=>re(ot.bind(n))):ee&&re(ee.bind(n))}if(fe(Vl,d),fe(zs,h),fe(Ul,g),fe(Kl,v),fe(Bl,A),fe(Hl,M),fe(ql,U),fe(Wl,W),fe($l,Q),fe(ei,y),fe(ti,T),fe(Gl,G),V(J))if(J.length){const re=e.exposed||(e.exposed={});J.forEach(ee=>{Object.defineProperty(re,ee,{get:()=>n[ee],set:ot=>n[ee]=ot,enumerable:!0})})}else e.exposed||(e.exposed={});H&&e.render===st&&(e.render=H),le!=null&&(e.inheritAttrs=le),L&&(e.components=L),Z&&(e.directives=Z),G&&Xo(e)}function ec(e,t,n=st){V(e)&&(e=As(e));for(const s in e){const r=e[s];let o;se(r)?"default"in r?o=Ke(r.from||s,r.default,!0):o=Ke(r.from||s):o=Ke(r),we(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function mr(e,t,n){$e(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ni(e,t,n,s){let r=s.includes(".")?$o(n,s):()=>n[s];if(de(e)){const o=t[e];$(o)&&on(r,o)}else if($(e))on(r,e.bind(n));else if(se(e))if(V(e))e.forEach(o=>ni(o,t,n,s));else{const o=$(e.handler)?e.handler.bind(n):t[e.handler];$(o)&&on(r,o,e)}}function si(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Fn(c,f,i,!0)),Fn(c,t,i)),se(t)&&o.set(t,c),c}function Fn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Fn(e,o,n,!0),r&&r.forEach(i=>Fn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=tc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const tc={data:vr,props:yr,emits:yr,methods:en,computed:en,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:en,directives:en,watch:sc,provide:vr,inject:nc};function vr(e,t){return t?e?function(){return ge($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function nc(e,t){return en(As(e),As(t))}function As(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ae(e,t){return e?[...new Set([].concat(e,t))]:t}function en(e,t){return e?ge(Object.create(null),e,t):t}function yr(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:ge(Object.create(null),gr(e),gr(t??{})):t}function sc(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=Ae(e[s],t[s]);return n}function ri(){return{app:null,config:{isNativeTag:uo,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 rc=0;function oc(e,t){return function(s,r=null){$(s)||(s=ge({},s)),r!=null&&!se(r)&&(r=null);const o=ri(),i=new WeakSet,l=[];let c=!1;const f=o.app={_uid:rc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Bc,get config(){return o.config},set config(a){},use(a,...d){return i.has(a)||(a&&$(a.install)?(i.add(a),a.install(f,...d)):$(a)&&(i.add(a),a(f,...d))),f},mixin(a){return o.mixins.includes(a)||o.mixins.push(a),f},component(a,d){return d?(o.components[a]=d,f):o.components[a]},directive(a,d){return d?(o.directives[a]=d,f):o.directives[a]},mount(a,d,h){if(!c){const g=f._ceVNode||Oe(s,r);return g.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),e(g,a,h),c=!0,f._container=a,a.__vue_app__=f,Xn(g.component)}},onUnmount(a){l.push(a)},unmount(){c&&($e(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(a,d){return o.provides[a]=d,f},runWithContext(a){const d=$t;$t=f;try{return a()}finally{$t=d}}};return f}}let $t=null;const ic=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pe(t)}Modifiers`]||e[`${Dt(t)}Modifiers`];function lc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const o=t.startsWith("update:"),i=o&&ic(s,t.slice(7));i&&(i.trim&&(r=n.map(a=>de(a)?a.trim():a)),i.number&&(r=n.map(Ms)));let l,c=s[l=es(t)]||s[l=es(Pe(t))];!c&&o&&(c=s[l=es(Dt(t))]),c&&$e(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,$e(f,e,6,r)}}const cc=new WeakMap;function oi(e,t,n=!1){const s=n?cc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!$(e)){const c=f=>{const a=oi(f,t,!0);a&&(l=!0,ge(i,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!l?(se(e)&&s.set(e,null),null):(V(o)?o.forEach(c=>i[c]=null):ge(i,o),se(e)&&s.set(e,i),i)}function Jn(e,t){return!e||!Vn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,Dt(t))||ne(e,t))}function br(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:c,render:f,renderCache:a,props:d,data:h,setupState:g,ctx:v,inheritAttrs:A}=e,M=Dn(e);let D,y;try{if(n.shapeFlag&4){const T=r||s,H=T;D=tt(f.call(H,T,a,d,g,h,v)),y=l}else{const T=t;D=tt(T.length>1?T(d,{attrs:l,slots:i,emit:c}):T(d,null)),y=t.props?l:ac(l)}}catch(T){un.length=0,qn(T,e,1),D=Oe(Te)}let w=D;if(y&&A!==!1){const T=Object.keys(y),{shapeFlag:H}=w;T.length&&H&7&&(o&&T.some(Un)&&(y=uc(y,o)),w=Et(w,y,!1,!0))}return n.dirs&&(w=Et(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&gn(w,n.transition),D=w,Dn(M),D}const ac=e=>{let t;for(const n in e)(n==="class"||n==="style"||Vn(n))&&((t||(t={}))[n]=e[n]);return t},uc=(e,t)=>{const n={};for(const s in e)(!Un(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function fc(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:c}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?_r(s,i,f):!!i;if(c&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const h=a[d];if(ii(i,s,h)&&!Jn(f,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?_r(s,i,f):!0:!!i;return!1}function _r(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(ii(t,e,o)&&!Jn(n,o))return!0}return!1}function ii(e,t,n){const s=e[n],r=t[n];return n==="style"&&se(s)&&se(r)?!Bs(s,r):s!==r}function dc({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const li={},ci=()=>Object.create(li),ai=e=>Object.getPrototypeOf(e)===li;function pc(e,t,n,s=!1){const r={},o=ci();e.propsDefaults=Object.create(null),ui(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ko(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function hc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=X(r),[c]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let h=a[d];if(Jn(e.emitsOptions,h))continue;const g=t[h];if(c)if(ne(o,h))g!==o[h]&&(o[h]=g,f=!0);else{const v=Pe(h);r[v]=Cs(c,l,v,g,e,!1)}else g!==o[h]&&(o[h]=g,f=!0)}}}else{ui(e,t,r,o)&&(f=!0);let a;for(const d in l)(!t||!ne(t,d)&&((a=Dt(d))===d||!ne(t,a)))&&(c?n&&(n[d]!==void 0||n[a]!==void 0)&&(r[d]=Cs(c,l,d,void 0,e,!0)):delete r[d]);if(o!==l)for(const d in o)(!t||!ne(t,d))&&(delete o[d],f=!0)}f&&ft(e.attrs,"set","")}function ui(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let c in t){if(nn(c))continue;const f=t[c];let a;r&&ne(r,a=Pe(c))?!o||!o.includes(a)?n[a]=f:(l||(l={}))[a]=f:Jn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,i=!0)}if(o){const c=X(n),f=l||ie;for(let a=0;a<o.length;a++){const d=o[a];n[d]=Cs(r,c,d,f[d],e,!ne(f,d))}}return i}function Cs(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=ne(i,"default");if(l&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&$(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const a=En(r);s=f[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Dt(n))&&(s=!0))}return s}const gc=new WeakMap;function fi(e,t,n=!1){const s=n?gc:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let c=!1;if(!$(e)){const a=d=>{c=!0;const[h,g]=fi(d,t,!0);ge(i,h),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!c)return se(e)&&s.set(e,Ut),Ut;if(V(o))for(let a=0;a<o.length;a++){const d=Pe(o[a]);Sr(d)&&(i[d]=ie)}else if(o)for(const a in o){const d=Pe(a);if(Sr(d)){const h=o[a],g=i[d]=V(h)||$(h)?{type:h}:ge({},h),v=g.type;let A=!1,M=!0;if(V(v))for(let D=0;D<v.length;++D){const y=v[D],w=$(y)&&y.name;if(w==="Boolean"){A=!0;break}else w==="String"&&(M=!1)}else A=$(v)&&v.name==="Boolean";g[0]=A,g[1]=M,(A||ne(g,"default"))&&l.push(d)}}const f=[i,l];return se(e)&&s.set(e,f),f}function Sr(e){return e[0]!=="$"&&!nn(e)}const Qs=e=>e==="_"||e==="_ctx"||e==="$stable",Js=e=>V(e)?e.map(tt):[tt(e)],mc=(e,t,n)=>{if(t._n)return t;const s=Ko((...r)=>Js(t(...r)),n);return s._c=!1,s},di=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Qs(r))continue;const o=e[r];if($(o))t[r]=mc(r,o,s);else if(o!=null){const i=Js(o);t[r]=()=>i}}},pi=(e,t)=>{const n=Js(t);e.slots.default=()=>n},hi=(e,t,n)=>{for(const s in t)(n||!Qs(s))&&(e[s]=t[s])},vc=(e,t,n)=>{const s=e.slots=ci();if(e.vnode.shapeFlag&32){const r=t._;r?(hi(s,t,n),n&&mo(s,"_",r,!0)):di(t,s)}else t&&pi(e,t)},yc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ie;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:hi(r,t,n):(o=!t.$stable,di(t,r)),i=t}else t&&(pi(e,t),i={default:1});if(o)for(const l in r)!Qs(l)&&i[l]==null&&delete r[l]},Ne=Ec;function bc(e){return _c(e)}function _c(e,t){const n=$n();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:c,setText:f,setElementText:a,parentNode:d,nextSibling:h,setScopeId:g=st,insertStaticContent:v}=e,A=(u,p,m,b=null,x=null,_=null,P=void 0,O=null,C=!!p.dynamicChildren)=>{if(u===p)return;u&&!It(u,p)&&(b=S(u),Ie(u,x,_,!0),u=null),p.patchFlag===-2&&(C=!1,p.dynamicChildren=null);const{type:E,ref:j,shapeFlag:N}=p;switch(E){case Yn:M(u,p,m,b);break;case Te:D(u,p,m,b);break;case cs:u==null&&y(p,m,b,P);break;case ke:L(u,p,m,b,x,_,P,O,C);break;default:N&1?H(u,p,m,b,x,_,P,O,C):N&6?Z(u,p,m,b,x,_,P,O,C):(N&64||N&128)&&E.process(u,p,m,b,x,_,P,O,C,F)}j!=null&&x?ln(j,u&&u.ref,_,p||u,!p):j==null&&u&&u.ref!=null&&ln(u.ref,null,_,u,!0)},M=(u,p,m,b)=>{if(u==null)s(p.el=l(p.children),m,b);else{const x=p.el=u.el;p.children!==u.children&&f(x,p.children)}},D=(u,p,m,b)=>{u==null?s(p.el=c(p.children||""),m,b):p.el=u.el},y=(u,p,m,b)=>{[u.el,u.anchor]=v(u.children,p,m,b,u.el,u.anchor)},w=({el:u,anchor:p},m,b)=>{let x;for(;u&&u!==p;)x=h(u),s(u,m,b),u=x;s(p,m,b)},T=({el:u,anchor:p})=>{let m;for(;u&&u!==p;)m=h(u),r(u),u=m;r(p)},H=(u,p,m,b,x,_,P,O,C)=>{if(p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),u==null)W(p,m,b,x,_,P,O,C);else{const E=u.el&&u.el._isVueCE?u.el:null;try{E&&E._beginPatch(),G(u,p,x,_,P,O,C)}finally{E&&E._endPatch()}}},W=(u,p,m,b,x,_,P,O)=>{let C,E;const{props:j,shapeFlag:N,transition:B,dirs:K}=u;if(C=u.el=i(u.type,_,j&&j.is,j),N&8?a(C,u.children):N&16&&U(u.children,C,null,b,x,ls(u,_),P,O),K&&At(u,null,b,"created"),Q(C,u,u.scopeId,P,b),j){for(const oe in j)oe!=="value"&&!nn(oe)&&o(C,oe,null,j[oe],_,b);"value"in j&&o(C,"value",null,j.value,_),(E=j.onVnodeBeforeMount)&&Ye(E,b,u)}K&&At(u,null,b,"beforeMount");const z=Sc(x,B);z&&B.beforeEnter(C),s(C,p,m),((E=j&&j.onVnodeMounted)||z||K)&&Ne(()=>{try{E&&Ye(E,b,u),z&&B.enter(C),K&&At(u,null,b,"mounted")}finally{}},x)},Q=(u,p,m,b,x)=>{if(m&&g(u,m),b)for(let _=0;_<b.length;_++)g(u,b[_]);if(x){let _=x.subTree;if(p===_||yi(_.type)&&(_.ssContent===p||_.ssFallback===p)){const P=x.vnode;Q(u,P,P.scopeId,P.slotScopeIds,x.parent)}}},U=(u,p,m,b,x,_,P,O,C=0)=>{for(let E=C;E<u.length;E++){const j=u[E]=O?ut(u[E]):tt(u[E]);A(null,j,p,m,b,x,_,P,O)}},G=(u,p,m,b,x,_,P)=>{const O=p.el=u.el;let{patchFlag:C,dynamicChildren:E,dirs:j}=p;C|=u.patchFlag&16;const N=u.props||ie,B=p.props||ie;let K;if(m&&Ct(m,!1),(K=B.onVnodeBeforeUpdate)&&Ye(K,m,p,u),j&&At(p,u,m,"beforeUpdate"),m&&Ct(m,!0),(N.innerHTML&&B.innerHTML==null||N.textContent&&B.textContent==null)&&a(O,""),E?J(u.dynamicChildren,E,O,m,b,ls(p,x),_):P||ee(u,p,O,null,m,b,ls(p,x),_,!1),C>0){if(C&16)le(O,N,B,m,x);else if(C&2&&N.class!==B.class&&o(O,"class",null,B.class,x),C&4&&o(O,"style",N.style,B.style,x),C&8){const z=p.dynamicProps;for(let oe=0;oe<z.length;oe++){const ce=z[oe],pe=N[ce],_e=B[ce];(_e!==pe||ce==="value")&&o(O,ce,pe,_e,x,m)}}C&1&&u.children!==p.children&&a(O,p.children)}else!P&&E==null&&le(O,N,B,m,x);((K=B.onVnodeUpdated)||j)&&Ne(()=>{K&&Ye(K,m,p,u),j&&At(p,u,m,"updated")},b)},J=(u,p,m,b,x,_,P)=>{for(let O=0;O<p.length;O++){const C=u[O],E=p[O],j=C.el&&(C.type===ke||!It(C,E)||C.shapeFlag&198)?d(C.el):m;A(C,E,j,null,b,x,_,P,!0)}},le=(u,p,m,b,x)=>{if(p!==m){if(p!==ie)for(const _ in p)!nn(_)&&!(_ in m)&&o(u,_,p[_],null,x,b);for(const _ in m){if(nn(_))continue;const P=m[_],O=p[_];P!==O&&_!=="value"&&o(u,_,O,P,x,b)}"value"in m&&o(u,"value",p.value,m.value,x)}},L=(u,p,m,b,x,_,P,O,C)=>{const E=p.el=u?u.el:l(""),j=p.anchor=u?u.anchor:l("");let{patchFlag:N,dynamicChildren:B,slotScopeIds:K}=p;K&&(O=O?O.concat(K):K),u==null?(s(E,m,b),s(j,m,b),U(p.children||[],m,j,x,_,P,O,C)):N>0&&N&64&&B&&u.dynamicChildren&&u.dynamicChildren.length===B.length?(J(u.dynamicChildren,B,m,x,_,P,O),(p.key!=null||x&&p===x.subTree)&&gi(u,p,!0)):ee(u,p,m,j,x,_,P,O,C)},Z=(u,p,m,b,x,_,P,O,C)=>{p.slotScopeIds=O,u==null?p.shapeFlag&512?x.ctx.activate(p,m,b,P,C):me(p,m,b,x,_,P,C):De(u,p,C)},me=(u,p,m,b,x,_,P)=>{const O=u.component=Ic(u,b,x);if(zn(u)&&(O.ctx.renderer=F),Nc(O,!1,P),O.asyncDep){if(x&&x.registerDep(O,fe,P),!u.el){const C=O.subTree=Oe(Te);D(null,C,p,m),u.placeholder=C.el}}else fe(O,u,p,m,x,_,P)},De=(u,p,m)=>{const b=p.component=u.component;if(fc(u,p,m))if(b.asyncDep&&!b.asyncResolved){re(b,p,m);return}else b.next=p,b.update();else p.el=u.el,b.vnode=p},fe=(u,p,m,b,x,_,P)=>{const O=()=>{if(u.isMounted){let{next:N,bu:B,u:K,parent:z,vnode:oe}=u;{const Qe=mi(u);if(Qe){N&&(N.el=oe.el,re(u,N,P)),Qe.asyncDep.then(()=>{Ne(()=>{u.isUnmounted||E()},x)});return}}let ce=N,pe;Ct(u,!1),N?(N.el=oe.el,re(u,N,P)):N=oe,B&&Tn(B),(pe=N.props&&N.props.onVnodeBeforeUpdate)&&Ye(pe,z,N,oe),Ct(u,!0);const _e=br(u),ze=u.subTree;u.subTree=_e,A(ze,_e,d(ze.el),S(ze),u,x,_),N.el=_e.el,ce===null&&dc(u,_e.el),K&&Ne(K,x),(pe=N.props&&N.props.onVnodeUpdated)&&Ne(()=>Ye(pe,z,N,oe),x)}else{let N;const{el:B,props:K}=p,{bm:z,m:oe,parent:ce,root:pe,type:_e}=u,ze=cn(p);Ct(u,!1),z&&Tn(z),!ze&&(N=K&&K.onVnodeBeforeMount)&&Ye(N,ce,p),Ct(u,!0);{pe.ce&&pe.ce._hasShadowRoot()&&pe.ce._injectChildStyle(_e,u.parent?u.parent.type:void 0);const Qe=u.subTree=br(u);A(null,Qe,m,b,u,x,_),p.el=Qe.el}if(oe&&Ne(oe,x),!ze&&(N=K&&K.onVnodeMounted)){const Qe=p;Ne(()=>Ye(N,ce,Qe),x)}(p.shapeFlag&256||ce&&cn(ce.vnode)&&ce.vnode.shapeFlag&256)&&u.a&&Ne(u.a,x),u.isMounted=!0,p=m=b=null}};u.scope.on();const C=u.effect=new _o(O);u.scope.off();const E=u.update=C.run.bind(C),j=u.job=C.runIfDirty.bind(C);j.i=u,j.id=u.uid,C.scheduler=()=>Ws(j),Ct(u,!0),E()},re=(u,p,m)=>{p.component=u;const b=u.vnode.props;u.vnode=p,u.next=null,hc(u,p.props,b,m),yc(u,p.children,m),pt(),ur(u),ht()},ee=(u,p,m,b,x,_,P,O,C=!1)=>{const E=u&&u.children,j=u?u.shapeFlag:0,N=p.children,{patchFlag:B,shapeFlag:K}=p;if(B>0){if(B&128){vt(E,N,m,b,x,_,P,O,C);return}else if(B&256){ot(E,N,m,b,x,_,P,O,C);return}}K&8?(j&16&&He(E,x,_),N!==E&&a(m,N)):j&16?K&16?vt(E,N,m,b,x,_,P,O,C):He(E,x,_,!0):(j&8&&a(m,""),K&16&&U(N,m,b,x,_,P,O,C))},ot=(u,p,m,b,x,_,P,O,C)=>{u=u||Ut,p=p||Ut;const E=u.length,j=p.length,N=Math.min(E,j);let B;for(B=0;B<N;B++){const K=p[B]=C?ut(p[B]):tt(p[B]);A(u[B],K,m,null,x,_,P,O,C)}E>j?He(u,x,_,!0,!1,N):U(p,m,b,x,_,P,O,C,N)},vt=(u,p,m,b,x,_,P,O,C)=>{let E=0;const j=p.length;let N=u.length-1,B=j-1;for(;E<=N&&E<=B;){const K=u[E],z=p[E]=C?ut(p[E]):tt(p[E]);if(It(K,z))A(K,z,m,null,x,_,P,O,C);else break;E++}for(;E<=N&&E<=B;){const K=u[N],z=p[B]=C?ut(p[B]):tt(p[B]);if(It(K,z))A(K,z,m,null,x,_,P,O,C);else break;N--,B--}if(E>N){if(E<=B){const K=B+1,z=K<j?p[K].el:b;for(;E<=B;)A(null,p[E]=C?ut(p[E]):tt(p[E]),m,z,x,_,P,O,C),E++}}else if(E>B)for(;E<=N;)Ie(u[E],x,_,!0),E++;else{const K=E,z=E,oe=new Map;for(E=z;E<=B;E++){const Me=p[E]=C?ut(p[E]):tt(p[E]);Me.key!=null&&oe.set(Me.key,E)}let ce,pe=0;const _e=B-z+1;let ze=!1,Qe=0;const Qt=new Array(_e);for(E=0;E<_e;E++)Qt[E]=0;for(E=K;E<=N;E++){const Me=u[E];if(pe>=_e){Ie(Me,x,_,!0);continue}let Je;if(Me.key!=null)Je=oe.get(Me.key);else for(ce=z;ce<=B;ce++)if(Qt[ce-z]===0&&It(Me,p[ce])){Je=ce;break}Je===void 0?Ie(Me,x,_,!0):(Qt[Je-z]=E+1,Je>=Qe?Qe=Je:ze=!0,A(Me,p[Je],m,null,x,_,P,O,C),pe++)}const sr=ze?xc(Qt):Ut;for(ce=sr.length-1,E=_e-1;E>=0;E--){const Me=z+E,Je=p[Me],rr=p[Me+1],or=Me+1<j?rr.el||vi(rr):b;Qt[E]===0?A(null,Je,m,or,x,_,P,O,C):ze&&(ce<0||E!==sr[ce]?qe(Je,m,or,2):ce--)}}},qe=(u,p,m,b,x=null)=>{const{el:_,type:P,transition:O,children:C,shapeFlag:E}=u;if(E&6){qe(u.component.subTree,p,m,b);return}if(E&128){u.suspense.move(p,m,b);return}if(E&64){P.move(u,p,m,F);return}if(P===ke){s(_,p,m);for(let N=0;N<C.length;N++)qe(C[N],p,m,b);s(u.anchor,p,m);return}if(P===cs){w(u,p,m);return}if(b!==2&&E&1&&O)if(b===0)O.beforeEnter(_),s(_,p,m),Ne(()=>O.enter(_),x);else{const{leave:N,delayLeave:B,afterLeave:K}=O,z=()=>{u.ctx.isUnmounted?r(_):s(_,p,m)},oe=()=>{_._isLeaving&&_[Ze](!0),N(_,()=>{z(),K&&K()})};B?B(_,z,oe):oe()}else s(_,p,m)},Ie=(u,p,m,b=!1,x=!1)=>{const{type:_,props:P,ref:O,children:C,dynamicChildren:E,shapeFlag:j,patchFlag:N,dirs:B,cacheIndex:K,memo:z}=u;if(N===-2&&(x=!1),O!=null&&(pt(),ln(O,null,m,u,!0),ht()),K!=null&&(p.renderCache[K]=void 0),j&256){p.ctx.deactivate(u);return}const oe=j&1&&B,ce=!cn(u);let pe;if(ce&&(pe=P&&P.onVnodeBeforeUnmount)&&Ye(pe,p,u),j&6)wt(u.component,m,b);else{if(j&128){u.suspense.unmount(m,b);return}oe&&At(u,null,p,"beforeUnmount"),j&64?u.type.remove(u,p,m,F,b):E&&!E.hasOnce&&(_!==ke||N>0&&N&64)?He(E,p,m,!1,!0):(_===ke&&N&384||!x&&j&16)&&He(C,p,m),b&&Mt(u)}const _e=z!=null&&K==null;(ce&&(pe=P&&P.onVnodeUnmounted)||oe||_e)&&Ne(()=>{pe&&Ye(pe,p,u),oe&&At(u,null,p,"unmounted"),_e&&(u.el=null)},m)},Mt=u=>{const{type:p,el:m,anchor:b,transition:x}=u;if(p===ke){Ft(m,b);return}if(p===cs){T(u);return}const _=()=>{r(m),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(u.shapeFlag&1&&x&&!x.persisted){const{leave:P,delayLeave:O}=x,C=()=>P(m,_);O?O(u.el,_,C):C()}else _()},Ft=(u,p)=>{let m;for(;u!==p;)m=h(u),r(u),u=m;r(p)},wt=(u,p,m)=>{const{bum:b,scope:x,job:_,subTree:P,um:O,m:C,a:E}=u;xr(C),xr(E),b&&Tn(b),x.stop(),_&&(_.flags|=8,Ie(P,u,p,m)),O&&Ne(O,p),Ne(()=>{u.isUnmounted=!0},p)},He=(u,p,m,b=!1,x=!1,_=0)=>{for(let P=_;P<u.length;P++)Ie(u[P],p,m,b,x)},S=u=>{if(u.shapeFlag&6)return S(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const p=h(u.anchor||u.el),m=p&&p[kl];return m?h(m):p};let k=!1;const I=(u,p,m)=>{let b;u==null?p._vnode&&(Ie(p._vnode,null,null,!0),b=p._vnode.component):A(p._vnode||null,u,p,null,null,null,m),p._vnode=u,k||(k=!0,ur(b),jo(),k=!1)},F={p:A,um:Ie,m:qe,r:Mt,mt:me,mc:U,pc:ee,pbc:J,n:S,o:e};return{render:I,hydrate:void 0,createApp:oc(I)}}function ls({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Sc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function gi(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=ut(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&gi(i,l)),l.type===Yn&&(l.patchFlag===-1&&(l=r[o]=ut(l)),l.el=i.el),l.type===Te&&!l.el&&(l.el=i.el)}}function xc(e){const t=e.slice(),n=[0];let s,r,o,i,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<f?o=l+1:i=l;f<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function mi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:mi(t)}function xr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function vi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?vi(t.subTree):null}const yi=e=>e.__isSuspense;function Ec(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Ol(e)}const ke=Symbol.for("v-fgt"),Yn=Symbol.for("v-txt"),Te=Symbol.for("v-cmt"),cs=Symbol.for("v-stc"),un=[];let Be=null;function ye(e=!1){un.push(Be=e?null:[])}function wc(){un.pop(),Be=un[un.length-1]||null}let mn=1;function Bn(e,t=!1){mn+=e,e<0&&Be&&t&&(Be.hasOnce=!0)}function bi(e){return e.dynamicChildren=mn>0?Be||Ut:null,wc(),mn>0&&Be&&Be.push(e),e}function Se(e,t,n,s,r,o){return bi(R(e,t,n,s,r,o,!0))}function Ac(e,t,n,s,r){return bi(Oe(e,t,n,s,r,!0))}function Hn(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const _i=({key:e})=>e??null,In=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||we(e)||$(e)?{i:Fe,r:e,k:t,f:!!n}:e:null);function R(e,t=null,n=null,s=0,r=null,o=e===ke?0:1,i=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&_i(t),ref:t&&In(t),scopeId:Uo,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Fe};return l?(Ys(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=de(n)?8:16),mn>0&&!i&&Be&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Be.push(c),c}const Oe=Cc;function Cc(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Jl)&&(e=Te),Hn(e)){const l=Et(e,t,!0);return n&&Ys(l,n),mn>0&&!o&&Be&&(l.shapeFlag&6?Be[Be.indexOf(e)]=l:Be.push(l)),l.patchFlag=-2,l}if(Fc(e)&&(e=e.__vccOpts),t){t=Rc(t);let{class:l,style:c}=t;l&&!de(l)&&(t.class=xt(l)),se(c)&&($s(c)&&!V(c)&&(c=ge({},c)),t.style=Fs(c))}const i=de(e)?1:yi(e)?128:Wo(e)?64:se(e)?4:$(e)?2:0;return R(e,t,n,s,r,i,o,!0)}function Rc(e){return e?$s(e)||ai(e)?ge({},e):e:null}function Et(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:c}=e,f=t?Tc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&_i(f),ref:t&&t.ref?n&&o?V(o)?o.concat(In(t)):[o,In(t)]:In(t):o,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!==ke?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Et(e.ssContent),ssFallback:e.ssFallback&&Et(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&gn(a,c.clone(a)),a}function tn(e=" ",t=0){return Oe(Yn,null,e,t)}function Rt(e="",t=!1){return t?(ye(),Ac(Te,null,e)):Oe(Te,null,e)}function tt(e){return e==null||typeof e=="boolean"?Oe(Te):V(e)?Oe(ke,null,e.slice()):Hn(e)?ut(e):Oe(Yn,null,String(e))}function ut(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Et(e)}function Ys(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ys(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ai(t)?t._ctx=Fe:r===3&&Fe&&(Fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:Fe},n=32):(t=String(t),s&64?(n=16,t=[tn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=xt([t.class,s.class]));else if(r==="style")t.style=Fs([t.style,s.style]);else if(Vn(r)){const o=t[r],i=s[r];i&&o!==i&&!(V(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Un(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function Ye(e,t,n,s=null){$e(e,t,7,[n,s])}const Oc=ri();let Pc=0;function Ic(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Oc,o={uid:Pc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:fi(s,r),emitsOptions:oi(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=lc.bind(null,o),e.ce&&e.ce(o),o}let Ee=null;const Si=()=>Ee||Fe;let jn,Rs;{const e=$n(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};jn=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),Rs=t("__VUE_SSR_SETTERS__",n=>vn=n)}const En=e=>{const t=Ee;return jn(e),e.scope.on(),()=>{e.scope.off(),jn(t)}},Er=()=>{Ee&&Ee.scope.off(),jn(null)};function xi(e){return e.vnode.shapeFlag&4}let vn=!1;function Nc(e,t=!1,n=!1){t&&Rs(t);const{props:s,children:r}=e.vnode,o=xi(e);pc(e,s,o,t),vc(e,r,n||t);const i=o?Lc(e,t):void 0;return t&&Rs(!1),i}function Lc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xl);const{setup:s}=n;if(s){pt();const r=e.setupContext=s.length>1?Dc(e):null,o=En(e),i=xn(s,e,0,[e.props,r]),l=po(i);if(ht(),o(),(l||e.sp)&&!cn(e)&&Xo(e),l){if(i.then(Er,Er),t)return i.then(c=>{wr(e,c)}).catch(c=>{qn(c,e,0)});e.asyncDep=i}else wr(e,i)}else Ei(e)}function wr(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=Mo(t)),Ei(e)}function Ei(e,t,n){const s=e.type;e.render||(e.render=s.render||st);{const r=En(e);pt();try{Zl(e)}finally{ht(),r()}}}const kc={get(e,t){return xe(e,"get",""),e[t]}};function Dc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kc),slots:e.slots,emit:e.emit,expose:t}}function Xn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Mo(bl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in an)return an[n](e)},has(t,n){return n in t||n in an}})):e.proxy}function Mc(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function Fc(e){return $(e)&&"__vccOpts"in e}const be=(e,t)=>wl(e,t,vn);function Xs(e,t,n){try{Bn(-1);const s=arguments.length;return s===2?se(t)&&!V(t)?Hn(t)?Oe(e,null,[t]):Oe(e,t):Oe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Hn(n)&&(n=[n]),Oe(e,t,n))}finally{Bn(1)}}const Bc="3.5.32";/**
|
|
14
|
+
* @vue/runtime-dom v3.5.32
|
|
15
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
+
* @license MIT
|
|
17
|
+
**/let Ts;const Ar=typeof window<"u"&&window.trustedTypes;if(Ar)try{Ts=Ar.createPolicy("vue",{createHTML:e=>e})}catch{}const wi=Ts?e=>Ts.createHTML(e):e=>e,Hc="http://www.w3.org/2000/svg",jc="http://www.w3.org/1998/Math/MathML",at=typeof document<"u"?document:null,Cr=at&&at.createElement("template"),Vc={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 r=t==="svg"?at.createElementNS(Hc,e):t==="mathml"?at.createElementNS(jc,e):n?at.createElement(e,{is:n}):at.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>at.createTextNode(e),createComment:e=>at.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>at.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Cr.innerHTML=wi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Cr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yt="transition",Xt="animation",yn=Symbol("_vtc"),Ai={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},Uc=ge({},qo,Ai),Kc=e=>(e.displayName="Transition",e.props=Uc,e),Gc=Kc((e,{slots:t})=>Xs(Fl,$c(e),t)),Tt=(e,t=[])=>{V(e)?e.forEach(n=>n(...t)):e&&e(...t)},Rr=e=>e?V(e)?e.some(t=>t.length>1):e.length>1:!1;function $c(e){const t={};for(const L in e)L in Ai||(t[L]=e[L]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:f=i,appearToClass:a=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,v=Wc(r),A=v&&v[0],M=v&&v[1],{onBeforeEnter:D,onEnter:y,onEnterCancelled:w,onLeave:T,onLeaveCancelled:H,onBeforeAppear:W=D,onAppear:Q=y,onAppearCancelled:U=w}=t,G=(L,Z,me,De)=>{L._enterCancelled=De,Ot(L,Z?a:l),Ot(L,Z?f:i),me&&me()},J=(L,Z)=>{L._isLeaving=!1,Ot(L,d),Ot(L,g),Ot(L,h),Z&&Z()},le=L=>(Z,me)=>{const De=L?Q:y,fe=()=>G(Z,L,me);Tt(De,[Z,fe]),Tr(()=>{Ot(Z,L?c:o),lt(Z,L?a:l),Rr(De)||Or(Z,s,A,fe)})};return ge(t,{onBeforeEnter(L){Tt(D,[L]),lt(L,o),lt(L,i)},onBeforeAppear(L){Tt(W,[L]),lt(L,c),lt(L,f)},onEnter:le(!1),onAppear:le(!0),onLeave(L,Z){L._isLeaving=!0;const me=()=>J(L,Z);lt(L,d),L._enterCancelled?(lt(L,h),Nr(L)):(Nr(L),lt(L,h)),Tr(()=>{L._isLeaving&&(Ot(L,d),lt(L,g),Rr(T)||Or(L,s,M,me))}),Tt(T,[L,me])},onEnterCancelled(L){G(L,!1,void 0,!0),Tt(w,[L])},onAppearCancelled(L){G(L,!0,void 0,!0),Tt(U,[L])},onLeaveCancelled(L){J(L),Tt(H,[L])}})}function Wc(e){if(e==null)return null;if(se(e))return[as(e.enter),as(e.leave)];{const t=as(e);return[t,t]}}function as(e){return $i(e)}function lt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[yn]||(e[yn]=new Set)).add(t)}function Ot(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[yn];n&&(n.delete(t),n.size||(e[yn]=void 0))}function Tr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let qc=0;function Or(e,t,n,s){const r=e._endId=++qc,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:c}=zc(e,t);if(!i)return s();const f=i+"end";let a=0;const d=()=>{e.removeEventListener(f,h),o()},h=g=>{g.target===e&&++a>=c&&d()};setTimeout(()=>{a<c&&d()},l+1),e.addEventListener(f,h)}function zc(e,t){const n=window.getComputedStyle(e),s=v=>(n[v]||"").split(", "),r=s(`${yt}Delay`),o=s(`${yt}Duration`),i=Pr(r,o),l=s(`${Xt}Delay`),c=s(`${Xt}Duration`),f=Pr(l,c);let a=null,d=0,h=0;t===yt?i>0&&(a=yt,d=i,h=o.length):t===Xt?f>0&&(a=Xt,d=f,h=c.length):(d=Math.max(i,f),a=d>0?i>f?yt:Xt:null,h=a?a===yt?o.length:c.length:0);const g=a===yt&&/\b(?:transform|all)(?:,|$)/.test(s(`${yt}Property`).toString());return{type:a,timeout:d,propCount:h,hasTransform:g}}function Pr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Ir(n)+Ir(e[s])))}function Ir(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Nr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Qc(e,t,n){const s=e[yn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Lr=Symbol("_vod"),Jc=Symbol("_vsh"),Yc=Symbol(""),Xc=/(?:^|;)\s*display\s*:/;function Zc(e,t,n){const s=e.style,r=de(n);let o=!1;if(n&&!r){if(t)if(de(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Nn(s,l,"")}else for(const i in t)n[i]==null&&Nn(s,i,"");for(const i in n)i==="display"&&(o=!0),Nn(s,i,n[i])}else if(r){if(t!==n){const i=s[Yc];i&&(n+=";"+i),s.cssText=n,o=Xc.test(n)}}else t&&e.removeAttribute("style");Lr in e&&(e[Lr]=o?s.display:"",e[Jc]&&(s.display="none"))}const kr=/\s*!important$/;function Nn(e,t,n){if(V(n))n.forEach(s=>Nn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ea(e,t);kr.test(n)?e.setProperty(Dt(s),n.replace(kr,""),"important"):e[s]=n}}const Dr=["Webkit","Moz","ms"],us={};function ea(e,t){const n=us[t];if(n)return n;let s=Pe(t);if(s!=="filter"&&s in e)return us[t]=s;s=Gn(s);for(let r=0;r<Dr.length;r++){const o=Dr[r]+s;if(o in e)return us[t]=o}return t}const Mr="http://www.w3.org/1999/xlink";function Fr(e,t,n,s,r,o=Yi(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Mr,t.slice(6,t.length)):e.setAttributeNS(Mr,t,n):n==null||o&&!vo(n)?e.removeAttribute(t):e.setAttribute(t,o?"":rt(n)?String(n):n)}function Br(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?wi(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=vo(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function jt(e,t,n,s){e.addEventListener(t,n,s)}function ta(e,t,n,s){e.removeEventListener(t,n,s)}const Hr=Symbol("_vei");function na(e,t,n,s,r=null){const o=e[Hr]||(e[Hr]={}),i=o[t];if(s&&i)i.value=s;else{const[l,c]=sa(t);if(s){const f=o[t]=ia(s,r);jt(e,l,f,c)}else i&&(ta(e,l,i,c),o[t]=void 0)}}const jr=/(?:Once|Passive|Capture)$/;function sa(e){let t;if(jr.test(e)){t={};let s;for(;s=e.match(jr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Dt(e.slice(2)),t]}let fs=0;const ra=Promise.resolve(),oa=()=>fs||(ra.then(()=>fs=0),fs=Date.now());function ia(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;$e(la(s,n.value),t,5,[s])};return n.value=e,n.attached=oa(),n}function la(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Vr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ca=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Qc(e,s,i):t==="style"?Zc(e,n,s):Vn(t)?Un(t)||na(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):aa(e,t,s,i))?(Br(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fr(e,t,s,i,o,t!=="value")):e._isVueCE&&(ua(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!de(s)))?Br(e,Pe(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Fr(e,t,s,i))};function aa(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Vr(t)&&$(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 r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Vr(t)&&de(n)?!1:t in e}function ua(e,t){const n=e._def.props;if(!n)return!1;const s=Pe(t);return Array.isArray(n)?n.some(r=>Pe(r)===s):Object.keys(n).some(r=>Pe(r)===s)}const Ur=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>Tn(t,n):t};function fa(e){e.target.composing=!0}function Kr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ds=Symbol("_assign");function Gr(e,t,n){return t&&(e=e.trim()),n&&(e=Ms(e)),e}const da={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[ds]=Ur(r);const o=s||r.props&&r.props.type==="number";jt(e,t?"change":"input",i=>{i.target.composing||e[ds](Gr(e.value,n,o))}),(n||o)&&jt(e,"change",()=>{e.value=Gr(e.value,n,o)}),t||(jt(e,"compositionstart",fa),jt(e,"compositionend",Kr),jt(e,"change",Kr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[ds]=Ur(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ms(e.value):e.value,c=t??"";if(l===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},pa=["ctrl","shift","alt","meta"],ha={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)=>pa.some(n=>e[`${n}Key`]&&!t.includes(n))},ga=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=ha[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},ma=ge({patchProp:ca},Vc);let $r;function va(){return $r||($r=bc(ma))}const ya=((...e)=>{const t=va().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=_a(s);if(!r)return;const o=t._component;!$(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,ba(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function ba(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _a(e){return de(e)?document.querySelector(e):e}const Sa="modulepreload",xa=function(e){return"/"+e},Wr={},Ci=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(f){return Promise.all(f.map(a=>Promise.resolve(a).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),c=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(f=>{if(f=xa(f),f in Wr)return;Wr[f]=!0;const a=f.endsWith(".css"),d=a?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${f}"]${d}`))return;const h=document.createElement("link");if(h.rel=a?"stylesheet":Sa,a||(h.as="script"),h.crossOrigin="",h.href=f,c&&h.setAttribute("nonce",c),document.head.appendChild(h),a)return new Promise((g,v)=>{h.addEventListener("load",g),h.addEventListener("error",()=>v(new Error(`Unable to preload CSS for ${f}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};/*!
|
|
18
|
+
* vue-router v4.6.4
|
|
19
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
20
|
+
* @license MIT
|
|
21
|
+
*/const Vt=typeof document<"u";function Ri(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ea(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ri(e.default)}const te=Object.assign;function ps(e,t){const n={};for(const s in t){const r=t[s];n[s]=We(r)?r.map(e):e(r)}return n}const fn=()=>{},We=Array.isArray;function qr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Ti=/#/g,wa=/&/g,Aa=/\//g,Ca=/=/g,Ra=/\?/g,Oi=/\+/g,Ta=/%5B/g,Oa=/%5D/g,Pi=/%5E/g,Pa=/%60/g,Ii=/%7B/g,Ia=/%7C/g,Ni=/%7D/g,Na=/%20/g;function Zs(e){return e==null?"":encodeURI(""+e).replace(Ia,"|").replace(Ta,"[").replace(Oa,"]")}function La(e){return Zs(e).replace(Ii,"{").replace(Ni,"}").replace(Pi,"^")}function Os(e){return Zs(e).replace(Oi,"%2B").replace(Na,"+").replace(Ti,"%23").replace(wa,"%26").replace(Pa,"`").replace(Ii,"{").replace(Ni,"}").replace(Pi,"^")}function ka(e){return Os(e).replace(Ca,"%3D")}function Da(e){return Zs(e).replace(Ti,"%23").replace(Ra,"%3F")}function Ma(e){return Da(e).replace(Aa,"%2F")}function bn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Fa=/\/$/,Ba=e=>e.replace(Fa,"");function hs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),o=t.slice(c,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Ua(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:bn(i)}}function Ha(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function zr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ja(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&qt(t.matched[s],n.matched[r])&&Li(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Li(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Va(e[n],t[n]))return!1;return!0}function Va(e,t){return We(e)?Qr(e,t):We(t)?Qr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Qr(e,t){return We(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Ua(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const bt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ps=(function(e){return e.pop="pop",e.push="push",e})({}),gs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Ka(e){if(!e)if(Vt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Ba(e)}const Ga=/^[^#]+#/;function $a(e,t){return e.replace(Ga,"#")+t}function Wa(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Zn=()=>({left:window.scrollX,top:window.scrollY});function qa(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Wa(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Jr(e,t){return(history.state?history.state.position-t:-1)+e}const Is=new Map;function za(e,t){Is.set(e,t)}function Qa(e){const t=Is.get(e);return Is.delete(e),t}function Ja(e){return typeof e=="string"||e&&typeof e=="object"}function ki(e){return typeof e=="string"||typeof e=="symbol"}let ue=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Di=Symbol("");ue.MATCHER_NOT_FOUND+"",ue.NAVIGATION_GUARD_REDIRECT+"",ue.NAVIGATION_ABORTED+"",ue.NAVIGATION_CANCELLED+"",ue.NAVIGATION_DUPLICATED+"";function zt(e,t){return te(new Error,{type:e,[Di]:!0},t)}function ct(e,t){return e instanceof Error&&Di in e&&(t==null||!!(e.type&t))}const Ya=["params","query","hash"];function Xa(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Ya)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Za(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Oi," "),o=r.indexOf("="),i=bn(o<0?r:r.slice(0,o)),l=o<0?null:bn(r.slice(o+1));if(i in t){let c=t[i];We(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Yr(e){let t="";for(let n in e){const s=e[n];if(n=ka(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(We(s)?s.map(r=>r&&Os(r)):[s&&Os(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function eu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=We(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const tu=Symbol(""),Xr=Symbol(""),er=Symbol(""),tr=Symbol(""),Ns=Symbol("");function Zt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function St(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const f=h=>{h===!1?c(zt(ue.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?c(h):Ja(h)?c(zt(ue.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),l())},a=o(()=>e.call(s&&s.instances[r],t,n,f));let d=Promise.resolve(a);e.length<3&&(d=d.then(f)),d.catch(h=>c(h))})}function ms(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let c=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ri(c)){const f=(c.__vccOpts||c)[t];f&&o.push(St(f,n,s,i,l,r))}else{let f=c();o.push(()=>f.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Ea(a)?a.default:a;i.mods[l]=a,i.components[l]=d;const h=(d.__vccOpts||d)[t];return h&&St(h,n,s,i,l,r)()}))}}return o}function nu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(f=>qt(f,l))?s.push(l):n.push(l));const c=e.matched[i];c&&(t.matched.find(f=>qt(f,c))||r.push(c))}return[n,s,r]}/*!
|
|
22
|
+
* vue-router v4.6.4
|
|
23
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
24
|
+
* @license MIT
|
|
25
|
+
*/let su=()=>location.protocol+"//"+location.host;function Mi(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),zr(l,"")}return zr(n,e)+s+r}function ru(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const g=Mi(e,location),v=n.value,A=t.value;let M=0;if(h){if(n.value=g,t.value=h,i&&i===v){i=null;return}M=A?h.position-A.position:0}else s(g);r.forEach(D=>{D(n.value,v,{delta:M,type:Ps.pop,direction:M?M>0?gs.forward:gs.back:gs.unknown})})};function c(){i=n.value}function f(h){r.push(h);const g=()=>{const v=r.indexOf(h);v>-1&&r.splice(v,1)};return o.push(g),g}function a(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(te({},h.state,{scroll:Zn()}),"")}}function d(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:c,listen:f,destroy:d}}function Zr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Zn():null}}function ou(e){const{history:t,location:n}=window,s={value:Mi(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,f,a){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+c:su()+e+c;try{t[a?"replaceState":"pushState"](f,"",h),r.value=f}catch(g){console.error(g),n[a?"replace":"assign"](h)}}function i(c,f){o(c,te({},t.state,Zr(r.value.back,c,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=c}function l(c,f){const a=te({},r.value,t.state,{forward:c,scroll:Zn()});o(a.current,a,!0),o(c,te({},Zr(s.value,c,null),{position:a.position+1},f),!1),s.value=c}return{location:s,state:r,push:l,replace:i}}function iu(e){e=Ka(e);const t=ou(e),n=ru(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=te({location:"",base:e,go:s,createHref:$a.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Nt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var he=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(he||{});const lu={type:Nt.Static,value:""},cu=/[a-zA-Z0-9_]/;function au(e){if(!e)return[[]];if(e==="/")return[[lu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${f}": ${g}`)}let n=he.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,c,f="",a="";function d(){f&&(n===he.Static?o.push({type:Nt.Static,value:f}):n===he.Param||n===he.ParamRegExp||n===he.ParamRegExpEnd?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Nt.Param,value:f,regexp:a,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==he.ParamRegExp){s=n,n=he.EscapeNext;continue}switch(n){case he.Static:c==="/"?(f&&d(),i()):c===":"?(d(),n=he.Param):h();break;case he.EscapeNext:h(),n=s;break;case he.Param:c==="("?n=he.ParamRegExp:cu.test(c)?h():(d(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case he.ParamRegExp:c===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+c:n=he.ParamRegExpEnd:a+=c;break;case he.ParamRegExpEnd:d(),n=he.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,a="";break;default:t("Unknown state");break}}return n===he.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),d(),i(),r}const eo="[^/]+?",uu={sensitive:!1,strict:!1,start:!0,end:!0};var Ce=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Ce||{});const fu=/[.+*?^${}()[\]/\\]/g;function du(e,t){const n=te({},uu,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const a=f.length?[]:[Ce.Root];n.strict&&!f.length&&(r+="/");for(let d=0;d<f.length;d++){const h=f[d];let g=Ce.Segment+(n.sensitive?Ce.BonusCaseSensitive:0);if(h.type===Nt.Static)d||(r+="/"),r+=h.value.replace(fu,"\\$&"),g+=Ce.Static;else if(h.type===Nt.Param){const{value:v,repeatable:A,optional:M,regexp:D}=h;o.push({name:v,repeatable:A,optional:M});const y=D||eo;if(y!==eo){g+=Ce.BonusCustomRegExp;try{`${y}`}catch(T){throw new Error(`Invalid custom RegExp for param "${v}" (${y}): `+T.message)}}let w=A?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;d||(w=M&&f.length<2?`(?:/${w})`:"/"+w),M&&(w+="?"),r+=w,g+=Ce.Dynamic,M&&(g+=Ce.BonusOptional),A&&(g+=Ce.BonusRepeatable),y===".*"&&(g+=Ce.BonusWildcard)}a.push(g)}s.push(a)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=Ce.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(f){const a=f.match(i),d={};if(!a)return null;for(let h=1;h<a.length;h++){const g=a[h]||"",v=o[h-1];d[v.name]=g&&v.repeatable?g.split("/"):g}return d}function c(f){let a="",d=!1;for(const h of e){(!d||!a.endsWith("/"))&&(a+="/"),d=!1;for(const g of h)if(g.type===Nt.Static)a+=g.value;else if(g.type===Nt.Param){const{value:v,repeatable:A,optional:M}=g,D=v in f?f[v]:"";if(We(D)&&!A)throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);const y=We(D)?D.join("/"):D;if(!y)if(M)h.length<2&&(a.endsWith("/")?a=a.slice(0,-1):d=!0);else throw new Error(`Missing required param "${v}"`);a+=y}}return a||"/"}return{re:i,score:s,keys:o,parse:l,stringify:c}}function pu(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Ce.Static+Ce.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ce.Static+Ce.Segment?1:-1:0}function Fi(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=pu(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(to(s))return 1;if(to(r))return-1}return r.length-s.length}function to(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const hu={strict:!1,end:!0,sensitive:!1};function gu(e,t,n){const s=du(au(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function mu(e,t){const n=[],s=new Map;t=qr(hu,t);function r(d){return s.get(d)}function o(d,h,g){const v=!g,A=so(d);A.aliasOf=g&&g.record;const M=qr(t,d),D=[A];if("alias"in d){const T=typeof d.alias=="string"?[d.alias]:d.alias;for(const H of T)D.push(so(te({},A,{components:g?g.record.components:A.components,path:H,aliasOf:g?g.record:A})))}let y,w;for(const T of D){const{path:H}=T;if(h&&H[0]!=="/"){const W=h.record.path,Q=W[W.length-1]==="/"?"":"/";T.path=h.record.path+(H&&Q+H)}if(y=gu(T,h,M),g?g.alias.push(y):(w=w||y,w!==y&&w.alias.push(y),v&&d.name&&!ro(y)&&i(d.name)),Bi(y)&&c(y),A.children){const W=A.children;for(let Q=0;Q<W.length;Q++)o(W[Q],y,g&&g.children[Q])}g=g||y}return w?()=>{i(w)}:fn}function i(d){if(ki(d)){const h=s.get(d);h&&(s.delete(d),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(d);h>-1&&(n.splice(h,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function c(d){const h=bu(d,n);n.splice(h,0,d),d.record.name&&!ro(d)&&s.set(d.record.name,d)}function f(d,h){let g,v={},A,M;if("name"in d&&d.name){if(g=s.get(d.name),!g)throw zt(ue.MATCHER_NOT_FOUND,{location:d});M=g.record.name,v=te(no(h.params,g.keys.filter(w=>!w.optional).concat(g.parent?g.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),d.params&&no(d.params,g.keys.map(w=>w.name))),A=g.stringify(v)}else if(d.path!=null)A=d.path,g=n.find(w=>w.re.test(A)),g&&(v=g.parse(A),M=g.record.name);else{if(g=h.name?s.get(h.name):n.find(w=>w.re.test(h.path)),!g)throw zt(ue.MATCHER_NOT_FOUND,{location:d,currentLocation:h});M=g.record.name,v=te({},h.params,d.params),A=g.stringify(v)}const D=[];let y=g;for(;y;)D.unshift(y.record),y=y.parent;return{name:M,path:A,params:v,matched:D,meta:yu(D)}}e.forEach(d=>o(d));function a(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:a,getRoutes:l,getRecordMatcher:r}}function no(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function so(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function ro(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function yu(e){return e.reduce((t,n)=>te(t,n.meta),{})}function bu(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Fi(e,t[o])<0?s=o:n=o+1}const r=_u(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function _u(e){let t=e;for(;t=t.parent;)if(Bi(t)&&Fi(e,t)===0)return t}function Bi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function oo(e){const t=Ke(er),n=Ke(tr),s=be(()=>{const c=Y(e.to);return t.resolve(c)}),r=be(()=>{const{matched:c}=s.value,{length:f}=c,a=c[f-1],d=n.matched;if(!a||!d.length)return-1;const h=d.findIndex(qt.bind(null,a));if(h>-1)return h;const g=io(c[f-2]);return f>1&&io(a)===g&&d[d.length-1].path!==g?d.findIndex(qt.bind(null,c[f-2])):h}),o=be(()=>r.value>-1&&Au(n.params,s.value.params)),i=be(()=>r.value>-1&&r.value===n.matched.length-1&&Li(n.params,s.value.params));function l(c={}){if(wu(c)){const f=t[Y(e.replace)?"replace":"push"](Y(e.to)).catch(fn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:be(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Su(e){return e.length===1?e[0]:e}const xu=qs({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:oo,setup(e,{slots:t}){const n=Sn(oo(e)),{options:s}=Ke(er),r=be(()=>({[lo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[lo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Su(t.default(n));return e.custom?o:Xs("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Eu=xu;function wu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Au(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!We(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function io(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const lo=(e,t,n)=>e??t??n,Cu=qs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(Ns),r=be(()=>e.route||s.value),o=Ke(Xr,0),i=be(()=>{let f=Y(o);const{matched:a}=r.value;let d;for(;(d=a[f])&&!d.components;)f++;return f}),l=be(()=>r.value.matched[i.value]);Pn(Xr,be(()=>i.value+1)),Pn(tu,l),Pn(Ns,r);const c=On();return on(()=>[c.value,l.value,e.name],([f,a,d],[h,g,v])=>{a&&(a.instances[d]=f,g&&g!==a&&f&&f===h&&(a.leaveGuards.size||(a.leaveGuards=g.leaveGuards),a.updateGuards.size||(a.updateGuards=g.updateGuards))),f&&a&&(!g||!qt(a,g)||!h)&&(a.enterCallbacks[d]||[]).forEach(A=>A(f))},{flush:"post"}),()=>{const f=r.value,a=e.name,d=l.value,h=d&&d.components[a];if(!h)return co(n.default,{Component:h,route:f});const g=d.props[a],v=g?g===!0?f.params:typeof g=="function"?g(f):g:null,M=Xs(h,te({},v,t,{onVnodeUnmounted:D=>{D.component.isUnmounted&&(d.instances[a]=null)},ref:c}));return co(n.default,{Component:M,route:f})||M}}});function co(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ru=Cu;function Tu(e){const t=mu(e.routes,e),n=e.parseQuery||Za,s=e.stringifyQuery||Yr,r=e.history,o=Zt(),i=Zt(),l=Zt(),c=_l(bt);let f=bt;Vt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=ps.bind(null,S=>""+S),d=ps.bind(null,Ma),h=ps.bind(null,bn);function g(S,k){let I,F;return ki(S)?(I=t.getRecordMatcher(S),F=k):F=S,t.addRoute(F,I)}function v(S){const k=t.getRecordMatcher(S);k&&t.removeRoute(k)}function A(){return t.getRoutes().map(S=>S.record)}function M(S){return!!t.getRecordMatcher(S)}function D(S,k){if(k=te({},k||c.value),typeof S=="string"){const m=hs(n,S,k.path),b=t.resolve({path:m.path},k),x=r.createHref(m.fullPath);return te(m,b,{params:h(b.params),hash:bn(m.hash),redirectedFrom:void 0,href:x})}let I;if(S.path!=null)I=te({},S,{path:hs(n,S.path,k.path).path});else{const m=te({},S.params);for(const b in m)m[b]==null&&delete m[b];I=te({},S,{params:d(m)}),k.params=d(k.params)}const F=t.resolve(I,k),q=S.hash||"";F.params=a(h(F.params));const u=Ha(s,te({},S,{hash:La(q),path:F.path})),p=r.createHref(u);return te({fullPath:u,hash:q,query:s===Yr?eu(S.query):S.query||{}},F,{redirectedFrom:void 0,href:p})}function y(S){return typeof S=="string"?hs(n,S,c.value.path):te({},S)}function w(S,k){if(f!==S)return zt(ue.NAVIGATION_CANCELLED,{from:k,to:S})}function T(S){return Q(S)}function H(S){return T(te(y(S),{replace:!0}))}function W(S,k){const I=S.matched[S.matched.length-1];if(I&&I.redirect){const{redirect:F}=I;let q=typeof F=="function"?F(S,k):F;return typeof q=="string"&&(q=q.includes("?")||q.includes("#")?q=y(q):{path:q},q.params={}),te({query:S.query,hash:S.hash,params:q.path!=null?{}:S.params},q)}}function Q(S,k){const I=f=D(S),F=c.value,q=S.state,u=S.force,p=S.replace===!0,m=W(I,F);if(m)return Q(te(y(m),{state:typeof m=="object"?te({},q,m.state):q,force:u,replace:p}),k||I);const b=I;b.redirectedFrom=k;let x;return!u&&ja(s,F,I)&&(x=zt(ue.NAVIGATION_DUPLICATED,{to:b,from:F}),qe(F,F,!0,!1)),(x?Promise.resolve(x):J(b,F)).catch(_=>ct(_)?ct(_,ue.NAVIGATION_GUARD_REDIRECT)?_:vt(_):ee(_,b,F)).then(_=>{if(_){if(ct(_,ue.NAVIGATION_GUARD_REDIRECT))return Q(te({replace:p},y(_.to),{state:typeof _.to=="object"?te({},q,_.to.state):q,force:u}),k||b)}else _=L(b,F,!0,p,q);return le(b,F,_),_})}function U(S,k){const I=w(S,k);return I?Promise.reject(I):Promise.resolve()}function G(S){const k=Ft.values().next().value;return k&&typeof k.runWithContext=="function"?k.runWithContext(S):S()}function J(S,k){let I;const[F,q,u]=nu(S,k);I=ms(F.reverse(),"beforeRouteLeave",S,k);for(const m of F)m.leaveGuards.forEach(b=>{I.push(St(b,S,k))});const p=U.bind(null,S,k);return I.push(p),He(I).then(()=>{I=[];for(const m of o.list())I.push(St(m,S,k));return I.push(p),He(I)}).then(()=>{I=ms(q,"beforeRouteUpdate",S,k);for(const m of q)m.updateGuards.forEach(b=>{I.push(St(b,S,k))});return I.push(p),He(I)}).then(()=>{I=[];for(const m of u)if(m.beforeEnter)if(We(m.beforeEnter))for(const b of m.beforeEnter)I.push(St(b,S,k));else I.push(St(m.beforeEnter,S,k));return I.push(p),He(I)}).then(()=>(S.matched.forEach(m=>m.enterCallbacks={}),I=ms(u,"beforeRouteEnter",S,k,G),I.push(p),He(I))).then(()=>{I=[];for(const m of i.list())I.push(St(m,S,k));return I.push(p),He(I)}).catch(m=>ct(m,ue.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function le(S,k,I){l.list().forEach(F=>G(()=>F(S,k,I)))}function L(S,k,I,F,q){const u=w(S,k);if(u)return u;const p=k===bt,m=Vt?history.state:{};I&&(F||p?r.replace(S.fullPath,te({scroll:p&&m&&m.scroll},q)):r.push(S.fullPath,q)),c.value=S,qe(S,k,I,p),vt()}let Z;function me(){Z||(Z=r.listen((S,k,I)=>{if(!wt.listening)return;const F=D(S),q=W(F,wt.currentRoute.value);if(q){Q(te(q,{replace:!0,force:!0}),F).catch(fn);return}f=F;const u=c.value;Vt&&za(Jr(u.fullPath,I.delta),Zn()),J(F,u).catch(p=>ct(p,ue.NAVIGATION_ABORTED|ue.NAVIGATION_CANCELLED)?p:ct(p,ue.NAVIGATION_GUARD_REDIRECT)?(Q(te(y(p.to),{force:!0}),F).then(m=>{ct(m,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&!I.delta&&I.type===Ps.pop&&r.go(-1,!1)}).catch(fn),Promise.reject()):(I.delta&&r.go(-I.delta,!1),ee(p,F,u))).then(p=>{p=p||L(F,u,!1),p&&(I.delta&&!ct(p,ue.NAVIGATION_CANCELLED)?r.go(-I.delta,!1):I.type===Ps.pop&&ct(p,ue.NAVIGATION_ABORTED|ue.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),le(F,u,p)}).catch(fn)}))}let De=Zt(),fe=Zt(),re;function ee(S,k,I){vt(S);const F=fe.list();return F.length?F.forEach(q=>q(S,k,I)):console.error(S),Promise.reject(S)}function ot(){return re&&c.value!==bt?Promise.resolve():new Promise((S,k)=>{De.add([S,k])})}function vt(S){return re||(re=!S,me(),De.list().forEach(([k,I])=>S?I(S):k()),De.reset()),S}function qe(S,k,I,F){const{scrollBehavior:q}=e;if(!Vt||!q)return Promise.resolve();const u=!I&&Qa(Jr(S.fullPath,0))||(F||!I)&&history.state&&history.state.scroll||null;return Bo().then(()=>q(S,k,u)).then(p=>p&&qa(p)).catch(p=>ee(p,S,k))}const Ie=S=>r.go(S);let Mt;const Ft=new Set,wt={currentRoute:c,listening:!0,addRoute:g,removeRoute:v,clearRoutes:t.clearRoutes,hasRoute:M,getRoutes:A,resolve:D,options:e,push:T,replace:H,go:Ie,back:()=>Ie(-1),forward:()=>Ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:fe.add,isReady:ot,install(S){S.component("RouterLink",Eu),S.component("RouterView",Ru),S.config.globalProperties.$router=wt,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Y(c)}),Vt&&!Mt&&c.value===bt&&(Mt=!0,T(r.location).catch(F=>{}));const k={};for(const F in bt)Object.defineProperty(k,F,{get:()=>c.value[F],enumerable:!0});S.provide(er,wt),S.provide(tr,ko(k)),S.provide(Ns,c);const I=S.unmount;Ft.add(S),S.unmount=function(){Ft.delete(S),Ft.size<1&&(f=bt,Z&&Z(),Z=null,c.value=bt,Mt=!1,re=!1),I()}}};function He(S){return S.reduce((k,I)=>k.then(()=>G(I)),Promise.resolve())}return wt}function Ou(e){return Ke(tr)}const Pu=()=>Ci(()=>import("./CatalogPage-B_qic36n.js"),[]),Iu=()=>Ci(()=>import("./SkillDetailPage-BJ3onKk4.js"),[]);function Nu(e){return Tu({history:iu(),routes:[{path:"/",name:"catalog",component:Pu},{path:"/skills/:skillId",name:"skill-detail",component:Iu,props:!0}],scrollBehavior(){return{top:0}}})}function Lu(e){async function t(n,s={}){var l;const r=new URL(n,window.location.origin);s.query?r.search=s.query.toString():(s.method===void 0||s.method==="GET"||s.method==="DELETE")&&r.searchParams.set("scope",e.getScope());const o=await fetch(r,{method:s.method||"GET",headers:{"x-skillex-token":e.token,...s.body?{"content-type":"application/json"}:{}},body:s.body?JSON.stringify({...s.body,scope:e.getScope()}):void 0}),i=await o.json().catch(()=>({}));if(!o.ok)throw new Error(((l=i.error)==null?void 0:l.message)||`Request failed with ${o.status}`);return i}return{getState(){return t("/api/state")},getCatalog(){return t("/api/catalog")},getSkillDetail(n){return t(`/api/catalog/${encodeURIComponent(n)}`)},getSources(){return t("/api/sources")},installSkill(n,s){return t("/api/install",{method:"POST",body:{skillIds:[n],...s!=null&&s.repo?{repo:s.repo}:{},...s!=null&&s.ref?{ref:s.ref}:{}}})},removeSkill(n){return t("/api/remove",{method:"POST",body:{skillIds:[n]}})},updateSkill(n){return t("/api/update",{method:"POST",body:n?{skillIds:[n]}:{}})},syncSkills(n){return t("/api/sync",{method:"POST",body:n==="all"?{}:{adapter:n}})},addSource(n){return t("/api/sources",{method:"POST",body:n})},removeSource(n){const s=new URLSearchParams;return s.set("scope",e.getScope()),t(`/api/sources/${encodeURIComponent(n)}`,{method:"DELETE",query:s})}}}function ku(e){return Object.values(e||{}).sort((t,n)=>n.syncedAt.localeCompare(t.syncedAt))}function ao(e){return e instanceof Error?e.message:String(e)}const Hi=Symbol("skillex-store");function Du(e,t){const n=Sn({bootstrap:t,scope:t.initialScope,syncAdapter:"all",searchQuery:"",dashboard:null,catalog:null,detail:null,detailLoading:!1,initialized:!1,busyLabel:null,notice:null,toast:{visible:!1,tone:"info",message:""}}),s=Lu({token:t.token,getScope:()=>n.scope});let r=null;function o(){return{token:t.token,scope:n.scope}}function i(y,w){n.notice={message:y,tone:w},n.toast.visible=!0,n.toast.message=y,n.toast.tone=w,r&&clearTimeout(r),r=setTimeout(()=>{n.toast.visible=!1},2600)}async function l(){const[y,w]=await Promise.all([s.getState(),s.getCatalog()]);n.dashboard=y,n.catalog=w}async function c(y){await l(),y&&await h(y)}async function f(y,w,T){n.busyLabel=y;try{await w(),await c(T),i(`${y} complete.`,"success")}catch(H){const W=ao(H);throw n.notice={message:W,tone:"error"},i(W,"error"),H}finally{n.busyLabel=null}}async function a(){n.detail=null,await e.push({name:"catalog",query:o()})}async function d(y){await e.push({name:"skill-detail",params:{skillId:y},query:o()})}async function h(y){n.detailLoading=!0;try{n.detail=await s.getSkillDetail(y)}catch(w){throw n.detail=null,i(ao(w),"error"),w}finally{n.detailLoading=!1}}async function g(y){if(n.initialized){y&&await h(y);return}n.initialized=!0,await l(),y&&await h(y)}async function v(y){if(n.scope===y)return;n.scope=y;const w=typeof e.currentRoute.value.params.skillId=="string"?e.currentRoute.value.params.skillId:null;w?await e.replace({name:"skill-detail",params:{skillId:w},query:o()}):await e.replace({name:"catalog",query:o()}),await c(w)}const A=be(()=>{var T;const y=((T=n.catalog)==null?void 0:T.skills)||[],w=n.searchQuery.trim().toLowerCase();return w?y.filter(H=>[H.id,H.name,H.description,H.author||"",H.source.label||"",H.source.repo,...H.tags,...H.compatibility].join(" ").toLowerCase().includes(w)):y}),M=be(()=>{var w;const y=((w=n.dashboard)==null?void 0:w.adapters.supported)||[];return[{value:"all",label:"All detected"},...y.map(T=>({value:T.id,label:T.label}))]}),D=be(()=>{var y;return ku(((y=n.dashboard)==null?void 0:y.syncHistory)||{})});return{state:n,filteredSkills:A,availableSyncAdapters:M,recentSyncTargets:D,initialize:g,refreshAll:l,async loadSkillDetail(y){await h(y)},clearDetail(){n.detail=null},async navigateHome(){await a()},async navigateToSkill(y){await d(y)},async setScope(y){await v(y)},setSyncAdapter(y){n.syncAdapter=y||"all"},async installSkill(y){var w;await f(`Installed ${y.name}`,()=>s.installSkill(y.id,{repo:y.source.repo,ref:y.source.ref}),((w=n.detail)==null?void 0:w.skill.id)||null)},async removeSkill(y){var T;const w=((T=n.detail)==null?void 0:T.skill.id)||null;await f(`Removed ${y}`,()=>s.removeSkill(y),w===y?null:w),w===y&&(n.detail=null,await a())},async updateSkill(y){var w;await f(y?`Updated ${y}`:"Updated installed skills",()=>s.updateSkill(y),((w=n.detail)==null?void 0:w.skill.id)||null)},async syncNow(){var y;await f("Sync finished",()=>s.syncSkills(n.syncAdapter),((y=n.detail)==null?void 0:y.skill.id)||null)},async addSource(y){var w;await f(`Added ${y.repo}`,()=>s.addSource(y),((w=n.detail)==null?void 0:w.skill.id)||null)},async removeSource(y){var w;await f(`Removed ${y}`,()=>s.removeSource(y),((w=n.detail)==null?void 0:w.skill.id)||null)},setSearchQuery(y){n.searchQuery=y},clearNotice(){n.notice=null}}}function Mu(){const e=Ke(Hi);if(!e)throw new Error("Skillex store was not provided.");return e}function Fu(){const e=window.__SKILLEX_BOOTSTRAP__,t=typeof e=="string"?e==="__SKILLEX_BOOTSTRAP__"?null:JSON.parse(e):e;if(!t||typeof t!="object"||!("token"in t)||!("initialScope"in t))throw new Error("Missing Skillex Web UI bootstrap payload.");return{token:String(t.token),initialScope:t.initialScope==="global"?"global":"local",initialSkillId:t.initialSkillId?String(t.initialSkillId):null}}const Bu={class:"app-shell"},Hu={class:"sidebar"},ju={class:"sidebar-nav"},Vu={key:0,class:"nav-badge"},Uu={style:{padding:"0 10px 8px",display:"flex","flex-wrap":"wrap",gap:"5px"}},Ku={key:0,style:{"font-size":"11px",color:"var(--text-dim)",padding:"2px 0"}},Gu={class:"nav-section-label",style:{"font-size":"9px","margin-bottom":"4px",color:"var(--text-dim)"}},$u={style:{padding:"0 10px 8px",display:"grid",gap:"4px"}},Wu={style:{margin:"0","font-size":"11px","font-weight":"600",color:"var(--text)"}},qu={style:{margin:"2px 0 0","font-size":"10px",color:"var(--text-dim)","font-family":"monospace"}},zu=["onClick"],Qu={key:0,style:{"font-size":"11px",color:"var(--text-dim)",padding:"2px 0"}},Ju={style:{padding:"0 10px 8px",display:"grid",gap:"4px"}},Yu={style:{display:"flex","justify-content":"space-between",gap:"6px"}},Xu={style:{"font-size":"11px","font-weight":"600",color:"var(--text)"}},Zu={style:{"font-size":"10px",color:"var(--text-dim)"}},ef={style:{margin:"2px 0 0","font-size":"10px",color:"var(--text-dim)","font-family":"monospace","word-break":"break-all"}},tf={key:0,style:{"font-size":"11px",color:"var(--text-dim)",padding:"2px 0"}},nf={class:"sidebar-footer"},sf={class:"adapter-badge"},rf={class:"adapter-badge-icon"},of={class:"adapter-badge-info"},lf={class:"adapter-badge-name"},cf={class:"sidebar-meta"},af={style:{"font-family":"monospace"}},uf={class:"main-col"},ff={class:"topbar"},df={class:"search-shell"},pf=["value"],hf={class:"toggle-group"},gf={class:"toggle-group"},mf=["title","onClick"],vf={class:"topbar-actions"},yf=["data-tone"],bf={class:"workspace-layout"},_f=["data-tone"],Sf={class:"toast-content"},xf={class:"toast-icon"},Ef={key:0,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},wf={key:1,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},Af={class:"toast-text"},Cf={key:0,class:"busy-overlay"},Rf={class:"busy-card"},Tf=qs({__name:"App",setup(e){const t=Mu(),n=Ou(),s=On(""),r=On(""),o=On(""),i=be(()=>t.state.dashboard),l=be(()=>t.state.catalog),c=be(()=>t.recentSyncTargets.value),f=[{value:"claude",label:"Claude",icon:"🤖"},{value:"cursor",label:"Cursor",icon:"⚡"},{value:"copilot",label:"Copilot",icon:"🐙"},{value:"cline",label:"Cline",icon:"🔵"},{value:"codex",label:"Codex",icon:"🧠"},{value:"gemini",label:"Gemini",icon:"✨"},{value:"windsurf",label:"Windsurf",icon:"🏄"}],a=be(()=>{const g=t.state.syncAdapter;return f.find(v=>v.value===g)??{value:g,label:g||"Auto",icon:"🔧"}});function d(g){return new Date(g).toLocaleString(void 0,{dateStyle:"medium",timeStyle:"short"})}async function h(){const g=s.value.trim();g&&(await t.addSource({repo:g,ref:r.value.trim()||void 0,label:o.value.trim()||void 0}),s.value="",r.value="",o.value="")}return on(()=>n.query.scope,g=>{(g==="global"||g==="local")&&t.setScope(g)}),zs(async()=>{const g=typeof n.params.skillId=="string"?n.params.skillId:null;await t.initialize(g)}),(g,v)=>{var M,D,y,w,T,H,W,Q;const A=Ql("RouterView");return ye(),Se("div",Bu,[v[30]||(v[30]=R("div",{class:"shell-background"},[R("div",{class:"shell-glow shell-glow-left"}),R("div",{class:"shell-glow shell-glow-right"}),R("div",{class:"shell-grid"})],-1)),R("aside",Hu,[v[19]||(v[19]=R("div",{class:"sidebar-logo"},[R("svg",{width:"18",height:"18",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"})]),tn(" skillex"),R("span",{class:"accent-dot"},".")],-1)),R("nav",ju,[v[13]||(v[13]=R("p",{class:"nav-section-label"},"Explorar",-1)),R("button",{class:xt(["nav-btn",{active:g.$route.name==="catalog"}]),type:"button",onClick:v[0]||(v[0]=U=>Y(t).navigateHome())},[...v[9]||(v[9]=[R("svg",{width:"16",height:"16",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1),tn(" Marketplace ",-1)])],2),R("button",{class:xt(["nav-btn",{active:!1}]),type:"button",onClick:v[1]||(v[1]=U=>Y(t).navigateHome())},[v[10]||(v[10]=R("svg",{width:"16",height:"16",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"})],-1)),v[11]||(v[11]=tn(" Instaladas ",-1)),(((M=i.value)==null?void 0:M.installed.length)??0)>0?(ye(),Se("span",Vu,ve((D=i.value)==null?void 0:D.installed.length),1)):Rt("",!0)]),v[14]||(v[14]=R("p",{class:"nav-section-label"},"Workspace",-1)),v[15]||(v[15]=R("p",{class:"nav-section-label",style:{"font-size":"9px","margin-top":"8px","margin-bottom":"4px",color:"var(--text-dim)"}}," Adapters detectados ",-1)),R("div",Uu,[(ye(!0),Se(ke,null,Rn(((y=i.value)==null?void 0:y.adapters.detected)??[],U=>(ye(),Se("span",{key:U,class:"chip chip-accent",style:{height:"22px","font-size":"10px"}},ve(U),1))),128)),(((w=i.value)==null?void 0:w.adapters.detected.length)??0)===0?(ye(),Se("span",Ku," Nenhum ")):Rt("",!0)]),R("p",Gu," Sources ("+ve(((T=i.value)==null?void 0:T.sources.length)??0)+") ",1),R("form",{style:{padding:"0 10px 8px",display:"grid",gap:"5px"},onSubmit:ga(h,["prevent"])},[Pl(R("input",{"onUpdate:modelValue":v[2]||(v[2]=U=>s.value=U),type:"text",placeholder:"owner/repo",style:{width:"100%",padding:"6px 8px",border:"1px solid rgba(63,63,70,0.5)","border-radius":"8px",background:"rgba(9,9,11,0.6)",color:"#f4f4f5","font-size":"11px",outline:"none"}},null,512),[[da,s.value]]),v[12]||(v[12]=R("button",{class:"button button-primary",type:"submit",style:{"min-height":"28px",padding:"0 10px","font-size":"11px",width:"100%"}}," + Add source ",-1))],32),R("div",$u,[(ye(!0),Se(ke,null,Rn(((H=i.value)==null?void 0:H.sources)??[],U=>(ye(),Se("div",{key:U.repo,style:{display:"flex","align-items":"center","justify-content":"space-between",padding:"6px 8px","border-radius":"8px",background:"rgba(39,39,42,0.4)",border:"1px solid rgba(63,63,70,0.3)"}},[R("div",null,[R("p",Wu,ve(U.label||U.repo),1),R("p",qu,"@"+ve(U.ref),1)]),R("button",{type:"button",onClick:G=>Y(t).removeSource(U.repo),style:{padding:"3px 6px","font-size":"10px",border:"1px solid rgba(248,113,113,0.2)","border-radius":"6px",background:"transparent",color:"var(--danger)",cursor:"pointer"}}," × ",8,zu)]))),128)),(((W=i.value)==null?void 0:W.sources.length)??0)===0?(ye(),Se("p",Qu," No sources. ")):Rt("",!0)]),v[16]||(v[16]=R("p",{class:"nav-section-label",style:{"font-size":"9px","margin-bottom":"4px",color:"var(--text-dim)"}},"Sync history",-1)),R("div",Ju,[(ye(!0),Se(ke,null,Rn(c.value.slice(0,3),U=>(ye(),Se("div",{key:`${U.adapter}-${U.syncedAt}`,style:{padding:"6px 8px","border-radius":"8px",background:"rgba(39,39,42,0.4)",border:"1px solid rgba(63,63,70,0.3)"}},[R("div",Yu,[R("span",Xu,ve(U.adapter),1),R("span",Zu,ve(d(U.syncedAt)),1)]),R("p",ef,ve(U.targetPath),1)]))),128)),c.value.length===0?(ye(),Se("p",tf," Nenhum sync ainda. ")):Rt("",!0)])]),R("div",nf,[R("div",sf,[R("span",rf,ve(a.value.icon),1),R("div",of,[v[17]||(v[17]=R("p",{class:"adapter-badge-label"},"Agente ativo",-1)),R("p",lf,ve(a.value.label),1)]),v[18]||(v[18]=R("span",{class:"adapter-badge-dot"},null,-1))]),R("div",cf,[R("span",af,"v"+ve(((Q=l.value)!=null&&Q.formatVersion,"0.2.4")),1),R("span",null,ve(Y(t).state.scope),1)])])]),R("div",uf,[R("header",ff,[R("div",df,[v[20]||(v[20]=R("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),R("input",{value:Y(t).state.searchQuery,type:"search",placeholder:"Buscar skills...",onInput:v[3]||(v[3]=U=>Y(t).setSearchQuery(U.target.value))},null,40,pf),v[21]||(v[21]=R("span",{class:"search-kbd"},"⌘K",-1))]),R("div",hf,[R("button",{class:xt(["toggle-btn",{active:Y(t).state.scope==="local"}]),type:"button",onClick:v[4]||(v[4]=U=>Y(t).setScope("local"))}," 📁 Local ",2),R("button",{class:xt(["toggle-btn",{active:Y(t).state.scope==="global"}]),type:"button",onClick:v[5]||(v[5]=U=>Y(t).setScope("global"))}," 🌍 Global ",2)]),v[23]||(v[23]=R("div",{class:"topbar-divider"},null,-1)),R("div",gf,[(ye(),Se(ke,null,Rn(f,U=>R("button",{key:U.value,class:xt(["adapter-toggle-btn",{active:Y(t).state.syncAdapter===U.value}]),title:U.label,type:"button",onClick:G=>Y(t).setSyncAdapter(U.value)},ve(U.icon),11,mf)),64))]),v[24]||(v[24]=R("div",{class:"topbar-divider"},null,-1)),R("div",vf,[R("button",{class:"button button-ghost",type:"button",onClick:v[6]||(v[6]=U=>Y(t).refreshAll())},[...v[22]||(v[22]=[R("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),tn(" Refresh ",-1)])]),R("button",{class:"button button-secondary",type:"button",onClick:v[7]||(v[7]=U=>Y(t).updateSkill())}," Update "),R("button",{class:"button button-primary",type:"button",onClick:v[8]||(v[8]=U=>Y(t).syncNow())}," Sync now ")])]),Y(t).state.notice?(ye(),Se("div",{key:0,class:"status-banner","data-tone":Y(t).state.notice.tone},ve(Y(t).state.notice.message),9,yf)):Rt("",!0),R("div",bf,[Oe(A)])]),Oe(Gc,{name:"toast"},{default:Ko(()=>[Y(t).state.toast.visible?(ye(),Se("div",{key:0,class:"toast","data-tone":Y(t).state.toast.tone},[R("div",Sf,[R("div",xf,[Y(t).state.toast.tone==="success"?(ye(),Se("svg",Ef,[...v[25]||(v[25]=[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)])])):(ye(),Se("svg",wf,[...v[26]||(v[26]=[R("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)])]))]),R("div",Af,[R("strong",null,ve(Y(t).state.toast.tone==="error"?"Error":"Done"),1),R("span",null,ve(Y(t).state.toast.message),1)])]),v[27]||(v[27]=R("div",{class:"toast-bar"},null,-1))],8,_f)):Rt("",!0)]),_:1}),Y(t).state.busyLabel?(ye(),Se("div",Cf,[R("div",Rf,[v[28]||(v[28]=R("div",{class:"busy-spinner"},null,-1)),R("strong",null,ve(Y(t).state.busyLabel),1),v[29]||(v[29]=R("span",null,"Aguarde...",-1))])])):Rt("",!0)])}}}),Of=Fu(),ji=Nu(),Pf=Du(ji,Of),nr=ya(Tf);nr.provide(Hi,Pf);nr.use(ji);nr.mount("#app");export{ke as F,R as a,tn as b,Se as c,qs as d,Rt as e,Y as f,be as g,On as h,Ac as i,Ou as j,on as k,zs as l,Fs as m,xt as n,ye as o,Rn as r,ve as t,Mu as u,ga as w};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*,*:before,*:after{box-sizing:border-box}html,body,#app{margin:0;height:100%;min-height:100%}button,input,select{font:inherit}a{color:inherit;text-decoration:none}:root{--bg: #1a1a1f;--bg-panel: rgba(30, 30, 36, .8);--bg-elevated: #242429;--bg-hover: rgba(52, 52, 60, .65);--line: rgba(80, 80, 92, .55);--line-strong: rgba(105, 105, 118, .75);--text: #f0f0f3;--text-muted: #9898a8;--text-dim: #70707e;--accent: #10b981;--accent-hover: #34d399;--accent-soft: rgba(16, 185, 129, .12);--accent-ring: rgba(16, 185, 129, .25);--danger: #f87171;--danger-soft: rgba(248, 113, 113, .1);--danger-ring: rgba(239, 68, 68, .25);--warn: #fbbf24;--warn-soft: rgba(251, 191, 36, .1);--radius-xl: 18px;--radius-lg: 14px;--radius-md: 10px;--radius-sm: 8px;--shadow: 0 8px 32px rgba(0, 0, 0, .5);--shadow-soft: 0 4px 16px rgba(0, 0, 0, .3);font-family:Inter,Segoe UI,system-ui,-apple-system,sans-serif;color-scheme:dark}body{background:var(--bg);color:var(--text);overflow:hidden;height:100vh}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background-image:radial-gradient(circle,rgba(255,255,255,.035) 1px,transparent 1px);background-size:24px 24px;pointer-events:none;z-index:0}.app-shell{position:relative;display:flex;height:100vh;overflow:hidden;z-index:1}.shell-background{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:0}.shell-glow{position:absolute;border-radius:50%;filter:blur(1px)}.shell-glow-left{width:600px;height:600px;top:-150px;left:-150px;background:radial-gradient(circle,rgba(16,185,129,.07) 0%,transparent 70%)}.shell-glow-right{width:500px;height:500px;bottom:-100px;right:-100px;background:radial-gradient(circle,rgba(99,102,241,.05) 0%,transparent 70%)}.shell-grid{display:none}.sidebar{width:232px;flex-shrink:0;display:flex;flex-direction:column;background:#18181b80;border-right:1px solid var(--line);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);z-index:2;overflow-y:auto}.sidebar-logo{height:56px;display:flex;align-items:center;padding:0 20px;border-bottom:1px solid var(--line);gap:8px;font-size:1rem;font-weight:700;color:#fff;letter-spacing:-.02em;flex-shrink:0}.sidebar-logo svg{color:var(--accent);filter:drop-shadow(0 0 6px rgba(16,185,129,.5))}.sidebar-logo .accent-dot{color:var(--accent)}.sidebar-nav{padding:12px;display:flex;flex-direction:column;gap:2px;flex:1}.nav-section-label{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--text-dim);padding:0 10px;margin:12px 0 4px}.nav-section-label:first-child{margin-top:4px}.nav-btn{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:var(--radius-md);border:1px solid transparent;background:transparent;color:var(--text-muted);font-size:.875rem;font-weight:500;cursor:pointer;width:100%;text-align:left;transition:background .15s,color .15s,border-color .15s}.nav-btn svg{flex-shrink:0;opacity:.7}.nav-btn:hover{background:var(--bg-hover);color:var(--text)}.nav-btn:hover svg{opacity:1}.nav-btn.active{background:var(--bg-elevated);color:#fff;border-color:var(--line-strong)}.nav-btn.active svg{opacity:1}.nav-badge{margin-left:auto;background:var(--accent-soft);border:1px solid rgba(16,185,129,.25);color:var(--accent);font-size:10px;font-weight:700;padding:1px 6px;border-radius:999px;font-variant-numeric:tabular-nums}.sidebar-footer{padding:12px;border-top:1px solid var(--line);flex-shrink:0}.adapter-badge{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-md);background:#27272a80;border:1px solid rgba(63,63,70,.4)}.adapter-badge-icon{font-size:1.25rem;line-height:1}.adapter-badge-info{flex:1;min-width:0}.adapter-badge-label{font-size:10px;color:var(--text-dim);line-height:1;margin-bottom:3px}.adapter-badge-name{font-size:.8rem;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.adapter-badge-dot{width:6px;height:6px;border-radius:50%;background:var(--accent);flex-shrink:0;box-shadow:0 0 6px #10b98199;animation:pulse-dot 2s ease-in-out infinite}@keyframes pulse-dot{0%,to{opacity:1}50%{opacity:.5}}.sidebar-meta{display:flex;justify-content:space-between;padding:8px 12px 0;font-size:11px;color:var(--text-dim)}.main-col{flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;position:relative;z-index:1}.topbar{height:56px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 24px;border-bottom:1px solid var(--line);background:#09090bbf;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);z-index:10}.search-shell{position:relative;flex:1;max-width:340px}.search-shell svg{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:14px;height:14px;color:var(--text-dim);pointer-events:none;transition:color .15s}.search-shell:focus-within svg{color:var(--accent)}.search-shell input{width:100%;padding:7px 36px 7px 32px;border:1px solid rgba(63,63,70,.5);border-radius:var(--radius-md);background:#18181b99;color:var(--text);font-size:.875rem;outline:none;transition:border-color .15s,box-shadow .15s}.search-shell input::placeholder{color:var(--text-dim)}.search-shell input:focus{border-color:#10b98166;box-shadow:0 0 0 3px var(--accent-ring)}.search-kbd{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:10px;font-family:monospace;color:var(--text-dim);background:var(--bg-elevated);border:1px solid var(--line-strong);padding:1px 5px;border-radius:5px;pointer-events:none}.toggle-group{display:flex;align-items:center;background:var(--bg-elevated);border:1px solid rgba(63,63,70,.5);border-radius:var(--radius-md);padding:3px;gap:2px}.toggle-btn{padding:5px 10px;border-radius:var(--radius-sm);border:none;background:transparent;color:var(--text-muted);font-size:.75rem;font-weight:500;cursor:pointer;transition:background .15s,color .15s;white-space:nowrap}.toggle-btn:hover{color:var(--text)}.toggle-btn.active{background:#3f3f46cc;color:#fff;box-shadow:var(--shadow-soft)}.adapter-toggle-btn{width:30px;height:30px;padding:0;display:flex;align-items:center;justify-content:center;font-size:1rem;border-radius:var(--radius-sm);border:none;background:transparent;cursor:pointer;transition:background .15s,opacity .15s;opacity:.45}.adapter-toggle-btn:hover{opacity:.8;background:var(--bg-hover)}.adapter-toggle-btn.active{background:#3f3f46cc;opacity:1}.topbar-divider{width:1px;height:20px;background:var(--line);flex-shrink:0}.topbar-actions{display:flex;align-items:center;gap:6px}.status-banner{padding:10px 24px;font-size:.8rem;background:var(--accent-soft);border-bottom:1px solid rgba(16,185,129,.2);color:var(--accent-hover)}.status-banner[data-tone=error]{background:var(--danger-soft);border-color:#f8717133;color:var(--danger)}.status-banner[data-tone=info]{background:#6366f114;border-color:#6366f133;color:#a5b4fc}.workspace-layout{flex:1;overflow-y:auto;padding:24px}.panel{background:#18181b8c;border:1px solid var(--line);border-radius:var(--radius-xl);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}.panel-body{padding:20px}.panel-head{padding:20px 20px 0;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}.panel-head-title{display:grid;gap:4px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}.panel-head h2{margin:0;font-size:1.2rem;font-weight:700;letter-spacing:-.03em;color:#fff}.panel-head p{margin:0;font-size:.825rem;color:var(--text-muted);line-height:1.5}.section-label{font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--text-dim)}.stat-grid,.hero-metrics,.catalog-overview,.detail-metadata-grid{display:grid;gap:10px;padding:0 20px 20px}.hero-metrics,.catalog-overview{grid-template-columns:repeat(auto-fit,minmax(100px,1fr))}.stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-metadata-grid{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));padding:0 20px 20px}.stat-card,.overview-card,.hero-metric,.metadata-card{padding:12px 14px;border-radius:var(--radius-lg);background:#27272a73;border:1px solid rgba(63,63,70,.35)}.stat-card span,.overview-card span,.hero-metric span,.metadata-card span{display:block;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim);margin-bottom:6px}.stat-card strong,.overview-card strong,.hero-metric strong,.metadata-card strong{display:block;font-size:1.05rem;font-weight:700;color:var(--text);letter-spacing:-.02em;word-break:break-all}.path-value{font-size:.72rem!important;font-family:JetBrains Mono,Fira Code,monospace;word-break:break-all;opacity:.8}.button,.link-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 14px;border:1px solid transparent;border-radius:var(--radius-md);cursor:pointer;font-size:.8rem;font-weight:600;transition:background .15s,border-color .15s,box-shadow .15s,transform .12s,color .15s}.button:active{transform:scale(.97)}.button:disabled{opacity:.5;cursor:not-allowed;transform:none}.button-primary{background:var(--accent);color:#030712;box-shadow:0 0 14px #10b98133}.button-primary:hover:not(:disabled){background:var(--accent-hover);box-shadow:0 0 20px #10b98159}.button-secondary{background:#3f3f4673;border-color:#3f3f4699;color:var(--text)}.button-secondary:hover:not(:disabled){background:#3f3f46b3}.button-ghost,.link-button{background:transparent;border-color:#3f3f4680;color:var(--text-muted)}.button-ghost:hover:not(:disabled),.link-button:hover{background:var(--bg-hover);color:var(--text);border-color:var(--line-strong)}.button-danger{background:var(--danger-soft);border-color:#f8717133;color:var(--danger)}.button-danger:hover:not(:disabled){background:#f871712e}.button-icon{width:32px;min-height:32px;padding:0;border-radius:var(--radius-md)}.action-cluster{display:flex;align-items:center;gap:8px}.action-row{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.chip{display:inline-flex;align-items:center;height:26px;padding:0 10px;border-radius:999px;border:1px solid rgba(63,63,70,.45);background:#27272a8c;font-size:.75rem;font-weight:600;color:var(--text-muted)}.chip-accent{background:var(--accent-soft);border-color:#10b98133;color:var(--accent)}.chip-row,.tag-block{display:flex;flex-wrap:wrap;gap:6px}.chip-section{padding:0 20px 20px;display:grid;gap:8px}.tag-block{padding:0 20px}.tag-block-compat{padding-bottom:20px}.source-form{display:grid;gap:8px;padding:0 20px 16px}.source-form input,.search-shell-standalone input{width:100%;padding:8px 12px;border:1px solid rgba(63,63,70,.5);border-radius:var(--radius-md);background:#09090b99;color:var(--text);font-size:.8rem;outline:none;transition:border-color .15s,box-shadow .15s}.source-form input::placeholder{color:var(--text-dim);font-size:.8rem}.source-form input:focus{border-color:#10b98159;box-shadow:0 0 0 3px var(--accent-ring)}.source-list,.sync-list{display:grid;gap:6px;padding:0 20px 20px}.source-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;border-radius:var(--radius-md);background:#27272a66;border:1px solid rgba(63,63,70,.35)}.source-item strong{font-size:.825rem;color:var(--text)}.source-item p{margin:3px 0 0;font-size:.75rem;color:var(--text-dim);font-family:monospace}.sync-item{padding:10px 12px;border-radius:var(--radius-md);background:#27272a66;border:1px solid rgba(63,63,70,.35);display:grid;gap:4px}.sync-item-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline}.sync-item strong{font-size:.825rem;color:var(--text)}.sync-item p{margin:0;font-size:.72rem;color:var(--text-dim);font-family:monospace;word-break:break-all}.sync-item-head span{font-size:.7rem;color:var(--text-dim);white-space:nowrap}.muted-copy{font-size:.8rem;color:var(--text-dim);padding:0 20px 16px}.page-column{display:grid;gap:16px}.category-pills{display:flex;flex-wrap:wrap;gap:8px;padding:0 20px 20px}.category-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 14px;border-radius:999px;border:1px solid rgba(63,63,70,.45);background:#18181b99;color:var(--text-muted);font-size:.78rem;font-weight:600;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.category-pill:hover{color:var(--text);border-color:var(--line-strong)}.category-pill.active{background:var(--accent-soft);border-color:#10b98159;color:var(--accent)}.category-pill-count{font-size:10px;opacity:.6}.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px;padding:0 20px 20px}.skill-card{position:relative;display:flex;flex-direction:column;border:1px solid rgba(63,63,70,.45);border-radius:var(--radius-xl);background:#18181ba6;cursor:pointer;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}.skill-card:hover{border-color:#10b98138;box-shadow:0 0 0 1px #10b9811f,0 8px 28px #10b98112,0 2px 8px #0006;transform:translateY(-2px)}.skill-card.is-installed{border-color:#10b9814d;box-shadow:0 0 0 1px #10b9811f}.skill-card.is-installed:hover{box-shadow:0 0 0 1px #10b98159,0 8px 28px #10b9811a}.skill-card.is-installed:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,rgba(16,185,129,.04) 0%,transparent 60%);pointer-events:none;z-index:0}.skill-card-accent{display:none}.skill-card-body{padding:18px;flex:1;display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}.skill-card-icon-row{display:flex;justify-content:space-between;align-items:flex-start}.skill-icon-wrap{position:relative;width:48px;height:48px;border-radius:14px;border:1px solid rgba(63,63,70,.4);display:flex;align-items:center;justify-content:center;font-size:1.5rem;flex-shrink:0}.icon-bg-workflow{background:linear-gradient(135deg,#14532d,#052e16);border-color:#22c55e33}.icon-bg-testing{background:linear-gradient(135deg,#1e3a5f,#0c1a2e);border-color:#3b82f633}.icon-bg-devops{background:linear-gradient(135deg,#0e3a4a,#042f3e);border-color:#06b6d433}.icon-bg-tools{background:linear-gradient(135deg,#3b1c6a,#1e0e3a);border-color:#8b5cf633}.icon-bg-security{background:linear-gradient(135deg,#4a1818,#2d0c0c);border-color:#ef444433}.icon-bg-default{background:linear-gradient(135deg,#27272a,#18181b);border-color:#71717a33}.skill-installed-dot{position:absolute;top:-4px;right:-4px;width:16px;height:16px;border-radius:50%;background:var(--accent);border:2px solid #09090b;display:flex;align-items:center;justify-content:center;box-shadow:0 0 6px #10b98180}.skill-installed-dot svg{width:9px;height:9px;color:#030712}.skill-card-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.verified-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:5px;font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;background:var(--accent-soft);border:1px solid rgba(16,185,129,.2);color:var(--accent)}.downloads-count{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--text-dim)}.downloads-count svg{width:12px;height:12px}.skill-card-head{display:flex;align-items:baseline;gap:8px}.skill-card-head h3{margin:0;font-size:.975rem;font-weight:700;letter-spacing:-.02em;color:#fff;transition:color .15s;line-height:1.2}.skill-card:hover .skill-card-head h3{color:var(--accent)}.version-badge{font-size:11px;font-family:JetBrains Mono,monospace;color:var(--text-dim);white-space:nowrap}.skill-description{margin:0;font-size:.8rem;color:var(--text-muted);line-height:1.55;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tag-block{padding:0;gap:5px}.skill-tag{display:inline-flex;align-items:center;height:22px;padding:0 8px;border-radius:6px;border:1px solid;font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.06em}.tag-git{background:#22c55e14;color:#86efac;border-color:#22c55e2e}.tag-test{background:#3b82f614;color:#93c5fd;border-color:#3b82f62e}.tag-docker{background:#06b6d414;color:#67e8f9;border-color:#06b6d42e}.tag-security{background:#ef444414;color:#fca5a5;border-color:#ef44442e}.tag-react{background:#38bdf814;color:#7dd3fc;border-color:#38bdf82e}.tag-python{background:#facc1514;color:#fde68a;border-color:#facc152e}.tag-default{background:#71717a1f;color:#a1a1aa;border-color:#71717a33}.skill-card-footer{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;border-top:1px solid rgba(63,63,70,.35);position:relative;z-index:1}.skill-card.is-installed .skill-card-footer{background:#10b98108}.skill-author{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--text-dim)}.skill-author img{width:16px;height:16px;border-radius:50%;background:var(--bg-elevated)}.skill-card-actions{display:flex;align-items:center;gap:6px}.installed-label{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:600;color:var(--accent)}.installed-label:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent);display:inline-block}.remove-btn{padding:5px;border-radius:var(--radius-sm);border:1px solid transparent;background:transparent;color:var(--text-dim);cursor:pointer;transition:color .15s,background .15s,border-color .15s;display:flex;align-items:center;justify-content:center}.remove-btn svg{width:14px;height:14px}.remove-btn:hover{color:var(--danger);background:var(--danger-soft);border-color:#f8717133}.meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.meta-grid .section-label{display:block;margin-bottom:3px}.meta-grid strong{font-size:.78rem;color:var(--text)}.tag-block-compat{margin-top:4px}.empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:56px 24px;border:1px dashed rgba(63,63,70,.5);border-radius:var(--radius-xl);text-align:center;gap:8px}.empty-state strong{color:var(--text);font-size:.95rem}.empty-state p{color:var(--text-muted);font-size:.825rem;margin:0}.error-card{padding:16px 20px;border-radius:var(--radius-lg);border:1px solid rgba(248,113,113,.2);background:var(--danger-soft);display:grid;gap:6px}.error-card strong{color:var(--danger);font-size:.875rem}.error-card p{margin:0;font-size:.8rem;color:var(--text-muted)}.detail-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 20px 0}.detail-hero{padding:0 20px 20px;display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.detail-hero h2{margin:6px 0 0;font-size:1.4rem;font-weight:700;letter-spacing:-.03em;color:#fff}.detail-description{margin:8px 0 0;font-size:.85rem;color:var(--text-muted);line-height:1.6;max-width:60ch}.detail-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:flex-start;padding-top:8px}.detail-chip-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 20px 20px}.markdown-body{padding:0 20px 20px;max-width:78ch;line-height:1.7;color:var(--text-muted);font-size:.875rem}.markdown-body :is(h1,h2,h3,h4){color:var(--text);letter-spacing:-.03em}.markdown-body h1{font-size:1.6rem;margin:0 0 1rem}.markdown-body h2{font-size:1.25rem;margin:1.6rem 0 .6rem}.markdown-body h3{font-size:1.05rem;margin:1.2rem 0 .4rem}.markdown-body pre,.markdown-body code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:.82em}.markdown-body pre{overflow-x:auto;padding:14px 16px;border-radius:var(--radius-lg);background:#00000080;border:1px solid var(--line);color:#d4d4d8}.markdown-body :not(pre)>code{background:#3f3f4666;border:1px solid var(--line);padding:1px 5px;border-radius:4px;color:var(--accent)}.markdown-body table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.875rem}.markdown-body th,.markdown-body td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}.markdown-body th{color:var(--text);font-weight:600}.toast{position:fixed;right:20px;bottom:20px;min-width:260px;max-width:340px;border-radius:var(--radius-lg);background:var(--bg-elevated);border:1px solid var(--line-strong);box-shadow:0 8px 32px #00000080,0 0 0 1px #ffffff0a;overflow:hidden;z-index:60}.toast-content{display:flex;align-items:flex-start;gap:10px;padding:14px 16px}.toast-icon svg{width:16px;height:16px}.toast[data-tone=success] .toast-icon svg{color:var(--accent)}.toast[data-tone=error] .toast-icon svg{color:var(--danger)}.toast[data-tone=info] .toast-icon svg{color:#a5b4fc}.toast-text{flex:1}.toast-text strong{display:block;font-size:.8rem;color:var(--text);margin-bottom:2px}.toast-text span{font-size:.775rem;color:var(--text-muted)}.toast-bar{height:2px;animation:toast-progress 2.6s linear forwards}.toast[data-tone=success] .toast-bar{background:var(--accent)}.toast[data-tone=error] .toast-bar{background:var(--danger)}.toast[data-tone=info] .toast-bar{background:#818cf8}@keyframes toast-progress{0%{width:100%}to{width:0%}}.toast-enter-active,.toast-leave-active{transition:all .2s cubic-bezier(.16,1,.3,1)}.toast-enter-from,.toast-leave-to{opacity:0;transform:translate(16px) scale(.96)}.busy-overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#09090bb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);z-index:50}.busy-card{display:grid;gap:10px;justify-items:center;padding:24px 32px;border-radius:var(--radius-xl);background:var(--bg-elevated);border:1px solid var(--line-strong);box-shadow:var(--shadow)}.busy-card strong{font-size:.9rem;color:var(--text)}.busy-card span{font-size:.8rem;color:var(--text-muted)}.busy-spinner{width:32px;height:32px;border-radius:50%;border:2px solid rgba(16,185,129,.15);border-top-color:var(--accent);animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#3f3f4699;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#52525bcc}@media(max-width:900px){.sidebar{width:200px}}@media(max-width:680px){.sidebar{display:none}.detail-hero,.detail-topbar{flex-direction:column;align-items:stretch}.detail-actions{justify-content:stretch}.detail-chip-sections,.catalog-grid{grid-template-columns:1fr}}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
|
+
<title>Skillex UI</title>
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DN-z--cR.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-UBECch6X.css">
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="app" data-app-root="skillex-web-ui"></div>
|
|
12
|
+
<script>
|
|
13
|
+
window.__SKILLEX_BOOTSTRAP__ = "__SKILLEX_BOOTSTRAP__";
|
|
14
|
+
</script>
|
|
15
|
+
</body>
|
|
16
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "CLI to list, install, and synchronize AI agent skills from GitHub-hosted catalogs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"bin",
|
|
19
19
|
"dist",
|
|
20
|
+
"dist-ui",
|
|
20
21
|
"README.md",
|
|
21
22
|
"CHANGELOG.md"
|
|
22
23
|
],
|
|
@@ -63,11 +64,14 @@
|
|
|
63
64
|
"skillex": "bin/skillex.js"
|
|
64
65
|
},
|
|
65
66
|
"scripts": {
|
|
66
|
-
"build": "tsc -p tsconfig.json",
|
|
67
|
+
"build": "npm run build:ui && tsc -p tsconfig.json",
|
|
68
|
+
"build:ui": "vite build --config ui/vite.config.ts",
|
|
67
69
|
"build:test": "tsc -p tsconfig.test.json",
|
|
68
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
70
|
+
"typecheck": "npm run typecheck:ui && tsc --noEmit -p tsconfig.json",
|
|
71
|
+
"typecheck:ui": "vue-tsc --noEmit -p ui/tsconfig.app.json",
|
|
72
|
+
"dev:ui": "vite --config ui/vite.config.ts",
|
|
69
73
|
"start": "npm run build && node ./bin/skillex.js",
|
|
70
|
-
"test": "npm run build:test && node --test .test-dist/test/*.test.js",
|
|
74
|
+
"test": "npm run build:ui && npm run build:test && node --test .test-dist/test/*.test.js",
|
|
71
75
|
"prepublishOnly": "npm run build && npm test"
|
|
72
76
|
},
|
|
73
77
|
"engines": {
|
|
@@ -86,8 +90,14 @@
|
|
|
86
90
|
"@inquirer/prompts": "^7.9.0"
|
|
87
91
|
},
|
|
88
92
|
"devDependencies": {
|
|
93
|
+
"@vitejs/plugin-vue": "^5.2.1",
|
|
89
94
|
"@types/node": "^24.6.0",
|
|
90
|
-
"
|
|
95
|
+
"@vue/compiler-sfc": "^3.5.13",
|
|
96
|
+
"typescript": "^5.9.3",
|
|
97
|
+
"vite": "^6.3.5",
|
|
98
|
+
"vue": "^3.5.13",
|
|
99
|
+
"vue-router": "^4.5.1",
|
|
100
|
+
"vue-tsc": "^2.2.8"
|
|
91
101
|
},
|
|
92
102
|
"license": "MIT"
|
|
93
103
|
}
|