skillex 0.3.1 → 0.4.0
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 +262 -1
- package/README.md +57 -10
- package/dist/auto-sync.d.ts +66 -0
- package/dist/auto-sync.js +91 -0
- package/dist/catalog.js +5 -29
- package/dist/cli.d.ts +13 -0
- package/dist/cli.js +247 -141
- package/dist/confirm.js +3 -1
- package/dist/direct-github.d.ts +60 -0
- package/dist/direct-github.js +177 -0
- package/dist/doctor.d.ts +31 -0
- package/dist/doctor.js +172 -0
- package/dist/downloader.d.ts +42 -0
- package/dist/downloader.js +41 -0
- package/dist/fs.d.ts +21 -1
- package/dist/fs.js +30 -3
- package/dist/http.d.ts +28 -7
- package/dist/http.js +143 -42
- package/dist/install.d.ts +23 -9
- package/dist/install.js +75 -348
- package/dist/lockfile.d.ts +46 -0
- package/dist/lockfile.js +169 -0
- package/dist/output.d.ts +11 -0
- package/dist/output.js +49 -0
- package/dist/recommended.d.ts +13 -0
- package/dist/recommended.js +21 -0
- package/dist/runner.js +9 -9
- package/dist/skill.d.ts +2 -0
- package/dist/skill.js +3 -0
- package/dist/sync.js +12 -9
- package/dist/types.d.ts +39 -0
- package/dist/types.js +28 -0
- package/dist/ui.js +1 -1
- package/dist/user-config.d.ts +5 -0
- package/dist/user-config.js +22 -1
- package/dist/web-ui.js +5 -0
- package/dist-ui/assets/CatalogPage-CbtMTkxd.js +1 -0
- package/dist-ui/assets/CatalogPage-W5MqylAz.css +1 -0
- package/dist-ui/assets/DoctorPage-oUZyX91t.js +1 -0
- package/dist-ui/assets/Skeleton-B_xm5L3P.js +1 -0
- package/dist-ui/assets/Skeleton-_Ooiw1nN.css +1 -0
- package/dist-ui/assets/SkillDetailPage-5JHQLq3q.js +1 -0
- package/dist-ui/assets/SkillDetailPage-CBAaWpcc.css +1 -0
- package/dist-ui/assets/{index-UBECch6X.css → index-CWm7zQTg.css} +1 -1
- package/dist-ui/assets/index-I0b-syhc.js +26 -0
- package/dist-ui/assets/recommended-D_i10hwH.js +1 -0
- package/dist-ui/index.html +2 -2
- package/package.json +2 -2
- package/dist-ui/assets/CatalogPage-B_qic36n.js +0 -1
- package/dist-ui/assets/SkillDetailPage-BJ3onKk4.js +0 -1
- package/dist-ui/assets/index-DN-z--cR.js +0 -25
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/CatalogPage-CbtMTkxd.js","assets/Skeleton-B_xm5L3P.js","assets/Skeleton-_Ooiw1nN.css","assets/recommended-D_i10hwH.js","assets/CatalogPage-W5MqylAz.css","assets/SkillDetailPage-5JHQLq3q.js","assets/SkillDetailPage-CBAaWpcc.css","assets/DoctorPage-oUZyX91t.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
(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)}})();/**
|
|
3
|
+
* @vue/shared v3.5.32
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**/function Fs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ce={},Gt=[],at=()=>{},go=()=>!1,Un=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Kn=e=>e.startsWith("onUpdate:"),Se=Object.assign,Bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ki=Object.prototype.hasOwnProperty,ie=(e,t)=>Ki.call(e,t),q=Array.isArray,Wt=e=>wn(e)==="[object Map]",mo=e=>wn(e)==="[object Set]",ur=e=>wn(e)==="[object Date]",J=e=>typeof e=="function",ve=e=>typeof e=="string",ct=e=>typeof e=="symbol",le=e=>e!==null&&typeof e=="object",vo=e=>(le(e)||J(e))&&J(e.then)&&J(e.catch),yo=Object.prototype.toString,wn=e=>yo.call(e),$i=e=>wn(e).slice(8,-1),bo=e=>wn(e)==="[object Object]",js=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,on=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Gi=/-\w/g,De=$n(e=>e.replace(Gi,t=>t.slice(1).toUpperCase())),Wi=/\B([A-Z])/g,Rt=$n(e=>e.replace(Wi,"-$1").toLowerCase()),Gn=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),ss=$n(e=>e?`on${Gn(e)}`:""),lt=(e,t)=>!Object.is(e,t),On=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},_o=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Hs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},qi=e=>{const t=ve(e)?Number(e):NaN;return isNaN(t)?e:t};let fr;const Wn=()=>fr||(fr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vs(e){if(q(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ve(s)?Yi(s):Vs(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(ve(e)||le(e))return e}const zi=/;(?![^(]*\))/g,Qi=/:([^]+)/,Ji=/\/\*[^]*?\*\//g;function Yi(e){const t={};return e.replace(Ji,"").split(zi).forEach(n=>{if(n){const s=n.split(Qi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ze(e){let t="";if(ve(e))t=e;else if(q(e))for(let n=0;n<e.length;n++){const s=ze(e[n]);s&&(t+=s+" ")}else if(le(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Xi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zi=Fs(Xi);function So(e){return!!e||e===""}function el(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Us(e[s],t[s]);return n}function Us(e,t){if(e===t)return!0;let n=ur(e),s=ur(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ct(e),s=ct(t),n||s)return e===t;if(n=q(e),s=q(t),n||s)return n&&s?el(e,t):!1;if(n=le(e),s=le(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),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!Us(e[i],t[i]))return!1}}return String(e)===String(t)}const wo=e=>!!(e&&e.__v_isRef===!0),ge=e=>ve(e)?e:e==null?"":q(e)||le(e)&&(e.toString===yo||!J(e.toString))?wo(e)?ge(e.value):JSON.stringify(e,Eo,2):String(e),Eo=(e,t)=>wo(t)?Eo(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[rs(s,o)+" =>"]=r,n),{})}:mo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:ct(t)?rs(t):le(t)&&!q(t)&&!bo(t)?String(t):t,rs=(e,t="")=>{var n;return ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
+
* @vue/reactivity v3.5.32
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let Me;class tl{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=Me,!t&&Me&&(this.index=(Me.scopes||(Me.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=Me;try{return Me=this,t()}finally{Me=n}}}on(){++this._on===1&&(this.prevScope=Me,Me=this)}off(){this._on>0&&--this._on===0&&(Me=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 nl(){return Me}let fe;const os=new WeakSet;class xo{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,Me&&Me.active&&Me.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,os.has(this)&&(os.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Co(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dr(this),Ro(this);const t=fe,n=Qe;fe=this,Qe=!0;try{return this.fn()}finally{To(this),fe=t,Qe=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,dr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?os.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){_s(this)&&this.run()}get dirty(){return _s(this)}}let Ao=0,ln,an;function Co(e,t=!1){if(e.flags|=8,t){e.next=an,an=e;return}e.next=ln,ln=e}function Ks(){Ao++}function $s(){if(--Ao>0)return;if(an){let t=an;for(an=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ln;){let t=ln;for(ln=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 Ro(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function To(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),sl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function _s(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===hn)||(e.globalVersion=hn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!_s(e))))return;e.flags|=2;const t=e.dep,n=fe,s=Qe;fe=e,Qe=!0;try{Ro(e);const r=e.fn(e._value);(t.version===0||lt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=n,Qe=s,To(e),e.flags&=-3}}function Gs(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)Gs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function sl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Qe=!0;const Io=[];function yt(){Io.push(Qe),Qe=!1}function bt(){const e=Io.pop();Qe=e===void 0?!0:e}function dr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=fe;fe=void 0;try{t()}finally{fe=n}}}let hn=0;class rl{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 Ws{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(!fe||!Qe||fe===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==fe)n=this.activeLink=new rl(fe,this),fe.deps?(n.prevDep=fe.depsTail,fe.depsTail.nextDep=n,fe.depsTail=n):fe.deps=fe.depsTail=n,Po(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=fe.depsTail,n.nextDep=void 0,fe.depsTail.nextDep=n,fe.depsTail=n,fe.deps===n&&(fe.deps=s)}return n}trigger(t){this.version++,hn++,this.notify(t)}notify(t){Ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{$s()}}}function Po(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)Po(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ss=new WeakMap,Ft=Symbol(""),ws=Symbol(""),gn=Symbol("");function Ae(e,t,n){if(Qe&&fe){let s=Ss.get(e);s||Ss.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ws),r.map=s,r.key=n),r.track()}}function mt(e,t,n,s,r,o){const i=Ss.get(e);if(!i){hn++;return}const l=a=>{a&&a.trigger()};if(Ks(),t==="clear")i.forEach(l);else{const a=q(e),u=a&&js(n);if(a&&n==="length"){const c=Number(s);i.forEach((d,h)=>{(h==="length"||h===gn||!ct(h)&&h>=c)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(gn)),t){case"add":a?u&&l(i.get("length")):(l(i.get(Ft)),Wt(e)&&l(i.get(ws)));break;case"delete":a||(l(i.get(Ft)),Wt(e)&&l(i.get(ws)));break;case"set":Wt(e)&&l(i.get(Ft));break}}$s()}function Ht(e){const t=re(e);return t===e?t:(Ae(t,"iterate",gn),$e(e)?t:t.map(Je))}function qn(e){return Ae(e=re(e),"iterate",gn),e}function ot(e,t){return _t(e)?Qt(Bt(e)?Je(t):t):Je(t)}const ol={__proto__:null,[Symbol.iterator](){return is(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return Ht(this).concat(...e.map(t=>q(t)?Ht(t):t))},entries(){return is(this,"entries",e=>(e[1]=ot(this,e[1]),e))},every(e,t){return ft(this,"every",e,t,void 0,arguments)},filter(e,t){return ft(this,"filter",e,t,n=>n.map(s=>ot(this,s)),arguments)},find(e,t){return ft(this,"find",e,t,n=>ot(this,n),arguments)},findIndex(e,t){return ft(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ft(this,"findLast",e,t,n=>ot(this,n),arguments)},findLastIndex(e,t){return ft(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ft(this,"forEach",e,t,void 0,arguments)},includes(...e){return ls(this,"includes",e)},indexOf(...e){return ls(this,"indexOf",e)},join(e){return Ht(this).join(e)},lastIndexOf(...e){return ls(this,"lastIndexOf",e)},map(e,t){return ft(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return pr(this,"reduce",e,t)},reduceRight(e,...t){return pr(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return ft(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Ht(this).toReversed()},toSorted(e){return Ht(this).toSorted(e)},toSpliced(...e){return Ht(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return is(this,"values",e=>ot(this,e))}};function is(e,t,n){const s=qn(e),r=s[t]();return s!==e&&!$e(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const il=Array.prototype;function ft(e,t,n,s,r,o){const i=qn(e),l=i!==e&&!$e(e),a=i[t];if(a!==il[t]){const d=a.apply(e,o);return l?Je(d):d}let u=n;i!==e&&(l?u=function(d,h){return n.call(this,ot(e,d),h,e)}:n.length>2&&(u=function(d,h){return n.call(this,d,h,e)}));const c=a.call(i,u,s);return l&&r?r(c):c}function pr(e,t,n,s){const r=qn(e),o=r!==e&&!$e(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,c,d){return l&&(l=!1,u=ot(e,u)),n.call(this,u,ot(e,c),d,e)}):n.length>3&&(i=function(u,c,d){return n.call(this,u,c,d,e)}));const a=r[t](i,...s);return l?ot(e,a):a}function ls(e,t,n){const s=re(e);Ae(s,"iterate",gn);const r=s[t](...n);return(r===-1||r===!1)&&Qs(n[0])?(n[0]=re(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){yt(),Ks();const s=re(e)[t].apply(e,n);return $s(),bt(),s}const ll=Fs("__proto__,__v_isRef,__isVue"),ko=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ct));function al(e){ct(e)||(e=String(e));const t=re(this);return Ae(t,"has",e),t.hasOwnProperty(e)}class No{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?yl:Fo:o?Mo:Lo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=q(t);if(!r){let a;if(i&&(a=ol[n]))return a;if(n==="hasOwnProperty")return al}const l=Reflect.get(t,n,Te(t)?t:s);if((ct(n)?ko.has(n):ll(n))||(r||Ae(t,"get",n),o))return l;if(Te(l)){const a=i&&js(n)?l:l.value;return r&&le(a)?xs(a):a}return le(l)?r?xs(l):En(l):l}}class Do extends No{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=q(t)&&js(n);if(!this._isShallow){const u=_t(o);if(!$e(s)&&!_t(s)&&(o=re(o),s=re(s)),!i&&Te(o)&&!Te(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:ie(t,n),a=Reflect.set(t,n,s,Te(t)?t:r);return t===re(r)&&(l?lt(s,o)&&mt(t,"set",n,s):mt(t,"add",n,s)),a}deleteProperty(t,n){const s=ie(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&mt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!ct(n)||!ko.has(n))&&Ae(t,"has",n),s}ownKeys(t){return Ae(t,"iterate",q(t)?"length":Ft),Reflect.ownKeys(t)}}class cl extends No{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ul=new Do,fl=new cl,dl=new Do(!0);const Es=e=>e,Cn=e=>Reflect.getPrototypeOf(e);function pl(e,t,n){return function(...s){const r=this.__v_raw,o=re(r),i=Wt(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=r[e](...s),c=n?Es:t?Qt:Je;return!t&&Ae(o,"iterate",a?ws:Ft),Se(Object.create(u),{next(){const{value:d,done:h}=u.next();return h?{value:d,done:h}:{value:l?[c(d[0]),c(d[1])]:c(d),done:h}}})}}function Rn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function hl(e,t){const n={get(r){const o=this.__v_raw,i=re(o),l=re(r);e||(lt(r,l)&&Ae(i,"get",r),Ae(i,"get",l));const{has:a}=Cn(i),u=t?Es:e?Qt:Je;if(a.call(i,r))return u(o.get(r));if(a.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ae(re(r),"iterate",Ft),r.size},has(r){const o=this.__v_raw,i=re(o),l=re(r);return e||(lt(r,l)&&Ae(i,"has",r),Ae(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=re(l),u=t?Es:e?Qt:Je;return!e&&Ae(a,"iterate",Ft),l.forEach((c,d)=>r.call(o,u(c),u(d),i))}};return Se(n,e?{add:Rn("add"),set:Rn("set"),delete:Rn("delete"),clear:Rn("clear")}:{add(r){const o=re(this),i=Cn(o),l=re(r),a=!t&&!$e(r)&&!_t(r)?l:r;return i.has.call(o,a)||lt(r,a)&&i.has.call(o,r)||lt(l,a)&&i.has.call(o,l)||(o.add(a),mt(o,"add",a,a)),this},set(r,o){!t&&!$e(o)&&!_t(o)&&(o=re(o));const i=re(this),{has:l,get:a}=Cn(i);let u=l.call(i,r);u||(r=re(r),u=l.call(i,r));const c=a.call(i,r);return i.set(r,o),u?lt(o,c)&&mt(i,"set",r,o):mt(i,"add",r,o),this},delete(r){const o=re(this),{has:i,get:l}=Cn(o);let a=i.call(o,r);a||(r=re(r),a=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return a&&mt(o,"delete",r,void 0),u},clear(){const r=re(this),o=r.size!==0,i=r.clear();return o&&mt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=pl(r,e,t)}),n}function qs(e,t){const n=hl(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ie(n,r)&&r in s?n:s,r,o)}const gl={get:qs(!1,!1)},ml={get:qs(!1,!0)},vl={get:qs(!0,!1)};const Lo=new WeakMap,Mo=new WeakMap,Fo=new WeakMap,yl=new WeakMap;function bl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _l(e){return e.__v_skip||!Object.isExtensible(e)?0:bl($i(e))}function En(e){return _t(e)?e:zs(e,!1,ul,gl,Lo)}function Bo(e){return zs(e,!1,dl,ml,Mo)}function xs(e){return zs(e,!0,fl,vl,Fo)}function zs(e,t,n,s,r){if(!le(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=_l(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 Bt(e){return _t(e)?Bt(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function $e(e){return!!(e&&e.__v_isShallow)}function Qs(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function Sl(e){return!ie(e,"__v_skip")&&Object.isExtensible(e)&&_o(e,"__v_skip",!0),e}const Je=e=>le(e)?En(e):e,Qt=e=>le(e)?xs(e):e;function Te(e){return e?e.__v_isRef===!0:!1}function Nt(e){return jo(e,!1)}function wl(e){return jo(e,!0)}function jo(e,t){return Te(e)?e:new El(e,t)}class El{constructor(t,n){this.dep=new Ws,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:Je(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||$e(t)||_t(t);t=s?t:re(t),lt(t,n)&&(this._rawValue=t,this._value=s?t:Je(t),this.dep.trigger())}}function X(e){return Te(e)?e.value:e}const xl={get:(e,t,n)=>t==="__v_raw"?e:X(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Te(r)&&!Te(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ho(e){return Bt(e)?e:new Proxy(e,xl)}class Al{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ws(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=hn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return Co(this,!0),!0}get value(){const t=this.dep.track();return Oo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Cl(e,t,n=!1){let s,r;return J(e)?s=e:(s=e.get,r=e.set),new Al(s,r,n)}const Tn={},Dn=new WeakMap;let Dt;function Rl(e,t=!1,n=Dt){if(n){let s=Dn.get(n);s||Dn.set(n,s=[]),s.push(e)}}function Tl(e,t,n=ce){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,u=g=>r?g:$e(g)||r===!1||r===0?vt(g,1):vt(g);let c,d,h,v,O=!1,R=!1;if(Te(e)?(d=()=>e.value,O=$e(e)):Bt(e)?(d=()=>u(e),O=!0):q(e)?(R=!0,O=e.some(g=>Bt(g)||$e(g)),d=()=>e.map(g=>{if(Te(g))return g.value;if(Bt(g))return u(g);if(J(g))return a?a(g,2):g()})):J(e)?t?d=a?()=>a(e,2):e:d=()=>{if(h){yt();try{h()}finally{bt()}}const g=Dt;Dt=c;try{return a?a(e,3,[v]):e(v)}finally{Dt=g}}:d=at,t&&r){const g=d,_=r===!0?1/0:r;d=()=>vt(g(),_)}const $=nl(),V=()=>{c.stop(),$&&$.active&&Bs($.effects,c)};if(o&&t){const g=t;t=(..._)=>{g(..._),V()}}let P=R?new Array(e.length).fill(Tn):Tn;const H=g=>{if(!(!(c.flags&1)||!c.dirty&&!g))if(t){const _=c.run();if(r||O||(R?_.some((M,D)=>lt(M,P[D])):lt(_,P))){h&&h();const M=Dt;Dt=c;try{const D=[_,P===Tn?void 0:R&&P[0]===Tn?[]:P,v];P=_,a?a(t,3,D):t(...D)}finally{Dt=M}}}else c.run()};return l&&l(H),c=new xo(d),c.scheduler=i?()=>i(H,!1):H,v=g=>Rl(g,!1,c),h=c.onStop=()=>{const g=Dn.get(c);if(g){if(a)a(g,4);else for(const _ of g)_();Dn.delete(c)}},t?s?H(!0):P=c.run():i?i(H.bind(null,!0),!0):c.run(),V.pause=c.pause.bind(c),V.resume=c.resume.bind(c),V.stop=V,V}function vt(e,t=1/0,n){if(t<=0||!le(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,Te(e))vt(e.value,t,n);else if(q(e))for(let s=0;s<e.length;s++)vt(e[s],t,n);else if(mo(e)||Wt(e))e.forEach(s=>{vt(s,t,n)});else if(bo(e)){for(const s in e)vt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&vt(e[s],t,n)}return e}/**
|
|
11
|
+
* @vue/runtime-core v3.5.32
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function xn(e,t,n,s){try{return s?e(...s):e()}catch(r){zn(r,t,n)}}function Ye(e,t,n,s){if(J(e)){const r=xn(e,t,n,s);return r&&vo(r)&&r.catch(o=>{zn(o,t,n)}),r}if(q(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Ye(e[o],t,n,s));return r}}function zn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ce;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,u)===!1)return}l=l.parent}if(o){yt(),xn(o,null,10,[e,a,u]),bt();return}}Ol(e,n,r,s,i)}function Ol(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Pe=[];let st=-1;const qt=[];let xt=null,Vt=0;const Vo=Promise.resolve();let Ln=null;function Uo(e){const t=Ln||Vo;return e?t.then(this?e.bind(this):e):t}function Il(e){let t=st+1,n=Pe.length;for(;t<n;){const s=t+n>>>1,r=Pe[s],o=mn(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Js(e){if(!(e.flags&1)){const t=mn(e),n=Pe[Pe.length-1];!n||!(e.flags&2)&&t>=mn(n)?Pe.push(e):Pe.splice(Il(t),0,e),e.flags|=1,Ko()}}function Ko(){Ln||(Ln=Vo.then(Go))}function Pl(e){q(e)?qt.push(...e):xt&&e.id===-1?xt.splice(Vt+1,0,e):e.flags&1||(qt.push(e),e.flags|=1),Ko()}function hr(e,t,n=st+1){for(;n<Pe.length;n++){const s=Pe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Pe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function $o(e){if(qt.length){const t=[...new Set(qt)].sort((n,s)=>mn(n)-mn(s));if(qt.length=0,xt){xt.push(...t);return}for(xt=t,Vt=0;Vt<xt.length;Vt++){const n=xt[Vt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}xt=null,Vt=0}}const mn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Go(e){try{for(st=0;st<Pe.length;st++){const t=Pe[st];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(;st<Pe.length;st++){const t=Pe[st];t&&(t.flags&=-2)}st=-1,Pe.length=0,$o(),Ln=null,(Pe.length||qt.length)&&Go()}}let je=null,Wo=null;function Mn(e){const t=je;return je=e,Wo=e&&e.type.__scopeId||null,t}function qo(e,t=je,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&jn(-1);const o=Mn(t);let i;try{i=e(...r)}finally{Mn(o),s._d&&jn(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function kl(e,t){if(je===null)return e;const n=Zn(je),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=ce]=t[r];o&&(J(o)&&(o={mounted:o,updated:o}),o.deep&&vt(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Ot(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 a=l.dir[s];a&&(yt(),Ye(a,n,8,[e.el,l,e,t]),bt())}}function In(e,t){if(Ce){let n=Ce.provides;const s=Ce.parent&&Ce.parent.provides;s===n&&(n=Ce.provides=Object.create(s)),n[e]=t}}function Ge(e,t,n=!1){const s=xi();if(s||zt){let r=zt?zt._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&&J(t)?t.call(s&&s.proxy):t}}const Nl=Symbol.for("v-scx"),Dl=()=>Ge(Nl);function jt(e,t,n){return zo(e,t,n)}function zo(e,t,n=ce){const{immediate:s,deep:r,flush:o,once:i}=n,l=Se({},n),a=t&&s||!t&&o!=="post";let u;if(bn){if(o==="sync"){const v=Dl();u=v.__watcherHandles||(v.__watcherHandles=[])}else if(!a){const v=()=>{};return v.stop=at,v.resume=at,v.pause=at,v}}const c=Ce;l.call=(v,O,R)=>Ye(v,c,O,R);let d=!1;o==="post"?l.scheduler=v=>{Le(v,c&&c.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(v,O)=>{O?v():Js(v)}),l.augmentJob=v=>{t&&(v.flags|=4),d&&(v.flags|=2,c&&(v.id=c.uid,v.i=c))};const h=Tl(e,t,l);return bn&&(u?u.push(h):a&&h()),h}function Ll(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?Qo(s,e):()=>s[e]:e.bind(s,s);let o;J(t)?o=t:(o=t.handler,n=t);const i=An(this),l=zo(r,o.bind(s),n);return i(),l}function Qo(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 Ml=Symbol("_vte"),Jo=e=>e.__isTeleport,rt=Symbol("_leaveCb"),en=Symbol("_enterCb");function Fl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Xs(()=>{e.isMounted=!0}),ri(()=>{e.isUnmounting=!0}),e}const Ke=[Function,Array],Yo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ke,onEnter:Ke,onAfterEnter:Ke,onEnterCancelled:Ke,onBeforeLeave:Ke,onLeave:Ke,onAfterLeave:Ke,onLeaveCancelled:Ke,onBeforeAppear:Ke,onAppear:Ke,onAfterAppear:Ke,onAppearCancelled:Ke},Xo=e=>{const t=e.subTree;return t.component?Xo(t.component):t},Bl={name:"BaseTransition",props:Yo,setup(e,{slots:t}){const n=xi(),s=Fl();return()=>{const r=t.default&&ti(t.default(),!0);if(!r||!r.length)return;const o=Zo(r),i=re(e),{mode:l}=i;if(s.isLeaving)return as(o);const a=gr(o);if(!a)return as(o);let u=As(a,i,s,n,d=>u=d);a.type!==Ne&&vn(a,u);let c=n.subTree&&gr(n.subTree);if(c&&c.type!==Ne&&!Lt(c,a)&&Xo(n).type!==Ne){let d=As(c,i,s,n);if(vn(c,d),l==="out-in"&&a.type!==Ne)return s.isLeaving=!0,d.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete d.afterLeave,c=void 0},as(o);l==="in-out"&&a.type!==Ne?d.delayLeave=(h,v,O)=>{const R=ei(s,c);R[String(c.key)]=c,h[rt]=()=>{v(),h[rt]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{O(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Zo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ne){t=n;break}}return t}const jl=Bl;function ei(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 As(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:h,onLeave:v,onAfterLeave:O,onLeaveCancelled:R,onBeforeAppear:$,onAppear:V,onAfterAppear:P,onAppearCancelled:H}=t,g=String(e.key),_=ei(n,e),M=(B,Y)=>{B&&Ye(B,s,9,Y)},D=(B,Y)=>{const ee=Y[1];M(B,Y),q(B)?B.every(N=>N.length<=1)&&ee():B.length<=1&&ee()},W={mode:i,persisted:l,beforeEnter(B){let Y=a;if(!n.isMounted)if(o)Y=$||a;else return;B[rt]&&B[rt](!0);const ee=_[g];ee&&Lt(e,ee)&&ee.el[rt]&&ee.el[rt](),M(Y,[B])},enter(B){if(_[g]===e)return;let Y=u,ee=c,N=d;if(!n.isMounted)if(o)Y=V||u,ee=P||c,N=H||d;else return;let x=!1;B[en]=be=>{x||(x=!0,be?M(N,[B]):M(ee,[B]),W.delayedLeave&&W.delayedLeave(),B[en]=void 0)};const E=B[en].bind(null,!1);Y?D(Y,[B,E]):E()},leave(B,Y){const ee=String(e.key);if(B[en]&&B[en](!0),n.isUnmounting)return Y();M(h,[B]);let N=!1;B[rt]=E=>{N||(N=!0,Y(),E?M(R,[B]):M(O,[B]),B[rt]=void 0,_[ee]===e&&delete _[ee])};const x=B[rt].bind(null,!1);_[ee]=e,v?D(v,[B,x]):x()},clone(B){const Y=As(B,t,n,s,r);return r&&r(Y),Y}};return W}function as(e){if(Qn(e))return e=Ct(e),e.children=null,e}function gr(e){if(!Qn(e))return Jo(e.type)&&e.children?Zo(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&&J(n.default))return n.default()}}function vn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,vn(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 ti(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(ti(i.children,t,l))):(t||i.type!==Ne)&&s.push(l!=null?Ct(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function Ys(e,t){return J(e)?Se({name:e.name},t,{setup:e}):e}function ni(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function mr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Fn=new WeakMap;function cn(e,t,n,s,r=!1){if(q(e)){e.forEach((R,$)=>cn(R,t&&(q(t)?t[$]:t),n,s,r));return}if(un(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&cn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Zn(s.component):s.el,i=r?null:o,{i:l,r:a}=e,u=t&&t.r,c=l.refs===ce?l.refs={}:l.refs,d=l.setupState,h=re(d),v=d===ce?go:R=>mr(c,R)?!1:ie(h,R),O=(R,$)=>!($&&mr(c,$));if(u!=null&&u!==a){if(vr(t),ve(u))c[u]=null,v(u)&&(d[u]=null);else if(Te(u)){const R=t;O(u,R.k)&&(u.value=null),R.k&&(c[R.k]=null)}}if(J(a))xn(a,l,12,[i,c]);else{const R=ve(a),$=Te(a);if(R||$){const V=()=>{if(e.f){const P=R?v(a)?d[a]:c[a]:O()||!e.k?a.value:c[e.k];if(r)q(P)&&Bs(P,o);else if(q(P))P.includes(o)||P.push(o);else if(R)c[a]=[o],v(a)&&(d[a]=c[a]);else{const H=[o];O(a,e.k)&&(a.value=H),e.k&&(c[e.k]=H)}}else R?(c[a]=i,v(a)&&(d[a]=i)):$&&(O(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const P=()=>{V(),Fn.delete(e)};P.id=-1,Fn.set(e,P),Le(P,n)}else vr(e),V()}}}function vr(e){const t=Fn.get(e);t&&(t.flags|=8,Fn.delete(e))}Wn().requestIdleCallback;Wn().cancelIdleCallback;const un=e=>!!e.type.__asyncLoader,Qn=e=>e.type.__isKeepAlive;function Hl(e,t){si(e,"a",t)}function Vl(e,t){si(e,"da",t)}function si(e,t,n=Ce){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Jn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Qn(r.parent.vnode)&&Ul(s,t,n,r),r=r.parent}}function Ul(e,t,n,s){const r=Jn(t,e,s,!0);Zs(()=>{Bs(s[t],r)},n)}function Jn(e,t,n=Ce,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{yt();const l=An(n),a=Ye(t,n,e,i);return l(),bt(),a});return s?r.unshift(o):r.push(o),o}}const St=e=>(t,n=Ce)=>{(!bn||e==="sp")&&Jn(e,(...s)=>t(...s),n)},Kl=St("bm"),Xs=St("m"),$l=St("bu"),Gl=St("u"),ri=St("bum"),Zs=St("um"),Wl=St("sp"),ql=St("rtg"),zl=St("rtc");function Ql(e,t=Ce){Jn("ec",e,t)}const Jl="components";function Yl(e,t){return Zl(Jl,e,!0,t)||e}const Xl=Symbol.for("v-ndc");function Zl(e,t,n=!0,s=!1){const r=je||Ce;if(r){const o=r.type;{const l=Ba(o,!1);if(l&&(l===t||l===De(t)||l===Gn(De(t))))return o}const i=yr(r[e]||o[e],t)||yr(r.appContext[e],t);return!i&&s?o:i}}function yr(e,t){return e&&(e[t]||e[De(t)]||e[Gn(De(t))])}function tn(e,t,n,s){let r;const o=n,i=q(e);if(i||ve(e)){const l=i&&Bt(e);let a=!1,u=!1;l&&(a=!$e(e),u=_t(e),e=qn(e)),r=new Array(e.length);for(let c=0,d=e.length;c<d;c++)r[c]=t(a?u?Qt(Je(e[c])):Je(e[c]):e[c],c,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(le(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];r[a]=t(e[c],c,a,o)}}else r=[];return r}const Cs=e=>e?Ai(e)?Zn(e):Cs(e.parent):null,fn=Se(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=>Cs(e.parent),$root:e=>Cs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>ii(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=Uo.bind(e.proxy)),$watch:e=>Ll.bind(e)}),cs=(e,t)=>e!==ce&&!e.__isScriptSetup&&ie(e,t),ea={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=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(cs(s,t))return i[t]=1,s[t];if(r!==ce&&ie(r,t))return i[t]=2,r[t];if(ie(o,t))return i[t]=3,o[t];if(n!==ce&&ie(n,t))return i[t]=4,n[t];Rs&&(i[t]=0)}}const u=fn[t];let c,d;if(u)return t==="$attrs"&&Ae(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ce&&ie(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ie(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return cs(r,t)?(r[t]=n,!0):s!==ce&&ie(s,t)?(s[t]=n,!0):ie(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 a;return!!(n[l]||e!==ce&&l[0]!=="$"&&ie(e,l)||cs(t,l)||ie(o,l)||ie(s,l)||ie(fn,l)||ie(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ie(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function br(e){return q(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Rs=!0;function ta(e){const t=ii(e),n=e.proxy,s=e.ctx;Rs=!1,t.beforeCreate&&_r(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:d,mounted:h,beforeUpdate:v,updated:O,activated:R,deactivated:$,beforeDestroy:V,beforeUnmount:P,destroyed:H,unmounted:g,render:_,renderTracked:M,renderTriggered:D,errorCaptured:W,serverPrefetch:B,expose:Y,inheritAttrs:ee,components:N,directives:x,filters:E}=t;if(u&&na(u,s,null),i)for(const se in i){const te=i[se];J(te)&&(s[se]=te.bind(n))}if(r){const se=r.call(n,n);le(se)&&(e.data=En(se))}if(Rs=!0,o)for(const se in o){const te=o[se],Ve=J(te)?te.bind(n,n):J(te.get)?te.get.bind(n,n):at,We=!J(te)&&J(te.set)?te.set.bind(n):at,Fe=xe({get:Ve,set:We});Object.defineProperty(s,se,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:we=>Fe.value=we})}if(l)for(const se in l)oi(l[se],s,n,se);if(a){const se=J(a)?a.call(n):a;Reflect.ownKeys(se).forEach(te=>{In(te,se[te])})}c&&_r(c,e,"c");function de(se,te){q(te)?te.forEach(Ve=>se(Ve.bind(n))):te&&se(te.bind(n))}if(de(Kl,d),de(Xs,h),de($l,v),de(Gl,O),de(Hl,R),de(Vl,$),de(Ql,W),de(zl,M),de(ql,D),de(ri,P),de(Zs,g),de(Wl,B),q(Y))if(Y.length){const se=e.exposed||(e.exposed={});Y.forEach(te=>{Object.defineProperty(se,te,{get:()=>n[te],set:Ve=>n[te]=Ve,enumerable:!0})})}else e.exposed||(e.exposed={});_&&e.render===at&&(e.render=_),ee!=null&&(e.inheritAttrs=ee),N&&(e.components=N),x&&(e.directives=x),B&&ni(e)}function na(e,t,n=at){q(e)&&(e=Ts(e));for(const s in e){const r=e[s];let o;le(r)?"default"in r?o=Ge(r.from||s,r.default,!0):o=Ge(r.from||s):o=Ge(r),Te(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function _r(e,t,n){Ye(q(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function oi(e,t,n,s){let r=s.includes(".")?Qo(n,s):()=>n[s];if(ve(e)){const o=t[e];J(o)&&jt(r,o)}else if(J(e))jt(r,e.bind(n));else if(le(e))if(q(e))e.forEach(o=>oi(o,t,n,s));else{const o=J(e.handler)?e.handler.bind(n):t[e.handler];J(o)&&jt(r,o,e)}}function ii(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(u=>Bn(a,u,i,!0)),Bn(a,t,i)),le(t)&&o.set(t,a),a}function Bn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Bn(e,o,n,!0),r&&r.forEach(i=>Bn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=sa[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const sa={data:Sr,props:wr,emits:wr,methods:rn,computed:rn,beforeCreate:Oe,created:Oe,beforeMount:Oe,mounted:Oe,beforeUpdate:Oe,updated:Oe,beforeDestroy:Oe,beforeUnmount:Oe,destroyed:Oe,unmounted:Oe,activated:Oe,deactivated:Oe,errorCaptured:Oe,serverPrefetch:Oe,components:rn,directives:rn,watch:oa,provide:Sr,inject:ra};function Sr(e,t){return t?e?function(){return Se(J(e)?e.call(this,this):e,J(t)?t.call(this,this):t)}:t:e}function ra(e,t){return rn(Ts(e),Ts(t))}function Ts(e){if(q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Oe(e,t){return e?[...new Set([].concat(e,t))]:t}function rn(e,t){return e?Se(Object.create(null),e,t):t}function wr(e,t){return e?q(e)&&q(t)?[...new Set([...e,...t])]:Se(Object.create(null),br(e),br(t??{})):t}function oa(e,t){if(!e)return t;if(!t)return e;const n=Se(Object.create(null),e);for(const s in t)n[s]=Oe(e[s],t[s]);return n}function li(){return{app:null,config:{isNativeTag:go,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 ia=0;function la(e,t){return function(s,r=null){J(s)||(s=Se({},s)),r!=null&&!le(r)&&(r=null);const o=li(),i=new WeakSet,l=[];let a=!1;const u=o.app={_uid:ia++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Ha,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&J(c.install)?(i.add(c),c.install(u,...d)):J(c)&&(i.add(c),c(u,...d))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,d){return d?(o.components[c]=d,u):o.components[c]},directive(c,d){return d?(o.directives[c]=d,u):o.directives[c]},mount(c,d,h){if(!a){const v=u._ceVNode||Re(s,r);return v.appContext=o,h===!0?h="svg":h===!1&&(h=void 0),e(v,c,h),a=!0,u._container=c,c.__vue_app__=u,Zn(v.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Ye(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,d){return o.provides[c]=d,u},runWithContext(c){const d=zt;zt=u;try{return c()}finally{zt=d}}};return u}}let zt=null;const aa=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${Rt(t)}Modifiers`];function ca(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ce;let r=n;const o=t.startsWith("update:"),i=o&&aa(s,t.slice(7));i&&(i.trim&&(r=n.map(c=>ve(c)?c.trim():c)),i.number&&(r=n.map(Hs)));let l,a=s[l=ss(t)]||s[l=ss(De(t))];!a&&o&&(a=s[l=ss(Rt(t))]),a&&Ye(a,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ye(u,e,6,r)}}const ua=new WeakMap;function ai(e,t,n=!1){const s=n?ua:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!J(e)){const a=u=>{const c=ai(u,t,!0);c&&(l=!0,Se(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(le(e)&&s.set(e,null),null):(q(o)?o.forEach(a=>i[a]=null):Se(i,o),le(e)&&s.set(e,i),i)}function Yn(e,t){return!e||!Un(t)?!1:(t=t.slice(2).replace(/Once$/,""),ie(e,t[0].toLowerCase()+t.slice(1))||ie(e,Rt(t))||ie(e,t))}function Er(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:d,data:h,setupState:v,ctx:O,inheritAttrs:R}=e,$=Mn(e);let V,P;try{if(n.shapeFlag&4){const g=r||s,_=g;V=it(u.call(_,g,c,d,v,h,O)),P=l}else{const g=t;V=it(g.length>1?g(d,{attrs:l,slots:i,emit:a}):g(d,null)),P=t.props?l:fa(l)}}catch(g){dn.length=0,zn(g,e,1),V=Re(Ne)}let H=V;if(P&&R!==!1){const g=Object.keys(P),{shapeFlag:_}=H;g.length&&_&7&&(o&&g.some(Kn)&&(P=da(P,o)),H=Ct(H,P,!1,!0))}return n.dirs&&(H=Ct(H,null,!1,!0),H.dirs=H.dirs?H.dirs.concat(n.dirs):n.dirs),n.transition&&vn(H,n.transition),V=H,Mn($),V}const fa=e=>{let t;for(const n in e)(n==="class"||n==="style"||Un(n))&&((t||(t={}))[n]=e[n]);return t},da=(e,t)=>{const n={};for(const s in e)(!Kn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pa(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?xr(s,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let d=0;d<c.length;d++){const h=c[d];if(ci(i,s,h)&&!Yn(u,h))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?xr(s,i,u):!0:!!i;return!1}function xr(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(ci(t,e,o)&&!Yn(n,o))return!0}return!1}function ci(e,t,n){const s=e[n],r=t[n];return n==="style"&&le(s)&&le(r)?!Us(s,r):s!==r}function ha({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 ui={},fi=()=>Object.create(ui),di=e=>Object.getPrototypeOf(e)===ui;function ga(e,t,n,s=!1){const r={},o=fi();e.propsDefaults=Object.create(null),pi(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function ma(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=re(r),[a]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d<c.length;d++){let h=c[d];if(Yn(e.emitsOptions,h))continue;const v=t[h];if(a)if(ie(o,h))v!==o[h]&&(o[h]=v,u=!0);else{const O=De(h);r[O]=Os(a,l,O,v,e,!1)}else v!==o[h]&&(o[h]=v,u=!0)}}}else{pi(e,t,r,o)&&(u=!0);let c;for(const d in l)(!t||!ie(t,d)&&((c=Rt(d))===d||!ie(t,c)))&&(a?n&&(n[d]!==void 0||n[c]!==void 0)&&(r[d]=Os(a,l,d,void 0,e,!0)):delete r[d]);if(o!==l)for(const d in o)(!t||!ie(t,d))&&(delete o[d],u=!0)}u&&mt(e.attrs,"set","")}function pi(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(on(a))continue;const u=t[a];let c;r&&ie(r,c=De(a))?!o||!o.includes(c)?n[c]=u:(l||(l={}))[c]=u:Yn(e.emitsOptions,a)||(!(a in s)||u!==s[a])&&(s[a]=u,i=!0)}if(o){const a=re(n),u=l||ce;for(let c=0;c<o.length;c++){const d=o[c];n[d]=Os(r,a,d,u[d],e,!ie(u,d))}}return i}function Os(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=ie(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&J(a)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const c=An(r);s=u[n]=a.call(null,t),c()}}else s=a;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===Rt(n))&&(s=!0))}return s}const va=new WeakMap;function hi(e,t,n=!1){const s=n?va:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!J(e)){const c=d=>{a=!0;const[h,v]=hi(d,t,!0);Se(i,h),v&&l.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return le(e)&&s.set(e,Gt),Gt;if(q(o))for(let c=0;c<o.length;c++){const d=De(o[c]);Ar(d)&&(i[d]=ce)}else if(o)for(const c in o){const d=De(c);if(Ar(d)){const h=o[c],v=i[d]=q(h)||J(h)?{type:h}:Se({},h),O=v.type;let R=!1,$=!0;if(q(O))for(let V=0;V<O.length;++V){const P=O[V],H=J(P)&&P.name;if(H==="Boolean"){R=!0;break}else H==="String"&&($=!1)}else R=J(O)&&O.name==="Boolean";v[0]=R,v[1]=$,(R||ie(v,"default"))&&l.push(d)}}const u=[i,l];return le(e)&&s.set(e,u),u}function Ar(e){return e[0]!=="$"&&!on(e)}const er=e=>e==="_"||e==="_ctx"||e==="$stable",tr=e=>q(e)?e.map(it):[it(e)],ya=(e,t,n)=>{if(t._n)return t;const s=qo((...r)=>tr(t(...r)),n);return s._c=!1,s},gi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(er(r))continue;const o=e[r];if(J(o))t[r]=ya(r,o,s);else if(o!=null){const i=tr(o);t[r]=()=>i}}},mi=(e,t)=>{const n=tr(t);e.slots.default=()=>n},vi=(e,t,n)=>{for(const s in t)(n||!er(s))&&(e[s]=t[s])},ba=(e,t,n)=>{const s=e.slots=fi();if(e.vnode.shapeFlag&32){const r=t._;r?(vi(s,t,n),n&&_o(s,"_",r,!0)):gi(t,s)}else t&&mi(e,t)},_a=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ce;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:vi(r,t,n):(o=!t.$stable,gi(t,r)),i=t}else t&&(mi(e,t),i={default:1});if(o)for(const l in r)!er(l)&&i[l]==null&&delete r[l]},Le=Aa;function Sa(e){return wa(e)}function wa(e,t){const n=Wn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:d,nextSibling:h,setScopeId:v=at,insertStaticContent:O}=e,R=(f,p,m,y=null,w=null,b=null,k=void 0,I=null,T=!!p.dynamicChildren)=>{if(f===p)return;f&&!Lt(f,p)&&(y=S(f),we(f,w,b,!0),f=null),p.patchFlag===-2&&(T=!1,p.dynamicChildren=null);const{type:A,ref:G,shapeFlag:F}=p;switch(A){case Xn:$(f,p,m,y);break;case Ne:V(f,p,m,y);break;case Pn:f==null&&P(p,m,y,k);break;case ke:N(f,p,m,y,w,b,k,I,T);break;default:F&1?_(f,p,m,y,w,b,k,I,T):F&6?x(f,p,m,y,w,b,k,I,T):(F&64||F&128)&&A.process(f,p,m,y,w,b,k,I,T,U)}G!=null&&w?cn(G,f&&f.ref,b,p||f,!p):G==null&&f&&f.ref!=null&&cn(f.ref,null,b,f,!0)},$=(f,p,m,y)=>{if(f==null)s(p.el=l(p.children),m,y);else{const w=p.el=f.el;p.children!==f.children&&u(w,p.children)}},V=(f,p,m,y)=>{f==null?s(p.el=a(p.children||""),m,y):p.el=f.el},P=(f,p,m,y)=>{[f.el,f.anchor]=O(f.children,p,m,y,f.el,f.anchor)},H=({el:f,anchor:p},m,y)=>{let w;for(;f&&f!==p;)w=h(f),s(f,m,y),f=w;s(p,m,y)},g=({el:f,anchor:p})=>{let m;for(;f&&f!==p;)m=h(f),r(f),f=m;r(p)},_=(f,p,m,y,w,b,k,I,T)=>{if(p.type==="svg"?k="svg":p.type==="math"&&(k="mathml"),f==null)M(p,m,y,w,b,k,I,T);else{const A=f.el&&f.el._isVueCE?f.el:null;try{A&&A._beginPatch(),B(f,p,w,b,k,I,T)}finally{A&&A._endPatch()}}},M=(f,p,m,y,w,b,k,I)=>{let T,A;const{props:G,shapeFlag:F,transition:K,dirs:Q}=f;if(T=f.el=i(f.type,b,G&&G.is,G),F&8?c(T,f.children):F&16&&W(f.children,T,null,y,w,us(f,b),k,I),Q&&Ot(f,null,y,"created"),D(T,f,f.scopeId,k,y),G){for(const ae in G)ae!=="value"&&!on(ae)&&o(T,ae,null,G[ae],b,y);"value"in G&&o(T,"value",null,G.value,b),(A=G.onVnodeBeforeMount)&&nt(A,y,f)}Q&&Ot(f,null,y,"beforeMount");const ne=Ea(w,K);ne&&K.beforeEnter(T),s(T,p,m),((A=G&&G.onVnodeMounted)||ne||Q)&&Le(()=>{try{A&&nt(A,y,f),ne&&K.enter(T),Q&&Ot(f,null,y,"mounted")}finally{}},w)},D=(f,p,m,y,w)=>{if(m&&v(f,m),y)for(let b=0;b<y.length;b++)v(f,y[b]);if(w){let b=w.subTree;if(p===b||Si(b.type)&&(b.ssContent===p||b.ssFallback===p)){const k=w.vnode;D(f,k,k.scopeId,k.slotScopeIds,w.parent)}}},W=(f,p,m,y,w,b,k,I,T=0)=>{for(let A=T;A<f.length;A++){const G=f[A]=I?gt(f[A]):it(f[A]);R(null,G,p,m,y,w,b,k,I)}},B=(f,p,m,y,w,b,k)=>{const I=p.el=f.el;let{patchFlag:T,dynamicChildren:A,dirs:G}=p;T|=f.patchFlag&16;const F=f.props||ce,K=p.props||ce;let Q;if(m&&It(m,!1),(Q=K.onVnodeBeforeUpdate)&&nt(Q,m,p,f),G&&Ot(p,f,m,"beforeUpdate"),m&&It(m,!0),(F.innerHTML&&K.innerHTML==null||F.textContent&&K.textContent==null)&&c(I,""),A?Y(f.dynamicChildren,A,I,m,y,us(p,w),b):k||te(f,p,I,null,m,y,us(p,w),b,!1),T>0){if(T&16)ee(I,F,K,m,w);else if(T&2&&F.class!==K.class&&o(I,"class",null,K.class,w),T&4&&o(I,"style",F.style,K.style,w),T&8){const ne=p.dynamicProps;for(let ae=0;ae<ne.length;ae++){const ue=ne[ae],ye=F[ue],Ee=K[ue];(Ee!==ye||ue==="value")&&o(I,ue,ye,Ee,w,m)}}T&1&&f.children!==p.children&&c(I,p.children)}else!k&&A==null&&ee(I,F,K,m,w);((Q=K.onVnodeUpdated)||G)&&Le(()=>{Q&&nt(Q,m,p,f),G&&Ot(p,f,m,"updated")},y)},Y=(f,p,m,y,w,b,k)=>{for(let I=0;I<p.length;I++){const T=f[I],A=p[I],G=T.el&&(T.type===ke||!Lt(T,A)||T.shapeFlag&198)?d(T.el):m;R(T,A,G,null,y,w,b,k,!0)}},ee=(f,p,m,y,w)=>{if(p!==m){if(p!==ce)for(const b in p)!on(b)&&!(b in m)&&o(f,b,p[b],null,w,y);for(const b in m){if(on(b))continue;const k=m[b],I=p[b];k!==I&&b!=="value"&&o(f,b,I,k,w,y)}"value"in m&&o(f,"value",p.value,m.value,w)}},N=(f,p,m,y,w,b,k,I,T)=>{const A=p.el=f?f.el:l(""),G=p.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:K,slotScopeIds:Q}=p;Q&&(I=I?I.concat(Q):Q),f==null?(s(A,m,y),s(G,m,y),W(p.children||[],m,G,w,b,k,I,T)):F>0&&F&64&&K&&f.dynamicChildren&&f.dynamicChildren.length===K.length?(Y(f.dynamicChildren,K,m,w,b,k,I),(p.key!=null||w&&p===w.subTree)&&yi(f,p,!0)):te(f,p,m,G,w,b,k,I,T)},x=(f,p,m,y,w,b,k,I,T)=>{p.slotScopeIds=I,f==null?p.shapeFlag&512?w.ctx.activate(p,m,y,k,T):E(p,m,y,w,b,k,T):be(f,p,T)},E=(f,p,m,y,w,b,k)=>{const I=f.component=Na(f,y,w);if(Qn(f)&&(I.ctx.renderer=U),Da(I,!1,k),I.asyncDep){if(w&&w.registerDep(I,de,k),!f.el){const T=I.subTree=Re(Ne);V(null,T,p,m),f.placeholder=T.el}}else de(I,f,p,m,w,b,k)},be=(f,p,m)=>{const y=p.component=f.component;if(pa(f,p,m))if(y.asyncDep&&!y.asyncResolved){se(y,p,m);return}else y.next=p,y.update();else p.el=f.el,y.vnode=p},de=(f,p,m,y,w,b,k)=>{const I=()=>{if(f.isMounted){let{next:F,bu:K,u:Q,parent:ne,vnode:ae}=f;{const et=bi(f);if(et){F&&(F.el=ae.el,se(f,F,k)),et.asyncDep.then(()=>{Le(()=>{f.isUnmounted||A()},w)});return}}let ue=F,ye;It(f,!1),F?(F.el=ae.el,se(f,F,k)):F=ae,K&&On(K),(ye=F.props&&F.props.onVnodeBeforeUpdate)&&nt(ye,ne,F,ae),It(f,!0);const Ee=Er(f),Ze=f.subTree;f.subTree=Ee,R(Ze,Ee,d(Ze.el),S(Ze),f,w,b),F.el=Ee.el,ue===null&&ha(f,Ee.el),Q&&Le(Q,w),(ye=F.props&&F.props.onVnodeUpdated)&&Le(()=>nt(ye,ne,F,ae),w)}else{let F;const{el:K,props:Q}=p,{bm:ne,m:ae,parent:ue,root:ye,type:Ee}=f,Ze=un(p);It(f,!1),ne&&On(ne),!Ze&&(F=Q&&Q.onVnodeBeforeMount)&&nt(F,ue,p),It(f,!0);{ye.ce&&ye.ce._hasShadowRoot()&&ye.ce._injectChildStyle(Ee,f.parent?f.parent.type:void 0);const et=f.subTree=Er(f);R(null,et,m,y,f,w,b),p.el=et.el}if(ae&&Le(ae,w),!Ze&&(F=Q&&Q.onVnodeMounted)){const et=p;Le(()=>nt(F,ue,et),w)}(p.shapeFlag&256||ue&&un(ue.vnode)&&ue.vnode.shapeFlag&256)&&f.a&&Le(f.a,w),f.isMounted=!0,p=m=y=null}};f.scope.on();const T=f.effect=new xo(I);f.scope.off();const A=f.update=T.run.bind(T),G=f.job=T.runIfDirty.bind(T);G.i=f,G.id=f.uid,T.scheduler=()=>Js(G),It(f,!0),A()},se=(f,p,m)=>{p.component=f;const y=f.vnode.props;f.vnode=p,f.next=null,ma(f,p.props,y,m),_a(f,p.children,m),yt(),hr(f),bt()},te=(f,p,m,y,w,b,k,I,T=!1)=>{const A=f&&f.children,G=f?f.shapeFlag:0,F=p.children,{patchFlag:K,shapeFlag:Q}=p;if(K>0){if(K&128){We(A,F,m,y,w,b,k,I,T);return}else if(K&256){Ve(A,F,m,y,w,b,k,I,T);return}}Q&8?(G&16&&Ue(A,w,b),F!==A&&c(m,F)):G&16?Q&16?We(A,F,m,y,w,b,k,I,T):Ue(A,w,b,!0):(G&8&&c(m,""),Q&16&&W(F,m,y,w,b,k,I,T))},Ve=(f,p,m,y,w,b,k,I,T)=>{f=f||Gt,p=p||Gt;const A=f.length,G=p.length,F=Math.min(A,G);let K;for(K=0;K<F;K++){const Q=p[K]=T?gt(p[K]):it(p[K]);R(f[K],Q,m,null,w,b,k,I,T)}A>G?Ue(f,w,b,!0,!1,F):W(p,m,y,w,b,k,I,T,F)},We=(f,p,m,y,w,b,k,I,T)=>{let A=0;const G=p.length;let F=f.length-1,K=G-1;for(;A<=F&&A<=K;){const Q=f[A],ne=p[A]=T?gt(p[A]):it(p[A]);if(Lt(Q,ne))R(Q,ne,m,null,w,b,k,I,T);else break;A++}for(;A<=F&&A<=K;){const Q=f[F],ne=p[K]=T?gt(p[K]):it(p[K]);if(Lt(Q,ne))R(Q,ne,m,null,w,b,k,I,T);else break;F--,K--}if(A>F){if(A<=K){const Q=K+1,ne=Q<G?p[Q].el:y;for(;A<=K;)R(null,p[A]=T?gt(p[A]):it(p[A]),m,ne,w,b,k,I,T),A++}}else if(A>K)for(;A<=F;)we(f[A],w,b,!0),A++;else{const Q=A,ne=A,ae=new Map;for(A=ne;A<=K;A++){const Be=p[A]=T?gt(p[A]):it(p[A]);Be.key!=null&&ae.set(Be.key,A)}let ue,ye=0;const Ee=K-ne+1;let Ze=!1,et=0;const Xt=new Array(Ee);for(A=0;A<Ee;A++)Xt[A]=0;for(A=Q;A<=F;A++){const Be=f[A];if(ye>=Ee){we(Be,w,b,!0);continue}let tt;if(Be.key!=null)tt=ae.get(Be.key);else for(ue=ne;ue<=K;ue++)if(Xt[ue-ne]===0&&Lt(Be,p[ue])){tt=ue;break}tt===void 0?we(Be,w,b,!0):(Xt[tt-ne]=A+1,tt>=et?et=tt:Ze=!0,R(Be,p[tt],m,null,w,b,k,I,T),ye++)}const lr=Ze?xa(Xt):Gt;for(ue=lr.length-1,A=Ee-1;A>=0;A--){const Be=ne+A,tt=p[Be],ar=p[Be+1],cr=Be+1<G?ar.el||_i(ar):y;Xt[A]===0?R(null,tt,m,cr,w,b,k,I,T):Ze&&(ue<0||A!==lr[ue]?Fe(tt,m,cr,2):ue--)}}},Fe=(f,p,m,y,w=null)=>{const{el:b,type:k,transition:I,children:T,shapeFlag:A}=f;if(A&6){Fe(f.component.subTree,p,m,y);return}if(A&128){f.suspense.move(p,m,y);return}if(A&64){k.move(f,p,m,U);return}if(k===ke){s(b,p,m);for(let F=0;F<T.length;F++)Fe(T[F],p,m,y);s(f.anchor,p,m);return}if(k===Pn){H(f,p,m);return}if(y!==2&&A&1&&I)if(y===0)I.beforeEnter(b),s(b,p,m),Le(()=>I.enter(b),w);else{const{leave:F,delayLeave:K,afterLeave:Q}=I,ne=()=>{f.ctx.isUnmounted?r(b):s(b,p,m)},ae=()=>{b._isLeaving&&b[rt](!0),F(b,()=>{ne(),Q&&Q()})};K?K(b,ne,ae):ae()}else s(b,p,m)},we=(f,p,m,y=!1,w=!1)=>{const{type:b,props:k,ref:I,children:T,dynamicChildren:A,shapeFlag:G,patchFlag:F,dirs:K,cacheIndex:Q,memo:ne}=f;if(F===-2&&(w=!1),I!=null&&(yt(),cn(I,null,m,f,!0),bt()),Q!=null&&(p.renderCache[Q]=void 0),G&256){p.ctx.deactivate(f);return}const ae=G&1&&K,ue=!un(f);let ye;if(ue&&(ye=k&&k.onVnodeBeforeUnmount)&&nt(ye,p,f),G&6)Tt(f.component,m,y);else{if(G&128){f.suspense.unmount(m,y);return}ae&&Ot(f,null,p,"beforeUnmount"),G&64?f.type.remove(f,p,m,U,y):A&&!A.hasOnce&&(b!==ke||F>0&&F&64)?Ue(A,p,m,!1,!0):(b===ke&&F&384||!w&&G&16)&&Ue(T,p,m),y&&z(f)}const Ee=ne!=null&&Q==null;(ue&&(ye=k&&k.onVnodeUnmounted)||ae||Ee)&&Le(()=>{ye&&nt(ye,p,f),ae&&Ot(f,null,p,"unmounted"),Ee&&(f.el=null)},m)},z=f=>{const{type:p,el:m,anchor:y,transition:w}=f;if(p===ke){ut(m,y);return}if(p===Pn){g(f);return}const b=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:k,delayLeave:I}=w,T=()=>k(m,b);I?I(f.el,b,T):T()}else b()},ut=(f,p)=>{let m;for(;f!==p;)m=h(f),r(f),f=m;r(p)},Tt=(f,p,m)=>{const{bum:y,scope:w,job:b,subTree:k,um:I,m:T,a:A}=f;Cr(T),Cr(A),y&&On(y),w.stop(),b&&(b.flags|=8,we(k,f,p,m)),I&&Le(I,p),Le(()=>{f.isUnmounted=!0},p)},Ue=(f,p,m,y=!1,w=!1,b=0)=>{for(let k=b;k<f.length;k++)we(f[k],p,m,y,w)},S=f=>{if(f.shapeFlag&6)return S(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const p=h(f.anchor||f.el),m=p&&p[Ml];return m?h(m):p};let j=!1;const L=(f,p,m)=>{let y;f==null?p._vnode&&(we(p._vnode,null,null,!0),y=p._vnode.component):R(p._vnode||null,f,p,null,null,null,m),p._vnode=f,j||(j=!0,hr(y),$o(),j=!1)},U={p:R,um:we,m:Fe,r:z,mt:E,mc:W,pc:te,pbc:Y,n:S,o:e};return{render:L,hydrate:void 0,createApp:la(L)}}function us({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 It({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ea(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yi(e,t,n=!1){const s=e.children,r=t.children;if(q(s)&&q(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]=gt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&yi(i,l)),l.type===Xn&&(l.patchFlag===-1&&(l=r[o]=gt(l)),l.el=i.el),l.type===Ne&&!l.el&&(l.el=i.el)}}function xa(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<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 bi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bi(t)}function Cr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function _i(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?_i(t.subTree):null}const Si=e=>e.__isSuspense;function Aa(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Pl(e)}const ke=Symbol.for("v-fgt"),Xn=Symbol.for("v-txt"),Ne=Symbol.for("v-cmt"),Pn=Symbol.for("v-stc"),dn=[];let He=null;function pe(e=!1){dn.push(He=e?null:[])}function Ca(){dn.pop(),He=dn[dn.length-1]||null}let yn=1;function jn(e,t=!1){yn+=e,e<0&&He&&t&&(He.hasOnce=!0)}function wi(e){return e.dynamicChildren=yn>0?He||Gt:null,Ca(),yn>0&&He&&He.push(e),e}function he(e,t,n,s,r,o){return wi(C(e,t,n,s,r,o,!0))}function Ra(e,t,n,s,r){return wi(Re(e,t,n,s,r,!0))}function Hn(e){return e?e.__v_isVNode===!0:!1}function Lt(e,t){return e.type===t.type&&e.key===t.key}const Ei=({key:e})=>e??null,kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||Te(e)||J(e)?{i:je,r:e,k:t,f:!!n}:e:null);function C(e,t=null,n=null,s=0,r=null,o=e===ke?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ei(t),ref:t&&kn(t),scopeId:Wo,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:je};return l?(nr(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ve(n)?8:16),yn>0&&!i&&He&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&He.push(a),a}const Re=Ta;function Ta(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Xl)&&(e=Ne),Hn(e)){const l=Ct(e,t,!0);return n&&nr(l,n),yn>0&&!o&&He&&(l.shapeFlag&6?He[He.indexOf(e)]=l:He.push(l)),l.patchFlag=-2,l}if(ja(e)&&(e=e.__vccOpts),t){t=Oa(t);let{class:l,style:a}=t;l&&!ve(l)&&(t.class=ze(l)),le(a)&&(Qs(a)&&!q(a)&&(a=Se({},a)),t.style=Vs(a))}const i=ve(e)?1:Si(e)?128:Jo(e)?64:le(e)?4:J(e)?2:0;return C(e,t,n,s,r,i,o,!0)}function Oa(e){return e?Qs(e)||di(e)?Se({},e):e:null}function Ct(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,u=t?Ia(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Ei(u),ref:t&&t.ref?n&&o?q(o)?o.concat(kn(t)):[o,kn(t)]:kn(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:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ct(e.ssContent),ssFallback:e.ssFallback&&Ct(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&vn(c,a.clone(c)),c}function Ut(e=" ",t=0){return Re(Xn,null,e,t)}function Gf(e,t){const n=Re(Pn,null,e);return n.staticCount=t,n}function qe(e="",t=!1){return t?(pe(),Ra(Ne,null,e)):Re(Ne,null,e)}function it(e){return e==null||typeof e=="boolean"?Re(Ne):q(e)?Re(ke,null,e.slice()):Hn(e)?gt(e):Re(Xn,null,String(e))}function gt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ct(e)}function nr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(q(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),nr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!di(t)?t._ctx=je:r===3&&je&&(je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else J(t)?(t={default:t,_ctx:je},n=32):(t=String(t),s&64?(n=16,t=[Ut(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ia(...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=ze([t.class,s.class]));else if(r==="style")t.style=Vs([t.style,s.style]);else if(Un(r)){const o=t[r],i=s[r];i&&o!==i&&!(q(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Kn(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function nt(e,t,n,s=null){Ye(e,t,7,[n,s])}const Pa=li();let ka=0;function Na(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Pa,o={uid:ka++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new tl(!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:hi(s,r),emitsOptions:ai(s,r),emit:null,emitted:null,propsDefaults:ce,inheritAttrs:s.inheritAttrs,ctx:ce,data:ce,props:ce,attrs:ce,slots:ce,refs:ce,setupState:ce,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=ca.bind(null,o),e.ce&&e.ce(o),o}let Ce=null;const xi=()=>Ce||je;let Vn,Is;{const e=Wn(),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)}};Vn=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),Is=t("__VUE_SSR_SETTERS__",n=>bn=n)}const An=e=>{const t=Ce;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}},Rr=()=>{Ce&&Ce.scope.off(),Vn(null)};function Ai(e){return e.vnode.shapeFlag&4}let bn=!1;function Da(e,t=!1,n=!1){t&&Is(t);const{props:s,children:r}=e.vnode,o=Ai(e);ga(e,s,o,t),ba(e,r,n||t);const i=o?La(e,t):void 0;return t&&Is(!1),i}function La(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ea);const{setup:s}=n;if(s){yt();const r=e.setupContext=s.length>1?Fa(e):null,o=An(e),i=xn(s,e,0,[e.props,r]),l=vo(i);if(bt(),o(),(l||e.sp)&&!un(e)&&ni(e),l){if(i.then(Rr,Rr),t)return i.then(a=>{Tr(e,a)}).catch(a=>{zn(a,e,0)});e.asyncDep=i}else Tr(e,i)}else Ci(e)}function Tr(e,t,n){J(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:le(t)&&(e.setupState=Ho(t)),Ci(e)}function Ci(e,t,n){const s=e.type;e.render||(e.render=s.render||at);{const r=An(e);yt();try{ta(e)}finally{bt(),r()}}}const Ma={get(e,t){return Ae(e,"get",""),e[t]}};function Fa(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ma),slots:e.slots,emit:e.emit,expose:t}}function Zn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ho(Sl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in fn)return fn[n](e)},has(t,n){return n in t||n in fn}})):e.proxy}function Ba(e,t=!0){return J(e)?e.displayName||e.name:e.name||t&&e.__name}function ja(e){return J(e)&&"__vccOpts"in e}const xe=(e,t)=>Cl(e,t,bn);function sr(e,t,n){try{jn(-1);const s=arguments.length;return s===2?le(t)&&!q(t)?Hn(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Hn(n)&&(n=[n]),Re(e,t,n))}finally{jn(1)}}const Ha="3.5.32";/**
|
|
15
|
+
* @vue/runtime-dom v3.5.32
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/let Ps;const Or=typeof window<"u"&&window.trustedTypes;if(Or)try{Ps=Or.createPolicy("vue",{createHTML:e=>e})}catch{}const Ri=Ps?e=>Ps.createHTML(e):e=>e,Va="http://www.w3.org/2000/svg",Ua="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,Ir=ht&&ht.createElement("template"),Ka={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"?ht.createElementNS(Va,e):t==="mathml"?ht.createElementNS(Ua,e):n?ht.createElement(e,{is:n}):ht.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.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{Ir.innerHTML=Ri(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Ir.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},wt="transition",nn="animation",_n=Symbol("_vtc"),Ti={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},$a=Se({},Yo,Ti),Ga=e=>(e.displayName="Transition",e.props=$a,e),Wa=Ga((e,{slots:t})=>sr(jl,qa(e),t)),Pt=(e,t=[])=>{q(e)?e.forEach(n=>n(...t)):e&&e(...t)},Pr=e=>e?q(e)?e.some(t=>t.length>1):e.length>1:!1;function qa(e){const t={};for(const N in e)N in Ti||(t[N]=e[N]);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:a=o,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,O=za(r),R=O&&O[0],$=O&&O[1],{onBeforeEnter:V,onEnter:P,onEnterCancelled:H,onLeave:g,onLeaveCancelled:_,onBeforeAppear:M=V,onAppear:D=P,onAppearCancelled:W=H}=t,B=(N,x,E,be)=>{N._enterCancelled=be,kt(N,x?c:l),kt(N,x?u:i),E&&E()},Y=(N,x)=>{N._isLeaving=!1,kt(N,d),kt(N,v),kt(N,h),x&&x()},ee=N=>(x,E)=>{const be=N?D:P,de=()=>B(x,N,E);Pt(be,[x,de]),kr(()=>{kt(x,N?a:o),dt(x,N?c:l),Pr(be)||Nr(x,s,R,de)})};return Se(t,{onBeforeEnter(N){Pt(V,[N]),dt(N,o),dt(N,i)},onBeforeAppear(N){Pt(M,[N]),dt(N,a),dt(N,u)},onEnter:ee(!1),onAppear:ee(!0),onLeave(N,x){N._isLeaving=!0;const E=()=>Y(N,x);dt(N,d),N._enterCancelled?(dt(N,h),Mr(N)):(Mr(N),dt(N,h)),kr(()=>{N._isLeaving&&(kt(N,d),dt(N,v),Pr(g)||Nr(N,s,$,E))}),Pt(g,[N,E])},onEnterCancelled(N){B(N,!1,void 0,!0),Pt(H,[N])},onAppearCancelled(N){B(N,!0,void 0,!0),Pt(W,[N])},onLeaveCancelled(N){Y(N),Pt(_,[N])}})}function za(e){if(e==null)return null;if(le(e))return[fs(e.enter),fs(e.leave)];{const t=fs(e);return[t,t]}}function fs(e){return qi(e)}function dt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[_n]||(e[_n]=new Set)).add(t)}function kt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[_n];n&&(n.delete(t),n.size||(e[_n]=void 0))}function kr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qa=0;function Nr(e,t,n,s){const r=e._endId=++Qa,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=Ja(e,t);if(!i)return s();const u=i+"end";let c=0;const d=()=>{e.removeEventListener(u,h),o()},h=v=>{v.target===e&&++c>=a&&d()};setTimeout(()=>{c<a&&d()},l+1),e.addEventListener(u,h)}function Ja(e,t){const n=window.getComputedStyle(e),s=O=>(n[O]||"").split(", "),r=s(`${wt}Delay`),o=s(`${wt}Duration`),i=Dr(r,o),l=s(`${nn}Delay`),a=s(`${nn}Duration`),u=Dr(l,a);let c=null,d=0,h=0;t===wt?i>0&&(c=wt,d=i,h=o.length):t===nn?u>0&&(c=nn,d=u,h=a.length):(d=Math.max(i,u),c=d>0?i>u?wt:nn:null,h=c?c===wt?o.length:a.length:0);const v=c===wt&&/\b(?:transform|all)(?:,|$)/.test(s(`${wt}Property`).toString());return{type:c,timeout:d,propCount:h,hasTransform:v}}function Dr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Lr(n)+Lr(e[s])))}function Lr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Mr(e){return(e?e.ownerDocument:document).body.offsetHeight}function Ya(e,t,n){const s=e[_n];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fr=Symbol("_vod"),Xa=Symbol("_vsh"),Za=Symbol(""),ec=/(?:^|;)\s*display\s*:/;function tc(e,t,n){const s=e.style,r=ve(n);let o=!1;if(n&&!r){if(t)if(ve(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[Za];i&&(n+=";"+i),s.cssText=n,o=ec.test(n)}}else t&&e.removeAttribute("style");Fr in e&&(e[Fr]=o?s.display:"",e[Xa]&&(s.display="none"))}const Br=/\s*!important$/;function Nn(e,t,n){if(q(n))n.forEach(s=>Nn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=nc(e,t);Br.test(n)?e.setProperty(Rt(s),n.replace(Br,""),"important"):e[s]=n}}const jr=["Webkit","Moz","ms"],ds={};function nc(e,t){const n=ds[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return ds[t]=s;s=Gn(s);for(let r=0;r<jr.length;r++){const o=jr[r]+s;if(o in e)return ds[t]=o}return t}const Hr="http://www.w3.org/1999/xlink";function Vr(e,t,n,s,r,o=Zi(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Hr,t.slice(6,t.length)):e.setAttributeNS(Hr,t,n):n==null||o&&!So(n)?e.removeAttribute(t):e.setAttribute(t,o?"":ct(n)?String(n):n)}function Ur(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Ri(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=So(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 Kt(e,t,n,s){e.addEventListener(t,n,s)}function sc(e,t,n,s){e.removeEventListener(t,n,s)}const Kr=Symbol("_vei");function rc(e,t,n,s,r=null){const o=e[Kr]||(e[Kr]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=oc(t);if(s){const u=o[t]=ac(s,r);Kt(e,l,u,a)}else i&&(sc(e,l,i,a),o[t]=void 0)}}const $r=/(?:Once|Passive|Capture)$/;function oc(e){let t;if($r.test(e)){t={};let s;for(;s=e.match($r);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Rt(e.slice(2)),t]}let ps=0;const ic=Promise.resolve(),lc=()=>ps||(ic.then(()=>ps=0),ps=Date.now());function ac(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ye(cc(s,n.value),t,5,[s])};return n.value=e,n.attached=lc(),n}function cc(e,t){if(q(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 Gr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,uc=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ya(e,s,i):t==="style"?tc(e,n,s):Un(t)?Kn(t)||rc(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):fc(e,t,s,i))?(Ur(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Vr(e,t,s,i,o,t!=="value")):e._isVueCE&&(dc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ve(s)))?Ur(e,De(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Vr(e,t,s,i))};function fc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Gr(t)&&J(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 Gr(t)&&ve(n)?!1:t in e}function dc(e,t){const n=e._def.props;if(!n)return!1;const s=De(t);return Array.isArray(n)?n.some(r=>De(r)===s):Object.keys(n).some(r=>De(r)===s)}const Wr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?n=>On(t,n):t};function pc(e){e.target.composing=!0}function qr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hs=Symbol("_assign");function zr(e,t,n){return t&&(e=e.trim()),n&&(e=Hs(e)),e}const hc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[hs]=Wr(r);const o=s||r.props&&r.props.type==="number";Kt(e,t?"change":"input",i=>{i.target.composing||e[hs](zr(e.value,n,o))}),(n||o)&&Kt(e,"change",()=>{e.value=zr(e.value,n,o)}),t||(Kt(e,"compositionstart",pc),Kt(e,"compositionend",qr),Kt(e,"change",qr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[hs]=Wr(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Hs(e.value):e.value,a=t??"";if(l===a)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a)}},gc=["ctrl","shift","alt","meta"],mc={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)=>gc.some(n=>e[`${n}Key`]&&!t.includes(n))},Qr=(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=mc[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},vc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Wf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(r=>{if(!("key"in r))return;const o=Rt(r.key);if(t.some(i=>i===o||vc[i]===o))return e(r)}))},yc=Se({patchProp:uc},Ka);let Jr;function bc(){return Jr||(Jr=Sa(yc))}const _c=((...e)=>{const t=bc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=wc(s);if(!r)return;const o=t._component;!J(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Sc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Sc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wc(e){return ve(e)?document.querySelector(e):e}const Ec="modulepreload",xc=function(e){return"/"+e},Yr={},es=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(u=>{if(u=xc(u),u in Yr)return;Yr[u]=!0;const c=u.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":Ec,c||(h.as="script"),h.crossOrigin="",h.href=u,a&&h.setAttribute("nonce",a),document.head.appendChild(h),c)return new Promise((v,O)=>{h.addEventListener("load",v),h.addEventListener("error",()=>O(new Error(`Unable to preload CSS for ${u}`)))})}))}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)})};/*!
|
|
19
|
+
* vue-router v4.6.4
|
|
20
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
21
|
+
* @license MIT
|
|
22
|
+
*/const $t=typeof document<"u";function Oi(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ac(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Oi(e.default)}const oe=Object.assign;function gs(e,t){const n={};for(const s in t){const r=t[s];n[s]=Xe(r)?r.map(e):e(r)}return n}const pn=()=>{},Xe=Array.isArray;function Xr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Ii=/#/g,Cc=/&/g,Rc=/\//g,Tc=/=/g,Oc=/\?/g,Pi=/\+/g,Ic=/%5B/g,Pc=/%5D/g,ki=/%5E/g,kc=/%60/g,Ni=/%7B/g,Nc=/%7C/g,Di=/%7D/g,Dc=/%20/g;function rr(e){return e==null?"":encodeURI(""+e).replace(Nc,"|").replace(Ic,"[").replace(Pc,"]")}function Lc(e){return rr(e).replace(Ni,"{").replace(Di,"}").replace(ki,"^")}function ks(e){return rr(e).replace(Pi,"%2B").replace(Dc,"+").replace(Ii,"%23").replace(Cc,"%26").replace(kc,"`").replace(Ni,"{").replace(Di,"}").replace(ki,"^")}function Mc(e){return ks(e).replace(Tc,"%3D")}function Fc(e){return rr(e).replace(Ii,"%23").replace(Oc,"%3F")}function Bc(e){return Fc(e).replace(Rc,"%2F")}function Sn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const jc=/\/$/,Hc=e=>e.replace(jc,"");function ms(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),o=t.slice(a,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=$c(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Sn(i)}}function Vc(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 Uc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Jt(t.matched[s],n.matched[r])&&Li(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Jt(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(!Kc(e[n],t[n]))return!1;return!0}function Kc(e,t){return Xe(e)?eo(e,t):Xe(t)?eo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function eo(e,t){return Xe(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function $c(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 Et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ns=(function(e){return e.pop="pop",e.push="push",e})({}),vs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Gc(e){if(!e)if($t){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Hc(e)}const Wc=/^[^#]+#/;function qc(e,t){return e.replace(Wc,"#")+t}function zc(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 ts=()=>({left:window.scrollX,top:window.scrollY});function Qc(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=zc(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 to(e,t){return(history.state?history.state.position-t:-1)+e}const Ds=new Map;function Jc(e,t){Ds.set(e,t)}function Yc(e){const t=Ds.get(e);return Ds.delete(e),t}function Xc(e){return typeof e=="string"||e&&typeof e=="object"}function Mi(e){return typeof e=="string"||typeof e=="symbol"}let me=(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 Fi=Symbol("");me.MATCHER_NOT_FOUND+"",me.NAVIGATION_GUARD_REDIRECT+"",me.NAVIGATION_ABORTED+"",me.NAVIGATION_CANCELLED+"",me.NAVIGATION_DUPLICATED+"";function Yt(e,t){return oe(new Error,{type:e,[Fi]:!0},t)}function pt(e,t){return e instanceof Error&&Fi in e&&(t==null||!!(e.type&t))}const Zc=["params","query","hash"];function eu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Zc)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function tu(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(Pi," "),o=r.indexOf("="),i=Sn(o<0?r:r.slice(0,o)),l=o<0?null:Sn(r.slice(o+1));if(i in t){let a=t[i];Xe(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function no(e){let t="";for(let n in e){const s=e[n];if(n=Mc(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Xe(s)?s.map(r=>r&&ks(r)):[s&&ks(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function nu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Xe(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const su=Symbol(""),so=Symbol(""),ns=Symbol(""),or=Symbol(""),Ls=Symbol("");function sn(){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 At(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const u=h=>{h===!1?a(Yt(me.NAVIGATION_ABORTED,{from:n,to:t})):h instanceof Error?a(h):Xc(h)?a(Yt(me.NAVIGATION_GUARD_REDIRECT,{from:t,to:h})):(i&&s.enterCallbacks[r]===i&&typeof h=="function"&&i.push(h),l())},c=o(()=>e.call(s&&s.instances[r],t,n,u));let d=Promise.resolve(c);e.length<3&&(d=d.then(u)),d.catch(h=>a(h))})}function ys(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Oi(a)){const u=(a.__vccOpts||a)[t];u&&o.push(At(u,n,s,i,l,r))}else{let u=a();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Ac(c)?c.default:c;i.mods[l]=c,i.components[l]=d;const h=(d.__vccOpts||d)[t];return h&&At(h,n,s,i,l,r)()}))}}return o}function ru(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(u=>Jt(u,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(u=>Jt(u,a))||r.push(a))}return[n,s,r]}/*!
|
|
23
|
+
* vue-router v4.6.4
|
|
24
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
25
|
+
* @license MIT
|
|
26
|
+
*/let ou=()=>location.protocol+"//"+location.host;function Bi(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 iu(e,t,n,s){let r=[],o=[],i=null;const l=({state:h})=>{const v=Bi(e,location),O=n.value,R=t.value;let $=0;if(h){if(n.value=v,t.value=h,i&&i===O){i=null;return}$=R?h.position-R.position:0}else s(v);r.forEach(V=>{V(n.value,O,{delta:$,type:Ns.pop,direction:$?$>0?vs.forward:vs.back:vs.unknown})})};function a(){i=n.value}function u(h){r.push(h);const v=()=>{const O=r.indexOf(h);O>-1&&r.splice(O,1)};return o.push(v),v}function c(){if(document.visibilityState==="hidden"){const{history:h}=window;if(!h.state)return;h.replaceState(oe({},h.state,{scroll:ts()}),"")}}function d(){for(const h of o)h();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:u,destroy:d}}function ro(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?ts():null}}function lu(e){const{history:t,location:n}=window,s={value:Bi(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(a,u,c){const d=e.indexOf("#"),h=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:ou()+e+a;try{t[c?"replaceState":"pushState"](u,"",h),r.value=u}catch(v){console.error(v),n[c?"replace":"assign"](h)}}function i(a,u){o(a,oe({},t.state,ro(r.value.back,a,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=a}function l(a,u){const c=oe({},r.value,t.state,{forward:a,scroll:ts()});o(c.current,c,!0),o(a,oe({},ro(s.value,a,null),{position:c.position+1},u),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function au(e){e=Gc(e);const t=lu(e),n=iu(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=oe({location:"",base:e,go:s,createHref:qc.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 Mt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var _e=(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})(_e||{});const cu={type:Mt.Static,value:""},uu=/[a-zA-Z0-9_]/;function fu(e){if(!e)return[[]];if(e==="/")return[[cu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${u}": ${v}`)}let n=_e.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,u="",c="";function d(){u&&(n===_e.Static?o.push({type:Mt.Static,value:u}):n===_e.Param||n===_e.ParamRegExp||n===_e.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Mt.Param,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function h(){u+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==_e.ParamRegExp){s=n,n=_e.EscapeNext;continue}switch(n){case _e.Static:a==="/"?(u&&d(),i()):a===":"?(d(),n=_e.Param):h();break;case _e.EscapeNext:h(),n=s;break;case _e.Param:a==="("?n=_e.ParamRegExp:uu.test(a)?h():(d(),n=_e.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case _e.ParamRegExp:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=_e.ParamRegExpEnd:c+=a;break;case _e.ParamRegExpEnd:d(),n=_e.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===_e.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),d(),i(),r}const oo="[^/]+?",du={sensitive:!1,strict:!1,start:!0,end:!0};var Ie=(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})(Ie||{});const pu=/[.+*?^${}()[\]/\\]/g;function hu(e,t){const n=oe({},du,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[Ie.Root];n.strict&&!u.length&&(r+="/");for(let d=0;d<u.length;d++){const h=u[d];let v=Ie.Segment+(n.sensitive?Ie.BonusCaseSensitive:0);if(h.type===Mt.Static)d||(r+="/"),r+=h.value.replace(pu,"\\$&"),v+=Ie.Static;else if(h.type===Mt.Param){const{value:O,repeatable:R,optional:$,regexp:V}=h;o.push({name:O,repeatable:R,optional:$});const P=V||oo;if(P!==oo){v+=Ie.BonusCustomRegExp;try{`${P}`}catch(g){throw new Error(`Invalid custom RegExp for param "${O}" (${P}): `+g.message)}}let H=R?`((?:${P})(?:/(?:${P}))*)`:`(${P})`;d||(H=$&&u.length<2?`(?:/${H})`:"/"+H),$&&(H+="?"),r+=H,v+=Ie.Dynamic,$&&(v+=Ie.BonusOptional),R&&(v+=Ie.BonusRepeatable),P===".*"&&(v+=Ie.BonusWildcard)}c.push(v)}s.push(c)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Ie.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(u){const c=u.match(i),d={};if(!c)return null;for(let h=1;h<c.length;h++){const v=c[h]||"",O=o[h-1];d[O.name]=v&&O.repeatable?v.split("/"):v}return d}function a(u){let c="",d=!1;for(const h of e){(!d||!c.endsWith("/"))&&(c+="/"),d=!1;for(const v of h)if(v.type===Mt.Static)c+=v.value;else if(v.type===Mt.Param){const{value:O,repeatable:R,optional:$}=v,V=O in u?u[O]:"";if(Xe(V)&&!R)throw new Error(`Provided param "${O}" is an array but it is not repeatable (* or + modifiers)`);const P=Xe(V)?V.join("/"):V;if(!P)if($)h.length<2&&(c.endsWith("/")?c=c.slice(0,-1):d=!0);else throw new Error(`Missing required param "${O}"`);c+=P}}return c||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function gu(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]===Ie.Static+Ie.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Ie.Static+Ie.Segment?1:-1:0}function ji(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=gu(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(io(s))return 1;if(io(r))return-1}return r.length-s.length}function io(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const mu={strict:!1,end:!0,sensitive:!1};function vu(e,t,n){const s=hu(fu(e.path),n),r=oe(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function yu(e,t){const n=[],s=new Map;t=Xr(mu,t);function r(d){return s.get(d)}function o(d,h,v){const O=!v,R=ao(d);R.aliasOf=v&&v.record;const $=Xr(t,d),V=[R];if("alias"in d){const g=typeof d.alias=="string"?[d.alias]:d.alias;for(const _ of g)V.push(ao(oe({},R,{components:v?v.record.components:R.components,path:_,aliasOf:v?v.record:R})))}let P,H;for(const g of V){const{path:_}=g;if(h&&_[0]!=="/"){const M=h.record.path,D=M[M.length-1]==="/"?"":"/";g.path=h.record.path+(_&&D+_)}if(P=vu(g,h,$),v?v.alias.push(P):(H=H||P,H!==P&&H.alias.push(P),O&&d.name&&!co(P)&&i(d.name)),Hi(P)&&a(P),R.children){const M=R.children;for(let D=0;D<M.length;D++)o(M[D],P,v&&v.children[D])}v=v||P}return H?()=>{i(H)}:pn}function i(d){if(Mi(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 a(d){const h=Su(d,n);n.splice(h,0,d),d.record.name&&!co(d)&&s.set(d.record.name,d)}function u(d,h){let v,O={},R,$;if("name"in d&&d.name){if(v=s.get(d.name),!v)throw Yt(me.MATCHER_NOT_FOUND,{location:d});$=v.record.name,O=oe(lo(h.params,v.keys.filter(H=>!H.optional).concat(v.parent?v.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),d.params&&lo(d.params,v.keys.map(H=>H.name))),R=v.stringify(O)}else if(d.path!=null)R=d.path,v=n.find(H=>H.re.test(R)),v&&(O=v.parse(R),$=v.record.name);else{if(v=h.name?s.get(h.name):n.find(H=>H.re.test(h.path)),!v)throw Yt(me.MATCHER_NOT_FOUND,{location:d,currentLocation:h});$=v.record.name,O=oe({},h.params,d.params),R=v.stringify(O)}const V=[];let P=v;for(;P;)V.unshift(P.record),P=P.parent;return{name:$,path:R,params:O,matched:V,meta:_u(V)}}e.forEach(d=>o(d));function c(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:r}}function lo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function ao(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:bu(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 bu(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 co(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _u(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function Su(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;ji(e,t[o])<0?s=o:n=o+1}const r=wu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function wu(e){let t=e;for(;t=t.parent;)if(Hi(t)&&ji(e,t)===0)return t}function Hi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function uo(e){const t=Ge(ns),n=Ge(or),s=xe(()=>{const a=X(e.to);return t.resolve(a)}),r=xe(()=>{const{matched:a}=s.value,{length:u}=a,c=a[u-1],d=n.matched;if(!c||!d.length)return-1;const h=d.findIndex(Jt.bind(null,c));if(h>-1)return h;const v=fo(a[u-2]);return u>1&&fo(c)===v&&d[d.length-1].path!==v?d.findIndex(Jt.bind(null,a[u-2])):h}),o=xe(()=>r.value>-1&&Ru(n.params,s.value.params)),i=xe(()=>r.value>-1&&r.value===n.matched.length-1&&Li(n.params,s.value.params));function l(a={}){if(Cu(a)){const u=t[X(e.replace)?"replace":"push"](X(e.to)).catch(pn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:xe(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Eu(e){return e.length===1?e[0]:e}const xu=Ys({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:uo,setup(e,{slots:t}){const n=En(uo(e)),{options:s}=Ge(ns),r=xe(()=>({[po(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[po(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Eu(t.default(n));return e.custom?o:sr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Au=xu;function Cu(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 Ru(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(!Xe(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function fo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const po=(e,t,n)=>e??t??n,Tu=Ys({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ge(Ls),r=xe(()=>e.route||s.value),o=Ge(so,0),i=xe(()=>{let u=X(o);const{matched:c}=r.value;let d;for(;(d=c[u])&&!d.components;)u++;return u}),l=xe(()=>r.value.matched[i.value]);In(so,xe(()=>i.value+1)),In(su,l),In(Ls,r);const a=Nt();return jt(()=>[a.value,l.value,e.name],([u,c,d],[h,v,O])=>{c&&(c.instances[d]=u,v&&v!==c&&u&&u===h&&(c.leaveGuards.size||(c.leaveGuards=v.leaveGuards),c.updateGuards.size||(c.updateGuards=v.updateGuards))),u&&c&&(!v||!Jt(c,v)||!h)&&(c.enterCallbacks[d]||[]).forEach(R=>R(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,d=l.value,h=d&&d.components[c];if(!h)return ho(n.default,{Component:h,route:u});const v=d.props[c],O=v?v===!0?u.params:typeof v=="function"?v(u):v:null,$=sr(h,oe({},O,t,{onVnodeUnmounted:V=>{V.component.isUnmounted&&(d.instances[c]=null)},ref:a}));return ho(n.default,{Component:$,route:u})||$}}});function ho(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Ou=Tu;function Iu(e){const t=yu(e.routes,e),n=e.parseQuery||tu,s=e.stringifyQuery||no,r=e.history,o=sn(),i=sn(),l=sn(),a=wl(Et);let u=Et;$t&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=gs.bind(null,S=>""+S),d=gs.bind(null,Bc),h=gs.bind(null,Sn);function v(S,j){let L,U;return Mi(S)?(L=t.getRecordMatcher(S),U=j):U=S,t.addRoute(U,L)}function O(S){const j=t.getRecordMatcher(S);j&&t.removeRoute(j)}function R(){return t.getRoutes().map(S=>S.record)}function $(S){return!!t.getRecordMatcher(S)}function V(S,j){if(j=oe({},j||a.value),typeof S=="string"){const m=ms(n,S,j.path),y=t.resolve({path:m.path},j),w=r.createHref(m.fullPath);return oe(m,y,{params:h(y.params),hash:Sn(m.hash),redirectedFrom:void 0,href:w})}let L;if(S.path!=null)L=oe({},S,{path:ms(n,S.path,j.path).path});else{const m=oe({},S.params);for(const y in m)m[y]==null&&delete m[y];L=oe({},S,{params:d(m)}),j.params=d(j.params)}const U=t.resolve(L,j),Z=S.hash||"";U.params=c(h(U.params));const f=Vc(s,oe({},S,{hash:Lc(Z),path:U.path})),p=r.createHref(f);return oe({fullPath:f,hash:Z,query:s===no?nu(S.query):S.query||{}},U,{redirectedFrom:void 0,href:p})}function P(S){return typeof S=="string"?ms(n,S,a.value.path):oe({},S)}function H(S,j){if(u!==S)return Yt(me.NAVIGATION_CANCELLED,{from:j,to:S})}function g(S){return D(S)}function _(S){return g(oe(P(S),{replace:!0}))}function M(S,j){const L=S.matched[S.matched.length-1];if(L&&L.redirect){const{redirect:U}=L;let Z=typeof U=="function"?U(S,j):U;return typeof Z=="string"&&(Z=Z.includes("?")||Z.includes("#")?Z=P(Z):{path:Z},Z.params={}),oe({query:S.query,hash:S.hash,params:Z.path!=null?{}:S.params},Z)}}function D(S,j){const L=u=V(S),U=a.value,Z=S.state,f=S.force,p=S.replace===!0,m=M(L,U);if(m)return D(oe(P(m),{state:typeof m=="object"?oe({},Z,m.state):Z,force:f,replace:p}),j||L);const y=L;y.redirectedFrom=j;let w;return!f&&Uc(s,U,L)&&(w=Yt(me.NAVIGATION_DUPLICATED,{to:y,from:U}),Fe(U,U,!0,!1)),(w?Promise.resolve(w):Y(y,U)).catch(b=>pt(b)?pt(b,me.NAVIGATION_GUARD_REDIRECT)?b:We(b):te(b,y,U)).then(b=>{if(b){if(pt(b,me.NAVIGATION_GUARD_REDIRECT))return D(oe({replace:p},P(b.to),{state:typeof b.to=="object"?oe({},Z,b.to.state):Z,force:f}),j||y)}else b=N(y,U,!0,p,Z);return ee(y,U,b),b})}function W(S,j){const L=H(S,j);return L?Promise.reject(L):Promise.resolve()}function B(S){const j=ut.values().next().value;return j&&typeof j.runWithContext=="function"?j.runWithContext(S):S()}function Y(S,j){let L;const[U,Z,f]=ru(S,j);L=ys(U.reverse(),"beforeRouteLeave",S,j);for(const m of U)m.leaveGuards.forEach(y=>{L.push(At(y,S,j))});const p=W.bind(null,S,j);return L.push(p),Ue(L).then(()=>{L=[];for(const m of o.list())L.push(At(m,S,j));return L.push(p),Ue(L)}).then(()=>{L=ys(Z,"beforeRouteUpdate",S,j);for(const m of Z)m.updateGuards.forEach(y=>{L.push(At(y,S,j))});return L.push(p),Ue(L)}).then(()=>{L=[];for(const m of f)if(m.beforeEnter)if(Xe(m.beforeEnter))for(const y of m.beforeEnter)L.push(At(y,S,j));else L.push(At(m.beforeEnter,S,j));return L.push(p),Ue(L)}).then(()=>(S.matched.forEach(m=>m.enterCallbacks={}),L=ys(f,"beforeRouteEnter",S,j,B),L.push(p),Ue(L))).then(()=>{L=[];for(const m of i.list())L.push(At(m,S,j));return L.push(p),Ue(L)}).catch(m=>pt(m,me.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function ee(S,j,L){l.list().forEach(U=>B(()=>U(S,j,L)))}function N(S,j,L,U,Z){const f=H(S,j);if(f)return f;const p=j===Et,m=$t?history.state:{};L&&(U||p?r.replace(S.fullPath,oe({scroll:p&&m&&m.scroll},Z)):r.push(S.fullPath,Z)),a.value=S,Fe(S,j,L,p),We()}let x;function E(){x||(x=r.listen((S,j,L)=>{if(!Tt.listening)return;const U=V(S),Z=M(U,Tt.currentRoute.value);if(Z){D(oe(Z,{replace:!0,force:!0}),U).catch(pn);return}u=U;const f=a.value;$t&&Jc(to(f.fullPath,L.delta),ts()),Y(U,f).catch(p=>pt(p,me.NAVIGATION_ABORTED|me.NAVIGATION_CANCELLED)?p:pt(p,me.NAVIGATION_GUARD_REDIRECT)?(D(oe(P(p.to),{force:!0}),U).then(m=>{pt(m,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&!L.delta&&L.type===Ns.pop&&r.go(-1,!1)}).catch(pn),Promise.reject()):(L.delta&&r.go(-L.delta,!1),te(p,U,f))).then(p=>{p=p||N(U,f,!1),p&&(L.delta&&!pt(p,me.NAVIGATION_CANCELLED)?r.go(-L.delta,!1):L.type===Ns.pop&&pt(p,me.NAVIGATION_ABORTED|me.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),ee(U,f,p)}).catch(pn)}))}let be=sn(),de=sn(),se;function te(S,j,L){We(S);const U=de.list();return U.length?U.forEach(Z=>Z(S,j,L)):console.error(S),Promise.reject(S)}function Ve(){return se&&a.value!==Et?Promise.resolve():new Promise((S,j)=>{be.add([S,j])})}function We(S){return se||(se=!S,E(),be.list().forEach(([j,L])=>S?L(S):j()),be.reset()),S}function Fe(S,j,L,U){const{scrollBehavior:Z}=e;if(!$t||!Z)return Promise.resolve();const f=!L&&Yc(to(S.fullPath,0))||(U||!L)&&history.state&&history.state.scroll||null;return Uo().then(()=>Z(S,j,f)).then(p=>p&&Qc(p)).catch(p=>te(p,S,j))}const we=S=>r.go(S);let z;const ut=new Set,Tt={currentRoute:a,listening:!0,addRoute:v,removeRoute:O,clearRoutes:t.clearRoutes,hasRoute:$,getRoutes:R,resolve:V,options:e,push:g,replace:_,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:de.add,isReady:Ve,install(S){S.component("RouterLink",Au),S.component("RouterView",Ou),S.config.globalProperties.$router=Tt,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>X(a)}),$t&&!z&&a.value===Et&&(z=!0,g(r.location).catch(U=>{}));const j={};for(const U in Et)Object.defineProperty(j,U,{get:()=>a.value[U],enumerable:!0});S.provide(ns,Tt),S.provide(or,Bo(j)),S.provide(Ls,a);const L=S.unmount;ut.add(S),S.unmount=function(){ut.delete(S),ut.size<1&&(u=Et,x&&x(),x=null,a.value=Et,z=!1,se=!1),L()}}};function Ue(S){return S.reduce((j,L)=>j.then(()=>B(L)),Promise.resolve())}return Tt}function Pu(){return Ge(ns)}function ku(e){return Ge(or)}const Nu=()=>es(()=>import("./CatalogPage-CbtMTkxd.js"),__vite__mapDeps([0,1,2,3,4])),Du=()=>es(()=>import("./SkillDetailPage-5JHQLq3q.js"),__vite__mapDeps([5,1,2,6])),Lu=()=>es(()=>import("./DoctorPage-oUZyX91t.js"),__vite__mapDeps([7,1,2]));function Mu(e){return Iu({history:au(),routes:[{path:"/",name:"catalog",component:Nu},{path:"/skills/:skillId",name:"skill-detail",component:Du,props:!0},{path:"/doctor",name:"doctor",component:Lu}],scrollBehavior(){return{top:0}}})}function Fu(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")},getDoctor(){return t("/api/doctor")},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}:{}}})},installAll(n){return t("/api/install",{method:"POST",body:{all:!0,...n!=null&&n.repo?{repo:n.repo}:{},...n!=null&&n.ref?{ref:n.ref}:{}}})},installSkillIds(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}:{}}})},removeSkills(n){return t("/api/remove",{method:"POST",body:{skillIds:n}})},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 Bu(e){return Object.values(e||{}).sort((t,n)=>n.syncedAt.localeCompare(t.syncedAt))}function bs(e){return e instanceof Error?e.message:String(e)}const Ms="skillex.selection";function ju(){try{const e=window.localStorage.getItem(Ms);if(!e)return null;const t=JSON.parse(e);return!t||!Array.isArray(t.ids)?null:t}catch{return null}}function Hu(e){try{if(!e||e.ids.length===0){window.localStorage.removeItem(Ms);return}window.localStorage.setItem(Ms,JSON.stringify(e))}catch{}}const Vi=Symbol("skillex-store");function Vu(e,t){const n=En({bootstrap:t,scope:t.initialScope,syncAdapter:"all",searchQuery:"",dashboard:null,catalog:null,detail:null,detailLoading:!1,initialized:!1,busyLabel:null,busyCards:new Set,selectedSkillIds:new Set,selectionAnchorId:null,doctorStatus:null,notice:null,toast:{visible:!1,tone:"info",message:""}}),s=Fu({token:t.token,getScope:()=>n.scope});let r=null;function o(){return{token:t.token,scope:n.scope}}function i(g,_){n.notice={message:g,tone:_},n.toast.visible=!0,n.toast.message=g,n.toast.tone=_,r&&clearTimeout(r),r=setTimeout(()=>{n.toast.visible=!1},2600)}async function l(){const[g,_]=await Promise.all([s.getState(),s.getCatalog()]);n.dashboard=g,n.catalog=_}async function a(g){await l(),g&&await O(g)}async function u(g,_,M){n.busyLabel=g;try{await _(),await a(M),i(`${g} complete.`,"success"),d()}catch(D){const W=bs(D);throw n.notice={message:W,tone:"error"},i(W,"error"),D}finally{n.busyLabel=null}}async function c(g,_,M,D){const W=new Set(n.busyCards);W.add(g),n.busyCards=W;try{await M(),await a(D),i(`${_} complete.`,"success"),d()}catch(B){const Y=bs(B);throw n.notice={message:Y,tone:"error"},i(Y,"error"),B}finally{const B=new Set(n.busyCards);B.delete(g),n.busyCards=B}}async function d(){try{const g=await s.getDoctor();g.hasFailures?n.doctorStatus="fail":g.checks.some(_=>_.status==="warn")?n.doctorStatus="warn":n.doctorStatus="pass"}catch{}}async function h(){n.detail=null,await e.push({name:"catalog",query:o()})}async function v(g){await e.push({name:"skill-detail",params:{skillId:g},query:o()})}async function O(g){n.detailLoading=!0;try{n.detail=await s.getSkillDetail(g)}catch(_){throw n.detail=null,i(bs(_),"error"),_}finally{n.detailLoading=!1}}async function R(g){var M;if(n.initialized){g&&await O(g);return}n.initialized=!0,await l(),d();const _=ju();if(_&&_.scope===n.scope){const D=new Set((((M=n.catalog)==null?void 0:M.skills)??[]).map(B=>B.id)),W=_.ids.filter(B=>D.has(B));W.length>0&&(n.selectedSkillIds=new Set(W),_.anchor&&W.includes(_.anchor)?n.selectionAnchorId=_.anchor:n.selectionAnchorId=W[W.length-1]??null)}g&&await O(g)}jt(()=>({ids:[...n.selectedSkillIds],anchor:n.selectionAnchorId,scope:n.scope,initialized:n.initialized}),g=>{g.initialized&&Hu({scope:g.scope,ids:g.ids,anchor:g.anchor})},{deep:!1});async function $(g){if(n.scope===g)return;n.scope=g;const _=typeof e.currentRoute.value.params.skillId=="string"?e.currentRoute.value.params.skillId:null;_?await e.replace({name:"skill-detail",params:{skillId:_},query:o()}):await e.replace({name:"catalog",query:o()}),await a(_)}const V=xe(()=>{var M;const g=((M=n.catalog)==null?void 0:M.skills)||[],_=n.searchQuery.trim().toLowerCase();return _?g.filter(D=>[D.id,D.name,D.description,D.author||"",D.source.label||"",D.source.repo,...D.tags,...D.compatibility].join(" ").toLowerCase().includes(_)):g}),P=xe(()=>{var _;const g=((_=n.dashboard)==null?void 0:_.adapters.supported)||[];return[{value:"all",label:"All detected"},...g.map(M=>({value:M.id,label:M.label}))]}),H=xe(()=>{var g;return Bu(((g=n.dashboard)==null?void 0:g.syncHistory)||{})});return{state:n,filteredSkills:V,availableSyncAdapters:P,recentSyncTargets:H,initialize:R,refreshAll:l,async loadSkillDetail(g){await O(g)},clearDetail(){n.detail=null},async navigateHome(){await h()},async navigateToSkill(g){await v(g)},async setScope(g){await $(g)},setSyncAdapter(g){n.syncAdapter=g||"all"},async installSkill(g){var _;await c(g.id,`Installed ${g.name}`,()=>s.installSkill(g.id,{repo:g.source.repo,ref:g.source.ref}),((_=n.detail)==null?void 0:_.skill.id)||null)},async installAll(g){var M;let _={installedCount:0};return await u("Installing every skill in the catalog",async()=>{_=await s.installAll(g)},((M=n.detail)==null?void 0:M.skill.id)||null),_},async installRecommended(){var Y,ee,N;const{RECOMMENDED_SKILL_IDS:g}=await es(async()=>{const{RECOMMENDED_SKILL_IDS:x}=await import("./recommended-D_i10hwH.js");return{RECOMMENDED_SKILL_IDS:x}},[]),_=new Set((((Y=n.catalog)==null?void 0:Y.skills)??[]).map(x=>x.id)),M=new Set((((ee=n.dashboard)==null?void 0:ee.installed)??[]).map(x=>x.id)),D=g.filter(x=>_.has(x)&&!M.has(x)),W=g.filter(x=>!_.has(x));if(D.length===0)return i(W.length>0?`Recommended pack already installed (skipped ${W.length} not in catalog).`:"Recommended pack is already installed.","info"),{installedCount:0,missing:[...W]};let B={installedCount:0,missing:[...W]};return await u(`Installing ${D.length} recommended skill(s)`,async()=>{B={installedCount:(await s.installSkillIds([...D])).installedCount,missing:[...W]}},((N=n.detail)==null?void 0:N.skill.id)||null),B},async removeSkill(g){var M;const _=((M=n.detail)==null?void 0:M.skill.id)||null;await c(g,`Removed ${g}`,()=>s.removeSkill(g),_===g?null:_),_===g&&(n.detail=null,await h())},async removeAllInstalled(){var M;const g=(((M=n.dashboard)==null?void 0:M.installed)??[]).map(D=>D.id);if(g.length===0)return{removedCount:0};let _={removedCount:0};return await u(`Removing ${g.length} installed skill(s)`,async()=>{_={removedCount:(await s.removeSkills(g)).removedSkills.length}}),_},async updateSkill(g){var _,M;g?await c(g,`Updated ${g}`,()=>s.updateSkill(g),((_=n.detail)==null?void 0:_.skill.id)||null):await u("Updated installed skills",()=>s.updateSkill(g),((M=n.detail)==null?void 0:M.skill.id)||null)},async syncNow(){var g;await u("Sync finished",()=>s.syncSkills(n.syncAdapter),((g=n.detail)==null?void 0:g.skill.id)||null)},async addSource(g){var _;await u(`Added ${g.repo}`,()=>s.addSource(g),((_=n.detail)==null?void 0:_.skill.id)||null)},async removeSource(g){var _;await u(`Removed ${g}`,()=>s.removeSource(g),((_=n.detail)==null?void 0:_.skill.id)||null)},setSearchQuery(g){n.searchQuery=g},clearNotice(){n.notice=null},async loadDoctorStatus(){await d()},loadDoctor(){return s.getDoctor()},toggleSelectedSkill(g){const _=new Set(n.selectedSkillIds);_.has(g)?_.delete(g):_.add(g),n.selectedSkillIds=_,n.selectionAnchorId=g},selectRangeFromAnchor(g,_){const M=n.selectionAnchorId;if(!M||!_.includes(M)||!_.includes(g)){const x=new Set(n.selectedSkillIds);x.has(g)?x.delete(g):x.add(g),n.selectedSkillIds=x,n.selectionAnchorId=g;return}const D=_.indexOf(M),W=_.indexOf(g),[B,Y]=D<=W?[D,W]:[W,D],ee=_.slice(B,Y+1),N=new Set(n.selectedSkillIds);for(const x of ee)N.add(x);n.selectedSkillIds=N,n.selectionAnchorId=g},setSelectedSkills(g){n.selectedSkillIds=new Set(g),n.selectionAnchorId=g[g.length-1]??null},clearSelection(){n.selectedSkillIds.size===0&&n.selectionAnchorId===null||(n.selectedSkillIds=new Set,n.selectionAnchorId=null)},async installSelectedSkills(){var D,W;const g=new Set((((D=n.dashboard)==null?void 0:D.installed)??[]).map(B=>B.id)),_=[...n.selectedSkillIds].filter(B=>!g.has(B));if(_.length===0)return i("Selected skills are already installed.","info"),n.selectedSkillIds=new Set,{installedCount:0};let M={installedCount:0};return await u(`Installing ${_.length} selected skill(s)`,async()=>{M={installedCount:(await s.installSkillIds(_)).installedCount}},((W=n.detail)==null?void 0:W.skill.id)||null),n.selectedSkillIds=new Set,M},async removeSelectedSkills(){var D;const g=new Set((((D=n.dashboard)==null?void 0:D.installed)??[]).map(W=>W.id)),_=[...n.selectedSkillIds].filter(W=>g.has(W));if(_.length===0)return i("No selected skills are installed.","info"),n.selectedSkillIds=new Set,{removedCount:0};let M={removedCount:0};return await u(`Removing ${_.length} selected skill(s)`,async()=>{M={removedCount:(await s.removeSkills(_)).removedSkills.length}}),n.selectedSkillIds=new Set,M}}}function Uu(){const e=Ge(Vi);if(!e)throw new Error("Skillex store was not provided.");return e}function Ku(){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 $u={class:"sidebar"},Gu={class:"sidebar-nav"},Wu={key:0,class:"nav-badge"},qu=["data-status","title"],zu={style:{padding:"0 10px 8px",display:"flex","flex-wrap":"wrap",gap:"5px"}},Qu={key:0,style:{"font-size":"11px",color:"var(--text-dim)",padding:"2px 0"}},Ju={class:"nav-section-label",style:{"font-size":"9px","margin-bottom":"4px",color:"var(--text-dim)"}},Yu={style:{padding:"0 10px 8px",display:"grid",gap:"4px"}},Xu={style:{margin:"0","font-size":"11px","font-weight":"600",color:"var(--text)"}},Zu={style:{margin:"2px 0 0","font-size":"10px",color:"var(--text-dim)","font-family":"monospace"}},ef=["onClick"],tf={key:0,style:{"font-size":"11px",color:"var(--text-dim)",padding:"2px 0"}},nf={style:{padding:"0 10px 8px",display:"grid",gap:"4px"}},sf={style:{display:"flex","justify-content":"space-between",gap:"6px"}},rf={style:{"font-size":"11px","font-weight":"600",color:"var(--text)"}},of={style:{"font-size":"10px",color:"var(--text-dim)"}},lf={style:{margin:"2px 0 0","font-size":"10px",color:"var(--text-dim)","font-family":"monospace","word-break":"break-all"}},af={key:0,style:{"font-size":"11px",color:"var(--text-dim)",padding:"2px 0"}},cf={class:"sidebar-footer"},uf={class:"adapter-badge"},ff={class:"adapter-badge-icon"},df={class:"adapter-badge-info"},pf={class:"adapter-badge-name"},hf={class:"sidebar-meta"},gf={style:{"font-family":"monospace"}},mf={class:"main-col"},vf={class:"topbar"},yf={class:"search-shell"},bf=["value"],_f=["title"],Sf={class:"toggle-group"},wf={class:"toggle-group adapter-toggle-row"},Ef=["title","onClick"],xf={class:"adapter-dropdown"},Af=["aria-expanded"],Cf={"aria-hidden":"true"},Rf={key:0,class:"adapter-dropdown-menu",role:"listbox"},Tf=["aria-selected","onClick"],Of={"aria-hidden":"true"},If={key:0,width:"12",height:"12",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},Pf={class:"topbar-actions"},kf=["data-tone"],Nf={class:"workspace-layout"},Df=["data-tone"],Lf={class:"toast-content"},Mf={class:"toast-icon"},Ff={key:0,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},Bf={key:1,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},jf={class:"toast-text"},Hf={key:1,class:"busy-overlay"},Vf={class:"busy-card"},Uf=Ys({__name:"App",setup(e){const t=Uu(),n=ku(),s=Pu(),r=Nt(""),o=Nt(""),i=Nt(""),l=Nt(!1),a=xe(()=>t.state.dashboard),u=xe(()=>t.recentSyncTargets.value),c="0.4.0";function d(){l.value=!1}const h=Nt(null),v=typeof navigator<"u"&&/Mac|iPad|iPhone|iPod/.test(navigator.platform),O=v?"⌘K":"Ctrl K",R=v?"Press ⌘K to focus":"Press Ctrl+K to focus";async function $(){n.name!=="catalog"&&await s.push({name:"catalog"}),await new Promise(E=>setTimeout(E,0));const x=h.value??document.getElementById("topbar-search");x==null||x.focus(),x==null||x.select()}function V(x){const E=x.target;if(!E)return!1;const be=E.tagName;return be==="INPUT"||be==="TEXTAREA"||be==="SELECT"||E.isContentEditable===!0}async function P(){n.name!=="catalog"&&(await s.push({name:"catalog"}),await new Promise(x=>setTimeout(x,0))),window.dispatchEvent(new CustomEvent("skillex:request-install-all"))}function H(x){if(x.key==="Escape"&&!x.defaultPrevented){if(D.value){x.preventDefault(),D.value=!1;return}if(l.value){x.preventDefault(),l.value=!1;return}}if((x.metaKey||x.ctrlKey)&&!x.shiftKey&&x.key.toLowerCase()==="k"){x.preventDefault(),$();return}if((x.metaKey||x.ctrlKey)&&x.shiftKey&&x.key.toLowerCase()==="a"){if(V(x))return;x.preventDefault(),P()}}const g=[{value:"all",label:"All detected",icon:"✨"},{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:"🏄"}],_=g.filter(x=>x.value!=="all"),M=xe(()=>{const x=t.state.syncAdapter;return g.find(E=>E.value===x)??{value:x,label:x||"Auto",icon:"🔧"}}),D=Nt(!1);function W(){D.value=!D.value}function B(x){t.setSyncAdapter(x),D.value=!1}function Y(x){if(!D.value)return;const E=x.target;E&&E.closest(".adapter-dropdown")||(D.value=!1)}function ee(x){return new Date(x).toLocaleString(void 0,{dateStyle:"medium",timeStyle:"short"})}async function N(){const x=r.value.trim();x&&(await t.addSource({repo:x,ref:o.value.trim()||void 0,label:i.value.trim()||void 0}),r.value="",o.value="",i.value="")}return jt(()=>n.query.scope,x=>{(x==="global"||x==="local")&&t.setScope(x)}),Xs(async()=>{const x=typeof n.params.skillId=="string"?n.params.skillId:null;await t.initialize(x),window.addEventListener("keydown",H),document.addEventListener("click",Y)}),Zs(()=>{window.removeEventListener("keydown",H),document.removeEventListener("click",Y)}),jt(()=>n.fullPath,()=>{l.value=!1}),(x,E)=>{var de,se,te,Ve,We,Fe,we;const be=Yl("RouterView");return pe(),he("div",{class:ze(["app-shell",{"drawer-open":l.value}])},[E[36]||(E[36]=C("div",{class:"shell-background"},[C("div",{class:"shell-glow shell-glow-left"}),C("div",{class:"shell-glow shell-glow-right"}),C("div",{class:"shell-grid"})],-1)),l.value?(pe(),he("button",{key:0,class:"mobile-drawer-backdrop",type:"button","aria-label":"Close navigation",onClick:d})):qe("",!0),C("aside",$u,[E[23]||(E[23]=C("div",{class:"sidebar-logo"},[C("svg",{width:"18",height:"18",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("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"})]),Ut(" skillex"),C("span",{class:"accent-dot"},".")],-1)),C("nav",Gu,[E[17]||(E[17]=C("p",{class:"nav-section-label"},"Browse",-1)),C("button",{class:ze(["nav-btn",{active:x.$route.name==="catalog"}]),type:"button",onClick:E[0]||(E[0]=z=>X(t).navigateHome())},[...E[11]||(E[11]=[C("svg",{width:"16",height:"16",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("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),Ut(" Marketplace ",-1)])],2),C("button",{class:ze(["nav-btn",{active:!1}]),type:"button",onClick:E[1]||(E[1]=z=>X(t).navigateHome())},[E[12]||(E[12]=C("svg",{width:"16",height:"16",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M5 13l4 4L19 7"})],-1)),E[13]||(E[13]=Ut(" Installed ",-1)),(((de=a.value)==null?void 0:de.installed.length)??0)>0?(pe(),he("span",Wu,ge((se=a.value)==null?void 0:se.installed.length),1)):qe("",!0)]),C("button",{class:ze(["nav-btn",{active:x.$route.name==="doctor"}]),type:"button",onClick:E[2]||(E[2]=z=>X(s).push({name:"doctor"}))},[E[14]||(E[14]=C("svg",{width:"16",height:"16",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 12l2 2 4-4m5 2a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),E[15]||(E[15]=Ut(" Doctor ",-1)),X(t).state.doctorStatus?(pe(),he("span",{key:0,class:"doctor-status-dot","data-status":X(t).state.doctorStatus,title:`Doctor: ${X(t).state.doctorStatus}`},null,8,qu)):qe("",!0)],2),E[18]||(E[18]=C("p",{class:"nav-section-label"},"Workspace",-1)),E[19]||(E[19]=C("p",{class:"nav-section-label",style:{"font-size":"9px","margin-top":"8px","margin-bottom":"4px",color:"var(--text-dim)"}}," Detected adapters ",-1)),C("div",zu,[(pe(!0),he(ke,null,tn(((te=a.value)==null?void 0:te.adapters.detected)??[],z=>(pe(),he("span",{key:z,class:"chip chip-accent",style:{height:"22px","font-size":"10px"}},ge(z),1))),128)),(((Ve=a.value)==null?void 0:Ve.adapters.detected.length)??0)===0?(pe(),he("span",Qu," None ")):qe("",!0)]),C("p",Ju," Sources ("+ge(((We=a.value)==null?void 0:We.sources.length)??0)+") ",1),C("form",{style:{padding:"0 10px 8px",display:"grid",gap:"5px"},onSubmit:Qr(N,["prevent"])},[kl(C("input",{"onUpdate:modelValue":E[3]||(E[3]=z=>r.value=z),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),[[hc,r.value]]),E[16]||(E[16]=C("button",{class:"button button-primary",type:"submit",style:{"min-height":"28px",padding:"0 10px","font-size":"11px",width:"100%"}}," + Add source ",-1))],32),C("div",Yu,[(pe(!0),he(ke,null,tn(((Fe=a.value)==null?void 0:Fe.sources)??[],z=>(pe(),he("div",{key:z.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)"}},[C("div",null,[C("p",Xu,ge(z.label||z.repo),1),C("p",Zu,"@"+ge(z.ref),1)]),C("button",{type:"button",onClick:ut=>X(t).removeSource(z.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,ef)]))),128)),(((we=a.value)==null?void 0:we.sources.length)??0)===0?(pe(),he("p",tf," No sources. ")):qe("",!0)]),E[20]||(E[20]=C("p",{class:"nav-section-label",style:{"font-size":"9px","margin-bottom":"4px",color:"var(--text-dim)"}},"Sync history",-1)),C("div",nf,[(pe(!0),he(ke,null,tn(u.value.slice(0,3),z=>(pe(),he("div",{key:`${z.adapter}-${z.syncedAt}`,style:{padding:"6px 8px","border-radius":"8px",background:"rgba(39,39,42,0.4)",border:"1px solid rgba(63,63,70,0.3)"}},[C("div",sf,[C("span",rf,ge(z.adapter),1),C("span",of,ge(ee(z.syncedAt)),1)]),C("p",lf,ge(z.targetPath),1)]))),128)),u.value.length===0?(pe(),he("p",af," No syncs yet. ")):qe("",!0)])]),C("div",cf,[C("div",uf,[C("span",ff,ge(M.value.icon),1),C("div",df,[E[21]||(E[21]=C("p",{class:"adapter-badge-label"},"Active agent",-1)),C("p",pf,ge(M.value.label),1)]),E[22]||(E[22]=C("span",{class:"adapter-badge-dot"},null,-1))]),C("div",hf,[C("span",gf,"v"+ge(X(c)),1),C("span",null,ge(X(t).state.scope),1)])])]),C("div",mf,[C("header",vf,[C("button",{class:"mobile-hamburger",type:"button","aria-label":"Open navigation",onClick:E[4]||(E[4]=z=>l.value=!l.value)},[...E[24]||(E[24]=[C("svg",{width:"20",height:"20",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 6h16M4 12h16M4 18h16"})],-1)])]),C("div",yf,[E[25]||(E[25]=C("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("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)),C("input",{id:"topbar-search",ref_key:"searchInputEl",ref:h,value:X(t).state.searchQuery,type:"search",placeholder:"Search skills...",onInput:E[5]||(E[5]=z=>X(t).setSearchQuery(z.target.value))},null,40,bf),C("span",{class:"search-kbd",title:X(R)},ge(X(O)),9,_f)]),C("div",Sf,[C("button",{class:ze(["toggle-btn",{active:X(t).state.scope==="local"}]),type:"button",onClick:E[6]||(E[6]=z=>X(t).setScope("local"))}," 📁 Local ",2),C("button",{class:ze(["toggle-btn",{active:X(t).state.scope==="global"}]),type:"button",onClick:E[7]||(E[7]=z=>X(t).setScope("global"))}," 🌍 Global ",2)]),E[29]||(E[29]=C("div",{class:"topbar-divider"},null,-1)),C("div",wf,[(pe(!0),he(ke,null,tn(X(_),z=>(pe(),he("button",{key:z.value,class:ze(["adapter-toggle-btn",{active:X(t).state.syncAdapter===z.value}]),title:z.label,type:"button",onClick:ut=>X(t).setSyncAdapter(z.value)},ge(z.icon),11,Ef))),128))]),C("div",xf,[C("button",{class:"button button-ghost adapter-dropdown-trigger",type:"button","aria-expanded":D.value,"aria-haspopup":"listbox",onClick:Qr(W,["stop"])},[C("span",Cf,ge(M.value.icon),1),C("span",null,ge(M.value.label),1),E[26]||(E[26]=C("svg",{width:"10",height:"10",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","aria-hidden":"true"},[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 9l-7 7-7-7"})],-1))],8,Af),D.value?(pe(),he("div",Rf,[(pe(),he(ke,null,tn(g,z=>C("button",{key:`dd-${z.value}`,type:"button",role:"option","aria-selected":X(t).state.syncAdapter===z.value,class:ze(["adapter-dropdown-item",{active:X(t).state.syncAdapter===z.value}]),onClick:ut=>B(z.value)},[C("span",Of,ge(z.icon),1),C("span",null,ge(z.label),1),X(t).state.syncAdapter===z.value?(pe(),he("svg",If,[...E[27]||(E[27]=[C("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M5 13l4 4L19 7"},null,-1)])])):qe("",!0)],10,Tf)),64))])):qe("",!0)]),E[30]||(E[30]=C("div",{class:"topbar-divider"},null,-1)),C("div",Pf,[C("button",{class:"button button-ghost",type:"button",onClick:E[8]||(E[8]=z=>X(t).refreshAll())},[...E[28]||(E[28]=[C("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[C("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),Ut(" Refresh ",-1)])]),C("button",{class:"button button-secondary",type:"button",onClick:E[9]||(E[9]=z=>X(t).updateSkill())}," Update "),C("button",{class:"button button-primary",type:"button",onClick:E[10]||(E[10]=z=>X(t).syncNow())}," Sync now ")])]),X(t).state.notice?(pe(),he("div",{key:0,class:"status-banner","data-tone":X(t).state.notice.tone},ge(X(t).state.notice.message),9,kf)):qe("",!0),C("div",Nf,[Re(be)])]),Re(Wa,{name:"toast"},{default:qo(()=>[X(t).state.toast.visible?(pe(),he("div",{key:0,class:"toast","data-tone":X(t).state.toast.tone},[C("div",Lf,[C("div",Mf,[X(t).state.toast.tone==="success"?(pe(),he("svg",Ff,[...E[31]||(E[31]=[C("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)])])):(pe(),he("svg",Bf,[...E[32]||(E[32]=[C("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)])]))]),C("div",jf,[C("strong",null,ge(X(t).state.toast.tone==="error"?"Error":"Done"),1),C("span",null,ge(X(t).state.toast.message),1)])]),E[33]||(E[33]=C("div",{class:"toast-bar"},null,-1))],8,Df)):qe("",!0)]),_:1}),X(t).state.busyLabel?(pe(),he("div",Hf,[C("div",Vf,[E[34]||(E[34]=C("div",{class:"busy-spinner"},null,-1)),C("strong",null,ge(X(t).state.busyLabel),1),E[35]||(E[35]=C("span",null,"Working...",-1))])])):qe("",!0)],2)}}}),Kf=Ku(),Ui=Mu(),$f=Vu(Ui,Kf),ir=_c(Uf);ir.provide(Vi,$f);ir.use(Ui);ir.mount("#app");export{ke as F,Wa as T,Zs as a,qo as b,Ra as c,Ys as d,pe as e,he as f,Qr as g,C as h,qe as i,Ut as j,tn as k,Vs as l,xe as m,ze as n,Xs as o,X as p,Wf as q,Nt as r,Re as s,ge as t,Uu as u,ku as v,jt as w,Gf as x};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=["commit-craft","code-review","secure-defaults","error-handling","test-discipline"];export{e as RECOMMENDED_SKILL_IDS};
|
package/dist-ui/index.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Skillex UI</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-I0b-syhc.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CWm7zQTg.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="app" data-app-root="skillex-web-ui"></div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skillex",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "CLI to list, install, and synchronize AI agent skills from GitHub-hosted catalogs.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"typecheck:ui": "vue-tsc --noEmit -p ui/tsconfig.app.json",
|
|
72
72
|
"dev:ui": "vite --config ui/vite.config.ts",
|
|
73
73
|
"start": "npm run build && node ./bin/skillex.js",
|
|
74
|
-
"test": "npm run build:ui && npm run build:test && node --test .test-dist/test/*.test.js",
|
|
74
|
+
"test": "node scripts/check-language.mjs && npm run build:ui && npm run build:test && node --test .test-dist/test/*.test.js",
|
|
75
75
|
"prepublishOnly": "npm run build && npm test"
|
|
76
76
|
},
|
|
77
77
|
"engines": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as C,o as i,c as o,n as p,a as e,b as k,t as n,e as y,F as m,r as h,w as $,u as x,f as v,g as S,h as B,i as M}from"./index-DN-z--cR.js";const j={class:"skill-card-body"},L={class:"skill-card-icon-row"},T={key:0,class:"skill-installed-dot"},O={class:"skill-card-meta"},I={class:"downloads-count"},z={class:"skill-card-head"},A={class:"version-badge"},R={class:"skill-description"},V={key:0,class:"tag-block"},F={key:1,class:"tag-block tag-block-compat"},E={class:"skill-card-footer"},N={class:"skill-author"},D=["src","alt"],G=C({__name:"SkillCard",props:{skill:{},onOpen:{type:Function},onInstall:{type:Function},onRemove:{type:Function}},setup(l){const d={workflow:"icon-bg-workflow",testing:"icon-bg-testing",devops:"icon-bg-devops",tools:"icon-bg-tools",security:"icon-bg-security"},g={git:"tag-git",github:"tag-git",commit:"tag-git",testing:"tag-test",jest:"tag-test",tdd:"tag-test",test:"tag-test",docker:"tag-docker",devops:"tag-docker",yaml:"tag-docker",security:"tag-security",owasp:"tag-security",audit:"tag-security",react:"tag-react",hooks:"tag-react",python:"tag-python",docs:"tag-python"};function w(a){const t=a.tags.map(s=>s.toLowerCase());return t.some(s=>["git","github","commit","workflow"].includes(s))?"icon-bg-workflow":t.some(s=>["testing","jest","tdd","test","vitest"].includes(s))?"icon-bg-testing":t.some(s=>["docker","devops","ci","cd"].includes(s))?"icon-bg-devops":t.some(s=>["security","owasp","audit"].includes(s))?"icon-bg-security":t.some(s=>["tools","python","scraper","web"].includes(s))?"icon-bg-tools":d[a.id]??"icon-bg-default"}function f(a){return g[a.toLowerCase()]??"tag-default"}function b(a){const t=a.id.toLowerCase();return t.includes("git")||t.includes("commit")?"🌿":t.includes("test")||t.includes("jest")?"🧪":t.includes("docker")?"🐳":t.includes("security")||t.includes("guard")?"🛡️":t.includes("react")?"⚛️":t.includes("python")?"🐍":t.includes("typescript")||t.includes("ts")?"🔷":t.includes("cpp")||t.includes("c++")?"⚙️":t.includes("latex")?"📄":t.includes("create")?"✨":t.includes("code")||t.includes("review")?"🔍":t.includes("error")?"🐛":"📦"}return(a,t)=>(i(),o("article",{class:p(["skill-card",{"is-installed":l.skill.installed}]),onClick:t[3]||(t[3]=s=>l.onOpen(l.skill.id))},[e("div",j,[e("div",L,[e("div",{class:p(["skill-icon-wrap",w(l.skill)])},[k(n(b(l.skill))+" ",1),l.skill.installed?(i(),o("div",T,[...t[4]||(t[4]=[e("svg",{fill:"currentColor",viewBox:"0 0 20 20"},[e("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})],-1)])])):y("",!0)],2),e("div",O,[t[6]||(t[6]=e("span",{class:"verified-badge"},[e("svg",{width:"10",height:"10",fill:"currentColor",viewBox:"0 0 20 20"},[e("path",{"fill-rule":"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z","clip-rule":"evenodd"})]),k(" Oficial ")],-1)),e("span",I,[t[5]||(t[5]=e("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)),k(" "+n(l.skill.source.repo),1)])])]),e("div",z,[e("h3",null,n(l.skill.name),1),e("span",A,"v"+n(l.skill.version),1)]),e("p",R,n(l.skill.description),1),l.skill.tags.length>0?(i(),o("div",V,[(i(!0),o(m,null,h(l.skill.tags,s=>(i(),o("span",{key:`${l.skill.id}-${s}`,class:p(["skill-tag",f(s)])},n(s),3))),128))])):y("",!0),l.skill.compatibility.length>0?(i(),o("div",F,[(i(!0),o(m,null,h(l.skill.compatibility,s=>(i(),o("span",{key:`${l.skill.id}-${s}`,class:"chip chip-accent",style:{height:"20px","font-size":"10px",padding:"0 8px"}},n(s),1))),128))])):y("",!0)]),e("div",E,[e("div",N,[e("img",{src:`https://api.dicebear.com/7.x/avataaars/svg?seed=${l.skill.author||l.skill.source.repo}`,alt:l.skill.author||l.skill.source.repo},null,8,D),k(" "+n(l.skill.author||l.skill.source.repo),1)]),e("div",{class:"skill-card-actions",onClick:t[2]||(t[2]=$(()=>{},["stop"]))},[l.skill.installed?(i(),o(m,{key:0},[t[8]||(t[8]=e("span",{class:"installed-label"},"Instalado",-1)),e("button",{class:"remove-btn",type:"button",title:"Remover",onClick:t[0]||(t[0]=s=>l.onRemove(l.skill.id))},[...t[7]||(t[7]=[e("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1)])])],64)):(i(),o("button",{key:1,class:"button button-primary",style:{"min-height":"28px",padding:"0 12px","font-size":"0.75rem"},type:"button",onClick:t[1]||(t[1]=s=>l.onInstall(l.skill))},[...t[9]||(t[9]=[e("svg",{width:"11",height:"11",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M12 4v16m8-8H4"})],-1),k(" Instalar ",-1)])]))])])],2))}}),H={class:"page-column"},P={class:"panel"},W={class:"catalog-overview"},Y={class:"overview-card"},q={class:"overview-card"},J={class:"overview-card"},K={class:"category-pills"},Q=["onClick"],U={key:0,class:"category-pill-count"},X={key:0,class:"empty-state"},Z={width:"40",height:"40",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",style:{color:"var(--text-dim)","margin-bottom":"4px"}},_={key:1,class:"catalog-grid"},st=C({__name:"CatalogPage",setup(l){const d=x(),g=B("all"),w=[{id:"all",name:"Todas",icon:"✦"},{id:"workflow",name:"Workflow",icon:"🌿"},{id:"testing",name:"Testing",icon:"🧪"},{id:"security",name:"Security",icon:"🛡️"},{id:"devops",name:"DevOps",icon:"🐳"},{id:"tools",name:"Tools",icon:"🔧"}];function f(t,s){const r=[t,...s].map(u=>u.toLowerCase()).join(" ");return/git|commit|workflow|branch/.test(r)?"workflow":/test|jest|tdd|vitest|spec/.test(r)?"testing":/security|owasp|audit|guard/.test(r)?"security":/docker|devops|ci|cd|helm/.test(r)?"devops":/python|scraper|tool|docs|web/.test(r)?"tools":"other"}function b(t){var s,r;return t==="all"?((s=d.state.catalog)==null?void 0:s.skills.length)??0:(((r=d.state.catalog)==null?void 0:r.skills)??[]).filter(u=>f(u.id,u.tags)===t).length}const a=S(()=>{const t=d.filteredSkills.value;return g.value==="all"?t:t.filter(s=>f(s.id,s.tags)===g.value)});return(t,s)=>{var r,u;return i(),o("section",H,[e("div",P,[s[3]||(s[3]=e("div",{class:"panel-head"},[e("div",{class:"panel-head-title"},[e("p",{class:"eyebrow"},"Discovery"),e("h2",null,"Marketplace"),e("p",null,"Habilidades validadas para o seu agente de IA.")])],-1)),e("div",W,[e("article",Y,[s[0]||(s[0]=e("span",null,"Visible",-1)),e("strong",null,n(a.value.length),1)]),e("article",q,[s[1]||(s[1]=e("span",null,"Sources",-1)),e("strong",null,n(((r=v(d).state.catalog)==null?void 0:r.sources.length)??0),1)]),e("article",J,[s[2]||(s[2]=e("span",null,"Instaladas",-1)),e("strong",null,n(((u=v(d).state.dashboard)==null?void 0:u.installed.length)??0),1)])]),e("div",K,[(i(),o(m,null,h(w,c=>e("button",{key:c.id,class:p(["category-pill",{active:g.value===c.id}]),type:"button",onClick:tt=>g.value=c.id},[e("span",null,n(c.icon),1),k(" "+n(c.name)+" ",1),c.id!=="all"?(i(),o("span",U,n(b(c.id)),1)):y("",!0)],10,Q)),64))])]),a.value.length===0?(i(),o("div",X,[(i(),o("svg",Z,[...s[4]||(s[4]=[e("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"},null,-1)])])),s[5]||(s[5]=e("strong",null,"Nenhuma skill encontrada",-1)),s[6]||(s[6]=e("p",null,"Tente outro filtro ou adicione uma source na sidebar.",-1))])):(i(),o("div",_,[(i(!0),o(m,null,h(a.value,c=>(i(),M(G,{key:c.id,skill:c,"on-open":v(d).navigateToSkill,"on-install":v(d).installSkill,"on-remove":v(d).removeSkill},null,8,["skill","on-open","on-install","on-remove"]))),128))]))])}}});export{st as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as b,j as g,u as h,k as f,l as w,c as e,a as t,f as r,b as d,t as i,e as u,F as v,m as x,r as m,g as y,o}from"./index-DN-z--cR.js";const C={class:"page-column"},S={class:"panel"},_={class:"detail-topbar"},I={key:0,class:"detail-hero"},M={class:"detail-description"},B={class:"detail-actions"},H={key:0,class:"empty-state panel"},L={class:"panel"},V={class:"detail-metadata-grid"},j={class:"metadata-card"},N={style:{"font-family":"monospace","font-size":"0.82rem"}},$={class:"metadata-card"},z={class:"metadata-card"},D={style:{"font-family":"monospace"}},T={class:"metadata-card"},E={class:"detail-chip-sections"},A={class:"chip-row"},F={key:0,style:{"font-size":"0.8rem",color:"var(--text-dim)"}},R={class:"chip-row"},K={key:0,style:{"font-size":"0.8rem",color:"var(--text-dim)"}},P={class:"panel"},U={key:0,class:"error-card",style:{margin:"0 20px 20px"}},Y=["innerHTML"],O=b({__name:"SkillDetailPage",setup(q){const k=g(),a=h(),p=y(()=>typeof k.params.skillId=="string"?k.params.skillId:""),s=y(()=>a.state.detail);async function c(){p.value&&await a.loadSkillDetail(p.value)}return f(p,()=>void c()),w(()=>void c()),(G,l)=>(o(),e("section",C,[t("div",S,[t("div",_,[t("button",{class:"button button-ghost",type:"button",onClick:l[0]||(l[0]=n=>r(a).navigateHome())},[...l[5]||(l[5]=[t("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1),d(" Catalog ",-1)])]),l[6]||(l[6]=t("p",{class:"section-label"},"Skill detail",-1))]),s.value?(o(),e("div",I,[t("div",null,[l[7]||(l[7]=t("p",{class:"eyebrow"},"Skill",-1)),t("h2",null,i(s.value.skill.name),1),t("p",M,i(s.value.skill.description),1)]),t("div",B,[t("button",{class:"button button-secondary",type:"button",onClick:l[1]||(l[1]=n=>r(a).updateSkill(s.value.skill.id))},[...l[8]||(l[8]=[t("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("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),d(" Update ",-1)])]),t("button",{class:"button button-ghost",type:"button",onClick:l[2]||(l[2]=n=>r(a).syncNow())},"Sync"),s.value.skill.installed?(o(),e("button",{key:1,class:"button button-danger",type:"button",onClick:l[4]||(l[4]=n=>r(a).removeSkill(s.value.skill.id))},[...l[10]||(l[10]=[t("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 7l-.867 12.142A2 2 0 0116.138 21H7.862a2 2 0 01-1.995-1.858L5 7m5 4v6m4-6v6m1-10V4a1 1 0 00-1-1h-4a1 1 0 00-1 1v3M4 7h16"})],-1),d(" Remover ",-1)])])):(o(),e("button",{key:0,class:"button button-primary",type:"button",onClick:l[3]||(l[3]=n=>r(a).installSkill(s.value.skill))},[...l[9]||(l[9]=[t("svg",{width:"13",height:"13",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[t("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2.5",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1),d(" Instalar ",-1)])]))])])):u("",!0)]),r(a).state.detailLoading?(o(),e("div",H,[...l[11]||(l[11]=[t("div",{style:{width:"28px",height:"28px","border-radius":"50%",border:"2px solid rgba(16,185,129,0.15)","border-top-color":"var(--accent)",animation:"spin 700ms linear infinite"}},null,-1),t("strong",null,"Carregando detalhes...",-1)])])):s.value?(o(),e(v,{key:1},[t("div",L,[t("div",V,[t("article",j,[l[12]||(l[12]=t("span",null,"Skill ID",-1)),t("strong",N,i(s.value.skill.id),1)]),t("article",$,[l[13]||(l[13]=t("span",null,"Source",-1)),t("strong",null,i(s.value.skill.source.label||s.value.skill.source.repo),1)]),t("article",z,[l[14]||(l[14]=t("span",null,"Version",-1)),t("strong",D,"v"+i(s.value.skill.version),1)]),t("article",T,[l[15]||(l[15]=t("span",null,"Installed",-1)),t("strong",{style:x(s.value.skill.installed?"color:var(--accent)":"color:var(--text-muted)")},i(s.value.skill.installed?"✓ Yes":"No"),5)])]),t("div",E,[t("div",null,[l[16]||(l[16]=t("p",{class:"section-label",style:{margin:"0 0 8px",display:"block"}},"Tags",-1)),t("div",A,[(o(!0),e(v,null,m(s.value.skill.tags,n=>(o(),e("span",{key:n,class:"chip"},i(n),1))),128)),s.value.skill.tags.length===0?(o(),e("span",F,"—")):u("",!0)])]),t("div",null,[l[17]||(l[17]=t("p",{class:"section-label",style:{margin:"0 0 8px",display:"block"}},"Compatibility",-1)),t("div",R,[(o(!0),e(v,null,m(s.value.skill.compatibility,n=>(o(),e("span",{key:n,class:"chip chip-accent"},i(n),1))),128)),s.value.skill.compatibility.length===0?(o(),e("span",K,"—")):u("",!0)])])])]),t("div",P,[l[19]||(l[19]=t("div",{class:"panel-head"},[t("div",{class:"panel-head-title"},[t("p",{class:"eyebrow"},"Instructions"),t("h2",null,"SKILL.md"),t("p",null,"Content rendered by the backend.")])],-1)),s.value.instructionsError?(o(),e("div",U,[l[18]||(l[18]=t("strong",null,"Instructions unavailable",-1)),t("p",null,i(s.value.instructionsError),1)])):(o(),e("article",{key:1,class:"markdown-body",innerHTML:s.value.instructionsHtml},null,8,Y))])],64)):u("",!0)]))}});export{O as default};
|