diff --git a/c_webui.sh b/c_webui.sh index 017d1180..e0273de9 100644 --- a/c_webui.sh +++ b/c_webui.sh @@ -98,6 +98,8 @@ if ping -q -c 1 google.com >/dev/null 2>&1; then # Install the required packages echo "Installing requirements..." + conda install -c gcc + conda install -c conda-forge cudatoolkit-dev pip install --upgrade pip setuptools wheel pip install -r requirements.txt diff --git a/web/dist/assets/index-2d3d79cc.js b/web/dist/assets/index-2d3d79cc.js new file mode 100644 index 00000000..337aeb56 --- /dev/null +++ b/web/dist/assets/index-2d3d79cc.js @@ -0,0 +1,140 @@ +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function Pa(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function nn(t){if(ye(t)){const e={};for(let n=0;n{if(n){const s=n.split(hg);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function Oe(t){let e="";if(Ve(t))e=t;else if(ye(t))for(let n=0;nSo(n,e))}const ee=t=>Ve(t)?t:t==null?"":ye(t)||ze(t)&&(t.toString===vd||!Se(t.toString))?JSON.stringify(t,yd,2):String(t),yd=(t,e)=>e&&e.__v_isRef?yd(t,e.value):ps(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ls(e)?{[`Set(${e.size})`]:[...e.values()]}:ze(e)&&!ye(e)&&!xd(e)?String(e):e,He={},hs=[],Nt=()=>{},bg=()=>!1,vg=/^on[^a-z]/,jr=t=>vg.test(t),ja=t=>t.startsWith("onUpdate:"),Qe=Object.assign,Ba=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},xg=Object.prototype.hasOwnProperty,De=(t,e)=>xg.call(t,e),ye=Array.isArray,ps=t=>Is(t)==="[object Map]",Ls=t=>Is(t)==="[object Set]",Ul=t=>Is(t)==="[object Date]",wg=t=>Is(t)==="[object RegExp]",Se=t=>typeof t=="function",Ve=t=>typeof t=="string",co=t=>typeof t=="symbol",ze=t=>t!==null&&typeof t=="object",bd=t=>ze(t)&&Se(t.then)&&Se(t.catch),vd=Object.prototype.toString,Is=t=>vd.call(t),kg=t=>Is(t).slice(8,-1),xd=t=>Is(t)==="[object Object]",$a=t=>Ve(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,nr=Pa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Br=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Eg=/-(\w)/g,Gt=Br(t=>t.replace(Eg,(e,n)=>n?n.toUpperCase():"")),Cg=/\B([A-Z])/g,ts=Br(t=>t.replace(Cg,"-$1").toLowerCase()),$r=Br(t=>t.charAt(0).toUpperCase()+t.slice(1)),_i=Br(t=>t?`on${$r(t)}`:""),uo=(t,e)=>!Object.is(t,e),gs=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},mr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Ag=t=>{const e=Ve(t)?Number(t):NaN;return isNaN(e)?t:e};let Hl;const Sg=()=>Hl||(Hl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Rt;class Tg{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Rt,!e&&Rt&&(this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Rt;try{return Rt=this,e()}finally{Rt=n}}}on(){Rt=this}off(){Rt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},wd=t=>(t.w&On)>0,kd=t=>(t.n&On)>0,Rg=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":ye(t)?$a(n)&&a.push(i.get("length")):(a.push(i.get(Gn)),ps(t)&&a.push(i.get(ta)));break;case"delete":ye(t)||(a.push(i.get(Gn)),ps(t)&&a.push(i.get(ta)));break;case"set":ps(t)&&a.push(i.get(Gn));break}if(a.length===1)a[0]&&na(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);na(za(l))}}function na(t,e){const n=ye(t)?t:[...t];for(const s of n)s.computed&&Kl(s);for(const s of n)s.computed||Kl(s)}function Kl(t,e){(t!==Lt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const Lg=Pa("__proto__,__v_isRef,__isVue"),Ad=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(co)),Ig=Ua(),Ng=Ua(!1,!0),Pg=Ua(!0),Gl=Fg();function Fg(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Ie(this);for(let r=0,i=this.length;r{t[e]=function(...n){Ns();const s=Ie(this)[e].apply(this,n);return Ps(),s}}),t}function jg(t){const e=Ie(this);return pt(e,"has",t),e.hasOwnProperty(t)}function Ua(t=!1,e=!1){return function(s,o,r){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&r===(t?e?em:Rd:e?Od:Md).get(s))return s;const i=ye(s);if(!t){if(i&&De(Gl,o))return Reflect.get(Gl,o,r);if(o==="hasOwnProperty")return jg}const a=Reflect.get(s,o,r);return(co(o)?Ad.has(o):Lg(o))||(t||pt(s,"get",o),e)?a:rt(a)?i&&$a(o)?a:a.value:ze(a)?t?Dd(a):Fs(a):a}}const Bg=Sd(),$g=Sd(!0);function Sd(t=!1){return function(n,s,o,r){let i=n[s];if(vs(i)&&rt(i)&&!rt(o))return!1;if(!t&&(!_r(o)&&!vs(o)&&(i=Ie(i),o=Ie(o)),!ye(n)&&rt(i)&&!rt(o)))return i.value=o,!0;const a=ye(n)&&$a(s)?Number(s)t,zr=t=>Reflect.getPrototypeOf(t);function No(t,e,n=!1,s=!1){t=t.__v_raw;const o=Ie(t),r=Ie(e);n||(e!==r&&pt(o,"get",e),pt(o,"get",r));const{has:i}=zr(o),a=s?Ha:n?Ga:fo;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Po(t,e=!1){const n=this.__v_raw,s=Ie(n),o=Ie(t);return e||(t!==o&&pt(s,"has",t),pt(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Fo(t,e=!1){return t=t.__v_raw,!e&&pt(Ie(t),"iterate",Gn),Reflect.get(t,"size",t)}function Wl(t){t=Ie(t);const e=Ie(this);return zr(e).has.call(e,t)||(e.add(t),an(e,"add",t,t)),this}function Zl(t,e){e=Ie(e);const n=Ie(this),{has:s,get:o}=zr(n);let r=s.call(n,t);r||(t=Ie(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?uo(e,i)&&an(n,"set",t,e):an(n,"add",t,e),this}function Yl(t){const e=Ie(this),{has:n,get:s}=zr(e);let o=n.call(e,t);o||(t=Ie(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&an(e,"delete",t,void 0),r}function Jl(){const t=Ie(this),e=t.size!==0,n=t.clear();return e&&an(t,"clear",void 0,void 0),n}function jo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Ie(i),l=e?Ha:t?Ga:fo;return!t&&pt(a,"iterate",Gn),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function Bo(t,e,n){return function(...s){const o=this.__v_raw,r=Ie(o),i=ps(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?Ha:e?Ga:fo;return!e&&pt(r,"iterate",l?ta:Gn),{next(){const{value:f,done:h}=c.next();return h?{value:f,done:h}:{value:a?[u(f[0]),u(f[1])]:u(f),done:h}},[Symbol.iterator](){return this}}}}function hn(t){return function(...e){return t==="delete"?!1:this}}function Kg(){const t={get(r){return No(this,r)},get size(){return Fo(this)},has:Po,add:Wl,set:Zl,delete:Yl,clear:Jl,forEach:jo(!1,!1)},e={get(r){return No(this,r,!1,!0)},get size(){return Fo(this)},has:Po,add:Wl,set:Zl,delete:Yl,clear:Jl,forEach:jo(!1,!0)},n={get(r){return No(this,r,!0)},get size(){return Fo(this,!0)},has(r){return Po.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:jo(!0,!1)},s={get(r){return No(this,r,!0,!0)},get size(){return Fo(this,!0)},has(r){return Po.call(this,r,!0)},add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear"),forEach:jo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Bo(r,!1,!1),n[r]=Bo(r,!0,!1),e[r]=Bo(r,!1,!0),s[r]=Bo(r,!0,!0)}),[t,n,e,s]}const[Gg,Wg,Zg,Yg]=Kg();function Va(t,e){const n=e?t?Yg:Zg:t?Wg:Gg;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(De(n,o)&&o in s?n:s,o,r)}const Jg={get:Va(!1,!1)},Qg={get:Va(!1,!0)},Xg={get:Va(!0,!1)},Md=new WeakMap,Od=new WeakMap,Rd=new WeakMap,em=new WeakMap;function tm(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function nm(t){return t.__v_skip||!Object.isExtensible(t)?0:tm(kg(t))}function Fs(t){return vs(t)?t:Ka(t,!1,Td,Jg,Md)}function sm(t){return Ka(t,!1,Vg,Qg,Od)}function Dd(t){return Ka(t,!0,Hg,Xg,Rd)}function Ka(t,e,n,s,o){if(!ze(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=nm(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ms(t){return vs(t)?ms(t.__v_raw):!!(t&&t.__v_isReactive)}function vs(t){return!!(t&&t.__v_isReadonly)}function _r(t){return!!(t&&t.__v_isShallow)}function Ld(t){return ms(t)||vs(t)}function Ie(t){const e=t&&t.__v_raw;return e?Ie(e):t}function Id(t){return gr(t,"__v_skip",!0),t}const fo=t=>ze(t)?Fs(t):t,Ga=t=>ze(t)?Dd(t):t;function Nd(t){Tn&&Lt&&(t=Ie(t),Cd(t.dep||(t.dep=za())))}function Pd(t,e){t=Ie(t);const n=t.dep;n&&na(n)}function rt(t){return!!(t&&t.__v_isRef===!0)}function om(t){return Fd(t,!1)}function rm(t){return Fd(t,!0)}function Fd(t,e){return rt(t)?t:new im(t,e)}class im{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Ie(e),this._value=n?e:fo(e)}get value(){return Nd(this),this._value}set value(e){const n=this.__v_isShallow||_r(e)||vs(e);e=n?e:Ie(e),uo(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:fo(e),Pd(this))}}function mt(t){return rt(t)?t.value:t}const am={get:(t,e,n)=>mt(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return rt(o)&&!rt(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function jd(t){return ms(t)?t:new Proxy(t,am)}var Bd;class lm{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Bd]=!1,this._dirty=!0,this.effect=new qa(e,()=>{this._dirty||(this._dirty=!0,Pd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Ie(this);return Nd(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Bd="__v_isReadonly";function cm(t,e,n=!1){let s,o;const r=Se(t);return r?(s=t,o=Nt):(s=t.get,o=t.set),new lm(s,o,r||!o,n)}function Mn(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){qr(r,e,n)}return o}function Et(t,e,n,s){if(Se(t)){const r=Mn(t,e,n,s);return r&&bd(r)&&r.catch(i=>{qr(i,e,n)}),r}const o=[];for(let r=0;r>>1;po(ot[s])$t&&ot.splice(e,1)}function hm(t){ye(t)?_s.push(...t):(!tn||!tn.includes(t,t.allowRecurse?Bn+1:Bn))&&_s.push(t),zd()}function Ql(t,e=ho?$t+1:0){for(;epo(n)-po(s)),Bn=0;Bnt.id==null?1/0:t.id,pm=(t,e)=>{const n=po(t)-po(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Ud(t){sa=!1,ho=!0,ot.sort(pm);const e=Nt;try{for($t=0;$tVe(p)?p.trim():p)),f&&(o=n.map(mr))}let a,l=s[a=_i(e)]||s[a=_i(Gt(e))];!l&&r&&(l=s[a=_i(ts(e))]),l&&Et(l,t,6,o);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Et(c,t,6,o)}}function Hd(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Se(t)){const l=c=>{const u=Hd(c,e,!0);u&&(a=!0,Qe(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(ze(t)&&s.set(t,null),null):(ye(r)?r.forEach(l=>i[l]=null):Qe(i,r),ze(t)&&s.set(t,i),i)}function Ur(t,e){return!t||!jr(e)?!1:(e=e.slice(2).replace(/Once$/,""),De(t,e[0].toLowerCase()+e.slice(1))||De(t,ts(e))||De(t,e))}let tt=null,Hr=null;function yr(t){const e=tt;return tt=t,Hr=t&&t.type.__scopeId||null,e}function js(t){Hr=t}function Bs(){Hr=null}function Je(t,e=tt,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&lc(-1);const r=yr(e);let i;try{i=t(...o)}finally{yr(r),s._d&&lc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function yi(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:h,setupState:p,ctx:g,inheritAttrs:m}=t;let v,y;const _=yr(t);try{if(n.shapeFlag&4){const C=o||s;v=Bt(u.call(C,C,f,r,p,h,g)),y=l}else{const C=e;v=Bt(C.length>1?C(r,{attrs:l,slots:a,emit:c}):C(r,null)),y=e.props?l:mm(l)}}catch(C){no.length=0,qr(C,t,1),v=Ae(Ct)}let w=v;if(y&&m!==!1){const C=Object.keys(y),{shapeFlag:I}=w;C.length&&I&7&&(i&&C.some(ja)&&(y=_m(y,i)),w=ln(w,y))}return n.dirs&&(w=ln(w),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&(w.transition=n.transition),v=w,yr(_),v}const mm=t=>{let e;for(const n in t)(n==="class"||n==="style"||jr(n))&&((e||(e={}))[n]=t[n]);return e},_m=(t,e)=>{const n={};for(const s in t)(!ja(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function ym(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?Xl(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let f=0;ft.__isSuspense;function vm(t,e){e&&e.pendingBranch?ye(t)?e.effects.push(...t):e.effects.push(t):hm(t)}function sr(t,e){if(We){let n=We.provides;const s=We.parent&&We.parent.provides;s===n&&(n=We.provides=Object.create(s)),n[t]=e}}function sn(t,e,n=!1){const s=We||tt;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Se(e)?e.call(s.proxy):e}}const $o={};function Wn(t,e,n){return Kd(t,e,n)}function Kd(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=He){const a=Og()===(We==null?void 0:We.scope)?We:null;let l,c=!1,u=!1;if(rt(t)?(l=()=>t.value,c=_r(t)):ms(t)?(l=()=>t,s=!0):ye(t)?(u=!0,c=t.some(w=>ms(w)||_r(w)),l=()=>t.map(w=>{if(rt(w))return w.value;if(ms(w))return Vn(w);if(Se(w))return Mn(w,a,2)})):Se(t)?e?l=()=>Mn(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),Et(t,a,3,[h])}:l=Nt,e&&s){const w=l;l=()=>Vn(w())}let f,h=w=>{f=y.onStop=()=>{Mn(w,a,4)}},p;if(yo)if(h=Nt,e?n&&Et(e,a,3,[l(),u?[]:void 0,h]):l(),o==="sync"){const w=f_();p=w.__watcherHandles||(w.__watcherHandles=[])}else return Nt;let g=u?new Array(t.length).fill($o):$o;const m=()=>{if(y.active)if(e){const w=y.run();(s||c||(u?w.some((C,I)=>uo(C,g[I])):uo(w,g)))&&(f&&f(),Et(e,a,3,[w,g===$o?void 0:u&&g[0]===$o?[]:g,h]),g=w)}else y.run()};m.allowRecurse=!!e;let v;o==="sync"?v=m:o==="post"?v=()=>et(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),v=()=>Za(m));const y=new qa(l,v);e?n?m():g=y.run():o==="post"?et(y.run.bind(y),a&&a.suspense):y.run();const _=()=>{y.stop(),a&&a.scope&&Ba(a.scope.effects,y)};return p&&p.push(_),_}function xm(t,e,n){const s=this.proxy,o=Ve(t)?t.includes(".")?Gd(s,t):()=>s[t]:t.bind(s,s);let r;Se(e)?r=e:(r=e.handler,n=e);const i=We;ws(this);const a=Kd(o,r.bind(s),n);return i?ws(i):Zn(),a}function Gd(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Vn(n,e)});else if(xd(t))for(const n in t)Vn(t[n],e);return t}function Wd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Gr(()=>{t.isMounted=!0}),Qa(()=>{t.isUnmounting=!0}),t}const vt=[Function,Array],wm={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:vt,onEnter:vt,onAfterEnter:vt,onEnterCancelled:vt,onBeforeLeave:vt,onLeave:vt,onAfterLeave:vt,onLeaveCancelled:vt,onBeforeAppear:vt,onAppear:vt,onAfterAppear:vt,onAppearCancelled:vt},setup(t,{slots:e}){const n=sl(),s=Wd();let o;return()=>{const r=e.default&&Ya(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==Ct){i=m;break}}const a=Ie(t),{mode:l}=a;if(s.isLeaving)return bi(i);const c=ec(i);if(!c)return bi(i);const u=go(c,a,s,n);xs(c,u);const f=n.subTree,h=f&&ec(f);let p=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();o===void 0?o=m:m!==o&&(o=m,p=!0)}if(h&&h.type!==Ct&&(!Cn(c,h)||p)){const m=go(h,a,s,n);if(xs(h,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},bi(i);l==="in-out"&&c.type!==Ct&&(m.delayLeave=(v,y,_)=>{const w=Zd(s,h);w[String(h.key)]=h,v._leaveCb=()=>{y(),v._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=_})}return i}}},km=wm;function Zd(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function go(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:v,onAfterAppear:y,onAppearCancelled:_}=e,w=String(t.key),C=Zd(n,t),I=(x,k)=>{x&&Et(x,s,9,k)},S=(x,k)=>{const T=k[1];I(x,k),ye(x)?x.every(j=>j.length<=1)&&T():x.length<=1&&T()},R={mode:r,persisted:i,beforeEnter(x){let k=a;if(!n.isMounted)if(o)k=m||a;else return;x._leaveCb&&x._leaveCb(!0);const T=C[w];T&&Cn(t,T)&&T.el._leaveCb&&T.el._leaveCb(),I(k,[x])},enter(x){let k=l,T=c,j=u;if(!n.isMounted)if(o)k=v||l,T=y||c,j=_||u;else return;let F=!1;const K=x._enterCb=D=>{F||(F=!0,D?I(j,[x]):I(T,[x]),R.delayedLeave&&R.delayedLeave(),x._enterCb=void 0)};k?S(k,[x,K]):K()},leave(x,k){const T=String(t.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return k();I(f,[x]);let j=!1;const F=x._leaveCb=K=>{j||(j=!0,k(),K?I(g,[x]):I(p,[x]),x._leaveCb=void 0,C[T]===t&&delete C[T])};C[T]=t,h?S(h,[x,F]):F()},clone(x){return go(x,e,n,s)}};return R}function bi(t){if(Vr(t))return t=ln(t),t.children=null,t}function ec(t){return Vr(t)?t.children?t.children[0]:void 0:t}function xs(t,e){t.shapeFlag&6&&t.component?xs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Ya(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Vr=t=>t.type.__isKeepAlive,Em={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=sl(),s=n.ctx;if(!s.renderer)return()=>{const _=e.default&&e.default();return _&&_.length===1?_[0]:_};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=s,h=f("div");s.activate=(_,w,C,I,S)=>{const R=_.component;c(_,w,C,0,a),l(R.vnode,_,w,C,R,a,I,_.slotScopeIds,S),et(()=>{R.isDeactivated=!1,R.a&&gs(R.a);const x=_.props&&_.props.onVnodeMounted;x&&xt(x,R.parent,_)},a)},s.deactivate=_=>{const w=_.component;c(_,h,null,1,a),et(()=>{w.da&&gs(w.da);const C=_.props&&_.props.onVnodeUnmounted;C&&xt(C,w.parent,_),w.isDeactivated=!0},a)};function p(_){vi(_),u(_,n,a,!0)}function g(_){o.forEach((w,C)=>{const I=ca(w.type);I&&(!_||!_(I))&&m(C)})}function m(_){const w=o.get(_);!i||!Cn(w,i)?p(w):i&&vi(i),o.delete(_),r.delete(_)}Wn(()=>[t.include,t.exclude],([_,w])=>{_&&g(C=>Xs(_,C)),w&&g(C=>!Xs(w,C))},{flush:"post",deep:!0});let v=null;const y=()=>{v!=null&&o.set(v,xi(n.subTree))};return Gr(y),Ja(y),Qa(()=>{o.forEach(_=>{const{subTree:w,suspense:C}=n,I=xi(w);if(_.type===I.type&&_.key===I.key){vi(I);const S=I.component.da;S&&et(S,C);return}p(_)})}),()=>{if(v=null,!e.default)return null;const _=e.default(),w=_[0];if(_.length>1)return i=null,_;if(!_o(w)||!(w.shapeFlag&4)&&!(w.shapeFlag&128))return i=null,w;let C=xi(w);const I=C.type,S=ca(ys(C)?C.type.__asyncResolved||{}:I),{include:R,exclude:x,max:k}=t;if(R&&(!S||!Xs(R,S))||x&&S&&Xs(x,S))return i=C,w;const T=C.key==null?I:C.key,j=o.get(T);return C.el&&(C=ln(C),w.shapeFlag&128&&(w.ssContent=C)),v=T,j?(C.el=j.el,C.component=j.component,C.transition&&xs(C,C.transition),C.shapeFlag|=512,r.delete(T),r.add(T)):(r.add(T),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),C.shapeFlag|=256,i=C,Vd(w.type)?w:C}}},Cm=Em;function Xs(t,e){return ye(t)?t.some(n=>Xs(n,e)):Ve(t)?t.split(",").includes(e):wg(t)?t.test(e):!1}function Am(t,e){Jd(t,"a",e)}function Sm(t,e){Jd(t,"da",e)}function Jd(t,e,n=We){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Kr(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Vr(o.parent.vnode)&&Tm(s,e,n,o),o=o.parent}}function Tm(t,e,n,s){const o=Kr(e,t,s,!0);Qd(()=>{Ba(s[e],o)},n)}function vi(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function xi(t){return t.shapeFlag&128?t.ssContent:t}function Kr(t,e,n=We,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ns(),ws(n);const a=Et(e,n,t,i);return Zn(),Ps(),a});return s?o.unshift(r):o.push(r),r}}const dn=t=>(e,n=We)=>(!yo||t==="sp")&&Kr(t,(...s)=>e(...s),n),Mm=dn("bm"),Gr=dn("m"),Om=dn("bu"),Ja=dn("u"),Qa=dn("bum"),Qd=dn("um"),Rm=dn("sp"),Dm=dn("rtg"),Lm=dn("rtc");function Im(t,e=We){Kr("ec",t,e)}function Te(t,e){const n=tt;if(n===null)return t;const s=Yr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;a_o(e)?!(e.type===Ct||e.type===Pe&&!nf(e.children)):!0)?t:null}const oa=t=>t?pf(t)?Yr(t)||t.proxy:oa(t.parent):null,to=Qe(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>oa(t.parent),$root:t=>oa(t.root),$emit:t=>t.emit,$options:t=>el(t),$forceUpdate:t=>t.f||(t.f=()=>Za(t.update)),$nextTick:t=>t.n||(t.n=ge.bind(t.proxy)),$watch:t=>xm.bind(t)}),wi=(t,e)=>t!==He&&!t.__isScriptSetup&&De(t,e),Pm={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const p=i[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(wi(s,e))return i[e]=1,s[e];if(o!==He&&De(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&De(c,e))return i[e]=3,r[e];if(n!==He&&De(n,e))return i[e]=4,n[e];ra&&(i[e]=0)}}const u=to[e];let f,h;if(u)return e==="$attrs"&&pt(t,"get",e),u(t);if((f=a.__cssModules)&&(f=f[e]))return f;if(n!==He&&De(n,e))return i[e]=4,n[e];if(h=l.config.globalProperties,De(h,e))return h[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return wi(o,e)?(o[e]=n,!0):s!==He&&De(s,e)?(s[e]=n,!0):De(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==He&&De(t,i)||wi(e,i)||(a=r[0])&&De(a,i)||De(s,i)||De(to,i)||De(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:De(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let ra=!0;function Fm(t){const e=el(t),n=t.proxy,s=t.ctx;ra=!1,e.beforeCreate&&nc(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:h,beforeUpdate:p,updated:g,activated:m,deactivated:v,beforeDestroy:y,beforeUnmount:_,destroyed:w,unmounted:C,render:I,renderTracked:S,renderTriggered:R,errorCaptured:x,serverPrefetch:k,expose:T,inheritAttrs:j,components:F,directives:K,filters:D}=e;if(c&&jm(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const P=i[A];Se(P)&&(s[A]=P.bind(n))}if(o){const A=o.call(n,n);ze(A)&&(t.data=Fs(A))}if(ra=!0,r)for(const A in r){const P=r[A],U=Se(P)?P.bind(n,n):Se(P.get)?P.get.bind(n,n):Nt,pe=!Se(P)&&Se(P.set)?P.set.bind(n):Nt,ue=kt({get:U,set:pe});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>ue.value,set:Z=>ue.value=Z})}if(a)for(const A in a)sf(a[A],s,n,A);if(l){const A=Se(l)?l.call(n):l;Reflect.ownKeys(A).forEach(P=>{sr(P,A[P])})}u&&nc(u,t,"c");function Y(A,P){ye(P)?P.forEach(U=>A(U.bind(n))):P&&A(P.bind(n))}if(Y(Mm,f),Y(Gr,h),Y(Om,p),Y(Ja,g),Y(Am,m),Y(Sm,v),Y(Im,x),Y(Lm,S),Y(Dm,R),Y(Qa,_),Y(Qd,C),Y(Rm,k),ye(T))if(T.length){const A=t.exposed||(t.exposed={});T.forEach(P=>{Object.defineProperty(A,P,{get:()=>n[P],set:U=>n[P]=U})})}else t.exposed||(t.exposed={});I&&t.render===Nt&&(t.render=I),j!=null&&(t.inheritAttrs=j),F&&(t.components=F),K&&(t.directives=K)}function jm(t,e,n=Nt,s=!1){ye(t)&&(t=ia(t));for(const o in t){const r=t[o];let i;ze(r)?"default"in r?i=sn(r.from||o,r.default,!0):i=sn(r.from||o):i=sn(r),rt(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function nc(t,e,n){Et(ye(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function sf(t,e,n,s){const o=s.includes(".")?Gd(n,s):()=>n[s];if(Ve(t)){const r=e[t];Se(r)&&Wn(o,r)}else if(Se(t))Wn(o,t.bind(n));else if(ze(t))if(ye(t))t.forEach(r=>sf(r,e,n,s));else{const r=Se(t.handler)?t.handler.bind(n):e[t.handler];Se(r)&&Wn(o,r,t)}}function el(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(c=>br(l,c,i,!0)),br(l,e,i)),ze(e)&&r.set(e,l),l}function br(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&br(t,r,n,!0),o&&o.forEach(i=>br(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=Bm[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const Bm={data:sc,props:jn,emits:jn,methods:jn,computed:jn,beforeCreate:it,created:it,beforeMount:it,mounted:it,beforeUpdate:it,updated:it,beforeDestroy:it,beforeUnmount:it,destroyed:it,unmounted:it,activated:it,deactivated:it,errorCaptured:it,serverPrefetch:it,components:jn,directives:jn,watch:zm,provide:sc,inject:$m};function sc(t,e){return e?t?function(){return Qe(Se(t)?t.call(this,this):t,Se(e)?e.call(this,this):e)}:e:t}function $m(t,e){return jn(ia(t),ia(e))}function ia(t){if(ye(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let f=0;f{l=!0;const[h,p]=rf(f,e,!0);Qe(i,h),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return ze(t)&&s.set(t,hs),hs;if(ye(r))for(let u=0;u-1,p[1]=m<0||g-1||De(p,"default"))&&a.push(f)}}}const c=[i,a];return ze(t)&&s.set(t,c),c}function oc(t){return t[0]!=="$"}function rc(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function ic(t,e){return rc(t)===rc(e)}function ac(t,e){return ye(e)?e.findIndex(n=>ic(n,t)):Se(e)&&ic(e,t)?0:-1}const af=t=>t[0]==="_"||t==="$stable",tl=t=>ye(t)?t.map(Bt):[Bt(t)],Hm=(t,e,n)=>{if(e._n)return e;const s=Je((...o)=>tl(e(...o)),n);return s._c=!1,s},lf=(t,e,n)=>{const s=t._ctx;for(const o in t){if(af(o))continue;const r=t[o];if(Se(r))e[o]=Hm(o,r,s);else if(r!=null){const i=tl(r);e[o]=()=>i}}},cf=(t,e)=>{const n=tl(e);t.slots.default=()=>n},Vm=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Ie(e),gr(e,"_",n)):lf(e,t.slots={})}else t.slots={},e&&cf(t,e);gr(t.slots,Zr,1)},Km=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=He;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(Qe(o,e),!n&&a===1&&delete o._):(r=!e.$stable,lf(e,o)),i=e}else e&&(cf(t,e),i={default:1});if(r)for(const a in o)!af(a)&&!(a in i)&&delete o[a]};function uf(){return{app:null,config:{isNativeTag:bg,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 Gm=0;function Wm(t,e){return function(s,o=null){Se(s)||(s=Object.assign({},s)),o!=null&&!ze(o)&&(o=null);const r=uf(),i=new Set;let a=!1;const l=r.app={_uid:Gm++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:h_,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Se(c.install)?(i.add(c),c.install(l,...u)):Se(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,f){if(!a){const h=Ae(s,o);return h.appContext=r,u&&e?e(h,c):t(h,c,f),a=!0,l._container=c,c.__vue_app__=l,Yr(h.component)||h.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function la(t,e,n,s,o=!1){if(ye(t)){t.forEach((h,p)=>la(h,e&&(ye(e)?e[p]:e),n,s,o));return}if(ys(s)&&!o)return;const r=s.shapeFlag&4?Yr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===He?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ve(c)?(u[c]=null,De(f,c)&&(f[c]=null)):rt(c)&&(c.value=null)),Se(l))Mn(l,a,12,[i,u]);else{const h=Ve(l),p=rt(l);if(h||p){const g=()=>{if(t.f){const m=h?De(f,l)?f[l]:u[l]:l.value;o?ye(m)&&Ba(m,r):ye(m)?m.includes(r)||m.push(r):h?(u[l]=[r],De(f,l)&&(f[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else h?(u[l]=i,De(f,l)&&(f[l]=i)):p&&(l.value=i,t.k&&(u[t.k]=i))};i?(g.id=-1,et(g,n)):g()}}}const et=vm;function Zm(t){return Ym(t)}function Ym(t,e){const n=Sg();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:h,setScopeId:p=Nt,insertStaticContent:g}=t,m=(b,E,N,B=null,$=null,te=null,oe=!1,z=null,ne=!!E.dynamicChildren)=>{if(b===E)return;b&&!Cn(b,E)&&(B=X(b),Z(b,$,te,!0),b=null),E.patchFlag===-2&&(ne=!1,E.dynamicChildren=null);const{type:q,ref:J,shapeFlag:re}=E;switch(q){case Wr:v(b,E,N,B);break;case Ct:y(b,E,N,B);break;case or:b==null&&_(E,N,B,oe);break;case Pe:F(b,E,N,B,$,te,oe,z,ne);break;default:re&1?I(b,E,N,B,$,te,oe,z,ne):re&6?K(b,E,N,B,$,te,oe,z,ne):(re&64||re&128)&&q.process(b,E,N,B,$,te,oe,z,ne,G)}J!=null&&$&&la(J,b&&b.ref,te,E||b,!E)},v=(b,E,N,B)=>{if(b==null)s(E.el=a(E.children),N,B);else{const $=E.el=b.el;E.children!==b.children&&c($,E.children)}},y=(b,E,N,B)=>{b==null?s(E.el=l(E.children||""),N,B):E.el=b.el},_=(b,E,N,B)=>{[b.el,b.anchor]=g(b.children,E,N,B,b.el,b.anchor)},w=({el:b,anchor:E},N,B)=>{let $;for(;b&&b!==E;)$=h(b),s(b,N,B),b=$;s(E,N,B)},C=({el:b,anchor:E})=>{let N;for(;b&&b!==E;)N=h(b),o(b),b=N;o(E)},I=(b,E,N,B,$,te,oe,z,ne)=>{oe=oe||E.type==="svg",b==null?S(E,N,B,$,te,oe,z,ne):k(b,E,$,te,oe,z,ne)},S=(b,E,N,B,$,te,oe,z)=>{let ne,q;const{type:J,props:re,shapeFlag:de,transition:ae,dirs:xe}=b;if(ne=b.el=i(b.type,te,re&&re.is,re),de&8?u(ne,b.children):de&16&&x(b.children,ne,null,B,$,te&&J!=="foreignObject",oe,z),xe&&In(b,null,B,"created"),R(ne,b,b.scopeId,oe,B),re){for(const se in re)se!=="value"&&!nr(se)&&r(ne,se,null,re[se],te,b.children,B,$,Q);"value"in re&&r(ne,"value",null,re.value),(q=re.onVnodeBeforeMount)&&xt(q,B,b)}xe&&In(b,null,B,"beforeMount");const W=(!$||$&&!$.pendingBranch)&&ae&&!ae.persisted;W&&ae.beforeEnter(ne),s(ne,E,N),((q=re&&re.onVnodeMounted)||W||xe)&&et(()=>{q&&xt(q,B,b),W&&ae.enter(ne),xe&&In(b,null,B,"mounted")},$)},R=(b,E,N,B,$)=>{if(N&&p(b,N),B)for(let te=0;te{for(let q=ne;q{const z=E.el=b.el;let{patchFlag:ne,dynamicChildren:q,dirs:J}=E;ne|=b.patchFlag&16;const re=b.props||He,de=E.props||He;let ae;N&&Nn(N,!1),(ae=de.onVnodeBeforeUpdate)&&xt(ae,N,E,b),J&&In(E,b,N,"beforeUpdate"),N&&Nn(N,!0);const xe=$&&E.type!=="foreignObject";if(q?T(b.dynamicChildren,q,z,N,B,xe,te):oe||P(b,E,z,null,N,B,xe,te,!1),ne>0){if(ne&16)j(z,E,re,de,N,B,$);else if(ne&2&&re.class!==de.class&&r(z,"class",null,de.class,$),ne&4&&r(z,"style",re.style,de.style,$),ne&8){const W=E.dynamicProps;for(let se=0;se{ae&&xt(ae,N,E,b),J&&In(E,b,N,"updated")},B)},T=(b,E,N,B,$,te,oe)=>{for(let z=0;z{if(N!==B){if(N!==He)for(const z in N)!nr(z)&&!(z in B)&&r(b,z,N[z],null,oe,E.children,$,te,Q);for(const z in B){if(nr(z))continue;const ne=B[z],q=N[z];ne!==q&&z!=="value"&&r(b,z,q,ne,oe,E.children,$,te,Q)}"value"in B&&r(b,"value",N.value,B.value)}},F=(b,E,N,B,$,te,oe,z,ne)=>{const q=E.el=b?b.el:a(""),J=E.anchor=b?b.anchor:a("");let{patchFlag:re,dynamicChildren:de,slotScopeIds:ae}=E;ae&&(z=z?z.concat(ae):ae),b==null?(s(q,N,B),s(J,N,B),x(E.children,N,J,$,te,oe,z,ne)):re>0&&re&64&&de&&b.dynamicChildren?(T(b.dynamicChildren,de,N,$,te,oe,z),(E.key!=null||$&&E===$.subTree)&&df(b,E,!0)):P(b,E,N,J,$,te,oe,z,ne)},K=(b,E,N,B,$,te,oe,z,ne)=>{E.slotScopeIds=z,b==null?E.shapeFlag&512?$.ctx.activate(E,N,B,oe,ne):D(E,N,B,$,te,oe,ne):ce(b,E,ne)},D=(b,E,N,B,$,te,oe)=>{const z=b.component=r_(b,B,$);if(Vr(b)&&(z.ctx.renderer=G),i_(z),z.asyncDep){if($&&$.registerDep(z,Y),!b.el){const ne=z.subTree=Ae(Ct);y(null,ne,E,N)}return}Y(z,b,E,N,$,te,oe)},ce=(b,E,N)=>{const B=E.component=b.component;if(ym(b,E,N))if(B.asyncDep&&!B.asyncResolved){A(B,E,N);return}else B.next=E,fm(B.update),B.update();else E.el=b.el,B.vnode=E},Y=(b,E,N,B,$,te,oe)=>{const z=()=>{if(b.isMounted){let{next:J,bu:re,u:de,parent:ae,vnode:xe}=b,W=J,se;Nn(b,!1),J?(J.el=xe.el,A(b,J,oe)):J=xe,re&&gs(re),(se=J.props&&J.props.onVnodeBeforeUpdate)&&xt(se,ae,J,xe),Nn(b,!0);const he=yi(b),we=b.subTree;b.subTree=he,m(we,he,f(we.el),X(we),b,$,te),J.el=he.el,W===null&&bm(b,he.el),de&&et(de,$),(se=J.props&&J.props.onVnodeUpdated)&&et(()=>xt(se,ae,J,xe),$)}else{let J;const{el:re,props:de}=E,{bm:ae,m:xe,parent:W}=b,se=ys(E);if(Nn(b,!1),ae&&gs(ae),!se&&(J=de&&de.onVnodeBeforeMount)&&xt(J,W,E),Nn(b,!0),re&&fe){const he=()=>{b.subTree=yi(b),fe(re,b.subTree,b,$,null)};se?E.type.__asyncLoader().then(()=>!b.isUnmounted&&he()):he()}else{const he=b.subTree=yi(b);m(null,he,N,B,b,$,te),E.el=he.el}if(xe&&et(xe,$),!se&&(J=de&&de.onVnodeMounted)){const he=E;et(()=>xt(J,W,he),$)}(E.shapeFlag&256||W&&ys(W.vnode)&&W.vnode.shapeFlag&256)&&b.a&&et(b.a,$),b.isMounted=!0,E=N=B=null}},ne=b.effect=new qa(z,()=>Za(q),b.scope),q=b.update=()=>ne.run();q.id=b.uid,Nn(b,!0),q()},A=(b,E,N)=>{E.component=b;const B=b.vnode.props;b.vnode=E,b.next=null,Um(b,E.props,B,N),Km(b,E.children,N),Ns(),Ql(),Ps()},P=(b,E,N,B,$,te,oe,z,ne=!1)=>{const q=b&&b.children,J=b?b.shapeFlag:0,re=E.children,{patchFlag:de,shapeFlag:ae}=E;if(de>0){if(de&128){pe(q,re,N,B,$,te,oe,z,ne);return}else if(de&256){U(q,re,N,B,$,te,oe,z,ne);return}}ae&8?(J&16&&Q(q,$,te),re!==q&&u(N,re)):J&16?ae&16?pe(q,re,N,B,$,te,oe,z,ne):Q(q,$,te,!0):(J&8&&u(N,""),ae&16&&x(re,N,B,$,te,oe,z,ne))},U=(b,E,N,B,$,te,oe,z,ne)=>{b=b||hs,E=E||hs;const q=b.length,J=E.length,re=Math.min(q,J);let de;for(de=0;deJ?Q(b,$,te,!0,!1,re):x(E,N,B,$,te,oe,z,ne,re)},pe=(b,E,N,B,$,te,oe,z,ne)=>{let q=0;const J=E.length;let re=b.length-1,de=J-1;for(;q<=re&&q<=de;){const ae=b[q],xe=E[q]=ne?yn(E[q]):Bt(E[q]);if(Cn(ae,xe))m(ae,xe,N,null,$,te,oe,z,ne);else break;q++}for(;q<=re&&q<=de;){const ae=b[re],xe=E[de]=ne?yn(E[de]):Bt(E[de]);if(Cn(ae,xe))m(ae,xe,N,null,$,te,oe,z,ne);else break;re--,de--}if(q>re){if(q<=de){const ae=de+1,xe=aede)for(;q<=re;)Z(b[q],$,te,!0),q++;else{const ae=q,xe=q,W=new Map;for(q=xe;q<=de;q++){const st=E[q]=ne?yn(E[q]):Bt(E[q]);st.key!=null&&W.set(st.key,q)}let se,he=0;const we=de-xe+1;let Ne=!1,Ue=0;const bt=new Array(we);for(q=0;q=we){Z(st,$,te,!0);continue}let ct;if(st.key!=null)ct=W.get(st.key);else for(se=xe;se<=de;se++)if(bt[se-xe]===0&&Cn(st,E[se])){ct=se;break}ct===void 0?Z(st,$,te,!0):(bt[ct-xe]=q+1,ct>=Ue?Ue=ct:Ne=!0,m(st,E[ct],N,null,$,te,oe,z,ne),he++)}const Xe=Ne?Jm(bt):hs;for(se=Xe.length-1,q=we-1;q>=0;q--){const st=xe+q,ct=E[st],ql=st+1{const{el:te,type:oe,transition:z,children:ne,shapeFlag:q}=b;if(q&6){ue(b.component.subTree,E,N,B);return}if(q&128){b.suspense.move(E,N,B);return}if(q&64){oe.move(b,E,N,G);return}if(oe===Pe){s(te,E,N);for(let re=0;rez.enter(te),$);else{const{leave:re,delayLeave:de,afterLeave:ae}=z,xe=()=>s(te,E,N),W=()=>{re(te,()=>{xe(),ae&&ae()})};de?de(te,xe,W):W()}else s(te,E,N)},Z=(b,E,N,B=!1,$=!1)=>{const{type:te,props:oe,ref:z,children:ne,dynamicChildren:q,shapeFlag:J,patchFlag:re,dirs:de}=b;if(z!=null&&la(z,null,N,b,!0),J&256){E.ctx.deactivate(b);return}const ae=J&1&&de,xe=!ys(b);let W;if(xe&&(W=oe&&oe.onVnodeBeforeUnmount)&&xt(W,E,b),J&6)L(b.component,N,B);else{if(J&128){b.suspense.unmount(N,B);return}ae&&In(b,null,E,"beforeUnmount"),J&64?b.type.remove(b,E,N,$,G,B):q&&(te!==Pe||re>0&&re&64)?Q(q,E,N,!1,!0):(te===Pe&&re&384||!$&&J&16)&&Q(ne,E,N),B&&_e(b)}(xe&&(W=oe&&oe.onVnodeUnmounted)||ae)&&et(()=>{W&&xt(W,E,b),ae&&In(b,null,E,"unmounted")},N)},_e=b=>{const{type:E,el:N,anchor:B,transition:$}=b;if(E===Pe){Ee(N,B);return}if(E===or){C(b);return}const te=()=>{o(N),$&&!$.persisted&&$.afterLeave&&$.afterLeave()};if(b.shapeFlag&1&&$&&!$.persisted){const{leave:oe,delayLeave:z}=$,ne=()=>oe(N,te);z?z(b.el,te,ne):ne()}else te()},Ee=(b,E)=>{let N;for(;b!==E;)N=h(b),o(b),b=N;o(E)},L=(b,E,N)=>{const{bum:B,scope:$,update:te,subTree:oe,um:z}=b;B&&gs(B),$.stop(),te&&(te.active=!1,Z(oe,b,E,N)),z&&et(z,E),et(()=>{b.isUnmounted=!0},E),E&&E.pendingBranch&&!E.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===E.pendingId&&(E.deps--,E.deps===0&&E.resolve())},Q=(b,E,N,B=!1,$=!1,te=0)=>{for(let oe=te;oeb.shapeFlag&6?X(b.component.subTree):b.shapeFlag&128?b.suspense.next():h(b.anchor||b.el),ie=(b,E,N)=>{b==null?E._vnode&&Z(E._vnode,null,null,!0):m(E._vnode||null,b,E,null,null,null,N),Ql(),qd(),E._vnode=b},G={p:m,um:Z,m:ue,r:_e,mt:D,mc:x,pc:P,pbc:T,n:X,o:t};let me,fe;return e&&([me,fe]=e(G)),{render:ie,hydrate:me,createApp:Wm(ie,me)}}function Nn({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function df(t,e,n=!1){const s=t.children,o=e.children;if(ye(s)&&ye(o))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=e[i];return n}const Qm=t=>t.__isTeleport,Pe=Symbol(void 0),Wr=Symbol(void 0),Ct=Symbol(void 0),or=Symbol(void 0),no=[];let It=null;function M(t=!1){no.push(It=t?null:[])}function Xm(){no.pop(),It=no[no.length-1]||null}let mo=1;function lc(t){mo+=t}function ff(t){return t.dynamicChildren=mo>0?It||hs:null,Xm(),mo>0&&It&&It.push(t),t}function O(t,e,n,s,o,r){return ff(d(t,e,n,s,o,r,!0))}function lt(t,e,n,s,o){return ff(Ae(t,e,n,s,o,!0))}function _o(t){return t?t.__v_isVNode===!0:!1}function Cn(t,e){return t.type===e.type&&t.key===e.key}const Zr="__vInternal",hf=({key:t})=>t??null,rr=({ref:t,ref_key:e,ref_for:n})=>t!=null?Ve(t)||rt(t)||Se(t)?{i:tt,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Pe?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&hf(e),ref:e&&rr(e),scopeId:Hr,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:tt};return a?(nl(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=Ve(n)?8:16),mo>0&&!i&&It&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&It.push(l),l}const Ae=e_;function e_(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Xd)&&(t=Ct),_o(t)){const a=ln(t,e,!0);return n&&nl(a,n),mo>0&&!r&&It&&(a.shapeFlag&6?It[It.indexOf(t)]=a:It.push(a)),a.patchFlag|=-2,a}if(u_(t)&&(t=t.__vccOpts),e){e=t_(e);let{class:a,style:l}=e;a&&!Ve(a)&&(e.class=Oe(a)),ze(l)&&(Ld(l)&&!ye(l)&&(l=Qe({},l)),e.style=nn(l))}const i=Ve(t)?1:Vd(t)?128:Qm(t)?64:ze(t)?4:Se(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function t_(t){return t?Ld(t)||Zr in t?Qe({},t):t:null}function ln(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?n_(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&hf(a),ref:e&&e.ref?n&&o?ye(o)?o.concat(rr(e)):[o,rr(e)]:rr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Pe?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ln(t.ssContent),ssFallback:t.ssFallback&&ln(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function be(t=" ",e=0){return Ae(Wr,null,t,e)}function To(t,e){const n=Ae(or,null,t);return n.staticCount=e,n}function V(t="",e=!1){return e?(M(),lt(Ct,null,t)):Ae(Ct,null,t)}function Bt(t){return t==null||typeof t=="boolean"?Ae(Ct):ye(t)?Ae(Pe,null,t.slice()):typeof t=="object"?yn(t):Ae(Wr,null,String(t))}function yn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ln(t)}function nl(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(ye(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),nl(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!(Zr in e)?e._ctx=tt:o===3&&tt&&(tt.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Se(e)?(e={default:e,_ctx:tt},n=32):(e=String(e),s&64?(n=16,e=[be(e)]):n=8);t.children=e,t.shapeFlag|=n}function n_(...t){const e={};for(let n=0;nWe||tt,ws=t=>{We=t,t.scope.on()},Zn=()=>{We&&We.scope.off(),We=null};function pf(t){return t.vnode.shapeFlag&4}let yo=!1;function i_(t,e=!1){yo=e;const{props:n,children:s}=t.vnode,o=pf(t);qm(t,n,o,e),Vm(t,s);const r=o?a_(t,e):void 0;return yo=!1,r}function a_(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Id(new Proxy(t.ctx,Pm));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?c_(t):null;ws(t),Ns();const r=Mn(s,t,0,[t.props,o]);if(Ps(),Zn(),bd(r)){if(r.then(Zn,Zn),e)return r.then(i=>{cc(t,i,e)}).catch(i=>{qr(i,t,0)});t.asyncDep=r}else cc(t,r,e)}else gf(t,e)}function cc(t,e,n){Se(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ze(e)&&(t.setupState=jd(e)),gf(t,n)}let uc;function gf(t,e,n){const s=t.type;if(!t.render){if(!e&&uc&&!s.render){const o=s.template||el(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Qe(Qe({isCustomElement:r,delimiters:a},i),l);s.render=uc(o,c)}}t.render=s.render||Nt}ws(t),Ns(),Fm(t),Ps(),Zn()}function l_(t){return new Proxy(t.attrs,{get(e,n){return pt(t,"get","$attrs"),e[n]}})}function c_(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=l_(t))},slots:t.slots,emit:t.emit,expose:e}}function Yr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(jd(Id(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in to)return to[n](t)},has(e,n){return n in e||n in to}}))}function ca(t,e=!0){return Se(t)?t.displayName||t.name:t.name||e&&t.__name}function u_(t){return Se(t)&&"__vccOpts"in t}const kt=(t,e)=>cm(t,e,yo);function mf(t,e,n){const s=arguments.length;return s===2?ze(e)&&!ye(e)?_o(e)?Ae(t,null,[e]):Ae(t,e):Ae(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&_o(n)&&(n=[n]),Ae(t,e,n))}const d_=Symbol(""),f_=()=>sn(d_),h_="3.2.47",p_="http://www.w3.org/2000/svg",$n=typeof document<"u"?document:null,dc=$n&&$n.createElement("template"),g_={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?$n.createElementNS(p_,t):$n.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>$n.createTextNode(t),createComment:t=>$n.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>$n.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{dc.innerHTML=s?`${t}`:t;const a=dc.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function m_(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function __(t,e,n){const s=t.style,o=Ve(n);if(n&&!o){if(e&&!Ve(e))for(const r in e)n[r]==null&&ua(s,r,"");for(const r in n)ua(s,r,n[r])}else{const r=s.display;o?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=r)}}const fc=/\s*!important$/;function ua(t,e,n){if(ye(n))n.forEach(s=>ua(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=y_(t,e);fc.test(n)?t.setProperty(ts(s),n.replace(fc,""),"important"):t[s]=n}}const hc=["Webkit","Moz","ms"],ki={};function y_(t,e){const n=ki[e];if(n)return n;let s=Gt(e);if(s!=="filter"&&s in t)return ki[e]=s;s=$r(s);for(let o=0;oEi||(E_.then(()=>Ei=0),Ei=Date.now());function A_(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Et(S_(s,n.value),e,5,[s])};return n.value=t,n.attached=C_(),n}function S_(t,e){if(ye(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const mc=/^on[a-z]/,T_=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?m_(t,s,o):e==="style"?__(t,n,s):jr(e)?ja(e)||w_(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):M_(t,e,s,o))?v_(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),b_(t,e,s,o))};function M_(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&mc.test(e)&&Se(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||mc.test(e)&&Ve(n)?!1:e in t}const pn="transition",Gs="animation",_f={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},O_=Qe({},km.props,_f),Pn=(t,e=[])=>{ye(t)?t.forEach(n=>n(...e)):t&&t(...e)},_c=t=>t?ye(t)?t.some(e=>e.length>1):t.length>1:!1;function R_(t){const e={};for(const F in t)F in _f||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,g=D_(o),m=g&&g[0],v=g&&g[1],{onBeforeEnter:y,onEnter:_,onEnterCancelled:w,onLeave:C,onLeaveCancelled:I,onBeforeAppear:S=y,onAppear:R=_,onAppearCancelled:x=w}=e,k=(F,K,D)=>{_n(F,K?u:a),_n(F,K?c:i),D&&D()},T=(F,K)=>{F._isLeaving=!1,_n(F,f),_n(F,p),_n(F,h),K&&K()},j=F=>(K,D)=>{const ce=F?R:_,Y=()=>k(K,F,D);Pn(ce,[K,Y]),yc(()=>{_n(K,F?l:r),Xt(K,F?u:a),_c(ce)||bc(K,s,m,Y)})};return Qe(e,{onBeforeEnter(F){Pn(y,[F]),Xt(F,r),Xt(F,i)},onBeforeAppear(F){Pn(S,[F]),Xt(F,l),Xt(F,c)},onEnter:j(!1),onAppear:j(!0),onLeave(F,K){F._isLeaving=!0;const D=()=>T(F,K);Xt(F,f),bf(),Xt(F,h),yc(()=>{F._isLeaving&&(_n(F,f),Xt(F,p),_c(C)||bc(F,s,v,D))}),Pn(C,[F,D])},onEnterCancelled(F){k(F,!1),Pn(w,[F])},onAppearCancelled(F){k(F,!0),Pn(x,[F])},onLeaveCancelled(F){T(F),Pn(I,[F])}})}function D_(t){if(t==null)return null;if(ze(t))return[Ci(t.enter),Ci(t.leave)];{const e=Ci(t);return[e,e]}}function Ci(t){return Ag(t)}function Xt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function _n(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function yc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let L_=0;function bc(t,e,n,s){const o=t._endId=++L_,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=yf(t,e);if(!i)return s();const c=i+"end";let u=0;const f=()=>{t.removeEventListener(c,h),r()},h=p=>{p.target===t&&++u>=l&&f()};setTimeout(()=>{u(n[g]||"").split(", "),o=s(`${pn}Delay`),r=s(`${pn}Duration`),i=vc(o,r),a=s(`${Gs}Delay`),l=s(`${Gs}Duration`),c=vc(a,l);let u=null,f=0,h=0;e===pn?i>0&&(u=pn,f=i,h=r.length):e===Gs?c>0&&(u=Gs,f=c,h=l.length):(f=Math.max(i,c),u=f>0?i>c?pn:Gs:null,h=u?u===pn?r.length:l.length:0);const p=u===pn&&/\b(transform|all)(,|$)/.test(s(`${pn}Property`).toString());return{type:u,timeout:f,propCount:h,hasTransform:p}}function vc(t,e){for(;t.lengthxc(n)+xc(t[s])))}function xc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function bf(){return document.body.offsetHeight}const vf=new WeakMap,xf=new WeakMap,wf={name:"TransitionGroup",props:Qe({},O_,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=sl(),s=Wd();let o,r;return Ja(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!j_(o[0].el,n.vnode.el,i))return;o.forEach(N_),o.forEach(P_);const a=o.filter(F_);bf(),a.forEach(l=>{const c=l.el,u=c.style;Xt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c._moveCb=h=>{h&&h.target!==c||(!h||/transform$/.test(h.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,_n(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Ie(t),a=R_(i);let l=i.tag||Pe;o=r,r=e.default?Ya(e.default()):[];for(let c=0;cdelete t.mode;wf.props;const on=wf;function N_(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function P_(t){xf.set(t,t.el.getBoundingClientRect())}function F_(t){const e=vf.get(t),n=xf.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function j_(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=yf(s);return o.removeChild(s),r}const ks=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ye(e)?n=>gs(e,n):e};function B_(t){t.target.composing=!0}function wc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Be={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=ks(o);const r=s||o.props&&o.props.type==="number";An(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=mr(a)),t._assign(a)}),n&&An(t,"change",()=>{t.value=t.value.trim()}),e||(An(t,"compositionstart",B_),An(t,"compositionend",wc),An(t,"change",wc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=ks(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&mr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},bn={deep:!0,created(t,e,n){t._assign=ks(n),An(t,"change",()=>{const s=t._modelValue,o=bo(t),r=t.checked,i=t._assign;if(ye(s)){const a=Fa(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const c=[...s];c.splice(a,1),i(c)}}else if(Ls(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(kf(t,r))})},mounted:kc,beforeUpdate(t,e,n){t._assign=ks(n),kc(t,e,n)}};function kc(t,{value:e,oldValue:n},s){t._modelValue=e,ye(e)?t.checked=Fa(e,s.props.value)>-1:Ls(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=So(e,kf(t,!0)))}const $_={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ls(e);An(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?mr(bo(i)):bo(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=ks(s)},mounted(t,{value:e}){Ec(t,e)},beforeUpdate(t,e,n){t._assign=ks(n)},updated(t,{value:e}){Ec(t,e)}};function Ec(t,e){const n=t.multiple;if(!(n&&!ye(e)&&!Ls(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(So(bo(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function bo(t){return"_value"in t?t._value:t.value}function kf(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const z_=["ctrl","shift","alt","meta"],q_={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>z_.some(n=>t[`${n}Key`]&&!e.includes(n))},le=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=ts(n.key);if(e.some(o=>o===s||U_[o]===s))return t(n)},H_=Qe({patchProp:T_},g_);let Cc;function V_(){return Cc||(Cc=Zm(H_))}const Ef=(...t)=>{const e=V_().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=K_(s);if(!o)return;const r=e._component;!Se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function K_(t){return Ve(t)?document.querySelector(t):t}function G_(){return Cf().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Cf(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const W_=typeof Proxy=="function",Z_="devtools-plugin:setup",Y_="plugin:settings:set";let os,fa;function J_(){var t;return os!==void 0||(typeof window<"u"&&window.performance?(os=!0,fa=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(os=!0,fa=global.perf_hooks.performance):os=!1),os}function Q_(){return J_()?fa.now():Date.now()}class X_{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const s={};if(e.settings)for(const i in e.settings){const a=e.settings[i];s[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}r=i},now(){return Q_()}},n&&n.on(Y_,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function e1(t,e){const n=t,s=Cf(),o=G_(),r=W_&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(Z_,t,e);else{const i=r?new X_(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! + * vuex v4.0.2 + * (c) 2021 Evan You + * @license MIT + */var t1="store";function $s(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function n1(t){return t!==null&&typeof t=="object"}function s1(t){return t&&typeof t.then=="function"}function o1(t,e){return function(){return t(e)}}function Af(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function Sf(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Jr(t,n,[],t._modules.root,!0),ol(t,n,e)}function ol(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};$s(o,function(i,a){r[a]=o1(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Fs({data:e}),t.strict&&c1(t),s&&n&&t._withCommit(function(){s.data=null})}function Jr(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=rl(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=r1(t,i,n);s.forEachMutation(function(u,f){var h=i+f;i1(t,h,u,c)}),s.forEachAction(function(u,f){var h=u.root?f:i+f,p=u.handler||u;a1(t,h,p,c)}),s.forEachGetter(function(u,f){var h=i+f;l1(t,h,u,c)}),s.forEachChild(function(u,f){Jr(t,e,n.concat(f),u,o)})}function r1(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=vr(r,i,a),c=l.payload,u=l.options,f=l.type;return(!u||!u.root)&&(f=e+f),t.dispatch(f,c)},commit:s?t.commit:function(r,i,a){var l=vr(r,i,a),c=l.payload,u=l.options,f=l.type;(!u||!u.root)&&(f=e+f),t.commit(f,c,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return Tf(t,e)}},state:{get:function(){return rl(t.state,n)}}}),o}function Tf(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function i1(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function a1(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return s1(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function l1(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function c1(t){Wn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function rl(t,e){return e.reduce(function(n,s){return n[s]},t)}function vr(t,e,n){return n1(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var u1="vuex bindings",Ac="vuex:mutations",Ai="vuex:actions",rs="vuex",d1=0;function f1(t,e){e1({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[u1]},function(n){n.addTimelineLayer({id:Ac,label:"Vuex Mutations",color:Sc}),n.addTimelineLayer({id:Ai,label:"Vuex Actions",color:Sc}),n.addInspector({id:rs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===rs)if(s.filter){var o=[];Df(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[Rf(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===rs){var o=s.nodeId;Tf(e,o),s.state=g1(_1(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===rs){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(rs),n.sendInspectorState(rs),n.addTimelineEvent({layerId:Ac,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=d1++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:Ai,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:Ai,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var Sc=8702998,h1=6710886,p1=16777215,Mf={label:"namespaced",textColor:p1,backgroundColor:h1};function Of(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function Rf(t,e){return{id:e||"root",label:Of(e),tags:t.namespaced?[Mf]:[],children:Object.keys(t._children).map(function(n){return Rf(t._children[n],e+n+"/")})}}function Df(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[Mf]:[]}),Object.keys(e._children).forEach(function(o){Df(t,e._children[o],n,s+o+"/")})}function g1(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=m1(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?Of(i):i,editable:!1,value:ha(function(){return r[i]})}})}return o}function m1(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=ha(function(){return t[n]})}else e[n]=ha(function(){return t[n]})}),e}function _1(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function ha(t){try{return t()}catch(e){return e}}var Ft=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},Lf={namespaced:{configurable:!0}};Lf.namespaced.get=function(){return!!this._rawModule.namespaced};Ft.prototype.addChild=function(e,n){this._children[e]=n};Ft.prototype.removeChild=function(e){delete this._children[e]};Ft.prototype.getChild=function(e){return this._children[e]};Ft.prototype.hasChild=function(e){return e in this._children};Ft.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Ft.prototype.forEachChild=function(e){$s(this._children,e)};Ft.prototype.forEachGetter=function(e){this._rawModule.getters&&$s(this._rawModule.getters,e)};Ft.prototype.forEachAction=function(e){this._rawModule.actions&&$s(this._rawModule.actions,e)};Ft.prototype.forEachMutation=function(e){this._rawModule.mutations&&$s(this._rawModule.mutations,e)};Object.defineProperties(Ft.prototype,Lf);var ns=function(e){this.register([],e,!1)};ns.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};ns.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};ns.prototype.update=function(e){If([],this.root,e)};ns.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Ft(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&$s(n.modules,function(a,l){o.register(e.concat(l),a,s)})};ns.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};ns.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function If(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;If(t.concat(s),e.getChild(s),n.modules[s])}}function y1(t){return new gt(t)}var gt=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new ns(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(h,p){return l.call(i,h,p)},this.commit=function(h,p,g){return c.call(i,h,p,g)},this.strict=o;var u=this._modules.root.state;Jr(this,u,[],this._modules.root),ol(this,u),s.forEach(function(f){return f(n)})},il={state:{configurable:!0}};gt.prototype.install=function(e,n){e.provide(n||t1,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&f1(e,this)};il.state.get=function(){return this._state.data};il.state.set=function(t){};gt.prototype.commit=function(e,n,s){var o=this,r=vr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};gt.prototype.dispatch=function(e,n){var s=this,o=vr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,f){c.then(function(h){try{s._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,s.state)})}catch{}u(h)},function(h){try{s._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,s.state,h)})}catch{}f(h)})})}};gt.prototype.subscribe=function(e,n){return Af(e,this._subscribers,n)};gt.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return Af(s,this._actionSubscribers,n)};gt.prototype.watch=function(e,n,s){var o=this;return Wn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};gt.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};gt.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Jr(this,this.state,e,this._modules.get(e),s.preserveState),ol(this,this.state)};gt.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=rl(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),Sf(this)};gt.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};gt.prototype.hotUpdate=function(e){this._modules.update(e),Sf(this,!0)};gt.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(gt.prototype,il);/*! + * vue-router v4.1.6 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const cs=typeof window<"u";function b1(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const $e=Object.assign;function Si(t,e){const n={};for(const s in e){const o=e[s];n[s]=Pt(o)?o.map(t):t(o)}return n}const so=()=>{},Pt=Array.isArray,v1=/\/$/,x1=t=>t.replace(v1,"");function Ti(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=C1(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function w1(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function Tc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function k1(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&Es(e.matched[s],n.matched[o])&&Nf(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function Es(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function Nf(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!E1(t[n],e[n]))return!1;return!0}function E1(t,e){return Pt(t)?Mc(t,e):Pt(e)?Mc(e,t):t===e}function Mc(t,e){return Pt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function C1(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var vo;(function(t){t.pop="pop",t.push="push"})(vo||(vo={}));var oo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(oo||(oo={}));function A1(t){if(!t)if(cs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),x1(t)}const S1=/^[^#]+#/;function T1(t,e){return t.replace(S1,"#")+e}function M1(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Qr=()=>({left:window.pageXOffset,top:window.pageYOffset});function O1(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=M1(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function Oc(t,e){return(history.state?history.state.position-e:-1)+t}const pa=new Map;function R1(t,e){pa.set(t,e)}function D1(t){const e=pa.get(t);return pa.delete(t),e}let L1=()=>location.protocol+"//"+location.host;function Pf(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Tc(l,"")}return Tc(n,t)+s+o}function I1(t,e,n,s){let o=[],r=[],i=null;const a=({state:h})=>{const p=Pf(t,location),g=n.value,m=e.value;let v=0;if(h){if(n.value=p,e.value=h,i&&i===g){i=null;return}v=m?h.position-m.position:0}else s(p);o.forEach(y=>{y(n.value,g,{delta:v,type:vo.pop,direction:v?v>0?oo.forward:oo.back:oo.unknown})})};function l(){i=n.value}function c(h){o.push(h);const p=()=>{const g=o.indexOf(h);g>-1&&o.splice(g,1)};return r.push(p),p}function u(){const{history:h}=window;h.state&&h.replaceState($e({},h.state,{scroll:Qr()}),"")}function f(){for(const h of r)h();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:f}}function Rc(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?Qr():null}}function N1(t){const{history:e,location:n}=window,s={value:Pf(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const f=t.indexOf("#"),h=f>-1?(n.host&&document.querySelector("base")?t:t.slice(f))+l:L1()+t+l;try{e[u?"replaceState":"pushState"](c,"",h),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](h)}}function i(l,c){const u=$e({},e.state,Rc(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=$e({},o.value,e.state,{forward:l,scroll:Qr()});r(u.current,u,!0);const f=$e({},Rc(s.value,l,null),{position:u.position+1},c);r(l,f,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function P1(t){t=A1(t);const e=N1(t),n=I1(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=$e({location:"",base:t,go:s,createHref:T1.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function F1(t){return typeof t=="string"||t&&typeof t=="object"}function Ff(t){return typeof t=="string"||typeof t=="symbol"}const gn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},jf=Symbol("");var Dc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Dc||(Dc={}));function Cs(t,e){return $e(new Error,{type:t,[jf]:!0},e)}function Qt(t,e){return t instanceof Error&&jf in t&&(e==null||!!(t.type&e))}const Lc="[^/]+?",j1={sensitive:!1,strict:!1,start:!0,end:!0},B1=/[.+*?^${}()[\]/\\]/g;function $1(t,e){const n=$e({},j1,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;fe.length?e.length===1&&e[0]===40+40?1:-1:0}function q1(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const U1={type:0,value:""},H1=/[a-zA-Z0-9_]/;function V1(t){if(!t)return[[]];if(t==="/")return[[U1]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",u="";function f(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function h(){c+=l}for(;a{i(_)}:so}function i(u){if(Ff(u)){const f=s.get(u);f&&(s.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&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f=0&&(u.record.path!==n[f].record.path||!Bf(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Pc(u)&&s.set(u.record.name,u)}function c(u,f){let h,p={},g,m;if("name"in u&&u.name){if(h=s.get(u.name),!h)throw Cs(1,{location:u});m=h.record.name,p=$e(Nc(f.params,h.keys.filter(_=>!_.optional).map(_=>_.name)),u.params&&Nc(u.params,h.keys.map(_=>_.name))),g=h.stringify(p)}else if("path"in u)g=u.path,h=n.find(_=>_.re.test(g)),h&&(p=h.parse(g),m=h.record.name);else{if(h=f.name?s.get(f.name):n.find(_=>_.re.test(f.path)),!h)throw Cs(1,{location:u,currentLocation:f});m=h.record.name,p=$e({},f.params,u.params),g=h.stringify(p)}const v=[];let y=h;for(;y;)v.unshift(y.record),y=y.parent;return{name:m,path:g,params:p,matched:v,meta:Y1(v)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Nc(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function W1(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Z1(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Z1(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function Pc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Y1(t){return t.reduce((e,n)=>$e(e,n.meta),{})}function Fc(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function Bf(t,e){return e.children.some(n=>n===t||Bf(t,n))}const $f=/#/g,J1=/&/g,Q1=/\//g,X1=/=/g,e0=/\?/g,zf=/\+/g,t0=/%5B/g,n0=/%5D/g,qf=/%5E/g,s0=/%60/g,Uf=/%7B/g,o0=/%7C/g,Hf=/%7D/g,r0=/%20/g;function al(t){return encodeURI(""+t).replace(o0,"|").replace(t0,"[").replace(n0,"]")}function i0(t){return al(t).replace(Uf,"{").replace(Hf,"}").replace(qf,"^")}function ga(t){return al(t).replace(zf,"%2B").replace(r0,"+").replace($f,"%23").replace(J1,"%26").replace(s0,"`").replace(Uf,"{").replace(Hf,"}").replace(qf,"^")}function a0(t){return ga(t).replace(X1,"%3D")}function l0(t){return al(t).replace($f,"%23").replace(e0,"%3F")}function c0(t){return t==null?"":l0(t).replace(Q1,"%2F")}function xr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function u0(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&ga(r)):[s&&ga(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function d0(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=Pt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const f0=Symbol(""),Bc=Symbol(""),ll=Symbol(""),Vf=Symbol(""),ma=Symbol("");function Ws(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function vn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Cs(4,{from:n,to:e})):f instanceof Error?a(f):F1(f)?a(Cs(2,{from:e,to:f})):(r&&s.enterCallbacks[o]===r&&typeof f=="function"&&r.push(f),i())},c=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(f=>a(f))})}function Mi(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(h0(a)){const c=(a.__vccOpts||a)[e];c&&o.push(vn(c,n,s,r,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=b1(c)?c.default:c;r.components[i]=u;const h=(u.__vccOpts||u)[e];return h&&vn(h,n,s,r,i)()}))}}return o}function h0(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function $c(t){const e=sn(ll),n=sn(Vf),s=kt(()=>e.resolve(mt(t.to))),o=kt(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const h=f.findIndex(Es.bind(null,u));if(h>-1)return h;const p=zc(l[c-2]);return c>1&&zc(u)===p&&f[f.length-1].path!==p?f.findIndex(Es.bind(null,l[c-2])):h}),r=kt(()=>o.value>-1&&m0(n.params,s.value.params)),i=kt(()=>o.value>-1&&o.value===n.matched.length-1&&Nf(n.params,s.value.params));function a(l={}){return g0(l)?e[mt(t.replace)?"replace":"push"](mt(t.to)).catch(so):Promise.resolve()}return{route:s,href:kt(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const p0=Yd({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:$c,setup(t,{slots:e}){const n=Fs($c(t)),{options:s}=sn(ll),o=kt(()=>({[qc(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[qc(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:mf("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),zn=p0;function g0(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function m0(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!Pt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function zc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const qc=(t,e,n)=>t??e??n,_0=Yd({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=sn(ma),o=kt(()=>t.route||s.value),r=sn(Bc,0),i=kt(()=>{let c=mt(r);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=kt(()=>o.value.matched[i.value]);sr(Bc,kt(()=>i.value+1)),sr(f0,a),sr(ma,o);const l=om();return Wn(()=>[l.value,a.value,t.name],([c,u,f],[h,p,g])=>{u&&(u.instances[f]=c,p&&p!==u&&c&&c===h&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!Es(u,p)||!h)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=t.name,f=a.value,h=f&&f.components[u];if(!h)return Uc(n.default,{Component:h,route:c});const p=f.props[u],g=p?p===!0?c.params:typeof p=="function"?p(c):p:null,v=mf(h,$e({},g,e,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Uc(n.default,{Component:v,route:c})||v}}});function Uc(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Kf=_0;function y0(t){const e=G1(t.routes,t),n=t.parseQuery||u0,s=t.stringifyQuery||jc,o=t.history,r=Ws(),i=Ws(),a=Ws(),l=rm(gn);let c=gn;cs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Si.bind(null,L=>""+L),f=Si.bind(null,c0),h=Si.bind(null,xr);function p(L,Q){let X,ie;return Ff(L)?(X=e.getRecordMatcher(L),ie=Q):ie=L,e.addRoute(ie,X)}function g(L){const Q=e.getRecordMatcher(L);Q&&e.removeRoute(Q)}function m(){return e.getRoutes().map(L=>L.record)}function v(L){return!!e.getRecordMatcher(L)}function y(L,Q){if(Q=$e({},Q||l.value),typeof L=="string"){const b=Ti(n,L,Q.path),E=e.resolve({path:b.path},Q),N=o.createHref(b.fullPath);return $e(b,E,{params:h(E.params),hash:xr(b.hash),redirectedFrom:void 0,href:N})}let X;if("path"in L)X=$e({},L,{path:Ti(n,L.path,Q.path).path});else{const b=$e({},L.params);for(const E in b)b[E]==null&&delete b[E];X=$e({},L,{params:f(L.params)}),Q.params=f(Q.params)}const ie=e.resolve(X,Q),G=L.hash||"";ie.params=u(h(ie.params));const me=w1(s,$e({},L,{hash:i0(G),path:ie.path})),fe=o.createHref(me);return $e({fullPath:me,hash:G,query:s===jc?d0(L.query):L.query||{}},ie,{redirectedFrom:void 0,href:fe})}function _(L){return typeof L=="string"?Ti(n,L,l.value.path):$e({},L)}function w(L,Q){if(c!==L)return Cs(8,{from:Q,to:L})}function C(L){return R(L)}function I(L){return C($e(_(L),{replace:!0}))}function S(L){const Q=L.matched[L.matched.length-1];if(Q&&Q.redirect){const{redirect:X}=Q;let ie=typeof X=="function"?X(L):X;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=_(ie):{path:ie},ie.params={}),$e({query:L.query,hash:L.hash,params:"path"in ie?{}:L.params},ie)}}function R(L,Q){const X=c=y(L),ie=l.value,G=L.state,me=L.force,fe=L.replace===!0,b=S(X);if(b)return R($e(_(b),{state:typeof b=="object"?$e({},G,b.state):G,force:me,replace:fe}),Q||X);const E=X;E.redirectedFrom=Q;let N;return!me&&k1(s,ie,X)&&(N=Cs(16,{to:E,from:ie}),pe(ie,ie,!0,!1)),(N?Promise.resolve(N):k(E,ie)).catch(B=>Qt(B)?Qt(B,2)?B:U(B):A(B,E,ie)).then(B=>{if(B){if(Qt(B,2))return R($e({replace:fe},_(B.to),{state:typeof B.to=="object"?$e({},G,B.to.state):G,force:me}),Q||E)}else B=j(E,ie,!0,fe,G);return T(E,ie,B),B})}function x(L,Q){const X=w(L,Q);return X?Promise.reject(X):Promise.resolve()}function k(L,Q){let X;const[ie,G,me]=b0(L,Q);X=Mi(ie.reverse(),"beforeRouteLeave",L,Q);for(const b of ie)b.leaveGuards.forEach(E=>{X.push(vn(E,L,Q))});const fe=x.bind(null,L,Q);return X.push(fe),is(X).then(()=>{X=[];for(const b of r.list())X.push(vn(b,L,Q));return X.push(fe),is(X)}).then(()=>{X=Mi(G,"beforeRouteUpdate",L,Q);for(const b of G)b.updateGuards.forEach(E=>{X.push(vn(E,L,Q))});return X.push(fe),is(X)}).then(()=>{X=[];for(const b of L.matched)if(b.beforeEnter&&!Q.matched.includes(b))if(Pt(b.beforeEnter))for(const E of b.beforeEnter)X.push(vn(E,L,Q));else X.push(vn(b.beforeEnter,L,Q));return X.push(fe),is(X)}).then(()=>(L.matched.forEach(b=>b.enterCallbacks={}),X=Mi(me,"beforeRouteEnter",L,Q),X.push(fe),is(X))).then(()=>{X=[];for(const b of i.list())X.push(vn(b,L,Q));return X.push(fe),is(X)}).catch(b=>Qt(b,8)?b:Promise.reject(b))}function T(L,Q,X){for(const ie of a.list())ie(L,Q,X)}function j(L,Q,X,ie,G){const me=w(L,Q);if(me)return me;const fe=Q===gn,b=cs?history.state:{};X&&(ie||fe?o.replace(L.fullPath,$e({scroll:fe&&b&&b.scroll},G)):o.push(L.fullPath,G)),l.value=L,pe(L,Q,X,fe),U()}let F;function K(){F||(F=o.listen((L,Q,X)=>{if(!Ee.listening)return;const ie=y(L),G=S(ie);if(G){R($e(G,{replace:!0}),ie).catch(so);return}c=ie;const me=l.value;cs&&R1(Oc(me.fullPath,X.delta),Qr()),k(ie,me).catch(fe=>Qt(fe,12)?fe:Qt(fe,2)?(R(fe.to,ie).then(b=>{Qt(b,20)&&!X.delta&&X.type===vo.pop&&o.go(-1,!1)}).catch(so),Promise.reject()):(X.delta&&o.go(-X.delta,!1),A(fe,ie,me))).then(fe=>{fe=fe||j(ie,me,!1),fe&&(X.delta&&!Qt(fe,8)?o.go(-X.delta,!1):X.type===vo.pop&&Qt(fe,20)&&o.go(-1,!1)),T(ie,me,fe)}).catch(so)}))}let D=Ws(),ce=Ws(),Y;function A(L,Q,X){U(L);const ie=ce.list();return ie.length?ie.forEach(G=>G(L,Q,X)):console.error(L),Promise.reject(L)}function P(){return Y&&l.value!==gn?Promise.resolve():new Promise((L,Q)=>{D.add([L,Q])})}function U(L){return Y||(Y=!L,K(),D.list().forEach(([Q,X])=>L?X(L):Q()),D.reset()),L}function pe(L,Q,X,ie){const{scrollBehavior:G}=t;if(!cs||!G)return Promise.resolve();const me=!X&&D1(Oc(L.fullPath,0))||(ie||!X)&&history.state&&history.state.scroll||null;return ge().then(()=>G(L,Q,me)).then(fe=>fe&&O1(fe)).catch(fe=>A(fe,L,Q))}const ue=L=>o.go(L);let Z;const _e=new Set,Ee={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,hasRoute:v,getRoutes:m,resolve:y,options:t,push:C,replace:I,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:ce.add,isReady:P,install(L){const Q=this;L.component("RouterLink",zn),L.component("RouterView",Kf),L.config.globalProperties.$router=Q,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>mt(l)}),cs&&!Z&&l.value===gn&&(Z=!0,C(o.location).catch(G=>{}));const X={};for(const G in gn)X[G]=kt(()=>l.value[G]);L.provide(ll,Q),L.provide(Vf,Fs(X)),L.provide(ma,l);const ie=L.unmount;_e.add(L),L.unmount=function(){_e.delete(L),_e.size<1&&(c=gn,F&&F(),F=null,l.value=gn,Z=!1,Y=!1),ie()}}};return Ee}function is(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function b0(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;iEs(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>Es(c,l))||o.push(l))}return[n,s,o]}const v0="modulepreload",x0=function(t){return"/"+t},Hc={},Oi=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=x0(r),r in Hc)return;Hc[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const f=o[u];if(f.href===r&&(!i||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":v0,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((u,f)=>{c.addEventListener("load",u),c.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},Gf="/assets/logo-023c77a1.png";var Wf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function w0(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var Zf={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Wf,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.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,s,o){var r,i;/*! + Copyright (c) 2016 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(y,_){for(var w=_.length,C=0;C1?arguments[1]:void 0,_=y!==void 0,w=0,C=f(g),I,S,R,x;if(_&&(y=r(y,v>2?arguments[2]:void 0,2)),C!=null&&!(m==Array&&l(C)))for(x=C.call(g),S=new m;!(R=x.next()).done;w++)u(S,w,_?a(x,y,[R.value,w],!0):R.value);else for(I=c(g.length),S=new m(I);I>w;w++)u(S,w,_?y(g[w],w):g[w]);return S.length=w,S}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,u,f){var h=r(c),p=i(h.length),g=a(f,p),m;if(l&&u!=u){for(;p>g;)if(m=h[g++],m!=m)return!0}else for(;p>g;g++)if((l||g in h)&&h[g]===u)return l||g||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,u){return i.call(a,c,u)};case 3:return function(c,u,f){return i.call(a,c,u,f)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,c){try{return c?a(r(l)[0],l[1]):a(l)}catch(f){var u=i.return;throw u!==void 0&&r(u.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!a)return!1;var h=!1;try{var p={};p[i]=function(){return{next:function(){return{done:h=!0}}}},u(p)}catch{}return h}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(u,f){try{return u[f]}catch{}};n.exports=function(u){var f,h,p;return u===void 0?"Undefined":u===null?"Null":typeof(h=c(f=Object(u),a))=="string"?h:l?r(f):(p=r(f))=="Object"&&typeof f.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var f=i(u),h=l.f,p=a.f,g=0;g",I="java"+w+":",S;for(v.style.display="none",c.appendChild(v),v.src=String(I),S=v.contentWindow.document,S.open(),S.write(_+w+C+"document.F=Object"+_+"/"+w+C),S.close(),m=S.F;y--;)delete m[p][a[y]];return m()};n.exports=Object.create||function(y,_){var w;return y!==null?(g[p]=r(y),w=new g,g[p]=null,w[h]=y):w=m(),_===void 0?w:i(w,_)},l[h]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,f){a(u);for(var h=l(f),p=h.length,g=0,m;p>g;)i.f(u,m=h[g++],f[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;s.f=r?c:function(f,h,p){if(a(f),h=l(h,!0),a(p),i)try{return c(f,h,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[h]=p.value),f}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),c=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),f=o("./node_modules/core-js/internals/ie8-dom-define.js"),h=Object.getOwnPropertyDescriptor;s.f=r?h:function(g,m){if(g=l(g),m=c(m,!0),f)try{return h(g,m)}catch{}if(u(g,m))return a(!i.f.call(g,m),g[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(f){return f=i(f),r(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,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(u,f){var h=i(u),p=0,g=[],m;for(m in h)!r(l,m)&&r(h,m)&&g.push(m);for(;f.length>p;)r(h,m=f[p++])&&(~c(g,m)||g.push(m));return g}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var u=i(this,c);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,f){return r(u,f),i?l.call(u,f):u.__proto__=f,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),c=r.Reflect;n.exports=c&&c.ownKeys||function(f){var h=i.f(l(f)),p=a.f;return p?h.concat(p(f)):h}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),c=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),f=o("./node_modules/core-js/internals/internal-state.js"),h=f.get,p=f.enforce,g=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,v,y,_){var w=_?!!_.unsafe:!1,C=_?!!_.enumerable:!1,I=_?!!_.noTargetGet:!1;if(typeof y=="function"&&(typeof v=="string"&&!l(y,"name")&&a(y,"name",v),p(y).source=g.join(typeof v=="string"?v:"")),m===r){C?m[v]=y:c(v,y);return}else w?!I&&m[v]&&(C=!0):delete m[v];C?m[v]=y:a(m,v,y)})(Function.prototype,"toString",function(){return typeof this=="function"&&h(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,u,f){c&&!i(c=f?c:c.prototype,l)&&r(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=r[l]||i(l,{});(n.exports=function(u,f){return c[u]||(c[u]=f!==void 0?f:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var u=String(i(a)),f=r(l),h=u.length,p,g;return f<0||f>=h?c?"":void 0:(p=u.charCodeAt(f),p<55296||p>56319||f+1===h||(g=u.charCodeAt(f+1))<56320||g>57343?c?u.charAt(f):p:c?u.slice(f,f+2):(p-55296<<10)+(g-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var u=r(l);return u<0?i(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,u=i("wks");n.exports=function(f){return u[f]||(u[f]=l&&c[f]||(l?c:a)("Symbol."+f))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",function(f){c(this,{type:l,string:String(f),index:0})},function(){var h=u(this),p=h.string,g=h.index,m;return g>=p.length?{value:void 0,done:!0}:(m=r(p,g,!0),h.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./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,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var v=1;v2&&arguments[2]!==void 0?arguments[2]:[];h(this,m),this.name=v,this.contents=y,this.tags=_,this.attrs=r({},u.default,{class:"feather feather-"+v})}return i(m,[{key:"toSvg",value:function(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},_=r({},this.attrs,y,{class:(0,l.default)(this.attrs.class,y.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function g(m){return Object.keys(m).map(function(v){return v+'="'+m[v]+'"'}).join(" ")}s.default=p},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=f(r),a=o("./dist/icons.json"),l=f(a),c=o("./src/tags.json"),u=f(c);function f(h){return h&&h.__esModule?h:{default:h}}s.default=Object.keys(l.default).map(function(h){return new i.default(h,l.default[h],u.default[h])}).reduce(function(h,p){return h[p.name]=p,h},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=f(r),a=o("./src/to-svg.js"),l=f(a),c=o("./src/replace.js"),u=f(c);function f(h){return h&&h.__esModule?h:{default:h}}n.exports={icons:i.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(g){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(v){return h(v,g)})}function h(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=p(g),y=v["data-feather"];delete v["data-feather"];var _=c.default[y].toSvg(r({},m,v,{class:(0,a.default)(m.class,v.class)})),w=new DOMParser().parseFromString(_,"image/svg+xml"),C=w.querySelector("svg");g.parentNode.replaceChild(C,g)}function p(g){return Array.from(g.attributes).reduce(function(m,v){return m[v.name]=v.value,m},{})}s.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,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function l(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)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Zf);var k0=Zf.exports;const ke=zs(k0),E0={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},C0={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},A0={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},S0=d("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),T0=d("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),M0=d("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),O0=d("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),R0=d("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),D0={data(){return{}},activated(){},methods:{}},Yf=Object.assign(D0,{__name:"Navigation",setup(t){return(e,n)=>(M(),O("div",E0,[d("div",C0,[d("ul",A0,[d("li",null,[Ae(mt(zn),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[S0]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[T0]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[M0]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[O0]),_:1})]),d("li",null,[Ae(mt(zn),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Je(()=>[R0]),_:1})])])])]))}}),L0={class:"top-0 shadow-lg"},I0={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},N0=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:Gf,alt:"Logo"}),d("div",{class:"flex flex-col"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),P0={class:"flex gap-3 flex-1 items-center justify-end"},F0=d("a",{href:"https://github.com/ParisNeo/lollms-webui",target:"_blank"},[d("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[d("i",{"data-feather":"github"})])],-1),j0=d("i",{"data-feather":"sun"},null,-1),B0=[j0],$0=d("i",{"data-feather":"moon"},null,-1),z0=[$0],q0=d("body",null,null,-1),U0={name:"TopBar",data(){return{codeBlockStylesheet:"",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(),ge(()=>{ke.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"),ge(()=>{Oi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}ge(()=>{Oi(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}Oi(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:Yf}},H0=Object.assign(U0,{setup(t){return(e,n)=>(M(),O(Pe,null,[d("header",L0,[d("nav",I0,[Ae(mt(zn),{to:{name:"discussions"}},{default:Je(()=>[N0]),_:1}),d("div",P0,[F0,d("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},B0),d("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},z0)])]),Ae(Yf)]),q0],64))}}),Ge=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},V0={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"},K0={class:"flex overflow-hidden flex-grow"},G0={__name:"App",setup(t){return(e,n)=>(M(),O("div",V0,[Ae(H0),d("div",K0,[Ae(mt(Kf),null,{default:Je(({Component:s})=>[(M(),lt(Cm,null,[(M(),lt(Nm(s)))],1024))]),_:1})])]))}},W0={setup(){return{}}};function Z0(t,e,n,s,o,r){return M(),O("div",null," Extensions ")}const Y0=Ge(W0,[["render",Z0]]);var Jf={exports:{}};/* @license +Papa Parse +v5.4.1 +https://github.com/mholt/PapaParse +License: MIT +*/(function(t,e){(function(n,s){t.exports=s()})(Wf,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(x,k){var T=(k=k||{}).dynamicTyping||!1;if(R(T)&&(k.dynamicTypingFunction=T,T={}),k.dynamicTyping=T,k.transform=!!R(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var j=function(){if(!l.WORKERS_SUPPORTED)return!1;var K=(ce=s.URL||s.webkitURL||null,Y=n.toString(),l.BLOB_URL||(l.BLOB_URL=ce.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",Y,")();"],{type:"text/javascript"})))),D=new s.Worker(K),ce,Y;return D.onmessage=_,D.id=a++,i[D.id]=D}();return j.userStep=k.step,j.userChunk=k.chunk,j.userComplete=k.complete,j.userError=k.error,k.step=R(k.step),k.chunk=R(k.chunk),k.complete=R(k.complete),k.error=R(k.error),delete k.worker,void j.postMessage({input:x,config:k,workerId:j.id})}var F=null;return l.NODE_STREAM_INPUT,typeof x=="string"?(x=function(K){return K.charCodeAt(0)===65279?K.slice(1):K}(x),F=k.download?new f(k):new p(k)):x.readable===!0&&R(x.read)&&R(x.on)?F=new g(k):(s.File&&x instanceof File||x instanceof Object)&&(F=new h(k)),F.stream(x)},unparse:function(x,k){var T=!1,j=!0,F=",",K=`\r +`,D='"',ce=D+D,Y=!1,A=null,P=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(Z){return k.delimiter.indexOf(Z)!==-1}).length||(F=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(T=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(Y=k.skipEmptyLines),typeof k.newline=="string"&&(K=k.newline),typeof k.quoteChar=="string"&&(D=k.quoteChar),typeof k.header=="boolean"&&(j=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");A=k.columns}k.escapeChar!==void 0&&(ce=k.escapeChar+D),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(P=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var U=new RegExp(v(D),"g");if(typeof x=="string"&&(x=JSON.parse(x)),Array.isArray(x)){if(!x.length||Array.isArray(x[0]))return pe(null,x,Y);if(typeof x[0]=="object")return pe(A||Object.keys(x[0]),x,Y)}else if(typeof x=="object")return typeof x.data=="string"&&(x.data=JSON.parse(x.data)),Array.isArray(x.data)&&(x.fields||(x.fields=x.meta&&x.meta.fields||A),x.fields||(x.fields=Array.isArray(x.data[0])?x.fields:typeof x.data[0]=="object"?Object.keys(x.data[0]):[]),Array.isArray(x.data[0])||typeof x.data[0]=="object"||(x.data=[x.data])),pe(x.fields||[],x.data||[],Y);throw new Error("Unable to serialize unrecognized input");function pe(Z,_e,Ee){var L="";typeof Z=="string"&&(Z=JSON.parse(Z)),typeof _e=="string"&&(_e=JSON.parse(_e));var Q=Array.isArray(Z)&&0=this._config.preview;if(r)s.postMessage({results:K,workerId:l.WORKER_ID,finished:ce});else if(R(this._config.chunk)&&!T){if(this._config.chunk(K,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);K=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(K.data),this._completeResults.errors=this._completeResults.errors.concat(K.errors),this._completeResults.meta=K.meta),this._completed||!ce||!R(this._config.complete)||K&&K.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),ce||K&&K.meta.paused||this._nextChunk(),K}this._halted=!0},this._sendError=function(k){R(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function f(x){var k;(x=x||{}).chunkSize||(x.chunkSize=l.RemoteChunkSize),u.call(this,x),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(T){this._input=T,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=S(this._chunkLoaded,this),k.onerror=S(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var T=this._config.downloadRequestHeaders;for(var j in T)k.setRequestHeader(j,T[j])}if(this._config.chunkSize){var F=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+F)}try{k.send(this._config.downloadRequestBody)}catch(K){this._chunkError(K.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(T){var j=T.getResponseHeader("Content-Range");return j===null?-1:parseInt(j.substring(j.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(T){var j=k.statusText||T;this._sendError(new Error(j))}}function h(x){var k,T;(x=x||{}).chunkSize||(x.chunkSize=l.LocalChunkSize),u.call(this,x);var j=typeof FileReader<"u";this.stream=function(F){this._input=F,T=F.slice||F.webkitSlice||F.mozSlice,j?((k=new FileReader).onload=S(this._chunkLoaded,this),k.onerror=S(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(F.target.result)},this._chunkError=function(){this._sendError(k.error)}}function p(x){var k;u.call(this,x=x||{}),this.stream=function(T){return k=T,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var T,j=this._config.chunkSize;return j?(T=k.substring(0,j),k=k.substring(j)):(T=k,k=""),this._finished=!k,this.parseChunk(T)}}}function g(x){u.call(this,x=x||{});var k=[],T=!0,j=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){j&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):T=!0},this._streamData=S(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),T&&(T=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(K){this._streamError(K)}},this),this._streamError=S(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=S(function(){this._streamCleanUp(),j=!0,this._streamData("")},this),this._streamCleanUp=S(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(x){var k,T,j,F=Math.pow(2,53),K=-F,D=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,ce=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,Y=this,A=0,P=0,U=!1,pe=!1,ue=[],Z={data:[],errors:[],meta:{}};if(R(x.step)){var _e=x.step;x.step=function(G){if(Z=G,Q())L();else{if(L(),Z.data.length===0)return;A+=G.data.length,x.preview&&A>x.preview?T.abort():(Z.data=Z.data[0],_e(Z,Y))}}}function Ee(G){return x.skipEmptyLines==="greedy"?G.join("").trim()==="":G.length===1&&G[0].length===0}function L(){return Z&&j&&(ie("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),j=!1),x.skipEmptyLines&&(Z.data=Z.data.filter(function(G){return!Ee(G)})),Q()&&function(){if(!Z)return;function G(fe,b){R(x.transformHeader)&&(fe=x.transformHeader(fe,b)),ue.push(fe)}if(Array.isArray(Z.data[0])){for(var me=0;Q()&&me=ue.length?"__parsed_extra":ue[E]),x.transform&&($=x.transform($,B)),$=X(B,$),B==="__parsed_extra"?(N[B]=N[B]||[],N[B].push($)):N[B]=$}return x.header&&(E>ue.length?ie("FieldMismatch","TooManyFields","Too many fields: expected "+ue.length+" fields but parsed "+E,P+b):E=oe.length/2?`\r +`:"\r"}(G,b)),j=!1,x.delimiter)R(x.delimiter)&&(x.delimiter=x.delimiter(G),Z.meta.delimiter=x.delimiter);else{var E=function(B,$,te,oe,z){var ne,q,J,re;z=z||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var de=0;de=D)return Ue(!0)}else for(ae=A,A++;;){if((ae=U.indexOf(k,ae+1))===-1)return ue||ie.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:X.length,index:A}),we();if(ae===Z-1)return we(U.substring(A,ae).replace(de,k));if(k!==Y||U[ae+1]!==Y){if(k===Y||ae===0||U[ae-1]!==Y){J!==-1&&J=D)return Ue(!0);break}ie.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:X.length,index:A}),ae++}}else ae++}return we();function se(Xe){X.push(Xe),me=A}function he(Xe){var st=0;if(Xe!==-1){var ct=U.substring(ae+1,Xe);ct&&ct.trim()===""&&(st=ct.length)}return st}function we(Xe){return ue||(Xe===void 0&&(Xe=U.substring(A)),G.push(Xe),A=Z,se(G),Q&&bt()),Ue()}function Ne(Xe){A=Xe,se(G),G=[],re=U.indexOf(j,A)}function Ue(Xe){return{data:X,errors:ie,meta:{delimiter:T,linebreak:j,aborted:P,truncated:!!Xe,cursor:me+(pe||0)}}}function bt(){K(Ue()),X=[],ie=[]}},this.abort=function(){P=!0},this.getCharIndex=function(){return A}}function _(x){var k=x.data,T=i[k.workerId],j=!1;if(k.error)T.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){j=!0,w(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:C,resume:C};if(R(T.userStep)){for(var K=0;Kt.text()).then(t=>{const{data:e}=Q0.parse(t,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(t=>{console.error("Error loading FAQs:",t)})},parseMultiline(t){return t.replace(/\n/g,"
")}}},Qf=t=>(js("data-v-3cb88319"),t=t(),Bs(),t),ey={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},ty={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},ny=Qf(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),sy={class:"list-disc pl-4"},oy={class:"text-xl font-bold mb-1"},ry=["innerHTML"],iy=Qf(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[be("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),ay={class:"mt-8"},ly=To('

Credits

This project is developed by ParisNeo With help from the community.

Check out the full list of developers here and show them some love.

',3),cy=["href"];function uy(t,e,n,s,o,r){return M(),O("div",ey,[d("div",ty,[ny,d("ul",sy,[(M(!0),O(Pe,null,at(o.faqs,(i,a)=>(M(),O("li",{key:a},[d("h3",oy,ee(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,ry)]))),128))])]),iy,d("div",ay,[ly,d("p",null,[be("Check out the project on "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,cy),be(".")])])])}const dy=Ge(X0,[["render",uy],["__scopeId","data-v-3cb88319"]]);function zt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&re=>{const n=fy.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=t=>(t=t.toLowerCase(),e=>Xr(e)===t),ei=t=>e=>typeof e===t,{isArray:qs}=Array,xo=ei("undefined");function hy(t){return t!==null&&!xo(t)&&t.constructor!==null&&!xo(t.constructor)&&cn(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const eh=fn("ArrayBuffer");function py(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&eh(t.buffer),e}const gy=ei("string"),cn=ei("function"),th=ei("number"),ul=t=>t!==null&&typeof t=="object",my=t=>t===!0||t===!1,ir=t=>{if(Xr(t)!=="object")return!1;const e=cl(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},_y=fn("Date"),yy=fn("File"),by=fn("Blob"),vy=fn("FileList"),xy=t=>ul(t)&&cn(t.pipe),wy=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||cn(t.append)&&((e=Xr(t))==="formdata"||e==="object"&&cn(t.toString)&&t.toString()==="[object FormData]"))},ky=fn("URLSearchParams"),Ey=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Mo(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),qs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const sh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),oh=t=>!xo(t)&&t!==sh;function _a(){const{caseless:t}=oh(this)&&this||{},e={},n=(s,o)=>{const r=t&&nh(e,o)||o;ir(e[r])&&ir(s)?e[r]=_a(e[r],s):ir(s)?e[r]=_a({},s):qs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Mo(e,(o,r)=>{n&&cn(o)?t[r]=Xf(o,n):t[r]=o},{allOwnKeys:s}),t),Ay=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Sy=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Ty=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&cl(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},My=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Oy=t=>{if(!t)return null;if(qs(t))return t;let e=t.length;if(!th(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Ry=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&cl(Uint8Array)),Dy=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},Ly=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},Iy=fn("HTMLFormElement"),Ny=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),Vc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),Py=fn("RegExp"),rh=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Mo(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},Fy=t=>{rh(t,(e,n)=>{if(cn(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(cn(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},jy=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return qs(t)?s(t):s(String(t).split(e)),n},By=()=>{},$y=(t,e)=>(t=+t,Number.isFinite(t)?t:e),Ri="abcdefghijklmnopqrstuvwxyz",Kc="0123456789",ih={DIGIT:Kc,ALPHA:Ri,ALPHA_DIGIT:Ri+Ri.toUpperCase()+Kc},zy=(t=16,e=ih.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function qy(t){return!!(t&&cn(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const Uy=t=>{const e=new Array(10),n=(s,o)=>{if(ul(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=qs(s)?[]:{};return Mo(s,(i,a)=>{const l=n(i,o+1);!xo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},H={isArray:qs,isArrayBuffer:eh,isBuffer:hy,isFormData:wy,isArrayBufferView:py,isString:gy,isNumber:th,isBoolean:my,isObject:ul,isPlainObject:ir,isUndefined:xo,isDate:_y,isFile:yy,isBlob:by,isRegExp:Py,isFunction:cn,isStream:xy,isURLSearchParams:ky,isTypedArray:Ry,isFileList:vy,forEach:Mo,merge:_a,extend:Cy,trim:Ey,stripBOM:Ay,inherits:Sy,toFlatObject:Ty,kindOf:Xr,kindOfTest:fn,endsWith:My,toArray:Oy,forEachEntry:Dy,matchAll:Ly,isHTMLForm:Iy,hasOwnProperty:Vc,hasOwnProp:Vc,reduceDescriptors:rh,freezeMethods:Fy,toObjectSet:jy,toCamelCase:Ny,noop:By,toFiniteNumber:$y,findKey:nh,global:sh,isContextDefined:oh,ALPHABET:ih,generateString:zy,isSpecCompliantForm:qy,toJSONObject:Uy};function Le(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}H.inherits(Le,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:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ah=Le.prototype,lh={};["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(t=>{lh[t]={value:t}});Object.defineProperties(Le,lh);Object.defineProperty(ah,"isAxiosError",{value:!0});Le.from=(t,e,n,s,o,r)=>{const i=Object.create(ah);return H.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Le.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const Hy=null;function ya(t){return H.isPlainObject(t)||H.isArray(t)}function ch(t){return H.endsWith(t,"[]")?t.slice(0,-2):t}function Gc(t,e,n){return t?t.concat(e).map(function(o,r){return o=ch(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function Vy(t){return H.isArray(t)&&!t.some(ya)}const Ky=H.toFlatObject(H,{},null,function(e){return/^is[A-Z]/.test(e)});function ti(t,e,n){if(!H.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,v){return!H.isUndefined(v[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(e);if(!H.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(H.isDate(g))return g.toISOString();if(!l&&H.isBlob(g))throw new Le("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(g)||H.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,m,v){let y=g;if(g&&!v&&typeof g=="object"){if(H.endsWith(m,"{}"))m=s?m:m.slice(0,-2),g=JSON.stringify(g);else if(H.isArray(g)&&Vy(g)||(H.isFileList(g)||H.endsWith(m,"[]"))&&(y=H.toArray(g)))return m=ch(m),y.forEach(function(w,C){!(H.isUndefined(w)||w===null)&&e.append(i===!0?Gc([m],C,r):i===null?m:m+"[]",c(w))}),!1}return ya(g)?!0:(e.append(Gc(v,m,r),c(g)),!1)}const f=[],h=Object.assign(Ky,{defaultVisitor:u,convertValue:c,isVisitable:ya});function p(g,m){if(!H.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));f.push(g),H.forEach(g,function(y,_){(!(H.isUndefined(y)||y===null)&&o.call(e,y,H.isString(_)?_.trim():_,m,h))===!0&&p(y,m?m.concat(_):[_])}),f.pop()}}if(!H.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Wc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function dl(t,e){this._pairs=[],t&&ti(t,this,e)}const uh=dl.prototype;uh.append=function(e,n){this._pairs.push([e,n])};uh.toString=function(e){const n=e?function(s){return e.call(this,s,Wc)}:Wc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Gy(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dh(t,e,n){if(!e)return t;const s=n&&n.encode||Gy,o=n&&n.serialize;let r;if(o?r=o(e,n):r=H.isURLSearchParams(e)?e.toString():new dl(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class Wy{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){H.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Zc=Wy,fh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Zy=typeof URLSearchParams<"u"?URLSearchParams:dl,Yy=typeof FormData<"u"?FormData:null,Jy=typeof Blob<"u"?Blob:null,Qy=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Xy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qt={isBrowser:!0,classes:{URLSearchParams:Zy,FormData:Yy,Blob:Jy},isStandardBrowserEnv:Qy,isStandardBrowserWebWorkerEnv:Xy,protocols:["http","https","file","blob","url","data"]};function eb(t,e){return ti(t,new qt.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return qt.isNode&&H.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function tb(t){return H.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function nb(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&H.isArray(o)?o.length:i,l?(H.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!H.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&H.isArray(o[i])&&(o[i]=nb(o[i])),!a)}if(H.isFormData(t)&&H.isFunction(t.entries)){const n={};return H.forEachEntry(t,(s,o)=>{e(tb(s),o,n,0)}),n}return null}const sb={"Content-Type":void 0};function ob(t,e,n){if(H.isString(t))try{return(e||JSON.parse)(t),H.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const ni={transitional:fh,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=H.isObject(e);if(r&&H.isHTMLForm(e)&&(e=new FormData(e)),H.isFormData(e))return o&&o?JSON.stringify(hh(e)):e;if(H.isArrayBuffer(e)||H.isBuffer(e)||H.isStream(e)||H.isFile(e)||H.isBlob(e))return e;if(H.isArrayBufferView(e))return e.buffer;if(H.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return eb(e,this.formSerializer).toString();if((a=H.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ti(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),ob(e)):e}],transformResponse:[function(e){const n=this.transitional||ni.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&H.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?Le.from(a,Le.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qt.classes.FormData,Blob:qt.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};H.forEach(["delete","get","head"],function(e){ni.headers[e]={}});H.forEach(["post","put","patch"],function(e){ni.headers[e]=H.merge(sb)});const fl=ni,rb=H.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"]),ib=t=>{const e={};let n,s,o;return t&&t.split(` +`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&rb[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Yc=Symbol("internals");function Zs(t){return t&&String(t).trim().toLowerCase()}function ar(t){return t===!1||t==null?t:H.isArray(t)?t.map(ar):String(t)}function ab(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const lb=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Di(t,e,n,s,o){if(H.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!H.isString(e)){if(H.isString(s))return e.indexOf(s)!==-1;if(H.isRegExp(s))return s.test(e)}}function cb(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function ub(t,e){const n=H.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class si{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Zs(l);if(!u)throw new Error("header name must be a non-empty string");const f=H.findKey(o,u);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=ar(a))}const i=(a,l)=>H.forEach(a,(c,u)=>r(c,u,l));return H.isPlainObject(e)||e instanceof this.constructor?i(e,n):H.isString(e)&&(e=e.trim())&&!lb(e)?i(ib(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Zs(e),e){const s=H.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return ab(o);if(H.isFunction(n))return n.call(this,o,s);if(H.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Zs(e),e){const s=H.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||Di(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Zs(i),i){const a=H.findKey(s,i);a&&(!n||Di(s,s[a],a,n))&&(delete s[a],o=!0)}}return H.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||Di(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return H.forEach(this,(o,r)=>{const i=H.findKey(s,r);if(i){n[i]=ar(o),delete n[r];return}const a=e?cb(r):String(r).trim();a!==r&&delete n[r],n[a]=ar(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return H.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&H.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[Yc]=this[Yc]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Zs(i);s[a]||(ub(o,i),s[a]=!0)}return H.isArray(e)?e.forEach(r):r(e),this}}si.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);H.freezeMethods(si.prototype);H.freezeMethods(si);const rn=si;function Li(t,e){const n=this||fl,s=e||n,o=rn.from(s.headers);let r=s.data;return H.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function ph(t){return!!(t&&t.__CANCEL__)}function Oo(t,e,n){Le.call(this,t??"canceled",Le.ERR_CANCELED,e,n),this.name="CanceledError"}H.inherits(Oo,Le,{__CANCEL__:!0});function db(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new Le("Request failed with status code "+n.status,[Le.ERR_BAD_REQUEST,Le.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const fb=qt.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),H.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),H.isString(r)&&l.push("path="+r),H.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function hb(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function pb(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function gh(t,e){return t&&!hb(e)?pb(t,e):e}const gb=qt.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(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 s=o(window.location.href),function(i){const a=H.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function mb(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function _b(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let f=r,h=0;for(;f!==o;)h+=n[f++],f=f%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const yb=typeof XMLHttpRequest<"u",bb=yb&&function(t){return new Promise(function(n,s){let o=t.data;const r=rn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}H.isFormData(o)&&(qt.isStandardBrowserEnv||qt.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(p+":"+g))}const u=gh(t.baseURL,t.url);c.open(t.method.toUpperCase(),dh(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function f(){if(!c)return;const p=rn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:t,request:c};db(function(y){n(y),l()},function(y){s(y),l()},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&&(s(new Le("Request aborted",Le.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new Le("Network Error",Le.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||fh;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new Le(g,m.clarifyTimeoutError?Le.ETIMEDOUT:Le.ECONNABORTED,t,c)),c=null},qt.isStandardBrowserEnv){const p=(t.withCredentials||gb(u))&&t.xsrfCookieName&&fb.read(t.xsrfCookieName);p&&r.set(t.xsrfHeaderName,p)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&H.forEach(r.toJSON(),function(g,m){c.setRequestHeader(m,g)}),H.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",Jc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Jc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=p=>{c&&(s(!p||p.type?new Oo(null,t,c):p),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const h=mb(u);if(h&&qt.protocols.indexOf(h)===-1){s(new Le("Unsupported protocol "+h+":",Le.ERR_BAD_REQUEST,t));return}c.send(o||null)})},lr={http:Hy,xhr:bb};H.forEach(lr,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const vb={getAdapter:t=>{t=H.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof rn?t.toJSON():t;function As(t,e){e=e||{};const n={};function s(c,u,f){return H.isPlainObject(c)&&H.isPlainObject(u)?H.merge.call({caseless:f},c,u):H.isPlainObject(u)?H.merge({},u):H.isArray(u)?u.slice():u}function o(c,u,f){if(H.isUndefined(u)){if(!H.isUndefined(c))return s(void 0,c,f)}else return s(c,u,f)}function r(c,u){if(!H.isUndefined(u))return s(void 0,u)}function i(c,u){if(H.isUndefined(u)){if(!H.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,f){if(f in e)return s(c,u);if(f in t)return s(void 0,c)}const l={url:r,method:r,data:r,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:a,headers:(c,u)=>o(Xc(c),Xc(u),!0)};return H.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const f=l[u]||o,h=f(t[u],e[u],u);H.isUndefined(h)&&f!==a||(n[u]=h)}),n}const mh="1.3.6",hl={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{hl[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const eu={};hl.transitional=function(e,n,s){function o(r,i){return"[Axios v"+mh+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new Le(o(i," has been removed"+(n?" in "+n:"")),Le.ERR_DEPRECATED);return n&&!eu[i]&&(eu[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function xb(t,e,n){if(typeof t!="object")throw new Le("options must be an object",Le.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new Le("option "+r+" must be "+l,Le.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Le("Unknown option "+r,Le.ERR_BAD_OPTION)}}const ba={assertOptions:xb,validators:hl},mn=ba.validators;class wr{constructor(e){this.defaults=e,this.interceptors={request:new Zc,response:new Zc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=As(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&ba.assertOptions(s,{silentJSONParsing:mn.transitional(mn.boolean),forcedJSONParsing:mn.transitional(mn.boolean),clarifyTimeoutError:mn.transitional(mn.boolean)},!1),o!=null&&(H.isFunction(o)?n.paramsSerializer={serialize:o}:ba.assertOptions(o,{encode:mn.function,serialize:mn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&H.merge(r.common,r[n.method]),i&&H.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),n.headers=rn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,f=0,h;if(!l){const g=[Qc.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),h=g.length,u=Promise.resolve(n);f{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Oo(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new pl(function(o){e=o}),cancel:e}}}const wb=pl;function kb(t){return function(n){return t.apply(null,n)}}function Eb(t){return H.isObject(t)&&t.isAxiosError===!0}const va={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(va).forEach(([t,e])=>{va[e]=t});const Cb=va;function _h(t){const e=new cr(t),n=Xf(cr.prototype.request,e);return H.extend(n,cr.prototype,e,{allOwnKeys:!0}),H.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return _h(As(t,o))},n}const Ye=_h(fl);Ye.Axios=cr;Ye.CanceledError=Oo;Ye.CancelToken=wb;Ye.isCancel=ph;Ye.VERSION=mh;Ye.toFormData=ti;Ye.AxiosError=Le;Ye.Cancel=Ye.CanceledError;Ye.all=function(e){return Promise.all(e)};Ye.spread=kb;Ye.isAxiosError=Eb;Ye.mergeConfig=As;Ye.AxiosHeaders=rn;Ye.formToJSON=t=>hh(H.isHTMLForm(t)?new FormData(t):t);Ye.HttpStatusCode=Cb;Ye.default=Ye;const Ce=Ye,Ab={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},Sb={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Tb={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},Mb={class:"text-lg font-medium"},Ob={class:"mt-4 flex justify-center"};function Rb(t,e,n,s,o,r){return o.show?(M(),O("div",Sb,[d("div",Tb,[d("h3",Mb,ee(o.message),1),d("div",Ob,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):V("",!0)}const Db=Ge(Ab,[["render",Rb]]),Lb={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},askQuestion(t,e,n){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=n||this.DenyButtonText,new Promise(s=>{this.message=t,this.show=!0,this.resolve=s})}}},Ib={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Nb={class:"relative w-full max-w-md max-h-full"},Pb={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Fb=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),jb=d("span",{class:"sr-only"},"Close modal",-1),Bb=[Fb,jb],$b={class:"p-4 text-center"},zb=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),qb={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function Ub(t,e,n,s,o,r){return o.show?(M(),O("div",Ib,[d("div",Nb,[d("div",Pb,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},Bb),d("div",$b,[zb,d("h3",qb,ee(o.message),1),d("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},ee(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ee(o.DenyButtonText),1)])])])])):V("",!0)}const Hb=Ge(Lb,[["render",Ub]]);const Vb={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),ge(()=>{ke.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),ge(()=>{ke.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Rn=t=>(js("data-v-3ffdabf3"),t=t(),Bs(),t),Kb={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},Gb={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},Wb={class:"flex flex-row flex-grow items-center"},Zb={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},Yb=Rn(()=>d("i",{"data-feather":"check"},null,-1)),Jb=Rn(()=>d("span",{class:"sr-only"},"Check icon",-1)),Qb=[Yb,Jb],Xb={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},e2=Rn(()=>d("i",{"data-feather":"x"},null,-1)),t2=Rn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),n2=[e2,t2],s2=["title"],o2={class:"flex"},r2=["onClick"],i2=Rn(()=>d("span",{class:"sr-only"},"Copy message",-1)),a2=Rn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),l2=[i2,a2],c2=["onClick"],u2=Rn(()=>d("span",{class:"sr-only"},"Close",-1)),d2=Rn(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),f2=[u2,d2];function h2(t,e,n,s,o,r){return M(),O("div",Kb,[Ae(on,{name:"toastItem",tag:"div"},{default:Je(()=>[(M(!0),O(Pe,null,at(o.toastArr,i=>(M(),O("div",{key:i.id,class:"relative"},[d("div",Gb,[d("div",Wb,[tf(t.$slots,"default",{},()=>[i.success?(M(),O("div",Zb,Qb)):V("",!0),i.success?V("",!0):(M(),O("div",Xb,n2)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},ee(i.message),9,s2)],!0)]),d("div",o2,[d("button",{type:"button",onClick:le(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},l2,8,r2),d("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},f2,8,c2)])])]))),128))]),_:3})])}const oi=Ge(Vb,[["render",h2],["__scopeId","data-v-3ffdabf3"]]),xa="/assets/default_model-9e24e852.png",p2={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),ge(()=>{ke.replace()})},methods:{computedFileSize(t){return zt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ce.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?xa:this.icon},defaultImg(t){t.target.src=xa},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return zt(this.speed)},total_size_computed(){return zt(this.total_size)},downloaded_size_computed(){return zt(this.downloaded_size)}},watch:{linkNotValid(){ge(()=>{ke.replace()})}}},g2=["title"],m2={key:0,class:"flex flex-row"},_2={class:"flex gap-3 items-center grow"},y2=["src"],b2={class:"font-bold font-large text-lg truncate"},v2={key:1,class:"flex items-center flex-row gap-2 my-1"},x2={class:"flex grow items-center"},w2=d("i",{"data-feather":"box",class:"w-5"},null,-1),k2=d("span",{class:"sr-only"},"Custom model / local model",-1),E2=[w2,k2],C2=d("span",{class:"sr-only"},"Remove",-1),A2={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},S2={class:"relative flex flex-col items-center justify-center flex-grow h-full"},T2=d("div",{role:"status",class:"justify-center"},[d("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1),M2={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},O2={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},R2={class:"flex justify-between mb-1"},D2=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),L2={class:"text-sm font-medium text-blue-700 dark:text-white"},I2={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},N2={class:"flex justify-between mb-1"},P2={class:"text-base font-medium text-blue-700 dark:text-white"},F2={class:"text-sm font-medium text-blue-700 dark:text-white"},j2={class:"flex flex-grow"},B2={class:"flex flex-row flex-grow gap-3"},$2={class:"p-2 text-center grow"},z2={key:3},q2={class:"flex flex-row items-center gap-3"},U2=["src"],H2={class:"font-bold font-large text-lg truncate"},V2=d("div",{class:"grow"},null,-1),K2=d("div",{class:"flex-none gap-1"},null,-1),G2={class:"flex items-center flex-row-reverse gap-2 my-1"},W2=d("span",{class:"sr-only"},"Copy info",-1),Z2={class:"flex flex-row items-center"},Y2={key:0,class:"text-base text-red-600 flex items-center mt-1"},J2=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),Q2=d("span",{class:"sr-only"},"Click to install",-1),X2=d("span",{class:"sr-only"},"Remove",-1),ev=["title"],tv={class:""},nv={class:"flex flex-row items-center"},sv=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),ov=d("b",null,"Manual download: ",-1),rv=["href","title"],iv=d("div",{class:"grow"},null,-1),av=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),lv=[av],cv={class:"flex items-center"},uv=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),dv=d("b",null,"File size: ",-1),fv={class:"flex items-center"},hv=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),pv=d("b",null,"License: ",-1),gv={class:"flex items-center"},mv=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),_v=d("b",null,"Owner: ",-1),yv=["href"],bv=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),vv=["title"];function xv(t,e,n,s,o,r){return M(),O("div",{class:Oe(["relative items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[11]||(e[11]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(M(),O("div",m2,[d("div",_2,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,y2),d("h3",b2,ee(n.title),1)])])):V("",!0),n.model.isCustomModel?(M(),O("div",v2,[d("div",x2,[d("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=le(()=>{},["stop"]))},E2),be(" Custom model ")]),d("div",null,[n.model.isInstalled?(M(),O("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[be(" Uninstall "),C2])):V("",!0)])])):V("",!0),o.installing?(M(),O("div",A2,[d("div",S2,[T2,d("div",M2,[d("div",O2,[d("div",R2,[D2,d("span",L2,ee(Math.floor(o.progress))+"%",1)]),d("div",I2,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:nn({width:o.progress+"%"})},null,4)]),d("div",N2,[d("span",P2,"Download speed: "+ee(r.speed_computed)+"/s",1),d("span",F2,ee(r.downloaded_size_computed)+"/"+ee(r.total_size_computed),1)])])]),d("div",j2,[d("div",B2,[d("div",$2,[d("button",{onClick:e[3]||(e[3]=le((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):V("",!0),n.model.isCustomModel?V("",!0):(M(),O("div",z2,[d("div",q2,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:Oe(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,U2),d("h3",H2,ee(n.title),1),V2,K2]),d("div",G2,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=le(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Copy info "),W2]),d("div",Z2,[o.linkNotValid?(M(),O("div",Y2,[J2,be(" Link is not valid ")])):V("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(M(),O("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Install "),Q2])):V("",!0),n.model.isInstalled?(M(),O("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[be(" Uninstall "),X2])):V("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",tv,[d("div",nv,[sv,ov,d("a",{href:n.path,onClick:e[8]||(e[8]=le(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," Click here to download ",8,rv),iv,d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=le(i=>r.toggleCopyLink(),["stop"]))},lv)]),d("div",cv,[d("div",{class:Oe(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[uv,dv,be(" "+ee(o.fileSize),1)],2)]),d("div",fv,[hv,pv,be(" "+ee(n.license),1)]),d("div",gv,[mv,_v,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=le(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},ee(n.owner),9,yv)])]),bv,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},ee(n.description),9,vv)],8,ev)]))],10,g2)}const wv=Ge(p2,[["render",xv]]),kv={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityLanguage:"English",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},Ev={class:"p-4"},Cv={class:"flex items-center mb-4"},Av=["src"],Sv={class:"text-lg font-semibold"},Tv=d("strong",null,"Author:",-1),Mv=d("strong",null,"Description:",-1),Ov=d("strong",null,"Language:",-1),Rv=d("strong",null,"Category:",-1),Dv={key:0},Lv=d("strong",null,"Disclaimer:",-1),Iv=d("strong",null,"Conditioning Text:",-1),Nv=d("strong",null,"AI Prefix:",-1),Pv=d("strong",null,"User Prefix:",-1),Fv=d("strong",null,"Antiprompts:",-1);function jv(t,e,n,s,o,r){return M(),O("div",Ev,[d("div",Cv,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Av),d("h2",Sv,ee(o.personalityName),1)]),d("p",null,[Tv,be(" "+ee(o.personalityAuthor),1)]),d("p",null,[Mv,be(" "+ee(o.personalityDescription),1)]),d("p",null,[Ov,be(" "+ee(o.personalityLanguage),1)]),d("p",null,[Rv,be(" "+ee(o.personalityCategory),1)]),o.disclaimer?(M(),O("p",Dv,[Lv,be(" "+ee(o.disclaimer),1)])):V("",!0),d("p",null,[Iv,be(" "+ee(o.conditioningText),1)]),d("p",null,[Nv,be(" "+ee(o.aiPrefix),1)]),d("p",null,[Pv,be(" "+ee(o.userPrefix),1)]),d("div",null,[Fv,d("ul",null,[(M(!0),O(Pe,null,at(o.antipromptsList,i=>(M(),O("li",{key:i.id},ee(i.text),1))),128))])]),d("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(M(),O("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):V("",!0)])}const Bv=Ge(kv,[["render",jv]]),Qn="/assets/logo-9d653710.svg",$v="/assets/default_user-17642e5a.svg",zv="/",qv={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,ge(()=>{ke.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return zv+this.personality.avatar},defaultImg(t){t.target.src=Qn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){ge(()=>{ke.replace()})}}},Uv=["title"],Hv={class:"flex flex-row items-center flex-shrink-0 gap-3"},Vv=["src"],Kv={class:"font-bold font-large text-lg line-clamp-3"},Gv={class:"flex items-center flex-row-reverse gap-2 my-1"},Wv=d("span",{class:"sr-only"},"Settings",-1),Zv=d("span",{class:"sr-only"},"Click to install",-1),Yv=d("span",{class:"sr-only"},"Remove",-1),Jv={class:""},Qv={class:""},Xv={class:"flex items-center"},ex=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),tx=d("b",null,"Author: ",-1),nx={class:"flex items-center"},sx=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),ox=d("b",null,"Language: ",-1),rx={class:"flex items-center"},ix=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),ax=d("b",null,"Category: ",-1),lx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),cx=["title"];function ux(t,e,n,s,o,r){return M(),O("div",{class:Oe(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:Oe(n.personality.installed?"":"opacity-50")},[d("div",Hv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,Vv),d("h3",Kv,ee(n.personality.name),1)]),d("div",Gv,[r.selected_computed?(M(),O("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=le((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Settings "),Wv])):V("",!0),o.isMounted?V("",!0):(M(),O("button",{key:1,title:"Mount personality",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Mount "),Zv])),o.isMounted?(M(),O("button",{key:2,title:"Unmount personality",type:"button",onClick:e[3]||(e[3]=le((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[be(" Unmount "),Yv])):V("",!0)]),d("div",Jv,[d("div",Qv,[d("div",Xv,[ex,tx,be(" "+ee(n.personality.author),1)]),d("div",nx,[sx,ox,be(" "+ee(n.personality.language),1)]),d("div",rx,[ix,ax,be(" "+ee(n.personality.category),1)])]),lx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},ee(n.personality.description),9,cx)])],2)],10,Uv)}const yh=Ge(qv,[["render",ux]]),dx="/",fx={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){ge(()=>{ke.replace()})},methods:{getImgUrl(){return dx+this.binding.icon},defaultImg(t){t.target.src=Qn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){ge(()=>{ke.replace()})}}},hx=["title"],px={class:"flex flex-row items-center gap-3"},gx=["src"],mx={class:"font-bold font-large text-lg truncate"},_x=d("div",{class:"grow"},null,-1),yx=d("div",{class:"flex-none gap-1"},null,-1),bx={class:"flex items-center flex-row-reverse gap-2 my-1"},vx=d("span",{class:"sr-only"},"Click to install",-1),xx=d("span",{class:"sr-only"},"Reinstall binding",-1),wx=d("span",{class:"sr-only"},"Settings",-1),kx={class:""},Ex={class:""},Cx={class:"flex items-center"},Ax=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Sx=d("b",null,"Author: ",-1),Tx={class:"flex items-center"},Mx=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Ox=d("b",null,"Folder: ",-1),Rx={class:"flex items-center"},Dx=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),Lx=d("b",null,"Version: ",-1),Ix={class:"flex items-center"},Nx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),Px=d("b",null,"Link: ",-1),Fx=["href"],jx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Bx=["title"];function $x(t,e,n,s,o,r){return M(),O("div",{class:Oe(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",px,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,gx),d("h3",mx,ee(n.binding.name),1),_x,yx]),d("div",bx,[n.binding.installed?V("",!0):(M(),O("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Install "),vx])),n.binding.installed?(M(),O("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[be(" Reinstall binding "),xx])):V("",!0),n.selected?(M(),O("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=le((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[be(" Settings "),wx])):V("",!0)]),d("div",kx,[d("div",Ex,[d("div",Cx,[Ax,Sx,be(" "+ee(n.binding.author),1)]),d("div",Tx,[Mx,Ox,be(" "+ee(n.binding.folder),1)]),d("div",Rx,[Dx,Lx,be(" "+ee(n.binding.version),1)]),d("div",Ix,[Nx,Px,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},ee(n.binding.link),9,Fx)])]),jx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},ee(n.binding.description),9,Bx)])])],10,hx)}const zx=Ge(fx,[["render",$x]]),Wt=Object.create(null);Wt.open="0";Wt.close="1";Wt.ping="2";Wt.pong="3";Wt.message="4";Wt.upgrade="5";Wt.noop="6";const ur=Object.create(null);Object.keys(Wt).forEach(t=>{ur[Wt[t]]=t});const qx={type:"error",data:"parser error"},Ux=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",Hx=typeof ArrayBuffer=="function",Vx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,bh=({type:t,data:e},n,s)=>Ux&&e instanceof Blob?n?s(e):tu(e,s):Hx&&(e instanceof ArrayBuffer||Vx(e))?n?s(e):tu(new Blob([e]),s):s(Wt[t]+(e||"")),tu=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},nu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",eo=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return c},Gx=typeof ArrayBuffer=="function",vh=(t,e)=>{if(typeof t!="string")return{type:"message",data:xh(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Wx(t.substring(1),e)}:ur[n]?t.length>1?{type:ur[n],data:t.substring(1)}:{type:ur[n]}:qx},Wx=(t,e)=>{if(Gx){const n=Kx(t);return xh(n,e)}else return{base64:!0,data:t}},xh=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},wh=String.fromCharCode(30),Zx=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{bh(r,!1,a=>{s[i]=a,++o===n&&e(s.join(wh))})})},Yx=(t,e)=>{const n=t.split(wh),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function Eh(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const Qx=wt.setTimeout,Xx=wt.clearTimeout;function ri(t,e){e.useNativeTimers?(t.setTimeoutFn=Qx.bind(wt),t.clearTimeoutFn=Xx.bind(wt)):(t.setTimeoutFn=wt.setTimeout.bind(wt),t.clearTimeoutFn=wt.clearTimeout.bind(wt))}const ew=1.33;function tw(t){return typeof t=="string"?nw(t):Math.ceil((t.byteLength||t.size)*ew)}function nw(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class sw extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class Ch extends Ze{constructor(e){super(),this.writable=!1,ri(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new sw(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=vh(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const Ah="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),wa=64,ow={};let su=0,zo=0,ou;function ru(t){let e="";do e=Ah[t%wa]+e,t=Math.floor(t/wa);while(t>0);return e}function Sh(){const t=ru(+new Date);return t!==ou?(su=0,ou=t):t+"."+ru(su++)}for(;zo{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};Yx(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,Zx(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=Sh()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=Th(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Vt(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Vt extends Ze{constructor(e,n){super(),ri(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=Eh(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new Oh(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}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(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Vt.requestsCount++,Vt.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=aw,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Vt.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Vt.requestsCount=0;Vt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",iu);else if(typeof addEventListener=="function"){const t="onpagehide"in wt?"pagehide":"unload";addEventListener(t,iu,!1)}}function iu(){for(let t in Vt.requests)Vt.requests.hasOwnProperty(t)&&Vt.requests[t].abort()}const Rh=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),qo=wt.WebSocket||wt.MozWebSocket,au=!0,uw="arraybuffer",lu=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class dw extends Ch{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=lu?{}:Eh(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=au&&!lu?n?new qo(e,n):new qo(e):new qo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||uw,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{au&&this.ws.send(r)}catch{}o&&Rh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=Sh()),this.supportsBinary||(e.b64=1);const o=Th(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!qo}}const fw={websocket:dw,polling:cw},hw=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,pw=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ka(t){const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=hw.exec(t||""),r={},i=14;for(;i--;)r[pw[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=gw(r,r.path),r.queryKey=mw(r,r.query),r}function gw(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function mw(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let Dh=class us extends Ze{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=ka(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=ka(n.host).host),ri(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=rw(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(e){const n=Object.assign({},this.opts.query);n.EIO=kh,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new fw[e](s)}open(){let e;if(this.opts.rememberUpgrade&&us.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.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(e){let n=this.createTransport(e),s=!1;us.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!s)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;us.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const h=new Error("probe error");h.transport=n.name,this.emitReserved("upgradeError",h)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=f=>{const h=new Error("probe error: "+f);h.transport=n.name,r(),this.emitReserved("upgradeError",h)};function a(){i("transport closed")}function l(){i("socket closed")}function c(f){n&&f.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",us.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{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 e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{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?s():e()}):this.upgrading?s():e()),this}onError(e){us.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,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",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Lh=Object.prototype.toString,vw=typeof Blob=="function"||typeof Blob<"u"&&Lh.call(Blob)==="[object BlobConstructor]",xw=typeof File=="function"||typeof File<"u"&&Lh.call(File)==="[object FileConstructor]";function gl(t){return yw&&(t instanceof ArrayBuffer||bw(t))||vw&&t instanceof Blob||xw&&t instanceof File}function dr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Re.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Re.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.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 Re.EVENT:case Re.BINARY_EVENT:this.onevent(e);break;case Re.ACK:case Re.BINARY_ACK:this.onack(e);break;case Re.DISCONNECT:this.ondisconnect();break;case Re.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:Re.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Re.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}Us.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};Us.prototype.reset=function(){this.attempts=0};Us.prototype.setMin=function(t){this.ms=t};Us.prototype.setMax=function(t){this.max=t};Us.prototype.setJitter=function(t){this.jitter=t};class Aa extends Ze{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,ri(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((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new Us({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||Sw;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Dh(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Dt(n,"open",function(){s.onopen(),e&&e()}),r=Dt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Dt(e,"ping",this.onping.bind(this)),Dt(e,"data",this.ondata.bind(this)),Dt(e,"error",this.onerror.bind(this)),Dt(e,"close",this.onclose.bind(this)),Dt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Rh(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new Ih(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),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(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=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 s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Ys={};function fr(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=_w(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Ys[o]&&r in Ys[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new Aa(s,e):(Ys[o]||(Ys[o]=new Aa(s,e)),l=Ys[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(fr,{Manager:Aa,Socket:Ih,io:fr,connect:fr});const Mw=void 0,je=new fr(Mw);je.onopen=()=>{console.log("WebSocket connection established.")};je.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};je.onerror=t=>{console.error("WebSocket error:",t),je.disconnect()};je.on("connect",()=>{console.log("WebSocket connected (websocket)")});je.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const Nh=Ef();Nh.config.globalProperties.$socket=je;Nh.mount();const Ow={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},Rw={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Dw={class:"relative w-full max-w-md max-h-full"},Lw={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},Iw=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Nw=d("span",{class:"sr-only"},"Close modal",-1),Pw=[Iw,Nw],Fw={class:"p-4 text-center"},jw=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),Bw={class:"p-4 text-center mx-auto mb-4"},$w=d("label",{class:"mr-2"},"Model path",-1);function zw(t,e,n,s,o,r){return o.show?(M(),O("div",Rw,[d("div",Dw,[d("div",Lw,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},Pw),d("div",Fw,[jw,d("div",Bw,[$w,Te(d("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[Be,o.model_path]])]),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),d("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):V("",!0)}const qw=Ge(Ow,[["render",zw]]),Uw={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){ge(()=>{ke.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){ge(()=>{ke.replace()})}}},Hw={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},Vw={class:"relative w-full max-w-md"},Kw={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},Gw={class:"flex flex-row flex-grow items-center m-2 p-1"},Ww={class:"grow flex items-center"},Zw=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),Yw={class:"text-lg font-semibold select-none mr-2"},Jw={class:"items-end"},Qw=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),Xw=d("span",{class:"sr-only"},"Close form modal",-1),ek=[Qw,Xw],tk={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},nk={class:"px-2"},sk={key:0},ok={key:0},rk={class:"text-base font-semibold"},ik={key:0,class:"relative inline-flex"},ak=["onUpdate:modelValue"],lk=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),ck={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},uk=["onUpdate:modelValue"],dk={key:1},fk={class:"text-base font-semibold"},hk={key:0,class:"relative inline-flex"},pk=["onUpdate:modelValue"],gk=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),mk={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},_k=["onUpdate:modelValue"],yk=["value","selected"],bk={key:1},vk={class:"text-base font-semibold"},xk={key:0,class:"relative inline-flex"},wk=["onUpdate:modelValue"],kk=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Ek={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Ck=["onUpdate:modelValue"],Ak=["onUpdate:modelValue","min","max"],Sk={key:2},Tk={class:"mb-2 relative flex items-center gap-2"},Mk={for:"default-checkbox",class:"text-base font-semibold"},Ok=["onUpdate:modelValue"],Rk={key:0,class:"relative inline-flex"},Dk=["onUpdate:modelValue"],Lk=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Ik={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Nk={key:3},Pk={class:"text-base font-semibold"},Fk={key:0,class:"relative inline-flex"},jk=["onUpdate:modelValue"],Bk=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),$k={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},zk=["onUpdate:modelValue"],qk=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),Uk={class:"flex flex-row flex-grow gap-3"},Hk={class:"p-2 text-center grow"};function Vk(t,e,n,s,o,r){return o.show?(M(),O("div",Hw,[d("div",Vw,[d("div",Kw,[d("div",Gw,[d("div",Ww,[Zw,d("h3",Yw,ee(o.title),1)]),d("div",Jw,[d("button",{type:"button",onClick:e[0]||(e[0]=le(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},ek)])]),d("div",tk,[(M(!0),O(Pe,null,at(o.controls_array,(i,a)=>(M(),O("div",nk,[i.type=="str"?(M(),O("div",sk,[i.options?V("",!0):(M(),O("div",ok,[d("label",{class:Oe(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",rk,ee(i.name)+": ",1),i.help?(M(),O("label",ik,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,ak),[[bn,i.isHelp]]),lk])):V("",!0)],2),i.isHelp?(M(),O("p",ck,ee(i.help),1)):V("",!0),Te(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,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",placeholder:"Enter string"},null,8,uk),[[Be,i.value]])])),i.options?(M(),O("div",dk,[d("label",{class:Oe(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",fk,ee(i.name)+": ",1),i.help?(M(),O("label",hk,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,pk),[[bn,i.isHelp]]),gk])):V("",!0)],2),i.isHelp?(M(),O("p",mk,ee(i.help),1)):V("",!0),Te(d("select",{"onUpdate:modelValue":l=>i.value=l,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"},[(M(!0),O(Pe,null,at(i.options,l=>(M(),O("option",{value:l,selected:i.value===l},ee(l),9,yk))),256))],8,_k),[[$_,i.value]])])):V("",!0)])):V("",!0),i.type=="int"||i.type=="float"?(M(),O("div",bk,[d("label",{class:Oe(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",vk,ee(i.name)+": ",1),i.help?(M(),O("label",xk,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,wk),[[bn,i.isHelp]]),kk])):V("",!0)],2),i.isHelp?(M(),O("p",Ek,ee(i.help),1)):V("",!0),Te(d("input",{type:"number","onUpdate:modelValue":l=>i.value=l,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",placeholder:"Enter number"},null,8,Ck),[[Be,i.value]]),i.min!=null&&i.max!=null?Te((M(),O("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-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,8,Ak)),[[Be,i.value]]):V("",!0)])):V("",!0),i.type=="bool"?(M(),O("div",Sk,[d("div",Tk,[d("label",Mk,ee(i.name)+": ",1),Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,Ok),[[bn,i.value]]),i.help?(M(),O("label",Rk,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Dk),[[bn,i.isHelp]]),Lk])):V("",!0)]),i.isHelp?(M(),O("p",Ik,ee(i.help),1)):V("",!0)])):V("",!0),i.type=="list"?(M(),O("div",Nk,[d("label",{class:Oe(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",Pk,ee(i.name)+": ",1),i.help?(M(),O("label",Fk,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,jk),[[bn,i.isHelp]]),Bk])):V("",!0)],2),i.isHelp?(M(),O("p",$k,ee(i.help),1)):V("",!0),Te(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,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",placeholder:"Enter comma separated values"},null,8,zk),[[Be,i.value]])])):V("",!0),qk]))),256)),d("div",Uk,[d("div",Hk,[d("button",{onClick:e[1]||(e[1]=le(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},ee(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=le(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},ee(o.DenyButtonText),1)])])])])])])):V("",!0)}const Ph=Ge(Uw,[["render",Vk]]);const Kk="/";Ce.defaults.baseURL="/";const Gk={components:{AddModelDialog:qw,MessageBox:Db,YesNoDialog:Hb,ModelEntry:wv,PersonalityViewer:Bv,Toast:oi,PersonalityEntry:yh,BindingEntry:zx,UniversalForm:Ph},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:Kk,searchPersonality:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchPersonalityInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model: +`+model_object.title+` +installed!`,4,!0),this.api_get_req("disk_usage").then(e=>{this.diskUsage=e})}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model: +`+model_object.title+` +failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s})}},showAddModelDialog(){this.$refs.addmodeldialog.showDialog("").then(()=>{console.log(this.$refs.addmodeldialog.model_path);const t=this.$refs.addmodeldialog.model_path;je.emit("install_model",{path:t},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchModels(){Ce.get("/get_available_models").then(t=>{this.models=t.data,this.models.sort((e,n)=>e.title.localeCompare(n.title)),this.fetchCustomModels()}).catch(t=>{console.log(t.message,"fetchModels")})},fetchCustomModels(){Ce.get("/list_models").then(t=>{for(let e=0;eo.title==n)==-1){let o={};o.title=n,o.path=n,o.isCustomModel=!0,o.isInstalled=!0,this.models.push(o)}}}).catch(t=>{console.log(t.message,"fetchCustomModels")})},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}if(t.isMounted&&this.configFile.personalities.includes(t.personality.full_path)){const e=await this.select_personality(t);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality: +`+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality: +`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);ge(()=>{ke.replace()})}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&(this.update_model(t.title),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model: +`+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model: +`+t.title+` +is not installed`,4,!1),ge(()=>{ke.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title} +File size: ${t.fileSize} +Manually downloaded model `:e=`Model name: ${t.title} +File size: ${t.fileSize} +Download: ${t.path} +License: ${t.license} +Owner: ${t.owner} +Website: ${t.owner_link} +Description: ${t.description}`,this.$refs.toast.showToast("Copied model info to clipboard!",4,!0),navigator.clipboard.writeText(e.trim())},onCopyLink(t){this.$refs.toast.showToast("Copied link to clipboard!",4,!0),navigator.clipboard.writeText(t.path)},onCancelInstall(){const t=this.addModel;console.log("cancel install",t),this.modelDownlaodInProgress=!1,this.addModel={},this.$refs.toast.showToast("Model installation aborted",4,!1),je.emit("cancel_install",{model_name:t.model_name,binding_folder:t.binding_folder,model_url:t.model_url})},onInstall(t){if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,this.addModel={model_name:t.model.title,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),je.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: +`+t.title+` +installed!`,4,!0),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r})}}else je.off("install_progress",n),console.log("Install failed"),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",s.error),this.$refs.toast.showToast(`Model: +`+t.title+` +failed to install!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})};je.on("install_progress",n),je.emit("install_model",{path:e}),console.log("Started installation, please wait")},onInstallAddModel(){if(!this.addModel.url){this.$refs.toast.showToast("Link is empty",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),je.off("install_progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model: +`+this.addModel.model_name+` +installed!`,4,!0),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))):(je.off("install_progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model: +`+this.addModel.model_name+` +failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))};je.on("install_progress",e),je.emit("install_model",{path:t}),console.log("Started installation, please wait")},uploadLocalModel(){if(this.uploadData.length==0){this.$refs.toast.showToast("No files to upload",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),je.off("progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model: +`+this.addModel.model_name+` +installed!`,4,!0),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))):(je.off("progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model: +`+this.addModel.model_name+` +failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))};je.on("progress",e),console.log("Started installation, please wait")},setFileList(t){this.uploadData=t.target.files,console.log("set file list",this.uploadData)},onUninstall(t){this.$refs.yesNoDialog.askQuestion(`Are you sure you want to delete this model? + [`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,je.off("install_progress",n),this.showProgress=!1;const o=this.models.findIndex(r=>r.path===t.path);this.models[o].isInstalled=!1,t.model.isCustomModel&&(this.models=this.models.filter(r=>r.title!==t.title)),this.$refs.toast.showToast(`Model: +`+t.title+` +was uninstalled!`,4,!0),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r})}else console.log("uninstalling failed",s),t.uninstalling=!1,this.showProgress=!1,je.off("install_progress",n),console.error("Uninstallation failed:",message.error),this.$refs.toast.showToast(`Model: +`+t.title+` +failed to uninstall!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})};je.on("install_progress",n),je.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){if(!t.binding.installed){this.$refs.toast.showToast(`Binding is not installed: +`+t.binding.name,4,!1);return}this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onInstallBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,Ce.post("/reinstall_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_binding",e),e.data.status?this.$refs.toast.showToast("Reinstalled binding successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall binding",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall binding +`+e.message,4,!1),{status:!1}))},onSettingsBinding(t){try{this.isLoading=!0,Ce.get("/get_active_binding_settings").then(e=>{this.isLoading=!1,e&&(console.log("binding sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Binding settings - "+t.binding.name,"Save changes","Cancel").then(n=>{try{Ce.post("/set_active_binding_settings",n).then(s=>{s&&s.data?(console.log("binding set with new settings",s.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses. +`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get binding settings responses. + Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+e.message,4,!1)}},onSettingsPersonality(t){try{this.isLoading=!0,Ce.get("/get_active_personality_settings").then(e=>{this.isLoading=!1,e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Ce.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get Personality settings responses. +`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. + Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},refresh(){this.api_get_req("list_models").then(t=>{this.modelsArr=t,this.modelsArr.sort()}),this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("get_config").then(t=>{this.getPersonalitiesArr().then(()=>{this.getMountedPersonalities()}),console.log("Received config"),this.configFile=t,this.models.forEach(e=>{e.title==t.model_name?e.selected=!0:e.selected=!1})}).then(()=>{this.api_get_req("get_current_personality_path_infos").then(t=>{this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,console.log("received infos")})}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities: +${t}`)}),this.api_get_req("disk_usage").then(t=>{this.diskUsage=t}),this.api_get_req("ram_usage").then(t=>{this.ramUsage=t}),this.fetchModels(),this.api_get_req("list_bindings"),then(t=>{this.bindings=t,this.bindings.sort((e,n)=>e.name.localeCompare(n.name))})},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){this.isLoading=!0;const s={setting_name:t,setting_value:e};Ce.post("/update_setting",s).then(o=>{if(o)return this.isLoading=!1,console.log("update_setting",o),n!==void 0&&n(o),o.data;this.isLoading=!1}).catch(o=>(this.isLoading=!1,{status:!1}))},update_binding(t){this.isLoading=!0,this.update_setting("binding_name",t,e=>{const n=this.bindings.findIndex(o=>o.folder==t),s=this.bindings[n];s&&(s.installed=!0),this.$refs.toast.showToast("Binding changed.",4,!0),this.settingsChanged=!0,this.isLoading=!1,this.update_model(null),this.configFile.model_name=null,this.refresh(),ge(()=>{ke.replace()})})},update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0,this.update_setting("model_name",t,e=>{this.isLoading=!1})},applyConfiguration(){this.isLoading=!0,Ce.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),ge(()=>{ke.replace()})})},save_configuration(){this.showConfirmation=!1,Ce.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure? +This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Ce.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let p={};return p=f,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+f.folder,p.isMounted=h,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name.toLowerCase().includes(t)||n.description.toLowerCase().includes(t)||n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},computedFileSize(t){return zt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ce.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ce.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ce.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality +Error: `+e.error+` +Response: +`+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality +Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n);console.log("index",s),console.log("i:",e);const o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),ge(()=>{})},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Qn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))}},async mounted(){this.isLoading=!0,ge(()=>{ke.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),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.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.api_get_req("vram_usage"),this.getMountedPersonalities(),this.isMounted=!0},activated(){},computed:{disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},vram_available_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram-this.vramUsage.gpu_0_used_vram)},vram_usage(){return this.computedFileSize(this.vramUsage.gpu_0_used_vram)},vram_percent_usage(){return(this.vramUsage.gpu_0_used_vram/this.vramUsage.gpu_0_total_vram*100).toFixed(2)},vram_total_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return defaultImgPlaceholder}},imgModel(){if(this.isMounted)try{return this.$refs.modelZoo[this.$refs.modelZoo.findIndex(t=>t.title==this.configFile.model_name)].$refs.imgElement.src}catch{return xa}},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return zt(this.addModel.speed)},total_size_computed(){return zt(this.addModel.total_size)},downloaded_size_computed(){return zt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){ge(()=>{ke.replace()})},pc_collapsed(){ge(()=>{ke.replace()})},mc_collapsed(){ge(()=>{ke.replace()})},sc_collapsed(){ge(()=>{ke.replace()})},showConfirmation(){ge(()=>{ke.replace()})},mzl_collapsed(){ge(()=>{ke.replace()})},pzl_collapsed(){ge(()=>{ke.replace()})},bzl_collapsed(){ge(()=>{ke.replace()})},all_collapsed(t){this.collapseAll(t),ge(()=>{ke.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,ge(()=>{ke.replace()})},isLoading(){ge(()=>{ke.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},mzdc_collapsed(){ge(()=>{ke.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes? +You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model? +You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},ve=t=>(js("data-v-b87d317a"),t=t(),Bs(),t),Wk={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},Zk={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},Yk={key:0,class:"flex gap-3 flex-1 items-center duration-75"},Jk=ve(()=>d("i",{"data-feather":"x"},null,-1)),Qk=[Jk],Xk=ve(()=>d("i",{"data-feather":"check"},null,-1)),eE=[Xk],tE={key:1,class:"flex gap-3 flex-1 items-center"},nE=ve(()=>d("i",{"data-feather":"save"},null,-1)),sE=[nE],oE=ve(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),rE=[oE],iE=ve(()=>d("i",{"data-feather":"list"},null,-1)),aE=[iE],lE={class:"flex gap-3 flex-1 items-center justify-end"},cE={class:"flex gap-3 items-center"},uE={key:0,class:"flex gap-3 items-center"},dE=ve(()=>d("i",{"data-feather":"check"},null,-1)),fE=[dE],hE={key:1,role:"status"},pE=ve(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),gE=ve(()=>d("span",{class:"sr-only"},"Loading...",-1)),mE=[pE,gE],_E={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},yE={class:"flex flex-row p-3"},bE=ve(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),vE=ve(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),xE=ve(()=>d("div",{class:"mr-2"},"|",-1)),wE={class:"text-base font-semibold cursor-pointer select-none items-center"},kE={class:"flex gap-2 items-center"},EE=To('',1),CE={class:"font-bold font-large text-lg"},AE=ve(()=>d("i",{"data-feather":"cpu",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),SE={class:"font-bold font-large text-lg"},TE=ve(()=>d("i",{"data-feather":"hard-drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),ME={class:"font-bold font-large text-lg"},OE={class:"mb-2"},RE=ve(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),be(" Ram usage: ")],-1)),DE={class:"flex flex-col mx-2"},LE=ve(()=>d("b",null,"Avaliable ram: ",-1)),IE=ve(()=>d("b",null,"Ram usage: ",-1)),NE={class:"p-2"},PE={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},FE={class:"mb-2"},jE=ve(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),be(" Disk usage: ")],-1)),BE={class:"flex flex-col mx-2"},$E=ve(()=>d("b",null,"Avaliable disk space: ",-1)),zE=ve(()=>d("b",null,"Disk usage: ",-1)),qE={class:"p-2"},UE={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},HE={class:"mb-2"},VE=To('',1),KE={class:"flex flex-col mx-2"},GE=ve(()=>d("b",null,"Avaliable vram: ",-1)),WE=ve(()=>d("b",null,"GPU usage: ",-1)),ZE={class:"p-2"},YE={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},JE={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},QE={class:"flex flex-row p-3"},XE=ve(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),e5=ve(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),t5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},n5=ve(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),s5={key:1,class:"mr-2"},o5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},r5={class:"flex gap-1 items-center"},i5=["src"],a5={class:"font-bold font-large text-lg line-clamp-1"},l5={key:0,class:"mb-2"},c5={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},u5=ve(()=>d("i",{"data-feather":"chevron-up"},null,-1)),d5=[u5],f5=ve(()=>d("i",{"data-feather":"chevron-down"},null,-1)),h5=[f5],p5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},g5={class:"flex flex-row p-3"},m5=["data-feather"],_5=ve(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),y5={class:"flex flex-row items-center"},b5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},v5=ve(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),x5={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},w5=ve(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),k5={key:2,class:"mr-2"},E5={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},C5={class:"flex gap-1 items-center"},A5=["src"],S5={class:"font-bold font-large text-lg line-clamp-1"},T5={key:0,class:"mb-2"},M5={key:1,class:"mb-2"},O5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},R5=ve(()=>d("i",{"data-feather":"chevron-up"},null,-1)),D5=[R5],L5=ve(()=>d("i",{"data-feather":"chevron-down"},null,-1)),I5=[L5],N5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},P5={class:"flex flex-row p-3"},F5=["data-feather"],j5=ve(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),B5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},$5=ve(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),z5={key:1,class:"mr-2"},q5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},U5={class:"flex gap-1 items-center"},H5=["src"],V5={class:"font-bold font-large text-lg line-clamp-1"},K5={class:"mb-2"},G5={key:0,class:"p-2"},W5={class:"mb-3"},Z5=ve(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white",for:"file_input"},"Select files",-1)),Y5={class:"p-2"},J5={key:0},Q5={class:"mb-3"},X5=ve(()=>d("label",{for:"email",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Model URL",-1)),e4={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},t4=ve(()=>d("div",{role:"status",class:"justify-center"},null,-1)),n4={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},s4={class:"w-full p-2"},o4={class:"flex justify-between mb-1"},r4=To(' Downloading Loading...',1),i4={class:"text-sm font-medium text-blue-700 dark:text-white"},a4=["title"],l4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},c4={class:"flex justify-between mb-1"},u4={class:"text-base font-medium text-blue-700 dark:text-white"},d4={class:"text-sm font-medium text-blue-700 dark:text-white"},f4={class:"flex flex-grow"},h4={class:"flex flex-row flex-grow gap-3"},p4={class:"p-2 text-center grow"},g4={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},m4={class:"flex flex-row p-3 items-center"},_4=["data-feather"],y4=ve(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),b4={key:0,class:"mr-2"},v4={class:"mr-2 font-bold font-large text-lg line-clamp-1"},x4={key:1,class:"mr-2"},w4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},k4={key:0,class:"flex -space-x-4 items-center"},E4={class:"group items-center flex flex-row"},C4=["onClick"],A4=["src","title"],S4=["onClick"],T4=ve(()=>d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),M4=[T4],O4={class:"mx-2 mb-4"},R4=ve(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),D4={class:"relative"},L4={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},I4={key:0},N4=ve(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),P4=[N4],F4={key:1},j4=ve(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),B4=[j4],$4={key:0,class:"mx-2 mb-4"},z4={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},q4=["selected"],U4={key:1,class:"mx-2 mb-4"},H4={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},V4=["selected"],K4={key:0,class:"mb-2"},G4={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},W4=ve(()=>d("i",{"data-feather":"chevron-up"},null,-1)),Z4=[W4],Y4=ve(()=>d("i",{"data-feather":"chevron-down"},null,-1)),J4=[Y4],Q4={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},X4={class:"flex flex-row"},e3=["data-feather"],t3=ve(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),n3={class:"m-2"},s3={class:"flex flex-row gap-2 items-center"},o3=ve(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),r3={class:"m-2"},i3=ve(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),a3={class:"m-2"},l3={class:"flex flex-col align-bottom"},c3={class:"relative"},u3=ve(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),d3={class:"absolute right-0"},f3={class:"m-2"},h3={class:"flex flex-col align-bottom"},p3={class:"relative"},g3=ve(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),m3={class:"absolute right-0"},_3={class:"m-2"},y3={class:"flex flex-col align-bottom"},b3={class:"relative"},v3=ve(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),x3={class:"absolute right-0"},w3={class:"m-2"},k3={class:"flex flex-col align-bottom"},E3={class:"relative"},C3=ve(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),A3={class:"absolute right-0"},S3={class:"m-2"},T3={class:"flex flex-col align-bottom"},M3={class:"relative"},O3=ve(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),R3={class:"absolute right-0"},D3={class:"m-2"},L3={class:"flex flex-col align-bottom"},I3={class:"relative"},N3=ve(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),P3={class:"absolute right-0"};function F3(t,e,n,s,o,r){const i=dt("BindingEntry"),a=dt("model-entry"),l=dt("personality-entry"),c=dt("YesNoDialog"),u=dt("AddModelDialog"),f=dt("MessageBox"),h=dt("Toast"),p=dt("UniversalForm");return M(),O(Pe,null,[d("div",Wk,[d("div",Zk,[o.showConfirmation?(M(),O("div",Yk,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=le(g=>o.showConfirmation=!1,["stop"]))},Qk),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=le(g=>r.save_configuration(),["stop"]))},eE)])):V("",!0),o.showConfirmation?V("",!0):(M(),O("div",tE,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=g=>o.showConfirmation=!0)},sE),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=g=>r.reset_configuration())},rE),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=le(g=>o.all_collapsed=!o.all_collapsed,["stop"]))},aE)])),d("div",lE,[d("div",cE,[o.settingsChanged?(M(),O("div",uE,[be(" Apply changes: "),o.isLoading?V("",!0):(M(),O("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=le(g=>r.applyConfiguration(),["stop"]))},fE))])):V("",!0),o.isLoading?(M(),O("div",hE,mE)):V("",!0)])])]),d("div",{class:Oe(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",_E,[d("div",yE,[d("button",{onClick:e[6]||(e[6]=le(g=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[bE,vE,xE,d("div",wE,[d("div",kE,[EE,d("h3",CE,[d("div",null,ee(r.vram_usage)+" / "+ee(r.vram_total_space)+" ("+ee(r.vram_percent_usage)+"%)",1)]),AE,d("h3",SE,[d("div",null,ee(r.ram_usage)+" / "+ee(r.ram_total_space)+" ("+ee(r.ram_percent_usage)+"%)",1)]),TE,d("h3",ME,[d("div",null,ee(r.disk_binding_models_usage)+" / "+ee(r.disk_total_space)+" ("+ee(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:Oe([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",OE,[RE,d("div",DE,[d("div",null,[LE,be(ee(r.ram_available_space),1)]),d("div",null,[IE,be(" "+ee(r.ram_usage)+" / "+ee(r.ram_total_space),1)])]),d("div",NE,[d("div",PE,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:nn("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",FE,[jE,d("div",BE,[d("div",null,[$E,be(ee(r.disk_available_space),1)]),d("div",null,[zE,be(" "+ee(r.disk_binding_models_usage)+" / "+ee(r.disk_total_space),1)])]),d("div",qE,[d("div",UE,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:nn("width: "+r.disk_percent_usage+"%;")},null,4)])])]),d("div",HE,[VE,d("div",KE,[d("div",null,[GE,be(ee(r.vram_available_space),1)]),d("div",null,[WE,be(" "+ee(r.vram_usage)+" / "+ee(r.vram_total_space),1)])]),d("div",ZE,[d("div",YE,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:nn("width: "+r.vram_percent_usage+"%;")},null,4)])])])],2)]),d("div",JE,[d("div",QE,[d("button",{onClick:e[7]||(e[7]=le(g=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[XE,e5,o.configFile.binding_name?V("",!0):(M(),O("div",t5,[n5,be(" No binding selected! ")])),o.configFile.binding_name?(M(),O("div",s5,"|")):V("",!0),o.configFile.binding_name?(M(),O("div",o5,[d("div",r5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,i5),d("h3",a5,ee(r.binding_name),1)])])):V("",!0)])]),d("div",{class:Oe([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(M(),O("div",l5,[d("label",c5," Bindings: ("+ee(o.bindings.length)+") ",1),d("div",{class:Oe(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[Ae(on,{name:"list"},{default:Je(()=>[(M(!0),O(Pe,null,at(o.bindings,(g,m)=>(M(),lt(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+g.folder,binding:g,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:g.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):V("",!0),o.bzl_collapsed?(M(),O("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=g=>o.bzl_collapsed=!o.bzl_collapsed)},d5)):(M(),O("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=g=>o.bzl_collapsed=!o.bzl_collapsed)},h5))],2)]),d("div",p5,[d("div",g5,[d("button",{onClick:e[10]||(e[10]=le(g=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,m5),_5,d("div",y5,[o.configFile.binding_name?V("",!0):(M(),O("div",b5,[v5,be(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(M(),O("div",x5,[w5,be(" No model selected! ")])):V("",!0),o.configFile.model_name?(M(),O("div",k5,"|")):V("",!0),o.configFile.model_name?(M(),O("div",E5,[d("div",C5,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,A5),d("h3",S5,ee(o.configFile.model_name),1)])])):V("",!0)])])]),d("div",{class:Oe([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.configFile.binding_name?(M(),O("div",T5)):V("",!0),o.models.length>0?(M(),O("div",M5,[d("label",O5," Models: ("+ee(o.models.length)+") ",1),d("div",{class:Oe(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Ae(on,{name:"list"},{default:Je(()=>[(M(!0),O(Pe,null,at(o.models,(g,m)=>(M(),lt(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+g.title,title:g.title,icon:g.icon,path:g.path,owner:g.owner,owner_link:g.owner_link,license:g.license,description:g.description,"is-installed":g.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:g.title===o.configFile.model_name,model:g,model_type:g.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):V("",!0),o.mzl_collapsed?(M(),O("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[11]||(e[11]=g=>o.mzl_collapsed=!o.mzl_collapsed)},D5)):(M(),O("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[12]||(e[12]=g=>o.mzl_collapsed=!o.mzl_collapsed)},I5))],2)]),d("div",N5,[d("div",P5,[d("button",{onClick:e[13]||(e[13]=le(g=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,F5),j5,o.configFile.binding_name?V("",!0):(M(),O("div",B5,[$5,be(" No binding selected! ")])),o.configFile.binding_name?(M(),O("div",z5,"|")):V("",!0),o.configFile.binding_name?(M(),O("div",q5,[d("div",U5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,H5),d("h3",V5,ee(r.binding_name),1)])])):V("",!0)])]),d("div",{class:Oe([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",K5,[o.modelDownlaodInProgress?V("",!0):(M(),O("div",G5,[d("form",null,[d("div",W5,[Z5,d("input",{onChange:e[14]||(e[14]=(...g)=>r.setFileList&&r.setFileList(...g)),class:"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400",ref:"fileDialogAddModel",type:"file",multiple:""},null,544)]),d("button",{type:"button",onClick:e[15]||(e[15]=le((...g)=>r.uploadLocalModel&&r.uploadLocalModel(...g),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Upload")])])),d("div",Y5,[o.modelDownlaodInProgress?V("",!0):(M(),O("div",J5,[d("div",Q5,[X5,Te(d("input",{type:"text","onUpdate:modelValue":e[16]||(e[16]=g=>o.addModel.url=g),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",placeholder:"url",required:""},null,512),[[Be,o.addModel.url]])]),d("button",{type:"button",onClick:e[17]||(e[17]=le(g=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(M(),O("div",e4,[t4,d("div",n4,[d("div",s4,[d("div",o4,[r4,d("span",i4,ee(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},ee(o.addModel.url),9,a4),d("div",l4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:nn({width:o.addModel.progress+"%"})},null,4)]),d("div",c4,[d("span",u4,"Download speed: "+ee(r.speed_computed)+"/s",1),d("span",d4,ee(r.downloaded_size_computed)+"/"+ee(r.total_size_computed),1)])])]),d("div",f4,[d("div",h4,[d("div",p4,[d("button",{onClick:e[18]||(e[18]=le((...g)=>r.onCancelInstall&&r.onCancelInstall(...g),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):V("",!0)])])],2)]),d("div",g4,[d("div",m4,[d("button",{onClick:e[20]||(e[20]=le(g=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,_4),y4,o.configFile.personalities?(M(),O("div",b4,"|")):V("",!0),d("div",v4,ee(r.active_pesonality),1),o.configFile.personalities?(M(),O("div",x4,"|")):V("",!0),o.configFile.personalities?(M(),O("div",w4,[o.mountedPersArr.length>0?(M(),O("div",k4,[(M(!0),O(Pe,null,at(o.mountedPersArr,(g,m)=>(M(),O("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+g.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",E4,[d("button",{onClick:le(v=>r.onPersonalitySelected(g),["stop"])},[d("img",{src:o.bUrl+g.avatar,onError:e[19]||(e[19]=(...v)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...v)),class:Oe(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(g.full_path)?"border-secondary":"border-transparent z-0"]),title:g.name},null,42,A4)],8,C4),d("button",{onClick:le(v=>r.onPersonalityMounted(g),["stop"])},M4,8,S4)])]))),128))])):V("",!0)])):V("",!0)])]),d("div",{class:Oe([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",O4,[d("form",null,[R4,d("div",D4,[d("div",L4,[o.searchPersonalityInProgress?(M(),O("div",I4,P4)):V("",!0),o.searchPersonalityInProgress?V("",!0):(M(),O("div",F4,B4))]),Te(d("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 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",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[21]||(e[21]=g=>o.searchPersonality=g),onKeyup:e[22]||(e[22]=le((...g)=>r.searchPersonality_func&&r.searchPersonality_func(...g),["stop"]))},null,544),[[Be,o.searchPersonality]]),o.searchPersonality?(M(),O("button",{key:0,onClick:e[23]||(e[23]=le(g=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):V("",!0)])])]),o.searchPersonality?V("",!0):(M(),O("div",$4,[d("label",z4," Personalities Languages: ("+ee(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[24]||(e[24]=g=>r.update_setting("personality_language",g.target.value,r.refresh)),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"},[(M(!0),O(Pe,null,at(o.persLangArr,g=>(M(),O("option",{selected:g===this.configFile.personality_language},ee(g),9,q4))),256))],32)])),o.searchPersonality?V("",!0):(M(),O("div",U4,[d("label",H4," Personalities Category: ("+ee(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[25]||(e[25]=g=>r.update_setting("personality_category",g.target.value,r.refresh)),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"},[(M(!0),O(Pe,null,at(o.persCatgArr,(g,m)=>(M(),O("option",{key:m,selected:g==this.configFile.personality_category},ee(g),9,V4))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(M(),O("div",K4,[d("label",G4," Personalities: ("+ee(o.personalitiesFiltered.length)+") ",1),d("div",{class:Oe(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[Ae(on,{name:"bounce"},{default:Je(()=>[(M(!0),O(Pe,null,at(o.personalitiesFiltered,(g,m)=>(M(),lt(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+g.name,personality:g,full_path:g.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(v=>v===g.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):V("",!0)]),o.pzl_collapsed?(M(),O("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[26]||(e[26]=g=>o.pzl_collapsed=!o.pzl_collapsed)},Z4)):(M(),O("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[27]||(e[27]=g=>o.pzl_collapsed=!o.pzl_collapsed)},J4))],2)]),d("div",Q4,[d("div",X4,[d("button",{onClick:e[28]||(e[28]=le(g=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,e3),t3])]),d("div",{class:Oe([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",n3,[d("div",s3,[Te(d("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[29]||(e[29]=le(()=>{},["stop"])),"onUpdate:modelValue":e[30]||(e[30]=g=>o.configFile.override_personality_model_parameters=g),onChange:e[31]||(e[31]=g=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[bn,o.configFile.override_personality_model_parameters]]),o3])]),d("div",{class:Oe(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",r3,[i3,Te(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[32]||(e[32]=g=>o.configFile.seed=g),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),[[Be,o.configFile.seed]])]),d("div",a3,[d("div",l3,[d("div",c3,[u3,d("p",d3,[Te(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[33]||(e[33]=g=>o.configFile.temperature=g),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),[[Be,o.configFile.temperature]])])]),Te(d("input",{id:"temperature",onChange:e[34]||(e[34]=g=>r.update_setting("temperature",g.target.value)),type:"range","onUpdate:modelValue":e[35]||(e[35]=g=>o.configFile.temperature=g),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,544),[[Be,o.configFile.temperature]])])]),d("div",f3,[d("div",h3,[d("div",p3,[g3,d("p",m3,[Te(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[36]||(e[36]=g=>o.configFile.n_predict=g),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),[[Be,o.configFile.n_predict]])])]),Te(d("input",{id:"predict",onChange:e[37]||(e[37]=g=>r.update_setting("n_predict",g.target.value)),type:"range","onUpdate:modelValue":e[38]||(e[38]=g=>o.configFile.n_predict=g),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,544),[[Be,o.configFile.n_predict]])])]),d("div",_3,[d("div",y3,[d("div",b3,[v3,d("p",x3,[Te(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[39]||(e[39]=g=>o.configFile.top_k=g),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),[[Be,o.configFile.top_k]])])]),Te(d("input",{id:"top_k",onChange:e[40]||(e[40]=g=>r.update_setting("top_k",g.target.value)),type:"range","onUpdate:modelValue":e[41]||(e[41]=g=>o.configFile.top_k=g),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,544),[[Be,o.configFile.top_k]])])]),d("div",w3,[d("div",k3,[d("div",E3,[C3,d("p",A3,[Te(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[42]||(e[42]=g=>o.configFile.top_p=g),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),[[Be,o.configFile.top_p]])])]),Te(d("input",{id:"top_p",onChange:e[43]||(e[43]=g=>r.update_setting("top_p",g.target.value)),type:"range","onUpdate:modelValue":e[44]||(e[44]=g=>o.configFile.top_p=g),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,544),[[Be,o.configFile.top_p]])])]),d("div",S3,[d("div",T3,[d("div",M3,[O3,d("p",R3,[Te(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[45]||(e[45]=g=>o.configFile.repeat_penalty=g),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),[[Be,o.configFile.repeat_penalty]])])]),Te(d("input",{id:"repeat_penalty",onChange:e[46]||(e[46]=g=>r.update_setting("repeat_penalty",g.target.value)),type:"range","onUpdate:modelValue":e[47]||(e[47]=g=>o.configFile.repeat_penalty=g),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,544),[[Be,o.configFile.repeat_penalty]])])]),d("div",D3,[d("div",L3,[d("div",I3,[N3,d("p",P3,[Te(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[48]||(e[48]=g=>o.configFile.repeat_last_n=g),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),[[Be,o.configFile.repeat_last_n]])])]),Te(d("input",{id:"repeat_last_n",onChange:e[49]||(e[49]=g=>r.update_setting("repeat_last_n",g.target.value)),type:"range","onUpdate:modelValue":e[50]||(e[50]=g=>o.configFile.repeat_last_n=g),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,544),[[Be,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ae(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ae(u,{ref:"addmodeldialog"},null,512),Ae(f,{ref:"messageBox"},null,512),Ae(h,{ref:"toast"},null,512),Ae(p,{ref:"universalForm",class:"z-20"},null,512)],64)}const j3=Ge(Gk,[["render",F3],["__scopeId","data-v-b87d317a"]]),B3={data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},$3={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},z3={class:"mb-4"},q3=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),U3={class:"mb-4"},H3=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),V3={class:"mb-4"},K3=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),G3={class:"mt-2 text-xs"},W3={class:"mb-4"},Z3=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),Y3={class:"mb-4"},J3=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),Q3={class:"mb-4"},X3=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),eC={class:"mb-4"},tC=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),nC={class:"mb-4"},sC=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),oC=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function rC(t,e,n,s,o,r){return M(),O("div",$3,[d("form",{onSubmit:e[10]||(e[10]=le((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",z3,[q3,Te(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Be,o.model_name]])]),d("div",U3,[H3,Te(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Be,o.tokenizer_name]])]),d("div",V3,[K3,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",G3,"Selected File: "+ee(o.selectedDatasetPath),1)]),d("div",W3,[Z3,Te(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Be,o.max_length,void 0,{number:!0}]])]),d("div",Y3,[J3,Te(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Be,o.batch_size,void 0,{number:!0}]])]),d("div",Q3,[X3,Te(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Be,o.lr,void 0,{number:!0}]])]),d("div",eC,[tC,Te(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[Be,o.num_epochs,void 0,{number:!0}]])]),d("div",nC,[sC,Te(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[Be,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),oC],32)])}const iC=Ge(B3,[["render",rC]]),aC={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,ge(()=>{ke.replace()})},watch:{showConfirmation(){ge(()=>{ke.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&ge(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},lC=["id"],cC={class:"flex flex-row items-center gap-2"},uC={key:0},dC=["title"],fC=["value"],hC={class:"flex items-center flex-1 max-h-6"},pC={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},gC=d("i",{"data-feather":"check"},null,-1),mC=[gC],_C=d("i",{"data-feather":"x"},null,-1),yC=[_C],bC={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},vC=d("i",{"data-feather":"x"},null,-1),xC=[vC],wC=d("i",{"data-feather":"check"},null,-1),kC=[wC],EC={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},CC=d("i",{"data-feather":"edit-2"},null,-1),AC=[CC],SC=d("i",{"data-feather":"trash"},null,-1),TC=[SC];function MC(t,e,n,s,o,r){return M(),O("div",{class:Oe([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm 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"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=le(i=>r.selectEvent(),["stop"]))},[d("div",cC,[n.isCheckbox?(M(),O("div",uC,[Te(d("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=le(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[bn,o.checkBoxValue_local]])])):V("",!0),n.selected?(M(),O("div",{key:1,class:Oe(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):V("",!0),n.selected?V("",!0):(M(),O("div",{key:2,class:Oe(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?V("",!0):(M(),O("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},ee(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,dC)),o.editTitle?(M(),O("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=da(le(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=da(le(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=le(()=>{},["stop"]))},null,40,fC)):V("",!0),d("div",hC,[o.showConfirmation&&!o.editTitleMode?(M(),O("div",pC,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=le(i=>r.deleteEvent(),["stop"]))},mC),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=le(i=>o.showConfirmation=!1,["stop"]))},yC)])):V("",!0),o.showConfirmation&&o.editTitleMode?(M(),O("div",bC,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=le(i=>o.editTitleMode=!1,["stop"]))},xC),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=le(i=>r.editTitleEvent(),["stop"]))},kC)])):V("",!0),o.showConfirmation?V("",!0):(M(),O("div",EC,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=le(i=>o.editTitleMode=!0,["stop"]))},AC),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=le(i=>o.showConfirmation=!0,["stop"]))},TC)]))])],10,lC)}const Fh=Ge(aC,[["render",MC]]);var Fe={};const OC="Á",RC="á",DC="Ă",LC="ă",IC="∾",NC="∿",PC="∾̳",FC="Â",jC="â",BC="´",$C="А",zC="а",qC="Æ",UC="æ",HC="⁡",VC="𝔄",KC="𝔞",GC="À",WC="à",ZC="ℵ",YC="ℵ",JC="Α",QC="α",XC="Ā",e8="ā",t8="⨿",n8="&",s8="&",o8="⩕",r8="⩓",i8="∧",a8="⩜",l8="⩘",c8="⩚",u8="∠",d8="⦤",f8="∠",h8="⦨",p8="⦩",g8="⦪",m8="⦫",_8="⦬",y8="⦭",b8="⦮",v8="⦯",x8="∡",w8="∟",k8="⊾",E8="⦝",C8="∢",A8="Å",S8="⍼",T8="Ą",M8="ą",O8="𝔸",R8="𝕒",D8="⩯",L8="≈",I8="⩰",N8="≊",P8="≋",F8="'",j8="⁡",B8="≈",$8="≊",z8="Å",q8="å",U8="𝒜",H8="𝒶",V8="≔",K8="*",G8="≈",W8="≍",Z8="Ã",Y8="ã",J8="Ä",Q8="ä",X8="∳",eA="⨑",tA="≌",nA="϶",sA="‵",oA="∽",rA="⋍",iA="∖",aA="⫧",lA="⊽",cA="⌅",uA="⌆",dA="⌅",fA="⎵",hA="⎶",pA="≌",gA="Б",mA="б",_A="„",yA="∵",bA="∵",vA="∵",xA="⦰",wA="϶",kA="ℬ",EA="ℬ",CA="Β",AA="β",SA="ℶ",TA="≬",MA="𝔅",OA="𝔟",RA="⋂",DA="◯",LA="⋃",IA="⨀",NA="⨁",PA="⨂",FA="⨆",jA="★",BA="▽",$A="△",zA="⨄",qA="⋁",UA="⋀",HA="⤍",VA="⧫",KA="▪",GA="▴",WA="▾",ZA="◂",YA="▸",JA="␣",QA="▒",XA="░",e9="▓",t9="█",n9="=⃥",s9="≡⃥",o9="⫭",r9="⌐",i9="𝔹",a9="𝕓",l9="⊥",c9="⊥",u9="⋈",d9="⧉",f9="┐",h9="╕",p9="╖",g9="╗",m9="┌",_9="╒",y9="╓",b9="╔",v9="─",x9="═",w9="┬",k9="╤",E9="╥",C9="╦",A9="┴",S9="╧",T9="╨",M9="╩",O9="⊟",R9="⊞",D9="⊠",L9="┘",I9="╛",N9="╜",P9="╝",F9="└",j9="╘",B9="╙",$9="╚",z9="│",q9="║",U9="┼",H9="╪",V9="╫",K9="╬",G9="┤",W9="╡",Z9="╢",Y9="╣",J9="├",Q9="╞",X9="╟",e6="╠",t6="‵",n6="˘",s6="˘",o6="¦",r6="𝒷",i6="ℬ",a6="⁏",l6="∽",c6="⋍",u6="⧅",d6="\\",f6="⟈",h6="•",p6="•",g6="≎",m6="⪮",_6="≏",y6="≎",b6="≏",v6="Ć",x6="ć",w6="⩄",k6="⩉",E6="⩋",C6="∩",A6="⋒",S6="⩇",T6="⩀",M6="ⅅ",O6="∩︀",R6="⁁",D6="ˇ",L6="ℭ",I6="⩍",N6="Č",P6="č",F6="Ç",j6="ç",B6="Ĉ",$6="ĉ",z6="∰",q6="⩌",U6="⩐",H6="Ċ",V6="ċ",K6="¸",G6="¸",W6="⦲",Z6="¢",Y6="·",J6="·",Q6="𝔠",X6="ℭ",eS="Ч",tS="ч",nS="✓",sS="✓",oS="Χ",rS="χ",iS="ˆ",aS="≗",lS="↺",cS="↻",uS="⊛",dS="⊚",fS="⊝",hS="⊙",pS="®",gS="Ⓢ",mS="⊖",_S="⊕",yS="⊗",bS="○",vS="⧃",xS="≗",wS="⨐",kS="⫯",ES="⧂",CS="∲",AS="”",SS="’",TS="♣",MS="♣",OS=":",RS="∷",DS="⩴",LS="≔",IS="≔",NS=",",PS="@",FS="∁",jS="∘",BS="∁",$S="ℂ",zS="≅",qS="⩭",US="≡",HS="∮",VS="∯",KS="∮",GS="𝕔",WS="ℂ",ZS="∐",YS="∐",JS="©",QS="©",XS="℗",e7="∳",t7="↵",n7="✗",s7="⨯",o7="𝒞",r7="𝒸",i7="⫏",a7="⫑",l7="⫐",c7="⫒",u7="⋯",d7="⤸",f7="⤵",h7="⋞",p7="⋟",g7="↶",m7="⤽",_7="⩈",y7="⩆",b7="≍",v7="∪",x7="⋓",w7="⩊",k7="⊍",E7="⩅",C7="∪︀",A7="↷",S7="⤼",T7="⋞",M7="⋟",O7="⋎",R7="⋏",D7="¤",L7="↶",I7="↷",N7="⋎",P7="⋏",F7="∲",j7="∱",B7="⌭",$7="†",z7="‡",q7="ℸ",U7="↓",H7="↡",V7="⇓",K7="‐",G7="⫤",W7="⊣",Z7="⤏",Y7="˝",J7="Ď",Q7="ď",X7="Д",eT="д",tT="‡",nT="⇊",sT="ⅅ",oT="ⅆ",rT="⤑",iT="⩷",aT="°",lT="∇",cT="Δ",uT="δ",dT="⦱",fT="⥿",hT="𝔇",pT="𝔡",gT="⥥",mT="⇃",_T="⇂",yT="´",bT="˙",vT="˝",xT="`",wT="˜",kT="⋄",ET="⋄",CT="⋄",AT="♦",ST="♦",TT="¨",MT="ⅆ",OT="ϝ",RT="⋲",DT="÷",LT="÷",IT="⋇",NT="⋇",PT="Ђ",FT="ђ",jT="⌞",BT="⌍",$T="$",zT="𝔻",qT="𝕕",UT="¨",HT="˙",VT="⃜",KT="≐",GT="≑",WT="≐",ZT="∸",YT="∔",JT="⊡",QT="⌆",XT="∯",eM="¨",tM="⇓",nM="⇐",sM="⇔",oM="⫤",rM="⟸",iM="⟺",aM="⟹",lM="⇒",cM="⊨",uM="⇑",dM="⇕",fM="∥",hM="⤓",pM="↓",gM="↓",mM="⇓",_M="⇵",yM="̑",bM="⇊",vM="⇃",xM="⇂",wM="⥐",kM="⥞",EM="⥖",CM="↽",AM="⥟",SM="⥗",TM="⇁",MM="↧",OM="⊤",RM="⤐",DM="⌟",LM="⌌",IM="𝒟",NM="𝒹",PM="Ѕ",FM="ѕ",jM="⧶",BM="Đ",$M="đ",zM="⋱",qM="▿",UM="▾",HM="⇵",VM="⥯",KM="⦦",GM="Џ",WM="џ",ZM="⟿",YM="É",JM="é",QM="⩮",XM="Ě",eO="ě",tO="Ê",nO="ê",sO="≖",oO="≕",rO="Э",iO="э",aO="⩷",lO="Ė",cO="ė",uO="≑",dO="ⅇ",fO="≒",hO="𝔈",pO="𝔢",gO="⪚",mO="È",_O="è",yO="⪖",bO="⪘",vO="⪙",xO="∈",wO="⏧",kO="ℓ",EO="⪕",CO="⪗",AO="Ē",SO="ē",TO="∅",MO="∅",OO="◻",RO="∅",DO="▫",LO=" ",IO=" ",NO=" ",PO="Ŋ",FO="ŋ",jO=" ",BO="Ę",$O="ę",zO="𝔼",qO="𝕖",UO="⋕",HO="⧣",VO="⩱",KO="ε",GO="Ε",WO="ε",ZO="ϵ",YO="≖",JO="≕",QO="≂",XO="⪖",eR="⪕",tR="⩵",nR="=",sR="≂",oR="≟",rR="⇌",iR="≡",aR="⩸",lR="⧥",cR="⥱",uR="≓",dR="ℯ",fR="ℰ",hR="≐",pR="⩳",gR="≂",mR="Η",_R="η",yR="Ð",bR="ð",vR="Ë",xR="ë",wR="€",kR="!",ER="∃",CR="∃",AR="ℰ",SR="ⅇ",TR="ⅇ",MR="≒",OR="Ф",RR="ф",DR="♀",LR="ffi",IR="ff",NR="ffl",PR="𝔉",FR="𝔣",jR="fi",BR="◼",$R="▪",zR="fj",qR="♭",UR="fl",HR="▱",VR="ƒ",KR="𝔽",GR="𝕗",WR="∀",ZR="∀",YR="⋔",JR="⫙",QR="ℱ",XR="⨍",eD="½",tD="⅓",nD="¼",sD="⅕",oD="⅙",rD="⅛",iD="⅔",aD="⅖",lD="¾",cD="⅗",uD="⅜",dD="⅘",fD="⅚",hD="⅝",pD="⅞",gD="⁄",mD="⌢",_D="𝒻",yD="ℱ",bD="ǵ",vD="Γ",xD="γ",wD="Ϝ",kD="ϝ",ED="⪆",CD="Ğ",AD="ğ",SD="Ģ",TD="Ĝ",MD="ĝ",OD="Г",RD="г",DD="Ġ",LD="ġ",ID="≥",ND="≧",PD="⪌",FD="⋛",jD="≥",BD="≧",$D="⩾",zD="⪩",qD="⩾",UD="⪀",HD="⪂",VD="⪄",KD="⋛︀",GD="⪔",WD="𝔊",ZD="𝔤",YD="≫",JD="⋙",QD="⋙",XD="ℷ",eL="Ѓ",tL="ѓ",nL="⪥",sL="≷",oL="⪒",rL="⪤",iL="⪊",aL="⪊",lL="⪈",cL="≩",uL="⪈",dL="≩",fL="⋧",hL="𝔾",pL="𝕘",gL="`",mL="≥",_L="⋛",yL="≧",bL="⪢",vL="≷",xL="⩾",wL="≳",kL="𝒢",EL="ℊ",CL="≳",AL="⪎",SL="⪐",TL="⪧",ML="⩺",OL=">",RL=">",DL="≫",LL="⋗",IL="⦕",NL="⩼",PL="⪆",FL="⥸",jL="⋗",BL="⋛",$L="⪌",zL="≷",qL="≳",UL="≩︀",HL="≩︀",VL="ˇ",KL=" ",GL="½",WL="ℋ",ZL="Ъ",YL="ъ",JL="⥈",QL="↔",XL="⇔",eI="↭",tI="^",nI="ℏ",sI="Ĥ",oI="ĥ",rI="♥",iI="♥",aI="…",lI="⊹",cI="𝔥",uI="ℌ",dI="ℋ",fI="⤥",hI="⤦",pI="⇿",gI="∻",mI="↩",_I="↪",yI="𝕙",bI="ℍ",vI="―",xI="─",wI="𝒽",kI="ℋ",EI="ℏ",CI="Ħ",AI="ħ",SI="≎",TI="≏",MI="⁃",OI="‐",RI="Í",DI="í",LI="⁣",II="Î",NI="î",PI="И",FI="и",jI="İ",BI="Е",$I="е",zI="¡",qI="⇔",UI="𝔦",HI="ℑ",VI="Ì",KI="ì",GI="ⅈ",WI="⨌",ZI="∭",YI="⧜",JI="℩",QI="IJ",XI="ij",eN="Ī",tN="ī",nN="ℑ",sN="ⅈ",oN="ℐ",rN="ℑ",iN="ı",aN="ℑ",lN="⊷",cN="Ƶ",uN="⇒",dN="℅",fN="∞",hN="⧝",pN="ı",gN="⊺",mN="∫",_N="∬",yN="ℤ",bN="∫",vN="⊺",xN="⋂",wN="⨗",kN="⨼",EN="⁣",CN="⁢",AN="Ё",SN="ё",TN="Į",MN="į",ON="𝕀",RN="𝕚",DN="Ι",LN="ι",IN="⨼",NN="¿",PN="𝒾",FN="ℐ",jN="∈",BN="⋵",$N="⋹",zN="⋴",qN="⋳",UN="∈",HN="⁢",VN="Ĩ",KN="ĩ",GN="І",WN="і",ZN="Ï",YN="ï",JN="Ĵ",QN="ĵ",XN="Й",eP="й",tP="𝔍",nP="𝔧",sP="ȷ",oP="𝕁",rP="𝕛",iP="𝒥",aP="𝒿",lP="Ј",cP="ј",uP="Є",dP="є",fP="Κ",hP="κ",pP="ϰ",gP="Ķ",mP="ķ",_P="К",yP="к",bP="𝔎",vP="𝔨",xP="ĸ",wP="Х",kP="х",EP="Ќ",CP="ќ",AP="𝕂",SP="𝕜",TP="𝒦",MP="𝓀",OP="⇚",RP="Ĺ",DP="ĺ",LP="⦴",IP="ℒ",NP="Λ",PP="λ",FP="⟨",jP="⟪",BP="⦑",$P="⟨",zP="⪅",qP="ℒ",UP="«",HP="⇤",VP="⤟",KP="←",GP="↞",WP="⇐",ZP="⤝",YP="↩",JP="↫",QP="⤹",XP="⥳",eF="↢",tF="⤙",nF="⤛",sF="⪫",oF="⪭",rF="⪭︀",iF="⤌",aF="⤎",lF="❲",cF="{",uF="[",dF="⦋",fF="⦏",hF="⦍",pF="Ľ",gF="ľ",mF="Ļ",_F="ļ",yF="⌈",bF="{",vF="Л",xF="л",wF="⤶",kF="“",EF="„",CF="⥧",AF="⥋",SF="↲",TF="≤",MF="≦",OF="⟨",RF="⇤",DF="←",LF="←",IF="⇐",NF="⇆",PF="↢",FF="⌈",jF="⟦",BF="⥡",$F="⥙",zF="⇃",qF="⌊",UF="↽",HF="↼",VF="⇇",KF="↔",GF="↔",WF="⇔",ZF="⇆",YF="⇋",JF="↭",QF="⥎",XF="↤",ej="⊣",tj="⥚",nj="⋋",sj="⧏",oj="⊲",rj="⊴",ij="⥑",aj="⥠",lj="⥘",cj="↿",uj="⥒",dj="↼",fj="⪋",hj="⋚",pj="≤",gj="≦",mj="⩽",_j="⪨",yj="⩽",bj="⩿",vj="⪁",xj="⪃",wj="⋚︀",kj="⪓",Ej="⪅",Cj="⋖",Aj="⋚",Sj="⪋",Tj="⋚",Mj="≦",Oj="≶",Rj="≶",Dj="⪡",Lj="≲",Ij="⩽",Nj="≲",Pj="⥼",Fj="⌊",jj="𝔏",Bj="𝔩",$j="≶",zj="⪑",qj="⥢",Uj="↽",Hj="↼",Vj="⥪",Kj="▄",Gj="Љ",Wj="љ",Zj="⇇",Yj="≪",Jj="⋘",Qj="⌞",Xj="⇚",eB="⥫",tB="◺",nB="Ŀ",sB="ŀ",oB="⎰",rB="⎰",iB="⪉",aB="⪉",lB="⪇",cB="≨",uB="⪇",dB="≨",fB="⋦",hB="⟬",pB="⇽",gB="⟦",mB="⟵",_B="⟵",yB="⟸",bB="⟷",vB="⟷",xB="⟺",wB="⟼",kB="⟶",EB="⟶",CB="⟹",AB="↫",SB="↬",TB="⦅",MB="𝕃",OB="𝕝",RB="⨭",DB="⨴",LB="∗",IB="_",NB="↙",PB="↘",FB="◊",jB="◊",BB="⧫",$B="(",zB="⦓",qB="⇆",UB="⌟",HB="⇋",VB="⥭",KB="‎",GB="⊿",WB="‹",ZB="𝓁",YB="ℒ",JB="↰",QB="↰",XB="≲",e$="⪍",t$="⪏",n$="[",s$="‘",o$="‚",r$="Ł",i$="ł",a$="⪦",l$="⩹",c$="<",u$="<",d$="≪",f$="⋖",h$="⋋",p$="⋉",g$="⥶",m$="⩻",_$="◃",y$="⊴",b$="◂",v$="⦖",x$="⥊",w$="⥦",k$="≨︀",E$="≨︀",C$="¯",A$="♂",S$="✠",T$="✠",M$="↦",O$="↦",R$="↧",D$="↤",L$="↥",I$="▮",N$="⨩",P$="М",F$="м",j$="—",B$="∺",$$="∡",z$=" ",q$="ℳ",U$="𝔐",H$="𝔪",V$="℧",K$="µ",G$="*",W$="⫰",Z$="∣",Y$="·",J$="⊟",Q$="−",X$="∸",ez="⨪",tz="∓",nz="⫛",sz="…",oz="∓",rz="⊧",iz="𝕄",az="𝕞",lz="∓",cz="𝓂",uz="ℳ",dz="∾",fz="Μ",hz="μ",pz="⊸",gz="⊸",mz="∇",_z="Ń",yz="ń",bz="∠⃒",vz="≉",xz="⩰̸",wz="≋̸",kz="ʼn",Ez="≉",Cz="♮",Az="ℕ",Sz="♮",Tz=" ",Mz="≎̸",Oz="≏̸",Rz="⩃",Dz="Ň",Lz="ň",Iz="Ņ",Nz="ņ",Pz="≇",Fz="⩭̸",jz="⩂",Bz="Н",$z="н",zz="–",qz="⤤",Uz="↗",Hz="⇗",Vz="↗",Kz="≠",Gz="≐̸",Wz="​",Zz="​",Yz="​",Jz="​",Qz="≢",Xz="⤨",eq="≂̸",tq="≫",nq="≪",sq=` +`,oq="∄",rq="∄",iq="𝔑",aq="𝔫",lq="≧̸",cq="≱",uq="≱",dq="≧̸",fq="⩾̸",hq="⩾̸",pq="⋙̸",gq="≵",mq="≫⃒",_q="≯",yq="≯",bq="≫̸",vq="↮",xq="⇎",wq="⫲",kq="∋",Eq="⋼",Cq="⋺",Aq="∋",Sq="Њ",Tq="њ",Mq="↚",Oq="⇍",Rq="‥",Dq="≦̸",Lq="≰",Iq="↚",Nq="⇍",Pq="↮",Fq="⇎",jq="≰",Bq="≦̸",$q="⩽̸",zq="⩽̸",qq="≮",Uq="⋘̸",Hq="≴",Vq="≪⃒",Kq="≮",Gq="⋪",Wq="⋬",Zq="≪̸",Yq="∤",Jq="⁠",Qq=" ",Xq="𝕟",eU="ℕ",tU="⫬",nU="¬",sU="≢",oU="≭",rU="∦",iU="∉",aU="≠",lU="≂̸",cU="∄",uU="≯",dU="≱",fU="≧̸",hU="≫̸",pU="≹",gU="⩾̸",mU="≵",_U="≎̸",yU="≏̸",bU="∉",vU="⋵̸",xU="⋹̸",wU="∉",kU="⋷",EU="⋶",CU="⧏̸",AU="⋪",SU="⋬",TU="≮",MU="≰",OU="≸",RU="≪̸",DU="⩽̸",LU="≴",IU="⪢̸",NU="⪡̸",PU="∌",FU="∌",jU="⋾",BU="⋽",$U="⊀",zU="⪯̸",qU="⋠",UU="∌",HU="⧐̸",VU="⋫",KU="⋭",GU="⊏̸",WU="⋢",ZU="⊐̸",YU="⋣",JU="⊂⃒",QU="⊈",XU="⊁",eH="⪰̸",tH="⋡",nH="≿̸",sH="⊃⃒",oH="⊉",rH="≁",iH="≄",aH="≇",lH="≉",cH="∤",uH="∦",dH="∦",fH="⫽⃥",hH="∂̸",pH="⨔",gH="⊀",mH="⋠",_H="⊀",yH="⪯̸",bH="⪯̸",vH="⤳̸",xH="↛",wH="⇏",kH="↝̸",EH="↛",CH="⇏",AH="⋫",SH="⋭",TH="⊁",MH="⋡",OH="⪰̸",RH="𝒩",DH="𝓃",LH="∤",IH="∦",NH="≁",PH="≄",FH="≄",jH="∤",BH="∦",$H="⋢",zH="⋣",qH="⊄",UH="⫅̸",HH="⊈",VH="⊂⃒",KH="⊈",GH="⫅̸",WH="⊁",ZH="⪰̸",YH="⊅",JH="⫆̸",QH="⊉",XH="⊃⃒",eV="⊉",tV="⫆̸",nV="≹",sV="Ñ",oV="ñ",rV="≸",iV="⋪",aV="⋬",lV="⋫",cV="⋭",uV="Ν",dV="ν",fV="#",hV="№",pV=" ",gV="≍⃒",mV="⊬",_V="⊭",yV="⊮",bV="⊯",vV="≥⃒",xV=">⃒",wV="⤄",kV="⧞",EV="⤂",CV="≤⃒",AV="<⃒",SV="⊴⃒",TV="⤃",MV="⊵⃒",OV="∼⃒",RV="⤣",DV="↖",LV="⇖",IV="↖",NV="⤧",PV="Ó",FV="ó",jV="⊛",BV="Ô",$V="ô",zV="⊚",qV="О",UV="о",HV="⊝",VV="Ő",KV="ő",GV="⨸",WV="⊙",ZV="⦼",YV="Œ",JV="œ",QV="⦿",XV="𝔒",eK="𝔬",tK="˛",nK="Ò",sK="ò",oK="⧁",rK="⦵",iK="Ω",aK="∮",lK="↺",cK="⦾",uK="⦻",dK="‾",fK="⧀",hK="Ō",pK="ō",gK="Ω",mK="ω",_K="Ο",yK="ο",bK="⦶",vK="⊖",xK="𝕆",wK="𝕠",kK="⦷",EK="“",CK="‘",AK="⦹",SK="⊕",TK="↻",MK="⩔",OK="∨",RK="⩝",DK="ℴ",LK="ℴ",IK="ª",NK="º",PK="⊶",FK="⩖",jK="⩗",BK="⩛",$K="Ⓢ",zK="𝒪",qK="ℴ",UK="Ø",HK="ø",VK="⊘",KK="Õ",GK="õ",WK="⨶",ZK="⨷",YK="⊗",JK="Ö",QK="ö",XK="⌽",eG="‾",tG="⏞",nG="⎴",sG="⏜",oG="¶",rG="∥",iG="∥",aG="⫳",lG="⫽",cG="∂",uG="∂",dG="П",fG="п",hG="%",pG=".",gG="‰",mG="⊥",_G="‱",yG="𝔓",bG="𝔭",vG="Φ",xG="φ",wG="ϕ",kG="ℳ",EG="☎",CG="Π",AG="π",SG="⋔",TG="ϖ",MG="ℏ",OG="ℎ",RG="ℏ",DG="⨣",LG="⊞",IG="⨢",NG="+",PG="∔",FG="⨥",jG="⩲",BG="±",$G="±",zG="⨦",qG="⨧",UG="±",HG="ℌ",VG="⨕",KG="𝕡",GG="ℙ",WG="£",ZG="⪷",YG="⪻",JG="≺",QG="≼",XG="⪷",eW="≺",tW="≼",nW="≺",sW="⪯",oW="≼",rW="≾",iW="⪯",aW="⪹",lW="⪵",cW="⋨",uW="⪯",dW="⪳",fW="≾",hW="′",pW="″",gW="ℙ",mW="⪹",_W="⪵",yW="⋨",bW="∏",vW="∏",xW="⌮",wW="⌒",kW="⌓",EW="∝",CW="∝",AW="∷",SW="∝",TW="≾",MW="⊰",OW="𝒫",RW="𝓅",DW="Ψ",LW="ψ",IW=" ",NW="𝔔",PW="𝔮",FW="⨌",jW="𝕢",BW="ℚ",$W="⁗",zW="𝒬",qW="𝓆",UW="ℍ",HW="⨖",VW="?",KW="≟",GW='"',WW='"',ZW="⇛",YW="∽̱",JW="Ŕ",QW="ŕ",XW="√",eZ="⦳",tZ="⟩",nZ="⟫",sZ="⦒",oZ="⦥",rZ="⟩",iZ="»",aZ="⥵",lZ="⇥",cZ="⤠",uZ="⤳",dZ="→",fZ="↠",hZ="⇒",pZ="⤞",gZ="↪",mZ="↬",_Z="⥅",yZ="⥴",bZ="⤖",vZ="↣",xZ="↝",wZ="⤚",kZ="⤜",EZ="∶",CZ="ℚ",AZ="⤍",SZ="⤏",TZ="⤐",MZ="❳",OZ="}",RZ="]",DZ="⦌",LZ="⦎",IZ="⦐",NZ="Ř",PZ="ř",FZ="Ŗ",jZ="ŗ",BZ="⌉",$Z="}",zZ="Р",qZ="р",UZ="⤷",HZ="⥩",VZ="”",KZ="”",GZ="↳",WZ="ℜ",ZZ="ℛ",YZ="ℜ",JZ="ℝ",QZ="ℜ",XZ="▭",eY="®",tY="®",nY="∋",sY="⇋",oY="⥯",rY="⥽",iY="⌋",aY="𝔯",lY="ℜ",cY="⥤",uY="⇁",dY="⇀",fY="⥬",hY="Ρ",pY="ρ",gY="ϱ",mY="⟩",_Y="⇥",yY="→",bY="→",vY="⇒",xY="⇄",wY="↣",kY="⌉",EY="⟧",CY="⥝",AY="⥕",SY="⇂",TY="⌋",MY="⇁",OY="⇀",RY="⇄",DY="⇌",LY="⇉",IY="↝",NY="↦",PY="⊢",FY="⥛",jY="⋌",BY="⧐",$Y="⊳",zY="⊵",qY="⥏",UY="⥜",HY="⥔",VY="↾",KY="⥓",GY="⇀",WY="˚",ZY="≓",YY="⇄",JY="⇌",QY="‏",XY="⎱",eJ="⎱",tJ="⫮",nJ="⟭",sJ="⇾",oJ="⟧",rJ="⦆",iJ="𝕣",aJ="ℝ",lJ="⨮",cJ="⨵",uJ="⥰",dJ=")",fJ="⦔",hJ="⨒",pJ="⇉",gJ="⇛",mJ="›",_J="𝓇",yJ="ℛ",bJ="↱",vJ="↱",xJ="]",wJ="’",kJ="’",EJ="⋌",CJ="⋊",AJ="▹",SJ="⊵",TJ="▸",MJ="⧎",OJ="⧴",RJ="⥨",DJ="℞",LJ="Ś",IJ="ś",NJ="‚",PJ="⪸",FJ="Š",jJ="š",BJ="⪼",$J="≻",zJ="≽",qJ="⪰",UJ="⪴",HJ="Ş",VJ="ş",KJ="Ŝ",GJ="ŝ",WJ="⪺",ZJ="⪶",YJ="⋩",JJ="⨓",QJ="≿",XJ="С",eQ="с",tQ="⊡",nQ="⋅",sQ="⩦",oQ="⤥",rQ="↘",iQ="⇘",aQ="↘",lQ="§",cQ=";",uQ="⤩",dQ="∖",fQ="∖",hQ="✶",pQ="𝔖",gQ="𝔰",mQ="⌢",_Q="♯",yQ="Щ",bQ="щ",vQ="Ш",xQ="ш",wQ="↓",kQ="←",EQ="∣",CQ="∥",AQ="→",SQ="↑",TQ="­",MQ="Σ",OQ="σ",RQ="ς",DQ="ς",LQ="∼",IQ="⩪",NQ="≃",PQ="≃",FQ="⪞",jQ="⪠",BQ="⪝",$Q="⪟",zQ="≆",qQ="⨤",UQ="⥲",HQ="←",VQ="∘",KQ="∖",GQ="⨳",WQ="⧤",ZQ="∣",YQ="⌣",JQ="⪪",QQ="⪬",XQ="⪬︀",eX="Ь",tX="ь",nX="⌿",sX="⧄",oX="/",rX="𝕊",iX="𝕤",aX="♠",lX="♠",cX="∥",uX="⊓",dX="⊓︀",fX="⊔",hX="⊔︀",pX="√",gX="⊏",mX="⊑",_X="⊏",yX="⊑",bX="⊐",vX="⊒",xX="⊐",wX="⊒",kX="□",EX="□",CX="⊓",AX="⊏",SX="⊑",TX="⊐",MX="⊒",OX="⊔",RX="▪",DX="□",LX="▪",IX="→",NX="𝒮",PX="𝓈",FX="∖",jX="⌣",BX="⋆",$X="⋆",zX="☆",qX="★",UX="ϵ",HX="ϕ",VX="¯",KX="⊂",GX="⋐",WX="⪽",ZX="⫅",YX="⊆",JX="⫃",QX="⫁",XX="⫋",eee="⊊",tee="⪿",nee="⥹",see="⊂",oee="⋐",ree="⊆",iee="⫅",aee="⊆",lee="⊊",cee="⫋",uee="⫇",dee="⫕",fee="⫓",hee="⪸",pee="≻",gee="≽",mee="≻",_ee="⪰",yee="≽",bee="≿",vee="⪰",xee="⪺",wee="⪶",kee="⋩",Eee="≿",Cee="∋",Aee="∑",See="∑",Tee="♪",Mee="¹",Oee="²",Ree="³",Dee="⊃",Lee="⋑",Iee="⪾",Nee="⫘",Pee="⫆",Fee="⊇",jee="⫄",Bee="⊃",$ee="⊇",zee="⟉",qee="⫗",Uee="⥻",Hee="⫂",Vee="⫌",Kee="⊋",Gee="⫀",Wee="⊃",Zee="⋑",Yee="⊇",Jee="⫆",Qee="⊋",Xee="⫌",ete="⫈",tte="⫔",nte="⫖",ste="⤦",ote="↙",rte="⇙",ite="↙",ate="⤪",lte="ß",cte=" ",ute="⌖",dte="Τ",fte="τ",hte="⎴",pte="Ť",gte="ť",mte="Ţ",_te="ţ",yte="Т",bte="т",vte="⃛",xte="⌕",wte="𝔗",kte="𝔱",Ete="∴",Cte="∴",Ate="∴",Ste="Θ",Tte="θ",Mte="ϑ",Ote="ϑ",Rte="≈",Dte="∼",Lte="  ",Ite=" ",Nte=" ",Pte="≈",Fte="∼",jte="Þ",Bte="þ",$te="˜",zte="∼",qte="≃",Ute="≅",Hte="≈",Vte="⨱",Kte="⊠",Gte="×",Wte="⨰",Zte="∭",Yte="⤨",Jte="⌶",Qte="⫱",Xte="⊤",ene="𝕋",tne="𝕥",nne="⫚",sne="⤩",one="‴",rne="™",ine="™",ane="▵",lne="▿",cne="◃",une="⊴",dne="≜",fne="▹",hne="⊵",pne="◬",gne="≜",mne="⨺",_ne="⃛",yne="⨹",bne="⧍",vne="⨻",xne="⏢",wne="𝒯",kne="𝓉",Ene="Ц",Cne="ц",Ane="Ћ",Sne="ћ",Tne="Ŧ",Mne="ŧ",One="≬",Rne="↞",Dne="↠",Lne="Ú",Ine="ú",Nne="↑",Pne="↟",Fne="⇑",jne="⥉",Bne="Ў",$ne="ў",zne="Ŭ",qne="ŭ",Une="Û",Hne="û",Vne="У",Kne="у",Gne="⇅",Wne="Ű",Zne="ű",Yne="⥮",Jne="⥾",Qne="𝔘",Xne="𝔲",ese="Ù",tse="ù",nse="⥣",sse="↿",ose="↾",rse="▀",ise="⌜",ase="⌜",lse="⌏",cse="◸",use="Ū",dse="ū",fse="¨",hse="_",pse="⏟",gse="⎵",mse="⏝",_se="⋃",yse="⊎",bse="Ų",vse="ų",xse="𝕌",wse="𝕦",kse="⤒",Ese="↑",Cse="↑",Ase="⇑",Sse="⇅",Tse="↕",Mse="↕",Ose="⇕",Rse="⥮",Dse="↿",Lse="↾",Ise="⊎",Nse="↖",Pse="↗",Fse="υ",jse="ϒ",Bse="ϒ",$se="Υ",zse="υ",qse="↥",Use="⊥",Hse="⇈",Vse="⌝",Kse="⌝",Gse="⌎",Wse="Ů",Zse="ů",Yse="◹",Jse="𝒰",Qse="𝓊",Xse="⋰",eoe="Ũ",toe="ũ",noe="▵",soe="▴",ooe="⇈",roe="Ü",ioe="ü",aoe="⦧",loe="⦜",coe="ϵ",uoe="ϰ",doe="∅",foe="ϕ",hoe="ϖ",poe="∝",goe="↕",moe="⇕",_oe="ϱ",yoe="ς",boe="⊊︀",voe="⫋︀",xoe="⊋︀",woe="⫌︀",koe="ϑ",Eoe="⊲",Coe="⊳",Aoe="⫨",Soe="⫫",Toe="⫩",Moe="В",Ooe="в",Roe="⊢",Doe="⊨",Loe="⊩",Ioe="⊫",Noe="⫦",Poe="⊻",Foe="∨",joe="⋁",Boe="≚",$oe="⋮",zoe="|",qoe="‖",Uoe="|",Hoe="‖",Voe="∣",Koe="|",Goe="❘",Woe="≀",Zoe=" ",Yoe="𝔙",Joe="𝔳",Qoe="⊲",Xoe="⊂⃒",ere="⊃⃒",tre="𝕍",nre="𝕧",sre="∝",ore="⊳",rre="𝒱",ire="𝓋",are="⫋︀",lre="⊊︀",cre="⫌︀",ure="⊋︀",dre="⊪",fre="⦚",hre="Ŵ",pre="ŵ",gre="⩟",mre="∧",_re="⋀",yre="≙",bre="℘",vre="𝔚",xre="𝔴",wre="𝕎",kre="𝕨",Ere="℘",Cre="≀",Are="≀",Sre="𝒲",Tre="𝓌",Mre="⋂",Ore="◯",Rre="⋃",Dre="▽",Lre="𝔛",Ire="𝔵",Nre="⟷",Pre="⟺",Fre="Ξ",jre="ξ",Bre="⟵",$re="⟸",zre="⟼",qre="⋻",Ure="⨀",Hre="𝕏",Vre="𝕩",Kre="⨁",Gre="⨂",Wre="⟶",Zre="⟹",Yre="𝒳",Jre="𝓍",Qre="⨆",Xre="⨄",eie="△",tie="⋁",nie="⋀",sie="Ý",oie="ý",rie="Я",iie="я",aie="Ŷ",lie="ŷ",cie="Ы",uie="ы",die="¥",fie="𝔜",hie="𝔶",pie="Ї",gie="ї",mie="𝕐",_ie="𝕪",yie="𝒴",bie="𝓎",vie="Ю",xie="ю",wie="ÿ",kie="Ÿ",Eie="Ź",Cie="ź",Aie="Ž",Sie="ž",Tie="З",Mie="з",Oie="Ż",Rie="ż",Die="ℨ",Lie="​",Iie="Ζ",Nie="ζ",Pie="𝔷",Fie="ℨ",jie="Ж",Bie="ж",$ie="⇝",zie="𝕫",qie="ℤ",Uie="𝒵",Hie="𝓏",Vie="‍",Kie="‌",Gie={Aacute:OC,aacute:RC,Abreve:DC,abreve:LC,ac:IC,acd:NC,acE:PC,Acirc:FC,acirc:jC,acute:BC,Acy:$C,acy:zC,AElig:qC,aelig:UC,af:HC,Afr:VC,afr:KC,Agrave:GC,agrave:WC,alefsym:ZC,aleph:YC,Alpha:JC,alpha:QC,Amacr:XC,amacr:e8,amalg:t8,amp:n8,AMP:s8,andand:o8,And:r8,and:i8,andd:a8,andslope:l8,andv:c8,ang:u8,ange:d8,angle:f8,angmsdaa:h8,angmsdab:p8,angmsdac:g8,angmsdad:m8,angmsdae:_8,angmsdaf:y8,angmsdag:b8,angmsdah:v8,angmsd:x8,angrt:w8,angrtvb:k8,angrtvbd:E8,angsph:C8,angst:A8,angzarr:S8,Aogon:T8,aogon:M8,Aopf:O8,aopf:R8,apacir:D8,ap:L8,apE:I8,ape:N8,apid:P8,apos:F8,ApplyFunction:j8,approx:B8,approxeq:$8,Aring:z8,aring:q8,Ascr:U8,ascr:H8,Assign:V8,ast:K8,asymp:G8,asympeq:W8,Atilde:Z8,atilde:Y8,Auml:J8,auml:Q8,awconint:X8,awint:eA,backcong:tA,backepsilon:nA,backprime:sA,backsim:oA,backsimeq:rA,Backslash:iA,Barv:aA,barvee:lA,barwed:cA,Barwed:uA,barwedge:dA,bbrk:fA,bbrktbrk:hA,bcong:pA,Bcy:gA,bcy:mA,bdquo:_A,becaus:yA,because:bA,Because:vA,bemptyv:xA,bepsi:wA,bernou:kA,Bernoullis:EA,Beta:CA,beta:AA,beth:SA,between:TA,Bfr:MA,bfr:OA,bigcap:RA,bigcirc:DA,bigcup:LA,bigodot:IA,bigoplus:NA,bigotimes:PA,bigsqcup:FA,bigstar:jA,bigtriangledown:BA,bigtriangleup:$A,biguplus:zA,bigvee:qA,bigwedge:UA,bkarow:HA,blacklozenge:VA,blacksquare:KA,blacktriangle:GA,blacktriangledown:WA,blacktriangleleft:ZA,blacktriangleright:YA,blank:JA,blk12:QA,blk14:XA,blk34:e9,block:t9,bne:n9,bnequiv:s9,bNot:o9,bnot:r9,Bopf:i9,bopf:a9,bot:l9,bottom:c9,bowtie:u9,boxbox:d9,boxdl:f9,boxdL:h9,boxDl:p9,boxDL:g9,boxdr:m9,boxdR:_9,boxDr:y9,boxDR:b9,boxh:v9,boxH:x9,boxhd:w9,boxHd:k9,boxhD:E9,boxHD:C9,boxhu:A9,boxHu:S9,boxhU:T9,boxHU:M9,boxminus:O9,boxplus:R9,boxtimes:D9,boxul:L9,boxuL:I9,boxUl:N9,boxUL:P9,boxur:F9,boxuR:j9,boxUr:B9,boxUR:$9,boxv:z9,boxV:q9,boxvh:U9,boxvH:H9,boxVh:V9,boxVH:K9,boxvl:G9,boxvL:W9,boxVl:Z9,boxVL:Y9,boxvr:J9,boxvR:Q9,boxVr:X9,boxVR:e6,bprime:t6,breve:n6,Breve:s6,brvbar:o6,bscr:r6,Bscr:i6,bsemi:a6,bsim:l6,bsime:c6,bsolb:u6,bsol:d6,bsolhsub:f6,bull:h6,bullet:p6,bump:g6,bumpE:m6,bumpe:_6,Bumpeq:y6,bumpeq:b6,Cacute:v6,cacute:x6,capand:w6,capbrcup:k6,capcap:E6,cap:C6,Cap:A6,capcup:S6,capdot:T6,CapitalDifferentialD:M6,caps:O6,caret:R6,caron:D6,Cayleys:L6,ccaps:I6,Ccaron:N6,ccaron:P6,Ccedil:F6,ccedil:j6,Ccirc:B6,ccirc:$6,Cconint:z6,ccups:q6,ccupssm:U6,Cdot:H6,cdot:V6,cedil:K6,Cedilla:G6,cemptyv:W6,cent:Z6,centerdot:Y6,CenterDot:J6,cfr:Q6,Cfr:X6,CHcy:eS,chcy:tS,check:nS,checkmark:sS,Chi:oS,chi:rS,circ:iS,circeq:aS,circlearrowleft:lS,circlearrowright:cS,circledast:uS,circledcirc:dS,circleddash:fS,CircleDot:hS,circledR:pS,circledS:gS,CircleMinus:mS,CirclePlus:_S,CircleTimes:yS,cir:bS,cirE:vS,cire:xS,cirfnint:wS,cirmid:kS,cirscir:ES,ClockwiseContourIntegral:CS,CloseCurlyDoubleQuote:AS,CloseCurlyQuote:SS,clubs:TS,clubsuit:MS,colon:OS,Colon:RS,Colone:DS,colone:LS,coloneq:IS,comma:NS,commat:PS,comp:FS,compfn:jS,complement:BS,complexes:$S,cong:zS,congdot:qS,Congruent:US,conint:HS,Conint:VS,ContourIntegral:KS,copf:GS,Copf:WS,coprod:ZS,Coproduct:YS,copy:JS,COPY:QS,copysr:XS,CounterClockwiseContourIntegral:e7,crarr:t7,cross:n7,Cross:s7,Cscr:o7,cscr:r7,csub:i7,csube:a7,csup:l7,csupe:c7,ctdot:u7,cudarrl:d7,cudarrr:f7,cuepr:h7,cuesc:p7,cularr:g7,cularrp:m7,cupbrcap:_7,cupcap:y7,CupCap:b7,cup:v7,Cup:x7,cupcup:w7,cupdot:k7,cupor:E7,cups:C7,curarr:A7,curarrm:S7,curlyeqprec:T7,curlyeqsucc:M7,curlyvee:O7,curlywedge:R7,curren:D7,curvearrowleft:L7,curvearrowright:I7,cuvee:N7,cuwed:P7,cwconint:F7,cwint:j7,cylcty:B7,dagger:$7,Dagger:z7,daleth:q7,darr:U7,Darr:H7,dArr:V7,dash:K7,Dashv:G7,dashv:W7,dbkarow:Z7,dblac:Y7,Dcaron:J7,dcaron:Q7,Dcy:X7,dcy:eT,ddagger:tT,ddarr:nT,DD:sT,dd:oT,DDotrahd:rT,ddotseq:iT,deg:aT,Del:lT,Delta:cT,delta:uT,demptyv:dT,dfisht:fT,Dfr:hT,dfr:pT,dHar:gT,dharl:mT,dharr:_T,DiacriticalAcute:yT,DiacriticalDot:bT,DiacriticalDoubleAcute:vT,DiacriticalGrave:xT,DiacriticalTilde:wT,diam:kT,diamond:ET,Diamond:CT,diamondsuit:AT,diams:ST,die:TT,DifferentialD:MT,digamma:OT,disin:RT,div:DT,divide:LT,divideontimes:IT,divonx:NT,DJcy:PT,djcy:FT,dlcorn:jT,dlcrop:BT,dollar:$T,Dopf:zT,dopf:qT,Dot:UT,dot:HT,DotDot:VT,doteq:KT,doteqdot:GT,DotEqual:WT,dotminus:ZT,dotplus:YT,dotsquare:JT,doublebarwedge:QT,DoubleContourIntegral:XT,DoubleDot:eM,DoubleDownArrow:tM,DoubleLeftArrow:nM,DoubleLeftRightArrow:sM,DoubleLeftTee:oM,DoubleLongLeftArrow:rM,DoubleLongLeftRightArrow:iM,DoubleLongRightArrow:aM,DoubleRightArrow:lM,DoubleRightTee:cM,DoubleUpArrow:uM,DoubleUpDownArrow:dM,DoubleVerticalBar:fM,DownArrowBar:hM,downarrow:pM,DownArrow:gM,Downarrow:mM,DownArrowUpArrow:_M,DownBreve:yM,downdownarrows:bM,downharpoonleft:vM,downharpoonright:xM,DownLeftRightVector:wM,DownLeftTeeVector:kM,DownLeftVectorBar:EM,DownLeftVector:CM,DownRightTeeVector:AM,DownRightVectorBar:SM,DownRightVector:TM,DownTeeArrow:MM,DownTee:OM,drbkarow:RM,drcorn:DM,drcrop:LM,Dscr:IM,dscr:NM,DScy:PM,dscy:FM,dsol:jM,Dstrok:BM,dstrok:$M,dtdot:zM,dtri:qM,dtrif:UM,duarr:HM,duhar:VM,dwangle:KM,DZcy:GM,dzcy:WM,dzigrarr:ZM,Eacute:YM,eacute:JM,easter:QM,Ecaron:XM,ecaron:eO,Ecirc:tO,ecirc:nO,ecir:sO,ecolon:oO,Ecy:rO,ecy:iO,eDDot:aO,Edot:lO,edot:cO,eDot:uO,ee:dO,efDot:fO,Efr:hO,efr:pO,eg:gO,Egrave:mO,egrave:_O,egs:yO,egsdot:bO,el:vO,Element:xO,elinters:wO,ell:kO,els:EO,elsdot:CO,Emacr:AO,emacr:SO,empty:TO,emptyset:MO,EmptySmallSquare:OO,emptyv:RO,EmptyVerySmallSquare:DO,emsp13:LO,emsp14:IO,emsp:NO,ENG:PO,eng:FO,ensp:jO,Eogon:BO,eogon:$O,Eopf:zO,eopf:qO,epar:UO,eparsl:HO,eplus:VO,epsi:KO,Epsilon:GO,epsilon:WO,epsiv:ZO,eqcirc:YO,eqcolon:JO,eqsim:QO,eqslantgtr:XO,eqslantless:eR,Equal:tR,equals:nR,EqualTilde:sR,equest:oR,Equilibrium:rR,equiv:iR,equivDD:aR,eqvparsl:lR,erarr:cR,erDot:uR,escr:dR,Escr:fR,esdot:hR,Esim:pR,esim:gR,Eta:mR,eta:_R,ETH:yR,eth:bR,Euml:vR,euml:xR,euro:wR,excl:kR,exist:ER,Exists:CR,expectation:AR,exponentiale:SR,ExponentialE:TR,fallingdotseq:MR,Fcy:OR,fcy:RR,female:DR,ffilig:LR,fflig:IR,ffllig:NR,Ffr:PR,ffr:FR,filig:jR,FilledSmallSquare:BR,FilledVerySmallSquare:$R,fjlig:zR,flat:qR,fllig:UR,fltns:HR,fnof:VR,Fopf:KR,fopf:GR,forall:WR,ForAll:ZR,fork:YR,forkv:JR,Fouriertrf:QR,fpartint:XR,frac12:eD,frac13:tD,frac14:nD,frac15:sD,frac16:oD,frac18:rD,frac23:iD,frac25:aD,frac34:lD,frac35:cD,frac38:uD,frac45:dD,frac56:fD,frac58:hD,frac78:pD,frasl:gD,frown:mD,fscr:_D,Fscr:yD,gacute:bD,Gamma:vD,gamma:xD,Gammad:wD,gammad:kD,gap:ED,Gbreve:CD,gbreve:AD,Gcedil:SD,Gcirc:TD,gcirc:MD,Gcy:OD,gcy:RD,Gdot:DD,gdot:LD,ge:ID,gE:ND,gEl:PD,gel:FD,geq:jD,geqq:BD,geqslant:$D,gescc:zD,ges:qD,gesdot:UD,gesdoto:HD,gesdotol:VD,gesl:KD,gesles:GD,Gfr:WD,gfr:ZD,gg:YD,Gg:JD,ggg:QD,gimel:XD,GJcy:eL,gjcy:tL,gla:nL,gl:sL,glE:oL,glj:rL,gnap:iL,gnapprox:aL,gne:lL,gnE:cL,gneq:uL,gneqq:dL,gnsim:fL,Gopf:hL,gopf:pL,grave:gL,GreaterEqual:mL,GreaterEqualLess:_L,GreaterFullEqual:yL,GreaterGreater:bL,GreaterLess:vL,GreaterSlantEqual:xL,GreaterTilde:wL,Gscr:kL,gscr:EL,gsim:CL,gsime:AL,gsiml:SL,gtcc:TL,gtcir:ML,gt:OL,GT:RL,Gt:DL,gtdot:LL,gtlPar:IL,gtquest:NL,gtrapprox:PL,gtrarr:FL,gtrdot:jL,gtreqless:BL,gtreqqless:$L,gtrless:zL,gtrsim:qL,gvertneqq:UL,gvnE:HL,Hacek:VL,hairsp:KL,half:GL,hamilt:WL,HARDcy:ZL,hardcy:YL,harrcir:JL,harr:QL,hArr:XL,harrw:eI,Hat:tI,hbar:nI,Hcirc:sI,hcirc:oI,hearts:rI,heartsuit:iI,hellip:aI,hercon:lI,hfr:cI,Hfr:uI,HilbertSpace:dI,hksearow:fI,hkswarow:hI,hoarr:pI,homtht:gI,hookleftarrow:mI,hookrightarrow:_I,hopf:yI,Hopf:bI,horbar:vI,HorizontalLine:xI,hscr:wI,Hscr:kI,hslash:EI,Hstrok:CI,hstrok:AI,HumpDownHump:SI,HumpEqual:TI,hybull:MI,hyphen:OI,Iacute:RI,iacute:DI,ic:LI,Icirc:II,icirc:NI,Icy:PI,icy:FI,Idot:jI,IEcy:BI,iecy:$I,iexcl:zI,iff:qI,ifr:UI,Ifr:HI,Igrave:VI,igrave:KI,ii:GI,iiiint:WI,iiint:ZI,iinfin:YI,iiota:JI,IJlig:QI,ijlig:XI,Imacr:eN,imacr:tN,image:nN,ImaginaryI:sN,imagline:oN,imagpart:rN,imath:iN,Im:aN,imof:lN,imped:cN,Implies:uN,incare:dN,in:"∈",infin:fN,infintie:hN,inodot:pN,intcal:gN,int:mN,Int:_N,integers:yN,Integral:bN,intercal:vN,Intersection:xN,intlarhk:wN,intprod:kN,InvisibleComma:EN,InvisibleTimes:CN,IOcy:AN,iocy:SN,Iogon:TN,iogon:MN,Iopf:ON,iopf:RN,Iota:DN,iota:LN,iprod:IN,iquest:NN,iscr:PN,Iscr:FN,isin:jN,isindot:BN,isinE:$N,isins:zN,isinsv:qN,isinv:UN,it:HN,Itilde:VN,itilde:KN,Iukcy:GN,iukcy:WN,Iuml:ZN,iuml:YN,Jcirc:JN,jcirc:QN,Jcy:XN,jcy:eP,Jfr:tP,jfr:nP,jmath:sP,Jopf:oP,jopf:rP,Jscr:iP,jscr:aP,Jsercy:lP,jsercy:cP,Jukcy:uP,jukcy:dP,Kappa:fP,kappa:hP,kappav:pP,Kcedil:gP,kcedil:mP,Kcy:_P,kcy:yP,Kfr:bP,kfr:vP,kgreen:xP,KHcy:wP,khcy:kP,KJcy:EP,kjcy:CP,Kopf:AP,kopf:SP,Kscr:TP,kscr:MP,lAarr:OP,Lacute:RP,lacute:DP,laemptyv:LP,lagran:IP,Lambda:NP,lambda:PP,lang:FP,Lang:jP,langd:BP,langle:$P,lap:zP,Laplacetrf:qP,laquo:UP,larrb:HP,larrbfs:VP,larr:KP,Larr:GP,lArr:WP,larrfs:ZP,larrhk:YP,larrlp:JP,larrpl:QP,larrsim:XP,larrtl:eF,latail:tF,lAtail:nF,lat:sF,late:oF,lates:rF,lbarr:iF,lBarr:aF,lbbrk:lF,lbrace:cF,lbrack:uF,lbrke:dF,lbrksld:fF,lbrkslu:hF,Lcaron:pF,lcaron:gF,Lcedil:mF,lcedil:_F,lceil:yF,lcub:bF,Lcy:vF,lcy:xF,ldca:wF,ldquo:kF,ldquor:EF,ldrdhar:CF,ldrushar:AF,ldsh:SF,le:TF,lE:MF,LeftAngleBracket:OF,LeftArrowBar:RF,leftarrow:DF,LeftArrow:LF,Leftarrow:IF,LeftArrowRightArrow:NF,leftarrowtail:PF,LeftCeiling:FF,LeftDoubleBracket:jF,LeftDownTeeVector:BF,LeftDownVectorBar:$F,LeftDownVector:zF,LeftFloor:qF,leftharpoondown:UF,leftharpoonup:HF,leftleftarrows:VF,leftrightarrow:KF,LeftRightArrow:GF,Leftrightarrow:WF,leftrightarrows:ZF,leftrightharpoons:YF,leftrightsquigarrow:JF,LeftRightVector:QF,LeftTeeArrow:XF,LeftTee:ej,LeftTeeVector:tj,leftthreetimes:nj,LeftTriangleBar:sj,LeftTriangle:oj,LeftTriangleEqual:rj,LeftUpDownVector:ij,LeftUpTeeVector:aj,LeftUpVectorBar:lj,LeftUpVector:cj,LeftVectorBar:uj,LeftVector:dj,lEg:fj,leg:hj,leq:pj,leqq:gj,leqslant:mj,lescc:_j,les:yj,lesdot:bj,lesdoto:vj,lesdotor:xj,lesg:wj,lesges:kj,lessapprox:Ej,lessdot:Cj,lesseqgtr:Aj,lesseqqgtr:Sj,LessEqualGreater:Tj,LessFullEqual:Mj,LessGreater:Oj,lessgtr:Rj,LessLess:Dj,lesssim:Lj,LessSlantEqual:Ij,LessTilde:Nj,lfisht:Pj,lfloor:Fj,Lfr:jj,lfr:Bj,lg:$j,lgE:zj,lHar:qj,lhard:Uj,lharu:Hj,lharul:Vj,lhblk:Kj,LJcy:Gj,ljcy:Wj,llarr:Zj,ll:Yj,Ll:Jj,llcorner:Qj,Lleftarrow:Xj,llhard:eB,lltri:tB,Lmidot:nB,lmidot:sB,lmoustache:oB,lmoust:rB,lnap:iB,lnapprox:aB,lne:lB,lnE:cB,lneq:uB,lneqq:dB,lnsim:fB,loang:hB,loarr:pB,lobrk:gB,longleftarrow:mB,LongLeftArrow:_B,Longleftarrow:yB,longleftrightarrow:bB,LongLeftRightArrow:vB,Longleftrightarrow:xB,longmapsto:wB,longrightarrow:kB,LongRightArrow:EB,Longrightarrow:CB,looparrowleft:AB,looparrowright:SB,lopar:TB,Lopf:MB,lopf:OB,loplus:RB,lotimes:DB,lowast:LB,lowbar:IB,LowerLeftArrow:NB,LowerRightArrow:PB,loz:FB,lozenge:jB,lozf:BB,lpar:$B,lparlt:zB,lrarr:qB,lrcorner:UB,lrhar:HB,lrhard:VB,lrm:KB,lrtri:GB,lsaquo:WB,lscr:ZB,Lscr:YB,lsh:JB,Lsh:QB,lsim:XB,lsime:e$,lsimg:t$,lsqb:n$,lsquo:s$,lsquor:o$,Lstrok:r$,lstrok:i$,ltcc:a$,ltcir:l$,lt:c$,LT:u$,Lt:d$,ltdot:f$,lthree:h$,ltimes:p$,ltlarr:g$,ltquest:m$,ltri:_$,ltrie:y$,ltrif:b$,ltrPar:v$,lurdshar:x$,luruhar:w$,lvertneqq:k$,lvnE:E$,macr:C$,male:A$,malt:S$,maltese:T$,Map:"⤅",map:M$,mapsto:O$,mapstodown:R$,mapstoleft:D$,mapstoup:L$,marker:I$,mcomma:N$,Mcy:P$,mcy:F$,mdash:j$,mDDot:B$,measuredangle:$$,MediumSpace:z$,Mellintrf:q$,Mfr:U$,mfr:H$,mho:V$,micro:K$,midast:G$,midcir:W$,mid:Z$,middot:Y$,minusb:J$,minus:Q$,minusd:X$,minusdu:ez,MinusPlus:tz,mlcp:nz,mldr:sz,mnplus:oz,models:rz,Mopf:iz,mopf:az,mp:lz,mscr:cz,Mscr:uz,mstpos:dz,Mu:fz,mu:hz,multimap:pz,mumap:gz,nabla:mz,Nacute:_z,nacute:yz,nang:bz,nap:vz,napE:xz,napid:wz,napos:kz,napprox:Ez,natural:Cz,naturals:Az,natur:Sz,nbsp:Tz,nbump:Mz,nbumpe:Oz,ncap:Rz,Ncaron:Dz,ncaron:Lz,Ncedil:Iz,ncedil:Nz,ncong:Pz,ncongdot:Fz,ncup:jz,Ncy:Bz,ncy:$z,ndash:zz,nearhk:qz,nearr:Uz,neArr:Hz,nearrow:Vz,ne:Kz,nedot:Gz,NegativeMediumSpace:Wz,NegativeThickSpace:Zz,NegativeThinSpace:Yz,NegativeVeryThinSpace:Jz,nequiv:Qz,nesear:Xz,nesim:eq,NestedGreaterGreater:tq,NestedLessLess:nq,NewLine:sq,nexist:oq,nexists:rq,Nfr:iq,nfr:aq,ngE:lq,nge:cq,ngeq:uq,ngeqq:dq,ngeqslant:fq,nges:hq,nGg:pq,ngsim:gq,nGt:mq,ngt:_q,ngtr:yq,nGtv:bq,nharr:vq,nhArr:xq,nhpar:wq,ni:kq,nis:Eq,nisd:Cq,niv:Aq,NJcy:Sq,njcy:Tq,nlarr:Mq,nlArr:Oq,nldr:Rq,nlE:Dq,nle:Lq,nleftarrow:Iq,nLeftarrow:Nq,nleftrightarrow:Pq,nLeftrightarrow:Fq,nleq:jq,nleqq:Bq,nleqslant:$q,nles:zq,nless:qq,nLl:Uq,nlsim:Hq,nLt:Vq,nlt:Kq,nltri:Gq,nltrie:Wq,nLtv:Zq,nmid:Yq,NoBreak:Jq,NonBreakingSpace:Qq,nopf:Xq,Nopf:eU,Not:tU,not:nU,NotCongruent:sU,NotCupCap:oU,NotDoubleVerticalBar:rU,NotElement:iU,NotEqual:aU,NotEqualTilde:lU,NotExists:cU,NotGreater:uU,NotGreaterEqual:dU,NotGreaterFullEqual:fU,NotGreaterGreater:hU,NotGreaterLess:pU,NotGreaterSlantEqual:gU,NotGreaterTilde:mU,NotHumpDownHump:_U,NotHumpEqual:yU,notin:bU,notindot:vU,notinE:xU,notinva:wU,notinvb:kU,notinvc:EU,NotLeftTriangleBar:CU,NotLeftTriangle:AU,NotLeftTriangleEqual:SU,NotLess:TU,NotLessEqual:MU,NotLessGreater:OU,NotLessLess:RU,NotLessSlantEqual:DU,NotLessTilde:LU,NotNestedGreaterGreater:IU,NotNestedLessLess:NU,notni:PU,notniva:FU,notnivb:jU,notnivc:BU,NotPrecedes:$U,NotPrecedesEqual:zU,NotPrecedesSlantEqual:qU,NotReverseElement:UU,NotRightTriangleBar:HU,NotRightTriangle:VU,NotRightTriangleEqual:KU,NotSquareSubset:GU,NotSquareSubsetEqual:WU,NotSquareSuperset:ZU,NotSquareSupersetEqual:YU,NotSubset:JU,NotSubsetEqual:QU,NotSucceeds:XU,NotSucceedsEqual:eH,NotSucceedsSlantEqual:tH,NotSucceedsTilde:nH,NotSuperset:sH,NotSupersetEqual:oH,NotTilde:rH,NotTildeEqual:iH,NotTildeFullEqual:aH,NotTildeTilde:lH,NotVerticalBar:cH,nparallel:uH,npar:dH,nparsl:fH,npart:hH,npolint:pH,npr:gH,nprcue:mH,nprec:_H,npreceq:yH,npre:bH,nrarrc:vH,nrarr:xH,nrArr:wH,nrarrw:kH,nrightarrow:EH,nRightarrow:CH,nrtri:AH,nrtrie:SH,nsc:TH,nsccue:MH,nsce:OH,Nscr:RH,nscr:DH,nshortmid:LH,nshortparallel:IH,nsim:NH,nsime:PH,nsimeq:FH,nsmid:jH,nspar:BH,nsqsube:$H,nsqsupe:zH,nsub:qH,nsubE:UH,nsube:HH,nsubset:VH,nsubseteq:KH,nsubseteqq:GH,nsucc:WH,nsucceq:ZH,nsup:YH,nsupE:JH,nsupe:QH,nsupset:XH,nsupseteq:eV,nsupseteqq:tV,ntgl:nV,Ntilde:sV,ntilde:oV,ntlg:rV,ntriangleleft:iV,ntrianglelefteq:aV,ntriangleright:lV,ntrianglerighteq:cV,Nu:uV,nu:dV,num:fV,numero:hV,numsp:pV,nvap:gV,nvdash:mV,nvDash:_V,nVdash:yV,nVDash:bV,nvge:vV,nvgt:xV,nvHarr:wV,nvinfin:kV,nvlArr:EV,nvle:CV,nvlt:AV,nvltrie:SV,nvrArr:TV,nvrtrie:MV,nvsim:OV,nwarhk:RV,nwarr:DV,nwArr:LV,nwarrow:IV,nwnear:NV,Oacute:PV,oacute:FV,oast:jV,Ocirc:BV,ocirc:$V,ocir:zV,Ocy:qV,ocy:UV,odash:HV,Odblac:VV,odblac:KV,odiv:GV,odot:WV,odsold:ZV,OElig:YV,oelig:JV,ofcir:QV,Ofr:XV,ofr:eK,ogon:tK,Ograve:nK,ograve:sK,ogt:oK,ohbar:rK,ohm:iK,oint:aK,olarr:lK,olcir:cK,olcross:uK,oline:dK,olt:fK,Omacr:hK,omacr:pK,Omega:gK,omega:mK,Omicron:_K,omicron:yK,omid:bK,ominus:vK,Oopf:xK,oopf:wK,opar:kK,OpenCurlyDoubleQuote:EK,OpenCurlyQuote:CK,operp:AK,oplus:SK,orarr:TK,Or:MK,or:OK,ord:RK,order:DK,orderof:LK,ordf:IK,ordm:NK,origof:PK,oror:FK,orslope:jK,orv:BK,oS:$K,Oscr:zK,oscr:qK,Oslash:UK,oslash:HK,osol:VK,Otilde:KK,otilde:GK,otimesas:WK,Otimes:ZK,otimes:YK,Ouml:JK,ouml:QK,ovbar:XK,OverBar:eG,OverBrace:tG,OverBracket:nG,OverParenthesis:sG,para:oG,parallel:rG,par:iG,parsim:aG,parsl:lG,part:cG,PartialD:uG,Pcy:dG,pcy:fG,percnt:hG,period:pG,permil:gG,perp:mG,pertenk:_G,Pfr:yG,pfr:bG,Phi:vG,phi:xG,phiv:wG,phmmat:kG,phone:EG,Pi:CG,pi:AG,pitchfork:SG,piv:TG,planck:MG,planckh:OG,plankv:RG,plusacir:DG,plusb:LG,pluscir:IG,plus:NG,plusdo:PG,plusdu:FG,pluse:jG,PlusMinus:BG,plusmn:$G,plussim:zG,plustwo:qG,pm:UG,Poincareplane:HG,pointint:VG,popf:KG,Popf:GG,pound:WG,prap:ZG,Pr:YG,pr:JG,prcue:QG,precapprox:XG,prec:eW,preccurlyeq:tW,Precedes:nW,PrecedesEqual:sW,PrecedesSlantEqual:oW,PrecedesTilde:rW,preceq:iW,precnapprox:aW,precneqq:lW,precnsim:cW,pre:uW,prE:dW,precsim:fW,prime:hW,Prime:pW,primes:gW,prnap:mW,prnE:_W,prnsim:yW,prod:bW,Product:vW,profalar:xW,profline:wW,profsurf:kW,prop:EW,Proportional:CW,Proportion:AW,propto:SW,prsim:TW,prurel:MW,Pscr:OW,pscr:RW,Psi:DW,psi:LW,puncsp:IW,Qfr:NW,qfr:PW,qint:FW,qopf:jW,Qopf:BW,qprime:$W,Qscr:zW,qscr:qW,quaternions:UW,quatint:HW,quest:VW,questeq:KW,quot:GW,QUOT:WW,rAarr:ZW,race:YW,Racute:JW,racute:QW,radic:XW,raemptyv:eZ,rang:tZ,Rang:nZ,rangd:sZ,range:oZ,rangle:rZ,raquo:iZ,rarrap:aZ,rarrb:lZ,rarrbfs:cZ,rarrc:uZ,rarr:dZ,Rarr:fZ,rArr:hZ,rarrfs:pZ,rarrhk:gZ,rarrlp:mZ,rarrpl:_Z,rarrsim:yZ,Rarrtl:bZ,rarrtl:vZ,rarrw:xZ,ratail:wZ,rAtail:kZ,ratio:EZ,rationals:CZ,rbarr:AZ,rBarr:SZ,RBarr:TZ,rbbrk:MZ,rbrace:OZ,rbrack:RZ,rbrke:DZ,rbrksld:LZ,rbrkslu:IZ,Rcaron:NZ,rcaron:PZ,Rcedil:FZ,rcedil:jZ,rceil:BZ,rcub:$Z,Rcy:zZ,rcy:qZ,rdca:UZ,rdldhar:HZ,rdquo:VZ,rdquor:KZ,rdsh:GZ,real:WZ,realine:ZZ,realpart:YZ,reals:JZ,Re:QZ,rect:XZ,reg:eY,REG:tY,ReverseElement:nY,ReverseEquilibrium:sY,ReverseUpEquilibrium:oY,rfisht:rY,rfloor:iY,rfr:aY,Rfr:lY,rHar:cY,rhard:uY,rharu:dY,rharul:fY,Rho:hY,rho:pY,rhov:gY,RightAngleBracket:mY,RightArrowBar:_Y,rightarrow:yY,RightArrow:bY,Rightarrow:vY,RightArrowLeftArrow:xY,rightarrowtail:wY,RightCeiling:kY,RightDoubleBracket:EY,RightDownTeeVector:CY,RightDownVectorBar:AY,RightDownVector:SY,RightFloor:TY,rightharpoondown:MY,rightharpoonup:OY,rightleftarrows:RY,rightleftharpoons:DY,rightrightarrows:LY,rightsquigarrow:IY,RightTeeArrow:NY,RightTee:PY,RightTeeVector:FY,rightthreetimes:jY,RightTriangleBar:BY,RightTriangle:$Y,RightTriangleEqual:zY,RightUpDownVector:qY,RightUpTeeVector:UY,RightUpVectorBar:HY,RightUpVector:VY,RightVectorBar:KY,RightVector:GY,ring:WY,risingdotseq:ZY,rlarr:YY,rlhar:JY,rlm:QY,rmoustache:XY,rmoust:eJ,rnmid:tJ,roang:nJ,roarr:sJ,robrk:oJ,ropar:rJ,ropf:iJ,Ropf:aJ,roplus:lJ,rotimes:cJ,RoundImplies:uJ,rpar:dJ,rpargt:fJ,rppolint:hJ,rrarr:pJ,Rrightarrow:gJ,rsaquo:mJ,rscr:_J,Rscr:yJ,rsh:bJ,Rsh:vJ,rsqb:xJ,rsquo:wJ,rsquor:kJ,rthree:EJ,rtimes:CJ,rtri:AJ,rtrie:SJ,rtrif:TJ,rtriltri:MJ,RuleDelayed:OJ,ruluhar:RJ,rx:DJ,Sacute:LJ,sacute:IJ,sbquo:NJ,scap:PJ,Scaron:FJ,scaron:jJ,Sc:BJ,sc:$J,sccue:zJ,sce:qJ,scE:UJ,Scedil:HJ,scedil:VJ,Scirc:KJ,scirc:GJ,scnap:WJ,scnE:ZJ,scnsim:YJ,scpolint:JJ,scsim:QJ,Scy:XJ,scy:eQ,sdotb:tQ,sdot:nQ,sdote:sQ,searhk:oQ,searr:rQ,seArr:iQ,searrow:aQ,sect:lQ,semi:cQ,seswar:uQ,setminus:dQ,setmn:fQ,sext:hQ,Sfr:pQ,sfr:gQ,sfrown:mQ,sharp:_Q,SHCHcy:yQ,shchcy:bQ,SHcy:vQ,shcy:xQ,ShortDownArrow:wQ,ShortLeftArrow:kQ,shortmid:EQ,shortparallel:CQ,ShortRightArrow:AQ,ShortUpArrow:SQ,shy:TQ,Sigma:MQ,sigma:OQ,sigmaf:RQ,sigmav:DQ,sim:LQ,simdot:IQ,sime:NQ,simeq:PQ,simg:FQ,simgE:jQ,siml:BQ,simlE:$Q,simne:zQ,simplus:qQ,simrarr:UQ,slarr:HQ,SmallCircle:VQ,smallsetminus:KQ,smashp:GQ,smeparsl:WQ,smid:ZQ,smile:YQ,smt:JQ,smte:QQ,smtes:XQ,SOFTcy:eX,softcy:tX,solbar:nX,solb:sX,sol:oX,Sopf:rX,sopf:iX,spades:aX,spadesuit:lX,spar:cX,sqcap:uX,sqcaps:dX,sqcup:fX,sqcups:hX,Sqrt:pX,sqsub:gX,sqsube:mX,sqsubset:_X,sqsubseteq:yX,sqsup:bX,sqsupe:vX,sqsupset:xX,sqsupseteq:wX,square:kX,Square:EX,SquareIntersection:CX,SquareSubset:AX,SquareSubsetEqual:SX,SquareSuperset:TX,SquareSupersetEqual:MX,SquareUnion:OX,squarf:RX,squ:DX,squf:LX,srarr:IX,Sscr:NX,sscr:PX,ssetmn:FX,ssmile:jX,sstarf:BX,Star:$X,star:zX,starf:qX,straightepsilon:UX,straightphi:HX,strns:VX,sub:KX,Sub:GX,subdot:WX,subE:ZX,sube:YX,subedot:JX,submult:QX,subnE:XX,subne:eee,subplus:tee,subrarr:nee,subset:see,Subset:oee,subseteq:ree,subseteqq:iee,SubsetEqual:aee,subsetneq:lee,subsetneqq:cee,subsim:uee,subsub:dee,subsup:fee,succapprox:hee,succ:pee,succcurlyeq:gee,Succeeds:mee,SucceedsEqual:_ee,SucceedsSlantEqual:yee,SucceedsTilde:bee,succeq:vee,succnapprox:xee,succneqq:wee,succnsim:kee,succsim:Eee,SuchThat:Cee,sum:Aee,Sum:See,sung:Tee,sup1:Mee,sup2:Oee,sup3:Ree,sup:Dee,Sup:Lee,supdot:Iee,supdsub:Nee,supE:Pee,supe:Fee,supedot:jee,Superset:Bee,SupersetEqual:$ee,suphsol:zee,suphsub:qee,suplarr:Uee,supmult:Hee,supnE:Vee,supne:Kee,supplus:Gee,supset:Wee,Supset:Zee,supseteq:Yee,supseteqq:Jee,supsetneq:Qee,supsetneqq:Xee,supsim:ete,supsub:tte,supsup:nte,swarhk:ste,swarr:ote,swArr:rte,swarrow:ite,swnwar:ate,szlig:lte,Tab:cte,target:ute,Tau:dte,tau:fte,tbrk:hte,Tcaron:pte,tcaron:gte,Tcedil:mte,tcedil:_te,Tcy:yte,tcy:bte,tdot:vte,telrec:xte,Tfr:wte,tfr:kte,there4:Ete,therefore:Cte,Therefore:Ate,Theta:Ste,theta:Tte,thetasym:Mte,thetav:Ote,thickapprox:Rte,thicksim:Dte,ThickSpace:Lte,ThinSpace:Ite,thinsp:Nte,thkap:Pte,thksim:Fte,THORN:jte,thorn:Bte,tilde:$te,Tilde:zte,TildeEqual:qte,TildeFullEqual:Ute,TildeTilde:Hte,timesbar:Vte,timesb:Kte,times:Gte,timesd:Wte,tint:Zte,toea:Yte,topbot:Jte,topcir:Qte,top:Xte,Topf:ene,topf:tne,topfork:nne,tosa:sne,tprime:one,trade:rne,TRADE:ine,triangle:ane,triangledown:lne,triangleleft:cne,trianglelefteq:une,triangleq:dne,triangleright:fne,trianglerighteq:hne,tridot:pne,trie:gne,triminus:mne,TripleDot:_ne,triplus:yne,trisb:bne,tritime:vne,trpezium:xne,Tscr:wne,tscr:kne,TScy:Ene,tscy:Cne,TSHcy:Ane,tshcy:Sne,Tstrok:Tne,tstrok:Mne,twixt:One,twoheadleftarrow:Rne,twoheadrightarrow:Dne,Uacute:Lne,uacute:Ine,uarr:Nne,Uarr:Pne,uArr:Fne,Uarrocir:jne,Ubrcy:Bne,ubrcy:$ne,Ubreve:zne,ubreve:qne,Ucirc:Une,ucirc:Hne,Ucy:Vne,ucy:Kne,udarr:Gne,Udblac:Wne,udblac:Zne,udhar:Yne,ufisht:Jne,Ufr:Qne,ufr:Xne,Ugrave:ese,ugrave:tse,uHar:nse,uharl:sse,uharr:ose,uhblk:rse,ulcorn:ise,ulcorner:ase,ulcrop:lse,ultri:cse,Umacr:use,umacr:dse,uml:fse,UnderBar:hse,UnderBrace:pse,UnderBracket:gse,UnderParenthesis:mse,Union:_se,UnionPlus:yse,Uogon:bse,uogon:vse,Uopf:xse,uopf:wse,UpArrowBar:kse,uparrow:Ese,UpArrow:Cse,Uparrow:Ase,UpArrowDownArrow:Sse,updownarrow:Tse,UpDownArrow:Mse,Updownarrow:Ose,UpEquilibrium:Rse,upharpoonleft:Dse,upharpoonright:Lse,uplus:Ise,UpperLeftArrow:Nse,UpperRightArrow:Pse,upsi:Fse,Upsi:jse,upsih:Bse,Upsilon:$se,upsilon:zse,UpTeeArrow:qse,UpTee:Use,upuparrows:Hse,urcorn:Vse,urcorner:Kse,urcrop:Gse,Uring:Wse,uring:Zse,urtri:Yse,Uscr:Jse,uscr:Qse,utdot:Xse,Utilde:eoe,utilde:toe,utri:noe,utrif:soe,uuarr:ooe,Uuml:roe,uuml:ioe,uwangle:aoe,vangrt:loe,varepsilon:coe,varkappa:uoe,varnothing:doe,varphi:foe,varpi:hoe,varpropto:poe,varr:goe,vArr:moe,varrho:_oe,varsigma:yoe,varsubsetneq:boe,varsubsetneqq:voe,varsupsetneq:xoe,varsupsetneqq:woe,vartheta:koe,vartriangleleft:Eoe,vartriangleright:Coe,vBar:Aoe,Vbar:Soe,vBarv:Toe,Vcy:Moe,vcy:Ooe,vdash:Roe,vDash:Doe,Vdash:Loe,VDash:Ioe,Vdashl:Noe,veebar:Poe,vee:Foe,Vee:joe,veeeq:Boe,vellip:$oe,verbar:zoe,Verbar:qoe,vert:Uoe,Vert:Hoe,VerticalBar:Voe,VerticalLine:Koe,VerticalSeparator:Goe,VerticalTilde:Woe,VeryThinSpace:Zoe,Vfr:Yoe,vfr:Joe,vltri:Qoe,vnsub:Xoe,vnsup:ere,Vopf:tre,vopf:nre,vprop:sre,vrtri:ore,Vscr:rre,vscr:ire,vsubnE:are,vsubne:lre,vsupnE:cre,vsupne:ure,Vvdash:dre,vzigzag:fre,Wcirc:hre,wcirc:pre,wedbar:gre,wedge:mre,Wedge:_re,wedgeq:yre,weierp:bre,Wfr:vre,wfr:xre,Wopf:wre,wopf:kre,wp:Ere,wr:Cre,wreath:Are,Wscr:Sre,wscr:Tre,xcap:Mre,xcirc:Ore,xcup:Rre,xdtri:Dre,Xfr:Lre,xfr:Ire,xharr:Nre,xhArr:Pre,Xi:Fre,xi:jre,xlarr:Bre,xlArr:$re,xmap:zre,xnis:qre,xodot:Ure,Xopf:Hre,xopf:Vre,xoplus:Kre,xotime:Gre,xrarr:Wre,xrArr:Zre,Xscr:Yre,xscr:Jre,xsqcup:Qre,xuplus:Xre,xutri:eie,xvee:tie,xwedge:nie,Yacute:sie,yacute:oie,YAcy:rie,yacy:iie,Ycirc:aie,ycirc:lie,Ycy:cie,ycy:uie,yen:die,Yfr:fie,yfr:hie,YIcy:pie,yicy:gie,Yopf:mie,yopf:_ie,Yscr:yie,yscr:bie,YUcy:vie,yucy:xie,yuml:wie,Yuml:kie,Zacute:Eie,zacute:Cie,Zcaron:Aie,zcaron:Sie,Zcy:Tie,zcy:Mie,Zdot:Oie,zdot:Rie,zeetrf:Die,ZeroWidthSpace:Lie,Zeta:Iie,zeta:Nie,zfr:Pie,Zfr:Fie,ZHcy:jie,zhcy:Bie,zigrarr:$ie,zopf:zie,Zopf:qie,Zscr:Uie,zscr:Hie,zwj:Vie,zwnj:Kie};var jh=Gie,_l=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Hs={},cu={};function Wie(t){var e,n,s=cu[t];if(s)return s;for(s=cu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=Wie(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}ii.defaultChars=";/?:@&=+$,-_.!~*'()#";ii.componentChars="-_.!~*'()";var Zie=ii,uu={};function Yie(t){var e,n,s=uu[t];if(s)return s;for(s=uu[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}f+="�"}return f})}ai.defaultChars=";/?:@&=+$,#";ai.componentChars="";var Jie=ai,Qie=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function kr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Xie=/^([a-z0-9.+-]+:)/i,eae=/:[0-9]*$/,tae=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,nae=["<",">",'"',"`"," ","\r",` +`," "],sae=["{","}","|","\\","^","`"].concat(nae),oae=["'"].concat(sae),du=["%","/","?",";","#"].concat(oae),fu=["/","?","#"],rae=255,hu=/^[+a-z0-9A-Z_-]{0,63}$/,iae=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,pu={javascript:!0,"javascript:":!0},gu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function aae(t,e){if(t&&t instanceof kr)return t;var n=new kr;return n.parse(t,e),n}kr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=tae.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Xie.exec(a);if(c&&(c=c[0],o=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(e||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(c&&pu[c])&&(a=a.substr(2),this.slashes=!0)),!pu[c]&&(i||c&&!gu[c])){var u=-1;for(n=0;n127?y+="x":y+=v[_];if(!y.match(hu)){var C=m.slice(0,n),I=m.slice(n+1),S=v.match(iae);S&&(C.push(S[1]),I.unshift(S[2])),I.length&&(a=I.join(".")+a),this.hostname=C.join(".");break}}}}this.hostname.length>rae&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var R=a.indexOf("#");R!==-1&&(this.hash=a.substr(R),a=a.slice(0,R));var x=a.indexOf("?");return x!==-1&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),gu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};kr.prototype.parseHost=function(t){var e=eae.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var lae=aae;Hs.encode=Zie;Hs.decode=Jie;Hs.format=Qie;Hs.parse=lae;var Fn={},Ni,mu;function Bh(){return mu||(mu=1,Ni=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ni}var Pi,_u;function $h(){return _u||(_u=1,Pi=/[\0-\x1F\x7F-\x9F]/),Pi}var Fi,yu;function cae(){return yu||(yu=1,Fi=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Fi}var ji,bu;function zh(){return bu||(bu=1,ji=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),ji}var vu;function uae(){return vu||(vu=1,Fn.Any=Bh(),Fn.Cc=$h(),Fn.Cf=cae(),Fn.P=_l,Fn.Z=zh()),Fn}(function(t){function e(D){return Object.prototype.toString.call(D)}function n(D){return e(D)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(D,ce){return s.call(D,ce)}function r(D){var ce=Array.prototype.slice.call(arguments,1);return ce.forEach(function(Y){if(Y){if(typeof Y!="object")throw new TypeError(Y+"must be object");Object.keys(Y).forEach(function(A){D[A]=Y[A]})}}),D}function i(D,ce,Y){return[].concat(D.slice(0,ce),Y,D.slice(ce+1))}function a(D){return!(D>=55296&&D<=57343||D>=64976&&D<=65007||(D&65535)===65535||(D&65535)===65534||D>=0&&D<=8||D===11||D>=14&&D<=31||D>=127&&D<=159||D>1114111)}function l(D){if(D>65535){D-=65536;var ce=55296+(D>>10),Y=56320+(D&1023);return String.fromCharCode(ce,Y)}return String.fromCharCode(D)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(c.source+"|"+u.source,"gi"),h=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=jh;function g(D,ce){var Y=0;return o(p,ce)?p[ce]:ce.charCodeAt(0)===35&&h.test(ce)&&(Y=ce[1].toLowerCase()==="x"?parseInt(ce.slice(2),16):parseInt(ce.slice(1),10),a(Y))?l(Y):D}function m(D){return D.indexOf("\\")<0?D:D.replace(c,"$1")}function v(D){return D.indexOf("\\")<0&&D.indexOf("&")<0?D:D.replace(f,function(ce,Y,A){return Y||g(ce,A)})}var y=/[&<>"]/,_=/[&<>"]/g,w={"&":"&","<":"<",">":">",'"':"""};function C(D){return w[D]}function I(D){return y.test(D)?D.replace(_,C):D}var S=/[.?*+^$[\]\\(){}|-]/g;function R(D){return D.replace(S,"\\$&")}function x(D){switch(D){case 9:case 32:return!0}return!1}function k(D){if(D>=8192&&D<=8202)return!0;switch(D){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var T=_l;function j(D){return T.test(D)}function F(D){switch(D){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function K(D){return D=D.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(D=D.replace(/ẞ/g,"ß")),D.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=Hs,t.lib.ucmicro=uae(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=v,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=I,t.arrayReplaceAt=i,t.isSpace=x,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=j,t.escapeRE=R,t.normalizeReference=K})(Fe);var li={},dae=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=xu(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},hae=Fe.unescapeAll,pae=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+Xn(t[e].content)+""};Yt.code_block=function(t,e,n,s,o){var r=t[e];return""+Xn(t[e].content)+` +`};Yt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?mae(r.info).trim():"",a="",l="",c,u,f,h,p;return i&&(f=i.split(/(\s+)/g),a=f[0],l=f.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Xn(r.content):c=Xn(r.content),c.indexOf(""+c+` +`):"
"+c+`
+`};Yt.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};Yt.hardbreak=function(t,e,n){return n.xhtmlOut?`
+`:`
+`};Yt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
+`:`
+`:` +`};Yt.text=function(t,e){return Xn(t[e].content)};Yt.html_block=function(t,e){return t[e].content};Yt.html_inline=function(t,e){return t[e].content};function Vs(){this.rules=gae({},Yt)}Vs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n +`:">",r)};Vs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function Cae(t){return/^<\/a\s*>/i.test(t)}var Aae=function(e){var n,s,o,r,i,a,l,c,u,f,h,p,g,m,v,y,_=e.tokens,w;if(e.md.options.linkify){for(s=0,o=_.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(Eae(a.content)&&g>0&&g--,Cae(a.content)&&g++),!(g>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,w=e.md.linkify.match(u),l=[],p=a.level,h=0,w.length>0&&w[0].index===0&&n>0&&r[n-1].type==="text_special"&&(w=w.slice(1)),c=0;ch&&(i=new e.Token("text","",0),i.content=u.slice(h,f),i.level=p,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",v]],i.level=p++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=y,i.level=p,l.push(i),i=new e.Token("link_close","a",-1),i.level=--p,i.markup="linkify",i.info="auto",l.push(i),h=w[c].lastIndex);h=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(Tae,Oae)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Dae(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&qh.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var Lae=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Sae.test(e.tokens[n].content)&&Rae(e.tokens[n].children),qh.test(e.tokens[n].content)&&Dae(e.tokens[n].children))},wu=Fe.isWhiteSpace,ku=Fe.isPunctChar,Eu=Fe.isMdAsciiPunct,Iae=/['"]/,Cu=/['"]/g,Au="’";function Uo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function Nae(t,e){var n,s,o,r,i,a,l,c,u,f,h,p,g,m,v,y,_,w,C,I,S;for(C=[],n=0;n=0&&!(C[_].level<=l);_--);if(C.length=_+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(_=n-1;_>=0&&!(t[_].type==="softbreak"||t[_].type==="hardbreak");_--)if(t[_].content){u=t[_].content.charCodeAt(t[_].content.length-1);break}if(f=32,i=48&&u<=57&&(y=v=!1),v&&y&&(v=h,y=p),!v&&!y){w&&(s.content=Uo(s.content,r.index,Au));continue}if(y){for(_=C.length-1;_>=0&&(c=C[_],!(C[_].level=0;n--)e.tokens[n].type!=="inline"||!Iae.test(e.tokens[n].content)||Nae(e.tokens[n].children,e)},Fae=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Ks.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var bl=Ks,jae=bl;function Uh(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Uh.prototype.Token=jae;var Bae=Uh,$ae=yl,Bi=[["normalize",vae],["block",xae],["inline",wae],["linkify",Aae],["replacements",Lae],["smartquotes",Pae],["text_join",Fae]];function vl(){this.ruler=new $ae;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(I=e.src.charCodeAt(a++),I!==124&&I!==45&&I!==58)||a>=e.eMarks[u]||(S=e.src.charCodeAt(a++),S!==124&&S!==45&&S!==58&&!$i(S))||I===45&&$i(S))return!1;for(;a=4||(f=Su(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),h=f.length,h===0||h!==g.length))return!1;if(o)return!0;for(_=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=v=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(f=Su(i),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(p=e.push("tbody_open","tbody",1),p.map=y=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[u,u+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` +`,i.map=[n,e.line],!0},Hae=function(e,n,s,o){var r,i,a,l,c,u,f,h=!1,p=e.bMarks[n]+e.tShift[n],g=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>g||(r=e.src.charCodeAt(p),r!==126&&r!==96)||(c=p,p=e.skipChars(p,r),i=p-c,i<3)||(f=e.src.slice(c,p),a=e.src.slice(p,g),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(p=c=e.bMarks[l]+e.tShift[l],g=e.eMarks[l],p=4)&&(p=e.skipChars(p,r),!(p-c=4||e.src.charCodeAt(T++)!==62)return!1;if(o)return!0;for(l=p=e.sCount[n]+1,e.src.charCodeAt(T)===32?(T++,l++,p++,r=!1,C=!0):e.src.charCodeAt(T)===9?(C=!0,(e.bsCount[n]+p)%4===3?(T++,l++,p++,r=!1):r=!0):C=!1,g=[e.bMarks[n]],e.bMarks[n]=T;T=j,_=[e.sCount[n]],e.sCount[n]=p-l,w=[e.tShift[n]],e.tShift[n]=T-e.bMarks[n],S=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",h=n+1;h=j));h++){if(e.src.charCodeAt(T++)===62&&!x){for(l=p=e.sCount[h]+1,e.src.charCodeAt(T)===32?(T++,l++,p++,r=!1,C=!0):e.src.charCodeAt(T)===9?(C=!0,(e.bsCount[h]+p)%4===3?(T++,l++,p++,r=!1):r=!0):C=!1,g.push(e.bMarks[h]),e.bMarks[h]=T;T=j,m.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(C?1:0),_.push(e.sCount[h]),e.sCount[h]=p-l,w.push(e.tShift[h]),e.tShift[h]=T-e.bMarks[h];continue}if(u)break;for(I=!1,a=0,c=S.length;a",R.map=f=[n,0],e.md.block.tokenize(e,n,h),R=e.push("blockquote_close","blockquote",-1),R.markup=">",e.lineMax=k,e.parentType=y,f[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(A=!0),(j=Ou(e,n))>=0){if(f=!0,K=e.bMarks[n]+e.tShift[n],y=Number(e.src.slice(K,j-1)),A&&y!==1)return!1}else if((j=Mu(e,n))>=0)f=!1;else return!1;if(A&&e.skipSpaces(j)>=e.eMarks[n])return!1;if(v=e.src.charCodeAt(j-1),o)return!0;for(m=e.tokens.length,f?(Y=e.push("ordered_list_open","ol",1),y!==1&&(Y.attrs=[["start",y]])):Y=e.push("bullet_list_open","ul",1),Y.map=g=[n,0],Y.markup=String.fromCharCode(v),w=n,F=!1,ce=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=_?c=1:c=C-u,c>4&&(c=1),l=u+c,Y=e.push("list_item_open","li",1),Y.markup=String.fromCharCode(v),Y.map=h=[n,0],f&&(Y.info=e.src.slice(K,j-1)),k=e.tight,x=e.tShift[n],R=e.sCount[n],I=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=C,i>=_&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(P=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=I,e.tShift[n]=x,e.sCount[n]=R,e.tight=k,Y=e.push("list_item_close","li",-1),Y.markup=String.fromCharCode(v),w=n=e.line,h[1]=w,i=e.bMarks[n],w>=s||e.sCount[w]=4)break;for(D=!1,a=0,p=ce.length;a=4||e.src.charCodeAt(S)!==91)return!1;for(;++S3)&&!(e.sCount[x]<0)){for(_=!1,u=0,f=w.length;u"u"&&(e.env.references={}),typeof e.env.references[h]>"u"&&(e.env.references[h]={title:C,href:c}),e.parentType=g,e.line=n+I+1),!0)},Qae=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ci={},Xae="[a-zA-Z_:][a-zA-Z0-9:._-]*",ele="[^\"'=<>`\\x00-\\x20]+",tle="'[^']*'",nle='"[^"]*"',sle="(?:"+ele+"|"+tle+"|"+nle+")",ole="(?:\\s+"+Xae+"(?:\\s*=\\s*"+sle+")?)",Vh="<[A-Za-z][A-Za-z0-9\\-]*"+ole+"*\\s*\\/?>",Kh="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rle="|",ile="<[?][\\s\\S]*?[?]>",ale="]*>",lle="",cle=new RegExp("^(?:"+Vh+"|"+Kh+"|"+rle+"|"+ile+"|"+ale+"|"+lle+")"),ule=new RegExp("^(?:"+Vh+"|"+Kh+")");ci.HTML_TAG_RE=cle;ci.HTML_OPEN_CLOSE_TAG_RE=ule;var dle=Qae,fle=ci.HTML_OPEN_CLOSE_TAG_RE,as=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(fle.source+"\\s*$"),/^$/,!1]],hle=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,u),r=0;r=4||(r=e.src.charCodeAt(c),r!==35||c>=u))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c6||cc&&Ru(e.src.charCodeAt(a-1))&&(u=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},gle=function(e,n,s){var o,r,i,a,l,c,u,f,h,p=n+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(c=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],c=u)))){f=h===61?1:2;break}if(!(e.sCount[p]<0)){for(r=!1,i=0,a=m.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Jt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Jt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!ui(this.src.charCodeAt(--e)))return e+1;return e};Jt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Jt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,u,f,h=e;if(e>=n)return"";for(u=new Array(n-e),r=0;hs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):u[r]=this.src.slice(l,c)}return u.join("")};Jt.prototype.Token=Gh;var _le=Jt,yle=yl,Vo=[["table",qae,["paragraph","reference"]],["code",Uae],["fence",Hae,["paragraph","reference","blockquote","list"]],["blockquote",Vae,["paragraph","reference","blockquote","list"]],["hr",Gae,["paragraph","reference","blockquote","list"]],["list",Zae,["paragraph","reference","blockquote"]],["reference",Jae],["html_block",hle,["paragraph","reference","blockquote"]],["heading",ple,["paragraph","reference","blockquote"]],["lheading",gle],["paragraph",mle]];function di(){this.ruler=new yle;for(var t=0;t=n||t.sCount[a]=c){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(wle),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(l),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=l.length-i.length,!0)},Ele=Fe.isSpace,Cle=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){xl[t.charCodeAt(0)]=1});var Sle=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&xl[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Tle=function(e,n){var s,o,r,i,a,l,c,u,f=e.pos,h=e.src.charCodeAt(f);if(h!==96)return!1;for(s=f,f++,o=e.posMax;f=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}hi.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Iu(e,e.delimiters),n=0;n=m)return!1;if(v=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?l=c.pos:h="",v=l;l=m||e.src.charCodeAt(l)!==41)&&(y=!0),l++}if(y){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(v,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Mle(r)],!u)return e.pos=g,!1;h=u.href,p=u.title}return n||(e.pos=a,e.posMax=i,f=e.push("link_open","a",1),f.attrs=s=[["href",h]],p&&s.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},Rle=Fe.normalizeReference,Ui=Fe.isSpace,Dle=function(e,n){var s,o,r,i,a,l,c,u,f,h,p,g,m,v="",y=e.pos,_=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c<_&&e.src.charCodeAt(c)===40){for(c++;c<_&&(o=e.src.charCodeAt(c),!(!Ui(o)&&o!==10));c++);if(c>=_)return!1;for(m=c,f=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?c=f.pos:v=""),m=c;c<_&&(o=e.src.charCodeAt(c),!(!Ui(o)&&o!==10));c++);if(f=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<_&&m!==c&&f.ok)for(h=f.str,c=f.pos;c<_&&(o=e.src.charCodeAt(c),!(!Ui(o)&&o!==10));c++);else h="";if(c>=_||e.src.charCodeAt(c)!==41)return e.pos=y,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c<_&&e.src.charCodeAt(c)===91?(m=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?i=e.src.slice(m,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Rle(i)],!u)return e.pos=y,!1;v=u.href,h=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=s=[["src",v],["alt",""]],p.children=g,p.content=r,h&&s.push(["title",h])),e.pos=c,e.posMax=_,!0},Lle=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Ile=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Nle=function(e,n){var s,o,r,i,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(i=e.src.charCodeAt(c),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,c),Ile.test(s)?(o=e.md.normalizeLink(s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):Lle.test(s)?(o=e.md.normalizeLink("mailto:"+s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):!1},Ple=ci.HTML_TAG_RE;function Fle(t){return/^\s]/i.test(t)}function jle(t){return/^<\/a\s*>/i.test(t)}function Ble(t){var e=t|32;return e>=97&&e<=122}var $le=function(e,n){var s,o,r,i,a=e.pos;return!e.md.options.html||(r=e.posMax,e.src.charCodeAt(a)!==60||a+2>=r)||(s=e.src.charCodeAt(a+1),s!==33&&s!==63&&s!==47&&!Ble(s))||(o=e.src.slice(a).match(Ple),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),Fle(i.content)&&e.linkLevel++,jle(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},Nu=jh,zle=Fe.has,qle=Fe.isValidEntityCode,Pu=Fe.fromCodePoint,Ule=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Hle=/^&([a-z][a-z0-9]{1,31});/i,Vle=function(e,n){var s,o,r,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(Ule),r)return n||(o=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),i=e.push("text_special","",0),i.content=qle(o)?Pu(o):Pu(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(Hle),r&&zle(Nu,r[1]))return n||(i=e.push("text_special","",0),i.content=Nu[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function Fu(t,e){var n,s,o,r,i,a,l,c,u={},f=e.length;if(f){var h=0,p=-2,g=[];for(n=0;ni;s-=g[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?g[s-1]+1:0,g[n]=n-s+c,g[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,p=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var Kle=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(Fu(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Ro.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,f,h=!0,p=!0,g=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Do.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Ki}function Sa(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(s){t[s]=n[s]})}),t}function pi(t){return Object.prototype.toString.call(t)}function Jle(t){return pi(t)==="[object String]"}function Qle(t){return pi(t)==="[object Object]"}function Xle(t){return pi(t)==="[object RegExp]"}function Uu(t){return pi(t)==="[object Function]"}function ece(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Wh={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function tce(t){return Object.keys(t||{}).reduce(function(e,n){return e||Wh.hasOwnProperty(n)},!1)}var nce={"http:":{validate:function(t,e,n){var s=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var s=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(s)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var s=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(s)?s.match(n.re.mailto)[0].length:0}}},sce="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",oce="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function rce(t){t.__index__=-1,t.__text_cache__=""}function ice(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Hu(){return function(t,e){e.normalize(t)}}function Er(t){var e=t.re=Yle()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(sce),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(t.__compiled__[a]=c,Qle(l)){Xle(l.validate)?c.validate=ice(l.validate):Uu(l.validate)?c.validate=l.validate:r(a,l),Uu(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Hu();return}if(Jle(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Hu()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(ece).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),rce(t)}function ace(t,e){var n=t.__index__,s=t.__last_index__,o=t.__text_cache__.slice(n,s);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=s+e,this.raw=o,this.text=o,this.url=o}function Ta(t,e){var n=new ace(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function _t(t,e){if(!(this instanceof _t))return new _t(t,e);e||tce(t)&&(e=t,t={}),this.__opts__=Sa({},Wh,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Sa({},nce,t),this.__compiled__={},this.__tlds__=oce,this.__tlds_replaced__=!1,this.re={},Er(this)}_t.prototype.add=function(e,n){return this.__schemas__[e]=n,Er(this),this};_t.prototype.set=function(e){return this.__opts__=Sa(this.__opts__,e),this};_t.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};_t.prototype.pretest=function(e){return this.re.pretest.test(e)};_t.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};_t.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(Ta(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(Ta(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};_t.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,Ta(this,0)):null};_t.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),Er(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Er(this),this)};_t.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};_t.prototype.onCompile=function(){};var lce=_t;const bs=2147483647,Ut=36,kl=1,wo=26,cce=38,uce=700,Zh=72,Yh=128,Jh="-",dce=/^xn--/,fce=/[^\0-\x7F]/,hce=/[\x2E\u3002\uFF0E\uFF61]/g,pce={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Gi=Ut-kl,Ht=Math.floor,Wi=String.fromCharCode;function xn(t){throw new RangeError(pce[t])}function gce(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function Qh(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(hce,".");const o=t.split("."),r=gce(o,e).join(".");return s+r}function El(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),mce=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Ut},Vu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},ep=function(t,e,n){let s=0;for(t=n?Ht(t/uce):t>>1,t+=Ht(t/e);t>Gi*wo>>1;s+=Ut)t=Ht(t/Gi);return Ht(s+(Gi+1)*t/(t+cce))},Cl=function(t){const e=[],n=t.length;let s=0,o=Yh,r=Zh,i=t.lastIndexOf(Jh);i<0&&(i=0);for(let a=0;a=128&&xn("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&xn("invalid-input");const h=mce(t.charCodeAt(a++));h>=Ut&&xn("invalid-input"),h>Ht((bs-s)/u)&&xn("overflow"),s+=h*u;const p=f<=r?kl:f>=r+wo?wo:f-r;if(hHt(bs/g)&&xn("overflow"),u*=g}const c=e.length+1;r=ep(s-l,c,l==0),Ht(s/c)>bs-o&&xn("overflow"),o+=Ht(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},Al=function(t){const e=[];t=El(t);const n=t.length;let s=Yh,o=0,r=Zh;for(const l of t)l<128&&e.push(Wi(l));const i=e.length;let a=i;for(i&&e.push(Jh);a=s&&uHt((bs-o)/c)&&xn("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(ubs&&xn("overflow"),u===s){let f=o;for(let h=Ut;;h+=Ut){const p=h<=r?kl:h>=r+wo?wo:h-r;if(f=0))try{e.hostname=sp.toASCII(e.hostname)}catch{}return Kn.encode(Kn.format(e))}function Ice(t){var e=Kn.parse(t,!0);if(e.hostname&&(!e.protocol||op.indexOf(e.protocol)>=0))try{e.hostname=sp.toUnicode(e.hostname)}catch{}return Kn.decode(Kn.format(e),Kn.decode.defaultChars+"%")}function St(t,e){if(!(this instanceof St))return new St(t,e);e||ro.isString(t)||(e=t||{},t="default"),this.inline=new Sce,this.block=new Ace,this.core=new Cce,this.renderer=new Ece,this.linkify=new Tce,this.validateLink=Dce,this.normalizeLink=Lce,this.normalizeLinkText=Ice,this.utils=ro,this.helpers=ro.assign({},kce),this.options={},this.configure(t),e&&this.set(e)}St.prototype.set=function(t){return ro.assign(this.options,t),this};St.prototype.configure=function(t){var e=this,n;if(ro.isString(t)&&(n=t,t=Mce[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};St.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};St.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};St.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};St.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};St.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};St.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};St.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Nce=St,Pce=Nce;const Fce=zs(Pce),jce="😀",Bce="😃",$ce="😄",zce="😁",qce="😆",Uce="😆",Hce="😅",Vce="🤣",Kce="😂",Gce="🙂",Wce="🙃",Zce="😉",Yce="😊",Jce="😇",Qce="🥰",Xce="😍",eue="🤩",tue="😘",nue="😗",sue="☺️",oue="😚",rue="😙",iue="🥲",aue="😋",lue="😛",cue="😜",uue="🤪",due="😝",fue="🤑",hue="🤗",pue="🤭",gue="🤫",mue="🤔",_ue="🤐",yue="🤨",bue="😐",vue="😑",xue="😶",wue="😏",kue="😒",Eue="🙄",Cue="😬",Aue="🤥",Sue="😌",Tue="😔",Mue="😪",Oue="🤤",Rue="😴",Due="😷",Lue="🤒",Iue="🤕",Nue="🤢",Pue="🤮",Fue="🤧",jue="🥵",Bue="🥶",$ue="🥴",zue="😵",que="🤯",Uue="🤠",Hue="🥳",Vue="🥸",Kue="😎",Gue="🤓",Wue="🧐",Zue="😕",Yue="😟",Jue="🙁",Que="☹️",Xue="😮",ede="😯",tde="😲",nde="😳",sde="🥺",ode="😦",rde="😧",ide="😨",ade="😰",lde="😥",cde="😢",ude="😭",dde="😱",fde="😖",hde="😣",pde="😞",gde="😓",mde="😩",_de="😫",yde="🥱",bde="😤",vde="😡",xde="😡",wde="😠",kde="🤬",Ede="😈",Cde="👿",Ade="💀",Sde="☠️",Tde="💩",Mde="💩",Ode="💩",Rde="🤡",Dde="👹",Lde="👺",Ide="👻",Nde="👽",Pde="👾",Fde="🤖",jde="😺",Bde="😸",$de="😹",zde="😻",qde="😼",Ude="😽",Hde="🙀",Vde="😿",Kde="😾",Gde="🙈",Wde="🙉",Zde="🙊",Yde="💋",Jde="💌",Qde="💘",Xde="💝",efe="💖",tfe="💗",nfe="💓",sfe="💞",ofe="💕",rfe="💟",ife="❣️",afe="💔",lfe="❤️",cfe="🧡",ufe="💛",dfe="💚",ffe="💙",hfe="💜",pfe="🤎",gfe="🖤",mfe="🤍",_fe="💢",yfe="💥",bfe="💥",vfe="💫",xfe="💦",wfe="💨",kfe="🕳️",Efe="💣",Cfe="💬",Afe="👁️‍🗨️",Sfe="🗨️",Tfe="🗯️",Mfe="💭",Ofe="💤",Rfe="👋",Dfe="🤚",Lfe="🖐️",Ife="✋",Nfe="✋",Pfe="🖖",Ffe="👌",jfe="🤌",Bfe="🤏",$fe="✌️",zfe="🤞",qfe="🤟",Ufe="🤘",Hfe="🤙",Vfe="👈",Kfe="👉",Gfe="👆",Wfe="🖕",Zfe="🖕",Yfe="👇",Jfe="☝️",Qfe="👍",Xfe="👎",ehe="✊",the="✊",nhe="👊",she="👊",ohe="👊",rhe="🤛",ihe="🤜",ahe="👏",lhe="🙌",che="👐",uhe="🤲",dhe="🤝",fhe="🙏",hhe="✍️",phe="💅",ghe="🤳",mhe="💪",_he="🦾",yhe="🦿",bhe="🦵",vhe="🦶",xhe="👂",whe="🦻",khe="👃",Ehe="🧠",Che="🫀",Ahe="🫁",She="🦷",The="🦴",Mhe="👀",Ohe="👁️",Rhe="👅",Dhe="👄",Lhe="👶",Ihe="🧒",Nhe="👦",Phe="👧",Fhe="🧑",jhe="👱",Bhe="👨",$he="🧔",zhe="👨‍🦰",qhe="👨‍🦱",Uhe="👨‍🦳",Hhe="👨‍🦲",Vhe="👩",Khe="👩‍🦰",Ghe="🧑‍🦰",Whe="👩‍🦱",Zhe="🧑‍🦱",Yhe="👩‍🦳",Jhe="🧑‍🦳",Qhe="👩‍🦲",Xhe="🧑‍🦲",epe="👱‍♀️",tpe="👱‍♀️",npe="👱‍♂️",spe="🧓",ope="👴",rpe="👵",ipe="🙍",ape="🙍‍♂️",lpe="🙍‍♀️",cpe="🙎",upe="🙎‍♂️",dpe="🙎‍♀️",fpe="🙅",hpe="🙅‍♂️",ppe="🙅‍♂️",gpe="🙅‍♀️",mpe="🙅‍♀️",_pe="🙆",ype="🙆‍♂️",bpe="🙆‍♀️",vpe="💁",xpe="💁",wpe="💁‍♂️",kpe="💁‍♂️",Epe="💁‍♀️",Cpe="💁‍♀️",Ape="🙋",Spe="🙋‍♂️",Tpe="🙋‍♀️",Mpe="🧏",Ope="🧏‍♂️",Rpe="🧏‍♀️",Dpe="🙇",Lpe="🙇‍♂️",Ipe="🙇‍♀️",Npe="🤦",Ppe="🤦‍♂️",Fpe="🤦‍♀️",jpe="🤷",Bpe="🤷‍♂️",$pe="🤷‍♀️",zpe="🧑‍⚕️",qpe="👨‍⚕️",Upe="👩‍⚕️",Hpe="🧑‍🎓",Vpe="👨‍🎓",Kpe="👩‍🎓",Gpe="🧑‍🏫",Wpe="👨‍🏫",Zpe="👩‍🏫",Ype="🧑‍⚖️",Jpe="👨‍⚖️",Qpe="👩‍⚖️",Xpe="🧑‍🌾",ege="👨‍🌾",tge="👩‍🌾",nge="🧑‍🍳",sge="👨‍🍳",oge="👩‍🍳",rge="🧑‍🔧",ige="👨‍🔧",age="👩‍🔧",lge="🧑‍🏭",cge="👨‍🏭",uge="👩‍🏭",dge="🧑‍💼",fge="👨‍💼",hge="👩‍💼",pge="🧑‍🔬",gge="👨‍🔬",mge="👩‍🔬",_ge="🧑‍💻",yge="👨‍💻",bge="👩‍💻",vge="🧑‍🎤",xge="👨‍🎤",wge="👩‍🎤",kge="🧑‍🎨",Ege="👨‍🎨",Cge="👩‍🎨",Age="🧑‍✈️",Sge="👨‍✈️",Tge="👩‍✈️",Mge="🧑‍🚀",Oge="👨‍🚀",Rge="👩‍🚀",Dge="🧑‍🚒",Lge="👨‍🚒",Ige="👩‍🚒",Nge="👮",Pge="👮",Fge="👮‍♂️",jge="👮‍♀️",Bge="🕵️",$ge="🕵️‍♂️",zge="🕵️‍♀️",qge="💂",Uge="💂‍♂️",Hge="💂‍♀️",Vge="🥷",Kge="👷",Gge="👷‍♂️",Wge="👷‍♀️",Zge="🤴",Yge="👸",Jge="👳",Qge="👳‍♂️",Xge="👳‍♀️",eme="👲",tme="🧕",nme="🤵",sme="🤵‍♂️",ome="🤵‍♀️",rme="👰",ime="👰‍♂️",ame="👰‍♀️",lme="👰‍♀️",cme="🤰",ume="🤱",dme="👩‍🍼",fme="👨‍🍼",hme="🧑‍🍼",pme="👼",gme="🎅",mme="🤶",_me="🧑‍🎄",yme="🦸",bme="🦸‍♂️",vme="🦸‍♀️",xme="🦹",wme="🦹‍♂️",kme="🦹‍♀️",Eme="🧙",Cme="🧙‍♂️",Ame="🧙‍♀️",Sme="🧚",Tme="🧚‍♂️",Mme="🧚‍♀️",Ome="🧛",Rme="🧛‍♂️",Dme="🧛‍♀️",Lme="🧜",Ime="🧜‍♂️",Nme="🧜‍♀️",Pme="🧝",Fme="🧝‍♂️",jme="🧝‍♀️",Bme="🧞",$me="🧞‍♂️",zme="🧞‍♀️",qme="🧟",Ume="🧟‍♂️",Hme="🧟‍♀️",Vme="💆",Kme="💆‍♂️",Gme="💆‍♀️",Wme="💇",Zme="💇‍♂️",Yme="💇‍♀️",Jme="🚶",Qme="🚶‍♂️",Xme="🚶‍♀️",e_e="🧍",t_e="🧍‍♂️",n_e="🧍‍♀️",s_e="🧎",o_e="🧎‍♂️",r_e="🧎‍♀️",i_e="🧑‍🦯",a_e="👨‍🦯",l_e="👩‍🦯",c_e="🧑‍🦼",u_e="👨‍🦼",d_e="👩‍🦼",f_e="🧑‍🦽",h_e="👨‍🦽",p_e="👩‍🦽",g_e="🏃",m_e="🏃",__e="🏃‍♂️",y_e="🏃‍♀️",b_e="💃",v_e="💃",x_e="🕺",w_e="🕴️",k_e="👯",E_e="👯‍♂️",C_e="👯‍♀️",A_e="🧖",S_e="🧖‍♂️",T_e="🧖‍♀️",M_e="🧗",O_e="🧗‍♂️",R_e="🧗‍♀️",D_e="🤺",L_e="🏇",I_e="⛷️",N_e="🏂",P_e="🏌️",F_e="🏌️‍♂️",j_e="🏌️‍♀️",B_e="🏄",$_e="🏄‍♂️",z_e="🏄‍♀️",q_e="🚣",U_e="🚣‍♂️",H_e="🚣‍♀️",V_e="🏊",K_e="🏊‍♂️",G_e="🏊‍♀️",W_e="⛹️",Z_e="⛹️‍♂️",Y_e="⛹️‍♂️",J_e="⛹️‍♀️",Q_e="⛹️‍♀️",X_e="🏋️",e1e="🏋️‍♂️",t1e="🏋️‍♀️",n1e="🚴",s1e="🚴‍♂️",o1e="🚴‍♀️",r1e="🚵",i1e="🚵‍♂️",a1e="🚵‍♀️",l1e="🤸",c1e="🤸‍♂️",u1e="🤸‍♀️",d1e="🤼",f1e="🤼‍♂️",h1e="🤼‍♀️",p1e="🤽",g1e="🤽‍♂️",m1e="🤽‍♀️",_1e="🤾",y1e="🤾‍♂️",b1e="🤾‍♀️",v1e="🤹",x1e="🤹‍♂️",w1e="🤹‍♀️",k1e="🧘",E1e="🧘‍♂️",C1e="🧘‍♀️",A1e="🛀",S1e="🛌",T1e="🧑‍🤝‍🧑",M1e="👭",O1e="👫",R1e="👬",D1e="💏",L1e="👩‍❤️‍💋‍👨",I1e="👨‍❤️‍💋‍👨",N1e="👩‍❤️‍💋‍👩",P1e="💑",F1e="👩‍❤️‍👨",j1e="👨‍❤️‍👨",B1e="👩‍❤️‍👩",$1e="👪",z1e="👨‍👩‍👦",q1e="👨‍👩‍👧",U1e="👨‍👩‍👧‍👦",H1e="👨‍👩‍👦‍👦",V1e="👨‍👩‍👧‍👧",K1e="👨‍👨‍👦",G1e="👨‍👨‍👧",W1e="👨‍👨‍👧‍👦",Z1e="👨‍👨‍👦‍👦",Y1e="👨‍👨‍👧‍👧",J1e="👩‍👩‍👦",Q1e="👩‍👩‍👧",X1e="👩‍👩‍👧‍👦",e0e="👩‍👩‍👦‍👦",t0e="👩‍👩‍👧‍👧",n0e="👨‍👦",s0e="👨‍👦‍👦",o0e="👨‍👧",r0e="👨‍👧‍👦",i0e="👨‍👧‍👧",a0e="👩‍👦",l0e="👩‍👦‍👦",c0e="👩‍👧",u0e="👩‍👧‍👦",d0e="👩‍👧‍👧",f0e="🗣️",h0e="👤",p0e="👥",g0e="🫂",m0e="👣",_0e="🐵",y0e="🐒",b0e="🦍",v0e="🦧",x0e="🐶",w0e="🐕",k0e="🦮",E0e="🐕‍🦺",C0e="🐩",A0e="🐺",S0e="🦊",T0e="🦝",M0e="🐱",O0e="🐈",R0e="🐈‍⬛",D0e="🦁",L0e="🐯",I0e="🐅",N0e="🐆",P0e="🐴",F0e="🐎",j0e="🦄",B0e="🦓",$0e="🦌",z0e="🦬",q0e="🐮",U0e="🐂",H0e="🐃",V0e="🐄",K0e="🐷",G0e="🐖",W0e="🐗",Z0e="🐽",Y0e="🐏",J0e="🐑",Q0e="🐐",X0e="🐪",eye="🐫",tye="🦙",nye="🦒",sye="🐘",oye="🦣",rye="🦏",iye="🦛",aye="🐭",lye="🐁",cye="🐀",uye="🐹",dye="🐰",fye="🐇",hye="🐿️",pye="🦫",gye="🦔",mye="🦇",_ye="🐻",yye="🐻‍❄️",bye="🐨",vye="🐼",xye="🦥",wye="🦦",kye="🦨",Eye="🦘",Cye="🦡",Aye="🐾",Sye="🐾",Tye="🦃",Mye="🐔",Oye="🐓",Rye="🐣",Dye="🐤",Lye="🐥",Iye="🐦",Nye="🐧",Pye="🕊️",Fye="🦅",jye="🦆",Bye="🦢",$ye="🦉",zye="🦤",qye="🪶",Uye="🦩",Hye="🦚",Vye="🦜",Kye="🐸",Gye="🐊",Wye="🐢",Zye="🦎",Yye="🐍",Jye="🐲",Qye="🐉",Xye="🦕",ebe="🐳",tbe="🐋",nbe="🐬",sbe="🐬",obe="🦭",rbe="🐟",ibe="🐠",abe="🐡",lbe="🦈",cbe="🐙",ube="🐚",dbe="🐌",fbe="🦋",hbe="🐛",pbe="🐜",gbe="🐝",mbe="🐝",_be="🪲",ybe="🐞",bbe="🦗",vbe="🪳",xbe="🕷️",wbe="🕸️",kbe="🦂",Ebe="🦟",Cbe="🪰",Abe="🪱",Sbe="🦠",Tbe="💐",Mbe="🌸",Obe="💮",Rbe="🏵️",Dbe="🌹",Lbe="🥀",Ibe="🌺",Nbe="🌻",Pbe="🌼",Fbe="🌷",jbe="🌱",Bbe="🪴",$be="🌲",zbe="🌳",qbe="🌴",Ube="🌵",Hbe="🌾",Vbe="🌿",Kbe="☘️",Gbe="🍀",Wbe="🍁",Zbe="🍂",Ybe="🍃",Jbe="🍇",Qbe="🍈",Xbe="🍉",e2e="🍊",t2e="🍊",n2e="🍊",s2e="🍋",o2e="🍌",r2e="🍍",i2e="🥭",a2e="🍎",l2e="🍏",c2e="🍐",u2e="🍑",d2e="🍒",f2e="🍓",h2e="🫐",p2e="🥝",g2e="🍅",m2e="🫒",_2e="🥥",y2e="🥑",b2e="🍆",v2e="🥔",x2e="🥕",w2e="🌽",k2e="🌶️",E2e="🫑",C2e="🥒",A2e="🥬",S2e="🥦",T2e="🧄",M2e="🧅",O2e="🍄",R2e="🥜",D2e="🌰",L2e="🍞",I2e="🥐",N2e="🥖",P2e="🫓",F2e="🥨",j2e="🥯",B2e="🥞",$2e="🧇",z2e="🧀",q2e="🍖",U2e="🍗",H2e="🥩",V2e="🥓",K2e="🍔",G2e="🍟",W2e="🍕",Z2e="🌭",Y2e="🥪",J2e="🌮",Q2e="🌯",X2e="🫔",eve="🥙",tve="🧆",nve="🥚",sve="🍳",ove="🥘",rve="🍲",ive="🫕",ave="🥣",lve="🥗",cve="🍿",uve="🧈",dve="🧂",fve="🥫",hve="🍱",pve="🍘",gve="🍙",mve="🍚",_ve="🍛",yve="🍜",bve="🍝",vve="🍠",xve="🍢",wve="🍣",kve="🍤",Eve="🍥",Cve="🥮",Ave="🍡",Sve="🥟",Tve="🥠",Mve="🥡",Ove="🦀",Rve="🦞",Dve="🦐",Lve="🦑",Ive="🦪",Nve="🍦",Pve="🍧",Fve="🍨",jve="🍩",Bve="🍪",$ve="🎂",zve="🍰",qve="🧁",Uve="🥧",Hve="🍫",Vve="🍬",Kve="🍭",Gve="🍮",Wve="🍯",Zve="🍼",Yve="🥛",Jve="☕",Qve="🫖",Xve="🍵",exe="🍶",txe="🍾",nxe="🍷",sxe="🍸",oxe="🍹",rxe="🍺",ixe="🍻",axe="🥂",lxe="🥃",cxe="🥤",uxe="🧋",dxe="🧃",fxe="🧉",hxe="🧊",pxe="🥢",gxe="🍽️",mxe="🍴",_xe="🥄",yxe="🔪",bxe="🔪",vxe="🏺",xxe="🌍",wxe="🌎",kxe="🌏",Exe="🌐",Cxe="🗺️",Axe="🗾",Sxe="🧭",Txe="🏔️",Mxe="⛰️",Oxe="🌋",Rxe="🗻",Dxe="🏕️",Lxe="🏖️",Ixe="🏜️",Nxe="🏝️",Pxe="🏞️",Fxe="🏟️",jxe="🏛️",Bxe="🏗️",$xe="🧱",zxe="🪨",qxe="🪵",Uxe="🛖",Hxe="🏘️",Vxe="🏚️",Kxe="🏠",Gxe="🏡",Wxe="🏢",Zxe="🏣",Yxe="🏤",Jxe="🏥",Qxe="🏦",Xxe="🏨",ewe="🏩",twe="🏪",nwe="🏫",swe="🏬",owe="🏭",rwe="🏯",iwe="🏰",awe="💒",lwe="🗼",cwe="🗽",uwe="⛪",dwe="🕌",fwe="🛕",hwe="🕍",pwe="⛩️",gwe="🕋",mwe="⛲",_we="⛺",ywe="🌁",bwe="🌃",vwe="🏙️",xwe="🌄",wwe="🌅",kwe="🌆",Ewe="🌇",Cwe="🌉",Awe="♨️",Swe="🎠",Twe="🎡",Mwe="🎢",Owe="💈",Rwe="🎪",Dwe="🚂",Lwe="🚃",Iwe="🚄",Nwe="🚅",Pwe="🚆",Fwe="🚇",jwe="🚈",Bwe="🚉",$we="🚊",zwe="🚝",qwe="🚞",Uwe="🚋",Hwe="🚌",Vwe="🚍",Kwe="🚎",Gwe="🚐",Wwe="🚑",Zwe="🚒",Ywe="🚓",Jwe="🚔",Qwe="🚕",Xwe="🚖",eke="🚗",tke="🚗",nke="🚘",ske="🚙",oke="🛻",rke="🚚",ike="🚛",ake="🚜",lke="🏎️",cke="🏍️",uke="🛵",dke="🦽",fke="🦼",hke="🛺",pke="🚲",gke="🛴",mke="🛹",_ke="🛼",yke="🚏",bke="🛣️",vke="🛤️",xke="🛢️",wke="⛽",kke="🚨",Eke="🚥",Cke="🚦",Ake="🛑",Ske="🚧",Tke="⚓",Mke="⛵",Oke="⛵",Rke="🛶",Dke="🚤",Lke="🛳️",Ike="⛴️",Nke="🛥️",Pke="🚢",Fke="✈️",jke="🛩️",Bke="🛫",$ke="🛬",zke="🪂",qke="💺",Uke="🚁",Hke="🚟",Vke="🚠",Kke="🚡",Gke="🛰️",Wke="🚀",Zke="🛸",Yke="🛎️",Jke="🧳",Qke="⌛",Xke="⏳",eEe="⌚",tEe="⏰",nEe="⏱️",sEe="⏲️",oEe="🕰️",rEe="🕛",iEe="🕧",aEe="🕐",lEe="🕜",cEe="🕑",uEe="🕝",dEe="🕒",fEe="🕞",hEe="🕓",pEe="🕟",gEe="🕔",mEe="🕠",_Ee="🕕",yEe="🕡",bEe="🕖",vEe="🕢",xEe="🕗",wEe="🕣",kEe="🕘",EEe="🕤",CEe="🕙",AEe="🕥",SEe="🕚",TEe="🕦",MEe="🌑",OEe="🌒",REe="🌓",DEe="🌔",LEe="🌔",IEe="🌕",NEe="🌖",PEe="🌗",FEe="🌘",jEe="🌙",BEe="🌚",$Ee="🌛",zEe="🌜",qEe="🌡️",UEe="☀️",HEe="🌝",VEe="🌞",KEe="🪐",GEe="⭐",WEe="🌟",ZEe="🌠",YEe="🌌",JEe="☁️",QEe="⛅",XEe="⛈️",e5e="🌤️",t5e="🌥️",n5e="🌦️",s5e="🌧️",o5e="🌨️",r5e="🌩️",i5e="🌪️",a5e="🌫️",l5e="🌬️",c5e="🌀",u5e="🌈",d5e="🌂",f5e="☂️",h5e="☔",p5e="⛱️",g5e="⚡",m5e="❄️",_5e="☃️",y5e="⛄",b5e="☄️",v5e="🔥",x5e="💧",w5e="🌊",k5e="🎃",E5e="🎄",C5e="🎆",A5e="🎇",S5e="🧨",T5e="✨",M5e="🎈",O5e="🎉",R5e="🎊",D5e="🎋",L5e="🎍",I5e="🎎",N5e="🎏",P5e="🎐",F5e="🎑",j5e="🧧",B5e="🎀",$5e="🎁",z5e="🎗️",q5e="🎟️",U5e="🎫",H5e="🎖️",V5e="🏆",K5e="🏅",G5e="⚽",W5e="⚾",Z5e="🥎",Y5e="🏀",J5e="🏐",Q5e="🏈",X5e="🏉",e4e="🎾",t4e="🥏",n4e="🎳",s4e="🏏",o4e="🏑",r4e="🏒",i4e="🥍",a4e="🏓",l4e="🏸",c4e="🥊",u4e="🥋",d4e="🥅",f4e="⛳",h4e="⛸️",p4e="🎣",g4e="🤿",m4e="🎽",_4e="🎿",y4e="🛷",b4e="🥌",v4e="🎯",x4e="🪀",w4e="🪁",k4e="🔮",E4e="🪄",C4e="🧿",A4e="🎮",S4e="🕹️",T4e="🎰",M4e="🎲",O4e="🧩",R4e="🧸",D4e="🪅",L4e="🪆",I4e="♠️",N4e="♥️",P4e="♦️",F4e="♣️",j4e="♟️",B4e="🃏",$4e="🀄",z4e="🎴",q4e="🎭",U4e="🖼️",H4e="🎨",V4e="🧵",K4e="🪡",G4e="🧶",W4e="🪢",Z4e="👓",Y4e="🕶️",J4e="🥽",Q4e="🥼",X4e="🦺",e3e="👔",t3e="👕",n3e="👕",s3e="👖",o3e="🧣",r3e="🧤",i3e="🧥",a3e="🧦",l3e="👗",c3e="👘",u3e="🥻",d3e="🩱",f3e="🩲",h3e="🩳",p3e="👙",g3e="👚",m3e="👛",_3e="👜",y3e="👝",b3e="🛍️",v3e="🎒",x3e="🩴",w3e="👞",k3e="👞",E3e="👟",C3e="🥾",A3e="🥿",S3e="👠",T3e="👡",M3e="🩰",O3e="👢",R3e="👑",D3e="👒",L3e="🎩",I3e="🎓",N3e="🧢",P3e="🪖",F3e="⛑️",j3e="📿",B3e="💄",$3e="💍",z3e="💎",q3e="🔇",U3e="🔈",H3e="🔉",V3e="🔊",K3e="📢",G3e="📣",W3e="📯",Z3e="🔔",Y3e="🔕",J3e="🎼",Q3e="🎵",X3e="🎶",eCe="🎙️",tCe="🎚️",nCe="🎛️",sCe="🎤",oCe="🎧",rCe="📻",iCe="🎷",aCe="🪗",lCe="🎸",cCe="🎹",uCe="🎺",dCe="🎻",fCe="🪕",hCe="🥁",pCe="🪘",gCe="📱",mCe="📲",_Ce="☎️",yCe="☎️",bCe="📞",vCe="📟",xCe="📠",wCe="🔋",kCe="🔌",ECe="💻",CCe="🖥️",ACe="🖨️",SCe="⌨️",TCe="🖱️",MCe="🖲️",OCe="💽",RCe="💾",DCe="💿",LCe="📀",ICe="🧮",NCe="🎥",PCe="🎞️",FCe="📽️",jCe="🎬",BCe="📺",$Ce="📷",zCe="📸",qCe="📹",UCe="📼",HCe="🔍",VCe="🔎",KCe="🕯️",GCe="💡",WCe="🔦",ZCe="🏮",YCe="🏮",JCe="🪔",QCe="📔",XCe="📕",e8e="📖",t8e="📖",n8e="📗",s8e="📘",o8e="📙",r8e="📚",i8e="📓",a8e="📒",l8e="📃",c8e="📜",u8e="📄",d8e="📰",f8e="🗞️",h8e="📑",p8e="🔖",g8e="🏷️",m8e="💰",_8e="🪙",y8e="💴",b8e="💵",v8e="💶",x8e="💷",w8e="💸",k8e="💳",E8e="🧾",C8e="💹",A8e="✉️",S8e="📧",T8e="📨",M8e="📩",O8e="📤",R8e="📥",D8e="📫",L8e="📪",I8e="📬",N8e="📭",P8e="📮",F8e="🗳️",j8e="✏️",B8e="✒️",$8e="🖋️",z8e="🖊️",q8e="🖌️",U8e="🖍️",H8e="📝",V8e="📝",K8e="💼",G8e="📁",W8e="📂",Z8e="🗂️",Y8e="📅",J8e="📆",Q8e="🗒️",X8e="🗓️",eAe="📇",tAe="📈",nAe="📉",sAe="📊",oAe="📋",rAe="📌",iAe="📍",aAe="📎",lAe="🖇️",cAe="📏",uAe="📐",dAe="✂️",fAe="🗃️",hAe="🗄️",pAe="🗑️",gAe="🔒",mAe="🔓",_Ae="🔏",yAe="🔐",bAe="🔑",vAe="🗝️",xAe="🔨",wAe="🪓",kAe="⛏️",EAe="⚒️",CAe="🛠️",AAe="🗡️",SAe="⚔️",TAe="🔫",MAe="🪃",OAe="🏹",RAe="🛡️",DAe="🪚",LAe="🔧",IAe="🪛",NAe="🔩",PAe="⚙️",FAe="🗜️",jAe="⚖️",BAe="🦯",$Ae="🔗",zAe="⛓️",qAe="🪝",UAe="🧰",HAe="🧲",VAe="🪜",KAe="⚗️",GAe="🧪",WAe="🧫",ZAe="🧬",YAe="🔬",JAe="🔭",QAe="📡",XAe="💉",e9e="🩸",t9e="💊",n9e="🩹",s9e="🩺",o9e="🚪",r9e="🛗",i9e="🪞",a9e="🪟",l9e="🛏️",c9e="🛋️",u9e="🪑",d9e="🚽",f9e="🪠",h9e="🚿",p9e="🛁",g9e="🪤",m9e="🪒",_9e="🧴",y9e="🧷",b9e="🧹",v9e="🧺",x9e="🧻",w9e="🪣",k9e="🧼",E9e="🪥",C9e="🧽",A9e="🧯",S9e="🛒",T9e="🚬",M9e="⚰️",O9e="🪦",R9e="⚱️",D9e="🗿",L9e="🪧",I9e="🏧",N9e="🚮",P9e="🚰",F9e="♿",j9e="🚹",B9e="🚺",$9e="🚻",z9e="🚼",q9e="🚾",U9e="🛂",H9e="🛃",V9e="🛄",K9e="🛅",G9e="⚠️",W9e="🚸",Z9e="⛔",Y9e="🚫",J9e="🚳",Q9e="🚭",X9e="🚯",e6e="🚷",t6e="📵",n6e="🔞",s6e="☢️",o6e="☣️",r6e="⬆️",i6e="↗️",a6e="➡️",l6e="↘️",c6e="⬇️",u6e="↙️",d6e="⬅️",f6e="↖️",h6e="↕️",p6e="↔️",g6e="↩️",m6e="↪️",_6e="⤴️",y6e="⤵️",b6e="🔃",v6e="🔄",x6e="🔙",w6e="🔚",k6e="🔛",E6e="🔜",C6e="🔝",A6e="🛐",S6e="⚛️",T6e="🕉️",M6e="✡️",O6e="☸️",R6e="☯️",D6e="✝️",L6e="☦️",I6e="☪️",N6e="☮️",P6e="🕎",F6e="🔯",j6e="♈",B6e="♉",$6e="♊",z6e="♋",q6e="♌",U6e="♍",H6e="♎",V6e="♏",K6e="♐",G6e="♑",W6e="♒",Z6e="♓",Y6e="⛎",J6e="🔀",Q6e="🔁",X6e="🔂",eSe="▶️",tSe="⏩",nSe="⏭️",sSe="⏯️",oSe="◀️",rSe="⏪",iSe="⏮️",aSe="🔼",lSe="⏫",cSe="🔽",uSe="⏬",dSe="⏸️",fSe="⏹️",hSe="⏺️",pSe="⏏️",gSe="🎦",mSe="🔅",_Se="🔆",ySe="📶",bSe="📳",vSe="📴",xSe="♀️",wSe="♂️",kSe="⚧️",ESe="✖️",CSe="➕",ASe="➖",SSe="➗",TSe="♾️",MSe="‼️",OSe="⁉️",RSe="❓",DSe="❔",LSe="❕",ISe="❗",NSe="❗",PSe="〰️",FSe="💱",jSe="💲",BSe="⚕️",$Se="♻️",zSe="⚜️",qSe="🔱",USe="📛",HSe="🔰",VSe="⭕",KSe="✅",GSe="☑️",WSe="✔️",ZSe="❌",YSe="❎",JSe="➰",QSe="➿",XSe="〽️",e7e="✳️",t7e="✴️",n7e="❇️",s7e="©️",o7e="®️",r7e="™️",i7e="#️⃣",a7e="*️⃣",l7e="0️⃣",c7e="1️⃣",u7e="2️⃣",d7e="3️⃣",f7e="4️⃣",h7e="5️⃣",p7e="6️⃣",g7e="7️⃣",m7e="8️⃣",_7e="9️⃣",y7e="🔟",b7e="🔠",v7e="🔡",x7e="🔣",w7e="🔤",k7e="🅰️",E7e="🆎",C7e="🅱️",A7e="🆑",S7e="🆒",T7e="🆓",M7e="ℹ️",O7e="🆔",R7e="Ⓜ️",D7e="🆖",L7e="🅾️",I7e="🆗",N7e="🅿️",P7e="🆘",F7e="🆙",j7e="🆚",B7e="🈁",$7e="🈂️",z7e="🉐",q7e="🉑",U7e="㊗️",H7e="㊙️",V7e="🈵",K7e="🔴",G7e="🟠",W7e="🟡",Z7e="🟢",Y7e="🔵",J7e="🟣",Q7e="🟤",X7e="⚫",eTe="⚪",tTe="🟥",nTe="🟧",sTe="🟨",oTe="🟩",rTe="🟦",iTe="🟪",aTe="🟫",lTe="⬛",cTe="⬜",uTe="◼️",dTe="◻️",fTe="◾",hTe="◽",pTe="▪️",gTe="▫️",mTe="🔶",_Te="🔷",yTe="🔸",bTe="🔹",vTe="🔺",xTe="🔻",wTe="💠",kTe="🔘",ETe="🔳",CTe="🔲",ATe="🏁",STe="🚩",TTe="🎌",MTe="🏴",OTe="🏳️",RTe="🏳️‍🌈",DTe="🏳️‍⚧️",LTe="🏴‍☠️",ITe="🇦🇨",NTe="🇦🇩",PTe="🇦🇪",FTe="🇦🇫",jTe="🇦🇬",BTe="🇦🇮",$Te="🇦🇱",zTe="🇦🇲",qTe="🇦🇴",UTe="🇦🇶",HTe="🇦🇷",VTe="🇦🇸",KTe="🇦🇹",GTe="🇦🇺",WTe="🇦🇼",ZTe="🇦🇽",YTe="🇦🇿",JTe="🇧🇦",QTe="🇧🇧",XTe="🇧🇩",eMe="🇧🇪",tMe="🇧🇫",nMe="🇧🇬",sMe="🇧🇭",oMe="🇧🇮",rMe="🇧🇯",iMe="🇧🇱",aMe="🇧🇲",lMe="🇧🇳",cMe="🇧🇴",uMe="🇧🇶",dMe="🇧🇷",fMe="🇧🇸",hMe="🇧🇹",pMe="🇧🇻",gMe="🇧🇼",mMe="🇧🇾",_Me="🇧🇿",yMe="🇨🇦",bMe="🇨🇨",vMe="🇨🇩",xMe="🇨🇫",wMe="🇨🇬",kMe="🇨🇭",EMe="🇨🇮",CMe="🇨🇰",AMe="🇨🇱",SMe="🇨🇲",TMe="🇨🇳",MMe="🇨🇴",OMe="🇨🇵",RMe="🇨🇷",DMe="🇨🇺",LMe="🇨🇻",IMe="🇨🇼",NMe="🇨🇽",PMe="🇨🇾",FMe="🇨🇿",jMe="🇩🇪",BMe="🇩🇬",$Me="🇩🇯",zMe="🇩🇰",qMe="🇩🇲",UMe="🇩🇴",HMe="🇩🇿",VMe="🇪🇦",KMe="🇪🇨",GMe="🇪🇪",WMe="🇪🇬",ZMe="🇪🇭",YMe="🇪🇷",JMe="🇪🇸",QMe="🇪🇹",XMe="🇪🇺",eOe="🇪🇺",tOe="🇫🇮",nOe="🇫🇯",sOe="🇫🇰",oOe="🇫🇲",rOe="🇫🇴",iOe="🇫🇷",aOe="🇬🇦",lOe="🇬🇧",cOe="🇬🇧",uOe="🇬🇩",dOe="🇬🇪",fOe="🇬🇫",hOe="🇬🇬",pOe="🇬🇭",gOe="🇬🇮",mOe="🇬🇱",_Oe="🇬🇲",yOe="🇬🇳",bOe="🇬🇵",vOe="🇬🇶",xOe="🇬🇷",wOe="🇬🇸",kOe="🇬🇹",EOe="🇬🇺",COe="🇬🇼",AOe="🇬🇾",SOe="🇭🇰",TOe="🇭🇲",MOe="🇭🇳",OOe="🇭🇷",ROe="🇭🇹",DOe="🇭🇺",LOe="🇮🇨",IOe="🇮🇩",NOe="🇮🇪",POe="🇮🇱",FOe="🇮🇲",jOe="🇮🇳",BOe="🇮🇴",$Oe="🇮🇶",zOe="🇮🇷",qOe="🇮🇸",UOe="🇮🇹",HOe="🇯🇪",VOe="🇯🇲",KOe="🇯🇴",GOe="🇯🇵",WOe="🇰🇪",ZOe="🇰🇬",YOe="🇰🇭",JOe="🇰🇮",QOe="🇰🇲",XOe="🇰🇳",eRe="🇰🇵",tRe="🇰🇷",nRe="🇰🇼",sRe="🇰🇾",oRe="🇰🇿",rRe="🇱🇦",iRe="🇱🇧",aRe="🇱🇨",lRe="🇱🇮",cRe="🇱🇰",uRe="🇱🇷",dRe="🇱🇸",fRe="🇱🇹",hRe="🇱🇺",pRe="🇱🇻",gRe="🇱🇾",mRe="🇲🇦",_Re="🇲🇨",yRe="🇲🇩",bRe="🇲🇪",vRe="🇲🇫",xRe="🇲🇬",wRe="🇲🇭",kRe="🇲🇰",ERe="🇲🇱",CRe="🇲🇲",ARe="🇲🇳",SRe="🇲🇴",TRe="🇲🇵",MRe="🇲🇶",ORe="🇲🇷",RRe="🇲🇸",DRe="🇲🇹",LRe="🇲🇺",IRe="🇲🇻",NRe="🇲🇼",PRe="🇲🇽",FRe="🇲🇾",jRe="🇲🇿",BRe="🇳🇦",$Re="🇳🇨",zRe="🇳🇪",qRe="🇳🇫",URe="🇳🇬",HRe="🇳🇮",VRe="🇳🇱",KRe="🇳🇴",GRe="🇳🇵",WRe="🇳🇷",ZRe="🇳🇺",YRe="🇳🇿",JRe="🇴🇲",QRe="🇵🇦",XRe="🇵🇪",eDe="🇵🇫",tDe="🇵🇬",nDe="🇵🇭",sDe="🇵🇰",oDe="🇵🇱",rDe="🇵🇲",iDe="🇵🇳",aDe="🇵🇷",lDe="🇵🇸",cDe="🇵🇹",uDe="🇵🇼",dDe="🇵🇾",fDe="🇶🇦",hDe="🇷🇪",pDe="🇷🇴",gDe="🇷🇸",mDe="🇷🇺",_De="🇷🇼",yDe="🇸🇦",bDe="🇸🇧",vDe="🇸🇨",xDe="🇸🇩",wDe="🇸🇪",kDe="🇸🇬",EDe="🇸🇭",CDe="🇸🇮",ADe="🇸🇯",SDe="🇸🇰",TDe="🇸🇱",MDe="🇸🇲",ODe="🇸🇳",RDe="🇸🇴",DDe="🇸🇷",LDe="🇸🇸",IDe="🇸🇹",NDe="🇸🇻",PDe="🇸🇽",FDe="🇸🇾",jDe="🇸🇿",BDe="🇹🇦",$De="🇹🇨",zDe="🇹🇩",qDe="🇹🇫",UDe="🇹🇬",HDe="🇹🇭",VDe="🇹🇯",KDe="🇹🇰",GDe="🇹🇱",WDe="🇹🇲",ZDe="🇹🇳",YDe="🇹🇴",JDe="🇹🇷",QDe="🇹🇹",XDe="🇹🇻",eLe="🇹🇼",tLe="🇹🇿",nLe="🇺🇦",sLe="🇺🇬",oLe="🇺🇲",rLe="🇺🇳",iLe="🇺🇸",aLe="🇺🇾",lLe="🇺🇿",cLe="🇻🇦",uLe="🇻🇨",dLe="🇻🇪",fLe="🇻🇬",hLe="🇻🇮",pLe="🇻🇳",gLe="🇻🇺",mLe="🇼🇫",_Le="🇼🇸",yLe="🇽🇰",bLe="🇾🇪",vLe="🇾🇹",xLe="🇿🇦",wLe="🇿🇲",kLe="🇿🇼",ELe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",CLe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",ALe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",SLe={100:"💯",1234:"🔢",grinning:jce,smiley:Bce,smile:$ce,grin:zce,laughing:qce,satisfied:Uce,sweat_smile:Hce,rofl:Vce,joy:Kce,slightly_smiling_face:Gce,upside_down_face:Wce,wink:Zce,blush:Yce,innocent:Jce,smiling_face_with_three_hearts:Qce,heart_eyes:Xce,star_struck:eue,kissing_heart:tue,kissing:nue,relaxed:sue,kissing_closed_eyes:oue,kissing_smiling_eyes:rue,smiling_face_with_tear:iue,yum:aue,stuck_out_tongue:lue,stuck_out_tongue_winking_eye:cue,zany_face:uue,stuck_out_tongue_closed_eyes:due,money_mouth_face:fue,hugs:hue,hand_over_mouth:pue,shushing_face:gue,thinking:mue,zipper_mouth_face:_ue,raised_eyebrow:yue,neutral_face:bue,expressionless:vue,no_mouth:xue,smirk:wue,unamused:kue,roll_eyes:Eue,grimacing:Cue,lying_face:Aue,relieved:Sue,pensive:Tue,sleepy:Mue,drooling_face:Oue,sleeping:Rue,mask:Due,face_with_thermometer:Lue,face_with_head_bandage:Iue,nauseated_face:Nue,vomiting_face:Pue,sneezing_face:Fue,hot_face:jue,cold_face:Bue,woozy_face:$ue,dizzy_face:zue,exploding_head:que,cowboy_hat_face:Uue,partying_face:Hue,disguised_face:Vue,sunglasses:Kue,nerd_face:Gue,monocle_face:Wue,confused:Zue,worried:Yue,slightly_frowning_face:Jue,frowning_face:Que,open_mouth:Xue,hushed:ede,astonished:tde,flushed:nde,pleading_face:sde,frowning:ode,anguished:rde,fearful:ide,cold_sweat:ade,disappointed_relieved:lde,cry:cde,sob:ude,scream:dde,confounded:fde,persevere:hde,disappointed:pde,sweat:gde,weary:mde,tired_face:_de,yawning_face:yde,triumph:bde,rage:vde,pout:xde,angry:wde,cursing_face:kde,smiling_imp:Ede,imp:Cde,skull:Ade,skull_and_crossbones:Sde,hankey:Tde,poop:Mde,shit:Ode,clown_face:Rde,japanese_ogre:Dde,japanese_goblin:Lde,ghost:Ide,alien:Nde,space_invader:Pde,robot:Fde,smiley_cat:jde,smile_cat:Bde,joy_cat:$de,heart_eyes_cat:zde,smirk_cat:qde,kissing_cat:Ude,scream_cat:Hde,crying_cat_face:Vde,pouting_cat:Kde,see_no_evil:Gde,hear_no_evil:Wde,speak_no_evil:Zde,kiss:Yde,love_letter:Jde,cupid:Qde,gift_heart:Xde,sparkling_heart:efe,heartpulse:tfe,heartbeat:nfe,revolving_hearts:sfe,two_hearts:ofe,heart_decoration:rfe,heavy_heart_exclamation:ife,broken_heart:afe,heart:lfe,orange_heart:cfe,yellow_heart:ufe,green_heart:dfe,blue_heart:ffe,purple_heart:hfe,brown_heart:pfe,black_heart:gfe,white_heart:mfe,anger:_fe,boom:yfe,collision:bfe,dizzy:vfe,sweat_drops:xfe,dash:wfe,hole:kfe,bomb:Efe,speech_balloon:Cfe,eye_speech_bubble:Afe,left_speech_bubble:Sfe,right_anger_bubble:Tfe,thought_balloon:Mfe,zzz:Ofe,wave:Rfe,raised_back_of_hand:Dfe,raised_hand_with_fingers_splayed:Lfe,hand:Ife,raised_hand:Nfe,vulcan_salute:Pfe,ok_hand:Ffe,pinched_fingers:jfe,pinching_hand:Bfe,v:$fe,crossed_fingers:zfe,love_you_gesture:qfe,metal:Ufe,call_me_hand:Hfe,point_left:Vfe,point_right:Kfe,point_up_2:Gfe,middle_finger:Wfe,fu:Zfe,point_down:Yfe,point_up:Jfe,"+1":"👍",thumbsup:Qfe,"-1":"👎",thumbsdown:Xfe,fist_raised:ehe,fist:the,fist_oncoming:nhe,facepunch:she,punch:ohe,fist_left:rhe,fist_right:ihe,clap:ahe,raised_hands:lhe,open_hands:che,palms_up_together:uhe,handshake:dhe,pray:fhe,writing_hand:hhe,nail_care:phe,selfie:ghe,muscle:mhe,mechanical_arm:_he,mechanical_leg:yhe,leg:bhe,foot:vhe,ear:xhe,ear_with_hearing_aid:whe,nose:khe,brain:Ehe,anatomical_heart:Che,lungs:Ahe,tooth:She,bone:The,eyes:Mhe,eye:Ohe,tongue:Rhe,lips:Dhe,baby:Lhe,child:Ihe,boy:Nhe,girl:Phe,adult:Fhe,blond_haired_person:jhe,man:Bhe,bearded_person:$he,red_haired_man:zhe,curly_haired_man:qhe,white_haired_man:Uhe,bald_man:Hhe,woman:Vhe,red_haired_woman:Khe,person_red_hair:Ghe,curly_haired_woman:Whe,person_curly_hair:Zhe,white_haired_woman:Yhe,person_white_hair:Jhe,bald_woman:Qhe,person_bald:Xhe,blond_haired_woman:epe,blonde_woman:tpe,blond_haired_man:npe,older_adult:spe,older_man:ope,older_woman:rpe,frowning_person:ipe,frowning_man:ape,frowning_woman:lpe,pouting_face:cpe,pouting_man:upe,pouting_woman:dpe,no_good:fpe,no_good_man:hpe,ng_man:ppe,no_good_woman:gpe,ng_woman:mpe,ok_person:_pe,ok_man:ype,ok_woman:bpe,tipping_hand_person:vpe,information_desk_person:xpe,tipping_hand_man:wpe,sassy_man:kpe,tipping_hand_woman:Epe,sassy_woman:Cpe,raising_hand:Ape,raising_hand_man:Spe,raising_hand_woman:Tpe,deaf_person:Mpe,deaf_man:Ope,deaf_woman:Rpe,bow:Dpe,bowing_man:Lpe,bowing_woman:Ipe,facepalm:Npe,man_facepalming:Ppe,woman_facepalming:Fpe,shrug:jpe,man_shrugging:Bpe,woman_shrugging:$pe,health_worker:zpe,man_health_worker:qpe,woman_health_worker:Upe,student:Hpe,man_student:Vpe,woman_student:Kpe,teacher:Gpe,man_teacher:Wpe,woman_teacher:Zpe,judge:Ype,man_judge:Jpe,woman_judge:Qpe,farmer:Xpe,man_farmer:ege,woman_farmer:tge,cook:nge,man_cook:sge,woman_cook:oge,mechanic:rge,man_mechanic:ige,woman_mechanic:age,factory_worker:lge,man_factory_worker:cge,woman_factory_worker:uge,office_worker:dge,man_office_worker:fge,woman_office_worker:hge,scientist:pge,man_scientist:gge,woman_scientist:mge,technologist:_ge,man_technologist:yge,woman_technologist:bge,singer:vge,man_singer:xge,woman_singer:wge,artist:kge,man_artist:Ege,woman_artist:Cge,pilot:Age,man_pilot:Sge,woman_pilot:Tge,astronaut:Mge,man_astronaut:Oge,woman_astronaut:Rge,firefighter:Dge,man_firefighter:Lge,woman_firefighter:Ige,police_officer:Nge,cop:Pge,policeman:Fge,policewoman:jge,detective:Bge,male_detective:$ge,female_detective:zge,guard:qge,guardsman:Uge,guardswoman:Hge,ninja:Vge,construction_worker:Kge,construction_worker_man:Gge,construction_worker_woman:Wge,prince:Zge,princess:Yge,person_with_turban:Jge,man_with_turban:Qge,woman_with_turban:Xge,man_with_gua_pi_mao:eme,woman_with_headscarf:tme,person_in_tuxedo:nme,man_in_tuxedo:sme,woman_in_tuxedo:ome,person_with_veil:rme,man_with_veil:ime,woman_with_veil:ame,bride_with_veil:lme,pregnant_woman:cme,breast_feeding:ume,woman_feeding_baby:dme,man_feeding_baby:fme,person_feeding_baby:hme,angel:pme,santa:gme,mrs_claus:mme,mx_claus:_me,superhero:yme,superhero_man:bme,superhero_woman:vme,supervillain:xme,supervillain_man:wme,supervillain_woman:kme,mage:Eme,mage_man:Cme,mage_woman:Ame,fairy:Sme,fairy_man:Tme,fairy_woman:Mme,vampire:Ome,vampire_man:Rme,vampire_woman:Dme,merperson:Lme,merman:Ime,mermaid:Nme,elf:Pme,elf_man:Fme,elf_woman:jme,genie:Bme,genie_man:$me,genie_woman:zme,zombie:qme,zombie_man:Ume,zombie_woman:Hme,massage:Vme,massage_man:Kme,massage_woman:Gme,haircut:Wme,haircut_man:Zme,haircut_woman:Yme,walking:Jme,walking_man:Qme,walking_woman:Xme,standing_person:e_e,standing_man:t_e,standing_woman:n_e,kneeling_person:s_e,kneeling_man:o_e,kneeling_woman:r_e,person_with_probing_cane:i_e,man_with_probing_cane:a_e,woman_with_probing_cane:l_e,person_in_motorized_wheelchair:c_e,man_in_motorized_wheelchair:u_e,woman_in_motorized_wheelchair:d_e,person_in_manual_wheelchair:f_e,man_in_manual_wheelchair:h_e,woman_in_manual_wheelchair:p_e,runner:g_e,running:m_e,running_man:__e,running_woman:y_e,woman_dancing:b_e,dancer:v_e,man_dancing:x_e,business_suit_levitating:w_e,dancers:k_e,dancing_men:E_e,dancing_women:C_e,sauna_person:A_e,sauna_man:S_e,sauna_woman:T_e,climbing:M_e,climbing_man:O_e,climbing_woman:R_e,person_fencing:D_e,horse_racing:L_e,skier:I_e,snowboarder:N_e,golfing:P_e,golfing_man:F_e,golfing_woman:j_e,surfer:B_e,surfing_man:$_e,surfing_woman:z_e,rowboat:q_e,rowing_man:U_e,rowing_woman:H_e,swimmer:V_e,swimming_man:K_e,swimming_woman:G_e,bouncing_ball_person:W_e,bouncing_ball_man:Z_e,basketball_man:Y_e,bouncing_ball_woman:J_e,basketball_woman:Q_e,weight_lifting:X_e,weight_lifting_man:e1e,weight_lifting_woman:t1e,bicyclist:n1e,biking_man:s1e,biking_woman:o1e,mountain_bicyclist:r1e,mountain_biking_man:i1e,mountain_biking_woman:a1e,cartwheeling:l1e,man_cartwheeling:c1e,woman_cartwheeling:u1e,wrestling:d1e,men_wrestling:f1e,women_wrestling:h1e,water_polo:p1e,man_playing_water_polo:g1e,woman_playing_water_polo:m1e,handball_person:_1e,man_playing_handball:y1e,woman_playing_handball:b1e,juggling_person:v1e,man_juggling:x1e,woman_juggling:w1e,lotus_position:k1e,lotus_position_man:E1e,lotus_position_woman:C1e,bath:A1e,sleeping_bed:S1e,people_holding_hands:T1e,two_women_holding_hands:M1e,couple:O1e,two_men_holding_hands:R1e,couplekiss:D1e,couplekiss_man_woman:L1e,couplekiss_man_man:I1e,couplekiss_woman_woman:N1e,couple_with_heart:P1e,couple_with_heart_woman_man:F1e,couple_with_heart_man_man:j1e,couple_with_heart_woman_woman:B1e,family:$1e,family_man_woman_boy:z1e,family_man_woman_girl:q1e,family_man_woman_girl_boy:U1e,family_man_woman_boy_boy:H1e,family_man_woman_girl_girl:V1e,family_man_man_boy:K1e,family_man_man_girl:G1e,family_man_man_girl_boy:W1e,family_man_man_boy_boy:Z1e,family_man_man_girl_girl:Y1e,family_woman_woman_boy:J1e,family_woman_woman_girl:Q1e,family_woman_woman_girl_boy:X1e,family_woman_woman_boy_boy:e0e,family_woman_woman_girl_girl:t0e,family_man_boy:n0e,family_man_boy_boy:s0e,family_man_girl:o0e,family_man_girl_boy:r0e,family_man_girl_girl:i0e,family_woman_boy:a0e,family_woman_boy_boy:l0e,family_woman_girl:c0e,family_woman_girl_boy:u0e,family_woman_girl_girl:d0e,speaking_head:f0e,bust_in_silhouette:h0e,busts_in_silhouette:p0e,people_hugging:g0e,footprints:m0e,monkey_face:_0e,monkey:y0e,gorilla:b0e,orangutan:v0e,dog:x0e,dog2:w0e,guide_dog:k0e,service_dog:E0e,poodle:C0e,wolf:A0e,fox_face:S0e,raccoon:T0e,cat:M0e,cat2:O0e,black_cat:R0e,lion:D0e,tiger:L0e,tiger2:I0e,leopard:N0e,horse:P0e,racehorse:F0e,unicorn:j0e,zebra:B0e,deer:$0e,bison:z0e,cow:q0e,ox:U0e,water_buffalo:H0e,cow2:V0e,pig:K0e,pig2:G0e,boar:W0e,pig_nose:Z0e,ram:Y0e,sheep:J0e,goat:Q0e,dromedary_camel:X0e,camel:eye,llama:tye,giraffe:nye,elephant:sye,mammoth:oye,rhinoceros:rye,hippopotamus:iye,mouse:aye,mouse2:lye,rat:cye,hamster:uye,rabbit:dye,rabbit2:fye,chipmunk:hye,beaver:pye,hedgehog:gye,bat:mye,bear:_ye,polar_bear:yye,koala:bye,panda_face:vye,sloth:xye,otter:wye,skunk:kye,kangaroo:Eye,badger:Cye,feet:Aye,paw_prints:Sye,turkey:Tye,chicken:Mye,rooster:Oye,hatching_chick:Rye,baby_chick:Dye,hatched_chick:Lye,bird:Iye,penguin:Nye,dove:Pye,eagle:Fye,duck:jye,swan:Bye,owl:$ye,dodo:zye,feather:qye,flamingo:Uye,peacock:Hye,parrot:Vye,frog:Kye,crocodile:Gye,turtle:Wye,lizard:Zye,snake:Yye,dragon_face:Jye,dragon:Qye,sauropod:Xye,"t-rex":"🦖",whale:ebe,whale2:tbe,dolphin:nbe,flipper:sbe,seal:obe,fish:rbe,tropical_fish:ibe,blowfish:abe,shark:lbe,octopus:cbe,shell:ube,snail:dbe,butterfly:fbe,bug:hbe,ant:pbe,bee:gbe,honeybee:mbe,beetle:_be,lady_beetle:ybe,cricket:bbe,cockroach:vbe,spider:xbe,spider_web:wbe,scorpion:kbe,mosquito:Ebe,fly:Cbe,worm:Abe,microbe:Sbe,bouquet:Tbe,cherry_blossom:Mbe,white_flower:Obe,rosette:Rbe,rose:Dbe,wilted_flower:Lbe,hibiscus:Ibe,sunflower:Nbe,blossom:Pbe,tulip:Fbe,seedling:jbe,potted_plant:Bbe,evergreen_tree:$be,deciduous_tree:zbe,palm_tree:qbe,cactus:Ube,ear_of_rice:Hbe,herb:Vbe,shamrock:Kbe,four_leaf_clover:Gbe,maple_leaf:Wbe,fallen_leaf:Zbe,leaves:Ybe,grapes:Jbe,melon:Qbe,watermelon:Xbe,tangerine:e2e,orange:t2e,mandarin:n2e,lemon:s2e,banana:o2e,pineapple:r2e,mango:i2e,apple:a2e,green_apple:l2e,pear:c2e,peach:u2e,cherries:d2e,strawberry:f2e,blueberries:h2e,kiwi_fruit:p2e,tomato:g2e,olive:m2e,coconut:_2e,avocado:y2e,eggplant:b2e,potato:v2e,carrot:x2e,corn:w2e,hot_pepper:k2e,bell_pepper:E2e,cucumber:C2e,leafy_green:A2e,broccoli:S2e,garlic:T2e,onion:M2e,mushroom:O2e,peanuts:R2e,chestnut:D2e,bread:L2e,croissant:I2e,baguette_bread:N2e,flatbread:P2e,pretzel:F2e,bagel:j2e,pancakes:B2e,waffle:$2e,cheese:z2e,meat_on_bone:q2e,poultry_leg:U2e,cut_of_meat:H2e,bacon:V2e,hamburger:K2e,fries:G2e,pizza:W2e,hotdog:Z2e,sandwich:Y2e,taco:J2e,burrito:Q2e,tamale:X2e,stuffed_flatbread:eve,falafel:tve,egg:nve,fried_egg:sve,shallow_pan_of_food:ove,stew:rve,fondue:ive,bowl_with_spoon:ave,green_salad:lve,popcorn:cve,butter:uve,salt:dve,canned_food:fve,bento:hve,rice_cracker:pve,rice_ball:gve,rice:mve,curry:_ve,ramen:yve,spaghetti:bve,sweet_potato:vve,oden:xve,sushi:wve,fried_shrimp:kve,fish_cake:Eve,moon_cake:Cve,dango:Ave,dumpling:Sve,fortune_cookie:Tve,takeout_box:Mve,crab:Ove,lobster:Rve,shrimp:Dve,squid:Lve,oyster:Ive,icecream:Nve,shaved_ice:Pve,ice_cream:Fve,doughnut:jve,cookie:Bve,birthday:$ve,cake:zve,cupcake:qve,pie:Uve,chocolate_bar:Hve,candy:Vve,lollipop:Kve,custard:Gve,honey_pot:Wve,baby_bottle:Zve,milk_glass:Yve,coffee:Jve,teapot:Qve,tea:Xve,sake:exe,champagne:txe,wine_glass:nxe,cocktail:sxe,tropical_drink:oxe,beer:rxe,beers:ixe,clinking_glasses:axe,tumbler_glass:lxe,cup_with_straw:cxe,bubble_tea:uxe,beverage_box:dxe,mate:fxe,ice_cube:hxe,chopsticks:pxe,plate_with_cutlery:gxe,fork_and_knife:mxe,spoon:_xe,hocho:yxe,knife:bxe,amphora:vxe,earth_africa:xxe,earth_americas:wxe,earth_asia:kxe,globe_with_meridians:Exe,world_map:Cxe,japan:Axe,compass:Sxe,mountain_snow:Txe,mountain:Mxe,volcano:Oxe,mount_fuji:Rxe,camping:Dxe,beach_umbrella:Lxe,desert:Ixe,desert_island:Nxe,national_park:Pxe,stadium:Fxe,classical_building:jxe,building_construction:Bxe,bricks:$xe,rock:zxe,wood:qxe,hut:Uxe,houses:Hxe,derelict_house:Vxe,house:Kxe,house_with_garden:Gxe,office:Wxe,post_office:Zxe,european_post_office:Yxe,hospital:Jxe,bank:Qxe,hotel:Xxe,love_hotel:ewe,convenience_store:twe,school:nwe,department_store:swe,factory:owe,japanese_castle:rwe,european_castle:iwe,wedding:awe,tokyo_tower:lwe,statue_of_liberty:cwe,church:uwe,mosque:dwe,hindu_temple:fwe,synagogue:hwe,shinto_shrine:pwe,kaaba:gwe,fountain:mwe,tent:_we,foggy:ywe,night_with_stars:bwe,cityscape:vwe,sunrise_over_mountains:xwe,sunrise:wwe,city_sunset:kwe,city_sunrise:Ewe,bridge_at_night:Cwe,hotsprings:Awe,carousel_horse:Swe,ferris_wheel:Twe,roller_coaster:Mwe,barber:Owe,circus_tent:Rwe,steam_locomotive:Dwe,railway_car:Lwe,bullettrain_side:Iwe,bullettrain_front:Nwe,train2:Pwe,metro:Fwe,light_rail:jwe,station:Bwe,tram:$we,monorail:zwe,mountain_railway:qwe,train:Uwe,bus:Hwe,oncoming_bus:Vwe,trolleybus:Kwe,minibus:Gwe,ambulance:Wwe,fire_engine:Zwe,police_car:Ywe,oncoming_police_car:Jwe,taxi:Qwe,oncoming_taxi:Xwe,car:eke,red_car:tke,oncoming_automobile:nke,blue_car:ske,pickup_truck:oke,truck:rke,articulated_lorry:ike,tractor:ake,racing_car:lke,motorcycle:cke,motor_scooter:uke,manual_wheelchair:dke,motorized_wheelchair:fke,auto_rickshaw:hke,bike:pke,kick_scooter:gke,skateboard:mke,roller_skate:_ke,busstop:yke,motorway:bke,railway_track:vke,oil_drum:xke,fuelpump:wke,rotating_light:kke,traffic_light:Eke,vertical_traffic_light:Cke,stop_sign:Ake,construction:Ske,anchor:Tke,boat:Mke,sailboat:Oke,canoe:Rke,speedboat:Dke,passenger_ship:Lke,ferry:Ike,motor_boat:Nke,ship:Pke,airplane:Fke,small_airplane:jke,flight_departure:Bke,flight_arrival:$ke,parachute:zke,seat:qke,helicopter:Uke,suspension_railway:Hke,mountain_cableway:Vke,aerial_tramway:Kke,artificial_satellite:Gke,rocket:Wke,flying_saucer:Zke,bellhop_bell:Yke,luggage:Jke,hourglass:Qke,hourglass_flowing_sand:Xke,watch:eEe,alarm_clock:tEe,stopwatch:nEe,timer_clock:sEe,mantelpiece_clock:oEe,clock12:rEe,clock1230:iEe,clock1:aEe,clock130:lEe,clock2:cEe,clock230:uEe,clock3:dEe,clock330:fEe,clock4:hEe,clock430:pEe,clock5:gEe,clock530:mEe,clock6:_Ee,clock630:yEe,clock7:bEe,clock730:vEe,clock8:xEe,clock830:wEe,clock9:kEe,clock930:EEe,clock10:CEe,clock1030:AEe,clock11:SEe,clock1130:TEe,new_moon:MEe,waxing_crescent_moon:OEe,first_quarter_moon:REe,moon:DEe,waxing_gibbous_moon:LEe,full_moon:IEe,waning_gibbous_moon:NEe,last_quarter_moon:PEe,waning_crescent_moon:FEe,crescent_moon:jEe,new_moon_with_face:BEe,first_quarter_moon_with_face:$Ee,last_quarter_moon_with_face:zEe,thermometer:qEe,sunny:UEe,full_moon_with_face:HEe,sun_with_face:VEe,ringed_planet:KEe,star:GEe,star2:WEe,stars:ZEe,milky_way:YEe,cloud:JEe,partly_sunny:QEe,cloud_with_lightning_and_rain:XEe,sun_behind_small_cloud:e5e,sun_behind_large_cloud:t5e,sun_behind_rain_cloud:n5e,cloud_with_rain:s5e,cloud_with_snow:o5e,cloud_with_lightning:r5e,tornado:i5e,fog:a5e,wind_face:l5e,cyclone:c5e,rainbow:u5e,closed_umbrella:d5e,open_umbrella:f5e,umbrella:h5e,parasol_on_ground:p5e,zap:g5e,snowflake:m5e,snowman_with_snow:_5e,snowman:y5e,comet:b5e,fire:v5e,droplet:x5e,ocean:w5e,jack_o_lantern:k5e,christmas_tree:E5e,fireworks:C5e,sparkler:A5e,firecracker:S5e,sparkles:T5e,balloon:M5e,tada:O5e,confetti_ball:R5e,tanabata_tree:D5e,bamboo:L5e,dolls:I5e,flags:N5e,wind_chime:P5e,rice_scene:F5e,red_envelope:j5e,ribbon:B5e,gift:$5e,reminder_ribbon:z5e,tickets:q5e,ticket:U5e,medal_military:H5e,trophy:V5e,medal_sports:K5e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:G5e,baseball:W5e,softball:Z5e,basketball:Y5e,volleyball:J5e,football:Q5e,rugby_football:X5e,tennis:e4e,flying_disc:t4e,bowling:n4e,cricket_game:s4e,field_hockey:o4e,ice_hockey:r4e,lacrosse:i4e,ping_pong:a4e,badminton:l4e,boxing_glove:c4e,martial_arts_uniform:u4e,goal_net:d4e,golf:f4e,ice_skate:h4e,fishing_pole_and_fish:p4e,diving_mask:g4e,running_shirt_with_sash:m4e,ski:_4e,sled:y4e,curling_stone:b4e,dart:v4e,yo_yo:x4e,kite:w4e,"8ball":"🎱",crystal_ball:k4e,magic_wand:E4e,nazar_amulet:C4e,video_game:A4e,joystick:S4e,slot_machine:T4e,game_die:M4e,jigsaw:O4e,teddy_bear:R4e,pinata:D4e,nesting_dolls:L4e,spades:I4e,hearts:N4e,diamonds:P4e,clubs:F4e,chess_pawn:j4e,black_joker:B4e,mahjong:$4e,flower_playing_cards:z4e,performing_arts:q4e,framed_picture:U4e,art:H4e,thread:V4e,sewing_needle:K4e,yarn:G4e,knot:W4e,eyeglasses:Z4e,dark_sunglasses:Y4e,goggles:J4e,lab_coat:Q4e,safety_vest:X4e,necktie:e3e,shirt:t3e,tshirt:n3e,jeans:s3e,scarf:o3e,gloves:r3e,coat:i3e,socks:a3e,dress:l3e,kimono:c3e,sari:u3e,one_piece_swimsuit:d3e,swim_brief:f3e,shorts:h3e,bikini:p3e,womans_clothes:g3e,purse:m3e,handbag:_3e,pouch:y3e,shopping:b3e,school_satchel:v3e,thong_sandal:x3e,mans_shoe:w3e,shoe:k3e,athletic_shoe:E3e,hiking_boot:C3e,flat_shoe:A3e,high_heel:S3e,sandal:T3e,ballet_shoes:M3e,boot:O3e,crown:R3e,womans_hat:D3e,tophat:L3e,mortar_board:I3e,billed_cap:N3e,military_helmet:P3e,rescue_worker_helmet:F3e,prayer_beads:j3e,lipstick:B3e,ring:$3e,gem:z3e,mute:q3e,speaker:U3e,sound:H3e,loud_sound:V3e,loudspeaker:K3e,mega:G3e,postal_horn:W3e,bell:Z3e,no_bell:Y3e,musical_score:J3e,musical_note:Q3e,notes:X3e,studio_microphone:eCe,level_slider:tCe,control_knobs:nCe,microphone:sCe,headphones:oCe,radio:rCe,saxophone:iCe,accordion:aCe,guitar:lCe,musical_keyboard:cCe,trumpet:uCe,violin:dCe,banjo:fCe,drum:hCe,long_drum:pCe,iphone:gCe,calling:mCe,phone:_Ce,telephone:yCe,telephone_receiver:bCe,pager:vCe,fax:xCe,battery:wCe,electric_plug:kCe,computer:ECe,desktop_computer:CCe,printer:ACe,keyboard:SCe,computer_mouse:TCe,trackball:MCe,minidisc:OCe,floppy_disk:RCe,cd:DCe,dvd:LCe,abacus:ICe,movie_camera:NCe,film_strip:PCe,film_projector:FCe,clapper:jCe,tv:BCe,camera:$Ce,camera_flash:zCe,video_camera:qCe,vhs:UCe,mag:HCe,mag_right:VCe,candle:KCe,bulb:GCe,flashlight:WCe,izakaya_lantern:ZCe,lantern:YCe,diya_lamp:JCe,notebook_with_decorative_cover:QCe,closed_book:XCe,book:e8e,open_book:t8e,green_book:n8e,blue_book:s8e,orange_book:o8e,books:r8e,notebook:i8e,ledger:a8e,page_with_curl:l8e,scroll:c8e,page_facing_up:u8e,newspaper:d8e,newspaper_roll:f8e,bookmark_tabs:h8e,bookmark:p8e,label:g8e,moneybag:m8e,coin:_8e,yen:y8e,dollar:b8e,euro:v8e,pound:x8e,money_with_wings:w8e,credit_card:k8e,receipt:E8e,chart:C8e,envelope:A8e,email:S8e,"e-mail":"📧",incoming_envelope:T8e,envelope_with_arrow:M8e,outbox_tray:O8e,inbox_tray:R8e,package:"📦",mailbox:D8e,mailbox_closed:L8e,mailbox_with_mail:I8e,mailbox_with_no_mail:N8e,postbox:P8e,ballot_box:F8e,pencil2:j8e,black_nib:B8e,fountain_pen:$8e,pen:z8e,paintbrush:q8e,crayon:U8e,memo:H8e,pencil:V8e,briefcase:K8e,file_folder:G8e,open_file_folder:W8e,card_index_dividers:Z8e,date:Y8e,calendar:J8e,spiral_notepad:Q8e,spiral_calendar:X8e,card_index:eAe,chart_with_upwards_trend:tAe,chart_with_downwards_trend:nAe,bar_chart:sAe,clipboard:oAe,pushpin:rAe,round_pushpin:iAe,paperclip:aAe,paperclips:lAe,straight_ruler:cAe,triangular_ruler:uAe,scissors:dAe,card_file_box:fAe,file_cabinet:hAe,wastebasket:pAe,lock:gAe,unlock:mAe,lock_with_ink_pen:_Ae,closed_lock_with_key:yAe,key:bAe,old_key:vAe,hammer:xAe,axe:wAe,pick:kAe,hammer_and_pick:EAe,hammer_and_wrench:CAe,dagger:AAe,crossed_swords:SAe,gun:TAe,boomerang:MAe,bow_and_arrow:OAe,shield:RAe,carpentry_saw:DAe,wrench:LAe,screwdriver:IAe,nut_and_bolt:NAe,gear:PAe,clamp:FAe,balance_scale:jAe,probing_cane:BAe,link:$Ae,chains:zAe,hook:qAe,toolbox:UAe,magnet:HAe,ladder:VAe,alembic:KAe,test_tube:GAe,petri_dish:WAe,dna:ZAe,microscope:YAe,telescope:JAe,satellite:QAe,syringe:XAe,drop_of_blood:e9e,pill:t9e,adhesive_bandage:n9e,stethoscope:s9e,door:o9e,elevator:r9e,mirror:i9e,window:a9e,bed:l9e,couch_and_lamp:c9e,chair:u9e,toilet:d9e,plunger:f9e,shower:h9e,bathtub:p9e,mouse_trap:g9e,razor:m9e,lotion_bottle:_9e,safety_pin:y9e,broom:b9e,basket:v9e,roll_of_paper:x9e,bucket:w9e,soap:k9e,toothbrush:E9e,sponge:C9e,fire_extinguisher:A9e,shopping_cart:S9e,smoking:T9e,coffin:M9e,headstone:O9e,funeral_urn:R9e,moyai:D9e,placard:L9e,atm:I9e,put_litter_in_its_place:N9e,potable_water:P9e,wheelchair:F9e,mens:j9e,womens:B9e,restroom:$9e,baby_symbol:z9e,wc:q9e,passport_control:U9e,customs:H9e,baggage_claim:V9e,left_luggage:K9e,warning:G9e,children_crossing:W9e,no_entry:Z9e,no_entry_sign:Y9e,no_bicycles:J9e,no_smoking:Q9e,do_not_litter:X9e,"non-potable_water":"🚱",no_pedestrians:e6e,no_mobile_phones:t6e,underage:n6e,radioactive:s6e,biohazard:o6e,arrow_up:r6e,arrow_upper_right:i6e,arrow_right:a6e,arrow_lower_right:l6e,arrow_down:c6e,arrow_lower_left:u6e,arrow_left:d6e,arrow_upper_left:f6e,arrow_up_down:h6e,left_right_arrow:p6e,leftwards_arrow_with_hook:g6e,arrow_right_hook:m6e,arrow_heading_up:_6e,arrow_heading_down:y6e,arrows_clockwise:b6e,arrows_counterclockwise:v6e,back:x6e,end:w6e,on:k6e,soon:E6e,top:C6e,place_of_worship:A6e,atom_symbol:S6e,om:T6e,star_of_david:M6e,wheel_of_dharma:O6e,yin_yang:R6e,latin_cross:D6e,orthodox_cross:L6e,star_and_crescent:I6e,peace_symbol:N6e,menorah:P6e,six_pointed_star:F6e,aries:j6e,taurus:B6e,gemini:$6e,cancer:z6e,leo:q6e,virgo:U6e,libra:H6e,scorpius:V6e,sagittarius:K6e,capricorn:G6e,aquarius:W6e,pisces:Z6e,ophiuchus:Y6e,twisted_rightwards_arrows:J6e,repeat:Q6e,repeat_one:X6e,arrow_forward:eSe,fast_forward:tSe,next_track_button:nSe,play_or_pause_button:sSe,arrow_backward:oSe,rewind:rSe,previous_track_button:iSe,arrow_up_small:aSe,arrow_double_up:lSe,arrow_down_small:cSe,arrow_double_down:uSe,pause_button:dSe,stop_button:fSe,record_button:hSe,eject_button:pSe,cinema:gSe,low_brightness:mSe,high_brightness:_Se,signal_strength:ySe,vibration_mode:bSe,mobile_phone_off:vSe,female_sign:xSe,male_sign:wSe,transgender_symbol:kSe,heavy_multiplication_x:ESe,heavy_plus_sign:CSe,heavy_minus_sign:ASe,heavy_division_sign:SSe,infinity:TSe,bangbang:MSe,interrobang:OSe,question:RSe,grey_question:DSe,grey_exclamation:LSe,exclamation:ISe,heavy_exclamation_mark:NSe,wavy_dash:PSe,currency_exchange:FSe,heavy_dollar_sign:jSe,medical_symbol:BSe,recycle:$Se,fleur_de_lis:zSe,trident:qSe,name_badge:USe,beginner:HSe,o:VSe,white_check_mark:KSe,ballot_box_with_check:GSe,heavy_check_mark:WSe,x:ZSe,negative_squared_cross_mark:YSe,curly_loop:JSe,loop:QSe,part_alternation_mark:XSe,eight_spoked_asterisk:e7e,eight_pointed_black_star:t7e,sparkle:n7e,copyright:s7e,registered:o7e,tm:r7e,hash:i7e,asterisk:a7e,zero:l7e,one:c7e,two:u7e,three:d7e,four:f7e,five:h7e,six:p7e,seven:g7e,eight:m7e,nine:_7e,keycap_ten:y7e,capital_abcd:b7e,abcd:v7e,symbols:x7e,abc:w7e,a:k7e,ab:E7e,b:C7e,cl:A7e,cool:S7e,free:T7e,information_source:M7e,id:O7e,m:R7e,new:"🆕",ng:D7e,o2:L7e,ok:I7e,parking:N7e,sos:P7e,up:F7e,vs:j7e,koko:B7e,sa:$7e,ideograph_advantage:z7e,accept:q7e,congratulations:U7e,secret:H7e,u6e80:V7e,red_circle:K7e,orange_circle:G7e,yellow_circle:W7e,green_circle:Z7e,large_blue_circle:Y7e,purple_circle:J7e,brown_circle:Q7e,black_circle:X7e,white_circle:eTe,red_square:tTe,orange_square:nTe,yellow_square:sTe,green_square:oTe,blue_square:rTe,purple_square:iTe,brown_square:aTe,black_large_square:lTe,white_large_square:cTe,black_medium_square:uTe,white_medium_square:dTe,black_medium_small_square:fTe,white_medium_small_square:hTe,black_small_square:pTe,white_small_square:gTe,large_orange_diamond:mTe,large_blue_diamond:_Te,small_orange_diamond:yTe,small_blue_diamond:bTe,small_red_triangle:vTe,small_red_triangle_down:xTe,diamond_shape_with_a_dot_inside:wTe,radio_button:kTe,white_square_button:ETe,black_square_button:CTe,checkered_flag:ATe,triangular_flag_on_post:STe,crossed_flags:TTe,black_flag:MTe,white_flag:OTe,rainbow_flag:RTe,transgender_flag:DTe,pirate_flag:LTe,ascension_island:ITe,andorra:NTe,united_arab_emirates:PTe,afghanistan:FTe,antigua_barbuda:jTe,anguilla:BTe,albania:$Te,armenia:zTe,angola:qTe,antarctica:UTe,argentina:HTe,american_samoa:VTe,austria:KTe,australia:GTe,aruba:WTe,aland_islands:ZTe,azerbaijan:YTe,bosnia_herzegovina:JTe,barbados:QTe,bangladesh:XTe,belgium:eMe,burkina_faso:tMe,bulgaria:nMe,bahrain:sMe,burundi:oMe,benin:rMe,st_barthelemy:iMe,bermuda:aMe,brunei:lMe,bolivia:cMe,caribbean_netherlands:uMe,brazil:dMe,bahamas:fMe,bhutan:hMe,bouvet_island:pMe,botswana:gMe,belarus:mMe,belize:_Me,canada:yMe,cocos_islands:bMe,congo_kinshasa:vMe,central_african_republic:xMe,congo_brazzaville:wMe,switzerland:kMe,cote_divoire:EMe,cook_islands:CMe,chile:AMe,cameroon:SMe,cn:TMe,colombia:MMe,clipperton_island:OMe,costa_rica:RMe,cuba:DMe,cape_verde:LMe,curacao:IMe,christmas_island:NMe,cyprus:PMe,czech_republic:FMe,de:jMe,diego_garcia:BMe,djibouti:$Me,denmark:zMe,dominica:qMe,dominican_republic:UMe,algeria:HMe,ceuta_melilla:VMe,ecuador:KMe,estonia:GMe,egypt:WMe,western_sahara:ZMe,eritrea:YMe,es:JMe,ethiopia:QMe,eu:XMe,european_union:eOe,finland:tOe,fiji:nOe,falkland_islands:sOe,micronesia:oOe,faroe_islands:rOe,fr:iOe,gabon:aOe,gb:lOe,uk:cOe,grenada:uOe,georgia:dOe,french_guiana:fOe,guernsey:hOe,ghana:pOe,gibraltar:gOe,greenland:mOe,gambia:_Oe,guinea:yOe,guadeloupe:bOe,equatorial_guinea:vOe,greece:xOe,south_georgia_south_sandwich_islands:wOe,guatemala:kOe,guam:EOe,guinea_bissau:COe,guyana:AOe,hong_kong:SOe,heard_mcdonald_islands:TOe,honduras:MOe,croatia:OOe,haiti:ROe,hungary:DOe,canary_islands:LOe,indonesia:IOe,ireland:NOe,israel:POe,isle_of_man:FOe,india:jOe,british_indian_ocean_territory:BOe,iraq:$Oe,iran:zOe,iceland:qOe,it:UOe,jersey:HOe,jamaica:VOe,jordan:KOe,jp:GOe,kenya:WOe,kyrgyzstan:ZOe,cambodia:YOe,kiribati:JOe,comoros:QOe,st_kitts_nevis:XOe,north_korea:eRe,kr:tRe,kuwait:nRe,cayman_islands:sRe,kazakhstan:oRe,laos:rRe,lebanon:iRe,st_lucia:aRe,liechtenstein:lRe,sri_lanka:cRe,liberia:uRe,lesotho:dRe,lithuania:fRe,luxembourg:hRe,latvia:pRe,libya:gRe,morocco:mRe,monaco:_Re,moldova:yRe,montenegro:bRe,st_martin:vRe,madagascar:xRe,marshall_islands:wRe,macedonia:kRe,mali:ERe,myanmar:CRe,mongolia:ARe,macau:SRe,northern_mariana_islands:TRe,martinique:MRe,mauritania:ORe,montserrat:RRe,malta:DRe,mauritius:LRe,maldives:IRe,malawi:NRe,mexico:PRe,malaysia:FRe,mozambique:jRe,namibia:BRe,new_caledonia:$Re,niger:zRe,norfolk_island:qRe,nigeria:URe,nicaragua:HRe,netherlands:VRe,norway:KRe,nepal:GRe,nauru:WRe,niue:ZRe,new_zealand:YRe,oman:JRe,panama:QRe,peru:XRe,french_polynesia:eDe,papua_new_guinea:tDe,philippines:nDe,pakistan:sDe,poland:oDe,st_pierre_miquelon:rDe,pitcairn_islands:iDe,puerto_rico:aDe,palestinian_territories:lDe,portugal:cDe,palau:uDe,paraguay:dDe,qatar:fDe,reunion:hDe,romania:pDe,serbia:gDe,ru:mDe,rwanda:_De,saudi_arabia:yDe,solomon_islands:bDe,seychelles:vDe,sudan:xDe,sweden:wDe,singapore:kDe,st_helena:EDe,slovenia:CDe,svalbard_jan_mayen:ADe,slovakia:SDe,sierra_leone:TDe,san_marino:MDe,senegal:ODe,somalia:RDe,suriname:DDe,south_sudan:LDe,sao_tome_principe:IDe,el_salvador:NDe,sint_maarten:PDe,syria:FDe,swaziland:jDe,tristan_da_cunha:BDe,turks_caicos_islands:$De,chad:zDe,french_southern_territories:qDe,togo:UDe,thailand:HDe,tajikistan:VDe,tokelau:KDe,timor_leste:GDe,turkmenistan:WDe,tunisia:ZDe,tonga:YDe,tr:JDe,trinidad_tobago:QDe,tuvalu:XDe,taiwan:eLe,tanzania:tLe,ukraine:nLe,uganda:sLe,us_outlying_islands:oLe,united_nations:rLe,us:iLe,uruguay:aLe,uzbekistan:lLe,vatican_city:cLe,st_vincent_grenadines:uLe,venezuela:dLe,british_virgin_islands:fLe,us_virgin_islands:hLe,vietnam:pLe,vanuatu:gLe,wallis_futuna:mLe,samoa:_Le,kosovo:yLe,yemen:bLe,mayotte:vLe,south_africa:xLe,zambia:wLe,zimbabwe:kLe,england:ELe,scotland:CLe,wales:ALe};var TLe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(_[y-1])||y+v.length<_.length&&!l.test(_[y+v.length]))return}else w=v.slice(1,-1);y>g&&(p=new h("text","",0),p.content=u.slice(g,y),m.push(p)),p=new h("emoji","",0),p.markup=w,p.content=n[w],m.push(p),g=y+v.length}),g=0;h--)v=m[h],(v.type==="link_open"||v.type==="link_close")&&v.info==="auto"&&(_-=v.nesting),v.type==="text"&&_===0&&o.test(v.content)&&(y[p].children=m=i(m,h,c(v.content,v.level,f.Token)))}};function RLe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var DLe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,c){return e.enabled.indexOf(c)>=0&&(l[c]=n[c]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,c){return n[c]?Array.isArray(e.shortcuts[c])?(e.shortcuts[c].forEach(function(u){l[u]=c}),l):(l[e.shortcuts[c]]=c,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return RLe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},LLe=MLe,ILe=OLe,NLe=DLe,PLe=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=NLe(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=LLe,e.core.ruler.after("linkify","emoji",ILe(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},FLe=SLe,jLe=TLe,BLe=PLe,$Le=function(e,n){var s={defs:FLe,shortcuts:jLe,enabled:[]},o=e.utils.assign({},s,n||{});BLe(e,o)};const zLe=zs($Le);function rp(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&rp(n)}),t}class Ku{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ip(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function Sn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const qLe="",Gu=t=>!!t.scope,ULe=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((s,o)=>`${s}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class HLe{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=ip(e)}openNode(e){if(!Gu(e))return;const n=ULe(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Gu(e)&&(this.buffer+=qLe)}value(){return this.buffer}span(e){this.buffer+=``}}const Wu=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Sl{constructor(){this.rootNode=Wu(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=Wu({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(s=>this._walk(e,s)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Sl._collapse(n)}))}}class VLe extends Sl{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const s=e.root;n&&(s.scope=`language:${n}`),this.add(s)}toHTML(){return new HLe(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function ko(t){return t?typeof t=="string"?t:t.source:null}function ap(t){return ss("(?=",t,")")}function KLe(t){return ss("(?:",t,")*")}function GLe(t){return ss("(?:",t,")?")}function ss(...t){return t.map(n=>ko(n)).join("")}function WLe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Tl(...t){return"("+(WLe(t).capture?"":"?:")+t.map(s=>ko(s)).join("|")+")"}function lp(t){return new RegExp(t.toString()+"|").exec("").length-1}function ZLe(t,e){const n=t&&t.exec(e);return n&&n.index===0}const YLe=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Ml(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=ko(s),i="";for(;r.length>0;){const a=YLe.exec(r);if(!a){i+=r;break}i+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?i+="\\"+String(Number(a[1])+o):(i+=a[0],a[0]==="("&&n++)}return i}).map(s=>`(${s})`).join(e)}const JLe=/\b\B/,cp="[a-zA-Z]\\w*",Ol="[a-zA-Z_]\\w*",up="\\b\\d+(\\.\\d+)?",dp="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",fp="\\b(0b[01]+)",QLe="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",XLe=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=ss(e,/.*\b/,t.binary,/\b.*/)),Sn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},Eo={begin:"\\\\[\\s\\S]",relevance:0},eIe={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Eo]},tIe={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Eo]},nIe={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},gi=function(t,e,n={}){const s=Sn({scope:"comment",begin:t,end:e,contains:[]},n);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=Tl("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:ss(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},sIe=gi("//","$"),oIe=gi("/\\*","\\*/"),rIe=gi("#","$"),iIe={scope:"number",begin:up,relevance:0},aIe={scope:"number",begin:dp,relevance:0},lIe={scope:"number",begin:fp,relevance:0},cIe={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[Eo,{begin:/\[/,end:/\]/,relevance:0,contains:[Eo]}]}]},uIe={scope:"title",begin:cp,relevance:0},dIe={scope:"title",begin:Ol,relevance:0},fIe={begin:"\\.\\s*"+Ol,relevance:0},hIe=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Ko=Object.freeze({__proto__:null,MATCH_NOTHING_RE:JLe,IDENT_RE:cp,UNDERSCORE_IDENT_RE:Ol,NUMBER_RE:up,C_NUMBER_RE:dp,BINARY_NUMBER_RE:fp,RE_STARTERS_RE:QLe,SHEBANG:XLe,BACKSLASH_ESCAPE:Eo,APOS_STRING_MODE:eIe,QUOTE_STRING_MODE:tIe,PHRASAL_WORDS_MODE:nIe,COMMENT:gi,C_LINE_COMMENT_MODE:sIe,C_BLOCK_COMMENT_MODE:oIe,HASH_COMMENT_MODE:rIe,NUMBER_MODE:iIe,C_NUMBER_MODE:aIe,BINARY_NUMBER_MODE:lIe,REGEXP_MODE:cIe,TITLE_MODE:uIe,UNDERSCORE_TITLE_MODE:dIe,METHOD_GUARD:fIe,END_SAME_AS_BEGIN:hIe});function pIe(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function gIe(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function mIe(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=pIe,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function _Ie(t,e){Array.isArray(t.illegal)&&(t.illegal=Tl(...t.illegal))}function yIe(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function bIe(t,e){t.relevance===void 0&&(t.relevance=1)}const vIe=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=ss(n.beforeMatch,ap(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},xIe=["of","and","for","in","not","or","if","then","parent","list","value"],wIe="keyword";function hp(t,e,n=wIe){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,hp(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,kIe(l[0],l[1])]})}}function kIe(t,e){return e?Number(e):EIe(t)?0:1}function EIe(t){return xIe.includes(t.toLowerCase())}const Zu={},Yn=t=>{console.error(t)},Yu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ls=(t,e)=>{Zu[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Zu[`${t}/${e}`]=!0)},Cr=new Error;function pp(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=lp(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function CIe(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Yn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Cr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Yn("beginScope must be object"),Cr;pp(t,t.begin,{key:"beginScope"}),t.begin=Ml(t.begin,{joinWith:""})}}function AIe(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Yn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Cr;if(typeof t.endScope!="object"||t.endScope===null)throw Yn("endScope must be object"),Cr;pp(t,t.end,{key:"endScope"}),t.end=Ml(t.end,{joinWith:""})}}function SIe(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function TIe(t){SIe(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),CIe(t),AIe(t)}function MIe(t){function e(i,a){return new RegExp(ko(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=lp(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(Ml(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((f,h)=>h>0&&f!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[gIe,yIe,TIe,vIe].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[mIe,_Ie,bIe].forEach(u=>u(i,a)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=hp(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=ko(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return OIe(u==="self"?i:u)})),i.contains.forEach(function(u){r(u,l)}),i.starts&&r(i.starts,a),l.matcher=o(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=Sn(t.classNameAliases||{}),r(t)}function gp(t){return t?t.endsWithParent||gp(t.starts):!1}function OIe(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return Sn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:gp(t)?Sn(t,{starts:t.starts?Sn(t.starts):null}):Object.isFrozen(t)?Sn(t):t}var RIe="11.8.0";class DIe extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Zi=ip,Ju=Sn,Qu=Symbol("nomatch"),LIe=7,mp=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:VLe};function l(A){return a.noHighlightRe.test(A)}function c(A){let P=A.className+" ";P+=A.parentNode?A.parentNode.className:"";const U=a.languageDetectRe.exec(P);if(U){const pe=k(U[1]);return pe||(Yu(r.replace("{}",U[1])),Yu("Falling back to no-highlight mode for this block.",A)),pe?U[1]:"no-highlight"}return P.split(/\s+/).find(pe=>l(pe)||k(pe))}function u(A,P,U){let pe="",ue="";typeof P=="object"?(pe=A,U=P.ignoreIllegals,ue=P.language):(ls("10.7.0","highlight(lang, code, ...args) has been deprecated."),ls("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),ue=A,pe=P),U===void 0&&(U=!0);const Z={code:pe,language:ue};ce("before:highlight",Z);const _e=Z.result?Z.result:f(Z.language,Z.code,U);return _e.code=Z.code,ce("after:highlight",_e),_e}function f(A,P,U,pe){const ue=Object.create(null);function Z(W,se){return W.keywords[se]}function _e(){if(!z.keywords){q.addText(J);return}let W=0;z.keywordPatternRe.lastIndex=0;let se=z.keywordPatternRe.exec(J),he="";for(;se;){he+=J.substring(W,se.index);const we=$.case_insensitive?se[0].toLowerCase():se[0],Ne=Z(z,we);if(Ne){const[Ue,bt]=Ne;if(q.addText(he),he="",ue[we]=(ue[we]||0)+1,ue[we]<=LIe&&(re+=bt),Ue.startsWith("_"))he+=se[0];else{const Xe=$.classNameAliases[Ue]||Ue;Q(se[0],Xe)}}else he+=se[0];W=z.keywordPatternRe.lastIndex,se=z.keywordPatternRe.exec(J)}he+=J.substring(W),q.addText(he)}function Ee(){if(J==="")return;let W=null;if(typeof z.subLanguage=="string"){if(!e[z.subLanguage]){q.addText(J);return}W=f(z.subLanguage,J,!0,ne[z.subLanguage]),ne[z.subLanguage]=W._top}else W=p(J,z.subLanguage.length?z.subLanguage:null);z.relevance>0&&(re+=W.relevance),q.__addSublanguage(W._emitter,W.language)}function L(){z.subLanguage!=null?Ee():_e(),J=""}function Q(W,se){W!==""&&(q.startScope(se),q.addText(W),q.endScope())}function X(W,se){let he=1;const we=se.length-1;for(;he<=we;){if(!W._emit[he]){he++;continue}const Ne=$.classNameAliases[W[he]]||W[he],Ue=se[he];Ne?Q(Ue,Ne):(J=Ue,_e(),J=""),he++}}function ie(W,se){return W.scope&&typeof W.scope=="string"&&q.openNode($.classNameAliases[W.scope]||W.scope),W.beginScope&&(W.beginScope._wrap?(Q(J,$.classNameAliases[W.beginScope._wrap]||W.beginScope._wrap),J=""):W.beginScope._multi&&(X(W.beginScope,se),J="")),z=Object.create(W,{parent:{value:z}}),z}function G(W,se,he){let we=ZLe(W.endRe,he);if(we){if(W["on:end"]){const Ne=new Ku(W);W["on:end"](se,Ne),Ne.isMatchIgnored&&(we=!1)}if(we){for(;W.endsParent&&W.parent;)W=W.parent;return W}}if(W.endsWithParent)return G(W.parent,se,he)}function me(W){return z.matcher.regexIndex===0?(J+=W[0],1):(xe=!0,0)}function fe(W){const se=W[0],he=W.rule,we=new Ku(he),Ne=[he.__beforeBegin,he["on:begin"]];for(const Ue of Ne)if(Ue&&(Ue(W,we),we.isMatchIgnored))return me(se);return he.skip?J+=se:(he.excludeBegin&&(J+=se),L(),!he.returnBegin&&!he.excludeBegin&&(J=se)),ie(he,W),he.returnBegin?0:se.length}function b(W){const se=W[0],he=P.substring(W.index),we=G(z,W,he);if(!we)return Qu;const Ne=z;z.endScope&&z.endScope._wrap?(L(),Q(se,z.endScope._wrap)):z.endScope&&z.endScope._multi?(L(),X(z.endScope,W)):Ne.skip?J+=se:(Ne.returnEnd||Ne.excludeEnd||(J+=se),L(),Ne.excludeEnd&&(J=se));do z.scope&&q.closeNode(),!z.skip&&!z.subLanguage&&(re+=z.relevance),z=z.parent;while(z!==we.parent);return we.starts&&ie(we.starts,W),Ne.returnEnd?0:se.length}function E(){const W=[];for(let se=z;se!==$;se=se.parent)se.scope&&W.unshift(se.scope);W.forEach(se=>q.openNode(se))}let N={};function B(W,se){const he=se&&se[0];if(J+=W,he==null)return L(),0;if(N.type==="begin"&&se.type==="end"&&N.index===se.index&&he===""){if(J+=P.slice(se.index,se.index+1),!o){const we=new Error(`0 width match regex (${A})`);throw we.languageName=A,we.badRule=N.rule,we}return 1}if(N=se,se.type==="begin")return fe(se);if(se.type==="illegal"&&!U){const we=new Error('Illegal lexeme "'+he+'" for mode "'+(z.scope||"")+'"');throw we.mode=z,we}else if(se.type==="end"){const we=b(se);if(we!==Qu)return we}if(se.type==="illegal"&&he==="")return 1;if(ae>1e5&&ae>se.index*3)throw new Error("potential infinite loop, way more iterations than matches");return J+=he,he.length}const $=k(A);if(!$)throw Yn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const te=MIe($);let oe="",z=pe||te;const ne={},q=new a.__emitter(a);E();let J="",re=0,de=0,ae=0,xe=!1;try{if($.__emitTokens)$.__emitTokens(P,q);else{for(z.matcher.considerAll();;){ae++,xe?xe=!1:z.matcher.considerAll(),z.matcher.lastIndex=de;const W=z.matcher.exec(P);if(!W)break;const se=P.substring(de,W.index),he=B(se,W);de=W.index+he}B(P.substring(de))}return q.finalize(),oe=q.toHTML(),{language:A,value:oe,relevance:re,illegal:!1,_emitter:q,_top:z}}catch(W){if(W.message&&W.message.includes("Illegal"))return{language:A,value:Zi(P),illegal:!0,relevance:0,_illegalBy:{message:W.message,index:de,context:P.slice(de-100,de+100),mode:W.mode,resultSoFar:oe},_emitter:q};if(o)return{language:A,value:Zi(P),illegal:!1,relevance:0,errorRaised:W,_emitter:q,_top:z};throw W}}function h(A){const P={value:Zi(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return P._emitter.addText(A),P}function p(A,P){P=P||a.languages||Object.keys(e);const U=h(A),pe=P.filter(k).filter(j).map(L=>f(L,A,!1));pe.unshift(U);const ue=pe.sort((L,Q)=>{if(L.relevance!==Q.relevance)return Q.relevance-L.relevance;if(L.language&&Q.language){if(k(L.language).supersetOf===Q.language)return 1;if(k(Q.language).supersetOf===L.language)return-1}return 0}),[Z,_e]=ue,Ee=Z;return Ee.secondBest=_e,Ee}function g(A,P,U){const pe=P&&n[P]||U;A.classList.add("hljs"),A.classList.add(`language-${pe}`)}function m(A){let P=null;const U=c(A);if(l(U))return;if(ce("before:highlightElement",{el:A,language:U}),A.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),a.throwUnescapedHTML))throw new DIe("One of your code blocks includes unescaped HTML.",A.innerHTML);P=A;const pe=P.textContent,ue=U?u(pe,{language:U,ignoreIllegals:!0}):p(pe);A.innerHTML=ue.value,g(A,U,ue.language),A.result={language:ue.language,re:ue.relevance,relevance:ue.relevance},ue.secondBest&&(A.secondBest={language:ue.secondBest.language,relevance:ue.secondBest.relevance}),ce("after:highlightElement",{el:A,result:ue,text:pe})}function v(A){a=Ju(a,A)}const y=()=>{C(),ls("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function _(){C(),ls("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let w=!1;function C(){if(document.readyState==="loading"){w=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function I(){w&&C()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",I,!1);function S(A,P){let U=null;try{U=P(t)}catch(pe){if(Yn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Yn(pe);else throw pe;U=i}U.name||(U.name=A),e[A]=U,U.rawDefinition=P.bind(null,t),U.aliases&&T(U.aliases,{languageName:A})}function R(A){delete e[A];for(const P of Object.keys(n))n[P]===A&&delete n[P]}function x(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function T(A,{languageName:P}){typeof A=="string"&&(A=[A]),A.forEach(U=>{n[U.toLowerCase()]=P})}function j(A){const P=k(A);return P&&!P.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=P=>{A["before:highlightBlock"](Object.assign({block:P.el},P))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=P=>{A["after:highlightBlock"](Object.assign({block:P.el},P))})}function K(A){F(A),s.push(A)}function D(A){const P=s.indexOf(A);P!==-1&&s.splice(P,1)}function ce(A,P){const U=A;s.forEach(function(pe){pe[U]&&pe[U](P)})}function Y(A){return ls("10.7.0","highlightBlock will be removed entirely in v12.0"),ls("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:p,highlightAll:C,highlightElement:m,highlightBlock:Y,configure:v,initHighlighting:y,initHighlightingOnLoad:_,registerLanguage:S,unregisterLanguage:R,listLanguages:x,getLanguage:k,registerAliases:T,autoDetection:j,inherit:Ju,addPlugin:K,removePlugin:D}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=RIe,t.regex={concat:ss,lookahead:ap,either:Tl,optional:GLe,anyNumberOfTimes:KLe};for(const A in Ko)typeof Ko[A]=="object"&&rp(Ko[A]);return Object.assign(t,Ko),t},Ss=mp({});Ss.newInstance=()=>mp({});var IIe=Ss;Ss.HighlightJS=Ss;Ss.default=Ss;const Ke=zs(IIe);const Xu="[A-Za-z$_][0-9A-Za-z$_]*",NIe=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],PIe=["true","false","null","undefined","NaN","Infinity"],_p=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],yp=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],bp=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],FIe=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],jIe=[].concat(bp,_p,yp);function BIe(t){const e=t.regex,n=(P,{after:U})=>{const pe="",end:""},r=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(P,U)=>{const pe=P[0].length+P.index,ue=P.input[pe];if(ue==="<"||ue===","){U.ignoreMatch();return}ue===">"&&(n(P,{after:pe})||U.ignoreMatch());let Z;const _e=P.input.substring(pe);if(Z=_e.match(/^\s*=/)){U.ignoreMatch();return}if((Z=_e.match(/^\s+extends\s+/))&&Z.index===0){U.ignoreMatch();return}}},a={$pattern:Xu,keyword:NIe,literal:PIe,built_in:jIe,"variable.language":FIe},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"css"}},m={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,h]},_={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},w=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,m,v,{match:/\$\d+/},f];h.contains=w.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(w)});const C=[].concat(_,h.contains),I=C.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(C)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:I},R={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,e.concat(s,"(",e.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[..._p,...yp]}},k={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},j={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function F(P){return e.concat("(?!",P.join("|"),")")}const K={match:e.concat(/\b/,F([...bp,"super","import"]),s,e.lookahead(/\(/)),className:"title.function",relevance:0},D={begin:e.concat(/\./,e.lookahead(e.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ce={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},Y="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",A={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(Y)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),k,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,m,v,_,{match:/\$\d+/},f,x,{className:"attr",begin:s+e.lookahead(":"),relevance:0},A,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,t.REGEXP_MODE,{className:"function",begin:Y,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:r},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,t.inherit(t.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},D,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},K,j,R,ce,{match:/\$[(.]/}]}}function $Ie(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),s=/[\p{L}0-9._:-]+/u,o={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},r={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},i=t.inherit(r,{begin:/\(/,end:/\)/}),a=t.inherit(t.APOS_STRING_MODE,{className:"string"}),l=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),c={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[r,l,a,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[r,i,l,a]}]}]},t.COMMENT(//,{relevance:10}),{begin://,relevance:10},o,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[l]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[c],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[c],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:c}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const zIe=t=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:t.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:t.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),qIe=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],UIe=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],HIe=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],VIe=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],KIe=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function GIe(t){const e=t.regex,n=zIe(t),s={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},o="and or not only",r=/@-?\w[\w]*(-\w+)*/,i="[a-zA-Z-][a-zA-Z0-9_-]*",a=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,s,n.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+i,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+HIe.join("|")+")"},{begin:":(:)?("+VIe.join("|")+")"}]},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+KIe.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...a,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...a,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:e.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:r},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:UIe.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...a,n.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+qIe.join("|")+")\\b"}]}}function WIe(t){const e=t.regex,n=/[\p{XID_Start}_]\p{XID_Continue}*/u,s=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],a={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:s,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},c={className:"subst",begin:/\{/,end:/\}/,keywords:a,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,l,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,l,u,c]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,c]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,c]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},h="[0-9](_?[0-9])*",p=`(\\b(${h}))?\\.(${h})|\\b(${h})\\.`,g=`\\b|${s.join("|")}`,m={className:"number",relevance:0,variants:[{begin:`(\\b(${h})|(${p}))[eE][+-]?(${h})[jJ]?(?=${g})`},{begin:`(${p})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${g})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${g})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${g})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${g})`},{begin:`\\b(${h})[jJ](?=${g})`}]},v={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:a,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},y={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:["self",l,m,f,t.HASH_COMMENT_MODE]}]};return c.contains=[f,m,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:a,illegal:/(<\/|\?)|=>/,contains:[l,m,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,v,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[y]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[m,y,f]}]}}var ds="[0-9](_*[0-9])*",Go=`\\.(${ds})`,Wo="[0-9a-fA-F](_*[0-9a-fA-F])*",ed={className:"number",variants:[{begin:`(\\b(${ds})((${Go})|\\.)?|(${Go}))[eE][+-]?(${ds})[fFdD]?\\b`},{begin:`\\b(${ds})((${Go})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${Go})[fFdD]?\\b`},{begin:`\\b(${ds})[fFdD]\\b`},{begin:`\\b0[xX]((${Wo})\\.?|(${Wo})?\\.(${Wo}))[pP][+-]?(${ds})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Wo})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function vp(t,e,n){return n===-1?"":t.replace(e,s=>vp(t,e,n-1))}function ZIe(t){const e=t.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",s=n+vp("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),l={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},c={className:"meta",begin:"@"+n,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},u={className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[t.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:l,illegal:/<\/|#/,contains:[t.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[t.BACKSLASH_ESCAPE]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[e.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],className:{1:"keyword",3:"title.class"},contains:[u,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+s+"\\s+)",t.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:l,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:l,relevance:0,contains:[c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,ed,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},ed,c]}}function YIe(t){const e=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],n=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],s=["default","false","null","true"],o=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],r=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],i={keyword:o.concat(r),built_in:e,literal:s},a=t.inherit(t.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},c={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},u=t.inherit(c,{illegal:/\n/}),f={className:"subst",begin:/\{/,end:/\}/,keywords:i},h=t.inherit(f,{illegal:/\n/}),p={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},t.BACKSLASH_ESCAPE,h]},g={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},f]},m=t.inherit(g,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},h]});f.contains=[g,p,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.C_BLOCK_COMMENT_MODE],h.contains=[m,p,u,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,l,t.inherit(t.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const v={variants:[g,p,c,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},y={begin:"<",end:">",contains:[{beginKeywords:"in out"},a]},_=t.IDENT_RE+"(<"+t.IDENT_RE+"(\\s*,\\s*"+t.IDENT_RE+")*>)?(\\[\\])?",w={begin:"@"+t.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:i,illegal:/::/,contains:[t.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},v,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},a,y,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[a,y,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+_+"\\s+)+"+t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:i,contains:[{beginKeywords:n.join(" "),relevance:0},{begin:t.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[t.TITLE_MODE,y],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,relevance:0,contains:[v,l,t.C_BLOCK_COMMENT_MODE]},t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE]},w]}}function JIe(t){const e=t.regex,n=t.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),s="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",r="<[^<>]+>",i="(?!struct)("+s+"|"+e.optional(o)+"[a-zA-Z_]\\w*"+e.optional(r)+")",a={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},l="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",c={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[t.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+l+"|.)",end:"'",illegal:"."},t.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},u={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},f={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},t.inherit(c,{className:"string"}),{className:"string",begin:/<.*?>/},n,t.C_BLOCK_COMMENT_MODE]},h={className:"title",begin:e.optional(o)+t.IDENT_RE,relevance:0},p=e.optional(o)+t.IDENT_RE+"\\s*\\(",g=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],m=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],v=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],y=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],C={type:m,keyword:g,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:v},I={className:"function.dispatch",relevance:0,keywords:{_hint:y},begin:e.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,t.IDENT_RE,e.lookahead(/(<[^<>]+>|)\s*\(/))},S=[I,f,a,n,t.C_BLOCK_COMMENT_MODE,u,c],R={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:C,contains:S.concat([{begin:/\(/,end:/\)/,keywords:C,contains:S.concat(["self"]),relevance:0}]),relevance:0},x={className:"function",begin:"("+i+"[\\*&\\s]+)+"+p,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:C,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:s,keywords:C,relevance:0},{begin:p,returnBegin:!0,contains:[h],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[c,u]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:[n,t.C_BLOCK_COMMENT_MODE,c,u,a,{begin:/\(/,end:/\)/,keywords:C,relevance:0,contains:["self",n,t.C_BLOCK_COMMENT_MODE,c,u,a]}]},a,n,t.C_BLOCK_COMMENT_MODE,f]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:C,illegal:"",keywords:C,contains:["self",a]},{begin:t.IDENT_RE+"::",keywords:C},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function QIe(t){const e=t.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",s=e.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=e.concat(s,/(::\w+)*/),i={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},a={className:"doctag",begin:"@[A-Za-z]+"},l={begin:"#<",end:">"},c=[t.COMMENT("#","$",{contains:[a]}),t.COMMENT("^=begin","^=end",{contains:[a],relevance:10}),t.COMMENT("^__END__",t.MATCH_NOTHING_RE)],u={className:"subst",begin:/#\{/,end:/\}/,keywords:i},f={className:"string",contains:[t.BACKSLASH_ESCAPE,u],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:e.concat(/<<[-~]?'?/,e.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[t.BACKSLASH_ESCAPE,u]})]}]},h="[1-9](_?[0-9])*|0",p="[0-9](_?[0-9])*",g={className:"number",relevance:0,variants:[{begin:`\\b(${h})(\\.(${p}))?([eE][+-]?(${p})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},m={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:i}]},S=[f,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:i},{match:[/(include|extend)\s+/,o],scope:{2:"title.class"},keywords:i},{relevance:0,match:[o,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:s,scope:"title.class"},{match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[m]},{begin:t.IDENT_RE+"::"},{className:"symbol",begin:t.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[f,{begin:n}],relevance:0},g,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:i},{begin:"("+t.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[t.BACKSLASH_ESCAPE,u],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(l,c),relevance:0}].concat(l,c);u.contains=S,m.contains=S;const R="[>?]>",x="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",k="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",T=[{begin:/^\s*=>/,starts:{end:"$",contains:S}},{className:"meta.prompt",begin:"^("+R+"|"+x+"|"+k+")(?=[ ])",starts:{end:"$",keywords:i,contains:S}}];return c.unshift(l),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:i,illegal:/\/\*/,contains:[t.SHEBANG({binary:"ruby"})].concat(T).concat(c).concat(S)}}function XIe(t){const e=t.regex,n=/(?![A-Za-z0-9])(?![$])/,s=e.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=e.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),r={scope:"variable",match:"\\$+"+s},i={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},a={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},l=t.inherit(t.APOS_STRING_MODE,{illegal:null}),c=t.inherit(t.QUOTE_STRING_MODE,{illegal:null,contains:t.QUOTE_STRING_MODE.contains.concat(a)}),u={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:t.QUOTE_STRING_MODE.contains.concat(a),"on:begin":(K,D)=>{D.data._beginMatch=K[1]||K[2]},"on:end":(K,D)=>{D.data._beginMatch!==K[1]&&D.ignoreMatch()}},f=t.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),h=`[ +]`,p={scope:"string",variants:[c,l,u,f]},g={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},m=["false","null","true"],v=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],y=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],w={keyword:v,literal:(K=>{const D=[];return K.forEach(ce=>{D.push(ce),ce.toLowerCase()===ce?D.push(ce.toUpperCase()):D.push(ce.toLowerCase())}),D})(m),built_in:y},C=K=>K.map(D=>D.replace(/\|\d+$/,"")),I={variants:[{match:[/new/,e.concat(h,"+"),e.concat("(?!",C(y).join("\\b|"),"\\b)"),o],scope:{1:"keyword",4:"title.class"}}]},S=e.concat(s,"\\b(?!\\()"),R={variants:[{match:[e.concat(/::/,e.lookahead(/(?!class\b)/)),S],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[o,e.concat(/::/,e.lookahead(/(?!class\b)/)),S],scope:{1:"title.class",3:"variable.constant"}},{match:[o,e.concat("::",e.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},x={scope:"attr",match:e.concat(s,e.lookahead(":"),e.lookahead(/(?!::)/))},k={relevance:0,begin:/\(/,end:/\)/,keywords:w,contains:[x,r,R,t.C_BLOCK_COMMENT_MODE,p,g,I]},T={relevance:0,match:[/\b/,e.concat("(?!fn\\b|function\\b|",C(v).join("\\b|"),"|",C(y).join("\\b|"),"\\b)"),s,e.concat(h,"*"),e.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[k]};k.contains.push(T);const j=[x,R,t.C_BLOCK_COMMENT_MODE,p,g,I],F={begin:e.concat(/#\[\s*/,o),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:m,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:m,keyword:["new","array"]},contains:["self",...j]},...j,{scope:"meta",match:o}]};return{case_insensitive:!1,keywords:w,contains:[F,t.HASH_COMMENT_MODE,t.COMMENT("//","$"),t.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:t.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},i,{scope:"variable.language",match:/\$this\b/},r,T,R,{match:[/const/,/\s/,s],scope:{1:"keyword",3:"variable.constant"}},I,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},t.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:w,contains:["self",r,R,t.C_BLOCK_COMMENT_MODE,p,g]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},t.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[t.inherit(t.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},t.UNDERSCORE_TITLE_MODE]},p,g]}}function xp(t){return t?typeof t=="string"?t:t.source:null}function Zo(t){return qe("(?=",t,")")}function qe(...t){return t.map(n=>xp(n)).join("")}function eNe(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function ut(...t){return"("+(eNe(t).capture?"":"?:")+t.map(s=>xp(s)).join("|")+")"}const Rl=t=>qe(/\b/,t,/\w$/.test(t)?/\b/:/\B/),tNe=["Protocol","Type"].map(Rl),td=["init","self"].map(Rl),nNe=["Any","Self"],Yi=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","break","case","catch","class","continue","convenience","default","defer","deinit","didSet","distributed","do","dynamic","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],nd=["false","nil","true"],sNe=["assignment","associativity","higherThan","left","lowerThan","none","right"],oNe=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warn_unqualified_access","#warning"],sd=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],wp=ut(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),kp=ut(wp,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),Ji=qe(wp,kp,"*"),Ep=ut(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),Ar=ut(Ep,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),en=qe(Ep,Ar,"*"),Qi=qe(/[A-Z]/,Ar,"*"),rNe=["autoclosure",qe(/convention\(/,ut("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",qe(/objc\(/,en,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","testable","UIApplicationMain","unknown","usableFromInline"],iNe=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function aNe(t){const e={match:/\s+/,relevance:0},n=t.COMMENT("/\\*","\\*/",{contains:["self"]}),s=[t.C_LINE_COMMENT_MODE,n],o={match:[/\./,ut(...tNe,...td)],className:{2:"keyword"}},r={match:qe(/\./,ut(...Yi)),relevance:0},i=Yi.filter(G=>typeof G=="string").concat(["_|0"]),a=Yi.filter(G=>typeof G!="string").concat(nNe).map(Rl),l={variants:[{className:"keyword",match:ut(...a,...td)}]},c={$pattern:ut(/\b\w+/,/#\w+/),keyword:i.concat(oNe),literal:nd},u=[o,r,l],f={match:qe(/\./,ut(...sd)),relevance:0},h={className:"built_in",match:qe(/\b/,ut(...sd),/(?=\()/)},p=[f,h],g={match:/->/,relevance:0},m={className:"operator",relevance:0,variants:[{match:Ji},{match:`\\.(\\.|${kp})+`}]},v=[g,m],y="([0-9]_*)+",_="([0-9a-fA-F]_*)+",w={className:"number",relevance:0,variants:[{match:`\\b(${y})(\\.(${y}))?([eE][+-]?(${y}))?\\b`},{match:`\\b0x(${_})(\\.(${_}))?([pP][+-]?(${y}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},C=(G="")=>({className:"subst",variants:[{match:qe(/\\/,G,/[0\\tnr"']/)},{match:qe(/\\/,G,/u\{[0-9a-fA-F]{1,8}\}/)}]}),I=(G="")=>({className:"subst",match:qe(/\\/,G,/[\t ]*(?:[\r\n]|\r\n)/)}),S=(G="")=>({className:"subst",label:"interpol",begin:qe(/\\/,G,/\(/),end:/\)/}),R=(G="")=>({begin:qe(G,/"""/),end:qe(/"""/,G),contains:[C(G),I(G),S(G)]}),x=(G="")=>({begin:qe(G,/"/),end:qe(/"/,G),contains:[C(G),S(G)]}),k={className:"string",variants:[R(),R("#"),R("##"),R("###"),x(),x("#"),x("##"),x("###")]},T={match:qe(/`/,en,/`/)},j={className:"variable",match:/\$\d+/},F={className:"variable",match:`\\$${Ar}+`},K=[T,j,F],D={match:/(@|#(un)?)available/,className:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:iNe,contains:[...v,w,k]}]}},ce={className:"keyword",match:qe(/@/,ut(...rNe))},Y={className:"meta",match:qe(/@/,en)},A=[D,ce,Y],P={match:Zo(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:qe(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,Ar,"+")},{className:"type",match:Qi,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:qe(/\s+&\s+/,Zo(Qi)),relevance:0}]},U={begin://,keywords:c,contains:[...s,...u,...A,g,P]};P.contains.push(U);const pe={match:qe(en,/\s*:/),keywords:"_|0",relevance:0},ue={begin:/\(/,end:/\)/,relevance:0,keywords:c,contains:["self",pe,...s,...u,...p,...v,w,k,...K,...A,P]},Z={begin://,contains:[...s,P]},_e={begin:ut(Zo(qe(en,/\s*:/)),Zo(qe(en,/\s+/,en,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:en}]},Ee={begin:/\(/,end:/\)/,keywords:c,contains:[_e,...s,...u,...v,w,k,...A,P,ue],endsParent:!0,illegal:/["']/},L={match:[/func/,/\s+/,ut(T.match,en,Ji)],className:{1:"keyword",3:"title.function"},contains:[Z,Ee,e],illegal:[/\[/,/%/]},Q={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[Z,Ee,e],illegal:/\[|%/},X={match:[/operator/,/\s+/,Ji],className:{1:"keyword",3:"title"}},ie={begin:[/precedencegroup/,/\s+/,Qi],className:{1:"keyword",3:"title"},contains:[P],keywords:[...sNe,...nd],end:/}/};for(const G of k.variants){const me=G.contains.find(b=>b.label==="interpol");me.keywords=c;const fe=[...u,...p,...v,w,k,...K];me.contains=[...fe,{begin:/\(/,end:/\)/,contains:["self",...fe]}]}return{name:"Swift",keywords:c,contains:[...s,L,Q,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:c,contains:[t.inherit(t.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...u]},X,ie,{beginKeywords:"import",end:/$/,contains:[...s],relevance:0},...u,...p,...v,w,k,...K,...A,P,ue]}}function lNe(t){const r={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:r,illegal:""},n]}}const Sr="[A-Za-z$_][0-9A-Za-z$_]*",Cp=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Ap=["true","false","null","undefined","NaN","Infinity"],Sp=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Tp=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Mp=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Op=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Rp=[].concat(Mp,Sp,Tp);function uNe(t){const e=t.regex,n=(P,{after:U})=>{const pe="",end:""},r=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(P,U)=>{const pe=P[0].length+P.index,ue=P.input[pe];if(ue==="<"||ue===","){U.ignoreMatch();return}ue===">"&&(n(P,{after:pe})||U.ignoreMatch());let Z;const _e=P.input.substring(pe);if(Z=_e.match(/^\s*=/)){U.ignoreMatch();return}if((Z=_e.match(/^\s+extends\s+/))&&Z.index===0){U.ignoreMatch();return}}},a={$pattern:Sr,keyword:Cp,literal:Ap,built_in:Rp,"variable.language":Op},l="[0-9](_?[0-9])*",c=`\\.(${l})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${c})|\\.)?|(${c}))[eE][+-]?(${l})\\b`},{begin:`\\b(${u})\\b((${c})\\b|\\.)?|(${c})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},h={className:"subst",begin:"\\$\\{",end:"\\}",keywords:a,contains:[]},p={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"xml"}},g={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"css"}},m={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,h],subLanguage:"graphql"}},v={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,h]},_={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:s+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},w=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,m,v,{match:/\$\d+/},f];h.contains=w.concat({begin:/\{/,end:/\}/,keywords:a,contains:["self"].concat(w)});const C=[].concat(_,h.contains),I=C.concat([{begin:/\(/,end:/\)/,keywords:a,contains:["self"].concat(C)}]),S={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:I},R={variants:[{match:[/class/,/\s+/,s,/\s+/,/extends/,/\s+/,e.concat(s,"(",e.concat(/\./,s),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,s],scope:{1:"keyword",3:"title.class"}}]},x={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Sp,...Tp]}},k={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},T={variants:[{match:[/function/,/\s+/,s,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},j={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function F(P){return e.concat("(?!",P.join("|"),")")}const K={match:e.concat(/\b/,F([...Mp,"super","import"]),s,e.lookahead(/\(/)),className:"title.function",relevance:0},D={begin:e.concat(/\./,e.lookahead(e.concat(s,/(?![0-9A-Za-z$_(])/))),end:s,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ce={match:[/get|set/,/\s+/,s,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},Y="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",A={match:[/const|var|let/,/\s+/,s,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(Y)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:a,exports:{PARAMS_CONTAINS:I,CLASS_REFERENCE:x},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),k,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,p,g,m,v,_,{match:/\$\d+/},f,x,{className:"attr",begin:s+e.lookahead(":"),relevance:0},A,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[_,t.REGEXP_MODE,{className:"function",begin:Y,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:a,contains:I}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:o.begin,end:o.end},{match:r},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},T,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,t.inherit(t.TITLE_MODE,{begin:s,className:"title.function"})]},{match:/\.\.\./,relevance:0},D,{match:"\\$"+s,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},K,j,R,ce,{match:/\$[(.]/}]}}function dNe(t){const e=uNe(t),n=Sr,s=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},r={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:s},contains:[e.exports.CLASS_REFERENCE]},i={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},a=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:Sr,keyword:Cp.concat(a),literal:Ap,built_in:Rp.concat(s),"variable.language":Op},c={className:"meta",begin:"@"+n},u=(h,p,g)=>{const m=h.contains.findIndex(v=>v.label===p);if(m===-1)throw new Error("can not find mode to replace");h.contains.splice(m,1,g)};Object.assign(e.keywords,l),e.exports.PARAMS_CONTAINS.push(c),e.contains=e.contains.concat([c,o,r]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",i);const f=e.contains.find(h=>h.label==="func.def");return f.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}function fNe(t){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}function hNe(t){const e=t.regex,n={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},s={begin:"^[-\\*]{3,}",end:"$"},o={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},r={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},i={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},a=/[A-Za-z][A-Za-z0-9+.-]*/,l={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:e.concat(/\[.+?\]\(/,a,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},c={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},u={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},f=t.inherit(c,{contains:[]}),h=t.inherit(u,{contains:[]});c.contains.push(h),u.contains.push(f);let p=[n,l];return[c,u,f,h].forEach(v=>{v.contains=v.contains.concat(p)}),p=p.concat(c,u),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:p},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:p}]}]},n,r,c,u,{className:"quote",begin:"^>\\s+",contains:p,end:"$"},o,s,l,i]}}function pNe(t){const e={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},n={match:/[{}[\],:]/,className:"punctuation",relevance:0},s=["true","false","null"],o={scope:"literal",beginKeywords:s.join(" ")};return{name:"JSON",keywords:{literal:s},contains:[e,n,t.QUOTE_STRING_MODE,o,t.C_NUMBER_MODE,t.C_LINE_COMMENT_MODE,t.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}function gNe(t){const e="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",s={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},o={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},r={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[t.BACKSLASH_ESCAPE,o]},i=t.inherit(r,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a="[0-9]{4}(-[0-9][0-9]){0,2}",l="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",c="(\\.[0-9]*)?",u="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",f={className:"number",begin:"\\b"+a+l+c+u+"\\b"},h={end:",",endsWithParent:!0,excludeEnd:!0,keywords:e,relevance:0},p={begin:/\{/,end:/\}/,contains:[h],illegal:"\\n",relevance:0},g={begin:"\\[",end:"\\]",contains:[h],illegal:"\\n",relevance:0},m=[s,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+n},{className:"type",begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n},{className:"meta",begin:"&"+t.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+t.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},t.HASH_COMMENT_MODE,{beginKeywords:e,keywords:{literal:e}},f,{className:"number",begin:t.C_NUMBER_RE+"\\b",relevance:0},p,g,r],v=[...m];return v.pop(),v.push(i),h.contains=v,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:m}}function mNe(t){const e=t.regex,n=t.COMMENT("--","$"),s={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},o={begin:/"/,end:/"/,contains:[{begin:/""/}]},r=["true","false","unknown"],i=["double precision","large object","with timezone","without timezone"],a=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],l=["add","asc","collation","desc","final","first","last","view"],c=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],u=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],f=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],h=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],p=u,g=[...c,...l].filter(w=>!u.includes(w)),m={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},v={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},y={begin:e.concat(/\b/,e.either(...p),/\s*\(/),relevance:0,keywords:{built_in:p}};function _(w,{exceptions:C,when:I}={}){const S=I;return C=C||[],w.map(R=>R.match(/\|\d+$/)||C.includes(R)?R:S(R)?`${R}|0`:R)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:_(g,{when:w=>w.length<3}),literal:r,type:a,built_in:f},contains:[{begin:e.either(...h),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:g.concat(h),literal:r,type:a}},{className:"type",begin:e.either(...i)},y,m,s,o,t.C_NUMBER_MODE,t.C_BLOCK_COMMENT_MODE,n,v]}}var Dn={};Dn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",f=!0,h=!1;for(let p=e+n.leftDelimiter.length;p=s+1:u.length>=s}let r,i,a,l;const c=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,c),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+c),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};Dn.removeDelimiter=function(t,e){const n=Ma(e.leftDelimiter),s=Ma(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function Ma(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Dn.escapeRegExp=Ma;Dn.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const _Ne=/[&<>"]/,yNe=/[&<>"]/g,bNe={"&":"&","<":"<",">":">",'"':"""};function vNe(t){return bNe[t]}Dn.escapeHtml=function(t){return _Ne.test(t)?t.replace(yNe,vNe):t};const Me=Dn;var xNe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Me.escapeRegExp(t.leftDelimiter)+"[^"+Me.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Me.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Me.getAttrs(o.info,r,t);Me.addAttrs(i,o),o.info=Me.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Me.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Me.getAttrs(r.content,0,t);Me.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Me.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Me.getMatchingOpeningToken(n,s),i=Me.getAttrs(o.content,0,t);Me.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Me.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,0,t),l=Me.getMatchingOpeningToken(n[s].children,o-1);Me.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Me.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Me.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Me.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Me.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Me.getAttrs(r,0,t),a=Me.getMatchingOpeningToken(n,s);Me.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Me.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Me.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=od(l)!==" "?l:l.slice(0,-1)}},{name:` +{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Me.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Me.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Me.getMatchingOpeningToken(n,a);Me.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Me.getAttrs(r,i,t);Me.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Me.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Me.getMatchingOpeningToken(n,l);Me.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=od(u)!==" "?u:u.slice(0,-1)}}]};function od(t){return t.slice(-1)[0]}const wNe=xNe,kNe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var ENe=function(e,n){let s=Object.assign({},kNe);s=Object.assign(s,n);const o=wNe(s);function r(i){const a=i.tokens;for(let l=0;l{const g=Oa(a,l,p);return g.j!==null&&(f=g.j),g.match})&&(u.transform(a,l,f),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function Oa(t,e,n){const s={match:!1,j:null},o=n.shift!==void 0?e+n.shift:n.position;if(n.shift!==void 0&&o<0)return s;const r=SNe(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&CNe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,c=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>Oa(c,u.position,u).match),a){const u=TNe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;uOa(c,u,f).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(ANe(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function CNe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function ANe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function SNe(t,e){return e>=0?t[e]:t[t.length+e]}function TNe(t){return t.slice(-1)[0]||{}}const MNe=zs(ENe);function ONe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const Ts=new Fce("commonmark",{html:!1,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{let n=ONe();if(e&&Ke.getLanguage(e))try{const o=Ke.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}return'
'+e+'
'+Ts.utils.escapeHtml(t)+"
"},bulletListMarker:"•"}).use(zLe).use(MNe);Ke.registerLanguage("javascript",BIe);Ke.registerLanguage("xml",$Ie);Ke.registerLanguage("css",GIe);Ke.registerLanguage("python",WIe);Ke.registerLanguage("java",ZIe);Ke.registerLanguage("csharp",YIe);Ke.registerLanguage("cpp",JIe);Ke.registerLanguage("ruby",QIe);Ke.registerLanguage("php",XIe);Ke.registerLanguage("swift",aNe);Ke.registerLanguage("go",lNe);Ke.registerLanguage("rust",cNe);Ke.registerLanguage("typescript",dNe);Ke.registerLanguage("shell",fNe);Ke.registerLanguage("markdown",hNe);Ke.registerLanguage("json",pNe);Ke.registerLanguage("yaml",gNe);Ke.registerLanguage("sql",mNe);Ke.configure({languages:[]});Ke.configure({languages:["javascript"]});Ts.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const Dp=(t,e,n,s,o)=>{const i=t[e].attrGet("type")||"ul";return i==="ul"?'
    '+o.renderToken(t,e,n)+"
":i==="ol"?'
    '+o.renderToken(t,e,n)+"
":o.renderToken(t,e,n)};Ts.renderer.rules.bullet_list_open=Dp;Ts.renderer.rules.ordered_list_open=Dp;const RNe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` + // Your inline script code here + console.log('Inline script executed!'); + + function copyContentToClipboard(id) { + console.log("copied"); + const codeElement = document.getElementById('code_' + id); + const copybtnElement = document.getElementById('copy-btn_' + id); + const copyedbtnElement = document.getElementById('copyed-btn_' + id); + copybtnElement.classList.add('hidden'); + copyedbtnElement.classList.remove('hidden'); + const range = document.createRange(); + range.selectNode(codeElement); + window.getSelection().removeAllRanges(); + window.getSelection().addRange(range); + document.execCommand('copy'); + window.getSelection().removeAllRanges(); + } + `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=Ts.render(this.markdownText),ge(()=>{ke.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=Ts.render(t),ge(()=>{ke.replace()})}}},DNe={class:"break-all"},LNe=["innerHTML"];function INe(t,e,n,s,o,r){return M(),O("div",DNe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,LNe)])}const NNe=Ge(RNe,[["render",INe]]);const PNe="/",FNe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:NNe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,ge(()=>{ke.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:$v:this.avatar?PNe+this.avatar:Qn},defaultImg(t){t.target.src=Qn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){ge(()=>{ke.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),ge(()=>{ke.replace()})},deleteMsgMode(){ge(()=>{ke.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},jNe={class:"relative 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 flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},BNe={class:"flex flex-row gap-2"},$Ne={class:"flex-shrink-0"},zNe={class:"group/avatar"},qNe=["src","data-popover-target"],UNe={class:"flex flex-col w-full flex-grow-0"},HNe={class:"flex flex-row flex-grow items-start"},VNe={class:"flex flex-col mb-2"},KNe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},GNe=["title"],WNe=d("div",{class:"flex-grow"},null,-1),ZNe={class:"flex-row justify-end mx-2"},YNe={class:"invisible group-hover:visible flex flex-row"},JNe={key:0,class:"flex items-center duration-75"},QNe=d("i",{"data-feather":"x"},null,-1),XNe=[QNe],ePe=d("i",{"data-feather":"check"},null,-1),tPe=[ePe],nPe=d("i",{"data-feather":"edit"},null,-1),sPe=[nPe],oPe=d("i",{"data-feather":"copy"},null,-1),rPe=[oPe],iPe=d("i",{"data-feather":"refresh-cw"},null,-1),aPe=[iPe],lPe={key:2,class:"flex items-center duration-75"},cPe=d("i",{"data-feather":"x"},null,-1),uPe=[cPe],dPe=d("i",{"data-feather":"check"},null,-1),fPe=[dPe],hPe=d("i",{"data-feather":"trash"},null,-1),pPe=[hPe],gPe=d("i",{"data-feather":"thumbs-up"},null,-1),mPe=[gPe],_Pe={class:"flex flex-row items-center"},yPe=d("i",{"data-feather":"thumbs-down"},null,-1),bPe=[yPe],vPe={class:"overflow-x-auto w-full"},xPe={class:"text-sm text-gray-400 mt-2"},wPe={class:"flex flex-row items-center gap-2"},kPe={key:0},EPe={class:"font-thin"},CPe={key:1},APe={class:"font-thin"},SPe={key:2},TPe={class:"font-thin"},MPe={key:3},OPe=["title"];function RPe(t,e,n,s,o,r){const i=dt("MarkdownRenderer");return M(),O("div",jNe,[d("div",BNe,[d("div",$Ne,[d("div",zNe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,qNe)])]),d("div",UNe,[d("div",HNe,[d("div",VNe,[d("div",KNe,ee(n.message.sender)+" ",1),n.message.created_at?(M(),O("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},ee(r.created_at),9,GNe)):V("",!0)]),WNe,d("div",ZNe,[d("div",YNe,[o.editMsgMode?(M(),O("div",JNe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=le(a=>o.editMsgMode=!1,["stop"]))},XNe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=le((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},tPe)])):V("",!0),o.editMsgMode?V("",!0):(M(),O("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=le(a=>o.editMsgMode=!0,["stop"]))},sPe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=le(a=>r.copyContentToClipboard(),["stop"]))},rPe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=le(a=>r.resendMessage(),["stop"]))},aPe),o.deleteMsgMode?(M(),O("div",lPe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=le(a=>o.deleteMsgMode=!1,["stop"]))},uPe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=le(a=>r.deleteMsg(),["stop"]))},fPe)])):V("",!0),o.deleteMsgMode?V("",!0):(M(),O("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},pPe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=le(a=>r.rankUp(),["stop"]))},mPe),d("div",_Pe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=le(a=>r.rankDown(),["stop"]))},bPe),n.message.rank!=0?(M(),O("div",{key:0,class:Oe(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},ee(n.message.rank),3)):V("",!0)])])])]),d("div",vPe,[o.editMsgMode?V("",!0):(M(),lt(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Te((M(),O("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 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",style:nn({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[Be,o.new_message_content]]):V("",!0)]),d("div",xPe,[d("div",wPe,[n.message.binding?(M(),O("p",kPe,[be("Binding: "),d("span",EPe,ee(n.message.binding),1)])):V("",!0),n.message.model?(M(),O("p",CPe,[be("Model: "),d("span",APe,ee(n.message.model),1)])):V("",!0),n.message.seed?(M(),O("p",SPe,[be("Seed: "),d("span",TPe,ee(n.message.seed),1)])):V("",!0),r.time_spent?(M(),O("p",MPe,[be("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},ee(r.time_spent),9,OPe)])):V("",!0)])])])])])}const Lp=Ge(FNe,[["render",RPe]]),DPe="/";Ce.defaults.baseURL="/";const LPe={name:"MountedPersonalities",props:{onShowPersList:Function},data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:DPe,isMounted:!1,mountedPers:{},show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let p={};return p=f,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+f.folder,p.isMounted=h,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),ge(()=>{})},personalityImgPlacehodler(t){t.target.src=Qn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality: +`+t.name,4,!0)}else this.onPersonalityMounted(t)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ce.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ce.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ce.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality +Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality +Error: `+e.error,4,!1)},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this),this.mountedPers=this.personalities[this.personalities.findIndex(e=>e.full_path==this.configFile.personalities[this.configFile.active_personality_id])]}}},IPe={class:"w-fit select-none"},NPe={key:0,class:"flex -space-x-4"},PPe=["src","title"],FPe={key:1,class:"flex -space-x-4"},jPe=["src","title"];function BPe(t,e,n,s,o,r){return M(),O("div",IPe,[o.mountedPersArr.length>1?(M(),O("div",NPe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+o.mountedPers.name},null,40,PPe),d("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[1]||(e[1]=le((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+ee(o.mountedPersArr.length-1),1)])):V("",!0),o.mountedPersArr.length==1?(M(),O("div",FPe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+o.mountedPers.name,onClick:e[3]||(e[3]=le((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,jPe)])):V("",!0)])}const $Pe=Ge(LPe,[["render",BPe]]);const zPe="/";Ce.defaults.baseURL="/";const qPe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:yh,Toast:oi,UniversalForm:Ph},name:"MountedPersonalitiesList",data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:zPe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){console.log("moununmoun pers list"),this.onMountUnmount(this)},async constructor(){this.isLoading=!0,this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const h=e.personalities.includes(o+"/"+l+"/"+f.folder);let p={};return p=f,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+f.folder,p.isMounted=h,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=Qn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: +`+t.name,4,!0),console.log("ssss",this.configFile))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Ce.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Ce.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. +`+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. + Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ce.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ce.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ce.post("/select_personality",n);if(s){this.toggleMountUnmount(),this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: +`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality +Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality: +`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality +Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},Dl=t=>(js("data-v-ecabcf2a"),t=t(),Bs(),t),UPe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},HPe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},VPe=Dl(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),KPe=Dl(()=>d("span",{class:"sr-only"},"Loading...",-1)),GPe=[VPe,KPe],WPe=Dl(()=>d("i",{"data-feather":"chevron-down"},null,-1)),ZPe=[WPe],YPe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},JPe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function QPe(t,e,n,s,o,r){const i=dt("personality-entry"),a=dt("Toast"),l=dt("UniversalForm");return M(),O("div",UPe,[o.isLoading?(M(),O("div",HPe,GPe)):V("",!0),d("div",null,[o.mountedPersArr.length>0?(M(),O("div",{key:0,class:Oe(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[d("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=le((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},ZPe),d("label",YPe," Mounted Personalities: ("+ee(o.mountedPersArr.length)+") ",1),d("div",JPe,[Ae(on,{name:"bounce"},{default:Je(()=>[(M(!0),O(Pe,null,at(o.mountedPersArr,(c,u)=>(M(),lt(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:o.configFile.personalities[o.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):V("",!0)]),Ae(a,{ref:"toast"},null,512),Ae(l,{ref:"universalForm",class:"z-20"},null,512)])}const XPe=Ge(qPe,[["render",QPe],["__scopeId","data-v-ecabcf2a"]]);const eFe={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:$Pe,MountedPersonalitiesList:XPe},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1}},computed:{allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{ke.replace()}),zt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){ge(()=>{ke.replace()})},loading(t,e){ge(()=>{ke.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{ke.replace()})},activated(){ge(()=>{ke.replace()})}},Ot=t=>(js("data-v-fdaaab76"),t=t(),Bs(),t),tFe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},nFe={key:0,class:"flex items-center justify-center w-full"},sFe={class:"flex flex-row p-2 rounded-t-lg"},oFe=Ot(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),rFe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},iFe={class:"flex flex-col gap-2"},aFe=["title"],lFe=Ot(()=>d("i",{"data-feather":"list"},null,-1)),cFe=[lFe],uFe={key:1},dFe={key:0,class:"flex flex-col max-h-64"},fFe=["title"],hFe={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary"},pFe=Ot(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),gFe={class:"line-clamp-1 w-3/5"},mFe=Ot(()=>d("div",{class:"grow"},null,-1)),_Fe={class:"flex flex-row items-center"},yFe={class:"whitespace-nowrap"},bFe=["onClick"],vFe=Ot(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),xFe=[vFe],wFe={key:2,class:"flex items-center mx-1"},kFe={class:"whitespace-nowrap flex flex-row gap-2"},EFe=Ot(()=>d("p",{class:"font-bold"}," Total size: ",-1)),CFe=Ot(()=>d("div",{class:"grow"},null,-1)),AFe=Ot(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),SFe=[AFe],TFe={key:3,class:"mx-1"},MFe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},OFe={class:"w-fit"},RFe={class:"relative grow"},DFe=Ot(()=>d("i",{"data-feather":"file-plus"},null,-1)),LFe=[DFe],IFe={class:"inline-flex justify-center rounded-full"},NFe=Ot(()=>d("i",{"data-feather":"send"},null,-1)),PFe=Ot(()=>d("span",{class:"sr-only"},"Send message",-1)),FFe=[NFe,PFe],jFe={key:1,title:"Waiting for reply"},BFe=Ot(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),$Fe=[BFe];function zFe(t,e,n,s,o,r){const i=dt("MountedPersonalitiesList"),a=dt("MountedPersonalities");return M(),O("div",tFe,[n.loading?(M(),O("div",nFe,[d("div",sFe,[d("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=le((...l)=>r.stopGenerating&&r.stopGenerating(...l),["stop"]))}," Stop generating ")])])):V("",!0),d("form",null,[oFe,d("div",rFe,[d("div",iFe,[o.fileList.length>0?(M(),O("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=le(l=>o.showFileList=!o.showFileList,["stop"]))},cFe,8,aFe)):V("",!0),o.fileList.length>0&&o.showFileList==!0?(M(),O("div",uFe,[o.fileList.length>0?(M(),O("div",dFe,[Ae(on,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Je(()=>[(M(!0),O(Pe,null,at(o.fileList,(l,c)=>(M(),O("div",{key:c+"-"+l.name},[d("div",{class:"m-1",title:l.name},[d("div",hFe,[pFe,d("div",gFe,ee(l.name),1),mFe,d("div",_Fe,[d("p",yFe,ee(r.computedFileSize(l.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:u=>r.removeItem(l)},xFe,8,bFe)])])],8,fFe)]))),128))]),_:1})])):V("",!0)])):V("",!0),o.fileList.length>0?(M(),O("div",wFe,[d("div",kFe,[EFe,be(" "+ee(o.totalSize)+" ("+ee(o.fileList.length)+") ",1)]),CFe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=l=>o.fileList=[])},SFe)])):V("",!0),o.showPersonalities?(M(),O("div",TFe,[Ae(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):V("",!0),d("div",MFe,[d("div",OFe,[Ae(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun},null,8,["onShowPersList"])]),d("div",RFe,[Te(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>o.message=l),title:"Hold SHIFT + ENTER to add new line",class:"inline-block 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:e[4]||(e[4]=da(le(l=>r.submitOnEnter(l),["exact"]),["enter"]))},`\r +\r +\r + `,544),[[Be,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...l)=>r.addFiles&&r.addFiles(...l)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=le(l=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},LFe)]),d("div",IFe,[n.loading?V("",!0):(M(),O("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...l)=>r.submit&&r.submit(...l)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},FFe)),n.loading?(M(),O("div",jFe,$Fe)):V("",!0)])])])])])])}const Ip=Ge(eFe,[["render",zFe],["__scopeId","data-v-fdaaab76"]]),qFe={name:"WelcomeComponent",setup(){return{}}},UFe={class:"flex flex-col text-center"},HFe=To('
Logo

Lord of Large Language Models

One tool to rule them all


Welcome

Please create a new discussion or select existing one to start

',1),VFe=[HFe];function KFe(t,e,n,s,o,r){return M(),O("div",UFe,VFe)}const Np=Ge(qFe,[["render",KFe]]);const GFe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){ge(()=>{ke.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),ge(()=>{ke.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,ge(()=>{ke.replace()})}}},WFe={class:"text-4xl text-center"};function ZFe(t,e,n,s,o,r){return M(),lt(on,{name:"list",tag:"div"},{default:Je(()=>[o.show?(M(),O("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=le(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=le(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:Oe(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[d("div",WFe,[tf(t.$slots,"default",{},()=>[be(" Drop your files here ")])])],2)],32)):V("",!0)]),_:3})}const Ra=Ge(GFe,[["render",ZFe]]);var YFe=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),Tr=globalThis&&globalThis.__assign||function(){return Tr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=yt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function cje(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},o=e.attributes[n]||{},r=e.elements[n];!At(r)||!Zt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function uje(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,c){return l[c]="",l},{});!At(o)||!Zt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const dje={name:"applyStyles",enabled:!0,phase:"write",fn:cje,effect:uje,requires:["computeStyles"]};function Kt(t){return t.split("-")[0]}var Jn=Math.max,Dr=Math.min,Os=Math.round;function Da(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Kp(){return!/^((?!chrome|android).)*safari/i.test(Da())}function Rs(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&At(t)&&(o=t.offsetWidth>0&&Os(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Os(s.height)/t.offsetHeight||1);var i=es(t)?yt(t):window,a=i.visualViewport,l=!Kp()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,f=s.width/o,h=s.height/r;return{width:f,height:h,top:u,right:c+f,bottom:u+h,left:c,x:c,y:u}}function Nl(t){var e=Rs(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function Gp(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&Il(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function un(t){return yt(t).getComputedStyle(t)}function fje(t){return["table","td","th"].indexOf(Zt(t))>=0}function Ln(t){return((es(t)?t.ownerDocument:t.document)||window.document).documentElement}function mi(t){return Zt(t)==="html"?t:t.assignedSlot||t.parentNode||(Il(t)?t.host:null)||Ln(t)}function ld(t){return!At(t)||un(t).position==="fixed"?null:t.offsetParent}function hje(t){var e=/firefox/i.test(Da()),n=/Trident/i.test(Da());if(n&&At(t)){var s=un(t);if(s.position==="fixed")return null}var o=mi(t);for(Il(o)&&(o=o.host);At(o)&&["html","body"].indexOf(Zt(o))<0;){var r=un(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Io(t){for(var e=yt(t),n=ld(t);n&&fje(n)&&un(n).position==="static";)n=ld(n);return n&&(Zt(n)==="html"||Zt(n)==="body"&&un(n).position==="static")?e:n||hje(t)||e}function Pl(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function io(t,e,n){return Jn(t,Dr(e,n))}function pje(t,e,n){var s=io(t,e,n);return s>n?n:s}function Wp(){return{top:0,right:0,bottom:0,left:0}}function Zp(t){return Object.assign({},Wp(),t)}function Yp(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var gje=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,Zp(typeof e!="number"?e:Yp(e,Lo))};function mje(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Kt(n.placement),l=Pl(a),c=[ht,Mt].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var f=gje(o.padding,n),h=Nl(r),p=l==="y"?ft:ht,g=l==="y"?Tt:Mt,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],v=i[l]-n.rects.reference[l],y=Io(r),_=y?l==="y"?y.clientHeight||0:y.clientWidth||0:0,w=m/2-v/2,C=f[p],I=_-h[u]-f[g],S=_/2-h[u]/2+w,R=io(C,S,I),x=l;n.modifiersData[s]=(e={},e[x]=R,e.centerOffset=R-S,e)}}function _je(t){var e=t.state,n=t.options,s=n.element,o=s===void 0?"[data-popper-arrow]":s;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||Gp(e.elements.popper,o)&&(e.elements.arrow=o))}const yje={name:"arrow",enabled:!0,phase:"main",fn:mje,effect:_je,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ds(t){return t.split("-")[1]}var bje={top:"auto",right:"auto",bottom:"auto",left:"auto"};function vje(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Os(n*o)/o||0,y:Os(s*o)/o||0}}function cd(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,f=t.isFixed,h=i.x,p=h===void 0?0:h,g=i.y,m=g===void 0?0:g,v=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=v.x,m=v.y;var y=i.hasOwnProperty("x"),_=i.hasOwnProperty("y"),w=ht,C=ft,I=window;if(c){var S=Io(n),R="clientHeight",x="clientWidth";if(S===yt(n)&&(S=Ln(n),un(S).position!=="static"&&a==="absolute"&&(R="scrollHeight",x="scrollWidth")),S=S,o===ft||(o===ht||o===Mt)&&r===Co){C=Tt;var k=f&&S===I&&I.visualViewport?I.visualViewport.height:S[R];m-=k-s.height,m*=l?1:-1}if(o===ht||(o===ft||o===Tt)&&r===Co){w=Mt;var T=f&&S===I&&I.visualViewport?I.visualViewport.width:S[x];p-=T-s.width,p*=l?1:-1}}var j=Object.assign({position:a},c&&bje),F=u===!0?vje({x:p,y:m},yt(n)):{x:p,y:m};if(p=F.x,m=F.y,l){var K;return Object.assign({},j,(K={},K[C]=_?"0":"",K[w]=y?"0":"",K.transform=(I.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",K))}return Object.assign({},j,(e={},e[C]=_?m+"px":"",e[w]=y?p+"px":"",e.transform="",e))}function xje(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Kt(e.placement),variation:Ds(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,cd(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,cd(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const wje={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:xje,data:{}};var Yo={passive:!0};function kje(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=yt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,Yo)}),a&&l.addEventListener("resize",n.update,Yo),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,Yo)}),a&&l.removeEventListener("resize",n.update,Yo)}}const Eje={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:kje,data:{}};var Cje={left:"right",right:"left",bottom:"top",top:"bottom"};function pr(t){return t.replace(/left|right|bottom|top/g,function(e){return Cje[e]})}var Aje={start:"end",end:"start"};function ud(t){return t.replace(/start|end/g,function(e){return Aje[e]})}function Fl(t){var e=yt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function jl(t){return Rs(Ln(t)).left+Fl(t).scrollLeft}function Sje(t,e){var n=yt(t),s=Ln(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=Kp();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+jl(t),y:l}}function Tje(t){var e,n=Ln(t),s=Fl(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Jn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Jn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+jl(t),l=-s.scrollTop;return un(o||n).direction==="rtl"&&(a+=Jn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function Bl(t){var e=un(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function Jp(t){return["html","body","#document"].indexOf(Zt(t))>=0?t.ownerDocument.body:At(t)&&Bl(t)?t:Jp(mi(t))}function ao(t,e){var n;e===void 0&&(e=[]);var s=Jp(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=yt(s),i=o?[r].concat(r.visualViewport||[],Bl(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(ao(mi(i)))}function La(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function Mje(t,e){var n=Rs(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function dd(t,e,n){return e===Hp?La(Sje(t,n)):es(e)?Mje(e,n):La(Tje(Ln(t)))}function Oje(t){var e=ao(mi(t)),n=["absolute","fixed"].indexOf(un(t).position)>=0,s=n&&At(t)?Io(t):t;return es(s)?e.filter(function(o){return es(o)&&Gp(o,s)&&Zt(o)!=="body"}):[]}function Rje(t,e,n,s){var o=e==="clippingParents"?Oje(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=dd(t,c,s);return l.top=Jn(u.top,l.top),l.right=Dr(u.right,l.right),l.bottom=Dr(u.bottom,l.bottom),l.left=Jn(u.left,l.left),l},dd(t,i,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Qp(t){var e=t.reference,n=t.element,s=t.placement,o=s?Kt(s):null,r=s?Ds(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case ft:l={x:i,y:e.y-n.height};break;case Tt:l={x:i,y:e.y+e.height};break;case Mt:l={x:e.x+e.width,y:a};break;case ht:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?Pl(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Ms:l[c]=l[c]-(e[u]/2-n[u]/2);break;case Co:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function Ao(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?JFe:a,c=n.rootBoundary,u=c===void 0?Hp:c,f=n.elementContext,h=f===void 0?Js:f,p=n.altBoundary,g=p===void 0?!1:p,m=n.padding,v=m===void 0?0:m,y=Zp(typeof v!="number"?v:Yp(v,Lo)),_=h===Js?QFe:Js,w=t.rects.popper,C=t.elements[g?_:h],I=Rje(es(C)?C:C.contextElement||Ln(t.elements.popper),l,u,i),S=Rs(t.elements.reference),R=Qp({reference:S,element:w,strategy:"absolute",placement:o}),x=La(Object.assign({},w,R)),k=h===Js?x:S,T={top:I.top-k.top+y.top,bottom:k.bottom-I.bottom+y.bottom,left:I.left-k.left+y.left,right:k.right-I.right+y.right},j=t.modifiersData.offset;if(h===Js&&j){var F=j[o];Object.keys(T).forEach(function(K){var D=[Mt,Tt].indexOf(K)>=0?1:-1,ce=[ft,Tt].indexOf(K)>=0?"y":"x";T[K]+=F[ce]*D})}return T}function Dje(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?Vp:l,u=Ds(s),f=u?a?ad:ad.filter(function(g){return Ds(g)===u}):Lo,h=f.filter(function(g){return c.indexOf(g)>=0});h.length===0&&(h=f);var p=h.reduce(function(g,m){return g[m]=Ao(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Kt(m)],g},{});return Object.keys(p).sort(function(g,m){return p[g]-p[m]})}function Lje(t){if(Kt(t)===Ll)return[];var e=pr(t);return[ud(t),e,ud(e)]}function Ije(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,f=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,m=n.allowedAutoPlacements,v=e.options.placement,y=Kt(v),_=y===v,w=l||(_||!g?[pr(v)]:Lje(v)),C=[v].concat(w).reduce(function(Ee,L){return Ee.concat(Kt(L)===Ll?Dje(e,{placement:L,boundary:u,rootBoundary:f,padding:c,flipVariations:g,allowedAutoPlacements:m}):L)},[]),I=e.rects.reference,S=e.rects.popper,R=new Map,x=!0,k=C[0],T=0;T=0,ce=D?"width":"height",Y=Ao(e,{placement:j,boundary:u,rootBoundary:f,altBoundary:h,padding:c}),A=D?K?Mt:ht:K?Tt:ft;I[ce]>S[ce]&&(A=pr(A));var P=pr(A),U=[];if(r&&U.push(Y[F]<=0),a&&U.push(Y[A]<=0,Y[P]<=0),U.every(function(Ee){return Ee})){k=j,x=!1;break}R.set(j,U)}if(x)for(var pe=g?3:1,ue=function(L){var Q=C.find(function(X){var ie=R.get(X);if(ie)return ie.slice(0,L).every(function(G){return G})});if(Q)return k=Q,"break"},Z=pe;Z>0;Z--){var _e=ue(Z);if(_e==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const Nje={name:"flip",enabled:!0,phase:"main",fn:Ije,requiresIfExists:["offset"],data:{_skip:!1}};function fd(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function hd(t){return[ft,Mt,Tt,ht].some(function(e){return t[e]>=0})}function Pje(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=Ao(e,{elementContext:"reference"}),a=Ao(e,{altBoundary:!0}),l=fd(i,s),c=fd(a,o,r),u=hd(l),f=hd(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:f},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}const Fje={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Pje};function jje(t,e,n){var s=Kt(t),o=[ht,ft].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[ht,Mt].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function Bje(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=Vp.reduce(function(u,f){return u[f]=jje(f,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const $je={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Bje};function zje(t){var e=t.state,n=t.name;e.modifiersData[n]=Qp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const qje={name:"popperOffsets",enabled:!0,phase:"read",fn:zje,data:{}};function Uje(t){return t==="x"?"y":"x"}function Hje(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,f=n.padding,h=n.tether,p=h===void 0?!0:h,g=n.tetherOffset,m=g===void 0?0:g,v=Ao(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:u}),y=Kt(e.placement),_=Ds(e.placement),w=!_,C=Pl(y),I=Uje(C),S=e.modifiersData.popperOffsets,R=e.rects.reference,x=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,T=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),j=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(S){if(r){var K,D=C==="y"?ft:ht,ce=C==="y"?Tt:Mt,Y=C==="y"?"height":"width",A=S[C],P=A+v[D],U=A-v[ce],pe=p?-x[Y]/2:0,ue=_===Ms?R[Y]:x[Y],Z=_===Ms?-x[Y]:-R[Y],_e=e.elements.arrow,Ee=p&&_e?Nl(_e):{width:0,height:0},L=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:Wp(),Q=L[D],X=L[ce],ie=io(0,R[Y],Ee[Y]),G=w?R[Y]/2-pe-ie-Q-T.mainAxis:ue-ie-Q-T.mainAxis,me=w?-R[Y]/2+pe+ie+X+T.mainAxis:Z+ie+X+T.mainAxis,fe=e.elements.arrow&&Io(e.elements.arrow),b=fe?C==="y"?fe.clientTop||0:fe.clientLeft||0:0,E=(K=j==null?void 0:j[C])!=null?K:0,N=A+G-E-b,B=A+me-E,$=io(p?Dr(P,N):P,A,p?Jn(U,B):U);S[C]=$,F[C]=$-A}if(a){var te,oe=C==="x"?ft:ht,z=C==="x"?Tt:Mt,ne=S[I],q=I==="y"?"height":"width",J=ne+v[oe],re=ne-v[z],de=[ft,ht].indexOf(y)!==-1,ae=(te=j==null?void 0:j[I])!=null?te:0,xe=de?J:ne-R[q]-x[q]-ae+T.altAxis,W=de?ne+R[q]+x[q]-ae-T.altAxis:re,se=p&&de?pje(xe,ne,W):io(p?xe:J,ne,p?W:re);S[I]=se,F[I]=se-ne}e.modifiersData[s]=F}}const Vje={name:"preventOverflow",enabled:!0,phase:"main",fn:Hje,requiresIfExists:["offset"]};function Kje(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function Gje(t){return t===yt(t)||!At(t)?Fl(t):Kje(t)}function Wje(t){var e=t.getBoundingClientRect(),n=Os(e.width)/t.offsetWidth||1,s=Os(e.height)/t.offsetHeight||1;return n!==1||s!==1}function Zje(t,e,n){n===void 0&&(n=!1);var s=At(e),o=At(e)&&Wje(e),r=Ln(e),i=Rs(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Zt(e)!=="body"||Bl(r))&&(a=Gje(e)),At(e)?(l=Rs(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=jl(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function Yje(t){var e=new Map,n=new Set,s=[];t.forEach(function(r){e.set(r.name,r)});function o(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&o(l)}}),s.push(r)}return t.forEach(function(r){n.has(r.name)||o(r)}),s}function Jje(t){var e=Yje(t);return lje.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function Qje(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function Xje(t){var e=t.reduce(function(n,s){var o=n[s.name];return n[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var pd={placement:"bottom",modifiers:[],strategy:"absolute"};function gd(){for(var t=arguments.length,e=new Array(t),n=0;n(js("data-v-d054087d"),t=t(),Bs(),t),oBe={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},rBe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},iBe={class:"flex-row p-4 flex items-center gap-3 flex-0"},aBe=nt(()=>d("i",{"data-feather":"plus"},null,-1)),lBe=[aBe],cBe=nt(()=>d("i",{"data-feather":"check-square"},null,-1)),uBe=[cBe],dBe=nt(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[d("i",{"data-feather":"refresh-ccw"})],-1)),fBe=nt(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),hBe=nt(()=>d("i",{"data-feather":"log-in"},null,-1)),pBe=[hBe],gBe=nt(()=>d("i",{"data-feather":"search"},null,-1)),mBe=[gBe],_Be={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},yBe=nt(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),bBe=[yBe],vBe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},xBe={class:"p-4 pt-2"},wBe={class:"relative"},kBe=nt(()=>d("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[d("div",{class:"scale-75"},[d("i",{"data-feather":"search"})])],-1)),EBe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},CBe=nt(()=>d("i",{"data-feather":"x"},null,-1)),ABe=[CBe],SBe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},TBe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},MBe={class:"flex flex-row flex-grow"},OBe={key:0},RBe={class:"flex flex-row"},DBe={key:0,class:"flex gap-3"},LBe=nt(()=>d("i",{"data-feather":"trash"},null,-1)),IBe=[LBe],NBe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},PBe=nt(()=>d("i",{"data-feather":"check"},null,-1)),FBe=[PBe],jBe=nt(()=>d("i",{"data-feather":"x"},null,-1)),BBe=[jBe],$Be={class:"flex gap-3"},zBe=nt(()=>d("i",{"data-feather":"log-out"},null,-1)),qBe=[zBe],UBe=nt(()=>d("i",{"data-feather":"list"},null,-1)),HBe=[UBe],VBe={class:"z-20"},KBe={class:"relative flex flex-row flex-grow mb-10"},GBe={key:1,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"},WBe=nt(()=>d("p",{class:"px-3"},"No discussions are found",-1)),ZBe=[WBe],YBe=nt(()=>d("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),JBe={class:"z-20 h-max"},QBe={class:"container pt-4 pb-10 mb-28"},XBe=nt(()=>d("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),e$e={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},t$e={setup(){},data(){return{list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ce.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ce.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==0))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Ce.get("/new_discussion",{params:{title:t}});if(e)return e.data}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await Ce.post("/delete_discussion",{id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await Ce.post("/edit_title",{id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await Ce.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(je.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Ce.get("/message_rank_up",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await Ce.get("/message_rank_down",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async update_message(t,e){try{const n=await Ce.get("/update_message",{params:{id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await Ce.post("/export_multiple_discussions",{discussion_ids:t});if(e)return e.data}}catch(e){return console.log("Error: Could not export multiple discussions",e.message),{}}},async import_multiple_discussions(t){try{if(t.length>0){console.log("sending import",t);const e=await Ce.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),ge(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),ge(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ce.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{je.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){console.log("stream msg",t);const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),ge(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ce.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):je.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}ge(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` +Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=` +Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=` +Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s} + +${o} + +${l}`;navigator.clipboard.writeText(c),ge(()=>{ke.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. +`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){let t=[];const e=await this.api_get_req("get_all_personalities"),n=Object.keys(e);for(let s=0;s{let h={};return h=f,h.category=l,h.language=o,h});t.length==0?t=u:t=t.concat(u)}}this.personalityAvatars=t.map(s=>({name:s.name,avatar:s.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox +`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,ge(()=>{ke.replace()}),je.on("infos",this.createBotMsg),je.on("message",this.streamMessageContent),je.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&ge(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:Fh,Message:Lp,ChatBox:Ip,WelcomeComponent:Np,Toast:oi,DragDrop:Ra},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){ge(()=>{ke.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){ge(()=>{ke.replace()})},isSearch(){ge(()=>{ke.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return ge(()=>{ke.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},n$e=Object.assign(t$e,{__name:"DiscussionsView",setup(t){return Gr(()=>{nBe()}),Ce.defaults.baseURL="/",(e,n)=>(M(),O(Pe,null,[d("div",oBe,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=le(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",rBe,[d("div",iBe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},lBe),d("button",{class:Oe(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},uBe,2),dBe,fBe,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=le(s=>e.$refs.fileDialog.click(),["stop"]))},pBe),d("button",{class:Oe(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},mBe,2),e.loading?(M(),O("div",_Be,bBe)):V("",!0)]),e.isSearch?(M(),O("div",vBe,[d("div",xBe,[d("div",wBe,[kBe,d("div",EBe,[d("div",{class:Oe(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},ABe,2)]),Te(d("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[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[Be,e.filterTitle]])])])])):V("",!0),e.isCheckbox?(M(),O("hr",SBe)):V("",!0),e.isCheckbox?(M(),O("div",TBe,[d("div",MBe,[e.selectedDiscussions.length>0?(M(),O("p",OBe,"Selected: "+ee(e.selectedDiscussions.length),1)):V("",!0)]),d("div",RBe,[e.selectedDiscussions.length>0?(M(),O("div",DBe,[e.showConfirmation?V("",!0):(M(),O("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=le(s=>e.showConfirmation=!0,["stop"]))},IBe)),e.showConfirmation?(M(),O("div",NBe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=le((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},FBe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=le(s=>e.showConfirmation=!1,["stop"]))},BBe)])):V("",!0)])):V("",!0),d("div",$Be,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=le((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},qBe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=le((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},HBe)])])])):V("",!0)]),d("div",VBe,[Ae(Ra,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Je(()=>[be("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",KBe,[d("div",{class:Oe(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:Oe([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(M(),lt(on,{key:0,name:"list"},{default:Je(()=>[(M(!0),O(Pe,null,at(e.list,(s,o)=>(M(),lt(Fh,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):V("",!0),e.list.length<1?(M(),O("div",GBe,ZBe)):V("",!0),YBe],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=le(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",JBe,[Ae(Ra,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:Oe(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[d("div",QBe,[e.discussionArr.length>0?(M(),lt(on,{key:0,name:"list"},{default:Je(()=>[(M(!0),O(Pe,null,at(e.discussionArr,(s,o)=>(M(),lt(Lp,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):V("",!0),e.currentDiscussion.id?V("",!0):(M(),lt(Np,{key:1}))]),XBe,e.currentDiscussion.id?(M(),O("div",e$e,[Ae(Ip,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):V("",!0)],2)],32),Ae(oi,{ref:"toast"},null,512)],64))}}),s$e=Ge(n$e,[["__scopeId","data-v-d054087d"]]),o$e=y0({history:P1("/"),routes:[{path:"/extensions/",name:"extensions",component:Y0},{path:"/help/",name:"help",component:dy},{path:"/settings/",name:"settings",component:j3},{path:"/training/",name:"training",component:iC},{path:"/",name:"discussions",component:s$e}]});const zl=Ef(G0),r$e=y1({state(){return{mountedPersonalities:[],settingsChanged:!1}},mutations:{}});zl.use(o$e);zl.use(r$e);zl.mount("#app"); diff --git a/web/dist/assets/index-580d32c6.js b/web/dist/assets/index-580d32c6.js deleted file mode 100644 index 03d733f3..00000000 --- a/web/dist/assets/index-580d32c6.js +++ /dev/null @@ -1,145 +0,0 @@ -(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))s(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();function ka(t,e){const n=Object.create(null),s=t.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}function Qt(t){if(_e(t)){const e={};for(let n=0;n{if(n){const s=n.split(Pp);s.length>1&&(e[s[0].trim()]=s[1].trim())}}),e}function De(t){let e="";if(He(t))e=t;else if(_e(t))for(let n=0;nwo(n,e))}const Z=t=>He(t)?t:t==null?"":_e(t)||Be(t)&&(t.toString===nd||!Se(t.toString))?JSON.stringify(t,ed,2):String(t),ed=(t,e)=>e&&e.__v_isRef?ed(t,e.value):cs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[s,o])=>(n[`${s} =>`]=o,n),{})}:Ts(e)?{[`Set(${e.size})`]:[...e.values()]}:Be(e)&&!_e(e)&&!sd(e)?String(e):e,Ue={},ls=[],Ot=()=>{},zp=()=>!1,Bp=/^on[^a-z]/,Tr=t=>Bp.test(t),Ea=t=>t.startsWith("onUpdate:"),Je=Object.assign,Aa=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},Np=Object.prototype.hasOwnProperty,Oe=(t,e)=>Np.call(t,e),_e=Array.isArray,cs=t=>Ms(t)==="[object Map]",Ts=t=>Ms(t)==="[object Set]",Ml=t=>Ms(t)==="[object Date]",Up=t=>Ms(t)==="[object RegExp]",Se=t=>typeof t=="function",He=t=>typeof t=="string",oo=t=>typeof t=="symbol",Be=t=>t!==null&&typeof t=="object",td=t=>Be(t)&&Se(t.then)&&Se(t.catch),nd=Object.prototype.toString,Ms=t=>nd.call(t),Hp=t=>Ms(t).slice(8,-1),sd=t=>Ms(t)==="[object Object]",Sa=t=>He(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Wo=ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Mr=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Vp=/-(\w)/g,Ht=Mr(t=>t.replace(Vp,(e,n)=>n?n.toUpperCase():"")),Gp=/\B([A-Z])/g,Yn=Mr(t=>t.replace(Gp,"-$1").toLowerCase()),Dr=Mr(t=>t.charAt(0).toUpperCase()+t.slice(1)),ai=Mr(t=>t?`on${Dr(t)}`:""),ro=(t,e)=>!Object.is(t,e),us=(t,e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},lr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Kp=t=>{const e=He(t)?Number(t):NaN;return isNaN(e)?t:e};let Dl;const Wp=()=>Dl||(Dl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Tt;class Zp{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Tt,!e&&Tt&&(this.index=(Tt.scopes||(Tt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Tt;try{return Tt=this,e()}finally{Tt=n}}}on(){Tt=this}off(){Tt=this.parent}stop(e){if(this._active){let n,s;for(n=0,s=this.effects.length;n{const e=new Set(t);return e.w=0,e.n=0,e},od=t=>(t.w&An)>0,rd=t=>(t.n&An)>0,Qp=({deps:t})=>{if(t.length)for(let e=0;e{const{deps:e}=t;if(e.length){let n=0;for(let s=0;s{(u==="length"||u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),e){case"add":_e(t)?Sa(n)&&a.push(i.get("length")):(a.push(i.get(Un)),cs(t)&&a.push(i.get(Ni)));break;case"delete":_e(t)||(a.push(i.get(Un)),cs(t)&&a.push(i.get(Ni)));break;case"set":cs(t)&&a.push(i.get(Un));break}if(a.length===1)a[0]&&Ui(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Ui(Ta(l))}}function Ui(t,e){const n=_e(t)?t:[...t];for(const s of n)s.computed&&Ol(s);for(const s of n)s.computed||Ol(s)}function Ol(t,e){(t!==Dt||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const eg=ka("__proto__,__v_isRef,__isVue"),ld=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(oo)),tg=Da(),ng=Da(!1,!0),sg=Da(!0),jl=og();function og(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const s=Pe(this);for(let r=0,i=this.length;r{t[e]=function(...n){Ds();const s=Pe(this)[e].apply(this,n);return Ls(),s}}),t}function rg(t){const e=Pe(this);return dt(e,"has",t),e.hasOwnProperty(t)}function Da(t=!1,e=!1){return function(s,o,r){if(o==="__v_isReactive")return!t;if(o==="__v_isReadonly")return t;if(o==="__v_isShallow")return e;if(o==="__v_raw"&&r===(t?e?xg:fd:e?hd:dd).get(s))return s;const i=_e(s);if(!t){if(i&&Oe(jl,o))return Reflect.get(jl,o,r);if(o==="hasOwnProperty")return rg}const a=Reflect.get(s,o,r);return(oo(o)?ld.has(o):eg(o))||(t||dt(s,"get",o),e)?a:st(a)?i&&Sa(o)?a:a.value:Be(a)?t?pd(a):Os(a):a}}const ig=cd(),ag=cd(!0);function cd(t=!1){return function(n,s,o,r){let i=n[s];if(gs(i)&&st(i)&&!st(o))return!1;if(!t&&(!cr(o)&&!gs(o)&&(i=Pe(i),o=Pe(o)),!_e(n)&&st(i)&&!st(o)))return i.value=o,!0;const a=_e(n)&&Sa(s)?Number(s)t,Lr=t=>Reflect.getPrototypeOf(t);function Do(t,e,n=!1,s=!1){t=t.__v_raw;const o=Pe(t),r=Pe(e);n||(e!==r&&dt(o,"get",e),dt(o,"get",r));const{has:i}=Lr(o),a=s?La:n?Pa:io;if(i.call(o,e))return a(t.get(e));if(i.call(o,r))return a(t.get(r));t!==o&&t.get(e)}function Lo(t,e=!1){const n=this.__v_raw,s=Pe(n),o=Pe(t);return e||(t!==o&&dt(s,"has",t),dt(s,"has",o)),t===o?n.has(t):n.has(t)||n.has(o)}function Oo(t,e=!1){return t=t.__v_raw,!e&&dt(Pe(t),"iterate",Un),Reflect.get(t,"size",t)}function Pl(t){t=Pe(t);const e=Pe(this);return Lr(e).has.call(e,t)||(e.add(t),nn(e,"add",t,t)),this}function Rl(t,e){e=Pe(e);const n=Pe(this),{has:s,get:o}=Lr(n);let r=s.call(n,t);r||(t=Pe(t),r=s.call(n,t));const i=o.call(n,t);return n.set(t,e),r?ro(e,i)&&nn(n,"set",t,e):nn(n,"add",t,e),this}function Il(t){const e=Pe(this),{has:n,get:s}=Lr(e);let o=n.call(e,t);o||(t=Pe(t),o=n.call(e,t)),s&&s.call(e,t);const r=e.delete(t);return o&&nn(e,"delete",t,void 0),r}function Fl(){const t=Pe(this),e=t.size!==0,n=t.clear();return e&&nn(t,"clear",void 0,void 0),n}function jo(t,e){return function(s,o){const r=this,i=r.__v_raw,a=Pe(i),l=e?La:t?Pa:io;return!t&&dt(a,"iterate",Un),i.forEach((c,u)=>s.call(o,l(c),l(u),r))}}function Po(t,e,n){return function(...s){const o=this.__v_raw,r=Pe(o),i=cs(r),a=t==="entries"||t===Symbol.iterator&&i,l=t==="keys"&&i,c=o[t](...s),u=n?La:e?Pa:io;return!e&&dt(r,"iterate",l?Ni:Un),{next(){const{value:h,done:f}=c.next();return f?{value:h,done:f}:{value:a?[u(h[0]),u(h[1])]:u(h),done:f}},[Symbol.iterator](){return this}}}}function cn(t){return function(...e){return t==="delete"?!1:this}}function fg(){const t={get(r){return Do(this,r)},get size(){return Oo(this)},has:Lo,add:Pl,set:Rl,delete:Il,clear:Fl,forEach:jo(!1,!1)},e={get(r){return Do(this,r,!1,!0)},get size(){return Oo(this)},has:Lo,add:Pl,set:Rl,delete:Il,clear:Fl,forEach:jo(!1,!0)},n={get(r){return Do(this,r,!0)},get size(){return Oo(this,!0)},has(r){return Lo.call(this,r,!0)},add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear"),forEach:jo(!0,!1)},s={get(r){return Do(this,r,!0,!0)},get size(){return Oo(this,!0)},has(r){return Lo.call(this,r,!0)},add:cn("add"),set:cn("set"),delete:cn("delete"),clear:cn("clear"),forEach:jo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Po(r,!1,!1),n[r]=Po(r,!0,!1),e[r]=Po(r,!1,!0),s[r]=Po(r,!0,!0)}),[t,n,e,s]}const[pg,gg,mg,_g]=fg();function Oa(t,e){const n=e?t?_g:mg:t?gg:pg;return(s,o,r)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?s:Reflect.get(Oe(n,o)&&o in s?n:s,o,r)}const yg={get:Oa(!1,!1)},bg={get:Oa(!1,!0)},vg={get:Oa(!0,!1)},dd=new WeakMap,hd=new WeakMap,fd=new WeakMap,xg=new WeakMap;function wg(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function kg(t){return t.__v_skip||!Object.isExtensible(t)?0:wg(Hp(t))}function Os(t){return gs(t)?t:ja(t,!1,ud,yg,dd)}function Cg(t){return ja(t,!1,hg,bg,hd)}function pd(t){return ja(t,!0,dg,vg,fd)}function ja(t,e,n,s,o){if(!Be(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=o.get(t);if(r)return r;const i=kg(t);if(i===0)return t;const a=new Proxy(t,i===2?s:n);return o.set(t,a),a}function ds(t){return gs(t)?ds(t.__v_raw):!!(t&&t.__v_isReactive)}function gs(t){return!!(t&&t.__v_isReadonly)}function cr(t){return!!(t&&t.__v_isShallow)}function gd(t){return ds(t)||gs(t)}function Pe(t){const e=t&&t.__v_raw;return e?Pe(e):t}function md(t){return ar(t,"__v_skip",!0),t}const io=t=>Be(t)?Os(t):t,Pa=t=>Be(t)?pd(t):t;function _d(t){Cn&&Dt&&(t=Pe(t),ad(t.dep||(t.dep=Ta())))}function yd(t,e){t=Pe(t);const n=t.dep;n&&Ui(n)}function st(t){return!!(t&&t.__v_isRef===!0)}function Eg(t){return bd(t,!1)}function Ag(t){return bd(t,!0)}function bd(t,e){return st(t)?t:new Sg(t,e)}class Sg{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:Pe(e),this._value=n?e:io(e)}get value(){return _d(this),this._value}set value(e){const n=this.__v_isShallow||cr(e)||gs(e);e=n?e:Pe(e),ro(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:io(e),yd(this))}}function ft(t){return st(t)?t.value:t}const Tg={get:(t,e,n)=>ft(Reflect.get(t,e,n)),set:(t,e,n,s)=>{const o=t[e];return st(o)&&!st(n)?(o.value=n,!0):Reflect.set(t,e,n,s)}};function vd(t){return ds(t)?t:new Proxy(t,Tg)}var xd;class Mg{constructor(e,n,s,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[xd]=!1,this._dirty=!0,this.effect=new Ma(e,()=>{this._dirty||(this._dirty=!0,yd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=s}get value(){const e=Pe(this);return _d(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}xd="__v_isReadonly";function Dg(t,e,n=!1){let s,o;const r=Se(t);return r?(s=t,o=Ot):(s=t.get,o=t.set),new Mg(s,o,r||!o,n)}function En(t,e,n,s){let o;try{o=s?t(...s):t()}catch(r){Or(r,e,n)}return o}function xt(t,e,n,s){if(Se(t)){const r=En(t,e,n,s);return r&&td(r)&&r.catch(i=>{Or(i,e,n)}),r}const o=[];for(let r=0;r>>1;lo(nt[s])Ft&&nt.splice(e,1)}function Pg(t){_e(t)?hs.push(...t):(!Yt||!Yt.includes(t,t.allowRecurse?Rn+1:Rn))&&hs.push(t),kd()}function ql(t,e=ao?Ft+1:0){for(;elo(n)-lo(s)),Rn=0;Rnt.id==null?1/0:t.id,Rg=(t,e)=>{const n=lo(t)-lo(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Ed(t){Hi=!1,ao=!0,nt.sort(Rg);const e=Ot;try{for(Ft=0;FtHe(p)?p.trim():p)),h&&(o=n.map(lr))}let a,l=s[a=ai(e)]||s[a=ai(Ht(e))];!l&&r&&(l=s[a=ai(Yn(e))]),l&&xt(l,t,6,o);const c=s[a+"Once"];if(c){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,xt(c,t,6,o)}}function Ad(t,e,n=!1){const s=e.emitsCache,o=s.get(t);if(o!==void 0)return o;const r=t.emits;let i={},a=!1;if(!Se(t)){const l=c=>{const u=Ad(c,e,!0);u&&(a=!0,Je(i,u))};!n&&e.mixins.length&&e.mixins.forEach(l),t.extends&&l(t.extends),t.mixins&&t.mixins.forEach(l)}return!r&&!a?(Be(t)&&s.set(t,null),null):(_e(r)?r.forEach(l=>i[l]=null):Je(i,r),Be(t)&&s.set(t,i),i)}function jr(t,e){return!t||!Tr(e)?!1:(e=e.slice(2).replace(/Once$/,""),Oe(t,e[0].toLowerCase()+e.slice(1))||Oe(t,Yn(e))||Oe(t,e))}let Xe=null,Pr=null;function ur(t){const e=Xe;return Xe=t,Pr=t&&t.type.__scopeId||null,e}function js(t){Pr=t}function Ps(){Pr=null}function Ze(t,e=Xe,n){if(!e||t._n)return t;const s=(...o)=>{s._d&&Wl(-1);const r=ur(e);let i;try{i=t(...o)}finally{ur(r),s._d&&Wl(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function li(t){const{type:e,vnode:n,proxy:s,withProxy:o,props:r,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:h,data:f,setupState:p,ctx:g,inheritAttrs:m}=t;let w,v;const y=ur(t);try{if(n.shapeFlag&4){const E=o||s;w=It(u.call(E,E,h,r,p,f,g)),v=l}else{const E=e;w=It(E.length>1?E(r,{attrs:l,slots:a,emit:c}):E(r,null)),v=e.props?l:Fg(l)}}catch(E){Ys.length=0,Or(E,t,1),w=Ee(wt)}let x=w;if(v&&m!==!1){const E=Object.keys(v),{shapeFlag:q}=x;E.length&&q&7&&(i&&E.some(Ea)&&(v=qg(v,i)),x=sn(x,v))}return n.dirs&&(x=sn(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),w=x,ur(y),w}const Fg=t=>{let e;for(const n in t)(n==="class"||n==="style"||Tr(n))&&((e||(e={}))[n]=t[n]);return e},qg=(t,e)=>{const n={};for(const s in t)(!Ea(s)||!(s.slice(9)in e))&&(n[s]=t[s]);return n};function $g(t,e,n){const{props:s,children:o,component:r}=t,{props:i,children:a,patchFlag:l}=e,c=r.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?$l(s,i,c):!!i;if(l&8){const u=e.dynamicProps;for(let h=0;ht.__isSuspense;function Bg(t,e){e&&e.pendingBranch?_e(t)?e.effects.push(...t):e.effects.push(t):Pg(t)}function Zo(t,e){if(Ge){let n=Ge.provides;const s=Ge.parent&&Ge.parent.provides;s===n&&(n=Ge.provides=Object.create(s)),n[t]=e}}function Xt(t,e,n=!1){const s=Ge||Xe;if(s){const o=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(o&&t in o)return o[t];if(arguments.length>1)return n&&Se(e)?e.call(s.proxy):e}}const Ro={};function Hn(t,e,n){return Td(t,e,n)}function Td(t,e,{immediate:n,deep:s,flush:o,onTrack:r,onTrigger:i}=Ue){const a=Yp()===(Ge==null?void 0:Ge.scope)?Ge:null;let l,c=!1,u=!1;if(st(t)?(l=()=>t.value,c=cr(t)):ds(t)?(l=()=>t,s=!0):_e(t)?(u=!0,c=t.some(x=>ds(x)||cr(x)),l=()=>t.map(x=>{if(st(x))return x.value;if(ds(x))return Bn(x);if(Se(x))return En(x,a,2)})):Se(t)?e?l=()=>En(t,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),xt(t,a,3,[f])}:l=Ot,e&&s){const x=l;l=()=>Bn(x())}let h,f=x=>{h=v.onStop=()=>{En(x,a,4)}},p;if(fo)if(f=Ot,e?n&&xt(e,a,3,[l(),u?[]:void 0,f]):l(),o==="sync"){const x=j1();p=x.__watcherHandles||(x.__watcherHandles=[])}else return Ot;let g=u?new Array(t.length).fill(Ro):Ro;const m=()=>{if(v.active)if(e){const x=v.run();(s||c||(u?x.some((E,q)=>ro(E,g[q])):ro(x,g)))&&(h&&h(),xt(e,a,3,[x,g===Ro?void 0:u&&g[0]===Ro?[]:g,f]),g=x)}else v.run()};m.allowRecurse=!!e;let w;o==="sync"?w=m:o==="post"?w=()=>Qe(m,a&&a.suspense):(m.pre=!0,a&&(m.id=a.uid),w=()=>Ia(m));const v=new Ma(l,w);e?n?m():g=v.run():o==="post"?Qe(v.run.bind(v),a&&a.suspense):v.run();const y=()=>{v.stop(),a&&a.scope&&Aa(a.scope.effects,v)};return p&&p.push(y),y}function Ng(t,e,n){const s=this.proxy,o=He(t)?t.includes(".")?Md(s,t):()=>s[t]:t.bind(s,s);let r;Se(e)?r=e:(r=e.handler,n=e);const i=Ge;_s(this);const a=Td(o,r.bind(s),n);return i?_s(i):Vn(),a}function Md(t,e){const n=e.split(".");return()=>{let s=t;for(let o=0;o{Bn(n,e)});else if(sd(t))for(const n in t)Bn(t[n],e);return t}function Dd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Fr(()=>{t.isMounted=!0}),$a(()=>{t.isUnmounting=!0}),t}const _t=[Function,Array],Ug={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_t,onEnter:_t,onAfterEnter:_t,onEnterCancelled:_t,onBeforeLeave:_t,onLeave:_t,onAfterLeave:_t,onLeaveCancelled:_t,onBeforeAppear:_t,onAppear:_t,onAfterAppear:_t,onAppearCancelled:_t},setup(t,{slots:e}){const n=Ha(),s=Dd();let o;return()=>{const r=e.default&&Fa(e.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const m of r)if(m.type!==wt){i=m;break}}const a=Pe(t),{mode:l}=a;if(s.isLeaving)return ci(i);const c=zl(i);if(!c)return ci(i);const u=co(c,a,s,n);ms(c,u);const h=n.subTree,f=h&&zl(h);let p=!1;const{getTransitionKey:g}=c.type;if(g){const m=g();o===void 0?o=m:m!==o&&(o=m,p=!0)}if(f&&f.type!==wt&&(!xn(c,f)||p)){const m=co(f,a,s,n);if(ms(f,m),l==="out-in")return s.isLeaving=!0,m.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ci(i);l==="in-out"&&c.type!==wt&&(m.delayLeave=(w,v,y)=>{const x=Ld(s,f);x[String(f.key)]=f,w._leaveCb=()=>{v(),w._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=y})}return i}}},Hg=Ug;function Ld(t,e){const{leavingVNodes:n}=t;let s=n.get(e.type);return s||(s=Object.create(null),n.set(e.type,s)),s}function co(t,e,n,s){const{appear:o,mode:r,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:h,onLeave:f,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:w,onAfterAppear:v,onAppearCancelled:y}=e,x=String(t.key),E=Ld(n,t),q=(b,k)=>{b&&xt(b,s,9,k)},M=(b,k)=>{const S=k[1];q(b,k),_e(b)?b.every(z=>z.length<=1)&&S():b.length<=1&&S()},$={mode:r,persisted:i,beforeEnter(b){let k=a;if(!n.isMounted)if(o)k=m||a;else return;b._leaveCb&&b._leaveCb(!0);const S=E[x];S&&xn(t,S)&&S.el._leaveCb&&S.el._leaveCb(),q(k,[b])},enter(b){let k=l,S=c,z=u;if(!n.isMounted)if(o)k=w||l,S=v||c,z=y||u;else return;let F=!1;const Q=b._enterCb=I=>{F||(F=!0,I?q(z,[b]):q(S,[b]),$.delayedLeave&&$.delayedLeave(),b._enterCb=void 0)};k?M(k,[b,Q]):Q()},leave(b,k){const S=String(t.key);if(b._enterCb&&b._enterCb(!0),n.isUnmounting)return k();q(h,[b]);let z=!1;const F=b._leaveCb=Q=>{z||(z=!0,k(),Q?q(g,[b]):q(p,[b]),b._leaveCb=void 0,E[S]===t&&delete E[S])};E[S]=t,f?M(f,[b,F]):F()},clone(b){return co(b,e,n,s)}};return $}function ci(t){if(Rr(t))return t=sn(t),t.children=null,t}function zl(t){return Rr(t)?t.children?t.children[0]:void 0:t}function ms(t,e){t.shapeFlag&6&&t.component?ms(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function Fa(t,e=!1,n){let s=[],o=0;for(let r=0;r1)for(let r=0;r!!t.type.__asyncLoader,Rr=t=>t.type.__isKeepAlive,Vg={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(t,{slots:e}){const n=Ha(),s=n.ctx;if(!s.renderer)return()=>{const y=e.default&&e.default();return y&&y.length===1?y[0]:y};const o=new Map,r=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:h}}}=s,f=h("div");s.activate=(y,x,E,q,M)=>{const $=y.component;c(y,x,E,0,a),l($.vnode,y,x,E,$,a,q,y.slotScopeIds,M),Qe(()=>{$.isDeactivated=!1,$.a&&us($.a);const b=y.props&&y.props.onVnodeMounted;b&&yt(b,$.parent,y)},a)},s.deactivate=y=>{const x=y.component;c(y,f,null,1,a),Qe(()=>{x.da&&us(x.da);const E=y.props&&y.props.onVnodeUnmounted;E&&yt(E,x.parent,y),x.isDeactivated=!0},a)};function p(y){ui(y),u(y,n,a,!0)}function g(y){o.forEach((x,E)=>{const q=Ji(x.type);q&&(!y||!y(q))&&m(E)})}function m(y){const x=o.get(y);!i||!xn(x,i)?p(x):i&&ui(i),o.delete(y),r.delete(y)}Hn(()=>[t.include,t.exclude],([y,x])=>{y&&g(E=>Ws(y,E)),x&&g(E=>!Ws(x,E))},{flush:"post",deep:!0});let w=null;const v=()=>{w!=null&&o.set(w,di(n.subTree))};return Fr(v),qa(v),$a(()=>{o.forEach(y=>{const{subTree:x,suspense:E}=n,q=di(x);if(y.type===q.type&&y.key===q.key){ui(q);const M=q.component.da;M&&Qe(M,E);return}p(y)})}),()=>{if(w=null,!e.default)return null;const y=e.default(),x=y[0];if(y.length>1)return i=null,y;if(!ho(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let E=di(x);const q=E.type,M=Ji(fs(E)?E.type.__asyncResolved||{}:q),{include:$,exclude:b,max:k}=t;if($&&(!M||!Ws($,M))||b&&M&&Ws(b,M))return i=E,x;const S=E.key==null?q:E.key,z=o.get(S);return E.el&&(E=sn(E),x.shapeFlag&128&&(x.ssContent=E)),w=S,z?(E.el=z.el,E.component=z.component,E.transition&&ms(E,E.transition),E.shapeFlag|=512,r.delete(S),r.add(S)):(r.add(S),k&&r.size>parseInt(k,10)&&m(r.values().next().value)),E.shapeFlag|=256,i=E,Sd(x.type)?x:E}}},Gg=Vg;function Ws(t,e){return _e(t)?t.some(n=>Ws(n,e)):He(t)?t.split(",").includes(e):Up(t)?t.test(e):!1}function Kg(t,e){jd(t,"a",e)}function Wg(t,e){jd(t,"da",e)}function jd(t,e,n=Ge){const s=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Ir(e,s,n),n){let o=n.parent;for(;o&&o.parent;)Rr(o.parent.vnode)&&Zg(s,e,n,o),o=o.parent}}function Zg(t,e,n,s){const o=Ir(e,t,s,!0);Pd(()=>{Aa(s[e],o)},n)}function ui(t){t.shapeFlag&=-257,t.shapeFlag&=-513}function di(t){return t.shapeFlag&128?t.ssContent:t}function Ir(t,e,n=Ge,s=!1){if(n){const o=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...i)=>{if(n.isUnmounted)return;Ds(),_s(n);const a=xt(e,n,t,i);return Vn(),Ls(),a});return s?o.unshift(r):o.push(r),r}}const an=t=>(e,n=Ge)=>(!fo||t==="sp")&&Ir(t,(...s)=>e(...s),n),Jg=an("bm"),Fr=an("m"),Yg=an("bu"),qa=an("u"),$a=an("bum"),Pd=an("um"),Qg=an("sp"),Xg=an("rtg"),e1=an("rtc");function t1(t,e=Ge){Ir("ec",t,e)}function Te(t,e){const n=Xe;if(n===null)return t;const s=zr(n)||n.proxy,o=t.dirs||(t.dirs=[]);for(let r=0;re(i,a,void 0,r&&r[a]));else{const i=Object.keys(t);o=new Array(i.length);for(let a=0,l=i.length;aho(e)?!(e.type===wt||e.type===Ie&&!qd(e.children)):!0)?t:null}const Vi=t=>t?Zd(t)?zr(t)||t.proxy:Vi(t.parent):null,Js=Je(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Vi(t.parent),$root:t=>Vi(t.root),$emit:t=>t.emit,$options:t=>Ba(t),$forceUpdate:t=>t.f||(t.f=()=>Ia(t.update)),$nextTick:t=>t.n||(t.n=fe.bind(t.proxy)),$watch:t=>Ng.bind(t)}),hi=(t,e)=>t!==Ue&&!t.__isScriptSetup&&Oe(t,e),s1={get({_:t},e){const{ctx:n,setupState:s,data:o,props:r,accessCache:i,type:a,appContext:l}=t;let c;if(e[0]!=="$"){const p=i[e];if(p!==void 0)switch(p){case 1:return s[e];case 2:return o[e];case 4:return n[e];case 3:return r[e]}else{if(hi(s,e))return i[e]=1,s[e];if(o!==Ue&&Oe(o,e))return i[e]=2,o[e];if((c=t.propsOptions[0])&&Oe(c,e))return i[e]=3,r[e];if(n!==Ue&&Oe(n,e))return i[e]=4,n[e];Gi&&(i[e]=0)}}const u=Js[e];let h,f;if(u)return e==="$attrs"&&dt(t,"get",e),u(t);if((h=a.__cssModules)&&(h=h[e]))return h;if(n!==Ue&&Oe(n,e))return i[e]=4,n[e];if(f=l.config.globalProperties,Oe(f,e))return f[e]},set({_:t},e,n){const{data:s,setupState:o,ctx:r}=t;return hi(o,e)?(o[e]=n,!0):s!==Ue&&Oe(s,e)?(s[e]=n,!0):Oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:s,appContext:o,propsOptions:r}},i){let a;return!!n[i]||t!==Ue&&Oe(t,i)||hi(e,i)||(a=r[0])&&Oe(a,i)||Oe(s,i)||Oe(Js,i)||Oe(o.config.globalProperties,i)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Oe(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};let Gi=!0;function o1(t){const e=Ba(t),n=t.proxy,s=t.ctx;Gi=!1,e.beforeCreate&&Nl(e.beforeCreate,t,"bc");const{data:o,computed:r,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:h,mounted:f,beforeUpdate:p,updated:g,activated:m,deactivated:w,beforeDestroy:v,beforeUnmount:y,destroyed:x,unmounted:E,render:q,renderTracked:M,renderTriggered:$,errorCaptured:b,serverPrefetch:k,expose:S,inheritAttrs:z,components:F,directives:Q,filters:I}=e;if(c&&r1(c,s,null,t.appContext.config.unwrapInjectedRef),i)for(const A in i){const N=i[A];Se(N)&&(s[A]=N.bind(n))}if(o){const A=o.call(n,n);Be(A)&&(t.data=Os(A))}if(Gi=!0,r)for(const A in r){const N=r[A],G=Se(N)?N.bind(n,n):Se(N.get)?N.get.bind(n,n):Ot,me=!Se(N)&&Se(N.set)?N.set.bind(n):Ot,pe=vt({get:G,set:me});Object.defineProperty(s,A,{enumerable:!0,configurable:!0,get:()=>pe.value,set:ee=>pe.value=ee})}if(a)for(const A in a)$d(a[A],s,n,A);if(l){const A=Se(l)?l.call(n):l;Reflect.ownKeys(A).forEach(N=>{Zo(N,A[N])})}u&&Nl(u,t,"c");function X(A,N){_e(N)?N.forEach(G=>A(G.bind(n))):N&&A(N.bind(n))}if(X(Jg,h),X(Fr,f),X(Yg,p),X(qa,g),X(Kg,m),X(Wg,w),X(t1,b),X(e1,M),X(Xg,$),X($a,y),X(Pd,E),X(Qg,k),_e(S))if(S.length){const A=t.exposed||(t.exposed={});S.forEach(N=>{Object.defineProperty(A,N,{get:()=>n[N],set:G=>n[N]=G})})}else t.exposed||(t.exposed={});q&&t.render===Ot&&(t.render=q),z!=null&&(t.inheritAttrs=z),F&&(t.components=F),Q&&(t.directives=Q)}function r1(t,e,n=Ot,s=!1){_e(t)&&(t=Ki(t));for(const o in t){const r=t[o];let i;Be(r)?"default"in r?i=Xt(r.from||o,r.default,!0):i=Xt(r.from||o):i=Xt(r),st(i)&&s?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):e[o]=i}}function Nl(t,e,n){xt(_e(t)?t.map(s=>s.bind(e.proxy)):t.bind(e.proxy),e,n)}function $d(t,e,n,s){const o=s.includes(".")?Md(n,s):()=>n[s];if(He(t)){const r=e[t];Se(r)&&Hn(o,r)}else if(Se(t))Hn(o,t.bind(n));else if(Be(t))if(_e(t))t.forEach(r=>$d(r,e,n,s));else{const r=Se(t.handler)?t.handler.bind(n):e[t.handler];Se(r)&&Hn(o,r,t)}}function Ba(t){const e=t.type,{mixins:n,extends:s}=e,{mixins:o,optionsCache:r,config:{optionMergeStrategies:i}}=t.appContext,a=r.get(e);let l;return a?l=a:!o.length&&!n&&!s?l=e:(l={},o.length&&o.forEach(c=>dr(l,c,i,!0)),dr(l,e,i)),Be(e)&&r.set(e,l),l}function dr(t,e,n,s=!1){const{mixins:o,extends:r}=e;r&&dr(t,r,n,!0),o&&o.forEach(i=>dr(t,i,n,!0));for(const i in e)if(!(s&&i==="expose")){const a=i1[i]||n&&n[i];t[i]=a?a(t[i],e[i]):e[i]}return t}const i1={data:Ul,props:Pn,emits:Pn,methods:Pn,computed:Pn,beforeCreate:ot,created:ot,beforeMount:ot,mounted:ot,beforeUpdate:ot,updated:ot,beforeDestroy:ot,beforeUnmount:ot,destroyed:ot,unmounted:ot,activated:ot,deactivated:ot,errorCaptured:ot,serverPrefetch:ot,components:Pn,directives:Pn,watch:l1,provide:Ul,inject:a1};function Ul(t,e){return e?t?function(){return Je(Se(t)?t.call(this,this):t,Se(e)?e.call(this,this):e)}:e:t}function a1(t,e){return Pn(Ki(t),Ki(e))}function Ki(t){if(_e(t)){const e={};for(let n=0;n0)&&!(i&16)){if(i&8){const u=t.vnode.dynamicProps;for(let h=0;h{l=!0;const[f,p]=Bd(h,e,!0);Je(i,f),p&&a.push(...p)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!r&&!l)return Be(t)&&s.set(t,ls),ls;if(_e(r))for(let u=0;u-1,p[1]=m<0||g-1||Oe(p,"default"))&&a.push(h)}}}const c=[i,a];return Be(t)&&s.set(t,c),c}function Hl(t){return t[0]!=="$"}function Vl(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function Gl(t,e){return Vl(t)===Vl(e)}function Kl(t,e){return _e(e)?e.findIndex(n=>Gl(n,t)):Se(e)&&Gl(e,t)?0:-1}const Nd=t=>t[0]==="_"||t==="$stable",Na=t=>_e(t)?t.map(It):[It(t)],d1=(t,e,n)=>{if(e._n)return e;const s=Ze((...o)=>Na(e(...o)),n);return s._c=!1,s},Ud=(t,e,n)=>{const s=t._ctx;for(const o in t){if(Nd(o))continue;const r=t[o];if(Se(r))e[o]=d1(o,r,s);else if(r!=null){const i=Na(r);e[o]=()=>i}}},Hd=(t,e)=>{const n=Na(e);t.slots.default=()=>n},h1=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=Pe(e),ar(e,"_",n)):Ud(e,t.slots={})}else t.slots={},e&&Hd(t,e);ar(t.slots,$r,1)},f1=(t,e,n)=>{const{vnode:s,slots:o}=t;let r=!0,i=Ue;if(s.shapeFlag&32){const a=e._;a?n&&a===1?r=!1:(Je(o,e),!n&&a===1&&delete o._):(r=!e.$stable,Ud(e,o)),i=e}else e&&(Hd(t,e),i={default:1});if(r)for(const a in o)!Nd(a)&&!(a in i)&&delete o[a]};function Vd(){return{app:null,config:{isNativeTag:zp,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 p1=0;function g1(t,e){return function(s,o=null){Se(s)||(s=Object.assign({},s)),o!=null&&!Be(o)&&(o=null);const r=Vd(),i=new Set;let a=!1;const l=r.app={_uid:p1++,_component:s,_props:o,_container:null,_context:r,_instance:null,version:P1,get config(){return r.config},set config(c){},use(c,...u){return i.has(c)||(c&&Se(c.install)?(i.add(c),c.install(l,...u)):Se(c)&&(i.add(c),c(l,...u))),l},mixin(c){return r.mixins.includes(c)||r.mixins.push(c),l},component(c,u){return u?(r.components[c]=u,l):r.components[c]},directive(c,u){return u?(r.directives[c]=u,l):r.directives[c]},mount(c,u,h){if(!a){const f=Ee(s,o);return f.appContext=r,u&&e?e(f,c):t(f,c,h),a=!0,l._container=c,c.__vue_app__=l,zr(f.component)||f.component.proxy}},unmount(){a&&(t(null,l._container),delete l._container.__vue_app__)},provide(c,u){return r.provides[c]=u,l}};return l}}function Zi(t,e,n,s,o=!1){if(_e(t)){t.forEach((f,p)=>Zi(f,e&&(_e(e)?e[p]:e),n,s,o));return}if(fs(s)&&!o)return;const r=s.shapeFlag&4?zr(s.component)||s.component.proxy:s.el,i=o?null:r,{i:a,r:l}=t,c=e&&e.r,u=a.refs===Ue?a.refs={}:a.refs,h=a.setupState;if(c!=null&&c!==l&&(He(c)?(u[c]=null,Oe(h,c)&&(h[c]=null)):st(c)&&(c.value=null)),Se(l))En(l,a,12,[i,u]);else{const f=He(l),p=st(l);if(f||p){const g=()=>{if(t.f){const m=f?Oe(h,l)?h[l]:u[l]:l.value;o?_e(m)&&Aa(m,r):_e(m)?m.includes(r)||m.push(r):f?(u[l]=[r],Oe(h,l)&&(h[l]=u[l])):(l.value=[r],t.k&&(u[t.k]=l.value))}else f?(u[l]=i,Oe(h,l)&&(h[l]=i)):p&&(l.value=i,t.k&&(u[t.k]=i))};i?(g.id=-1,Qe(g,n)):g()}}}const Qe=Bg;function m1(t){return _1(t)}function _1(t,e){const n=Wp();n.__VUE__=!0;const{insert:s,remove:o,patchProp:r,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:h,nextSibling:f,setScopeId:p=Ot,insertStaticContent:g}=t,m=(_,C,O,j=null,P=null,Y=null,oe=!1,R=null,te=!!C.dynamicChildren)=>{if(_===C)return;_&&!xn(_,C)&&(j=J(_),ee(_,P,Y,!0),_=null),C.patchFlag===-2&&(te=!1,C.dynamicChildren=null);const{type:B,ref:K,shapeFlag:re}=C;switch(B){case qr:w(_,C,O,j);break;case wt:v(_,C,O,j);break;case Jo:_==null&&y(C,O,j,oe);break;case Ie:F(_,C,O,j,P,Y,oe,R,te);break;default:re&1?q(_,C,O,j,P,Y,oe,R,te):re&6?Q(_,C,O,j,P,Y,oe,R,te):(re&64||re&128)&&B.process(_,C,O,j,P,Y,oe,R,te,se)}K!=null&&P&&Zi(K,_&&_.ref,Y,C||_,!C)},w=(_,C,O,j)=>{if(_==null)s(C.el=a(C.children),O,j);else{const P=C.el=_.el;C.children!==_.children&&c(P,C.children)}},v=(_,C,O,j)=>{_==null?s(C.el=l(C.children||""),O,j):C.el=_.el},y=(_,C,O,j)=>{[_.el,_.anchor]=g(_.children,C,O,j,_.el,_.anchor)},x=({el:_,anchor:C},O,j)=>{let P;for(;_&&_!==C;)P=f(_),s(_,O,j),_=P;s(C,O,j)},E=({el:_,anchor:C})=>{let O;for(;_&&_!==C;)O=f(_),o(_),_=O;o(C)},q=(_,C,O,j,P,Y,oe,R,te)=>{oe=oe||C.type==="svg",_==null?M(C,O,j,P,Y,oe,R,te):k(_,C,P,Y,oe,R,te)},M=(_,C,O,j,P,Y,oe,R)=>{let te,B;const{type:K,props:re,shapeFlag:ce,transition:ae,dirs:xe}=_;if(te=_.el=i(_.type,Y,re&&re.is,re),ce&8?u(te,_.children):ce&16&&b(_.children,te,null,j,P,Y&&K!=="foreignObject",oe,R),xe&&Dn(_,null,j,"created"),$(te,_,_.scopeId,oe,j),re){for(const ne in re)ne!=="value"&&!Wo(ne)&&r(te,ne,null,re[ne],Y,_.children,j,P,W);"value"in re&&r(te,"value",null,re.value),(B=re.onVnodeBeforeMount)&&yt(B,j,_)}xe&&Dn(_,null,j,"beforeMount");const V=(!P||P&&!P.pendingBranch)&&ae&&!ae.persisted;V&&ae.beforeEnter(te),s(te,C,O),((B=re&&re.onVnodeMounted)||V||xe)&&Qe(()=>{B&&yt(B,j,_),V&&ae.enter(te),xe&&Dn(_,null,j,"mounted")},P)},$=(_,C,O,j,P)=>{if(O&&p(_,O),j)for(let Y=0;Y{for(let B=te;B<_.length;B++){const K=_[B]=R?pn(_[B]):It(_[B]);m(null,K,C,O,j,P,Y,oe,R)}},k=(_,C,O,j,P,Y,oe)=>{const R=C.el=_.el;let{patchFlag:te,dynamicChildren:B,dirs:K}=C;te|=_.patchFlag&16;const re=_.props||Ue,ce=C.props||Ue;let ae;O&&Ln(O,!1),(ae=ce.onVnodeBeforeUpdate)&&yt(ae,O,C,_),K&&Dn(C,_,O,"beforeUpdate"),O&&Ln(O,!0);const xe=P&&C.type!=="foreignObject";if(B?S(_.dynamicChildren,B,R,O,j,xe,Y):oe||N(_,C,R,null,O,j,xe,Y,!1),te>0){if(te&16)z(R,C,re,ce,O,j,P);else if(te&2&&re.class!==ce.class&&r(R,"class",null,ce.class,P),te&4&&r(R,"style",re.style,ce.style,P),te&8){const V=C.dynamicProps;for(let ne=0;ne{ae&&yt(ae,O,C,_),K&&Dn(C,_,O,"updated")},j)},S=(_,C,O,j,P,Y,oe)=>{for(let R=0;R{if(O!==j){if(O!==Ue)for(const R in O)!Wo(R)&&!(R in j)&&r(_,R,O[R],null,oe,C.children,P,Y,W);for(const R in j){if(Wo(R))continue;const te=j[R],B=O[R];te!==B&&R!=="value"&&r(_,R,B,te,oe,C.children,P,Y,W)}"value"in j&&r(_,"value",O.value,j.value)}},F=(_,C,O,j,P,Y,oe,R,te)=>{const B=C.el=_?_.el:a(""),K=C.anchor=_?_.anchor:a("");let{patchFlag:re,dynamicChildren:ce,slotScopeIds:ae}=C;ae&&(R=R?R.concat(ae):ae),_==null?(s(B,O,j),s(K,O,j),b(C.children,O,K,P,Y,oe,R,te)):re>0&&re&64&&ce&&_.dynamicChildren?(S(_.dynamicChildren,ce,O,P,Y,oe,R),(C.key!=null||P&&C===P.subTree)&&Gd(_,C,!0)):N(_,C,O,K,P,Y,oe,R,te)},Q=(_,C,O,j,P,Y,oe,R,te)=>{C.slotScopeIds=R,_==null?C.shapeFlag&512?P.ctx.activate(C,O,j,oe,te):I(C,O,j,P,Y,oe,te):he(_,C,te)},I=(_,C,O,j,P,Y,oe)=>{const R=_.component=A1(_,j,P);if(Rr(_)&&(R.ctx.renderer=se),S1(R),R.asyncDep){if(P&&P.registerDep(R,X),!_.el){const te=R.subTree=Ee(wt);v(null,te,C,O)}return}X(R,_,C,O,P,Y,oe)},he=(_,C,O)=>{const j=C.component=_.component;if($g(_,C,O))if(j.asyncDep&&!j.asyncResolved){A(j,C,O);return}else j.next=C,jg(j.update),j.update();else C.el=_.el,j.vnode=C},X=(_,C,O,j,P,Y,oe)=>{const R=()=>{if(_.isMounted){let{next:K,bu:re,u:ce,parent:ae,vnode:xe}=_,V=K,ne;Ln(_,!1),K?(K.el=xe.el,A(_,K,oe)):K=xe,re&&us(re),(ne=K.props&&K.props.onVnodeBeforeUpdate)&&yt(ne,ae,K,xe),Ln(_,!0);const ue=li(_),we=_.subTree;_.subTree=ue,m(we,ue,h(we.el),J(we),_,P,Y),K.el=ue.el,V===null&&zg(_,ue.el),ce&&Qe(ce,P),(ne=K.props&&K.props.onVnodeUpdated)&&Qe(()=>yt(ne,ae,K,xe),P)}else{let K;const{el:re,props:ce}=C,{bm:ae,m:xe,parent:V}=_,ne=fs(C);if(Ln(_,!1),ae&&us(ae),!ne&&(K=ce&&ce.onVnodeBeforeMount)&&yt(K,V,C),Ln(_,!0),re&&de){const ue=()=>{_.subTree=li(_),de(re,_.subTree,_,P,null)};ne?C.type.__asyncLoader().then(()=>!_.isUnmounted&&ue()):ue()}else{const ue=_.subTree=li(_);m(null,ue,O,j,_,P,Y),C.el=ue.el}if(xe&&Qe(xe,P),!ne&&(K=ce&&ce.onVnodeMounted)){const ue=C;Qe(()=>yt(K,V,ue),P)}(C.shapeFlag&256||V&&fs(V.vnode)&&V.vnode.shapeFlag&256)&&_.a&&Qe(_.a,P),_.isMounted=!0,C=O=j=null}},te=_.effect=new Ma(R,()=>Ia(B),_.scope),B=_.update=()=>te.run();B.id=_.uid,Ln(_,!0),B()},A=(_,C,O)=>{C.component=_;const j=_.vnode.props;_.vnode=C,_.next=null,u1(_,C.props,j,O),f1(_,C.children,O),Ds(),ql(),Ls()},N=(_,C,O,j,P,Y,oe,R,te=!1)=>{const B=_&&_.children,K=_?_.shapeFlag:0,re=C.children,{patchFlag:ce,shapeFlag:ae}=C;if(ce>0){if(ce&128){me(B,re,O,j,P,Y,oe,R,te);return}else if(ce&256){G(B,re,O,j,P,Y,oe,R,te);return}}ae&8?(K&16&&W(B,P,Y),re!==B&&u(O,re)):K&16?ae&16?me(B,re,O,j,P,Y,oe,R,te):W(B,P,Y,!0):(K&8&&u(O,""),ae&16&&b(re,O,j,P,Y,oe,R,te))},G=(_,C,O,j,P,Y,oe,R,te)=>{_=_||ls,C=C||ls;const B=_.length,K=C.length,re=Math.min(B,K);let ce;for(ce=0;ceK?W(_,P,Y,!0,!1,re):b(C,O,j,P,Y,oe,R,te,re)},me=(_,C,O,j,P,Y,oe,R,te)=>{let B=0;const K=C.length;let re=_.length-1,ce=K-1;for(;B<=re&&B<=ce;){const ae=_[B],xe=C[B]=te?pn(C[B]):It(C[B]);if(xn(ae,xe))m(ae,xe,O,null,P,Y,oe,R,te);else break;B++}for(;B<=re&&B<=ce;){const ae=_[re],xe=C[ce]=te?pn(C[ce]):It(C[ce]);if(xn(ae,xe))m(ae,xe,O,null,P,Y,oe,R,te);else break;re--,ce--}if(B>re){if(B<=ce){const ae=ce+1,xe=aece)for(;B<=re;)ee(_[B],P,Y,!0),B++;else{const ae=B,xe=B,V=new Map;for(B=xe;B<=ce;B++){const tt=C[B]=te?pn(C[B]):It(C[B]);tt.key!=null&&V.set(tt.key,B)}let ne,ue=0;const we=ce-xe+1;let Re=!1,Ne=0;const mt=new Array(we);for(B=0;B=we){ee(tt,P,Y,!0);continue}let at;if(tt.key!=null)at=V.get(tt.key);else for(ne=xe;ne<=ce;ne++)if(mt[ne-xe]===0&&xn(tt,C[ne])){at=ne;break}at===void 0?ee(tt,P,Y,!0):(mt[at-xe]=B+1,at>=Ne?Ne=at:Re=!0,m(tt,C[at],O,null,P,Y,oe,R,te),ue++)}const Ye=Re?y1(mt):ls;for(ne=Ye.length-1,B=we-1;B>=0;B--){const tt=xe+B,at=C[tt],Tl=tt+1{const{el:Y,type:oe,transition:R,children:te,shapeFlag:B}=_;if(B&6){pe(_.component.subTree,C,O,j);return}if(B&128){_.suspense.move(C,O,j);return}if(B&64){oe.move(_,C,O,se);return}if(oe===Ie){s(Y,C,O);for(let re=0;reR.enter(Y),P);else{const{leave:re,delayLeave:ce,afterLeave:ae}=R,xe=()=>s(Y,C,O),V=()=>{re(Y,()=>{xe(),ae&&ae()})};ce?ce(Y,xe,V):V()}else s(Y,C,O)},ee=(_,C,O,j=!1,P=!1)=>{const{type:Y,props:oe,ref:R,children:te,dynamicChildren:B,shapeFlag:K,patchFlag:re,dirs:ce}=_;if(R!=null&&Zi(R,null,O,_,!0),K&256){C.ctx.deactivate(_);return}const ae=K&1&&ce,xe=!fs(_);let V;if(xe&&(V=oe&&oe.onVnodeBeforeUnmount)&&yt(V,C,_),K&6)L(_.component,O,j);else{if(K&128){_.suspense.unmount(O,j);return}ae&&Dn(_,null,C,"beforeUnmount"),K&64?_.type.remove(_,C,O,P,se,j):B&&(Y!==Ie||re>0&&re&64)?W(B,C,O,!1,!0):(Y===Ie&&re&384||!P&&K&16)&&W(te,C,O),j&&ve(_)}(xe&&(V=oe&&oe.onVnodeUnmounted)||ae)&&Qe(()=>{V&&yt(V,C,_),ae&&Dn(_,null,C,"unmounted")},O)},ve=_=>{const{type:C,el:O,anchor:j,transition:P}=_;if(C===Ie){Ae(O,j);return}if(C===Jo){E(_);return}const Y=()=>{o(O),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(_.shapeFlag&1&&P&&!P.persisted){const{leave:oe,delayLeave:R}=P,te=()=>oe(O,Y);R?R(_.el,Y,te):te()}else Y()},Ae=(_,C)=>{let O;for(;_!==C;)O=f(_),o(_),_=O;o(C)},L=(_,C,O)=>{const{bum:j,scope:P,update:Y,subTree:oe,um:R}=_;j&&us(j),P.stop(),Y&&(Y.active=!1,ee(oe,_,C,O)),R&&Qe(R,C),Qe(()=>{_.isUnmounted=!0},C),C&&C.pendingBranch&&!C.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===C.pendingId&&(C.deps--,C.deps===0&&C.resolve())},W=(_,C,O,j=!1,P=!1,Y=0)=>{for(let oe=Y;oe<_.length;oe++)ee(_[oe],C,O,j,P)},J=_=>_.shapeFlag&6?J(_.component.subTree):_.shapeFlag&128?_.suspense.next():f(_.anchor||_.el),ie=(_,C,O)=>{_==null?C._vnode&&ee(C._vnode,null,null,!0):m(C._vnode||null,_,C,null,null,null,O),ql(),Cd(),C._vnode=_},se={p:m,um:ee,m:pe,r:ve,mt:I,mc:b,pc:N,pbc:S,n:J,o:t};let ge,de;return e&&([ge,de]=e(se)),{render:ie,hydrate:ge,createApp:g1(ie,ge)}}function Ln({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Gd(t,e,n=!1){const s=t.children,o=e.children;if(_e(s)&&_e(o))for(let r=0;r>1,t[n[a]]0&&(e[s]=n[r-1]),n[r]=s)}}for(r=n.length,i=n[r-1];r-- >0;)n[r]=i,i=e[i];return n}const b1=t=>t.__isTeleport,Ie=Symbol(void 0),qr=Symbol(void 0),wt=Symbol(void 0),Jo=Symbol(void 0),Ys=[];let Lt=null;function T(t=!1){Ys.push(Lt=t?null:[])}function v1(){Ys.pop(),Lt=Ys[Ys.length-1]||null}let uo=1;function Wl(t){uo+=t}function Kd(t){return t.dynamicChildren=uo>0?Lt||ls:null,v1(),uo>0&&Lt&&Lt.push(t),t}function D(t,e,n,s,o,r){return Kd(d(t,e,n,s,o,r,!0))}function it(t,e,n,s,o){return Kd(Ee(t,e,n,s,o,!0))}function ho(t){return t?t.__v_isVNode===!0:!1}function xn(t,e){return t.type===e.type&&t.key===e.key}const $r="__vInternal",Wd=({key:t})=>t??null,Yo=({ref:t,ref_key:e,ref_for:n})=>t!=null?He(t)||st(t)||Se(t)?{i:Xe,r:t,k:e,f:!!n}:t:null;function d(t,e=null,n=null,s=0,o=null,r=t===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Wd(e),ref:e&&Yo(e),scopeId:Pr,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:r,patchFlag:s,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Xe};return a?(Ua(l,n),r&128&&t.normalize(l)):n&&(l.shapeFlag|=He(n)?8:16),uo>0&&!i&&Lt&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Lt.push(l),l}const Ee=x1;function x1(t,e=null,n=null,s=0,o=null,r=!1){if((!t||t===Rd)&&(t=wt),ho(t)){const a=sn(t,e,!0);return n&&Ua(a,n),uo>0&&!r&&Lt&&(a.shapeFlag&6?Lt[Lt.indexOf(t)]=a:Lt.push(a)),a.patchFlag|=-2,a}if(L1(t)&&(t=t.__vccOpts),e){e=w1(e);let{class:a,style:l}=e;a&&!He(a)&&(e.class=De(a)),Be(l)&&(gd(l)&&!_e(l)&&(l=Je({},l)),e.style=Qt(l))}const i=He(t)?1:Sd(t)?128:b1(t)?64:Be(t)?4:Se(t)?2:0;return d(t,e,n,s,o,i,r,!0)}function w1(t){return t?gd(t)||$r in t?Je({},t):t:null}function sn(t,e,n=!1){const{props:s,ref:o,patchFlag:r,children:i}=t,a=e?k1(s||{},e):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Wd(a),ref:e&&e.ref?n&&o?_e(o)?o.concat(Yo(e)):[o,Yo(e)]:Yo(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ie?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&sn(t.ssContent),ssFallback:t.ssFallback&&sn(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function ye(t=" ",e=0){return Ee(qr,null,t,e)}function ko(t,e){const n=Ee(Jo,null,t);return n.staticCount=e,n}function H(t="",e=!1){return e?(T(),it(wt,null,t)):Ee(wt,null,t)}function It(t){return t==null||typeof t=="boolean"?Ee(wt):_e(t)?Ee(Ie,null,t.slice()):typeof t=="object"?pn(t):Ee(qr,null,String(t))}function pn(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:sn(t)}function Ua(t,e){let n=0;const{shapeFlag:s}=t;if(e==null)e=null;else if(_e(e))n=16;else if(typeof e=="object")if(s&65){const o=e.default;o&&(o._c&&(o._d=!1),Ua(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!($r in e)?e._ctx=Xe:o===3&&Xe&&(Xe.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Se(e)?(e={default:e,_ctx:Xe},n=32):(e=String(e),s&64?(n=16,e=[ye(e)]):n=8);t.children=e,t.shapeFlag|=n}function k1(...t){const e={};for(let n=0;nGe||Xe,_s=t=>{Ge=t,t.scope.on()},Vn=()=>{Ge&&Ge.scope.off(),Ge=null};function Zd(t){return t.vnode.shapeFlag&4}let fo=!1;function S1(t,e=!1){fo=e;const{props:n,children:s}=t.vnode,o=Zd(t);c1(t,n,o,e),h1(t,s);const r=o?T1(t,e):void 0;return fo=!1,r}function T1(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=md(new Proxy(t.ctx,s1));const{setup:s}=n;if(s){const o=t.setupContext=s.length>1?D1(t):null;_s(t),Ds();const r=En(s,t,0,[t.props,o]);if(Ls(),Vn(),td(r)){if(r.then(Vn,Vn),e)return r.then(i=>{Zl(t,i,e)}).catch(i=>{Or(i,t,0)});t.asyncDep=r}else Zl(t,r,e)}else Jd(t,e)}function Zl(t,e,n){Se(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Be(e)&&(t.setupState=vd(e)),Jd(t,n)}let Jl;function Jd(t,e,n){const s=t.type;if(!t.render){if(!e&&Jl&&!s.render){const o=s.template||Ba(t).template;if(o){const{isCustomElement:r,compilerOptions:i}=t.appContext.config,{delimiters:a,compilerOptions:l}=s,c=Je(Je({isCustomElement:r,delimiters:a},i),l);s.render=Jl(o,c)}}t.render=s.render||Ot}_s(t),Ds(),o1(t),Ls(),Vn()}function M1(t){return new Proxy(t.attrs,{get(e,n){return dt(t,"get","$attrs"),e[n]}})}function D1(t){const e=s=>{t.exposed=s||{}};let n;return{get attrs(){return n||(n=M1(t))},slots:t.slots,emit:t.emit,expose:e}}function zr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(vd(md(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Js)return Js[n](t)},has(e,n){return n in e||n in Js}}))}function Ji(t,e=!0){return Se(t)?t.displayName||t.name:t.name||e&&t.__name}function L1(t){return Se(t)&&"__vccOpts"in t}const vt=(t,e)=>Dg(t,e,fo);function Yd(t,e,n){const s=arguments.length;return s===2?Be(e)&&!_e(e)?ho(e)?Ee(t,null,[e]):Ee(t,e):Ee(t,null,e):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ho(n)&&(n=[n]),Ee(t,e,n))}const O1=Symbol(""),j1=()=>Xt(O1),P1="3.2.47",R1="http://www.w3.org/2000/svg",In=typeof document<"u"?document:null,Yl=In&&In.createElement("template"),I1={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,s)=>{const o=e?In.createElementNS(R1,t):In.createElement(t,n?{is:n}:void 0);return t==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:t=>In.createTextNode(t),createComment:t=>In.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>In.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,s,o,r){const i=n?n.previousSibling:e.lastChild;if(o&&(o===r||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{Yl.innerHTML=s?`${t}`:t;const a=Yl.content;if(s){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}e.insertBefore(a,n)}return[i?i.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}};function F1(t,e,n){const s=t._vtc;s&&(e=(e?[e,...s]:[...s]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}function q1(t,e,n){const s=t.style,o=He(n);if(n&&!o){if(e&&!He(e))for(const r in e)n[r]==null&&Yi(s,r,"");for(const r in n)Yi(s,r,n[r])}else{const r=s.display;o?e!==n&&(s.cssText=n):e&&t.removeAttribute("style"),"_vod"in t&&(s.display=r)}}const Ql=/\s*!important$/;function Yi(t,e,n){if(_e(n))n.forEach(s=>Yi(t,e,s));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const s=$1(t,e);Ql.test(n)?t.setProperty(Yn(s),n.replace(Ql,""),"important"):t[s]=n}}const Xl=["Webkit","Moz","ms"],fi={};function $1(t,e){const n=fi[e];if(n)return n;let s=Ht(e);if(s!=="filter"&&s in t)return fi[e]=s;s=Dr(s);for(let o=0;opi||(V1.then(()=>pi=0),pi=Date.now());function K1(t,e){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;xt(W1(s,n.value),e,5,[s])};return n.value=t,n.attached=G1(),n}function W1(t,e){if(_e(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(s=>o=>!o._stopped&&s&&s(o))}else return e}const nc=/^on[a-z]/,Z1=(t,e,n,s,o=!1,r,i,a,l)=>{e==="class"?F1(t,s,o):e==="style"?q1(t,n,s):Tr(e)?Ea(e)||U1(t,e,n,s,i):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):J1(t,e,s,o))?B1(t,e,s,r,i,a,l):(e==="true-value"?t._trueValue=s:e==="false-value"&&(t._falseValue=s),z1(t,e,s,o))};function J1(t,e,n,s){return s?!!(e==="innerHTML"||e==="textContent"||e in t&&nc.test(e)&&Se(n)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||nc.test(e)&&He(n)?!1:e in t}const un="transition",Ns="animation",Qd={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},Y1=Je({},Hg.props,Qd),On=(t,e=[])=>{_e(t)?t.forEach(n=>n(...e)):t&&t(...e)},sc=t=>t?_e(t)?t.some(e=>e.length>1):t.length>1:!1;function Q1(t){const e={};for(const F in t)F in Qd||(e[F]=t[F]);if(t.css===!1)return e;const{name:n="v",type:s,duration:o,enterFromClass:r=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=r,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=t,g=X1(o),m=g&&g[0],w=g&&g[1],{onBeforeEnter:v,onEnter:y,onEnterCancelled:x,onLeave:E,onLeaveCancelled:q,onBeforeAppear:M=v,onAppear:$=y,onAppearCancelled:b=x}=e,k=(F,Q,I)=>{fn(F,Q?u:a),fn(F,Q?c:i),I&&I()},S=(F,Q)=>{F._isLeaving=!1,fn(F,h),fn(F,p),fn(F,f),Q&&Q()},z=F=>(Q,I)=>{const he=F?$:y,X=()=>k(Q,F,I);On(he,[Q,X]),oc(()=>{fn(Q,F?l:r),Jt(Q,F?u:a),sc(he)||rc(Q,s,m,X)})};return Je(e,{onBeforeEnter(F){On(v,[F]),Jt(F,r),Jt(F,i)},onBeforeAppear(F){On(M,[F]),Jt(F,l),Jt(F,c)},onEnter:z(!1),onAppear:z(!0),onLeave(F,Q){F._isLeaving=!0;const I=()=>S(F,Q);Jt(F,h),eh(),Jt(F,f),oc(()=>{F._isLeaving&&(fn(F,h),Jt(F,p),sc(E)||rc(F,s,w,I))}),On(E,[F,I])},onEnterCancelled(F){k(F,!1),On(x,[F])},onAppearCancelled(F){k(F,!0),On(b,[F])},onLeaveCancelled(F){S(F),On(q,[F])}})}function X1(t){if(t==null)return null;if(Be(t))return[gi(t.enter),gi(t.leave)];{const e=gi(t);return[e,e]}}function gi(t){return Kp(t)}function Jt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t._vtc||(t._vtc=new Set)).add(e)}function fn(t,e){e.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const{_vtc:n}=t;n&&(n.delete(e),n.size||(t._vtc=void 0))}function oc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let em=0;function rc(t,e,n,s){const o=t._endId=++em,r=()=>{o===t._endId&&s()};if(n)return setTimeout(r,n);const{type:i,timeout:a,propCount:l}=Xd(t,e);if(!i)return s();const c=i+"end";let u=0;const h=()=>{t.removeEventListener(c,f),r()},f=p=>{p.target===t&&++u>=l&&h()};setTimeout(()=>{u(n[g]||"").split(", "),o=s(`${un}Delay`),r=s(`${un}Duration`),i=ic(o,r),a=s(`${Ns}Delay`),l=s(`${Ns}Duration`),c=ic(a,l);let u=null,h=0,f=0;e===un?i>0&&(u=un,h=i,f=r.length):e===Ns?c>0&&(u=Ns,h=c,f=l.length):(h=Math.max(i,c),u=h>0?i>c?un:Ns:null,f=u?u===un?r.length:l.length:0);const p=u===un&&/\b(transform|all)(,|$)/.test(s(`${un}Property`).toString());return{type:u,timeout:h,propCount:f,hasTransform:p}}function ic(t,e){for(;t.lengthac(n)+ac(t[s])))}function ac(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function eh(){return document.body.offsetHeight}const th=new WeakMap,nh=new WeakMap,sh={name:"TransitionGroup",props:Je({},Y1,{tag:String,moveClass:String}),setup(t,{slots:e}){const n=Ha(),s=Dd();let o,r;return qa(()=>{if(!o.length)return;const i=t.moveClass||`${t.name||"v"}-move`;if(!rm(o[0].el,n.vnode.el,i))return;o.forEach(nm),o.forEach(sm);const a=o.filter(om);eh(),a.forEach(l=>{const c=l.el,u=c.style;Jt(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const h=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",h),c._moveCb=null,fn(c,i))};c.addEventListener("transitionend",h)})}),()=>{const i=Pe(t),a=Q1(i);let l=i.tag||Ie;o=r,r=e.default?Fa(e.default()):[];for(let c=0;cdelete t.mode;sh.props;const en=sh;function nm(t){const e=t.el;e._moveCb&&e._moveCb(),e._enterCb&&e._enterCb()}function sm(t){nh.set(t,t.el.getBoundingClientRect())}function om(t){const e=th.get(t),n=nh.get(t),s=e.left-n.left,o=e.top-n.top;if(s||o){const r=t.el.style;return r.transform=r.webkitTransform=`translate(${s}px,${o}px)`,r.transitionDuration="0s",t}}function rm(t,e,n){const s=t.cloneNode();t._vtc&&t._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const o=e.nodeType===1?e:e.parentNode;o.appendChild(s);const{hasTransform:r}=Xd(s);return o.removeChild(s),r}const ys=t=>{const e=t.props["onUpdate:modelValue"]||!1;return _e(e)?n=>us(e,n):e};function im(t){t.target.composing=!0}function lc(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const $e={created(t,{modifiers:{lazy:e,trim:n,number:s}},o){t._assign=ys(o);const r=s||o.props&&o.props.type==="number";wn(t,e?"change":"input",i=>{if(i.target.composing)return;let a=t.value;n&&(a=a.trim()),r&&(a=lr(a)),t._assign(a)}),n&&wn(t,"change",()=>{t.value=t.value.trim()}),e||(wn(t,"compositionstart",im),wn(t,"compositionend",lc),wn(t,"change",lc))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:s,number:o}},r){if(t._assign=ys(r),t.composing||document.activeElement===t&&t.type!=="range"&&(n||s&&t.value.trim()===e||(o||t.type==="number")&&lr(t.value)===e))return;const i=e??"";t.value!==i&&(t.value=i)}},gn={deep:!0,created(t,e,n){t._assign=ys(n),wn(t,"change",()=>{const s=t._modelValue,o=po(t),r=t.checked,i=t._assign;if(_e(s)){const a=Ca(s,o),l=a!==-1;if(r&&!l)i(s.concat(o));else if(!r&&l){const c=[...s];c.splice(a,1),i(c)}}else if(Ts(s)){const a=new Set(s);r?a.add(o):a.delete(o),i(a)}else i(oh(t,r))})},mounted:cc,beforeUpdate(t,e,n){t._assign=ys(n),cc(t,e,n)}};function cc(t,{value:e,oldValue:n},s){t._modelValue=e,_e(e)?t.checked=Ca(e,s.props.value)>-1:Ts(e)?t.checked=e.has(s.props.value):e!==n&&(t.checked=wo(e,oh(t,!0)))}const am={deep:!0,created(t,{value:e,modifiers:{number:n}},s){const o=Ts(e);wn(t,"change",()=>{const r=Array.prototype.filter.call(t.options,i=>i.selected).map(i=>n?lr(po(i)):po(i));t._assign(t.multiple?o?new Set(r):r:r[0])}),t._assign=ys(s)},mounted(t,{value:e}){uc(t,e)},beforeUpdate(t,e,n){t._assign=ys(n)},updated(t,{value:e}){uc(t,e)}};function uc(t,e){const n=t.multiple;if(!(n&&!_e(e)&&!Ts(e))){for(let s=0,o=t.options.length;s-1:r.selected=e.has(i);else if(wo(po(r),e)){t.selectedIndex!==s&&(t.selectedIndex=s);return}}!n&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function po(t){return"_value"in t?t._value:t.value}function oh(t,e){const n=e?"_trueValue":"_falseValue";return n in t?t[n]:e}const lm=["ctrl","shift","alt","meta"],cm={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>lm.some(n=>t[`${n}Key`]&&!e.includes(n))},le=(t,e)=>(n,...s)=>{for(let o=0;on=>{if(!("key"in n))return;const s=Yn(n.key);if(e.some(o=>o===s||um[o]===s))return t(n)},dm=Je({patchProp:Z1},I1);let dc;function hm(){return dc||(dc=m1(dm))}const rh=(...t)=>{const e=hm().createApp(...t),{mount:n}=e;return e.mount=s=>{const o=fm(s);if(!o)return;const r=e._component;!Se(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},e};function fm(t){return He(t)?document.querySelector(t):t}function pm(){return ih().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ih(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const gm=typeof Proxy=="function",mm="devtools-plugin:setup",_m="plugin:settings:set";let es,Xi;function ym(){var t;return es!==void 0||(typeof window<"u"&&window.performance?(es=!0,Xi=window.performance):typeof global<"u"&&(!((t=global.perf_hooks)===null||t===void 0)&&t.performance)?(es=!0,Xi=global.perf_hooks.performance):es=!1),es}function bm(){return ym()?Xi.now():Date.now()}class vm{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const s={};if(e.settings)for(const i in e.settings){const a=e.settings[i];s[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},s);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(r,a)}catch{}this.fallbacks={getSettings(){return r},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}r=i},now(){return bm()}},n&&n.on(_m,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(e){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function xm(t,e){const n=t,s=ih(),o=pm(),r=gm&&n.enableEarlyProxy;if(o&&(s.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))o.emit(mm,t,e);else{const i=r?new vm(n,o):null;(s.__VUE_DEVTOOLS_PLUGINS__=s.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:i}),i&&e(i.proxiedTarget)}}/*! - * vuex v4.0.2 - * (c) 2021 Evan You - * @license MIT - */var wm="store";function Rs(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function km(t){return t!==null&&typeof t=="object"}function Cm(t){return t&&typeof t.then=="function"}function Em(t,e){return function(){return t(e)}}function ah(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var s=e.indexOf(t);s>-1&&e.splice(s,1)}}function lh(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;Br(t,n,[],t._modules.root,!0),Va(t,n,e)}function Va(t,e,n){var s=t._state;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,r={};Rs(o,function(i,a){r[a]=Em(i,t),Object.defineProperty(t.getters,a,{get:function(){return r[a]()},enumerable:!0})}),t._state=Os({data:e}),t.strict&&Dm(t),s&&n&&t._withCommit(function(){s.data=null})}function Br(t,e,n,s,o){var r=!n.length,i=t._modules.getNamespace(n);if(s.namespaced&&(t._modulesNamespaceMap[i],t._modulesNamespaceMap[i]=s),!r&&!o){var a=Ga(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit(function(){a[l]=s.state})}var c=s.context=Am(t,i,n);s.forEachMutation(function(u,h){var f=i+h;Sm(t,f,u,c)}),s.forEachAction(function(u,h){var f=u.root?h:i+h,p=u.handler||u;Tm(t,f,p,c)}),s.forEachGetter(function(u,h){var f=i+h;Mm(t,f,u,c)}),s.forEachChild(function(u,h){Br(t,e,n.concat(h),u,o)})}function Am(t,e,n){var s=e==="",o={dispatch:s?t.dispatch:function(r,i,a){var l=hr(r,i,a),c=l.payload,u=l.options,h=l.type;return(!u||!u.root)&&(h=e+h),t.dispatch(h,c)},commit:s?t.commit:function(r,i,a){var l=hr(r,i,a),c=l.payload,u=l.options,h=l.type;(!u||!u.root)&&(h=e+h),t.commit(h,c,u)}};return Object.defineProperties(o,{getters:{get:s?function(){return t.getters}:function(){return ch(t,e)}},state:{get:function(){return Ga(t.state,n)}}}),o}function ch(t,e){if(!t._makeLocalGettersCache[e]){var n={},s=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,s)===e){var r=o.slice(s);Object.defineProperty(n,r,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function Sm(t,e,n,s){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(i){n.call(t,s.state,i)})}function Tm(t,e,n,s){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(i){var a=n.call(t,{dispatch:s.dispatch,commit:s.commit,getters:s.getters,state:s.state,rootGetters:t.getters,rootState:t.state},i);return Cm(a)||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(l){throw t._devtoolHook.emit("vuex:error",l),l}):a})}function Mm(t,e,n,s){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(r){return n(s.state,s.getters,r.state,r.getters)})}function Dm(t){Hn(function(){return t._state.data},function(){},{deep:!0,flush:"sync"})}function Ga(t,e){return e.reduce(function(n,s){return n[s]},t)}function hr(t,e,n){return km(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}var Lm="vuex bindings",hc="vuex:mutations",mi="vuex:actions",ts="vuex",Om=0;function jm(t,e){xm({id:"org.vuejs.vuex",app:t,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Lm]},function(n){n.addTimelineLayer({id:hc,label:"Vuex Mutations",color:fc}),n.addTimelineLayer({id:mi,label:"Vuex Actions",color:fc}),n.addInspector({id:ts,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(s){if(s.app===t&&s.inspectorId===ts)if(s.filter){var o=[];fh(o,e._modules.root,s.filter,""),s.rootNodes=o}else s.rootNodes=[hh(e._modules.root,"")]}),n.on.getInspectorState(function(s){if(s.app===t&&s.inspectorId===ts){var o=s.nodeId;ch(e,o),s.state=Im(qm(e._modules,o),o==="root"?e.getters:e._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(s){if(s.app===t&&s.inspectorId===ts){var o=s.nodeId,r=s.path;o!=="root"&&(r=o.split("/").filter(Boolean).concat(r)),e._withCommit(function(){s.set(e._state.data,r,s.state.value)})}}),e.subscribe(function(s,o){var r={};s.payload&&(r.payload=s.payload),r.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(ts),n.sendInspectorState(ts),n.addTimelineEvent({layerId:hc,event:{time:Date.now(),title:s.type,data:r}})}),e.subscribeAction({before:function(s,o){var r={};s.payload&&(r.payload=s.payload),s._id=Om++,s._time=Date.now(),r.state=o,n.addTimelineEvent({layerId:mi,event:{time:s._time,title:s.type,groupId:s._id,subtitle:"start",data:r}})},after:function(s,o){var r={},i=Date.now()-s._time;r.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},s.payload&&(r.payload=s.payload),r.state=o,n.addTimelineEvent({layerId:mi,event:{time:Date.now(),title:s.type,groupId:s._id,subtitle:"end",data:r}})}})})}var fc=8702998,Pm=6710886,Rm=16777215,uh={label:"namespaced",textColor:Rm,backgroundColor:Pm};function dh(t){return t&&t!=="root"?t.split("/").slice(-2,-1)[0]:"Root"}function hh(t,e){return{id:e||"root",label:dh(e),tags:t.namespaced?[uh]:[],children:Object.keys(t._children).map(function(n){return hh(t._children[n],e+n+"/")})}}function fh(t,e,n,s){s.includes(n)&&t.push({id:s||"root",label:s.endsWith("/")?s.slice(0,s.length-1):s||"Root",tags:e.namespaced?[uh]:[]}),Object.keys(e._children).forEach(function(o){fh(t,e._children[o],n,s+o+"/")})}function Im(t,e,n){e=n==="root"?e:e[n];var s=Object.keys(e),o={state:Object.keys(t.state).map(function(i){return{key:i,editable:!0,value:t.state[i]}})};if(s.length){var r=Fm(e);o.getters=Object.keys(r).map(function(i){return{key:i.endsWith("/")?dh(i):i,editable:!1,value:ea(function(){return r[i]})}})}return o}function Fm(t){var e={};return Object.keys(t).forEach(function(n){var s=n.split("/");if(s.length>1){var o=e,r=s.pop();s.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[r]=ea(function(){return t[n]})}else e[n]=ea(function(){return t[n]})}),e}function qm(t,e){var n=e.split("/").filter(function(s){return s});return n.reduce(function(s,o,r){var i=s[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+e+'".');return r===n.length-1?i:i._children},e==="root"?t:t.root._children)}function ea(t){try{return t()}catch(e){return e}}var Pt=function(e,n){this.runtime=n,this._children=Object.create(null),this._rawModule=e;var s=e.state;this.state=(typeof s=="function"?s():s)||{}},ph={namespaced:{configurable:!0}};ph.namespaced.get=function(){return!!this._rawModule.namespaced};Pt.prototype.addChild=function(e,n){this._children[e]=n};Pt.prototype.removeChild=function(e){delete this._children[e]};Pt.prototype.getChild=function(e){return this._children[e]};Pt.prototype.hasChild=function(e){return e in this._children};Pt.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)};Pt.prototype.forEachChild=function(e){Rs(this._children,e)};Pt.prototype.forEachGetter=function(e){this._rawModule.getters&&Rs(this._rawModule.getters,e)};Pt.prototype.forEachAction=function(e){this._rawModule.actions&&Rs(this._rawModule.actions,e)};Pt.prototype.forEachMutation=function(e){this._rawModule.mutations&&Rs(this._rawModule.mutations,e)};Object.defineProperties(Pt.prototype,ph);var Qn=function(e){this.register([],e,!1)};Qn.prototype.get=function(e){return e.reduce(function(n,s){return n.getChild(s)},this.root)};Qn.prototype.getNamespace=function(e){var n=this.root;return e.reduce(function(s,o){return n=n.getChild(o),s+(n.namespaced?o+"/":"")},"")};Qn.prototype.update=function(e){gh([],this.root,e)};Qn.prototype.register=function(e,n,s){var o=this;s===void 0&&(s=!0);var r=new Pt(n,s);if(e.length===0)this.root=r;else{var i=this.get(e.slice(0,-1));i.addChild(e[e.length-1],r)}n.modules&&Rs(n.modules,function(a,l){o.register(e.concat(l),a,s)})};Qn.prototype.unregister=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1],o=n.getChild(s);o&&o.runtime&&n.removeChild(s)};Qn.prototype.isRegistered=function(e){var n=this.get(e.slice(0,-1)),s=e[e.length-1];return n?n.hasChild(s):!1};function gh(t,e,n){if(e.update(n),n.modules)for(var s in n.modules){if(!e.getChild(s))return;gh(t.concat(s),e.getChild(s),n.modules[s])}}function $m(t){return new ht(t)}var ht=function(e){var n=this;e===void 0&&(e={});var s=e.plugins;s===void 0&&(s=[]);var o=e.strict;o===void 0&&(o=!1);var r=e.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Qn(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=r;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,g){return c.call(i,f,p,g)},this.strict=o;var u=this._modules.root.state;Br(this,u,[],this._modules.root),Va(this,u),s.forEach(function(h){return h(n)})},Ka={state:{configurable:!0}};ht.prototype.install=function(e,n){e.provide(n||wm,this),e.config.globalProperties.$store=this;var s=this._devtools!==void 0?this._devtools:!1;s&&jm(e,this)};Ka.state.get=function(){return this._state.data};Ka.state.set=function(t){};ht.prototype.commit=function(e,n,s){var o=this,r=hr(e,n,s),i=r.type,a=r.payload,l={type:i,payload:a},c=this._mutations[i];c&&(this._withCommit(function(){c.forEach(function(h){h(a)})}),this._subscribers.slice().forEach(function(u){return u(l,o.state)}))};ht.prototype.dispatch=function(e,n){var s=this,o=hr(e,n),r=o.type,i=o.payload,a={type:r,payload:i},l=this._actions[r];if(l){try{this._actionSubscribers.slice().filter(function(u){return u.before}).forEach(function(u){return u.before(a,s.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(u){return u(i)})):l[0](i);return new Promise(function(u,h){c.then(function(f){try{s._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,s.state)})}catch{}u(f)},function(f){try{s._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,s.state,f)})}catch{}h(f)})})}};ht.prototype.subscribe=function(e,n){return ah(e,this._subscribers,n)};ht.prototype.subscribeAction=function(e,n){var s=typeof e=="function"?{before:e}:e;return ah(s,this._actionSubscribers,n)};ht.prototype.watch=function(e,n,s){var o=this;return Hn(function(){return e(o.state,o.getters)},n,Object.assign({},s))};ht.prototype.replaceState=function(e){var n=this;this._withCommit(function(){n._state.data=e})};ht.prototype.registerModule=function(e,n,s){s===void 0&&(s={}),typeof e=="string"&&(e=[e]),this._modules.register(e,n),Br(this,this.state,e,this._modules.get(e),s.preserveState),Va(this,this.state)};ht.prototype.unregisterModule=function(e){var n=this;typeof e=="string"&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var s=Ga(n.state,e.slice(0,-1));delete s[e[e.length-1]]}),lh(this)};ht.prototype.hasModule=function(e){return typeof e=="string"&&(e=[e]),this._modules.isRegistered(e)};ht.prototype.hotUpdate=function(e){this._modules.update(e),lh(this,!0)};ht.prototype._withCommit=function(e){var n=this._committing;this._committing=!0,e(),this._committing=n};Object.defineProperties(ht.prototype,Ka);/*! - * vue-router v4.1.6 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const rs=typeof window<"u";function zm(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const ze=Object.assign;function _i(t,e){const n={};for(const s in e){const o=e[s];n[s]=jt(o)?o.map(t):t(o)}return n}const Qs=()=>{},jt=Array.isArray,Bm=/\/$/,Nm=t=>t.replace(Bm,"");function yi(t,e,n="/"){let s,o={},r="",i="";const a=e.indexOf("#");let l=e.indexOf("?");return a=0&&(l=-1),l>-1&&(s=e.slice(0,l),r=e.slice(l+1,a>-1?a:e.length),o=t(r)),a>-1&&(s=s||e.slice(0,a),i=e.slice(a,e.length)),s=Gm(s??e,n),{fullPath:s+(r&&"?")+r+i,path:s,query:o,hash:i}}function Um(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function pc(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function Hm(t,e,n){const s=e.matched.length-1,o=n.matched.length-1;return s>-1&&s===o&&bs(e.matched[s],n.matched[o])&&mh(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function bs(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function mh(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!Vm(t[n],e[n]))return!1;return!0}function Vm(t,e){return jt(t)?gc(t,e):jt(e)?gc(e,t):t===e}function gc(t,e){return jt(e)?t.length===e.length&&t.every((n,s)=>n===e[s]):t.length===1&&t[0]===e}function Gm(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),s=t.split("/");let o=n.length-1,r,i;for(r=0;r1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(r-(r===s.length?1:0)).join("/")}var go;(function(t){t.pop="pop",t.push="push"})(go||(go={}));var Xs;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Xs||(Xs={}));function Km(t){if(!t)if(rs){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),Nm(t)}const Wm=/^[^#]+#/;function Zm(t,e){return t.replace(Wm,"#")+e}function Jm(t,e){const n=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:e.behavior,left:s.left-n.left-(e.left||0),top:s.top-n.top-(e.top||0)}}const Nr=()=>({left:window.pageXOffset,top:window.pageYOffset});function Ym(t){let e;if("el"in t){const n=t.el,s=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=Jm(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function mc(t,e){return(history.state?history.state.position-e:-1)+t}const ta=new Map;function Qm(t,e){ta.set(t,e)}function Xm(t){const e=ta.get(t);return ta.delete(t),e}let e_=()=>location.protocol+"//"+location.host;function _h(t,e){const{pathname:n,search:s,hash:o}=e,r=t.indexOf("#");if(r>-1){let a=o.includes(t.slice(r))?t.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),pc(l,"")}return pc(n,t)+s+o}function t_(t,e,n,s){let o=[],r=[],i=null;const a=({state:f})=>{const p=_h(t,location),g=n.value,m=e.value;let w=0;if(f){if(n.value=p,e.value=f,i&&i===g){i=null;return}w=m?f.position-m.position:0}else s(p);o.forEach(v=>{v(n.value,g,{delta:w,type:go.pop,direction:w?w>0?Xs.forward:Xs.back:Xs.unknown})})};function l(){i=n.value}function c(f){o.push(f);const p=()=>{const g=o.indexOf(f);g>-1&&o.splice(g,1)};return r.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(ze({},f.state,{scroll:Nr()}),"")}function h(){for(const f of r)f();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u),{pauseListeners:l,listen:c,destroy:h}}function _c(t,e,n,s=!1,o=!1){return{back:t,current:e,forward:n,replaced:s,position:window.history.length,scroll:o?Nr():null}}function n_(t){const{history:e,location:n}=window,s={value:_h(t,n)},o={value:e.state};o.value||r(s.value,{back:null,current:s.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(l,c,u){const h=t.indexOf("#"),f=h>-1?(n.host&&document.querySelector("base")?t:t.slice(h))+l:e_()+t+l;try{e[u?"replaceState":"pushState"](c,"",f),o.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function i(l,c){const u=ze({},e.state,_c(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});r(l,u,!0),s.value=l}function a(l,c){const u=ze({},o.value,e.state,{forward:l,scroll:Nr()});r(u.current,u,!0);const h=ze({},_c(s.value,l,null),{position:u.position+1},c);r(l,h,!1),s.value=l}return{location:s,state:o,push:a,replace:i}}function s_(t){t=Km(t);const e=n_(t),n=t_(t,e.state,e.location,e.replace);function s(r,i=!0){i||n.pauseListeners(),history.go(r)}const o=ze({location:"",base:t,go:s,createHref:Zm.bind(null,t)},e,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>e.state.value}),o}function o_(t){return typeof t=="string"||t&&typeof t=="object"}function yh(t){return typeof t=="string"||typeof t=="symbol"}const dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},bh=Symbol("");var yc;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(yc||(yc={}));function vs(t,e){return ze(new Error,{type:t,[bh]:!0},e)}function Zt(t,e){return t instanceof Error&&bh in t&&(e==null||!!(t.type&e))}const bc="[^/]+?",r_={sensitive:!1,strict:!1,start:!0,end:!0},i_=/[.+*?^${}()[\]/\\]/g;function a_(t,e){const n=ze({},r_,e),s=[];let o=n.start?"^":"";const r=[];for(const c of t){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let h=0;he.length?e.length===1&&e[0]===40+40?1:-1:0}function c_(t,e){let n=0;const s=t.score,o=e.score;for(;n0&&e[e.length-1]<0}const u_={type:0,value:""},d_=/[a-zA-Z0-9_]/;function h_(t){if(!t)return[[]];if(t==="/")return[[u_]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,s=n;const o=[];let r;function i(){r&&o.push(r),r=[]}let a=0,l,c="",u="";function h(){c&&(n===0?r.push({type:0,value:c}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&e(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):e("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a{i(y)}:Qs}function i(u){if(yh(u)){const h=s.get(u);h&&(s.delete(u),n.splice(n.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=n.indexOf(u);h>-1&&(n.splice(h,1),u.record.name&&s.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let h=0;for(;h=0&&(u.record.path!==n[h].record.path||!vh(u,n[h]));)h++;n.splice(h,0,u),u.record.name&&!wc(u)&&s.set(u.record.name,u)}function c(u,h){let f,p={},g,m;if("name"in u&&u.name){if(f=s.get(u.name),!f)throw vs(1,{location:u});m=f.record.name,p=ze(xc(h.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&xc(u.params,f.keys.map(y=>y.name))),g=f.stringify(p)}else if("path"in u)g=u.path,f=n.find(y=>y.re.test(g)),f&&(p=f.parse(g),m=f.record.name);else{if(f=h.name?s.get(h.name):n.find(y=>y.re.test(h.path)),!f)throw vs(1,{location:u,currentLocation:h});m=f.record.name,p=ze({},h.params,u.params),g=f.stringify(p)}const w=[];let v=f;for(;v;)w.unshift(v.record),v=v.parent;return{name:m,path:g,params:p,matched:w,meta:__(w)}}return t.forEach(u=>r(u)),{addRoute:r,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function xc(t,e){const n={};for(const s of e)s in t&&(n[s]=t[s]);return n}function g_(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:m_(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function m_(t){const e={},n=t.props||!1;if("component"in t)e.default=n;else for(const s in t.components)e[s]=typeof n=="boolean"?n:n[s];return e}function wc(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function __(t){return t.reduce((e,n)=>ze(e,n.meta),{})}function kc(t,e){const n={};for(const s in t)n[s]=s in e?e[s]:t[s];return n}function vh(t,e){return e.children.some(n=>n===t||vh(t,n))}const xh=/#/g,y_=/&/g,b_=/\//g,v_=/=/g,x_=/\?/g,wh=/\+/g,w_=/%5B/g,k_=/%5D/g,kh=/%5E/g,C_=/%60/g,Ch=/%7B/g,E_=/%7C/g,Eh=/%7D/g,A_=/%20/g;function Wa(t){return encodeURI(""+t).replace(E_,"|").replace(w_,"[").replace(k_,"]")}function S_(t){return Wa(t).replace(Ch,"{").replace(Eh,"}").replace(kh,"^")}function na(t){return Wa(t).replace(wh,"%2B").replace(A_,"+").replace(xh,"%23").replace(y_,"%26").replace(C_,"`").replace(Ch,"{").replace(Eh,"}").replace(kh,"^")}function T_(t){return na(t).replace(v_,"%3D")}function M_(t){return Wa(t).replace(xh,"%23").replace(x_,"%3F")}function D_(t){return t==null?"":M_(t).replace(b_,"%2F")}function fr(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function L_(t){const e={};if(t===""||t==="?")return e;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let o=0;or&&na(r)):[s&&na(s)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+n,r!=null&&(e+="="+r))})}return e}function O_(t){const e={};for(const n in t){const s=t[n];s!==void 0&&(e[n]=jt(s)?s.map(o=>o==null?null:""+o):s==null?s:""+s)}return e}const j_=Symbol(""),Ec=Symbol(""),Za=Symbol(""),Ah=Symbol(""),sa=Symbol("");function Us(){let t=[];function e(s){return t.push(s),()=>{const o=t.indexOf(s);o>-1&&t.splice(o,1)}}function n(){t=[]}return{add:e,list:()=>t,reset:n}}function mn(t,e,n,s,o){const r=s&&(s.enterCallbacks[o]=s.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=h=>{h===!1?a(vs(4,{from:n,to:e})):h instanceof Error?a(h):o_(h)?a(vs(2,{from:e,to:h})):(r&&s.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),i())},c=t.call(s&&s.instances[o],e,n,l);let u=Promise.resolve(c);t.length<3&&(u=u.then(l)),u.catch(h=>a(h))})}function bi(t,e,n,s){const o=[];for(const r of t)for(const i in r.components){let a=r.components[i];if(!(e!=="beforeRouteEnter"&&!r.instances[i]))if(P_(a)){const c=(a.__vccOpts||a)[e];c&&o.push(mn(c,n,s,r,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${r.path}"`));const u=zm(c)?c.default:c;r.components[i]=u;const f=(u.__vccOpts||u)[e];return f&&mn(f,n,s,r,i)()}))}}return o}function P_(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function Ac(t){const e=Xt(Za),n=Xt(Ah),s=vt(()=>e.resolve(ft(t.to))),o=vt(()=>{const{matched:l}=s.value,{length:c}=l,u=l[c-1],h=n.matched;if(!u||!h.length)return-1;const f=h.findIndex(bs.bind(null,u));if(f>-1)return f;const p=Sc(l[c-2]);return c>1&&Sc(u)===p&&h[h.length-1].path!==p?h.findIndex(bs.bind(null,l[c-2])):f}),r=vt(()=>o.value>-1&&F_(n.params,s.value.params)),i=vt(()=>o.value>-1&&o.value===n.matched.length-1&&mh(n.params,s.value.params));function a(l={}){return I_(l)?e[ft(t.replace)?"replace":"push"](ft(t.to)).catch(Qs):Promise.resolve()}return{route:s,href:vt(()=>s.value.href),isActive:r,isExactActive:i,navigate:a}}const R_=Od({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:Ac,setup(t,{slots:e}){const n=Os(Ac(t)),{options:s}=Xt(Za),o=vt(()=>({[Tc(t.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Tc(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=e.default&&e.default(n);return t.custom?r:Yd("a",{"aria-current":n.isExactActive?t.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Fn=R_;function I_(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function F_(t,e){for(const n in e){const s=e[n],o=t[n];if(typeof s=="string"){if(s!==o)return!1}else if(!jt(o)||o.length!==s.length||s.some((r,i)=>r!==o[i]))return!1}return!0}function Sc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Tc=(t,e,n)=>t??e??n,q_=Od({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:n}){const s=Xt(sa),o=vt(()=>t.route||s.value),r=Xt(Ec,0),i=vt(()=>{let c=ft(r);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),a=vt(()=>o.value.matched[i.value]);Zo(Ec,vt(()=>i.value+1)),Zo(j_,a),Zo(sa,o);const l=Eg();return Hn(()=>[l.value,a.value,t.name],([c,u,h],[f,p,g])=>{u&&(u.instances[h]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!bs(u,p)||!f)&&(u.enterCallbacks[h]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=t.name,h=a.value,f=h&&h.components[u];if(!f)return Mc(n.default,{Component:f,route:c});const p=h.props[u],g=p?p===!0?c.params:typeof p=="function"?p(c):p:null,w=Yd(f,ze({},g,e,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(h.instances[u]=null)},ref:l}));return Mc(n.default,{Component:w,route:c})||w}}});function Mc(t,e){if(!t)return null;const n=t(e);return n.length===1?n[0]:n}const Sh=q_;function $_(t){const e=p_(t.routes,t),n=t.parseQuery||L_,s=t.stringifyQuery||Cc,o=t.history,r=Us(),i=Us(),a=Us(),l=Ag(dn);let c=dn;rs&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=_i.bind(null,L=>""+L),h=_i.bind(null,D_),f=_i.bind(null,fr);function p(L,W){let J,ie;return yh(L)?(J=e.getRecordMatcher(L),ie=W):ie=L,e.addRoute(ie,J)}function g(L){const W=e.getRecordMatcher(L);W&&e.removeRoute(W)}function m(){return e.getRoutes().map(L=>L.record)}function w(L){return!!e.getRecordMatcher(L)}function v(L,W){if(W=ze({},W||l.value),typeof L=="string"){const _=yi(n,L,W.path),C=e.resolve({path:_.path},W),O=o.createHref(_.fullPath);return ze(_,C,{params:f(C.params),hash:fr(_.hash),redirectedFrom:void 0,href:O})}let J;if("path"in L)J=ze({},L,{path:yi(n,L.path,W.path).path});else{const _=ze({},L.params);for(const C in _)_[C]==null&&delete _[C];J=ze({},L,{params:h(L.params)}),W.params=h(W.params)}const ie=e.resolve(J,W),se=L.hash||"";ie.params=u(f(ie.params));const ge=Um(s,ze({},L,{hash:S_(se),path:ie.path})),de=o.createHref(ge);return ze({fullPath:ge,hash:se,query:s===Cc?O_(L.query):L.query||{}},ie,{redirectedFrom:void 0,href:de})}function y(L){return typeof L=="string"?yi(n,L,l.value.path):ze({},L)}function x(L,W){if(c!==L)return vs(8,{from:W,to:L})}function E(L){return $(L)}function q(L){return E(ze(y(L),{replace:!0}))}function M(L){const W=L.matched[L.matched.length-1];if(W&&W.redirect){const{redirect:J}=W;let ie=typeof J=="function"?J(L):J;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=y(ie):{path:ie},ie.params={}),ze({query:L.query,hash:L.hash,params:"path"in ie?{}:L.params},ie)}}function $(L,W){const J=c=v(L),ie=l.value,se=L.state,ge=L.force,de=L.replace===!0,_=M(J);if(_)return $(ze(y(_),{state:typeof _=="object"?ze({},se,_.state):se,force:ge,replace:de}),W||J);const C=J;C.redirectedFrom=W;let O;return!ge&&Hm(s,ie,J)&&(O=vs(16,{to:C,from:ie}),me(ie,ie,!0,!1)),(O?Promise.resolve(O):k(C,ie)).catch(j=>Zt(j)?Zt(j,2)?j:G(j):A(j,C,ie)).then(j=>{if(j){if(Zt(j,2))return $(ze({replace:de},y(j.to),{state:typeof j.to=="object"?ze({},se,j.to.state):se,force:ge}),W||C)}else j=z(C,ie,!0,de,se);return S(C,ie,j),j})}function b(L,W){const J=x(L,W);return J?Promise.reject(J):Promise.resolve()}function k(L,W){let J;const[ie,se,ge]=z_(L,W);J=bi(ie.reverse(),"beforeRouteLeave",L,W);for(const _ of ie)_.leaveGuards.forEach(C=>{J.push(mn(C,L,W))});const de=b.bind(null,L,W);return J.push(de),ns(J).then(()=>{J=[];for(const _ of r.list())J.push(mn(_,L,W));return J.push(de),ns(J)}).then(()=>{J=bi(se,"beforeRouteUpdate",L,W);for(const _ of se)_.updateGuards.forEach(C=>{J.push(mn(C,L,W))});return J.push(de),ns(J)}).then(()=>{J=[];for(const _ of L.matched)if(_.beforeEnter&&!W.matched.includes(_))if(jt(_.beforeEnter))for(const C of _.beforeEnter)J.push(mn(C,L,W));else J.push(mn(_.beforeEnter,L,W));return J.push(de),ns(J)}).then(()=>(L.matched.forEach(_=>_.enterCallbacks={}),J=bi(ge,"beforeRouteEnter",L,W),J.push(de),ns(J))).then(()=>{J=[];for(const _ of i.list())J.push(mn(_,L,W));return J.push(de),ns(J)}).catch(_=>Zt(_,8)?_:Promise.reject(_))}function S(L,W,J){for(const ie of a.list())ie(L,W,J)}function z(L,W,J,ie,se){const ge=x(L,W);if(ge)return ge;const de=W===dn,_=rs?history.state:{};J&&(ie||de?o.replace(L.fullPath,ze({scroll:de&&_&&_.scroll},se)):o.push(L.fullPath,se)),l.value=L,me(L,W,J,de),G()}let F;function Q(){F||(F=o.listen((L,W,J)=>{if(!Ae.listening)return;const ie=v(L),se=M(ie);if(se){$(ze(se,{replace:!0}),ie).catch(Qs);return}c=ie;const ge=l.value;rs&&Qm(mc(ge.fullPath,J.delta),Nr()),k(ie,ge).catch(de=>Zt(de,12)?de:Zt(de,2)?($(de.to,ie).then(_=>{Zt(_,20)&&!J.delta&&J.type===go.pop&&o.go(-1,!1)}).catch(Qs),Promise.reject()):(J.delta&&o.go(-J.delta,!1),A(de,ie,ge))).then(de=>{de=de||z(ie,ge,!1),de&&(J.delta&&!Zt(de,8)?o.go(-J.delta,!1):J.type===go.pop&&Zt(de,20)&&o.go(-1,!1)),S(ie,ge,de)}).catch(Qs)}))}let I=Us(),he=Us(),X;function A(L,W,J){G(L);const ie=he.list();return ie.length?ie.forEach(se=>se(L,W,J)):console.error(L),Promise.reject(L)}function N(){return X&&l.value!==dn?Promise.resolve():new Promise((L,W)=>{I.add([L,W])})}function G(L){return X||(X=!L,Q(),I.list().forEach(([W,J])=>L?J(L):W()),I.reset()),L}function me(L,W,J,ie){const{scrollBehavior:se}=t;if(!rs||!se)return Promise.resolve();const ge=!J&&Xm(mc(L.fullPath,0))||(ie||!J)&&history.state&&history.state.scroll||null;return fe().then(()=>se(L,W,ge)).then(de=>de&&Ym(de)).catch(de=>A(de,L,W))}const pe=L=>o.go(L);let ee;const ve=new Set,Ae={currentRoute:l,listening:!0,addRoute:p,removeRoute:g,hasRoute:w,getRoutes:m,resolve:v,options:t,push:E,replace:q,go:pe,back:()=>pe(-1),forward:()=>pe(1),beforeEach:r.add,beforeResolve:i.add,afterEach:a.add,onError:he.add,isReady:N,install(L){const W=this;L.component("RouterLink",Fn),L.component("RouterView",Sh),L.config.globalProperties.$router=W,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>ft(l)}),rs&&!ee&&l.value===dn&&(ee=!0,E(o.location).catch(se=>{}));const J={};for(const se in dn)J[se]=vt(()=>l.value[se]);L.provide(Za,W),L.provide(Ah,Os(J)),L.provide(sa,l);const ie=L.unmount;ve.add(L),L.unmount=function(){ve.delete(L),ve.size<1&&(c=dn,F&&F(),F=null,l.value=dn,ee=!1,X=!1),ie()}}};return Ae}function ns(t){return t.reduce((e,n)=>e.then(()=>n()),Promise.resolve())}function z_(t,e){const n=[],s=[],o=[],r=Math.max(e.matched.length,t.matched.length);for(let i=0;ibs(c,a))?s.push(a):n.push(a));const l=t.matched[i];l&&(e.matched.find(c=>bs(c,l))||o.push(l))}return[n,s,o]}const B_="modulepreload",N_=function(t){return"/"+t},Dc={},vi=function(e,n,s){if(!n||n.length===0)return e();const o=document.getElementsByTagName("link");return Promise.all(n.map(r=>{if(r=N_(r),r in Dc)return;Dc[r]=!0;const i=r.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===r&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":B_,i||(c.as="script",c.crossOrigin=""),c.href=r,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${r}`)))})})).then(()=>e())},Th="/assets/logo-023c77a1.png";var Mh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Is(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function U_(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function s(){if(this instanceof s){var o=[null];o.push.apply(o,arguments);var r=Function.bind.apply(e,o);return new r}return e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(n,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),n}var Dh={exports:{}};(function(t,e){(function(s,o){t.exports=o()})(typeof self<"u"?self:Mh,function(){return function(n){var s={};function o(r){if(s[r])return s[r].exports;var i=s[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=n,o.c=s,o.d=function(r,i,a){o.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:a})},o.r=function(r){Object.defineProperty(r,"__esModule",{value:!0})},o.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return o.d(i,"a",i),i},o.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},o.p="",o(o.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,s,o){var r,i;/*! - Copyright (c) 2016 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/(function(){var a=function(){function l(){}l.prototype=Object.create(null);function c(v,y){for(var x=y.length,E=0;E1?arguments[1]:void 0,y=v!==void 0,x=0,E=h(g),q,M,$,b;if(y&&(v=r(v,w>2?arguments[2]:void 0,2)),E!=null&&!(m==Array&&l(E)))for(b=E.call(g),M=new m;!($=b.next()).done;x++)u(M,x,y?a(b,v,[$.value,x],!0):$.value);else for(q=c(g.length),M=new m(q);q>x;x++)u(M,x,y?v(g[x],x):g[x]);return M.length=x,M}},"./node_modules/core-js/internals/array-includes.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-indexed-object.js"),i=o("./node_modules/core-js/internals/to-length.js"),a=o("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(l){return function(c,u,h){var f=r(c),p=i(f.length),g=a(h,p),m;if(l&&u!=u){for(;p>g;)if(m=f[g++],m!=m)return!0}else for(;p>g;g++)if((l||g in f)&&f[g]===u)return l||g||0;return!l&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,s,o){var r=o("./node_modules/core-js/internals/a-function.js");n.exports=function(i,a,l){if(r(i),a===void 0)return i;switch(l){case 0:return function(){return i.call(a)};case 1:return function(c){return i.call(a,c)};case 2:return function(c,u){return i.call(a,c,u)};case 3:return function(c,u,h){return i.call(a,c,u,h)}}return function(){return i.apply(a,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,s,o){var r=o("./node_modules/core-js/internals/an-object.js");n.exports=function(i,a,l,c){try{return c?a(r(l)[0],l[1]):a(l)}catch(h){var u=i.return;throw u!==void 0&&r(u.call(i)),h}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,s,o){var r=o("./node_modules/core-js/internals/well-known-symbol.js"),i=r("iterator"),a=!1;try{var l=0,c={next:function(){return{done:!!l++}},return:function(){a=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,h){if(!h&&!a)return!1;var f=!1;try{var p={};p[i]=function(){return{next:function(){return{done:f=!0}}}},u(p)}catch{}return f}},"./node_modules/core-js/internals/classof-raw.js":function(n,s){var o={}.toString;n.exports=function(r){return o.call(r).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,s,o){var r=o("./node_modules/core-js/internals/classof-raw.js"),i=o("./node_modules/core-js/internals/well-known-symbol.js"),a=i("toStringTag"),l=r(function(){return arguments}())=="Arguments",c=function(u,h){try{return u[h]}catch{}};n.exports=function(u){var h,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=c(h=Object(u),a))=="string"?f:l?r(h):(p=r(h))=="Object"&&typeof h.callee=="function"?"Arguments":p}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/own-keys.js"),a=o("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),l=o("./node_modules/core-js/internals/object-define-property.js");n.exports=function(c,u){for(var h=i(u),f=l.f,p=a.f,g=0;g",q="java"+x+":",M;for(w.style.display="none",c.appendChild(w),w.src=String(q),M=w.contentWindow.document,M.open(),M.write(y+x+E+"document.F=Object"+y+"/"+x+E),M.close(),m=M.F;v--;)delete m[p][a[v]];return m()};n.exports=Object.create||function(v,y){var x;return v!==null?(g[p]=r(v),x=new g,g[p]=null,x[f]=v):x=m(),y===void 0?x:i(x,y)},l[f]=!0},"./node_modules/core-js/internals/object-define-properties.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-define-property.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/object-keys.js");n.exports=r?Object.defineProperties:function(u,h){a(u);for(var f=l(h),p=f.length,g=0,m;p>g;)i.f(u,m=f[g++],h[m]);return u}},"./node_modules/core-js/internals/object-define-property.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/ie8-dom-define.js"),a=o("./node_modules/core-js/internals/an-object.js"),l=o("./node_modules/core-js/internals/to-primitive.js"),c=Object.defineProperty;s.f=r?c:function(h,f,p){if(a(h),f=l(f,!0),a(p),i)try{return c(h,f,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(h[f]=p.value),h}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(n,s,o){var r=o("./node_modules/core-js/internals/descriptors.js"),i=o("./node_modules/core-js/internals/object-property-is-enumerable.js"),a=o("./node_modules/core-js/internals/create-property-descriptor.js"),l=o("./node_modules/core-js/internals/to-indexed-object.js"),c=o("./node_modules/core-js/internals/to-primitive.js"),u=o("./node_modules/core-js/internals/has.js"),h=o("./node_modules/core-js/internals/ie8-dom-define.js"),f=Object.getOwnPropertyDescriptor;s.f=r?f:function(g,m){if(g=l(g),m=c(m,!0),h)try{return f(g,m)}catch{}if(u(g,m))return a(!i.f.call(g,m),g[m])}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js"),a=i.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return r(c,a)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(n,s){s.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-object.js"),a=o("./node_modules/core-js/internals/shared-key.js"),l=o("./node_modules/core-js/internals/correct-prototype-getter.js"),c=a("IE_PROTO"),u=Object.prototype;n.exports=l?Object.getPrototypeOf:function(h){return h=i(h),r(h,c)?h[c]:typeof h.constructor=="function"&&h instanceof h.constructor?h.constructor.prototype:h instanceof Object?u:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(n,s,o){var r=o("./node_modules/core-js/internals/has.js"),i=o("./node_modules/core-js/internals/to-indexed-object.js"),a=o("./node_modules/core-js/internals/array-includes.js"),l=o("./node_modules/core-js/internals/hidden-keys.js"),c=a(!1);n.exports=function(u,h){var f=i(u),p=0,g=[],m;for(m in f)!r(l,m)&&r(f,m)&&g.push(m);for(;h.length>p;)r(f,m=h[p++])&&(~c(g,m)||g.push(m));return g}},"./node_modules/core-js/internals/object-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-keys-internal.js"),i=o("./node_modules/core-js/internals/enum-bug-keys.js");n.exports=Object.keys||function(l){return r(l,i)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(n,s,o){var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);s.f=a?function(c){var u=i(this,c);return!!u&&u.enumerable}:r},"./node_modules/core-js/internals/object-set-prototype-of.js":function(n,s,o){var r=o("./node_modules/core-js/internals/validate-set-prototype-of-arguments.js");n.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,a={},l;try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(a,[]),i=a instanceof Array}catch{}return function(u,h){return r(u,h),i?l.call(u,h):u.__proto__=h,u}}():void 0)},"./node_modules/core-js/internals/own-keys.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/object-get-own-property-names.js"),a=o("./node_modules/core-js/internals/object-get-own-property-symbols.js"),l=o("./node_modules/core-js/internals/an-object.js"),c=r.Reflect;n.exports=c&&c.ownKeys||function(h){var f=i.f(l(h)),p=a.f;return p?f.concat(p(h)):f}},"./node_modules/core-js/internals/path.js":function(n,s,o){n.exports=o("./node_modules/core-js/internals/global.js")},"./node_modules/core-js/internals/redefine.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/hide.js"),l=o("./node_modules/core-js/internals/has.js"),c=o("./node_modules/core-js/internals/set-global.js"),u=o("./node_modules/core-js/internals/function-to-string.js"),h=o("./node_modules/core-js/internals/internal-state.js"),f=h.get,p=h.enforce,g=String(u).split("toString");i("inspectSource",function(m){return u.call(m)}),(n.exports=function(m,w,v,y){var x=y?!!y.unsafe:!1,E=y?!!y.enumerable:!1,q=y?!!y.noTargetGet:!1;if(typeof v=="function"&&(typeof w=="string"&&!l(v,"name")&&a(v,"name",w),p(v).source=g.join(typeof w=="string"?w:"")),m===r){E?m[w]=v:c(w,v);return}else x?!q&&m[w]&&(E=!0):delete m[w];E?m[w]=v:a(m,w,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||u.call(this)})},"./node_modules/core-js/internals/require-object-coercible.js":function(n,s){n.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"./node_modules/core-js/internals/set-global.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/hide.js");n.exports=function(a,l){try{i(r,a,l)}catch{r[a]=l}return l}},"./node_modules/core-js/internals/set-to-string-tag.js":function(n,s,o){var r=o("./node_modules/core-js/internals/object-define-property.js").f,i=o("./node_modules/core-js/internals/has.js"),a=o("./node_modules/core-js/internals/well-known-symbol.js"),l=a("toStringTag");n.exports=function(c,u,h){c&&!i(c=h?c:c.prototype,l)&&r(c,l,{configurable:!0,value:u})}},"./node_modules/core-js/internals/shared-key.js":function(n,s,o){var r=o("./node_modules/core-js/internals/shared.js"),i=o("./node_modules/core-js/internals/uid.js"),a=r("keys");n.exports=function(l){return a[l]||(a[l]=i(l))}},"./node_modules/core-js/internals/shared.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/set-global.js"),a=o("./node_modules/core-js/internals/is-pure.js"),l="__core-js_shared__",c=r[l]||i(l,{});(n.exports=function(u,h){return c[u]||(c[u]=h!==void 0?h:{})})("versions",[]).push({version:"3.1.3",mode:a?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-at.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a,l,c){var u=String(i(a)),h=r(l),f=u.length,p,g;return h<0||h>=f?c?"":void 0:(p=u.charCodeAt(h),p<55296||p>56319||h+1===f||(g=u.charCodeAt(h+1))<56320||g>57343?c?u.charAt(h):p:c?u.slice(h,h+2):(p-55296<<10)+(g-56320)+65536)}},"./node_modules/core-js/internals/to-absolute-index.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.max,a=Math.min;n.exports=function(l,c){var u=r(l);return u<0?i(u+c,0):a(u,c)}},"./node_modules/core-js/internals/to-indexed-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/indexed-object.js"),i=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(a){return r(i(a))}},"./node_modules/core-js/internals/to-integer.js":function(n,s){var o=Math.ceil,r=Math.floor;n.exports=function(i){return isNaN(i=+i)?0:(i>0?r:o)(i)}},"./node_modules/core-js/internals/to-length.js":function(n,s,o){var r=o("./node_modules/core-js/internals/to-integer.js"),i=Math.min;n.exports=function(a){return a>0?i(r(a),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(n,s,o){var r=o("./node_modules/core-js/internals/require-object-coercible.js");n.exports=function(i){return Object(r(i))}},"./node_modules/core-js/internals/to-primitive.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js");n.exports=function(i,a){if(!r(i))return i;var l,c;if(a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i))||typeof(l=i.valueOf)=="function"&&!r(c=l.call(i))||!a&&typeof(l=i.toString)=="function"&&!r(c=l.call(i)))return c;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/uid.js":function(n,s){var o=0,r=Math.random();n.exports=function(i){return"Symbol(".concat(i===void 0?"":i,")_",(++o+r).toString(36))}},"./node_modules/core-js/internals/validate-set-prototype-of-arguments.js":function(n,s,o){var r=o("./node_modules/core-js/internals/is-object.js"),i=o("./node_modules/core-js/internals/an-object.js");n.exports=function(a,l){if(i(a),!r(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype")}},"./node_modules/core-js/internals/well-known-symbol.js":function(n,s,o){var r=o("./node_modules/core-js/internals/global.js"),i=o("./node_modules/core-js/internals/shared.js"),a=o("./node_modules/core-js/internals/uid.js"),l=o("./node_modules/core-js/internals/native-symbol.js"),c=r.Symbol,u=i("wks");n.exports=function(h){return u[h]||(u[h]=l&&c[h]||(l?c:a)("Symbol."+h))}},"./node_modules/core-js/modules/es.array.from.js":function(n,s,o){var r=o("./node_modules/core-js/internals/export.js"),i=o("./node_modules/core-js/internals/array-from.js"),a=o("./node_modules/core-js/internals/check-correctness-of-iteration.js"),l=!a(function(c){Array.from(c)});r({target:"Array",stat:!0,forced:l},{from:i})},"./node_modules/core-js/modules/es.string.iterator.js":function(n,s,o){var r=o("./node_modules/core-js/internals/string-at.js"),i=o("./node_modules/core-js/internals/internal-state.js"),a=o("./node_modules/core-js/internals/define-iterator.js"),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",function(h){c(this,{type:l,string:String(h),index:0})},function(){var f=u(this),p=f.string,g=f.index,m;return g>=p.length?{value:void 0,done:!0}:(m=r(p,g,!0),f.index+=m.length,{value:m,done:!1})})},"./node_modules/webpack/buildin/global.js":function(n,s){var o;o=function(){return this}();try{o=o||Function("return this")()||(0,eval)("this")}catch{typeof window=="object"&&(o=window)}n.exports=o},"./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,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(m){for(var w=1;w2&&arguments[2]!==void 0?arguments[2]:[];f(this,m),this.name=w,this.contents=v,this.tags=y,this.attrs=r({},u.default,{class:"feather feather-"+w})}return i(m,[{key:"toSvg",value:function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},y=r({},this.attrs,v,{class:(0,l.default)(this.attrs.class,v.class)});return""+this.contents+""}},{key:"toString",value:function(){return this.contents}}]),m}();function g(m){return Object.keys(m).map(function(w){return w+'="'+m[w]+'"'}).join(" ")}s.default=p},"./src/icons.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icon.js"),i=h(r),a=o("./dist/icons.json"),l=h(a),c=o("./src/tags.json"),u=h(c);function h(f){return f&&f.__esModule?f:{default:f}}s.default=Object.keys(l.default).map(function(f){return new i.default(f,l.default[f],u.default[f])}).reduce(function(f,p){return f[p.name]=p,f},{})},"./src/index.js":function(n,s,o){var r=o("./src/icons.js"),i=h(r),a=o("./src/to-svg.js"),l=h(a),c=o("./src/replace.js"),u=h(c);function h(f){return f&&f.__esModule?f:{default:f}}n.exports={icons:i.default,toSvg:l.default,replace:u.default}},"./src/replace.js":function(n,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=Object.assign||function(g){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(w){return f(w,g)})}function f(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},w=p(g),v=w["data-feather"];delete w["data-feather"];var y=c.default[v].toSvg(r({},m,w,{class:(0,a.default)(m.class,w.class)})),x=new DOMParser().parseFromString(y,"image/svg+xml"),E=x.querySelector("svg");g.parentNode.replaceChild(E,g)}function p(g){return Array.from(g.attributes).reduce(function(m,w){return m[w.name]=w.value,m},{})}s.default=h},"./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,s,o){Object.defineProperty(s,"__esModule",{value:!0});var r=o("./src/icons.js"),i=a(r);function a(c){return c&&c.__esModule?c:{default:c}}function l(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)}s.default=l},0:function(n,s,o){o("./node_modules/core-js/es/array/from.js"),n.exports=o("./src/index.js")}})})})(Dh);var H_=Dh.exports;const ke=Is(H_),V_={class:"container flex flex-col sm:flex-row item-center gap-2 py-1"},G_={class:"items-center justify-between hidden w-full md:flex md:w-auto md:order-1"},K_={class:"flex flex-col font-medium p-4 md:p-0 mt-4 md:flex-row md:space-x-8 md:mt-0"},W_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Discussions",-1),Z_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Settings",-1),J_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Extensions",-1),Y_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Training",-1),Q_=d("a",{href:"#",class:"hover:text-primary duration-150"},"Help",-1),X_={data(){return{}},activated(){},methods:{}},Lh=Object.assign(X_,{__name:"Navigation",setup(t){return(e,n)=>(T(),D("div",V_,[d("div",G_,[d("ul",K_,[d("li",null,[Ee(ft(Fn),{to:{name:"discussions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Ze(()=>[W_]),_:1})]),d("li",null,[Ee(ft(Fn),{to:{name:"settings"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Ze(()=>[Z_]),_:1})]),d("li",null,[Ee(ft(Fn),{to:{name:"extensions"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Ze(()=>[J_]),_:1})]),d("li",null,[Ee(ft(Fn),{to:{name:"training"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Ze(()=>[Y_]),_:1})]),d("li",null,[Ee(ft(Fn),{to:{name:"help"},class:"p-2","active-class":"p-2 bg-bg-light-tone dark:bg-bg-dark-tone rounded-t-lg "},{default:Ze(()=>[Q_]),_:1})])])])]))}}),e0={class:"top-0 shadow-lg"},t0={class:"container flex flex-col lg:flex-row item-center gap-2 py-2"},n0=d("div",{class:"flex items-center gap-3 flex-1"},[d("img",{class:"w-12 hover:scale-95 duration-150",title:"LoLLMS WebUI",src:Th,alt:"Logo"}),d("div",{class:"flex flex-col"},[d("p",{class:"text-2xl"},"Lord of Large Language Models"),d("p",{class:"text-gray-400"},"One tool to rule them all")])],-1),s0={class:"flex gap-3 flex-1 items-center justify-end"},o0=d("a",{href:"https://github.com/ParisNeo/lollms-webui",target:"_blank"},[d("div",{class:"text-2xl hover:text-primary duration-150",title:"Visit repository page"},[d("i",{"data-feather":"github"})])],-1),r0=d("i",{"data-feather":"sun"},null,-1),i0=[r0],a0=d("i",{"data-feather":"moon"},null,-1),l0=[a0],c0=d("body",null,null,-1),u0={name:"TopBar",data(){return{codeBlockStylesheet:"",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(),fe(()=>{ke.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"),fe(()=>{vi(()=>Promise.resolve({}),["assets/stackoverflow-dark-7e41bf22.css"])});return}fe(()=>{vi(()=>Promise.resolve({}),["assets/stackoverflow-light-b5b5e2eb.css"])}),this.sunIcon.classList.add("display-none")},themeSwitch(){if(document.documentElement.classList.contains("dark")){document.documentElement.classList.remove("dark"),localStorage.setItem("theme","light"),this.userTheme=="light",this.iconToggle();return}vi(()=>Promise.resolve({}),["assets/tokyo-night-dark-a847eb67.css"]),document.documentElement.classList.add("dark"),localStorage.setItem("theme","dark"),this.userTheme=="dark",this.iconToggle()},iconToggle(){this.sunIcon.classList.toggle("display-none"),this.moonIcon.classList.toggle("display-none")}},components:{Navigation:Lh}},d0=Object.assign(u0,{setup(t){return(e,n)=>(T(),D(Ie,null,[d("header",e0,[d("nav",t0,[Ee(ft(Fn),{to:{name:"discussions"}},{default:Ze(()=>[n0]),_:1}),d("div",s0,[o0,d("div",{class:"sun text-2xl w-6 hover:text-primary duration-150",title:"Swith to Light theme",onClick:n[0]||(n[0]=s=>e.themeSwitch())},i0),d("div",{class:"moon text-2xl w-6 hover:text-primary duration-150",title:"Swith to Dark theme",onClick:n[1]||(n[1]=s=>e.themeSwitch())},l0)])]),Ee(Lh)]),c0],64))}}),Ve=(t,e)=>{const n=t.__vccOpts||t;for(const[s,o]of e)n[s]=o;return n},h0={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"},f0={class:"flex overflow-hidden flex-grow"},p0={__name:"App",setup(t){return(e,n)=>(T(),D("div",h0,[Ee(d0),d("div",f0,[Ee(ft(Sh),null,{default:Ze(({Component:s})=>[(T(),it(Gg,null,[(T(),it(n1(s)))],1024))]),_:1})])]))}},g0={setup(){return{}}};function m0(t,e,n,s,o,r){return T(),D("div",null," Extensions ")}const _0=Ve(g0,[["render",m0]]);var Oh={exports:{}};/* @license -Papa Parse -v5.4.1 -https://github.com/mholt/PapaParse -License: MIT -*/(function(t,e){(function(n,s){t.exports=s()})(Mh,function n(){var s=typeof self<"u"?self:typeof window<"u"?window:s!==void 0?s:{},o=!s.document&&!!s.postMessage,r=s.IS_PAPA_WORKER||!1,i={},a=0,l={parse:function(b,k){var S=(k=k||{}).dynamicTyping||!1;if($(S)&&(k.dynamicTypingFunction=S,S={}),k.dynamicTyping=S,k.transform=!!$(k.transform)&&k.transform,k.worker&&l.WORKERS_SUPPORTED){var z=function(){if(!l.WORKERS_SUPPORTED)return!1;var Q=(he=s.URL||s.webkitURL||null,X=n.toString(),l.BLOB_URL||(l.BLOB_URL=he.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ","(",X,")();"],{type:"text/javascript"})))),I=new s.Worker(Q),he,X;return I.onmessage=y,I.id=a++,i[I.id]=I}();return z.userStep=k.step,z.userChunk=k.chunk,z.userComplete=k.complete,z.userError=k.error,k.step=$(k.step),k.chunk=$(k.chunk),k.complete=$(k.complete),k.error=$(k.error),delete k.worker,void z.postMessage({input:b,config:k,workerId:z.id})}var F=null;return l.NODE_STREAM_INPUT,typeof b=="string"?(b=function(Q){return Q.charCodeAt(0)===65279?Q.slice(1):Q}(b),F=k.download?new h(k):new p(k)):b.readable===!0&&$(b.read)&&$(b.on)?F=new g(k):(s.File&&b instanceof File||b instanceof Object)&&(F=new f(k)),F.stream(b)},unparse:function(b,k){var S=!1,z=!0,F=",",Q=`\r -`,I='"',he=I+I,X=!1,A=null,N=!1;(function(){if(typeof k=="object"){if(typeof k.delimiter!="string"||l.BAD_DELIMITERS.filter(function(ee){return k.delimiter.indexOf(ee)!==-1}).length||(F=k.delimiter),(typeof k.quotes=="boolean"||typeof k.quotes=="function"||Array.isArray(k.quotes))&&(S=k.quotes),typeof k.skipEmptyLines!="boolean"&&typeof k.skipEmptyLines!="string"||(X=k.skipEmptyLines),typeof k.newline=="string"&&(Q=k.newline),typeof k.quoteChar=="string"&&(I=k.quoteChar),typeof k.header=="boolean"&&(z=k.header),Array.isArray(k.columns)){if(k.columns.length===0)throw new Error("Option columns is empty");A=k.columns}k.escapeChar!==void 0&&(he=k.escapeChar+I),(typeof k.escapeFormulae=="boolean"||k.escapeFormulae instanceof RegExp)&&(N=k.escapeFormulae instanceof RegExp?k.escapeFormulae:/^[=+\-@\t\r].*$/)}})();var G=new RegExp(w(I),"g");if(typeof b=="string"&&(b=JSON.parse(b)),Array.isArray(b)){if(!b.length||Array.isArray(b[0]))return me(null,b,X);if(typeof b[0]=="object")return me(A||Object.keys(b[0]),b,X)}else if(typeof b=="object")return typeof b.data=="string"&&(b.data=JSON.parse(b.data)),Array.isArray(b.data)&&(b.fields||(b.fields=b.meta&&b.meta.fields||A),b.fields||(b.fields=Array.isArray(b.data[0])?b.fields:typeof b.data[0]=="object"?Object.keys(b.data[0]):[]),Array.isArray(b.data[0])||typeof b.data[0]=="object"||(b.data=[b.data])),me(b.fields||[],b.data||[],X);throw new Error("Unable to serialize unrecognized input");function me(ee,ve,Ae){var L="";typeof ee=="string"&&(ee=JSON.parse(ee)),typeof ve=="string"&&(ve=JSON.parse(ve));var W=Array.isArray(ee)&&0=this._config.preview;if(r)s.postMessage({results:Q,workerId:l.WORKER_ID,finished:he});else if($(this._config.chunk)&&!S){if(this._config.chunk(Q,this._handle),this._handle.paused()||this._handle.aborted())return void(this._halted=!0);Q=void 0,this._completeResults=void 0}return this._config.step||this._config.chunk||(this._completeResults.data=this._completeResults.data.concat(Q.data),this._completeResults.errors=this._completeResults.errors.concat(Q.errors),this._completeResults.meta=Q.meta),this._completed||!he||!$(this._config.complete)||Q&&Q.meta.aborted||(this._config.complete(this._completeResults,this._input),this._completed=!0),he||Q&&Q.meta.paused||this._nextChunk(),Q}this._halted=!0},this._sendError=function(k){$(this._config.error)?this._config.error(k):r&&this._config.error&&s.postMessage({workerId:l.WORKER_ID,error:k,finished:!1})}}function h(b){var k;(b=b||{}).chunkSize||(b.chunkSize=l.RemoteChunkSize),u.call(this,b),this._nextChunk=o?function(){this._readChunk(),this._chunkLoaded()}:function(){this._readChunk()},this.stream=function(S){this._input=S,this._nextChunk()},this._readChunk=function(){if(this._finished)this._chunkLoaded();else{if(k=new XMLHttpRequest,this._config.withCredentials&&(k.withCredentials=this._config.withCredentials),o||(k.onload=M(this._chunkLoaded,this),k.onerror=M(this._chunkError,this)),k.open(this._config.downloadRequestBody?"POST":"GET",this._input,!o),this._config.downloadRequestHeaders){var S=this._config.downloadRequestHeaders;for(var z in S)k.setRequestHeader(z,S[z])}if(this._config.chunkSize){var F=this._start+this._config.chunkSize-1;k.setRequestHeader("Range","bytes="+this._start+"-"+F)}try{k.send(this._config.downloadRequestBody)}catch(Q){this._chunkError(Q.message)}o&&k.status===0&&this._chunkError()}},this._chunkLoaded=function(){k.readyState===4&&(k.status<200||400<=k.status?this._chunkError():(this._start+=this._config.chunkSize?this._config.chunkSize:k.responseText.length,this._finished=!this._config.chunkSize||this._start>=function(S){var z=S.getResponseHeader("Content-Range");return z===null?-1:parseInt(z.substring(z.lastIndexOf("/")+1))}(k),this.parseChunk(k.responseText)))},this._chunkError=function(S){var z=k.statusText||S;this._sendError(new Error(z))}}function f(b){var k,S;(b=b||{}).chunkSize||(b.chunkSize=l.LocalChunkSize),u.call(this,b);var z=typeof FileReader<"u";this.stream=function(F){this._input=F,S=F.slice||F.webkitSlice||F.mozSlice,z?((k=new FileReader).onload=M(this._chunkLoaded,this),k.onerror=M(this._chunkError,this)):k=new FileReaderSync,this._nextChunk()},this._nextChunk=function(){this._finished||this._config.preview&&!(this._rowCount=this._input.size,this.parseChunk(F.target.result)},this._chunkError=function(){this._sendError(k.error)}}function p(b){var k;u.call(this,b=b||{}),this.stream=function(S){return k=S,this._nextChunk()},this._nextChunk=function(){if(!this._finished){var S,z=this._config.chunkSize;return z?(S=k.substring(0,z),k=k.substring(z)):(S=k,k=""),this._finished=!k,this.parseChunk(S)}}}function g(b){u.call(this,b=b||{});var k=[],S=!0,z=!1;this.pause=function(){u.prototype.pause.apply(this,arguments),this._input.pause()},this.resume=function(){u.prototype.resume.apply(this,arguments),this._input.resume()},this.stream=function(F){this._input=F,this._input.on("data",this._streamData),this._input.on("end",this._streamEnd),this._input.on("error",this._streamError)},this._checkIsFinished=function(){z&&k.length===1&&(this._finished=!0)},this._nextChunk=function(){this._checkIsFinished(),k.length?this.parseChunk(k.shift()):S=!0},this._streamData=M(function(F){try{k.push(typeof F=="string"?F:F.toString(this._config.encoding)),S&&(S=!1,this._checkIsFinished(),this.parseChunk(k.shift()))}catch(Q){this._streamError(Q)}},this),this._streamError=M(function(F){this._streamCleanUp(),this._sendError(F)},this),this._streamEnd=M(function(){this._streamCleanUp(),z=!0,this._streamData("")},this),this._streamCleanUp=M(function(){this._input.removeListener("data",this._streamData),this._input.removeListener("end",this._streamEnd),this._input.removeListener("error",this._streamError)},this)}function m(b){var k,S,z,F=Math.pow(2,53),Q=-F,I=/^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/,he=/^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/,X=this,A=0,N=0,G=!1,me=!1,pe=[],ee={data:[],errors:[],meta:{}};if($(b.step)){var ve=b.step;b.step=function(se){if(ee=se,W())L();else{if(L(),ee.data.length===0)return;A+=se.data.length,b.preview&&A>b.preview?S.abort():(ee.data=ee.data[0],ve(ee,X))}}}function Ae(se){return b.skipEmptyLines==="greedy"?se.join("").trim()==="":se.length===1&&se[0].length===0}function L(){return ee&&z&&(ie("Delimiter","UndetectableDelimiter","Unable to auto-detect delimiting character; defaulted to '"+l.DefaultDelimiter+"'"),z=!1),b.skipEmptyLines&&(ee.data=ee.data.filter(function(se){return!Ae(se)})),W()&&function(){if(!ee)return;function se(de,_){$(b.transformHeader)&&(de=b.transformHeader(de,_)),pe.push(de)}if(Array.isArray(ee.data[0])){for(var ge=0;W()&&ge=pe.length?"__parsed_extra":pe[C]),b.transform&&(P=b.transform(P,j)),P=J(j,P),j==="__parsed_extra"?(O[j]=O[j]||[],O[j].push(P)):O[j]=P}return b.header&&(C>pe.length?ie("FieldMismatch","TooManyFields","Too many fields: expected "+pe.length+" fields but parsed "+C,N+_):C=oe.length/2?`\r -`:"\r"}(se,_)),z=!1,b.delimiter)$(b.delimiter)&&(b.delimiter=b.delimiter(se),ee.meta.delimiter=b.delimiter);else{var C=function(j,P,Y,oe,R){var te,B,K,re;R=R||[","," ","|",";",l.RECORD_SEP,l.UNIT_SEP];for(var ce=0;ce=I)return Ne(!0)}else for(ae=A,A++;;){if((ae=G.indexOf(k,ae+1))===-1)return pe||ie.push({type:"Quotes",code:"MissingQuotes",message:"Quoted field unterminated",row:J.length,index:A}),we();if(ae===ee-1)return we(G.substring(A,ae).replace(ce,k));if(k!==X||G[ae+1]!==X){if(k===X||ae===0||G[ae-1]!==X){K!==-1&&K=I)return Ne(!0);break}ie.push({type:"Quotes",code:"InvalidQuotes",message:"Trailing quote on quoted field is malformed",row:J.length,index:A}),ae++}}else ae++}return we();function ne(Ye){J.push(Ye),ge=A}function ue(Ye){var tt=0;if(Ye!==-1){var at=G.substring(ae+1,Ye);at&&at.trim()===""&&(tt=at.length)}return tt}function we(Ye){return pe||(Ye===void 0&&(Ye=G.substring(A)),se.push(Ye),A=ee,ne(se),W&&mt()),Ne()}function Re(Ye){A=Ye,ne(se),se=[],re=G.indexOf(z,A)}function Ne(Ye){return{data:J,errors:ie,meta:{delimiter:S,linebreak:z,aborted:N,truncated:!!Ye,cursor:ge+(me||0)}}}function mt(){Q(Ne()),J=[],ie=[]}},this.abort=function(){N=!0},this.getCharIndex=function(){return A}}function y(b){var k=b.data,S=i[k.workerId],z=!1;if(k.error)S.userError(k.error,k.file);else if(k.results&&k.results.data){var F={abort:function(){z=!0,x(k.workerId,{data:[],errors:[],meta:{aborted:!0}})},pause:E,resume:E};if($(S.userStep)){for(var Q=0;Qt.text()).then(t=>{const{data:e}=b0.parse(t,{header:!0});console.log("Recovered data"),console.log(e),this.faqs=e}).catch(t=>{console.error("Error loading FAQs:",t)})},parseMultiline(t){return t.replace(/\n/g,"
")}}},jh=t=>(js("data-v-3cb88319"),t=t(),Ps(),t),x0={class:"container mx-auto p-4 bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},w0={class:"mb-8 overflow-y-auto max-h-96 scrollbar"},k0=jh(()=>d("h2",{class:"text-2xl font-bold mb-2"},"Frequently Asked Questions",-1)),C0={class:"list-disc pl-4"},E0={class:"text-xl font-bold mb-1"},A0=["innerHTML"],S0=jh(()=>d("div",null,[d("h2",{class:"text-2xl font-bold mb-2"},"Contact Us"),d("p",{class:"mb-4"},"If you have any further questions or need assistance, feel free to reach out to us."),d("p",null,[ye("Discord link: "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:"https://discord.gg/C73K7hjy"},"https://discord.gg/C73K7hjy")])],-1)),T0={class:"mt-8"},M0=ko('

Credits

This project is developed by ParisNeo With help from the community.

Check out the full list of developers here and show them some love.

',3),D0=["href"];function L0(t,e,n,s,o,r){return T(),D("div",x0,[d("div",w0,[k0,d("ul",C0,[(T(!0),D(Ie,null,rt(o.faqs,(i,a)=>(T(),D("li",{key:a},[d("h3",E0,Z(i.question),1),d("p",{class:"mb-4",innerHTML:r.parseMultiline(i.answer)},null,8,A0)]))),128))])]),S0,d("div",T0,[M0,d("p",null,[ye("Check out the project on "),d("a",{class:"text-blue-500 hover:text-blue-400 duration-150",href:o.githubLink,target:"_blank",rel:"noopener noreferrer"},"GitHub",8,D0),ye(".")])])])}const O0=Ve(v0,[["render",L0],["__scopeId","data-v-3cb88319"]]);function qt(t,e=!0,n=1){const s=e?1e3:1024;if(Math.abs(t)=s&&re=>{const n=j0.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ln=t=>(t=t.toLowerCase(),e=>Ur(e)===t),Hr=t=>e=>typeof e===t,{isArray:Fs}=Array,mo=Hr("undefined");function P0(t){return t!==null&&!mo(t)&&t.constructor!==null&&!mo(t.constructor)&&on(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Rh=ln("ArrayBuffer");function R0(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Rh(t.buffer),e}const I0=Hr("string"),on=Hr("function"),Ih=Hr("number"),Ya=t=>t!==null&&typeof t=="object",F0=t=>t===!0||t===!1,Qo=t=>{if(Ur(t)!=="object")return!1;const e=Ja(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},q0=ln("Date"),$0=ln("File"),z0=ln("Blob"),B0=ln("FileList"),N0=t=>Ya(t)&&on(t.pipe),U0=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||on(t.append)&&((e=Ur(t))==="formdata"||e==="object"&&on(t.toString)&&t.toString()==="[object FormData]"))},H0=ln("URLSearchParams"),V0=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Co(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let s,o;if(typeof t!="object"&&(t=[t]),Fs(t))for(s=0,o=t.length;s0;)if(o=n[s],e===o.toLowerCase())return o;return null}const qh=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),$h=t=>!mo(t)&&t!==qh;function oa(){const{caseless:t}=$h(this)&&this||{},e={},n=(s,o)=>{const r=t&&Fh(e,o)||o;Qo(e[r])&&Qo(s)?e[r]=oa(e[r],s):Qo(s)?e[r]=oa({},s):Fs(s)?e[r]=s.slice():e[r]=s};for(let s=0,o=arguments.length;s(Co(e,(o,r)=>{n&&on(o)?t[r]=Ph(o,n):t[r]=o},{allOwnKeys:s}),t),K0=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),W0=(t,e,n,s)=>{t.prototype=Object.create(e.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Z0=(t,e,n,s)=>{let o,r,i;const a={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),r=o.length;r-- >0;)i=o[r],(!s||s(i,t,e))&&!a[i]&&(e[i]=t[i],a[i]=!0);t=n!==!1&&Ja(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},J0=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const s=t.indexOf(e,n);return s!==-1&&s===n},Y0=t=>{if(!t)return null;if(Fs(t))return t;let e=t.length;if(!Ih(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},Q0=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ja(Uint8Array)),X0=(t,e)=>{const s=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=s.next())&&!o.done;){const r=o.value;e.call(t,r[0],r[1])}},ey=(t,e)=>{let n;const s=[];for(;(n=t.exec(e))!==null;)s.push(n);return s},ty=ln("HTMLFormElement"),ny=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,o){return s.toUpperCase()+o}),Lc=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),sy=ln("RegExp"),zh=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),s={};Co(n,(o,r)=>{e(o,r,t)!==!1&&(s[r]=o)}),Object.defineProperties(t,s)},oy=t=>{zh(t,(e,n)=>{if(on(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=t[n];if(on(s)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ry=(t,e)=>{const n={},s=o=>{o.forEach(r=>{n[r]=!0})};return Fs(t)?s(t):s(String(t).split(e)),n},iy=()=>{},ay=(t,e)=>(t=+t,Number.isFinite(t)?t:e),xi="abcdefghijklmnopqrstuvwxyz",Oc="0123456789",Bh={DIGIT:Oc,ALPHA:xi,ALPHA_DIGIT:xi+xi.toUpperCase()+Oc},ly=(t=16,e=Bh.ALPHA_DIGIT)=>{let n="";const{length:s}=e;for(;t--;)n+=e[Math.random()*s|0];return n};function cy(t){return!!(t&&on(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const uy=t=>{const e=new Array(10),n=(s,o)=>{if(Ya(s)){if(e.indexOf(s)>=0)return;if(!("toJSON"in s)){e[o]=s;const r=Fs(s)?[]:{};return Co(s,(i,a)=>{const l=n(i,o+1);!mo(l)&&(r[a]=l)}),e[o]=void 0,r}}return s};return n(t,0)},U={isArray:Fs,isArrayBuffer:Rh,isBuffer:P0,isFormData:U0,isArrayBufferView:R0,isString:I0,isNumber:Ih,isBoolean:F0,isObject:Ya,isPlainObject:Qo,isUndefined:mo,isDate:q0,isFile:$0,isBlob:z0,isRegExp:sy,isFunction:on,isStream:N0,isURLSearchParams:H0,isTypedArray:Q0,isFileList:B0,forEach:Co,merge:oa,extend:G0,trim:V0,stripBOM:K0,inherits:W0,toFlatObject:Z0,kindOf:Ur,kindOfTest:ln,endsWith:J0,toArray:Y0,forEachEntry:X0,matchAll:ey,isHTMLForm:ty,hasOwnProperty:Lc,hasOwnProp:Lc,reduceDescriptors:zh,freezeMethods:oy,toObjectSet:ry,toCamelCase:ny,noop:iy,toFiniteNumber:ay,findKey:Fh,global:qh,isContextDefined:$h,ALPHABET:Bh,generateString:ly,isSpecCompliantForm:cy,toJSONObject:uy};function je(t,e,n,s,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),s&&(this.request=s),o&&(this.response=o)}U.inherits(je,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:U.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Nh=je.prototype,Uh={};["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(t=>{Uh[t]={value:t}});Object.defineProperties(je,Uh);Object.defineProperty(Nh,"isAxiosError",{value:!0});je.from=(t,e,n,s,o,r)=>{const i=Object.create(Nh);return U.toFlatObject(t,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),je.call(i,t.message,e,n,s,o),i.cause=t,i.name=t.name,r&&Object.assign(i,r),i};const dy=null;function ra(t){return U.isPlainObject(t)||U.isArray(t)}function Hh(t){return U.endsWith(t,"[]")?t.slice(0,-2):t}function jc(t,e,n){return t?t.concat(e).map(function(o,r){return o=Hh(o),!n&&r?"["+o+"]":o}).join(n?".":""):e}function hy(t){return U.isArray(t)&&!t.some(ra)}const fy=U.toFlatObject(U,{},null,function(e){return/^is[A-Z]/.test(e)});function Vr(t,e,n){if(!U.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,w){return!U.isUndefined(w[m])});const s=n.metaTokens,o=n.visitor||u,r=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&U.isSpecCompliantForm(e);if(!U.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(U.isDate(g))return g.toISOString();if(!l&&U.isBlob(g))throw new je("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(g)||U.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,m,w){let v=g;if(g&&!w&&typeof g=="object"){if(U.endsWith(m,"{}"))m=s?m:m.slice(0,-2),g=JSON.stringify(g);else if(U.isArray(g)&&hy(g)||(U.isFileList(g)||U.endsWith(m,"[]"))&&(v=U.toArray(g)))return m=Hh(m),v.forEach(function(x,E){!(U.isUndefined(x)||x===null)&&e.append(i===!0?jc([m],E,r):i===null?m:m+"[]",c(x))}),!1}return ra(g)?!0:(e.append(jc(w,m,r),c(g)),!1)}const h=[],f=Object.assign(fy,{defaultVisitor:u,convertValue:c,isVisitable:ra});function p(g,m){if(!U.isUndefined(g)){if(h.indexOf(g)!==-1)throw Error("Circular reference detected in "+m.join("."));h.push(g),U.forEach(g,function(v,y){(!(U.isUndefined(v)||v===null)&&o.call(e,v,U.isString(y)?y.trim():y,m,f))===!0&&p(v,m?m.concat(y):[y])}),h.pop()}}if(!U.isObject(t))throw new TypeError("data must be an object");return p(t),e}function Pc(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return e[s]})}function Qa(t,e){this._pairs=[],t&&Vr(t,this,e)}const Vh=Qa.prototype;Vh.append=function(e,n){this._pairs.push([e,n])};Vh.toString=function(e){const n=e?function(s){return e.call(this,s,Pc)}:Pc;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function py(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gh(t,e,n){if(!e)return t;const s=n&&n.encode||py,o=n&&n.serialize;let r;if(o?r=o(e,n):r=U.isURLSearchParams(e)?e.toString():new Qa(e,n).toString(s),r){const i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class gy{constructor(){this.handlers=[]}use(e,n,s){return this.handlers.push({fulfilled:e,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){U.forEach(this.handlers,function(s){s!==null&&e(s)})}}const Rc=gy,Kh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},my=typeof URLSearchParams<"u"?URLSearchParams:Qa,_y=typeof FormData<"u"?FormData:null,yy=typeof Blob<"u"?Blob:null,by=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),vy=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),$t={isBrowser:!0,classes:{URLSearchParams:my,FormData:_y,Blob:yy},isStandardBrowserEnv:by,isStandardBrowserWebWorkerEnv:vy,protocols:["http","https","file","blob","url","data"]};function xy(t,e){return Vr(t,new $t.classes.URLSearchParams,Object.assign({visitor:function(n,s,o,r){return $t.isNode&&U.isBuffer(n)?(this.append(s,n.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function wy(t){return U.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function ky(t){const e={},n=Object.keys(t);let s;const o=n.length;let r;for(s=0;s=n.length;return i=!i&&U.isArray(o)?o.length:i,l?(U.hasOwnProp(o,i)?o[i]=[o[i],s]:o[i]=s,!a):((!o[i]||!U.isObject(o[i]))&&(o[i]=[]),e(n,s,o[i],r)&&U.isArray(o[i])&&(o[i]=ky(o[i])),!a)}if(U.isFormData(t)&&U.isFunction(t.entries)){const n={};return U.forEachEntry(t,(s,o)=>{e(wy(s),o,n,0)}),n}return null}const Cy={"Content-Type":void 0};function Ey(t,e,n){if(U.isString(t))try{return(e||JSON.parse)(t),U.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(t)}const Gr={transitional:Kh,adapter:["xhr","http"],transformRequest:[function(e,n){const s=n.getContentType()||"",o=s.indexOf("application/json")>-1,r=U.isObject(e);if(r&&U.isHTMLForm(e)&&(e=new FormData(e)),U.isFormData(e))return o&&o?JSON.stringify(Wh(e)):e;if(U.isArrayBuffer(e)||U.isBuffer(e)||U.isStream(e)||U.isFile(e)||U.isBlob(e))return e;if(U.isArrayBufferView(e))return e.buffer;if(U.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(s.indexOf("application/x-www-form-urlencoded")>-1)return xy(e,this.formSerializer).toString();if((a=U.isFileList(e))||s.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Vr(a?{"files[]":e}:e,l&&new l,this.formSerializer)}}return r||o?(n.setContentType("application/json",!1),Ey(e)):e}],transformResponse:[function(e){const n=this.transitional||Gr.transitional,s=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&U.isString(e)&&(s&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(a){if(i)throw a.name==="SyntaxError"?je.from(a,je.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};U.forEach(["delete","get","head"],function(e){Gr.headers[e]={}});U.forEach(["post","put","patch"],function(e){Gr.headers[e]=U.merge(Cy)});const Xa=Gr,Ay=U.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"]),Sy=t=>{const e={};let n,s,o;return t&&t.split(` -`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),s=i.substring(o+1).trim(),!(!n||e[n]&&Ay[n])&&(n==="set-cookie"?e[n]?e[n].push(s):e[n]=[s]:e[n]=e[n]?e[n]+", "+s:s)}),e},Ic=Symbol("internals");function Hs(t){return t&&String(t).trim().toLowerCase()}function Xo(t){return t===!1||t==null?t:U.isArray(t)?t.map(Xo):String(t)}function Ty(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(t);)e[s[1]]=s[2];return e}const My=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function wi(t,e,n,s,o){if(U.isFunction(s))return s.call(this,e,n);if(o&&(e=n),!!U.isString(e)){if(U.isString(s))return e.indexOf(s)!==-1;if(U.isRegExp(s))return s.test(e)}}function Dy(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,s)=>n.toUpperCase()+s)}function Ly(t,e){const n=U.toCamelCase(" "+e);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+n,{value:function(o,r,i){return this[s].call(this,e,o,r,i)},configurable:!0})})}class Kr{constructor(e){e&&this.set(e)}set(e,n,s){const o=this;function r(a,l,c){const u=Hs(l);if(!u)throw new Error("header name must be a non-empty string");const h=U.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||l]=Xo(a))}const i=(a,l)=>U.forEach(a,(c,u)=>r(c,u,l));return U.isPlainObject(e)||e instanceof this.constructor?i(e,n):U.isString(e)&&(e=e.trim())&&!My(e)?i(Sy(e),n):e!=null&&r(n,e,s),this}get(e,n){if(e=Hs(e),e){const s=U.findKey(this,e);if(s){const o=this[s];if(!n)return o;if(n===!0)return Ty(o);if(U.isFunction(n))return n.call(this,o,s);if(U.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Hs(e),e){const s=U.findKey(this,e);return!!(s&&this[s]!==void 0&&(!n||wi(this,this[s],s,n)))}return!1}delete(e,n){const s=this;let o=!1;function r(i){if(i=Hs(i),i){const a=U.findKey(s,i);a&&(!n||wi(s,s[a],a,n))&&(delete s[a],o=!0)}}return U.isArray(e)?e.forEach(r):r(e),o}clear(e){const n=Object.keys(this);let s=n.length,o=!1;for(;s--;){const r=n[s];(!e||wi(this,this[r],r,e,!0))&&(delete this[r],o=!0)}return o}normalize(e){const n=this,s={};return U.forEach(this,(o,r)=>{const i=U.findKey(s,r);if(i){n[i]=Xo(o),delete n[r];return}const a=e?Dy(r):String(r).trim();a!==r&&delete n[r],n[a]=Xo(o),s[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return U.forEach(this,(s,o)=>{s!=null&&s!==!1&&(n[o]=e&&U.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const s=new this(e);return n.forEach(o=>s.set(o)),s}static accessor(e){const s=(this[Ic]=this[Ic]={accessors:{}}).accessors,o=this.prototype;function r(i){const a=Hs(i);s[a]||(Ly(o,i),s[a]=!0)}return U.isArray(e)?e.forEach(r):r(e),this}}Kr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.freezeMethods(Kr.prototype);U.freezeMethods(Kr);const tn=Kr;function ki(t,e){const n=this||Xa,s=e||n,o=tn.from(s.headers);let r=s.data;return U.forEach(t,function(a){r=a.call(n,r,o.normalize(),e?e.status:void 0)}),o.normalize(),r}function Zh(t){return!!(t&&t.__CANCEL__)}function Eo(t,e,n){je.call(this,t??"canceled",je.ERR_CANCELED,e,n),this.name="CanceledError"}U.inherits(Eo,je,{__CANCEL__:!0});function Oy(t,e,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?t(n):e(new je("Request failed with status code "+n.status,[je.ERR_BAD_REQUEST,je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const jy=$t.isStandardBrowserEnv?function(){return{write:function(n,s,o,r,i,a){const l=[];l.push(n+"="+encodeURIComponent(s)),U.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),U.isString(r)&&l.push("path="+r),U.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const s=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return s?decodeURIComponent(s[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Py(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Ry(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Jh(t,e){return t&&!Py(e)?Ry(t,e):e}const Iy=$t.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let s;function o(r){let i=r;return e&&(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 s=o(window.location.href),function(i){const a=U.isString(i)?o(i):i;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}();function Fy(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function qy(t,e){t=t||10;const n=new Array(t),s=new Array(t);let o=0,r=0,i;return e=e!==void 0?e:1e3,function(l){const c=Date.now(),u=s[r];i||(i=c),n[o]=l,s[o]=c;let h=r,f=0;for(;h!==o;)f+=n[h++],h=h%t;if(o=(o+1)%t,o===r&&(r=(r+1)%t),c-i{const r=o.loaded,i=o.lengthComputable?o.total:void 0,a=r-n,l=s(a),c=r<=i;n=r;const u={loaded:r,total:i,progress:i?r/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-r)/l:void 0,event:o};u[e?"download":"upload"]=!0,t(u)}}const $y=typeof XMLHttpRequest<"u",zy=$y&&function(t){return new Promise(function(n,s){let o=t.data;const r=tn.from(t.headers).normalize(),i=t.responseType;let a;function l(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}U.isFormData(o)&&($t.isStandardBrowserEnv||$t.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let c=new XMLHttpRequest;if(t.auth){const p=t.auth.username||"",g=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(p+":"+g))}const u=Jh(t.baseURL,t.url);c.open(t.method.toUpperCase(),Gh(u,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function h(){if(!c)return;const p=tn.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:t,request:c};Oy(function(v){n(v),l()},function(v){s(v),l()},m),c=null}if("onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(h)},c.onabort=function(){c&&(s(new je("Request aborted",je.ECONNABORTED,t,c)),c=null)},c.onerror=function(){s(new je("Network Error",je.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let g=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||Kh;t.timeoutErrorMessage&&(g=t.timeoutErrorMessage),s(new je(g,m.clarifyTimeoutError?je.ETIMEDOUT:je.ECONNABORTED,t,c)),c=null},$t.isStandardBrowserEnv){const p=(t.withCredentials||Iy(u))&&t.xsrfCookieName&&jy.read(t.xsrfCookieName);p&&r.set(t.xsrfHeaderName,p)}o===void 0&&r.setContentType(null),"setRequestHeader"in c&&U.forEach(r.toJSON(),function(g,m){c.setRequestHeader(m,g)}),U.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),i&&i!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",Fc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",Fc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=p=>{c&&(s(!p||p.type?new Eo(null,t,c):p),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const f=Fy(u);if(f&&$t.protocols.indexOf(f)===-1){s(new je("Unsupported protocol "+f+":",je.ERR_BAD_REQUEST,t));return}c.send(o||null)})},er={http:dy,xhr:zy};U.forEach(er,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const By={getAdapter:t=>{t=U.isArray(t)?t:[t];const{length:e}=t;let n,s;for(let o=0;ot instanceof tn?t.toJSON():t;function xs(t,e){e=e||{};const n={};function s(c,u,h){return U.isPlainObject(c)&&U.isPlainObject(u)?U.merge.call({caseless:h},c,u):U.isPlainObject(u)?U.merge({},u):U.isArray(u)?u.slice():u}function o(c,u,h){if(U.isUndefined(u)){if(!U.isUndefined(c))return s(void 0,c,h)}else return s(c,u,h)}function r(c,u){if(!U.isUndefined(u))return s(void 0,u)}function i(c,u){if(U.isUndefined(u)){if(!U.isUndefined(c))return s(void 0,c)}else return s(void 0,u)}function a(c,u,h){if(h in e)return s(c,u);if(h in t)return s(void 0,c)}const l={url:r,method:r,data:r,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:a,headers:(c,u)=>o($c(c),$c(u),!0)};return U.forEach(Object.keys(t).concat(Object.keys(e)),function(u){const h=l[u]||o,f=h(t[u],e[u],u);U.isUndefined(f)&&h!==a||(n[u]=f)}),n}const Yh="1.3.6",el={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{el[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});const zc={};el.transitional=function(e,n,s){function o(r,i){return"[Axios v"+Yh+"] Transitional option '"+r+"'"+i+(s?". "+s:"")}return(r,i,a)=>{if(e===!1)throw new je(o(i," has been removed"+(n?" in "+n:"")),je.ERR_DEPRECATED);return n&&!zc[i]&&(zc[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(r,i,a):!0}};function Ny(t,e,n){if(typeof t!="object")throw new je("options must be an object",je.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let o=s.length;for(;o-- >0;){const r=s[o],i=e[r];if(i){const a=t[r],l=a===void 0||i(a,r,t);if(l!==!0)throw new je("option "+r+" must be "+l,je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new je("Unknown option "+r,je.ERR_BAD_OPTION)}}const ia={assertOptions:Ny,validators:el},hn=ia.validators;class pr{constructor(e){this.defaults=e,this.interceptors={request:new Rc,response:new Rc}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=xs(this.defaults,n);const{transitional:s,paramsSerializer:o,headers:r}=n;s!==void 0&&ia.assertOptions(s,{silentJSONParsing:hn.transitional(hn.boolean),forcedJSONParsing:hn.transitional(hn.boolean),clarifyTimeoutError:hn.transitional(hn.boolean)},!1),o!=null&&(U.isFunction(o)?n.paramsSerializer={serialize:o}:ia.assertOptions(o,{encode:hn.function,serialize:hn.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;i=r&&U.merge(r.common,r[n.method]),i&&U.forEach(["delete","get","head","post","put","patch","common"],g=>{delete r[g]}),n.headers=tn.concat(i,r);const a=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(n)===!1||(l=l&&m.synchronous,a.unshift(m.fulfilled,m.rejected))});const c=[];this.interceptors.response.forEach(function(m){c.push(m.fulfilled,m.rejected)});let u,h=0,f;if(!l){const g=[qc.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),f=g.length,u=Promise.resolve(n);h{if(!s._listeners)return;let r=s._listeners.length;for(;r-- >0;)s._listeners[r](o);s._listeners=null}),this.promise.then=o=>{let r;const i=new Promise(a=>{s.subscribe(a),r=a}).then(o);return i.cancel=function(){s.unsubscribe(r)},i},e(function(r,i,a){s.reason||(s.reason=new Eo(r,i,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new tl(function(o){e=o}),cancel:e}}}const Uy=tl;function Hy(t){return function(n){return t.apply(null,n)}}function Vy(t){return U.isObject(t)&&t.isAxiosError===!0}const aa={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(aa).forEach(([t,e])=>{aa[e]=t});const Gy=aa;function Qh(t){const e=new tr(t),n=Ph(tr.prototype.request,e);return U.extend(n,tr.prototype,e,{allOwnKeys:!0}),U.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return Qh(xs(t,o))},n}const We=Qh(Xa);We.Axios=tr;We.CanceledError=Eo;We.CancelToken=Uy;We.isCancel=Zh;We.VERSION=Yh;We.toFormData=Vr;We.AxiosError=je;We.Cancel=We.CanceledError;We.all=function(e){return Promise.all(e)};We.spread=Hy;We.isAxiosError=Vy;We.mergeConfig=xs;We.AxiosHeaders=tn;We.formToJSON=t=>Wh(U.isHTMLForm(t)?new FormData(t):t);We.HttpStatusCode=Gy;We.default=We;const Ce=We,Ky={data(){return{show:!1,message:""}},methods:{hide(){this.show=!1,this.$emit("ok")},showMessage(t){this.message=t,this.show=!0}}},Wy={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Zy={class:"bg-bg-light dark:bg-bg-dark p-8 rounded-lg shadow-lg"},Jy={class:"text-lg font-medium"},Yy={class:"mt-4 flex justify-center"};function Qy(t,e,n,s,o,r){return o.show?(T(),D("div",Wy,[d("div",Zy,[d("h3",Jy,Z(o.message),1),d("div",Yy,[d("button",{onClick:e[0]||(e[0]=(...i)=>r.hide&&r.hide(...i)),class:"bg-primary hover:bg-primary-light active:scale-95 duration-150 text-white px-4 py-2 rounded-lg shadow-lg hover:bg-secondary-dark"}," OK ")])])])):H("",!0)}const Xy=Ve(Ky,[["render",Qy]]),e2={data(){return{show:!1,message:"",resolve:null,ConfirmButtonText:"Yes, I'm sure",DenyButtonText:"No, cancel"}},methods:{hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},askQuestion(t,e,n){return this.ConfirmButtonText=e||this.ConfirmButtonText,this.DenyButtonText=n||this.DenyButtonText,new Promise(s=>{this.message=t,this.show=!0,this.resolve=s})}}},t2={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},n2={class:"relative w-full max-w-md max-h-full"},s2={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},o2=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),r2=d("span",{class:"sr-only"},"Close modal",-1),i2=[o2,r2],a2={class:"p-4 text-center"},l2=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),c2={class:"mb-5 text-lg font-normal text-gray-500 dark:text-gray-400 select-none break-all"};function u2(t,e,n,s,o,r){return o.show?(T(),D("div",t2,[d("div",n2,[d("div",s2,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},i2),d("div",a2,[l2,d("h3",c2,Z(o.message),1),d("button",{onClick:e[1]||(e[1]=i=>r.hide(!0)),type:"button",class:"text-white bg-red-600 hover:bg-red-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"},Z(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},Z(o.DenyButtonText),1)])])])])):H("",!0)}const d2=Ve(e2,[["render",u2]]);const h2={name:"Toast",props:{},data(){return{show:!1,success:!0,message:"",toastArr:[]}},methods:{close(t){this.toastArr=this.toastArr.filter(e=>e.id!=t)},copyToClipBoard(t){navigator.clipboard.writeText(t),fe(()=>{ke.replace()})},showToast(t,e=3,n=!0){const s=parseInt((new Date().getTime()*Math.random()).toString()).toString(),o={id:s,success:n,message:t,show:!0};this.toastArr.push(o),fe(()=>{ke.replace()}),setTimeout(()=>{this.toastArr=this.toastArr.filter(r=>r.id!=s)},e*1e3)}},watch:{}},Sn=t=>(js("data-v-3ffdabf3"),t=t(),Ps(),t),f2={class:"absolute bottom-16 right-2 z-20 flex flex-col gap-3 min-w-[300px]"},p2={class:"flex flex-row items-center w-full max-w-xs p-4 mb-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800",role:"alert"},g2={class:"flex flex-row flex-grow items-center"},m2={key:0,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-green-500 bg-green-100 rounded-lg dark:bg-green-800 dark:text-green-200"},_2=Sn(()=>d("i",{"data-feather":"check"},null,-1)),y2=Sn(()=>d("span",{class:"sr-only"},"Check icon",-1)),b2=[_2,y2],v2={key:1,class:"inline-flex items-center justify-center flex-shrink-0 w-8 h-8 text-red-500 bg-red-100 rounded-lg dark:bg-red-800 dark:text-red-200"},x2=Sn(()=>d("i",{"data-feather":"x"},null,-1)),w2=Sn(()=>d("span",{class:"sr-only"},"Cross icon",-1)),k2=[x2,w2],C2=["title"],E2={class:"flex"},A2=["onClick"],S2=Sn(()=>d("span",{class:"sr-only"},"Copy message",-1)),T2=Sn(()=>d("i",{"data-feather":"clipboard",class:"w-5 h-5"},null,-1)),M2=[S2,T2],D2=["onClick"],L2=Sn(()=>d("span",{class:"sr-only"},"Close",-1)),O2=Sn(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1)),j2=[L2,O2];function P2(t,e,n,s,o,r){return T(),D("div",f2,[Ee(en,{name:"toastItem",tag:"div"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(o.toastArr,i=>(T(),D("div",{key:i.id,class:"relative"},[d("div",p2,[d("div",g2,[Fd(t.$slots,"default",{},()=>[i.success?(T(),D("div",m2,b2)):H("",!0),i.success?H("",!0):(T(),D("div",v2,k2)),d("div",{class:"ml-3 text-sm font-normal whitespace-pre-wrap line-clamp-3",title:i.message},Z(i.message),9,C2)],!0)]),d("div",E2,[d("button",{type:"button",onClick:le(a=>r.copyToClipBoard(i.message),["stop"]),title:"Copy message",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},M2,8,A2),d("button",{type:"button",onClick:a=>r.close(i.id),title:"Close",class:"bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700"},j2,8,D2)])])]))),128))]),_:3})])}const Wr=Ve(h2,[["render",P2],["__scopeId","data-v-3ffdabf3"]]),la="/assets/default_model-9e24e852.png",R2={props:{title:String,icon:String,path:String,owner:String,owner_link:String,license:String,description:String,isInstalled:Boolean,onInstall:Function,onCancelInstall:Function,onUninstall:Function,onSelected:Function,onCopy:Function,onCopyLink:Function,selected:Boolean,model:Object,model_type:String},data(){return{progress:0,speed:0,total_size:0,downloaded_size:0,start_time:"",installing:!1,uninstalling:!1,failedToLoad:!1,fileSize:"",linkNotValid:!1}},async mounted(){this.fileSize=await this.getFileSize(this.model.path),fe(()=>{ke.replace()})},methods:{computedFileSize(t){return qt(t)},async getFileSize(t){if(this.model_type!="api")try{const e=await Ce.head(t);return e?e.headers["content-length"]?this.computedFileSize(e.headers["content-length"]):this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined":this.model.filesize?this.computedFileSize(this.model.filesize):"Could not be determined"}catch(e){return console.log(e.message,"getFileSize"),this.linkNotValid=!0,"Could not be determined"}},getImgUrl(){return this.icon==="/images/default_model.png"?la:this.icon},defaultImg(t){t.target.src=la},toggleInstall(){this.isInstalled?(this.uninstalling=!0,this.onUninstall(this)):(this.installing=!0,this.onInstall(this))},toggleSelected(){this.onSelected(this)},toggleCopy(){this.onCopy(this)},toggleCopyLink(){this.onCopyLink(this)},toggleCancelInstall(){this.onCancelInstall(this)},handleSelection(){this.isInstalled&&!this.selected&&this.onSelected(this)},copyContentToClipboard(){console.log("asdasdas"),this.$emit("copy","this.message.content")}},computed:{speed_computed(){return qt(this.speed)},total_size_computed(){return qt(this.total_size)},downloaded_size_computed(){return qt(this.downloaded_size)}},watch:{linkNotValid(){fe(()=>{ke.replace()})}}},I2=["title"],F2={key:0,class:"flex flex-row"},q2={class:"flex gap-3 items-center grow"},$2=["src"],z2={class:"font-bold font-large text-lg truncate"},B2={key:1,class:"flex items-center flex-row gap-2 my-1"},N2={class:"flex grow items-center"},U2=d("i",{"data-feather":"box",class:"w-5"},null,-1),H2=d("span",{class:"sr-only"},"Custom model / local model",-1),V2=[U2,H2],G2=d("span",{class:"sr-only"},"Remove",-1),K2={key:2,class:"absolute z-10 -m-4 p-5 shadow-md text-center rounded-lg w-full h-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel bg-opacity-70 dark:bg-opacity-70 flex justify-center items-center"},W2={class:"relative flex flex-col items-center justify-center flex-grow h-full"},Z2=d("div",{role:"status",class:"justify-center"},[d("svg",{"aria-hidden":"true",class:"w-24 h-24 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1),J2={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},Y2={class:"w-full bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel rounded-lg p-2"},Q2={class:"flex justify-between mb-1"},X2=d("span",{class:"text-base font-medium text-blue-700 dark:text-white"},"Downloading",-1),eb={class:"text-sm font-medium text-blue-700 dark:text-white"},tb={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},nb={class:"flex justify-between mb-1"},sb={class:"text-base font-medium text-blue-700 dark:text-white"},ob={class:"text-sm font-medium text-blue-700 dark:text-white"},rb={class:"flex flex-grow"},ib={class:"flex flex-row flex-grow gap-3"},ab={class:"p-2 text-center grow"},lb={key:3},cb={class:"flex flex-row items-center gap-3"},ub=["src"],db={class:"font-bold font-large text-lg truncate"},hb=d("div",{class:"grow"},null,-1),fb=d("div",{class:"flex-none gap-1"},null,-1),pb={class:"flex items-center flex-row-reverse gap-2 my-1"},gb=d("span",{class:"sr-only"},"Copy info",-1),mb={class:"flex flex-row items-center"},_b={key:0,class:"text-base text-red-600 flex items-center mt-1"},yb=d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0 mx-1"},null,-1),bb=d("span",{class:"sr-only"},"Click to install",-1),vb=d("span",{class:"sr-only"},"Remove",-1),xb=["title"],wb={class:""},kb={class:"flex flex-row items-center"},Cb=d("i",{"data-feather":"download",class:"w-5 m-1 flex-shrink-0"},null,-1),Eb=d("b",null,"Manual download: ",-1),Ab=["href","title"],Sb=d("div",{class:"grow"},null,-1),Tb=d("i",{"data-feather":"clipboard",class:"w-5"},null,-1),Mb=[Tb],Db={class:"flex items-center"},Lb=d("i",{"data-feather":"file",class:"w-5 m-1"},null,-1),Ob=d("b",null,"File size: ",-1),jb={class:"flex items-center"},Pb=d("i",{"data-feather":"key",class:"w-5 m-1"},null,-1),Rb=d("b",null,"License: ",-1),Ib={class:"flex items-center"},Fb=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),qb=d("b",null,"Owner: ",-1),$b=["href"],zb=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Bb=["title"];function Nb(t,e,n,s,o,r){return T(),D("div",{class:De(["relative items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[11]||(e[11]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.title},[n.model.isCustomModel?(T(),D("div",F2,[d("div",q2,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-lg object-fill"},null,40,$2),d("h3",z2,Z(n.title),1)])])):H("",!0),n.model.isCustomModel?(T(),D("div",B2,[d("div",N2,[d("button",{type:"button",title:"Custom model / local model",class:"font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",onClick:e[1]||(e[1]=le(()=>{},["stop"]))},V2),ye(" Custom model ")]),d("div",null,[n.model.isInstalled?(T(),D("button",{key:0,title:"Delete file from disk",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ye(" Uninstall "),G2])):H("",!0)])])):H("",!0),o.installing?(T(),D("div",K2,[d("div",W2,[Z2,d("div",J2,[d("div",Y2,[d("div",Q2,[X2,d("span",eb,Z(Math.floor(o.progress))+"%",1)]),d("div",tb,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt({width:o.progress+"%"})},null,4)]),d("div",nb,[d("span",sb,"Download speed: "+Z(r.speed_computed)+"/s",1),d("span",ob,Z(r.downloaded_size_computed)+"/"+Z(r.total_size_computed),1)])])]),d("div",rb,[d("div",ib,[d("div",ab,[d("button",{onClick:e[3]||(e[3]=le((...i)=>r.toggleCancelInstall&&r.toggleCancelInstall(...i),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])])):H("",!0),n.model.isCustomModel?H("",!0):(T(),D("div",lb,[d("div",cb,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[4]||(e[4]=i=>r.defaultImg(i)),class:De(["w-10 h-10 rounded-lg object-fill",o.linkNotValid?"grayscale":""])},null,42,ub),d("h3",db,Z(n.title),1),hb,fb]),d("div",pb,[d("button",{type:"button",title:"Copy model info to clipboard",onClick:e[5]||(e[5]=le(i=>r.toggleCopy(),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ye(" Copy info "),gb]),d("div",mb,[o.linkNotValid?(T(),D("div",_b,[yb,ye(" Link is not valid ")])):H("",!0)]),!n.model.isInstalled&&!o.linkNotValid?(T(),D("button",{key:0,title:"Click to install",type:"button",onClick:e[6]||(e[6]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ye(" Install "),bb])):H("",!0),n.model.isInstalled?(T(),D("button",{key:1,title:"Delete file from disk",type:"button",onClick:e[7]||(e[7]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ye(" Uninstall "),vb])):H("",!0)]),d("div",{class:"",title:n.model.isInstalled?n.title:"Not installed"},[d("div",wb,[d("div",kb,[Cb,Eb,d("a",{href:n.path,onClick:e[8]||(e[8]=le(()=>{},["stop"])),class:"m-1 flex items-center hover:text-secondary duration-75 active:scale-90 truncate",title:o.linkNotValid?"Link is not valid":"Download this manually (faster) and put it in the models/ folder then refresh"}," Click here to download ",8,Ab),Sb,d("button",{class:"hover:text-secondary duration-75 active:scale-90 font-medium rounded-lg text-sm p-2 text-center inline-flex items-center",title:"Copy link to clipboard",onClick:e[9]||(e[9]=le(i=>r.toggleCopyLink(),["stop"]))},Mb)]),d("div",Db,[d("div",{class:De(["flex flex-shrink-0 items-center",o.linkNotValid?"text-red-600":""])},[Lb,Ob,ye(" "+Z(o.fileSize),1)],2)]),d("div",jb,[Pb,Rb,ye(" "+Z(n.license),1)]),d("div",Ib,[Fb,qb,d("a",{href:n.owner_link,target:"_blank",rel:"noopener noreferrer",onClick:e[10]||(e[10]=le(()=>{},["stop"])),class:"flex hover:text-secondary duration-75 active:scale-90",title:"Owner's profile"},Z(n.owner),9,$b)])]),zb,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.description},Z(n.description),9,Bb)],8,xb)]))],10,I2)}const Ub=Ve(R2,[["render",Nb]]),Hb={data(){return{editMode:!1,avatar:"path/to/avatar.jpg",personalityName:"Personality Name",personalityAuthor:"Author Name",personalityDescription:"Personality Description",personalityLanguage:"English",personalityCategory:"Category",disclaimer:"Disclaimer text",conditioningText:"Conditioning Text",aiPrefix:"AI Prefix",userPrefix:"User Prefix",antipromptsList:[{id:1,text:"Antiprompt 1"},{id:2,text:"Antiprompt 2"},{id:3,text:"Antiprompt 3"}]}},methods:{commitChanges(){console.log("Personality changes committed"),this.editMode=!1}}},Vb={class:"p-4"},Gb={class:"flex items-center mb-4"},Kb=["src"],Wb={class:"text-lg font-semibold"},Zb=d("strong",null,"Author:",-1),Jb=d("strong",null,"Description:",-1),Yb=d("strong",null,"Language:",-1),Qb=d("strong",null,"Category:",-1),Xb={key:0},ev=d("strong",null,"Disclaimer:",-1),tv=d("strong",null,"Conditioning Text:",-1),nv=d("strong",null,"AI Prefix:",-1),sv=d("strong",null,"User Prefix:",-1),ov=d("strong",null,"Antiprompts:",-1);function rv(t,e,n,s,o,r){return T(),D("div",Vb,[d("div",Gb,[d("img",{src:o.avatar,class:"w-12 h-12 rounded-full mr-2",alt:"Avatar"},null,8,Kb),d("h2",Wb,Z(o.personalityName),1)]),d("p",null,[Zb,ye(" "+Z(o.personalityAuthor),1)]),d("p",null,[Jb,ye(" "+Z(o.personalityDescription),1)]),d("p",null,[Yb,ye(" "+Z(o.personalityLanguage),1)]),d("p",null,[Qb,ye(" "+Z(o.personalityCategory),1)]),o.disclaimer?(T(),D("p",Xb,[ev,ye(" "+Z(o.disclaimer),1)])):H("",!0),d("p",null,[tv,ye(" "+Z(o.conditioningText),1)]),d("p",null,[nv,ye(" "+Z(o.aiPrefix),1)]),d("p",null,[sv,ye(" "+Z(o.userPrefix),1)]),d("div",null,[ov,d("ul",null,[(T(!0),D(Ie,null,rt(o.antipromptsList,i=>(T(),D("li",{key:i.id},Z(i.text),1))),128))])]),d("button",{onClick:e[0]||(e[0]=i=>o.editMode=!0),class:"mt-4 bg-blue-500 text-white px-4 py-2 rounded"}," Edit "),o.editMode?(T(),D("button",{key:1,onClick:e[1]||(e[1]=(...i)=>r.commitChanges&&r.commitChanges(...i)),class:"mt-4 bg-green-500 text-white px-4 py-2 rounded"}," Commit ")):H("",!0)])}const iv=Ve(Hb,[["render",rv]]),Wn="/assets/logo-9d653710.svg",av="/assets/default_user-17642e5a.svg",lv="/",cv={props:{personality:{},onSelected:Function,selected:Boolean,onMounted:Function,full_path:String,onSettings:Function},data(){return{isMounted:!1,name:this.personality.name}},mounted(){this.isMounted=this.personality.isMounted,fe(()=>{ke.replace()})},computed:{selected_computed(){return this.selected}},methods:{getImgUrl(){return lv+this.personality.avatar},defaultImg(t){t.target.src=Wn},toggleSelected(){this.onSelected(this)},toggleMounted(){this.onMounted(this)},toggleSettings(){this.onSettings(this)}},watch:{selected(){fe(()=>{ke.replace()})}}},uv=["title"],dv={class:"flex flex-row items-center flex-shrink-0 gap-3"},hv=["src"],fv={class:"font-bold font-large text-lg line-clamp-3"},pv={class:"flex items-center flex-row-reverse gap-2 my-1"},gv=d("span",{class:"sr-only"},"Settings",-1),mv=d("span",{class:"sr-only"},"Click to install",-1),_v=d("span",{class:"sr-only"},"Remove",-1),yv={class:""},bv={class:""},vv={class:"flex items-center"},xv=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),wv=d("b",null,"Author: ",-1),kv={class:"flex items-center"},Cv=d("i",{"data-feather":"globe",class:"w-5 m-1"},null,-1),Ev=d("b",null,"Language: ",-1),Av={class:"flex items-center"},Sv=d("i",{"data-feather":"bookmark",class:"w-5 m-1"},null,-1),Tv=d("b",null,"Category: ",-1),Mv=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),Dv=["title"];function Lv(t,e,n,s,o,r){return T(),D("div",{class:De(["min-w-96 items-start p-4 hover:bg-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer active:scale-95 duration-75 select-none",r.selected_computed?"border-primary-light":"border-transparent"]),onClick:e[4]||(e[4]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.personality.installed?"":"Not installed"},[d("div",{class:De(n.personality.installed?"":"opacity-50")},[d("div",dv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,hv),d("h3",fv,Z(n.personality.name),1)]),d("div",pv,[r.selected_computed?(T(),D("button",{key:0,type:"button",title:"Settings",onClick:e[1]||(e[1]=le((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ye(" Settings "),gv])):H("",!0),o.isMounted?H("",!0):(T(),D("button",{key:1,title:"Mount personality",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ye(" Mount "),mv])),o.isMounted?(T(),D("button",{key:2,title:"Unmount personality",type:"button",onClick:e[3]||(e[3]=le((...i)=>r.toggleMounted&&r.toggleMounted(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ye(" Unmount "),_v])):H("",!0)]),d("div",yv,[d("div",bv,[d("div",vv,[xv,wv,ye(" "+Z(n.personality.author),1)]),d("div",kv,[Cv,Ev,ye(" "+Z(n.personality.language),1)]),d("div",Av,[Sv,Tv,ye(" "+Z(n.personality.category),1)])]),Mv,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.personality.description},Z(n.personality.description),9,Dv)])],2)],10,uv)}const Xh=Ve(cv,[["render",Lv]]),Ov="/",jv={props:{binding:{},onSelected:Function,onReinstall:Function,onInstall:Function,onSettings:Function,selected:Boolean},data(){return{isTemplate:!1}},mounted(){fe(()=>{ke.replace()})},methods:{getImgUrl(){return Ov+this.binding.icon},defaultImg(t){t.target.src=Wn},toggleSelected(){this.onSelected(this)},toggleInstall(){this.onInstall(this)},toggleReinstall(){this.onReinstall(this)},toggleSettings(){this.onSettings(this)},getStatus(){(this.binding.folder==="backend_template"||this.binding.folder==="binding_template")&&(this.isTemplate=!0)}},watch:{selected(){fe(()=>{ke.replace()})}}},Pv=["title"],Rv={class:"flex flex-row items-center gap-3"},Iv=["src"],Fv={class:"font-bold font-large text-lg truncate"},qv=d("div",{class:"grow"},null,-1),$v=d("div",{class:"flex-none gap-1"},null,-1),zv={class:"flex items-center flex-row-reverse gap-2 my-1"},Bv=d("span",{class:"sr-only"},"Click to install",-1),Nv=d("span",{class:"sr-only"},"Reinstall binding",-1),Uv=d("span",{class:"sr-only"},"Settings",-1),Hv={class:""},Vv={class:""},Gv={class:"flex items-center"},Kv=d("i",{"data-feather":"user",class:"w-5 m-1"},null,-1),Wv=d("b",null,"Author: ",-1),Zv={class:"flex items-center"},Jv=d("i",{"data-feather":"folder",class:"w-5 m-1"},null,-1),Yv=d("b",null,"Folder: ",-1),Qv={class:"flex items-center"},Xv=d("i",{"data-feather":"git-merge",class:"w-5 m-1"},null,-1),ex=d("b",null,"Version: ",-1),tx={class:"flex items-center"},nx=d("i",{"data-feather":"github",class:"w-5 m-1"},null,-1),sx=d("b",null,"Link: ",-1),ox=["href"],rx=d("div",{class:"flex items-center"},[d("i",{"data-feather":"info",class:"w-5 m-1"}),d("b",null,"Description: "),d("br")],-1),ix=["title"];function ax(t,e,n,s,o,r){return T(),D("div",{class:De(["items-start p-4 hover:bg-primary-light hover:border-primary-light rounded-lg mb-2 shadow-lg border-2 cursor-pointer select-none",n.selected?" border-primary bg-primary":"border-transparent"]),onClick:e[4]||(e[4]=le((...i)=>r.toggleSelected&&r.toggleSelected(...i),["stop"])),title:n.binding.installed?n.binding.name:"Not installed"},[d("div",null,[d("div",Rv,[d("img",{ref:"imgElement",src:r.getImgUrl(),onError:e[0]||(e[0]=i=>r.defaultImg(i)),class:"w-10 h-10 rounded-full object-fill text-blue-700"},null,40,Iv),d("h3",Fv,Z(n.binding.name),1),qv,$v]),d("div",zv,[n.binding.installed?H("",!0):(T(),D("button",{key:0,title:"Click to install",type:"button",onClick:e[1]||(e[1]=le((...i)=>r.toggleInstall&&r.toggleInstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ye(" Install "),Bv])),n.binding.installed?(T(),D("button",{key:1,title:"Click to Reinstall binding",type:"button",onClick:e[2]||(e[2]=le((...i)=>r.toggleReinstall&&r.toggleReinstall(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center focus:outline-none text-white bg-red-700 hover:bg-red-800 focus:ring-4 focus:ring-red-300 rounded-lg dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900"},[ye(" Reinstall binding "),Nv])):H("",!0),n.selected?(T(),D("button",{key:2,title:"Click to open Settings",type:"button",onClick:e[3]||(e[3]=le((...i)=>r.toggleSettings&&r.toggleSettings(...i),["stop"])),class:"inline-flex items-center gap-2 px-3 py-2 text-xs font-medium text-center text-white bg-blue-700 rounded-lg hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},[ye(" Settings "),Uv])):H("",!0)]),d("div",Hv,[d("div",Vv,[d("div",Gv,[Kv,Wv,ye(" "+Z(n.binding.author),1)]),d("div",Zv,[Jv,Yv,ye(" "+Z(n.binding.folder),1)]),d("div",Qv,[Xv,ex,ye(" "+Z(n.binding.version),1)]),d("div",tx,[nx,sx,d("a",{href:n.binding.link,target:"_blank",class:"flex items-center hover:text-secondary duration-75 active:scale-90"},Z(n.binding.link),9,ox)])]),rx,d("p",{class:"mx-1 opacity-80 line-clamp-3",title:n.binding.description},Z(n.binding.description),9,ix)])])],10,Pv)}const lx=Ve(jv,[["render",ax]]),Vt=Object.create(null);Vt.open="0";Vt.close="1";Vt.ping="2";Vt.pong="3";Vt.message="4";Vt.upgrade="5";Vt.noop="6";const nr=Object.create(null);Object.keys(Vt).forEach(t=>{nr[Vt[t]]=t});const cx={type:"error",data:"parser error"},ux=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",dx=typeof ArrayBuffer=="function",hx=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,ef=({type:t,data:e},n,s)=>ux&&e instanceof Blob?n?s(e):Bc(e,s):dx&&(e instanceof ArrayBuffer||hx(e))?n?s(e):Bc(new Blob([e]),s):s(Vt[t]+(e||"")),Bc=(t,e)=>{const n=new FileReader;return n.onload=function(){const s=n.result.split(",")[1];e("b"+(s||""))},n.readAsDataURL(t)},Nc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Zs=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t{let e=t.length*.75,n=t.length,s,o=0,r,i,a,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const c=new ArrayBuffer(e),u=new Uint8Array(c);for(s=0;s>4,u[o++]=(i&15)<<4|a>>2,u[o++]=(a&3)<<6|l&63;return c},px=typeof ArrayBuffer=="function",tf=(t,e)=>{if(typeof t!="string")return{type:"message",data:nf(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:gx(t.substring(1),e)}:nr[n]?t.length>1?{type:nr[n],data:t.substring(1)}:{type:nr[n]}:cx},gx=(t,e)=>{if(px){const n=fx(t);return nf(n,e)}else return{base64:!0,data:t}},nf=(t,e)=>{switch(e){case"blob":return t instanceof ArrayBuffer?new Blob([t]):t;case"arraybuffer":default:return t}},sf=String.fromCharCode(30),mx=(t,e)=>{const n=t.length,s=new Array(n);let o=0;t.forEach((r,i)=>{ef(r,!1,a=>{s[i]=a,++o===n&&e(s.join(sf))})})},_x=(t,e)=>{const n=t.split(sf),s=[];for(let o=0;otypeof self<"u"?self:typeof window<"u"?window:Function("return this")())();function rf(t,...e){return e.reduce((n,s)=>(t.hasOwnProperty(s)&&(n[s]=t[s]),n),{})}const bx=bt.setTimeout,vx=bt.clearTimeout;function Zr(t,e){e.useNativeTimers?(t.setTimeoutFn=bx.bind(bt),t.clearTimeoutFn=vx.bind(bt)):(t.setTimeoutFn=bt.setTimeout.bind(bt),t.clearTimeoutFn=bt.clearTimeout.bind(bt))}const xx=1.33;function wx(t){return typeof t=="string"?kx(t):Math.ceil((t.byteLength||t.size)*xx)}function kx(t){let e=0,n=0;for(let s=0,o=t.length;s=57344?n+=3:(s++,n+=4);return n}class Cx extends Error{constructor(e,n,s){super(e),this.description=n,this.context=s,this.type="TransportError"}}class af extends Ke{constructor(e){super(),this.writable=!1,Zr(this,e),this.opts=e,this.query=e.query,this.socket=e.socket}onError(e,n,s){return super.emitReserved("error",new Cx(e,n,s)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=tf(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}}const lf="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),ca=64,Ex={};let Uc=0,Io=0,Hc;function Vc(t){let e="";do e=lf[t%ca]+e,t=Math.floor(t/ca);while(t>0);return e}function cf(){const t=Vc(+new Date);return t!==Hc?(Uc=0,Hc=t):t+"."+Vc(Uc++)}for(;Io{this.readyState="paused",e()};if(this.polling||!this.writable){let s=0;this.polling&&(s++,this.once("pollComplete",function(){--s||n()})),this.writable||(s++,this.once("drain",function(){--s||n()}))}else n()}poll(){this.polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=s=>{if(this.readyState==="opening"&&s.type==="open"&&this.onOpen(),s.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(s)};_x(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this.polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this.poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,mx(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.query||{};const n=this.opts.secure?"https":"http";let s="";this.opts.timestampRequests!==!1&&(e[this.opts.timestampParam]=cf()),!this.supportsBinary&&!e.sid&&(e.b64=1),this.opts.port&&(n==="https"&&Number(this.opts.port)!==443||n==="http"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port);const o=uf(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}request(e={}){return Object.assign(e,{xd:this.xd,xs:this.xs},this.opts),new Nt(this.uri(),e)}doWrite(e,n){const s=this.request({method:"POST",data:e});s.on("success",n),s.on("error",(o,r)=>{this.onError("xhr post error",o,r)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,s)=>{this.onError("xhr poll error",n,s)}),this.pollXhr=e}}class Nt extends Ke{constructor(e,n){super(),Zr(this,n),this.opts=n,this.method=n.method||"GET",this.uri=e,this.async=n.async!==!1,this.data=n.data!==void 0?n.data:null,this.create()}create(){const e=rf(this.opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this.opts.xd,e.xscheme=!!this.opts.xs;const n=this.xhr=new hf(e);try{n.open(this.method,this.uri,this.async);try{if(this.opts.extraHeaders){n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0);for(let s in this.opts.extraHeaders)this.opts.extraHeaders.hasOwnProperty(s)&&n.setRequestHeader(s,this.opts.extraHeaders[s])}}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(s){this.setTimeoutFn(()=>{this.onError(s)},0);return}typeof document<"u"&&(this.index=Nt.requestsCount++,Nt.requests[this.index]=this)}onError(e){this.emitReserved("error",e,this.xhr),this.cleanup(!0)}cleanup(e){if(!(typeof this.xhr>"u"||this.xhr===null)){if(this.xhr.onreadystatechange=Tx,e)try{this.xhr.abort()}catch{}typeof document<"u"&&delete Nt.requests[this.index],this.xhr=null}}onLoad(){const e=this.xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this.cleanup())}abort(){this.cleanup()}}Nt.requestsCount=0;Nt.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",Gc);else if(typeof addEventListener=="function"){const t="onpagehide"in bt?"pagehide":"unload";addEventListener(t,Gc,!1)}}function Gc(){for(let t in Nt.requests)Nt.requests.hasOwnProperty(t)&&Nt.requests[t].abort()}const ff=(()=>typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0))(),Fo=bt.WebSocket||bt.MozWebSocket,Kc=!0,Lx="arraybuffer",Wc=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class Ox extends af{constructor(e){super(e),this.supportsBinary=!e.forceBase64}get name(){return"websocket"}doOpen(){if(!this.check())return;const e=this.uri(),n=this.opts.protocols,s=Wc?{}:rf(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(s.headers=this.opts.extraHeaders);try{this.ws=Kc&&!Wc?n?new Fo(e,n):new Fo(e):new Fo(e,n,s)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType||Lx,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n{const i={};try{Kc&&this.ws.send(r)}catch{}o&&ff(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.close(),this.ws=null)}uri(){let e=this.query||{};const n=this.opts.secure?"wss":"ws";let s="";this.opts.port&&(n==="wss"&&Number(this.opts.port)!==443||n==="ws"&&Number(this.opts.port)!==80)&&(s=":"+this.opts.port),this.opts.timestampRequests&&(e[this.opts.timestampParam]=cf()),this.supportsBinary||(e.b64=1);const o=uf(e),r=this.opts.hostname.indexOf(":")!==-1;return n+"://"+(r?"["+this.opts.hostname+"]":this.opts.hostname)+s+this.opts.path+(o.length?"?"+o:"")}check(){return!!Fo}}const jx={websocket:Ox,polling:Dx},Px=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Rx=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function ua(t){const e=t,n=t.indexOf("["),s=t.indexOf("]");n!=-1&&s!=-1&&(t=t.substring(0,n)+t.substring(n,s).replace(/:/g,";")+t.substring(s,t.length));let o=Px.exec(t||""),r={},i=14;for(;i--;)r[Rx[i]]=o[i]||"";return n!=-1&&s!=-1&&(r.source=e,r.host=r.host.substring(1,r.host.length-1).replace(/;/g,":"),r.authority=r.authority.replace("[","").replace("]","").replace(/;/g,":"),r.ipv6uri=!0),r.pathNames=Ix(r,r.path),r.queryKey=Fx(r,r.query),r}function Ix(t,e){const n=/\/{2,9}/g,s=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&s.splice(0,1),e.slice(-1)=="/"&&s.splice(s.length-1,1),s}function Fx(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(s,o,r){o&&(n[o]=r)}),n}let pf=class is extends Ke{constructor(e,n={}){super(),this.writeBuffer=[],e&&typeof e=="object"&&(n=e,e=null),e?(e=ua(e),n.hostname=e.host,n.secure=e.protocol==="https"||e.protocol==="wss",n.port=e.port,e.query&&(n.query=e.query)):n.host&&(n.hostname=ua(n.host).host),Zr(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=Ax(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(e){const n=Object.assign({},this.opts.query);n.EIO=of,n.transport=e,this.id&&(n.sid=this.id);const s=Object.assign({},this.opts.transportOptions[e],this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port});return new jx[e](s)}open(){let e;if(this.opts.rememberUpgrade&&is.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1)e="websocket";else if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}else e=this.transports[0];this.readyState="opening";try{e=this.createTransport(e)}catch{this.transports.shift(),this.open();return}e.open(),this.setTransport(e)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.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(e){let n=this.createTransport(e),s=!1;is.priorWebsocketSuccess=!1;const o=()=>{s||(n.send([{type:"ping",data:"probe"}]),n.once("packet",h=>{if(!s)if(h.type==="pong"&&h.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;is.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{s||this.readyState!=="closed"&&(u(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const f=new Error("probe error");f.transport=n.name,this.emitReserved("upgradeError",f)}}))};function r(){s||(s=!0,u(),n.close(),n=null)}const i=h=>{const f=new Error("probe error: "+h);f.transport=n.name,r(),this.emitReserved("upgradeError",f)};function a(){i("transport closed")}function l(){i("socket closed")}function c(h){n&&h.name!==n.name&&r()}const u=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",a),this.off("close",l),this.off("upgrading",c)};n.once("open",o),n.once("error",i),n.once("close",a),this.once("close",l),this.once("upgrading",c),n.open()}onOpen(){if(this.readyState="open",is.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush(),this.readyState==="open"&&this.opts.upgrade){let e=0;const n=this.upgrades.length;for(;e{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 e=this.getWritablePackets();this.transport.send(e),this.prevBufferLen=e.length,this.emitReserved("flush")}}getWritablePackets(){if(!(this.maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let s=0;s0&&n>this.maxPayload)return this.writeBuffer.slice(0,s);n+=2}return this.writeBuffer}write(e,n,s){return this.sendPacket("message",e,n,s),this}send(e,n,s){return this.sendPacket("message",e,n,s),this}sendPacket(e,n,s,o){if(typeof n=="function"&&(o=n,n=void 0),typeof s=="function"&&(o=s,s=null),this.readyState==="closing"||this.readyState==="closed")return;s=s||{},s.compress=s.compress!==!1;const r={type:e,data:n,options:s};this.emitReserved("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this.onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},s=()=>{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?s():e()}):this.upgrading?s():e()),this}onError(e){is.priorWebsocketSuccess=!1,this.emitReserved("error",e),this.onClose("transport error",e)}onClose(e,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",e,n),this.writeBuffer=[],this.prevBufferLen=0)}filterUpgrades(e){const n=[];let s=0;const o=e.length;for(;stypeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,gf=Object.prototype.toString,Bx=typeof Blob=="function"||typeof Blob<"u"&&gf.call(Blob)==="[object BlobConstructor]",Nx=typeof File=="function"||typeof File<"u"&&gf.call(File)==="[object FileConstructor]";function nl(t){return $x&&(t instanceof ArrayBuffer||zx(t))||Bx&&t instanceof Blob||Nx&&t instanceof File}function sr(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,s=t.length;n=0&&t.num{delete this.acks[e];for(let i=0;i{this.io.clearTimeoutFn(r),n.apply(this,[null,...i])}}emitWithAck(e,...n){const s=this.flags.timeout!==void 0||this._opts.ackTimeout!==void 0;return new Promise((o,r)=>{n.push((i,a)=>s?i?r(i):o(a):o(i)),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const s={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...r)=>s!==this._queue[0]?void 0:(o!==null?s.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...r)),s.pending=!1,this._drainQueue())),this._queue.push(s),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Le.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n)}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Le.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.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 Le.EVENT:case Le.BINARY_EVENT:this.onevent(e);break;case Le.ACK:case Le.BINARY_ACK:this.onack(e);break;case Le.DISCONNECT:this.ondisconnect();break;case Le.CONNECT_ERROR:this.destroy();const s=new Error(e.data.message);s.data=e.data.data,this.emitReserved("connect_error",s);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const s of n)s.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let s=!1;return function(...o){s||(s=!0,n.packet({type:Le.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(n.apply(this,e.data),delete this.acks[e.id])}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this.emitReserved("connect"),this._drainQueue(!0)}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Le.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let s=0;s0&&t.jitter<=1?t.jitter:0,this.attempts=0}qs.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=Math.floor(e*10)&1?t+n:t-n}return Math.min(t,this.max)|0};qs.prototype.reset=function(){this.attempts=0};qs.prototype.setMin=function(t){this.ms=t};qs.prototype.setMax=function(t){this.max=t};qs.prototype.setJitter=function(t){this.jitter=t};class fa extends Ke{constructor(e,n){var s;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,Zr(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((s=n.randomizationFactor)!==null&&s!==void 0?s:.5),this.backoff=new qs({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||Wx;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new pf(this.uri,this.opts);const n=this.engine,s=this;this._readyState="opening",this.skipReconnect=!1;const o=Mt(n,"open",function(){s.onopen(),e&&e()}),r=Mt(n,"error",i=>{s.cleanup(),s._readyState="closed",this.emitReserved("error",i),e?e(i):s.maybeReconnectOnOpen()});if(this._timeout!==!1){const i=this._timeout;i===0&&o();const a=this.setTimeoutFn(()=>{o(),n.close(),n.emit("error",new Error("timeout"))},i);this.opts.autoUnref&&a.unref(),this.subs.push(function(){clearTimeout(a)})}return this.subs.push(o),this.subs.push(r),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Mt(e,"ping",this.onping.bind(this)),Mt(e,"data",this.ondata.bind(this)),Mt(e,"error",this.onerror.bind(this)),Mt(e,"close",this.onclose.bind(this)),Mt(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){ff(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let s=this.nsps[e];return s?this._autoConnect&&!s.active&&s.connect():(s=new mf(this,e,n),this.nsps[e]=s),s}_destroy(e){const n=Object.keys(this.nsps);for(const s of n)if(this.nsps[s].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let s=0;se()),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(e,n){this.cleanup(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=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 s=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&s.unref(),this.subs.push(function(){clearTimeout(s)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Vs={};function or(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=qx(t,e.path||"/socket.io"),s=n.source,o=n.id,r=n.path,i=Vs[o]&&r in Vs[o].nsps,a=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return a?l=new fa(s,e):(Vs[o]||(Vs[o]=new fa(s,e)),l=Vs[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(or,{Manager:fa,Socket:mf,io:or,connect:or});const Jx=void 0,qe=new or(Jx);qe.onopen=()=>{console.log("WebSocket connection established.")};qe.onclose=t=>{console.log("WebSocket connection closed:",t.code,t.reason)};qe.onerror=t=>{console.error("WebSocket error:",t),qe.disconnect()};qe.on("connect",()=>{console.log("WebSocket connected (websocket)")});qe.on("disconnect",()=>{console.log("WebSocket disonnected (websocket)")});const _f=rh();_f.config.globalProperties.$socket=qe;_f.mount();const Yx={data(){return{show:!1,model_path:"",resolve:null}},methods:{cancel(){this.resolve(null)},openInputBox(){return new Promise(t=>{this.resolve=t})},hide(t){this.show=!1,this.resolve&&(this.resolve(t),this.resolve=null)},showDialog(t){return new Promise(e=>{this.model_path=t,this.show=!0,this.resolve=e})}}},Qx={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50"},Xx={class:"relative w-full max-w-md max-h-full"},ew={class:"relative bg-white rounded-lg shadow dark:bg-gray-700"},tw=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),nw=d("span",{class:"sr-only"},"Close modal",-1),sw=[tw,nw],ow={class:"p-4 text-center"},rw=d("svg",{"aria-hidden":"true",class:"mx-auto mb-4 text-gray-400 w-14 h-14 dark:text-gray-200",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),iw={class:"p-4 text-center mx-auto mb-4"},aw=d("label",{class:"mr-2"},"Model path",-1);function lw(t,e,n,s,o,r){return o.show?(T(),D("div",Qx,[d("div",Xx,[d("div",ew,[d("button",{type:"button",onClick:e[0]||(e[0]=i=>r.hide(!1)),class:"absolute top-3 right-2.5 text-gray-400 bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},sw),d("div",ow,[rw,d("div",iw,[aw,Te(d("input",{"onUpdate:modelValue":e[1]||(e[1]=i=>o.model_path=i),class:"px-4 py-2 border border-gray-300 rounded-lg",type:"text"},null,512),[[$e,o.model_path]])]),d("button",{onClick:e[2]||(e[2]=i=>r.hide(!0)),type:"button",class:"text-white bg-green-600 hover:bg-green-800 focus:ring-4 focus:outline-none focus:ring-red-300 dark:focus:ring-red-800 font-medium rounded-lg text-sm inline-flex items-center px-5 py-2.5 text-center mr-2"}," Add "),d("button",{onClick:e[3]||(e[3]=i=>r.hide(!1)),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},"No, cancel")])])])])):H("",!0)}const cw=Ve(Yx,[["render",lw]]),uw={setup(){return{}},name:"UniversalForm",data(){return{show:!1,resolve:null,controls_array:[],title:"Universal form",ConfirmButtonText:"Submit",DenyButtonText:"Cancel"}},mounted(){fe(()=>{ke.replace()})},methods:{hide(t){this.show=!1,this.resolve&&t&&(this.resolve(this.controls_array),this.resolve=null)},showForm(t,e,n,s){this.ConfirmButtonText=n||this.ConfirmButtonText,this.DenyButtonText=s||this.DenyButtonText;for(let o=0;o{this.controls_array=t,this.show=!0,this.title=e||this.title,this.resolve=o,console.log("show foam",this.controls_array)})}},watch:{show(){fe(()=>{ke.replace()})}}},dw={key:0,class:"fixed top-0 left-0 right-0 bottom-0 flex items-center justify-center bg-black bg-opacity-50 p-4"},hw={class:"relative w-full max-w-md"},fw={class:"flex flex-col rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel duration-150 shadow-lg max-h-screen"},pw={class:"flex flex-row flex-grow items-center m-2 p-1"},gw={class:"grow flex items-center"},mw=d("i",{"data-feather":"sliders",class:"mr-2 flex-shrink-0"},null,-1),_w={class:"text-lg font-semibold select-none mr-2"},yw={class:"items-end"},bw=d("svg",{"aria-hidden":"true",class:"w-5 h-5",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),vw=d("span",{class:"sr-only"},"Close form modal",-1),xw=[bw,vw],ww={class:"flex flex-col relative no-scrollbar overflow-y-scroll p-2"},kw={class:"px-2"},Cw={key:0},Ew={key:0},Aw={class:"text-base font-semibold"},Sw={key:0,class:"relative inline-flex"},Tw=["onUpdate:modelValue"],Mw=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Dw={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Lw=["onUpdate:modelValue"],Ow={key:1},jw={class:"text-base font-semibold"},Pw={key:0,class:"relative inline-flex"},Rw=["onUpdate:modelValue"],Iw=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Fw={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},qw=["onUpdate:modelValue"],$w=["value","selected"],zw={key:1},Bw={class:"text-base font-semibold"},Nw={key:0,class:"relative inline-flex"},Uw=["onUpdate:modelValue"],Hw=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),Vw={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},Gw=["onUpdate:modelValue"],Kw=["onUpdate:modelValue","min","max"],Ww={key:2},Zw={class:"mb-2 relative flex items-center gap-2"},Jw={for:"default-checkbox",class:"text-base font-semibold"},Yw=["onUpdate:modelValue"],Qw={key:0,class:"relative inline-flex"},Xw=["onUpdate:modelValue"],ek=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),tk={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},nk={key:3},sk={class:"text-base font-semibold"},ok={key:0,class:"relative inline-flex"},rk=["onUpdate:modelValue"],ik=d("div",{class:"hover:text-secondary duration-75 active:scale-90 peer-checked:text-primary"},[d("i",{"data-feather":"help-circle",class:"w-5 h-5"})],-1),ak={key:0,class:"text-sm font-normal text-gray-700 dark:text-gray-400 mb-2"},lk=["onUpdate:modelValue"],ck=d("hr",{class:"h-px my-4 bg-gray-200 border-0 dark:bg-gray-700"},null,-1),uk={class:"flex flex-row flex-grow gap-3"},dk={class:"p-2 text-center grow"};function hk(t,e,n,s,o,r){return o.show?(T(),D("div",dw,[d("div",hw,[d("div",fw,[d("div",pw,[d("div",gw,[mw,d("h3",_w,Z(o.title),1)]),d("div",yw,[d("button",{type:"button",onClick:e[0]||(e[0]=le(i=>r.hide(!1),["stop"])),title:"Close",class:"bg-transparent hover:bg-gray-200 hover:text-gray-900 rounded-lg text-sm p-1.5 ml-auto inline-flex items-center dark:hover:bg-gray-800 dark:hover:text-white"},xw)])]),d("div",ww,[(T(!0),D(Ie,null,rt(o.controls_array,(i,a)=>(T(),D("div",kw,[i.type=="str"?(T(),D("div",Cw,[i.options?H("",!0):(T(),D("div",Ew,[d("label",{class:De(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",Aw,Z(i.name)+": ",1),i.help?(T(),D("label",Sw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Tw),[[gn,i.isHelp]]),Mw])):H("",!0)],2),i.isHelp?(T(),D("p",Dw,Z(i.help),1)):H("",!0),Te(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,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",placeholder:"Enter string"},null,8,Lw),[[$e,i.value]])])),i.options?(T(),D("div",Ow,[d("label",{class:De(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",jw,Z(i.name)+": ",1),i.help?(T(),D("label",Pw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Rw),[[gn,i.isHelp]]),Iw])):H("",!0)],2),i.isHelp?(T(),D("p",Fw,Z(i.help),1)):H("",!0),Te(d("select",{"onUpdate:modelValue":l=>i.value=l,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"},[(T(!0),D(Ie,null,rt(i.options,l=>(T(),D("option",{value:l,selected:i.value===l},Z(l),9,$w))),256))],8,qw),[[am,i.value]])])):H("",!0)])):H("",!0),i.type=="int"||i.type=="float"?(T(),D("div",zw,[d("label",{class:De(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",Bw,Z(i.name)+": ",1),i.help?(T(),D("label",Nw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Uw),[[gn,i.isHelp]]),Hw])):H("",!0)],2),i.isHelp?(T(),D("p",Vw,Z(i.help),1)):H("",!0),Te(d("input",{type:"number","onUpdate:modelValue":l=>i.value=l,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",placeholder:"Enter number"},null,8,Gw),[[$e,i.value]]),i.min!=null&&i.max!=null?Te((T(),D("input",{key:1,type:"range","onUpdate:modelValue":l=>i.value=l,min:i.min,max:i.max,step:"0.1",class:"flex-none h-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,8,Kw)),[[$e,i.value]]):H("",!0)])):H("",!0),i.type=="bool"?(T(),D("div",Ww,[d("div",Zw,[d("label",Jw,Z(i.name)+": ",1),Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.value=l,class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"},null,8,Yw),[[gn,i.value]]),i.help?(T(),D("label",Qw,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,Xw),[[gn,i.isHelp]]),ek])):H("",!0)]),i.isHelp?(T(),D("p",tk,Z(i.help),1)):H("",!0)])):H("",!0),i.type=="list"?(T(),D("div",nk,[d("label",{class:De(["mb-2 relative flex items-center gap-2 text-sm font-medium text-gray-900 dark:text-white select-none",i.help?"cursor-pointer ":""])},[d("div",sk,Z(i.name)+": ",1),i.help?(T(),D("label",ok,[Te(d("input",{type:"checkbox","onUpdate:modelValue":l=>i.isHelp=l,class:"sr-only peer"},null,8,rk),[[gn,i.isHelp]]),ik])):H("",!0)],2),i.isHelp?(T(),D("p",ak,Z(i.help),1)):H("",!0),Te(d("input",{type:"text","onUpdate:modelValue":l=>i.value=l,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",placeholder:"Enter comma separated values"},null,8,lk),[[$e,i.value]])])):H("",!0),ck]))),256)),d("div",uk,[d("div",dk,[d("button",{onClick:e[1]||(e[1]=le(i=>r.hide(!0),["stop"])),type:"button",class:"mr-2 text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},Z(o.ConfirmButtonText),1),d("button",{onClick:e[2]||(e[2]=le(i=>r.hide(!1),["stop"])),type:"button",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"},Z(o.DenyButtonText),1)])])])])])])):H("",!0)}const yf=Ve(uw,[["render",hk]]);const fk="/";Ce.defaults.baseURL="/";const pk={components:{AddModelDialog:cw,MessageBox:Xy,YesNoDialog:d2,ModelEntry:Ub,PersonalityViewer:iv,Toast:Wr,PersonalityEntry:Xh,BindingEntry:lx,UniversalForm:yf},data(){return{addModelDialogVisibility:!1,modelPath:"",models:[],personalities:[],personalitiesFiltered:[],bindings:[],collapsedArr:[],all_collapsed:!0,bec_collapsed:!0,mzc_collapsed:!0,mzdc_collapsed:!0,pzc_collapsed:!0,bzc_collapsed:!0,pc_collapsed:!0,mc_collapsed:!0,sc_collapsed:!0,mzl_collapsed:!1,pzl_collapsed:!1,bzl_collapsed:!1,bindingsArr:[],modelsArr:[],persLangArr:[],persCatgArr:[],persArr:[],langArr:[],configFile:{},showConfirmation:!1,showToast:!1,isLoading:!1,settingsChanged:!1,isModelSelected:!1,diskUsage:{},ramUsage:{},vramUsage:{},mountedPersArr:[],isMounted:!1,bUrl:fk,searchPersonality:"",searchPersonalityTimer:{},searchPersonalityTimerInterval:1500,searchPersonalityInProgress:!1,addModel:{},modelDownlaodInProgress:!1,uploadData:[]}},async created(){},methods:{async progressListener(t){if(console.log("received something"),t.status==="progress"){if(this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(console.log("model entry",n),n.installing=!0,n.progress=t.progress,console.log(`Progress = ${t.progress}`),t.progress>=100&&(n.installing=!1,n.isInstalled=!0))}}else if(t.status==="succeeded"){if(console.log("Received succeeded"),console.log("Installed successfully"),this.$refs.modelZoo){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!0)}this.$refs.toast.showToast(`Model: -`+model_object.title+` -installed!`,4,!0),this.api_get_req("disk_usage").then(e=>{this.diskUsage=e})}else if(t.status==="failed"&&(console.log("Install failed"),this.$refs.modelZoo)){const e=this.$refs.modelZoo.findIndex(s=>s.model.path==t.model_url&&s.model.title==t.model_name&&this.configFile.binding_name==t.binding_folder),n=this.models[e];n&&(n.installing=!1,n.isInstalled=!1),console.error("Installation failed:",t.error),this.$refs.toast.showToast(`Model: -`+model_object.title+` -failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s})}},showAddModelDialog(){this.$refs.addmodeldialog.showDialog("").then(()=>{console.log(this.$refs.addmodeldialog.model_path);const t=this.$refs.addmodeldialog.model_path;qe.emit("install_model",{path:t},e=>{console.log("Model installation successful:",e)}),console.log(this.$refs.addmodeldialog.model_path)})},closeAddModelDialog(){this.addModelDialogVisibility=!1},collapseAll(t){this.bec_collapsed=t,this.mzc_collapsed=t,this.pzc_collapsed=t,this.bzc_collapsed=t,this.pc_collapsed=t,this.mc_collapsed=t,this.sc_collapsed=t,this.mzdc_collapsed=t},fetchModels(){Ce.get("/get_available_models").then(t=>{this.models=t.data,this.models.sort((e,n)=>e.title.localeCompare(n.title)),this.fetchCustomModels()}).catch(t=>{console.log(t.message,"fetchModels")})},fetchCustomModels(){Ce.get("/list_models").then(t=>{for(let e=0;eo.title==n)==-1){let o={};o.title=n,o.path=n,o.isCustomModel=!0,o.isInstalled=!0,this.models.push(o)}}}).catch(t=>{console.log(t.message,"fetchCustomModels")})},async onPersonalitySelected(t){if(console.log("on pers",t),this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),this.isLoading=!0,console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0),this.isLoading=!1;return}if(t.isMounted&&this.configFile.personalities.includes(t.personality.full_path)){const e=await this.select_personality(t);console.log("pers is mounted",e),e&&e.status&&e.active_personality_id>-1?this.$refs.toast.showToast(`Selected personality: -`+t.name,4,!0):this.$refs.toast.showToast(`Error on select personality: -`+t.name,4,!1),this.isLoading=!1}else console.log("mounting pers"),this.onPersonalityMounted(t);fe(()=>{ke.replace()})}},onSelected(t){this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),t&&(t.isInstalled?this.configFile.model_name!=t.title&&(this.update_model(t.title),this.configFile.model_name=t.title,this.$refs.toast.showToast(`Selected model: -`+t.title,4,!0),this.settingsChanged=!0,this.isModelSelected=!0):this.$refs.toast.showToast(`Model: -`+t.title+` -is not installed`,4,!1),fe(()=>{ke.replace()}))},onCopy(t){let e;t.model.isCustomModel?e=`Model name: ${t.title} -File size: ${t.fileSize} -Manually downloaded model `:e=`Model name: ${t.title} -File size: ${t.fileSize} -Download: ${t.path} -License: ${t.license} -Owner: ${t.owner} -Website: ${t.owner_link} -Description: ${t.description}`,this.$refs.toast.showToast("Copied model info to clipboard!",4,!0),navigator.clipboard.writeText(e.trim())},onCopyLink(t){this.$refs.toast.showToast("Copied link to clipboard!",4,!0),navigator.clipboard.writeText(t.path)},onCancelInstall(){const t=this.addModel;console.log("cancel install",t),this.modelDownlaodInProgress=!1,this.addModel={},this.$refs.toast.showToast("Model installation aborted",4,!1),qe.emit("cancel_install",{model_name:t.model_name,binding_folder:t.binding_folder,model_url:t.model_url})},onInstall(t){if(t.linkNotValid){t.installing=!1,this.$refs.toast.showToast("Link is not valid, file does not exist",4,!1);return}let e=t.path;this.showProgress=!0,this.progress=0,this.addModel={model_name:t.model.title,binding_folder:this.configFile.binding_name,model_url:t.path},console.log("installing...",this.addModel);const n=s=>{if(console.log("received something"),s.status&&s.progress<=100){if(this.addModel=s,console.log("Progress",s),t.progress=s.progress,t.speed=s.speed,t.total_size=s.total_size,t.downloaded_size=s.downloaded_size,t.start_time=s.start_time,t.installing=!0,t.progress==100){const o=this.models.findIndex(r=>r.path===e);this.models[o].isInstalled=!0,this.showProgress=!1,t.installing=!1,console.log("Received succeeded"),qe.off("install_progress",n),console.log("Installed successfully"),this.$refs.toast.showToast(`Model: -`+t.title+` -installed!`,4,!0),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r})}}else qe.off("install_progress",n),console.log("Install failed"),t.installing=!1,this.showProgress=!1,console.error("Installation failed:",s.error),this.$refs.toast.showToast(`Model: -`+t.title+` -failed to install!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})};qe.on("install_progress",n),qe.emit("install_model",{path:e}),console.log("Started installation, please wait")},onInstallAddModel(){if(!this.addModel.url){this.$refs.toast.showToast("Link is empty",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),qe.off("install_progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model: -`+this.addModel.model_name+` -installed!`,4,!0),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))):(qe.off("install_progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model: -`+this.addModel.model_name+` -failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))};qe.on("install_progress",e),qe.emit("install_model",{path:t}),console.log("Started installation, please wait")},uploadLocalModel(){if(this.uploadData.length==0){this.$refs.toast.showToast("No files to upload",4,!1);return}let t=this.addModel.url;this.addModel.progress=0,console.log("installing..."),console.log("value ",this.addModel.url),this.modelDownlaodInProgress=!0;const e=n=>{console.log("received something"),n.status&&n.progress<=100?(console.log("Progress",n),this.addModel=n,this.addModel.url=t,this.modelDownlaodInProgress=!0,this.addModel.progress==100&&(this.modelDownlaodInProgress=!1,console.log("Received succeeded"),qe.off("progress",e),console.log("Installed successfully"),this.addModel={},this.$refs.toast.showToast(`Model: -`+this.addModel.model_name+` -installed!`,4,!0),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))):(qe.off("progress",e),console.log("Install failed"),this.modelDownlaodInProgress=!1,console.error("Installation failed:",n.error),this.$refs.toast.showToast(`Model: -`+this.addModel.model_name+` -failed to install!`,4,!1),this.api_get_req("disk_usage").then(s=>{this.diskUsage=s}))};qe.on("progress",e),console.log("Started installation, please wait")},setFileList(t){this.uploadData=t.target.files,console.log("set file list",this.uploadData)},onUninstall(t){this.$refs.yesNoDialog.askQuestion(`Are you sure you want to delete this model? - [`+t.title+"]","Yes","Cancel").then(e=>{if(e){console.log("uninstalling model...");const n=s=>{if(console.log("uninstalling res",s),s.status){console.log("uninstalling success",s),t.uninstalling=!1,qe.off("install_progress",n),this.showProgress=!1;const o=this.models.findIndex(r=>r.path===t.path);this.models[o].isInstalled=!1,t.model.isCustomModel&&(this.models=this.models.filter(r=>r.title!==t.title)),this.$refs.toast.showToast(`Model: -`+t.title+` -was uninstalled!`,4,!0),this.api_get_req("disk_usage").then(r=>{this.diskUsage=r})}else console.log("uninstalling failed",s),t.uninstalling=!1,this.showProgress=!1,qe.off("install_progress",n),console.error("Uninstallation failed:",message.error),this.$refs.toast.showToast(`Model: -`+t.title+` -failed to uninstall!`,4,!1),this.api_get_req("disk_usage").then(o=>{this.diskUsage=o})};qe.on("install_progress",n),qe.emit("uninstall_model",{path:t.path})}})},onSelectedBinding(t){if(!t.binding.installed){this.$refs.toast.showToast(`Binding is not installed: -`+t.binding.name,4,!1);return}this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onInstallBinding(t){this.configFile.binding_name!=t.binding.folder&&this.update_binding(t.binding.folder)},onReinstallBinding(t){this.isLoading=!0,Ce.post("/reinstall_binding",{name:t.binding.folder}).then(e=>{if(e)return this.isLoading=!1,console.log("reinstall_binding",e),e.data.status?this.$refs.toast.showToast("Reinstalled binding successfully!",4,!0):this.$refs.toast.showToast("Could not reinstall binding",4,!1),e.data;this.isLoading=!1}).catch(e=>(this.isLoading=!1,this.$refs.toast.showToast(`Could not reinstall binding -`+e.message,4,!1),{status:!1}))},onSettingsBinding(t){try{this.isLoading=!0,Ce.get("/get_active_binding_settings").then(e=>{this.isLoading=!1,e&&(console.log("binding sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Binding settings - "+t.binding.name,"Save changes","Cancel").then(n=>{try{Ce.post("/set_active_binding_settings",n).then(s=>{s&&s.data?(console.log("binding set with new settings",s.data),this.$refs.toast.showToast("Binding settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get binding settings responses. -`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get binding settings responses. - Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Binding has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open binding settings. Endpoint error: "+e.message,4,!1)}},onSettingsPersonality(t){try{this.isLoading=!0,Ce.get("/get_active_personality_settings").then(e=>{this.isLoading=!1,e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Ce.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):(this.$refs.toast.showToast(`Did not get Personality settings responses. -`+s,4,!1),this.isLoading=!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. - Endpoint error: `+s.message,4,!1),this.isLoading=!1}}):(this.$refs.toast.showToast("Personality has no settings",4,!1),this.isLoading=!1))})}catch(e){this.isLoading=!1,this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},onMessageBoxOk(){console.log("OK button clicked")},refresh(){this.api_get_req("list_models").then(t=>{this.modelsArr=t,this.modelsArr.sort()}),this.api_get_req("list_personalities_categories").then(t=>{this.persCatgArr=t,this.persCatgArr.sort()}),this.api_get_req("get_config").then(t=>{this.getPersonalitiesArr().then(()=>{this.getMountedPersonalities()}),console.log("Received config"),this.configFile=t,this.models.forEach(e=>{e.title==t.model_name?e.selected=!0:e.selected=!1})}).then(()=>{this.api_get_req("get_current_personality_path_infos").then(t=>{this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,console.log("received infos")})}),this.api_get_req("list_personalities").then(t=>{this.persArr=t,this.persArr.sort(),console.log(`Listed personalities: -${t}`)}),this.api_get_req("disk_usage").then(t=>{this.diskUsage=t}),this.api_get_req("ram_usage").then(t=>{this.ramUsage=t}),this.fetchModels(),this.api_get_req("list_bindings"),then(t=>{this.bindings=t,this.bindings.sort((e,n)=>e.name.localeCompare(n.name))})},toggleAccordion(){this.showAccordion=!this.showAccordion},update_setting(t,e,n){this.isLoading=!0;const s={setting_name:t,setting_value:e};Ce.post("/update_setting",s).then(o=>{if(o)return this.isLoading=!1,console.log("update_setting",o),n!==void 0&&n(o),o.data;this.isLoading=!1}).catch(o=>(this.isLoading=!1,{status:!1}))},update_binding(t){this.isLoading=!0,this.update_setting("binding_name",t,e=>{const n=this.bindings.findIndex(o=>o.folder==t),s=this.bindings[n];s&&(s.installed=!0),this.$refs.toast.showToast("Binding changed.",4,!0),this.settingsChanged=!0,this.isLoading=!1,this.update_model(null),this.configFile.model_name=null,this.refresh(),fe(()=>{ke.replace()})})},update_model(t){t||(this.isModelSelected=!1),this.isLoading=!0,this.update_setting("model_name",t,e=>{this.isLoading=!1})},applyConfiguration(){this.isLoading=!0,Ce.post("/apply_settings").then(t=>{this.isLoading=!1,t.data.status?(this.$refs.toast.showToast("Configuration changed successfully.",4,!0),this.settingsChanged=!1):this.$refs.toast.showToast("Configuration change failed.",4,!1),fe(()=>{ke.replace()})})},save_configuration(){this.showConfirmation=!1,Ce.post("/save_settings",{}).then(t=>{if(t)return t.status||this.$refs.messageBox.showMessage("Error: Couldn't save settings!"),t.data}).catch(t=>(console.log(t.message,"save_configuration"),this.$refs.messageBox.showMessage("Couldn't save settings!"),{status:!1}))},reset_configuration(){this.$refs.yesNoDialog.askQuestion(`Are you sure? -This will delete all your configurations and get back to default configuration.`).then(t=>{t&&Ce.post("/reset_settings",{}).then(e=>{if(e)return e.status?this.$refs.messageBox.showMessage("Settings have been reset correctly"):this.$refs.messageBox.showMessage("Couldn't reset settings!"),e.data}).catch(e=>(console.log(e.message,"reset_configuration"),this.$refs.messageBox.showMessage("Couldn't reset settings!"),{status:!1}))})},async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - settings");return}},closeToast(){this.showToast=!1},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let p={};return p=h,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+h.folder,p.isMounted=f,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.personalitiesFiltered=this.personalities.filter(s=>s.category===this.configFile.personality_category&&s.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),console.log("per filtered",this.personalitiesFiltered),this.isLoading=!1},async filterPersonalities(){if(!this.searchPersonality){this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort(),this.searchPersonalityInProgress=!1;return}const t=this.searchPersonality.toLowerCase(),e=this.personalities.filter(n=>{if(n.name.toLowerCase().includes(t)||n.description.toLowerCase().includes(t)||n.full_path.toLowerCase().includes(t))return n});e.length>0?this.personalitiesFiltered=e.sort():(this.personalitiesFiltered=this.personalities.filter(n=>n.category===this.configFile.personality_category&&n.language===this.configFile.personality_language),this.personalitiesFiltered.sort()),this.searchPersonalityInProgress=!1},computedFileSize(t){return qt(t)},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ce.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ce.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ce.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s.message,"select_personality - settings");return}},async mountPersonality(t){if(this.isLoading=!0,console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.isLoading=!1,this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e&&e.status&&e.active_personality_id>-1&&e.personalities.includes(t.personality.full_path)?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: -`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality -Error: `+e.error+` -Response: -`+e,4,!1)),this.isLoading=!1},async unmountPersonality(t){if(this.isLoading=!0,!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: -`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1);this.isLoading=!1},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n);console.log("index",s),console.log("i:",e);const o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),fe(()=>{})},onPersonalityMounted(t){console.log("on sel ",t),this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},personalityImgPlacehodler(t){t.target.src=Wn},searchPersonality_func(){clearTimeout(this.searchPersonalityTimer),this.searchPersonality&&(this.searchPersonalityInProgress=!0,setTimeout(this.filterPersonalities,this.searchPersonalityTimerInterval))}},async mounted(){this.isLoading=!0,fe(()=>{ke.replace()}),this.configFile=await this.api_get_req("get_config");let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name,this.configFile.model_name&&(this.isModelSelected=!0),this.fetchModels(),this.bindingsArr=await this.api_get_req("list_bindings"),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.bindingsArr.sort((e,n)=>e.name.localeCompare(n.name)),this.modelsArr.sort(),this.persLangArr.sort(),this.persCatgArr.sort(),this.persArr.sort(),this.langArr.sort(),await this.getPersonalitiesArr(),this.bindings=await this.api_get_req("list_bindings"),this.bindings.sort((e,n)=>e.name.localeCompare(n.name)),this.isLoading=!1,this.diskUsage=await this.api_get_req("disk_usage"),this.ramUsage=await this.api_get_req("ram_usage"),this.vramUsage=await this.api_get_req("vram_usage"),this.getMountedPersonalities(),this.isMounted=!0},activated(){},computed:{disk_available_space(){return this.computedFileSize(this.diskUsage.available_space)},disk_binding_models_usage(){return this.computedFileSize(this.diskUsage.binding_models_usage)},disk_percent_usage(){return this.diskUsage.percent_usage},disk_total_space(){return this.computedFileSize(this.diskUsage.total_space)},ram_available_space(){return this.computedFileSize(this.ramUsage.available_space)},ram_usage(){return this.computedFileSize(this.ramUsage.ram_usage)},ram_percent_usage(){return this.ramUsage.percent_usage},ram_total_space(){return this.computedFileSize(this.ramUsage.total_space)},vram_available_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram-this.vramUsage.gpu_0_used_vram)},vram_usage(){return this.computedFileSize(this.vramUsage.gpu_0_used_vram)},vram_percent_usage(){return(this.vramUsage.gpu_0_used_vram/this.vramUsage.gpu_0_total_vram*100).toFixed(2)},vram_total_space(){return this.computedFileSize(this.vramUsage.gpu_0_total_vram)},imgBinding(){if(this.isMounted)try{return this.$refs.bindingZoo[this.$refs.bindingZoo.findIndex(t=>t.binding.folder==this.configFile.binding_name)].$refs.imgElement.src}catch{return defaultImgPlaceholder}},imgModel(){if(this.isMounted)try{return this.$refs.modelZoo[this.$refs.modelZoo.findIndex(t=>t.title==this.configFile.model_name)].$refs.imgElement.src}catch{return la}},binding_name(){if(!this.isMounted)return;const t=this.bindingsArr.findIndex(e=>e.folder===this.configFile.binding_name);if(t>-1)return this.bindingsArr[t].name},active_pesonality(){if(!this.isMounted)return;const t=this.personalities.findIndex(e=>e.full_path===this.configFile.personalities[this.configFile.active_personality_id]);if(t>-1)return this.personalities[t].name},speed_computed(){return qt(this.addModel.speed)},total_size_computed(){return qt(this.addModel.total_size)},downloaded_size_computed(){return qt(this.addModel.downloaded_size)}},watch:{bec_collapsed(){fe(()=>{ke.replace()})},pc_collapsed(){fe(()=>{ke.replace()})},mc_collapsed(){fe(()=>{ke.replace()})},sc_collapsed(){fe(()=>{ke.replace()})},showConfirmation(){fe(()=>{ke.replace()})},mzl_collapsed(){fe(()=>{ke.replace()})},pzl_collapsed(){fe(()=>{ke.replace()})},bzl_collapsed(){fe(()=>{ke.replace()})},all_collapsed(t){this.collapseAll(t),fe(()=>{ke.replace()})},settingsChanged(t){this.$store.state.settingsChanged=t,fe(()=>{ke.replace()})},isLoading(){fe(()=>{ke.replace()})},searchPersonality(t){t==""&&this.filterPersonalities()},mzdc_collapsed(){fe(()=>{ke.replace()})}},async beforeRouteLeave(t){if(await this.$router.isReady(),this.settingsChanged)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to apply changes? -You need to apply changes before you leave, or else.`,"Apply configuration","Cancel")&&this.applyConfiguration(),!1;if(!this.isModelSelected)return await this.$refs.yesNoDialog.askQuestion(`Did You forgot to select model? -You need to select model before you leave, or else.`,"Ok","Cancel"),!1}},be=t=>(js("data-v-b87d317a"),t=t(),Ps(),t),gk={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-0"},mk={class:"sticky top-0 z-10 flex flex-row mb-2 p-3 gap-3 w-full rounded-b-lg bg-bg-light-tone dark:bg-bg-dark-tone shadow-lg"},_k={key:0,class:"flex gap-3 flex-1 items-center duration-75"},yk=be(()=>d("i",{"data-feather":"x"},null,-1)),bk=[yk],vk=be(()=>d("i",{"data-feather":"check"},null,-1)),xk=[vk],wk={key:1,class:"flex gap-3 flex-1 items-center"},kk=be(()=>d("i",{"data-feather":"save"},null,-1)),Ck=[kk],Ek=be(()=>d("i",{"data-feather":"refresh-ccw"},null,-1)),Ak=[Ek],Sk=be(()=>d("i",{"data-feather":"list"},null,-1)),Tk=[Sk],Mk={class:"flex gap-3 flex-1 items-center justify-end"},Dk={class:"flex gap-3 items-center"},Lk={key:0,class:"flex gap-3 items-center"},Ok=be(()=>d("i",{"data-feather":"check"},null,-1)),jk=[Ok],Pk={key:1,role:"status"},Rk=be(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),Ik=be(()=>d("span",{class:"sr-only"},"Loading...",-1)),Fk=[Rk,Ik],qk={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},$k={class:"flex flex-row p-3"},zk=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),Bk=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," System status",-1)),Nk=be(()=>d("div",{class:"mr-2"},"|",-1)),Uk={class:"text-base font-semibold cursor-pointer select-none items-center"},Hk={class:"flex gap-2 items-center"},Vk=ko('',1),Gk={class:"font-bold font-large text-lg"},Kk=be(()=>d("i",{"data-feather":"cpu",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Wk={class:"font-bold font-large text-lg"},Zk=be(()=>d("i",{"data-feather":"hard-drive",class:"w-5 h-5 mx-1 flex-shrink-0"},null,-1)),Jk={class:"font-bold font-large text-lg"},Yk={class:"mb-2"},Qk=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},[d("path",{fill:"currentColor",d:"M17 17H7V7h10m4 4V9h-2V7a2 2 0 0 0-2-2h-2V3h-2v2h-2V3H9v2H7c-1.11 0-2 .89-2 2v2H3v2h2v2H3v2h2v2a2 2 0 0 0 2 2h2v2h2v-2h2v2h2v-2h2a2 2 0 0 0 2-2v-2h2v-2h-2v-2m-6 2h-2v-2h2m2-2H9v6h6V9Z"})]),ye(" Ram usage: ")],-1)),Xk={class:"flex flex-col mx-2"},e5=be(()=>d("b",null,"Avaliable ram: ",-1)),t5=be(()=>d("b",null,"Ram usage: ",-1)),n5={class:"p-2"},s5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},o5={class:"mb-2"},r5=be(()=>d("label",{class:"flex items-center gap-1 ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},[d("i",{"data-feather":"hard-drive",class:"w-5 h-5"}),ye(" Disk usage: ")],-1)),i5={class:"flex flex-col mx-2"},a5=be(()=>d("b",null,"Avaliable disk space: ",-1)),l5=be(()=>d("b",null,"Disk usage: ",-1)),c5={class:"p-2"},u5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},d5={class:"mb-2"},h5=ko('',1),f5={class:"flex flex-col mx-2"},p5=be(()=>d("b",null,"Avaliable vram: ",-1)),g5=be(()=>d("b",null,"GPU usage: ",-1)),m5={class:"p-2"},_5={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},y5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},b5={class:"flex flex-row p-3"},v5=be(()=>d("i",{"data-feather":"chevron-right",class:"mr-2 flex-shrink-0"},null,-1)),x5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Binding zoo",-1)),w5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},k5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),C5={key:1,class:"mr-2"},E5={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},A5={class:"flex gap-1 items-center"},S5=["src"],T5={class:"font-bold font-large text-lg line-clamp-1"},M5={key:0,class:"mb-2"},D5={for:"binding",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},L5=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),O5=[L5],j5=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),P5=[j5],R5={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},I5={class:"flex flex-row p-3"},F5=["data-feather"],q5=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Models zoo",-1)),$5={class:"flex flex-row items-center"},z5={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},B5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),N5={key:1,class:"text-base text-red-600 flex gap-3 items-center mr-2"},U5=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),H5={key:2,class:"mr-2"},V5={key:3,class:"text-base font-semibold cursor-pointer select-none items-center"},G5={class:"flex gap-1 items-center"},K5=["src"],W5={class:"font-bold font-large text-lg line-clamp-1"},Z5={key:0,class:"mb-2"},J5={key:1,class:"mb-2"},Y5={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},Q5=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),X5=[Q5],e4=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),t4=[e4],n4={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},s4={class:"flex flex-row p-3"},o4=["data-feather"],r4=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Add models for binding",-1)),i4={key:0,class:"text-base text-red-600 flex gap-3 items-center mr-2"},a4=be(()=>d("i",{"data-feather":"alert-triangle",class:"flex-shrink-0"},null,-1)),l4={key:1,class:"mr-2"},c4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center"},u4={class:"flex gap-1 items-center"},d4=["src"],h4={class:"font-bold font-large text-lg line-clamp-1"},f4={class:"mb-2"},p4={key:0,class:"p-2"},g4={class:"mb-3"},m4=be(()=>d("label",{class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white",for:"file_input"},"Select files",-1)),_4={class:"p-2"},y4={key:0},b4={class:"mb-3"},v4=be(()=>d("label",{for:"email",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},"Model URL",-1)),x4={key:1,class:"relative flex flex-col items-center justify-center flex-grow h-full"},w4=be(()=>d("div",{role:"status",class:"justify-center"},null,-1)),k4={class:"relative flex flex-row flex-grow items-center w-full h-full bottom-0"},C4={class:"w-full p-2"},E4={class:"flex justify-between mb-1"},A4=ko(' Downloading Loading...',1),S4={class:"text-sm font-medium text-blue-700 dark:text-white"},T4=["title"],M4={class:"w-full bg-gray-200 rounded-full h-2.5 dark:bg-gray-700"},D4={class:"flex justify-between mb-1"},L4={class:"text-base font-medium text-blue-700 dark:text-white"},O4={class:"text-sm font-medium text-blue-700 dark:text-white"},j4={class:"flex flex-grow"},P4={class:"flex flex-row flex-grow gap-3"},R4={class:"p-2 text-center grow"},I4={class:"flex flex-col mb-2 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},F4={class:"flex flex-row p-3 items-center"},q4=["data-feather"],$4=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none mr-2"}," Personalities zoo",-1)),z4={key:0,class:"mr-2"},B4={class:"mr-2 font-bold font-large text-lg line-clamp-1"},N4={key:1,class:"mr-2"},U4={key:2,class:"text-base font-semibold cursor-pointer select-none items-center flex flex-row"},H4={key:0,class:"flex -space-x-4 items-center"},V4={class:"group items-center flex flex-row"},G4=["onClick"],K4=["src","title"],W4=["onClick"],Z4=be(()=>d("span",{class:"hidden group-hover:block top-0 left-7 absolute active:scale-90 bg-bg-light dark:bg-bg-dark rounded-full border-2 border-transparent",title:"Unmount personality"},[d("svg",{"aria-hidden":"true",class:"w-4 h-4 text-red-600 hover:text-red-500",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"fill-rule":"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z","clip-rule":"evenodd"})])],-1)),J4=[Z4],Y4={class:"mx-2 mb-4"},Q4=be(()=>d("label",{for:"personality-search",class:"mb-2 text-sm font-medium text-gray-900 sr-only dark:text-white"},"Search",-1)),X4={class:"relative"},e3={class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},t3={key:0},n3=be(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"inline w-4 h-4 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),s3=[n3],o3={key:1},r3=be(()=>d("svg",{"aria-hidden":"true",class:"w-5 h-5 text-gray-500 dark:text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},[d("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})],-1)),i3=[r3],a3={key:0,class:"mx-2 mb-4"},l3={for:"persLang",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},c3=["selected"],u3={key:1,class:"mx-2 mb-4"},d3={for:"persCat",class:"block mb-2 text-sm font-medium text-gray-900 dark:text-white"},h3=["selected"],f3={key:0,class:"mb-2"},p3={for:"model",class:"block ml-2 mb-2 text-sm font-medium text-gray-900 dark:text-white"},g3=be(()=>d("i",{"data-feather":"chevron-up"},null,-1)),m3=[g3],_3=be(()=>d("i",{"data-feather":"chevron-down"},null,-1)),y3=[_3],b3={class:"flex flex-col mb-2 p-3 rounded-lg bg-bg-light-tone dark:bg-bg-dark-tone hover:bg-bg-light-tone-panel hover:dark:bg-bg-dark-tone-panel duration-150 shadow-lg"},v3={class:"flex flex-row"},x3=["data-feather"],w3=be(()=>d("h3",{class:"text-lg font-semibold cursor-pointer select-none"}," Model Configuration",-1)),k3={class:"m-2"},C3={class:"flex flex-row gap-2 items-center"},E3=be(()=>d("label",{for:"override-model-parameters",class:"block text-sm font-medium"}," Override personality model parameters ",-1)),A3={class:"m-2"},S3=be(()=>d("label",{for:"seed",class:"block mb-2 text-sm font-medium"}," Seed: ",-1)),T3={class:"m-2"},M3={class:"flex flex-col align-bottom"},D3={class:"relative"},L3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"temperature",class:"text-sm font-medium"}," Temperature: ")],-1)),O3={class:"absolute right-0"},j3={class:"m-2"},P3={class:"flex flex-col align-bottom"},R3={class:"relative"},I3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"predict",class:"text-sm font-medium"}," N Predict: ")],-1)),F3={class:"absolute right-0"},q3={class:"m-2"},$3={class:"flex flex-col align-bottom"},z3={class:"relative"},B3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_k",class:"text-sm font-medium"}," Top-K: ")],-1)),N3={class:"absolute right-0"},U3={class:"m-2"},H3={class:"flex flex-col align-bottom"},V3={class:"relative"},G3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"top_p",class:"text-sm font-medium"}," Top-P: ")],-1)),K3={class:"absolute right-0"},W3={class:"m-2"},Z3={class:"flex flex-col align-bottom"},J3={class:"relative"},Y3=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_penalty",class:"text-sm font-medium"}," Repeat penalty: ")],-1)),Q3={class:"absolute right-0"},X3={class:"m-2"},e8={class:"flex flex-col align-bottom"},t8={class:"relative"},n8=be(()=>d("p",{class:"absolute left-0 mt-6"},[d("label",{for:"repeat_last_n",class:"text-sm font-medium"}," Repeat last N: ")],-1)),s8={class:"absolute right-0"};function o8(t,e,n,s,o,r){const i=lt("BindingEntry"),a=lt("model-entry"),l=lt("personality-entry"),c=lt("YesNoDialog"),u=lt("AddModelDialog"),h=lt("MessageBox"),f=lt("Toast"),p=lt("UniversalForm");return T(),D(Ie,null,[d("div",gk,[d("div",mk,[o.showConfirmation?(T(),D("div",_k,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel",type:"button",onClick:e[0]||(e[0]=le(g=>o.showConfirmation=!1,["stop"]))},bk),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm save changes",type:"button",onClick:e[1]||(e[1]=le(g=>r.save_configuration(),["stop"]))},xk)])):H("",!0),o.showConfirmation?H("",!0):(T(),D("div",wk,[d("button",{title:"Save configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[2]||(e[2]=g=>o.showConfirmation=!0)},Ck),d("button",{title:"Reset configuration",class:"text-2xl hover:text-secondary duration-75 active:scale-90",onClick:e[3]||(e[3]=g=>r.reset_configuration())},Ak),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Collapse / Expand all panels",type:"button",onClick:e[4]||(e[4]=le(g=>o.all_collapsed=!o.all_collapsed,["stop"]))},Tk)])),d("div",Mk,[d("div",Dk,[o.settingsChanged?(T(),D("div",Lk,[ye(" Apply changes: "),o.isLoading?H("",!0):(T(),D("button",{key:0,class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Apply changes",type:"button",onClick:e[5]||(e[5]=le(g=>r.applyConfiguration(),["stop"]))},jk))])):H("",!0),o.isLoading?(T(),D("div",Pk,Fk)):H("",!0)])])]),d("div",{class:De(o.isLoading?"pointer-events-none opacity-30":"")},[d("div",qk,[d("div",$k,[d("button",{onClick:e[6]||(e[6]=le(g=>o.sc_collapsed=!o.sc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[zk,Bk,Nk,d("div",Uk,[d("div",Hk,[Vk,d("h3",Gk,[d("div",null,Z(r.vram_usage)+" / "+Z(r.vram_total_space)+" ("+Z(r.vram_percent_usage)+"%)",1)]),Kk,d("h3",Wk,[d("div",null,Z(r.ram_usage)+" / "+Z(r.ram_total_space)+" ("+Z(r.ram_percent_usage)+"%)",1)]),Zk,d("h3",Jk,[d("div",null,Z(r.disk_binding_models_usage)+" / "+Z(r.disk_total_space)+" ("+Z(r.disk_percent_usage)+"%)",1)])])])])]),d("div",{class:De([{hidden:o.sc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",Yk,[Qk,d("div",Xk,[d("div",null,[e5,ye(Z(r.ram_available_space),1)]),d("div",null,[t5,ye(" "+Z(r.ram_usage)+" / "+Z(r.ram_total_space),1)])]),d("div",n5,[d("div",s5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt("width: "+r.ram_percent_usage+"%;")},null,4)])])]),d("div",o5,[r5,d("div",i5,[d("div",null,[a5,ye(Z(r.disk_available_space),1)]),d("div",null,[l5,ye(" "+Z(r.disk_binding_models_usage)+" / "+Z(r.disk_total_space),1)])]),d("div",c5,[d("div",u5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt("width: "+r.disk_percent_usage+"%;")},null,4)])])]),d("div",d5,[h5,d("div",f5,[d("div",null,[p5,ye(Z(r.vram_available_space),1)]),d("div",null,[g5,ye(" "+Z(r.vram_usage)+" / "+Z(r.vram_total_space),1)])]),d("div",m5,[d("div",_5,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt("width: "+r.vram_percent_usage+"%;")},null,4)])])])],2)]),d("div",y5,[d("div",b5,[d("button",{onClick:e[7]||(e[7]=le(g=>o.bzc_collapsed=!o.bzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex flex-row items-center"},[v5,x5,o.configFile.binding_name?H("",!0):(T(),D("div",w5,[k5,ye(" No binding selected! ")])),o.configFile.binding_name?(T(),D("div",C5,"|")):H("",!0),o.configFile.binding_name?(T(),D("div",E5,[d("div",A5,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,S5),d("h3",T5,Z(r.binding_name),1)])])):H("",!0)])]),d("div",{class:De([{hidden:o.bzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.bindings.length>0?(T(),D("div",M5,[d("label",D5," Bindings: ("+Z(o.bindings.length)+") ",1),d("div",{class:De(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.bzl_collapsed?"":"max-h-96"])},[Ee(en,{name:"list"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(o.bindings,(g,m)=>(T(),it(i,{ref_for:!0,ref:"bindingZoo",key:"index-"+m+"-"+g.folder,binding:g,"on-selected":r.onSelectedBinding,"on-reinstall":r.onReinstallBinding,"on-install":r.onInstallBinding,"on-settings":r.onSettingsBinding,selected:g.folder===o.configFile.binding_name},null,8,["binding","on-selected","on-reinstall","on-install","on-settings","selected"]))),128))]),_:1})],2)])):H("",!0),o.bzl_collapsed?(T(),D("button",{key:1,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[8]||(e[8]=g=>o.bzl_collapsed=!o.bzl_collapsed)},O5)):(T(),D("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[9]||(e[9]=g=>o.bzl_collapsed=!o.bzl_collapsed)},P5))],2)]),d("div",R5,[d("div",I5,[d("button",{onClick:e[10]||(e[10]=le(g=>o.mzc_collapsed=!o.mzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,F5),q5,d("div",$5,[o.configFile.binding_name?H("",!0):(T(),D("div",z5,[B5,ye(" Select binding first! ")])),!o.isModelSelected&&o.configFile.binding_name?(T(),D("div",N5,[U5,ye(" No model selected! ")])):H("",!0),o.configFile.model_name?(T(),D("div",H5,"|")):H("",!0),o.configFile.model_name?(T(),D("div",V5,[d("div",G5,[d("img",{src:r.imgModel,class:"w-8 h-8 rounded-lg object-fill"},null,8,K5),d("h3",W5,Z(o.configFile.model_name),1)])])):H("",!0)])])]),d("div",{class:De([{hidden:o.mzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[o.configFile.binding_name?(T(),D("div",Z5)):H("",!0),o.models.length>0?(T(),D("div",J5,[d("label",Y5," Models: ("+Z(o.models.length)+") ",1),d("div",{class:De(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.mzl_collapsed?"":"max-h-96"])},[Ee(en,{name:"list"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(o.models,(g,m)=>(T(),it(a,{ref_for:!0,ref:"modelZoo",key:"index-"+m+"-"+g.title,title:g.title,icon:g.icon,path:g.path,owner:g.owner,owner_link:g.owner_link,license:g.license,description:g.description,"is-installed":g.isInstalled,"on-install":r.onInstall,"on-uninstall":r.onUninstall,"on-selected":r.onSelected,selected:g.title===o.configFile.model_name,model:g,model_type:g.model_type,"on-copy":r.onCopy,"on-copy-link":r.onCopyLink,"on-cancel-install":r.onCancelInstall},null,8,["title","icon","path","owner","owner_link","license","description","is-installed","on-install","on-uninstall","on-selected","selected","model","model_type","on-copy","on-copy-link","on-cancel-install"]))),128))]),_:1})],2)])):H("",!0),o.mzl_collapsed?(T(),D("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[11]||(e[11]=g=>o.mzl_collapsed=!o.mzl_collapsed)},X5)):(T(),D("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[12]||(e[12]=g=>o.mzl_collapsed=!o.mzl_collapsed)},t4))],2)]),d("div",n4,[d("div",s4,[d("button",{onClick:e[13]||(e[13]=le(g=>o.mzdc_collapsed=!o.mzdc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mzdc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,o4),r4,o.configFile.binding_name?H("",!0):(T(),D("div",i4,[a4,ye(" No binding selected! ")])),o.configFile.binding_name?(T(),D("div",l4,"|")):H("",!0),o.configFile.binding_name?(T(),D("div",c4,[d("div",u4,[d("img",{src:r.imgBinding,class:"w-8 h-8 rounded-full object-fill text-blue-700"},null,8,d4),d("h3",h4,Z(r.binding_name),1)])])):H("",!0)])]),d("div",{class:De([{hidden:o.mzdc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",f4,[o.modelDownlaodInProgress?H("",!0):(T(),D("div",p4,[d("form",null,[d("div",g4,[m4,d("input",{onChange:e[14]||(e[14]=(...g)=>r.setFileList&&r.setFileList(...g)),class:"block w-full text-sm text-gray-900 border border-gray-300 rounded-lg cursor-pointer bg-gray-50 dark:text-gray-400 focus:outline-none dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400",ref:"fileDialogAddModel",type:"file",multiple:""},null,544)]),d("button",{type:"button",onClick:e[15]||(e[15]=le((...g)=>r.uploadLocalModel&&r.uploadLocalModel(...g),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Upload")])])),d("div",_4,[o.modelDownlaodInProgress?H("",!0):(T(),D("div",y4,[d("div",b4,[v4,Te(d("input",{type:"text","onUpdate:modelValue":e[16]||(e[16]=g=>o.addModel.url=g),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",placeholder:"url",required:""},null,512),[[$e,o.addModel.url]])]),d("button",{type:"button",onClick:e[17]||(e[17]=le(g=>r.onInstallAddModel(),["stop"])),class:"text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto px-5 py-2.5 text-center dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"},"Download")])),o.modelDownlaodInProgress?(T(),D("div",x4,[w4,d("div",k4,[d("div",C4,[d("div",E4,[A4,d("span",S4,Z(Math.floor(o.addModel.progress))+"%",1)]),d("div",{class:"mx-1 opacity-80 line-clamp-1",title:o.addModel.url},Z(o.addModel.url),9,T4),d("div",M4,[d("div",{class:"bg-blue-600 h-2.5 rounded-full",style:Qt({width:o.addModel.progress+"%"})},null,4)]),d("div",D4,[d("span",L4,"Download speed: "+Z(r.speed_computed)+"/s",1),d("span",O4,Z(r.downloaded_size_computed)+"/"+Z(r.total_size_computed),1)])])]),d("div",j4,[d("div",P4,[d("div",R4,[d("button",{onClick:e[18]||(e[18]=le((...g)=>r.onCancelInstall&&r.onCancelInstall(...g),["stop"])),type:"button",title:"Cancel download",class:"text-gray-500 bg-white hover:bg-gray-100 focus:ring-4 focus:outline-none focus:ring-gray-200 rounded-lg border border-gray-200 text-sm font-medium px-5 py-2.5 hover:text-gray-900 focus:z-10 dark:bg-gray-700 dark:text-gray-300 dark:border-gray-500 dark:hover:text-white dark:hover:bg-gray-600 dark:focus:ring-gray-600"}," Cancel ")])])])])):H("",!0)])])],2)]),d("div",I4,[d("div",F4,[d("button",{onClick:e[20]||(e[20]=le(g=>o.pzc_collapsed=!o.pzc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 text-left w-full flex items-center"},[d("i",{"data-feather":o.pzc_collapsed?"chevron-right":"chevron-down",class:"mr-2 flex-shrink-0"},null,8,q4),$4,o.configFile.personalities?(T(),D("div",z4,"|")):H("",!0),d("div",B4,Z(r.active_pesonality),1),o.configFile.personalities?(T(),D("div",N4,"|")):H("",!0),o.configFile.personalities?(T(),D("div",U4,[o.mountedPersArr.length>0?(T(),D("div",H4,[(T(!0),D(Ie,null,rt(o.mountedPersArr,(g,m)=>(T(),D("div",{class:"relative hover:-translate-y-2 duration-300 hover:z-10 shrink-0",key:m+"-"+g.name,ref_for:!0,ref:"mountedPersonalities"},[d("div",V4,[d("button",{onClick:le(w=>r.onPersonalitySelected(g),["stop"])},[d("img",{src:o.bUrl+g.avatar,onError:e[19]||(e[19]=(...w)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...w)),class:De(["w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 group-hover:border-secondary",o.configFile.active_personality_id==o.configFile.personalities.indexOf(g.full_path)?"border-secondary":"border-transparent z-0"]),title:g.name},null,42,K4)],8,G4),d("button",{onClick:le(w=>r.onPersonalityMounted(g),["stop"])},J4,8,W4)])]))),128))])):H("",!0)])):H("",!0)])]),d("div",{class:De([{hidden:o.pzc_collapsed},"flex flex-col mb-2 px-3 pb-0"])},[d("div",Y4,[d("form",null,[Q4,d("div",X4,[d("div",e3,[o.searchPersonalityInProgress?(T(),D("div",t3,s3)):H("",!0),o.searchPersonalityInProgress?H("",!0):(T(),D("div",o3,i3))]),Te(d("input",{type:"search",id:"personality-search",class:"block w-full p-4 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50 focus:ring-blue-500 focus:border-blue-500 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",placeholder:"Search personality...",required:"","onUpdate:modelValue":e[21]||(e[21]=g=>o.searchPersonality=g),onKeyup:e[22]||(e[22]=le((...g)=>r.searchPersonality_func&&r.searchPersonality_func(...g),["stop"]))},null,544),[[$e,o.searchPersonality]]),o.searchPersonality?(T(),D("button",{key:0,onClick:e[23]||(e[23]=le(g=>o.searchPersonality="",["stop"])),type:"button",class:"text-white absolute right-2.5 bottom-2.5 bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-4 py-2 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800"}," Clear search")):H("",!0)])])]),o.searchPersonality?H("",!0):(T(),D("div",a3,[d("label",l3," Personalities Languages: ("+Z(o.persLangArr.length)+") ",1),d("select",{id:"persLang",onChange:e[24]||(e[24]=g=>r.update_setting("personality_language",g.target.value,r.refresh)),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"},[(T(!0),D(Ie,null,rt(o.persLangArr,g=>(T(),D("option",{selected:g===this.configFile.personality_language},Z(g),9,c3))),256))],32)])),o.searchPersonality?H("",!0):(T(),D("div",u3,[d("label",d3," Personalities Category: ("+Z(o.persCatgArr.length)+") ",1),d("select",{id:"persCat",onChange:e[25]||(e[25]=g=>r.update_setting("personality_category",g.target.value,r.refresh)),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"},[(T(!0),D(Ie,null,rt(o.persCatgArr,(g,m)=>(T(),D("option",{key:m,selected:g==this.configFile.personality_category},Z(g),9,h3))),128))],32)])),d("div",null,[o.personalitiesFiltered.length>0?(T(),D("div",f3,[d("label",p3," Personalities: ("+Z(o.personalitiesFiltered.length)+") ",1),d("div",{class:De(["overflow-y-auto no-scrollbar p-2 pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4",o.pzl_collapsed?"":"max-h-96"])},[Ee(en,{name:"bounce"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(o.personalitiesFiltered,(g,m)=>(T(),it(l,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+m+"-"+g.name,personality:g,full_path:g.full_path,selected:o.configFile.active_personality_id==o.configFile.personalities.findIndex(w=>w===g.full_path),"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})],2)])):H("",!0)]),o.pzl_collapsed?(T(),D("button",{key:2,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Collapse",type:"button",onClick:e[26]||(e[26]=g=>o.pzl_collapsed=!o.pzl_collapsed)},m3)):(T(),D("button",{key:3,class:"text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Expand",type:"button",onClick:e[27]||(e[27]=g=>o.pzl_collapsed=!o.pzl_collapsed)},y3))],2)]),d("div",b3,[d("div",v3,[d("button",{onClick:e[28]||(e[28]=le(g=>o.mc_collapsed=!o.mc_collapsed,["stop"])),class:"text-2xl hover:text-primary p-2 -m-2 w-full text-left flex items-center"},[d("i",{"data-feather":o.mc_collapsed?"chevron-right":"chevron-down",class:"mr-2"},null,8,x3),w3])]),d("div",{class:De([{hidden:o.mc_collapsed},"flex flex-col mb-2 p-2"])},[d("div",k3,[d("div",C3,[Te(d("input",{id:"override-model-parameters",type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[29]||(e[29]=le(()=>{},["stop"])),"onUpdate:modelValue":e[30]||(e[30]=g=>o.configFile.override_personality_model_parameters=g),onChange:e[31]||(e[31]=g=>r.update_setting("override_personality_model_parameters",o.configFile.override_personality_model_parameters))},null,544),[[gn,o.configFile.override_personality_model_parameters]]),E3])]),d("div",{class:De(o.configFile.override_personality_model_parameters?"":"pointer-events-none opacity-30")},[d("div",A3,[S3,Te(d("input",{type:"text",id:"seed","onUpdate:modelValue":e[32]||(e[32]=g=>o.configFile.seed=g),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),[[$e,o.configFile.seed]])]),d("div",T3,[d("div",M3,[d("div",D3,[L3,d("p",O3,[Te(d("input",{type:"text",id:"temp-val","onUpdate:modelValue":e[33]||(e[33]=g=>o.configFile.temperature=g),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),[[$e,o.configFile.temperature]])])]),Te(d("input",{id:"temperature",onChange:e[34]||(e[34]=g=>r.update_setting("temperature",g.target.value)),type:"range","onUpdate:modelValue":e[35]||(e[35]=g=>o.configFile.temperature=g),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,544),[[$e,o.configFile.temperature]])])]),d("div",j3,[d("div",P3,[d("div",R3,[I3,d("p",F3,[Te(d("input",{type:"text",id:"predict-val","onUpdate:modelValue":e[36]||(e[36]=g=>o.configFile.n_predict=g),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),[[$e,o.configFile.n_predict]])])]),Te(d("input",{id:"predict",onChange:e[37]||(e[37]=g=>r.update_setting("n_predict",g.target.value)),type:"range","onUpdate:modelValue":e[38]||(e[38]=g=>o.configFile.n_predict=g),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,544),[[$e,o.configFile.n_predict]])])]),d("div",q3,[d("div",$3,[d("div",z3,[B3,d("p",N3,[Te(d("input",{type:"text",id:"top_k-val","onUpdate:modelValue":e[39]||(e[39]=g=>o.configFile.top_k=g),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),[[$e,o.configFile.top_k]])])]),Te(d("input",{id:"top_k",onChange:e[40]||(e[40]=g=>r.update_setting("top_k",g.target.value)),type:"range","onUpdate:modelValue":e[41]||(e[41]=g=>o.configFile.top_k=g),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,544),[[$e,o.configFile.top_k]])])]),d("div",U3,[d("div",H3,[d("div",V3,[G3,d("p",K3,[Te(d("input",{type:"text",id:"top_p-val","onUpdate:modelValue":e[42]||(e[42]=g=>o.configFile.top_p=g),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),[[$e,o.configFile.top_p]])])]),Te(d("input",{id:"top_p",onChange:e[43]||(e[43]=g=>r.update_setting("top_p",g.target.value)),type:"range","onUpdate:modelValue":e[44]||(e[44]=g=>o.configFile.top_p=g),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,544),[[$e,o.configFile.top_p]])])]),d("div",W3,[d("div",Z3,[d("div",J3,[Y3,d("p",Q3,[Te(d("input",{type:"text",id:"repeat_penalty-val","onUpdate:modelValue":e[45]||(e[45]=g=>o.configFile.repeat_penalty=g),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),[[$e,o.configFile.repeat_penalty]])])]),Te(d("input",{id:"repeat_penalty",onChange:e[46]||(e[46]=g=>r.update_setting("repeat_penalty",g.target.value)),type:"range","onUpdate:modelValue":e[47]||(e[47]=g=>o.configFile.repeat_penalty=g),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,544),[[$e,o.configFile.repeat_penalty]])])]),d("div",X3,[d("div",e8,[d("div",t8,[n8,d("p",s8,[Te(d("input",{type:"text",id:"repeat_last_n-val","onUpdate:modelValue":e[48]||(e[48]=g=>o.configFile.repeat_last_n=g),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),[[$e,o.configFile.repeat_last_n]])])]),Te(d("input",{id:"repeat_last_n",onChange:e[49]||(e[49]=g=>r.update_setting("repeat_last_n",g.target.value)),type:"range","onUpdate:modelValue":e[50]||(e[50]=g=>o.configFile.repeat_last_n=g),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,544),[[$e,o.configFile.repeat_last_n]])])])],2)],2)])],2)]),Ee(c,{ref:"yesNoDialog",class:"z-20"},null,512),Ee(u,{ref:"addmodeldialog"},null,512),Ee(h,{ref:"messageBox"},null,512),Ee(f,{ref:"toast"},null,512),Ee(p,{ref:"universalForm",class:"z-20"},null,512)],64)}const r8=Ve(pk,[["render",o8],["__scopeId","data-v-b87d317a"]]),i8={data(){return{model_name:"jondurbin/airoboros-7b-gpt4",tokenizer_name:"jondurbin/airoboros-7b-gpt4",dataset_path:"",max_length:1024,batch_size:4,lr:5e-5,num_epochs:2,selectedFolder:"",selectedDatasetPath:""}},methods:{submitForm(){this.model_name,this.tokenizer_name,this.selectedDatasetPath,this.max_length,this.batch_size,this.lr,this.num_epochs,this.selectedFolder},openFolderSelector(){this.$refs.folder_selector.click()},selectOutputDirectory(t){var n;console.log("here");const e=(n=t.target.files[0])==null?void 0:n.path;console.log(e),e&&(this.selectedFolder=e)},selectDatasetPath(t){const e=t.target.files;e.length>0&&(this.selectedDatasetPath=e[0].webkitRelativePath)}}},a8={class:"container overflow-y-scroll flex flex-col no-scrollbar shadow-lg p-10 pt-2 bg-bg-light-tone dark:bg-bg-dark-tone"},l8={class:"mb-4"},c8=d("label",{for:"model_name",class:"text-sm"},"Model Name:",-1),u8={class:"mb-4"},d8=d("label",{for:"tokenizer_name",class:"text-sm"},"Tokenizer Name:",-1),h8={class:"mb-4"},f8=d("label",{for:"dataset_path",class:"text-sm"},"Dataset:",-1),p8={class:"mt-2 text-xs"},g8={class:"mb-4"},m8=d("label",{for:"max_length",class:"text-sm"},"Max Length:",-1),_8={class:"mb-4"},y8=d("label",{for:"batch_size",class:"text-sm"},"Batch Size:",-1),b8={class:"mb-4"},v8=d("label",{for:"lr",class:"text-sm"},"Learning Rate:",-1),x8={class:"mb-4"},w8=d("label",{for:"num_epochs",class:"text-sm"},"Number of Epochs:",-1),k8={class:"mb-4"},C8=d("label",{for:"output_dir",class:"text-sm"},"Output Directory:",-1),E8=d("button",{type:"submit",class:"bg-blue-500 text-white px-4 py-2 rounded"},"Train LLM",-1);function A8(t,e,n,s,o,r){return T(),D("div",a8,[d("form",{onSubmit:e[10]||(e[10]=le((...i)=>r.submitForm&&r.submitForm(...i),["prevent"])),class:"max-w-md mx-auto"},[d("div",l8,[c8,Te(d("input",{type:"text",id:"model_name","onUpdate:modelValue":e[0]||(e[0]=i=>o.model_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[$e,o.model_name]])]),d("div",u8,[d8,Te(d("input",{type:"text",id:"tokenizer_name","onUpdate:modelValue":e[1]||(e[1]=i=>o.tokenizer_name=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[$e,o.tokenizer_name]])]),d("div",h8,[f8,d("input",{type:"file",id:"dataset_path",ref:"dataset_path",accept:".parquet",onChange:e[2]||(e[2]=(...i)=>r.selectDatasetPath&&r.selectDatasetPath(...i)),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,544),d("p",p8,"Selected File: "+Z(o.selectedDatasetPath),1)]),d("div",g8,[m8,Te(d("input",{type:"number",id:"max_length","onUpdate:modelValue":e[3]||(e[3]=i=>o.max_length=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[$e,o.max_length,void 0,{number:!0}]])]),d("div",_8,[y8,Te(d("input",{type:"number",id:"batch_size","onUpdate:modelValue":e[4]||(e[4]=i=>o.batch_size=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[$e,o.batch_size,void 0,{number:!0}]])]),d("div",b8,[v8,Te(d("input",{type:"number",id:"lr","onUpdate:modelValue":e[5]||(e[5]=i=>o.lr=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[$e,o.lr,void 0,{number:!0}]])]),d("div",x8,[w8,Te(d("input",{type:"number",id:"num_epochs","onUpdate:modelValue":e[6]||(e[6]=i=>o.num_epochs=i),required:"",class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded"},null,512),[[$e,o.num_epochs,void 0,{number:!0}]])]),d("div",k8,[C8,Te(d("input",{type:"text",id:"output_dir","onUpdate:modelValue":e[7]||(e[7]=i=>o.selectedFolder=i),class:"w-full mt-1 px-2 py-1 border border-gray-300 rounded",placeholder:"Enter or select the output folder"},null,512),[[$e,o.selectedFolder]]),d("input",{type:"file",id:"folder_selector",ref:"folder_selector",style:{display:"none"},webkitdirectory:"",onChange:e[8]||(e[8]=(...i)=>r.selectOutputDirectory&&r.selectOutputDirectory(...i))},null,544),d("button",{type:"button",onClick:e[9]||(e[9]=(...i)=>r.openFolderSelector&&r.openFolderSelector(...i)),class:"bg-blue-500 text-white px-4 py-2 rounded"},"Select Folder")]),E8],32)])}const S8=Ve(i8,[["render",A8]]),T8={name:"Discussion",emits:["delete","select","editTitle","checked"],props:{id:Number,title:String,selected:Boolean,loading:Boolean,isCheckbox:Boolean,checkBoxValue:Boolean},setup(){},data(){return{showConfirmation:!1,editTitleMode:!1,editTitle:!1,newTitle:String,checkBoxValue_local:!1}},methods:{deleteEvent(){this.showConfirmation=!1,this.$emit("delete")},selectEvent(){this.$emit("select")},editTitleEvent(){this.editTitle=!1,this.editTitleMode=!1,this.showConfirmation=!1,this.$emit("editTitle",{title:this.newTitle,id:this.id})},chnageTitle(t){this.newTitle=t},checkedChangeEvent(t,e){this.$emit("checked",t,e)}},mounted(){this.newTitle=this.title,fe(()=>{ke.replace()})},watch:{showConfirmation(){fe(()=>{ke.replace()})},editTitleMode(t){this.showConfirmation=t,this.editTitle=t,t&&fe(()=>{this.$refs.titleBox.focus()})},checkBoxValue(t,e){this.checkBoxValue_local=t}}},M8=["id"],D8={class:"flex flex-row items-center gap-2"},L8={key:0},O8=["title"],j8=["value"],P8={class:"flex items-center flex-1 max-h-6"},R8={key:0,class:"flex gap-3 flex-1 items-center justify-end duration-75"},I8=d("i",{"data-feather":"check"},null,-1),F8=[I8],q8=d("i",{"data-feather":"x"},null,-1),$8=[q8],z8={key:1,class:"flex gap-3 flex-1 items-center justify-end duration-75"},B8=d("i",{"data-feather":"x"},null,-1),N8=[B8],U8=d("i",{"data-feather":"check"},null,-1),H8=[U8],V8={key:2,class:"flex gap-3 flex-1 items-center justify-end invisible group-hover:visible duration-75"},G8=d("i",{"data-feather":"edit-2"},null,-1),K8=[G8],W8=d("i",{"data-feather":"trash"},null,-1),Z8=[W8];function J8(t,e,n,s,o,r){return T(),D("div",{class:De([n.selected?"bg-bg-light-discussion dark:bg-bg-dark-discussion shadow-md":"","flex flex-row sm:flex-row item-center shadow-sm 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"]),id:"dis-"+n.id,onClick:e[13]||(e[13]=le(i=>r.selectEvent(),["stop"]))},[d("div",D8,[n.isCheckbox?(T(),D("div",L8,[Te(d("input",{type:"checkbox",class:"w-4 h-4 text-blue-600 bg-gray-100 border-gray-300 rounded focus:ring-blue-500 dark:focus:ring-blue-600 dark:ring-offset-gray-700 dark:focus:ring-offset-gray-700 focus:ring-2 dark:bg-gray-600 dark:border-gray-500",onClick:e[0]||(e[0]=le(()=>{},["stop"])),"onUpdate:modelValue":e[1]||(e[1]=i=>o.checkBoxValue_local=i),onInput:e[2]||(e[2]=i=>r.checkedChangeEvent(i,n.id))},null,544),[[gn,o.checkBoxValue_local]])])):H("",!0),n.selected?(T(),D("div",{key:1,class:De(["min-h-full w-2 rounded-xl self-stretch",n.loading?"animate-bounce bg-accent ":" bg-secondary "])},null,2)):H("",!0),n.selected?H("",!0):(T(),D("div",{key:2,class:De(["w-2",n.loading?"min-h-full w-2 rounded-xl self-stretch animate-bounce bg-accent ":" "])},null,2))]),o.editTitle?H("",!0):(T(),D("p",{key:0,title:n.title,class:"line-clamp-1 w-full ml-1 -mx-5"},Z(n.title?n.title==="untitled"?"New discussion":n.title:"New discussion"),9,O8)),o.editTitle?(T(),D("input",{key:1,type:"text",id:"title-box",ref:"titleBox",class:"bg-bg-light dark:bg-bg-dark rounded-md border-0 w-full -m-1 p-1",value:n.title,required:"",onKeydown:[e[3]||(e[3]=Qi(le(i=>r.editTitleEvent(),["exact"]),["enter"])),e[4]||(e[4]=Qi(le(i=>o.editTitleMode=!1,["exact"]),["esc"]))],onInput:e[5]||(e[5]=i=>r.chnageTitle(i.target.value)),onClick:e[6]||(e[6]=le(()=>{},["stop"]))},null,40,j8)):H("",!0),d("div",P8,[o.showConfirmation&&!o.editTitleMode?(T(),D("div",R8,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=le(i=>r.deleteEvent(),["stop"]))},F8),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:e[8]||(e[8]=le(i=>o.showConfirmation=!1,["stop"]))},$8)])):H("",!0),o.showConfirmation&&o.editTitleMode?(T(),D("div",z8,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Discard title changes",type:"button",onClick:e[9]||(e[9]=le(i=>o.editTitleMode=!1,["stop"]))},N8),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm title changes",type:"button",onClick:e[10]||(e[10]=le(i=>r.editTitleEvent(),["stop"]))},H8)])):H("",!0),o.showConfirmation?H("",!0):(T(),D("div",V8,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Edit title",type:"button",onClick:e[11]||(e[11]=le(i=>o.editTitleMode=!0,["stop"]))},K8),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove discussion",type:"button",onClick:e[12]||(e[12]=le(i=>o.showConfirmation=!0,["stop"]))},Z8)]))])],10,M8)}const bf=Ve(T8,[["render",J8]]);var Fe={};const Y8="Á",Q8="á",X8="Ă",e9="ă",t9="∾",n9="∿",s9="∾̳",o9="Â",r9="â",i9="´",a9="А",l9="а",c9="Æ",u9="æ",d9="⁡",h9="𝔄",f9="𝔞",p9="À",g9="à",m9="ℵ",_9="ℵ",y9="Α",b9="α",v9="Ā",x9="ā",w9="⨿",k9="&",C9="&",E9="⩕",A9="⩓",S9="∧",T9="⩜",M9="⩘",D9="⩚",L9="∠",O9="⦤",j9="∠",P9="⦨",R9="⦩",I9="⦪",F9="⦫",q9="⦬",$9="⦭",z9="⦮",B9="⦯",N9="∡",U9="∟",H9="⊾",V9="⦝",G9="∢",K9="Å",W9="⍼",Z9="Ą",J9="ą",Y9="𝔸",Q9="𝕒",X9="⩯",eC="≈",tC="⩰",nC="≊",sC="≋",oC="'",rC="⁡",iC="≈",aC="≊",lC="Å",cC="å",uC="𝒜",dC="𝒶",hC="≔",fC="*",pC="≈",gC="≍",mC="Ã",_C="ã",yC="Ä",bC="ä",vC="∳",xC="⨑",wC="≌",kC="϶",CC="‵",EC="∽",AC="⋍",SC="∖",TC="⫧",MC="⊽",DC="⌅",LC="⌆",OC="⌅",jC="⎵",PC="⎶",RC="≌",IC="Б",FC="б",qC="„",$C="∵",zC="∵",BC="∵",NC="⦰",UC="϶",HC="ℬ",VC="ℬ",GC="Β",KC="β",WC="ℶ",ZC="≬",JC="𝔅",YC="𝔟",QC="⋂",XC="◯",e6="⋃",t6="⨀",n6="⨁",s6="⨂",o6="⨆",r6="★",i6="▽",a6="△",l6="⨄",c6="⋁",u6="⋀",d6="⤍",h6="⧫",f6="▪",p6="▴",g6="▾",m6="◂",_6="▸",y6="␣",b6="▒",v6="░",x6="▓",w6="█",k6="=⃥",C6="≡⃥",E6="⫭",A6="⌐",S6="𝔹",T6="𝕓",M6="⊥",D6="⊥",L6="⋈",O6="⧉",j6="┐",P6="╕",R6="╖",I6="╗",F6="┌",q6="╒",$6="╓",z6="╔",B6="─",N6="═",U6="┬",H6="╤",V6="╥",G6="╦",K6="┴",W6="╧",Z6="╨",J6="╩",Y6="⊟",Q6="⊞",X6="⊠",eE="┘",tE="╛",nE="╜",sE="╝",oE="└",rE="╘",iE="╙",aE="╚",lE="│",cE="║",uE="┼",dE="╪",hE="╫",fE="╬",pE="┤",gE="╡",mE="╢",_E="╣",yE="├",bE="╞",vE="╟",xE="╠",wE="‵",kE="˘",CE="˘",EE="¦",AE="𝒷",SE="ℬ",TE="⁏",ME="∽",DE="⋍",LE="⧅",OE="\\",jE="⟈",PE="•",RE="•",IE="≎",FE="⪮",qE="≏",$E="≎",zE="≏",BE="Ć",NE="ć",UE="⩄",HE="⩉",VE="⩋",GE="∩",KE="⋒",WE="⩇",ZE="⩀",JE="ⅅ",YE="∩︀",QE="⁁",XE="ˇ",e7="ℭ",t7="⩍",n7="Č",s7="č",o7="Ç",r7="ç",i7="Ĉ",a7="ĉ",l7="∰",c7="⩌",u7="⩐",d7="Ċ",h7="ċ",f7="¸",p7="¸",g7="⦲",m7="¢",_7="·",y7="·",b7="𝔠",v7="ℭ",x7="Ч",w7="ч",k7="✓",C7="✓",E7="Χ",A7="χ",S7="ˆ",T7="≗",M7="↺",D7="↻",L7="⊛",O7="⊚",j7="⊝",P7="⊙",R7="®",I7="Ⓢ",F7="⊖",q7="⊕",$7="⊗",z7="○",B7="⧃",N7="≗",U7="⨐",H7="⫯",V7="⧂",G7="∲",K7="”",W7="’",Z7="♣",J7="♣",Y7=":",Q7="∷",X7="⩴",eA="≔",tA="≔",nA=",",sA="@",oA="∁",rA="∘",iA="∁",aA="ℂ",lA="≅",cA="⩭",uA="≡",dA="∮",hA="∯",fA="∮",pA="𝕔",gA="ℂ",mA="∐",_A="∐",yA="©",bA="©",vA="℗",xA="∳",wA="↵",kA="✗",CA="⨯",EA="𝒞",AA="𝒸",SA="⫏",TA="⫑",MA="⫐",DA="⫒",LA="⋯",OA="⤸",jA="⤵",PA="⋞",RA="⋟",IA="↶",FA="⤽",qA="⩈",$A="⩆",zA="≍",BA="∪",NA="⋓",UA="⩊",HA="⊍",VA="⩅",GA="∪︀",KA="↷",WA="⤼",ZA="⋞",JA="⋟",YA="⋎",QA="⋏",XA="¤",eS="↶",tS="↷",nS="⋎",sS="⋏",oS="∲",rS="∱",iS="⌭",aS="†",lS="‡",cS="ℸ",uS="↓",dS="↡",hS="⇓",fS="‐",pS="⫤",gS="⊣",mS="⤏",_S="˝",yS="Ď",bS="ď",vS="Д",xS="д",wS="‡",kS="⇊",CS="ⅅ",ES="ⅆ",AS="⤑",SS="⩷",TS="°",MS="∇",DS="Δ",LS="δ",OS="⦱",jS="⥿",PS="𝔇",RS="𝔡",IS="⥥",FS="⇃",qS="⇂",$S="´",zS="˙",BS="˝",NS="`",US="˜",HS="⋄",VS="⋄",GS="⋄",KS="♦",WS="♦",ZS="¨",JS="ⅆ",YS="ϝ",QS="⋲",XS="÷",eT="÷",tT="⋇",nT="⋇",sT="Ђ",oT="ђ",rT="⌞",iT="⌍",aT="$",lT="𝔻",cT="𝕕",uT="¨",dT="˙",hT="⃜",fT="≐",pT="≑",gT="≐",mT="∸",_T="∔",yT="⊡",bT="⌆",vT="∯",xT="¨",wT="⇓",kT="⇐",CT="⇔",ET="⫤",AT="⟸",ST="⟺",TT="⟹",MT="⇒",DT="⊨",LT="⇑",OT="⇕",jT="∥",PT="⤓",RT="↓",IT="↓",FT="⇓",qT="⇵",$T="̑",zT="⇊",BT="⇃",NT="⇂",UT="⥐",HT="⥞",VT="⥖",GT="↽",KT="⥟",WT="⥗",ZT="⇁",JT="↧",YT="⊤",QT="⤐",XT="⌟",eM="⌌",tM="𝒟",nM="𝒹",sM="Ѕ",oM="ѕ",rM="⧶",iM="Đ",aM="đ",lM="⋱",cM="▿",uM="▾",dM="⇵",hM="⥯",fM="⦦",pM="Џ",gM="џ",mM="⟿",_M="É",yM="é",bM="⩮",vM="Ě",xM="ě",wM="Ê",kM="ê",CM="≖",EM="≕",AM="Э",SM="э",TM="⩷",MM="Ė",DM="ė",LM="≑",OM="ⅇ",jM="≒",PM="𝔈",RM="𝔢",IM="⪚",FM="È",qM="è",$M="⪖",zM="⪘",BM="⪙",NM="∈",UM="⏧",HM="ℓ",VM="⪕",GM="⪗",KM="Ē",WM="ē",ZM="∅",JM="∅",YM="◻",QM="∅",XM="▫",eD=" ",tD=" ",nD=" ",sD="Ŋ",oD="ŋ",rD=" ",iD="Ę",aD="ę",lD="𝔼",cD="𝕖",uD="⋕",dD="⧣",hD="⩱",fD="ε",pD="Ε",gD="ε",mD="ϵ",_D="≖",yD="≕",bD="≂",vD="⪖",xD="⪕",wD="⩵",kD="=",CD="≂",ED="≟",AD="⇌",SD="≡",TD="⩸",MD="⧥",DD="⥱",LD="≓",OD="ℯ",jD="ℰ",PD="≐",RD="⩳",ID="≂",FD="Η",qD="η",$D="Ð",zD="ð",BD="Ë",ND="ë",UD="€",HD="!",VD="∃",GD="∃",KD="ℰ",WD="ⅇ",ZD="ⅇ",JD="≒",YD="Ф",QD="ф",XD="♀",eL="ffi",tL="ff",nL="ffl",sL="𝔉",oL="𝔣",rL="fi",iL="◼",aL="▪",lL="fj",cL="♭",uL="fl",dL="▱",hL="ƒ",fL="𝔽",pL="𝕗",gL="∀",mL="∀",_L="⋔",yL="⫙",bL="ℱ",vL="⨍",xL="½",wL="⅓",kL="¼",CL="⅕",EL="⅙",AL="⅛",SL="⅔",TL="⅖",ML="¾",DL="⅗",LL="⅜",OL="⅘",jL="⅚",PL="⅝",RL="⅞",IL="⁄",FL="⌢",qL="𝒻",$L="ℱ",zL="ǵ",BL="Γ",NL="γ",UL="Ϝ",HL="ϝ",VL="⪆",GL="Ğ",KL="ğ",WL="Ģ",ZL="Ĝ",JL="ĝ",YL="Г",QL="г",XL="Ġ",eO="ġ",tO="≥",nO="≧",sO="⪌",oO="⋛",rO="≥",iO="≧",aO="⩾",lO="⪩",cO="⩾",uO="⪀",dO="⪂",hO="⪄",fO="⋛︀",pO="⪔",gO="𝔊",mO="𝔤",_O="≫",yO="⋙",bO="⋙",vO="ℷ",xO="Ѓ",wO="ѓ",kO="⪥",CO="≷",EO="⪒",AO="⪤",SO="⪊",TO="⪊",MO="⪈",DO="≩",LO="⪈",OO="≩",jO="⋧",PO="𝔾",RO="𝕘",IO="`",FO="≥",qO="⋛",$O="≧",zO="⪢",BO="≷",NO="⩾",UO="≳",HO="𝒢",VO="ℊ",GO="≳",KO="⪎",WO="⪐",ZO="⪧",JO="⩺",YO=">",QO=">",XO="≫",ej="⋗",tj="⦕",nj="⩼",sj="⪆",oj="⥸",rj="⋗",ij="⋛",aj="⪌",lj="≷",cj="≳",uj="≩︀",dj="≩︀",hj="ˇ",fj=" ",pj="½",gj="ℋ",mj="Ъ",_j="ъ",yj="⥈",bj="↔",vj="⇔",xj="↭",wj="^",kj="ℏ",Cj="Ĥ",Ej="ĥ",Aj="♥",Sj="♥",Tj="…",Mj="⊹",Dj="𝔥",Lj="ℌ",Oj="ℋ",jj="⤥",Pj="⤦",Rj="⇿",Ij="∻",Fj="↩",qj="↪",$j="𝕙",zj="ℍ",Bj="―",Nj="─",Uj="𝒽",Hj="ℋ",Vj="ℏ",Gj="Ħ",Kj="ħ",Wj="≎",Zj="≏",Jj="⁃",Yj="‐",Qj="Í",Xj="í",eP="⁣",tP="Î",nP="î",sP="И",oP="и",rP="İ",iP="Е",aP="е",lP="¡",cP="⇔",uP="𝔦",dP="ℑ",hP="Ì",fP="ì",pP="ⅈ",gP="⨌",mP="∭",_P="⧜",yP="℩",bP="IJ",vP="ij",xP="Ī",wP="ī",kP="ℑ",CP="ⅈ",EP="ℐ",AP="ℑ",SP="ı",TP="ℑ",MP="⊷",DP="Ƶ",LP="⇒",OP="℅",jP="∞",PP="⧝",RP="ı",IP="⊺",FP="∫",qP="∬",$P="ℤ",zP="∫",BP="⊺",NP="⋂",UP="⨗",HP="⨼",VP="⁣",GP="⁢",KP="Ё",WP="ё",ZP="Į",JP="į",YP="𝕀",QP="𝕚",XP="Ι",eR="ι",tR="⨼",nR="¿",sR="𝒾",oR="ℐ",rR="∈",iR="⋵",aR="⋹",lR="⋴",cR="⋳",uR="∈",dR="⁢",hR="Ĩ",fR="ĩ",pR="І",gR="і",mR="Ï",_R="ï",yR="Ĵ",bR="ĵ",vR="Й",xR="й",wR="𝔍",kR="𝔧",CR="ȷ",ER="𝕁",AR="𝕛",SR="𝒥",TR="𝒿",MR="Ј",DR="ј",LR="Є",OR="є",jR="Κ",PR="κ",RR="ϰ",IR="Ķ",FR="ķ",qR="К",$R="к",zR="𝔎",BR="𝔨",NR="ĸ",UR="Х",HR="х",VR="Ќ",GR="ќ",KR="𝕂",WR="𝕜",ZR="𝒦",JR="𝓀",YR="⇚",QR="Ĺ",XR="ĺ",eI="⦴",tI="ℒ",nI="Λ",sI="λ",oI="⟨",rI="⟪",iI="⦑",aI="⟨",lI="⪅",cI="ℒ",uI="«",dI="⇤",hI="⤟",fI="←",pI="↞",gI="⇐",mI="⤝",_I="↩",yI="↫",bI="⤹",vI="⥳",xI="↢",wI="⤙",kI="⤛",CI="⪫",EI="⪭",AI="⪭︀",SI="⤌",TI="⤎",MI="❲",DI="{",LI="[",OI="⦋",jI="⦏",PI="⦍",RI="Ľ",II="ľ",FI="Ļ",qI="ļ",$I="⌈",zI="{",BI="Л",NI="л",UI="⤶",HI="“",VI="„",GI="⥧",KI="⥋",WI="↲",ZI="≤",JI="≦",YI="⟨",QI="⇤",XI="←",eF="←",tF="⇐",nF="⇆",sF="↢",oF="⌈",rF="⟦",iF="⥡",aF="⥙",lF="⇃",cF="⌊",uF="↽",dF="↼",hF="⇇",fF="↔",pF="↔",gF="⇔",mF="⇆",_F="⇋",yF="↭",bF="⥎",vF="↤",xF="⊣",wF="⥚",kF="⋋",CF="⧏",EF="⊲",AF="⊴",SF="⥑",TF="⥠",MF="⥘",DF="↿",LF="⥒",OF="↼",jF="⪋",PF="⋚",RF="≤",IF="≦",FF="⩽",qF="⪨",$F="⩽",zF="⩿",BF="⪁",NF="⪃",UF="⋚︀",HF="⪓",VF="⪅",GF="⋖",KF="⋚",WF="⪋",ZF="⋚",JF="≦",YF="≶",QF="≶",XF="⪡",eq="≲",tq="⩽",nq="≲",sq="⥼",oq="⌊",rq="𝔏",iq="𝔩",aq="≶",lq="⪑",cq="⥢",uq="↽",dq="↼",hq="⥪",fq="▄",pq="Љ",gq="љ",mq="⇇",_q="≪",yq="⋘",bq="⌞",vq="⇚",xq="⥫",wq="◺",kq="Ŀ",Cq="ŀ",Eq="⎰",Aq="⎰",Sq="⪉",Tq="⪉",Mq="⪇",Dq="≨",Lq="⪇",Oq="≨",jq="⋦",Pq="⟬",Rq="⇽",Iq="⟦",Fq="⟵",qq="⟵",$q="⟸",zq="⟷",Bq="⟷",Nq="⟺",Uq="⟼",Hq="⟶",Vq="⟶",Gq="⟹",Kq="↫",Wq="↬",Zq="⦅",Jq="𝕃",Yq="𝕝",Qq="⨭",Xq="⨴",e$="∗",t$="_",n$="↙",s$="↘",o$="◊",r$="◊",i$="⧫",a$="(",l$="⦓",c$="⇆",u$="⌟",d$="⇋",h$="⥭",f$="‎",p$="⊿",g$="‹",m$="𝓁",_$="ℒ",y$="↰",b$="↰",v$="≲",x$="⪍",w$="⪏",k$="[",C$="‘",E$="‚",A$="Ł",S$="ł",T$="⪦",M$="⩹",D$="<",L$="<",O$="≪",j$="⋖",P$="⋋",R$="⋉",I$="⥶",F$="⩻",q$="◃",$$="⊴",z$="◂",B$="⦖",N$="⥊",U$="⥦",H$="≨︀",V$="≨︀",G$="¯",K$="♂",W$="✠",Z$="✠",J$="↦",Y$="↦",Q$="↧",X$="↤",ez="↥",tz="▮",nz="⨩",sz="М",oz="м",rz="—",iz="∺",az="∡",lz=" ",cz="ℳ",uz="𝔐",dz="𝔪",hz="℧",fz="µ",pz="*",gz="⫰",mz="∣",_z="·",yz="⊟",bz="−",vz="∸",xz="⨪",wz="∓",kz="⫛",Cz="…",Ez="∓",Az="⊧",Sz="𝕄",Tz="𝕞",Mz="∓",Dz="𝓂",Lz="ℳ",Oz="∾",jz="Μ",Pz="μ",Rz="⊸",Iz="⊸",Fz="∇",qz="Ń",$z="ń",zz="∠⃒",Bz="≉",Nz="⩰̸",Uz="≋̸",Hz="ʼn",Vz="≉",Gz="♮",Kz="ℕ",Wz="♮",Zz=" ",Jz="≎̸",Yz="≏̸",Qz="⩃",Xz="Ň",eB="ň",tB="Ņ",nB="ņ",sB="≇",oB="⩭̸",rB="⩂",iB="Н",aB="н",lB="–",cB="⤤",uB="↗",dB="⇗",hB="↗",fB="≠",pB="≐̸",gB="​",mB="​",_B="​",yB="​",bB="≢",vB="⤨",xB="≂̸",wB="≫",kB="≪",CB=` -`,EB="∄",AB="∄",SB="𝔑",TB="𝔫",MB="≧̸",DB="≱",LB="≱",OB="≧̸",jB="⩾̸",PB="⩾̸",RB="⋙̸",IB="≵",FB="≫⃒",qB="≯",$B="≯",zB="≫̸",BB="↮",NB="⇎",UB="⫲",HB="∋",VB="⋼",GB="⋺",KB="∋",WB="Њ",ZB="њ",JB="↚",YB="⇍",QB="‥",XB="≦̸",eN="≰",tN="↚",nN="⇍",sN="↮",oN="⇎",rN="≰",iN="≦̸",aN="⩽̸",lN="⩽̸",cN="≮",uN="⋘̸",dN="≴",hN="≪⃒",fN="≮",pN="⋪",gN="⋬",mN="≪̸",_N="∤",yN="⁠",bN=" ",vN="𝕟",xN="ℕ",wN="⫬",kN="¬",CN="≢",EN="≭",AN="∦",SN="∉",TN="≠",MN="≂̸",DN="∄",LN="≯",ON="≱",jN="≧̸",PN="≫̸",RN="≹",IN="⩾̸",FN="≵",qN="≎̸",$N="≏̸",zN="∉",BN="⋵̸",NN="⋹̸",UN="∉",HN="⋷",VN="⋶",GN="⧏̸",KN="⋪",WN="⋬",ZN="≮",JN="≰",YN="≸",QN="≪̸",XN="⩽̸",eU="≴",tU="⪢̸",nU="⪡̸",sU="∌",oU="∌",rU="⋾",iU="⋽",aU="⊀",lU="⪯̸",cU="⋠",uU="∌",dU="⧐̸",hU="⋫",fU="⋭",pU="⊏̸",gU="⋢",mU="⊐̸",_U="⋣",yU="⊂⃒",bU="⊈",vU="⊁",xU="⪰̸",wU="⋡",kU="≿̸",CU="⊃⃒",EU="⊉",AU="≁",SU="≄",TU="≇",MU="≉",DU="∤",LU="∦",OU="∦",jU="⫽⃥",PU="∂̸",RU="⨔",IU="⊀",FU="⋠",qU="⊀",$U="⪯̸",zU="⪯̸",BU="⤳̸",NU="↛",UU="⇏",HU="↝̸",VU="↛",GU="⇏",KU="⋫",WU="⋭",ZU="⊁",JU="⋡",YU="⪰̸",QU="𝒩",XU="𝓃",eH="∤",tH="∦",nH="≁",sH="≄",oH="≄",rH="∤",iH="∦",aH="⋢",lH="⋣",cH="⊄",uH="⫅̸",dH="⊈",hH="⊂⃒",fH="⊈",pH="⫅̸",gH="⊁",mH="⪰̸",_H="⊅",yH="⫆̸",bH="⊉",vH="⊃⃒",xH="⊉",wH="⫆̸",kH="≹",CH="Ñ",EH="ñ",AH="≸",SH="⋪",TH="⋬",MH="⋫",DH="⋭",LH="Ν",OH="ν",jH="#",PH="№",RH=" ",IH="≍⃒",FH="⊬",qH="⊭",$H="⊮",zH="⊯",BH="≥⃒",NH=">⃒",UH="⤄",HH="⧞",VH="⤂",GH="≤⃒",KH="<⃒",WH="⊴⃒",ZH="⤃",JH="⊵⃒",YH="∼⃒",QH="⤣",XH="↖",eV="⇖",tV="↖",nV="⤧",sV="Ó",oV="ó",rV="⊛",iV="Ô",aV="ô",lV="⊚",cV="О",uV="о",dV="⊝",hV="Ő",fV="ő",pV="⨸",gV="⊙",mV="⦼",_V="Œ",yV="œ",bV="⦿",vV="𝔒",xV="𝔬",wV="˛",kV="Ò",CV="ò",EV="⧁",AV="⦵",SV="Ω",TV="∮",MV="↺",DV="⦾",LV="⦻",OV="‾",jV="⧀",PV="Ō",RV="ō",IV="Ω",FV="ω",qV="Ο",$V="ο",zV="⦶",BV="⊖",NV="𝕆",UV="𝕠",HV="⦷",VV="“",GV="‘",KV="⦹",WV="⊕",ZV="↻",JV="⩔",YV="∨",QV="⩝",XV="ℴ",eG="ℴ",tG="ª",nG="º",sG="⊶",oG="⩖",rG="⩗",iG="⩛",aG="Ⓢ",lG="𝒪",cG="ℴ",uG="Ø",dG="ø",hG="⊘",fG="Õ",pG="õ",gG="⨶",mG="⨷",_G="⊗",yG="Ö",bG="ö",vG="⌽",xG="‾",wG="⏞",kG="⎴",CG="⏜",EG="¶",AG="∥",SG="∥",TG="⫳",MG="⫽",DG="∂",LG="∂",OG="П",jG="п",PG="%",RG=".",IG="‰",FG="⊥",qG="‱",$G="𝔓",zG="𝔭",BG="Φ",NG="φ",UG="ϕ",HG="ℳ",VG="☎",GG="Π",KG="π",WG="⋔",ZG="ϖ",JG="ℏ",YG="ℎ",QG="ℏ",XG="⨣",eK="⊞",tK="⨢",nK="+",sK="∔",oK="⨥",rK="⩲",iK="±",aK="±",lK="⨦",cK="⨧",uK="±",dK="ℌ",hK="⨕",fK="𝕡",pK="ℙ",gK="£",mK="⪷",_K="⪻",yK="≺",bK="≼",vK="⪷",xK="≺",wK="≼",kK="≺",CK="⪯",EK="≼",AK="≾",SK="⪯",TK="⪹",MK="⪵",DK="⋨",LK="⪯",OK="⪳",jK="≾",PK="′",RK="″",IK="ℙ",FK="⪹",qK="⪵",$K="⋨",zK="∏",BK="∏",NK="⌮",UK="⌒",HK="⌓",VK="∝",GK="∝",KK="∷",WK="∝",ZK="≾",JK="⊰",YK="𝒫",QK="𝓅",XK="Ψ",eW="ψ",tW=" ",nW="𝔔",sW="𝔮",oW="⨌",rW="𝕢",iW="ℚ",aW="⁗",lW="𝒬",cW="𝓆",uW="ℍ",dW="⨖",hW="?",fW="≟",pW='"',gW='"',mW="⇛",_W="∽̱",yW="Ŕ",bW="ŕ",vW="√",xW="⦳",wW="⟩",kW="⟫",CW="⦒",EW="⦥",AW="⟩",SW="»",TW="⥵",MW="⇥",DW="⤠",LW="⤳",OW="→",jW="↠",PW="⇒",RW="⤞",IW="↪",FW="↬",qW="⥅",$W="⥴",zW="⤖",BW="↣",NW="↝",UW="⤚",HW="⤜",VW="∶",GW="ℚ",KW="⤍",WW="⤏",ZW="⤐",JW="❳",YW="}",QW="]",XW="⦌",eZ="⦎",tZ="⦐",nZ="Ř",sZ="ř",oZ="Ŗ",rZ="ŗ",iZ="⌉",aZ="}",lZ="Р",cZ="р",uZ="⤷",dZ="⥩",hZ="”",fZ="”",pZ="↳",gZ="ℜ",mZ="ℛ",_Z="ℜ",yZ="ℝ",bZ="ℜ",vZ="▭",xZ="®",wZ="®",kZ="∋",CZ="⇋",EZ="⥯",AZ="⥽",SZ="⌋",TZ="𝔯",MZ="ℜ",DZ="⥤",LZ="⇁",OZ="⇀",jZ="⥬",PZ="Ρ",RZ="ρ",IZ="ϱ",FZ="⟩",qZ="⇥",$Z="→",zZ="→",BZ="⇒",NZ="⇄",UZ="↣",HZ="⌉",VZ="⟧",GZ="⥝",KZ="⥕",WZ="⇂",ZZ="⌋",JZ="⇁",YZ="⇀",QZ="⇄",XZ="⇌",eJ="⇉",tJ="↝",nJ="↦",sJ="⊢",oJ="⥛",rJ="⋌",iJ="⧐",aJ="⊳",lJ="⊵",cJ="⥏",uJ="⥜",dJ="⥔",hJ="↾",fJ="⥓",pJ="⇀",gJ="˚",mJ="≓",_J="⇄",yJ="⇌",bJ="‏",vJ="⎱",xJ="⎱",wJ="⫮",kJ="⟭",CJ="⇾",EJ="⟧",AJ="⦆",SJ="𝕣",TJ="ℝ",MJ="⨮",DJ="⨵",LJ="⥰",OJ=")",jJ="⦔",PJ="⨒",RJ="⇉",IJ="⇛",FJ="›",qJ="𝓇",$J="ℛ",zJ="↱",BJ="↱",NJ="]",UJ="’",HJ="’",VJ="⋌",GJ="⋊",KJ="▹",WJ="⊵",ZJ="▸",JJ="⧎",YJ="⧴",QJ="⥨",XJ="℞",eY="Ś",tY="ś",nY="‚",sY="⪸",oY="Š",rY="š",iY="⪼",aY="≻",lY="≽",cY="⪰",uY="⪴",dY="Ş",hY="ş",fY="Ŝ",pY="ŝ",gY="⪺",mY="⪶",_Y="⋩",yY="⨓",bY="≿",vY="С",xY="с",wY="⊡",kY="⋅",CY="⩦",EY="⤥",AY="↘",SY="⇘",TY="↘",MY="§",DY=";",LY="⤩",OY="∖",jY="∖",PY="✶",RY="𝔖",IY="𝔰",FY="⌢",qY="♯",$Y="Щ",zY="щ",BY="Ш",NY="ш",UY="↓",HY="←",VY="∣",GY="∥",KY="→",WY="↑",ZY="­",JY="Σ",YY="σ",QY="ς",XY="ς",eQ="∼",tQ="⩪",nQ="≃",sQ="≃",oQ="⪞",rQ="⪠",iQ="⪝",aQ="⪟",lQ="≆",cQ="⨤",uQ="⥲",dQ="←",hQ="∘",fQ="∖",pQ="⨳",gQ="⧤",mQ="∣",_Q="⌣",yQ="⪪",bQ="⪬",vQ="⪬︀",xQ="Ь",wQ="ь",kQ="⌿",CQ="⧄",EQ="/",AQ="𝕊",SQ="𝕤",TQ="♠",MQ="♠",DQ="∥",LQ="⊓",OQ="⊓︀",jQ="⊔",PQ="⊔︀",RQ="√",IQ="⊏",FQ="⊑",qQ="⊏",$Q="⊑",zQ="⊐",BQ="⊒",NQ="⊐",UQ="⊒",HQ="□",VQ="□",GQ="⊓",KQ="⊏",WQ="⊑",ZQ="⊐",JQ="⊒",YQ="⊔",QQ="▪",XQ="□",eX="▪",tX="→",nX="𝒮",sX="𝓈",oX="∖",rX="⌣",iX="⋆",aX="⋆",lX="☆",cX="★",uX="ϵ",dX="ϕ",hX="¯",fX="⊂",pX="⋐",gX="⪽",mX="⫅",_X="⊆",yX="⫃",bX="⫁",vX="⫋",xX="⊊",wX="⪿",kX="⥹",CX="⊂",EX="⋐",AX="⊆",SX="⫅",TX="⊆",MX="⊊",DX="⫋",LX="⫇",OX="⫕",jX="⫓",PX="⪸",RX="≻",IX="≽",FX="≻",qX="⪰",$X="≽",zX="≿",BX="⪰",NX="⪺",UX="⪶",HX="⋩",VX="≿",GX="∋",KX="∑",WX="∑",ZX="♪",JX="¹",YX="²",QX="³",XX="⊃",eee="⋑",tee="⪾",nee="⫘",see="⫆",oee="⊇",ree="⫄",iee="⊃",aee="⊇",lee="⟉",cee="⫗",uee="⥻",dee="⫂",hee="⫌",fee="⊋",pee="⫀",gee="⊃",mee="⋑",_ee="⊇",yee="⫆",bee="⊋",vee="⫌",xee="⫈",wee="⫔",kee="⫖",Cee="⤦",Eee="↙",Aee="⇙",See="↙",Tee="⤪",Mee="ß",Dee=" ",Lee="⌖",Oee="Τ",jee="τ",Pee="⎴",Ree="Ť",Iee="ť",Fee="Ţ",qee="ţ",$ee="Т",zee="т",Bee="⃛",Nee="⌕",Uee="𝔗",Hee="𝔱",Vee="∴",Gee="∴",Kee="∴",Wee="Θ",Zee="θ",Jee="ϑ",Yee="ϑ",Qee="≈",Xee="∼",ete="  ",tte=" ",nte=" ",ste="≈",ote="∼",rte="Þ",ite="þ",ate="˜",lte="∼",cte="≃",ute="≅",dte="≈",hte="⨱",fte="⊠",pte="×",gte="⨰",mte="∭",_te="⤨",yte="⌶",bte="⫱",vte="⊤",xte="𝕋",wte="𝕥",kte="⫚",Cte="⤩",Ete="‴",Ate="™",Ste="™",Tte="▵",Mte="▿",Dte="◃",Lte="⊴",Ote="≜",jte="▹",Pte="⊵",Rte="◬",Ite="≜",Fte="⨺",qte="⃛",$te="⨹",zte="⧍",Bte="⨻",Nte="⏢",Ute="𝒯",Hte="𝓉",Vte="Ц",Gte="ц",Kte="Ћ",Wte="ћ",Zte="Ŧ",Jte="ŧ",Yte="≬",Qte="↞",Xte="↠",ene="Ú",tne="ú",nne="↑",sne="↟",one="⇑",rne="⥉",ine="Ў",ane="ў",lne="Ŭ",cne="ŭ",une="Û",dne="û",hne="У",fne="у",pne="⇅",gne="Ű",mne="ű",_ne="⥮",yne="⥾",bne="𝔘",vne="𝔲",xne="Ù",wne="ù",kne="⥣",Cne="↿",Ene="↾",Ane="▀",Sne="⌜",Tne="⌜",Mne="⌏",Dne="◸",Lne="Ū",One="ū",jne="¨",Pne="_",Rne="⏟",Ine="⎵",Fne="⏝",qne="⋃",$ne="⊎",zne="Ų",Bne="ų",Nne="𝕌",Une="𝕦",Hne="⤒",Vne="↑",Gne="↑",Kne="⇑",Wne="⇅",Zne="↕",Jne="↕",Yne="⇕",Qne="⥮",Xne="↿",ese="↾",tse="⊎",nse="↖",sse="↗",ose="υ",rse="ϒ",ise="ϒ",ase="Υ",lse="υ",cse="↥",use="⊥",dse="⇈",hse="⌝",fse="⌝",pse="⌎",gse="Ů",mse="ů",_se="◹",yse="𝒰",bse="𝓊",vse="⋰",xse="Ũ",wse="ũ",kse="▵",Cse="▴",Ese="⇈",Ase="Ü",Sse="ü",Tse="⦧",Mse="⦜",Dse="ϵ",Lse="ϰ",Ose="∅",jse="ϕ",Pse="ϖ",Rse="∝",Ise="↕",Fse="⇕",qse="ϱ",$se="ς",zse="⊊︀",Bse="⫋︀",Nse="⊋︀",Use="⫌︀",Hse="ϑ",Vse="⊲",Gse="⊳",Kse="⫨",Wse="⫫",Zse="⫩",Jse="В",Yse="в",Qse="⊢",Xse="⊨",eoe="⊩",toe="⊫",noe="⫦",soe="⊻",ooe="∨",roe="⋁",ioe="≚",aoe="⋮",loe="|",coe="‖",uoe="|",doe="‖",hoe="∣",foe="|",poe="❘",goe="≀",moe=" ",_oe="𝔙",yoe="𝔳",boe="⊲",voe="⊂⃒",xoe="⊃⃒",woe="𝕍",koe="𝕧",Coe="∝",Eoe="⊳",Aoe="𝒱",Soe="𝓋",Toe="⫋︀",Moe="⊊︀",Doe="⫌︀",Loe="⊋︀",Ooe="⊪",joe="⦚",Poe="Ŵ",Roe="ŵ",Ioe="⩟",Foe="∧",qoe="⋀",$oe="≙",zoe="℘",Boe="𝔚",Noe="𝔴",Uoe="𝕎",Hoe="𝕨",Voe="℘",Goe="≀",Koe="≀",Woe="𝒲",Zoe="𝓌",Joe="⋂",Yoe="◯",Qoe="⋃",Xoe="▽",ere="𝔛",tre="𝔵",nre="⟷",sre="⟺",ore="Ξ",rre="ξ",ire="⟵",are="⟸",lre="⟼",cre="⋻",ure="⨀",dre="𝕏",hre="𝕩",fre="⨁",pre="⨂",gre="⟶",mre="⟹",_re="𝒳",yre="𝓍",bre="⨆",vre="⨄",xre="△",wre="⋁",kre="⋀",Cre="Ý",Ere="ý",Are="Я",Sre="я",Tre="Ŷ",Mre="ŷ",Dre="Ы",Lre="ы",Ore="¥",jre="𝔜",Pre="𝔶",Rre="Ї",Ire="ї",Fre="𝕐",qre="𝕪",$re="𝒴",zre="𝓎",Bre="Ю",Nre="ю",Ure="ÿ",Hre="Ÿ",Vre="Ź",Gre="ź",Kre="Ž",Wre="ž",Zre="З",Jre="з",Yre="Ż",Qre="ż",Xre="ℨ",eie="​",tie="Ζ",nie="ζ",sie="𝔷",oie="ℨ",rie="Ж",iie="ж",aie="⇝",lie="𝕫",cie="ℤ",uie="𝒵",die="𝓏",hie="‍",fie="‌",pie={Aacute:Y8,aacute:Q8,Abreve:X8,abreve:e9,ac:t9,acd:n9,acE:s9,Acirc:o9,acirc:r9,acute:i9,Acy:a9,acy:l9,AElig:c9,aelig:u9,af:d9,Afr:h9,afr:f9,Agrave:p9,agrave:g9,alefsym:m9,aleph:_9,Alpha:y9,alpha:b9,Amacr:v9,amacr:x9,amalg:w9,amp:k9,AMP:C9,andand:E9,And:A9,and:S9,andd:T9,andslope:M9,andv:D9,ang:L9,ange:O9,angle:j9,angmsdaa:P9,angmsdab:R9,angmsdac:I9,angmsdad:F9,angmsdae:q9,angmsdaf:$9,angmsdag:z9,angmsdah:B9,angmsd:N9,angrt:U9,angrtvb:H9,angrtvbd:V9,angsph:G9,angst:K9,angzarr:W9,Aogon:Z9,aogon:J9,Aopf:Y9,aopf:Q9,apacir:X9,ap:eC,apE:tC,ape:nC,apid:sC,apos:oC,ApplyFunction:rC,approx:iC,approxeq:aC,Aring:lC,aring:cC,Ascr:uC,ascr:dC,Assign:hC,ast:fC,asymp:pC,asympeq:gC,Atilde:mC,atilde:_C,Auml:yC,auml:bC,awconint:vC,awint:xC,backcong:wC,backepsilon:kC,backprime:CC,backsim:EC,backsimeq:AC,Backslash:SC,Barv:TC,barvee:MC,barwed:DC,Barwed:LC,barwedge:OC,bbrk:jC,bbrktbrk:PC,bcong:RC,Bcy:IC,bcy:FC,bdquo:qC,becaus:$C,because:zC,Because:BC,bemptyv:NC,bepsi:UC,bernou:HC,Bernoullis:VC,Beta:GC,beta:KC,beth:WC,between:ZC,Bfr:JC,bfr:YC,bigcap:QC,bigcirc:XC,bigcup:e6,bigodot:t6,bigoplus:n6,bigotimes:s6,bigsqcup:o6,bigstar:r6,bigtriangledown:i6,bigtriangleup:a6,biguplus:l6,bigvee:c6,bigwedge:u6,bkarow:d6,blacklozenge:h6,blacksquare:f6,blacktriangle:p6,blacktriangledown:g6,blacktriangleleft:m6,blacktriangleright:_6,blank:y6,blk12:b6,blk14:v6,blk34:x6,block:w6,bne:k6,bnequiv:C6,bNot:E6,bnot:A6,Bopf:S6,bopf:T6,bot:M6,bottom:D6,bowtie:L6,boxbox:O6,boxdl:j6,boxdL:P6,boxDl:R6,boxDL:I6,boxdr:F6,boxdR:q6,boxDr:$6,boxDR:z6,boxh:B6,boxH:N6,boxhd:U6,boxHd:H6,boxhD:V6,boxHD:G6,boxhu:K6,boxHu:W6,boxhU:Z6,boxHU:J6,boxminus:Y6,boxplus:Q6,boxtimes:X6,boxul:eE,boxuL:tE,boxUl:nE,boxUL:sE,boxur:oE,boxuR:rE,boxUr:iE,boxUR:aE,boxv:lE,boxV:cE,boxvh:uE,boxvH:dE,boxVh:hE,boxVH:fE,boxvl:pE,boxvL:gE,boxVl:mE,boxVL:_E,boxvr:yE,boxvR:bE,boxVr:vE,boxVR:xE,bprime:wE,breve:kE,Breve:CE,brvbar:EE,bscr:AE,Bscr:SE,bsemi:TE,bsim:ME,bsime:DE,bsolb:LE,bsol:OE,bsolhsub:jE,bull:PE,bullet:RE,bump:IE,bumpE:FE,bumpe:qE,Bumpeq:$E,bumpeq:zE,Cacute:BE,cacute:NE,capand:UE,capbrcup:HE,capcap:VE,cap:GE,Cap:KE,capcup:WE,capdot:ZE,CapitalDifferentialD:JE,caps:YE,caret:QE,caron:XE,Cayleys:e7,ccaps:t7,Ccaron:n7,ccaron:s7,Ccedil:o7,ccedil:r7,Ccirc:i7,ccirc:a7,Cconint:l7,ccups:c7,ccupssm:u7,Cdot:d7,cdot:h7,cedil:f7,Cedilla:p7,cemptyv:g7,cent:m7,centerdot:_7,CenterDot:y7,cfr:b7,Cfr:v7,CHcy:x7,chcy:w7,check:k7,checkmark:C7,Chi:E7,chi:A7,circ:S7,circeq:T7,circlearrowleft:M7,circlearrowright:D7,circledast:L7,circledcirc:O7,circleddash:j7,CircleDot:P7,circledR:R7,circledS:I7,CircleMinus:F7,CirclePlus:q7,CircleTimes:$7,cir:z7,cirE:B7,cire:N7,cirfnint:U7,cirmid:H7,cirscir:V7,ClockwiseContourIntegral:G7,CloseCurlyDoubleQuote:K7,CloseCurlyQuote:W7,clubs:Z7,clubsuit:J7,colon:Y7,Colon:Q7,Colone:X7,colone:eA,coloneq:tA,comma:nA,commat:sA,comp:oA,compfn:rA,complement:iA,complexes:aA,cong:lA,congdot:cA,Congruent:uA,conint:dA,Conint:hA,ContourIntegral:fA,copf:pA,Copf:gA,coprod:mA,Coproduct:_A,copy:yA,COPY:bA,copysr:vA,CounterClockwiseContourIntegral:xA,crarr:wA,cross:kA,Cross:CA,Cscr:EA,cscr:AA,csub:SA,csube:TA,csup:MA,csupe:DA,ctdot:LA,cudarrl:OA,cudarrr:jA,cuepr:PA,cuesc:RA,cularr:IA,cularrp:FA,cupbrcap:qA,cupcap:$A,CupCap:zA,cup:BA,Cup:NA,cupcup:UA,cupdot:HA,cupor:VA,cups:GA,curarr:KA,curarrm:WA,curlyeqprec:ZA,curlyeqsucc:JA,curlyvee:YA,curlywedge:QA,curren:XA,curvearrowleft:eS,curvearrowright:tS,cuvee:nS,cuwed:sS,cwconint:oS,cwint:rS,cylcty:iS,dagger:aS,Dagger:lS,daleth:cS,darr:uS,Darr:dS,dArr:hS,dash:fS,Dashv:pS,dashv:gS,dbkarow:mS,dblac:_S,Dcaron:yS,dcaron:bS,Dcy:vS,dcy:xS,ddagger:wS,ddarr:kS,DD:CS,dd:ES,DDotrahd:AS,ddotseq:SS,deg:TS,Del:MS,Delta:DS,delta:LS,demptyv:OS,dfisht:jS,Dfr:PS,dfr:RS,dHar:IS,dharl:FS,dharr:qS,DiacriticalAcute:$S,DiacriticalDot:zS,DiacriticalDoubleAcute:BS,DiacriticalGrave:NS,DiacriticalTilde:US,diam:HS,diamond:VS,Diamond:GS,diamondsuit:KS,diams:WS,die:ZS,DifferentialD:JS,digamma:YS,disin:QS,div:XS,divide:eT,divideontimes:tT,divonx:nT,DJcy:sT,djcy:oT,dlcorn:rT,dlcrop:iT,dollar:aT,Dopf:lT,dopf:cT,Dot:uT,dot:dT,DotDot:hT,doteq:fT,doteqdot:pT,DotEqual:gT,dotminus:mT,dotplus:_T,dotsquare:yT,doublebarwedge:bT,DoubleContourIntegral:vT,DoubleDot:xT,DoubleDownArrow:wT,DoubleLeftArrow:kT,DoubleLeftRightArrow:CT,DoubleLeftTee:ET,DoubleLongLeftArrow:AT,DoubleLongLeftRightArrow:ST,DoubleLongRightArrow:TT,DoubleRightArrow:MT,DoubleRightTee:DT,DoubleUpArrow:LT,DoubleUpDownArrow:OT,DoubleVerticalBar:jT,DownArrowBar:PT,downarrow:RT,DownArrow:IT,Downarrow:FT,DownArrowUpArrow:qT,DownBreve:$T,downdownarrows:zT,downharpoonleft:BT,downharpoonright:NT,DownLeftRightVector:UT,DownLeftTeeVector:HT,DownLeftVectorBar:VT,DownLeftVector:GT,DownRightTeeVector:KT,DownRightVectorBar:WT,DownRightVector:ZT,DownTeeArrow:JT,DownTee:YT,drbkarow:QT,drcorn:XT,drcrop:eM,Dscr:tM,dscr:nM,DScy:sM,dscy:oM,dsol:rM,Dstrok:iM,dstrok:aM,dtdot:lM,dtri:cM,dtrif:uM,duarr:dM,duhar:hM,dwangle:fM,DZcy:pM,dzcy:gM,dzigrarr:mM,Eacute:_M,eacute:yM,easter:bM,Ecaron:vM,ecaron:xM,Ecirc:wM,ecirc:kM,ecir:CM,ecolon:EM,Ecy:AM,ecy:SM,eDDot:TM,Edot:MM,edot:DM,eDot:LM,ee:OM,efDot:jM,Efr:PM,efr:RM,eg:IM,Egrave:FM,egrave:qM,egs:$M,egsdot:zM,el:BM,Element:NM,elinters:UM,ell:HM,els:VM,elsdot:GM,Emacr:KM,emacr:WM,empty:ZM,emptyset:JM,EmptySmallSquare:YM,emptyv:QM,EmptyVerySmallSquare:XM,emsp13:eD,emsp14:tD,emsp:nD,ENG:sD,eng:oD,ensp:rD,Eogon:iD,eogon:aD,Eopf:lD,eopf:cD,epar:uD,eparsl:dD,eplus:hD,epsi:fD,Epsilon:pD,epsilon:gD,epsiv:mD,eqcirc:_D,eqcolon:yD,eqsim:bD,eqslantgtr:vD,eqslantless:xD,Equal:wD,equals:kD,EqualTilde:CD,equest:ED,Equilibrium:AD,equiv:SD,equivDD:TD,eqvparsl:MD,erarr:DD,erDot:LD,escr:OD,Escr:jD,esdot:PD,Esim:RD,esim:ID,Eta:FD,eta:qD,ETH:$D,eth:zD,Euml:BD,euml:ND,euro:UD,excl:HD,exist:VD,Exists:GD,expectation:KD,exponentiale:WD,ExponentialE:ZD,fallingdotseq:JD,Fcy:YD,fcy:QD,female:XD,ffilig:eL,fflig:tL,ffllig:nL,Ffr:sL,ffr:oL,filig:rL,FilledSmallSquare:iL,FilledVerySmallSquare:aL,fjlig:lL,flat:cL,fllig:uL,fltns:dL,fnof:hL,Fopf:fL,fopf:pL,forall:gL,ForAll:mL,fork:_L,forkv:yL,Fouriertrf:bL,fpartint:vL,frac12:xL,frac13:wL,frac14:kL,frac15:CL,frac16:EL,frac18:AL,frac23:SL,frac25:TL,frac34:ML,frac35:DL,frac38:LL,frac45:OL,frac56:jL,frac58:PL,frac78:RL,frasl:IL,frown:FL,fscr:qL,Fscr:$L,gacute:zL,Gamma:BL,gamma:NL,Gammad:UL,gammad:HL,gap:VL,Gbreve:GL,gbreve:KL,Gcedil:WL,Gcirc:ZL,gcirc:JL,Gcy:YL,gcy:QL,Gdot:XL,gdot:eO,ge:tO,gE:nO,gEl:sO,gel:oO,geq:rO,geqq:iO,geqslant:aO,gescc:lO,ges:cO,gesdot:uO,gesdoto:dO,gesdotol:hO,gesl:fO,gesles:pO,Gfr:gO,gfr:mO,gg:_O,Gg:yO,ggg:bO,gimel:vO,GJcy:xO,gjcy:wO,gla:kO,gl:CO,glE:EO,glj:AO,gnap:SO,gnapprox:TO,gne:MO,gnE:DO,gneq:LO,gneqq:OO,gnsim:jO,Gopf:PO,gopf:RO,grave:IO,GreaterEqual:FO,GreaterEqualLess:qO,GreaterFullEqual:$O,GreaterGreater:zO,GreaterLess:BO,GreaterSlantEqual:NO,GreaterTilde:UO,Gscr:HO,gscr:VO,gsim:GO,gsime:KO,gsiml:WO,gtcc:ZO,gtcir:JO,gt:YO,GT:QO,Gt:XO,gtdot:ej,gtlPar:tj,gtquest:nj,gtrapprox:sj,gtrarr:oj,gtrdot:rj,gtreqless:ij,gtreqqless:aj,gtrless:lj,gtrsim:cj,gvertneqq:uj,gvnE:dj,Hacek:hj,hairsp:fj,half:pj,hamilt:gj,HARDcy:mj,hardcy:_j,harrcir:yj,harr:bj,hArr:vj,harrw:xj,Hat:wj,hbar:kj,Hcirc:Cj,hcirc:Ej,hearts:Aj,heartsuit:Sj,hellip:Tj,hercon:Mj,hfr:Dj,Hfr:Lj,HilbertSpace:Oj,hksearow:jj,hkswarow:Pj,hoarr:Rj,homtht:Ij,hookleftarrow:Fj,hookrightarrow:qj,hopf:$j,Hopf:zj,horbar:Bj,HorizontalLine:Nj,hscr:Uj,Hscr:Hj,hslash:Vj,Hstrok:Gj,hstrok:Kj,HumpDownHump:Wj,HumpEqual:Zj,hybull:Jj,hyphen:Yj,Iacute:Qj,iacute:Xj,ic:eP,Icirc:tP,icirc:nP,Icy:sP,icy:oP,Idot:rP,IEcy:iP,iecy:aP,iexcl:lP,iff:cP,ifr:uP,Ifr:dP,Igrave:hP,igrave:fP,ii:pP,iiiint:gP,iiint:mP,iinfin:_P,iiota:yP,IJlig:bP,ijlig:vP,Imacr:xP,imacr:wP,image:kP,ImaginaryI:CP,imagline:EP,imagpart:AP,imath:SP,Im:TP,imof:MP,imped:DP,Implies:LP,incare:OP,in:"∈",infin:jP,infintie:PP,inodot:RP,intcal:IP,int:FP,Int:qP,integers:$P,Integral:zP,intercal:BP,Intersection:NP,intlarhk:UP,intprod:HP,InvisibleComma:VP,InvisibleTimes:GP,IOcy:KP,iocy:WP,Iogon:ZP,iogon:JP,Iopf:YP,iopf:QP,Iota:XP,iota:eR,iprod:tR,iquest:nR,iscr:sR,Iscr:oR,isin:rR,isindot:iR,isinE:aR,isins:lR,isinsv:cR,isinv:uR,it:dR,Itilde:hR,itilde:fR,Iukcy:pR,iukcy:gR,Iuml:mR,iuml:_R,Jcirc:yR,jcirc:bR,Jcy:vR,jcy:xR,Jfr:wR,jfr:kR,jmath:CR,Jopf:ER,jopf:AR,Jscr:SR,jscr:TR,Jsercy:MR,jsercy:DR,Jukcy:LR,jukcy:OR,Kappa:jR,kappa:PR,kappav:RR,Kcedil:IR,kcedil:FR,Kcy:qR,kcy:$R,Kfr:zR,kfr:BR,kgreen:NR,KHcy:UR,khcy:HR,KJcy:VR,kjcy:GR,Kopf:KR,kopf:WR,Kscr:ZR,kscr:JR,lAarr:YR,Lacute:QR,lacute:XR,laemptyv:eI,lagran:tI,Lambda:nI,lambda:sI,lang:oI,Lang:rI,langd:iI,langle:aI,lap:lI,Laplacetrf:cI,laquo:uI,larrb:dI,larrbfs:hI,larr:fI,Larr:pI,lArr:gI,larrfs:mI,larrhk:_I,larrlp:yI,larrpl:bI,larrsim:vI,larrtl:xI,latail:wI,lAtail:kI,lat:CI,late:EI,lates:AI,lbarr:SI,lBarr:TI,lbbrk:MI,lbrace:DI,lbrack:LI,lbrke:OI,lbrksld:jI,lbrkslu:PI,Lcaron:RI,lcaron:II,Lcedil:FI,lcedil:qI,lceil:$I,lcub:zI,Lcy:BI,lcy:NI,ldca:UI,ldquo:HI,ldquor:VI,ldrdhar:GI,ldrushar:KI,ldsh:WI,le:ZI,lE:JI,LeftAngleBracket:YI,LeftArrowBar:QI,leftarrow:XI,LeftArrow:eF,Leftarrow:tF,LeftArrowRightArrow:nF,leftarrowtail:sF,LeftCeiling:oF,LeftDoubleBracket:rF,LeftDownTeeVector:iF,LeftDownVectorBar:aF,LeftDownVector:lF,LeftFloor:cF,leftharpoondown:uF,leftharpoonup:dF,leftleftarrows:hF,leftrightarrow:fF,LeftRightArrow:pF,Leftrightarrow:gF,leftrightarrows:mF,leftrightharpoons:_F,leftrightsquigarrow:yF,LeftRightVector:bF,LeftTeeArrow:vF,LeftTee:xF,LeftTeeVector:wF,leftthreetimes:kF,LeftTriangleBar:CF,LeftTriangle:EF,LeftTriangleEqual:AF,LeftUpDownVector:SF,LeftUpTeeVector:TF,LeftUpVectorBar:MF,LeftUpVector:DF,LeftVectorBar:LF,LeftVector:OF,lEg:jF,leg:PF,leq:RF,leqq:IF,leqslant:FF,lescc:qF,les:$F,lesdot:zF,lesdoto:BF,lesdotor:NF,lesg:UF,lesges:HF,lessapprox:VF,lessdot:GF,lesseqgtr:KF,lesseqqgtr:WF,LessEqualGreater:ZF,LessFullEqual:JF,LessGreater:YF,lessgtr:QF,LessLess:XF,lesssim:eq,LessSlantEqual:tq,LessTilde:nq,lfisht:sq,lfloor:oq,Lfr:rq,lfr:iq,lg:aq,lgE:lq,lHar:cq,lhard:uq,lharu:dq,lharul:hq,lhblk:fq,LJcy:pq,ljcy:gq,llarr:mq,ll:_q,Ll:yq,llcorner:bq,Lleftarrow:vq,llhard:xq,lltri:wq,Lmidot:kq,lmidot:Cq,lmoustache:Eq,lmoust:Aq,lnap:Sq,lnapprox:Tq,lne:Mq,lnE:Dq,lneq:Lq,lneqq:Oq,lnsim:jq,loang:Pq,loarr:Rq,lobrk:Iq,longleftarrow:Fq,LongLeftArrow:qq,Longleftarrow:$q,longleftrightarrow:zq,LongLeftRightArrow:Bq,Longleftrightarrow:Nq,longmapsto:Uq,longrightarrow:Hq,LongRightArrow:Vq,Longrightarrow:Gq,looparrowleft:Kq,looparrowright:Wq,lopar:Zq,Lopf:Jq,lopf:Yq,loplus:Qq,lotimes:Xq,lowast:e$,lowbar:t$,LowerLeftArrow:n$,LowerRightArrow:s$,loz:o$,lozenge:r$,lozf:i$,lpar:a$,lparlt:l$,lrarr:c$,lrcorner:u$,lrhar:d$,lrhard:h$,lrm:f$,lrtri:p$,lsaquo:g$,lscr:m$,Lscr:_$,lsh:y$,Lsh:b$,lsim:v$,lsime:x$,lsimg:w$,lsqb:k$,lsquo:C$,lsquor:E$,Lstrok:A$,lstrok:S$,ltcc:T$,ltcir:M$,lt:D$,LT:L$,Lt:O$,ltdot:j$,lthree:P$,ltimes:R$,ltlarr:I$,ltquest:F$,ltri:q$,ltrie:$$,ltrif:z$,ltrPar:B$,lurdshar:N$,luruhar:U$,lvertneqq:H$,lvnE:V$,macr:G$,male:K$,malt:W$,maltese:Z$,Map:"⤅",map:J$,mapsto:Y$,mapstodown:Q$,mapstoleft:X$,mapstoup:ez,marker:tz,mcomma:nz,Mcy:sz,mcy:oz,mdash:rz,mDDot:iz,measuredangle:az,MediumSpace:lz,Mellintrf:cz,Mfr:uz,mfr:dz,mho:hz,micro:fz,midast:pz,midcir:gz,mid:mz,middot:_z,minusb:yz,minus:bz,minusd:vz,minusdu:xz,MinusPlus:wz,mlcp:kz,mldr:Cz,mnplus:Ez,models:Az,Mopf:Sz,mopf:Tz,mp:Mz,mscr:Dz,Mscr:Lz,mstpos:Oz,Mu:jz,mu:Pz,multimap:Rz,mumap:Iz,nabla:Fz,Nacute:qz,nacute:$z,nang:zz,nap:Bz,napE:Nz,napid:Uz,napos:Hz,napprox:Vz,natural:Gz,naturals:Kz,natur:Wz,nbsp:Zz,nbump:Jz,nbumpe:Yz,ncap:Qz,Ncaron:Xz,ncaron:eB,Ncedil:tB,ncedil:nB,ncong:sB,ncongdot:oB,ncup:rB,Ncy:iB,ncy:aB,ndash:lB,nearhk:cB,nearr:uB,neArr:dB,nearrow:hB,ne:fB,nedot:pB,NegativeMediumSpace:gB,NegativeThickSpace:mB,NegativeThinSpace:_B,NegativeVeryThinSpace:yB,nequiv:bB,nesear:vB,nesim:xB,NestedGreaterGreater:wB,NestedLessLess:kB,NewLine:CB,nexist:EB,nexists:AB,Nfr:SB,nfr:TB,ngE:MB,nge:DB,ngeq:LB,ngeqq:OB,ngeqslant:jB,nges:PB,nGg:RB,ngsim:IB,nGt:FB,ngt:qB,ngtr:$B,nGtv:zB,nharr:BB,nhArr:NB,nhpar:UB,ni:HB,nis:VB,nisd:GB,niv:KB,NJcy:WB,njcy:ZB,nlarr:JB,nlArr:YB,nldr:QB,nlE:XB,nle:eN,nleftarrow:tN,nLeftarrow:nN,nleftrightarrow:sN,nLeftrightarrow:oN,nleq:rN,nleqq:iN,nleqslant:aN,nles:lN,nless:cN,nLl:uN,nlsim:dN,nLt:hN,nlt:fN,nltri:pN,nltrie:gN,nLtv:mN,nmid:_N,NoBreak:yN,NonBreakingSpace:bN,nopf:vN,Nopf:xN,Not:wN,not:kN,NotCongruent:CN,NotCupCap:EN,NotDoubleVerticalBar:AN,NotElement:SN,NotEqual:TN,NotEqualTilde:MN,NotExists:DN,NotGreater:LN,NotGreaterEqual:ON,NotGreaterFullEqual:jN,NotGreaterGreater:PN,NotGreaterLess:RN,NotGreaterSlantEqual:IN,NotGreaterTilde:FN,NotHumpDownHump:qN,NotHumpEqual:$N,notin:zN,notindot:BN,notinE:NN,notinva:UN,notinvb:HN,notinvc:VN,NotLeftTriangleBar:GN,NotLeftTriangle:KN,NotLeftTriangleEqual:WN,NotLess:ZN,NotLessEqual:JN,NotLessGreater:YN,NotLessLess:QN,NotLessSlantEqual:XN,NotLessTilde:eU,NotNestedGreaterGreater:tU,NotNestedLessLess:nU,notni:sU,notniva:oU,notnivb:rU,notnivc:iU,NotPrecedes:aU,NotPrecedesEqual:lU,NotPrecedesSlantEqual:cU,NotReverseElement:uU,NotRightTriangleBar:dU,NotRightTriangle:hU,NotRightTriangleEqual:fU,NotSquareSubset:pU,NotSquareSubsetEqual:gU,NotSquareSuperset:mU,NotSquareSupersetEqual:_U,NotSubset:yU,NotSubsetEqual:bU,NotSucceeds:vU,NotSucceedsEqual:xU,NotSucceedsSlantEqual:wU,NotSucceedsTilde:kU,NotSuperset:CU,NotSupersetEqual:EU,NotTilde:AU,NotTildeEqual:SU,NotTildeFullEqual:TU,NotTildeTilde:MU,NotVerticalBar:DU,nparallel:LU,npar:OU,nparsl:jU,npart:PU,npolint:RU,npr:IU,nprcue:FU,nprec:qU,npreceq:$U,npre:zU,nrarrc:BU,nrarr:NU,nrArr:UU,nrarrw:HU,nrightarrow:VU,nRightarrow:GU,nrtri:KU,nrtrie:WU,nsc:ZU,nsccue:JU,nsce:YU,Nscr:QU,nscr:XU,nshortmid:eH,nshortparallel:tH,nsim:nH,nsime:sH,nsimeq:oH,nsmid:rH,nspar:iH,nsqsube:aH,nsqsupe:lH,nsub:cH,nsubE:uH,nsube:dH,nsubset:hH,nsubseteq:fH,nsubseteqq:pH,nsucc:gH,nsucceq:mH,nsup:_H,nsupE:yH,nsupe:bH,nsupset:vH,nsupseteq:xH,nsupseteqq:wH,ntgl:kH,Ntilde:CH,ntilde:EH,ntlg:AH,ntriangleleft:SH,ntrianglelefteq:TH,ntriangleright:MH,ntrianglerighteq:DH,Nu:LH,nu:OH,num:jH,numero:PH,numsp:RH,nvap:IH,nvdash:FH,nvDash:qH,nVdash:$H,nVDash:zH,nvge:BH,nvgt:NH,nvHarr:UH,nvinfin:HH,nvlArr:VH,nvle:GH,nvlt:KH,nvltrie:WH,nvrArr:ZH,nvrtrie:JH,nvsim:YH,nwarhk:QH,nwarr:XH,nwArr:eV,nwarrow:tV,nwnear:nV,Oacute:sV,oacute:oV,oast:rV,Ocirc:iV,ocirc:aV,ocir:lV,Ocy:cV,ocy:uV,odash:dV,Odblac:hV,odblac:fV,odiv:pV,odot:gV,odsold:mV,OElig:_V,oelig:yV,ofcir:bV,Ofr:vV,ofr:xV,ogon:wV,Ograve:kV,ograve:CV,ogt:EV,ohbar:AV,ohm:SV,oint:TV,olarr:MV,olcir:DV,olcross:LV,oline:OV,olt:jV,Omacr:PV,omacr:RV,Omega:IV,omega:FV,Omicron:qV,omicron:$V,omid:zV,ominus:BV,Oopf:NV,oopf:UV,opar:HV,OpenCurlyDoubleQuote:VV,OpenCurlyQuote:GV,operp:KV,oplus:WV,orarr:ZV,Or:JV,or:YV,ord:QV,order:XV,orderof:eG,ordf:tG,ordm:nG,origof:sG,oror:oG,orslope:rG,orv:iG,oS:aG,Oscr:lG,oscr:cG,Oslash:uG,oslash:dG,osol:hG,Otilde:fG,otilde:pG,otimesas:gG,Otimes:mG,otimes:_G,Ouml:yG,ouml:bG,ovbar:vG,OverBar:xG,OverBrace:wG,OverBracket:kG,OverParenthesis:CG,para:EG,parallel:AG,par:SG,parsim:TG,parsl:MG,part:DG,PartialD:LG,Pcy:OG,pcy:jG,percnt:PG,period:RG,permil:IG,perp:FG,pertenk:qG,Pfr:$G,pfr:zG,Phi:BG,phi:NG,phiv:UG,phmmat:HG,phone:VG,Pi:GG,pi:KG,pitchfork:WG,piv:ZG,planck:JG,planckh:YG,plankv:QG,plusacir:XG,plusb:eK,pluscir:tK,plus:nK,plusdo:sK,plusdu:oK,pluse:rK,PlusMinus:iK,plusmn:aK,plussim:lK,plustwo:cK,pm:uK,Poincareplane:dK,pointint:hK,popf:fK,Popf:pK,pound:gK,prap:mK,Pr:_K,pr:yK,prcue:bK,precapprox:vK,prec:xK,preccurlyeq:wK,Precedes:kK,PrecedesEqual:CK,PrecedesSlantEqual:EK,PrecedesTilde:AK,preceq:SK,precnapprox:TK,precneqq:MK,precnsim:DK,pre:LK,prE:OK,precsim:jK,prime:PK,Prime:RK,primes:IK,prnap:FK,prnE:qK,prnsim:$K,prod:zK,Product:BK,profalar:NK,profline:UK,profsurf:HK,prop:VK,Proportional:GK,Proportion:KK,propto:WK,prsim:ZK,prurel:JK,Pscr:YK,pscr:QK,Psi:XK,psi:eW,puncsp:tW,Qfr:nW,qfr:sW,qint:oW,qopf:rW,Qopf:iW,qprime:aW,Qscr:lW,qscr:cW,quaternions:uW,quatint:dW,quest:hW,questeq:fW,quot:pW,QUOT:gW,rAarr:mW,race:_W,Racute:yW,racute:bW,radic:vW,raemptyv:xW,rang:wW,Rang:kW,rangd:CW,range:EW,rangle:AW,raquo:SW,rarrap:TW,rarrb:MW,rarrbfs:DW,rarrc:LW,rarr:OW,Rarr:jW,rArr:PW,rarrfs:RW,rarrhk:IW,rarrlp:FW,rarrpl:qW,rarrsim:$W,Rarrtl:zW,rarrtl:BW,rarrw:NW,ratail:UW,rAtail:HW,ratio:VW,rationals:GW,rbarr:KW,rBarr:WW,RBarr:ZW,rbbrk:JW,rbrace:YW,rbrack:QW,rbrke:XW,rbrksld:eZ,rbrkslu:tZ,Rcaron:nZ,rcaron:sZ,Rcedil:oZ,rcedil:rZ,rceil:iZ,rcub:aZ,Rcy:lZ,rcy:cZ,rdca:uZ,rdldhar:dZ,rdquo:hZ,rdquor:fZ,rdsh:pZ,real:gZ,realine:mZ,realpart:_Z,reals:yZ,Re:bZ,rect:vZ,reg:xZ,REG:wZ,ReverseElement:kZ,ReverseEquilibrium:CZ,ReverseUpEquilibrium:EZ,rfisht:AZ,rfloor:SZ,rfr:TZ,Rfr:MZ,rHar:DZ,rhard:LZ,rharu:OZ,rharul:jZ,Rho:PZ,rho:RZ,rhov:IZ,RightAngleBracket:FZ,RightArrowBar:qZ,rightarrow:$Z,RightArrow:zZ,Rightarrow:BZ,RightArrowLeftArrow:NZ,rightarrowtail:UZ,RightCeiling:HZ,RightDoubleBracket:VZ,RightDownTeeVector:GZ,RightDownVectorBar:KZ,RightDownVector:WZ,RightFloor:ZZ,rightharpoondown:JZ,rightharpoonup:YZ,rightleftarrows:QZ,rightleftharpoons:XZ,rightrightarrows:eJ,rightsquigarrow:tJ,RightTeeArrow:nJ,RightTee:sJ,RightTeeVector:oJ,rightthreetimes:rJ,RightTriangleBar:iJ,RightTriangle:aJ,RightTriangleEqual:lJ,RightUpDownVector:cJ,RightUpTeeVector:uJ,RightUpVectorBar:dJ,RightUpVector:hJ,RightVectorBar:fJ,RightVector:pJ,ring:gJ,risingdotseq:mJ,rlarr:_J,rlhar:yJ,rlm:bJ,rmoustache:vJ,rmoust:xJ,rnmid:wJ,roang:kJ,roarr:CJ,robrk:EJ,ropar:AJ,ropf:SJ,Ropf:TJ,roplus:MJ,rotimes:DJ,RoundImplies:LJ,rpar:OJ,rpargt:jJ,rppolint:PJ,rrarr:RJ,Rrightarrow:IJ,rsaquo:FJ,rscr:qJ,Rscr:$J,rsh:zJ,Rsh:BJ,rsqb:NJ,rsquo:UJ,rsquor:HJ,rthree:VJ,rtimes:GJ,rtri:KJ,rtrie:WJ,rtrif:ZJ,rtriltri:JJ,RuleDelayed:YJ,ruluhar:QJ,rx:XJ,Sacute:eY,sacute:tY,sbquo:nY,scap:sY,Scaron:oY,scaron:rY,Sc:iY,sc:aY,sccue:lY,sce:cY,scE:uY,Scedil:dY,scedil:hY,Scirc:fY,scirc:pY,scnap:gY,scnE:mY,scnsim:_Y,scpolint:yY,scsim:bY,Scy:vY,scy:xY,sdotb:wY,sdot:kY,sdote:CY,searhk:EY,searr:AY,seArr:SY,searrow:TY,sect:MY,semi:DY,seswar:LY,setminus:OY,setmn:jY,sext:PY,Sfr:RY,sfr:IY,sfrown:FY,sharp:qY,SHCHcy:$Y,shchcy:zY,SHcy:BY,shcy:NY,ShortDownArrow:UY,ShortLeftArrow:HY,shortmid:VY,shortparallel:GY,ShortRightArrow:KY,ShortUpArrow:WY,shy:ZY,Sigma:JY,sigma:YY,sigmaf:QY,sigmav:XY,sim:eQ,simdot:tQ,sime:nQ,simeq:sQ,simg:oQ,simgE:rQ,siml:iQ,simlE:aQ,simne:lQ,simplus:cQ,simrarr:uQ,slarr:dQ,SmallCircle:hQ,smallsetminus:fQ,smashp:pQ,smeparsl:gQ,smid:mQ,smile:_Q,smt:yQ,smte:bQ,smtes:vQ,SOFTcy:xQ,softcy:wQ,solbar:kQ,solb:CQ,sol:EQ,Sopf:AQ,sopf:SQ,spades:TQ,spadesuit:MQ,spar:DQ,sqcap:LQ,sqcaps:OQ,sqcup:jQ,sqcups:PQ,Sqrt:RQ,sqsub:IQ,sqsube:FQ,sqsubset:qQ,sqsubseteq:$Q,sqsup:zQ,sqsupe:BQ,sqsupset:NQ,sqsupseteq:UQ,square:HQ,Square:VQ,SquareIntersection:GQ,SquareSubset:KQ,SquareSubsetEqual:WQ,SquareSuperset:ZQ,SquareSupersetEqual:JQ,SquareUnion:YQ,squarf:QQ,squ:XQ,squf:eX,srarr:tX,Sscr:nX,sscr:sX,ssetmn:oX,ssmile:rX,sstarf:iX,Star:aX,star:lX,starf:cX,straightepsilon:uX,straightphi:dX,strns:hX,sub:fX,Sub:pX,subdot:gX,subE:mX,sube:_X,subedot:yX,submult:bX,subnE:vX,subne:xX,subplus:wX,subrarr:kX,subset:CX,Subset:EX,subseteq:AX,subseteqq:SX,SubsetEqual:TX,subsetneq:MX,subsetneqq:DX,subsim:LX,subsub:OX,subsup:jX,succapprox:PX,succ:RX,succcurlyeq:IX,Succeeds:FX,SucceedsEqual:qX,SucceedsSlantEqual:$X,SucceedsTilde:zX,succeq:BX,succnapprox:NX,succneqq:UX,succnsim:HX,succsim:VX,SuchThat:GX,sum:KX,Sum:WX,sung:ZX,sup1:JX,sup2:YX,sup3:QX,sup:XX,Sup:eee,supdot:tee,supdsub:nee,supE:see,supe:oee,supedot:ree,Superset:iee,SupersetEqual:aee,suphsol:lee,suphsub:cee,suplarr:uee,supmult:dee,supnE:hee,supne:fee,supplus:pee,supset:gee,Supset:mee,supseteq:_ee,supseteqq:yee,supsetneq:bee,supsetneqq:vee,supsim:xee,supsub:wee,supsup:kee,swarhk:Cee,swarr:Eee,swArr:Aee,swarrow:See,swnwar:Tee,szlig:Mee,Tab:Dee,target:Lee,Tau:Oee,tau:jee,tbrk:Pee,Tcaron:Ree,tcaron:Iee,Tcedil:Fee,tcedil:qee,Tcy:$ee,tcy:zee,tdot:Bee,telrec:Nee,Tfr:Uee,tfr:Hee,there4:Vee,therefore:Gee,Therefore:Kee,Theta:Wee,theta:Zee,thetasym:Jee,thetav:Yee,thickapprox:Qee,thicksim:Xee,ThickSpace:ete,ThinSpace:tte,thinsp:nte,thkap:ste,thksim:ote,THORN:rte,thorn:ite,tilde:ate,Tilde:lte,TildeEqual:cte,TildeFullEqual:ute,TildeTilde:dte,timesbar:hte,timesb:fte,times:pte,timesd:gte,tint:mte,toea:_te,topbot:yte,topcir:bte,top:vte,Topf:xte,topf:wte,topfork:kte,tosa:Cte,tprime:Ete,trade:Ate,TRADE:Ste,triangle:Tte,triangledown:Mte,triangleleft:Dte,trianglelefteq:Lte,triangleq:Ote,triangleright:jte,trianglerighteq:Pte,tridot:Rte,trie:Ite,triminus:Fte,TripleDot:qte,triplus:$te,trisb:zte,tritime:Bte,trpezium:Nte,Tscr:Ute,tscr:Hte,TScy:Vte,tscy:Gte,TSHcy:Kte,tshcy:Wte,Tstrok:Zte,tstrok:Jte,twixt:Yte,twoheadleftarrow:Qte,twoheadrightarrow:Xte,Uacute:ene,uacute:tne,uarr:nne,Uarr:sne,uArr:one,Uarrocir:rne,Ubrcy:ine,ubrcy:ane,Ubreve:lne,ubreve:cne,Ucirc:une,ucirc:dne,Ucy:hne,ucy:fne,udarr:pne,Udblac:gne,udblac:mne,udhar:_ne,ufisht:yne,Ufr:bne,ufr:vne,Ugrave:xne,ugrave:wne,uHar:kne,uharl:Cne,uharr:Ene,uhblk:Ane,ulcorn:Sne,ulcorner:Tne,ulcrop:Mne,ultri:Dne,Umacr:Lne,umacr:One,uml:jne,UnderBar:Pne,UnderBrace:Rne,UnderBracket:Ine,UnderParenthesis:Fne,Union:qne,UnionPlus:$ne,Uogon:zne,uogon:Bne,Uopf:Nne,uopf:Une,UpArrowBar:Hne,uparrow:Vne,UpArrow:Gne,Uparrow:Kne,UpArrowDownArrow:Wne,updownarrow:Zne,UpDownArrow:Jne,Updownarrow:Yne,UpEquilibrium:Qne,upharpoonleft:Xne,upharpoonright:ese,uplus:tse,UpperLeftArrow:nse,UpperRightArrow:sse,upsi:ose,Upsi:rse,upsih:ise,Upsilon:ase,upsilon:lse,UpTeeArrow:cse,UpTee:use,upuparrows:dse,urcorn:hse,urcorner:fse,urcrop:pse,Uring:gse,uring:mse,urtri:_se,Uscr:yse,uscr:bse,utdot:vse,Utilde:xse,utilde:wse,utri:kse,utrif:Cse,uuarr:Ese,Uuml:Ase,uuml:Sse,uwangle:Tse,vangrt:Mse,varepsilon:Dse,varkappa:Lse,varnothing:Ose,varphi:jse,varpi:Pse,varpropto:Rse,varr:Ise,vArr:Fse,varrho:qse,varsigma:$se,varsubsetneq:zse,varsubsetneqq:Bse,varsupsetneq:Nse,varsupsetneqq:Use,vartheta:Hse,vartriangleleft:Vse,vartriangleright:Gse,vBar:Kse,Vbar:Wse,vBarv:Zse,Vcy:Jse,vcy:Yse,vdash:Qse,vDash:Xse,Vdash:eoe,VDash:toe,Vdashl:noe,veebar:soe,vee:ooe,Vee:roe,veeeq:ioe,vellip:aoe,verbar:loe,Verbar:coe,vert:uoe,Vert:doe,VerticalBar:hoe,VerticalLine:foe,VerticalSeparator:poe,VerticalTilde:goe,VeryThinSpace:moe,Vfr:_oe,vfr:yoe,vltri:boe,vnsub:voe,vnsup:xoe,Vopf:woe,vopf:koe,vprop:Coe,vrtri:Eoe,Vscr:Aoe,vscr:Soe,vsubnE:Toe,vsubne:Moe,vsupnE:Doe,vsupne:Loe,Vvdash:Ooe,vzigzag:joe,Wcirc:Poe,wcirc:Roe,wedbar:Ioe,wedge:Foe,Wedge:qoe,wedgeq:$oe,weierp:zoe,Wfr:Boe,wfr:Noe,Wopf:Uoe,wopf:Hoe,wp:Voe,wr:Goe,wreath:Koe,Wscr:Woe,wscr:Zoe,xcap:Joe,xcirc:Yoe,xcup:Qoe,xdtri:Xoe,Xfr:ere,xfr:tre,xharr:nre,xhArr:sre,Xi:ore,xi:rre,xlarr:ire,xlArr:are,xmap:lre,xnis:cre,xodot:ure,Xopf:dre,xopf:hre,xoplus:fre,xotime:pre,xrarr:gre,xrArr:mre,Xscr:_re,xscr:yre,xsqcup:bre,xuplus:vre,xutri:xre,xvee:wre,xwedge:kre,Yacute:Cre,yacute:Ere,YAcy:Are,yacy:Sre,Ycirc:Tre,ycirc:Mre,Ycy:Dre,ycy:Lre,yen:Ore,Yfr:jre,yfr:Pre,YIcy:Rre,yicy:Ire,Yopf:Fre,yopf:qre,Yscr:$re,yscr:zre,YUcy:Bre,yucy:Nre,yuml:Ure,Yuml:Hre,Zacute:Vre,zacute:Gre,Zcaron:Kre,zcaron:Wre,Zcy:Zre,zcy:Jre,Zdot:Yre,zdot:Qre,zeetrf:Xre,ZeroWidthSpace:eie,Zeta:tie,zeta:nie,zfr:sie,Zfr:oie,ZHcy:rie,zhcy:iie,zigrarr:aie,zopf:lie,Zopf:cie,Zscr:uie,zscr:die,zwj:hie,zwnj:fie};var vf=pie,ol=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,$s={},Zc={};function gie(t){var e,n,s=Zc[t];if(s)return s;for(s=Zc[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?s.push(n):s.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e"u"&&(n=!0),a=gie(e),s=0,o=t.length;s=55296&&r<=57343){if(r>=55296&&r<=56319&&s+1=56320&&i<=57343)){l+=encodeURIComponent(t[s]+t[s+1]),s++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(t[s])}return l}Jr.defaultChars=";/?:@&=+$,-_.!~*'()#";Jr.componentChars="-_.!~*'()";var mie=Jr,Jc={};function _ie(t){var e,n,s=Jc[t];if(s)return s;for(s=Jc[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),s.push(n);for(e=0;e=55296&&u<=57343?h+="���":h+=String.fromCharCode(u),o+=6;continue}if((i&248)===240&&o+91114111?h+="����":(u-=65536,h+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),o+=9;continue}h+="�"}return h})}Yr.defaultChars=";/?:@&=+$,#";Yr.componentChars="";var yie=Yr,bie=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function gr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var vie=/^([a-z0-9.+-]+:)/i,xie=/:[0-9]*$/,wie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,kie=["<",">",'"',"`"," ","\r",` -`," "],Cie=["{","}","|","\\","^","`"].concat(kie),Eie=["'"].concat(Cie),Yc=["%","/","?",";","#"].concat(Eie),Qc=["/","?","#"],Aie=255,Xc=/^[+a-z0-9A-Z_-]{0,63}$/,Sie=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,eu={javascript:!0,"javascript:":!0},tu={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Tie(t,e){if(t&&t instanceof gr)return t;var n=new gr;return n.parse(t,e),n}gr.prototype.parse=function(t,e){var n,s,o,r,i,a=t;if(a=a.trim(),!e&&t.split("#").length===1){var l=wie.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=vie.exec(a);if(c&&(c=c[0],o=c.toLowerCase(),this.protocol=c,a=a.substr(c.length)),(e||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(i=a.substr(0,2)==="//",i&&!(c&&eu[c])&&(a=a.substr(2),this.slashes=!0)),!eu[c]&&(i||c&&!tu[c])){var u=-1;for(n=0;n127?v+="x":v+=w[y];if(!v.match(Xc)){var E=m.slice(0,n),q=m.slice(n+1),M=w.match(Sie);M&&(E.push(M[1]),q.unshift(M[2])),q.length&&(a=q.join(".")+a),this.hostname=E.join(".");break}}}}this.hostname.length>Aie&&(this.hostname=""),g&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var $=a.indexOf("#");$!==-1&&(this.hash=a.substr($),a=a.slice(0,$));var b=a.indexOf("?");return b!==-1&&(this.search=a.substr(b),a=a.slice(0,b)),a&&(this.pathname=a),tu[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this};gr.prototype.parseHost=function(t){var e=xie.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var Mie=Tie;$s.encode=mie;$s.decode=yie;$s.format=bie;$s.parse=Mie;var jn={},Ei,nu;function xf(){return nu||(nu=1,Ei=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Ei}var Ai,su;function wf(){return su||(su=1,Ai=/[\0-\x1F\x7F-\x9F]/),Ai}var Si,ou;function Die(){return ou||(ou=1,Si=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Si}var Ti,ru;function kf(){return ru||(ru=1,Ti=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Ti}var iu;function Lie(){return iu||(iu=1,jn.Any=xf(),jn.Cc=wf(),jn.Cf=Die(),jn.P=ol,jn.Z=kf()),jn}(function(t){function e(I){return Object.prototype.toString.call(I)}function n(I){return e(I)==="[object String]"}var s=Object.prototype.hasOwnProperty;function o(I,he){return s.call(I,he)}function r(I){var he=Array.prototype.slice.call(arguments,1);return he.forEach(function(X){if(X){if(typeof X!="object")throw new TypeError(X+"must be object");Object.keys(X).forEach(function(A){I[A]=X[A]})}}),I}function i(I,he,X){return[].concat(I.slice(0,he),X,I.slice(he+1))}function a(I){return!(I>=55296&&I<=57343||I>=64976&&I<=65007||(I&65535)===65535||(I&65535)===65534||I>=0&&I<=8||I===11||I>=14&&I<=31||I>=127&&I<=159||I>1114111)}function l(I){if(I>65535){I-=65536;var he=55296+(I>>10),X=56320+(I&1023);return String.fromCharCode(he,X)}return String.fromCharCode(I)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,h=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,p=vf;function g(I,he){var X=0;return o(p,he)?p[he]:he.charCodeAt(0)===35&&f.test(he)&&(X=he[1].toLowerCase()==="x"?parseInt(he.slice(2),16):parseInt(he.slice(1),10),a(X))?l(X):I}function m(I){return I.indexOf("\\")<0?I:I.replace(c,"$1")}function w(I){return I.indexOf("\\")<0&&I.indexOf("&")<0?I:I.replace(h,function(he,X,A){return X||g(he,A)})}var v=/[&<>"]/,y=/[&<>"]/g,x={"&":"&","<":"<",">":">",'"':"""};function E(I){return x[I]}function q(I){return v.test(I)?I.replace(y,E):I}var M=/[.?*+^$[\]\\(){}|-]/g;function $(I){return I.replace(M,"\\$&")}function b(I){switch(I){case 9:case 32:return!0}return!1}function k(I){if(I>=8192&&I<=8202)return!0;switch(I){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var S=ol;function z(I){return S.test(I)}function F(I){switch(I){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Q(I){return I=I.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(I=I.replace(/ẞ/g,"ß")),I.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=$s,t.lib.ucmicro=Lie(),t.assign=r,t.isString=n,t.has=o,t.unescapeMd=m,t.unescapeAll=w,t.isValidEntityCode=a,t.fromCodePoint=l,t.escapeHtml=q,t.arrayReplaceAt=i,t.isSpace=b,t.isWhiteSpace=k,t.isMdAsciiPunct=F,t.isPunctChar=z,t.escapeRE=$,t.normalizeReference=Q})(Fe);var Qr={},Oie=function(e,n,s){var o,r,i,a,l=-1,c=e.posMax,u=e.pos;for(e.pos=n+1,o=1;e.pos32))return l;if(o===41){if(r===0)break;r--}n++}return a===n||r!==0||(l.str=au(e.slice(a,n)),l.lines=i,l.pos=n,l.ok=!0),l},Pie=Fe.unescapeAll,Rie=function(e,n,s){var o,r,i=0,a=n,l={ok:!1,pos:0,lines:0,str:""};if(n>=s||(r=e.charCodeAt(n),r!==34&&r!==39&&r!==40))return l;for(n++,r===40&&(r=41);n"+Zn(t[e].content)+""};Kt.code_block=function(t,e,n,s,o){var r=t[e];return""+Zn(t[e].content)+` -`};Kt.fence=function(t,e,n,s,o){var r=t[e],i=r.info?Fie(r.info).trim():"",a="",l="",c,u,h,f,p;return i&&(h=i.split(/(\s+)/g),a=h[0],l=h.slice(2).join("")),n.highlight?c=n.highlight(r.content,a,l)||Zn(r.content):c=Zn(r.content),c.indexOf(""+c+` -`):"
"+c+`
-`};Kt.image=function(t,e,n,s,o){var r=t[e];return r.attrs[r.attrIndex("alt")][1]=o.renderInlineAsText(r.children,n,s),o.renderToken(t,e,n)};Kt.hardbreak=function(t,e,n){return n.xhtmlOut?`
-`:`
-`};Kt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`
-`:`
-`:` -`};Kt.text=function(t,e){return Zn(t[e].content)};Kt.html_block=function(t,e){return t[e].content};Kt.html_inline=function(t,e){return t[e].content};function zs(){this.rules=Iie({},Kt)}zs.prototype.renderAttrs=function(e){var n,s,o;if(!e.attrs)return"";for(o="",n=0,s=e.attrs.length;n -`:">",r)};zs.prototype.renderInline=function(t,e,n){for(var s,o="",r=this.rules,i=0,a=t.length;i\s]/i.test(t)}function Gie(t){return/^<\/a\s*>/i.test(t)}var Kie=function(e){var n,s,o,r,i,a,l,c,u,h,f,p,g,m,w,v,y=e.tokens,x;if(e.md.options.linkify){for(s=0,o=y.length;s=0;n--){if(a=r[n],a.type==="link_close"){for(n--;r[n].level!==a.level&&r[n].type!=="link_open";)n--;continue}if(a.type==="html_inline"&&(Vie(a.content)&&g>0&&g--,Gie(a.content)&&g++),!(g>0)&&a.type==="text"&&e.md.linkify.test(a.content)){for(u=a.content,x=e.md.linkify.match(u),l=[],p=a.level,f=0,x.length>0&&x[0].index===0&&n>0&&r[n-1].type==="text_special"&&(x=x.slice(1)),c=0;cf&&(i=new e.Token("text","",0),i.content=u.slice(f,h),i.level=p,l.push(i)),i=new e.Token("link_open","a",1),i.attrs=[["href",w]],i.level=p++,i.markup="linkify",i.info="auto",l.push(i),i=new e.Token("text","",0),i.content=v,i.level=p,l.push(i),i=new e.Token("link_close","a",-1),i.level=--p,i.markup="linkify",i.info="auto",l.push(i),f=x[c].lastIndex);f=0;e--)n=t[e],n.type==="text"&&!s&&(n.content=n.content.replace(Zie,Yie)),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}function Xie(t){var e,n,s=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!s&&Cf.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&s--,n.type==="link_close"&&n.info==="auto"&&s++}var eae=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Wie.test(e.tokens[n].content)&&Qie(e.tokens[n].children),Cf.test(e.tokens[n].content)&&Xie(e.tokens[n].children))},lu=Fe.isWhiteSpace,cu=Fe.isPunctChar,uu=Fe.isMdAsciiPunct,tae=/['"]/,du=/['"]/g,hu="’";function qo(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function nae(t,e){var n,s,o,r,i,a,l,c,u,h,f,p,g,m,w,v,y,x,E,q,M;for(E=[],n=0;n=0&&!(E[y].level<=l);y--);if(E.length=y+1,s.type==="text"){o=s.content,i=0,a=o.length;e:for(;i=0)u=o.charCodeAt(r.index-1);else for(y=n-1;y>=0&&!(t[y].type==="softbreak"||t[y].type==="hardbreak");y--)if(t[y].content){u=t[y].content.charCodeAt(t[y].content.length-1);break}if(h=32,i=48&&u<=57&&(v=w=!1),w&&v&&(w=f,v=p),!w&&!v){x&&(s.content=qo(s.content,r.index,hu));continue}if(v){for(y=E.length-1;y>=0&&(c=E[y],!(E[y].level=0;n--)e.tokens[n].type!=="inline"||!tae.test(e.tokens[n].content)||nae(e.tokens[n].children,e)},oae=function(e){var n,s,o,r,i,a,l=e.tokens;for(n=0,s=l.length;n=0&&(s=this.attrs[n][1]),s};Bs.prototype.attrJoin=function(e,n){var s=this.attrIndex(e);s<0?this.attrPush([e,n]):this.attrs[s][1]=this.attrs[s][1]+" "+n};var il=Bs,rae=il;function Ef(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Ef.prototype.Token=rae;var iae=Ef,aae=rl,Mi=[["normalize",Bie],["block",Nie],["inline",Uie],["linkify",Kie],["replacements",eae],["smartquotes",sae],["text_join",oae]];function al(){this.ruler=new aae;for(var t=0;ts||(u=n+1,e.sCount[u]=4||(a=e.bMarks[u]+e.tShift[u],a>=e.eMarks[u])||(q=e.src.charCodeAt(a++),q!==124&&q!==45&&q!==58)||a>=e.eMarks[u]||(M=e.src.charCodeAt(a++),M!==124&&M!==45&&M!==58&&!Di(M))||q===45&&Di(M))return!1;for(;a=4||(h=fu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),f=h.length,f===0||f!==g.length))return!1;if(o)return!0;for(y=e.parentType,e.parentType="table",E=e.md.block.ruler.getRules("blockquote"),p=e.push("table_open","table",1),p.map=w=[n,0],p=e.push("thead_open","thead",1),p.map=[n,n+1],p=e.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(h=fu(i),h.length&&h[0]===""&&h.shift(),h.length&&h[h.length-1]===""&&h.pop(),u===n+2&&(p=e.push("tbody_open","tbody",1),p.map=v=[n+2,0]),p=e.push("tr_open","tr",1),p.map=[u,u+1],l=0;l=4){o++,r=o;continue}break}return e.line=r,i=e.push("code_block","code",0),i.content=e.getLines(n,r,4+e.blkIndent,!1)+` -`,i.map=[n,e.line],!0},dae=function(e,n,s,o){var r,i,a,l,c,u,h,f=!1,p=e.bMarks[n]+e.tShift[n],g=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||p+3>g||(r=e.src.charCodeAt(p),r!==126&&r!==96)||(c=p,p=e.skipChars(p,r),i=p-c,i<3)||(h=e.src.slice(c,p),a=e.src.slice(p,g),r===96&&a.indexOf(String.fromCharCode(r))>=0))return!1;if(o)return!0;for(l=n;l++,!(l>=s||(p=c=e.bMarks[l]+e.tShift[l],g=e.eMarks[l],p=4)&&(p=e.skipChars(p,r),!(p-c=4||e.src.charCodeAt(S++)!==62)return!1;if(o)return!0;for(l=p=e.sCount[n]+1,e.src.charCodeAt(S)===32?(S++,l++,p++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[n]+p)%4===3?(S++,l++,p++,r=!1):r=!0):E=!1,g=[e.bMarks[n]],e.bMarks[n]=S;S=z,y=[e.sCount[n]],e.sCount[n]=p-l,x=[e.tShift[n]],e.tShift[n]=S-e.bMarks[n],M=e.md.block.ruler.getRules("blockquote"),v=e.parentType,e.parentType="blockquote",f=n+1;f=z));f++){if(e.src.charCodeAt(S++)===62&&!b){for(l=p=e.sCount[f]+1,e.src.charCodeAt(S)===32?(S++,l++,p++,r=!1,E=!0):e.src.charCodeAt(S)===9?(E=!0,(e.bsCount[f]+p)%4===3?(S++,l++,p++,r=!1):r=!0):E=!1,g.push(e.bMarks[f]),e.bMarks[f]=S;S=z,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(E?1:0),y.push(e.sCount[f]),e.sCount[f]=p-l,x.push(e.tShift[f]),e.tShift[f]=S-e.bMarks[f];continue}if(u)break;for(q=!1,a=0,c=M.length;a",$.map=h=[n,0],e.md.block.tokenize(e,n,f),$=e.push("blockquote_close","blockquote",-1),$.markup=">",e.lineMax=k,e.parentType=v,h[1]=e.line,a=0;a=4||(r=e.src.charCodeAt(c++),r!==42&&r!==45&&r!==95))return!1;for(i=1;c=r||(n=t.src.charCodeAt(o++),n<48||n>57))return-1;for(;;){if(o>=r)return-1;if(n=t.src.charCodeAt(o++),n>=48&&n<=57){if(o-s>=10)return-1;continue}if(n===41||n===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[n]-e.listIndent>=4&&e.sCount[n]=e.blkIndent&&(A=!0),(z=mu(e,n))>=0){if(h=!0,Q=e.bMarks[n]+e.tShift[n],v=Number(e.src.slice(Q,z-1)),A&&v!==1)return!1}else if((z=gu(e,n))>=0)h=!1;else return!1;if(A&&e.skipSpaces(z)>=e.eMarks[n])return!1;if(w=e.src.charCodeAt(z-1),o)return!0;for(m=e.tokens.length,h?(X=e.push("ordered_list_open","ol",1),v!==1&&(X.attrs=[["start",v]])):X=e.push("bullet_list_open","ul",1),X.map=g=[n,0],X.markup=String.fromCharCode(w),x=n,F=!1,he=e.md.block.ruler.getRules("list"),M=e.parentType,e.parentType="list";x=y?c=1:c=E-u,c>4&&(c=1),l=u+c,X=e.push("list_item_open","li",1),X.markup=String.fromCharCode(w),X.map=f=[n,0],h&&(X.info=e.src.slice(Q,z-1)),k=e.tight,b=e.tShift[n],$=e.sCount[n],q=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[n]=i-e.bMarks[n],e.sCount[n]=E,i>=y&&e.isEmpty(n+1)?e.line=Math.min(e.line+2,s):e.md.block.tokenize(e,n,s,!0),(!e.tight||F)&&(N=!1),F=e.line-n>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=q,e.tShift[n]=b,e.sCount[n]=$,e.tight=k,X=e.push("list_item_close","li",-1),X.markup=String.fromCharCode(w),x=n=e.line,f[1]=x,i=e.bMarks[n],x>=s||e.sCount[x]=4)break;for(I=!1,a=0,p=he.length;a=4||e.src.charCodeAt(M)!==91)return!1;for(;++M<$;)if(e.src.charCodeAt(M)===93&&e.src.charCodeAt(M-1)!==92){if(M+1===$||e.src.charCodeAt(M+1)!==58)return!1;break}for(l=e.lineMax,x=e.md.block.ruler.getRules("reference"),g=e.parentType,e.parentType="reference";b3)&&!(e.sCount[b]<0)){for(y=!1,u=0,h=x.length;u"u"&&(e.env.references={}),typeof e.env.references[f]>"u"&&(e.env.references[f]={title:E,href:c}),e.parentType=g,e.line=n+q+1),!0)},bae=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Xr={},vae="[a-zA-Z_:][a-zA-Z0-9:._-]*",xae="[^\"'=<>`\\x00-\\x20]+",wae="'[^']*'",kae='"[^"]*"',Cae="(?:"+xae+"|"+wae+"|"+kae+")",Eae="(?:\\s+"+vae+"(?:\\s*=\\s*"+Cae+")?)",Sf="<[A-Za-z][A-Za-z0-9\\-]*"+Eae+"*\\s*\\/?>",Tf="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Aae="|",Sae="<[?][\\s\\S]*?[?]>",Tae="]*>",Mae="",Dae=new RegExp("^(?:"+Sf+"|"+Tf+"|"+Aae+"|"+Sae+"|"+Tae+"|"+Mae+")"),Lae=new RegExp("^(?:"+Sf+"|"+Tf+")");Xr.HTML_TAG_RE=Dae;Xr.HTML_OPEN_CLOSE_TAG_RE=Lae;var Oae=bae,jae=Xr.HTML_OPEN_CLOSE_TAG_RE,ss=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(jae.source+"\\s*$"),/^$/,!1]],Pae=function(e,n,s,o){var r,i,a,l,c=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(c)!==60)return!1;for(l=e.src.slice(c,u),r=0;r=4||(r=e.src.charCodeAt(c),r!==35||c>=u))return!1;for(i=1,r=e.src.charCodeAt(++c);r===35&&c6||cc&&_u(e.src.charCodeAt(a-1))&&(u=a),e.line=n+1,l=e.push("heading_open","h"+String(i),1),l.markup="########".slice(0,i),l.map=[n,e.line],l=e.push("inline","",0),l.content=e.src.slice(c,u).trim(),l.map=[n,e.line],l.children=[],l=e.push("heading_close","h"+String(i),-1),l.markup="########".slice(0,i)),!0)},Iae=function(e,n,s){var o,r,i,a,l,c,u,h,f,p=n+1,g,m=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(g=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(c=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],c=u)))){h=f===61?1:2;break}if(!(e.sCount[p]<0)){for(r=!1,i=0,a=m.length;i3)&&!(e.sCount[c]<0)){for(o=!1,r=0,i=u.length;r0&&this.level++,this.tokens.push(s),s};Wt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Wt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;en;)if(!ei(this.src.charCodeAt(--e)))return e+1;return e};Wt.prototype.skipChars=function(e,n){for(var s=this.src.length;es;)if(n!==this.src.charCodeAt(--e))return e+1;return e};Wt.prototype.getLines=function(e,n,s,o){var r,i,a,l,c,u,h,f=e;if(e>=n)return"";for(u=new Array(n-e),r=0;fs?u[r]=new Array(i-s+1).join(" ")+this.src.slice(l,c):u[r]=this.src.slice(l,c)}return u.join("")};Wt.prototype.Token=Mf;var qae=Wt,$ae=rl,zo=[["table",cae,["paragraph","reference"]],["code",uae],["fence",dae,["paragraph","reference","blockquote","list"]],["blockquote",hae,["paragraph","reference","blockquote","list"]],["hr",pae,["paragraph","reference","blockquote","list"]],["list",mae,["paragraph","reference","blockquote"]],["reference",yae],["html_block",Pae,["paragraph","reference","blockquote"]],["heading",Rae,["paragraph","reference","blockquote"]],["lheading",Iae],["paragraph",Fae]];function ti(){this.ruler=new $ae;for(var t=0;t=n||t.sCount[a]=c){t.line=n;break}for(o=0;o0||(s=e.pos,o=e.posMax,s+3>o)||e.src.charCodeAt(s)!==58||e.src.charCodeAt(s+1)!==47||e.src.charCodeAt(s+2)!==47||(r=e.pending.match(Uae),!r)||(i=r[1],a=e.md.linkify.matchAtStart(e.src.slice(s-i.length)),!a)||(l=a.url,l=l.replace(/\*+$/,""),c=e.md.normalizeLink(l),!e.md.validateLink(c))?!1:(n||(e.pending=e.pending.slice(0,-i.length),u=e.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(l),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=l.length-i.length,!0)},Vae=Fe.isSpace,Gae=function(e,n){var s,o,r,i=e.pos;if(e.src.charCodeAt(i)!==10)return!1;if(s=e.pending.length-1,o=e.posMax,!n)if(s>=0&&e.pending.charCodeAt(s)===32)if(s>=1&&e.pending.charCodeAt(s-1)===32){for(r=s-1;r>=1&&e.pending.charCodeAt(r-1)===32;)r--;e.pending=e.pending.slice(0,r),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){ll[t.charCodeAt(0)]=1});var Wae=function(e,n){var s,o,r,i,a,l=e.pos,c=e.posMax;if(e.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(s=e.src.charCodeAt(l),s===10){for(n||e.push("hardbreak","br",0),l++;l=55296&&s<=56319&&l+1=56320&&o<=57343&&(i+=e.src[l+1],l++)),r="\\"+i,n||(a=e.push("text_special","",0),s<256&&ll[s]!==0?a.content=i:a.content=r,a.markup=r,a.info="escape"),e.pos=l+1,!0},Zae=function(e,n){var s,o,r,i,a,l,c,u,h=e.pos,f=e.src.charCodeAt(h);if(f!==96)return!1;for(s=h,h++,o=e.posMax;h=0;n--)s=e[n],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=e[s.end],a=n>0&&e[n-1].end===s.end+1&&e[n-1].marker===s.marker&&e[n-1].token===s.token-1&&e[s.end+1].token===o.token+1,i=String.fromCharCode(s.marker),r=t.tokens[s.token],r.type=a?"strong_open":"em_open",r.tag=a?"strong":"em",r.nesting=1,r.markup=a?i+i:i,r.content="",r=t.tokens[o.token],r.type=a?"strong_close":"em_close",r.tag=a?"strong":"em",r.nesting=-1,r.markup=a?i+i:i,r.content="",a&&(t.tokens[e[n-1].token].content="",t.tokens[e[s.end+1].token].content="",n--))}si.postProcess=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(vu(e,e.delimiters),n=0;n=m)return!1;if(w=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok){for(f=e.md.normalizeLink(c.str),e.md.validateLink(f)?l=c.pos:f="",w=l;l=m||e.src.charCodeAt(l)!==41)&&(v=!0),l++}if(v){if(typeof e.env.references>"u")return!1;if(l=0?r=e.src.slice(w,l++):l=i+1):l=i+1,r||(r=e.src.slice(a,i)),u=e.env.references[Jae(r)],!u)return e.pos=g,!1;f=u.href,p=u.title}return n||(e.pos=a,e.posMax=i,h=e.push("link_open","a",1),h.attrs=s=[["href",f]],p&&s.push(["title",p]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,h=e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0},Qae=Fe.normalizeReference,ji=Fe.isSpace,Xae=function(e,n){var s,o,r,i,a,l,c,u,h,f,p,g,m,w="",v=e.pos,y=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(l=e.pos+2,a=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),a<0))return!1;if(c=a+1,c=y)return!1;for(m=c,h=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),h.ok&&(w=e.md.normalizeLink(h.str),e.md.validateLink(w)?c=h.pos:w=""),m=c;c=y||e.src.charCodeAt(c)!==41)return e.pos=v,!1;c++}else{if(typeof e.env.references>"u")return!1;if(c=0?i=e.src.slice(m,c++):c=a+1):c=a+1,i||(i=e.src.slice(l,a)),u=e.env.references[Qae(i)],!u)return e.pos=v,!1;w=u.href,f=u.title}return n||(r=e.src.slice(l,a),e.md.inline.parse(r,e.md,e.env,g=[]),p=e.push("image","img",0),p.attrs=s=[["src",w],["alt",""]],p.children=g,p.content=r,f&&s.push(["title",f])),e.pos=c,e.posMax=y,!0},ele=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,tle=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,nle=function(e,n){var s,o,r,i,a,l,c=e.pos;if(e.src.charCodeAt(c)!==60)return!1;for(a=e.pos,l=e.posMax;;){if(++c>=l||(i=e.src.charCodeAt(c),i===60))return!1;if(i===62)break}return s=e.src.slice(a+1,c),tle.test(s)?(o=e.md.normalizeLink(s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):ele.test(s)?(o=e.md.normalizeLink("mailto:"+s),e.md.validateLink(o)?(n||(r=e.push("link_open","a",1),r.attrs=[["href",o]],r.markup="autolink",r.info="auto",r=e.push("text","",0),r.content=e.md.normalizeLinkText(s),r=e.push("link_close","a",-1),r.markup="autolink",r.info="auto"),e.pos+=s.length+2,!0):!1):!1},sle=Xr.HTML_TAG_RE;function ole(t){return/^\s]/i.test(t)}function rle(t){return/^<\/a\s*>/i.test(t)}function ile(t){var e=t|32;return e>=97&&e<=122}var ale=function(e,n){var s,o,r,i,a=e.pos;return!e.md.options.html||(r=e.posMax,e.src.charCodeAt(a)!==60||a+2>=r)||(s=e.src.charCodeAt(a+1),s!==33&&s!==63&&s!==47&&!ile(s))||(o=e.src.slice(a).match(sle),!o)?!1:(n||(i=e.push("html_inline","",0),i.content=e.src.slice(a,a+o[0].length),ole(i.content)&&e.linkLevel++,rle(i.content)&&e.linkLevel--),e.pos+=o[0].length,!0)},xu=vf,lle=Fe.has,cle=Fe.isValidEntityCode,wu=Fe.fromCodePoint,ule=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,dle=/^&([a-z][a-z0-9]{1,31});/i,hle=function(e,n){var s,o,r,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==38||a+1>=l)return!1;if(s=e.src.charCodeAt(a+1),s===35){if(r=e.src.slice(a).match(ule),r)return n||(o=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),i=e.push("text_special","",0),i.content=cle(o)?wu(o):wu(65533),i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0}else if(r=e.src.slice(a).match(dle),r&&lle(xu,r[1]))return n||(i=e.push("text_special","",0),i.content=xu[r[1]],i.markup=r[0],i.info="entity"),e.pos+=r[0].length,!0;return!1};function ku(t,e){var n,s,o,r,i,a,l,c,u={},h=e.length;if(h){var f=0,p=-2,g=[];for(n=0;ni;s-=g[s]+1)if(r=e[s],r.marker===o.marker&&r.open&&r.end<0&&(l=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(l=!0),!l)){c=s>0&&!e[s-1].open?g[s-1]+1:0,g[n]=n-s+c,g[s]=c,o.open=!1,r.end=n,r.close=!1,a=-1,p=-2;break}a!==-1&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var fle=function(e){var n,s=e.tokens_meta,o=e.tokens_meta.length;for(ku(e,e.delimiters),n=0;n0&&o++,r[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(s),this.tokens_meta.push(o),s};Ao.prototype.scanDelims=function(t,e){var n=t,s,o,r,i,a,l,c,u,h,f=!0,p=!0,g=this.posMax,m=this.src.charCodeAt(t);for(s=t>0?this.src.charCodeAt(t-1):32;n=r)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};So.prototype.parse=function(t,e,n,s){var o,r,i,a=new this.State(t,e,n,s);for(this.tokenize(a),r=this.ruler2.getRules(""),i=r.length,o=0;o|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),Ii}function pa(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(s){t[s]=n[s]})}),t}function oi(t){return Object.prototype.toString.call(t)}function yle(t){return oi(t)==="[object String]"}function ble(t){return oi(t)==="[object Object]"}function vle(t){return oi(t)==="[object RegExp]"}function Mu(t){return oi(t)==="[object Function]"}function xle(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Df={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function wle(t){return Object.keys(t||{}).reduce(function(e,n){return e||Df.hasOwnProperty(n)},!1)}var kle={"http:":{validate:function(t,e,n){var s=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(s)?s.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var s=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(s)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:s.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var s=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(s)?s.match(n.re.mailto)[0].length:0}}},Cle="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Ele="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ale(t){t.__index__=-1,t.__text_cache__=""}function Sle(t){return function(e,n){var s=e.slice(n);return t.test(s)?s.match(t)[0].length:0}}function Du(){return function(t,e){e.normalize(t)}}function mr(t){var e=t.re=_le()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Cle),n.push(e.src_xn),e.src_tlds=n.join("|");function s(a){return a.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(s(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(s(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(s(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(s(e.tpl_host_fuzzy_test),"i");var o=[];t.__compiled__={};function r(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(t.__schemas__).forEach(function(a){var l=t.__schemas__[a];if(l!==null){var c={validate:null,link:null};if(t.__compiled__[a]=c,ble(l)){vle(l.validate)?c.validate=Sle(l.validate):Mu(l.validate)?c.validate=l.validate:r(a,l),Mu(l.normalize)?c.normalize=l.normalize:l.normalize?r(a,l):c.normalize=Du();return}if(yle(l)){o.push(a);return}r(a,l)}}),o.forEach(function(a){t.__compiled__[t.__schemas__[a]]&&(t.__compiled__[a].validate=t.__compiled__[t.__schemas__[a]].validate,t.__compiled__[a].normalize=t.__compiled__[t.__schemas__[a]].normalize)}),t.__compiled__[""]={validate:null,normalize:Du()};var i=Object.keys(t.__compiled__).filter(function(a){return a.length>0&&t.__compiled__[a]}).map(xle).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+i+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),Ale(t)}function Tle(t,e){var n=t.__index__,s=t.__last_index__,o=t.__text_cache__.slice(n,s);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=s+e,this.raw=o,this.text=o,this.url=o}function ga(t,e){var n=new Tle(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function pt(t,e){if(!(this instanceof pt))return new pt(t,e);e||wle(t)&&(e=t,t={}),this.__opts__=pa({},Df,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=pa({},kle,t),this.__compiled__={},this.__tlds__=Ele,this.__tlds_replaced__=!1,this.re={},mr(this)}pt.prototype.add=function(e,n){return this.__schemas__[e]=n,mr(this),this};pt.prototype.set=function(e){return this.__opts__=pa(this.__opts__,e),this};pt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,s,o,r,i,a,l,c,u;if(this.re.schema_test.test(e)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(e))!==null;)if(r=this.testSchemaAt(e,n[2],l.lastIndex),r){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(o=e.match(this.re.email_fuzzy))!==null&&(i=o.index+o[1].length,a=o.index+o[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=a))),this.__index__>=0};pt.prototype.pretest=function(e){return this.re.pretest.test(e)};pt.prototype.testSchemaAt=function(e,n,s){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,s,this):0};pt.prototype.match=function(e){var n=0,s=[];this.__index__>=0&&this.__text_cache__===e&&(s.push(ga(this,n)),n=this.__last_index__);for(var o=n?e.slice(n):e;this.test(o);)s.push(ga(this,n)),o=o.slice(this.__last_index__),n+=this.__last_index__;return s.length?s:null};pt.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var s=this.testSchemaAt(e,n[2],n[0].length);return s?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+s,ga(this,0)):null};pt.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(s,o,r){return s!==r[o-1]}).reverse(),mr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,mr(this),this)};pt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};pt.prototype.onCompile=function(){};var Mle=pt;const ps=2147483647,zt=36,ul=1,_o=26,Dle=38,Lle=700,Lf=72,Of=128,jf="-",Ole=/^xn--/,jle=/[^\0-\x7F]/,Ple=/[\x2E\u3002\uFF0E\uFF61]/g,Rle={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Fi=zt-ul,Bt=Math.floor,qi=String.fromCharCode;function _n(t){throw new RangeError(Rle[t])}function Ile(t,e){const n=[];let s=t.length;for(;s--;)n[s]=e(t[s]);return n}function Pf(t,e){const n=t.split("@");let s="";n.length>1&&(s=n[0]+"@",t=n[1]),t=t.replace(Ple,".");const o=t.split("."),r=Ile(o,e).join(".");return s+r}function dl(t){const e=[];let n=0;const s=t.length;for(;n=55296&&o<=56319&&nString.fromCodePoint(...t),Fle=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:zt},Lu=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},If=function(t,e,n){let s=0;for(t=n?Bt(t/Lle):t>>1,t+=Bt(t/e);t>Fi*_o>>1;s+=zt)t=Bt(t/Fi);return Bt(s+(Fi+1)*t/(t+Dle))},hl=function(t){const e=[],n=t.length;let s=0,o=Of,r=Lf,i=t.lastIndexOf(jf);i<0&&(i=0);for(let a=0;a=128&&_n("not-basic"),e.push(t.charCodeAt(a));for(let a=i>0?i+1:0;a=n&&_n("invalid-input");const f=Fle(t.charCodeAt(a++));f>=zt&&_n("invalid-input"),f>Bt((ps-s)/u)&&_n("overflow"),s+=f*u;const p=h<=r?ul:h>=r+_o?_o:h-r;if(fBt(ps/g)&&_n("overflow"),u*=g}const c=e.length+1;r=If(s-l,c,l==0),Bt(s/c)>ps-o&&_n("overflow"),o+=Bt(s/c),s%=c,e.splice(s++,0,o)}return String.fromCodePoint(...e)},fl=function(t){const e=[];t=dl(t);const n=t.length;let s=Of,o=0,r=Lf;for(const l of t)l<128&&e.push(qi(l));const i=e.length;let a=i;for(i&&e.push(jf);a=s&&uBt((ps-o)/c)&&_n("overflow"),o+=(l-s)*c,s=l;for(const u of t)if(ups&&_n("overflow"),u===s){let h=o;for(let f=zt;;f+=zt){const p=f<=r?ul:f>=r+_o?_o:f-r;if(h=0))try{e.hostname=$f.toASCII(e.hostname)}catch{}return Nn.encode(Nn.format(e))}function tce(t){var e=Nn.parse(t,!0);if(e.hostname&&(!e.protocol||zf.indexOf(e.protocol)>=0))try{e.hostname=$f.toUnicode(e.hostname)}catch{}return Nn.decode(Nn.format(e),Nn.decode.defaultChars+"%")}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||eo.isString(t)||(e=t||{},t="default"),this.inline=new Wle,this.block=new Kle,this.core=new Gle,this.renderer=new Vle,this.linkify=new Zle,this.validateLink=Xle,this.normalizeLink=ece,this.normalizeLinkText=tce,this.utils=eo,this.helpers=eo.assign({},Hle),this.options={},this.configure(t),e&&this.set(e)}Ct.prototype.set=function(t){return eo.assign(this.options,t),this};Ct.prototype.configure=function(t){var e=this,n;if(eo.isString(t)&&(n=t,t=Jle[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(s){t.components[s].rules&&e[s].ruler.enableOnly(t.components[s].rules),t.components[s].rules2&&e[s].ruler2.enableOnly(t.components[s].rules2)}),this};Ct.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+s);return this};Ct.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(o){n=n.concat(this[o].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var s=t.filter(function(o){return n.indexOf(o)<0});if(s.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+s);return this};Ct.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Ct.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens};Ct.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Ct.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens};Ct.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var nce=Ct,sce=nce;const oce=Is(sce),rce="😀",ice="😃",ace="😄",lce="😁",cce="😆",uce="😆",dce="😅",hce="🤣",fce="😂",pce="🙂",gce="🙃",mce="😉",_ce="😊",yce="😇",bce="🥰",vce="😍",xce="🤩",wce="😘",kce="😗",Cce="☺️",Ece="😚",Ace="😙",Sce="🥲",Tce="😋",Mce="😛",Dce="😜",Lce="🤪",Oce="😝",jce="🤑",Pce="🤗",Rce="🤭",Ice="🤫",Fce="🤔",qce="🤐",$ce="🤨",zce="😐",Bce="😑",Nce="😶",Uce="😏",Hce="😒",Vce="🙄",Gce="😬",Kce="🤥",Wce="😌",Zce="😔",Jce="😪",Yce="🤤",Qce="😴",Xce="😷",eue="🤒",tue="🤕",nue="🤢",sue="🤮",oue="🤧",rue="🥵",iue="🥶",aue="🥴",lue="😵",cue="🤯",uue="🤠",due="🥳",hue="🥸",fue="😎",pue="🤓",gue="🧐",mue="😕",_ue="😟",yue="🙁",bue="☹️",vue="😮",xue="😯",wue="😲",kue="😳",Cue="🥺",Eue="😦",Aue="😧",Sue="😨",Tue="😰",Mue="😥",Due="😢",Lue="😭",Oue="😱",jue="😖",Pue="😣",Rue="😞",Iue="😓",Fue="😩",que="😫",$ue="🥱",zue="😤",Bue="😡",Nue="😡",Uue="😠",Hue="🤬",Vue="😈",Gue="👿",Kue="💀",Wue="☠️",Zue="💩",Jue="💩",Yue="💩",Que="🤡",Xue="👹",ede="👺",tde="👻",nde="👽",sde="👾",ode="🤖",rde="😺",ide="😸",ade="😹",lde="😻",cde="😼",ude="😽",dde="🙀",hde="😿",fde="😾",pde="🙈",gde="🙉",mde="🙊",_de="💋",yde="💌",bde="💘",vde="💝",xde="💖",wde="💗",kde="💓",Cde="💞",Ede="💕",Ade="💟",Sde="❣️",Tde="💔",Mde="❤️",Dde="🧡",Lde="💛",Ode="💚",jde="💙",Pde="💜",Rde="🤎",Ide="🖤",Fde="🤍",qde="💢",$de="💥",zde="💥",Bde="💫",Nde="💦",Ude="💨",Hde="🕳️",Vde="💣",Gde="💬",Kde="👁️‍🗨️",Wde="🗨️",Zde="🗯️",Jde="💭",Yde="💤",Qde="👋",Xde="🤚",ehe="🖐️",the="✋",nhe="✋",she="🖖",ohe="👌",rhe="🤌",ihe="🤏",ahe="✌️",lhe="🤞",che="🤟",uhe="🤘",dhe="🤙",hhe="👈",fhe="👉",phe="👆",ghe="🖕",mhe="🖕",_he="👇",yhe="☝️",bhe="👍",vhe="👎",xhe="✊",whe="✊",khe="👊",Che="👊",Ehe="👊",Ahe="🤛",She="🤜",The="👏",Mhe="🙌",Dhe="👐",Lhe="🤲",Ohe="🤝",jhe="🙏",Phe="✍️",Rhe="💅",Ihe="🤳",Fhe="💪",qhe="🦾",$he="🦿",zhe="🦵",Bhe="🦶",Nhe="👂",Uhe="🦻",Hhe="👃",Vhe="🧠",Ghe="🫀",Khe="🫁",Whe="🦷",Zhe="🦴",Jhe="👀",Yhe="👁️",Qhe="👅",Xhe="👄",efe="👶",tfe="🧒",nfe="👦",sfe="👧",ofe="🧑",rfe="👱",ife="👨",afe="🧔",lfe="👨‍🦰",cfe="👨‍🦱",ufe="👨‍🦳",dfe="👨‍🦲",hfe="👩",ffe="👩‍🦰",pfe="🧑‍🦰",gfe="👩‍🦱",mfe="🧑‍🦱",_fe="👩‍🦳",yfe="🧑‍🦳",bfe="👩‍🦲",vfe="🧑‍🦲",xfe="👱‍♀️",wfe="👱‍♀️",kfe="👱‍♂️",Cfe="🧓",Efe="👴",Afe="👵",Sfe="🙍",Tfe="🙍‍♂️",Mfe="🙍‍♀️",Dfe="🙎",Lfe="🙎‍♂️",Ofe="🙎‍♀️",jfe="🙅",Pfe="🙅‍♂️",Rfe="🙅‍♂️",Ife="🙅‍♀️",Ffe="🙅‍♀️",qfe="🙆",$fe="🙆‍♂️",zfe="🙆‍♀️",Bfe="💁",Nfe="💁",Ufe="💁‍♂️",Hfe="💁‍♂️",Vfe="💁‍♀️",Gfe="💁‍♀️",Kfe="🙋",Wfe="🙋‍♂️",Zfe="🙋‍♀️",Jfe="🧏",Yfe="🧏‍♂️",Qfe="🧏‍♀️",Xfe="🙇",epe="🙇‍♂️",tpe="🙇‍♀️",npe="🤦",spe="🤦‍♂️",ope="🤦‍♀️",rpe="🤷",ipe="🤷‍♂️",ape="🤷‍♀️",lpe="🧑‍⚕️",cpe="👨‍⚕️",upe="👩‍⚕️",dpe="🧑‍🎓",hpe="👨‍🎓",fpe="👩‍🎓",ppe="🧑‍🏫",gpe="👨‍🏫",mpe="👩‍🏫",_pe="🧑‍⚖️",ype="👨‍⚖️",bpe="👩‍⚖️",vpe="🧑‍🌾",xpe="👨‍🌾",wpe="👩‍🌾",kpe="🧑‍🍳",Cpe="👨‍🍳",Epe="👩‍🍳",Ape="🧑‍🔧",Spe="👨‍🔧",Tpe="👩‍🔧",Mpe="🧑‍🏭",Dpe="👨‍🏭",Lpe="👩‍🏭",Ope="🧑‍💼",jpe="👨‍💼",Ppe="👩‍💼",Rpe="🧑‍🔬",Ipe="👨‍🔬",Fpe="👩‍🔬",qpe="🧑‍💻",$pe="👨‍💻",zpe="👩‍💻",Bpe="🧑‍🎤",Npe="👨‍🎤",Upe="👩‍🎤",Hpe="🧑‍🎨",Vpe="👨‍🎨",Gpe="👩‍🎨",Kpe="🧑‍✈️",Wpe="👨‍✈️",Zpe="👩‍✈️",Jpe="🧑‍🚀",Ype="👨‍🚀",Qpe="👩‍🚀",Xpe="🧑‍🚒",ege="👨‍🚒",tge="👩‍🚒",nge="👮",sge="👮",oge="👮‍♂️",rge="👮‍♀️",ige="🕵️",age="🕵️‍♂️",lge="🕵️‍♀️",cge="💂",uge="💂‍♂️",dge="💂‍♀️",hge="🥷",fge="👷",pge="👷‍♂️",gge="👷‍♀️",mge="🤴",_ge="👸",yge="👳",bge="👳‍♂️",vge="👳‍♀️",xge="👲",wge="🧕",kge="🤵",Cge="🤵‍♂️",Ege="🤵‍♀️",Age="👰",Sge="👰‍♂️",Tge="👰‍♀️",Mge="👰‍♀️",Dge="🤰",Lge="🤱",Oge="👩‍🍼",jge="👨‍🍼",Pge="🧑‍🍼",Rge="👼",Ige="🎅",Fge="🤶",qge="🧑‍🎄",$ge="🦸",zge="🦸‍♂️",Bge="🦸‍♀️",Nge="🦹",Uge="🦹‍♂️",Hge="🦹‍♀️",Vge="🧙",Gge="🧙‍♂️",Kge="🧙‍♀️",Wge="🧚",Zge="🧚‍♂️",Jge="🧚‍♀️",Yge="🧛",Qge="🧛‍♂️",Xge="🧛‍♀️",e1e="🧜",t1e="🧜‍♂️",n1e="🧜‍♀️",s1e="🧝",o1e="🧝‍♂️",r1e="🧝‍♀️",i1e="🧞",a1e="🧞‍♂️",l1e="🧞‍♀️",c1e="🧟",u1e="🧟‍♂️",d1e="🧟‍♀️",h1e="💆",f1e="💆‍♂️",p1e="💆‍♀️",g1e="💇",m1e="💇‍♂️",_1e="💇‍♀️",y1e="🚶",b1e="🚶‍♂️",v1e="🚶‍♀️",x1e="🧍",w1e="🧍‍♂️",k1e="🧍‍♀️",C1e="🧎",E1e="🧎‍♂️",A1e="🧎‍♀️",S1e="🧑‍🦯",T1e="👨‍🦯",M1e="👩‍🦯",D1e="🧑‍🦼",L1e="👨‍🦼",O1e="👩‍🦼",j1e="🧑‍🦽",P1e="👨‍🦽",R1e="👩‍🦽",I1e="🏃",F1e="🏃",q1e="🏃‍♂️",$1e="🏃‍♀️",z1e="💃",B1e="💃",N1e="🕺",U1e="🕴️",H1e="👯",V1e="👯‍♂️",G1e="👯‍♀️",K1e="🧖",W1e="🧖‍♂️",Z1e="🧖‍♀️",J1e="🧗",Y1e="🧗‍♂️",Q1e="🧗‍♀️",X1e="🤺",eme="🏇",tme="⛷️",nme="🏂",sme="🏌️",ome="🏌️‍♂️",rme="🏌️‍♀️",ime="🏄",ame="🏄‍♂️",lme="🏄‍♀️",cme="🚣",ume="🚣‍♂️",dme="🚣‍♀️",hme="🏊",fme="🏊‍♂️",pme="🏊‍♀️",gme="⛹️",mme="⛹️‍♂️",_me="⛹️‍♂️",yme="⛹️‍♀️",bme="⛹️‍♀️",vme="🏋️",xme="🏋️‍♂️",wme="🏋️‍♀️",kme="🚴",Cme="🚴‍♂️",Eme="🚴‍♀️",Ame="🚵",Sme="🚵‍♂️",Tme="🚵‍♀️",Mme="🤸",Dme="🤸‍♂️",Lme="🤸‍♀️",Ome="🤼",jme="🤼‍♂️",Pme="🤼‍♀️",Rme="🤽",Ime="🤽‍♂️",Fme="🤽‍♀️",qme="🤾",$me="🤾‍♂️",zme="🤾‍♀️",Bme="🤹",Nme="🤹‍♂️",Ume="🤹‍♀️",Hme="🧘",Vme="🧘‍♂️",Gme="🧘‍♀️",Kme="🛀",Wme="🛌",Zme="🧑‍🤝‍🧑",Jme="👭",Yme="👫",Qme="👬",Xme="💏",e_e="👩‍❤️‍💋‍👨",t_e="👨‍❤️‍💋‍👨",n_e="👩‍❤️‍💋‍👩",s_e="💑",o_e="👩‍❤️‍👨",r_e="👨‍❤️‍👨",i_e="👩‍❤️‍👩",a_e="👪",l_e="👨‍👩‍👦",c_e="👨‍👩‍👧",u_e="👨‍👩‍👧‍👦",d_e="👨‍👩‍👦‍👦",h_e="👨‍👩‍👧‍👧",f_e="👨‍👨‍👦",p_e="👨‍👨‍👧",g_e="👨‍👨‍👧‍👦",m_e="👨‍👨‍👦‍👦",__e="👨‍👨‍👧‍👧",y_e="👩‍👩‍👦",b_e="👩‍👩‍👧",v_e="👩‍👩‍👧‍👦",x_e="👩‍👩‍👦‍👦",w_e="👩‍👩‍👧‍👧",k_e="👨‍👦",C_e="👨‍👦‍👦",E_e="👨‍👧",A_e="👨‍👧‍👦",S_e="👨‍👧‍👧",T_e="👩‍👦",M_e="👩‍👦‍👦",D_e="👩‍👧",L_e="👩‍👧‍👦",O_e="👩‍👧‍👧",j_e="🗣️",P_e="👤",R_e="👥",I_e="🫂",F_e="👣",q_e="🐵",$_e="🐒",z_e="🦍",B_e="🦧",N_e="🐶",U_e="🐕",H_e="🦮",V_e="🐕‍🦺",G_e="🐩",K_e="🐺",W_e="🦊",Z_e="🦝",J_e="🐱",Y_e="🐈",Q_e="🐈‍⬛",X_e="🦁",e0e="🐯",t0e="🐅",n0e="🐆",s0e="🐴",o0e="🐎",r0e="🦄",i0e="🦓",a0e="🦌",l0e="🦬",c0e="🐮",u0e="🐂",d0e="🐃",h0e="🐄",f0e="🐷",p0e="🐖",g0e="🐗",m0e="🐽",_0e="🐏",y0e="🐑",b0e="🐐",v0e="🐪",x0e="🐫",w0e="🦙",k0e="🦒",C0e="🐘",E0e="🦣",A0e="🦏",S0e="🦛",T0e="🐭",M0e="🐁",D0e="🐀",L0e="🐹",O0e="🐰",j0e="🐇",P0e="🐿️",R0e="🦫",I0e="🦔",F0e="🦇",q0e="🐻",$0e="🐻‍❄️",z0e="🐨",B0e="🐼",N0e="🦥",U0e="🦦",H0e="🦨",V0e="🦘",G0e="🦡",K0e="🐾",W0e="🐾",Z0e="🦃",J0e="🐔",Y0e="🐓",Q0e="🐣",X0e="🐤",eye="🐥",tye="🐦",nye="🐧",sye="🕊️",oye="🦅",rye="🦆",iye="🦢",aye="🦉",lye="🦤",cye="🪶",uye="🦩",dye="🦚",hye="🦜",fye="🐸",pye="🐊",gye="🐢",mye="🦎",_ye="🐍",yye="🐲",bye="🐉",vye="🦕",xye="🐳",wye="🐋",kye="🐬",Cye="🐬",Eye="🦭",Aye="🐟",Sye="🐠",Tye="🐡",Mye="🦈",Dye="🐙",Lye="🐚",Oye="🐌",jye="🦋",Pye="🐛",Rye="🐜",Iye="🐝",Fye="🐝",qye="🪲",$ye="🐞",zye="🦗",Bye="🪳",Nye="🕷️",Uye="🕸️",Hye="🦂",Vye="🦟",Gye="🪰",Kye="🪱",Wye="🦠",Zye="💐",Jye="🌸",Yye="💮",Qye="🏵️",Xye="🌹",e2e="🥀",t2e="🌺",n2e="🌻",s2e="🌼",o2e="🌷",r2e="🌱",i2e="🪴",a2e="🌲",l2e="🌳",c2e="🌴",u2e="🌵",d2e="🌾",h2e="🌿",f2e="☘️",p2e="🍀",g2e="🍁",m2e="🍂",_2e="🍃",y2e="🍇",b2e="🍈",v2e="🍉",x2e="🍊",w2e="🍊",k2e="🍊",C2e="🍋",E2e="🍌",A2e="🍍",S2e="🥭",T2e="🍎",M2e="🍏",D2e="🍐",L2e="🍑",O2e="🍒",j2e="🍓",P2e="🫐",R2e="🥝",I2e="🍅",F2e="🫒",q2e="🥥",$2e="🥑",z2e="🍆",B2e="🥔",N2e="🥕",U2e="🌽",H2e="🌶️",V2e="🫑",G2e="🥒",K2e="🥬",W2e="🥦",Z2e="🧄",J2e="🧅",Y2e="🍄",Q2e="🥜",X2e="🌰",ebe="🍞",tbe="🥐",nbe="🥖",sbe="🫓",obe="🥨",rbe="🥯",ibe="🥞",abe="🧇",lbe="🧀",cbe="🍖",ube="🍗",dbe="🥩",hbe="🥓",fbe="🍔",pbe="🍟",gbe="🍕",mbe="🌭",_be="🥪",ybe="🌮",bbe="🌯",vbe="🫔",xbe="🥙",wbe="🧆",kbe="🥚",Cbe="🍳",Ebe="🥘",Abe="🍲",Sbe="🫕",Tbe="🥣",Mbe="🥗",Dbe="🍿",Lbe="🧈",Obe="🧂",jbe="🥫",Pbe="🍱",Rbe="🍘",Ibe="🍙",Fbe="🍚",qbe="🍛",$be="🍜",zbe="🍝",Bbe="🍠",Nbe="🍢",Ube="🍣",Hbe="🍤",Vbe="🍥",Gbe="🥮",Kbe="🍡",Wbe="🥟",Zbe="🥠",Jbe="🥡",Ybe="🦀",Qbe="🦞",Xbe="🦐",eve="🦑",tve="🦪",nve="🍦",sve="🍧",ove="🍨",rve="🍩",ive="🍪",ave="🎂",lve="🍰",cve="🧁",uve="🥧",dve="🍫",hve="🍬",fve="🍭",pve="🍮",gve="🍯",mve="🍼",_ve="🥛",yve="☕",bve="🫖",vve="🍵",xve="🍶",wve="🍾",kve="🍷",Cve="🍸",Eve="🍹",Ave="🍺",Sve="🍻",Tve="🥂",Mve="🥃",Dve="🥤",Lve="🧋",Ove="🧃",jve="🧉",Pve="🧊",Rve="🥢",Ive="🍽️",Fve="🍴",qve="🥄",$ve="🔪",zve="🔪",Bve="🏺",Nve="🌍",Uve="🌎",Hve="🌏",Vve="🌐",Gve="🗺️",Kve="🗾",Wve="🧭",Zve="🏔️",Jve="⛰️",Yve="🌋",Qve="🗻",Xve="🏕️",exe="🏖️",txe="🏜️",nxe="🏝️",sxe="🏞️",oxe="🏟️",rxe="🏛️",ixe="🏗️",axe="🧱",lxe="🪨",cxe="🪵",uxe="🛖",dxe="🏘️",hxe="🏚️",fxe="🏠",pxe="🏡",gxe="🏢",mxe="🏣",_xe="🏤",yxe="🏥",bxe="🏦",vxe="🏨",xxe="🏩",wxe="🏪",kxe="🏫",Cxe="🏬",Exe="🏭",Axe="🏯",Sxe="🏰",Txe="💒",Mxe="🗼",Dxe="🗽",Lxe="⛪",Oxe="🕌",jxe="🛕",Pxe="🕍",Rxe="⛩️",Ixe="🕋",Fxe="⛲",qxe="⛺",$xe="🌁",zxe="🌃",Bxe="🏙️",Nxe="🌄",Uxe="🌅",Hxe="🌆",Vxe="🌇",Gxe="🌉",Kxe="♨️",Wxe="🎠",Zxe="🎡",Jxe="🎢",Yxe="💈",Qxe="🎪",Xxe="🚂",ewe="🚃",twe="🚄",nwe="🚅",swe="🚆",owe="🚇",rwe="🚈",iwe="🚉",awe="🚊",lwe="🚝",cwe="🚞",uwe="🚋",dwe="🚌",hwe="🚍",fwe="🚎",pwe="🚐",gwe="🚑",mwe="🚒",_we="🚓",ywe="🚔",bwe="🚕",vwe="🚖",xwe="🚗",wwe="🚗",kwe="🚘",Cwe="🚙",Ewe="🛻",Awe="🚚",Swe="🚛",Twe="🚜",Mwe="🏎️",Dwe="🏍️",Lwe="🛵",Owe="🦽",jwe="🦼",Pwe="🛺",Rwe="🚲",Iwe="🛴",Fwe="🛹",qwe="🛼",$we="🚏",zwe="🛣️",Bwe="🛤️",Nwe="🛢️",Uwe="⛽",Hwe="🚨",Vwe="🚥",Gwe="🚦",Kwe="🛑",Wwe="🚧",Zwe="⚓",Jwe="⛵",Ywe="⛵",Qwe="🛶",Xwe="🚤",eke="🛳️",tke="⛴️",nke="🛥️",ske="🚢",oke="✈️",rke="🛩️",ike="🛫",ake="🛬",lke="🪂",cke="💺",uke="🚁",dke="🚟",hke="🚠",fke="🚡",pke="🛰️",gke="🚀",mke="🛸",_ke="🛎️",yke="🧳",bke="⌛",vke="⏳",xke="⌚",wke="⏰",kke="⏱️",Cke="⏲️",Eke="🕰️",Ake="🕛",Ske="🕧",Tke="🕐",Mke="🕜",Dke="🕑",Lke="🕝",Oke="🕒",jke="🕞",Pke="🕓",Rke="🕟",Ike="🕔",Fke="🕠",qke="🕕",$ke="🕡",zke="🕖",Bke="🕢",Nke="🕗",Uke="🕣",Hke="🕘",Vke="🕤",Gke="🕙",Kke="🕥",Wke="🕚",Zke="🕦",Jke="🌑",Yke="🌒",Qke="🌓",Xke="🌔",e5e="🌔",t5e="🌕",n5e="🌖",s5e="🌗",o5e="🌘",r5e="🌙",i5e="🌚",a5e="🌛",l5e="🌜",c5e="🌡️",u5e="☀️",d5e="🌝",h5e="🌞",f5e="🪐",p5e="⭐",g5e="🌟",m5e="🌠",_5e="🌌",y5e="☁️",b5e="⛅",v5e="⛈️",x5e="🌤️",w5e="🌥️",k5e="🌦️",C5e="🌧️",E5e="🌨️",A5e="🌩️",S5e="🌪️",T5e="🌫️",M5e="🌬️",D5e="🌀",L5e="🌈",O5e="🌂",j5e="☂️",P5e="☔",R5e="⛱️",I5e="⚡",F5e="❄️",q5e="☃️",$5e="⛄",z5e="☄️",B5e="🔥",N5e="💧",U5e="🌊",H5e="🎃",V5e="🎄",G5e="🎆",K5e="🎇",W5e="🧨",Z5e="✨",J5e="🎈",Y5e="🎉",Q5e="🎊",X5e="🎋",e4e="🎍",t4e="🎎",n4e="🎏",s4e="🎐",o4e="🎑",r4e="🧧",i4e="🎀",a4e="🎁",l4e="🎗️",c4e="🎟️",u4e="🎫",d4e="🎖️",h4e="🏆",f4e="🏅",p4e="⚽",g4e="⚾",m4e="🥎",_4e="🏀",y4e="🏐",b4e="🏈",v4e="🏉",x4e="🎾",w4e="🥏",k4e="🎳",C4e="🏏",E4e="🏑",A4e="🏒",S4e="🥍",T4e="🏓",M4e="🏸",D4e="🥊",L4e="🥋",O4e="🥅",j4e="⛳",P4e="⛸️",R4e="🎣",I4e="🤿",F4e="🎽",q4e="🎿",$4e="🛷",z4e="🥌",B4e="🎯",N4e="🪀",U4e="🪁",H4e="🔮",V4e="🪄",G4e="🧿",K4e="🎮",W4e="🕹️",Z4e="🎰",J4e="🎲",Y4e="🧩",Q4e="🧸",X4e="🪅",e3e="🪆",t3e="♠️",n3e="♥️",s3e="♦️",o3e="♣️",r3e="♟️",i3e="🃏",a3e="🀄",l3e="🎴",c3e="🎭",u3e="🖼️",d3e="🎨",h3e="🧵",f3e="🪡",p3e="🧶",g3e="🪢",m3e="👓",_3e="🕶️",y3e="🥽",b3e="🥼",v3e="🦺",x3e="👔",w3e="👕",k3e="👕",C3e="👖",E3e="🧣",A3e="🧤",S3e="🧥",T3e="🧦",M3e="👗",D3e="👘",L3e="🥻",O3e="🩱",j3e="🩲",P3e="🩳",R3e="👙",I3e="👚",F3e="👛",q3e="👜",$3e="👝",z3e="🛍️",B3e="🎒",N3e="🩴",U3e="👞",H3e="👞",V3e="👟",G3e="🥾",K3e="🥿",W3e="👠",Z3e="👡",J3e="🩰",Y3e="👢",Q3e="👑",X3e="👒",e8e="🎩",t8e="🎓",n8e="🧢",s8e="🪖",o8e="⛑️",r8e="📿",i8e="💄",a8e="💍",l8e="💎",c8e="🔇",u8e="🔈",d8e="🔉",h8e="🔊",f8e="📢",p8e="📣",g8e="📯",m8e="🔔",_8e="🔕",y8e="🎼",b8e="🎵",v8e="🎶",x8e="🎙️",w8e="🎚️",k8e="🎛️",C8e="🎤",E8e="🎧",A8e="📻",S8e="🎷",T8e="🪗",M8e="🎸",D8e="🎹",L8e="🎺",O8e="🎻",j8e="🪕",P8e="🥁",R8e="🪘",I8e="📱",F8e="📲",q8e="☎️",$8e="☎️",z8e="📞",B8e="📟",N8e="📠",U8e="🔋",H8e="🔌",V8e="💻",G8e="🖥️",K8e="🖨️",W8e="⌨️",Z8e="🖱️",J8e="🖲️",Y8e="💽",Q8e="💾",X8e="💿",e9e="📀",t9e="🧮",n9e="🎥",s9e="🎞️",o9e="📽️",r9e="🎬",i9e="📺",a9e="📷",l9e="📸",c9e="📹",u9e="📼",d9e="🔍",h9e="🔎",f9e="🕯️",p9e="💡",g9e="🔦",m9e="🏮",_9e="🏮",y9e="🪔",b9e="📔",v9e="📕",x9e="📖",w9e="📖",k9e="📗",C9e="📘",E9e="📙",A9e="📚",S9e="📓",T9e="📒",M9e="📃",D9e="📜",L9e="📄",O9e="📰",j9e="🗞️",P9e="📑",R9e="🔖",I9e="🏷️",F9e="💰",q9e="🪙",$9e="💴",z9e="💵",B9e="💶",N9e="💷",U9e="💸",H9e="💳",V9e="🧾",G9e="💹",K9e="✉️",W9e="📧",Z9e="📨",J9e="📩",Y9e="📤",Q9e="📥",X9e="📫",eCe="📪",tCe="📬",nCe="📭",sCe="📮",oCe="🗳️",rCe="✏️",iCe="✒️",aCe="🖋️",lCe="🖊️",cCe="🖌️",uCe="🖍️",dCe="📝",hCe="📝",fCe="💼",pCe="📁",gCe="📂",mCe="🗂️",_Ce="📅",yCe="📆",bCe="🗒️",vCe="🗓️",xCe="📇",wCe="📈",kCe="📉",CCe="📊",ECe="📋",ACe="📌",SCe="📍",TCe="📎",MCe="🖇️",DCe="📏",LCe="📐",OCe="✂️",jCe="🗃️",PCe="🗄️",RCe="🗑️",ICe="🔒",FCe="🔓",qCe="🔏",$Ce="🔐",zCe="🔑",BCe="🗝️",NCe="🔨",UCe="🪓",HCe="⛏️",VCe="⚒️",GCe="🛠️",KCe="🗡️",WCe="⚔️",ZCe="🔫",JCe="🪃",YCe="🏹",QCe="🛡️",XCe="🪚",e6e="🔧",t6e="🪛",n6e="🔩",s6e="⚙️",o6e="🗜️",r6e="⚖️",i6e="🦯",a6e="🔗",l6e="⛓️",c6e="🪝",u6e="🧰",d6e="🧲",h6e="🪜",f6e="⚗️",p6e="🧪",g6e="🧫",m6e="🧬",_6e="🔬",y6e="🔭",b6e="📡",v6e="💉",x6e="🩸",w6e="💊",k6e="🩹",C6e="🩺",E6e="🚪",A6e="🛗",S6e="🪞",T6e="🪟",M6e="🛏️",D6e="🛋️",L6e="🪑",O6e="🚽",j6e="🪠",P6e="🚿",R6e="🛁",I6e="🪤",F6e="🪒",q6e="🧴",$6e="🧷",z6e="🧹",B6e="🧺",N6e="🧻",U6e="🪣",H6e="🧼",V6e="🪥",G6e="🧽",K6e="🧯",W6e="🛒",Z6e="🚬",J6e="⚰️",Y6e="🪦",Q6e="⚱️",X6e="🗿",eEe="🪧",tEe="🏧",nEe="🚮",sEe="🚰",oEe="♿",rEe="🚹",iEe="🚺",aEe="🚻",lEe="🚼",cEe="🚾",uEe="🛂",dEe="🛃",hEe="🛄",fEe="🛅",pEe="⚠️",gEe="🚸",mEe="⛔",_Ee="🚫",yEe="🚳",bEe="🚭",vEe="🚯",xEe="🚷",wEe="📵",kEe="🔞",CEe="☢️",EEe="☣️",AEe="⬆️",SEe="↗️",TEe="➡️",MEe="↘️",DEe="⬇️",LEe="↙️",OEe="⬅️",jEe="↖️",PEe="↕️",REe="↔️",IEe="↩️",FEe="↪️",qEe="⤴️",$Ee="⤵️",zEe="🔃",BEe="🔄",NEe="🔙",UEe="🔚",HEe="🔛",VEe="🔜",GEe="🔝",KEe="🛐",WEe="⚛️",ZEe="🕉️",JEe="✡️",YEe="☸️",QEe="☯️",XEe="✝️",e7e="☦️",t7e="☪️",n7e="☮️",s7e="🕎",o7e="🔯",r7e="♈",i7e="♉",a7e="♊",l7e="♋",c7e="♌",u7e="♍",d7e="♎",h7e="♏",f7e="♐",p7e="♑",g7e="♒",m7e="♓",_7e="⛎",y7e="🔀",b7e="🔁",v7e="🔂",x7e="▶️",w7e="⏩",k7e="⏭️",C7e="⏯️",E7e="◀️",A7e="⏪",S7e="⏮️",T7e="🔼",M7e="⏫",D7e="🔽",L7e="⏬",O7e="⏸️",j7e="⏹️",P7e="⏺️",R7e="⏏️",I7e="🎦",F7e="🔅",q7e="🔆",$7e="📶",z7e="📳",B7e="📴",N7e="♀️",U7e="♂️",H7e="⚧️",V7e="✖️",G7e="➕",K7e="➖",W7e="➗",Z7e="♾️",J7e="‼️",Y7e="⁉️",Q7e="❓",X7e="❔",eAe="❕",tAe="❗",nAe="❗",sAe="〰️",oAe="💱",rAe="💲",iAe="⚕️",aAe="♻️",lAe="⚜️",cAe="🔱",uAe="📛",dAe="🔰",hAe="⭕",fAe="✅",pAe="☑️",gAe="✔️",mAe="❌",_Ae="❎",yAe="➰",bAe="➿",vAe="〽️",xAe="✳️",wAe="✴️",kAe="❇️",CAe="©️",EAe="®️",AAe="™️",SAe="#️⃣",TAe="*️⃣",MAe="0️⃣",DAe="1️⃣",LAe="2️⃣",OAe="3️⃣",jAe="4️⃣",PAe="5️⃣",RAe="6️⃣",IAe="7️⃣",FAe="8️⃣",qAe="9️⃣",$Ae="🔟",zAe="🔠",BAe="🔡",NAe="🔣",UAe="🔤",HAe="🅰️",VAe="🆎",GAe="🅱️",KAe="🆑",WAe="🆒",ZAe="🆓",JAe="ℹ️",YAe="🆔",QAe="Ⓜ️",XAe="🆖",eSe="🅾️",tSe="🆗",nSe="🅿️",sSe="🆘",oSe="🆙",rSe="🆚",iSe="🈁",aSe="🈂️",lSe="🉐",cSe="🉑",uSe="㊗️",dSe="㊙️",hSe="🈵",fSe="🔴",pSe="🟠",gSe="🟡",mSe="🟢",_Se="🔵",ySe="🟣",bSe="🟤",vSe="⚫",xSe="⚪",wSe="🟥",kSe="🟧",CSe="🟨",ESe="🟩",ASe="🟦",SSe="🟪",TSe="🟫",MSe="⬛",DSe="⬜",LSe="◼️",OSe="◻️",jSe="◾",PSe="◽",RSe="▪️",ISe="▫️",FSe="🔶",qSe="🔷",$Se="🔸",zSe="🔹",BSe="🔺",NSe="🔻",USe="💠",HSe="🔘",VSe="🔳",GSe="🔲",KSe="🏁",WSe="🚩",ZSe="🎌",JSe="🏴",YSe="🏳️",QSe="🏳️‍🌈",XSe="🏳️‍⚧️",eTe="🏴‍☠️",tTe="🇦🇨",nTe="🇦🇩",sTe="🇦🇪",oTe="🇦🇫",rTe="🇦🇬",iTe="🇦🇮",aTe="🇦🇱",lTe="🇦🇲",cTe="🇦🇴",uTe="🇦🇶",dTe="🇦🇷",hTe="🇦🇸",fTe="🇦🇹",pTe="🇦🇺",gTe="🇦🇼",mTe="🇦🇽",_Te="🇦🇿",yTe="🇧🇦",bTe="🇧🇧",vTe="🇧🇩",xTe="🇧🇪",wTe="🇧🇫",kTe="🇧🇬",CTe="🇧🇭",ETe="🇧🇮",ATe="🇧🇯",STe="🇧🇱",TTe="🇧🇲",MTe="🇧🇳",DTe="🇧🇴",LTe="🇧🇶",OTe="🇧🇷",jTe="🇧🇸",PTe="🇧🇹",RTe="🇧🇻",ITe="🇧🇼",FTe="🇧🇾",qTe="🇧🇿",$Te="🇨🇦",zTe="🇨🇨",BTe="🇨🇩",NTe="🇨🇫",UTe="🇨🇬",HTe="🇨🇭",VTe="🇨🇮",GTe="🇨🇰",KTe="🇨🇱",WTe="🇨🇲",ZTe="🇨🇳",JTe="🇨🇴",YTe="🇨🇵",QTe="🇨🇷",XTe="🇨🇺",eMe="🇨🇻",tMe="🇨🇼",nMe="🇨🇽",sMe="🇨🇾",oMe="🇨🇿",rMe="🇩🇪",iMe="🇩🇬",aMe="🇩🇯",lMe="🇩🇰",cMe="🇩🇲",uMe="🇩🇴",dMe="🇩🇿",hMe="🇪🇦",fMe="🇪🇨",pMe="🇪🇪",gMe="🇪🇬",mMe="🇪🇭",_Me="🇪🇷",yMe="🇪🇸",bMe="🇪🇹",vMe="🇪🇺",xMe="🇪🇺",wMe="🇫🇮",kMe="🇫🇯",CMe="🇫🇰",EMe="🇫🇲",AMe="🇫🇴",SMe="🇫🇷",TMe="🇬🇦",MMe="🇬🇧",DMe="🇬🇧",LMe="🇬🇩",OMe="🇬🇪",jMe="🇬🇫",PMe="🇬🇬",RMe="🇬🇭",IMe="🇬🇮",FMe="🇬🇱",qMe="🇬🇲",$Me="🇬🇳",zMe="🇬🇵",BMe="🇬🇶",NMe="🇬🇷",UMe="🇬🇸",HMe="🇬🇹",VMe="🇬🇺",GMe="🇬🇼",KMe="🇬🇾",WMe="🇭🇰",ZMe="🇭🇲",JMe="🇭🇳",YMe="🇭🇷",QMe="🇭🇹",XMe="🇭🇺",eDe="🇮🇨",tDe="🇮🇩",nDe="🇮🇪",sDe="🇮🇱",oDe="🇮🇲",rDe="🇮🇳",iDe="🇮🇴",aDe="🇮🇶",lDe="🇮🇷",cDe="🇮🇸",uDe="🇮🇹",dDe="🇯🇪",hDe="🇯🇲",fDe="🇯🇴",pDe="🇯🇵",gDe="🇰🇪",mDe="🇰🇬",_De="🇰🇭",yDe="🇰🇮",bDe="🇰🇲",vDe="🇰🇳",xDe="🇰🇵",wDe="🇰🇷",kDe="🇰🇼",CDe="🇰🇾",EDe="🇰🇿",ADe="🇱🇦",SDe="🇱🇧",TDe="🇱🇨",MDe="🇱🇮",DDe="🇱🇰",LDe="🇱🇷",ODe="🇱🇸",jDe="🇱🇹",PDe="🇱🇺",RDe="🇱🇻",IDe="🇱🇾",FDe="🇲🇦",qDe="🇲🇨",$De="🇲🇩",zDe="🇲🇪",BDe="🇲🇫",NDe="🇲🇬",UDe="🇲🇭",HDe="🇲🇰",VDe="🇲🇱",GDe="🇲🇲",KDe="🇲🇳",WDe="🇲🇴",ZDe="🇲🇵",JDe="🇲🇶",YDe="🇲🇷",QDe="🇲🇸",XDe="🇲🇹",eLe="🇲🇺",tLe="🇲🇻",nLe="🇲🇼",sLe="🇲🇽",oLe="🇲🇾",rLe="🇲🇿",iLe="🇳🇦",aLe="🇳🇨",lLe="🇳🇪",cLe="🇳🇫",uLe="🇳🇬",dLe="🇳🇮",hLe="🇳🇱",fLe="🇳🇴",pLe="🇳🇵",gLe="🇳🇷",mLe="🇳🇺",_Le="🇳🇿",yLe="🇴🇲",bLe="🇵🇦",vLe="🇵🇪",xLe="🇵🇫",wLe="🇵🇬",kLe="🇵🇭",CLe="🇵🇰",ELe="🇵🇱",ALe="🇵🇲",SLe="🇵🇳",TLe="🇵🇷",MLe="🇵🇸",DLe="🇵🇹",LLe="🇵🇼",OLe="🇵🇾",jLe="🇶🇦",PLe="🇷🇪",RLe="🇷🇴",ILe="🇷🇸",FLe="🇷🇺",qLe="🇷🇼",$Le="🇸🇦",zLe="🇸🇧",BLe="🇸🇨",NLe="🇸🇩",ULe="🇸🇪",HLe="🇸🇬",VLe="🇸🇭",GLe="🇸🇮",KLe="🇸🇯",WLe="🇸🇰",ZLe="🇸🇱",JLe="🇸🇲",YLe="🇸🇳",QLe="🇸🇴",XLe="🇸🇷",eOe="🇸🇸",tOe="🇸🇹",nOe="🇸🇻",sOe="🇸🇽",oOe="🇸🇾",rOe="🇸🇿",iOe="🇹🇦",aOe="🇹🇨",lOe="🇹🇩",cOe="🇹🇫",uOe="🇹🇬",dOe="🇹🇭",hOe="🇹🇯",fOe="🇹🇰",pOe="🇹🇱",gOe="🇹🇲",mOe="🇹🇳",_Oe="🇹🇴",yOe="🇹🇷",bOe="🇹🇹",vOe="🇹🇻",xOe="🇹🇼",wOe="🇹🇿",kOe="🇺🇦",COe="🇺🇬",EOe="🇺🇲",AOe="🇺🇳",SOe="🇺🇸",TOe="🇺🇾",MOe="🇺🇿",DOe="🇻🇦",LOe="🇻🇨",OOe="🇻🇪",jOe="🇻🇬",POe="🇻🇮",ROe="🇻🇳",IOe="🇻🇺",FOe="🇼🇫",qOe="🇼🇸",$Oe="🇽🇰",zOe="🇾🇪",BOe="🇾🇹",NOe="🇿🇦",UOe="🇿🇲",HOe="🇿🇼",VOe="🏴󠁧󠁢󠁥󠁮󠁧󠁿",GOe="🏴󠁧󠁢󠁳󠁣󠁴󠁿",KOe="🏴󠁧󠁢󠁷󠁬󠁳󠁿",WOe={100:"💯",1234:"🔢",grinning:rce,smiley:ice,smile:ace,grin:lce,laughing:cce,satisfied:uce,sweat_smile:dce,rofl:hce,joy:fce,slightly_smiling_face:pce,upside_down_face:gce,wink:mce,blush:_ce,innocent:yce,smiling_face_with_three_hearts:bce,heart_eyes:vce,star_struck:xce,kissing_heart:wce,kissing:kce,relaxed:Cce,kissing_closed_eyes:Ece,kissing_smiling_eyes:Ace,smiling_face_with_tear:Sce,yum:Tce,stuck_out_tongue:Mce,stuck_out_tongue_winking_eye:Dce,zany_face:Lce,stuck_out_tongue_closed_eyes:Oce,money_mouth_face:jce,hugs:Pce,hand_over_mouth:Rce,shushing_face:Ice,thinking:Fce,zipper_mouth_face:qce,raised_eyebrow:$ce,neutral_face:zce,expressionless:Bce,no_mouth:Nce,smirk:Uce,unamused:Hce,roll_eyes:Vce,grimacing:Gce,lying_face:Kce,relieved:Wce,pensive:Zce,sleepy:Jce,drooling_face:Yce,sleeping:Qce,mask:Xce,face_with_thermometer:eue,face_with_head_bandage:tue,nauseated_face:nue,vomiting_face:sue,sneezing_face:oue,hot_face:rue,cold_face:iue,woozy_face:aue,dizzy_face:lue,exploding_head:cue,cowboy_hat_face:uue,partying_face:due,disguised_face:hue,sunglasses:fue,nerd_face:pue,monocle_face:gue,confused:mue,worried:_ue,slightly_frowning_face:yue,frowning_face:bue,open_mouth:vue,hushed:xue,astonished:wue,flushed:kue,pleading_face:Cue,frowning:Eue,anguished:Aue,fearful:Sue,cold_sweat:Tue,disappointed_relieved:Mue,cry:Due,sob:Lue,scream:Oue,confounded:jue,persevere:Pue,disappointed:Rue,sweat:Iue,weary:Fue,tired_face:que,yawning_face:$ue,triumph:zue,rage:Bue,pout:Nue,angry:Uue,cursing_face:Hue,smiling_imp:Vue,imp:Gue,skull:Kue,skull_and_crossbones:Wue,hankey:Zue,poop:Jue,shit:Yue,clown_face:Que,japanese_ogre:Xue,japanese_goblin:ede,ghost:tde,alien:nde,space_invader:sde,robot:ode,smiley_cat:rde,smile_cat:ide,joy_cat:ade,heart_eyes_cat:lde,smirk_cat:cde,kissing_cat:ude,scream_cat:dde,crying_cat_face:hde,pouting_cat:fde,see_no_evil:pde,hear_no_evil:gde,speak_no_evil:mde,kiss:_de,love_letter:yde,cupid:bde,gift_heart:vde,sparkling_heart:xde,heartpulse:wde,heartbeat:kde,revolving_hearts:Cde,two_hearts:Ede,heart_decoration:Ade,heavy_heart_exclamation:Sde,broken_heart:Tde,heart:Mde,orange_heart:Dde,yellow_heart:Lde,green_heart:Ode,blue_heart:jde,purple_heart:Pde,brown_heart:Rde,black_heart:Ide,white_heart:Fde,anger:qde,boom:$de,collision:zde,dizzy:Bde,sweat_drops:Nde,dash:Ude,hole:Hde,bomb:Vde,speech_balloon:Gde,eye_speech_bubble:Kde,left_speech_bubble:Wde,right_anger_bubble:Zde,thought_balloon:Jde,zzz:Yde,wave:Qde,raised_back_of_hand:Xde,raised_hand_with_fingers_splayed:ehe,hand:the,raised_hand:nhe,vulcan_salute:she,ok_hand:ohe,pinched_fingers:rhe,pinching_hand:ihe,v:ahe,crossed_fingers:lhe,love_you_gesture:che,metal:uhe,call_me_hand:dhe,point_left:hhe,point_right:fhe,point_up_2:phe,middle_finger:ghe,fu:mhe,point_down:_he,point_up:yhe,"+1":"👍",thumbsup:bhe,"-1":"👎",thumbsdown:vhe,fist_raised:xhe,fist:whe,fist_oncoming:khe,facepunch:Che,punch:Ehe,fist_left:Ahe,fist_right:She,clap:The,raised_hands:Mhe,open_hands:Dhe,palms_up_together:Lhe,handshake:Ohe,pray:jhe,writing_hand:Phe,nail_care:Rhe,selfie:Ihe,muscle:Fhe,mechanical_arm:qhe,mechanical_leg:$he,leg:zhe,foot:Bhe,ear:Nhe,ear_with_hearing_aid:Uhe,nose:Hhe,brain:Vhe,anatomical_heart:Ghe,lungs:Khe,tooth:Whe,bone:Zhe,eyes:Jhe,eye:Yhe,tongue:Qhe,lips:Xhe,baby:efe,child:tfe,boy:nfe,girl:sfe,adult:ofe,blond_haired_person:rfe,man:ife,bearded_person:afe,red_haired_man:lfe,curly_haired_man:cfe,white_haired_man:ufe,bald_man:dfe,woman:hfe,red_haired_woman:ffe,person_red_hair:pfe,curly_haired_woman:gfe,person_curly_hair:mfe,white_haired_woman:_fe,person_white_hair:yfe,bald_woman:bfe,person_bald:vfe,blond_haired_woman:xfe,blonde_woman:wfe,blond_haired_man:kfe,older_adult:Cfe,older_man:Efe,older_woman:Afe,frowning_person:Sfe,frowning_man:Tfe,frowning_woman:Mfe,pouting_face:Dfe,pouting_man:Lfe,pouting_woman:Ofe,no_good:jfe,no_good_man:Pfe,ng_man:Rfe,no_good_woman:Ife,ng_woman:Ffe,ok_person:qfe,ok_man:$fe,ok_woman:zfe,tipping_hand_person:Bfe,information_desk_person:Nfe,tipping_hand_man:Ufe,sassy_man:Hfe,tipping_hand_woman:Vfe,sassy_woman:Gfe,raising_hand:Kfe,raising_hand_man:Wfe,raising_hand_woman:Zfe,deaf_person:Jfe,deaf_man:Yfe,deaf_woman:Qfe,bow:Xfe,bowing_man:epe,bowing_woman:tpe,facepalm:npe,man_facepalming:spe,woman_facepalming:ope,shrug:rpe,man_shrugging:ipe,woman_shrugging:ape,health_worker:lpe,man_health_worker:cpe,woman_health_worker:upe,student:dpe,man_student:hpe,woman_student:fpe,teacher:ppe,man_teacher:gpe,woman_teacher:mpe,judge:_pe,man_judge:ype,woman_judge:bpe,farmer:vpe,man_farmer:xpe,woman_farmer:wpe,cook:kpe,man_cook:Cpe,woman_cook:Epe,mechanic:Ape,man_mechanic:Spe,woman_mechanic:Tpe,factory_worker:Mpe,man_factory_worker:Dpe,woman_factory_worker:Lpe,office_worker:Ope,man_office_worker:jpe,woman_office_worker:Ppe,scientist:Rpe,man_scientist:Ipe,woman_scientist:Fpe,technologist:qpe,man_technologist:$pe,woman_technologist:zpe,singer:Bpe,man_singer:Npe,woman_singer:Upe,artist:Hpe,man_artist:Vpe,woman_artist:Gpe,pilot:Kpe,man_pilot:Wpe,woman_pilot:Zpe,astronaut:Jpe,man_astronaut:Ype,woman_astronaut:Qpe,firefighter:Xpe,man_firefighter:ege,woman_firefighter:tge,police_officer:nge,cop:sge,policeman:oge,policewoman:rge,detective:ige,male_detective:age,female_detective:lge,guard:cge,guardsman:uge,guardswoman:dge,ninja:hge,construction_worker:fge,construction_worker_man:pge,construction_worker_woman:gge,prince:mge,princess:_ge,person_with_turban:yge,man_with_turban:bge,woman_with_turban:vge,man_with_gua_pi_mao:xge,woman_with_headscarf:wge,person_in_tuxedo:kge,man_in_tuxedo:Cge,woman_in_tuxedo:Ege,person_with_veil:Age,man_with_veil:Sge,woman_with_veil:Tge,bride_with_veil:Mge,pregnant_woman:Dge,breast_feeding:Lge,woman_feeding_baby:Oge,man_feeding_baby:jge,person_feeding_baby:Pge,angel:Rge,santa:Ige,mrs_claus:Fge,mx_claus:qge,superhero:$ge,superhero_man:zge,superhero_woman:Bge,supervillain:Nge,supervillain_man:Uge,supervillain_woman:Hge,mage:Vge,mage_man:Gge,mage_woman:Kge,fairy:Wge,fairy_man:Zge,fairy_woman:Jge,vampire:Yge,vampire_man:Qge,vampire_woman:Xge,merperson:e1e,merman:t1e,mermaid:n1e,elf:s1e,elf_man:o1e,elf_woman:r1e,genie:i1e,genie_man:a1e,genie_woman:l1e,zombie:c1e,zombie_man:u1e,zombie_woman:d1e,massage:h1e,massage_man:f1e,massage_woman:p1e,haircut:g1e,haircut_man:m1e,haircut_woman:_1e,walking:y1e,walking_man:b1e,walking_woman:v1e,standing_person:x1e,standing_man:w1e,standing_woman:k1e,kneeling_person:C1e,kneeling_man:E1e,kneeling_woman:A1e,person_with_probing_cane:S1e,man_with_probing_cane:T1e,woman_with_probing_cane:M1e,person_in_motorized_wheelchair:D1e,man_in_motorized_wheelchair:L1e,woman_in_motorized_wheelchair:O1e,person_in_manual_wheelchair:j1e,man_in_manual_wheelchair:P1e,woman_in_manual_wheelchair:R1e,runner:I1e,running:F1e,running_man:q1e,running_woman:$1e,woman_dancing:z1e,dancer:B1e,man_dancing:N1e,business_suit_levitating:U1e,dancers:H1e,dancing_men:V1e,dancing_women:G1e,sauna_person:K1e,sauna_man:W1e,sauna_woman:Z1e,climbing:J1e,climbing_man:Y1e,climbing_woman:Q1e,person_fencing:X1e,horse_racing:eme,skier:tme,snowboarder:nme,golfing:sme,golfing_man:ome,golfing_woman:rme,surfer:ime,surfing_man:ame,surfing_woman:lme,rowboat:cme,rowing_man:ume,rowing_woman:dme,swimmer:hme,swimming_man:fme,swimming_woman:pme,bouncing_ball_person:gme,bouncing_ball_man:mme,basketball_man:_me,bouncing_ball_woman:yme,basketball_woman:bme,weight_lifting:vme,weight_lifting_man:xme,weight_lifting_woman:wme,bicyclist:kme,biking_man:Cme,biking_woman:Eme,mountain_bicyclist:Ame,mountain_biking_man:Sme,mountain_biking_woman:Tme,cartwheeling:Mme,man_cartwheeling:Dme,woman_cartwheeling:Lme,wrestling:Ome,men_wrestling:jme,women_wrestling:Pme,water_polo:Rme,man_playing_water_polo:Ime,woman_playing_water_polo:Fme,handball_person:qme,man_playing_handball:$me,woman_playing_handball:zme,juggling_person:Bme,man_juggling:Nme,woman_juggling:Ume,lotus_position:Hme,lotus_position_man:Vme,lotus_position_woman:Gme,bath:Kme,sleeping_bed:Wme,people_holding_hands:Zme,two_women_holding_hands:Jme,couple:Yme,two_men_holding_hands:Qme,couplekiss:Xme,couplekiss_man_woman:e_e,couplekiss_man_man:t_e,couplekiss_woman_woman:n_e,couple_with_heart:s_e,couple_with_heart_woman_man:o_e,couple_with_heart_man_man:r_e,couple_with_heart_woman_woman:i_e,family:a_e,family_man_woman_boy:l_e,family_man_woman_girl:c_e,family_man_woman_girl_boy:u_e,family_man_woman_boy_boy:d_e,family_man_woman_girl_girl:h_e,family_man_man_boy:f_e,family_man_man_girl:p_e,family_man_man_girl_boy:g_e,family_man_man_boy_boy:m_e,family_man_man_girl_girl:__e,family_woman_woman_boy:y_e,family_woman_woman_girl:b_e,family_woman_woman_girl_boy:v_e,family_woman_woman_boy_boy:x_e,family_woman_woman_girl_girl:w_e,family_man_boy:k_e,family_man_boy_boy:C_e,family_man_girl:E_e,family_man_girl_boy:A_e,family_man_girl_girl:S_e,family_woman_boy:T_e,family_woman_boy_boy:M_e,family_woman_girl:D_e,family_woman_girl_boy:L_e,family_woman_girl_girl:O_e,speaking_head:j_e,bust_in_silhouette:P_e,busts_in_silhouette:R_e,people_hugging:I_e,footprints:F_e,monkey_face:q_e,monkey:$_e,gorilla:z_e,orangutan:B_e,dog:N_e,dog2:U_e,guide_dog:H_e,service_dog:V_e,poodle:G_e,wolf:K_e,fox_face:W_e,raccoon:Z_e,cat:J_e,cat2:Y_e,black_cat:Q_e,lion:X_e,tiger:e0e,tiger2:t0e,leopard:n0e,horse:s0e,racehorse:o0e,unicorn:r0e,zebra:i0e,deer:a0e,bison:l0e,cow:c0e,ox:u0e,water_buffalo:d0e,cow2:h0e,pig:f0e,pig2:p0e,boar:g0e,pig_nose:m0e,ram:_0e,sheep:y0e,goat:b0e,dromedary_camel:v0e,camel:x0e,llama:w0e,giraffe:k0e,elephant:C0e,mammoth:E0e,rhinoceros:A0e,hippopotamus:S0e,mouse:T0e,mouse2:M0e,rat:D0e,hamster:L0e,rabbit:O0e,rabbit2:j0e,chipmunk:P0e,beaver:R0e,hedgehog:I0e,bat:F0e,bear:q0e,polar_bear:$0e,koala:z0e,panda_face:B0e,sloth:N0e,otter:U0e,skunk:H0e,kangaroo:V0e,badger:G0e,feet:K0e,paw_prints:W0e,turkey:Z0e,chicken:J0e,rooster:Y0e,hatching_chick:Q0e,baby_chick:X0e,hatched_chick:eye,bird:tye,penguin:nye,dove:sye,eagle:oye,duck:rye,swan:iye,owl:aye,dodo:lye,feather:cye,flamingo:uye,peacock:dye,parrot:hye,frog:fye,crocodile:pye,turtle:gye,lizard:mye,snake:_ye,dragon_face:yye,dragon:bye,sauropod:vye,"t-rex":"🦖",whale:xye,whale2:wye,dolphin:kye,flipper:Cye,seal:Eye,fish:Aye,tropical_fish:Sye,blowfish:Tye,shark:Mye,octopus:Dye,shell:Lye,snail:Oye,butterfly:jye,bug:Pye,ant:Rye,bee:Iye,honeybee:Fye,beetle:qye,lady_beetle:$ye,cricket:zye,cockroach:Bye,spider:Nye,spider_web:Uye,scorpion:Hye,mosquito:Vye,fly:Gye,worm:Kye,microbe:Wye,bouquet:Zye,cherry_blossom:Jye,white_flower:Yye,rosette:Qye,rose:Xye,wilted_flower:e2e,hibiscus:t2e,sunflower:n2e,blossom:s2e,tulip:o2e,seedling:r2e,potted_plant:i2e,evergreen_tree:a2e,deciduous_tree:l2e,palm_tree:c2e,cactus:u2e,ear_of_rice:d2e,herb:h2e,shamrock:f2e,four_leaf_clover:p2e,maple_leaf:g2e,fallen_leaf:m2e,leaves:_2e,grapes:y2e,melon:b2e,watermelon:v2e,tangerine:x2e,orange:w2e,mandarin:k2e,lemon:C2e,banana:E2e,pineapple:A2e,mango:S2e,apple:T2e,green_apple:M2e,pear:D2e,peach:L2e,cherries:O2e,strawberry:j2e,blueberries:P2e,kiwi_fruit:R2e,tomato:I2e,olive:F2e,coconut:q2e,avocado:$2e,eggplant:z2e,potato:B2e,carrot:N2e,corn:U2e,hot_pepper:H2e,bell_pepper:V2e,cucumber:G2e,leafy_green:K2e,broccoli:W2e,garlic:Z2e,onion:J2e,mushroom:Y2e,peanuts:Q2e,chestnut:X2e,bread:ebe,croissant:tbe,baguette_bread:nbe,flatbread:sbe,pretzel:obe,bagel:rbe,pancakes:ibe,waffle:abe,cheese:lbe,meat_on_bone:cbe,poultry_leg:ube,cut_of_meat:dbe,bacon:hbe,hamburger:fbe,fries:pbe,pizza:gbe,hotdog:mbe,sandwich:_be,taco:ybe,burrito:bbe,tamale:vbe,stuffed_flatbread:xbe,falafel:wbe,egg:kbe,fried_egg:Cbe,shallow_pan_of_food:Ebe,stew:Abe,fondue:Sbe,bowl_with_spoon:Tbe,green_salad:Mbe,popcorn:Dbe,butter:Lbe,salt:Obe,canned_food:jbe,bento:Pbe,rice_cracker:Rbe,rice_ball:Ibe,rice:Fbe,curry:qbe,ramen:$be,spaghetti:zbe,sweet_potato:Bbe,oden:Nbe,sushi:Ube,fried_shrimp:Hbe,fish_cake:Vbe,moon_cake:Gbe,dango:Kbe,dumpling:Wbe,fortune_cookie:Zbe,takeout_box:Jbe,crab:Ybe,lobster:Qbe,shrimp:Xbe,squid:eve,oyster:tve,icecream:nve,shaved_ice:sve,ice_cream:ove,doughnut:rve,cookie:ive,birthday:ave,cake:lve,cupcake:cve,pie:uve,chocolate_bar:dve,candy:hve,lollipop:fve,custard:pve,honey_pot:gve,baby_bottle:mve,milk_glass:_ve,coffee:yve,teapot:bve,tea:vve,sake:xve,champagne:wve,wine_glass:kve,cocktail:Cve,tropical_drink:Eve,beer:Ave,beers:Sve,clinking_glasses:Tve,tumbler_glass:Mve,cup_with_straw:Dve,bubble_tea:Lve,beverage_box:Ove,mate:jve,ice_cube:Pve,chopsticks:Rve,plate_with_cutlery:Ive,fork_and_knife:Fve,spoon:qve,hocho:$ve,knife:zve,amphora:Bve,earth_africa:Nve,earth_americas:Uve,earth_asia:Hve,globe_with_meridians:Vve,world_map:Gve,japan:Kve,compass:Wve,mountain_snow:Zve,mountain:Jve,volcano:Yve,mount_fuji:Qve,camping:Xve,beach_umbrella:exe,desert:txe,desert_island:nxe,national_park:sxe,stadium:oxe,classical_building:rxe,building_construction:ixe,bricks:axe,rock:lxe,wood:cxe,hut:uxe,houses:dxe,derelict_house:hxe,house:fxe,house_with_garden:pxe,office:gxe,post_office:mxe,european_post_office:_xe,hospital:yxe,bank:bxe,hotel:vxe,love_hotel:xxe,convenience_store:wxe,school:kxe,department_store:Cxe,factory:Exe,japanese_castle:Axe,european_castle:Sxe,wedding:Txe,tokyo_tower:Mxe,statue_of_liberty:Dxe,church:Lxe,mosque:Oxe,hindu_temple:jxe,synagogue:Pxe,shinto_shrine:Rxe,kaaba:Ixe,fountain:Fxe,tent:qxe,foggy:$xe,night_with_stars:zxe,cityscape:Bxe,sunrise_over_mountains:Nxe,sunrise:Uxe,city_sunset:Hxe,city_sunrise:Vxe,bridge_at_night:Gxe,hotsprings:Kxe,carousel_horse:Wxe,ferris_wheel:Zxe,roller_coaster:Jxe,barber:Yxe,circus_tent:Qxe,steam_locomotive:Xxe,railway_car:ewe,bullettrain_side:twe,bullettrain_front:nwe,train2:swe,metro:owe,light_rail:rwe,station:iwe,tram:awe,monorail:lwe,mountain_railway:cwe,train:uwe,bus:dwe,oncoming_bus:hwe,trolleybus:fwe,minibus:pwe,ambulance:gwe,fire_engine:mwe,police_car:_we,oncoming_police_car:ywe,taxi:bwe,oncoming_taxi:vwe,car:xwe,red_car:wwe,oncoming_automobile:kwe,blue_car:Cwe,pickup_truck:Ewe,truck:Awe,articulated_lorry:Swe,tractor:Twe,racing_car:Mwe,motorcycle:Dwe,motor_scooter:Lwe,manual_wheelchair:Owe,motorized_wheelchair:jwe,auto_rickshaw:Pwe,bike:Rwe,kick_scooter:Iwe,skateboard:Fwe,roller_skate:qwe,busstop:$we,motorway:zwe,railway_track:Bwe,oil_drum:Nwe,fuelpump:Uwe,rotating_light:Hwe,traffic_light:Vwe,vertical_traffic_light:Gwe,stop_sign:Kwe,construction:Wwe,anchor:Zwe,boat:Jwe,sailboat:Ywe,canoe:Qwe,speedboat:Xwe,passenger_ship:eke,ferry:tke,motor_boat:nke,ship:ske,airplane:oke,small_airplane:rke,flight_departure:ike,flight_arrival:ake,parachute:lke,seat:cke,helicopter:uke,suspension_railway:dke,mountain_cableway:hke,aerial_tramway:fke,artificial_satellite:pke,rocket:gke,flying_saucer:mke,bellhop_bell:_ke,luggage:yke,hourglass:bke,hourglass_flowing_sand:vke,watch:xke,alarm_clock:wke,stopwatch:kke,timer_clock:Cke,mantelpiece_clock:Eke,clock12:Ake,clock1230:Ske,clock1:Tke,clock130:Mke,clock2:Dke,clock230:Lke,clock3:Oke,clock330:jke,clock4:Pke,clock430:Rke,clock5:Ike,clock530:Fke,clock6:qke,clock630:$ke,clock7:zke,clock730:Bke,clock8:Nke,clock830:Uke,clock9:Hke,clock930:Vke,clock10:Gke,clock1030:Kke,clock11:Wke,clock1130:Zke,new_moon:Jke,waxing_crescent_moon:Yke,first_quarter_moon:Qke,moon:Xke,waxing_gibbous_moon:e5e,full_moon:t5e,waning_gibbous_moon:n5e,last_quarter_moon:s5e,waning_crescent_moon:o5e,crescent_moon:r5e,new_moon_with_face:i5e,first_quarter_moon_with_face:a5e,last_quarter_moon_with_face:l5e,thermometer:c5e,sunny:u5e,full_moon_with_face:d5e,sun_with_face:h5e,ringed_planet:f5e,star:p5e,star2:g5e,stars:m5e,milky_way:_5e,cloud:y5e,partly_sunny:b5e,cloud_with_lightning_and_rain:v5e,sun_behind_small_cloud:x5e,sun_behind_large_cloud:w5e,sun_behind_rain_cloud:k5e,cloud_with_rain:C5e,cloud_with_snow:E5e,cloud_with_lightning:A5e,tornado:S5e,fog:T5e,wind_face:M5e,cyclone:D5e,rainbow:L5e,closed_umbrella:O5e,open_umbrella:j5e,umbrella:P5e,parasol_on_ground:R5e,zap:I5e,snowflake:F5e,snowman_with_snow:q5e,snowman:$5e,comet:z5e,fire:B5e,droplet:N5e,ocean:U5e,jack_o_lantern:H5e,christmas_tree:V5e,fireworks:G5e,sparkler:K5e,firecracker:W5e,sparkles:Z5e,balloon:J5e,tada:Y5e,confetti_ball:Q5e,tanabata_tree:X5e,bamboo:e4e,dolls:t4e,flags:n4e,wind_chime:s4e,rice_scene:o4e,red_envelope:r4e,ribbon:i4e,gift:a4e,reminder_ribbon:l4e,tickets:c4e,ticket:u4e,medal_military:d4e,trophy:h4e,medal_sports:f4e,"1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:p4e,baseball:g4e,softball:m4e,basketball:_4e,volleyball:y4e,football:b4e,rugby_football:v4e,tennis:x4e,flying_disc:w4e,bowling:k4e,cricket_game:C4e,field_hockey:E4e,ice_hockey:A4e,lacrosse:S4e,ping_pong:T4e,badminton:M4e,boxing_glove:D4e,martial_arts_uniform:L4e,goal_net:O4e,golf:j4e,ice_skate:P4e,fishing_pole_and_fish:R4e,diving_mask:I4e,running_shirt_with_sash:F4e,ski:q4e,sled:$4e,curling_stone:z4e,dart:B4e,yo_yo:N4e,kite:U4e,"8ball":"🎱",crystal_ball:H4e,magic_wand:V4e,nazar_amulet:G4e,video_game:K4e,joystick:W4e,slot_machine:Z4e,game_die:J4e,jigsaw:Y4e,teddy_bear:Q4e,pinata:X4e,nesting_dolls:e3e,spades:t3e,hearts:n3e,diamonds:s3e,clubs:o3e,chess_pawn:r3e,black_joker:i3e,mahjong:a3e,flower_playing_cards:l3e,performing_arts:c3e,framed_picture:u3e,art:d3e,thread:h3e,sewing_needle:f3e,yarn:p3e,knot:g3e,eyeglasses:m3e,dark_sunglasses:_3e,goggles:y3e,lab_coat:b3e,safety_vest:v3e,necktie:x3e,shirt:w3e,tshirt:k3e,jeans:C3e,scarf:E3e,gloves:A3e,coat:S3e,socks:T3e,dress:M3e,kimono:D3e,sari:L3e,one_piece_swimsuit:O3e,swim_brief:j3e,shorts:P3e,bikini:R3e,womans_clothes:I3e,purse:F3e,handbag:q3e,pouch:$3e,shopping:z3e,school_satchel:B3e,thong_sandal:N3e,mans_shoe:U3e,shoe:H3e,athletic_shoe:V3e,hiking_boot:G3e,flat_shoe:K3e,high_heel:W3e,sandal:Z3e,ballet_shoes:J3e,boot:Y3e,crown:Q3e,womans_hat:X3e,tophat:e8e,mortar_board:t8e,billed_cap:n8e,military_helmet:s8e,rescue_worker_helmet:o8e,prayer_beads:r8e,lipstick:i8e,ring:a8e,gem:l8e,mute:c8e,speaker:u8e,sound:d8e,loud_sound:h8e,loudspeaker:f8e,mega:p8e,postal_horn:g8e,bell:m8e,no_bell:_8e,musical_score:y8e,musical_note:b8e,notes:v8e,studio_microphone:x8e,level_slider:w8e,control_knobs:k8e,microphone:C8e,headphones:E8e,radio:A8e,saxophone:S8e,accordion:T8e,guitar:M8e,musical_keyboard:D8e,trumpet:L8e,violin:O8e,banjo:j8e,drum:P8e,long_drum:R8e,iphone:I8e,calling:F8e,phone:q8e,telephone:$8e,telephone_receiver:z8e,pager:B8e,fax:N8e,battery:U8e,electric_plug:H8e,computer:V8e,desktop_computer:G8e,printer:K8e,keyboard:W8e,computer_mouse:Z8e,trackball:J8e,minidisc:Y8e,floppy_disk:Q8e,cd:X8e,dvd:e9e,abacus:t9e,movie_camera:n9e,film_strip:s9e,film_projector:o9e,clapper:r9e,tv:i9e,camera:a9e,camera_flash:l9e,video_camera:c9e,vhs:u9e,mag:d9e,mag_right:h9e,candle:f9e,bulb:p9e,flashlight:g9e,izakaya_lantern:m9e,lantern:_9e,diya_lamp:y9e,notebook_with_decorative_cover:b9e,closed_book:v9e,book:x9e,open_book:w9e,green_book:k9e,blue_book:C9e,orange_book:E9e,books:A9e,notebook:S9e,ledger:T9e,page_with_curl:M9e,scroll:D9e,page_facing_up:L9e,newspaper:O9e,newspaper_roll:j9e,bookmark_tabs:P9e,bookmark:R9e,label:I9e,moneybag:F9e,coin:q9e,yen:$9e,dollar:z9e,euro:B9e,pound:N9e,money_with_wings:U9e,credit_card:H9e,receipt:V9e,chart:G9e,envelope:K9e,email:W9e,"e-mail":"📧",incoming_envelope:Z9e,envelope_with_arrow:J9e,outbox_tray:Y9e,inbox_tray:Q9e,package:"📦",mailbox:X9e,mailbox_closed:eCe,mailbox_with_mail:tCe,mailbox_with_no_mail:nCe,postbox:sCe,ballot_box:oCe,pencil2:rCe,black_nib:iCe,fountain_pen:aCe,pen:lCe,paintbrush:cCe,crayon:uCe,memo:dCe,pencil:hCe,briefcase:fCe,file_folder:pCe,open_file_folder:gCe,card_index_dividers:mCe,date:_Ce,calendar:yCe,spiral_notepad:bCe,spiral_calendar:vCe,card_index:xCe,chart_with_upwards_trend:wCe,chart_with_downwards_trend:kCe,bar_chart:CCe,clipboard:ECe,pushpin:ACe,round_pushpin:SCe,paperclip:TCe,paperclips:MCe,straight_ruler:DCe,triangular_ruler:LCe,scissors:OCe,card_file_box:jCe,file_cabinet:PCe,wastebasket:RCe,lock:ICe,unlock:FCe,lock_with_ink_pen:qCe,closed_lock_with_key:$Ce,key:zCe,old_key:BCe,hammer:NCe,axe:UCe,pick:HCe,hammer_and_pick:VCe,hammer_and_wrench:GCe,dagger:KCe,crossed_swords:WCe,gun:ZCe,boomerang:JCe,bow_and_arrow:YCe,shield:QCe,carpentry_saw:XCe,wrench:e6e,screwdriver:t6e,nut_and_bolt:n6e,gear:s6e,clamp:o6e,balance_scale:r6e,probing_cane:i6e,link:a6e,chains:l6e,hook:c6e,toolbox:u6e,magnet:d6e,ladder:h6e,alembic:f6e,test_tube:p6e,petri_dish:g6e,dna:m6e,microscope:_6e,telescope:y6e,satellite:b6e,syringe:v6e,drop_of_blood:x6e,pill:w6e,adhesive_bandage:k6e,stethoscope:C6e,door:E6e,elevator:A6e,mirror:S6e,window:T6e,bed:M6e,couch_and_lamp:D6e,chair:L6e,toilet:O6e,plunger:j6e,shower:P6e,bathtub:R6e,mouse_trap:I6e,razor:F6e,lotion_bottle:q6e,safety_pin:$6e,broom:z6e,basket:B6e,roll_of_paper:N6e,bucket:U6e,soap:H6e,toothbrush:V6e,sponge:G6e,fire_extinguisher:K6e,shopping_cart:W6e,smoking:Z6e,coffin:J6e,headstone:Y6e,funeral_urn:Q6e,moyai:X6e,placard:eEe,atm:tEe,put_litter_in_its_place:nEe,potable_water:sEe,wheelchair:oEe,mens:rEe,womens:iEe,restroom:aEe,baby_symbol:lEe,wc:cEe,passport_control:uEe,customs:dEe,baggage_claim:hEe,left_luggage:fEe,warning:pEe,children_crossing:gEe,no_entry:mEe,no_entry_sign:_Ee,no_bicycles:yEe,no_smoking:bEe,do_not_litter:vEe,"non-potable_water":"🚱",no_pedestrians:xEe,no_mobile_phones:wEe,underage:kEe,radioactive:CEe,biohazard:EEe,arrow_up:AEe,arrow_upper_right:SEe,arrow_right:TEe,arrow_lower_right:MEe,arrow_down:DEe,arrow_lower_left:LEe,arrow_left:OEe,arrow_upper_left:jEe,arrow_up_down:PEe,left_right_arrow:REe,leftwards_arrow_with_hook:IEe,arrow_right_hook:FEe,arrow_heading_up:qEe,arrow_heading_down:$Ee,arrows_clockwise:zEe,arrows_counterclockwise:BEe,back:NEe,end:UEe,on:HEe,soon:VEe,top:GEe,place_of_worship:KEe,atom_symbol:WEe,om:ZEe,star_of_david:JEe,wheel_of_dharma:YEe,yin_yang:QEe,latin_cross:XEe,orthodox_cross:e7e,star_and_crescent:t7e,peace_symbol:n7e,menorah:s7e,six_pointed_star:o7e,aries:r7e,taurus:i7e,gemini:a7e,cancer:l7e,leo:c7e,virgo:u7e,libra:d7e,scorpius:h7e,sagittarius:f7e,capricorn:p7e,aquarius:g7e,pisces:m7e,ophiuchus:_7e,twisted_rightwards_arrows:y7e,repeat:b7e,repeat_one:v7e,arrow_forward:x7e,fast_forward:w7e,next_track_button:k7e,play_or_pause_button:C7e,arrow_backward:E7e,rewind:A7e,previous_track_button:S7e,arrow_up_small:T7e,arrow_double_up:M7e,arrow_down_small:D7e,arrow_double_down:L7e,pause_button:O7e,stop_button:j7e,record_button:P7e,eject_button:R7e,cinema:I7e,low_brightness:F7e,high_brightness:q7e,signal_strength:$7e,vibration_mode:z7e,mobile_phone_off:B7e,female_sign:N7e,male_sign:U7e,transgender_symbol:H7e,heavy_multiplication_x:V7e,heavy_plus_sign:G7e,heavy_minus_sign:K7e,heavy_division_sign:W7e,infinity:Z7e,bangbang:J7e,interrobang:Y7e,question:Q7e,grey_question:X7e,grey_exclamation:eAe,exclamation:tAe,heavy_exclamation_mark:nAe,wavy_dash:sAe,currency_exchange:oAe,heavy_dollar_sign:rAe,medical_symbol:iAe,recycle:aAe,fleur_de_lis:lAe,trident:cAe,name_badge:uAe,beginner:dAe,o:hAe,white_check_mark:fAe,ballot_box_with_check:pAe,heavy_check_mark:gAe,x:mAe,negative_squared_cross_mark:_Ae,curly_loop:yAe,loop:bAe,part_alternation_mark:vAe,eight_spoked_asterisk:xAe,eight_pointed_black_star:wAe,sparkle:kAe,copyright:CAe,registered:EAe,tm:AAe,hash:SAe,asterisk:TAe,zero:MAe,one:DAe,two:LAe,three:OAe,four:jAe,five:PAe,six:RAe,seven:IAe,eight:FAe,nine:qAe,keycap_ten:$Ae,capital_abcd:zAe,abcd:BAe,symbols:NAe,abc:UAe,a:HAe,ab:VAe,b:GAe,cl:KAe,cool:WAe,free:ZAe,information_source:JAe,id:YAe,m:QAe,new:"🆕",ng:XAe,o2:eSe,ok:tSe,parking:nSe,sos:sSe,up:oSe,vs:rSe,koko:iSe,sa:aSe,ideograph_advantage:lSe,accept:cSe,congratulations:uSe,secret:dSe,u6e80:hSe,red_circle:fSe,orange_circle:pSe,yellow_circle:gSe,green_circle:mSe,large_blue_circle:_Se,purple_circle:ySe,brown_circle:bSe,black_circle:vSe,white_circle:xSe,red_square:wSe,orange_square:kSe,yellow_square:CSe,green_square:ESe,blue_square:ASe,purple_square:SSe,brown_square:TSe,black_large_square:MSe,white_large_square:DSe,black_medium_square:LSe,white_medium_square:OSe,black_medium_small_square:jSe,white_medium_small_square:PSe,black_small_square:RSe,white_small_square:ISe,large_orange_diamond:FSe,large_blue_diamond:qSe,small_orange_diamond:$Se,small_blue_diamond:zSe,small_red_triangle:BSe,small_red_triangle_down:NSe,diamond_shape_with_a_dot_inside:USe,radio_button:HSe,white_square_button:VSe,black_square_button:GSe,checkered_flag:KSe,triangular_flag_on_post:WSe,crossed_flags:ZSe,black_flag:JSe,white_flag:YSe,rainbow_flag:QSe,transgender_flag:XSe,pirate_flag:eTe,ascension_island:tTe,andorra:nTe,united_arab_emirates:sTe,afghanistan:oTe,antigua_barbuda:rTe,anguilla:iTe,albania:aTe,armenia:lTe,angola:cTe,antarctica:uTe,argentina:dTe,american_samoa:hTe,austria:fTe,australia:pTe,aruba:gTe,aland_islands:mTe,azerbaijan:_Te,bosnia_herzegovina:yTe,barbados:bTe,bangladesh:vTe,belgium:xTe,burkina_faso:wTe,bulgaria:kTe,bahrain:CTe,burundi:ETe,benin:ATe,st_barthelemy:STe,bermuda:TTe,brunei:MTe,bolivia:DTe,caribbean_netherlands:LTe,brazil:OTe,bahamas:jTe,bhutan:PTe,bouvet_island:RTe,botswana:ITe,belarus:FTe,belize:qTe,canada:$Te,cocos_islands:zTe,congo_kinshasa:BTe,central_african_republic:NTe,congo_brazzaville:UTe,switzerland:HTe,cote_divoire:VTe,cook_islands:GTe,chile:KTe,cameroon:WTe,cn:ZTe,colombia:JTe,clipperton_island:YTe,costa_rica:QTe,cuba:XTe,cape_verde:eMe,curacao:tMe,christmas_island:nMe,cyprus:sMe,czech_republic:oMe,de:rMe,diego_garcia:iMe,djibouti:aMe,denmark:lMe,dominica:cMe,dominican_republic:uMe,algeria:dMe,ceuta_melilla:hMe,ecuador:fMe,estonia:pMe,egypt:gMe,western_sahara:mMe,eritrea:_Me,es:yMe,ethiopia:bMe,eu:vMe,european_union:xMe,finland:wMe,fiji:kMe,falkland_islands:CMe,micronesia:EMe,faroe_islands:AMe,fr:SMe,gabon:TMe,gb:MMe,uk:DMe,grenada:LMe,georgia:OMe,french_guiana:jMe,guernsey:PMe,ghana:RMe,gibraltar:IMe,greenland:FMe,gambia:qMe,guinea:$Me,guadeloupe:zMe,equatorial_guinea:BMe,greece:NMe,south_georgia_south_sandwich_islands:UMe,guatemala:HMe,guam:VMe,guinea_bissau:GMe,guyana:KMe,hong_kong:WMe,heard_mcdonald_islands:ZMe,honduras:JMe,croatia:YMe,haiti:QMe,hungary:XMe,canary_islands:eDe,indonesia:tDe,ireland:nDe,israel:sDe,isle_of_man:oDe,india:rDe,british_indian_ocean_territory:iDe,iraq:aDe,iran:lDe,iceland:cDe,it:uDe,jersey:dDe,jamaica:hDe,jordan:fDe,jp:pDe,kenya:gDe,kyrgyzstan:mDe,cambodia:_De,kiribati:yDe,comoros:bDe,st_kitts_nevis:vDe,north_korea:xDe,kr:wDe,kuwait:kDe,cayman_islands:CDe,kazakhstan:EDe,laos:ADe,lebanon:SDe,st_lucia:TDe,liechtenstein:MDe,sri_lanka:DDe,liberia:LDe,lesotho:ODe,lithuania:jDe,luxembourg:PDe,latvia:RDe,libya:IDe,morocco:FDe,monaco:qDe,moldova:$De,montenegro:zDe,st_martin:BDe,madagascar:NDe,marshall_islands:UDe,macedonia:HDe,mali:VDe,myanmar:GDe,mongolia:KDe,macau:WDe,northern_mariana_islands:ZDe,martinique:JDe,mauritania:YDe,montserrat:QDe,malta:XDe,mauritius:eLe,maldives:tLe,malawi:nLe,mexico:sLe,malaysia:oLe,mozambique:rLe,namibia:iLe,new_caledonia:aLe,niger:lLe,norfolk_island:cLe,nigeria:uLe,nicaragua:dLe,netherlands:hLe,norway:fLe,nepal:pLe,nauru:gLe,niue:mLe,new_zealand:_Le,oman:yLe,panama:bLe,peru:vLe,french_polynesia:xLe,papua_new_guinea:wLe,philippines:kLe,pakistan:CLe,poland:ELe,st_pierre_miquelon:ALe,pitcairn_islands:SLe,puerto_rico:TLe,palestinian_territories:MLe,portugal:DLe,palau:LLe,paraguay:OLe,qatar:jLe,reunion:PLe,romania:RLe,serbia:ILe,ru:FLe,rwanda:qLe,saudi_arabia:$Le,solomon_islands:zLe,seychelles:BLe,sudan:NLe,sweden:ULe,singapore:HLe,st_helena:VLe,slovenia:GLe,svalbard_jan_mayen:KLe,slovakia:WLe,sierra_leone:ZLe,san_marino:JLe,senegal:YLe,somalia:QLe,suriname:XLe,south_sudan:eOe,sao_tome_principe:tOe,el_salvador:nOe,sint_maarten:sOe,syria:oOe,swaziland:rOe,tristan_da_cunha:iOe,turks_caicos_islands:aOe,chad:lOe,french_southern_territories:cOe,togo:uOe,thailand:dOe,tajikistan:hOe,tokelau:fOe,timor_leste:pOe,turkmenistan:gOe,tunisia:mOe,tonga:_Oe,tr:yOe,trinidad_tobago:bOe,tuvalu:vOe,taiwan:xOe,tanzania:wOe,ukraine:kOe,uganda:COe,us_outlying_islands:EOe,united_nations:AOe,us:SOe,uruguay:TOe,uzbekistan:MOe,vatican_city:DOe,st_vincent_grenadines:LOe,venezuela:OOe,british_virgin_islands:jOe,us_virgin_islands:POe,vietnam:ROe,vanuatu:IOe,wallis_futuna:FOe,samoa:qOe,kosovo:$Oe,yemen:zOe,mayotte:BOe,south_africa:NOe,zambia:UOe,zimbabwe:HOe,england:VOe,scotland:GOe,wales:KOe};var ZOe={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["0&&!l.test(y[v-1])||v+w.lengthg&&(p=new f("text","",0),p.content=u.slice(g,v),m.push(p)),p=new f("emoji","",0),p.markup=x,p.content=n[x],m.push(p),g=v+w.length}),g=0;f--)w=m[f],(w.type==="link_open"||w.type==="link_close")&&w.info==="auto"&&(y-=w.nesting),w.type==="text"&&y===0&&o.test(w.content)&&(v[p].children=m=i(m,f,c(w.content,w.level,h.Token)))}};function QOe(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var XOe=function(e){var n=e.defs,s;e.enabled.length&&(n=Object.keys(n).reduce(function(l,c){return e.enabled.indexOf(c)>=0&&(l[c]=n[c]),l},{})),s=Object.keys(e.shortcuts).reduce(function(l,c){return n[c]?Array.isArray(e.shortcuts[c])?(e.shortcuts[c].forEach(function(u){l[u]=c}),l):(l[e.shortcuts[c]]=c,l):l},{});var o=Object.keys(n),r;o.length===0?r="^$":r=o.map(function(l){return":"+l+":"}).concat(Object.keys(s)).sort().reverse().map(function(l){return QOe(l)}).join("|");var i=RegExp(r),a=RegExp(r,"g");return{defs:n,shortcuts:s,scanRE:i,replaceRE:a}},eje=JOe,tje=YOe,nje=XOe,sje=function(e,n){var s={defs:{},shortcuts:{},enabled:[]},o=nje(e.utils.assign({},s,n||{}));e.renderer.rules.emoji=eje,e.core.ruler.after("linkify","emoji",tje(e,o.defs,o.shortcuts,o.scanRE,o.replaceRE))},oje=WOe,rje=ZOe,ije=sje,aje=function(e,n){var s={defs:oje,shortcuts:rje,enabled:[]},o=e.utils.assign({},s,n||{});ije(e,o)};const lje=Is(aje);function Bf(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],s=typeof n;(s==="object"||s==="function")&&!Object.isFrozen(n)&&Bf(n)}),t}class Ou{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Nf(t){return t.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function kn(t,...e){const n=Object.create(null);for(const s in t)n[s]=t[s];return e.forEach(function(s){for(const o in s)n[o]=s[o]}),n}const cje="
",ju=t=>!!t.scope,uje=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((s,o)=>`${s}${"_".repeat(o+1)}`)].join(" ")}return`${e}${t}`};class dje{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Nf(e)}openNode(e){if(!ju(e))return;const n=uje(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){ju(e)&&(this.buffer+=cje)}value(){return this.buffer}span(e){this.buffer+=``}}const Pu=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class pl{constructor(){this.rootNode=Pu(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=Pu({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(s=>this._walk(e,s)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{pl._collapse(n)}))}}class hje extends pl{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const s=e.root;n&&(s.scope=`language:${n}`),this.add(s)}toHTML(){return new dje(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function yo(t){return t?typeof t=="string"?t:t.source:null}function Uf(t){return Xn("(?=",t,")")}function fje(t){return Xn("(?:",t,")*")}function pje(t){return Xn("(?:",t,")?")}function Xn(...t){return t.map(n=>yo(n)).join("")}function gje(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function gl(...t){return"("+(gje(t).capture?"":"?:")+t.map(s=>yo(s)).join("|")+")"}function Hf(t){return new RegExp(t.toString()+"|").exec("").length-1}function mje(t,e){const n=t&&t.exec(e);return n&&n.index===0}const _je=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ml(t,{joinWith:e}){let n=0;return t.map(s=>{n+=1;const o=n;let r=yo(s),i="";for(;r.length>0;){const a=_je.exec(r);if(!a){i+=r;break}i+=r.substring(0,a.index),r=r.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?i+="\\"+String(Number(a[1])+o):(i+=a[0],a[0]==="("&&n++)}return i}).map(s=>`(${s})`).join(e)}const yje=/\b\B/,Vf="[a-zA-Z]\\w*",_l="[a-zA-Z_]\\w*",Gf="\\b\\d+(\\.\\d+)?",Kf="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Wf="\\b(0b[01]+)",bje="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",vje=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Xn(e,/.*\b/,t.binary,/\b.*/)),kn({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,s)=>{n.index!==0&&s.ignoreMatch()}},t)},bo={begin:"\\\\[\\s\\S]",relevance:0},xje={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[bo]},wje={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[bo]},kje={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},ri=function(t,e,n={}){const s=kn({scope:"comment",begin:t,end:e,contains:[]},n);s.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const o=gl("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return s.contains.push({begin:Xn(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),s},Cje=ri("//","$"),Eje=ri("/\\*","\\*/"),Aje=ri("#","$"),Sje={scope:"number",begin:Gf,relevance:0},Tje={scope:"number",begin:Kf,relevance:0},Mje={scope:"number",begin:Wf,relevance:0},Dje={begin:/(?=\/[^/\n]*\/)/,contains:[{scope:"regexp",begin:/\//,end:/\/[gimuy]*/,illegal:/\n/,contains:[bo,{begin:/\[/,end:/\]/,relevance:0,contains:[bo]}]}]},Lje={scope:"title",begin:Vf,relevance:0},Oje={scope:"title",begin:_l,relevance:0},jje={begin:"\\.\\s*"+_l,relevance:0},Pje=function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})};var Bo=Object.freeze({__proto__:null,MATCH_NOTHING_RE:yje,IDENT_RE:Vf,UNDERSCORE_IDENT_RE:_l,NUMBER_RE:Gf,C_NUMBER_RE:Kf,BINARY_NUMBER_RE:Wf,RE_STARTERS_RE:bje,SHEBANG:vje,BACKSLASH_ESCAPE:bo,APOS_STRING_MODE:xje,QUOTE_STRING_MODE:wje,PHRASAL_WORDS_MODE:kje,COMMENT:ri,C_LINE_COMMENT_MODE:Cje,C_BLOCK_COMMENT_MODE:Eje,HASH_COMMENT_MODE:Aje,NUMBER_MODE:Sje,C_NUMBER_MODE:Tje,BINARY_NUMBER_MODE:Mje,REGEXP_MODE:Dje,TITLE_MODE:Lje,UNDERSCORE_TITLE_MODE:Oje,METHOD_GUARD:jje,END_SAME_AS_BEGIN:Pje});function Rje(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Ije(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Fje(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Rje,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function qje(t,e){Array.isArray(t.illegal)&&(t.illegal=gl(...t.illegal))}function $je(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function zje(t,e){t.relevance===void 0&&(t.relevance=1)}const Bje=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(s=>{delete t[s]}),t.keywords=n.keywords,t.begin=Xn(n.beforeMatch,Uf(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Nje=["of","and","for","in","not","or","if","then","parent","list","value"],Uje="keyword";function Zf(t,e,n=Uje){const s=Object.create(null);return typeof t=="string"?o(n,t.split(" ")):Array.isArray(t)?o(n,t):Object.keys(t).forEach(function(r){Object.assign(s,Zf(t[r],e,r))}),s;function o(r,i){e&&(i=i.map(a=>a.toLowerCase())),i.forEach(function(a){const l=a.split("|");s[l[0]]=[r,Hje(l[0],l[1])]})}}function Hje(t,e){return e?Number(e):Vje(t)?0:1}function Vje(t){return Nje.includes(t.toLowerCase())}const Ru={},Gn=t=>{console.error(t)},Iu=(t,...e)=>{console.log(`WARN: ${t}`,...e)},os=(t,e)=>{Ru[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Ru[`${t}/${e}`]=!0)},_r=new Error;function Jf(t,e,{key:n}){let s=0;const o=t[n],r={},i={};for(let a=1;a<=e.length;a++)i[a+s]=o[a],r[a+s]=!0,s+=Hf(e[a-1]);t[n]=i,t[n]._emit=r,t[n]._multi=!0}function Gje(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Gn("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),_r;if(typeof t.beginScope!="object"||t.beginScope===null)throw Gn("beginScope must be object"),_r;Jf(t,t.begin,{key:"beginScope"}),t.begin=ml(t.begin,{joinWith:""})}}function Kje(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Gn("skip, excludeEnd, returnEnd not compatible with endScope: {}"),_r;if(typeof t.endScope!="object"||t.endScope===null)throw Gn("endScope must be object"),_r;Jf(t,t.end,{key:"endScope"}),t.end=ml(t.end,{joinWith:""})}}function Wje(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Zje(t){Wje(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Gje(t),Kje(t)}function Jje(t){function e(i,a){return new RegExp(yo(i),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(a?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(a,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,a]),this.matchAt+=Hf(a)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const a=this.regexes.map(l=>l[1]);this.matcherRe=e(ml(a,{joinWith:"|"}),!0),this.lastIndex=0}exec(a){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(a);if(!l)return null;const c=l.findIndex((h,f)=>f>0&&h!==void 0),u=this.matchIndexes[c];return l.splice(0,c),Object.assign(l,u)}}class s{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(a){if(this.multiRegexes[a])return this.multiRegexes[a];const l=new n;return this.rules.slice(a).forEach(([c,u])=>l.addRule(c,u)),l.compile(),this.multiRegexes[a]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(a,l){this.rules.push([a,l]),l.type==="begin"&&this.count++}exec(a){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let c=l.exec(a);if(this.resumingScanAtSamePosition()&&!(c&&c.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,c=u.exec(a)}return c&&(this.regexIndex+=c.position+1,this.regexIndex===this.count&&this.considerAll()),c}}function o(i){const a=new s;return i.contains.forEach(l=>a.addRule(l.begin,{rule:l,type:"begin"})),i.terminatorEnd&&a.addRule(i.terminatorEnd,{type:"end"}),i.illegal&&a.addRule(i.illegal,{type:"illegal"}),a}function r(i,a){const l=i;if(i.isCompiled)return l;[Ije,$je,Zje,Bje].forEach(u=>u(i,a)),t.compilerExtensions.forEach(u=>u(i,a)),i.__beforeBegin=null,[Fje,qje,zje].forEach(u=>u(i,a)),i.isCompiled=!0;let c=null;return typeof i.keywords=="object"&&i.keywords.$pattern&&(i.keywords=Object.assign({},i.keywords),c=i.keywords.$pattern,delete i.keywords.$pattern),c=c||/\w+/,i.keywords&&(i.keywords=Zf(i.keywords,t.case_insensitive)),l.keywordPatternRe=e(c,!0),a&&(i.begin||(i.begin=/\B|\b/),l.beginRe=e(l.begin),!i.end&&!i.endsWithParent&&(i.end=/\B|\b/),i.end&&(l.endRe=e(l.end)),l.terminatorEnd=yo(l.end)||"",i.endsWithParent&&a.terminatorEnd&&(l.terminatorEnd+=(i.end?"|":"")+a.terminatorEnd)),i.illegal&&(l.illegalRe=e(i.illegal)),i.contains||(i.contains=[]),i.contains=[].concat(...i.contains.map(function(u){return Yje(u==="self"?i:u)})),i.contains.forEach(function(u){r(u,l)}),i.starts&&r(i.starts,a),l.matcher=o(l),l}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=kn(t.classNameAliases||{}),r(t)}function Yf(t){return t?t.endsWithParent||Yf(t.starts):!1}function Yje(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return kn(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Yf(t)?kn(t,{starts:t.starts?kn(t.starts):null}):Object.isFrozen(t)?kn(t):t}var Qje="11.8.0";class Xje extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const $i=Nf,Fu=kn,qu=Symbol("nomatch"),ePe=7,Qf=function(t){const e=Object.create(null),n=Object.create(null),s=[];let o=!0;const r="Could not find the language '{}', did you forget to load/include a language module?",i={disableAutodetect:!0,name:"Plain text",contains:[]};let a={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:hje};function l(A){return a.noHighlightRe.test(A)}function c(A){let N=A.className+" ";N+=A.parentNode?A.parentNode.className:"";const G=a.languageDetectRe.exec(N);if(G){const me=k(G[1]);return me||(Iu(r.replace("{}",G[1])),Iu("Falling back to no-highlight mode for this block.",A)),me?G[1]:"no-highlight"}return N.split(/\s+/).find(me=>l(me)||k(me))}function u(A,N,G){let me="",pe="";typeof N=="object"?(me=A,G=N.ignoreIllegals,pe=N.language):(os("10.7.0","highlight(lang, code, ...args) has been deprecated."),os("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),pe=A,me=N),G===void 0&&(G=!0);const ee={code:me,language:pe};he("before:highlight",ee);const ve=ee.result?ee.result:h(ee.language,ee.code,G);return ve.code=ee.code,he("after:highlight",ve),ve}function h(A,N,G,me){const pe=Object.create(null);function ee(V,ne){return V.keywords[ne]}function ve(){if(!R.keywords){B.addText(K);return}let V=0;R.keywordPatternRe.lastIndex=0;let ne=R.keywordPatternRe.exec(K),ue="";for(;ne;){ue+=K.substring(V,ne.index);const we=P.case_insensitive?ne[0].toLowerCase():ne[0],Re=ee(R,we);if(Re){const[Ne,mt]=Re;if(B.addText(ue),ue="",pe[we]=(pe[we]||0)+1,pe[we]<=ePe&&(re+=mt),Ne.startsWith("_"))ue+=ne[0];else{const Ye=P.classNameAliases[Ne]||Ne;W(ne[0],Ye)}}else ue+=ne[0];V=R.keywordPatternRe.lastIndex,ne=R.keywordPatternRe.exec(K)}ue+=K.substring(V),B.addText(ue)}function Ae(){if(K==="")return;let V=null;if(typeof R.subLanguage=="string"){if(!e[R.subLanguage]){B.addText(K);return}V=h(R.subLanguage,K,!0,te[R.subLanguage]),te[R.subLanguage]=V._top}else V=p(K,R.subLanguage.length?R.subLanguage:null);R.relevance>0&&(re+=V.relevance),B.__addSublanguage(V._emitter,V.language)}function L(){R.subLanguage!=null?Ae():ve(),K=""}function W(V,ne){V!==""&&(B.startScope(ne),B.addText(V),B.endScope())}function J(V,ne){let ue=1;const we=ne.length-1;for(;ue<=we;){if(!V._emit[ue]){ue++;continue}const Re=P.classNameAliases[V[ue]]||V[ue],Ne=ne[ue];Re?W(Ne,Re):(K=Ne,ve(),K=""),ue++}}function ie(V,ne){return V.scope&&typeof V.scope=="string"&&B.openNode(P.classNameAliases[V.scope]||V.scope),V.beginScope&&(V.beginScope._wrap?(W(K,P.classNameAliases[V.beginScope._wrap]||V.beginScope._wrap),K=""):V.beginScope._multi&&(J(V.beginScope,ne),K="")),R=Object.create(V,{parent:{value:R}}),R}function se(V,ne,ue){let we=mje(V.endRe,ue);if(we){if(V["on:end"]){const Re=new Ou(V);V["on:end"](ne,Re),Re.isMatchIgnored&&(we=!1)}if(we){for(;V.endsParent&&V.parent;)V=V.parent;return V}}if(V.endsWithParent)return se(V.parent,ne,ue)}function ge(V){return R.matcher.regexIndex===0?(K+=V[0],1):(xe=!0,0)}function de(V){const ne=V[0],ue=V.rule,we=new Ou(ue),Re=[ue.__beforeBegin,ue["on:begin"]];for(const Ne of Re)if(Ne&&(Ne(V,we),we.isMatchIgnored))return ge(ne);return ue.skip?K+=ne:(ue.excludeBegin&&(K+=ne),L(),!ue.returnBegin&&!ue.excludeBegin&&(K=ne)),ie(ue,V),ue.returnBegin?0:ne.length}function _(V){const ne=V[0],ue=N.substring(V.index),we=se(R,V,ue);if(!we)return qu;const Re=R;R.endScope&&R.endScope._wrap?(L(),W(ne,R.endScope._wrap)):R.endScope&&R.endScope._multi?(L(),J(R.endScope,V)):Re.skip?K+=ne:(Re.returnEnd||Re.excludeEnd||(K+=ne),L(),Re.excludeEnd&&(K=ne));do R.scope&&B.closeNode(),!R.skip&&!R.subLanguage&&(re+=R.relevance),R=R.parent;while(R!==we.parent);return we.starts&&ie(we.starts,V),Re.returnEnd?0:ne.length}function C(){const V=[];for(let ne=R;ne!==P;ne=ne.parent)ne.scope&&V.unshift(ne.scope);V.forEach(ne=>B.openNode(ne))}let O={};function j(V,ne){const ue=ne&&ne[0];if(K+=V,ue==null)return L(),0;if(O.type==="begin"&&ne.type==="end"&&O.index===ne.index&&ue===""){if(K+=N.slice(ne.index,ne.index+1),!o){const we=new Error(`0 width match regex (${A})`);throw we.languageName=A,we.badRule=O.rule,we}return 1}if(O=ne,ne.type==="begin")return de(ne);if(ne.type==="illegal"&&!G){const we=new Error('Illegal lexeme "'+ue+'" for mode "'+(R.scope||"")+'"');throw we.mode=R,we}else if(ne.type==="end"){const we=_(ne);if(we!==qu)return we}if(ne.type==="illegal"&&ue==="")return 1;if(ae>1e5&&ae>ne.index*3)throw new Error("potential infinite loop, way more iterations than matches");return K+=ue,ue.length}const P=k(A);if(!P)throw Gn(r.replace("{}",A)),new Error('Unknown language: "'+A+'"');const Y=Jje(P);let oe="",R=me||Y;const te={},B=new a.__emitter(a);C();let K="",re=0,ce=0,ae=0,xe=!1;try{if(P.__emitTokens)P.__emitTokens(N,B);else{for(R.matcher.considerAll();;){ae++,xe?xe=!1:R.matcher.considerAll(),R.matcher.lastIndex=ce;const V=R.matcher.exec(N);if(!V)break;const ne=N.substring(ce,V.index),ue=j(ne,V);ce=V.index+ue}j(N.substring(ce))}return B.finalize(),oe=B.toHTML(),{language:A,value:oe,relevance:re,illegal:!1,_emitter:B,_top:R}}catch(V){if(V.message&&V.message.includes("Illegal"))return{language:A,value:$i(N),illegal:!0,relevance:0,_illegalBy:{message:V.message,index:ce,context:N.slice(ce-100,ce+100),mode:V.mode,resultSoFar:oe},_emitter:B};if(o)return{language:A,value:$i(N),illegal:!1,relevance:0,errorRaised:V,_emitter:B,_top:R};throw V}}function f(A){const N={value:$i(A),illegal:!1,relevance:0,_top:i,_emitter:new a.__emitter(a)};return N._emitter.addText(A),N}function p(A,N){N=N||a.languages||Object.keys(e);const G=f(A),me=N.filter(k).filter(z).map(L=>h(L,A,!1));me.unshift(G);const pe=me.sort((L,W)=>{if(L.relevance!==W.relevance)return W.relevance-L.relevance;if(L.language&&W.language){if(k(L.language).supersetOf===W.language)return 1;if(k(W.language).supersetOf===L.language)return-1}return 0}),[ee,ve]=pe,Ae=ee;return Ae.secondBest=ve,Ae}function g(A,N,G){const me=N&&n[N]||G;A.classList.add("hljs"),A.classList.add(`language-${me}`)}function m(A){let N=null;const G=c(A);if(l(G))return;if(he("before:highlightElement",{el:A,language:G}),A.children.length>0&&(a.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(A)),a.throwUnescapedHTML))throw new Xje("One of your code blocks includes unescaped HTML.",A.innerHTML);N=A;const me=N.textContent,pe=G?u(me,{language:G,ignoreIllegals:!0}):p(me);A.innerHTML=pe.value,g(A,G,pe.language),A.result={language:pe.language,re:pe.relevance,relevance:pe.relevance},pe.secondBest&&(A.secondBest={language:pe.secondBest.language,relevance:pe.secondBest.relevance}),he("after:highlightElement",{el:A,result:pe,text:me})}function w(A){a=Fu(a,A)}const v=()=>{E(),os("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function y(){E(),os("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let x=!1;function E(){if(document.readyState==="loading"){x=!0;return}document.querySelectorAll(a.cssSelector).forEach(m)}function q(){x&&E()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",q,!1);function M(A,N){let G=null;try{G=N(t)}catch(me){if(Gn("Language definition for '{}' could not be registered.".replace("{}",A)),o)Gn(me);else throw me;G=i}G.name||(G.name=A),e[A]=G,G.rawDefinition=N.bind(null,t),G.aliases&&S(G.aliases,{languageName:A})}function $(A){delete e[A];for(const N of Object.keys(n))n[N]===A&&delete n[N]}function b(){return Object.keys(e)}function k(A){return A=(A||"").toLowerCase(),e[A]||e[n[A]]}function S(A,{languageName:N}){typeof A=="string"&&(A=[A]),A.forEach(G=>{n[G.toLowerCase()]=N})}function z(A){const N=k(A);return N&&!N.disableAutodetect}function F(A){A["before:highlightBlock"]&&!A["before:highlightElement"]&&(A["before:highlightElement"]=N=>{A["before:highlightBlock"](Object.assign({block:N.el},N))}),A["after:highlightBlock"]&&!A["after:highlightElement"]&&(A["after:highlightElement"]=N=>{A["after:highlightBlock"](Object.assign({block:N.el},N))})}function Q(A){F(A),s.push(A)}function I(A){const N=s.indexOf(A);N!==-1&&s.splice(N,1)}function he(A,N){const G=A;s.forEach(function(me){me[G]&&me[G](N)})}function X(A){return os("10.7.0","highlightBlock will be removed entirely in v12.0"),os("10.7.0","Please use highlightElement now."),m(A)}Object.assign(t,{highlight:u,highlightAuto:p,highlightAll:E,highlightElement:m,highlightBlock:X,configure:w,initHighlighting:v,initHighlightingOnLoad:y,registerLanguage:M,unregisterLanguage:$,listLanguages:b,getLanguage:k,registerAliases:S,autoDetection:z,inherit:Fu,addPlugin:Q,removePlugin:I}),t.debugMode=function(){o=!1},t.safeMode=function(){o=!0},t.versionString=Qje,t.regex={concat:Xn,lookahead:Uf,either:gl,optional:pje,anyNumberOfTimes:fje};for(const A in Bo)typeof Bo[A]=="object"&&Bf(Bo[A]);return Object.assign(t,Bo),t},ws=Qf({});ws.newInstance=()=>Qf({});var tPe=ws;ws.HighlightJS=ws;ws.default=ws;const $u=Is(tPe);var Tn={};Tn.getAttrs=function(t,e,n){const s=/[^\t\n\f />"'=]/,o=" ",r="=",i=".",a="#",l=[];let c="",u="",h=!0,f=!1;for(let p=e+n.leftDelimiter.length;p=s+1:u.length>=s}let r,i,a,l;const c=s-e.rightDelimiter.length;switch(t){case"start":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,i=r===-1?-1:n.indexOf(e.rightDelimiter,c),l=n.charAt(i+e.rightDelimiter.length),l&&e.rightDelimiter.indexOf(l)!==-1&&(i=-1);break;case"end":r=n.lastIndexOf(e.leftDelimiter),i=r===-1?-1:n.indexOf(e.rightDelimiter,r+c),i=i===n.length-e.rightDelimiter.length?i:-1;break;case"only":a=n.slice(0,e.leftDelimiter.length),r=a===e.leftDelimiter?0:-1,a=n.slice(n.length-e.rightDelimiter.length),i=a===e.rightDelimiter?n.length-e.rightDelimiter.length:-1;break;default:throw new Error(`Unexpected case ${t}, expected 'start', 'end' or 'only'`)}return r!==-1&&i!==-1&&o(n.substring(r,i+e.rightDelimiter.length))}};Tn.removeDelimiter=function(t,e){const n=ma(e.leftDelimiter),s=ma(e.rightDelimiter),o=new RegExp("[ \\n]?"+n+"[^"+n+s+"]+"+s+"$"),r=t.search(o);return r!==-1?t.slice(0,r):t};function ma(t){return t.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}Tn.escapeRegExp=ma;Tn.getMatchingOpeningToken=function(t,e){if(t[e].type==="softbreak")return!1;if(t[e].nesting===0)return t[e];const n=t[e].level,s=t[e].type.replace("_close","_open");for(;e>=0;--e)if(t[e].type===s&&t[e].level===n)return t[e];return!1};const nPe=/[&<>"]/,sPe=/[&<>"]/g,oPe={"&":"&","<":"<",">":">",'"':"""};function rPe(t){return oPe[t]}Tn.escapeHtml=function(t){return nPe.test(t)?t.replace(sPe,rPe):t};const Me=Tn;var iPe=t=>{const e=new RegExp("^ {0,3}[-*_]{3,} ?"+Me.escapeRegExp(t.leftDelimiter)+"[^"+Me.escapeRegExp(t.rightDelimiter)+"]");return[{name:"fenced code blocks",tests:[{shift:0,block:!0,info:Me.hasDelimiters("end",t)}],transform:(n,s)=>{const o=n[s],r=o.info.lastIndexOf(t.leftDelimiter),i=Me.getAttrs(o.info,r,t);Me.addAttrs(i,o),o.info=Me.removeDelimiter(o.info,t)}},{name:"inline nesting 0",tests:[{shift:0,type:"inline",children:[{shift:-1,type:n=>n==="image"||n==="code_inline"},{shift:0,type:"text",content:Me.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content.indexOf(t.rightDelimiter),a=n[s].children[o-1],l=Me.getAttrs(r.content,0,t);Me.addAttrs(l,a),r.content.length===i+t.rightDelimiter.length?n[s].children.splice(o,1):r.content=r.content.slice(i+t.rightDelimiter.length)}},{name:"tables",tests:[{shift:0,type:"table_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Me.hasDelimiters("only",t)}],transform:(n,s)=>{const o=n[s+2],r=Me.getMatchingOpeningToken(n,s),i=Me.getAttrs(o.content,0,t);Me.addAttrs(i,r),n.splice(s+1,3)}},{name:"inline attributes",tests:[{shift:0,type:"inline",children:[{shift:-1,nesting:-1},{shift:0,type:"text",content:Me.hasDelimiters("start",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,0,t),l=Me.getMatchingOpeningToken(n[s].children,o-1);Me.addAttrs(a,l),r.content=i.slice(i.indexOf(t.rightDelimiter)+t.rightDelimiter.length)}},{name:"list softbreak",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Me.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const i=n[s].children[o].content,a=Me.getAttrs(i,0,t);let l=s-2;for(;n[l-1]&&n[l-1].type!=="ordered_list_open"&&n[l-1].type!=="bullet_list_open";)l--;Me.addAttrs(a,n[l-1]),n[s].children=n[s].children.slice(0,-2)}},{name:"list double softbreak",tests:[{shift:0,type:n=>n==="bullet_list_close"||n==="ordered_list_close"},{shift:1,type:"paragraph_open"},{shift:2,type:"inline",content:Me.hasDelimiters("only",t),children:n=>n.length===1},{shift:3,type:"paragraph_close"}],transform:(n,s)=>{const r=n[s+2].content,i=Me.getAttrs(r,0,t),a=Me.getMatchingOpeningToken(n,s);Me.addAttrs(i,a),n.splice(s+1,3)}},{name:"list item end",tests:[{shift:-2,type:"list_item_open"},{shift:0,type:"inline",children:[{position:-1,type:"text",content:Me.hasDelimiters("end",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);Me.addAttrs(a,n[s-2]);const l=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=zu(l)!==" "?l:l.slice(0,-1)}},{name:` -{.a} softbreak then curly in start`,tests:[{shift:0,type:"inline",children:[{position:-2,type:"softbreak"},{position:-1,type:"text",content:Me.hasDelimiters("only",t)}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=Me.getAttrs(r.content,0,t);let a=s+1;for(;n[a+1]&&n[a+1].nesting===-1;)a++;const l=Me.getMatchingOpeningToken(n,a);Me.addAttrs(i,l),n[s].children=n[s].children.slice(0,-2)}},{name:"horizontal rule",tests:[{shift:0,type:"paragraph_open"},{shift:1,type:"inline",children:n=>n.length===1,content:n=>n.match(e)!==null},{shift:2,type:"paragraph_close"}],transform:(n,s)=>{const o=n[s];o.type="hr",o.tag="hr",o.nesting=0;const r=n[s+1].content,i=r.lastIndexOf(t.leftDelimiter),a=Me.getAttrs(r,i,t);Me.addAttrs(a,o),o.markup=r,n.splice(s+1,2)}},{name:"end of block",tests:[{shift:0,type:"inline",children:[{position:-1,content:Me.hasDelimiters("end",t),type:n=>n!=="code_inline"&&n!=="math_inline"}]}],transform:(n,s,o)=>{const r=n[s].children[o],i=r.content,a=Me.getAttrs(i,i.lastIndexOf(t.leftDelimiter),t);let l=s+1;for(;n[l+1]&&n[l+1].nesting===-1;)l++;const c=Me.getMatchingOpeningToken(n,l);Me.addAttrs(a,c);const u=i.slice(0,i.lastIndexOf(t.leftDelimiter));r.content=zu(u)!==" "?u:u.slice(0,-1)}}]};function zu(t){return t.slice(-1)[0]}const aPe=iPe,lPe={leftDelimiter:"{",rightDelimiter:"}",allowedAttributes:[]};var cPe=function(e,n){let s=Object.assign({},lPe);s=Object.assign(s,n);const o=aPe(s);function r(i){const a=i.tokens;for(let l=0;l{const g=_a(a,l,p);return g.j!==null&&(h=g.j),g.match})&&(u.transform(a,l,h),(u.name==="inline attributes"||u.name==="inline nesting 0")&&c--)}}e.core.ruler.before("linkify","curly_attributes",r)};function _a(t,e,n){const s={match:!1,j:null},o=n.shift!==void 0?e+n.shift:n.position;if(n.shift!==void 0&&o<0)return s;const r=hPe(t,o);if(r===void 0)return s;for(const i of Object.keys(n))if(!(i==="shift"||i==="position")){if(r[i]===void 0)return s;if(i==="children"&&uPe(n.children)){if(r.children.length===0)return s;let a;const l=n.children,c=r.children;if(l.every(u=>u.position!==void 0)){if(a=l.every(u=>_a(c,u.position,u).match),a){const u=fPe(l).position;s.j=u>=0?u:c.length+u}}else for(let u=0;u_a(c,u,h).match),a){s.j=u;break}if(a===!1)return s;continue}switch(typeof n[i]){case"boolean":case"number":case"string":if(r[i]!==n[i])return s;break;case"function":if(!n[i](r[i]))return s;break;case"object":if(dPe(n[i])){if(n[i].every(l=>l(r[i]))===!1)return s;break}default:throw new Error(`Unknown type of pattern test (key: ${i}). Test should be of type boolean, number, string, function or array of functions.`)}}return s.match=!0,s}function uPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="object")}function dPe(t){return Array.isArray(t)&&t.length&&t.every(e=>typeof e=="function")}function hPe(t,e){return e>=0?t[e]:t[t.length+e]}function fPe(t){return t.slice(-1)[0]||{}}const pPe=Is(cPe);function gPe(){const t=Date.now().toString(),e=Math.floor(Math.random()*1e3).toString();return t+e}const ks=new oce("commonmark",{html:!1,xhtmlOut:!0,breaks:!0,linkify:!0,typographer:!0,highlight:(t,e)=>{if(e&&$u.getLanguage(e))try{const o=$u.highlight(e,t).value;return'
'+e+'
'+o+"
"}catch(o){console.error(`Syntax highlighting failed for language '${e}':`,o)}let n=gPe();return'
'+e+'
'+ks.utils.escapeHtml(t)+"
"},bulletListMarker:"•"}).use(lje).use(pPe);ks.renderer.rules.link_open=(t,e,n,s,o)=>{const r=t[e],i=r.attrIndex("href");if(i>=0){const a=r.attrs[i][1];r.attrs[i][1]=a,r.attrPush(["style","color: blue; font-weight: bold; text-decoration: underline;"])}return o.renderToken(t,e,n)};const Xf=(t,e,n,s,o)=>{const i=t[e].attrGet("type")||"ul";return i==="ul"?'
    '+o.renderToken(t,e,n)+"
":i==="ol"?'
    '+o.renderToken(t,e,n)+"
":o.renderToken(t,e,n)};ks.renderer.rules.bullet_list_open=Xf;ks.renderer.rules.ordered_list_open=Xf;const mPe={name:"MarkdownRenderer",props:{markdownText:{type:String,required:!0}},data(){return{renderedMarkdown:"",isCopied:!1}},mounted(){const t=document.createElement("script");t.textContent=` - // Your inline script code here - console.log('Inline script executed!'); - - function copyContentToClipboard(id) { - console.log("copied"); - const codeElement = document.getElementById('code_' + id); - const copybtnElement = document.getElementById('copy-btn_' + id); - const copyedbtnElement = document.getElementById('copyed-btn_' + id); - copybtnElement.classList.add('hidden'); - copyedbtnElement.classList.remove('hidden'); - const range = document.createRange(); - range.selectNode(codeElement); - window.getSelection().removeAllRanges(); - window.getSelection().addRange(range); - document.execCommand('copy'); - window.getSelection().removeAllRanges(); - - this.isCopied = true; - - setTimeout(() => { - this.isCopied = false; - }, 1500); - } - `,t.async=!0,document.body.appendChild(t),this.renderedMarkdown=ks.render(this.markdownText),fe(()=>{ke.replace()})},methods:{},watch:{markdownText(t){this.renderedMarkdown=ks.render(t),fe(()=>{ke.replace()})}}},_Pe={class:"break-all"},yPe=["innerHTML"];function bPe(t,e,n,s,o,r){return T(),D("div",_Pe,[d("div",{innerHTML:o.renderedMarkdown,class:"markdown-content"},null,8,yPe)])}const vPe=Ve(mPe,[["render",bPe]]);const xPe="/",wPe={name:"Message",emits:["copy","delete","rankUp","rankDown","updateMessage","resendMessage"],components:{MarkdownRenderer:vPe},props:{message:Object,avatar:""},data(){return{expanded:!1,new_message_content:"",showConfirmation:!1,editMsgMode:!1,deleteMsgMode:!1,mdRenderHeight:Number}},mounted(){this.new_message_content=this.message.content,fe(()=>{ke.replace(),this.mdRenderHeight=this.$refs.mdRender.$el.offsetHeight})},methods:{toggleModel(){this.expanded=!this.expanded},copyContentToClipboard(){this.$emit("copy",this)},deleteMsg(){this.$emit("delete",this.message.id),this.deleteMsgMode=!1},rankUp(){this.$emit("rankUp",this.message.id)},rankDown(){this.$emit("rankDown",this.message.id)},updateMessage(){this.$emit("updateMessage",this.message.id,this.new_message_content),this.editMsgMode=!1},resendMessage(){this.$emit("resendMessage",this.message.id,this.new_message_content)},getImgUrl(){return this.message.sender=="user"?this.avatar?this.avatar:av:this.avatar?xPe+this.avatar:Wn},defaultImg(t){t.target.src=Wn},parseDate(t){let e=new Date(Date.parse(t)),s=Math.floor((new Date-e)/1e3);return s<=1?"just now":s<20?s+" seconds ago":s<40?"half a minute ago":s<60?"less than a minute ago":s<=90?"one minute ago":s<=3540?Math.round(s/60)+" minutes ago":s<=5400?"1 hour ago":s<=86400?Math.round(s/3600)+" hours ago":s<=129600?"1 day ago":s<604800?Math.round(s/86400)+" days ago":s<=777600?"1 week ago":t},prettyDate(t){let e=new Date((t||"").replace(/-/g,"/").replace(/[TZ]/g," ")),n=(new Date().getTime()-e.getTime())/1e3,s=Math.floor(n/86400);if(!(isNaN(s)||s<0||s>=31))return s==0&&(n<60&&"just now"||n<120&&"1 minute ago"||n<3600&&Math.floor(n/60)+" minutes ago"||n<7200&&"1 hour ago"||n<86400&&Math.floor(n/3600)+" hours ago")||s==1&&"Yesterday"||s<7&&s+" days ago"||s<31&&Math.ceil(s/7)+" weeks ago"}},watch:{showConfirmation(){fe(()=>{ke.replace()})},editMsgMode(t){t||(this.new_message_content=this.message.content),fe(()=>{ke.replace()})},deleteMsgMode(){fe(()=>{ke.replace()})}},computed:{created_at(){return this.prettyDate(this.message.created_at)},created_at_parsed(){return new Date(Date.parse(this.message.created_at)).toLocaleString()},finished_generating_at_parsed(){return new Date(Date.parse(this.message.finished_generating_at)).toLocaleString()},time_spent(){const t=new Date(Date.parse(this.message.created_at)),e=new Date(Date.parse(this.message.finished_generating_at));if(e.getTime()===t.getTime()||!e.getTime())return;let s=e.getTime()-t.getTime();const o=Math.floor(s/(1e3*60*60));s-=o*(1e3*60*60);const r=Math.floor(s/(1e3*60));s-=r*(1e3*60);const i=Math.floor(s/1e3);s-=i*1e3;function a(c){return c<10&&(c="0"+c),c}return a(o)+"h:"+a(r)+"m:"+a(i)+"s"}}},kPe={class:"relative 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 flex-col flex-grow flex-wrap overflow-visible p-4 pb-2"},CPe={class:"flex flex-row gap-2"},EPe={class:"flex-shrink-0"},APe={class:"group/avatar"},SPe=["src","data-popover-target"],TPe={class:"flex flex-col w-full flex-grow-0"},MPe={class:"flex flex-row flex-grow items-start"},DPe={class:"flex flex-col mb-2"},LPe={class:"drop-shadow-sm text-lg text-opacity-95 font-bold grow"},OPe=["title"],jPe=d("div",{class:"flex-grow"},null,-1),PPe={class:"flex-row justify-end mx-2"},RPe={class:"invisible group-hover:visible flex flex-row"},IPe={key:0,class:"flex items-center duration-75"},FPe=d("i",{"data-feather":"x"},null,-1),qPe=[FPe],$Pe=d("i",{"data-feather":"check"},null,-1),zPe=[$Pe],BPe=d("i",{"data-feather":"edit"},null,-1),NPe=[BPe],UPe=d("i",{"data-feather":"copy"},null,-1),HPe=[UPe],VPe=d("i",{"data-feather":"refresh-cw"},null,-1),GPe=[VPe],KPe={key:2,class:"flex items-center duration-75"},WPe=d("i",{"data-feather":"x"},null,-1),ZPe=[WPe],JPe=d("i",{"data-feather":"check"},null,-1),YPe=[JPe],QPe=d("i",{"data-feather":"trash"},null,-1),XPe=[QPe],eRe=d("i",{"data-feather":"thumbs-up"},null,-1),tRe=[eRe],nRe={class:"flex flex-row items-center"},sRe=d("i",{"data-feather":"thumbs-down"},null,-1),oRe=[sRe],rRe={class:"overflow-x-auto w-full"},iRe={class:"text-sm text-gray-400 mt-2"},aRe={class:"flex flex-row items-center gap-2"},lRe={key:0},cRe={class:"font-thin"},uRe={key:1},dRe={class:"font-thin"},hRe={key:2},fRe={class:"font-thin"},pRe={key:3},gRe=["title"];function mRe(t,e,n,s,o,r){const i=lt("MarkdownRenderer");return T(),D("div",kPe,[d("div",CPe,[d("div",EPe,[d("div",APe,[d("img",{src:r.getImgUrl(),onError:e[0]||(e[0]=a=>r.defaultImg(a)),"data-popover-target":"avatar"+n.message.id,"data-popover-placement":"bottom",class:"w-10 h-10 rounded-full object-fill text-red-700"},null,40,SPe)])]),d("div",TPe,[d("div",MPe,[d("div",DPe,[d("div",LPe,Z(n.message.sender)+" ",1),n.message.created_at?(T(),D("div",{key:0,class:"text-sm text-gray-400 font-thin",title:"Created at: "+r.created_at_parsed},Z(r.created_at),9,OPe)):H("",!0)]),jPe,d("div",PPe,[d("div",RPe,[o.editMsgMode?(T(),D("div",IPe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel edit",type:"button",onClick:e[1]||(e[1]=le(a=>o.editMsgMode=!1,["stop"]))},qPe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Update message",type:"button",onClick:e[2]||(e[2]=le((...a)=>r.updateMessage&&r.updateMessage(...a),["stop"]))},zPe)])):H("",!0),o.editMsgMode?H("",!0):(T(),D("div",{key:1,class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Edit message",onClick:e[3]||(e[3]=le(a=>o.editMsgMode=!0,["stop"]))},NPe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Copy message to clipboard",onClick:e[4]||(e[4]=le(a=>r.copyContentToClipboard(),["stop"]))},HPe),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Resend message",onClick:e[5]||(e[5]=le(a=>r.resendMessage(),["stop"]))},GPe),o.deleteMsgMode?(T(),D("div",KPe,[d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90 p-2",title:"Cancel removal",type:"button",onClick:e[6]||(e[6]=le(a=>o.deleteMsgMode=!1,["stop"]))},ZPe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 p-2",title:"Confirm removal",type:"button",onClick:e[7]||(e[7]=le(a=>r.deleteMsg(),["stop"]))},YPe)])):H("",!0),o.deleteMsgMode?H("",!0):(T(),D("div",{key:3,class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Remove message",onClick:e[8]||(e[8]=a=>o.deleteMsgMode=!0)},XPe)),d("div",{class:"text-lg hover:text-secondary duration-75 active:scale-90 p-2",title:"Upvote",onClick:e[9]||(e[9]=le(a=>r.rankUp(),["stop"]))},tRe),d("div",nRe,[d("div",{class:"text-lg hover:text-red-600 duration-75 active:scale-90 p-2",title:"Downvote",onClick:e[10]||(e[10]=le(a=>r.rankDown(),["stop"]))},oRe),n.message.rank!=0?(T(),D("div",{key:0,class:De(["rounded-full px-2 text-sm flex items-center justify-center font-bold",n.message.rank>0?"bg-secondary":"bg-red-600"]),title:"Rank"},Z(n.message.rank),3)):H("",!0)])])])]),d("div",rRe,[o.editMsgMode?H("",!0):(T(),it(i,{key:0,ref:"mdRender","markdown-text":n.message.content},null,8,["markdown-text"])),o.editMsgMode?Te((T(),D("textarea",{key:1,ref:"mdTextarea",rows:4,class:"block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 focus:ring-blue-500 focus:border-blue-500 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",style:Qt({minHeight:o.mdRenderHeight+"px"}),placeholder:"Enter message here...","onUpdate:modelValue":e[11]||(e[11]=a=>o.new_message_content=a)},null,4)),[[$e,o.new_message_content]]):H("",!0)]),d("div",iRe,[d("div",aRe,[n.message.binding?(T(),D("p",lRe,[ye("Binding: "),d("span",cRe,Z(n.message.binding),1)])):H("",!0),n.message.model?(T(),D("p",uRe,[ye("Model: "),d("span",dRe,Z(n.message.model),1)])):H("",!0),n.message.seed?(T(),D("p",hRe,[ye("Seed: "),d("span",fRe,Z(n.message.seed),1)])):H("",!0),r.time_spent?(T(),D("p",pRe,[ye("Time spent: "),d("span",{class:"font-thin",title:"Finished generating: "+r.finished_generating_at_parsed},Z(r.time_spent),9,gRe)])):H("",!0)])])])])])}const ep=Ve(wPe,[["render",mRe]]),_Re="/";Ce.defaults.baseURL="/";const yRe={name:"MountedPersonalities",props:{onShowPersList:Function},data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:_Re,isMounted:!1,mountedPers:{},show:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},async constructor(){this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let p={};return p=h,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+h.folder,p.isMounted=f,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),fe(()=>{})},personalityImgPlacehodler(t){t.target.src=Wn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(this.isLoading&&this.$refs.toast.showToast("Loading... please wait",4,!1),console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(this.settingsChanged=!0,t.isMounted){const e=await this.select_personality(t);e&&e.status&&this.$refs.toast.showToast(`Selected personality: -`+t.name,4,!0)}else this.onPersonalityMounted(t)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ce.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ce.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ce.post("/select_personality",n);if(s){this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: -`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality -Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.personalities.findIndex(a=>a.full_path==t.full_path),s=this.personalitiesFiltered.findIndex(a=>a.full_path==t.full_path),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[n]),this.personalities[n].isMounted=!1,s>-1&&(this.personalitiesFiltered[s].isMounted=!1),o>-1&&(this.$refs.personalitiesZoo[o].isMounted=!1),this.getMountedPersonalities();const r=this.mountedPersArr[this.mountedPersArr.length-1];console.log(r,this.mountedPersArr.length),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: -`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];o?t.push(o):t.push(this.personalities[this.personalities.findIndex(r=>r.full_path=="english/generic/lollms")])}this.mountedPersArr=[],this.mountedPersArr=t,console.log("getMountedPersonalities",t),console.log("fig",this),this.mountedPers=this.personalities[this.personalities.findIndex(e=>e.full_path==this.configFile.personalities[this.configFile.active_personality_id])]}}},bRe={class:"w-fit select-none"},vRe={key:0,class:"flex -space-x-4"},xRe=["src","title"],wRe={key:1,class:"flex -space-x-4"},kRe=["src","title"];function CRe(t,e,n,s,o,r){return T(),D("div",bRe,[o.mountedPersArr.length>1?(T(),D("div",vRe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[0]||(e[0]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 hover:-translate-y-2 duration-150 border-secondary cursor-pointer",title:"Active personality: "+o.mountedPers.name},null,40,xRe),d("div",{class:"flex items-center justify-center w-8 h-8 cursor-pointer text-xs font-medium bg-bg-light dark:bg-bg-dark border-2 hover:border-secondary rounded-full hover:bg-bg-light-tone dark:hover:bg-bg-dark-tone dark:border-gray-800 hover:z-20 hover:-translate-y-2 duration-150 active:scale-90",onClick:e[1]||(e[1]=le((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"])),title:"Click to show more"},"+"+Z(o.mountedPersArr.length-1),1)])):H("",!0),o.mountedPersArr.length==1?(T(),D("div",wRe,[d("img",{src:o.bUrl+o.mountedPers.avatar,onError:e[2]||(e[2]=(...i)=>r.personalityImgPlacehodler&&r.personalityImgPlacehodler(...i)),class:"w-8 h-8 rounded-full object-fill text-red-700 border-2 active:scale-90 hover:z-20 cursor-pointer border-secondary",title:"Active personality: "+o.mountedPers.name,onClick:e[3]||(e[3]=le((...i)=>r.toggleShowPersList&&r.toggleShowPersList(...i),["stop"]))},null,40,kRe)])):H("",!0)])}const ERe=Ve(yRe,[["render",CRe]]);const ARe="/";Ce.defaults.baseURL="/";const SRe={props:{onMountUnmount:Function,discussionPersonalities:Array,onShowPersList:Function},components:{PersonalityEntry:Xh,Toast:Wr,UniversalForm:yf},name:"MountedPersonalitiesList",data(){return{configFile:{},mountedPersArr:[],personalities:[],bUrl:ARe,isMounted:!1,isLoading:!1}},async mounted(){await this.constructor(),this.isMounted=!0},async activated(){this.isMounted&&await this.constructor()},methods:{toggleShowPersList(){this.onShowPersList()},toggleMountUnmount(){console.log("moununmoun pers list"),this.onMountUnmount(this)},async constructor(){this.isLoading=!0,this.configFile=await this.api_get_req("get_config"),this.getPersonalitiesArr();let t=await this.api_get_req("get_current_personality_path_infos");this.configFile.personality_language=t.personality_language,this.configFile.personality_category=t.personality_category,this.configFile.personality_folder=t.personality_name},async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req - mountedPersonalities");return}},async getPersonalitiesArr(){this.isLoading=!0,this.personalities=[];const t=await this.api_get_req("get_all_personalities"),e=await this.api_get_req("get_config"),n=Object.keys(t);for(let s=0;s{const f=e.personalities.includes(o+"/"+l+"/"+h.folder);let p={};return p=h,p.category=l,p.language=o,p.full_path=o+"/"+l+"/"+h.folder,p.isMounted=f,p});this.personalities.length==0?this.personalities=u:this.personalities=this.personalities.concat(u)}}this.personalities.sort((s,o)=>s.name.localeCompare(o.name)),this.getMountedPersonalities(),this.isLoading=!1},personalityImgPlacehodler(t){t.target.src=Wn},onPersonalityMounted(t){this.configFile.personalities.includes(t.full_path)?this.configFile.personalities.length==1?this.$refs.toast.showToast("Can't unmount last personality",4,!1):this.unmountPersonality(t):this.mountPersonality(t)},async onPersonalitySelected(t){if(console.log("ppa",t),t){if(t.selected){this.$refs.toast.showToast("Personality already selected",4,!0);return}if(t.isMounted){const e=await this.select_personality(t);e&&e.status&&(await this.constructor(),this.$refs.toast.showToast(`Selected personality: -`+t.name,4,!0),console.log("ssss",this.configFile))}else this.onPersonalityMounted(t)}},onSettingsPersonality(t){try{Ce.get("/get_active_personality_settings").then(e=>{e&&(console.log("pers sett",e),e.data&&Object.keys(e.data).length>0?this.$refs.universalForm.showForm(e.data,"Personality settings - "+t.personality.name,"Save changes","Cancel").then(n=>{try{Ce.post("/set_active_personality_settings",n).then(s=>{s&&s.data?(console.log("personality set with new settings",s.data),this.$refs.toast.showToast("Personality settings updated successfully!",4,!0)):this.$refs.toast.showToast(`Did not get Personality settings responses. -`+s,4,!1)})}catch(s){this.$refs.toast.showToast(`Did not get Personality settings responses. - Endpoint error: `+s.message,4,!1)}}):this.$refs.toast.showToast("Personality has no settings",4,!1))})}catch(e){this.$refs.toast.showToast("Could not open personality settings. Endpoint error: "+e.message,4,!1)}},async mount_personality(t){if(!t)return{status:!1,error:"no personality - mount_personality"};try{const e={language:t.language,category:t.category,folder:t.folder},n=await Ce.post("/mount_personality",e);if(n)return n.data}catch(e){console.log(e.message,"mount_personality - settings");return}},async unmount_personality(t){if(!t)return{status:!1,error:"no personality - unmount_personality"};const e={language:t.language,category:t.category,folder:t.folder};try{const n=await Ce.post("/unmount_personality",e);if(n)return n.data}catch(n){console.log(n.message,"unmount_personality - settings");return}},async select_personality(t){if(!t)return{status:!1,error:"no personality - select_personality"};console.log("select pers",t);const n={id:this.configFile.personalities.findIndex(s=>s===t.full_path)};try{const s=await Ce.post("/select_personality",n);if(s){this.toggleMountUnmount(),this.configFile=await this.api_get_req("get_config");let o=await this.api_get_req("get_current_personality_path_infos");return this.configFile.personality_language=o.personality_language,this.configFile.personality_category=o.personality_category,this.configFile.personality_folder=o.personality_name,s.data}}catch(s){console.log(s,"select_personality - settings");return}},async mountPersonality(t){if(console.log("mount pers",t),!t)return;if(this.configFile.personalities.includes(t.personality.full_path)){this.$refs.toast.showToast("Personality already mounted",4,!1);return}const e=await this.mount_personality(t.personality);console.log("mount_personality res",e),e.status?(this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality mounted",4,!0),t.isMounted=!0,this.toggleMountUnmount(),(await this.select_personality(t.personality)).status&&this.$refs.toast.showToast(`Selected personality: -`+t.personality.name,4,!0),this.getMountedPersonalities()):(t.isMounted=!1,this.$refs.toast.showToast(`Could not mount personality -Error: `+e.error,4,!1))},async unmountPersonality(t){if(!t)return;const e=await this.unmount_personality(t.personality||t);if(e.status){this.toggleMountUnmount(),console.log("unmount response",e),this.configFile.active_personality_id=e.active_personality_id,this.configFile.personalities=e.personalities,this.$refs.toast.showToast("Personality unmounted",4,!0);const n=this.configFile.personalities[this.configFile.active_personality_id];console.log();const s=this.personalities.findIndex(a=>a.full_path==n),o=this.$refs.personalitiesZoo.findIndex(a=>a.full_path==t.full_path);console.log("ppp",this.personalities[s]);const r=this.personalities[s];r.isMounted=!1,r.selected=!0,this.$refs.personalitiesZoo[o].isMounted=!1,this.getMountedPersonalities(),(await this.select_personality(r)).status&&this.$refs.toast.showToast(`Selected personality: -`+r.name,4,!0)}else this.$refs.toast.showToast(`Could not unmount personality -Error: `+e.error,4,!1)},getMountedPersonalities(){this.isLoading=!0;let t=[];console.log(this.configFile.personalities.length);for(let e=0;er.full_path==n),o=this.personalities[s];if(o)console.log("adding from config"),t.push(o);else{console.log("adding default");const r=this.personalities.findIndex(a=>a.full_path=="english/generic/lollms"),i=this.personalities[r];t.push(i)}}if(this.mountedPersArr=[],this.mountedPersArr=t,console.log("discussionPersonalities",this.discussionPersonalities),this.discussionPersonalities.length>0)for(let e=0;eo.full_path==n);if(console.log("discussionPersonalities -includes",s),console.log("discussionPersonalities -mounted list",this.mountedPersArr),s==-1){const o=this.personalities.findIndex(i=>i.full_path==n),r=this.personalities[o];console.log("adding discucc121",r,n),r&&(this.mountedPersArr.push(r),console.log("adding discucc",r))}}this.isLoading=!1,console.log("getMountedPersonalities",this.mountedPersArr),console.log("fig",this.configFile)}}},yl=t=>(js("data-v-ecabcf2a"),t=t(),Ps(),t),TRe={class:"text-left overflow-visible text-base font-semibold cursor-pointer select-none items-center flex flex-col flex-grow w-full overflow-x-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},MRe={key:0,role:"status",class:"flex justify-center overflow-y-hidden"},DRe=yl(()=>d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})],-1)),LRe=yl(()=>d("span",{class:"sr-only"},"Loading...",-1)),ORe=[DRe,LRe],jRe=yl(()=>d("i",{"data-feather":"chevron-down"},null,-1)),PRe=[jRe],RRe={class:"block my-2 text-sm font-medium text-gray-900 dark:text-white"},IRe={class:"overflow-y-auto no-scrollbar pb-0 grid lg:grid-cols-3 md:grid-cols-2 gap-4 max-h-96"};function FRe(t,e,n,s,o,r){const i=lt("personality-entry"),a=lt("Toast"),l=lt("UniversalForm");return T(),D("div",TRe,[o.isLoading?(T(),D("div",MRe,ORe)):H("",!0),d("div",null,[o.mountedPersArr.length>0?(T(),D("div",{key:0,class:De(o.isLoading?"pointer-events-none opacity-30 cursor-default":"")},[d("button",{class:"mt-0 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:"Close personality list",type:"button",onClick:e[0]||(e[0]=le((...c)=>r.toggleShowPersList&&r.toggleShowPersList(...c),["stop"]))},PRe),d("label",RRe," Mounted Personalities: ("+Z(o.mountedPersArr.length)+") ",1),d("div",IRe,[Ee(en,{name:"bounce"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(o.mountedPersArr,(c,u)=>(T(),it(i,{ref_for:!0,ref:"personalitiesZoo",key:"index-"+u+"-"+c.name,personality:c,full_path:c.full_path,selected:o.configFile.personalities[o.configFile.active_personality_id]===c.full_path,"on-selected":r.onPersonalitySelected,"on-mounted":r.onPersonalityMounted,"on-settings":r.onSettingsPersonality},null,8,["personality","full_path","selected","on-selected","on-mounted","on-settings"]))),128))]),_:1})])],2)):H("",!0)]),Ee(a,{ref:"toast"},null,512),Ee(l,{ref:"universalForm",class:"z-20"},null,512)])}const qRe=Ve(SRe,[["render",FRe],["__scopeId","data-v-ecabcf2a"]]);const $Re={name:"ChatBox",emits:["messageSentEvent","stopGenerating"],props:{discussionList:Array,loading:!1},components:{MountedPersonalities:ERe,MountedPersonalitiesList:qRe},setup(){},data(){return{message:"",fileList:[],totalSize:0,showFileList:!0,showPersonalities:!1}},computed:{allDiscussionPersonalities(){if(this.discussionList.length>0){let t=[];for(let e=0;e{ke.replace()}),qt(t)},removeItem(t){this.fileList=this.fileList.filter(e=>e!=t)},sendMessageEvent(t){this.fileList=[],this.$emit("messageSentEvent",t)},submitOnEnter(t){t.which===13&&(t.preventDefault(),t.repeat||(this.sendMessageEvent(this.message),this.message=""))},submit(){this.message&&(this.sendMessageEvent(this.message),this.message="")},stopGenerating(){this.$emit("stopGenerating")},addFiles(t){this.fileList=this.fileList.concat([...t.target.files])}},watch:{showFileList(){fe(()=>{ke.replace()})},loading(t,e){fe(()=>{ke.replace()})},fileList:{handler(t,e){let n=0;if(t.length>0)for(let s=0;s{ke.replace()})},activated(){fe(()=>{ke.replace()})}},St=t=>(js("data-v-fdaaab76"),t=t(),Ps(),t),zRe={class:"absolute bottom-0 min-w-96 w-full justify-center text-center p-4"},BRe={key:0,class:"flex items-center justify-center w-full"},NRe={class:"flex flex-row p-2 rounded-t-lg"},URe=St(()=>d("label",{for:"chat",class:"sr-only"},"Send message",-1)),HRe={class:"px-3 py-3 rounded-lg bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel shadow-lg"},VRe={class:"flex flex-col gap-2"},GRe=["title"],KRe=St(()=>d("i",{"data-feather":"list"},null,-1)),WRe=[KRe],ZRe={key:1},JRe={key:0,class:"flex flex-col max-h-64"},YRe=["title"],QRe={class:"flex flex-row items-center gap-1 text-left p-2 text-sm font-medium bg-bg-dark-tone-panel dark:bg-bg-dark-tone rounded-lg hover:bg-primary dark:hover:bg-primary"},XRe=St(()=>d("div",null,[d("i",{"data-feather":"file",class:"w-5 h-5"})],-1)),eIe={class:"line-clamp-1 w-3/5"},tIe=St(()=>d("div",{class:"grow"},null,-1)),nIe={class:"flex flex-row items-center"},sIe={class:"whitespace-nowrap"},oIe=["onClick"],rIe=St(()=>d("i",{"data-feather":"x",class:"w-5 h-5"},null,-1)),iIe=[rIe],aIe={key:2,class:"flex items-center mx-1"},lIe={class:"whitespace-nowrap flex flex-row gap-2"},cIe=St(()=>d("p",{class:"font-bold"}," Total size: ",-1)),uIe=St(()=>d("div",{class:"grow"},null,-1)),dIe=St(()=>d("i",{"data-feather":"trash",class:"w-5 h-5"},null,-1)),hIe=[dIe],fIe={key:3,class:"mx-1"},pIe={class:"flex flex-row flex-grow items-center gap-2 overflow-visible"},gIe={class:"w-fit"},mIe={class:"relative grow"},_Ie=St(()=>d("i",{"data-feather":"file-plus"},null,-1)),yIe=[_Ie],bIe={class:"inline-flex justify-center rounded-full"},vIe=St(()=>d("i",{"data-feather":"send"},null,-1)),xIe=St(()=>d("span",{class:"sr-only"},"Send message",-1)),wIe=[vIe,xIe],kIe={key:1,title:"Waiting for reply"},CIe=St(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),EIe=[CIe];function AIe(t,e,n,s,o,r){const i=lt("MountedPersonalitiesList"),a=lt("MountedPersonalities");return T(),D("div",zRe,[n.loading?(T(),D("div",BRe,[d("div",NRe,[d("button",{type:"button",class:"bg-bg-light-tone-panel dark:bg-bg-dark-tone-panel hover:bg-bg-light-tone focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:hover:bg-bg-dark-tone focus:outline-none dark:focus:ring-blue-800",onClick:e[0]||(e[0]=le((...l)=>r.stopGenerating&&r.stopGenerating(...l),["stop"]))}," Stop generating ")])])):H("",!0),d("form",null,[URe,d("div",HRe,[d("div",VRe,[o.fileList.length>0?(T(),D("button",{key:0,class:"mx-1 w-full text-2xl hover:text-secondary duration-75 flex justify-center hover:bg-bg-light-tone hover:dark:bg-bg-dark-tone rounded-lg",title:o.showFileList?"Hide file list":"Show file list",type:"button",onClick:e[1]||(e[1]=le(l=>o.showFileList=!o.showFileList,["stop"]))},WRe,8,GRe)):H("",!0),o.fileList.length>0&&o.showFileList==!0?(T(),D("div",ZRe,[o.fileList.length>0?(T(),D("div",JRe,[Ee(en,{name:"list",tag:"div",class:"flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light scrollbar-thumb-bg-light-tone hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark dark:scrollbar-thumb-bg-dark-tone dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(o.fileList,(l,c)=>(T(),D("div",{key:c+"-"+l.name},[d("div",{class:"m-1",title:l.name},[d("div",QRe,[XRe,d("div",eIe,Z(l.name),1),tIe,d("div",nIe,[d("p",sIe,Z(r.computedFileSize(l.size)),1),d("button",{type:"button",title:"Remove item",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:u=>r.removeItem(l)},iIe,8,oIe)])])],8,YRe)]))),128))]),_:1})])):H("",!0)])):H("",!0),o.fileList.length>0?(T(),D("div",aIe,[d("div",lIe,[cIe,ye(" "+Z(o.totalSize)+" ("+Z(o.fileList.length)+") ",1)]),uIe,d("button",{type:"button",title:"Clear all",class:"flex items-center p-0.5 text-sm rounded-sm hover:text-red-600 active:scale-75",onClick:e[2]||(e[2]=l=>o.fileList=[])},hIe)])):H("",!0),o.showPersonalities?(T(),D("div",fIe,[Ee(i,{ref:"mountedPersList",onShowPersList:r.onShowPersListFun,"on-mount-unmount":r.onMountUnmountFun,discussionPersonalities:r.allDiscussionPersonalities},null,8,["onShowPersList","on-mount-unmount","discussionPersonalities"])])):H("",!0),d("div",pIe,[d("div",gIe,[Ee(a,{ref:"mountedPers",onShowPersList:r.onShowPersListFun},null,8,["onShowPersList"])]),d("div",mIe,[Te(d("textarea",{id:"chat",rows:"1","onUpdate:modelValue":e[3]||(e[3]=l=>o.message=l),title:"Hold SHIFT + ENTER to add new line",class:"inline-block 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:e[4]||(e[4]=Qi(le(l=>r.submitOnEnter(l),["exact"]),["enter"]))},`\r -\r -\r - `,544),[[$e,o.message]]),d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:e[5]||(e[5]=(...l)=>r.addFiles&&r.addFiles(...l)),multiple:""},null,544),d("button",{type:"button",onClick:e[6]||(e[6]=le(l=>t.$refs.fileDialog.click(),["stop"])),title:"Add files",class:"absolute inset-y-0 right-0 flex items-center mr-2 w-6 hover:text-secondary duration-75 active:scale-90"},yIe)]),d("div",bIe,[n.loading?H("",!0):(T(),D("button",{key:0,type:"button",onClick:e[7]||(e[7]=(...l)=>r.submit&&r.submit(...l)),class:"w-6 hover:text-secondary duration-75 active:scale-90"},wIe)),n.loading?(T(),D("div",kIe,EIe)):H("",!0)])])])])])])}const tp=Ve($Re,[["render",AIe],["__scopeId","data-v-fdaaab76"]]),SIe={name:"WelcomeComponent",setup(){return{}}},TIe={class:"flex flex-col text-center"},MIe=ko('
Logo

Lord of Large Language Models

One tool to rule them all


Welcome

Please create a new discussion or select existing one to start

',1),DIe=[MIe];function LIe(t,e,n,s,o,r){return T(),D("div",TIe,DIe)}const np=Ve(SIe,[["render",LIe]]);const OIe={setup(){return{}},name:"DragDrop",emits:["panelLeave","panelDrop"],data(){return{fileList:[],show:!1,dropRelease:!1}},mounted(){fe(()=>{ke.replace()})},methods:{async panelDrop(t){const e="getAsFileSystemHandle"in DataTransferItem.prototype,n="webkitGetAsEntry"in DataTransferItem.prototype;if(!e&&!n)return;const s=[...t.dataTransfer.items].filter(r=>r.kind==="file").map(r=>e?r.getAsFileSystemHandle():r.webkitGetAsEntry());let o=[];for await(const r of s)(r.kind==="directory"||r.isDirectory)&&o.push(r.name);this.dropRelease=!0,t.dataTransfer.files.length>0&&[...t.dataTransfer.files].forEach(r=>{o.includes(r.name)||this.fileList.push(r)}),fe(()=>{ke.replace()}),this.$emit("panelDrop",this.fileList),this.fileList=[],this.show=!1},panelLeave(){this.$emit("panelLeave"),console.log("exit/leave"),this.dropRelease=!1,this.show=!1,fe(()=>{ke.replace()})}}},jIe={class:"text-4xl text-center"};function PIe(t,e,n,s,o,r){return T(),it(en,{name:"list",tag:"div"},{default:Ze(()=>[o.show?(T(),D("div",{key:"dropmenu",class:"select-none text-slate-50 absolute top-0 left-0 right-0 bottom-0 flex flex-col items-center justify-center bg-black bg-opacity-50 duration-200 backdrop-blur-sm",onDragleave:e[0]||(e[0]=le(i=>r.panelLeave(i),["prevent"])),onDrop:e[1]||(e[1]=le(i=>r.panelDrop(i),["stop","prevent"]))},[d("div",{class:De(["flex flex-col items-center justify-center p-8 rounded-lg shadow-lg border-dashed border-4 border-secondary w-4/5 h-4/5",o.dropRelease?"":"pointer-events-none"])},[d("div",jIe,[Fd(t.$slots,"default",{},()=>[ye(" Drop your files here ")])])],2)],32)):H("",!0)]),_:3})}const ya=Ve(OIe,[["render",PIe]]);var RIe=function(){function t(e,n){n===void 0&&(n=[]),this._eventType=e,this._eventFunctions=n}return t.prototype.init=function(){var e=this;this._eventFunctions.forEach(function(n){typeof window<"u"&&window.addEventListener(e._eventType,n)})},t}(),yr=globalThis&&globalThis.__assign||function(){return yr=Object.assign||function(t){for(var e,n=1,s=arguments.length;n"u")return!1;var e=gt(t).ShadowRoot;return t instanceof e||t instanceof ShadowRoot}function WIe(t){var e=t.state;Object.keys(e.elements).forEach(function(n){var s=e.styles[n]||{},o=e.attributes[n]||{},r=e.elements[n];!kt(r)||!Gt(r)||(Object.assign(r.style,s),Object.keys(o).forEach(function(i){var a=o[i];a===!1?r.removeAttribute(i):r.setAttribute(i,a===!0?"":a)}))})}function ZIe(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(s){var o=e.elements[s],r=e.attributes[s]||{},i=Object.keys(e.styles.hasOwnProperty(s)?e.styles[s]:n[s]),a=i.reduce(function(l,c){return l[c]="",l},{});!kt(o)||!Gt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}const JIe={name:"applyStyles",enabled:!0,phase:"write",fn:WIe,effect:ZIe,requires:["computeStyles"]};function Ut(t){return t.split("-")[0]}var Kn=Math.max,wr=Math.min,Es=Math.round;function ba(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function fp(){return!/^((?!chrome|android).)*safari/i.test(ba())}function As(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!1);var s=t.getBoundingClientRect(),o=1,r=1;e&&kt(t)&&(o=t.offsetWidth>0&&Es(s.width)/t.offsetWidth||1,r=t.offsetHeight>0&&Es(s.height)/t.offsetHeight||1);var i=Jn(t)?gt(t):window,a=i.visualViewport,l=!fp()&&n,c=(s.left+(l&&a?a.offsetLeft:0))/o,u=(s.top+(l&&a?a.offsetTop:0))/r,h=s.width/o,f=s.height/r;return{width:h,height:f,top:u,right:c+h,bottom:u+f,left:c,x:c,y:u}}function xl(t){var e=As(t),n=t.offsetWidth,s=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-s)<=1&&(s=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:s}}function pp(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&vl(n)){var s=e;do{if(s&&t.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function rn(t){return gt(t).getComputedStyle(t)}function YIe(t){return["table","td","th"].indexOf(Gt(t))>=0}function Mn(t){return((Jn(t)?t.ownerDocument:t.document)||window.document).documentElement}function ii(t){return Gt(t)==="html"?t:t.assignedSlot||t.parentNode||(vl(t)?t.host:null)||Mn(t)}function Hu(t){return!kt(t)||rn(t).position==="fixed"?null:t.offsetParent}function QIe(t){var e=/firefox/i.test(ba()),n=/Trident/i.test(ba());if(n&&kt(t)){var s=rn(t);if(s.position==="fixed")return null}var o=ii(t);for(vl(o)&&(o=o.host);kt(o)&&["html","body"].indexOf(Gt(o))<0;){var r=rn(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||e&&r.willChange==="filter"||e&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Mo(t){for(var e=gt(t),n=Hu(t);n&&YIe(n)&&rn(n).position==="static";)n=Hu(n);return n&&(Gt(n)==="html"||Gt(n)==="body"&&rn(n).position==="static")?e:n||QIe(t)||e}function wl(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function to(t,e,n){return Kn(t,wr(e,n))}function XIe(t,e,n){var s=to(t,e,n);return s>n?n:s}function gp(){return{top:0,right:0,bottom:0,left:0}}function mp(t){return Object.assign({},gp(),t)}function _p(t,e){return e.reduce(function(n,s){return n[s]=t,n},{})}var eFe=function(e,n){return e=typeof e=="function"?e(Object.assign({},n.rects,{placement:n.placement})):e,mp(typeof e!="number"?e:_p(e,To))};function tFe(t){var e,n=t.state,s=t.name,o=t.options,r=n.elements.arrow,i=n.modifiersData.popperOffsets,a=Ut(n.placement),l=wl(a),c=[ut,At].indexOf(a)>=0,u=c?"height":"width";if(!(!r||!i)){var h=eFe(o.padding,n),f=xl(r),p=l==="y"?ct:ut,g=l==="y"?Et:At,m=n.rects.reference[u]+n.rects.reference[l]-i[l]-n.rects.popper[u],w=i[l]-n.rects.reference[l],v=Mo(r),y=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,x=m/2-w/2,E=h[p],q=y-f[u]-h[g],M=y/2-f[u]/2+x,$=to(E,M,q),b=l;n.modifiersData[s]=(e={},e[b]=$,e.centerOffset=$-M,e)}}function nFe(t){var e=t.state,n=t.options,s=n.element,o=s===void 0?"[data-popper-arrow]":s;o!=null&&(typeof o=="string"&&(o=e.elements.popper.querySelector(o),!o)||pp(e.elements.popper,o)&&(e.elements.arrow=o))}const sFe={name:"arrow",enabled:!0,phase:"main",fn:tFe,effect:nFe,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ss(t){return t.split("-")[1]}var oFe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function rFe(t,e){var n=t.x,s=t.y,o=e.devicePixelRatio||1;return{x:Es(n*o)/o||0,y:Es(s*o)/o||0}}function Vu(t){var e,n=t.popper,s=t.popperRect,o=t.placement,r=t.variation,i=t.offsets,a=t.position,l=t.gpuAcceleration,c=t.adaptive,u=t.roundOffsets,h=t.isFixed,f=i.x,p=f===void 0?0:f,g=i.y,m=g===void 0?0:g,w=typeof u=="function"?u({x:p,y:m}):{x:p,y:m};p=w.x,m=w.y;var v=i.hasOwnProperty("x"),y=i.hasOwnProperty("y"),x=ut,E=ct,q=window;if(c){var M=Mo(n),$="clientHeight",b="clientWidth";if(M===gt(n)&&(M=Mn(n),rn(M).position!=="static"&&a==="absolute"&&($="scrollHeight",b="scrollWidth")),M=M,o===ct||(o===ut||o===At)&&r===vo){E=Et;var k=h&&M===q&&q.visualViewport?q.visualViewport.height:M[$];m-=k-s.height,m*=l?1:-1}if(o===ut||(o===ct||o===Et)&&r===vo){x=At;var S=h&&M===q&&q.visualViewport?q.visualViewport.width:M[b];p-=S-s.width,p*=l?1:-1}}var z=Object.assign({position:a},c&&oFe),F=u===!0?rFe({x:p,y:m},gt(n)):{x:p,y:m};if(p=F.x,m=F.y,l){var Q;return Object.assign({},z,(Q={},Q[E]=y?"0":"",Q[x]=v?"0":"",Q.transform=(q.devicePixelRatio||1)<=1?"translate("+p+"px, "+m+"px)":"translate3d("+p+"px, "+m+"px, 0)",Q))}return Object.assign({},z,(e={},e[E]=y?m+"px":"",e[x]=v?p+"px":"",e.transform="",e))}function iFe(t){var e=t.state,n=t.options,s=n.gpuAcceleration,o=s===void 0?!0:s,r=n.adaptive,i=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,c={placement:Ut(e.placement),variation:Ss(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:e.options.strategy==="fixed"};e.modifiersData.popperOffsets!=null&&(e.styles.popper=Object.assign({},e.styles.popper,Vu(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:i,roundOffsets:l})))),e.modifiersData.arrow!=null&&(e.styles.arrow=Object.assign({},e.styles.arrow,Vu(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})}const aFe={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:iFe,data:{}};var No={passive:!0};function lFe(t){var e=t.state,n=t.instance,s=t.options,o=s.scroll,r=o===void 0?!0:o,i=s.resize,a=i===void 0?!0:i,l=gt(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(u){u.addEventListener("scroll",n.update,No)}),a&&l.addEventListener("resize",n.update,No),function(){r&&c.forEach(function(u){u.removeEventListener("scroll",n.update,No)}),a&&l.removeEventListener("resize",n.update,No)}}const cFe={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lFe,data:{}};var uFe={left:"right",right:"left",bottom:"top",top:"bottom"};function ir(t){return t.replace(/left|right|bottom|top/g,function(e){return uFe[e]})}var dFe={start:"end",end:"start"};function Gu(t){return t.replace(/start|end/g,function(e){return dFe[e]})}function kl(t){var e=gt(t),n=e.pageXOffset,s=e.pageYOffset;return{scrollLeft:n,scrollTop:s}}function Cl(t){return As(Mn(t)).left+kl(t).scrollLeft}function hFe(t,e){var n=gt(t),s=Mn(t),o=n.visualViewport,r=s.clientWidth,i=s.clientHeight,a=0,l=0;if(o){r=o.width,i=o.height;var c=fp();(c||!c&&e==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:i,x:a+Cl(t),y:l}}function fFe(t){var e,n=Mn(t),s=kl(t),o=(e=t.ownerDocument)==null?void 0:e.body,r=Kn(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Kn(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-s.scrollLeft+Cl(t),l=-s.scrollTop;return rn(o||n).direction==="rtl"&&(a+=Kn(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:i,x:a,y:l}}function El(t){var e=rn(t),n=e.overflow,s=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+s)}function yp(t){return["html","body","#document"].indexOf(Gt(t))>=0?t.ownerDocument.body:kt(t)&&El(t)?t:yp(ii(t))}function no(t,e){var n;e===void 0&&(e=[]);var s=yp(t),o=s===((n=t.ownerDocument)==null?void 0:n.body),r=gt(s),i=o?[r].concat(r.visualViewport||[],El(s)?s:[]):s,a=e.concat(i);return o?a:a.concat(no(ii(i)))}function va(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function pFe(t,e){var n=As(t,!1,e==="fixed");return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}function Ku(t,e,n){return e===dp?va(hFe(t,n)):Jn(e)?pFe(e,n):va(fFe(Mn(t)))}function gFe(t){var e=no(ii(t)),n=["absolute","fixed"].indexOf(rn(t).position)>=0,s=n&&kt(t)?Mo(t):t;return Jn(s)?e.filter(function(o){return Jn(o)&&pp(o,s)&&Gt(o)!=="body"}):[]}function mFe(t,e,n,s){var o=e==="clippingParents"?gFe(t):[].concat(e),r=[].concat(o,[n]),i=r[0],a=r.reduce(function(l,c){var u=Ku(t,c,s);return l.top=Kn(u.top,l.top),l.right=wr(u.right,l.right),l.bottom=wr(u.bottom,l.bottom),l.left=Kn(u.left,l.left),l},Ku(t,i,s));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function bp(t){var e=t.reference,n=t.element,s=t.placement,o=s?Ut(s):null,r=s?Ss(s):null,i=e.x+e.width/2-n.width/2,a=e.y+e.height/2-n.height/2,l;switch(o){case ct:l={x:i,y:e.y-n.height};break;case Et:l={x:i,y:e.y+e.height};break;case At:l={x:e.x+e.width,y:a};break;case ut:l={x:e.x-n.width,y:a};break;default:l={x:e.x,y:e.y}}var c=o?wl(o):null;if(c!=null){var u=c==="y"?"height":"width";switch(r){case Cs:l[c]=l[c]-(e[u]/2-n[u]/2);break;case vo:l[c]=l[c]+(e[u]/2-n[u]/2);break}}return l}function xo(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=s===void 0?t.placement:s,r=n.strategy,i=r===void 0?t.strategy:r,a=n.boundary,l=a===void 0?IIe:a,c=n.rootBoundary,u=c===void 0?dp:c,h=n.elementContext,f=h===void 0?Gs:h,p=n.altBoundary,g=p===void 0?!1:p,m=n.padding,w=m===void 0?0:m,v=mp(typeof w!="number"?w:_p(w,To)),y=f===Gs?FIe:Gs,x=t.rects.popper,E=t.elements[g?y:f],q=mFe(Jn(E)?E:E.contextElement||Mn(t.elements.popper),l,u,i),M=As(t.elements.reference),$=bp({reference:M,element:x,strategy:"absolute",placement:o}),b=va(Object.assign({},x,$)),k=f===Gs?b:M,S={top:q.top-k.top+v.top,bottom:k.bottom-q.bottom+v.bottom,left:q.left-k.left+v.left,right:k.right-q.right+v.right},z=t.modifiersData.offset;if(f===Gs&&z){var F=z[o];Object.keys(S).forEach(function(Q){var I=[At,Et].indexOf(Q)>=0?1:-1,he=[ct,Et].indexOf(Q)>=0?"y":"x";S[Q]+=F[he]*I})}return S}function _Fe(t,e){e===void 0&&(e={});var n=e,s=n.placement,o=n.boundary,r=n.rootBoundary,i=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=l===void 0?hp:l,u=Ss(s),h=u?a?Uu:Uu.filter(function(g){return Ss(g)===u}):To,f=h.filter(function(g){return c.indexOf(g)>=0});f.length===0&&(f=h);var p=f.reduce(function(g,m){return g[m]=xo(t,{placement:m,boundary:o,rootBoundary:r,padding:i})[Ut(m)],g},{});return Object.keys(p).sort(function(g,m){return p[g]-p[m]})}function yFe(t){if(Ut(t)===bl)return[];var e=ir(t);return[Gu(t),e,Gu(e)]}function bFe(t){var e=t.state,n=t.options,s=t.name;if(!e.modifiersData[s]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!0:i,l=n.fallbackPlacements,c=n.padding,u=n.boundary,h=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,g=p===void 0?!0:p,m=n.allowedAutoPlacements,w=e.options.placement,v=Ut(w),y=v===w,x=l||(y||!g?[ir(w)]:yFe(w)),E=[w].concat(x).reduce(function(Ae,L){return Ae.concat(Ut(L)===bl?_Fe(e,{placement:L,boundary:u,rootBoundary:h,padding:c,flipVariations:g,allowedAutoPlacements:m}):L)},[]),q=e.rects.reference,M=e.rects.popper,$=new Map,b=!0,k=E[0],S=0;S=0,he=I?"width":"height",X=xo(e,{placement:z,boundary:u,rootBoundary:h,altBoundary:f,padding:c}),A=I?Q?At:ut:Q?Et:ct;q[he]>M[he]&&(A=ir(A));var N=ir(A),G=[];if(r&&G.push(X[F]<=0),a&&G.push(X[A]<=0,X[N]<=0),G.every(function(Ae){return Ae})){k=z,b=!1;break}$.set(z,G)}if(b)for(var me=g?3:1,pe=function(L){var W=E.find(function(J){var ie=$.get(J);if(ie)return ie.slice(0,L).every(function(se){return se})});if(W)return k=W,"break"},ee=me;ee>0;ee--){var ve=pe(ee);if(ve==="break")break}e.placement!==k&&(e.modifiersData[s]._skip=!0,e.placement=k,e.reset=!0)}}const vFe={name:"flip",enabled:!0,phase:"main",fn:bFe,requiresIfExists:["offset"],data:{_skip:!1}};function Wu(t,e,n){return n===void 0&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Zu(t){return[ct,At,Et,ut].some(function(e){return t[e]>=0})}function xFe(t){var e=t.state,n=t.name,s=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,i=xo(e,{elementContext:"reference"}),a=xo(e,{altBoundary:!0}),l=Wu(i,s),c=Wu(a,o,r),u=Zu(l),h=Zu(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":h})}const wFe={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:xFe};function kFe(t,e,n){var s=Ut(t),o=[ut,ct].indexOf(s)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},e,{placement:t})):n,i=r[0],a=r[1];return i=i||0,a=(a||0)*o,[ut,At].indexOf(s)>=0?{x:a,y:i}:{x:i,y:a}}function CFe(t){var e=t.state,n=t.options,s=t.name,o=n.offset,r=o===void 0?[0,0]:o,i=hp.reduce(function(u,h){return u[h]=kFe(h,e.rects,r),u},{}),a=i[e.placement],l=a.x,c=a.y;e.modifiersData.popperOffsets!=null&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[s]=i}const EFe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:CFe};function AFe(t){var e=t.state,n=t.name;e.modifiersData[n]=bp({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})}const SFe={name:"popperOffsets",enabled:!0,phase:"read",fn:AFe,data:{}};function TFe(t){return t==="x"?"y":"x"}function MFe(t){var e=t.state,n=t.options,s=t.name,o=n.mainAxis,r=o===void 0?!0:o,i=n.altAxis,a=i===void 0?!1:i,l=n.boundary,c=n.rootBoundary,u=n.altBoundary,h=n.padding,f=n.tether,p=f===void 0?!0:f,g=n.tetherOffset,m=g===void 0?0:g,w=xo(e,{boundary:l,rootBoundary:c,padding:h,altBoundary:u}),v=Ut(e.placement),y=Ss(e.placement),x=!y,E=wl(v),q=TFe(E),M=e.modifiersData.popperOffsets,$=e.rects.reference,b=e.rects.popper,k=typeof m=="function"?m(Object.assign({},e.rects,{placement:e.placement})):m,S=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),z=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,F={x:0,y:0};if(M){if(r){var Q,I=E==="y"?ct:ut,he=E==="y"?Et:At,X=E==="y"?"height":"width",A=M[E],N=A+w[I],G=A-w[he],me=p?-b[X]/2:0,pe=y===Cs?$[X]:b[X],ee=y===Cs?-b[X]:-$[X],ve=e.elements.arrow,Ae=p&&ve?xl(ve):{width:0,height:0},L=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:gp(),W=L[I],J=L[he],ie=to(0,$[X],Ae[X]),se=x?$[X]/2-me-ie-W-S.mainAxis:pe-ie-W-S.mainAxis,ge=x?-$[X]/2+me+ie+J+S.mainAxis:ee+ie+J+S.mainAxis,de=e.elements.arrow&&Mo(e.elements.arrow),_=de?E==="y"?de.clientTop||0:de.clientLeft||0:0,C=(Q=z==null?void 0:z[E])!=null?Q:0,O=A+se-C-_,j=A+ge-C,P=to(p?wr(N,O):N,A,p?Kn(G,j):G);M[E]=P,F[E]=P-A}if(a){var Y,oe=E==="x"?ct:ut,R=E==="x"?Et:At,te=M[q],B=q==="y"?"height":"width",K=te+w[oe],re=te-w[R],ce=[ct,ut].indexOf(v)!==-1,ae=(Y=z==null?void 0:z[q])!=null?Y:0,xe=ce?K:te-$[B]-b[B]-ae+S.altAxis,V=ce?te+$[B]+b[B]-ae-S.altAxis:re,ne=p&&ce?XIe(xe,te,V):to(p?xe:K,te,p?V:re);M[q]=ne,F[q]=ne-te}e.modifiersData[s]=F}}const DFe={name:"preventOverflow",enabled:!0,phase:"main",fn:MFe,requiresIfExists:["offset"]};function LFe(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function OFe(t){return t===gt(t)||!kt(t)?kl(t):LFe(t)}function jFe(t){var e=t.getBoundingClientRect(),n=Es(e.width)/t.offsetWidth||1,s=Es(e.height)/t.offsetHeight||1;return n!==1||s!==1}function PFe(t,e,n){n===void 0&&(n=!1);var s=kt(e),o=kt(e)&&jFe(e),r=Mn(e),i=As(t,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(s||!s&&!n)&&((Gt(e)!=="body"||El(r))&&(a=OFe(e)),kt(e)?(l=As(e,!0),l.x+=e.clientLeft,l.y+=e.clientTop):r&&(l.x=Cl(r))),{x:i.left+a.scrollLeft-l.x,y:i.top+a.scrollTop-l.y,width:i.width,height:i.height}}function RFe(t){var e=new Map,n=new Set,s=[];t.forEach(function(r){e.set(r.name,r)});function o(r){n.add(r.name);var i=[].concat(r.requires||[],r.requiresIfExists||[]);i.forEach(function(a){if(!n.has(a)){var l=e.get(a);l&&o(l)}}),s.push(r)}return t.forEach(function(r){n.has(r.name)||o(r)}),s}function IFe(t){var e=RFe(t);return KIe.reduce(function(n,s){return n.concat(e.filter(function(o){return o.phase===s}))},[])}function FFe(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}function qFe(t){var e=t.reduce(function(n,s){var o=n[s.name];return n[s.name]=o?Object.assign({},o,s,{options:Object.assign({},o.options,s.options),data:Object.assign({},o.data,s.data)}):s,n},{});return Object.keys(e).map(function(n){return e[n]})}var Ju={placement:"bottom",modifiers:[],strategy:"absolute"};function Yu(){for(var t=arguments.length,e=new Array(t),n=0;n(js("data-v-d054087d"),t=t(),Ps(),t),UFe={class:"relative flex flex-col no-scrollbar shadow-lg min-w-[24rem] max-w-[24rem] bg-bg-light-tone dark:bg-bg-dark-tone"},HFe={class:"sticky z-10 top-0 bg-bg-light-tone dark:bg-bg-dark-tone shadow-md"},VFe={class:"flex-row p-4 flex items-center gap-3 flex-0"},GFe=et(()=>d("i",{"data-feather":"plus"},null,-1)),KFe=[GFe],WFe=et(()=>d("i",{"data-feather":"check-square"},null,-1)),ZFe=[WFe],JFe=et(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Reset database, remove all discussions"},[d("i",{"data-feather":"refresh-ccw"})],-1)),YFe=et(()=>d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Export database",type:"button"},[d("i",{"data-feather":"database"})],-1)),QFe=et(()=>d("i",{"data-feather":"log-in"},null,-1)),XFe=[QFe],eqe=et(()=>d("i",{"data-feather":"search"},null,-1)),tqe=[eqe],nqe={key:0,title:"Loading..",class:"flex flex-row flex-grow justify-end"},sqe=et(()=>d("div",{role:"status"},[d("svg",{"aria-hidden":"true",class:"w-6 h-6 animate-spin fill-secondary",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[d("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),d("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]),d("span",{class:"sr-only"},"Loading...")],-1)),oqe=[sqe],rqe={key:0,class:"flex-row items-center gap-3 flex-0 w-full"},iqe={class:"p-4 pt-2"},aqe={class:"relative"},lqe=et(()=>d("div",{class:"absolute inset-y-0 left-0 flex items-center pl-3 pointer-events-none"},[d("div",{class:"scale-75"},[d("i",{"data-feather":"search"})])],-1)),cqe={class:"absolute inset-y-0 right-0 flex items-center pr-3"},uqe=et(()=>d("i",{"data-feather":"x"},null,-1)),dqe=[uqe],hqe={key:1,class:"h-px bg-bg-light p-0 mb-4 px-4 mx-4 border-0 dark:bg-bg-dark"},fqe={key:2,class:"flex flex-row flex-grow p-4 pt-0 items-center"},pqe={class:"flex flex-row flex-grow"},gqe={key:0},mqe={class:"flex flex-row"},_qe={key:0,class:"flex gap-3"},yqe=et(()=>d("i",{"data-feather":"trash"},null,-1)),bqe=[yqe],vqe={key:1,class:"flex gap-3 mx-3 flex-1 items-center justify-end group-hover:visible duration-75"},xqe=et(()=>d("i",{"data-feather":"check"},null,-1)),wqe=[xqe],kqe=et(()=>d("i",{"data-feather":"x"},null,-1)),Cqe=[kqe],Eqe={class:"flex gap-3"},Aqe=et(()=>d("i",{"data-feather":"log-out"},null,-1)),Sqe=[Aqe],Tqe=et(()=>d("i",{"data-feather":"list"},null,-1)),Mqe=[Tqe],Dqe={class:"z-20"},Lqe={class:"relative flex flex-row flex-grow mb-10"},Oqe={key:1,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"},jqe=et(()=>d("p",{class:"px-3"},"No discussions are found",-1)),Pqe=[jqe],Rqe=et(()=>d("div",{class:"sticky bottom-0 bg-gradient-to-t pointer-events-none from-bg-light-tone dark:from-bg-dark-tone flex flex-grow"},null,-1)),Iqe={class:"z-20 h-max"},Fqe={class:"container pt-4 pb-10 mb-28"},qqe=et(()=>d("div",{class:"absolute w-full bottom-0 bg-transparent p-10 pt-16 bg-gradient-to-t from-bg-light dark:from-bg-dark from-5% via-bg-light dark:via-bg-dark via-10% to-transparent to-100%"},null,-1)),$qe={key:0,class:"bottom-0 container flex flex-row items-center justify-center"},zqe={setup(){},data(){return{list:[],tempList:[],currentDiscussion:{},discussionArr:[],loading:!1,filterTitle:"",filterInProgress:!1,isCreated:!1,isGenerating:!1,isCheckbox:!1,isSelectAll:!1,showConfirmation:!1,chime:new Audio("chime_aud.wav"),showToast:!1,isSearch:!1,isDiscussionBottom:!1,personalityAvatars:[],fileList:[],isDragOverDiscussion:!1,isDragOverChat:!1}},methods:{async api_get_req(t){try{const e=await Ce.get("/"+t);if(e)return e.data}catch(e){console.log(e.message,"api_get_req");return}},async list_discussions(){try{const t=await Ce.get("/list_discussions");if(t)return this.createDiscussionList(t.data),t.data}catch(t){return console.log("Error: Could not list discussions",t.message),[]}},async load_discussion(t){try{if(t){this.loading=!0,this.discussionArr=[],this.setDiscussionLoading(t,this.loading);const e=await Ce.post("/load_discussion",{id:t});this.loading=!1,this.setDiscussionLoading(t,this.loading),e&&(this.discussionArr=e.data.filter(n=>n.type==0))}}catch(e){console.log(e.message,"load_discussion"),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async new_discussion(t){try{const e=await Ce.get("/new_discussion",{params:{title:t}});if(e)return e.data}catch(e){return console.log("Error: Could not create new discussion",e.message),{}}},async delete_discussion(t){try{t&&(this.loading=!0,this.setDiscussionLoading(t,this.loading),await Ce.post("/delete_discussion",{id:t}),this.loading=!1,this.setDiscussionLoading(t,this.loading))}catch(e){console.log("Error: Could not delete discussion",e.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async edit_title(t,e){try{if(t){this.loading=!0,this.setDiscussionLoading(t,this.loading);const n=await Ce.post("/edit_title",{id:t,title:e});if(this.loading=!1,this.setDiscussionLoading(t,this.loading),n.status==200){const s=this.list.findIndex(r=>r.id==t),o=this.list[s];o.title=e,this.tempList=this.list}}}catch(n){console.log("Error: Could not edit title",n.message),this.loading=!1,this.setDiscussionLoading(t,this.loading)}},async delete_message(t){try{const e=await Ce.get("/delete_message",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could delete message",e.message),{}}},async stop_gen(){try{if(qe.emit("cancel_generation"),res)return res.data}catch(t){return console.log("Error: Could not stop generating",t.message),{}}},async message_rank_up(t){try{const e=await Ce.get("/message_rank_up",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank up message",e.message),{}}},async message_rank_down(t){try{const e=await Ce.get("/message_rank_down",{params:{id:t}});if(e)return e.data}catch(e){return console.log("Error: Could not rank down message",e.message),{}}},async update_message(t,e){try{const n=await Ce.get("/update_message",{params:{id:t,message:e}});if(n)return n.data}catch(n){return console.log("Error: Could not update message",n.message),{}}},async export_multiple_discussions(t){try{if(t.length>0){const e=await Ce.post("/export_multiple_discussions",{discussion_ids:t});if(e)return e.data}}catch(e){return console.log("Error: Could not export multiple discussions",e.message),{}}},async import_multiple_discussions(t){try{if(t.length>0){console.log("sending import",t);const e=await Ce.post("/import_multiple_discussions",{jArray:t});if(e)return console.log("import response",e.data),e.data}}catch(e){console.log("Error: Could not import multiple discussions",e.message);return}},filterDiscussions(){this.filterInProgress||(this.filterInProgress=!0,setTimeout(()=>{this.filterTitle?this.list=this.tempList.filter(t=>t.title&&t.title.includes(this.filterTitle)):this.list=this.tempList,this.filterInProgress=!1},100))},async selectDiscussion(t){t&&(this.currentDiscussion.id!=t.id&&(this.currentDiscussion=t,this.setPageTitle(t),localStorage.setItem("selected_discussion",this.currentDiscussion.id),await this.load_discussion(t.id),this.discussionArr.length>1&&(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,this.discussionArr[1].content)),fe(()=>{const e=document.getElementById("dis-"+this.currentDiscussion.id);this.scrollToElementInContainer(e,"leftPanel");const n=document.getElementById("messages-list");this.scrollBottom(n)}))},scrollToElement(t){t?t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}):console.log("Error: scrollToElement")},scrollToElementInContainer(t,e){const n=t.offsetTop;document.getElementById(e).scrollTo({top:n,behavior:"smooth"})},scrollBottom(t){t?t.scrollTo({top:t.scrollHeight,behavior:"smooth"}):console.log("Error: scrollBottom")},scrollTop(t){t?t.scrollTo({top:0,behavior:"smooth"}):console.log("Error: scrollTop")},createUserMsg(t){let e={content:t.message,id:t.id,rank:0,sender:t.user,created_at:t.created_at};this.discussionArr.push(e),fe(()=>{const n=document.getElementById("messages-list");this.scrollBottom(n)})},updateLastUserMsg(t){const e=this.discussionArr.indexOf(s=>s.id=t.user_message_id),n={binding:t.binding,content:t.message,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.user_message_id,model:t.model,personality:t.personality,sender:t.user};e!==-1&&(this.discussionArr[e]=n)},createBotMsg(t){if(console.log("create bot",t),t.status=="generation_started"){this.updateLastUserMsg(t);let e={content:"✍ please stand by ...",id:t.ai_message_id,parent:t.user_message_id,rank:0,sender:t.bot,created_at:t.created_at};this.discussionArr.push(e),(this.currentDiscussion.title===""||this.currentDiscussion.title===null)&&t.type=="input_message_infos"&&this.changeTitleUsingUserMSG(this.currentDiscussion.id,t.message),console.log("infos",t)}else this.$refs.toast.showToast("It seems that no model has been loaded. Please download and install a model first, then try again.",4,!1),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},sendMsg(t){if(!t){this.$refs.toast.showToast("Message contains no content!",4,!1);return}this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ce.get("/get_generation_status",{}).then(e=>{if(e)if(e.data.status)console.log("Already generating");else{qe.emit("generate_msg",{prompt:t});let n=0;this.discussionArr.length>0&&(n=Number(this.discussionArr[this.discussionArr.length-1].id)+1);let s={message:t,id:n,rank:0,user:"user",created_at:new Date().toLocaleString()};this.createUserMsg(s)}}).catch(e=>{console.log("Error: Could not get generation status",e)})},streamMessageContent(t){console.log("stream msg",t);const e=t.user_message_id,n=t.discussion_id;if(this.setDiscussionLoading(n,!0),this.currentDiscussion.id==n){this.isGenerating=!0;const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o=this.discussionArr[s];o&&(o.content=t.data)}},async changeTitleUsingUserMSG(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];e&&(s.title=e,this.tempList=this.list,await this.edit_title(t,e))},async createNewDiscussion(){this.loading=!0;const t=await this.new_discussion();this.loading=!1,await this.list_discussions();const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];this.selectDiscussion(n),fe(()=>{const s=document.getElementById("dis-"+t.id);this.scrollToElement(s)})},loadLastUsedDiscussion(){const t=localStorage.getItem("selected_discussion");if(t){const e=this.list.findIndex(s=>s.id==t),n=this.list[e];n&&this.selectDiscussion(n)}},async deleteDiscussion(t){await this.delete_discussion(t),this.currentDiscussion.id==t&&(this.currentDiscussion={},this.discussionArr=[],this.setPageTitle()),this.list.splice(this.list.findIndex(e=>e.id==t),1),this.createDiscussionList(this.list)},async deleteDiscussionMulti(){const t=this.selectedDiscussions;for(let e=0;es.id==n.id),1)}this.tempList=this.list,this.isCheckbox=!1,this.$refs.toast.showToast("Removed ("+t.length+") items",4,!0),this.showConfirmation=!1,console.log("Multi delete done")},async deleteMessage(t){await this.delete_message(t).then(()=>{this.discussionArr.splice(this.discussionArr.findIndex(e=>e.id==t),1)}).catch(()=>{this.$refs.toast.showToast("Could not remove message",4,!1),console.log("Error: Could not delete message")})},async editTitle(t){const e=this.list.findIndex(s=>s.id==t.id),n=this.list[e];n.title=t.title,n.loading=!0,await this.edit_title(t.id,t.title),n.loading=!1},checkUncheckDiscussion(t,e){const n=this.list.findIndex(o=>o.id==e),s=this.list[n];s.checkBoxValue=t.target.checked,this.tempList=this.list},selectAllDiscussions(){this.isSelectAll=!this.tempList.filter(t=>t.checkBoxValue==!1).length>0;for(let t=0;t({id:n.id,title:n.title,selected:!1,loading:!1,checkBoxValue:!1})).sort(function(n,s){return s.id-n.id});this.list=e,this.tempList=e}},setDiscussionLoading(t,e){const n=this.list.findIndex(o=>o.id==t),s=this.list[n];s.loading=e},setPageTitle(t){if(t)if(t.id){const e=t.title?t.title==="untitled"?"New discussion":t.title:"New discussion";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}else{const e=t||"Welcome";document.title="LoLLMS WebUI - "+e}},async rankUpMessage(t){await this.message_rank_up(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank up message",4,!1),console.log("Error: Could not rank up message")})},async rankDownMessage(t){await this.message_rank_down(t).then(e=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.rank=e.new_rank}).catch(()=>{this.$refs.toast.showToast("Could not rank down message",4,!1),console.log("Error: Could not rank down message")})},async updateMessage(t,e){await this.update_message(t,e).then(()=>{const n=this.discussionArr[this.discussionArr.findIndex(s=>s.id==t)];n.content=e}).catch(()=>{this.$refs.toast.showToast("Could not update message",4,!1),console.log("Error: Could not update message")})},resendMessage(t,e){this.isGenerating=!0,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),Ce.get("/get_generation_status",{}).then(n=>{n&&(console.log(n),n.data.status?console.log("Already generating"):qe.emit("generate_msg_from",{prompt:e,id:t}))}).catch(n=>{console.log("Error: Could not get generation status",n)})},stopGenerating(){this.stop_gen(),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),console.log("Stopped generating"),fe(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},finalMsgEvent(t){console.log("final",t);const e=t.parent,n=t.discussion_id;if(this.currentDiscussion.id==n){const s=this.discussionArr.findIndex(r=>r.parent==e&&r.id==t.ai_message_id),o={binding:t.binding,content:t.data,created_at:t.created_at,finished_generating_at:t.finished_generating_at,id:t.ai_message_id,model:t.model,parent:t.user_message_id,personality:t.personality,rank:0,sender:t.bot,type:t.type};this.discussionArr[s]=o}fe(()=>{const s=document.getElementById("messages-list");this.scrollBottom(s)}),this.isGenerating=!1,this.setDiscussionLoading(this.currentDiscussion.id,this.isGenerating),this.chime.play()},copyToClipBoard(t){this.$refs.toast.showToast("Copied to clipboard successfully",4,!0);let e="";t.message.binding&&(e=`Binding: ${t.message.binding}`);let n="";t.message.personality&&(n=` -Personality: ${t.message.personality}`);let s="";t.created_at_parsed&&(s=` -Created: ${t.created_at_parsed}`);let o="";t.message.content&&(o=t.message.content);let r="";t.message.model&&(r=`Model: ${t.message.model}`);let i="";t.message.seed&&(i=`Seed: ${t.message.seed}`);let a="";t.time_spent&&(a=` -Time spent: ${t.time_spent}`);let l="";l=`${e} ${r} ${i} ${a}`.trim();const c=`${t.message.sender}${n}${s} - -${o} - -${l}`;navigator.clipboard.writeText(c),fe(()=>{ke.replace()})},closeToast(){this.showToast=!1},saveJSONtoFile(t,e){e=e||"data.json";const n=document.createElement("a");n.href=URL.createObjectURL(new Blob([JSON.stringify(t,null,2)],{type:"text/plain"})),n.setAttribute("download",e),document.body.appendChild(n),n.click(),document.body.removeChild(n)},parseJsonObj(t){try{return JSON.parse(t)}catch(e){return this.$refs.toast.showToast(`Could not parse JSON. -`+e.message,4,!1),null}},async parseJsonFile(t){return new Promise((e,n)=>{const s=new FileReader;s.onload=o=>e(this.parseJsonObj(o.target.result)),s.onerror=o=>n(o),s.readAsText(t)})},async exportDiscussions(){const t=this.list.filter(e=>e.checkBoxValue==!0).map(e=>e.id);if(t.length>0){console.log("export",t);let e=new Date;const n=e.getFullYear(),s=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0"),r=e.getHours().toString().padStart(2,"0"),i=e.getMinutes().toString().padStart(2,"0"),a=e.getSeconds().toString().padStart(2,"0"),c="discussions_export_"+(n+"."+s+"."+o+"."+r+i+a)+".json";this.loading=!0;const u=await this.export_multiple_discussions(t);u?(this.saveJSONtoFile(u,c),this.$refs.toast.showToast("Successfully exported",4,!0),this.isCheckbox=!1):this.$refs.toast.showToast("Failed to export discussions",4,!1),this.loading=!1}},async importDiscussions(t){const e=await this.parseJsonFile(t.target.files[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1)},async getPersonalityAvatars(){let t=[];const e=await this.api_get_req("get_all_personalities"),n=Object.keys(e);for(let s=0;s{let f={};return f=h,f.category=l,f.language=o,f});t.length==0?t=u:t=t.concat(u)}}this.personalityAvatars=t.map(s=>({name:s.name,avatar:s.avatar}))},getAvatar(t){const e=this.personalityAvatars.findIndex(s=>s.name===t),n=this.personalityAvatars[e];if(n)return n.avatar},setFileListChat(t){try{this.$refs.chatBox.fileList=this.$refs.chatBox.fileList.concat(t)}catch(e){this.$refs.toast.showToast(`Failed to set filelist in chatbox -`+e.message,4,!1)}this.isDragOverChat=!1},setDropZoneChat(){this.isDragOverChat=!0,this.$refs.dragdropChat.show=!0},async setFileListDiscussion(t){if(t.length>1){this.$refs.toast.showToast("Failed to import discussions. Too many files",4,!1);return}const e=await this.parseJsonFile(t[0]);await this.import_multiple_discussions(e)?(this.$refs.toast.showToast("Successfully imported ("+e.length+")",4,!0),await this.list_discussions()):this.$refs.toast.showToast("Failed to import discussions",4,!1),this.isDragOverDiscussion=!1},setDropZoneDiscussion(){this.isDragOverDiscussion=!0,this.$refs.dragdropDiscussion.show=!0}},async created(){this.setPageTitle(),await this.list_discussions(),this.loadLastUsedDiscussion(),this.isCreated=!0,fe(()=>{ke.replace()}),qe.on("infos",this.createBotMsg),qe.on("message",this.streamMessageContent),qe.on("final",this.finalMsgEvent)},mounted(){},async activated(){console.log("Websocket connected (activated)",this.socketConnected),await this.getPersonalityAvatars(),this.isCreated&&fe(()=>{const t=document.getElementById("messages-list");this.scrollBottom(t)})},components:{Discussion:bf,Message:ep,ChatBox:tp,WelcomeComponent:np,Toast:Wr,DragDrop:ya},watch:{filterTitle(t){t==""&&(this.filterInProgress=!0,this.list=this.tempList,this.filterInProgress=!1)},isCheckbox(t){fe(()=>{ke.replace()}),t||(this.isSelectAll=!1)},socketConnected(t){console.log("Websocket connected (watch)",t)},showConfirmation(){fe(()=>{ke.replace()})},isSearch(){fe(()=>{ke.replace()})}},computed:{socketConnected(){return!0},selectedDiscussions(){return fe(()=>{ke.replace()}),this.list.filter(t=>t.checkBoxValue==!0)}}},Bqe=Object.assign(zqe,{__name:"DiscussionsView",setup(t){return Fr(()=>{BFe()}),Ce.defaults.baseURL="/",(e,n)=>(T(),D(Ie,null,[d("div",UFe,[d("div",{id:"leftPanel",class:"flex flex-col flex-grow overflow-y-scroll no-scrollbar",onDragover:n[13]||(n[13]=le(s=>e.setDropZoneDiscussion(),["stop","prevent"]))},[d("div",HFe,[d("div",VFe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Create new discussion",type:"button",onClick:n[0]||(n[0]=s=>e.createNewDiscussion())},KFe),d("button",{class:De(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isCheckbox?"text-secondary":""]),title:"Edit discussion list",type:"button",onClick:n[1]||(n[1]=s=>e.isCheckbox=!e.isCheckbox)},ZFe,2),JFe,YFe,d("input",{type:"file",ref:"fileDialog",style:{display:"none"},onChange:n[2]||(n[2]=(...s)=>e.importDiscussions&&e.importDiscussions(...s))},null,544),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Import discussions",type:"button",onClick:n[3]||(n[3]=le(s=>e.$refs.fileDialog.click(),["stop"]))},XFe),d("button",{class:De(["text-2xl hover:text-secondary duration-75 active:scale-90",e.isSearch?"text-secondary":""]),title:"Filter discussions",type:"button",onClick:n[4]||(n[4]=s=>e.isSearch=!e.isSearch)},tqe,2),e.loading?(T(),D("div",nqe,oqe)):H("",!0)]),e.isSearch?(T(),D("div",rqe,[d("div",iqe,[d("div",aqe,[lqe,d("div",cqe,[d("div",{class:De(["hover:text-secondary duration-75 active:scale-90",e.filterTitle?"visible":"invisible"]),title:"Clear",onClick:n[5]||(n[5]=s=>e.filterTitle="")},dqe,2)]),Te(d("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[6]||(n[6]=s=>e.filterTitle=s),onInput:n[7]||(n[7]=s=>e.filterDiscussions())},null,544),[[$e,e.filterTitle]])])])])):H("",!0),e.isCheckbox?(T(),D("hr",hqe)):H("",!0),e.isCheckbox?(T(),D("div",fqe,[d("div",pqe,[e.selectedDiscussions.length>0?(T(),D("p",gqe,"Selected: "+Z(e.selectedDiscussions.length),1)):H("",!0)]),d("div",mqe,[e.selectedDiscussions.length>0?(T(),D("div",_qe,[e.showConfirmation?H("",!0):(T(),D("button",{key:0,class:"flex mx-3 flex-1 text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Remove selected",type:"button",onClick:n[8]||(n[8]=le(s=>e.showConfirmation=!0,["stop"]))},bqe)),e.showConfirmation?(T(),D("div",vqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Confirm removal",type:"button",onClick:n[9]||(n[9]=le((...s)=>e.deleteDiscussionMulti&&e.deleteDiscussionMulti(...s),["stop"]))},wqe),d("button",{class:"text-2xl hover:text-red-600 duration-75 active:scale-90",title:"Cancel removal",type:"button",onClick:n[10]||(n[10]=le(s=>e.showConfirmation=!1,["stop"]))},Cqe)])):H("",!0)])):H("",!0),d("div",Eqe,[d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90 rotate-90",title:"Export selected to a file",type:"button",onClick:n[11]||(n[11]=le((...s)=>e.exportDiscussions&&e.exportDiscussions(...s),["stop"]))},Sqe),d("button",{class:"text-2xl hover:text-secondary duration-75 active:scale-90",title:"Select All",type:"button",onClick:n[12]||(n[12]=le((...s)=>e.selectAllDiscussions&&e.selectAllDiscussions(...s),["stop"]))},Mqe)])])])):H("",!0)]),d("div",Dqe,[Ee(ya,{ref:"dragdropDiscussion",onPanelDrop:e.setFileListDiscussion},{default:Ze(()=>[ye("Drop your discussion file here ")]),_:1},8,["onPanelDrop"])]),d("div",Lqe,[d("div",{class:De(["mx-4 flex flex-col flex-grow",e.isDragOverDiscussion?"pointer-events-none":""])},[d("div",{id:"dis-list",class:De([e.filterInProgress?"opacity-20 pointer-events-none":"","flex flex-col flex-grow"])},[e.list.length>0?(T(),it(en,{key:0,name:"list"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(e.list,(s,o)=>(T(),it(bf,{key:s.id,id:s.id,title:s.title,selected:e.currentDiscussion.id==s.id,loading:s.loading,isCheckbox:e.isCheckbox,checkBoxValue:s.checkBoxValue,onSelect:r=>e.selectDiscussion(s),onDelete:r=>e.deleteDiscussion(s.id),onEditTitle:e.editTitle,onChecked:e.checkUncheckDiscussion},null,8,["id","title","selected","loading","isCheckbox","checkBoxValue","onSelect","onDelete","onEditTitle","onChecked"]))),128))]),_:1})):H("",!0),e.list.length<1?(T(),D("div",Oqe,Pqe)):H("",!0),Rqe],2)],2)])],32)]),d("div",{class:"relative flex flex-col flex-grow",onDragover:n[14]||(n[14]=le(s=>e.setDropZoneChat(),["stop","prevent"]))},[d("div",Iqe,[Ee(ya,{ref:"dragdropChat",onPanelDrop:e.setFileListChat},null,8,["onPanelDrop"])]),d("div",{id:"messages-list",class:De(["z-0 flex flex-col flex-grow overflow-y-auto scrollbar-thin scrollbar-track-bg-light-tone scrollbar-thumb-bg-light-tone-panel hover:scrollbar-thumb-primary dark:scrollbar-track-bg-dark-tone dark:scrollbar-thumb-bg-dark-tone-panel dark:hover:scrollbar-thumb-primary active:scrollbar-thumb-secondary",e.isDragOverChat?"pointer-events-none":""])},[d("div",Fqe,[e.discussionArr.length>0?(T(),it(en,{key:0,name:"list"},{default:Ze(()=>[(T(!0),D(Ie,null,rt(e.discussionArr,(s,o)=>(T(),it(ep,{key:s.id,message:s,id:"msg-"+s.id,ref_for:!0,ref:"messages",onCopy:e.copyToClipBoard,onDelete:e.deleteMessage,onRankUp:e.rankUpMessage,onRankDown:e.rankDownMessage,onUpdateMessage:e.updateMessage,onResendMessage:e.resendMessage,avatar:e.getAvatar(s.sender)},null,8,["message","id","onCopy","onDelete","onRankUp","onRankDown","onUpdateMessage","onResendMessage","avatar"]))),128))]),_:1})):H("",!0),e.currentDiscussion.id?H("",!0):(T(),it(np,{key:1}))]),qqe,e.currentDiscussion.id?(T(),D("div",$qe,[Ee(tp,{ref:"chatBox",onMessageSentEvent:e.sendMsg,loading:e.isGenerating,discussionList:e.discussionArr,onStopGenerating:e.stopGenerating},null,8,["onMessageSentEvent","loading","discussionList","onStopGenerating"])])):H("",!0)],2)],32),Ee(Wr,{ref:"toast"},null,512)],64))}}),Nqe=Ve(Bqe,[["__scopeId","data-v-d054087d"]]),Uqe=$_({history:s_("/"),routes:[{path:"/extensions/",name:"extensions",component:_0},{path:"/help/",name:"help",component:O0},{path:"/settings/",name:"settings",component:r8},{path:"/training/",name:"training",component:S8},{path:"/",name:"discussions",component:Nqe}]});const Sl=rh(p0),Hqe=$m({state(){return{mountedPersonalities:[],settingsChanged:!1}},mutations:{}});Sl.use(Uqe);Sl.use(Hqe);Sl.mount("#app"); diff --git a/web/dist/index.html b/web/dist/index.html index 574ed99f..e3825047 100644 --- a/web/dist/index.html +++ b/web/dist/index.html @@ -6,7 +6,7 @@ LoLLMS WebUI - Welcome - + diff --git a/web/src/components/MarkdownRenderer.vue b/web/src/components/MarkdownRenderer.vue index e331612f..60abc65a 100644 --- a/web/src/components/MarkdownRenderer.vue +++ b/web/src/components/MarkdownRenderer.vue @@ -10,6 +10,32 @@ import feather from 'feather-icons'; import MarkdownIt from 'markdown-it'; import emoji from 'markdown-it-emoji'; import hljs from 'highlight.js/lib/core'; +import 'highlight.js/styles/tomorrow-night-blue.css'; +import 'highlight.js/styles/tokyo-night-dark.css'; + + +// Import individual language modules +import javascript from 'highlight.js/lib/languages/javascript'; +import xml from 'highlight.js/lib/languages/xml'; +import css from 'highlight.js/lib/languages/css'; +import python from 'highlight.js/lib/languages/python'; +import java from 'highlight.js/lib/languages/java'; +import csharp from 'highlight.js/lib/languages/csharp'; +import cpp from 'highlight.js/lib/languages/cpp'; +import ruby from 'highlight.js/lib/languages/ruby'; +import php from 'highlight.js/lib/languages/php'; +import swift from 'highlight.js/lib/languages/swift'; +import go from 'highlight.js/lib/languages/go'; +import rust from 'highlight.js/lib/languages/rust'; +import typescript from 'highlight.js/lib/languages/typescript'; +import shell from 'highlight.js/lib/languages/shell'; +import markdown from 'highlight.js/lib/languages/markdown'; +import json from 'highlight.js/lib/languages/json'; +import yaml from 'highlight.js/lib/languages/yaml'; +import sql from 'highlight.js/lib/languages/sql'; +// ... import other language modules + + import 'highlight.js/styles/tomorrow-night-blue.css'; import 'highlight.js/styles/tokyo-night-dark.css'; import attrs from 'markdown-it-attrs'; @@ -27,6 +53,7 @@ const markdownIt = new MarkdownIt('commonmark', { linkify: true, typographer: true, highlight: (str, lang) => { + let id = generateUniqueId(); if (lang && hljs.getLanguage(lang)) { try { const highlightedCode = hljs.highlight(lang, str).value; @@ -34,7 +61,9 @@ const markdownIt = new MarkdownIt('commonmark', { '
' + lang + '