diff --git a/web/dist/assets/index-219239d4.js b/web/dist/assets/index-395dea4c.js similarity index 93% rename from web/dist/assets/index-219239d4.js rename to web/dist/assets/index-395dea4c.js index ea22ba18..3123b720 100644 --- a/web/dist/assets/index-219239d4.js +++ b/web/dist/assets/index-395dea4c.js @@ -1,11 +1,11 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function bs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}function ws(e){if(U(e)){const t={};for(let n=0;n{if(n){const r=n.split(fa);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ut(e){let t="";if(me(e))t=e;else if(U(e))for(let n=0;nme(e)?e:e==null?"":U(e)||de(e)&&(e.toString===pi||!W(e.toString))?JSON.stringify(e,fi,2):String(e),fi=(e,t)=>t&&t.__v_isRef?fi(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!U(t)&&!yi(t)?String(t):t,ue={},Jt=[],Ye=()=>{},ma=()=>!1,ga=/^on[^a-z]/,fr=e=>ga.test(e),js=e=>e.startsWith("onUpdate:"),Re=Object.assign,_s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,ne=(e,t)=>xa.call(e,t),U=Array.isArray,Gt=e=>Cn(e)==="[object Map]",di=e=>Cn(e)==="[object Set]",va=e=>Cn(e)==="[object RegExp]",W=e=>typeof e=="function",me=e=>typeof e=="string",Es=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",hi=e=>de(e)&&W(e.then)&&W(e.catch),pi=Object.prototype.toString,Cn=e=>pi.call(e),ba=e=>Cn(e).slice(8,-1),yi=e=>Cn(e)==="[object Object]",As=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kn=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),dr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wa=/-(\w)/g,ot=dr(e=>e.replace(wa,(t,n)=>n?n.toUpperCase():"")),ja=/\B([A-Z])/g,$t=dr(e=>e.replace(ja,"-$1").toLowerCase()),hr=dr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cr=dr(e=>e?`on${hr(e)}`:""),En=(e,t)=>!Object.is(e,t),Yt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zs;const _a=()=>Zs||(Zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let We;class Ea{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=We;try{return We=this,t()}finally{We=n}}}on(){We=this}off(){We=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},mi=e=>(e.w&Mt)>0,gi=e=>(e.n&Mt)>0,Sa=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":U(e)?As(n)&&l.push(i.get("length")):(l.push(i.get(Dt)),Gt(e)&&l.push(i.get(Yr)));break;case"delete":U(e)||(l.push(i.get(Dt)),Gt(e)&&l.push(i.get(Yr)));break;case"set":Gt(e)&&l.push(i.get(Dt));break}if(l.length===1)l[0]&&Qr(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);Qr(Os(a))}}function Qr(e,t){const n=U(e)?e:[...e];for(const r of n)r.computed&&to(r);for(const r of n)r.computed||to(r)}function to(e,t){(e!==Je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ka=bs("__proto__,__v_isRef,__isVue"),bi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Es)),Ma=Rs(),Ta=Rs(!1,!0),Ca=Rs(!0),no=Pa();function Pa(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let o=0,i=this.length;o{e[t]=function(...n){on();const r=se(this)[t].apply(this,n);return ln(),r}}),e}function Na(e){const t=se(this);return Ne(t,"has",e),t.hasOwnProperty(e)}function Rs(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Ya:Ai:t?Ei:_i).get(r))return r;const i=U(r);if(!e){if(i&&ne(no,s))return Reflect.get(no,s,o);if(s==="hasOwnProperty")return Na}const l=Reflect.get(r,s,o);return(Es(s)?bi.has(s):ka(s))||(e||Ne(r,"get",s),t)?l:Se(l)?i&&As(s)?l:l.value:de(l)?e?Oi(l):Pn(l):l}}const Ia=wi(),La=wi(!0);function wi(e=!1){return function(n,r,s,o){let i=n[r];if(en(i)&&Se(i)&&!Se(s))return!1;if(!e&&(!rr(s)&&!en(s)&&(i=se(i),s=se(s)),!U(n)&&Se(i)&&!Se(s)))return i.value=s,!0;const l=U(n)&&As(r)?Number(r)e,pr=e=>Reflect.getPrototypeOf(e);function Fn(e,t,n=!1,r=!1){e=e.__v_raw;const s=se(e),o=se(t);n||(t!==o&&Ne(s,"get",t),Ne(s,"get",o));const{has:i}=pr(s),l=r?ks:n?Cs:An;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Bn(e,t=!1){const n=this.__v_raw,r=se(n),s=se(e);return t||(e!==s&&Ne(r,"has",e),Ne(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Hn(e,t=!1){return e=e.__v_raw,!t&&Ne(se(e),"iterate",Dt),Reflect.get(e,"size",e)}function ro(e){e=se(e);const t=se(this);return pr(t).has.call(t,e)||(t.add(e),pt(t,"add",e,e)),this}function so(e,t){t=se(t);const n=se(this),{has:r,get:s}=pr(n);let o=r.call(n,e);o||(e=se(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?En(t,i)&&pt(n,"set",e,t):pt(n,"add",e,t),this}function oo(e){const t=se(this),{has:n,get:r}=pr(t);let s=n.call(t,e);s||(e=se(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&pt(t,"delete",e,void 0),o}function io(){const e=se(this),t=e.size!==0,n=e.clear();return t&&pt(e,"clear",void 0,void 0),n}function Dn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=se(i),a=t?ks:e?Cs:An;return!e&&Ne(l,"iterate",Dt),i.forEach((c,u)=>r.call(s,a(c),a(u),o))}}function zn(e,t,n){return function(...r){const s=this.__v_raw,o=se(s),i=Gt(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=s[e](...r),u=n?ks:t?Cs:An;return!t&&Ne(o,"iterate",a?Yr:Dt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function $a(){const e={get(o){return Fn(this,o)},get size(){return Hn(this)},has:Bn,add:ro,set:so,delete:oo,clear:io,forEach:Dn(!1,!1)},t={get(o){return Fn(this,o,!1,!0)},get size(){return Hn(this)},has:Bn,add:ro,set:so,delete:oo,clear:io,forEach:Dn(!1,!0)},n={get(o){return Fn(this,o,!0)},get size(){return Hn(this,!0)},has(o){return Bn.call(this,o,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Dn(!0,!1)},r={get(o){return Fn(this,o,!0,!0)},get size(){return Hn(this,!0)},has(o){return Bn.call(this,o,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=zn(o,!1,!1),n[o]=zn(o,!0,!1),t[o]=zn(o,!1,!0),r[o]=zn(o,!0,!0)}),[e,n,t,r]}const[Va,Ua,Ka,Wa]=$a();function Ms(e,t){const n=t?e?Wa:Ka:e?Ua:Va;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,o)}const qa={get:Ms(!1,!1)},Ja={get:Ms(!1,!0)},Ga={get:Ms(!0,!1)},_i=new WeakMap,Ei=new WeakMap,Ai=new WeakMap,Ya=new WeakMap;function Qa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xa(e){return e.__v_skip||!Object.isExtensible(e)?0:Qa(ba(e))}function Pn(e){return en(e)?e:Ts(e,!1,ji,qa,_i)}function Za(e){return Ts(e,!1,za,Ja,Ei)}function Oi(e){return Ts(e,!0,Da,Ga,Ai)}function Ts(e,t,n,r,s){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Xa(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Qt(e){return en(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function en(e){return!!(e&&e.__v_isReadonly)}function rr(e){return!!(e&&e.__v_isShallow)}function Si(e){return Qt(e)||en(e)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function Ri(e){return nr(e,"__v_skip",!0),e}const An=e=>de(e)?Pn(e):e,Cs=e=>de(e)?Oi(e):e;function ki(e){Rt&&Je&&(e=se(e),vi(e.dep||(e.dep=Os())))}function Mi(e,t){e=se(e);const n=e.dep;n&&Qr(n)}function Se(e){return!!(e&&e.__v_isRef===!0)}function ec(e){return Ti(e,!1)}function tc(e){return Ti(e,!0)}function Ti(e,t){return Se(e)?e:new nc(e,t)}class nc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:An(t)}get value(){return ki(this),this._value}set value(t){const n=this.__v_isShallow||rr(t)||en(t);t=n?t:se(t),En(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:An(t),Mi(this))}}function Fe(e){return Se(e)?e.value:e}const rc={get:(e,t,n)=>Fe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Se(s)&&!Se(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ci(e){return Qt(e)?e:new Proxy(e,rc)}var Pi;class sc{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Pi]=!1,this._dirty=!0,this.effect=new Ss(t,()=>{this._dirty||(this._dirty=!0,Mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=se(this);return ki(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Pi="__v_isReadonly";function oc(e,t,n=!1){let r,s;const o=W(e);return o?(r=e,s=Ye):(r=e.get,s=e.set),new sc(r,s,o||!s,n)}function kt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){yr(o,t,n)}return s}function Ve(e,t,n,r){if(W(e)){const o=kt(e,t,n,r);return o&&hi(o)&&o.catch(i=>{yr(i,t,n)}),o}const s=[];for(let o=0;o>>1;Sn(Oe[r])nt&&Oe.splice(t,1)}function cc(e){U(e)?Xt.push(...e):(!at||!at.includes(e,e.allowRecurse?Nt+1:Nt))&&Xt.push(e),Ii()}function lo(e,t=On?nt+1:0){for(;tSn(n)-Sn(r)),Nt=0;Nte.id==null?1/0:e.id,uc=(e,t)=>{const n=Sn(e)-Sn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fi(e){Xr=!1,On=!0,Oe.sort(uc);const t=Ye;try{for(nt=0;ntme(y)?y.trim():y)),f&&(s=n.map(qr))}let l,a=r[l=Cr(t)]||r[l=Cr(ot(t))];!a&&o&&(a=r[l=Cr($t(t))]),a&&Ve(a,e,6,s);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(c,e,6,s)}}function Bi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!W(e)){const a=c=>{const u=Bi(c,t,!0);u&&(l=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(de(e)&&r.set(e,null),null):(U(o)?o.forEach(a=>i[a]=null):Re(i,o),de(e)&&r.set(e,i),i)}function mr(e,t){return!e||!fr(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,$t(t))||ne(e,t))}let Be=null,gr=null;function sr(e){const t=Be;return Be=e,gr=e&&e.type.__scopeId||null,t}function dc(e){gr=e}function hc(){gr=null}function Ot(e,t=Be,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&xo(-1);const o=sr(t);let i;try{i=e(...s)}finally{sr(o),r._d&&xo(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Pr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:y,ctx:p,inheritAttrs:m}=e;let _,b;const x=sr(e);try{if(n.shapeFlag&4){const O=s||r;_=tt(u.call(O,O,f,o,y,d,p)),b=a}else{const O=t;_=tt(O.length>1?O(o,{attrs:a,slots:l,emit:c}):O(o,null)),b=t.props?a:pc(a)}}catch(O){bn.length=0,yr(O,e,1),_=pe(Qe)}let v=_;if(b&&m!==!1){const O=Object.keys(b),{shapeFlag:L}=v;O.length&&L&7&&(i&&O.some(js)&&(b=yc(b,i)),v=yt(v,b))}return n.dirs&&(v=yt(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),_=v,sr(x),_}const pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||fr(n))&&((t||(t={}))[n]=e[n]);return t},yc=(e,t)=>{const n={};for(const r in e)(!js(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?ao(r,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function xc(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):cc(e)}function Wn(e,t){if(ye){let n=ye.provides;const r=ye.parent&&ye.parent.provides;r===n&&(n=ye.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=ye||Be;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&W(t)?t.call(r.proxy):t}}const $n={};function gn(e,t,n){return Di(e,t,n)}function Di(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=ue){const l=Oa()===(ye==null?void 0:ye.scope)?ye:null;let a,c=!1,u=!1;if(Se(e)?(a=()=>e.value,c=rr(e)):Qt(e)?(a=()=>e,r=!0):U(e)?(u=!0,c=e.some(v=>Qt(v)||rr(v)),a=()=>e.map(v=>{if(Se(v))return v.value;if(Qt(v))return Bt(v);if(W(v))return kt(v,l,2)})):W(e)?t?a=()=>kt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),Ve(e,l,3,[d])}:a=Ye,t&&r){const v=a;a=()=>Bt(v())}let f,d=v=>{f=b.onStop=()=>{kt(v,l,4)}},y;if(kn)if(d=Ye,t?n&&Ve(t,l,3,[a(),u?[]:void 0,d]):a(),s==="sync"){const v=hu();y=v.__watcherHandles||(v.__watcherHandles=[])}else return Ye;let p=u?new Array(e.length).fill($n):$n;const m=()=>{if(b.active)if(t){const v=b.run();(r||c||(u?v.some((O,L)=>En(O,p[L])):En(v,p)))&&(f&&f(),Ve(t,l,3,[v,p===$n?void 0:u&&p[0]===$n?[]:p,d]),p=v)}else b.run()};m.allowRecurse=!!t;let _;s==="sync"?_=m:s==="post"?_=()=>Ae(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),_=()=>Ns(m));const b=new Ss(a,_);t?n?m():p=b.run():s==="post"?Ae(b.run.bind(b),l&&l.suspense):b.run();const x=()=>{b.stop(),l&&l.scope&&_s(l.scope.effects,b)};return y&&y.push(x),x}function vc(e,t,n){const r=this.proxy,s=me(e)?e.includes(".")?zi(r,e):()=>r[e]:e.bind(r,r);let o;W(t)?o=t:(o=t.handler,n=t);const i=ye;tn(this);const l=Di(s,o.bind(r),n);return i?tn(i):zt(),l}function zi(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Bt(n,t)});else if(yi(e))for(const n in e)Bt(e[n],t);return e}function bc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Is(()=>{e.isMounted=!0}),Ls(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],wc={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},setup(e,{slots:t}){const n=il(),r=bc();let s;return()=>{const o=t.default&&Vi(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const m of o)if(m.type!==Qe){i=m;break}}const l=se(e),{mode:a}=l;if(r.isLeaving)return Nr(i);const c=co(i);if(!c)return Nr(i);const u=Zr(c,l,r,n);or(c,u);const f=n.subTree,d=f&&co(f);let y=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();s===void 0?s=m:m!==s&&(s=m,y=!0)}if(d&&d.type!==Qe&&(!St(c,d)||y)){const m=Zr(d,l,r,n);if(or(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Nr(i);a==="in-out"&&c.type!==Qe&&(m.delayLeave=(_,b,x)=>{const v=$i(r,d);v[String(d.key)]=d,_._leaveCb=()=>{b(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=x})}return i}}},jc=wc;function $i(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Zr(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:y,onLeaveCancelled:p,onBeforeAppear:m,onAppear:_,onAfterAppear:b,onAppearCancelled:x}=t,v=String(e.key),O=$i(n,e),L=(F,Z)=>{F&&Ve(F,r,9,Z)},H=(F,Z)=>{const ee=Z[1];L(F,Z),U(F)?F.every(ae=>ae.length<=1)&&ee():F.length<=1&&ee()},V={mode:o,persisted:i,beforeEnter(F){let Z=l;if(!n.isMounted)if(s)Z=m||l;else return;F._leaveCb&&F._leaveCb(!0);const ee=O[v];ee&&St(e,ee)&&ee.el._leaveCb&&ee.el._leaveCb(),L(Z,[F])},enter(F){let Z=a,ee=c,ae=u;if(!n.isMounted)if(s)Z=_||a,ee=b||c,ae=x||u;else return;let Ee=!1;const Me=F._enterCb=Te=>{Ee||(Ee=!0,Te?L(ae,[F]):L(ee,[F]),V.delayedLeave&&V.delayedLeave(),F._enterCb=void 0)};Z?H(Z,[F,Me]):Me()},leave(F,Z){const ee=String(e.key);if(F._enterCb&&F._enterCb(!0),n.isUnmounting)return Z();L(f,[F]);let ae=!1;const Ee=F._leaveCb=Me=>{ae||(ae=!0,Z(),Me?L(p,[F]):L(y,[F]),F._leaveCb=void 0,O[ee]===e&&delete O[ee])};O[ee]=e,d?H(d,[F,Ee]):Ee()},clone(F){return Zr(F,t,n,r)}};return V}function Nr(e){if(xr(e))return e=yt(e),e.children=null,e}function co(e){return xr(e)?e.children?e.children[0]:void 0:e}function or(e,t){e.shapeFlag&6&&e.component?or(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 Vi(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,xr=e=>e.type.__isKeepAlive,_c={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=il(),r=n.ctx;if(!r.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const s=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(x,v,O,L,H)=>{const V=x.component;c(x,v,O,0,l),a(V.vnode,x,v,O,V,l,L,x.slotScopeIds,H),Ae(()=>{V.isDeactivated=!1,V.a&&Yt(V.a);const F=x.props&&x.props.onVnodeMounted;F&&De(F,V.parent,x)},l)},r.deactivate=x=>{const v=x.component;c(x,d,null,1,l),Ae(()=>{v.da&&Yt(v.da);const O=x.props&&x.props.onVnodeUnmounted;O&&De(O,v.parent,x),v.isDeactivated=!0},l)};function y(x){Ir(x),u(x,n,l,!0)}function p(x){s.forEach((v,O)=>{const L=os(v.type);L&&(!x||!x(L))&&m(O)})}function m(x){const v=s.get(x);!i||!St(v,i)?y(v):i&&Ir(i),s.delete(x),o.delete(x)}gn(()=>[e.include,e.exclude],([x,v])=>{x&&p(O=>yn(x,O)),v&&p(O=>!yn(v,O))},{flush:"post",deep:!0});let _=null;const b=()=>{_!=null&&s.set(_,Lr(n.subTree))};return Is(b),Wi(b),Ls(()=>{s.forEach(x=>{const{subTree:v,suspense:O}=n,L=Lr(v);if(x.type===L.type&&x.key===L.key){Ir(L);const H=L.component.da;H&&Ae(H,O);return}y(x)})}),()=>{if(_=null,!t.default)return null;const x=t.default(),v=x[0];if(x.length>1)return i=null,x;if(!lr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let O=Lr(v);const L=O.type,H=os(xn(O)?O.type.__asyncResolved||{}:L),{include:V,exclude:F,max:Z}=e;if(V&&(!H||!yn(V,H))||F&&H&&yn(F,H))return i=O,v;const ee=O.key==null?L:O.key,ae=s.get(ee);return O.el&&(O=yt(O),v.shapeFlag&128&&(v.ssContent=O)),_=ee,ae?(O.el=ae.el,O.component=ae.component,O.transition&&or(O,O.transition),O.shapeFlag|=512,o.delete(ee),o.add(ee)):(o.add(ee),Z&&o.size>parseInt(Z,10)&&m(o.values().next().value)),O.shapeFlag|=256,i=O,Hi(v.type)?v:O}}},Ec=_c;function yn(e,t){return U(e)?e.some(n=>yn(n,t)):me(e)?e.split(",").includes(t):va(e)?e.test(t):!1}function Ac(e,t){Ki(e,"a",t)}function Oc(e,t){Ki(e,"da",t)}function Ki(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(vr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)xr(s.parent.vnode)&&Sc(r,t,n,s),s=s.parent}}function Sc(e,t,n,r){const s=vr(t,e,r,!0);qi(()=>{_s(r[t],s)},n)}function Ir(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Lr(e){return e.shapeFlag&128?e.ssContent:e}function vr(e,t,n=ye,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;on(),tn(n);const l=Ve(t,n,e,i);return zt(),ln(),l});return r?s.unshift(o):s.push(o),o}}const gt=e=>(t,n=ye)=>(!kn||e==="sp")&&vr(e,(...r)=>t(...r),n),Rc=gt("bm"),Is=gt("m"),kc=gt("bu"),Wi=gt("u"),Ls=gt("bum"),qi=gt("um"),Mc=gt("sp"),Tc=gt("rtg"),Cc=gt("rtc");function Pc(e,t=ye){vr("ec",e,t)}function Ce(e,t){const n=Be;if(n===null)return e;const r=_r(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;ot(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,a=i.length;le?ll(e)?_r(e)||e.proxy:es(e.parent):null,vn=Re(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>es(e.parent),$root:e=>es(e.root),$emit:e=>e.emit,$options:e=>Fs(e),$forceUpdate:e=>e.f||(e.f=()=>Ns(e.update)),$nextTick:e=>e.n||(e.n=ft.bind(e.proxy)),$watch:e=>vc.bind(e)}),Fr=(e,t)=>e!==ue&&!e.__isScriptSetup&&ne(e,t),Lc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Fr(r,t))return i[t]=1,r[t];if(s!==ue&&ne(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&ne(c,t))return i[t]=3,o[t];if(n!==ue&&ne(n,t))return i[t]=4,n[t];ts&&(i[t]=0)}}const u=vn[t];let f,d;if(u)return t==="$attrs"&&Ne(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ue&&ne(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Fr(s,t)?(s[t]=n,!0):r!==ue&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ue&&ne(e,i)||Fr(t,i)||(l=o[0])&&ne(l,i)||ne(r,i)||ne(vn,i)||ne(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ts=!0;function Fc(e){const t=Fs(e),n=e.proxy,r=e.ctx;ts=!1,t.beforeCreate&&fo(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:y,updated:p,activated:m,deactivated:_,beforeDestroy:b,beforeUnmount:x,destroyed:v,unmounted:O,render:L,renderTracked:H,renderTriggered:V,errorCaptured:F,serverPrefetch:Z,expose:ee,inheritAttrs:ae,components:Ee,directives:Me,filters:Te}=t;if(c&&Bc(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(const J in i){const Q=i[J];W(Q)&&(r[J]=Q.bind(n))}if(s){const J=s.call(n,n);de(J)&&(e.data=Pn(J))}if(ts=!0,o)for(const J in o){const Q=o[J],be=W(Q)?Q.bind(n,n):W(Q.get)?Q.get.bind(n,n):Ye,Ze=!W(Q)&&W(Q.set)?Q.set.bind(n):Ye,we=$e({get:be,set:Ze});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>we.value,set:ge=>we.value=ge})}if(l)for(const J in l)Yi(l[J],r,n,J);if(a){const J=W(a)?a.call(n):a;Reflect.ownKeys(J).forEach(Q=>{Wn(Q,J[Q])})}u&&fo(u,e,"c");function fe(J,Q){U(Q)?Q.forEach(be=>J(be.bind(n))):Q&&J(Q.bind(n))}if(fe(Rc,f),fe(Is,d),fe(kc,y),fe(Wi,p),fe(Ac,m),fe(Oc,_),fe(Pc,F),fe(Cc,H),fe(Tc,V),fe(Ls,x),fe(qi,O),fe(Mc,Z),U(ee))if(ee.length){const J=e.exposed||(e.exposed={});ee.forEach(Q=>{Object.defineProperty(J,Q,{get:()=>n[Q],set:be=>n[Q]=be})})}else e.exposed||(e.exposed={});L&&e.render===Ye&&(e.render=L),ae!=null&&(e.inheritAttrs=ae),Ee&&(e.components=Ee),Me&&(e.directives=Me)}function Bc(e,t,n=Ye,r=!1){U(e)&&(e=ns(e));for(const s in e){const o=e[s];let i;de(o)?"default"in o?i=dt(o.from||s,o.default,!0):i=dt(o.from||s):i=dt(o),Se(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function fo(e,t,n){Ve(U(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yi(e,t,n,r){const s=r.includes(".")?zi(n,r):()=>n[r];if(me(e)){const o=t[e];W(o)&&gn(s,o)}else if(W(e))gn(s,e.bind(n));else if(de(e))if(U(e))e.forEach(o=>Yi(o,t,n,r));else{const o=W(e.handler)?e.handler.bind(n):t[e.handler];W(o)&&gn(s,o,e)}}function Fs(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(c=>ir(a,c,i,!0)),ir(a,t,i)),de(t)&&o.set(t,a),a}function ir(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ir(e,o,n,!0),s&&s.forEach(i=>ir(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Hc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Hc={data:ho,props:Pt,emits:Pt,methods:Pt,computed:Pt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Pt,directives:Pt,watch:zc,provide:ho,inject:Dc};function ho(e,t){return t?e?function(){return Re(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Dc(e,t){return Pt(ns(e),ns(t))}function ns(e){if(U(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,y]=Xi(f,t,!0);Re(i,d),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return de(e)&&r.set(e,Jt),Jt;if(U(o))for(let u=0;u-1,y[1]=m<0||p-1||ne(y,"default"))&&l.push(f)}}}const c=[i,l];return de(e)&&r.set(e,c),c}function po(e){return e[0]!=="$"}function yo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function mo(e,t){return yo(e)===yo(t)}function go(e,t){return U(t)?t.findIndex(n=>mo(n,e)):W(t)&&mo(t,e)?0:-1}const Zi=e=>e[0]==="_"||e==="$stable",Bs=e=>U(e)?e.map(tt):[tt(e)],Uc=(e,t,n)=>{if(t._n)return t;const r=Ot((...s)=>Bs(t(...s)),n);return r._c=!1,r},el=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Zi(s))continue;const o=e[s];if(W(o))t[s]=Uc(s,o,r);else if(o!=null){const i=Bs(o);t[s]=()=>i}}},tl=(e,t)=>{const n=Bs(t);e.slots.default=()=>n},Kc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=se(t),nr(t,"_",n)):el(t,e.slots={})}else e.slots={},t&&tl(e,t);nr(e.slots,wr,1)},Wc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ue;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Re(s,t),!n&&l===1&&delete s._):(o=!t.$stable,el(t,s)),i=t}else t&&(tl(e,t),i={default:1});if(o)for(const l in s)!Zi(l)&&!(l in i)&&delete s[l]};function nl(){return{app:null,config:{isNativeTag:ma,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 qc=0;function Jc(e,t){return function(r,s=null){W(r)||(r=Object.assign({},r)),s!=null&&!de(s)&&(s=null);const o=nl(),i=new Set;let l=!1;const a=o.app={_uid:qc++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:pu,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&W(c.install)?(i.add(c),c.install(a,...u)):W(c)&&(i.add(c),c(a,...u))),a},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),a},component(c,u){return u?(o.components[c]=u,a):o.components[c]},directive(c,u){return u?(o.directives[c]=u,a):o.directives[c]},mount(c,u,f){if(!l){const d=pe(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,_r(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return o.provides[c]=u,a}};return a}}function ss(e,t,n,r,s=!1){if(U(e)){e.forEach((d,y)=>ss(d,t&&(U(t)?t[y]:t),n,r,s));return}if(xn(r)&&!s)return;const o=r.shapeFlag&4?_r(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ue?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(me(c)?(u[c]=null,ne(f,c)&&(f[c]=null)):Se(c)&&(c.value=null)),W(a))kt(a,l,12,[i,u]);else{const d=me(a),y=Se(a);if(d||y){const p=()=>{if(e.f){const m=d?ne(f,a)?f[a]:u[a]:a.value;s?U(m)&&_s(m,o):U(m)?m.includes(o)||m.push(o):d?(u[a]=[o],ne(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,ne(f,a)&&(f[a]=i)):y&&(a.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,Ae(p,n)):p()}}}const Ae=xc;function Gc(e){return Yc(e)}function Yc(e,t){const n=_a();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:y=Ye,insertStaticContent:p}=e,m=(h,g,j,A=null,R=null,T=null,N=!1,M=null,C=!!g.dynamicChildren)=>{if(h===g)return;h&&!St(h,g)&&(A=P(h),ge(h,R,T,!0),h=null),g.patchFlag===-2&&(C=!1,g.dynamicChildren=null);const{type:k,ref:z,shapeFlag:B}=g;switch(k){case br:_(h,g,j,A);break;case Qe:b(h,g,j,A);break;case qn:h==null&&x(g,j,A,N);break;case je:Ee(h,g,j,A,R,T,N,M,C);break;default:B&1?L(h,g,j,A,R,T,N,M,C):B&6?Me(h,g,j,A,R,T,N,M,C):(B&64||B&128)&&k.process(h,g,j,A,R,T,N,M,C,te)}z!=null&&R&&ss(z,h&&h.ref,T,g||h,!g)},_=(h,g,j,A)=>{if(h==null)r(g.el=l(g.children),j,A);else{const R=g.el=h.el;g.children!==h.children&&c(R,g.children)}},b=(h,g,j,A)=>{h==null?r(g.el=a(g.children||""),j,A):g.el=h.el},x=(h,g,j,A)=>{[h.el,h.anchor]=p(h.children,g,j,A,h.el,h.anchor)},v=({el:h,anchor:g},j,A)=>{let R;for(;h&&h!==g;)R=d(h),r(h,j,A),h=R;r(g,j,A)},O=({el:h,anchor:g})=>{let j;for(;h&&h!==g;)j=d(h),s(h),h=j;s(g)},L=(h,g,j,A,R,T,N,M,C)=>{N=N||g.type==="svg",h==null?H(g,j,A,R,T,N,M,C):Z(h,g,R,T,N,M,C)},H=(h,g,j,A,R,T,N,M)=>{let C,k;const{type:z,props:B,shapeFlag:$,transition:K,dirs:G}=h;if(C=h.el=i(h.type,T,B&&B.is,B),$&8?u(C,h.children):$&16&&F(h.children,C,null,A,R,T&&z!=="foreignObject",N,M),G&&Tt(h,null,A,"created"),V(C,h,h.scopeId,N,A),B){for(const le in B)le!=="value"&&!Kn(le)&&o(C,le,null,B[le],T,h.children,A,R,I);"value"in B&&o(C,"value",null,B.value),(k=B.onVnodeBeforeMount)&&De(k,A,h)}G&&Tt(h,null,A,"beforeMount");const ce=(!R||R&&!R.pendingBranch)&&K&&!K.persisted;ce&&K.beforeEnter(C),r(C,g,j),((k=B&&B.onVnodeMounted)||ce||G)&&Ae(()=>{k&&De(k,A,h),ce&&K.enter(C),G&&Tt(h,null,A,"mounted")},R)},V=(h,g,j,A,R)=>{if(j&&y(h,j),A)for(let T=0;T{for(let k=C;k{const M=g.el=h.el;let{patchFlag:C,dynamicChildren:k,dirs:z}=g;C|=h.patchFlag&16;const B=h.props||ue,$=g.props||ue;let K;j&&Ct(j,!1),(K=$.onVnodeBeforeUpdate)&&De(K,j,g,h),z&&Tt(g,h,j,"beforeUpdate"),j&&Ct(j,!0);const G=R&&g.type!=="foreignObject";if(k?ee(h.dynamicChildren,k,M,j,A,G,T):N||Q(h,g,M,null,j,A,G,T,!1),C>0){if(C&16)ae(M,g,B,$,j,A,R);else if(C&2&&B.class!==$.class&&o(M,"class",null,$.class,R),C&4&&o(M,"style",B.style,$.style,R),C&8){const ce=g.dynamicProps;for(let le=0;le{K&&De(K,j,g,h),z&&Tt(g,h,j,"updated")},A)},ee=(h,g,j,A,R,T,N)=>{for(let M=0;M{if(j!==A){if(j!==ue)for(const M in j)!Kn(M)&&!(M in A)&&o(h,M,j[M],null,N,g.children,R,T,I);for(const M in A){if(Kn(M))continue;const C=A[M],k=j[M];C!==k&&M!=="value"&&o(h,M,k,C,N,g.children,R,T,I)}"value"in A&&o(h,"value",j.value,A.value)}},Ee=(h,g,j,A,R,T,N,M,C)=>{const k=g.el=h?h.el:l(""),z=g.anchor=h?h.anchor:l("");let{patchFlag:B,dynamicChildren:$,slotScopeIds:K}=g;K&&(M=M?M.concat(K):K),h==null?(r(k,j,A),r(z,j,A),F(g.children,j,z,R,T,N,M,C)):B>0&&B&64&&$&&h.dynamicChildren?(ee(h.dynamicChildren,$,j,R,T,N,M),(g.key!=null||R&&g===R.subTree)&&rl(h,g,!0)):Q(h,g,j,z,R,T,N,M,C)},Me=(h,g,j,A,R,T,N,M,C)=>{g.slotScopeIds=M,h==null?g.shapeFlag&512?R.ctx.activate(g,j,A,N,C):Te(g,j,A,R,T,N,C):bt(h,g,C)},Te=(h,g,j,A,R,T,N)=>{const M=h.component=iu(h,A,R);if(xr(h)&&(M.ctx.renderer=te),lu(M),M.asyncDep){if(R&&R.registerDep(M,fe),!h.el){const C=M.subTree=pe(Qe);b(null,C,g,j)}return}fe(M,h,g,j,R,T,N)},bt=(h,g,j)=>{const A=g.component=h.component;if(mc(h,g,j))if(A.asyncDep&&!A.asyncResolved){J(A,g,j);return}else A.next=g,ac(A.update),A.update();else g.el=h.el,A.vnode=g},fe=(h,g,j,A,R,T,N)=>{const M=()=>{if(h.isMounted){let{next:z,bu:B,u:$,parent:K,vnode:G}=h,ce=z,le;Ct(h,!1),z?(z.el=G.el,J(h,z,N)):z=G,B&&Yt(B),(le=z.props&&z.props.onVnodeBeforeUpdate)&&De(le,K,z,G),Ct(h,!0);const xe=Pr(h),Ke=h.subTree;h.subTree=xe,m(Ke,xe,f(Ke.el),P(Ke),h,R,T),z.el=xe.el,ce===null&&gc(h,xe.el),$&&Ae($,R),(le=z.props&&z.props.onVnodeUpdated)&&Ae(()=>De(le,K,z,G),R)}else{let z;const{el:B,props:$}=g,{bm:K,m:G,parent:ce}=h,le=xn(g);if(Ct(h,!1),K&&Yt(K),!le&&(z=$&&$.onVnodeBeforeMount)&&De(z,ce,g),Ct(h,!0),B&&q){const xe=()=>{h.subTree=Pr(h),q(B,h.subTree,h,R,null)};le?g.type.__asyncLoader().then(()=>!h.isUnmounted&&xe()):xe()}else{const xe=h.subTree=Pr(h);m(null,xe,j,A,h,R,T),g.el=xe.el}if(G&&Ae(G,R),!le&&(z=$&&$.onVnodeMounted)){const xe=g;Ae(()=>De(z,ce,xe),R)}(g.shapeFlag&256||ce&&xn(ce.vnode)&&ce.vnode.shapeFlag&256)&&h.a&&Ae(h.a,R),h.isMounted=!0,g=j=A=null}},C=h.effect=new Ss(M,()=>Ns(k),h.scope),k=h.update=()=>C.run();k.id=h.uid,Ct(h,!0),k()},J=(h,g,j)=>{g.component=h;const A=h.vnode.props;h.vnode=g,h.next=null,Vc(h,g.props,A,j),Wc(h,g.children,j),on(),lo(),ln()},Q=(h,g,j,A,R,T,N,M,C=!1)=>{const k=h&&h.children,z=h?h.shapeFlag:0,B=g.children,{patchFlag:$,shapeFlag:K}=g;if($>0){if($&128){Ze(k,B,j,A,R,T,N,M,C);return}else if($&256){be(k,B,j,A,R,T,N,M,C);return}}K&8?(z&16&&I(k,R,T),B!==k&&u(j,B)):z&16?K&16?Ze(k,B,j,A,R,T,N,M,C):I(k,R,T,!0):(z&8&&u(j,""),K&16&&F(B,j,A,R,T,N,M,C))},be=(h,g,j,A,R,T,N,M,C)=>{h=h||Jt,g=g||Jt;const k=h.length,z=g.length,B=Math.min(k,z);let $;for($=0;$z?I(h,R,T,!0,!1,B):F(g,j,A,R,T,N,M,C,B)},Ze=(h,g,j,A,R,T,N,M,C)=>{let k=0;const z=g.length;let B=h.length-1,$=z-1;for(;k<=B&&k<=$;){const K=h[k],G=g[k]=C?Et(g[k]):tt(g[k]);if(St(K,G))m(K,G,j,null,R,T,N,M,C);else break;k++}for(;k<=B&&k<=$;){const K=h[B],G=g[$]=C?Et(g[$]):tt(g[$]);if(St(K,G))m(K,G,j,null,R,T,N,M,C);else break;B--,$--}if(k>B){if(k<=$){const K=$+1,G=K$)for(;k<=B;)ge(h[k],R,T,!0),k++;else{const K=k,G=k,ce=new Map;for(k=G;k<=$;k++){const Le=g[k]=C?Et(g[k]):tt(g[k]);Le.key!=null&&ce.set(Le.key,k)}let le,xe=0;const Ke=$-G+1;let Vt=!1,Ys=0;const un=new Array(Ke);for(k=0;k=Ke){ge(Le,R,T,!0);continue}let et;if(Le.key!=null)et=ce.get(Le.key);else for(le=G;le<=$;le++)if(un[le-G]===0&&St(Le,g[le])){et=le;break}et===void 0?ge(Le,R,T,!0):(un[et-G]=k+1,et>=Ys?Ys=et:Vt=!0,m(Le,g[et],j,null,R,T,N,M,C),xe++)}const Qs=Vt?Qc(un):Jt;for(le=Qs.length-1,k=Ke-1;k>=0;k--){const Le=G+k,et=g[Le],Xs=Le+1{const{el:T,type:N,transition:M,children:C,shapeFlag:k}=h;if(k&6){we(h.component.subTree,g,j,A);return}if(k&128){h.suspense.move(g,j,A);return}if(k&64){N.move(h,g,j,te);return}if(N===je){r(T,g,j);for(let B=0;BM.enter(T),R);else{const{leave:B,delayLeave:$,afterLeave:K}=M,G=()=>r(T,g,j),ce=()=>{B(T,()=>{G(),K&&K()})};$?$(T,G,ce):ce()}else r(T,g,j)},ge=(h,g,j,A=!1,R=!1)=>{const{type:T,props:N,ref:M,children:C,dynamicChildren:k,shapeFlag:z,patchFlag:B,dirs:$}=h;if(M!=null&&ss(M,null,j,h,!0),z&256){g.ctx.deactivate(h);return}const K=z&1&&$,G=!xn(h);let ce;if(G&&(ce=N&&N.onVnodeBeforeUnmount)&&De(ce,g,h),z&6)S(h.component,j,A);else{if(z&128){h.suspense.unmount(j,A);return}K&&Tt(h,null,g,"beforeUnmount"),z&64?h.type.remove(h,g,j,R,te,A):k&&(T!==je||B>0&&B&64)?I(k,g,j,!1,!0):(T===je&&B&384||!R&&z&16)&&I(C,g,j),A&&Ue(h)}(G&&(ce=N&&N.onVnodeUnmounted)||K)&&Ae(()=>{ce&&De(ce,g,h),K&&Tt(h,null,g,"unmounted")},j)},Ue=h=>{const{type:g,el:j,anchor:A,transition:R}=h;if(g===je){Ie(j,A);return}if(g===qn){O(h);return}const T=()=>{s(j),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(h.shapeFlag&1&&R&&!R.persisted){const{leave:N,delayLeave:M}=R,C=()=>N(j,T);M?M(h.el,T,C):C()}else T()},Ie=(h,g)=>{let j;for(;h!==g;)j=d(h),s(h),h=j;s(g)},S=(h,g,j)=>{const{bum:A,scope:R,update:T,subTree:N,um:M}=h;A&&Yt(A),R.stop(),T&&(T.active=!1,ge(N,h,g,j)),M&&Ae(M,g),Ae(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},I=(h,g,j,A=!1,R=!1,T=0)=>{for(let N=T;Nh.shapeFlag&6?P(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),D=(h,g,j)=>{h==null?g._vnode&&ge(g._vnode,null,null,!0):m(g._vnode||null,h,g,null,null,null,j),lo(),Li(),g._vnode=h},te={p:m,um:ge,m:we,r:Ue,mt:Te,mc:F,pc:Q,pbc:ee,n:P,o:e};let he,q;return t&&([he,q]=t(te)),{render:D,hydrate:he,createApp:Jc(D,he)}}function Ct({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function rl(e,t,n=!1){const r=e.children,s=t.children;if(U(r)&&U(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Xc=e=>e.__isTeleport,je=Symbol(void 0),br=Symbol(void 0),Qe=Symbol(void 0),qn=Symbol(void 0),bn=[];let Ge=null;function Y(e=!1){bn.push(Ge=e?null:[])}function Zc(){bn.pop(),Ge=bn[bn.length-1]||null}let Rn=1;function xo(e){Rn+=e}function sl(e){return e.dynamicChildren=Rn>0?Ge||Jt:null,Zc(),Rn>0&&Ge&&Ge.push(e),e}function ie(e,t,n,r,s,o){return sl(w(e,t,n,r,s,o,!0))}function Ht(e,t,n,r,s){return sl(pe(e,t,n,r,s,!0))}function lr(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const wr="__vInternal",ol=({key:e})=>e??null,Jn=({ref:e,ref_key:t,ref_for:n})=>e!=null?me(e)||Se(e)||W(e)?{i:Be,r:e,k:t,f:!!n}:e:null;function w(e,t=null,n=null,r=0,s=null,o=e===je?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&Jn(t),scopeId:gr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Be};return l?(Hs(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),Rn>0&&!i&&Ge&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ge.push(a),a}const pe=eu;function eu(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Gi)&&(e=Qe),lr(e)){const l=yt(e,t,!0);return n&&Hs(l,n),Rn>0&&!o&&Ge&&(l.shapeFlag&6?Ge[Ge.indexOf(e)]=l:Ge.push(l)),l.patchFlag|=-2,l}if(fu(e)&&(e=e.__vccOpts),t){t=tu(t);let{class:l,style:a}=t;l&&!me(l)&&(t.class=ut(l)),de(a)&&(Si(a)&&!U(a)&&(a=Re({},a)),t.style=ws(a))}const i=me(e)?1:Hi(e)?128:Xc(e)?64:de(e)?4:W(e)?2:0;return w(e,t,n,r,s,i,o,!0)}function tu(e){return e?Si(e)||wr in e?Re({},e):e:null}function yt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?ru(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ol(l),ref:t&&t.ref?n&&s?U(s)?s.concat(Jn(t)):[s,Jn(t)]:Jn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function nu(e=" ",t=0){return pe(br,null,e,t)}function jr(e,t){const n=pe(qn,null,e);return n.staticCount=t,n}function wn(e="",t=!1){return t?(Y(),Ht(Qe,null,e)):pe(Qe,null,e)}function tt(e){return e==null||typeof e=="boolean"?pe(Qe):U(e)?pe(je,null,e.slice()):typeof e=="object"?Et(e):pe(br,null,String(e))}function Et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function Hs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Hs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(wr in t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),r&64?(n=16,t=[nu(t)]):n=8);e.children=t,e.shapeFlag|=n}function ru(...e){const t={};for(let n=0;nye||Be,tn=e=>{ye=e,e.scope.on()},zt=()=>{ye&&ye.scope.off(),ye=null};function ll(e){return e.vnode.shapeFlag&4}let kn=!1;function lu(e,t=!1){kn=t;const{props:n,children:r}=e.vnode,s=ll(e);$c(e,n,s,t),Kc(e,r);const o=s?au(e,t):void 0;return kn=!1,o}function au(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ri(new Proxy(e.ctx,Lc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?uu(e):null;tn(e),on();const o=kt(r,e,0,[e.props,s]);if(ln(),zt(),hi(o)){if(o.then(zt,zt),t)return o.then(i=>{vo(e,i,t)}).catch(i=>{yr(i,e,0)});e.asyncDep=o}else vo(e,o,t)}else al(e,t)}function vo(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Ci(t)),al(e,n)}let bo;function al(e,t,n){const r=e.type;if(!e.render){if(!t&&bo&&!r.render){const s=r.template||Fs(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Re(Re({isCustomElement:o,delimiters:l},i),a);r.render=bo(s,c)}}e.render=r.render||Ye}tn(e),on(),Fc(e),ln(),zt()}function cu(e){return new Proxy(e.attrs,{get(t,n){return Ne(e,"get","$attrs"),t[n]}})}function uu(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=cu(e))},slots:e.slots,emit:e.emit,expose:t}}function _r(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ci(Ri(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vn)return vn[n](e)},has(t,n){return n in t||n in vn}}))}function os(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function fu(e){return W(e)&&"__vccOpts"in e}const $e=(e,t)=>oc(e,t,kn);function cl(e,t,n){const r=arguments.length;return r===2?de(t)&&!U(t)?lr(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&lr(n)&&(n=[n]),pe(e,t,n))}const du=Symbol(""),hu=()=>dt(du),pu="3.2.47",yu="http://www.w3.org/2000/svg",Lt=typeof document<"u"?document:null,wo=Lt&&Lt.createElement("template"),mu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?Lt.createElementNS(yu,e):Lt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Lt.createTextNode(e),createComment:e=>Lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{wo.innerHTML=r?`${e}`:e;const l=wo.content;if(r){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]}};function gu(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function xu(e,t,n){const r=e.style,s=me(n);if(n&&!s){if(t&&!me(t))for(const o in t)n[o]==null&&is(r,o,"");for(const o in n)is(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const jo=/\s*!important$/;function is(e,t,n){if(U(n))n.forEach(r=>is(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=vu(e,t);jo.test(n)?e.setProperty($t(r),n.replace(jo,""),"important"):e[r]=n}}const _o=["Webkit","Moz","ms"],Br={};function vu(e,t){const n=Br[t];if(n)return n;let r=ot(t);if(r!=="filter"&&r in e)return Br[t]=r;r=hr(r);for(let s=0;s<_o.length;s++){const o=_o[s]+r;if(o in e)return Br[t]=o}return t}const Eo="http://www.w3.org/1999/xlink";function bu(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Eo,t.slice(6,t.length)):e.setAttributeNS(Eo,t,n);else{const o=ya(t);n==null||o&&!ui(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function wu(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=ui(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Kt(e,t,n,r){e.addEventListener(t,n,r)}function ju(e,t,n,r){e.removeEventListener(t,n,r)}function _u(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=Eu(t);if(r){const c=o[t]=Su(r,s);Kt(e,l,c,a)}else i&&(ju(e,l,i,a),o[t]=void 0)}}const Ao=/(?:Once|Passive|Capture)$/;function Eu(e){let t;if(Ao.test(e)){t={};let r;for(;r=e.match(Ao);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$t(e.slice(2)),t]}let Hr=0;const Au=Promise.resolve(),Ou=()=>Hr||(Au.then(()=>Hr=0),Hr=Date.now());function Su(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ve(Ru(r,n.value),t,5,[r])};return n.value=e,n.attached=Ou(),n}function Ru(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Oo=/^on[a-z]/,ku=(e,t,n,r,s=!1,o,i,l,a)=>{t==="class"?gu(e,r,s):t==="style"?xu(e,n,r):fr(t)?js(t)||_u(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mu(e,t,r,s))?wu(e,t,r,o,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bu(e,t,r,s))};function Mu(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Oo.test(t)&&W(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Oo.test(t)&&me(n)?!1:t in e}const Tu={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};jc.props;const So=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>Yt(t,n):t};function Cu(e){e.target.composing=!0}function Ro(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pe={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=So(s);const o=r||s.props&&s.props.type==="number";Kt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=qr(l)),e._assign(l)}),n&&Kt(e,"change",()=>{e.value=e.value.trim()}),t||(Kt(e,"compositionstart",Cu),Kt(e,"compositionend",Ro),Kt(e,"change",Ro))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=So(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&qr(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Pu=["ctrl","shift","alt","meta"],Nu={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)=>Pu.some(n=>e[`${n}Key`]&&!t.includes(n))},Iu=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=$t(n.key);if(t.some(s=>s===r||Lu[s]===r))return e(n)},Bu=Re({patchProp:ku},mu);let ko;function Hu(){return ko||(ko=Gc(Bu))}const Du=(...e)=>{const t=Hu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zu(r);if(!s)return;const o=t._component;!W(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function zu(e){return me(e)?document.querySelector(e):e}/*! +(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function bs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}function ws(e){if(U(e)){const t={};for(let n=0;n{if(n){const r=n.split(fa);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ut(e){let t="";if(me(e))t=e;else if(U(e))for(let n=0;nme(e)?e:e==null?"":U(e)||de(e)&&(e.toString===pi||!W(e.toString))?JSON.stringify(e,fi,2):String(e),fi=(e,t)=>t&&t.__v_isRef?fi(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!U(t)&&!yi(t)?String(t):t,ue={},Jt=[],Ye=()=>{},ma=()=>!1,ga=/^on[^a-z]/,ur=e=>ga.test(e),js=e=>e.startsWith("onUpdate:"),Re=Object.assign,_s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,ne=(e,t)=>xa.call(e,t),U=Array.isArray,Gt=e=>Cn(e)==="[object Map]",di=e=>Cn(e)==="[object Set]",va=e=>Cn(e)==="[object RegExp]",W=e=>typeof e=="function",me=e=>typeof e=="string",Es=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",hi=e=>de(e)&&W(e.then)&&W(e.catch),pi=Object.prototype.toString,Cn=e=>pi.call(e),ba=e=>Cn(e).slice(8,-1),yi=e=>Cn(e)==="[object Object]",As=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kn=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wa=/-(\w)/g,ot=fr(e=>e.replace(wa,(t,n)=>n?n.toUpperCase():"")),ja=/\B([A-Z])/g,$t=fr(e=>e.replace(ja,"-$1").toLowerCase()),dr=fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tr=fr(e=>e?`on${dr(e)}`:""),En=(e,t)=>!Object.is(e,t),Yt=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zs;const _a=()=>Zs||(Zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let We;class Ea{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=We;try{return We=this,t()}finally{We=n}}}on(){We=this}off(){We=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},mi=e=>(e.w&Mt)>0,gi=e=>(e.n&Mt)>0,Sa=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":U(e)?As(n)&&l.push(i.get("length")):(l.push(i.get(Dt)),Gt(e)&&l.push(i.get(Gr)));break;case"delete":U(e)||(l.push(i.get(Dt)),Gt(e)&&l.push(i.get(Gr)));break;case"set":Gt(e)&&l.push(i.get(Dt));break}if(l.length===1)l[0]&&Yr(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);Yr(Os(a))}}function Yr(e,t){const n=U(e)?e:[...e];for(const r of n)r.computed&&to(r);for(const r of n)r.computed||to(r)}function to(e,t){(e!==Je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const ka=bs("__proto__,__v_isRef,__isVue"),bi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Es)),Ma=Rs(),Ta=Rs(!1,!0),Ca=Rs(!0),no=Pa();function Pa(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=se(this);for(let o=0,i=this.length;o{e[t]=function(...n){on();const r=se(this)[t].apply(this,n);return ln(),r}}),e}function Na(e){const t=se(this);return Ne(t,"has",e),t.hasOwnProperty(e)}function Rs(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Ya:Ai:t?Ei:_i).get(r))return r;const i=U(r);if(!e){if(i&&ne(no,s))return Reflect.get(no,s,o);if(s==="hasOwnProperty")return Na}const l=Reflect.get(r,s,o);return(Es(s)?bi.has(s):ka(s))||(e||Ne(r,"get",s),t)?l:Se(l)?i&&As(s)?l:l.value:de(l)?e?Oi(l):Pn(l):l}}const Ia=wi(),La=wi(!0);function wi(e=!1){return function(n,r,s,o){let i=n[r];if(en(i)&&Se(i)&&!Se(s))return!1;if(!e&&(!rr(s)&&!en(s)&&(i=se(i),s=se(s)),!U(n)&&Se(i)&&!Se(s)))return i.value=s,!0;const l=U(n)&&As(r)?Number(r)e,hr=e=>Reflect.getPrototypeOf(e);function Fn(e,t,n=!1,r=!1){e=e.__v_raw;const s=se(e),o=se(t);n||(t!==o&&Ne(s,"get",t),Ne(s,"get",o));const{has:i}=hr(s),l=r?ks:n?Cs:An;if(i.call(s,t))return l(e.get(t));if(i.call(s,o))return l(e.get(o));e!==s&&e.get(t)}function Bn(e,t=!1){const n=this.__v_raw,r=se(n),s=se(e);return t||(e!==s&&Ne(r,"has",e),Ne(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Hn(e,t=!1){return e=e.__v_raw,!t&&Ne(se(e),"iterate",Dt),Reflect.get(e,"size",e)}function ro(e){e=se(e);const t=se(this);return hr(t).has.call(t,e)||(t.add(e),pt(t,"add",e,e)),this}function so(e,t){t=se(t);const n=se(this),{has:r,get:s}=hr(n);let o=r.call(n,e);o||(e=se(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?En(t,i)&&pt(n,"set",e,t):pt(n,"add",e,t),this}function oo(e){const t=se(this),{has:n,get:r}=hr(t);let s=n.call(t,e);s||(e=se(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&pt(t,"delete",e,void 0),o}function io(){const e=se(this),t=e.size!==0,n=e.clear();return t&&pt(e,"clear",void 0,void 0),n}function Dn(e,t){return function(r,s){const o=this,i=o.__v_raw,l=se(i),a=t?ks:e?Cs:An;return!e&&Ne(l,"iterate",Dt),i.forEach((c,u)=>r.call(s,a(c),a(u),o))}}function zn(e,t,n){return function(...r){const s=this.__v_raw,o=se(s),i=Gt(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=s[e](...r),u=n?ks:t?Cs:An;return!t&&Ne(o,"iterate",a?Gr:Dt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:this}}function $a(){const e={get(o){return Fn(this,o)},get size(){return Hn(this)},has:Bn,add:ro,set:so,delete:oo,clear:io,forEach:Dn(!1,!1)},t={get(o){return Fn(this,o,!1,!0)},get size(){return Hn(this)},has:Bn,add:ro,set:so,delete:oo,clear:io,forEach:Dn(!1,!0)},n={get(o){return Fn(this,o,!0)},get size(){return Hn(this,!0)},has(o){return Bn.call(this,o,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Dn(!0,!1)},r={get(o){return Fn(this,o,!0,!0)},get size(){return Hn(this,!0)},has(o){return Bn.call(this,o,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Dn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=zn(o,!1,!1),n[o]=zn(o,!0,!1),t[o]=zn(o,!1,!0),r[o]=zn(o,!0,!0)}),[e,n,t,r]}const[Va,Ua,Ka,Wa]=$a();function Ms(e,t){const n=t?e?Wa:Ka:e?Ua:Va;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ne(n,s)&&s in r?n:r,s,o)}const qa={get:Ms(!1,!1)},Ja={get:Ms(!1,!0)},Ga={get:Ms(!0,!1)},_i=new WeakMap,Ei=new WeakMap,Ai=new WeakMap,Ya=new WeakMap;function Qa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Xa(e){return e.__v_skip||!Object.isExtensible(e)?0:Qa(ba(e))}function Pn(e){return en(e)?e:Ts(e,!1,ji,qa,_i)}function Za(e){return Ts(e,!1,za,Ja,Ei)}function Oi(e){return Ts(e,!0,Da,Ga,Ai)}function Ts(e,t,n,r,s){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Xa(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return s.set(e,l),l}function Qt(e){return en(e)?Qt(e.__v_raw):!!(e&&e.__v_isReactive)}function en(e){return!!(e&&e.__v_isReadonly)}function rr(e){return!!(e&&e.__v_isShallow)}function Si(e){return Qt(e)||en(e)}function se(e){const t=e&&e.__v_raw;return t?se(t):e}function Ri(e){return nr(e,"__v_skip",!0),e}const An=e=>de(e)?Pn(e):e,Cs=e=>de(e)?Oi(e):e;function ki(e){Rt&&Je&&(e=se(e),vi(e.dep||(e.dep=Os())))}function Mi(e,t){e=se(e);const n=e.dep;n&&Yr(n)}function Se(e){return!!(e&&e.__v_isRef===!0)}function ec(e){return Ti(e,!1)}function tc(e){return Ti(e,!0)}function Ti(e,t){return Se(e)?e:new nc(e,t)}class nc{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:se(t),this._value=n?t:An(t)}get value(){return ki(this),this._value}set value(t){const n=this.__v_isShallow||rr(t)||en(t);t=n?t:se(t),En(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:An(t),Mi(this))}}function Fe(e){return Se(e)?e.value:e}const rc={get:(e,t,n)=>Fe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Se(s)&&!Se(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Ci(e){return Qt(e)?e:new Proxy(e,rc)}var Pi;class sc{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Pi]=!1,this._dirty=!0,this.effect=new Ss(t,()=>{this._dirty||(this._dirty=!0,Mi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=se(this);return ki(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Pi="__v_isReadonly";function oc(e,t,n=!1){let r,s;const o=W(e);return o?(r=e,s=Ye):(r=e.get,s=e.set),new sc(r,s,o||!s,n)}function kt(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){pr(o,t,n)}return s}function Ve(e,t,n,r){if(W(e)){const o=kt(e,t,n,r);return o&&hi(o)&&o.catch(i=>{pr(i,t,n)}),o}const s=[];for(let o=0;o>>1;Sn(Oe[r])nt&&Oe.splice(t,1)}function cc(e){U(e)?Xt.push(...e):(!at||!at.includes(e,e.allowRecurse?Nt+1:Nt))&&Xt.push(e),Ii()}function lo(e,t=On?nt+1:0){for(;tSn(n)-Sn(r)),Nt=0;Nte.id==null?1/0:e.id,uc=(e,t)=>{const n=Sn(e)-Sn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Fi(e){Qr=!1,On=!0,Oe.sort(uc);const t=Ye;try{for(nt=0;ntme(y)?y.trim():y)),f&&(s=n.map(Wr))}let l,a=r[l=Tr(t)]||r[l=Tr(ot(t))];!a&&o&&(a=r[l=Tr($t(t))]),a&&Ve(a,e,6,s);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ve(c,e,6,s)}}function Bi(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},l=!1;if(!W(e)){const a=c=>{const u=Bi(c,t,!0);u&&(l=!0,Re(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(de(e)&&r.set(e,null),null):(U(o)?o.forEach(a=>i[a]=null):Re(i,o),de(e)&&r.set(e,i),i)}function yr(e,t){return!e||!ur(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,$t(t))||ne(e,t))}let Be=null,mr=null;function sr(e){const t=Be;return Be=e,mr=e&&e.type.__scopeId||null,t}function dc(e){mr=e}function hc(){mr=null}function Ot(e,t=Be,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&xo(-1);const o=sr(t);let i;try{i=e(...s)}finally{sr(o),r._d&&xo(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Cr(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:l,attrs:a,emit:c,render:u,renderCache:f,data:d,setupState:y,ctx:p,inheritAttrs:m}=e;let _,b;const x=sr(e);try{if(n.shapeFlag&4){const O=s||r;_=tt(u.call(O,O,f,o,y,d,p)),b=a}else{const O=t;_=tt(O.length>1?O(o,{attrs:a,slots:l,emit:c}):O(o,null)),b=t.props?a:pc(a)}}catch(O){bn.length=0,pr(O,e,1),_=pe(Qe)}let v=_;if(b&&m!==!1){const O=Object.keys(b),{shapeFlag:L}=v;O.length&&L&7&&(i&&O.some(js)&&(b=yc(b,i)),v=yt(v,b))}return n.dirs&&(v=yt(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),_=v,sr(x),_}const pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ur(n))&&((t||(t={}))[n]=e[n]);return t},yc=(e,t)=>{const n={};for(const r in e)(!js(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function mc(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?ao(r,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;fe.__isSuspense;function xc(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):cc(e)}function Wn(e,t){if(ye){let n=ye.provides;const r=ye.parent&&ye.parent.provides;r===n&&(n=ye.provides=Object.create(r)),n[e]=t}}function dt(e,t,n=!1){const r=ye||Be;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&W(t)?t.call(r.proxy):t}}const $n={};function gn(e,t,n){return Di(e,t,n)}function Di(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=ue){const l=Oa()===(ye==null?void 0:ye.scope)?ye:null;let a,c=!1,u=!1;if(Se(e)?(a=()=>e.value,c=rr(e)):Qt(e)?(a=()=>e,r=!0):U(e)?(u=!0,c=e.some(v=>Qt(v)||rr(v)),a=()=>e.map(v=>{if(Se(v))return v.value;if(Qt(v))return Bt(v);if(W(v))return kt(v,l,2)})):W(e)?t?a=()=>kt(e,l,2):a=()=>{if(!(l&&l.isUnmounted))return f&&f(),Ve(e,l,3,[d])}:a=Ye,t&&r){const v=a;a=()=>Bt(v())}let f,d=v=>{f=b.onStop=()=>{kt(v,l,4)}},y;if(kn)if(d=Ye,t?n&&Ve(t,l,3,[a(),u?[]:void 0,d]):a(),s==="sync"){const v=hu();y=v.__watcherHandles||(v.__watcherHandles=[])}else return Ye;let p=u?new Array(e.length).fill($n):$n;const m=()=>{if(b.active)if(t){const v=b.run();(r||c||(u?v.some((O,L)=>En(O,p[L])):En(v,p)))&&(f&&f(),Ve(t,l,3,[v,p===$n?void 0:u&&p[0]===$n?[]:p,d]),p=v)}else b.run()};m.allowRecurse=!!t;let _;s==="sync"?_=m:s==="post"?_=()=>Ae(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),_=()=>Ns(m));const b=new Ss(a,_);t?n?m():p=b.run():s==="post"?Ae(b.run.bind(b),l&&l.suspense):b.run();const x=()=>{b.stop(),l&&l.scope&&_s(l.scope.effects,b)};return y&&y.push(x),x}function vc(e,t,n){const r=this.proxy,s=me(e)?e.includes(".")?zi(r,e):()=>r[e]:e.bind(r,r);let o;W(t)?o=t:(o=t.handler,n=t);const i=ye;tn(this);const l=Di(s,o.bind(r),n);return i?tn(i):zt(),l}function zi(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s{Bt(n,t)});else if(yi(e))for(const n in e)Bt(e[n],t);return e}function bc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Is(()=>{e.isMounted=!0}),Ls(()=>{e.isUnmounting=!0}),e}const He=[Function,Array],wc={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:He,onEnter:He,onAfterEnter:He,onEnterCancelled:He,onBeforeLeave:He,onLeave:He,onAfterLeave:He,onLeaveCancelled:He,onBeforeAppear:He,onAppear:He,onAfterAppear:He,onAppearCancelled:He},setup(e,{slots:t}){const n=il(),r=bc();let s;return()=>{const o=t.default&&Vi(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const m of o)if(m.type!==Qe){i=m;break}}const l=se(e),{mode:a}=l;if(r.isLeaving)return Pr(i);const c=co(i);if(!c)return Pr(i);const u=Xr(c,l,r,n);or(c,u);const f=n.subTree,d=f&&co(f);let y=!1;const{getTransitionKey:p}=c.type;if(p){const m=p();s===void 0?s=m:m!==s&&(s=m,y=!0)}if(d&&d.type!==Qe&&(!St(c,d)||y)){const m=Xr(d,l,r,n);if(or(d,m),a==="out-in")return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Pr(i);a==="in-out"&&c.type!==Qe&&(m.delayLeave=(_,b,x)=>{const v=$i(r,d);v[String(d.key)]=d,_._leaveCb=()=>{b(),_._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=x})}return i}}},jc=wc;function $i(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Xr(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:y,onLeaveCancelled:p,onBeforeAppear:m,onAppear:_,onAfterAppear:b,onAppearCancelled:x}=t,v=String(e.key),O=$i(n,e),L=(F,Z)=>{F&&Ve(F,r,9,Z)},H=(F,Z)=>{const ee=Z[1];L(F,Z),U(F)?F.every(ae=>ae.length<=1)&&ee():F.length<=1&&ee()},V={mode:o,persisted:i,beforeEnter(F){let Z=l;if(!n.isMounted)if(s)Z=m||l;else return;F._leaveCb&&F._leaveCb(!0);const ee=O[v];ee&&St(e,ee)&&ee.el._leaveCb&&ee.el._leaveCb(),L(Z,[F])},enter(F){let Z=a,ee=c,ae=u;if(!n.isMounted)if(s)Z=_||a,ee=b||c,ae=x||u;else return;let Ee=!1;const Me=F._enterCb=Te=>{Ee||(Ee=!0,Te?L(ae,[F]):L(ee,[F]),V.delayedLeave&&V.delayedLeave(),F._enterCb=void 0)};Z?H(Z,[F,Me]):Me()},leave(F,Z){const ee=String(e.key);if(F._enterCb&&F._enterCb(!0),n.isUnmounting)return Z();L(f,[F]);let ae=!1;const Ee=F._leaveCb=Me=>{ae||(ae=!0,Z(),Me?L(p,[F]):L(y,[F]),F._leaveCb=void 0,O[ee]===e&&delete O[ee])};O[ee]=e,d?H(d,[F,Ee]):Ee()},clone(F){return Xr(F,t,n,r)}};return V}function Pr(e){if(gr(e))return e=yt(e),e.children=null,e}function co(e){return gr(e)?e.children?e.children[0]:void 0:e}function or(e,t){e.shapeFlag&6&&e.component?or(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 Vi(e,t=!1,n){let r=[],s=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,gr=e=>e.type.__isKeepAlive,_c={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=il(),r=n.ctx;if(!r.renderer)return()=>{const x=t.default&&t.default();return x&&x.length===1?x[0]:x};const s=new Map,o=new Set;let i=null;const l=n.suspense,{renderer:{p:a,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(x,v,O,L,H)=>{const V=x.component;c(x,v,O,0,l),a(V.vnode,x,v,O,V,l,L,x.slotScopeIds,H),Ae(()=>{V.isDeactivated=!1,V.a&&Yt(V.a);const F=x.props&&x.props.onVnodeMounted;F&&De(F,V.parent,x)},l)},r.deactivate=x=>{const v=x.component;c(x,d,null,1,l),Ae(()=>{v.da&&Yt(v.da);const O=x.props&&x.props.onVnodeUnmounted;O&&De(O,v.parent,x),v.isDeactivated=!0},l)};function y(x){Nr(x),u(x,n,l,!0)}function p(x){s.forEach((v,O)=>{const L=ss(v.type);L&&(!x||!x(L))&&m(O)})}function m(x){const v=s.get(x);!i||!St(v,i)?y(v):i&&Nr(i),s.delete(x),o.delete(x)}gn(()=>[e.include,e.exclude],([x,v])=>{x&&p(O=>yn(x,O)),v&&p(O=>!yn(v,O))},{flush:"post",deep:!0});let _=null;const b=()=>{_!=null&&s.set(_,Ir(n.subTree))};return Is(b),Wi(b),Ls(()=>{s.forEach(x=>{const{subTree:v,suspense:O}=n,L=Ir(v);if(x.type===L.type&&x.key===L.key){Nr(L);const H=L.component.da;H&&Ae(H,O);return}y(x)})}),()=>{if(_=null,!t.default)return null;const x=t.default(),v=x[0];if(x.length>1)return i=null,x;if(!lr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let O=Ir(v);const L=O.type,H=ss(xn(O)?O.type.__asyncResolved||{}:L),{include:V,exclude:F,max:Z}=e;if(V&&(!H||!yn(V,H))||F&&H&&yn(F,H))return i=O,v;const ee=O.key==null?L:O.key,ae=s.get(ee);return O.el&&(O=yt(O),v.shapeFlag&128&&(v.ssContent=O)),_=ee,ae?(O.el=ae.el,O.component=ae.component,O.transition&&or(O,O.transition),O.shapeFlag|=512,o.delete(ee),o.add(ee)):(o.add(ee),Z&&o.size>parseInt(Z,10)&&m(o.values().next().value)),O.shapeFlag|=256,i=O,Hi(v.type)?v:O}}},Ec=_c;function yn(e,t){return U(e)?e.some(n=>yn(n,t)):me(e)?e.split(",").includes(t):va(e)?e.test(t):!1}function Ac(e,t){Ki(e,"a",t)}function Oc(e,t){Ki(e,"da",t)}function Ki(e,t,n=ye){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(xr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)gr(s.parent.vnode)&&Sc(r,t,n,s),s=s.parent}}function Sc(e,t,n,r){const s=xr(t,e,r,!0);qi(()=>{_s(r[t],s)},n)}function Nr(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Ir(e){return e.shapeFlag&128?e.ssContent:e}function xr(e,t,n=ye,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;on(),tn(n);const l=Ve(t,n,e,i);return zt(),ln(),l});return r?s.unshift(o):s.push(o),o}}const gt=e=>(t,n=ye)=>(!kn||e==="sp")&&xr(e,(...r)=>t(...r),n),Rc=gt("bm"),Is=gt("m"),kc=gt("bu"),Wi=gt("u"),Ls=gt("bum"),qi=gt("um"),Mc=gt("sp"),Tc=gt("rtg"),Cc=gt("rtc");function Pc(e,t=ye){xr("ec",e,t)}function Ce(e,t){const n=Be;if(n===null)return e;const r=jr(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;ot(i,l,void 0,o&&o[l]));else{const i=Object.keys(e);s=new Array(i.length);for(let l=0,a=i.length;le?ll(e)?jr(e)||e.proxy:Zr(e.parent):null,vn=Re(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=>Zr(e.parent),$root:e=>Zr(e.root),$emit:e=>e.emit,$options:e=>Fs(e),$forceUpdate:e=>e.f||(e.f=()=>Ns(e.update)),$nextTick:e=>e.n||(e.n=ft.bind(e.proxy)),$watch:e=>vc.bind(e)}),Lr=(e,t)=>e!==ue&&!e.__isScriptSetup&&ne(e,t),Lc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const y=i[t];if(y!==void 0)switch(y){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Lr(r,t))return i[t]=1,r[t];if(s!==ue&&ne(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&ne(c,t))return i[t]=3,o[t];if(n!==ue&&ne(n,t))return i[t]=4,n[t];es&&(i[t]=0)}}const u=vn[t];let f,d;if(u)return t==="$attrs"&&Ne(e,"get",t),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ue&&ne(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ne(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Lr(s,t)?(s[t]=n,!0):r!==ue&&ne(r,t)?(r[t]=n,!0):ne(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let l;return!!n[i]||e!==ue&&ne(e,i)||Lr(t,i)||(l=o[0])&&ne(l,i)||ne(r,i)||ne(vn,i)||ne(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let es=!0;function Fc(e){const t=Fs(e),n=e.proxy,r=e.ctx;es=!1,t.beforeCreate&&fo(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:y,updated:p,activated:m,deactivated:_,beforeDestroy:b,beforeUnmount:x,destroyed:v,unmounted:O,render:L,renderTracked:H,renderTriggered:V,errorCaptured:F,serverPrefetch:Z,expose:ee,inheritAttrs:ae,components:Ee,directives:Me,filters:Te}=t;if(c&&Bc(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(const J in i){const Q=i[J];W(Q)&&(r[J]=Q.bind(n))}if(s){const J=s.call(n,n);de(J)&&(e.data=Pn(J))}if(es=!0,o)for(const J in o){const Q=o[J],be=W(Q)?Q.bind(n,n):W(Q.get)?Q.get.bind(n,n):Ye,Ze=!W(Q)&&W(Q.set)?Q.set.bind(n):Ye,we=$e({get:be,set:Ze});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>we.value,set:ge=>we.value=ge})}if(l)for(const J in l)Yi(l[J],r,n,J);if(a){const J=W(a)?a.call(n):a;Reflect.ownKeys(J).forEach(Q=>{Wn(Q,J[Q])})}u&&fo(u,e,"c");function fe(J,Q){U(Q)?Q.forEach(be=>J(be.bind(n))):Q&&J(Q.bind(n))}if(fe(Rc,f),fe(Is,d),fe(kc,y),fe(Wi,p),fe(Ac,m),fe(Oc,_),fe(Pc,F),fe(Cc,H),fe(Tc,V),fe(Ls,x),fe(qi,O),fe(Mc,Z),U(ee))if(ee.length){const J=e.exposed||(e.exposed={});ee.forEach(Q=>{Object.defineProperty(J,Q,{get:()=>n[Q],set:be=>n[Q]=be})})}else e.exposed||(e.exposed={});L&&e.render===Ye&&(e.render=L),ae!=null&&(e.inheritAttrs=ae),Ee&&(e.components=Ee),Me&&(e.directives=Me)}function Bc(e,t,n=Ye,r=!1){U(e)&&(e=ts(e));for(const s in e){const o=e[s];let i;de(o)?"default"in o?i=dt(o.from||s,o.default,!0):i=dt(o.from||s):i=dt(o),Se(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function fo(e,t,n){Ve(U(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Yi(e,t,n,r){const s=r.includes(".")?zi(n,r):()=>n[r];if(me(e)){const o=t[e];W(o)&&gn(s,o)}else if(W(e))gn(s,e.bind(n));else if(de(e))if(U(e))e.forEach(o=>Yi(o,t,n,r));else{const o=W(e.handler)?e.handler.bind(n):t[e.handler];W(o)&&gn(s,o,e)}}function Fs(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(c=>ir(a,c,i,!0)),ir(a,t,i)),de(t)&&o.set(t,a),a}function ir(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&ir(e,o,n,!0),s&&s.forEach(i=>ir(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Hc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Hc={data:ho,props:Pt,emits:Pt,methods:Pt,computed:Pt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:Pt,directives:Pt,watch:zc,provide:ho,inject:Dc};function ho(e,t){return t?e?function(){return Re(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Dc(e,t){return Pt(ts(e),ts(t))}function ts(e){if(U(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f{a=!0;const[d,y]=Xi(f,t,!0);Re(i,d),y&&l.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return de(e)&&r.set(e,Jt),Jt;if(U(o))for(let u=0;u-1,y[1]=m<0||p-1||ne(y,"default"))&&l.push(f)}}}const c=[i,l];return de(e)&&r.set(e,c),c}function po(e){return e[0]!=="$"}function yo(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function mo(e,t){return yo(e)===yo(t)}function go(e,t){return U(t)?t.findIndex(n=>mo(n,e)):W(t)&&mo(t,e)?0:-1}const Zi=e=>e[0]==="_"||e==="$stable",Bs=e=>U(e)?e.map(tt):[tt(e)],Uc=(e,t,n)=>{if(t._n)return t;const r=Ot((...s)=>Bs(t(...s)),n);return r._c=!1,r},el=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Zi(s))continue;const o=e[s];if(W(o))t[s]=Uc(s,o,r);else if(o!=null){const i=Bs(o);t[s]=()=>i}}},tl=(e,t)=>{const n=Bs(t);e.slots.default=()=>n},Kc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=se(t),nr(t,"_",n)):el(t,e.slots={})}else e.slots={},t&&tl(e,t);nr(e.slots,br,1)},Wc=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ue;if(r.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:(Re(s,t),!n&&l===1&&delete s._):(o=!t.$stable,el(t,s)),i=t}else t&&(tl(e,t),i={default:1});if(o)for(const l in s)!Zi(l)&&!(l in i)&&delete s[l]};function nl(){return{app:null,config:{isNativeTag:ma,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 qc=0;function Jc(e,t){return function(r,s=null){W(r)||(r=Object.assign({},r)),s!=null&&!de(s)&&(s=null);const o=nl(),i=new Set;let l=!1;const a=o.app={_uid:qc++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:pu,get config(){return o.config},set config(c){},use(c,...u){return i.has(c)||(c&&W(c.install)?(i.add(c),c.install(a,...u)):W(c)&&(i.add(c),c(a,...u))),a},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),a},component(c,u){return u?(o.components[c]=u,a):o.components[c]},directive(c,u){return u?(o.directives[c]=u,a):o.directives[c]},mount(c,u,f){if(!l){const d=pe(r,s);return d.appContext=o,u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,jr(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return o.provides[c]=u,a}};return a}}function rs(e,t,n,r,s=!1){if(U(e)){e.forEach((d,y)=>rs(d,t&&(U(t)?t[y]:t),n,r,s));return}if(xn(r)&&!s)return;const o=r.shapeFlag&4?jr(r.component)||r.component.proxy:r.el,i=s?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ue?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(me(c)?(u[c]=null,ne(f,c)&&(f[c]=null)):Se(c)&&(c.value=null)),W(a))kt(a,l,12,[i,u]);else{const d=me(a),y=Se(a);if(d||y){const p=()=>{if(e.f){const m=d?ne(f,a)?f[a]:u[a]:a.value;s?U(m)&&_s(m,o):U(m)?m.includes(o)||m.push(o):d?(u[a]=[o],ne(f,a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,ne(f,a)&&(f[a]=i)):y&&(a.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,Ae(p,n)):p()}}}const Ae=xc;function Gc(e){return Yc(e)}function Yc(e,t){const n=_a();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:y=Ye,insertStaticContent:p}=e,m=(h,g,j,A=null,R=null,T=null,N=!1,M=null,C=!!g.dynamicChildren)=>{if(h===g)return;h&&!St(h,g)&&(A=P(h),ge(h,R,T,!0),h=null),g.patchFlag===-2&&(C=!1,g.dynamicChildren=null);const{type:k,ref:z,shapeFlag:B}=g;switch(k){case vr:_(h,g,j,A);break;case Qe:b(h,g,j,A);break;case qn:h==null&&x(g,j,A,N);break;case je:Ee(h,g,j,A,R,T,N,M,C);break;default:B&1?L(h,g,j,A,R,T,N,M,C):B&6?Me(h,g,j,A,R,T,N,M,C):(B&64||B&128)&&k.process(h,g,j,A,R,T,N,M,C,te)}z!=null&&R&&rs(z,h&&h.ref,T,g||h,!g)},_=(h,g,j,A)=>{if(h==null)r(g.el=l(g.children),j,A);else{const R=g.el=h.el;g.children!==h.children&&c(R,g.children)}},b=(h,g,j,A)=>{h==null?r(g.el=a(g.children||""),j,A):g.el=h.el},x=(h,g,j,A)=>{[h.el,h.anchor]=p(h.children,g,j,A,h.el,h.anchor)},v=({el:h,anchor:g},j,A)=>{let R;for(;h&&h!==g;)R=d(h),r(h,j,A),h=R;r(g,j,A)},O=({el:h,anchor:g})=>{let j;for(;h&&h!==g;)j=d(h),s(h),h=j;s(g)},L=(h,g,j,A,R,T,N,M,C)=>{N=N||g.type==="svg",h==null?H(g,j,A,R,T,N,M,C):Z(h,g,R,T,N,M,C)},H=(h,g,j,A,R,T,N,M)=>{let C,k;const{type:z,props:B,shapeFlag:$,transition:K,dirs:G}=h;if(C=h.el=i(h.type,T,B&&B.is,B),$&8?u(C,h.children):$&16&&F(h.children,C,null,A,R,T&&z!=="foreignObject",N,M),G&&Tt(h,null,A,"created"),V(C,h,h.scopeId,N,A),B){for(const le in B)le!=="value"&&!Kn(le)&&o(C,le,null,B[le],T,h.children,A,R,I);"value"in B&&o(C,"value",null,B.value),(k=B.onVnodeBeforeMount)&&De(k,A,h)}G&&Tt(h,null,A,"beforeMount");const ce=(!R||R&&!R.pendingBranch)&&K&&!K.persisted;ce&&K.beforeEnter(C),r(C,g,j),((k=B&&B.onVnodeMounted)||ce||G)&&Ae(()=>{k&&De(k,A,h),ce&&K.enter(C),G&&Tt(h,null,A,"mounted")},R)},V=(h,g,j,A,R)=>{if(j&&y(h,j),A)for(let T=0;T{for(let k=C;k{const M=g.el=h.el;let{patchFlag:C,dynamicChildren:k,dirs:z}=g;C|=h.patchFlag&16;const B=h.props||ue,$=g.props||ue;let K;j&&Ct(j,!1),(K=$.onVnodeBeforeUpdate)&&De(K,j,g,h),z&&Tt(g,h,j,"beforeUpdate"),j&&Ct(j,!0);const G=R&&g.type!=="foreignObject";if(k?ee(h.dynamicChildren,k,M,j,A,G,T):N||Q(h,g,M,null,j,A,G,T,!1),C>0){if(C&16)ae(M,g,B,$,j,A,R);else if(C&2&&B.class!==$.class&&o(M,"class",null,$.class,R),C&4&&o(M,"style",B.style,$.style,R),C&8){const ce=g.dynamicProps;for(let le=0;le{K&&De(K,j,g,h),z&&Tt(g,h,j,"updated")},A)},ee=(h,g,j,A,R,T,N)=>{for(let M=0;M{if(j!==A){if(j!==ue)for(const M in j)!Kn(M)&&!(M in A)&&o(h,M,j[M],null,N,g.children,R,T,I);for(const M in A){if(Kn(M))continue;const C=A[M],k=j[M];C!==k&&M!=="value"&&o(h,M,k,C,N,g.children,R,T,I)}"value"in A&&o(h,"value",j.value,A.value)}},Ee=(h,g,j,A,R,T,N,M,C)=>{const k=g.el=h?h.el:l(""),z=g.anchor=h?h.anchor:l("");let{patchFlag:B,dynamicChildren:$,slotScopeIds:K}=g;K&&(M=M?M.concat(K):K),h==null?(r(k,j,A),r(z,j,A),F(g.children,j,z,R,T,N,M,C)):B>0&&B&64&&$&&h.dynamicChildren?(ee(h.dynamicChildren,$,j,R,T,N,M),(g.key!=null||R&&g===R.subTree)&&rl(h,g,!0)):Q(h,g,j,z,R,T,N,M,C)},Me=(h,g,j,A,R,T,N,M,C)=>{g.slotScopeIds=M,h==null?g.shapeFlag&512?R.ctx.activate(g,j,A,N,C):Te(g,j,A,R,T,N,C):bt(h,g,C)},Te=(h,g,j,A,R,T,N)=>{const M=h.component=iu(h,A,R);if(gr(h)&&(M.ctx.renderer=te),lu(M),M.asyncDep){if(R&&R.registerDep(M,fe),!h.el){const C=M.subTree=pe(Qe);b(null,C,g,j)}return}fe(M,h,g,j,R,T,N)},bt=(h,g,j)=>{const A=g.component=h.component;if(mc(h,g,j))if(A.asyncDep&&!A.asyncResolved){J(A,g,j);return}else A.next=g,ac(A.update),A.update();else g.el=h.el,A.vnode=g},fe=(h,g,j,A,R,T,N)=>{const M=()=>{if(h.isMounted){let{next:z,bu:B,u:$,parent:K,vnode:G}=h,ce=z,le;Ct(h,!1),z?(z.el=G.el,J(h,z,N)):z=G,B&&Yt(B),(le=z.props&&z.props.onVnodeBeforeUpdate)&&De(le,K,z,G),Ct(h,!0);const xe=Cr(h),Ke=h.subTree;h.subTree=xe,m(Ke,xe,f(Ke.el),P(Ke),h,R,T),z.el=xe.el,ce===null&&gc(h,xe.el),$&&Ae($,R),(le=z.props&&z.props.onVnodeUpdated)&&Ae(()=>De(le,K,z,G),R)}else{let z;const{el:B,props:$}=g,{bm:K,m:G,parent:ce}=h,le=xn(g);if(Ct(h,!1),K&&Yt(K),!le&&(z=$&&$.onVnodeBeforeMount)&&De(z,ce,g),Ct(h,!0),B&&q){const xe=()=>{h.subTree=Cr(h),q(B,h.subTree,h,R,null)};le?g.type.__asyncLoader().then(()=>!h.isUnmounted&&xe()):xe()}else{const xe=h.subTree=Cr(h);m(null,xe,j,A,h,R,T),g.el=xe.el}if(G&&Ae(G,R),!le&&(z=$&&$.onVnodeMounted)){const xe=g;Ae(()=>De(z,ce,xe),R)}(g.shapeFlag&256||ce&&xn(ce.vnode)&&ce.vnode.shapeFlag&256)&&h.a&&Ae(h.a,R),h.isMounted=!0,g=j=A=null}},C=h.effect=new Ss(M,()=>Ns(k),h.scope),k=h.update=()=>C.run();k.id=h.uid,Ct(h,!0),k()},J=(h,g,j)=>{g.component=h;const A=h.vnode.props;h.vnode=g,h.next=null,Vc(h,g.props,A,j),Wc(h,g.children,j),on(),lo(),ln()},Q=(h,g,j,A,R,T,N,M,C=!1)=>{const k=h&&h.children,z=h?h.shapeFlag:0,B=g.children,{patchFlag:$,shapeFlag:K}=g;if($>0){if($&128){Ze(k,B,j,A,R,T,N,M,C);return}else if($&256){be(k,B,j,A,R,T,N,M,C);return}}K&8?(z&16&&I(k,R,T),B!==k&&u(j,B)):z&16?K&16?Ze(k,B,j,A,R,T,N,M,C):I(k,R,T,!0):(z&8&&u(j,""),K&16&&F(B,j,A,R,T,N,M,C))},be=(h,g,j,A,R,T,N,M,C)=>{h=h||Jt,g=g||Jt;const k=h.length,z=g.length,B=Math.min(k,z);let $;for($=0;$z?I(h,R,T,!0,!1,B):F(g,j,A,R,T,N,M,C,B)},Ze=(h,g,j,A,R,T,N,M,C)=>{let k=0;const z=g.length;let B=h.length-1,$=z-1;for(;k<=B&&k<=$;){const K=h[k],G=g[k]=C?Et(g[k]):tt(g[k]);if(St(K,G))m(K,G,j,null,R,T,N,M,C);else break;k++}for(;k<=B&&k<=$;){const K=h[B],G=g[$]=C?Et(g[$]):tt(g[$]);if(St(K,G))m(K,G,j,null,R,T,N,M,C);else break;B--,$--}if(k>B){if(k<=$){const K=$+1,G=K$)for(;k<=B;)ge(h[k],R,T,!0),k++;else{const K=k,G=k,ce=new Map;for(k=G;k<=$;k++){const Le=g[k]=C?Et(g[k]):tt(g[k]);Le.key!=null&&ce.set(Le.key,k)}let le,xe=0;const Ke=$-G+1;let Vt=!1,Ys=0;const un=new Array(Ke);for(k=0;k=Ke){ge(Le,R,T,!0);continue}let et;if(Le.key!=null)et=ce.get(Le.key);else for(le=G;le<=$;le++)if(un[le-G]===0&&St(Le,g[le])){et=le;break}et===void 0?ge(Le,R,T,!0):(un[et-G]=k+1,et>=Ys?Ys=et:Vt=!0,m(Le,g[et],j,null,R,T,N,M,C),xe++)}const Qs=Vt?Qc(un):Jt;for(le=Qs.length-1,k=Ke-1;k>=0;k--){const Le=G+k,et=g[Le],Xs=Le+1{const{el:T,type:N,transition:M,children:C,shapeFlag:k}=h;if(k&6){we(h.component.subTree,g,j,A);return}if(k&128){h.suspense.move(g,j,A);return}if(k&64){N.move(h,g,j,te);return}if(N===je){r(T,g,j);for(let B=0;BM.enter(T),R);else{const{leave:B,delayLeave:$,afterLeave:K}=M,G=()=>r(T,g,j),ce=()=>{B(T,()=>{G(),K&&K()})};$?$(T,G,ce):ce()}else r(T,g,j)},ge=(h,g,j,A=!1,R=!1)=>{const{type:T,props:N,ref:M,children:C,dynamicChildren:k,shapeFlag:z,patchFlag:B,dirs:$}=h;if(M!=null&&rs(M,null,j,h,!0),z&256){g.ctx.deactivate(h);return}const K=z&1&&$,G=!xn(h);let ce;if(G&&(ce=N&&N.onVnodeBeforeUnmount)&&De(ce,g,h),z&6)S(h.component,j,A);else{if(z&128){h.suspense.unmount(j,A);return}K&&Tt(h,null,g,"beforeUnmount"),z&64?h.type.remove(h,g,j,R,te,A):k&&(T!==je||B>0&&B&64)?I(k,g,j,!1,!0):(T===je&&B&384||!R&&z&16)&&I(C,g,j),A&&Ue(h)}(G&&(ce=N&&N.onVnodeUnmounted)||K)&&Ae(()=>{ce&&De(ce,g,h),K&&Tt(h,null,g,"unmounted")},j)},Ue=h=>{const{type:g,el:j,anchor:A,transition:R}=h;if(g===je){Ie(j,A);return}if(g===qn){O(h);return}const T=()=>{s(j),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(h.shapeFlag&1&&R&&!R.persisted){const{leave:N,delayLeave:M}=R,C=()=>N(j,T);M?M(h.el,T,C):C()}else T()},Ie=(h,g)=>{let j;for(;h!==g;)j=d(h),s(h),h=j;s(g)},S=(h,g,j)=>{const{bum:A,scope:R,update:T,subTree:N,um:M}=h;A&&Yt(A),R.stop(),T&&(T.active=!1,ge(N,h,g,j)),M&&Ae(M,g),Ae(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},I=(h,g,j,A=!1,R=!1,T=0)=>{for(let N=T;Nh.shapeFlag&6?P(h.component.subTree):h.shapeFlag&128?h.suspense.next():d(h.anchor||h.el),D=(h,g,j)=>{h==null?g._vnode&&ge(g._vnode,null,null,!0):m(g._vnode||null,h,g,null,null,null,j),lo(),Li(),g._vnode=h},te={p:m,um:ge,m:we,r:Ue,mt:Te,mc:F,pc:Q,pbc:ee,n:P,o:e};let he,q;return t&&([he,q]=t(te)),{render:D,hydrate:he,createApp:Jc(D,he)}}function Ct({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function rl(e,t,n=!1){const r=e.children,s=t.children;if(U(r)&&U(s))for(let o=0;o>1,e[n[l]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Xc=e=>e.__isTeleport,je=Symbol(void 0),vr=Symbol(void 0),Qe=Symbol(void 0),qn=Symbol(void 0),bn=[];let Ge=null;function Y(e=!1){bn.push(Ge=e?null:[])}function Zc(){bn.pop(),Ge=bn[bn.length-1]||null}let Rn=1;function xo(e){Rn+=e}function sl(e){return e.dynamicChildren=Rn>0?Ge||Jt:null,Zc(),Rn>0&&Ge&&Ge.push(e),e}function ie(e,t,n,r,s,o){return sl(w(e,t,n,r,s,o,!0))}function Ht(e,t,n,r,s){return sl(pe(e,t,n,r,s,!0))}function lr(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const br="__vInternal",ol=({key:e})=>e??null,Jn=({ref:e,ref_key:t,ref_for:n})=>e!=null?me(e)||Se(e)||W(e)?{i:Be,r:e,k:t,f:!!n}:e:null;function w(e,t=null,n=null,r=0,s=null,o=e===je?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ol(t),ref:t&&Jn(t),scopeId:mr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Be};return l?(Hs(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),Rn>0&&!i&&Ge&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ge.push(a),a}const pe=eu;function eu(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===Gi)&&(e=Qe),lr(e)){const l=yt(e,t,!0);return n&&Hs(l,n),Rn>0&&!o&&Ge&&(l.shapeFlag&6?Ge[Ge.indexOf(e)]=l:Ge.push(l)),l.patchFlag|=-2,l}if(fu(e)&&(e=e.__vccOpts),t){t=tu(t);let{class:l,style:a}=t;l&&!me(l)&&(t.class=ut(l)),de(a)&&(Si(a)&&!U(a)&&(a=Re({},a)),t.style=ws(a))}const i=me(e)?1:Hi(e)?128:Xc(e)?64:de(e)?4:W(e)?2:0;return w(e,t,n,r,s,i,o,!0)}function tu(e){return e?Si(e)||br in e?Re({},e):e:null}function yt(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,l=t?ru(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ol(l),ref:t&&t.ref?n&&s?U(s)?s.concat(Jn(t)):[s,Jn(t)]:Jn(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==je?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&yt(e.ssContent),ssFallback:e.ssFallback&&yt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function nu(e=" ",t=0){return pe(vr,null,e,t)}function wr(e,t){const n=pe(qn,null,e);return n.staticCount=t,n}function wn(e="",t=!1){return t?(Y(),Ht(Qe,null,e)):pe(Qe,null,e)}function tt(e){return e==null||typeof e=="boolean"?pe(Qe):U(e)?pe(je,null,e.slice()):typeof e=="object"?Et(e):pe(vr,null,String(e))}function Et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:yt(e)}function Hs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Hs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(br in t)?t._ctx=Be:s===3&&Be&&(Be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:Be},n=32):(t=String(t),r&64?(n=16,t=[nu(t)]):n=8);e.children=t,e.shapeFlag|=n}function ru(...e){const t={};for(let n=0;nye||Be,tn=e=>{ye=e,e.scope.on()},zt=()=>{ye&&ye.scope.off(),ye=null};function ll(e){return e.vnode.shapeFlag&4}let kn=!1;function lu(e,t=!1){kn=t;const{props:n,children:r}=e.vnode,s=ll(e);$c(e,n,s,t),Kc(e,r);const o=s?au(e,t):void 0;return kn=!1,o}function au(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ri(new Proxy(e.ctx,Lc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?uu(e):null;tn(e),on();const o=kt(r,e,0,[e.props,s]);if(ln(),zt(),hi(o)){if(o.then(zt,zt),t)return o.then(i=>{vo(e,i,t)}).catch(i=>{pr(i,e,0)});e.asyncDep=o}else vo(e,o,t)}else al(e,t)}function vo(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=Ci(t)),al(e,n)}let bo;function al(e,t,n){const r=e.type;if(!e.render){if(!t&&bo&&!r.render){const s=r.template||Fs(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=Re(Re({isCustomElement:o,delimiters:l},i),a);r.render=bo(s,c)}}e.render=r.render||Ye}tn(e),on(),Fc(e),ln(),zt()}function cu(e){return new Proxy(e.attrs,{get(t,n){return Ne(e,"get","$attrs"),t[n]}})}function uu(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=cu(e))},slots:e.slots,emit:e.emit,expose:t}}function jr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ci(Ri(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vn)return vn[n](e)},has(t,n){return n in t||n in vn}}))}function ss(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function fu(e){return W(e)&&"__vccOpts"in e}const $e=(e,t)=>oc(e,t,kn);function cl(e,t,n){const r=arguments.length;return r===2?de(t)&&!U(t)?lr(t)?pe(e,null,[t]):pe(e,t):pe(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&lr(n)&&(n=[n]),pe(e,t,n))}const du=Symbol(""),hu=()=>dt(du),pu="3.2.47",yu="http://www.w3.org/2000/svg",Lt=typeof document<"u"?document:null,wo=Lt&&Lt.createElement("template"),mu={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?Lt.createElementNS(yu,e):Lt.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Lt.createTextNode(e),createComment:e=>Lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{wo.innerHTML=r?`${e}`:e;const l=wo.content;if(r){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]}};function gu(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function xu(e,t,n){const r=e.style,s=me(n);if(n&&!s){if(t&&!me(t))for(const o in t)n[o]==null&&os(r,o,"");for(const o in n)os(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const jo=/\s*!important$/;function os(e,t,n){if(U(n))n.forEach(r=>os(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=vu(e,t);jo.test(n)?e.setProperty($t(r),n.replace(jo,""),"important"):e[r]=n}}const _o=["Webkit","Moz","ms"],Fr={};function vu(e,t){const n=Fr[t];if(n)return n;let r=ot(t);if(r!=="filter"&&r in e)return Fr[t]=r;r=dr(r);for(let s=0;s<_o.length;s++){const o=_o[s]+r;if(o in e)return Fr[t]=o}return t}const Eo="http://www.w3.org/1999/xlink";function bu(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Eo,t.slice(6,t.length)):e.setAttributeNS(Eo,t,n);else{const o=ya(t);n==null||o&&!ui(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function wu(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const a=n??"";(e.value!==a||e.tagName==="OPTION")&&(e.value=a),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=ui(n):n==null&&a==="string"?(n="",l=!0):a==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Kt(e,t,n,r){e.addEventListener(t,n,r)}function ju(e,t,n,r){e.removeEventListener(t,n,r)}function _u(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[l,a]=Eu(t);if(r){const c=o[t]=Su(r,s);Kt(e,l,c,a)}else i&&(ju(e,l,i,a),o[t]=void 0)}}const Ao=/(?:Once|Passive|Capture)$/;function Eu(e){let t;if(Ao.test(e)){t={};let r;for(;r=e.match(Ao);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$t(e.slice(2)),t]}let Br=0;const Au=Promise.resolve(),Ou=()=>Br||(Au.then(()=>Br=0),Br=Date.now());function Su(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ve(Ru(r,n.value),t,5,[r])};return n.value=e,n.attached=Ou(),n}function Ru(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Oo=/^on[a-z]/,ku=(e,t,n,r,s=!1,o,i,l,a)=>{t==="class"?gu(e,r,s):t==="style"?xu(e,n,r):ur(t)?js(t)||_u(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Mu(e,t,r,s))?wu(e,t,r,o,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),bu(e,t,r,s))};function Mu(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Oo.test(t)&&W(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Oo.test(t)&&me(n)?!1:t in e}const Tu={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};jc.props;const So=e=>{const t=e.props["onUpdate:modelValue"]||!1;return U(t)?n=>Yt(t,n):t};function Cu(e){e.target.composing=!0}function Ro(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pe={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=So(s);const o=r||s.props&&s.props.type==="number";Kt(e,t?"change":"input",i=>{if(i.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Wr(l)),e._assign(l)}),n&&Kt(e,"change",()=>{e.value=e.value.trim()}),t||(Kt(e,"compositionstart",Cu),Kt(e,"compositionend",Ro),Kt(e,"change",Ro))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=So(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Wr(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},Pu=["ctrl","shift","alt","meta"],Nu={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)=>Pu.some(n=>e[`${n}Key`]&&!t.includes(n))},Iu=(e,t)=>(n,...r)=>{for(let s=0;sn=>{if(!("key"in n))return;const r=$t(n.key);if(t.some(s=>s===r||Lu[s]===r))return e(n)},Bu=Re({patchProp:ku},mu);let ko;function Hu(){return ko||(ko=Gc(Bu))}const Du=(...e)=>{const t=Hu().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=zu(r);if(!s)return;const o=t._component;!W(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function zu(e){return me(e)?document.querySelector(e):e}/*! * vue-router v4.1.6 * (c) 2022 Eduardo San Martin Morote * @license MIT - */const Wt=typeof window<"u";function $u(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const oe=Object.assign;function Dr(e,t){const n={};for(const r in t){const s=t[r];n[r]=Xe(s)?s.map(e):e(s)}return n}const jn=()=>{},Xe=Array.isArray,Vu=/\/$/,Uu=e=>e.replace(Vu,"");function zr(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Ju(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Ku(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&nn(t.matched[r],n.matched[s])&&ul(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ul(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qu(e[n],t[n]))return!1;return!0}function qu(e,t){return Xe(e)?To(e,t):Xe(t)?To(t,e):e===t}function To(e,t){return Xe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ju(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Mn;(function(e){e.pop="pop",e.push="push"})(Mn||(Mn={}));var _n;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_n||(_n={}));function Gu(e){if(!e)if(Wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uu(e)}const Yu=/^[^#]+#/;function Qu(e,t){return e.replace(Yu,"#")+t}function Xu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Er=()=>({left:window.pageXOffset,top:window.pageYOffset});function Zu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Xu(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Co(e,t){return(history.state?history.state.position-t:-1)+e}const ls=new Map;function ef(e,t){ls.set(e,t)}function tf(e){const t=ls.get(e);return ls.delete(e),t}let nf=()=>location.protocol+"//"+location.host;function fl(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),Mo(a,"")}return Mo(n,e)+r+s}function rf(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const y=fl(e,location),p=n.value,m=t.value;let _=0;if(d){if(n.value=y,t.value=d,i&&i===p){i=null;return}_=m?d.position-m.position:0}else r(y);s.forEach(b=>{b(n.value,p,{delta:_,type:Mn.pop,direction:_?_>0?_n.forward:_n.back:_n.unknown})})};function a(){i=n.value}function c(d){s.push(d);const y=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return o.push(y),y}function u(){const{history:d}=window;d.state&&d.replaceState(oe({},d.state,{scroll:Er()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:c,destroy:f}}function Po(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Er():null}}function sf(e){const{history:t,location:n}=window,r={value:fl(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:nf()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(y){console.error(y),n[u?"replace":"assign"](d)}}function i(a,c){const u=oe({},t.state,Po(s.value.back,a,s.value.forward,!0),c,{position:s.value.position});o(a,u,!0),r.value=a}function l(a,c){const u=oe({},s.value,t.state,{forward:a,scroll:Er()});o(u.current,u,!0);const f=oe({},Po(r.value,a,null),{position:u.position+1},c);o(a,f,!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function of(e){e=Gu(e);const t=sf(e),n=rf(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=oe({location:"",base:e,go:r,createHref:Qu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function lf(e){return typeof e=="string"||e&&typeof e=="object"}function dl(e){return typeof e=="string"||typeof e=="symbol"}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hl=Symbol("");var No;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(No||(No={}));function rn(e,t){return oe(new Error,{type:e,[hl]:!0},t)}function lt(e,t){return e instanceof Error&&hl in e&&(t==null||!!(e.type&t))}const Io="[^/]+?",af={sensitive:!1,strict:!1,start:!0,end:!0},cf=/[.+*?^${}()[\]/\\]/g;function uf(e,t){const n=oe({},af,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function df(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const hf={type:0,value:""},pf=/[a-zA-Z0-9_]/;function yf(e){if(!e)return[[]];if(e==="/")return[[hf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${c}": ${y}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(x)}:jn}function i(u){if(dl(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!pl(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Bo(u)&&r.set(u.record.name,u)}function c(u,f){let d,y={},p,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw rn(1,{location:u});m=d.record.name,y=oe(Fo(f.params,d.keys.filter(x=>!x.optional).map(x=>x.name)),u.params&&Fo(u.params,d.keys.map(x=>x.name))),p=d.stringify(y)}else if("path"in u)p=u.path,d=n.find(x=>x.re.test(p)),d&&(y=d.parse(p),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(x=>x.re.test(f.path)),!d)throw rn(1,{location:u,currentLocation:f});m=d.record.name,y=oe({},f.params,u.params),p=d.stringify(y)}const _=[];let b=d;for(;b;)_.unshift(b.record),b=b.parent;return{name:m,path:p,params:y,matched:_,meta:bf(_)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:s}}function Fo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:vf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function vf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Bo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bf(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function Ho(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pl(e,t){return t.children.some(n=>n===e||pl(e,n))}const yl=/#/g,wf=/&/g,jf=/\//g,_f=/=/g,Ef=/\?/g,ml=/\+/g,Af=/%5B/g,Of=/%5D/g,gl=/%5E/g,Sf=/%60/g,xl=/%7B/g,Rf=/%7C/g,vl=/%7D/g,kf=/%20/g;function Ds(e){return encodeURI(""+e).replace(Rf,"|").replace(Af,"[").replace(Of,"]")}function Mf(e){return Ds(e).replace(xl,"{").replace(vl,"}").replace(gl,"^")}function as(e){return Ds(e).replace(ml,"%2B").replace(kf,"+").replace(yl,"%23").replace(wf,"%26").replace(Sf,"`").replace(xl,"{").replace(vl,"}").replace(gl,"^")}function Tf(e){return as(e).replace(_f,"%3D")}function Cf(e){return Ds(e).replace(yl,"%23").replace(Ef,"%3F")}function Pf(e){return e==null?"":Cf(e).replace(jf,"%2F")}function ar(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Nf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&as(o)):[r&&as(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function If(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Lf=Symbol(""),zo=Symbol(""),zs=Symbol(""),bl=Symbol(""),cs=Symbol("");function fn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function At(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const a=f=>{f===!1?l(rn(4,{from:n,to:t})):f instanceof Error?l(f):lf(f)?l(rn(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function $r(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(Ff(l)){const c=(l.__vccOpts||l)[t];c&&s.push(At(c,n,r,o,i))}else{let a=l();s.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=$u(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&At(d,n,r,o,i)()}))}}return s}function Ff(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $o(e){const t=dt(zs),n=dt(bl),r=$e(()=>t.resolve(Fe(e.to))),s=$e(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(nn.bind(null,u));if(d>-1)return d;const y=Vo(a[c-2]);return c>1&&Vo(u)===y&&f[f.length-1].path!==y?f.findIndex(nn.bind(null,a[c-2])):d}),o=$e(()=>s.value>-1&&Df(n.params,r.value.params)),i=$e(()=>s.value>-1&&s.value===n.matched.length-1&&ul(n.params,r.value.params));function l(a={}){return Hf(a)?t[Fe(e.replace)?"replace":"push"](Fe(e.to)).catch(jn):Promise.resolve()}return{route:r,href:$e(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Bf=Ui({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"}},useLink:$o,setup(e,{slots:t}){const n=Pn($o(e)),{options:r}=dt(zs),s=$e(()=>({[Uo(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Uo(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:cl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Ft=Bf;function Hf(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 Df(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Xe(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Vo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Uo=(e,t,n)=>e??t??n,zf=Ui({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(cs),s=$e(()=>e.route||r.value),o=dt(zo,0),i=$e(()=>{let c=Fe(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=$e(()=>s.value.matched[i.value]);Wn(zo,$e(()=>i.value+1)),Wn(Lf,l),Wn(cs,s);const a=ec();return gn(()=>[a.value,l.value,e.name],([c,u,f],[d,y,p])=>{u&&(u.instances[f]=c,y&&y!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=y.leaveGuards),u.updateGuards.size||(u.updateGuards=y.updateGuards))),c&&u&&(!y||!nn(u,y)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return Ko(n.default,{Component:d,route:c});const y=f.props[u],p=y?y===!0?c.params:typeof y=="function"?y(c):y:null,_=cl(d,oe({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return Ko(n.default,{Component:_,route:c})||_}}});function Ko(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wl=zf;function $f(e){const t=gf(e.routes,e),n=e.parseQuery||Nf,r=e.stringifyQuery||Do,s=e.history,o=fn(),i=fn(),l=fn(),a=tc(jt);let c=jt;Wt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dr.bind(null,S=>""+S),f=Dr.bind(null,Pf),d=Dr.bind(null,ar);function y(S,I){let P,D;return dl(S)?(P=t.getRecordMatcher(S),D=I):D=S,t.addRoute(D,P)}function p(S){const I=t.getRecordMatcher(S);I&&t.removeRoute(I)}function m(){return t.getRoutes().map(S=>S.record)}function _(S){return!!t.getRecordMatcher(S)}function b(S,I){if(I=oe({},I||a.value),typeof S=="string"){const h=zr(n,S,I.path),g=t.resolve({path:h.path},I),j=s.createHref(h.fullPath);return oe(h,g,{params:d(g.params),hash:ar(h.hash),redirectedFrom:void 0,href:j})}let P;if("path"in S)P=oe({},S,{path:zr(n,S.path,I.path).path});else{const h=oe({},S.params);for(const g in h)h[g]==null&&delete h[g];P=oe({},S,{params:f(S.params)}),I.params=f(I.params)}const D=t.resolve(P,I),te=S.hash||"";D.params=u(d(D.params));const he=Ku(r,oe({},S,{hash:Mf(te),path:D.path})),q=s.createHref(he);return oe({fullPath:he,hash:te,query:r===Do?If(S.query):S.query||{}},D,{redirectedFrom:void 0,href:q})}function x(S){return typeof S=="string"?zr(n,S,a.value.path):oe({},S)}function v(S,I){if(c!==S)return rn(8,{from:I,to:S})}function O(S){return V(S)}function L(S){return O(oe(x(S),{replace:!0}))}function H(S){const I=S.matched[S.matched.length-1];if(I&&I.redirect){const{redirect:P}=I;let D=typeof P=="function"?P(S):P;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=x(D):{path:D},D.params={}),oe({query:S.query,hash:S.hash,params:"path"in D?{}:S.params},D)}}function V(S,I){const P=c=b(S),D=a.value,te=S.state,he=S.force,q=S.replace===!0,h=H(P);if(h)return V(oe(x(h),{state:typeof h=="object"?oe({},te,h.state):te,force:he,replace:q}),I||P);const g=P;g.redirectedFrom=I;let j;return!he&&Wu(r,D,P)&&(j=rn(16,{to:g,from:D}),Ze(D,D,!0,!1)),(j?Promise.resolve(j):Z(g,D)).catch(A=>lt(A)?lt(A,2)?A:be(A):J(A,g,D)).then(A=>{if(A){if(lt(A,2))return V(oe({replace:q},x(A.to),{state:typeof A.to=="object"?oe({},te,A.to.state):te,force:he}),I||g)}else A=ae(g,D,!0,q,te);return ee(g,D,A),A})}function F(S,I){const P=v(S,I);return P?Promise.reject(P):Promise.resolve()}function Z(S,I){let P;const[D,te,he]=Vf(S,I);P=$r(D.reverse(),"beforeRouteLeave",S,I);for(const h of D)h.leaveGuards.forEach(g=>{P.push(At(g,S,I))});const q=F.bind(null,S,I);return P.push(q),Ut(P).then(()=>{P=[];for(const h of o.list())P.push(At(h,S,I));return P.push(q),Ut(P)}).then(()=>{P=$r(te,"beforeRouteUpdate",S,I);for(const h of te)h.updateGuards.forEach(g=>{P.push(At(g,S,I))});return P.push(q),Ut(P)}).then(()=>{P=[];for(const h of S.matched)if(h.beforeEnter&&!I.matched.includes(h))if(Xe(h.beforeEnter))for(const g of h.beforeEnter)P.push(At(g,S,I));else P.push(At(h.beforeEnter,S,I));return P.push(q),Ut(P)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),P=$r(he,"beforeRouteEnter",S,I),P.push(q),Ut(P))).then(()=>{P=[];for(const h of i.list())P.push(At(h,S,I));return P.push(q),Ut(P)}).catch(h=>lt(h,8)?h:Promise.reject(h))}function ee(S,I,P){for(const D of l.list())D(S,I,P)}function ae(S,I,P,D,te){const he=v(S,I);if(he)return he;const q=I===jt,h=Wt?history.state:{};P&&(D||q?s.replace(S.fullPath,oe({scroll:q&&h&&h.scroll},te)):s.push(S.fullPath,te)),a.value=S,Ze(S,I,P,q),be()}let Ee;function Me(){Ee||(Ee=s.listen((S,I,P)=>{if(!Ie.listening)return;const D=b(S),te=H(D);if(te){V(oe(te,{replace:!0}),D).catch(jn);return}c=D;const he=a.value;Wt&&ef(Co(he.fullPath,P.delta),Er()),Z(D,he).catch(q=>lt(q,12)?q:lt(q,2)?(V(q.to,D).then(h=>{lt(h,20)&&!P.delta&&P.type===Mn.pop&&s.go(-1,!1)}).catch(jn),Promise.reject()):(P.delta&&s.go(-P.delta,!1),J(q,D,he))).then(q=>{q=q||ae(D,he,!1),q&&(P.delta&&!lt(q,8)?s.go(-P.delta,!1):P.type===Mn.pop&<(q,20)&&s.go(-1,!1)),ee(D,he,q)}).catch(jn)}))}let Te=fn(),bt=fn(),fe;function J(S,I,P){be(S);const D=bt.list();return D.length?D.forEach(te=>te(S,I,P)):console.error(S),Promise.reject(S)}function Q(){return fe&&a.value!==jt?Promise.resolve():new Promise((S,I)=>{Te.add([S,I])})}function be(S){return fe||(fe=!S,Me(),Te.list().forEach(([I,P])=>S?P(S):I()),Te.reset()),S}function Ze(S,I,P,D){const{scrollBehavior:te}=e;if(!Wt||!te)return Promise.resolve();const he=!P&&tf(Co(S.fullPath,0))||(D||!P)&&history.state&&history.state.scroll||null;return ft().then(()=>te(S,I,he)).then(q=>q&&Zu(q)).catch(q=>J(q,S,I))}const we=S=>s.go(S);let ge;const Ue=new Set,Ie={currentRoute:a,listening:!0,addRoute:y,removeRoute:p,hasRoute:_,getRoutes:m,resolve:b,options:e,push:O,replace:L,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:bt.add,isReady:Q,install(S){const I=this;S.component("RouterLink",Ft),S.component("RouterView",wl),S.config.globalProperties.$router=I,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Fe(a)}),Wt&&!ge&&a.value===jt&&(ge=!0,O(s.location).catch(te=>{}));const P={};for(const te in jt)P[te]=$e(()=>a.value[te]);S.provide(zs,I),S.provide(bl,Pn(P)),S.provide(cs,a);const D=S.unmount;Ue.add(S),S.unmount=function(){Ue.delete(S),Ue.size<1&&(c=jt,Ee&&Ee(),Ee=null,a.value=jt,ge=!1,fe=!1),D()}}};return Ie}function Ut(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Vf(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;inn(c,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>nn(c,a))||s.push(a))}return[n,r,s]}const jl="/assets/logo-9d653710.svg";var Uf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var us={},Wf={get exports(){return us},set exports(e){us=e}};(function(e,t){(function(r,s){e.exports=s()})(typeof self<"u"?self:Uf,function(){return function(n){var r={};function s(o){if(r[o])return r[o].exports;var i=r[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,s),i.l=!0,i.exports}return s.m=n,s.c=r,s.d=function(o,i,l){s.o(o,i)||Object.defineProperty(o,i,{configurable:!1,enumerable:!0,get:l})},s.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},s.n=function(o){var i=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(i,"a",i),i},s.o=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)},s.p="",s(s.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,s){var o,i;/*! + */const Wt=typeof window<"u";function $u(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const oe=Object.assign;function Hr(e,t){const n={};for(const r in t){const s=t[r];n[r]=Xe(s)?s.map(e):e(s)}return n}const jn=()=>{},Xe=Array.isArray,Vu=/\/$/,Uu=e=>e.replace(Vu,"");function Dr(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Ju(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Ku(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&nn(t.matched[r],n.matched[s])&&ul(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ul(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qu(e[n],t[n]))return!1;return!0}function qu(e,t){return Xe(e)?To(e,t):Xe(t)?To(t,e):e===t}function To(e,t){return Xe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ju(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Mn;(function(e){e.pop="pop",e.push="push"})(Mn||(Mn={}));var _n;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_n||(_n={}));function Gu(e){if(!e)if(Wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uu(e)}const Yu=/^[^#]+#/;function Qu(e,t){return e.replace(Yu,"#")+t}function Xu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _r=()=>({left:window.pageXOffset,top:window.pageYOffset});function Zu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Xu(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Co(e,t){return(history.state?history.state.position-t:-1)+e}const is=new Map;function ef(e,t){is.set(e,t)}function tf(e){const t=is.get(e);return is.delete(e),t}let nf=()=>location.protocol+"//"+location.host;function fl(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),Mo(a,"")}return Mo(n,e)+r+s}function rf(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const y=fl(e,location),p=n.value,m=t.value;let _=0;if(d){if(n.value=y,t.value=d,i&&i===p){i=null;return}_=m?d.position-m.position:0}else r(y);s.forEach(b=>{b(n.value,p,{delta:_,type:Mn.pop,direction:_?_>0?_n.forward:_n.back:_n.unknown})})};function a(){i=n.value}function c(d){s.push(d);const y=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return o.push(y),y}function u(){const{history:d}=window;d.state&&d.replaceState(oe({},d.state,{scroll:_r()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:c,destroy:f}}function Po(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?_r():null}}function sf(e){const{history:t,location:n}=window,r={value:fl(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:nf()+e+a;try{t[u?"replaceState":"pushState"](c,"",d),s.value=c}catch(y){console.error(y),n[u?"replace":"assign"](d)}}function i(a,c){const u=oe({},t.state,Po(s.value.back,a,s.value.forward,!0),c,{position:s.value.position});o(a,u,!0),r.value=a}function l(a,c){const u=oe({},s.value,t.state,{forward:a,scroll:_r()});o(u.current,u,!0);const f=oe({},Po(r.value,a,null),{position:u.position+1},c);o(a,f,!1),r.value=a}return{location:r,state:s,push:l,replace:i}}function of(e){e=Gu(e);const t=sf(e),n=rf(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=oe({location:"",base:e,go:r,createHref:Qu.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function lf(e){return typeof e=="string"||e&&typeof e=="object"}function dl(e){return typeof e=="string"||typeof e=="symbol"}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},hl=Symbol("");var No;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(No||(No={}));function rn(e,t){return oe(new Error,{type:e,[hl]:!0},t)}function lt(e,t){return e instanceof Error&&hl in e&&(t==null||!!(e.type&t))}const Io="[^/]+?",af={sensitive:!1,strict:!1,start:!0,end:!0},cf=/[.+*?^${}()[\]/\\]/g;function uf(e,t){const n=oe({},af,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function df(e,t){let n=0;const r=e.score,s=t.score;for(;n0&&t[t.length-1]<0}const hf={type:0,value:""},pf=/[a-zA-Z0-9_]/;function yf(e){if(!e)return[[]];if(e==="/")return[[hf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(y){throw new Error(`ERR (${n})/"${c}": ${y}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=a}for(;l{i(x)}:jn}function i(u){if(dl(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return n}function a(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!pl(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Bo(u)&&r.set(u.record.name,u)}function c(u,f){let d,y={},p,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw rn(1,{location:u});m=d.record.name,y=oe(Fo(f.params,d.keys.filter(x=>!x.optional).map(x=>x.name)),u.params&&Fo(u.params,d.keys.map(x=>x.name))),p=d.stringify(y)}else if("path"in u)p=u.path,d=n.find(x=>x.re.test(p)),d&&(y=d.parse(p),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(x=>x.re.test(f.path)),!d)throw rn(1,{location:u,currentLocation:f});m=d.record.name,y=oe({},f.params,u.params),p=d.stringify(y)}const _=[];let b=d;for(;b;)_.unshift(b.record),b=b.parent;return{name:m,path:p,params:y,matched:_,meta:bf(_)}}return e.forEach(u=>o(u)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:s}}function Fo(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function xf(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:vf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function vf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Bo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bf(e){return e.reduce((t,n)=>oe(t,n.meta),{})}function Ho(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function pl(e,t){return t.children.some(n=>n===e||pl(e,n))}const yl=/#/g,wf=/&/g,jf=/\//g,_f=/=/g,Ef=/\?/g,ml=/\+/g,Af=/%5B/g,Of=/%5D/g,gl=/%5E/g,Sf=/%60/g,xl=/%7B/g,Rf=/%7C/g,vl=/%7D/g,kf=/%20/g;function Ds(e){return encodeURI(""+e).replace(Rf,"|").replace(Af,"[").replace(Of,"]")}function Mf(e){return Ds(e).replace(xl,"{").replace(vl,"}").replace(gl,"^")}function ls(e){return Ds(e).replace(ml,"%2B").replace(kf,"+").replace(yl,"%23").replace(wf,"%26").replace(Sf,"`").replace(xl,"{").replace(vl,"}").replace(gl,"^")}function Tf(e){return ls(e).replace(_f,"%3D")}function Cf(e){return Ds(e).replace(yl,"%23").replace(Ef,"%3F")}function Pf(e){return e==null?"":Cf(e).replace(jf,"%2F")}function ar(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Nf(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;so&&ls(o)):[r&&ls(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function If(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Xe(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Lf=Symbol(""),zo=Symbol(""),zs=Symbol(""),bl=Symbol(""),as=Symbol("");function fn(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function At(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,l)=>{const a=f=>{f===!1?l(rn(4,{from:n,to:t})):f instanceof Error?l(f):lf(f)?l(rn(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,a);let u=Promise.resolve(c);e.length<3&&(u=u.then(a)),u.catch(f=>l(f))})}function zr(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let l=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(Ff(l)){const c=(l.__vccOpts||l)[t];c&&s.push(At(c,n,r,o,i))}else{let a=l();s.push(()=>a.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const u=$u(c)?c.default:c;o.components[i]=u;const d=(u.__vccOpts||u)[t];return d&&At(d,n,r,o,i)()}))}}return s}function Ff(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $o(e){const t=dt(zs),n=dt(bl),r=$e(()=>t.resolve(Fe(e.to))),s=$e(()=>{const{matched:a}=r.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(nn.bind(null,u));if(d>-1)return d;const y=Vo(a[c-2]);return c>1&&Vo(u)===y&&f[f.length-1].path!==y?f.findIndex(nn.bind(null,a[c-2])):d}),o=$e(()=>s.value>-1&&Df(n.params,r.value.params)),i=$e(()=>s.value>-1&&s.value===n.matched.length-1&&ul(n.params,r.value.params));function l(a={}){return Hf(a)?t[Fe(e.replace)?"replace":"push"](Fe(e.to)).catch(jn):Promise.resolve()}return{route:r,href:$e(()=>r.value.href),isActive:o,isExactActive:i,navigate:l}}const Bf=Ui({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"}},useLink:$o,setup(e,{slots:t}){const n=Pn($o(e)),{options:r}=dt(zs),s=$e(()=>({[Uo(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Uo(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:cl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),Ft=Bf;function Hf(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 Df(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Xe(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Vo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Uo=(e,t,n)=>e??t??n,zf=Ui({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=dt(as),s=$e(()=>e.route||r.value),o=dt(zo,0),i=$e(()=>{let c=Fe(o);const{matched:u}=s.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=$e(()=>s.value.matched[i.value]);Wn(zo,$e(()=>i.value+1)),Wn(Lf,l),Wn(as,s);const a=ec();return gn(()=>[a.value,l.value,e.name],([c,u,f],[d,y,p])=>{u&&(u.instances[f]=c,y&&y!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=y.leaveGuards),u.updateGuards.size||(u.updateGuards=y.updateGuards))),c&&u&&(!y||!nn(u,y)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=s.value,u=e.name,f=l.value,d=f&&f.components[u];if(!d)return Ko(n.default,{Component:d,route:c});const y=f.props[u],p=y?y===!0?c.params:typeof y=="function"?y(c):y:null,_=cl(d,oe({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return Ko(n.default,{Component:_,route:c})||_}}});function Ko(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const wl=zf;function $f(e){const t=gf(e.routes,e),n=e.parseQuery||Nf,r=e.stringifyQuery||Do,s=e.history,o=fn(),i=fn(),l=fn(),a=tc(jt);let c=jt;Wt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Hr.bind(null,S=>""+S),f=Hr.bind(null,Pf),d=Hr.bind(null,ar);function y(S,I){let P,D;return dl(S)?(P=t.getRecordMatcher(S),D=I):D=S,t.addRoute(D,P)}function p(S){const I=t.getRecordMatcher(S);I&&t.removeRoute(I)}function m(){return t.getRoutes().map(S=>S.record)}function _(S){return!!t.getRecordMatcher(S)}function b(S,I){if(I=oe({},I||a.value),typeof S=="string"){const h=Dr(n,S,I.path),g=t.resolve({path:h.path},I),j=s.createHref(h.fullPath);return oe(h,g,{params:d(g.params),hash:ar(h.hash),redirectedFrom:void 0,href:j})}let P;if("path"in S)P=oe({},S,{path:Dr(n,S.path,I.path).path});else{const h=oe({},S.params);for(const g in h)h[g]==null&&delete h[g];P=oe({},S,{params:f(S.params)}),I.params=f(I.params)}const D=t.resolve(P,I),te=S.hash||"";D.params=u(d(D.params));const he=Ku(r,oe({},S,{hash:Mf(te),path:D.path})),q=s.createHref(he);return oe({fullPath:he,hash:te,query:r===Do?If(S.query):S.query||{}},D,{redirectedFrom:void 0,href:q})}function x(S){return typeof S=="string"?Dr(n,S,a.value.path):oe({},S)}function v(S,I){if(c!==S)return rn(8,{from:I,to:S})}function O(S){return V(S)}function L(S){return O(oe(x(S),{replace:!0}))}function H(S){const I=S.matched[S.matched.length-1];if(I&&I.redirect){const{redirect:P}=I;let D=typeof P=="function"?P(S):P;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=x(D):{path:D},D.params={}),oe({query:S.query,hash:S.hash,params:"path"in D?{}:S.params},D)}}function V(S,I){const P=c=b(S),D=a.value,te=S.state,he=S.force,q=S.replace===!0,h=H(P);if(h)return V(oe(x(h),{state:typeof h=="object"?oe({},te,h.state):te,force:he,replace:q}),I||P);const g=P;g.redirectedFrom=I;let j;return!he&&Wu(r,D,P)&&(j=rn(16,{to:g,from:D}),Ze(D,D,!0,!1)),(j?Promise.resolve(j):Z(g,D)).catch(A=>lt(A)?lt(A,2)?A:be(A):J(A,g,D)).then(A=>{if(A){if(lt(A,2))return V(oe({replace:q},x(A.to),{state:typeof A.to=="object"?oe({},te,A.to.state):te,force:he}),I||g)}else A=ae(g,D,!0,q,te);return ee(g,D,A),A})}function F(S,I){const P=v(S,I);return P?Promise.reject(P):Promise.resolve()}function Z(S,I){let P;const[D,te,he]=Vf(S,I);P=zr(D.reverse(),"beforeRouteLeave",S,I);for(const h of D)h.leaveGuards.forEach(g=>{P.push(At(g,S,I))});const q=F.bind(null,S,I);return P.push(q),Ut(P).then(()=>{P=[];for(const h of o.list())P.push(At(h,S,I));return P.push(q),Ut(P)}).then(()=>{P=zr(te,"beforeRouteUpdate",S,I);for(const h of te)h.updateGuards.forEach(g=>{P.push(At(g,S,I))});return P.push(q),Ut(P)}).then(()=>{P=[];for(const h of S.matched)if(h.beforeEnter&&!I.matched.includes(h))if(Xe(h.beforeEnter))for(const g of h.beforeEnter)P.push(At(g,S,I));else P.push(At(h.beforeEnter,S,I));return P.push(q),Ut(P)}).then(()=>(S.matched.forEach(h=>h.enterCallbacks={}),P=zr(he,"beforeRouteEnter",S,I),P.push(q),Ut(P))).then(()=>{P=[];for(const h of i.list())P.push(At(h,S,I));return P.push(q),Ut(P)}).catch(h=>lt(h,8)?h:Promise.reject(h))}function ee(S,I,P){for(const D of l.list())D(S,I,P)}function ae(S,I,P,D,te){const he=v(S,I);if(he)return he;const q=I===jt,h=Wt?history.state:{};P&&(D||q?s.replace(S.fullPath,oe({scroll:q&&h&&h.scroll},te)):s.push(S.fullPath,te)),a.value=S,Ze(S,I,P,q),be()}let Ee;function Me(){Ee||(Ee=s.listen((S,I,P)=>{if(!Ie.listening)return;const D=b(S),te=H(D);if(te){V(oe(te,{replace:!0}),D).catch(jn);return}c=D;const he=a.value;Wt&&ef(Co(he.fullPath,P.delta),_r()),Z(D,he).catch(q=>lt(q,12)?q:lt(q,2)?(V(q.to,D).then(h=>{lt(h,20)&&!P.delta&&P.type===Mn.pop&&s.go(-1,!1)}).catch(jn),Promise.reject()):(P.delta&&s.go(-P.delta,!1),J(q,D,he))).then(q=>{q=q||ae(D,he,!1),q&&(P.delta&&!lt(q,8)?s.go(-P.delta,!1):P.type===Mn.pop&<(q,20)&&s.go(-1,!1)),ee(D,he,q)}).catch(jn)}))}let Te=fn(),bt=fn(),fe;function J(S,I,P){be(S);const D=bt.list();return D.length?D.forEach(te=>te(S,I,P)):console.error(S),Promise.reject(S)}function Q(){return fe&&a.value!==jt?Promise.resolve():new Promise((S,I)=>{Te.add([S,I])})}function be(S){return fe||(fe=!S,Me(),Te.list().forEach(([I,P])=>S?P(S):I()),Te.reset()),S}function Ze(S,I,P,D){const{scrollBehavior:te}=e;if(!Wt||!te)return Promise.resolve();const he=!P&&tf(Co(S.fullPath,0))||(D||!P)&&history.state&&history.state.scroll||null;return ft().then(()=>te(S,I,he)).then(q=>q&&Zu(q)).catch(q=>J(q,S,I))}const we=S=>s.go(S);let ge;const Ue=new Set,Ie={currentRoute:a,listening:!0,addRoute:y,removeRoute:p,hasRoute:_,getRoutes:m,resolve:b,options:e,push:O,replace:L,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:bt.add,isReady:Q,install(S){const I=this;S.component("RouterLink",Ft),S.component("RouterView",wl),S.config.globalProperties.$router=I,Object.defineProperty(S.config.globalProperties,"$route",{enumerable:!0,get:()=>Fe(a)}),Wt&&!ge&&a.value===jt&&(ge=!0,O(s.location).catch(te=>{}));const P={};for(const te in jt)P[te]=$e(()=>a.value[te]);S.provide(zs,I),S.provide(bl,Pn(P)),S.provide(as,a);const D=S.unmount;Ue.add(S),S.unmount=function(){Ue.delete(S),Ue.size<1&&(c=jt,Ee&&Ee(),Ee=null,a.value=jt,ge=!1,fe=!1),D()}}};return Ie}function Ut(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Vf(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;inn(c,l))?r.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>nn(c,a))||s.push(a))}return[n,r,s]}const jl="/assets/logo-9d653710.svg";var Uf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Kf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var cs={},Wf={get exports(){return cs},set exports(e){cs=e}};(function(e,t){(function(r,s){e.exports=s()})(typeof self<"u"?self:Uf,function(){return function(n){var r={};function s(o){if(r[o])return r[o].exports;var i=r[o]={i:o,l:!1,exports:{}};return n[o].call(i.exports,i,i.exports,s),i.l=!0,i.exports}return s.m=n,s.c=r,s.d=function(o,i,l){s.o(o,i)||Object.defineProperty(o,i,{configurable:!1,enumerable:!0,get:l})},s.r=function(o){Object.defineProperty(o,"__esModule",{value:!0})},s.n=function(o){var i=o&&o.__esModule?function(){return o.default}:function(){return o};return s.d(i,"a",i),i},s.o=function(o,i){return Object.prototype.hasOwnProperty.call(o,i)},s.p="",s(s.s=0)}({"./dist/icons.json":function(n){n.exports={activity:'',airplay:'',"alert-circle":'',"alert-octagon":'',"alert-triangle":'',"align-center":'',"align-justify":'',"align-left":'',"align-right":'',anchor:'',aperture:'',archive:'',"arrow-down-circle":'',"arrow-down-left":'',"arrow-down-right":'',"arrow-down":'',"arrow-left-circle":'',"arrow-left":'',"arrow-right-circle":'',"arrow-right":'',"arrow-up-circle":'',"arrow-up-left":'',"arrow-up-right":'',"arrow-up":'',"at-sign":'',award:'',"bar-chart-2":'',"bar-chart":'',"battery-charging":'',battery:'',"bell-off":'',bell:'',bluetooth:'',bold:'',"book-open":'',book:'',bookmark:'',box:'',briefcase:'',calendar:'',"camera-off":'',camera:'',cast:'',"check-circle":'',"check-square":'',check:'',"chevron-down":'',"chevron-left":'',"chevron-right":'',"chevron-up":'',"chevrons-down":'',"chevrons-left":'',"chevrons-right":'',"chevrons-up":'',chrome:'',circle:'',clipboard:'',clock:'',"cloud-drizzle":'',"cloud-lightning":'',"cloud-off":'',"cloud-rain":'',"cloud-snow":'',cloud:'',code:'',codepen:'',codesandbox:'',coffee:'',columns:'',command:'',compass:'',copy:'',"corner-down-left":'',"corner-down-right":'',"corner-left-down":'',"corner-left-up":'',"corner-right-down":'',"corner-right-up":'',"corner-up-left":'',"corner-up-right":'',cpu:'',"credit-card":'',crop:'',crosshair:'',database:'',delete:'',disc:'',"divide-circle":'',"divide-square":'',divide:'',"dollar-sign":'',"download-cloud":'',download:'',dribbble:'',droplet:'',"edit-2":'',"edit-3":'',edit:'',"external-link":'',"eye-off":'',eye:'',facebook:'',"fast-forward":'',feather:'',figma:'',"file-minus":'',"file-plus":'',"file-text":'',file:'',film:'',filter:'',flag:'',"folder-minus":'',"folder-plus":'',folder:'',framer:'',frown:'',gift:'',"git-branch":'',"git-commit":'',"git-merge":'',"git-pull-request":'',github:'',gitlab:'',globe:'',grid:'',"hard-drive":'',hash:'',headphones:'',heart:'',"help-circle":'',hexagon:'',home:'',image:'',inbox:'',info:'',instagram:'',italic:'',key:'',layers:'',layout:'',"life-buoy":'',"link-2":'',link:'',linkedin:'',list:'',loader:'',lock:'',"log-in":'',"log-out":'',mail:'',"map-pin":'',map:'',"maximize-2":'',maximize:'',meh:'',menu:'',"message-circle":'',"message-square":'',"mic-off":'',mic:'',"minimize-2":'',minimize:'',"minus-circle":'',"minus-square":'',minus:'',monitor:'',moon:'',"more-horizontal":'',"more-vertical":'',"mouse-pointer":'',move:'',music:'',"navigation-2":'',navigation:'',octagon:'',package:'',paperclip:'',"pause-circle":'',pause:'',"pen-tool":'',percent:'',"phone-call":'',"phone-forwarded":'',"phone-incoming":'',"phone-missed":'',"phone-off":'',"phone-outgoing":'',phone:'',"pie-chart":'',"play-circle":'',play:'',"plus-circle":'',"plus-square":'',plus:'',pocket:'',power:'',printer:'',radio:'',"refresh-ccw":'',"refresh-cw":'',repeat:'',rewind:'',"rotate-ccw":'',"rotate-cw":'',rss:'',save:'',scissors:'',search:'',send:'',server:'',settings:'',"share-2":'',share:'',"shield-off":'',shield:'',"shopping-bag":'',"shopping-cart":'',shuffle:'',sidebar:'',"skip-back":'',"skip-forward":'',slack:'',slash:'',sliders:'',smartphone:'',smile:'',speaker:'',square:'',star:'',"stop-circle":'',sun:'',sunrise:'',sunset:'',table:'',tablet:'',tag:'',target:'',terminal:'',thermometer:'',"thumbs-down":'',"thumbs-up":'',"toggle-left":'',"toggle-right":'',tool:'',"trash-2":'',trash:'',trello:'',"trending-down":'',"trending-up":'',triangle:'',truck:'',tv:'',twitch:'',twitter:'',type:'',umbrella:'',underline:'',unlock:'',"upload-cloud":'',upload:'',"user-check":'',"user-minus":'',"user-plus":'',"user-x":'',user:'',users:'',"video-off":'',video:'',voicemail:'',"volume-1":'',"volume-2":'',"volume-x":'',volume:'',watch:'',"wifi-off":'',wifi:'',wind:'',"x-circle":'',"x-octagon":'',"x-square":'',x:'',youtube:'',"zap-off":'',zap:'',"zoom-in":'',"zoom-out":''}},"./node_modules/classnames/dedupe.js":function(n,r,s){var o,i;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames -*/(function(){var l=function(){function a(){}a.prototype=Object.create(null);function c(b,x){for(var v=x.length,O=0;O1?arguments[1]:void 0,x=b!==void 0,v=0,O=f(p),L,H,V,F;if(x&&(b=o(b,_>2?arguments[2]:void 0,2)),O!=null&&!(m==Array&&a(O)))for(F=O.call(p),H=new m;!(V=F.next()).done;v++)u(H,v,x?l(F,b,[V.value,v],!0):V.value);else for(L=c(p.length),H=new m(L);L>v;v++)u(H,v,x?b(p[v],v):p[v]);return H.length=v,H}},"./node_modules/core-js/internals/array-includes.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-indexed-object.js"),i=s("./node_modules/core-js/internals/to-length.js"),l=s("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(a){return function(c,u,f){var d=o(c),y=i(d.length),p=l(f,y),m;if(a&&u!=u){for(;y>p;)if(m=d[p++],m!=m)return!0}else for(;y>p;p++)if((a||p in d)&&d[p]===u)return a||p||0;return!a&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,s){var o=s("./node_modules/core-js/internals/a-function.js");n.exports=function(i,l,a){if(o(i),l===void 0)return i;switch(a){case 0:return function(){return i.call(l)};case 1:return function(c){return i.call(l,c)};case 2:return function(c,u){return i.call(l,c,u)};case 3:return function(c,u,f){return i.call(l,c,u,f)}}return function(){return i.apply(l,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,s){var o=s("./node_modules/core-js/internals/an-object.js");n.exports=function(i,l,a,c){try{return c?l(o(a)[0],a[1]):l(a)}catch(f){var u=i.return;throw u!==void 0&&o(u.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,s){var o=s("./node_modules/core-js/internals/well-known-symbol.js"),i=o("iterator"),l=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){l=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!l)return!1;var d=!1;try{var y={};y[i]=function(){return{next:function(){return{done:d=!0}}}},u(y)}catch{}return d}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var s={}.toString;n.exports=function(o){return s.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,s){var o=s("./node_modules/core-js/internals/classof-raw.js"),i=s("./node_modules/core-js/internals/well-known-symbol.js"),l=i("toStringTag"),a=o(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,d,y;return u===void 0?"Undefined":u===null?"Null":typeof(d=c(f=Object(u),l))=="string"?d:a?o(f):(y=o(f))=="Object"&&typeof f.callee=="function"?"Arguments":y}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,s){var o=s("./node_modules/core-js/internals/has.js"),i=s("./node_modules/core-js/internals/own-keys.js"),l=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=s("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=i(u),d=a.f,y=l.f,p=0;p",L="java"+v+":",H;for(_.style.display="none",c.appendChild(_),_.src=String(L),H=_.contentWindow.document,H.open(),H.write(x+v+O+"document.F=Object"+x+"/"+v+O),H.close(),m=H.F;b--;)delete m[y][l[b]];return m()};n.exports=Object.create||function(b,x){var v;return b!==null?(p[y]=o(b),v=new p,p[y]=null,v[d]=b):v=m(),x===void 0?v:i(v,x)},a[d]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,s){var o=s("./node_modules/core-js/internals/descriptors.js"),i=s("./node_modules/core-js/internals/object-define-property.js"),l=s("./node_modules/core-js/internals/an-object.js"),a=s("./node_modules/core-js/internals/object-keys.js");n.exports=o?Object.defineProperties:function(u,f){l(u);for(var d=a(f),y=d.length,p=0,m;y>p;)i.f(u,m=d[p++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,s){var o=s("./node_modules/core-js/internals/descriptors.js"),i=s("./node_modules/core-js/internals/ie8-dom-define.js"),l=s("./node_modules/core-js/internals/an-object.js"),a=s("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;r.f=o?c:function(f,d,y){if(l(f),d=a(d,!0),l(y),i)try{return c(f,d,y)}catch{}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(f[d]=y.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,s){var o=s("./node_modules/core-js/internals/descriptors.js"),i=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=s("./node_modules/core-js/internals/create-property-descriptor.js"),a=s("./node_modules/core-js/internals/to-indexed-object.js"),c=s("./node_modules/core-js/internals/to-primitive.js"),u=s("./node_modules/core-js/internals/has.js"),f=s("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;r.f=o?d:function(p,m){if(p=a(p),m=c(m,!0),f)try{return d(p,m)}catch{}if(u(p,m))return l(!i.f.call(p,m),p[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,s){var o=s("./node_modules/core-js/internals/object-keys-internal.js"),i=s("./node_modules/core-js/internals/enum-bug-keys.js"),l=i.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return o(c,l)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,s){var o=s("./node_modules/core-js/internals/has.js"),i=s("./node_modules/core-js/internals/to-object.js"),l=s("./node_modules/core-js/internals/shared-key.js"),a=s("./node_modules/core-js/internals/correct-prototype-getter.js"),c=l("IE_PROTO"),u=Object.prototype;n.exports=a?Object.getPrototypeOf:function(f){return f=i(f),o(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,s){var o=s("./node_modules/core-js/internals/has.js"),i=s("./node_modules/core-js/internals/to-indexed-object.js"),l=s("./node_modules/core-js/internals/array-includes.js"),a=s("./node_modules/core-js/internals/hidden-keys.js"),c=l(!1);n.exports=function(u,f){var d=i(u),y=0,p=[],m;for(m in d)!o(a,m)&&o(d,m)&&p.push(m);for(;f.length>y;)o(d,m=f[y++])&&(~c(p,m)||p.push(m));return p}},"./node_modules/core-js/internals/object-keys.js":function(n,r,s){var o=s("./node_modules/core-js/internals/object-keys-internal.js"),i=s("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(a){return o(a,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,s){var o={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,l=i&&!o.call({1:2},1);r.f=l?function(c){var u=i(this,c);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,s){var o=s("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,l={},a;try{a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,a.call(l,[]),i=l instanceof Array}catch{}return function(u,f){return o(u,f),i?a.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/object-get-own-property-names.js"),l=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=s("./node_modules/core-js/internals/an-object.js"),c=o.Reflect;n.exports=c&&c.ownKeys||function(f){var d=i.f(a(f)),y=l.f;return y?d.concat(y(f)):d}},"./node_modules/core-js/internals/path.js":function(n,r,s){n.exports=s("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/shared.js"),l=s("./node_modules/core-js/internals/hide.js"),a=s("./node_modules/core-js/internals/has.js"),c=s("./node_modules/core-js/internals/set-global.js"),u=s("./node_modules/core-js/internals/function-to-string.js"),f=s("./node_modules/core-js/internals/internal-state.js"),d=f.get,y=f.enforce,p=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,_,b,x){var v=x?!!x.unsafe:!1,O=x?!!x.enumerable:!1,L=x?!!x.noTargetGet:!1;if(typeof b=="function"&&(typeof _=="string"&&!a(b,"name")&&l(b,"name",_),y(b).source=p.join(typeof _=="string"?_:"")),m===o){O?m[_]=b:c(_,b);return}else v?!L&&m[_]&&(O=!0):delete m[_];O?m[_]=b:l(m,_,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/hide.js");n.exports=function(l,a){try{i(o,l,a)}catch{o[l]=a}return a}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,s){var o=s("./node_modules/core-js/internals/object-define-property.js").f,i=s("./node_modules/core-js/internals/has.js"),l=s("./node_modules/core-js/internals/well-known-symbol.js"),a=l("toStringTag");n.exports=function(c,u,f){c&&!i(c=f?c:c.prototype,a)&&o(c,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,s){var o=s("./node_modules/core-js/internals/shared.js"),i=s("./node_modules/core-js/internals/uid.js"),l=o("keys");n.exports=function(a){return l[a]||(l[a]=i(a))}},"./node_modules/core-js/internals/shared.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/set-global.js"),l=s("./node_modules/core-js/internals/is-pure.js"),a="__core-js_shared__",c=o[a]||i(a,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:l?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-integer.js"),i=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l,a,c){var u=String(i(l)),f=o(a),d=u.length,y,p;return f<0||f>=d?c?"":void 0:(y=u.charCodeAt(f),y<55296||y>56319||f+1===d||(p=u.charCodeAt(f+1))<56320||p>57343?c?u.charAt(f):y:c?u.slice(f,f+2):(y-55296<<10)+(p-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-integer.js"),i=Math.max,l=Math.min;n.exports=function(a,c){var u=o(a);return u<0?i(u+c,0):l(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,s){var o=s("./node_modules/core-js/internals/indexed-object.js"),i=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l){return o(i(l))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var s=Math.ceil,o=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?o:s)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(l){return l>0?i(o(l),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,s){var o=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(o(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,s){var o=s("./node_modules/core-js/internals/is-object.js");n.exports=function(i,l){if(!o(i))return i;var a,c;if(l&&typeof(a=i.toString)=="function"&&!o(c=a.call(i))||typeof(a=i.valueOf)=="function"&&!o(c=a.call(i))||!l&&typeof(a=i.toString)=="function"&&!o(c=a.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var s=0,o=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++s+o).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,s){var o=s("./node_modules/core-js/internals/is-object.js"),i=s("./node_modules/core-js/internals/an-object.js");n.exports=function(l,a){if(i(l),!o(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/shared.js"),l=s("./node_modules/core-js/internals/uid.js"),a=s("./node_modules/core-js/internals/native-symbol.js"),c=o.Symbol,u=i("wks");n.exports=function(f){return u[f]||(u[f]=a&&c[f]||(a?c:l)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,s){var o=s("./node_modules/core-js/internals/export.js"),i=s("./node_modules/core-js/internals/array-from.js"),l=s("./node_modules/core-js/internals/check-correctness-of-iteration.js"),a=!l(function(c){Array.from(c)});o({target:"Array",stat:!0,forced:a},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,s){var o=s("./node_modules/core-js/internals/string-at.js"),i=s("./node_modules/core-js/internals/internal-state.js"),l=s("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",c=i.set,u=i.getterFor(a);l(String,"String",function(f){c(this,{type:a,string:String(f),index:0})},function(){var d=u(this),y=d.string,p=d.index,m;return p>=y.length?{value:void 0,done:!0}:(m=o(y,p,!0),d.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(s=window)}n.exports=s},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(m){for(var _=1;_2&&arguments[2]!==void 0?arguments[2]:[];d(this,m),this.name=_,this.contents=b,this.tags=x,this.attrs=o({},u.default,{class:"feather feather-"+_})}return i(m,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=o({},this.attrs,b,{class:(0,a.default)(this.attrs.class,b.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function p(m){return Object.keys(m).map(function(_){return _+'="'+m[_]+'"'}).join(" ")}r.default=y},"./src/icons.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=s("./src/icon.js"),i=f(o),l=s("./dist/icons.json"),a=f(l),c=s("./src/tags.json"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}r.default=Object.keys(a.default).map(function(d){return new i.default(d,a.default[d],u.default[d])}).reduce(function(d,y){return d[y.name]=y,d},{})},"./src/index.js":function(n,r,s){var o=s("./src/icons.js"),i=f(o),l=s("./src/to-svg.js"),a=f(l),c=s("./src/replace.js"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}n.exports={icons:i.default,toSvg:a.default,replace:u.default}},"./src/replace.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(p){for(var m=1;m0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(_){return d(_,p)})}function d(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=y(p),b=_["data-feather"];delete _["data-feather"];var x=c.default[b].toSvg(o({},m,_,{class:(0,l.default)(m.class,_.class)})),v=new DOMParser().parseFromString(x,"image/svg+xml"),O=v.querySelector("svg");p.parentNode.replaceChild(O,p)}function y(p){return Array.from(p.attributes).reduce(function(m,_){return m[_.name]=_.value,m},{})}r.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=s("./src/icons.js"),i=l(o);function l(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return i.default[c].toSvg(u)}r.default=a},0:function(n,r,s){s("./node_modules/core-js/es/array/from.js"),n.exports=s("./src/index.js")}})})})(Wf);const Nn=Kf(us),qf={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},Jf={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},Gf={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},Yf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Qf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),Xf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),Zf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),ed=w("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),_l={__name:"Navigation",setup(e){return(t,n)=>(Y(),ie("div",qf,[w("div",Jf,[w("ul",Gf,[w("li",null,[pe(Fe(Ft),{to:{name:"discussions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Yf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"settings"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Qf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"extensions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Xf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"training"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Zf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"help"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[ed]),_:1})])])])]))}},td={class:"top-0 shadow-lg"},nd={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},rd=w("div",{class:"flex items-center gap-3 flex-1"},[w("img",{class:"w-12 hover:scale-95 duration-150",title:"GPT4ALL-UI",src:jl,alt:"Logo"}),w("p",{class:"text-2xl"},"GPT4ALL-UI")],-1),sd={class:"flex gap-3 flex-1 items-center justify-end"},od=w("a",{href:"https://github.com/nomic-ai/gpt4all-ui",target:"_blank"},[w("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[w("i",{"data-feather":"github"})])],-1),id=w("i",{"data-feather":"sun"},null,-1),ld=[id],ad=w("i",{"data-feather":"moon"},null,-1),cd=[ad],ud=w("body",null,null,-1),fd={name:"TopBar",data(){return{sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),ft(()=>{Nn.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none");return}this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.iconToggle();return}document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:_l}},dd=Object.assign(fd,{setup(e){return(t,n)=>(Y(),ie(je,null,[w("header",td,[w("nav",nd,[pe(Fe(Ft),{to:{name:"discussions"}},{default:Ot(()=>[rd]),_:1}),w("div",sd,[od,w("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=r=>t.themeSwitch())},ld),w("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=r=>t.themeSwitch())},cd)])]),pe(_l)]),ud],64))}}),xt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hd={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},pd={class:"flex overflow-hidden flex-grow"},yd={__name:"App",setup(e){return(t,n)=>(Y(),ie("div",hd,[pe(dd),w("div",pd,[pe(Fe(wl),null,{default:Ot(({Component:r})=>[(Y(),Ht(Ec,null,[(Y(),Ht(Nc(r)))],1024))]),_:1})])]))}},md={setup(){return{}}};function gd(e,t,n,r,s,o){return Y(),ie("div",null," Extensions ")}const xd=xt(md,[["render",gd]]),vd={setup(){return{}}};function bd(e,t,n,r,s,o){return Y(),ie("div",null," Help ")}const wd=xt(vd,[["render",bd]]);function El(e,t){return function(){return e.apply(t,arguments)}}const{toString:jd}=Object.prototype,{getPrototypeOf:$s}=Object,Ar=(e=>t=>{const n=jd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),vt=e=>(e=e.toLowerCase(),t=>Ar(t)===e),Or=e=>t=>typeof t===e,{isArray:an}=Array,Tn=Or("undefined");function _d(e){return e!==null&&!Tn(e)&&e.constructor!==null&&!Tn(e.constructor)&&mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Al=vt("ArrayBuffer");function Ed(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Al(e.buffer),t}const Ad=Or("string"),mt=Or("function"),Ol=Or("number"),Vs=e=>e!==null&&typeof e=="object",Od=e=>e===!0||e===!1,Gn=e=>{if(Ar(e)!=="object")return!1;const t=$s(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Sd=vt("Date"),Rd=vt("File"),kd=vt("Blob"),Md=vt("FileList"),Td=e=>Vs(e)&&mt(e.pipe),Cd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||mt(e.append)&&((t=Ar(e))==="formdata"||t==="object"&&mt(e.toString)&&e.toString()==="[object FormData]"))},Pd=vt("URLSearchParams"),Nd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function In(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),an(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Rl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),kl=e=>!Tn(e)&&e!==Rl;function fs(){const{caseless:e}=kl(this)&&this||{},t={},n=(r,s)=>{const o=e&&Sl(t,s)||s;Gn(t[o])&&Gn(r)?t[o]=fs(t[o],r):Gn(r)?t[o]=fs({},r):an(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(In(t,(s,o)=>{n&&mt(s)?e[o]=El(s,n):e[o]=s},{allOwnKeys:r}),e),Ld=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fd=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Bd=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&$s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Hd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Dd=e=>{if(!e)return null;if(an(e))return e;let t=e.length;if(!Ol(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$s(Uint8Array)),$d=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Vd=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ud=vt("HTMLFormElement"),Kd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Wo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Wd=vt("RegExp"),Ml=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};In(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},qd=e=>{Ml(e,(t,n)=>{if(mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(mt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Jd=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return an(e)?r(e):r(String(e).split(t)),n},Gd=()=>{},Yd=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Vr="abcdefghijklmnopqrstuvwxyz",qo="0123456789",Tl={DIGIT:qo,ALPHA:Vr,ALPHA_DIGIT:Vr+Vr.toUpperCase()+qo},Qd=(e=16,t=Tl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Xd(e){return!!(e&&mt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Zd=e=>{const t=new Array(10),n=(r,s)=>{if(Vs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=an(r)?[]:{};return In(r,(i,l)=>{const a=n(i,s+1);!Tn(a)&&(o[l]=a)}),t[s]=void 0,o}}return r};return n(e,0)},E={isArray:an,isArrayBuffer:Al,isBuffer:_d,isFormData:Cd,isArrayBufferView:Ed,isString:Ad,isNumber:Ol,isBoolean:Od,isObject:Vs,isPlainObject:Gn,isUndefined:Tn,isDate:Sd,isFile:Rd,isBlob:kd,isRegExp:Wd,isFunction:mt,isStream:Td,isURLSearchParams:Pd,isTypedArray:zd,isFileList:Md,forEach:In,merge:fs,extend:Id,trim:Nd,stripBOM:Ld,inherits:Fd,toFlatObject:Bd,kindOf:Ar,kindOfTest:vt,endsWith:Hd,toArray:Dd,forEachEntry:$d,matchAll:Vd,isHTMLForm:Ud,hasOwnProperty:Wo,hasOwnProp:Wo,reduceDescriptors:Ml,freezeMethods:qd,toObjectSet:Jd,toCamelCase:Kd,noop:Gd,toFiniteNumber:Yd,findKey:Sl,global:Rl,isContextDefined:kl,ALPHABET:Tl,generateString:Qd,isSpecCompliantForm:Xd,toJSONObject:Zd};function re(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}E.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cl=re.prototype,Pl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pl[e]={value:e}});Object.defineProperties(re,Pl);Object.defineProperty(Cl,"isAxiosError",{value:!0});re.from=(e,t,n,r,s,o)=>{const i=Object.create(Cl);return E.toFlatObject(e,i,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),re.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const e1=null;function ds(e){return E.isPlainObject(e)||E.isArray(e)}function Nl(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Jo(e,t,n){return e?e.concat(t).map(function(s,o){return s=Nl(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function t1(e){return E.isArray(e)&&!e.some(ds)}const n1=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function Sr(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,_){return!E.isUndefined(_[m])});const r=n.metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(s))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(E.isDate(p))return p.toISOString();if(!a&&E.isBlob(p))throw new re("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(p)||E.isTypedArray(p)?a&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,_){let b=p;if(p&&!_&&typeof p=="object"){if(E.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(E.isArray(p)&&t1(p)||(E.isFileList(p)||E.endsWith(m,"[]"))&&(b=E.toArray(p)))return m=Nl(m),b.forEach(function(v,O){!(E.isUndefined(v)||v===null)&&t.append(i===!0?Jo([m],O,o):i===null?m:m+"[]",c(v))}),!1}return ds(p)?!0:(t.append(Jo(_,m,o),c(p)),!1)}const f=[],d=Object.assign(n1,{defaultVisitor:u,convertValue:c,isVisitable:ds});function y(p,m){if(!E.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),E.forEach(p,function(b,x){(!(E.isUndefined(b)||b===null)&&s.call(t,b,E.isString(x)?x.trim():x,m,d))===!0&&y(b,m?m.concat(x):[x])}),f.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Go(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Us(e,t){this._pairs=[],e&&Sr(e,this,t)}const Il=Us.prototype;Il.append=function(t,n){this._pairs.push([t,n])};Il.toString=function(t){const n=t?function(r){return t.call(this,r,Go)}:Go;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function r1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ll(e,t,n){if(!t)return e;const r=n&&n.encode||r1,s=n&&n.serialize;let o;if(s?o=s(t,n):o=E.isURLSearchParams(t)?t.toString():new Us(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class s1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Yo=s1,Fl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},o1=typeof URLSearchParams<"u"?URLSearchParams:Us,i1=typeof FormData<"u"?FormData:null,l1=typeof Blob<"u"?Blob:null,a1=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),c1=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),rt={isBrowser:!0,classes:{URLSearchParams:o1,FormData:i1,Blob:l1},isStandardBrowserEnv:a1,isStandardBrowserWebWorkerEnv:c1,protocols:["http","https","file","blob","url","data"]};function u1(e,t){return Sr(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return rt.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function f1(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function d1(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&E.isArray(s)?s.length:i,a?(E.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!E.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&E.isArray(s[i])&&(s[i]=d1(s[i])),!l)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,s)=>{t(f1(r),s,n,0)}),n}return null}const h1={"Content-Type":void 0};function p1(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Rr={transitional:Fl,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=E.isObject(t);if(o&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return s&&s?JSON.stringify(Bl(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return u1(t,this.formSerializer).toString();if((l=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Sr(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),p1(t)):t}],transformResponse:[function(t){const n=this.transitional||Rr.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&E.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?re.from(l,re.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};E.forEach(["delete","get","head"],function(t){Rr.headers[t]={}});E.forEach(["post","put","patch"],function(t){Rr.headers[t]=E.merge(h1)});const Ks=Rr,y1=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),m1=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&y1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Qo=Symbol("internals");function dn(e){return e&&String(e).trim().toLowerCase()}function Yn(e){return e===!1||e==null?e:E.isArray(e)?e.map(Yn):String(e)}function g1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const x1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ur(e,t,n,r,s){if(E.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function v1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function b1(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class kr{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,a,c){const u=dn(a);if(!u)throw new Error("header name must be a non-empty string");const f=E.findKey(s,u);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||a]=Yn(l))}const i=(l,a)=>E.forEach(l,(c,u)=>o(c,u,a));return E.isPlainObject(t)||t instanceof this.constructor?i(t,n):E.isString(t)&&(t=t.trim())&&!x1(t)?i(m1(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=dn(t),t){const r=E.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return g1(s);if(E.isFunction(n))return n.call(this,s,r);if(E.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=dn(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ur(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=dn(i),i){const l=E.findKey(r,i);l&&(!n||Ur(r,r[l],l,n))&&(delete r[l],s=!0)}}return E.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Ur(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return E.forEach(this,(s,o)=>{const i=E.findKey(r,o);if(i){n[i]=Yn(s),delete n[o];return}const l=t?v1(o):String(o).trim();l!==o&&delete n[o],n[l]=Yn(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Qo]=this[Qo]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=dn(i);r[l]||(b1(s,i),r[l]=!0)}return E.isArray(t)?t.forEach(o):o(t),this}}kr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.freezeMethods(kr.prototype);E.freezeMethods(kr);const ht=kr;function Kr(e,t){const n=this||Ks,r=t||n,s=ht.from(r.headers);let o=r.data;return E.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function Ln(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(Ln,re,{__CANCEL__:!0});function w1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const j1=rt.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,l){const a=[];a.push(n+"="+encodeURIComponent(r)),E.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),E.isString(o)&&a.push("path="+o),E.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function _1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function E1(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Dl(e,t){return e&&!_1(t)?E1(e,t):t}const A1=rt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=E.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function O1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function S1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=r[o];i||(i=c),n[s]=a,r[s]=c;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i{const o=s.loaded,i=s.lengthComputable?s.total:void 0,l=o-n,a=r(l),c=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:a||void 0,estimated:a&&i&&c?(i-o)/a:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const R1=typeof XMLHttpRequest<"u",k1=R1&&function(e){return new Promise(function(n,r){let s=e.data;const o=ht.from(e.headers).normalize(),i=e.responseType;let l;function a(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}E.isFormData(s)&&(rt.isStandardBrowserEnv||rt.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(y+":"+p))}const u=Dl(e.baseURL,e.url);c.open(e.method.toUpperCase(),Ll(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const y=ht.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:y,config:e,request:c};w1(function(b){n(b),a()},function(b){r(b),a()},m),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(r(new re("Request aborted",re.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Fl;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new re(p,m.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,c)),c=null},rt.isStandardBrowserEnv){const y=(e.withCredentials||A1(u))&&e.xsrfCookieName&&j1.read(e.xsrfCookieName);y&&o.set(e.xsrfHeaderName,y)}s===void 0&&o.setContentType(null),"setRequestHeader"in c&&E.forEach(o.toJSON(),function(p,m){c.setRequestHeader(m,p)}),E.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Xo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Xo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=y=>{c&&(r(!y||y.type?new Ln(null,e,c):y),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const d=O1(u);if(d&&rt.protocols.indexOf(d)===-1){r(new re("Unsupported protocol "+d+":",re.ERR_BAD_REQUEST,e));return}c.send(s||null)})},Qn={http:e1,xhr:k1};E.forEach(Qn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const M1={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof ht?e.toJSON():e;function sn(e,t){t=t||{};const n={};function r(c,u,f){return E.isPlainObject(c)&&E.isPlainObject(u)?E.merge.call({caseless:f},c,u):E.isPlainObject(u)?E.merge({},u):E.isArray(u)?u.slice():u}function s(c,u,f){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c,f)}else return r(c,u,f)}function o(c,u){if(!E.isUndefined(u))return r(void 0,u)}function i(c,u){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,f){if(f in t)return r(c,u);if(f in e)return r(void 0,c)}const a={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>s(ei(c),ei(u),!0)};return E.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const f=a[u]||s,d=f(e[u],t[u],u);E.isUndefined(d)&&f!==l||(n[u]=d)}),n}const zl="1.3.6",Ws={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ws[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ti={};Ws.transitional=function(t,n,r){function s(o,i){return"[Axios v"+zl+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new re(s(i," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!ti[i]&&(ti[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function T1(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new re("option "+o+" must be "+a,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+o,re.ERR_BAD_OPTION)}}const hs={assertOptions:T1,validators:Ws},_t=hs.validators;class cr{constructor(t){this.defaults=t,this.interceptors={request:new Yo,response:new Yo}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=sn(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&hs.assertOptions(r,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean)},!1),s!=null&&(E.isFunction(s)?n.paramsSerializer={serialize:s}:hs.assertOptions(s,{encode:_t.function,serialize:_t.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&E.merge(o.common,o[n.method]),i&&E.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=ht.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,d;if(!a){const p=[Zo.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),d=p.length,u=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new Ln(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new qs(function(s){t=s}),cancel:t}}}const C1=qs;function P1(e){return function(n){return e.apply(null,n)}}function N1(e){return E.isObject(e)&&e.isAxiosError===!0}const ps={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ps).forEach(([e,t])=>{ps[t]=e});const I1=ps;function $l(e){const t=new Xn(e),n=El(Xn.prototype.request,t);return E.extend(n,Xn.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return $l(sn(e,s))},n}const _e=$l(Ks);_e.Axios=Xn;_e.CanceledError=Ln;_e.CancelToken=C1;_e.isCancel=Hl;_e.VERSION=zl;_e.toFormData=Sr;_e.AxiosError=re;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=P1;_e.isAxiosError=N1;_e.mergeConfig=sn;_e.AxiosHeaders=ht;_e.formToJSON=e=>Bl(E.isHTMLForm(e)?new FormData(e):e);_e.HttpStatusCode=I1;_e.default=_e;const ur=_e,L1={setup(){return{}},data(){return{backendsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{}}},methods:{async api_get_req(e){try{const t=await ur.get("/"+e);if(t)return t.data}catch(t){return console.log(t),[]}}},async mounted(){this.backendsArr=await this.api_get_req("list_backends"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.configFile=await this.api_get_req("get_config")}},F1={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[29rem] max-w-[29rem] bg-bg-light-tone dark:bg-bg-dark-tone"},B1={class:"p-2"},H1={class:"m-2"},D1=w("label",{for:"backend",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Backend: ",-1),z1={id:"backend",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},$1={class:"m-2"},V1=w("label",{for:"model",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Model: ",-1),U1={id:"model",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},K1={class:"m-2"},W1=w("label",{for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Languages: ",-1),q1={id:"persLang",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},J1={class:"m-2"},G1=w("label",{for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Category: ",-1),Y1={id:"persCat",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Q1={class:"m-2"},X1=w("label",{for:"persona",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Persona: ",-1),Z1={id:"persona",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},eh={class:"m-2"},th=w("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1),nh={class:"m-2"},rh={class:"flex flex-col align-bottom"},sh={class:"relative"},oh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"temp",class:"text-sm font-medium"}," Temperature: ")],-1),ih={class:"absolute right-0"},lh={class:"m-2"},ah={class:"flex flex-col align-bottom"},ch={class:"relative"},uh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1),fh={class:"absolute right-0"},dh={class:"m-2"},hh={class:"flex flex-col align-bottom"},ph={class:"relative"},yh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1),mh={class:"absolute right-0"},gh={class:"m-2"},xh={class:"flex flex-col align-bottom"},vh={class:"relative"},bh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1),wh={class:"absolute right-0"},jh={class:"m-2"},_h={class:"flex flex-col align-bottom"},Eh={class:"relative"},Ah=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1),Oh={class:"absolute right-0"},Sh={class:"m-2"},Rh={class:"flex flex-col align-bottom"},kh={class:"relative"},Mh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1),Th={class:"absolute right-0"};function Ch(e,t,n,r,s,o){return Y(),ie("div",F1,[w("div",B1,[w("div",H1,[D1,w("select",z1,[(Y(!0),ie(je,null,It(s.backendsArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",$1,[V1,w("select",U1,[(Y(!0),ie(je,null,It(s.modelsArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",K1,[W1,w("select",q1,[(Y(!0),ie(je,null,It(s.persLangArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",J1,[G1,w("select",Y1,[(Y(!0),ie(je,null,It(s.persCatgArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",Q1,[X1,w("select",Z1,[(Y(!0),ie(je,null,It(s.persArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",eh,[th,Ce(w("input",{type:"text",id:"seed","onUpdate:modelValue":t[0]||(t[0]=i=>s.configFile.seed=i),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.seed]])]),w("div",nh,[w("div",rh,[w("div",sh,[oh,w("p",ih,[Ce(w("input",{type:"text",id:"temp-val","onUpdate:modelValue":t[1]||(t[1]=i=>s.configFile.temp=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.temp]])])]),Ce(w("input",{id:"temp",type:"range","onUpdate:modelValue":t[2]||(t[2]=i=>s.configFile.temp=i),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.temp]])])]),w("div",lh,[w("div",ah,[w("div",ch,[uh,w("p",fh,[Ce(w("input",{type:"text",id:"predict-val","onUpdate:modelValue":t[3]||(t[3]=i=>s.configFile.n_predict=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.n_predict]])])]),Ce(w("input",{id:"predict",type:"range","onUpdate:modelValue":t[4]||(t[4]=i=>s.configFile.n_predict=i),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.n_predict]])])]),w("div",dh,[w("div",hh,[w("div",ph,[yh,w("p",mh,[Ce(w("input",{type:"text",id:"top_k-val","onUpdate:modelValue":t[5]||(t[5]=i=>s.configFile.top_k=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_k]])])]),Ce(w("input",{id:"top_k",type:"range","onUpdate:modelValue":t[6]||(t[6]=i=>s.configFile.top_k=i),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_k]])])]),w("div",gh,[w("div",xh,[w("div",vh,[bh,w("p",wh,[Ce(w("input",{type:"text",id:"top_p-val","onUpdate:modelValue":t[7]||(t[7]=i=>s.configFile.top_p=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_p]])])]),Ce(w("input",{id:"top_p",type:"range","onUpdate:modelValue":t[8]||(t[8]=i=>s.configFile.top_p=i),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_p]])])]),w("div",jh,[w("div",_h,[w("div",Eh,[Ah,w("p",Oh,[Ce(w("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":t[9]||(t[9]=i=>s.configFile.repeat_penalty=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_penalty]])])]),Ce(w("input",{id:"repeat_penalty",type:"range","onUpdate:modelValue":t[10]||(t[10]=i=>s.configFile.repeat_penalty=i),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_penalty]])])]),w("div",Sh,[w("div",Rh,[w("div",kh,[Mh,w("p",Th,[Ce(w("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":t[11]||(t[11]=i=>s.configFile.repeat_last_n=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_last_n]])])]),Ce(w("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":t[12]||(t[12]=i=>s.configFile.repeat_last_n=i),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_last_n]])])])])])}const Ph=xt(L1,[["render",Ch]]),Nh={setup(){return{}}};function Ih(e,t,n,r,s,o){return Y(),ie("div",null," Training ")}const Lh=xt(Nh,[["render",Ih]]),Fh={name:"Discussion",props:{id:Number,title:String,selected:Boolean,loading:Boolean},setup(){},data(){return{}},methods:{},mounted(){ft(()=>{Nn.replace()})}},Bh={key:1,class:"items-center inline-block min-h-full w-2 rounded-xl self-stretch"},Hh={class:"truncate w-auto"},Dh=jr('
',1);function zh(e,t,n,r,s,o){return Y(),ie("div",{class:ut([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","container flex flex-col sm:flex-row item-center gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"])},[n.selected?(Y(),ie("div",{key:0,class:ut(["items-center inline-block min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):(Y(),ie("div",Bh)),w("p",Hh,ct(n.title),1),Dh],2)}const Vl=xt(Fh,[["render",zh]]),$h={name:"Message",props:{message:Object},data(){return{senderImg:""}},mounted(){ft(()=>{Nn.replace()})}},Vh={class:"group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex-row p-4 pb-2"},Uh={class:"w-30 flex"},Kh={class:"w-10 h-10 rounded-lg object-fill drop-shadow-md group-even:bg-primary bg-secondary"},Wh=["src"],qh={class:"drop-shadow-sm py-0 px-2 text-lg text-opacity-95 font-bold"},Jh={class:"-mt-4 ml-10 mr-0 pt-1 px-2 max-w-screen-2xl"},Gh={class:"invisible group-hover:visible flex flex-row mt-3 -mb-2"},Yh=jr('
',5),Qh={class:"flex flex-row items-center"},Xh=w("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote"},[w("i",{"data-feather":"thumbs-down"})],-1);function Zh(e,t,n,r,s,o){return Y(),ie("div",Vh,[w("div",Uh,[w("div",Kh,[s.senderImg?(Y(),ie("img",{key:0,src:s.senderImg,class:"w-10 h-10 rounded-full object-fill"},null,8,Wh)):wn("",!0)]),w("p",qh,ct(n.message.sender),1)]),w("div",Jh,ct(n.message.content),1),w("div",Gh,[Yh,w("div",Qh,[Xh,n.message.rank!=0?(Y(),ie("div",{key:0,class:ut(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ct(n.message.rank),3)):wn("",!0)])])])}const Ul=xt($h,[["render",Zh]]),ep={name:"ChatBox",emits:["messageSentEvent"],setup(){return{}},methods:{sendMessageEvent(e){this.$emit("messageSentEvent",e)},submitOnEnter(e){e.which===13&&(e.preventDefault(),console.log("enter detected"),e.repeat||(this.sendMessageEvent(e.target.value),e.target.value=""))}},mounted(){ft(()=>{Nn.replace()})},activated(){}},tp={class:"flex-none sticky bottom-0 p-6 items-center justify-center self-center right-0 left-0"},np=w("label",{for:"chat",class:"sr-only"},"Send message",-1),rp={class:"flex items-center gap-2 px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},sp=w("button",{type:"submit",on:"","on-click":"",class:"inline-flex justify-center p-2 rounded-full cursor-pointer hover:text-primary duration-75 active:scale-90"},[w("i",{"data-feather":"send",class:"w-6 h-6 m-1"}),w("span",{class:"sr-only"},"Send message")],-1);function op(e,t,n,r,s,o){return Y(),ie("div",tp,[w("form",null,[np,w("div",rp,[w("textarea",{id:"chat",rows:"1",class:"block min-h-11 no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:t[0]||(t[0]=Fu(Iu(i=>o.submitOnEnter(i),["exact"]),["enter"]))},null,32),sp])])])}const Kl=xt(ep,[["render",op]]),ip={name:"WelcomeComponent",setup(){return{}}},lp={class:"flex flex-col text-center"},ap=jr('
Logo

GPT4ALL-UI


Welcome, please create a new discussion or select existing one to start

',1),cp=[ap];function up(e,t,n,r,s,o){return Y(),ie("div",lp,cp)}const Wl=xt(ip,[["render",up]]),it=Object.create(null);it.open="0";it.close="1";it.ping="2";it.pong="3";it.message="4";it.upgrade="5";it.noop="6";const Zn=Object.create(null);Object.keys(it).forEach(e=>{Zn[it[e]]=e});const fp={type:"error",data:"parser error"},dp=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",hp=typeof ArrayBuffer=="function",pp=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,ql=({type:e,data:t},n,r)=>dp&&t instanceof Blob?n?r(t):ni(t,r):hp&&(t instanceof ArrayBuffer||pp(t))?n?r(t):ni(new Blob([t]),r):r(it[e]+(t||"")),ni=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)},ri="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,s=0,o,i,l,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),u=new Uint8Array(c);for(r=0;r>4,u[s++]=(i&15)<<4|l>>2,u[s++]=(l&3)<<6|a&63;return c},mp=typeof ArrayBuffer=="function",Jl=(e,t)=>{if(typeof e!="string")return{type:"message",data:Gl(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:gp(e.substring(1),t)}:Zn[n]?e.length>1?{type:Zn[n],data:e.substring(1)}:{type:Zn[n]}:fp},gp=(e,t)=>{if(mp){const n=yp(e);return Gl(n,t)}else return{base64:!0,data:e}},Gl=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},Yl=String.fromCharCode(30),xp=(e,t)=>{const n=e.length,r=new Array(n);let s=0;e.forEach((o,i)=>{ql(o,!1,l=>{r[i]=l,++s===n&&t(r.join(Yl))})})},vp=(e,t)=>{const n=e.split(Yl),r=[];for(let s=0;stypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Xl(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const wp=ze.setTimeout,jp=ze.clearTimeout;function Mr(e,t){t.useNativeTimers?(e.setTimeoutFn=wp.bind(ze),e.clearTimeoutFn=jp.bind(ze)):(e.setTimeoutFn=ze.setTimeout.bind(ze),e.clearTimeoutFn=ze.clearTimeout.bind(ze))}const _p=1.33;function Ep(e){return typeof e=="string"?Ap(e):Math.ceil((e.byteLength||e.size)*_p)}function Ap(e){let t=0,n=0;for(let r=0,s=e.length;r=57344?n+=3:(r++,n+=4);return n}class Op extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Zl extends ve{constructor(t){super(),this.writable=!1,Mr(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new Op(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Jl(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}}const ea="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ys=64,Sp={};let si=0,Vn=0,oi;function ii(e){let t="";do t=ea[e%ys]+t,e=Math.floor(e/ys);while(e>0);return t}function ta(){const e=ii(+new Date);return e!==oi?(si=0,oi=e):e+"."+ii(si++)}for(;Vn{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};vp(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xp(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=ta()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const s=na(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new st(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(s,o)=>{this.onError("xhr post error",s,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class st extends ve{constructor(t,n){super(),Mr(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=Xl(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new sa(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=st.requestsCount++,st.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Mp,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete st.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}st.requestsCount=0;st.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",li);else if(typeof addEventListener=="function"){const e="onpagehide"in ze?"pagehide":"unload";addEventListener(e,li,!1)}}function li(){for(let e in st.requests)st.requests.hasOwnProperty(e)&&st.requests[e].abort()}const oa=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Un=ze.WebSocket||ze.MozWebSocket,ai=!0,Pp="arraybuffer",ci=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Np extends Zl{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=ci?{}:Xl(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=ai&&!ci?n?new Un(t,n):new Un(t):new Un(t,n,r)}catch(s){return this.emitReserved("error",s)}this.ws.binaryType=this.socket.binaryType||Pp,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const i={};try{ai&&this.ws.send(o)}catch{}s&&oa(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=ta()),this.supportsBinary||(t.b64=1);const s=na(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}check(){return!!Un}}const Ip={websocket:Np,polling:Cp},Lp=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Fp=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ms(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let s=Lp.exec(e||""),o={},i=14;for(;i--;)o[Fp[i]]=s[i]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Bp(o,o.path),o.queryKey=Hp(o,o.query),o}function Bp(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function Hp(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,s,o){s&&(n[s]=o)}),n}let ia=class qt extends ve{constructor(t,n={}){super(),this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=ms(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=ms(n.host).host),Mr(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Rp(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Ql,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Ip[t](r)}open(){let t;if(this.opts.rememberUpgrade&&qt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;qt.priorWebsocketSuccess=!1;const s=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!r)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;qt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const d=new Error("probe error");d.transport=n.name,this.emitReserved("upgradeError",d)}}))};function o(){r||(r=!0,u(),n.close(),n=null)}const i=f=>{const d=new Error("probe error: "+f);d.transport=n.name,o(),this.emitReserved("upgradeError",d)};function l(){i("transport closed")}function a(){i("socket closed")}function c(f){n&&f.name!==n.name&&o()}const u=()=>{n.removeListener("open",s),n.removeListener("error",i),n.removeListener("close",l),this.off("close",a),this.off("upgrading",c)};n.once("open",s),n.once("error",i),n.once("close",l),this.once("close",a),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",qt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,s){if(typeof n=="function"&&(s=n,n=void 0),typeof r=="function"&&(s=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),s&&this.once("flush",s),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){qt.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const s=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,la=Object.prototype.toString,Vp=typeof Blob=="function"||typeof Blob<"u"&&la.call(Blob)==="[object BlobConstructor]",Up=typeof File=="function"||typeof File<"u"&&la.call(File)==="[object FileConstructor]";function Js(e){return zp&&(e instanceof ArrayBuffer||$p(e))||Vp&&e instanceof Blob||Up&&e instanceof File}function er(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case X.ACK:case X.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Gp{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=Wp(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Yp=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Gs,Encoder:Jp,get PacketType(){return X},protocol:qp},Symbol.toStringTag,{value:"Module"}));function qe(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Qp=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class aa extends ve{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[qe(t,"open",this.onopen.bind(this)),qe(t,"packet",this.onpacket.bind(this)),qe(t,"error",this.onerror.bind(this)),qe(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(Qp.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:X.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const i=this.ids++,l=n.pop();this._registerAckCallback(i,l),r.id=i}const s=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!s||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const s=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(s===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let i=0;i{this.io.clearTimeoutFn(o),n.apply(this,[null,...i])}}emitWithAck(t,...n){const r=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((s,o)=>{n.push((i,l)=>r?i?o(i):s(l):s(i)),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((s,...o)=>r!==this._queue[0]?void 0:(s!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(s)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:X.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case X.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case X.EVENT:case X.BINARY_EVENT:this.onevent(t);break;case X.ACK:case X.BINARY_ACK:this.onack(t);break;case X.DISCONNECT:this.ondisconnect();break;case X.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...s){r||(r=!0,n.packet({type:X.ACK,id:t,data:s}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:X.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}cn.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};cn.prototype.reset=function(){this.attempts=0};cn.prototype.setMin=function(e){this.ms=e};cn.prototype.setMax=function(e){this.max=e};cn.prototype.setJitter=function(e){this.jitter=e};class vs extends ve{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Mr(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new cn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const s=n.parser||Yp;this.encoder=new s.Encoder,this.decoder=new s.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new ia(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const s=qe(n,"open",function(){r.onopen(),t&&t()}),o=qe(n,"error",i=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",i),t?t(i):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&s();const l=this.setTimeoutFn(()=>{s(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&l.unref(),this.subs.push(function(){clearTimeout(l)})}return this.subs.push(s),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(qe(t,"ping",this.onping.bind(this)),qe(t,"data",this.ondata.bind(this)),qe(t,"error",this.onerror.bind(this)),qe(t,"close",this.onclose.bind(this)),qe(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){oa(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new aa(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(s=>{s?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",s)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const hn={};function tr(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Dp(e,t.path||"/socket.io"),r=n.source,s=n.id,o=n.path,i=hn[s]&&o in hn[s].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||i;let a;return l?a=new vs(r,t):(hn[s]||(hn[s]=new vs(r,t)),a=hn[s]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(tr,{Manager:vs,Socket:aa,io:tr,connect:tr});const Zt=new tr("https://gpt.apefront.lv/");Zt.onopen=()=>{console.log("WebSocket connection established.")};Zt.onclose=e=>{console.log("WebSocket connection closed:",e.code,e.reason)};Zt.onerror=e=>{console.error("WebSocket error:",e)};const Tr=e=>(dc("data-v-cf36980a"),e=e(),hc(),e),Xp={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Zp={class:"z-10 sticky top-0 flex-row p-2 flex items-center gap-3 flex-0 bg-bg-light-tone dark:bg-bg-dark-tone mt-0 px-4 shadow-md"},e2=jr('
',4),t2={class:"relative"},n2=Tr(()=>w("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[w("div",{class:"scale-75"},[w("i",{"data-feather":"search"})])],-1)),r2={class:"absolute inset-y-0 right-0 flex items-center pr-3"},s2=Tr(()=>w("i",{"data-feather":"x"},null,-1)),o2=[s2],i2={class:"relative overflow-y-scroll no-scrollbar"},l2={key:0,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},a2=Tr(()=>w("p",{class:"px-3"},"No discussions are found",-1)),c2=[a2],u2=Tr(()=>w("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex height-64"},null,-1));ur.defaults.baseURL="/api/";const f2={setup(){},data(){return{list:[],tempList:[],currentDiscussion:Number,discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1}},methods:{async list_discussions(){try{const e=await ur.get("/list_discussions");if(e)return e.data}catch(e){return console.log(e),[]}},async load_discussion(e){try{if(e){this.loading=!0;const t=await ur.post("/load_discussion",{id:e});t&&(this.discussionArr=t.data,this.loading=!1)}}catch(t){console.log(t),this.loading=!1}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.list=this.tempList.filter(e=>e.title.includes(this.filterTitle)),this.filterInProgress=!1},100))},selectDiscussion(e){this.currentDiscussion=e,this.load_discussion(e.id)},scrollToElement(e){e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},createMsg(e){let t={content:e.message,id:e.message,rank:0,sender:e.user};this.discussionArr.push(t),ft(()=>{const r=document.getElementById("msg-"+e.message);this.scrollToElement(r)});let n={content:"..typing",id:e.response_id,rank:0,sender:e.bot};this.discussionArr.push(n),ft(()=>{const r=document.getElementById("msg-"+e.response_id);this.scrollToElement(r)})},sendMsg(e){Zt.emit("generate_msg",{prompt:e})},steamMessageContent(e){const t=this.discussionArr[this.discussionArr.length-1];t.content=e.data}},async created(){this.list=await this.list_discussions(),this.tempList=this.list,ft(()=>{Nn.replace()}),Zt.on("infos",this.createMsg),Zt.on("message",this.steamMessageContent)},components:{Discussion:Vl,Message:Ul,ChatBox:Kl,WelcomeComponent:Wl},watch:{filterTitle(e,t){e==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)}}},d2=Object.assign(f2,{__name:"DiscussionsView",setup(e){return(t,n)=>(Y(),ie(je,null,[w("div",Xp,[w("div",Zp,[e2,w("form",null,[w("div",t2,[n2,w("div",r2,[w("div",{class:ut(["hover:text-secondary duration-75 active:scale-90",t.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[0]||(n[0]=r=>t.filterTitle="")},o2,2)]),Ce(w("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[1]||(n[1]=r=>t.filterTitle=r),onInput:n[2]||(n[2]=r=>t.filterDiscussions())},null,544),[[Pe,t.filterTitle]])])])]),w("div",i2,[w("div",{class:ut(["mx-4 flex-grow",t.filterInProgress?"opacity-20 pointer-events-none":""])},[(Y(!0),ie(je,null,It(t.list,(r,s)=>(Y(),Ht(Vl,{key:s,id:r.id,title:r.title,selected:t.currentDiscussion.id==r.id,loading:t.currentDiscussion.id==r.id&&t.loading,onClick:o=>t.selectDiscussion(r)},null,8,["id","title","selected","loading","onClick"]))),128)),t.list.length<1?(Y(),ie("div",l2,c2)):wn("",!0),u2],2)])]),w("div",{class:ut(["overflow-y-scroll flex flex-col no-scrollbar flex-grow",t.loading?"opacity-20 pointer-events-none":""])},[w("div",null,[(Y(!0),ie(je,null,It(t.discussionArr,(r,s)=>(Y(),Ht(Ul,{key:s,message:r,onClick:n[3]||(n[3]=o=>t.scrollToElement(o.target)),id:"msg-"+r.id},null,8,["message","id"]))),128)),t.discussionArr.length<1?(Y(),Ht(Wl,{key:0})):wn("",!0),t.discussionArr.length>1?(Y(),Ht(Kl,{key:1,onMessageSentEvent:t.sendMsg},null,8,["onMessageSentEvent"])):wn("",!0)])],2)],64))}}),h2=xt(d2,[["__scopeId","data-v-cf36980a"]]),p2=$f({history:of("/"),routes:[{path:"/extensions/",name:"extensions",component:xd},{path:"/help/",name:"help",component:wd},{path:"/settings/",name:"settings",component:Ph},{path:"/training/",name:"training",component:Lh},{path:"/",name:"discussions",component:h2}]});const ca=Du(yd);ca.use(p2);ca.mount("#app"); +*/(function(){var l=function(){function a(){}a.prototype=Object.create(null);function c(b,x){for(var v=x.length,O=0;O1?arguments[1]:void 0,x=b!==void 0,v=0,O=f(p),L,H,V,F;if(x&&(b=o(b,_>2?arguments[2]:void 0,2)),O!=null&&!(m==Array&&a(O)))for(F=O.call(p),H=new m;!(V=F.next()).done;v++)u(H,v,x?l(F,b,[V.value,v],!0):V.value);else for(L=c(p.length),H=new m(L);L>v;v++)u(H,v,x?b(p[v],v):p[v]);return H.length=v,H}},"./node_modules/core-js/internals/array-includes.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-indexed-object.js"),i=s("./node_modules/core-js/internals/to-length.js"),l=s("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(a){return function(c,u,f){var d=o(c),y=i(d.length),p=l(f,y),m;if(a&&u!=u){for(;y>p;)if(m=d[p++],m!=m)return!0}else for(;y>p;p++)if((a||p in d)&&d[p]===u)return a||p||0;return!a&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,s){var o=s("./node_modules/core-js/internals/a-function.js");n.exports=function(i,l,a){if(o(i),l===void 0)return i;switch(a){case 0:return function(){return i.call(l)};case 1:return function(c){return i.call(l,c)};case 2:return function(c,u){return i.call(l,c,u)};case 3:return function(c,u,f){return i.call(l,c,u,f)}}return function(){return i.apply(l,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,s){var o=s("./node_modules/core-js/internals/an-object.js");n.exports=function(i,l,a,c){try{return c?l(o(a)[0],a[1]):l(a)}catch(f){var u=i.return;throw u!==void 0&&o(u.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,s){var o=s("./node_modules/core-js/internals/well-known-symbol.js"),i=o("iterator"),l=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){l=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!l)return!1;var d=!1;try{var y={};y[i]=function(){return{next:function(){return{done:d=!0}}}},u(y)}catch{}return d}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var s={}.toString;n.exports=function(o){return s.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,s){var o=s("./node_modules/core-js/internals/classof-raw.js"),i=s("./node_modules/core-js/internals/well-known-symbol.js"),l=i("toStringTag"),a=o(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,d,y;return u===void 0?"Undefined":u===null?"Null":typeof(d=c(f=Object(u),l))=="string"?d:a?o(f):(y=o(f))=="Object"&&typeof f.callee=="function"?"Arguments":y}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,r,s){var o=s("./node_modules/core-js/internals/has.js"),i=s("./node_modules/core-js/internals/own-keys.js"),l=s("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),a=s("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=i(u),d=a.f,y=l.f,p=0;p",L="java"+v+":",H;for(_.style.display="none",c.appendChild(_),_.src=String(L),H=_.contentWindow.document,H.open(),H.write(x+v+O+"document.F=Object"+x+"/"+v+O),H.close(),m=H.F;b--;)delete m[y][l[b]];return m()};n.exports=Object.create||function(b,x){var v;return b!==null?(p[y]=o(b),v=new p,p[y]=null,v[d]=b):v=m(),x===void 0?v:i(v,x)},a[d]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,r,s){var o=s("./node_modules/core-js/internals/descriptors.js"),i=s("./node_modules/core-js/internals/object-define-property.js"),l=s("./node_modules/core-js/internals/an-object.js"),a=s("./node_modules/core-js/internals/object-keys.js");n.exports=o?Object.defineProperties:function(u,f){l(u);for(var d=a(f),y=d.length,p=0,m;y>p;)i.f(u,m=d[p++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,r,s){var o=s("./node_modules/core-js/internals/descriptors.js"),i=s("./node_modules/core-js/internals/ie8-dom-define.js"),l=s("./node_modules/core-js/internals/an-object.js"),a=s("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;r.f=o?c:function(f,d,y){if(l(f),d=a(d,!0),l(y),i)try{return c(f,d,y)}catch{}if("get"in y||"set"in y)throw TypeError("Accessors not supported");return"value"in y&&(f[d]=y.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,r,s){var o=s("./node_modules/core-js/internals/descriptors.js"),i=s("./node_modules/core-js/internals/object-property-is-enumerable.js"),l=s("./node_modules/core-js/internals/create-property-descriptor.js"),a=s("./node_modules/core-js/internals/to-indexed-object.js"),c=s("./node_modules/core-js/internals/to-primitive.js"),u=s("./node_modules/core-js/internals/has.js"),f=s("./node_modules/core-js/internals/ie8-dom-define.js"),d=Object.getOwnPropertyDescriptor;r.f=o?d:function(p,m){if(p=a(p),m=c(m,!0),f)try{return d(p,m)}catch{}if(u(p,m))return l(!i.f.call(p,m),p[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,r,s){var o=s("./node_modules/core-js/internals/object-keys-internal.js"),i=s("./node_modules/core-js/internals/enum-bug-keys.js"),l=i.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(c){return o(c,l)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,r){r.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,r,s){var o=s("./node_modules/core-js/internals/has.js"),i=s("./node_modules/core-js/internals/to-object.js"),l=s("./node_modules/core-js/internals/shared-key.js"),a=s("./node_modules/core-js/internals/correct-prototype-getter.js"),c=l("IE_PROTO"),u=Object.prototype;n.exports=a?Object.getPrototypeOf:function(f){return f=i(f),o(f,c)?f[c]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,r,s){var o=s("./node_modules/core-js/internals/has.js"),i=s("./node_modules/core-js/internals/to-indexed-object.js"),l=s("./node_modules/core-js/internals/array-includes.js"),a=s("./node_modules/core-js/internals/hidden-keys.js"),c=l(!1);n.exports=function(u,f){var d=i(u),y=0,p=[],m;for(m in d)!o(a,m)&&o(d,m)&&p.push(m);for(;f.length>y;)o(d,m=f[y++])&&(~c(p,m)||p.push(m));return p}},"./node_modules/core-js/internals/object-keys.js":function(n,r,s){var o=s("./node_modules/core-js/internals/object-keys-internal.js"),i=s("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(a){return o(a,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,r,s){var o={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,l=i&&!o.call({1:2},1);r.f=l?function(c){var u=i(this,c);return!!u&&u.enumerable}:o},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,r,s){var o=s("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,l={},a;try{a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,a.call(l,[]),i=l instanceof Array}catch{}return function(u,f){return o(u,f),i?a.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/object-get-own-property-names.js"),l=s("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=s("./node_modules/core-js/internals/an-object.js"),c=o.Reflect;n.exports=c&&c.ownKeys||function(f){var d=i.f(a(f)),y=l.f;return y?d.concat(y(f)):d}},"./node_modules/core-js/internals/path.js":function(n,r,s){n.exports=s("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/shared.js"),l=s("./node_modules/core-js/internals/hide.js"),a=s("./node_modules/core-js/internals/has.js"),c=s("./node_modules/core-js/internals/set-global.js"),u=s("./node_modules/core-js/internals/function-to-string.js"),f=s("./node_modules/core-js/internals/internal-state.js"),d=f.get,y=f.enforce,p=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,_,b,x){var v=x?!!x.unsafe:!1,O=x?!!x.enumerable:!1,L=x?!!x.noTargetGet:!1;if(typeof b=="function"&&(typeof _=="string"&&!a(b,"name")&&l(b,"name",_),y(b).source=p.join(typeof _=="string"?_:"")),m===o){O?m[_]=b:c(_,b);return}else v?!L&&m[_]&&(O=!0):delete m[_];O?m[_]=b:l(m,_,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&d(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,r){n.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"./node_modules/core-js/internals/set-global.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/hide.js");n.exports=function(l,a){try{i(o,l,a)}catch{o[l]=a}return a}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,r,s){var o=s("./node_modules/core-js/internals/object-define-property.js").f,i=s("./node_modules/core-js/internals/has.js"),l=s("./node_modules/core-js/internals/well-known-symbol.js"),a=l("toStringTag");n.exports=function(c,u,f){c&&!i(c=f?c:c.prototype,a)&&o(c,a,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,r,s){var o=s("./node_modules/core-js/internals/shared.js"),i=s("./node_modules/core-js/internals/uid.js"),l=o("keys");n.exports=function(a){return l[a]||(l[a]=i(a))}},"./node_modules/core-js/internals/shared.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/set-global.js"),l=s("./node_modules/core-js/internals/is-pure.js"),a="__core-js_shared__",c=o[a]||i(a,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:l?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-integer.js"),i=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l,a,c){var u=String(i(l)),f=o(a),d=u.length,y,p;return f<0||f>=d?c?"":void 0:(y=u.charCodeAt(f),y<55296||y>56319||f+1===d||(p=u.charCodeAt(f+1))<56320||p>57343?c?u.charAt(f):y:c?u.slice(f,f+2):(y-55296<<10)+(p-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-integer.js"),i=Math.max,l=Math.min;n.exports=function(a,c){var u=o(a);return u<0?i(u+c,0):l(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,r,s){var o=s("./node_modules/core-js/internals/indexed-object.js"),i=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(l){return o(i(l))}},"./node_modules/core-js/internals/to-integer.js":function(n,r){var s=Math.ceil,o=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?o:s)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(l){return l>0?i(o(l),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,r,s){var o=s("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(o(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,r,s){var o=s("./node_modules/core-js/internals/is-object.js");n.exports=function(i,l){if(!o(i))return i;var a,c;if(l&&typeof(a=i.toString)=="function"&&!o(c=a.call(i))||typeof(a=i.valueOf)=="function"&&!o(c=a.call(i))||!l&&typeof(a=i.toString)=="function"&&!o(c=a.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,r){var s=0,o=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++s+o).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,r,s){var o=s("./node_modules/core-js/internals/is-object.js"),i=s("./node_modules/core-js/internals/an-object.js");n.exports=function(l,a){if(i(l),!o(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,r,s){var o=s("./node_modules/core-js/internals/global.js"),i=s("./node_modules/core-js/internals/shared.js"),l=s("./node_modules/core-js/internals/uid.js"),a=s("./node_modules/core-js/internals/native-symbol.js"),c=o.Symbol,u=i("wks");n.exports=function(f){return u[f]||(u[f]=a&&c[f]||(a?c:l)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,r,s){var o=s("./node_modules/core-js/internals/export.js"),i=s("./node_modules/core-js/internals/array-from.js"),l=s("./node_modules/core-js/internals/check-correctness-of-iteration.js"),a=!l(function(c){Array.from(c)});o({target:"Array",stat:!0,forced:a},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,r,s){var o=s("./node_modules/core-js/internals/string-at.js"),i=s("./node_modules/core-js/internals/internal-state.js"),l=s("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",c=i.set,u=i.getterFor(a);l(String,"String",function(f){c(this,{type:a,string:String(f),index:0})},function(){var d=u(this),y=d.string,p=d.index,m;return p>=y.length?{value:void 0,done:!0}:(m=o(y,p,!0),d.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,r){var s;s=function(){return this}();try{s=s||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(s=window)}n.exports=s},"./src/default-attrs.json":function(n){n.exports={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"}},"./src/icon.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(m){for(var _=1;_2&&arguments[2]!==void 0?arguments[2]:[];d(this,m),this.name=_,this.contents=b,this.tags=x,this.attrs=o({},u.default,{class:"feather feather-"+_})}return i(m,[{key:"toSvg",value:function(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=o({},this.attrs,b,{class:(0,a.default)(this.attrs.class,b.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function p(m){return Object.keys(m).map(function(_){return _+'="'+m[_]+'"'}).join(" ")}r.default=y},"./src/icons.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=s("./src/icon.js"),i=f(o),l=s("./dist/icons.json"),a=f(l),c=s("./src/tags.json"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}r.default=Object.keys(a.default).map(function(d){return new i.default(d,a.default[d],u.default[d])}).reduce(function(d,y){return d[y.name]=y,d},{})},"./src/index.js":function(n,r,s){var o=s("./src/icons.js"),i=f(o),l=s("./src/to-svg.js"),a=f(l),c=s("./src/replace.js"),u=f(c);function f(d){return d&&d.__esModule?d:{default:d}}n.exports={icons:i.default,toSvg:a.default,replace:u.default}},"./src/replace.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=Object.assign||function(p){for(var m=1;m0&&arguments[0]!==void 0?arguments[0]:{};if(typeof document>"u")throw new Error("`feather.replace()` only works in a browser environment.");var m=document.querySelectorAll("[data-feather]");Array.from(m).forEach(function(_){return d(_,p)})}function d(p){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},_=y(p),b=_["data-feather"];delete _["data-feather"];var x=c.default[b].toSvg(o({},m,_,{class:(0,l.default)(m.class,_.class)})),v=new DOMParser().parseFromString(x,"image/svg+xml"),O=v.querySelector("svg");p.parentNode.replaceChild(O,p)}function y(p){return Array.from(p.attributes).reduce(function(m,_){return m[_.name]=_.value,m},{})}r.default=f},"./src/tags.json":function(n){n.exports={activity:["pulse","health","action","motion"],airplay:["stream","cast","mirroring"],"alert-circle":["warning","alert","danger"],"alert-octagon":["warning","alert","danger"],"alert-triangle":["warning","alert","danger"],"align-center":["text alignment","center"],"align-justify":["text alignment","justified"],"align-left":["text alignment","left"],"align-right":["text alignment","right"],anchor:[],archive:["index","box"],"at-sign":["mention","at","email","message"],award:["achievement","badge"],aperture:["camera","photo"],"bar-chart":["statistics","diagram","graph"],"bar-chart-2":["statistics","diagram","graph"],battery:["power","electricity"],"battery-charging":["power","electricity"],bell:["alarm","notification","sound"],"bell-off":["alarm","notification","silent"],bluetooth:["wireless"],"book-open":["read","library"],book:["read","dictionary","booklet","magazine","library"],bookmark:["read","clip","marker","tag"],box:["cube"],briefcase:["work","bag","baggage","folder"],calendar:["date"],camera:["photo"],cast:["chromecast","airplay"],"chevron-down":["expand"],"chevron-up":["collapse"],circle:["off","zero","record"],clipboard:["copy"],clock:["time","watch","alarm"],"cloud-drizzle":["weather","shower"],"cloud-lightning":["weather","bolt"],"cloud-rain":["weather"],"cloud-snow":["weather","blizzard"],cloud:["weather"],codepen:["logo"],codesandbox:["logo"],code:["source","programming"],coffee:["drink","cup","mug","tea","cafe","hot","beverage"],columns:["layout"],command:["keyboard","cmd","terminal","prompt"],compass:["navigation","safari","travel","direction"],copy:["clone","duplicate"],"corner-down-left":["arrow","return"],"corner-down-right":["arrow"],"corner-left-down":["arrow"],"corner-left-up":["arrow"],"corner-right-down":["arrow"],"corner-right-up":["arrow"],"corner-up-left":["arrow"],"corner-up-right":["arrow"],cpu:["processor","technology"],"credit-card":["purchase","payment","cc"],crop:["photo","image"],crosshair:["aim","target"],database:["storage","memory"],delete:["remove"],disc:["album","cd","dvd","music"],"dollar-sign":["currency","money","payment"],droplet:["water"],edit:["pencil","change"],"edit-2":["pencil","change"],"edit-3":["pencil","change"],eye:["view","watch"],"eye-off":["view","watch","hide","hidden"],"external-link":["outbound"],facebook:["logo","social"],"fast-forward":["music"],figma:["logo","design","tool"],"file-minus":["delete","remove","erase"],"file-plus":["add","create","new"],"file-text":["data","txt","pdf"],film:["movie","video"],filter:["funnel","hopper"],flag:["report"],"folder-minus":["directory"],"folder-plus":["directory"],folder:["directory"],framer:["logo","design","tool"],frown:["emoji","face","bad","sad","emotion"],gift:["present","box","birthday","party"],"git-branch":["code","version control"],"git-commit":["code","version control"],"git-merge":["code","version control"],"git-pull-request":["code","version control"],github:["logo","version control"],gitlab:["logo","version control"],globe:["world","browser","language","translate"],"hard-drive":["computer","server","memory","data"],hash:["hashtag","number","pound"],headphones:["music","audio","sound"],heart:["like","love","emotion"],"help-circle":["question mark"],hexagon:["shape","node.js","logo"],home:["house","living"],image:["picture"],inbox:["email"],instagram:["logo","camera"],key:["password","login","authentication","secure"],layers:["stack"],layout:["window","webpage"],"life-bouy":["help","life ring","support"],link:["chain","url"],"link-2":["chain","url"],linkedin:["logo","social media"],list:["options"],lock:["security","password","secure"],"log-in":["sign in","arrow","enter"],"log-out":["sign out","arrow","exit"],mail:["email","message"],"map-pin":["location","navigation","travel","marker"],map:["location","navigation","travel"],maximize:["fullscreen"],"maximize-2":["fullscreen","arrows","expand"],meh:["emoji","face","neutral","emotion"],menu:["bars","navigation","hamburger"],"message-circle":["comment","chat"],"message-square":["comment","chat"],"mic-off":["record","sound","mute"],mic:["record","sound","listen"],minimize:["exit fullscreen","close"],"minimize-2":["exit fullscreen","arrows","close"],minus:["subtract"],monitor:["tv","screen","display"],moon:["dark","night"],"more-horizontal":["ellipsis"],"more-vertical":["ellipsis"],"mouse-pointer":["arrow","cursor"],move:["arrows"],music:["note"],navigation:["location","travel"],"navigation-2":["location","travel"],octagon:["stop"],package:["box","container"],paperclip:["attachment"],pause:["music","stop"],"pause-circle":["music","audio","stop"],"pen-tool":["vector","drawing"],percent:["discount"],"phone-call":["ring"],"phone-forwarded":["call"],"phone-incoming":["call"],"phone-missed":["call"],"phone-off":["call","mute"],"phone-outgoing":["call"],phone:["call"],play:["music","start"],"pie-chart":["statistics","diagram"],"play-circle":["music","start"],plus:["add","new"],"plus-circle":["add","new"],"plus-square":["add","new"],pocket:["logo","save"],power:["on","off"],printer:["fax","office","device"],radio:["signal"],"refresh-cw":["synchronise","arrows"],"refresh-ccw":["arrows"],repeat:["loop","arrows"],rewind:["music"],"rotate-ccw":["arrow"],"rotate-cw":["arrow"],rss:["feed","subscribe"],save:["floppy disk"],scissors:["cut"],search:["find","magnifier","magnifying glass"],send:["message","mail","email","paper airplane","paper aeroplane"],settings:["cog","edit","gear","preferences"],"share-2":["network","connections"],shield:["security","secure"],"shield-off":["security","insecure"],"shopping-bag":["ecommerce","cart","purchase","store"],"shopping-cart":["ecommerce","cart","purchase","store"],shuffle:["music"],"skip-back":["music"],"skip-forward":["music"],slack:["logo"],slash:["ban","no"],sliders:["settings","controls"],smartphone:["cellphone","device"],smile:["emoji","face","happy","good","emotion"],speaker:["audio","music"],star:["bookmark","favorite","like"],"stop-circle":["media","music"],sun:["brightness","weather","light"],sunrise:["weather","time","morning","day"],sunset:["weather","time","evening","night"],tablet:["device"],tag:["label"],target:["logo","bullseye"],terminal:["code","command line","prompt"],thermometer:["temperature","celsius","fahrenheit","weather"],"thumbs-down":["dislike","bad","emotion"],"thumbs-up":["like","good","emotion"],"toggle-left":["on","off","switch"],"toggle-right":["on","off","switch"],tool:["settings","spanner"],trash:["garbage","delete","remove","bin"],"trash-2":["garbage","delete","remove","bin"],triangle:["delta"],truck:["delivery","van","shipping","transport","lorry"],tv:["television","stream"],twitch:["logo"],twitter:["logo","social"],type:["text"],umbrella:["rain","weather"],unlock:["security"],"user-check":["followed","subscribed"],"user-minus":["delete","remove","unfollow","unsubscribe"],"user-plus":["new","add","create","follow","subscribe"],"user-x":["delete","remove","unfollow","unsubscribe","unavailable"],user:["person","account"],users:["group"],"video-off":["camera","movie","film"],video:["camera","movie","film"],voicemail:["phone"],volume:["music","sound","mute"],"volume-1":["music","sound"],"volume-2":["music","sound"],"volume-x":["music","sound","mute"],watch:["clock","time"],"wifi-off":["disabled"],wifi:["connection","signal","wireless"],wind:["weather","air"],"x-circle":["cancel","close","delete","remove","times","clear"],"x-octagon":["delete","stop","alert","warning","times","clear"],"x-square":["cancel","close","delete","remove","times","clear"],x:["cancel","close","delete","remove","times","clear"],youtube:["logo","video","play"],"zap-off":["flash","camera","lightning"],zap:["flash","camera","lightning"],"zoom-in":["magnifying glass"],"zoom-out":["magnifying glass"]}},"./src/to-svg.js":function(n,r,s){Object.defineProperty(r,"__esModule",{value:!0});var o=s("./src/icons.js"),i=l(o);function l(c){return c&&c.__esModule?c:{default:c}}function a(c){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(console.warn("feather.toSvg() is deprecated. Please use feather.icons[name].toSvg() instead."),!c)throw new Error("The required `key` (icon name) parameter is missing.");if(!i.default[c])throw new Error("No icon matching '"+c+"'. See the complete list of icons at https://feathericons.com");return i.default[c].toSvg(u)}r.default=a},0:function(n,r,s){s("./node_modules/core-js/es/array/from.js"),n.exports=s("./src/index.js")}})})})(Wf);const Nn=Kf(cs),qf={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},Jf={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},Gf={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},Yf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Qf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),Xf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),Zf=w("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),ed=w("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),_l={__name:"Navigation",setup(e){return(t,n)=>(Y(),ie("div",qf,[w("div",Jf,[w("ul",Gf,[w("li",null,[pe(Fe(Ft),{to:{name:"discussions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Yf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"settings"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Qf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"extensions"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Xf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"training"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[Zf]),_:1})]),w("li",null,[pe(Fe(Ft),{to:{name:"help"},"active-class":" bg-bg-light-tone dark:bg-bg-dark-tone p-2 px-4 rounded-t-lg "},{default:Ot(()=>[ed]),_:1})])])])]))}},td={class:"top-0 shadow-lg"},nd={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},rd=w("div",{class:"flex items-center gap-3 flex-1"},[w("img",{class:"w-12 hover:scale-95 duration-150",title:"GPT4ALL-UI",src:jl,alt:"Logo"}),w("p",{class:"text-2xl"},"GPT4ALL-UI")],-1),sd={class:"flex gap-3 flex-1 items-center justify-end"},od=w("a",{href:"https://github.com/nomic-ai/gpt4all-ui",target:"_blank"},[w("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[w("i",{"data-feather":"github"})])],-1),id=w("i",{"data-feather":"sun"},null,-1),ld=[id],ad=w("i",{"data-feather":"moon"},null,-1),cd=[ad],ud=w("body",null,null,-1),fd={name:"TopBar",data(){return{sunIcon:document.querySelector(".sun"),moonIcon:document.querySelector(".moon"),userTheme:localStorage.getItem("theme"),systemTheme:window.matchMedia("prefers-color-scheme: dark").matches}},mounted(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches,this.themeCheck(),ft(()=>{Nn.replace()})},created(){this.sunIcon=document.querySelector(".sun"),this.moonIcon=document.querySelector(".moon"),this.userTheme=localStorage.getItem("theme"),this.systemTheme=window.matchMedia("prefers-color-scheme: dark").matches},methods:{themeCheck(){if(this.userTheme=="dark"||!this.userTheme&&this.systemTheme){document.documentElement.classList.add("dark"),this.moonIcon.classList.add("display-none");return}this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.iconToggle();return}document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:_l}},dd=Object.assign(fd,{setup(e){return(t,n)=>(Y(),ie(je,null,[w("header",td,[w("nav",nd,[pe(Fe(Ft),{to:{name:"discussions"}},{default:Ot(()=>[rd]),_:1}),w("div",sd,[od,w("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=r=>t.themeSwitch())},ld),w("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=r=>t.themeSwitch())},cd)])]),pe(_l)]),ud],64))}}),xt=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},hd={class:"flex flex-col h-screen max-h-screen font-sans bg-bg-light text-slate-950 dark:bg-bg-dark dark:text-slate-50"},pd={class:"flex overflow-hidden flex-grow"},yd={__name:"App",setup(e){return(t,n)=>(Y(),ie("div",hd,[pe(dd),w("div",pd,[pe(Fe(wl),null,{default:Ot(({Component:r})=>[(Y(),Ht(Ec,null,[(Y(),Ht(Nc(r)))],1024))]),_:1})])]))}},md={setup(){return{}}};function gd(e,t,n,r,s,o){return Y(),ie("div",null," Extensions ")}const xd=xt(md,[["render",gd]]),vd={setup(){return{}}};function bd(e,t,n,r,s,o){return Y(),ie("div",null," Help ")}const wd=xt(vd,[["render",bd]]);function El(e,t){return function(){return e.apply(t,arguments)}}const{toString:jd}=Object.prototype,{getPrototypeOf:$s}=Object,Er=(e=>t=>{const n=jd.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),vt=e=>(e=e.toLowerCase(),t=>Er(t)===e),Ar=e=>t=>typeof t===e,{isArray:an}=Array,Tn=Ar("undefined");function _d(e){return e!==null&&!Tn(e)&&e.constructor!==null&&!Tn(e.constructor)&&mt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Al=vt("ArrayBuffer");function Ed(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Al(e.buffer),t}const Ad=Ar("string"),mt=Ar("function"),Ol=Ar("number"),Vs=e=>e!==null&&typeof e=="object",Od=e=>e===!0||e===!1,Gn=e=>{if(Er(e)!=="object")return!1;const t=$s(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Sd=vt("Date"),Rd=vt("File"),kd=vt("Blob"),Md=vt("FileList"),Td=e=>Vs(e)&&mt(e.pipe),Cd=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||mt(e.append)&&((t=Er(e))==="formdata"||t==="object"&&mt(e.toString)&&e.toString()==="[object FormData]"))},Pd=vt("URLSearchParams"),Nd=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function In(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),an(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Rl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),kl=e=>!Tn(e)&&e!==Rl;function us(){const{caseless:e}=kl(this)&&this||{},t={},n=(r,s)=>{const o=e&&Sl(t,s)||s;Gn(t[o])&&Gn(r)?t[o]=us(t[o],r):Gn(r)?t[o]=us({},r):an(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r(In(t,(s,o)=>{n&&mt(s)?e[o]=El(s,n):e[o]=s},{allOwnKeys:r}),e),Ld=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fd=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Bd=(e,t,n,r)=>{let s,o,i;const l={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)i=s[o],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&$s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Hd=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Dd=e=>{if(!e)return null;if(an(e))return e;let t=e.length;if(!Ol(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},zd=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&$s(Uint8Array)),$d=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},Vd=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Ud=vt("HTMLFormElement"),Kd=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Wo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Wd=vt("RegExp"),Ml=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};In(n,(s,o)=>{t(s,o,e)!==!1&&(r[o]=s)}),Object.defineProperties(e,r)},qd=e=>{Ml(e,(t,n)=>{if(mt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(mt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Jd=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return an(e)?r(e):r(String(e).split(t)),n},Gd=()=>{},Yd=(e,t)=>(e=+e,Number.isFinite(e)?e:t),$r="abcdefghijklmnopqrstuvwxyz",qo="0123456789",Tl={DIGIT:qo,ALPHA:$r,ALPHA_DIGIT:$r+$r.toUpperCase()+qo},Qd=(e=16,t=Tl.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Xd(e){return!!(e&&mt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Zd=e=>{const t=new Array(10),n=(r,s)=>{if(Vs(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=an(r)?[]:{};return In(r,(i,l)=>{const a=n(i,s+1);!Tn(a)&&(o[l]=a)}),t[s]=void 0,o}}return r};return n(e,0)},E={isArray:an,isArrayBuffer:Al,isBuffer:_d,isFormData:Cd,isArrayBufferView:Ed,isString:Ad,isNumber:Ol,isBoolean:Od,isObject:Vs,isPlainObject:Gn,isUndefined:Tn,isDate:Sd,isFile:Rd,isBlob:kd,isRegExp:Wd,isFunction:mt,isStream:Td,isURLSearchParams:Pd,isTypedArray:zd,isFileList:Md,forEach:In,merge:us,extend:Id,trim:Nd,stripBOM:Ld,inherits:Fd,toFlatObject:Bd,kindOf:Er,kindOfTest:vt,endsWith:Hd,toArray:Dd,forEachEntry:$d,matchAll:Vd,isHTMLForm:Ud,hasOwnProperty:Wo,hasOwnProp:Wo,reduceDescriptors:Ml,freezeMethods:qd,toObjectSet:Jd,toCamelCase:Kd,noop:Gd,toFiniteNumber:Yd,findKey:Sl,global:Rl,isContextDefined:kl,ALPHABET:Tl,generateString:Qd,isSpecCompliantForm:Xd,toJSONObject:Zd};function re(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}E.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:E.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Cl=re.prototype,Pl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Pl[e]={value:e}});Object.defineProperties(re,Pl);Object.defineProperty(Cl,"isAxiosError",{value:!0});re.from=(e,t,n,r,s,o)=>{const i=Object.create(Cl);return E.toFlatObject(e,i,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),re.call(i,e.message,t,n,r,s),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const e1=null;function fs(e){return E.isPlainObject(e)||E.isArray(e)}function Nl(e){return E.endsWith(e,"[]")?e.slice(0,-2):e}function Jo(e,t,n){return e?e.concat(t).map(function(s,o){return s=Nl(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function t1(e){return E.isArray(e)&&!e.some(fs)}const n1=E.toFlatObject(E,{},null,function(t){return/^is[A-Z]/.test(t)});function Or(e,t,n){if(!E.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=E.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,_){return!E.isUndefined(_[m])});const r=n.metaTokens,s=n.visitor||u,o=n.dots,i=n.indexes,a=(n.Blob||typeof Blob<"u"&&Blob)&&E.isSpecCompliantForm(t);if(!E.isFunction(s))throw new TypeError("visitor must be a function");function c(p){if(p===null)return"";if(E.isDate(p))return p.toISOString();if(!a&&E.isBlob(p))throw new re("Blob is not supported. Use a Buffer instead.");return E.isArrayBuffer(p)||E.isTypedArray(p)?a&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,m,_){let b=p;if(p&&!_&&typeof p=="object"){if(E.endsWith(m,"{}"))m=r?m:m.slice(0,-2),p=JSON.stringify(p);else if(E.isArray(p)&&t1(p)||(E.isFileList(p)||E.endsWith(m,"[]"))&&(b=E.toArray(p)))return m=Nl(m),b.forEach(function(v,O){!(E.isUndefined(v)||v===null)&&t.append(i===!0?Jo([m],O,o):i===null?m:m+"[]",c(v))}),!1}return fs(p)?!0:(t.append(Jo(_,m,o),c(p)),!1)}const f=[],d=Object.assign(n1,{defaultVisitor:u,convertValue:c,isVisitable:fs});function y(p,m){if(!E.isUndefined(p)){if(f.indexOf(p)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(p),E.forEach(p,function(b,x){(!(E.isUndefined(b)||b===null)&&s.call(t,b,E.isString(x)?x.trim():x,m,d))===!0&&y(b,m?m.concat(x):[x])}),f.pop()}}if(!E.isObject(e))throw new TypeError("data must be an object");return y(e),t}function Go(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Us(e,t){this._pairs=[],e&&Or(e,this,t)}const Il=Us.prototype;Il.append=function(t,n){this._pairs.push([t,n])};Il.toString=function(t){const n=t?function(r){return t.call(this,r,Go)}:Go;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function r1(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ll(e,t,n){if(!t)return e;const r=n&&n.encode||r1,s=n&&n.serialize;let o;if(s?o=s(t,n):o=E.isURLSearchParams(t)?t.toString():new Us(t,n).toString(r),o){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class s1{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){E.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Yo=s1,Fl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},o1=typeof URLSearchParams<"u"?URLSearchParams:Us,i1=typeof FormData<"u"?FormData:null,l1=typeof Blob<"u"?Blob:null,a1=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),c1=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),rt={isBrowser:!0,classes:{URLSearchParams:o1,FormData:i1,Blob:l1},isStandardBrowserEnv:a1,isStandardBrowserWebWorkerEnv:c1,protocols:["http","https","file","blob","url","data"]};function u1(e,t){return Or(e,new rt.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return rt.isNode&&E.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function f1(e){return E.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function d1(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r=n.length;return i=!i&&E.isArray(s)?s.length:i,a?(E.hasOwnProp(s,i)?s[i]=[s[i],r]:s[i]=r,!l):((!s[i]||!E.isObject(s[i]))&&(s[i]=[]),t(n,r,s[i],o)&&E.isArray(s[i])&&(s[i]=d1(s[i])),!l)}if(E.isFormData(e)&&E.isFunction(e.entries)){const n={};return E.forEachEntry(e,(r,s)=>{t(f1(r),s,n,0)}),n}return null}const h1={"Content-Type":void 0};function p1(e,t,n){if(E.isString(e))try{return(t||JSON.parse)(e),E.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Sr={transitional:Fl,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=E.isObject(t);if(o&&E.isHTMLForm(t)&&(t=new FormData(t)),E.isFormData(t))return s&&s?JSON.stringify(Bl(t)):t;if(E.isArrayBuffer(t)||E.isBuffer(t)||E.isStream(t)||E.isFile(t)||E.isBlob(t))return t;if(E.isArrayBufferView(t))return t.buffer;if(E.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return u1(t,this.formSerializer).toString();if((l=E.isFileList(t))||r.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return Or(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),p1(t)):t}],transformResponse:[function(t){const n=this.transitional||Sr.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&E.isString(t)&&(r&&!this.responseType||s)){const i=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?re.from(l,re.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:rt.classes.FormData,Blob:rt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};E.forEach(["delete","get","head"],function(t){Sr.headers[t]={}});E.forEach(["post","put","patch"],function(t){Sr.headers[t]=E.merge(h1)});const Ks=Sr,y1=E.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),m1=e=>{const t={};let n,r,s;return e&&e.split(` +`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&y1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Qo=Symbol("internals");function dn(e){return e&&String(e).trim().toLowerCase()}function Yn(e){return e===!1||e==null?e:E.isArray(e)?e.map(Yn):String(e)}function g1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const x1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vr(e,t,n,r,s){if(E.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function v1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function b1(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Rr{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,a,c){const u=dn(a);if(!u)throw new Error("header name must be a non-empty string");const f=E.findKey(s,u);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||a]=Yn(l))}const i=(l,a)=>E.forEach(l,(c,u)=>o(c,u,a));return E.isPlainObject(t)||t instanceof this.constructor?i(t,n):E.isString(t)&&(t=t.trim())&&!x1(t)?i(m1(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=dn(t),t){const r=E.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return g1(s);if(E.isFunction(n))return n.call(this,s,r);if(E.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=dn(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=dn(i),i){const l=E.findKey(r,i);l&&(!n||Vr(r,r[l],l,n))&&(delete r[l],s=!0)}}return E.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Vr(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return E.forEach(this,(s,o)=>{const i=E.findKey(r,o);if(i){n[i]=Yn(s),delete n[o];return}const l=t?v1(o):String(o).trim();l!==o&&delete n[o],n[l]=Yn(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Qo]=this[Qo]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=dn(i);r[l]||(b1(s,i),r[l]=!0)}return E.isArray(t)?t.forEach(o):o(t),this}}Rr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.freezeMethods(Rr.prototype);E.freezeMethods(Rr);const ht=Rr;function Ur(e,t){const n=this||Ks,r=t||n,s=ht.from(r.headers);let o=r.data;return E.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function Ln(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(Ln,re,{__CANCEL__:!0});function w1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const j1=rt.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,l){const a=[];a.push(n+"="+encodeURIComponent(r)),E.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),E.isString(o)&&a.push("path="+o),E.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function _1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function E1(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Dl(e,t){return e&&!_1(t)?E1(e,t):t}const A1=rt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=E.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function O1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function S1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=r[o];i||(i=c),n[s]=a,r[s]=c;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i{const o=s.loaded,i=s.lengthComputable?s.total:void 0,l=o-n,a=r(l),c=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:a||void 0,estimated:a&&i&&c?(i-o)/a:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const R1=typeof XMLHttpRequest<"u",k1=R1&&function(e){return new Promise(function(n,r){let s=e.data;const o=ht.from(e.headers).normalize(),i=e.responseType;let l;function a(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}E.isFormData(s)&&(rt.isStandardBrowserEnv||rt.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(y+":"+p))}const u=Dl(e.baseURL,e.url);c.open(e.method.toUpperCase(),Ll(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const y=ht.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:y,config:e,request:c};w1(function(b){n(b),a()},function(b){r(b),a()},m),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(r(new re("Request aborted",re.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let p=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Fl;e.timeoutErrorMessage&&(p=e.timeoutErrorMessage),r(new re(p,m.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,c)),c=null},rt.isStandardBrowserEnv){const y=(e.withCredentials||A1(u))&&e.xsrfCookieName&&j1.read(e.xsrfCookieName);y&&o.set(e.xsrfHeaderName,y)}s===void 0&&o.setContentType(null),"setRequestHeader"in c&&E.forEach(o.toJSON(),function(p,m){c.setRequestHeader(m,p)}),E.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",Xo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Xo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=y=>{c&&(r(!y||y.type?new Ln(null,e,c):y),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const d=O1(u);if(d&&rt.protocols.indexOf(d)===-1){r(new re("Unsupported protocol "+d+":",re.ERR_BAD_REQUEST,e));return}c.send(s||null)})},Qn={http:e1,xhr:k1};E.forEach(Qn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const M1={getAdapter:e=>{e=E.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let s=0;se instanceof ht?e.toJSON():e;function sn(e,t){t=t||{};const n={};function r(c,u,f){return E.isPlainObject(c)&&E.isPlainObject(u)?E.merge.call({caseless:f},c,u):E.isPlainObject(u)?E.merge({},u):E.isArray(u)?u.slice():u}function s(c,u,f){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c,f)}else return r(c,u,f)}function o(c,u){if(!E.isUndefined(u))return r(void 0,u)}function i(c,u){if(E.isUndefined(u)){if(!E.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function l(c,u,f){if(f in t)return r(c,u);if(f in e)return r(void 0,c)}const a={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>s(ei(c),ei(u),!0)};return E.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const f=a[u]||s,d=f(e[u],t[u],u);E.isUndefined(d)&&f!==l||(n[u]=d)}),n}const zl="1.3.6",Ws={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ws[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ti={};Ws.transitional=function(t,n,r){function s(o,i){return"[Axios v"+zl+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new re(s(i," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!ti[i]&&(ti[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function T1(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],i=t[o];if(i){const l=e[o],a=l===void 0||i(l,o,e);if(a!==!0)throw new re("option "+o+" must be "+a,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+o,re.ERR_BAD_OPTION)}}const ds={assertOptions:T1,validators:Ws},_t=ds.validators;class cr{constructor(t){this.defaults=t,this.interceptors={request:new Yo,response:new Yo}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=sn(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&ds.assertOptions(r,{silentJSONParsing:_t.transitional(_t.boolean),forcedJSONParsing:_t.transitional(_t.boolean),clarifyTimeoutError:_t.transitional(_t.boolean)},!1),s!=null&&(E.isFunction(s)?n.paramsSerializer={serialize:s}:ds.assertOptions(s,{encode:_t.function,serialize:_t.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=o&&E.merge(o.common,o[n.method]),i&&E.forEach(["delete","get","head","post","put","patch","common"],p=>{delete o[p]}),n.headers=ht.concat(i,o);const l=[];let a=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(a=a&&m.synchronous,l.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,d;if(!a){const p=[Zo.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),d=p.length,u=Promise.resolve(n);f{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const i=new Promise(l=>{r.subscribe(l),o=l}).then(s);return i.cancel=function(){r.unsubscribe(o)},i},t(function(o,i,l){r.reason||(r.reason=new Ln(o,i,l),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new qs(function(s){t=s}),cancel:t}}}const C1=qs;function P1(e){return function(n){return e.apply(null,n)}}function N1(e){return E.isObject(e)&&e.isAxiosError===!0}const hs={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(hs).forEach(([e,t])=>{hs[t]=e});const I1=hs;function $l(e){const t=new Xn(e),n=El(Xn.prototype.request,t);return E.extend(n,Xn.prototype,t,{allOwnKeys:!0}),E.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return $l(sn(e,s))},n}const _e=$l(Ks);_e.Axios=Xn;_e.CanceledError=Ln;_e.CancelToken=C1;_e.isCancel=Hl;_e.VERSION=zl;_e.toFormData=Or;_e.AxiosError=re;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=P1;_e.isAxiosError=N1;_e.mergeConfig=sn;_e.AxiosHeaders=ht;_e.formToJSON=e=>Bl(E.isHTMLForm(e)?new FormData(e):e);_e.HttpStatusCode=I1;_e.default=_e;const ps=_e,L1={setup(){return{}},data(){return{backendsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{}}},methods:{async api_get_req(e){try{const t=await ps.get("/"+e);if(t)return t.data}catch(t){return console.log(t),[]}}},async mounted(){this.backendsArr=await this.api_get_req("list_backends"),this.modelsArr=await this.api_get_req("list_models"),this.persLangArr=await this.api_get_req("list_personalities_languages"),this.persCatgArr=await this.api_get_req("list_personalities_categories"),this.persArr=await this.api_get_req("list_personalities"),this.langArr=await this.api_get_req("list_languages"),this.configFile=await this.api_get_req("get_config")}},F1={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[29rem] max-w-[29rem] bg-bg-light-tone dark:bg-bg-dark-tone"},B1={class:"p-2"},H1={class:"m-2"},D1=w("label",{for:"backend",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Backend: ",-1),z1={id:"backend",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},$1={class:"m-2"},V1=w("label",{for:"model",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Model: ",-1),U1={id:"model",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},K1={class:"m-2"},W1=w("label",{for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Languages: ",-1),q1={id:"persLang",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},J1={class:"m-2"},G1=w("label",{for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Personalities Category: ",-1),Y1={id:"persCat",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},Q1={class:"m-2"},X1=w("label",{for:"persona",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"}," Persona: ",-1),Z1={id:"persona",class:"bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500"},eh={class:"m-2"},th=w("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1),nh={class:"m-2"},rh={class:"flex flex-col align-bottom"},sh={class:"relative"},oh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"temp",class:"text-sm font-medium"}," Temperature: ")],-1),ih={class:"absolute right-0"},lh={class:"m-2"},ah={class:"flex flex-col align-bottom"},ch={class:"relative"},uh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1),fh={class:"absolute right-0"},dh={class:"m-2"},hh={class:"flex flex-col align-bottom"},ph={class:"relative"},yh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1),mh={class:"absolute right-0"},gh={class:"m-2"},xh={class:"flex flex-col align-bottom"},vh={class:"relative"},bh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1),wh={class:"absolute right-0"},jh={class:"m-2"},_h={class:"flex flex-col align-bottom"},Eh={class:"relative"},Ah=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1),Oh={class:"absolute right-0"},Sh={class:"m-2"},Rh={class:"flex flex-col align-bottom"},kh={class:"relative"},Mh=w("p",{class:"absolute left-0 mt-6"},[w("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1),Th={class:"absolute right-0"};function Ch(e,t,n,r,s,o){return Y(),ie("div",F1,[w("div",B1,[w("div",H1,[D1,w("select",z1,[(Y(!0),ie(je,null,It(s.backendsArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",$1,[V1,w("select",U1,[(Y(!0),ie(je,null,It(s.modelsArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",K1,[W1,w("select",q1,[(Y(!0),ie(je,null,It(s.persLangArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",J1,[G1,w("select",Y1,[(Y(!0),ie(je,null,It(s.persCatgArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",Q1,[X1,w("select",Z1,[(Y(!0),ie(je,null,It(s.persArr,i=>(Y(),ie("option",null,ct(i),1))),256))])]),w("div",eh,[th,Ce(w("input",{type:"text",id:"seed","onUpdate:modelValue":t[0]||(t[0]=i=>s.configFile.seed=i),class:"bg-gray-50 border border-gray-300 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.seed]])]),w("div",nh,[w("div",rh,[w("div",sh,[oh,w("p",ih,[Ce(w("input",{type:"text",id:"temp-val","onUpdate:modelValue":t[1]||(t[1]=i=>s.configFile.temp=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.temp]])])]),Ce(w("input",{id:"temp",type:"range","onUpdate:modelValue":t[2]||(t[2]=i=>s.configFile.temp=i),min:"0",max:"5",step:"0.1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.temp]])])]),w("div",lh,[w("div",ah,[w("div",ch,[uh,w("p",fh,[Ce(w("input",{type:"text",id:"predict-val","onUpdate:modelValue":t[3]||(t[3]=i=>s.configFile.n_predict=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.n_predict]])])]),Ce(w("input",{id:"predict",type:"range","onUpdate:modelValue":t[4]||(t[4]=i=>s.configFile.n_predict=i),min:"0",max:"2048",step:"32",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.n_predict]])])]),w("div",dh,[w("div",hh,[w("div",ph,[yh,w("p",mh,[Ce(w("input",{type:"text",id:"top_k-val","onUpdate:modelValue":t[5]||(t[5]=i=>s.configFile.top_k=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_k]])])]),Ce(w("input",{id:"top_k",type:"range","onUpdate:modelValue":t[6]||(t[6]=i=>s.configFile.top_k=i),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_k]])])]),w("div",gh,[w("div",xh,[w("div",vh,[bh,w("p",wh,[Ce(w("input",{type:"text",id:"top_p-val","onUpdate:modelValue":t[7]||(t[7]=i=>s.configFile.top_p=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_p]])])]),Ce(w("input",{id:"top_p",type:"range","onUpdate:modelValue":t[8]||(t[8]=i=>s.configFile.top_p=i),min:"0",max:"1",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.top_p]])])]),w("div",jh,[w("div",_h,[w("div",Eh,[Ah,w("p",Oh,[Ce(w("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":t[9]||(t[9]=i=>s.configFile.repeat_penalty=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_penalty]])])]),Ce(w("input",{id:"repeat_penalty",type:"range","onUpdate:modelValue":t[10]||(t[10]=i=>s.configFile.repeat_penalty=i),min:"0",max:"2",step:"0.01",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_penalty]])])]),w("div",Sh,[w("div",Rh,[w("div",kh,[Mh,w("p",Th,[Ce(w("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":t[11]||(t[11]=i=>s.configFile.repeat_last_n=i),class:"mt-2 w-16 text-right p-2 border border-gray-300 rounded-lg bg-gray-50 sm:text-xs focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_last_n]])])]),Ce(w("input",{id:"repeat_last_n",type:"range","onUpdate:modelValue":t[12]||(t[12]=i=>s.configFile.repeat_last_n=i),min:"0",max:"100",step:"1",class:"flex-none h-2 mt-14 mb-2 w-full bg-gray-200 rounded-lg appearance-none cursor-pointer dark:bg-gray-700 focus:ring-blue-500 focus:border-blue-500 dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-blue-500 dark:focus:border-blue-500"},null,512),[[Pe,s.configFile.repeat_last_n]])])])])])}const Ph=xt(L1,[["render",Ch]]),Nh={setup(){return{}}};function Ih(e,t,n,r,s,o){return Y(),ie("div",null," Training ")}const Lh=xt(Nh,[["render",Ih]]),Fh={name:"Discussion",props:{id:Number,title:String,selected:Boolean,loading:Boolean},setup(){},data(){return{}},methods:{},mounted(){ft(()=>{Nn.replace()})}},Bh={key:1,class:"items-center inline-block min-h-full w-2 rounded-xl self-stretch"},Hh={class:"truncate w-auto"},Dh=wr('
',1);function zh(e,t,n,r,s,o){return Y(),ie("div",{class:ut([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","container flex flex-col sm:flex-row item-center gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"])},[n.selected?(Y(),ie("div",{key:0,class:ut(["items-center inline-block min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):(Y(),ie("div",Bh)),w("p",Hh,ct(n.title),1),Dh],2)}const Vl=xt(Fh,[["render",zh]]),$h={name:"Message",props:{message:Object},data(){return{senderImg:""}},mounted(){ft(()=>{Nn.replace()})}},Vh={class:"group rounded-lg m-2 shadow-lg hover:border-primary dark:hover:border-primary hover:border-solid hover:border-2 border-2 border-transparent even:bg-bg-light-discussion-odd dark:even:bg-bg-dark-discussion-odd flex-row p-4 pb-2"},Uh={class:"w-30 flex"},Kh={class:"w-10 h-10 rounded-lg object-fill drop-shadow-md group-even:bg-primary bg-secondary"},Wh=["src"],qh={class:"drop-shadow-sm py-0 px-2 text-lg text-opacity-95 font-bold"},Jh={class:"-mt-4 ml-10 mr-0 pt-1 px-2 max-w-screen-2xl"},Gh={class:"invisible group-hover:visible flex flex-row mt-3 -mb-2"},Yh=wr('
',5),Qh={class:"flex flex-row items-center"},Xh=w("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote"},[w("i",{"data-feather":"thumbs-down"})],-1);function Zh(e,t,n,r,s,o){return Y(),ie("div",Vh,[w("div",Uh,[w("div",Kh,[s.senderImg?(Y(),ie("img",{key:0,src:s.senderImg,class:"w-10 h-10 rounded-full object-fill"},null,8,Wh)):wn("",!0)]),w("p",qh,ct(n.message.sender),1)]),w("div",Jh,ct(n.message.content),1),w("div",Gh,[Yh,w("div",Qh,[Xh,n.message.rank!=0?(Y(),ie("div",{key:0,class:ut(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ct(n.message.rank),3)):wn("",!0)])])])}const Ul=xt($h,[["render",Zh]]),ep={name:"ChatBox",emits:["messageSentEvent"],setup(){return{}},methods:{sendMessageEvent(e){this.$emit("messageSentEvent",e)},submitOnEnter(e){e.which===13&&(e.preventDefault(),console.log("enter detected"),e.repeat||(this.sendMessageEvent(e.target.value),e.target.value=""))}},mounted(){ft(()=>{Nn.replace()})},activated(){}},tp={class:"flex-none sticky bottom-0 p-6 items-center justify-center self-center right-0 left-0"},np=w("label",{for:"chat",class:"sr-only"},"Send message",-1),rp={class:"flex items-center gap-2 px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},sp=w("button",{type:"submit",on:"","on-click":"",class:"inline-flex justify-center p-2 rounded-full cursor-pointer hover:text-primary duration-75 active:scale-90"},[w("i",{"data-feather":"send",class:"w-6 h-6 m-1"}),w("span",{class:"sr-only"},"Send message")],-1);function op(e,t,n,r,s,o){return Y(),ie("div",tp,[w("form",null,[np,w("div",rp,[w("textarea",{id:"chat",rows:"1",class:"block min-h-11 no-scrollbar p-2.5 w-full text-sm text-gray-900 bg-bg-light rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500",placeholder:"Send message...",onKeydown:t[0]||(t[0]=Fu(Iu(i=>o.submitOnEnter(i),["exact"]),["enter"]))},null,32),sp])])])}const Kl=xt(ep,[["render",op]]),ip={name:"WelcomeComponent",setup(){return{}}},lp={class:"flex flex-col text-center"},ap=wr('
Logo

GPT4ALL-UI


Welcome, please create a new discussion or select existing one to start

',1),cp=[ap];function up(e,t,n,r,s,o){return Y(),ie("div",lp,cp)}const Wl=xt(ip,[["render",up]]),it=Object.create(null);it.open="0";it.close="1";it.ping="2";it.pong="3";it.message="4";it.upgrade="5";it.noop="6";const Zn=Object.create(null);Object.keys(it).forEach(e=>{Zn[it[e]]=e});const fp={type:"error",data:"parser error"},dp=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",hp=typeof ArrayBuffer=="function",pp=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,ql=({type:e,data:t},n,r)=>dp&&t instanceof Blob?n?r(t):ni(t,r):hp&&(t instanceof ArrayBuffer||pp(t))?n?r(t):ni(new Blob([t]),r):r(it[e]+(t||"")),ni=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)},ri="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mn=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e{let t=e.length*.75,n=e.length,r,s=0,o,i,l,a;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const c=new ArrayBuffer(t),u=new Uint8Array(c);for(r=0;r>4,u[s++]=(i&15)<<4|l>>2,u[s++]=(l&3)<<6|a&63;return c},mp=typeof ArrayBuffer=="function",Jl=(e,t)=>{if(typeof e!="string")return{type:"message",data:Gl(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:gp(e.substring(1),t)}:Zn[n]?e.length>1?{type:Zn[n],data:e.substring(1)}:{type:Zn[n]}:fp},gp=(e,t)=>{if(mp){const n=yp(e);return Gl(n,t)}else return{base64:!0,data:e}},Gl=(e,t)=>{switch(t){case"blob":return e instanceof ArrayBuffer?new Blob([e]):e;case"arraybuffer":default:return e}},Yl=String.fromCharCode(30),xp=(e,t)=>{const n=e.length,r=new Array(n);let s=0;e.forEach((o,i)=>{ql(o,!1,l=>{r[i]=l,++s===n&&t(r.join(Yl))})})},vp=(e,t)=>{const n=e.split(Yl),r=[];for(let s=0;stypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Xl(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const wp=ze.setTimeout,jp=ze.clearTimeout;function kr(e,t){t.useNativeTimers?(e.setTimeoutFn=wp.bind(ze),e.clearTimeoutFn=jp.bind(ze)):(e.setTimeoutFn=ze.setTimeout.bind(ze),e.clearTimeoutFn=ze.clearTimeout.bind(ze))}const _p=1.33;function Ep(e){return typeof e=="string"?Ap(e):Math.ceil((e.byteLength||e.size)*_p)}function Ap(e){let t=0,n=0;for(let r=0,s=e.length;r=57344?n+=3:(r++,n+=4);return n}class Op extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class Zl extends ve{constructor(t){super(),this.writable=!1,kr(this,t),this.opts=t,this.query=t.query,this.socket=t.socket}onError(t,n,r){return super.emitReserved("error",new Op(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Jl(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}}const ea="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ys=64,Sp={};let si=0,Vn=0,oi;function ii(e){let t="";do t=ea[e%ys]+t,e=Math.floor(e/ys);while(e>0);return t}function ta(){const e=ii(+new Date);return e!==oi?(si=0,oi=e):e+"."+ii(si++)}for(;Vn{this.readyState="paused",t()};if(this.polling||!this.writable){let r=0;this.polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};vp(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,xp(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let t=this.query||{};const n=this.opts.secure?"https":"http";let r="";this.opts.timestampRequests!==!1&&(t[this.opts.timestampParam]=ta()),!this.supportsBinary&&!t.sid&&(t.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port);const s=na(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}request(t={}){return Object.assign(t,{xd:this.xd,xs:this.xs},this.opts),new st(this.uri(),t)}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(s,o)=>{this.onError("xhr post error",s,o)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class st extends ve{constructor(t,n){super(),kr(this,n),this.opts=n,this.method=n.method||"GET",this.uri=t,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const t=Xl(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this.opts.xd,t.xscheme=!!this.opts.xs;const n=this.xhr=new sa(t);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let r in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(r)&&n.setRequestHeader(r,this.opts.extraHeaders[r])}}catch{}if(this.method==="POST")try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{n.setRequestHeader("Accept","*/*")}catch{}"withCredentials"in n&&(n.withCredentials=this.opts.withCredentials),this.opts.requestTimeout&&(n.timeout=this.opts.requestTimeout),n.onreadystatechange=()=>{n.readyState===4&&(n.status===200||n.status===1223?this.onLoad():this.setTimeoutFn(()=>{this.onError(typeof n.status=="number"?n.status:0)},0))},n.send(this.data)}catch(r){this.setTimeoutFn(()=>{this.onError(r)},0);return}typeof document<"u"&&(this.index=st.requestsCount++,st.requests[this.index]=this)}onError(t){this.emitReserved("error",t,this.xhr),this.cleanup(!0)}cleanup(t){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Mp,t)try{this.xhr.abort()}catch{}typeof document<"u"&&delete st.requests[this.index],this.xhr=null}}onLoad(){const t=this.xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}st.requestsCount=0;st.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",li);else if(typeof addEventListener=="function"){const e="onpagehide"in ze?"pagehide":"unload";addEventListener(e,li,!1)}}function li(){for(let e in st.requests)st.requests.hasOwnProperty(e)&&st.requests[e].abort()}const oa=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0))(),Un=ze.WebSocket||ze.MozWebSocket,ai=!0,Pp="arraybuffer",ci=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Np extends Zl{constructor(t){super(t),this.supportsBinary=!t.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const t=this.uri(),n=this.opts.protocols,r=ci?{}:Xl(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=ai&&!ci?n?new Un(t,n):new Un(t):new Un(t,n,r)}catch(s){return this.emitReserved("error",s)}this.ws.binaryType=this.socket.binaryType||Pp,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n{const i={};try{ai&&this.ws.send(o)}catch{}s&&oa(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let t=this.query||{};const n=this.opts.secure?"wss":"ws";let r="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(r=":"+this.opts.port),this.opts.timestampRequests&&(t[this.opts.timestampParam]=ta()),this.supportsBinary||(t.b64=1);const s=na(t),o=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(o?"["+this.opts.hostname+"]":this.opts.hostname)+r+this.opts.path+(s.length?"?"+s:"")}check(){return!!Un}}const Ip={websocket:Np,polling:Cp},Lp=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Fp=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ms(e){const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let s=Lp.exec(e||""),o={},i=14;for(;i--;)o[Fp[i]]=s[i]||"";return n!=-1&&r!=-1&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=Bp(o,o.path),o.queryKey=Hp(o,o.query),o}function Bp(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function Hp(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,s,o){s&&(n[s]=o)}),n}let ia=class qt extends ve{constructor(t,n={}){super(),this.writeBuffer=[],t&&typeof t=="object"&&(n=t,t=null),t?(t=ms(t),n.hostname=t.host,n.secure=t.protocol==="https"||t.protocol==="wss",n.port=t.port,t.query&&(n.query=t.query)):n.host&&(n.hostname=ms(n.host).host),kr(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=n.transports||["polling","websocket"],this.writeBuffer=[],this.prevBufferLen=0,this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!0},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=Rp(this.opts.query)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingTimeoutTimer=null,typeof addEventListener=="function"&&(this.opts.closeOnBeforeunload&&(this.beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this.beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this.offlineEventListener=()=>{this.onClose("transport close",{description:"network connection lost"})},addEventListener("offline",this.offlineEventListener,!1))),this.open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=Ql,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts.transportOptions[t],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new Ip[t](r)}open(){let t;if(this.opts.rememberUpgrade&&qt.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)t="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else t=this.transports[0];this.readyState="opening";try{t=this.createTransport(t)}catch{this.transports.shift(),this.open();return}t.open(),this.setTransport(t)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this.onDrain.bind(this)).on("packet",this.onPacket.bind(this)).on("error",this.onError.bind(this)).on("close",n=>this.onClose("transport close",n))}probe(t){let n=this.createTransport(t),r=!1;qt.priorWebsocketSuccess=!1;const s=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!r)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;qt.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const d=new Error("probe error");d.transport=n.name,this.emitReserved("upgradeError",d)}}))};function o(){r||(r=!0,u(),n.close(),n=null)}const i=f=>{const d=new Error("probe error: "+f);d.transport=n.name,o(),this.emitReserved("upgradeError",d)};function l(){i("transport closed")}function a(){i("socket closed")}function c(f){n&&f.name!==n.name&&o()}const u=()=>{n.removeListener("open",s),n.removeListener("error",i),n.removeListener("close",l),this.off("close",a),this.off("upgrading",c)};n.once("open",s),n.once("error",i),n.once("close",l),this.once("close",a),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",qt.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let t=0;const n=this.upgrades.length;for(;t{this.onClose("ping timeout")},this.pingInterval+this.pingTimeout),this.opts.autoUnref&&this.pingTimeoutTimer.unref()}onDrain(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this.getWritablePackets();this.transport.send(t),this.prevBufferLen=t.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r0&&n>this.maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}write(t,n,r){return this.sendPacket("message",t,n,r),this}send(t,n,r){return this.sendPacket("message",t,n,r),this}sendPacket(t,n,r,s){if(typeof n=="function"&&(s=n,n=void 0),typeof r=="function"&&(s=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const o={type:t,data:n,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),s&&this.once("flush",s),this.flush()}close(){const t=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}onError(t){qt.priorWebsocketSuccess=!1,this.emitReserved("error",t),this.onClose("transport error",t)}onClose(t,n){(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")&&(this.clearTimeoutFn(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),typeof removeEventListener=="function"&&(removeEventListener("beforeunload",this.beforeunloadEventListener,!1),removeEventListener("offline",this.offlineEventListener,!1)),this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(t){const n=[];let r=0;const s=t.length;for(;rtypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,la=Object.prototype.toString,Vp=typeof Blob=="function"||typeof Blob<"u"&&la.call(Blob)==="[object BlobConstructor]",Up=typeof File=="function"||typeof File<"u"&&la.call(File)==="[object FileConstructor]";function Js(e){return zp&&(e instanceof ArrayBuffer||$p(e))||Vp&&e instanceof Blob||Up&&e instanceof File}function er(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n=0&&e.num0;case X.ACK:case X.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Gp{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=Wp(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Yp=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Gs,Encoder:Jp,get PacketType(){return X},protocol:qp},Symbol.toStringTag,{value:"Module"}));function qe(e,t,n){return e.on(t,n),function(){e.off(t,n)}}const Qp=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class aa extends ve{constructor(t,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const t=this.io;this.subs=[qe(t,"open",this.onopen.bind(this)),qe(t,"packet",this.onpacket.bind(this)),qe(t,"error",this.onerror.bind(this)),qe(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...n){if(Qp.hasOwnProperty(t))throw new Error('"'+t.toString()+'" is a reserved event name');if(n.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const r={type:X.EVENT,data:n};if(r.options={},r.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const i=this.ids++,l=n.pop();this._registerAckCallback(i,l),r.id=i}const s=this.io.engine&&this.io.engine.transport&&this.io.engine.transport.writable;return this.flags.volatile&&(!s||!this.connected)||(this.connected?(this.notifyOutgoingListeners(r),this.packet(r)):this.sendBuffer.push(r)),this.flags={},this}_registerAckCallback(t,n){var r;const s=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(s===void 0){this.acks[t]=n;return}const o=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let i=0;i{this.io.clearTimeoutFn(o),n.apply(this,[null,...i])}}emitWithAck(t,...n){const r=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((s,o)=>{n.push((i,l)=>r?i?o(i):s(l):s(i)),this.emit(t,...n)})}_addToQueue(t){let n;typeof t[t.length-1]=="function"&&(n=t.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((s,...o)=>r!==this._queue[0]?void 0:(s!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(s)):(this._queue.shift(),n&&n(null,...o)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!t||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){typeof this.auth=="function"?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:X.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,n)}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case X.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case X.EVENT:case X.BINARY_EVENT:this.onevent(t);break;case X.ACK:case X.BINARY_ACK:this.onack(t);break;case X.DISCONNECT:this.ondisconnect();break;case X.CONNECT_ERROR:this.destroy();const r=new Error(t.data.message);r.data=t.data.data,this.emitReserved("connect_error",r);break}}onevent(t){const n=t.data||[];t.id!=null&&n.push(this.ack(t.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,t)}super.emit.apply(this,t),this._pid&&t.length&&typeof t[t.length-1]=="string"&&(this._lastOffset=t[t.length-1])}ack(t){const n=this;let r=!1;return function(...s){r||(r=!0,n.packet({type:X.ACK,id:t,data:s}))}}onack(t){const n=this.acks[t.id];typeof n=="function"&&(n.apply(this,t.data),delete this.acks[t.id])}onconnect(t,n){this.id=t,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:X.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){const n=this._anyListeners;for(let r=0;r0&&e.jitter<=1?e.jitter:0,this.attempts=0}cn.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=Math.floor(t*10)&1?e+n:e-n}return Math.min(e,this.max)|0};cn.prototype.reset=function(){this.attempts=0};cn.prototype.setMin=function(e){this.ms=e};cn.prototype.setMax=function(e){this.max=e};cn.prototype.setJitter=function(e){this.jitter=e};class vs extends ve{constructor(t,n){var r;super(),this.nsps={},this.subs=[],t&&typeof t=="object"&&(n=t,t=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,kr(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new cn({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=t;const s=n.parser||Yp;this.encoder=new s.Encoder,this.decoder=new s.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,this):this._reconnection}reconnectionAttempts(t){return t===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var n;return t===void 0?this._reconnectionDelay:(this._reconnectionDelay=t,(n=this.backoff)===null||n===void 0||n.setMin(t),this)}randomizationFactor(t){var n;return t===void 0?this._randomizationFactor:(this._randomizationFactor=t,(n=this.backoff)===null||n===void 0||n.setJitter(t),this)}reconnectionDelayMax(t){var n;return t===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,(n=this.backoff)===null||n===void 0||n.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new ia(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const s=qe(n,"open",function(){r.onopen(),t&&t()}),o=qe(n,"error",i=>{r.cleanup(),r._readyState="closed",this.emitReserved("error",i),t?t(i):r.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&s();const l=this.setTimeoutFn(()=>{s(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&l.unref(),this.subs.push(function(){clearTimeout(l)})}return this.subs.push(s),this.subs.push(o),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const t=this.engine;this.subs.push(qe(t,"ping",this.onping.bind(this)),qe(t,"data",this.ondata.bind(this)),qe(t,"error",this.onerror.bind(this)),qe(t,"close",this.onclose.bind(this)),qe(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(n){this.onclose("parse error",n)}}ondecoded(t){oa(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,n){let r=this.nsps[t];return r?this._autoConnect&&!r.active&&r.connect():(r=new aa(this,t,n),this.nsps[t]=r),r}_destroy(t){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(t){const n=this.encoder.encode(t);for(let r=0;rt()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close"),this.engine&&this.engine.close()}disconnect(){return this._close()}onclose(t,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),!t.skipReconnect&&t.open(s=>{s?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",s)):t.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(function(){clearTimeout(r)})}}onreconnect(){const t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}const hn={};function tr(e,t){typeof e=="object"&&(t=e,e=void 0),t=t||{};const n=Dp(e,t.path||"/socket.io"),r=n.source,s=n.id,o=n.path,i=hn[s]&&o in hn[s].nsps,l=t.forceNew||t["force new connection"]||t.multiplex===!1||i;let a;return l?a=new vs(r,t):(hn[s]||(hn[s]=new vs(r,t)),a=hn[s]),n.query&&!t.query&&(t.query=n.queryKey),a.socket(n.path,t)}Object.assign(tr,{Manager:vs,Socket:aa,io:tr,connect:tr});const Zt=new tr("https://gpt.apefront.lv/");Zt.onopen=()=>{console.log("WebSocket connection established.")};Zt.onclose=e=>{console.log("WebSocket connection closed:",e.code,e.reason)};Zt.onerror=e=>{console.error("WebSocket error:",e)};const Mr=e=>(dc("data-v-e423569e"),e=e(),hc(),e),Xp={class:"overflow-y-scroll flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},Zp={class:"z-10 sticky top-0 flex-row p-2 flex items-center gap-3 flex-0 bg-bg-light-tone dark:bg-bg-dark-tone mt-0 px-4 shadow-md"},e2=wr('
',4),t2={class:"relative"},n2=Mr(()=>w("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[w("div",{class:"scale-75"},[w("i",{"data-feather":"search"})])],-1)),r2={class:"absolute inset-y-0 right-0 flex items-center pr-3"},s2=Mr(()=>w("i",{"data-feather":"x"},null,-1)),o2=[s2],i2={class:"relative overflow-y-scroll no-scrollbar"},l2={key:0,class:"gap-2 py-2 my-2 hover:shadow-md hover:bg-primary-light dark:hover:bg-primary rounded-md p-2 duration-75 group cursor-pointer"},a2=Mr(()=>w("p",{class:"px-3"},"No discussions are found",-1)),c2=[a2],u2=Mr(()=>w("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex height-64"},null,-1)),f2={setup(){},data(){return{list:[],tempList:[],currentDiscussion:Number,discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1}},methods:{async list_discussions(){try{const e=await ps.get("/list_discussions");if(e)return e.data}catch(e){return console.log(e),[]}},async load_discussion(e){try{if(e){this.loading=!0;const t=await ps.post("/load_discussion",{id:e});t&&(this.discussionArr=t.data,this.loading=!1)}}catch(t){console.log(t),this.loading=!1}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.list=this.tempList.filter(e=>e.title.includes(this.filterTitle)),this.filterInProgress=!1},100))},selectDiscussion(e){this.currentDiscussion=e,this.load_discussion(e.id)},scrollToElement(e){e&&e.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})},createMsg(e){let t={content:e.message,id:e.message,rank:0,sender:e.user};this.discussionArr.push(t),ft(()=>{const r=document.getElementById("msg-"+e.message);this.scrollToElement(r)});let n={content:"..typing",id:e.response_id,rank:0,sender:e.bot};this.discussionArr.push(n),ft(()=>{const r=document.getElementById("msg-"+e.response_id);this.scrollToElement(r)})},sendMsg(e){Zt.emit("generate_msg",{prompt:e})},steamMessageContent(e){const t=this.discussionArr[this.discussionArr.length-1];t.content=e.data}},async created(){this.list=await this.list_discussions(),this.tempList=this.list,ft(()=>{Nn.replace()}),Zt.on("infos",this.createMsg),Zt.on("message",this.steamMessageContent)},components:{Discussion:Vl,Message:Ul,ChatBox:Kl,WelcomeComponent:Wl},watch:{filterTitle(e,t){e==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)}}},d2=Object.assign(f2,{__name:"DiscussionsView",setup(e){return(t,n)=>(Y(),ie(je,null,[w("div",Xp,[w("div",Zp,[e2,w("form",null,[w("div",t2,[n2,w("div",r2,[w("div",{class:ut(["hover:text-secondary duration-75 active:scale-90",t.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[0]||(n[0]=r=>t.filterTitle="")},o2,2)]),Ce(w("input",{type:"search",id:"default-search",class:"block w-full p-2 pl-10 pr-10 text-sm border border-gray-300 rounded-lg bg-bg-light focus:ring-secondary focus:border-secondary dark:bg-bg-dark dark:border-gray-600 dark:placeholder-gray-400 dark:focus:ring-secondary dark:focus:border-secondary",placeholder:"Search...",title:"Filter discussions by title","onUpdate:modelValue":n[1]||(n[1]=r=>t.filterTitle=r),onInput:n[2]||(n[2]=r=>t.filterDiscussions())},null,544),[[Pe,t.filterTitle]])])])]),w("div",i2,[w("div",{class:ut(["mx-4 flex-grow",t.filterInProgress?"opacity-20 pointer-events-none":""])},[(Y(!0),ie(je,null,It(t.list,(r,s)=>(Y(),Ht(Vl,{key:s,id:r.id,title:r.title,selected:t.currentDiscussion.id==r.id,loading:t.currentDiscussion.id==r.id&&t.loading,onClick:o=>t.selectDiscussion(r)},null,8,["id","title","selected","loading","onClick"]))),128)),t.list.length<1?(Y(),ie("div",l2,c2)):wn("",!0),u2],2)])]),w("div",{class:ut(["overflow-y-scroll flex flex-col no-scrollbar flex-grow",t.loading?"opacity-20 pointer-events-none":""])},[w("div",null,[(Y(!0),ie(je,null,It(t.discussionArr,(r,s)=>(Y(),Ht(Ul,{key:s,message:r,onClick:n[3]||(n[3]=o=>t.scrollToElement(o.target)),id:"msg-"+r.id},null,8,["message","id"]))),128)),t.discussionArr.length<1?(Y(),Ht(Wl,{key:0})):wn("",!0),t.discussionArr.length>1?(Y(),Ht(Kl,{key:1,onMessageSentEvent:t.sendMsg},null,8,["onMessageSentEvent"])):wn("",!0)])],2)],64))}}),h2=xt(d2,[["__scopeId","data-v-e423569e"]]),p2=$f({history:of("/"),routes:[{path:"/extensions/",name:"extensions",component:xd},{path:"/help/",name:"help",component:wd},{path:"/settings/",name:"settings",component:Ph},{path:"/training/",name:"training",component:Lh},{path:"/",name:"discussions",component:h2}]});const ca=Du(yd);ca.use(p2);ca.mount("#app"); diff --git a/web/dist/assets/index-56a2d3b5.css b/web/dist/assets/index-e4e5c40f.css similarity index 99% rename from web/dist/assets/index-56a2d3b5.css rename to web/dist/assets/index-e4e5c40f.css index c5a67408..e047a9bd 100644 --- a/web/dist/assets/index-56a2d3b5.css +++ b/web/dist/assets/index-e4e5c40f.css @@ -1 +1 @@ -.height-64[data-v-cf36980a]{min-height:64px}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-y-0{top:0px;bottom:0px}.bottom-0{bottom:0px}.left-0{left:0px}.right-0{right:0px}.top-0{top:0px}.z-10{z-index:10}.m-1{margin:.25rem}.m-2{margin:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mb-2{margin-bottom:-.5rem}.-mt-4{margin-top:-1rem}.mb-2{margin-bottom:.5rem}.ml-10{margin-left:2.5rem}.mr-0{margin-right:0}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-6{height:1.5rem}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-6{width:1.5rem}.w-96{width:24rem}.w-auto{width:auto}.w-full{width:100%}.min-w-\[24rem\]{min-width:24rem}.min-w-\[29rem\]{min-width:29rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[29rem\]{max-width:29rem}.max-w-screen-2xl{max-width:1536px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-grow{flex-grow:1}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.object-fill{-o-object-fit:fill;object-fit:fill}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-24{padding-top:6rem}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.opacity-20{opacity:.2}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-150{transition-duration:.15s}.duration-75{transition-duration:75ms}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:nth-child(even) .group-even\:bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.group:hover .group-hover\:visible{visibility:visible}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:flex-row{flex-direction:row}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:order-1{order:1}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:w-auto{width:auto}.md\:flex-row{flex-direction:row}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:p-0{padding:0}}@media (min-width: 1024px){.lg\:flex-row{flex-direction:row}} +.height-64[data-v-e423569e]{min-height:64px}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:PTSans,Roboto,sans-serif;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}html{scroll-behavior:smooth}@font-face{font-family:Roboto;src:url(/assets/Roboto-Regular-7277cfb8.ttf) format("truetype")}@font-face{font-family:PTSans;src:url(/assets/PTSans-Regular-23b91352.ttf) format("truetype")}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.invisible{visibility:hidden}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-y-0{top:0px;bottom:0px}.bottom-0{bottom:0px}.left-0{left:0px}.right-0{right:0px}.top-0{top:0px}.z-10{z-index:10}.m-1{margin:.25rem}.m-2{margin:.5rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mb-2{margin-bottom:-.5rem}.-mt-4{margin-top:-1rem}.mb-2{margin-bottom:.5rem}.ml-10{margin-left:2.5rem}.mr-0{margin-right:0}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-14{margin-top:3.5rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.h-0{height:0px}.h-1{height:.25rem}.h-10{height:2.5rem}.h-2{height:.5rem}.h-6{height:1.5rem}.h-screen{height:100vh}.max-h-6{max-height:1.5rem}.max-h-screen{max-height:100vh}.min-h-full{min-height:100%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-2{width:.5rem}.w-24{width:6rem}.w-6{width:1.5rem}.w-96{width:24rem}.w-auto{width:auto}.w-full{width:100%}.min-w-\[24rem\]{min-width:24rem}.min-w-\[29rem\]{min-width:29rem}.max-w-\[24rem\]{max-width:24rem}.max-w-\[29rem\]{max-width:29rem}.max-w-screen-2xl{max-width:1536px}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-grow{flex-grow:1}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-75{--tw-scale-x: .75;--tw-scale-y: .75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}.animate-bounce{animation:bounce 1s infinite}.cursor-pointer{cursor:pointer}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.self-center{align-self:center}.self-stretch{align-self:stretch}.overflow-hidden{overflow:hidden}.overflow-y-scroll{overflow-y:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-xl{border-radius:.75rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-bg-dark{--tw-border-opacity: 1;border-color:rgb(19 46 89 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-accent{--tw-bg-opacity: 1;background-color:rgb(240 112 14 / var(--tw-bg-opacity))}.bg-bg-light{--tw-bg-opacity: 1;background-color:rgb(226 237 255 / var(--tw-bg-opacity))}.bg-bg-light-discussion{--tw-bg-opacity: 1;background-color:rgb(197 216 248 / var(--tw-bg-opacity))}.bg-bg-light-tone{--tw-bg-opacity: 1;background-color:rgb(185 210 247 / var(--tw-bg-opacity))}.bg-bg-light-tone-panel{--tw-bg-opacity: 1;background-color:rgb(143 181 239 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-secondary{--tw-bg-opacity: 1;background-color:rgb(15 217 116 / var(--tw-bg-opacity))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-bg-light-tone{--tw-gradient-from: #b9d2f7 var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(185 210 247 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.object-fill{-o-object-fit:fill;object-fit:fill}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-2\.5{padding:.625rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.pb-2{padding-bottom:.5rem}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pr-10{padding-right:2.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-24{padding-top:6rem}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.font-sans{font-family:PTSans,Roboto,sans-serif}.text-2xl{font-size:1.5rem;line-height:2rem}.text-5xl{font-size:3rem;line-height:1}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-opacity-95{--tw-text-opacity: .95}.opacity-20{opacity:.2}.shadow-inner{--tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / .05);--tw-shadow-colored: inset 0 2px 4px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.duration-150{transition-duration:.15s}.duration-75{transition-duration:75ms}.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}.display-none{display:none}.even\:bg-bg-light-discussion-odd:nth-child(even){--tw-bg-opacity: 1;background-color:rgb(214 231 255 / var(--tw-bg-opacity))}.hover\:scale-95:hover{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-2:hover{border-width:2px}.hover\:border-solid:hover{border-style:solid}.hover\:border-primary:hover{--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}.hover\:bg-primary-light:hover{--tw-bg-opacity: 1;background-color:rgb(61 171 255 / var(--tw-bg-opacity))}.hover\:text-primary:hover{--tw-text-opacity: 1;color:rgb(14 142 240 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-secondary:hover{--tw-text-opacity: 1;color:rgb(15 217 116 / var(--tw-text-opacity))}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-secondary:focus{--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-secondary:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}.active\:scale-90:active{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:nth-child(even) .group-even\:bg-primary{--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}.group:hover .group-hover\:visible{visibility:visible}:is(.dark .dark\:border-bg-light){--tw-border-opacity: 1;border-color:rgb(226 237 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:bg-bg-dark){--tw-bg-opacity: 1;background-color:rgb(19 46 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-discussion){--tw-bg-opacity: 1;background-color:rgb(67 94 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone){--tw-bg-opacity: 1;background-color:rgb(37 71 125 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-bg-dark-tone-panel){--tw-bg-opacity: 1;background-color:rgb(67 103 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:from-bg-dark-tone){--tw-gradient-from: #25477d var(--tw-gradient-from-position);--tw-gradient-from-position: ;--tw-gradient-to: rgb(37 71 125 / 0) var(--tw-gradient-from-position);--tw-gradient-to-position: ;--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:even\:bg-bg-dark-discussion-odd:nth-child(even)){--tw-bg-opacity: 1;background-color:rgb(40 68 113 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:border-primary:hover){--tw-border-opacity: 1;border-color:rgb(14 142 240 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:bg-primary:hover){--tw-bg-opacity: 1;background-color:rgb(14 142 240 / var(--tw-bg-opacity))}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-secondary:focus){--tw-border-opacity: 1;border-color:rgb(15 217 116 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-secondary:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(15 217 116 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:flex-row{flex-direction:row}.sm\:text-xs{font-size:.75rem;line-height:1rem}}@media (min-width: 768px){.md\:order-1{order:1}.md\:my-2{margin-top:.5rem;margin-bottom:.5rem}.md\:mt-0{margin-top:0}.md\:flex{display:flex}.md\:w-auto{width:auto}.md\:flex-row{flex-direction:row}.md\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.md\:p-0{padding:0}}@media (min-width: 1024px){.lg\:flex-row{flex-direction:row}} diff --git a/web/dist/index.html b/web/dist/index.html index 5533cca4..6b2775ca 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,8 +6,8 @@ GPT4All - WEBUI - - + +
diff --git a/web/src/views/DiscussionsView.vue b/web/src/views/DiscussionsView.vue index 135bd189..a14a5828 100644 --- a/web/src/views/DiscussionsView.vue +++ b/web/src/views/DiscussionsView.vue @@ -90,7 +90,7 @@ import io from 'socket.io-client'; import axios from "axios"; import { nextTick } from 'vue' -axios.defaults.baseURL = '/api/'; +//axios.defaults.baseURL = '/api/'; // Use this for external development not for production import websocket from '@/services/websocket.js'; export default {